Originally Posted by

**Dogod11** Hello everyone,

I'm curious to know:

A different set of natural numbers has median 20 and medium 17.

What will be the largest number in this series?

What I have done:

Because they are natural numbers then are positive;

also for the calculation of the median must be sorted in increasing.

Assuming that the number of terms is odd, then the formula for calculating the median is: $\displaystyle \displaystyle\frac{n + 1 }{2} = 20$, where $\displaystyle n = 39.$

And the formula for calculating the average we have:

$\displaystyle \displaystyle\frac{\displaystyle\sum_{i=1}^n{X_i}} {39} =17\longrightarrow{\displaystyle\sum_{i=1}^n{X_i = 663}}$

I guess as I now know how many terms and their sum, I calculate the nth term,

for if we assume that the numbers are ordered increasingly, the latter being the largest.

Any ideas?

Thank you very much.

Greetings