OFFSET
1,1
COMMENTS
Semiprimes of the form (2^k - (-1)^k)/3.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..49
Eric Weisstein's World of Mathematics, Jacobsthal Number.
Eric Weisstein's World of Mathematics, Semiprime.
FORMULA
EXAMPLE
a(1) = 21 because 21 = 3*7 = (2^6 - (-1)^6)/3, so 21 is semiprime as well as a Jacobsthal number;
a(2) = 85 because 85 = 5*17 = (2^8 - (-1)^8)/3;
a(3) = 341 because 341 = 11*31 = (2^10 - (-1)^10)/3, etc.
MATHEMATICA
Select[Table[(2^k - (-1)^k)/3, {k, 100}], PrimeOmega[#1] == 2 & ]
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Oct 10 2016
STATUS
approved