login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A158228
a(n) = 225n^2 + 2n.
2
227, 904, 2031, 3608, 5635, 8112, 11039, 14416, 18243, 22520, 27247, 32424, 38051, 44128, 50655, 57632, 65059, 72936, 81263, 90040, 99267, 108944, 119071, 129648, 140675, 152152, 164079, 176456, 189283, 202560, 216287, 230464, 245091, 260168
OFFSET
1,1
COMMENTS
The identity (225*n+1)^2-(225*n^2+2*n)*(15)^2=1 can be written as A158229(n)^2-a(n)*(15)^2=1.
LINKS
Vincenzo Librandi, X^2-AY^2=1
E. J. Barbeau, Polynomial Excursions, Chapter 10: Diophantine equations (2010), pages 84-85 (row 15 in the first table at p. 85, case d(t) = t*(15^2*t+2)).
FORMULA
a(n) = 3*a(n-1) -3*a(n-2) +a(n-3).
G.f.: x*(-223*x-227)/(x-1)^3.
MATHEMATICA
LinearRecurrence[{3, -3, 1}, {227, 904, 2031}, 50]
PROG
(Magma) I:=[227, 904, 2031]; [n le 3 select I[n] else 3*Self(n-1)-3*Self(n-2)+1*Self(n-3): n in [1..50]];
(PARI) a(n) = 225*n^2 + 2*n.
CROSSREFS
Cf. A158229.
Sequence in context: A142219 A176012 A031693 * A349985 A209843 A115998
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Mar 14 2009
STATUS
approved