login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A173828 Primes p such that p-+(floor(Sqrt(p)))^2 are primes. 1
7, 43, 47, 67, 149, 163, 167, 337, 353, 487, 587, 617, 787, 911, 947, 1367, 1777, 1783, 2333, 2347, 2503, 2927, 2953, 2963, 3023, 3607, 3613, 3637, 3643, 3697, 3709, 3847, 4363, 4397, 4423, 4463, 4483, 4903, 5273, 6113, 6143, 6197, 7103, 7187, 7193, 8117 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
MATHEMATICA
f1[n_]:=n-(Floor[Sqrt[n]])^2; f2[n_]:=n+(Floor[Sqrt[n]])^2; lst={}; Do[p=Prime[n]; If[PrimeQ[f1[p]]&&PrimeQ[f2[p]], AppendTo[lst, p]], {n, 8!}]; lst
fQ[n_]:=Module[{c=Floor[Sqrt[n]]^2}, AllTrue[n+{c, -c}, PrimeQ]]; Select[ Prime[ Range[1200]], fQ] (* Harvey P. Dale, Dec 15 2021 *)
CROSSREFS
Sequence in context: A229437 A043064 A175159 * A045800 A159254 A062336
KEYWORD
nonn
AUTHOR
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 1 05:33 EDT 2024. Contains 375575 sequences. (Running on oeis4.)