login
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