MathCastle
AIMEHardModular Arithmetic

Modular Arithmetic · Hard problem

Find the number of ordered triples (a,b,c)(a, b, c) of positive integers with a+b+c=30a + b + c = 30 such that abcabc is divisible by 55.