A256135 a(n) = 5^A000120(n).
1, 5, 5, 25, 5, 25, 25, 125, 5, 25, 25, 125, 25, 125, 125, 625, 5, 25, 25, 125, 25, 125, 125, 625, 25, 125, 125, 625, 125, 625, 625, 3125, 5, 25, 25, 125, 25, 125, 125, 625, 25, 125, 125, 625, 125, 625, 625, 3125, 25, 125, 125, 625, 125, 625, 625, 3125, 125, 625, 625, 3125, 625, 3125, 3125, 15625
Offset: 0
Keywords
Examples
Also, written as an irregular triangle in which the row lengths are the terms of A011782, the sequence begins: 1; 5; 5, 25; 5, 25, 25, 125; 5, 25, 25, 125, 25, 125, 125, 625; ...
Programs
-
Mathematica
5^# & /@ Nest[Join[#, # + 1] &, {0}, 6] (* Michael De Vlieger, Mar 20 2015, after IWABUCHI Yu(u)ki at a000120 *)
-
PARI
a(n) = 5^hammingweight(n); \\ Michel Marcus, Mar 21 2015
Formula
G.f.: Product_{k>=0} (1 + 5*x^(2^k)). - Ilya Gutkovskiy, Feb 28 2017
Extensions
More terms from Michael De Vlieger, Mar 20 2015
Comments