OFFSET
0,2
MATHEMATICA
a = {}; Do[k = 1; While[ Count[ IntegerDigits[6^k], 2] != n, k++ ]; a = Append[a, k], {n, 0, 50} ]; a
With[{c=6^Range[600]}, Flatten[Table[Position[c, _?(DigitCount[#, 10, 2]==n&), {1}, 1], {n, 0, 50}]]] (* Harvey P. Dale, Dec 29 2014 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Robert G. Wilson v, Aug 10 2001
EXTENSIONS
Name corrected by Jon E. Schoenfield, Jun 26 2018
STATUS
approved