login
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
OFFSET
0,2
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
KEYWORD
nonn,easy
AUTHOR
Paul Curtz, Apr 21 2008
EXTENSIONS
More terms from Charles R Greathouse IV, Oct 17 2013
STATUS
approved