0%

Problem 833


Problem 833


Square Triangle Products

Triangle numbers Tk are integers of the form k(k+1)/2.

A few triangle numbers happen to be perfect squares like T1=1 and T8=36, but more can be found when considering the product of two triangle numbers. For example, T2T24=3300=302.

Let S(n) be the sum of c for all integers triples (a,b,c) with 0<cn, c2=TaTb and 0<a<b. For example, S(100)=T1T8+T2T24+T1T49+T3T48=6+30+35+84=155.

You are given S(105)=1479802 and S(109)=241614948794.

Find S(1035). Give your answer modulo 136101521.


恰为平方数的三角形数乘积

三角形数Tk是指能表达为k(k+1)/2的整数。

有些三角形数恰好就是完全平方数,比如T1=1T8=36。如果考虑两个三角形数的乘积,那么可以找到更多的完全平方数。例如,T2T24=3300=302

考虑所有同时满足0<cnc2=TaTb0<a<b的整数三元组(a,b,c),并记S(n)为所有此类三元组中整数c之和。例如,S(100)=T1T8+T2T24+T1T49+T3T48=6+30+35+84=155

已知S(105)=1479802S(109)=241614948794

S(1035),并将你的答案对136101521取余。


Gitalking ...