OFFSET
1,1
COMMENTS
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
84191, 84199 and 84211 are consecutive primes and sum of them is 252601 that is a Carmichael number.
136657, 136691 and 136693 are consecutive primes and sum of them is 410041 that is a Carmichael number.
538553, 538561 and 538567 are consecutive primes and sum of them is 1615681 that is a Carmichael number.
PROG
(PARI) isA002997(n) = {my(f); bittest(n, 0) && !for(i=1, #f=factor(n)~, (f[2, i]==1 && n%(f[1, i]-1)==1)||return) && #f>1}
a034961(n) = my(p=prime(n), q=nextprime(p+1)); p+q+nextprime(q+1);
for(n=1, 1e6, if(isA002997(a034961(n)), print1(a034961(n), ", ")));
CROSSREFS
KEYWORD
nonn
AUTHOR
Altug Alkan, Mar 14 2016
EXTENSIONS
More terms from Amiram Eldar, Jun 25 2019
STATUS
approved