You are viewing a single comment's thread. Return to all comments →
I arrived at the formula (k+9)C9+(k+10)C10 - 10*k - 2 non bouncy numbers less than 10^k using pen and paper. (combinatorics)
Also number of increasing and decreasing non bouncy numbers won't be the same, some people might make that mistake.
Project Euler #113: Non-bouncy numbers
You are viewing a single comment's thread. Return to all comments →
I arrived at the formula (k+9)C9+(k+10)C10 - 10*k - 2 non bouncy numbers less than 10^k using pen and paper. (combinatorics)
Also number of increasing and decreasing non bouncy numbers won't be the same, some people might make that mistake.