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!)
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, X^2-AY^2=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
Sequence in context: A256804 A368940 A162028 * A035136 A202524 A232708
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 April 23 02:53 EDT 2024. Contains 371906 sequences. (Running on oeis4.)