Difference between the n-th repunit and the next prime.

A096869

Difference between the n-th repunit and the next prime.

Terms

    a(0) =1a(1) =2a(2) =2a(3) =6a(4) =2a(5) =8a(6) =40a(7) =6a(8) =2a(9) =10a(10) =2a(11) =38a(12) =28a(13) =12a(14) =118a(15) =12a(16) =8a(17) =20a(18) =60a(19) =20a(20) =46a(21) =78a(22) =6a(23) =2a(24) =102a(25) =272a(26) =80a(27) =246a(28) =6a(29) =80

External references