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.

A118072 Primes which are the sum of a twin prime pair - 1.

This page as a plain text file.
%I A118072 #30 Feb 24 2024 01:15:23
%S A118072 7,11,23,59,83,359,383,479,563,839,863,1283,1319,1619,2039,2063,2099,
%T A118072 2459,2579,2903,2963,3863,4259,4283,4679,5099,5939,6599,6659,6719,
%U A118072 6779,7079,7643,7703,8039,8543,8963,10463,10559,10883,11003,11279,11483,11699,12263
%N A118072 Primes which are the sum of a twin prime pair - 1.
%C A118072 Dickson's conjecture implies this sequence is infinite. - _Charles R Greathouse IV_, Apr 18 2013
%H A118072 Amiram Eldar, <a href="/A118072/b118072.txt">Table of n, a(n) for n = 1..10000</a>
%F A118072 {A001359(k) + A006512(k) - 1} INTERSECT {A000040}. {A054735(k) - 1} INTERSECT {A000040}. {2*A001359(k) + 1} INTERSECT {A000040}.
%e A118072 a(1) = 7 = 3 + 5 - 1 where (3,5) is a twin prime pair.
%e A118072 a(2) = 11 = 5 + 7 - 1 where (5,7) is a twin prime pair.
%t A118072 Select[(Total[#]-1)&/@Select[Partition[Prime[Range[500]],2,1], Last[#]- First[#]== 2&],PrimeQ]  (* _Harvey P. Dale_, Apr 04 2011 *)
%o A118072 (PARI) is(p)=isprime((p-1)\2)&&isprime((p+3)\2)&&isprime(p) \\ _Charles R Greathouse IV_, Apr 18 2013
%o A118072 (Magma) [p: p in PrimesUpTo(13000)|IsPrime((p-1) div 2) and IsPrime((p+3) div 2)]; // _Marius A. Burtea_, Jan 01 2020
%Y A118072 Cf. A000040, A001359, A005384, A006512, A054735.
%K A118072 easy,nonn
%O A118072 1,1
%A A118072 _Jonathan Vos Post_, May 11 2006
%E A118072 More terms from _Harvey P. Dale_, Apr 04 2011
%E A118072 More terms from _Amiram Eldar_, Jan 01 2020