Maths Olympiad Prep

Library / UKMT Senior Kangaroo /85 of 152

UKMT Senior Kangaroo, 2026

Algebra Difficulty 3.0 AMC 10/12 Prove it United Kingdom

The function P(x)P(x) is defined for any two-digit integer x=′ab′x = 'ab' as:
P(x)={500+(x−aa−bb)2if a,b≠01000000otherwiseP(x) = \begin{cases} 500 + (x - a^a - b^b)^2 & \text{if } a, b \neq 0 \\ 1000000 & \text{otherwise} \end{cases}
What is the minimum value of P(x)P(x)?

We don't reproduce this publisher's solutions. Their own solution is here — work the problem first.
Want a route through all this instead of an archive? The track puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.

Source: UK Mathematics Trust, licensed © UK Mathematics Trust; past papers published free at ukmt.org.uk. Statement reproduced verbatim; metadata (topic, difficulty) added by this project. Solutions are the publisher's, linked not copied.