The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A158386 a(n) = 676*n + 1. 2
677, 1353, 2029, 2705, 3381, 4057, 4733, 5409, 6085, 6761, 7437, 8113, 8789, 9465, 10141, 10817, 11493, 12169, 12845, 13521, 14197, 14873, 15549, 16225, 16901, 17577, 18253, 18929, 19605, 20281, 20957, 21633, 22309, 22985, 23661, 24337 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The identity (676*n+1)^2-(676*n^2+2*n)*(26)^2=1 can be written as a(n)^2-A158385(n)*(26)^2=1.
LINKS
Vincenzo Librandi, X^2-AY^2=1
E. J. Barbeau, Polynomial Excursions, Chapter 10: Diophantine equations (2010), pages 84-85 (row 15 in the first table at p. 85, case d(t) = t*(26^2*t+2)).
FORMULA
G.f.: x*(677-x)/(1-x)^2.
a(n) = 2*a(n-1)-a(n-2).
MATHEMATICA
LinearRecurrence[{2, -1}, {677, 1353}, 50]
676*Range[40]+1 (* Harvey P. Dale, Feb 07 2023 *)
PROG
(Magma) I:=[677, 1353]; [n le 2 select I[n] else 2*Self(n-1)-Self(n-2): n in [1..50]];
(PARI) a(n) = 676*n + 1.
CROSSREFS
Cf. A158385.
Sequence in context: A058450 A159893 A142755 * A031730 A205749 A108824
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Mar 17 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 June 4 13:10 EDT 2024. Contains 373098 sequences. (Running on oeis4.)