OFFSET
1,1
COMMENTS
The semiprimes of this form are: 6, 38, 51, 123, 146, 291, 326, 731, 843, 1227, 1371, 1766, 1851, 2306, 2603, 2811, 2918, 3027, 3602, ....
There are no four consecutive terms in this sequence, that is, a(n) > a(n-3) + 3 (check mod 6). Probably sieve theory can show that this sequence has density 0. - Charles R Greathouse IV, Feb 24 2023
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
FORMULA
a(n) > 2n for n > 1. - Charles R Greathouse IV, Feb 24 2023
MATHEMATICA
Select[Range[300], PrimeOmega[#^2 + 2] == 2 &]
PROG
(Magma) IsSemiprime:=func<i | &+[d[2]: d in Factorization(i)] eq 2>; [n: n in [2..200] | IsSemiprime(s) where s is n^2+2];
(PARI) issemi(n)=forprime(p=2, 997, if(n%p==0, return(isprime(n/p)))); bigomega(n)==2
is(n)=issemi(n^2+2) \\ Charles R Greathouse IV, Feb 24 2023
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, May 14 2014
STATUS
approved