I would appreciate it if somebody could help me with the following problem:
Q: To find the number of ordered pairs of natural numbers in the following equation $$a+b+c+d=13$$ we want to add the condition that $\frac{a+b+c}{d}$ is an integer. What should I do? Please advise.
My Try:
{a,b,c,d} /. Solve[ a+b+c+d==13 &&1<={a,b,c,d}<=12,
IntegerQ[(a+b+c)/d]==True, {a,b,c,d}, Integers]
