Step 1: Prime factorize the base
40 = 23 × 5
Therefore,
40n = 23n × 5n
Step 2: Find the highest power of 2 in 60!
Using Legendre’s formula:
v2(60!) = ⌊60/2⌋ + ⌊60/4⌋ + ⌊60/8⌋ + ⌊60/16⌋ + ⌊60/32⌋
= 30 + 15 + 7 + 3 + 1
= 56
Step 3: Find the highest power of 5 in 60!
v5(60!) = ⌊60/5⌋ + ⌊60/25⌋
= 12 + 2
= 14
Step 4: Determine the maximum possible value of n
For 40n to divide 60!, both conditions must be satisfied:
23n ≤ 256 ⇒ n ≤ 18
5n ≤ 514 ⇒ n ≤ 14
Hence, the limiting factor is the power of 5.
Final Answer:
The maximum value of n is
14