OFFSET
1,2
COMMENTS
The corresponding values of x are in A281235.
LINKS
Colin Barker, Table of n, a(n) for n = 1..1000
S. Vidhyalakshmi, V. Krithika, K. Agalya, On The Negative Pell Equation y^2 = 72*x^2 - 8, International Journal of Emerging Technologies in Engineering Research (IJETER), Volume 4, Issue 2, February (2016).
Index entries for linear recurrences with constant coefficients, signature (0,0,6,0,0,-1).
FORMULA
a(n) = 6*a(n-3) - a(n-6) for n>6.
G.f.: 96*x^2*(3 + 10*x + 17*x^2 + 10*x^3 + 3*x^4) / (1 - 6*x^3 + x^6).
EXAMPLE
288 is in the sequence because (x, y) = (76, 288) is a solution to y^2 = 72*x^2 - 332928.
MATHEMATICA
LinearRecurrence[{0, 0, 6, 0, 0, -1}, {0, 288, 960, 1632, 2688, 6048}, 30] (* Harvey P. Dale, Jul 10 2019 *)
PROG
(PARI) concat(0, Vec(96*x^2*(3 + 10*x + 17*x^2 + 10*x^3 + 3*x^4) / (1 - 6*x^3 + x^6) + O(x^40)))
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Colin Barker, Jan 19 2017
STATUS
approved