login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A128658
Numbers k such that p(k+1)# - p(k)# + 1 is prime where p(i)# = product of first i primes = A002110(i).
5
1, 3, 7, 14, 80, 224, 280, 287, 652, 1509, 2952, 3915, 7771
OFFSET
1,2
PROG
(PARI) isok(n) = {my(pp=prod(k=1, n, prime(k))); isprime(pp*prime(n+1) - pp + 1); } \\ Michel Marcus, Sep 20 2019
KEYWORD
nonn,more
AUTHOR
Pierre CAMI, Mar 19 2007
EXTENSIONS
a(13) from Michael S. Branicky, Oct 06 2024
STATUS
approved