OFFSET
1,2
LINKS
Samuel B. Reid, Table of n, a(n) for n = 1..10000
Samuel B. Reid, C program for A332864
Samuel B. Reid, Graph of 10000 terms
PROG
(C) See Links section.
(Python)
a = [1]
for n in range(1, 30):
a += [1] * (a[n-1]-1)
a.append(n+1)
print(a)
# Andrey Zabolotskiy, Feb 28 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Samuel B. Reid, Feb 27 2020
STATUS
approved