%I #18 Oct 02 2024 16:48:23
%S 1,6,14,25,30,38,49,57,62,70,78,89,97,102,113,121,126,134,142,153,158,
%T 166,177,185,193,198,206,217,225,230,241,249,254,262,270,281,286,294,
%U 305,313,318,326,334,345,353,358,369,377,385,390,398,409,414,422,433,441,449,454,462,473,481,486,497,505
%N Indices m for which A058304(m) = 9.
%H A.H.M. Smeets, <a href="/A317333/b317333.txt">Table of n, a(n) for n = 1..20000</a>
%F a(n) = 8*n + A317336(n).
%o (Python)
%o n, f, i, p, q = 1, 1, 0, 0, 1
%o while i < 1000000:
%o i, p, q = i+1, p*10, q*10
%o if i == f:
%o p, n = p+1, n+1
%o f = f*n
%o n, a, j = 0, 0, 0
%o while p%q > 0:
%o a, f, p, q = a+1, p//q, q, p%q
%o if f == 9:
%o n = n+1
%o print(n, a-1)
%Y Cf. A058304, A317331, A317332, A317335, A317336.
%K nonn
%O 1,2
%A _A.H.M. Smeets_, Jul 26 2018