OFFSET
1,1
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,6,0,-1).
FORMULA
c(1)=37, c(2)=65, c(3)=205, c(4)=373, c(n) = 6*c(n-2) - c(n-4).
G.f.: -x*(17*x^3+17*x^2-65*x-37) / ((x^2-2*x-1)*(x^2+2*x-1)). [Colin Barker, Dec 17 2012]
EXAMPLE
c(5) = 6*205 - 37 = 1193 and 832^2 + 855^2 = 1193^2 and 855-832=23 and gcd(832,855,1193)=1.
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Andras Erszegi (erszegi.andras(AT)chello.hu), Mar 19 2006
STATUS
approved