[go: up one dir, main page]

login
Revision History for A352155 (Bold, blue-underlined text is an addition; faded, red-underlined text is a deletion.)

Showing entries 1-10 | older changes
Numbers m such that the smallest digit in the decimal expansion of 1/m is 1, ignoring leading and trailing 0's.
(history; published version)
#16 by Joerg Arndt at Tue Apr 05 09:40:08 EDT 2022
STATUS

proposed

approved

#15 by Jinyuan Wang at Tue Apr 05 09:06:29 EDT 2022
STATUS

editing

proposed

#14 by Jinyuan Wang at Tue Apr 05 09:06:22 EDT 2022
CROSSREFS

Cf. A002282, A333402, A352153.

Similar with smallest digit k: A352154 (k=0), this sequence (k=1), A352156 (k=2), A352157 (k=3), A352158 (k=4), A352159 (k=5), A352160 (k=6), A352153 (no known term for k=7), A352161 (k=78), no term (k=9).

STATUS

approved

editing

#13 by N. J. A. Sloane at Tue Mar 29 02:25:09 EDT 2022
STATUS

reviewed

approved

#12 by Michel Marcus at Tue Mar 29 00:11:18 EDT 2022
STATUS

proposed

reviewed

#11 by Chai Wah Wu at Mon Mar 28 17:03:08 EDT 2022
STATUS

editing

proposed

Discussion
Tue Mar 29
00:11
Michel Marcus: this one works fine
#10 by Chai Wah Wu at Mon Mar 28 17:02:51 EDT 2022
PROG

(Python)

from itertools import count, islice

from sympy import multiplicity, n_order

def A352155_gen(startvalue=1): # generator of terms >= startvalue

for n in count(max(startvalue, 1)):

m2, m5 = multiplicity(2, n), multiplicity(5, n)

k, m = 10**max(m2, m5), 10**(t := n_order(10, n//2**m2//5**m5))-1

c = k//n

s = str(m*k//n-c*m).zfill(t)

if s == '0' and min(str(c)) == '1':

yield n

elif '0' not in s and min(str(c).lstrip('0')+s) == '1':

yield n

A352155_list = list(islice(A352155_gen(), 20)) # Chai Wah Wu, Mar 28 2022

STATUS

approved

editing

#9 by N. J. A. Sloane at Fri Mar 18 13:11:59 EDT 2022
STATUS

proposed

approved

#8 by Michel Marcus at Thu Mar 17 04:36:53 EDT 2022
STATUS

editing

proposed

#7 by Michel Marcus at Thu Mar 17 04:36:48 EDT 2022
NAME

Numbers m such that the smallest digit in the decimal expansion of 1/m is 1, ignoring leading and trailing 0's.

COMMENTS

Trailing 0's are also not considered, otherwise numbers of the form 2^i*5^j with i, j >= 0, apart from 1 (A003592) would be terms.

CROSSREFS

Similar with smallest digit k: A352154 (k=0), this sequence (k=1), A352156 (k=2), A352157 (k=3), A352158 (k=4), A352159 (k=5), A352160 (k=6), A352161 (k=7).

STATUS

proposed

editing