A177222 Numbers k that are the products of two distinct primes, such that 2*k + 1 and 4*k + 3 are also products of two distinct primes.
38, 46, 106, 129, 133, 145, 201, 203, 235, 291, 298, 334, 335, 381, 407, 417, 458, 489, 497, 538, 579, 583, 597, 623, 626, 649, 685, 689, 694, 707, 758, 767, 781, 815, 898, 899, 921, 926, 959, 995, 1073, 1079, 1082, 1094, 1099, 1139, 1142, 1157, 1214, 1226
Offset: 1
Keywords
Examples
38 is a term because 38 = 2*19, 2*38 + 1 = 77 = 7*11, and 4*38 + 1 = 155 = 5*31.
Crossrefs
Programs
-
Mathematica
f[n_] := Last/@FactorInteger[n] == {1,1}; lst = {}; Do[If[f[n] && f[2*n+1] && f[4*n+3], AppendTo[lst, n]], {n, 1000}]; lst