login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A153262
Squares such that square+-3=primes.
1
16, 64, 100, 196, 4096, 8464, 12544, 19600, 21316, 29584, 47524, 88804, 92416, 103684, 106276, 115600, 122500, 126736, 173056, 193600, 220900, 258064, 306916, 313600, 336400, 391876, 401956, 425104, 446224, 470596, 481636, 495616, 529984
OFFSET
1,1
COMMENTS
16-3=13,16+3=19,primes; 64-3=61,64+3=67,primes;...
The squared members of the intersection of A028873 and A049422. [From R. J. Mathar, Jan 03 2009]
LINKS
MATHEMATICA
lst={}; Do[p=n^2; If[PrimeQ[p-3]&&PrimeQ[p+3], AppendTo[lst, p]], {n, 7!}]; lst
Select[Range[750]^2, And@@PrimeQ[#+{3, -3}]&] (* Harvey P. Dale, Dec 19 2012 *)
CROSSREFS
Sequence in context: A129588 A043193 A043973 * A316301 A072128 A277016
KEYWORD
nonn
AUTHOR
STATUS
approved