CACrown ArchivesThe cinema collection
Menu
Research dossier · General Reference

Porter's constant

constant term in the average number of iterations of Euclid’s algorithm for fixed 𝑛 and averaged over all choices of relatively prime integers 𝑚<𝑛

Cross-disciplinary reference desk with index cards, atlas, dictionary and catalogue
General referenceInterpretive dossier study · Crown Archives visual atlas
Record originEnglish Wikipedia
Text licenseCC BY-SA 4.0
Source revisionDec 29, 2025
Entity authorityQ30692563
Source-derived summary

In mathematics, Porter's constant C arises in the study of the efficiency of the Euclidean algorithm. It is named after J. W. Porter of University College, Cardiff.

Euclid's algorithm finds the greatest common divisor of two positive integers m and n. Hans Heilbronn proved that the average number of iterations of Euclid's algorithm, for fixed n and averaged over all choices of relatively prime integers m < n,

is

12

ln

2

π

2

ln

n

+

o

(

ln

n

)

.

{\displaystyle {\frac {12\ln 2}{\pi ^{2}}}\ln n+o(\ln n).}

Porter showed that the error term in this estimate is a constant, plus a polynomially-small correction, and Donald Knuth evaluated this constant to high accuracy. It is:

C

=

6

ln

2

π

2

[

3

ln

2

+

4

γ

24

π

2

ζ

(

2

)

2

]

1

2

=

6

ln

2

(

(

48

ln

A

)

(

ln

2

)

(

4

ln

π

)

2

)

π

2

1

2

=

1.4670780794

{\displaystyle {\begin{aligned}C&={{6\ln 2} \over {\pi ^{2}}}\left[3\ln 2+4\gamma -{{24} \over {\pi ^{2}}}\zeta '(2)-2\right]-{{1} \over {2}}\\[6pt]&={{{6\ln 2}((48\ln A)-(\ln 2)-(4\ln \pi )-2)} \over {\pi ^{2}}}-{{1} \over {2}}\\[6pt]&=1.4670780794\ldots \end{aligned}}}

where

γ

{\displaystyle \gamma }

is the Euler–Mascheroni constant

ζ

{\displaystyle \zeta }

is the Riemann zeta function

A

{\displaystyle A}

is the Glaisher–Kinkelin constant

(sequence A086237 in the OEIS)

ζ

(

2

)

=

π

2

6

[

12

ln

A

γ

ln

(

2

π

)

]

=

k

=

2

ln

k

k

2

{\displaystyle -\zeta ^{\prime }(2)={{\pi ^{2}} \over 6}\left[12\ln A-\gamma -\ln(2\pi )\right]=\sum _{k=2}^{\infty }{{\ln k} \over {k^{2}}}}

{\displaystyle }

Approximations

The simple approximations of the Porter's constant accurate up to 3 digits can be found as

C

=

2

21

/

38

=

1.466758730139474...

,

{\displaystyle C=2^{21/38}=1.466758730139474...,}

accurate up to 4 digits as

C

=

2

26

/

47

=

1.467328090156686...

,

{\displaystyle C=2^{26/47}=1.467328090156686...,}

and up to 6 digits as

C

=

2

47

/

85

=

1.467073525425601....

Editorial summary

The public source identifies “Porter's constant” as constant term in the average number of iterations of Euclid’s algorithm for fixed 𝑛 and averaged over all choices of relatively prime integers 𝑚<𝑛. This brief keeps that definition visible, then builds a research path around Porter's, constant and term.

Editorial reviewA dependable orientation record for establishing vocabulary, names and a first evidence trail. The current 354-word lead offers orientation but no explicit four-digit date, so chronology should not be assumed. The selected authority fields contribute no independent date. Its value is orientation rather than verdict, with Porter's, constant and term providing the first useful test.
Editorial analysis

Why this record matters

A short description can identify a subject without explaining its stakes. For “Porter's constant”, the useful work is to connect “constant term in the average number of iterations of Euclid’s algorithm for fixed 𝑛 and averaged over all choices of relatively prime integers 𝑚<𝑛” to the records capable of establishing context and consequence.

Evidence profile

Named sources, stable identifiers and responsible institutions provide the strongest route from overview to verifiable evidence. The source revision retrieved here is dated Dec 29, 2025. The linked authority identifier is Q30692563.

Critical limits

A concise general-reference account can conceal disagreements about scope, terminology or the weight assigned to individual sources. The lead is largely declarative, so disagreement and counter-evidence require a deliberate search beyond the opening account. Authority statements aid reconciliation but still require their own references, qualifiers and ranks to be checked.

How to read it

Use the entry as an orientation point, then follow its citations and revision history. Names, dates and institutional relationships should be checked against the original record.

Best used for
  • Subject orientation
  • Search vocabulary
  • Locating named sources
Verify next

The closest primary source, responsible institution and strongest cited specialist reference.

Three-step research path

  1. Establish the record: confirm the title “Porter's constant”, its source revision and the description used here.
  2. Expand the search: follow Porter's constant primary sources, Porter's constant archive and Porter's research across catalogues and specialist indexes.
  3. Test the account: compare the strongest cited source with the responsible institution’s current record and note any disagreement.

Questions for further research

  1. Which source most directly establishes the central claim about “Porter's constant”?
  2. What terminology or title could unlock a more precise catalogue search?
  3. Which institution is responsible for the underlying evidence?
Subject index

Search terms from this dossier

Source & attribution

This entry incorporates text from Porter's constant” on English Wikipedia. Contributors are listed in the page history. Text is available under the Creative Commons Attribution-ShareAlike 4.0 License. Selected authority identifiers and statements are retrieved from Wikidata under CC0; their references and qualifiers remain part of the verification path.