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 |
|---|---|---|---|---|---|---|---|---|
[
11,
53,
43,
57
] | 28 | [
"53-11=42",
"57-43=14",
"42-14=28"
] | Current State: 28:[11, 53, 43, 57], Operations: []
Exploring Operation: 53-11=42, Resulting Numbers: [43, 57, 42]
Generated Node #2: [43, 57, 42] from Operation: 53-11=42
Current State: 28:[43, 57, 42], Operations: ['53-11=42']
Exploring Operation: 57-43=14, Resulting Numbers: [42, 14]
Generated Node #3: [42, 14] from Operation: 57-43=14
Current State: 28:[42, 14], Operations: ['53-11=42', '57-43=14']
Exploring Operation: 42-14=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[11, 53, 43, 57], Operations: []
Exploring Operation: 57-43=14, Resulting Numbers: [11, 53, 14]
Generated Node #0,0: 28:[11, 53, 14] Operation: 57-43=14
Exploring Operation: 57-53=4, Resulting Numbers: [11, 43, 4]
Generated Node #0,1: 28:[11, 43, 4] Operation: 57-53=4
Moving to Node #0,1
Current State: 28:[11, 43, 4], Operations: ['57-53=4']
Exploring Operation: 43-4=39, Resulting Numbers: [11, 39]
Generated Node #0,1,0: 28:[11, 39] Operation: 43-4=39
Exploring Operation: 43-11=32, Resulting Numbers: [4, 32]
Generated Node #0,1,1: 28:[4, 32] Operation: 43-11=32
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 28:[4, 32], Operations: ['57-53=4', '43-11=32']
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[11, 53, 43, 57], Operations: []
Exploring Operation: 57-53=4, Resulting Numbers: [11, 43, 4]
Generated Node #0,1: 28:[11, 43, 4] Operation: 57-53=4
Moving to Node #0,1
Current State: 28:[11, 43, 4], Operations: ['57-53=4']
Exploring Operation: 43-11=32, Resulting Numbers: [4, 32]
Generated Node #0,1,1: 28:[4, 32] Operation: 43-11=32
Moving to Node #0,1,1
Current State: 28:[4, 32], Operations: ['57-53=4', '43-11=32']
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
62,
92,
81,
55
] | 18 | [
"62+92=154",
"81+55=136",
"154-136=18"
] | Current State: 18:[62, 92, 81, 55], Operations: []
Exploring Operation: 62+92=154, Resulting Numbers: [81, 55, 154]
Generated Node #2: [81, 55, 154] from Operation: 62+92=154
Current State: 18:[81, 55, 154], Operations: ['62+92=154']
Exploring Operation: 81+55=136, Resulting Numbers: [154, 136]
Generated Node #3: [154, 136] from Operation: 81+55=136
Current State: 18:[154, 136], Operations: ['62+92=154', '81+55=136']
Exploring Operation: 154-136=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[62, 92, 81, 55], Operations: []
Exploring Operation: 92-62=30, Resulting Numbers: [81, 55, 30]
Generated Node #0,0: 18:[81, 55, 30] Operation: 92-62=30
Exploring Operation: 92-81=11, Resulting Numbers: [62, 55, 11]
Generated Node #0,1: 18:[62, 55, 11] Operation: 92-81=11
Exploring Operation: 81-62=19, Resulting Numbers: [92, 55, 19]
Generated Node #0,2: 18:[92, 55, 19] Operation: 81-62=19
Exploring Operation: 92-55=37, Resulting Numbers: [62, 81, 37]
Generated Node #0,3: 18:[62, 81, 37] Operation: 92-55=37
Moving to Node #0,1
Current State: 18:[62, 55, 11], Operations: ['92-81=11']
Exploring Operation: 55-11=44, Resulting Numbers: [62, 44]
Generated Node #0,1,0: 18:[62, 44] Operation: 55-11=44
Exploring Operation: 62-11=51, Resulting Numbers: [55, 51]
Generated Node #0,1,1: 18:[55, 51] Operation: 62-11=51
Exploring Operation: 62-55=7, Resulting Numbers: [11, 7]
Generated Node #0,1,2: 18:[11, 7] Operation: 62-55=7
Exploring Operation: 55/11=5, Resulting Numbers: [62, 5]
Generated Node #0,1,3: 18:[62, 5] Operation: 55/11=5
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 18:[11, 7], Operations: ['92-81=11', '62-55=7']
Exploring Operation: 11+7=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[62, 92, 81, 55], Operations: []
Exploring Operation: 92-81=11, Resulting Numbers: [62, 55, 11]
Generated Node #0,1: 18:[62, 55, 11] Operation: 92-81=11
Moving to Node #0,1
Current State: 18:[62, 55, 11], Operations: ['92-81=11']
Exploring Operation: 62-55=7, Resulting Numbers: [11, 7]
Generated Node #0,1,2: 18:[11, 7] Operation: 62-55=7
Moving to Node #0,1,2
Current State: 18:[11, 7], Operations: ['92-81=11', '62-55=7']
Exploring Operation: 11+7=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
40,
92,
96,
80
] | 36 | [
"92-40=52",
"96-80=16",
"52-16=36"
] | Current State: 36:[40, 92, 96, 80], Operations: []
Exploring Operation: 92-40=52, Resulting Numbers: [96, 80, 52]
Generated Node #2: [96, 80, 52] from Operation: 92-40=52
Current State: 36:[96, 80, 52], Operations: ['92-40=52']
Exploring Operation: 96-80=16, Resulting Numbers: [52, 16]
Generated Node #3: [52, 16] from Operation: 96-80=16
Current State: 36:[52, 16], Operations: ['92-40=52', '96-80=16']
Exploring Operation: 52-16=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[40, 92, 96, 80], Operations: []
Exploring Operation: 92-80=12, Resulting Numbers: [40, 96, 12]
Generated Node #0,0: 36:[40, 96, 12] Operation: 92-80=12
Exploring Operation: 96-92=4, Resulting Numbers: [40, 80, 4]
Generated Node #0,1: 36:[40, 80, 4] Operation: 96-92=4
Exploring Operation: 80/40=2, Resulting Numbers: [92, 96, 2]
Generated Node #0,2: 36:[92, 96, 2] Operation: 80/40=2
Exploring Operation: 96-80=16, Resulting Numbers: [40, 92, 16]
Generated Node #0,3: 36:[40, 92, 16] Operation: 96-80=16
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[40, 80, 4], Operations: ['96-92=4']
Exploring Operation: 80-40=40, Resulting Numbers: [4, 40]
Generated Node #0,1,0: 36:[4, 40] Operation: 80-40=40
Exploring Operation: 80/4=20, Resulting Numbers: [40, 20]
Generated Node #0,1,1: 36:[40, 20] Operation: 80/4=20
Exploring Operation: 80/40=2, Resulting Numbers: [4, 2]
Generated Node #0,1,2: 36:[4, 2] Operation: 80/40=2
Exploring Operation: 40-4=36, Resulting Numbers: [80, 36]
Generated Node #0,1,3: 36:[80, 36] Operation: 40-4=36
Moving to Node #0,1,2
Current State: 36:[4, 2], Operations: ['96-92=4', '80/40=2']
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Moving to Node #0,1,0
Current State: 36:[4, 40], Operations: ['96-92=4', '80-40=40']
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[40, 92, 96, 80], Operations: []
Exploring Operation: 96-92=4, Resulting Numbers: [40, 80, 4]
Generated Node #0,1: 36:[40, 80, 4] Operation: 96-92=4
Moving to Node #0,1
Current State: 36:[40, 80, 4], Operations: ['96-92=4']
Exploring Operation: 80-40=40, Resulting Numbers: [4, 40]
Generated Node #0,1,0: 36:[4, 40] Operation: 80-40=40
Moving to Node #0,1,0
Current State: 36:[4, 40], Operations: ['96-92=4', '80-40=40']
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
55,
73,
74,
98
] | 43 | [
"98-55=43",
"74-73=1",
"43*1=43"
] | Current State: 43:[55, 73, 74, 98], Operations: []
Exploring Operation: 98-55=43, Resulting Numbers: [73, 74, 43]
Generated Node #2: [73, 74, 43] from Operation: 98-55=43
Current State: 43:[73, 74, 43], Operations: ['98-55=43']
Exploring Operation: 74-73=1, Resulting Numbers: [43, 1]
Generated Node #3: [43, 1] from Operation: 74-73=1
Current State: 43:[43, 1], Operations: ['98-55=43', '74-73=1']
Exploring Operation: 43*1=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[55, 73, 74, 98], Operations: []
Exploring Operation: 98-55=43, Resulting Numbers: [73, 74, 43]
Generated Node #0,0: 43:[73, 74, 43] Operation: 98-55=43
Exploring Operation: 98-73=25, Resulting Numbers: [55, 74, 25]
Generated Node #0,1: 43:[55, 74, 25] Operation: 98-73=25
Exploring Operation: 98-74=24, Resulting Numbers: [55, 73, 24]
Generated Node #0,2: 43:[55, 73, 24] Operation: 98-74=24
Moving to Node #0,0
Current State: 43:[73, 74, 43], Operations: ['98-55=43']
Exploring Operation: 74-73=1, Resulting Numbers: [43, 1]
Generated Node #0,0,0: 43:[43, 1] Operation: 74-73=1
Exploring Operation: 74-43=31, Resulting Numbers: [73, 31]
Generated Node #0,0,1: 43:[73, 31] Operation: 74-43=31
Exploring Operation: 73-43=30, Resulting Numbers: [74, 30]
Generated Node #0,0,2: 43:[74, 30] Operation: 73-43=30
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 43:[43, 1], Operations: ['98-55=43', '74-73=1']
Exploring Operation: 43/1=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[55, 73, 74, 98], Operations: []
Exploring Operation: 98-55=43, Resulting Numbers: [73, 74, 43]
Generated Node #0,0: 43:[73, 74, 43] Operation: 98-55=43
Moving to Node #0,0
Current State: 43:[73, 74, 43], Operations: ['98-55=43']
Exploring Operation: 74-73=1, Resulting Numbers: [43, 1]
Generated Node #0,0,0: 43:[43, 1] Operation: 74-73=1
Moving to Node #0,0,0
Current State: 43:[43, 1], Operations: ['98-55=43', '74-73=1']
Exploring Operation: 43/1=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
12,
60,
1,
71
] | 77 | [
"60/12=5",
"1+71=72",
"5+72=77"
] | Current State: 77:[12, 60, 1, 71], Operations: []
Exploring Operation: 60/12=5, Resulting Numbers: [1, 71, 5]
Generated Node #2: [1, 71, 5] from Operation: 60/12=5
Current State: 77:[1, 71, 5], Operations: ['60/12=5']
Exploring Operation: 1+71=72, Resulting Numbers: [5, 72]
Generated Node #3: [5, 72] from Operation: 1+71=72
Current State: 77:[5, 72], Operations: ['60/12=5', '1+71=72']
Exploring Operation: 5+72=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[12, 60, 1, 71], Operations: []
Exploring Operation: 71-60=11, Resulting Numbers: [12, 1, 11]
Generated Node #0,0: 77:[12, 1, 11] Operation: 71-60=11
Exploring Operation: 12+60=72, Resulting Numbers: [1, 71, 72]
Generated Node #0,1: 77:[1, 71, 72] Operation: 12+60=72
Exploring Operation: 60/12=5, Resulting Numbers: [1, 71, 5]
Generated Node #0,2: 77:[1, 71, 5] Operation: 60/12=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[12, 1, 11], Operations: ['71-60=11']
Exploring Operation: 12/1=12, Resulting Numbers: [11, 12]
Generated Node #0,0,0: 77:[11, 12] Operation: 12/1=12
Exploring Operation: 12-1=11, Resulting Numbers: [11, 11]
Generated Node #0,0,1: 77:[11, 11] Operation: 12-1=11
Exploring Operation: 12*1=12, Resulting Numbers: [11, 12]
Generated Node #0,0,2: 77:[11, 12] Operation: 12*1=12
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 77:[11, 11], Operations: ['71-60=11', '12-1=11']
Exploring Operation: 11-11=0, Resulting Numbers: [0]
0,77 unequal: No Solution
Exploring Operation: 11+11=22, Resulting Numbers: [22]
22,77 unequal: No Solution
Exploring Operation: 11/11=1, Resulting Numbers: [1]
1,77 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: 77:[11, 12], Operations: ['71-60=11', '12/1=12']
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,77 unequal: No Solution
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,77 unequal: No Solution
Exploring Operation: 11*12=132, Resulting Numbers: [132]
132,77 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: 77:[11, 12], Operations: ['71-60=11', '12*1=12']
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,77 unequal: No Solution
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,77 unequal: No Solution
Exploring Operation: 11*12=132, Resulting Numbers: [132]
132,77 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: 77:[1, 71, 5], Operations: ['60/12=5']
Exploring Operation: 71+5=76, Resulting Numbers: [1, 76]
Generated Node #0,2,0: 77:[1, 76] Operation: 71+5=76
Exploring Operation: 1+71=72, Resulting Numbers: [5, 72]
Generated Node #0,2,1: 77:[5, 72] Operation: 1+71=72
Exploring Operation: 1+5=6, Resulting Numbers: [71, 6]
Generated Node #0,2,2: 77:[71, 6] Operation: 1+5=6
Moving to Node #0,2,0
Current State: 77:[1, 76], Operations: ['60/12=5', '71+5=76']
Exploring Operation: 1*76=76, Resulting Numbers: [76]
76,77 unequal: No Solution
Exploring Operation: 1+76=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[12, 60, 1, 71], Operations: []
Exploring Operation: 60/12=5, Resulting Numbers: [1, 71, 5]
Generated Node #0,2: 77:[1, 71, 5] Operation: 60/12=5
Moving to Node #0,2
Current State: 77:[1, 71, 5], Operations: ['60/12=5']
Exploring Operation: 71+5=76, Resulting Numbers: [1, 76]
Generated Node #0,2,0: 77:[1, 76] Operation: 71+5=76
Moving to Node #0,2,0
Current State: 77:[1, 76], Operations: ['60/12=5', '71+5=76']
Exploring Operation: 1+76=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_3 | mult_heuristic |
[
25,
45,
35,
37
] | 72 | [
"25+45=70",
"37-35=2",
"70+2=72"
] | Current State: 72:[25, 45, 35, 37], Operations: []
Exploring Operation: 25+45=70, Resulting Numbers: [35, 37, 70]
Generated Node #2: [35, 37, 70] from Operation: 25+45=70
Current State: 72:[35, 37, 70], Operations: ['25+45=70']
Exploring Operation: 37-35=2, Resulting Numbers: [70, 2]
Generated Node #3: [70, 2] from Operation: 37-35=2
Current State: 72:[70, 2], Operations: ['25+45=70', '37-35=2']
Exploring Operation: 70+2=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[25, 45, 35, 37], Operations: []
Exploring Operation: 25+45=70, Resulting Numbers: [35, 37, 70]
Generated Node #0,0: 72:[35, 37, 70] Operation: 25+45=70
Exploring Operation: 45-37=8, Resulting Numbers: [25, 35, 8]
Generated Node #0,1: 72:[25, 35, 8] Operation: 45-37=8
Exploring Operation: 45-35=10, Resulting Numbers: [25, 37, 10]
Generated Node #0,2: 72:[25, 37, 10] Operation: 45-35=10
Moving to Node #0,1
Current State: 72:[25, 35, 8], Operations: ['45-37=8']
Exploring Operation: 25-8=17, Resulting Numbers: [35, 17]
Generated Node #0,1,0: 72:[35, 17] Operation: 25-8=17
Exploring Operation: 35-25=10, Resulting Numbers: [8, 10]
Generated Node #0,1,1: 72:[8, 10] Operation: 35-25=10
Exploring Operation: 25+8=33, Resulting Numbers: [35, 33]
Generated Node #0,1,2: 72:[35, 33] Operation: 25+8=33
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 72:[8, 10], Operations: ['45-37=8', '35-25=10']
Exploring Operation: 8*10=80, Resulting Numbers: [80]
80,72 unequal: No Solution
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,72 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: 72:[35, 17], Operations: ['45-37=8', '25-8=17']
Exploring Operation: 35-17=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Exploring Operation: 35*17=595, Resulting Numbers: [595]
595,72 unequal: No Solution
Exploring Operation: 35+17=52, Resulting Numbers: [52]
52,72 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: 72:[35, 33], Operations: ['45-37=8', '25+8=33']
Exploring Operation: 35+33=68, Resulting Numbers: [68]
68,72 unequal: No Solution
Exploring Operation: 35*33=1155, Resulting Numbers: [1155]
1155,72 unequal: No Solution
Exploring Operation: 35-33=2, Resulting Numbers: [2]
2,72 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: 72:[25, 37, 10], Operations: ['45-35=10']
Exploring Operation: 25-10=15, Resulting Numbers: [37, 15]
Generated Node #0,2,0: 72:[37, 15] Operation: 25-10=15
Exploring Operation: 37-25=12, Resulting Numbers: [10, 12]
Generated Node #0,2,1: 72:[10, 12] Operation: 37-25=12
Exploring Operation: 25+10=35, Resulting Numbers: [37, 35]
Generated Node #0,2,2: 72:[37, 35] Operation: 25+10=35
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 72:[10, 12], Operations: ['45-35=10', '37-25=12']
Exploring Operation: 12-10=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 10*12=120, Resulting Numbers: [120]
120,72 unequal: No Solution
Exploring Operation: 10+12=22, Resulting Numbers: [22]
22,72 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: 72:[37, 35], Operations: ['45-35=10', '25+10=35']
Exploring Operation: 37+35=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[25, 45, 35, 37], Operations: []
Exploring Operation: 45-35=10, Resulting Numbers: [25, 37, 10]
Generated Node #0,2: 72:[25, 37, 10] Operation: 45-35=10
Moving to Node #0,2
Current State: 72:[25, 37, 10], Operations: ['45-35=10']
Exploring Operation: 25+10=35, Resulting Numbers: [37, 35]
Generated Node #0,2,2: 72:[37, 35] Operation: 25+10=35
Moving to Node #0,2,2
Current State: 72:[37, 35], Operations: ['45-35=10', '25+10=35']
Exploring Operation: 37+35=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_3 | sum_heuristic |
[
30,
57,
7,
91
] | 28 | [
"30+57=87",
"91-87=4",
"7*4=28"
] | Current State: 28:[30, 57, 7, 91], Operations: []
Exploring Operation: 30+57=87, Resulting Numbers: [7, 91, 87]
Generated Node #2: [7, 91, 87] from Operation: 30+57=87
Current State: 28:[7, 91, 87], Operations: ['30+57=87']
Exploring Operation: 91-87=4, Resulting Numbers: [7, 4]
Generated Node #3: [7, 4] from Operation: 91-87=4
Current State: 28:[7, 4], Operations: ['30+57=87', '91-87=4']
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[30, 57, 7, 91], Operations: []
Exploring Operation: 91-57=34, Resulting Numbers: [30, 7, 34]
Generated Node #0,0: 28:[30, 7, 34] Operation: 91-57=34
Exploring Operation: 91/7=13, Resulting Numbers: [30, 57, 13]
Generated Node #0,1: 28:[30, 57, 13] Operation: 91/7=13
Exploring Operation: 91-30=61, Resulting Numbers: [57, 7, 61]
Generated Node #0,2: 28:[57, 7, 61] Operation: 91-30=61
Exploring Operation: 57-30=27, Resulting Numbers: [7, 91, 27]
Generated Node #0,3: 28:[7, 91, 27] Operation: 57-30=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[30, 7, 34], Operations: ['91-57=34']
Exploring Operation: 30-7=23, Resulting Numbers: [34, 23]
Generated Node #0,0,0: 28:[34, 23] Operation: 30-7=23
Exploring Operation: 30+7=37, Resulting Numbers: [34, 37]
Generated Node #0,0,1: 28:[34, 37] Operation: 30+7=37
Exploring Operation: 34-7=27, Resulting Numbers: [30, 27]
Generated Node #0,0,2: 28:[30, 27] Operation: 34-7=27
Exploring Operation: 34-30=4, Resulting Numbers: [7, 4]
Generated Node #0,0,3: 28:[7, 4] Operation: 34-30=4
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 28:[7, 4], Operations: ['91-57=34', '34-30=4']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,28 unequal: No Solution
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,28 unequal: No Solution
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[30, 57, 7, 91], Operations: []
Exploring Operation: 91-57=34, Resulting Numbers: [30, 7, 34]
Generated Node #0,0: 28:[30, 7, 34] Operation: 91-57=34
Moving to Node #0,0
Current State: 28:[30, 7, 34], Operations: ['91-57=34']
Exploring Operation: 34-30=4, Resulting Numbers: [7, 4]
Generated Node #0,0,3: 28:[7, 4] Operation: 34-30=4
Moving to Node #0,0,3
Current State: 28:[7, 4], Operations: ['91-57=34', '34-30=4']
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
87,
8,
17,
73
] | 80 | [
"73-17=56",
"56/8=7",
"87-7=80"
] | Current State: 80:[87, 8, 17, 73], Operations: []
Exploring Operation: 73-17=56, Resulting Numbers: [87, 8, 56]
Generated Node #2: [87, 8, 56] from Operation: 73-17=56
Current State: 80:[87, 8, 56], Operations: ['73-17=56']
Exploring Operation: 56/8=7, Resulting Numbers: [87, 7]
Generated Node #3: [87, 7] from Operation: 56/8=7
Current State: 80:[87, 7], Operations: ['73-17=56', '56/8=7']
Exploring Operation: 87-7=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[87, 8, 17, 73], Operations: []
Exploring Operation: 87-8=79, Resulting Numbers: [17, 73, 79]
Generated Node #0,0: 80:[17, 73, 79] Operation: 87-8=79
Exploring Operation: 87-73=14, Resulting Numbers: [8, 17, 14]
Generated Node #0,1: 80:[8, 17, 14] Operation: 87-73=14
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[8, 17, 14], Operations: ['87-73=14']
Exploring Operation: 17-14=3, Resulting Numbers: [8, 3]
Generated Node #0,1,0: 80:[8, 3] Operation: 17-14=3
Exploring Operation: 14-8=6, Resulting Numbers: [17, 6]
Generated Node #0,1,1: 80:[17, 6] Operation: 14-8=6
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 80:[8, 3], Operations: ['87-73=14', '17-14=3']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,80 unequal: No Solution
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,80 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: 80:[17, 6], Operations: ['87-73=14', '14-8=6']
Exploring Operation: 17+6=23, Resulting Numbers: [23]
23,80 unequal: No Solution
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,80 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: 80:[17, 73, 79], Operations: ['87-8=79']
Exploring Operation: 79-73=6, Resulting Numbers: [17, 6]
Generated Node #0,0,0: 80:[17, 6] Operation: 79-73=6
Exploring Operation: 17+73=90, Resulting Numbers: [79, 90]
Generated Node #0,0,1: 80:[79, 90] Operation: 17+73=90
Moving to Node #0,0,0
Current State: 80:[17, 6], Operations: ['87-8=79', '79-73=6']
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,80 unequal: No Solution
Exploring Operation: 17+6=23, Resulting Numbers: [23]
23,80 unequal: No Solution
Moving to Node #0,0,1
Current State: 80:[79, 90], Operations: ['87-8=79', '17+73=90']
Exploring Operation: 90-79=11, Resulting Numbers: [11]
11,80 unequal: No Solution
Exploring Operation: 79+90=169, Resulting Numbers: [169]
169,80 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 |
[
27,
85,
35,
31
] | 23 | [
"35-31=4",
"27*4=108",
"108-85=23"
] | Current State: 23:[27, 85, 35, 31], Operations: []
Exploring Operation: 35-31=4, Resulting Numbers: [27, 85, 4]
Generated Node #2: [27, 85, 4] from Operation: 35-31=4
Current State: 23:[27, 85, 4], Operations: ['35-31=4']
Exploring Operation: 27*4=108, Resulting Numbers: [85, 108]
Generated Node #3: [85, 108] from Operation: 27*4=108
Current State: 23:[85, 108], Operations: ['35-31=4', '27*4=108']
Exploring Operation: 108-85=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[27, 85, 35, 31], Operations: []
Exploring Operation: 85-35=50, Resulting Numbers: [27, 31, 50]
Generated Node #0,0: 23:[27, 31, 50] Operation: 85-35=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[27, 31, 50], Operations: ['85-35=50']
Exploring Operation: 50-27=23, Resulting Numbers: [31, 23]
Generated Node #0,0,0: 23:[31, 23] Operation: 50-27=23
Moving to Node #0,0,0
Current State: 23:[31, 23], Operations: ['85-35=50', '50-27=23']
Exploring Operation: 31-23=8, Resulting Numbers: [8]
8,23 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 |
[
4,
86,
98,
63
] | 15 | [
"98-86=12",
"4*12=48",
"63-48=15"
] | Current State: 15:[4, 86, 98, 63], Operations: []
Exploring Operation: 98-86=12, Resulting Numbers: [4, 63, 12]
Generated Node #2: [4, 63, 12] from Operation: 98-86=12
Current State: 15:[4, 63, 12], Operations: ['98-86=12']
Exploring Operation: 4*12=48, Resulting Numbers: [63, 48]
Generated Node #3: [63, 48] from Operation: 4*12=48
Current State: 15:[63, 48], Operations: ['98-86=12', '4*12=48']
Exploring Operation: 63-48=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[4, 86, 98, 63], Operations: []
Exploring Operation: 98-86=12, Resulting Numbers: [4, 63, 12]
Generated Node #0,0: 15:[4, 63, 12] Operation: 98-86=12
Moving to Node #0,0
Current State: 15:[4, 63, 12], Operations: ['98-86=12']
Exploring Operation: 63-12=51, Resulting Numbers: [4, 51]
Generated Node #0,0,0: 15:[4, 51] Operation: 63-12=51
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 15:[4, 51], Operations: ['98-86=12', '63-12=51']
Exploring Operation: 51-4=47, Resulting Numbers: [47]
47,15 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 |
[
33,
6,
21,
64
] | 70 | [
"33-6=27",
"64-21=43",
"27+43=70"
] | Current State: 70:[33, 6, 21, 64], Operations: []
Exploring Operation: 33-6=27, Resulting Numbers: [21, 64, 27]
Generated Node #2: [21, 64, 27] from Operation: 33-6=27
Current State: 70:[21, 64, 27], Operations: ['33-6=27']
Exploring Operation: 64-21=43, Resulting Numbers: [27, 43]
Generated Node #3: [27, 43] from Operation: 64-21=43
Current State: 70:[27, 43], Operations: ['33-6=27', '64-21=43']
Exploring Operation: 27+43=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[33, 6, 21, 64], Operations: []
Exploring Operation: 6+64=70, Resulting Numbers: [33, 21, 70]
Generated Node #0,0: 70:[33, 21, 70] Operation: 6+64=70
Exploring Operation: 64-21=43, Resulting Numbers: [33, 6, 43]
Generated Node #0,1: 70:[33, 6, 43] Operation: 64-21=43
Exploring Operation: 21-6=15, Resulting Numbers: [33, 64, 15]
Generated Node #0,2: 70:[33, 64, 15] Operation: 21-6=15
Exploring Operation: 33-21=12, Resulting Numbers: [6, 64, 12]
Generated Node #0,3: 70:[6, 64, 12] Operation: 33-21=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[33, 21, 70], Operations: ['6+64=70']
Exploring Operation: 33+21=54, Resulting Numbers: [70, 54]
Generated Node #0,0,0: 70:[70, 54] Operation: 33+21=54
Exploring Operation: 70-21=49, Resulting Numbers: [33, 49]
Generated Node #0,0,1: 70:[33, 49] Operation: 70-21=49
Exploring Operation: 33-21=12, Resulting Numbers: [70, 12]
Generated Node #0,0,2: 70:[70, 12] Operation: 33-21=12
Exploring Operation: 70-33=37, Resulting Numbers: [21, 37]
Generated Node #0,0,3: 70:[21, 37] Operation: 70-33=37
Moving to Node #0,0,2
Current State: 70:[70, 12], Operations: ['6+64=70', '33-21=12']
Exploring Operation: 70+12=82, Resulting Numbers: [82]
82,70 unequal: No Solution
Exploring Operation: 70*12=840, Resulting Numbers: [840]
840,70 unequal: No Solution
Exploring Operation: 70-12=58, Resulting Numbers: [58]
58,70 unequal: No Solution
Moving to Node #0,0,3
Current State: 70:[21, 37], Operations: ['6+64=70', '70-33=37']
Exploring Operation: 21+37=58, Resulting Numbers: [58]
58,70 unequal: No Solution
Exploring Operation: 21*37=777, Resulting Numbers: [777]
777,70 unequal: No Solution
Exploring Operation: 37-21=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Moving to Node #0,0,1
Current State: 70:[33, 49], Operations: ['6+64=70', '70-21=49']
Exploring Operation: 33+49=82, Resulting Numbers: [82]
82,70 unequal: No Solution
Exploring Operation: 49-33=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Exploring Operation: 33*49=1617, Resulting Numbers: [1617]
1617,70 unequal: No Solution
Moving to Node #0,0,0
Current State: 70:[70, 54], Operations: ['6+64=70', '33+21=54']
Exploring Operation: 70+54=124, Resulting Numbers: [124]
124,70 unequal: No Solution
Exploring Operation: 70-54=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Exploring Operation: 70*54=3780, Resulting Numbers: [3780]
3780,70 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: 70:[33, 64, 15], Operations: ['21-6=15']
Exploring Operation: 64-15=49, Resulting Numbers: [33, 49]
Generated Node #0,2,0: 70:[33, 49] Operation: 64-15=49
Exploring Operation: 64-33=31, Resulting Numbers: [15, 31]
Generated Node #0,2,1: 70:[15, 31] Operation: 64-33=31
Exploring Operation: 64+15=79, Resulting Numbers: [33, 79]
Generated Node #0,2,2: 70:[33, 79] Operation: 64+15=79
Exploring Operation: 33-15=18, Resulting Numbers: [64, 18]
Generated Node #0,2,3: 70:[64, 18] Operation: 33-15=18
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 70:[15, 31], Operations: ['21-6=15', '64-33=31']
Exploring Operation: 31-15=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Exploring Operation: 15+31=46, Resulting Numbers: [46]
46,70 unequal: No Solution
Exploring Operation: 15*31=465, Resulting Numbers: [465]
465,70 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: 70:[64, 18], Operations: ['21-6=15', '33-15=18']
Exploring Operation: 64*18=1152, Resulting Numbers: [1152]
1152,70 unequal: No Solution
Exploring Operation: 64+18=82, Resulting Numbers: [82]
82,70 unequal: No Solution
Exploring Operation: 64-18=46, Resulting Numbers: [46]
46,70 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: 70:[33, 79], Operations: ['21-6=15', '64+15=79']
Exploring Operation: 33+79=112, Resulting Numbers: [112]
112,70 unequal: No Solution
Exploring Operation: 33*79=2607, Resulting Numbers: [2607]
2607,70 unequal: No Solution
Exploring Operation: 79-33=46, Resulting Numbers: [46]
46,70 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: 70:[33, 49], Operations: ['21-6=15', '64-15=49']
Exploring Operation: 33*49=1617, Resulting Numbers: [1617]
1617,70 unequal: No Solution
Exploring Operation: 33+49=82, Resulting Numbers: [82]
82,70 unequal: No Solution
Exploring Operation: 49-33=16, Resulting Numbers: [16]
16,70 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: 70:[6, 64, 12], Operations: ['33-21=12']
Exploring Operation: 12-6=6, Resulting Numbers: [64, 6]
Generated Node #0,3,0: 70:[64, 6] Operation: 12-6=6
Exploring Operation: 12/6=2, Resulting Numbers: [64, 2]
Generated Node #0,3,1: 70:[64, 2] Operation: 12/6=2
Exploring Operation: 6+64=70, Resulting Numbers: [12, 70]
Generated Node #0,3,2: 70:[12, 70] Operation: 6+64=70
Exploring Operation: 64+12=76, Resulting Numbers: [6, 76]
Generated Node #0,3,3: 70:[6, 76] Operation: 64+12=76
Moving to Node #0,3,2
Current State: 70:[12, 70], Operations: ['33-21=12', '6+64=70']
Exploring Operation: 12+70=82, Resulting Numbers: [82]
82,70 unequal: No Solution
Exploring Operation: 12*70=840, Resulting Numbers: [840]
840,70 unequal: No Solution
Exploring Operation: 70-12=58, Resulting Numbers: [58]
58,70 unequal: No Solution
Moving to Node #0,3,1
Current State: 70:[64, 2], Operations: ['33-21=12', '12/6=2']
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,70 unequal: No Solution
Exploring Operation: 64+2=66, Resulting Numbers: [66]
66,70 unequal: No Solution
Exploring Operation: 64*2=128, Resulting Numbers: [128]
128,70 unequal: No Solution
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,70 unequal: No Solution
Moving to Node #0,3,3
Current State: 70:[6, 76], Operations: ['33-21=12', '64+12=76']
Exploring Operation: 6*76=456, Resulting Numbers: [456]
456,70 unequal: No Solution
Exploring Operation: 76-6=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[33, 6, 21, 64], Operations: []
Exploring Operation: 33-21=12, Resulting Numbers: [6, 64, 12]
Generated Node #0,3: 70:[6, 64, 12] Operation: 33-21=12
Moving to Node #0,3
Current State: 70:[6, 64, 12], Operations: ['33-21=12']
Exploring Operation: 64+12=76, Resulting Numbers: [6, 76]
Generated Node #0,3,3: 70:[6, 76] Operation: 64+12=76
Moving to Node #0,3,3
Current State: 70:[6, 76], Operations: ['33-21=12', '64+12=76']
Exploring Operation: 76-6=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.953993 | hs_4 | mult_heuristic |
[
46,
84,
89,
87
] | 36 | [
"84-46=38",
"89-87=2",
"38-2=36"
] | Current State: 36:[46, 84, 89, 87], Operations: []
Exploring Operation: 84-46=38, Resulting Numbers: [89, 87, 38]
Generated Node #2: [89, 87, 38] from Operation: 84-46=38
Current State: 36:[89, 87, 38], Operations: ['84-46=38']
Exploring Operation: 89-87=2, Resulting Numbers: [38, 2]
Generated Node #3: [38, 2] from Operation: 89-87=2
Current State: 36:[38, 2], Operations: ['84-46=38', '89-87=2']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[46, 84, 89, 87], Operations: []
Exploring Operation: 87-84=3, Resulting Numbers: [46, 89, 3]
Generated Node #0,0: 36:[46, 89, 3] Operation: 87-84=3
Exploring Operation: 89-84=5, Resulting Numbers: [46, 87, 5]
Generated Node #0,1: 36:[46, 87, 5] Operation: 89-84=5
Exploring Operation: 84-46=38, Resulting Numbers: [89, 87, 38]
Generated Node #0,2: 36:[89, 87, 38] Operation: 84-46=38
Exploring Operation: 89-87=2, Resulting Numbers: [46, 84, 2]
Generated Node #0,3: 36:[46, 84, 2] Operation: 89-87=2
Start Sub Search at level 1: Moving to Node #0,3
Current State: 36:[46, 84, 2], Operations: ['89-87=2']
Exploring Operation: 46/2=23, Resulting Numbers: [84, 23]
Generated Node #0,3,0: 36:[84, 23] Operation: 46/2=23
Exploring Operation: 46-2=44, Resulting Numbers: [84, 44]
Generated Node #0,3,1: 36:[84, 44] Operation: 46-2=44
Exploring Operation: 84/2=42, Resulting Numbers: [46, 42]
Generated Node #0,3,2: 36:[46, 42] Operation: 84/2=42
Exploring Operation: 84-46=38, Resulting Numbers: [2, 38]
Generated Node #0,3,3: 36:[2, 38] Operation: 84-46=38
Moving to Node #0,3,3
Current State: 36:[2, 38], Operations: ['89-87=2', '84-46=38']
Exploring Operation: 2+38=40, Resulting Numbers: [40]
40,36 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,36 unequal: No Solution
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[46, 84, 89, 87], Operations: []
Exploring Operation: 89-87=2, Resulting Numbers: [46, 84, 2]
Generated Node #0,3: 36:[46, 84, 2] Operation: 89-87=2
Moving to Node #0,3
Current State: 36:[46, 84, 2], Operations: ['89-87=2']
Exploring Operation: 84-46=38, Resulting Numbers: [2, 38]
Generated Node #0,3,3: 36:[2, 38] Operation: 84-46=38
Moving to Node #0,3,3
Current State: 36:[2, 38], Operations: ['89-87=2', '84-46=38']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
28,
90,
2,
4
] | 43 | [
"2+4=6",
"90/6=15",
"28+15=43"
] | Current State: 43:[28, 90, 2, 4], Operations: []
Exploring Operation: 2+4=6, Resulting Numbers: [28, 90, 6]
Generated Node #2: [28, 90, 6] from Operation: 2+4=6
Current State: 43:[28, 90, 6], Operations: ['2+4=6']
Exploring Operation: 90/6=15, Resulting Numbers: [28, 15]
Generated Node #3: [28, 15] from Operation: 90/6=15
Current State: 43:[28, 15], Operations: ['2+4=6', '90/6=15']
Exploring Operation: 28+15=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[28, 90, 2, 4], Operations: []
Exploring Operation: 90-28=62, Resulting Numbers: [2, 4, 62]
Generated Node #0,0: 43:[2, 4, 62] Operation: 90-28=62
Exploring Operation: 28+2=30, Resulting Numbers: [90, 4, 30]
Generated Node #0,1: 43:[90, 4, 30] Operation: 28+2=30
Exploring Operation: 2*4=8, Resulting Numbers: [28, 90, 8]
Generated Node #0,2: 43:[28, 90, 8] Operation: 2*4=8
Exploring Operation: 90/2=45, Resulting Numbers: [28, 4, 45]
Generated Node #0,3: 43:[28, 4, 45] Operation: 90/2=45
Moving to Node #0,3
Current State: 43:[28, 4, 45], Operations: ['90/2=45']
Exploring Operation: 45-4=41, Resulting Numbers: [28, 41]
Generated Node #0,3,0: 43:[28, 41] Operation: 45-4=41
Exploring Operation: 4+45=49, Resulting Numbers: [28, 49]
Generated Node #0,3,1: 43:[28, 49] Operation: 4+45=49
Exploring Operation: 28+4=32, Resulting Numbers: [45, 32]
Generated Node #0,3,2: 43:[45, 32] Operation: 28+4=32
Exploring Operation: 28-4=24, Resulting Numbers: [45, 24]
Generated Node #0,3,3: 43:[45, 24] Operation: 28-4=24
Moving to Node #0,2
Current State: 43:[28, 90, 8], Operations: ['2*4=8']
Exploring Operation: 90-8=82, Resulting Numbers: [28, 82]
Generated Node #0,2,0: 43:[28, 82] Operation: 90-8=82
Exploring Operation: 90-28=62, Resulting Numbers: [8, 62]
Generated Node #0,2,1: 43:[8, 62] Operation: 90-28=62
Exploring Operation: 28-8=20, Resulting Numbers: [90, 20]
Generated Node #0,2,2: 43:[90, 20] Operation: 28-8=20
Exploring Operation: 28+8=36, Resulting Numbers: [90, 36]
Generated Node #0,2,3: 43:[90, 36] Operation: 28+8=36
Moving to Node #0,1
Current State: 43:[90, 4, 30], Operations: ['28+2=30']
Exploring Operation: 90-30=60, Resulting Numbers: [4, 60]
Generated Node #0,1,0: 43:[4, 60] Operation: 90-30=60
Exploring Operation: 4+30=34, Resulting Numbers: [90, 34]
Generated Node #0,1,1: 43:[90, 34] Operation: 4+30=34
Exploring Operation: 90+4=94, Resulting Numbers: [30, 94]
Generated Node #0,1,2: 43:[30, 94] Operation: 90+4=94
Exploring Operation: 90-4=86, Resulting Numbers: [30, 86]
Generated Node #0,1,3: 43:[30, 86] Operation: 90-4=86
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 43:[4, 60], Operations: ['28+2=30', '90-30=60']
Exploring Operation: 4*60=240, Resulting Numbers: [240]
240,43 unequal: No Solution
Exploring Operation: 60-4=56, Resulting Numbers: [56]
56,43 unequal: No Solution
Exploring Operation: 4+60=64, Resulting Numbers: [64]
64,43 unequal: No Solution
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,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,1,1
Current State: 43:[90, 34], Operations: ['28+2=30', '4+30=34']
Exploring Operation: 90-34=56, Resulting Numbers: [56]
56,43 unequal: No Solution
Exploring Operation: 90*34=3060, Resulting Numbers: [3060]
3060,43 unequal: No Solution
Exploring Operation: 90+34=124, Resulting Numbers: [124]
124,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,1,3
Current State: 43:[30, 86], Operations: ['28+2=30', '90-4=86']
Exploring Operation: 30+86=116, Resulting Numbers: [116]
116,43 unequal: No Solution
Exploring Operation: 30*86=2580, Resulting Numbers: [2580]
2580,43 unequal: No Solution
Exploring Operation: 86-30=56, Resulting Numbers: [56]
56,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,1,2
Current State: 43:[30, 94], Operations: ['28+2=30', '90+4=94']
Exploring Operation: 30+94=124, Resulting Numbers: [124]
124,43 unequal: No Solution
Exploring Operation: 30*94=2820, Resulting Numbers: [2820]
2820,43 unequal: No Solution
Exploring Operation: 94-30=64, Resulting Numbers: [64]
64,43 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: 43:[2, 4, 62], Operations: ['90-28=62']
Exploring Operation: 62-2=60, Resulting Numbers: [4, 60]
Generated Node #0,0,0: 43:[4, 60] Operation: 62-2=60
Exploring Operation: 2*4=8, Resulting Numbers: [62, 8]
Generated Node #0,0,1: 43:[62, 8] Operation: 2*4=8
Exploring Operation: 2+4=6, Resulting Numbers: [62, 6]
Generated Node #0,0,2: 43:[62, 6] Operation: 2+4=6
Exploring Operation: 62/2=31, Resulting Numbers: [4, 31]
Generated Node #0,0,3: 43:[4, 31] Operation: 62/2=31
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 43:[4, 31], Operations: ['90-28=62', '62/2=31']
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,43 unequal: No Solution
Exploring Operation: 4*31=124, Resulting Numbers: [124]
124,43 unequal: No Solution
Exploring Operation: 4+31=35, Resulting Numbers: [35]
35,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,0,1
Current State: 43:[62, 8], Operations: ['90-28=62', '2*4=8']
Exploring Operation: 62*8=496, Resulting Numbers: [496]
496,43 unequal: No Solution
Exploring Operation: 62-8=54, Resulting Numbers: [54]
54,43 unequal: No Solution
Exploring Operation: 62+8=70, Resulting Numbers: [70]
70,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,0,0
Current State: 43:[4, 60], Operations: ['90-28=62', '62-2=60']
Exploring Operation: 4+60=64, Resulting Numbers: [64]
64,43 unequal: No Solution
Exploring Operation: 4*60=240, Resulting Numbers: [240]
240,43 unequal: No Solution
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,43 unequal: No Solution
Exploring Operation: 60-4=56, Resulting Numbers: [56]
56,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,0,2
Current State: 43:[62, 6], Operations: ['90-28=62', '2+4=6']
Exploring Operation: 62+6=68, Resulting Numbers: [68]
68,43 unequal: No Solution
Exploring Operation: 62-6=56, Resulting Numbers: [56]
56,43 unequal: No Solution
Exploring Operation: 62*6=372, Resulting Numbers: [372]
372,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,2
Current State: 43:[45, 32], Operations: ['90/2=45', '28+4=32']
Exploring Operation: 45*32=1440, Resulting Numbers: [1440]
1440,43 unequal: No Solution
Exploring Operation: 45+32=77, Resulting Numbers: [77]
77,43 unequal: No Solution
Exploring Operation: 45-32=13, Resulting Numbers: [13]
13,43 unequal: No Solution
Moving to Node #0,3,0
Current State: 43:[28, 41], Operations: ['90/2=45', '45-4=41']
Exploring Operation: 28+41=69, Resulting Numbers: [69]
69,43 unequal: No Solution
Exploring Operation: 28*41=1148, Resulting Numbers: [1148]
1148,43 unequal: No Solution
Exploring Operation: 41-28=13, Resulting Numbers: [13]
13,43 unequal: No Solution
Moving to Node #0,3,1
Current State: 43:[28, 49], Operations: ['90/2=45', '4+45=49']
Exploring Operation: 28*49=1372, Resulting Numbers: [1372]
1372,43 unequal: No Solution
Exploring Operation: 49-28=21, Resulting Numbers: [21]
21,43 unequal: No Solution
Exploring Operation: 28+49=77, Resulting Numbers: [77]
77,43 unequal: No Solution
Moving to Node #0,3,3
Current State: 43:[45, 24], Operations: ['90/2=45', '28-4=24']
Exploring Operation: 45-24=21, Resulting Numbers: [21]
21,43 unequal: No Solution
Exploring Operation: 45+24=69, Resulting Numbers: [69]
69,43 unequal: No Solution
Exploring Operation: 45*24=1080, Resulting Numbers: [1080]
1080,43 unequal: No Solution
Moving to Node #0,2,1
Current State: 43:[8, 62], Operations: ['2*4=8', '90-28=62']
Exploring Operation: 8+62=70, Resulting Numbers: [70]
70,43 unequal: No Solution
Exploring Operation: 8*62=496, Resulting Numbers: [496]
496,43 unequal: No Solution
Exploring Operation: 62-8=54, Resulting Numbers: [54]
54,43 unequal: No Solution
Moving to Node #0,2,3
Current State: 43:[90, 36], Operations: ['2*4=8', '28+8=36']
Exploring Operation: 90*36=3240, Resulting Numbers: [3240]
3240,43 unequal: No Solution
Exploring Operation: 90-36=54, Resulting Numbers: [54]
54,43 unequal: No Solution
Exploring Operation: 90+36=126, Resulting Numbers: [126]
126,43 unequal: No Solution
Moving to Node #0,2,0
Current State: 43:[28, 82], Operations: ['2*4=8', '90-8=82']
Exploring Operation: 82-28=54, Resulting Numbers: [54]
54,43 unequal: No Solution
Exploring Operation: 28*82=2296, Resulting Numbers: [2296]
2296,43 unequal: No Solution
Exploring Operation: 28+82=110, Resulting Numbers: [110]
110,43 unequal: No Solution
Moving to Node #0,2,2
Current State: 43:[90, 20], Operations: ['2*4=8', '28-8=20']
Exploring Operation: 90-20=70, Resulting Numbers: [70]
70,43 unequal: No Solution
Exploring Operation: 90+20=110, Resulting Numbers: [110]
110,43 unequal: No Solution
Exploring Operation: 90*20=1800, Resulting Numbers: [1800]
1800,43 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
65,
52,
34,
67
] | 16 | [
"65+52=117",
"34+67=101",
"117-101=16"
] | Current State: 16:[65, 52, 34, 67], Operations: []
Exploring Operation: 65+52=117, Resulting Numbers: [34, 67, 117]
Generated Node #2: [34, 67, 117] from Operation: 65+52=117
Current State: 16:[34, 67, 117], Operations: ['65+52=117']
Exploring Operation: 34+67=101, Resulting Numbers: [117, 101]
Generated Node #3: [117, 101] from Operation: 34+67=101
Current State: 16:[117, 101], Operations: ['65+52=117', '34+67=101']
Exploring Operation: 117-101=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[65, 52, 34, 67], Operations: []
Exploring Operation: 67-65=2, Resulting Numbers: [52, 34, 2]
Generated Node #0,0: 16:[52, 34, 2] Operation: 67-65=2
Exploring Operation: 67-52=15, Resulting Numbers: [65, 34, 15]
Generated Node #0,1: 16:[65, 34, 15] Operation: 67-52=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[52, 34, 2], Operations: ['67-65=2']
Exploring Operation: 52/2=26, Resulting Numbers: [34, 26]
Generated Node #0,0,0: 16:[34, 26] Operation: 52/2=26
Exploring Operation: 52-34=18, Resulting Numbers: [2, 18]
Generated Node #0,0,1: 16:[2, 18] Operation: 52-34=18
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 16:[2, 18], Operations: ['67-65=2', '52-34=18']
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,16 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[65, 52, 34, 67], Operations: []
Exploring Operation: 67-65=2, Resulting Numbers: [52, 34, 2]
Generated Node #0,0: 16:[52, 34, 2] Operation: 67-65=2
Moving to Node #0,0
Current State: 16:[52, 34, 2], Operations: ['67-65=2']
Exploring Operation: 52-34=18, Resulting Numbers: [2, 18]
Generated Node #0,0,1: 16:[2, 18] Operation: 52-34=18
Moving to Node #0,0,1
Current State: 16:[2, 18], Operations: ['67-65=2', '52-34=18']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
83,
27,
9,
46
] | 73 | [
"83+27=110",
"46-9=37",
"110-37=73"
] | Current State: 73:[83, 27, 9, 46], Operations: []
Exploring Operation: 83+27=110, Resulting Numbers: [9, 46, 110]
Generated Node #2: [9, 46, 110] from Operation: 83+27=110
Current State: 73:[9, 46, 110], Operations: ['83+27=110']
Exploring Operation: 46-9=37, Resulting Numbers: [110, 37]
Generated Node #3: [110, 37] from Operation: 46-9=37
Current State: 73:[110, 37], Operations: ['83+27=110', '46-9=37']
Exploring Operation: 110-37=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[83, 27, 9, 46], Operations: []
Exploring Operation: 9+46=55, Resulting Numbers: [83, 27, 55]
Generated Node #0,0: 73:[83, 27, 55] Operation: 9+46=55
Exploring Operation: 83-9=74, Resulting Numbers: [27, 46, 74]
Generated Node #0,1: 73:[27, 46, 74] Operation: 83-9=74
Exploring Operation: 27+9=36, Resulting Numbers: [83, 46, 36]
Generated Node #0,2: 73:[83, 46, 36] Operation: 27+9=36
Exploring Operation: 27+46=73, Resulting Numbers: [83, 9, 73]
Generated Node #0,3: 73:[83, 9, 73] Operation: 27+46=73
Moving to Node #0,0
Current State: 73:[83, 27, 55], Operations: ['9+46=55']
Exploring Operation: 83-27=56, Resulting Numbers: [55, 56]
Generated Node #0,0,0: 73:[55, 56] Operation: 83-27=56
Exploring Operation: 55-27=28, Resulting Numbers: [83, 28]
Generated Node #0,0,1: 73:[83, 28] Operation: 55-27=28
Exploring Operation: 27+55=82, Resulting Numbers: [83, 82]
Generated Node #0,0,2: 73:[83, 82] Operation: 27+55=82
Exploring Operation: 83+27=110, Resulting Numbers: [55, 110]
Generated Node #0,0,3: 73:[55, 110] Operation: 83+27=110
Moving to Node #0,2
Current State: 73:[83, 46, 36], Operations: ['27+9=36']
Exploring Operation: 46+36=82, Resulting Numbers: [83, 82]
Generated Node #0,2,0: 73:[83, 82] Operation: 46+36=82
Exploring Operation: 83-36=47, Resulting Numbers: [46, 47]
Generated Node #0,2,1: 73:[46, 47] Operation: 83-36=47
Exploring Operation: 83-46=37, Resulting Numbers: [36, 37]
Generated Node #0,2,2: 73:[36, 37] Operation: 83-46=37
Exploring Operation: 83+36=119, Resulting Numbers: [46, 119]
Generated Node #0,2,3: 73:[46, 119] Operation: 83+36=119
Moving to Node #0,1
Current State: 73:[27, 46, 74], Operations: ['83-9=74']
Exploring Operation: 74-27=47, Resulting Numbers: [46, 47]
Generated Node #0,1,0: 73:[46, 47] Operation: 74-27=47
Exploring Operation: 27+74=101, Resulting Numbers: [46, 101]
Generated Node #0,1,1: 73:[46, 101] Operation: 27+74=101
Exploring Operation: 27+46=73, Resulting Numbers: [74, 73]
Generated Node #0,1,2: 73:[74, 73] Operation: 27+46=73
Exploring Operation: 46-27=19, Resulting Numbers: [74, 19]
Generated Node #0,1,3: 73:[74, 19] Operation: 46-27=19
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 73:[74, 73], Operations: ['83-9=74', '27+46=73']
Exploring Operation: 74+73=147, Resulting Numbers: [147]
147,73 unequal: No Solution
Exploring Operation: 74-73=1, Resulting Numbers: [1]
1,73 unequal: No Solution
Exploring Operation: 74*73=5402, Resulting Numbers: [5402]
5402,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:[46, 47], Operations: ['83-9=74', '74-27=47']
Exploring Operation: 46+47=93, Resulting Numbers: [93]
93,73 unequal: No Solution
Exploring Operation: 47-46=1, Resulting Numbers: [1]
1,73 unequal: No Solution
Exploring Operation: 46*47=2162, Resulting Numbers: [2162]
2162,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:[46, 101], Operations: ['83-9=74', '27+74=101']
Exploring Operation: 101-46=55, Resulting Numbers: [55]
55,73 unequal: No Solution
Exploring Operation: 46*101=4646, Resulting Numbers: [4646]
4646,73 unequal: No Solution
Exploring Operation: 46+101=147, Resulting Numbers: [147]
147,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:[74, 19], Operations: ['83-9=74', '46-27=19']
Exploring Operation: 74-19=55, Resulting Numbers: [55]
55,73 unequal: No Solution
Exploring Operation: 74*19=1406, Resulting Numbers: [1406]
1406,73 unequal: No Solution
Exploring Operation: 74+19=93, Resulting Numbers: [93]
93,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:[83, 9, 73], Operations: ['27+46=73']
Exploring Operation: 83+9=92, Resulting Numbers: [73, 92]
Generated Node #0,3,0: 73:[73, 92] Operation: 83+9=92
Exploring Operation: 73-9=64, Resulting Numbers: [83, 64]
Generated Node #0,3,1: 73:[83, 64] Operation: 73-9=64
Exploring Operation: 83-9=74, Resulting Numbers: [73, 74]
Generated Node #0,3,2: 73:[73, 74] Operation: 83-9=74
Exploring Operation: 9+73=82, Resulting Numbers: [83, 82]
Generated Node #0,3,3: 73:[83, 82] Operation: 9+73=82
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 73:[73, 74], Operations: ['27+46=73', '83-9=74']
Exploring Operation: 74-73=1, Resulting Numbers: [1]
1,73 unequal: No Solution
Exploring Operation: 73*74=5402, Resulting Numbers: [5402]
5402,73 unequal: No Solution
Exploring Operation: 73+74=147, Resulting Numbers: [147]
147,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,3,0
Current State: 73:[73, 92], Operations: ['27+46=73', '83+9=92']
Exploring Operation: 73+92=165, Resulting Numbers: [165]
165,73 unequal: No Solution
Exploring Operation: 73*92=6716, Resulting Numbers: [6716]
6716,73 unequal: No Solution
Exploring Operation: 92-73=19, Resulting Numbers: [19]
19,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,3,1
Current State: 73:[83, 64], Operations: ['27+46=73', '73-9=64']
Exploring Operation: 83+64=147, Resulting Numbers: [147]
147,73 unequal: No Solution
Exploring Operation: 83-64=19, Resulting Numbers: [19]
19,73 unequal: No Solution
Exploring Operation: 83*64=5312, Resulting Numbers: [5312]
5312,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,3,3
Current State: 73:[83, 82], Operations: ['27+46=73', '9+73=82']
Exploring Operation: 83*82=6806, Resulting Numbers: [6806]
6806,73 unequal: No Solution
Exploring Operation: 83-82=1, Resulting Numbers: [1]
1,73 unequal: No Solution
Exploring Operation: 83+82=165, Resulting Numbers: [165]
165,73 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: 73:[83, 82], Operations: ['9+46=55', '27+55=82']
Exploring Operation: 83+82=165, Resulting Numbers: [165]
165,73 unequal: No Solution
Exploring Operation: 83-82=1, Resulting Numbers: [1]
1,73 unequal: No Solution
Exploring Operation: 83*82=6806, Resulting Numbers: [6806]
6806,73 unequal: No Solution
Moving to Node #0,2,0
Current State: 73:[83, 82], Operations: ['27+9=36', '46+36=82']
Exploring Operation: 83-82=1, Resulting Numbers: [1]
1,73 unequal: No Solution
Exploring Operation: 83*82=6806, Resulting Numbers: [6806]
6806,73 unequal: No Solution
Exploring Operation: 83+82=165, Resulting Numbers: [165]
165,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[55, 56], Operations: ['9+46=55', '83-27=56']
Exploring Operation: 55*56=3080, Resulting Numbers: [3080]
3080,73 unequal: No Solution
Exploring Operation: 55+56=111, Resulting Numbers: [111]
111,73 unequal: No Solution
Exploring Operation: 56-55=1, Resulting Numbers: [1]
1,73 unequal: No Solution
Moving to Node #0,2,1
Current State: 73:[46, 47], Operations: ['27+9=36', '83-36=47']
Exploring Operation: 46+47=93, Resulting Numbers: [93]
93,73 unequal: No Solution
Exploring Operation: 46*47=2162, Resulting Numbers: [2162]
2162,73 unequal: No Solution
Exploring Operation: 47-46=1, Resulting Numbers: [1]
1,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[83, 28], Operations: ['9+46=55', '55-27=28']
Exploring Operation: 83-28=55, Resulting Numbers: [55]
55,73 unequal: No Solution
Exploring Operation: 83*28=2324, Resulting Numbers: [2324]
2324,73 unequal: No Solution
Exploring Operation: 83+28=111, Resulting Numbers: [111]
111,73 unequal: No Solution
Moving to Node #0,0,3
Current State: 73:[55, 110], Operations: ['9+46=55', '83+27=110']
Exploring Operation: 55+110=165, Resulting Numbers: [165]
165,73 unequal: No Solution
Exploring Operation: 110-55=55, Resulting Numbers: [55]
55,73 unequal: No Solution
Exploring Operation: 55*110=6050, Resulting Numbers: [6050]
6050,73 unequal: No Solution
Exploring Operation: 110/55=2, Resulting Numbers: [2]
2,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[36, 37], Operations: ['27+9=36', '83-46=37']
Exploring Operation: 36*37=1332, Resulting Numbers: [1332]
1332,73 unequal: No Solution
Exploring Operation: 36+37=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[83, 27, 9, 46], Operations: []
Exploring Operation: 27+9=36, Resulting Numbers: [83, 46, 36]
Generated Node #0,2: 73:[83, 46, 36] Operation: 27+9=36
Moving to Node #0,2
Current State: 73:[83, 46, 36], Operations: ['27+9=36']
Exploring Operation: 83-46=37, Resulting Numbers: [36, 37]
Generated Node #0,2,2: 73:[36, 37] Operation: 83-46=37
Moving to Node #0,2,2
Current State: 73:[36, 37], Operations: ['27+9=36', '83-46=37']
Exploring Operation: 36+37=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 0.940104 | hs_4 | sum_heuristic |
[
38,
60,
4,
28
] | 64 | [
"38*4=152",
"60+28=88",
"152-88=64"
] | Current State: 64:[38, 60, 4, 28], Operations: []
Exploring Operation: 38*4=152, Resulting Numbers: [60, 28, 152]
Generated Node #2: [60, 28, 152] from Operation: 38*4=152
Current State: 64:[60, 28, 152], Operations: ['38*4=152']
Exploring Operation: 60+28=88, Resulting Numbers: [152, 88]
Generated Node #3: [152, 88] from Operation: 60+28=88
Current State: 64:[152, 88], Operations: ['38*4=152', '60+28=88']
Exploring Operation: 152-88=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[38, 60, 4, 28], Operations: []
Exploring Operation: 38+28=66, Resulting Numbers: [60, 4, 66]
Generated Node #0,0: 64:[60, 4, 66] Operation: 38+28=66
Exploring Operation: 38-28=10, Resulting Numbers: [60, 4, 10]
Generated Node #0,1: 64:[60, 4, 10] Operation: 38-28=10
Exploring Operation: 60-38=22, Resulting Numbers: [4, 28, 22]
Generated Node #0,2: 64:[4, 28, 22] Operation: 60-38=22
Exploring Operation: 60-28=32, Resulting Numbers: [38, 4, 32]
Generated Node #0,3: 64:[38, 4, 32] Operation: 60-28=32
Exploring Operation: 38-4=34, Resulting Numbers: [60, 28, 34]
Generated Node #0,4: 64:[60, 28, 34] Operation: 38-4=34
Moving to Node #0,0
Current State: 64:[60, 4, 66], Operations: ['38+28=66']
Exploring Operation: 66-4=62, Resulting Numbers: [60, 62]
Generated Node #0,0,0: 64:[60, 62] Operation: 66-4=62
Exploring Operation: 60-4=56, Resulting Numbers: [66, 56]
Generated Node #0,0,1: 64:[66, 56] Operation: 60-4=56
Exploring Operation: 60+4=64, Resulting Numbers: [66, 64]
Generated Node #0,0,2: 64:[66, 64] Operation: 60+4=64
Exploring Operation: 60/4=15, Resulting Numbers: [66, 15]
Generated Node #0,0,3: 64:[66, 15] Operation: 60/4=15
Exploring Operation: 66-60=6, Resulting Numbers: [4, 6]
Generated Node #0,0,4: 64:[4, 6] Operation: 66-60=6
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 64:[66, 64], Operations: ['38+28=66', '60+4=64']
Exploring Operation: 66+64=130, Resulting Numbers: [130]
130,64 unequal: No Solution
Exploring Operation: 66*64=4224, Resulting Numbers: [4224]
4224,64 unequal: No Solution
Exploring Operation: 66-64=2, Resulting Numbers: [2]
2,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,4
Current State: 64:[4, 6], Operations: ['38+28=66', '66-60=6']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,64 unequal: No Solution
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,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,3
Current State: 64:[66, 15], Operations: ['38+28=66', '60/4=15']
Exploring Operation: 66-15=51, Resulting Numbers: [51]
51,64 unequal: No Solution
Exploring Operation: 66+15=81, Resulting Numbers: [81]
81,64 unequal: No Solution
Exploring Operation: 66*15=990, Resulting Numbers: [990]
990,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:[60, 62], Operations: ['38+28=66', '66-4=62']
Exploring Operation: 62-60=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 60+62=122, Resulting Numbers: [122]
122,64 unequal: No Solution
Exploring Operation: 60*62=3720, Resulting Numbers: [3720]
3720,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, 56], Operations: ['38+28=66', '60-4=56']
Exploring Operation: 66-56=10, Resulting Numbers: [10]
10,64 unequal: No Solution
Exploring Operation: 66+56=122, Resulting Numbers: [122]
122,64 unequal: No Solution
Exploring Operation: 66*56=3696, Resulting Numbers: [3696]
3696,64 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: 64:[38, 4, 32], Operations: ['60-28=32']
Exploring Operation: 38-32=6, Resulting Numbers: [4, 6]
Generated Node #0,3,0: 64:[4, 6] Operation: 38-32=6
Exploring Operation: 38-4=34, Resulting Numbers: [32, 34]
Generated Node #0,3,1: 64:[32, 34] Operation: 38-4=34
Exploring Operation: 32/4=8, Resulting Numbers: [38, 8]
Generated Node #0,3,2: 64:[38, 8] Operation: 32/4=8
Exploring Operation: 38+32=70, Resulting Numbers: [4, 70]
Generated Node #0,3,3: 64:[4, 70] Operation: 38+32=70
Exploring Operation: 38+4=42, Resulting Numbers: [32, 42]
Generated Node #0,3,4: 64:[32, 42] Operation: 38+4=42
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 64:[4, 6], Operations: ['60-28=32', '38-32=6']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,64 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,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,3,1
Current State: 64:[32, 34], Operations: ['60-28=32', '38-4=34']
Exploring Operation: 32*34=1088, Resulting Numbers: [1088]
1088,64 unequal: No Solution
Exploring Operation: 32+34=66, Resulting Numbers: [66]
66,64 unequal: No Solution
Exploring Operation: 34-32=2, Resulting Numbers: [2]
2,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,3,2
Current State: 64:[38, 8], Operations: ['60-28=32', '32/4=8']
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,64 unequal: No Solution
Exploring Operation: 38*8=304, Resulting Numbers: [304]
304,64 unequal: No Solution
Exploring Operation: 38+8=46, Resulting Numbers: [46]
46,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,3,3
Current State: 64:[4, 70], Operations: ['60-28=32', '38+32=70']
Exploring Operation: 4*70=280, Resulting Numbers: [280]
280,64 unequal: No Solution
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,64 unequal: No Solution
Exploring Operation: 4+70=74, Resulting Numbers: [74]
74,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,3,4
Current State: 64:[32, 42], Operations: ['60-28=32', '38+4=42']
Exploring Operation: 32*42=1344, Resulting Numbers: [1344]
1344,64 unequal: No Solution
Exploring Operation: 42-32=10, Resulting Numbers: [10]
10,64 unequal: No Solution
Exploring Operation: 32+42=74, Resulting Numbers: [74]
74,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:[60, 4, 10], Operations: ['38-28=10']
Exploring Operation: 60+4=64, Resulting Numbers: [10, 64]
Generated Node #0,1,0: 64:[10, 64] Operation: 60+4=64
Exploring Operation: 60/10=6, Resulting Numbers: [4, 6]
Generated Node #0,1,1: 64:[4, 6] Operation: 60/10=6
Exploring Operation: 4+10=14, Resulting Numbers: [60, 14]
Generated Node #0,1,2: 64:[60, 14] Operation: 4+10=14
Exploring Operation: 60+10=70, Resulting Numbers: [4, 70]
Generated Node #0,1,3: 64:[4, 70] Operation: 60+10=70
Exploring Operation: 60/4=15, Resulting Numbers: [10, 15]
Generated Node #0,1,4: 64:[10, 15] Operation: 60/4=15
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 64:[10, 64], Operations: ['38-28=10', '60+4=64']
Exploring Operation: 64-10=54, Resulting Numbers: [54]
54,64 unequal: No Solution
Exploring Operation: 10+64=74, Resulting Numbers: [74]
74,64 unequal: No Solution
Exploring Operation: 10*64=640, Resulting Numbers: [640]
640,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,1
Current State: 64:[4, 6], Operations: ['38-28=10', '60/10=6']
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,64 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,64 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,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,4
Current State: 64:[10, 15], Operations: ['38-28=10', '60/4=15']
Exploring Operation: 10+15=25, Resulting Numbers: [25]
25,64 unequal: No Solution
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,64 unequal: No Solution
Exploring Operation: 10*15=150, Resulting Numbers: [150]
150,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:[60, 14], Operations: ['38-28=10', '4+10=14']
Exploring Operation: 60-14=46, Resulting Numbers: [46]
46,64 unequal: No Solution
Exploring Operation: 60*14=840, Resulting Numbers: [840]
840,64 unequal: No Solution
Exploring Operation: 60+14=74, Resulting Numbers: [74]
74,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,3
Current State: 64:[4, 70], Operations: ['38-28=10', '60+10=70']
Exploring Operation: 4+70=74, Resulting Numbers: [74]
74,64 unequal: No Solution
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,64 unequal: No Solution
Exploring Operation: 4*70=280, Resulting Numbers: [280]
280,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:[4, 28, 22], Operations: ['60-38=22']
Exploring Operation: 28/4=7, Resulting Numbers: [22, 7]
Generated Node #0,2,0: 64:[22, 7] Operation: 28/4=7
Exploring Operation: 22-4=18, Resulting Numbers: [28, 18]
Generated Node #0,2,1: 64:[28, 18] Operation: 22-4=18
Exploring Operation: 4+22=26, Resulting Numbers: [28, 26]
Generated Node #0,2,2: 64:[28, 26] Operation: 4+22=26
Exploring Operation: 4+28=32, Resulting Numbers: [22, 32]
Generated Node #0,2,3: 64:[22, 32] Operation: 4+28=32
Exploring Operation: 28-22=6, Resulting Numbers: [4, 6]
Generated Node #0,2,4: 64:[4, 6] Operation: 28-22=6
Moving to Node #0,4
Current State: 64:[60, 28, 34], Operations: ['38-4=34']
Exploring Operation: 60-34=26, Resulting Numbers: [28, 26]
Generated Node #0,4,0: 64:[28, 26] Operation: 60-34=26
Exploring Operation: 34-28=6, Resulting Numbers: [60, 6]
Generated Node #0,4,1: 64:[60, 6] Operation: 34-28=6
Exploring Operation: 60-28=32, Resulting Numbers: [34, 32]
Generated Node #0,4,2: 64:[34, 32] Operation: 60-28=32
Exploring Operation: 28+34=62, Resulting Numbers: [60, 62]
Generated Node #0,4,3: 64:[60, 62] Operation: 28+34=62
Exploring Operation: 60+28=88, Resulting Numbers: [34, 88]
Generated Node #0,4,4: 64:[34, 88] Operation: 60+28=88
Moving to Node #0,2,4
Current State: 64:[4, 6], Operations: ['60-38=22', '28-22=6']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,64 unequal: No Solution
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,64 unequal: No Solution
Moving to Node #0,4,2
Current State: 64:[34, 32], Operations: ['38-4=34', '60-28=32']
Exploring Operation: 34-32=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 34*32=1088, Resulting Numbers: [1088]
1088,64 unequal: No Solution
Exploring Operation: 34+32=66, Resulting Numbers: [66]
66,64 unequal: No Solution
Moving to Node #0,4,1
Current State: 64:[60, 6], Operations: ['38-4=34', '34-28=6']
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,64 unequal: No Solution
Exploring Operation: 60-6=54, Resulting Numbers: [54]
54,64 unequal: No Solution
Exploring Operation: 60*6=360, Resulting Numbers: [360]
360,64 unequal: No Solution
Exploring Operation: 60+6=66, Resulting Numbers: [66]
66,64 unequal: No Solution
Moving to Node #0,2,3
Current State: 64:[22, 32], Operations: ['60-38=22', '4+28=32']
Exploring Operation: 22+32=54, Resulting Numbers: [54]
54,64 unequal: No Solution
Exploring Operation: 32-22=10, Resulting Numbers: [10]
10,64 unequal: No Solution
Exploring Operation: 22*32=704, Resulting Numbers: [704]
704,64 unequal: No Solution
Moving to Node #0,2,1
Current State: 64:[28, 18], Operations: ['60-38=22', '22-4=18']
Exploring Operation: 28+18=46, Resulting Numbers: [46]
46,64 unequal: No Solution
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,64 unequal: No Solution
Exploring Operation: 28*18=504, Resulting Numbers: [504]
504,64 unequal: No Solution
Moving to Node #0,4,3
Current State: 64:[60, 62], Operations: ['38-4=34', '28+34=62']
Exploring Operation: 62-60=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 60*62=3720, Resulting Numbers: [3720]
3720,64 unequal: No Solution
Exploring Operation: 60+62=122, Resulting Numbers: [122]
122,64 unequal: No Solution
Moving to Node #0,2,0
Current State: 64:[22, 7], Operations: ['60-38=22', '28/4=7']
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,64 unequal: No Solution
Exploring Operation: 22+7=29, Resulting Numbers: [29]
29,64 unequal: No Solution
Exploring Operation: 22*7=154, Resulting Numbers: [154]
154,64 unequal: No Solution
Moving to Node #0,4,0
Current State: 64:[28, 26], Operations: ['38-4=34', '60-34=26']
Exploring Operation: 28*26=728, Resulting Numbers: [728]
728,64 unequal: No Solution
Exploring Operation: 28+26=54, Resulting Numbers: [54]
54,64 unequal: No Solution
Exploring Operation: 28-26=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Moving to Node #0,2,2
Current State: 64:[28, 26], Operations: ['60-38=22', '4+22=26']
Exploring Operation: 28*26=728, Resulting Numbers: [728]
728,64 unequal: No Solution
Exploring Operation: 28+26=54, Resulting Numbers: [54]
54,64 unequal: No Solution
Exploring Operation: 28-26=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Moving to Node #0,4,4
Current State: 64:[34, 88], Operations: ['38-4=34', '60+28=88']
Exploring Operation: 88-34=54, Resulting Numbers: [54]
54,64 unequal: No Solution
Exploring Operation: 34*88=2992, Resulting Numbers: [2992]
2992,64 unequal: No Solution
Exploring Operation: 34+88=122, Resulting Numbers: [122]
122,64 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
58,
43,
41,
32
] | 58 | [
"58-43=15",
"41+32=73",
"73-15=58"
] | Current State: 58:[58, 43, 41, 32], Operations: []
Exploring Operation: 58-43=15, Resulting Numbers: [41, 32, 15]
Generated Node #2: [41, 32, 15] from Operation: 58-43=15
Current State: 58:[41, 32, 15], Operations: ['58-43=15']
Exploring Operation: 41+32=73, Resulting Numbers: [15, 73]
Generated Node #3: [15, 73] from Operation: 41+32=73
Current State: 58:[15, 73], Operations: ['58-43=15', '41+32=73']
Exploring Operation: 73-15=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[58, 43, 41, 32], Operations: []
Exploring Operation: 43-41=2, Resulting Numbers: [58, 32, 2]
Generated Node #0,0: 58:[58, 32, 2] Operation: 43-41=2
Moving to Node #0,0
Current State: 58:[58, 32, 2], Operations: ['43-41=2']
Exploring Operation: 32-2=30, Resulting Numbers: [58, 30]
Generated Node #0,0,0: 58:[58, 30] Operation: 32-2=30
Moving to Node #0,0,0
Current State: 58:[58, 30], Operations: ['43-41=2', '32-2=30']
Exploring Operation: 58-30=28, Resulting Numbers: [28]
28,58 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
71,
66,
50,
8
] | 57 | [
"66-50=16",
"8*16=128",
"128-71=57"
] | Current State: 57:[71, 66, 50, 8], Operations: []
Exploring Operation: 66-50=16, Resulting Numbers: [71, 8, 16]
Generated Node #2: [71, 8, 16] from Operation: 66-50=16
Current State: 57:[71, 8, 16], Operations: ['66-50=16']
Exploring Operation: 8*16=128, Resulting Numbers: [71, 128]
Generated Node #3: [71, 128] from Operation: 8*16=128
Current State: 57:[71, 128], Operations: ['66-50=16', '8*16=128']
Exploring Operation: 128-71=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[71, 66, 50, 8], Operations: []
Exploring Operation: 71-50=21, Resulting Numbers: [66, 8, 21]
Generated Node #0,0: 57:[66, 8, 21] Operation: 71-50=21
Exploring Operation: 71-8=63, Resulting Numbers: [66, 50, 63]
Generated Node #0,1: 57:[66, 50, 63] Operation: 71-8=63
Exploring Operation: 66-50=16, Resulting Numbers: [71, 8, 16]
Generated Node #0,2: 57:[71, 8, 16] Operation: 66-50=16
Exploring Operation: 71-66=5, Resulting Numbers: [50, 8, 5]
Generated Node #0,3: 57:[50, 8, 5] Operation: 71-66=5
Start Sub Search at level 1: Moving to Node #0,3
Current State: 57:[50, 8, 5], Operations: ['71-66=5']
Exploring Operation: 8-5=3, Resulting Numbers: [50, 3]
Generated Node #0,3,0: 57:[50, 3] Operation: 8-5=3
Exploring Operation: 50/5=10, Resulting Numbers: [8, 10]
Generated Node #0,3,1: 57:[8, 10] Operation: 50/5=10
Exploring Operation: 50+8=58, Resulting Numbers: [5, 58]
Generated Node #0,3,2: 57:[5, 58] Operation: 50+8=58
Exploring Operation: 50+5=55, Resulting Numbers: [8, 55]
Generated Node #0,3,3: 57:[8, 55] Operation: 50+5=55
Moving to Node #0,3,2
Current State: 57:[5, 58], Operations: ['71-66=5', '50+8=58']
Exploring Operation: 58-5=53, Resulting Numbers: [53]
53,57 unequal: No Solution
Exploring Operation: 5+58=63, Resulting Numbers: [63]
63,57 unequal: No Solution
Exploring Operation: 5*58=290, Resulting Numbers: [290]
290,57 unequal: No Solution
Moving to Node #0,3,3
Current State: 57:[8, 55], Operations: ['71-66=5', '50+5=55']
Exploring Operation: 8*55=440, Resulting Numbers: [440]
440,57 unequal: No Solution
Exploring Operation: 8+55=63, Resulting Numbers: [63]
63,57 unequal: No Solution
Exploring Operation: 55-8=47, Resulting Numbers: [47]
47,57 unequal: No Solution
Moving to Node #0,3,0
Current State: 57:[50, 3], Operations: ['71-66=5', '8-5=3']
Exploring Operation: 50+3=53, Resulting Numbers: [53]
53,57 unequal: No Solution
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,57 unequal: No Solution
Exploring Operation: 50*3=150, Resulting Numbers: [150]
150,57 unequal: No Solution
Moving to Node #0,3,1
Current State: 57:[8, 10], Operations: ['71-66=5', '50/5=10']
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,57 unequal: No Solution
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 8*10=80, Resulting Numbers: [80]
80,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:[66, 8, 21], Operations: ['71-50=21']
Exploring Operation: 21-8=13, Resulting Numbers: [66, 13]
Generated Node #0,0,0: 57:[66, 13] Operation: 21-8=13
Exploring Operation: 66+8=74, Resulting Numbers: [21, 74]
Generated Node #0,0,1: 57:[21, 74] Operation: 66+8=74
Exploring Operation: 66-8=58, Resulting Numbers: [21, 58]
Generated Node #0,0,2: 57:[21, 58] Operation: 66-8=58
Exploring Operation: 66-21=45, Resulting Numbers: [8, 45]
Generated Node #0,0,3: 57:[8, 45] Operation: 66-21=45
Moving to Node #0,0,2
Current State: 57:[21, 58], Operations: ['71-50=21', '66-8=58']
Exploring Operation: 58-21=37, Resulting Numbers: [37]
37,57 unequal: No Solution
Exploring Operation: 21*58=1218, Resulting Numbers: [1218]
1218,57 unequal: No Solution
Exploring Operation: 21+58=79, Resulting Numbers: [79]
79,57 unequal: No Solution
Moving to Node #0,0,0
Current State: 57:[66, 13], Operations: ['71-50=21', '21-8=13']
Exploring Operation: 66-13=53, Resulting Numbers: [53]
53,57 unequal: No Solution
Exploring Operation: 66*13=858, Resulting Numbers: [858]
858,57 unequal: No Solution
Exploring Operation: 66+13=79, Resulting Numbers: [79]
79,57 unequal: No Solution
Moving to Node #0,0,3
Current State: 57:[8, 45], Operations: ['71-50=21', '66-21=45']
Exploring Operation: 8+45=53, Resulting Numbers: [53]
53,57 unequal: No Solution
Exploring Operation: 8*45=360, Resulting Numbers: [360]
360,57 unequal: No Solution
Exploring Operation: 45-8=37, Resulting Numbers: [37]
37,57 unequal: No Solution
Moving to Node #0,0,1
Current State: 57:[21, 74], Operations: ['71-50=21', '66+8=74']
Exploring Operation: 21+74=95, Resulting Numbers: [95]
95,57 unequal: No Solution
Exploring Operation: 21*74=1554, Resulting Numbers: [1554]
1554,57 unequal: No Solution
Exploring Operation: 74-21=53, Resulting Numbers: [53]
53,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,1
Current State: 57:[66, 50, 63], Operations: ['71-8=63']
Exploring Operation: 66-63=3, Resulting Numbers: [50, 3]
Generated Node #0,1,0: 57:[50, 3] Operation: 66-63=3
Exploring Operation: 63-50=13, Resulting Numbers: [66, 13]
Generated Node #0,1,1: 57:[66, 13] Operation: 63-50=13
Exploring Operation: 66+50=116, Resulting Numbers: [63, 116]
Generated Node #0,1,2: 57:[63, 116] Operation: 66+50=116
Exploring Operation: 66-50=16, Resulting Numbers: [63, 16]
Generated Node #0,1,3: 57:[63, 16] Operation: 66-50=16
Moving to Node #0,1,0
Current State: 57:[50, 3], Operations: ['71-8=63', '66-63=3']
Exploring Operation: 50*3=150, Resulting Numbers: [150]
150,57 unequal: No Solution
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,57 unequal: No Solution
Exploring Operation: 50+3=53, Resulting Numbers: [53]
53,57 unequal: No Solution
Moving to Node #0,1,3
Current State: 57:[63, 16], Operations: ['71-8=63', '66-50=16']
Exploring Operation: 63+16=79, Resulting Numbers: [79]
79,57 unequal: No Solution
Exploring Operation: 63-16=47, Resulting Numbers: [47]
47,57 unequal: No Solution
Exploring Operation: 63*16=1008, Resulting Numbers: [1008]
1008,57 unequal: No Solution
Moving to Node #0,1,1
Current State: 57:[66, 13], Operations: ['71-8=63', '63-50=13']
Exploring Operation: 66-13=53, Resulting Numbers: [53]
53,57 unequal: No Solution
Exploring Operation: 66+13=79, Resulting Numbers: [79]
79,57 unequal: No Solution
Exploring Operation: 66*13=858, Resulting Numbers: [858]
858,57 unequal: No Solution
Moving to Node #0,1,2
Current State: 57:[63, 116], Operations: ['71-8=63', '66+50=116']
Exploring Operation: 63*116=7308, Resulting Numbers: [7308]
7308,57 unequal: No Solution
Exploring Operation: 116-63=53, Resulting Numbers: [53]
53,57 unequal: No Solution
Exploring Operation: 63+116=179, Resulting Numbers: [179]
179,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,2
Current State: 57:[71, 8, 16], Operations: ['66-50=16']
Exploring Operation: 71-8=63, Resulting Numbers: [16, 63]
Generated Node #0,2,0: 57:[16, 63] Operation: 71-8=63
Exploring Operation: 8+16=24, Resulting Numbers: [71, 24]
Generated Node #0,2,1: 57:[71, 24] Operation: 8+16=24
Exploring Operation: 16/8=2, Resulting Numbers: [71, 2]
Generated Node #0,2,2: 57:[71, 2] Operation: 16/8=2
Exploring Operation: 71-16=55, Resulting Numbers: [8, 55]
Generated Node #0,2,3: 57:[8, 55] Operation: 71-16=55
Moving to Node #0,2,3
Current State: 57:[8, 55], Operations: ['66-50=16', '71-16=55']
Exploring Operation: 8*55=440, Resulting Numbers: [440]
440,57 unequal: No Solution
Exploring Operation: 55-8=47, Resulting Numbers: [47]
47,57 unequal: No Solution
Exploring Operation: 8+55=63, Resulting Numbers: [63]
63,57 unequal: No Solution
Moving to Node #0,2,0
Current State: 57:[16, 63], Operations: ['66-50=16', '71-8=63']
Exploring Operation: 63-16=47, Resulting Numbers: [47]
47,57 unequal: No Solution
Exploring Operation: 16+63=79, Resulting Numbers: [79]
79,57 unequal: No Solution
Exploring Operation: 16*63=1008, Resulting Numbers: [1008]
1008,57 unequal: No Solution
Moving to Node #0,2,2
Current State: 57:[71, 2], Operations: ['66-50=16', '16/8=2']
Exploring Operation: 71+2=73, Resulting Numbers: [73]
73,57 unequal: No Solution
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,57 unequal: No Solution
Exploring Operation: 71*2=142, Resulting Numbers: [142]
142,57 unequal: No Solution
Moving to Node #0,2,1
Current State: 57:[71, 24], Operations: ['66-50=16', '8+16=24']
Exploring Operation: 71-24=47, Resulting Numbers: [47]
47,57 unequal: No Solution
Exploring Operation: 71*24=1704, Resulting Numbers: [1704]
1704,57 unequal: No Solution
Exploring Operation: 71+24=95, Resulting Numbers: [95]
95,57 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 |
[
41,
11,
22,
20
] | 50 | [
"41+11=52",
"22-20=2",
"52-2=50"
] | Current State: 50:[41, 11, 22, 20], Operations: []
Exploring Operation: 41+11=52, Resulting Numbers: [22, 20, 52]
Generated Node #2: [22, 20, 52] from Operation: 41+11=52
Current State: 50:[22, 20, 52], Operations: ['41+11=52']
Exploring Operation: 22-20=2, Resulting Numbers: [52, 2]
Generated Node #3: [52, 2] from Operation: 22-20=2
Current State: 50:[52, 2], Operations: ['41+11=52', '22-20=2']
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[41, 11, 22, 20], Operations: []
Exploring Operation: 41-20=21, Resulting Numbers: [11, 22, 21]
Generated Node #0,0: 50:[11, 22, 21] Operation: 41-20=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[11, 22, 21], Operations: ['41-20=21']
Exploring Operation: 22-21=1, Resulting Numbers: [11, 1]
Generated Node #0,0,0: 50:[11, 1] Operation: 22-21=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 50:[11, 1], Operations: ['41-20=21', '22-21=1']
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,50 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 |
[
34,
34,
40,
72
] | 46 | [
"40-34=6",
"72/6=12",
"34+12=46"
] | Current State: 46:[34, 34, 40, 72], Operations: []
Exploring Operation: 40-34=6, Resulting Numbers: [72, 6]
Generated Node #2: [72, 6] from Operation: 40-34=6
Current State: 46:[72, 6], Operations: ['40-34=6']
Exploring Operation: 72/6=12, Resulting Numbers: [12]
12,46 equal: Goal Reached
Exploring Operation: 34+12=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[34, 34, 40, 72], Operations: []
Exploring Operation: 72-34=38, Resulting Numbers: [34, 40, 38]
Generated Node #0,0: 46:[34, 40, 38] Operation: 72-34=38
Exploring Operation: 72-34=38, Resulting Numbers: [34, 40, 38]
Generated Node #0,1: 46:[34, 40, 38] Operation: 72-34=38
Exploring Operation: 72-40=32, Resulting Numbers: [34, 34, 32]
Generated Node #0,2: 46:[34, 34, 32] Operation: 72-40=32
Exploring Operation: 34/34=1, Resulting Numbers: [40, 72, 1]
Generated Node #0,3: 46:[40, 72, 1] Operation: 34/34=1
Moving to Node #0,0
Current State: 46:[34, 40, 38], Operations: ['72-34=38']
Exploring Operation: 40-34=6, Resulting Numbers: [38, 6]
Generated Node #0,0,0: 46:[38, 6] Operation: 40-34=6
Exploring Operation: 38-34=4, Resulting Numbers: [40, 4]
Generated Node #0,0,1: 46:[40, 4] Operation: 38-34=4
Exploring Operation: 40-38=2, Resulting Numbers: [34, 2]
Generated Node #0,0,2: 46:[34, 2] Operation: 40-38=2
Exploring Operation: 34+38=72, Resulting Numbers: [40, 72]
Generated Node #0,0,3: 46:[40, 72] Operation: 34+38=72
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 46:[40, 4], Operations: ['72-34=38', '38-34=4']
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,46 unequal: No Solution
Exploring Operation: 40+4=44, Resulting Numbers: [44]
44,46 unequal: No Solution
Exploring Operation: 40*4=160, Resulting Numbers: [160]
160,46 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,46 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: 46:[34, 2], Operations: ['72-34=38', '40-38=2']
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,46 unequal: No Solution
Exploring Operation: 34*2=68, Resulting Numbers: [68]
68,46 unequal: No Solution
Exploring Operation: 34+2=36, Resulting Numbers: [36]
36,46 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: 46:[38, 6], Operations: ['72-34=38', '40-34=6']
Exploring Operation: 38+6=44, Resulting Numbers: [44]
44,46 unequal: No Solution
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,46 unequal: No Solution
Exploring Operation: 38*6=228, Resulting Numbers: [228]
228,46 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: 46:[40, 72], Operations: ['72-34=38', '34+38=72']
Exploring Operation: 72-40=32, Resulting Numbers: [32]
32,46 unequal: No Solution
Exploring Operation: 40+72=112, Resulting Numbers: [112]
112,46 unequal: No Solution
Exploring Operation: 40*72=2880, Resulting Numbers: [2880]
2880,46 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: 46:[34, 40, 38], Operations: ['72-34=38']
Exploring Operation: 40-34=6, Resulting Numbers: [38, 6]
Generated Node #0,1,0: 46:[38, 6] Operation: 40-34=6
Exploring Operation: 38-34=4, Resulting Numbers: [40, 4]
Generated Node #0,1,1: 46:[40, 4] Operation: 38-34=4
Exploring Operation: 40-38=2, Resulting Numbers: [34, 2]
Generated Node #0,1,2: 46:[34, 2] Operation: 40-38=2
Exploring Operation: 34+38=72, Resulting Numbers: [40, 72]
Generated Node #0,1,3: 46:[40, 72] Operation: 34+38=72
Moving to Node #0,2
Current State: 46:[34, 34, 32], Operations: ['72-40=32']
Exploring Operation: 34-32=2, Resulting Numbers: [34, 2]
Generated Node #0,2,0: 46:[34, 2] Operation: 34-32=2
Exploring Operation: 34-32=2, Resulting Numbers: [34, 2]
Generated Node #0,2,1: 46:[34, 2] Operation: 34-32=2
Exploring Operation: 34/34=1, Resulting Numbers: [32, 1]
Generated Node #0,2,2: 46:[32, 1] Operation: 34/34=1
Exploring Operation: 34-34=0, Resulting Numbers: [32, 0]
Generated Node #0,2,3: 46:[32, 0] Operation: 34-34=0
Moving to Node #0,3
Current State: 46:[40, 72, 1], Operations: ['34/34=1']
Exploring Operation: 40*1=40, Resulting Numbers: [72, 40]
Generated Node #0,3,0: 46:[72, 40] Operation: 40*1=40
Exploring Operation: 72-40=32, Resulting Numbers: [1, 32]
Generated Node #0,3,1: 46:[1, 32] Operation: 72-40=32
Exploring Operation: 72-1=71, Resulting Numbers: [40, 71]
Generated Node #0,3,2: 46:[40, 71] Operation: 72-1=71
Exploring Operation: 40+1=41, Resulting Numbers: [72, 41]
Generated Node #0,3,3: 46:[72, 41] Operation: 40+1=41
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 46:[1, 32], Operations: ['34/34=1', '72-40=32']
Exploring Operation: 32-1=31, Resulting Numbers: [31]
31,46 unequal: No Solution
Exploring Operation: 32/1=32, Resulting Numbers: [32]
32,46 unequal: No Solution
Exploring Operation: 1*32=32, Resulting Numbers: [32]
32,46 unequal: No Solution
Exploring Operation: 1+32=33, Resulting Numbers: [33]
33,46 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: 46:[40, 71], Operations: ['34/34=1', '72-1=71']
Exploring Operation: 71-40=31, Resulting Numbers: [31]
31,46 unequal: No Solution
Exploring Operation: 40*71=2840, Resulting Numbers: [2840]
2840,46 unequal: No Solution
Exploring Operation: 40+71=111, Resulting Numbers: [111]
111,46 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: 46:[72, 41], Operations: ['34/34=1', '40+1=41']
Exploring Operation: 72-41=31, Resulting Numbers: [31]
31,46 unequal: No Solution
Exploring Operation: 72*41=2952, Resulting Numbers: [2952]
2952,46 unequal: No Solution
Exploring Operation: 72+41=113, Resulting Numbers: [113]
113,46 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: 46:[72, 40], Operations: ['34/34=1', '40*1=40']
Exploring Operation: 72*40=2880, Resulting Numbers: [2880]
2880,46 unequal: No Solution
Exploring Operation: 72+40=112, Resulting Numbers: [112]
112,46 unequal: No Solution
Exploring Operation: 72-40=32, Resulting Numbers: [32]
32,46 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: 46:[40, 4], Operations: ['72-34=38', '38-34=4']
Exploring Operation: 40+4=44, Resulting Numbers: [44]
44,46 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,46 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,46 unequal: No Solution
Exploring Operation: 40*4=160, Resulting Numbers: [160]
160,46 unequal: No Solution
Moving to Node #0,2,2
Current State: 46:[32, 1], Operations: ['72-40=32', '34/34=1']
Exploring Operation: 32-1=31, Resulting Numbers: [31]
31,46 unequal: No Solution
Exploring Operation: 32+1=33, Resulting Numbers: [33]
33,46 unequal: No Solution
Exploring Operation: 32/1=32, Resulting Numbers: [32]
32,46 unequal: No Solution
Exploring Operation: 32*1=32, Resulting Numbers: [32]
32,46 unequal: No Solution
Moving to Node #0,2,0
Current State: 46:[34, 2], Operations: ['72-40=32', '34-32=2']
Exploring Operation: 34*2=68, Resulting Numbers: [68]
68,46 unequal: No Solution
Exploring Operation: 34+2=36, Resulting Numbers: [36]
36,46 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,46 unequal: No Solution
Moving to Node #0,2,1
Current State: 46:[34, 2], Operations: ['72-40=32', '34-32=2']
Exploring Operation: 34+2=36, Resulting Numbers: [36]
36,46 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,46 unequal: No Solution
Exploring Operation: 34*2=68, Resulting Numbers: [68]
68,46 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Moving to Node #0,1,2
Current State: 46:[34, 2], Operations: ['72-34=38', '40-38=2']
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,46 unequal: No Solution
Exploring Operation: 34+2=36, Resulting Numbers: [36]
36,46 unequal: No Solution
Exploring Operation: 34*2=68, Resulting Numbers: [68]
68,46 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Moving to Node #0,2,3
Current State: 46:[32, 0], Operations: ['72-40=32', '34-34=0']
Exploring Operation: 32-0=32, Resulting Numbers: [32]
32,46 unequal: No Solution
Exploring Operation: 32*0=0, Resulting Numbers: [0]
0,46 unequal: No Solution
Exploring Operation: 32+0=32, Resulting Numbers: [32]
32,46 unequal: No Solution
Moving to Node #0,1,0
Current State: 46:[38, 6], Operations: ['72-34=38', '40-34=6']
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,46 unequal: No Solution
Exploring Operation: 38*6=228, Resulting Numbers: [228]
228,46 unequal: No Solution
Exploring Operation: 38+6=44, Resulting Numbers: [44]
44,46 unequal: No Solution
Moving to Node #0,1,3
Current State: 46:[40, 72], Operations: ['72-34=38', '34+38=72']
Exploring Operation: 40*72=2880, Resulting Numbers: [2880]
2880,46 unequal: No Solution
Exploring Operation: 40+72=112, Resulting Numbers: [112]
112,46 unequal: No Solution
Exploring Operation: 72-40=32, Resulting Numbers: [32]
32,46 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
56,
30,
60,
45
] | 99 | [
"56+45=101",
"60/30=2",
"101-2=99"
] | Current State: 99:[56, 30, 60, 45], Operations: []
Exploring Operation: 56+45=101, Resulting Numbers: [30, 60, 101]
Generated Node #2: [30, 60, 101] from Operation: 56+45=101
Current State: 99:[30, 60, 101], Operations: ['56+45=101']
Exploring Operation: 60/30=2, Resulting Numbers: [101, 2]
Generated Node #3: [101, 2] from Operation: 60/30=2
Current State: 99:[101, 2], Operations: ['56+45=101', '60/30=2']
Exploring Operation: 101-2=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[56, 30, 60, 45], Operations: []
Exploring Operation: 60-56=4, Resulting Numbers: [30, 45, 4]
Generated Node #0,0: 99:[30, 45, 4] Operation: 60-56=4
Exploring Operation: 56-45=11, Resulting Numbers: [30, 60, 11]
Generated Node #0,1: 99:[30, 60, 11] Operation: 56-45=11
Exploring Operation: 60-45=15, Resulting Numbers: [56, 30, 15]
Generated Node #0,2: 99:[56, 30, 15] Operation: 60-45=15
Moving to Node #0,0
Current State: 99:[30, 45, 4], Operations: ['60-56=4']
Exploring Operation: 45-30=15, Resulting Numbers: [4, 15]
Generated Node #0,0,0: 99:[4, 15] Operation: 45-30=15
Exploring Operation: 45-4=41, Resulting Numbers: [30, 41]
Generated Node #0,0,1: 99:[30, 41] Operation: 45-4=41
Exploring Operation: 30+4=34, Resulting Numbers: [45, 34]
Generated Node #0,0,2: 99:[45, 34] Operation: 30+4=34
Moving to Node #0,1
Current State: 99:[30, 60, 11], Operations: ['56-45=11']
Exploring Operation: 30+60=90, Resulting Numbers: [11, 90]
Generated Node #0,1,0: 99:[11, 90] Operation: 30+60=90
Exploring Operation: 60/30=2, Resulting Numbers: [11, 2]
Generated Node #0,1,1: 99:[11, 2] Operation: 60/30=2
Exploring Operation: 60-30=30, Resulting Numbers: [11, 30]
Generated Node #0,1,2: 99:[11, 30] Operation: 60-30=30
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 99:[11, 2], Operations: ['56-45=11', '60/30=2']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,99 unequal: No Solution
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,99 unequal: No Solution
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,99 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: 99:[11, 30], Operations: ['56-45=11', '60-30=30']
Exploring Operation: 11*30=330, Resulting Numbers: [330]
330,99 unequal: No Solution
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,99 unequal: No Solution
Exploring Operation: 11+30=41, Resulting Numbers: [41]
41,99 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: 99:[11, 90], Operations: ['56-45=11', '30+60=90']
Exploring Operation: 11*90=990, Resulting Numbers: [990]
990,99 unequal: No Solution
Exploring Operation: 90-11=79, Resulting Numbers: [79]
79,99 unequal: No Solution
Exploring Operation: 11+90=101, Resulting Numbers: [101]
101,99 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: 99:[56, 30, 15], Operations: ['60-45=15']
Exploring Operation: 56-15=41, Resulting Numbers: [30, 41]
Generated Node #0,2,0: 99:[30, 41] Operation: 56-15=41
Exploring Operation: 56+30=86, Resulting Numbers: [15, 86]
Generated Node #0,2,1: 99:[15, 86] Operation: 56+30=86
Exploring Operation: 56-30=26, Resulting Numbers: [15, 26]
Generated Node #0,2,2: 99:[15, 26] Operation: 56-30=26
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 99:[30, 41], Operations: ['60-45=15', '56-15=41']
Exploring Operation: 30*41=1230, Resulting Numbers: [1230]
1230,99 unequal: No Solution
Exploring Operation: 30+41=71, Resulting Numbers: [71]
71,99 unequal: No Solution
Exploring Operation: 41-30=11, Resulting Numbers: [11]
11,99 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: 99:[15, 26], Operations: ['60-45=15', '56-30=26']
Exploring Operation: 15+26=41, Resulting Numbers: [41]
41,99 unequal: No Solution
Exploring Operation: 15*26=390, Resulting Numbers: [390]
390,99 unequal: No Solution
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,99 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: 99:[15, 86], Operations: ['60-45=15', '56+30=86']
Exploring Operation: 86-15=71, Resulting Numbers: [71]
71,99 unequal: No Solution
Exploring Operation: 15+86=101, Resulting Numbers: [101]
101,99 unequal: No Solution
Exploring Operation: 15*86=1290, Resulting Numbers: [1290]
1290,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 99:[4, 15], Operations: ['60-56=4', '45-30=15']
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,99 unequal: No Solution
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,99 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,99 unequal: No Solution
Moving to Node #0,0,1
Current State: 99:[30, 41], Operations: ['60-56=4', '45-4=41']
Exploring Operation: 30+41=71, Resulting Numbers: [71]
71,99 unequal: No Solution
Exploring Operation: 41-30=11, Resulting Numbers: [11]
11,99 unequal: No Solution
Exploring Operation: 30*41=1230, Resulting Numbers: [1230]
1230,99 unequal: No Solution
Moving to Node #0,0,2
Current State: 99:[45, 34], Operations: ['60-56=4', '30+4=34']
Exploring Operation: 45-34=11, Resulting Numbers: [11]
11,99 unequal: No Solution
Exploring Operation: 45+34=79, Resulting Numbers: [79]
79,99 unequal: No Solution
Exploring Operation: 45*34=1530, Resulting Numbers: [1530]
1530,99 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
25,
6,
98,
66
] | 84 | [
"98-25=73",
"66/6=11",
"73+11=84"
] | Current State: 84:[25, 6, 98, 66], Operations: []
Exploring Operation: 98-25=73, Resulting Numbers: [6, 66, 73]
Generated Node #2: [6, 66, 73] from Operation: 98-25=73
Current State: 84:[6, 66, 73], Operations: ['98-25=73']
Exploring Operation: 66/6=11, Resulting Numbers: [73, 11]
Generated Node #3: [73, 11] from Operation: 66/6=11
Current State: 84:[73, 11], Operations: ['98-25=73', '66/6=11']
Exploring Operation: 73+11=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[25, 6, 98, 66], Operations: []
Exploring Operation: 98-66=32, Resulting Numbers: [25, 6, 32]
Generated Node #0,0: 84:[25, 6, 32] Operation: 98-66=32
Exploring Operation: 66-25=41, Resulting Numbers: [6, 98, 41]
Generated Node #0,1: 84:[6, 98, 41] Operation: 66-25=41
Moving to Node #0,0
Current State: 84:[25, 6, 32], Operations: ['98-66=32']
Exploring Operation: 32-25=7, Resulting Numbers: [6, 7]
Generated Node #0,0,0: 84:[6, 7] Operation: 32-25=7
Exploring Operation: 32-6=26, Resulting Numbers: [25, 26]
Generated Node #0,0,1: 84:[25, 26] Operation: 32-6=26
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 84:[6, 7], Operations: ['98-66=32', '32-25=7']
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,84 unequal: No Solution
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,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,1
Current State: 84:[25, 26], Operations: ['98-66=32', '32-6=26']
Exploring Operation: 26-25=1, Resulting Numbers: [1]
1,84 unequal: No Solution
Exploring Operation: 25+26=51, Resulting Numbers: [51]
51,84 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: 84:[6, 98, 41], Operations: ['66-25=41']
Exploring Operation: 98-41=57, Resulting Numbers: [6, 57]
Generated Node #0,1,0: 84:[6, 57] Operation: 98-41=57
Exploring Operation: 98-6=92, Resulting Numbers: [41, 92]
Generated Node #0,1,1: 84:[41, 92] Operation: 98-6=92
Moving to Node #0,1,1
Current State: 84:[41, 92], Operations: ['66-25=41', '98-6=92']
Exploring Operation: 92-41=51, Resulting Numbers: [51]
51,84 unequal: No Solution
Exploring Operation: 41+92=133, Resulting Numbers: [133]
133,84 unequal: No Solution
Moving to Node #0,1,0
Current State: 84:[6, 57], Operations: ['66-25=41', '98-41=57']
Exploring Operation: 6+57=63, Resulting Numbers: [63]
63,84 unequal: No Solution
Exploring Operation: 57-6=51, Resulting Numbers: [51]
51,84 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
13,
33,
24,
40
] | 84 | [
"33-13=20",
"24+40=64",
"20+64=84"
] | Current State: 84:[13, 33, 24, 40], Operations: []
Exploring Operation: 33-13=20, Resulting Numbers: [24, 40, 20]
Generated Node #2: [24, 40, 20] from Operation: 33-13=20
Current State: 84:[24, 40, 20], Operations: ['33-13=20']
Exploring Operation: 24+40=64, Resulting Numbers: [20, 64]
Generated Node #3: [20, 64] from Operation: 24+40=64
Current State: 84:[20, 64], Operations: ['33-13=20', '24+40=64']
Exploring Operation: 20+64=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[13, 33, 24, 40], Operations: []
Exploring Operation: 40-33=7, Resulting Numbers: [13, 24, 7]
Generated Node #0,0: 84:[13, 24, 7] Operation: 40-33=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[13, 24, 7], Operations: ['40-33=7']
Exploring Operation: 24-13=11, Resulting Numbers: [7, 11]
Generated Node #0,0,0: 84:[7, 11] Operation: 24-13=11
Moving to Node #0,0,0
Current State: 84:[7, 11], Operations: ['40-33=7', '24-13=11']
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,84 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 |
[
3,
45,
15,
22
] | 79 | [
"45-3=42",
"15+22=37",
"42+37=79"
] | Current State: 79:[3, 45, 15, 22], Operations: []
Exploring Operation: 45-3=42, Resulting Numbers: [15, 22, 42]
Generated Node #2: [15, 22, 42] from Operation: 45-3=42
Current State: 79:[15, 22, 42], Operations: ['45-3=42']
Exploring Operation: 15+22=37, Resulting Numbers: [42, 37]
Generated Node #3: [42, 37] from Operation: 15+22=37
Current State: 79:[42, 37], Operations: ['45-3=42', '15+22=37']
Exploring Operation: 42+37=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[3, 45, 15, 22], Operations: []
Exploring Operation: 3*15=45, Resulting Numbers: [45, 22, 45]
Generated Node #0,0: 79:[45, 22, 45] Operation: 3*15=45
Exploring Operation: 3*22=66, Resulting Numbers: [45, 15, 66]
Generated Node #0,1: 79:[45, 15, 66] Operation: 3*22=66
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[45, 15, 66], Operations: ['3*22=66']
Exploring Operation: 45+15=60, Resulting Numbers: [66, 60]
Generated Node #0,1,0: 79:[66, 60] Operation: 45+15=60
Exploring Operation: 15+66=81, Resulting Numbers: [45, 81]
Generated Node #0,1,1: 79:[45, 81] Operation: 15+66=81
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 79:[66, 60], Operations: ['3*22=66', '45+15=60']
Exploring Operation: 66-60=6, Resulting Numbers: [6]
6,79 unequal: No Solution
Exploring Operation: 66+60=126, Resulting Numbers: [126]
126,79 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: 79:[45, 81], Operations: ['3*22=66', '15+66=81']
Exploring Operation: 81-45=36, Resulting Numbers: [36]
36,79 unequal: No Solution
Exploring Operation: 45+81=126, Resulting Numbers: [126]
126,79 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: 79:[45, 22, 45], Operations: ['3*15=45']
Exploring Operation: 45+22=67, Resulting Numbers: [45, 67]
Generated Node #0,0,0: 79:[45, 67] Operation: 45+22=67
Exploring Operation: 22+45=67, Resulting Numbers: [45, 67]
Generated Node #0,0,1: 79:[45, 67] Operation: 22+45=67
Moving to Node #0,0,0
Current State: 79:[45, 67], Operations: ['3*15=45', '45+22=67']
Exploring Operation: 45+67=112, Resulting Numbers: [112]
112,79 unequal: No Solution
Exploring Operation: 67-45=22, Resulting Numbers: [22]
22,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[45, 67], Operations: ['3*15=45', '22+45=67']
Exploring Operation: 67-45=22, Resulting Numbers: [22]
22,79 unequal: No Solution
Exploring Operation: 45+67=112, Resulting Numbers: [112]
112,79 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 |
[
97,
68,
98,
19
] | 86 | [
"97+68=165",
"98-19=79",
"165-79=86"
] | Current State: 86:[97, 68, 98, 19], Operations: []
Exploring Operation: 97+68=165, Resulting Numbers: [98, 19, 165]
Generated Node #2: [98, 19, 165] from Operation: 97+68=165
Current State: 86:[98, 19, 165], Operations: ['97+68=165']
Exploring Operation: 98-19=79, Resulting Numbers: [165, 79]
Generated Node #3: [165, 79] from Operation: 98-19=79
Current State: 86:[165, 79], Operations: ['97+68=165', '98-19=79']
Exploring Operation: 165-79=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[97, 68, 98, 19], Operations: []
Exploring Operation: 68-19=49, Resulting Numbers: [97, 98, 49]
Generated Node #0,0: 86:[97, 98, 49] Operation: 68-19=49
Exploring Operation: 97-19=78, Resulting Numbers: [68, 98, 78]
Generated Node #0,1: 86:[68, 98, 78] Operation: 97-19=78
Exploring Operation: 68+19=87, Resulting Numbers: [97, 98, 87]
Generated Node #0,2: 86:[97, 98, 87] Operation: 68+19=87
Exploring Operation: 98-97=1, Resulting Numbers: [68, 19, 1]
Generated Node #0,3: 86:[68, 19, 1] Operation: 98-97=1
Exploring Operation: 98-19=79, Resulting Numbers: [97, 68, 79]
Generated Node #0,4: 86:[97, 68, 79] Operation: 98-19=79
Moving to Node #0,2
Current State: 86:[97, 98, 87], Operations: ['68+19=87']
Exploring Operation: 98-87=11, Resulting Numbers: [97, 11]
Generated Node #0,2,0: 86:[97, 11] Operation: 98-87=11
Exploring Operation: 98-97=1, Resulting Numbers: [87, 1]
Generated Node #0,2,1: 86:[87, 1] Operation: 98-97=1
Exploring Operation: 97+98=195, Resulting Numbers: [87, 195]
Generated Node #0,2,2: 86:[87, 195] Operation: 97+98=195
Exploring Operation: 97-87=10, Resulting Numbers: [98, 10]
Generated Node #0,2,3: 86:[98, 10] Operation: 97-87=10
Exploring Operation: 97+87=184, Resulting Numbers: [98, 184]
Generated Node #0,2,4: 86:[98, 184] Operation: 97+87=184
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 86:[87, 1], Operations: ['68+19=87', '98-97=1']
Exploring Operation: 87-1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[97, 68, 98, 19], Operations: []
Exploring Operation: 68+19=87, Resulting Numbers: [97, 98, 87]
Generated Node #0,2: 86:[97, 98, 87] Operation: 68+19=87
Moving to Node #0,2
Current State: 86:[97, 98, 87], Operations: ['68+19=87']
Exploring Operation: 98-97=1, Resulting Numbers: [87, 1]
Generated Node #0,2,1: 86:[87, 1] Operation: 98-97=1
Moving to Node #0,2,1
Current State: 86:[87, 1], Operations: ['68+19=87', '98-97=1']
Exploring Operation: 87-1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
99,
34,
90,
78
] | 35 | [
"99+34=133",
"90+78=168",
"168-133=35"
] | Current State: 35:[99, 34, 90, 78], Operations: []
Exploring Operation: 99+34=133, Resulting Numbers: [90, 78, 133]
Generated Node #2: [90, 78, 133] from Operation: 99+34=133
Current State: 35:[90, 78, 133], Operations: ['99+34=133']
Exploring Operation: 90+78=168, Resulting Numbers: [133, 168]
Generated Node #3: [133, 168] from Operation: 90+78=168
Current State: 35:[133, 168], Operations: ['99+34=133', '90+78=168']
Exploring Operation: 168-133=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[99, 34, 90, 78], Operations: []
Exploring Operation: 90-78=12, Resulting Numbers: [99, 34, 12]
Generated Node #0,0: 35:[99, 34, 12] Operation: 90-78=12
Exploring Operation: 99-34=65, Resulting Numbers: [90, 78, 65]
Generated Node #0,1: 35:[90, 78, 65] Operation: 99-34=65
Exploring Operation: 99-90=9, Resulting Numbers: [34, 78, 9]
Generated Node #0,2: 35:[34, 78, 9] Operation: 99-90=9
Exploring Operation: 99-78=21, Resulting Numbers: [34, 90, 21]
Generated Node #0,3: 35:[34, 90, 21] Operation: 99-78=21
Start Sub Search at level 1: Moving to Node #0,2
Current State: 35:[34, 78, 9], Operations: ['99-90=9']
Exploring Operation: 34+9=43, Resulting Numbers: [78, 43]
Generated Node #0,2,0: 35:[78, 43] Operation: 34+9=43
Exploring Operation: 34-9=25, Resulting Numbers: [78, 25]
Generated Node #0,2,1: 35:[78, 25] Operation: 34-9=25
Exploring Operation: 78-34=44, Resulting Numbers: [9, 44]
Generated Node #0,2,2: 35:[9, 44] Operation: 78-34=44
Exploring Operation: 78-9=69, Resulting Numbers: [34, 69]
Generated Node #0,2,3: 35:[34, 69] Operation: 78-9=69
Moving to Node #0,2,2
Current State: 35:[9, 44], Operations: ['99-90=9', '78-34=44']
Exploring Operation: 44-9=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[99, 34, 90, 78], Operations: []
Exploring Operation: 99-90=9, Resulting Numbers: [34, 78, 9]
Generated Node #0,2: 35:[34, 78, 9] Operation: 99-90=9
Moving to Node #0,2
Current State: 35:[34, 78, 9], Operations: ['99-90=9']
Exploring Operation: 78-34=44, Resulting Numbers: [9, 44]
Generated Node #0,2,2: 35:[9, 44] Operation: 78-34=44
Moving to Node #0,2,2
Current State: 35:[9, 44], Operations: ['99-90=9', '78-34=44']
Exploring Operation: 44-9=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
73,
5,
13,
77
] | 24 | [
"5*77=385",
"385-73=312",
"312/13=24"
] | Current State: 24:[73, 5, 13, 77], Operations: []
Exploring Operation: 5*77=385, Resulting Numbers: [73, 13, 385]
Generated Node #2: [73, 13, 385] from Operation: 5*77=385
Current State: 24:[73, 13, 385], Operations: ['5*77=385']
Exploring Operation: 385-73=312, Resulting Numbers: [13, 312]
Generated Node #3: [13, 312] from Operation: 385-73=312
Current State: 24:[13, 312], Operations: ['5*77=385', '385-73=312']
Exploring Operation: 312/13=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[73, 5, 13, 77], Operations: []
Exploring Operation: 73-13=60, Resulting Numbers: [5, 77, 60]
Generated Node #0,0: 24:[5, 77, 60] Operation: 73-13=60
Exploring Operation: 77-73=4, Resulting Numbers: [5, 13, 4]
Generated Node #0,1: 24:[5, 13, 4] Operation: 77-73=4
Moving to Node #0,1
Current State: 24:[5, 13, 4], Operations: ['77-73=4']
Exploring Operation: 5+4=9, Resulting Numbers: [13, 9]
Generated Node #0,1,0: 24:[13, 9] Operation: 5+4=9
Exploring Operation: 13-5=8, Resulting Numbers: [4, 8]
Generated Node #0,1,1: 24:[4, 8] Operation: 13-5=8
Moving to Node #0,0
Current State: 24:[5, 77, 60], Operations: ['73-13=60']
Exploring Operation: 77-60=17, Resulting Numbers: [5, 17]
Generated Node #0,0,0: 24:[5, 17] Operation: 77-60=17
Exploring Operation: 60/5=12, Resulting Numbers: [77, 12]
Generated Node #0,0,1: 24:[77, 12] Operation: 60/5=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[5, 17], Operations: ['73-13=60', '77-60=17']
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,24 unequal: No Solution
Exploring Operation: 5+17=22, Resulting Numbers: [22]
22,24 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: 24:[77, 12], Operations: ['73-13=60', '60/5=12']
Exploring Operation: 77+12=89, Resulting Numbers: [89]
89,24 unequal: No Solution
Exploring Operation: 77-12=65, Resulting Numbers: [65]
65,24 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: 24:[4, 8], Operations: ['77-73=4', '13-5=8']
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,24 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,24 unequal: No Solution
Moving to Node #0,1,0
Current State: 24:[13, 9], Operations: ['77-73=4', '5+4=9']
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,24 unequal: No Solution
Exploring Operation: 13+9=22, Resulting Numbers: [22]
22,24 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
27,
28,
98,
34
] | 92 | [
"98*34=3332",
"3332/28=119",
"119-27=92"
] | Current State: 92:[27, 28, 98, 34], Operations: []
Exploring Operation: 98*34=3332, Resulting Numbers: [27, 28, 3332]
Generated Node #2: [27, 28, 3332] from Operation: 98*34=3332
Current State: 92:[27, 28, 3332], Operations: ['98*34=3332']
Exploring Operation: 3332/28=119, Resulting Numbers: [27, 119]
Generated Node #3: [27, 119] from Operation: 3332/28=119
Current State: 92:[27, 119], Operations: ['98*34=3332', '3332/28=119']
Exploring Operation: 119-27=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[27, 28, 98, 34], Operations: []
Exploring Operation: 34-27=7, Resulting Numbers: [28, 98, 7]
Generated Node #0,0: 92:[28, 98, 7] Operation: 34-27=7
Exploring Operation: 27+28=55, Resulting Numbers: [98, 34, 55]
Generated Node #0,1: 92:[98, 34, 55] Operation: 27+28=55
Exploring Operation: 34-28=6, Resulting Numbers: [27, 98, 6]
Generated Node #0,2: 92:[27, 98, 6] Operation: 34-28=6
Exploring Operation: 28-27=1, Resulting Numbers: [98, 34, 1]
Generated Node #0,3: 92:[98, 34, 1] Operation: 28-27=1
Start Sub Search at level 1: Moving to Node #0,2
Current State: 92:[27, 98, 6], Operations: ['34-28=6']
Exploring Operation: 27-6=21, Resulting Numbers: [98, 21]
Generated Node #0,2,0: 92:[98, 21] Operation: 27-6=21
Exploring Operation: 98-6=92, Resulting Numbers: [27, 92]
Generated Node #0,2,1: 92:[27, 92] Operation: 98-6=92
Exploring Operation: 98+6=104, Resulting Numbers: [27, 104]
Generated Node #0,2,2: 92:[27, 104] Operation: 98+6=104
Exploring Operation: 27+6=33, Resulting Numbers: [98, 33]
Generated Node #0,2,3: 92:[98, 33] Operation: 27+6=33
Moving to Node #0,2,1
Current State: 92:[27, 92], Operations: ['34-28=6', '98-6=92']
Exploring Operation: 27*92=2484, Resulting Numbers: [2484]
2484,92 unequal: No Solution
Exploring Operation: 92-27=65, Resulting Numbers: [65]
65,92 unequal: No Solution
Exploring Operation: 27+92=119, Resulting Numbers: [119]
119,92 unequal: No Solution
Moving to Node #0,2,0
Current State: 92:[98, 21], Operations: ['34-28=6', '27-6=21']
Exploring Operation: 98+21=119, Resulting Numbers: [119]
119,92 unequal: No Solution
Exploring Operation: 98-21=77, Resulting Numbers: [77]
77,92 unequal: No Solution
Exploring Operation: 98*21=2058, Resulting Numbers: [2058]
2058,92 unequal: No Solution
Moving to Node #0,2,3
Current State: 92:[98, 33], Operations: ['34-28=6', '27+6=33']
Exploring Operation: 98+33=131, Resulting Numbers: [131]
131,92 unequal: No Solution
Exploring Operation: 98-33=65, Resulting Numbers: [65]
65,92 unequal: No Solution
Exploring Operation: 98*33=3234, Resulting Numbers: [3234]
3234,92 unequal: No Solution
Moving to Node #0,2,2
Current State: 92:[27, 104], Operations: ['34-28=6', '98+6=104']
Exploring Operation: 27*104=2808, Resulting Numbers: [2808]
2808,92 unequal: No Solution
Exploring Operation: 27+104=131, Resulting Numbers: [131]
131,92 unequal: No Solution
Exploring Operation: 104-27=77, Resulting Numbers: [77]
77,92 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: 92:[28, 98, 7], Operations: ['34-27=7']
Exploring Operation: 28/7=4, Resulting Numbers: [98, 4]
Generated Node #0,0,0: 92:[98, 4] Operation: 28/7=4
Exploring Operation: 98/7=14, Resulting Numbers: [28, 14]
Generated Node #0,0,1: 92:[28, 14] Operation: 98/7=14
Exploring Operation: 98-7=91, Resulting Numbers: [28, 91]
Generated Node #0,0,2: 92:[28, 91] Operation: 98-7=91
Exploring Operation: 28-7=21, Resulting Numbers: [98, 21]
Generated Node #0,0,3: 92:[98, 21] Operation: 28-7=21
Moving to Node #0,0,0
Current State: 92:[98, 4], Operations: ['34-27=7', '28/7=4']
Exploring Operation: 98*4=392, Resulting Numbers: [392]
392,92 unequal: No Solution
Exploring Operation: 98+4=102, Resulting Numbers: [102]
102,92 unequal: No Solution
Exploring Operation: 98-4=94, Resulting Numbers: [94]
94,92 unequal: No Solution
Moving to Node #0,0,2
Current State: 92:[28, 91], Operations: ['34-27=7', '98-7=91']
Exploring Operation: 91-28=63, Resulting Numbers: [63]
63,92 unequal: No Solution
Exploring Operation: 28*91=2548, Resulting Numbers: [2548]
2548,92 unequal: No Solution
Exploring Operation: 28+91=119, Resulting Numbers: [119]
119,92 unequal: No Solution
Moving to Node #0,0,3
Current State: 92:[98, 21], Operations: ['34-27=7', '28-7=21']
Exploring Operation: 98-21=77, Resulting Numbers: [77]
77,92 unequal: No Solution
Exploring Operation: 98*21=2058, Resulting Numbers: [2058]
2058,92 unequal: No Solution
Exploring Operation: 98+21=119, Resulting Numbers: [119]
119,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[28, 14], Operations: ['34-27=7', '98/7=14']
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,92 unequal: No Solution
Exploring Operation: 28/14=2, Resulting Numbers: [2]
2,92 unequal: No Solution
Exploring Operation: 28*14=392, Resulting Numbers: [392]
392,92 unequal: No Solution
Exploring Operation: 28+14=42, Resulting Numbers: [42]
42,92 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: 92:[98, 34, 1], Operations: ['28-27=1']
Exploring Operation: 98*1=98, Resulting Numbers: [34, 98]
Generated Node #0,3,0: 92:[34, 98] Operation: 98*1=98
Exploring Operation: 98-1=97, Resulting Numbers: [34, 97]
Generated Node #0,3,1: 92:[34, 97] Operation: 98-1=97
Exploring Operation: 34-1=33, Resulting Numbers: [98, 33]
Generated Node #0,3,2: 92:[98, 33] Operation: 34-1=33
Exploring Operation: 98/1=98, Resulting Numbers: [34, 98]
Generated Node #0,3,3: 92:[34, 98] Operation: 98/1=98
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 92:[34, 97], Operations: ['28-27=1', '98-1=97']
Exploring Operation: 97-34=63, Resulting Numbers: [63]
63,92 unequal: No Solution
Exploring Operation: 34*97=3298, Resulting Numbers: [3298]
3298,92 unequal: No Solution
Exploring Operation: 34+97=131, Resulting Numbers: [131]
131,92 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: 92:[98, 33], Operations: ['28-27=1', '34-1=33']
Exploring Operation: 98-33=65, Resulting Numbers: [65]
65,92 unequal: No Solution
Exploring Operation: 98+33=131, Resulting Numbers: [131]
131,92 unequal: No Solution
Exploring Operation: 98*33=3234, Resulting Numbers: [3234]
3234,92 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: 92:[34, 98], Operations: ['28-27=1', '98*1=98']
Exploring Operation: 98-34=64, Resulting Numbers: [64]
64,92 unequal: No Solution
Exploring Operation: 34*98=3332, Resulting Numbers: [3332]
3332,92 unequal: No Solution
Exploring Operation: 34+98=132, Resulting Numbers: [132]
132,92 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: 92:[34, 98], Operations: ['28-27=1', '98/1=98']
Exploring Operation: 34+98=132, Resulting Numbers: [132]
132,92 unequal: No Solution
Exploring Operation: 34*98=3332, Resulting Numbers: [3332]
3332,92 unequal: No Solution
Exploring Operation: 98-34=64, Resulting Numbers: [64]
64,92 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: 92:[98, 34, 55], Operations: ['27+28=55']
Exploring Operation: 55-34=21, Resulting Numbers: [98, 21]
Generated Node #0,1,0: 92:[98, 21] Operation: 55-34=21
Exploring Operation: 34+55=89, Resulting Numbers: [98, 89]
Generated Node #0,1,1: 92:[98, 89] Operation: 34+55=89
Exploring Operation: 98-55=43, Resulting Numbers: [34, 43]
Generated Node #0,1,2: 92:[34, 43] Operation: 98-55=43
Exploring Operation: 98-34=64, Resulting Numbers: [55, 64]
Generated Node #0,1,3: 92:[55, 64] Operation: 98-34=64
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 92:[98, 21], Operations: ['27+28=55', '55-34=21']
Exploring Operation: 98+21=119, Resulting Numbers: [119]
119,92 unequal: No Solution
Exploring Operation: 98*21=2058, Resulting Numbers: [2058]
2058,92 unequal: No Solution
Exploring Operation: 98-21=77, Resulting Numbers: [77]
77,92 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: 92:[98, 89], Operations: ['27+28=55', '34+55=89']
Exploring Operation: 98*89=8722, Resulting Numbers: [8722]
8722,92 unequal: No Solution
Exploring Operation: 98+89=187, Resulting Numbers: [187]
187,92 unequal: No Solution
Exploring Operation: 98-89=9, Resulting Numbers: [9]
9,92 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: 92:[34, 43], Operations: ['27+28=55', '98-55=43']
Exploring Operation: 34+43=77, Resulting Numbers: [77]
77,92 unequal: No Solution
Exploring Operation: 43-34=9, Resulting Numbers: [9]
9,92 unequal: No Solution
Exploring Operation: 34*43=1462, Resulting Numbers: [1462]
1462,92 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: 92:[55, 64], Operations: ['27+28=55', '98-34=64']
Exploring Operation: 64-55=9, Resulting Numbers: [9]
9,92 unequal: No Solution
Exploring Operation: 55+64=119, Resulting Numbers: [119]
119,92 unequal: No Solution
Exploring Operation: 55*64=3520, Resulting Numbers: [3520]
3520,92 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 |
[
62,
27,
44,
91
] | 67 | [
"44+91=135",
"135/27=5",
"62+5=67"
] | Current State: 67:[62, 27, 44, 91], Operations: []
Exploring Operation: 44+91=135, Resulting Numbers: [62, 27, 135]
Generated Node #2: [62, 27, 135] from Operation: 44+91=135
Current State: 67:[62, 27, 135], Operations: ['44+91=135']
Exploring Operation: 135/27=5, Resulting Numbers: [62, 5]
Generated Node #3: [62, 5] from Operation: 135/27=5
Current State: 67:[62, 5], Operations: ['44+91=135', '135/27=5']
Exploring Operation: 62+5=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[62, 27, 44, 91], Operations: []
Exploring Operation: 91-44=47, Resulting Numbers: [62, 27, 47]
Generated Node #0,0: 67:[62, 27, 47] Operation: 91-44=47
Exploring Operation: 91-27=64, Resulting Numbers: [62, 44, 64]
Generated Node #0,1: 67:[62, 44, 64] Operation: 91-27=64
Exploring Operation: 27+44=71, Resulting Numbers: [62, 91, 71]
Generated Node #0,2: 67:[62, 91, 71] Operation: 27+44=71
Exploring Operation: 62+27=89, Resulting Numbers: [44, 91, 89]
Generated Node #0,3: 67:[44, 91, 89] Operation: 62+27=89
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[62, 44, 64], Operations: ['91-27=64']
Exploring Operation: 62+44=106, Resulting Numbers: [64, 106]
Generated Node #0,1,0: 67:[64, 106] Operation: 62+44=106
Exploring Operation: 44+64=108, Resulting Numbers: [62, 108]
Generated Node #0,1,1: 67:[62, 108] Operation: 44+64=108
Exploring Operation: 62-44=18, Resulting Numbers: [64, 18]
Generated Node #0,1,2: 67:[64, 18] Operation: 62-44=18
Exploring Operation: 64-44=20, Resulting Numbers: [62, 20]
Generated Node #0,1,3: 67:[62, 20] Operation: 64-44=20
Moving to Node #0,1,0
Current State: 67:[64, 106], Operations: ['91-27=64', '62+44=106']
Exploring Operation: 106-64=42, Resulting Numbers: [42]
42,67 unequal: No Solution
Exploring Operation: 64*106=6784, Resulting Numbers: [6784]
6784,67 unequal: No Solution
Exploring Operation: 64+106=170, Resulting Numbers: [170]
170,67 unequal: No Solution
Moving to Node #0,1,1
Current State: 67:[62, 108], Operations: ['91-27=64', '44+64=108']
Exploring Operation: 62+108=170, Resulting Numbers: [170]
170,67 unequal: No Solution
Exploring Operation: 108-62=46, Resulting Numbers: [46]
46,67 unequal: No Solution
Exploring Operation: 62*108=6696, Resulting Numbers: [6696]
6696,67 unequal: No Solution
Moving to Node #0,1,3
Current State: 67:[62, 20], Operations: ['91-27=64', '64-44=20']
Exploring Operation: 62+20=82, Resulting Numbers: [82]
82,67 unequal: No Solution
Exploring Operation: 62-20=42, Resulting Numbers: [42]
42,67 unequal: No Solution
Exploring Operation: 62*20=1240, Resulting Numbers: [1240]
1240,67 unequal: No Solution
Moving to Node #0,1,2
Current State: 67:[64, 18], Operations: ['91-27=64', '62-44=18']
Exploring Operation: 64+18=82, Resulting Numbers: [82]
82,67 unequal: No Solution
Exploring Operation: 64-18=46, Resulting Numbers: [46]
46,67 unequal: No Solution
Exploring Operation: 64*18=1152, Resulting Numbers: [1152]
1152,67 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: 67:[62, 91, 71], Operations: ['27+44=71']
Exploring Operation: 91-62=29, Resulting Numbers: [71, 29]
Generated Node #0,2,0: 67:[71, 29] Operation: 91-62=29
Exploring Operation: 71-62=9, Resulting Numbers: [91, 9]
Generated Node #0,2,1: 67:[91, 9] Operation: 71-62=9
Exploring Operation: 91-71=20, Resulting Numbers: [62, 20]
Generated Node #0,2,2: 67:[62, 20] Operation: 91-71=20
Exploring Operation: 62+91=153, Resulting Numbers: [71, 153]
Generated Node #0,2,3: 67:[71, 153] Operation: 62+91=153
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 67:[71, 29], Operations: ['27+44=71', '91-62=29']
Exploring Operation: 71*29=2059, Resulting Numbers: [2059]
2059,67 unequal: No Solution
Exploring Operation: 71+29=100, Resulting Numbers: [100]
100,67 unequal: No Solution
Exploring Operation: 71-29=42, Resulting Numbers: [42]
42,67 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: 67:[62, 20], Operations: ['27+44=71', '91-71=20']
Exploring Operation: 62+20=82, Resulting Numbers: [82]
82,67 unequal: No Solution
Exploring Operation: 62-20=42, Resulting Numbers: [42]
42,67 unequal: No Solution
Exploring Operation: 62*20=1240, Resulting Numbers: [1240]
1240,67 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: 67:[91, 9], Operations: ['27+44=71', '71-62=9']
Exploring Operation: 91*9=819, Resulting Numbers: [819]
819,67 unequal: No Solution
Exploring Operation: 91-9=82, Resulting Numbers: [82]
82,67 unequal: No Solution
Exploring Operation: 91+9=100, Resulting Numbers: [100]
100,67 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: 67:[71, 153], Operations: ['27+44=71', '62+91=153']
Exploring Operation: 71+153=224, Resulting Numbers: [224]
224,67 unequal: No Solution
Exploring Operation: 71*153=10863, Resulting Numbers: [10863]
10863,67 unequal: No Solution
Exploring Operation: 153-71=82, Resulting Numbers: [82]
82,67 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: 67:[62, 27, 47], Operations: ['91-44=47']
Exploring Operation: 62-27=35, Resulting Numbers: [47, 35]
Generated Node #0,0,0: 67:[47, 35] Operation: 62-27=35
Exploring Operation: 47-27=20, Resulting Numbers: [62, 20]
Generated Node #0,0,1: 67:[62, 20] Operation: 47-27=20
Exploring Operation: 27+47=74, Resulting Numbers: [62, 74]
Generated Node #0,0,2: 67:[62, 74] Operation: 27+47=74
Exploring Operation: 62+27=89, Resulting Numbers: [47, 89]
Generated Node #0,0,3: 67:[47, 89] Operation: 62+27=89
Moving to Node #0,0,2
Current State: 67:[62, 74], Operations: ['91-44=47', '27+47=74']
Exploring Operation: 74-62=12, Resulting Numbers: [12]
12,67 unequal: No Solution
Exploring Operation: 62*74=4588, Resulting Numbers: [4588]
4588,67 unequal: No Solution
Exploring Operation: 62+74=136, Resulting Numbers: [136]
136,67 unequal: No Solution
Moving to Node #0,0,3
Current State: 67:[47, 89], Operations: ['91-44=47', '62+27=89']
Exploring Operation: 47*89=4183, Resulting Numbers: [4183]
4183,67 unequal: No Solution
Exploring Operation: 47+89=136, Resulting Numbers: [136]
136,67 unequal: No Solution
Exploring Operation: 89-47=42, Resulting Numbers: [42]
42,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[62, 20], Operations: ['91-44=47', '47-27=20']
Exploring Operation: 62*20=1240, Resulting Numbers: [1240]
1240,67 unequal: No Solution
Exploring Operation: 62-20=42, Resulting Numbers: [42]
42,67 unequal: No Solution
Exploring Operation: 62+20=82, Resulting Numbers: [82]
82,67 unequal: No Solution
Moving to Node #0,0,0
Current State: 67:[47, 35], Operations: ['91-44=47', '62-27=35']
Exploring Operation: 47*35=1645, Resulting Numbers: [1645]
1645,67 unequal: No Solution
Exploring Operation: 47-35=12, Resulting Numbers: [12]
12,67 unequal: No Solution
Exploring Operation: 47+35=82, Resulting Numbers: [82]
82,67 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: 67:[44, 91, 89], Operations: ['62+27=89']
Exploring Operation: 91-44=47, Resulting Numbers: [89, 47]
Generated Node #0,3,0: 67:[89, 47] Operation: 91-44=47
Exploring Operation: 89-44=45, Resulting Numbers: [91, 45]
Generated Node #0,3,1: 67:[91, 45] Operation: 89-44=45
Exploring Operation: 44+91=135, Resulting Numbers: [89, 135]
Generated Node #0,3,2: 67:[89, 135] Operation: 44+91=135
Exploring Operation: 91-89=2, Resulting Numbers: [44, 2]
Generated Node #0,3,3: 67:[44, 2] Operation: 91-89=2
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 67:[89, 47], Operations: ['62+27=89', '91-44=47']
Exploring Operation: 89*47=4183, Resulting Numbers: [4183]
4183,67 unequal: No Solution
Exploring Operation: 89+47=136, Resulting Numbers: [136]
136,67 unequal: No Solution
Exploring Operation: 89-47=42, Resulting Numbers: [42]
42,67 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: 67:[91, 45], Operations: ['62+27=89', '89-44=45']
Exploring Operation: 91+45=136, Resulting Numbers: [136]
136,67 unequal: No Solution
Exploring Operation: 91*45=4095, Resulting Numbers: [4095]
4095,67 unequal: No Solution
Exploring Operation: 91-45=46, Resulting Numbers: [46]
46,67 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: 67:[44, 2], Operations: ['62+27=89', '91-89=2']
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,67 unequal: No Solution
Exploring Operation: 44*2=88, Resulting Numbers: [88]
88,67 unequal: No Solution
Exploring Operation: 44+2=46, Resulting Numbers: [46]
46,67 unequal: No Solution
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,67 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: 67:[89, 135], Operations: ['62+27=89', '44+91=135']
Exploring Operation: 89+135=224, Resulting Numbers: [224]
224,67 unequal: No Solution
Exploring Operation: 89*135=12015, Resulting Numbers: [12015]
12015,67 unequal: No Solution
Exploring Operation: 135-89=46, Resulting Numbers: [46]
46,67 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 |
[
1,
51,
32,
3
] | 42 | [
"32-1=31",
"3*31=93",
"93-51=42"
] | Current State: 42:[1, 51, 32, 3], Operations: []
Exploring Operation: 32-1=31, Resulting Numbers: [51, 3, 31]
Generated Node #2: [51, 3, 31] from Operation: 32-1=31
Current State: 42:[51, 3, 31], Operations: ['32-1=31']
Exploring Operation: 3*31=93, Resulting Numbers: [51, 93]
Generated Node #3: [51, 93] from Operation: 3*31=93
Current State: 42:[51, 93], Operations: ['32-1=31', '3*31=93']
Exploring Operation: 93-51=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[1, 51, 32, 3], Operations: []
Exploring Operation: 51/3=17, Resulting Numbers: [1, 32, 17]
Generated Node #0,0: 42:[1, 32, 17] Operation: 51/3=17
Exploring Operation: 51-3=48, Resulting Numbers: [1, 32, 48]
Generated Node #0,1: 42:[1, 32, 48] Operation: 51-3=48
Exploring Operation: 51-32=19, Resulting Numbers: [1, 3, 19]
Generated Node #0,2: 42:[1, 3, 19] Operation: 51-32=19
Start Sub Search at level 1: Moving to Node #0,2
Current State: 42:[1, 3, 19], Operations: ['51-32=19']
Exploring Operation: 1*3=3, Resulting Numbers: [19, 3]
Generated Node #0,2,0: 42:[19, 3] Operation: 1*3=3
Exploring Operation: 3-1=2, Resulting Numbers: [19, 2]
Generated Node #0,2,1: 42:[19, 2] Operation: 3-1=2
Exploring Operation: 1+19=20, Resulting Numbers: [3, 20]
Generated Node #0,2,2: 42:[3, 20] Operation: 1+19=20
Moving to Node #0,2,2
Current State: 42:[3, 20], Operations: ['51-32=19', '1+19=20']
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,42 unequal: No Solution
Exploring Operation: 3+20=23, Resulting Numbers: [23]
23,42 unequal: No Solution
Exploring Operation: 3*20=60, Resulting Numbers: [60]
60,42 unequal: No Solution
Moving to Node #0,2,0
Current State: 42:[19, 3], Operations: ['51-32=19', '1*3=3']
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,42 unequal: No Solution
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,42 unequal: No Solution
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,42 unequal: No Solution
Moving to Node #0,2,1
Current State: 42:[19, 2], Operations: ['51-32=19', '3-1=2']
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,42 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,42 unequal: No Solution
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,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,0
Current State: 42:[1, 32, 17], Operations: ['51/3=17']
Exploring Operation: 32-17=15, Resulting Numbers: [1, 15]
Generated Node #0,0,0: 42:[1, 15] Operation: 32-17=15
Exploring Operation: 32+17=49, Resulting Numbers: [1, 49]
Generated Node #0,0,1: 42:[1, 49] Operation: 32+17=49
Exploring Operation: 1+32=33, Resulting Numbers: [17, 33]
Generated Node #0,0,2: 42:[17, 33] Operation: 1+32=33
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 42:[1, 15], Operations: ['51/3=17', '32-17=15']
Exploring Operation: 1*15=15, Resulting Numbers: [15]
15,42 unequal: No Solution
Exploring Operation: 15/1=15, Resulting Numbers: [15]
15,42 unequal: No Solution
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,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:[1, 49], Operations: ['51/3=17', '32+17=49']
Exploring Operation: 49-1=48, Resulting Numbers: [48]
48,42 unequal: No Solution
Exploring Operation: 49/1=49, Resulting Numbers: [49]
49,42 unequal: No Solution
Exploring Operation: 1*49=49, Resulting Numbers: [49]
49,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:[17, 33], Operations: ['51/3=17', '1+32=33']
Exploring Operation: 33-17=16, Resulting Numbers: [16]
16,42 unequal: No Solution
Exploring Operation: 17+33=50, Resulting Numbers: [50]
50,42 unequal: No Solution
Exploring Operation: 17*33=561, Resulting Numbers: [561]
561,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:[1, 32, 48], Operations: ['51-3=48']
Exploring Operation: 1+32=33, Resulting Numbers: [48, 33]
Generated Node #0,1,0: 42:[48, 33] Operation: 1+32=33
Exploring Operation: 48-1=47, Resulting Numbers: [32, 47]
Generated Node #0,1,1: 42:[32, 47] Operation: 48-1=47
Exploring Operation: 48-32=16, Resulting Numbers: [1, 16]
Generated Node #0,1,2: 42:[1, 16] Operation: 48-32=16
Moving to Node #0,1,2
Current State: 42:[1, 16], Operations: ['51-3=48', '48-32=16']
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,42 unequal: No Solution
Exploring Operation: 1*16=16, Resulting Numbers: [16]
16,42 unequal: No Solution
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,42 unequal: No Solution
Moving to Node #0,1,0
Current State: 42:[48, 33], Operations: ['51-3=48', '1+32=33']
Exploring Operation: 48*33=1584, Resulting Numbers: [1584]
1584,42 unequal: No Solution
Exploring Operation: 48+33=81, Resulting Numbers: [81]
81,42 unequal: No Solution
Exploring Operation: 48-33=15, Resulting Numbers: [15]
15,42 unequal: No Solution
Moving to Node #0,1,1
Current State: 42:[32, 47], Operations: ['51-3=48', '48-1=47']
Exploring Operation: 47-32=15, Resulting Numbers: [15]
15,42 unequal: No Solution
Exploring Operation: 32+47=79, Resulting Numbers: [79]
79,42 unequal: No Solution
Exploring Operation: 32*47=1504, Resulting Numbers: [1504]
1504,42 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 |
[
98,
49,
24,
11
] | 62 | [
"98-49=49",
"24-11=13",
"49+13=62"
] | Current State: 62:[98, 49, 24, 11], Operations: []
Exploring Operation: 98-49=49, Resulting Numbers: [24, 11, 49]
Generated Node #2: [24, 11, 49] from Operation: 98-49=49
Current State: 62:[24, 11, 49], Operations: ['98-49=49']
Exploring Operation: 24-11=13, Resulting Numbers: [49, 13]
Generated Node #3: [49, 13] from Operation: 24-11=13
Current State: 62:[49, 13], Operations: ['98-49=49', '24-11=13']
Exploring Operation: 49+13=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[98, 49, 24, 11], Operations: []
Exploring Operation: 98/49=2, Resulting Numbers: [24, 11, 2]
Generated Node #0,0: 62:[24, 11, 2] Operation: 98/49=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[24, 11, 2], Operations: ['98/49=2']
Exploring Operation: 24+11=35, Resulting Numbers: [2, 35]
Generated Node #0,0,0: 62:[2, 35] Operation: 24+11=35
Moving to Node #0,0,0
Current State: 62:[2, 35], Operations: ['98/49=2', '24+11=35']
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,62 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 |
[
68,
81,
32,
5
] | 40 | [
"81-68=13",
"32-5=27",
"13+27=40"
] | Current State: 40:[68, 81, 32, 5], Operations: []
Exploring Operation: 81-68=13, Resulting Numbers: [32, 5, 13]
Generated Node #2: [32, 5, 13] from Operation: 81-68=13
Current State: 40:[32, 5, 13], Operations: ['81-68=13']
Exploring Operation: 32-5=27, Resulting Numbers: [13, 27]
Generated Node #3: [13, 27] from Operation: 32-5=27
Current State: 40:[13, 27], Operations: ['81-68=13', '32-5=27']
Exploring Operation: 13+27=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[68, 81, 32, 5], Operations: []
Exploring Operation: 68-5=63, Resulting Numbers: [81, 32, 63]
Generated Node #0,0: 40:[81, 32, 63] Operation: 68-5=63
Exploring Operation: 81-32=49, Resulting Numbers: [68, 5, 49]
Generated Node #0,1: 40:[68, 5, 49] Operation: 81-32=49
Exploring Operation: 81-68=13, Resulting Numbers: [32, 5, 13]
Generated Node #0,2: 40:[32, 5, 13] Operation: 81-68=13
Exploring Operation: 68-32=36, Resulting Numbers: [81, 5, 36]
Generated Node #0,3: 40:[81, 5, 36] Operation: 68-32=36
Start Sub Search at level 1: Moving to Node #0,2
Current State: 40:[32, 5, 13], Operations: ['81-68=13']
Exploring Operation: 32-13=19, Resulting Numbers: [5, 19]
Generated Node #0,2,0: 40:[5, 19] Operation: 32-13=19
Exploring Operation: 13-5=8, Resulting Numbers: [32, 8]
Generated Node #0,2,1: 40:[32, 8] Operation: 13-5=8
Exploring Operation: 32+13=45, Resulting Numbers: [5, 45]
Generated Node #0,2,2: 40:[5, 45] Operation: 32+13=45
Exploring Operation: 32+5=37, Resulting Numbers: [13, 37]
Generated Node #0,2,3: 40:[13, 37] Operation: 32+5=37
Moving to Node #0,2,0
Current State: 40:[5, 19], Operations: ['81-68=13', '32-13=19']
Exploring Operation: 5*19=95, Resulting Numbers: [95]
95,40 unequal: No Solution
Exploring Operation: 5+19=24, Resulting Numbers: [24]
24,40 unequal: No Solution
Exploring Operation: 19-5=14, Resulting Numbers: [14]
14,40 unequal: No Solution
Moving to Node #0,2,2
Current State: 40:[5, 45], Operations: ['81-68=13', '32+13=45']
Exploring Operation: 5+45=50, Resulting Numbers: [50]
50,40 unequal: No Solution
Exploring Operation: 45-5=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[68, 81, 32, 5], Operations: []
Exploring Operation: 81-68=13, Resulting Numbers: [32, 5, 13]
Generated Node #0,2: 40:[32, 5, 13] Operation: 81-68=13
Moving to Node #0,2
Current State: 40:[32, 5, 13], Operations: ['81-68=13']
Exploring Operation: 32+13=45, Resulting Numbers: [5, 45]
Generated Node #0,2,2: 40:[5, 45] Operation: 32+13=45
Moving to Node #0,2,2
Current State: 40:[5, 45], Operations: ['81-68=13', '32+13=45']
Exploring Operation: 45-5=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
24,
21,
18,
41
] | 85 | [
"24-18=6",
"21*6=126",
"126-41=85"
] | Current State: 85:[24, 21, 18, 41], Operations: []
Exploring Operation: 24-18=6, Resulting Numbers: [21, 41, 6]
Generated Node #2: [21, 41, 6] from Operation: 24-18=6
Current State: 85:[21, 41, 6], Operations: ['24-18=6']
Exploring Operation: 21*6=126, Resulting Numbers: [41, 126]
Generated Node #3: [41, 126] from Operation: 21*6=126
Current State: 85:[41, 126], Operations: ['24-18=6', '21*6=126']
Exploring Operation: 126-41=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[24, 21, 18, 41], Operations: []
Exploring Operation: 41-24=17, Resulting Numbers: [21, 18, 17]
Generated Node #0,0: 85:[21, 18, 17] Operation: 41-24=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[21, 18, 17], Operations: ['41-24=17']
Exploring Operation: 21-18=3, Resulting Numbers: [17, 3]
Generated Node #0,0,0: 85:[17, 3] Operation: 21-18=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 85:[17, 3], Operations: ['41-24=17', '21-18=3']
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,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
No solution found.
| 0 | hs_1 | mult_heuristic |
[
67,
46,
8,
52
] | 19 | [
"52-46=6",
"8*6=48",
"67-48=19"
] | Current State: 19:[67, 46, 8, 52], Operations: []
Exploring Operation: 52-46=6, Resulting Numbers: [67, 8, 6]
Generated Node #2: [67, 8, 6] from Operation: 52-46=6
Current State: 19:[67, 8, 6], Operations: ['52-46=6']
Exploring Operation: 8*6=48, Resulting Numbers: [67, 48]
Generated Node #3: [67, 48] from Operation: 8*6=48
Current State: 19:[67, 48], Operations: ['52-46=6', '8*6=48']
Exploring Operation: 67-48=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[67, 46, 8, 52], Operations: []
Exploring Operation: 67-52=15, Resulting Numbers: [46, 8, 15]
Generated Node #0,0: 19:[46, 8, 15] Operation: 67-52=15
Exploring Operation: 52-46=6, Resulting Numbers: [67, 8, 6]
Generated Node #0,1: 19:[67, 8, 6] Operation: 52-46=6
Exploring Operation: 67-46=21, Resulting Numbers: [8, 52, 21]
Generated Node #0,2: 19:[8, 52, 21] Operation: 67-46=21
Moving to Node #0,0
Current State: 19:[46, 8, 15], Operations: ['67-52=15']
Exploring Operation: 8+15=23, Resulting Numbers: [46, 23]
Generated Node #0,0,0: 19:[46, 23] Operation: 8+15=23
Exploring Operation: 46-15=31, Resulting Numbers: [8, 31]
Generated Node #0,0,1: 19:[8, 31] Operation: 46-15=31
Exploring Operation: 46-8=38, Resulting Numbers: [15, 38]
Generated Node #0,0,2: 19:[15, 38] Operation: 46-8=38
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 19:[8, 31], Operations: ['67-52=15', '46-15=31']
Exploring Operation: 8*31=248, Resulting Numbers: [248]
248,19 unequal: No Solution
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,19 unequal: No Solution
Exploring Operation: 8+31=39, Resulting Numbers: [39]
39,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,2
Current State: 19:[15, 38], Operations: ['67-52=15', '46-8=38']
Exploring Operation: 15*38=570, Resulting Numbers: [570]
570,19 unequal: No Solution
Exploring Operation: 15+38=53, Resulting Numbers: [53]
53,19 unequal: No Solution
Exploring Operation: 38-15=23, Resulting Numbers: [23]
23,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:[46, 23], Operations: ['67-52=15', '8+15=23']
Exploring Operation: 46+23=69, Resulting Numbers: [69]
69,19 unequal: No Solution
Exploring Operation: 46/23=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 46-23=23, Resulting Numbers: [23]
23,19 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: 19:[8, 52, 21], Operations: ['67-46=21']
Exploring Operation: 52-8=44, Resulting Numbers: [21, 44]
Generated Node #0,2,0: 19:[21, 44] Operation: 52-8=44
Exploring Operation: 52-21=31, Resulting Numbers: [8, 31]
Generated Node #0,2,1: 19:[8, 31] Operation: 52-21=31
Exploring Operation: 21-8=13, Resulting Numbers: [52, 13]
Generated Node #0,2,2: 19:[52, 13] Operation: 21-8=13
Moving to Node #0,1
Current State: 19:[67, 8, 6], Operations: ['52-46=6']
Exploring Operation: 67-8=59, Resulting Numbers: [6, 59]
Generated Node #0,1,0: 19:[6, 59] Operation: 67-8=59
Exploring Operation: 8+6=14, Resulting Numbers: [67, 14]
Generated Node #0,1,1: 19:[67, 14] Operation: 8+6=14
Exploring Operation: 67-6=61, Resulting Numbers: [8, 61]
Generated Node #0,1,2: 19:[8, 61] Operation: 67-6=61
Moving to Node #0,2,1
Current State: 19:[8, 31], Operations: ['67-46=21', '52-21=31']
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,19 unequal: No Solution
Exploring Operation: 8+31=39, Resulting Numbers: [39]
39,19 unequal: No Solution
Exploring Operation: 8*31=248, Resulting Numbers: [248]
248,19 unequal: No Solution
Moving to Node #0,2,0
Current State: 19:[21, 44], Operations: ['67-46=21', '52-8=44']
Exploring Operation: 21*44=924, Resulting Numbers: [924]
924,19 unequal: No Solution
Exploring Operation: 21+44=65, Resulting Numbers: [65]
65,19 unequal: No Solution
Exploring Operation: 44-21=23, Resulting Numbers: [23]
23,19 unequal: No Solution
Moving to Node #0,2,2
Current State: 19:[52, 13], Operations: ['67-46=21', '21-8=13']
Exploring Operation: 52-13=39, Resulting Numbers: [39]
39,19 unequal: No Solution
Exploring Operation: 52/13=4, Resulting Numbers: [4]
4,19 unequal: No Solution
Exploring Operation: 52+13=65, Resulting Numbers: [65]
65,19 unequal: No Solution
Moving to Node #0,1,2
Current State: 19:[8, 61], Operations: ['52-46=6', '67-6=61']
Exploring Operation: 8+61=69, Resulting Numbers: [69]
69,19 unequal: No Solution
Exploring Operation: 8*61=488, Resulting Numbers: [488]
488,19 unequal: No Solution
Exploring Operation: 61-8=53, Resulting Numbers: [53]
53,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[67, 14], Operations: ['52-46=6', '8+6=14']
Exploring Operation: 67+14=81, Resulting Numbers: [81]
81,19 unequal: No Solution
Exploring Operation: 67-14=53, Resulting Numbers: [53]
53,19 unequal: No Solution
Exploring Operation: 67*14=938, Resulting Numbers: [938]
938,19 unequal: No Solution
Moving to Node #0,1,0
Current State: 19:[6, 59], Operations: ['52-46=6', '67-8=59']
Exploring Operation: 6+59=65, Resulting Numbers: [65]
65,19 unequal: No Solution
Exploring Operation: 59-6=53, Resulting Numbers: [53]
53,19 unequal: No Solution
Exploring Operation: 6*59=354, Resulting Numbers: [354]
354,19 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
46,
41,
62,
13
] | 44 | [
"46-41=5",
"62-13=49",
"49-5=44"
] | Current State: 44:[46, 41, 62, 13], Operations: []
Exploring Operation: 46-41=5, Resulting Numbers: [62, 13, 5]
Generated Node #2: [62, 13, 5] from Operation: 46-41=5
Current State: 44:[62, 13, 5], Operations: ['46-41=5']
Exploring Operation: 62-13=49, Resulting Numbers: [5, 49]
Generated Node #3: [5, 49] from Operation: 62-13=49
Current State: 44:[5, 49], Operations: ['46-41=5', '62-13=49']
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[46, 41, 62, 13], Operations: []
Exploring Operation: 62-41=21, Resulting Numbers: [46, 13, 21]
Generated Node #0,0: 44:[46, 13, 21] Operation: 62-41=21
Exploring Operation: 62-46=16, Resulting Numbers: [41, 13, 16]
Generated Node #0,1: 44:[41, 13, 16] Operation: 62-46=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[46, 13, 21], Operations: ['62-41=21']
Exploring Operation: 21-13=8, Resulting Numbers: [46, 8]
Generated Node #0,0,0: 44:[46, 8] Operation: 21-13=8
Exploring Operation: 46-21=25, Resulting Numbers: [13, 25]
Generated Node #0,0,1: 44:[13, 25] Operation: 46-21=25
Moving to Node #0,0,0
Current State: 44:[46, 8], Operations: ['62-41=21', '21-13=8']
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,44 unequal: No Solution
Exploring Operation: 46+8=54, Resulting Numbers: [54]
54,44 unequal: No Solution
Moving to Node #0,0,1
Current State: 44:[13, 25], Operations: ['62-41=21', '46-21=25']
Exploring Operation: 13+25=38, Resulting Numbers: [38]
38,44 unequal: No Solution
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,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,1
Current State: 44:[41, 13, 16], Operations: ['62-46=16']
Exploring Operation: 16-13=3, Resulting Numbers: [41, 3]
Generated Node #0,1,0: 44:[41, 3] Operation: 16-13=3
Exploring Operation: 41-16=25, Resulting Numbers: [13, 25]
Generated Node #0,1,1: 44:[13, 25] Operation: 41-16=25
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 44:[41, 3], Operations: ['62-46=16', '16-13=3']
Exploring Operation: 41+3=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[46, 41, 62, 13], Operations: []
Exploring Operation: 62-46=16, Resulting Numbers: [41, 13, 16]
Generated Node #0,1: 44:[41, 13, 16] Operation: 62-46=16
Moving to Node #0,1
Current State: 44:[41, 13, 16], Operations: ['62-46=16']
Exploring Operation: 16-13=3, Resulting Numbers: [41, 3]
Generated Node #0,1,0: 44:[41, 3] Operation: 16-13=3
Moving to Node #0,1,0
Current State: 44:[41, 3], Operations: ['62-46=16', '16-13=3']
Exploring Operation: 41+3=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
78,
65,
24,
6
] | 43 | [
"78-65=13",
"24+6=30",
"13+30=43"
] | Current State: 43:[78, 65, 24, 6], Operations: []
Exploring Operation: 78-65=13, Resulting Numbers: [24, 6, 13]
Generated Node #2: [24, 6, 13] from Operation: 78-65=13
Current State: 43:[24, 6, 13], Operations: ['78-65=13']
Exploring Operation: 24+6=30, Resulting Numbers: [13, 30]
Generated Node #3: [13, 30] from Operation: 24+6=30
Current State: 43:[13, 30], Operations: ['78-65=13', '24+6=30']
Exploring Operation: 13+30=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[78, 65, 24, 6], Operations: []
Exploring Operation: 78-24=54, Resulting Numbers: [65, 6, 54]
Generated Node #0,0: 43:[65, 6, 54] Operation: 78-24=54
Exploring Operation: 78-6=72, Resulting Numbers: [65, 24, 72]
Generated Node #0,1: 43:[65, 24, 72] Operation: 78-6=72
Exploring Operation: 24+6=30, Resulting Numbers: [78, 65, 30]
Generated Node #0,2: 43:[78, 65, 30] Operation: 24+6=30
Exploring Operation: 65-6=59, Resulting Numbers: [78, 24, 59]
Generated Node #0,3: 43:[78, 24, 59] Operation: 65-6=59
Exploring Operation: 78/6=13, Resulting Numbers: [65, 24, 13]
Generated Node #0,4: 43:[65, 24, 13] Operation: 78/6=13
Moving to Node #0,0
Current State: 43:[65, 6, 54], Operations: ['78-24=54']
Exploring Operation: 65-6=59, Resulting Numbers: [54, 59]
Generated Node #0,0,0: 43:[54, 59] Operation: 65-6=59
Exploring Operation: 54/6=9, Resulting Numbers: [65, 9]
Generated Node #0,0,1: 43:[65, 9] Operation: 54/6=9
Exploring Operation: 65+6=71, Resulting Numbers: [54, 71]
Generated Node #0,0,2: 43:[54, 71] Operation: 65+6=71
Exploring Operation: 54-6=48, Resulting Numbers: [65, 48]
Generated Node #0,0,3: 43:[65, 48] Operation: 54-6=48
Exploring Operation: 6+54=60, Resulting Numbers: [65, 60]
Generated Node #0,0,4: 43:[65, 60] Operation: 6+54=60
Moving to Node #0,2
Current State: 43:[78, 65, 30], Operations: ['24+6=30']
Exploring Operation: 65-30=35, Resulting Numbers: [78, 35]
Generated Node #0,2,0: 43:[78, 35] Operation: 65-30=35
Exploring Operation: 78-30=48, Resulting Numbers: [65, 48]
Generated Node #0,2,1: 43:[65, 48] Operation: 78-30=48
Exploring Operation: 65+30=95, Resulting Numbers: [78, 95]
Generated Node #0,2,2: 43:[78, 95] Operation: 65+30=95
Exploring Operation: 78-65=13, Resulting Numbers: [30, 13]
Generated Node #0,2,3: 43:[30, 13] Operation: 78-65=13
Exploring Operation: 78+30=108, Resulting Numbers: [65, 108]
Generated Node #0,2,4: 43:[65, 108] Operation: 78+30=108
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 43:[65, 48], Operations: ['24+6=30', '78-30=48']
Exploring Operation: 65*48=3120, Resulting Numbers: [3120]
3120,43 unequal: No Solution
Exploring Operation: 65+48=113, Resulting Numbers: [113]
113,43 unequal: No Solution
Exploring Operation: 65-48=17, Resulting Numbers: [17]
17,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,0
Current State: 43:[78, 35], Operations: ['24+6=30', '65-30=35']
Exploring Operation: 78-35=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[78, 65, 24, 6], Operations: []
Exploring Operation: 24+6=30, Resulting Numbers: [78, 65, 30]
Generated Node #0,2: 43:[78, 65, 30] Operation: 24+6=30
Moving to Node #0,2
Current State: 43:[78, 65, 30], Operations: ['24+6=30']
Exploring Operation: 65-30=35, Resulting Numbers: [78, 35]
Generated Node #0,2,0: 43:[78, 35] Operation: 65-30=35
Moving to Node #0,2,0
Current State: 43:[78, 35], Operations: ['24+6=30', '65-30=35']
Exploring Operation: 78-35=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_5 | sum_heuristic |
[
79,
70,
23,
45
] | 81 | [
"79+70=149",
"23+45=68",
"149-68=81"
] | Current State: 81:[79, 70, 23, 45], Operations: []
Exploring Operation: 79+70=149, Resulting Numbers: [23, 45, 149]
Generated Node #2: [23, 45, 149] from Operation: 79+70=149
Current State: 81:[23, 45, 149], Operations: ['79+70=149']
Exploring Operation: 23+45=68, Resulting Numbers: [149, 68]
Generated Node #3: [149, 68] from Operation: 23+45=68
Current State: 81:[149, 68], Operations: ['79+70=149', '23+45=68']
Exploring Operation: 149-68=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[79, 70, 23, 45], Operations: []
Exploring Operation: 79-45=34, Resulting Numbers: [70, 23, 34]
Generated Node #0,0: 81:[70, 23, 34] Operation: 79-45=34
Exploring Operation: 70-45=25, Resulting Numbers: [79, 23, 25]
Generated Node #0,1: 81:[79, 23, 25] Operation: 70-45=25
Exploring Operation: 23+45=68, Resulting Numbers: [79, 70, 68]
Generated Node #0,2: 81:[79, 70, 68] Operation: 23+45=68
Exploring Operation: 79-70=9, Resulting Numbers: [23, 45, 9]
Generated Node #0,3: 81:[23, 45, 9] Operation: 79-70=9
Exploring Operation: 45-23=22, Resulting Numbers: [79, 70, 22]
Generated Node #0,4: 81:[79, 70, 22] Operation: 45-23=22
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[79, 23, 25], Operations: ['70-45=25']
Exploring Operation: 79+25=104, Resulting Numbers: [23, 104]
Generated Node #0,1,0: 81:[23, 104] Operation: 79+25=104
Exploring Operation: 79-23=56, Resulting Numbers: [25, 56]
Generated Node #0,1,1: 81:[25, 56] Operation: 79-23=56
Exploring Operation: 79+23=102, Resulting Numbers: [25, 102]
Generated Node #0,1,2: 81:[25, 102] Operation: 79+23=102
Exploring Operation: 23+25=48, Resulting Numbers: [79, 48]
Generated Node #0,1,3: 81:[79, 48] Operation: 23+25=48
Exploring Operation: 25-23=2, Resulting Numbers: [79, 2]
Generated Node #0,1,4: 81:[79, 2] Operation: 25-23=2
Moving to Node #0,1,4
Current State: 81:[79, 2], Operations: ['70-45=25', '25-23=2']
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,81 unequal: No Solution
Exploring Operation: 79*2=158, Resulting Numbers: [158]
158,81 unequal: No Solution
Exploring Operation: 79+2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[79, 70, 23, 45], Operations: []
Exploring Operation: 70-45=25, Resulting Numbers: [79, 23, 25]
Generated Node #0,1: 81:[79, 23, 25] Operation: 70-45=25
Moving to Node #0,1
Current State: 81:[79, 23, 25], Operations: ['70-45=25']
Exploring Operation: 25-23=2, Resulting Numbers: [79, 2]
Generated Node #0,1,4: 81:[79, 2] Operation: 25-23=2
Moving to Node #0,1,4
Current State: 81:[79, 2], Operations: ['70-45=25', '25-23=2']
Exploring Operation: 79+2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
17,
94,
89,
61
] | 39 | [
"17+94=111",
"89+61=150",
"150-111=39"
] | Current State: 39:[17, 94, 89, 61], Operations: []
Exploring Operation: 17+94=111, Resulting Numbers: [89, 61, 111]
Generated Node #2: [89, 61, 111] from Operation: 17+94=111
Current State: 39:[89, 61, 111], Operations: ['17+94=111']
Exploring Operation: 89+61=150, Resulting Numbers: [111, 150]
Generated Node #3: [111, 150] from Operation: 89+61=150
Current State: 39:[111, 150], Operations: ['17+94=111', '89+61=150']
Exploring Operation: 150-111=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[17, 94, 89, 61], Operations: []
Exploring Operation: 94-61=33, Resulting Numbers: [17, 89, 33]
Generated Node #0,0: 39:[17, 89, 33] Operation: 94-61=33
Exploring Operation: 94-89=5, Resulting Numbers: [17, 61, 5]
Generated Node #0,1: 39:[17, 61, 5] Operation: 94-89=5
Moving to Node #0,1
Current State: 39:[17, 61, 5], Operations: ['94-89=5']
Exploring Operation: 61-5=56, Resulting Numbers: [17, 56]
Generated Node #0,1,0: 39:[17, 56] Operation: 61-5=56
Exploring Operation: 61-17=44, Resulting Numbers: [5, 44]
Generated Node #0,1,1: 39:[5, 44] Operation: 61-17=44
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 39:[5, 44], Operations: ['94-89=5', '61-17=44']
Exploring Operation: 5+44=49, Resulting Numbers: [49]
49,39 unequal: No Solution
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[17, 94, 89, 61], Operations: []
Exploring Operation: 94-89=5, Resulting Numbers: [17, 61, 5]
Generated Node #0,1: 39:[17, 61, 5] Operation: 94-89=5
Moving to Node #0,1
Current State: 39:[17, 61, 5], Operations: ['94-89=5']
Exploring Operation: 61-17=44, Resulting Numbers: [5, 44]
Generated Node #0,1,1: 39:[5, 44] Operation: 61-17=44
Moving to Node #0,1,1
Current State: 39:[5, 44], Operations: ['94-89=5', '61-17=44']
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
22,
26,
20,
33
] | 57 | [
"26-22=4",
"20+33=53",
"4+53=57"
] | Current State: 57:[22, 26, 20, 33], Operations: []
Exploring Operation: 26-22=4, Resulting Numbers: [20, 33, 4]
Generated Node #2: [20, 33, 4] from Operation: 26-22=4
Current State: 57:[20, 33, 4], Operations: ['26-22=4']
Exploring Operation: 20+33=53, Resulting Numbers: [4, 53]
Generated Node #3: [4, 53] from Operation: 20+33=53
Current State: 57:[4, 53], Operations: ['26-22=4', '20+33=53']
Exploring Operation: 4+53=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[22, 26, 20, 33], Operations: []
Exploring Operation: 22+33=55, Resulting Numbers: [26, 20, 55]
Generated Node #0,0: 57:[26, 20, 55] Operation: 22+33=55
Exploring Operation: 26+33=59, Resulting Numbers: [22, 20, 59]
Generated Node #0,1: 57:[22, 20, 59] Operation: 26+33=59
Exploring Operation: 33-26=7, Resulting Numbers: [22, 20, 7]
Generated Node #0,2: 57:[22, 20, 7] Operation: 33-26=7
Exploring Operation: 20+33=53, Resulting Numbers: [22, 26, 53]
Generated Node #0,3: 57:[22, 26, 53] Operation: 20+33=53
Moving to Node #0,1
Current State: 57:[22, 20, 59], Operations: ['26+33=59']
Exploring Operation: 22-20=2, Resulting Numbers: [59, 2]
Generated Node #0,1,0: 57:[59, 2] Operation: 22-20=2
Exploring Operation: 22+20=42, Resulting Numbers: [59, 42]
Generated Node #0,1,1: 57:[59, 42] Operation: 22+20=42
Exploring Operation: 59-22=37, Resulting Numbers: [20, 37]
Generated Node #0,1,2: 57:[20, 37] Operation: 59-22=37
Exploring Operation: 59-20=39, Resulting Numbers: [22, 39]
Generated Node #0,1,3: 57:[22, 39] Operation: 59-20=39
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 57:[59, 2], Operations: ['26+33=59', '22-20=2']
Exploring Operation: 59+2=61, Resulting Numbers: [61]
61,57 unequal: No Solution
Exploring Operation: 59*2=118, Resulting Numbers: [118]
118,57 unequal: No Solution
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[22, 26, 20, 33], Operations: []
Exploring Operation: 26+33=59, Resulting Numbers: [22, 20, 59]
Generated Node #0,1: 57:[22, 20, 59] Operation: 26+33=59
Moving to Node #0,1
Current State: 57:[22, 20, 59], Operations: ['26+33=59']
Exploring Operation: 22-20=2, Resulting Numbers: [59, 2]
Generated Node #0,1,0: 57:[59, 2] Operation: 22-20=2
Moving to Node #0,1,0
Current State: 57:[59, 2], Operations: ['26+33=59', '22-20=2']
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
24,
57,
69,
84
] | 18 | [
"57-24=33",
"84-69=15",
"33-15=18"
] | Current State: 18:[24, 57, 69, 84], Operations: []
Exploring Operation: 57-24=33, Resulting Numbers: [69, 84, 33]
Generated Node #2: [69, 84, 33] from Operation: 57-24=33
Current State: 18:[69, 84, 33], Operations: ['57-24=33']
Exploring Operation: 84-69=15, Resulting Numbers: [33, 15]
Generated Node #3: [33, 15] from Operation: 84-69=15
Current State: 18:[33, 15], Operations: ['57-24=33', '84-69=15']
Exploring Operation: 33-15=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[24, 57, 69, 84], Operations: []
Exploring Operation: 84-69=15, Resulting Numbers: [24, 57, 15]
Generated Node #0,0: 18:[24, 57, 15] Operation: 84-69=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[24, 57, 15], Operations: ['84-69=15']
Exploring Operation: 57-24=33, Resulting Numbers: [15, 33]
Generated Node #0,0,0: 18:[15, 33] Operation: 57-24=33
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 18:[15, 33], Operations: ['84-69=15', '57-24=33']
Exploring Operation: 33-15=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[24, 57, 69, 84], Operations: []
Exploring Operation: 84-69=15, Resulting Numbers: [24, 57, 15]
Generated Node #0,0: 18:[24, 57, 15] Operation: 84-69=15
Moving to Node #0,0
Current State: 18:[24, 57, 15], Operations: ['84-69=15']
Exploring Operation: 57-24=33, Resulting Numbers: [15, 33]
Generated Node #0,0,0: 18:[15, 33] Operation: 57-24=33
Moving to Node #0,0,0
Current State: 18:[15, 33], Operations: ['84-69=15', '57-24=33']
Exploring Operation: 33-15=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
6,
62,
69,
56
] | 33 | [
"62-56=6",
"6*6=36",
"69-36=33"
] | Current State: 33:[6, 62, 69, 56], Operations: []
Exploring Operation: 62-56=6, Resulting Numbers: [6, 69, 6]
Generated Node #2: [6, 69, 6] from Operation: 62-56=6
Current State: 33:[6, 69, 6], Operations: ['62-56=6']
Exploring Operation: 6*6=36, Resulting Numbers: [69, 36]
Generated Node #3: [69, 36] from Operation: 6*6=36
Current State: 33:[69, 36], Operations: ['62-56=6', '6*6=36']
Exploring Operation: 69-36=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[6, 62, 69, 56], Operations: []
Exploring Operation: 69-62=7, Resulting Numbers: [6, 56, 7]
Generated Node #0,0: 33:[6, 56, 7] Operation: 69-62=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[6, 56, 7], Operations: ['69-62=7']
Exploring Operation: 56/7=8, Resulting Numbers: [6, 8]
Generated Node #0,0,0: 33:[6, 8] Operation: 56/7=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 33:[6, 8], Operations: ['69-62=7', '56/7=8']
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,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
No solution found.
| 0 | hs_1 | mult_heuristic |
[
3,
4,
77,
57
] | 83 | [
"77-57=20",
"4*20=80",
"3+80=83"
] | Current State: 83:[3, 4, 77, 57], Operations: []
Exploring Operation: 77-57=20, Resulting Numbers: [3, 4, 20]
Generated Node #2: [3, 4, 20] from Operation: 77-57=20
Current State: 83:[3, 4, 20], Operations: ['77-57=20']
Exploring Operation: 4*20=80, Resulting Numbers: [3, 80]
Generated Node #3: [3, 80] from Operation: 4*20=80
Current State: 83:[3, 80], Operations: ['77-57=20', '4*20=80']
Exploring Operation: 3+80=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[3, 4, 77, 57], Operations: []
Exploring Operation: 3+57=60, Resulting Numbers: [4, 77, 60]
Generated Node #0,0: 83:[4, 77, 60] Operation: 3+57=60
Exploring Operation: 4+77=81, Resulting Numbers: [3, 57, 81]
Generated Node #0,1: 83:[3, 57, 81] Operation: 4+77=81
Exploring Operation: 3+77=80, Resulting Numbers: [4, 57, 80]
Generated Node #0,2: 83:[4, 57, 80] Operation: 3+77=80
Exploring Operation: 3+4=7, Resulting Numbers: [77, 57, 7]
Generated Node #0,3: 83:[77, 57, 7] Operation: 3+4=7
Exploring Operation: 3*4=12, Resulting Numbers: [77, 57, 12]
Generated Node #0,4: 83:[77, 57, 12] Operation: 3*4=12
Moving to Node #0,4
Current State: 83:[77, 57, 12], Operations: ['3*4=12']
Exploring Operation: 57+12=69, Resulting Numbers: [77, 69]
Generated Node #0,4,0: 83:[77, 69] Operation: 57+12=69
Exploring Operation: 77+57=134, Resulting Numbers: [12, 134]
Generated Node #0,4,1: 83:[12, 134] Operation: 77+57=134
Exploring Operation: 77-12=65, Resulting Numbers: [57, 65]
Generated Node #0,4,2: 83:[57, 65] Operation: 77-12=65
Exploring Operation: 77+12=89, Resulting Numbers: [57, 89]
Generated Node #0,4,3: 83:[57, 89] Operation: 77+12=89
Exploring Operation: 57-12=45, Resulting Numbers: [77, 45]
Generated Node #0,4,4: 83:[77, 45] Operation: 57-12=45
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 83:[77, 69], Operations: ['3*4=12', '57+12=69']
Exploring Operation: 77-69=8, Resulting Numbers: [8]
8,83 unequal: No Solution
Exploring Operation: 77*69=5313, Resulting Numbers: [5313]
5313,83 unequal: No Solution
Exploring Operation: 77+69=146, Resulting Numbers: [146]
146,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,4,3
Current State: 83:[57, 89], Operations: ['3*4=12', '77+12=89']
Exploring Operation: 57*89=5073, Resulting Numbers: [5073]
5073,83 unequal: No Solution
Exploring Operation: 57+89=146, Resulting Numbers: [146]
146,83 unequal: No Solution
Exploring Operation: 89-57=32, Resulting Numbers: [32]
32,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,4,2
Current State: 83:[57, 65], Operations: ['3*4=12', '77-12=65']
Exploring Operation: 57*65=3705, Resulting Numbers: [3705]
3705,83 unequal: No Solution
Exploring Operation: 57+65=122, Resulting Numbers: [122]
122,83 unequal: No Solution
Exploring Operation: 65-57=8, Resulting Numbers: [8]
8,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,4,4
Current State: 83:[77, 45], Operations: ['3*4=12', '57-12=45']
Exploring Operation: 77*45=3465, Resulting Numbers: [3465]
3465,83 unequal: No Solution
Exploring Operation: 77+45=122, Resulting Numbers: [122]
122,83 unequal: No Solution
Exploring Operation: 77-45=32, Resulting Numbers: [32]
32,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,4,1
Current State: 83:[12, 134], Operations: ['3*4=12', '77+57=134']
Exploring Operation: 134-12=122, Resulting Numbers: [122]
122,83 unequal: No Solution
Exploring Operation: 12+134=146, Resulting Numbers: [146]
146,83 unequal: No Solution
Exploring Operation: 12*134=1608, Resulting Numbers: [1608]
1608,83 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: 83:[3, 57, 81], Operations: ['4+77=81']
Exploring Operation: 57/3=19, Resulting Numbers: [81, 19]
Generated Node #0,1,0: 83:[81, 19] Operation: 57/3=19
Exploring Operation: 3+81=84, Resulting Numbers: [57, 84]
Generated Node #0,1,1: 83:[57, 84] Operation: 3+81=84
Exploring Operation: 81-3=78, Resulting Numbers: [57, 78]
Generated Node #0,1,2: 83:[57, 78] Operation: 81-3=78
Exploring Operation: 57-3=54, Resulting Numbers: [81, 54]
Generated Node #0,1,3: 83:[81, 54] Operation: 57-3=54
Exploring Operation: 3+57=60, Resulting Numbers: [81, 60]
Generated Node #0,1,4: 83:[81, 60] Operation: 3+57=60
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 83:[81, 60], Operations: ['4+77=81', '3+57=60']
Exploring Operation: 81+60=141, Resulting Numbers: [141]
141,83 unequal: No Solution
Exploring Operation: 81*60=4860, Resulting Numbers: [4860]
4860,83 unequal: No Solution
Exploring Operation: 81-60=21, Resulting Numbers: [21]
21,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,1,1
Current State: 83:[57, 84], Operations: ['4+77=81', '3+81=84']
Exploring Operation: 57*84=4788, Resulting Numbers: [4788]
4788,83 unequal: No Solution
Exploring Operation: 84-57=27, Resulting Numbers: [27]
27,83 unequal: No Solution
Exploring Operation: 57+84=141, Resulting Numbers: [141]
141,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,1,2
Current State: 83:[57, 78], Operations: ['4+77=81', '81-3=78']
Exploring Operation: 57+78=135, Resulting Numbers: [135]
135,83 unequal: No Solution
Exploring Operation: 57*78=4446, Resulting Numbers: [4446]
4446,83 unequal: No Solution
Exploring Operation: 78-57=21, Resulting Numbers: [21]
21,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,1,3
Current State: 83:[81, 54], Operations: ['4+77=81', '57-3=54']
Exploring Operation: 81-54=27, Resulting Numbers: [27]
27,83 unequal: No Solution
Exploring Operation: 81+54=135, Resulting Numbers: [135]
135,83 unequal: No Solution
Exploring Operation: 81*54=4374, Resulting Numbers: [4374]
4374,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,1,0
Current State: 83:[81, 19], Operations: ['4+77=81', '57/3=19']
Exploring Operation: 81*19=1539, Resulting Numbers: [1539]
1539,83 unequal: No Solution
Exploring Operation: 81-19=62, Resulting Numbers: [62]
62,83 unequal: No Solution
Exploring Operation: 81+19=100, Resulting Numbers: [100]
100,83 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: 83:[77, 57, 7], Operations: ['3+4=7']
Exploring Operation: 57-7=50, Resulting Numbers: [77, 50]
Generated Node #0,3,0: 83:[77, 50] Operation: 57-7=50
Exploring Operation: 77-7=70, Resulting Numbers: [57, 70]
Generated Node #0,3,1: 83:[57, 70] Operation: 77-7=70
Exploring Operation: 57+7=64, Resulting Numbers: [77, 64]
Generated Node #0,3,2: 83:[77, 64] Operation: 57+7=64
Exploring Operation: 77/7=11, Resulting Numbers: [57, 11]
Generated Node #0,3,3: 83:[57, 11] Operation: 77/7=11
Exploring Operation: 77+7=84, Resulting Numbers: [57, 84]
Generated Node #0,3,4: 83:[57, 84] Operation: 77+7=84
Moving to Node #0,0
Current State: 83:[4, 77, 60], Operations: ['3+57=60']
Exploring Operation: 4+77=81, Resulting Numbers: [60, 81]
Generated Node #0,0,0: 83:[60, 81] Operation: 4+77=81
Exploring Operation: 77-4=73, Resulting Numbers: [60, 73]
Generated Node #0,0,1: 83:[60, 73] Operation: 77-4=73
Exploring Operation: 60/4=15, Resulting Numbers: [77, 15]
Generated Node #0,0,2: 83:[77, 15] Operation: 60/4=15
Exploring Operation: 4+60=64, Resulting Numbers: [77, 64]
Generated Node #0,0,3: 83:[77, 64] Operation: 4+60=64
Exploring Operation: 60-4=56, Resulting Numbers: [77, 56]
Generated Node #0,0,4: 83:[77, 56] Operation: 60-4=56
Moving to Node #0,2
Current State: 83:[4, 57, 80], Operations: ['3+77=80']
Exploring Operation: 80-4=76, Resulting Numbers: [57, 76]
Generated Node #0,2,0: 83:[57, 76] Operation: 80-4=76
Exploring Operation: 80/4=20, Resulting Numbers: [57, 20]
Generated Node #0,2,1: 83:[57, 20] Operation: 80/4=20
Exploring Operation: 4+80=84, Resulting Numbers: [57, 84]
Generated Node #0,2,2: 83:[57, 84] Operation: 4+80=84
Exploring Operation: 4+57=61, Resulting Numbers: [80, 61]
Generated Node #0,2,3: 83:[80, 61] Operation: 4+57=61
Exploring Operation: 57-4=53, Resulting Numbers: [80, 53]
Generated Node #0,2,4: 83:[80, 53] Operation: 57-4=53
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 83:[80, 61], Operations: ['3+77=80', '4+57=61']
Exploring Operation: 80+61=141, Resulting Numbers: [141]
141,83 unequal: No Solution
Exploring Operation: 80-61=19, Resulting Numbers: [19]
19,83 unequal: No Solution
Exploring Operation: 80*61=4880, Resulting Numbers: [4880]
4880,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,2,2
Current State: 83:[57, 84], Operations: ['3+77=80', '4+80=84']
Exploring Operation: 57*84=4788, Resulting Numbers: [4788]
4788,83 unequal: No Solution
Exploring Operation: 57+84=141, Resulting Numbers: [141]
141,83 unequal: No Solution
Exploring Operation: 84-57=27, Resulting Numbers: [27]
27,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,2,0
Current State: 83:[57, 76], Operations: ['3+77=80', '80-4=76']
Exploring Operation: 76-57=19, Resulting Numbers: [19]
19,83 unequal: No Solution
Exploring Operation: 57+76=133, Resulting Numbers: [133]
133,83 unequal: No Solution
Exploring Operation: 57*76=4332, Resulting Numbers: [4332]
4332,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,2,4
Current State: 83:[80, 53], Operations: ['3+77=80', '57-4=53']
Exploring Operation: 80+53=133, Resulting Numbers: [133]
133,83 unequal: No Solution
Exploring Operation: 80*53=4240, Resulting Numbers: [4240]
4240,83 unequal: No Solution
Exploring Operation: 80-53=27, Resulting Numbers: [27]
27,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,2,1
Current State: 83:[57, 20], Operations: ['3+77=80', '80/4=20']
Exploring Operation: 57+20=77, Resulting Numbers: [77]
77,83 unequal: No Solution
Exploring Operation: 57-20=37, Resulting Numbers: [37]
37,83 unequal: No Solution
Exploring Operation: 57*20=1140, Resulting Numbers: [1140]
1140,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,2
Current State: 83:[77, 64], Operations: ['3+4=7', '57+7=64']
Exploring Operation: 77*64=4928, Resulting Numbers: [4928]
4928,83 unequal: No Solution
Exploring Operation: 77-64=13, Resulting Numbers: [13]
13,83 unequal: No Solution
Exploring Operation: 77+64=141, Resulting Numbers: [141]
141,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[60, 81], Operations: ['3+57=60', '4+77=81']
Exploring Operation: 60*81=4860, Resulting Numbers: [4860]
4860,83 unequal: No Solution
Exploring Operation: 60+81=141, Resulting Numbers: [141]
141,83 unequal: No Solution
Exploring Operation: 81-60=21, Resulting Numbers: [21]
21,83 unequal: No Solution
Moving to Node #0,0,3
Current State: 83:[77, 64], Operations: ['3+57=60', '4+60=64']
Exploring Operation: 77-64=13, Resulting Numbers: [13]
13,83 unequal: No Solution
Exploring Operation: 77+64=141, Resulting Numbers: [141]
141,83 unequal: No Solution
Exploring Operation: 77*64=4928, Resulting Numbers: [4928]
4928,83 unequal: No Solution
Moving to Node #0,3,4
Current State: 83:[57, 84], Operations: ['3+4=7', '77+7=84']
Exploring Operation: 57*84=4788, Resulting Numbers: [4788]
4788,83 unequal: No Solution
Exploring Operation: 57+84=141, Resulting Numbers: [141]
141,83 unequal: No Solution
Exploring Operation: 84-57=27, Resulting Numbers: [27]
27,83 unequal: No Solution
Moving to Node #0,0,4
Current State: 83:[77, 56], Operations: ['3+57=60', '60-4=56']
Exploring Operation: 77-56=21, Resulting Numbers: [21]
21,83 unequal: No Solution
Exploring Operation: 77*56=4312, Resulting Numbers: [4312]
4312,83 unequal: No Solution
Exploring Operation: 77+56=133, Resulting Numbers: [133]
133,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[60, 73], Operations: ['3+57=60', '77-4=73']
Exploring Operation: 73-60=13, Resulting Numbers: [13]
13,83 unequal: No Solution
Exploring Operation: 60*73=4380, Resulting Numbers: [4380]
4380,83 unequal: No Solution
Exploring Operation: 60+73=133, Resulting Numbers: [133]
133,83 unequal: No Solution
Moving to Node #0,3,0
Current State: 83:[77, 50], Operations: ['3+4=7', '57-7=50']
Exploring Operation: 77-50=27, Resulting Numbers: [27]
27,83 unequal: No Solution
Exploring Operation: 77*50=3850, Resulting Numbers: [3850]
3850,83 unequal: No Solution
Exploring Operation: 77+50=127, Resulting Numbers: [127]
127,83 unequal: No Solution
Moving to Node #0,3,1
Current State: 83:[57, 70], Operations: ['3+4=7', '77-7=70']
Exploring Operation: 57+70=127, Resulting Numbers: [127]
127,83 unequal: No Solution
Exploring Operation: 57*70=3990, Resulting Numbers: [3990]
3990,83 unequal: No Solution
Exploring Operation: 70-57=13, Resulting Numbers: [13]
13,83 unequal: No Solution
Moving to Node #0,0,2
Current State: 83:[77, 15], Operations: ['3+57=60', '60/4=15']
Exploring Operation: 77*15=1155, Resulting Numbers: [1155]
1155,83 unequal: No Solution
Exploring Operation: 77+15=92, Resulting Numbers: [92]
92,83 unequal: No Solution
Exploring Operation: 77-15=62, Resulting Numbers: [62]
62,83 unequal: No Solution
Moving to Node #0,3,3
Current State: 83:[57, 11], Operations: ['3+4=7', '77/7=11']
Exploring Operation: 57*11=627, Resulting Numbers: [627]
627,83 unequal: No Solution
Exploring Operation: 57+11=68, Resulting Numbers: [68]
68,83 unequal: No Solution
Exploring Operation: 57-11=46, Resulting Numbers: [46]
46,83 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
61,
41,
66,
83
] | 47 | [
"61+41=102",
"66+83=149",
"149-102=47"
] | Current State: 47:[61, 41, 66, 83], Operations: []
Exploring Operation: 61+41=102, Resulting Numbers: [66, 83, 102]
Generated Node #2: [66, 83, 102] from Operation: 61+41=102
Current State: 47:[66, 83, 102], Operations: ['61+41=102']
Exploring Operation: 66+83=149, Resulting Numbers: [102, 149]
Generated Node #3: [102, 149] from Operation: 66+83=149
Current State: 47:[102, 149], Operations: ['61+41=102', '66+83=149']
Exploring Operation: 149-102=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[61, 41, 66, 83], Operations: []
Exploring Operation: 66-41=25, Resulting Numbers: [61, 83, 25]
Generated Node #0,0: 47:[61, 83, 25] Operation: 66-41=25
Exploring Operation: 83-41=42, Resulting Numbers: [61, 66, 42]
Generated Node #0,1: 47:[61, 66, 42] Operation: 83-41=42
Exploring Operation: 83-61=22, Resulting Numbers: [41, 66, 22]
Generated Node #0,2: 47:[41, 66, 22] Operation: 83-61=22
Exploring Operation: 83-66=17, Resulting Numbers: [61, 41, 17]
Generated Node #0,3: 47:[61, 41, 17] Operation: 83-66=17
Moving to Node #0,1
Current State: 47:[61, 66, 42], Operations: ['83-41=42']
Exploring Operation: 61+42=103, Resulting Numbers: [66, 103]
Generated Node #0,1,0: 47:[66, 103] Operation: 61+42=103
Exploring Operation: 61-42=19, Resulting Numbers: [66, 19]
Generated Node #0,1,1: 47:[66, 19] Operation: 61-42=19
Exploring Operation: 66-61=5, Resulting Numbers: [42, 5]
Generated Node #0,1,2: 47:[42, 5] Operation: 66-61=5
Exploring Operation: 66-42=24, Resulting Numbers: [61, 24]
Generated Node #0,1,3: 47:[61, 24] Operation: 66-42=24
Moving to Node #0,3
Current State: 47:[61, 41, 17], Operations: ['83-66=17']
Exploring Operation: 61-17=44, Resulting Numbers: [41, 44]
Generated Node #0,3,0: 47:[41, 44] Operation: 61-17=44
Exploring Operation: 61+17=78, Resulting Numbers: [41, 78]
Generated Node #0,3,1: 47:[41, 78] Operation: 61+17=78
Exploring Operation: 41-17=24, Resulting Numbers: [61, 24]
Generated Node #0,3,2: 47:[61, 24] Operation: 41-17=24
Exploring Operation: 41+17=58, Resulting Numbers: [61, 58]
Generated Node #0,3,3: 47:[61, 58] Operation: 41+17=58
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 47:[41, 44], Operations: ['83-66=17', '61-17=44']
Exploring Operation: 41*44=1804, Resulting Numbers: [1804]
1804,47 unequal: No Solution
Exploring Operation: 41+44=85, Resulting Numbers: [85]
85,47 unequal: No Solution
Exploring Operation: 44-41=3, Resulting Numbers: [3]
3,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,3,3
Current State: 47:[61, 58], Operations: ['83-66=17', '41+17=58']
Exploring Operation: 61+58=119, Resulting Numbers: [119]
119,47 unequal: No Solution
Exploring Operation: 61-58=3, Resulting Numbers: [3]
3,47 unequal: No Solution
Exploring Operation: 61*58=3538, Resulting Numbers: [3538]
3538,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,3,1
Current State: 47:[41, 78], Operations: ['83-66=17', '61+17=78']
Exploring Operation: 41+78=119, Resulting Numbers: [119]
119,47 unequal: No Solution
Exploring Operation: 78-41=37, Resulting Numbers: [37]
37,47 unequal: No Solution
Exploring Operation: 41*78=3198, Resulting Numbers: [3198]
3198,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,3,2
Current State: 47:[61, 24], Operations: ['83-66=17', '41-17=24']
Exploring Operation: 61-24=37, Resulting Numbers: [37]
37,47 unequal: No Solution
Exploring Operation: 61*24=1464, Resulting Numbers: [1464]
1464,47 unequal: No Solution
Exploring Operation: 61+24=85, Resulting Numbers: [85]
85,47 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: 47:[41, 66, 22], Operations: ['83-61=22']
Exploring Operation: 66-41=25, Resulting Numbers: [22, 25]
Generated Node #0,2,0: 47:[22, 25] Operation: 66-41=25
Exploring Operation: 66-22=44, Resulting Numbers: [41, 44]
Generated Node #0,2,1: 47:[41, 44] Operation: 66-22=44
Exploring Operation: 41+22=63, Resulting Numbers: [66, 63]
Generated Node #0,2,2: 47:[66, 63] Operation: 41+22=63
Exploring Operation: 41-22=19, Resulting Numbers: [66, 19]
Generated Node #0,2,3: 47:[66, 19] Operation: 41-22=19
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 47:[41, 44], Operations: ['83-61=22', '66-22=44']
Exploring Operation: 41*44=1804, Resulting Numbers: [1804]
1804,47 unequal: No Solution
Exploring Operation: 41+44=85, Resulting Numbers: [85]
85,47 unequal: No Solution
Exploring Operation: 44-41=3, Resulting Numbers: [3]
3,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,2,2
Current State: 47:[66, 63], Operations: ['83-61=22', '41+22=63']
Exploring Operation: 66-63=3, Resulting Numbers: [3]
3,47 unequal: No Solution
Exploring Operation: 66+63=129, Resulting Numbers: [129]
129,47 unequal: No Solution
Exploring Operation: 66*63=4158, Resulting Numbers: [4158]
4158,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,2,0
Current State: 47:[22, 25], Operations: ['83-61=22', '66-41=25']
Exploring Operation: 22*25=550, Resulting Numbers: [550]
550,47 unequal: No Solution
Exploring Operation: 22+25=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[61, 41, 66, 83], Operations: []
Exploring Operation: 83-61=22, Resulting Numbers: [41, 66, 22]
Generated Node #0,2: 47:[41, 66, 22] Operation: 83-61=22
Moving to Node #0,2
Current State: 47:[41, 66, 22], Operations: ['83-61=22']
Exploring Operation: 66-41=25, Resulting Numbers: [22, 25]
Generated Node #0,2,0: 47:[22, 25] Operation: 66-41=25
Moving to Node #0,2,0
Current State: 47:[22, 25], Operations: ['83-61=22', '66-41=25']
Exploring Operation: 22+25=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.965278 | hs_4 | mult_heuristic |
[
52,
78,
8,
52
] | 85 | [
"52/52=1",
"78+8=86",
"86-1=85"
] | Current State: 85:[52, 78, 8, 52], Operations: []
Exploring Operation: 52/52=1, Resulting Numbers: [78, 8, 1]
Generated Node #2: [78, 8, 1] from Operation: 52/52=1
Current State: 85:[78, 8, 1], Operations: ['52/52=1']
Exploring Operation: 78+8=86, Resulting Numbers: [1, 86]
Generated Node #3: [1, 86] from Operation: 78+8=86
Current State: 85:[1, 86], Operations: ['52/52=1', '78+8=86']
Exploring Operation: 86-1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[52, 78, 8, 52], Operations: []
Exploring Operation: 52/52=1, Resulting Numbers: [78, 8, 1]
Generated Node #0,0: 85:[78, 8, 1] Operation: 52/52=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[78, 8, 1], Operations: ['52/52=1']
Exploring Operation: 78+8=86, Resulting Numbers: [1, 86]
Generated Node #0,0,0: 85:[1, 86] Operation: 78+8=86
Moving to Node #0,0,0
Current State: 85:[1, 86], Operations: ['52/52=1', '78+8=86']
Exploring Operation: 86-1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[52, 78, 8, 52], Operations: []
Exploring Operation: 52/52=1, Resulting Numbers: [78, 8, 1]
Generated Node #0,0: 85:[78, 8, 1] Operation: 52/52=1
Moving to Node #0,0
Current State: 85:[78, 8, 1], Operations: ['52/52=1']
Exploring Operation: 78+8=86, Resulting Numbers: [1, 86]
Generated Node #0,0,0: 85:[1, 86] Operation: 78+8=86
Moving to Node #0,0,0
Current State: 85:[1, 86], Operations: ['52/52=1', '78+8=86']
Exploring Operation: 86-1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
35,
18,
56,
25
] | 51 | [
"25-18=7",
"35/7=5",
"56-5=51"
] | Current State: 51:[35, 18, 56, 25], Operations: []
Exploring Operation: 25-18=7, Resulting Numbers: [35, 56, 7]
Generated Node #2: [35, 56, 7] from Operation: 25-18=7
Current State: 51:[35, 56, 7], Operations: ['25-18=7']
Exploring Operation: 35/7=5, Resulting Numbers: [56, 5]
Generated Node #3: [56, 5] from Operation: 35/7=5
Current State: 51:[56, 5], Operations: ['25-18=7', '35/7=5']
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[35, 18, 56, 25], Operations: []
Exploring Operation: 56-35=21, Resulting Numbers: [18, 25, 21]
Generated Node #0,0: 51:[18, 25, 21] Operation: 56-35=21
Exploring Operation: 35-25=10, Resulting Numbers: [18, 56, 10]
Generated Node #0,1: 51:[18, 56, 10] Operation: 35-25=10
Exploring Operation: 35+18=53, Resulting Numbers: [56, 25, 53]
Generated Node #0,2: 51:[56, 25, 53] Operation: 35+18=53
Exploring Operation: 35-18=17, Resulting Numbers: [56, 25, 17]
Generated Node #0,3: 51:[56, 25, 17] Operation: 35-18=17
Exploring Operation: 35+25=60, Resulting Numbers: [18, 56, 60]
Generated Node #0,4: 51:[18, 56, 60] Operation: 35+25=60
Moving to Node #0,0
Current State: 51:[18, 25, 21], Operations: ['56-35=21']
Exploring Operation: 25+21=46, Resulting Numbers: [18, 46]
Generated Node #0,0,0: 51:[18, 46] Operation: 25+21=46
Exploring Operation: 21-18=3, Resulting Numbers: [25, 3]
Generated Node #0,0,1: 51:[25, 3] Operation: 21-18=3
Exploring Operation: 25-21=4, Resulting Numbers: [18, 4]
Generated Node #0,0,2: 51:[18, 4] Operation: 25-21=4
Exploring Operation: 25-18=7, Resulting Numbers: [21, 7]
Generated Node #0,0,3: 51:[21, 7] Operation: 25-18=7
Exploring Operation: 18+25=43, Resulting Numbers: [21, 43]
Generated Node #0,0,4: 51:[21, 43] Operation: 18+25=43
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 51:[18, 4], Operations: ['56-35=21', '25-21=4']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,51 unequal: No Solution
Exploring Operation: 18+4=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 18*4=72, Resulting Numbers: [72]
72,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,0,0
Current State: 51:[18, 46], Operations: ['56-35=21', '25+21=46']
Exploring Operation: 46-18=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Exploring Operation: 18*46=828, Resulting Numbers: [828]
828,51 unequal: No Solution
Exploring Operation: 18+46=64, Resulting Numbers: [64]
64,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,0,1
Current State: 51:[25, 3], Operations: ['56-35=21', '21-18=3']
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,51 unequal: No Solution
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,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,0,3
Current State: 51:[21, 7], Operations: ['56-35=21', '25-18=7']
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Exploring Operation: 21+7=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Exploring Operation: 21*7=147, Resulting Numbers: [147]
147,51 unequal: No Solution
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,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,0,4
Current State: 51:[21, 43], Operations: ['56-35=21', '18+25=43']
Exploring Operation: 43-21=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 21*43=903, Resulting Numbers: [903]
903,51 unequal: No Solution
Exploring Operation: 21+43=64, Resulting Numbers: [64]
64,51 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: 51:[56, 25, 17], Operations: ['35-18=17']
Exploring Operation: 56-17=39, Resulting Numbers: [25, 39]
Generated Node #0,3,0: 51:[25, 39] Operation: 56-17=39
Exploring Operation: 56-25=31, Resulting Numbers: [17, 31]
Generated Node #0,3,1: 51:[17, 31] Operation: 56-25=31
Exploring Operation: 25-17=8, Resulting Numbers: [56, 8]
Generated Node #0,3,2: 51:[56, 8] Operation: 25-17=8
Exploring Operation: 56+25=81, Resulting Numbers: [17, 81]
Generated Node #0,3,3: 51:[17, 81] Operation: 56+25=81
Exploring Operation: 25+17=42, Resulting Numbers: [56, 42]
Generated Node #0,3,4: 51:[56, 42] Operation: 25+17=42
Moving to Node #0,1
Current State: 51:[18, 56, 10], Operations: ['35-25=10']
Exploring Operation: 18+10=28, Resulting Numbers: [56, 28]
Generated Node #0,1,0: 51:[56, 28] Operation: 18+10=28
Exploring Operation: 56-10=46, Resulting Numbers: [18, 46]
Generated Node #0,1,1: 51:[18, 46] Operation: 56-10=46
Exploring Operation: 56+10=66, Resulting Numbers: [18, 66]
Generated Node #0,1,2: 51:[18, 66] Operation: 56+10=66
Exploring Operation: 56-18=38, Resulting Numbers: [10, 38]
Generated Node #0,1,3: 51:[10, 38] Operation: 56-18=38
Exploring Operation: 18-10=8, Resulting Numbers: [56, 8]
Generated Node #0,1,4: 51:[56, 8] Operation: 18-10=8
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 51:[18, 46], Operations: ['35-25=10', '56-10=46']
Exploring Operation: 46-18=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Exploring Operation: 18*46=828, Resulting Numbers: [828]
828,51 unequal: No Solution
Exploring Operation: 18+46=64, Resulting Numbers: [64]
64,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,4
Current State: 51:[56, 8], Operations: ['35-25=10', '18-10=8']
Exploring Operation: 56-8=48, Resulting Numbers: [48]
48,51 unequal: No Solution
Exploring Operation: 56*8=448, Resulting Numbers: [448]
448,51 unequal: No Solution
Exploring Operation: 56+8=64, Resulting Numbers: [64]
64,51 unequal: No Solution
Exploring Operation: 56/8=7, Resulting Numbers: [7]
7,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:[56, 28], Operations: ['35-25=10', '18+10=28']
Exploring Operation: 56*28=1568, Resulting Numbers: [1568]
1568,51 unequal: No Solution
Exploring Operation: 56+28=84, Resulting Numbers: [84]
84,51 unequal: No Solution
Exploring Operation: 56/28=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Exploring Operation: 56-28=28, Resulting Numbers: [28]
28,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:[18, 66], Operations: ['35-25=10', '56+10=66']
Exploring Operation: 18+66=84, Resulting Numbers: [84]
84,51 unequal: No Solution
Exploring Operation: 18*66=1188, Resulting Numbers: [1188]
1188,51 unequal: No Solution
Exploring Operation: 66-18=48, Resulting Numbers: [48]
48,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,3
Current State: 51:[10, 38], Operations: ['35-25=10', '56-18=38']
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Exploring Operation: 10+38=48, Resulting Numbers: [48]
48,51 unequal: No Solution
Exploring Operation: 10*38=380, Resulting Numbers: [380]
380,51 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: 51:[56, 25, 53], Operations: ['35+18=53']
Exploring Operation: 56+25=81, Resulting Numbers: [53, 81]
Generated Node #0,2,0: 51:[53, 81] Operation: 56+25=81
Exploring Operation: 56-53=3, Resulting Numbers: [25, 3]
Generated Node #0,2,1: 51:[25, 3] Operation: 56-53=3
Exploring Operation: 56-25=31, Resulting Numbers: [53, 31]
Generated Node #0,2,2: 51:[53, 31] Operation: 56-25=31
Exploring Operation: 53-25=28, Resulting Numbers: [56, 28]
Generated Node #0,2,3: 51:[56, 28] Operation: 53-25=28
Exploring Operation: 25+53=78, Resulting Numbers: [56, 78]
Generated Node #0,2,4: 51:[56, 78] Operation: 25+53=78
Moving to Node #0,4
Current State: 51:[18, 56, 60], Operations: ['35+25=60']
Exploring Operation: 60-18=42, Resulting Numbers: [56, 42]
Generated Node #0,4,0: 51:[56, 42] Operation: 60-18=42
Exploring Operation: 18+60=78, Resulting Numbers: [56, 78]
Generated Node #0,4,1: 51:[56, 78] Operation: 18+60=78
Exploring Operation: 18+56=74, Resulting Numbers: [60, 74]
Generated Node #0,4,2: 51:[60, 74] Operation: 18+56=74
Exploring Operation: 60-56=4, Resulting Numbers: [18, 4]
Generated Node #0,4,3: 51:[18, 4] Operation: 60-56=4
Exploring Operation: 56-18=38, Resulting Numbers: [60, 38]
Generated Node #0,4,4: 51:[60, 38] Operation: 56-18=38
Moving to Node #0,4,3
Current State: 51:[18, 4], Operations: ['35+25=60', '60-56=4']
Exploring Operation: 18*4=72, Resulting Numbers: [72]
72,51 unequal: No Solution
Exploring Operation: 18+4=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,51 unequal: No Solution
Moving to Node #0,2,1
Current State: 51:[25, 3], Operations: ['35+18=53', '56-53=3']
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,51 unequal: No Solution
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Moving to Node #0,3,2
Current State: 51:[56, 8], Operations: ['35-18=17', '25-17=8']
Exploring Operation: 56/8=7, Resulting Numbers: [7]
7,51 unequal: No Solution
Exploring Operation: 56-8=48, Resulting Numbers: [48]
48,51 unequal: No Solution
Exploring Operation: 56*8=448, Resulting Numbers: [448]
448,51 unequal: No Solution
Exploring Operation: 56+8=64, Resulting Numbers: [64]
64,51 unequal: No Solution
Moving to Node #0,3,4
Current State: 51:[56, 42], Operations: ['35-18=17', '25+17=42']
Exploring Operation: 56*42=2352, Resulting Numbers: [2352]
2352,51 unequal: No Solution
Exploring Operation: 56-42=14, Resulting Numbers: [14]
14,51 unequal: No Solution
Exploring Operation: 56+42=98, Resulting Numbers: [98]
98,51 unequal: No Solution
Moving to Node #0,4,0
Current State: 51:[56, 42], Operations: ['35+25=60', '60-18=42']
Exploring Operation: 56*42=2352, Resulting Numbers: [2352]
2352,51 unequal: No Solution
Exploring Operation: 56-42=14, Resulting Numbers: [14]
14,51 unequal: No Solution
Exploring Operation: 56+42=98, Resulting Numbers: [98]
98,51 unequal: No Solution
Moving to Node #0,3,1
Current State: 51:[17, 31], Operations: ['35-18=17', '56-25=31']
Exploring Operation: 31-17=14, Resulting Numbers: [14]
14,51 unequal: No Solution
Exploring Operation: 17+31=48, Resulting Numbers: [48]
48,51 unequal: No Solution
Exploring Operation: 17*31=527, Resulting Numbers: [527]
527,51 unequal: No Solution
Moving to Node #0,2,2
Current State: 51:[53, 31], Operations: ['35+18=53', '56-25=31']
Exploring Operation: 53+31=84, Resulting Numbers: [84]
84,51 unequal: No Solution
Exploring Operation: 53-31=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 53*31=1643, Resulting Numbers: [1643]
1643,51 unequal: No Solution
Moving to Node #0,2,3
Current State: 51:[56, 28], Operations: ['35+18=53', '53-25=28']
Exploring Operation: 56*28=1568, Resulting Numbers: [1568]
1568,51 unequal: No Solution
Exploring Operation: 56/28=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Exploring Operation: 56-28=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Exploring Operation: 56+28=84, Resulting Numbers: [84]
84,51 unequal: No Solution
Moving to Node #0,3,0
Current State: 51:[25, 39], Operations: ['35-18=17', '56-17=39']
Exploring Operation: 25*39=975, Resulting Numbers: [975]
975,51 unequal: No Solution
Exploring Operation: 39-25=14, Resulting Numbers: [14]
14,51 unequal: No Solution
Exploring Operation: 25+39=64, Resulting Numbers: [64]
64,51 unequal: No Solution
Moving to Node #0,4,4
Current State: 51:[60, 38], Operations: ['35+25=60', '56-18=38']
Exploring Operation: 60-38=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 60+38=98, Resulting Numbers: [98]
98,51 unequal: No Solution
Exploring Operation: 60*38=2280, Resulting Numbers: [2280]
2280,51 unequal: No Solution
Moving to Node #0,3,3
Current State: 51:[17, 81], Operations: ['35-18=17', '56+25=81']
Exploring Operation: 17*81=1377, Resulting Numbers: [1377]
1377,51 unequal: No Solution
Exploring Operation: 81-17=64, Resulting Numbers: [64]
64,51 unequal: No Solution
Exploring Operation: 17+81=98, Resulting Numbers: [98]
98,51 unequal: No Solution
Moving to Node #0,2,4
Current State: 51:[56, 78], Operations: ['35+18=53', '25+53=78']
Exploring Operation: 78-56=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 56+78=134, Resulting Numbers: [134]
134,51 unequal: No Solution
Exploring Operation: 56*78=4368, Resulting Numbers: [4368]
4368,51 unequal: No Solution
Moving to Node #0,4,1
Current State: 51:[56, 78], Operations: ['35+25=60', '18+60=78']
Exploring Operation: 56+78=134, Resulting Numbers: [134]
134,51 unequal: No Solution
Exploring Operation: 78-56=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 56*78=4368, Resulting Numbers: [4368]
4368,51 unequal: No Solution
Moving to Node #0,2,0
Current State: 51:[53, 81], Operations: ['35+18=53', '56+25=81']
Exploring Operation: 53*81=4293, Resulting Numbers: [4293]
4293,51 unequal: No Solution
Exploring Operation: 53+81=134, Resulting Numbers: [134]
134,51 unequal: No Solution
Exploring Operation: 81-53=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Moving to Node #0,4,2
Current State: 51:[60, 74], Operations: ['35+25=60', '18+56=74']
Exploring Operation: 60*74=4440, Resulting Numbers: [4440]
4440,51 unequal: No Solution
Exploring Operation: 74-60=14, Resulting Numbers: [14]
14,51 unequal: No Solution
Exploring Operation: 60+74=134, Resulting Numbers: [134]
134,51 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
12,
4,
34,
64
] | 33 | [
"12/4=3",
"64-34=30",
"3+30=33"
] | Current State: 33:[12, 4, 34, 64], Operations: []
Exploring Operation: 12/4=3, Resulting Numbers: [34, 64, 3]
Generated Node #2: [34, 64, 3] from Operation: 12/4=3
Current State: 33:[34, 64, 3], Operations: ['12/4=3']
Exploring Operation: 64-34=30, Resulting Numbers: [3, 30]
Generated Node #3: [3, 30] from Operation: 64-34=30
Current State: 33:[3, 30], Operations: ['12/4=3', '64-34=30']
Exploring Operation: 3+30=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[12, 4, 34, 64], Operations: []
Exploring Operation: 64-34=30, Resulting Numbers: [12, 4, 30]
Generated Node #0,0: 33:[12, 4, 30] Operation: 64-34=30
Moving to Node #0,0
Current State: 33:[12, 4, 30], Operations: ['64-34=30']
Exploring Operation: 4+30=34, Resulting Numbers: [12, 34]
Generated Node #0,0,0: 33:[12, 34] Operation: 4+30=34
Moving to Node #0,0,0
Current State: 33:[12, 34], Operations: ['64-34=30', '4+30=34']
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,33 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
19,
17,
55,
52
] | 71 | [
"19+17=36",
"55+52=107",
"107-36=71"
] | Current State: 71:[19, 17, 55, 52], Operations: []
Exploring Operation: 19+17=36, Resulting Numbers: [55, 52, 36]
Generated Node #2: [55, 52, 36] from Operation: 19+17=36
Current State: 71:[55, 52, 36], Operations: ['19+17=36']
Exploring Operation: 55+52=107, Resulting Numbers: [36, 107]
Generated Node #3: [36, 107] from Operation: 55+52=107
Current State: 71:[36, 107], Operations: ['19+17=36', '55+52=107']
Exploring Operation: 107-36=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[19, 17, 55, 52], Operations: []
Exploring Operation: 19+17=36, Resulting Numbers: [55, 52, 36]
Generated Node #0,0: 71:[55, 52, 36] Operation: 19+17=36
Exploring Operation: 19+52=71, Resulting Numbers: [17, 55, 71]
Generated Node #0,1: 71:[17, 55, 71] Operation: 19+52=71
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[55, 52, 36], Operations: ['19+17=36']
Exploring Operation: 55+36=91, Resulting Numbers: [52, 91]
Generated Node #0,0,0: 71:[52, 91] Operation: 55+36=91
Exploring Operation: 52+36=88, Resulting Numbers: [55, 88]
Generated Node #0,0,1: 71:[55, 88] Operation: 52+36=88
Moving to Node #0,0,1
Current State: 71:[55, 88], Operations: ['19+17=36', '52+36=88']
Exploring Operation: 88-55=33, Resulting Numbers: [33]
33,71 unequal: No Solution
Exploring Operation: 55+88=143, Resulting Numbers: [143]
143,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[52, 91], Operations: ['19+17=36', '55+36=91']
Exploring Operation: 91-52=39, Resulting Numbers: [39]
39,71 unequal: No Solution
Exploring Operation: 52+91=143, Resulting Numbers: [143]
143,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,1
Current State: 71:[17, 55, 71], Operations: ['19+52=71']
Exploring Operation: 17+55=72, Resulting Numbers: [71, 72]
Generated Node #0,1,0: 71:[71, 72] Operation: 17+55=72
Exploring Operation: 55-17=38, Resulting Numbers: [71, 38]
Generated Node #0,1,1: 71:[71, 38] Operation: 55-17=38
Moving to Node #0,1,0
Current State: 71:[71, 72], Operations: ['19+52=71', '17+55=72']
Exploring Operation: 72-71=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Exploring Operation: 71+72=143, Resulting Numbers: [143]
143,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[71, 38], Operations: ['19+52=71', '55-17=38']
Exploring Operation: 71+38=109, Resulting Numbers: [109]
109,71 unequal: No Solution
Exploring Operation: 71-38=33, Resulting Numbers: [33]
33,71 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 |
[
96,
93,
98,
22
] | 14 | [
"98-93=5",
"22*5=110",
"110-96=14"
] | Current State: 14:[96, 93, 98, 22], Operations: []
Exploring Operation: 98-93=5, Resulting Numbers: [96, 22, 5]
Generated Node #2: [96, 22, 5] from Operation: 98-93=5
Current State: 14:[96, 22, 5], Operations: ['98-93=5']
Exploring Operation: 22*5=110, Resulting Numbers: [96, 110]
Generated Node #3: [96, 110] from Operation: 22*5=110
Current State: 14:[96, 110], Operations: ['98-93=5', '22*5=110']
Exploring Operation: 110-96=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[96, 93, 98, 22], Operations: []
Exploring Operation: 96-93=3, Resulting Numbers: [98, 22, 3]
Generated Node #0,0: 14:[98, 22, 3] Operation: 96-93=3
Exploring Operation: 98-96=2, Resulting Numbers: [93, 22, 2]
Generated Node #0,1: 14:[93, 22, 2] Operation: 98-96=2
Exploring Operation: 98-93=5, Resulting Numbers: [96, 22, 5]
Generated Node #0,2: 14:[96, 22, 5] Operation: 98-93=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[93, 22, 2], Operations: ['98-96=2']
Exploring Operation: 93-2=91, Resulting Numbers: [22, 91]
Generated Node #0,1,0: 14:[22, 91] Operation: 93-2=91
Exploring Operation: 22/2=11, Resulting Numbers: [93, 11]
Generated Node #0,1,1: 14:[93, 11] Operation: 22/2=11
Exploring Operation: 93-22=71, Resulting Numbers: [2, 71]
Generated Node #0,1,2: 14:[2, 71] Operation: 93-22=71
Moving to Node #0,1,2
Current State: 14:[2, 71], Operations: ['98-96=2', '93-22=71']
Exploring Operation: 2+71=73, Resulting Numbers: [73]
73,14 unequal: No Solution
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,14 unequal: No Solution
Exploring Operation: 2*71=142, Resulting Numbers: [142]
142,14 unequal: No Solution
Moving to Node #0,1,1
Current State: 14:[93, 11], Operations: ['98-96=2', '22/2=11']
Exploring Operation: 93*11=1023, Resulting Numbers: [1023]
1023,14 unequal: No Solution
Exploring Operation: 93-11=82, Resulting Numbers: [82]
82,14 unequal: No Solution
Exploring Operation: 93+11=104, Resulting Numbers: [104]
104,14 unequal: No Solution
Moving to Node #0,1,0
Current State: 14:[22, 91], Operations: ['98-96=2', '93-2=91']
Exploring Operation: 91-22=69, Resulting Numbers: [69]
69,14 unequal: No Solution
Exploring Operation: 22+91=113, Resulting Numbers: [113]
113,14 unequal: No Solution
Exploring Operation: 22*91=2002, Resulting Numbers: [2002]
2002,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,2
Current State: 14:[96, 22, 5], Operations: ['98-93=5']
Exploring Operation: 96-22=74, Resulting Numbers: [5, 74]
Generated Node #0,2,0: 14:[5, 74] Operation: 96-22=74
Exploring Operation: 96-5=91, Resulting Numbers: [22, 91]
Generated Node #0,2,1: 14:[22, 91] Operation: 96-5=91
Exploring Operation: 22-5=17, Resulting Numbers: [96, 17]
Generated Node #0,2,2: 14:[96, 17] Operation: 22-5=17
Moving to Node #0,2,0
Current State: 14:[5, 74], Operations: ['98-93=5', '96-22=74']
Exploring Operation: 5*74=370, Resulting Numbers: [370]
370,14 unequal: No Solution
Exploring Operation: 5+74=79, Resulting Numbers: [79]
79,14 unequal: No Solution
Exploring Operation: 74-5=69, Resulting Numbers: [69]
69,14 unequal: No Solution
Moving to Node #0,2,1
Current State: 14:[22, 91], Operations: ['98-93=5', '96-5=91']
Exploring Operation: 22*91=2002, Resulting Numbers: [2002]
2002,14 unequal: No Solution
Exploring Operation: 91-22=69, Resulting Numbers: [69]
69,14 unequal: No Solution
Exploring Operation: 22+91=113, Resulting Numbers: [113]
113,14 unequal: No Solution
Moving to Node #0,2,2
Current State: 14:[96, 17], Operations: ['98-93=5', '22-5=17']
Exploring Operation: 96+17=113, Resulting Numbers: [113]
113,14 unequal: No Solution
Exploring Operation: 96*17=1632, Resulting Numbers: [1632]
1632,14 unequal: No Solution
Exploring Operation: 96-17=79, Resulting Numbers: [79]
79,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
Current State: 14:[98, 22, 3], Operations: ['96-93=3']
Exploring Operation: 98-3=95, Resulting Numbers: [22, 95]
Generated Node #0,0,0: 14:[22, 95] Operation: 98-3=95
Exploring Operation: 98-22=76, Resulting Numbers: [3, 76]
Generated Node #0,0,1: 14:[3, 76] Operation: 98-22=76
Exploring Operation: 22-3=19, Resulting Numbers: [98, 19]
Generated Node #0,0,2: 14:[98, 19] Operation: 22-3=19
Moving to Node #0,0,1
Current State: 14:[3, 76], Operations: ['96-93=3', '98-22=76']
Exploring Operation: 3*76=228, Resulting Numbers: [228]
228,14 unequal: No Solution
Exploring Operation: 3+76=79, Resulting Numbers: [79]
79,14 unequal: No Solution
Exploring Operation: 76-3=73, Resulting Numbers: [73]
73,14 unequal: No Solution
Moving to Node #0,0,0
Current State: 14:[22, 95], Operations: ['96-93=3', '98-3=95']
Exploring Operation: 22*95=2090, Resulting Numbers: [2090]
2090,14 unequal: No Solution
Exploring Operation: 95-22=73, Resulting Numbers: [73]
73,14 unequal: No Solution
Exploring Operation: 22+95=117, Resulting Numbers: [117]
117,14 unequal: No Solution
Moving to Node #0,0,2
Current State: 14:[98, 19], Operations: ['96-93=3', '22-3=19']
Exploring Operation: 98-19=79, Resulting Numbers: [79]
79,14 unequal: No Solution
Exploring Operation: 98+19=117, Resulting Numbers: [117]
117,14 unequal: No Solution
Exploring Operation: 98*19=1862, Resulting Numbers: [1862]
1862,14 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 |
[
95,
2,
72,
92
] | 43 | [
"95+92=187",
"2*72=144",
"187-144=43"
] | Current State: 43:[95, 2, 72, 92], Operations: []
Exploring Operation: 95+92=187, Resulting Numbers: [2, 72, 187]
Generated Node #2: [2, 72, 187] from Operation: 95+92=187
Current State: 43:[2, 72, 187], Operations: ['95+92=187']
Exploring Operation: 2*72=144, Resulting Numbers: [187, 144]
Generated Node #3: [187, 144] from Operation: 2*72=144
Current State: 43:[187, 144], Operations: ['95+92=187', '2*72=144']
Exploring Operation: 187-144=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[95, 2, 72, 92], Operations: []
Exploring Operation: 72/2=36, Resulting Numbers: [95, 92, 36]
Generated Node #0,0: 43:[95, 92, 36] Operation: 72/2=36
Exploring Operation: 92/2=46, Resulting Numbers: [95, 72, 46]
Generated Node #0,1: 43:[95, 72, 46] Operation: 92/2=46
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[95, 72, 46], Operations: ['92/2=46']
Exploring Operation: 95-72=23, Resulting Numbers: [46, 23]
Generated Node #0,1,0: 43:[46, 23] Operation: 95-72=23
Exploring Operation: 95-46=49, Resulting Numbers: [72, 49]
Generated Node #0,1,1: 43:[72, 49] Operation: 95-46=49
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 43:[46, 23], Operations: ['92/2=46', '95-72=23']
Exploring Operation: 46-23=23, Resulting Numbers: [23]
23,43 unequal: No Solution
Exploring Operation: 46+23=69, Resulting Numbers: [69]
69,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,1,1
Current State: 43:[72, 49], Operations: ['92/2=46', '95-46=49']
Exploring Operation: 72-49=23, Resulting Numbers: [23]
23,43 unequal: No Solution
Exploring Operation: 72+49=121, Resulting Numbers: [121]
121,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:[95, 92, 36], Operations: ['72/2=36']
Exploring Operation: 95-36=59, Resulting Numbers: [92, 59]
Generated Node #0,0,0: 43:[92, 59] Operation: 95-36=59
Exploring Operation: 95-92=3, Resulting Numbers: [36, 3]
Generated Node #0,0,1: 43:[36, 3] Operation: 95-92=3
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 43:[36, 3], Operations: ['72/2=36', '95-92=3']
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,43 unequal: No Solution
Exploring Operation: 36+3=39, Resulting Numbers: [39]
39,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,0,0
Current State: 43:[92, 59], Operations: ['72/2=36', '95-36=59']
Exploring Operation: 92-59=33, Resulting Numbers: [33]
33,43 unequal: No Solution
Exploring Operation: 92+59=151, Resulting Numbers: [151]
151,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
No solution found.
| 0 | hs_2 | sum_heuristic |
[
65,
59,
36,
5
] | 30 | [
"65-59=6",
"36*5=180",
"180/6=30"
] | Current State: 30:[65, 59, 36, 5], Operations: []
Exploring Operation: 65-59=6, Resulting Numbers: [36, 5, 6]
Generated Node #2: [36, 5, 6] from Operation: 65-59=6
Current State: 30:[36, 5, 6], Operations: ['65-59=6']
Exploring Operation: 36*5=180, Resulting Numbers: [6, 180]
Generated Node #3: [6, 180] from Operation: 36*5=180
Current State: 30:[6, 180], Operations: ['65-59=6', '36*5=180']
Exploring Operation: 180/6=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[65, 59, 36, 5], Operations: []
Exploring Operation: 65-59=6, Resulting Numbers: [36, 5, 6]
Generated Node #0,0: 30:[36, 5, 6] Operation: 65-59=6
Exploring Operation: 65/5=13, Resulting Numbers: [59, 36, 13]
Generated Node #0,1: 30:[59, 36, 13] Operation: 65/5=13
Exploring Operation: 65-36=29, Resulting Numbers: [59, 5, 29]
Generated Node #0,2: 30:[59, 5, 29] Operation: 65-36=29
Moving to Node #0,0
Current State: 30:[36, 5, 6], Operations: ['65-59=6']
Exploring Operation: 36/6=6, Resulting Numbers: [5, 6]
Generated Node #0,0,0: 30:[5, 6] Operation: 36/6=6
Exploring Operation: 36-5=31, Resulting Numbers: [6, 31]
Generated Node #0,0,1: 30:[6, 31] Operation: 36-5=31
Exploring Operation: 36-6=30, Resulting Numbers: [5, 30]
Generated Node #0,0,2: 30:[5, 30] Operation: 36-6=30
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 30:[5, 6], Operations: ['65-59=6', '36/6=6']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[65, 59, 36, 5], Operations: []
Exploring Operation: 65-59=6, Resulting Numbers: [36, 5, 6]
Generated Node #0,0: 30:[36, 5, 6] Operation: 65-59=6
Moving to Node #0,0
Current State: 30:[36, 5, 6], Operations: ['65-59=6']
Exploring Operation: 36/6=6, Resulting Numbers: [5, 6]
Generated Node #0,0,0: 30:[5, 6] Operation: 36/6=6
Moving to Node #0,0,0
Current State: 30:[5, 6], Operations: ['65-59=6', '36/6=6']
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
17,
38,
81,
42
] | 18 | [
"38-17=21",
"81-42=39",
"39-21=18"
] | Current State: 18:[17, 38, 81, 42], Operations: []
Exploring Operation: 38-17=21, Resulting Numbers: [81, 42, 21]
Generated Node #2: [81, 42, 21] from Operation: 38-17=21
Current State: 18:[81, 42, 21], Operations: ['38-17=21']
Exploring Operation: 81-42=39, Resulting Numbers: [21, 39]
Generated Node #3: [21, 39] from Operation: 81-42=39
Current State: 18:[21, 39], Operations: ['38-17=21', '81-42=39']
Exploring Operation: 39-21=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[17, 38, 81, 42], Operations: []
Exploring Operation: 38-17=21, Resulting Numbers: [81, 42, 21]
Generated Node #0,0: 18:[81, 42, 21] Operation: 38-17=21
Exploring Operation: 42-38=4, Resulting Numbers: [17, 81, 4]
Generated Node #0,1: 18:[17, 81, 4] Operation: 42-38=4
Exploring Operation: 81-38=43, Resulting Numbers: [17, 42, 43]
Generated Node #0,2: 18:[17, 42, 43] Operation: 81-38=43
Exploring Operation: 81-17=64, Resulting Numbers: [38, 42, 64]
Generated Node #0,3: 18:[38, 42, 64] Operation: 81-17=64
Exploring Operation: 81-42=39, Resulting Numbers: [17, 38, 39]
Generated Node #0,4: 18:[17, 38, 39] Operation: 81-42=39
Moving to Node #0,4
Current State: 18:[17, 38, 39], Operations: ['81-42=39']
Exploring Operation: 38-17=21, Resulting Numbers: [39, 21]
Generated Node #0,4,0: 18:[39, 21] Operation: 38-17=21
Exploring Operation: 39-38=1, Resulting Numbers: [17, 1]
Generated Node #0,4,1: 18:[17, 1] Operation: 39-38=1
Exploring Operation: 39-17=22, Resulting Numbers: [38, 22]
Generated Node #0,4,2: 18:[38, 22] Operation: 39-17=22
Exploring Operation: 17+38=55, Resulting Numbers: [39, 55]
Generated Node #0,4,3: 18:[39, 55] Operation: 17+38=55
Exploring Operation: 17+39=56, Resulting Numbers: [38, 56]
Generated Node #0,4,4: 18:[38, 56] Operation: 17+39=56
Moving to Node #0,2
Current State: 18:[17, 42, 43], Operations: ['81-38=43']
Exploring Operation: 43-42=1, Resulting Numbers: [17, 1]
Generated Node #0,2,0: 18:[17, 1] Operation: 43-42=1
Exploring Operation: 17+43=60, Resulting Numbers: [42, 60]
Generated Node #0,2,1: 18:[42, 60] Operation: 17+43=60
Exploring Operation: 43-17=26, Resulting Numbers: [42, 26]
Generated Node #0,2,2: 18:[42, 26] Operation: 43-17=26
Exploring Operation: 17+42=59, Resulting Numbers: [43, 59]
Generated Node #0,2,3: 18:[43, 59] Operation: 17+42=59
Exploring Operation: 42-17=25, Resulting Numbers: [43, 25]
Generated Node #0,2,4: 18:[43, 25] Operation: 42-17=25
Moving to Node #0,1
Current State: 18:[17, 81, 4], Operations: ['42-38=4']
Exploring Operation: 17+4=21, Resulting Numbers: [81, 21]
Generated Node #0,1,0: 18:[81, 21] Operation: 17+4=21
Exploring Operation: 81+4=85, Resulting Numbers: [17, 85]
Generated Node #0,1,1: 18:[17, 85] Operation: 81+4=85
Exploring Operation: 17-4=13, Resulting Numbers: [81, 13]
Generated Node #0,1,2: 18:[81, 13] Operation: 17-4=13
Exploring Operation: 81-17=64, Resulting Numbers: [4, 64]
Generated Node #0,1,3: 18:[4, 64] Operation: 81-17=64
Exploring Operation: 81-4=77, Resulting Numbers: [17, 77]
Generated Node #0,1,4: 18:[17, 77] Operation: 81-4=77
Moving to Node #0,0
Current State: 18:[81, 42, 21], Operations: ['38-17=21']
Exploring Operation: 81-21=60, Resulting Numbers: [42, 60]
Generated Node #0,0,0: 18:[42, 60] Operation: 81-21=60
Exploring Operation: 81-42=39, Resulting Numbers: [21, 39]
Generated Node #0,0,1: 18:[21, 39] Operation: 81-42=39
Exploring Operation: 42/21=2, Resulting Numbers: [81, 2]
Generated Node #0,0,2: 18:[81, 2] Operation: 42/21=2
Exploring Operation: 81+42=123, Resulting Numbers: [21, 123]
Generated Node #0,0,3: 18:[21, 123] Operation: 81+42=123
Exploring Operation: 42-21=21, Resulting Numbers: [81, 21]
Generated Node #0,0,4: 18:[81, 21] Operation: 42-21=21
Moving to Node #0,3
Current State: 18:[38, 42, 64], Operations: ['81-17=64']
Exploring Operation: 64-38=26, Resulting Numbers: [42, 26]
Generated Node #0,3,0: 18:[42, 26] Operation: 64-38=26
Exploring Operation: 64-42=22, Resulting Numbers: [38, 22]
Generated Node #0,3,1: 18:[38, 22] Operation: 64-42=22
Exploring Operation: 42-38=4, Resulting Numbers: [64, 4]
Generated Node #0,3,2: 18:[64, 4] Operation: 42-38=4
Exploring Operation: 38+64=102, Resulting Numbers: [42, 102]
Generated Node #0,3,3: 18:[42, 102] Operation: 38+64=102
Exploring Operation: 38+42=80, Resulting Numbers: [64, 80]
Generated Node #0,3,4: 18:[64, 80] Operation: 38+42=80
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 18:[38, 22], Operations: ['81-17=64', '64-42=22']
Exploring Operation: 38-22=16, Resulting Numbers: [16]
16,18 unequal: No Solution
Exploring Operation: 38+22=60, Resulting Numbers: [60]
60,18 unequal: No Solution
Exploring Operation: 38*22=836, Resulting Numbers: [836]
836,18 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: 18:[42, 26], Operations: ['81-17=64', '64-38=26']
Exploring Operation: 42+26=68, Resulting Numbers: [68]
68,18 unequal: No Solution
Exploring Operation: 42-26=16, Resulting Numbers: [16]
16,18 unequal: No Solution
Exploring Operation: 42*26=1092, Resulting Numbers: [1092]
1092,18 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: 18:[64, 4], Operations: ['81-17=64', '42-38=4']
Exploring Operation: 64*4=256, Resulting Numbers: [256]
256,18 unequal: No Solution
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,18 unequal: No Solution
Exploring Operation: 64+4=68, Resulting Numbers: [68]
68,18 unequal: No Solution
Exploring Operation: 64-4=60, Resulting Numbers: [60]
60,18 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: 18:[42, 102], Operations: ['81-17=64', '38+64=102']
Exploring Operation: 42+102=144, Resulting Numbers: [144]
144,18 unequal: No Solution
Exploring Operation: 42*102=4284, Resulting Numbers: [4284]
4284,18 unequal: No Solution
Exploring Operation: 102-42=60, Resulting Numbers: [60]
60,18 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: 18:[64, 80], Operations: ['81-17=64', '38+42=80']
Exploring Operation: 64+80=144, Resulting Numbers: [144]
144,18 unequal: No Solution
Exploring Operation: 64*80=5120, Resulting Numbers: [5120]
5120,18 unequal: No Solution
Exploring Operation: 80-64=16, Resulting Numbers: [16]
16,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,1
Current State: 18:[17, 1], Operations: ['81-42=39', '39-38=1']
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,18 unequal: No Solution
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,18 unequal: No Solution
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[17, 38, 81, 42], Operations: []
Exploring Operation: 81-42=39, Resulting Numbers: [17, 38, 39]
Generated Node #0,4: 18:[17, 38, 39] Operation: 81-42=39
Moving to Node #0,4
Current State: 18:[17, 38, 39], Operations: ['81-42=39']
Exploring Operation: 39-38=1, Resulting Numbers: [17, 1]
Generated Node #0,4,1: 18:[17, 1] Operation: 39-38=1
Moving to Node #0,4,1
Current State: 18:[17, 1], Operations: ['81-42=39', '39-38=1']
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 0.953993 | hs_5 | sum_heuristic |
[
33,
64,
55,
28
] | 58 | [
"64-33=31",
"55-28=27",
"31+27=58"
] | Current State: 58:[33, 64, 55, 28], Operations: []
Exploring Operation: 64-33=31, Resulting Numbers: [55, 28, 31]
Generated Node #2: [55, 28, 31] from Operation: 64-33=31
Current State: 58:[55, 28, 31], Operations: ['64-33=31']
Exploring Operation: 55-28=27, Resulting Numbers: [31, 27]
Generated Node #3: [31, 27] from Operation: 55-28=27
Current State: 58:[31, 27], Operations: ['64-33=31', '55-28=27']
Exploring Operation: 31+27=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[33, 64, 55, 28], Operations: []
Exploring Operation: 64-33=31, Resulting Numbers: [55, 28, 31]
Generated Node #0,0: 58:[55, 28, 31] Operation: 64-33=31
Exploring Operation: 33+28=61, Resulting Numbers: [64, 55, 61]
Generated Node #0,1: 58:[64, 55, 61] Operation: 33+28=61
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[55, 28, 31], Operations: ['64-33=31']
Exploring Operation: 55-28=27, Resulting Numbers: [31, 27]
Generated Node #0,0,0: 58:[31, 27] Operation: 55-28=27
Exploring Operation: 28+31=59, Resulting Numbers: [55, 59]
Generated Node #0,0,1: 58:[55, 59] Operation: 28+31=59
Moving to Node #0,0,0
Current State: 58:[31, 27], Operations: ['64-33=31', '55-28=27']
Exploring Operation: 31+27=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[33, 64, 55, 28], Operations: []
Exploring Operation: 64-33=31, Resulting Numbers: [55, 28, 31]
Generated Node #0,0: 58:[55, 28, 31] Operation: 64-33=31
Moving to Node #0,0
Current State: 58:[55, 28, 31], Operations: ['64-33=31']
Exploring Operation: 55-28=27, Resulting Numbers: [31, 27]
Generated Node #0,0,0: 58:[31, 27] Operation: 55-28=27
Moving to Node #0,0,0
Current State: 58:[31, 27], Operations: ['64-33=31', '55-28=27']
Exploring Operation: 31+27=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
9,
8,
27,
61
] | 37 | [
"27/9=3",
"8*3=24",
"61-24=37"
] | Current State: 37:[9, 8, 27, 61], Operations: []
Exploring Operation: 27/9=3, Resulting Numbers: [8, 61, 3]
Generated Node #2: [8, 61, 3] from Operation: 27/9=3
Current State: 37:[8, 61, 3], Operations: ['27/9=3']
Exploring Operation: 8*3=24, Resulting Numbers: [61, 24]
Generated Node #3: [61, 24] from Operation: 8*3=24
Current State: 37:[61, 24], Operations: ['27/9=3', '8*3=24']
Exploring Operation: 61-24=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[9, 8, 27, 61], Operations: []
Exploring Operation: 8+27=35, Resulting Numbers: [9, 61, 35]
Generated Node #0,0: 37:[9, 61, 35] Operation: 8+27=35
Exploring Operation: 61-9=52, Resulting Numbers: [8, 27, 52]
Generated Node #0,1: 37:[8, 27, 52] Operation: 61-9=52
Exploring Operation: 9+27=36, Resulting Numbers: [8, 61, 36]
Generated Node #0,2: 37:[8, 61, 36] Operation: 9+27=36
Exploring Operation: 9+8=17, Resulting Numbers: [27, 61, 17]
Generated Node #0,3: 37:[27, 61, 17] Operation: 9+8=17
Moving to Node #0,0
Current State: 37:[9, 61, 35], Operations: ['8+27=35']
Exploring Operation: 9+35=44, Resulting Numbers: [61, 44]
Generated Node #0,0,0: 37:[61, 44] Operation: 9+35=44
Exploring Operation: 9+61=70, Resulting Numbers: [35, 70]
Generated Node #0,0,1: 37:[35, 70] Operation: 9+61=70
Exploring Operation: 35-9=26, Resulting Numbers: [61, 26]
Generated Node #0,0,2: 37:[61, 26] Operation: 35-9=26
Exploring Operation: 61-9=52, Resulting Numbers: [35, 52]
Generated Node #0,0,3: 37:[35, 52] Operation: 61-9=52
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 37:[35, 52], Operations: ['8+27=35', '61-9=52']
Exploring Operation: 52-35=17, Resulting Numbers: [17]
17,37 unequal: No Solution
Exploring Operation: 35+52=87, Resulting Numbers: [87]
87,37 unequal: No Solution
Exploring Operation: 35*52=1820, Resulting Numbers: [1820]
1820,37 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: 37:[61, 44], Operations: ['8+27=35', '9+35=44']
Exploring Operation: 61*44=2684, Resulting Numbers: [2684]
2684,37 unequal: No Solution
Exploring Operation: 61+44=105, Resulting Numbers: [105]
105,37 unequal: No Solution
Exploring Operation: 61-44=17, Resulting Numbers: [17]
17,37 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: 37:[35, 70], Operations: ['8+27=35', '9+61=70']
Exploring Operation: 35*70=2450, Resulting Numbers: [2450]
2450,37 unequal: No Solution
Exploring Operation: 70-35=35, Resulting Numbers: [35]
35,37 unequal: No Solution
Exploring Operation: 35+70=105, Resulting Numbers: [105]
105,37 unequal: No Solution
Exploring Operation: 70/35=2, Resulting Numbers: [2]
2,37 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: 37:[61, 26], Operations: ['8+27=35', '35-9=26']
Exploring Operation: 61+26=87, Resulting Numbers: [87]
87,37 unequal: No Solution
Exploring Operation: 61-26=35, Resulting Numbers: [35]
35,37 unequal: No Solution
Exploring Operation: 61*26=1586, Resulting Numbers: [1586]
1586,37 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: 37:[8, 61, 36], Operations: ['9+27=36']
Exploring Operation: 8+61=69, Resulting Numbers: [36, 69]
Generated Node #0,2,0: 37:[36, 69] Operation: 8+61=69
Exploring Operation: 8+36=44, Resulting Numbers: [61, 44]
Generated Node #0,2,1: 37:[61, 44] Operation: 8+36=44
Exploring Operation: 61-8=53, Resulting Numbers: [36, 53]
Generated Node #0,2,2: 37:[36, 53] Operation: 61-8=53
Exploring Operation: 36-8=28, Resulting Numbers: [61, 28]
Generated Node #0,2,3: 37:[61, 28] Operation: 36-8=28
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 37:[36, 53], Operations: ['9+27=36', '61-8=53']
Exploring Operation: 53-36=17, Resulting Numbers: [17]
17,37 unequal: No Solution
Exploring Operation: 36*53=1908, Resulting Numbers: [1908]
1908,37 unequal: No Solution
Exploring Operation: 36+53=89, Resulting Numbers: [89]
89,37 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: 37:[61, 44], Operations: ['9+27=36', '8+36=44']
Exploring Operation: 61*44=2684, Resulting Numbers: [2684]
2684,37 unequal: No Solution
Exploring Operation: 61-44=17, Resulting Numbers: [17]
17,37 unequal: No Solution
Exploring Operation: 61+44=105, Resulting Numbers: [105]
105,37 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: 37:[36, 69], Operations: ['9+27=36', '8+61=69']
Exploring Operation: 36*69=2484, Resulting Numbers: [2484]
2484,37 unequal: No Solution
Exploring Operation: 36+69=105, Resulting Numbers: [105]
105,37 unequal: No Solution
Exploring Operation: 69-36=33, Resulting Numbers: [33]
33,37 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: 37:[61, 28], Operations: ['9+27=36', '36-8=28']
Exploring Operation: 61*28=1708, Resulting Numbers: [1708]
1708,37 unequal: No Solution
Exploring Operation: 61-28=33, Resulting Numbers: [33]
33,37 unequal: No Solution
Exploring Operation: 61+28=89, Resulting Numbers: [89]
89,37 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: 37:[8, 27, 52], Operations: ['61-9=52']
Exploring Operation: 27-8=19, Resulting Numbers: [52, 19]
Generated Node #0,1,0: 37:[52, 19] Operation: 27-8=19
Exploring Operation: 8+27=35, Resulting Numbers: [52, 35]
Generated Node #0,1,1: 37:[52, 35] Operation: 8+27=35
Exploring Operation: 8+52=60, Resulting Numbers: [27, 60]
Generated Node #0,1,2: 37:[27, 60] Operation: 8+52=60
Exploring Operation: 52-8=44, Resulting Numbers: [27, 44]
Generated Node #0,1,3: 37:[27, 44] Operation: 52-8=44
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 37:[52, 35], Operations: ['61-9=52', '8+27=35']
Exploring Operation: 52*35=1820, Resulting Numbers: [1820]
1820,37 unequal: No Solution
Exploring Operation: 52-35=17, Resulting Numbers: [17]
17,37 unequal: No Solution
Exploring Operation: 52+35=87, Resulting Numbers: [87]
87,37 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: 37:[27, 44], Operations: ['61-9=52', '52-8=44']
Exploring Operation: 44-27=17, Resulting Numbers: [17]
17,37 unequal: No Solution
Exploring Operation: 27*44=1188, Resulting Numbers: [1188]
1188,37 unequal: No Solution
Exploring Operation: 27+44=71, Resulting Numbers: [71]
71,37 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: 37:[52, 19], Operations: ['61-9=52', '27-8=19']
Exploring Operation: 52+19=71, Resulting Numbers: [71]
71,37 unequal: No Solution
Exploring Operation: 52-19=33, Resulting Numbers: [33]
33,37 unequal: No Solution
Exploring Operation: 52*19=988, Resulting Numbers: [988]
988,37 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: 37:[27, 60], Operations: ['61-9=52', '8+52=60']
Exploring Operation: 27*60=1620, Resulting Numbers: [1620]
1620,37 unequal: No Solution
Exploring Operation: 27+60=87, Resulting Numbers: [87]
87,37 unequal: No Solution
Exploring Operation: 60-27=33, Resulting Numbers: [33]
33,37 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: 37:[27, 61, 17], Operations: ['9+8=17']
Exploring Operation: 61-27=34, Resulting Numbers: [17, 34]
Generated Node #0,3,0: 37:[17, 34] Operation: 61-27=34
Exploring Operation: 27+17=44, Resulting Numbers: [61, 44]
Generated Node #0,3,1: 37:[61, 44] Operation: 27+17=44
Exploring Operation: 27-17=10, Resulting Numbers: [61, 10]
Generated Node #0,3,2: 37:[61, 10] Operation: 27-17=10
Exploring Operation: 61-17=44, Resulting Numbers: [27, 44]
Generated Node #0,3,3: 37:[27, 44] Operation: 61-17=44
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 37:[27, 44], Operations: ['9+8=17', '61-17=44']
Exploring Operation: 27*44=1188, Resulting Numbers: [1188]
1188,37 unequal: No Solution
Exploring Operation: 44-27=17, Resulting Numbers: [17]
17,37 unequal: No Solution
Exploring Operation: 27+44=71, Resulting Numbers: [71]
71,37 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: 37:[17, 34], Operations: ['9+8=17', '61-27=34']
Exploring Operation: 34/17=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,37 unequal: No Solution
Exploring Operation: 17*34=578, Resulting Numbers: [578]
578,37 unequal: No Solution
Exploring Operation: 17+34=51, Resulting Numbers: [51]
51,37 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: 37:[61, 44], Operations: ['9+8=17', '27+17=44']
Exploring Operation: 61+44=105, Resulting Numbers: [105]
105,37 unequal: No Solution
Exploring Operation: 61-44=17, Resulting Numbers: [17]
17,37 unequal: No Solution
Exploring Operation: 61*44=2684, Resulting Numbers: [2684]
2684,37 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: 37:[61, 10], Operations: ['9+8=17', '27-17=10']
Exploring Operation: 61-10=51, Resulting Numbers: [51]
51,37 unequal: No Solution
Exploring Operation: 61+10=71, Resulting Numbers: [71]
71,37 unequal: No Solution
Exploring Operation: 61*10=610, Resulting Numbers: [610]
610,37 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 |
[
29,
82,
35,
41
] | 84 | [
"29+41=70",
"70/35=2",
"82+2=84"
] | Current State: 84:[29, 82, 35, 41], Operations: []
Exploring Operation: 29+41=70, Resulting Numbers: [82, 35, 70]
Generated Node #2: [82, 35, 70] from Operation: 29+41=70
Current State: 84:[82, 35, 70], Operations: ['29+41=70']
Exploring Operation: 70/35=2, Resulting Numbers: [82, 2]
Generated Node #3: [82, 2] from Operation: 70/35=2
Current State: 84:[82, 2], Operations: ['29+41=70', '70/35=2']
Exploring Operation: 82+2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[29, 82, 35, 41], Operations: []
Exploring Operation: 35-29=6, Resulting Numbers: [82, 41, 6]
Generated Node #0,0: 84:[82, 41, 6] Operation: 35-29=6
Exploring Operation: 41-35=6, Resulting Numbers: [29, 82, 6]
Generated Node #0,1: 84:[29, 82, 6] Operation: 41-35=6
Moving to Node #0,0
Current State: 84:[82, 41, 6], Operations: ['35-29=6']
Exploring Operation: 82-41=41, Resulting Numbers: [6, 41]
Generated Node #0,0,0: 84:[6, 41] Operation: 82-41=41
Exploring Operation: 82/41=2, Resulting Numbers: [6, 2]
Generated Node #0,0,1: 84:[6, 2] Operation: 82/41=2
Moving to Node #0,1
Current State: 84:[29, 82, 6], Operations: ['41-35=6']
Exploring Operation: 29-6=23, Resulting Numbers: [82, 23]
Generated Node #0,1,0: 84:[82, 23] Operation: 29-6=23
Exploring Operation: 82+6=88, Resulting Numbers: [29, 88]
Generated Node #0,1,1: 84:[29, 88] Operation: 82+6=88
Moving to Node #0,0,1
Current State: 84:[6, 2], Operations: ['35-29=6', '82/41=2']
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,84 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,84 unequal: No Solution
Moving to Node #0,0,0
Current State: 84:[6, 41], Operations: ['35-29=6', '82-41=41']
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,84 unequal: No Solution
Exploring Operation: 6+41=47, Resulting Numbers: [47]
47,84 unequal: No Solution
Moving to Node #0,1,0
Current State: 84:[82, 23], Operations: ['41-35=6', '29-6=23']
Exploring Operation: 82-23=59, Resulting Numbers: [59]
59,84 unequal: No Solution
Exploring Operation: 82+23=105, Resulting Numbers: [105]
105,84 unequal: No Solution
Moving to Node #0,1,1
Current State: 84:[29, 88], Operations: ['41-35=6', '82+6=88']
Exploring Operation: 88-29=59, Resulting Numbers: [59]
59,84 unequal: No Solution
Exploring Operation: 29+88=117, Resulting Numbers: [117]
117,84 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
31,
33,
20,
10
] | 66 | [
"31+33=64",
"20/10=2",
"64+2=66"
] | Current State: 66:[31, 33, 20, 10], Operations: []
Exploring Operation: 31+33=64, Resulting Numbers: [20, 10, 64]
Generated Node #2: [20, 10, 64] from Operation: 31+33=64
Current State: 66:[20, 10, 64], Operations: ['31+33=64']
Exploring Operation: 20/10=2, Resulting Numbers: [64, 2]
Generated Node #3: [64, 2] from Operation: 20/10=2
Current State: 66:[64, 2], Operations: ['31+33=64', '20/10=2']
Exploring Operation: 64+2=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[31, 33, 20, 10], Operations: []
Exploring Operation: 31-20=11, Resulting Numbers: [33, 10, 11]
Generated Node #0,0: 66:[33, 10, 11] Operation: 31-20=11
Moving to Node #0,0
Current State: 66:[33, 10, 11], Operations: ['31-20=11']
Exploring Operation: 33-10=23, Resulting Numbers: [11, 23]
Generated Node #0,0,0: 66:[11, 23] Operation: 33-10=23
Moving to Node #0,0,0
Current State: 66:[11, 23], Operations: ['31-20=11', '33-10=23']
Exploring Operation: 11+23=34, Resulting Numbers: [34]
34,66 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
5,
13,
8,
26
] | 27 | [
"13-5=8",
"8/8=1",
"26+1=27"
] | Current State: 27:[5, 13, 8, 26], Operations: []
Exploring Operation: 13-5=8, Resulting Numbers: [8, 26, 8]
Generated Node #2: [8, 26, 8] from Operation: 13-5=8
Current State: 27:[8, 26, 8], Operations: ['13-5=8']
Exploring Operation: 8/8=1, Resulting Numbers: [26, 1]
Generated Node #3: [26, 1] from Operation: 8/8=1
Current State: 27:[26, 1], Operations: ['13-5=8', '8/8=1']
Exploring Operation: 26+1=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[5, 13, 8, 26], Operations: []
Exploring Operation: 13-5=8, Resulting Numbers: [8, 26, 8]
Generated Node #0,0: 27:[8, 26, 8] Operation: 13-5=8
Moving to Node #0,0
Current State: 27:[8, 26, 8], Operations: ['13-5=8']
Exploring Operation: 8/8=1, Resulting Numbers: [26, 1]
Generated Node #0,0,0: 27:[26, 1] Operation: 8/8=1
Moving to Node #0,0,0
Current State: 27:[26, 1], Operations: ['13-5=8', '8/8=1']
Exploring Operation: 26+1=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[5, 13, 8, 26], Operations: []
Exploring Operation: 13-5=8, Resulting Numbers: [8, 26, 8]
Generated Node #0,0: 27:[8, 26, 8] Operation: 13-5=8
Moving to Node #0,0
Current State: 27:[8, 26, 8], Operations: ['13-5=8']
Exploring Operation: 8/8=1, Resulting Numbers: [26, 1]
Generated Node #0,0,0: 27:[26, 1] Operation: 8/8=1
Moving to Node #0,0,0
Current State: 27:[26, 1], Operations: ['13-5=8', '8/8=1']
Exploring Operation: 26+1=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
32,
31,
16,
91
] | 30 | [
"32/16=2",
"91-31=60",
"60/2=30"
] | Current State: 30:[32, 31, 16, 91], Operations: []
Exploring Operation: 32/16=2, Resulting Numbers: [31, 91, 2]
Generated Node #2: [31, 91, 2] from Operation: 32/16=2
Current State: 30:[31, 91, 2], Operations: ['32/16=2']
Exploring Operation: 91-31=60, Resulting Numbers: [2, 60]
Generated Node #3: [2, 60] from Operation: 91-31=60
Current State: 30:[2, 60], Operations: ['32/16=2', '91-31=60']
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[32, 31, 16, 91], Operations: []
Exploring Operation: 91-31=60, Resulting Numbers: [32, 16, 60]
Generated Node #0,0: 30:[32, 16, 60] Operation: 91-31=60
Exploring Operation: 91-32=59, Resulting Numbers: [31, 16, 59]
Generated Node #0,1: 30:[31, 16, 59] Operation: 91-32=59
Moving to Node #0,1
Current State: 30:[31, 16, 59], Operations: ['91-32=59']
Exploring Operation: 59-31=28, Resulting Numbers: [16, 28]
Generated Node #0,1,0: 30:[16, 28] Operation: 59-31=28
Exploring Operation: 59-16=43, Resulting Numbers: [31, 43]
Generated Node #0,1,1: 30:[31, 43] Operation: 59-16=43
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 30:[16, 28], Operations: ['91-32=59', '59-31=28']
Exploring Operation: 28-16=12, Resulting Numbers: [12]
12,30 unequal: No Solution
Exploring Operation: 16+28=44, Resulting Numbers: [44]
44,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,1,1
Current State: 30:[31, 43], Operations: ['91-32=59', '59-16=43']
Exploring Operation: 43-31=12, Resulting Numbers: [12]
12,30 unequal: No Solution
Exploring Operation: 31+43=74, Resulting Numbers: [74]
74,30 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: 30:[32, 16, 60], Operations: ['91-31=60']
Exploring Operation: 60-16=44, Resulting Numbers: [32, 44]
Generated Node #0,0,0: 30:[32, 44] Operation: 60-16=44
Exploring Operation: 60-32=28, Resulting Numbers: [16, 28]
Generated Node #0,0,1: 30:[16, 28] Operation: 60-32=28
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 30:[16, 28], Operations: ['91-31=60', '60-32=28']
Exploring Operation: 28-16=12, Resulting Numbers: [12]
12,30 unequal: No Solution
Exploring Operation: 16+28=44, Resulting Numbers: [44]
44,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,0,0
Current State: 30:[32, 44], Operations: ['91-31=60', '60-16=44']
Exploring Operation: 44-32=12, Resulting Numbers: [12]
12,30 unequal: No Solution
Exploring Operation: 32+44=76, Resulting Numbers: [76]
76,30 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 |
[
48,
3,
54,
10
] | 40 | [
"48+10=58",
"54/3=18",
"58-18=40"
] | Current State: 40:[48, 3, 54, 10], Operations: []
Exploring Operation: 48+10=58, Resulting Numbers: [3, 54, 58]
Generated Node #2: [3, 54, 58] from Operation: 48+10=58
Current State: 40:[3, 54, 58], Operations: ['48+10=58']
Exploring Operation: 54/3=18, Resulting Numbers: [58, 18]
Generated Node #3: [58, 18] from Operation: 54/3=18
Current State: 40:[58, 18], Operations: ['48+10=58', '54/3=18']
Exploring Operation: 58-18=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[48, 3, 54, 10], Operations: []
Exploring Operation: 48-10=38, Resulting Numbers: [3, 54, 38]
Generated Node #0,0: 40:[3, 54, 38] Operation: 48-10=38
Exploring Operation: 54-48=6, Resulting Numbers: [3, 10, 6]
Generated Node #0,1: 40:[3, 10, 6] Operation: 54-48=6
Exploring Operation: 54-10=44, Resulting Numbers: [48, 3, 44]
Generated Node #0,2: 40:[48, 3, 44] Operation: 54-10=44
Exploring Operation: 54/3=18, Resulting Numbers: [48, 10, 18]
Generated Node #0,3: 40:[48, 10, 18] Operation: 54/3=18
Moving to Node #0,1
Current State: 40:[3, 10, 6], Operations: ['54-48=6']
Exploring Operation: 6/3=2, Resulting Numbers: [10, 2]
Generated Node #0,1,0: 40:[10, 2] Operation: 6/3=2
Exploring Operation: 6-3=3, Resulting Numbers: [10, 3]
Generated Node #0,1,1: 40:[10, 3] Operation: 6-3=3
Exploring Operation: 3+6=9, Resulting Numbers: [10, 9]
Generated Node #0,1,2: 40:[10, 9] Operation: 3+6=9
Exploring Operation: 10-6=4, Resulting Numbers: [3, 4]
Generated Node #0,1,3: 40:[3, 4] Operation: 10-6=4
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 40:[10, 2], Operations: ['54-48=6', '6/3=2']
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,40 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,40 unequal: No Solution
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,40 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,40 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: 40:[10, 3], Operations: ['54-48=6', '6-3=3']
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,40 unequal: No Solution
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,40 unequal: No Solution
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,40 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: 40:[10, 9], Operations: ['54-48=6', '3+6=9']
Exploring Operation: 10+9=19, Resulting Numbers: [19]
19,40 unequal: No Solution
Exploring Operation: 10*9=90, Resulting Numbers: [90]
90,40 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,40 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: 40:[3, 4], Operations: ['54-48=6', '10-6=4']
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,40 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,40 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: 40:[48, 10, 18], Operations: ['54/3=18']
Exploring Operation: 10+18=28, Resulting Numbers: [48, 28]
Generated Node #0,3,0: 40:[48, 28] Operation: 10+18=28
Exploring Operation: 48-10=38, Resulting Numbers: [18, 38]
Generated Node #0,3,1: 40:[18, 38] Operation: 48-10=38
Exploring Operation: 48-18=30, Resulting Numbers: [10, 30]
Generated Node #0,3,2: 40:[10, 30] Operation: 48-18=30
Exploring Operation: 18-10=8, Resulting Numbers: [48, 8]
Generated Node #0,3,3: 40:[48, 8] Operation: 18-10=8
Moving to Node #0,2
Current State: 40:[48, 3, 44], Operations: ['54-10=44']
Exploring Operation: 48/3=16, Resulting Numbers: [44, 16]
Generated Node #0,2,0: 40:[44, 16] Operation: 48/3=16
Exploring Operation: 48-44=4, Resulting Numbers: [3, 4]
Generated Node #0,2,1: 40:[3, 4] Operation: 48-44=4
Exploring Operation: 44-3=41, Resulting Numbers: [48, 41]
Generated Node #0,2,2: 40:[48, 41] Operation: 44-3=41
Exploring Operation: 48-3=45, Resulting Numbers: [44, 45]
Generated Node #0,2,3: 40:[44, 45] Operation: 48-3=45
Moving to Node #0,0
Current State: 40:[3, 54, 38], Operations: ['48-10=38']
Exploring Operation: 54/3=18, Resulting Numbers: [38, 18]
Generated Node #0,0,0: 40:[38, 18] Operation: 54/3=18
Exploring Operation: 3+38=41, Resulting Numbers: [54, 41]
Generated Node #0,0,1: 40:[54, 41] Operation: 3+38=41
Exploring Operation: 54-3=51, Resulting Numbers: [38, 51]
Generated Node #0,0,2: 40:[38, 51] Operation: 54-3=51
Exploring Operation: 54-38=16, Resulting Numbers: [3, 16]
Generated Node #0,0,3: 40:[3, 16] Operation: 54-38=16
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 40:[38, 18], Operations: ['48-10=38', '54/3=18']
Exploring Operation: 38-18=20, Resulting Numbers: [20]
20,40 unequal: No Solution
Exploring Operation: 38*18=684, Resulting Numbers: [684]
684,40 unequal: No Solution
Exploring Operation: 38+18=56, Resulting Numbers: [56]
56,40 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: 40:[3, 16], Operations: ['48-10=38', '54-38=16']
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,40 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,40 unequal: No Solution
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,40 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: 40:[38, 51], Operations: ['48-10=38', '54-3=51']
Exploring Operation: 51-38=13, Resulting Numbers: [13]
13,40 unequal: No Solution
Exploring Operation: 38*51=1938, Resulting Numbers: [1938]
1938,40 unequal: No Solution
Exploring Operation: 38+51=89, Resulting Numbers: [89]
89,40 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: 40:[54, 41], Operations: ['48-10=38', '3+38=41']
Exploring Operation: 54-41=13, Resulting Numbers: [13]
13,40 unequal: No Solution
Exploring Operation: 54*41=2214, Resulting Numbers: [2214]
2214,40 unequal: No Solution
Exploring Operation: 54+41=95, Resulting Numbers: [95]
95,40 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: 40:[3, 4], Operations: ['54-10=44', '48-44=4']
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,40 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,40 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,40 unequal: No Solution
Moving to Node #0,3,1
Current State: 40:[18, 38], Operations: ['54/3=18', '48-10=38']
Exploring Operation: 38-18=20, Resulting Numbers: [20]
20,40 unequal: No Solution
Exploring Operation: 18+38=56, Resulting Numbers: [56]
56,40 unequal: No Solution
Exploring Operation: 18*38=684, Resulting Numbers: [684]
684,40 unequal: No Solution
Moving to Node #0,2,0
Current State: 40:[44, 16], Operations: ['54-10=44', '48/3=16']
Exploring Operation: 44+16=60, Resulting Numbers: [60]
60,40 unequal: No Solution
Exploring Operation: 44*16=704, Resulting Numbers: [704]
704,40 unequal: No Solution
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,40 unequal: No Solution
Moving to Node #0,3,3
Current State: 40:[48, 8], Operations: ['54/3=18', '18-10=8']
Exploring Operation: 48/8=6, Resulting Numbers: [6]
6,40 unequal: No Solution
Exploring Operation: 48+8=56, Resulting Numbers: [56]
56,40 unequal: No Solution
Exploring Operation: 48*8=384, Resulting Numbers: [384]
384,40 unequal: No Solution
Exploring Operation: 48-8=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[48, 3, 54, 10], Operations: []
Exploring Operation: 54/3=18, Resulting Numbers: [48, 10, 18]
Generated Node #0,3: 40:[48, 10, 18] Operation: 54/3=18
Moving to Node #0,3
Current State: 40:[48, 10, 18], Operations: ['54/3=18']
Exploring Operation: 18-10=8, Resulting Numbers: [48, 8]
Generated Node #0,3,3: 40:[48, 8] Operation: 18-10=8
Moving to Node #0,3,3
Current State: 40:[48, 8], Operations: ['54/3=18', '18-10=8']
Exploring Operation: 48-8=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 0.946181 | hs_4 | mult_heuristic |
[
32,
68,
85,
7
] | 87 | [
"85-68=17",
"7*17=119",
"119-32=87"
] | Current State: 87:[32, 68, 85, 7], Operations: []
Exploring Operation: 85-68=17, Resulting Numbers: [32, 7, 17]
Generated Node #2: [32, 7, 17] from Operation: 85-68=17
Current State: 87:[32, 7, 17], Operations: ['85-68=17']
Exploring Operation: 7*17=119, Resulting Numbers: [32, 119]
Generated Node #3: [32, 119] from Operation: 7*17=119
Current State: 87:[32, 119], Operations: ['85-68=17', '7*17=119']
Exploring Operation: 119-32=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[32, 68, 85, 7], Operations: []
Exploring Operation: 68+7=75, Resulting Numbers: [32, 85, 75]
Generated Node #0,0: 87:[32, 85, 75] Operation: 68+7=75
Exploring Operation: 68-32=36, Resulting Numbers: [85, 7, 36]
Generated Node #0,1: 87:[85, 7, 36] Operation: 68-32=36
Exploring Operation: 85-68=17, Resulting Numbers: [32, 7, 17]
Generated Node #0,2: 87:[32, 7, 17] Operation: 85-68=17
Exploring Operation: 32+68=100, Resulting Numbers: [85, 7, 100]
Generated Node #0,3: 87:[85, 7, 100] Operation: 32+68=100
Moving to Node #0,1
Current State: 87:[85, 7, 36], Operations: ['68-32=36']
Exploring Operation: 85+7=92, Resulting Numbers: [36, 92]
Generated Node #0,1,0: 87:[36, 92] Operation: 85+7=92
Exploring Operation: 36-7=29, Resulting Numbers: [85, 29]
Generated Node #0,1,1: 87:[85, 29] Operation: 36-7=29
Exploring Operation: 85-7=78, Resulting Numbers: [36, 78]
Generated Node #0,1,2: 87:[36, 78] Operation: 85-7=78
Exploring Operation: 7+36=43, Resulting Numbers: [85, 43]
Generated Node #0,1,3: 87:[85, 43] Operation: 7+36=43
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 87:[85, 29], Operations: ['68-32=36', '36-7=29']
Exploring Operation: 85+29=114, Resulting Numbers: [114]
114,87 unequal: No Solution
Exploring Operation: 85-29=56, Resulting Numbers: [56]
56,87 unequal: No Solution
Exploring Operation: 85*29=2465, Resulting Numbers: [2465]
2465,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,1,0
Current State: 87:[36, 92], Operations: ['68-32=36', '85+7=92']
Exploring Operation: 92-36=56, Resulting Numbers: [56]
56,87 unequal: No Solution
Exploring Operation: 36+92=128, Resulting Numbers: [128]
128,87 unequal: No Solution
Exploring Operation: 36*92=3312, Resulting Numbers: [3312]
3312,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,1,2
Current State: 87:[36, 78], Operations: ['68-32=36', '85-7=78']
Exploring Operation: 36+78=114, Resulting Numbers: [114]
114,87 unequal: No Solution
Exploring Operation: 78-36=42, Resulting Numbers: [42]
42,87 unequal: No Solution
Exploring Operation: 36*78=2808, Resulting Numbers: [2808]
2808,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,1,3
Current State: 87:[85, 43], Operations: ['68-32=36', '7+36=43']
Exploring Operation: 85+43=128, Resulting Numbers: [128]
128,87 unequal: No Solution
Exploring Operation: 85-43=42, Resulting Numbers: [42]
42,87 unequal: No Solution
Exploring Operation: 85*43=3655, Resulting Numbers: [3655]
3655,87 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: 87:[32, 85, 75], Operations: ['68+7=75']
Exploring Operation: 85-32=53, Resulting Numbers: [75, 53]
Generated Node #0,0,0: 87:[75, 53] Operation: 85-32=53
Exploring Operation: 32+75=107, Resulting Numbers: [85, 107]
Generated Node #0,0,1: 87:[85, 107] Operation: 32+75=107
Exploring Operation: 85-75=10, Resulting Numbers: [32, 10]
Generated Node #0,0,2: 87:[32, 10] Operation: 85-75=10
Exploring Operation: 75-32=43, Resulting Numbers: [85, 43]
Generated Node #0,0,3: 87:[85, 43] Operation: 75-32=43
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 87:[32, 10], Operations: ['68+7=75', '85-75=10']
Exploring Operation: 32+10=42, Resulting Numbers: [42]
42,87 unequal: No Solution
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,87 unequal: No Solution
Exploring Operation: 32*10=320, Resulting Numbers: [320]
320,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,3
Current State: 87:[85, 43], Operations: ['68+7=75', '75-32=43']
Exploring Operation: 85-43=42, Resulting Numbers: [42]
42,87 unequal: No Solution
Exploring Operation: 85+43=128, Resulting Numbers: [128]
128,87 unequal: No Solution
Exploring Operation: 85*43=3655, Resulting Numbers: [3655]
3655,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:[85, 107], Operations: ['68+7=75', '32+75=107']
Exploring Operation: 85*107=9095, Resulting Numbers: [9095]
9095,87 unequal: No Solution
Exploring Operation: 85+107=192, Resulting Numbers: [192]
192,87 unequal: No Solution
Exploring Operation: 107-85=22, Resulting Numbers: [22]
22,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,0
Current State: 87:[75, 53], Operations: ['68+7=75', '85-32=53']
Exploring Operation: 75*53=3975, Resulting Numbers: [3975]
3975,87 unequal: No Solution
Exploring Operation: 75+53=128, Resulting Numbers: [128]
128,87 unequal: No Solution
Exploring Operation: 75-53=22, Resulting Numbers: [22]
22,87 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: 87:[85, 7, 100], Operations: ['32+68=100']
Exploring Operation: 100-85=15, Resulting Numbers: [7, 15]
Generated Node #0,3,0: 87:[7, 15] Operation: 100-85=15
Exploring Operation: 85-7=78, Resulting Numbers: [100, 78]
Generated Node #0,3,1: 87:[100, 78] Operation: 85-7=78
Exploring Operation: 85+7=92, Resulting Numbers: [100, 92]
Generated Node #0,3,2: 87:[100, 92] Operation: 85+7=92
Exploring Operation: 100-7=93, Resulting Numbers: [85, 93]
Generated Node #0,3,3: 87:[85, 93] Operation: 100-7=93
Moving to Node #0,2
Current State: 87:[32, 7, 17], Operations: ['85-68=17']
Exploring Operation: 7+17=24, Resulting Numbers: [32, 24]
Generated Node #0,2,0: 87:[32, 24] Operation: 7+17=24
Exploring Operation: 17-7=10, Resulting Numbers: [32, 10]
Generated Node #0,2,1: 87:[32, 10] Operation: 17-7=10
Exploring Operation: 32-17=15, Resulting Numbers: [7, 15]
Generated Node #0,2,2: 87:[7, 15] Operation: 32-17=15
Exploring Operation: 32-7=25, Resulting Numbers: [17, 25]
Generated Node #0,2,3: 87:[17, 25] Operation: 32-7=25
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 87:[32, 24], Operations: ['85-68=17', '7+17=24']
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,87 unequal: No Solution
Exploring Operation: 32+24=56, Resulting Numbers: [56]
56,87 unequal: No Solution
Exploring Operation: 32*24=768, Resulting Numbers: [768]
768,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,2,1
Current State: 87:[32, 10], Operations: ['85-68=17', '17-7=10']
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,87 unequal: No Solution
Exploring Operation: 32+10=42, Resulting Numbers: [42]
42,87 unequal: No Solution
Exploring Operation: 32*10=320, Resulting Numbers: [320]
320,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,2,2
Current State: 87:[7, 15], Operations: ['85-68=17', '32-17=15']
Exploring Operation: 7+15=22, Resulting Numbers: [22]
22,87 unequal: No Solution
Exploring Operation: 7*15=105, Resulting Numbers: [105]
105,87 unequal: No Solution
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,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,2,3
Current State: 87:[17, 25], Operations: ['85-68=17', '32-7=25']
Exploring Operation: 17*25=425, Resulting Numbers: [425]
425,87 unequal: No Solution
Exploring Operation: 25-17=8, Resulting Numbers: [8]
8,87 unequal: No Solution
Exploring Operation: 17+25=42, Resulting Numbers: [42]
42,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,3
Current State: 87:[85, 93], Operations: ['32+68=100', '100-7=93']
Exploring Operation: 85*93=7905, Resulting Numbers: [7905]
7905,87 unequal: No Solution
Exploring Operation: 93-85=8, Resulting Numbers: [8]
8,87 unequal: No Solution
Exploring Operation: 85+93=178, Resulting Numbers: [178]
178,87 unequal: No Solution
Moving to Node #0,3,0
Current State: 87:[7, 15], Operations: ['32+68=100', '100-85=15']
Exploring Operation: 7+15=22, Resulting Numbers: [22]
22,87 unequal: No Solution
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,87 unequal: No Solution
Exploring Operation: 7*15=105, Resulting Numbers: [105]
105,87 unequal: No Solution
Moving to Node #0,3,2
Current State: 87:[100, 92], Operations: ['32+68=100', '85+7=92']
Exploring Operation: 100-92=8, Resulting Numbers: [8]
8,87 unequal: No Solution
Exploring Operation: 100+92=192, Resulting Numbers: [192]
192,87 unequal: No Solution
Exploring Operation: 100*92=9200, Resulting Numbers: [9200]
9200,87 unequal: No Solution
Moving to Node #0,3,1
Current State: 87:[100, 78], Operations: ['32+68=100', '85-7=78']
Exploring Operation: 100+78=178, Resulting Numbers: [178]
178,87 unequal: No Solution
Exploring Operation: 100*78=7800, Resulting Numbers: [7800]
7800,87 unequal: No Solution
Exploring Operation: 100-78=22, Resulting Numbers: [22]
22,87 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
32,
63,
9,
2
] | 19 | [
"32+9=41",
"2*41=82",
"82-63=19"
] | Current State: 19:[32, 63, 9, 2], Operations: []
Exploring Operation: 32+9=41, Resulting Numbers: [63, 2, 41]
Generated Node #2: [63, 2, 41] from Operation: 32+9=41
Current State: 19:[63, 2, 41], Operations: ['32+9=41']
Exploring Operation: 2*41=82, Resulting Numbers: [63, 82]
Generated Node #3: [63, 82] from Operation: 2*41=82
Current State: 19:[63, 82], Operations: ['32+9=41', '2*41=82']
Exploring Operation: 82-63=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[32, 63, 9, 2], Operations: []
Exploring Operation: 32/2=16, Resulting Numbers: [63, 9, 16]
Generated Node #0,0: 19:[63, 9, 16] Operation: 32/2=16
Exploring Operation: 63/9=7, Resulting Numbers: [32, 2, 7]
Generated Node #0,1: 19:[32, 2, 7] Operation: 63/9=7
Exploring Operation: 63-32=31, Resulting Numbers: [9, 2, 31]
Generated Node #0,2: 19:[9, 2, 31] Operation: 63-32=31
Moving to Node #0,2
Current State: 19:[9, 2, 31], Operations: ['63-32=31']
Exploring Operation: 9+2=11, Resulting Numbers: [31, 11]
Generated Node #0,2,0: 19:[31, 11] Operation: 9+2=11
Exploring Operation: 31-9=22, Resulting Numbers: [2, 22]
Generated Node #0,2,1: 19:[2, 22] Operation: 31-9=22
Exploring Operation: 9*2=18, Resulting Numbers: [31, 18]
Generated Node #0,2,2: 19:[31, 18] Operation: 9*2=18
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 19:[31, 18], Operations: ['63-32=31', '9*2=18']
Exploring Operation: 31+18=49, Resulting Numbers: [49]
49,19 unequal: No Solution
Exploring Operation: 31-18=13, Resulting Numbers: [13]
13,19 unequal: No Solution
Exploring Operation: 31*18=558, Resulting Numbers: [558]
558,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,2,0
Current State: 19:[31, 11], Operations: ['63-32=31', '9+2=11']
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,19 unequal: No Solution
Exploring Operation: 31+11=42, Resulting Numbers: [42]
42,19 unequal: No Solution
Exploring Operation: 31*11=341, Resulting Numbers: [341]
341,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,2,1
Current State: 19:[2, 22], Operations: ['63-32=31', '31-9=22']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,19 unequal: No Solution
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,19 unequal: No Solution
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,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:[32, 2, 7], Operations: ['63/9=7']
Exploring Operation: 32/2=16, Resulting Numbers: [7, 16]
Generated Node #0,1,0: 19:[7, 16] Operation: 32/2=16
Exploring Operation: 2*7=14, Resulting Numbers: [32, 14]
Generated Node #0,1,1: 19:[32, 14] Operation: 2*7=14
Exploring Operation: 32-2=30, Resulting Numbers: [7, 30]
Generated Node #0,1,2: 19:[7, 30] Operation: 32-2=30
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 19:[7, 16], Operations: ['63/9=7', '32/2=16']
Exploring Operation: 7+16=23, Resulting Numbers: [23]
23,19 unequal: No Solution
Exploring Operation: 7*16=112, Resulting Numbers: [112]
112,19 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,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:[32, 14], Operations: ['63/9=7', '2*7=14']
Exploring Operation: 32-14=18, Resulting Numbers: [18]
18,19 unequal: No Solution
Exploring Operation: 32+14=46, Resulting Numbers: [46]
46,19 unequal: No Solution
Exploring Operation: 32*14=448, Resulting Numbers: [448]
448,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,2
Current State: 19:[7, 30], Operations: ['63/9=7', '32-2=30']
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,19 unequal: No Solution
Exploring Operation: 7+30=37, Resulting Numbers: [37]
37,19 unequal: No Solution
Exploring Operation: 7*30=210, Resulting Numbers: [210]
210,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:[63, 9, 16], Operations: ['32/2=16']
Exploring Operation: 63-16=47, Resulting Numbers: [9, 47]
Generated Node #0,0,0: 19:[9, 47] Operation: 63-16=47
Exploring Operation: 63-9=54, Resulting Numbers: [16, 54]
Generated Node #0,0,1: 19:[16, 54] Operation: 63-9=54
Exploring Operation: 63/9=7, Resulting Numbers: [16, 7]
Generated Node #0,0,2: 19:[16, 7] Operation: 63/9=7
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 19:[16, 7], Operations: ['32/2=16', '63/9=7']
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,19 unequal: No Solution
Exploring Operation: 16+7=23, Resulting Numbers: [23]
23,19 unequal: No Solution
Exploring Operation: 16*7=112, Resulting Numbers: [112]
112,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:[9, 47], Operations: ['32/2=16', '63-16=47']
Exploring Operation: 9*47=423, Resulting Numbers: [423]
423,19 unequal: No Solution
Exploring Operation: 9+47=56, Resulting Numbers: [56]
56,19 unequal: No Solution
Exploring Operation: 47-9=38, Resulting Numbers: [38]
38,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,1
Current State: 19:[16, 54], Operations: ['32/2=16', '63-9=54']
Exploring Operation: 16+54=70, Resulting Numbers: [70]
70,19 unequal: No Solution
Exploring Operation: 54-16=38, Resulting Numbers: [38]
38,19 unequal: No Solution
Exploring Operation: 16*54=864, Resulting Numbers: [864]
864,19 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 |
[
14,
52,
21,
3
] | 29 | [
"14+52=66",
"21+66=87",
"87/3=29"
] | Current State: 29:[14, 52, 21, 3], Operations: []
Exploring Operation: 14+52=66, Resulting Numbers: [21, 3, 66]
Generated Node #2: [21, 3, 66] from Operation: 14+52=66
Current State: 29:[21, 3, 66], Operations: ['14+52=66']
Exploring Operation: 21+66=87, Resulting Numbers: [3, 87]
Generated Node #3: [3, 87] from Operation: 21+66=87
Current State: 29:[3, 87], Operations: ['14+52=66', '21+66=87']
Exploring Operation: 87/3=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[14, 52, 21, 3], Operations: []
Exploring Operation: 14+3=17, Resulting Numbers: [52, 21, 17]
Generated Node #0,0: 29:[52, 21, 17] Operation: 14+3=17
Exploring Operation: 52-14=38, Resulting Numbers: [21, 3, 38]
Generated Node #0,1: 29:[21, 3, 38] Operation: 52-14=38
Moving to Node #0,0
Current State: 29:[52, 21, 17], Operations: ['14+3=17']
Exploring Operation: 52-21=31, Resulting Numbers: [17, 31]
Generated Node #0,0,0: 29:[17, 31] Operation: 52-21=31
Exploring Operation: 52-17=35, Resulting Numbers: [21, 35]
Generated Node #0,0,1: 29:[21, 35] Operation: 52-17=35
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 29:[17, 31], Operations: ['14+3=17', '52-21=31']
Exploring Operation: 31-17=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Exploring Operation: 17+31=48, Resulting Numbers: [48]
48,29 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: 29:[21, 35], Operations: ['14+3=17', '52-17=35']
Exploring Operation: 21+35=56, Resulting Numbers: [56]
56,29 unequal: No Solution
Exploring Operation: 35-21=14, Resulting Numbers: [14]
14,29 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: 29:[21, 3, 38], Operations: ['52-14=38']
Exploring Operation: 38-3=35, Resulting Numbers: [21, 35]
Generated Node #0,1,0: 29:[21, 35] Operation: 38-3=35
Exploring Operation: 21+3=24, Resulting Numbers: [38, 24]
Generated Node #0,1,1: 29:[38, 24] Operation: 21+3=24
Moving to Node #0,1,0
Current State: 29:[21, 35], Operations: ['52-14=38', '38-3=35']
Exploring Operation: 35-21=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Exploring Operation: 21+35=56, Resulting Numbers: [56]
56,29 unequal: No Solution
Moving to Node #0,1,1
Current State: 29:[38, 24], Operations: ['52-14=38', '21+3=24']
Exploring Operation: 38-24=14, Resulting Numbers: [14]
14,29 unequal: No Solution
Exploring Operation: 38+24=62, Resulting Numbers: [62]
62,29 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
61,
81,
36,
16
] | 25 | [
"81*16=1296",
"1296/36=36",
"61-36=25"
] | Current State: 25:[61, 81, 36, 16], Operations: []
Exploring Operation: 81*16=1296, Resulting Numbers: [61, 36, 1296]
Generated Node #2: [61, 36, 1296] from Operation: 81*16=1296
Current State: 25:[61, 36, 1296], Operations: ['81*16=1296']
Exploring Operation: 1296/36=36, Resulting Numbers: [61, 36]
Generated Node #3: [61, 36] from Operation: 1296/36=36
Current State: 25:[61, 36], Operations: ['81*16=1296', '1296/36=36']
Exploring Operation: 61-36=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[61, 81, 36, 16], Operations: []
Exploring Operation: 81-16=65, Resulting Numbers: [61, 36, 65]
Generated Node #0,0: 25:[61, 36, 65] Operation: 81-16=65
Exploring Operation: 61-36=25, Resulting Numbers: [81, 16, 25]
Generated Node #0,1: 25:[81, 16, 25] Operation: 61-36=25
Exploring Operation: 61-16=45, Resulting Numbers: [81, 36, 45]
Generated Node #0,2: 25:[81, 36, 45] Operation: 61-16=45
Exploring Operation: 81-36=45, Resulting Numbers: [61, 16, 45]
Generated Node #0,3: 25:[61, 16, 45] Operation: 81-36=45
Exploring Operation: 81-61=20, Resulting Numbers: [36, 16, 20]
Generated Node #0,4: 25:[36, 16, 20] Operation: 81-61=20
Moving to Node #0,4
Current State: 25:[36, 16, 20], Operations: ['81-61=20']
Exploring Operation: 36-20=16, Resulting Numbers: [16, 16]
Generated Node #0,4,0: 25:[16, 16] Operation: 36-20=16
Exploring Operation: 36-16=20, Resulting Numbers: [20, 20]
Generated Node #0,4,1: 25:[20, 20] Operation: 36-16=20
Exploring Operation: 20-16=4, Resulting Numbers: [36, 4]
Generated Node #0,4,2: 25:[36, 4] Operation: 20-16=4
Exploring Operation: 36+16=52, Resulting Numbers: [20, 52]
Generated Node #0,4,3: 25:[20, 52] Operation: 36+16=52
Exploring Operation: 16+20=36, Resulting Numbers: [36, 36]
Generated Node #0,4,4: 25:[36, 36] Operation: 16+20=36
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 25:[20, 20], Operations: ['81-61=20', '36-16=20']
Exploring Operation: 20+20=40, Resulting Numbers: [40]
40,25 unequal: No Solution
Exploring Operation: 20-20=0, Resulting Numbers: [0]
0,25 unequal: No Solution
Exploring Operation: 20/20=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 20*20=400, Resulting Numbers: [400]
400,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:[36, 4], Operations: ['81-61=20', '20-16=4']
Exploring Operation: 36+4=40, Resulting Numbers: [40]
40,25 unequal: No Solution
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,25 unequal: No Solution
Exploring Operation: 36*4=144, Resulting Numbers: [144]
144,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:[16, 16], Operations: ['81-61=20', '36-20=16']
Exploring Operation: 16*16=256, Resulting Numbers: [256]
256,25 unequal: No Solution
Exploring Operation: 16-16=0, Resulting Numbers: [0]
0,25 unequal: No Solution
Exploring Operation: 16+16=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Exploring Operation: 16/16=1, Resulting Numbers: [1]
1,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:[36, 36], Operations: ['81-61=20', '16+20=36']
Exploring Operation: 36*36=1296, Resulting Numbers: [1296]
1296,25 unequal: No Solution
Exploring Operation: 36+36=72, Resulting Numbers: [72]
72,25 unequal: No Solution
Exploring Operation: 36/36=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 36-36=0, Resulting Numbers: [0]
0,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:[20, 52], Operations: ['81-61=20', '36+16=52']
Exploring Operation: 20+52=72, Resulting Numbers: [72]
72,25 unequal: No Solution
Exploring Operation: 52-20=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Exploring Operation: 20*52=1040, Resulting Numbers: [1040]
1040,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:[61, 16, 45], Operations: ['81-36=45']
Exploring Operation: 61-16=45, Resulting Numbers: [45, 45]
Generated Node #0,3,0: 25:[45, 45] Operation: 61-16=45
Exploring Operation: 45-16=29, Resulting Numbers: [61, 29]
Generated Node #0,3,1: 25:[61, 29] Operation: 45-16=29
Exploring Operation: 61+16=77, Resulting Numbers: [45, 77]
Generated Node #0,3,2: 25:[45, 77] Operation: 61+16=77
Exploring Operation: 61-45=16, Resulting Numbers: [16, 16]
Generated Node #0,3,3: 25:[16, 16] Operation: 61-45=16
Exploring Operation: 16+45=61, Resulting Numbers: [61, 61]
Generated Node #0,3,4: 25:[61, 61] Operation: 16+45=61
Moving to Node #0,1
Current State: 25:[81, 16, 25], Operations: ['61-36=25']
Exploring Operation: 25-16=9, Resulting Numbers: [81, 9]
Generated Node #0,1,0: 25:[81, 9] Operation: 25-16=9
Exploring Operation: 16+25=41, Resulting Numbers: [81, 41]
Generated Node #0,1,1: 25:[81, 41] Operation: 16+25=41
Exploring Operation: 81-16=65, Resulting Numbers: [25, 65]
Generated Node #0,1,2: 25:[25, 65] Operation: 81-16=65
Exploring Operation: 81-25=56, Resulting Numbers: [16, 56]
Generated Node #0,1,3: 25:[16, 56] Operation: 81-25=56
Exploring Operation: 81+16=97, Resulting Numbers: [25, 97]
Generated Node #0,1,4: 25:[25, 97] Operation: 81+16=97
Moving to Node #0,0
Current State: 25:[61, 36, 65], Operations: ['81-16=65']
Exploring Operation: 65-36=29, Resulting Numbers: [61, 29]
Generated Node #0,0,0: 25:[61, 29] Operation: 65-36=29
Exploring Operation: 65-61=4, Resulting Numbers: [36, 4]
Generated Node #0,0,1: 25:[36, 4] Operation: 65-61=4
Exploring Operation: 61-36=25, Resulting Numbers: [65, 25]
Generated Node #0,0,2: 25:[65, 25] Operation: 61-36=25
Exploring Operation: 61+36=97, Resulting Numbers: [65, 97]
Generated Node #0,0,3: 25:[65, 97] Operation: 61+36=97
Exploring Operation: 61+65=126, Resulting Numbers: [36, 126]
Generated Node #0,0,4: 25:[36, 126] Operation: 61+65=126
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 25:[36, 4], Operations: ['81-16=65', '65-61=4']
Exploring Operation: 36+4=40, Resulting Numbers: [40]
40,25 unequal: No Solution
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Exploring Operation: 36*4=144, Resulting Numbers: [144]
144,25 unequal: No Solution
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,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:[61, 29], Operations: ['81-16=65', '65-36=29']
Exploring Operation: 61-29=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Exploring Operation: 61+29=90, Resulting Numbers: [90]
90,25 unequal: No Solution
Exploring Operation: 61*29=1769, Resulting Numbers: [1769]
1769,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,2
Current State: 25:[65, 25], Operations: ['81-16=65', '61-36=25']
Exploring Operation: 65-25=40, Resulting Numbers: [40]
40,25 unequal: No Solution
Exploring Operation: 65*25=1625, Resulting Numbers: [1625]
1625,25 unequal: No Solution
Exploring Operation: 65+25=90, Resulting Numbers: [90]
90,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:[65, 97], Operations: ['81-16=65', '61+36=97']
Exploring Operation: 65*97=6305, Resulting Numbers: [6305]
6305,25 unequal: No Solution
Exploring Operation: 97-65=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Exploring Operation: 65+97=162, Resulting Numbers: [162]
162,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:[36, 126], Operations: ['81-16=65', '61+65=126']
Exploring Operation: 126-36=90, Resulting Numbers: [90]
90,25 unequal: No Solution
Exploring Operation: 36*126=4536, Resulting Numbers: [4536]
4536,25 unequal: No Solution
Exploring Operation: 36+126=162, Resulting Numbers: [162]
162,25 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: 25:[81, 36, 45], Operations: ['61-16=45']
Exploring Operation: 81+45=126, Resulting Numbers: [36, 126]
Generated Node #0,2,0: 25:[36, 126] Operation: 81+45=126
Exploring Operation: 81-36=45, Resulting Numbers: [45, 45]
Generated Node #0,2,1: 25:[45, 45] Operation: 81-36=45
Exploring Operation: 81+36=117, Resulting Numbers: [45, 117]
Generated Node #0,2,2: 25:[45, 117] Operation: 81+36=117
Exploring Operation: 81-45=36, Resulting Numbers: [36, 36]
Generated Node #0,2,3: 25:[36, 36] Operation: 81-45=36
Exploring Operation: 45-36=9, Resulting Numbers: [81, 9]
Generated Node #0,2,4: 25:[81, 9] Operation: 45-36=9
Moving to Node #0,3,3
Current State: 25:[16, 16], Operations: ['81-36=45', '61-45=16']
Exploring Operation: 16/16=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 16*16=256, Resulting Numbers: [256]
256,25 unequal: No Solution
Exploring Operation: 16-16=0, Resulting Numbers: [0]
0,25 unequal: No Solution
Exploring Operation: 16+16=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Moving to Node #0,2,3
Current State: 25:[36, 36], Operations: ['61-16=45', '81-45=36']
Exploring Operation: 36+36=72, Resulting Numbers: [72]
72,25 unequal: No Solution
Exploring Operation: 36*36=1296, Resulting Numbers: [1296]
1296,25 unequal: No Solution
Exploring Operation: 36/36=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 36-36=0, Resulting Numbers: [0]
0,25 unequal: No Solution
Moving to Node #0,3,1
Current State: 25:[61, 29], Operations: ['81-36=45', '45-16=29']
Exploring Operation: 61-29=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Exploring Operation: 61+29=90, Resulting Numbers: [90]
90,25 unequal: No Solution
Exploring Operation: 61*29=1769, Resulting Numbers: [1769]
1769,25 unequal: No Solution
Moving to Node #0,1,3
Current State: 25:[16, 56], Operations: ['61-36=25', '81-25=56']
Exploring Operation: 16*56=896, Resulting Numbers: [896]
896,25 unequal: No Solution
Exploring Operation: 16+56=72, Resulting Numbers: [72]
72,25 unequal: No Solution
Exploring Operation: 56-16=40, Resulting Numbers: [40]
40,25 unequal: No Solution
Moving to Node #0,1,2
Current State: 25:[25, 65], Operations: ['61-36=25', '81-16=65']
Exploring Operation: 25*65=1625, Resulting Numbers: [1625]
1625,25 unequal: No Solution
Exploring Operation: 65-25=40, Resulting Numbers: [40]
40,25 unequal: No Solution
Exploring Operation: 25+65=90, Resulting Numbers: [90]
90,25 unequal: No Solution
Moving to Node #0,2,1
Current State: 25:[45, 45], Operations: ['61-16=45', '81-36=45']
Exploring Operation: 45-45=0, Resulting Numbers: [0]
0,25 unequal: No Solution
Exploring Operation: 45/45=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 45*45=2025, Resulting Numbers: [2025]
2025,25 unequal: No Solution
Exploring Operation: 45+45=90, Resulting Numbers: [90]
90,25 unequal: No Solution
Moving to Node #0,3,0
Current State: 25:[45, 45], Operations: ['81-36=45', '61-16=45']
Exploring Operation: 45-45=0, Resulting Numbers: [0]
0,25 unequal: No Solution
Exploring Operation: 45+45=90, Resulting Numbers: [90]
90,25 unequal: No Solution
Exploring Operation: 45/45=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 45*45=2025, Resulting Numbers: [2025]
2025,25 unequal: No Solution
Moving to Node #0,2,4
Current State: 25:[81, 9], Operations: ['61-16=45', '45-36=9']
Exploring Operation: 81*9=729, Resulting Numbers: [729]
729,25 unequal: No Solution
Exploring Operation: 81-9=72, Resulting Numbers: [72]
72,25 unequal: No Solution
Exploring Operation: 81/9=9, Resulting Numbers: [9]
9,25 unequal: No Solution
Exploring Operation: 81+9=90, Resulting Numbers: [90]
90,25 unequal: No Solution
Moving to Node #0,1,0
Current State: 25:[81, 9], Operations: ['61-36=25', '25-16=9']
Exploring Operation: 81/9=9, Resulting Numbers: [9]
9,25 unequal: No Solution
Exploring Operation: 81*9=729, Resulting Numbers: [729]
729,25 unequal: No Solution
Exploring Operation: 81-9=72, Resulting Numbers: [72]
72,25 unequal: No Solution
Exploring Operation: 81+9=90, Resulting Numbers: [90]
90,25 unequal: No Solution
Moving to Node #0,1,4
Current State: 25:[25, 97], Operations: ['61-36=25', '81+16=97']
Exploring Operation: 97-25=72, Resulting Numbers: [72]
72,25 unequal: No Solution
Exploring Operation: 25+97=122, Resulting Numbers: [122]
122,25 unequal: No Solution
Exploring Operation: 25*97=2425, Resulting Numbers: [2425]
2425,25 unequal: No Solution
Moving to Node #0,3,4
Current State: 25:[61, 61], Operations: ['81-36=45', '16+45=61']
Exploring Operation: 61+61=122, Resulting Numbers: [122]
122,25 unequal: No Solution
Exploring Operation: 61-61=0, Resulting Numbers: [0]
0,25 unequal: No Solution
Exploring Operation: 61/61=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 61*61=3721, Resulting Numbers: [3721]
3721,25 unequal: No Solution
Moving to Node #0,3,2
Current State: 25:[45, 77], Operations: ['81-36=45', '61+16=77']
Exploring Operation: 77-45=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Exploring Operation: 45*77=3465, Resulting Numbers: [3465]
3465,25 unequal: No Solution
Exploring Operation: 45+77=122, Resulting Numbers: [122]
122,25 unequal: No Solution
Moving to Node #0,1,1
Current State: 25:[81, 41], Operations: ['61-36=25', '16+25=41']
Exploring Operation: 81-41=40, Resulting Numbers: [40]
40,25 unequal: No Solution
Exploring Operation: 81*41=3321, Resulting Numbers: [3321]
3321,25 unequal: No Solution
Exploring Operation: 81+41=122, Resulting Numbers: [122]
122,25 unequal: No Solution
Moving to Node #0,2,0
Current State: 25:[36, 126], Operations: ['61-16=45', '81+45=126']
Exploring Operation: 36*126=4536, Resulting Numbers: [4536]
4536,25 unequal: No Solution
Exploring Operation: 126-36=90, Resulting Numbers: [90]
90,25 unequal: No Solution
Exploring Operation: 36+126=162, Resulting Numbers: [162]
162,25 unequal: No Solution
Moving to Node #0,2,2
Current State: 25:[45, 117], Operations: ['61-16=45', '81+36=117']
Exploring Operation: 45*117=5265, Resulting Numbers: [5265]
5265,25 unequal: No Solution
Exploring Operation: 117-45=72, Resulting Numbers: [72]
72,25 unequal: No Solution
Exploring Operation: 45+117=162, Resulting Numbers: [162]
162,25 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
96,
10,
65,
21
] | 49 | [
"96+65=161",
"10*21=210",
"210-161=49"
] | Current State: 49:[96, 10, 65, 21], Operations: []
Exploring Operation: 96+65=161, Resulting Numbers: [10, 21, 161]
Generated Node #2: [10, 21, 161] from Operation: 96+65=161
Current State: 49:[10, 21, 161], Operations: ['96+65=161']
Exploring Operation: 10*21=210, Resulting Numbers: [161, 210]
Generated Node #3: [161, 210] from Operation: 10*21=210
Current State: 49:[161, 210], Operations: ['96+65=161', '10*21=210']
Exploring Operation: 210-161=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[96, 10, 65, 21], Operations: []
Exploring Operation: 96-65=31, Resulting Numbers: [10, 21, 31]
Generated Node #0,0: 49:[10, 21, 31] Operation: 96-65=31
Exploring Operation: 96-21=75, Resulting Numbers: [10, 65, 75]
Generated Node #0,1: 49:[10, 65, 75] Operation: 96-21=75
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[10, 21, 31], Operations: ['96-65=31']
Exploring Operation: 21+31=52, Resulting Numbers: [10, 52]
Generated Node #0,0,0: 49:[10, 52] Operation: 21+31=52
Exploring Operation: 31-21=10, Resulting Numbers: [10, 10]
Generated Node #0,0,1: 49:[10, 10] Operation: 31-21=10
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 49:[10, 52], Operations: ['96-65=31', '21+31=52']
Exploring Operation: 10+52=62, Resulting Numbers: [62]
62,49 unequal: No Solution
Exploring Operation: 52-10=42, Resulting Numbers: [42]
42,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,0,1
Current State: 49:[10, 10], Operations: ['96-65=31', '31-21=10']
Exploring Operation: 10/10=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 10-10=0, Resulting Numbers: [0]
0,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[10, 65, 75], Operations: ['96-21=75']
Exploring Operation: 65-10=55, Resulting Numbers: [75, 55]
Generated Node #0,1,0: 49:[75, 55] Operation: 65-10=55
Exploring Operation: 75-65=10, Resulting Numbers: [10, 10]
Generated Node #0,1,1: 49:[10, 10] Operation: 75-65=10
Moving to Node #0,1,1
Current State: 49:[10, 10], Operations: ['96-21=75', '75-65=10']
Exploring Operation: 10-10=0, Resulting Numbers: [0]
0,49 unequal: No Solution
Exploring Operation: 10/10=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Moving to Node #0,1,0
Current State: 49:[75, 55], Operations: ['96-21=75', '65-10=55']
Exploring Operation: 75-55=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Exploring Operation: 75+55=130, Resulting Numbers: [130]
130,49 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 |
[
76,
68,
9,
6
] | 62 | [
"76-68=8",
"9*6=54",
"8+54=62"
] | Current State: 62:[76, 68, 9, 6], Operations: []
Exploring Operation: 76-68=8, Resulting Numbers: [9, 6, 8]
Generated Node #2: [9, 6, 8] from Operation: 76-68=8
Current State: 62:[9, 6, 8], Operations: ['76-68=8']
Exploring Operation: 9*6=54, Resulting Numbers: [8, 54]
Generated Node #3: [8, 54] from Operation: 9*6=54
Current State: 62:[8, 54], Operations: ['76-68=8', '9*6=54']
Exploring Operation: 8+54=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[76, 68, 9, 6], Operations: []
Exploring Operation: 76-9=67, Resulting Numbers: [68, 6, 67]
Generated Node #0,0: 62:[68, 6, 67] Operation: 76-9=67
Exploring Operation: 76-6=70, Resulting Numbers: [68, 9, 70]
Generated Node #0,1: 62:[68, 9, 70] Operation: 76-6=70
Exploring Operation: 76-68=8, Resulting Numbers: [9, 6, 8]
Generated Node #0,2: 62:[9, 6, 8] Operation: 76-68=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[68, 6, 67], Operations: ['76-9=67']
Exploring Operation: 68-6=62, Resulting Numbers: [67, 62]
Generated Node #0,0,0: 62:[67, 62] Operation: 68-6=62
Exploring Operation: 67-6=61, Resulting Numbers: [68, 61]
Generated Node #0,0,1: 62:[68, 61] Operation: 67-6=61
Exploring Operation: 68-67=1, Resulting Numbers: [6, 1]
Generated Node #0,0,2: 62:[6, 1] Operation: 68-67=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 62:[67, 62], Operations: ['76-9=67', '68-6=62']
Exploring Operation: 67*62=4154, Resulting Numbers: [4154]
4154,62 unequal: No Solution
Exploring Operation: 67-62=5, Resulting Numbers: [5]
5,62 unequal: No Solution
Exploring Operation: 67+62=129, Resulting Numbers: [129]
129,62 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: 62:[6, 1], Operations: ['76-9=67', '68-67=1']
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,62 unequal: No Solution
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,62 unequal: No Solution
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,62 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: 62:[68, 61], Operations: ['76-9=67', '67-6=61']
Exploring Operation: 68-61=7, Resulting Numbers: [7]
7,62 unequal: No Solution
Exploring Operation: 68*61=4148, Resulting Numbers: [4148]
4148,62 unequal: No Solution
Exploring Operation: 68+61=129, Resulting Numbers: [129]
129,62 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: 62:[9, 6, 8], Operations: ['76-68=8']
Exploring Operation: 9-8=1, Resulting Numbers: [6, 1]
Generated Node #0,2,0: 62:[6, 1] Operation: 9-8=1
Exploring Operation: 9-6=3, Resulting Numbers: [8, 3]
Generated Node #0,2,1: 62:[8, 3] Operation: 9-6=3
Exploring Operation: 8-6=2, Resulting Numbers: [9, 2]
Generated Node #0,2,2: 62:[9, 2] Operation: 8-6=2
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 62:[6, 1], Operations: ['76-68=8', '9-8=1']
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,62 unequal: No Solution
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,62 unequal: No Solution
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,62 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: 62:[8, 3], Operations: ['76-68=8', '9-6=3']
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,62 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,62 unequal: No Solution
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,62 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: 62:[9, 2], Operations: ['76-68=8', '8-6=2']
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,62 unequal: No Solution
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,62 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,62 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: 62:[68, 9, 70], Operations: ['76-6=70']
Exploring Operation: 70-68=2, Resulting Numbers: [9, 2]
Generated Node #0,1,0: 62:[9, 2] Operation: 70-68=2
Exploring Operation: 70-9=61, Resulting Numbers: [68, 61]
Generated Node #0,1,1: 62:[68, 61] Operation: 70-9=61
Exploring Operation: 68-9=59, Resulting Numbers: [70, 59]
Generated Node #0,1,2: 62:[70, 59] Operation: 68-9=59
Moving to Node #0,1,0
Current State: 62:[9, 2], Operations: ['76-6=70', '70-68=2']
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,62 unequal: No Solution
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,62 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,62 unequal: No Solution
Moving to Node #0,1,1
Current State: 62:[68, 61], Operations: ['76-6=70', '70-9=61']
Exploring Operation: 68*61=4148, Resulting Numbers: [4148]
4148,62 unequal: No Solution
Exploring Operation: 68-61=7, Resulting Numbers: [7]
7,62 unequal: No Solution
Exploring Operation: 68+61=129, Resulting Numbers: [129]
129,62 unequal: No Solution
Moving to Node #0,1,2
Current State: 62:[70, 59], Operations: ['76-6=70', '68-9=59']
Exploring Operation: 70-59=11, Resulting Numbers: [11]
11,62 unequal: No Solution
Exploring Operation: 70*59=4130, Resulting Numbers: [4130]
4130,62 unequal: No Solution
Exploring Operation: 70+59=129, Resulting Numbers: [129]
129,62 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 |
[
35,
39,
74,
34
] | 40 | [
"39*34=1326",
"74+1326=1400",
"1400/35=40"
] | Current State: 40:[35, 39, 74, 34], Operations: []
Exploring Operation: 39*34=1326, Resulting Numbers: [35, 74, 1326]
Generated Node #2: [35, 74, 1326] from Operation: 39*34=1326
Current State: 40:[35, 74, 1326], Operations: ['39*34=1326']
Exploring Operation: 74+1326=1400, Resulting Numbers: [35, 1400]
Generated Node #3: [35, 1400] from Operation: 74+1326=1400
Current State: 40:[35, 1400], Operations: ['39*34=1326', '74+1326=1400']
Exploring Operation: 1400/35=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[35, 39, 74, 34], Operations: []
Exploring Operation: 74-34=40, Resulting Numbers: [35, 39, 40]
Generated Node #0,0: 40:[35, 39, 40] Operation: 74-34=40
Exploring Operation: 74-35=39, Resulting Numbers: [39, 34, 39]
Generated Node #0,1: 40:[39, 34, 39] Operation: 74-35=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[35, 39, 40], Operations: ['74-34=40']
Exploring Operation: 39-35=4, Resulting Numbers: [40, 4]
Generated Node #0,0,0: 40:[40, 4] Operation: 39-35=4
Exploring Operation: 40-35=5, Resulting Numbers: [39, 5]
Generated Node #0,0,1: 40:[39, 5] Operation: 40-35=5
Moving to Node #0,0,0
Current State: 40:[40, 4], Operations: ['74-34=40', '39-35=4']
Exploring Operation: 40+4=44, Resulting Numbers: [44]
44,40 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,40 unequal: No Solution
Moving to Node #0,0,1
Current State: 40:[39, 5], Operations: ['74-34=40', '40-35=5']
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,40 unequal: No Solution
Exploring Operation: 39+5=44, Resulting Numbers: [44]
44,40 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: 40:[39, 34, 39], Operations: ['74-35=39']
Exploring Operation: 39-34=5, Resulting Numbers: [39, 5]
Generated Node #0,1,0: 40:[39, 5] Operation: 39-34=5
Exploring Operation: 39-34=5, Resulting Numbers: [39, 5]
Generated Node #0,1,1: 40:[39, 5] Operation: 39-34=5
Moving to Node #0,1,0
Current State: 40:[39, 5], Operations: ['74-35=39', '39-34=5']
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,40 unequal: No Solution
Exploring Operation: 39+5=44, Resulting Numbers: [44]
44,40 unequal: No Solution
Moving to Node #0,1,1
Current State: 40:[39, 5], Operations: ['74-35=39', '39-34=5']
Exploring Operation: 39+5=44, Resulting Numbers: [44]
44,40 unequal: No Solution
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,40 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 |
[
1,
28,
81,
56
] | 78 | [
"81-1=80",
"56/28=2",
"80-2=78"
] | Current State: 78:[1, 28, 81, 56], Operations: []
Exploring Operation: 81-1=80, Resulting Numbers: [28, 56, 80]
Generated Node #2: [28, 56, 80] from Operation: 81-1=80
Current State: 78:[28, 56, 80], Operations: ['81-1=80']
Exploring Operation: 56/28=2, Resulting Numbers: [80, 2]
Generated Node #3: [80, 2] from Operation: 56/28=2
Current State: 78:[80, 2], Operations: ['81-1=80', '56/28=2']
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[1, 28, 81, 56], Operations: []
Exploring Operation: 56-28=28, Resulting Numbers: [1, 81, 28]
Generated Node #0,0: 78:[1, 81, 28] Operation: 56-28=28
Exploring Operation: 56/28=2, Resulting Numbers: [1, 81, 2]
Generated Node #0,1: 78:[1, 81, 2] Operation: 56/28=2
Exploring Operation: 81-56=25, Resulting Numbers: [1, 28, 25]
Generated Node #0,2: 78:[1, 28, 25] Operation: 81-56=25
Moving to Node #0,1
Current State: 78:[1, 81, 2], Operations: ['56/28=2']
Exploring Operation: 81-2=79, Resulting Numbers: [1, 79]
Generated Node #0,1,0: 78:[1, 79] Operation: 81-2=79
Exploring Operation: 81-1=80, Resulting Numbers: [2, 80]
Generated Node #0,1,1: 78:[2, 80] Operation: 81-1=80
Exploring Operation: 1*81=81, Resulting Numbers: [2, 81]
Generated Node #0,1,2: 78:[2, 81] Operation: 1*81=81
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 78:[1, 79], Operations: ['56/28=2', '81-2=79']
Exploring Operation: 79/1=79, Resulting Numbers: [79]
79,78 unequal: No Solution
Exploring Operation: 1*79=79, Resulting Numbers: [79]
79,78 unequal: No Solution
Exploring Operation: 79-1=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[1, 28, 81, 56], Operations: []
Exploring Operation: 56/28=2, Resulting Numbers: [1, 81, 2]
Generated Node #0,1: 78:[1, 81, 2] Operation: 56/28=2
Moving to Node #0,1
Current State: 78:[1, 81, 2], Operations: ['56/28=2']
Exploring Operation: 81-2=79, Resulting Numbers: [1, 79]
Generated Node #0,1,0: 78:[1, 79] Operation: 81-2=79
Moving to Node #0,1,0
Current State: 78:[1, 79], Operations: ['56/28=2', '81-2=79']
Exploring Operation: 79-1=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
5,
77,
30,
25
] | 55 | [
"5+30=35",
"77*25=1925",
"1925/35=55"
] | Current State: 55:[5, 77, 30, 25], Operations: []
Exploring Operation: 5+30=35, Resulting Numbers: [77, 25, 35]
Generated Node #2: [77, 25, 35] from Operation: 5+30=35
Current State: 55:[77, 25, 35], Operations: ['5+30=35']
Exploring Operation: 77*25=1925, Resulting Numbers: [35, 1925]
Generated Node #3: [35, 1925] from Operation: 77*25=1925
Current State: 55:[35, 1925], Operations: ['5+30=35', '77*25=1925']
Exploring Operation: 1925/35=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[5, 77, 30, 25], Operations: []
Exploring Operation: 77-30=47, Resulting Numbers: [5, 25, 47]
Generated Node #0,0: 55:[5, 25, 47] Operation: 77-30=47
Exploring Operation: 77-25=52, Resulting Numbers: [5, 30, 52]
Generated Node #0,1: 55:[5, 30, 52] Operation: 77-25=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[5, 25, 47], Operations: ['77-30=47']
Exploring Operation: 25/5=5, Resulting Numbers: [47, 5]
Generated Node #0,0,0: 55:[47, 5] Operation: 25/5=5
Exploring Operation: 47-25=22, Resulting Numbers: [5, 22]
Generated Node #0,0,1: 55:[5, 22] Operation: 47-25=22
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 55:[47, 5], Operations: ['77-30=47', '25/5=5']
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,55 unequal: No Solution
Exploring Operation: 47+5=52, Resulting Numbers: [52]
52,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:[5, 22], Operations: ['77-30=47', '47-25=22']
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,55 unequal: No Solution
Exploring Operation: 5+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
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:[5, 30, 52], Operations: ['77-25=52']
Exploring Operation: 52-30=22, Resulting Numbers: [5, 22]
Generated Node #0,1,0: 55:[5, 22] Operation: 52-30=22
Exploring Operation: 30/5=6, Resulting Numbers: [52, 6]
Generated Node #0,1,1: 55:[52, 6] Operation: 30/5=6
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 55:[52, 6], Operations: ['77-25=52', '30/5=6']
Exploring Operation: 52+6=58, Resulting Numbers: [58]
58,55 unequal: No Solution
Exploring Operation: 52-6=46, Resulting Numbers: [46]
46,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,0
Current State: 55:[5, 22], Operations: ['77-25=52', '52-30=22']
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,55 unequal: No Solution
Exploring Operation: 5+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
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
82,
12,
41,
29
] | 81 | [
"41-12=29",
"29/29=1",
"82-1=81"
] | Current State: 81:[82, 12, 41, 29], Operations: []
Exploring Operation: 41-12=29, Resulting Numbers: [82, 29, 29]
Generated Node #2: [82, 29, 29] from Operation: 41-12=29
Current State: 81:[82, 29, 29], Operations: ['41-12=29']
Exploring Operation: 29/29=1, Resulting Numbers: [82, 1]
Generated Node #3: [82, 1] from Operation: 29/29=1
Current State: 81:[82, 1], Operations: ['41-12=29', '29/29=1']
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[82, 12, 41, 29], Operations: []
Exploring Operation: 41+29=70, Resulting Numbers: [82, 12, 70]
Generated Node #0,0: 81:[82, 12, 70] Operation: 41+29=70
Exploring Operation: 82/41=2, Resulting Numbers: [12, 29, 2]
Generated Node #0,1: 81:[12, 29, 2] Operation: 82/41=2
Exploring Operation: 41-29=12, Resulting Numbers: [82, 12, 12]
Generated Node #0,2: 81:[82, 12, 12] Operation: 41-29=12
Exploring Operation: 41-12=29, Resulting Numbers: [82, 29, 29]
Generated Node #0,3: 81:[82, 29, 29] Operation: 41-12=29
Start Sub Search at level 1: Moving to Node #0,3
Current State: 81:[82, 29, 29], Operations: ['41-12=29']
Exploring Operation: 29-29=0, Resulting Numbers: [82, 0]
Generated Node #0,3,0: 81:[82, 0] Operation: 29-29=0
Exploring Operation: 29/29=1, Resulting Numbers: [82, 1]
Generated Node #0,3,1: 81:[82, 1] Operation: 29/29=1
Exploring Operation: 29+29=58, Resulting Numbers: [82, 58]
Generated Node #0,3,2: 81:[82, 58] Operation: 29+29=58
Exploring Operation: 82-29=53, Resulting Numbers: [29, 53]
Generated Node #0,3,3: 81:[29, 53] Operation: 82-29=53
Moving to Node #0,3,1
Current State: 81:[82, 1], Operations: ['41-12=29', '29/29=1']
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[82, 12, 41, 29], Operations: []
Exploring Operation: 41-12=29, Resulting Numbers: [82, 29, 29]
Generated Node #0,3: 81:[82, 29, 29] Operation: 41-12=29
Moving to Node #0,3
Current State: 81:[82, 29, 29], Operations: ['41-12=29']
Exploring Operation: 29/29=1, Resulting Numbers: [82, 1]
Generated Node #0,3,1: 81:[82, 1] Operation: 29/29=1
Moving to Node #0,3,1
Current State: 81:[82, 1], Operations: ['41-12=29', '29/29=1']
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
84,
30,
27,
24
] | 36 | [
"84+24=108",
"30-27=3",
"108/3=36"
] | Current State: 36:[84, 30, 27, 24], Operations: []
Exploring Operation: 84+24=108, Resulting Numbers: [30, 27, 108]
Generated Node #2: [30, 27, 108] from Operation: 84+24=108
Current State: 36:[30, 27, 108], Operations: ['84+24=108']
Exploring Operation: 30-27=3, Resulting Numbers: [108, 3]
Generated Node #3: [108, 3] from Operation: 30-27=3
Current State: 36:[108, 3], Operations: ['84+24=108', '30-27=3']
Exploring Operation: 108/3=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[84, 30, 27, 24], Operations: []
Exploring Operation: 84-24=60, Resulting Numbers: [30, 27, 60]
Generated Node #0,0: 36:[30, 27, 60] Operation: 84-24=60
Exploring Operation: 27-24=3, Resulting Numbers: [84, 30, 3]
Generated Node #0,1: 36:[84, 30, 3] Operation: 27-24=3
Exploring Operation: 84-27=57, Resulting Numbers: [30, 24, 57]
Generated Node #0,2: 36:[30, 24, 57] Operation: 84-27=57
Exploring Operation: 84-30=54, Resulting Numbers: [27, 24, 54]
Generated Node #0,3: 36:[27, 24, 54] Operation: 84-30=54
Exploring Operation: 30-27=3, Resulting Numbers: [84, 24, 3]
Generated Node #0,4: 36:[84, 24, 3] Operation: 30-27=3
Moving to Node #0,2
Current State: 36:[30, 24, 57], Operations: ['84-27=57']
Exploring Operation: 30-24=6, Resulting Numbers: [57, 6]
Generated Node #0,2,0: 36:[57, 6] Operation: 30-24=6
Exploring Operation: 57-30=27, Resulting Numbers: [24, 27]
Generated Node #0,2,1: 36:[24, 27] Operation: 57-30=27
Exploring Operation: 57-24=33, Resulting Numbers: [30, 33]
Generated Node #0,2,2: 36:[30, 33] Operation: 57-24=33
Exploring Operation: 30+24=54, Resulting Numbers: [57, 54]
Generated Node #0,2,3: 36:[57, 54] Operation: 30+24=54
Exploring Operation: 24+57=81, Resulting Numbers: [30, 81]
Generated Node #0,2,4: 36:[30, 81] Operation: 24+57=81
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 36:[30, 33], Operations: ['84-27=57', '57-24=33']
Exploring Operation: 30*33=990, Resulting Numbers: [990]
990,36 unequal: No Solution
Exploring Operation: 33-30=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Exploring Operation: 30+33=63, Resulting Numbers: [63]
63,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,2,1
Current State: 36:[24, 27], Operations: ['84-27=57', '57-30=27']
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Exploring Operation: 24*27=648, Resulting Numbers: [648]
648,36 unequal: No Solution
Exploring Operation: 24+27=51, Resulting Numbers: [51]
51,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,2,0
Current State: 36:[57, 6], Operations: ['84-27=57', '30-24=6']
Exploring Operation: 57-6=51, Resulting Numbers: [51]
51,36 unequal: No Solution
Exploring Operation: 57*6=342, Resulting Numbers: [342]
342,36 unequal: No Solution
Exploring Operation: 57+6=63, Resulting Numbers: [63]
63,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,2,3
Current State: 36:[57, 54], Operations: ['84-27=57', '30+24=54']
Exploring Operation: 57-54=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Exploring Operation: 57+54=111, Resulting Numbers: [111]
111,36 unequal: No Solution
Exploring Operation: 57*54=3078, Resulting Numbers: [3078]
3078,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,2,4
Current State: 36:[30, 81], Operations: ['84-27=57', '24+57=81']
Exploring Operation: 30+81=111, Resulting Numbers: [111]
111,36 unequal: No Solution
Exploring Operation: 30*81=2430, Resulting Numbers: [2430]
2430,36 unequal: No Solution
Exploring Operation: 81-30=51, Resulting Numbers: [51]
51,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:[27, 24, 54], Operations: ['84-30=54']
Exploring Operation: 54-24=30, Resulting Numbers: [27, 30]
Generated Node #0,3,0: 36:[27, 30] Operation: 54-24=30
Exploring Operation: 27-24=3, Resulting Numbers: [54, 3]
Generated Node #0,3,1: 36:[54, 3] Operation: 27-24=3
Exploring Operation: 54/27=2, Resulting Numbers: [24, 2]
Generated Node #0,3,2: 36:[24, 2] Operation: 54/27=2
Exploring Operation: 54-27=27, Resulting Numbers: [24, 27]
Generated Node #0,3,3: 36:[24, 27] Operation: 54-27=27
Exploring Operation: 27+24=51, Resulting Numbers: [54, 51]
Generated Node #0,3,4: 36:[54, 51] Operation: 27+24=51
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 36:[24, 2], Operations: ['84-30=54', '54/27=2']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,36 unequal: No Solution
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,36 unequal: No Solution
Exploring Operation: 24*2=48, Resulting Numbers: [48]
48,36 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,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,0
Current State: 36:[27, 30], Operations: ['84-30=54', '54-24=30']
Exploring Operation: 30-27=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Exploring Operation: 27+30=57, Resulting Numbers: [57]
57,36 unequal: No Solution
Exploring Operation: 27*30=810, Resulting Numbers: [810]
810,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,3
Current State: 36:[24, 27], Operations: ['84-30=54', '54-27=27']
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Exploring Operation: 24+27=51, Resulting Numbers: [51]
51,36 unequal: No Solution
Exploring Operation: 24*27=648, Resulting Numbers: [648]
648,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:[54, 3], Operations: ['84-30=54', '27-24=3']
Exploring Operation: 54*3=162, Resulting Numbers: [162]
162,36 unequal: No Solution
Exploring Operation: 54+3=57, Resulting Numbers: [57]
57,36 unequal: No Solution
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,36 unequal: No Solution
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,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,4
Current State: 36:[54, 51], Operations: ['84-30=54', '27+24=51']
Exploring Operation: 54-51=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Exploring Operation: 54+51=105, Resulting Numbers: [105]
105,36 unequal: No Solution
Exploring Operation: 54*51=2754, Resulting Numbers: [2754]
2754,36 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: 36:[30, 27, 60], Operations: ['84-24=60']
Exploring Operation: 60/30=2, Resulting Numbers: [27, 2]
Generated Node #0,0,0: 36:[27, 2] Operation: 60/30=2
Exploring Operation: 30-27=3, Resulting Numbers: [60, 3]
Generated Node #0,0,1: 36:[60, 3] Operation: 30-27=3
Exploring Operation: 30+27=57, Resulting Numbers: [60, 57]
Generated Node #0,0,2: 36:[60, 57] Operation: 30+27=57
Exploring Operation: 60-27=33, Resulting Numbers: [30, 33]
Generated Node #0,0,3: 36:[30, 33] Operation: 60-27=33
Exploring Operation: 60-30=30, Resulting Numbers: [27, 30]
Generated Node #0,0,4: 36:[27, 30] Operation: 60-30=30
Moving to Node #0,1
Current State: 36:[84, 30, 3], Operations: ['27-24=3']
Exploring Operation: 30/3=10, Resulting Numbers: [84, 10]
Generated Node #0,1,0: 36:[84, 10] Operation: 30/3=10
Exploring Operation: 84/3=28, Resulting Numbers: [30, 28]
Generated Node #0,1,1: 36:[30, 28] Operation: 84/3=28
Exploring Operation: 84-3=81, Resulting Numbers: [30, 81]
Generated Node #0,1,2: 36:[30, 81] Operation: 84-3=81
Exploring Operation: 30+3=33, Resulting Numbers: [84, 33]
Generated Node #0,1,3: 36:[84, 33] Operation: 30+3=33
Exploring Operation: 84-30=54, Resulting Numbers: [3, 54]
Generated Node #0,1,4: 36:[3, 54] Operation: 84-30=54
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 36:[30, 28], Operations: ['27-24=3', '84/3=28']
Exploring Operation: 30-28=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Exploring Operation: 30+28=58, Resulting Numbers: [58]
58,36 unequal: No Solution
Exploring Operation: 30*28=840, Resulting Numbers: [840]
840,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,1,4
Current State: 36:[3, 54], Operations: ['27-24=3', '84-30=54']
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,36 unequal: No Solution
Exploring Operation: 3*54=162, Resulting Numbers: [162]
162,36 unequal: No Solution
Exploring Operation: 3+54=57, Resulting Numbers: [57]
57,36 unequal: No Solution
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,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,1,0
Current State: 36:[84, 10], Operations: ['27-24=3', '30/3=10']
Exploring Operation: 84-10=74, Resulting Numbers: [74]
74,36 unequal: No Solution
Exploring Operation: 84+10=94, Resulting Numbers: [94]
94,36 unequal: No Solution
Exploring Operation: 84*10=840, Resulting Numbers: [840]
840,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,1,2
Current State: 36:[30, 81], Operations: ['27-24=3', '84-3=81']
Exploring Operation: 81-30=51, Resulting Numbers: [51]
51,36 unequal: No Solution
Exploring Operation: 30*81=2430, Resulting Numbers: [2430]
2430,36 unequal: No Solution
Exploring Operation: 30+81=111, Resulting Numbers: [111]
111,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,1,3
Current State: 36:[84, 33], Operations: ['27-24=3', '30+3=33']
Exploring Operation: 84*33=2772, Resulting Numbers: [2772]
2772,36 unequal: No Solution
Exploring Operation: 84-33=51, Resulting Numbers: [51]
51,36 unequal: No Solution
Exploring Operation: 84+33=117, Resulting Numbers: [117]
117,36 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: 36:[84, 24, 3], Operations: ['30-27=3']
Exploring Operation: 84-24=60, Resulting Numbers: [3, 60]
Generated Node #0,4,0: 36:[3, 60] Operation: 84-24=60
Exploring Operation: 24/3=8, Resulting Numbers: [84, 8]
Generated Node #0,4,1: 36:[84, 8] Operation: 24/3=8
Exploring Operation: 84/3=28, Resulting Numbers: [24, 28]
Generated Node #0,4,2: 36:[24, 28] Operation: 84/3=28
Exploring Operation: 24-3=21, Resulting Numbers: [84, 21]
Generated Node #0,4,3: 36:[84, 21] Operation: 24-3=21
Exploring Operation: 84-3=81, Resulting Numbers: [24, 81]
Generated Node #0,4,4: 36:[24, 81] Operation: 84-3=81
Moving to Node #0,0,0
Current State: 36:[27, 2], Operations: ['84-24=60', '60/30=2']
Exploring Operation: 27+2=29, Resulting Numbers: [29]
29,36 unequal: No Solution
Exploring Operation: 27*2=54, Resulting Numbers: [54]
54,36 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,36 unequal: No Solution
Moving to Node #0,0,3
Current State: 36:[30, 33], Operations: ['84-24=60', '60-27=33']
Exploring Operation: 33-30=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Exploring Operation: 30*33=990, Resulting Numbers: [990]
990,36 unequal: No Solution
Exploring Operation: 30+33=63, Resulting Numbers: [63]
63,36 unequal: No Solution
Moving to Node #0,4,2
Current State: 36:[24, 28], Operations: ['30-27=3', '84/3=28']
Exploring Operation: 24+28=52, Resulting Numbers: [52]
52,36 unequal: No Solution
Exploring Operation: 24*28=672, Resulting Numbers: [672]
672,36 unequal: No Solution
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,36 unequal: No Solution
Moving to Node #0,0,4
Current State: 36:[27, 30], Operations: ['84-24=60', '60-30=30']
Exploring Operation: 27+30=57, Resulting Numbers: [57]
57,36 unequal: No Solution
Exploring Operation: 30-27=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Exploring Operation: 27*30=810, Resulting Numbers: [810]
810,36 unequal: No Solution
Moving to Node #0,4,0
Current State: 36:[3, 60], Operations: ['30-27=3', '84-24=60']
Exploring Operation: 3*60=180, Resulting Numbers: [180]
180,36 unequal: No Solution
Exploring Operation: 3+60=63, Resulting Numbers: [63]
63,36 unequal: No Solution
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,36 unequal: No Solution
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,36 unequal: No Solution
Moving to Node #0,0,1
Current State: 36:[60, 3], Operations: ['84-24=60', '30-27=3']
Exploring Operation: 60*3=180, Resulting Numbers: [180]
180,36 unequal: No Solution
Exploring Operation: 60/3=20, Resulting Numbers: [20]
20,36 unequal: No Solution
Exploring Operation: 60+3=63, Resulting Numbers: [63]
63,36 unequal: No Solution
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,36 unequal: No Solution
Moving to Node #0,0,2
Current State: 36:[60, 57], Operations: ['84-24=60', '30+27=57']
Exploring Operation: 60-57=3, Resulting Numbers: [3]
3,36 unequal: No Solution
Exploring Operation: 60+57=117, Resulting Numbers: [117]
117,36 unequal: No Solution
Exploring Operation: 60*57=3420, Resulting Numbers: [3420]
3420,36 unequal: No Solution
Moving to Node #0,4,1
Current State: 36:[84, 8], Operations: ['30-27=3', '24/3=8']
Exploring Operation: 84*8=672, Resulting Numbers: [672]
672,36 unequal: No Solution
Exploring Operation: 84+8=92, Resulting Numbers: [92]
92,36 unequal: No Solution
Exploring Operation: 84-8=76, Resulting Numbers: [76]
76,36 unequal: No Solution
Moving to Node #0,4,4
Current State: 36:[24, 81], Operations: ['30-27=3', '84-3=81']
Exploring Operation: 24+81=105, Resulting Numbers: [105]
105,36 unequal: No Solution
Exploring Operation: 24*81=1944, Resulting Numbers: [1944]
1944,36 unequal: No Solution
Exploring Operation: 81-24=57, Resulting Numbers: [57]
57,36 unequal: No Solution
Moving to Node #0,4,3
Current State: 36:[84, 21], Operations: ['30-27=3', '24-3=21']
Exploring Operation: 84-21=63, Resulting Numbers: [63]
63,36 unequal: No Solution
Exploring Operation: 84+21=105, Resulting Numbers: [105]
105,36 unequal: No Solution
Exploring Operation: 84*21=1764, Resulting Numbers: [1764]
1764,36 unequal: No Solution
Exploring Operation: 84/21=4, Resulting Numbers: [4]
4,36 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
55,
37,
81,
8
] | 71 | [
"55-37=18",
"81+8=89",
"89-18=71"
] | Current State: 71:[55, 37, 81, 8], Operations: []
Exploring Operation: 55-37=18, Resulting Numbers: [81, 8, 18]
Generated Node #2: [81, 8, 18] from Operation: 55-37=18
Current State: 71:[81, 8, 18], Operations: ['55-37=18']
Exploring Operation: 81+8=89, Resulting Numbers: [18, 89]
Generated Node #3: [18, 89] from Operation: 81+8=89
Current State: 71:[18, 89], Operations: ['55-37=18', '81+8=89']
Exploring Operation: 89-18=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[55, 37, 81, 8], Operations: []
Exploring Operation: 55-8=47, Resulting Numbers: [37, 81, 47]
Generated Node #0,0: 71:[37, 81, 47] Operation: 55-8=47
Exploring Operation: 81-8=73, Resulting Numbers: [55, 37, 73]
Generated Node #0,1: 71:[55, 37, 73] Operation: 81-8=73
Exploring Operation: 55+8=63, Resulting Numbers: [37, 81, 63]
Generated Node #0,2: 71:[37, 81, 63] Operation: 55+8=63
Exploring Operation: 37+8=45, Resulting Numbers: [55, 81, 45]
Generated Node #0,3: 71:[55, 81, 45] Operation: 37+8=45
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[55, 37, 73], Operations: ['81-8=73']
Exploring Operation: 73-37=36, Resulting Numbers: [55, 36]
Generated Node #0,1,0: 71:[55, 36] Operation: 73-37=36
Exploring Operation: 55+37=92, Resulting Numbers: [73, 92]
Generated Node #0,1,1: 71:[73, 92] Operation: 55+37=92
Exploring Operation: 37+73=110, Resulting Numbers: [55, 110]
Generated Node #0,1,2: 71:[55, 110] Operation: 37+73=110
Exploring Operation: 55-37=18, Resulting Numbers: [73, 18]
Generated Node #0,1,3: 71:[73, 18] Operation: 55-37=18
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 71:[73, 92], Operations: ['81-8=73', '55+37=92']
Exploring Operation: 73+92=165, Resulting Numbers: [165]
165,71 unequal: No Solution
Exploring Operation: 92-73=19, Resulting Numbers: [19]
19,71 unequal: No Solution
Exploring Operation: 73*92=6716, Resulting Numbers: [6716]
6716,71 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: 71:[55, 36], Operations: ['81-8=73', '73-37=36']
Exploring Operation: 55-36=19, Resulting Numbers: [19]
19,71 unequal: No Solution
Exploring Operation: 55+36=91, Resulting Numbers: [91]
91,71 unequal: No Solution
Exploring Operation: 55*36=1980, Resulting Numbers: [1980]
1980,71 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: 71:[55, 110], Operations: ['81-8=73', '37+73=110']
Exploring Operation: 110-55=55, Resulting Numbers: [55]
55,71 unequal: No Solution
Exploring Operation: 110/55=2, Resulting Numbers: [2]
2,71 unequal: No Solution
Exploring Operation: 55+110=165, Resulting Numbers: [165]
165,71 unequal: No Solution
Exploring Operation: 55*110=6050, Resulting Numbers: [6050]
6050,71 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: 71:[73, 18], Operations: ['81-8=73', '55-37=18']
Exploring Operation: 73*18=1314, Resulting Numbers: [1314]
1314,71 unequal: No Solution
Exploring Operation: 73-18=55, Resulting Numbers: [55]
55,71 unequal: No Solution
Exploring Operation: 73+18=91, Resulting Numbers: [91]
91,71 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: 71:[37, 81, 63], Operations: ['55+8=63']
Exploring Operation: 37+63=100, Resulting Numbers: [81, 100]
Generated Node #0,2,0: 71:[81, 100] Operation: 37+63=100
Exploring Operation: 63-37=26, Resulting Numbers: [81, 26]
Generated Node #0,2,1: 71:[81, 26] Operation: 63-37=26
Exploring Operation: 81-37=44, Resulting Numbers: [63, 44]
Generated Node #0,2,2: 71:[63, 44] Operation: 81-37=44
Exploring Operation: 37+81=118, Resulting Numbers: [63, 118]
Generated Node #0,2,3: 71:[63, 118] Operation: 37+81=118
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 71:[63, 44], Operations: ['55+8=63', '81-37=44']
Exploring Operation: 63-44=19, Resulting Numbers: [19]
19,71 unequal: No Solution
Exploring Operation: 63+44=107, Resulting Numbers: [107]
107,71 unequal: No Solution
Exploring Operation: 63*44=2772, Resulting Numbers: [2772]
2772,71 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: 71:[81, 100], Operations: ['55+8=63', '37+63=100']
Exploring Operation: 81+100=181, Resulting Numbers: [181]
181,71 unequal: No Solution
Exploring Operation: 100-81=19, Resulting Numbers: [19]
19,71 unequal: No Solution
Exploring Operation: 81*100=8100, Resulting Numbers: [8100]
8100,71 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: 71:[81, 26], Operations: ['55+8=63', '63-37=26']
Exploring Operation: 81+26=107, Resulting Numbers: [107]
107,71 unequal: No Solution
Exploring Operation: 81-26=55, Resulting Numbers: [55]
55,71 unequal: No Solution
Exploring Operation: 81*26=2106, Resulting Numbers: [2106]
2106,71 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: 71:[63, 118], Operations: ['55+8=63', '37+81=118']
Exploring Operation: 118-63=55, Resulting Numbers: [55]
55,71 unequal: No Solution
Exploring Operation: 63*118=7434, Resulting Numbers: [7434]
7434,71 unequal: No Solution
Exploring Operation: 63+118=181, Resulting Numbers: [181]
181,71 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: 71:[55, 81, 45], Operations: ['37+8=45']
Exploring Operation: 55-45=10, Resulting Numbers: [81, 10]
Generated Node #0,3,0: 71:[81, 10] Operation: 55-45=10
Exploring Operation: 55+45=100, Resulting Numbers: [81, 100]
Generated Node #0,3,1: 71:[81, 100] Operation: 55+45=100
Exploring Operation: 81-55=26, Resulting Numbers: [45, 26]
Generated Node #0,3,2: 71:[45, 26] Operation: 81-55=26
Exploring Operation: 81-45=36, Resulting Numbers: [55, 36]
Generated Node #0,3,3: 71:[55, 36] Operation: 81-45=36
Moving to Node #0,3,1
Current State: 71:[81, 100], Operations: ['37+8=45', '55+45=100']
Exploring Operation: 81+100=181, Resulting Numbers: [181]
181,71 unequal: No Solution
Exploring Operation: 81*100=8100, Resulting Numbers: [8100]
8100,71 unequal: No Solution
Exploring Operation: 100-81=19, Resulting Numbers: [19]
19,71 unequal: No Solution
Moving to Node #0,3,3
Current State: 71:[55, 36], Operations: ['37+8=45', '81-45=36']
Exploring Operation: 55*36=1980, Resulting Numbers: [1980]
1980,71 unequal: No Solution
Exploring Operation: 55-36=19, Resulting Numbers: [19]
19,71 unequal: No Solution
Exploring Operation: 55+36=91, Resulting Numbers: [91]
91,71 unequal: No Solution
Moving to Node #0,3,2
Current State: 71:[45, 26], Operations: ['37+8=45', '81-55=26']
Exploring Operation: 45+26=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[55, 37, 81, 8], Operations: []
Exploring Operation: 37+8=45, Resulting Numbers: [55, 81, 45]
Generated Node #0,3: 71:[55, 81, 45] Operation: 37+8=45
Moving to Node #0,3
Current State: 71:[55, 81, 45], Operations: ['37+8=45']
Exploring Operation: 81-55=26, Resulting Numbers: [45, 26]
Generated Node #0,3,2: 71:[45, 26] Operation: 81-55=26
Moving to Node #0,3,2
Current State: 71:[45, 26], Operations: ['37+8=45', '81-55=26']
Exploring Operation: 45+26=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.954861 | hs_4 | mult_heuristic |
[
7,
70,
19,
84
] | 77 | [
"19-7=12",
"84/12=7",
"70+7=77"
] | Current State: 77:[7, 70, 19, 84], Operations: []
Exploring Operation: 19-7=12, Resulting Numbers: [70, 84, 12]
Generated Node #2: [70, 84, 12] from Operation: 19-7=12
Current State: 77:[70, 84, 12], Operations: ['19-7=12']
Exploring Operation: 84/12=7, Resulting Numbers: [70, 7]
Generated Node #3: [70, 7] from Operation: 84/12=7
Current State: 77:[70, 7], Operations: ['19-7=12', '84/12=7']
Exploring Operation: 70+7=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[7, 70, 19, 84], Operations: []
Exploring Operation: 84-70=14, Resulting Numbers: [7, 19, 14]
Generated Node #0,0: 77:[7, 19, 14] Operation: 84-70=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[7, 19, 14], Operations: ['84-70=14']
Exploring Operation: 19-14=5, Resulting Numbers: [7, 5]
Generated Node #0,0,0: 77:[7, 5] Operation: 19-14=5
Moving to Node #0,0,0
Current State: 77:[7, 5], Operations: ['84-70=14', '19-14=5']
Exploring Operation: 7+5=12, Resulting Numbers: [12]
12,77 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 |
[
3,
10,
24,
80
] | 62 | [
"24/3=8",
"80-10=70",
"70-8=62"
] | Current State: 62:[3, 10, 24, 80], Operations: []
Exploring Operation: 24/3=8, Resulting Numbers: [10, 80, 8]
Generated Node #2: [10, 80, 8] from Operation: 24/3=8
Current State: 62:[10, 80, 8], Operations: ['24/3=8']
Exploring Operation: 80-10=70, Resulting Numbers: [8, 70]
Generated Node #3: [8, 70] from Operation: 80-10=70
Current State: 62:[8, 70], Operations: ['24/3=8', '80-10=70']
Exploring Operation: 70-8=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[3, 10, 24, 80], Operations: []
Exploring Operation: 80/10=8, Resulting Numbers: [3, 24, 8]
Generated Node #0,0: 62:[3, 24, 8] Operation: 80/10=8
Exploring Operation: 80-10=70, Resulting Numbers: [3, 24, 70]
Generated Node #0,1: 62:[3, 24, 70] Operation: 80-10=70
Exploring Operation: 10+24=34, Resulting Numbers: [3, 80, 34]
Generated Node #0,2: 62:[3, 80, 34] Operation: 10+24=34
Exploring Operation: 80-24=56, Resulting Numbers: [3, 10, 56]
Generated Node #0,3: 62:[3, 10, 56] Operation: 80-24=56
Moving to Node #0,0
Current State: 62:[3, 24, 8], Operations: ['80/10=8']
Exploring Operation: 8-3=5, Resulting Numbers: [24, 5]
Generated Node #0,0,0: 62:[24, 5] Operation: 8-3=5
Exploring Operation: 24/8=3, Resulting Numbers: [3, 3]
Generated Node #0,0,1: 62:[3, 3] Operation: 24/8=3
Exploring Operation: 24+8=32, Resulting Numbers: [3, 32]
Generated Node #0,0,2: 62:[3, 32] Operation: 24+8=32
Exploring Operation: 3+24=27, Resulting Numbers: [8, 27]
Generated Node #0,0,3: 62:[8, 27] Operation: 3+24=27
Moving to Node #0,3
Current State: 62:[3, 10, 56], Operations: ['80-24=56']
Exploring Operation: 3+56=59, Resulting Numbers: [10, 59]
Generated Node #0,3,0: 62:[10, 59] Operation: 3+56=59
Exploring Operation: 10-3=7, Resulting Numbers: [56, 7]
Generated Node #0,3,1: 62:[56, 7] Operation: 10-3=7
Exploring Operation: 3*10=30, Resulting Numbers: [56, 30]
Generated Node #0,3,2: 62:[56, 30] Operation: 3*10=30
Exploring Operation: 10+56=66, Resulting Numbers: [3, 66]
Generated Node #0,3,3: 62:[3, 66] Operation: 10+56=66
Moving to Node #0,1
Current State: 62:[3, 24, 70], Operations: ['80-10=70']
Exploring Operation: 24/3=8, Resulting Numbers: [70, 8]
Generated Node #0,1,0: 62:[70, 8] Operation: 24/3=8
Exploring Operation: 70-24=46, Resulting Numbers: [3, 46]
Generated Node #0,1,1: 62:[3, 46] Operation: 70-24=46
Exploring Operation: 70-3=67, Resulting Numbers: [24, 67]
Generated Node #0,1,2: 62:[24, 67] Operation: 70-3=67
Exploring Operation: 3+24=27, Resulting Numbers: [70, 27]
Generated Node #0,1,3: 62:[70, 27] Operation: 3+24=27
Moving to Node #0,2
Current State: 62:[3, 80, 34], Operations: ['10+24=34']
Exploring Operation: 80-34=46, Resulting Numbers: [3, 46]
Generated Node #0,2,0: 62:[3, 46] Operation: 80-34=46
Exploring Operation: 80-3=77, Resulting Numbers: [34, 77]
Generated Node #0,2,1: 62:[34, 77] Operation: 80-3=77
Exploring Operation: 3+80=83, Resulting Numbers: [34, 83]
Generated Node #0,2,2: 62:[34, 83] Operation: 3+80=83
Exploring Operation: 34-3=31, Resulting Numbers: [80, 31]
Generated Node #0,2,3: 62:[80, 31] Operation: 34-3=31
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 62:[3, 46], Operations: ['10+24=34', '80-34=46']
Exploring Operation: 3*46=138, Resulting Numbers: [138]
138,62 unequal: No Solution
Exploring Operation: 3+46=49, Resulting Numbers: [49]
49,62 unequal: No Solution
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,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,2,1
Current State: 62:[34, 77], Operations: ['10+24=34', '80-3=77']
Exploring Operation: 77-34=43, Resulting Numbers: [43]
43,62 unequal: No Solution
Exploring Operation: 34+77=111, Resulting Numbers: [111]
111,62 unequal: No Solution
Exploring Operation: 34*77=2618, Resulting Numbers: [2618]
2618,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,2,3
Current State: 62:[80, 31], Operations: ['10+24=34', '34-3=31']
Exploring Operation: 80*31=2480, Resulting Numbers: [2480]
2480,62 unequal: No Solution
Exploring Operation: 80-31=49, Resulting Numbers: [49]
49,62 unequal: No Solution
Exploring Operation: 80+31=111, Resulting Numbers: [111]
111,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,2,2
Current State: 62:[34, 83], Operations: ['10+24=34', '3+80=83']
Exploring Operation: 34*83=2822, Resulting Numbers: [2822]
2822,62 unequal: No Solution
Exploring Operation: 34+83=117, Resulting Numbers: [117]
117,62 unequal: No Solution
Exploring Operation: 83-34=49, Resulting Numbers: [49]
49,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 62:[3, 3], Operations: ['80/10=8', '24/8=3']
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,62 unequal: No Solution
Exploring Operation: 3-3=0, Resulting Numbers: [0]
0,62 unequal: No Solution
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,62 unequal: No Solution
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,62 unequal: No Solution
Moving to Node #0,0,2
Current State: 62:[3, 32], Operations: ['80/10=8', '24+8=32']
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,62 unequal: No Solution
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,62 unequal: No Solution
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,62 unequal: No Solution
Moving to Node #0,3,3
Current State: 62:[3, 66], Operations: ['80-24=56', '10+56=66']
Exploring Operation: 3*66=198, Resulting Numbers: [198]
198,62 unequal: No Solution
Exploring Operation: 66-3=63, Resulting Numbers: [63]
63,62 unequal: No Solution
Exploring Operation: 3+66=69, Resulting Numbers: [69]
69,62 unequal: No Solution
Exploring Operation: 66/3=22, Resulting Numbers: [22]
22,62 unequal: No Solution
Moving to Node #0,3,2
Current State: 62:[56, 30], Operations: ['80-24=56', '3*10=30']
Exploring Operation: 56*30=1680, Resulting Numbers: [1680]
1680,62 unequal: No Solution
Exploring Operation: 56+30=86, Resulting Numbers: [86]
86,62 unequal: No Solution
Exploring Operation: 56-30=26, Resulting Numbers: [26]
26,62 unequal: No Solution
Moving to Node #0,0,0
Current State: 62:[24, 5], Operations: ['80/10=8', '8-3=5']
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Exploring Operation: 24+5=29, Resulting Numbers: [29]
29,62 unequal: No Solution
Exploring Operation: 24*5=120, Resulting Numbers: [120]
120,62 unequal: No Solution
Moving to Node #0,0,3
Current State: 62:[8, 27], Operations: ['80/10=8', '3+24=27']
Exploring Operation: 8*27=216, Resulting Numbers: [216]
216,62 unequal: No Solution
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Exploring Operation: 8+27=35, Resulting Numbers: [35]
35,62 unequal: No Solution
Moving to Node #0,3,0
Current State: 62:[10, 59], Operations: ['80-24=56', '3+56=59']
Exploring Operation: 59-10=49, Resulting Numbers: [49]
49,62 unequal: No Solution
Exploring Operation: 10*59=590, Resulting Numbers: [590]
590,62 unequal: No Solution
Exploring Operation: 10+59=69, Resulting Numbers: [69]
69,62 unequal: No Solution
Moving to Node #0,3,1
Current State: 62:[56, 7], Operations: ['80-24=56', '10-3=7']
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,62 unequal: No Solution
Exploring Operation: 56+7=63, Resulting Numbers: [63]
63,62 unequal: No Solution
Exploring Operation: 56*7=392, Resulting Numbers: [392]
392,62 unequal: No Solution
Exploring Operation: 56/7=8, Resulting Numbers: [8]
8,62 unequal: No Solution
Moving to Node #0,1,2
Current State: 62:[24, 67], Operations: ['80-10=70', '70-3=67']
Exploring Operation: 67-24=43, Resulting Numbers: [43]
43,62 unequal: No Solution
Exploring Operation: 24*67=1608, Resulting Numbers: [1608]
1608,62 unequal: No Solution
Exploring Operation: 24+67=91, Resulting Numbers: [91]
91,62 unequal: No Solution
Moving to Node #0,1,3
Current State: 62:[70, 27], Operations: ['80-10=70', '3+24=27']
Exploring Operation: 70*27=1890, Resulting Numbers: [1890]
1890,62 unequal: No Solution
Exploring Operation: 70+27=97, Resulting Numbers: [97]
97,62 unequal: No Solution
Exploring Operation: 70-27=43, Resulting Numbers: [43]
43,62 unequal: No Solution
Moving to Node #0,1,0
Current State: 62:[70, 8], Operations: ['80-10=70', '24/3=8']
Exploring Operation: 70*8=560, Resulting Numbers: [560]
560,62 unequal: No Solution
Exploring Operation: 70+8=78, Resulting Numbers: [78]
78,62 unequal: No Solution
Exploring Operation: 70-8=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[3, 10, 24, 80], Operations: []
Exploring Operation: 80-10=70, Resulting Numbers: [3, 24, 70]
Generated Node #0,1: 62:[3, 24, 70] Operation: 80-10=70
Moving to Node #0,1
Current State: 62:[3, 24, 70], Operations: ['80-10=70']
Exploring Operation: 24/3=8, Resulting Numbers: [70, 8]
Generated Node #0,1,0: 62:[70, 8] Operation: 24/3=8
Moving to Node #0,1,0
Current State: 62:[70, 8], Operations: ['80-10=70', '24/3=8']
Exploring Operation: 70-8=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 0.9375 | hs_4 | sum_heuristic |
[
72,
12,
44,
58
] | 17 | [
"72/12=6",
"44+58=102",
"102/6=17"
] | Current State: 17:[72, 12, 44, 58], Operations: []
Exploring Operation: 72/12=6, Resulting Numbers: [44, 58, 6]
Generated Node #2: [44, 58, 6] from Operation: 72/12=6
Current State: 17:[44, 58, 6], Operations: ['72/12=6']
Exploring Operation: 44+58=102, Resulting Numbers: [6, 102]
Generated Node #3: [6, 102] from Operation: 44+58=102
Current State: 17:[6, 102], Operations: ['72/12=6', '44+58=102']
Exploring Operation: 102/6=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[72, 12, 44, 58], Operations: []
Exploring Operation: 72-58=14, Resulting Numbers: [12, 44, 14]
Generated Node #0,0: 17:[12, 44, 14] Operation: 72-58=14
Exploring Operation: 72-44=28, Resulting Numbers: [12, 58, 28]
Generated Node #0,1: 17:[12, 58, 28] Operation: 72-44=28
Moving to Node #0,0
Current State: 17:[12, 44, 14], Operations: ['72-58=14']
Exploring Operation: 44-14=30, Resulting Numbers: [12, 30]
Generated Node #0,0,0: 17:[12, 30] Operation: 44-14=30
Exploring Operation: 44-12=32, Resulting Numbers: [14, 32]
Generated Node #0,0,1: 17:[14, 32] Operation: 44-12=32
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 17:[12, 30], Operations: ['72-58=14', '44-14=30']
Exploring Operation: 30-12=18, Resulting Numbers: [18]
18,17 unequal: No Solution
Exploring Operation: 12+30=42, Resulting Numbers: [42]
42,17 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: 17:[14, 32], Operations: ['72-58=14', '44-12=32']
Exploring Operation: 14+32=46, Resulting Numbers: [46]
46,17 unequal: No Solution
Exploring Operation: 32-14=18, Resulting Numbers: [18]
18,17 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: 17:[12, 58, 28], Operations: ['72-44=28']
Exploring Operation: 58-28=30, Resulting Numbers: [12, 30]
Generated Node #0,1,0: 17:[12, 30] Operation: 58-28=30
Exploring Operation: 58-12=46, Resulting Numbers: [28, 46]
Generated Node #0,1,1: 17:[28, 46] Operation: 58-12=46
Moving to Node #0,1,0
Current State: 17:[12, 30], Operations: ['72-44=28', '58-28=30']
Exploring Operation: 12+30=42, Resulting Numbers: [42]
42,17 unequal: No Solution
Exploring Operation: 30-12=18, Resulting Numbers: [18]
18,17 unequal: No Solution
Moving to Node #0,1,1
Current State: 17:[28, 46], Operations: ['72-44=28', '58-12=46']
Exploring Operation: 46-28=18, Resulting Numbers: [18]
18,17 unequal: No Solution
Exploring Operation: 28+46=74, Resulting Numbers: [74]
74,17 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
25,
16,
49,
50
] | 35 | [
"50/25=2",
"49-16=33",
"2+33=35"
] | Current State: 35:[25, 16, 49, 50], Operations: []
Exploring Operation: 50/25=2, Resulting Numbers: [16, 49, 2]
Generated Node #2: [16, 49, 2] from Operation: 50/25=2
Current State: 35:[16, 49, 2], Operations: ['50/25=2']
Exploring Operation: 49-16=33, Resulting Numbers: [2, 33]
Generated Node #3: [2, 33] from Operation: 49-16=33
Current State: 35:[2, 33], Operations: ['50/25=2', '49-16=33']
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[25, 16, 49, 50], Operations: []
Exploring Operation: 50/25=2, Resulting Numbers: [16, 49, 2]
Generated Node #0,0: 35:[16, 49, 2] Operation: 50/25=2
Exploring Operation: 50-49=1, Resulting Numbers: [25, 16, 1]
Generated Node #0,1: 35:[25, 16, 1] Operation: 50-49=1
Exploring Operation: 50-16=34, Resulting Numbers: [25, 49, 34]
Generated Node #0,2: 35:[25, 49, 34] Operation: 50-16=34
Moving to Node #0,1
Current State: 35:[25, 16, 1], Operations: ['50-49=1']
Exploring Operation: 25+1=26, Resulting Numbers: [16, 26]
Generated Node #0,1,0: 35:[16, 26] Operation: 25+1=26
Exploring Operation: 25-16=9, Resulting Numbers: [1, 9]
Generated Node #0,1,1: 35:[1, 9] Operation: 25-16=9
Exploring Operation: 25+16=41, Resulting Numbers: [1, 41]
Generated Node #0,1,2: 35:[1, 41] Operation: 25+16=41
Moving to Node #0,2
Current State: 35:[25, 49, 34], Operations: ['50-16=34']
Exploring Operation: 49-25=24, Resulting Numbers: [34, 24]
Generated Node #0,2,0: 35:[34, 24] Operation: 49-25=24
Exploring Operation: 49-34=15, Resulting Numbers: [25, 15]
Generated Node #0,2,1: 35:[25, 15] Operation: 49-34=15
Exploring Operation: 34-25=9, Resulting Numbers: [49, 9]
Generated Node #0,2,2: 35:[49, 9] Operation: 34-25=9
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 35:[34, 24], Operations: ['50-16=34', '49-25=24']
Exploring Operation: 34*24=816, Resulting Numbers: [816]
816,35 unequal: No Solution
Exploring Operation: 34-24=10, Resulting Numbers: [10]
10,35 unequal: No Solution
Exploring Operation: 34+24=58, Resulting Numbers: [58]
58,35 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: 35:[49, 9], Operations: ['50-16=34', '34-25=9']
Exploring Operation: 49*9=441, Resulting Numbers: [441]
441,35 unequal: No Solution
Exploring Operation: 49-9=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Exploring Operation: 49+9=58, Resulting Numbers: [58]
58,35 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: 35:[25, 15], Operations: ['50-16=34', '49-34=15']
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,35 unequal: No Solution
Exploring Operation: 25*15=375, Resulting Numbers: [375]
375,35 unequal: No Solution
Exploring Operation: 25+15=40, Resulting Numbers: [40]
40,35 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: 35:[16, 49, 2], Operations: ['50/25=2']
Exploring Operation: 16*2=32, Resulting Numbers: [49, 32]
Generated Node #0,0,0: 35:[49, 32] Operation: 16*2=32
Exploring Operation: 16/2=8, Resulting Numbers: [49, 8]
Generated Node #0,0,1: 35:[49, 8] Operation: 16/2=8
Exploring Operation: 49-16=33, Resulting Numbers: [2, 33]
Generated Node #0,0,2: 35:[2, 33] Operation: 49-16=33
Moving to Node #0,0,2
Current State: 35:[2, 33], Operations: ['50/25=2', '49-16=33']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,35 unequal: No Solution
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,35 unequal: No Solution
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[25, 16, 49, 50], Operations: []
Exploring Operation: 50/25=2, Resulting Numbers: [16, 49, 2]
Generated Node #0,0: 35:[16, 49, 2] Operation: 50/25=2
Moving to Node #0,0
Current State: 35:[16, 49, 2], Operations: ['50/25=2']
Exploring Operation: 49-16=33, Resulting Numbers: [2, 33]
Generated Node #0,0,2: 35:[2, 33] Operation: 49-16=33
Moving to Node #0,0,2
Current State: 35:[2, 33], Operations: ['50/25=2', '49-16=33']
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 0.975694 | hs_3 | sum_heuristic |
[
76,
84,
45,
41
] | 94 | [
"84-76=8",
"45+41=86",
"8+86=94"
] | Current State: 94:[76, 84, 45, 41], Operations: []
Exploring Operation: 84-76=8, Resulting Numbers: [45, 41, 8]
Generated Node #2: [45, 41, 8] from Operation: 84-76=8
Current State: 94:[45, 41, 8], Operations: ['84-76=8']
Exploring Operation: 45+41=86, Resulting Numbers: [8, 86]
Generated Node #3: [8, 86] from Operation: 45+41=86
Current State: 94:[8, 86], Operations: ['84-76=8', '45+41=86']
Exploring Operation: 8+86=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[76, 84, 45, 41], Operations: []
Exploring Operation: 84-76=8, Resulting Numbers: [45, 41, 8]
Generated Node #0,0: 94:[45, 41, 8] Operation: 84-76=8
Exploring Operation: 45-41=4, Resulting Numbers: [76, 84, 4]
Generated Node #0,1: 94:[76, 84, 4] Operation: 45-41=4
Exploring Operation: 76-41=35, Resulting Numbers: [84, 45, 35]
Generated Node #0,2: 94:[84, 45, 35] Operation: 76-41=35
Exploring Operation: 84-41=43, Resulting Numbers: [76, 45, 43]
Generated Node #0,3: 94:[76, 45, 43] Operation: 84-41=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[45, 41, 8], Operations: ['84-76=8']
Exploring Operation: 45+8=53, Resulting Numbers: [41, 53]
Generated Node #0,0,0: 94:[41, 53] Operation: 45+8=53
Exploring Operation: 45-41=4, Resulting Numbers: [8, 4]
Generated Node #0,0,1: 94:[8, 4] Operation: 45-41=4
Exploring Operation: 41+8=49, Resulting Numbers: [45, 49]
Generated Node #0,0,2: 94:[45, 49] Operation: 41+8=49
Exploring Operation: 45+41=86, Resulting Numbers: [8, 86]
Generated Node #0,0,3: 94:[8, 86] Operation: 45+41=86
Moving to Node #0,0,2
Current State: 94:[45, 49], Operations: ['84-76=8', '41+8=49']
Exploring Operation: 45+49=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[76, 84, 45, 41], Operations: []
Exploring Operation: 84-76=8, Resulting Numbers: [45, 41, 8]
Generated Node #0,0: 94:[45, 41, 8] Operation: 84-76=8
Moving to Node #0,0
Current State: 94:[45, 41, 8], Operations: ['84-76=8']
Exploring Operation: 41+8=49, Resulting Numbers: [45, 49]
Generated Node #0,0,2: 94:[45, 49] Operation: 41+8=49
Moving to Node #0,0,2
Current State: 94:[45, 49], Operations: ['84-76=8', '41+8=49']
Exploring Operation: 45+49=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
45,
23,
35,
40
] | 60 | [
"45-40=5",
"35-23=12",
"5*12=60"
] | Current State: 60:[45, 23, 35, 40], Operations: []
Exploring Operation: 45-40=5, Resulting Numbers: [23, 35, 5]
Generated Node #2: [23, 35, 5] from Operation: 45-40=5
Current State: 60:[23, 35, 5], Operations: ['45-40=5']
Exploring Operation: 35-23=12, Resulting Numbers: [5, 12]
Generated Node #3: [5, 12] from Operation: 35-23=12
Current State: 60:[5, 12], Operations: ['45-40=5', '35-23=12']
Exploring Operation: 5*12=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[45, 23, 35, 40], Operations: []
Exploring Operation: 40-35=5, Resulting Numbers: [45, 23, 5]
Generated Node #0,0: 60:[45, 23, 5] Operation: 40-35=5
Exploring Operation: 45-23=22, Resulting Numbers: [35, 40, 22]
Generated Node #0,1: 60:[35, 40, 22] Operation: 45-23=22
Exploring Operation: 45-40=5, Resulting Numbers: [23, 35, 5]
Generated Node #0,2: 60:[23, 35, 5] Operation: 45-40=5
Exploring Operation: 45-35=10, Resulting Numbers: [23, 40, 10]
Generated Node #0,3: 60:[23, 40, 10] Operation: 45-35=10
Moving to Node #0,2
Current State: 60:[23, 35, 5], Operations: ['45-40=5']
Exploring Operation: 35-5=30, Resulting Numbers: [23, 30]
Generated Node #0,2,0: 60:[23, 30] Operation: 35-5=30
Exploring Operation: 23+35=58, Resulting Numbers: [5, 58]
Generated Node #0,2,1: 60:[5, 58] Operation: 23+35=58
Exploring Operation: 35/5=7, Resulting Numbers: [23, 7]
Generated Node #0,2,2: 60:[23, 7] Operation: 35/5=7
Exploring Operation: 35-23=12, Resulting Numbers: [5, 12]
Generated Node #0,2,3: 60:[5, 12] Operation: 35-23=12
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 60:[5, 12], Operations: ['45-40=5', '35-23=12']
Exploring Operation: 5*12=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[45, 23, 35, 40], Operations: []
Exploring Operation: 45-40=5, Resulting Numbers: [23, 35, 5]
Generated Node #0,2: 60:[23, 35, 5] Operation: 45-40=5
Moving to Node #0,2
Current State: 60:[23, 35, 5], Operations: ['45-40=5']
Exploring Operation: 35-23=12, Resulting Numbers: [5, 12]
Generated Node #0,2,3: 60:[5, 12] Operation: 35-23=12
Moving to Node #0,2,3
Current State: 60:[5, 12], Operations: ['45-40=5', '35-23=12']
Exploring Operation: 5*12=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
56,
40,
34,
36
] | 88 | [
"56-34=22",
"40-36=4",
"22*4=88"
] | Current State: 88:[56, 40, 34, 36], Operations: []
Exploring Operation: 56-34=22, Resulting Numbers: [40, 36, 22]
Generated Node #2: [40, 36, 22] from Operation: 56-34=22
Current State: 88:[40, 36, 22], Operations: ['56-34=22']
Exploring Operation: 40-36=4, Resulting Numbers: [22, 4]
Generated Node #3: [22, 4] from Operation: 40-36=4
Current State: 88:[22, 4], Operations: ['56-34=22', '40-36=4']
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[56, 40, 34, 36], Operations: []
Exploring Operation: 56-34=22, Resulting Numbers: [40, 36, 22]
Generated Node #0,0: 88:[40, 36, 22] Operation: 56-34=22
Moving to Node #0,0
Current State: 88:[40, 36, 22], Operations: ['56-34=22']
Exploring Operation: 40-36=4, Resulting Numbers: [22, 4]
Generated Node #0,0,0: 88:[22, 4] Operation: 40-36=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 88:[22, 4], Operations: ['56-34=22', '40-36=4']
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[56, 40, 34, 36], Operations: []
Exploring Operation: 56-34=22, Resulting Numbers: [40, 36, 22]
Generated Node #0,0: 88:[40, 36, 22] Operation: 56-34=22
Moving to Node #0,0
Current State: 88:[40, 36, 22], Operations: ['56-34=22']
Exploring Operation: 40-36=4, Resulting Numbers: [22, 4]
Generated Node #0,0,0: 88:[22, 4] Operation: 40-36=4
Moving to Node #0,0,0
Current State: 88:[22, 4], Operations: ['56-34=22', '40-36=4']
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
3,
33,
26,
78
] | 90 | [
"33-3=30",
"78/26=3",
"30*3=90"
] | Current State: 90:[3, 33, 26, 78], Operations: []
Exploring Operation: 33-3=30, Resulting Numbers: [26, 78, 30]
Generated Node #2: [26, 78, 30] from Operation: 33-3=30
Current State: 90:[26, 78, 30], Operations: ['33-3=30']
Exploring Operation: 78/26=3, Resulting Numbers: [30, 3]
Generated Node #3: [30, 3] from Operation: 78/26=3
Current State: 90:[30, 3], Operations: ['33-3=30', '78/26=3']
Exploring Operation: 30*3=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[3, 33, 26, 78], Operations: []
Exploring Operation: 78/26=3, Resulting Numbers: [3, 33, 3]
Generated Node #0,0: 90:[3, 33, 3] Operation: 78/26=3
Exploring Operation: 78-33=45, Resulting Numbers: [3, 26, 45]
Generated Node #0,1: 90:[3, 26, 45] Operation: 78-33=45
Exploring Operation: 78-26=52, Resulting Numbers: [3, 33, 52]
Generated Node #0,2: 90:[3, 33, 52] Operation: 78-26=52
Moving to Node #0,0
Current State: 90:[3, 33, 3], Operations: ['78/26=3']
Exploring Operation: 33-3=30, Resulting Numbers: [3, 30]
Generated Node #0,0,0: 90:[3, 30] Operation: 33-3=30
Exploring Operation: 33-3=30, Resulting Numbers: [3, 30]
Generated Node #0,0,1: 90:[3, 30] Operation: 33-3=30
Exploring Operation: 33/3=11, Resulting Numbers: [3, 11]
Generated Node #0,0,2: 90:[3, 11] Operation: 33/3=11
Moving to Node #0,1
Current State: 90:[3, 26, 45], Operations: ['78-33=45']
Exploring Operation: 45-26=19, Resulting Numbers: [3, 19]
Generated Node #0,1,0: 90:[3, 19] Operation: 45-26=19
Exploring Operation: 3+26=29, Resulting Numbers: [45, 29]
Generated Node #0,1,1: 90:[45, 29] Operation: 3+26=29
Exploring Operation: 45/3=15, Resulting Numbers: [26, 15]
Generated Node #0,1,2: 90:[26, 15] Operation: 45/3=15
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 90:[3, 19], Operations: ['78-33=45', '45-26=19']
Exploring Operation: 3*19=57, Resulting Numbers: [57]
57,90 unequal: No Solution
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,90 unequal: No Solution
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,90 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: 90:[45, 29], Operations: ['78-33=45', '3+26=29']
Exploring Operation: 45-29=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Exploring Operation: 45*29=1305, Resulting Numbers: [1305]
1305,90 unequal: No Solution
Exploring Operation: 45+29=74, Resulting Numbers: [74]
74,90 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: 90:[26, 15], Operations: ['78-33=45', '45/3=15']
Exploring Operation: 26+15=41, Resulting Numbers: [41]
41,90 unequal: No Solution
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,90 unequal: No Solution
Exploring Operation: 26*15=390, Resulting Numbers: [390]
390,90 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: 90:[3, 33, 52], Operations: ['78-26=52']
Exploring Operation: 33+52=85, Resulting Numbers: [3, 85]
Generated Node #0,2,0: 90:[3, 85] Operation: 33+52=85
Exploring Operation: 33-3=30, Resulting Numbers: [52, 30]
Generated Node #0,2,1: 90:[52, 30] Operation: 33-3=30
Exploring Operation: 52-33=19, Resulting Numbers: [3, 19]
Generated Node #0,2,2: 90:[3, 19] Operation: 52-33=19
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 90:[3, 19], Operations: ['78-26=52', '52-33=19']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,90 unequal: No Solution
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,90 unequal: No Solution
Exploring Operation: 3*19=57, Resulting Numbers: [57]
57,90 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: 90:[3, 85], Operations: ['78-26=52', '33+52=85']
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,90 unequal: No Solution
Exploring Operation: 3+85=88, Resulting Numbers: [88]
88,90 unequal: No Solution
Exploring Operation: 3*85=255, Resulting Numbers: [255]
255,90 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: 90:[52, 30], Operations: ['78-26=52', '33-3=30']
Exploring Operation: 52-30=22, Resulting Numbers: [22]
22,90 unequal: No Solution
Exploring Operation: 52+30=82, Resulting Numbers: [82]
82,90 unequal: No Solution
Exploring Operation: 52*30=1560, Resulting Numbers: [1560]
1560,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 90:[3, 30], Operations: ['78/26=3', '33-3=30']
Exploring Operation: 3+30=33, Resulting Numbers: [33]
33,90 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,90 unequal: No Solution
Exploring Operation: 3*30=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[3, 33, 26, 78], Operations: []
Exploring Operation: 78/26=3, Resulting Numbers: [3, 33, 3]
Generated Node #0,0: 90:[3, 33, 3] Operation: 78/26=3
Moving to Node #0,0
Current State: 90:[3, 33, 3], Operations: ['78/26=3']
Exploring Operation: 33-3=30, Resulting Numbers: [3, 30]
Generated Node #0,0,0: 90:[3, 30] Operation: 33-3=30
Moving to Node #0,0,0
Current State: 90:[3, 30], Operations: ['78/26=3', '33-3=30']
Exploring Operation: 3*30=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 0.967882 | hs_3 | sum_heuristic |
[
49,
33,
48,
15
] | 50 | [
"48-33=15",
"15/15=1",
"49+1=50"
] | Current State: 50:[49, 33, 48, 15], Operations: []
Exploring Operation: 48-33=15, Resulting Numbers: [49, 15, 15]
Generated Node #2: [49, 15, 15] from Operation: 48-33=15
Current State: 50:[49, 15, 15], Operations: ['48-33=15']
Exploring Operation: 15/15=1, Resulting Numbers: [49, 1]
Generated Node #3: [49, 1] from Operation: 15/15=1
Current State: 50:[49, 1], Operations: ['48-33=15', '15/15=1']
Exploring Operation: 49+1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[49, 33, 48, 15], Operations: []
Exploring Operation: 33-15=18, Resulting Numbers: [49, 48, 18]
Generated Node #0,0: 50:[49, 48, 18] Operation: 33-15=18
Exploring Operation: 48-33=15, Resulting Numbers: [49, 15, 15]
Generated Node #0,1: 50:[49, 15, 15] Operation: 48-33=15
Exploring Operation: 33+15=48, Resulting Numbers: [49, 48, 48]
Generated Node #0,2: 50:[49, 48, 48] Operation: 33+15=48
Start Sub Search at level 1: Moving to Node #0,2
Current State: 50:[49, 48, 48], Operations: ['33+15=48']
Exploring Operation: 48/48=1, Resulting Numbers: [49, 1]
Generated Node #0,2,0: 50:[49, 1] Operation: 48/48=1
Exploring Operation: 49-48=1, Resulting Numbers: [48, 1]
Generated Node #0,2,1: 50:[48, 1] Operation: 49-48=1
Exploring Operation: 49-48=1, Resulting Numbers: [48, 1]
Generated Node #0,2,2: 50:[48, 1] Operation: 49-48=1
Moving to Node #0,2,0
Current State: 50:[49, 1], Operations: ['33+15=48', '48/48=1']
Exploring Operation: 49/1=49, Resulting Numbers: [49]
49,50 unequal: No Solution
Exploring Operation: 49*1=49, Resulting Numbers: [49]
49,50 unequal: No Solution
Exploring Operation: 49+1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[49, 33, 48, 15], Operations: []
Exploring Operation: 33+15=48, Resulting Numbers: [49, 48, 48]
Generated Node #0,2: 50:[49, 48, 48] Operation: 33+15=48
Moving to Node #0,2
Current State: 50:[49, 48, 48], Operations: ['33+15=48']
Exploring Operation: 48/48=1, Resulting Numbers: [49, 1]
Generated Node #0,2,0: 50:[49, 1] Operation: 48/48=1
Moving to Node #0,2,0
Current State: 50:[49, 1], Operations: ['33+15=48', '48/48=1']
Exploring Operation: 49+1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
82,
8,
8,
64
] | 78 | [
"8+8=16",
"64/16=4",
"82-4=78"
] | Current State: 78:[82, 8, 8, 64], Operations: []
Exploring Operation: 8+8=16, Resulting Numbers: [82, 64, 16]
Generated Node #2: [82, 64, 16] from Operation: 8+8=16
Current State: 78:[82, 64, 16], Operations: ['8+8=16']
Exploring Operation: 64/16=4, Resulting Numbers: [82, 4]
Generated Node #3: [82, 4] from Operation: 64/16=4
Current State: 78:[82, 4], Operations: ['8+8=16', '64/16=4']
Exploring Operation: 82-4=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[82, 8, 8, 64], Operations: []
Exploring Operation: 64/8=8, Resulting Numbers: [82, 8, 8]
Generated Node #0,0: 78:[82, 8, 8] Operation: 64/8=8
Moving to Node #0,0
Current State: 78:[82, 8, 8], Operations: ['64/8=8']
Exploring Operation: 8/8=1, Resulting Numbers: [82, 1]
Generated Node #0,0,0: 78:[82, 1] Operation: 8/8=1
Moving to Node #0,0,0
Current State: 78:[82, 1], Operations: ['64/8=8', '8/8=1']
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,78 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
10,
93,
70,
66
] | 20 | [
"70/10=7",
"93-66=27",
"27-7=20"
] | Current State: 20:[10, 93, 70, 66], Operations: []
Exploring Operation: 70/10=7, Resulting Numbers: [93, 66, 7]
Generated Node #2: [93, 66, 7] from Operation: 70/10=7
Current State: 20:[93, 66, 7], Operations: ['70/10=7']
Exploring Operation: 93-66=27, Resulting Numbers: [7, 27]
Generated Node #3: [7, 27] from Operation: 93-66=27
Current State: 20:[7, 27], Operations: ['70/10=7', '93-66=27']
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[10, 93, 70, 66], Operations: []
Exploring Operation: 93-66=27, Resulting Numbers: [10, 70, 27]
Generated Node #0,0: 20:[10, 70, 27] Operation: 93-66=27
Exploring Operation: 93-70=23, Resulting Numbers: [10, 66, 23]
Generated Node #0,1: 20:[10, 66, 23] Operation: 93-70=23
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[10, 66, 23], Operations: ['93-70=23']
Exploring Operation: 66-10=56, Resulting Numbers: [23, 56]
Generated Node #0,1,0: 20:[23, 56] Operation: 66-10=56
Exploring Operation: 66-23=43, Resulting Numbers: [10, 43]
Generated Node #0,1,1: 20:[10, 43] Operation: 66-23=43
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 20:[10, 43], Operations: ['93-70=23', '66-23=43']
Exploring Operation: 43-10=33, Resulting Numbers: [33]
33,20 unequal: No Solution
Exploring Operation: 10+43=53, Resulting Numbers: [53]
53,20 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: 20:[23, 56], Operations: ['93-70=23', '66-10=56']
Exploring Operation: 56-23=33, Resulting Numbers: [33]
33,20 unequal: No Solution
Exploring Operation: 23+56=79, Resulting Numbers: [79]
79,20 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: 20:[10, 70, 27], Operations: ['93-66=27']
Exploring Operation: 70-27=43, Resulting Numbers: [10, 43]
Generated Node #0,0,0: 20:[10, 43] Operation: 70-27=43
Exploring Operation: 70/10=7, Resulting Numbers: [27, 7]
Generated Node #0,0,1: 20:[27, 7] Operation: 70/10=7
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 20:[27, 7], Operations: ['93-66=27', '70/10=7']
Exploring Operation: 27+7=34, Resulting Numbers: [34]
34,20 unequal: No Solution
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[10, 93, 70, 66], Operations: []
Exploring Operation: 93-66=27, Resulting Numbers: [10, 70, 27]
Generated Node #0,0: 20:[10, 70, 27] Operation: 93-66=27
Moving to Node #0,0
Current State: 20:[10, 70, 27], Operations: ['93-66=27']
Exploring Operation: 70/10=7, Resulting Numbers: [27, 7]
Generated Node #0,0,1: 20:[27, 7] Operation: 70/10=7
Moving to Node #0,0,1
Current State: 20:[27, 7], Operations: ['93-66=27', '70/10=7']
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
[
12,
34,
67,
38
] | 61 | [
"34+38=72",
"72/12=6",
"67-6=61"
] | Current State: 61:[12, 34, 67, 38], Operations: []
Exploring Operation: 34+38=72, Resulting Numbers: [12, 67, 72]
Generated Node #2: [12, 67, 72] from Operation: 34+38=72
Current State: 61:[12, 67, 72], Operations: ['34+38=72']
Exploring Operation: 72/12=6, Resulting Numbers: [67, 6]
Generated Node #3: [67, 6] from Operation: 72/12=6
Current State: 61:[67, 6], Operations: ['34+38=72', '72/12=6']
Exploring Operation: 67-6=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[12, 34, 67, 38], Operations: []
Exploring Operation: 67-12=55, Resulting Numbers: [34, 38, 55]
Generated Node #0,0: 61:[34, 38, 55] Operation: 67-12=55
Exploring Operation: 12+34=46, Resulting Numbers: [67, 38, 46]
Generated Node #0,1: 61:[67, 38, 46] Operation: 12+34=46
Exploring Operation: 12+38=50, Resulting Numbers: [34, 67, 50]
Generated Node #0,2: 61:[34, 67, 50] Operation: 12+38=50
Moving to Node #0,1
Current State: 61:[67, 38, 46], Operations: ['12+34=46']
Exploring Operation: 38+46=84, Resulting Numbers: [67, 84]
Generated Node #0,1,0: 61:[67, 84] Operation: 38+46=84
Exploring Operation: 67-38=29, Resulting Numbers: [46, 29]
Generated Node #0,1,1: 61:[46, 29] Operation: 67-38=29
Exploring Operation: 67+38=105, Resulting Numbers: [46, 105]
Generated Node #0,1,2: 61:[46, 105] Operation: 67+38=105
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 61:[67, 84], Operations: ['12+34=46', '38+46=84']
Exploring Operation: 67+84=151, Resulting Numbers: [151]
151,61 unequal: No Solution
Exploring Operation: 67*84=5628, Resulting Numbers: [5628]
5628,61 unequal: No Solution
Exploring Operation: 84-67=17, Resulting Numbers: [17]
17,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,1,1
Current State: 61:[46, 29], Operations: ['12+34=46', '67-38=29']
Exploring Operation: 46+29=75, Resulting Numbers: [75]
75,61 unequal: No Solution
Exploring Operation: 46-29=17, Resulting Numbers: [17]
17,61 unequal: No Solution
Exploring Operation: 46*29=1334, Resulting Numbers: [1334]
1334,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,1,2
Current State: 61:[46, 105], Operations: ['12+34=46', '67+38=105']
Exploring Operation: 105-46=59, Resulting Numbers: [59]
59,61 unequal: No Solution
Exploring Operation: 46+105=151, Resulting Numbers: [151]
151,61 unequal: No Solution
Exploring Operation: 46*105=4830, Resulting Numbers: [4830]
4830,61 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: 61:[34, 67, 50], Operations: ['12+38=50']
Exploring Operation: 34+50=84, Resulting Numbers: [67, 84]
Generated Node #0,2,0: 61:[67, 84] Operation: 34+50=84
Exploring Operation: 34+67=101, Resulting Numbers: [50, 101]
Generated Node #0,2,1: 61:[50, 101] Operation: 34+67=101
Exploring Operation: 67-34=33, Resulting Numbers: [50, 33]
Generated Node #0,2,2: 61:[50, 33] Operation: 67-34=33
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 61:[67, 84], Operations: ['12+38=50', '34+50=84']
Exploring Operation: 67*84=5628, Resulting Numbers: [5628]
5628,61 unequal: No Solution
Exploring Operation: 67+84=151, Resulting Numbers: [151]
151,61 unequal: No Solution
Exploring Operation: 84-67=17, Resulting Numbers: [17]
17,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,2
Current State: 61:[50, 33], Operations: ['12+38=50', '67-34=33']
Exploring Operation: 50*33=1650, Resulting Numbers: [1650]
1650,61 unequal: No Solution
Exploring Operation: 50-33=17, Resulting Numbers: [17]
17,61 unequal: No Solution
Exploring Operation: 50+33=83, Resulting Numbers: [83]
83,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:[50, 101], Operations: ['12+38=50', '34+67=101']
Exploring Operation: 50+101=151, Resulting Numbers: [151]
151,61 unequal: No Solution
Exploring Operation: 50*101=5050, Resulting Numbers: [5050]
5050,61 unequal: No Solution
Exploring Operation: 101-50=51, Resulting Numbers: [51]
51,61 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: 61:[34, 38, 55], Operations: ['67-12=55']
Exploring Operation: 34+38=72, Resulting Numbers: [55, 72]
Generated Node #0,0,0: 61:[55, 72] Operation: 34+38=72
Exploring Operation: 38+55=93, Resulting Numbers: [34, 93]
Generated Node #0,0,1: 61:[34, 93] Operation: 38+55=93
Exploring Operation: 34+55=89, Resulting Numbers: [38, 89]
Generated Node #0,0,2: 61:[38, 89] Operation: 34+55=89
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[55, 72], Operations: ['67-12=55', '34+38=72']
Exploring Operation: 72-55=17, Resulting Numbers: [17]
17,61 unequal: No Solution
Exploring Operation: 55*72=3960, Resulting Numbers: [3960]
3960,61 unequal: No Solution
Exploring Operation: 55+72=127, Resulting Numbers: [127]
127,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,0,2
Current State: 61:[38, 89], Operations: ['67-12=55', '34+55=89']
Exploring Operation: 38+89=127, Resulting Numbers: [127]
127,61 unequal: No Solution
Exploring Operation: 38*89=3382, Resulting Numbers: [3382]
3382,61 unequal: No Solution
Exploring Operation: 89-38=51, Resulting Numbers: [51]
51,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,0,1
Current State: 61:[34, 93], Operations: ['67-12=55', '38+55=93']
Exploring Operation: 34*93=3162, Resulting Numbers: [3162]
3162,61 unequal: No Solution
Exploring Operation: 34+93=127, Resulting Numbers: [127]
127,61 unequal: No Solution
Exploring Operation: 93-34=59, Resulting Numbers: [59]
59,61 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 |
[
57,
2,
20,
97
] | 67 | [
"57-20=37",
"97+37=134",
"134/2=67"
] | Current State: 67:[57, 2, 20, 97], Operations: []
Exploring Operation: 57-20=37, Resulting Numbers: [2, 97, 37]
Generated Node #2: [2, 97, 37] from Operation: 57-20=37
Current State: 67:[2, 97, 37], Operations: ['57-20=37']
Exploring Operation: 97+37=134, Resulting Numbers: [2, 134]
Generated Node #3: [2, 134] from Operation: 97+37=134
Current State: 67:[2, 134], Operations: ['57-20=37', '97+37=134']
Exploring Operation: 134/2=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[57, 2, 20, 97], Operations: []
Exploring Operation: 2+20=22, Resulting Numbers: [57, 97, 22]
Generated Node #0,0: 67:[57, 97, 22] Operation: 2+20=22
Exploring Operation: 97-2=95, Resulting Numbers: [57, 20, 95]
Generated Node #0,1: 67:[57, 20, 95] Operation: 97-2=95
Exploring Operation: 57+2=59, Resulting Numbers: [20, 97, 59]
Generated Node #0,2: 67:[20, 97, 59] Operation: 57+2=59
Exploring Operation: 97-20=77, Resulting Numbers: [57, 2, 77]
Generated Node #0,3: 67:[57, 2, 77] Operation: 97-20=77
Exploring Operation: 2*20=40, Resulting Numbers: [57, 97, 40]
Generated Node #0,4: 67:[57, 97, 40] Operation: 2*20=40
Moving to Node #0,4
Current State: 67:[57, 97, 40], Operations: ['2*20=40']
Exploring Operation: 97+40=137, Resulting Numbers: [57, 137]
Generated Node #0,4,0: 67:[57, 137] Operation: 97+40=137
Exploring Operation: 97-40=57, Resulting Numbers: [57, 57]
Generated Node #0,4,1: 67:[57, 57] Operation: 97-40=57
Exploring Operation: 57+40=97, Resulting Numbers: [97, 97]
Generated Node #0,4,2: 67:[97, 97] Operation: 57+40=97
Exploring Operation: 97-57=40, Resulting Numbers: [40, 40]
Generated Node #0,4,3: 67:[40, 40] Operation: 97-57=40
Exploring Operation: 57-40=17, Resulting Numbers: [97, 17]
Generated Node #0,4,4: 67:[97, 17] Operation: 57-40=17
Moving to Node #0,1
Current State: 67:[57, 20, 95], Operations: ['97-2=95']
Exploring Operation: 95-57=38, Resulting Numbers: [20, 38]
Generated Node #0,1,0: 67:[20, 38] Operation: 95-57=38
Exploring Operation: 57-20=37, Resulting Numbers: [95, 37]
Generated Node #0,1,1: 67:[95, 37] Operation: 57-20=37
Exploring Operation: 57+20=77, Resulting Numbers: [95, 77]
Generated Node #0,1,2: 67:[95, 77] Operation: 57+20=77
Exploring Operation: 95-20=75, Resulting Numbers: [57, 75]
Generated Node #0,1,3: 67:[57, 75] Operation: 95-20=75
Exploring Operation: 20+95=115, Resulting Numbers: [57, 115]
Generated Node #0,1,4: 67:[57, 115] Operation: 20+95=115
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 67:[57, 75], Operations: ['97-2=95', '95-20=75']
Exploring Operation: 57+75=132, Resulting Numbers: [132]
132,67 unequal: No Solution
Exploring Operation: 75-57=18, Resulting Numbers: [18]
18,67 unequal: No Solution
Exploring Operation: 57*75=4275, Resulting Numbers: [4275]
4275,67 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: 67:[95, 77], Operations: ['97-2=95', '57+20=77']
Exploring Operation: 95+77=172, Resulting Numbers: [172]
172,67 unequal: No Solution
Exploring Operation: 95-77=18, Resulting Numbers: [18]
18,67 unequal: No Solution
Exploring Operation: 95*77=7315, Resulting Numbers: [7315]
7315,67 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: 67:[95, 37], Operations: ['97-2=95', '57-20=37']
Exploring Operation: 95*37=3515, Resulting Numbers: [3515]
3515,67 unequal: No Solution
Exploring Operation: 95-37=58, Resulting Numbers: [58]
58,67 unequal: No Solution
Exploring Operation: 95+37=132, Resulting Numbers: [132]
132,67 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: 67:[57, 115], Operations: ['97-2=95', '20+95=115']
Exploring Operation: 57*115=6555, Resulting Numbers: [6555]
6555,67 unequal: No Solution
Exploring Operation: 57+115=172, Resulting Numbers: [172]
172,67 unequal: No Solution
Exploring Operation: 115-57=58, Resulting Numbers: [58]
58,67 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: 67:[20, 38], Operations: ['97-2=95', '95-57=38']
Exploring Operation: 20+38=58, Resulting Numbers: [58]
58,67 unequal: No Solution
Exploring Operation: 38-20=18, Resulting Numbers: [18]
18,67 unequal: No Solution
Exploring Operation: 20*38=760, Resulting Numbers: [760]
760,67 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: 67:[57, 2, 77], Operations: ['97-20=77']
Exploring Operation: 57-2=55, Resulting Numbers: [77, 55]
Generated Node #0,3,0: 67:[77, 55] Operation: 57-2=55
Exploring Operation: 2+77=79, Resulting Numbers: [57, 79]
Generated Node #0,3,1: 67:[57, 79] Operation: 2+77=79
Exploring Operation: 57+2=59, Resulting Numbers: [77, 59]
Generated Node #0,3,2: 67:[77, 59] Operation: 57+2=59
Exploring Operation: 57*2=114, Resulting Numbers: [77, 114]
Generated Node #0,3,3: 67:[77, 114] Operation: 57*2=114
Exploring Operation: 77-2=75, Resulting Numbers: [57, 75]
Generated Node #0,3,4: 67:[57, 75] Operation: 77-2=75
Moving to Node #0,0
Current State: 67:[57, 97, 22], Operations: ['2+20=22']
Exploring Operation: 97+22=119, Resulting Numbers: [57, 119]
Generated Node #0,0,0: 67:[57, 119] Operation: 97+22=119
Exploring Operation: 97-57=40, Resulting Numbers: [22, 40]
Generated Node #0,0,1: 67:[22, 40] Operation: 97-57=40
Exploring Operation: 97-22=75, Resulting Numbers: [57, 75]
Generated Node #0,0,2: 67:[57, 75] Operation: 97-22=75
Exploring Operation: 57-22=35, Resulting Numbers: [97, 35]
Generated Node #0,0,3: 67:[97, 35] Operation: 57-22=35
Exploring Operation: 57+22=79, Resulting Numbers: [97, 79]
Generated Node #0,0,4: 67:[97, 79] Operation: 57+22=79
Moving to Node #0,2
Current State: 67:[20, 97, 59], Operations: ['57+2=59']
Exploring Operation: 20+59=79, Resulting Numbers: [97, 79]
Generated Node #0,2,0: 67:[97, 79] Operation: 20+59=79
Exploring Operation: 97-59=38, Resulting Numbers: [20, 38]
Generated Node #0,2,1: 67:[20, 38] Operation: 97-59=38
Exploring Operation: 20+97=117, Resulting Numbers: [59, 117]
Generated Node #0,2,2: 67:[59, 117] Operation: 20+97=117
Exploring Operation: 59-20=39, Resulting Numbers: [97, 39]
Generated Node #0,2,3: 67:[97, 39] Operation: 59-20=39
Exploring Operation: 97-20=77, Resulting Numbers: [59, 77]
Generated Node #0,2,4: 67:[59, 77] Operation: 97-20=77
Moving to Node #0,3,2
Current State: 67:[77, 59], Operations: ['97-20=77', '57+2=59']
Exploring Operation: 77*59=4543, Resulting Numbers: [4543]
4543,67 unequal: No Solution
Exploring Operation: 77+59=136, Resulting Numbers: [136]
136,67 unequal: No Solution
Exploring Operation: 77-59=18, Resulting Numbers: [18]
18,67 unequal: No Solution
Moving to Node #0,3,4
Current State: 67:[57, 75], Operations: ['97-20=77', '77-2=75']
Exploring Operation: 75-57=18, Resulting Numbers: [18]
18,67 unequal: No Solution
Exploring Operation: 57+75=132, Resulting Numbers: [132]
132,67 unequal: No Solution
Exploring Operation: 57*75=4275, Resulting Numbers: [4275]
4275,67 unequal: No Solution
Moving to Node #0,0,2
Current State: 67:[57, 75], Operations: ['2+20=22', '97-22=75']
Exploring Operation: 57*75=4275, Resulting Numbers: [4275]
4275,67 unequal: No Solution
Exploring Operation: 75-57=18, Resulting Numbers: [18]
18,67 unequal: No Solution
Exploring Operation: 57+75=132, Resulting Numbers: [132]
132,67 unequal: No Solution
Moving to Node #0,2,4
Current State: 67:[59, 77], Operations: ['57+2=59', '97-20=77']
Exploring Operation: 59+77=136, Resulting Numbers: [136]
136,67 unequal: No Solution
Exploring Operation: 77-59=18, Resulting Numbers: [18]
18,67 unequal: No Solution
Exploring Operation: 59*77=4543, Resulting Numbers: [4543]
4543,67 unequal: No Solution
Moving to Node #0,4,1
Current State: 67:[57, 57], Operations: ['2*20=40', '97-40=57']
Exploring Operation: 57/57=1, Resulting Numbers: [1]
1,67 unequal: No Solution
Exploring Operation: 57+57=114, Resulting Numbers: [114]
114,67 unequal: No Solution
Exploring Operation: 57-57=0, Resulting Numbers: [0]
0,67 unequal: No Solution
Exploring Operation: 57*57=3249, Resulting Numbers: [3249]
3249,67 unequal: No Solution
Moving to Node #0,3,0
Current State: 67:[77, 55], Operations: ['97-20=77', '57-2=55']
Exploring Operation: 77-55=22, Resulting Numbers: [22]
22,67 unequal: No Solution
Exploring Operation: 77+55=132, Resulting Numbers: [132]
132,67 unequal: No Solution
Exploring Operation: 77*55=4235, Resulting Numbers: [4235]
4235,67 unequal: No Solution
Moving to Node #0,3,1
Current State: 67:[57, 79], Operations: ['97-20=77', '2+77=79']
Exploring Operation: 57+79=136, Resulting Numbers: [136]
136,67 unequal: No Solution
Exploring Operation: 79-57=22, Resulting Numbers: [22]
22,67 unequal: No Solution
Exploring Operation: 57*79=4503, Resulting Numbers: [4503]
4503,67 unequal: No Solution
Moving to Node #0,0,4
Current State: 67:[97, 79], Operations: ['2+20=22', '57+22=79']
Exploring Operation: 97*79=7663, Resulting Numbers: [7663]
7663,67 unequal: No Solution
Exploring Operation: 97+79=176, Resulting Numbers: [176]
176,67 unequal: No Solution
Exploring Operation: 97-79=18, Resulting Numbers: [18]
18,67 unequal: No Solution
Moving to Node #0,2,0
Current State: 67:[97, 79], Operations: ['57+2=59', '20+59=79']
Exploring Operation: 97+79=176, Resulting Numbers: [176]
176,67 unequal: No Solution
Exploring Operation: 97-79=18, Resulting Numbers: [18]
18,67 unequal: No Solution
Exploring Operation: 97*79=7663, Resulting Numbers: [7663]
7663,67 unequal: No Solution
Moving to Node #0,4,3
Current State: 67:[40, 40], Operations: ['2*20=40', '97-57=40']
Exploring Operation: 40+40=80, Resulting Numbers: [80]
80,67 unequal: No Solution
Exploring Operation: 40*40=1600, Resulting Numbers: [1600]
1600,67 unequal: No Solution
Exploring Operation: 40-40=0, Resulting Numbers: [0]
0,67 unequal: No Solution
Exploring Operation: 40/40=1, Resulting Numbers: [1]
1,67 unequal: No Solution
Moving to Node #0,3,3
Current State: 67:[77, 114], Operations: ['97-20=77', '57*2=114']
Exploring Operation: 114-77=37, Resulting Numbers: [37]
37,67 unequal: No Solution
Exploring Operation: 77*114=8778, Resulting Numbers: [8778]
8778,67 unequal: No Solution
Exploring Operation: 77+114=191, Resulting Numbers: [191]
191,67 unequal: No Solution
Moving to Node #0,2,3
Current State: 67:[97, 39], Operations: ['57+2=59', '59-20=39']
Exploring Operation: 97+39=136, Resulting Numbers: [136]
136,67 unequal: No Solution
Exploring Operation: 97-39=58, Resulting Numbers: [58]
58,67 unequal: No Solution
Exploring Operation: 97*39=3783, Resulting Numbers: [3783]
3783,67 unequal: No Solution
Moving to Node #0,2,2
Current State: 67:[59, 117], Operations: ['57+2=59', '20+97=117']
Exploring Operation: 117-59=58, Resulting Numbers: [58]
58,67 unequal: No Solution
Exploring Operation: 59*117=6903, Resulting Numbers: [6903]
6903,67 unequal: No Solution
Exploring Operation: 59+117=176, Resulting Numbers: [176]
176,67 unequal: No Solution
Moving to Node #0,4,2
Current State: 67:[97, 97], Operations: ['2*20=40', '57+40=97']
Exploring Operation: 97*97=9409, Resulting Numbers: [9409]
9409,67 unequal: No Solution
Exploring Operation: 97/97=1, Resulting Numbers: [1]
1,67 unequal: No Solution
Exploring Operation: 97+97=194, Resulting Numbers: [194]
194,67 unequal: No Solution
Exploring Operation: 97-97=0, Resulting Numbers: [0]
0,67 unequal: No Solution
Moving to Node #0,0,3
Current State: 67:[97, 35], Operations: ['2+20=22', '57-22=35']
Exploring Operation: 97*35=3395, Resulting Numbers: [3395]
3395,67 unequal: No Solution
Exploring Operation: 97-35=62, Resulting Numbers: [62]
62,67 unequal: No Solution
Exploring Operation: 97+35=132, Resulting Numbers: [132]
132,67 unequal: No Solution
Moving to Node #0,0,0
Current State: 67:[57, 119], Operations: ['2+20=22', '97+22=119']
Exploring Operation: 57+119=176, Resulting Numbers: [176]
176,67 unequal: No Solution
Exploring Operation: 119-57=62, Resulting Numbers: [62]
62,67 unequal: No Solution
Exploring Operation: 57*119=6783, Resulting Numbers: [6783]
6783,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[22, 40], Operations: ['2+20=22', '97-57=40']
Exploring Operation: 22*40=880, Resulting Numbers: [880]
880,67 unequal: No Solution
Exploring Operation: 22+40=62, Resulting Numbers: [62]
62,67 unequal: No Solution
Exploring Operation: 40-22=18, Resulting Numbers: [18]
18,67 unequal: No Solution
Moving to Node #0,2,1
Current State: 67:[20, 38], Operations: ['57+2=59', '97-59=38']
Exploring Operation: 20*38=760, Resulting Numbers: [760]
760,67 unequal: No Solution
Exploring Operation: 20+38=58, Resulting Numbers: [58]
58,67 unequal: No Solution
Exploring Operation: 38-20=18, Resulting Numbers: [18]
18,67 unequal: No Solution
Moving to Node #0,4,0
Current State: 67:[57, 137], Operations: ['2*20=40', '97+40=137']
Exploring Operation: 57*137=7809, Resulting Numbers: [7809]
7809,67 unequal: No Solution
Exploring Operation: 57+137=194, Resulting Numbers: [194]
194,67 unequal: No Solution
Exploring Operation: 137-57=80, Resulting Numbers: [80]
80,67 unequal: No Solution
Moving to Node #0,4,4
Current State: 67:[97, 17], Operations: ['2*20=40', '57-40=17']
Exploring Operation: 97*17=1649, Resulting Numbers: [1649]
1649,67 unequal: No Solution
Exploring Operation: 97+17=114, Resulting Numbers: [114]
114,67 unequal: No Solution
Exploring Operation: 97-17=80, Resulting Numbers: [80]
80,67 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
36,
34,
1,
42
] | 86 | [
"36-34=2",
"1+42=43",
"2*43=86"
] | Current State: 86:[36, 34, 1, 42], Operations: []
Exploring Operation: 36-34=2, Resulting Numbers: [1, 42, 2]
Generated Node #2: [1, 42, 2] from Operation: 36-34=2
Current State: 86:[1, 42, 2], Operations: ['36-34=2']
Exploring Operation: 1+42=43, Resulting Numbers: [2, 43]
Generated Node #3: [2, 43] from Operation: 1+42=43
Current State: 86:[2, 43], Operations: ['36-34=2', '1+42=43']
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[36, 34, 1, 42], Operations: []
Exploring Operation: 36-34=2, Resulting Numbers: [1, 42, 2]
Generated Node #0,0: 86:[1, 42, 2] Operation: 36-34=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[1, 42, 2], Operations: ['36-34=2']
Exploring Operation: 1+42=43, Resulting Numbers: [2, 43]
Generated Node #0,0,0: 86:[2, 43] Operation: 1+42=43
Moving to Node #0,0,0
Current State: 86:[2, 43], Operations: ['36-34=2', '1+42=43']
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[36, 34, 1, 42], Operations: []
Exploring Operation: 36-34=2, Resulting Numbers: [1, 42, 2]
Generated Node #0,0: 86:[1, 42, 2] Operation: 36-34=2
Moving to Node #0,0
Current State: 86:[1, 42, 2], Operations: ['36-34=2']
Exploring Operation: 1+42=43, Resulting Numbers: [2, 43]
Generated Node #0,0,0: 86:[2, 43] Operation: 1+42=43
Moving to Node #0,0,0
Current State: 86:[2, 43], Operations: ['36-34=2', '1+42=43']
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
79,
70,
14,
44
] | 30 | [
"79-44=35",
"70/14=5",
"35-5=30"
] | Current State: 30:[79, 70, 14, 44], Operations: []
Exploring Operation: 79-44=35, Resulting Numbers: [70, 14, 35]
Generated Node #2: [70, 14, 35] from Operation: 79-44=35
Current State: 30:[70, 14, 35], Operations: ['79-44=35']
Exploring Operation: 70/14=5, Resulting Numbers: [35, 5]
Generated Node #3: [35, 5] from Operation: 70/14=5
Current State: 30:[35, 5], Operations: ['79-44=35', '70/14=5']
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[79, 70, 14, 44], Operations: []
Exploring Operation: 79-70=9, Resulting Numbers: [14, 44, 9]
Generated Node #0,0: 30:[14, 44, 9] Operation: 79-70=9
Exploring Operation: 79-44=35, Resulting Numbers: [70, 14, 35]
Generated Node #0,1: 30:[70, 14, 35] Operation: 79-44=35
Exploring Operation: 79-14=65, Resulting Numbers: [70, 44, 65]
Generated Node #0,2: 30:[70, 44, 65] Operation: 79-14=65
Exploring Operation: 70/14=5, Resulting Numbers: [79, 44, 5]
Generated Node #0,3: 30:[79, 44, 5] Operation: 70/14=5
Exploring Operation: 70-44=26, Resulting Numbers: [79, 14, 26]
Generated Node #0,4: 30:[79, 14, 26] Operation: 70-44=26
Moving to Node #0,0
Current State: 30:[14, 44, 9], Operations: ['79-70=9']
Exploring Operation: 14+9=23, Resulting Numbers: [44, 23]
Generated Node #0,0,0: 30:[44, 23] Operation: 14+9=23
Exploring Operation: 44-14=30, Resulting Numbers: [9, 30]
Generated Node #0,0,1: 30:[9, 30] Operation: 44-14=30
Exploring Operation: 14-9=5, Resulting Numbers: [44, 5]
Generated Node #0,0,2: 30:[44, 5] Operation: 14-9=5
Exploring Operation: 44-9=35, Resulting Numbers: [14, 35]
Generated Node #0,0,3: 30:[14, 35] Operation: 44-9=35
Exploring Operation: 44+9=53, Resulting Numbers: [14, 53]
Generated Node #0,0,4: 30:[14, 53] Operation: 44+9=53
Moving to Node #0,1
Current State: 30:[70, 14, 35], Operations: ['79-44=35']
Exploring Operation: 70-14=56, Resulting Numbers: [35, 56]
Generated Node #0,1,0: 30:[35, 56] Operation: 70-14=56
Exploring Operation: 70/14=5, Resulting Numbers: [35, 5]
Generated Node #0,1,1: 30:[35, 5] Operation: 70/14=5
Exploring Operation: 70/35=2, Resulting Numbers: [14, 2]
Generated Node #0,1,2: 30:[14, 2] Operation: 70/35=2
Exploring Operation: 35-14=21, Resulting Numbers: [70, 21]
Generated Node #0,1,3: 30:[70, 21] Operation: 35-14=21
Exploring Operation: 70-35=35, Resulting Numbers: [14, 35]
Generated Node #0,1,4: 30:[14, 35] Operation: 70-35=35
Moving to Node #0,4
Current State: 30:[79, 14, 26], Operations: ['70-44=26']
Exploring Operation: 26-14=12, Resulting Numbers: [79, 12]
Generated Node #0,4,0: 30:[79, 12] Operation: 26-14=12
Exploring Operation: 79-14=65, Resulting Numbers: [26, 65]
Generated Node #0,4,1: 30:[26, 65] Operation: 79-14=65
Exploring Operation: 14+26=40, Resulting Numbers: [79, 40]
Generated Node #0,4,2: 30:[79, 40] Operation: 14+26=40
Exploring Operation: 79+14=93, Resulting Numbers: [26, 93]
Generated Node #0,4,3: 30:[26, 93] Operation: 79+14=93
Exploring Operation: 79-26=53, Resulting Numbers: [14, 53]
Generated Node #0,4,4: 30:[14, 53] Operation: 79-26=53
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 30:[14, 53], Operations: ['70-44=26', '79-26=53']
Exploring Operation: 14*53=742, Resulting Numbers: [742]
742,30 unequal: No Solution
Exploring Operation: 53-14=39, Resulting Numbers: [39]
39,30 unequal: No Solution
Exploring Operation: 14+53=67, Resulting Numbers: [67]
67,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,4,1
Current State: 30:[26, 65], Operations: ['70-44=26', '79-14=65']
Exploring Operation: 65-26=39, Resulting Numbers: [39]
39,30 unequal: No Solution
Exploring Operation: 26*65=1690, Resulting Numbers: [1690]
1690,30 unequal: No Solution
Exploring Operation: 26+65=91, Resulting Numbers: [91]
91,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,4,0
Current State: 30:[79, 12], Operations: ['70-44=26', '26-14=12']
Exploring Operation: 79-12=67, Resulting Numbers: [67]
67,30 unequal: No Solution
Exploring Operation: 79+12=91, Resulting Numbers: [91]
91,30 unequal: No Solution
Exploring Operation: 79*12=948, Resulting Numbers: [948]
948,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,4,2
Current State: 30:[79, 40], Operations: ['70-44=26', '14+26=40']
Exploring Operation: 79*40=3160, Resulting Numbers: [3160]
3160,30 unequal: No Solution
Exploring Operation: 79+40=119, Resulting Numbers: [119]
119,30 unequal: No Solution
Exploring Operation: 79-40=39, Resulting Numbers: [39]
39,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,4,3
Current State: 30:[26, 93], Operations: ['70-44=26', '79+14=93']
Exploring Operation: 26+93=119, Resulting Numbers: [119]
119,30 unequal: No Solution
Exploring Operation: 26*93=2418, Resulting Numbers: [2418]
2418,30 unequal: No Solution
Exploring Operation: 93-26=67, Resulting Numbers: [67]
67,30 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: 30:[79, 44, 5], Operations: ['70/14=5']
Exploring Operation: 79-44=35, Resulting Numbers: [5, 35]
Generated Node #0,3,0: 30:[5, 35] Operation: 79-44=35
Exploring Operation: 44+5=49, Resulting Numbers: [79, 49]
Generated Node #0,3,1: 30:[79, 49] Operation: 44+5=49
Exploring Operation: 79+5=84, Resulting Numbers: [44, 84]
Generated Node #0,3,2: 30:[44, 84] Operation: 79+5=84
Exploring Operation: 44-5=39, Resulting Numbers: [79, 39]
Generated Node #0,3,3: 30:[79, 39] Operation: 44-5=39
Exploring Operation: 79-5=74, Resulting Numbers: [44, 74]
Generated Node #0,3,4: 30:[44, 74] Operation: 79-5=74
Moving to Node #0,2
Current State: 30:[70, 44, 65], Operations: ['79-14=65']
Exploring Operation: 70+44=114, Resulting Numbers: [65, 114]
Generated Node #0,2,0: 30:[65, 114] Operation: 70+44=114
Exploring Operation: 65-44=21, Resulting Numbers: [70, 21]
Generated Node #0,2,1: 30:[70, 21] Operation: 65-44=21
Exploring Operation: 70-65=5, Resulting Numbers: [44, 5]
Generated Node #0,2,2: 30:[44, 5] Operation: 70-65=5
Exploring Operation: 70-44=26, Resulting Numbers: [65, 26]
Generated Node #0,2,3: 30:[65, 26] Operation: 70-44=26
Exploring Operation: 70+65=135, Resulting Numbers: [44, 135]
Generated Node #0,2,4: 30:[44, 135] Operation: 70+65=135
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 30:[44, 5], Operations: ['79-14=65', '70-65=5']
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,30 unequal: No Solution
Exploring Operation: 44*5=220, Resulting Numbers: [220]
220,30 unequal: No Solution
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,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,2,3
Current State: 30:[65, 26], Operations: ['79-14=65', '70-44=26']
Exploring Operation: 65-26=39, Resulting Numbers: [39]
39,30 unequal: No Solution
Exploring Operation: 65*26=1690, Resulting Numbers: [1690]
1690,30 unequal: No Solution
Exploring Operation: 65+26=91, Resulting Numbers: [91]
91,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,2,1
Current State: 30:[70, 21], Operations: ['79-14=65', '65-44=21']
Exploring Operation: 70*21=1470, Resulting Numbers: [1470]
1470,30 unequal: No Solution
Exploring Operation: 70-21=49, Resulting Numbers: [49]
49,30 unequal: No Solution
Exploring Operation: 70+21=91, Resulting Numbers: [91]
91,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,2,0
Current State: 30:[65, 114], Operations: ['79-14=65', '70+44=114']
Exploring Operation: 114-65=49, Resulting Numbers: [49]
49,30 unequal: No Solution
Exploring Operation: 65+114=179, Resulting Numbers: [179]
179,30 unequal: No Solution
Exploring Operation: 65*114=7410, Resulting Numbers: [7410]
7410,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,2,4
Current State: 30:[44, 135], Operations: ['79-14=65', '70+65=135']
Exploring Operation: 44*135=5940, Resulting Numbers: [5940]
5940,30 unequal: No Solution
Exploring Operation: 44+135=179, Resulting Numbers: [179]
179,30 unequal: No Solution
Exploring Operation: 135-44=91, Resulting Numbers: [91]
91,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 30:[9, 30], Operations: ['79-70=9', '44-14=30']
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,30 unequal: No Solution
Exploring Operation: 9*30=270, Resulting Numbers: [270]
270,30 unequal: No Solution
Exploring Operation: 9+30=39, Resulting Numbers: [39]
39,30 unequal: No Solution
Moving to Node #0,1,2
Current State: 30:[14, 2], Operations: ['79-44=35', '70/35=2']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,30 unequal: No Solution
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,30 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,30 unequal: No Solution
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,30 unequal: No Solution
Moving to Node #0,1,1
Current State: 30:[35, 5], Operations: ['79-44=35', '70/14=5']
Exploring Operation: 35+5=40, Resulting Numbers: [40]
40,30 unequal: No Solution
Exploring Operation: 35*5=175, Resulting Numbers: [175]
175,30 unequal: No Solution
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[79, 70, 14, 44], Operations: []
Exploring Operation: 79-44=35, Resulting Numbers: [70, 14, 35]
Generated Node #0,1: 30:[70, 14, 35] Operation: 79-44=35
Moving to Node #0,1
Current State: 30:[70, 14, 35], Operations: ['79-44=35']
Exploring Operation: 70/14=5, Resulting Numbers: [35, 5]
Generated Node #0,1,1: 30:[35, 5] Operation: 70/14=5
Moving to Node #0,1,1
Current State: 30:[35, 5], Operations: ['79-44=35', '70/14=5']
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 0.935764 | hs_5 | mult_heuristic |
[
80,
94,
82,
54
] | 74 | [
"82-80=2",
"94+54=148",
"148/2=74"
] | Current State: 74:[80, 94, 82, 54], Operations: []
Exploring Operation: 82-80=2, Resulting Numbers: [94, 54, 2]
Generated Node #2: [94, 54, 2] from Operation: 82-80=2
Current State: 74:[94, 54, 2], Operations: ['82-80=2']
Exploring Operation: 94+54=148, Resulting Numbers: [2, 148]
Generated Node #3: [2, 148] from Operation: 94+54=148
Current State: 74:[2, 148], Operations: ['82-80=2', '94+54=148']
Exploring Operation: 148/2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[80, 94, 82, 54], Operations: []
Exploring Operation: 94-54=40, Resulting Numbers: [80, 82, 40]
Generated Node #0,0: 74:[80, 82, 40] Operation: 94-54=40
Exploring Operation: 82-54=28, Resulting Numbers: [80, 94, 28]
Generated Node #0,1: 74:[80, 94, 28] Operation: 82-54=28
Exploring Operation: 94-82=12, Resulting Numbers: [80, 54, 12]
Generated Node #0,2: 74:[80, 54, 12] Operation: 94-82=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[80, 82, 40], Operations: ['94-54=40']
Exploring Operation: 80/40=2, Resulting Numbers: [82, 2]
Generated Node #0,0,0: 74:[82, 2] Operation: 80/40=2
Exploring Operation: 80-40=40, Resulting Numbers: [82, 40]
Generated Node #0,0,1: 74:[82, 40] Operation: 80-40=40
Exploring Operation: 82-80=2, Resulting Numbers: [40, 2]
Generated Node #0,0,2: 74:[40, 2] Operation: 82-80=2
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 74:[40, 2], Operations: ['94-54=40', '82-80=2']
Exploring Operation: 40*2=80, Resulting Numbers: [80]
80,74 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,74 unequal: No Solution
Exploring Operation: 40+2=42, Resulting Numbers: [42]
42,74 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: 74:[82, 2], Operations: ['94-54=40', '80/40=2']
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,74 unequal: No Solution
Exploring Operation: 82+2=84, Resulting Numbers: [84]
84,74 unequal: No Solution
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,74 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: 74:[82, 40], Operations: ['94-54=40', '80-40=40']
Exploring Operation: 82+40=122, Resulting Numbers: [122]
122,74 unequal: No Solution
Exploring Operation: 82*40=3280, Resulting Numbers: [3280]
3280,74 unequal: No Solution
Exploring Operation: 82-40=42, Resulting Numbers: [42]
42,74 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: 74:[80, 54, 12], Operations: ['94-82=12']
Exploring Operation: 80-54=26, Resulting Numbers: [12, 26]
Generated Node #0,2,0: 74:[12, 26] Operation: 80-54=26
Exploring Operation: 54-12=42, Resulting Numbers: [80, 42]
Generated Node #0,2,1: 74:[80, 42] Operation: 54-12=42
Exploring Operation: 54+12=66, Resulting Numbers: [80, 66]
Generated Node #0,2,2: 74:[80, 66] Operation: 54+12=66
Moving to Node #0,2,1
Current State: 74:[80, 42], Operations: ['94-82=12', '54-12=42']
Exploring Operation: 80+42=122, Resulting Numbers: [122]
122,74 unequal: No Solution
Exploring Operation: 80*42=3360, Resulting Numbers: [3360]
3360,74 unequal: No Solution
Exploring Operation: 80-42=38, Resulting Numbers: [38]
38,74 unequal: No Solution
Moving to Node #0,2,2
Current State: 74:[80, 66], Operations: ['94-82=12', '54+12=66']
Exploring Operation: 80+66=146, Resulting Numbers: [146]
146,74 unequal: No Solution
Exploring Operation: 80*66=5280, Resulting Numbers: [5280]
5280,74 unequal: No Solution
Exploring Operation: 80-66=14, Resulting Numbers: [14]
14,74 unequal: No Solution
Moving to Node #0,2,0
Current State: 74:[12, 26], Operations: ['94-82=12', '80-54=26']
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,74 unequal: No Solution
Exploring Operation: 12*26=312, Resulting Numbers: [312]
312,74 unequal: No Solution
Exploring Operation: 12+26=38, Resulting Numbers: [38]
38,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
Current State: 74:[80, 94, 28], Operations: ['82-54=28']
Exploring Operation: 80-28=52, Resulting Numbers: [94, 52]
Generated Node #0,1,0: 74:[94, 52] Operation: 80-28=52
Exploring Operation: 94-28=66, Resulting Numbers: [80, 66]
Generated Node #0,1,1: 74:[80, 66] Operation: 94-28=66
Exploring Operation: 94-80=14, Resulting Numbers: [28, 14]
Generated Node #0,1,2: 74:[28, 14] Operation: 94-80=14
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 74:[80, 66], Operations: ['82-54=28', '94-28=66']
Exploring Operation: 80-66=14, Resulting Numbers: [14]
14,74 unequal: No Solution
Exploring Operation: 80*66=5280, Resulting Numbers: [5280]
5280,74 unequal: No Solution
Exploring Operation: 80+66=146, Resulting Numbers: [146]
146,74 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: 74:[28, 14], Operations: ['82-54=28', '94-80=14']
Exploring Operation: 28+14=42, Resulting Numbers: [42]
42,74 unequal: No Solution
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,74 unequal: No Solution
Exploring Operation: 28/14=2, Resulting Numbers: [2]
2,74 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: 74:[94, 52], Operations: ['82-54=28', '80-28=52']
Exploring Operation: 94-52=42, Resulting Numbers: [42]
42,74 unequal: No Solution
Exploring Operation: 94*52=4888, Resulting Numbers: [4888]
4888,74 unequal: No Solution
Exploring Operation: 94+52=146, Resulting Numbers: [146]
146,74 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 |
[
85,
25,
24,
26
] | 59 | [
"85-26=59",
"25-24=1",
"59*1=59"
] | Current State: 59:[85, 25, 24, 26], Operations: []
Exploring Operation: 85-26=59, Resulting Numbers: [25, 24, 59]
Generated Node #2: [25, 24, 59] from Operation: 85-26=59
Current State: 59:[25, 24, 59], Operations: ['85-26=59']
Exploring Operation: 25-24=1, Resulting Numbers: [59, 1]
Generated Node #3: [59, 1] from Operation: 25-24=1
Current State: 59:[59, 1], Operations: ['85-26=59', '25-24=1']
Exploring Operation: 59*1=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[85, 25, 24, 26], Operations: []
Exploring Operation: 85-24=61, Resulting Numbers: [25, 26, 61]
Generated Node #0,0: 59:[25, 26, 61] Operation: 85-24=61
Exploring Operation: 85-25=60, Resulting Numbers: [24, 26, 60]
Generated Node #0,1: 59:[24, 26, 60] Operation: 85-25=60
Moving to Node #0,0
Current State: 59:[25, 26, 61], Operations: ['85-24=61']
Exploring Operation: 25+26=51, Resulting Numbers: [61, 51]
Generated Node #0,0,0: 59:[61, 51] Operation: 25+26=51
Exploring Operation: 61-25=36, Resulting Numbers: [26, 36]
Generated Node #0,0,1: 59:[26, 36] Operation: 61-25=36
Moving to Node #0,1
Current State: 59:[24, 26, 60], Operations: ['85-25=60']
Exploring Operation: 24+26=50, Resulting Numbers: [60, 50]
Generated Node #0,1,0: 59:[60, 50] Operation: 24+26=50
Exploring Operation: 60-24=36, Resulting Numbers: [26, 36]
Generated Node #0,1,1: 59:[26, 36] Operation: 60-24=36
Moving to Node #0,0,0
Current State: 59:[61, 51], Operations: ['85-24=61', '25+26=51']
Exploring Operation: 61-51=10, Resulting Numbers: [10]
10,59 unequal: No Solution
Exploring Operation: 61+51=112, Resulting Numbers: [112]
112,59 unequal: No Solution
Moving to Node #0,1,0
Current State: 59:[60, 50], Operations: ['85-25=60', '24+26=50']
Exploring Operation: 60-50=10, Resulting Numbers: [10]
10,59 unequal: No Solution
Exploring Operation: 60+50=110, Resulting Numbers: [110]
110,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[26, 36], Operations: ['85-24=61', '61-25=36']
Exploring Operation: 36-26=10, Resulting Numbers: [10]
10,59 unequal: No Solution
Exploring Operation: 26+36=62, Resulting Numbers: [62]
62,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[26, 36], Operations: ['85-25=60', '60-24=36']
Exploring Operation: 26+36=62, Resulting Numbers: [62]
62,59 unequal: No Solution
Exploring Operation: 36-26=10, Resulting Numbers: [10]
10,59 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
28,
30,
6,
64
] | 97 | [
"28+64=92",
"30/6=5",
"92+5=97"
] | Current State: 97:[28, 30, 6, 64], Operations: []
Exploring Operation: 28+64=92, Resulting Numbers: [30, 6, 92]
Generated Node #2: [30, 6, 92] from Operation: 28+64=92
Current State: 97:[30, 6, 92], Operations: ['28+64=92']
Exploring Operation: 30/6=5, Resulting Numbers: [92, 5]
Generated Node #3: [92, 5] from Operation: 30/6=5
Current State: 97:[92, 5], Operations: ['28+64=92', '30/6=5']
Exploring Operation: 92+5=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[28, 30, 6, 64], Operations: []
Exploring Operation: 28+30=58, Resulting Numbers: [6, 64, 58]
Generated Node #0,0: 97:[6, 64, 58] Operation: 28+30=58
Moving to Node #0,0
Current State: 97:[6, 64, 58], Operations: ['28+30=58']
Exploring Operation: 6+64=70, Resulting Numbers: [58, 70]
Generated Node #0,0,0: 97:[58, 70] Operation: 6+64=70
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[58, 70], Operations: ['28+30=58', '6+64=70']
Exploring Operation: 58+70=128, Resulting Numbers: [128]
128,97 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 |
[
4,
93,
24,
65
] | 16 | [
"93-24=69",
"69-65=4",
"4*4=16"
] | Current State: 16:[4, 93, 24, 65], Operations: []
Exploring Operation: 93-24=69, Resulting Numbers: [4, 65, 69]
Generated Node #2: [4, 65, 69] from Operation: 93-24=69
Current State: 16:[4, 65, 69], Operations: ['93-24=69']
Exploring Operation: 69-65=4, Resulting Numbers: [4, 4]
Generated Node #3: [4, 4] from Operation: 69-65=4
Current State: 16:[4, 4], Operations: ['93-24=69', '69-65=4']
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[4, 93, 24, 65], Operations: []
Exploring Operation: 65-24=41, Resulting Numbers: [4, 93, 41]
Generated Node #0,0: 16:[4, 93, 41] Operation: 65-24=41
Exploring Operation: 93-65=28, Resulting Numbers: [4, 24, 28]
Generated Node #0,1: 16:[4, 24, 28] Operation: 93-65=28
Exploring Operation: 24/4=6, Resulting Numbers: [93, 65, 6]
Generated Node #0,2: 16:[93, 65, 6] Operation: 24/4=6
Exploring Operation: 93-24=69, Resulting Numbers: [4, 65, 69]
Generated Node #0,3: 16:[4, 65, 69] Operation: 93-24=69
Start Sub Search at level 1: Moving to Node #0,1
Current State: 16:[4, 24, 28], Operations: ['93-65=28']
Exploring Operation: 24-4=20, Resulting Numbers: [28, 20]
Generated Node #0,1,0: 16:[28, 20] Operation: 24-4=20
Exploring Operation: 28/4=7, Resulting Numbers: [24, 7]
Generated Node #0,1,1: 16:[24, 7] Operation: 28/4=7
Exploring Operation: 28-24=4, Resulting Numbers: [4, 4]
Generated Node #0,1,2: 16:[4, 4] Operation: 28-24=4
Exploring Operation: 24/4=6, Resulting Numbers: [28, 6]
Generated Node #0,1,3: 16:[28, 6] Operation: 24/4=6
Moving to Node #0,1,2
Current State: 16:[4, 4], Operations: ['93-65=28', '28-24=4']
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,16 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[4, 93, 24, 65], Operations: []
Exploring Operation: 93-65=28, Resulting Numbers: [4, 24, 28]
Generated Node #0,1: 16:[4, 24, 28] Operation: 93-65=28
Moving to Node #0,1
Current State: 16:[4, 24, 28], Operations: ['93-65=28']
Exploring Operation: 28-24=4, Resulting Numbers: [4, 4]
Generated Node #0,1,2: 16:[4, 4] Operation: 28-24=4
Moving to Node #0,1,2
Current State: 16:[4, 4], Operations: ['93-65=28', '28-24=4']
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
15,
53,
97,
39
] | 10 | [
"15+53=68",
"97-39=58",
"68-58=10"
] | Current State: 10:[15, 53, 97, 39], Operations: []
Exploring Operation: 15+53=68, Resulting Numbers: [97, 39, 68]
Generated Node #2: [97, 39, 68] from Operation: 15+53=68
Current State: 10:[97, 39, 68], Operations: ['15+53=68']
Exploring Operation: 97-39=58, Resulting Numbers: [68, 58]
Generated Node #3: [68, 58] from Operation: 97-39=58
Current State: 10:[68, 58], Operations: ['15+53=68', '97-39=58']
Exploring Operation: 68-58=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[15, 53, 97, 39], Operations: []
Exploring Operation: 97-53=44, Resulting Numbers: [15, 39, 44]
Generated Node #0,0: 10:[15, 39, 44] Operation: 97-53=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[15, 39, 44], Operations: ['97-53=44']
Exploring Operation: 44-39=5, Resulting Numbers: [15, 5]
Generated Node #0,0,0: 10:[15, 5] Operation: 44-39=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 10:[15, 5], Operations: ['97-53=44', '44-39=5']
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[15, 53, 97, 39], Operations: []
Exploring Operation: 97-53=44, Resulting Numbers: [15, 39, 44]
Generated Node #0,0: 10:[15, 39, 44] Operation: 97-53=44
Moving to Node #0,0
Current State: 10:[15, 39, 44], Operations: ['97-53=44']
Exploring Operation: 44-39=5, Resulting Numbers: [15, 5]
Generated Node #0,0,0: 10:[15, 5] Operation: 44-39=5
Moving to Node #0,0,0
Current State: 10:[15, 5], Operations: ['97-53=44', '44-39=5']
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
46,
26,
31,
41
] | 52 | [
"46-26=20",
"31+41=72",
"72-20=52"
] | Current State: 52:[46, 26, 31, 41], Operations: []
Exploring Operation: 46-26=20, Resulting Numbers: [31, 41, 20]
Generated Node #2: [31, 41, 20] from Operation: 46-26=20
Current State: 52:[31, 41, 20], Operations: ['46-26=20']
Exploring Operation: 31+41=72, Resulting Numbers: [20, 72]
Generated Node #3: [20, 72] from Operation: 31+41=72
Current State: 52:[20, 72], Operations: ['46-26=20', '31+41=72']
Exploring Operation: 72-20=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[46, 26, 31, 41], Operations: []
Exploring Operation: 46-31=15, Resulting Numbers: [26, 41, 15]
Generated Node #0,0: 52:[26, 41, 15] Operation: 46-31=15
Exploring Operation: 41-31=10, Resulting Numbers: [46, 26, 10]
Generated Node #0,1: 52:[46, 26, 10] Operation: 41-31=10
Exploring Operation: 41-26=15, Resulting Numbers: [46, 31, 15]
Generated Node #0,2: 52:[46, 31, 15] Operation: 41-26=15
Exploring Operation: 31-26=5, Resulting Numbers: [46, 41, 5]
Generated Node #0,3: 52:[46, 41, 5] Operation: 31-26=5
Exploring Operation: 46-41=5, Resulting Numbers: [26, 31, 5]
Generated Node #0,4: 52:[26, 31, 5] Operation: 46-41=5
Moving to Node #0,4
Current State: 52:[26, 31, 5], Operations: ['46-41=5']
Exploring Operation: 31-26=5, Resulting Numbers: [5, 5]
Generated Node #0,4,0: 52:[5, 5] Operation: 31-26=5
Exploring Operation: 26-5=21, Resulting Numbers: [31, 21]
Generated Node #0,4,1: 52:[31, 21] Operation: 26-5=21
Exploring Operation: 26+5=31, Resulting Numbers: [31, 31]
Generated Node #0,4,2: 52:[31, 31] Operation: 26+5=31
Exploring Operation: 31-5=26, Resulting Numbers: [26, 26]
Generated Node #0,4,3: 52:[26, 26] Operation: 31-5=26
Exploring Operation: 26+31=57, Resulting Numbers: [5, 57]
Generated Node #0,4,4: 52:[5, 57] Operation: 26+31=57
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 52:[26, 26], Operations: ['46-41=5', '31-5=26']
Exploring Operation: 26*26=676, Resulting Numbers: [676]
676,52 unequal: No Solution
Exploring Operation: 26+26=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[46, 26, 31, 41], Operations: []
Exploring Operation: 46-41=5, Resulting Numbers: [26, 31, 5]
Generated Node #0,4: 52:[26, 31, 5] Operation: 46-41=5
Moving to Node #0,4
Current State: 52:[26, 31, 5], Operations: ['46-41=5']
Exploring Operation: 31-5=26, Resulting Numbers: [26, 26]
Generated Node #0,4,3: 52:[26, 26] Operation: 31-5=26
Moving to Node #0,4,3
Current State: 52:[26, 26], Operations: ['46-41=5', '31-5=26']
Exploring Operation: 26+26=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
53,
97,
56,
48
] | 81 | [
"56-53=3",
"48/3=16",
"97-16=81"
] | Current State: 81:[53, 97, 56, 48], Operations: []
Exploring Operation: 56-53=3, Resulting Numbers: [97, 48, 3]
Generated Node #2: [97, 48, 3] from Operation: 56-53=3
Current State: 81:[97, 48, 3], Operations: ['56-53=3']
Exploring Operation: 48/3=16, Resulting Numbers: [97, 16]
Generated Node #3: [97, 16] from Operation: 48/3=16
Current State: 81:[97, 16], Operations: ['56-53=3', '48/3=16']
Exploring Operation: 97-16=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[53, 97, 56, 48], Operations: []
Exploring Operation: 56-53=3, Resulting Numbers: [97, 48, 3]
Generated Node #0,0: 81:[97, 48, 3] Operation: 56-53=3
Moving to Node #0,0
Current State: 81:[97, 48, 3], Operations: ['56-53=3']
Exploring Operation: 97-48=49, Resulting Numbers: [3, 49]
Generated Node #0,0,0: 81:[3, 49] Operation: 97-48=49
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[3, 49], Operations: ['56-53=3', '97-48=49']
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,81 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 |
[
60,
7,
93,
68
] | 78 | [
"60-7=53",
"93-68=25",
"53+25=78"
] | Current State: 78:[60, 7, 93, 68], Operations: []
Exploring Operation: 60-7=53, Resulting Numbers: [93, 68, 53]
Generated Node #2: [93, 68, 53] from Operation: 60-7=53
Current State: 78:[93, 68, 53], Operations: ['60-7=53']
Exploring Operation: 93-68=25, Resulting Numbers: [53, 25]
Generated Node #3: [53, 25] from Operation: 93-68=25
Current State: 78:[53, 25], Operations: ['60-7=53', '93-68=25']
Exploring Operation: 53+25=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[60, 7, 93, 68], Operations: []
Exploring Operation: 60+7=67, Resulting Numbers: [93, 68, 67]
Generated Node #0,0: 78:[93, 68, 67] Operation: 60+7=67
Exploring Operation: 93-60=33, Resulting Numbers: [7, 68, 33]
Generated Node #0,1: 78:[7, 68, 33] Operation: 93-60=33
Exploring Operation: 68-60=8, Resulting Numbers: [7, 93, 8]
Generated Node #0,2: 78:[7, 93, 8] Operation: 68-60=8
Exploring Operation: 93-68=25, Resulting Numbers: [60, 7, 25]
Generated Node #0,3: 78:[60, 7, 25] Operation: 93-68=25
Exploring Operation: 93-7=86, Resulting Numbers: [60, 68, 86]
Generated Node #0,4: 78:[60, 68, 86] Operation: 93-7=86
Moving to Node #0,1
Current State: 78:[7, 68, 33], Operations: ['93-60=33']
Exploring Operation: 68-33=35, Resulting Numbers: [7, 35]
Generated Node #0,1,0: 78:[7, 35] Operation: 68-33=35
Exploring Operation: 7+33=40, Resulting Numbers: [68, 40]
Generated Node #0,1,1: 78:[68, 40] Operation: 7+33=40
Exploring Operation: 68-7=61, Resulting Numbers: [33, 61]
Generated Node #0,1,2: 78:[33, 61] Operation: 68-7=61
Exploring Operation: 7+68=75, Resulting Numbers: [33, 75]
Generated Node #0,1,3: 78:[33, 75] Operation: 7+68=75
Exploring Operation: 33-7=26, Resulting Numbers: [68, 26]
Generated Node #0,1,4: 78:[68, 26] Operation: 33-7=26
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 78:[7, 35], Operations: ['93-60=33', '68-33=35']
Exploring Operation: 35/7=5, Resulting Numbers: [5]
5,78 unequal: No Solution
Exploring Operation: 7+35=42, Resulting Numbers: [42]
42,78 unequal: No Solution
Exploring Operation: 35-7=28, Resulting Numbers: [28]
28,78 unequal: No Solution
Exploring Operation: 7*35=245, Resulting Numbers: [245]
245,78 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: 78:[33, 75], Operations: ['93-60=33', '7+68=75']
Exploring Operation: 33+75=108, Resulting Numbers: [108]
108,78 unequal: No Solution
Exploring Operation: 33*75=2475, Resulting Numbers: [2475]
2475,78 unequal: No Solution
Exploring Operation: 75-33=42, Resulting Numbers: [42]
42,78 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: 78:[68, 26], Operations: ['93-60=33', '33-7=26']
Exploring Operation: 68-26=42, Resulting Numbers: [42]
42,78 unequal: No Solution
Exploring Operation: 68*26=1768, Resulting Numbers: [1768]
1768,78 unequal: No Solution
Exploring Operation: 68+26=94, Resulting Numbers: [94]
94,78 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: 78:[68, 40], Operations: ['93-60=33', '7+33=40']
Exploring Operation: 68+40=108, Resulting Numbers: [108]
108,78 unequal: No Solution
Exploring Operation: 68-40=28, Resulting Numbers: [28]
28,78 unequal: No Solution
Exploring Operation: 68*40=2720, Resulting Numbers: [2720]
2720,78 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: 78:[33, 61], Operations: ['93-60=33', '68-7=61']
Exploring Operation: 61-33=28, Resulting Numbers: [28]
28,78 unequal: No Solution
Exploring Operation: 33*61=2013, Resulting Numbers: [2013]
2013,78 unequal: No Solution
Exploring Operation: 33+61=94, Resulting Numbers: [94]
94,78 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: 78:[7, 93, 8], Operations: ['68-60=8']
Exploring Operation: 7+93=100, Resulting Numbers: [8, 100]
Generated Node #0,2,0: 78:[8, 100] Operation: 7+93=100
Exploring Operation: 7+8=15, Resulting Numbers: [93, 15]
Generated Node #0,2,1: 78:[93, 15] Operation: 7+8=15
Exploring Operation: 93-7=86, Resulting Numbers: [8, 86]
Generated Node #0,2,2: 78:[8, 86] Operation: 93-7=86
Exploring Operation: 93-8=85, Resulting Numbers: [7, 85]
Generated Node #0,2,3: 78:[7, 85] Operation: 93-8=85
Exploring Operation: 8-7=1, Resulting Numbers: [93, 1]
Generated Node #0,2,4: 78:[93, 1] Operation: 8-7=1
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 78:[7, 85], Operations: ['68-60=8', '93-8=85']
Exploring Operation: 7*85=595, Resulting Numbers: [595]
595,78 unequal: No Solution
Exploring Operation: 85-7=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[60, 7, 93, 68], Operations: []
Exploring Operation: 68-60=8, Resulting Numbers: [7, 93, 8]
Generated Node #0,2: 78:[7, 93, 8] Operation: 68-60=8
Moving to Node #0,2
Current State: 78:[7, 93, 8], Operations: ['68-60=8']
Exploring Operation: 93-8=85, Resulting Numbers: [7, 85]
Generated Node #0,2,3: 78:[7, 85] Operation: 93-8=85
Moving to Node #0,2,3
Current State: 78:[7, 85], Operations: ['68-60=8', '93-8=85']
Exploring Operation: 85-7=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | mult_heuristic |
[
20,
52,
2,
2
] | 31 | [
"52-20=32",
"2/2=1",
"32-1=31"
] | Current State: 31:[20, 52, 2, 2], Operations: []
Exploring Operation: 52-20=32, Resulting Numbers: [2, 2, 32]
Generated Node #2: [2, 2, 32] from Operation: 52-20=32
Current State: 31:[2, 2, 32], Operations: ['52-20=32']
Exploring Operation: 2/2=1, Resulting Numbers: [32, 1]
Generated Node #3: [32, 1] from Operation: 2/2=1
Current State: 31:[32, 1], Operations: ['52-20=32', '2/2=1']
Exploring Operation: 32-1=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[20, 52, 2, 2], Operations: []
Exploring Operation: 52/2=26, Resulting Numbers: [20, 2, 26]
Generated Node #0,0: 31:[20, 2, 26] Operation: 52/2=26
Moving to Node #0,0
Current State: 31:[20, 2, 26], Operations: ['52/2=26']
Exploring Operation: 20+2=22, Resulting Numbers: [26, 22]
Generated Node #0,0,0: 31:[26, 22] Operation: 20+2=22
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 31:[26, 22], Operations: ['52/2=26', '20+2=22']
Exploring Operation: 26+22=48, Resulting Numbers: [48]
48,31 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 |
[
6,
32,
28,
10
] | 46 | [
"32-28=4",
"10*4=40",
"6+40=46"
] | Current State: 46:[6, 32, 28, 10], Operations: []
Exploring Operation: 32-28=4, Resulting Numbers: [6, 10, 4]
Generated Node #2: [6, 10, 4] from Operation: 32-28=4
Current State: 46:[6, 10, 4], Operations: ['32-28=4']
Exploring Operation: 10*4=40, Resulting Numbers: [6, 40]
Generated Node #3: [6, 40] from Operation: 10*4=40
Current State: 46:[6, 40], Operations: ['32-28=4', '10*4=40']
Exploring Operation: 6+40=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[6, 32, 28, 10], Operations: []
Exploring Operation: 32-10=22, Resulting Numbers: [6, 28, 22]
Generated Node #0,0: 46:[6, 28, 22] Operation: 32-10=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[6, 28, 22], Operations: ['32-10=22']
Exploring Operation: 28-6=22, Resulting Numbers: [22, 22]
Generated Node #0,0,0: 46:[22, 22] Operation: 28-6=22
Moving to Node #0,0,0
Current State: 46:[22, 22], Operations: ['32-10=22', '28-6=22']
Exploring Operation: 22/22=1, Resulting Numbers: [1]
1,46 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 |
[
68,
3,
23,
59
] | 74 | [
"68-23=45",
"45/3=15",
"59+15=74"
] | Current State: 74:[68, 3, 23, 59], Operations: []
Exploring Operation: 68-23=45, Resulting Numbers: [3, 59, 45]
Generated Node #2: [3, 59, 45] from Operation: 68-23=45
Current State: 74:[3, 59, 45], Operations: ['68-23=45']
Exploring Operation: 45/3=15, Resulting Numbers: [59, 15]
Generated Node #3: [59, 15] from Operation: 45/3=15
Current State: 74:[59, 15], Operations: ['68-23=45', '45/3=15']
Exploring Operation: 59+15=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[68, 3, 23, 59], Operations: []
Exploring Operation: 59-23=36, Resulting Numbers: [68, 3, 36]
Generated Node #0,0: 74:[68, 3, 36] Operation: 59-23=36
Exploring Operation: 23+59=82, Resulting Numbers: [68, 3, 82]
Generated Node #0,1: 74:[68, 3, 82] Operation: 23+59=82
Moving to Node #0,0
Current State: 74:[68, 3, 36], Operations: ['59-23=36']
Exploring Operation: 68-36=32, Resulting Numbers: [3, 32]
Generated Node #0,0,0: 74:[3, 32] Operation: 68-36=32
Exploring Operation: 68+3=71, Resulting Numbers: [36, 71]
Generated Node #0,0,1: 74:[36, 71] Operation: 68+3=71
Moving to Node #0,1
Current State: 74:[68, 3, 82], Operations: ['23+59=82']
Exploring Operation: 82-3=79, Resulting Numbers: [68, 79]
Generated Node #0,1,0: 74:[68, 79] Operation: 82-3=79
Exploring Operation: 68+3=71, Resulting Numbers: [82, 71]
Generated Node #0,1,1: 74:[82, 71] Operation: 68+3=71
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 74:[68, 79], Operations: ['23+59=82', '82-3=79']
Exploring Operation: 68+79=147, Resulting Numbers: [147]
147,74 unequal: No Solution
Exploring Operation: 79-68=11, Resulting Numbers: [11]
11,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:[82, 71], Operations: ['23+59=82', '68+3=71']
Exploring Operation: 82-71=11, Resulting Numbers: [11]
11,74 unequal: No Solution
Exploring Operation: 82+71=153, Resulting Numbers: [153]
153,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 74:[36, 71], Operations: ['59-23=36', '68+3=71']
Exploring Operation: 71-36=35, Resulting Numbers: [35]
35,74 unequal: No Solution
Exploring Operation: 36+71=107, Resulting Numbers: [107]
107,74 unequal: No Solution
Moving to Node #0,0,0
Current State: 74:[3, 32], Operations: ['59-23=36', '68-36=32']
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,74 unequal: No Solution
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,74 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
22,
12,
90,
48
] | 32 | [
"22-12=10",
"90-48=42",
"42-10=32"
] | Current State: 32:[22, 12, 90, 48], Operations: []
Exploring Operation: 22-12=10, Resulting Numbers: [90, 48, 10]
Generated Node #2: [90, 48, 10] from Operation: 22-12=10
Current State: 32:[90, 48, 10], Operations: ['22-12=10']
Exploring Operation: 90-48=42, Resulting Numbers: [10, 42]
Generated Node #3: [10, 42] from Operation: 90-48=42
Current State: 32:[10, 42], Operations: ['22-12=10', '90-48=42']
Exploring Operation: 42-10=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[22, 12, 90, 48], Operations: []
Exploring Operation: 90-22=68, Resulting Numbers: [12, 48, 68]
Generated Node #0,0: 32:[12, 48, 68] Operation: 90-22=68
Exploring Operation: 48/12=4, Resulting Numbers: [22, 90, 4]
Generated Node #0,1: 32:[22, 90, 4] Operation: 48/12=4
Exploring Operation: 90-48=42, Resulting Numbers: [22, 12, 42]
Generated Node #0,2: 32:[22, 12, 42] Operation: 90-48=42
Moving to Node #0,2
Current State: 32:[22, 12, 42], Operations: ['90-48=42']
Exploring Operation: 42-12=30, Resulting Numbers: [22, 30]
Generated Node #0,2,0: 32:[22, 30] Operation: 42-12=30
Exploring Operation: 22+12=34, Resulting Numbers: [42, 34]
Generated Node #0,2,1: 32:[42, 34] Operation: 22+12=34
Exploring Operation: 42-22=20, Resulting Numbers: [12, 20]
Generated Node #0,2,2: 32:[12, 20] Operation: 42-22=20
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 32:[22, 30], Operations: ['90-48=42', '42-12=30']
Exploring Operation: 22*30=660, Resulting Numbers: [660]
660,32 unequal: No Solution
Exploring Operation: 30-22=8, Resulting Numbers: [8]
8,32 unequal: No Solution
Exploring Operation: 22+30=52, Resulting Numbers: [52]
52,32 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: 32:[12, 20], Operations: ['90-48=42', '42-22=20']
Exploring Operation: 12*20=240, Resulting Numbers: [240]
240,32 unequal: No Solution
Exploring Operation: 12+20=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[22, 12, 90, 48], Operations: []
Exploring Operation: 90-48=42, Resulting Numbers: [22, 12, 42]
Generated Node #0,2: 32:[22, 12, 42] Operation: 90-48=42
Moving to Node #0,2
Current State: 32:[22, 12, 42], Operations: ['90-48=42']
Exploring Operation: 42-22=20, Resulting Numbers: [12, 20]
Generated Node #0,2,2: 32:[12, 20] Operation: 42-22=20
Moving to Node #0,2,2
Current State: 32:[12, 20], Operations: ['90-48=42', '42-22=20']
Exploring Operation: 12+20=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | sum_heuristic |
[
4,
33,
63,
16
] | 34 | [
"4*16=64",
"63-33=30",
"64-30=34"
] | Current State: 34:[4, 33, 63, 16], Operations: []
Exploring Operation: 4*16=64, Resulting Numbers: [33, 63, 64]
Generated Node #2: [33, 63, 64] from Operation: 4*16=64
Current State: 34:[33, 63, 64], Operations: ['4*16=64']
Exploring Operation: 63-33=30, Resulting Numbers: [64, 30]
Generated Node #3: [64, 30] from Operation: 63-33=30
Current State: 34:[64, 30], Operations: ['4*16=64', '63-33=30']
Exploring Operation: 64-30=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[4, 33, 63, 16], Operations: []
Exploring Operation: 63-33=30, Resulting Numbers: [4, 16, 30]
Generated Node #0,0: 34:[4, 16, 30] Operation: 63-33=30
Exploring Operation: 63-4=59, Resulting Numbers: [33, 16, 59]
Generated Node #0,1: 34:[33, 16, 59] Operation: 63-4=59
Exploring Operation: 63-16=47, Resulting Numbers: [4, 33, 47]
Generated Node #0,2: 34:[4, 33, 47] Operation: 63-16=47
Exploring Operation: 33-16=17, Resulting Numbers: [4, 63, 17]
Generated Node #0,3: 34:[4, 63, 17] Operation: 33-16=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[4, 16, 30], Operations: ['63-33=30']
Exploring Operation: 4+16=20, Resulting Numbers: [30, 20]
Generated Node #0,0,0: 34:[30, 20] Operation: 4+16=20
Exploring Operation: 30-16=14, Resulting Numbers: [4, 14]
Generated Node #0,0,1: 34:[4, 14] Operation: 30-16=14
Exploring Operation: 4+30=34, Resulting Numbers: [16, 34]
Generated Node #0,0,2: 34:[16, 34] Operation: 4+30=34
Exploring Operation: 16/4=4, Resulting Numbers: [30, 4]
Generated Node #0,0,3: 34:[30, 4] Operation: 16/4=4
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 34:[16, 34], Operations: ['63-33=30', '4+30=34']
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 16+34=50, Resulting Numbers: [50]
50,34 unequal: No Solution
Exploring Operation: 16*34=544, Resulting Numbers: [544]
544,34 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: 34:[4, 14], Operations: ['63-33=30', '30-16=14']
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,34 unequal: No Solution
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,34 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: 34:[30, 4], Operations: ['63-33=30', '16/4=4']
Exploring Operation: 30*4=120, Resulting Numbers: [120]
120,34 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,34 unequal: No Solution
Exploring Operation: 30+4=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[4, 33, 63, 16], Operations: []
Exploring Operation: 63-33=30, Resulting Numbers: [4, 16, 30]
Generated Node #0,0: 34:[4, 16, 30] Operation: 63-33=30
Moving to Node #0,0
Current State: 34:[4, 16, 30], Operations: ['63-33=30']
Exploring Operation: 16/4=4, Resulting Numbers: [30, 4]
Generated Node #0,0,3: 34:[30, 4] Operation: 16/4=4
Moving to Node #0,0,3
Current State: 34:[30, 4], Operations: ['63-33=30', '16/4=4']
Exploring Operation: 30+4=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771 | hs_4 | sum_heuristic |
[
42,
43,
67,
30
] | 96 | [
"43-42=1",
"67+30=97",
"97-1=96"
] | Current State: 96:[42, 43, 67, 30], Operations: []
Exploring Operation: 43-42=1, Resulting Numbers: [67, 30, 1]
Generated Node #2: [67, 30, 1] from Operation: 43-42=1
Current State: 96:[67, 30, 1], Operations: ['43-42=1']
Exploring Operation: 67+30=97, Resulting Numbers: [1, 97]
Generated Node #3: [1, 97] from Operation: 67+30=97
Current State: 96:[1, 97], Operations: ['43-42=1', '67+30=97']
Exploring Operation: 97-1=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[42, 43, 67, 30], Operations: []
Exploring Operation: 67-43=24, Resulting Numbers: [42, 30, 24]
Generated Node #0,0: 96:[42, 30, 24] Operation: 67-43=24
Exploring Operation: 67-42=25, Resulting Numbers: [43, 30, 25]
Generated Node #0,1: 96:[43, 30, 25] Operation: 67-42=25
Moving to Node #0,0
Current State: 96:[42, 30, 24], Operations: ['67-43=24']
Exploring Operation: 42-30=12, Resulting Numbers: [24, 12]
Generated Node #0,0,0: 96:[24, 12] Operation: 42-30=12
Exploring Operation: 42-24=18, Resulting Numbers: [30, 18]
Generated Node #0,0,1: 96:[30, 18] Operation: 42-24=18
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 96:[24, 12], Operations: ['67-43=24', '42-30=12']
Exploring Operation: 24/12=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Exploring Operation: 24-12=12, Resulting Numbers: [12]
12,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,1
Current State: 96:[30, 18], Operations: ['67-43=24', '42-24=18']
Exploring Operation: 30+18=48, Resulting Numbers: [48]
48,96 unequal: No Solution
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,96 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: 96:[43, 30, 25], Operations: ['67-42=25']
Exploring Operation: 43-30=13, Resulting Numbers: [25, 13]
Generated Node #0,1,0: 96:[25, 13] Operation: 43-30=13
Exploring Operation: 43-25=18, Resulting Numbers: [30, 18]
Generated Node #0,1,1: 96:[30, 18] Operation: 43-25=18
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 96:[25, 13], Operations: ['67-42=25', '43-30=13']
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,96 unequal: No Solution
Exploring Operation: 25+13=38, Resulting Numbers: [38]
38,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,1,1
Current State: 96:[30, 18], Operations: ['67-42=25', '43-25=18']
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,96 unequal: No Solution
Exploring Operation: 30+18=48, Resulting Numbers: [48]
48,96 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 |
[
50,
25,
39,
88
] | 24 | [
"50-25=25",
"88-39=49",
"49-25=24"
] | Current State: 24:[50, 25, 39, 88], Operations: []
Exploring Operation: 50-25=25, Resulting Numbers: [39, 88, 25]
Generated Node #2: [39, 88, 25] from Operation: 50-25=25
Current State: 24:[39, 88, 25], Operations: ['50-25=25']
Exploring Operation: 88-39=49, Resulting Numbers: [25, 49]
Generated Node #3: [25, 49] from Operation: 88-39=49
Current State: 24:[25, 49], Operations: ['50-25=25', '88-39=49']
Exploring Operation: 49-25=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[50, 25, 39, 88], Operations: []
Exploring Operation: 88-50=38, Resulting Numbers: [25, 39, 38]
Generated Node #0,0: 24:[25, 39, 38] Operation: 88-50=38
Exploring Operation: 50-39=11, Resulting Numbers: [25, 88, 11]
Generated Node #0,1: 24:[25, 88, 11] Operation: 50-39=11
Exploring Operation: 88-39=49, Resulting Numbers: [50, 25, 49]
Generated Node #0,2: 24:[50, 25, 49] Operation: 88-39=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[25, 39, 38], Operations: ['88-50=38']
Exploring Operation: 39-25=14, Resulting Numbers: [38, 14]
Generated Node #0,0,0: 24:[38, 14] Operation: 39-25=14
Exploring Operation: 39-38=1, Resulting Numbers: [25, 1]
Generated Node #0,0,1: 24:[25, 1] Operation: 39-38=1
Exploring Operation: 38-25=13, Resulting Numbers: [39, 13]
Generated Node #0,0,2: 24:[39, 13] Operation: 38-25=13
Moving to Node #0,0,1
Current State: 24:[25, 1], Operations: ['88-50=38', '39-38=1']
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,24 unequal: No Solution
Exploring Operation: 25*1=25, Resulting Numbers: [25]
25,24 unequal: No Solution
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[50, 25, 39, 88], Operations: []
Exploring Operation: 88-50=38, Resulting Numbers: [25, 39, 38]
Generated Node #0,0: 24:[25, 39, 38] Operation: 88-50=38
Moving to Node #0,0
Current State: 24:[25, 39, 38], Operations: ['88-50=38']
Exploring Operation: 39-38=1, Resulting Numbers: [25, 1]
Generated Node #0,0,1: 24:[25, 1] Operation: 39-38=1
Moving to Node #0,0,1
Current State: 24:[25, 1], Operations: ['88-50=38', '39-38=1']
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.