Back to Mathematical Olympiad
Difficulty: 5/102023 IOQM 2023 (Q19)

For in , let P(n) denote the product of the digits in and S(n) denote the sum of the digits in n. Consider the set A = {n in : P(n) is non-zero, square free and S(n) is proper divisor of P(n)}. Find the maximum possible number of digits of the numbers in A.

Guide / Hint

Hint 1: Start by analyzing the initial conditions and setting up the basic equations. P(n) is non-zero, square free & S(n)/P(n).

Hint 2: Look for algebraic properties, symmetry, or geometric theorems to simplify. => = x1 x2 x3 … xn => xi \neq 0.

Hint 3: Proceed with the final algebraic steps to solve the system. xi are square free & distinct.

Solution

Step 1: P(n) is non-zero, square free & S(n)/P(n)

Step 2: => = x1 x2 x3 … xn => xi \neq 0

Step 3: xi are square free & distinct

Step 4: => xi in {1, 5, 6, 7} or {1, 2, 3, 5, 7}

Step 5: P(n) = x1 x2 …xn

Step 6: S(n) = x1 + x2 +… + xn

Step 7: Now, S(n) is proper dinsor of P(n)

Step 8: and P(n) max is 2×3×5×7 therefore S(n) maximum is 3×5×7 = 105

Step 9: => For S(n) = 105

Step 10: => 2 + 2 + 5 + 7 + 1 + 1 + \dots1 = 105

Step 11: => = 88 => (88 + 4) = 92 digits.

Ready to track your progress and master these topics?

Create a free account
    2023 IOQM 2023 Q19 - Olympiad Math Olympiad Question | Leminno