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!)
A158562 a(n) = 256*n^2 - 16. 2
240, 1008, 2288, 4080, 6384, 9200, 12528, 16368, 20720, 25584, 30960, 36848, 43248, 50160, 57584, 65520, 73968, 82928, 92400, 102384, 112880, 123888, 135408, 147440, 159984, 173040, 186608, 200688, 215280, 230384, 246000, 262128, 278768, 295920, 313584, 331760 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The identity (32*n^2 - 1)^2 - (256*n^2 - 16)*(2*n)^2 = 1 can be written as A158563(n)^2 - a(n)*A005843(n)^2 = 1. [rewritten by R. J. Mathar, Oct 16 2009]
LINKS
FORMULA
G.f.: 16*x*(-15 - 18*x + x^2)/(x-1)^3.
a(n) = 3*a(n-1) - 3*a(n-2) + a(n-3).
From Amiram Eldar, Mar 09 2023: (Start)
Sum_{n>=1} 1/a(n) = (4 - Pi)/128.
Sum_{n>=1} (-1)^(n+1)/a(n) = (sqrt(2)*Pi - 4)/128. (End)
MATHEMATICA
16(16Range[40]^2-1) (* or *) LinearRecurrence[{3, -3, 1}, {240, 1008, 2288}, 40] (* Harvey P. Dale, Sep 13 2011 *)
PROG
MAGMA) I:=[240, 1008, 2288]; [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=1, 50, print1(256*n^2-16", ")); \\ Vincenzo Librandi, Feb 15 2012
CROSSREFS
Sequence in context: A060663 A092000 A124352 * A234728 A234721 A235212
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Mar 21 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 April 16 07:57 EDT 2024. Contains 371698 sequences. (Running on oeis4.)