Mediana (Median) and Moda (mode)
We should first organize the number in a sequence to after finding the median:
Once we have the sequence done, considering the total of factors is even, the leftover number will be the median, ex: the number 6 (figure) is between the group of three factors on the left and three on the right sides.
But, if the total of factors is odd, we need to take two values from the middle, sum, and divide per two.
To define the mode, we need to find the most repetitive factors, ex: 6
But, if they are not repeating, we can consider the mode is all the numbers.
For further information (in Portuguese): https://www.youtube.com/watch?v=uAtPI64xep4