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.

A056172 Number of non-unitary prime divisors of n!.

Original entry on oeis.org

0, 0, 0, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 9, 10, 10, 10, 10, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 11, 12, 12, 12, 12, 12, 12, 12, 12, 13, 13, 13, 13, 14, 14, 14
Offset: 1

Views

Author

Labos Elemer, Jul 27 2000

Keywords

Comments

A non-unitary prime divisor for n! cannot exceed n/2.

Examples

			10! = 2^8 * 3^4 * 5^2 * 7. The non-unitary prime divisors are 2, 3, and 5 because their exponents exceed 1, so a(10) = 3.  The only unitary prime divisor of 10! is 7.
		

Crossrefs

Programs

Formula

a(n) = pi(n/2).
A prime divisor of x is non-unitary iff its exponent is at least 2 in the prime power factorization of x. In general, GCD(p, x/p) = 1 or p. Cases are counted when GCD(p, n/p) > 1.
a(n) = A000720(n) - A056171(n). - Robert G. Wilson v, Apr 09 2017
a(n) = A056170(n!). - Amiram Eldar, Jul 24 2024

Extensions

Example corrected by Jon E. Schoenfield, Sep 30 2013