|
|
A368315
|
|
a(n) gives the number of ways to go from n to 1 with steps consisting of replacing a positive number without leading zero, say m, appearing in the binary expansion of a number, by a proper divisor of m.
|
|
2
|
|
|
1, 1, 1, 2, 2, 3, 2, 4, 4, 7, 6, 8, 6, 8, 6, 8, 8, 17, 14, 21, 18, 28, 18, 20, 16, 27, 26, 26, 18, 31, 22, 16, 22, 37, 34, 58, 48, 76, 52, 58, 48, 98, 80, 102, 80, 105, 76, 48, 40, 85, 80, 96, 80, 153, 104, 76, 70, 99, 98, 119, 82, 136, 116, 32, 44, 123, 98
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,4
|
|
LINKS
|
|
|
FORMULA
|
a(1) = 1.
a(2^k) = A011782(k) for any k >= 0.
|
|
EXAMPLE
|
a(10) = 7 for we have seven ways to go from 10 to 1:
10 -> 1,
10 -> 2 -> 1,
10 -> 5 -> 1,
10 -> 5 -> 3 -> 1,
10 -> 6 -> 1,
10 -> 6 -> 2 -> 1,
10 -> 6 -> 3 -> 1.
|
|
PROG
|
(PARI) See Links section.
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,base
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|