OFFSET
1,2
COMMENTS
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
Eric Weisstein's World of Mathematics, Prime Factorization.
EXAMPLE
k = 12: A008480(12) = #{3*2*2, 2*3*2, 2*2*3} = 3, therefore 12 occurs three times.
MATHEMATICA
Table[n, {n, 1, 40}, {Multinomial @@ FactorInteger[n][[;; , 2]]}] // Flatten (* Amiram Eldar, May 13 2025 *)
PROG
(Haskell)
a099848 n = a099848_list !! (n-1)
a099848_list = concat $ zipWith replicate a008480_list [1..]
-- Reinhard Zumkeller, Nov 19 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Reinhard Zumkeller, Oct 27 2004
STATUS
approved
