OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
23 is in the sequence because 19+29=48 and 3|48.
29 is in the sequence because 29+31=60 and 3|60.
MATHEMATICA
Prime@Select[Range[2, 117], Mod[Prime[ # - 1] + Prime[ # + 1], 3] == 0 &] (* Robert G. Wilson v, Jan 11 2006 *)
Select[Partition[Prime[Range[150]], 3, 1], Divisible[#[[1]]+#[[3]], 3]&][[All, 2]] (* Harvey P. Dale, Aug 18 2020 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Carlos Alves, Dec 30 2005
STATUS
approved