cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A157672 Number of unordered factorizations of n! into two distinct proper factors.

This page as a plain text file.
%I A157672 #10 Jun 25 2022 21:53:54
%S A157672 0,1,3,7,14,29,47,79,134,269,395,791,1295,2015,2687,5375,7343,14687,
%T A157672 20519,30399,47999,95999,121439,170015,266111,338687,458639,917279,
%U A157672 1166399,2332799,2764799,3932159,6082559,8211455,9797759,19595519
%N A157672 Number of unordered factorizations of n! into two distinct proper factors.
%F A157672 For n > 1, a(n) = A027423(n)/2 - 1. - _Ray Chandler_, Mar 07 2009
%t A157672 Table[Times@@(Last/@FactorInteger[ n! ]+1)/2-1,{n,2,40}] (* _Ray Chandler_, Mar 07 2009 *)
%o A157672 (PARI) for(k=2,40,print1(numdiv(k!)/2-1,", "))
%o A157672 (Python)
%o A157672 from math import prod
%o A157672 from collections import Counter
%o A157672 from sympy import factorint
%o A157672 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
%Y A157672 Cf. A157612.
%K A157672 nonn
%O A157672 2,3
%A A157672 _Jaume Oliver Lafont_, Mar 04 2009, Mar 05 2009
%E A157672 Extended by _Ray Chandler_, Mar 07 2009
%E A157672 PARI program rewritten _Jaume Oliver Lafont_, Mar 09 2009