encyclopegia.org

Kempner function

In number theory, the Kempner function S(n) is defined for a given positive integer n to be the smallest number s such that n divides the For example, the number 8 does not divide 1! , 2! , but does This function has a highly irregular growth rate: it grows linearly on the prime numbers but only grows sublogarithmically at the factorial numbers.

In number theory, the Kempner function S(n) is defined for a given positive integer n to be the smallest number s such that n divides the For example, the number 8 does not divide 1! , 2! , but does This function has a highly irregular growth rate: it grows linearly on the prime numbers but only grows sublogarithmically at the factorial numbers. ==History== This function was first considered by François Édouard Anatole Lucas in 1883, followed by Joseph Jean Baptiste Neuberg in 1887. In 1918, A. J. Kempner gave an algorithm for without trials. The Kempner function is also sometimes called the Smarandache function following Florentin Smarandache's rediscovery of the function ==Properties== Since n S(n) is always at A number n>4 is prime if and only That is, the numbers n for which S(n) is as large as possible relative to n are the primes. In the other direction, the numbers for which S(n) is as small as possible are the factorials: for S(n) is the smallest possible degree of a monic polynomial with integer coefficients, whose values over the integers are all divisible For instance, the fact that S(6)=3 means that there is a cubic polynomial whose values are all zero modulo 6, for instance the polynomial x(x-1)(x-2)=x^3-3x^2+2x, but that all quadratic or linear polynomials (with leading coefficient one) are nonzero modulo 6 at some integers. In one of the advanced problems in The American Mathematical Monthly, set in 1991 and solved in 1994, Paul Erdős pointed out that the function S(n) coincides with the largest prime factor of n for "almost all" n (in the sense that the asymptotic density of the set of exceptions is zero). ==Computational complexity== The Kempner function S(n) of an arbitrary number n is the maximum, over the prime powers p^e dividing n , of S(p^e) . When n is itself a prime power p^e , its Kempner function may be found in polynomial time by sequentially scanning the multiples of p until finding the first one whose factorial contains enough multiples The same algorithm can be extended to any n whose prime factorization is already known, by applying it separately to each prime power in the factorization and choosing the one that leads to the largest value. For a number of the form n=px , where p is prime and x , the Kempner function of n is p . It follows from this that computing the Kempner function of a semiprime (a product of two primes) is computationally equivalent to finding its prime factorization, believed to be a difficult problem. More generally, whenever n is composite, the greatest common divisor of S(n) will necessarily be a nontrivial divisor allowing n to be factored by repeated evaluations of the Kempner function. Therefore, computing the Kempner function can in general be no easier than factoring composite numbers. ==See also== Ruler function, a simpler integer function with an inconsistent growth rate ==References and notes==

References

No reference rows published for this article.

Cite this article

MLA

"Kempner function." encyclopegia.org, 2026, https://encyclopegia.org/wiki/kempner-function. Accessed 24 November 2026.

Chicago

"Kempner function." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/kempner-function.

APA

encyclopegia.org. (2026). Kempner function. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/kempner-function

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Doug Henderson (artist)

enwiki · references available

Para-Nitrophenylphosphate

enwiki · references available

Zimonić

enwiki · references available

Potrillo volcanic field

enwiki · references available

Art of the Kingdom of Benin

enwiki · references available

Methyl-MMDA-2

enwiki · references available

38th Combat Support Wing

enwiki · references available

Emma Crewe

enwiki · references available

Joe Ungerer

enwiki · references available

Copaifera langsdorffii

enwiki · references available

List of tallest buildings in Quebec City

enwiki · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1370496414 · 0.5 · snapshot enwiki-001370496414

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.