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
KEYWORD
nonn,more
AUTHOR
Michel Marcus, Mar 29 2024
STATUS
approved