DR.WANG Mathematics中文

2025 Euclid · Question 8

Probability · Probability of events · number-theory · Digits and place value

Problem outline

(a) Three students A,B,CA,B,C pass or fail independently. The probability that AA passes and BB fails is 3/203/20, that BB passes and CC fails is 1/41/4, and that A,CA,C both pass is 2/52/5. Find the probability that at least one student fails. (b) Count pairs of four-digit palindromes m>nm>n such that 3535 divides m−nm-n.

Show answer and methods 1 methods

Answer

(a) 7/107/10. (b) 9191.

Method 1 Eliminate a probability and separate the divisibility tests

(a) Let x,y,zx,y,z be the three individual pass probabilities. Independence gives x(1−y)=3/20x(1-y)=3/20, y(1−z)=1/4y(1-z)=1/4 and xz=2/5xz=2/5. The probability of at least one failure is 1−xyz=1−2y/51-xyz=1-2y/5. The first two equations yield x=3/[20(1−y)]x=3/[20(1-y)] and z=(4y−1)/(4y)z=(4y-1)/(4y), with 0<y<10<y<1. Substitution into the third equation gives 3(4y−1)=32y(1−y)3(4y-1)=32y(1-y).

This factors as (8y+1)(4y−3)=0(8y+1)(4y-3)=0. A probability cannot be negative, hence y=3/4y=3/4 and 1−2y/5=7/101-2y/5=7/10.

(b) A four-digit palindrome is 1001a+110b1001a+110b with 1≤a≤91\le a\le9 and 0≤b≤90\le b\le9. For a second palindrome with digits c,dc,d, the difference is a multiple of 3535 exactly when a≡c(mod5)a\equiv c\pmod5 and b≡d(mod7)b\equiv d\pmod7. This follows by reducing the difference separately modulo 55 and 77.

If a>ca>c, a−c=5a-c=5 and there are four outside-digit choices. The inner digits can agree in ten ways or differ by 77 in either direction in six ways, giving 4(10+6)=644(10+6)=64. If a=ca=c, there are nine choices and b−d=7b-d=7 gives three choices. The total is 64+27=9164+27=91.

Source and attribution

The outline and worked methods on this page were prepared for DR.WANG Mathematics.

Original question (external)