Posts 6 and 7 are a good start, although one of them will be more useful. Also, in both cases, you'll have to say more about k. For example, if k = 2 then neither k+5 = 7 nor 5k = 10 ends in 5. Note that n = k+5 and n = 5k don't fail for the same k all the time, 2 just happens to be a case where they both fail. k = 3 on the other hand is a case where k+5 fails but 5k works (8 doesn't end in 5, but 15 does). In what cases does k+5 work, i.e. for what values of k? What about 5k? This should tell you what further things you have to say about k. And rather than just saying them about k, work those facts into your expression. For example, if k has to be a perfect cube for n = k+5 to work, then instead write n = k³ + 5, rather than saying, "n = k + 5, where k is a cube."