Hi folks - Don't forget that Google has an inbuilt calculator in its search field. 'Factorial 10' is just 3 keystrokes: 10! (Answer is displayed in zero seconds.)
Try this for all the combinations of the National Lottery:
Perm any 6 from 49: 49!/6! (just move the decimal point 59 places to the right). More likely to drown in the bath.
Returning to the books problem, according to my son's bedroom there are 4 ways to arrange just 1 book, including back to front and upside down. Let's not go into all the other possibilities, such as flat, on edge, or leaning at an angle. The likelihood of this room ever being tidied is even greater . . . . N! (Factorial Never )