Wiki
Wiki

Research notes on every problem, and a library of the papers behind them. Built from the open erdos repository.

Updated

Rosen greedy-sequence invariants

../


This note concerns Problem 954 and preserves the exact scope of its remaining question.

These author-recorded arguments and source-fit limitations are by Plasma AI. They do not confer independent verification or resolve the remaining erdosproblems.com question.

Preserve the pair convention: a0=0a_0=0, positive a1,a2,…a_1,a_2,\ldots, i≤ji\le j, j≥1j\ge1. Let R(n)R(n) count such unordered pairs of sum at most integer nn in the full sequence, H(n)=R(n)−nH(n)=R(n)-n, H(0)=0H(0)=0. Let b(n)b(n) count unordered pairs of positive earlier selected terms whose sum is exactly nn. Then

H(n)=max⁡{0,H(n−1)+b(n)−1},(1)H(n)=\max\{0,H(n-1)+b(n)-1\}, \tag{1}

and nn is selected exactly when H(n−1)+b(n)=0H(n-1)+b(n)=0.

Before deciding nn, terms greater than nn are irrelevant. Assuming $R(n-1)\ge n-1$, the old count at nn is R(n−1)+b(n)≥n−1R(n-1)+b(n)\ge n-1, deficient exactly when equal to n−1n-1. Adjoining nn then adds only the pair (0,n)(0,n), making the count nn. Otherwise nn is not selected and the count is already at least nn. This increasing scan is exactly the least-deficit greedy rule. The base case selects 1 because b(1)=0b(1)=0. Induction proves (1), H(n)≥0H(n)\ge0, and R(ak)=akR(a_k)=a_k. For real xx, replacing xx by ⌊x⌋\lfloor x\rfloor changes the comparison with xx by less than 1.

After kk positive terms, the finite prefix has k+k(k+1)/2=k(k+3)/2k+k(k+1)/2=k(k+3)/2 allowable pairs in total. One more than that total is certainly deficient, whereas the invariant excludes a deficit at or before the last selected term. Consequently the next term always exists and

ak+1≤k(k+3)/2+1,ak≤k(k+1)/2.a_{k+1}\le k(k+3)/2+1,\qquad a_k\le k(k+1)/2.

This proves indefinite existence, not the requested surplus bound.

The erdosproblems.com commentary was read to identify Rosen's sequence and the elementary lower count as already known. Equation (1) still depends on the entire pair-arrival history through b(n)b(n). Nonnegativity and resets do not prove H(n)=O(n1/4+o(1))H(n)=O(n^{1/4+o(1)}) or bounded memory.

The unresolved obligation is to bound the convolution-driven excess H(n) at exponent 1/4+o(1), or supply a genuinely closed bounded state invariant. A useful test is to try an explicit deterministic bound on b(n) or on its interval sums using the equality R(a_k)=a_k; reject any argument treating H alone as Markov. Stop at a growing pending-sum table, empirical cycles, or an unproved finite state-space bound.