Wow, thanks for the responses!

I'll try to wrap my mind around the formula a bit later.

So basically, the bottom line is:
1. It is technically possible to have very weird item spreads. Like the one where I got zero quest items despite prepping them. Though this should be very rare (it means, RNG chose 8 small numbers, and no big numbers).
2. In the context of the Dailies... Taking either Quest or Elite items prep basically totally re-randomizes the shop pool, and there will be no guarantee that anything you had before in the pool will still be there. The only exception is, if you take Quest Items prep (but not Elite Items), any Elite Items in the shop pool should stay there untouched.
3. However! Prepping any item effectively changes the number of items in the list, which will change "n", so the same pure random number may round to a different integer. So even doing something innocuous as preparing a Spoon may mean that the whole shop pool gets altered. Exception: taking the same number of item-preparations, of the same group(s), means that any preceding groups will for sure be the same. So for example, if I take Quest Items and Spoon preparation, and someone else takes Quest Items and Dwarven Gauntlets preparation, we are guaranteed to get the same Quest Items (as our list is the same length, and Quest Items are at the front), but there is no such guarantee for the Basic or Elite items, as any "hits" between the ranks of the Spoon I took, and the Gauntlets the other player took, will be moved up one rank. However, if the other player takes Fine Sword instead of the Gauntlets, we are again guaranteed to get the same Elite Items, as our preps can only "mess up" the ranks within the Basic Items range.
Right?

"Thinker", just without the "ache".