Difference between ru2 and en1,
changed 398 character(s)
Формула Лежандра нужно для того, чтобы узнавать степень вхождения простого числа в факториал.↵
Вычислить значение степени вхождения простого числа р в число n! можно за асимптотику О(log(p) n).↵
Сама формула выглядит такLegendre's formula is needed in order to find out the degree of occurrence of a prime number in the factorial.↵
Calculate the value of the degree of occurrence of the prime number p in the number n! it is possible for the asymptotics of O(log(p) n).↵
The formula itself looks like this: $v(n!) = [n / /p^1] + [n / p^2] + [n / p^3] + ...$↵
Нетрудно доказать, что она вернаIt is not difficult to prove that it is true.