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!)
A330968 Prime numbers p such that 2*p - last digit of p is prime. 0
2, 3, 5, 7, 13, 19, 23, 31, 37, 43, 53, 59, 67, 79, 83, 113, 139, 157, 179, 193, 199, 211, 223, 229, 233, 263, 271, 277, 283, 307, 331, 359, 367, 373, 389, 397, 409, 419, 433, 443, 457, 487, 509, 547, 563, 569, 601, 613, 619, 643, 653, 661, 691, 709, 719, 727 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Prime numbers p such that 2*p - (p mod 10) is prime.
LINKS
EXAMPLE
Prime number 19 is a term since 2 * 19 - (19 mod 10) = 2 * 19 - 9 = 29, a prime.
PROG
(PARI) forprime(p = 2, 1000, if(isprime(2*p - p%10), print1(p", ")))
(Magma) [p:p in PrimesUpTo(750)| IsPrime(2*p-(p mod 10))]; // Marius A. Burtea, Feb 07 2020
CROSSREFS
Sequence in context: A233134 A082885 A118371 * A153591 A038917 A124661
KEYWORD
nonn,base
AUTHOR
Dimitris Valianatos, Feb 06 2020
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 April 25 06:41 EDT 2024. Contains 371964 sequences. (Running on oeis4.)