Alphabeta Math
How statement and proof provenance work

The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.

  • Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
  • AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
  • AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.

These labels describe origin, not correctness: citations and verification chips remain separate evidence.

14 results · all verified · 8 also independently AI-judged
Every result on this page is machine-checked by a proof checker and read in full and owner-audited; the judge is an additional, independent cross-model AI review of the proofs. The 6 not AI-judged were verified by owner audit (typically over a confirmed judge false positive), not failures.

Average Orders Divisor Sums and Representation Counts

1 · Prerequisites

2 · Summary

This page fixes the summatory notion of average order and then carries the standard finite-sum arguments that make the first analytic-number-theory constants visible: the harmonic asymptotic, the Dirichlet hyperbola split, and the summatory estimates for τ, σ, and φ.

The second half returns to sums of two squares. The ordered-sign representation count r2 is put in arithmetic-function language, matched with a divisor formula, and averaged back to the constant π through the same hyperbola method and the published Gregory-Leibniz theorem.

3 · Logical flowchart

4 · Definitions, theorems and proofs

DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-08-31Open item page →

Summatory functions and average orders

Definition

Let f be an arithmetic function (Arithmetic functions on the positive integers). Its summatory function is

Ff(x):=nxf(n)

for real x1.

An arithmetic function g is an average order of f when

nxf(n)nxg(n)

as x, and the comparison sum on the right is eventually nonzero.

Remarks

  • This is a summatory asymptotic. It does not say that f(n) and g(n) are pointwise close term by term.
  • Because the index condition is nx, every summatory function here is constant on each interval [m,m+1).
DefinitionDefinition: Literature-sourcedProof: Not applicablejudge pass (gpt-5.6-terra)audited 2026-08-31Open item page →

The Euler-Mascheroni constant

Definition

The Euler-Mascheroni constant is

γ:=limN(n=1N1nlogN),

provided the limit exists.

Remarks

  • The next item proves existence and gives the sharper quantitative estimate needed later on this page.
LemmaStatement: Literature-sourcedProof: AI-generatedprecheck passaudited 2026-08-31Open item page →

The harmonic sum is log x plus gamma plus O(1/x)

Statement

For every real x1,

nx1n=logx+γ+O(1/x).

Facts & Assumptions

Given: A real x1 and an integer N1.

Proof

technique · direct
1.1

Since t1/t is decreasing on [1,) by The natural logarithm has derivative 1/x and equals the integral from 1 to x of 1/t, monotonicity of the integral and additivity over subintervals give nn+1dtt1nfor every integer n1, and 1nn1ndttfor every integer n2.

givenalgebra
2.1

Put EN:=n=1N1/nlog(N+1). Summing the first inequality of step 1.1 from n=1 to N gives EN0, and the same inequality at n=N+1 gives EN+1EN=1N+1N+1N+2dtt0. Also summing the second inequality of step 1.1 from n=2 to N gives n=1N1n1+logN<1+log(N+1), so 0EN<1. Thus (EN) is increasing and bounded, hence convergent by A nondecreasing sequence bounded above converges to the supremum of its range, and a nonincreasing sequence bounded below to the infimum.

step 1.1givenalgebra
3.1

Let L:=limNEN. Since n=1N1nlogN=EN+log ⁣(1+1N), and 0log(1+1/N)1/N by step 1.1, the sequence in The Euler-Mascheroni constant has the same limit L. Therefore L=γ, and 0n=1N1nlogNγ1N.

step 1.1step 2.1givenalgebra
4.1

For the given real x, let N:=x. Then Nx<N+1, so 0logxlogN=log(x/N)log(1+1/N)1/N. Combining this with step 3.1 yields nx1n=n=1N1n=logx+γ+O(1/N)=logx+γ+O(1/x), because Nx/2 for every x1.

step 3.1givenalgebra
TheoremStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-31Open item page →

Dirichlet's hyperbola method for summatory convolutions

Statement

Let f,g be arithmetic functions with summatory functions F(y)=nyf(n) and G(y)=nyg(n) (Summatory functions and average orders). If x1 and U,V1 satisfy UV=x, then

nx(fg)(n)=aUf(a)G(x/a)+bVg(b)F(x/b)F(U)G(V).

Facts & Assumptions

Given: Arithmetic functions f,g, a real x1, and reals U,V1 with UV=x.

Proof

technique · direct
1.1

By Dirichlet convolution of arithmetic functions, nx(fg)(n)=nxdnf(d)g(n/d)=abxf(a)g(b), where the last equality is the finite reindexing of Finite commutative-monoid sums are invariant under bijective reindexing, split over disjoint unions, and satisfy the finite Fubini rule.

givenalgebra
2.1

Every lattice point (a,b) with abx=UV lies in at least one of the regions aU or bV, for otherwise a>U and b>V would give ab>UV=x. Therefore abxf(a)g(b)=abxaUf(a)g(b)+abxbVf(a)g(b)aUbVf(a)g(b).

step 1.1givenalgebra
3.1

For fixed aU, the inner sum over b is exactly G(x/a), and for fixed bV the inner sum over a is exactly F(x/b). The overlap sum factors as (aUf(a))(bVg(b))=F(U)G(V). Substituting these identities into step 2.1 gives the claimed formula.

step 2.1givenalgebra
TheoremStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-31Open item page →

The summatory divisor-counting function is x log x plus (2 gamma - 1)x plus O(sqrt x)

Statement

For every real x1,

nxτ(n)=xlogx+(2γ1)x+O(x).

Facts & Assumptions

Given: A real x1 and N:=x.

Proof

technique · direct
1.1

By The divisor functions arise by Dirichlet convolution, τ=11. Applying Dirichlet's hyperbola method for summatory convolutions with f=g=1 and U=V=x gives nxτ(n)=2axxax2=2a=1NxaN2.

givenalgebra
2.1

Since x/a=x/a+O(1) uniformly in a, summing over 1aN yields a=1Nxa=xa=1N1a+O(N).

step 1.1givenalgebra
3.1

By The harmonic sum is log x plus gamma plus O(1/x), a=1N1/a=logN+γ+O(1/N). Also N2x<(N+1)2, so x=N2+O(N) and logN=12logx+O(1/N). Substituting these into step 2.1 gives 2a=1Nxa=xlogx+2γx+O(x).

step 2.1givenalgebra
4.1

Since N2=x+O(x), combining step 3.1 with step 1.1 yields nxτ(n)=xlogx+(2γ1)x+O(x).

step 1.1step 3.1givenalgebra
LemmaStatement: Literature-sourcedProof: AI-generatedprecheck passaudited 2026-08-31Open item page →

The summatory logarithm is x log x minus x plus O(log x)

Statement

For every real x1,

nxlogn=xlogxx+O(logx).

Facts & Assumptions

Given: A real x1 and N:=x.

Proof

technique · direct
1.1

The function log of The natural logarithm as the inverse of the exponential function is increasing on (0,) by The natural logarithm has derivative 1/x and equals the integral from 1 to x of 1/t, so monotonicity of the integral gives 1Nlogtdtn=1Nlogn1N+1logtdt.

givenalgebra
2.1step 1.1givenalgebra
3.1

Since Nx<N+1, one has N=x+O(1) and therefore NlogN=xlogx+O(logx). Substituting this into step 2.1 and using nxlogn=n=1Nlogn proves nxlogn=xlogxx+O(logx).

step 2.1givenalgebra
CorollaryStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-31Open item page →

The average order of tau is log n

Statement

The arithmetic function nlogn is an average order of τ.

Facts & Assumptions

Given: A real x1.

Proof

technique · direct
1.1

By The summatory divisor-counting function is x log x plus (2 gamma - 1)x plus O(sqrt x) and The summatory logarithm is x log x minus x plus O(log x), nxτ(n)=xlogx+(2γ1)x+O(x),nxlogn=xlogxx+O(logx).

given
2.1

The two sums differ by 2γx+O(x), while the comparison sum is xlogx+O(x) and is therefore eventually positive. Hence nxτ(n)nxlogn=1+O ⁣(1logx)1. By Summatory functions and average orders, this is exactly the statement that logn is an average order of τ.

step 1.1givenalgebra
TheoremStatement: Literature-sourcedProof: AI-generatedprecheck passaudited 2026-08-31Open item page →

The summatory divisor-sum function is pi squared over 12 times x squared plus O(x log x)

Statement

For every real x1,

nxσ(n)=π212x2+O(xlogx).

Facts & Assumptions

Given: A real x1, an integer M:=x, and ym:=x/m for 1mM.

Proof

technique · direct
1.1

By The divisor functions arise by Dirichlet convolution, σ(n)=dnd. Summing over nx and writing each such n as dm gives nxσ(n)=m=1Md=1ymd.

givenalgebra
2.1

For each m, d=1ymd=ym(ym+1)2=ym22+O(ym). Therefore nxσ(n)=12m=1Mym2+O ⁣(m=1Mym).

step 1.1givenalgebra
3.1

Since ym=x/m+O(1) uniformly in m, one has ym2=x2/m2+O(x/m)+O(1). Summing and using The Basel sum is pi squared over six by a residue computation together with The harmonic sum is log x plus gamma plus O(1/x) gives m=1Mym2=π26x2+O(xlogx),m=1Mym=O(xlogx).

step 2.1givenalgebra
4.1

Substituting step 3.1 into step 2.1 yields nxσ(n)=π212x2+O(xlogx).

step 2.1step 3.1givenalgebra
CorollaryStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-31Open item page →

The average order of sigma is (pi squared over 6)n

Statement

The arithmetic function n(π2/6)n is an average order of σ.

Facts & Assumptions

Given: A real x1 and N:=x.

Proof

technique · direct
1.1

The comparison sum is exact: nxπ26n=π26n=1Nn=π212N(N+1)=π212x2+O(x).

givenalgebra
2.1

By The summatory divisor-sum function is pi squared over 12 times x squared plus O(x log x), nxσ(n)=π2x2/12+O(xlogx). Comparing this with step 1.1 shows that the ratio of the two summatory functions tends to 1, and the comparison sum is eventually positive. Therefore Summatory functions and average orders makes (π2/6)n an average order of σ.

step 1.1givenalgebra
TheoremStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-31Open item page →

The summatory totient function is 3 over pi squared times x squared plus O(x log x)

Statement

For every real x1,

nxφ(n)=3π2x2+O(xlogx).

Facts & Assumptions

Given: A real x1 and, for each positive integer dx, the integer yd:=x/d.

Proof

technique · direct
1.1

By For every positive integer n, dn, d>0φ(d)=n, one has dnφ(d)=n=id1(n), where id1 is from The power functions idk and the divisor-power-sum functions σk. Applying Classical Möbius inversion over positive divisors gives φ(n)=dnμ(d)nd. The same inversion applied to the identity dnε(d)=1, with ε from The Dirichlet-convolution identity and the constant-one function, yields dnμ(d)=ε(n)={1,n=1,0,n>1.

givenalgebra
2.1

Summing the divisor formula from step 1.1 over nx and writing n=dm gives nxφ(n)=dxμ(d)mx/dm. Also, multiplying the second identity of step 1.1 by 1/n2 and summing over nx yields the finite identity 1=dxμ(d)d2mx/d1m2.

step 1.1givenalgebra
3.1

For a positive integer Y, let S(Y):=mY1/m2. For every mY+1 one has 1m21m(m1)=1m11m, so m>Y1m2m>Y(1m11m)=1Y. Since The Basel sum is pi squared over six by a residue computation gives m=11/m2=π2/6, it follows that S(Y)=π2/6+O(1/Y). Apply this in the second formula of step 2.1 with Y=yd. Because 1/yd2d/x for every dx, one gets dx1d2yd=O ⁣(1xdx1d). Together with μ(d)1 from The number-theoretic Möbius function μ(n) from prime factorisation and The harmonic sum is log x plus gamma plus O(1/x), this yields dxμ(d)d2=6π2+O ⁣(logxx).

step 2.1givenalgebra
4.1

For each dx, mx/dm=yd(yd+1)2=yd22+O(yd),yd=xd+O(1). Therefore step 2.1 becomes nxφ(n)=x22dxμ(d)d2+O ⁣(xdx1d). Using step 3.1 and The harmonic sum is log x plus gamma plus O(1/x) now yields nxφ(n)=3π2x2+O(xlogx).

step 2.1step 3.1givenalgebra
CorollaryStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-31Open item page →

The average order of Euler's totient is 6n over pi squared

Statement

The arithmetic function n6n/π2 is an average order of φ.

Facts & Assumptions

Given: A real x1 and N:=x.

Proof

technique · direct
1.1

The comparison sum satisfies nx6nπ2=6π2n=1Nn=3π2N(N+1)=3π2x2+O(x).

givenalgebra
2.1

By The summatory totient function is 3 over pi squared times x squared plus O(x log x), nxφ(n)=3x2/π2+O(xlogx). Comparing with step 1.1 shows that the two summatory functions are asymptotic, with the comparison sum eventually positive. Hence Summatory functions and average orders says that 6n/π2 is an average order of φ.

step 1.1givenalgebra
TheoremStatement: Literature-sourcedProof: AI-generatedprecheck passaudited 2026-08-31Open item page →

Ordered coprime pairs in a box have asymptotic density 6 over pi squared

Statement

Let C(x) be the number of ordered pairs (a,b) of positive integers with a,bx and gcd(a,b)=1 (Coprime integers: gcd(a,b)=1). Then

C(x)=6π2x2+O(xlogx)

for real x1.

Facts & Assumptions

Given: A real x1 and N:=x.

Proof

technique · direct
1.1

Since a,bx is equivalent to a,bN, the count is unchanged if x is replaced by N. For m=1 there is exactly one coprime pair with max(a,b)=1, namely (1,1). For m2, the coprime pairs with max(a,b)=m are exactly (m,b) with 1bm and gcd(m,b)=1, together with (a,m) with 1am and gcd(a,m)=1; these two families are disjoint because (m,m) is not coprime. Hence C(x)=1+2m=2Nφ(m)=2m=1Nφ(m)1.

givenalgebra
2.1

Applying The summatory totient function is 3 over pi squared times x squared plus O(x log x) at x=N gives C(x)=6π2N2+O(NlogN). Since N=x+O(1), this is C(x)=6π2x2+O(xlogx).

step 1.1givenalgebra
CorollaryStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-31Open item page →

The proportion of pairs in {1,...,n}^2 that are coprime tends to 6 over pi squared

Statement

For positive integers n, the proportion of pairs in {1,,n}2 that are coprime tends to 6/π2.

Facts & Assumptions

Given: A positive integer n.

Proof

technique · direct
1.1

By Ordered coprime pairs in a box have asymptotic density 6 over pi squared, the number of coprime pairs in {1,,n}2 is 6π2n2+O(nlogn).

given
2.1

Dividing by the total number n2 of ordered pairs gives #{(a,b){1,,n}2:gcd(a,b)=1}n2=6π2+O ⁣(lognn), and the error term tends to 0.

step 1.1givenalgebra
DefinitionDefinition: Literature-sourcedProof: Not applicableaudited 2026-08-31Open item page →

The two-square representation function r_2

Definition

For each positive integer n, define

r2(n):=#{(x,y)Z2:x2+y2=n}.

This counts order and signs separately, in the sense of Representations and primitive representations as sums of two squares.

Remarks

  • The domain is the positive integers, because r2 is being used here as an arithmetic function. In particular, r2(0) is outside the present convention.
  • The ordered-sign convention gives r2(1)=4.
LemmaStatement: Literature-sourcedProof: AI-adaptedprecheck passaudited 2026-08-31Open item page →

The normalized two-square count is multiplicative with the expected prime-power values

Statement

The arithmetic function f(n):=r2(n)/4 is multiplicative. More precisely,

f(2a)=1, f(pa)=a+1for p1(mod4),

and

f(qa)={1,a even,0,a odd,for q3(mod4).

Facts & Assumptions

Given: A natural exponent a, a prime p1(mod4), a prime q3(mod4), and coprime positive integers m,n.

Proof

technique · direct
1.1

The ordered-sign representations of 1 are (±1,0) and (0,±1), so r2(1)=4 and therefore f(1)=1.

givenalgebra
2.1

Write a positive integer N as N=2αi=1rpieij=1sqjbj, where the pi1(mod4), the qj3(mod4), and all listed primes are distinct. If some bj is odd and N=x2+y2, write N=qj2k+1M with qjM. Repeatedly applying A prime congruent to 3 modulo 4 divides both coordinates of a divisible two-square sum shows that x=qjkx0 and y=qjky0, so qjM=x02+y02. One more application of the same lemma forces qjx0 and qjy0, hence qj2qjM, contradiction. Therefore r2(N)=0 whenever some bj is odd. If every bj is even, the cited Hackman theorem gives r2(N)4=i=1r(ei+1). Applying this to N=2a, N=pa, and N=qa yields r2(2a)4=1,r2(pa)4=a+1,r2(qa)4={1,a even,0,a odd.

step 1.1given
3.1

Let f(n):=r2(n)/4. If gcd(m,n)=1, the prime supports of m and n are disjoint. If step 2.1 gives f(m)=0 or f(n)=0, then some prime q3(mod4) has odd exponent in one factor, hence still odd exponent in mn, so step 2.1 also gives f(mn)=0=f(m)f(n). Otherwise every prime q3(mod4) occurs to even exponent in both m and n, so also in mn, and the primes p1(mod4) occurring in mn are exactly those occurring in one factor or the other, with the same exponents. Step 2.1 therefore factors the nonzero case as f(mn)=pem, p1(4)(e+1)pen, p1(4)(e+1)=f(m)f(n). Together with f(1)=1 from step 1.1, this is exactly the multiplicativity condition of Multiplicative arithmetic functions.

step 1.1step 2.1givenalgebra
4.1

Steps 1.1, 2.1, and 3.1 prove the stated prime-power values and multiplicativity.

step 1.1step 2.1step 3.1

Remarks

  • The load-bearing sourced input is Hackman Chapter K.III.1's exact formula for r2(N)/4. Steps 2.1 and 3.1 use that formula, read in the library's ordered-sign convention, to obtain both the prime-power values and the multiplicativity statement.
TheoremStatement: Literature-sourcedProof: AI-generatedprecheck passaudited 2026-08-31Open item page →

The divisor formula for the two-square representation count

Statement

Define

χ4(d):={0,2d,1,d1(mod4),1,d3(mod4).

and let d1(n) and d3(n) count the positive divisors of n congruent to 1 and 3 modulo 4, respectively. Then for every positive integer n,

r2(n)=4dnχ4(d)=4(d1(n)d3(n)).

Facts & Assumptions

Given: A positive integer n, coprime positive integers m,n, and a prime-power input.

Proof

technique · direct
1.1

Put g(n):=dnχ4(d). If gcd(m,n)=1, every positive divisor of mn is uniquely of the form ab with am and bn; because odd residue classes modulo 4 multiply and every even divisor has χ4-value 0, one gets χ4(ab)=χ4(a)χ4(b). Therefore g(mn)=am, bnχ4(ab)=(amχ4(a))(bnχ4(b))=g(m)g(n), so g is multiplicative.

givenalgebra
2.1

The prime-power values of g are immediate from the definition: g(2a)=1 because only the divisor 1 contributes; if p1(mod4), then every divisor pj is 1 modulo 4, so g(pa)=a+1; and if q3(mod4), then the divisor residues alternate, so g(qa)=11+1={1,a even,0,a odd.

step 1.1givenalgebra
3.1

By The normalized two-square count is multiplicative with the expected prime-power values, the function r2/4 is multiplicative with exactly the same prime-power values as in step 2.1. Hence Multiplicative functions are determined by their prime-power values gives r2(n)4=g(n)=dnχ4(d).

step 1.1step 2.1given
4.1

Among the positive divisors of n, the even ones contribute 0, the divisors congruent to 1 modulo 4 contribute +1, and the divisors congruent to 3 modulo 4 contribute 1. Thus dnχ4(d)=d1(n)d3(n), and step 3.1 gives the claimed formula for r2(n).

step 3.1givenalgebra
CorollaryStatement: Literature-sourcedProof: AI-generatedprecheck passjudge pass (gpt-5.6-terra)audited 2026-08-31Open item page →

The average order of the two-square representation count is pi

Statement

For every real x1,

nxr2(n)=πx+O(x).

Consequently the constant function π is an average order of r2.

Facts & Assumptions

Given: A real x1, N:=x, and G(y):=nyχ4(n).

Proof

technique · direct
1.1

By The divisor formula for the two-square representation count, r2=4(1χ4). Applying Dirichlet's hyperbola method for summatory convolutions with f=1, g=χ4, and U=V=x gives nxr2(n)=4(aNG(x/a)+bNχ4(b)xbNG(N)).

givenalgebra
2.1

The values of χ4 repeat as 1,0,1,0, so every complete block of length 4 has sum 0 and every initial partial block has sum 0 or 1. Hence G(y)=O(1) uniformly in y, and step 1.1 gives aNG(x/a)=O(N),NG(N)=O(N). Also x/b=x/b+O(1), so bNχ4(b)xb=xbNχ4(b)b+O(N).

step 1.1givenalgebra
3.1

Deleting the zero even terms identifies bNχ4(b)/b with a partial Gregory-Leibniz sum. Therefore The Gregory-Leibniz series: pi over four equals 1-1/3+1/5-1/7+... gives bNχ4(b)b=π4+O(1/N).

step 2.1given
4.1

Substituting step 3.1 into step 2.1 and then into step 1.1 yields nxr2(n)=4(xπ4+O(N))=πx+O(x). Since nxπ=πx=πx+O(1), Summatory functions and average orders now says that the constant function π is an average order of r2.

step 1.1step 2.1step 3.1givenalgebra

5 · Examples, counterexamples and false statements

None yet.

Sources