A360616 Half the number of prime factors of n (counted with multiplicity, A001222), rounded down.
0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 2, 0, 1, 0, 1, 1, 1, 0, 2, 1, 1, 1, 1, 0, 1, 0, 2, 1, 1, 1, 2, 0, 1, 1, 2, 0, 1, 0, 1, 1, 1, 0, 2, 1, 1, 1, 1, 0, 2, 1, 2, 1, 1, 0, 2, 0, 1, 1, 3, 1, 1, 0, 1, 1, 1, 0, 2, 0, 1, 1, 1, 1, 1, 0, 2, 2, 1, 0, 2, 1, 1, 1
Offset: 1
Keywords
Examples
The prime indices of 378 are {1,2,2,2,4}, so a(378) = floor(5/2) = 2.
Crossrefs
Programs
-
Mathematica
Table[Floor[PrimeOmega[n]/2],{n,100}]