Commits

Shlomi Fish committed b506de6

add more to #152.

  • Participants
  • Parent commits 708ffe6

Comments (0)

Files changed (2)

project-euler/152/analysis2.txt

+2 => 268304400
+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 ==
+536608800
+
+Must have «2» otherwise the sum cannot hold, so:
+
+

project-euler/152/euler-152-take3.pl

     }
 
     TRIM_STUFF:
-    for my $n ($MIN .. 1000)
+    for my $n ($MIN .. 208_000)
     {
         print "N == $n ; NumKeys == ", scalar(@keys), "\n";