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!)
A158574 a(n) = 256*n^2 + 16. 2
16, 272, 1040, 2320, 4112, 6416, 9232, 12560, 16400, 20752, 25616, 30992, 36880, 43280, 50192, 57616, 65552, 74000, 82960, 92432, 102416, 112912, 123920, 135440, 147472, 160016, 173072, 186640, 200720, 215312, 230416, 246032, 262160, 278800, 295952 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

COMMENTS

The identity (32*n^2 + 1)^2 - (256*n^2 + 16)*(2*n)^2 = 1 can be written as A158575(n)^2 - a(n)*A005843(n)^2 = 1.

LINKS

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

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

FORMULA

G.f.: 16*(1 + 14*x + 17*x^2)/(1-x)^3.

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

MATHEMATICA

LinearRecurrence[{3, -3, 1}, {16, 272, 1040}, 50] (* Vincenzo Librandi, Feb 15 2012 *)

PROG

(MAGMA) I:=[16, 272, 1040]; [n le 3 select I[n] else 3*Self(n-1)-3*Self(n-2)+1*Self(n-3): n in [1..50]]; // Vincenzo Librandi, Feb 15 2012

(PARI) for(n=0, 50, print1(256*n+16", ")); \\ Vincenzo Librandi, Feb 15 2012

CROSSREFS

Cf. A005843, A158575.

Sequence in context: A119290 A161595 A144660 * A330151 A000487 A249391

Adjacent sequences:  A158571 A158572 A158573 * A158575 A158576 A158577

KEYWORD

nonn,easy

AUTHOR

Vincenzo Librandi, Mar 21 2009

EXTENSIONS

Comment rewritten, a(0) added by R. J. Mathar, Oct 16 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 August 5 08:27 EDT 2021. Contains 346464 sequences. (Running on oeis4.)