To find the minimum number of pebbles in the heap, we need to solve the problem using the given conditions about remainders. Let's denote the number of pebbles by \( N \).
1. According to the problem:
- When divided by 32, remainder is 10: \( N \equiv 10 \pmod{32} \)
- When divided by 40, remainder is 18: \( N \equiv 18 \pmod{40} \)
- When divided by 72, remainder is 50: \( N \equiv 50 \pmod{72} \)
2. We use the Chinese Remainder Theorem (CRT) to solve this system of congruences. The key idea of CRT is to find a solution modulo the least common multiple (LCM) of the moduli.
3. First, let's find the LCM of 32, 40, and 72.
4. Prime factorize each number:
- 32: \( 2^5 \)
- 40: \( 2^3 \cdot 5 \)
- 72: \( 2^3 \cdot 3^2 \)
5. LCM is obtained by taking the highest power of each prime:
- LCM = \( 2^5 \cdot 3^2 \cdot 5 = 720 \)
6. Now, find the number \( N \) which satisfies all these congruences.
7. First, solve the congruences two at a time. From:
- \( N \equiv 10 \pmod{32} \)
- \( N \equiv 18 \pmod{40} \)
8. Rewrite the first congruence: \( N = 32k + 10 \)
9. Substitute into the second congruence: \( 32k + 10 \equiv 18 \pmod{40} \)
Simplify: \( 32k \equiv 8 \pmod{40} \)
10. Since \( 32 \equiv -8 \pmod{40} \), this becomes:
\(-8k \equiv 8 \pmod{40} \)
11. Multiply both sides by -1 to get:
\( 8k \equiv -8 \equiv 32 \pmod{40} \)
12. Simplify: \( k \equiv 4 \pmod{5} \), \( k = 5m + 4 \)
13. Substitute back into \( N = 32k + 10 \):
\( N = 32(5m+4) + 10 \)
\( N = 160m + 128 + 10 \)
\( N = 160m + 138 \)
14. Now solve for the third congruence:
- From: \( N \equiv 50 \pmod{72} \)
15. Substitute: \( 160m + 138 \equiv 50 \pmod{72} \)
Simplify: \( 160m \equiv -88 \equiv -16 \pmod{72} \)
16. Simplify modulo: \( 16m \equiv 8 \pmod{36} \)
Divide the whole equation by 8:
\( 2m \equiv 1 \pmod{9} \)
Find the multiplicative inverse of 2 modulo 9, which is 5 (since \( 2 \times 5 \equiv 1 \pmod{9} \)):
17. Multiply through: \( m \equiv 5 \pmod{9} \), \( m = 9n + 5 \)
18. Substitute back: \( N = 160(9n + 5) + 138 \)
\( N = 1440n + 800 + 138 \)
\( N = 1440n + 938 \)
19. Find the minimum \( N = 1440(0) + 938 = 938 \) would work for the combined modulo 720 constraint:
20. Verify: \( N = 938 \) satisfies congruences.
Adjust for congruence 720 by checking adding 720 progressively.
The first valid option, below 720 after complete rotations: \( N = 1418 \).
Hence the minimum number of pebbles that satisfy all conditions is 1418.