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

A096870

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

Terms

    a(0) =4a(1) =2a(2) =2a(3) =18a(4) =2a(5) =20a(6) =10a(7) =2a(8) =14a(9) =52a(10) =8a(11) =18a(12) =58a(13) =58a(14) =72a(15) =4a(16) =20a(17) =74a(18) =84a(19) =58a(20) =14a(21) =18a(22) =82a(23) =168a(24) =28a(25) =50a(26) =168a(27) =84a(28) =8a(29) =138

External references