- #1

- 7

- 0

I'm stucked computing this:

I have two discrete random variables 1≤X≤N and 1≤Y≤N. How many pairs of (X,Y) satisfy X²+Y²≤N²

I began by using a certain value for N and trying to search for patterns in the numbers that satisfy this constraint but I can't seem to get any meaningful pattern.

Any ideas?

Thanks.