https://tharong.com/how-many-different-ways-can-6-books-be-arranged-on-a-shelf-if-a-dictionary-and-a-thesaurus-must-not-be-together
How many different ways can 6 books be arranged on a shelf if a dictionary and a thesaurus must not be together?