This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A089984 #10 Aug 24 2019 17:23:32 %S A089984 1,1,1,1,0,1,-1,1,-1,0,1,1,-1,1,-2,-1,3,5,-1,-2,7,-3,-13,97,200,2309, %T A089984 -226573,45538573,-105193879657,-23833987746960404, %U A089984 1085365814730154781188953,114173840897460294190477827374165629 %N A089984 1, 1, 1, 1, ... a, b, c, d, ac-bd, ... %C A089984 Inspired by the formula for the determinant of a 2 X 2 matrix. %C A089984 Sequence b(n,p) = a(n) (mod p), p prime, n>4, is a periodic sequence. Letting l(p) denotes the length of the period of b(n,p) is there any rule for l(p) ? - _Benoit Cloitre_, Nov 19 2003 %F A089984 a(1)=a(2)=a(3)=a(4)=1, for n>4 a(n)=a(n-4)*a(n-2)-a(n-3)*a(n-1). %F A089984 a(n) is asymptotic (in absolute value) to B^(r^n) where r is the real root of 1+x^2-x^3 and B>1. - _Benoit Cloitre_, Nov 19 2003 %t A089984 RecurrenceTable[{a[1]==a[2]==a[3]==a[4]==1,a[n]==a[n-4]a[n-2]- a[n-3] a[n-1]}, a,{n,40}] (* _Harvey P. Dale_, Aug 24 2019 *) %o A089984 (PARI) a=b=c=d=1;for(n=5,30,e=b*d-a*c;a=b;b=c;c=d;d=e;print1(e,",")) %Y A089984 Cf. A089983. %K A089984 sign,easy %O A089984 1,15 %A A089984 _Ray Chandler_, following a suggestion of _Rainer Rosenthal_, Nov 18 2003 %E A089984 Corrected by _Harvey P. Dale_, Aug 24 2019