Closest prime to n-th prime p that is different from p (break ties by taking the smaller prime).
A051701
Closest prime to n-th prime p that is different from p (break ties by taking the smaller prime).
Terms
- a(0) =3a(1) =2a(2) =3a(3) =5a(4) =13a(5) =11a(6) =19a(7) =17a(8) =19a(9) =31a(10) =29a(11) =41a(12) =43a(13) =41a(14) =43a(15) =47a(16) =61a(17) =59a(18) =71a(19) =73a(20) =71a(21) =83a(22) =79a(23) =83a(24) =101a(25) =103a(26) =101a(27) =109a(28) =107a(29) =109
External references
- oeis: A051701