OFFSET
1,12
COMMENTS
LINKS
Robert Israel, Table of n, a(n) for n = 1..10000
FORMULA
EXAMPLE
The numbers k with the same prime divisors 2 and 3 are (6, 12, 18, 24, 30, 36, 42, 48, 54, 60, ...) and those for which A001222(k) = 3 are (12, 18), so a(12) = a(18) = 2.
The numbers k with the same prime divisor 5 are (5, 25, 125, 625, 3125, ...) and those for which A001222(k) = 4 are (625), so a(625) = 1.
MAPLE
seq(binomial(numtheory:-bigomega(n)-1, nops(numtheory:-factorset(n))-1) , n=1..200); # Robert Israel, Nov 27 2015
MATHEMATICA
Table[Binomial[PrimeOmega@ n - 1, PrimeNu@ n - 1], {n, 100}] (* Michael De Vlieger, Nov 28 2015 *)
PROG
(PARI) a(n) = if(n==1, 1, binomial(bigomega(n)-1, omega(n)-1)) \\ Altug Alkan, Dec 04 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Gionata Neri, Nov 26 2015
STATUS
approved