OFFSET
1,1
COMMENTS
Terms with sigma(p-1) = sigma(p+1) include 919, 334541 and 463219.
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
a(3) = 41 is a term because 41 is prime, 41 + sigma(40) = 41+1+2+4+5+8+10+20+40=131 is prime, and 41 + sigma(42) = 41+1+2+3+6+7+14+21+42=137 is prime.
MAPLE
select(t -> isprime(t + numtheory:-sigma(t-1)) and isprime(t + numtheory:-sigma(t+1)), [seq(ithprime(i), i=1..300)])
CROSSREFS
KEYWORD
nonn
AUTHOR
J. M. Bergot and Robert Israel, Dec 19 2020
STATUS
approved