login
a(n) = n + a(n-1)^2 for n>1, a(1)=0.
1

%I #10 Sep 08 2022 08:45:49

%S 0,2,7,53,2814,7918602,62704257634411,3931823925482590177731316929,

%T 15459239380997324838780881526042196711953237316641991050

%N a(n) = n + a(n-1)^2 for n>1, a(1)=0.

%H Vincenzo Librandi, <a href="/A168558/b168558.txt">Table of n, a(n) for n = 1..13</a>

%t RecurrenceTable[{a[1] == 0, a[n] == a[n-1]^2 + n}, a, {n, 20}] (* _Vincenzo Librandi_, Sep 24 2014 *)

%o (Magma) [n le 1 select (n-1) else Self(n-1)^2+n: n in [1..10] ]; // _Vincenzo Librandi_, Sep 24 2014

%K nonn

%O 1,2

%A _Vincenzo Librandi_, Nov 29 2009