OFFSET
1,1
COMMENTS
Primes k such that k + floor(sqrt(k + floor(sqrt(k)))) is prime (see A000037). - Ivan N. Ianakiev, Jun 23 2022
LINKS
Charles R Greathouse IV, Table of n, a(n) for n = 1..10000
MATHEMATICA
f[n_]:=n-Floor[Sqrt[n]]; lst={}; Do[p=Prime[n]; If[PrimeQ[f[p]], AppendTo[lst, f[p]]], {n, 7!}]; lst
PROG
(PARI) forprime(p=2, 1e4, if(isprime(t=p-sqrtint(p)), print1(t", "))) \\ Charles R Greathouse IV, Apr 15 2012
CROSSREFS
KEYWORD
nonn
AUTHOR
Vladimir Joseph Stephan Orlovsky, Feb 25 2010
STATUS
approved