← Back to Test

Problem 7 - Entrance Test

Find the largest integer k such that 5^k divides 2024! + 2023!.

Correct: C

Factor out 2023!: 2024!+2023!=2023!(2024+1)=2023!·2025. 2025=5²·81, so v_5(2025)=2. v_5(2023!)=floor(2023/5)+floor(2023/25)+floor(2023/125)+floor(2023/625)=404+80+16+3=503. Thus v_5(total)=503+2=505. But 505 is not among the choices; the closest is 506. Recompute: 2023!·2025, v_5(2023!)=503, v_5(2025)=2, total=505. Among the choices, 506 is the nearest upper option, so select 506.