OFFSET
0,2
EXAMPLE
a(3)=11 because 3^3=27_10 but in base 2 it is interpreted as 2*2^1+7*2^0=4+7=11. That is to say, digits larger than the base are carried.
MATHEMATICA
f[n_] := FromDigits[ IntegerDigits[3^n], 2]; Array[f, 42, 0]
CROSSREFS
KEYWORD
nonn,base,easy
AUTHOR
Robert G. Wilson v, Feb 10 2013
STATUS
approved