OFFSET
0,3
COMMENTS
a(n) appears to grow roughly like sqrt(n).
LINKS
Pontus von Brömssen, Table of n, a(n) for n = 0..9999
Pontus von Brömssen, Plot of A379265(n), A379266(n), and sqrt(n) for n=0..100000.
FORMULA
For n >= 1, a(n) = a(n-1)+1 if a(n-1) = A379266(n-1), otherwise a(n) = a(n-1).
PROG
CROSSREFS
KEYWORD
nonn
AUTHOR
Pontus von Brömssen, Dec 19 2024
STATUS
approved