OFFSET
2,1
LINKS
S. I. Dimitrov, On an equation with prime numbers close to squares, arXiv:1910.04531 [math.NT], 2019.
A. Kumchev and D. Tolev, An additive problem with prime numbers from a thin set, Acta Math. Hungarica, 76, (1997), 31-43.
FORMULA
For n=2..10, a(n) is in [7, 19, 49, 113, 243, 413, 675, 1083, 1773]; for n>10, a(n) = 2*round(n^2*(3*log(n) + log(log(n)) + 4))-21.
PROG
(PARI) a(n) = if ((n>=2) && (n<=10), return([7, 19, 49, 113, 243, 413, 675, 1083, 1773][n-1])); 2*round(n^2*(3*log(n) + log(log(n)) + 4))-21;
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Marcus, Oct 19 2021
STATUS
approved