jeudi 29 juillet 2021

How to get 50% probability from random generator, produces 0, 1 and 2 values

A random generator produces values from the list: 0, 1, 2 (with equal probabilty for all three values).

How to get only two values (50%: 0 and 50%: 1) from no more than ten uses of the generator.




Aucun commentaire:

Enregistrer un commentaire