Triangle numbers are integers of the form .
A few triangle numbers happen to be perfect squares like and , but more can be found when considering the product of two triangle numbers. For example, .
Let be the sum of for all integers triples with , and .
For example, .
You are given and .
Find . Give your answer modulo .
Write-up coming later
The complete problem is available here. An approach, code, and answer will be added later.