Take n-th prime p, let P = all primes that can be obtained by permuting the digits of p and possibly omitting zeros; a(n) = |p-q| where q in P is the closest to p but different from p (a(n)=0 if no such q exists).
A052902
Take n-th prime p, let P = all primes that can be obtained by permuting the digits of p and possibly omitting zeros; a(n) = |p-q| where q in P is the closest to p but different from p (a(n)=0 if no such q exists).
Terms
- a(0) =0a(1) =0a(2) =0a(3) =0a(4) =0a(5) =18a(6) =54a(7) =0a(8) =0a(9) =0a(10) =18a(11) =36a(12) =0a(13) =0a(14) =0a(15) =0a(16) =0a(17) =0a(18) =0a(19) =54a(20) =36a(21) =18a(22) =0a(23) =0a(24) =18a(25) =90a(26) =72a(27) =36a(28) =90a(29) =18
External references
- oeis: A052902