A359360 Length times minimum part of the integer partition with Heinz number n. Least prime index of n times number of prime indices of n.
0, 1, 2, 2, 3, 2, 4, 3, 4, 2, 5, 3, 6, 2, 4, 4, 7, 3, 8, 3, 4, 2, 9, 4, 6, 2, 6, 3, 10, 3, 11, 5, 4, 2, 6, 4, 12, 2, 4, 4, 13, 3, 14, 3, 6, 2, 15, 5, 8, 3, 4, 3, 16, 4, 6, 4, 4, 2, 17, 4, 18, 2, 6, 6, 6, 3, 19, 3, 4, 3, 20, 5, 21, 2, 6, 3, 8, 3, 22, 5, 8, 2
Offset: 1
Keywords
Examples
The partition with Heinz number 7865 is (6,5,5,3), so a(7865) = 4*3 = 12.
Crossrefs
Programs
-
Mathematica
Table[PrimeOmega[n]*PrimePi[FactorInteger[n][[1,1]]],{n,100}]
-
PARI
a(n) = if (n==1, 0, my(f=factor(n)); bigomega(f)*primepi(f[1, 1])); \\ Michel Marcus, Dec 28 2022
Comments