Dual View Random Solved Random Open
OPEN This is open, and cannot be resolved with a finite computation.
Are there infinitely many $n$ such that $n-k^2$ is prime for all $k$ with $(n,k)=1$ and $k^2<n$?
Disclaimer: The open status of this problem reflects the current belief of the owner of this website. There may be literature on this problem that I am unaware of, which may partially or completely solve the stated problem. Please do your own literature search before expending significant effort on solving this problem. If you find any relevant literature not mentioned here, please add this in a comment.
In [Va99] it is asked whether $968$ is the largest integer with this property, but this is an error, since for example $968-9=7\cdot 137$.

The list of $n$ satisfying the given property is A214583 in the OEIS. The largest known such $n$ is $1722$.

ChatGPT and Tang have shown that the number of such $n$ in $[1,N]$ is at most $N^{1/2+o(1)}$.

See also [1140] and [1142].

View the LaTeX source

This page was last edited 26 January 2026.

External data from the database - you can help update this
Formalised statement? Yes
Related OEIS sequences: A214583
Likes this problem None
Interested in collaborating None
Currently working on this problem None
This problem looks difficult ebarschkis
This problem looks tractable None
The results on this problem could be formalisable None
I am working on formalising the results on this problem None

When referring to this problem, please use the original sources of Erdős. If you wish to acknowledge this website, the recommended citation format is:

T. F. Bloom, Erdős Problem #1141, https://www.erdosproblems.com/1141, accessed 2026-03-01