The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A371619 a(n) is the least integer m such that p#*m - 1 is prime for all primes p <= prime(n). 0
2, 2, 2, 2, 9, 9, 9, 224719, 384427, 16114470, 259959472, 13543584514, 100318016379, 100318016379 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
Martin Raab, A prime number "Game of Life": can floor(y*p#) be prime for all p>=2?, arXiv:2403.17949 [math.GM], 2024.
PROG
(PARI) isok(m, n) = for(i=1, n, my(P = vecprod(primes(i))); if (! isprime(P*m-1), return(0)); ); return(1);
a(n) = my(m=1); while (!isok(m, n), m++); m;
CROSSREFS
Cf. A002110.
Sequence in context: A353392 A360310 A085056 * A265447 A156538 A249768
KEYWORD
nonn,more
AUTHOR
Michel Marcus, Mar 29 2024
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 May 25 10:45 EDT 2024. Contains 372788 sequences. (Running on oeis4.)