OFFSET
1,1
LINKS
Index entries for linear recurrences with constant coefficients, signature (303,-303,1).
FORMULA
a(n+2)=302*a(n+1)-a(n)+2850
a(n)=19*A145124(n). G.f.: 19*x*(-2-151*x+3*x^2)/((x-1)*(x^2-302*x+1)). - R. J. Mathar, Oct 26 2009.
EXAMPLE
a(1)=38 because 57^3-38^3=361^2
MATHEMATICA
LinearRecurrence[{303, -303, 1}, {38, 14383, 4346478}, 20] (* Harvey P. Dale, Sep 24 2016 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Richard Choulet, Oct 02 2008
STATUS
approved