Mathematical model for a statistic problem