MathDB
Speed P8

Source:

October 16, 2021
MOAA 2021speed

Problem Statement

Andrew chooses three (not necessarily distinct) integers aa, bb, and cc independently and uniformly at random from {1,2,3,4,5,6,7}\{1,2,3,4,5,6,7\}. Let pp be the probability that abc(a+b+c)abc(a+b+c) is divisible by 44. If pp can be written as mn\frac{m}{n} for relatively prime positive integers mm and nn, then compute m+nm+n.
Proposed by Andrew Wen