A124853 Numbers k such that 5k + 3 and 3k + 5 are primes.
0, 2, 4, 8, 14, 16, 22, 32, 34, 44, 56, 58, 62, 74, 76, 86, 88, 92, 104, 118, 128, 146, 148, 154, 172, 196, 212, 218, 224, 232, 238, 256, 274, 284, 286, 308, 316, 322, 338, 364, 382, 386, 394, 428, 454, 476, 478, 494, 518, 526, 532, 536, 538, 568, 632, 664, 674
Offset: 1
Keywords
Links
- Harvey P. Dale, Table of n, a(n) for n = 1..1000
Programs
-
Magma
[n: n in [0..700] | IsPrime(5*n+3) and IsPrime(3*n+5)] // Vincenzo Librandi, Mar 26 2010
-
Mathematica
Select[Range[0,700,2],AllTrue[{5#+3,3#+5},PrimeQ]&] (* Harvey P. Dale, Feb 12 2022 *)
Comments