login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A327748 Primes p such that the sum of p and the prime before p is not a multiple of 3. 0
3, 5, 29, 37, 53, 59, 67, 79, 89, 137, 157, 163, 173, 179, 211, 223, 239, 257, 263, 269, 277, 337, 359, 373, 379, 389, 439, 449, 479, 509, 521, 541, 547, 563, 569, 577, 593, 599, 607, 613, 631, 653, 659, 673, 683, 733, 739, 757, 809, 947, 953, 977, 983, 997 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Apart from leading terms, similar to A151800(A258578). - Rémy Sigrist, Oct 02 2019
Except for the first two terms (3 and 5), this sequence also represents the primes such that (prime(n)^3 - prime(n-1)^3) is divisible by 3. - Jeff Brown, Jul 06 2020
LINKS
EXAMPLE
3 is in the sequence because the prime before 3 is 2, and 2 + 3 = 5, and 5 is not divisible by 3.
53 is in the sequence because the prime before 53 is 47, and 47 + 53 = 100, and 100 is not divisible by 3.
MATHEMATICA
Select[Prime[Range[2, 168]], Mod[#+NextPrime[#, -1], 3]!=0&] (* Ivan N. Ianakiev, Oct 08 2019 *)
PROG
(PARI) isok(p) = isprime(p) && (p>2) && ((p+precprime(p-1)) % 3); \\ Michel Marcus, Oct 02 2019
CROSSREFS
Sequence in context: A355273 A361085 A141578 * A272345 A356147 A364762
KEYWORD
nonn
AUTHOR
Todor Szimeonov, Sep 23 2019
STATUS
approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified March 28 16:58 EDT 2024. Contains 371254 sequences. (Running on oeis4.)