The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A170833 a(n) = 4^(floor(n/2))+4^(floor(n/2)-1)-4^(floor((n-1)/3)). 3
4, 4, 16, 16, 76, 64, 304, 304, 1216, 1216, 5056, 4864, 20224, 20224, 80896, 80896, 326656, 323584, 1306624, 1306624, 5226496, 5226496, 20955136, 20905984, 83820544, 83820544, 335282176, 335282176, 1341915136, 1341128704, 5367660544, 5367660544, 21470642176 (list; graph; refs; listen; history; text; internal format)
OFFSET
2,1
LINKS
R. P. Stanley, Problem 11348, Amer. Math. Monthly, 117 (2010), 87-88.
FORMULA
a(n) = 4*a(n-2)+4*a(n-3)-16*a(n-5). G.f.: -4*x^2*(x^4+4*x^3-x-1) / ((2*x-1)*(2*x+1)*(4*x^3-1)). - Colin Barker, Jul 26 2013
MATHEMATICA
LinearRecurrence[{0, 4, 4, 0, -16}, {4, 4, 16, 16, 76}, 40] (* Harvey P. Dale, Mar 11 2017 *)
CROSSREFS
Sequence in context: A164906 A213173 A222956 * A231940 A129884 A137725
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Dec 30 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 May 16 04:39 EDT 2024. Contains 372549 sequences. (Running on oeis4.)