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!)
A102652 a(n) = 4 * floor(24*2^n/15) = 4*A077854(n). 4
4, 12, 24, 48, 100, 204, 408, 816, 1636, 3276, 6552, 13104, 26212, 52428, 104856, 209712, 419428, 838860, 1677720, 3355440, 6710884, 13421772, 26843544, 53687088, 107374180, 214748364, 429496728, 858993456, 1717986916, 3435973836 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,1

COMMENTS

In binary, each term differs from the previous by a single bit.

LINKS

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

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

FORMULA

G.f.: 4 / ( (x-1)*(2*x-1)*(x^2+1) ). - R. J. Mathar, Feb 20 2011

MAPLE

A102652:=n->4 * floor(24*2^n/15); seq(A102652(n), n=0..30); # Wesley Ivan Hurt, Feb 25 2014

MATHEMATICA

Table[4*Floor[24*2^n/15], {n, 0, 30}] (* or *) LinearRecurrence[{3, -3, 3, -2}, {4, 12, 24, 48}, 30] (* Harvey P. Dale, Oct 20 2013 *)

CoefficientList[Series[4/((x - 1) (2 x - 1) (x^2 + 1)), {x, 0, 50}], x] (* Vincenzo Librandi, Feb 28 2014 *)

PROG

(PARI) a(n)=24<<n\15*4 \\ Charles R Greathouse IV, Feb 04 2016

CROSSREFS

Cf. A102650, A102651, A102653.

Sequence in context: A330011 A132477 A102651 * A279626 A238607 A143270

Adjacent sequences:  A102649 A102650 A102651 * A102653 A102654 A102655

KEYWORD

easy,nonn,less

AUTHOR

Odimar Fabeny, Feb 02 2005

EXTENSIONS

Edited by Don Reble, Mar 28 2006

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 September 28 06:57 EDT 2021. Contains 347703 sequences. (Running on oeis4.)