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!)
A157447 a(n) = 512*n - 16. 3
496, 1008, 1520, 2032, 2544, 3056, 3568, 4080, 4592, 5104, 5616, 6128, 6640, 7152, 7664, 8176, 8688, 9200, 9712, 10224, 10736, 11248, 11760, 12272, 12784, 13296, 13808, 14320, 14832, 15344, 15856, 16368, 16880, 17392, 17904, 18416, 18928 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

The identity (2048*n^2 - 128*n + 1)^2 - (16*n^2 - n)*(512*n - 16)^2 = 1 can be written as A157448(n)^2 - A157446(n)*a(n)^2 = 1 (see also second comment at A157446). - Vincenzo Librandi, Jan 26 2012

LINKS

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

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

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

FORMULA

a(n) = 2*a(n-1) - a(n-2). - Vincenzo Librandi, Jan 26 2012

G.f.: x*(16*x + 496)/(x-1)^2. - Vincenzo Librandi, Jan 26 2012

MATHEMATICA

LinearRecurrence[{2, -1}, {496, 1008}, 40] (* Vincenzo Librandi, Jan 26 2012 *)

512*Range[50]-16 (* Harvey P. Dale, Apr 09 2019 *)

PROG

(MAGMA) I:=[496, 1008]; [n le 2 select I[n] else 2*Self(n-1)-Self(n-2): n in [1..50]]; // Vincenzo Librandi, Jan 26 2012

(PARI) for(n=1, 22, print1(512*n - 16", ")); \\ Vincenzo Librandi, Jan 26 2012

CROSSREFS

Cf. A157446, A157448.

Sequence in context: A333756 A179170 A345351 * A109477 A302366 A303083

Adjacent sequences:  A157444 A157445 A157446 * A157448 A157449 A157450

KEYWORD

nonn,easy

AUTHOR

Vincenzo Librandi, Mar 01 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 October 28 04:24 EDT 2021. Contains 348313 sequences. (Running on oeis4.)