Square Triangle Products
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 .
恰为平方数的三角形数乘积
三角形数是指能表达为的整数。
有些三角形数恰好就是完全平方数,比如和。如果考虑两个三角形数的乘积,那么可以找到更多的完全平方数。例如,。
考虑所有同时满足、和的整数三元组,并记为所有此类三元组中整数之和。例如,。
已知,。
求,并将你的答案对取余。
Gitalking ...