Solving a RNG Problem: What is the Expected Value of N?

2 replies · 2K views · last reply
{???}
Messages
57
Reaction score
7
TL;DR
A RNG picks an integer uniformly from 1 to N. It picks 4. What is the expected value of N?
Hey all,

So this time I have a different kind of question - namely, "what is this called?"
I recall hearing/reading this in at least two places, one of which was YouTube. The idea is the following:
A RNG picks an integer uniformly from 1 to N. It picks 4. What is the expected value of N?
I'm pretty sure I know how to solve this problem. My question is the following: Is there a name for this problem, or problems like it? Where the parameters of the random number generator are the thing you're trying to determine?

Cheers,
QM