A permutation of the integers 2020,2021,...,2118,2119 is a list a1,a2,a3,...,a100 where each one of the numbers appears exactly once. For each permutation we define the partial sums.
s1=a1
s2=a1+a2
s3=a1+a2+a3
...
s100=a1+a2+...+a100
How many of these permutations satisfy that none of the numbers s1,...,s100 is divisible by 3? permutationscombinatorics