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!)
A157820 27225n^2 + 2n. 3
27227, 108904, 245031, 435608, 680635, 980112, 1334039, 1742416, 2205243, 2722520, 3294247, 3920424, 4601051, 5336128, 6125655, 6969632, 7868059, 8820936, 9828263, 10890040, 12006267, 13176944, 14402071, 15681648, 17015675 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The identity (1482401250*n^2+108900*n+1)^2-(27225*n^2+2*n)*(8984250*n+330)^2=1 can be written as A157822(n)^2-a(n)* A157821(n)^2=1.
LINKS
Vincenzo Librandi, X^2-AY^2=1
FORMULA
a(n) = 3*a(n-1) -3*a(n-2) +a(n-3).
G.f.: x*(-27227-27223*x)/(x-1)^3.
MATHEMATICA
LinearRecurrence[{3, -3, 1}, {27227, 108904, 245031}, 30]
PROG
(Magma) I:=[27227, 108904, 245031]; [n le 3 select I[n] else 3*Self(n-1)-3*Self(n-2)+Self(n-3): n in [1..30]];
(PARI) a(n) = 27225*n^2 + 2*n.
CROSSREFS
Sequence in context: A157814 A216943 A250852 * A251777 A032746 A099230
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Mar 07 2009
EXTENSIONS
Corrected by Charles R Greathouse IV, Aug 09 2010
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 19 16:21 EDT 2024. Contains 371794 sequences. (Running on oeis4.)