a(n) is the smallest number k such that the difference between the next prime greater than k and k equals n.

A309877

a(n) is the smallest number k such that the difference between the next prime greater than k and k equals n.

Terms

    a(0) =1a(1) =0a(2) =8a(3) =7a(4) =24a(5) =23a(6) =90a(7) =89a(8) =118a(9) =117a(10) =116a(11) =115a(12) =114a(13) =113a(14) =526a(15) =525a(16) =524a(17) =523a(18) =888a(19) =887a(20) =1130a(21) =1129a(22) =1338a(23) =1337a(24) =1336a(25) =1335a(26) =1334a(27) =1333a(28) =1332a(29) =1331

External references