Factorial: Difference between revisions

From testwiki
Jump to navigation Jump to search
imported>ClueBot NG
m Reverting possible vandalism by 49.187.8.123 to version by XOR'easter. Report False Positive? Thanks, ClueBot NG. (4377765) (Bot)
 
(No difference)

Latest revision as of 10:35, 22 February 2025

Template:Short description Template:Use mdy dates Template:Other uses Template:Good article

Selected factorials; values in scientific notation are rounded
n n!
0 1
1 1
2 2
3 6
4 24
5 120
6 720
7 Template:Val
8 Template:Val
9 Template:Val
10 Template:Val
11 Template:Val
12 Template:Val
13 Template:Val
14 Template:Val
15 Template:Val
16 Template:Val
17 Template:Val
18 Template:Val
19 Template:Val
20 Template:Val
25 Template:Val
50 Template:Val
70 Template:Val
100 Template:Val
450 Template:Val
Template:Val Template:Val
Template:Val Template:Val
Template:Val Template:Val
Template:Val Template:Val
Template:Val Template:Val
Template:Val Template:Val
Template:Val Template:Val
[[googol|Template:Val]] 10Template:Val

In mathematics, the factorial of a non-negative Template:Nowrap denoted Template:Nowrap is the product of all positive integers less than or equal Template:Nowrap The factorial Template:Nowrap also equals the product of n with the next smaller factorial: n!=n×(n1)×(n2)×(n3)××3×2×1=n×(n1)! For example, 5!=5×4!=5×4×3×2×1=120. The value of 0! is 1, according to the convention for an empty product.[1]

Factorials have been discovered in several ancient cultures, notably in Indian mathematics in the canonical works of Jain literature, and by Jewish mystics in the Talmudic book Sefer Yetzirah. The factorial operation is encountered in many areas of mathematics, notably in combinatorics, where its most basic use counts the possible distinct sequences – the permutations – of n distinct objects: there Template:Nowrap In mathematical analysis, factorials are used in power series for the exponential function and other functions, and they also have applications in algebra, number theory, probability theory, and computer science.

Much of the mathematics of the factorial function was developed beginning in the late 18th and early 19th centuries. Stirling's approximation provides an accurate approximation to the factorial of large numbers, showing that it grows more quickly than exponential growth. Legendre's formula describes the exponents of the prime numbers in a prime factorization of the factorials, and can be used to count the trailing zeros of the factorials. Daniel Bernoulli and Leonhard Euler interpolated the factorial function to a continuous function of complex numbers, except at the negative integers, the (offset) gamma function.

Many other notable functions and number sequences are closely related to the factorials, including the binomial coefficients, double factorials, falling factorials, primorials, and subfactorials. Implementations of the factorial function are commonly used as an example of different computer programming styles, and are included in scientific calculators and scientific computing software libraries. Although directly computing large factorials using the product formula or recurrence is not efficient, faster algorithms are known, matching to within a constant factor the time for fast multiplication algorithms for numbers with the same number of digits.

History

The concept of factorials has arisen independently in many cultures:

  • In Indian mathematics, one of the earliest known descriptions of factorials comes from the Anuyogadvāra-sūtra,[2] one of the canonical works of Jain literature, which has been assigned dates varying from 300 BCE to 400 CE.[3] It separates out the sorted and reversed order of a set of items from the other ("mixed") orders, evaluating the number of mixed orders by subtracting two from the usual product formula for the factorial. The product rule for permutations was also described by 6th-century CE Jain monk Jinabhadra.[2] Hindu scholars have been using factorial formulas since at least 1150, when Bhāskara II mentioned factorials in his work Līlāvatī, in connection with a problem of how many ways Vishnu could hold his four characteristic objects (a conch shell, discus, mace, and lotus flower) in his four hands, and a similar problem for a ten-handed god.[4]
  • In the mathematics of the Middle East, the Hebrew mystic book of creation Sefer Yetzirah, from the Talmudic period (200 to 500 CE), lists factorials up to 7! as part of an investigation into the number of words that can be formed from the Hebrew alphabet.[5][6] Factorials were also studied for similar reasons by 8th-century Arab grammarian Al-Khalil ibn Ahmad al-Farahidi.[5] Arab mathematician Ibn al-Haytham (also known as Alhazen, c. 965 – c. 1040) was the first to formulate Wilson's theorem connecting the factorials with the prime numbers.[7]
  • In Europe, although Greek mathematics included some combinatorics, and Plato famously used 5,040 (a factorial) as the population of an ideal community, in part because of its divisibility properties,[8] there is no direct evidence of ancient Greek study of factorials. Instead, the first work on factorials in Europe was by Jewish scholars such as Shabbethai Donnolo, explicating the Sefer Yetzirah passage.[9] In 1677, British author Fabian Stedman described the application of factorials to change ringing, a musical art involving the ringing of several tuned bells.[10][11]

From the late 15th century onward, factorials became the subject of study by Western mathematicians. In a 1494 treatise, Italian mathematician Luca Pacioli calculated factorials up to 11!, in connection with a problem of dining table arrangements.[12] Christopher Clavius discussed factorials in a 1603 commentary on the work of Johannes de Sacrobosco, and in the 1640s, French polymath Marin Mersenne published large (but not entirely correct) tables of factorials, up to 64!, based on the work of Clavius.Template:Sfn The power series for the exponential function, with the reciprocals of factorials for its coefficients, was first formulated in 1676 by Isaac Newton in a letter to Gottfried Wilhelm Leibniz.[13] Other important works of early European mathematics on factorials include extensive coverage in a 1685 treatise by John Wallis, a study of their approximate values for large values of n by Abraham de Moivre in 1721, a 1729 letter from James Stirling to de Moivre stating what became known as Stirling's approximation, and work at the same time by Daniel Bernoulli and Leonhard Euler formulating the continuous extension of the factorial function to the gamma function.[14] Adrien-Marie Legendre included Legendre's formula, describing the exponents in the factorization of factorials into prime powers, in an 1808 text on number theory.[15]

The notation n! for factorials was introduced by the French mathematician Christian Kramp in 1808.[16] Many other notations have also been used. Another later notation |n_, in which the argument of the factorial was half-enclosed by the left and bottom sides of a box, was popular for some time in Britain and America but fell out of use, perhaps because it is difficult to typeset.[16] The word "factorial" (originally French: factorielle) was first used in 1800 by Louis François Antoine Arbogast,[17] in the first work on Faà di Bruno's formula,[18] but referring to a more general concept of products of arithmetic progressions. The "factors" that this name refers to are the terms of the product formula for the factorial.[19]

Definition

The factorial function of a positive integer n is defined by the product of all positive integers not greater than n[1] n!=123(n2)(n1)n. This may be written more concisely in product notation as[1] n!=i=1ni.

If this product formula is changed to keep all but the last term, it would define a product of the same form, for a smaller factorial. This leads to a recurrence relation, according to which each value of the factorial function can be obtained by multiplying the previous value Template:Nowrap n!=n(n1)!. For example, Template:Nowrap

Factorial of zero

The factorial Template:Nowrap Template:Nowrap or in symbols, Template:Nowrap There are several motivations for this definition:

  • For Template:Nowrap the definition of n! as a product involves the product of no numbers at all, and so is an example of the broader convention that the empty product, a product of no factors, is equal to the multiplicative identity.[20]
  • There is exactly one permutation of zero objects: with nothing to permute, the only rearrangement is to do nothing.[21]
  • This convention makes many identities in combinatorics valid for all valid choices of their parameters. For instance, the number of ways to choose all n elements from a set of n is (nn)=n!n!0!=1, a binomial coefficient identity that would only be valid Template:Nowrap
  • With Template:Nowrap the recurrence relation for the factorial remains valid Template:Nowrap Therefore, with this convention, a recursive computation of the factorial needs to have only the value for zero as a base case, simplifying the computation and avoiding the need for additional special cases.[22]
  • Setting 0!=1 allows for the compact expression of many formulae, such as the exponential function, as a power series: Template:Nowrap
  • This choice matches the gamma function Template:Nowrap and the gamma function must have this value to be a continuous function.[23]

Applications

The earliest uses of the factorial function involve counting permutations: there are n! different ways of arranging n distinct objects into a sequence.[24] Factorials appear more broadly in many formulas in combinatorics, to account for different orderings of objects. For instance the binomial coefficients (nk) count the Template:Nowrap combinations (subsets of Template:Nowrap from a set with Template:Nowrap and can be computed from factorials using the formulaTemplate:Sfn (nk)=n!k!(nk)!. The Stirling numbers of the first kind sum to the factorials, and count the permutations Template:Nowrap grouped into subsets with the same numbers of cycles.[25] Another combinatorial application is in counting derangements, permutations that do not leave any element in its original position; the number of derangements of n items is the nearest integer Template:Nowrap

In algebra, the factorials arise through the binomial theorem, which uses binomial coefficients to expand powers of sums.Template:Sfn They also occur in the coefficients used to relate certain families of polynomials to each other, for instance in Newton's identities for symmetric polynomials.[26] Their use in counting permutations can also be restated algebraically: the factorials are the orders of finite symmetric groups.[27] In calculus, factorials occur in Faà di Bruno's formula for chaining higher derivatives.[18] In mathematical analysis, factorials frequently appear in the denominators of power series, most notably in the series for the exponential function,[13] ex=1+x1+x22+x36+=i=0xii!, and in the coefficients of other Taylor series (in particular those of the trigonometric and hyperbolic functions), where they cancel factors of n! coming from the Template:Nowrap Template:Nowrap This usage of factorials in power series connects back to analytic combinatorics through the exponential generating function, which for a combinatorial class with ni elements of Template:Nowrap is defined as the power series[28] i=0xinii!.

In number theory, the most salient property of factorials is the divisibility of n! by all positive integers up Template:Nowrap described more precisely for prime factors by Legendre's formula. It follows that arbitrarily large prime numbers can be found as the prime factors of the numbers n!±1, leading to a proof of Euclid's theorem that the number of primes is infinite.[29] When n!±1 is itself prime it is called a factorial prime;[30] relatedly, Brocard's problem, also posed by Srinivasa Ramanujan, concerns the existence of square numbers of the form Template:Nowrap In contrast, the numbers n!+2,n!+3,n!+n must all be composite, proving the existence of arbitrarily large prime gaps.[31] An elementary proof of Bertrand's postulate on the existence of a prime in any interval of the Template:Nowrap one of the first results of Paul Erdős, was based on the divisibility properties of factorials.[32][33] The factorial number system is a mixed radix notation for numbers in which the place values of each digit are factorials.[34]

Factorials are used extensively in probability theory, for instance in the Poisson distribution[35] and in the probabilities of random permutations.Template:Sfn In computer science, beyond appearing in the analysis of brute-force searches over permutations,[36] factorials arise in the lower bound of log2n!=nlog2nO(n) on the number of comparisons needed to comparison sort a set of n items,[37] and in the analysis of chained hash tables, where the distribution of keys per cell can be accurately approximated by a Poisson distribution.[38] Moreover, factorials naturally appear in formulae from quantum and statistical physics, where one often considers all the possible permutations of a set of particles. In statistical mechanics, calculations of entropy such as Boltzmann's entropy formula or the Sackur–Tetrode equation must correct the count of microstates by dividing by the factorials of the numbers of each type of indistinguishable particle to avoid the Gibbs paradox. Quantum physics provides the underlying reason for why these corrections are necessary.[39]

Properties

Growth and approximation

Comparison of the factorial, Stirling's approximation, and the simpler approximation Template:Nowrap on a doubly logarithmic scale
Relative error in a truncated Stirling series vs. number of terms

Template:Main

As a function Template:Nowrap the factorial has faster than exponential growth, but grows more slowly than a double exponential function.[40] Its growth rate is similar Template:Nowrap but slower by an exponential factor. One way of approaching this result is by taking the natural logarithm of the factorial, which turns its product formula into a sum, and then estimating the sum by an integral: lnn!=x=1nlnx1nlnxdx=nlnnn+1. Exponentiating the result (and ignoring the negligible +1 term) approximates n! as Template:Nowrap More carefully bounding the sum both above and below by an integral, using the trapezoid rule, shows that this estimate needs a correction factor proportional Template:Nowrap The constant of proportionality for this correction can be found from the Wallis product, which expresses π as a limiting ratio of factorials and powers of two. The result of these corrections is Stirling's approximation:[41] n!2πn(ne)n. Here, the symbol means that, as n goes to infinity, the ratio between the left and right sides approaches one in the limit. Stirling's formula provides the first term in an asymptotic series that becomes even more accurate when taken to greater numbers of terms:[42] n!2πn(ne)n(1+112n+1288n213951840n35712488320n4+). An alternative version uses only odd exponents in the correction terms:[42] n!2πn(ne)nexp(112n1360n3+11260n511680n7+). Many other variations of these formulas have also been developed, by Srinivasa Ramanujan, Bill Gosper, and others.[42]

The binary logarithm of the factorial, used to analyze comparison sorting, can be very accurately estimated using Stirling's approximation. In the formula below, the O(1) term invokes big O notation.[37] log2n!=nlog2n(log2e)n+12log2n+O(1).

Divisibility and digits

Template:Main The product formula for the factorial implies that n! is divisible by all prime numbers that are at Template:Nowrap and by no larger prime numbers.[43] More precise information about its divisibility is given by Legendre's formula, which gives the exponent of each prime p in the prime factorization of n! as[44][45] i=1npi=nsp(n)p1. Here sp(n) denotes the sum of the Template:Nowrap digits Template:Nowrap and the exponent given by this formula can also be interpreted in advanced mathematics as the [[p-adic valuation|Template:Mvar-adic valuation]] of the factorial.[45] Applying Legendre's formula to the product formula for binomial coefficients produces Kummer's theorem, a similar result on the exponent of each prime in the factorization of a binomial coefficient.[46] Grouping the prime factors of the factorial into prime powers in different ways produces the multiplicative partitions of factorials.[47]

The special case of Legendre's formula for p=5 gives the number of trailing zeros in the decimal representation of the factorials.[48] According to this formula, the number of zeros can be obtained by subtracting the base-5 digits of n from n, and dividing the result by four.[49] Legendre's formula implies that the exponent of the prime p=2 is always larger than the exponent for Template:Nowrap so each factor of five can be paired with a factor of two to produce one of these trailing zeros.[48] The leading digits of the factorials are distributed according to Benford's law.[50] Every sequence of digits, in any base, is the sequence of initial digits of some factorial number in that base.[51]

Another result on divisibility of factorials, Wilson's theorem, states that (n1)!+1 is divisible by n if and only if n is a prime number.[43] For any given Template:Nowrap the Kempner function of x is given by the smallest n for which x divides Template:Nowrap For almost all numbers (all but a subset of exceptions with asymptotic density zero), it coincides with the largest prime factor Template:Nowrap

The product of two factorials, Template:Nowrap always evenly divides Template:Nowrap There are infinitely many factorials that equal the product of other factorials: if n is itself any product of factorials, then n! equals that same product multiplied by one more factorial, Template:Nowrap The only known examples of factorials that are products of other factorials but are not of this "trivial" form are Template:Nowrap Template:Nowrap and Template:Nowrap It would follow from the [[abc conjecture|Template:Mvar conjecture]] that there are only finitely many nontrivial examples.[52]

The greatest common divisor of the values of a primitive polynomial of degree d over the integers evenly divides Template:Nowrap

Continuous interpolation and non-integer generalization

The gamma function (shifted one unit left to match the factorials) continuously interpolates the factorial to non-integer values
Absolute values of the complex gamma function, showing poles at non-positive integers

Template:Main There are infinitely many ways to extend the factorials to a continuous function.[53] The most widely used of these[54] uses the gamma function, which can be defined for positive real numbers as the integral Γ(z)=0xz1exdx. The resulting function is related to the factorial of a non-negative integer n by the equation n!=Γ(n+1), which can be used as a definition of the factorial for non-integer arguments. At all values x for which both Γ(x) and Γ(x1) are defined, the gamma function obeys the functional equation Γ(n)=(n1)Γ(n1), generalizing the recurrence relation for the factorials.[53]

The same integral converges more generally for any complex number z whose real part is positive. It can be extended to the non-integer points in the rest of the complex plane by solving for Euler's reflection formula Γ(z)Γ(1z)=πsinπz. However, this formula cannot be used at integers because, for them, the sinπz term would produce a division by zero. The result of this extension process is an analytic function, the analytic continuation of the integral formula for the gamma function. It has a nonzero value at all complex numbers, except for the non-positive integers where it has simple poles. Correspondingly, this provides a definition for the factorial at all complex numbers other than the negative integers.[54] One property of the gamma function, distinguishing it from other continuous interpolations of the factorials, is given by the Bohr–Mollerup theorem, which states that the gamma function (offset by one) is the only log-convex function on the positive real numbers that interpolates the factorials and obeys the same functional equation. A related uniqueness theorem of Helmut Wielandt states that the complex gamma function and its scalar multiples are the only holomorphic functions on the positive complex half-plane that obey the functional equation and remain bounded for complex numbers with real part between 1 and 2.[55]

Other complex functions that interpolate the factorial values include Hadamard's gamma function, which is an entire function over all the complex numbers, including the non-positive integers.[56][57] In the [[p-adic number|Template:Mvar-adic number]]s, it is not possible to continuously interpolate the factorial function directly, because the factorials of large integers (a dense subset of the Template:Mvar-adics) converge to zero according to Legendre's formula, forcing any continuous function that is close to their values to be zero everywhere. Instead, the [[p-adic gamma function|Template:Mvar-adic gamma function]] provides a continuous interpolation of a modified form of the factorial, omitting the factors in the factorial that are divisible by Template:Mvar.[58]

The digamma function is the logarithmic derivative of the gamma function. Just as the gamma function provides a continuous interpolation of the factorials, offset by one, the digamma function provides a continuous interpolation of the harmonic numbers, offset by the Euler–Mascheroni constant.[59]

Computation

TI SR-50A, a 1975 calculator with a factorial key (third row, center right)

The factorial function is a common feature in scientific calculators.[60] It is also included in scientific programming libraries such as the Python mathematical functions module[61] and the Boost C++ library.[62] If efficiency is not a concern, computing factorials is trivial: just successively multiply a variable initialized Template:Nowrap by the integers up Template:Nowrap The simplicity of this computation makes it a common example in the use of different computer programming styles and methods.[63]

The computation of n! can be expressed in pseudocode using iteration[64] as

define factorial(n):
  f := 1
  for i := 1, 2, 3, ..., n:
    f := f * i
  return f

or using recursion[65] based on its recurrence relation as

define factorial(n):
  if (n = 0) return 1
  return n * factorial(n − 1)

Other methods suitable for its computation include memoization,[66] dynamic programming,[67] and functional programming.[68] The computational complexity of these algorithms may be analyzed using the unit-cost random-access machine model of computation, in which each arithmetic operation takes constant time and each number uses a constant amount of storage space. In this model, these methods can compute n! in time Template:Nowrap and the iterative version uses space Template:Nowrap Unless optimized for tail recursion, the recursive version takes linear space to store its call stack.[69] However, this model of computation is only suitable when n is small enough to allow n! to fit into a machine word.[70] The values 12! and 20! are the largest factorials that can be stored in, respectively, the 32-bit[71] and 64-bit integers.[72] Floating point can represent larger factorials, but approximately rather than exactly, and will still overflow for factorials larger than Template:Nowrap

The exact computation of larger factorials involves arbitrary-precision arithmetic, because of fast growth and integer overflow. Time of computation can be analyzed as a function of the number of digits or bits in the result.[72] By Stirling's formula, n! has b=O(nlogn) bits.[73] The Schönhage–Strassen algorithm can produce a Template:Nowrap product in time Template:Nowrap and faster multiplication algorithms taking time O(blogb) are known.[74] However, computing the factorial involves repeated products, rather than a single multiplication, so these time bounds do not apply directly. In this setting, computing n! by multiplying the numbers from 1 Template:Nowrap in sequence is inefficient, because it involves n multiplications, a constant fraction of which take time O(nlog2n) each, giving total time Template:Nowrap A better approach is to perform the multiplications as a divide-and-conquer algorithm that multiplies a sequence of i numbers by splitting it into two subsequences of i/2 numbers, multiplies each subsequence, and combines the results with one last multiplication. This approach to the factorial takes total time Template:Nowrap one logarithm comes from the number of bits in the factorial, a second comes from the multiplication algorithm, and a third comes from the divide and conquer.[75]

Even better efficiency is obtained by computing Template:Math from its prime factorization, based on the principle that exponentiation by squaring is faster than expanding an exponent into a product.[73][76] An algorithm for this by Arnold Schönhage begins by finding the list of the primes up Template:Nowrap for instance using the sieve of Eratosthenes, and uses Legendre's formula to compute the exponent for each prime. Then it computes the product of the prime powers with these exponents, using a recursive algorithm, as follows:

  • Use divide and conquer to compute the product of the primes whose exponents are odd
  • Divide all of the exponents by two (rounding down to an integer), recursively compute the product of the prime powers with these smaller exponents, and square the result
  • Multiply together the results of the two previous steps

The product of all primes up to n is an O(n)-bit number, by the prime number theorem, so the time for the first step is O(nlog2n), with one logarithm coming from the divide and conquer and another coming from the multiplication algorithm. In the recursive calls to the algorithm, the prime number theorem can again be invoked to prove that the numbers of bits in the corresponding products decrease by a constant factor at each level of recursion, so the total time for these steps at all levels of recursion adds in a geometric series Template:Nowrap The time for the squaring in the second step and the multiplication in the third step are again Template:Nowrap because each is a single multiplication of a number with O(nlogn) bits. Again, at each level of recursion the numbers involved have a constant fraction as many bits (because otherwise repeatedly squaring them would produce too large a final result) so again the amounts of time for these steps in the recursive calls add in a geometric series Template:Nowrap Consequentially, the whole algorithm takes Template:Nowrap proportional to a single multiplication with the same number of bits in its result.[76]

Template:Main Several other integer sequences are similar to or related to the factorials:

Alternating factorial
The alternating factorial is the absolute value of the alternating sum of the first n factorials, Template:Nowrap These have mainly been studied in connection with their primality; only finitely many of them can be prime, but a complete list of primes of this form is not known.[77]
Bhargava factorial
The Bhargava factorials are a family of integer sequences defined by Manjul Bhargava with similar number-theoretic properties to the factorials, including the factorials themselves as a special case.[78]
Double factorial
The product of all the odd integers up to some odd positive Template:Nowrap is called the double factorial Template:Nowrap and denoted by Template:Nowrap That is, (2k1)!!=i=1k(2i1)=(2k)!2kk!. For example, Template:Nowrap. Double factorials are used in trigonometric integrals,[79] in expressions for the gamma function at half-integers and the volumes of hyperspheres,[80] and in counting binary trees and perfect matchings.[81][82]
Exponential factorial
Just as triangular numbers sum the numbers from 1 Template:Nowrap and factorials take their product, the exponential factorial exponentiates. The exponential factorial is defined recursively Template:Nowrap For example, the exponential factorial of 4 is 4321=262144. These numbers grow much more quickly than regular factorials.[83]
Falling factorial
The notations (x)n or xn_ are sometimes used to represent the product of the greatest n integers counting up to and Template:Nowrap equal to Template:Nowrap This is also known as a falling factorial or backward factorial, and the (x)n notation is a Pochhammer symbol.Template:Sfn Falling factorials count the number of different sequences of n distinct items that can be drawn from a universe of x items.[84] They occur as coefficients in the higher derivatives of polynomials,[85] and in the factorial moments of random variables.[86]
Hyperfactorials
The hyperfactorial of n is the product 1122nn. These numbers form the discriminants of Hermite polynomials.[87] They can be continuously interpolated by the K-function,[88] and obey analogues to Stirling's formula[89] and Wilson's theorem.[90]
Jordan–Pólya numbers
The Jordan–Pólya numbers are the products of factorials, allowing repetitions. Every tree has a symmetry group whose number of symmetries is a Jordan–Pólya number, and every Jordan–Pólya number counts the symmetries of some tree.[91]
Primorial
The primorial n# is the product of prime numbers less than or equal Template:Nowrap this construction gives them some similar divisibility properties to factorials,[30] but unlike factorials they are squarefree.[92] As with the factorial primes Template:Nowrap researchers have studied primorial primes Template:Nowrap
Subfactorial
The subfactorial yields the number of derangements of a set of n objects. It is sometimes denoted !n, and equals the closest integer Template:Nowrap
Superfactorial
The superfactorial of n is the product of the first n factorials. The superfactorials are continuously interpolated by the Barnes G-function.[93]

References

Template:Reflist

Template:Portal Template:Commons category

Template:Calculus topics Template:Series (mathematics) Template:Authority control

  1. 1.0 1.1 1.2 Template:Cite book
  2. 2.0 2.1 Template:Cite book. Revised by K. S. Shukla from a paper in Indian Journal of History of Science 27 (3): 231–249, 1992, Template:MR. See p. 363.
  3. Template:Cite journal. See discussion of dating on p. 211.
  4. Template:Cite journal
  5. 5.0 5.1 Template:Cite journal
  6. Sefer Yetzirah at Wikisource, Chapter IV, Section 4
  7. Template:Cite journal
  8. Template:Cite journal
  9. Template:Cite book See p. 111.
  10. Template:Cite journal
  11. Template:Cite book The publisher is given as "W.S." who may have been William Smith, possibly acting as agent for the Society of College Youths, to which society the "Dedicatory" is addressed.
  12. Template:Cite book See p. 126.
  13. 13.0 13.1 Template:Cite book
  14. Template:Cite journal
  15. Template:Cite book See in particular p. 263.
  16. 16.0 16.1 Template:Cite book
  17. Template:Cite web
  18. 18.0 18.1 Template:Cite journal
  19. Template:Cite book
  20. Template:Cite book
  21. Template:Cite book
  22. Template:Cite conference
  23. Template:Cite book
  24. Template:Cite book
  25. Template:Cite book
  26. Template:Cite journal
  27. Template:Cite book
  28. Template:Cite book
  29. Template:Cite book
  30. 30.0 30.1 Template:Cite journal
  31. Template:Cite book
  32. Template:Cite journal
  33. Template:Cite book
  34. Template:Cite journal
  35. Template:Cite book
  36. Template:Cite book
  37. 37.0 37.1 Template:Cite book
  38. Template:Cite book
  39. Template:Cite book
  40. Template:Cite book
  41. Template:Cite book
  42. 42.0 42.1 42.2 Template:Cite journal
  43. 43.0 43.1 Template:Cite book
  44. Template:Harvnb. "1.4: Legendre's formula". pp. 6–7.
  45. 45.0 45.1 Template:Cite book
  46. Template:Cite book
  47. Template:Cite journal
  48. 48.0 48.1 Template:Cite book
  49. Template:Cite OEIS
  50. Template:Cite journal
  51. Template:Cite journal
  52. Template:Cite journal
  53. 53.0 53.1 Template:Cite journal
  54. 54.0 54.1 Template:Cite journal
  55. Template:Cite journal
  56. Template:Cite book
  57. Template:Cite journal
  58. Template:Harvnb. "7.1: The gamma function Template:Nowrap pp. 366–385.
  59. Template:Cite journal
  60. Template:Cite book
  61. Template:Cite web
  62. Template:Cite web
  63. Template:Cite book
  64. Template:Cite book
  65. Template:Cite book
  66. Template:Cite book
  67. Template:Cite book
  68. Template:Cite book
  69. Template:Cite book See in particular p. 34.
  70. Template:Cite journal
  71. Cite error: Invalid <ref> tag; no text was provided for refs named fateman
  72. 72.0 72.1 Template:Cite journal
  73. 73.0 73.1 Template:Cite journal
  74. Template:Cite journal
  75. Template:Cite book See also "34.1.5: Performance", pp. 655–656.
  76. 76.0 76.1 Template:Cite book
  77. Template:Harvnb. "B43: Alternating sums of factorials". pp. 152–153.
  78. Cite error: Invalid <ref> tag; no text was provided for refs named bhargava
  79. Template:Cite journal
  80. Template:Cite journal.
  81. Cite error: Invalid <ref> tag; no text was provided for refs named callan
  82. Template:Cite journal.
  83. Template:Cite journal
  84. Template:Cite book
  85. Template:Cite book
  86. Template:Cite book
  87. Template:Cite OEIS
  88. Template:Cite journal
  89. Template:Cite journal
  90. Template:Cite journal
  91. Template:Cite OEIS
  92. Template:Cite book
  93. Template:Cite journal