Shlomi Fish avatar Shlomi Fish committed b506de6

add more to #152.

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";
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.