1 of 6

Perl 6, 88 bytes

{(($!={$_=[1..11];:10[map {|.splice($^m,1)},[R,] $^n.polymod(1..10)]})($^n+1)-$!($n))/9}

Try it online!

Calculates the elements directly.