OFFSET
1,1
COMMENTS
A number k is the product of two distinct primes iff k = p*q where p and q are distinct primes. - N. J. A. Sloane, Jan 11 2025
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..1000
EXAMPLE
145 is a term because 145 = 5*29, 2*145 + 1 = 291 = 3*97, 4*145 + 1 = 583 = 11*53, and 8*145 + 1 = 1167 = 3*389.
MATHEMATICA
f[n_]:=Last/@FactorInteger[n]=={1, 1}; lst={}; Do[If[f[n]&&f[2*n+1]&&f[4*n+3]&&f[8*n+7], AppendTo[lst, n]], {n, 0, 2*7!}]; lst
tdpQ[n_]:=With[{c={n, 2n+1, 4n+3, 8n+7}}, PrimeNu[c]==PrimeOmega[c]=={2, 2, 2, 2}]; Select[Range[3500], tdpQ] (* Harvey P. Dale, Jan 11 2025 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Joseph Stephan Orlovsky, May 05 2010
STATUS
approved