A362618 Numbers whose prime factorization has either (1) odd length, or (2) equal middle parts.
2, 3, 4, 5, 7, 8, 9, 11, 12, 13, 16, 17, 18, 19, 20, 23, 24, 25, 27, 28, 29, 30, 31, 32, 37, 40, 41, 42, 43, 44, 45, 47, 48, 49, 50, 52, 53, 54, 56, 59, 61, 63, 64, 66, 67, 68, 70, 71, 72, 73, 75, 76, 78, 79, 80, 81, 83, 88, 89, 90, 92, 96, 97, 98, 99, 101
Offset: 1
Keywords
Examples
The prime factorization of 90 is 2*3*3*5, with middle parts (3,3), so 90 is in the sequence.
Programs
-
Mathematica
prifacs[n_]:=If[n==1,{},Flatten[ConstantArray@@@FactorInteger[n]]]; Select[Range[2,100],MemberQ[prifacs[#],Median[prifacs[#]]]&]
Comments