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.

A106077 Primes p such that 5*p + 2 and 2*p + 5 are primes.

This page as a plain text file.
%I A106077 #23 Aug 25 2025 02:06:56
%S A106077 3,7,13,19,31,61,67,73,79,97,109,151,181,313,373,457,523,541,613,643,
%T A106077 661,709,727,739,769,811,859,991,997,1039,1069,1087,1171,1249,1321,
%U A106077 1327,1381,1399,1483,1657,1663,1693,1747,1777,1801,1867,2053,2113,2239,2251
%N A106077 Primes p such that 5*p + 2 and 2*p + 5 are primes.
%H A106077 Robert Israel, <a href="/A106077/b106077.txt">Table of n, a(n) for n = 1..10000</a>
%p A106077 filter:= proc(p) isprime(p) and isprime(5*p+2) and isprime(2*p+5) end proc:
%p A106077 select(filter, [seq(i,i=3..3000,2)]); # _Robert Israel_, Aug 25 2025
%t A106077 Select[Prime[Range[220]], PrimeQ[2#+5]&&PrimeQ[5#+2]&]
%o A106077 (Magma) [p: p in PrimesUpTo(10000) | IsPrime(5*p+2) and IsPrime(2*p+5)]; // _Vincenzo Librandi_, Nov 13 2010
%Y A106077 Cf. A023217.
%K A106077 nonn,changed
%O A106077 1,1
%A A106077 _Zak Seidov_, May 07 2005
%E A106077 More terms from _Vincenzo Librandi_, Mar 28 2010