OFFSET
1,1
COMMENTS
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
4567, 4583 and 4591 are consecutive primes and their sum is 13741, a Fermat pseudoprime.
84191, 84199 and 84211 are consecutive primes and their sum is 252601, a Fermat pseudoprime.
PROG
(PARI) isA001567(n) = {Mod(2, n)^n==2 && !ispseudoprime(n) && n > 1}
a034961(n) = my(p=prime(n), q=nextprime(p+1)); p+q+nextprime(q+1);
for(n=1, 200000, if(isA001567(a034961(n)), print1(a034961(n), ", ")));
CROSSREFS
KEYWORD
nonn
AUTHOR
Altug Alkan, Mar 20 2016
STATUS
approved