Can anyone help with this question?
Given that the number $8881$ is not a prime number, prove by contradiction that it has a prime factor that is at most $89$.
From the comments:
This was my approach: assume all prime factors > 89. The next prime number after 89 is 97. The smallest number composed of only 97 is 97^2 > 8881. However I realize that the reasoning on this is flawed i.e. showing that all prime factors can't be greater than 89 isn't the same as showing that at least one prime factor isn't greater than 89.
Why do you think your reasonning is flawed ?
If all prime factors where superior to $89$, they would be at least $97$. Counting them with their multiplicity, if there was only one such factor it would be $8881$, which contradicts the given fact that $8881$ is not prime. If there are at least two (possibly equal) factors $a$ and $b$, then $ab\leq 8881$ but $ab\geq 97*97>8881$, contradiction.
Your reasonning could be better worded but it is correct.