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
KEYWORD
easy,nonn
AUTHOR
Jason Earls, Aug 12 2001
STATUS
approved