Smallest k greater than 0 such that n+k*p is a prime, where p is the smallest coprime greater than n+1.
A116933
Smallest k greater than 0 such that n+k*p is a prime, where p is the smallest coprime greater than n+1.
Terms
- a(0) =2a(1) =1a(2) =2a(3) =1a(4) =2a(5) =1a(6) =4a(7) =1a(8) =2a(9) =1a(10) =2a(11) =1a(12) =2a(13) =1a(14) =4a(15) =3a(16) =6a(17) =1a(18) =2a(19) =1a(20) =2a(21) =1a(22) =2a(23) =1a(24) =2a(25) =3a(26) =10a(27) =1a(28) =8a(29) =1
External references
- oeis: A116933