login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A253973 Primes p such that p + nextprime(p) is divisible by 9. 2
7, 17, 43, 71, 79, 97, 107, 139, 179, 197, 223, 269, 277, 283, 313, 317, 337, 349, 401, 409, 431, 439, 457, 491, 521, 673, 743, 761, 787, 809, 827, 839, 853, 881, 907, 1021, 1039, 1061, 1087, 1151, 1193, 1213, 1277, 1303, 1373, 1399, 1429, 1447, 1471, 1483 (list; graph; refs; listen; history; text; internal format)
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

Cf. similar sequences listed in A253969.

Sequence in context: A193546 A268255 A124965 * A200080 A179030 A179031

Adjacent sequences:  A253970 A253971 A253972 * A253974 A253975 A253976

KEYWORD

nonn,easy

AUTHOR

Vincenzo Librandi, Jan 28 2015

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified February 27 03:30 EST 2020. Contains 332299 sequences. (Running on oeis4.)