Learn / Library / Mental math
Square of a number with a trailing digit
A rolling window holds samples. How many ordered pairs of positions (with repetition allowed) are there in that window?
Checking an answer needs JavaScript. The hint and the solution open without it.
Hint
For a number ending in , multiply the leading part by its successor.
Solution
- Write .
- Use with .
- Compute , so the leading part is .
- Append the : .
Answer: