Haskell implementations of some problems from projecteuler.net
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
1
10
100
102
104
108
11
110
112
113
116
117
119
12
120
124
125
13
14
145
15
16
160
162
164
17
173
179
18
187
19
191
2
20
206
21
22
23
24
25
26
27
28
29
3
30
31
32
33
34
35
36
37
38
39
4
40
41
42
43
44
45
46
47
48
49
5
50
51
52
53
55
56
57
58
59
6
60
63
65
67
7
71
73
74
76
77
79
8
85
86
87
89
9
91
92
95
97
99
.gitignore
README.md
timer

README.md

Problem Execution time Answer
1 0m0.003s 233168
2 0m0.755s 4613732
3 0m0.031s 6857
4 0m0.498s 906609
5 0m0.002s 232792560
6 0m0.002s 25164150
7 0m0.236s 104743
8 0m0.003s 23514624000
9 0m0.055s 31875000
10 0m0.227s 142913828922
11 0m0.034s 70600674
12 0m3.461s (576,76576500)
13 0m0.002s 5537376230
14 0m9.209s (525,837799)
15 0m0.002s 137846528820
16 0m0.002s 1366
17 0m0.003s 21124
18 0m0.012s 1074
19 0m0.010s 171
20 0m0.002s 648
21 0m1.149s 31626
22 0m0.064s 871198282
23 0m1.773s 4179871
24 0m5.877s 2783915460
25 0m0.095s 4782
26 0m0.615s (982,983)
27 0m1.337s -59231
28 0m0.003s 669171001
29 0m0.055s 9183
30 0m0.048s 443839
31 0m3.112s 73682
32 0m0.928s 45228
33 0m0.002s 100
34 0m0.022s Sum = 40730
35 0m0.161s There are 55 circular primes.
36 0m0.152s 872187
37 0m5.668s Sum = 748317
38 0m0.011s sol = 932718654
39 0m0.149s (16,840)
40 0m0.123s 210
41 0m0.049s 7652413
42 0m0.004s 162
43 0m7.190s Sum is 16695334890
44 0m0.157s 5482660
45 0m0.015s 1533776805
46 0m0.004s 5777
47 0m0.368s 134043
48 0m0.021s 9110846700
49 0m0.124s 296962999629
50 0m0.005s (543,997651)
51 0m3.396s 121313
52 0m0.130s 142857
53 0m0.049s 4075
55 0m0.194s There are 249 Lychrel numbers.
56 0m0.166s 972
57 0m3.164s 153
58 0m2.958s 26241
59 0m6.370s 107359
60 0m4.719s (13,5197,5701,6733,8389) -> 26033
63 0m0.004s There are 49 numbers.
65 0m0.001s 272
67 0m0.018s 7273
71 0m0.394s 428570 % 999997
73 0m0.568s 7295372
74 0m9.384s 402
76 0m0.016s 190569291
77 0m0.028s 71
79 0m0.003s 73162890
85 0m0.091s (2,2772)
86 0m37.563s 1818
87 0m2.750s 1097343
89 0m0.018s 743
91 0m1.016s 14234
92 0m3.326s 8581146
95 0m18.613s (28,14316)
97 0m0.002s 8739992577
99 0m0.059s 709
100 0m0.003s (1070379110497,Just 756872327473)
102 0m0.031s 228
104 0m0.350s 329468
108 0m0.007s 180180
110 0m0.422s (9350130049860600,4018613)
112 0m0.425s 1587000
113 0m0.047s 51161058134250
116 0m0.002s 20492570929
117 0m0.002s 100808458960497
119 0m0.002s (30,248155780267521)
120 0m3.995s 333082500
124 0m0.161s 21417
125 0m0.095s 2906969179
145 0m2.727s 608720
160 0m0.024s 957162496
162 0m0.003s 3D58725572C62302
164 0m0.006s 378158756814587
173 0m0.117s 1572729
179 0m19.766s 986262
187 0m8.224s 17427258
191 0m0.011s 1918080160
206 0m4.221s 1389019170
Average 1.813s