OFFSET
0,2
COMMENTS
FORMULA
G.f.: Product_{k>=0} (1 + 6*x^(2^k)). - Ilya Gutkovskiy, Feb 28 2017
EXAMPLE
Also, written as an irregular triangle in which the row lengths are the terms of A011782, the sequence begins:
1;
6;
6, 36;
6, 36, 36, 216;
6, 36, 36, 216, 36, 216, 216, 1296;
...
MATHEMATICA
6^# & /@ Nest[Join[#, # + 1] &, {0}, 6] (* Michael De Vlieger, Mar 20 2015, after IWABUCHI Yu(u)ki at a000120 *)
PROG
(PARI) a(n) = 6^hammingweight(n); \\ Michel Marcus, Mar 21 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Omar E. Pol, Mar 19 2015
EXTENSIONS
More terms from Michael De Vlieger, Mar 20 2015
STATUS
approved