login
Primes of the form 3p - 4 where p is prime.
3

%I #18 Mar 15 2024 02:25:39

%S 2,5,11,17,29,47,53,83,89,107,137,173,179,197,233,263,317,389,443,449,

%T 467,569,587,593,677,683,719,809,827,839,929,947,1097,1163,1187,1223,

%U 1259,1289,1367,1433,1493,1523,1559,1619,1637,1667,1709,1847,1889,1973,1979

%N Primes of the form 3p - 4 where p is prime.

%C Subsequence of A003627. - _Michel Marcus_, May 30 2015

%H Paolo P. Lava, <a href="/A228353/b228353.txt">Table of n, a(n) for n = 1..300</a>

%F a(n) = 3*A258261(n)-4. _Zak Seidov_, May 24 2015

%F a(n) >> n*log^2 n. - _Charles R Greathouse IV, Jun 04 2015

%t Select[3*Prime[Range[200]]-4, PrimeQ] (* _Zak Seidov_, May 24 2015 *)

%o (PARI) is(n)=n%3==2 && isprime(n\3+2) && isprime(n) \\ _Charles R Greathouse IV_, Mar 18 2014

%Y Cf. A228121, A258261, A003627.

%K nonn,less,easy

%O 1,1

%A _Irina Gerasimova_, Aug 20 2013