OFFSET
1,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Wikipedia, Diophantine equation
MathWorld, Diophantine equation
Index entries for linear recurrences with constant coefficients, signature (1,0,6,-6,0,-1,1).
FORMULA
G.f.: x^2*(135*x^5+217*x^4+135*x^3-625*x^2-651*x-185)/((x-1)*(x^6-6*x^3+1)). [Colin Barker, Aug 05 2012]
MATHEMATICA
LinearRecurrence[ {1, 0, 6, -6, 0, -1, 1}, {0, 185, 836, 1461, 2436, 6125, 9740}, 50]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vladimir Joseph Stephan Orlovsky, Feb 14 2012
STATUS
approved