OFFSET
1,1
COMMENTS
If k and k+1 are semiprimes then k+1 is always nonsquare while k can be a square (see A263951). The sequence gives the nonsquare terms of A070552. Each of the numbers k and k+1 is a product of two distinct primes.
The subsequence of triples of consecutive squarefree semiprimes is A039833. - R. J. Mathar, Aug 13 2019
LINKS
Seiichi Manyama, Table of n, a(n) for n = 1..10000
MATHEMATICA
Select[Range[1000], ! IntegerQ[Sqrt[#]] && 2 == PrimeOmega[#] == PrimeOmega[# + 1] &]
PROG
(PARI) is(n)=if(n%2, isprime((n+1)/2) && bigomega(n)==2 && !isprimepower(n), isprime(n/2) && bigomega(n+1)==2) \\ Charles R Greathouse IV, Apr 25 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Oct 31 2015
STATUS
approved