OFFSET
1,2
LINKS
FORMULA
a(n) ~ c^(2^n), where c = 1.2574108318043003098123273077302829405940294\ 604970047023808427877694426442... . - Vaclav Kotesovec, Dec 18 2014
EXAMPLE
a(3) = a(2)^2+2 = 4+2 = 6.
MATHEMATICA
RecurrenceTable[{a[1]==1, a[n+1]==a[n]^2 + n}, a, {n, 10}] (* Vaclav Kotesovec, Dec 18 2014 *)
PROG
(Magma) [n le 1 select 1 else Self(n-1)^2 +n-1: n in [1..14]]; // G. C. Greubel, Jan 03 2024
(SageMath)
def a(n): return 1 if n==1 else a(n-1)^2 + n-1 # a = A028300
[a(n) for n in range(1, 15)] # G. C. Greubel, Jan 03 2024
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
A.R. Fink (fink(AT)cadvision.com)
STATUS
approved