[go: up one dir, main page]

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”).

A174237
Numbers n such that 4n-1 and 4n+3 are prime.
1
1, 2, 5, 11, 17, 20, 26, 32, 41, 56, 77, 95, 110, 116, 122, 125, 161, 185, 206, 215, 221, 227, 242, 272, 320, 326, 356, 362, 371, 392, 395, 416, 446, 467, 500, 521, 551, 560, 587, 635, 665, 671, 677, 755, 770, 791, 797, 830, 836, 866, 962, 977, 980, 986, 1001
OFFSET
1,2
LINKS
EXAMPLE
a(1)=1 because 4*1-1=3 and 4*1+3=7 are prime.
MATHEMATICA
Select[Range[1100], AllTrue[4#+{3, -1}, PrimeQ]&] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Jan 28 2021 *)
CROSSREFS
Sequence in context: A088348 A156004 A174194 * A181580 A118754 A140559
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
Corrected by Charles R Greathouse IV, Mar 18 2010
498, 708 removed, 770 and 791 inserted.... - R. J. Mathar, Mar 29 2010
STATUS
approved