login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A137399 a(n)=4a(n-4). 0
1, 2, 2, 1, 4, 8, 8, 4, 16, 32, 32, 16, 64, 128, 128, 64, 256, 512, 512, 256, 1024, 2048, 2048, 1024, 4096, 8192, 8192, 4096, 16384, 32768, 32768, 16384, 65536, 131072, 131072, 65536, 262144, 524288, 524288, 262144, 1048576, 2097152, 2097152, 1048576, 4194304 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Table of n, a(n) for n=0..44.

Index entries for linear recurrences with constant coefficients, signature (0,0,0,4).

PROG

(PARI) a(n)=[1, 2, 2, 1][n%4+1]*4^(n\4) \\ Charles R Greathouse IV, Oct 17 2013

CROSSREFS

Sequence in context: A167622 A084606 A304209 * A158985 A295687 A087854

Adjacent sequences:  A137396 A137397 A137398 * A137400 A137401 A137402

KEYWORD

nonn,easy

AUTHOR

Paul Curtz, Apr 21 2008

EXTENSIONS

More terms from Charles R Greathouse IV, Oct 17 2013

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 | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified November 17 05:59 EST 2018. Contains 317275 sequences. (Running on oeis4.)