Distance from the n-th prime to the nearest semiprime.

A115766

Distance from the n-th prime to the nearest semiprime.

Terms

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

External references