A341383 Numbers m such that the largest digit in the decimal expansion of 1/m is 2.
5, 45, 50, 450, 495, 500, 819, 825, 4500, 4545, 4950, 4995, 5000, 8190, 8250, 8325, 45000, 45045, 45450, 47619, 49500, 49950, 49995, 50000, 81819, 81900, 82500, 83250, 83325, 89109, 450000, 450045, 450450, 454500, 454545, 476190, 495000, 499500, 499950, 499995, 500000
Offset: 1
Examples
As 1/45 = 0.0202020202..., 45 is a term. As 1/825 = 0.0012121212121212...., 825 is a term. As 1/47619 = 0.000021000021000021..., 47619 is a term. As 1/4545045 = 0.000000220019824..., 4545045 is not a term.
Crossrefs
Programs
-
Mathematica
Select[Range[10^5], Max[RealDigits[1/#][[1]]] == 2 &] (* Amiram Eldar, Feb 10 2021 *)
-
Python
from itertools import count, islice from sympy import n_order, multiplicity def A341383_gen(startvalue=1): # generator of terms >= startvalue for m in count(max(startvalue,1)): m2, m5 = multiplicity(2,m), multiplicity(5,m) if max(str(10**(max(m2,m5)+n_order(10,m//2**m2//5**m5))//m)) == '2': yield m A341383_list = list(islice(A341383_gen(),10)) # Chai Wah Wu, Feb 07 2022
Extensions
Missing terms added by Amiram Eldar, Feb 10 2021
Comments