login
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