(a) The multiplicative inverse of 1234 (mod 4321) is x so that 1234*x ≡ 1 (mod 4321). We can apply Euclid's algorithm:
4321 = 1234 * 3 + 619
1234 = 619 * 1 + 615
619 = 615 * 1 + 4
615 = 4 * 153 + 3
4 = 3 * 1 + 1
Now we will express 1 as a linear combination of 4321 and 1234:
1 = 4 - 3
1 = 4 - (615 - 4 * 153) = 4 * 154 - 615
1 = 619 * 154 - 155 * (1234 - 619) = 619 * 309 - 155 * 1234
1 = (4321 - 1234 * 3) * 309 - 155 * 1234 = 4321 * 309 - 1082 * 1234
This reduces to
1 ≡ -1082 * 1234 (mod 4321)
Thus, the inverse is
-1082 ≡ 3239 (mod 4321)
(b) Since both 24140 and 40902 are even, their GCD cannot equal 1, indicating no inverse exists.
34.56%. This is a binomial probability that can efficiently be calculated using the following formula: Here, n signifies the total number of trials (in this case, 4), x denotes the number of "successes" (which is 3), p is the success probability (60% or 0.6), and q indicates the failure rate (1 - p, thus 0.4). Plugging these values into the formula yields the solution: in percentage form, the probability is found to be 34.56%.
Adam and his dad split the bill in a 2:3 ratio. The dad’s share equals the 3 parts and is £52.20, so one part is 52.20 ÷ 3 = £17.40. Adam’s portion (2 parts) is 2 × 17.40 = £34.80. The total cost is 34.80 + 52.20 = £87.00.