OFFSET
1,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
p=43 is in this sequence because 43+47 = 90 is divisible by 9.
MATHEMATICA
Prime@Select[Range[300], Mod[Prime[#] + Prime[# + 1], 9]==0 &]
Select[Partition[Prime[Range[300]], 2, 1], Divisible[Total[#], 9]&][[All, 1]] (* Harvey P. Dale, Jul 27 2017 *)
PROG
(Magma) [p: p in PrimesUpTo(1500) | (p+NextPrime(p)) mod 9 eq 0];
(PARI) forprime(p=1, 10^3, if(!((p+nextprime(p+1))%9), print1(p, ", "))) \\ Derek Orr, Jan 30 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Jan 28 2015
STATUS
approved