[go: up one dir, main page]

login
A189975
Numbers with prime factorization pqr^3.
8
120, 168, 264, 270, 280, 312, 378, 408, 440, 456, 520, 552, 594, 616, 680, 696, 702, 728, 744, 750, 760, 888, 918, 920, 945, 952, 984, 1026, 1032, 1064, 1128, 1144, 1160, 1240, 1242, 1272, 1288, 1416, 1464, 1480, 1485, 1496, 1566, 1608, 1624, 1640, 1672
OFFSET
1,1
MATHEMATICA
f[n_]:=Sort[Last/@FactorInteger[n]]=={1, 1, 3}; Select[Range[2000], f]
PROG
(PARI) list(lim)=my(v=List(), t); forprime(p=2, (lim\6)^(1/3), forprime(q=2, sqrt(lim\p^3), if(p==q, next); t=p^3*q; forprime(r=q+1, lim\t, if(p==r, next); listput(v, t*r)))); vecsort(Vec(v)) \\ Charles R Greathouse IV, Jul 19 2011
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved