InterviewSolution
Saved Bookmarks
| 1. |
Check whether `6^n`can end with the digit `0` for any natural number `n`. |
|
Answer» We can write `6^n` as `(2**3)^n` or `2^n3^n`. Now, for the end digit to be `0`, number should be divided by 10 or it should be divided by 2 and 5. In our case, it can be divided by `2` and `3`, but, not by `5`. So, given number can not end with 0. |
|