A185704
Final prime adjoined in the smallest term of A019518 divisible by 73^n.
Original entry on oeis.org
593, 23909, 4851169, 84821071, 13231167673
Offset: 1
-
from sympy import nextprime
def A185704(n):
p, k, m = 2, 73**n, 10
q, m2 = p % k, m % k
while True:
p = nextprime(p)
while p >= m:
m *= 10
m2 = m % k
q = (q*m2 + p) % k
if q == 0:
return p # Chai Wah Wu, May 01 2020
A185683
Final prime adjoined in the smallest term of A019518 divisible by 41^n.
Original entry on oeis.org
439, 439, 922457, 24105901, 2278313963, 9480709177
Offset: 1
A185686
Final prime adjoined in the smallest term of A019518 divisible by 47^n.
Original entry on oeis.org
5, 15149, 186191, 21897151, 14431069151
Offset: 1
A185692
Final prime adjoined in the smallest term of A019518 divisible by 59^n.
Original entry on oeis.org
149, 409, 2216519, 45510791, 11543761309
Offset: 1
A185701
Final prime adjoined in the smallest term of A019518 divisible by 71^n.
Original entry on oeis.org
173, 54851, 4340267, 822527543
Offset: 1
A185707
Final prime adjoined in the smallest term of A019518 divisible by 79^n.
Original entry on oeis.org
173, 52237, 19366099, 207681823
Offset: 1
A185710
Final prime adjoined in the smallest term of A019518 divisible by 83^n.
Original entry on oeis.org
281, 25561, 4014239, 670182949
Offset: 1
A185713
Final prime adjoined in the smallest term of A019518 divisible by 89^n.
Original entry on oeis.org
347, 11867, 15827689, 165429863
Offset: 1
A185716
Final prime adjoined in the smallest term of A019518 divisible by 97^n.
Original entry on oeis.org
191, 43801, 3620161, 427245967
Offset: 1
Showing 1-9 of 9 results.
Comments