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!)
A158766 a(n) = 1444*n^2 + 38. 2
38, 1482, 5814, 13034, 23142, 36138, 52022, 70794, 92454, 117002, 144438, 174762, 207974, 244074, 283062, 324938, 369702, 417354, 467894, 521322, 577638, 636842, 698934, 763914, 831782, 902538, 976182, 1052714, 1132134, 1214442, 1299638, 1387722, 1478694, 1572554 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
The identity (76*n^2 + 1)^2 - (1444*n^2 + 38)*(2*n)^2 = 1 can be written as A158767(n)^2 - a(n)*A005843(n)^2 = 1.
LINKS
Vincenzo Librandi, X^2-AY^2=1, Math Forum, 2007. [Wayback Machine link]
FORMULA
G.f.: -38*(1 + 36*x + 39*x^2)/(x-1)^3.
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3).
From Amiram Eldar, Mar 23 2023: (Start)
Sum_{n>=0} 1/a(n) = (coth(Pi/sqrt(38))*Pi/sqrt(38) + 1)/76.
Sum_{n>=0} (-1)^n/a(n) = (cosech(Pi/sqrt(38))*Pi/sqrt(38) + 1)/76. (End)
MATHEMATICA
LinearRecurrence[{3, -3, 1}, {38, 1482, 5814}, 50] (* Vincenzo Librandi, Feb 21 2012 *)
PROG
(Magma) I:=[38, 1482, 5814]; [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, Feb 21 2012
(PARI) for(n=0, 40, print1(1444*n^2 + 38", ")); \\ Vincenzo Librandi, Feb 21 2012
CROSSREFS
Sequence in context: A009982 A041685 A221385 * A217224 A272036 A055605
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Mar 26 2009
EXTENSIONS
Comment rewritten, a(0) added, and formula replaced by R. J. Mathar, Oct 22 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 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)