login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A317332 Indices m for which A058304(m) = 8. 8
9, 17, 22, 33, 41, 46, 54, 65, 73, 81, 86, 94, 105, 110, 118, 129, 137, 145, 150, 161, 169, 174, 182, 190, 201, 209, 214, 222, 233, 238, 246, 257, 265, 273, 278, 289, 297, 302, 310, 321, 329, 337, 342, 350, 361, 366, 374, 382, 393, 401, 406, 417, 425, 430, 438, 446, 457, 465, 470, 478, 489, 494, 502 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = 8*n + A317335(n).
PROG
(Python)
n, f, i, p, q = 1, 1, 0, 0, 1
while i < 1000000:
....i, p, q = i+1, p*10, q*10
....if i == f:
........p, n = p+1, n+1
........f = f*n
n, a, j = 0, 0, 0
while p%q > 0:
....a, f, p, q = a+1, p//q, q, p%q
....if f == 8:
........n = n+1
........print(n, a-1)
CROSSREFS
Sequence in context: A133246 A190151 A144752 * A073160 A242987 A346146
KEYWORD
nonn
AUTHOR
A.H.M. Smeets, Jul 26 2018
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 11:31 EDT 2024. Contains 371792 sequences. (Running on oeis4.)