OFFSET
1,1
COMMENTS
Primes p such that p-3 is semiprime are in A089531; p and 2p+3 both prime, A023204; p, 2p-3 and 2p+3 prime, A092110.
Primes p such that (p+3)/2 is prime. All these primes are congruent to 3 mod 4. - Artur Jasinski, Oct 11 2008
Subsequence of A131426. - Zak Seidov, Mar 29 2015
Subsequence of A091305. - David Radcliffe, May 22 2022
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
FORMULA
MAPLE
select(p -> isprime(p) and isprime((p+3)/2), [seq(2*k+1, k=1..1000)]); # Robert Israel, Mar 29 2015
MATHEMATICA
aa = {}; k = 3; Do[If[PrimeQ[(k + Prime[n])/2], AppendTo[aa, Prime[n]]], {n, 1, 100}]; aa (* Artur Jasinski, Oct 11 2008 *)
Select[Prime[Range[300]], PrimeOmega[#+3]==2&] (* Harvey P. Dale, Feb 07 2018 *)
PROG
(Magma) IsSemiprime:=func< p | &+[ k[2]: k in Factorization(p)] eq 2 >; [p: p in PrimesUpTo(1300)| IsSemiprime(p+3)]; // Vincenzo Librandi, Feb 21 2014
(PARI) is(n)=n%2 && isprime((n+3)/2) && isprime(n) \\ Charles R Greathouse IV, Jul 12 2016
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Zak Seidov, Feb 21 2004
STATUS
approved