/- 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. -/ import FormalConjecturesUtil

Erdős Problem 244

Reference: erdosproblems.com/244

namespace Erdos244

Let $C > 1$. Does the set of integers of the form $p + \lfloor C^k \rfloor$, for some prime $p$ and $k\geq 0$, have density $>0$?

@[category research open, AMS 11] theorem declaration uses 'sorry'erdos_244 : answer(sorry) C > (1 : ), 0 < { p + C ^ k⌋₊ | (p) (k) (_ : p.Prime) }.lowerDensity := True C > 1, 0 < {x | p k, (_ : Nat.Prime p), p + C ^ k⌋₊ = x}.lowerDensity All goals completed! 🐙

Romanoff [Ro34] proved that the answer is yes if $C$ is an integer.

[Ro34] Romanoff, N. P., Über einige Sätze der additiven Zahlentheorie. Math. Ann. (1934), 668-678.

@[category research solved, AMS 11] theorem declaration uses 'sorry'erdos_244.variants.Romanoff {C : } (hC : 1 < C) : 0 < { p + C ^ k⌋₊ | (p) (k) (_ : p.Prime) }.lowerDensity := C:hC:1 < C0 < {x | p k, (_ : Nat.Prime p), p + C ^ k⌋₊ = x}.lowerDensity All goals completed! 🐙 end Erdos244