OFFSET
1,1
LINKS
Colin Barker, Table of n, a(n) for n = 1..150
Index entries for linear recurrences with constant coefficients, signature (1030191,-1030191,1).
FORMULA
a(n+2) = 1030190*a(n+1)-a(n)+515094.
G.f.: x*(146+515095*x-147*x^2) / ((1-x)*(1-1030190*x+x^2)). - Colin Barker, Oct 18 2014, corrected Jul 13 2016
EXAMPLE
The first relation is : 147^3-146^3=67*31^2.
PROG
(PARI) Vec(x*(146+515095*x-147*x^2)/((1-x)*(1-1030190*x+x^2)) + O(x^10)) \\ Colin Barker, Oct 18 2014, corrected Jul 13 2016
(PARI) isok(x) = issquare(((x+1)^3-x^3)/67) \\ Colin Barker, Jul 13 2016
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Richard Choulet, Oct 04 2008
EXTENSIONS
Editing and additional term a(8) from Colin Barker, Oct 18 2014
a(2) to a(8) corrected by Colin Barker, Jul 13 2016
STATUS
approved