nums listlengths 4 4 | target int64 10 100 | solution listlengths 3 3 | optimal_path stringlengths 282 529 | start_size int64 4 4 | search_path stringlengths 505 16.8k | rating float64 0 0.99 | search_type stringclasses 5
values | heuristic stringclasses 2
values |
|---|---|---|---|---|---|---|---|---|
[
63,
19,
61,
55
] | 10 | [
"63-55=8",
"19+61=80",
"80/8=10"
] | Current State: 10:[63, 19, 61, 55], Operations: []
Exploring Operation: 63-55=8, Resulting Numbers: [19, 61, 8]
Generated Node #2: [19, 61, 8] from Operation: 63-55=8
Current State: 10:[19, 61, 8], Operations: ['63-55=8']
Exploring Operation: 19+61=80, Resulting Numbers: [8, 80]
Generated Node #3: [8, 80] from Operation: 19+61=80
Current State: 10:[8, 80], Operations: ['63-55=8', '19+61=80']
Exploring Operation: 80/8=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[63, 19, 61, 55], Operations: []
Exploring Operation: 63-55=8, Resulting Numbers: [19, 61, 8]
Generated Node #0,0: 10:[19, 61, 8] Operation: 63-55=8
Exploring Operation: 61-55=6, Resulting Numbers: [63, 19, 6]
Generated Node #0,1: 10:[63, 19, 6] Operation: 61-55=6
Exploring Operation: 63-61=2, Resulting Numbers: [19, 55, 2]
Generated Node #0,2: 10:[19, 55, 2] Operation: 63-61=2
Moving to Node #0,2
Current State: 10:[19, 55, 2], Operations: ['63-61=2']
Exploring Operation: 19-2=17, Resulting Numbers: [55, 17]
Generated Node #0,2,0: 10:[55, 17] Operation: 19-2=17
Exploring Operation: 55-19=36, Resulting Numbers: [2, 36]
Generated Node #0,2,1: 10:[2, 36] Operation: 55-19=36
Exploring Operation: 55-2=53, Resulting Numbers: [19, 53]
Generated Node #0,2,2: 10:[19, 53] Operation: 55-2=53
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 10:[2, 36], Operations: ['63-61=2', '55-19=36']
Exploring Operation: 2+36=38, Resulting Numbers: [38]
38,10 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,10 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 10:[55, 17], Operations: ['63-61=2', '19-2=17']
Exploring Operation: 55-17=38, Resulting Numbers: [38]
38,10 unequal: No Solution
Exploring Operation: 55+17=72, Resulting Numbers: [72]
72,10 unequal: No Solution
Exploring Operation: 55*17=935, Resulting Numbers: [935]
935,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 10:[19, 53], Operations: ['63-61=2', '55-2=53']
Exploring Operation: 19+53=72, Resulting Numbers: [72]
72,10 unequal: No Solution
Exploring Operation: 19*53=1007, Resulting Numbers: [1007]
1007,10 unequal: No Solution
Exploring Operation: 53-19=34, Resulting Numbers: [34]
34,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 10:[19, 61, 8], Operations: ['63-55=8']
Exploring Operation: 61-8=53, Resulting Numbers: [19, 53]
Generated Node #0,0,0: 10:[19, 53] Operation: 61-8=53
Exploring Operation: 19-8=11, Resulting Numbers: [61, 11]
Generated Node #0,0,1: 10:[61, 11] Operation: 19-8=11
Exploring Operation: 61-19=42, Resulting Numbers: [8, 42]
Generated Node #0,0,2: 10:[8, 42] Operation: 61-19=42
Moving to Node #0,1
Current State: 10:[63, 19, 6], Operations: ['61-55=6']
Exploring Operation: 63-6=57, Resulting Numbers: [19, 57]
Generated Node #0,1,0: 10:[19, 57] Operation: 63-6=57
Exploring Operation: 19-6=13, Resulting Numbers: [63, 13]
Generated Node #0,1,1: 10:[63, 13] Operation: 19-6=13
Exploring Operation: 63-19=44, Resulting Numbers: [6, 44]
Generated Node #0,1,2: 10:[6, 44] Operation: 63-19=44
Moving to Node #0,0,2
Current State: 10:[8, 42], Operations: ['63-55=8', '61-19=42']
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,10 unequal: No Solution
Exploring Operation: 8+42=50, Resulting Numbers: [50]
50,10 unequal: No Solution
Exploring Operation: 8*42=336, Resulting Numbers: [336]
336,10 unequal: No Solution
Moving to Node #0,1,2
Current State: 10:[6, 44], Operations: ['61-55=6', '63-19=44']
Exploring Operation: 6+44=50, Resulting Numbers: [50]
50,10 unequal: No Solution
Exploring Operation: 6*44=264, Resulting Numbers: [264]
264,10 unequal: No Solution
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,10 unequal: No Solution
Moving to Node #0,0,1
Current State: 10:[61, 11], Operations: ['63-55=8', '19-8=11']
Exploring Operation: 61*11=671, Resulting Numbers: [671]
671,10 unequal: No Solution
Exploring Operation: 61-11=50, Resulting Numbers: [50]
50,10 unequal: No Solution
Exploring Operation: 61+11=72, Resulting Numbers: [72]
72,10 unequal: No Solution
Moving to Node #0,0,0
Current State: 10:[19, 53], Operations: ['63-55=8', '61-8=53']
Exploring Operation: 19+53=72, Resulting Numbers: [72]
72,10 unequal: No Solution
Exploring Operation: 19*53=1007, Resulting Numbers: [1007]
1007,10 unequal: No Solution
Exploring Operation: 53-19=34, Resulting Numbers: [34]
34,10 unequal: No Solution
Moving to Node #0,1,1
Current State: 10:[63, 13], Operations: ['61-55=6', '19-6=13']
Exploring Operation: 63+13=76, Resulting Numbers: [76]
76,10 unequal: No Solution
Exploring Operation: 63*13=819, Resulting Numbers: [819]
819,10 unequal: No Solution
Exploring Operation: 63-13=50, Resulting Numbers: [50]
50,10 unequal: No Solution
Moving to Node #0,1,0
Current State: 10:[19, 57], Operations: ['61-55=6', '63-6=57']
Exploring Operation: 57/19=3, Resulting Numbers: [3]
3,10 unequal: No Solution
Exploring Operation: 19+57=76, Resulting Numbers: [76]
76,10 unequal: No Solution
Exploring Operation: 57-19=38, Resulting Numbers: [38]
38,10 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
34,
37,
90,
51
] | 81 | [
"37-34=3",
"90/3=30",
"51+30=81"
] | Current State: 81:[34, 37, 90, 51], Operations: []
Exploring Operation: 37-34=3, Resulting Numbers: [90, 51, 3]
Generated Node #2: [90, 51, 3] from Operation: 37-34=3
Current State: 81:[90, 51, 3], Operations: ['37-34=3']
Exploring Operation: 90/3=30, Resulting Numbers: [51, 30]
Generated Node #3: [51, 30] from Operation: 90/3=30
Current State: 81:[51, 30], Operations: ['37-34=3', '90/3=30']
Exploring Operation: 51+30=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[34, 37, 90, 51], Operations: []
Exploring Operation: 51-37=14, Resulting Numbers: [34, 90, 14]
Generated Node #0,0: 81:[34, 90, 14] Operation: 51-37=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[34, 90, 14], Operations: ['51-37=14']
Exploring Operation: 90-14=76, Resulting Numbers: [34, 76]
Generated Node #0,0,0: 81:[34, 76] Operation: 90-14=76
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 81:[34, 76], Operations: ['51-37=14', '90-14=76']
Exploring Operation: 76-34=42, Resulting Numbers: [42]
42,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
65,
8,
26,
43
] | 40 | [
"65-8=57",
"43-26=17",
"57-17=40"
] | Current State: 40:[65, 8, 26, 43], Operations: []
Exploring Operation: 65-8=57, Resulting Numbers: [26, 43, 57]
Generated Node #2: [26, 43, 57] from Operation: 65-8=57
Current State: 40:[26, 43, 57], Operations: ['65-8=57']
Exploring Operation: 43-26=17, Resulting Numbers: [57, 17]
Generated Node #3: [57, 17] from Operation: 43-26=17
Current State: 40:[57, 17], Operations: ['65-8=57', '43-26=17']
Exploring Operation: 57-17=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[65, 8, 26, 43], Operations: []
Exploring Operation: 65-8=57, Resulting Numbers: [26, 43, 57]
Generated Node #0,0: 40:[26, 43, 57] Operation: 65-8=57
Exploring Operation: 65-26=39, Resulting Numbers: [8, 43, 39]
Generated Node #0,1: 40:[8, 43, 39] Operation: 65-26=39
Exploring Operation: 65-43=22, Resulting Numbers: [8, 26, 22]
Generated Node #0,2: 40:[8, 26, 22] Operation: 65-43=22
Start Sub Search at level 1: Moving to Node #0,1
Current State: 40:[8, 43, 39], Operations: ['65-26=39']
Exploring Operation: 43-8=35, Resulting Numbers: [39, 35]
Generated Node #0,1,0: 40:[39, 35] Operation: 43-8=35
Exploring Operation: 8+39=47, Resulting Numbers: [43, 47]
Generated Node #0,1,1: 40:[43, 47] Operation: 8+39=47
Exploring Operation: 43-39=4, Resulting Numbers: [8, 4]
Generated Node #0,1,2: 40:[8, 4] Operation: 43-39=4
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 40:[8, 4], Operations: ['65-26=39', '43-39=4']
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,40 unequal: No Solution
Exploring Operation: 8+4=12, Resulting Numbers: [12]
12,40 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 40:[39, 35], Operations: ['65-26=39', '43-8=35']
Exploring Operation: 39+35=74, Resulting Numbers: [74]
74,40 unequal: No Solution
Exploring Operation: 39-35=4, Resulting Numbers: [4]
4,40 unequal: No Solution
Exploring Operation: 39*35=1365, Resulting Numbers: [1365]
1365,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 40:[43, 47], Operations: ['65-26=39', '8+39=47']
Exploring Operation: 47-43=4, Resulting Numbers: [4]
4,40 unequal: No Solution
Exploring Operation: 43+47=90, Resulting Numbers: [90]
90,40 unequal: No Solution
Exploring Operation: 43*47=2021, Resulting Numbers: [2021]
2021,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 40:[8, 26, 22], Operations: ['65-43=22']
Exploring Operation: 26-8=18, Resulting Numbers: [22, 18]
Generated Node #0,2,0: 40:[22, 18] Operation: 26-8=18
Exploring Operation: 8+26=34, Resulting Numbers: [22, 34]
Generated Node #0,2,1: 40:[22, 34] Operation: 8+26=34
Exploring Operation: 26-22=4, Resulting Numbers: [8, 4]
Generated Node #0,2,2: 40:[8, 4] Operation: 26-22=4
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 40:[8, 4], Operations: ['65-43=22', '26-22=4']
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,40 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,40 unequal: No Solution
Exploring Operation: 8+4=12, Resulting Numbers: [12]
12,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 40:[22, 18], Operations: ['65-43=22', '26-8=18']
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,40 unequal: No Solution
Exploring Operation: 22+18=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[65, 8, 26, 43], Operations: []
Exploring Operation: 65-43=22, Resulting Numbers: [8, 26, 22]
Generated Node #0,2: 40:[8, 26, 22] Operation: 65-43=22
Moving to Node #0,2
Current State: 40:[8, 26, 22], Operations: ['65-43=22']
Exploring Operation: 26-8=18, Resulting Numbers: [22, 18]
Generated Node #0,2,0: 40:[22, 18] Operation: 26-8=18
Moving to Node #0,2,0
Current State: 40:[22, 18], Operations: ['65-43=22', '26-8=18']
Exploring Operation: 22+18=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.976563 | hs_3 | sum_heuristic |
[
21,
85,
18,
1
] | 81 | [
"85-21=64",
"18-1=17",
"64+17=81"
] | Current State: 81:[21, 85, 18, 1], Operations: []
Exploring Operation: 85-21=64, Resulting Numbers: [18, 1, 64]
Generated Node #2: [18, 1, 64] from Operation: 85-21=64
Current State: 81:[18, 1, 64], Operations: ['85-21=64']
Exploring Operation: 18-1=17, Resulting Numbers: [64, 17]
Generated Node #3: [64, 17] from Operation: 18-1=17
Current State: 81:[64, 17], Operations: ['85-21=64', '18-1=17']
Exploring Operation: 64+17=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[21, 85, 18, 1], Operations: []
Exploring Operation: 21-18=3, Resulting Numbers: [85, 1, 3]
Generated Node #0,0: 81:[85, 1, 3] Operation: 21-18=3
Moving to Node #0,0
Current State: 81:[85, 1, 3], Operations: ['21-18=3']
Exploring Operation: 85-1=84, Resulting Numbers: [3, 84]
Generated Node #0,0,0: 81:[3, 84] Operation: 85-1=84
Moving to Node #0,0,0
Current State: 81:[3, 84], Operations: ['21-18=3', '85-1=84']
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[21, 85, 18, 1], Operations: []
Exploring Operation: 21-18=3, Resulting Numbers: [85, 1, 3]
Generated Node #0,0: 81:[85, 1, 3] Operation: 21-18=3
Moving to Node #0,0
Current State: 81:[85, 1, 3], Operations: ['21-18=3']
Exploring Operation: 85-1=84, Resulting Numbers: [3, 84]
Generated Node #0,0,0: 81:[3, 84] Operation: 85-1=84
Moving to Node #0,0,0
Current State: 81:[3, 84], Operations: ['21-18=3', '85-1=84']
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
55,
98,
6,
78
] | 76 | [
"55-6=49",
"98/49=2",
"78-2=76"
] | Current State: 76:[55, 98, 6, 78], Operations: []
Exploring Operation: 55-6=49, Resulting Numbers: [98, 78, 49]
Generated Node #2: [98, 78, 49] from Operation: 55-6=49
Current State: 76:[98, 78, 49], Operations: ['55-6=49']
Exploring Operation: 98/49=2, Resulting Numbers: [78, 2]
Generated Node #3: [78, 2] from Operation: 98/49=2
Current State: 76:[78, 2], Operations: ['55-6=49', '98/49=2']
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[55, 98, 6, 78], Operations: []
Exploring Operation: 98-78=20, Resulting Numbers: [55, 6, 20]
Generated Node #0,0: 76:[55, 6, 20] Operation: 98-78=20
Exploring Operation: 98-55=43, Resulting Numbers: [6, 78, 43]
Generated Node #0,1: 76:[6, 78, 43] Operation: 98-55=43
Moving to Node #0,1
Current State: 76:[6, 78, 43], Operations: ['98-55=43']
Exploring Operation: 43-6=37, Resulting Numbers: [78, 37]
Generated Node #0,1,0: 76:[78, 37] Operation: 43-6=37
Exploring Operation: 78-43=35, Resulting Numbers: [6, 35]
Generated Node #0,1,1: 76:[6, 35] Operation: 78-43=35
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 76:[78, 37], Operations: ['98-55=43', '43-6=37']
Exploring Operation: 78+37=115, Resulting Numbers: [115]
115,76 unequal: No Solution
Exploring Operation: 78-37=41, Resulting Numbers: [41]
41,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 76:[6, 35], Operations: ['98-55=43', '78-43=35']
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,76 unequal: No Solution
Exploring Operation: 6+35=41, Resulting Numbers: [41]
41,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 76:[55, 6, 20], Operations: ['98-78=20']
Exploring Operation: 55-20=35, Resulting Numbers: [6, 35]
Generated Node #0,0,0: 76:[6, 35] Operation: 55-20=35
Exploring Operation: 55+20=75, Resulting Numbers: [6, 75]
Generated Node #0,0,1: 76:[6, 75] Operation: 55+20=75
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 76:[6, 75], Operations: ['98-78=20', '55+20=75']
Exploring Operation: 75-6=69, Resulting Numbers: [69]
69,76 unequal: No Solution
Exploring Operation: 6+75=81, Resulting Numbers: [81]
81,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 76:[6, 35], Operations: ['98-78=20', '55-20=35']
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,76 unequal: No Solution
Exploring Operation: 6+35=41, Resulting Numbers: [41]
41,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
20,
55,
45,
76
] | 74 | [
"55-45=10",
"20/10=2",
"76-2=74"
] | Current State: 74:[20, 55, 45, 76], Operations: []
Exploring Operation: 55-45=10, Resulting Numbers: [20, 76, 10]
Generated Node #2: [20, 76, 10] from Operation: 55-45=10
Current State: 74:[20, 76, 10], Operations: ['55-45=10']
Exploring Operation: 20/10=2, Resulting Numbers: [76, 2]
Generated Node #3: [76, 2] from Operation: 20/10=2
Current State: 74:[76, 2], Operations: ['55-45=10', '20/10=2']
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[20, 55, 45, 76], Operations: []
Exploring Operation: 55-45=10, Resulting Numbers: [20, 76, 10]
Generated Node #0,0: 74:[20, 76, 10] Operation: 55-45=10
Exploring Operation: 55-20=35, Resulting Numbers: [45, 76, 35]
Generated Node #0,1: 74:[45, 76, 35] Operation: 55-20=35
Exploring Operation: 20+55=75, Resulting Numbers: [45, 76, 75]
Generated Node #0,2: 74:[45, 76, 75] Operation: 20+55=75
Moving to Node #0,2
Current State: 74:[45, 76, 75], Operations: ['20+55=75']
Exploring Operation: 76-45=31, Resulting Numbers: [75, 31]
Generated Node #0,2,0: 74:[75, 31] Operation: 76-45=31
Exploring Operation: 76-75=1, Resulting Numbers: [45, 1]
Generated Node #0,2,1: 74:[45, 1] Operation: 76-75=1
Exploring Operation: 75-45=30, Resulting Numbers: [76, 30]
Generated Node #0,2,2: 74:[76, 30] Operation: 75-45=30
Moving to Node #0,1
Current State: 74:[45, 76, 35], Operations: ['55-20=35']
Exploring Operation: 45+35=80, Resulting Numbers: [76, 80]
Generated Node #0,1,0: 74:[76, 80] Operation: 45+35=80
Exploring Operation: 76-45=31, Resulting Numbers: [35, 31]
Generated Node #0,1,1: 74:[35, 31] Operation: 76-45=31
Exploring Operation: 45-35=10, Resulting Numbers: [76, 10]
Generated Node #0,1,2: 74:[76, 10] Operation: 45-35=10
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 74:[76, 80], Operations: ['55-20=35', '45+35=80']
Exploring Operation: 80-76=4, Resulting Numbers: [4]
4,74 unequal: No Solution
Exploring Operation: 76*80=6080, Resulting Numbers: [6080]
6080,74 unequal: No Solution
Exploring Operation: 76+80=156, Resulting Numbers: [156]
156,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 74:[35, 31], Operations: ['55-20=35', '76-45=31']
Exploring Operation: 35+31=66, Resulting Numbers: [66]
66,74 unequal: No Solution
Exploring Operation: 35-31=4, Resulting Numbers: [4]
4,74 unequal: No Solution
Exploring Operation: 35*31=1085, Resulting Numbers: [1085]
1085,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 74:[76, 10], Operations: ['55-20=35', '45-35=10']
Exploring Operation: 76+10=86, Resulting Numbers: [86]
86,74 unequal: No Solution
Exploring Operation: 76*10=760, Resulting Numbers: [760]
760,74 unequal: No Solution
Exploring Operation: 76-10=66, Resulting Numbers: [66]
66,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 74:[20, 76, 10], Operations: ['55-45=10']
Exploring Operation: 20-10=10, Resulting Numbers: [76, 10]
Generated Node #0,0,0: 74:[76, 10] Operation: 20-10=10
Exploring Operation: 20+10=30, Resulting Numbers: [76, 30]
Generated Node #0,0,1: 74:[76, 30] Operation: 20+10=30
Exploring Operation: 20/10=2, Resulting Numbers: [76, 2]
Generated Node #0,0,2: 74:[76, 2] Operation: 20/10=2
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 74:[76, 2], Operations: ['55-45=10', '20/10=2']
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[20, 55, 45, 76], Operations: []
Exploring Operation: 55-45=10, Resulting Numbers: [20, 76, 10]
Generated Node #0,0: 74:[20, 76, 10] Operation: 55-45=10
Moving to Node #0,0
Current State: 74:[20, 76, 10], Operations: ['55-45=10']
Exploring Operation: 20/10=2, Resulting Numbers: [76, 2]
Generated Node #0,0,2: 74:[76, 2] Operation: 20/10=2
Moving to Node #0,0,2
Current State: 74:[76, 2], Operations: ['55-45=10', '20/10=2']
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_3 | mult_heuristic |
[
96,
48,
69,
80
] | 99 | [
"96+69=165",
"48*165=7920",
"7920/80=99"
] | Current State: 99:[96, 48, 69, 80], Operations: []
Exploring Operation: 96+69=165, Resulting Numbers: [48, 80, 165]
Generated Node #2: [48, 80, 165] from Operation: 96+69=165
Current State: 99:[48, 80, 165], Operations: ['96+69=165']
Exploring Operation: 48*165=7920, Resulting Numbers: [80, 7920]
Generated Node #3: [80, 7920] from Operation: 48*165=7920
Current State: 99:[80, 7920], Operations: ['96+69=165', '48*165=7920']
Exploring Operation: 7920/80=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[96, 48, 69, 80], Operations: []
Exploring Operation: 80-69=11, Resulting Numbers: [96, 48, 11]
Generated Node #0,0: 99:[96, 48, 11] Operation: 80-69=11
Moving to Node #0,0
Current State: 99:[96, 48, 11], Operations: ['80-69=11']
Exploring Operation: 96/48=2, Resulting Numbers: [11, 2]
Generated Node #0,0,0: 99:[11, 2] Operation: 96/48=2
Moving to Node #0,0,0
Current State: 99:[11, 2], Operations: ['80-69=11', '96/48=2']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,99 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
91,
7,
16,
35
] | 56 | [
"91-35=56",
"7*16=112",
"112-56=56"
] | Current State: 56:[91, 7, 16, 35], Operations: []
Exploring Operation: 91-35=56, Resulting Numbers: [7, 16, 56]
Generated Node #2: [7, 16, 56] from Operation: 91-35=56
Current State: 56:[7, 16, 56], Operations: ['91-35=56']
Exploring Operation: 7*16=112, Resulting Numbers: [56, 112]
Generated Node #3: [56, 112] from Operation: 7*16=112
Current State: 56:[56, 112], Operations: ['91-35=56', '7*16=112']
Exploring Operation: 112-56=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[91, 7, 16, 35], Operations: []
Exploring Operation: 91-35=56, Resulting Numbers: [7, 16, 56]
Generated Node #0,0: 56:[7, 16, 56] Operation: 91-35=56
Exploring Operation: 91/7=13, Resulting Numbers: [16, 35, 13]
Generated Node #0,1: 56:[16, 35, 13] Operation: 91/7=13
Moving to Node #0,0
Current State: 56:[7, 16, 56], Operations: ['91-35=56']
Exploring Operation: 56/7=8, Resulting Numbers: [16, 8]
Generated Node #0,0,0: 56:[16, 8] Operation: 56/7=8
Exploring Operation: 16-7=9, Resulting Numbers: [56, 9]
Generated Node #0,0,1: 56:[56, 9] Operation: 16-7=9
Moving to Node #0,1
Current State: 56:[16, 35, 13], Operations: ['91/7=13']
Exploring Operation: 35-16=19, Resulting Numbers: [13, 19]
Generated Node #0,1,0: 56:[13, 19] Operation: 35-16=19
Exploring Operation: 16+35=51, Resulting Numbers: [13, 51]
Generated Node #0,1,1: 56:[13, 51] Operation: 16+35=51
Moving to Node #0,0,1
Current State: 56:[56, 9], Operations: ['91-35=56', '16-7=9']
Exploring Operation: 56+9=65, Resulting Numbers: [65]
65,56 unequal: No Solution
Exploring Operation: 56-9=47, Resulting Numbers: [47]
47,56 unequal: No Solution
Moving to Node #0,0,0
Current State: 56:[16, 8], Operations: ['91-35=56', '56/7=8']
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,56 unequal: No Solution
Moving to Node #0,1,1
Current State: 56:[13, 51], Operations: ['91/7=13', '16+35=51']
Exploring Operation: 51-13=38, Resulting Numbers: [38]
38,56 unequal: No Solution
Exploring Operation: 13+51=64, Resulting Numbers: [64]
64,56 unequal: No Solution
Moving to Node #0,1,0
Current State: 56:[13, 19], Operations: ['91/7=13', '35-16=19']
Exploring Operation: 13+19=32, Resulting Numbers: [32]
32,56 unequal: No Solution
Exploring Operation: 19-13=6, Resulting Numbers: [6]
6,56 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
62,
46,
2,
96
] | 33 | [
"62+96=158",
"158/2=79",
"79-46=33"
] | Current State: 33:[62, 46, 2, 96], Operations: []
Exploring Operation: 62+96=158, Resulting Numbers: [46, 2, 158]
Generated Node #2: [46, 2, 158] from Operation: 62+96=158
Current State: 33:[46, 2, 158], Operations: ['62+96=158']
Exploring Operation: 158/2=79, Resulting Numbers: [46, 79]
Generated Node #3: [46, 79] from Operation: 158/2=79
Current State: 33:[46, 79], Operations: ['62+96=158', '158/2=79']
Exploring Operation: 79-46=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[62, 46, 2, 96], Operations: []
Exploring Operation: 62-46=16, Resulting Numbers: [2, 96, 16]
Generated Node #0,0: 33:[2, 96, 16] Operation: 62-46=16
Exploring Operation: 96-46=50, Resulting Numbers: [62, 2, 50]
Generated Node #0,1: 33:[62, 2, 50] Operation: 96-46=50
Exploring Operation: 96/2=48, Resulting Numbers: [62, 46, 48]
Generated Node #0,2: 33:[62, 46, 48] Operation: 96/2=48
Exploring Operation: 96-62=34, Resulting Numbers: [46, 2, 34]
Generated Node #0,3: 33:[46, 2, 34] Operation: 96-62=34
Start Sub Search at level 1: Moving to Node #0,3
Current State: 33:[46, 2, 34], Operations: ['96-62=34']
Exploring Operation: 46-34=12, Resulting Numbers: [2, 12]
Generated Node #0,3,0: 33:[2, 12] Operation: 46-34=12
Exploring Operation: 46/2=23, Resulting Numbers: [34, 23]
Generated Node #0,3,1: 33:[34, 23] Operation: 46/2=23
Exploring Operation: 46-2=44, Resulting Numbers: [34, 44]
Generated Node #0,3,2: 33:[34, 44] Operation: 46-2=44
Exploring Operation: 34-2=32, Resulting Numbers: [46, 32]
Generated Node #0,3,3: 33:[46, 32] Operation: 34-2=32
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 33:[2, 12], Operations: ['96-62=34', '46-34=12']
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,33 unequal: No Solution
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,33 unequal: No Solution
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,33 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 33:[34, 23], Operations: ['96-62=34', '46/2=23']
Exploring Operation: 34*23=782, Resulting Numbers: [782]
782,33 unequal: No Solution
Exploring Operation: 34-23=11, Resulting Numbers: [11]
11,33 unequal: No Solution
Exploring Operation: 34+23=57, Resulting Numbers: [57]
57,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 33:[34, 44], Operations: ['96-62=34', '46-2=44']
Exploring Operation: 44-34=10, Resulting Numbers: [10]
10,33 unequal: No Solution
Exploring Operation: 34*44=1496, Resulting Numbers: [1496]
1496,33 unequal: No Solution
Exploring Operation: 34+44=78, Resulting Numbers: [78]
78,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 33:[46, 32], Operations: ['96-62=34', '34-2=32']
Exploring Operation: 46+32=78, Resulting Numbers: [78]
78,33 unequal: No Solution
Exploring Operation: 46-32=14, Resulting Numbers: [14]
14,33 unequal: No Solution
Exploring Operation: 46*32=1472, Resulting Numbers: [1472]
1472,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 33:[62, 2, 50], Operations: ['96-46=50']
Exploring Operation: 50/2=25, Resulting Numbers: [62, 25]
Generated Node #0,1,0: 33:[62, 25] Operation: 50/2=25
Exploring Operation: 62-50=12, Resulting Numbers: [2, 12]
Generated Node #0,1,1: 33:[2, 12] Operation: 62-50=12
Exploring Operation: 62/2=31, Resulting Numbers: [50, 31]
Generated Node #0,1,2: 33:[50, 31] Operation: 62/2=31
Exploring Operation: 62-2=60, Resulting Numbers: [50, 60]
Generated Node #0,1,3: 33:[50, 60] Operation: 62-2=60
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 33:[2, 12], Operations: ['96-46=50', '62-50=12']
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,33 unequal: No Solution
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,33 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,33 unequal: No Solution
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 33:[50, 31], Operations: ['96-46=50', '62/2=31']
Exploring Operation: 50-31=19, Resulting Numbers: [19]
19,33 unequal: No Solution
Exploring Operation: 50*31=1550, Resulting Numbers: [1550]
1550,33 unequal: No Solution
Exploring Operation: 50+31=81, Resulting Numbers: [81]
81,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 33:[62, 25], Operations: ['96-46=50', '50/2=25']
Exploring Operation: 62*25=1550, Resulting Numbers: [1550]
1550,33 unequal: No Solution
Exploring Operation: 62+25=87, Resulting Numbers: [87]
87,33 unequal: No Solution
Exploring Operation: 62-25=37, Resulting Numbers: [37]
37,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 33:[50, 60], Operations: ['96-46=50', '62-2=60']
Exploring Operation: 60-50=10, Resulting Numbers: [10]
10,33 unequal: No Solution
Exploring Operation: 50*60=3000, Resulting Numbers: [3000]
3000,33 unequal: No Solution
Exploring Operation: 50+60=110, Resulting Numbers: [110]
110,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 33:[62, 46, 48], Operations: ['96/2=48']
Exploring Operation: 48-46=2, Resulting Numbers: [62, 2]
Generated Node #0,2,0: 33:[62, 2] Operation: 48-46=2
Exploring Operation: 62+46=108, Resulting Numbers: [48, 108]
Generated Node #0,2,1: 33:[48, 108] Operation: 62+46=108
Exploring Operation: 62-46=16, Resulting Numbers: [48, 16]
Generated Node #0,2,2: 33:[48, 16] Operation: 62-46=16
Exploring Operation: 62-48=14, Resulting Numbers: [46, 14]
Generated Node #0,2,3: 33:[46, 14] Operation: 62-48=14
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 33:[46, 14], Operations: ['96/2=48', '62-48=14']
Exploring Operation: 46+14=60, Resulting Numbers: [60]
60,33 unequal: No Solution
Exploring Operation: 46-14=32, Resulting Numbers: [32]
32,33 unequal: No Solution
Exploring Operation: 46*14=644, Resulting Numbers: [644]
644,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 33:[48, 16], Operations: ['96/2=48', '62-46=16']
Exploring Operation: 48-16=32, Resulting Numbers: [32]
32,33 unequal: No Solution
Exploring Operation: 48/16=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Exploring Operation: 48+16=64, Resulting Numbers: [64]
64,33 unequal: No Solution
Exploring Operation: 48*16=768, Resulting Numbers: [768]
768,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 33:[62, 2], Operations: ['96/2=48', '48-46=2']
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,33 unequal: No Solution
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,33 unequal: No Solution
Exploring Operation: 62+2=64, Resulting Numbers: [64]
64,33 unequal: No Solution
Exploring Operation: 62*2=124, Resulting Numbers: [124]
124,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 33:[48, 108], Operations: ['96/2=48', '62+46=108']
Exploring Operation: 48*108=5184, Resulting Numbers: [5184]
5184,33 unequal: No Solution
Exploring Operation: 48+108=156, Resulting Numbers: [156]
156,33 unequal: No Solution
Exploring Operation: 108-48=60, Resulting Numbers: [60]
60,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[2, 96, 16], Operations: ['62-46=16']
Exploring Operation: 2*16=32, Resulting Numbers: [96, 32]
Generated Node #0,0,0: 33:[96, 32] Operation: 2*16=32
Exploring Operation: 96/2=48, Resulting Numbers: [16, 48]
Generated Node #0,0,1: 33:[16, 48] Operation: 96/2=48
Exploring Operation: 96/16=6, Resulting Numbers: [2, 6]
Generated Node #0,0,2: 33:[2, 6] Operation: 96/16=6
Exploring Operation: 96-16=80, Resulting Numbers: [2, 80]
Generated Node #0,0,3: 33:[2, 80] Operation: 96-16=80
Moving to Node #0,0,2
Current State: 33:[2, 6], Operations: ['62-46=16', '96/16=6']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,33 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,33 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,33 unequal: No Solution
Moving to Node #0,0,1
Current State: 33:[16, 48], Operations: ['62-46=16', '96/2=48']
Exploring Operation: 48/16=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Exploring Operation: 16*48=768, Resulting Numbers: [768]
768,33 unequal: No Solution
Exploring Operation: 48-16=32, Resulting Numbers: [32]
32,33 unequal: No Solution
Exploring Operation: 16+48=64, Resulting Numbers: [64]
64,33 unequal: No Solution
Moving to Node #0,0,3
Current State: 33:[2, 80], Operations: ['62-46=16', '96-16=80']
Exploring Operation: 2*80=160, Resulting Numbers: [160]
160,33 unequal: No Solution
Exploring Operation: 2+80=82, Resulting Numbers: [82]
82,33 unequal: No Solution
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,33 unequal: No Solution
Exploring Operation: 80/2=40, Resulting Numbers: [40]
40,33 unequal: No Solution
Moving to Node #0,0,0
Current State: 33:[96, 32], Operations: ['62-46=16', '2*16=32']
Exploring Operation: 96+32=128, Resulting Numbers: [128]
128,33 unequal: No Solution
Exploring Operation: 96*32=3072, Resulting Numbers: [3072]
3072,33 unequal: No Solution
Exploring Operation: 96-32=64, Resulting Numbers: [64]
64,33 unequal: No Solution
Exploring Operation: 96/32=3, Resulting Numbers: [3]
3,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
12,
60,
4,
61
] | 49 | [
"60-12=48",
"48/4=12",
"61-12=49"
] | Current State: 49:[12, 60, 4, 61], Operations: []
Exploring Operation: 60-12=48, Resulting Numbers: [4, 61, 48]
Generated Node #2: [4, 61, 48] from Operation: 60-12=48
Current State: 49:[4, 61, 48], Operations: ['60-12=48']
Exploring Operation: 48/4=12, Resulting Numbers: [61, 12]
Generated Node #3: [61, 12] from Operation: 48/4=12
Current State: 49:[61, 12], Operations: ['60-12=48', '48/4=12']
Exploring Operation: 61-12=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[12, 60, 4, 61], Operations: []
Exploring Operation: 61-12=49, Resulting Numbers: [60, 4, 49]
Generated Node #0,0: 49:[60, 4, 49] Operation: 61-12=49
Exploring Operation: 60-12=48, Resulting Numbers: [4, 61, 48]
Generated Node #0,1: 49:[4, 61, 48] Operation: 60-12=48
Exploring Operation: 61-60=1, Resulting Numbers: [12, 4, 1]
Generated Node #0,2: 49:[12, 4, 1] Operation: 61-60=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[60, 4, 49], Operations: ['61-12=49']
Exploring Operation: 60-49=11, Resulting Numbers: [4, 11]
Generated Node #0,0,0: 49:[4, 11] Operation: 60-49=11
Exploring Operation: 60/4=15, Resulting Numbers: [49, 15]
Generated Node #0,0,1: 49:[49, 15] Operation: 60/4=15
Exploring Operation: 60-4=56, Resulting Numbers: [49, 56]
Generated Node #0,0,2: 49:[49, 56] Operation: 60-4=56
Moving to Node #0,0,0
Current State: 49:[4, 11], Operations: ['61-12=49', '60-49=11']
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,49 unequal: No Solution
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,49 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Moving to Node #0,0,2
Current State: 49:[49, 56], Operations: ['61-12=49', '60-4=56']
Exploring Operation: 56-49=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 49*56=2744, Resulting Numbers: [2744]
2744,49 unequal: No Solution
Exploring Operation: 49+56=105, Resulting Numbers: [105]
105,49 unequal: No Solution
Moving to Node #0,0,1
Current State: 49:[49, 15], Operations: ['61-12=49', '60/4=15']
Exploring Operation: 49*15=735, Resulting Numbers: [735]
735,49 unequal: No Solution
Exploring Operation: 49+15=64, Resulting Numbers: [64]
64,49 unequal: No Solution
Exploring Operation: 49-15=34, Resulting Numbers: [34]
34,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 49:[12, 4, 1], Operations: ['61-60=1']
Exploring Operation: 12-1=11, Resulting Numbers: [4, 11]
Generated Node #0,2,0: 49:[4, 11] Operation: 12-1=11
Exploring Operation: 12-4=8, Resulting Numbers: [1, 8]
Generated Node #0,2,1: 49:[1, 8] Operation: 12-4=8
Exploring Operation: 12*4=48, Resulting Numbers: [1, 48]
Generated Node #0,2,2: 49:[1, 48] Operation: 12*4=48
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 49:[4, 11], Operations: ['61-60=1', '12-1=11']
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,49 unequal: No Solution
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 49:[1, 8], Operations: ['61-60=1', '12-4=8']
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,49 unequal: No Solution
Exploring Operation: 1*8=8, Resulting Numbers: [8]
8,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 49:[1, 48], Operations: ['61-60=1', '12*4=48']
Exploring Operation: 1*48=48, Resulting Numbers: [48]
48,49 unequal: No Solution
Exploring Operation: 1+48=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[12, 60, 4, 61], Operations: []
Exploring Operation: 61-60=1, Resulting Numbers: [12, 4, 1]
Generated Node #0,2: 49:[12, 4, 1] Operation: 61-60=1
Moving to Node #0,2
Current State: 49:[12, 4, 1], Operations: ['61-60=1']
Exploring Operation: 12*4=48, Resulting Numbers: [1, 48]
Generated Node #0,2,2: 49:[1, 48] Operation: 12*4=48
Moving to Node #0,2,2
Current State: 49:[1, 48], Operations: ['61-60=1', '12*4=48']
Exploring Operation: 1+48=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.973958 | hs_3 | mult_heuristic |
[
42,
67,
54,
93
] | 14 | [
"67-42=25",
"93-54=39",
"39-25=14"
] | Current State: 14:[42, 67, 54, 93], Operations: []
Exploring Operation: 67-42=25, Resulting Numbers: [54, 93, 25]
Generated Node #2: [54, 93, 25] from Operation: 67-42=25
Current State: 14:[54, 93, 25], Operations: ['67-42=25']
Exploring Operation: 93-54=39, Resulting Numbers: [25, 39]
Generated Node #3: [25, 39] from Operation: 93-54=39
Current State: 14:[25, 39], Operations: ['67-42=25', '93-54=39']
Exploring Operation: 39-25=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[42, 67, 54, 93], Operations: []
Exploring Operation: 93-54=39, Resulting Numbers: [42, 67, 39]
Generated Node #0,0: 14:[42, 67, 39] Operation: 93-54=39
Exploring Operation: 67-54=13, Resulting Numbers: [42, 93, 13]
Generated Node #0,1: 14:[42, 93, 13] Operation: 67-54=13
Exploring Operation: 93-67=26, Resulting Numbers: [42, 54, 26]
Generated Node #0,2: 14:[42, 54, 26] Operation: 93-67=26
Exploring Operation: 67-42=25, Resulting Numbers: [54, 93, 25]
Generated Node #0,3: 14:[54, 93, 25] Operation: 67-42=25
Moving to Node #0,2
Current State: 14:[42, 54, 26], Operations: ['93-67=26']
Exploring Operation: 42+54=96, Resulting Numbers: [26, 96]
Generated Node #0,2,0: 14:[26, 96] Operation: 42+54=96
Exploring Operation: 54-42=12, Resulting Numbers: [26, 12]
Generated Node #0,2,1: 14:[26, 12] Operation: 54-42=12
Exploring Operation: 42-26=16, Resulting Numbers: [54, 16]
Generated Node #0,2,2: 14:[54, 16] Operation: 42-26=16
Exploring Operation: 54-26=28, Resulting Numbers: [42, 28]
Generated Node #0,2,3: 14:[42, 28] Operation: 54-26=28
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 14:[26, 12], Operations: ['93-67=26', '54-42=12']
Exploring Operation: 26+12=38, Resulting Numbers: [38]
38,14 unequal: No Solution
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[42, 67, 54, 93], Operations: []
Exploring Operation: 93-67=26, Resulting Numbers: [42, 54, 26]
Generated Node #0,2: 14:[42, 54, 26] Operation: 93-67=26
Moving to Node #0,2
Current State: 14:[42, 54, 26], Operations: ['93-67=26']
Exploring Operation: 54-42=12, Resulting Numbers: [26, 12]
Generated Node #0,2,1: 14:[26, 12] Operation: 54-42=12
Moving to Node #0,2,1
Current State: 14:[26, 12], Operations: ['93-67=26', '54-42=12']
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
16,
43,
22,
66
] | 55 | [
"43*22=946",
"946-66=880",
"880/16=55"
] | Current State: 55:[16, 43, 22, 66], Operations: []
Exploring Operation: 43*22=946, Resulting Numbers: [16, 66, 946]
Generated Node #2: [16, 66, 946] from Operation: 43*22=946
Current State: 55:[16, 66, 946], Operations: ['43*22=946']
Exploring Operation: 946-66=880, Resulting Numbers: [16, 880]
Generated Node #3: [16, 880] from Operation: 946-66=880
Current State: 55:[16, 880], Operations: ['43*22=946', '946-66=880']
Exploring Operation: 880/16=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[16, 43, 22, 66], Operations: []
Exploring Operation: 66/22=3, Resulting Numbers: [16, 43, 3]
Generated Node #0,0: 55:[16, 43, 3] Operation: 66/22=3
Exploring Operation: 22-16=6, Resulting Numbers: [43, 66, 6]
Generated Node #0,1: 55:[43, 66, 6] Operation: 22-16=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[16, 43, 3], Operations: ['66/22=3']
Exploring Operation: 16+43=59, Resulting Numbers: [3, 59]
Generated Node #0,0,0: 55:[3, 59] Operation: 16+43=59
Exploring Operation: 16-3=13, Resulting Numbers: [43, 13]
Generated Node #0,0,1: 55:[43, 13] Operation: 16-3=13
Moving to Node #0,0,0
Current State: 55:[3, 59], Operations: ['66/22=3', '16+43=59']
Exploring Operation: 3+59=62, Resulting Numbers: [62]
62,55 unequal: No Solution
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,55 unequal: No Solution
Moving to Node #0,0,1
Current State: 55:[43, 13], Operations: ['66/22=3', '16-3=13']
Exploring Operation: 43-13=30, Resulting Numbers: [30]
30,55 unequal: No Solution
Exploring Operation: 43+13=56, Resulting Numbers: [56]
56,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[43, 66, 6], Operations: ['22-16=6']
Exploring Operation: 66/6=11, Resulting Numbers: [43, 11]
Generated Node #0,1,0: 55:[43, 11] Operation: 66/6=11
Exploring Operation: 66-43=23, Resulting Numbers: [6, 23]
Generated Node #0,1,1: 55:[6, 23] Operation: 66-43=23
Moving to Node #0,1,0
Current State: 55:[43, 11], Operations: ['22-16=6', '66/6=11']
Exploring Operation: 43+11=54, Resulting Numbers: [54]
54,55 unequal: No Solution
Exploring Operation: 43-11=32, Resulting Numbers: [32]
32,55 unequal: No Solution
Moving to Node #0,1,1
Current State: 55:[6, 23], Operations: ['22-16=6', '66-43=23']
Exploring Operation: 23-6=17, Resulting Numbers: [17]
17,55 unequal: No Solution
Exploring Operation: 6+23=29, Resulting Numbers: [29]
29,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
74,
57,
24,
68
] | 96 | [
"74-57=17",
"24*68=1632",
"1632/17=96"
] | Current State: 96:[74, 57, 24, 68], Operations: []
Exploring Operation: 74-57=17, Resulting Numbers: [24, 68, 17]
Generated Node #2: [24, 68, 17] from Operation: 74-57=17
Current State: 96:[24, 68, 17], Operations: ['74-57=17']
Exploring Operation: 24*68=1632, Resulting Numbers: [17, 1632]
Generated Node #3: [17, 1632] from Operation: 24*68=1632
Current State: 96:[17, 1632], Operations: ['74-57=17', '24*68=1632']
Exploring Operation: 1632/17=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[74, 57, 24, 68], Operations: []
Exploring Operation: 74-68=6, Resulting Numbers: [57, 24, 6]
Generated Node #0,0: 96:[57, 24, 6] Operation: 74-68=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[57, 24, 6], Operations: ['74-68=6']
Exploring Operation: 57-24=33, Resulting Numbers: [6, 33]
Generated Node #0,0,0: 96:[6, 33] Operation: 57-24=33
Moving to Node #0,0,0
Current State: 96:[6, 33], Operations: ['74-68=6', '57-24=33']
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
79,
82,
81,
38
] | 41 | [
"79-38=41",
"82-81=1",
"41*1=41"
] | Current State: 41:[79, 82, 81, 38], Operations: []
Exploring Operation: 79-38=41, Resulting Numbers: [82, 81, 41]
Generated Node #2: [82, 81, 41] from Operation: 79-38=41
Current State: 41:[82, 81, 41], Operations: ['79-38=41']
Exploring Operation: 82-81=1, Resulting Numbers: [41, 1]
Generated Node #3: [41, 1] from Operation: 82-81=1
Current State: 41:[41, 1], Operations: ['79-38=41', '82-81=1']
Exploring Operation: 41*1=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[79, 82, 81, 38], Operations: []
Exploring Operation: 82-81=1, Resulting Numbers: [79, 38, 1]
Generated Node #0,0: 41:[79, 38, 1] Operation: 82-81=1
Exploring Operation: 82-79=3, Resulting Numbers: [81, 38, 3]
Generated Node #0,1: 41:[81, 38, 3] Operation: 82-79=3
Exploring Operation: 79-38=41, Resulting Numbers: [82, 81, 41]
Generated Node #0,2: 41:[82, 81, 41] Operation: 79-38=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[79, 38, 1], Operations: ['82-81=1']
Exploring Operation: 79-38=41, Resulting Numbers: [1, 41]
Generated Node #0,0,0: 41:[1, 41] Operation: 79-38=41
Exploring Operation: 79-1=78, Resulting Numbers: [38, 78]
Generated Node #0,0,1: 41:[38, 78] Operation: 79-1=78
Exploring Operation: 38+1=39, Resulting Numbers: [79, 39]
Generated Node #0,0,2: 41:[79, 39] Operation: 38+1=39
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 41:[1, 41], Operations: ['82-81=1', '79-38=41']
Exploring Operation: 41/1=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[79, 82, 81, 38], Operations: []
Exploring Operation: 82-81=1, Resulting Numbers: [79, 38, 1]
Generated Node #0,0: 41:[79, 38, 1] Operation: 82-81=1
Moving to Node #0,0
Current State: 41:[79, 38, 1], Operations: ['82-81=1']
Exploring Operation: 79-38=41, Resulting Numbers: [1, 41]
Generated Node #0,0,0: 41:[1, 41] Operation: 79-38=41
Moving to Node #0,0,0
Current State: 41:[1, 41], Operations: ['82-81=1', '79-38=41']
Exploring Operation: 41/1=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
34,
49,
94,
98
] | 58 | [
"94-34=60",
"98/49=2",
"60-2=58"
] | Current State: 58:[34, 49, 94, 98], Operations: []
Exploring Operation: 94-34=60, Resulting Numbers: [49, 98, 60]
Generated Node #2: [49, 98, 60] from Operation: 94-34=60
Current State: 58:[49, 98, 60], Operations: ['94-34=60']
Exploring Operation: 98/49=2, Resulting Numbers: [60, 2]
Generated Node #3: [60, 2] from Operation: 98/49=2
Current State: 58:[60, 2], Operations: ['94-34=60', '98/49=2']
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[34, 49, 94, 98], Operations: []
Exploring Operation: 98/49=2, Resulting Numbers: [34, 94, 2]
Generated Node #0,0: 58:[34, 94, 2] Operation: 98/49=2
Exploring Operation: 98-94=4, Resulting Numbers: [34, 49, 4]
Generated Node #0,1: 58:[34, 49, 4] Operation: 98-94=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[34, 49, 4], Operations: ['98-94=4']
Exploring Operation: 49+4=53, Resulting Numbers: [34, 53]
Generated Node #0,1,0: 58:[34, 53] Operation: 49+4=53
Exploring Operation: 34-4=30, Resulting Numbers: [49, 30]
Generated Node #0,1,1: 58:[49, 30] Operation: 34-4=30
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 58:[34, 53], Operations: ['98-94=4', '49+4=53']
Exploring Operation: 34+53=87, Resulting Numbers: [87]
87,58 unequal: No Solution
Exploring Operation: 53-34=19, Resulting Numbers: [19]
19,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 58:[49, 30], Operations: ['98-94=4', '34-4=30']
Exploring Operation: 49-30=19, Resulting Numbers: [19]
19,58 unequal: No Solution
Exploring Operation: 49+30=79, Resulting Numbers: [79]
79,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[34, 94, 2], Operations: ['98/49=2']
Exploring Operation: 94/2=47, Resulting Numbers: [34, 47]
Generated Node #0,0,0: 58:[34, 47] Operation: 94/2=47
Exploring Operation: 94-34=60, Resulting Numbers: [2, 60]
Generated Node #0,0,1: 58:[2, 60] Operation: 94-34=60
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 58:[2, 60], Operations: ['98/49=2', '94-34=60']
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,58 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[34, 49, 94, 98], Operations: []
Exploring Operation: 98/49=2, Resulting Numbers: [34, 94, 2]
Generated Node #0,0: 58:[34, 94, 2] Operation: 98/49=2
Moving to Node #0,0
Current State: 58:[34, 94, 2], Operations: ['98/49=2']
Exploring Operation: 94-34=60, Resulting Numbers: [2, 60]
Generated Node #0,0,1: 58:[2, 60] Operation: 94-34=60
Moving to Node #0,0,1
Current State: 58:[2, 60], Operations: ['98/49=2', '94-34=60']
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
[
24,
58,
38,
37
] | 14 | [
"24*58=1392",
"38*37=1406",
"1406-1392=14"
] | Current State: 14:[24, 58, 38, 37], Operations: []
Exploring Operation: 24*58=1392, Resulting Numbers: [38, 37, 1392]
Generated Node #2: [38, 37, 1392] from Operation: 24*58=1392
Current State: 14:[38, 37, 1392], Operations: ['24*58=1392']
Exploring Operation: 38*37=1406, Resulting Numbers: [1392, 1406]
Generated Node #3: [1392, 1406] from Operation: 38*37=1406
Current State: 14:[1392, 1406], Operations: ['24*58=1392', '38*37=1406']
Exploring Operation: 1406-1392=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[24, 58, 38, 37], Operations: []
Exploring Operation: 38-37=1, Resulting Numbers: [24, 58, 1]
Generated Node #0,0: 14:[24, 58, 1] Operation: 38-37=1
Exploring Operation: 58-37=21, Resulting Numbers: [24, 38, 21]
Generated Node #0,1: 14:[24, 38, 21] Operation: 58-37=21
Exploring Operation: 58-38=20, Resulting Numbers: [24, 37, 20]
Generated Node #0,2: 14:[24, 37, 20] Operation: 58-38=20
Moving to Node #0,2
Current State: 14:[24, 37, 20], Operations: ['58-38=20']
Exploring Operation: 24-20=4, Resulting Numbers: [37, 4]
Generated Node #0,2,0: 14:[37, 4] Operation: 24-20=4
Exploring Operation: 37-24=13, Resulting Numbers: [20, 13]
Generated Node #0,2,1: 14:[20, 13] Operation: 37-24=13
Exploring Operation: 37-20=17, Resulting Numbers: [24, 17]
Generated Node #0,2,2: 14:[24, 17] Operation: 37-20=17
Moving to Node #0,1
Current State: 14:[24, 38, 21], Operations: ['58-37=21']
Exploring Operation: 38-24=14, Resulting Numbers: [21, 14]
Generated Node #0,1,0: 14:[21, 14] Operation: 38-24=14
Exploring Operation: 38-21=17, Resulting Numbers: [24, 17]
Generated Node #0,1,1: 14:[24, 17] Operation: 38-21=17
Exploring Operation: 24-21=3, Resulting Numbers: [38, 3]
Generated Node #0,1,2: 14:[38, 3] Operation: 24-21=3
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 14:[21, 14], Operations: ['58-37=21', '38-24=14']
Exploring Operation: 21*14=294, Resulting Numbers: [294]
294,14 unequal: No Solution
Exploring Operation: 21-14=7, Resulting Numbers: [7]
7,14 unequal: No Solution
Exploring Operation: 21+14=35, Resulting Numbers: [35]
35,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 14:[24, 17], Operations: ['58-37=21', '38-21=17']
Exploring Operation: 24*17=408, Resulting Numbers: [408]
408,14 unequal: No Solution
Exploring Operation: 24-17=7, Resulting Numbers: [7]
7,14 unequal: No Solution
Exploring Operation: 24+17=41, Resulting Numbers: [41]
41,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 14:[38, 3], Operations: ['58-37=21', '24-21=3']
Exploring Operation: 38+3=41, Resulting Numbers: [41]
41,14 unequal: No Solution
Exploring Operation: 38*3=114, Resulting Numbers: [114]
114,14 unequal: No Solution
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 14:[24, 58, 1], Operations: ['38-37=1']
Exploring Operation: 58-24=34, Resulting Numbers: [1, 34]
Generated Node #0,0,0: 14:[1, 34] Operation: 58-24=34
Exploring Operation: 24-1=23, Resulting Numbers: [58, 23]
Generated Node #0,0,1: 14:[58, 23] Operation: 24-1=23
Exploring Operation: 58-1=57, Resulting Numbers: [24, 57]
Generated Node #0,0,2: 14:[24, 57] Operation: 58-1=57
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 14:[1, 34], Operations: ['38-37=1', '58-24=34']
Exploring Operation: 1*34=34, Resulting Numbers: [34]
34,14 unequal: No Solution
Exploring Operation: 34/1=34, Resulting Numbers: [34]
34,14 unequal: No Solution
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 14:[58, 23], Operations: ['38-37=1', '24-1=23']
Exploring Operation: 58-23=35, Resulting Numbers: [35]
35,14 unequal: No Solution
Exploring Operation: 58+23=81, Resulting Numbers: [81]
81,14 unequal: No Solution
Exploring Operation: 58*23=1334, Resulting Numbers: [1334]
1334,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 14:[24, 57], Operations: ['38-37=1', '58-1=57']
Exploring Operation: 24*57=1368, Resulting Numbers: [1368]
1368,14 unequal: No Solution
Exploring Operation: 57-24=33, Resulting Numbers: [33]
33,14 unequal: No Solution
Exploring Operation: 24+57=81, Resulting Numbers: [81]
81,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 14:[20, 13], Operations: ['58-38=20', '37-24=13']
Exploring Operation: 20*13=260, Resulting Numbers: [260]
260,14 unequal: No Solution
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,14 unequal: No Solution
Exploring Operation: 20+13=33, Resulting Numbers: [33]
33,14 unequal: No Solution
Moving to Node #0,2,2
Current State: 14:[24, 17], Operations: ['58-38=20', '37-20=17']
Exploring Operation: 24*17=408, Resulting Numbers: [408]
408,14 unequal: No Solution
Exploring Operation: 24-17=7, Resulting Numbers: [7]
7,14 unequal: No Solution
Exploring Operation: 24+17=41, Resulting Numbers: [41]
41,14 unequal: No Solution
Moving to Node #0,2,0
Current State: 14:[37, 4], Operations: ['58-38=20', '24-20=4']
Exploring Operation: 37*4=148, Resulting Numbers: [148]
148,14 unequal: No Solution
Exploring Operation: 37+4=41, Resulting Numbers: [41]
41,14 unequal: No Solution
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,14 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
2,
26,
84,
78
] | 83 | [
"2+84=86",
"78/26=3",
"86-3=83"
] | Current State: 83:[2, 26, 84, 78], Operations: []
Exploring Operation: 2+84=86, Resulting Numbers: [26, 78, 86]
Generated Node #2: [26, 78, 86] from Operation: 2+84=86
Current State: 83:[26, 78, 86], Operations: ['2+84=86']
Exploring Operation: 78/26=3, Resulting Numbers: [86, 3]
Generated Node #3: [86, 3] from Operation: 78/26=3
Current State: 83:[86, 3], Operations: ['2+84=86', '78/26=3']
Exploring Operation: 86-3=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[2, 26, 84, 78], Operations: []
Exploring Operation: 2*26=52, Resulting Numbers: [84, 78, 52]
Generated Node #0,0: 83:[84, 78, 52] Operation: 2*26=52
Exploring Operation: 2+78=80, Resulting Numbers: [26, 84, 80]
Generated Node #0,1: 83:[26, 84, 80] Operation: 2+78=80
Exploring Operation: 2+26=28, Resulting Numbers: [84, 78, 28]
Generated Node #0,2: 83:[84, 78, 28] Operation: 2+26=28
Exploring Operation: 84-2=82, Resulting Numbers: [26, 78, 82]
Generated Node #0,3: 83:[26, 78, 82] Operation: 84-2=82
Moving to Node #0,0
Current State: 83:[84, 78, 52], Operations: ['2*26=52']
Exploring Operation: 84+52=136, Resulting Numbers: [78, 136]
Generated Node #0,0,0: 83:[78, 136] Operation: 84+52=136
Exploring Operation: 84-52=32, Resulting Numbers: [78, 32]
Generated Node #0,0,1: 83:[78, 32] Operation: 84-52=32
Exploring Operation: 78-52=26, Resulting Numbers: [84, 26]
Generated Node #0,0,2: 83:[84, 26] Operation: 78-52=26
Exploring Operation: 78+52=130, Resulting Numbers: [84, 130]
Generated Node #0,0,3: 83:[84, 130] Operation: 78+52=130
Moving to Node #0,2
Current State: 83:[84, 78, 28], Operations: ['2+26=28']
Exploring Operation: 78+28=106, Resulting Numbers: [84, 106]
Generated Node #0,2,0: 83:[84, 106] Operation: 78+28=106
Exploring Operation: 84-28=56, Resulting Numbers: [78, 56]
Generated Node #0,2,1: 83:[78, 56] Operation: 84-28=56
Exploring Operation: 84+28=112, Resulting Numbers: [78, 112]
Generated Node #0,2,2: 83:[78, 112] Operation: 84+28=112
Exploring Operation: 78-28=50, Resulting Numbers: [84, 50]
Generated Node #0,2,3: 83:[84, 50] Operation: 78-28=50
Moving to Node #0,1
Current State: 83:[26, 84, 80], Operations: ['2+78=80']
Exploring Operation: 26+84=110, Resulting Numbers: [80, 110]
Generated Node #0,1,0: 83:[80, 110] Operation: 26+84=110
Exploring Operation: 80-26=54, Resulting Numbers: [84, 54]
Generated Node #0,1,1: 83:[84, 54] Operation: 80-26=54
Exploring Operation: 26+80=106, Resulting Numbers: [84, 106]
Generated Node #0,1,2: 83:[84, 106] Operation: 26+80=106
Exploring Operation: 84-26=58, Resulting Numbers: [80, 58]
Generated Node #0,1,3: 83:[80, 58] Operation: 84-26=58
Moving to Node #0,3
Current State: 83:[26, 78, 82], Operations: ['84-2=82']
Exploring Operation: 26+82=108, Resulting Numbers: [78, 108]
Generated Node #0,3,0: 83:[78, 108] Operation: 26+82=108
Exploring Operation: 26+78=104, Resulting Numbers: [82, 104]
Generated Node #0,3,1: 83:[82, 104] Operation: 26+78=104
Exploring Operation: 82-26=56, Resulting Numbers: [78, 56]
Generated Node #0,3,2: 83:[78, 56] Operation: 82-26=56
Exploring Operation: 78-26=52, Resulting Numbers: [82, 52]
Generated Node #0,3,3: 83:[82, 52] Operation: 78-26=52
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 83:[82, 104], Operations: ['84-2=82', '26+78=104']
Exploring Operation: 82+104=186, Resulting Numbers: [186]
186,83 unequal: No Solution
Exploring Operation: 82*104=8528, Resulting Numbers: [8528]
8528,83 unequal: No Solution
Exploring Operation: 104-82=22, Resulting Numbers: [22]
22,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 83:[78, 108], Operations: ['84-2=82', '26+82=108']
Exploring Operation: 78*108=8424, Resulting Numbers: [8424]
8424,83 unequal: No Solution
Exploring Operation: 78+108=186, Resulting Numbers: [186]
186,83 unequal: No Solution
Exploring Operation: 108-78=30, Resulting Numbers: [30]
30,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 83:[78, 56], Operations: ['84-2=82', '82-26=56']
Exploring Operation: 78+56=134, Resulting Numbers: [134]
134,83 unequal: No Solution
Exploring Operation: 78-56=22, Resulting Numbers: [22]
22,83 unequal: No Solution
Exploring Operation: 78*56=4368, Resulting Numbers: [4368]
4368,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 83:[82, 52], Operations: ['84-2=82', '78-26=52']
Exploring Operation: 82+52=134, Resulting Numbers: [134]
134,83 unequal: No Solution
Exploring Operation: 82*52=4264, Resulting Numbers: [4264]
4264,83 unequal: No Solution
Exploring Operation: 82-52=30, Resulting Numbers: [30]
30,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 83:[84, 106], Operations: ['2+26=28', '78+28=106']
Exploring Operation: 106-84=22, Resulting Numbers: [22]
22,83 unequal: No Solution
Exploring Operation: 84*106=8904, Resulting Numbers: [8904]
8904,83 unequal: No Solution
Exploring Operation: 84+106=190, Resulting Numbers: [190]
190,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[84, 106], Operations: ['2+78=80', '26+80=106']
Exploring Operation: 106-84=22, Resulting Numbers: [22]
22,83 unequal: No Solution
Exploring Operation: 84+106=190, Resulting Numbers: [190]
190,83 unequal: No Solution
Exploring Operation: 84*106=8904, Resulting Numbers: [8904]
8904,83 unequal: No Solution
Moving to Node #0,1,3
Current State: 83:[80, 58], Operations: ['2+78=80', '84-26=58']
Exploring Operation: 80*58=4640, Resulting Numbers: [4640]
4640,83 unequal: No Solution
Exploring Operation: 80-58=22, Resulting Numbers: [22]
22,83 unequal: No Solution
Exploring Operation: 80+58=138, Resulting Numbers: [138]
138,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[84, 54], Operations: ['2+78=80', '80-26=54']
Exploring Operation: 84+54=138, Resulting Numbers: [138]
138,83 unequal: No Solution
Exploring Operation: 84-54=30, Resulting Numbers: [30]
30,83 unequal: No Solution
Exploring Operation: 84*54=4536, Resulting Numbers: [4536]
4536,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[80, 110], Operations: ['2+78=80', '26+84=110']
Exploring Operation: 110-80=30, Resulting Numbers: [30]
30,83 unequal: No Solution
Exploring Operation: 80+110=190, Resulting Numbers: [190]
190,83 unequal: No Solution
Exploring Operation: 80*110=8800, Resulting Numbers: [8800]
8800,83 unequal: No Solution
Moving to Node #0,2,1
Current State: 83:[78, 56], Operations: ['2+26=28', '84-28=56']
Exploring Operation: 78*56=4368, Resulting Numbers: [4368]
4368,83 unequal: No Solution
Exploring Operation: 78+56=134, Resulting Numbers: [134]
134,83 unequal: No Solution
Exploring Operation: 78-56=22, Resulting Numbers: [22]
22,83 unequal: No Solution
Moving to Node #0,2,2
Current State: 83:[78, 112], Operations: ['2+26=28', '84+28=112']
Exploring Operation: 112-78=34, Resulting Numbers: [34]
34,83 unequal: No Solution
Exploring Operation: 78+112=190, Resulting Numbers: [190]
190,83 unequal: No Solution
Exploring Operation: 78*112=8736, Resulting Numbers: [8736]
8736,83 unequal: No Solution
Moving to Node #0,2,3
Current State: 83:[84, 50], Operations: ['2+26=28', '78-28=50']
Exploring Operation: 84*50=4200, Resulting Numbers: [4200]
4200,83 unequal: No Solution
Exploring Operation: 84-50=34, Resulting Numbers: [34]
34,83 unequal: No Solution
Exploring Operation: 84+50=134, Resulting Numbers: [134]
134,83 unequal: No Solution
Moving to Node #0,0,3
Current State: 83:[84, 130], Operations: ['2*26=52', '78+52=130']
Exploring Operation: 130-84=46, Resulting Numbers: [46]
46,83 unequal: No Solution
Exploring Operation: 84+130=214, Resulting Numbers: [214]
214,83 unequal: No Solution
Exploring Operation: 84*130=10920, Resulting Numbers: [10920]
10920,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[78, 32], Operations: ['2*26=52', '84-52=32']
Exploring Operation: 78-32=46, Resulting Numbers: [46]
46,83 unequal: No Solution
Exploring Operation: 78+32=110, Resulting Numbers: [110]
110,83 unequal: No Solution
Exploring Operation: 78*32=2496, Resulting Numbers: [2496]
2496,83 unequal: No Solution
Moving to Node #0,0,2
Current State: 83:[84, 26], Operations: ['2*26=52', '78-52=26']
Exploring Operation: 84-26=58, Resulting Numbers: [58]
58,83 unequal: No Solution
Exploring Operation: 84*26=2184, Resulting Numbers: [2184]
2184,83 unequal: No Solution
Exploring Operation: 84+26=110, Resulting Numbers: [110]
110,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[78, 136], Operations: ['2*26=52', '84+52=136']
Exploring Operation: 78*136=10608, Resulting Numbers: [10608]
10608,83 unequal: No Solution
Exploring Operation: 78+136=214, Resulting Numbers: [214]
214,83 unequal: No Solution
Exploring Operation: 136-78=58, Resulting Numbers: [58]
58,83 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
36,
79,
50,
23
] | 16 | [
"79-36=43",
"50-23=27",
"43-27=16"
] | Current State: 16:[36, 79, 50, 23], Operations: []
Exploring Operation: 79-36=43, Resulting Numbers: [50, 23, 43]
Generated Node #2: [50, 23, 43] from Operation: 79-36=43
Current State: 16:[50, 23, 43], Operations: ['79-36=43']
Exploring Operation: 50-23=27, Resulting Numbers: [43, 27]
Generated Node #3: [43, 27] from Operation: 50-23=27
Current State: 16:[43, 27], Operations: ['79-36=43', '50-23=27']
Exploring Operation: 43-27=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[36, 79, 50, 23], Operations: []
Exploring Operation: 79-23=56, Resulting Numbers: [36, 50, 56]
Generated Node #0,0: 16:[36, 50, 56] Operation: 79-23=56
Exploring Operation: 79-36=43, Resulting Numbers: [50, 23, 43]
Generated Node #0,1: 16:[50, 23, 43] Operation: 79-36=43
Exploring Operation: 79-50=29, Resulting Numbers: [36, 23, 29]
Generated Node #0,2: 16:[36, 23, 29] Operation: 79-50=29
Exploring Operation: 50-36=14, Resulting Numbers: [79, 23, 14]
Generated Node #0,3: 16:[79, 23, 14] Operation: 50-36=14
Moving to Node #0,2
Current State: 16:[36, 23, 29], Operations: ['79-50=29']
Exploring Operation: 36+23=59, Resulting Numbers: [29, 59]
Generated Node #0,2,0: 16:[29, 59] Operation: 36+23=59
Exploring Operation: 29-23=6, Resulting Numbers: [36, 6]
Generated Node #0,2,1: 16:[36, 6] Operation: 29-23=6
Exploring Operation: 36-23=13, Resulting Numbers: [29, 13]
Generated Node #0,2,2: 16:[29, 13] Operation: 36-23=13
Exploring Operation: 36-29=7, Resulting Numbers: [23, 7]
Generated Node #0,2,3: 16:[23, 7] Operation: 36-29=7
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 16:[23, 7], Operations: ['79-50=29', '36-29=7']
Exploring Operation: 23*7=161, Resulting Numbers: [161]
161,16 unequal: No Solution
Exploring Operation: 23+7=30, Resulting Numbers: [30]
30,16 unequal: No Solution
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[36, 79, 50, 23], Operations: []
Exploring Operation: 79-50=29, Resulting Numbers: [36, 23, 29]
Generated Node #0,2: 16:[36, 23, 29] Operation: 79-50=29
Moving to Node #0,2
Current State: 16:[36, 23, 29], Operations: ['79-50=29']
Exploring Operation: 36-29=7, Resulting Numbers: [23, 7]
Generated Node #0,2,3: 16:[23, 7] Operation: 36-29=7
Moving to Node #0,2,3
Current State: 16:[23, 7], Operations: ['79-50=29', '36-29=7']
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
18,
4,
98,
99
] | 21 | [
"18+4=22",
"99-98=1",
"22-1=21"
] | Current State: 21:[18, 4, 98, 99], Operations: []
Exploring Operation: 18+4=22, Resulting Numbers: [98, 99, 22]
Generated Node #2: [98, 99, 22] from Operation: 18+4=22
Current State: 21:[98, 99, 22], Operations: ['18+4=22']
Exploring Operation: 99-98=1, Resulting Numbers: [22, 1]
Generated Node #3: [22, 1] from Operation: 99-98=1
Current State: 21:[22, 1], Operations: ['18+4=22', '99-98=1']
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[18, 4, 98, 99], Operations: []
Exploring Operation: 98-18=80, Resulting Numbers: [4, 99, 80]
Generated Node #0,0: 21:[4, 99, 80] Operation: 98-18=80
Exploring Operation: 99-98=1, Resulting Numbers: [18, 4, 1]
Generated Node #0,1: 21:[18, 4, 1] Operation: 99-98=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[18, 4, 1], Operations: ['99-98=1']
Exploring Operation: 18+1=19, Resulting Numbers: [4, 19]
Generated Node #0,1,0: 21:[4, 19] Operation: 18+1=19
Exploring Operation: 18+4=22, Resulting Numbers: [1, 22]
Generated Node #0,1,1: 21:[1, 22] Operation: 18+4=22
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 21:[4, 19], Operations: ['99-98=1', '18+1=19']
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,21 unequal: No Solution
Exploring Operation: 4+19=23, Resulting Numbers: [23]
23,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 21:[1, 22], Operations: ['99-98=1', '18+4=22']
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[18, 4, 98, 99], Operations: []
Exploring Operation: 99-98=1, Resulting Numbers: [18, 4, 1]
Generated Node #0,1: 21:[18, 4, 1] Operation: 99-98=1
Moving to Node #0,1
Current State: 21:[18, 4, 1], Operations: ['99-98=1']
Exploring Operation: 18+4=22, Resulting Numbers: [1, 22]
Generated Node #0,1,1: 21:[1, 22] Operation: 18+4=22
Moving to Node #0,1,1
Current State: 21:[1, 22], Operations: ['99-98=1', '18+4=22']
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
15,
79,
5,
85
] | 47 | [
"79-15=64",
"85/5=17",
"64-17=47"
] | Current State: 47:[15, 79, 5, 85], Operations: []
Exploring Operation: 79-15=64, Resulting Numbers: [5, 85, 64]
Generated Node #2: [5, 85, 64] from Operation: 79-15=64
Current State: 47:[5, 85, 64], Operations: ['79-15=64']
Exploring Operation: 85/5=17, Resulting Numbers: [64, 17]
Generated Node #3: [64, 17] from Operation: 85/5=17
Current State: 47:[64, 17], Operations: ['79-15=64', '85/5=17']
Exploring Operation: 64-17=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[15, 79, 5, 85], Operations: []
Exploring Operation: 85/5=17, Resulting Numbers: [15, 79, 17]
Generated Node #0,0: 47:[15, 79, 17] Operation: 85/5=17
Exploring Operation: 79-15=64, Resulting Numbers: [5, 85, 64]
Generated Node #0,1: 47:[5, 85, 64] Operation: 79-15=64
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[15, 79, 17], Operations: ['85/5=17']
Exploring Operation: 15+17=32, Resulting Numbers: [79, 32]
Generated Node #0,0,0: 47:[79, 32] Operation: 15+17=32
Exploring Operation: 79-15=64, Resulting Numbers: [17, 64]
Generated Node #0,0,1: 47:[17, 64] Operation: 79-15=64
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[79, 32], Operations: ['85/5=17', '15+17=32']
Exploring Operation: 79+32=111, Resulting Numbers: [111]
111,47 unequal: No Solution
Exploring Operation: 79-32=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[15, 79, 5, 85], Operations: []
Exploring Operation: 85/5=17, Resulting Numbers: [15, 79, 17]
Generated Node #0,0: 47:[15, 79, 17] Operation: 85/5=17
Moving to Node #0,0
Current State: 47:[15, 79, 17], Operations: ['85/5=17']
Exploring Operation: 15+17=32, Resulting Numbers: [79, 32]
Generated Node #0,0,0: 47:[79, 32] Operation: 15+17=32
Moving to Node #0,0,0
Current State: 47:[79, 32], Operations: ['85/5=17', '15+17=32']
Exploring Operation: 79-32=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
40,
7,
58,
26
] | 13 | [
"40*7=280",
"58+280=338",
"338/26=13"
] | Current State: 13:[40, 7, 58, 26], Operations: []
Exploring Operation: 40*7=280, Resulting Numbers: [58, 26, 280]
Generated Node #2: [58, 26, 280] from Operation: 40*7=280
Current State: 13:[58, 26, 280], Operations: ['40*7=280']
Exploring Operation: 58+280=338, Resulting Numbers: [26, 338]
Generated Node #3: [26, 338] from Operation: 58+280=338
Current State: 13:[26, 338], Operations: ['40*7=280', '58+280=338']
Exploring Operation: 338/26=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[40, 7, 58, 26], Operations: []
Exploring Operation: 40-26=14, Resulting Numbers: [7, 58, 14]
Generated Node #0,0: 13:[7, 58, 14] Operation: 40-26=14
Exploring Operation: 58-26=32, Resulting Numbers: [40, 7, 32]
Generated Node #0,1: 13:[40, 7, 32] Operation: 58-26=32
Exploring Operation: 40-7=33, Resulting Numbers: [58, 26, 33]
Generated Node #0,2: 13:[58, 26, 33] Operation: 40-7=33
Exploring Operation: 58-40=18, Resulting Numbers: [7, 26, 18]
Generated Node #0,3: 13:[7, 26, 18] Operation: 58-40=18
Start Sub Search at level 1: Moving to Node #0,3
Current State: 13:[7, 26, 18], Operations: ['58-40=18']
Exploring Operation: 26-7=19, Resulting Numbers: [18, 19]
Generated Node #0,3,0: 13:[18, 19] Operation: 26-7=19
Exploring Operation: 18-7=11, Resulting Numbers: [26, 11]
Generated Node #0,3,1: 13:[26, 11] Operation: 18-7=11
Exploring Operation: 26-18=8, Resulting Numbers: [7, 8]
Generated Node #0,3,2: 13:[7, 8] Operation: 26-18=8
Exploring Operation: 7+26=33, Resulting Numbers: [18, 33]
Generated Node #0,3,3: 13:[18, 33] Operation: 7+26=33
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 13:[18, 19], Operations: ['58-40=18', '26-7=19']
Exploring Operation: 18*19=342, Resulting Numbers: [342]
342,13 unequal: No Solution
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,13 unequal: No Solution
Exploring Operation: 18+19=37, Resulting Numbers: [37]
37,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 13:[7, 8], Operations: ['58-40=18', '26-18=8']
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,13 unequal: No Solution
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,13 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 13:[26, 11], Operations: ['58-40=18', '18-7=11']
Exploring Operation: 26*11=286, Resulting Numbers: [286]
286,13 unequal: No Solution
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,13 unequal: No Solution
Exploring Operation: 26+11=37, Resulting Numbers: [37]
37,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 13:[18, 33], Operations: ['58-40=18', '7+26=33']
Exploring Operation: 33-18=15, Resulting Numbers: [15]
15,13 unequal: No Solution
Exploring Operation: 18*33=594, Resulting Numbers: [594]
594,13 unequal: No Solution
Exploring Operation: 18+33=51, Resulting Numbers: [51]
51,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[7, 58, 14], Operations: ['40-26=14']
Exploring Operation: 7+58=65, Resulting Numbers: [14, 65]
Generated Node #0,0,0: 13:[14, 65] Operation: 7+58=65
Exploring Operation: 58-7=51, Resulting Numbers: [14, 51]
Generated Node #0,0,1: 13:[14, 51] Operation: 58-7=51
Exploring Operation: 58-14=44, Resulting Numbers: [7, 44]
Generated Node #0,0,2: 13:[7, 44] Operation: 58-14=44
Exploring Operation: 14-7=7, Resulting Numbers: [58, 7]
Generated Node #0,0,3: 13:[58, 7] Operation: 14-7=7
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 13:[7, 44], Operations: ['40-26=14', '58-14=44']
Exploring Operation: 7*44=308, Resulting Numbers: [308]
308,13 unequal: No Solution
Exploring Operation: 44-7=37, Resulting Numbers: [37]
37,13 unequal: No Solution
Exploring Operation: 7+44=51, Resulting Numbers: [51]
51,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 13:[14, 51], Operations: ['40-26=14', '58-7=51']
Exploring Operation: 51-14=37, Resulting Numbers: [37]
37,13 unequal: No Solution
Exploring Operation: 14+51=65, Resulting Numbers: [65]
65,13 unequal: No Solution
Exploring Operation: 14*51=714, Resulting Numbers: [714]
714,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 13:[58, 7], Operations: ['40-26=14', '14-7=7']
Exploring Operation: 58+7=65, Resulting Numbers: [65]
65,13 unequal: No Solution
Exploring Operation: 58*7=406, Resulting Numbers: [406]
406,13 unequal: No Solution
Exploring Operation: 58-7=51, Resulting Numbers: [51]
51,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 13:[14, 65], Operations: ['40-26=14', '7+58=65']
Exploring Operation: 14+65=79, Resulting Numbers: [79]
79,13 unequal: No Solution
Exploring Operation: 14*65=910, Resulting Numbers: [910]
910,13 unequal: No Solution
Exploring Operation: 65-14=51, Resulting Numbers: [51]
51,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[40, 7, 32], Operations: ['58-26=32']
Exploring Operation: 40-7=33, Resulting Numbers: [32, 33]
Generated Node #0,1,0: 13:[32, 33] Operation: 40-7=33
Exploring Operation: 32-7=25, Resulting Numbers: [40, 25]
Generated Node #0,1,1: 13:[40, 25] Operation: 32-7=25
Exploring Operation: 40-32=8, Resulting Numbers: [7, 8]
Generated Node #0,1,2: 13:[7, 8] Operation: 40-32=8
Exploring Operation: 40+7=47, Resulting Numbers: [32, 47]
Generated Node #0,1,3: 13:[32, 47] Operation: 40+7=47
Moving to Node #0,1,2
Current State: 13:[7, 8], Operations: ['58-26=32', '40-32=8']
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,13 unequal: No Solution
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,13 unequal: No Solution
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,13 unequal: No Solution
Moving to Node #0,1,1
Current State: 13:[40, 25], Operations: ['58-26=32', '32-7=25']
Exploring Operation: 40*25=1000, Resulting Numbers: [1000]
1000,13 unequal: No Solution
Exploring Operation: 40-25=15, Resulting Numbers: [15]
15,13 unequal: No Solution
Exploring Operation: 40+25=65, Resulting Numbers: [65]
65,13 unequal: No Solution
Moving to Node #0,1,0
Current State: 13:[32, 33], Operations: ['58-26=32', '40-7=33']
Exploring Operation: 32+33=65, Resulting Numbers: [65]
65,13 unequal: No Solution
Exploring Operation: 33-32=1, Resulting Numbers: [1]
1,13 unequal: No Solution
Exploring Operation: 32*33=1056, Resulting Numbers: [1056]
1056,13 unequal: No Solution
Moving to Node #0,1,3
Current State: 13:[32, 47], Operations: ['58-26=32', '40+7=47']
Exploring Operation: 32*47=1504, Resulting Numbers: [1504]
1504,13 unequal: No Solution
Exploring Operation: 32+47=79, Resulting Numbers: [79]
79,13 unequal: No Solution
Exploring Operation: 47-32=15, Resulting Numbers: [15]
15,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 13:[58, 26, 33], Operations: ['40-7=33']
Exploring Operation: 58+26=84, Resulting Numbers: [33, 84]
Generated Node #0,2,0: 13:[33, 84] Operation: 58+26=84
Exploring Operation: 33-26=7, Resulting Numbers: [58, 7]
Generated Node #0,2,1: 13:[58, 7] Operation: 33-26=7
Exploring Operation: 58-26=32, Resulting Numbers: [33, 32]
Generated Node #0,2,2: 13:[33, 32] Operation: 58-26=32
Exploring Operation: 58-33=25, Resulting Numbers: [26, 25]
Generated Node #0,2,3: 13:[26, 25] Operation: 58-33=25
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 13:[26, 25], Operations: ['40-7=33', '58-33=25']
Exploring Operation: 26+25=51, Resulting Numbers: [51]
51,13 unequal: No Solution
Exploring Operation: 26*25=650, Resulting Numbers: [650]
650,13 unequal: No Solution
Exploring Operation: 26-25=1, Resulting Numbers: [1]
1,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 13:[33, 32], Operations: ['40-7=33', '58-26=32']
Exploring Operation: 33*32=1056, Resulting Numbers: [1056]
1056,13 unequal: No Solution
Exploring Operation: 33-32=1, Resulting Numbers: [1]
1,13 unequal: No Solution
Exploring Operation: 33+32=65, Resulting Numbers: [65]
65,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 13:[58, 7], Operations: ['40-7=33', '33-26=7']
Exploring Operation: 58*7=406, Resulting Numbers: [406]
406,13 unequal: No Solution
Exploring Operation: 58-7=51, Resulting Numbers: [51]
51,13 unequal: No Solution
Exploring Operation: 58+7=65, Resulting Numbers: [65]
65,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 13:[33, 84], Operations: ['40-7=33', '58+26=84']
Exploring Operation: 33+84=117, Resulting Numbers: [117]
117,13 unequal: No Solution
Exploring Operation: 33*84=2772, Resulting Numbers: [2772]
2772,13 unequal: No Solution
Exploring Operation: 84-33=51, Resulting Numbers: [51]
51,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
45,
57,
4,
89
] | 73 | [
"57-45=12",
"89-4=85",
"85-12=73"
] | Current State: 73:[45, 57, 4, 89], Operations: []
Exploring Operation: 57-45=12, Resulting Numbers: [4, 89, 12]
Generated Node #2: [4, 89, 12] from Operation: 57-45=12
Current State: 73:[4, 89, 12], Operations: ['57-45=12']
Exploring Operation: 89-4=85, Resulting Numbers: [12, 85]
Generated Node #3: [12, 85] from Operation: 89-4=85
Current State: 73:[12, 85], Operations: ['57-45=12', '89-4=85']
Exploring Operation: 85-12=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[45, 57, 4, 89], Operations: []
Exploring Operation: 45+4=49, Resulting Numbers: [57, 89, 49]
Generated Node #0,0: 73:[57, 89, 49] Operation: 45+4=49
Moving to Node #0,0
Current State: 73:[57, 89, 49], Operations: ['45+4=49']
Exploring Operation: 57+49=106, Resulting Numbers: [89, 106]
Generated Node #0,0,0: 73:[89, 106] Operation: 57+49=106
Moving to Node #0,0,0
Current State: 73:[89, 106], Operations: ['45+4=49', '57+49=106']
Exploring Operation: 106-89=17, Resulting Numbers: [17]
17,73 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
11,
70,
4,
1
] | 25 | [
"11*4=44",
"70-1=69",
"69-44=25"
] | Current State: 25:[11, 70, 4, 1], Operations: []
Exploring Operation: 11*4=44, Resulting Numbers: [70, 1, 44]
Generated Node #2: [70, 1, 44] from Operation: 11*4=44
Current State: 25:[70, 1, 44], Operations: ['11*4=44']
Exploring Operation: 70-1=69, Resulting Numbers: [44, 69]
Generated Node #3: [44, 69] from Operation: 70-1=69
Current State: 25:[44, 69], Operations: ['11*4=44', '70-1=69']
Exploring Operation: 69-44=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[11, 70, 4, 1], Operations: []
Exploring Operation: 11-1=10, Resulting Numbers: [70, 4, 10]
Generated Node #0,0: 25:[70, 4, 10] Operation: 11-1=10
Exploring Operation: 70-4=66, Resulting Numbers: [11, 1, 66]
Generated Node #0,1: 25:[11, 1, 66] Operation: 70-4=66
Exploring Operation: 70-11=59, Resulting Numbers: [4, 1, 59]
Generated Node #0,2: 25:[4, 1, 59] Operation: 70-11=59
Exploring Operation: 11-4=7, Resulting Numbers: [70, 1, 7]
Generated Node #0,3: 25:[70, 1, 7] Operation: 11-4=7
Exploring Operation: 70-1=69, Resulting Numbers: [11, 4, 69]
Generated Node #0,4: 25:[11, 4, 69] Operation: 70-1=69
Moving to Node #0,2
Current State: 25:[4, 1, 59], Operations: ['70-11=59']
Exploring Operation: 4*1=4, Resulting Numbers: [59, 4]
Generated Node #0,2,0: 25:[59, 4] Operation: 4*1=4
Exploring Operation: 59-1=58, Resulting Numbers: [4, 58]
Generated Node #0,2,1: 25:[4, 58] Operation: 59-1=58
Exploring Operation: 4+1=5, Resulting Numbers: [59, 5]
Generated Node #0,2,2: 25:[59, 5] Operation: 4+1=5
Exploring Operation: 4/1=4, Resulting Numbers: [59, 4]
Generated Node #0,2,3: 25:[59, 4] Operation: 4/1=4
Exploring Operation: 59-4=55, Resulting Numbers: [1, 55]
Generated Node #0,2,4: 25:[1, 55] Operation: 59-4=55
Moving to Node #0,1
Current State: 25:[11, 1, 66], Operations: ['70-4=66']
Exploring Operation: 66/11=6, Resulting Numbers: [1, 6]
Generated Node #0,1,0: 25:[1, 6] Operation: 66/11=6
Exploring Operation: 66-1=65, Resulting Numbers: [11, 65]
Generated Node #0,1,1: 25:[11, 65] Operation: 66-1=65
Exploring Operation: 11-1=10, Resulting Numbers: [66, 10]
Generated Node #0,1,2: 25:[66, 10] Operation: 11-1=10
Exploring Operation: 11*1=11, Resulting Numbers: [66, 11]
Generated Node #0,1,3: 25:[66, 11] Operation: 11*1=11
Exploring Operation: 66-11=55, Resulting Numbers: [1, 55]
Generated Node #0,1,4: 25:[1, 55] Operation: 66-11=55
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 25:[1, 6], Operations: ['70-4=66', '66/11=6']
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,25 unequal: No Solution
Exploring Operation: 1*6=6, Resulting Numbers: [6]
6,25 unequal: No Solution
Exploring Operation: 1+6=7, Resulting Numbers: [7]
7,25 unequal: No Solution
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 25:[1, 55], Operations: ['70-4=66', '66-11=55']
Exploring Operation: 1*55=55, Resulting Numbers: [55]
55,25 unequal: No Solution
Exploring Operation: 1+55=56, Resulting Numbers: [56]
56,25 unequal: No Solution
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,25 unequal: No Solution
Exploring Operation: 55/1=55, Resulting Numbers: [55]
55,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 25:[11, 65], Operations: ['70-4=66', '66-1=65']
Exploring Operation: 11*65=715, Resulting Numbers: [715]
715,25 unequal: No Solution
Exploring Operation: 65-11=54, Resulting Numbers: [54]
54,25 unequal: No Solution
Exploring Operation: 11+65=76, Resulting Numbers: [76]
76,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 25:[66, 10], Operations: ['70-4=66', '11-1=10']
Exploring Operation: 66+10=76, Resulting Numbers: [76]
76,25 unequal: No Solution
Exploring Operation: 66*10=660, Resulting Numbers: [660]
660,25 unequal: No Solution
Exploring Operation: 66-10=56, Resulting Numbers: [56]
56,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 25:[66, 11], Operations: ['70-4=66', '11*1=11']
Exploring Operation: 66*11=726, Resulting Numbers: [726]
726,25 unequal: No Solution
Exploring Operation: 66+11=77, Resulting Numbers: [77]
77,25 unequal: No Solution
Exploring Operation: 66-11=55, Resulting Numbers: [55]
55,25 unequal: No Solution
Exploring Operation: 66/11=6, Resulting Numbers: [6]
6,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 25:[11, 4, 69], Operations: ['70-1=69']
Exploring Operation: 11-4=7, Resulting Numbers: [69, 7]
Generated Node #0,4,0: 25:[69, 7] Operation: 11-4=7
Exploring Operation: 69-11=58, Resulting Numbers: [4, 58]
Generated Node #0,4,1: 25:[4, 58] Operation: 69-11=58
Exploring Operation: 4+69=73, Resulting Numbers: [11, 73]
Generated Node #0,4,2: 25:[11, 73] Operation: 4+69=73
Exploring Operation: 11+4=15, Resulting Numbers: [69, 15]
Generated Node #0,4,3: 25:[69, 15] Operation: 11+4=15
Exploring Operation: 69-4=65, Resulting Numbers: [11, 65]
Generated Node #0,4,4: 25:[11, 65] Operation: 69-4=65
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 25:[4, 58], Operations: ['70-1=69', '69-11=58']
Exploring Operation: 4+58=62, Resulting Numbers: [62]
62,25 unequal: No Solution
Exploring Operation: 58-4=54, Resulting Numbers: [54]
54,25 unequal: No Solution
Exploring Operation: 4*58=232, Resulting Numbers: [232]
232,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 25:[69, 7], Operations: ['70-1=69', '11-4=7']
Exploring Operation: 69+7=76, Resulting Numbers: [76]
76,25 unequal: No Solution
Exploring Operation: 69-7=62, Resulting Numbers: [62]
62,25 unequal: No Solution
Exploring Operation: 69*7=483, Resulting Numbers: [483]
483,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 25:[11, 65], Operations: ['70-1=69', '69-4=65']
Exploring Operation: 11+65=76, Resulting Numbers: [76]
76,25 unequal: No Solution
Exploring Operation: 65-11=54, Resulting Numbers: [54]
54,25 unequal: No Solution
Exploring Operation: 11*65=715, Resulting Numbers: [715]
715,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 25:[11, 73], Operations: ['70-1=69', '4+69=73']
Exploring Operation: 11*73=803, Resulting Numbers: [803]
803,25 unequal: No Solution
Exploring Operation: 73-11=62, Resulting Numbers: [62]
62,25 unequal: No Solution
Exploring Operation: 11+73=84, Resulting Numbers: [84]
84,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 25:[69, 15], Operations: ['70-1=69', '11+4=15']
Exploring Operation: 69+15=84, Resulting Numbers: [84]
84,25 unequal: No Solution
Exploring Operation: 69-15=54, Resulting Numbers: [54]
54,25 unequal: No Solution
Exploring Operation: 69*15=1035, Resulting Numbers: [1035]
1035,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 25:[70, 4, 10], Operations: ['11-1=10']
Exploring Operation: 70-4=66, Resulting Numbers: [10, 66]
Generated Node #0,0,0: 25:[10, 66] Operation: 70-4=66
Exploring Operation: 70+4=74, Resulting Numbers: [10, 74]
Generated Node #0,0,1: 25:[10, 74] Operation: 70+4=74
Exploring Operation: 70/10=7, Resulting Numbers: [4, 7]
Generated Node #0,0,2: 25:[4, 7] Operation: 70/10=7
Exploring Operation: 10-4=6, Resulting Numbers: [70, 6]
Generated Node #0,0,3: 25:[70, 6] Operation: 10-4=6
Exploring Operation: 70-10=60, Resulting Numbers: [4, 60]
Generated Node #0,0,4: 25:[4, 60] Operation: 70-10=60
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 25:[4, 7], Operations: ['11-1=10', '70/10=7']
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,25 unequal: No Solution
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,25 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 25:[4, 60], Operations: ['11-1=10', '70-10=60']
Exploring Operation: 60-4=56, Resulting Numbers: [56]
56,25 unequal: No Solution
Exploring Operation: 4+60=64, Resulting Numbers: [64]
64,25 unequal: No Solution
Exploring Operation: 4*60=240, Resulting Numbers: [240]
240,25 unequal: No Solution
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 25:[10, 66], Operations: ['11-1=10', '70-4=66']
Exploring Operation: 10*66=660, Resulting Numbers: [660]
660,25 unequal: No Solution
Exploring Operation: 10+66=76, Resulting Numbers: [76]
76,25 unequal: No Solution
Exploring Operation: 66-10=56, Resulting Numbers: [56]
56,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 25:[70, 6], Operations: ['11-1=10', '10-4=6']
Exploring Operation: 70+6=76, Resulting Numbers: [76]
76,25 unequal: No Solution
Exploring Operation: 70*6=420, Resulting Numbers: [420]
420,25 unequal: No Solution
Exploring Operation: 70-6=64, Resulting Numbers: [64]
64,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 25:[10, 74], Operations: ['11-1=10', '70+4=74']
Exploring Operation: 10+74=84, Resulting Numbers: [84]
84,25 unequal: No Solution
Exploring Operation: 74-10=64, Resulting Numbers: [64]
64,25 unequal: No Solution
Exploring Operation: 10*74=740, Resulting Numbers: [740]
740,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 25:[70, 1, 7], Operations: ['11-4=7']
Exploring Operation: 70-7=63, Resulting Numbers: [1, 63]
Generated Node #0,3,0: 25:[1, 63] Operation: 70-7=63
Exploring Operation: 70/7=10, Resulting Numbers: [1, 10]
Generated Node #0,3,1: 25:[1, 10] Operation: 70/7=10
Exploring Operation: 70*1=70, Resulting Numbers: [7, 70]
Generated Node #0,3,2: 25:[7, 70] Operation: 70*1=70
Exploring Operation: 70-1=69, Resulting Numbers: [7, 69]
Generated Node #0,3,3: 25:[7, 69] Operation: 70-1=69
Exploring Operation: 7-1=6, Resulting Numbers: [70, 6]
Generated Node #0,3,4: 25:[70, 6] Operation: 7-1=6
Moving to Node #0,3,1
Current State: 25:[1, 10], Operations: ['11-4=7', '70/7=10']
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,25 unequal: No Solution
Exploring Operation: 1+10=11, Resulting Numbers: [11]
11,25 unequal: No Solution
Exploring Operation: 1*10=10, Resulting Numbers: [10]
10,25 unequal: No Solution
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,25 unequal: No Solution
Moving to Node #0,2,1
Current State: 25:[4, 58], Operations: ['70-11=59', '59-1=58']
Exploring Operation: 58-4=54, Resulting Numbers: [54]
54,25 unequal: No Solution
Exploring Operation: 4+58=62, Resulting Numbers: [62]
62,25 unequal: No Solution
Exploring Operation: 4*58=232, Resulting Numbers: [232]
232,25 unequal: No Solution
Moving to Node #0,2,4
Current State: 25:[1, 55], Operations: ['70-11=59', '59-4=55']
Exploring Operation: 55/1=55, Resulting Numbers: [55]
55,25 unequal: No Solution
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,25 unequal: No Solution
Exploring Operation: 1*55=55, Resulting Numbers: [55]
55,25 unequal: No Solution
Exploring Operation: 1+55=56, Resulting Numbers: [56]
56,25 unequal: No Solution
Moving to Node #0,2,2
Current State: 25:[59, 5], Operations: ['70-11=59', '4+1=5']
Exploring Operation: 59*5=295, Resulting Numbers: [295]
295,25 unequal: No Solution
Exploring Operation: 59+5=64, Resulting Numbers: [64]
64,25 unequal: No Solution
Exploring Operation: 59-5=54, Resulting Numbers: [54]
54,25 unequal: No Solution
Moving to Node #0,2,3
Current State: 25:[59, 4], Operations: ['70-11=59', '4/1=4']
Exploring Operation: 59*4=236, Resulting Numbers: [236]
236,25 unequal: No Solution
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,25 unequal: No Solution
Exploring Operation: 59+4=63, Resulting Numbers: [63]
63,25 unequal: No Solution
Moving to Node #0,2,0
Current State: 25:[59, 4], Operations: ['70-11=59', '4*1=4']
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,25 unequal: No Solution
Exploring Operation: 59*4=236, Resulting Numbers: [236]
236,25 unequal: No Solution
Exploring Operation: 59+4=63, Resulting Numbers: [63]
63,25 unequal: No Solution
Moving to Node #0,3,0
Current State: 25:[1, 63], Operations: ['11-4=7', '70-7=63']
Exploring Operation: 63-1=62, Resulting Numbers: [62]
62,25 unequal: No Solution
Exploring Operation: 1+63=64, Resulting Numbers: [64]
64,25 unequal: No Solution
Exploring Operation: 1*63=63, Resulting Numbers: [63]
63,25 unequal: No Solution
Exploring Operation: 63/1=63, Resulting Numbers: [63]
63,25 unequal: No Solution
Moving to Node #0,3,3
Current State: 25:[7, 69], Operations: ['11-4=7', '70-1=69']
Exploring Operation: 69-7=62, Resulting Numbers: [62]
62,25 unequal: No Solution
Exploring Operation: 7*69=483, Resulting Numbers: [483]
483,25 unequal: No Solution
Exploring Operation: 7+69=76, Resulting Numbers: [76]
76,25 unequal: No Solution
Moving to Node #0,3,4
Current State: 25:[70, 6], Operations: ['11-4=7', '7-1=6']
Exploring Operation: 70*6=420, Resulting Numbers: [420]
420,25 unequal: No Solution
Exploring Operation: 70+6=76, Resulting Numbers: [76]
76,25 unequal: No Solution
Exploring Operation: 70-6=64, Resulting Numbers: [64]
64,25 unequal: No Solution
Moving to Node #0,3,2
Current State: 25:[7, 70], Operations: ['11-4=7', '70*1=70']
Exploring Operation: 70-7=63, Resulting Numbers: [63]
63,25 unequal: No Solution
Exploring Operation: 7*70=490, Resulting Numbers: [490]
490,25 unequal: No Solution
Exploring Operation: 70/7=10, Resulting Numbers: [10]
10,25 unequal: No Solution
Exploring Operation: 7+70=77, Resulting Numbers: [77]
77,25 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
90,
5,
37,
16
] | 79 | [
"90+16=106",
"5*37=185",
"185-106=79"
] | Current State: 79:[90, 5, 37, 16], Operations: []
Exploring Operation: 90+16=106, Resulting Numbers: [5, 37, 106]
Generated Node #2: [5, 37, 106] from Operation: 90+16=106
Current State: 79:[5, 37, 106], Operations: ['90+16=106']
Exploring Operation: 5*37=185, Resulting Numbers: [106, 185]
Generated Node #3: [106, 185] from Operation: 5*37=185
Current State: 79:[106, 185], Operations: ['90+16=106', '5*37=185']
Exploring Operation: 185-106=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[90, 5, 37, 16], Operations: []
Exploring Operation: 5+37=42, Resulting Numbers: [90, 16, 42]
Generated Node #0,0: 79:[90, 16, 42] Operation: 5+37=42
Exploring Operation: 90-5=85, Resulting Numbers: [37, 16, 85]
Generated Node #0,1: 79:[37, 16, 85] Operation: 90-5=85
Exploring Operation: 5*16=80, Resulting Numbers: [90, 37, 80]
Generated Node #0,2: 79:[90, 37, 80] Operation: 5*16=80
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[90, 37, 80], Operations: ['5*16=80']
Exploring Operation: 80-37=43, Resulting Numbers: [90, 43]
Generated Node #0,2,0: 79:[90, 43] Operation: 80-37=43
Exploring Operation: 90+37=127, Resulting Numbers: [80, 127]
Generated Node #0,2,1: 79:[80, 127] Operation: 90+37=127
Exploring Operation: 90-37=53, Resulting Numbers: [80, 53]
Generated Node #0,2,2: 79:[80, 53] Operation: 90-37=53
Moving to Node #0,2,2
Current State: 79:[80, 53], Operations: ['5*16=80', '90-37=53']
Exploring Operation: 80+53=133, Resulting Numbers: [133]
133,79 unequal: No Solution
Exploring Operation: 80*53=4240, Resulting Numbers: [4240]
4240,79 unequal: No Solution
Exploring Operation: 80-53=27, Resulting Numbers: [27]
27,79 unequal: No Solution
Moving to Node #0,2,0
Current State: 79:[90, 43], Operations: ['5*16=80', '80-37=43']
Exploring Operation: 90-43=47, Resulting Numbers: [47]
47,79 unequal: No Solution
Exploring Operation: 90+43=133, Resulting Numbers: [133]
133,79 unequal: No Solution
Exploring Operation: 90*43=3870, Resulting Numbers: [3870]
3870,79 unequal: No Solution
Moving to Node #0,2,1
Current State: 79:[80, 127], Operations: ['5*16=80', '90+37=127']
Exploring Operation: 80*127=10160, Resulting Numbers: [10160]
10160,79 unequal: No Solution
Exploring Operation: 127-80=47, Resulting Numbers: [47]
47,79 unequal: No Solution
Exploring Operation: 80+127=207, Resulting Numbers: [207]
207,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[90, 16, 42], Operations: ['5+37=42']
Exploring Operation: 16+42=58, Resulting Numbers: [90, 58]
Generated Node #0,0,0: 79:[90, 58] Operation: 16+42=58
Exploring Operation: 90+16=106, Resulting Numbers: [42, 106]
Generated Node #0,0,1: 79:[42, 106] Operation: 90+16=106
Exploring Operation: 90-16=74, Resulting Numbers: [42, 74]
Generated Node #0,0,2: 79:[42, 74] Operation: 90-16=74
Moving to Node #0,0,0
Current State: 79:[90, 58], Operations: ['5+37=42', '16+42=58']
Exploring Operation: 90-58=32, Resulting Numbers: [32]
32,79 unequal: No Solution
Exploring Operation: 90+58=148, Resulting Numbers: [148]
148,79 unequal: No Solution
Exploring Operation: 90*58=5220, Resulting Numbers: [5220]
5220,79 unequal: No Solution
Moving to Node #0,0,2
Current State: 79:[42, 74], Operations: ['5+37=42', '90-16=74']
Exploring Operation: 42+74=116, Resulting Numbers: [116]
116,79 unequal: No Solution
Exploring Operation: 42*74=3108, Resulting Numbers: [3108]
3108,79 unequal: No Solution
Exploring Operation: 74-42=32, Resulting Numbers: [32]
32,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[42, 106], Operations: ['5+37=42', '90+16=106']
Exploring Operation: 42+106=148, Resulting Numbers: [148]
148,79 unequal: No Solution
Exploring Operation: 106-42=64, Resulting Numbers: [64]
64,79 unequal: No Solution
Exploring Operation: 42*106=4452, Resulting Numbers: [4452]
4452,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[37, 16, 85], Operations: ['90-5=85']
Exploring Operation: 85-16=69, Resulting Numbers: [37, 69]
Generated Node #0,1,0: 79:[37, 69] Operation: 85-16=69
Exploring Operation: 37+16=53, Resulting Numbers: [85, 53]
Generated Node #0,1,1: 79:[85, 53] Operation: 37+16=53
Exploring Operation: 37-16=21, Resulting Numbers: [85, 21]
Generated Node #0,1,2: 79:[85, 21] Operation: 37-16=21
Moving to Node #0,1,1
Current State: 79:[85, 53], Operations: ['90-5=85', '37+16=53']
Exploring Operation: 85-53=32, Resulting Numbers: [32]
32,79 unequal: No Solution
Exploring Operation: 85*53=4505, Resulting Numbers: [4505]
4505,79 unequal: No Solution
Exploring Operation: 85+53=138, Resulting Numbers: [138]
138,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[37, 69], Operations: ['90-5=85', '85-16=69']
Exploring Operation: 69-37=32, Resulting Numbers: [32]
32,79 unequal: No Solution
Exploring Operation: 37+69=106, Resulting Numbers: [106]
106,79 unequal: No Solution
Exploring Operation: 37*69=2553, Resulting Numbers: [2553]
2553,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[85, 21], Operations: ['90-5=85', '37-16=21']
Exploring Operation: 85+21=106, Resulting Numbers: [106]
106,79 unequal: No Solution
Exploring Operation: 85*21=1785, Resulting Numbers: [1785]
1785,79 unequal: No Solution
Exploring Operation: 85-21=64, Resulting Numbers: [64]
64,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
93,
8,
35,
7
] | 43 | [
"93-8=85",
"35+7=42",
"85-42=43"
] | Current State: 43:[93, 8, 35, 7], Operations: []
Exploring Operation: 93-8=85, Resulting Numbers: [35, 7, 85]
Generated Node #2: [35, 7, 85] from Operation: 93-8=85
Current State: 43:[35, 7, 85], Operations: ['93-8=85']
Exploring Operation: 35+7=42, Resulting Numbers: [85, 42]
Generated Node #3: [85, 42] from Operation: 35+7=42
Current State: 43:[85, 42], Operations: ['93-8=85', '35+7=42']
Exploring Operation: 85-42=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[93, 8, 35, 7], Operations: []
Exploring Operation: 93-7=86, Resulting Numbers: [8, 35, 86]
Generated Node #0,0: 43:[8, 35, 86] Operation: 93-7=86
Exploring Operation: 93-8=85, Resulting Numbers: [35, 7, 85]
Generated Node #0,1: 43:[35, 7, 85] Operation: 93-8=85
Exploring Operation: 93-35=58, Resulting Numbers: [8, 7, 58]
Generated Node #0,2: 43:[8, 7, 58] Operation: 93-35=58
Exploring Operation: 8*7=56, Resulting Numbers: [93, 35, 56]
Generated Node #0,3: 43:[93, 35, 56] Operation: 8*7=56
Start Sub Search at level 1: Moving to Node #0,3
Current State: 43:[93, 35, 56], Operations: ['8*7=56']
Exploring Operation: 93-35=58, Resulting Numbers: [56, 58]
Generated Node #0,3,0: 43:[56, 58] Operation: 93-35=58
Exploring Operation: 93-56=37, Resulting Numbers: [35, 37]
Generated Node #0,3,1: 43:[35, 37] Operation: 93-56=37
Exploring Operation: 93+35=128, Resulting Numbers: [56, 128]
Generated Node #0,3,2: 43:[56, 128] Operation: 93+35=128
Exploring Operation: 56-35=21, Resulting Numbers: [93, 21]
Generated Node #0,3,3: 43:[93, 21] Operation: 56-35=21
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 43:[35, 37], Operations: ['8*7=56', '93-56=37']
Exploring Operation: 37-35=2, Resulting Numbers: [2]
2,43 unequal: No Solution
Exploring Operation: 35*37=1295, Resulting Numbers: [1295]
1295,43 unequal: No Solution
Exploring Operation: 35+37=72, Resulting Numbers: [72]
72,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 43:[56, 58], Operations: ['8*7=56', '93-35=58']
Exploring Operation: 56*58=3248, Resulting Numbers: [3248]
3248,43 unequal: No Solution
Exploring Operation: 56+58=114, Resulting Numbers: [114]
114,43 unequal: No Solution
Exploring Operation: 58-56=2, Resulting Numbers: [2]
2,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 43:[93, 21], Operations: ['8*7=56', '56-35=21']
Exploring Operation: 93-21=72, Resulting Numbers: [72]
72,43 unequal: No Solution
Exploring Operation: 93+21=114, Resulting Numbers: [114]
114,43 unequal: No Solution
Exploring Operation: 93*21=1953, Resulting Numbers: [1953]
1953,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 43:[56, 128], Operations: ['8*7=56', '93+35=128']
Exploring Operation: 56+128=184, Resulting Numbers: [184]
184,43 unequal: No Solution
Exploring Operation: 56*128=7168, Resulting Numbers: [7168]
7168,43 unequal: No Solution
Exploring Operation: 128-56=72, Resulting Numbers: [72]
72,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[8, 35, 86], Operations: ['93-7=86']
Exploring Operation: 8+35=43, Resulting Numbers: [86, 43]
Generated Node #0,0,0: 43:[86, 43] Operation: 8+35=43
Exploring Operation: 86-35=51, Resulting Numbers: [8, 51]
Generated Node #0,0,1: 43:[8, 51] Operation: 86-35=51
Exploring Operation: 86-8=78, Resulting Numbers: [35, 78]
Generated Node #0,0,2: 43:[35, 78] Operation: 86-8=78
Exploring Operation: 35-8=27, Resulting Numbers: [86, 27]
Generated Node #0,0,3: 43:[86, 27] Operation: 35-8=27
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 43:[86, 43], Operations: ['93-7=86', '8+35=43']
Exploring Operation: 86*43=3698, Resulting Numbers: [3698]
3698,43 unequal: No Solution
Exploring Operation: 86+43=129, Resulting Numbers: [129]
129,43 unequal: No Solution
Exploring Operation: 86/43=2, Resulting Numbers: [2]
2,43 unequal: No Solution
Exploring Operation: 86-43=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[93, 8, 35, 7], Operations: []
Exploring Operation: 93-7=86, Resulting Numbers: [8, 35, 86]
Generated Node #0,0: 43:[8, 35, 86] Operation: 93-7=86
Moving to Node #0,0
Current State: 43:[8, 35, 86], Operations: ['93-7=86']
Exploring Operation: 8+35=43, Resulting Numbers: [86, 43]
Generated Node #0,0,0: 43:[86, 43] Operation: 8+35=43
Moving to Node #0,0,0
Current State: 43:[86, 43], Operations: ['93-7=86', '8+35=43']
Exploring Operation: 86-43=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.972222 | hs_4 | sum_heuristic |
[
40,
39,
61,
86
] | 68 | [
"40+39=79",
"61+86=147",
"147-79=68"
] | Current State: 68:[40, 39, 61, 86], Operations: []
Exploring Operation: 40+39=79, Resulting Numbers: [61, 86, 79]
Generated Node #2: [61, 86, 79] from Operation: 40+39=79
Current State: 68:[61, 86, 79], Operations: ['40+39=79']
Exploring Operation: 61+86=147, Resulting Numbers: [79, 147]
Generated Node #3: [79, 147] from Operation: 61+86=147
Current State: 68:[79, 147], Operations: ['40+39=79', '61+86=147']
Exploring Operation: 147-79=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[40, 39, 61, 86], Operations: []
Exploring Operation: 86-40=46, Resulting Numbers: [39, 61, 46]
Generated Node #0,0: 68:[39, 61, 46] Operation: 86-40=46
Exploring Operation: 86-61=25, Resulting Numbers: [40, 39, 25]
Generated Node #0,1: 68:[40, 39, 25] Operation: 86-61=25
Exploring Operation: 40-39=1, Resulting Numbers: [61, 86, 1]
Generated Node #0,2: 68:[61, 86, 1] Operation: 40-39=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 68:[40, 39, 25], Operations: ['86-61=25']
Exploring Operation: 40-39=1, Resulting Numbers: [25, 1]
Generated Node #0,1,0: 68:[25, 1] Operation: 40-39=1
Exploring Operation: 40-25=15, Resulting Numbers: [39, 15]
Generated Node #0,1,1: 68:[39, 15] Operation: 40-25=15
Exploring Operation: 40+25=65, Resulting Numbers: [39, 65]
Generated Node #0,1,2: 68:[39, 65] Operation: 40+25=65
Moving to Node #0,1,1
Current State: 68:[39, 15], Operations: ['86-61=25', '40-25=15']
Exploring Operation: 39-15=24, Resulting Numbers: [24]
24,68 unequal: No Solution
Exploring Operation: 39*15=585, Resulting Numbers: [585]
585,68 unequal: No Solution
Exploring Operation: 39+15=54, Resulting Numbers: [54]
54,68 unequal: No Solution
Moving to Node #0,1,2
Current State: 68:[39, 65], Operations: ['86-61=25', '40+25=65']
Exploring Operation: 65-39=26, Resulting Numbers: [26]
26,68 unequal: No Solution
Exploring Operation: 39+65=104, Resulting Numbers: [104]
104,68 unequal: No Solution
Exploring Operation: 39*65=2535, Resulting Numbers: [2535]
2535,68 unequal: No Solution
Moving to Node #0,1,0
Current State: 68:[25, 1], Operations: ['86-61=25', '40-39=1']
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,68 unequal: No Solution
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,68 unequal: No Solution
Exploring Operation: 25+1=26, Resulting Numbers: [26]
26,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[39, 61, 46], Operations: ['86-40=46']
Exploring Operation: 46-39=7, Resulting Numbers: [61, 7]
Generated Node #0,0,0: 68:[61, 7] Operation: 46-39=7
Exploring Operation: 61-39=22, Resulting Numbers: [46, 22]
Generated Node #0,0,1: 68:[46, 22] Operation: 61-39=22
Exploring Operation: 61-46=15, Resulting Numbers: [39, 15]
Generated Node #0,0,2: 68:[39, 15] Operation: 61-46=15
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 68:[39, 15], Operations: ['86-40=46', '61-46=15']
Exploring Operation: 39+15=54, Resulting Numbers: [54]
54,68 unequal: No Solution
Exploring Operation: 39*15=585, Resulting Numbers: [585]
585,68 unequal: No Solution
Exploring Operation: 39-15=24, Resulting Numbers: [24]
24,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 68:[61, 7], Operations: ['86-40=46', '46-39=7']
Exploring Operation: 61*7=427, Resulting Numbers: [427]
427,68 unequal: No Solution
Exploring Operation: 61-7=54, Resulting Numbers: [54]
54,68 unequal: No Solution
Exploring Operation: 61+7=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[40, 39, 61, 86], Operations: []
Exploring Operation: 86-40=46, Resulting Numbers: [39, 61, 46]
Generated Node #0,0: 68:[39, 61, 46] Operation: 86-40=46
Moving to Node #0,0
Current State: 68:[39, 61, 46], Operations: ['86-40=46']
Exploring Operation: 46-39=7, Resulting Numbers: [61, 7]
Generated Node #0,0,0: 68:[61, 7] Operation: 46-39=7
Moving to Node #0,0,0
Current State: 68:[61, 7], Operations: ['86-40=46', '46-39=7']
Exploring Operation: 61+7=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.975694 | hs_3 | sum_heuristic |
[
20,
38,
26,
73
] | 29 | [
"38-20=18",
"73-26=47",
"47-18=29"
] | Current State: 29:[20, 38, 26, 73], Operations: []
Exploring Operation: 38-20=18, Resulting Numbers: [26, 73, 18]
Generated Node #2: [26, 73, 18] from Operation: 38-20=18
Current State: 29:[26, 73, 18], Operations: ['38-20=18']
Exploring Operation: 73-26=47, Resulting Numbers: [18, 47]
Generated Node #3: [18, 47] from Operation: 73-26=47
Current State: 29:[18, 47], Operations: ['38-20=18', '73-26=47']
Exploring Operation: 47-18=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[20, 38, 26, 73], Operations: []
Exploring Operation: 73-20=53, Resulting Numbers: [38, 26, 53]
Generated Node #0,0: 29:[38, 26, 53] Operation: 73-20=53
Exploring Operation: 73-38=35, Resulting Numbers: [20, 26, 35]
Generated Node #0,1: 29:[20, 26, 35] Operation: 73-38=35
Exploring Operation: 20+26=46, Resulting Numbers: [38, 73, 46]
Generated Node #0,2: 29:[38, 73, 46] Operation: 20+26=46
Exploring Operation: 73-26=47, Resulting Numbers: [20, 38, 47]
Generated Node #0,3: 29:[20, 38, 47] Operation: 73-26=47
Exploring Operation: 38-20=18, Resulting Numbers: [26, 73, 18]
Generated Node #0,4: 29:[26, 73, 18] Operation: 38-20=18
Start Sub Search at level 1: Moving to Node #0,1
Current State: 29:[20, 26, 35], Operations: ['73-38=35']
Exploring Operation: 35-26=9, Resulting Numbers: [20, 9]
Generated Node #0,1,0: 29:[20, 9] Operation: 35-26=9
Exploring Operation: 20+35=55, Resulting Numbers: [26, 55]
Generated Node #0,1,1: 29:[26, 55] Operation: 20+35=55
Exploring Operation: 26-20=6, Resulting Numbers: [35, 6]
Generated Node #0,1,2: 29:[35, 6] Operation: 26-20=6
Exploring Operation: 20+26=46, Resulting Numbers: [35, 46]
Generated Node #0,1,3: 29:[35, 46] Operation: 20+26=46
Exploring Operation: 35-20=15, Resulting Numbers: [26, 15]
Generated Node #0,1,4: 29:[26, 15] Operation: 35-20=15
Moving to Node #0,1,4
Current State: 29:[26, 15], Operations: ['73-38=35', '35-20=15']
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,29 unequal: No Solution
Exploring Operation: 26*15=390, Resulting Numbers: [390]
390,29 unequal: No Solution
Exploring Operation: 26+15=41, Resulting Numbers: [41]
41,29 unequal: No Solution
Moving to Node #0,1,3
Current State: 29:[35, 46], Operations: ['73-38=35', '20+26=46']
Exploring Operation: 35+46=81, Resulting Numbers: [81]
81,29 unequal: No Solution
Exploring Operation: 35*46=1610, Resulting Numbers: [1610]
1610,29 unequal: No Solution
Exploring Operation: 46-35=11, Resulting Numbers: [11]
11,29 unequal: No Solution
Moving to Node #0,1,0
Current State: 29:[20, 9], Operations: ['73-38=35', '35-26=9']
Exploring Operation: 20*9=180, Resulting Numbers: [180]
180,29 unequal: No Solution
Exploring Operation: 20+9=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[20, 38, 26, 73], Operations: []
Exploring Operation: 73-38=35, Resulting Numbers: [20, 26, 35]
Generated Node #0,1: 29:[20, 26, 35] Operation: 73-38=35
Moving to Node #0,1
Current State: 29:[20, 26, 35], Operations: ['73-38=35']
Exploring Operation: 35-26=9, Resulting Numbers: [20, 9]
Generated Node #0,1,0: 29:[20, 9] Operation: 35-26=9
Moving to Node #0,1,0
Current State: 29:[20, 9], Operations: ['73-38=35', '35-26=9']
Exploring Operation: 20+9=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | mult_heuristic |
[
52,
99,
43,
45
] | 56 | [
"52-43=9",
"99/9=11",
"45+11=56"
] | Current State: 56:[52, 99, 43, 45], Operations: []
Exploring Operation: 52-43=9, Resulting Numbers: [99, 45, 9]
Generated Node #2: [99, 45, 9] from Operation: 52-43=9
Current State: 56:[99, 45, 9], Operations: ['52-43=9']
Exploring Operation: 99/9=11, Resulting Numbers: [45, 11]
Generated Node #3: [45, 11] from Operation: 99/9=11
Current State: 56:[45, 11], Operations: ['52-43=9', '99/9=11']
Exploring Operation: 45+11=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[52, 99, 43, 45], Operations: []
Exploring Operation: 99-52=47, Resulting Numbers: [43, 45, 47]
Generated Node #0,0: 56:[43, 45, 47] Operation: 99-52=47
Exploring Operation: 99-45=54, Resulting Numbers: [52, 43, 54]
Generated Node #0,1: 56:[52, 43, 54] Operation: 99-45=54
Exploring Operation: 99-43=56, Resulting Numbers: [52, 45, 56]
Generated Node #0,2: 56:[52, 45, 56] Operation: 99-43=56
Moving to Node #0,2
Current State: 56:[52, 45, 56], Operations: ['99-43=56']
Exploring Operation: 56-52=4, Resulting Numbers: [45, 4]
Generated Node #0,2,0: 56:[45, 4] Operation: 56-52=4
Exploring Operation: 56-45=11, Resulting Numbers: [52, 11]
Generated Node #0,2,1: 56:[52, 11] Operation: 56-45=11
Exploring Operation: 52-45=7, Resulting Numbers: [56, 7]
Generated Node #0,2,2: 56:[56, 7] Operation: 52-45=7
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 56:[56, 7], Operations: ['99-43=56', '52-45=7']
Exploring Operation: 56+7=63, Resulting Numbers: [63]
63,56 unequal: No Solution
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,56 unequal: No Solution
Exploring Operation: 56/7=8, Resulting Numbers: [8]
8,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 56:[52, 11], Operations: ['99-43=56', '56-45=11']
Exploring Operation: 52+11=63, Resulting Numbers: [63]
63,56 unequal: No Solution
Exploring Operation: 52*11=572, Resulting Numbers: [572]
572,56 unequal: No Solution
Exploring Operation: 52-11=41, Resulting Numbers: [41]
41,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 56:[45, 4], Operations: ['99-43=56', '56-52=4']
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,56 unequal: No Solution
Exploring Operation: 45+4=49, Resulting Numbers: [49]
49,56 unequal: No Solution
Exploring Operation: 45*4=180, Resulting Numbers: [180]
180,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 56:[52, 43, 54], Operations: ['99-45=54']
Exploring Operation: 54-52=2, Resulting Numbers: [43, 2]
Generated Node #0,1,0: 56:[43, 2] Operation: 54-52=2
Exploring Operation: 54-43=11, Resulting Numbers: [52, 11]
Generated Node #0,1,1: 56:[52, 11] Operation: 54-43=11
Exploring Operation: 52-43=9, Resulting Numbers: [54, 9]
Generated Node #0,1,2: 56:[54, 9] Operation: 52-43=9
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 56:[54, 9], Operations: ['99-45=54', '52-43=9']
Exploring Operation: 54+9=63, Resulting Numbers: [63]
63,56 unequal: No Solution
Exploring Operation: 54/9=6, Resulting Numbers: [6]
6,56 unequal: No Solution
Exploring Operation: 54-9=45, Resulting Numbers: [45]
45,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 56:[52, 11], Operations: ['99-45=54', '54-43=11']
Exploring Operation: 52*11=572, Resulting Numbers: [572]
572,56 unequal: No Solution
Exploring Operation: 52+11=63, Resulting Numbers: [63]
63,56 unequal: No Solution
Exploring Operation: 52-11=41, Resulting Numbers: [41]
41,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 56:[43, 2], Operations: ['99-45=54', '54-52=2']
Exploring Operation: 43*2=86, Resulting Numbers: [86]
86,56 unequal: No Solution
Exploring Operation: 43+2=45, Resulting Numbers: [45]
45,56 unequal: No Solution
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 56:[43, 45, 47], Operations: ['99-52=47']
Exploring Operation: 47-43=4, Resulting Numbers: [45, 4]
Generated Node #0,0,0: 56:[45, 4] Operation: 47-43=4
Exploring Operation: 47-45=2, Resulting Numbers: [43, 2]
Generated Node #0,0,1: 56:[43, 2] Operation: 47-45=2
Exploring Operation: 45-43=2, Resulting Numbers: [47, 2]
Generated Node #0,0,2: 56:[47, 2] Operation: 45-43=2
Moving to Node #0,0,2
Current State: 56:[47, 2], Operations: ['99-52=47', '45-43=2']
Exploring Operation: 47+2=49, Resulting Numbers: [49]
49,56 unequal: No Solution
Exploring Operation: 47*2=94, Resulting Numbers: [94]
94,56 unequal: No Solution
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,56 unequal: No Solution
Moving to Node #0,0,0
Current State: 56:[45, 4], Operations: ['99-52=47', '47-43=4']
Exploring Operation: 45+4=49, Resulting Numbers: [49]
49,56 unequal: No Solution
Exploring Operation: 45*4=180, Resulting Numbers: [180]
180,56 unequal: No Solution
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,56 unequal: No Solution
Moving to Node #0,0,1
Current State: 56:[43, 2], Operations: ['99-52=47', '47-45=2']
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,56 unequal: No Solution
Exploring Operation: 43*2=86, Resulting Numbers: [86]
86,56 unequal: No Solution
Exploring Operation: 43+2=45, Resulting Numbers: [45]
45,56 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
66,
27,
2,
57
] | 98 | [
"66-27=39",
"2+57=59",
"39+59=98"
] | Current State: 98:[66, 27, 2, 57], Operations: []
Exploring Operation: 66-27=39, Resulting Numbers: [2, 57, 39]
Generated Node #2: [2, 57, 39] from Operation: 66-27=39
Current State: 98:[2, 57, 39], Operations: ['66-27=39']
Exploring Operation: 2+57=59, Resulting Numbers: [39, 59]
Generated Node #3: [39, 59] from Operation: 2+57=59
Current State: 98:[39, 59], Operations: ['66-27=39', '2+57=59']
Exploring Operation: 39+59=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[66, 27, 2, 57], Operations: []
Exploring Operation: 66+27=93, Resulting Numbers: [2, 57, 93]
Generated Node #0,0: 98:[2, 57, 93] Operation: 66+27=93
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[2, 57, 93], Operations: ['66+27=93']
Exploring Operation: 57-2=55, Resulting Numbers: [93, 55]
Generated Node #0,0,0: 98:[93, 55] Operation: 57-2=55
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 98:[93, 55], Operations: ['66+27=93', '57-2=55']
Exploring Operation: 93-55=38, Resulting Numbers: [38]
38,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
86,
94,
6,
43
] | 73 | [
"86+94=180",
"180/6=30",
"43+30=73"
] | Current State: 73:[86, 94, 6, 43], Operations: []
Exploring Operation: 86+94=180, Resulting Numbers: [6, 43, 180]
Generated Node #2: [6, 43, 180] from Operation: 86+94=180
Current State: 73:[6, 43, 180], Operations: ['86+94=180']
Exploring Operation: 180/6=30, Resulting Numbers: [43, 30]
Generated Node #3: [43, 30] from Operation: 180/6=30
Current State: 73:[43, 30], Operations: ['86+94=180', '180/6=30']
Exploring Operation: 43+30=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[86, 94, 6, 43], Operations: []
Exploring Operation: 6+43=49, Resulting Numbers: [86, 94, 49]
Generated Node #0,0: 73:[86, 94, 49] Operation: 6+43=49
Exploring Operation: 86-6=80, Resulting Numbers: [94, 43, 80]
Generated Node #0,1: 73:[94, 43, 80] Operation: 86-6=80
Exploring Operation: 94-6=88, Resulting Numbers: [86, 43, 88]
Generated Node #0,2: 73:[86, 43, 88] Operation: 94-6=88
Exploring Operation: 86+6=92, Resulting Numbers: [94, 43, 92]
Generated Node #0,3: 73:[94, 43, 92] Operation: 86+6=92
Moving to Node #0,0
Current State: 73:[86, 94, 49], Operations: ['6+43=49']
Exploring Operation: 94+49=143, Resulting Numbers: [86, 143]
Generated Node #0,0,0: 73:[86, 143] Operation: 94+49=143
Exploring Operation: 86-49=37, Resulting Numbers: [94, 37]
Generated Node #0,0,1: 73:[94, 37] Operation: 86-49=37
Exploring Operation: 94-49=45, Resulting Numbers: [86, 45]
Generated Node #0,0,2: 73:[86, 45] Operation: 94-49=45
Exploring Operation: 86+49=135, Resulting Numbers: [94, 135]
Generated Node #0,0,3: 73:[94, 135] Operation: 86+49=135
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 73:[86, 45], Operations: ['6+43=49', '94-49=45']
Exploring Operation: 86-45=41, Resulting Numbers: [41]
41,73 unequal: No Solution
Exploring Operation: 86+45=131, Resulting Numbers: [131]
131,73 unequal: No Solution
Exploring Operation: 86*45=3870, Resulting Numbers: [3870]
3870,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 73:[94, 37], Operations: ['6+43=49', '86-49=37']
Exploring Operation: 94+37=131, Resulting Numbers: [131]
131,73 unequal: No Solution
Exploring Operation: 94-37=57, Resulting Numbers: [57]
57,73 unequal: No Solution
Exploring Operation: 94*37=3478, Resulting Numbers: [3478]
3478,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[86, 143], Operations: ['6+43=49', '94+49=143']
Exploring Operation: 86*143=12298, Resulting Numbers: [12298]
12298,73 unequal: No Solution
Exploring Operation: 143-86=57, Resulting Numbers: [57]
57,73 unequal: No Solution
Exploring Operation: 86+143=229, Resulting Numbers: [229]
229,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 73:[94, 135], Operations: ['6+43=49', '86+49=135']
Exploring Operation: 135-94=41, Resulting Numbers: [41]
41,73 unequal: No Solution
Exploring Operation: 94*135=12690, Resulting Numbers: [12690]
12690,73 unequal: No Solution
Exploring Operation: 94+135=229, Resulting Numbers: [229]
229,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 73:[86, 43, 88], Operations: ['94-6=88']
Exploring Operation: 88-43=45, Resulting Numbers: [86, 45]
Generated Node #0,2,0: 73:[86, 45] Operation: 88-43=45
Exploring Operation: 86-43=43, Resulting Numbers: [88, 43]
Generated Node #0,2,1: 73:[88, 43] Operation: 86-43=43
Exploring Operation: 43+88=131, Resulting Numbers: [86, 131]
Generated Node #0,2,2: 73:[86, 131] Operation: 43+88=131
Exploring Operation: 86+43=129, Resulting Numbers: [88, 129]
Generated Node #0,2,3: 73:[88, 129] Operation: 86+43=129
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 73:[86, 45], Operations: ['94-6=88', '88-43=45']
Exploring Operation: 86*45=3870, Resulting Numbers: [3870]
3870,73 unequal: No Solution
Exploring Operation: 86-45=41, Resulting Numbers: [41]
41,73 unequal: No Solution
Exploring Operation: 86+45=131, Resulting Numbers: [131]
131,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 73:[88, 43], Operations: ['94-6=88', '86-43=43']
Exploring Operation: 88*43=3784, Resulting Numbers: [3784]
3784,73 unequal: No Solution
Exploring Operation: 88-43=45, Resulting Numbers: [45]
45,73 unequal: No Solution
Exploring Operation: 88+43=131, Resulting Numbers: [131]
131,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 73:[86, 131], Operations: ['94-6=88', '43+88=131']
Exploring Operation: 86+131=217, Resulting Numbers: [217]
217,73 unequal: No Solution
Exploring Operation: 131-86=45, Resulting Numbers: [45]
45,73 unequal: No Solution
Exploring Operation: 86*131=11266, Resulting Numbers: [11266]
11266,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 73:[88, 129], Operations: ['94-6=88', '86+43=129']
Exploring Operation: 129-88=41, Resulting Numbers: [41]
41,73 unequal: No Solution
Exploring Operation: 88*129=11352, Resulting Numbers: [11352]
11352,73 unequal: No Solution
Exploring Operation: 88+129=217, Resulting Numbers: [217]
217,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 73:[94, 43, 80], Operations: ['86-6=80']
Exploring Operation: 80-43=37, Resulting Numbers: [94, 37]
Generated Node #0,1,0: 73:[94, 37] Operation: 80-43=37
Exploring Operation: 43+80=123, Resulting Numbers: [94, 123]
Generated Node #0,1,1: 73:[94, 123] Operation: 43+80=123
Exploring Operation: 94-43=51, Resulting Numbers: [80, 51]
Generated Node #0,1,2: 73:[80, 51] Operation: 94-43=51
Exploring Operation: 94+43=137, Resulting Numbers: [80, 137]
Generated Node #0,1,3: 73:[80, 137] Operation: 94+43=137
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 73:[80, 51], Operations: ['86-6=80', '94-43=51']
Exploring Operation: 80-51=29, Resulting Numbers: [29]
29,73 unequal: No Solution
Exploring Operation: 80+51=131, Resulting Numbers: [131]
131,73 unequal: No Solution
Exploring Operation: 80*51=4080, Resulting Numbers: [4080]
4080,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 73:[94, 37], Operations: ['86-6=80', '80-43=37']
Exploring Operation: 94-37=57, Resulting Numbers: [57]
57,73 unequal: No Solution
Exploring Operation: 94+37=131, Resulting Numbers: [131]
131,73 unequal: No Solution
Exploring Operation: 94*37=3478, Resulting Numbers: [3478]
3478,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 73:[94, 123], Operations: ['86-6=80', '43+80=123']
Exploring Operation: 94+123=217, Resulting Numbers: [217]
217,73 unequal: No Solution
Exploring Operation: 94*123=11562, Resulting Numbers: [11562]
11562,73 unequal: No Solution
Exploring Operation: 123-94=29, Resulting Numbers: [29]
29,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 73:[80, 137], Operations: ['86-6=80', '94+43=137']
Exploring Operation: 80*137=10960, Resulting Numbers: [10960]
10960,73 unequal: No Solution
Exploring Operation: 80+137=217, Resulting Numbers: [217]
217,73 unequal: No Solution
Exploring Operation: 137-80=57, Resulting Numbers: [57]
57,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 73:[94, 43, 92], Operations: ['86+6=92']
Exploring Operation: 94-43=51, Resulting Numbers: [92, 51]
Generated Node #0,3,0: 73:[92, 51] Operation: 94-43=51
Exploring Operation: 94+43=137, Resulting Numbers: [92, 137]
Generated Node #0,3,1: 73:[92, 137] Operation: 94+43=137
Exploring Operation: 92-43=49, Resulting Numbers: [94, 49]
Generated Node #0,3,2: 73:[94, 49] Operation: 92-43=49
Exploring Operation: 43+92=135, Resulting Numbers: [94, 135]
Generated Node #0,3,3: 73:[94, 135] Operation: 43+92=135
Moving to Node #0,3,0
Current State: 73:[92, 51], Operations: ['86+6=92', '94-43=51']
Exploring Operation: 92-51=41, Resulting Numbers: [41]
41,73 unequal: No Solution
Exploring Operation: 92*51=4692, Resulting Numbers: [4692]
4692,73 unequal: No Solution
Exploring Operation: 92+51=143, Resulting Numbers: [143]
143,73 unequal: No Solution
Moving to Node #0,3,2
Current State: 73:[94, 49], Operations: ['86+6=92', '92-43=49']
Exploring Operation: 94+49=143, Resulting Numbers: [143]
143,73 unequal: No Solution
Exploring Operation: 94*49=4606, Resulting Numbers: [4606]
4606,73 unequal: No Solution
Exploring Operation: 94-49=45, Resulting Numbers: [45]
45,73 unequal: No Solution
Moving to Node #0,3,3
Current State: 73:[94, 135], Operations: ['86+6=92', '43+92=135']
Exploring Operation: 94+135=229, Resulting Numbers: [229]
229,73 unequal: No Solution
Exploring Operation: 94*135=12690, Resulting Numbers: [12690]
12690,73 unequal: No Solution
Exploring Operation: 135-94=41, Resulting Numbers: [41]
41,73 unequal: No Solution
Moving to Node #0,3,1
Current State: 73:[92, 137], Operations: ['86+6=92', '94+43=137']
Exploring Operation: 92*137=12604, Resulting Numbers: [12604]
12604,73 unequal: No Solution
Exploring Operation: 137-92=45, Resulting Numbers: [45]
45,73 unequal: No Solution
Exploring Operation: 92+137=229, Resulting Numbers: [229]
229,73 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
6,
5,
71,
35
] | 25 | [
"6+5=11",
"71-35=36",
"36-11=25"
] | Current State: 25:[6, 5, 71, 35], Operations: []
Exploring Operation: 6+5=11, Resulting Numbers: [71, 35, 11]
Generated Node #2: [71, 35, 11] from Operation: 6+5=11
Current State: 25:[71, 35, 11], Operations: ['6+5=11']
Exploring Operation: 71-35=36, Resulting Numbers: [11, 36]
Generated Node #3: [11, 36] from Operation: 71-35=36
Current State: 25:[11, 36], Operations: ['6+5=11', '71-35=36']
Exploring Operation: 36-11=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[6, 5, 71, 35], Operations: []
Exploring Operation: 71-6=65, Resulting Numbers: [5, 35, 65]
Generated Node #0,0: 25:[5, 35, 65] Operation: 71-6=65
Exploring Operation: 35-6=29, Resulting Numbers: [5, 71, 29]
Generated Node #0,1: 25:[5, 71, 29] Operation: 35-6=29
Exploring Operation: 71-5=66, Resulting Numbers: [6, 35, 66]
Generated Node #0,2: 25:[6, 35, 66] Operation: 71-5=66
Exploring Operation: 35/5=7, Resulting Numbers: [6, 71, 7]
Generated Node #0,3: 25:[6, 71, 7] Operation: 35/5=7
Exploring Operation: 71-35=36, Resulting Numbers: [6, 5, 36]
Generated Node #0,4: 25:[6, 5, 36] Operation: 71-35=36
Start Sub Search at level 1: Moving to Node #0,4
Current State: 25:[6, 5, 36], Operations: ['71-35=36']
Exploring Operation: 36/6=6, Resulting Numbers: [5, 6]
Generated Node #0,4,0: 25:[5, 6] Operation: 36/6=6
Exploring Operation: 6-5=1, Resulting Numbers: [36, 1]
Generated Node #0,4,1: 25:[36, 1] Operation: 6-5=1
Exploring Operation: 36-5=31, Resulting Numbers: [6, 31]
Generated Node #0,4,2: 25:[6, 31] Operation: 36-5=31
Exploring Operation: 6*5=30, Resulting Numbers: [36, 30]
Generated Node #0,4,3: 25:[36, 30] Operation: 6*5=30
Exploring Operation: 36-6=30, Resulting Numbers: [5, 30]
Generated Node #0,4,4: 25:[5, 30] Operation: 36-6=30
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 25:[5, 6], Operations: ['71-35=36', '36/6=6']
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,25 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 25:[5, 30], Operations: ['71-35=36', '36-6=30']
Exploring Operation: 5+30=35, Resulting Numbers: [35]
35,25 unequal: No Solution
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,25 unequal: No Solution
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[6, 5, 71, 35], Operations: []
Exploring Operation: 71-35=36, Resulting Numbers: [6, 5, 36]
Generated Node #0,4: 25:[6, 5, 36] Operation: 71-35=36
Moving to Node #0,4
Current State: 25:[6, 5, 36], Operations: ['71-35=36']
Exploring Operation: 36-6=30, Resulting Numbers: [5, 30]
Generated Node #0,4,4: 25:[5, 30] Operation: 36-6=30
Moving to Node #0,4,4
Current State: 25:[5, 30], Operations: ['71-35=36', '36-6=30']
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
78,
22,
70,
69
] | 57 | [
"78-22=56",
"70-69=1",
"56+1=57"
] | Current State: 57:[78, 22, 70, 69], Operations: []
Exploring Operation: 78-22=56, Resulting Numbers: [70, 69, 56]
Generated Node #2: [70, 69, 56] from Operation: 78-22=56
Current State: 57:[70, 69, 56], Operations: ['78-22=56']
Exploring Operation: 70-69=1, Resulting Numbers: [56, 1]
Generated Node #3: [56, 1] from Operation: 70-69=1
Current State: 57:[56, 1], Operations: ['78-22=56', '70-69=1']
Exploring Operation: 56+1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[78, 22, 70, 69], Operations: []
Exploring Operation: 78-69=9, Resulting Numbers: [22, 70, 9]
Generated Node #0,0: 57:[22, 70, 9] Operation: 78-69=9
Exploring Operation: 78-70=8, Resulting Numbers: [22, 69, 8]
Generated Node #0,1: 57:[22, 69, 8] Operation: 78-70=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[22, 69, 8], Operations: ['78-70=8']
Exploring Operation: 69-22=47, Resulting Numbers: [8, 47]
Generated Node #0,1,0: 57:[8, 47] Operation: 69-22=47
Exploring Operation: 69-8=61, Resulting Numbers: [22, 61]
Generated Node #0,1,1: 57:[22, 61] Operation: 69-8=61
Moving to Node #0,1,1
Current State: 57:[22, 61], Operations: ['78-70=8', '69-8=61']
Exploring Operation: 22+61=83, Resulting Numbers: [83]
83,57 unequal: No Solution
Exploring Operation: 61-22=39, Resulting Numbers: [39]
39,57 unequal: No Solution
Moving to Node #0,1,0
Current State: 57:[8, 47], Operations: ['78-70=8', '69-22=47']
Exploring Operation: 47-8=39, Resulting Numbers: [39]
39,57 unequal: No Solution
Exploring Operation: 8+47=55, Resulting Numbers: [55]
55,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[22, 70, 9], Operations: ['78-69=9']
Exploring Operation: 70-22=48, Resulting Numbers: [9, 48]
Generated Node #0,0,0: 57:[9, 48] Operation: 70-22=48
Exploring Operation: 70-9=61, Resulting Numbers: [22, 61]
Generated Node #0,0,1: 57:[22, 61] Operation: 70-9=61
Moving to Node #0,0,1
Current State: 57:[22, 61], Operations: ['78-69=9', '70-9=61']
Exploring Operation: 61-22=39, Resulting Numbers: [39]
39,57 unequal: No Solution
Exploring Operation: 22+61=83, Resulting Numbers: [83]
83,57 unequal: No Solution
Moving to Node #0,0,0
Current State: 57:[9, 48], Operations: ['78-69=9', '70-22=48']
Exploring Operation: 48-9=39, Resulting Numbers: [39]
39,57 unequal: No Solution
Exploring Operation: 9+48=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[78, 22, 70, 69], Operations: []
Exploring Operation: 78-69=9, Resulting Numbers: [22, 70, 9]
Generated Node #0,0: 57:[22, 70, 9] Operation: 78-69=9
Moving to Node #0,0
Current State: 57:[22, 70, 9], Operations: ['78-69=9']
Exploring Operation: 70-22=48, Resulting Numbers: [9, 48]
Generated Node #0,0,0: 57:[9, 48] Operation: 70-22=48
Moving to Node #0,0,0
Current State: 57:[9, 48], Operations: ['78-69=9', '70-22=48']
Exploring Operation: 9+48=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_2 | sum_heuristic |
[
92,
50,
59,
15
] | 32 | [
"92-50=42",
"59+15=74",
"74-42=32"
] | Current State: 32:[92, 50, 59, 15], Operations: []
Exploring Operation: 92-50=42, Resulting Numbers: [59, 15, 42]
Generated Node #2: [59, 15, 42] from Operation: 92-50=42
Current State: 32:[59, 15, 42], Operations: ['92-50=42']
Exploring Operation: 59+15=74, Resulting Numbers: [42, 74]
Generated Node #3: [42, 74] from Operation: 59+15=74
Current State: 32:[42, 74], Operations: ['92-50=42', '59+15=74']
Exploring Operation: 74-42=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[92, 50, 59, 15], Operations: []
Exploring Operation: 92-59=33, Resulting Numbers: [50, 15, 33]
Generated Node #0,0: 32:[50, 15, 33] Operation: 92-59=33
Exploring Operation: 92-50=42, Resulting Numbers: [59, 15, 42]
Generated Node #0,1: 32:[59, 15, 42] Operation: 92-50=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[50, 15, 33], Operations: ['92-59=33']
Exploring Operation: 50-33=17, Resulting Numbers: [15, 17]
Generated Node #0,0,0: 32:[15, 17] Operation: 50-33=17
Exploring Operation: 50-15=35, Resulting Numbers: [33, 35]
Generated Node #0,0,1: 32:[33, 35] Operation: 50-15=35
Moving to Node #0,0,0
Current State: 32:[15, 17], Operations: ['92-59=33', '50-33=17']
Exploring Operation: 15+17=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[92, 50, 59, 15], Operations: []
Exploring Operation: 92-59=33, Resulting Numbers: [50, 15, 33]
Generated Node #0,0: 32:[50, 15, 33] Operation: 92-59=33
Moving to Node #0,0
Current State: 32:[50, 15, 33], Operations: ['92-59=33']
Exploring Operation: 50-33=17, Resulting Numbers: [15, 17]
Generated Node #0,0,0: 32:[15, 17] Operation: 50-33=17
Moving to Node #0,0,0
Current State: 32:[15, 17], Operations: ['92-59=33', '50-33=17']
Exploring Operation: 15+17=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
52,
56,
31,
25
] | 24 | [
"56-52=4",
"31-25=6",
"4*6=24"
] | Current State: 24:[52, 56, 31, 25], Operations: []
Exploring Operation: 56-52=4, Resulting Numbers: [31, 25, 4]
Generated Node #2: [31, 25, 4] from Operation: 56-52=4
Current State: 24:[31, 25, 4], Operations: ['56-52=4']
Exploring Operation: 31-25=6, Resulting Numbers: [4, 6]
Generated Node #3: [4, 6] from Operation: 31-25=6
Current State: 24:[4, 6], Operations: ['56-52=4', '31-25=6']
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[52, 56, 31, 25], Operations: []
Exploring Operation: 56-31=25, Resulting Numbers: [52, 25, 25]
Generated Node #0,0: 24:[52, 25, 25] Operation: 56-31=25
Exploring Operation: 56-52=4, Resulting Numbers: [31, 25, 4]
Generated Node #0,1: 24:[31, 25, 4] Operation: 56-52=4
Exploring Operation: 52-25=27, Resulting Numbers: [56, 31, 27]
Generated Node #0,2: 24:[56, 31, 27] Operation: 52-25=27
Exploring Operation: 52-31=21, Resulting Numbers: [56, 25, 21]
Generated Node #0,3: 24:[56, 25, 21] Operation: 52-31=21
Start Sub Search at level 1: Moving to Node #0,1
Current State: 24:[31, 25, 4], Operations: ['56-52=4']
Exploring Operation: 31-25=6, Resulting Numbers: [4, 6]
Generated Node #0,1,0: 24:[4, 6] Operation: 31-25=6
Exploring Operation: 25-4=21, Resulting Numbers: [31, 21]
Generated Node #0,1,1: 24:[31, 21] Operation: 25-4=21
Exploring Operation: 31+4=35, Resulting Numbers: [25, 35]
Generated Node #0,1,2: 24:[25, 35] Operation: 31+4=35
Exploring Operation: 31-4=27, Resulting Numbers: [25, 27]
Generated Node #0,1,3: 24:[25, 27] Operation: 31-4=27
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 24:[4, 6], Operations: ['56-52=4', '31-25=6']
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,24 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,24 unequal: No Solution
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[52, 56, 31, 25], Operations: []
Exploring Operation: 56-52=4, Resulting Numbers: [31, 25, 4]
Generated Node #0,1: 24:[31, 25, 4] Operation: 56-52=4
Moving to Node #0,1
Current State: 24:[31, 25, 4], Operations: ['56-52=4']
Exploring Operation: 31-25=6, Resulting Numbers: [4, 6]
Generated Node #0,1,0: 24:[4, 6] Operation: 31-25=6
Moving to Node #0,1,0
Current State: 24:[4, 6], Operations: ['56-52=4', '31-25=6']
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
57,
29,
11,
46
] | 12 | [
"57+29=86",
"46+86=132",
"132/11=12"
] | Current State: 12:[57, 29, 11, 46], Operations: []
Exploring Operation: 57+29=86, Resulting Numbers: [11, 46, 86]
Generated Node #2: [11, 46, 86] from Operation: 57+29=86
Current State: 12:[11, 46, 86], Operations: ['57+29=86']
Exploring Operation: 46+86=132, Resulting Numbers: [11, 132]
Generated Node #3: [11, 132] from Operation: 46+86=132
Current State: 12:[11, 132], Operations: ['57+29=86', '46+86=132']
Exploring Operation: 132/11=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[57, 29, 11, 46], Operations: []
Exploring Operation: 46-29=17, Resulting Numbers: [57, 11, 17]
Generated Node #0,0: 12:[57, 11, 17] Operation: 46-29=17
Exploring Operation: 57-29=28, Resulting Numbers: [11, 46, 28]
Generated Node #0,1: 12:[11, 46, 28] Operation: 57-29=28
Exploring Operation: 57-11=46, Resulting Numbers: [29, 46, 46]
Generated Node #0,2: 12:[29, 46, 46] Operation: 57-11=46
Exploring Operation: 57-46=11, Resulting Numbers: [29, 11, 11]
Generated Node #0,3: 12:[29, 11, 11] Operation: 57-46=11
Moving to Node #0,3
Current State: 12:[29, 11, 11], Operations: ['57-46=11']
Exploring Operation: 11-11=0, Resulting Numbers: [29, 0]
Generated Node #0,3,0: 12:[29, 0] Operation: 11-11=0
Exploring Operation: 11/11=1, Resulting Numbers: [29, 1]
Generated Node #0,3,1: 12:[29, 1] Operation: 11/11=1
Exploring Operation: 29-11=18, Resulting Numbers: [11, 18]
Generated Node #0,3,2: 12:[11, 18] Operation: 29-11=18
Exploring Operation: 29-11=18, Resulting Numbers: [11, 18]
Generated Node #0,3,3: 12:[11, 18] Operation: 29-11=18
Moving to Node #0,1
Current State: 12:[11, 46, 28], Operations: ['57-29=28']
Exploring Operation: 28-11=17, Resulting Numbers: [46, 17]
Generated Node #0,1,0: 12:[46, 17] Operation: 28-11=17
Exploring Operation: 46-28=18, Resulting Numbers: [11, 18]
Generated Node #0,1,1: 12:[11, 18] Operation: 46-28=18
Exploring Operation: 11+46=57, Resulting Numbers: [28, 57]
Generated Node #0,1,2: 12:[28, 57] Operation: 11+46=57
Exploring Operation: 46-11=35, Resulting Numbers: [28, 35]
Generated Node #0,1,3: 12:[28, 35] Operation: 46-11=35
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 12:[11, 18], Operations: ['57-29=28', '46-28=18']
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,12 unequal: No Solution
Exploring Operation: 11+18=29, Resulting Numbers: [29]
29,12 unequal: No Solution
Exploring Operation: 11*18=198, Resulting Numbers: [198]
198,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 12:[46, 17], Operations: ['57-29=28', '28-11=17']
Exploring Operation: 46*17=782, Resulting Numbers: [782]
782,12 unequal: No Solution
Exploring Operation: 46+17=63, Resulting Numbers: [63]
63,12 unequal: No Solution
Exploring Operation: 46-17=29, Resulting Numbers: [29]
29,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 12:[28, 35], Operations: ['57-29=28', '46-11=35']
Exploring Operation: 28+35=63, Resulting Numbers: [63]
63,12 unequal: No Solution
Exploring Operation: 28*35=980, Resulting Numbers: [980]
980,12 unequal: No Solution
Exploring Operation: 35-28=7, Resulting Numbers: [7]
7,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 12:[28, 57], Operations: ['57-29=28', '11+46=57']
Exploring Operation: 28+57=85, Resulting Numbers: [85]
85,12 unequal: No Solution
Exploring Operation: 57-28=29, Resulting Numbers: [29]
29,12 unequal: No Solution
Exploring Operation: 28*57=1596, Resulting Numbers: [1596]
1596,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 12:[57, 11, 17], Operations: ['46-29=17']
Exploring Operation: 57-11=46, Resulting Numbers: [17, 46]
Generated Node #0,0,0: 12:[17, 46] Operation: 57-11=46
Exploring Operation: 17-11=6, Resulting Numbers: [57, 6]
Generated Node #0,0,1: 12:[57, 6] Operation: 17-11=6
Exploring Operation: 57+11=68, Resulting Numbers: [17, 68]
Generated Node #0,0,2: 12:[17, 68] Operation: 57+11=68
Exploring Operation: 57-17=40, Resulting Numbers: [11, 40]
Generated Node #0,0,3: 12:[11, 40] Operation: 57-17=40
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 12:[11, 40], Operations: ['46-29=17', '57-17=40']
Exploring Operation: 11+40=51, Resulting Numbers: [51]
51,12 unequal: No Solution
Exploring Operation: 11*40=440, Resulting Numbers: [440]
440,12 unequal: No Solution
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 12:[17, 46], Operations: ['46-29=17', '57-11=46']
Exploring Operation: 17*46=782, Resulting Numbers: [782]
782,12 unequal: No Solution
Exploring Operation: 17+46=63, Resulting Numbers: [63]
63,12 unequal: No Solution
Exploring Operation: 46-17=29, Resulting Numbers: [29]
29,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 12:[57, 6], Operations: ['46-29=17', '17-11=6']
Exploring Operation: 57+6=63, Resulting Numbers: [63]
63,12 unequal: No Solution
Exploring Operation: 57-6=51, Resulting Numbers: [51]
51,12 unequal: No Solution
Exploring Operation: 57*6=342, Resulting Numbers: [342]
342,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 12:[17, 68], Operations: ['46-29=17', '57+11=68']
Exploring Operation: 17*68=1156, Resulting Numbers: [1156]
1156,12 unequal: No Solution
Exploring Operation: 68/17=4, Resulting Numbers: [4]
4,12 unequal: No Solution
Exploring Operation: 68-17=51, Resulting Numbers: [51]
51,12 unequal: No Solution
Exploring Operation: 17+68=85, Resulting Numbers: [85]
85,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 12:[29, 46, 46], Operations: ['57-11=46']
Exploring Operation: 46-29=17, Resulting Numbers: [46, 17]
Generated Node #0,2,0: 12:[46, 17] Operation: 46-29=17
Exploring Operation: 46-29=17, Resulting Numbers: [46, 17]
Generated Node #0,2,1: 12:[46, 17] Operation: 46-29=17
Exploring Operation: 46-46=0, Resulting Numbers: [29, 0]
Generated Node #0,2,2: 12:[29, 0] Operation: 46-46=0
Exploring Operation: 46/46=1, Resulting Numbers: [29, 1]
Generated Node #0,2,3: 12:[29, 1] Operation: 46/46=1
Moving to Node #0,3,2
Current State: 12:[11, 18], Operations: ['57-46=11', '29-11=18']
Exploring Operation: 11*18=198, Resulting Numbers: [198]
198,12 unequal: No Solution
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,12 unequal: No Solution
Exploring Operation: 11+18=29, Resulting Numbers: [29]
29,12 unequal: No Solution
Moving to Node #0,3,3
Current State: 12:[11, 18], Operations: ['57-46=11', '29-11=18']
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,12 unequal: No Solution
Exploring Operation: 11+18=29, Resulting Numbers: [29]
29,12 unequal: No Solution
Exploring Operation: 11*18=198, Resulting Numbers: [198]
198,12 unequal: No Solution
Moving to Node #0,3,1
Current State: 12:[29, 1], Operations: ['57-46=11', '11/11=1']
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,12 unequal: No Solution
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,12 unequal: No Solution
Exploring Operation: 29+1=30, Resulting Numbers: [30]
30,12 unequal: No Solution
Exploring Operation: 29*1=29, Resulting Numbers: [29]
29,12 unequal: No Solution
Moving to Node #0,2,3
Current State: 12:[29, 1], Operations: ['57-11=46', '46/46=1']
Exploring Operation: 29+1=30, Resulting Numbers: [30]
30,12 unequal: No Solution
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,12 unequal: No Solution
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,12 unequal: No Solution
Exploring Operation: 29*1=29, Resulting Numbers: [29]
29,12 unequal: No Solution
Moving to Node #0,2,2
Current State: 12:[29, 0], Operations: ['57-11=46', '46-46=0']
Exploring Operation: 29*0=0, Resulting Numbers: [0]
0,12 unequal: No Solution
Exploring Operation: 29-0=29, Resulting Numbers: [29]
29,12 unequal: No Solution
Exploring Operation: 29+0=29, Resulting Numbers: [29]
29,12 unequal: No Solution
Moving to Node #0,3,0
Current State: 12:[29, 0], Operations: ['57-46=11', '11-11=0']
Exploring Operation: 29*0=0, Resulting Numbers: [0]
0,12 unequal: No Solution
Exploring Operation: 29-0=29, Resulting Numbers: [29]
29,12 unequal: No Solution
Exploring Operation: 29+0=29, Resulting Numbers: [29]
29,12 unequal: No Solution
Moving to Node #0,2,0
Current State: 12:[46, 17], Operations: ['57-11=46', '46-29=17']
Exploring Operation: 46*17=782, Resulting Numbers: [782]
782,12 unequal: No Solution
Exploring Operation: 46-17=29, Resulting Numbers: [29]
29,12 unequal: No Solution
Exploring Operation: 46+17=63, Resulting Numbers: [63]
63,12 unequal: No Solution
Moving to Node #0,2,1
Current State: 12:[46, 17], Operations: ['57-11=46', '46-29=17']
Exploring Operation: 46*17=782, Resulting Numbers: [782]
782,12 unequal: No Solution
Exploring Operation: 46+17=63, Resulting Numbers: [63]
63,12 unequal: No Solution
Exploring Operation: 46-17=29, Resulting Numbers: [29]
29,12 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
19,
30,
34,
8
] | 27 | [
"30+34=64",
"64/8=8",
"19+8=27"
] | Current State: 27:[19, 30, 34, 8], Operations: []
Exploring Operation: 30+34=64, Resulting Numbers: [19, 8, 64]
Generated Node #2: [19, 8, 64] from Operation: 30+34=64
Current State: 27:[19, 8, 64], Operations: ['30+34=64']
Exploring Operation: 64/8=8, Resulting Numbers: [19, 8]
Generated Node #3: [19, 8] from Operation: 64/8=8
Current State: 27:[19, 8], Operations: ['30+34=64', '64/8=8']
Exploring Operation: 19+8=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[19, 30, 34, 8], Operations: []
Exploring Operation: 34-19=15, Resulting Numbers: [30, 8, 15]
Generated Node #0,0: 27:[30, 8, 15] Operation: 34-19=15
Exploring Operation: 30-19=11, Resulting Numbers: [34, 8, 11]
Generated Node #0,1: 27:[34, 8, 11] Operation: 30-19=11
Moving to Node #0,0
Current State: 27:[30, 8, 15], Operations: ['34-19=15']
Exploring Operation: 30/15=2, Resulting Numbers: [8, 2]
Generated Node #0,0,0: 27:[8, 2] Operation: 30/15=2
Exploring Operation: 15-8=7, Resulting Numbers: [30, 7]
Generated Node #0,0,1: 27:[30, 7] Operation: 15-8=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 27:[8, 2], Operations: ['34-19=15', '30/15=2']
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 27:[30, 7], Operations: ['34-19=15', '15-8=7']
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,27 unequal: No Solution
Exploring Operation: 30+7=37, Resulting Numbers: [37]
37,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 27:[34, 8, 11], Operations: ['30-19=11']
Exploring Operation: 34-11=23, Resulting Numbers: [8, 23]
Generated Node #0,1,0: 27:[8, 23] Operation: 34-11=23
Exploring Operation: 34-8=26, Resulting Numbers: [11, 26]
Generated Node #0,1,1: 27:[11, 26] Operation: 34-8=26
Moving to Node #0,1,1
Current State: 27:[11, 26], Operations: ['30-19=11', '34-8=26']
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,27 unequal: No Solution
Exploring Operation: 11+26=37, Resulting Numbers: [37]
37,27 unequal: No Solution
Moving to Node #0,1,0
Current State: 27:[8, 23], Operations: ['30-19=11', '34-11=23']
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,27 unequal: No Solution
Exploring Operation: 8+23=31, Resulting Numbers: [31]
31,27 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
98,
94,
26,
49
] | 55 | [
"98-94=4",
"26*4=104",
"104-49=55"
] | Current State: 55:[98, 94, 26, 49], Operations: []
Exploring Operation: 98-94=4, Resulting Numbers: [26, 49, 4]
Generated Node #2: [26, 49, 4] from Operation: 98-94=4
Current State: 55:[26, 49, 4], Operations: ['98-94=4']
Exploring Operation: 26*4=104, Resulting Numbers: [49, 104]
Generated Node #3: [49, 104] from Operation: 26*4=104
Current State: 55:[49, 104], Operations: ['98-94=4', '26*4=104']
Exploring Operation: 104-49=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[98, 94, 26, 49], Operations: []
Exploring Operation: 98-49=49, Resulting Numbers: [94, 26, 49]
Generated Node #0,0: 55:[94, 26, 49] Operation: 98-49=49
Exploring Operation: 98-94=4, Resulting Numbers: [26, 49, 4]
Generated Node #0,1: 55:[26, 49, 4] Operation: 98-94=4
Exploring Operation: 94-26=68, Resulting Numbers: [98, 49, 68]
Generated Node #0,2: 55:[98, 49, 68] Operation: 94-26=68
Exploring Operation: 98/49=2, Resulting Numbers: [94, 26, 2]
Generated Node #0,3: 55:[94, 26, 2] Operation: 98/49=2
Exploring Operation: 98-26=72, Resulting Numbers: [94, 49, 72]
Generated Node #0,4: 55:[94, 49, 72] Operation: 98-26=72
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[26, 49, 4], Operations: ['98-94=4']
Exploring Operation: 49-26=23, Resulting Numbers: [4, 23]
Generated Node #0,1,0: 55:[4, 23] Operation: 49-26=23
Exploring Operation: 26-4=22, Resulting Numbers: [49, 22]
Generated Node #0,1,1: 55:[49, 22] Operation: 26-4=22
Exploring Operation: 26+4=30, Resulting Numbers: [49, 30]
Generated Node #0,1,2: 55:[49, 30] Operation: 26+4=30
Exploring Operation: 49+4=53, Resulting Numbers: [26, 53]
Generated Node #0,1,3: 55:[26, 53] Operation: 49+4=53
Exploring Operation: 26+49=75, Resulting Numbers: [4, 75]
Generated Node #0,1,4: 55:[4, 75] Operation: 26+49=75
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 55:[4, 23], Operations: ['98-94=4', '49-26=23']
Exploring Operation: 4+23=27, Resulting Numbers: [27]
27,55 unequal: No Solution
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,55 unequal: No Solution
Exploring Operation: 4*23=92, Resulting Numbers: [92]
92,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 55:[49, 22], Operations: ['98-94=4', '26-4=22']
Exploring Operation: 49+22=71, Resulting Numbers: [71]
71,55 unequal: No Solution
Exploring Operation: 49*22=1078, Resulting Numbers: [1078]
1078,55 unequal: No Solution
Exploring Operation: 49-22=27, Resulting Numbers: [27]
27,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 55:[26, 53], Operations: ['98-94=4', '49+4=53']
Exploring Operation: 26+53=79, Resulting Numbers: [79]
79,55 unequal: No Solution
Exploring Operation: 26*53=1378, Resulting Numbers: [1378]
1378,55 unequal: No Solution
Exploring Operation: 53-26=27, Resulting Numbers: [27]
27,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 55:[4, 75], Operations: ['98-94=4', '26+49=75']
Exploring Operation: 75-4=71, Resulting Numbers: [71]
71,55 unequal: No Solution
Exploring Operation: 4+75=79, Resulting Numbers: [79]
79,55 unequal: No Solution
Exploring Operation: 4*75=300, Resulting Numbers: [300]
300,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 55:[49, 30], Operations: ['98-94=4', '26+4=30']
Exploring Operation: 49+30=79, Resulting Numbers: [79]
79,55 unequal: No Solution
Exploring Operation: 49*30=1470, Resulting Numbers: [1470]
1470,55 unequal: No Solution
Exploring Operation: 49-30=19, Resulting Numbers: [19]
19,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 55:[94, 26, 2], Operations: ['98/49=2']
Exploring Operation: 94-26=68, Resulting Numbers: [2, 68]
Generated Node #0,3,0: 55:[2, 68] Operation: 94-26=68
Exploring Operation: 26*2=52, Resulting Numbers: [94, 52]
Generated Node #0,3,1: 55:[94, 52] Operation: 26*2=52
Exploring Operation: 94/2=47, Resulting Numbers: [26, 47]
Generated Node #0,3,2: 55:[26, 47] Operation: 94/2=47
Exploring Operation: 26/2=13, Resulting Numbers: [94, 13]
Generated Node #0,3,3: 55:[94, 13] Operation: 26/2=13
Exploring Operation: 94-2=92, Resulting Numbers: [26, 92]
Generated Node #0,3,4: 55:[26, 92] Operation: 94-2=92
Moving to Node #0,3,0
Current State: 55:[2, 68], Operations: ['98/49=2', '94-26=68']
Exploring Operation: 68-2=66, Resulting Numbers: [66]
66,55 unequal: No Solution
Exploring Operation: 2+68=70, Resulting Numbers: [70]
70,55 unequal: No Solution
Exploring Operation: 68/2=34, Resulting Numbers: [34]
34,55 unequal: No Solution
Exploring Operation: 2*68=136, Resulting Numbers: [136]
136,55 unequal: No Solution
Moving to Node #0,3,2
Current State: 55:[26, 47], Operations: ['98/49=2', '94/2=47']
Exploring Operation: 26+47=73, Resulting Numbers: [73]
73,55 unequal: No Solution
Exploring Operation: 26*47=1222, Resulting Numbers: [1222]
1222,55 unequal: No Solution
Exploring Operation: 47-26=21, Resulting Numbers: [21]
21,55 unequal: No Solution
Moving to Node #0,3,3
Current State: 55:[94, 13], Operations: ['98/49=2', '26/2=13']
Exploring Operation: 94+13=107, Resulting Numbers: [107]
107,55 unequal: No Solution
Exploring Operation: 94*13=1222, Resulting Numbers: [1222]
1222,55 unequal: No Solution
Exploring Operation: 94-13=81, Resulting Numbers: [81]
81,55 unequal: No Solution
Moving to Node #0,3,1
Current State: 55:[94, 52], Operations: ['98/49=2', '26*2=52']
Exploring Operation: 94*52=4888, Resulting Numbers: [4888]
4888,55 unequal: No Solution
Exploring Operation: 94+52=146, Resulting Numbers: [146]
146,55 unequal: No Solution
Exploring Operation: 94-52=42, Resulting Numbers: [42]
42,55 unequal: No Solution
Moving to Node #0,3,4
Current State: 55:[26, 92], Operations: ['98/49=2', '94-2=92']
Exploring Operation: 26+92=118, Resulting Numbers: [118]
118,55 unequal: No Solution
Exploring Operation: 26*92=2392, Resulting Numbers: [2392]
2392,55 unequal: No Solution
Exploring Operation: 92-26=66, Resulting Numbers: [66]
66,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[94, 26, 49], Operations: ['98-49=49']
Exploring Operation: 94+26=120, Resulting Numbers: [49, 120]
Generated Node #0,0,0: 55:[49, 120] Operation: 94+26=120
Exploring Operation: 49-26=23, Resulting Numbers: [94, 23]
Generated Node #0,0,1: 55:[94, 23] Operation: 49-26=23
Exploring Operation: 94-26=68, Resulting Numbers: [49, 68]
Generated Node #0,0,2: 55:[49, 68] Operation: 94-26=68
Exploring Operation: 94-49=45, Resulting Numbers: [26, 45]
Generated Node #0,0,3: 55:[26, 45] Operation: 94-49=45
Exploring Operation: 26+49=75, Resulting Numbers: [94, 75]
Generated Node #0,0,4: 55:[94, 75] Operation: 26+49=75
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 55:[49, 68], Operations: ['98-49=49', '94-26=68']
Exploring Operation: 49+68=117, Resulting Numbers: [117]
117,55 unequal: No Solution
Exploring Operation: 49*68=3332, Resulting Numbers: [3332]
3332,55 unequal: No Solution
Exploring Operation: 68-49=19, Resulting Numbers: [19]
19,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 55:[26, 45], Operations: ['98-49=49', '94-49=45']
Exploring Operation: 26+45=71, Resulting Numbers: [71]
71,55 unequal: No Solution
Exploring Operation: 26*45=1170, Resulting Numbers: [1170]
1170,55 unequal: No Solution
Exploring Operation: 45-26=19, Resulting Numbers: [19]
19,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 55:[94, 23], Operations: ['98-49=49', '49-26=23']
Exploring Operation: 94+23=117, Resulting Numbers: [117]
117,55 unequal: No Solution
Exploring Operation: 94-23=71, Resulting Numbers: [71]
71,55 unequal: No Solution
Exploring Operation: 94*23=2162, Resulting Numbers: [2162]
2162,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 55:[94, 75], Operations: ['98-49=49', '26+49=75']
Exploring Operation: 94*75=7050, Resulting Numbers: [7050]
7050,55 unequal: No Solution
Exploring Operation: 94-75=19, Resulting Numbers: [19]
19,55 unequal: No Solution
Exploring Operation: 94+75=169, Resulting Numbers: [169]
169,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 55:[49, 120], Operations: ['98-49=49', '94+26=120']
Exploring Operation: 49*120=5880, Resulting Numbers: [5880]
5880,55 unequal: No Solution
Exploring Operation: 120-49=71, Resulting Numbers: [71]
71,55 unequal: No Solution
Exploring Operation: 49+120=169, Resulting Numbers: [169]
169,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 55:[98, 49, 68], Operations: ['94-26=68']
Exploring Operation: 98-49=49, Resulting Numbers: [68, 49]
Generated Node #0,2,0: 55:[68, 49] Operation: 98-49=49
Exploring Operation: 98-68=30, Resulting Numbers: [49, 30]
Generated Node #0,2,1: 55:[49, 30] Operation: 98-68=30
Exploring Operation: 68-49=19, Resulting Numbers: [98, 19]
Generated Node #0,2,2: 55:[98, 19] Operation: 68-49=19
Exploring Operation: 98/49=2, Resulting Numbers: [68, 2]
Generated Node #0,2,3: 55:[68, 2] Operation: 98/49=2
Exploring Operation: 98+49=147, Resulting Numbers: [68, 147]
Generated Node #0,2,4: 55:[68, 147] Operation: 98+49=147
Moving to Node #0,2,3
Current State: 55:[68, 2], Operations: ['94-26=68', '98/49=2']
Exploring Operation: 68+2=70, Resulting Numbers: [70]
70,55 unequal: No Solution
Exploring Operation: 68/2=34, Resulting Numbers: [34]
34,55 unequal: No Solution
Exploring Operation: 68*2=136, Resulting Numbers: [136]
136,55 unequal: No Solution
Exploring Operation: 68-2=66, Resulting Numbers: [66]
66,55 unequal: No Solution
Moving to Node #0,2,0
Current State: 55:[68, 49], Operations: ['94-26=68', '98-49=49']
Exploring Operation: 68+49=117, Resulting Numbers: [117]
117,55 unequal: No Solution
Exploring Operation: 68-49=19, Resulting Numbers: [19]
19,55 unequal: No Solution
Exploring Operation: 68*49=3332, Resulting Numbers: [3332]
3332,55 unequal: No Solution
Moving to Node #0,2,1
Current State: 55:[49, 30], Operations: ['94-26=68', '98-68=30']
Exploring Operation: 49*30=1470, Resulting Numbers: [1470]
1470,55 unequal: No Solution
Exploring Operation: 49+30=79, Resulting Numbers: [79]
79,55 unequal: No Solution
Exploring Operation: 49-30=19, Resulting Numbers: [19]
19,55 unequal: No Solution
Moving to Node #0,2,2
Current State: 55:[98, 19], Operations: ['94-26=68', '68-49=19']
Exploring Operation: 98+19=117, Resulting Numbers: [117]
117,55 unequal: No Solution
Exploring Operation: 98*19=1862, Resulting Numbers: [1862]
1862,55 unequal: No Solution
Exploring Operation: 98-19=79, Resulting Numbers: [79]
79,55 unequal: No Solution
Moving to Node #0,2,4
Current State: 55:[68, 147], Operations: ['94-26=68', '98+49=147']
Exploring Operation: 147-68=79, Resulting Numbers: [79]
79,55 unequal: No Solution
Exploring Operation: 68+147=215, Resulting Numbers: [215]
215,55 unequal: No Solution
Exploring Operation: 68*147=9996, Resulting Numbers: [9996]
9996,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 55:[94, 49, 72], Operations: ['98-26=72']
Exploring Operation: 49+72=121, Resulting Numbers: [94, 121]
Generated Node #0,4,0: 55:[94, 121] Operation: 49+72=121
Exploring Operation: 94+49=143, Resulting Numbers: [72, 143]
Generated Node #0,4,1: 55:[72, 143] Operation: 94+49=143
Exploring Operation: 94-49=45, Resulting Numbers: [72, 45]
Generated Node #0,4,2: 55:[72, 45] Operation: 94-49=45
Exploring Operation: 94-72=22, Resulting Numbers: [49, 22]
Generated Node #0,4,3: 55:[49, 22] Operation: 94-72=22
Exploring Operation: 72-49=23, Resulting Numbers: [94, 23]
Generated Node #0,4,4: 55:[94, 23] Operation: 72-49=23
Moving to Node #0,4,3
Current State: 55:[49, 22], Operations: ['98-26=72', '94-72=22']
Exploring Operation: 49+22=71, Resulting Numbers: [71]
71,55 unequal: No Solution
Exploring Operation: 49*22=1078, Resulting Numbers: [1078]
1078,55 unequal: No Solution
Exploring Operation: 49-22=27, Resulting Numbers: [27]
27,55 unequal: No Solution
Moving to Node #0,4,2
Current State: 55:[72, 45], Operations: ['98-26=72', '94-49=45']
Exploring Operation: 72*45=3240, Resulting Numbers: [3240]
3240,55 unequal: No Solution
Exploring Operation: 72-45=27, Resulting Numbers: [27]
27,55 unequal: No Solution
Exploring Operation: 72+45=117, Resulting Numbers: [117]
117,55 unequal: No Solution
Moving to Node #0,4,4
Current State: 55:[94, 23], Operations: ['98-26=72', '72-49=23']
Exploring Operation: 94+23=117, Resulting Numbers: [117]
117,55 unequal: No Solution
Exploring Operation: 94-23=71, Resulting Numbers: [71]
71,55 unequal: No Solution
Exploring Operation: 94*23=2162, Resulting Numbers: [2162]
2162,55 unequal: No Solution
Moving to Node #0,4,0
Current State: 55:[94, 121], Operations: ['98-26=72', '49+72=121']
Exploring Operation: 94*121=11374, Resulting Numbers: [11374]
11374,55 unequal: No Solution
Exploring Operation: 121-94=27, Resulting Numbers: [27]
27,55 unequal: No Solution
Exploring Operation: 94+121=215, Resulting Numbers: [215]
215,55 unequal: No Solution
Moving to Node #0,4,1
Current State: 55:[72, 143], Operations: ['98-26=72', '94+49=143']
Exploring Operation: 143-72=71, Resulting Numbers: [71]
71,55 unequal: No Solution
Exploring Operation: 72*143=10296, Resulting Numbers: [10296]
10296,55 unequal: No Solution
Exploring Operation: 72+143=215, Resulting Numbers: [215]
215,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
22,
45,
31,
21
] | 99 | [
"22*45=990",
"31-21=10",
"990/10=99"
] | Current State: 99:[22, 45, 31, 21], Operations: []
Exploring Operation: 22*45=990, Resulting Numbers: [31, 21, 990]
Generated Node #2: [31, 21, 990] from Operation: 22*45=990
Current State: 99:[31, 21, 990], Operations: ['22*45=990']
Exploring Operation: 31-21=10, Resulting Numbers: [990, 10]
Generated Node #3: [990, 10] from Operation: 31-21=10
Current State: 99:[990, 10], Operations: ['22*45=990', '31-21=10']
Exploring Operation: 990/10=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[22, 45, 31, 21], Operations: []
Exploring Operation: 22-21=1, Resulting Numbers: [45, 31, 1]
Generated Node #0,0: 99:[45, 31, 1] Operation: 22-21=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[45, 31, 1], Operations: ['22-21=1']
Exploring Operation: 45-31=14, Resulting Numbers: [1, 14]
Generated Node #0,0,0: 99:[1, 14] Operation: 45-31=14
Moving to Node #0,0,0
Current State: 99:[1, 14], Operations: ['22-21=1', '45-31=14']
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
93,
5,
76,
51
] | 39 | [
"93-5=88",
"76+51=127",
"127-88=39"
] | Current State: 39:[93, 5, 76, 51], Operations: []
Exploring Operation: 93-5=88, Resulting Numbers: [76, 51, 88]
Generated Node #2: [76, 51, 88] from Operation: 93-5=88
Current State: 39:[76, 51, 88], Operations: ['93-5=88']
Exploring Operation: 76+51=127, Resulting Numbers: [88, 127]
Generated Node #3: [88, 127] from Operation: 76+51=127
Current State: 39:[88, 127], Operations: ['93-5=88', '76+51=127']
Exploring Operation: 127-88=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[93, 5, 76, 51], Operations: []
Exploring Operation: 93-5=88, Resulting Numbers: [76, 51, 88]
Generated Node #0,0: 39:[76, 51, 88] Operation: 93-5=88
Exploring Operation: 93-76=17, Resulting Numbers: [5, 51, 17]
Generated Node #0,1: 39:[5, 51, 17] Operation: 93-76=17
Exploring Operation: 76-51=25, Resulting Numbers: [93, 5, 25]
Generated Node #0,2: 39:[93, 5, 25] Operation: 76-51=25
Exploring Operation: 93-51=42, Resulting Numbers: [5, 76, 42]
Generated Node #0,3: 39:[5, 76, 42] Operation: 93-51=42
Moving to Node #0,1
Current State: 39:[5, 51, 17], Operations: ['93-76=17']
Exploring Operation: 51-5=46, Resulting Numbers: [17, 46]
Generated Node #0,1,0: 39:[17, 46] Operation: 51-5=46
Exploring Operation: 51/17=3, Resulting Numbers: [5, 3]
Generated Node #0,1,1: 39:[5, 3] Operation: 51/17=3
Exploring Operation: 51-17=34, Resulting Numbers: [5, 34]
Generated Node #0,1,2: 39:[5, 34] Operation: 51-17=34
Exploring Operation: 17-5=12, Resulting Numbers: [51, 12]
Generated Node #0,1,3: 39:[51, 12] Operation: 17-5=12
Moving to Node #0,3
Current State: 39:[5, 76, 42], Operations: ['93-51=42']
Exploring Operation: 76-5=71, Resulting Numbers: [42, 71]
Generated Node #0,3,0: 39:[42, 71] Operation: 76-5=71
Exploring Operation: 76-42=34, Resulting Numbers: [5, 34]
Generated Node #0,3,1: 39:[5, 34] Operation: 76-42=34
Exploring Operation: 5+76=81, Resulting Numbers: [42, 81]
Generated Node #0,3,2: 39:[42, 81] Operation: 5+76=81
Exploring Operation: 42-5=37, Resulting Numbers: [76, 37]
Generated Node #0,3,3: 39:[76, 37] Operation: 42-5=37
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 39:[5, 34], Operations: ['93-51=42', '76-42=34']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,39 unequal: No Solution
Exploring Operation: 5+34=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[93, 5, 76, 51], Operations: []
Exploring Operation: 93-51=42, Resulting Numbers: [5, 76, 42]
Generated Node #0,3: 39:[5, 76, 42] Operation: 93-51=42
Moving to Node #0,3
Current State: 39:[5, 76, 42], Operations: ['93-51=42']
Exploring Operation: 76-42=34, Resulting Numbers: [5, 34]
Generated Node #0,3,1: 39:[5, 34] Operation: 76-42=34
Moving to Node #0,3,1
Current State: 39:[5, 34], Operations: ['93-51=42', '76-42=34']
Exploring Operation: 5+34=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | sum_heuristic |
[
18,
96,
42,
6
] | 51 | [
"18/6=3",
"96-42=54",
"54-3=51"
] | Current State: 51:[18, 96, 42, 6], Operations: []
Exploring Operation: 18/6=3, Resulting Numbers: [96, 42, 3]
Generated Node #2: [96, 42, 3] from Operation: 18/6=3
Current State: 51:[96, 42, 3], Operations: ['18/6=3']
Exploring Operation: 96-42=54, Resulting Numbers: [3, 54]
Generated Node #3: [3, 54] from Operation: 96-42=54
Current State: 51:[3, 54], Operations: ['18/6=3', '96-42=54']
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[18, 96, 42, 6], Operations: []
Exploring Operation: 96-6=90, Resulting Numbers: [18, 42, 90]
Generated Node #0,0: 51:[18, 42, 90] Operation: 96-6=90
Exploring Operation: 42+6=48, Resulting Numbers: [18, 96, 48]
Generated Node #0,1: 51:[18, 96, 48] Operation: 42+6=48
Exploring Operation: 96-18=78, Resulting Numbers: [42, 6, 78]
Generated Node #0,2: 51:[42, 6, 78] Operation: 96-18=78
Exploring Operation: 96-42=54, Resulting Numbers: [18, 6, 54]
Generated Node #0,3: 51:[18, 6, 54] Operation: 96-42=54
Exploring Operation: 96/6=16, Resulting Numbers: [18, 42, 16]
Generated Node #0,4: 51:[18, 42, 16] Operation: 96/6=16
Start Sub Search at level 1: Moving to Node #0,3
Current State: 51:[18, 6, 54], Operations: ['96-42=54']
Exploring Operation: 18-6=12, Resulting Numbers: [54, 12]
Generated Node #0,3,0: 51:[54, 12] Operation: 18-6=12
Exploring Operation: 18/6=3, Resulting Numbers: [54, 3]
Generated Node #0,3,1: 51:[54, 3] Operation: 18/6=3
Exploring Operation: 54/18=3, Resulting Numbers: [6, 3]
Generated Node #0,3,2: 51:[6, 3] Operation: 54/18=3
Exploring Operation: 54-6=48, Resulting Numbers: [18, 48]
Generated Node #0,3,3: 51:[18, 48] Operation: 54-6=48
Exploring Operation: 54/6=9, Resulting Numbers: [18, 9]
Generated Node #0,3,4: 51:[18, 9] Operation: 54/6=9
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 51:[54, 3], Operations: ['96-42=54', '18/6=3']
Exploring Operation: 54+3=57, Resulting Numbers: [57]
57,51 unequal: No Solution
Exploring Operation: 54*3=162, Resulting Numbers: [162]
162,51 unequal: No Solution
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,51 unequal: No Solution
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[18, 96, 42, 6], Operations: []
Exploring Operation: 96-42=54, Resulting Numbers: [18, 6, 54]
Generated Node #0,3: 51:[18, 6, 54] Operation: 96-42=54
Moving to Node #0,3
Current State: 51:[18, 6, 54], Operations: ['96-42=54']
Exploring Operation: 18/6=3, Resulting Numbers: [54, 3]
Generated Node #0,3,1: 51:[54, 3] Operation: 18/6=3
Moving to Node #0,3,1
Current State: 51:[54, 3], Operations: ['96-42=54', '18/6=3']
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
9,
44,
92,
10
] | 48 | [
"10-9=1",
"92-44=48",
"1*48=48"
] | Current State: 48:[9, 44, 92, 10], Operations: []
Exploring Operation: 10-9=1, Resulting Numbers: [44, 92, 1]
Generated Node #2: [44, 92, 1] from Operation: 10-9=1
Current State: 48:[44, 92, 1], Operations: ['10-9=1']
Exploring Operation: 92-44=48, Resulting Numbers: [1, 48]
Generated Node #3: [1, 48] from Operation: 92-44=48
Current State: 48:[1, 48], Operations: ['10-9=1', '92-44=48']
Exploring Operation: 1*48=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[9, 44, 92, 10], Operations: []
Exploring Operation: 92-44=48, Resulting Numbers: [9, 10, 48]
Generated Node #0,0: 48:[9, 10, 48] Operation: 92-44=48
Moving to Node #0,0
Current State: 48:[9, 10, 48], Operations: ['92-44=48']
Exploring Operation: 10-9=1, Resulting Numbers: [48, 1]
Generated Node #0,0,0: 48:[48, 1] Operation: 10-9=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[48, 1], Operations: ['92-44=48', '10-9=1']
Exploring Operation: 48*1=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[9, 44, 92, 10], Operations: []
Exploring Operation: 92-44=48, Resulting Numbers: [9, 10, 48]
Generated Node #0,0: 48:[9, 10, 48] Operation: 92-44=48
Moving to Node #0,0
Current State: 48:[9, 10, 48], Operations: ['92-44=48']
Exploring Operation: 10-9=1, Resulting Numbers: [48, 1]
Generated Node #0,0,0: 48:[48, 1] Operation: 10-9=1
Moving to Node #0,0,0
Current State: 48:[48, 1], Operations: ['92-44=48', '10-9=1']
Exploring Operation: 48*1=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
35,
91,
1,
4
] | 84 | [
"1+4=5",
"35*5=175",
"175-91=84"
] | Current State: 84:[35, 91, 1, 4], Operations: []
Exploring Operation: 1+4=5, Resulting Numbers: [35, 91, 5]
Generated Node #2: [35, 91, 5] from Operation: 1+4=5
Current State: 84:[35, 91, 5], Operations: ['1+4=5']
Exploring Operation: 35*5=175, Resulting Numbers: [91, 175]
Generated Node #3: [91, 175] from Operation: 35*5=175
Current State: 84:[91, 175], Operations: ['1+4=5', '35*5=175']
Exploring Operation: 175-91=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[35, 91, 1, 4], Operations: []
Exploring Operation: 35+1=36, Resulting Numbers: [91, 4, 36]
Generated Node #0,0: 84:[91, 4, 36] Operation: 35+1=36
Exploring Operation: 35+4=39, Resulting Numbers: [91, 1, 39]
Generated Node #0,1: 84:[91, 1, 39] Operation: 35+4=39
Exploring Operation: 91-4=87, Resulting Numbers: [35, 1, 87]
Generated Node #0,2: 84:[35, 1, 87] Operation: 91-4=87
Exploring Operation: 35-4=31, Resulting Numbers: [91, 1, 31]
Generated Node #0,3: 84:[91, 1, 31] Operation: 35-4=31
Exploring Operation: 35-1=34, Resulting Numbers: [91, 4, 34]
Generated Node #0,4: 84:[91, 4, 34] Operation: 35-1=34
Start Sub Search at level 1: Moving to Node #0,1
Current State: 84:[91, 1, 39], Operations: ['35+4=39']
Exploring Operation: 1+39=40, Resulting Numbers: [91, 40]
Generated Node #0,1,0: 84:[91, 40] Operation: 1+39=40
Exploring Operation: 91-1=90, Resulting Numbers: [39, 90]
Generated Node #0,1,1: 84:[39, 90] Operation: 91-1=90
Exploring Operation: 91*1=91, Resulting Numbers: [39, 91]
Generated Node #0,1,2: 84:[39, 91] Operation: 91*1=91
Exploring Operation: 91/1=91, Resulting Numbers: [39, 91]
Generated Node #0,1,3: 84:[39, 91] Operation: 91/1=91
Exploring Operation: 1*39=39, Resulting Numbers: [91, 39]
Generated Node #0,1,4: 84:[91, 39] Operation: 1*39=39
Moving to Node #0,1,0
Current State: 84:[91, 40], Operations: ['35+4=39', '1+39=40']
Exploring Operation: 91+40=131, Resulting Numbers: [131]
131,84 unequal: No Solution
Exploring Operation: 91*40=3640, Resulting Numbers: [3640]
3640,84 unequal: No Solution
Exploring Operation: 91-40=51, Resulting Numbers: [51]
51,84 unequal: No Solution
Moving to Node #0,1,1
Current State: 84:[39, 90], Operations: ['35+4=39', '91-1=90']
Exploring Operation: 39+90=129, Resulting Numbers: [129]
129,84 unequal: No Solution
Exploring Operation: 39*90=3510, Resulting Numbers: [3510]
3510,84 unequal: No Solution
Exploring Operation: 90-39=51, Resulting Numbers: [51]
51,84 unequal: No Solution
Moving to Node #0,1,2
Current State: 84:[39, 91], Operations: ['35+4=39', '91*1=91']
Exploring Operation: 39*91=3549, Resulting Numbers: [3549]
3549,84 unequal: No Solution
Exploring Operation: 91-39=52, Resulting Numbers: [52]
52,84 unequal: No Solution
Exploring Operation: 39+91=130, Resulting Numbers: [130]
130,84 unequal: No Solution
Moving to Node #0,1,3
Current State: 84:[39, 91], Operations: ['35+4=39', '91/1=91']
Exploring Operation: 39+91=130, Resulting Numbers: [130]
130,84 unequal: No Solution
Exploring Operation: 39*91=3549, Resulting Numbers: [3549]
3549,84 unequal: No Solution
Exploring Operation: 91-39=52, Resulting Numbers: [52]
52,84 unequal: No Solution
Moving to Node #0,1,4
Current State: 84:[91, 39], Operations: ['35+4=39', '1*39=39']
Exploring Operation: 91-39=52, Resulting Numbers: [52]
52,84 unequal: No Solution
Exploring Operation: 91+39=130, Resulting Numbers: [130]
130,84 unequal: No Solution
Exploring Operation: 91*39=3549, Resulting Numbers: [3549]
3549,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 84:[35, 1, 87], Operations: ['91-4=87']
Exploring Operation: 87-1=86, Resulting Numbers: [35, 86]
Generated Node #0,2,0: 84:[35, 86] Operation: 87-1=86
Exploring Operation: 35-1=34, Resulting Numbers: [87, 34]
Generated Node #0,2,1: 84:[87, 34] Operation: 35-1=34
Exploring Operation: 35*1=35, Resulting Numbers: [87, 35]
Generated Node #0,2,2: 84:[87, 35] Operation: 35*1=35
Exploring Operation: 35/1=35, Resulting Numbers: [87, 35]
Generated Node #0,2,3: 84:[87, 35] Operation: 35/1=35
Exploring Operation: 35+1=36, Resulting Numbers: [87, 36]
Generated Node #0,2,4: 84:[87, 36] Operation: 35+1=36
Moving to Node #0,2,0
Current State: 84:[35, 86], Operations: ['91-4=87', '87-1=86']
Exploring Operation: 35*86=3010, Resulting Numbers: [3010]
3010,84 unequal: No Solution
Exploring Operation: 35+86=121, Resulting Numbers: [121]
121,84 unequal: No Solution
Exploring Operation: 86-35=51, Resulting Numbers: [51]
51,84 unequal: No Solution
Moving to Node #0,2,4
Current State: 84:[87, 36], Operations: ['91-4=87', '35+1=36']
Exploring Operation: 87*36=3132, Resulting Numbers: [3132]
3132,84 unequal: No Solution
Exploring Operation: 87+36=123, Resulting Numbers: [123]
123,84 unequal: No Solution
Exploring Operation: 87-36=51, Resulting Numbers: [51]
51,84 unequal: No Solution
Moving to Node #0,2,1
Current State: 84:[87, 34], Operations: ['91-4=87', '35-1=34']
Exploring Operation: 87*34=2958, Resulting Numbers: [2958]
2958,84 unequal: No Solution
Exploring Operation: 87-34=53, Resulting Numbers: [53]
53,84 unequal: No Solution
Exploring Operation: 87+34=121, Resulting Numbers: [121]
121,84 unequal: No Solution
Moving to Node #0,2,2
Current State: 84:[87, 35], Operations: ['91-4=87', '35*1=35']
Exploring Operation: 87-35=52, Resulting Numbers: [52]
52,84 unequal: No Solution
Exploring Operation: 87+35=122, Resulting Numbers: [122]
122,84 unequal: No Solution
Exploring Operation: 87*35=3045, Resulting Numbers: [3045]
3045,84 unequal: No Solution
Moving to Node #0,2,3
Current State: 84:[87, 35], Operations: ['91-4=87', '35/1=35']
Exploring Operation: 87*35=3045, Resulting Numbers: [3045]
3045,84 unequal: No Solution
Exploring Operation: 87-35=52, Resulting Numbers: [52]
52,84 unequal: No Solution
Exploring Operation: 87+35=122, Resulting Numbers: [122]
122,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 84:[91, 1, 31], Operations: ['35-4=31']
Exploring Operation: 91/1=91, Resulting Numbers: [31, 91]
Generated Node #0,3,0: 84:[31, 91] Operation: 91/1=91
Exploring Operation: 91*1=91, Resulting Numbers: [31, 91]
Generated Node #0,3,1: 84:[31, 91] Operation: 91*1=91
Exploring Operation: 1*31=31, Resulting Numbers: [91, 31]
Generated Node #0,3,2: 84:[91, 31] Operation: 1*31=31
Exploring Operation: 91-1=90, Resulting Numbers: [31, 90]
Generated Node #0,3,3: 84:[31, 90] Operation: 91-1=90
Exploring Operation: 31-1=30, Resulting Numbers: [91, 30]
Generated Node #0,3,4: 84:[91, 30] Operation: 31-1=30
Moving to Node #0,3,3
Current State: 84:[31, 90], Operations: ['35-4=31', '91-1=90']
Exploring Operation: 31*90=2790, Resulting Numbers: [2790]
2790,84 unequal: No Solution
Exploring Operation: 31+90=121, Resulting Numbers: [121]
121,84 unequal: No Solution
Exploring Operation: 90-31=59, Resulting Numbers: [59]
59,84 unequal: No Solution
Moving to Node #0,3,4
Current State: 84:[91, 30], Operations: ['35-4=31', '31-1=30']
Exploring Operation: 91+30=121, Resulting Numbers: [121]
121,84 unequal: No Solution
Exploring Operation: 91-30=61, Resulting Numbers: [61]
61,84 unequal: No Solution
Exploring Operation: 91*30=2730, Resulting Numbers: [2730]
2730,84 unequal: No Solution
Moving to Node #0,3,0
Current State: 84:[31, 91], Operations: ['35-4=31', '91/1=91']
Exploring Operation: 91-31=60, Resulting Numbers: [60]
60,84 unequal: No Solution
Exploring Operation: 31*91=2821, Resulting Numbers: [2821]
2821,84 unequal: No Solution
Exploring Operation: 31+91=122, Resulting Numbers: [122]
122,84 unequal: No Solution
Moving to Node #0,3,1
Current State: 84:[31, 91], Operations: ['35-4=31', '91*1=91']
Exploring Operation: 31*91=2821, Resulting Numbers: [2821]
2821,84 unequal: No Solution
Exploring Operation: 91-31=60, Resulting Numbers: [60]
60,84 unequal: No Solution
Exploring Operation: 31+91=122, Resulting Numbers: [122]
122,84 unequal: No Solution
Moving to Node #0,3,2
Current State: 84:[91, 31], Operations: ['35-4=31', '1*31=31']
Exploring Operation: 91-31=60, Resulting Numbers: [60]
60,84 unequal: No Solution
Exploring Operation: 91*31=2821, Resulting Numbers: [2821]
2821,84 unequal: No Solution
Exploring Operation: 91+31=122, Resulting Numbers: [122]
122,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[91, 4, 36], Operations: ['35+1=36']
Exploring Operation: 36/4=9, Resulting Numbers: [91, 9]
Generated Node #0,0,0: 84:[91, 9] Operation: 36/4=9
Exploring Operation: 91-4=87, Resulting Numbers: [36, 87]
Generated Node #0,0,1: 84:[36, 87] Operation: 91-4=87
Exploring Operation: 36-4=32, Resulting Numbers: [91, 32]
Generated Node #0,0,2: 84:[91, 32] Operation: 36-4=32
Exploring Operation: 4+36=40, Resulting Numbers: [91, 40]
Generated Node #0,0,3: 84:[91, 40] Operation: 4+36=40
Exploring Operation: 91-36=55, Resulting Numbers: [4, 55]
Generated Node #0,0,4: 84:[4, 55] Operation: 91-36=55
Moving to Node #0,0,0
Current State: 84:[91, 9], Operations: ['35+1=36', '36/4=9']
Exploring Operation: 91-9=82, Resulting Numbers: [82]
82,84 unequal: No Solution
Exploring Operation: 91*9=819, Resulting Numbers: [819]
819,84 unequal: No Solution
Exploring Operation: 91+9=100, Resulting Numbers: [100]
100,84 unequal: No Solution
Moving to Node #0,0,3
Current State: 84:[91, 40], Operations: ['35+1=36', '4+36=40']
Exploring Operation: 91*40=3640, Resulting Numbers: [3640]
3640,84 unequal: No Solution
Exploring Operation: 91+40=131, Resulting Numbers: [131]
131,84 unequal: No Solution
Exploring Operation: 91-40=51, Resulting Numbers: [51]
51,84 unequal: No Solution
Moving to Node #0,0,1
Current State: 84:[36, 87], Operations: ['35+1=36', '91-4=87']
Exploring Operation: 87-36=51, Resulting Numbers: [51]
51,84 unequal: No Solution
Exploring Operation: 36*87=3132, Resulting Numbers: [3132]
3132,84 unequal: No Solution
Exploring Operation: 36+87=123, Resulting Numbers: [123]
123,84 unequal: No Solution
Moving to Node #0,0,2
Current State: 84:[91, 32], Operations: ['35+1=36', '36-4=32']
Exploring Operation: 91-32=59, Resulting Numbers: [59]
59,84 unequal: No Solution
Exploring Operation: 91*32=2912, Resulting Numbers: [2912]
2912,84 unequal: No Solution
Exploring Operation: 91+32=123, Resulting Numbers: [123]
123,84 unequal: No Solution
Moving to Node #0,0,4
Current State: 84:[4, 55], Operations: ['35+1=36', '91-36=55']
Exploring Operation: 4*55=220, Resulting Numbers: [220]
220,84 unequal: No Solution
Exploring Operation: 4+55=59, Resulting Numbers: [59]
59,84 unequal: No Solution
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 84:[91, 4, 34], Operations: ['35-1=34']
Exploring Operation: 91-4=87, Resulting Numbers: [34, 87]
Generated Node #0,4,0: 84:[34, 87] Operation: 91-4=87
Exploring Operation: 4+34=38, Resulting Numbers: [91, 38]
Generated Node #0,4,1: 84:[91, 38] Operation: 4+34=38
Exploring Operation: 34-4=30, Resulting Numbers: [91, 30]
Generated Node #0,4,2: 84:[91, 30] Operation: 34-4=30
Exploring Operation: 91-34=57, Resulting Numbers: [4, 57]
Generated Node #0,4,3: 84:[4, 57] Operation: 91-34=57
Exploring Operation: 91+4=95, Resulting Numbers: [34, 95]
Generated Node #0,4,4: 84:[34, 95] Operation: 91+4=95
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 84:[34, 87], Operations: ['35-1=34', '91-4=87']
Exploring Operation: 87-34=53, Resulting Numbers: [53]
53,84 unequal: No Solution
Exploring Operation: 34*87=2958, Resulting Numbers: [2958]
2958,84 unequal: No Solution
Exploring Operation: 34+87=121, Resulting Numbers: [121]
121,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 84:[91, 30], Operations: ['35-1=34', '34-4=30']
Exploring Operation: 91*30=2730, Resulting Numbers: [2730]
2730,84 unequal: No Solution
Exploring Operation: 91+30=121, Resulting Numbers: [121]
121,84 unequal: No Solution
Exploring Operation: 91-30=61, Resulting Numbers: [61]
61,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 84:[91, 38], Operations: ['35-1=34', '4+34=38']
Exploring Operation: 91*38=3458, Resulting Numbers: [3458]
3458,84 unequal: No Solution
Exploring Operation: 91-38=53, Resulting Numbers: [53]
53,84 unequal: No Solution
Exploring Operation: 91+38=129, Resulting Numbers: [129]
129,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 84:[4, 57], Operations: ['35-1=34', '91-34=57']
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,84 unequal: No Solution
Exploring Operation: 4+57=61, Resulting Numbers: [61]
61,84 unequal: No Solution
Exploring Operation: 4*57=228, Resulting Numbers: [228]
228,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 84:[34, 95], Operations: ['35-1=34', '91+4=95']
Exploring Operation: 95-34=61, Resulting Numbers: [61]
61,84 unequal: No Solution
Exploring Operation: 34*95=3230, Resulting Numbers: [3230]
3230,84 unequal: No Solution
Exploring Operation: 34+95=129, Resulting Numbers: [129]
129,84 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
2,
50,
49,
74
] | 76 | [
"2+74=76",
"50-49=1",
"76*1=76"
] | Current State: 76:[2, 50, 49, 74], Operations: []
Exploring Operation: 2+74=76, Resulting Numbers: [50, 49, 76]
Generated Node #2: [50, 49, 76] from Operation: 2+74=76
Current State: 76:[50, 49, 76], Operations: ['2+74=76']
Exploring Operation: 50-49=1, Resulting Numbers: [76, 1]
Generated Node #3: [76, 1] from Operation: 50-49=1
Current State: 76:[76, 1], Operations: ['2+74=76', '50-49=1']
Exploring Operation: 76*1=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[2, 50, 49, 74], Operations: []
Exploring Operation: 50-49=1, Resulting Numbers: [2, 74, 1]
Generated Node #0,0: 76:[2, 74, 1] Operation: 50-49=1
Exploring Operation: 74-50=24, Resulting Numbers: [2, 49, 24]
Generated Node #0,1: 76:[2, 49, 24] Operation: 74-50=24
Moving to Node #0,0
Current State: 76:[2, 74, 1], Operations: ['50-49=1']
Exploring Operation: 74+1=75, Resulting Numbers: [2, 75]
Generated Node #0,0,0: 76:[2, 75] Operation: 74+1=75
Exploring Operation: 2+74=76, Resulting Numbers: [1, 76]
Generated Node #0,0,1: 76:[1, 76] Operation: 2+74=76
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 76:[2, 75], Operations: ['50-49=1', '74+1=75']
Exploring Operation: 2+75=77, Resulting Numbers: [77]
77,76 unequal: No Solution
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 76:[1, 76], Operations: ['50-49=1', '2+74=76']
Exploring Operation: 1*76=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[2, 50, 49, 74], Operations: []
Exploring Operation: 50-49=1, Resulting Numbers: [2, 74, 1]
Generated Node #0,0: 76:[2, 74, 1] Operation: 50-49=1
Moving to Node #0,0
Current State: 76:[2, 74, 1], Operations: ['50-49=1']
Exploring Operation: 2+74=76, Resulting Numbers: [1, 76]
Generated Node #0,0,1: 76:[1, 76] Operation: 2+74=76
Moving to Node #0,0,1
Current State: 76:[1, 76], Operations: ['50-49=1', '2+74=76']
Exploring Operation: 1*76=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
43,
86,
86,
33
] | 96 | [
"86-43=43",
"86-33=53",
"43+53=96"
] | Current State: 96:[43, 86, 86, 33], Operations: []
Exploring Operation: 86-43=43, Resulting Numbers: [33, 43]
Generated Node #2: [33, 43] from Operation: 86-43=43
Current State: 96:[33, 43], Operations: ['86-43=43']
Exploring Operation: 86-33=53, Resulting Numbers: [43, 53]
Generated Node #3: [43, 53] from Operation: 86-33=53
Current State: 96:[43, 53], Operations: ['86-43=43', '86-33=53']
Exploring Operation: 43+53=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[43, 86, 86, 33], Operations: []
Exploring Operation: 86/43=2, Resulting Numbers: [86, 33, 2]
Generated Node #0,0: 96:[86, 33, 2] Operation: 86/43=2
Exploring Operation: 86/86=1, Resulting Numbers: [43, 33, 1]
Generated Node #0,1: 96:[43, 33, 1] Operation: 86/86=1
Exploring Operation: 86-86=0, Resulting Numbers: [43, 33, 0]
Generated Node #0,2: 96:[43, 33, 0] Operation: 86-86=0
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[43, 33, 1], Operations: ['86/86=1']
Exploring Operation: 43-33=10, Resulting Numbers: [1, 10]
Generated Node #0,1,0: 96:[1, 10] Operation: 43-33=10
Exploring Operation: 43+1=44, Resulting Numbers: [33, 44]
Generated Node #0,1,1: 96:[33, 44] Operation: 43+1=44
Exploring Operation: 33-1=32, Resulting Numbers: [43, 32]
Generated Node #0,1,2: 96:[43, 32] Operation: 33-1=32
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 96:[1, 10], Operations: ['86/86=1', '43-33=10']
Exploring Operation: 1+10=11, Resulting Numbers: [11]
11,96 unequal: No Solution
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,96 unequal: No Solution
Exploring Operation: 1*10=10, Resulting Numbers: [10]
10,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 96:[33, 44], Operations: ['86/86=1', '43+1=44']
Exploring Operation: 44-33=11, Resulting Numbers: [11]
11,96 unequal: No Solution
Exploring Operation: 33*44=1452, Resulting Numbers: [1452]
1452,96 unequal: No Solution
Exploring Operation: 33+44=77, Resulting Numbers: [77]
77,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 96:[43, 32], Operations: ['86/86=1', '33-1=32']
Exploring Operation: 43+32=75, Resulting Numbers: [75]
75,96 unequal: No Solution
Exploring Operation: 43*32=1376, Resulting Numbers: [1376]
1376,96 unequal: No Solution
Exploring Operation: 43-32=11, Resulting Numbers: [11]
11,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 96:[43, 33, 0], Operations: ['86-86=0']
Exploring Operation: 43+0=43, Resulting Numbers: [33, 43]
Generated Node #0,2,0: 96:[33, 43] Operation: 43+0=43
Exploring Operation: 43*0=0, Resulting Numbers: [33, 0]
Generated Node #0,2,1: 96:[33, 0] Operation: 43*0=0
Exploring Operation: 43-33=10, Resulting Numbers: [0, 10]
Generated Node #0,2,2: 96:[0, 10] Operation: 43-33=10
Moving to Node #0,2,1
Current State: 96:[33, 0], Operations: ['86-86=0', '43*0=0']
Exploring Operation: 33-0=33, Resulting Numbers: [33]
33,96 unequal: No Solution
Exploring Operation: 33*0=0, Resulting Numbers: [0]
0,96 unequal: No Solution
Exploring Operation: 33+0=33, Resulting Numbers: [33]
33,96 unequal: No Solution
Moving to Node #0,2,2
Current State: 96:[0, 10], Operations: ['86-86=0', '43-33=10']
Exploring Operation: 10-0=10, Resulting Numbers: [10]
10,96 unequal: No Solution
Exploring Operation: 0+10=10, Resulting Numbers: [10]
10,96 unequal: No Solution
Exploring Operation: 0*10=0, Resulting Numbers: [0]
0,96 unequal: No Solution
Moving to Node #0,2,0
Current State: 96:[33, 43], Operations: ['86-86=0', '43+0=43']
Exploring Operation: 43-33=10, Resulting Numbers: [10]
10,96 unequal: No Solution
Exploring Operation: 33*43=1419, Resulting Numbers: [1419]
1419,96 unequal: No Solution
Exploring Operation: 33+43=76, Resulting Numbers: [76]
76,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[86, 33, 2], Operations: ['86/43=2']
Exploring Operation: 86+2=88, Resulting Numbers: [33, 88]
Generated Node #0,0,0: 96:[33, 88] Operation: 86+2=88
Exploring Operation: 86/2=43, Resulting Numbers: [33, 43]
Generated Node #0,0,1: 96:[33, 43] Operation: 86/2=43
Exploring Operation: 86-33=53, Resulting Numbers: [2, 53]
Generated Node #0,0,2: 96:[2, 53] Operation: 86-33=53
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 96:[2, 53], Operations: ['86/43=2', '86-33=53']
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,96 unequal: No Solution
Exploring Operation: 2+53=55, Resulting Numbers: [55]
55,96 unequal: No Solution
Exploring Operation: 2*53=106, Resulting Numbers: [106]
106,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 96:[33, 43], Operations: ['86/43=2', '86/2=43']
Exploring Operation: 33*43=1419, Resulting Numbers: [1419]
1419,96 unequal: No Solution
Exploring Operation: 33+43=76, Resulting Numbers: [76]
76,96 unequal: No Solution
Exploring Operation: 43-33=10, Resulting Numbers: [10]
10,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 96:[33, 88], Operations: ['86/43=2', '86+2=88']
Exploring Operation: 33*88=2904, Resulting Numbers: [2904]
2904,96 unequal: No Solution
Exploring Operation: 33+88=121, Resulting Numbers: [121]
121,96 unequal: No Solution
Exploring Operation: 88-33=55, Resulting Numbers: [55]
55,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
44,
39,
53,
62
] | 92 | [
"44+39=83",
"62-53=9",
"83+9=92"
] | Current State: 92:[44, 39, 53, 62], Operations: []
Exploring Operation: 44+39=83, Resulting Numbers: [53, 62, 83]
Generated Node #2: [53, 62, 83] from Operation: 44+39=83
Current State: 92:[53, 62, 83], Operations: ['44+39=83']
Exploring Operation: 62-53=9, Resulting Numbers: [83, 9]
Generated Node #3: [83, 9] from Operation: 62-53=9
Current State: 92:[83, 9], Operations: ['44+39=83', '62-53=9']
Exploring Operation: 83+9=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[44, 39, 53, 62], Operations: []
Exploring Operation: 62-39=23, Resulting Numbers: [44, 53, 23]
Generated Node #0,0: 92:[44, 53, 23] Operation: 62-39=23
Moving to Node #0,0
Current State: 92:[44, 53, 23], Operations: ['62-39=23']
Exploring Operation: 44+53=97, Resulting Numbers: [23, 97]
Generated Node #0,0,0: 92:[23, 97] Operation: 44+53=97
Moving to Node #0,0,0
Current State: 92:[23, 97], Operations: ['62-39=23', '44+53=97']
Exploring Operation: 97-23=74, Resulting Numbers: [74]
74,92 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
55,
71,
96,
27
] | 21 | [
"71-55=16",
"96/16=6",
"27-6=21"
] | Current State: 21:[55, 71, 96, 27], Operations: []
Exploring Operation: 71-55=16, Resulting Numbers: [96, 27, 16]
Generated Node #2: [96, 27, 16] from Operation: 71-55=16
Current State: 21:[96, 27, 16], Operations: ['71-55=16']
Exploring Operation: 96/16=6, Resulting Numbers: [27, 6]
Generated Node #3: [27, 6] from Operation: 96/16=6
Current State: 21:[27, 6], Operations: ['71-55=16', '96/16=6']
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[55, 71, 96, 27], Operations: []
Exploring Operation: 96-71=25, Resulting Numbers: [55, 27, 25]
Generated Node #0,0: 21:[55, 27, 25] Operation: 96-71=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[55, 27, 25], Operations: ['96-71=25']
Exploring Operation: 55-27=28, Resulting Numbers: [25, 28]
Generated Node #0,0,0: 21:[25, 28] Operation: 55-27=28
Moving to Node #0,0,0
Current State: 21:[25, 28], Operations: ['96-71=25', '55-27=28']
Exploring Operation: 28-25=3, Resulting Numbers: [3]
3,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
33,
10,
22,
48
] | 69 | [
"33+10=43",
"48-22=26",
"43+26=69"
] | Current State: 69:[33, 10, 22, 48], Operations: []
Exploring Operation: 33+10=43, Resulting Numbers: [22, 48, 43]
Generated Node #2: [22, 48, 43] from Operation: 33+10=43
Current State: 69:[22, 48, 43], Operations: ['33+10=43']
Exploring Operation: 48-22=26, Resulting Numbers: [43, 26]
Generated Node #3: [43, 26] from Operation: 48-22=26
Current State: 69:[43, 26], Operations: ['33+10=43', '48-22=26']
Exploring Operation: 43+26=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[33, 10, 22, 48], Operations: []
Exploring Operation: 48-33=15, Resulting Numbers: [10, 22, 15]
Generated Node #0,0: 69:[10, 22, 15] Operation: 48-33=15
Exploring Operation: 22+48=70, Resulting Numbers: [33, 10, 70]
Generated Node #0,1: 69:[33, 10, 70] Operation: 22+48=70
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[10, 22, 15], Operations: ['48-33=15']
Exploring Operation: 10+15=25, Resulting Numbers: [22, 25]
Generated Node #0,0,0: 69:[22, 25] Operation: 10+15=25
Exploring Operation: 15-10=5, Resulting Numbers: [22, 5]
Generated Node #0,0,1: 69:[22, 5] Operation: 15-10=5
Moving to Node #0,0,0
Current State: 69:[22, 25], Operations: ['48-33=15', '10+15=25']
Exploring Operation: 25-22=3, Resulting Numbers: [3]
3,69 unequal: No Solution
Exploring Operation: 22+25=47, Resulting Numbers: [47]
47,69 unequal: No Solution
Moving to Node #0,0,1
Current State: 69:[22, 5], Operations: ['48-33=15', '15-10=5']
Exploring Operation: 22+5=27, Resulting Numbers: [27]
27,69 unequal: No Solution
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[33, 10, 70], Operations: ['22+48=70']
Exploring Operation: 33-10=23, Resulting Numbers: [70, 23]
Generated Node #0,1,0: 69:[70, 23] Operation: 33-10=23
Exploring Operation: 70/10=7, Resulting Numbers: [33, 7]
Generated Node #0,1,1: 69:[33, 7] Operation: 70/10=7
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 69:[70, 23], Operations: ['22+48=70', '33-10=23']
Exploring Operation: 70+23=93, Resulting Numbers: [93]
93,69 unequal: No Solution
Exploring Operation: 70-23=47, Resulting Numbers: [47]
47,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 69:[33, 7], Operations: ['22+48=70', '70/10=7']
Exploring Operation: 33+7=40, Resulting Numbers: [40]
40,69 unequal: No Solution
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
32,
85,
35,
40
] | 75 | [
"40-35=5",
"32*5=160",
"160-85=75"
] | Current State: 75:[32, 85, 35, 40], Operations: []
Exploring Operation: 40-35=5, Resulting Numbers: [32, 85, 5]
Generated Node #2: [32, 85, 5] from Operation: 40-35=5
Current State: 75:[32, 85, 5], Operations: ['40-35=5']
Exploring Operation: 32*5=160, Resulting Numbers: [85, 160]
Generated Node #3: [85, 160] from Operation: 32*5=160
Current State: 75:[85, 160], Operations: ['40-35=5', '32*5=160']
Exploring Operation: 160-85=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[32, 85, 35, 40], Operations: []
Exploring Operation: 35+40=75, Resulting Numbers: [32, 85, 75]
Generated Node #0,0: 75:[32, 85, 75] Operation: 35+40=75
Exploring Operation: 40-35=5, Resulting Numbers: [32, 85, 5]
Generated Node #0,1: 75:[32, 85, 5] Operation: 40-35=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[32, 85, 75], Operations: ['35+40=75']
Exploring Operation: 85-32=53, Resulting Numbers: [75, 53]
Generated Node #0,0,0: 75:[75, 53] Operation: 85-32=53
Exploring Operation: 85-75=10, Resulting Numbers: [32, 10]
Generated Node #0,0,1: 75:[32, 10] Operation: 85-75=10
Moving to Node #0,0,1
Current State: 75:[32, 10], Operations: ['35+40=75', '85-75=10']
Exploring Operation: 32+10=42, Resulting Numbers: [42]
42,75 unequal: No Solution
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,75 unequal: No Solution
Moving to Node #0,0,0
Current State: 75:[75, 53], Operations: ['35+40=75', '85-32=53']
Exploring Operation: 75+53=128, Resulting Numbers: [128]
128,75 unequal: No Solution
Exploring Operation: 75-53=22, Resulting Numbers: [22]
22,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[32, 85, 5], Operations: ['40-35=5']
Exploring Operation: 85/5=17, Resulting Numbers: [32, 17]
Generated Node #0,1,0: 75:[32, 17] Operation: 85/5=17
Exploring Operation: 32-5=27, Resulting Numbers: [85, 27]
Generated Node #0,1,1: 75:[85, 27] Operation: 32-5=27
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 75:[32, 17], Operations: ['40-35=5', '85/5=17']
Exploring Operation: 32-17=15, Resulting Numbers: [15]
15,75 unequal: No Solution
Exploring Operation: 32+17=49, Resulting Numbers: [49]
49,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 75:[85, 27], Operations: ['40-35=5', '32-5=27']
Exploring Operation: 85-27=58, Resulting Numbers: [58]
58,75 unequal: No Solution
Exploring Operation: 85+27=112, Resulting Numbers: [112]
112,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
53,
47,
13,
38
] | 49 | [
"53+47=100",
"13+38=51",
"100-51=49"
] | Current State: 49:[53, 47, 13, 38], Operations: []
Exploring Operation: 53+47=100, Resulting Numbers: [13, 38, 100]
Generated Node #2: [13, 38, 100] from Operation: 53+47=100
Current State: 49:[13, 38, 100], Operations: ['53+47=100']
Exploring Operation: 13+38=51, Resulting Numbers: [100, 51]
Generated Node #3: [100, 51] from Operation: 13+38=51
Current State: 49:[100, 51], Operations: ['53+47=100', '13+38=51']
Exploring Operation: 100-51=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[53, 47, 13, 38], Operations: []
Exploring Operation: 13+38=51, Resulting Numbers: [53, 47, 51]
Generated Node #0,0: 49:[53, 47, 51] Operation: 13+38=51
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[53, 47, 51], Operations: ['13+38=51']
Exploring Operation: 53-47=6, Resulting Numbers: [51, 6]
Generated Node #0,0,0: 49:[51, 6] Operation: 53-47=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 49:[51, 6], Operations: ['13+38=51', '53-47=6']
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
22,
80,
62,
66
] | 68 | [
"62-22=40",
"80/40=2",
"66+2=68"
] | Current State: 68:[22, 80, 62, 66], Operations: []
Exploring Operation: 62-22=40, Resulting Numbers: [80, 66, 40]
Generated Node #2: [80, 66, 40] from Operation: 62-22=40
Current State: 68:[80, 66, 40], Operations: ['62-22=40']
Exploring Operation: 80/40=2, Resulting Numbers: [66, 2]
Generated Node #3: [66, 2] from Operation: 80/40=2
Current State: 68:[66, 2], Operations: ['62-22=40', '80/40=2']
Exploring Operation: 66+2=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[22, 80, 62, 66], Operations: []
Exploring Operation: 66-62=4, Resulting Numbers: [22, 80, 4]
Generated Node #0,0: 68:[22, 80, 4] Operation: 66-62=4
Exploring Operation: 80-22=58, Resulting Numbers: [62, 66, 58]
Generated Node #0,1: 68:[62, 66, 58] Operation: 80-22=58
Exploring Operation: 80-66=14, Resulting Numbers: [22, 62, 14]
Generated Node #0,2: 68:[22, 62, 14] Operation: 80-66=14
Exploring Operation: 80-62=18, Resulting Numbers: [22, 66, 18]
Generated Node #0,3: 68:[22, 66, 18] Operation: 80-62=18
Start Sub Search at level 1: Moving to Node #0,3
Current State: 68:[22, 66, 18], Operations: ['80-62=18']
Exploring Operation: 22-18=4, Resulting Numbers: [66, 4]
Generated Node #0,3,0: 68:[66, 4] Operation: 22-18=4
Exploring Operation: 66/22=3, Resulting Numbers: [18, 3]
Generated Node #0,3,1: 68:[18, 3] Operation: 66/22=3
Exploring Operation: 22+18=40, Resulting Numbers: [66, 40]
Generated Node #0,3,2: 68:[66, 40] Operation: 22+18=40
Exploring Operation: 66-22=44, Resulting Numbers: [18, 44]
Generated Node #0,3,3: 68:[18, 44] Operation: 66-22=44
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 68:[66, 4], Operations: ['80-62=18', '22-18=4']
Exploring Operation: 66*4=264, Resulting Numbers: [264]
264,68 unequal: No Solution
Exploring Operation: 66+4=70, Resulting Numbers: [70]
70,68 unequal: No Solution
Exploring Operation: 66-4=62, Resulting Numbers: [62]
62,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 68:[18, 3], Operations: ['80-62=18', '66/22=3']
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,68 unequal: No Solution
Exploring Operation: 18*3=54, Resulting Numbers: [54]
54,68 unequal: No Solution
Exploring Operation: 18+3=21, Resulting Numbers: [21]
21,68 unequal: No Solution
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 68:[66, 40], Operations: ['80-62=18', '22+18=40']
Exploring Operation: 66-40=26, Resulting Numbers: [26]
26,68 unequal: No Solution
Exploring Operation: 66*40=2640, Resulting Numbers: [2640]
2640,68 unequal: No Solution
Exploring Operation: 66+40=106, Resulting Numbers: [106]
106,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 68:[18, 44], Operations: ['80-62=18', '66-22=44']
Exploring Operation: 18*44=792, Resulting Numbers: [792]
792,68 unequal: No Solution
Exploring Operation: 44-18=26, Resulting Numbers: [26]
26,68 unequal: No Solution
Exploring Operation: 18+44=62, Resulting Numbers: [62]
62,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 68:[22, 62, 14], Operations: ['80-66=14']
Exploring Operation: 62+14=76, Resulting Numbers: [22, 76]
Generated Node #0,2,0: 68:[22, 76] Operation: 62+14=76
Exploring Operation: 22-14=8, Resulting Numbers: [62, 8]
Generated Node #0,2,1: 68:[62, 8] Operation: 22-14=8
Exploring Operation: 22+14=36, Resulting Numbers: [62, 36]
Generated Node #0,2,2: 68:[62, 36] Operation: 22+14=36
Exploring Operation: 62-22=40, Resulting Numbers: [14, 40]
Generated Node #0,2,3: 68:[14, 40] Operation: 62-22=40
Moving to Node #0,2,2
Current State: 68:[62, 36], Operations: ['80-66=14', '22+14=36']
Exploring Operation: 62-36=26, Resulting Numbers: [26]
26,68 unequal: No Solution
Exploring Operation: 62+36=98, Resulting Numbers: [98]
98,68 unequal: No Solution
Exploring Operation: 62*36=2232, Resulting Numbers: [2232]
2232,68 unequal: No Solution
Moving to Node #0,2,3
Current State: 68:[14, 40], Operations: ['80-66=14', '62-22=40']
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,68 unequal: No Solution
Exploring Operation: 14+40=54, Resulting Numbers: [54]
54,68 unequal: No Solution
Exploring Operation: 14*40=560, Resulting Numbers: [560]
560,68 unequal: No Solution
Moving to Node #0,2,1
Current State: 68:[62, 8], Operations: ['80-66=14', '22-14=8']
Exploring Operation: 62+8=70, Resulting Numbers: [70]
70,68 unequal: No Solution
Exploring Operation: 62-8=54, Resulting Numbers: [54]
54,68 unequal: No Solution
Exploring Operation: 62*8=496, Resulting Numbers: [496]
496,68 unequal: No Solution
Moving to Node #0,2,0
Current State: 68:[22, 76], Operations: ['80-66=14', '62+14=76']
Exploring Operation: 22+76=98, Resulting Numbers: [98]
98,68 unequal: No Solution
Exploring Operation: 76-22=54, Resulting Numbers: [54]
54,68 unequal: No Solution
Exploring Operation: 22*76=1672, Resulting Numbers: [1672]
1672,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[22, 80, 4], Operations: ['66-62=4']
Exploring Operation: 80-4=76, Resulting Numbers: [22, 76]
Generated Node #0,0,0: 68:[22, 76] Operation: 80-4=76
Exploring Operation: 22-4=18, Resulting Numbers: [80, 18]
Generated Node #0,0,1: 68:[80, 18] Operation: 22-4=18
Exploring Operation: 80-22=58, Resulting Numbers: [4, 58]
Generated Node #0,0,2: 68:[4, 58] Operation: 80-22=58
Exploring Operation: 80/4=20, Resulting Numbers: [22, 20]
Generated Node #0,0,3: 68:[22, 20] Operation: 80/4=20
Moving to Node #0,0,3
Current State: 68:[22, 20], Operations: ['66-62=4', '80/4=20']
Exploring Operation: 22-20=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Exploring Operation: 22+20=42, Resulting Numbers: [42]
42,68 unequal: No Solution
Exploring Operation: 22*20=440, Resulting Numbers: [440]
440,68 unequal: No Solution
Moving to Node #0,0,2
Current State: 68:[4, 58], Operations: ['66-62=4', '80-22=58']
Exploring Operation: 4*58=232, Resulting Numbers: [232]
232,68 unequal: No Solution
Exploring Operation: 58-4=54, Resulting Numbers: [54]
54,68 unequal: No Solution
Exploring Operation: 4+58=62, Resulting Numbers: [62]
62,68 unequal: No Solution
Moving to Node #0,0,1
Current State: 68:[80, 18], Operations: ['66-62=4', '22-4=18']
Exploring Operation: 80*18=1440, Resulting Numbers: [1440]
1440,68 unequal: No Solution
Exploring Operation: 80-18=62, Resulting Numbers: [62]
62,68 unequal: No Solution
Exploring Operation: 80+18=98, Resulting Numbers: [98]
98,68 unequal: No Solution
Moving to Node #0,0,0
Current State: 68:[22, 76], Operations: ['66-62=4', '80-4=76']
Exploring Operation: 22*76=1672, Resulting Numbers: [1672]
1672,68 unequal: No Solution
Exploring Operation: 22+76=98, Resulting Numbers: [98]
98,68 unequal: No Solution
Exploring Operation: 76-22=54, Resulting Numbers: [54]
54,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 68:[62, 66, 58], Operations: ['80-22=58']
Exploring Operation: 66-58=8, Resulting Numbers: [62, 8]
Generated Node #0,1,0: 68:[62, 8] Operation: 66-58=8
Exploring Operation: 62+58=120, Resulting Numbers: [66, 120]
Generated Node #0,1,1: 68:[66, 120] Operation: 62+58=120
Exploring Operation: 62-58=4, Resulting Numbers: [66, 4]
Generated Node #0,1,2: 68:[66, 4] Operation: 62-58=4
Exploring Operation: 66-62=4, Resulting Numbers: [58, 4]
Generated Node #0,1,3: 68:[58, 4] Operation: 66-62=4
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 68:[66, 4], Operations: ['80-22=58', '62-58=4']
Exploring Operation: 66+4=70, Resulting Numbers: [70]
70,68 unequal: No Solution
Exploring Operation: 66*4=264, Resulting Numbers: [264]
264,68 unequal: No Solution
Exploring Operation: 66-4=62, Resulting Numbers: [62]
62,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 68:[62, 8], Operations: ['80-22=58', '66-58=8']
Exploring Operation: 62*8=496, Resulting Numbers: [496]
496,68 unequal: No Solution
Exploring Operation: 62-8=54, Resulting Numbers: [54]
54,68 unequal: No Solution
Exploring Operation: 62+8=70, Resulting Numbers: [70]
70,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 68:[58, 4], Operations: ['80-22=58', '66-62=4']
Exploring Operation: 58*4=232, Resulting Numbers: [232]
232,68 unequal: No Solution
Exploring Operation: 58-4=54, Resulting Numbers: [54]
54,68 unequal: No Solution
Exploring Operation: 58+4=62, Resulting Numbers: [62]
62,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 68:[66, 120], Operations: ['80-22=58', '62+58=120']
Exploring Operation: 66*120=7920, Resulting Numbers: [7920]
7920,68 unequal: No Solution
Exploring Operation: 120-66=54, Resulting Numbers: [54]
54,68 unequal: No Solution
Exploring Operation: 66+120=186, Resulting Numbers: [186]
186,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
27,
22,
75,
71
] | 86 | [
"27-22=5",
"75/5=15",
"71+15=86"
] | Current State: 86:[27, 22, 75, 71], Operations: []
Exploring Operation: 27-22=5, Resulting Numbers: [75, 71, 5]
Generated Node #2: [75, 71, 5] from Operation: 27-22=5
Current State: 86:[75, 71, 5], Operations: ['27-22=5']
Exploring Operation: 75/5=15, Resulting Numbers: [71, 15]
Generated Node #3: [71, 15] from Operation: 75/5=15
Current State: 86:[71, 15], Operations: ['27-22=5', '75/5=15']
Exploring Operation: 71+15=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[27, 22, 75, 71], Operations: []
Exploring Operation: 27+22=49, Resulting Numbers: [75, 71, 49]
Generated Node #0,0: 86:[75, 71, 49] Operation: 27+22=49
Exploring Operation: 71-27=44, Resulting Numbers: [22, 75, 44]
Generated Node #0,1: 86:[22, 75, 44] Operation: 71-27=44
Exploring Operation: 27-22=5, Resulting Numbers: [75, 71, 5]
Generated Node #0,2: 86:[75, 71, 5] Operation: 27-22=5
Moving to Node #0,2
Current State: 86:[75, 71, 5], Operations: ['27-22=5']
Exploring Operation: 75+5=80, Resulting Numbers: [71, 80]
Generated Node #0,2,0: 86:[71, 80] Operation: 75+5=80
Exploring Operation: 71+5=76, Resulting Numbers: [75, 76]
Generated Node #0,2,1: 86:[75, 76] Operation: 71+5=76
Exploring Operation: 75-71=4, Resulting Numbers: [5, 4]
Generated Node #0,2,2: 86:[5, 4] Operation: 75-71=4
Moving to Node #0,0
Current State: 86:[75, 71, 49], Operations: ['27+22=49']
Exploring Operation: 75-71=4, Resulting Numbers: [49, 4]
Generated Node #0,0,0: 86:[49, 4] Operation: 75-71=4
Exploring Operation: 71-49=22, Resulting Numbers: [75, 22]
Generated Node #0,0,1: 86:[75, 22] Operation: 71-49=22
Exploring Operation: 75-49=26, Resulting Numbers: [71, 26]
Generated Node #0,0,2: 86:[71, 26] Operation: 75-49=26
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[49, 4], Operations: ['27+22=49', '75-71=4']
Exploring Operation: 49+4=53, Resulting Numbers: [53]
53,86 unequal: No Solution
Exploring Operation: 49*4=196, Resulting Numbers: [196]
196,86 unequal: No Solution
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 86:[75, 22], Operations: ['27+22=49', '71-49=22']
Exploring Operation: 75-22=53, Resulting Numbers: [53]
53,86 unequal: No Solution
Exploring Operation: 75*22=1650, Resulting Numbers: [1650]
1650,86 unequal: No Solution
Exploring Operation: 75+22=97, Resulting Numbers: [97]
97,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 86:[71, 26], Operations: ['27+22=49', '75-49=26']
Exploring Operation: 71*26=1846, Resulting Numbers: [1846]
1846,86 unequal: No Solution
Exploring Operation: 71+26=97, Resulting Numbers: [97]
97,86 unequal: No Solution
Exploring Operation: 71-26=45, Resulting Numbers: [45]
45,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 86:[22, 75, 44], Operations: ['71-27=44']
Exploring Operation: 44/22=2, Resulting Numbers: [75, 2]
Generated Node #0,1,0: 86:[75, 2] Operation: 44/22=2
Exploring Operation: 22+75=97, Resulting Numbers: [44, 97]
Generated Node #0,1,1: 86:[44, 97] Operation: 22+75=97
Exploring Operation: 75-22=53, Resulting Numbers: [44, 53]
Generated Node #0,1,2: 86:[44, 53] Operation: 75-22=53
Moving to Node #0,2,2
Current State: 86:[5, 4], Operations: ['27-22=5', '75-71=4']
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,86 unequal: No Solution
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,86 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Moving to Node #0,1,0
Current State: 86:[75, 2], Operations: ['71-27=44', '44/22=2']
Exploring Operation: 75*2=150, Resulting Numbers: [150]
150,86 unequal: No Solution
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,86 unequal: No Solution
Exploring Operation: 75+2=77, Resulting Numbers: [77]
77,86 unequal: No Solution
Moving to Node #0,1,2
Current State: 86:[44, 53], Operations: ['71-27=44', '75-22=53']
Exploring Operation: 53-44=9, Resulting Numbers: [9]
9,86 unequal: No Solution
Exploring Operation: 44+53=97, Resulting Numbers: [97]
97,86 unequal: No Solution
Exploring Operation: 44*53=2332, Resulting Numbers: [2332]
2332,86 unequal: No Solution
Moving to Node #0,1,1
Current State: 86:[44, 97], Operations: ['71-27=44', '22+75=97']
Exploring Operation: 44+97=141, Resulting Numbers: [141]
141,86 unequal: No Solution
Exploring Operation: 44*97=4268, Resulting Numbers: [4268]
4268,86 unequal: No Solution
Exploring Operation: 97-44=53, Resulting Numbers: [53]
53,86 unequal: No Solution
Moving to Node #0,2,0
Current State: 86:[71, 80], Operations: ['27-22=5', '75+5=80']
Exploring Operation: 80-71=9, Resulting Numbers: [9]
9,86 unequal: No Solution
Exploring Operation: 71+80=151, Resulting Numbers: [151]
151,86 unequal: No Solution
Exploring Operation: 71*80=5680, Resulting Numbers: [5680]
5680,86 unequal: No Solution
Moving to Node #0,2,1
Current State: 86:[75, 76], Operations: ['27-22=5', '71+5=76']
Exploring Operation: 75*76=5700, Resulting Numbers: [5700]
5700,86 unequal: No Solution
Exploring Operation: 75+76=151, Resulting Numbers: [151]
151,86 unequal: No Solution
Exploring Operation: 76-75=1, Resulting Numbers: [1]
1,86 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
5,
19,
27,
14
] | 72 | [
"14-5=9",
"27-19=8",
"9*8=72"
] | Current State: 72:[5, 19, 27, 14], Operations: []
Exploring Operation: 14-5=9, Resulting Numbers: [19, 27, 9]
Generated Node #2: [19, 27, 9] from Operation: 14-5=9
Current State: 72:[19, 27, 9], Operations: ['14-5=9']
Exploring Operation: 27-19=8, Resulting Numbers: [9, 8]
Generated Node #3: [9, 8] from Operation: 27-19=8
Current State: 72:[9, 8], Operations: ['14-5=9', '27-19=8']
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[5, 19, 27, 14], Operations: []
Exploring Operation: 14-5=9, Resulting Numbers: [19, 27, 9]
Generated Node #0,0: 72:[19, 27, 9] Operation: 14-5=9
Exploring Operation: 27-14=13, Resulting Numbers: [5, 19, 13]
Generated Node #0,1: 72:[5, 19, 13] Operation: 27-14=13
Exploring Operation: 27-19=8, Resulting Numbers: [5, 14, 8]
Generated Node #0,2: 72:[5, 14, 8] Operation: 27-19=8
Exploring Operation: 5+19=24, Resulting Numbers: [27, 14, 24]
Generated Node #0,3: 72:[27, 14, 24] Operation: 5+19=24
Exploring Operation: 27-5=22, Resulting Numbers: [19, 14, 22]
Generated Node #0,4: 72:[19, 14, 22] Operation: 27-5=22
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[5, 19, 13], Operations: ['27-14=13']
Exploring Operation: 19-13=6, Resulting Numbers: [5, 6]
Generated Node #0,1,0: 72:[5, 6] Operation: 19-13=6
Exploring Operation: 13-5=8, Resulting Numbers: [19, 8]
Generated Node #0,1,1: 72:[19, 8] Operation: 13-5=8
Exploring Operation: 5+13=18, Resulting Numbers: [19, 18]
Generated Node #0,1,2: 72:[19, 18] Operation: 5+13=18
Exploring Operation: 5+19=24, Resulting Numbers: [13, 24]
Generated Node #0,1,3: 72:[13, 24] Operation: 5+19=24
Exploring Operation: 19-5=14, Resulting Numbers: [13, 14]
Generated Node #0,1,4: 72:[13, 14] Operation: 19-5=14
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 72:[5, 6], Operations: ['27-14=13', '19-13=6']
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,72 unequal: No Solution
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,72 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 72:[19, 8], Operations: ['27-14=13', '13-5=8']
Exploring Operation: 19+8=27, Resulting Numbers: [27]
27,72 unequal: No Solution
Exploring Operation: 19*8=152, Resulting Numbers: [152]
152,72 unequal: No Solution
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 72:[19, 18], Operations: ['27-14=13', '5+13=18']
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,72 unequal: No Solution
Exploring Operation: 19+18=37, Resulting Numbers: [37]
37,72 unequal: No Solution
Exploring Operation: 19*18=342, Resulting Numbers: [342]
342,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 72:[13, 24], Operations: ['27-14=13', '5+19=24']
Exploring Operation: 24-13=11, Resulting Numbers: [11]
11,72 unequal: No Solution
Exploring Operation: 13*24=312, Resulting Numbers: [312]
312,72 unequal: No Solution
Exploring Operation: 13+24=37, Resulting Numbers: [37]
37,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 72:[13, 14], Operations: ['27-14=13', '19-5=14']
Exploring Operation: 13+14=27, Resulting Numbers: [27]
27,72 unequal: No Solution
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,72 unequal: No Solution
Exploring Operation: 13*14=182, Resulting Numbers: [182]
182,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 72:[5, 14, 8], Operations: ['27-19=8']
Exploring Operation: 14-5=9, Resulting Numbers: [8, 9]
Generated Node #0,2,0: 72:[8, 9] Operation: 14-5=9
Exploring Operation: 14-8=6, Resulting Numbers: [5, 6]
Generated Node #0,2,1: 72:[5, 6] Operation: 14-8=6
Exploring Operation: 5*14=70, Resulting Numbers: [8, 70]
Generated Node #0,2,2: 72:[8, 70] Operation: 5*14=70
Exploring Operation: 8-5=3, Resulting Numbers: [14, 3]
Generated Node #0,2,3: 72:[14, 3] Operation: 8-5=3
Exploring Operation: 5+14=19, Resulting Numbers: [8, 19]
Generated Node #0,2,4: 72:[8, 19] Operation: 5+14=19
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 72:[8, 9], Operations: ['27-19=8', '14-5=9']
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[5, 19, 27, 14], Operations: []
Exploring Operation: 27-19=8, Resulting Numbers: [5, 14, 8]
Generated Node #0,2: 72:[5, 14, 8] Operation: 27-19=8
Moving to Node #0,2
Current State: 72:[5, 14, 8], Operations: ['27-19=8']
Exploring Operation: 14-5=9, Resulting Numbers: [8, 9]
Generated Node #0,2,0: 72:[8, 9] Operation: 14-5=9
Moving to Node #0,2,0
Current State: 72:[8, 9], Operations: ['27-19=8', '14-5=9']
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618 | hs_5 | mult_heuristic |
[
46,
22,
44,
24
] | 48 | [
"46+22=68",
"44-24=20",
"68-20=48"
] | Current State: 48:[46, 22, 44, 24], Operations: []
Exploring Operation: 46+22=68, Resulting Numbers: [44, 24, 68]
Generated Node #2: [44, 24, 68] from Operation: 46+22=68
Current State: 48:[44, 24, 68], Operations: ['46+22=68']
Exploring Operation: 44-24=20, Resulting Numbers: [68, 20]
Generated Node #3: [68, 20] from Operation: 44-24=20
Current State: 48:[68, 20], Operations: ['46+22=68', '44-24=20']
Exploring Operation: 68-20=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[46, 22, 44, 24], Operations: []
Exploring Operation: 46-22=24, Resulting Numbers: [44, 24, 24]
Generated Node #0,0: 48:[44, 24, 24] Operation: 46-22=24
Exploring Operation: 44-22=22, Resulting Numbers: [46, 24, 22]
Generated Node #0,1: 48:[46, 24, 22] Operation: 44-22=22
Exploring Operation: 46-44=2, Resulting Numbers: [22, 24, 2]
Generated Node #0,2: 48:[22, 24, 2] Operation: 46-44=2
Exploring Operation: 44/22=2, Resulting Numbers: [46, 24, 2]
Generated Node #0,3: 48:[46, 24, 2] Operation: 44/22=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 48:[22, 24, 2], Operations: ['46-44=2']
Exploring Operation: 22+2=24, Resulting Numbers: [24, 24]
Generated Node #0,2,0: 48:[24, 24] Operation: 22+2=24
Exploring Operation: 22/2=11, Resulting Numbers: [24, 11]
Generated Node #0,2,1: 48:[24, 11] Operation: 22/2=11
Exploring Operation: 22+24=46, Resulting Numbers: [2, 46]
Generated Node #0,2,2: 48:[2, 46] Operation: 22+24=46
Exploring Operation: 24-22=2, Resulting Numbers: [2, 2]
Generated Node #0,2,3: 48:[2, 2] Operation: 24-22=2
Moving to Node #0,2,0
Current State: 48:[24, 24], Operations: ['46-44=2', '22+2=24']
Exploring Operation: 24*24=576, Resulting Numbers: [576]
576,48 unequal: No Solution
Exploring Operation: 24-24=0, Resulting Numbers: [0]
0,48 unequal: No Solution
Exploring Operation: 24+24=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[46, 22, 44, 24], Operations: []
Exploring Operation: 46-44=2, Resulting Numbers: [22, 24, 2]
Generated Node #0,2: 48:[22, 24, 2] Operation: 46-44=2
Moving to Node #0,2
Current State: 48:[22, 24, 2], Operations: ['46-44=2']
Exploring Operation: 22+2=24, Resulting Numbers: [24, 24]
Generated Node #0,2,0: 48:[24, 24] Operation: 22+2=24
Moving to Node #0,2,0
Current State: 48:[24, 24], Operations: ['46-44=2', '22+2=24']
Exploring Operation: 24+24=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
35,
10,
90,
60
] | 45 | [
"35*90=3150",
"10+60=70",
"3150/70=45"
] | Current State: 45:[35, 10, 90, 60], Operations: []
Exploring Operation: 35*90=3150, Resulting Numbers: [10, 60, 3150]
Generated Node #2: [10, 60, 3150] from Operation: 35*90=3150
Current State: 45:[10, 60, 3150], Operations: ['35*90=3150']
Exploring Operation: 10+60=70, Resulting Numbers: [3150, 70]
Generated Node #3: [3150, 70] from Operation: 10+60=70
Current State: 45:[3150, 70], Operations: ['35*90=3150', '10+60=70']
Exploring Operation: 3150/70=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[35, 10, 90, 60], Operations: []
Exploring Operation: 90-35=55, Resulting Numbers: [10, 60, 55]
Generated Node #0,0: 45:[10, 60, 55] Operation: 90-35=55
Exploring Operation: 90/10=9, Resulting Numbers: [35, 60, 9]
Generated Node #0,1: 45:[35, 60, 9] Operation: 90/10=9
Exploring Operation: 90-60=30, Resulting Numbers: [35, 10, 30]
Generated Node #0,2: 45:[35, 10, 30] Operation: 90-60=30
Exploring Operation: 60-35=25, Resulting Numbers: [10, 90, 25]
Generated Node #0,3: 45:[10, 90, 25] Operation: 60-35=25
Moving to Node #0,1
Current State: 45:[35, 60, 9], Operations: ['90/10=9']
Exploring Operation: 60-35=25, Resulting Numbers: [9, 25]
Generated Node #0,1,0: 45:[9, 25] Operation: 60-35=25
Exploring Operation: 60-9=51, Resulting Numbers: [35, 51]
Generated Node #0,1,1: 45:[35, 51] Operation: 60-9=51
Exploring Operation: 35+9=44, Resulting Numbers: [60, 44]
Generated Node #0,1,2: 45:[60, 44] Operation: 35+9=44
Exploring Operation: 35-9=26, Resulting Numbers: [60, 26]
Generated Node #0,1,3: 45:[60, 26] Operation: 35-9=26
Moving to Node #0,2
Current State: 45:[35, 10, 30], Operations: ['90-60=30']
Exploring Operation: 35-30=5, Resulting Numbers: [10, 5]
Generated Node #0,2,0: 45:[10, 5] Operation: 35-30=5
Exploring Operation: 30/10=3, Resulting Numbers: [35, 3]
Generated Node #0,2,1: 45:[35, 3] Operation: 30/10=3
Exploring Operation: 35+10=45, Resulting Numbers: [30, 45]
Generated Node #0,2,2: 45:[30, 45] Operation: 35+10=45
Exploring Operation: 10+30=40, Resulting Numbers: [35, 40]
Generated Node #0,2,3: 45:[35, 40] Operation: 10+30=40
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 45:[10, 5], Operations: ['90-60=30', '35-30=5']
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,45 unequal: No Solution
Exploring Operation: 10+5=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,45 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 45:[35, 3], Operations: ['90-60=30', '30/10=3']
Exploring Operation: 35+3=38, Resulting Numbers: [38]
38,45 unequal: No Solution
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,45 unequal: No Solution
Exploring Operation: 35*3=105, Resulting Numbers: [105]
105,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 45:[30, 45], Operations: ['90-60=30', '35+10=45']
Exploring Operation: 30+45=75, Resulting Numbers: [75]
75,45 unequal: No Solution
Exploring Operation: 45-30=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 30*45=1350, Resulting Numbers: [1350]
1350,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 45:[35, 40], Operations: ['90-60=30', '10+30=40']
Exploring Operation: 40-35=5, Resulting Numbers: [5]
5,45 unequal: No Solution
Exploring Operation: 35*40=1400, Resulting Numbers: [1400]
1400,45 unequal: No Solution
Exploring Operation: 35+40=75, Resulting Numbers: [75]
75,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 45:[10, 60, 55], Operations: ['90-35=55']
Exploring Operation: 60-55=5, Resulting Numbers: [10, 5]
Generated Node #0,0,0: 45:[10, 5] Operation: 60-55=5
Exploring Operation: 55-10=45, Resulting Numbers: [60, 45]
Generated Node #0,0,1: 45:[60, 45] Operation: 55-10=45
Exploring Operation: 60/10=6, Resulting Numbers: [55, 6]
Generated Node #0,0,2: 45:[55, 6] Operation: 60/10=6
Exploring Operation: 60-10=50, Resulting Numbers: [55, 50]
Generated Node #0,0,3: 45:[55, 50] Operation: 60-10=50
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 45:[10, 5], Operations: ['90-35=55', '60-55=5']
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,45 unequal: No Solution
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,45 unequal: No Solution
Exploring Operation: 10+5=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 45:[55, 6], Operations: ['90-35=55', '60/10=6']
Exploring Operation: 55+6=61, Resulting Numbers: [61]
61,45 unequal: No Solution
Exploring Operation: 55*6=330, Resulting Numbers: [330]
330,45 unequal: No Solution
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 45:[60, 45], Operations: ['90-35=55', '55-10=45']
Exploring Operation: 60+45=105, Resulting Numbers: [105]
105,45 unequal: No Solution
Exploring Operation: 60-45=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 60*45=2700, Resulting Numbers: [2700]
2700,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 45:[55, 50], Operations: ['90-35=55', '60-10=50']
Exploring Operation: 55*50=2750, Resulting Numbers: [2750]
2750,45 unequal: No Solution
Exploring Operation: 55-50=5, Resulting Numbers: [5]
5,45 unequal: No Solution
Exploring Operation: 55+50=105, Resulting Numbers: [105]
105,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 45:[10, 90, 25], Operations: ['60-35=25']
Exploring Operation: 90-25=65, Resulting Numbers: [10, 65]
Generated Node #0,3,0: 45:[10, 65] Operation: 90-25=65
Exploring Operation: 25-10=15, Resulting Numbers: [90, 15]
Generated Node #0,3,1: 45:[90, 15] Operation: 25-10=15
Exploring Operation: 90/10=9, Resulting Numbers: [25, 9]
Generated Node #0,3,2: 45:[25, 9] Operation: 90/10=9
Exploring Operation: 90-10=80, Resulting Numbers: [25, 80]
Generated Node #0,3,3: 45:[25, 80] Operation: 90-10=80
Moving to Node #0,1,0
Current State: 45:[9, 25], Operations: ['90/10=9', '60-35=25']
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,45 unequal: No Solution
Exploring Operation: 9*25=225, Resulting Numbers: [225]
225,45 unequal: No Solution
Exploring Operation: 9+25=34, Resulting Numbers: [34]
34,45 unequal: No Solution
Moving to Node #0,3,2
Current State: 45:[25, 9], Operations: ['60-35=25', '90/10=9']
Exploring Operation: 25+9=34, Resulting Numbers: [34]
34,45 unequal: No Solution
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,45 unequal: No Solution
Exploring Operation: 25*9=225, Resulting Numbers: [225]
225,45 unequal: No Solution
Moving to Node #0,1,2
Current State: 45:[60, 44], Operations: ['90/10=9', '35+9=44']
Exploring Operation: 60+44=104, Resulting Numbers: [104]
104,45 unequal: No Solution
Exploring Operation: 60-44=16, Resulting Numbers: [16]
16,45 unequal: No Solution
Exploring Operation: 60*44=2640, Resulting Numbers: [2640]
2640,45 unequal: No Solution
Moving to Node #0,1,1
Current State: 45:[35, 51], Operations: ['90/10=9', '60-9=51']
Exploring Operation: 35+51=86, Resulting Numbers: [86]
86,45 unequal: No Solution
Exploring Operation: 35*51=1785, Resulting Numbers: [1785]
1785,45 unequal: No Solution
Exploring Operation: 51-35=16, Resulting Numbers: [16]
16,45 unequal: No Solution
Moving to Node #0,3,0
Current State: 45:[10, 65], Operations: ['60-35=25', '90-25=65']
Exploring Operation: 65-10=55, Resulting Numbers: [55]
55,45 unequal: No Solution
Exploring Operation: 10*65=650, Resulting Numbers: [650]
650,45 unequal: No Solution
Exploring Operation: 10+65=75, Resulting Numbers: [75]
75,45 unequal: No Solution
Moving to Node #0,1,3
Current State: 45:[60, 26], Operations: ['90/10=9', '35-9=26']
Exploring Operation: 60-26=34, Resulting Numbers: [34]
34,45 unequal: No Solution
Exploring Operation: 60+26=86, Resulting Numbers: [86]
86,45 unequal: No Solution
Exploring Operation: 60*26=1560, Resulting Numbers: [1560]
1560,45 unequal: No Solution
Moving to Node #0,3,1
Current State: 45:[90, 15], Operations: ['60-35=25', '25-10=15']
Exploring Operation: 90*15=1350, Resulting Numbers: [1350]
1350,45 unequal: No Solution
Exploring Operation: 90/15=6, Resulting Numbers: [6]
6,45 unequal: No Solution
Exploring Operation: 90+15=105, Resulting Numbers: [105]
105,45 unequal: No Solution
Exploring Operation: 90-15=75, Resulting Numbers: [75]
75,45 unequal: No Solution
Moving to Node #0,3,3
Current State: 45:[25, 80], Operations: ['60-35=25', '90-10=80']
Exploring Operation: 25*80=2000, Resulting Numbers: [2000]
2000,45 unequal: No Solution
Exploring Operation: 25+80=105, Resulting Numbers: [105]
105,45 unequal: No Solution
Exploring Operation: 80-25=55, Resulting Numbers: [55]
55,45 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
49,
4,
28,
97
] | 64 | [
"97-49=48",
"4*28=112",
"112-48=64"
] | Current State: 64:[49, 4, 28, 97], Operations: []
Exploring Operation: 97-49=48, Resulting Numbers: [4, 28, 48]
Generated Node #2: [4, 28, 48] from Operation: 97-49=48
Current State: 64:[4, 28, 48], Operations: ['97-49=48']
Exploring Operation: 4*28=112, Resulting Numbers: [48, 112]
Generated Node #3: [48, 112] from Operation: 4*28=112
Current State: 64:[48, 112], Operations: ['97-49=48', '4*28=112']
Exploring Operation: 112-48=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[49, 4, 28, 97], Operations: []
Exploring Operation: 97-28=69, Resulting Numbers: [49, 4, 69]
Generated Node #0,0: 64:[49, 4, 69] Operation: 97-28=69
Exploring Operation: 97-49=48, Resulting Numbers: [4, 28, 48]
Generated Node #0,1: 64:[4, 28, 48] Operation: 97-49=48
Moving to Node #0,0
Current State: 64:[49, 4, 69], Operations: ['97-28=69']
Exploring Operation: 69-49=20, Resulting Numbers: [4, 20]
Generated Node #0,0,0: 64:[4, 20] Operation: 69-49=20
Exploring Operation: 49+4=53, Resulting Numbers: [69, 53]
Generated Node #0,0,1: 64:[69, 53] Operation: 49+4=53
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 64:[4, 20], Operations: ['97-28=69', '69-49=20']
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,64 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 64:[69, 53], Operations: ['97-28=69', '49+4=53']
Exploring Operation: 69+53=122, Resulting Numbers: [122]
122,64 unequal: No Solution
Exploring Operation: 69-53=16, Resulting Numbers: [16]
16,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 64:[4, 28, 48], Operations: ['97-49=48']
Exploring Operation: 48-28=20, Resulting Numbers: [4, 20]
Generated Node #0,1,0: 64:[4, 20] Operation: 48-28=20
Exploring Operation: 48/4=12, Resulting Numbers: [28, 12]
Generated Node #0,1,1: 64:[28, 12] Operation: 48/4=12
Moving to Node #0,1,0
Current State: 64:[4, 20], Operations: ['97-49=48', '48-28=20']
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,64 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,64 unequal: No Solution
Moving to Node #0,1,1
Current State: 64:[28, 12], Operations: ['97-49=48', '48/4=12']
Exploring Operation: 28+12=40, Resulting Numbers: [40]
40,64 unequal: No Solution
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,64 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
41,
3,
49,
42
] | 47 | [
"41+3=44",
"49+42=91",
"91-44=47"
] | Current State: 47:[41, 3, 49, 42], Operations: []
Exploring Operation: 41+3=44, Resulting Numbers: [49, 42, 44]
Generated Node #2: [49, 42, 44] from Operation: 41+3=44
Current State: 47:[49, 42, 44], Operations: ['41+3=44']
Exploring Operation: 49+42=91, Resulting Numbers: [44, 91]
Generated Node #3: [44, 91] from Operation: 49+42=91
Current State: 47:[44, 91], Operations: ['41+3=44', '49+42=91']
Exploring Operation: 91-44=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[41, 3, 49, 42], Operations: []
Exploring Operation: 49-3=46, Resulting Numbers: [41, 42, 46]
Generated Node #0,0: 47:[41, 42, 46] Operation: 49-3=46
Exploring Operation: 41+3=44, Resulting Numbers: [49, 42, 44]
Generated Node #0,1: 47:[49, 42, 44] Operation: 41+3=44
Exploring Operation: 3+49=52, Resulting Numbers: [41, 42, 52]
Generated Node #0,2: 47:[41, 42, 52] Operation: 3+49=52
Exploring Operation: 41-3=38, Resulting Numbers: [49, 42, 38]
Generated Node #0,3: 47:[49, 42, 38] Operation: 41-3=38
Exploring Operation: 3+42=45, Resulting Numbers: [41, 49, 45]
Generated Node #0,4: 47:[41, 49, 45] Operation: 3+42=45
Moving to Node #0,1
Current State: 47:[49, 42, 44], Operations: ['41+3=44']
Exploring Operation: 49-44=5, Resulting Numbers: [42, 5]
Generated Node #0,1,0: 47:[42, 5] Operation: 49-44=5
Exploring Operation: 49+42=91, Resulting Numbers: [44, 91]
Generated Node #0,1,1: 47:[44, 91] Operation: 49+42=91
Exploring Operation: 42+44=86, Resulting Numbers: [49, 86]
Generated Node #0,1,2: 47:[49, 86] Operation: 42+44=86
Exploring Operation: 44-42=2, Resulting Numbers: [49, 2]
Generated Node #0,1,3: 47:[49, 2] Operation: 44-42=2
Exploring Operation: 49-42=7, Resulting Numbers: [44, 7]
Generated Node #0,1,4: 47:[44, 7] Operation: 49-42=7
Moving to Node #0,4
Current State: 47:[41, 49, 45], Operations: ['3+42=45']
Exploring Operation: 41+49=90, Resulting Numbers: [45, 90]
Generated Node #0,4,0: 47:[45, 90] Operation: 41+49=90
Exploring Operation: 41+45=86, Resulting Numbers: [49, 86]
Generated Node #0,4,1: 47:[49, 86] Operation: 41+45=86
Exploring Operation: 49-41=8, Resulting Numbers: [45, 8]
Generated Node #0,4,2: 47:[45, 8] Operation: 49-41=8
Exploring Operation: 45-41=4, Resulting Numbers: [49, 4]
Generated Node #0,4,3: 47:[49, 4] Operation: 45-41=4
Exploring Operation: 49-45=4, Resulting Numbers: [41, 4]
Generated Node #0,4,4: 47:[41, 4] Operation: 49-45=4
Moving to Node #0,0
Current State: 47:[41, 42, 46], Operations: ['49-3=46']
Exploring Operation: 42+46=88, Resulting Numbers: [41, 88]
Generated Node #0,0,0: 47:[41, 88] Operation: 42+46=88
Exploring Operation: 46-41=5, Resulting Numbers: [42, 5]
Generated Node #0,0,1: 47:[42, 5] Operation: 46-41=5
Exploring Operation: 41+42=83, Resulting Numbers: [46, 83]
Generated Node #0,0,2: 47:[46, 83] Operation: 41+42=83
Exploring Operation: 42-41=1, Resulting Numbers: [46, 1]
Generated Node #0,0,3: 47:[46, 1] Operation: 42-41=1
Exploring Operation: 41+46=87, Resulting Numbers: [42, 87]
Generated Node #0,0,4: 47:[42, 87] Operation: 41+46=87
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 47:[46, 83], Operations: ['49-3=46', '41+42=83']
Exploring Operation: 83-46=37, Resulting Numbers: [37]
37,47 unequal: No Solution
Exploring Operation: 46*83=3818, Resulting Numbers: [3818]
3818,47 unequal: No Solution
Exploring Operation: 46+83=129, Resulting Numbers: [129]
129,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 47:[42, 87], Operations: ['49-3=46', '41+46=87']
Exploring Operation: 87-42=45, Resulting Numbers: [45]
45,47 unequal: No Solution
Exploring Operation: 42*87=3654, Resulting Numbers: [3654]
3654,47 unequal: No Solution
Exploring Operation: 42+87=129, Resulting Numbers: [129]
129,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 47:[41, 88], Operations: ['49-3=46', '42+46=88']
Exploring Operation: 41+88=129, Resulting Numbers: [129]
129,47 unequal: No Solution
Exploring Operation: 41*88=3608, Resulting Numbers: [3608]
3608,47 unequal: No Solution
Exploring Operation: 88-41=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[41, 3, 49, 42], Operations: []
Exploring Operation: 49-3=46, Resulting Numbers: [41, 42, 46]
Generated Node #0,0: 47:[41, 42, 46] Operation: 49-3=46
Moving to Node #0,0
Current State: 47:[41, 42, 46], Operations: ['49-3=46']
Exploring Operation: 42+46=88, Resulting Numbers: [41, 88]
Generated Node #0,0,0: 47:[41, 88] Operation: 42+46=88
Moving to Node #0,0,0
Current State: 47:[41, 88], Operations: ['49-3=46', '42+46=88']
Exploring Operation: 88-41=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.971354 | hs_5 | mult_heuristic |
[
9,
18,
6,
73
] | 85 | [
"18/9=2",
"6*2=12",
"73+12=85"
] | Current State: 85:[9, 18, 6, 73], Operations: []
Exploring Operation: 18/9=2, Resulting Numbers: [6, 73, 2]
Generated Node #2: [6, 73, 2] from Operation: 18/9=2
Current State: 85:[6, 73, 2], Operations: ['18/9=2']
Exploring Operation: 6*2=12, Resulting Numbers: [73, 12]
Generated Node #3: [73, 12] from Operation: 6*2=12
Current State: 85:[73, 12], Operations: ['18/9=2', '6*2=12']
Exploring Operation: 73+12=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[9, 18, 6, 73], Operations: []
Exploring Operation: 9+73=82, Resulting Numbers: [18, 6, 82]
Generated Node #0,0: 85:[18, 6, 82] Operation: 9+73=82
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[18, 6, 82], Operations: ['9+73=82']
Exploring Operation: 6+82=88, Resulting Numbers: [18, 88]
Generated Node #0,0,0: 85:[18, 88] Operation: 6+82=88
Moving to Node #0,0,0
Current State: 85:[18, 88], Operations: ['9+73=82', '6+82=88']
Exploring Operation: 88-18=70, Resulting Numbers: [70]
70,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
67,
45,
2,
38
] | 30 | [
"67-45=22",
"38+22=60",
"60/2=30"
] | Current State: 30:[67, 45, 2, 38], Operations: []
Exploring Operation: 67-45=22, Resulting Numbers: [2, 38, 22]
Generated Node #2: [2, 38, 22] from Operation: 67-45=22
Current State: 30:[2, 38, 22], Operations: ['67-45=22']
Exploring Operation: 38+22=60, Resulting Numbers: [2, 60]
Generated Node #3: [2, 60] from Operation: 38+22=60
Current State: 30:[2, 60], Operations: ['67-45=22', '38+22=60']
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[67, 45, 2, 38], Operations: []
Exploring Operation: 38/2=19, Resulting Numbers: [67, 45, 19]
Generated Node #0,0: 30:[67, 45, 19] Operation: 38/2=19
Exploring Operation: 45-38=7, Resulting Numbers: [67, 2, 7]
Generated Node #0,1: 30:[67, 2, 7] Operation: 45-38=7
Exploring Operation: 67-45=22, Resulting Numbers: [2, 38, 22]
Generated Node #0,2: 30:[2, 38, 22] Operation: 67-45=22
Exploring Operation: 67-38=29, Resulting Numbers: [45, 2, 29]
Generated Node #0,3: 30:[45, 2, 29] Operation: 67-38=29
Moving to Node #0,2
Current State: 30:[2, 38, 22], Operations: ['67-45=22']
Exploring Operation: 38/2=19, Resulting Numbers: [22, 19]
Generated Node #0,2,0: 30:[22, 19] Operation: 38/2=19
Exploring Operation: 38-22=16, Resulting Numbers: [2, 16]
Generated Node #0,2,1: 30:[2, 16] Operation: 38-22=16
Exploring Operation: 22/2=11, Resulting Numbers: [38, 11]
Generated Node #0,2,2: 30:[38, 11] Operation: 22/2=11
Exploring Operation: 38-2=36, Resulting Numbers: [22, 36]
Generated Node #0,2,3: 30:[22, 36] Operation: 38-2=36
Moving to Node #0,3
Current State: 30:[45, 2, 29], Operations: ['67-38=29']
Exploring Operation: 45+2=47, Resulting Numbers: [29, 47]
Generated Node #0,3,0: 30:[29, 47] Operation: 45+2=47
Exploring Operation: 45-2=43, Resulting Numbers: [29, 43]
Generated Node #0,3,1: 30:[29, 43] Operation: 45-2=43
Exploring Operation: 45-29=16, Resulting Numbers: [2, 16]
Generated Node #0,3,2: 30:[2, 16] Operation: 45-29=16
Exploring Operation: 2+29=31, Resulting Numbers: [45, 31]
Generated Node #0,3,3: 30:[45, 31] Operation: 2+29=31
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 30:[2, 16], Operations: ['67-38=29', '45-29=16']
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,30 unequal: No Solution
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,30 unequal: No Solution
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,30 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 30:[29, 43], Operations: ['67-38=29', '45-2=43']
Exploring Operation: 29*43=1247, Resulting Numbers: [1247]
1247,30 unequal: No Solution
Exploring Operation: 43-29=14, Resulting Numbers: [14]
14,30 unequal: No Solution
Exploring Operation: 29+43=72, Resulting Numbers: [72]
72,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 30:[45, 31], Operations: ['67-38=29', '2+29=31']
Exploring Operation: 45*31=1395, Resulting Numbers: [1395]
1395,30 unequal: No Solution
Exploring Operation: 45-31=14, Resulting Numbers: [14]
14,30 unequal: No Solution
Exploring Operation: 45+31=76, Resulting Numbers: [76]
76,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 30:[29, 47], Operations: ['67-38=29', '45+2=47']
Exploring Operation: 29*47=1363, Resulting Numbers: [1363]
1363,30 unequal: No Solution
Exploring Operation: 47-29=18, Resulting Numbers: [18]
18,30 unequal: No Solution
Exploring Operation: 29+47=76, Resulting Numbers: [76]
76,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 30:[67, 2, 7], Operations: ['45-38=7']
Exploring Operation: 67-7=60, Resulting Numbers: [2, 60]
Generated Node #0,1,0: 30:[2, 60] Operation: 67-7=60
Exploring Operation: 7-2=5, Resulting Numbers: [67, 5]
Generated Node #0,1,1: 30:[67, 5] Operation: 7-2=5
Exploring Operation: 2+7=9, Resulting Numbers: [67, 9]
Generated Node #0,1,2: 30:[67, 9] Operation: 2+7=9
Exploring Operation: 67-2=65, Resulting Numbers: [7, 65]
Generated Node #0,1,3: 30:[7, 65] Operation: 67-2=65
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 30:[2, 60], Operations: ['45-38=7', '67-7=60']
Exploring Operation: 2+60=62, Resulting Numbers: [62]
62,30 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,30 unequal: No Solution
Exploring Operation: 2*60=120, Resulting Numbers: [120]
120,30 unequal: No Solution
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[67, 45, 2, 38], Operations: []
Exploring Operation: 45-38=7, Resulting Numbers: [67, 2, 7]
Generated Node #0,1: 30:[67, 2, 7] Operation: 45-38=7
Moving to Node #0,1
Current State: 30:[67, 2, 7], Operations: ['45-38=7']
Exploring Operation: 67-7=60, Resulting Numbers: [2, 60]
Generated Node #0,1,0: 30:[2, 60] Operation: 67-7=60
Moving to Node #0,1,0
Current State: 30:[2, 60], Operations: ['45-38=7', '67-7=60']
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_4 | sum_heuristic |
[
12,
87,
76,
42
] | 43 | [
"87-12=75",
"76+42=118",
"118-75=43"
] | Current State: 43:[12, 87, 76, 42], Operations: []
Exploring Operation: 87-12=75, Resulting Numbers: [76, 42, 75]
Generated Node #2: [76, 42, 75] from Operation: 87-12=75
Current State: 43:[76, 42, 75], Operations: ['87-12=75']
Exploring Operation: 76+42=118, Resulting Numbers: [75, 118]
Generated Node #3: [75, 118] from Operation: 76+42=118
Current State: 43:[75, 118], Operations: ['87-12=75', '76+42=118']
Exploring Operation: 118-75=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[12, 87, 76, 42], Operations: []
Exploring Operation: 76-12=64, Resulting Numbers: [87, 42, 64]
Generated Node #0,0: 43:[87, 42, 64] Operation: 76-12=64
Exploring Operation: 87-76=11, Resulting Numbers: [12, 42, 11]
Generated Node #0,1: 43:[12, 42, 11] Operation: 87-76=11
Exploring Operation: 87-12=75, Resulting Numbers: [76, 42, 75]
Generated Node #0,2: 43:[76, 42, 75] Operation: 87-12=75
Exploring Operation: 87-42=45, Resulting Numbers: [12, 76, 45]
Generated Node #0,3: 43:[12, 76, 45] Operation: 87-42=45
Moving to Node #0,1
Current State: 43:[12, 42, 11], Operations: ['87-76=11']
Exploring Operation: 12+42=54, Resulting Numbers: [11, 54]
Generated Node #0,1,0: 43:[11, 54] Operation: 12+42=54
Exploring Operation: 12+11=23, Resulting Numbers: [42, 23]
Generated Node #0,1,1: 43:[42, 23] Operation: 12+11=23
Exploring Operation: 12-11=1, Resulting Numbers: [42, 1]
Generated Node #0,1,2: 43:[42, 1] Operation: 12-11=1
Exploring Operation: 42+11=53, Resulting Numbers: [12, 53]
Generated Node #0,1,3: 43:[12, 53] Operation: 42+11=53
Moving to Node #0,2
Current State: 43:[76, 42, 75], Operations: ['87-12=75']
Exploring Operation: 76-42=34, Resulting Numbers: [75, 34]
Generated Node #0,2,0: 43:[75, 34] Operation: 76-42=34
Exploring Operation: 76+42=118, Resulting Numbers: [75, 118]
Generated Node #0,2,1: 43:[75, 118] Operation: 76+42=118
Exploring Operation: 75-42=33, Resulting Numbers: [76, 33]
Generated Node #0,2,2: 43:[76, 33] Operation: 75-42=33
Exploring Operation: 76-75=1, Resulting Numbers: [42, 1]
Generated Node #0,2,3: 43:[42, 1] Operation: 76-75=1
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 43:[75, 34], Operations: ['87-12=75', '76-42=34']
Exploring Operation: 75+34=109, Resulting Numbers: [109]
109,43 unequal: No Solution
Exploring Operation: 75-34=41, Resulting Numbers: [41]
41,43 unequal: No Solution
Exploring Operation: 75*34=2550, Resulting Numbers: [2550]
2550,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 43:[76, 33], Operations: ['87-12=75', '75-42=33']
Exploring Operation: 76-33=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[12, 87, 76, 42], Operations: []
Exploring Operation: 87-12=75, Resulting Numbers: [76, 42, 75]
Generated Node #0,2: 43:[76, 42, 75] Operation: 87-12=75
Moving to Node #0,2
Current State: 43:[76, 42, 75], Operations: ['87-12=75']
Exploring Operation: 75-42=33, Resulting Numbers: [76, 33]
Generated Node #0,2,2: 43:[76, 33] Operation: 75-42=33
Moving to Node #0,2,2
Current State: 43:[76, 33], Operations: ['87-12=75', '75-42=33']
Exploring Operation: 76-33=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | mult_heuristic |
[
58,
79,
15,
29
] | 65 | [
"79-58=21",
"15+29=44",
"21+44=65"
] | Current State: 65:[58, 79, 15, 29], Operations: []
Exploring Operation: 79-58=21, Resulting Numbers: [15, 29, 21]
Generated Node #2: [15, 29, 21] from Operation: 79-58=21
Current State: 65:[15, 29, 21], Operations: ['79-58=21']
Exploring Operation: 15+29=44, Resulting Numbers: [21, 44]
Generated Node #3: [21, 44] from Operation: 15+29=44
Current State: 65:[21, 44], Operations: ['79-58=21', '15+29=44']
Exploring Operation: 21+44=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[58, 79, 15, 29], Operations: []
Exploring Operation: 58/29=2, Resulting Numbers: [79, 15, 2]
Generated Node #0,0: 65:[79, 15, 2] Operation: 58/29=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[79, 15, 2], Operations: ['58/29=2']
Exploring Operation: 79-15=64, Resulting Numbers: [2, 64]
Generated Node #0,0,0: 65:[2, 64] Operation: 79-15=64
Moving to Node #0,0,0
Current State: 65:[2, 64], Operations: ['58/29=2', '79-15=64']
Exploring Operation: 2+64=66, Resulting Numbers: [66]
66,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
18,
46,
49,
51
] | 62 | [
"18+46=64",
"51-49=2",
"64-2=62"
] | Current State: 62:[18, 46, 49, 51], Operations: []
Exploring Operation: 18+46=64, Resulting Numbers: [49, 51, 64]
Generated Node #2: [49, 51, 64] from Operation: 18+46=64
Current State: 62:[49, 51, 64], Operations: ['18+46=64']
Exploring Operation: 51-49=2, Resulting Numbers: [64, 2]
Generated Node #3: [64, 2] from Operation: 51-49=2
Current State: 62:[64, 2], Operations: ['18+46=64', '51-49=2']
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[18, 46, 49, 51], Operations: []
Exploring Operation: 49-46=3, Resulting Numbers: [18, 51, 3]
Generated Node #0,0: 62:[18, 51, 3] Operation: 49-46=3
Exploring Operation: 18+46=64, Resulting Numbers: [49, 51, 64]
Generated Node #0,1: 62:[49, 51, 64] Operation: 18+46=64
Exploring Operation: 49-18=31, Resulting Numbers: [46, 51, 31]
Generated Node #0,2: 62:[46, 51, 31] Operation: 49-18=31
Moving to Node #0,0
Current State: 62:[18, 51, 3], Operations: ['49-46=3']
Exploring Operation: 18/3=6, Resulting Numbers: [51, 6]
Generated Node #0,0,0: 62:[51, 6] Operation: 18/3=6
Exploring Operation: 51-18=33, Resulting Numbers: [3, 33]
Generated Node #0,0,1: 62:[3, 33] Operation: 51-18=33
Exploring Operation: 18+51=69, Resulting Numbers: [3, 69]
Generated Node #0,0,2: 62:[3, 69] Operation: 18+51=69
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 62:[3, 33], Operations: ['49-46=3', '51-18=33']
Exploring Operation: 3+33=36, Resulting Numbers: [36]
36,62 unequal: No Solution
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,62 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 62:[3, 69], Operations: ['49-46=3', '18+51=69']
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,62 unequal: No Solution
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,62 unequal: No Solution
Exploring Operation: 3+69=72, Resulting Numbers: [72]
72,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[51, 6], Operations: ['49-46=3', '18/3=6']
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,62 unequal: No Solution
Exploring Operation: 51+6=57, Resulting Numbers: [57]
57,62 unequal: No Solution
Exploring Operation: 51*6=306, Resulting Numbers: [306]
306,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 62:[49, 51, 64], Operations: ['18+46=64']
Exploring Operation: 51-49=2, Resulting Numbers: [64, 2]
Generated Node #0,1,0: 62:[64, 2] Operation: 51-49=2
Exploring Operation: 64-49=15, Resulting Numbers: [51, 15]
Generated Node #0,1,1: 62:[51, 15] Operation: 64-49=15
Exploring Operation: 64-51=13, Resulting Numbers: [49, 13]
Generated Node #0,1,2: 62:[49, 13] Operation: 64-51=13
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 62:[64, 2], Operations: ['18+46=64', '51-49=2']
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,62 unequal: No Solution
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[18, 46, 49, 51], Operations: []
Exploring Operation: 18+46=64, Resulting Numbers: [49, 51, 64]
Generated Node #0,1: 62:[49, 51, 64] Operation: 18+46=64
Moving to Node #0,1
Current State: 62:[49, 51, 64], Operations: ['18+46=64']
Exploring Operation: 51-49=2, Resulting Numbers: [64, 2]
Generated Node #0,1,0: 62:[64, 2] Operation: 51-49=2
Moving to Node #0,1,0
Current State: 62:[64, 2], Operations: ['18+46=64', '51-49=2']
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_3 | sum_heuristic |
[
70,
64,
30,
19
] | 85 | [
"70+64=134",
"30+19=49",
"134-49=85"
] | Current State: 85:[70, 64, 30, 19], Operations: []
Exploring Operation: 70+64=134, Resulting Numbers: [30, 19, 134]
Generated Node #2: [30, 19, 134] from Operation: 70+64=134
Current State: 85:[30, 19, 134], Operations: ['70+64=134']
Exploring Operation: 30+19=49, Resulting Numbers: [134, 49]
Generated Node #3: [134, 49] from Operation: 30+19=49
Current State: 85:[134, 49], Operations: ['70+64=134', '30+19=49']
Exploring Operation: 134-49=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[70, 64, 30, 19], Operations: []
Exploring Operation: 64+30=94, Resulting Numbers: [70, 19, 94]
Generated Node #0,0: 85:[70, 19, 94] Operation: 64+30=94
Exploring Operation: 70-64=6, Resulting Numbers: [30, 19, 6]
Generated Node #0,1: 85:[30, 19, 6] Operation: 70-64=6
Exploring Operation: 64+19=83, Resulting Numbers: [70, 30, 83]
Generated Node #0,2: 85:[70, 30, 83] Operation: 64+19=83
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[30, 19, 6], Operations: ['70-64=6']
Exploring Operation: 30-6=24, Resulting Numbers: [19, 24]
Generated Node #0,1,0: 85:[19, 24] Operation: 30-6=24
Exploring Operation: 30/6=5, Resulting Numbers: [19, 5]
Generated Node #0,1,1: 85:[19, 5] Operation: 30/6=5
Exploring Operation: 30-19=11, Resulting Numbers: [6, 11]
Generated Node #0,1,2: 85:[6, 11] Operation: 30-19=11
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 85:[19, 5], Operations: ['70-64=6', '30/6=5']
Exploring Operation: 19+5=24, Resulting Numbers: [24]
24,85 unequal: No Solution
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,85 unequal: No Solution
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 85:[6, 11], Operations: ['70-64=6', '30-19=11']
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Exploring Operation: 6*11=66, Resulting Numbers: [66]
66,85 unequal: No Solution
Exploring Operation: 6+11=17, Resulting Numbers: [17]
17,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 85:[19, 24], Operations: ['70-64=6', '30-6=24']
Exploring Operation: 19+24=43, Resulting Numbers: [43]
43,85 unequal: No Solution
Exploring Operation: 19*24=456, Resulting Numbers: [456]
456,85 unequal: No Solution
Exploring Operation: 24-19=5, Resulting Numbers: [5]
5,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[70, 19, 94], Operations: ['64+30=94']
Exploring Operation: 94-70=24, Resulting Numbers: [19, 24]
Generated Node #0,0,0: 85:[19, 24] Operation: 94-70=24
Exploring Operation: 70+19=89, Resulting Numbers: [94, 89]
Generated Node #0,0,1: 85:[94, 89] Operation: 70+19=89
Exploring Operation: 94-19=75, Resulting Numbers: [70, 75]
Generated Node #0,0,2: 85:[70, 75] Operation: 94-19=75
Moving to Node #0,0,0
Current State: 85:[19, 24], Operations: ['64+30=94', '94-70=24']
Exploring Operation: 19+24=43, Resulting Numbers: [43]
43,85 unequal: No Solution
Exploring Operation: 24-19=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Exploring Operation: 19*24=456, Resulting Numbers: [456]
456,85 unequal: No Solution
Moving to Node #0,0,1
Current State: 85:[94, 89], Operations: ['64+30=94', '70+19=89']
Exploring Operation: 94-89=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Exploring Operation: 94*89=8366, Resulting Numbers: [8366]
8366,85 unequal: No Solution
Exploring Operation: 94+89=183, Resulting Numbers: [183]
183,85 unequal: No Solution
Moving to Node #0,0,2
Current State: 85:[70, 75], Operations: ['64+30=94', '94-19=75']
Exploring Operation: 70+75=145, Resulting Numbers: [145]
145,85 unequal: No Solution
Exploring Operation: 75-70=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Exploring Operation: 70*75=5250, Resulting Numbers: [5250]
5250,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 85:[70, 30, 83], Operations: ['64+19=83']
Exploring Operation: 70+30=100, Resulting Numbers: [83, 100]
Generated Node #0,2,0: 85:[83, 100] Operation: 70+30=100
Exploring Operation: 83-70=13, Resulting Numbers: [30, 13]
Generated Node #0,2,1: 85:[30, 13] Operation: 83-70=13
Exploring Operation: 70-30=40, Resulting Numbers: [83, 40]
Generated Node #0,2,2: 85:[83, 40] Operation: 70-30=40
Moving to Node #0,2,0
Current State: 85:[83, 100], Operations: ['64+19=83', '70+30=100']
Exploring Operation: 83+100=183, Resulting Numbers: [183]
183,85 unequal: No Solution
Exploring Operation: 83*100=8300, Resulting Numbers: [8300]
8300,85 unequal: No Solution
Exploring Operation: 100-83=17, Resulting Numbers: [17]
17,85 unequal: No Solution
Moving to Node #0,2,1
Current State: 85:[30, 13], Operations: ['64+19=83', '83-70=13']
Exploring Operation: 30+13=43, Resulting Numbers: [43]
43,85 unequal: No Solution
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,85 unequal: No Solution
Exploring Operation: 30*13=390, Resulting Numbers: [390]
390,85 unequal: No Solution
Moving to Node #0,2,2
Current State: 85:[83, 40], Operations: ['64+19=83', '70-30=40']
Exploring Operation: 83*40=3320, Resulting Numbers: [3320]
3320,85 unequal: No Solution
Exploring Operation: 83-40=43, Resulting Numbers: [43]
43,85 unequal: No Solution
Exploring Operation: 83+40=123, Resulting Numbers: [123]
123,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
7,
65,
2,
13
] | 37 | [
"7*65=455",
"455/13=35",
"2+35=37"
] | Current State: 37:[7, 65, 2, 13], Operations: []
Exploring Operation: 7*65=455, Resulting Numbers: [2, 13, 455]
Generated Node #2: [2, 13, 455] from Operation: 7*65=455
Current State: 37:[2, 13, 455], Operations: ['7*65=455']
Exploring Operation: 455/13=35, Resulting Numbers: [2, 35]
Generated Node #3: [2, 35] from Operation: 455/13=35
Current State: 37:[2, 35], Operations: ['7*65=455', '455/13=35']
Exploring Operation: 2+35=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[7, 65, 2, 13], Operations: []
Exploring Operation: 65-7=58, Resulting Numbers: [2, 13, 58]
Generated Node #0,0: 37:[2, 13, 58] Operation: 65-7=58
Exploring Operation: 7*2=14, Resulting Numbers: [65, 13, 14]
Generated Node #0,1: 37:[65, 13, 14] Operation: 7*2=14
Exploring Operation: 2*13=26, Resulting Numbers: [7, 65, 26]
Generated Node #0,2: 37:[7, 65, 26] Operation: 2*13=26
Moving to Node #0,2
Current State: 37:[7, 65, 26], Operations: ['2*13=26']
Exploring Operation: 65-7=58, Resulting Numbers: [26, 58]
Generated Node #0,2,0: 37:[26, 58] Operation: 65-7=58
Exploring Operation: 7+26=33, Resulting Numbers: [65, 33]
Generated Node #0,2,1: 37:[65, 33] Operation: 7+26=33
Exploring Operation: 65-26=39, Resulting Numbers: [7, 39]
Generated Node #0,2,2: 37:[7, 39] Operation: 65-26=39
Moving to Node #0,1
Current State: 37:[65, 13, 14], Operations: ['7*2=14']
Exploring Operation: 65-14=51, Resulting Numbers: [13, 51]
Generated Node #0,1,0: 37:[13, 51] Operation: 65-14=51
Exploring Operation: 13+14=27, Resulting Numbers: [65, 27]
Generated Node #0,1,1: 37:[65, 27] Operation: 13+14=27
Exploring Operation: 65-13=52, Resulting Numbers: [14, 52]
Generated Node #0,1,2: 37:[14, 52] Operation: 65-13=52
Moving to Node #0,0
Current State: 37:[2, 13, 58], Operations: ['65-7=58']
Exploring Operation: 58/2=29, Resulting Numbers: [13, 29]
Generated Node #0,0,0: 37:[13, 29] Operation: 58/2=29
Exploring Operation: 2+13=15, Resulting Numbers: [58, 15]
Generated Node #0,0,1: 37:[58, 15] Operation: 2+13=15
Exploring Operation: 2*13=26, Resulting Numbers: [58, 26]
Generated Node #0,0,2: 37:[58, 26] Operation: 2*13=26
Moving to Node #0,2,0
Current State: 37:[26, 58], Operations: ['2*13=26', '65-7=58']
Exploring Operation: 26+58=84, Resulting Numbers: [84]
84,37 unequal: No Solution
Exploring Operation: 26*58=1508, Resulting Numbers: [1508]
1508,37 unequal: No Solution
Exploring Operation: 58-26=32, Resulting Numbers: [32]
32,37 unequal: No Solution
Moving to Node #0,2,2
Current State: 37:[7, 39], Operations: ['2*13=26', '65-26=39']
Exploring Operation: 39-7=32, Resulting Numbers: [32]
32,37 unequal: No Solution
Exploring Operation: 7*39=273, Resulting Numbers: [273]
273,37 unequal: No Solution
Exploring Operation: 7+39=46, Resulting Numbers: [46]
46,37 unequal: No Solution
Moving to Node #0,0,0
Current State: 37:[13, 29], Operations: ['65-7=58', '58/2=29']
Exploring Operation: 13+29=42, Resulting Numbers: [42]
42,37 unequal: No Solution
Exploring Operation: 13*29=377, Resulting Numbers: [377]
377,37 unequal: No Solution
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,37 unequal: No Solution
Moving to Node #0,2,1
Current State: 37:[65, 33], Operations: ['2*13=26', '7+26=33']
Exploring Operation: 65-33=32, Resulting Numbers: [32]
32,37 unequal: No Solution
Exploring Operation: 65*33=2145, Resulting Numbers: [2145]
2145,37 unequal: No Solution
Exploring Operation: 65+33=98, Resulting Numbers: [98]
98,37 unequal: No Solution
Moving to Node #0,0,2
Current State: 37:[58, 26], Operations: ['65-7=58', '2*13=26']
Exploring Operation: 58-26=32, Resulting Numbers: [32]
32,37 unequal: No Solution
Exploring Operation: 58*26=1508, Resulting Numbers: [1508]
1508,37 unequal: No Solution
Exploring Operation: 58+26=84, Resulting Numbers: [84]
84,37 unequal: No Solution
Moving to Node #0,1,2
Current State: 37:[14, 52], Operations: ['7*2=14', '65-13=52']
Exploring Operation: 14+52=66, Resulting Numbers: [66]
66,37 unequal: No Solution
Exploring Operation: 52-14=38, Resulting Numbers: [38]
38,37 unequal: No Solution
Exploring Operation: 14*52=728, Resulting Numbers: [728]
728,37 unequal: No Solution
Moving to Node #0,1,0
Current State: 37:[13, 51], Operations: ['7*2=14', '65-14=51']
Exploring Operation: 13+51=64, Resulting Numbers: [64]
64,37 unequal: No Solution
Exploring Operation: 51-13=38, Resulting Numbers: [38]
38,37 unequal: No Solution
Exploring Operation: 13*51=663, Resulting Numbers: [663]
663,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[65, 27], Operations: ['7*2=14', '13+14=27']
Exploring Operation: 65-27=38, Resulting Numbers: [38]
38,37 unequal: No Solution
Exploring Operation: 65*27=1755, Resulting Numbers: [1755]
1755,37 unequal: No Solution
Exploring Operation: 65+27=92, Resulting Numbers: [92]
92,37 unequal: No Solution
Moving to Node #0,0,1
Current State: 37:[58, 15], Operations: ['65-7=58', '2+13=15']
Exploring Operation: 58+15=73, Resulting Numbers: [73]
73,37 unequal: No Solution
Exploring Operation: 58-15=43, Resulting Numbers: [43]
43,37 unequal: No Solution
Exploring Operation: 58*15=870, Resulting Numbers: [870]
870,37 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
42,
34,
53,
70
] | 59 | [
"42+34=76",
"70-53=17",
"76-17=59"
] | Current State: 59:[42, 34, 53, 70], Operations: []
Exploring Operation: 42+34=76, Resulting Numbers: [53, 70, 76]
Generated Node #2: [53, 70, 76] from Operation: 42+34=76
Current State: 59:[53, 70, 76], Operations: ['42+34=76']
Exploring Operation: 70-53=17, Resulting Numbers: [76, 17]
Generated Node #3: [76, 17] from Operation: 70-53=17
Current State: 59:[76, 17], Operations: ['42+34=76', '70-53=17']
Exploring Operation: 76-17=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[42, 34, 53, 70], Operations: []
Exploring Operation: 34+53=87, Resulting Numbers: [42, 70, 87]
Generated Node #0,0: 59:[42, 70, 87] Operation: 34+53=87
Exploring Operation: 42+34=76, Resulting Numbers: [53, 70, 76]
Generated Node #0,1: 59:[53, 70, 76] Operation: 42+34=76
Exploring Operation: 70-34=36, Resulting Numbers: [42, 53, 36]
Generated Node #0,2: 59:[42, 53, 36] Operation: 70-34=36
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[53, 70, 76], Operations: ['42+34=76']
Exploring Operation: 76-53=23, Resulting Numbers: [70, 23]
Generated Node #0,1,0: 59:[70, 23] Operation: 76-53=23
Exploring Operation: 76-70=6, Resulting Numbers: [53, 6]
Generated Node #0,1,1: 59:[53, 6] Operation: 76-70=6
Exploring Operation: 70-53=17, Resulting Numbers: [76, 17]
Generated Node #0,1,2: 59:[76, 17] Operation: 70-53=17
Moving to Node #0,1,0
Current State: 59:[70, 23], Operations: ['42+34=76', '76-53=23']
Exploring Operation: 70-23=47, Resulting Numbers: [47]
47,59 unequal: No Solution
Exploring Operation: 70*23=1610, Resulting Numbers: [1610]
1610,59 unequal: No Solution
Exploring Operation: 70+23=93, Resulting Numbers: [93]
93,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[53, 6], Operations: ['42+34=76', '76-70=6']
Exploring Operation: 53+6=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[42, 34, 53, 70], Operations: []
Exploring Operation: 42+34=76, Resulting Numbers: [53, 70, 76]
Generated Node #0,1: 59:[53, 70, 76] Operation: 42+34=76
Moving to Node #0,1
Current State: 59:[53, 70, 76], Operations: ['42+34=76']
Exploring Operation: 76-70=6, Resulting Numbers: [53, 6]
Generated Node #0,1,1: 59:[53, 6] Operation: 76-70=6
Moving to Node #0,1,1
Current State: 59:[53, 6], Operations: ['42+34=76', '76-70=6']
Exploring Operation: 53+6=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
45,
60,
62,
77
] | 61 | [
"45+77=122",
"62-60=2",
"122/2=61"
] | Current State: 61:[45, 60, 62, 77], Operations: []
Exploring Operation: 45+77=122, Resulting Numbers: [60, 62, 122]
Generated Node #2: [60, 62, 122] from Operation: 45+77=122
Current State: 61:[60, 62, 122], Operations: ['45+77=122']
Exploring Operation: 62-60=2, Resulting Numbers: [122, 2]
Generated Node #3: [122, 2] from Operation: 62-60=2
Current State: 61:[122, 2], Operations: ['45+77=122', '62-60=2']
Exploring Operation: 122/2=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[45, 60, 62, 77], Operations: []
Exploring Operation: 77-60=17, Resulting Numbers: [45, 62, 17]
Generated Node #0,0: 61:[45, 62, 17] Operation: 77-60=17
Exploring Operation: 77-45=32, Resulting Numbers: [60, 62, 32]
Generated Node #0,1: 61:[60, 62, 32] Operation: 77-45=32
Exploring Operation: 45+60=105, Resulting Numbers: [62, 77, 105]
Generated Node #0,2: 61:[62, 77, 105] Operation: 45+60=105
Exploring Operation: 62-45=17, Resulting Numbers: [60, 77, 17]
Generated Node #0,3: 61:[60, 77, 17] Operation: 62-45=17
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[60, 62, 32], Operations: ['77-45=32']
Exploring Operation: 62+32=94, Resulting Numbers: [60, 94]
Generated Node #0,1,0: 61:[60, 94] Operation: 62+32=94
Exploring Operation: 62-32=30, Resulting Numbers: [60, 30]
Generated Node #0,1,1: 61:[60, 30] Operation: 62-32=30
Exploring Operation: 60+32=92, Resulting Numbers: [62, 92]
Generated Node #0,1,2: 61:[62, 92] Operation: 60+32=92
Exploring Operation: 60-32=28, Resulting Numbers: [62, 28]
Generated Node #0,1,3: 61:[62, 28] Operation: 60-32=28
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 61:[60, 30], Operations: ['77-45=32', '62-32=30']
Exploring Operation: 60-30=30, Resulting Numbers: [30]
30,61 unequal: No Solution
Exploring Operation: 60*30=1800, Resulting Numbers: [1800]
1800,61 unequal: No Solution
Exploring Operation: 60+30=90, Resulting Numbers: [90]
90,61 unequal: No Solution
Exploring Operation: 60/30=2, Resulting Numbers: [2]
2,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 61:[62, 92], Operations: ['77-45=32', '60+32=92']
Exploring Operation: 62*92=5704, Resulting Numbers: [5704]
5704,61 unequal: No Solution
Exploring Operation: 62+92=154, Resulting Numbers: [154]
154,61 unequal: No Solution
Exploring Operation: 92-62=30, Resulting Numbers: [30]
30,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 61:[60, 94], Operations: ['77-45=32', '62+32=94']
Exploring Operation: 60+94=154, Resulting Numbers: [154]
154,61 unequal: No Solution
Exploring Operation: 60*94=5640, Resulting Numbers: [5640]
5640,61 unequal: No Solution
Exploring Operation: 94-60=34, Resulting Numbers: [34]
34,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 61:[62, 28], Operations: ['77-45=32', '60-32=28']
Exploring Operation: 62*28=1736, Resulting Numbers: [1736]
1736,61 unequal: No Solution
Exploring Operation: 62+28=90, Resulting Numbers: [90]
90,61 unequal: No Solution
Exploring Operation: 62-28=34, Resulting Numbers: [34]
34,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[45, 62, 17], Operations: ['77-60=17']
Exploring Operation: 45+17=62, Resulting Numbers: [62, 62]
Generated Node #0,0,0: 61:[62, 62] Operation: 45+17=62
Exploring Operation: 62-17=45, Resulting Numbers: [45, 45]
Generated Node #0,0,1: 61:[45, 45] Operation: 62-17=45
Exploring Operation: 62+17=79, Resulting Numbers: [45, 79]
Generated Node #0,0,2: 61:[45, 79] Operation: 62+17=79
Exploring Operation: 45-17=28, Resulting Numbers: [62, 28]
Generated Node #0,0,3: 61:[62, 28] Operation: 45-17=28
Moving to Node #0,0,0
Current State: 61:[62, 62], Operations: ['77-60=17', '45+17=62']
Exploring Operation: 62-62=0, Resulting Numbers: [0]
0,61 unequal: No Solution
Exploring Operation: 62/62=1, Resulting Numbers: [1]
1,61 unequal: No Solution
Exploring Operation: 62+62=124, Resulting Numbers: [124]
124,61 unequal: No Solution
Exploring Operation: 62*62=3844, Resulting Numbers: [3844]
3844,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[45, 45], Operations: ['77-60=17', '62-17=45']
Exploring Operation: 45-45=0, Resulting Numbers: [0]
0,61 unequal: No Solution
Exploring Operation: 45/45=1, Resulting Numbers: [1]
1,61 unequal: No Solution
Exploring Operation: 45+45=90, Resulting Numbers: [90]
90,61 unequal: No Solution
Exploring Operation: 45*45=2025, Resulting Numbers: [2025]
2025,61 unequal: No Solution
Moving to Node #0,0,3
Current State: 61:[62, 28], Operations: ['77-60=17', '45-17=28']
Exploring Operation: 62+28=90, Resulting Numbers: [90]
90,61 unequal: No Solution
Exploring Operation: 62*28=1736, Resulting Numbers: [1736]
1736,61 unequal: No Solution
Exploring Operation: 62-28=34, Resulting Numbers: [34]
34,61 unequal: No Solution
Moving to Node #0,0,2
Current State: 61:[45, 79], Operations: ['77-60=17', '62+17=79']
Exploring Operation: 45+79=124, Resulting Numbers: [124]
124,61 unequal: No Solution
Exploring Operation: 79-45=34, Resulting Numbers: [34]
34,61 unequal: No Solution
Exploring Operation: 45*79=3555, Resulting Numbers: [3555]
3555,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 61:[62, 77, 105], Operations: ['45+60=105']
Exploring Operation: 62+77=139, Resulting Numbers: [105, 139]
Generated Node #0,2,0: 61:[105, 139] Operation: 62+77=139
Exploring Operation: 77-62=15, Resulting Numbers: [105, 15]
Generated Node #0,2,1: 61:[105, 15] Operation: 77-62=15
Exploring Operation: 105-62=43, Resulting Numbers: [77, 43]
Generated Node #0,2,2: 61:[77, 43] Operation: 105-62=43
Exploring Operation: 105-77=28, Resulting Numbers: [62, 28]
Generated Node #0,2,3: 61:[62, 28] Operation: 105-77=28
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 61:[77, 43], Operations: ['45+60=105', '105-62=43']
Exploring Operation: 77*43=3311, Resulting Numbers: [3311]
3311,61 unequal: No Solution
Exploring Operation: 77+43=120, Resulting Numbers: [120]
120,61 unequal: No Solution
Exploring Operation: 77-43=34, Resulting Numbers: [34]
34,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 61:[62, 28], Operations: ['45+60=105', '105-77=28']
Exploring Operation: 62*28=1736, Resulting Numbers: [1736]
1736,61 unequal: No Solution
Exploring Operation: 62-28=34, Resulting Numbers: [34]
34,61 unequal: No Solution
Exploring Operation: 62+28=90, Resulting Numbers: [90]
90,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 61:[105, 15], Operations: ['45+60=105', '77-62=15']
Exploring Operation: 105*15=1575, Resulting Numbers: [1575]
1575,61 unequal: No Solution
Exploring Operation: 105+15=120, Resulting Numbers: [120]
120,61 unequal: No Solution
Exploring Operation: 105-15=90, Resulting Numbers: [90]
90,61 unequal: No Solution
Exploring Operation: 105/15=7, Resulting Numbers: [7]
7,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 61:[105, 139], Operations: ['45+60=105', '62+77=139']
Exploring Operation: 105*139=14595, Resulting Numbers: [14595]
14595,61 unequal: No Solution
Exploring Operation: 105+139=244, Resulting Numbers: [244]
244,61 unequal: No Solution
Exploring Operation: 139-105=34, Resulting Numbers: [34]
34,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 61:[60, 77, 17], Operations: ['62-45=17']
Exploring Operation: 60-17=43, Resulting Numbers: [77, 43]
Generated Node #0,3,0: 61:[77, 43] Operation: 60-17=43
Exploring Operation: 60+17=77, Resulting Numbers: [77, 77]
Generated Node #0,3,1: 61:[77, 77] Operation: 60+17=77
Exploring Operation: 77+17=94, Resulting Numbers: [60, 94]
Generated Node #0,3,2: 61:[60, 94] Operation: 77+17=94
Exploring Operation: 77-17=60, Resulting Numbers: [60, 60]
Generated Node #0,3,3: 61:[60, 60] Operation: 77-17=60
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 61:[60, 60], Operations: ['62-45=17', '77-17=60']
Exploring Operation: 60*60=3600, Resulting Numbers: [3600]
3600,61 unequal: No Solution
Exploring Operation: 60/60=1, Resulting Numbers: [1]
1,61 unequal: No Solution
Exploring Operation: 60-60=0, Resulting Numbers: [0]
0,61 unequal: No Solution
Exploring Operation: 60+60=120, Resulting Numbers: [120]
120,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 61:[77, 77], Operations: ['62-45=17', '60+17=77']
Exploring Operation: 77*77=5929, Resulting Numbers: [5929]
5929,61 unequal: No Solution
Exploring Operation: 77-77=0, Resulting Numbers: [0]
0,61 unequal: No Solution
Exploring Operation: 77/77=1, Resulting Numbers: [1]
1,61 unequal: No Solution
Exploring Operation: 77+77=154, Resulting Numbers: [154]
154,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 61:[77, 43], Operations: ['62-45=17', '60-17=43']
Exploring Operation: 77+43=120, Resulting Numbers: [120]
120,61 unequal: No Solution
Exploring Operation: 77-43=34, Resulting Numbers: [34]
34,61 unequal: No Solution
Exploring Operation: 77*43=3311, Resulting Numbers: [3311]
3311,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 61:[60, 94], Operations: ['62-45=17', '77+17=94']
Exploring Operation: 94-60=34, Resulting Numbers: [34]
34,61 unequal: No Solution
Exploring Operation: 60*94=5640, Resulting Numbers: [5640]
5640,61 unequal: No Solution
Exploring Operation: 60+94=154, Resulting Numbers: [154]
154,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
3,
4,
98,
78
] | 60 | [
"4+98=102",
"78+102=180",
"180/3=60"
] | Current State: 60:[3, 4, 98, 78], Operations: []
Exploring Operation: 4+98=102, Resulting Numbers: [3, 78, 102]
Generated Node #2: [3, 78, 102] from Operation: 4+98=102
Current State: 60:[3, 78, 102], Operations: ['4+98=102']
Exploring Operation: 78+102=180, Resulting Numbers: [3, 180]
Generated Node #3: [3, 180] from Operation: 78+102=180
Current State: 60:[3, 180], Operations: ['4+98=102', '78+102=180']
Exploring Operation: 180/3=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[3, 4, 98, 78], Operations: []
Exploring Operation: 98-78=20, Resulting Numbers: [3, 4, 20]
Generated Node #0,0: 60:[3, 4, 20] Operation: 98-78=20
Exploring Operation: 78/3=26, Resulting Numbers: [4, 98, 26]
Generated Node #0,1: 60:[4, 98, 26] Operation: 78/3=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[3, 4, 20], Operations: ['98-78=20']
Exploring Operation: 3*20=60, Resulting Numbers: [4, 60]
Generated Node #0,0,0: 60:[4, 60] Operation: 3*20=60
Exploring Operation: 3*4=12, Resulting Numbers: [20, 12]
Generated Node #0,0,1: 60:[20, 12] Operation: 3*4=12
Moving to Node #0,0,0
Current State: 60:[4, 60], Operations: ['98-78=20', '3*20=60']
Exploring Operation: 4+60=64, Resulting Numbers: [64]
64,60 unequal: No Solution
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[20, 12], Operations: ['98-78=20', '3*4=12']
Exploring Operation: 20+12=32, Resulting Numbers: [32]
32,60 unequal: No Solution
Exploring Operation: 20-12=8, Resulting Numbers: [8]
8,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[4, 98, 26], Operations: ['78/3=26']
Exploring Operation: 98-26=72, Resulting Numbers: [4, 72]
Generated Node #0,1,0: 60:[4, 72] Operation: 98-26=72
Exploring Operation: 98-4=94, Resulting Numbers: [26, 94]
Generated Node #0,1,1: 60:[26, 94] Operation: 98-4=94
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 60:[4, 72], Operations: ['78/3=26', '98-26=72']
Exploring Operation: 72/4=18, Resulting Numbers: [18]
18,60 unequal: No Solution
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 60:[26, 94], Operations: ['78/3=26', '98-4=94']
Exploring Operation: 94-26=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Exploring Operation: 26+94=120, Resulting Numbers: [120]
120,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
22,
2,
53,
1
] | 13 | [
"2+1=3",
"22*3=66",
"66-53=13"
] | Current State: 13:[22, 2, 53, 1], Operations: []
Exploring Operation: 2+1=3, Resulting Numbers: [22, 53, 3]
Generated Node #2: [22, 53, 3] from Operation: 2+1=3
Current State: 13:[22, 53, 3], Operations: ['2+1=3']
Exploring Operation: 22*3=66, Resulting Numbers: [53, 66]
Generated Node #3: [53, 66] from Operation: 22*3=66
Current State: 13:[53, 66], Operations: ['2+1=3', '22*3=66']
Exploring Operation: 66-53=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[22, 2, 53, 1], Operations: []
Exploring Operation: 53-22=31, Resulting Numbers: [2, 1, 31]
Generated Node #0,0: 13:[2, 1, 31] Operation: 53-22=31
Exploring Operation: 22/2=11, Resulting Numbers: [53, 1, 11]
Generated Node #0,1: 13:[53, 1, 11] Operation: 22/2=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[2, 1, 31], Operations: ['53-22=31']
Exploring Operation: 31-2=29, Resulting Numbers: [1, 29]
Generated Node #0,0,0: 13:[1, 29] Operation: 31-2=29
Exploring Operation: 2+1=3, Resulting Numbers: [31, 3]
Generated Node #0,0,1: 13:[31, 3] Operation: 2+1=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 13:[1, 29], Operations: ['53-22=31', '31-2=29']
Exploring Operation: 1*29=29, Resulting Numbers: [29]
29,13 unequal: No Solution
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 13:[31, 3], Operations: ['53-22=31', '2+1=3']
Exploring Operation: 31+3=34, Resulting Numbers: [34]
34,13 unequal: No Solution
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[53, 1, 11], Operations: ['22/2=11']
Exploring Operation: 53-1=52, Resulting Numbers: [11, 52]
Generated Node #0,1,0: 13:[11, 52] Operation: 53-1=52
Exploring Operation: 53-11=42, Resulting Numbers: [1, 42]
Generated Node #0,1,1: 13:[1, 42] Operation: 53-11=42
Moving to Node #0,1,0
Current State: 13:[11, 52], Operations: ['22/2=11', '53-1=52']
Exploring Operation: 11+52=63, Resulting Numbers: [63]
63,13 unequal: No Solution
Exploring Operation: 52-11=41, Resulting Numbers: [41]
41,13 unequal: No Solution
Moving to Node #0,1,1
Current State: 13:[1, 42], Operations: ['22/2=11', '53-11=42']
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,13 unequal: No Solution
Exploring Operation: 1*42=42, Resulting Numbers: [42]
42,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
76,
90,
48,
49
] | 69 | [
"76+90=166",
"48+49=97",
"166-97=69"
] | Current State: 69:[76, 90, 48, 49], Operations: []
Exploring Operation: 76+90=166, Resulting Numbers: [48, 49, 166]
Generated Node #2: [48, 49, 166] from Operation: 76+90=166
Current State: 69:[48, 49, 166], Operations: ['76+90=166']
Exploring Operation: 48+49=97, Resulting Numbers: [166, 97]
Generated Node #3: [166, 97] from Operation: 48+49=97
Current State: 69:[166, 97], Operations: ['76+90=166', '48+49=97']
Exploring Operation: 166-97=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[76, 90, 48, 49], Operations: []
Exploring Operation: 76-48=28, Resulting Numbers: [90, 49, 28]
Generated Node #0,0: 69:[90, 49, 28] Operation: 76-48=28
Exploring Operation: 49-48=1, Resulting Numbers: [76, 90, 1]
Generated Node #0,1: 69:[76, 90, 1] Operation: 49-48=1
Moving to Node #0,1
Current State: 69:[76, 90, 1], Operations: ['49-48=1']
Exploring Operation: 76-1=75, Resulting Numbers: [90, 75]
Generated Node #0,1,0: 69:[90, 75] Operation: 76-1=75
Exploring Operation: 90-76=14, Resulting Numbers: [1, 14]
Generated Node #0,1,1: 69:[1, 14] Operation: 90-76=14
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 69:[1, 14], Operations: ['49-48=1', '90-76=14']
Exploring Operation: 1*14=14, Resulting Numbers: [14]
14,69 unequal: No Solution
Exploring Operation: 1+14=15, Resulting Numbers: [15]
15,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 69:[90, 75], Operations: ['49-48=1', '76-1=75']
Exploring Operation: 90+75=165, Resulting Numbers: [165]
165,69 unequal: No Solution
Exploring Operation: 90-75=15, Resulting Numbers: [15]
15,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 69:[90, 49, 28], Operations: ['76-48=28']
Exploring Operation: 49-28=21, Resulting Numbers: [90, 21]
Generated Node #0,0,0: 69:[90, 21] Operation: 49-28=21
Exploring Operation: 90-49=41, Resulting Numbers: [28, 41]
Generated Node #0,0,1: 69:[28, 41] Operation: 90-49=41
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 69:[90, 21], Operations: ['76-48=28', '49-28=21']
Exploring Operation: 90+21=111, Resulting Numbers: [111]
111,69 unequal: No Solution
Exploring Operation: 90-21=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[76, 90, 48, 49], Operations: []
Exploring Operation: 76-48=28, Resulting Numbers: [90, 49, 28]
Generated Node #0,0: 69:[90, 49, 28] Operation: 76-48=28
Moving to Node #0,0
Current State: 69:[90, 49, 28], Operations: ['76-48=28']
Exploring Operation: 49-28=21, Resulting Numbers: [90, 21]
Generated Node #0,0,0: 69:[90, 21] Operation: 49-28=21
Moving to Node #0,0,0
Current State: 69:[90, 21], Operations: ['76-48=28', '49-28=21']
Exploring Operation: 90-21=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
43,
61,
90,
99
] | 94 | [
"61-43=18",
"90/18=5",
"99-5=94"
] | Current State: 94:[43, 61, 90, 99], Operations: []
Exploring Operation: 61-43=18, Resulting Numbers: [90, 99, 18]
Generated Node #2: [90, 99, 18] from Operation: 61-43=18
Current State: 94:[90, 99, 18], Operations: ['61-43=18']
Exploring Operation: 90/18=5, Resulting Numbers: [99, 5]
Generated Node #3: [99, 5] from Operation: 90/18=5
Current State: 94:[99, 5], Operations: ['61-43=18', '90/18=5']
Exploring Operation: 99-5=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[43, 61, 90, 99], Operations: []
Exploring Operation: 90-43=47, Resulting Numbers: [61, 99, 47]
Generated Node #0,0: 94:[61, 99, 47] Operation: 90-43=47
Exploring Operation: 43+61=104, Resulting Numbers: [90, 99, 104]
Generated Node #0,1: 94:[90, 99, 104] Operation: 43+61=104
Exploring Operation: 61-43=18, Resulting Numbers: [90, 99, 18]
Generated Node #0,2: 94:[90, 99, 18] Operation: 61-43=18
Exploring Operation: 99-61=38, Resulting Numbers: [43, 90, 38]
Generated Node #0,3: 94:[43, 90, 38] Operation: 99-61=38
Moving to Node #0,3
Current State: 94:[43, 90, 38], Operations: ['99-61=38']
Exploring Operation: 43+38=81, Resulting Numbers: [90, 81]
Generated Node #0,3,0: 94:[90, 81] Operation: 43+38=81
Exploring Operation: 90-38=52, Resulting Numbers: [43, 52]
Generated Node #0,3,1: 94:[43, 52] Operation: 90-38=52
Exploring Operation: 43-38=5, Resulting Numbers: [90, 5]
Generated Node #0,3,2: 94:[90, 5] Operation: 43-38=5
Exploring Operation: 90-43=47, Resulting Numbers: [38, 47]
Generated Node #0,3,3: 94:[38, 47] Operation: 90-43=47
Moving to Node #0,1
Current State: 94:[90, 99, 104], Operations: ['43+61=104']
Exploring Operation: 99-90=9, Resulting Numbers: [104, 9]
Generated Node #0,1,0: 94:[104, 9] Operation: 99-90=9
Exploring Operation: 90+99=189, Resulting Numbers: [104, 189]
Generated Node #0,1,1: 94:[104, 189] Operation: 90+99=189
Exploring Operation: 104-90=14, Resulting Numbers: [99, 14]
Generated Node #0,1,2: 94:[99, 14] Operation: 104-90=14
Exploring Operation: 104-99=5, Resulting Numbers: [90, 5]
Generated Node #0,1,3: 94:[90, 5] Operation: 104-99=5
Moving to Node #0,0
Current State: 94:[61, 99, 47], Operations: ['90-43=47']
Exploring Operation: 61+47=108, Resulting Numbers: [99, 108]
Generated Node #0,0,0: 94:[99, 108] Operation: 61+47=108
Exploring Operation: 61-47=14, Resulting Numbers: [99, 14]
Generated Node #0,0,1: 94:[99, 14] Operation: 61-47=14
Exploring Operation: 99-61=38, Resulting Numbers: [47, 38]
Generated Node #0,0,2: 94:[47, 38] Operation: 99-61=38
Exploring Operation: 99-47=52, Resulting Numbers: [61, 52]
Generated Node #0,0,3: 94:[61, 52] Operation: 99-47=52
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 94:[47, 38], Operations: ['90-43=47', '99-61=38']
Exploring Operation: 47-38=9, Resulting Numbers: [9]
9,94 unequal: No Solution
Exploring Operation: 47+38=85, Resulting Numbers: [85]
85,94 unequal: No Solution
Exploring Operation: 47*38=1786, Resulting Numbers: [1786]
1786,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 94:[99, 14], Operations: ['90-43=47', '61-47=14']
Exploring Operation: 99-14=85, Resulting Numbers: [85]
85,94 unequal: No Solution
Exploring Operation: 99*14=1386, Resulting Numbers: [1386]
1386,94 unequal: No Solution
Exploring Operation: 99+14=113, Resulting Numbers: [113]
113,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 94:[99, 108], Operations: ['90-43=47', '61+47=108']
Exploring Operation: 99+108=207, Resulting Numbers: [207]
207,94 unequal: No Solution
Exploring Operation: 108-99=9, Resulting Numbers: [9]
9,94 unequal: No Solution
Exploring Operation: 99*108=10692, Resulting Numbers: [10692]
10692,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 94:[61, 52], Operations: ['90-43=47', '99-47=52']
Exploring Operation: 61+52=113, Resulting Numbers: [113]
113,94 unequal: No Solution
Exploring Operation: 61*52=3172, Resulting Numbers: [3172]
3172,94 unequal: No Solution
Exploring Operation: 61-52=9, Resulting Numbers: [9]
9,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 94:[90, 99, 18], Operations: ['61-43=18']
Exploring Operation: 90/18=5, Resulting Numbers: [99, 5]
Generated Node #0,2,0: 94:[99, 5] Operation: 90/18=5
Exploring Operation: 99-90=9, Resulting Numbers: [18, 9]
Generated Node #0,2,1: 94:[18, 9] Operation: 99-90=9
Exploring Operation: 90+18=108, Resulting Numbers: [99, 108]
Generated Node #0,2,2: 94:[99, 108] Operation: 90+18=108
Exploring Operation: 99-18=81, Resulting Numbers: [90, 81]
Generated Node #0,2,3: 94:[90, 81] Operation: 99-18=81
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 94:[99, 5], Operations: ['61-43=18', '90/18=5']
Exploring Operation: 99+5=104, Resulting Numbers: [104]
104,94 unequal: No Solution
Exploring Operation: 99-5=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[43, 61, 90, 99], Operations: []
Exploring Operation: 61-43=18, Resulting Numbers: [90, 99, 18]
Generated Node #0,2: 94:[90, 99, 18] Operation: 61-43=18
Moving to Node #0,2
Current State: 94:[90, 99, 18], Operations: ['61-43=18']
Exploring Operation: 90/18=5, Resulting Numbers: [99, 5]
Generated Node #0,2,0: 94:[99, 5] Operation: 90/18=5
Moving to Node #0,2,0
Current State: 94:[99, 5], Operations: ['61-43=18', '90/18=5']
Exploring Operation: 99-5=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_4 | mult_heuristic |
[
6,
7,
25,
93
] | 90 | [
"25-7=18",
"18/6=3",
"93-3=90"
] | Current State: 90:[6, 7, 25, 93], Operations: []
Exploring Operation: 25-7=18, Resulting Numbers: [6, 93, 18]
Generated Node #2: [6, 93, 18] from Operation: 25-7=18
Current State: 90:[6, 93, 18], Operations: ['25-7=18']
Exploring Operation: 18/6=3, Resulting Numbers: [93, 3]
Generated Node #3: [93, 3] from Operation: 18/6=3
Current State: 90:[93, 3], Operations: ['25-7=18', '18/6=3']
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[6, 7, 25, 93], Operations: []
Exploring Operation: 25-7=18, Resulting Numbers: [6, 93, 18]
Generated Node #0,0: 90:[6, 93, 18] Operation: 25-7=18
Exploring Operation: 6+25=31, Resulting Numbers: [7, 93, 31]
Generated Node #0,1: 90:[7, 93, 31] Operation: 6+25=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[6, 93, 18], Operations: ['25-7=18']
Exploring Operation: 93-6=87, Resulting Numbers: [18, 87]
Generated Node #0,0,0: 90:[18, 87] Operation: 93-6=87
Exploring Operation: 18/6=3, Resulting Numbers: [93, 3]
Generated Node #0,0,1: 90:[93, 3] Operation: 18/6=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 90:[18, 87], Operations: ['25-7=18', '93-6=87']
Exploring Operation: 87-18=69, Resulting Numbers: [69]
69,90 unequal: No Solution
Exploring Operation: 18+87=105, Resulting Numbers: [105]
105,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 90:[93, 3], Operations: ['25-7=18', '18/6=3']
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[6, 7, 25, 93], Operations: []
Exploring Operation: 25-7=18, Resulting Numbers: [6, 93, 18]
Generated Node #0,0: 90:[6, 93, 18] Operation: 25-7=18
Moving to Node #0,0
Current State: 90:[6, 93, 18], Operations: ['25-7=18']
Exploring Operation: 18/6=3, Resulting Numbers: [93, 3]
Generated Node #0,0,1: 90:[93, 3] Operation: 18/6=3
Moving to Node #0,0,1
Current State: 90:[93, 3], Operations: ['25-7=18', '18/6=3']
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
29,
88,
77,
88
] | 77 | [
"88-88=0",
"29*0=0",
"77+0=77"
] | Current State: 77:[29, 88, 77, 88], Operations: []
Exploring Operation: 88-88=0, Resulting Numbers: [29, 77, 0]
Generated Node #2: [29, 77, 0] from Operation: 88-88=0
Current State: 77:[29, 77, 0], Operations: ['88-88=0']
Exploring Operation: 29*0=0, Resulting Numbers: [77, 0]
Generated Node #3: [77, 0] from Operation: 29*0=0
Current State: 77:[77, 0], Operations: ['88-88=0', '29*0=0']
Exploring Operation: 77+0=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[29, 88, 77, 88], Operations: []
Exploring Operation: 88-88=0, Resulting Numbers: [29, 77, 0]
Generated Node #0,0: 77:[29, 77, 0] Operation: 88-88=0
Exploring Operation: 88/88=1, Resulting Numbers: [29, 77, 1]
Generated Node #0,1: 77:[29, 77, 1] Operation: 88/88=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[29, 77, 1], Operations: ['88/88=1']
Exploring Operation: 29-1=28, Resulting Numbers: [77, 28]
Generated Node #0,1,0: 77:[77, 28] Operation: 29-1=28
Exploring Operation: 29*1=29, Resulting Numbers: [77, 29]
Generated Node #0,1,1: 77:[77, 29] Operation: 29*1=29
Moving to Node #0,1,0
Current State: 77:[77, 28], Operations: ['88/88=1', '29-1=28']
Exploring Operation: 77+28=105, Resulting Numbers: [105]
105,77 unequal: No Solution
Exploring Operation: 77-28=49, Resulting Numbers: [49]
49,77 unequal: No Solution
Moving to Node #0,1,1
Current State: 77:[77, 29], Operations: ['88/88=1', '29*1=29']
Exploring Operation: 77-29=48, Resulting Numbers: [48]
48,77 unequal: No Solution
Exploring Operation: 77+29=106, Resulting Numbers: [106]
106,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[29, 77, 0], Operations: ['88-88=0']
Exploring Operation: 29*0=0, Resulting Numbers: [77, 0]
Generated Node #0,0,0: 77:[77, 0] Operation: 29*0=0
Exploring Operation: 29+0=29, Resulting Numbers: [77, 29]
Generated Node #0,0,1: 77:[77, 29] Operation: 29+0=29
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 77:[77, 0], Operations: ['88-88=0', '29*0=0']
Exploring Operation: 77+0=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[29, 88, 77, 88], Operations: []
Exploring Operation: 88-88=0, Resulting Numbers: [29, 77, 0]
Generated Node #0,0: 77:[29, 77, 0] Operation: 88-88=0
Moving to Node #0,0
Current State: 77:[29, 77, 0], Operations: ['88-88=0']
Exploring Operation: 29*0=0, Resulting Numbers: [77, 0]
Generated Node #0,0,0: 77:[77, 0] Operation: 29*0=0
Moving to Node #0,0,0
Current State: 77:[77, 0], Operations: ['88-88=0', '29*0=0']
Exploring Operation: 77+0=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
38,
91,
34,
41
] | 19 | [
"41-38=3",
"91-34=57",
"57/3=19"
] | Current State: 19:[38, 91, 34, 41], Operations: []
Exploring Operation: 41-38=3, Resulting Numbers: [91, 34, 3]
Generated Node #2: [91, 34, 3] from Operation: 41-38=3
Current State: 19:[91, 34, 3], Operations: ['41-38=3']
Exploring Operation: 91-34=57, Resulting Numbers: [3, 57]
Generated Node #3: [3, 57] from Operation: 91-34=57
Current State: 19:[3, 57], Operations: ['41-38=3', '91-34=57']
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[38, 91, 34, 41], Operations: []
Exploring Operation: 91-34=57, Resulting Numbers: [38, 41, 57]
Generated Node #0,0: 19:[38, 41, 57] Operation: 91-34=57
Exploring Operation: 91-38=53, Resulting Numbers: [34, 41, 53]
Generated Node #0,1: 19:[34, 41, 53] Operation: 91-38=53
Exploring Operation: 41-34=7, Resulting Numbers: [38, 91, 7]
Generated Node #0,2: 19:[38, 91, 7] Operation: 41-34=7
Exploring Operation: 91-41=50, Resulting Numbers: [38, 34, 50]
Generated Node #0,3: 19:[38, 34, 50] Operation: 91-41=50
Exploring Operation: 41-38=3, Resulting Numbers: [91, 34, 3]
Generated Node #0,4: 19:[91, 34, 3] Operation: 41-38=3
Moving to Node #0,3
Current State: 19:[38, 34, 50], Operations: ['91-41=50']
Exploring Operation: 38+50=88, Resulting Numbers: [34, 88]
Generated Node #0,3,0: 19:[34, 88] Operation: 38+50=88
Exploring Operation: 50-34=16, Resulting Numbers: [38, 16]
Generated Node #0,3,1: 19:[38, 16] Operation: 50-34=16
Exploring Operation: 50-38=12, Resulting Numbers: [34, 12]
Generated Node #0,3,2: 19:[34, 12] Operation: 50-38=12
Exploring Operation: 38-34=4, Resulting Numbers: [50, 4]
Generated Node #0,3,3: 19:[50, 4] Operation: 38-34=4
Exploring Operation: 38+34=72, Resulting Numbers: [50, 72]
Generated Node #0,3,4: 19:[50, 72] Operation: 38+34=72
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 19:[38, 16], Operations: ['91-41=50', '50-34=16']
Exploring Operation: 38-16=22, Resulting Numbers: [22]
22,19 unequal: No Solution
Exploring Operation: 38*16=608, Resulting Numbers: [608]
608,19 unequal: No Solution
Exploring Operation: 38+16=54, Resulting Numbers: [54]
54,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 19:[34, 12], Operations: ['91-41=50', '50-38=12']
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,19 unequal: No Solution
Exploring Operation: 34+12=46, Resulting Numbers: [46]
46,19 unequal: No Solution
Exploring Operation: 34*12=408, Resulting Numbers: [408]
408,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 19:[50, 4], Operations: ['91-41=50', '38-34=4']
Exploring Operation: 50+4=54, Resulting Numbers: [54]
54,19 unequal: No Solution
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,19 unequal: No Solution
Exploring Operation: 50*4=200, Resulting Numbers: [200]
200,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 19:[34, 88], Operations: ['91-41=50', '38+50=88']
Exploring Operation: 88-34=54, Resulting Numbers: [54]
54,19 unequal: No Solution
Exploring Operation: 34+88=122, Resulting Numbers: [122]
122,19 unequal: No Solution
Exploring Operation: 34*88=2992, Resulting Numbers: [2992]
2992,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 19:[50, 72], Operations: ['91-41=50', '38+34=72']
Exploring Operation: 72-50=22, Resulting Numbers: [22]
22,19 unequal: No Solution
Exploring Operation: 50+72=122, Resulting Numbers: [122]
122,19 unequal: No Solution
Exploring Operation: 50*72=3600, Resulting Numbers: [3600]
3600,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 19:[34, 41, 53], Operations: ['91-38=53']
Exploring Operation: 34+53=87, Resulting Numbers: [41, 87]
Generated Node #0,1,0: 19:[41, 87] Operation: 34+53=87
Exploring Operation: 41-34=7, Resulting Numbers: [53, 7]
Generated Node #0,1,1: 19:[53, 7] Operation: 41-34=7
Exploring Operation: 53-41=12, Resulting Numbers: [34, 12]
Generated Node #0,1,2: 19:[34, 12] Operation: 53-41=12
Exploring Operation: 34+41=75, Resulting Numbers: [53, 75]
Generated Node #0,1,3: 19:[53, 75] Operation: 34+41=75
Exploring Operation: 53-34=19, Resulting Numbers: [41, 19]
Generated Node #0,1,4: 19:[41, 19] Operation: 53-34=19
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 19:[34, 12], Operations: ['91-38=53', '53-41=12']
Exploring Operation: 34*12=408, Resulting Numbers: [408]
408,19 unequal: No Solution
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,19 unequal: No Solution
Exploring Operation: 34+12=46, Resulting Numbers: [46]
46,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 19:[41, 19], Operations: ['91-38=53', '53-34=19']
Exploring Operation: 41-19=22, Resulting Numbers: [22]
22,19 unequal: No Solution
Exploring Operation: 41+19=60, Resulting Numbers: [60]
60,19 unequal: No Solution
Exploring Operation: 41*19=779, Resulting Numbers: [779]
779,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 19:[53, 7], Operations: ['91-38=53', '41-34=7']
Exploring Operation: 53+7=60, Resulting Numbers: [60]
60,19 unequal: No Solution
Exploring Operation: 53-7=46, Resulting Numbers: [46]
46,19 unequal: No Solution
Exploring Operation: 53*7=371, Resulting Numbers: [371]
371,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 19:[41, 87], Operations: ['91-38=53', '34+53=87']
Exploring Operation: 41*87=3567, Resulting Numbers: [3567]
3567,19 unequal: No Solution
Exploring Operation: 41+87=128, Resulting Numbers: [128]
128,19 unequal: No Solution
Exploring Operation: 87-41=46, Resulting Numbers: [46]
46,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 19:[53, 75], Operations: ['91-38=53', '34+41=75']
Exploring Operation: 75-53=22, Resulting Numbers: [22]
22,19 unequal: No Solution
Exploring Operation: 53*75=3975, Resulting Numbers: [3975]
3975,19 unequal: No Solution
Exploring Operation: 53+75=128, Resulting Numbers: [128]
128,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 19:[38, 41, 57], Operations: ['91-34=57']
Exploring Operation: 41-38=3, Resulting Numbers: [57, 3]
Generated Node #0,0,0: 19:[57, 3] Operation: 41-38=3
Exploring Operation: 38+41=79, Resulting Numbers: [57, 79]
Generated Node #0,0,1: 19:[57, 79] Operation: 38+41=79
Exploring Operation: 38+57=95, Resulting Numbers: [41, 95]
Generated Node #0,0,2: 19:[41, 95] Operation: 38+57=95
Exploring Operation: 57-41=16, Resulting Numbers: [38, 16]
Generated Node #0,0,3: 19:[38, 16] Operation: 57-41=16
Exploring Operation: 57-38=19, Resulting Numbers: [41, 19]
Generated Node #0,0,4: 19:[41, 19] Operation: 57-38=19
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 19:[38, 16], Operations: ['91-34=57', '57-41=16']
Exploring Operation: 38*16=608, Resulting Numbers: [608]
608,19 unequal: No Solution
Exploring Operation: 38+16=54, Resulting Numbers: [54]
54,19 unequal: No Solution
Exploring Operation: 38-16=22, Resulting Numbers: [22]
22,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 19:[41, 19], Operations: ['91-34=57', '57-38=19']
Exploring Operation: 41*19=779, Resulting Numbers: [779]
779,19 unequal: No Solution
Exploring Operation: 41+19=60, Resulting Numbers: [60]
60,19 unequal: No Solution
Exploring Operation: 41-19=22, Resulting Numbers: [22]
22,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[57, 3], Operations: ['91-34=57', '41-38=3']
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[38, 91, 34, 41], Operations: []
Exploring Operation: 91-34=57, Resulting Numbers: [38, 41, 57]
Generated Node #0,0: 19:[38, 41, 57] Operation: 91-34=57
Moving to Node #0,0
Current State: 19:[38, 41, 57], Operations: ['91-34=57']
Exploring Operation: 41-38=3, Resulting Numbers: [57, 3]
Generated Node #0,0,0: 19:[57, 3] Operation: 41-38=3
Moving to Node #0,0,0
Current State: 19:[57, 3], Operations: ['91-34=57', '41-38=3']
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.947049 | hs_5 | sum_heuristic |
[
76,
78,
87,
43
] | 11 | [
"87-76=11",
"78+43=121",
"121/11=11"
] | Current State: 11:[76, 78, 87, 43], Operations: []
Exploring Operation: 87-76=11, Resulting Numbers: [78, 43, 11]
Generated Node #2: [78, 43, 11] from Operation: 87-76=11
Current State: 11:[78, 43, 11], Operations: ['87-76=11']
Exploring Operation: 78+43=121, Resulting Numbers: [11, 121]
Generated Node #3: [11, 121] from Operation: 78+43=121
Current State: 11:[11, 121], Operations: ['87-76=11', '78+43=121']
Exploring Operation: 121/11=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[76, 78, 87, 43], Operations: []
Exploring Operation: 87-78=9, Resulting Numbers: [76, 43, 9]
Generated Node #0,0: 11:[76, 43, 9] Operation: 87-78=9
Exploring Operation: 87-76=11, Resulting Numbers: [78, 43, 11]
Generated Node #0,1: 11:[78, 43, 11] Operation: 87-76=11
Moving to Node #0,0
Current State: 11:[76, 43, 9], Operations: ['87-78=9']
Exploring Operation: 76-9=67, Resulting Numbers: [43, 67]
Generated Node #0,0,0: 11:[43, 67] Operation: 76-9=67
Exploring Operation: 76-43=33, Resulting Numbers: [9, 33]
Generated Node #0,0,1: 11:[9, 33] Operation: 76-43=33
Moving to Node #0,1
Current State: 11:[78, 43, 11], Operations: ['87-76=11']
Exploring Operation: 78-11=67, Resulting Numbers: [43, 67]
Generated Node #0,1,0: 11:[43, 67] Operation: 78-11=67
Exploring Operation: 78-43=35, Resulting Numbers: [11, 35]
Generated Node #0,1,1: 11:[11, 35] Operation: 78-43=35
Moving to Node #0,0,1
Current State: 11:[9, 33], Operations: ['87-78=9', '76-43=33']
Exploring Operation: 33-9=24, Resulting Numbers: [24]
24,11 unequal: No Solution
Exploring Operation: 9+33=42, Resulting Numbers: [42]
42,11 unequal: No Solution
Moving to Node #0,1,1
Current State: 11:[11, 35], Operations: ['87-76=11', '78-43=35']
Exploring Operation: 35-11=24, Resulting Numbers: [24]
24,11 unequal: No Solution
Exploring Operation: 11+35=46, Resulting Numbers: [46]
46,11 unequal: No Solution
Moving to Node #0,0,0
Current State: 11:[43, 67], Operations: ['87-78=9', '76-9=67']
Exploring Operation: 67-43=24, Resulting Numbers: [24]
24,11 unequal: No Solution
Exploring Operation: 43+67=110, Resulting Numbers: [110]
110,11 unequal: No Solution
Moving to Node #0,1,0
Current State: 11:[43, 67], Operations: ['87-76=11', '78-11=67']
Exploring Operation: 43+67=110, Resulting Numbers: [110]
110,11 unequal: No Solution
Exploring Operation: 67-43=24, Resulting Numbers: [24]
24,11 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
62,
6,
98,
52
] | 96 | [
"98-62=36",
"52-36=16",
"6*16=96"
] | Current State: 96:[62, 6, 98, 52], Operations: []
Exploring Operation: 98-62=36, Resulting Numbers: [6, 52, 36]
Generated Node #2: [6, 52, 36] from Operation: 98-62=36
Current State: 96:[6, 52, 36], Operations: ['98-62=36']
Exploring Operation: 52-36=16, Resulting Numbers: [6, 16]
Generated Node #3: [6, 16] from Operation: 52-36=16
Current State: 96:[6, 16], Operations: ['98-62=36', '52-36=16']
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[62, 6, 98, 52], Operations: []
Exploring Operation: 98-62=36, Resulting Numbers: [6, 52, 36]
Generated Node #0,0: 96:[6, 52, 36] Operation: 98-62=36
Exploring Operation: 62-52=10, Resulting Numbers: [6, 98, 10]
Generated Node #0,1: 96:[6, 98, 10] Operation: 62-52=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[6, 98, 10], Operations: ['62-52=10']
Exploring Operation: 6+10=16, Resulting Numbers: [98, 16]
Generated Node #0,1,0: 96:[98, 16] Operation: 6+10=16
Exploring Operation: 10-6=4, Resulting Numbers: [98, 4]
Generated Node #0,1,1: 96:[98, 4] Operation: 10-6=4
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 96:[98, 16], Operations: ['62-52=10', '6+10=16']
Exploring Operation: 98+16=114, Resulting Numbers: [114]
114,96 unequal: No Solution
Exploring Operation: 98-16=82, Resulting Numbers: [82]
82,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 96:[98, 4], Operations: ['62-52=10', '10-6=4']
Exploring Operation: 98-4=94, Resulting Numbers: [94]
94,96 unequal: No Solution
Exploring Operation: 98+4=102, Resulting Numbers: [102]
102,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[6, 52, 36], Operations: ['98-62=36']
Exploring Operation: 36/6=6, Resulting Numbers: [52, 6]
Generated Node #0,0,0: 96:[52, 6] Operation: 36/6=6
Exploring Operation: 52-36=16, Resulting Numbers: [6, 16]
Generated Node #0,0,1: 96:[6, 16] Operation: 52-36=16
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 96:[6, 16], Operations: ['98-62=36', '52-36=16']
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[62, 6, 98, 52], Operations: []
Exploring Operation: 98-62=36, Resulting Numbers: [6, 52, 36]
Generated Node #0,0: 96:[6, 52, 36] Operation: 98-62=36
Moving to Node #0,0
Current State: 96:[6, 52, 36], Operations: ['98-62=36']
Exploring Operation: 52-36=16, Resulting Numbers: [6, 16]
Generated Node #0,0,1: 96:[6, 16] Operation: 52-36=16
Moving to Node #0,0,1
Current State: 96:[6, 16], Operations: ['98-62=36', '52-36=16']
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
50,
21,
35,
86
] | 56 | [
"50*21=1050",
"1050/35=30",
"86-30=56"
] | Current State: 56:[50, 21, 35, 86], Operations: []
Exploring Operation: 50*21=1050, Resulting Numbers: [35, 86, 1050]
Generated Node #2: [35, 86, 1050] from Operation: 50*21=1050
Current State: 56:[35, 86, 1050], Operations: ['50*21=1050']
Exploring Operation: 1050/35=30, Resulting Numbers: [86, 30]
Generated Node #3: [86, 30] from Operation: 1050/35=30
Current State: 56:[86, 30], Operations: ['50*21=1050', '1050/35=30']
Exploring Operation: 86-30=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[50, 21, 35, 86], Operations: []
Exploring Operation: 35-21=14, Resulting Numbers: [50, 86, 14]
Generated Node #0,0: 56:[50, 86, 14] Operation: 35-21=14
Exploring Operation: 86-50=36, Resulting Numbers: [21, 35, 36]
Generated Node #0,1: 56:[21, 35, 36] Operation: 86-50=36
Exploring Operation: 86-21=65, Resulting Numbers: [50, 35, 65]
Generated Node #0,2: 56:[50, 35, 65] Operation: 86-21=65
Exploring Operation: 86-35=51, Resulting Numbers: [50, 21, 51]
Generated Node #0,3: 56:[50, 21, 51] Operation: 86-35=51
Exploring Operation: 21+35=56, Resulting Numbers: [50, 86, 56]
Generated Node #0,4: 56:[50, 86, 56] Operation: 21+35=56
Moving to Node #0,3
Current State: 56:[50, 21, 51], Operations: ['86-35=51']
Exploring Operation: 21+51=72, Resulting Numbers: [50, 72]
Generated Node #0,3,0: 56:[50, 72] Operation: 21+51=72
Exploring Operation: 51-50=1, Resulting Numbers: [21, 1]
Generated Node #0,3,1: 56:[21, 1] Operation: 51-50=1
Exploring Operation: 51-21=30, Resulting Numbers: [50, 30]
Generated Node #0,3,2: 56:[50, 30] Operation: 51-21=30
Exploring Operation: 50+21=71, Resulting Numbers: [51, 71]
Generated Node #0,3,3: 56:[51, 71] Operation: 50+21=71
Exploring Operation: 50-21=29, Resulting Numbers: [51, 29]
Generated Node #0,3,4: 56:[51, 29] Operation: 50-21=29
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 56:[51, 29], Operations: ['86-35=51', '50-21=29']
Exploring Operation: 51-29=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Exploring Operation: 51+29=80, Resulting Numbers: [80]
80,56 unequal: No Solution
Exploring Operation: 51*29=1479, Resulting Numbers: [1479]
1479,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 56:[21, 1], Operations: ['86-35=51', '51-50=1']
Exploring Operation: 21*1=21, Resulting Numbers: [21]
21,56 unequal: No Solution
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,56 unequal: No Solution
Exploring Operation: 21/1=21, Resulting Numbers: [21]
21,56 unequal: No Solution
Exploring Operation: 21+1=22, Resulting Numbers: [22]
22,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 56:[50, 30], Operations: ['86-35=51', '51-21=30']
Exploring Operation: 50-30=20, Resulting Numbers: [20]
20,56 unequal: No Solution
Exploring Operation: 50*30=1500, Resulting Numbers: [1500]
1500,56 unequal: No Solution
Exploring Operation: 50+30=80, Resulting Numbers: [80]
80,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 56:[51, 71], Operations: ['86-35=51', '50+21=71']
Exploring Operation: 71-51=20, Resulting Numbers: [20]
20,56 unequal: No Solution
Exploring Operation: 51+71=122, Resulting Numbers: [122]
122,56 unequal: No Solution
Exploring Operation: 51*71=3621, Resulting Numbers: [3621]
3621,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 56:[50, 72], Operations: ['86-35=51', '21+51=72']
Exploring Operation: 72-50=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Exploring Operation: 50*72=3600, Resulting Numbers: [3600]
3600,56 unequal: No Solution
Exploring Operation: 50+72=122, Resulting Numbers: [122]
122,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 56:[50, 35, 65], Operations: ['86-21=65']
Exploring Operation: 50-35=15, Resulting Numbers: [65, 15]
Generated Node #0,2,0: 56:[65, 15] Operation: 50-35=15
Exploring Operation: 35+65=100, Resulting Numbers: [50, 100]
Generated Node #0,2,1: 56:[50, 100] Operation: 35+65=100
Exploring Operation: 65-35=30, Resulting Numbers: [50, 30]
Generated Node #0,2,2: 56:[50, 30] Operation: 65-35=30
Exploring Operation: 65-50=15, Resulting Numbers: [35, 15]
Generated Node #0,2,3: 56:[35, 15] Operation: 65-50=15
Exploring Operation: 50+35=85, Resulting Numbers: [65, 85]
Generated Node #0,2,4: 56:[65, 85] Operation: 50+35=85
Moving to Node #0,1
Current State: 56:[21, 35, 36], Operations: ['86-50=36']
Exploring Operation: 21+36=57, Resulting Numbers: [35, 57]
Generated Node #0,1,0: 56:[35, 57] Operation: 21+36=57
Exploring Operation: 36-21=15, Resulting Numbers: [35, 15]
Generated Node #0,1,1: 56:[35, 15] Operation: 36-21=15
Exploring Operation: 35-21=14, Resulting Numbers: [36, 14]
Generated Node #0,1,2: 56:[36, 14] Operation: 35-21=14
Exploring Operation: 21+35=56, Resulting Numbers: [36, 56]
Generated Node #0,1,3: 56:[36, 56] Operation: 21+35=56
Exploring Operation: 36-35=1, Resulting Numbers: [21, 1]
Generated Node #0,1,4: 56:[21, 1] Operation: 36-35=1
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 56:[35, 57], Operations: ['86-50=36', '21+36=57']
Exploring Operation: 35*57=1995, Resulting Numbers: [1995]
1995,56 unequal: No Solution
Exploring Operation: 57-35=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Exploring Operation: 35+57=92, Resulting Numbers: [92]
92,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 56:[35, 15], Operations: ['86-50=36', '36-21=15']
Exploring Operation: 35+15=50, Resulting Numbers: [50]
50,56 unequal: No Solution
Exploring Operation: 35*15=525, Resulting Numbers: [525]
525,56 unequal: No Solution
Exploring Operation: 35-15=20, Resulting Numbers: [20]
20,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 56:[36, 14], Operations: ['86-50=36', '35-21=14']
Exploring Operation: 36*14=504, Resulting Numbers: [504]
504,56 unequal: No Solution
Exploring Operation: 36+14=50, Resulting Numbers: [50]
50,56 unequal: No Solution
Exploring Operation: 36-14=22, Resulting Numbers: [22]
22,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 56:[36, 56], Operations: ['86-50=36', '21+35=56']
Exploring Operation: 36*56=2016, Resulting Numbers: [2016]
2016,56 unequal: No Solution
Exploring Operation: 36+56=92, Resulting Numbers: [92]
92,56 unequal: No Solution
Exploring Operation: 56-36=20, Resulting Numbers: [20]
20,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 56:[21, 1], Operations: ['86-50=36', '36-35=1']
Exploring Operation: 21+1=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Exploring Operation: 21/1=21, Resulting Numbers: [21]
21,56 unequal: No Solution
Exploring Operation: 21*1=21, Resulting Numbers: [21]
21,56 unequal: No Solution
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 56:[50, 86, 14], Operations: ['35-21=14']
Exploring Operation: 50-14=36, Resulting Numbers: [86, 36]
Generated Node #0,0,0: 56:[86, 36] Operation: 50-14=36
Exploring Operation: 86+14=100, Resulting Numbers: [50, 100]
Generated Node #0,0,1: 56:[50, 100] Operation: 86+14=100
Exploring Operation: 50+14=64, Resulting Numbers: [86, 64]
Generated Node #0,0,2: 56:[86, 64] Operation: 50+14=64
Exploring Operation: 86-50=36, Resulting Numbers: [14, 36]
Generated Node #0,0,3: 56:[14, 36] Operation: 86-50=36
Exploring Operation: 86-14=72, Resulting Numbers: [50, 72]
Generated Node #0,0,4: 56:[50, 72] Operation: 86-14=72
Moving to Node #0,4
Current State: 56:[50, 86, 56], Operations: ['21+35=56']
Exploring Operation: 50+86=136, Resulting Numbers: [56, 136]
Generated Node #0,4,0: 56:[56, 136] Operation: 50+86=136
Exploring Operation: 56-50=6, Resulting Numbers: [86, 6]
Generated Node #0,4,1: 56:[86, 6] Operation: 56-50=6
Exploring Operation: 86-56=30, Resulting Numbers: [50, 30]
Generated Node #0,4,2: 56:[50, 30] Operation: 86-56=30
Exploring Operation: 86-50=36, Resulting Numbers: [56, 36]
Generated Node #0,4,3: 56:[56, 36] Operation: 86-50=36
Exploring Operation: 50+56=106, Resulting Numbers: [86, 106]
Generated Node #0,4,4: 56:[86, 106] Operation: 50+56=106
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 56:[50, 30], Operations: ['21+35=56', '86-56=30']
Exploring Operation: 50+30=80, Resulting Numbers: [80]
80,56 unequal: No Solution
Exploring Operation: 50-30=20, Resulting Numbers: [20]
20,56 unequal: No Solution
Exploring Operation: 50*30=1500, Resulting Numbers: [1500]
1500,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 56:[56, 36], Operations: ['21+35=56', '86-50=36']
Exploring Operation: 56+36=92, Resulting Numbers: [92]
92,56 unequal: No Solution
Exploring Operation: 56*36=2016, Resulting Numbers: [2016]
2016,56 unequal: No Solution
Exploring Operation: 56-36=20, Resulting Numbers: [20]
20,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 56:[86, 6], Operations: ['21+35=56', '56-50=6']
Exploring Operation: 86+6=92, Resulting Numbers: [92]
92,56 unequal: No Solution
Exploring Operation: 86*6=516, Resulting Numbers: [516]
516,56 unequal: No Solution
Exploring Operation: 86-6=80, Resulting Numbers: [80]
80,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 56:[56, 136], Operations: ['21+35=56', '50+86=136']
Exploring Operation: 56+136=192, Resulting Numbers: [192]
192,56 unequal: No Solution
Exploring Operation: 136-56=80, Resulting Numbers: [80]
80,56 unequal: No Solution
Exploring Operation: 56*136=7616, Resulting Numbers: [7616]
7616,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 56:[86, 106], Operations: ['21+35=56', '50+56=106']
Exploring Operation: 106-86=20, Resulting Numbers: [20]
20,56 unequal: No Solution
Exploring Operation: 86*106=9116, Resulting Numbers: [9116]
9116,56 unequal: No Solution
Exploring Operation: 86+106=192, Resulting Numbers: [192]
192,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 56:[50, 30], Operations: ['86-21=65', '65-35=30']
Exploring Operation: 50-30=20, Resulting Numbers: [20]
20,56 unequal: No Solution
Exploring Operation: 50+30=80, Resulting Numbers: [80]
80,56 unequal: No Solution
Exploring Operation: 50*30=1500, Resulting Numbers: [1500]
1500,56 unequal: No Solution
Moving to Node #0,0,3
Current State: 56:[14, 36], Operations: ['35-21=14', '86-50=36']
Exploring Operation: 14*36=504, Resulting Numbers: [504]
504,56 unequal: No Solution
Exploring Operation: 14+36=50, Resulting Numbers: [50]
50,56 unequal: No Solution
Exploring Operation: 36-14=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Moving to Node #0,2,3
Current State: 56:[35, 15], Operations: ['86-21=65', '65-50=15']
Exploring Operation: 35+15=50, Resulting Numbers: [50]
50,56 unequal: No Solution
Exploring Operation: 35-15=20, Resulting Numbers: [20]
20,56 unequal: No Solution
Exploring Operation: 35*15=525, Resulting Numbers: [525]
525,56 unequal: No Solution
Moving to Node #0,2,0
Current State: 56:[65, 15], Operations: ['86-21=65', '50-35=15']
Exploring Operation: 65-15=50, Resulting Numbers: [50]
50,56 unequal: No Solution
Exploring Operation: 65*15=975, Resulting Numbers: [975]
975,56 unequal: No Solution
Exploring Operation: 65+15=80, Resulting Numbers: [80]
80,56 unequal: No Solution
Moving to Node #0,0,4
Current State: 56:[50, 72], Operations: ['35-21=14', '86-14=72']
Exploring Operation: 50+72=122, Resulting Numbers: [122]
122,56 unequal: No Solution
Exploring Operation: 50*72=3600, Resulting Numbers: [3600]
3600,56 unequal: No Solution
Exploring Operation: 72-50=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Moving to Node #0,0,2
Current State: 56:[86, 64], Operations: ['35-21=14', '50+14=64']
Exploring Operation: 86*64=5504, Resulting Numbers: [5504]
5504,56 unequal: No Solution
Exploring Operation: 86+64=150, Resulting Numbers: [150]
150,56 unequal: No Solution
Exploring Operation: 86-64=22, Resulting Numbers: [22]
22,56 unequal: No Solution
Moving to Node #0,2,4
Current State: 56:[65, 85], Operations: ['86-21=65', '50+35=85']
Exploring Operation: 85-65=20, Resulting Numbers: [20]
20,56 unequal: No Solution
Exploring Operation: 65+85=150, Resulting Numbers: [150]
150,56 unequal: No Solution
Exploring Operation: 65*85=5525, Resulting Numbers: [5525]
5525,56 unequal: No Solution
Moving to Node #0,0,0
Current State: 56:[86, 36], Operations: ['35-21=14', '50-14=36']
Exploring Operation: 86-36=50, Resulting Numbers: [50]
50,56 unequal: No Solution
Exploring Operation: 86+36=122, Resulting Numbers: [122]
122,56 unequal: No Solution
Exploring Operation: 86*36=3096, Resulting Numbers: [3096]
3096,56 unequal: No Solution
Moving to Node #0,2,1
Current State: 56:[50, 100], Operations: ['86-21=65', '35+65=100']
Exploring Operation: 50+100=150, Resulting Numbers: [150]
150,56 unequal: No Solution
Exploring Operation: 50*100=5000, Resulting Numbers: [5000]
5000,56 unequal: No Solution
Exploring Operation: 100/50=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 100-50=50, Resulting Numbers: [50]
50,56 unequal: No Solution
Moving to Node #0,0,1
Current State: 56:[50, 100], Operations: ['35-21=14', '86+14=100']
Exploring Operation: 100-50=50, Resulting Numbers: [50]
50,56 unequal: No Solution
Exploring Operation: 50+100=150, Resulting Numbers: [150]
150,56 unequal: No Solution
Exploring Operation: 100/50=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 50*100=5000, Resulting Numbers: [5000]
5000,56 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
77,
48,
32,
52
] | 51 | [
"52-48=4",
"32*4=128",
"128-77=51"
] | Current State: 51:[77, 48, 32, 52], Operations: []
Exploring Operation: 52-48=4, Resulting Numbers: [77, 32, 4]
Generated Node #2: [77, 32, 4] from Operation: 52-48=4
Current State: 51:[77, 32, 4], Operations: ['52-48=4']
Exploring Operation: 32*4=128, Resulting Numbers: [77, 128]
Generated Node #3: [77, 128] from Operation: 32*4=128
Current State: 51:[77, 128], Operations: ['52-48=4', '32*4=128']
Exploring Operation: 128-77=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[77, 48, 32, 52], Operations: []
Exploring Operation: 77-32=45, Resulting Numbers: [48, 52, 45]
Generated Node #0,0: 51:[48, 52, 45] Operation: 77-32=45
Exploring Operation: 48-32=16, Resulting Numbers: [77, 52, 16]
Generated Node #0,1: 51:[77, 52, 16] Operation: 48-32=16
Exploring Operation: 77-48=29, Resulting Numbers: [32, 52, 29]
Generated Node #0,2: 51:[32, 52, 29] Operation: 77-48=29
Exploring Operation: 77-52=25, Resulting Numbers: [48, 32, 25]
Generated Node #0,3: 51:[48, 32, 25] Operation: 77-52=25
Moving to Node #0,0
Current State: 51:[48, 52, 45], Operations: ['77-32=45']
Exploring Operation: 48+45=93, Resulting Numbers: [52, 93]
Generated Node #0,0,0: 51:[52, 93] Operation: 48+45=93
Exploring Operation: 52-45=7, Resulting Numbers: [48, 7]
Generated Node #0,0,1: 51:[48, 7] Operation: 52-45=7
Exploring Operation: 48-45=3, Resulting Numbers: [52, 3]
Generated Node #0,0,2: 51:[52, 3] Operation: 48-45=3
Exploring Operation: 52-48=4, Resulting Numbers: [45, 4]
Generated Node #0,0,3: 51:[45, 4] Operation: 52-48=4
Moving to Node #0,3
Current State: 51:[48, 32, 25], Operations: ['77-52=25']
Exploring Operation: 32-25=7, Resulting Numbers: [48, 7]
Generated Node #0,3,0: 51:[48, 7] Operation: 32-25=7
Exploring Operation: 48-25=23, Resulting Numbers: [32, 23]
Generated Node #0,3,1: 51:[32, 23] Operation: 48-25=23
Exploring Operation: 32+25=57, Resulting Numbers: [48, 57]
Generated Node #0,3,2: 51:[48, 57] Operation: 32+25=57
Exploring Operation: 48-32=16, Resulting Numbers: [25, 16]
Generated Node #0,3,3: 51:[25, 16] Operation: 48-32=16
Moving to Node #0,2
Current State: 51:[32, 52, 29], Operations: ['77-48=29']
Exploring Operation: 52-32=20, Resulting Numbers: [29, 20]
Generated Node #0,2,0: 51:[29, 20] Operation: 52-32=20
Exploring Operation: 52-29=23, Resulting Numbers: [32, 23]
Generated Node #0,2,1: 51:[32, 23] Operation: 52-29=23
Exploring Operation: 32+29=61, Resulting Numbers: [52, 61]
Generated Node #0,2,2: 51:[52, 61] Operation: 32+29=61
Exploring Operation: 32-29=3, Resulting Numbers: [52, 3]
Generated Node #0,2,3: 51:[52, 3] Operation: 32-29=3
Moving to Node #0,1
Current State: 51:[77, 52, 16], Operations: ['48-32=16']
Exploring Operation: 52-16=36, Resulting Numbers: [77, 36]
Generated Node #0,1,0: 51:[77, 36] Operation: 52-16=36
Exploring Operation: 77+16=93, Resulting Numbers: [52, 93]
Generated Node #0,1,1: 51:[52, 93] Operation: 77+16=93
Exploring Operation: 77-16=61, Resulting Numbers: [52, 61]
Generated Node #0,1,2: 51:[52, 61] Operation: 77-16=61
Exploring Operation: 77-52=25, Resulting Numbers: [16, 25]
Generated Node #0,1,3: 51:[16, 25] Operation: 77-52=25
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 51:[16, 25], Operations: ['48-32=16', '77-52=25']
Exploring Operation: 16+25=41, Resulting Numbers: [41]
41,51 unequal: No Solution
Exploring Operation: 16*25=400, Resulting Numbers: [400]
400,51 unequal: No Solution
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 51:[52, 61], Operations: ['48-32=16', '77-16=61']
Exploring Operation: 52+61=113, Resulting Numbers: [113]
113,51 unequal: No Solution
Exploring Operation: 52*61=3172, Resulting Numbers: [3172]
3172,51 unequal: No Solution
Exploring Operation: 61-52=9, Resulting Numbers: [9]
9,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 51:[77, 36], Operations: ['48-32=16', '52-16=36']
Exploring Operation: 77+36=113, Resulting Numbers: [113]
113,51 unequal: No Solution
Exploring Operation: 77-36=41, Resulting Numbers: [41]
41,51 unequal: No Solution
Exploring Operation: 77*36=2772, Resulting Numbers: [2772]
2772,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 51:[52, 93], Operations: ['48-32=16', '77+16=93']
Exploring Operation: 93-52=41, Resulting Numbers: [41]
41,51 unequal: No Solution
Exploring Operation: 52+93=145, Resulting Numbers: [145]
145,51 unequal: No Solution
Exploring Operation: 52*93=4836, Resulting Numbers: [4836]
4836,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 51:[52, 3], Operations: ['77-32=45', '48-45=3']
Exploring Operation: 52+3=55, Resulting Numbers: [55]
55,51 unequal: No Solution
Exploring Operation: 52*3=156, Resulting Numbers: [156]
156,51 unequal: No Solution
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,51 unequal: No Solution
Moving to Node #0,2,3
Current State: 51:[52, 3], Operations: ['77-48=29', '32-29=3']
Exploring Operation: 52*3=156, Resulting Numbers: [156]
156,51 unequal: No Solution
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,51 unequal: No Solution
Exploring Operation: 52+3=55, Resulting Numbers: [55]
55,51 unequal: No Solution
Moving to Node #0,0,3
Current State: 51:[45, 4], Operations: ['77-32=45', '52-48=4']
Exploring Operation: 45*4=180, Resulting Numbers: [180]
180,51 unequal: No Solution
Exploring Operation: 45+4=49, Resulting Numbers: [49]
49,51 unequal: No Solution
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,51 unequal: No Solution
Moving to Node #0,3,0
Current State: 51:[48, 7], Operations: ['77-52=25', '32-25=7']
Exploring Operation: 48-7=41, Resulting Numbers: [41]
41,51 unequal: No Solution
Exploring Operation: 48+7=55, Resulting Numbers: [55]
55,51 unequal: No Solution
Exploring Operation: 48*7=336, Resulting Numbers: [336]
336,51 unequal: No Solution
Moving to Node #0,0,1
Current State: 51:[48, 7], Operations: ['77-32=45', '52-45=7']
Exploring Operation: 48*7=336, Resulting Numbers: [336]
336,51 unequal: No Solution
Exploring Operation: 48-7=41, Resulting Numbers: [41]
41,51 unequal: No Solution
Exploring Operation: 48+7=55, Resulting Numbers: [55]
55,51 unequal: No Solution
Moving to Node #0,3,3
Current State: 51:[25, 16], Operations: ['77-52=25', '48-32=16']
Exploring Operation: 25*16=400, Resulting Numbers: [400]
400,51 unequal: No Solution
Exploring Operation: 25+16=41, Resulting Numbers: [41]
41,51 unequal: No Solution
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,51 unequal: No Solution
Moving to Node #0,3,2
Current State: 51:[48, 57], Operations: ['77-52=25', '32+25=57']
Exploring Operation: 57-48=9, Resulting Numbers: [9]
9,51 unequal: No Solution
Exploring Operation: 48*57=2736, Resulting Numbers: [2736]
2736,51 unequal: No Solution
Exploring Operation: 48+57=105, Resulting Numbers: [105]
105,51 unequal: No Solution
Moving to Node #0,2,2
Current State: 51:[52, 61], Operations: ['77-48=29', '32+29=61']
Exploring Operation: 52+61=113, Resulting Numbers: [113]
113,51 unequal: No Solution
Exploring Operation: 52*61=3172, Resulting Numbers: [3172]
3172,51 unequal: No Solution
Exploring Operation: 61-52=9, Resulting Numbers: [9]
9,51 unequal: No Solution
Moving to Node #0,2,0
Current State: 51:[29, 20], Operations: ['77-48=29', '52-32=20']
Exploring Operation: 29*20=580, Resulting Numbers: [580]
580,51 unequal: No Solution
Exploring Operation: 29+20=49, Resulting Numbers: [49]
49,51 unequal: No Solution
Exploring Operation: 29-20=9, Resulting Numbers: [9]
9,51 unequal: No Solution
Moving to Node #0,2,1
Current State: 51:[32, 23], Operations: ['77-48=29', '52-29=23']
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,51 unequal: No Solution
Exploring Operation: 32*23=736, Resulting Numbers: [736]
736,51 unequal: No Solution
Exploring Operation: 32+23=55, Resulting Numbers: [55]
55,51 unequal: No Solution
Moving to Node #0,3,1
Current State: 51:[32, 23], Operations: ['77-52=25', '48-25=23']
Exploring Operation: 32*23=736, Resulting Numbers: [736]
736,51 unequal: No Solution
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,51 unequal: No Solution
Exploring Operation: 32+23=55, Resulting Numbers: [55]
55,51 unequal: No Solution
Moving to Node #0,0,0
Current State: 51:[52, 93], Operations: ['77-32=45', '48+45=93']
Exploring Operation: 93-52=41, Resulting Numbers: [41]
41,51 unequal: No Solution
Exploring Operation: 52+93=145, Resulting Numbers: [145]
145,51 unequal: No Solution
Exploring Operation: 52*93=4836, Resulting Numbers: [4836]
4836,51 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
69,
80,
73,
8
] | 54 | [
"80-69=11",
"73-8=65",
"65-11=54"
] | Current State: 54:[69, 80, 73, 8], Operations: []
Exploring Operation: 80-69=11, Resulting Numbers: [73, 8, 11]
Generated Node #2: [73, 8, 11] from Operation: 80-69=11
Current State: 54:[73, 8, 11], Operations: ['80-69=11']
Exploring Operation: 73-8=65, Resulting Numbers: [11, 65]
Generated Node #3: [11, 65] from Operation: 73-8=65
Current State: 54:[11, 65], Operations: ['80-69=11', '73-8=65']
Exploring Operation: 65-11=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[69, 80, 73, 8], Operations: []
Exploring Operation: 80-69=11, Resulting Numbers: [73, 8, 11]
Generated Node #0,0: 54:[73, 8, 11] Operation: 80-69=11
Exploring Operation: 80/8=10, Resulting Numbers: [69, 73, 10]
Generated Node #0,1: 54:[69, 73, 10] Operation: 80/8=10
Exploring Operation: 80-73=7, Resulting Numbers: [69, 8, 7]
Generated Node #0,2: 54:[69, 8, 7] Operation: 80-73=7
Exploring Operation: 73-69=4, Resulting Numbers: [80, 8, 4]
Generated Node #0,3: 54:[80, 8, 4] Operation: 73-69=4
Moving to Node #0,2
Current State: 54:[69, 8, 7], Operations: ['80-73=7']
Exploring Operation: 69-8=61, Resulting Numbers: [7, 61]
Generated Node #0,2,0: 54:[7, 61] Operation: 69-8=61
Exploring Operation: 8-7=1, Resulting Numbers: [69, 1]
Generated Node #0,2,1: 54:[69, 1] Operation: 8-7=1
Exploring Operation: 69-7=62, Resulting Numbers: [8, 62]
Generated Node #0,2,2: 54:[8, 62] Operation: 69-7=62
Exploring Operation: 8*7=56, Resulting Numbers: [69, 56]
Generated Node #0,2,3: 54:[69, 56] Operation: 8*7=56
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 54:[7, 61], Operations: ['80-73=7', '69-8=61']
Exploring Operation: 61-7=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[69, 80, 73, 8], Operations: []
Exploring Operation: 80-73=7, Resulting Numbers: [69, 8, 7]
Generated Node #0,2: 54:[69, 8, 7] Operation: 80-73=7
Moving to Node #0,2
Current State: 54:[69, 8, 7], Operations: ['80-73=7']
Exploring Operation: 69-8=61, Resulting Numbers: [7, 61]
Generated Node #0,2,0: 54:[7, 61] Operation: 69-8=61
Moving to Node #0,2,0
Current State: 54:[7, 61], Operations: ['80-73=7', '69-8=61']
Exploring Operation: 61-7=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
61,
19,
96,
84
] | 24 | [
"61+19=80",
"84-80=4",
"96/4=24"
] | Current State: 24:[61, 19, 96, 84], Operations: []
Exploring Operation: 61+19=80, Resulting Numbers: [96, 84, 80]
Generated Node #2: [96, 84, 80] from Operation: 61+19=80
Current State: 24:[96, 84, 80], Operations: ['61+19=80']
Exploring Operation: 84-80=4, Resulting Numbers: [96, 4]
Generated Node #3: [96, 4] from Operation: 84-80=4
Current State: 24:[96, 4], Operations: ['61+19=80', '84-80=4']
Exploring Operation: 96/4=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[61, 19, 96, 84], Operations: []
Exploring Operation: 96-84=12, Resulting Numbers: [61, 19, 12]
Generated Node #0,0: 24:[61, 19, 12] Operation: 96-84=12
Moving to Node #0,0
Current State: 24:[61, 19, 12], Operations: ['96-84=12']
Exploring Operation: 61-19=42, Resulting Numbers: [12, 42]
Generated Node #0,0,0: 24:[12, 42] Operation: 61-19=42
Moving to Node #0,0,0
Current State: 24:[12, 42], Operations: ['96-84=12', '61-19=42']
Exploring Operation: 42-12=30, Resulting Numbers: [30]
30,24 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
33,
6,
44,
33
] | 44 | [
"33-33=0",
"6*0=0",
"44+0=44"
] | Current State: 44:[33, 6, 44, 33], Operations: []
Exploring Operation: 33-33=0, Resulting Numbers: [6, 44, 0]
Generated Node #2: [6, 44, 0] from Operation: 33-33=0
Current State: 44:[6, 44, 0], Operations: ['33-33=0']
Exploring Operation: 6*0=0, Resulting Numbers: [44, 0]
Generated Node #3: [44, 0] from Operation: 6*0=0
Current State: 44:[44, 0], Operations: ['33-33=0', '6*0=0']
Exploring Operation: 44+0=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[33, 6, 44, 33], Operations: []
Exploring Operation: 44-33=11, Resulting Numbers: [33, 6, 11]
Generated Node #0,0: 44:[33, 6, 11] Operation: 44-33=11
Exploring Operation: 33/33=1, Resulting Numbers: [6, 44, 1]
Generated Node #0,1: 44:[6, 44, 1] Operation: 33/33=1
Exploring Operation: 33-33=0, Resulting Numbers: [6, 44, 0]
Generated Node #0,2: 44:[6, 44, 0] Operation: 33-33=0
Exploring Operation: 44-33=11, Resulting Numbers: [6, 33, 11]
Generated Node #0,3: 44:[6, 33, 11] Operation: 44-33=11
Moving to Node #0,1
Current State: 44:[6, 44, 1], Operations: ['33/33=1']
Exploring Operation: 44*1=44, Resulting Numbers: [6, 44]
Generated Node #0,1,0: 44:[6, 44] Operation: 44*1=44
Exploring Operation: 6-1=5, Resulting Numbers: [44, 5]
Generated Node #0,1,1: 44:[44, 5] Operation: 6-1=5
Exploring Operation: 6*1=6, Resulting Numbers: [44, 6]
Generated Node #0,1,2: 44:[44, 6] Operation: 6*1=6
Exploring Operation: 6/1=6, Resulting Numbers: [44, 6]
Generated Node #0,1,3: 44:[44, 6] Operation: 6/1=6
Moving to Node #0,2
Current State: 44:[6, 44, 0], Operations: ['33-33=0']
Exploring Operation: 6*0=0, Resulting Numbers: [44, 0]
Generated Node #0,2,0: 44:[44, 0] Operation: 6*0=0
Exploring Operation: 44+0=44, Resulting Numbers: [6, 44]
Generated Node #0,2,1: 44:[6, 44] Operation: 44+0=44
Exploring Operation: 6+0=6, Resulting Numbers: [44, 6]
Generated Node #0,2,2: 44:[44, 6] Operation: 6+0=6
Exploring Operation: 6-0=6, Resulting Numbers: [44, 6]
Generated Node #0,2,3: 44:[44, 6] Operation: 6-0=6
Moving to Node #0,3
Current State: 44:[6, 33, 11], Operations: ['44-33=11']
Exploring Operation: 33+11=44, Resulting Numbers: [6, 44]
Generated Node #0,3,0: 44:[6, 44] Operation: 33+11=44
Exploring Operation: 33-11=22, Resulting Numbers: [6, 22]
Generated Node #0,3,1: 44:[6, 22] Operation: 33-11=22
Exploring Operation: 33/11=3, Resulting Numbers: [6, 3]
Generated Node #0,3,2: 44:[6, 3] Operation: 33/11=3
Exploring Operation: 6+33=39, Resulting Numbers: [11, 39]
Generated Node #0,3,3: 44:[11, 39] Operation: 6+33=39
Moving to Node #0,0
Current State: 44:[33, 6, 11], Operations: ['44-33=11']
Exploring Operation: 33+11=44, Resulting Numbers: [6, 44]
Generated Node #0,0,0: 44:[6, 44] Operation: 33+11=44
Exploring Operation: 33-11=22, Resulting Numbers: [6, 22]
Generated Node #0,0,1: 44:[6, 22] Operation: 33-11=22
Exploring Operation: 33+6=39, Resulting Numbers: [11, 39]
Generated Node #0,0,2: 44:[11, 39] Operation: 33+6=39
Exploring Operation: 33/11=3, Resulting Numbers: [6, 3]
Generated Node #0,0,3: 44:[6, 3] Operation: 33/11=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 44:[6, 44], Operations: ['44-33=11', '33+11=44']
Exploring Operation: 6+44=50, Resulting Numbers: [50]
50,44 unequal: No Solution
Exploring Operation: 6*44=264, Resulting Numbers: [264]
264,44 unequal: No Solution
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 44:[6, 22], Operations: ['44-33=11', '33-11=22']
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,44 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,44 unequal: No Solution
Exploring Operation: 6*22=132, Resulting Numbers: [132]
132,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 44:[6, 3], Operations: ['44-33=11', '33/11=3']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,44 unequal: No Solution
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,44 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 44:[11, 39], Operations: ['44-33=11', '33+6=39']
Exploring Operation: 11+39=50, Resulting Numbers: [50]
50,44 unequal: No Solution
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,44 unequal: No Solution
Exploring Operation: 11*39=429, Resulting Numbers: [429]
429,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 44:[44, 5], Operations: ['33/33=1', '6-1=5']
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,44 unequal: No Solution
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,44 unequal: No Solution
Exploring Operation: 44*5=220, Resulting Numbers: [220]
220,44 unequal: No Solution
Moving to Node #0,1,2
Current State: 44:[44, 6], Operations: ['33/33=1', '6*1=6']
Exploring Operation: 44+6=50, Resulting Numbers: [50]
50,44 unequal: No Solution
Exploring Operation: 44*6=264, Resulting Numbers: [264]
264,44 unequal: No Solution
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,44 unequal: No Solution
Moving to Node #0,2,2
Current State: 44:[44, 6], Operations: ['33-33=0', '6+0=6']
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,44 unequal: No Solution
Exploring Operation: 44+6=50, Resulting Numbers: [50]
50,44 unequal: No Solution
Exploring Operation: 44*6=264, Resulting Numbers: [264]
264,44 unequal: No Solution
Moving to Node #0,2,1
Current State: 44:[6, 44], Operations: ['33-33=0', '44+0=44']
Exploring Operation: 6*44=264, Resulting Numbers: [264]
264,44 unequal: No Solution
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,44 unequal: No Solution
Exploring Operation: 6+44=50, Resulting Numbers: [50]
50,44 unequal: No Solution
Moving to Node #0,3,1
Current State: 44:[6, 22], Operations: ['44-33=11', '33-11=22']
Exploring Operation: 6*22=132, Resulting Numbers: [132]
132,44 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,44 unequal: No Solution
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,44 unequal: No Solution
Moving to Node #0,3,0
Current State: 44:[6, 44], Operations: ['44-33=11', '33+11=44']
Exploring Operation: 6+44=50, Resulting Numbers: [50]
50,44 unequal: No Solution
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,44 unequal: No Solution
Exploring Operation: 6*44=264, Resulting Numbers: [264]
264,44 unequal: No Solution
Moving to Node #0,2,3
Current State: 44:[44, 6], Operations: ['33-33=0', '6-0=6']
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,44 unequal: No Solution
Exploring Operation: 44+6=50, Resulting Numbers: [50]
50,44 unequal: No Solution
Exploring Operation: 44*6=264, Resulting Numbers: [264]
264,44 unequal: No Solution
Moving to Node #0,1,0
Current State: 44:[6, 44], Operations: ['33/33=1', '44*1=44']
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,44 unequal: No Solution
Exploring Operation: 6*44=264, Resulting Numbers: [264]
264,44 unequal: No Solution
Exploring Operation: 6+44=50, Resulting Numbers: [50]
50,44 unequal: No Solution
Moving to Node #0,2,0
Current State: 44:[44, 0], Operations: ['33-33=0', '6*0=0']
Exploring Operation: 44-0=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[33, 6, 44, 33], Operations: []
Exploring Operation: 33-33=0, Resulting Numbers: [6, 44, 0]
Generated Node #0,2: 44:[6, 44, 0] Operation: 33-33=0
Moving to Node #0,2
Current State: 44:[6, 44, 0], Operations: ['33-33=0']
Exploring Operation: 6*0=0, Resulting Numbers: [44, 0]
Generated Node #0,2,0: 44:[44, 0] Operation: 6*0=0
Moving to Node #0,2,0
Current State: 44:[44, 0], Operations: ['33-33=0', '6*0=0']
Exploring Operation: 44-0=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 0.946181 | hs_4 | sum_heuristic |
[
61,
69,
57,
22
] | 71 | [
"69-61=8",
"57+22=79",
"79-8=71"
] | Current State: 71:[61, 69, 57, 22], Operations: []
Exploring Operation: 69-61=8, Resulting Numbers: [57, 22, 8]
Generated Node #2: [57, 22, 8] from Operation: 69-61=8
Current State: 71:[57, 22, 8], Operations: ['69-61=8']
Exploring Operation: 57+22=79, Resulting Numbers: [8, 79]
Generated Node #3: [8, 79] from Operation: 57+22=79
Current State: 71:[8, 79], Operations: ['69-61=8', '57+22=79']
Exploring Operation: 79-8=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[61, 69, 57, 22], Operations: []
Exploring Operation: 57+22=79, Resulting Numbers: [61, 69, 79]
Generated Node #0,0: 71:[61, 69, 79] Operation: 57+22=79
Exploring Operation: 69+22=91, Resulting Numbers: [61, 57, 91]
Generated Node #0,1: 71:[61, 57, 91] Operation: 69+22=91
Exploring Operation: 61+22=83, Resulting Numbers: [69, 57, 83]
Generated Node #0,2: 71:[69, 57, 83] Operation: 61+22=83
Moving to Node #0,0
Current State: 71:[61, 69, 79], Operations: ['57+22=79']
Exploring Operation: 79-61=18, Resulting Numbers: [69, 18]
Generated Node #0,0,0: 71:[69, 18] Operation: 79-61=18
Exploring Operation: 61+69=130, Resulting Numbers: [79, 130]
Generated Node #0,0,1: 71:[79, 130] Operation: 61+69=130
Exploring Operation: 69-61=8, Resulting Numbers: [79, 8]
Generated Node #0,0,2: 71:[79, 8] Operation: 69-61=8
Moving to Node #0,2
Current State: 71:[69, 57, 83], Operations: ['61+22=83']
Exploring Operation: 83-57=26, Resulting Numbers: [69, 26]
Generated Node #0,2,0: 71:[69, 26] Operation: 83-57=26
Exploring Operation: 69-57=12, Resulting Numbers: [83, 12]
Generated Node #0,2,1: 71:[83, 12] Operation: 69-57=12
Exploring Operation: 69+57=126, Resulting Numbers: [83, 126]
Generated Node #0,2,2: 71:[83, 126] Operation: 69+57=126
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 71:[69, 26], Operations: ['61+22=83', '83-57=26']
Exploring Operation: 69-26=43, Resulting Numbers: [43]
43,71 unequal: No Solution
Exploring Operation: 69*26=1794, Resulting Numbers: [1794]
1794,71 unequal: No Solution
Exploring Operation: 69+26=95, Resulting Numbers: [95]
95,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 71:[83, 126], Operations: ['61+22=83', '69+57=126']
Exploring Operation: 126-83=43, Resulting Numbers: [43]
43,71 unequal: No Solution
Exploring Operation: 83*126=10458, Resulting Numbers: [10458]
10458,71 unequal: No Solution
Exploring Operation: 83+126=209, Resulting Numbers: [209]
209,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 71:[83, 12], Operations: ['61+22=83', '69-57=12']
Exploring Operation: 83-12=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[61, 69, 57, 22], Operations: []
Exploring Operation: 61+22=83, Resulting Numbers: [69, 57, 83]
Generated Node #0,2: 71:[69, 57, 83] Operation: 61+22=83
Moving to Node #0,2
Current State: 71:[69, 57, 83], Operations: ['61+22=83']
Exploring Operation: 69-57=12, Resulting Numbers: [83, 12]
Generated Node #0,2,1: 71:[83, 12] Operation: 69-57=12
Moving to Node #0,2,1
Current State: 71:[83, 12], Operations: ['61+22=83', '69-57=12']
Exploring Operation: 83-12=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_3 | sum_heuristic |
[
33,
88,
87,
81
] | 49 | [
"88-33=55",
"87-81=6",
"55-6=49"
] | Current State: 49:[33, 88, 87, 81], Operations: []
Exploring Operation: 88-33=55, Resulting Numbers: [87, 81, 55]
Generated Node #2: [87, 81, 55] from Operation: 88-33=55
Current State: 49:[87, 81, 55], Operations: ['88-33=55']
Exploring Operation: 87-81=6, Resulting Numbers: [55, 6]
Generated Node #3: [55, 6] from Operation: 87-81=6
Current State: 49:[55, 6], Operations: ['88-33=55', '87-81=6']
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[33, 88, 87, 81], Operations: []
Exploring Operation: 88-87=1, Resulting Numbers: [33, 81, 1]
Generated Node #0,0: 49:[33, 81, 1] Operation: 88-87=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[33, 81, 1], Operations: ['88-87=1']
Exploring Operation: 81-33=48, Resulting Numbers: [1, 48]
Generated Node #0,0,0: 49:[1, 48] Operation: 81-33=48
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 49:[1, 48], Operations: ['88-87=1', '81-33=48']
Exploring Operation: 1+48=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[33, 88, 87, 81], Operations: []
Exploring Operation: 88-87=1, Resulting Numbers: [33, 81, 1]
Generated Node #0,0: 49:[33, 81, 1] Operation: 88-87=1
Moving to Node #0,0
Current State: 49:[33, 81, 1], Operations: ['88-87=1']
Exploring Operation: 81-33=48, Resulting Numbers: [1, 48]
Generated Node #0,0,0: 49:[1, 48] Operation: 81-33=48
Moving to Node #0,0,0
Current State: 49:[1, 48], Operations: ['88-87=1', '81-33=48']
Exploring Operation: 1+48=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
37,
3,
24,
13
] | 42 | [
"37+13=50",
"24/3=8",
"50-8=42"
] | Current State: 42:[37, 3, 24, 13], Operations: []
Exploring Operation: 37+13=50, Resulting Numbers: [3, 24, 50]
Generated Node #2: [3, 24, 50] from Operation: 37+13=50
Current State: 42:[3, 24, 50], Operations: ['37+13=50']
Exploring Operation: 24/3=8, Resulting Numbers: [50, 8]
Generated Node #3: [50, 8] from Operation: 24/3=8
Current State: 42:[50, 8], Operations: ['37+13=50', '24/3=8']
Exploring Operation: 50-8=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[37, 3, 24, 13], Operations: []
Exploring Operation: 37+3=40, Resulting Numbers: [24, 13, 40]
Generated Node #0,0: 42:[24, 13, 40] Operation: 37+3=40
Exploring Operation: 37-24=13, Resulting Numbers: [3, 13, 13]
Generated Node #0,1: 42:[3, 13, 13] Operation: 37-24=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 42:[3, 13, 13], Operations: ['37-24=13']
Exploring Operation: 13-13=0, Resulting Numbers: [3, 0]
Generated Node #0,1,0: 42:[3, 0] Operation: 13-13=0
Exploring Operation: 13/13=1, Resulting Numbers: [3, 1]
Generated Node #0,1,1: 42:[3, 1] Operation: 13/13=1
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 42:[3, 1], Operations: ['37-24=13', '13/13=1']
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 42:[3, 0], Operations: ['37-24=13', '13-13=0']
Exploring Operation: 3-0=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Exploring Operation: 3+0=3, Resulting Numbers: [3]
3,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[24, 13, 40], Operations: ['37+3=40']
Exploring Operation: 24-13=11, Resulting Numbers: [40, 11]
Generated Node #0,0,0: 42:[40, 11] Operation: 24-13=11
Exploring Operation: 40-24=16, Resulting Numbers: [13, 16]
Generated Node #0,0,1: 42:[13, 16] Operation: 40-24=16
Moving to Node #0,0,1
Current State: 42:[13, 16], Operations: ['37+3=40', '40-24=16']
Exploring Operation: 13+16=29, Resulting Numbers: [29]
29,42 unequal: No Solution
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Moving to Node #0,0,0
Current State: 42:[40, 11], Operations: ['37+3=40', '24-13=11']
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,42 unequal: No Solution
Exploring Operation: 40+11=51, Resulting Numbers: [51]
51,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
64,
77,
28,
66
] | 42 | [
"64-28=36",
"77*36=2772",
"2772/66=42"
] | Current State: 42:[64, 77, 28, 66], Operations: []
Exploring Operation: 64-28=36, Resulting Numbers: [77, 66, 36]
Generated Node #2: [77, 66, 36] from Operation: 64-28=36
Current State: 42:[77, 66, 36], Operations: ['64-28=36']
Exploring Operation: 77*36=2772, Resulting Numbers: [66, 2772]
Generated Node #3: [66, 2772] from Operation: 77*36=2772
Current State: 42:[66, 2772], Operations: ['64-28=36', '77*36=2772']
Exploring Operation: 2772/66=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[64, 77, 28, 66], Operations: []
Exploring Operation: 77-66=11, Resulting Numbers: [64, 28, 11]
Generated Node #0,0: 42:[64, 28, 11] Operation: 77-66=11
Exploring Operation: 77-64=13, Resulting Numbers: [28, 66, 13]
Generated Node #0,1: 42:[28, 66, 13] Operation: 77-64=13
Exploring Operation: 77-28=49, Resulting Numbers: [64, 66, 49]
Generated Node #0,2: 42:[64, 66, 49] Operation: 77-28=49
Exploring Operation: 66-28=38, Resulting Numbers: [64, 77, 38]
Generated Node #0,3: 42:[64, 77, 38] Operation: 66-28=38
Exploring Operation: 66-64=2, Resulting Numbers: [77, 28, 2]
Generated Node #0,4: 42:[77, 28, 2] Operation: 66-64=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[64, 28, 11], Operations: ['77-66=11']
Exploring Operation: 64+11=75, Resulting Numbers: [28, 75]
Generated Node #0,0,0: 42:[28, 75] Operation: 64+11=75
Exploring Operation: 64-11=53, Resulting Numbers: [28, 53]
Generated Node #0,0,1: 42:[28, 53] Operation: 64-11=53
Exploring Operation: 28-11=17, Resulting Numbers: [64, 17]
Generated Node #0,0,2: 42:[64, 17] Operation: 28-11=17
Exploring Operation: 64-28=36, Resulting Numbers: [11, 36]
Generated Node #0,0,3: 42:[11, 36] Operation: 64-28=36
Exploring Operation: 28+11=39, Resulting Numbers: [64, 39]
Generated Node #0,0,4: 42:[64, 39] Operation: 28+11=39
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 42:[11, 36], Operations: ['77-66=11', '64-28=36']
Exploring Operation: 11*36=396, Resulting Numbers: [396]
396,42 unequal: No Solution
Exploring Operation: 11+36=47, Resulting Numbers: [47]
47,42 unequal: No Solution
Exploring Operation: 36-11=25, Resulting Numbers: [25]
25,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 42:[28, 53], Operations: ['77-66=11', '64-11=53']
Exploring Operation: 28+53=81, Resulting Numbers: [81]
81,42 unequal: No Solution
Exploring Operation: 28*53=1484, Resulting Numbers: [1484]
1484,42 unequal: No Solution
Exploring Operation: 53-28=25, Resulting Numbers: [25]
25,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 42:[64, 17], Operations: ['77-66=11', '28-11=17']
Exploring Operation: 64+17=81, Resulting Numbers: [81]
81,42 unequal: No Solution
Exploring Operation: 64*17=1088, Resulting Numbers: [1088]
1088,42 unequal: No Solution
Exploring Operation: 64-17=47, Resulting Numbers: [47]
47,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 42:[64, 39], Operations: ['77-66=11', '28+11=39']
Exploring Operation: 64*39=2496, Resulting Numbers: [2496]
2496,42 unequal: No Solution
Exploring Operation: 64-39=25, Resulting Numbers: [25]
25,42 unequal: No Solution
Exploring Operation: 64+39=103, Resulting Numbers: [103]
103,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 42:[28, 75], Operations: ['77-66=11', '64+11=75']
Exploring Operation: 28*75=2100, Resulting Numbers: [2100]
2100,42 unequal: No Solution
Exploring Operation: 75-28=47, Resulting Numbers: [47]
47,42 unequal: No Solution
Exploring Operation: 28+75=103, Resulting Numbers: [103]
103,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 42:[28, 66, 13], Operations: ['77-64=13']
Exploring Operation: 28+13=41, Resulting Numbers: [66, 41]
Generated Node #0,1,0: 42:[66, 41] Operation: 28+13=41
Exploring Operation: 28-13=15, Resulting Numbers: [66, 15]
Generated Node #0,1,1: 42:[66, 15] Operation: 28-13=15
Exploring Operation: 66-28=38, Resulting Numbers: [13, 38]
Generated Node #0,1,2: 42:[13, 38] Operation: 66-28=38
Exploring Operation: 66+13=79, Resulting Numbers: [28, 79]
Generated Node #0,1,3: 42:[28, 79] Operation: 66+13=79
Exploring Operation: 66-13=53, Resulting Numbers: [28, 53]
Generated Node #0,1,4: 42:[28, 53] Operation: 66-13=53
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 42:[13, 38], Operations: ['77-64=13', '66-28=38']
Exploring Operation: 13+38=51, Resulting Numbers: [51]
51,42 unequal: No Solution
Exploring Operation: 13*38=494, Resulting Numbers: [494]
494,42 unequal: No Solution
Exploring Operation: 38-13=25, Resulting Numbers: [25]
25,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 42:[28, 53], Operations: ['77-64=13', '66-13=53']
Exploring Operation: 53-28=25, Resulting Numbers: [25]
25,42 unequal: No Solution
Exploring Operation: 28*53=1484, Resulting Numbers: [1484]
1484,42 unequal: No Solution
Exploring Operation: 28+53=81, Resulting Numbers: [81]
81,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 42:[66, 41], Operations: ['77-64=13', '28+13=41']
Exploring Operation: 66*41=2706, Resulting Numbers: [2706]
2706,42 unequal: No Solution
Exploring Operation: 66-41=25, Resulting Numbers: [25]
25,42 unequal: No Solution
Exploring Operation: 66+41=107, Resulting Numbers: [107]
107,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 42:[66, 15], Operations: ['77-64=13', '28-13=15']
Exploring Operation: 66-15=51, Resulting Numbers: [51]
51,42 unequal: No Solution
Exploring Operation: 66*15=990, Resulting Numbers: [990]
990,42 unequal: No Solution
Exploring Operation: 66+15=81, Resulting Numbers: [81]
81,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 42:[28, 79], Operations: ['77-64=13', '66+13=79']
Exploring Operation: 79-28=51, Resulting Numbers: [51]
51,42 unequal: No Solution
Exploring Operation: 28*79=2212, Resulting Numbers: [2212]
2212,42 unequal: No Solution
Exploring Operation: 28+79=107, Resulting Numbers: [107]
107,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 42:[77, 28, 2], Operations: ['66-64=2']
Exploring Operation: 28/2=14, Resulting Numbers: [77, 14]
Generated Node #0,4,0: 42:[77, 14] Operation: 28/2=14
Exploring Operation: 77+2=79, Resulting Numbers: [28, 79]
Generated Node #0,4,1: 42:[28, 79] Operation: 77+2=79
Exploring Operation: 28-2=26, Resulting Numbers: [77, 26]
Generated Node #0,4,2: 42:[77, 26] Operation: 28-2=26
Exploring Operation: 77-28=49, Resulting Numbers: [2, 49]
Generated Node #0,4,3: 42:[2, 49] Operation: 77-28=49
Exploring Operation: 77-2=75, Resulting Numbers: [28, 75]
Generated Node #0,4,4: 42:[28, 75] Operation: 77-2=75
Moving to Node #0,4,3
Current State: 42:[2, 49], Operations: ['66-64=2', '77-28=49']
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,42 unequal: No Solution
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,42 unequal: No Solution
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,42 unequal: No Solution
Moving to Node #0,4,0
Current State: 42:[77, 14], Operations: ['66-64=2', '28/2=14']
Exploring Operation: 77-14=63, Resulting Numbers: [63]
63,42 unequal: No Solution
Exploring Operation: 77+14=91, Resulting Numbers: [91]
91,42 unequal: No Solution
Exploring Operation: 77*14=1078, Resulting Numbers: [1078]
1078,42 unequal: No Solution
Moving to Node #0,4,2
Current State: 42:[77, 26], Operations: ['66-64=2', '28-2=26']
Exploring Operation: 77*26=2002, Resulting Numbers: [2002]
2002,42 unequal: No Solution
Exploring Operation: 77+26=103, Resulting Numbers: [103]
103,42 unequal: No Solution
Exploring Operation: 77-26=51, Resulting Numbers: [51]
51,42 unequal: No Solution
Moving to Node #0,4,4
Current State: 42:[28, 75], Operations: ['66-64=2', '77-2=75']
Exploring Operation: 75-28=47, Resulting Numbers: [47]
47,42 unequal: No Solution
Exploring Operation: 28+75=103, Resulting Numbers: [103]
103,42 unequal: No Solution
Exploring Operation: 28*75=2100, Resulting Numbers: [2100]
2100,42 unequal: No Solution
Moving to Node #0,4,1
Current State: 42:[28, 79], Operations: ['66-64=2', '77+2=79']
Exploring Operation: 79-28=51, Resulting Numbers: [51]
51,42 unequal: No Solution
Exploring Operation: 28+79=107, Resulting Numbers: [107]
107,42 unequal: No Solution
Exploring Operation: 28*79=2212, Resulting Numbers: [2212]
2212,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 42:[64, 66, 49], Operations: ['77-28=49']
Exploring Operation: 66-64=2, Resulting Numbers: [49, 2]
Generated Node #0,2,0: 42:[49, 2] Operation: 66-64=2
Exploring Operation: 64+66=130, Resulting Numbers: [49, 130]
Generated Node #0,2,1: 42:[49, 130] Operation: 64+66=130
Exploring Operation: 66-49=17, Resulting Numbers: [64, 17]
Generated Node #0,2,2: 42:[64, 17] Operation: 66-49=17
Exploring Operation: 64+49=113, Resulting Numbers: [66, 113]
Generated Node #0,2,3: 42:[66, 113] Operation: 64+49=113
Exploring Operation: 64-49=15, Resulting Numbers: [66, 15]
Generated Node #0,2,4: 42:[66, 15] Operation: 64-49=15
Moving to Node #0,2,0
Current State: 42:[49, 2], Operations: ['77-28=49', '66-64=2']
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,42 unequal: No Solution
Exploring Operation: 49+2=51, Resulting Numbers: [51]
51,42 unequal: No Solution
Exploring Operation: 49*2=98, Resulting Numbers: [98]
98,42 unequal: No Solution
Moving to Node #0,2,4
Current State: 42:[66, 15], Operations: ['77-28=49', '64-49=15']
Exploring Operation: 66+15=81, Resulting Numbers: [81]
81,42 unequal: No Solution
Exploring Operation: 66-15=51, Resulting Numbers: [51]
51,42 unequal: No Solution
Exploring Operation: 66*15=990, Resulting Numbers: [990]
990,42 unequal: No Solution
Moving to Node #0,2,2
Current State: 42:[64, 17], Operations: ['77-28=49', '66-49=17']
Exploring Operation: 64*17=1088, Resulting Numbers: [1088]
1088,42 unequal: No Solution
Exploring Operation: 64+17=81, Resulting Numbers: [81]
81,42 unequal: No Solution
Exploring Operation: 64-17=47, Resulting Numbers: [47]
47,42 unequal: No Solution
Moving to Node #0,2,1
Current State: 42:[49, 130], Operations: ['77-28=49', '64+66=130']
Exploring Operation: 130-49=81, Resulting Numbers: [81]
81,42 unequal: No Solution
Exploring Operation: 49*130=6370, Resulting Numbers: [6370]
6370,42 unequal: No Solution
Exploring Operation: 49+130=179, Resulting Numbers: [179]
179,42 unequal: No Solution
Moving to Node #0,2,3
Current State: 42:[66, 113], Operations: ['77-28=49', '64+49=113']
Exploring Operation: 113-66=47, Resulting Numbers: [47]
47,42 unequal: No Solution
Exploring Operation: 66+113=179, Resulting Numbers: [179]
179,42 unequal: No Solution
Exploring Operation: 66*113=7458, Resulting Numbers: [7458]
7458,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 42:[64, 77, 38], Operations: ['66-28=38']
Exploring Operation: 77+38=115, Resulting Numbers: [64, 115]
Generated Node #0,3,0: 42:[64, 115] Operation: 77+38=115
Exploring Operation: 64+38=102, Resulting Numbers: [77, 102]
Generated Node #0,3,1: 42:[77, 102] Operation: 64+38=102
Exploring Operation: 64-38=26, Resulting Numbers: [77, 26]
Generated Node #0,3,2: 42:[77, 26] Operation: 64-38=26
Exploring Operation: 77-64=13, Resulting Numbers: [38, 13]
Generated Node #0,3,3: 42:[38, 13] Operation: 77-64=13
Exploring Operation: 77-38=39, Resulting Numbers: [64, 39]
Generated Node #0,3,4: 42:[64, 39] Operation: 77-38=39
Moving to Node #0,3,3
Current State: 42:[38, 13], Operations: ['66-28=38', '77-64=13']
Exploring Operation: 38-13=25, Resulting Numbers: [25]
25,42 unequal: No Solution
Exploring Operation: 38+13=51, Resulting Numbers: [51]
51,42 unequal: No Solution
Exploring Operation: 38*13=494, Resulting Numbers: [494]
494,42 unequal: No Solution
Moving to Node #0,3,4
Current State: 42:[64, 39], Operations: ['66-28=38', '77-38=39']
Exploring Operation: 64*39=2496, Resulting Numbers: [2496]
2496,42 unequal: No Solution
Exploring Operation: 64+39=103, Resulting Numbers: [103]
103,42 unequal: No Solution
Exploring Operation: 64-39=25, Resulting Numbers: [25]
25,42 unequal: No Solution
Moving to Node #0,3,2
Current State: 42:[77, 26], Operations: ['66-28=38', '64-38=26']
Exploring Operation: 77+26=103, Resulting Numbers: [103]
103,42 unequal: No Solution
Exploring Operation: 77-26=51, Resulting Numbers: [51]
51,42 unequal: No Solution
Exploring Operation: 77*26=2002, Resulting Numbers: [2002]
2002,42 unequal: No Solution
Moving to Node #0,3,0
Current State: 42:[64, 115], Operations: ['66-28=38', '77+38=115']
Exploring Operation: 115-64=51, Resulting Numbers: [51]
51,42 unequal: No Solution
Exploring Operation: 64+115=179, Resulting Numbers: [179]
179,42 unequal: No Solution
Exploring Operation: 64*115=7360, Resulting Numbers: [7360]
7360,42 unequal: No Solution
Moving to Node #0,3,1
Current State: 42:[77, 102], Operations: ['66-28=38', '64+38=102']
Exploring Operation: 77+102=179, Resulting Numbers: [179]
179,42 unequal: No Solution
Exploring Operation: 77*102=7854, Resulting Numbers: [7854]
7854,42 unequal: No Solution
Exploring Operation: 102-77=25, Resulting Numbers: [25]
25,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
39,
41,
5,
58
] | 61 | [
"41-39=2",
"5+58=63",
"63-2=61"
] | Current State: 61:[39, 41, 5, 58], Operations: []
Exploring Operation: 41-39=2, Resulting Numbers: [5, 58, 2]
Generated Node #2: [5, 58, 2] from Operation: 41-39=2
Current State: 61:[5, 58, 2], Operations: ['41-39=2']
Exploring Operation: 5+58=63, Resulting Numbers: [2, 63]
Generated Node #3: [2, 63] from Operation: 5+58=63
Current State: 61:[2, 63], Operations: ['41-39=2', '5+58=63']
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[39, 41, 5, 58], Operations: []
Exploring Operation: 39-5=34, Resulting Numbers: [41, 58, 34]
Generated Node #0,0: 61:[41, 58, 34] Operation: 39-5=34
Exploring Operation: 5+58=63, Resulting Numbers: [39, 41, 63]
Generated Node #0,1: 61:[39, 41, 63] Operation: 5+58=63
Exploring Operation: 39+5=44, Resulting Numbers: [41, 58, 44]
Generated Node #0,2: 61:[41, 58, 44] Operation: 39+5=44
Exploring Operation: 41-5=36, Resulting Numbers: [39, 58, 36]
Generated Node #0,3: 61:[39, 58, 36] Operation: 41-5=36
Exploring Operation: 41+5=46, Resulting Numbers: [39, 58, 46]
Generated Node #0,4: 61:[39, 58, 46] Operation: 41+5=46
Moving to Node #0,2
Current State: 61:[41, 58, 44], Operations: ['39+5=44']
Exploring Operation: 44-41=3, Resulting Numbers: [58, 3]
Generated Node #0,2,0: 61:[58, 3] Operation: 44-41=3
Exploring Operation: 41+58=99, Resulting Numbers: [44, 99]
Generated Node #0,2,1: 61:[44, 99] Operation: 41+58=99
Exploring Operation: 58+44=102, Resulting Numbers: [41, 102]
Generated Node #0,2,2: 61:[41, 102] Operation: 58+44=102
Exploring Operation: 41+44=85, Resulting Numbers: [58, 85]
Generated Node #0,2,3: 61:[58, 85] Operation: 41+44=85
Exploring Operation: 58-41=17, Resulting Numbers: [44, 17]
Generated Node #0,2,4: 61:[44, 17] Operation: 58-41=17
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 61:[58, 85], Operations: ['39+5=44', '41+44=85']
Exploring Operation: 58*85=4930, Resulting Numbers: [4930]
4930,61 unequal: No Solution
Exploring Operation: 58+85=143, Resulting Numbers: [143]
143,61 unequal: No Solution
Exploring Operation: 85-58=27, Resulting Numbers: [27]
27,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 61:[44, 99], Operations: ['39+5=44', '41+58=99']
Exploring Operation: 44*99=4356, Resulting Numbers: [4356]
4356,61 unequal: No Solution
Exploring Operation: 44+99=143, Resulting Numbers: [143]
143,61 unequal: No Solution
Exploring Operation: 99-44=55, Resulting Numbers: [55]
55,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 61:[58, 3], Operations: ['39+5=44', '44-41=3']
Exploring Operation: 58+3=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[39, 41, 5, 58], Operations: []
Exploring Operation: 39+5=44, Resulting Numbers: [41, 58, 44]
Generated Node #0,2: 61:[41, 58, 44] Operation: 39+5=44
Moving to Node #0,2
Current State: 61:[41, 58, 44], Operations: ['39+5=44']
Exploring Operation: 44-41=3, Resulting Numbers: [58, 3]
Generated Node #0,2,0: 61:[58, 3] Operation: 44-41=3
Moving to Node #0,2,0
Current State: 61:[58, 3], Operations: ['39+5=44', '44-41=3']
Exploring Operation: 58+3=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
15,
96,
6,
93
] | 87 | [
"15*6=90",
"96-93=3",
"90-3=87"
] | Current State: 87:[15, 96, 6, 93], Operations: []
Exploring Operation: 15*6=90, Resulting Numbers: [96, 93, 90]
Generated Node #2: [96, 93, 90] from Operation: 15*6=90
Current State: 87:[96, 93, 90], Operations: ['15*6=90']
Exploring Operation: 96-93=3, Resulting Numbers: [90, 3]
Generated Node #3: [90, 3] from Operation: 96-93=3
Current State: 87:[90, 3], Operations: ['15*6=90', '96-93=3']
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[15, 96, 6, 93], Operations: []
Exploring Operation: 96-15=81, Resulting Numbers: [6, 93, 81]
Generated Node #0,0: 87:[6, 93, 81] Operation: 96-15=81
Exploring Operation: 96-93=3, Resulting Numbers: [15, 6, 3]
Generated Node #0,1: 87:[15, 6, 3] Operation: 96-93=3
Exploring Operation: 15*6=90, Resulting Numbers: [96, 93, 90]
Generated Node #0,2: 87:[96, 93, 90] Operation: 15*6=90
Moving to Node #0,0
Current State: 87:[6, 93, 81], Operations: ['96-15=81']
Exploring Operation: 6+81=87, Resulting Numbers: [93, 87]
Generated Node #0,0,0: 87:[93, 87] Operation: 6+81=87
Exploring Operation: 93-81=12, Resulting Numbers: [6, 12]
Generated Node #0,0,1: 87:[6, 12] Operation: 93-81=12
Exploring Operation: 93-6=87, Resulting Numbers: [81, 87]
Generated Node #0,0,2: 87:[81, 87] Operation: 93-6=87
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 87:[93, 87], Operations: ['96-15=81', '6+81=87']
Exploring Operation: 93-87=6, Resulting Numbers: [6]
6,87 unequal: No Solution
Exploring Operation: 93*87=8091, Resulting Numbers: [8091]
8091,87 unequal: No Solution
Exploring Operation: 93+87=180, Resulting Numbers: [180]
180,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 87:[81, 87], Operations: ['96-15=81', '93-6=87']
Exploring Operation: 81+87=168, Resulting Numbers: [168]
168,87 unequal: No Solution
Exploring Operation: 81*87=7047, Resulting Numbers: [7047]
7047,87 unequal: No Solution
Exploring Operation: 87-81=6, Resulting Numbers: [6]
6,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 87:[6, 12], Operations: ['96-15=81', '93-81=12']
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,87 unequal: No Solution
Exploring Operation: 6+12=18, Resulting Numbers: [18]
18,87 unequal: No Solution
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 87:[15, 6, 3], Operations: ['96-93=3']
Exploring Operation: 15/3=5, Resulting Numbers: [6, 5]
Generated Node #0,1,0: 87:[6, 5] Operation: 15/3=5
Exploring Operation: 15*6=90, Resulting Numbers: [3, 90]
Generated Node #0,1,1: 87:[3, 90] Operation: 15*6=90
Exploring Operation: 15-6=9, Resulting Numbers: [3, 9]
Generated Node #0,1,2: 87:[3, 9] Operation: 15-6=9
Moving to Node #0,2
Current State: 87:[96, 93, 90], Operations: ['15*6=90']
Exploring Operation: 93-90=3, Resulting Numbers: [96, 3]
Generated Node #0,2,0: 87:[96, 3] Operation: 93-90=3
Exploring Operation: 96-90=6, Resulting Numbers: [93, 6]
Generated Node #0,2,1: 87:[93, 6] Operation: 96-90=6
Exploring Operation: 96-93=3, Resulting Numbers: [90, 3]
Generated Node #0,2,2: 87:[90, 3] Operation: 96-93=3
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 87:[90, 3], Operations: ['15*6=90', '96-93=3']
Exploring Operation: 90/3=30, Resulting Numbers: [30]
30,87 unequal: No Solution
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[15, 96, 6, 93], Operations: []
Exploring Operation: 15*6=90, Resulting Numbers: [96, 93, 90]
Generated Node #0,2: 87:[96, 93, 90] Operation: 15*6=90
Moving to Node #0,2
Current State: 87:[96, 93, 90], Operations: ['15*6=90']
Exploring Operation: 96-93=3, Resulting Numbers: [90, 3]
Generated Node #0,2,2: 87:[90, 3] Operation: 96-93=3
Moving to Node #0,2,2
Current State: 87:[90, 3], Operations: ['15*6=90', '96-93=3']
Exploring Operation: 90-3=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_3 | mult_heuristic |
[
84,
82,
53,
21
] | 72 | [
"84-82=2",
"53+21=74",
"74-2=72"
] | Current State: 72:[84, 82, 53, 21], Operations: []
Exploring Operation: 84-82=2, Resulting Numbers: [53, 21, 2]
Generated Node #2: [53, 21, 2] from Operation: 84-82=2
Current State: 72:[53, 21, 2], Operations: ['84-82=2']
Exploring Operation: 53+21=74, Resulting Numbers: [2, 74]
Generated Node #3: [2, 74] from Operation: 53+21=74
Current State: 72:[2, 74], Operations: ['84-82=2', '53+21=74']
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[84, 82, 53, 21], Operations: []
Exploring Operation: 84-82=2, Resulting Numbers: [53, 21, 2]
Generated Node #0,0: 72:[53, 21, 2] Operation: 84-82=2
Exploring Operation: 82-53=29, Resulting Numbers: [84, 21, 29]
Generated Node #0,1: 72:[84, 21, 29] Operation: 82-53=29
Exploring Operation: 84-53=31, Resulting Numbers: [82, 21, 31]
Generated Node #0,2: 72:[82, 21, 31] Operation: 84-53=31
Exploring Operation: 53+21=74, Resulting Numbers: [84, 82, 74]
Generated Node #0,3: 72:[84, 82, 74] Operation: 53+21=74
Moving to Node #0,2
Current State: 72:[82, 21, 31], Operations: ['84-53=31']
Exploring Operation: 82-21=61, Resulting Numbers: [31, 61]
Generated Node #0,2,0: 72:[31, 61] Operation: 82-21=61
Exploring Operation: 21+31=52, Resulting Numbers: [82, 52]
Generated Node #0,2,1: 72:[82, 52] Operation: 21+31=52
Exploring Operation: 82-31=51, Resulting Numbers: [21, 51]
Generated Node #0,2,2: 72:[21, 51] Operation: 82-31=51
Exploring Operation: 31-21=10, Resulting Numbers: [82, 10]
Generated Node #0,2,3: 72:[82, 10] Operation: 31-21=10
Moving to Node #0,1
Current State: 72:[84, 21, 29], Operations: ['82-53=29']
Exploring Operation: 84-29=55, Resulting Numbers: [21, 55]
Generated Node #0,1,0: 72:[21, 55] Operation: 84-29=55
Exploring Operation: 29-21=8, Resulting Numbers: [84, 8]
Generated Node #0,1,1: 72:[84, 8] Operation: 29-21=8
Exploring Operation: 84-21=63, Resulting Numbers: [29, 63]
Generated Node #0,1,2: 72:[29, 63] Operation: 84-21=63
Exploring Operation: 84/21=4, Resulting Numbers: [29, 4]
Generated Node #0,1,3: 72:[29, 4] Operation: 84/21=4
Moving to Node #0,0
Current State: 72:[53, 21, 2], Operations: ['84-82=2']
Exploring Operation: 53-2=51, Resulting Numbers: [21, 51]
Generated Node #0,0,0: 72:[21, 51] Operation: 53-2=51
Exploring Operation: 21+2=23, Resulting Numbers: [53, 23]
Generated Node #0,0,1: 72:[53, 23] Operation: 21+2=23
Exploring Operation: 53-21=32, Resulting Numbers: [2, 32]
Generated Node #0,0,2: 72:[2, 32] Operation: 53-21=32
Exploring Operation: 53+21=74, Resulting Numbers: [2, 74]
Generated Node #0,0,3: 72:[2, 74] Operation: 53+21=74
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 72:[2, 74], Operations: ['84-82=2', '53+21=74']
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[84, 82, 53, 21], Operations: []
Exploring Operation: 84-82=2, Resulting Numbers: [53, 21, 2]
Generated Node #0,0: 72:[53, 21, 2] Operation: 84-82=2
Moving to Node #0,0
Current State: 72:[53, 21, 2], Operations: ['84-82=2']
Exploring Operation: 53+21=74, Resulting Numbers: [2, 74]
Generated Node #0,0,3: 72:[2, 74] Operation: 53+21=74
Moving to Node #0,0,3
Current State: 72:[2, 74], Operations: ['84-82=2', '53+21=74']
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_4 | mult_heuristic |
[
18,
66,
92,
69
] | 64 | [
"66-18=48",
"92*48=4416",
"4416/69=64"
] | Current State: 64:[18, 66, 92, 69], Operations: []
Exploring Operation: 66-18=48, Resulting Numbers: [92, 69, 48]
Generated Node #2: [92, 69, 48] from Operation: 66-18=48
Current State: 64:[92, 69, 48], Operations: ['66-18=48']
Exploring Operation: 92*48=4416, Resulting Numbers: [69, 4416]
Generated Node #3: [69, 4416] from Operation: 92*48=4416
Current State: 64:[69, 4416], Operations: ['66-18=48', '92*48=4416']
Exploring Operation: 4416/69=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[18, 66, 92, 69], Operations: []
Exploring Operation: 92-69=23, Resulting Numbers: [18, 66, 23]
Generated Node #0,0: 64:[18, 66, 23] Operation: 92-69=23
Exploring Operation: 92-18=74, Resulting Numbers: [66, 69, 74]
Generated Node #0,1: 64:[66, 69, 74] Operation: 92-18=74
Exploring Operation: 92-66=26, Resulting Numbers: [18, 69, 26]
Generated Node #0,2: 64:[18, 69, 26] Operation: 92-66=26
Moving to Node #0,0
Current State: 64:[18, 66, 23], Operations: ['92-69=23']
Exploring Operation: 66-23=43, Resulting Numbers: [18, 43]
Generated Node #0,0,0: 64:[18, 43] Operation: 66-23=43
Exploring Operation: 18+23=41, Resulting Numbers: [66, 41]
Generated Node #0,0,1: 64:[66, 41] Operation: 18+23=41
Exploring Operation: 23-18=5, Resulting Numbers: [66, 5]
Generated Node #0,0,2: 64:[66, 5] Operation: 23-18=5
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 64:[66, 5], Operations: ['92-69=23', '23-18=5']
Exploring Operation: 66*5=330, Resulting Numbers: [330]
330,64 unequal: No Solution
Exploring Operation: 66-5=61, Resulting Numbers: [61]
61,64 unequal: No Solution
Exploring Operation: 66+5=71, Resulting Numbers: [71]
71,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 64:[66, 41], Operations: ['92-69=23', '18+23=41']
Exploring Operation: 66+41=107, Resulting Numbers: [107]
107,64 unequal: No Solution
Exploring Operation: 66*41=2706, Resulting Numbers: [2706]
2706,64 unequal: No Solution
Exploring Operation: 66-41=25, Resulting Numbers: [25]
25,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 64:[18, 43], Operations: ['92-69=23', '66-23=43']
Exploring Operation: 18*43=774, Resulting Numbers: [774]
774,64 unequal: No Solution
Exploring Operation: 18+43=61, Resulting Numbers: [61]
61,64 unequal: No Solution
Exploring Operation: 43-18=25, Resulting Numbers: [25]
25,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 64:[18, 69, 26], Operations: ['92-66=26']
Exploring Operation: 26-18=8, Resulting Numbers: [69, 8]
Generated Node #0,2,0: 64:[69, 8] Operation: 26-18=8
Exploring Operation: 18+26=44, Resulting Numbers: [69, 44]
Generated Node #0,2,1: 64:[69, 44] Operation: 18+26=44
Exploring Operation: 69-26=43, Resulting Numbers: [18, 43]
Generated Node #0,2,2: 64:[18, 43] Operation: 69-26=43
Moving to Node #0,1
Current State: 64:[66, 69, 74], Operations: ['92-18=74']
Exploring Operation: 69-66=3, Resulting Numbers: [74, 3]
Generated Node #0,1,0: 64:[74, 3] Operation: 69-66=3
Exploring Operation: 74-69=5, Resulting Numbers: [66, 5]
Generated Node #0,1,1: 64:[66, 5] Operation: 74-69=5
Exploring Operation: 74-66=8, Resulting Numbers: [69, 8]
Generated Node #0,1,2: 64:[69, 8] Operation: 74-66=8
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 64:[66, 5], Operations: ['92-18=74', '74-69=5']
Exploring Operation: 66*5=330, Resulting Numbers: [330]
330,64 unequal: No Solution
Exploring Operation: 66+5=71, Resulting Numbers: [71]
71,64 unequal: No Solution
Exploring Operation: 66-5=61, Resulting Numbers: [61]
61,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 64:[69, 8], Operations: ['92-18=74', '74-66=8']
Exploring Operation: 69-8=61, Resulting Numbers: [61]
61,64 unequal: No Solution
Exploring Operation: 69+8=77, Resulting Numbers: [77]
77,64 unequal: No Solution
Exploring Operation: 69*8=552, Resulting Numbers: [552]
552,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 64:[74, 3], Operations: ['92-18=74', '69-66=3']
Exploring Operation: 74+3=77, Resulting Numbers: [77]
77,64 unequal: No Solution
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,64 unequal: No Solution
Exploring Operation: 74*3=222, Resulting Numbers: [222]
222,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 64:[69, 8], Operations: ['92-66=26', '26-18=8']
Exploring Operation: 69*8=552, Resulting Numbers: [552]
552,64 unequal: No Solution
Exploring Operation: 69+8=77, Resulting Numbers: [77]
77,64 unequal: No Solution
Exploring Operation: 69-8=61, Resulting Numbers: [61]
61,64 unequal: No Solution
Moving to Node #0,2,2
Current State: 64:[18, 43], Operations: ['92-66=26', '69-26=43']
Exploring Operation: 18+43=61, Resulting Numbers: [61]
61,64 unequal: No Solution
Exploring Operation: 18*43=774, Resulting Numbers: [774]
774,64 unequal: No Solution
Exploring Operation: 43-18=25, Resulting Numbers: [25]
25,64 unequal: No Solution
Moving to Node #0,2,1
Current State: 64:[69, 44], Operations: ['92-66=26', '18+26=44']
Exploring Operation: 69*44=3036, Resulting Numbers: [3036]
3036,64 unequal: No Solution
Exploring Operation: 69-44=25, Resulting Numbers: [25]
25,64 unequal: No Solution
Exploring Operation: 69+44=113, Resulting Numbers: [113]
113,64 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
28,
38,
71,
98
] | 17 | [
"38-28=10",
"98-71=27",
"27-10=17"
] | Current State: 17:[28, 38, 71, 98], Operations: []
Exploring Operation: 38-28=10, Resulting Numbers: [71, 98, 10]
Generated Node #2: [71, 98, 10] from Operation: 38-28=10
Current State: 17:[71, 98, 10], Operations: ['38-28=10']
Exploring Operation: 98-71=27, Resulting Numbers: [10, 27]
Generated Node #3: [10, 27] from Operation: 98-71=27
Current State: 17:[10, 27], Operations: ['38-28=10', '98-71=27']
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[28, 38, 71, 98], Operations: []
Exploring Operation: 98-71=27, Resulting Numbers: [28, 38, 27]
Generated Node #0,0: 17:[28, 38, 27] Operation: 98-71=27
Exploring Operation: 71-38=33, Resulting Numbers: [28, 98, 33]
Generated Node #0,1: 17:[28, 98, 33] Operation: 71-38=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[28, 38, 27], Operations: ['98-71=27']
Exploring Operation: 38-27=11, Resulting Numbers: [28, 11]
Generated Node #0,0,0: 17:[28, 11] Operation: 38-27=11
Exploring Operation: 38-28=10, Resulting Numbers: [27, 10]
Generated Node #0,0,1: 17:[27, 10] Operation: 38-28=10
Moving to Node #0,0,0
Current State: 17:[28, 11], Operations: ['98-71=27', '38-27=11']
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[28, 38, 71, 98], Operations: []
Exploring Operation: 98-71=27, Resulting Numbers: [28, 38, 27]
Generated Node #0,0: 17:[28, 38, 27] Operation: 98-71=27
Moving to Node #0,0
Current State: 17:[28, 38, 27], Operations: ['98-71=27']
Exploring Operation: 38-27=11, Resulting Numbers: [28, 11]
Generated Node #0,0,0: 17:[28, 11] Operation: 38-27=11
Moving to Node #0,0,0
Current State: 17:[28, 11], Operations: ['98-71=27', '38-27=11']
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
78,
26,
29,
56
] | 82 | [
"78/26=3",
"29+56=85",
"85-3=82"
] | Current State: 82:[78, 26, 29, 56], Operations: []
Exploring Operation: 78/26=3, Resulting Numbers: [29, 56, 3]
Generated Node #2: [29, 56, 3] from Operation: 78/26=3
Current State: 82:[29, 56, 3], Operations: ['78/26=3']
Exploring Operation: 29+56=85, Resulting Numbers: [3, 85]
Generated Node #3: [3, 85] from Operation: 29+56=85
Current State: 82:[3, 85], Operations: ['78/26=3', '29+56=85']
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[78, 26, 29, 56], Operations: []
Exploring Operation: 26+56=82, Resulting Numbers: [78, 29, 82]
Generated Node #0,0: 82:[78, 29, 82] Operation: 26+56=82
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[78, 29, 82], Operations: ['26+56=82']
Exploring Operation: 78-29=49, Resulting Numbers: [82, 49]
Generated Node #0,0,0: 82:[82, 49] Operation: 78-29=49
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 82:[82, 49], Operations: ['26+56=82', '78-29=49']
Exploring Operation: 82-49=33, Resulting Numbers: [33]
33,82 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
57,
28,
56,
40
] | 34 | [
"57-40=17",
"56/28=2",
"17*2=34"
] | Current State: 34:[57, 28, 56, 40], Operations: []
Exploring Operation: 57-40=17, Resulting Numbers: [28, 56, 17]
Generated Node #2: [28, 56, 17] from Operation: 57-40=17
Current State: 34:[28, 56, 17], Operations: ['57-40=17']
Exploring Operation: 56/28=2, Resulting Numbers: [17, 2]
Generated Node #3: [17, 2] from Operation: 56/28=2
Current State: 34:[17, 2], Operations: ['57-40=17', '56/28=2']
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[57, 28, 56, 40], Operations: []
Exploring Operation: 57-40=17, Resulting Numbers: [28, 56, 17]
Generated Node #0,0: 34:[28, 56, 17] Operation: 57-40=17
Exploring Operation: 57-56=1, Resulting Numbers: [28, 40, 1]
Generated Node #0,1: 34:[28, 40, 1] Operation: 57-56=1
Exploring Operation: 56/28=2, Resulting Numbers: [57, 40, 2]
Generated Node #0,2: 34:[57, 40, 2] Operation: 56/28=2
Moving to Node #0,1
Current State: 34:[28, 40, 1], Operations: ['57-56=1']
Exploring Operation: 28+1=29, Resulting Numbers: [40, 29]
Generated Node #0,1,0: 34:[40, 29] Operation: 28+1=29
Exploring Operation: 40-1=39, Resulting Numbers: [28, 39]
Generated Node #0,1,1: 34:[28, 39] Operation: 40-1=39
Exploring Operation: 40-28=12, Resulting Numbers: [1, 12]
Generated Node #0,1,2: 34:[1, 12] Operation: 40-28=12
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 34:[1, 12], Operations: ['57-56=1', '40-28=12']
Exploring Operation: 1+12=13, Resulting Numbers: [13]
13,34 unequal: No Solution
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,34 unequal: No Solution
Exploring Operation: 1*12=12, Resulting Numbers: [12]
12,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 34:[40, 29], Operations: ['57-56=1', '28+1=29']
Exploring Operation: 40-29=11, Resulting Numbers: [11]
11,34 unequal: No Solution
Exploring Operation: 40+29=69, Resulting Numbers: [69]
69,34 unequal: No Solution
Exploring Operation: 40*29=1160, Resulting Numbers: [1160]
1160,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 34:[28, 39], Operations: ['57-56=1', '40-1=39']
Exploring Operation: 28*39=1092, Resulting Numbers: [1092]
1092,34 unequal: No Solution
Exploring Operation: 28+39=67, Resulting Numbers: [67]
67,34 unequal: No Solution
Exploring Operation: 39-28=11, Resulting Numbers: [11]
11,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 34:[28, 56, 17], Operations: ['57-40=17']
Exploring Operation: 56-17=39, Resulting Numbers: [28, 39]
Generated Node #0,0,0: 34:[28, 39] Operation: 56-17=39
Exploring Operation: 56-28=28, Resulting Numbers: [17, 28]
Generated Node #0,0,1: 34:[17, 28] Operation: 56-28=28
Exploring Operation: 56/28=2, Resulting Numbers: [17, 2]
Generated Node #0,0,2: 34:[17, 2] Operation: 56/28=2
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 34:[17, 2], Operations: ['57-40=17', '56/28=2']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,34 unequal: No Solution
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[57, 28, 56, 40], Operations: []
Exploring Operation: 57-40=17, Resulting Numbers: [28, 56, 17]
Generated Node #0,0: 34:[28, 56, 17] Operation: 57-40=17
Moving to Node #0,0
Current State: 34:[28, 56, 17], Operations: ['57-40=17']
Exploring Operation: 56/28=2, Resulting Numbers: [17, 2]
Generated Node #0,0,2: 34:[17, 2] Operation: 56/28=2
Moving to Node #0,0,2
Current State: 34:[17, 2], Operations: ['57-40=17', '56/28=2']
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_3 | sum_heuristic |
[
8,
20,
37,
44
] | 69 | [
"20-8=12",
"37+44=81",
"81-12=69"
] | Current State: 69:[8, 20, 37, 44], Operations: []
Exploring Operation: 20-8=12, Resulting Numbers: [37, 44, 12]
Generated Node #2: [37, 44, 12] from Operation: 20-8=12
Current State: 69:[37, 44, 12], Operations: ['20-8=12']
Exploring Operation: 37+44=81, Resulting Numbers: [12, 81]
Generated Node #3: [12, 81] from Operation: 37+44=81
Current State: 69:[12, 81], Operations: ['20-8=12', '37+44=81']
Exploring Operation: 81-12=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[8, 20, 37, 44], Operations: []
Exploring Operation: 44-20=24, Resulting Numbers: [8, 37, 24]
Generated Node #0,0: 69:[8, 37, 24] Operation: 44-20=24
Exploring Operation: 44-37=7, Resulting Numbers: [8, 20, 7]
Generated Node #0,1: 69:[8, 20, 7] Operation: 44-37=7
Moving to Node #0,1
Current State: 69:[8, 20, 7], Operations: ['44-37=7']
Exploring Operation: 8-7=1, Resulting Numbers: [20, 1]
Generated Node #0,1,0: 69:[20, 1] Operation: 8-7=1
Exploring Operation: 8+20=28, Resulting Numbers: [7, 28]
Generated Node #0,1,1: 69:[7, 28] Operation: 8+20=28
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 69:[20, 1], Operations: ['44-37=7', '8-7=1']
Exploring Operation: 20*1=20, Resulting Numbers: [20]
20,69 unequal: No Solution
Exploring Operation: 20+1=21, Resulting Numbers: [21]
21,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 69:[7, 28], Operations: ['44-37=7', '8+20=28']
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,69 unequal: No Solution
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 69:[8, 37, 24], Operations: ['44-20=24']
Exploring Operation: 37+24=61, Resulting Numbers: [8, 61]
Generated Node #0,0,0: 69:[8, 61] Operation: 37+24=61
Exploring Operation: 37-8=29, Resulting Numbers: [24, 29]
Generated Node #0,0,1: 69:[24, 29] Operation: 37-8=29
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 69:[24, 29], Operations: ['44-20=24', '37-8=29']
Exploring Operation: 29-24=5, Resulting Numbers: [5]
5,69 unequal: No Solution
Exploring Operation: 24+29=53, Resulting Numbers: [53]
53,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 69:[8, 61], Operations: ['44-20=24', '37+24=61']
Exploring Operation: 8+61=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[8, 20, 37, 44], Operations: []
Exploring Operation: 44-20=24, Resulting Numbers: [8, 37, 24]
Generated Node #0,0: 69:[8, 37, 24] Operation: 44-20=24
Moving to Node #0,0
Current State: 69:[8, 37, 24], Operations: ['44-20=24']
Exploring Operation: 37+24=61, Resulting Numbers: [8, 61]
Generated Node #0,0,0: 69:[8, 61] Operation: 37+24=61
Moving to Node #0,0,0
Current State: 69:[8, 61], Operations: ['44-20=24', '37+24=61']
Exploring Operation: 8+61=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_2 | sum_heuristic |
[
20,
41,
42,
20
] | 42 | [
"41-20=21",
"21-20=1",
"42*1=42"
] | Current State: 42:[20, 41, 42, 20], Operations: []
Exploring Operation: 41-20=21, Resulting Numbers: [42, 21]
Generated Node #2: [42, 21] from Operation: 41-20=21
Current State: 42:[42, 21], Operations: ['41-20=21']
Exploring Operation: 21-20=1, Resulting Numbers: [42, 1]
Generated Node #3: [42, 1] from Operation: 21-20=1
Current State: 42:[42, 1], Operations: ['41-20=21', '21-20=1']
Exploring Operation: 42*1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[20, 41, 42, 20], Operations: []
Exploring Operation: 20+20=40, Resulting Numbers: [41, 42, 40]
Generated Node #0,0: 42:[41, 42, 40] Operation: 20+20=40
Exploring Operation: 41-20=21, Resulting Numbers: [20, 42, 21]
Generated Node #0,1: 42:[20, 42, 21] Operation: 41-20=21
Exploring Operation: 41-20=21, Resulting Numbers: [42, 20, 21]
Generated Node #0,2: 42:[42, 20, 21] Operation: 41-20=21
Exploring Operation: 20/20=1, Resulting Numbers: [41, 42, 1]
Generated Node #0,3: 42:[41, 42, 1] Operation: 20/20=1
Exploring Operation: 42-20=22, Resulting Numbers: [41, 20, 22]
Generated Node #0,4: 42:[41, 20, 22] Operation: 42-20=22
Start Sub Search at level 1: Moving to Node #0,1
Current State: 42:[20, 42, 21], Operations: ['41-20=21']
Exploring Operation: 21-20=1, Resulting Numbers: [42, 1]
Generated Node #0,1,0: 42:[42, 1] Operation: 21-20=1
Exploring Operation: 42-20=22, Resulting Numbers: [21, 22]
Generated Node #0,1,1: 42:[21, 22] Operation: 42-20=22
Exploring Operation: 42/21=2, Resulting Numbers: [20, 2]
Generated Node #0,1,2: 42:[20, 2] Operation: 42/21=2
Exploring Operation: 20+21=41, Resulting Numbers: [42, 41]
Generated Node #0,1,3: 42:[42, 41] Operation: 20+21=41
Exploring Operation: 42-21=21, Resulting Numbers: [20, 21]
Generated Node #0,1,4: 42:[20, 21] Operation: 42-21=21
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 42:[42, 1], Operations: ['41-20=21', '21-20=1']
Exploring Operation: 42/1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[20, 41, 42, 20], Operations: []
Exploring Operation: 41-20=21, Resulting Numbers: [20, 42, 21]
Generated Node #0,1: 42:[20, 42, 21] Operation: 41-20=21
Moving to Node #0,1
Current State: 42:[20, 42, 21], Operations: ['41-20=21']
Exploring Operation: 21-20=1, Resulting Numbers: [42, 1]
Generated Node #0,1,0: 42:[42, 1] Operation: 21-20=1
Moving to Node #0,1,0
Current State: 42:[42, 1], Operations: ['41-20=21', '21-20=1']
Exploring Operation: 42/1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
51,
15,
4,
26
] | 36 | [
"51+15=66",
"4+26=30",
"66-30=36"
] | Current State: 36:[51, 15, 4, 26], Operations: []
Exploring Operation: 51+15=66, Resulting Numbers: [4, 26, 66]
Generated Node #2: [4, 26, 66] from Operation: 51+15=66
Current State: 36:[4, 26, 66], Operations: ['51+15=66']
Exploring Operation: 4+26=30, Resulting Numbers: [66, 30]
Generated Node #3: [66, 30] from Operation: 4+26=30
Current State: 36:[66, 30], Operations: ['51+15=66', '4+26=30']
Exploring Operation: 66-30=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[51, 15, 4, 26], Operations: []
Exploring Operation: 51-4=47, Resulting Numbers: [15, 26, 47]
Generated Node #0,0: 36:[15, 26, 47] Operation: 51-4=47
Exploring Operation: 26-15=11, Resulting Numbers: [51, 4, 11]
Generated Node #0,1: 36:[51, 4, 11] Operation: 26-15=11
Exploring Operation: 15+26=41, Resulting Numbers: [51, 4, 41]
Generated Node #0,2: 36:[51, 4, 41] Operation: 15+26=41
Exploring Operation: 51-26=25, Resulting Numbers: [15, 4, 25]
Generated Node #0,3: 36:[15, 4, 25] Operation: 51-26=25
Exploring Operation: 51-15=36, Resulting Numbers: [4, 26, 36]
Generated Node #0,4: 36:[4, 26, 36] Operation: 51-15=36
Moving to Node #0,4
Current State: 36:[4, 26, 36], Operations: ['51-15=36']
Exploring Operation: 26-4=22, Resulting Numbers: [36, 22]
Generated Node #0,4,0: 36:[36, 22] Operation: 26-4=22
Exploring Operation: 4+36=40, Resulting Numbers: [26, 40]
Generated Node #0,4,1: 36:[26, 40] Operation: 4+36=40
Exploring Operation: 36/4=9, Resulting Numbers: [26, 9]
Generated Node #0,4,2: 36:[26, 9] Operation: 36/4=9
Exploring Operation: 4+26=30, Resulting Numbers: [36, 30]
Generated Node #0,4,3: 36:[36, 30] Operation: 4+26=30
Exploring Operation: 36-26=10, Resulting Numbers: [4, 10]
Generated Node #0,4,4: 36:[4, 10] Operation: 36-26=10
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 36:[4, 10], Operations: ['51-15=36', '36-26=10']
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,36 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 36:[36, 22], Operations: ['51-15=36', '26-4=22']
Exploring Operation: 36*22=792, Resulting Numbers: [792]
792,36 unequal: No Solution
Exploring Operation: 36+22=58, Resulting Numbers: [58]
58,36 unequal: No Solution
Exploring Operation: 36-22=14, Resulting Numbers: [14]
14,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 36:[36, 30], Operations: ['51-15=36', '4+26=30']
Exploring Operation: 36-30=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 36*30=1080, Resulting Numbers: [1080]
1080,36 unequal: No Solution
Exploring Operation: 36+30=66, Resulting Numbers: [66]
66,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 36:[26, 9], Operations: ['51-15=36', '36/4=9']
Exploring Operation: 26-9=17, Resulting Numbers: [17]
17,36 unequal: No Solution
Exploring Operation: 26*9=234, Resulting Numbers: [234]
234,36 unequal: No Solution
Exploring Operation: 26+9=35, Resulting Numbers: [35]
35,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 36:[26, 40], Operations: ['51-15=36', '4+36=40']
Exploring Operation: 26+40=66, Resulting Numbers: [66]
66,36 unequal: No Solution
Exploring Operation: 26*40=1040, Resulting Numbers: [1040]
1040,36 unequal: No Solution
Exploring Operation: 40-26=14, Resulting Numbers: [14]
14,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 36:[15, 4, 25], Operations: ['51-26=25']
Exploring Operation: 15+4=19, Resulting Numbers: [25, 19]
Generated Node #0,3,0: 36:[25, 19] Operation: 15+4=19
Exploring Operation: 15+25=40, Resulting Numbers: [4, 40]
Generated Node #0,3,1: 36:[4, 40] Operation: 15+25=40
Exploring Operation: 25-4=21, Resulting Numbers: [15, 21]
Generated Node #0,3,2: 36:[15, 21] Operation: 25-4=21
Exploring Operation: 15-4=11, Resulting Numbers: [25, 11]
Generated Node #0,3,3: 36:[25, 11] Operation: 15-4=11
Exploring Operation: 25-15=10, Resulting Numbers: [4, 10]
Generated Node #0,3,4: 36:[4, 10] Operation: 25-15=10
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 36:[4, 10], Operations: ['51-26=25', '25-15=10']
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,36 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 36:[4, 40], Operations: ['51-26=25', '15+25=40']
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 4*40=160, Resulting Numbers: [160]
160,36 unequal: No Solution
Exploring Operation: 4+40=44, Resulting Numbers: [44]
44,36 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[51, 15, 4, 26], Operations: []
Exploring Operation: 51-26=25, Resulting Numbers: [15, 4, 25]
Generated Node #0,3: 36:[15, 4, 25] Operation: 51-26=25
Moving to Node #0,3
Current State: 36:[15, 4, 25], Operations: ['51-26=25']
Exploring Operation: 15+25=40, Resulting Numbers: [4, 40]
Generated Node #0,3,1: 36:[4, 40] Operation: 15+25=40
Moving to Node #0,3,1
Current State: 36:[4, 40], Operations: ['51-26=25', '15+25=40']
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.96441 | hs_5 | sum_heuristic |
[
11,
48,
30,
9
] | 36 | [
"11-9=2",
"48-30=18",
"2*18=36"
] | Current State: 36:[11, 48, 30, 9], Operations: []
Exploring Operation: 11-9=2, Resulting Numbers: [48, 30, 2]
Generated Node #2: [48, 30, 2] from Operation: 11-9=2
Current State: 36:[48, 30, 2], Operations: ['11-9=2']
Exploring Operation: 48-30=18, Resulting Numbers: [2, 18]
Generated Node #3: [2, 18] from Operation: 48-30=18
Current State: 36:[2, 18], Operations: ['11-9=2', '48-30=18']
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[11, 48, 30, 9], Operations: []
Exploring Operation: 48-30=18, Resulting Numbers: [11, 9, 18]
Generated Node #0,0: 36:[11, 9, 18] Operation: 48-30=18
Exploring Operation: 48-9=39, Resulting Numbers: [11, 30, 39]
Generated Node #0,1: 36:[11, 30, 39] Operation: 48-9=39
Exploring Operation: 30-11=19, Resulting Numbers: [48, 9, 19]
Generated Node #0,2: 36:[48, 9, 19] Operation: 30-11=19
Exploring Operation: 48-11=37, Resulting Numbers: [30, 9, 37]
Generated Node #0,3: 36:[30, 9, 37] Operation: 48-11=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[11, 9, 18], Operations: ['48-30=18']
Exploring Operation: 11-9=2, Resulting Numbers: [18, 2]
Generated Node #0,0,0: 36:[18, 2] Operation: 11-9=2
Exploring Operation: 18/9=2, Resulting Numbers: [11, 2]
Generated Node #0,0,1: 36:[11, 2] Operation: 18/9=2
Exploring Operation: 18-9=9, Resulting Numbers: [11, 9]
Generated Node #0,0,2: 36:[11, 9] Operation: 18-9=9
Exploring Operation: 18-11=7, Resulting Numbers: [9, 7]
Generated Node #0,0,3: 36:[9, 7] Operation: 18-11=7
Moving to Node #0,0,0
Current State: 36:[18, 2], Operations: ['48-30=18', '11-9=2']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,36 unequal: No Solution
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[11, 48, 30, 9], Operations: []
Exploring Operation: 48-30=18, Resulting Numbers: [11, 9, 18]
Generated Node #0,0: 36:[11, 9, 18] Operation: 48-30=18
Moving to Node #0,0
Current State: 36:[11, 9, 18], Operations: ['48-30=18']
Exploring Operation: 11-9=2, Resulting Numbers: [18, 2]
Generated Node #0,0,0: 36:[18, 2] Operation: 11-9=2
Moving to Node #0,0,0
Current State: 36:[18, 2], Operations: ['48-30=18', '11-9=2']
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
49,
25,
20,
69
] | 16 | [
"69-49=20",
"20*20=400",
"400/25=16"
] | Current State: 16:[49, 25, 20, 69], Operations: []
Exploring Operation: 69-49=20, Resulting Numbers: [25, 20, 20]
Generated Node #2: [25, 20, 20] from Operation: 69-49=20
Current State: 16:[25, 20, 20], Operations: ['69-49=20']
Exploring Operation: 20*20=400, Resulting Numbers: [25, 400]
Generated Node #3: [25, 400] from Operation: 20*20=400
Current State: 16:[25, 400], Operations: ['69-49=20', '20*20=400']
Exploring Operation: 400/25=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[49, 25, 20, 69], Operations: []
Exploring Operation: 49-25=24, Resulting Numbers: [20, 69, 24]
Generated Node #0,0: 16:[20, 69, 24] Operation: 49-25=24
Exploring Operation: 69-49=20, Resulting Numbers: [25, 20, 20]
Generated Node #0,1: 16:[25, 20, 20] Operation: 69-49=20
Exploring Operation: 69-25=44, Resulting Numbers: [49, 20, 44]
Generated Node #0,2: 16:[49, 20, 44] Operation: 69-25=44
Start Sub Search at level 1: Moving to Node #0,1
Current State: 16:[25, 20, 20], Operations: ['69-49=20']
Exploring Operation: 25-20=5, Resulting Numbers: [20, 5]
Generated Node #0,1,0: 16:[20, 5] Operation: 25-20=5
Exploring Operation: 25-20=5, Resulting Numbers: [20, 5]
Generated Node #0,1,1: 16:[20, 5] Operation: 25-20=5
Exploring Operation: 20/20=1, Resulting Numbers: [25, 1]
Generated Node #0,1,2: 16:[25, 1] Operation: 20/20=1
Moving to Node #0,1,0
Current State: 16:[20, 5], Operations: ['69-49=20', '25-20=5']
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Exploring Operation: 20+5=25, Resulting Numbers: [25]
25,16 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,16 unequal: No Solution
Moving to Node #0,1,1
Current State: 16:[20, 5], Operations: ['69-49=20', '25-20=5']
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Exploring Operation: 20+5=25, Resulting Numbers: [25]
25,16 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,16 unequal: No Solution
Moving to Node #0,1,2
Current State: 16:[25, 1], Operations: ['69-49=20', '20/20=1']
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,16 unequal: No Solution
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,16 unequal: No Solution
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[20, 69, 24], Operations: ['49-25=24']
Exploring Operation: 69-20=49, Resulting Numbers: [24, 49]
Generated Node #0,0,0: 16:[24, 49] Operation: 69-20=49
Exploring Operation: 24-20=4, Resulting Numbers: [69, 4]
Generated Node #0,0,1: 16:[69, 4] Operation: 24-20=4
Exploring Operation: 69-24=45, Resulting Numbers: [20, 45]
Generated Node #0,0,2: 16:[20, 45] Operation: 69-24=45
Moving to Node #0,0,2
Current State: 16:[20, 45], Operations: ['49-25=24', '69-24=45']
Exploring Operation: 20*45=900, Resulting Numbers: [900]
900,16 unequal: No Solution
Exploring Operation: 20+45=65, Resulting Numbers: [65]
65,16 unequal: No Solution
Exploring Operation: 45-20=25, Resulting Numbers: [25]
25,16 unequal: No Solution
Moving to Node #0,0,0
Current State: 16:[24, 49], Operations: ['49-25=24', '69-20=49']
Exploring Operation: 24*49=1176, Resulting Numbers: [1176]
1176,16 unequal: No Solution
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,16 unequal: No Solution
Exploring Operation: 24+49=73, Resulting Numbers: [73]
73,16 unequal: No Solution
Moving to Node #0,0,1
Current State: 16:[69, 4], Operations: ['49-25=24', '24-20=4']
Exploring Operation: 69+4=73, Resulting Numbers: [73]
73,16 unequal: No Solution
Exploring Operation: 69-4=65, Resulting Numbers: [65]
65,16 unequal: No Solution
Exploring Operation: 69*4=276, Resulting Numbers: [276]
276,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 16:[49, 20, 44], Operations: ['69-25=44']
Exploring Operation: 49-20=29, Resulting Numbers: [44, 29]
Generated Node #0,2,0: 16:[44, 29] Operation: 49-20=29
Exploring Operation: 44-20=24, Resulting Numbers: [49, 24]
Generated Node #0,2,1: 16:[49, 24] Operation: 44-20=24
Exploring Operation: 49-44=5, Resulting Numbers: [20, 5]
Generated Node #0,2,2: 16:[20, 5] Operation: 49-44=5
Moving to Node #0,2,2
Current State: 16:[20, 5], Operations: ['69-25=44', '49-44=5']
Exploring Operation: 20+5=25, Resulting Numbers: [25]
25,16 unequal: No Solution
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,16 unequal: No Solution
Moving to Node #0,2,0
Current State: 16:[44, 29], Operations: ['69-25=44', '49-20=29']
Exploring Operation: 44-29=15, Resulting Numbers: [15]
15,16 unequal: No Solution
Exploring Operation: 44+29=73, Resulting Numbers: [73]
73,16 unequal: No Solution
Exploring Operation: 44*29=1276, Resulting Numbers: [1276]
1276,16 unequal: No Solution
Moving to Node #0,2,1
Current State: 16:[49, 24], Operations: ['69-25=44', '44-20=24']
Exploring Operation: 49*24=1176, Resulting Numbers: [1176]
1176,16 unequal: No Solution
Exploring Operation: 49+24=73, Resulting Numbers: [73]
73,16 unequal: No Solution
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
37,
16,
99,
8
] | 66 | [
"99-37=62",
"16*8=128",
"128-62=66"
] | Current State: 66:[37, 16, 99, 8], Operations: []
Exploring Operation: 99-37=62, Resulting Numbers: [16, 8, 62]
Generated Node #2: [16, 8, 62] from Operation: 99-37=62
Current State: 66:[16, 8, 62], Operations: ['99-37=62']
Exploring Operation: 16*8=128, Resulting Numbers: [62, 128]
Generated Node #3: [62, 128] from Operation: 16*8=128
Current State: 66:[62, 128], Operations: ['99-37=62', '16*8=128']
Exploring Operation: 128-62=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[37, 16, 99, 8], Operations: []
Exploring Operation: 99-16=83, Resulting Numbers: [37, 8, 83]
Generated Node #0,0: 66:[37, 8, 83] Operation: 99-16=83
Exploring Operation: 99-8=91, Resulting Numbers: [37, 16, 91]
Generated Node #0,1: 66:[37, 16, 91] Operation: 99-8=91
Exploring Operation: 99-37=62, Resulting Numbers: [16, 8, 62]
Generated Node #0,2: 66:[16, 8, 62] Operation: 99-37=62
Moving to Node #0,2
Current State: 66:[16, 8, 62], Operations: ['99-37=62']
Exploring Operation: 16/8=2, Resulting Numbers: [62, 2]
Generated Node #0,2,0: 66:[62, 2] Operation: 16/8=2
Exploring Operation: 16+8=24, Resulting Numbers: [62, 24]
Generated Node #0,2,1: 66:[62, 24] Operation: 16+8=24
Exploring Operation: 16-8=8, Resulting Numbers: [62, 8]
Generated Node #0,2,2: 66:[62, 8] Operation: 16-8=8
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 66:[62, 2], Operations: ['99-37=62', '16/8=2']
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,66 unequal: No Solution
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,66 unequal: No Solution
Exploring Operation: 62+2=64, Resulting Numbers: [64]
64,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 66:[62, 24], Operations: ['99-37=62', '16+8=24']
Exploring Operation: 62+24=86, Resulting Numbers: [86]
86,66 unequal: No Solution
Exploring Operation: 62-24=38, Resulting Numbers: [38]
38,66 unequal: No Solution
Exploring Operation: 62*24=1488, Resulting Numbers: [1488]
1488,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 66:[62, 8], Operations: ['99-37=62', '16-8=8']
Exploring Operation: 62*8=496, Resulting Numbers: [496]
496,66 unequal: No Solution
Exploring Operation: 62+8=70, Resulting Numbers: [70]
70,66 unequal: No Solution
Exploring Operation: 62-8=54, Resulting Numbers: [54]
54,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 66:[37, 8, 83], Operations: ['99-16=83']
Exploring Operation: 83-37=46, Resulting Numbers: [8, 46]
Generated Node #0,0,0: 66:[8, 46] Operation: 83-37=46
Exploring Operation: 83-8=75, Resulting Numbers: [37, 75]
Generated Node #0,0,1: 66:[37, 75] Operation: 83-8=75
Exploring Operation: 37-8=29, Resulting Numbers: [83, 29]
Generated Node #0,0,2: 66:[83, 29] Operation: 37-8=29
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 66:[37, 75], Operations: ['99-16=83', '83-8=75']
Exploring Operation: 75-37=38, Resulting Numbers: [38]
38,66 unequal: No Solution
Exploring Operation: 37*75=2775, Resulting Numbers: [2775]
2775,66 unequal: No Solution
Exploring Operation: 37+75=112, Resulting Numbers: [112]
112,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[8, 46], Operations: ['99-16=83', '83-37=46']
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,66 unequal: No Solution
Exploring Operation: 8*46=368, Resulting Numbers: [368]
368,66 unequal: No Solution
Exploring Operation: 8+46=54, Resulting Numbers: [54]
54,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 66:[83, 29], Operations: ['99-16=83', '37-8=29']
Exploring Operation: 83*29=2407, Resulting Numbers: [2407]
2407,66 unequal: No Solution
Exploring Operation: 83-29=54, Resulting Numbers: [54]
54,66 unequal: No Solution
Exploring Operation: 83+29=112, Resulting Numbers: [112]
112,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 66:[37, 16, 91], Operations: ['99-8=91']
Exploring Operation: 37-16=21, Resulting Numbers: [91, 21]
Generated Node #0,1,0: 66:[91, 21] Operation: 37-16=21
Exploring Operation: 91-16=75, Resulting Numbers: [37, 75]
Generated Node #0,1,1: 66:[37, 75] Operation: 91-16=75
Exploring Operation: 91-37=54, Resulting Numbers: [16, 54]
Generated Node #0,1,2: 66:[16, 54] Operation: 91-37=54
Moving to Node #0,1,1
Current State: 66:[37, 75], Operations: ['99-8=91', '91-16=75']
Exploring Operation: 37*75=2775, Resulting Numbers: [2775]
2775,66 unequal: No Solution
Exploring Operation: 37+75=112, Resulting Numbers: [112]
112,66 unequal: No Solution
Exploring Operation: 75-37=38, Resulting Numbers: [38]
38,66 unequal: No Solution
Moving to Node #0,1,2
Current State: 66:[16, 54], Operations: ['99-8=91', '91-37=54']
Exploring Operation: 16+54=70, Resulting Numbers: [70]
70,66 unequal: No Solution
Exploring Operation: 16*54=864, Resulting Numbers: [864]
864,66 unequal: No Solution
Exploring Operation: 54-16=38, Resulting Numbers: [38]
38,66 unequal: No Solution
Moving to Node #0,1,0
Current State: 66:[91, 21], Operations: ['99-8=91', '37-16=21']
Exploring Operation: 91-21=70, Resulting Numbers: [70]
70,66 unequal: No Solution
Exploring Operation: 91*21=1911, Resulting Numbers: [1911]
1911,66 unequal: No Solution
Exploring Operation: 91+21=112, Resulting Numbers: [112]
112,66 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
7,
49,
30,
84
] | 60 | [
"49-7=42",
"30*84=2520",
"2520/42=60"
] | Current State: 60:[7, 49, 30, 84], Operations: []
Exploring Operation: 49-7=42, Resulting Numbers: [30, 84, 42]
Generated Node #2: [30, 84, 42] from Operation: 49-7=42
Current State: 60:[30, 84, 42], Operations: ['49-7=42']
Exploring Operation: 30*84=2520, Resulting Numbers: [42, 2520]
Generated Node #3: [42, 2520] from Operation: 30*84=2520
Current State: 60:[42, 2520], Operations: ['49-7=42', '30*84=2520']
Exploring Operation: 2520/42=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[7, 49, 30, 84], Operations: []
Exploring Operation: 84-49=35, Resulting Numbers: [7, 30, 35]
Generated Node #0,0: 60:[7, 30, 35] Operation: 84-49=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[7, 30, 35], Operations: ['84-49=35']
Exploring Operation: 35/7=5, Resulting Numbers: [30, 5]
Generated Node #0,0,0: 60:[30, 5] Operation: 35/7=5
Moving to Node #0,0,0
Current State: 60:[30, 5], Operations: ['84-49=35', '35/7=5']
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
18,
51,
48,
15
] | 63 | [
"51-48=3",
"15*3=45",
"18+45=63"
] | Current State: 63:[18, 51, 48, 15], Operations: []
Exploring Operation: 51-48=3, Resulting Numbers: [18, 15, 3]
Generated Node #2: [18, 15, 3] from Operation: 51-48=3
Current State: 63:[18, 15, 3], Operations: ['51-48=3']
Exploring Operation: 15*3=45, Resulting Numbers: [18, 45]
Generated Node #3: [18, 45] from Operation: 15*3=45
Current State: 63:[18, 45], Operations: ['51-48=3', '15*3=45']
Exploring Operation: 18+45=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[18, 51, 48, 15], Operations: []
Exploring Operation: 18+48=66, Resulting Numbers: [51, 15, 66]
Generated Node #0,0: 63:[51, 15, 66] Operation: 18+48=66
Exploring Operation: 48+15=63, Resulting Numbers: [18, 51, 63]
Generated Node #0,1: 63:[18, 51, 63] Operation: 48+15=63
Exploring Operation: 51-48=3, Resulting Numbers: [18, 15, 3]
Generated Node #0,2: 63:[18, 15, 3] Operation: 51-48=3
Exploring Operation: 51+15=66, Resulting Numbers: [18, 48, 66]
Generated Node #0,3: 63:[18, 48, 66] Operation: 51+15=66
Start Sub Search at level 1: Moving to Node #0,2
Current State: 63:[18, 15, 3], Operations: ['51-48=3']
Exploring Operation: 15/3=5, Resulting Numbers: [18, 5]
Generated Node #0,2,0: 63:[18, 5] Operation: 15/3=5
Exploring Operation: 18-15=3, Resulting Numbers: [3, 3]
Generated Node #0,2,1: 63:[3, 3] Operation: 18-15=3
Exploring Operation: 18+3=21, Resulting Numbers: [15, 21]
Generated Node #0,2,2: 63:[15, 21] Operation: 18+3=21
Exploring Operation: 15+3=18, Resulting Numbers: [18, 18]
Generated Node #0,2,3: 63:[18, 18] Operation: 15+3=18
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 63:[3, 3], Operations: ['51-48=3', '18-15=3']
Exploring Operation: 3-3=0, Resulting Numbers: [0]
0,63 unequal: No Solution
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,63 unequal: No Solution
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,63 unequal: No Solution
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 63:[18, 5], Operations: ['51-48=3', '15/3=5']
Exploring Operation: 18*5=90, Resulting Numbers: [90]
90,63 unequal: No Solution
Exploring Operation: 18+5=23, Resulting Numbers: [23]
23,63 unequal: No Solution
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 63:[15, 21], Operations: ['51-48=3', '18+3=21']
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,63 unequal: No Solution
Exploring Operation: 15*21=315, Resulting Numbers: [315]
315,63 unequal: No Solution
Exploring Operation: 15+21=36, Resulting Numbers: [36]
36,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 63:[18, 18], Operations: ['51-48=3', '15+3=18']
Exploring Operation: 18/18=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Exploring Operation: 18-18=0, Resulting Numbers: [0]
0,63 unequal: No Solution
Exploring Operation: 18+18=36, Resulting Numbers: [36]
36,63 unequal: No Solution
Exploring Operation: 18*18=324, Resulting Numbers: [324]
324,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 63:[18, 51, 63], Operations: ['48+15=63']
Exploring Operation: 18+51=69, Resulting Numbers: [63, 69]
Generated Node #0,1,0: 63:[63, 69] Operation: 18+51=69
Exploring Operation: 18+63=81, Resulting Numbers: [51, 81]
Generated Node #0,1,1: 63:[51, 81] Operation: 18+63=81
Exploring Operation: 51-18=33, Resulting Numbers: [63, 33]
Generated Node #0,1,2: 63:[63, 33] Operation: 51-18=33
Exploring Operation: 63-51=12, Resulting Numbers: [18, 12]
Generated Node #0,1,3: 63:[18, 12] Operation: 63-51=12
Moving to Node #0,1,0
Current State: 63:[63, 69], Operations: ['48+15=63', '18+51=69']
Exploring Operation: 69-63=6, Resulting Numbers: [6]
6,63 unequal: No Solution
Exploring Operation: 63+69=132, Resulting Numbers: [132]
132,63 unequal: No Solution
Exploring Operation: 63*69=4347, Resulting Numbers: [4347]
4347,63 unequal: No Solution
Moving to Node #0,1,3
Current State: 63:[18, 12], Operations: ['48+15=63', '63-51=12']
Exploring Operation: 18+12=30, Resulting Numbers: [30]
30,63 unequal: No Solution
Exploring Operation: 18*12=216, Resulting Numbers: [216]
216,63 unequal: No Solution
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,63 unequal: No Solution
Moving to Node #0,1,2
Current State: 63:[63, 33], Operations: ['48+15=63', '51-18=33']
Exploring Operation: 63*33=2079, Resulting Numbers: [2079]
2079,63 unequal: No Solution
Exploring Operation: 63-33=30, Resulting Numbers: [30]
30,63 unequal: No Solution
Exploring Operation: 63+33=96, Resulting Numbers: [96]
96,63 unequal: No Solution
Moving to Node #0,1,1
Current State: 63:[51, 81], Operations: ['48+15=63', '18+63=81']
Exploring Operation: 81-51=30, Resulting Numbers: [30]
30,63 unequal: No Solution
Exploring Operation: 51+81=132, Resulting Numbers: [132]
132,63 unequal: No Solution
Exploring Operation: 51*81=4131, Resulting Numbers: [4131]
4131,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[51, 15, 66], Operations: ['18+48=66']
Exploring Operation: 66-15=51, Resulting Numbers: [51, 51]
Generated Node #0,0,0: 63:[51, 51] Operation: 66-15=51
Exploring Operation: 51+15=66, Resulting Numbers: [66, 66]
Generated Node #0,0,1: 63:[66, 66] Operation: 51+15=66
Exploring Operation: 66-51=15, Resulting Numbers: [15, 15]
Generated Node #0,0,2: 63:[15, 15] Operation: 66-51=15
Exploring Operation: 51-15=36, Resulting Numbers: [66, 36]
Generated Node #0,0,3: 63:[66, 36] Operation: 51-15=36
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 63:[66, 66], Operations: ['18+48=66', '51+15=66']
Exploring Operation: 66+66=132, Resulting Numbers: [132]
132,63 unequal: No Solution
Exploring Operation: 66/66=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Exploring Operation: 66*66=4356, Resulting Numbers: [4356]
4356,63 unequal: No Solution
Exploring Operation: 66-66=0, Resulting Numbers: [0]
0,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 63:[15, 15], Operations: ['18+48=66', '66-51=15']
Exploring Operation: 15+15=30, Resulting Numbers: [30]
30,63 unequal: No Solution
Exploring Operation: 15-15=0, Resulting Numbers: [0]
0,63 unequal: No Solution
Exploring Operation: 15*15=225, Resulting Numbers: [225]
225,63 unequal: No Solution
Exploring Operation: 15/15=1, Resulting Numbers: [1]
1,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 63:[66, 36], Operations: ['18+48=66', '51-15=36']
Exploring Operation: 66+36=102, Resulting Numbers: [102]
102,63 unequal: No Solution
Exploring Operation: 66-36=30, Resulting Numbers: [30]
30,63 unequal: No Solution
Exploring Operation: 66*36=2376, Resulting Numbers: [2376]
2376,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 63:[51, 51], Operations: ['18+48=66', '66-15=51']
Exploring Operation: 51-51=0, Resulting Numbers: [0]
0,63 unequal: No Solution
Exploring Operation: 51/51=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Exploring Operation: 51+51=102, Resulting Numbers: [102]
102,63 unequal: No Solution
Exploring Operation: 51*51=2601, Resulting Numbers: [2601]
2601,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 63:[18, 48, 66], Operations: ['51+15=66']
Exploring Operation: 66-48=18, Resulting Numbers: [18, 18]
Generated Node #0,3,0: 63:[18, 18] Operation: 66-48=18
Exploring Operation: 18+48=66, Resulting Numbers: [66, 66]
Generated Node #0,3,1: 63:[66, 66] Operation: 18+48=66
Exploring Operation: 66-18=48, Resulting Numbers: [48, 48]
Generated Node #0,3,2: 63:[48, 48] Operation: 66-18=48
Exploring Operation: 48-18=30, Resulting Numbers: [66, 30]
Generated Node #0,3,3: 63:[66, 30] Operation: 48-18=30
Moving to Node #0,3,0
Current State: 63:[18, 18], Operations: ['51+15=66', '66-48=18']
Exploring Operation: 18*18=324, Resulting Numbers: [324]
324,63 unequal: No Solution
Exploring Operation: 18-18=0, Resulting Numbers: [0]
0,63 unequal: No Solution
Exploring Operation: 18/18=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Exploring Operation: 18+18=36, Resulting Numbers: [36]
36,63 unequal: No Solution
Moving to Node #0,3,1
Current State: 63:[66, 66], Operations: ['51+15=66', '18+48=66']
Exploring Operation: 66/66=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Exploring Operation: 66-66=0, Resulting Numbers: [0]
0,63 unequal: No Solution
Exploring Operation: 66*66=4356, Resulting Numbers: [4356]
4356,63 unequal: No Solution
Exploring Operation: 66+66=132, Resulting Numbers: [132]
132,63 unequal: No Solution
Moving to Node #0,3,3
Current State: 63:[66, 30], Operations: ['51+15=66', '48-18=30']
Exploring Operation: 66+30=96, Resulting Numbers: [96]
96,63 unequal: No Solution
Exploring Operation: 66-30=36, Resulting Numbers: [36]
36,63 unequal: No Solution
Exploring Operation: 66*30=1980, Resulting Numbers: [1980]
1980,63 unequal: No Solution
Moving to Node #0,3,2
Current State: 63:[48, 48], Operations: ['51+15=66', '66-18=48']
Exploring Operation: 48/48=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Exploring Operation: 48*48=2304, Resulting Numbers: [2304]
2304,63 unequal: No Solution
Exploring Operation: 48+48=96, Resulting Numbers: [96]
96,63 unequal: No Solution
Exploring Operation: 48-48=0, Resulting Numbers: [0]
0,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
6,
39,
5,
89
] | 51 | [
"39-6=33",
"89-5=84",
"84-33=51"
] | Current State: 51:[6, 39, 5, 89], Operations: []
Exploring Operation: 39-6=33, Resulting Numbers: [5, 89, 33]
Generated Node #2: [5, 89, 33] from Operation: 39-6=33
Current State: 51:[5, 89, 33], Operations: ['39-6=33']
Exploring Operation: 89-5=84, Resulting Numbers: [33, 84]
Generated Node #3: [33, 84] from Operation: 89-5=84
Current State: 51:[33, 84], Operations: ['39-6=33', '89-5=84']
Exploring Operation: 84-33=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[6, 39, 5, 89], Operations: []
Exploring Operation: 89-39=50, Resulting Numbers: [6, 5, 50]
Generated Node #0,0: 51:[6, 5, 50] Operation: 89-39=50
Exploring Operation: 6+39=45, Resulting Numbers: [5, 89, 45]
Generated Node #0,1: 51:[5, 89, 45] Operation: 6+39=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[6, 5, 50], Operations: ['89-39=50']
Exploring Operation: 6+5=11, Resulting Numbers: [50, 11]
Generated Node #0,0,0: 51:[50, 11] Operation: 6+5=11
Exploring Operation: 6-5=1, Resulting Numbers: [50, 1]
Generated Node #0,0,1: 51:[50, 1] Operation: 6-5=1
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 51:[50, 1], Operations: ['89-39=50', '6-5=1']
Exploring Operation: 50+1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[6, 39, 5, 89], Operations: []
Exploring Operation: 89-39=50, Resulting Numbers: [6, 5, 50]
Generated Node #0,0: 51:[6, 5, 50] Operation: 89-39=50
Moving to Node #0,0
Current State: 51:[6, 5, 50], Operations: ['89-39=50']
Exploring Operation: 6-5=1, Resulting Numbers: [50, 1]
Generated Node #0,0,1: 51:[50, 1] Operation: 6-5=1
Moving to Node #0,0,1
Current State: 51:[50, 1], Operations: ['89-39=50', '6-5=1']
Exploring Operation: 50+1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
44,
49,
60,
66
] | 50 | [
"60-49=11",
"66/11=6",
"44+6=50"
] | Current State: 50:[44, 49, 60, 66], Operations: []
Exploring Operation: 60-49=11, Resulting Numbers: [44, 66, 11]
Generated Node #2: [44, 66, 11] from Operation: 60-49=11
Current State: 50:[44, 66, 11], Operations: ['60-49=11']
Exploring Operation: 66/11=6, Resulting Numbers: [44, 6]
Generated Node #3: [44, 6] from Operation: 66/11=6
Current State: 50:[44, 6], Operations: ['60-49=11', '66/11=6']
Exploring Operation: 44+6=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[44, 49, 60, 66], Operations: []
Exploring Operation: 60-49=11, Resulting Numbers: [44, 66, 11]
Generated Node #0,0: 50:[44, 66, 11] Operation: 60-49=11
Exploring Operation: 60-44=16, Resulting Numbers: [49, 66, 16]
Generated Node #0,1: 50:[49, 66, 16] Operation: 60-44=16
Exploring Operation: 66-49=17, Resulting Numbers: [44, 60, 17]
Generated Node #0,2: 50:[44, 60, 17] Operation: 66-49=17
Exploring Operation: 66-44=22, Resulting Numbers: [49, 60, 22]
Generated Node #0,3: 50:[49, 60, 22] Operation: 66-44=22
Exploring Operation: 66-60=6, Resulting Numbers: [44, 49, 6]
Generated Node #0,4: 50:[44, 49, 6] Operation: 66-60=6
Start Sub Search at level 1: Moving to Node #0,4
Current State: 50:[44, 49, 6], Operations: ['66-60=6']
Exploring Operation: 49-44=5, Resulting Numbers: [6, 5]
Generated Node #0,4,0: 50:[6, 5] Operation: 49-44=5
Exploring Operation: 44-6=38, Resulting Numbers: [49, 38]
Generated Node #0,4,1: 50:[49, 38] Operation: 44-6=38
Exploring Operation: 44+6=50, Resulting Numbers: [49, 50]
Generated Node #0,4,2: 50:[49, 50] Operation: 44+6=50
Exploring Operation: 49+6=55, Resulting Numbers: [44, 55]
Generated Node #0,4,3: 50:[44, 55] Operation: 49+6=55
Exploring Operation: 49-6=43, Resulting Numbers: [44, 43]
Generated Node #0,4,4: 50:[44, 43] Operation: 49-6=43
Moving to Node #0,4,0
Current State: 50:[6, 5], Operations: ['66-60=6', '49-44=5']
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,50 unequal: No Solution
Moving to Node #0,4,2
Current State: 50:[49, 50], Operations: ['66-60=6', '44+6=50']
Exploring Operation: 50-49=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 49+50=99, Resulting Numbers: [99]
99,50 unequal: No Solution
Exploring Operation: 49*50=2450, Resulting Numbers: [2450]
2450,50 unequal: No Solution
Moving to Node #0,4,3
Current State: 50:[44, 55], Operations: ['66-60=6', '49+6=55']
Exploring Operation: 44*55=2420, Resulting Numbers: [2420]
2420,50 unequal: No Solution
Exploring Operation: 44+55=99, Resulting Numbers: [99]
99,50 unequal: No Solution
Exploring Operation: 55-44=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Moving to Node #0,4,1
Current State: 50:[49, 38], Operations: ['66-60=6', '44-6=38']
Exploring Operation: 49-38=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Exploring Operation: 49+38=87, Resulting Numbers: [87]
87,50 unequal: No Solution
Exploring Operation: 49*38=1862, Resulting Numbers: [1862]
1862,50 unequal: No Solution
Moving to Node #0,4,4
Current State: 50:[44, 43], Operations: ['66-60=6', '49-6=43']
Exploring Operation: 44+43=87, Resulting Numbers: [87]
87,50 unequal: No Solution
Exploring Operation: 44*43=1892, Resulting Numbers: [1892]
1892,50 unequal: No Solution
Exploring Operation: 44-43=1, Resulting Numbers: [1]
1,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 50:[49, 60, 22], Operations: ['66-44=22']
Exploring Operation: 60+22=82, Resulting Numbers: [49, 82]
Generated Node #0,3,0: 50:[49, 82] Operation: 60+22=82
Exploring Operation: 49-22=27, Resulting Numbers: [60, 27]
Generated Node #0,3,1: 50:[60, 27] Operation: 49-22=27
Exploring Operation: 60-49=11, Resulting Numbers: [22, 11]
Generated Node #0,3,2: 50:[22, 11] Operation: 60-49=11
Exploring Operation: 49+22=71, Resulting Numbers: [60, 71]
Generated Node #0,3,3: 50:[60, 71] Operation: 49+22=71
Exploring Operation: 60-22=38, Resulting Numbers: [49, 38]
Generated Node #0,3,4: 50:[49, 38] Operation: 60-22=38
Moving to Node #0,3,2
Current State: 50:[22, 11], Operations: ['66-44=22', '60-49=11']
Exploring Operation: 22*11=242, Resulting Numbers: [242]
242,50 unequal: No Solution
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Exploring Operation: 22+11=33, Resulting Numbers: [33]
33,50 unequal: No Solution
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Moving to Node #0,3,1
Current State: 50:[60, 27], Operations: ['66-44=22', '49-22=27']
Exploring Operation: 60*27=1620, Resulting Numbers: [1620]
1620,50 unequal: No Solution
Exploring Operation: 60+27=87, Resulting Numbers: [87]
87,50 unequal: No Solution
Exploring Operation: 60-27=33, Resulting Numbers: [33]
33,50 unequal: No Solution
Moving to Node #0,3,4
Current State: 50:[49, 38], Operations: ['66-44=22', '60-22=38']
Exploring Operation: 49*38=1862, Resulting Numbers: [1862]
1862,50 unequal: No Solution
Exploring Operation: 49-38=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Exploring Operation: 49+38=87, Resulting Numbers: [87]
87,50 unequal: No Solution
Moving to Node #0,3,3
Current State: 50:[60, 71], Operations: ['66-44=22', '49+22=71']
Exploring Operation: 71-60=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Exploring Operation: 60+71=131, Resulting Numbers: [131]
131,50 unequal: No Solution
Exploring Operation: 60*71=4260, Resulting Numbers: [4260]
4260,50 unequal: No Solution
Moving to Node #0,3,0
Current State: 50:[49, 82], Operations: ['66-44=22', '60+22=82']
Exploring Operation: 49+82=131, Resulting Numbers: [131]
131,50 unequal: No Solution
Exploring Operation: 82-49=33, Resulting Numbers: [33]
33,50 unequal: No Solution
Exploring Operation: 49*82=4018, Resulting Numbers: [4018]
4018,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[44, 66, 11], Operations: ['60-49=11']
Exploring Operation: 66-11=55, Resulting Numbers: [44, 55]
Generated Node #0,0,0: 50:[44, 55] Operation: 66-11=55
Exploring Operation: 44+11=55, Resulting Numbers: [66, 55]
Generated Node #0,0,1: 50:[66, 55] Operation: 44+11=55
Exploring Operation: 44/11=4, Resulting Numbers: [66, 4]
Generated Node #0,0,2: 50:[66, 4] Operation: 44/11=4
Exploring Operation: 66-44=22, Resulting Numbers: [11, 22]
Generated Node #0,0,3: 50:[11, 22] Operation: 66-44=22
Exploring Operation: 66/11=6, Resulting Numbers: [44, 6]
Generated Node #0,0,4: 50:[44, 6] Operation: 66/11=6
Moving to Node #0,0,3
Current State: 50:[11, 22], Operations: ['60-49=11', '66-44=22']
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Exploring Operation: 11+22=33, Resulting Numbers: [33]
33,50 unequal: No Solution
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Exploring Operation: 11*22=242, Resulting Numbers: [242]
242,50 unequal: No Solution
Moving to Node #0,0,4
Current State: 50:[44, 6], Operations: ['60-49=11', '66/11=6']
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,50 unequal: No Solution
Exploring Operation: 44+6=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[44, 49, 60, 66], Operations: []
Exploring Operation: 60-49=11, Resulting Numbers: [44, 66, 11]
Generated Node #0,0: 50:[44, 66, 11] Operation: 60-49=11
Moving to Node #0,0
Current State: 50:[44, 66, 11], Operations: ['60-49=11']
Exploring Operation: 66/11=6, Resulting Numbers: [44, 6]
Generated Node #0,0,4: 50:[44, 6] Operation: 66/11=6
Moving to Node #0,0,4
Current State: 50:[44, 6], Operations: ['60-49=11', '66/11=6']
Exploring Operation: 44+6=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.947049 | hs_5 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.