A258883 Primitive weird numbers (PWN) of the form 2^k*p*q*r with k > 0 and where p < q < r are odd primes.
4030, 5830, 45356, 91388, 243892, 254012, 338572, 343876, 388076, 1713592, 8812312, 9928792, 11339816, 11547352, 15126992, 17999992, 29581424, 38546576, 74899952, 85389368, 89283592, 95327216, 141659096, 146764264, 162079768, 173482552, 569494624, 632874016
Offset: 1
Keywords
Examples
a(1) = 4030 = 2*5*13*31. a(2) = 5830 = 2*5*11*53. a(3) = 45356 = 2^2*17*23*29.
Links
- M. F. Hasler, Table of n, a(n) for n = 1..121 (Using A002975(1..1073) calculated by _Robert G. Wilson v_.)
Programs
-
Mathematica
(* copy the terms from A002975, assign them to 'lst' and then *) Select[ lst, PrimeNu@# == 4 &] (* WARNING: this code selects PWN with 3 distinct odd prime factors but does not exclude that they occur with multiplicity > 1, which is forbidden by definition of this sequence. - M. F. Hasler, Jul 12 2016 *)
-
PARI
select(w->factor(w)[,2][^1]~==[1,1,1], A002975) \\ Assuming that A002975 is defined as set or vector. - M. F. Hasler, Jul 12 2016
Comments