Maths Olympiad Prep

Library / /63 of 520

Number theory Difficulty 5.5 AIME, harder Find the answer

23. Let pp be a prime number, and nn be a positive integer.
(i) Find the formula for ee in pe(2n)!p^{e} \|(2 n)!, where
(2n)!!=(2n)(2n2)2(2 n)!!=(2 n)(2 n-2) \cdots 2
(ii) Find the formula for ff in pf(2n+1)!!p^{f} \|(2 n+1)!!, where
(2n1)!!=(2n1)(2n3)1(2 n-1)!!=(2 n-1)(2 n-3) \cdots 1

A number or a short expression. Fractions can be typed as 3/2, and spacing doesn't matter.

Solution

23. (i) When p=2p=2, e=n+j[n/2j];e=n+\sum_{j}\left[n / 2^{j}\right] ; when p>2p>2, e=j[n/pj]e=\sum_{j}\left[n / p^{j}\right].
(ii) When p=2p=2, f=0;f=0 ; when p>2p>2, f=j([2n/pj][n/pj])f=\sum_{j}\left(\left[2 n / p^{j}\right]-\left[n / p^{j}\right]\right).

Want a route through all this instead of an archive? The track puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic and difficulty added by this site.