Anetkin strýko má narodeniny v rovnaký deň v roku ako Anetkin teta. Strýko je starší ako…
- User
Anetkin strýko má narodeniny v rovnaký deň v roku ako Anetkin teta. Strýko je starší ako teta, nie však o viac ako o desať rokov, a obaja sú plnoletí. Na poslednej oslave ich narodenín si Anetka uvedomila, že keď vynásobí ich oslavované veky a výsledný súčin ešte vynásobí počtom psov, ktorí sa na oslave zišli, dostane číslo 2024.
Koľko psov mohlo byť na tejto oslave? Určite všetky možnosti.
- Assistant
To solve this problem, we need to find all positive integers ( d ) (number of dogs) such that there exist ages ( u ) (uncle's age) and ( a ) (aunt's age) satisfying the following conditions:
- Both ( u ) and ( a ) are integers greater than or equal to 18 (they are adults).
- The uncle is older than the aunt by no more than 10 years: ( u - a \leq 10 ).
- The product of their ages times the number of dogs equals 2024: ( u \times a \times d = 2024 ).
First, factorize 2024 to understand its divisibility:
( 2024 = 2^3 \times 11 \times 23 ).
All possible combinations of ( u ) and ( a ) (ages between 18 and 28, since the maximum difference is 10 years) are considered. We look for pairs where ( u \geq a \geq 18 ) and ( u \times a ) divides 2024. For each pair, we compute ( d = \frac{2024}{u \times a} ) and check if ( d ) is a positive integer.
After extensive testing of all age combinations, only one pair satisfies the conditions:
- Uncle's age ( u = 23 )
- Aunt's age ( a = 22 )