OFFSET
0,2
COMMENTS
FORMULA
a(2*n+1) = 2^(2*n+1)*a(2*n) and a(2*n+2) = 2^(2*n+2)*((4^(n+2) - 1)/(4^(n+1) - 1))*a(2*n+1) with a(0) = 1 and a(1) =2.
MAPLE
nmax:=13: a(0):=1: a(1):=2: for n from 0 to nmax/2 do a(2*n+1):= 2^(2*n+1)*a(2*n): a(2*n+2):=2^(2*n+2)*((4^(n+2) - 1)/(4^(n+1) - 1))*a(2*n+1): od: seq(a(n), n=0..nmax);
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Johannes W. Meijer, Oct 10 2010
STATUS
approved