login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A157951 128n + 1. 1
129, 257, 385, 513, 641, 769, 897, 1025, 1153, 1281, 1409, 1537, 1665, 1793, 1921, 2049, 2177, 2305, 2433, 2561, 2689, 2817, 2945, 3073, 3201, 3329, 3457, 3585, 3713, 3841, 3969, 4097, 4225, 4353, 4481, 4609, 4737, 4865, 4993, 5121, 5249, 5377, 5505 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

COMMENTS

The identity (128*n+1)^2-(64*n^2+n)*16^2 = 1 can be written as a(n)^2-(A017066(n)+n)*16^2 = 1. - Vincenzo Librandi, Feb 10 2012

LINKS

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

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*(8^2*t+1)).

Index to sequences with linear recurrences with constant coefficients, signature (2,-1).

FORMULA

G.f.: x*(129-x)/(1-x)^2. - Vincenzo Librandi, Feb 10 2012

a(n) = 2*a(n-1)-a(n-2). - Vincenzo Librandi, Feb 10 2012

MATHEMATICA

128Range[50]+1  (* From Harvey P. Dale, Mar 15 2011 *)

LinearRecurrence[{2, -1}, {129, 257}, 50] (* Vincenzo Librandi, Feb 10 2012 *)

PROG

(MAGMA) I:=[129, 257]; [n le 2 select I[n] else 2*Self(n-1)-Self(n-2): n in [1..50]]; // Vincenzo Librandi, Feb 10 2012

(PARI) for(n=1, 50, print1(128*n + 1", ")); \\ Vincenzo Librandi, Feb 10 2012

CROSSREFS

Cf. A017066.

Sequence in context: A127337 A185347 A034072 * A043383 A036548 A046286

Adjacent sequences:  A157948 A157949 A157950 * A157952 A157953 A157954

KEYWORD

nonn,easy,changed

AUTHOR

Vincenzo Librandi (vincenzo.librandi(AT)tin.it), Mar 10 2009

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 14 06:20 EST 2012. Contains 205570 sequences.