OFFSET
0,2
COMMENTS
Conjecture: lim sup |a(n) - n/2|/sqrt(n) = 1/2 (see links). This would imply that after A377091(n) has been found, A377091 contains all numbers in the range [0,f(n)], where lim sup f(n) = (n-sqrt(n))/2. There is a corresponding conjecture for A379068. - N. J. A. Sloane and Paolo Xausa, Feb 03 2025
LINKS
N. J. A. Sloane, Table of n, a(n) for n = 0..10000
N. J. A. Sloane, Table of n, A379067(n), A379068(n) for n = 0..999995.
Paolo Xausa, Scatterplot of |a(n) - n/2|/sqrt(n) for 1 <= n <= 10^6. The orange line is y = 1/2.
Paolo Xausa, Scatterplot of |a(n) - n/2|/sqrt(n) for 900000 <= n <= 10^6. The orange line is y = 1/2.
MATHEMATICA
(* A377091list is defined at A377091 *)
Module[{s, a}, s[_] := False; FoldList[(s[#2] = True; a = #; While[s[a], a++]; a) &, 1, Rest[A377091list[100]]]] (* Paolo Xausa, Apr 08 2025 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Dec 28 2024
STATUS
approved
