A325226 Number of prime factors of n that are less than the largest, counted with multiplicity.
0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0, 1, 1, 0, 0, 1, 0, 2, 1, 1, 0, 3, 0, 1, 0, 2, 0, 2, 0, 0, 1, 1, 1, 2, 0, 1, 1, 3, 0, 2, 0, 2, 2, 1, 0, 4, 0, 1, 1, 2, 0, 1, 1, 3, 1, 1, 0, 3, 0, 1, 2, 0, 1, 2, 0, 2, 1, 2, 0, 3, 0, 1, 1, 2, 1, 2, 0, 4, 0, 1, 0, 3, 1, 1, 1, 3, 0, 3, 1, 2, 1, 1, 1, 5, 0, 1, 2, 2, 0, 2, 0, 3, 2
Offset: 1
Keywords
Examples
The prime factors of 300 are {2,2,3,5,5} of which {2,2,3} are less than the largest, so a(300) = 3.
Links
- Antti Karttunen, Table of n, a(n) for n = 1..100000
Crossrefs
Programs
-
Mathematica
Table[PrimeOmega[n/Power@@FactorInteger[n][[-1]]],{n,100}]
-
PARI
A071178(n) = if(1==n, 0, factor(n)[omega(n), 2]); A325226(n) = (bigomega(n) - A071178(n)); \\ Antti Karttunen, Nov 17 2019
Formula
Extensions
Data section extended up to term a(105) by Antti Karttunen, Nov 17 2019