OFFSET
1,1
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
EXAMPLE
For p = 31, 2*p+1 = 63, which factors as 3*3*7.
For p = 97, 2*p+1 = 195, which factors as 3*5*13.
MAPLE
filter:= proc(p) isprime(p) and numtheory:-bigomega(2*p+1)=3 end proc:
select(filter, [seq(i, i=3..2000, 2)]); # Robert Israel, Nov 09 2022
MATHEMATICA
Select[Prime@Range@200, PrimeOmega[2#+1]==3&] (* Giorgos Kalogeropoulos, Jan 08 2022 *)
PROG
(PARI) is(n) = bigomega(2*n + 1) == 3 && isprime(n) \\ David A. Corneth, Jan 06 2022
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Paul Duckett, Jan 06 2022
EXTENSIONS
More terms from David A. Corneth, Jan 06 2022
STATUS
approved