login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A063728
a(n) = shift(a(n-1); a(n-3)), a(0)=2, a(1)=3.
0
2, 3, 6, 24, 192, 12288, 206158430208, 1294077440023230710144016724176942272334582932281947479092973291962368
OFFSET
0,1
EXAMPLE
n=4: 192 because 24 [a(n-1)] in binary is [1, 1, 0, 0, 0] and shifted 3 [a(n-3)] places to the left becomes [1, 1, 0, 0, 0, 0, 0, 0]=192.
PROG
(PARI) a(n) = if(n<2, n+2, shift(a(n-1), a(n-3))); for(n=0, 7, print(a(n)))
CROSSREFS
Sequence in context: A377183 A099000 A032540 * A333420 A296259 A344935
KEYWORD
easy,nonn
AUTHOR
Jason Earls, Aug 12 2001
STATUS
approved