I'm looking for a simple way to generate random samples of lists of integers such that each time I sample I'm sure it chooses a new random sample. This is closely related to Picking random items out of a list only once except that I cannot just generate all lists of samples because it is way too large.
EDIT
For example I would like to find a (1 is enough) sample of 40 elements from a set of 100 that have a certain property. Generating all random samples is impossible and while we could generate them one by one I ould prefer to take random samples.
RandomChoiceonce and break into subsets? – Daniel Lichtblau Nov 13 '20 at 16:49RandomSample[list, 40]. There will be no repetition in the result. Please read the documentation because it sounds like you don't know about the second argument. – flinty Nov 14 '20 at 12:51