login
A256136
a(n) = 6^A000120(n).
2
1, 6, 6, 36, 6, 36, 36, 216, 6, 36, 36, 216, 36, 216, 216, 1296, 6, 36, 36, 216, 36, 216, 216, 1296, 36, 216, 216, 1296, 216, 1296, 1296, 7776, 6, 36, 36, 216, 36, 216, 216, 1296, 36, 216, 216, 1296, 216, 1296, 1296, 7776, 36, 216, 216, 1296, 216, 1296, 1296, 7776, 216, 1296, 1296, 7776, 1296, 7776
OFFSET
0,2
COMMENTS
Also, a row of the square array A256140.
It appears that when A151784 is regarded as a triangle in which the row lengths are the powers of 2, this is what the rows converge to.
FORMULA
a(n) = A000400(A000120(n)). - Michel Marcus, Mar 21 2015
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
KEYWORD
nonn
AUTHOR
Omar E. Pol, Mar 19 2015
EXTENSIONS
More terms from Michael De Vlieger, Mar 20 2015
STATUS
approved