login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A157838 3600n^2 - 6049n + 2541. 3
92, 4843, 16794, 35945, 62296, 95847, 136598, 184549, 239700, 302051, 371602, 448353, 532304, 623455, 721806, 827357, 940108, 1060059, 1187210, 1321561, 1463112, 1611863, 1767814, 1930965, 2101316, 2278867, 2463618, 2655569 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The identity (103680000*n^2-174211200*n+73180801)^2-(3600*n^2-6049*n+2541)*(1728000*n-1451760)^2=1 can be written as A157840(n)^2-a(n)*A157839(n)^2=1.
LINKS
Vincenzo Librandi, X^2-AY^2=1
FORMULA
a(n) = 3*a(n-1) -3*a(n-2) +a(n-3).
G.f.: x*(-92-4567*x-2541*x^2)/(x-1)^3.
MATHEMATICA
LinearRecurrence[{3, -3, 1}, {92, 4843, 16794}, 40]
Table[3600n^2-6049n+2541, {n, 30}] (* Harvey P. Dale, Nov 29 2022 *)
PROG
(Magma) I:=[92, 4843, 16794]; [n le 3 select I[n] else 3*Self(n-1)-3*Self(n-2)+1*Self(n-3): n in [1..40]];
(PARI) a(n) = 3600*n^2 - 6049*n + 2541.
CROSSREFS
Sequence in context: A035741 A035808 A017755 * A145416 A093292 A093246
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Mar 07 2009
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 29 08:45 EDT 2024. Contains 371267 sequences. (Running on oeis4.)