OFFSET
1,1
COMMENTS
Since there are no squares of the form n^3 + 2, all semiprimes in this sequence are products of distinct primes.
No term in A040034 divides any term in this sequence.
LINKS
Jon E. Schoenfield, Table of n, a(n) for n = 1..10000
MATHEMATICA
Select[Range[100]^3 + 2, PrimeOmega[#] == 2 &] (* Alonso del Arte, Jun 20 2015 *)
PROG
(Magma) IsSP:=func<n|&+[d[2]:d in Factorization(n)]eq 2>; [r:n in [1..1000]|IsSP(r) where r is 2+n^3];
(Perl) use ntheory ":all"; my @sp = grep { scalar(factor($_))==2 } map { $_**3+2 } 1..100; say "@sp"; # Dana Jacobsen, Sep 07 2015
(PARI) is(n)=bigomega(n^3 + 2)==2 \\ Anders Hellström, Sep 07 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Morris Neene, Jun 20 2015
STATUS
approved