Number of sequences of length n with terms from {0,1,...,n-1} such that the sum of terms is 0 modulo n and the i-th term is not i or 2i modulo n.
A173500
Number of sequences of length n with terms from {0,1,...,n-1} such that the sum of terms is 0 modulo n and the i-th term is not i or 2i modulo n.
Terms
- a(0) =0a(1) =0a(2) =0a(3) =6a(4) =64a(5) =854a(6) =13392a(7) =244944a(8) =5124266a(9) =120795956a(10) =3169804000a(11) =91666666668
External references
- oeis: A173500