Source

project-euler / project-euler / 152 / analysis2.txt

Diff from to

File project-euler/152/analysis2.txt

 
 Must have «2» otherwise the sum cannot hold, so:
 
+After 2:
+3 => 119246400
+4 => 67076100
+5 => 42928704
+6 => 29811600
+7 => 21902400
+8 => 16769025
+9 => 13249600
+10 => 10732176
+12 => 7452900
+13 => 6350400
+14 => 5475600
+15 => 4769856
+18 => 3312400
+20 => 2683044
+21 => 2433600
+24 => 1863225
+28 => 1368900
+30 => 1192464
+35 => 876096
+36 => 828100
+39 => 705600
+40 => 670761
+42 => 608400
+45 => 529984
+52 => 396900
+56 => 342225
+60 => 298116
+63 => 270400
+70 => 219024
+72 => 207025
+TARGET ==
+268304400
 
+Must have «3» otherwise the sum cannot be reached, so:
+
+After 2+3:
+
+4 => 67076100
+5 => 42928704
+6 => 29811600
+7 => 21902400
+8 => 16769025
+9 => 13249600
+10 => 10732176
+12 => 7452900
+13 => 6350400
+14 => 5475600
+15 => 4769856
+18 => 3312400
+20 => 2683044
+21 => 2433600
+24 => 1863225
+28 => 1368900
+30 => 1192464
+35 => 876096
+36 => 828100
+39 => 705600
+40 => 670761
+42 => 608400
+45 => 529984
+52 => 396900
+56 => 342225
+60 => 298116
+63 => 270400
+70 => 219024
+72 => 207025
+TARGET ==
+149058000