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.

A023203 Primes p such that p + 10 is also prime.

This page as a plain text file.
%I A023203 #107 Feb 16 2025 08:32:34
%S A023203 3,7,13,19,31,37,43,61,73,79,97,103,127,139,157,163,181,223,229,241,
%T A023203 271,283,307,337,349,373,379,409,421,433,439,457,499,547,577,607,631,
%U A023203 643,673,691,709,733,751,787,811,829,853,877,919,937,967,1009,1021,1039,1051
%N A023203 Primes p such that p + 10 is also prime.
%C A023203 A subset of A002476. It appears that this is also a subset of A007645. The first few terms of A007645 that are not in this sequence are {67, 109, 151, 193, 199, 211, 277, 313, 331, 367, 397, 463, 487, 523, 541, 571, 601, 613, ...}. - _Alexander Adamchuk_, Aug 15 2006
%C A023203 The entries are all in A007645, because they cannot be of the form p = 3*j + 2. If they were, p + 10 = 3*j + 12 would be divisible by 3 and not prime. - _R. J. Mathar_, Oct 30 2009
%H A023203 Matt C. Anderson, <a href="/A023203/b023203.txt">Table of n, a(n) for n = 1..10000</a> (first 1000 terms from Harvey P. Dale)
%H A023203 Maxie D. Schmidt, <a href="https://arxiv.org/abs/1701.04741">New Congruences and Finite Difference Equations for Generalized Factorial Functions</a>, arXiv:1701.04741 [math.CO], 2017.
%H A023203 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/TwinPrimes.html">Twin Primes</a>
%p A023203 for p from 1 to 10000 do if isprime(p) and isprime(p+10) then print(p) end if end do # _Matt C. Anderson_, Aug 26 2022
%t A023203 Select[Prime[Range[200]], PrimeQ[# + 10] &] (* _Harvey P. Dale_, Dec 14 2011 *)
%o A023203 (Magma) [n: n in [0..1000] | IsPrime(n) and IsPrime(n+10)]; // _Vincenzo Librandi_, Nov 20 2010
%o A023203 (PARI) is(n)=isprime(n)&&isprime(n+10) \\ _Charles R Greathouse IV_, Jul 01 2013
%Y A023203 Different from A015916. Cf. A031928, A079033.
%Y A023203 Cf. A002476, A007645, A092146.
%K A023203 nonn,easy
%O A023203 1,1
%A A023203 _David W. Wilson_
%E A023203 Revised by _N. J. A. Sloane_, Jan 29 2013
%E A023203 New name from _Michel Marcus_, Mar 04 2020