OFFSET
1,2
COMMENTS
Corresponding values y of solutions (x, y) are in A161479.
lim_{n -> infinity} a(n)/a(n-3) = 3+2*sqrt(2).
lim_{n -> infinity} a(n)/a(n-1) = (129+44*sqrt(2))/113 for n mod 3 = {1, 2}.
lim_{n -> infinity} a(n)/a(n-1) = (16131+6970*sqrt(2))/113^2 for n mod 3 = 0.
LINKS
Index entries for linear recurrences with constant coefficients, signature (1, 0, 6, -6, 0, -1, 1).
FORMULA
a(n) = 6*a(n-3)-a(n-6)+226 for n > 6; a(1)=0, a(2)=52, a(3)=175, a(4)=339, a(5)=615, a(6)=1312.
G.f.: x*(52+123*x+164*x^2-36*x^3-41*x^4-36*x^5) / ((1-x)*(1-6*x^3+x^6)).
a(3*k+1) = 113*A001652(k) for k >= 0.
MATHEMATICA
LinearRecurrence[{1, 0, 6, -6, 0, -1, 1}, {0, 52, 175, 339, 615, 1312, 2260}, 72] (* Vladimir Joseph Stephan Orlovsky, Feb 07 2012 *)
PROG
(PARI) {forstep(n=0, 100000000, [3, 1], if(issquare(2*n^2+226*n+12769), print1(n, ", ")))}
CROSSREFS
KEYWORD
nonn
AUTHOR
Klaus Brockhaus, Jun 13 2009
STATUS
approved