Sum of transposition distances (divided by 2) present in the permutation produced by inverses of 1..(p-1) computed in Zp, where p is n-th prime.

A051864

Sum of transposition distances (divided by 2) present in the permutation produced by inverses of 1..(p-1) computed in Zp, where p is n-th prime.

Terms

    a(0) =0a(1) =0a(2) =1a(3) =4a(4) =10a(5) =25a(6) =33a(7) =46a(8) =58a(9) =97a(10) =130a(11) =247a(12) =243a(13) =310a(14) =312a(15) =417a(16) =444a(17) =729a(18) =738a(19) =654a(20) =1007a(21) =836a(22) =968a(23) =1095a(24) =1623a(25) =1603a(26) =1720a(27) =1652a(28) =1997a(29) =2143

External references