OFFSET
1,15
COMMENTS
Inspired by the formula for the determinant of a 2 X 2 matrix.
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 (abmt(AT)wanadoo.fr), Nov 19 2003
FORMULA
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).
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 (abmt(AT)wanadoo.fr), Nov 19 2003
PROG
(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, ", "))
CROSSREFS
KEYWORD
sign,easy,new
AUTHOR
Ray Chandler (RayChandler(AT)alumni.tcu.edu), following a suggestion of Rainer Rosenthal (r.rosenthal(AT)web.de), Nov 18 2003
STATUS
approved