Let S(k) be the set of signed differences of pairs of primes <= k. a(n) is the least k such that S(k) contains all residues mod n, or 0 if no such k exists.

A109258

Let S(k) be the set of signed differences of pairs of primes <= k. a(n) is the least k such that S(k) contains all residues mod n, or 0 if no such k exists.

Terms

    a(0) =3a(1) =5a(2) =5a(3) =7a(4) =7a(5) =11a(6) =17a(7) =11a(8) =11a(9) =13a(10) =13a(11) =17a(12) =29a(13) =23a(14) =17a(15) =19a(16) =19a(17) =23a(18) =41a(19) =29a(20) =23a(21) =29a(22) =53a(23) =29a(24) =53a(25) =47a(26) =29a(27) =31a(28) =31a(29) =0

External references