|
|
A151780
|
|
a(n) = 5^(wt(n) - 1) where wt(n) = A000120(n).
|
|
6
|
|
|
1, 1, 5, 1, 5, 5, 25, 1, 5, 5, 25, 5, 25, 25, 125, 1, 5, 5, 25, 5, 25, 25, 125, 5, 25, 25, 125, 25, 125, 125, 625, 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, 1, 5, 5, 25, 5, 25, 25, 125, 5
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,3
|
|
LINKS
|
|
|
EXAMPLE
|
If written as a triangle:
1;
1,5;
1,5,5,25;
1,5,5,25,5,25,25,125;
1,5,5,25,5,25,25,125,5,25,25,125,25,125,125,625;
1,5,5,25,5,25,25,125,5,25,25,125,25,125,125,625,5,25,25,125,25,125,125,625,...
(End)
|
|
PROG
|
(Python 3.10+)
(PARI) a(n) = 5^(hammingweight(n)-1); \\ Michel Marcus, Nov 15 2022
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|