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!)
A200675 Powers of 2 repeated 4 times. 5
1, 1, 1, 1, 2, 2, 2, 2, 4, 4, 4, 4, 8, 8, 8, 8, 16, 16, 16, 16, 32, 32, 32, 32, 64, 64, 64, 64, 128, 128, 128, 128, 256, 256, 256, 256, 512, 512, 512, 512, 1024, 1024, 1024, 1024, 2048, 2048, 2048, 2048, 4096, 4096, 4096, 4096 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,5
COMMENTS
Run lengths in A173922.
LINKS
FORMULA
a(n) = 2^floor(n/4).
G.f.: x*(1+x)*(1+x^2)/(1-2*x^4 ). - R. J. Mathar, Nov 21 2011
EXAMPLE
a(4) = 2^1 = 2.
MATHEMATICA
CoefficientList[Series[x*(1 + x)*(1 + x^2)/(1 - 2*x^4), {x, 0, 50}], x] (* or *) Table[2^(Floor[n/4]), {n, 0, 50}] (* G. C. Greubel, Apr 30 2017 *)
PROG
(PARI) a(n)=2^(n\4) \\ Charles R Greathouse IV, Oct 03 2016
(Python)
def A200675(n): return 1<<(n>>2) # Chai Wah Wu, Jan 30 2023
CROSSREFS
Sequence in context: A073504 A092508 A032544 * A029079 A035398 A104409
KEYWORD
nonn,easy
AUTHOR
Jeremy Gardiner, Nov 20 2011
EXTENSIONS
Offset corrected by Charles R Greathouse IV, Oct 03 2016
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 18 18:20 EDT 2024. Contains 371781 sequences. (Running on oeis4.)