Number of permutations p(1),...,p(n) of 1,...,n such that gcd(Sum_{k=1..m} p(k), p(m+1)) = 1 for all positive integers m <= n-1.

A076143

Number of permutations p(1),...,p(n) of 1,...,n such that gcd(Sum_{k=1..m} p(k), p(m+1)) = 1 for all positive integers m <= n-1.

Terms

    a(0) =1a(1) =2a(2) =2a(3) =8a(4) =32a(5) =80a(6) =376a(7) =1736a(8) =15618a(9) =118732a(10) =412052a(11) =3562696a(12) =81378488a(13) =333467822a(14) =2149258776a(15) =45729031846

External references