On a tictactoe board there are nine squares, three beanbags...there is a formula to find out how many combinations and permutations given this info, but I don't know it off top of head. You would use the combinations formula, permutations takes into account the different orders that the beanbags would land in to make out all of the combinations of landing possibilities.