OFFSET
1,2
FORMULA
Limiting sequence when we start with positive integers (A000027) and at step n >= 1 add to the term at position n + a(n) the value 1.
PROG
(PARI) lista(nn) = my(va = [1..nn]); for (n=1, nn, my(m = n+va[n]); if (m <= nn, va[m]++)); va; \\ Michel Marcus, Oct 29 2022
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Ctibor O. Zizka, Apr 30 2008
EXTENSIONS
Entries corrected and extended by Paolo P. Lava, Mar 10 2009
More terms from Michel Marcus, Oct 29 2022
STATUS
approved