返回题库

平方和

Sum of Squares

专题
Discrete Math / 离散数学
难度
L6

题目详情

Place a digit in each of the 25 spots in the below 5×5 grid, so that each 5-digit number (leading zeroes are ok) reading across and reading down is divisible by the number outside the grid, trying to maximize the sum of the 25 numbers you enter. An example of a completed grid with sum 100 is presented on the right.

Please submit your answer (along with any other comments you want to provide) as an ordered pair of your sum, and your 25 numbers, reading left to right, top to bottom.

Example submission: (100,1623552460048932486847030)

解析


Original Explanation

The best solutions we received had a sum of 205; there were 3 entrants who managed to reach that total. Congratulations to Tomas Vaškevičius for being randomly selected to win a Jane Street t-shirt! His submission appears here.