OFFSET
1,1
COMMENTS
FORMULA
EXAMPLE
a(1) = 521 since prevprime(521) + nextprime(521) = 509 + 523 = 1032 = 43 * 24.
a(2) = 821 since prevprime(821) + nextprime(821) = 811 + 823 = 1634 = 43 * 38.
a(3) = 859 since prevprime(859) + nextprime(859) = 857 + 863 = 1720 = 43 * 40.
a(4) = 1069 since prevprime(1069)+nextprime(1069) = 1063+1087 = 2150 = 43 * 50.
MATHEMATICA
Prime@Select[Range[2, 1657], Mod[Prime[ # - 1] + Prime[ # + 1], 43] == 0 &] (* Robert G. Wilson v *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Jonathan Vos Post, Jan 05 2006
EXTENSIONS
More terms from Robert G. Wilson v, Jan 11 2006
STATUS
approved