OFFSET
1,1
COMMENTS
From Vincenzo Librandi, Jan 28 2012: (Start)
The identity (10368*n^2 - 288*n + 1)^2 - (36*n^2 - n)*(1728*n - 24)^2 = 1 can be written as A157288(n)^2 - a(n)*A157287(n)^2 = 1; this is the case s=6 of the identity (8*n^2*s^4 - 8*n*s^2 + 1)^2 - (n^2*s^2 - n)*(8*n*s^3 - 4*s)^2 = 1.
Also, the identity (72*n - 1)^2 - (36*n^2 - n)*12^2 = 1 can be written as A157921(n)^2 - a(n)*12^2 = 1 (see Barbeau's paper). (End)
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..10000
E. J. Barbeau, Polynomial Excursions, Chapter 10:Diophantine equations (2010), pages 84-85 (row 14 in the first table at p. 85, case d(t) = t*(6^2*t-1)).
Index entries for linear recurrences with constant coefficients, signature (3,-3,1).
FORMULA
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3).
G.f.: x*(37*x + 35)/(1-x)^3.
MATHEMATICA
LinearRecurrence[{3, -3, 1}, {35, 142, 321}, 40] (* Vincenzo Librandi, Jan 28 2012 *)
Table[36n^2-n, {n, 40}] (* Harvey P. Dale, Jan 27 2020 *)
PROG
(Magma) [36*n^2-n: n in [1..40]];
(PARI) a(n)=(6*n)^2-n \\ Charles R Greathouse IV, Dec 27 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Feb 26 2009
STATUS
approved
