OFFSET
1,1
COMMENTS
Also nonnegative integers x in the solutions to 18*x^2-9*y^2+24*x-15*y+6 = 0, the corresponding values of y being A251864.
LINKS
Colin Barker, Table of n, a(n) for n = 1..653
Index entries for linear recurrences with constant coefficients, signature (1,1154,-1154,-1,1).
FORMULA
a(n) = a(n-1)+1154*a(n-2)-1154*a(n-3)-a(n-4)+a(n-5).
G.f: x*(x^4+25*x^3-647*x^2-145*x-2) / ((x-1)*(x^2-34*x+1)*(x^2+34*x+1)).
EXAMPLE
2 is in the sequence because N(2)+N(3)+N(4) = 8+21+40 = 69 = 12+22+35 = P(3)+P(4)+P(5).
PROG
(PARI) Vec(x*(x^4+25*x^3-647*x^2-145*x-2)/((x-1)*(x^2-34*x+1)*(x^2+34*x+1)) + O(x^100))
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Colin Barker, Dec 10 2014
STATUS
approved