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

A178385
Primes p such that q*p+-Mod(p,q) are primes, for q=4.
4
11, 19, 59, 151, 331, 359, 439, 499, 571, 599, 1019, 1039, 1279, 1319, 1451, 1871, 2131, 2179, 2251, 2459, 2819, 3119, 3251, 3539, 3659, 3911, 4231, 4679, 5099, 5351, 5519, 6199, 6211, 6599, 6871, 6991, 7639, 7759, 8179, 8999, 9391, 9739, 10211
OFFSET
1,1
COMMENTS
4*11=44+-3->primes,..
LINKS
MATHEMATICA
q=4; lst={}; Do[p=Prime[n]; If[PrimeQ[q*p-Mod[p, q]]&&PrimeQ[q*p+Mod[p, q]], AppendTo[lst, p]], {n, 7!}]; lst
Select[Prime[Range[1500]], AllTrue[4#+{Mod[#, 4], -Mod[#, 4]}, PrimeQ]&] (* Harvey P. Dale, Aug 16 2021 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved