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”).

A154526
Primes p such that lcm(1,2,3,...,p-2,p-1,p) -+ 1 are both primes.
2
3, 5, 7, 19, 47
OFFSET
1,1
COMMENTS
Intersection of A154524 and A154525.
PROG
(PARI) isok(p) = {if (! isprime(p), return (0)); lcmv = lcm(vector(p, i, i)); isprime(lcmv + 1) && isprime(lcmv - 1); } \\ Michel Marcus, Oct 26 2013
CROSSREFS
KEYWORD
more,nonn
AUTHOR
Lekraj Beedassy, Jan 11 2009
STATUS
approved