login
A067691
a(n) = (a(n-1) + 1)^(n-1) for n > 0, a(0) = 0.
1
0, 1, 2, 9, 1000, 1004006004001, 1020191144865623440455270145683555422808365843606721760320032
OFFSET
0,3
COMMENTS
a(7) has 361 digits.
EXAMPLE
Given a(3) = 9: a(4) = (a(4-1)+1)^(4-1) = (9+1)^3 = 1000.
PROG
(PARI) a(n) = if (n==0, 0, (a(n-1) + 1)^(n-1)); \\ Michel Marcus, Feb 05 2021
CROSSREFS
Cf. A004019.
Sequence in context: A114953 A252583 A253604 * A062840 A024226 A252584
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, Feb 04 2002
STATUS
approved