A marker is placed at the origin in a -dimensional coordinate system. The marker has moves, and each move consists of changing one coordinate by exactly 1. Find the last three digits of the number of ways the marker can get to a point that is at least units away from the origin.
Details and assumptions
The marker has no restrictions on movement, it can move in any direction, forwards or backwards along any axis any time.
The marker can end with any nonnegative number of moves remaining.
The marker is forced to stop if it reaches a point at least units away from the origin.
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
You'll at last have 2 5 0 0 0 0 multiplied by some whole number.
- The product will always have 0 0 0 at the end.
Il faut que la marque mette au moins 500 pas avant qu'elle puisse atteindre un point qui est au moins 500 unités de l'origine.