OFFSET
0,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..100
MATHEMATICA
a = {}; Do[k = 1; While[ Count[ IntegerDigits[7^k], 8] != n, k++ ]; a = Append[a, k], {n, 0, 50} ]; a
Module[{nn=600, tk}, tk=Table[{k, DigitCount[7^k, 10, 8]}, {k, nn}]; Table[ SelectFirst[ tk, #[[2]]==n&], {n, 0, 50}]][[All, 1]] (* Harvey P. Dale, Dec 11 2022 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Robert G. Wilson v, Aug 10 2001
EXTENSIONS
Name corrected by Jon E. Schoenfield, Jun 26 2018
STATUS
approved