OFFSET
1,1
LINKS
Index entries for linear recurrences with constant coefficients, signature (0,6,0,-1).
FORMULA
c(1)=25, c(2)=53, c(3)=137, c(4)=305, c(n) = 6*c(n-2) - c(n-4), if c > 4
G.f.: -x*(13*x^3+13*x^2-53*x-25) / ((x^2-2*x-1)*(x^2+2*x-1)). [Colin Barker, Dec 17 2012]
EXAMPLE
c(5) = 6*137 - 25 = 797
555*555 + 572*572 = 797*797, where 572-555 = 17 and gcd(555,572,797)=1
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Andras Erszegi (erszegi.andras(AT)chello.hu), Mar 19 2006
STATUS
approved