Skip to content

feat(Wikipedia): asymptotic density of powerful numbers#3715

Open
joshuasteier wants to merge 1 commit intogoogle-deepmind:mainfrom
joshuasteier:powerful-numbers-3686
Open

feat(Wikipedia): asymptotic density of powerful numbers#3715
joshuasteier wants to merge 1 commit intogoogle-deepmind:mainfrom
joshuasteier:powerful-numbers-3686

Conversation

@joshuasteier
Copy link
Copy Markdown

Closes #3686

Formalizes the Bateman–Grosswald (1958) asymptotic Q(x) ~ c·x^(1/2) for powerful numbers.

Note: the issue's formula ζ(1/2)⁻¹ ≈ 0.3039 appears to be a transcription error —
ζ(1/2) ≈ −1.46, so its reciprocal is negative. The correct leading constant from
Bateman–Grosswald is ζ(3/2)/ζ(3) ≈ 2.173, noted in the docstring. Left as
answer(sorry) in the statement; happy to pin a specific form if preferred.

Copy link
Copy Markdown
Collaborator

@mo271 mo271 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks! some initial remarks..

Comment on lines +43 to +44
def IsPowerful (n : ℕ) : Prop :=
0 < n ∧ ∀ p ∈ n.primeFactors, p ^ 2 ∣ n
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please re-use the already existing defintion for this: see
FormalConjecturesForMathlib/Data/Nat/Full.lean

Comment on lines +22 to +30
A positive integer $n$ is *powerful* if for every prime $p$ dividing $n$,
we have $p^2 \mid n$. Equivalently, $n = a^2 b^3$ for some positive integers $a, b$.

Let $Q(x) = \#\{ n \leq x : n \text{ is powerful} \}$. Bateman and Grosswald (1958) showed
$$Q(x) = \frac{\zeta(3/2)}{\zeta(3)} x^{1/2} + \frac{\zeta(2/3)}{\zeta(2)} x^{1/3} + O(x^{1/6}).$$

The leading constant is $\zeta(3/2)/\zeta(3) \approx 2.173$.
Note: the formula $\zeta(1/2)^{-1} \approx 0.3039$ cited in some sources is incorrect
($\zeta(1/2) \approx -1.46$, so its reciprocal is negative).
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's avoid duplicating docstrings too much, its fine to keep it brief in the module docstring

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Asymptotic Density of Powerful Numbers

2 participants