/-
Copyright 2025 The Formal Conjectures Authors.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
https://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-/modulepublicimportFormalConjecturesUtilpublicimportFormalConjectures.ErdosProblems.«28»
The predicate for a function $g\colon\mathbb{N} → \mathbb{R})$ that
$$\lvert A\cap {1,\ldots,N}\rvert \gg \frac{N^{1/2}}{g(N)}$$
implies $\limsup 1_A\ast 1_A(n)=\infty$.
For what functions $g(N) → \infty$ is it true that
$$\lvert A\cap {1,\ldots,N}\rvert \gg \frac{N^{1/2}}{g(N)}$$
implies $\limsup 1_A\ast 1_A(n)=\infty$?
Is there any function $g(N) → \infty$ such that
$$\lvert A\cap {1,\ldots,N}\rvert \gg \frac{N^{1/2}}{g(N)}$$
implies $\limsup 1_A\ast 1_A(n)=\infty$?
This is a weaker form of Erdős Problem 40, which asks for all such $g$. Establishing
the implication for even one $g(N) → \infty$ already answers Erdős Problem 28
positively, because a basis of order $2$ satisfies
$\lvert A\cap {1,\ldots,N}\rvert \gg N^{1/2}$.