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.

This page as a plain text file.
%I A330968 #63 Sep 08 2022 08:46:24
%S A330968 2,3,5,7,13,19,23,31,37,43,53,59,67,79,83,113,139,157,179,193,199,211,
%T A330968 223,229,233,263,271,277,283,307,331,359,367,373,389,397,409,419,433,
%U A330968 443,457,487,509,547,563,569,601,613,619,643,653,661,691,709,719,727
%N A330968 Prime numbers p such that 2*p - last digit of p is prime.
%C A330968 Prime numbers p such that 2*p - (p mod 10) is prime.
%e A330968 Prime number 19 is a term since 2 * 19 - (19 mod 10) = 2 * 19 - 9 = 29, a prime.
%o A330968 (PARI) forprime(p = 2, 1000, if(isprime(2*p - p%10), print1(p", ")))
%o A330968 (Magma) [p:p in PrimesUpTo(750)| IsPrime(2*p-(p mod 10))]; // _Marius A. Burtea_, Feb 07 2020
%Y A330968 Cf. A000040, A007652.
%K A330968 nonn,base
%O A330968 1,1
%A A330968 _Dimitris Valianatos_, Feb 06 2020