login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons 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 (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, Table of n, a(n) for n = 0..10000

Vincenzo Librandi, X^2-AY^2=1

Index entries for linear recurrences with constant coefficients, signature (3,-3,1).

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).

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

Cf. A005843, A158767.

Sequence in context: A009982 A041685 A221385 * A217224 A272036 A055605

Adjacent sequences:  A158763 A158764 A158765 * A158767 A158768 A158769

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 31 19:11 EDT 2020. Contains 334748 sequences. (Running on oeis4.)