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

 

Logo

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 59th year, we have over 358,000 sequences, and we’ve crossed 10,300 citations (which often say “discovered thanks to the OEIS”).

Other ways to Give
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A157443 a(n) = 121*n^2 - 38*n + 3. 3
86, 411, 978, 1787, 2838, 4131, 5666, 7443, 9462, 11723, 14226, 16971, 19958, 23187, 26658, 30371, 34326, 38523, 42962, 47643, 52566, 57731, 63138, 68787, 74678, 80811, 87186, 93803, 100662, 107763, 115106, 122691, 130518, 138587, 146898 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

The identity (14641*n^2 - 4598*n + 362)^2 - (121*n^2 - 38*n + 3)*(1331*n - 209)^2 = 1 can be written as A157445(n)^2 - a(n)*A157444(n)^2 = 1. - Vincenzo Librandi, Jan 26 2012

The continued fraction expansion of sqrt(a(n)) is [11n-2; {3, 1, 1, 1, 11n-3, 1, 1, 1, 3, 22n-4}]. - Magus K. Chu, Sep 13 2022

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). - Vincenzo Librandi, Jan 26 2012

G.f.: x*(-86 - 153*x - 3*x^2)/(x-1)^3. - Vincenzo Librandi, Jan 26 2012

MATHEMATICA

LinearRecurrence[{3, -3, 1}, {86, 411, 978}, 40] (* Vincenzo Librandi, Jan 26 2012 *)

PROG

(Magma) I:=[86, 411, 978]; [n le 3 select I[n] else 3*Self(n-1)-3*Self(n-2)+1*Self(n-3): n in [1..40]]; // Vincenzo Librandi, Jan 26 2012

(PARI) for(n=1, 22, print1(121*n^2 - 38*n + 3", ")); \\ Vincenzo Librandi, Jan 26 2012

CROSSREFS

Cf. A157444, A157445.

Sequence in context: A043379 A256804 A162028 * A035136 A202524 A232708

Adjacent sequences: A157440 A157441 A157442 * A157444 A157445 A157446

KEYWORD

nonn,easy

AUTHOR

Vincenzo Librandi, Mar 01 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 December 5 09:12 EST 2022. Contains 358585 sequences. (Running on oeis4.)