Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).
%I #9 Sep 08 2022 08:45:53
%S 1,2,7,341,39651814,62343213007067363340803,
%T 242307882727623698206171607564035372782206955665032728479504584309813
%N a(n)=a(n-1)^3-a(n-2) with a(1)=1, a(2)=2
%C The next term -- a(8) -- has 206 digits. [From Harvey P. Dale, Mar 16 2012]
%H Vincenzo Librandi, <a href="/A176748/b176748.txt">Table of n, a(n) for n = 1..9</a>
%t RecurrenceTable[{a[1]==1,a[2]==2,a[n]==a[n-1]^3-a[n-2]},a,{n,8}] (* _Harvey P. Dale_, Mar 16 2012 *)
%o (Magma) I:=[1, 2]; [n le 2 select I[n] else Self(n-1)^3-Self(n-2): n in [1..7]]; // _Vincenzo Librandi_, Jul 15 2012
%K nonn
%O 1,2
%A _Vincenzo Librandi_, Apr 26 2010