The new harem of Caliph Mustafa ibn Mafeesh ben Rasheed – of which he was very proud – consisted of 14 particularly well-chosen prime virgins.
Having heard of the “Tales of 1001 Nights” and being a man who strongly believed in the cultural education of his people, Caliph Mustafa ibn Mafeesh ben Rasheed decided to have a different group of wives from his new harem entertained and edified each night with a story from this classical work.
Scheherazade, one of his older wives, was an enchanting story teller, so Caliph Mustafa ibn Mafeesh ben Rasheed decided she should be present each night to read a different story to the group selected from the new harem.
Caliph Mustafa wanted a different group of new wives to appear for 1001 nights so all the tales could be told for their cultural edification.
Problem was, he didn’t know what the size of the group should be so it would be different for each of the 1001 nights – not counting himself and Scheherazade. Caliph Mustafa ibn Mafeesh ben Rasheed wanted the group to be as large as possible to maximize the cultural education effort.
Can you help Caliph Mustafa ibn Mafeesh ben Rasheed work out the maximum size of the group so that for 1001 nights the composition of the group of new wives would be different?