Upside Down is a modification of the famous Pythagorean equation:
A solution to this equation with and positive integers is a primitive solution if .
Let be the sum of over primitive Upside Down solutions such that and .
For the primitive solutions are and , thus .
It can be checked that and .
Find and give the last digits as your answer.
Write-up coming later
The complete problem is available here. An approach, code, and answer will be added later.