login

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”).

A239967
a(n) = a(n-1)*a(n-2) - a(n-3)*a(n-4), starting with 1,1,2,2.
1
1, 1, 2, 2, 3, 4, 8, 26, 196, 5064, 992336, 5025184408, 4986671393704544, 25058943335463698842360448, 124960715887419957580506993886784668778624, 3131383498581835095655557937198087383978439131276209799741457913600
OFFSET
1,3
PROG
(PARI) al(n)=local(v=vector(n)); v[1]=v[2]=1; v[3]=v[4]=2; for(i=5, n, v[i]=v[i-1]*v[i-2]-v[i-3]*v[i-4]); v
(Magma) I:=[1, 1, 2, 2]; [n le 4 select I[n] else Self(n-1)*Self(n-2)-Self(n-3)*Self(n-4): n in [1..16]]; // Vincenzo Librandi, Mar 30 2014
CROSSREFS
Cf. A111235.
Sequence in context: A153943 A361117 A049309 * A307891 A205118 A363745
KEYWORD
nonn
AUTHOR
STATUS
approved