login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo

Please make a donation to keep the OEIS running. We are now in our 56th year. In the past year we added 10000 new sequences and reached almost 9000 citations (which often say "discovered thanks to the OEIS").
Other ways to donate

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, Table of n, a(n) for n = 1..10000

Vincenzo Librandi, X^2-AY^2=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*(-92-4567*x-2541*x^2)/(x-1)^3.

MATHEMATICA

LinearRecurrence[{3, -3, 1}, {92, 4843, 16794}, 40]

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

Cf. A157839, A157840.

Sequence in context: A035741 A035808 A017755 * A145416 A093292 A093246

Adjacent sequences:  A157835 A157836 A157837 * A157839 A157840 A157841

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 3 11:03 EST 2020. Contains 338900 sequences. (Running on oeis4.)