OFFSET
1,2
COMMENTS
Sequence is probably infinite.
LINKS
Michel Marcus, Table of n, a(n) for n = 1..50
FORMULA
It seems that a(n) is asymptotic to c*exp(d*n) with d around 0.33...
PROG
(PARI) lista(nn) = {my(v=vector(nn)); v[1] = 1; for (n=2, nn, v[n] = n + v[n-sqrtint(n)]; ); for (m=1, nn, if (v[m] == floor((2/3)*m*(sqrt(m)+1)), print1(m, ", ")); ); } \\ Michel Marcus, Feb 16 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Oct 24 2002
EXTENSIONS
Incorrect term 4 removed and more terms added from Michel Marcus, Feb 16 2021
STATUS
approved