{'fraction_non_alphanumeric': 0.026378896882494004, 'fraction_numerical': 0.0035971223021582736, 'mean_word_length': 4.880281690140845, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Reformed Permutations in Mousetrap and Its Generalizations

Abstract We study a card game called Mousetrap, together with its generalization He Loves Me, He Loves Me Not. We first present some results for the latter game, based, on one hand, on theoretical considerations and, on the other one, on Monte Carlo trials. Furthermore, we introduce a combinatorial algorithm, which allows us to obtain the best result at least for French card decks (52 cards with 4 suits). We then apply the algorithm to the study of Mousetrap and Modular Mousetrap, improving recent results. Finally, by means of our algorithm, we study the reformed permutations in Mousetrap, Modular Mousetrap and He Loves Me, He Loves Me Not, attaining new results which give some answers to several questions posed by Cayley and by Guy and Nowakowski in their papers.