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!)
A185698 Final prime adjoined in the smallest term of A019518 divisible by 67^n. 1
37, 37, 14123267, 47321411, 5664619381 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Associated with A019518(i) at i = 12, 12, 917579, 2849864, ...
LINKS
EXAMPLE
23571113171923293137 is divisible by 67^2.
PROG
(Python)
from sympy import nextprime
def A185698(n):
p, k, m = 2, 67**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
CROSSREFS
Sequence in context: A165858 A217544 A190839 * A043611 A296871 A346383
KEYWORD
nonn,base,more
AUTHOR
James G. Merickel, Feb 05 2011
EXTENSIONS
a(5) from Chai Wah Wu, May 01 2020
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 23 18:16 EDT 2024. Contains 371916 sequences. (Running on oeis4.)