login
A272759
a(n) = A065879(n)/n.
3
1, 1, 2, 1, 2, 2, 3, 1, 2, 2, 5, 2, 0, 3, 4, 1, 2, 2, 0, 2, 6, 5, 3, 2, 0, 0, 3, 3, 4, 4, 5, 1, 2, 2, 0, 2, 5, 0, 4, 2, 5, 6, 4, 5, 4, 3, 0, 2, 0, 0, 4, 0, 4, 3, 0, 3, 4, 4, 5, 4, 6, 5, 6, 1, 2, 2, 0, 2, 5, 0, 4, 2, 6, 5, 4, 0, 4, 4, 5, 2, 5, 5, 4, 6, 4, 4, 3
OFFSET
1,3
COMMENTS
This sequence is bounded above by A272756.
a(n) is the least value i such that A000120(n * i) = i or 0 if no such value exists.
MATHEMATICA
Table[(SelectFirst[Range[2^12], # == n First@ DigitCount[#, 2] &] /.
k_ /; MissingQ@ k -> 0)/n, {n, 120}] (* *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Peter Kagey, May 05 2016
STATUS
approved