|
|
A157672
|
|
Number of unordered factorizations of n! into two distinct proper factors.
|
|
3
|
|
|
0, 1, 3, 7, 14, 29, 47, 79, 134, 269, 395, 791, 1295, 2015, 2687, 5375, 7343, 14687, 20519, 30399, 47999, 95999, 121439, 170015, 266111, 338687, 458639, 917279, 1166399, 2332799, 2764799, 3932159, 6082559, 8211455, 9797759, 19595519
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
2,3
|
|
LINKS
|
|
|
FORMULA
|
|
|
MATHEMATICA
|
Table[Times@@(Last/@FactorInteger[ n! ]+1)/2-1, {n, 2, 40}] (* Ray Chandler, Mar 07 2009 *)
|
|
PROG
|
(PARI) for(k=2, 40, print1(numdiv(k!)/2-1, ", "))
(Python)
from math import prod
from collections import Counter
from sympy import factorint
def A157672(n): return prod(e+1 for e in sum((Counter(factorint(i)) for i in range(2, n+1)), start=Counter()).values())//2-1 # Chai Wah Wu, Jun 25 2022
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|