I will first present a speedy proof of this, and then an explanation as to why this works that I hope is more clear than the others that have been given.
Assume that $((p \land q) \implies z) \implies ((p \implies z) \lor (q \implies z))$ is false. Then it must be the case that If $p \land q \implies z$ is true, it can be that $p \implies z \lor q \implies z $ is false, meaning
$$(p \land q \implies z) \land \neg ((p \implies z) \lor (q \implies z))\\
(\neg(p \land q) \lor z) \land ((p \land \neg z) \land (q \land \neg z))$$
This is forced to be a contradiction. By the second parenthesis term, p and q are true and z is false, but by the right hand side if $z$ is false the $p$ or $q$ is false which is a contradiction, and if $z$ is true then it contradicts that $z$ is true. Therefore, the statement cannot be false and is a tautology. $\square$
Now, let's talk about what the sentence means and why your example doesn't make sense. I think the issue here is your prepositions don't exactly match up with what the sentence is written as. You would like to say that for a certain number $n$, if $2|n \wedge 5|n \implies 10|n$, which it does, then either $2|n \implies 10|n$ or $5|n \implies 10|n$. These are not causally true statements, but they are logically true. If we let $n=7$ the statement is clearly vacuously true. If $n=10$, you showed that it holds already. But what if $n = 15$? Then, $2 |15$ is false, $5 | 15$ is true, and $10 | 15$ is false. But since $2|15 \implies 10|15$ is vacuously true, the statement $$(2|n \implies 10|n) \lor (5|n \implies 10|n) \equiv (T) \lor (5|n\implies 10|n) \equiv T$$
Still evaluates to true. So in my own very loose words, this statement is true by vacuous truth mainly, and when its not equivalent it is just equivalent to $p \land q \implies z$.
This is a really good question however, as it does raise an excellent point to something most people don't realize, which is when and where vacuous truth applies, and why, even though many people say it just makes sense, it is very often confusing.
So I understand that ((p∧q)⇒z)⇒((p⇒z)∨(q⇒z)), is regarded as (∀n)(( ( p(n) ∧ q(n) ) ⟹ z(n) )⟹( (p(n)⟹z(n)) ∨ (q(n)⟹z(n)) )) in math logic, am I right? But even if yes I'm not sure how to interpret this: that the implication occurs only for this particular number n?
– Maciej Jałocha Feb 11 '24 at 18:55