login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A185695 Final prime adjoined in the smallest term of A019518 divisible by 61^n. 1
23, 41719, 308537, 270907253, 28643801327 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Associated with A019518(i) at i = 9, 4363, 26688, 14758114, ...

LINKS

Table of n, a(n) for n=1..5.

PROG

(Python)

from sympy import nextprime

def A185695(n):

    p, k, m = 2, 61**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

Cf. A019518, A185656, A185659, A185662, A185665, A185671, A185677.

Sequence in context: A273192 A233210 A173369 * A101699 A122148 A068736

Adjacent sequences:  A185692 A185693 A185694 * A185696 A185697 A185698

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 8 09:21 EDT 2021. Contains 343666 sequences. (Running on oeis4.)