MathLabs

Problem 5

A deck of n>1n>1 cards is given. A positive integer is written on each card. The deck has the property that the arithmetic mean of the numbers on each pair of cards is also the geometric mean of the numbers on some collection of one or more cards. For which nn does it follow that the numbers on the cards are all equal?
Step 7 of 8: The geometric mean uses only p-free cards
In plain words

A prime-free product cannot contain a prime-divisible factor.

xm=∏r=1mair,p∤x⟹p∤airx^m=\prod_{r=1}^{m}a_{i_r},\qquad p\nmid x\Longrightarrow p\nmid a_{i_r}
Detailed analysis

By the hypothesis, xx is the geometric mean of m≥1m\ge1 cards. Thus xm=∏r=1mairx^m=\prod_{r=1}^m a_{i_r}. Since p∤xp\nmid x, no factor is divisible by pp, so every factor is at most aka_k.