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!)
A157999 338n - 1. 2
337, 675, 1013, 1351, 1689, 2027, 2365, 2703, 3041, 3379, 3717, 4055, 4393, 4731, 5069, 5407, 5745, 6083, 6421, 6759, 7097, 7435, 7773, 8111, 8449, 8787, 9125, 9463, 9801, 10139, 10477, 10815, 11153, 11491, 11829, 12167, 12505, 12843, 13181, 13519 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

The identity (338*n-1)^2-(169*n^2-n)*(26)^2=1 can be written as a(n)^2-A157998(n)*(26)^2=1.

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 1..10000

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

E. J. Barbeau, Polynomial Excursions, Chapter 10: Diophantine equations (2010), pages 84-85 (row 14 in the first table at p. 85, case d(t) = t*(13^2*t-1)).

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

FORMULA

a(n) = 2*a(n-1)-a(n-2).

G.f.: x*(337+x)/(1-x)^2.

MATHEMATICA

LinearRecurrence[{2, -1}, {337, 675}, 50]

338*Range[40]-1 (* Harvey P. Dale, Jun 04 2019 *)

PROG

(MAGMA) I:=[337, 675]; [n le 2 select I[n] else 2*Self(n-1)-Self(n-2): n in [1..50]];

(PARI) a(n) = 338*n - 1.

CROSSREFS

Cf. A157998.

Sequence in context: A260540 A051962 A214492 * A152853 A142830 A160069

Adjacent sequences:  A157996 A157997 A157998 * A158000 A158001 A158002

KEYWORD

nonn,easy

AUTHOR

Vincenzo Librandi, Mar 11 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 16 03:46 EDT 2021. Contains 343937 sequences. (Running on oeis4.)