OFFSET
0,1
MATHEMATICA
a = {}; Do[k = 1; While[ Count[ IntegerDigits[7^k], 7] != n, k++ ]; a = Append[a, k], {n, 0, 50} ]; a
Module[{p7=DigitCount[#, 10, 7]&/@(7^Range[500])}, Table[Position[p7, n, {1}, 1], {n, 0, 50}]]//Flatten (* Harvey P. Dale, Apr 08 2017 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Robert G. Wilson v, Aug 10 2001
EXTENSIONS
Name corrected by Jon E. Schoenfield, Jun 26 2018
STATUS
approved