

A317441


a(n) = number of k with 1 <= k <= n1 such that a(k) and a(nk) have the same binary length (A070939).


2



0, 1, 2, 1, 2, 3, 0, 5, 4, 1, 6, 3, 0, 5, 4, 1, 10, 5, 2, 7, 0, 7, 10, 5, 6, 7, 2, 5, 8, 5, 8, 7, 10, 9, 6, 7, 8, 7, 10, 11, 6, 7, 8, 11, 6, 17, 8, 9, 8, 19, 8, 13, 10, 15, 6, 19, 10, 9, 6, 19, 8, 13, 14, 13, 10, 17, 14, 15, 10, 19, 14, 9, 16, 15, 10, 11, 20
(list;
graph;
refs;
listen;
history;
text;
internal format)



OFFSET

1,3


COMMENTS



LINKS



EXAMPLE

For n = 4:
 hence a(4) = 1.


PROG

(PARI) l = vector(77); for (n=1, #l, l[n] = #binary(max(1, v=sum(k=1, n1, l[k]==l[nk]))); print1 (v ", "))


CROSSREFS



KEYWORD

nonn,base


AUTHOR



STATUS

approved



