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