cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A330968 Prime numbers p such that 2*p - last digit of p is prime.

Original entry on oeis.org

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
Offset: 1

Views

Author

Dimitris Valianatos, Feb 06 2020

Keywords

Comments

Prime numbers p such that 2*p - (p mod 10) is prime.

Examples

			Prime number 19 is a term since 2 * 19 - (19 mod 10) = 2 * 19 - 9 = 29, a prime.
		

Crossrefs

Programs

  • Magma
    [p:p in PrimesUpTo(750)| IsPrime(2*p-(p mod 10))]; // Marius A. Burtea, Feb 07 2020
  • PARI
    forprime(p = 2, 1000, if(isprime(2*p - p%10), print1(p", ")))