A329589 Odd integers which are not a positive power of a single prime and have at least one prime divisor 1 (mod 4).
15, 35, 39, 45, 51, 55, 65, 75, 85, 87, 91, 95, 105, 111, 115, 117, 119, 123, 135, 143, 145, 153, 155, 159, 165, 175, 183, 185, 187, 195, 203, 205, 215, 219, 221, 225, 235, 245, 247, 255, 259, 261, 265, 267, 273, 275, 285, 287, 291, 295, 299, 303, 305, 315, 319, 323, 325, 327, 333, 335, 339, 345
Offset: 1
Programs
-
Mathematica
Select[Range[3, 235, 2], And[! PrimePowerQ@ #, AnyTrue[FactorInteger[#][[All, 1]], Mod[#, 4] == 1 &]] &] (* Michael De Vlieger, Dec 14 2019 *)
-
PARI
isok(k) = if ((k%2) && !isprimepower(k), my(f=factor(k)); sum(i=1, #f~, (f[i,1] % 4) == 1) >= 1); \\ Michel Marcus, Sep 18 2023
Formula
See the name.
Extensions
More terms from Michel Marcus, Sep 18 2023
Comments