Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
A177223
Numbers k that are the products of two distinct primes such that 2*k+1, 4*k+3 and 8*k+7 are also products of two distinct primes.
0
145, 203, 291, 298, 407, 497, 649, 707, 758, 815, 899, 926, 959, 995, 1079, 1094, 1139, 1142, 1157, 1313, 1403, 1415, 1461, 1497, 1538, 1639, 1658, 1691, 1857, 1934, 1945, 1991, 2123, 2159, 2217, 2234, 2315, 2603, 2629, 2807, 2991, 3215, 3254, 3279, 3305
OFFSET
1,1
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
KEYWORD
nonn
AUTHOR
STATUS
approved