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 |
|---|---|---|---|---|---|---|---|---|
[
46,
60,
63,
93
] | 29 | [
"46*60=2760",
"2760-63=2697",
"2697/93=29"
] | Current State: 29:[46, 60, 63, 93], Operations: []
Exploring Operation: 46*60=2760, Resulting Numbers: [63, 93, 2760]
Generated Node #2: [63, 93, 2760] from Operation: 46*60=2760
Current State: 29:[63, 93, 2760], Operations: ['46*60=2760']
Exploring Operation: 2760-63=2697, Resulting Numbers: [93, 2697]
Generated Node #3: [93, 2697] from Operation: 2760-63=2697
Current State: 29:[93, 2697], Operations: ['46*60=2760', '2760-63=2697']
Exploring Operation: 2697/93=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[46, 60, 63, 93], Operations: []
Exploring Operation: 93-46=47, Resulting Numbers: [60, 63, 47]
Generated Node #0,0: 29:[60, 63, 47] Operation: 93-46=47
Exploring Operation: 93-63=30, Resulting Numbers: [46, 60, 30]
Generated Node #0,1: 29:[46, 60, 30] Operation: 93-63=30
Exploring Operation: 93-60=33, Resulting Numbers: [46, 63, 33]
Generated Node #0,2: 29:[46, 63, 33] Operation: 93-60=33
Moving to Node #0,1
Current State: 29:[46, 60, 30], Operations: ['93-63=30']
Exploring Operation: 60-30=30, Resulting Numbers: [46, 30]
Generated Node #0,1,0: 29:[46, 30] Operation: 60-30=30
Exploring Operation: 46-30=16, Resulting Numbers: [60, 16]
Generated Node #0,1,1: 29:[60, 16] Operation: 46-30=16
Exploring Operation: 60-46=14, Resulting Numbers: [30, 14]
Generated Node #0,1,2: 29:[30, 14] Operation: 60-46=14
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 29:[30, 14], Operations: ['93-63=30', '60-46=14']
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,29 unequal: No Solution
Exploring Operation: 30+14=44, Resulting Numbers: [44]
44,29 unequal: No Solution
Exploring Operation: 30*14=420, Resulting Numbers: [420]
420,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,1,0
Current State: 29:[46, 30], Operations: ['93-63=30', '60-30=30']
Exploring Operation: 46*30=1380, Resulting Numbers: [1380]
1380,29 unequal: No Solution
Exploring Operation: 46-30=16, Resulting Numbers: [16]
16,29 unequal: No Solution
Exploring Operation: 46+30=76, Resulting Numbers: [76]
76,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,1,1
Current State: 29:[60, 16], Operations: ['93-63=30', '46-30=16']
Exploring Operation: 60-16=44, Resulting Numbers: [44]
44,29 unequal: No Solution
Exploring Operation: 60+16=76, Resulting Numbers: [76]
76,29 unequal: No Solution
Exploring Operation: 60*16=960, Resulting Numbers: [960]
960,29 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: 29:[46, 63, 33], Operations: ['93-60=33']
Exploring Operation: 46-33=13, Resulting Numbers: [63, 13]
Generated Node #0,2,0: 29:[63, 13] Operation: 46-33=13
Exploring Operation: 63-46=17, Resulting Numbers: [33, 17]
Generated Node #0,2,1: 29:[33, 17] Operation: 63-46=17
Exploring Operation: 63-33=30, Resulting Numbers: [46, 30]
Generated Node #0,2,2: 29:[46, 30] Operation: 63-33=30
Moving to Node #0,0
Current State: 29:[60, 63, 47], Operations: ['93-46=47']
Exploring Operation: 63-47=16, Resulting Numbers: [60, 16]
Generated Node #0,0,0: 29:[60, 16] Operation: 63-47=16
Exploring Operation: 63-60=3, Resulting Numbers: [47, 3]
Generated Node #0,0,1: 29:[47, 3] Operation: 63-60=3
Exploring Operation: 60-47=13, Resulting Numbers: [63, 13]
Generated Node #0,0,2: 29:[63, 13] Operation: 60-47=13
Moving to Node #0,2,1
Current State: 29:[33, 17], Operations: ['93-60=33', '63-46=17']
Exploring Operation: 33+17=50, Resulting Numbers: [50]
50,29 unequal: No Solution
Exploring Operation: 33-17=16, Resulting Numbers: [16]
16,29 unequal: No Solution
Exploring Operation: 33*17=561, Resulting Numbers: [561]
561,29 unequal: No Solution
Moving to Node #0,2,2
Current State: 29:[46, 30], Operations: ['93-60=33', '63-33=30']
Exploring Operation: 46*30=1380, Resulting Numbers: [1380]
1380,29 unequal: No Solution
Exploring Operation: 46-30=16, Resulting Numbers: [16]
16,29 unequal: No Solution
Exploring Operation: 46+30=76, Resulting Numbers: [76]
76,29 unequal: No Solution
Moving to Node #0,0,1
Current State: 29:[47, 3], Operations: ['93-46=47', '63-60=3']
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,29 unequal: No Solution
Exploring Operation: 47*3=141, Resulting Numbers: [141]
141,29 unequal: No Solution
Exploring Operation: 47+3=50, Resulting Numbers: [50]
50,29 unequal: No Solution
Moving to Node #0,0,0
Current State: 29:[60, 16], Operations: ['93-46=47', '63-47=16']
Exploring Operation: 60-16=44, Resulting Numbers: [44]
44,29 unequal: No Solution
Exploring Operation: 60*16=960, Resulting Numbers: [960]
960,29 unequal: No Solution
Exploring Operation: 60+16=76, Resulting Numbers: [76]
76,29 unequal: No Solution
Moving to Node #0,0,2
Current State: 29:[63, 13], Operations: ['93-46=47', '60-47=13']
Exploring Operation: 63-13=50, Resulting Numbers: [50]
50,29 unequal: No Solution
Exploring Operation: 63*13=819, Resulting Numbers: [819]
819,29 unequal: No Solution
Exploring Operation: 63+13=76, Resulting Numbers: [76]
76,29 unequal: No Solution
Moving to Node #0,2,0
Current State: 29:[63, 13], Operations: ['93-60=33', '46-33=13']
Exploring Operation: 63*13=819, Resulting Numbers: [819]
819,29 unequal: No Solution
Exploring Operation: 63+13=76, Resulting Numbers: [76]
76,29 unequal: No Solution
Exploring Operation: 63-13=50, Resulting Numbers: [50]
50,29 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
13,
13,
5,
92
] | 82 | [
"13*13=169",
"92-5=87",
"169-87=82"
] | Current State: 82:[13, 13, 5, 92], Operations: []
Exploring Operation: 13*13=169, Resulting Numbers: [5, 92, 169]
Generated Node #2: [5, 92, 169] from Operation: 13*13=169
Current State: 82:[5, 92, 169], Operations: ['13*13=169']
Exploring Operation: 92-5=87, Resulting Numbers: [169, 87]
Generated Node #3: [169, 87] from Operation: 92-5=87
Current State: 82:[169, 87], Operations: ['13*13=169', '92-5=87']
Exploring Operation: 169-87=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[13, 13, 5, 92], Operations: []
Exploring Operation: 92-13=79, Resulting Numbers: [13, 5, 79]
Generated Node #0,0: 82:[13, 5, 79] Operation: 92-13=79
Exploring Operation: 13-13=0, Resulting Numbers: [5, 92, 0]
Generated Node #0,1: 82:[5, 92, 0] Operation: 13-13=0
Exploring Operation: 13/13=1, Resulting Numbers: [5, 92, 1]
Generated Node #0,2: 82:[5, 92, 1] Operation: 13/13=1
Moving to Node #0,2
Current State: 82:[5, 92, 1], Operations: ['13/13=1']
Exploring Operation: 92-5=87, Resulting Numbers: [1, 87]
Generated Node #0,2,0: 82:[1, 87] Operation: 92-5=87
Exploring Operation: 92-1=91, Resulting Numbers: [5, 91]
Generated Node #0,2,1: 82:[5, 91] Operation: 92-1=91
Exploring Operation: 5-1=4, Resulting Numbers: [92, 4]
Generated Node #0,2,2: 82:[92, 4] Operation: 5-1=4
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 82:[1, 87], Operations: ['13/13=1', '92-5=87']
Exploring Operation: 87-1=86, Resulting Numbers: [86]
86,82 unequal: No Solution
Exploring Operation: 1*87=87, Resulting Numbers: [87]
87,82 unequal: No Solution
Exploring Operation: 87/1=87, Resulting Numbers: [87]
87,82 unequal: No Solution
No 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: 82:[5, 91], Operations: ['13/13=1', '92-1=91']
Exploring Operation: 91-5=86, Resulting Numbers: [86]
86,82 unequal: No Solution
Exploring Operation: 5*91=455, Resulting Numbers: [455]
455,82 unequal: No Solution
Exploring Operation: 5+91=96, Resulting Numbers: [96]
96,82 unequal: No Solution
No 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: 82:[92, 4], Operations: ['13/13=1', '5-1=4']
Exploring Operation: 92-4=88, Resulting Numbers: [88]
88,82 unequal: No Solution
Exploring Operation: 92+4=96, Resulting Numbers: [96]
96,82 unequal: No Solution
Exploring Operation: 92/4=23, Resulting Numbers: [23]
23,82 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: 82:[5, 92, 0], Operations: ['13-13=0']
Exploring Operation: 92*0=0, Resulting Numbers: [5, 0]
Generated Node #0,1,0: 82:[5, 0] Operation: 92*0=0
Exploring Operation: 5*0=0, Resulting Numbers: [92, 0]
Generated Node #0,1,1: 82:[92, 0] Operation: 5*0=0
Exploring Operation: 92-5=87, Resulting Numbers: [0, 87]
Generated Node #0,1,2: 82:[0, 87] Operation: 92-5=87
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 82:[5, 0], Operations: ['13-13=0', '92*0=0']
Exploring Operation: 5+0=5, Resulting Numbers: [5]
5,82 unequal: No Solution
Exploring Operation: 5-0=5, Resulting Numbers: [5]
5,82 unequal: No Solution
Exploring Operation: 5*0=0, Resulting Numbers: [0]
0,82 unequal: No Solution
No 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: 82:[0, 87], Operations: ['13-13=0', '92-5=87']
Exploring Operation: 87-0=87, Resulting Numbers: [87]
87,82 unequal: No Solution
Exploring Operation: 0*87=0, Resulting Numbers: [0]
0,82 unequal: No Solution
Exploring Operation: 0+87=87, Resulting Numbers: [87]
87,82 unequal: No Solution
No 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: 82:[92, 0], Operations: ['13-13=0', '5*0=0']
Exploring Operation: 92+0=92, Resulting Numbers: [92]
92,82 unequal: No Solution
Exploring Operation: 92-0=92, Resulting Numbers: [92]
92,82 unequal: No Solution
Exploring Operation: 92*0=0, Resulting Numbers: [0]
0,82 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: 82:[13, 5, 79], Operations: ['92-13=79']
Exploring Operation: 5+79=84, Resulting Numbers: [13, 84]
Generated Node #0,0,0: 82:[13, 84] Operation: 5+79=84
Exploring Operation: 13-5=8, Resulting Numbers: [79, 8]
Generated Node #0,0,1: 82:[79, 8] Operation: 13-5=8
Exploring Operation: 13+79=92, Resulting Numbers: [5, 92]
Generated Node #0,0,2: 82:[5, 92] Operation: 13+79=92
Moving to Node #0,0,1
Current State: 82:[79, 8], Operations: ['92-13=79', '13-5=8']
Exploring Operation: 79-8=71, Resulting Numbers: [71]
71,82 unequal: No Solution
Exploring Operation: 79+8=87, Resulting Numbers: [87]
87,82 unequal: No Solution
Exploring Operation: 79*8=632, Resulting Numbers: [632]
632,82 unequal: No Solution
Moving to Node #0,0,0
Current State: 82:[13, 84], Operations: ['92-13=79', '5+79=84']
Exploring Operation: 13*84=1092, Resulting Numbers: [1092]
1092,82 unequal: No Solution
Exploring Operation: 13+84=97, Resulting Numbers: [97]
97,82 unequal: No Solution
Exploring Operation: 84-13=71, Resulting Numbers: [71]
71,82 unequal: No Solution
Moving to Node #0,0,2
Current State: 82:[5, 92], Operations: ['92-13=79', '13+79=92']
Exploring Operation: 5*92=460, Resulting Numbers: [460]
460,82 unequal: No Solution
Exploring Operation: 92-5=87, Resulting Numbers: [87]
87,82 unequal: No Solution
Exploring Operation: 5+92=97, Resulting Numbers: [97]
97,82 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
60,
60,
7,
10
] | 71 | [
"60/60=1",
"7*10=70",
"1+70=71"
] | Current State: 71:[60, 60, 7, 10], Operations: []
Exploring Operation: 60/60=1, Resulting Numbers: [7, 10, 1]
Generated Node #2: [7, 10, 1] from Operation: 60/60=1
Current State: 71:[7, 10, 1], Operations: ['60/60=1']
Exploring Operation: 7*10=70, Resulting Numbers: [1, 70]
Generated Node #3: [1, 70] from Operation: 7*10=70
Current State: 71:[1, 70], Operations: ['60/60=1', '7*10=70']
Exploring Operation: 1+70=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[60, 60, 7, 10], Operations: []
Exploring Operation: 60+7=67, Resulting Numbers: [60, 10, 67]
Generated Node #0,0: 71:[60, 10, 67] Operation: 60+7=67
Exploring Operation: 7*10=70, Resulting Numbers: [60, 60, 70]
Generated Node #0,1: 71:[60, 60, 70] Operation: 7*10=70
Exploring Operation: 60+10=70, Resulting Numbers: [60, 7, 70]
Generated Node #0,2: 71:[60, 7, 70] Operation: 60+10=70
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[60, 60, 70], Operations: ['7*10=70']
Exploring Operation: 60+70=130, Resulting Numbers: [60, 130]
Generated Node #0,1,0: 71:[60, 130] Operation: 60+70=130
Exploring Operation: 60+60=120, Resulting Numbers: [70, 120]
Generated Node #0,1,1: 71:[70, 120] Operation: 60+60=120
Exploring Operation: 60+70=130, Resulting Numbers: [60, 130]
Generated Node #0,1,2: 71:[60, 130] Operation: 60+70=130
Moving to Node #0,1,1
Current State: 71:[70, 120], Operations: ['7*10=70', '60+60=120']
Exploring Operation: 120-70=50, Resulting Numbers: [50]
50,71 unequal: No Solution
Exploring Operation: 70*120=8400, Resulting Numbers: [8400]
8400,71 unequal: No Solution
Exploring Operation: 70+120=190, Resulting Numbers: [190]
190,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[60, 130], Operations: ['7*10=70', '60+70=130']
Exploring Operation: 60*130=7800, Resulting Numbers: [7800]
7800,71 unequal: No Solution
Exploring Operation: 60+130=190, Resulting Numbers: [190]
190,71 unequal: No Solution
Exploring Operation: 130-60=70, Resulting Numbers: [70]
70,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[60, 130], Operations: ['7*10=70', '60+70=130']
Exploring Operation: 130-60=70, Resulting Numbers: [70]
70,71 unequal: No Solution
Exploring Operation: 60+130=190, Resulting Numbers: [190]
190,71 unequal: No Solution
Exploring Operation: 60*130=7800, Resulting Numbers: [7800]
7800,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,0
Current State: 71:[60, 10, 67], Operations: ['60+7=67']
Exploring Operation: 10+67=77, Resulting Numbers: [60, 77]
Generated Node #0,0,0: 71:[60, 77] Operation: 10+67=77
Exploring Operation: 60+10=70, Resulting Numbers: [67, 70]
Generated Node #0,0,1: 71:[67, 70] Operation: 60+10=70
Exploring Operation: 60-10=50, Resulting Numbers: [67, 50]
Generated Node #0,0,2: 71:[67, 50] Operation: 60-10=50
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 71:[67, 70], Operations: ['60+7=67', '60+10=70']
Exploring Operation: 67+70=137, Resulting Numbers: [137]
137,71 unequal: No Solution
Exploring Operation: 70-67=3, Resulting Numbers: [3]
3,71 unequal: No Solution
Exploring Operation: 67*70=4690, Resulting Numbers: [4690]
4690,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,0,0
Current State: 71:[60, 77], Operations: ['60+7=67', '10+67=77']
Exploring Operation: 60+77=137, Resulting Numbers: [137]
137,71 unequal: No Solution
Exploring Operation: 60*77=4620, Resulting Numbers: [4620]
4620,71 unequal: No Solution
Exploring Operation: 77-60=17, Resulting Numbers: [17]
17,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,0,2
Current State: 71:[67, 50], Operations: ['60+7=67', '60-10=50']
Exploring Operation: 67+50=117, Resulting Numbers: [117]
117,71 unequal: No Solution
Exploring Operation: 67*50=3350, Resulting Numbers: [3350]
3350,71 unequal: No Solution
Exploring Operation: 67-50=17, Resulting Numbers: [17]
17,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:[60, 7, 70], Operations: ['60+10=70']
Exploring Operation: 60+7=67, Resulting Numbers: [70, 67]
Generated Node #0,2,0: 71:[70, 67] Operation: 60+7=67
Exploring Operation: 7+70=77, Resulting Numbers: [60, 77]
Generated Node #0,2,1: 71:[60, 77] Operation: 7+70=77
Exploring Operation: 60-7=53, Resulting Numbers: [70, 53]
Generated Node #0,2,2: 71:[70, 53] Operation: 60-7=53
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 71:[70, 67], Operations: ['60+10=70', '60+7=67']
Exploring Operation: 70*67=4690, Resulting Numbers: [4690]
4690,71 unequal: No Solution
Exploring Operation: 70+67=137, Resulting Numbers: [137]
137,71 unequal: No Solution
Exploring Operation: 70-67=3, Resulting Numbers: [3]
3,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:[60, 77], Operations: ['60+10=70', '7+70=77']
Exploring Operation: 60*77=4620, Resulting Numbers: [4620]
4620,71 unequal: No Solution
Exploring Operation: 60+77=137, Resulting Numbers: [137]
137,71 unequal: No Solution
Exploring Operation: 77-60=17, Resulting Numbers: [17]
17,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,2
Current State: 71:[70, 53], Operations: ['60+10=70', '60-7=53']
Exploring Operation: 70-53=17, Resulting Numbers: [17]
17,71 unequal: No Solution
Exploring Operation: 70*53=3710, Resulting Numbers: [3710]
3710,71 unequal: No Solution
Exploring Operation: 70+53=123, Resulting Numbers: [123]
123,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
No solution found.
| 0 | hs_3 | mult_heuristic |
[
92,
85,
58,
47
] | 98 | [
"92-85=7",
"58+47=105",
"105-7=98"
] | Current State: 98:[92, 85, 58, 47], Operations: []
Exploring Operation: 92-85=7, Resulting Numbers: [58, 47, 7]
Generated Node #2: [58, 47, 7] from Operation: 92-85=7
Current State: 98:[58, 47, 7], Operations: ['92-85=7']
Exploring Operation: 58+47=105, Resulting Numbers: [7, 105]
Generated Node #3: [7, 105] from Operation: 58+47=105
Current State: 98:[7, 105], Operations: ['92-85=7', '58+47=105']
Exploring Operation: 105-7=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[92, 85, 58, 47], Operations: []
Exploring Operation: 92-85=7, Resulting Numbers: [58, 47, 7]
Generated Node #0,0: 98:[58, 47, 7] Operation: 92-85=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[58, 47, 7], Operations: ['92-85=7']
Exploring Operation: 58-47=11, Resulting Numbers: [7, 11]
Generated Node #0,0,0: 98:[7, 11] Operation: 58-47=11
Moving to Node #0,0,0
Current State: 98:[7, 11], Operations: ['92-85=7', '58-47=11']
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,98 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 |
[
42,
82,
18,
75
] | 53 | [
"82-42=40",
"18+75=93",
"93-40=53"
] | Current State: 53:[42, 82, 18, 75], Operations: []
Exploring Operation: 82-42=40, Resulting Numbers: [18, 75, 40]
Generated Node #2: [18, 75, 40] from Operation: 82-42=40
Current State: 53:[18, 75, 40], Operations: ['82-42=40']
Exploring Operation: 18+75=93, Resulting Numbers: [40, 93]
Generated Node #3: [40, 93] from Operation: 18+75=93
Current State: 53:[40, 93], Operations: ['82-42=40', '18+75=93']
Exploring Operation: 93-40=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[42, 82, 18, 75], Operations: []
Exploring Operation: 42-18=24, Resulting Numbers: [82, 75, 24]
Generated Node #0,0: 53:[82, 75, 24] Operation: 42-18=24
Exploring Operation: 42+18=60, Resulting Numbers: [82, 75, 60]
Generated Node #0,1: 53:[82, 75, 60] Operation: 42+18=60
Exploring Operation: 82-18=64, Resulting Numbers: [42, 75, 64]
Generated Node #0,2: 53:[42, 75, 64] Operation: 82-18=64
Exploring Operation: 75-18=57, Resulting Numbers: [42, 82, 57]
Generated Node #0,3: 53:[42, 82, 57] Operation: 75-18=57
Exploring Operation: 82-42=40, Resulting Numbers: [18, 75, 40]
Generated Node #0,4: 53:[18, 75, 40] Operation: 82-42=40
Start Sub Search at level 1: Moving to Node #0,2
Current State: 53:[42, 75, 64], Operations: ['82-18=64']
Exploring Operation: 75-64=11, Resulting Numbers: [42, 11]
Generated Node #0,2,0: 53:[42, 11] Operation: 75-64=11
Exploring Operation: 42+64=106, Resulting Numbers: [75, 106]
Generated Node #0,2,1: 53:[75, 106] Operation: 42+64=106
Exploring Operation: 42+75=117, Resulting Numbers: [64, 117]
Generated Node #0,2,2: 53:[64, 117] Operation: 42+75=117
Exploring Operation: 75-42=33, Resulting Numbers: [64, 33]
Generated Node #0,2,3: 53:[64, 33] Operation: 75-42=33
Exploring Operation: 64-42=22, Resulting Numbers: [75, 22]
Generated Node #0,2,4: 53:[75, 22] Operation: 64-42=22
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 53:[64, 33], Operations: ['82-18=64', '75-42=33']
Exploring Operation: 64-33=31, Resulting Numbers: [31]
31,53 unequal: No Solution
Exploring Operation: 64+33=97, Resulting Numbers: [97]
97,53 unequal: No Solution
Exploring Operation: 64*33=2112, Resulting Numbers: [2112]
2112,53 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: 53:[42, 11], Operations: ['82-18=64', '75-64=11']
Exploring Operation: 42*11=462, Resulting Numbers: [462]
462,53 unequal: No Solution
Exploring Operation: 42+11=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[42, 82, 18, 75], Operations: []
Exploring Operation: 82-18=64, Resulting Numbers: [42, 75, 64]
Generated Node #0,2: 53:[42, 75, 64] Operation: 82-18=64
Moving to Node #0,2
Current State: 53:[42, 75, 64], Operations: ['82-18=64']
Exploring Operation: 75-64=11, Resulting Numbers: [42, 11]
Generated Node #0,2,0: 53:[42, 11] Operation: 75-64=11
Moving to Node #0,2,0
Current State: 53:[42, 11], Operations: ['82-18=64', '75-64=11']
Exploring Operation: 42+11=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_5 | sum_heuristic |
[
42,
28,
34,
12
] | 92 | [
"42+28=70",
"34-12=22",
"70+22=92"
] | Current State: 92:[42, 28, 34, 12], Operations: []
Exploring Operation: 42+28=70, Resulting Numbers: [34, 12, 70]
Generated Node #2: [34, 12, 70] from Operation: 42+28=70
Current State: 92:[34, 12, 70], Operations: ['42+28=70']
Exploring Operation: 34-12=22, Resulting Numbers: [70, 22]
Generated Node #3: [70, 22] from Operation: 34-12=22
Current State: 92:[70, 22], Operations: ['42+28=70', '34-12=22']
Exploring Operation: 70+22=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[42, 28, 34, 12], Operations: []
Exploring Operation: 34+12=46, Resulting Numbers: [42, 28, 46]
Generated Node #0,0: 92:[42, 28, 46] Operation: 34+12=46
Exploring Operation: 28+12=40, Resulting Numbers: [42, 34, 40]
Generated Node #0,1: 92:[42, 34, 40] Operation: 28+12=40
Exploring Operation: 34-12=22, Resulting Numbers: [42, 28, 22]
Generated Node #0,2: 92:[42, 28, 22] Operation: 34-12=22
Exploring Operation: 42-34=8, Resulting Numbers: [28, 12, 8]
Generated Node #0,3: 92:[28, 12, 8] Operation: 42-34=8
Exploring Operation: 34-28=6, Resulting Numbers: [42, 12, 6]
Generated Node #0,4: 92:[42, 12, 6] Operation: 34-28=6
Moving to Node #0,0
Current State: 92:[42, 28, 46], Operations: ['34+12=46']
Exploring Operation: 42+46=88, Resulting Numbers: [28, 88]
Generated Node #0,0,0: 92:[28, 88] Operation: 42+46=88
Exploring Operation: 46-28=18, Resulting Numbers: [42, 18]
Generated Node #0,0,1: 92:[42, 18] Operation: 46-28=18
Exploring Operation: 42-28=14, Resulting Numbers: [46, 14]
Generated Node #0,0,2: 92:[46, 14] Operation: 42-28=14
Exploring Operation: 46-42=4, Resulting Numbers: [28, 4]
Generated Node #0,0,3: 92:[28, 4] Operation: 46-42=4
Exploring Operation: 42+28=70, Resulting Numbers: [46, 70]
Generated Node #0,0,4: 92:[46, 70] Operation: 42+28=70
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 92:[28, 4], Operations: ['34+12=46', '46-42=4']
Exploring Operation: 28+4=32, Resulting Numbers: [32]
32,92 unequal: No Solution
Exploring Operation: 28*4=112, Resulting Numbers: [112]
112,92 unequal: No Solution
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,92 unequal: No Solution
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,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,0
Current State: 92:[28, 88], Operations: ['34+12=46', '42+46=88']
Exploring Operation: 28+88=116, Resulting Numbers: [116]
116,92 unequal: No Solution
Exploring Operation: 88-28=60, Resulting Numbers: [60]
60,92 unequal: No Solution
Exploring Operation: 28*88=2464, Resulting Numbers: [2464]
2464,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,1
Current State: 92:[42, 18], Operations: ['34+12=46', '46-28=18']
Exploring Operation: 42-18=24, Resulting Numbers: [24]
24,92 unequal: No Solution
Exploring Operation: 42*18=756, Resulting Numbers: [756]
756,92 unequal: No Solution
Exploring Operation: 42+18=60, Resulting Numbers: [60]
60,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,2
Current State: 92:[46, 14], Operations: ['34+12=46', '42-28=14']
Exploring Operation: 46*14=644, Resulting Numbers: [644]
644,92 unequal: No Solution
Exploring Operation: 46+14=60, Resulting Numbers: [60]
60,92 unequal: No Solution
Exploring Operation: 46-14=32, Resulting Numbers: [32]
32,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,4
Current State: 92:[46, 70], Operations: ['34+12=46', '42+28=70']
Exploring Operation: 46+70=116, Resulting Numbers: [116]
116,92 unequal: No Solution
Exploring Operation: 70-46=24, Resulting Numbers: [24]
24,92 unequal: No Solution
Exploring Operation: 46*70=3220, Resulting Numbers: [3220]
3220,92 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: 92:[42, 28, 22], Operations: ['34-12=22']
Exploring Operation: 42+28=70, Resulting Numbers: [22, 70]
Generated Node #0,2,0: 92:[22, 70] Operation: 42+28=70
Exploring Operation: 28+22=50, Resulting Numbers: [42, 50]
Generated Node #0,2,1: 92:[42, 50] Operation: 28+22=50
Exploring Operation: 42-28=14, Resulting Numbers: [22, 14]
Generated Node #0,2,2: 92:[22, 14] Operation: 42-28=14
Exploring Operation: 28-22=6, Resulting Numbers: [42, 6]
Generated Node #0,2,3: 92:[42, 6] Operation: 28-22=6
Exploring Operation: 42-22=20, Resulting Numbers: [28, 20]
Generated Node #0,2,4: 92:[28, 20] Operation: 42-22=20
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 92:[42, 6], Operations: ['34-12=22', '28-22=6']
Exploring Operation: 42+6=48, Resulting Numbers: [48]
48,92 unequal: No Solution
Exploring Operation: 42*6=252, Resulting Numbers: [252]
252,92 unequal: No Solution
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,92 unequal: No Solution
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,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,2,1
Current State: 92:[42, 50], Operations: ['34-12=22', '28+22=50']
Exploring Operation: 50-42=8, Resulting Numbers: [8]
8,92 unequal: No Solution
Exploring Operation: 42*50=2100, Resulting Numbers: [2100]
2100,92 unequal: No Solution
Exploring Operation: 42+50=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[42, 28, 34, 12], Operations: []
Exploring Operation: 34-12=22, Resulting Numbers: [42, 28, 22]
Generated Node #0,2: 92:[42, 28, 22] Operation: 34-12=22
Moving to Node #0,2
Current State: 92:[42, 28, 22], Operations: ['34-12=22']
Exploring Operation: 28+22=50, Resulting Numbers: [42, 50]
Generated Node #0,2,1: 92:[42, 50] Operation: 28+22=50
Moving to Node #0,2,1
Current State: 92:[42, 50], Operations: ['34-12=22', '28+22=50']
Exploring Operation: 42+50=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.963542 | hs_5 | mult_heuristic |
[
4,
98,
33,
6
] | 59 | [
"98+6=104",
"104/4=26",
"33+26=59"
] | Current State: 59:[4, 98, 33, 6], Operations: []
Exploring Operation: 98+6=104, Resulting Numbers: [4, 33, 104]
Generated Node #2: [4, 33, 104] from Operation: 98+6=104
Current State: 59:[4, 33, 104], Operations: ['98+6=104']
Exploring Operation: 104/4=26, Resulting Numbers: [33, 26]
Generated Node #3: [33, 26] from Operation: 104/4=26
Current State: 59:[33, 26], Operations: ['98+6=104', '104/4=26']
Exploring Operation: 33+26=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[4, 98, 33, 6], Operations: []
Exploring Operation: 4+33=37, Resulting Numbers: [98, 6, 37]
Generated Node #0,0: 59:[98, 6, 37] Operation: 4+33=37
Exploring Operation: 4*6=24, Resulting Numbers: [98, 33, 24]
Generated Node #0,1: 59:[98, 33, 24] Operation: 4*6=24
Exploring Operation: 98-4=94, Resulting Numbers: [33, 6, 94]
Generated Node #0,2: 59:[33, 6, 94] Operation: 98-4=94
Exploring Operation: 4+6=10, Resulting Numbers: [98, 33, 10]
Generated Node #0,3: 59:[98, 33, 10] Operation: 4+6=10
Moving to Node #0,1
Current State: 59:[98, 33, 24], Operations: ['4*6=24']
Exploring Operation: 98-24=74, Resulting Numbers: [33, 74]
Generated Node #0,1,0: 59:[33, 74] Operation: 98-24=74
Exploring Operation: 33+24=57, Resulting Numbers: [98, 57]
Generated Node #0,1,1: 59:[98, 57] Operation: 33+24=57
Exploring Operation: 98+24=122, Resulting Numbers: [33, 122]
Generated Node #0,1,2: 59:[33, 122] Operation: 98+24=122
Exploring Operation: 98-33=65, Resulting Numbers: [24, 65]
Generated Node #0,1,3: 59:[24, 65] Operation: 98-33=65
Moving to Node #0,2
Current State: 59:[33, 6, 94], Operations: ['98-4=94']
Exploring Operation: 33-6=27, Resulting Numbers: [94, 27]
Generated Node #0,2,0: 59:[94, 27] Operation: 33-6=27
Exploring Operation: 94-33=61, Resulting Numbers: [6, 61]
Generated Node #0,2,1: 59:[6, 61] Operation: 94-33=61
Exploring Operation: 94-6=88, Resulting Numbers: [33, 88]
Generated Node #0,2,2: 59:[33, 88] Operation: 94-6=88
Exploring Operation: 33+6=39, Resulting Numbers: [94, 39]
Generated Node #0,2,3: 59:[94, 39] Operation: 33+6=39
Moving to Node #0,0
Current State: 59:[98, 6, 37], Operations: ['4+33=37']
Exploring Operation: 98-6=92, Resulting Numbers: [37, 92]
Generated Node #0,0,0: 59:[37, 92] Operation: 98-6=92
Exploring Operation: 98+6=104, Resulting Numbers: [37, 104]
Generated Node #0,0,1: 59:[37, 104] Operation: 98+6=104
Exploring Operation: 98-37=61, Resulting Numbers: [6, 61]
Generated Node #0,0,2: 59:[6, 61] Operation: 98-37=61
Exploring Operation: 6+37=43, Resulting Numbers: [98, 43]
Generated Node #0,0,3: 59:[98, 43] Operation: 6+37=43
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 59:[37, 92], Operations: ['4+33=37', '98-6=92']
Exploring Operation: 37+92=129, Resulting Numbers: [129]
129,59 unequal: No Solution
Exploring Operation: 92-37=55, Resulting Numbers: [55]
55,59 unequal: No Solution
Exploring Operation: 37*92=3404, Resulting Numbers: [3404]
3404,59 unequal: No Solution
No 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: 59:[6, 61], Operations: ['4+33=37', '98-37=61']
Exploring Operation: 6+61=67, Resulting Numbers: [67]
67,59 unequal: No Solution
Exploring Operation: 61-6=55, Resulting Numbers: [55]
55,59 unequal: No Solution
Exploring Operation: 6*61=366, Resulting Numbers: [366]
366,59 unequal: No Solution
No 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: 59:[98, 43], Operations: ['4+33=37', '6+37=43']
Exploring Operation: 98-43=55, Resulting Numbers: [55]
55,59 unequal: No Solution
Exploring Operation: 98+43=141, Resulting Numbers: [141]
141,59 unequal: No Solution
Exploring Operation: 98*43=4214, Resulting Numbers: [4214]
4214,59 unequal: No Solution
No 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: 59:[37, 104], Operations: ['4+33=37', '98+6=104']
Exploring Operation: 104-37=67, Resulting Numbers: [67]
67,59 unequal: No Solution
Exploring Operation: 37+104=141, Resulting Numbers: [141]
141,59 unequal: No Solution
Exploring Operation: 37*104=3848, Resulting Numbers: [3848]
3848,59 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: 59:[98, 33, 10], Operations: ['4+6=10']
Exploring Operation: 33+10=43, Resulting Numbers: [98, 43]
Generated Node #0,3,0: 59:[98, 43] Operation: 33+10=43
Exploring Operation: 98+10=108, Resulting Numbers: [33, 108]
Generated Node #0,3,1: 59:[33, 108] Operation: 98+10=108
Exploring Operation: 98-33=65, Resulting Numbers: [10, 65]
Generated Node #0,3,2: 59:[10, 65] Operation: 98-33=65
Exploring Operation: 98-10=88, Resulting Numbers: [33, 88]
Generated Node #0,3,3: 59:[33, 88] Operation: 98-10=88
Moving to Node #0,1,0
Current State: 59:[33, 74], Operations: ['4*6=24', '98-24=74']
Exploring Operation: 33+74=107, Resulting Numbers: [107]
107,59 unequal: No Solution
Exploring Operation: 74-33=41, Resulting Numbers: [41]
41,59 unequal: No Solution
Exploring Operation: 33*74=2442, Resulting Numbers: [2442]
2442,59 unequal: No Solution
Moving to Node #0,1,3
Current State: 59:[24, 65], Operations: ['4*6=24', '98-33=65']
Exploring Operation: 65-24=41, Resulting Numbers: [41]
41,59 unequal: No Solution
Exploring Operation: 24*65=1560, Resulting Numbers: [1560]
1560,59 unequal: No Solution
Exploring Operation: 24+65=89, Resulting Numbers: [89]
89,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[98, 57], Operations: ['4*6=24', '33+24=57']
Exploring Operation: 98*57=5586, Resulting Numbers: [5586]
5586,59 unequal: No Solution
Exploring Operation: 98-57=41, Resulting Numbers: [41]
41,59 unequal: No Solution
Exploring Operation: 98+57=155, Resulting Numbers: [155]
155,59 unequal: No Solution
Moving to Node #0,2,3
Current State: 59:[94, 39], Operations: ['98-4=94', '33+6=39']
Exploring Operation: 94*39=3666, Resulting Numbers: [3666]
3666,59 unequal: No Solution
Exploring Operation: 94+39=133, Resulting Numbers: [133]
133,59 unequal: No Solution
Exploring Operation: 94-39=55, Resulting Numbers: [55]
55,59 unequal: No Solution
Moving to Node #0,2,2
Current State: 59:[33, 88], Operations: ['98-4=94', '94-6=88']
Exploring Operation: 33+88=121, Resulting Numbers: [121]
121,59 unequal: No Solution
Exploring Operation: 88-33=55, Resulting Numbers: [55]
55,59 unequal: No Solution
Exploring Operation: 33*88=2904, Resulting Numbers: [2904]
2904,59 unequal: No Solution
Moving to Node #0,3,3
Current State: 59:[33, 88], Operations: ['4+6=10', '98-10=88']
Exploring Operation: 33+88=121, Resulting Numbers: [121]
121,59 unequal: No Solution
Exploring Operation: 33*88=2904, Resulting Numbers: [2904]
2904,59 unequal: No Solution
Exploring Operation: 88-33=55, Resulting Numbers: [55]
55,59 unequal: No Solution
Moving to Node #0,2,1
Current State: 59:[6, 61], Operations: ['98-4=94', '94-33=61']
Exploring Operation: 6+61=67, Resulting Numbers: [67]
67,59 unequal: No Solution
Exploring Operation: 6*61=366, Resulting Numbers: [366]
366,59 unequal: No Solution
Exploring Operation: 61-6=55, Resulting Numbers: [55]
55,59 unequal: No Solution
Moving to Node #0,3,2
Current State: 59:[10, 65], Operations: ['4+6=10', '98-33=65']
Exploring Operation: 10+65=75, Resulting Numbers: [75]
75,59 unequal: No Solution
Exploring Operation: 10*65=650, Resulting Numbers: [650]
650,59 unequal: No Solution
Exploring Operation: 65-10=55, Resulting Numbers: [55]
55,59 unequal: No Solution
Moving to Node #0,3,0
Current State: 59:[98, 43], Operations: ['4+6=10', '33+10=43']
Exploring Operation: 98+43=141, Resulting Numbers: [141]
141,59 unequal: No Solution
Exploring Operation: 98-43=55, Resulting Numbers: [55]
55,59 unequal: No Solution
Exploring Operation: 98*43=4214, Resulting Numbers: [4214]
4214,59 unequal: No Solution
Moving to Node #0,2,0
Current State: 59:[94, 27], Operations: ['98-4=94', '33-6=27']
Exploring Operation: 94+27=121, Resulting Numbers: [121]
121,59 unequal: No Solution
Exploring Operation: 94-27=67, Resulting Numbers: [67]
67,59 unequal: No Solution
Exploring Operation: 94*27=2538, Resulting Numbers: [2538]
2538,59 unequal: No Solution
Moving to Node #0,3,1
Current State: 59:[33, 108], Operations: ['4+6=10', '98+10=108']
Exploring Operation: 33*108=3564, Resulting Numbers: [3564]
3564,59 unequal: No Solution
Exploring Operation: 108-33=75, Resulting Numbers: [75]
75,59 unequal: No Solution
Exploring Operation: 33+108=141, Resulting Numbers: [141]
141,59 unequal: No Solution
Moving to Node #0,1,2
Current State: 59:[33, 122], Operations: ['4*6=24', '98+24=122']
Exploring Operation: 122-33=89, Resulting Numbers: [89]
89,59 unequal: No Solution
Exploring Operation: 33+122=155, Resulting Numbers: [155]
155,59 unequal: No Solution
Exploring Operation: 33*122=4026, Resulting Numbers: [4026]
4026,59 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
38,
33,
45,
7
] | 57 | [
"38-33=5",
"45+7=52",
"5+52=57"
] | Current State: 57:[38, 33, 45, 7], Operations: []
Exploring Operation: 38-33=5, Resulting Numbers: [45, 7, 5]
Generated Node #2: [45, 7, 5] from Operation: 38-33=5
Current State: 57:[45, 7, 5], Operations: ['38-33=5']
Exploring Operation: 45+7=52, Resulting Numbers: [5, 52]
Generated Node #3: [5, 52] from Operation: 45+7=52
Current State: 57:[5, 52], Operations: ['38-33=5', '45+7=52']
Exploring Operation: 5+52=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[38, 33, 45, 7], Operations: []
Exploring Operation: 38-33=5, Resulting Numbers: [45, 7, 5]
Generated Node #0,0: 57:[45, 7, 5] Operation: 38-33=5
Exploring Operation: 45-38=7, Resulting Numbers: [33, 7, 7]
Generated Node #0,1: 57:[33, 7, 7] Operation: 45-38=7
Moving to Node #0,0
Current State: 57:[45, 7, 5], Operations: ['38-33=5']
Exploring Operation: 45+7=52, Resulting Numbers: [5, 52]
Generated Node #0,0,0: 57:[5, 52] Operation: 45+7=52
Exploring Operation: 45/5=9, Resulting Numbers: [7, 9]
Generated Node #0,0,1: 57:[7, 9] Operation: 45/5=9
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 57:[5, 52], Operations: ['38-33=5', '45+7=52']
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,57 unequal: No Solution
Exploring Operation: 5+52=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[38, 33, 45, 7], Operations: []
Exploring Operation: 38-33=5, Resulting Numbers: [45, 7, 5]
Generated Node #0,0: 57:[45, 7, 5] Operation: 38-33=5
Moving to Node #0,0
Current State: 57:[45, 7, 5], Operations: ['38-33=5']
Exploring Operation: 45+7=52, Resulting Numbers: [5, 52]
Generated Node #0,0,0: 57:[5, 52] Operation: 45+7=52
Moving to Node #0,0,0
Current State: 57:[5, 52], Operations: ['38-33=5', '45+7=52']
Exploring Operation: 5+52=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
83,
60,
40,
57
] | 41 | [
"83+40=123",
"60-57=3",
"123/3=41"
] | Current State: 41:[83, 60, 40, 57], Operations: []
Exploring Operation: 83+40=123, Resulting Numbers: [60, 57, 123]
Generated Node #2: [60, 57, 123] from Operation: 83+40=123
Current State: 41:[60, 57, 123], Operations: ['83+40=123']
Exploring Operation: 60-57=3, Resulting Numbers: [123, 3]
Generated Node #3: [123, 3] from Operation: 60-57=3
Current State: 41:[123, 3], Operations: ['83+40=123', '60-57=3']
Exploring Operation: 123/3=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[83, 60, 40, 57], Operations: []
Exploring Operation: 83-60=23, Resulting Numbers: [40, 57, 23]
Generated Node #0,0: 41:[40, 57, 23] Operation: 83-60=23
Exploring Operation: 83-57=26, Resulting Numbers: [60, 40, 26]
Generated Node #0,1: 41:[60, 40, 26] Operation: 83-57=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[40, 57, 23], Operations: ['83-60=23']
Exploring Operation: 57-23=34, Resulting Numbers: [40, 34]
Generated Node #0,0,0: 41:[40, 34] Operation: 57-23=34
Exploring Operation: 40+23=63, Resulting Numbers: [57, 63]
Generated Node #0,0,1: 41:[57, 63] Operation: 40+23=63
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 41:[40, 34], Operations: ['83-60=23', '57-23=34']
Exploring Operation: 40+34=74, Resulting Numbers: [74]
74,41 unequal: No Solution
Exploring Operation: 40-34=6, Resulting Numbers: [6]
6,41 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: 41:[57, 63], Operations: ['83-60=23', '40+23=63']
Exploring Operation: 63-57=6, Resulting Numbers: [6]
6,41 unequal: No Solution
Exploring Operation: 57+63=120, Resulting Numbers: [120]
120,41 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: 41:[60, 40, 26], Operations: ['83-57=26']
Exploring Operation: 60-40=20, Resulting Numbers: [26, 20]
Generated Node #0,1,0: 41:[26, 20] Operation: 60-40=20
Exploring Operation: 60-26=34, Resulting Numbers: [40, 34]
Generated Node #0,1,1: 41:[40, 34] Operation: 60-26=34
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 41:[40, 34], Operations: ['83-57=26', '60-26=34']
Exploring Operation: 40-34=6, Resulting Numbers: [6]
6,41 unequal: No Solution
Exploring Operation: 40+34=74, Resulting Numbers: [74]
74,41 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: 41:[26, 20], Operations: ['83-57=26', '60-40=20']
Exploring Operation: 26+20=46, Resulting Numbers: [46]
46,41 unequal: No Solution
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,41 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 |
[
26,
56,
65,
63
] | 15 | [
"56-26=30",
"65-63=2",
"30/2=15"
] | Current State: 15:[26, 56, 65, 63], Operations: []
Exploring Operation: 56-26=30, Resulting Numbers: [65, 63, 30]
Generated Node #2: [65, 63, 30] from Operation: 56-26=30
Current State: 15:[65, 63, 30], Operations: ['56-26=30']
Exploring Operation: 65-63=2, Resulting Numbers: [30, 2]
Generated Node #3: [30, 2] from Operation: 65-63=2
Current State: 15:[30, 2], Operations: ['56-26=30', '65-63=2']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[26, 56, 65, 63], Operations: []
Exploring Operation: 63-56=7, Resulting Numbers: [26, 65, 7]
Generated Node #0,0: 15:[26, 65, 7] Operation: 63-56=7
Exploring Operation: 65-63=2, Resulting Numbers: [26, 56, 2]
Generated Node #0,1: 15:[26, 56, 2] Operation: 65-63=2
Exploring Operation: 65-56=9, Resulting Numbers: [26, 63, 9]
Generated Node #0,2: 15:[26, 63, 9] Operation: 65-56=9
Moving to Node #0,1
Current State: 15:[26, 56, 2], Operations: ['65-63=2']
Exploring Operation: 56/2=28, Resulting Numbers: [26, 28]
Generated Node #0,1,0: 15:[26, 28] Operation: 56/2=28
Exploring Operation: 56-26=30, Resulting Numbers: [2, 30]
Generated Node #0,1,1: 15:[2, 30] Operation: 56-26=30
Exploring Operation: 26/2=13, Resulting Numbers: [56, 13]
Generated Node #0,1,2: 15:[56, 13] Operation: 26/2=13
Moving to Node #0,0
Current State: 15:[26, 65, 7], Operations: ['63-56=7']
Exploring Operation: 65-26=39, Resulting Numbers: [7, 39]
Generated Node #0,0,0: 15:[7, 39] Operation: 65-26=39
Exploring Operation: 26-7=19, Resulting Numbers: [65, 19]
Generated Node #0,0,1: 15:[65, 19] Operation: 26-7=19
Exploring Operation: 65-7=58, Resulting Numbers: [26, 58]
Generated Node #0,0,2: 15:[26, 58] Operation: 65-7=58
Moving to Node #0,2
Current State: 15:[26, 63, 9], Operations: ['65-56=9']
Exploring Operation: 26-9=17, Resulting Numbers: [63, 17]
Generated Node #0,2,0: 15:[63, 17] Operation: 26-9=17
Exploring Operation: 63/9=7, Resulting Numbers: [26, 7]
Generated Node #0,2,1: 15:[26, 7] Operation: 63/9=7
Exploring Operation: 63-26=37, Resulting Numbers: [9, 37]
Generated Node #0,2,2: 15:[9, 37] Operation: 63-26=37
Moving to Node #0,2,1
Current State: 15:[26, 7], Operations: ['65-56=9', '63/9=7']
Exploring Operation: 26*7=182, Resulting Numbers: [182]
182,15 unequal: No Solution
Exploring Operation: 26+7=33, Resulting Numbers: [33]
33,15 unequal: No Solution
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,15 unequal: No Solution
Moving to Node #0,1,1
Current State: 15:[2, 30], Operations: ['65-63=2', '56-26=30']
Exploring Operation: 2+30=32, Resulting Numbers: [32]
32,15 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[26, 56, 65, 63], Operations: []
Exploring Operation: 65-63=2, Resulting Numbers: [26, 56, 2]
Generated Node #0,1: 15:[26, 56, 2] Operation: 65-63=2
Moving to Node #0,1
Current State: 15:[26, 56, 2], Operations: ['65-63=2']
Exploring Operation: 56-26=30, Resulting Numbers: [2, 30]
Generated Node #0,1,1: 15:[2, 30] Operation: 56-26=30
Moving to Node #0,1,1
Current State: 15:[2, 30], Operations: ['65-63=2', '56-26=30']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 0.981771 | hs_3 | sum_heuristic |
[
87,
77,
27,
70
] | 34 | [
"87-77=10",
"70/10=7",
"27+7=34"
] | Current State: 34:[87, 77, 27, 70], Operations: []
Exploring Operation: 87-77=10, Resulting Numbers: [27, 70, 10]
Generated Node #2: [27, 70, 10] from Operation: 87-77=10
Current State: 34:[27, 70, 10], Operations: ['87-77=10']
Exploring Operation: 70/10=7, Resulting Numbers: [27, 7]
Generated Node #3: [27, 7] from Operation: 70/10=7
Current State: 34:[27, 7], Operations: ['87-77=10', '70/10=7']
Exploring Operation: 27+7=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[87, 77, 27, 70], Operations: []
Exploring Operation: 87-70=17, Resulting Numbers: [77, 27, 17]
Generated Node #0,0: 34:[77, 27, 17] Operation: 87-70=17
Exploring Operation: 87-77=10, Resulting Numbers: [27, 70, 10]
Generated Node #0,1: 34:[27, 70, 10] Operation: 87-77=10
Moving to Node #0,0
Current State: 34:[77, 27, 17], Operations: ['87-70=17']
Exploring Operation: 77-17=60, Resulting Numbers: [27, 60]
Generated Node #0,0,0: 34:[27, 60] Operation: 77-17=60
Exploring Operation: 77-27=50, Resulting Numbers: [17, 50]
Generated Node #0,0,1: 34:[17, 50] Operation: 77-27=50
Moving to Node #0,1
Current State: 34:[27, 70, 10], Operations: ['87-77=10']
Exploring Operation: 70-27=43, Resulting Numbers: [10, 43]
Generated Node #0,1,0: 34:[10, 43] Operation: 70-27=43
Exploring Operation: 70/10=7, Resulting Numbers: [27, 7]
Generated Node #0,1,1: 34:[27, 7] Operation: 70/10=7
Moving to Node #0,1,1
Current State: 34:[27, 7], Operations: ['87-77=10', '70/10=7']
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,34 unequal: No Solution
Exploring Operation: 27+7=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[87, 77, 27, 70], Operations: []
Exploring Operation: 87-77=10, Resulting Numbers: [27, 70, 10]
Generated Node #0,1: 34:[27, 70, 10] Operation: 87-77=10
Moving to Node #0,1
Current State: 34:[27, 70, 10], Operations: ['87-77=10']
Exploring Operation: 70/10=7, Resulting Numbers: [27, 7]
Generated Node #0,1,1: 34:[27, 7] Operation: 70/10=7
Moving to Node #0,1,1
Current State: 34:[27, 7], Operations: ['87-77=10', '70/10=7']
Exploring Operation: 27+7=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 0.989583 | hs_2 | mult_heuristic |
[
38,
4,
97,
13
] | 15 | [
"38+97=135",
"13-4=9",
"135/9=15"
] | Current State: 15:[38, 4, 97, 13], Operations: []
Exploring Operation: 38+97=135, Resulting Numbers: [4, 13, 135]
Generated Node #2: [4, 13, 135] from Operation: 38+97=135
Current State: 15:[4, 13, 135], Operations: ['38+97=135']
Exploring Operation: 13-4=9, Resulting Numbers: [135, 9]
Generated Node #3: [135, 9] from Operation: 13-4=9
Current State: 15:[135, 9], Operations: ['38+97=135', '13-4=9']
Exploring Operation: 135/9=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[38, 4, 97, 13], Operations: []
Exploring Operation: 38-13=25, Resulting Numbers: [4, 97, 25]
Generated Node #0,0: 15:[4, 97, 25] Operation: 38-13=25
Exploring Operation: 97-13=84, Resulting Numbers: [38, 4, 84]
Generated Node #0,1: 15:[38, 4, 84] Operation: 97-13=84
Exploring Operation: 38-4=34, Resulting Numbers: [97, 13, 34]
Generated Node #0,2: 15:[97, 13, 34] Operation: 38-4=34
Exploring Operation: 97-38=59, Resulting Numbers: [4, 13, 59]
Generated Node #0,3: 15:[4, 13, 59] Operation: 97-38=59
Moving to Node #0,3
Current State: 15:[4, 13, 59], Operations: ['97-38=59']
Exploring Operation: 59-13=46, Resulting Numbers: [4, 46]
Generated Node #0,3,0: 15:[4, 46] Operation: 59-13=46
Exploring Operation: 4+13=17, Resulting Numbers: [59, 17]
Generated Node #0,3,1: 15:[59, 17] Operation: 4+13=17
Exploring Operation: 13-4=9, Resulting Numbers: [59, 9]
Generated Node #0,3,2: 15:[59, 9] Operation: 13-4=9
Exploring Operation: 59-4=55, Resulting Numbers: [13, 55]
Generated Node #0,3,3: 15:[13, 55] Operation: 59-4=55
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 15:[4, 46], Operations: ['97-38=59', '59-13=46']
Exploring Operation: 4+46=50, Resulting Numbers: [50]
50,15 unequal: No Solution
Exploring Operation: 4*46=184, Resulting Numbers: [184]
184,15 unequal: No Solution
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,15 unequal: No Solution
No 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: 15:[13, 55], Operations: ['97-38=59', '59-4=55']
Exploring Operation: 55-13=42, Resulting Numbers: [42]
42,15 unequal: No Solution
Exploring Operation: 13*55=715, Resulting Numbers: [715]
715,15 unequal: No Solution
Exploring Operation: 13+55=68, Resulting Numbers: [68]
68,15 unequal: No Solution
No 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: 15:[59, 17], Operations: ['97-38=59', '4+13=17']
Exploring Operation: 59-17=42, Resulting Numbers: [42]
42,15 unequal: No Solution
Exploring Operation: 59+17=76, Resulting Numbers: [76]
76,15 unequal: No Solution
Exploring Operation: 59*17=1003, Resulting Numbers: [1003]
1003,15 unequal: No Solution
No 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: 15:[59, 9], Operations: ['97-38=59', '13-4=9']
Exploring Operation: 59*9=531, Resulting Numbers: [531]
531,15 unequal: No Solution
Exploring Operation: 59+9=68, Resulting Numbers: [68]
68,15 unequal: No Solution
Exploring Operation: 59-9=50, Resulting Numbers: [50]
50,15 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: 15:[38, 4, 84], Operations: ['97-13=84']
Exploring Operation: 38-4=34, Resulting Numbers: [84, 34]
Generated Node #0,1,0: 15:[84, 34] Operation: 38-4=34
Exploring Operation: 84/4=21, Resulting Numbers: [38, 21]
Generated Node #0,1,1: 15:[38, 21] Operation: 84/4=21
Exploring Operation: 84-4=80, Resulting Numbers: [38, 80]
Generated Node #0,1,2: 15:[38, 80] Operation: 84-4=80
Exploring Operation: 84-38=46, Resulting Numbers: [4, 46]
Generated Node #0,1,3: 15:[4, 46] Operation: 84-38=46
Moving to Node #0,0
Current State: 15:[4, 97, 25], Operations: ['38-13=25']
Exploring Operation: 4+97=101, Resulting Numbers: [25, 101]
Generated Node #0,0,0: 15:[25, 101] Operation: 4+97=101
Exploring Operation: 97-4=93, Resulting Numbers: [25, 93]
Generated Node #0,0,1: 15:[25, 93] Operation: 97-4=93
Exploring Operation: 25-4=21, Resulting Numbers: [97, 21]
Generated Node #0,0,2: 15:[97, 21] Operation: 25-4=21
Exploring Operation: 97-25=72, Resulting Numbers: [4, 72]
Generated Node #0,0,3: 15:[4, 72] Operation: 97-25=72
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 15:[4, 72], Operations: ['38-13=25', '97-25=72']
Exploring Operation: 4*72=288, Resulting Numbers: [288]
288,15 unequal: No Solution
Exploring Operation: 72/4=18, Resulting Numbers: [18]
18,15 unequal: No Solution
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,15 unequal: No Solution
Exploring Operation: 4+72=76, Resulting Numbers: [76]
76,15 unequal: No Solution
No 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: 15:[25, 93], Operations: ['38-13=25', '97-4=93']
Exploring Operation: 25+93=118, Resulting Numbers: [118]
118,15 unequal: No Solution
Exploring Operation: 93-25=68, Resulting Numbers: [68]
68,15 unequal: No Solution
Exploring Operation: 25*93=2325, Resulting Numbers: [2325]
2325,15 unequal: No Solution
No 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: 15:[97, 21], Operations: ['38-13=25', '25-4=21']
Exploring Operation: 97*21=2037, Resulting Numbers: [2037]
2037,15 unequal: No Solution
Exploring Operation: 97+21=118, Resulting Numbers: [118]
118,15 unequal: No Solution
Exploring Operation: 97-21=76, Resulting Numbers: [76]
76,15 unequal: No Solution
No 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: 15:[25, 101], Operations: ['38-13=25', '4+97=101']
Exploring Operation: 101-25=76, Resulting Numbers: [76]
76,15 unequal: No Solution
Exploring Operation: 25+101=126, Resulting Numbers: [126]
126,15 unequal: No Solution
Exploring Operation: 25*101=2525, Resulting Numbers: [2525]
2525,15 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: 15:[97, 13, 34], Operations: ['38-4=34']
Exploring Operation: 97-34=63, Resulting Numbers: [13, 63]
Generated Node #0,2,0: 15:[13, 63] Operation: 97-34=63
Exploring Operation: 97-13=84, Resulting Numbers: [34, 84]
Generated Node #0,2,1: 15:[34, 84] Operation: 97-13=84
Exploring Operation: 34-13=21, Resulting Numbers: [97, 21]
Generated Node #0,2,2: 15:[97, 21] Operation: 34-13=21
Exploring Operation: 97+13=110, Resulting Numbers: [34, 110]
Generated Node #0,2,3: 15:[34, 110] Operation: 97+13=110
Moving to Node #0,1,1
Current State: 15:[38, 21], Operations: ['97-13=84', '84/4=21']
Exploring Operation: 38+21=59, Resulting Numbers: [59]
59,15 unequal: No Solution
Exploring Operation: 38-21=17, Resulting Numbers: [17]
17,15 unequal: No Solution
Exploring Operation: 38*21=798, Resulting Numbers: [798]
798,15 unequal: No Solution
Moving to Node #0,1,3
Current State: 15:[4, 46], Operations: ['97-13=84', '84-38=46']
Exploring Operation: 4+46=50, Resulting Numbers: [50]
50,15 unequal: No Solution
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,15 unequal: No Solution
Exploring Operation: 4*46=184, Resulting Numbers: [184]
184,15 unequal: No Solution
Moving to Node #0,2,0
Current State: 15:[13, 63], Operations: ['38-4=34', '97-34=63']
Exploring Operation: 13+63=76, Resulting Numbers: [76]
76,15 unequal: No Solution
Exploring Operation: 13*63=819, Resulting Numbers: [819]
819,15 unequal: No Solution
Exploring Operation: 63-13=50, Resulting Numbers: [50]
50,15 unequal: No Solution
Moving to Node #0,1,0
Current State: 15:[84, 34], Operations: ['97-13=84', '38-4=34']
Exploring Operation: 84-34=50, Resulting Numbers: [50]
50,15 unequal: No Solution
Exploring Operation: 84*34=2856, Resulting Numbers: [2856]
2856,15 unequal: No Solution
Exploring Operation: 84+34=118, Resulting Numbers: [118]
118,15 unequal: No Solution
Moving to Node #0,2,1
Current State: 15:[34, 84], Operations: ['38-4=34', '97-13=84']
Exploring Operation: 34+84=118, Resulting Numbers: [118]
118,15 unequal: No Solution
Exploring Operation: 84-34=50, Resulting Numbers: [50]
50,15 unequal: No Solution
Exploring Operation: 34*84=2856, Resulting Numbers: [2856]
2856,15 unequal: No Solution
Moving to Node #0,1,2
Current State: 15:[38, 80], Operations: ['97-13=84', '84-4=80']
Exploring Operation: 38*80=3040, Resulting Numbers: [3040]
3040,15 unequal: No Solution
Exploring Operation: 38+80=118, Resulting Numbers: [118]
118,15 unequal: No Solution
Exploring Operation: 80-38=42, Resulting Numbers: [42]
42,15 unequal: No Solution
Moving to Node #0,2,2
Current State: 15:[97, 21], Operations: ['38-4=34', '34-13=21']
Exploring Operation: 97-21=76, Resulting Numbers: [76]
76,15 unequal: No Solution
Exploring Operation: 97*21=2037, Resulting Numbers: [2037]
2037,15 unequal: No Solution
Exploring Operation: 97+21=118, Resulting Numbers: [118]
118,15 unequal: No Solution
Moving to Node #0,2,3
Current State: 15:[34, 110], Operations: ['38-4=34', '97+13=110']
Exploring Operation: 34+110=144, Resulting Numbers: [144]
144,15 unequal: No Solution
Exploring Operation: 110-34=76, Resulting Numbers: [76]
76,15 unequal: No Solution
Exploring Operation: 34*110=3740, Resulting Numbers: [3740]
3740,15 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
88,
43,
46,
12
] | 52 | [
"46-43=3",
"12*3=36",
"88-36=52"
] | Current State: 52:[88, 43, 46, 12], Operations: []
Exploring Operation: 46-43=3, Resulting Numbers: [88, 12, 3]
Generated Node #2: [88, 12, 3] from Operation: 46-43=3
Current State: 52:[88, 12, 3], Operations: ['46-43=3']
Exploring Operation: 12*3=36, Resulting Numbers: [88, 36]
Generated Node #3: [88, 36] from Operation: 12*3=36
Current State: 52:[88, 36], Operations: ['46-43=3', '12*3=36']
Exploring Operation: 88-36=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[88, 43, 46, 12], Operations: []
Exploring Operation: 88-43=45, Resulting Numbers: [46, 12, 45]
Generated Node #0,0: 52:[46, 12, 45] Operation: 88-43=45
Exploring Operation: 88-12=76, Resulting Numbers: [43, 46, 76]
Generated Node #0,1: 52:[43, 46, 76] Operation: 88-12=76
Exploring Operation: 46-43=3, Resulting Numbers: [88, 12, 3]
Generated Node #0,2: 52:[88, 12, 3] Operation: 46-43=3
Exploring Operation: 43+12=55, Resulting Numbers: [88, 46, 55]
Generated Node #0,3: 52:[88, 46, 55] Operation: 43+12=55
Exploring Operation: 88-46=42, Resulting Numbers: [43, 12, 42]
Generated Node #0,4: 52:[43, 12, 42] Operation: 88-46=42
Moving to Node #0,0
Current State: 52:[46, 12, 45], Operations: ['88-43=45']
Exploring Operation: 45-12=33, Resulting Numbers: [46, 33]
Generated Node #0,0,0: 52:[46, 33] Operation: 45-12=33
Exploring Operation: 46+12=58, Resulting Numbers: [45, 58]
Generated Node #0,0,1: 52:[45, 58] Operation: 46+12=58
Exploring Operation: 46-45=1, Resulting Numbers: [12, 1]
Generated Node #0,0,2: 52:[12, 1] Operation: 46-45=1
Exploring Operation: 12+45=57, Resulting Numbers: [46, 57]
Generated Node #0,0,3: 52:[46, 57] Operation: 12+45=57
Exploring Operation: 46-12=34, Resulting Numbers: [45, 34]
Generated Node #0,0,4: 52:[45, 34] Operation: 46-12=34
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 52:[12, 1], Operations: ['88-43=45', '46-45=1']
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 12*1=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 12+1=13, Resulting Numbers: [13]
13,52 unequal: No Solution
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,52 unequal: No Solution
No 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: 52:[46, 57], Operations: ['88-43=45', '12+45=57']
Exploring Operation: 46*57=2622, Resulting Numbers: [2622]
2622,52 unequal: No Solution
Exploring Operation: 46+57=103, Resulting Numbers: [103]
103,52 unequal: No Solution
Exploring Operation: 57-46=11, Resulting Numbers: [11]
11,52 unequal: No Solution
No 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: 52:[46, 33], Operations: ['88-43=45', '45-12=33']
Exploring Operation: 46*33=1518, Resulting Numbers: [1518]
1518,52 unequal: No Solution
Exploring Operation: 46+33=79, Resulting Numbers: [79]
79,52 unequal: No Solution
Exploring Operation: 46-33=13, Resulting Numbers: [13]
13,52 unequal: No Solution
No 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: 52:[45, 58], Operations: ['88-43=45', '46+12=58']
Exploring Operation: 45*58=2610, Resulting Numbers: [2610]
2610,52 unequal: No Solution
Exploring Operation: 58-45=13, Resulting Numbers: [13]
13,52 unequal: No Solution
Exploring Operation: 45+58=103, Resulting Numbers: [103]
103,52 unequal: No Solution
No 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: 52:[45, 34], Operations: ['88-43=45', '46-12=34']
Exploring Operation: 45*34=1530, Resulting Numbers: [1530]
1530,52 unequal: No Solution
Exploring Operation: 45+34=79, Resulting Numbers: [79]
79,52 unequal: No Solution
Exploring Operation: 45-34=11, Resulting Numbers: [11]
11,52 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: 52:[43, 12, 42], Operations: ['88-46=42']
Exploring Operation: 12+42=54, Resulting Numbers: [43, 54]
Generated Node #0,4,0: 52:[43, 54] Operation: 12+42=54
Exploring Operation: 43-42=1, Resulting Numbers: [12, 1]
Generated Node #0,4,1: 52:[12, 1] Operation: 43-42=1
Exploring Operation: 42-12=30, Resulting Numbers: [43, 30]
Generated Node #0,4,2: 52:[43, 30] Operation: 42-12=30
Exploring Operation: 43+12=55, Resulting Numbers: [42, 55]
Generated Node #0,4,3: 52:[42, 55] Operation: 43+12=55
Exploring Operation: 43-12=31, Resulting Numbers: [42, 31]
Generated Node #0,4,4: 52:[42, 31] Operation: 43-12=31
Moving to Node #0,2
Current State: 52:[88, 12, 3], Operations: ['46-43=3']
Exploring Operation: 12/3=4, Resulting Numbers: [88, 4]
Generated Node #0,2,0: 52:[88, 4] Operation: 12/3=4
Exploring Operation: 88+3=91, Resulting Numbers: [12, 91]
Generated Node #0,2,1: 52:[12, 91] Operation: 88+3=91
Exploring Operation: 88-12=76, Resulting Numbers: [3, 76]
Generated Node #0,2,2: 52:[3, 76] Operation: 88-12=76
Exploring Operation: 88-3=85, Resulting Numbers: [12, 85]
Generated Node #0,2,3: 52:[12, 85] Operation: 88-3=85
Exploring Operation: 12+3=15, Resulting Numbers: [88, 15]
Generated Node #0,2,4: 52:[88, 15] Operation: 12+3=15
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 52:[3, 76], Operations: ['46-43=3', '88-12=76']
Exploring Operation: 3+76=79, Resulting Numbers: [79]
79,52 unequal: No Solution
Exploring Operation: 76-3=73, Resulting Numbers: [73]
73,52 unequal: No Solution
Exploring Operation: 3*76=228, Resulting Numbers: [228]
228,52 unequal: No Solution
No 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: 52:[12, 85], Operations: ['46-43=3', '88-3=85']
Exploring Operation: 12*85=1020, Resulting Numbers: [1020]
1020,52 unequal: No Solution
Exploring Operation: 12+85=97, Resulting Numbers: [97]
97,52 unequal: No Solution
Exploring Operation: 85-12=73, Resulting Numbers: [73]
73,52 unequal: No Solution
No 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: 52:[88, 4], Operations: ['46-43=3', '12/3=4']
Exploring Operation: 88/4=22, Resulting Numbers: [22]
22,52 unequal: No Solution
Exploring Operation: 88+4=92, Resulting Numbers: [92]
92,52 unequal: No Solution
Exploring Operation: 88-4=84, Resulting Numbers: [84]
84,52 unequal: No Solution
Exploring Operation: 88*4=352, Resulting Numbers: [352]
352,52 unequal: No Solution
No 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: 52:[88, 15], Operations: ['46-43=3', '12+3=15']
Exploring Operation: 88-15=73, Resulting Numbers: [73]
73,52 unequal: No Solution
Exploring Operation: 88+15=103, Resulting Numbers: [103]
103,52 unequal: No Solution
Exploring Operation: 88*15=1320, Resulting Numbers: [1320]
1320,52 unequal: No Solution
No 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: 52:[12, 91], Operations: ['46-43=3', '88+3=91']
Exploring Operation: 91-12=79, Resulting Numbers: [79]
79,52 unequal: No Solution
Exploring Operation: 12+91=103, Resulting Numbers: [103]
103,52 unequal: No Solution
Exploring Operation: 12*91=1092, Resulting Numbers: [1092]
1092,52 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: 52:[43, 46, 76], Operations: ['88-12=76']
Exploring Operation: 76-43=33, Resulting Numbers: [46, 33]
Generated Node #0,1,0: 52:[46, 33] Operation: 76-43=33
Exploring Operation: 76-46=30, Resulting Numbers: [43, 30]
Generated Node #0,1,1: 52:[43, 30] Operation: 76-46=30
Exploring Operation: 43+46=89, Resulting Numbers: [76, 89]
Generated Node #0,1,2: 52:[76, 89] Operation: 43+46=89
Exploring Operation: 43+76=119, Resulting Numbers: [46, 119]
Generated Node #0,1,3: 52:[46, 119] Operation: 43+76=119
Exploring Operation: 46-43=3, Resulting Numbers: [76, 3]
Generated Node #0,1,4: 52:[76, 3] Operation: 46-43=3
Moving to Node #0,3
Current State: 52:[88, 46, 55], Operations: ['43+12=55']
Exploring Operation: 88-55=33, Resulting Numbers: [46, 33]
Generated Node #0,3,0: 52:[46, 33] Operation: 88-55=33
Exploring Operation: 88+46=134, Resulting Numbers: [55, 134]
Generated Node #0,3,1: 52:[55, 134] Operation: 88+46=134
Exploring Operation: 55-46=9, Resulting Numbers: [88, 9]
Generated Node #0,3,2: 52:[88, 9] Operation: 55-46=9
Exploring Operation: 46+55=101, Resulting Numbers: [88, 101]
Generated Node #0,3,3: 52:[88, 101] Operation: 46+55=101
Exploring Operation: 88-46=42, Resulting Numbers: [55, 42]
Generated Node #0,3,4: 52:[55, 42] Operation: 88-46=42
Moving to Node #0,4,1
Current State: 52:[12, 1], Operations: ['88-46=42', '43-42=1']
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 12+1=13, Resulting Numbers: [13]
13,52 unequal: No Solution
Exploring Operation: 12*1=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Moving to Node #0,4,0
Current State: 52:[43, 54], Operations: ['88-46=42', '12+42=54']
Exploring Operation: 54-43=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 43*54=2322, Resulting Numbers: [2322]
2322,52 unequal: No Solution
Exploring Operation: 43+54=97, Resulting Numbers: [97]
97,52 unequal: No Solution
Moving to Node #0,4,2
Current State: 52:[43, 30], Operations: ['88-46=42', '42-12=30']
Exploring Operation: 43*30=1290, Resulting Numbers: [1290]
1290,52 unequal: No Solution
Exploring Operation: 43-30=13, Resulting Numbers: [13]
13,52 unequal: No Solution
Exploring Operation: 43+30=73, Resulting Numbers: [73]
73,52 unequal: No Solution
Moving to Node #0,1,1
Current State: 52:[43, 30], Operations: ['88-12=76', '76-46=30']
Exploring Operation: 43-30=13, Resulting Numbers: [13]
13,52 unequal: No Solution
Exploring Operation: 43*30=1290, Resulting Numbers: [1290]
1290,52 unequal: No Solution
Exploring Operation: 43+30=73, Resulting Numbers: [73]
73,52 unequal: No Solution
Moving to Node #0,1,0
Current State: 52:[46, 33], Operations: ['88-12=76', '76-43=33']
Exploring Operation: 46*33=1518, Resulting Numbers: [1518]
1518,52 unequal: No Solution
Exploring Operation: 46+33=79, Resulting Numbers: [79]
79,52 unequal: No Solution
Exploring Operation: 46-33=13, Resulting Numbers: [13]
13,52 unequal: No Solution
Moving to Node #0,3,4
Current State: 52:[55, 42], Operations: ['43+12=55', '88-46=42']
Exploring Operation: 55-42=13, Resulting Numbers: [13]
13,52 unequal: No Solution
Exploring Operation: 55*42=2310, Resulting Numbers: [2310]
2310,52 unequal: No Solution
Exploring Operation: 55+42=97, Resulting Numbers: [97]
97,52 unequal: No Solution
Moving to Node #0,3,0
Current State: 52:[46, 33], Operations: ['43+12=55', '88-55=33']
Exploring Operation: 46*33=1518, Resulting Numbers: [1518]
1518,52 unequal: No Solution
Exploring Operation: 46+33=79, Resulting Numbers: [79]
79,52 unequal: No Solution
Exploring Operation: 46-33=13, Resulting Numbers: [13]
13,52 unequal: No Solution
Moving to Node #0,4,3
Current State: 52:[42, 55], Operations: ['88-46=42', '43+12=55']
Exploring Operation: 55-42=13, Resulting Numbers: [13]
13,52 unequal: No Solution
Exploring Operation: 42*55=2310, Resulting Numbers: [2310]
2310,52 unequal: No Solution
Exploring Operation: 42+55=97, Resulting Numbers: [97]
97,52 unequal: No Solution
Moving to Node #0,4,4
Current State: 52:[42, 31], Operations: ['88-46=42', '43-12=31']
Exploring Operation: 42+31=73, Resulting Numbers: [73]
73,52 unequal: No Solution
Exploring Operation: 42-31=11, Resulting Numbers: [11]
11,52 unequal: No Solution
Exploring Operation: 42*31=1302, Resulting Numbers: [1302]
1302,52 unequal: No Solution
Moving to Node #0,1,4
Current State: 52:[76, 3], Operations: ['88-12=76', '46-43=3']
Exploring Operation: 76+3=79, Resulting Numbers: [79]
79,52 unequal: No Solution
Exploring Operation: 76*3=228, Resulting Numbers: [228]
228,52 unequal: No Solution
Exploring Operation: 76-3=73, Resulting Numbers: [73]
73,52 unequal: No Solution
Moving to Node #0,3,2
Current State: 52:[88, 9], Operations: ['43+12=55', '55-46=9']
Exploring Operation: 88*9=792, Resulting Numbers: [792]
792,52 unequal: No Solution
Exploring Operation: 88+9=97, Resulting Numbers: [97]
97,52 unequal: No Solution
Exploring Operation: 88-9=79, Resulting Numbers: [79]
79,52 unequal: No Solution
Moving to Node #0,1,2
Current State: 52:[76, 89], Operations: ['88-12=76', '43+46=89']
Exploring Operation: 76+89=165, Resulting Numbers: [165]
165,52 unequal: No Solution
Exploring Operation: 76*89=6764, Resulting Numbers: [6764]
6764,52 unequal: No Solution
Exploring Operation: 89-76=13, Resulting Numbers: [13]
13,52 unequal: No Solution
Moving to Node #0,1,3
Current State: 52:[46, 119], Operations: ['88-12=76', '43+76=119']
Exploring Operation: 119-46=73, Resulting Numbers: [73]
73,52 unequal: No Solution
Exploring Operation: 46+119=165, Resulting Numbers: [165]
165,52 unequal: No Solution
Exploring Operation: 46*119=5474, Resulting Numbers: [5474]
5474,52 unequal: No Solution
Moving to Node #0,3,1
Current State: 52:[55, 134], Operations: ['43+12=55', '88+46=134']
Exploring Operation: 55*134=7370, Resulting Numbers: [7370]
7370,52 unequal: No Solution
Exploring Operation: 134-55=79, Resulting Numbers: [79]
79,52 unequal: No Solution
Exploring Operation: 55+134=189, Resulting Numbers: [189]
189,52 unequal: No Solution
Moving to Node #0,3,3
Current State: 52:[88, 101], Operations: ['43+12=55', '46+55=101']
Exploring Operation: 101-88=13, Resulting Numbers: [13]
13,52 unequal: No Solution
Exploring Operation: 88+101=189, Resulting Numbers: [189]
189,52 unequal: No Solution
Exploring Operation: 88*101=8888, Resulting Numbers: [8888]
8888,52 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
7,
26,
4,
2
] | 37 | [
"26-4=22",
"2*22=44",
"44-7=37"
] | Current State: 37:[7, 26, 4, 2], Operations: []
Exploring Operation: 26-4=22, Resulting Numbers: [7, 2, 22]
Generated Node #2: [7, 2, 22] from Operation: 26-4=22
Current State: 37:[7, 2, 22], Operations: ['26-4=22']
Exploring Operation: 2*22=44, Resulting Numbers: [7, 44]
Generated Node #3: [7, 44] from Operation: 2*22=44
Current State: 37:[7, 44], Operations: ['26-4=22', '2*22=44']
Exploring Operation: 44-7=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[7, 26, 4, 2], Operations: []
Exploring Operation: 7*4=28, Resulting Numbers: [26, 2, 28]
Generated Node #0,0: 37:[26, 2, 28] Operation: 7*4=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[26, 2, 28], Operations: ['7*4=28']
Exploring Operation: 26+2=28, Resulting Numbers: [28, 28]
Generated Node #0,0,0: 37:[28, 28] Operation: 26+2=28
Moving to Node #0,0,0
Current State: 37:[28, 28], Operations: ['7*4=28', '26+2=28']
Exploring Operation: 28+28=56, Resulting Numbers: [56]
56,37 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 |
[
83,
54,
29,
17
] | 41 | [
"83-54=29",
"29-17=12",
"29+12=41"
] | Current State: 41:[83, 54, 29, 17], Operations: []
Exploring Operation: 83-54=29, Resulting Numbers: [29, 17, 29]
Generated Node #2: [29, 17, 29] from Operation: 83-54=29
Current State: 41:[29, 17, 29], Operations: ['83-54=29']
Exploring Operation: 29-17=12, Resulting Numbers: [12]
12,41 equal: Goal Reached
Exploring Operation: 29+12=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[83, 54, 29, 17], Operations: []
Exploring Operation: 83-29=54, Resulting Numbers: [54, 17, 54]
Generated Node #0,0: 41:[54, 17, 54] Operation: 83-29=54
Exploring Operation: 83-54=29, Resulting Numbers: [29, 17, 29]
Generated Node #0,1: 41:[29, 17, 29] Operation: 83-54=29
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[29, 17, 29], Operations: ['83-54=29']
Exploring Operation: 29+17=46, Resulting Numbers: [29, 46]
Generated Node #0,1,0: 41:[29, 46] Operation: 29+17=46
Exploring Operation: 17+29=46, Resulting Numbers: [29, 46]
Generated Node #0,1,1: 41:[29, 46] Operation: 17+29=46
Moving to Node #0,1,0
Current State: 41:[29, 46], Operations: ['83-54=29', '29+17=46']
Exploring Operation: 46-29=17, Resulting Numbers: [17]
17,41 unequal: No Solution
Exploring Operation: 29+46=75, Resulting Numbers: [75]
75,41 unequal: No Solution
Moving to Node #0,1,1
Current State: 41:[29, 46], Operations: ['83-54=29', '17+29=46']
Exploring Operation: 46-29=17, Resulting Numbers: [17]
17,41 unequal: No Solution
Exploring Operation: 29+46=75, Resulting Numbers: [75]
75,41 unequal: No Solution
No 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: 41:[54, 17, 54], Operations: ['83-29=54']
Exploring Operation: 54-17=37, Resulting Numbers: [54, 37]
Generated Node #0,0,0: 41:[54, 37] Operation: 54-17=37
Exploring Operation: 54-17=37, Resulting Numbers: [54, 37]
Generated Node #0,0,1: 41:[54, 37] Operation: 54-17=37
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 41:[54, 37], Operations: ['83-29=54', '54-17=37']
Exploring Operation: 54+37=91, Resulting Numbers: [91]
91,41 unequal: No Solution
Exploring Operation: 54-37=17, Resulting Numbers: [17]
17,41 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: 41:[54, 37], Operations: ['83-29=54', '54-17=37']
Exploring Operation: 54+37=91, Resulting Numbers: [91]
91,41 unequal: No Solution
Exploring Operation: 54-37=17, Resulting Numbers: [17]
17,41 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 |
[
56,
3,
10,
1
] | 92 | [
"56-10=46",
"3-1=2",
"46*2=92"
] | Current State: 92:[56, 3, 10, 1], Operations: []
Exploring Operation: 56-10=46, Resulting Numbers: [3, 1, 46]
Generated Node #2: [3, 1, 46] from Operation: 56-10=46
Current State: 92:[3, 1, 46], Operations: ['56-10=46']
Exploring Operation: 3-1=2, Resulting Numbers: [46, 2]
Generated Node #3: [46, 2] from Operation: 3-1=2
Current State: 92:[46, 2], Operations: ['56-10=46', '3-1=2']
Exploring Operation: 46*2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[56, 3, 10, 1], Operations: []
Exploring Operation: 56-1=55, Resulting Numbers: [3, 10, 55]
Generated Node #0,0: 92:[3, 10, 55] Operation: 56-1=55
Exploring Operation: 10-3=7, Resulting Numbers: [56, 1, 7]
Generated Node #0,1: 92:[56, 1, 7] Operation: 10-3=7
Exploring Operation: 56-10=46, Resulting Numbers: [3, 1, 46]
Generated Node #0,2: 92:[3, 1, 46] Operation: 56-10=46
Exploring Operation: 56-3=53, Resulting Numbers: [10, 1, 53]
Generated Node #0,3: 92:[10, 1, 53] Operation: 56-3=53
Moving to Node #0,2
Current State: 92:[3, 1, 46], Operations: ['56-10=46']
Exploring Operation: 3*1=3, Resulting Numbers: [46, 3]
Generated Node #0,2,0: 92:[46, 3] Operation: 3*1=3
Exploring Operation: 3+1=4, Resulting Numbers: [46, 4]
Generated Node #0,2,1: 92:[46, 4] Operation: 3+1=4
Exploring Operation: 3-1=2, Resulting Numbers: [46, 2]
Generated Node #0,2,2: 92:[46, 2] Operation: 3-1=2
Exploring Operation: 3/1=3, Resulting Numbers: [46, 3]
Generated Node #0,2,3: 92:[46, 3] Operation: 3/1=3
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 92:[46, 4], Operations: ['56-10=46', '3+1=4']
Exploring Operation: 46*4=184, Resulting Numbers: [184]
184,92 unequal: No Solution
Exploring Operation: 46+4=50, Resulting Numbers: [50]
50,92 unequal: No Solution
Exploring Operation: 46-4=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,2,2
Current State: 92:[46, 2], Operations: ['56-10=46', '3-1=2']
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,92 unequal: No Solution
Exploring Operation: 46*2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[56, 3, 10, 1], Operations: []
Exploring Operation: 56-10=46, Resulting Numbers: [3, 1, 46]
Generated Node #0,2: 92:[3, 1, 46] Operation: 56-10=46
Moving to Node #0,2
Current State: 92:[3, 1, 46], Operations: ['56-10=46']
Exploring Operation: 3-1=2, Resulting Numbers: [46, 2]
Generated Node #0,2,2: 92:[46, 2] Operation: 3-1=2
Moving to Node #0,2,2
Current State: 92:[46, 2], Operations: ['56-10=46', '3-1=2']
Exploring Operation: 46*2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
73,
22,
46,
37
] | 60 | [
"73-22=51",
"46-37=9",
"51+9=60"
] | Current State: 60:[73, 22, 46, 37], Operations: []
Exploring Operation: 73-22=51, Resulting Numbers: [46, 37, 51]
Generated Node #2: [46, 37, 51] from Operation: 73-22=51
Current State: 60:[46, 37, 51], Operations: ['73-22=51']
Exploring Operation: 46-37=9, Resulting Numbers: [51, 9]
Generated Node #3: [51, 9] from Operation: 46-37=9
Current State: 60:[51, 9], Operations: ['73-22=51', '46-37=9']
Exploring Operation: 51+9=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[73, 22, 46, 37], Operations: []
Exploring Operation: 73-46=27, Resulting Numbers: [22, 37, 27]
Generated Node #0,0: 60:[22, 37, 27] Operation: 73-46=27
Exploring Operation: 46-37=9, Resulting Numbers: [73, 22, 9]
Generated Node #0,1: 60:[73, 22, 9] Operation: 46-37=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[22, 37, 27], Operations: ['73-46=27']
Exploring Operation: 37-22=15, Resulting Numbers: [27, 15]
Generated Node #0,0,0: 60:[27, 15] Operation: 37-22=15
Exploring Operation: 37-27=10, Resulting Numbers: [22, 10]
Generated Node #0,0,1: 60:[22, 10] Operation: 37-27=10
Moving to Node #0,0,1
Current State: 60:[22, 10], Operations: ['73-46=27', '37-27=10']
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 22+10=32, Resulting Numbers: [32]
32,60 unequal: No Solution
Moving to Node #0,0,0
Current State: 60:[27, 15], Operations: ['73-46=27', '37-22=15']
Exploring Operation: 27+15=42, Resulting Numbers: [42]
42,60 unequal: No Solution
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[73, 22, 9], Operations: ['46-37=9']
Exploring Operation: 73-22=51, Resulting Numbers: [9, 51]
Generated Node #0,1,0: 60:[9, 51] Operation: 73-22=51
Exploring Operation: 73-9=64, Resulting Numbers: [22, 64]
Generated Node #0,1,1: 60:[22, 64] Operation: 73-9=64
Moving to Node #0,1,1
Current State: 60:[22, 64], Operations: ['46-37=9', '73-9=64']
Exploring Operation: 64-22=42, Resulting Numbers: [42]
42,60 unequal: No Solution
Exploring Operation: 22+64=86, Resulting Numbers: [86]
86,60 unequal: No Solution
Moving to Node #0,1,0
Current State: 60:[9, 51], Operations: ['46-37=9', '73-22=51']
Exploring Operation: 51-9=42, Resulting Numbers: [42]
42,60 unequal: No Solution
Exploring Operation: 9+51=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[73, 22, 46, 37], Operations: []
Exploring Operation: 46-37=9, Resulting Numbers: [73, 22, 9]
Generated Node #0,1: 60:[73, 22, 9] Operation: 46-37=9
Moving to Node #0,1
Current State: 60:[73, 22, 9], Operations: ['46-37=9']
Exploring Operation: 73-22=51, Resulting Numbers: [9, 51]
Generated Node #0,1,0: 60:[9, 51] Operation: 73-22=51
Moving to Node #0,1,0
Current State: 60:[9, 51], Operations: ['46-37=9', '73-22=51']
Exploring Operation: 9+51=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_2 | mult_heuristic |
[
64,
30,
58,
17
] | 78 | [
"64-58=6",
"30-17=13",
"6*13=78"
] | Current State: 78:[64, 30, 58, 17], Operations: []
Exploring Operation: 64-58=6, Resulting Numbers: [30, 17, 6]
Generated Node #2: [30, 17, 6] from Operation: 64-58=6
Current State: 78:[30, 17, 6], Operations: ['64-58=6']
Exploring Operation: 30-17=13, Resulting Numbers: [6, 13]
Generated Node #3: [6, 13] from Operation: 30-17=13
Current State: 78:[6, 13], Operations: ['64-58=6', '30-17=13']
Exploring Operation: 6*13=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[64, 30, 58, 17], Operations: []
Exploring Operation: 58-17=41, Resulting Numbers: [64, 30, 41]
Generated Node #0,0: 78:[64, 30, 41] Operation: 58-17=41
Exploring Operation: 64-58=6, Resulting Numbers: [30, 17, 6]
Generated Node #0,1: 78:[30, 17, 6] Operation: 64-58=6
Exploring Operation: 58+17=75, Resulting Numbers: [64, 30, 75]
Generated Node #0,2: 78:[64, 30, 75] Operation: 58+17=75
Exploring Operation: 64+17=81, Resulting Numbers: [30, 58, 81]
Generated Node #0,3: 78:[30, 58, 81] Operation: 64+17=81
Exploring Operation: 58-30=28, Resulting Numbers: [64, 17, 28]
Generated Node #0,4: 78:[64, 17, 28] Operation: 58-30=28
Start Sub Search at level 1: Moving to Node #0,1
Current State: 78:[30, 17, 6], Operations: ['64-58=6']
Exploring Operation: 30-17=13, Resulting Numbers: [6, 13]
Generated Node #0,1,0: 78:[6, 13] Operation: 30-17=13
Exploring Operation: 30+6=36, Resulting Numbers: [17, 36]
Generated Node #0,1,1: 78:[17, 36] Operation: 30+6=36
Exploring Operation: 17-6=11, Resulting Numbers: [30, 11]
Generated Node #0,1,2: 78:[30, 11] Operation: 17-6=11
Exploring Operation: 30/6=5, Resulting Numbers: [17, 5]
Generated Node #0,1,3: 78:[17, 5] Operation: 30/6=5
Exploring Operation: 30-6=24, Resulting Numbers: [17, 24]
Generated Node #0,1,4: 78:[17, 24] Operation: 30-6=24
Moving to Node #0,1,0
Current State: 78:[6, 13], Operations: ['64-58=6', '30-17=13']
Exploring Operation: 6+13=19, Resulting Numbers: [19]
19,78 unequal: No Solution
Exploring Operation: 6*13=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[64, 30, 58, 17], Operations: []
Exploring Operation: 64-58=6, Resulting Numbers: [30, 17, 6]
Generated Node #0,1: 78:[30, 17, 6] Operation: 64-58=6
Moving to Node #0,1
Current State: 78:[30, 17, 6], Operations: ['64-58=6']
Exploring Operation: 30-17=13, Resulting Numbers: [6, 13]
Generated Node #0,1,0: 78:[6, 13] Operation: 30-17=13
Moving to Node #0,1,0
Current State: 78:[6, 13], Operations: ['64-58=6', '30-17=13']
Exploring Operation: 6*13=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
77,
3,
93,
38
] | 66 | [
"93-77=16",
"38-16=22",
"3*22=66"
] | Current State: 66:[77, 3, 93, 38], Operations: []
Exploring Operation: 93-77=16, Resulting Numbers: [3, 38, 16]
Generated Node #2: [3, 38, 16] from Operation: 93-77=16
Current State: 66:[3, 38, 16], Operations: ['93-77=16']
Exploring Operation: 38-16=22, Resulting Numbers: [3, 22]
Generated Node #3: [3, 22] from Operation: 38-16=22
Current State: 66:[3, 22], Operations: ['93-77=16', '38-16=22']
Exploring Operation: 3*22=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[77, 3, 93, 38], Operations: []
Exploring Operation: 93-38=55, Resulting Numbers: [77, 3, 55]
Generated Node #0,0: 66:[77, 3, 55] Operation: 93-38=55
Exploring Operation: 93/3=31, Resulting Numbers: [77, 38, 31]
Generated Node #0,1: 66:[77, 38, 31] Operation: 93/3=31
Exploring Operation: 93-77=16, Resulting Numbers: [3, 38, 16]
Generated Node #0,2: 66:[3, 38, 16] Operation: 93-77=16
Exploring Operation: 77-38=39, Resulting Numbers: [3, 93, 39]
Generated Node #0,3: 66:[3, 93, 39] Operation: 77-38=39
Moving to Node #0,2
Current State: 66:[3, 38, 16], Operations: ['93-77=16']
Exploring Operation: 16-3=13, Resulting Numbers: [38, 13]
Generated Node #0,2,0: 66:[38, 13] Operation: 16-3=13
Exploring Operation: 3+16=19, Resulting Numbers: [38, 19]
Generated Node #0,2,1: 66:[38, 19] Operation: 3+16=19
Exploring Operation: 38-3=35, Resulting Numbers: [16, 35]
Generated Node #0,2,2: 66:[16, 35] Operation: 38-3=35
Exploring Operation: 38-16=22, Resulting Numbers: [3, 22]
Generated Node #0,2,3: 66:[3, 22] Operation: 38-16=22
Moving to Node #0,1
Current State: 66:[77, 38, 31], Operations: ['93/3=31']
Exploring Operation: 38-31=7, Resulting Numbers: [77, 7]
Generated Node #0,1,0: 66:[77, 7] Operation: 38-31=7
Exploring Operation: 77-38=39, Resulting Numbers: [31, 39]
Generated Node #0,1,1: 66:[31, 39] Operation: 77-38=39
Exploring Operation: 38+31=69, Resulting Numbers: [77, 69]
Generated Node #0,1,2: 66:[77, 69] Operation: 38+31=69
Exploring Operation: 77-31=46, Resulting Numbers: [38, 46]
Generated Node #0,1,3: 66:[38, 46] Operation: 77-31=46
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 66:[31, 39], Operations: ['93/3=31', '77-38=39']
Exploring Operation: 39-31=8, Resulting Numbers: [8]
8,66 unequal: No Solution
Exploring Operation: 31*39=1209, Resulting Numbers: [1209]
1209,66 unequal: No Solution
Exploring Operation: 31+39=70, Resulting Numbers: [70]
70,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 66:[77, 7], Operations: ['93/3=31', '38-31=7']
Exploring Operation: 77-7=70, Resulting Numbers: [70]
70,66 unequal: No Solution
Exploring Operation: 77*7=539, Resulting Numbers: [539]
539,66 unequal: No Solution
Exploring Operation: 77+7=84, Resulting Numbers: [84]
84,66 unequal: No Solution
Exploring Operation: 77/7=11, Resulting Numbers: [11]
11,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 66:[77, 69], Operations: ['93/3=31', '38+31=69']
Exploring Operation: 77-69=8, Resulting Numbers: [8]
8,66 unequal: No Solution
Exploring Operation: 77+69=146, Resulting Numbers: [146]
146,66 unequal: No Solution
Exploring Operation: 77*69=5313, Resulting Numbers: [5313]
5313,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 66:[38, 46], Operations: ['93/3=31', '77-31=46']
Exploring Operation: 38*46=1748, Resulting Numbers: [1748]
1748,66 unequal: No Solution
Exploring Operation: 38+46=84, Resulting Numbers: [84]
84,66 unequal: No Solution
Exploring Operation: 46-38=8, Resulting Numbers: [8]
8,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 66:[77, 3, 55], Operations: ['93-38=55']
Exploring Operation: 3+55=58, Resulting Numbers: [77, 58]
Generated Node #0,0,0: 66:[77, 58] Operation: 3+55=58
Exploring Operation: 77-3=74, Resulting Numbers: [55, 74]
Generated Node #0,0,1: 66:[55, 74] Operation: 77-3=74
Exploring Operation: 77-55=22, Resulting Numbers: [3, 22]
Generated Node #0,0,2: 66:[3, 22] Operation: 77-55=22
Exploring Operation: 77+3=80, Resulting Numbers: [55, 80]
Generated Node #0,0,3: 66:[55, 80] Operation: 77+3=80
Moving to Node #0,3
Current State: 66:[3, 93, 39], Operations: ['77-38=39']
Exploring Operation: 93-39=54, Resulting Numbers: [3, 54]
Generated Node #0,3,0: 66:[3, 54] Operation: 93-39=54
Exploring Operation: 39/3=13, Resulting Numbers: [93, 13]
Generated Node #0,3,1: 66:[93, 13] Operation: 39/3=13
Exploring Operation: 93/3=31, Resulting Numbers: [39, 31]
Generated Node #0,3,2: 66:[39, 31] Operation: 93/3=31
Exploring Operation: 93-3=90, Resulting Numbers: [39, 90]
Generated Node #0,3,3: 66:[39, 90] Operation: 93-3=90
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 66:[39, 31], Operations: ['77-38=39', '93/3=31']
Exploring Operation: 39+31=70, Resulting Numbers: [70]
70,66 unequal: No Solution
Exploring Operation: 39-31=8, Resulting Numbers: [8]
8,66 unequal: No Solution
Exploring Operation: 39*31=1209, Resulting Numbers: [1209]
1209,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 66:[3, 54], Operations: ['77-38=39', '93-39=54']
Exploring Operation: 3*54=162, Resulting Numbers: [162]
162,66 unequal: No Solution
Exploring Operation: 3+54=57, Resulting Numbers: [57]
57,66 unequal: No Solution
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,66 unequal: No Solution
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 66:[93, 13], Operations: ['77-38=39', '39/3=13']
Exploring Operation: 93+13=106, Resulting Numbers: [106]
106,66 unequal: No Solution
Exploring Operation: 93-13=80, Resulting Numbers: [80]
80,66 unequal: No Solution
Exploring Operation: 93*13=1209, Resulting Numbers: [1209]
1209,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 66:[39, 90], Operations: ['77-38=39', '93-3=90']
Exploring Operation: 90-39=51, Resulting Numbers: [51]
51,66 unequal: No Solution
Exploring Operation: 39*90=3510, Resulting Numbers: [3510]
3510,66 unequal: No Solution
Exploring Operation: 39+90=129, Resulting Numbers: [129]
129,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 66:[3, 22], Operations: ['93-77=16', '38-16=22']
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,66 unequal: No Solution
Exploring Operation: 3*22=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[77, 3, 93, 38], Operations: []
Exploring Operation: 93-77=16, Resulting Numbers: [3, 38, 16]
Generated Node #0,2: 66:[3, 38, 16] Operation: 93-77=16
Moving to Node #0,2
Current State: 66:[3, 38, 16], Operations: ['93-77=16']
Exploring Operation: 38-16=22, Resulting Numbers: [3, 22]
Generated Node #0,2,3: 66:[3, 22] Operation: 38-16=22
Moving to Node #0,2,3
Current State: 66:[3, 22], Operations: ['93-77=16', '38-16=22']
Exploring Operation: 3*22=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 0.954861 | hs_4 | mult_heuristic |
[
3,
73,
37,
50
] | 62 | [
"73-37=36",
"36/3=12",
"50+12=62"
] | Current State: 62:[3, 73, 37, 50], Operations: []
Exploring Operation: 73-37=36, Resulting Numbers: [3, 50, 36]
Generated Node #2: [3, 50, 36] from Operation: 73-37=36
Current State: 62:[3, 50, 36], Operations: ['73-37=36']
Exploring Operation: 36/3=12, Resulting Numbers: [50, 12]
Generated Node #3: [50, 12] from Operation: 36/3=12
Current State: 62:[50, 12], Operations: ['73-37=36', '36/3=12']
Exploring Operation: 50+12=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[3, 73, 37, 50], Operations: []
Exploring Operation: 73-37=36, Resulting Numbers: [3, 50, 36]
Generated Node #0,0: 62:[3, 50, 36] Operation: 73-37=36
Exploring Operation: 73-50=23, Resulting Numbers: [3, 37, 23]
Generated Node #0,1: 62:[3, 37, 23] Operation: 73-50=23
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[3, 37, 23], Operations: ['73-50=23']
Exploring Operation: 37+23=60, Resulting Numbers: [3, 60]
Generated Node #0,1,0: 62:[3, 60] Operation: 37+23=60
Exploring Operation: 37-3=34, Resulting Numbers: [23, 34]
Generated Node #0,1,1: 62:[23, 34] Operation: 37-3=34
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 62:[3, 60], Operations: ['73-50=23', '37+23=60']
Exploring Operation: 3+60=63, Resulting Numbers: [63]
63,62 unequal: No Solution
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,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,1,1
Current State: 62:[23, 34], Operations: ['73-50=23', '37-3=34']
Exploring Operation: 23+34=57, Resulting Numbers: [57]
57,62 unequal: No Solution
Exploring Operation: 34-23=11, Resulting Numbers: [11]
11,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,0
Current State: 62:[3, 50, 36], Operations: ['73-37=36']
Exploring Operation: 3+50=53, Resulting Numbers: [36, 53]
Generated Node #0,0,0: 62:[36, 53] Operation: 3+50=53
Exploring Operation: 50-36=14, Resulting Numbers: [3, 14]
Generated Node #0,0,1: 62:[3, 14] Operation: 50-36=14
Moving to Node #0,0,1
Current State: 62:[3, 14], Operations: ['73-37=36', '50-36=14']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,62 unequal: No Solution
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,62 unequal: No Solution
Moving to Node #0,0,0
Current State: 62:[36, 53], Operations: ['73-37=36', '3+50=53']
Exploring Operation: 53-36=17, Resulting Numbers: [17]
17,62 unequal: No Solution
Exploring Operation: 36+53=89, Resulting Numbers: [89]
89,62 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,
69,
39,
72
] | 24 | [
"69-27=42",
"42-39=3",
"72/3=24"
] | Current State: 24:[27, 69, 39, 72], Operations: []
Exploring Operation: 69-27=42, Resulting Numbers: [39, 72, 42]
Generated Node #2: [39, 72, 42] from Operation: 69-27=42
Current State: 24:[39, 72, 42], Operations: ['69-27=42']
Exploring Operation: 42-39=3, Resulting Numbers: [72, 3]
Generated Node #3: [72, 3] from Operation: 42-39=3
Current State: 24:[72, 3], Operations: ['69-27=42', '42-39=3']
Exploring Operation: 72/3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[27, 69, 39, 72], Operations: []
Exploring Operation: 72-39=33, Resulting Numbers: [27, 69, 33]
Generated Node #0,0: 24:[27, 69, 33] Operation: 72-39=33
Exploring Operation: 69-39=30, Resulting Numbers: [27, 72, 30]
Generated Node #0,1: 24:[27, 72, 30] Operation: 69-39=30
Exploring Operation: 69-27=42, Resulting Numbers: [39, 72, 42]
Generated Node #0,2: 24:[39, 72, 42] Operation: 69-27=42
Exploring Operation: 72-69=3, Resulting Numbers: [27, 39, 3]
Generated Node #0,3: 24:[27, 39, 3] Operation: 72-69=3
Start Sub Search at level 1: Moving to Node #0,3
Current State: 24:[27, 39, 3], Operations: ['72-69=3']
Exploring Operation: 27-3=24, Resulting Numbers: [39, 24]
Generated Node #0,3,0: 24:[39, 24] Operation: 27-3=24
Exploring Operation: 39-3=36, Resulting Numbers: [27, 36]
Generated Node #0,3,1: 24:[27, 36] Operation: 39-3=36
Exploring Operation: 39/3=13, Resulting Numbers: [27, 13]
Generated Node #0,3,2: 24:[27, 13] Operation: 39/3=13
Exploring Operation: 39-27=12, Resulting Numbers: [3, 12]
Generated Node #0,3,3: 24:[3, 12] Operation: 39-27=12
Moving to Node #0,3,3
Current State: 24:[3, 12], Operations: ['72-69=3', '39-27=12']
Exploring Operation: 3+12=15, Resulting Numbers: [15]
15,24 unequal: No Solution
Exploring Operation: 3*12=36, Resulting Numbers: [36]
36,24 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,24 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,24 unequal: No Solution
Moving to Node #0,3,2
Current State: 24:[27, 13], Operations: ['72-69=3', '39/3=13']
Exploring Operation: 27*13=351, Resulting Numbers: [351]
351,24 unequal: No Solution
Exploring Operation: 27-13=14, Resulting Numbers: [14]
14,24 unequal: No Solution
Exploring Operation: 27+13=40, Resulting Numbers: [40]
40,24 unequal: No Solution
Moving to Node #0,3,1
Current State: 24:[27, 36], Operations: ['72-69=3', '39-3=36']
Exploring Operation: 36-27=9, Resulting Numbers: [9]
9,24 unequal: No Solution
Exploring Operation: 27*36=972, Resulting Numbers: [972]
972,24 unequal: No Solution
Exploring Operation: 27+36=63, Resulting Numbers: [63]
63,24 unequal: No Solution
Moving to Node #0,3,0
Current State: 24:[39, 24], Operations: ['72-69=3', '27-3=24']
Exploring Operation: 39-24=15, Resulting Numbers: [15]
15,24 unequal: No Solution
Exploring Operation: 39+24=63, Resulting Numbers: [63]
63,24 unequal: No Solution
Exploring Operation: 39*24=936, Resulting Numbers: [936]
936,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
Current State: 24:[27, 69, 33], Operations: ['72-39=33']
Exploring Operation: 33-27=6, Resulting Numbers: [69, 6]
Generated Node #0,0,0: 24:[69, 6] Operation: 33-27=6
Exploring Operation: 27+69=96, Resulting Numbers: [33, 96]
Generated Node #0,0,1: 24:[33, 96] Operation: 27+69=96
Exploring Operation: 69-27=42, Resulting Numbers: [33, 42]
Generated Node #0,0,2: 24:[33, 42] Operation: 69-27=42
Exploring Operation: 69-33=36, Resulting Numbers: [27, 36]
Generated Node #0,0,3: 24:[27, 36] Operation: 69-33=36
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 24:[27, 36], Operations: ['72-39=33', '69-33=36']
Exploring Operation: 27+36=63, Resulting Numbers: [63]
63,24 unequal: No Solution
Exploring Operation: 36-27=9, Resulting Numbers: [9]
9,24 unequal: No Solution
Exploring Operation: 27*36=972, Resulting Numbers: [972]
972,24 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: 24:[33, 42], Operations: ['72-39=33', '69-27=42']
Exploring Operation: 33*42=1386, Resulting Numbers: [1386]
1386,24 unequal: No Solution
Exploring Operation: 42-33=9, Resulting Numbers: [9]
9,24 unequal: No Solution
Exploring Operation: 33+42=75, Resulting Numbers: [75]
75,24 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: 24:[69, 6], Operations: ['72-39=33', '33-27=6']
Exploring Operation: 69+6=75, Resulting Numbers: [75]
75,24 unequal: No Solution
Exploring Operation: 69*6=414, Resulting Numbers: [414]
414,24 unequal: No Solution
Exploring Operation: 69-6=63, Resulting Numbers: [63]
63,24 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: 24:[33, 96], Operations: ['72-39=33', '27+69=96']
Exploring Operation: 33*96=3168, Resulting Numbers: [3168]
3168,24 unequal: No Solution
Exploring Operation: 96-33=63, Resulting Numbers: [63]
63,24 unequal: No Solution
Exploring Operation: 33+96=129, Resulting Numbers: [129]
129,24 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: 24:[27, 72, 30], Operations: ['69-39=30']
Exploring Operation: 72-30=42, Resulting Numbers: [27, 42]
Generated Node #0,1,0: 24:[27, 42] Operation: 72-30=42
Exploring Operation: 27+72=99, Resulting Numbers: [30, 99]
Generated Node #0,1,1: 24:[30, 99] Operation: 27+72=99
Exploring Operation: 72-27=45, Resulting Numbers: [30, 45]
Generated Node #0,1,2: 24:[30, 45] Operation: 72-27=45
Exploring Operation: 30-27=3, Resulting Numbers: [72, 3]
Generated Node #0,1,3: 24:[72, 3] Operation: 30-27=3
Moving to Node #0,1,0
Current State: 24:[27, 42], Operations: ['69-39=30', '72-30=42']
Exploring Operation: 27*42=1134, Resulting Numbers: [1134]
1134,24 unequal: No Solution
Exploring Operation: 42-27=15, Resulting Numbers: [15]
15,24 unequal: No Solution
Exploring Operation: 27+42=69, Resulting Numbers: [69]
69,24 unequal: No Solution
Moving to Node #0,1,2
Current State: 24:[30, 45], Operations: ['69-39=30', '72-27=45']
Exploring Operation: 30+45=75, Resulting Numbers: [75]
75,24 unequal: No Solution
Exploring Operation: 45-30=15, Resulting Numbers: [15]
15,24 unequal: No Solution
Exploring Operation: 30*45=1350, Resulting Numbers: [1350]
1350,24 unequal: No Solution
Moving to Node #0,1,3
Current State: 24:[72, 3], Operations: ['69-39=30', '30-27=3']
Exploring Operation: 72+3=75, Resulting Numbers: [75]
75,24 unequal: No Solution
Exploring Operation: 72/3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[27, 69, 39, 72], Operations: []
Exploring Operation: 69-39=30, Resulting Numbers: [27, 72, 30]
Generated Node #0,1: 24:[27, 72, 30] Operation: 69-39=30
Moving to Node #0,1
Current State: 24:[27, 72, 30], Operations: ['69-39=30']
Exploring Operation: 30-27=3, Resulting Numbers: [72, 3]
Generated Node #0,1,3: 24:[72, 3] Operation: 30-27=3
Moving to Node #0,1,3
Current State: 24:[72, 3], Operations: ['69-39=30', '30-27=3']
Exploring Operation: 72/3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.953993 | hs_4 | mult_heuristic |
[
13,
10,
73,
78
] | 26 | [
"13*10=130",
"78-73=5",
"130/5=26"
] | Current State: 26:[13, 10, 73, 78], Operations: []
Exploring Operation: 13*10=130, Resulting Numbers: [73, 78, 130]
Generated Node #2: [73, 78, 130] from Operation: 13*10=130
Current State: 26:[73, 78, 130], Operations: ['13*10=130']
Exploring Operation: 78-73=5, Resulting Numbers: [130, 5]
Generated Node #3: [130, 5] from Operation: 78-73=5
Current State: 26:[130, 5], Operations: ['13*10=130', '78-73=5']
Exploring Operation: 130/5=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[13, 10, 73, 78], Operations: []
Exploring Operation: 78-13=65, Resulting Numbers: [10, 73, 65]
Generated Node #0,0: 26:[10, 73, 65] Operation: 78-13=65
Exploring Operation: 73-13=60, Resulting Numbers: [10, 78, 60]
Generated Node #0,1: 26:[10, 78, 60] Operation: 73-13=60
Exploring Operation: 78/13=6, Resulting Numbers: [10, 73, 6]
Generated Node #0,2: 26:[10, 73, 6] Operation: 78/13=6
Exploring Operation: 78-73=5, Resulting Numbers: [13, 10, 5]
Generated Node #0,3: 26:[13, 10, 5] Operation: 78-73=5
Moving to Node #0,3
Current State: 26:[13, 10, 5], Operations: ['78-73=5']
Exploring Operation: 13-10=3, Resulting Numbers: [5, 3]
Generated Node #0,3,0: 26:[5, 3] Operation: 13-10=3
Exploring Operation: 10/5=2, Resulting Numbers: [13, 2]
Generated Node #0,3,1: 26:[13, 2] Operation: 10/5=2
Exploring Operation: 10+5=15, Resulting Numbers: [13, 15]
Generated Node #0,3,2: 26:[13, 15] Operation: 10+5=15
Exploring Operation: 10-5=5, Resulting Numbers: [13, 5]
Generated Node #0,3,3: 26:[13, 5] Operation: 10-5=5
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 26:[13, 2], Operations: ['78-73=5', '10/5=2']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,26 unequal: No Solution
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[13, 10, 73, 78], Operations: []
Exploring Operation: 78-73=5, Resulting Numbers: [13, 10, 5]
Generated Node #0,3: 26:[13, 10, 5] Operation: 78-73=5
Moving to Node #0,3
Current State: 26:[13, 10, 5], Operations: ['78-73=5']
Exploring Operation: 10/5=2, Resulting Numbers: [13, 2]
Generated Node #0,3,1: 26:[13, 2] Operation: 10/5=2
Moving to Node #0,3,1
Current State: 26:[13, 2], Operations: ['78-73=5', '10/5=2']
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
48,
10,
3,
44
] | 74 | [
"48+10=58",
"3*44=132",
"132-58=74"
] | Current State: 74:[48, 10, 3, 44], Operations: []
Exploring Operation: 48+10=58, Resulting Numbers: [3, 44, 58]
Generated Node #2: [3, 44, 58] from Operation: 48+10=58
Current State: 74:[3, 44, 58], Operations: ['48+10=58']
Exploring Operation: 3*44=132, Resulting Numbers: [58, 132]
Generated Node #3: [58, 132] from Operation: 3*44=132
Current State: 74:[58, 132], Operations: ['48+10=58', '3*44=132']
Exploring Operation: 132-58=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[48, 10, 3, 44], Operations: []
Exploring Operation: 48-44=4, Resulting Numbers: [10, 3, 4]
Generated Node #0,0: 74:[10, 3, 4] Operation: 48-44=4
Exploring Operation: 48-10=38, Resulting Numbers: [3, 44, 38]
Generated Node #0,1: 74:[3, 44, 38] Operation: 48-10=38
Exploring Operation: 44-10=34, Resulting Numbers: [48, 3, 34]
Generated Node #0,2: 74:[48, 3, 34] Operation: 44-10=34
Exploring Operation: 48-3=45, Resulting Numbers: [10, 44, 45]
Generated Node #0,3: 74:[10, 44, 45] Operation: 48-3=45
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[3, 44, 38], Operations: ['48-10=38']
Exploring Operation: 38-3=35, Resulting Numbers: [44, 35]
Generated Node #0,1,0: 74:[44, 35] Operation: 38-3=35
Exploring Operation: 44-3=41, Resulting Numbers: [38, 41]
Generated Node #0,1,1: 74:[38, 41] Operation: 44-3=41
Exploring Operation: 44+38=82, Resulting Numbers: [3, 82]
Generated Node #0,1,2: 74:[3, 82] Operation: 44+38=82
Exploring Operation: 44-38=6, Resulting Numbers: [3, 6]
Generated Node #0,1,3: 74:[3, 6] Operation: 44-38=6
Moving to Node #0,1,1
Current State: 74:[38, 41], Operations: ['48-10=38', '44-3=41']
Exploring Operation: 41-38=3, Resulting Numbers: [3]
3,74 unequal: No Solution
Exploring Operation: 38*41=1558, Resulting Numbers: [1558]
1558,74 unequal: No Solution
Exploring Operation: 38+41=79, Resulting Numbers: [79]
79,74 unequal: No Solution
Moving to Node #0,1,3
Current State: 74:[3, 6], Operations: ['48-10=38', '44-38=6']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,74 unequal: No Solution
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,74 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,74 unequal: No Solution
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,74 unequal: No Solution
Moving to Node #0,1,2
Current State: 74:[3, 82], Operations: ['48-10=38', '44+38=82']
Exploring Operation: 3+82=85, Resulting Numbers: [85]
85,74 unequal: No Solution
Exploring Operation: 3*82=246, Resulting Numbers: [246]
246,74 unequal: No Solution
Exploring Operation: 82-3=79, Resulting Numbers: [79]
79,74 unequal: No Solution
Moving to Node #0,1,0
Current State: 74:[44, 35], Operations: ['48-10=38', '38-3=35']
Exploring Operation: 44+35=79, Resulting Numbers: [79]
79,74 unequal: No Solution
Exploring Operation: 44*35=1540, Resulting Numbers: [1540]
1540,74 unequal: No Solution
Exploring Operation: 44-35=9, Resulting Numbers: [9]
9,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,0
Current State: 74:[10, 3, 4], Operations: ['48-44=4']
Exploring Operation: 10*3=30, Resulting Numbers: [4, 30]
Generated Node #0,0,0: 74:[4, 30] Operation: 10*3=30
Exploring Operation: 10*4=40, Resulting Numbers: [3, 40]
Generated Node #0,0,1: 74:[3, 40] Operation: 10*4=40
Exploring Operation: 10-3=7, Resulting Numbers: [4, 7]
Generated Node #0,0,2: 74:[4, 7] Operation: 10-3=7
Exploring Operation: 10-4=6, Resulting Numbers: [3, 6]
Generated Node #0,0,3: 74:[3, 6] Operation: 10-4=6
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 74:[3, 40], Operations: ['48-44=4', '10*4=40']
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,74 unequal: No Solution
Exploring Operation: 3*40=120, Resulting Numbers: [120]
120,74 unequal: No Solution
Exploring Operation: 3+40=43, Resulting Numbers: [43]
43,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,3
Current State: 74:[3, 6], Operations: ['48-44=4', '10-4=6']
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,74 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,74 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,74 unequal: No Solution
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,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,2
Current State: 74:[4, 7], Operations: ['48-44=4', '10-3=7']
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,74 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,74 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,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:[4, 30], Operations: ['48-44=4', '10*3=30']
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,74 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,74 unequal: No Solution
Exploring Operation: 4*30=120, Resulting Numbers: [120]
120,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:[48, 3, 34], Operations: ['44-10=34']
Exploring Operation: 48-3=45, Resulting Numbers: [34, 45]
Generated Node #0,2,0: 74:[34, 45] Operation: 48-3=45
Exploring Operation: 48+34=82, Resulting Numbers: [3, 82]
Generated Node #0,2,1: 74:[3, 82] Operation: 48+34=82
Exploring Operation: 3+34=37, Resulting Numbers: [48, 37]
Generated Node #0,2,2: 74:[48, 37] Operation: 3+34=37
Exploring Operation: 48-34=14, Resulting Numbers: [3, 14]
Generated Node #0,2,3: 74:[3, 14] Operation: 48-34=14
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 74:[3, 82], Operations: ['44-10=34', '48+34=82']
Exploring Operation: 3+82=85, Resulting Numbers: [85]
85,74 unequal: No Solution
Exploring Operation: 82-3=79, Resulting Numbers: [79]
79,74 unequal: No Solution
Exploring Operation: 3*82=246, Resulting Numbers: [246]
246,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,2,0
Current State: 74:[34, 45], Operations: ['44-10=34', '48-3=45']
Exploring Operation: 34*45=1530, Resulting Numbers: [1530]
1530,74 unequal: No Solution
Exploring Operation: 34+45=79, Resulting Numbers: [79]
79,74 unequal: No Solution
Exploring Operation: 45-34=11, Resulting Numbers: [11]
11,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,2,2
Current State: 74:[48, 37], Operations: ['44-10=34', '3+34=37']
Exploring Operation: 48-37=11, Resulting Numbers: [11]
11,74 unequal: No Solution
Exploring Operation: 48+37=85, Resulting Numbers: [85]
85,74 unequal: No Solution
Exploring Operation: 48*37=1776, Resulting Numbers: [1776]
1776,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,2,3
Current State: 74:[3, 14], Operations: ['44-10=34', '48-34=14']
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,74 unequal: No Solution
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,74 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,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,3
Current State: 74:[10, 44, 45], Operations: ['48-3=45']
Exploring Operation: 44+45=89, Resulting Numbers: [10, 89]
Generated Node #0,3,0: 74:[10, 89] Operation: 44+45=89
Exploring Operation: 45-44=1, Resulting Numbers: [10, 1]
Generated Node #0,3,1: 74:[10, 1] Operation: 45-44=1
Exploring Operation: 44-10=34, Resulting Numbers: [45, 34]
Generated Node #0,3,2: 74:[45, 34] Operation: 44-10=34
Exploring Operation: 45-10=35, Resulting Numbers: [44, 35]
Generated Node #0,3,3: 74:[44, 35] Operation: 45-10=35
Moving to Node #0,3,1
Current State: 74:[10, 1], Operations: ['48-3=45', '45-44=1']
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,74 unequal: No Solution
Exploring Operation: 10+1=11, Resulting Numbers: [11]
11,74 unequal: No Solution
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,74 unequal: No Solution
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,74 unequal: No Solution
Moving to Node #0,3,3
Current State: 74:[44, 35], Operations: ['48-3=45', '45-10=35']
Exploring Operation: 44*35=1540, Resulting Numbers: [1540]
1540,74 unequal: No Solution
Exploring Operation: 44+35=79, Resulting Numbers: [79]
79,74 unequal: No Solution
Exploring Operation: 44-35=9, Resulting Numbers: [9]
9,74 unequal: No Solution
Moving to Node #0,3,2
Current State: 74:[45, 34], Operations: ['48-3=45', '44-10=34']
Exploring Operation: 45-34=11, Resulting Numbers: [11]
11,74 unequal: No Solution
Exploring Operation: 45*34=1530, Resulting Numbers: [1530]
1530,74 unequal: No Solution
Exploring Operation: 45+34=79, Resulting Numbers: [79]
79,74 unequal: No Solution
Moving to Node #0,3,0
Current State: 74:[10, 89], Operations: ['48-3=45', '44+45=89']
Exploring Operation: 89-10=79, Resulting Numbers: [79]
79,74 unequal: No Solution
Exploring Operation: 10+89=99, Resulting Numbers: [99]
99,74 unequal: No Solution
Exploring Operation: 10*89=890, Resulting Numbers: [890]
890,74 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 |
[
82,
78,
1,
37
] | 41 | [
"82-78=4",
"1*37=37",
"4+37=41"
] | Current State: 41:[82, 78, 1, 37], Operations: []
Exploring Operation: 82-78=4, Resulting Numbers: [1, 37, 4]
Generated Node #2: [1, 37, 4] from Operation: 82-78=4
Current State: 41:[1, 37, 4], Operations: ['82-78=4']
Exploring Operation: 1*37=37, Resulting Numbers: [4, 37]
Generated Node #3: [4, 37] from Operation: 1*37=37
Current State: 41:[4, 37], Operations: ['82-78=4', '1*37=37']
Exploring Operation: 4+37=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[82, 78, 1, 37], Operations: []
Exploring Operation: 82-78=4, Resulting Numbers: [1, 37, 4]
Generated Node #0,0: 41:[1, 37, 4] Operation: 82-78=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[1, 37, 4], Operations: ['82-78=4']
Exploring Operation: 1+37=38, Resulting Numbers: [4, 38]
Generated Node #0,0,0: 41:[4, 38] Operation: 1+37=38
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 41:[4, 38], Operations: ['82-78=4', '1+37=38']
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
67,
35,
56,
5
] | 90 | [
"67-56=11",
"5*11=55",
"35+55=90"
] | Current State: 90:[67, 35, 56, 5], Operations: []
Exploring Operation: 67-56=11, Resulting Numbers: [35, 5, 11]
Generated Node #2: [35, 5, 11] from Operation: 67-56=11
Current State: 90:[35, 5, 11], Operations: ['67-56=11']
Exploring Operation: 5*11=55, Resulting Numbers: [35, 55]
Generated Node #3: [35, 55] from Operation: 5*11=55
Current State: 90:[35, 55], Operations: ['67-56=11', '5*11=55']
Exploring Operation: 35+55=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[67, 35, 56, 5], Operations: []
Exploring Operation: 67-35=32, Resulting Numbers: [56, 5, 32]
Generated Node #0,0: 90:[56, 5, 32] Operation: 67-35=32
Exploring Operation: 67-56=11, Resulting Numbers: [35, 5, 11]
Generated Node #0,1: 90:[35, 5, 11] Operation: 67-56=11
Moving to Node #0,1
Current State: 90:[35, 5, 11], Operations: ['67-56=11']
Exploring Operation: 35-5=30, Resulting Numbers: [11, 30]
Generated Node #0,1,0: 90:[11, 30] Operation: 35-5=30
Exploring Operation: 35+11=46, Resulting Numbers: [5, 46]
Generated Node #0,1,1: 90:[5, 46] Operation: 35+11=46
Moving to Node #0,0
Current State: 90:[56, 5, 32], Operations: ['67-35=32']
Exploring Operation: 56-32=24, Resulting Numbers: [5, 24]
Generated Node #0,0,0: 90:[5, 24] Operation: 56-32=24
Exploring Operation: 56+32=88, Resulting Numbers: [5, 88]
Generated Node #0,0,1: 90:[5, 88] Operation: 56+32=88
Moving to Node #0,1,0
Current State: 90:[11, 30], Operations: ['67-56=11', '35-5=30']
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,90 unequal: No Solution
Exploring Operation: 11+30=41, Resulting Numbers: [41]
41,90 unequal: No Solution
Moving to Node #0,1,1
Current State: 90:[5, 46], Operations: ['67-56=11', '35+11=46']
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,90 unequal: No Solution
Exploring Operation: 5+46=51, Resulting Numbers: [51]
51,90 unequal: No Solution
Moving to Node #0,0,1
Current State: 90:[5, 88], Operations: ['67-35=32', '56+32=88']
Exploring Operation: 5+88=93, Resulting Numbers: [93]
93,90 unequal: No Solution
Exploring Operation: 88-5=83, Resulting Numbers: [83]
83,90 unequal: No Solution
Moving to Node #0,0,0
Current State: 90:[5, 24], Operations: ['67-35=32', '56-32=24']
Exploring Operation: 5+24=29, Resulting Numbers: [29]
29,90 unequal: No Solution
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,90 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
28,
72,
28,
30
] | 46 | [
"72-28=44",
"30-28=2",
"44+2=46"
] | Current State: 46:[28, 72, 28, 30], Operations: []
Exploring Operation: 72-28=44, Resulting Numbers: [30, 44]
Generated Node #2: [30, 44] from Operation: 72-28=44
Current State: 46:[30, 44], Operations: ['72-28=44']
Exploring Operation: 30-28=2, Resulting Numbers: [44, 2]
Generated Node #3: [44, 2] from Operation: 30-28=2
Current State: 46:[44, 2], Operations: ['72-28=44', '30-28=2']
Exploring Operation: 44+2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[28, 72, 28, 30], Operations: []
Exploring Operation: 72-28=44, Resulting Numbers: [28, 30, 44]
Generated Node #0,0: 46:[28, 30, 44] Operation: 72-28=44
Exploring Operation: 72-30=42, Resulting Numbers: [28, 28, 42]
Generated Node #0,1: 46:[28, 28, 42] Operation: 72-30=42
Exploring Operation: 30-28=2, Resulting Numbers: [72, 28, 2]
Generated Node #0,2: 46:[72, 28, 2] Operation: 30-28=2
Exploring Operation: 72-28=44, Resulting Numbers: [28, 30, 44]
Generated Node #0,3: 46:[28, 30, 44] Operation: 72-28=44
Moving to Node #0,0
Current State: 46:[28, 30, 44], Operations: ['72-28=44']
Exploring Operation: 44-30=14, Resulting Numbers: [28, 14]
Generated Node #0,0,0: 46:[28, 14] Operation: 44-30=14
Exploring Operation: 44-28=16, Resulting Numbers: [30, 16]
Generated Node #0,0,1: 46:[30, 16] Operation: 44-28=16
Exploring Operation: 30-28=2, Resulting Numbers: [44, 2]
Generated Node #0,0,2: 46:[44, 2] Operation: 30-28=2
Exploring Operation: 28+30=58, Resulting Numbers: [44, 58]
Generated Node #0,0,3: 46:[44, 58] Operation: 28+30=58
Moving to Node #0,3
Current State: 46:[28, 30, 44], Operations: ['72-28=44']
Exploring Operation: 44-30=14, Resulting Numbers: [28, 14]
Generated Node #0,3,0: 46:[28, 14] Operation: 44-30=14
Exploring Operation: 28+30=58, Resulting Numbers: [44, 58]
Generated Node #0,3,1: 46:[44, 58] Operation: 28+30=58
Exploring Operation: 44-28=16, Resulting Numbers: [30, 16]
Generated Node #0,3,2: 46:[30, 16] Operation: 44-28=16
Exploring Operation: 30-28=2, Resulting Numbers: [44, 2]
Generated Node #0,3,3: 46:[44, 2] Operation: 30-28=2
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 46:[44, 2], Operations: ['72-28=44', '30-28=2']
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,46 unequal: No Solution
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,46 unequal: No Solution
Exploring Operation: 44*2=88, Resulting Numbers: [88]
88,46 unequal: No Solution
Exploring Operation: 44+2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[28, 72, 28, 30], Operations: []
Exploring Operation: 72-28=44, Resulting Numbers: [28, 30, 44]
Generated Node #0,3: 46:[28, 30, 44] Operation: 72-28=44
Moving to Node #0,3
Current State: 46:[28, 30, 44], Operations: ['72-28=44']
Exploring Operation: 30-28=2, Resulting Numbers: [44, 2]
Generated Node #0,3,3: 46:[44, 2] Operation: 30-28=2
Moving to Node #0,3,3
Current State: 46:[44, 2], Operations: ['72-28=44', '30-28=2']
Exploring Operation: 44+2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | mult_heuristic |
[
27,
51,
2,
79
] | 50 | [
"79-27=52",
"51*2=102",
"102-52=50"
] | Current State: 50:[27, 51, 2, 79], Operations: []
Exploring Operation: 79-27=52, Resulting Numbers: [51, 2, 52]
Generated Node #2: [51, 2, 52] from Operation: 79-27=52
Current State: 50:[51, 2, 52], Operations: ['79-27=52']
Exploring Operation: 51*2=102, Resulting Numbers: [52, 102]
Generated Node #3: [52, 102] from Operation: 51*2=102
Current State: 50:[52, 102], Operations: ['79-27=52', '51*2=102']
Exploring Operation: 102-52=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[27, 51, 2, 79], Operations: []
Exploring Operation: 79-27=52, Resulting Numbers: [51, 2, 52]
Generated Node #0,0: 50:[51, 2, 52] Operation: 79-27=52
Exploring Operation: 79-51=28, Resulting Numbers: [27, 2, 28]
Generated Node #0,1: 50:[27, 2, 28] Operation: 79-51=28
Exploring Operation: 51-27=24, Resulting Numbers: [2, 79, 24]
Generated Node #0,2: 50:[2, 79, 24] Operation: 51-27=24
Moving to Node #0,0
Current State: 50:[51, 2, 52], Operations: ['79-27=52']
Exploring Operation: 52-2=50, Resulting Numbers: [51, 50]
Generated Node #0,0,0: 50:[51, 50] Operation: 52-2=50
Exploring Operation: 52/2=26, Resulting Numbers: [51, 26]
Generated Node #0,0,1: 50:[51, 26] Operation: 52/2=26
Exploring Operation: 52-51=1, Resulting Numbers: [2, 1]
Generated Node #0,0,2: 50:[2, 1] Operation: 52-51=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 50:[51, 50], Operations: ['79-27=52', '52-2=50']
Exploring Operation: 51*50=2550, Resulting Numbers: [2550]
2550,50 unequal: No Solution
Exploring Operation: 51-50=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 51+50=101, Resulting Numbers: [101]
101,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 50:[2, 1], Operations: ['79-27=52', '52-51=1']
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,50 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 50:[51, 26], Operations: ['79-27=52', '52/2=26']
Exploring Operation: 51*26=1326, Resulting Numbers: [1326]
1326,50 unequal: No Solution
Exploring Operation: 51-26=25, Resulting Numbers: [25]
25,50 unequal: No Solution
Exploring Operation: 51+26=77, Resulting Numbers: [77]
77,50 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: 50:[27, 2, 28], Operations: ['79-51=28']
Exploring Operation: 27-2=25, Resulting Numbers: [28, 25]
Generated Node #0,1,0: 50:[28, 25] Operation: 27-2=25
Exploring Operation: 28-2=26, Resulting Numbers: [27, 26]
Generated Node #0,1,1: 50:[27, 26] Operation: 28-2=26
Exploring Operation: 28-27=1, Resulting Numbers: [2, 1]
Generated Node #0,1,2: 50:[2, 1] Operation: 28-27=1
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 50:[2, 1], Operations: ['79-51=28', '28-27=1']
Exploring Operation: 2+1=3, Resulting Numbers: [3]
3,50 unequal: No Solution
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 50:[28, 25], Operations: ['79-51=28', '27-2=25']
Exploring Operation: 28-25=3, Resulting Numbers: [3]
3,50 unequal: No Solution
Exploring Operation: 28*25=700, Resulting Numbers: [700]
700,50 unequal: No Solution
Exploring Operation: 28+25=53, Resulting Numbers: [53]
53,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 50:[27, 26], Operations: ['79-51=28', '28-2=26']
Exploring Operation: 27-26=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 27*26=702, Resulting Numbers: [702]
702,50 unequal: No Solution
Exploring Operation: 27+26=53, Resulting Numbers: [53]
53,50 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: 50:[2, 79, 24], Operations: ['51-27=24']
Exploring Operation: 79-24=55, Resulting Numbers: [2, 55]
Generated Node #0,2,0: 50:[2, 55] Operation: 79-24=55
Exploring Operation: 79-2=77, Resulting Numbers: [24, 77]
Generated Node #0,2,1: 50:[24, 77] Operation: 79-2=77
Exploring Operation: 2+24=26, Resulting Numbers: [79, 26]
Generated Node #0,2,2: 50:[79, 26] Operation: 2+24=26
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 50:[2, 55], Operations: ['51-27=24', '79-24=55']
Exploring Operation: 2+55=57, Resulting Numbers: [57]
57,50 unequal: No Solution
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,50 unequal: No Solution
Exploring Operation: 2*55=110, Resulting Numbers: [110]
110,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 50:[24, 77], Operations: ['51-27=24', '79-2=77']
Exploring Operation: 24*77=1848, Resulting Numbers: [1848]
1848,50 unequal: No Solution
Exploring Operation: 24+77=101, Resulting Numbers: [101]
101,50 unequal: No Solution
Exploring Operation: 77-24=53, Resulting Numbers: [53]
53,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 50:[79, 26], Operations: ['51-27=24', '2+24=26']
Exploring Operation: 79+26=105, Resulting Numbers: [105]
105,50 unequal: No Solution
Exploring Operation: 79*26=2054, Resulting Numbers: [2054]
2054,50 unequal: No Solution
Exploring Operation: 79-26=53, Resulting Numbers: [53]
53,50 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 |
[
1,
19,
31,
31
] | 19 | [
"1+19=20",
"31/31=1",
"20-1=19"
] | Current State: 19:[1, 19, 31, 31], Operations: []
Exploring Operation: 1+19=20, Resulting Numbers: [31, 31, 20]
Generated Node #2: [31, 31, 20] from Operation: 1+19=20
Current State: 19:[31, 31, 20], Operations: ['1+19=20']
Exploring Operation: 31/31=1, Resulting Numbers: [20, 1]
Generated Node #3: [20, 1] from Operation: 31/31=1
Current State: 19:[20, 1], Operations: ['1+19=20', '31/31=1']
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[1, 19, 31, 31], Operations: []
Exploring Operation: 31-1=30, Resulting Numbers: [19, 31, 30]
Generated Node #0,0: 19:[19, 31, 30] Operation: 31-1=30
Exploring Operation: 31-1=30, Resulting Numbers: [19, 31, 30]
Generated Node #0,1: 19:[19, 31, 30] Operation: 31-1=30
Exploring Operation: 1*19=19, Resulting Numbers: [31, 31, 19]
Generated Node #0,2: 19:[31, 31, 19] Operation: 1*19=19
Exploring Operation: 19/1=19, Resulting Numbers: [31, 31, 19]
Generated Node #0,3: 19:[31, 31, 19] Operation: 19/1=19
Moving to Node #0,0
Current State: 19:[19, 31, 30], Operations: ['31-1=30']
Exploring Operation: 31-30=1, Resulting Numbers: [19, 1]
Generated Node #0,0,0: 19:[19, 1] Operation: 31-30=1
Exploring Operation: 31-19=12, Resulting Numbers: [30, 12]
Generated Node #0,0,1: 19:[30, 12] Operation: 31-19=12
Exploring Operation: 19+31=50, Resulting Numbers: [30, 50]
Generated Node #0,0,2: 19:[30, 50] Operation: 19+31=50
Exploring Operation: 30-19=11, Resulting Numbers: [31, 11]
Generated Node #0,0,3: 19:[31, 11] Operation: 30-19=11
Moving to Node #0,1
Current State: 19:[19, 31, 30], Operations: ['31-1=30']
Exploring Operation: 30-19=11, Resulting Numbers: [31, 11]
Generated Node #0,1,0: 19:[31, 11] Operation: 30-19=11
Exploring Operation: 19+31=50, Resulting Numbers: [30, 50]
Generated Node #0,1,1: 19:[30, 50] Operation: 19+31=50
Exploring Operation: 31-19=12, Resulting Numbers: [30, 12]
Generated Node #0,1,2: 19:[30, 12] Operation: 31-19=12
Exploring Operation: 31-30=1, Resulting Numbers: [19, 1]
Generated Node #0,1,3: 19:[19, 1] Operation: 31-30=1
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 19:[30, 12], Operations: ['31-1=30', '31-19=12']
Exploring Operation: 30-12=18, Resulting Numbers: [18]
18,19 unequal: No Solution
Exploring Operation: 30+12=42, Resulting Numbers: [42]
42,19 unequal: No Solution
Exploring Operation: 30*12=360, Resulting Numbers: [360]
360,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 19:[19, 1], Operations: ['31-1=30', '31-30=1']
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[1, 19, 31, 31], Operations: []
Exploring Operation: 31-1=30, Resulting Numbers: [19, 31, 30]
Generated Node #0,1: 19:[19, 31, 30] Operation: 31-1=30
Moving to Node #0,1
Current State: 19:[19, 31, 30], Operations: ['31-1=30']
Exploring Operation: 31-30=1, Resulting Numbers: [19, 1]
Generated Node #0,1,3: 19:[19, 1] Operation: 31-30=1
Moving to Node #0,1,3
Current State: 19:[19, 1], Operations: ['31-1=30', '31-30=1']
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | mult_heuristic |
[
34,
72,
41,
29
] | 36 | [
"34+72=106",
"41+29=70",
"106-70=36"
] | Current State: 36:[34, 72, 41, 29], Operations: []
Exploring Operation: 34+72=106, Resulting Numbers: [41, 29, 106]
Generated Node #2: [41, 29, 106] from Operation: 34+72=106
Current State: 36:[41, 29, 106], Operations: ['34+72=106']
Exploring Operation: 41+29=70, Resulting Numbers: [106, 70]
Generated Node #3: [106, 70] from Operation: 41+29=70
Current State: 36:[106, 70], Operations: ['34+72=106', '41+29=70']
Exploring Operation: 106-70=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[34, 72, 41, 29], Operations: []
Exploring Operation: 34-29=5, Resulting Numbers: [72, 41, 5]
Generated Node #0,0: 36:[72, 41, 5] Operation: 34-29=5
Exploring Operation: 72-41=31, Resulting Numbers: [34, 29, 31]
Generated Node #0,1: 36:[34, 29, 31] Operation: 72-41=31
Exploring Operation: 72-34=38, Resulting Numbers: [41, 29, 38]
Generated Node #0,2: 36:[41, 29, 38] Operation: 72-34=38
Exploring Operation: 41-29=12, Resulting Numbers: [34, 72, 12]
Generated Node #0,3: 36:[34, 72, 12] Operation: 41-29=12
Exploring Operation: 72-29=43, Resulting Numbers: [34, 41, 43]
Generated Node #0,4: 36:[34, 41, 43] Operation: 72-29=43
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[34, 29, 31], Operations: ['72-41=31']
Exploring Operation: 31-29=2, Resulting Numbers: [34, 2]
Generated Node #0,1,0: 36:[34, 2] Operation: 31-29=2
Exploring Operation: 29+31=60, Resulting Numbers: [34, 60]
Generated Node #0,1,1: 36:[34, 60] Operation: 29+31=60
Exploring Operation: 34+29=63, Resulting Numbers: [31, 63]
Generated Node #0,1,2: 36:[31, 63] Operation: 34+29=63
Exploring Operation: 34-29=5, Resulting Numbers: [31, 5]
Generated Node #0,1,3: 36:[31, 5] Operation: 34-29=5
Exploring Operation: 34-31=3, Resulting Numbers: [29, 3]
Generated Node #0,1,4: 36:[29, 3] Operation: 34-31=3
Moving to Node #0,1,0
Current State: 36:[34, 2], Operations: ['72-41=31', '31-29=2']
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,36 unequal: No Solution
Exploring Operation: 34*2=68, Resulting Numbers: [68]
68,36 unequal: No Solution
Exploring Operation: 34+2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[34, 72, 41, 29], Operations: []
Exploring Operation: 72-41=31, Resulting Numbers: [34, 29, 31]
Generated Node #0,1: 36:[34, 29, 31] Operation: 72-41=31
Moving to Node #0,1
Current State: 36:[34, 29, 31], Operations: ['72-41=31']
Exploring Operation: 31-29=2, Resulting Numbers: [34, 2]
Generated Node #0,1,0: 36:[34, 2] Operation: 31-29=2
Moving to Node #0,1,0
Current State: 36:[34, 2], Operations: ['72-41=31', '31-29=2']
Exploring Operation: 34+2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
6,
2,
45,
86
] | 45 | [
"6-2=4",
"86-45=41",
"4+41=45"
] | Current State: 45:[6, 2, 45, 86], Operations: []
Exploring Operation: 6-2=4, Resulting Numbers: [45, 86, 4]
Generated Node #2: [45, 86, 4] from Operation: 6-2=4
Current State: 45:[45, 86, 4], Operations: ['6-2=4']
Exploring Operation: 86-45=41, Resulting Numbers: [4, 41]
Generated Node #3: [4, 41] from Operation: 86-45=41
Current State: 45:[4, 41], Operations: ['6-2=4', '86-45=41']
Exploring Operation: 4+41=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[6, 2, 45, 86], Operations: []
Exploring Operation: 86-45=41, Resulting Numbers: [6, 2, 41]
Generated Node #0,0: 45:[6, 2, 41] Operation: 86-45=41
Exploring Operation: 86-2=84, Resulting Numbers: [6, 45, 84]
Generated Node #0,1: 45:[6, 45, 84] Operation: 86-2=84
Exploring Operation: 86/2=43, Resulting Numbers: [6, 45, 43]
Generated Node #0,2: 45:[6, 45, 43] Operation: 86/2=43
Exploring Operation: 86-6=80, Resulting Numbers: [2, 45, 80]
Generated Node #0,3: 45:[2, 45, 80] Operation: 86-6=80
Moving to Node #0,2
Current State: 45:[6, 45, 43], Operations: ['86/2=43']
Exploring Operation: 6+43=49, Resulting Numbers: [45, 49]
Generated Node #0,2,0: 45:[45, 49] Operation: 6+43=49
Exploring Operation: 45-43=2, Resulting Numbers: [6, 2]
Generated Node #0,2,1: 45:[6, 2] Operation: 45-43=2
Exploring Operation: 45-6=39, Resulting Numbers: [43, 39]
Generated Node #0,2,2: 45:[43, 39] Operation: 45-6=39
Exploring Operation: 6+45=51, Resulting Numbers: [43, 51]
Generated Node #0,2,3: 45:[43, 51] Operation: 6+45=51
Moving to Node #0,0
Current State: 45:[6, 2, 41], Operations: ['86-45=41']
Exploring Operation: 6+2=8, Resulting Numbers: [41, 8]
Generated Node #0,0,0: 45:[41, 8] Operation: 6+2=8
Exploring Operation: 6/2=3, Resulting Numbers: [41, 3]
Generated Node #0,0,1: 45:[41, 3] Operation: 6/2=3
Exploring Operation: 2+41=43, Resulting Numbers: [6, 43]
Generated Node #0,0,2: 45:[6, 43] Operation: 2+41=43
Exploring Operation: 6+41=47, Resulting Numbers: [2, 47]
Generated Node #0,0,3: 45:[2, 47] Operation: 6+41=47
Moving to Node #0,3
Current State: 45:[2, 45, 80], Operations: ['86-6=80']
Exploring Operation: 2+45=47, Resulting Numbers: [80, 47]
Generated Node #0,3,0: 45:[80, 47] Operation: 2+45=47
Exploring Operation: 80-2=78, Resulting Numbers: [45, 78]
Generated Node #0,3,1: 45:[45, 78] Operation: 80-2=78
Exploring Operation: 80/2=40, Resulting Numbers: [45, 40]
Generated Node #0,3,2: 45:[45, 40] Operation: 80/2=40
Exploring Operation: 80-45=35, Resulting Numbers: [2, 35]
Generated Node #0,3,3: 45:[2, 35] Operation: 80-45=35
Moving to Node #0,1
Current State: 45:[6, 45, 84], Operations: ['86-2=84']
Exploring Operation: 84-45=39, Resulting Numbers: [6, 39]
Generated Node #0,1,0: 45:[6, 39] Operation: 84-45=39
Exploring Operation: 6+45=51, Resulting Numbers: [84, 51]
Generated Node #0,1,1: 45:[84, 51] Operation: 6+45=51
Exploring Operation: 84/6=14, Resulting Numbers: [45, 14]
Generated Node #0,1,2: 45:[45, 14] Operation: 84/6=14
Exploring Operation: 84-6=78, Resulting Numbers: [45, 78]
Generated Node #0,1,3: 45:[45, 78] Operation: 84-6=78
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 45:[45, 14], Operations: ['86-2=84', '84/6=14']
Exploring Operation: 45+14=59, Resulting Numbers: [59]
59,45 unequal: No Solution
Exploring Operation: 45*14=630, Resulting Numbers: [630]
630,45 unequal: No Solution
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 45:[6, 39], Operations: ['86-2=84', '84-45=39']
Exploring Operation: 6+39=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[6, 2, 45, 86], Operations: []
Exploring Operation: 86-2=84, Resulting Numbers: [6, 45, 84]
Generated Node #0,1: 45:[6, 45, 84] Operation: 86-2=84
Moving to Node #0,1
Current State: 45:[6, 45, 84], Operations: ['86-2=84']
Exploring Operation: 84-45=39, Resulting Numbers: [6, 39]
Generated Node #0,1,0: 45:[6, 39] Operation: 84-45=39
Moving to Node #0,1,0
Current State: 45:[6, 39], Operations: ['86-2=84', '84-45=39']
Exploring Operation: 6+39=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 | hs_4 | mult_heuristic |
[
18,
68,
34,
42
] | 66 | [
"68/34=2",
"42*2=84",
"84-18=66"
] | Current State: 66:[18, 68, 34, 42], Operations: []
Exploring Operation: 68/34=2, Resulting Numbers: [18, 42, 2]
Generated Node #2: [18, 42, 2] from Operation: 68/34=2
Current State: 66:[18, 42, 2], Operations: ['68/34=2']
Exploring Operation: 42*2=84, Resulting Numbers: [18, 84]
Generated Node #3: [18, 84] from Operation: 42*2=84
Current State: 66:[18, 84], Operations: ['68/34=2', '42*2=84']
Exploring Operation: 84-18=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[18, 68, 34, 42], Operations: []
Exploring Operation: 68-42=26, Resulting Numbers: [18, 34, 26]
Generated Node #0,0: 66:[18, 34, 26] Operation: 68-42=26
Exploring Operation: 42-34=8, Resulting Numbers: [18, 68, 8]
Generated Node #0,1: 66:[18, 68, 8] Operation: 42-34=8
Exploring Operation: 18+42=60, Resulting Numbers: [68, 34, 60]
Generated Node #0,2: 66:[68, 34, 60] Operation: 18+42=60
Exploring Operation: 42-18=24, Resulting Numbers: [68, 34, 24]
Generated Node #0,3: 66:[68, 34, 24] Operation: 42-18=24
Moving to Node #0,3
Current State: 66:[68, 34, 24], Operations: ['42-18=24']
Exploring Operation: 68-34=34, Resulting Numbers: [24, 34]
Generated Node #0,3,0: 66:[24, 34] Operation: 68-34=34
Exploring Operation: 34-24=10, Resulting Numbers: [68, 10]
Generated Node #0,3,1: 66:[68, 10] Operation: 34-24=10
Exploring Operation: 68/34=2, Resulting Numbers: [24, 2]
Generated Node #0,3,2: 66:[24, 2] Operation: 68/34=2
Exploring Operation: 34+24=58, Resulting Numbers: [68, 58]
Generated Node #0,3,3: 66:[68, 58] Operation: 34+24=58
Moving to Node #0,1
Current State: 66:[18, 68, 8], Operations: ['42-34=8']
Exploring Operation: 18-8=10, Resulting Numbers: [68, 10]
Generated Node #0,1,0: 66:[68, 10] Operation: 18-8=10
Exploring Operation: 68-8=60, Resulting Numbers: [18, 60]
Generated Node #0,1,1: 66:[18, 60] Operation: 68-8=60
Exploring Operation: 18+8=26, Resulting Numbers: [68, 26]
Generated Node #0,1,2: 66:[68, 26] Operation: 18+8=26
Exploring Operation: 68+8=76, Resulting Numbers: [18, 76]
Generated Node #0,1,3: 66:[18, 76] Operation: 68+8=76
Moving to Node #0,2
Current State: 66:[68, 34, 60], Operations: ['18+42=60']
Exploring Operation: 68-60=8, Resulting Numbers: [34, 8]
Generated Node #0,2,0: 66:[34, 8] Operation: 68-60=8
Exploring Operation: 68/34=2, Resulting Numbers: [60, 2]
Generated Node #0,2,1: 66:[60, 2] Operation: 68/34=2
Exploring Operation: 68-34=34, Resulting Numbers: [60, 34]
Generated Node #0,2,2: 66:[60, 34] Operation: 68-34=34
Exploring Operation: 60-34=26, Resulting Numbers: [68, 26]
Generated Node #0,2,3: 66:[68, 26] Operation: 60-34=26
Moving to Node #0,0
Current State: 66:[18, 34, 26], Operations: ['68-42=26']
Exploring Operation: 34-26=8, Resulting Numbers: [18, 8]
Generated Node #0,0,0: 66:[18, 8] Operation: 34-26=8
Exploring Operation: 34-18=16, Resulting Numbers: [26, 16]
Generated Node #0,0,1: 66:[26, 16] Operation: 34-18=16
Exploring Operation: 34+26=60, Resulting Numbers: [18, 60]
Generated Node #0,0,2: 66:[18, 60] Operation: 34+26=60
Exploring Operation: 26-18=8, Resulting Numbers: [34, 8]
Generated Node #0,0,3: 66:[34, 8] Operation: 26-18=8
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 66:[34, 8], Operations: ['68-42=26', '26-18=8']
Exploring Operation: 34-8=26, Resulting Numbers: [26]
26,66 unequal: No Solution
Exploring Operation: 34*8=272, Resulting Numbers: [272]
272,66 unequal: No Solution
Exploring Operation: 34+8=42, Resulting Numbers: [42]
42,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[18, 8], Operations: ['68-42=26', '34-26=8']
Exploring Operation: 18+8=26, Resulting Numbers: [26]
26,66 unequal: No Solution
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,66 unequal: No Solution
Exploring Operation: 18*8=144, Resulting Numbers: [144]
144,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 66:[26, 16], Operations: ['68-42=26', '34-18=16']
Exploring Operation: 26-16=10, Resulting Numbers: [10]
10,66 unequal: No Solution
Exploring Operation: 26+16=42, Resulting Numbers: [42]
42,66 unequal: No Solution
Exploring Operation: 26*16=416, Resulting Numbers: [416]
416,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 66:[18, 60], Operations: ['68-42=26', '34+26=60']
Exploring Operation: 18*60=1080, Resulting Numbers: [1080]
1080,66 unequal: No Solution
Exploring Operation: 60-18=42, Resulting Numbers: [42]
42,66 unequal: No Solution
Exploring Operation: 18+60=78, Resulting Numbers: [78]
78,66 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: 66:[24, 2], Operations: ['42-18=24', '68/34=2']
Exploring Operation: 24*2=48, Resulting Numbers: [48]
48,66 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,66 unequal: No Solution
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,66 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,66 unequal: No Solution
Moving to Node #0,3,1
Current State: 66:[68, 10], Operations: ['42-18=24', '34-24=10']
Exploring Operation: 68-10=58, Resulting Numbers: [58]
58,66 unequal: No Solution
Exploring Operation: 68+10=78, Resulting Numbers: [78]
78,66 unequal: No Solution
Exploring Operation: 68*10=680, Resulting Numbers: [680]
680,66 unequal: No Solution
Moving to Node #0,3,0
Current State: 66:[24, 34], Operations: ['42-18=24', '68-34=34']
Exploring Operation: 24*34=816, Resulting Numbers: [816]
816,66 unequal: No Solution
Exploring Operation: 34-24=10, Resulting Numbers: [10]
10,66 unequal: No Solution
Exploring Operation: 24+34=58, Resulting Numbers: [58]
58,66 unequal: No Solution
Moving to Node #0,1,0
Current State: 66:[68, 10], Operations: ['42-34=8', '18-8=10']
Exploring Operation: 68-10=58, Resulting Numbers: [58]
58,66 unequal: No Solution
Exploring Operation: 68+10=78, Resulting Numbers: [78]
78,66 unequal: No Solution
Exploring Operation: 68*10=680, Resulting Numbers: [680]
680,66 unequal: No Solution
Moving to Node #0,2,0
Current State: 66:[34, 8], Operations: ['18+42=60', '68-60=8']
Exploring Operation: 34-8=26, Resulting Numbers: [26]
26,66 unequal: No Solution
Exploring Operation: 34+8=42, Resulting Numbers: [42]
42,66 unequal: No Solution
Exploring Operation: 34*8=272, Resulting Numbers: [272]
272,66 unequal: No Solution
Moving to Node #0,1,2
Current State: 66:[68, 26], Operations: ['42-34=8', '18+8=26']
Exploring Operation: 68-26=42, Resulting Numbers: [42]
42,66 unequal: No Solution
Exploring Operation: 68*26=1768, Resulting Numbers: [1768]
1768,66 unequal: No Solution
Exploring Operation: 68+26=94, Resulting Numbers: [94]
94,66 unequal: No Solution
Moving to Node #0,2,1
Current State: 66:[60, 2], Operations: ['18+42=60', '68/34=2']
Exploring Operation: 60+2=62, Resulting Numbers: [62]
62,66 unequal: No Solution
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,66 unequal: No Solution
Exploring Operation: 60*2=120, Resulting Numbers: [120]
120,66 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,66 unequal: No Solution
Moving to Node #0,2,3
Current State: 66:[68, 26], Operations: ['18+42=60', '60-34=26']
Exploring Operation: 68*26=1768, Resulting Numbers: [1768]
1768,66 unequal: No Solution
Exploring Operation: 68-26=42, Resulting Numbers: [42]
42,66 unequal: No Solution
Exploring Operation: 68+26=94, Resulting Numbers: [94]
94,66 unequal: No Solution
Moving to Node #0,2,2
Current State: 66:[60, 34], Operations: ['18+42=60', '68-34=34']
Exploring Operation: 60*34=2040, Resulting Numbers: [2040]
2040,66 unequal: No Solution
Exploring Operation: 60+34=94, Resulting Numbers: [94]
94,66 unequal: No Solution
Exploring Operation: 60-34=26, Resulting Numbers: [26]
26,66 unequal: No Solution
Moving to Node #0,3,3
Current State: 66:[68, 58], Operations: ['42-18=24', '34+24=58']
Exploring Operation: 68+58=126, Resulting Numbers: [126]
126,66 unequal: No Solution
Exploring Operation: 68*58=3944, Resulting Numbers: [3944]
3944,66 unequal: No Solution
Exploring Operation: 68-58=10, Resulting Numbers: [10]
10,66 unequal: No Solution
Moving to Node #0,1,1
Current State: 66:[18, 60], Operations: ['42-34=8', '68-8=60']
Exploring Operation: 18+60=78, Resulting Numbers: [78]
78,66 unequal: No Solution
Exploring Operation: 18*60=1080, Resulting Numbers: [1080]
1080,66 unequal: No Solution
Exploring Operation: 60-18=42, Resulting Numbers: [42]
42,66 unequal: No Solution
Moving to Node #0,1,3
Current State: 66:[18, 76], Operations: ['42-34=8', '68+8=76']
Exploring Operation: 18+76=94, Resulting Numbers: [94]
94,66 unequal: No Solution
Exploring Operation: 18*76=1368, Resulting Numbers: [1368]
1368,66 unequal: No Solution
Exploring Operation: 76-18=58, Resulting Numbers: [58]
58,66 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
74,
69,
34,
50
] | 79 | [
"74-69=5",
"34+50=84",
"84-5=79"
] | Current State: 79:[74, 69, 34, 50], Operations: []
Exploring Operation: 74-69=5, Resulting Numbers: [34, 50, 5]
Generated Node #2: [34, 50, 5] from Operation: 74-69=5
Current State: 79:[34, 50, 5], Operations: ['74-69=5']
Exploring Operation: 34+50=84, Resulting Numbers: [5, 84]
Generated Node #3: [5, 84] from Operation: 34+50=84
Current State: 79:[5, 84], Operations: ['74-69=5', '34+50=84']
Exploring Operation: 84-5=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[74, 69, 34, 50], Operations: []
Exploring Operation: 34+50=84, Resulting Numbers: [74, 69, 84]
Generated Node #0,0: 79:[74, 69, 84] Operation: 34+50=84
Exploring Operation: 69+34=103, Resulting Numbers: [74, 50, 103]
Generated Node #0,1: 79:[74, 50, 103] Operation: 69+34=103
Moving to Node #0,0
Current State: 79:[74, 69, 84], Operations: ['34+50=84']
Exploring Operation: 74+69=143, Resulting Numbers: [84, 143]
Generated Node #0,0,0: 79:[84, 143] Operation: 74+69=143
Exploring Operation: 84-69=15, Resulting Numbers: [74, 15]
Generated Node #0,0,1: 79:[74, 15] Operation: 84-69=15
Moving to Node #0,1
Current State: 79:[74, 50, 103], Operations: ['69+34=103']
Exploring Operation: 74+50=124, Resulting Numbers: [103, 124]
Generated Node #0,1,0: 79:[103, 124] Operation: 74+50=124
Exploring Operation: 103-50=53, Resulting Numbers: [74, 53]
Generated Node #0,1,1: 79:[74, 53] Operation: 103-50=53
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 79:[74, 53], Operations: ['69+34=103', '103-50=53']
Exploring Operation: 74+53=127, Resulting Numbers: [127]
127,79 unequal: No Solution
Exploring Operation: 74-53=21, Resulting Numbers: [21]
21,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 79:[103, 124], Operations: ['69+34=103', '74+50=124']
Exploring Operation: 103+124=227, Resulting Numbers: [227]
227,79 unequal: No Solution
Exploring Operation: 124-103=21, Resulting Numbers: [21]
21,79 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: 79:[84, 143], Operations: ['34+50=84', '74+69=143']
Exploring Operation: 143-84=59, Resulting Numbers: [59]
59,79 unequal: No Solution
Exploring Operation: 84+143=227, Resulting Numbers: [227]
227,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[74, 15], Operations: ['34+50=84', '84-69=15']
Exploring Operation: 74+15=89, Resulting Numbers: [89]
89,79 unequal: No Solution
Exploring Operation: 74-15=59, Resulting Numbers: [59]
59,79 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
90,
37,
40,
60
] | 33 | [
"90-37=53",
"60-40=20",
"53-20=33"
] | Current State: 33:[90, 37, 40, 60], Operations: []
Exploring Operation: 90-37=53, Resulting Numbers: [40, 60, 53]
Generated Node #2: [40, 60, 53] from Operation: 90-37=53
Current State: 33:[40, 60, 53], Operations: ['90-37=53']
Exploring Operation: 60-40=20, Resulting Numbers: [53, 20]
Generated Node #3: [53, 20] from Operation: 60-40=20
Current State: 33:[53, 20], Operations: ['90-37=53', '60-40=20']
Exploring Operation: 53-20=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[90, 37, 40, 60], Operations: []
Exploring Operation: 90-40=50, Resulting Numbers: [37, 60, 50]
Generated Node #0,0: 33:[37, 60, 50] Operation: 90-40=50
Exploring Operation: 90-37=53, Resulting Numbers: [40, 60, 53]
Generated Node #0,1: 33:[40, 60, 53] Operation: 90-37=53
Exploring Operation: 60-40=20, Resulting Numbers: [90, 37, 20]
Generated Node #0,2: 33:[90, 37, 20] Operation: 60-40=20
Exploring Operation: 90-60=30, Resulting Numbers: [37, 40, 30]
Generated Node #0,3: 33:[37, 40, 30] Operation: 90-60=30
Start Sub Search at level 1: Moving to Node #0,3
Current State: 33:[37, 40, 30], Operations: ['90-60=30']
Exploring Operation: 40-37=3, Resulting Numbers: [30, 3]
Generated Node #0,3,0: 33:[30, 3] Operation: 40-37=3
Exploring Operation: 37-30=7, Resulting Numbers: [40, 7]
Generated Node #0,3,1: 33:[40, 7] Operation: 37-30=7
Exploring Operation: 40-30=10, Resulting Numbers: [37, 10]
Generated Node #0,3,2: 33:[37, 10] Operation: 40-30=10
Exploring Operation: 37+30=67, Resulting Numbers: [40, 67]
Generated Node #0,3,3: 33:[40, 67] Operation: 37+30=67
Moving to Node #0,3,0
Current State: 33:[30, 3], Operations: ['90-60=30', '40-37=3']
Exploring Operation: 30+3=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[90, 37, 40, 60], Operations: []
Exploring Operation: 90-60=30, Resulting Numbers: [37, 40, 30]
Generated Node #0,3: 33:[37, 40, 30] Operation: 90-60=30
Moving to Node #0,3
Current State: 33:[37, 40, 30], Operations: ['90-60=30']
Exploring Operation: 40-37=3, Resulting Numbers: [30, 3]
Generated Node #0,3,0: 33:[30, 3] Operation: 40-37=3
Moving to Node #0,3,0
Current State: 33:[30, 3], Operations: ['90-60=30', '40-37=3']
Exploring Operation: 30+3=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
62,
68,
79,
41
] | 44 | [
"68-62=6",
"79-41=38",
"6+38=44"
] | Current State: 44:[62, 68, 79, 41], Operations: []
Exploring Operation: 68-62=6, Resulting Numbers: [79, 41, 6]
Generated Node #2: [79, 41, 6] from Operation: 68-62=6
Current State: 44:[79, 41, 6], Operations: ['68-62=6']
Exploring Operation: 79-41=38, Resulting Numbers: [6, 38]
Generated Node #3: [6, 38] from Operation: 79-41=38
Current State: 44:[6, 38], Operations: ['68-62=6', '79-41=38']
Exploring Operation: 6+38=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[62, 68, 79, 41], Operations: []
Exploring Operation: 79-41=38, Resulting Numbers: [62, 68, 38]
Generated Node #0,0: 44:[62, 68, 38] Operation: 79-41=38
Exploring Operation: 79-62=17, Resulting Numbers: [68, 41, 17]
Generated Node #0,1: 44:[68, 41, 17] Operation: 79-62=17
Exploring Operation: 68-62=6, Resulting Numbers: [79, 41, 6]
Generated Node #0,2: 44:[79, 41, 6] Operation: 68-62=6
Exploring Operation: 79-68=11, Resulting Numbers: [62, 41, 11]
Generated Node #0,3: 44:[62, 41, 11] Operation: 79-68=11
Exploring Operation: 68-41=27, Resulting Numbers: [62, 79, 27]
Generated Node #0,4: 44:[62, 79, 27] Operation: 68-41=27
Moving to Node #0,3
Current State: 44:[62, 41, 11], Operations: ['79-68=11']
Exploring Operation: 62-41=21, Resulting Numbers: [11, 21]
Generated Node #0,3,0: 44:[11, 21] Operation: 62-41=21
Exploring Operation: 62+11=73, Resulting Numbers: [41, 73]
Generated Node #0,3,1: 44:[41, 73] Operation: 62+11=73
Exploring Operation: 62-11=51, Resulting Numbers: [41, 51]
Generated Node #0,3,2: 44:[41, 51] Operation: 62-11=51
Exploring Operation: 41-11=30, Resulting Numbers: [62, 30]
Generated Node #0,3,3: 44:[62, 30] Operation: 41-11=30
Exploring Operation: 41+11=52, Resulting Numbers: [62, 52]
Generated Node #0,3,4: 44:[62, 52] Operation: 41+11=52
Moving to Node #0,1
Current State: 44:[68, 41, 17], Operations: ['79-62=17']
Exploring Operation: 68-41=27, Resulting Numbers: [17, 27]
Generated Node #0,1,0: 44:[17, 27] Operation: 68-41=27
Exploring Operation: 41-17=24, Resulting Numbers: [68, 24]
Generated Node #0,1,1: 44:[68, 24] Operation: 41-17=24
Exploring Operation: 68-17=51, Resulting Numbers: [41, 51]
Generated Node #0,1,2: 44:[41, 51] Operation: 68-17=51
Exploring Operation: 68/17=4, Resulting Numbers: [41, 4]
Generated Node #0,1,3: 44:[41, 4] Operation: 68/17=4
Exploring Operation: 41+17=58, Resulting Numbers: [68, 58]
Generated Node #0,1,4: 44:[68, 58] Operation: 41+17=58
Moving to Node #0,2
Current State: 44:[79, 41, 6], Operations: ['68-62=6']
Exploring Operation: 79-6=73, Resulting Numbers: [41, 73]
Generated Node #0,2,0: 44:[41, 73] Operation: 79-6=73
Exploring Operation: 79-41=38, Resulting Numbers: [6, 38]
Generated Node #0,2,1: 44:[6, 38] Operation: 79-41=38
Exploring Operation: 41-6=35, Resulting Numbers: [79, 35]
Generated Node #0,2,2: 44:[79, 35] Operation: 41-6=35
Exploring Operation: 41+6=47, Resulting Numbers: [79, 47]
Generated Node #0,2,3: 44:[79, 47] Operation: 41+6=47
Exploring Operation: 79+6=85, Resulting Numbers: [41, 85]
Generated Node #0,2,4: 44:[41, 85] Operation: 79+6=85
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 44:[6, 38], Operations: ['68-62=6', '79-41=38']
Exploring Operation: 6+38=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[62, 68, 79, 41], Operations: []
Exploring Operation: 68-62=6, Resulting Numbers: [79, 41, 6]
Generated Node #0,2: 44:[79, 41, 6] Operation: 68-62=6
Moving to Node #0,2
Current State: 44:[79, 41, 6], Operations: ['68-62=6']
Exploring Operation: 79-41=38, Resulting Numbers: [6, 38]
Generated Node #0,2,1: 44:[6, 38] Operation: 79-41=38
Moving to Node #0,2,1
Current State: 44:[6, 38], Operations: ['68-62=6', '79-41=38']
Exploring Operation: 6+38=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_5 | mult_heuristic |
[
58,
3,
99,
6
] | 74 | [
"99-3=96",
"96/6=16",
"58+16=74"
] | Current State: 74:[58, 3, 99, 6], Operations: []
Exploring Operation: 99-3=96, Resulting Numbers: [58, 6, 96]
Generated Node #2: [58, 6, 96] from Operation: 99-3=96
Current State: 74:[58, 6, 96], Operations: ['99-3=96']
Exploring Operation: 96/6=16, Resulting Numbers: [58, 16]
Generated Node #3: [58, 16] from Operation: 96/6=16
Current State: 74:[58, 16], Operations: ['99-3=96', '96/6=16']
Exploring Operation: 58+16=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[58, 3, 99, 6], Operations: []
Exploring Operation: 99-58=41, Resulting Numbers: [3, 6, 41]
Generated Node #0,0: 74:[3, 6, 41] Operation: 99-58=41
Exploring Operation: 58-6=52, Resulting Numbers: [3, 99, 52]
Generated Node #0,1: 74:[3, 99, 52] Operation: 58-6=52
Exploring Operation: 58+6=64, Resulting Numbers: [3, 99, 64]
Generated Node #0,2: 74:[3, 99, 64] Operation: 58+6=64
Exploring Operation: 99/3=33, Resulting Numbers: [58, 6, 33]
Generated Node #0,3: 74:[58, 6, 33] Operation: 99/3=33
Exploring Operation: 99-6=93, Resulting Numbers: [58, 3, 93]
Generated Node #0,4: 74:[58, 3, 93] Operation: 99-6=93
Moving to Node #0,0
Current State: 74:[3, 6, 41], Operations: ['99-58=41']
Exploring Operation: 6/3=2, Resulting Numbers: [41, 2]
Generated Node #0,0,0: 74:[41, 2] Operation: 6/3=2
Exploring Operation: 3+6=9, Resulting Numbers: [41, 9]
Generated Node #0,0,1: 74:[41, 9] Operation: 3+6=9
Exploring Operation: 41-6=35, Resulting Numbers: [3, 35]
Generated Node #0,0,2: 74:[3, 35] Operation: 41-6=35
Exploring Operation: 6-3=3, Resulting Numbers: [41, 3]
Generated Node #0,0,3: 74:[41, 3] Operation: 6-3=3
Exploring Operation: 41-3=38, Resulting Numbers: [6, 38]
Generated Node #0,0,4: 74:[6, 38] Operation: 41-3=38
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 74:[3, 35], Operations: ['99-58=41', '41-6=35']
Exploring Operation: 3*35=105, Resulting Numbers: [105]
105,74 unequal: No Solution
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,74 unequal: No Solution
Exploring Operation: 3+35=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,0,0
Current State: 74:[41, 2], Operations: ['99-58=41', '6/3=2']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,74 unequal: No Solution
Exploring Operation: 41+2=43, Resulting Numbers: [43]
43,74 unequal: No Solution
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,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,0,3
Current State: 74:[41, 3], Operations: ['99-58=41', '6-3=3']
Exploring Operation: 41+3=44, Resulting Numbers: [44]
44,74 unequal: No Solution
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,74 unequal: No Solution
Exploring Operation: 41*3=123, Resulting Numbers: [123]
123,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,0,4
Current State: 74:[6, 38], Operations: ['99-58=41', '41-3=38']
Exploring Operation: 6+38=44, Resulting Numbers: [44]
44,74 unequal: No Solution
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,74 unequal: No Solution
Exploring Operation: 6*38=228, Resulting Numbers: [228]
228,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,0,1
Current State: 74:[41, 9], Operations: ['99-58=41', '3+6=9']
Exploring Operation: 41*9=369, Resulting Numbers: [369]
369,74 unequal: No Solution
Exploring Operation: 41+9=50, Resulting Numbers: [50]
50,74 unequal: No Solution
Exploring Operation: 41-9=32, Resulting Numbers: [32]
32,74 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: 74:[58, 6, 33], Operations: ['99/3=33']
Exploring Operation: 58+6=64, Resulting Numbers: [33, 64]
Generated Node #0,3,0: 74:[33, 64] Operation: 58+6=64
Exploring Operation: 58+33=91, Resulting Numbers: [6, 91]
Generated Node #0,3,1: 74:[6, 91] Operation: 58+33=91
Exploring Operation: 58-6=52, Resulting Numbers: [33, 52]
Generated Node #0,3,2: 74:[33, 52] Operation: 58-6=52
Exploring Operation: 6+33=39, Resulting Numbers: [58, 39]
Generated Node #0,3,3: 74:[58, 39] Operation: 6+33=39
Exploring Operation: 58-33=25, Resulting Numbers: [6, 25]
Generated Node #0,3,4: 74:[6, 25] Operation: 58-33=25
Moving to Node #0,2
Current State: 74:[3, 99, 64], Operations: ['58+6=64']
Exploring Operation: 99/3=33, Resulting Numbers: [64, 33]
Generated Node #0,2,0: 74:[64, 33] Operation: 99/3=33
Exploring Operation: 3+64=67, Resulting Numbers: [99, 67]
Generated Node #0,2,1: 74:[99, 67] Operation: 3+64=67
Exploring Operation: 99-3=96, Resulting Numbers: [64, 96]
Generated Node #0,2,2: 74:[64, 96] Operation: 99-3=96
Exploring Operation: 3+99=102, Resulting Numbers: [64, 102]
Generated Node #0,2,3: 74:[64, 102] Operation: 3+99=102
Exploring Operation: 99-64=35, Resulting Numbers: [3, 35]
Generated Node #0,2,4: 74:[3, 35] Operation: 99-64=35
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 74:[3, 35], Operations: ['58+6=64', '99-64=35']
Exploring Operation: 3+35=38, Resulting Numbers: [38]
38,74 unequal: No Solution
Exploring Operation: 3*35=105, Resulting Numbers: [105]
105,74 unequal: No Solution
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,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,2,0
Current State: 74:[64, 33], Operations: ['58+6=64', '99/3=33']
Exploring Operation: 64-33=31, Resulting Numbers: [31]
31,74 unequal: No Solution
Exploring Operation: 64*33=2112, Resulting Numbers: [2112]
2112,74 unequal: No Solution
Exploring Operation: 64+33=97, Resulting Numbers: [97]
97,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,2,1
Current State: 74:[99, 67], Operations: ['58+6=64', '3+64=67']
Exploring Operation: 99+67=166, Resulting Numbers: [166]
166,74 unequal: No Solution
Exploring Operation: 99-67=32, Resulting Numbers: [32]
32,74 unequal: No Solution
Exploring Operation: 99*67=6633, Resulting Numbers: [6633]
6633,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,2,2
Current State: 74:[64, 96], Operations: ['58+6=64', '99-3=96']
Exploring Operation: 96-64=32, Resulting Numbers: [32]
32,74 unequal: No Solution
Exploring Operation: 64*96=6144, Resulting Numbers: [6144]
6144,74 unequal: No Solution
Exploring Operation: 64+96=160, Resulting Numbers: [160]
160,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,2,3
Current State: 74:[64, 102], Operations: ['58+6=64', '3+99=102']
Exploring Operation: 64+102=166, Resulting Numbers: [166]
166,74 unequal: No Solution
Exploring Operation: 64*102=6528, Resulting Numbers: [6528]
6528,74 unequal: No Solution
Exploring Operation: 102-64=38, Resulting Numbers: [38]
38,74 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: 74:[58, 3, 93], Operations: ['99-6=93']
Exploring Operation: 58+3=61, Resulting Numbers: [93, 61]
Generated Node #0,4,0: 74:[93, 61] Operation: 58+3=61
Exploring Operation: 93-58=35, Resulting Numbers: [3, 35]
Generated Node #0,4,1: 74:[3, 35] Operation: 93-58=35
Exploring Operation: 93-3=90, Resulting Numbers: [58, 90]
Generated Node #0,4,2: 74:[58, 90] Operation: 93-3=90
Exploring Operation: 58-3=55, Resulting Numbers: [93, 55]
Generated Node #0,4,3: 74:[93, 55] Operation: 58-3=55
Exploring Operation: 93/3=31, Resulting Numbers: [58, 31]
Generated Node #0,4,4: 74:[58, 31] Operation: 93/3=31
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 74:[3, 35], Operations: ['99-6=93', '93-58=35']
Exploring Operation: 3+35=38, Resulting Numbers: [38]
38,74 unequal: No Solution
Exploring Operation: 3*35=105, Resulting Numbers: [105]
105,74 unequal: No Solution
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,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,4,4
Current State: 74:[58, 31], Operations: ['99-6=93', '93/3=31']
Exploring Operation: 58*31=1798, Resulting Numbers: [1798]
1798,74 unequal: No Solution
Exploring Operation: 58+31=89, Resulting Numbers: [89]
89,74 unequal: No Solution
Exploring Operation: 58-31=27, Resulting Numbers: [27]
27,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,4,0
Current State: 74:[93, 61], Operations: ['99-6=93', '58+3=61']
Exploring Operation: 93-61=32, Resulting Numbers: [32]
32,74 unequal: No Solution
Exploring Operation: 93*61=5673, Resulting Numbers: [5673]
5673,74 unequal: No Solution
Exploring Operation: 93+61=154, Resulting Numbers: [154]
154,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,4,2
Current State: 74:[58, 90], Operations: ['99-6=93', '93-3=90']
Exploring Operation: 90-58=32, Resulting Numbers: [32]
32,74 unequal: No Solution
Exploring Operation: 58+90=148, Resulting Numbers: [148]
148,74 unequal: No Solution
Exploring Operation: 58*90=5220, Resulting Numbers: [5220]
5220,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,4,3
Current State: 74:[93, 55], Operations: ['99-6=93', '58-3=55']
Exploring Operation: 93-55=38, Resulting Numbers: [38]
38,74 unequal: No Solution
Exploring Operation: 93*55=5115, Resulting Numbers: [5115]
5115,74 unequal: No Solution
Exploring Operation: 93+55=148, Resulting Numbers: [148]
148,74 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: 74:[3, 99, 52], Operations: ['58-6=52']
Exploring Operation: 99-52=47, Resulting Numbers: [3, 47]
Generated Node #0,1,0: 74:[3, 47] Operation: 99-52=47
Exploring Operation: 3+99=102, Resulting Numbers: [52, 102]
Generated Node #0,1,1: 74:[52, 102] Operation: 3+99=102
Exploring Operation: 99-3=96, Resulting Numbers: [52, 96]
Generated Node #0,1,2: 74:[52, 96] Operation: 99-3=96
Exploring Operation: 99/3=33, Resulting Numbers: [52, 33]
Generated Node #0,1,3: 74:[52, 33] Operation: 99/3=33
Exploring Operation: 52-3=49, Resulting Numbers: [99, 49]
Generated Node #0,1,4: 74:[99, 49] Operation: 52-3=49
Moving to Node #0,1,0
Current State: 74:[3, 47], Operations: ['58-6=52', '99-52=47']
Exploring Operation: 3+47=50, Resulting Numbers: [50]
50,74 unequal: No Solution
Exploring Operation: 3*47=141, Resulting Numbers: [141]
141,74 unequal: No Solution
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,74 unequal: No Solution
Moving to Node #0,3,0
Current State: 74:[33, 64], Operations: ['99/3=33', '58+6=64']
Exploring Operation: 33+64=97, Resulting Numbers: [97]
97,74 unequal: No Solution
Exploring Operation: 64-33=31, Resulting Numbers: [31]
31,74 unequal: No Solution
Exploring Operation: 33*64=2112, Resulting Numbers: [2112]
2112,74 unequal: No Solution
Moving to Node #0,3,4
Current State: 74:[6, 25], Operations: ['99/3=33', '58-33=25']
Exploring Operation: 6*25=150, Resulting Numbers: [150]
150,74 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,74 unequal: No Solution
Exploring Operation: 6+25=31, Resulting Numbers: [31]
31,74 unequal: No Solution
Moving to Node #0,3,3
Current State: 74:[58, 39], Operations: ['99/3=33', '6+33=39']
Exploring Operation: 58-39=19, Resulting Numbers: [19]
19,74 unequal: No Solution
Exploring Operation: 58+39=97, Resulting Numbers: [97]
97,74 unequal: No Solution
Exploring Operation: 58*39=2262, Resulting Numbers: [2262]
2262,74 unequal: No Solution
Moving to Node #0,1,3
Current State: 74:[52, 33], Operations: ['58-6=52', '99/3=33']
Exploring Operation: 52*33=1716, Resulting Numbers: [1716]
1716,74 unequal: No Solution
Exploring Operation: 52+33=85, Resulting Numbers: [85]
85,74 unequal: No Solution
Exploring Operation: 52-33=19, Resulting Numbers: [19]
19,74 unequal: No Solution
Moving to Node #0,3,2
Current State: 74:[33, 52], Operations: ['99/3=33', '58-6=52']
Exploring Operation: 52-33=19, Resulting Numbers: [19]
19,74 unequal: No Solution
Exploring Operation: 33*52=1716, Resulting Numbers: [1716]
1716,74 unequal: No Solution
Exploring Operation: 33+52=85, Resulting Numbers: [85]
85,74 unequal: No Solution
Moving to Node #0,3,1
Current State: 74:[6, 91], Operations: ['99/3=33', '58+33=91']
Exploring Operation: 6+91=97, Resulting Numbers: [97]
97,74 unequal: No Solution
Exploring Operation: 91-6=85, Resulting Numbers: [85]
85,74 unequal: No Solution
Exploring Operation: 6*91=546, Resulting Numbers: [546]
546,74 unequal: No Solution
Moving to Node #0,1,4
Current State: 74:[99, 49], Operations: ['58-6=52', '52-3=49']
Exploring Operation: 99+49=148, Resulting Numbers: [148]
148,74 unequal: No Solution
Exploring Operation: 99*49=4851, Resulting Numbers: [4851]
4851,74 unequal: No Solution
Exploring Operation: 99-49=50, Resulting Numbers: [50]
50,74 unequal: No Solution
Moving to Node #0,1,2
Current State: 74:[52, 96], Operations: ['58-6=52', '99-3=96']
Exploring Operation: 52+96=148, Resulting Numbers: [148]
148,74 unequal: No Solution
Exploring Operation: 52*96=4992, Resulting Numbers: [4992]
4992,74 unequal: No Solution
Exploring Operation: 96-52=44, Resulting Numbers: [44]
44,74 unequal: No Solution
Moving to Node #0,1,1
Current State: 74:[52, 102], Operations: ['58-6=52', '3+99=102']
Exploring Operation: 52*102=5304, Resulting Numbers: [5304]
5304,74 unequal: No Solution
Exploring Operation: 102-52=50, Resulting Numbers: [50]
50,74 unequal: No Solution
Exploring Operation: 52+102=154, Resulting Numbers: [154]
154,74 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
68,
10,
4,
64
] | 23 | [
"68+64=132",
"132/4=33",
"33-10=23"
] | Current State: 23:[68, 10, 4, 64], Operations: []
Exploring Operation: 68+64=132, Resulting Numbers: [10, 4, 132]
Generated Node #2: [10, 4, 132] from Operation: 68+64=132
Current State: 23:[10, 4, 132], Operations: ['68+64=132']
Exploring Operation: 132/4=33, Resulting Numbers: [10, 33]
Generated Node #3: [10, 33] from Operation: 132/4=33
Current State: 23:[10, 33], Operations: ['68+64=132', '132/4=33']
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[68, 10, 4, 64], Operations: []
Exploring Operation: 68/4=17, Resulting Numbers: [10, 64, 17]
Generated Node #0,0: 23:[10, 64, 17] Operation: 68/4=17
Exploring Operation: 68-10=58, Resulting Numbers: [4, 64, 58]
Generated Node #0,1: 23:[4, 64, 58] Operation: 68-10=58
Exploring Operation: 64/4=16, Resulting Numbers: [68, 10, 16]
Generated Node #0,2: 23:[68, 10, 16] Operation: 64/4=16
Exploring Operation: 68-64=4, Resulting Numbers: [10, 4, 4]
Generated Node #0,3: 23:[10, 4, 4] Operation: 68-64=4
Start Sub Search at level 1: Moving to Node #0,3
Current State: 23:[10, 4, 4], Operations: ['68-64=4']
Exploring Operation: 4+4=8, Resulting Numbers: [10, 8]
Generated Node #0,3,0: 23:[10, 8] Operation: 4+4=8
Exploring Operation: 10+4=14, Resulting Numbers: [4, 14]
Generated Node #0,3,1: 23:[4, 14] Operation: 10+4=14
Exploring Operation: 10+4=14, Resulting Numbers: [4, 14]
Generated Node #0,3,2: 23:[4, 14] Operation: 10+4=14
Exploring Operation: 4*4=16, Resulting Numbers: [10, 16]
Generated Node #0,3,3: 23:[10, 16] Operation: 4*4=16
Moving to Node #0,3,3
Current State: 23:[10, 16], Operations: ['68-64=4', '4*4=16']
Exploring Operation: 10*16=160, Resulting Numbers: [160]
160,23 unequal: No Solution
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,23 unequal: No Solution
Moving to Node #0,3,1
Current State: 23:[4, 14], Operations: ['68-64=4', '10+4=14']
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,23 unequal: No Solution
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,23 unequal: No Solution
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,23 unequal: No Solution
Moving to Node #0,3,0
Current State: 23:[10, 8], Operations: ['68-64=4', '4+4=8']
Exploring Operation: 10+8=18, Resulting Numbers: [18]
18,23 unequal: No Solution
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 10*8=80, Resulting Numbers: [80]
80,23 unequal: No Solution
Moving to Node #0,3,2
Current State: 23:[4, 14], Operations: ['68-64=4', '10+4=14']
Exploring Operation: 14-4=10, Resulting Numbers: [10]
10,23 unequal: No Solution
Exploring Operation: 4*14=56, Resulting Numbers: [56]
56,23 unequal: No Solution
Exploring Operation: 4+14=18, Resulting Numbers: [18]
18,23 unequal: No Solution
No 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: 23:[10, 64, 17], Operations: ['68/4=17']
Exploring Operation: 10+17=27, Resulting Numbers: [64, 27]
Generated Node #0,0,0: 23:[64, 27] Operation: 10+17=27
Exploring Operation: 64-17=47, Resulting Numbers: [10, 47]
Generated Node #0,0,1: 23:[10, 47] Operation: 64-17=47
Exploring Operation: 10+64=74, Resulting Numbers: [17, 74]
Generated Node #0,0,2: 23:[17, 74] Operation: 10+64=74
Exploring Operation: 64-10=54, Resulting Numbers: [17, 54]
Generated Node #0,0,3: 23:[17, 54] Operation: 64-10=54
Moving to Node #0,0,1
Current State: 23:[10, 47], Operations: ['68/4=17', '64-17=47']
Exploring Operation: 47-10=37, Resulting Numbers: [37]
37,23 unequal: No Solution
Exploring Operation: 10+47=57, Resulting Numbers: [57]
57,23 unequal: No Solution
Exploring Operation: 10*47=470, Resulting Numbers: [470]
470,23 unequal: No Solution
Moving to Node #0,0,3
Current State: 23:[17, 54], Operations: ['68/4=17', '64-10=54']
Exploring Operation: 17*54=918, Resulting Numbers: [918]
918,23 unequal: No Solution
Exploring Operation: 17+54=71, Resulting Numbers: [71]
71,23 unequal: No Solution
Exploring Operation: 54-17=37, Resulting Numbers: [37]
37,23 unequal: No Solution
Moving to Node #0,0,0
Current State: 23:[64, 27], Operations: ['68/4=17', '10+17=27']
Exploring Operation: 64-27=37, Resulting Numbers: [37]
37,23 unequal: No Solution
Exploring Operation: 64*27=1728, Resulting Numbers: [1728]
1728,23 unequal: No Solution
Exploring Operation: 64+27=91, Resulting Numbers: [91]
91,23 unequal: No Solution
Moving to Node #0,0,2
Current State: 23:[17, 74], Operations: ['68/4=17', '10+64=74']
Exploring Operation: 74-17=57, Resulting Numbers: [57]
57,23 unequal: No Solution
Exploring Operation: 17+74=91, Resulting Numbers: [91]
91,23 unequal: No Solution
Exploring Operation: 17*74=1258, Resulting Numbers: [1258]
1258,23 unequal: No Solution
No 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: 23:[68, 10, 16], Operations: ['64/4=16']
Exploring Operation: 68-10=58, Resulting Numbers: [16, 58]
Generated Node #0,2,0: 23:[16, 58] Operation: 68-10=58
Exploring Operation: 68+10=78, Resulting Numbers: [16, 78]
Generated Node #0,2,1: 23:[16, 78] Operation: 68+10=78
Exploring Operation: 10+16=26, Resulting Numbers: [68, 26]
Generated Node #0,2,2: 23:[68, 26] Operation: 10+16=26
Exploring Operation: 68-16=52, Resulting Numbers: [10, 52]
Generated Node #0,2,3: 23:[10, 52] Operation: 68-16=52
Moving to Node #0,2,0
Current State: 23:[16, 58], Operations: ['64/4=16', '68-10=58']
Exploring Operation: 16*58=928, Resulting Numbers: [928]
928,23 unequal: No Solution
Exploring Operation: 16+58=74, Resulting Numbers: [74]
74,23 unequal: No Solution
Exploring Operation: 58-16=42, Resulting Numbers: [42]
42,23 unequal: No Solution
Moving to Node #0,2,3
Current State: 23:[10, 52], Operations: ['64/4=16', '68-16=52']
Exploring Operation: 10*52=520, Resulting Numbers: [520]
520,23 unequal: No Solution
Exploring Operation: 10+52=62, Resulting Numbers: [62]
62,23 unequal: No Solution
Exploring Operation: 52-10=42, Resulting Numbers: [42]
42,23 unequal: No Solution
Moving to Node #0,2,2
Current State: 23:[68, 26], Operations: ['64/4=16', '10+16=26']
Exploring Operation: 68*26=1768, Resulting Numbers: [1768]
1768,23 unequal: No Solution
Exploring Operation: 68-26=42, Resulting Numbers: [42]
42,23 unequal: No Solution
Exploring Operation: 68+26=94, Resulting Numbers: [94]
94,23 unequal: No Solution
Moving to Node #0,2,1
Current State: 23:[16, 78], Operations: ['64/4=16', '68+10=78']
Exploring Operation: 16+78=94, Resulting Numbers: [94]
94,23 unequal: No Solution
Exploring Operation: 78-16=62, Resulting Numbers: [62]
62,23 unequal: No Solution
Exploring Operation: 16*78=1248, Resulting Numbers: [1248]
1248,23 unequal: No Solution
No 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: 23:[4, 64, 58], Operations: ['68-10=58']
Exploring Operation: 64-58=6, Resulting Numbers: [4, 6]
Generated Node #0,1,0: 23:[4, 6] Operation: 64-58=6
Exploring Operation: 58-4=54, Resulting Numbers: [64, 54]
Generated Node #0,1,1: 23:[64, 54] Operation: 58-4=54
Exploring Operation: 64-4=60, Resulting Numbers: [58, 60]
Generated Node #0,1,2: 23:[58, 60] Operation: 64-4=60
Exploring Operation: 64/4=16, Resulting Numbers: [58, 16]
Generated Node #0,1,3: 23:[58, 16] Operation: 64/4=16
Moving to Node #0,1,0
Current State: 23:[4, 6], Operations: ['68-10=58', '64-58=6']
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,23 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,23 unequal: No Solution
Moving to Node #0,1,3
Current State: 23:[58, 16], Operations: ['68-10=58', '64/4=16']
Exploring Operation: 58+16=74, Resulting Numbers: [74]
74,23 unequal: No Solution
Exploring Operation: 58*16=928, Resulting Numbers: [928]
928,23 unequal: No Solution
Exploring Operation: 58-16=42, Resulting Numbers: [42]
42,23 unequal: No Solution
Moving to Node #0,1,2
Current State: 23:[58, 60], Operations: ['68-10=58', '64-4=60']
Exploring Operation: 60-58=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 58+60=118, Resulting Numbers: [118]
118,23 unequal: No Solution
Exploring Operation: 58*60=3480, Resulting Numbers: [3480]
3480,23 unequal: No Solution
Moving to Node #0,1,1
Current State: 23:[64, 54], Operations: ['68-10=58', '58-4=54']
Exploring Operation: 64-54=10, Resulting Numbers: [10]
10,23 unequal: No Solution
Exploring Operation: 64*54=3456, Resulting Numbers: [3456]
3456,23 unequal: No Solution
Exploring Operation: 64+54=118, Resulting Numbers: [118]
118,23 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 |
[
50,
2,
46,
28
] | 60 | [
"50-46=4",
"2*28=56",
"4+56=60"
] | Current State: 60:[50, 2, 46, 28], Operations: []
Exploring Operation: 50-46=4, Resulting Numbers: [2, 28, 4]
Generated Node #2: [2, 28, 4] from Operation: 50-46=4
Current State: 60:[2, 28, 4], Operations: ['50-46=4']
Exploring Operation: 2*28=56, Resulting Numbers: [4, 56]
Generated Node #3: [4, 56] from Operation: 2*28=56
Current State: 60:[4, 56], Operations: ['50-46=4', '2*28=56']
Exploring Operation: 4+56=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[50, 2, 46, 28], Operations: []
Exploring Operation: 50-46=4, Resulting Numbers: [2, 28, 4]
Generated Node #0,0: 60:[2, 28, 4] Operation: 50-46=4
Moving to Node #0,0
Current State: 60:[2, 28, 4], Operations: ['50-46=4']
Exploring Operation: 2+28=30, Resulting Numbers: [4, 30]
Generated Node #0,0,0: 60:[4, 30] Operation: 2+28=30
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 60:[4, 30], Operations: ['50-46=4', '2+28=30']
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
77,
90,
95,
45
] | 20 | [
"95-77=18",
"90/45=2",
"18+2=20"
] | Current State: 20:[77, 90, 95, 45], Operations: []
Exploring Operation: 95-77=18, Resulting Numbers: [90, 45, 18]
Generated Node #2: [90, 45, 18] from Operation: 95-77=18
Current State: 20:[90, 45, 18], Operations: ['95-77=18']
Exploring Operation: 90/45=2, Resulting Numbers: [18, 2]
Generated Node #3: [18, 2] from Operation: 90/45=2
Current State: 20:[18, 2], Operations: ['95-77=18', '90/45=2']
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[77, 90, 95, 45], Operations: []
Exploring Operation: 95-90=5, Resulting Numbers: [77, 45, 5]
Generated Node #0,0: 20:[77, 45, 5] Operation: 95-90=5
Exploring Operation: 77-45=32, Resulting Numbers: [90, 95, 32]
Generated Node #0,1: 20:[90, 95, 32] Operation: 77-45=32
Exploring Operation: 95-77=18, Resulting Numbers: [90, 45, 18]
Generated Node #0,2: 20:[90, 45, 18] Operation: 95-77=18
Exploring Operation: 90-77=13, Resulting Numbers: [95, 45, 13]
Generated Node #0,3: 20:[95, 45, 13] Operation: 90-77=13
Exploring Operation: 90/45=2, Resulting Numbers: [77, 95, 2]
Generated Node #0,4: 20:[77, 95, 2] Operation: 90/45=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[77, 45, 5], Operations: ['95-90=5']
Exploring Operation: 77-5=72, Resulting Numbers: [45, 72]
Generated Node #0,0,0: 20:[45, 72] Operation: 77-5=72
Exploring Operation: 77-45=32, Resulting Numbers: [5, 32]
Generated Node #0,0,1: 20:[5, 32] Operation: 77-45=32
Exploring Operation: 45-5=40, Resulting Numbers: [77, 40]
Generated Node #0,0,2: 20:[77, 40] Operation: 45-5=40
Exploring Operation: 77+5=82, Resulting Numbers: [45, 82]
Generated Node #0,0,3: 20:[45, 82] Operation: 77+5=82
Exploring Operation: 45/5=9, Resulting Numbers: [77, 9]
Generated Node #0,0,4: 20:[77, 9] Operation: 45/5=9
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 20:[5, 32], Operations: ['95-90=5', '77-45=32']
Exploring Operation: 5*32=160, Resulting Numbers: [160]
160,20 unequal: No Solution
Exploring Operation: 5+32=37, Resulting Numbers: [37]
37,20 unequal: No Solution
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,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,0,4
Current State: 20:[77, 9], Operations: ['95-90=5', '45/5=9']
Exploring Operation: 77+9=86, Resulting Numbers: [86]
86,20 unequal: No Solution
Exploring Operation: 77*9=693, Resulting Numbers: [693]
693,20 unequal: No Solution
Exploring Operation: 77-9=68, Resulting Numbers: [68]
68,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,0,0
Current State: 20:[45, 72], Operations: ['95-90=5', '77-5=72']
Exploring Operation: 45*72=3240, Resulting Numbers: [3240]
3240,20 unequal: No Solution
Exploring Operation: 72-45=27, Resulting Numbers: [27]
27,20 unequal: No Solution
Exploring Operation: 45+72=117, Resulting Numbers: [117]
117,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,0,2
Current State: 20:[77, 40], Operations: ['95-90=5', '45-5=40']
Exploring Operation: 77*40=3080, Resulting Numbers: [3080]
3080,20 unequal: No Solution
Exploring Operation: 77-40=37, Resulting Numbers: [37]
37,20 unequal: No Solution
Exploring Operation: 77+40=117, Resulting Numbers: [117]
117,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,0,3
Current State: 20:[45, 82], Operations: ['95-90=5', '77+5=82']
Exploring Operation: 45*82=3690, Resulting Numbers: [3690]
3690,20 unequal: No Solution
Exploring Operation: 45+82=127, Resulting Numbers: [127]
127,20 unequal: No Solution
Exploring Operation: 82-45=37, Resulting Numbers: [37]
37,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,2
Current State: 20:[90, 45, 18], Operations: ['95-77=18']
Exploring Operation: 90-18=72, Resulting Numbers: [45, 72]
Generated Node #0,2,0: 20:[45, 72] Operation: 90-18=72
Exploring Operation: 45-18=27, Resulting Numbers: [90, 27]
Generated Node #0,2,1: 20:[90, 27] Operation: 45-18=27
Exploring Operation: 90/18=5, Resulting Numbers: [45, 5]
Generated Node #0,2,2: 20:[45, 5] Operation: 90/18=5
Exploring Operation: 90-45=45, Resulting Numbers: [18, 45]
Generated Node #0,2,3: 20:[18, 45] Operation: 90-45=45
Exploring Operation: 90/45=2, Resulting Numbers: [18, 2]
Generated Node #0,2,4: 20:[18, 2] Operation: 90/45=2
Moving to Node #0,2,4
Current State: 20:[18, 2], Operations: ['95-77=18', '90/45=2']
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,20 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,20 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,20 unequal: No Solution
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[77, 90, 95, 45], Operations: []
Exploring Operation: 95-77=18, Resulting Numbers: [90, 45, 18]
Generated Node #0,2: 20:[90, 45, 18] Operation: 95-77=18
Moving to Node #0,2
Current State: 20:[90, 45, 18], Operations: ['95-77=18']
Exploring Operation: 90/45=2, Resulting Numbers: [18, 2]
Generated Node #0,2,4: 20:[18, 2] Operation: 90/45=2
Moving to Node #0,2,4
Current State: 20:[18, 2], Operations: ['95-77=18', '90/45=2']
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_5 | sum_heuristic |
[
3,
41,
84,
31
] | 77 | [
"41-3=38",
"84+31=115",
"115-38=77"
] | Current State: 77:[3, 41, 84, 31], Operations: []
Exploring Operation: 41-3=38, Resulting Numbers: [84, 31, 38]
Generated Node #2: [84, 31, 38] from Operation: 41-3=38
Current State: 77:[84, 31, 38], Operations: ['41-3=38']
Exploring Operation: 84+31=115, Resulting Numbers: [38, 115]
Generated Node #3: [38, 115] from Operation: 84+31=115
Current State: 77:[38, 115], Operations: ['41-3=38', '84+31=115']
Exploring Operation: 115-38=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[3, 41, 84, 31], Operations: []
Exploring Operation: 41+31=72, Resulting Numbers: [3, 84, 72]
Generated Node #0,0: 77:[3, 84, 72] Operation: 41+31=72
Exploring Operation: 41-31=10, Resulting Numbers: [3, 84, 10]
Generated Node #0,1: 77:[3, 84, 10] Operation: 41-31=10
Exploring Operation: 3*31=93, Resulting Numbers: [41, 84, 93]
Generated Node #0,2: 77:[41, 84, 93] Operation: 3*31=93
Exploring Operation: 41-3=38, Resulting Numbers: [84, 31, 38]
Generated Node #0,3: 77:[84, 31, 38] Operation: 41-3=38
Moving to Node #0,1
Current State: 77:[3, 84, 10], Operations: ['41-31=10']
Exploring Operation: 10-3=7, Resulting Numbers: [84, 7]
Generated Node #0,1,0: 77:[84, 7] Operation: 10-3=7
Exploring Operation: 84-3=81, Resulting Numbers: [10, 81]
Generated Node #0,1,1: 77:[10, 81] Operation: 84-3=81
Exploring Operation: 3+10=13, Resulting Numbers: [84, 13]
Generated Node #0,1,2: 77:[84, 13] Operation: 3+10=13
Exploring Operation: 84-10=74, Resulting Numbers: [3, 74]
Generated Node #0,1,3: 77:[3, 74] Operation: 84-10=74
Moving to Node #0,0
Current State: 77:[3, 84, 72], Operations: ['41+31=72']
Exploring Operation: 3+84=87, Resulting Numbers: [72, 87]
Generated Node #0,0,0: 77:[72, 87] Operation: 3+84=87
Exploring Operation: 84-3=81, Resulting Numbers: [72, 81]
Generated Node #0,0,1: 77:[72, 81] Operation: 84-3=81
Exploring Operation: 3+72=75, Resulting Numbers: [84, 75]
Generated Node #0,0,2: 77:[84, 75] Operation: 3+72=75
Exploring Operation: 84-72=12, Resulting Numbers: [3, 12]
Generated Node #0,0,3: 77:[3, 12] Operation: 84-72=12
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 77:[3, 12], Operations: ['41+31=72', '84-72=12']
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,77 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,77 unequal: No Solution
Exploring Operation: 3*12=36, Resulting Numbers: [36]
36,77 unequal: No Solution
Exploring Operation: 3+12=15, Resulting Numbers: [15]
15,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 77:[72, 81], Operations: ['41+31=72', '84-3=81']
Exploring Operation: 72*81=5832, Resulting Numbers: [5832]
5832,77 unequal: No Solution
Exploring Operation: 72+81=153, Resulting Numbers: [153]
153,77 unequal: No Solution
Exploring Operation: 81-72=9, Resulting Numbers: [9]
9,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 77:[84, 75], Operations: ['41+31=72', '3+72=75']
Exploring Operation: 84+75=159, Resulting Numbers: [159]
159,77 unequal: No Solution
Exploring Operation: 84-75=9, Resulting Numbers: [9]
9,77 unequal: No Solution
Exploring Operation: 84*75=6300, Resulting Numbers: [6300]
6300,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 77:[72, 87], Operations: ['41+31=72', '3+84=87']
Exploring Operation: 72*87=6264, Resulting Numbers: [6264]
6264,77 unequal: No Solution
Exploring Operation: 87-72=15, Resulting Numbers: [15]
15,77 unequal: No Solution
Exploring Operation: 72+87=159, Resulting Numbers: [159]
159,77 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: 77:[41, 84, 93], Operations: ['3*31=93']
Exploring Operation: 93-41=52, Resulting Numbers: [84, 52]
Generated Node #0,2,0: 77:[84, 52] Operation: 93-41=52
Exploring Operation: 93-84=9, Resulting Numbers: [41, 9]
Generated Node #0,2,1: 77:[41, 9] Operation: 93-84=9
Exploring Operation: 41+84=125, Resulting Numbers: [93, 125]
Generated Node #0,2,2: 77:[93, 125] Operation: 41+84=125
Exploring Operation: 84-41=43, Resulting Numbers: [93, 43]
Generated Node #0,2,3: 77:[93, 43] Operation: 84-41=43
Moving to Node #0,3
Current State: 77:[84, 31, 38], Operations: ['41-3=38']
Exploring Operation: 38-31=7, Resulting Numbers: [84, 7]
Generated Node #0,3,0: 77:[84, 7] Operation: 38-31=7
Exploring Operation: 84-38=46, Resulting Numbers: [31, 46]
Generated Node #0,3,1: 77:[31, 46] Operation: 84-38=46
Exploring Operation: 84-31=53, Resulting Numbers: [38, 53]
Generated Node #0,3,2: 77:[38, 53] Operation: 84-31=53
Exploring Operation: 31+38=69, Resulting Numbers: [84, 69]
Generated Node #0,3,3: 77:[84, 69] Operation: 31+38=69
Moving to Node #0,1,1
Current State: 77:[10, 81], Operations: ['41-31=10', '84-3=81']
Exploring Operation: 81-10=71, Resulting Numbers: [71]
71,77 unequal: No Solution
Exploring Operation: 10+81=91, Resulting Numbers: [91]
91,77 unequal: No Solution
Exploring Operation: 10*81=810, Resulting Numbers: [810]
810,77 unequal: No Solution
Moving to Node #0,1,3
Current State: 77:[3, 74], Operations: ['41-31=10', '84-10=74']
Exploring Operation: 3*74=222, Resulting Numbers: [222]
222,77 unequal: No Solution
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,77 unequal: No Solution
Exploring Operation: 3+74=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[3, 41, 84, 31], Operations: []
Exploring Operation: 41-31=10, Resulting Numbers: [3, 84, 10]
Generated Node #0,1: 77:[3, 84, 10] Operation: 41-31=10
Moving to Node #0,1
Current State: 77:[3, 84, 10], Operations: ['41-31=10']
Exploring Operation: 84-10=74, Resulting Numbers: [3, 74]
Generated Node #0,1,3: 77:[3, 74] Operation: 84-10=74
Moving to Node #0,1,3
Current State: 77:[3, 74], Operations: ['41-31=10', '84-10=74']
Exploring Operation: 3+74=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 0.962674 | hs_4 | sum_heuristic |
[
66,
36,
63,
9
] | 24 | [
"66-36=30",
"63-9=54",
"54-30=24"
] | Current State: 24:[66, 36, 63, 9], Operations: []
Exploring Operation: 66-36=30, Resulting Numbers: [63, 9, 30]
Generated Node #2: [63, 9, 30] from Operation: 66-36=30
Current State: 24:[63, 9, 30], Operations: ['66-36=30']
Exploring Operation: 63-9=54, Resulting Numbers: [30, 54]
Generated Node #3: [30, 54] from Operation: 63-9=54
Current State: 24:[30, 54], Operations: ['66-36=30', '63-9=54']
Exploring Operation: 54-30=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[66, 36, 63, 9], Operations: []
Exploring Operation: 63-36=27, Resulting Numbers: [66, 9, 27]
Generated Node #0,0: 24:[66, 9, 27] Operation: 63-36=27
Exploring Operation: 63/9=7, Resulting Numbers: [66, 36, 7]
Generated Node #0,1: 24:[66, 36, 7] Operation: 63/9=7
Exploring Operation: 66-63=3, Resulting Numbers: [36, 9, 3]
Generated Node #0,2: 24:[36, 9, 3] Operation: 66-63=3
Exploring Operation: 36/9=4, Resulting Numbers: [66, 63, 4]
Generated Node #0,3: 24:[66, 63, 4] Operation: 36/9=4
Exploring Operation: 66-36=30, Resulting Numbers: [63, 9, 30]
Generated Node #0,4: 24:[63, 9, 30] Operation: 66-36=30
Start Sub Search at level 1: Moving to Node #0,2
Current State: 24:[36, 9, 3], Operations: ['66-63=3']
Exploring Operation: 36-9=27, Resulting Numbers: [3, 27]
Generated Node #0,2,0: 24:[3, 27] Operation: 36-9=27
Exploring Operation: 36/9=4, Resulting Numbers: [3, 4]
Generated Node #0,2,1: 24:[3, 4] Operation: 36/9=4
Exploring Operation: 36/3=12, Resulting Numbers: [9, 12]
Generated Node #0,2,2: 24:[9, 12] Operation: 36/3=12
Exploring Operation: 9+3=12, Resulting Numbers: [36, 12]
Generated Node #0,2,3: 24:[36, 12] Operation: 9+3=12
Exploring Operation: 36-3=33, Resulting Numbers: [9, 33]
Generated Node #0,2,4: 24:[9, 33] Operation: 36-3=33
Moving to Node #0,2,1
Current State: 24:[3, 4], Operations: ['66-63=3', '36/9=4']
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,24 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,24 unequal: No Solution
Moving to Node #0,2,2
Current State: 24:[9, 12], Operations: ['66-63=3', '36/3=12']
Exploring Operation: 9*12=108, Resulting Numbers: [108]
108,24 unequal: No Solution
Exploring Operation: 9+12=21, Resulting Numbers: [21]
21,24 unequal: No Solution
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Moving to Node #0,2,0
Current State: 24:[3, 27], Operations: ['66-63=3', '36-9=27']
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,24 unequal: No Solution
Exploring Operation: 3+27=30, Resulting Numbers: [30]
30,24 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,24 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[66, 36, 63, 9], Operations: []
Exploring Operation: 66-63=3, Resulting Numbers: [36, 9, 3]
Generated Node #0,2: 24:[36, 9, 3] Operation: 66-63=3
Moving to Node #0,2
Current State: 24:[36, 9, 3], Operations: ['66-63=3']
Exploring Operation: 36-9=27, Resulting Numbers: [3, 27]
Generated Node #0,2,0: 24:[3, 27] Operation: 36-9=27
Moving to Node #0,2,0
Current State: 24:[3, 27], Operations: ['66-63=3', '36-9=27']
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_5 | sum_heuristic |
[
2,
1,
19,
81
] | 43 | [
"2*1=2",
"19*2=38",
"81-38=43"
] | Current State: 43:[2, 1, 19, 81], Operations: []
Exploring Operation: 2*1=2, Resulting Numbers: [19, 81, 2]
Generated Node #2: [19, 81, 2] from Operation: 2*1=2
Current State: 43:[19, 81, 2], Operations: ['2*1=2']
Exploring Operation: 19*2=38, Resulting Numbers: [81, 38]
Generated Node #3: [81, 38] from Operation: 19*2=38
Current State: 43:[81, 38], Operations: ['2*1=2', '19*2=38']
Exploring Operation: 81-38=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[2, 1, 19, 81], Operations: []
Exploring Operation: 2*19=38, Resulting Numbers: [1, 81, 38]
Generated Node #0,0: 43:[1, 81, 38] Operation: 2*19=38
Exploring Operation: 2+1=3, Resulting Numbers: [19, 81, 3]
Generated Node #0,1: 43:[19, 81, 3] Operation: 2+1=3
Exploring Operation: 2+19=21, Resulting Numbers: [1, 81, 21]
Generated Node #0,2: 43:[1, 81, 21] Operation: 2+19=21
Exploring Operation: 81-2=79, Resulting Numbers: [1, 19, 79]
Generated Node #0,3: 43:[1, 19, 79] Operation: 81-2=79
Moving to Node #0,0
Current State: 43:[1, 81, 38], Operations: ['2*19=38']
Exploring Operation: 1+38=39, Resulting Numbers: [81, 39]
Generated Node #0,0,0: 43:[81, 39] Operation: 1+38=39
Exploring Operation: 81-1=80, Resulting Numbers: [38, 80]
Generated Node #0,0,1: 43:[38, 80] Operation: 81-1=80
Exploring Operation: 1*81=81, Resulting Numbers: [38, 81]
Generated Node #0,0,2: 43:[38, 81] Operation: 1*81=81
Exploring Operation: 81-38=43, Resulting Numbers: [1, 43]
Generated Node #0,0,3: 43:[1, 43] Operation: 81-38=43
Moving to Node #0,2
Current State: 43:[1, 81, 21], Operations: ['2+19=21']
Exploring Operation: 1*81=81, Resulting Numbers: [21, 81]
Generated Node #0,2,0: 43:[21, 81] Operation: 1*81=81
Exploring Operation: 81-21=60, Resulting Numbers: [1, 60]
Generated Node #0,2,1: 43:[1, 60] Operation: 81-21=60
Exploring Operation: 1+21=22, Resulting Numbers: [81, 22]
Generated Node #0,2,2: 43:[81, 22] Operation: 1+21=22
Exploring Operation: 81-1=80, Resulting Numbers: [21, 80]
Generated Node #0,2,3: 43:[21, 80] Operation: 81-1=80
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 43:[1, 60], Operations: ['2+19=21', '81-21=60']
Exploring Operation: 1+60=61, Resulting Numbers: [61]
61,43 unequal: No Solution
Exploring Operation: 60/1=60, Resulting Numbers: [60]
60,43 unequal: No Solution
Exploring Operation: 60-1=59, Resulting Numbers: [59]
59,43 unequal: No Solution
Exploring Operation: 1*60=60, Resulting Numbers: [60]
60,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 43:[81, 22], Operations: ['2+19=21', '1+21=22']
Exploring Operation: 81-22=59, Resulting Numbers: [59]
59,43 unequal: No Solution
Exploring Operation: 81*22=1782, Resulting Numbers: [1782]
1782,43 unequal: No Solution
Exploring Operation: 81+22=103, Resulting Numbers: [103]
103,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,3
Current State: 43:[21, 80], Operations: ['2+19=21', '81-1=80']
Exploring Operation: 80-21=59, Resulting Numbers: [59]
59,43 unequal: No Solution
Exploring Operation: 21+80=101, Resulting Numbers: [101]
101,43 unequal: No Solution
Exploring Operation: 21*80=1680, Resulting Numbers: [1680]
1680,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:[21, 81], Operations: ['2+19=21', '1*81=81']
Exploring Operation: 21*81=1701, Resulting Numbers: [1701]
1701,43 unequal: No Solution
Exploring Operation: 21+81=102, Resulting Numbers: [102]
102,43 unequal: No Solution
Exploring Operation: 81-21=60, Resulting Numbers: [60]
60,43 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: 43:[19, 81, 3], Operations: ['2+1=3']
Exploring Operation: 19+3=22, Resulting Numbers: [81, 22]
Generated Node #0,1,0: 43:[81, 22] Operation: 19+3=22
Exploring Operation: 81/3=27, Resulting Numbers: [19, 27]
Generated Node #0,1,1: 43:[19, 27] Operation: 81/3=27
Exploring Operation: 81-19=62, Resulting Numbers: [3, 62]
Generated Node #0,1,2: 43:[3, 62] Operation: 81-19=62
Exploring Operation: 19*3=57, Resulting Numbers: [81, 57]
Generated Node #0,1,3: 43:[81, 57] Operation: 19*3=57
Moving to Node #0,3
Current State: 43:[1, 19, 79], Operations: ['81-2=79']
Exploring Operation: 79-1=78, Resulting Numbers: [19, 78]
Generated Node #0,3,0: 43:[19, 78] Operation: 79-1=78
Exploring Operation: 1*19=19, Resulting Numbers: [79, 19]
Generated Node #0,3,1: 43:[79, 19] Operation: 1*19=19
Exploring Operation: 1+19=20, Resulting Numbers: [79, 20]
Generated Node #0,3,2: 43:[79, 20] Operation: 1+19=20
Exploring Operation: 79-19=60, Resulting Numbers: [1, 60]
Generated Node #0,3,3: 43:[1, 60] Operation: 79-19=60
Moving to Node #0,1,1
Current State: 43:[19, 27], Operations: ['2+1=3', '81/3=27']
Exploring Operation: 19*27=513, Resulting Numbers: [513]
513,43 unequal: No Solution
Exploring Operation: 27-19=8, Resulting Numbers: [8]
8,43 unequal: No Solution
Exploring Operation: 19+27=46, Resulting Numbers: [46]
46,43 unequal: No Solution
Moving to Node #0,0,3
Current State: 43:[1, 43], Operations: ['2*19=38', '81-38=43']
Exploring Operation: 1+43=44, Resulting Numbers: [44]
44,43 unequal: No Solution
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,43 unequal: No Solution
Exploring Operation: 1*43=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[2, 1, 19, 81], Operations: []
Exploring Operation: 2*19=38, Resulting Numbers: [1, 81, 38]
Generated Node #0,0: 43:[1, 81, 38] Operation: 2*19=38
Moving to Node #0,0
Current State: 43:[1, 81, 38], Operations: ['2*19=38']
Exploring Operation: 81-38=43, Resulting Numbers: [1, 43]
Generated Node #0,0,3: 43:[1, 43] Operation: 81-38=43
Moving to Node #0,0,3
Current State: 43:[1, 43], Operations: ['2*19=38', '81-38=43']
Exploring Operation: 1*43=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 0.962674 | hs_4 | mult_heuristic |
[
2,
2,
22,
23
] | 11 | [
"2+22=24",
"24/2=12",
"23-12=11"
] | Current State: 11:[2, 2, 22, 23], Operations: []
Exploring Operation: 2+22=24, Resulting Numbers: [23, 24]
Generated Node #2: [23, 24] from Operation: 2+22=24
Current State: 11:[23, 24], Operations: ['2+22=24']
Exploring Operation: 24/2=12, Resulting Numbers: [23, 12]
Generated Node #3: [23, 12] from Operation: 24/2=12
Current State: 11:[23, 12], Operations: ['2+22=24', '24/2=12']
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[2, 2, 22, 23], Operations: []
Exploring Operation: 2+2=4, Resulting Numbers: [22, 23, 4]
Generated Node #0,0: 11:[22, 23, 4] Operation: 2+2=4
Exploring Operation: 22/2=11, Resulting Numbers: [2, 23, 11]
Generated Node #0,1: 11:[2, 23, 11] Operation: 22/2=11
Exploring Operation: 22/2=11, Resulting Numbers: [2, 23, 11]
Generated Node #0,2: 11:[2, 23, 11] Operation: 22/2=11
Exploring Operation: 23-22=1, Resulting Numbers: [2, 2, 1]
Generated Node #0,3: 11:[2, 2, 1] Operation: 23-22=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 11:[2, 23, 11], Operations: ['22/2=11']
Exploring Operation: 2+23=25, Resulting Numbers: [11, 25]
Generated Node #0,1,0: 11:[11, 25] Operation: 2+23=25
Exploring Operation: 23-11=12, Resulting Numbers: [2, 12]
Generated Node #0,1,1: 11:[2, 12] Operation: 23-11=12
Exploring Operation: 23-2=21, Resulting Numbers: [11, 21]
Generated Node #0,1,2: 11:[11, 21] Operation: 23-2=21
Exploring Operation: 2+11=13, Resulting Numbers: [23, 13]
Generated Node #0,1,3: 11:[23, 13] Operation: 2+11=13
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 11:[2, 12], Operations: ['22/2=11', '23-11=12']
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,11 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,11 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,11 unequal: No Solution
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,11 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: 11:[11, 21], Operations: ['22/2=11', '23-2=21']
Exploring Operation: 11+21=32, Resulting Numbers: [32]
32,11 unequal: No Solution
Exploring Operation: 11*21=231, Resulting Numbers: [231]
231,11 unequal: No Solution
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,11 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: 11:[11, 25], Operations: ['22/2=11', '2+23=25']
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,11 unequal: No Solution
Exploring Operation: 11*25=275, Resulting Numbers: [275]
275,11 unequal: No Solution
Exploring Operation: 11+25=36, Resulting Numbers: [36]
36,11 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: 11:[23, 13], Operations: ['22/2=11', '2+11=13']
Exploring Operation: 23-13=10, Resulting Numbers: [10]
10,11 unequal: No Solution
Exploring Operation: 23*13=299, Resulting Numbers: [299]
299,11 unequal: No Solution
Exploring Operation: 23+13=36, Resulting Numbers: [36]
36,11 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: 11:[2, 23, 11], Operations: ['22/2=11']
Exploring Operation: 23-11=12, Resulting Numbers: [2, 12]
Generated Node #0,2,0: 11:[2, 12] Operation: 23-11=12
Exploring Operation: 2+11=13, Resulting Numbers: [23, 13]
Generated Node #0,2,1: 11:[23, 13] Operation: 2+11=13
Exploring Operation: 2+23=25, Resulting Numbers: [11, 25]
Generated Node #0,2,2: 11:[11, 25] Operation: 2+23=25
Exploring Operation: 23-2=21, Resulting Numbers: [11, 21]
Generated Node #0,2,3: 11:[11, 21] Operation: 23-2=21
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 11:[2, 12], Operations: ['22/2=11', '23-11=12']
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,11 unequal: No Solution
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,11 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,11 unequal: No Solution
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,11 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: 11:[11, 21], Operations: ['22/2=11', '23-2=21']
Exploring Operation: 11+21=32, Resulting Numbers: [32]
32,11 unequal: No Solution
Exploring Operation: 11*21=231, Resulting Numbers: [231]
231,11 unequal: No Solution
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,11 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: 11:[23, 13], Operations: ['22/2=11', '2+11=13']
Exploring Operation: 23+13=36, Resulting Numbers: [36]
36,11 unequal: No Solution
Exploring Operation: 23-13=10, Resulting Numbers: [10]
10,11 unequal: No Solution
Exploring Operation: 23*13=299, Resulting Numbers: [299]
299,11 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: 11:[11, 25], Operations: ['22/2=11', '2+23=25']
Exploring Operation: 11+25=36, Resulting Numbers: [36]
36,11 unequal: No Solution
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,11 unequal: No Solution
Exploring Operation: 11*25=275, Resulting Numbers: [275]
275,11 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: 11:[2, 2, 1], Operations: ['23-22=1']
Exploring Operation: 2+2=4, Resulting Numbers: [1, 4]
Generated Node #0,3,0: 11:[1, 4] Operation: 2+2=4
Exploring Operation: 2*2=4, Resulting Numbers: [1, 4]
Generated Node #0,3,1: 11:[1, 4] Operation: 2*2=4
Exploring Operation: 2+1=3, Resulting Numbers: [2, 3]
Generated Node #0,3,2: 11:[2, 3] Operation: 2+1=3
Exploring Operation: 2+1=3, Resulting Numbers: [2, 3]
Generated Node #0,3,3: 11:[2, 3] Operation: 2+1=3
Moving to Node #0,3,0
Current State: 11:[1, 4], Operations: ['23-22=1', '2+2=4']
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,11 unequal: No Solution
Exploring Operation: 1+4=5, Resulting Numbers: [5]
5,11 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,11 unequal: No Solution
Exploring Operation: 1*4=4, Resulting Numbers: [4]
4,11 unequal: No Solution
Moving to Node #0,3,2
Current State: 11:[2, 3], Operations: ['23-22=1', '2+1=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,11 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,11 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,11 unequal: No Solution
Moving to Node #0,3,1
Current State: 11:[1, 4], Operations: ['23-22=1', '2*2=4']
Exploring Operation: 1+4=5, Resulting Numbers: [5]
5,11 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,11 unequal: No Solution
Exploring Operation: 1*4=4, Resulting Numbers: [4]
4,11 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,11 unequal: No Solution
Moving to Node #0,3,3
Current State: 11:[2, 3], Operations: ['23-22=1', '2+1=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,11 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,11 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,11 unequal: No Solution
No 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: 11:[22, 23, 4], Operations: ['2+2=4']
Exploring Operation: 23-4=19, Resulting Numbers: [22, 19]
Generated Node #0,0,0: 11:[22, 19] Operation: 23-4=19
Exploring Operation: 23-22=1, Resulting Numbers: [4, 1]
Generated Node #0,0,1: 11:[4, 1] Operation: 23-22=1
Exploring Operation: 22-4=18, Resulting Numbers: [23, 18]
Generated Node #0,0,2: 11:[23, 18] Operation: 22-4=18
Exploring Operation: 22+4=26, Resulting Numbers: [23, 26]
Generated Node #0,0,3: 11:[23, 26] Operation: 22+4=26
Moving to Node #0,0,1
Current State: 11:[4, 1], Operations: ['2+2=4', '23-22=1']
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,11 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,11 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,11 unequal: No Solution
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,11 unequal: No Solution
Moving to Node #0,0,2
Current State: 11:[23, 18], Operations: ['2+2=4', '22-4=18']
Exploring Operation: 23+18=41, Resulting Numbers: [41]
41,11 unequal: No Solution
Exploring Operation: 23-18=5, Resulting Numbers: [5]
5,11 unequal: No Solution
Exploring Operation: 23*18=414, Resulting Numbers: [414]
414,11 unequal: No Solution
Moving to Node #0,0,0
Current State: 11:[22, 19], Operations: ['2+2=4', '23-4=19']
Exploring Operation: 22*19=418, Resulting Numbers: [418]
418,11 unequal: No Solution
Exploring Operation: 22+19=41, Resulting Numbers: [41]
41,11 unequal: No Solution
Exploring Operation: 22-19=3, Resulting Numbers: [3]
3,11 unequal: No Solution
Moving to Node #0,0,3
Current State: 11:[23, 26], Operations: ['2+2=4', '22+4=26']
Exploring Operation: 23*26=598, Resulting Numbers: [598]
598,11 unequal: No Solution
Exploring Operation: 23+26=49, Resulting Numbers: [49]
49,11 unequal: No Solution
Exploring Operation: 26-23=3, Resulting Numbers: [3]
3,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
2,
23,
17,
33
] | 44 | [
"2*17=34",
"33-23=10",
"34+10=44"
] | Current State: 44:[2, 23, 17, 33], Operations: []
Exploring Operation: 2*17=34, Resulting Numbers: [23, 33, 34]
Generated Node #2: [23, 33, 34] from Operation: 2*17=34
Current State: 44:[23, 33, 34], Operations: ['2*17=34']
Exploring Operation: 33-23=10, Resulting Numbers: [34, 10]
Generated Node #3: [34, 10] from Operation: 33-23=10
Current State: 44:[34, 10], Operations: ['2*17=34', '33-23=10']
Exploring Operation: 34+10=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[2, 23, 17, 33], Operations: []
Exploring Operation: 33-23=10, Resulting Numbers: [2, 17, 10]
Generated Node #0,0: 44:[2, 17, 10] Operation: 33-23=10
Exploring Operation: 33-17=16, Resulting Numbers: [2, 23, 16]
Generated Node #0,1: 44:[2, 23, 16] Operation: 33-17=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[2, 17, 10], Operations: ['33-23=10']
Exploring Operation: 2+17=19, Resulting Numbers: [10, 19]
Generated Node #0,0,0: 44:[10, 19] Operation: 2+17=19
Exploring Operation: 17-10=7, Resulting Numbers: [2, 7]
Generated Node #0,0,1: 44:[2, 7] Operation: 17-10=7
Moving to Node #0,0,1
Current State: 44:[2, 7], Operations: ['33-23=10', '17-10=7']
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,44 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,44 unequal: No Solution
Moving to Node #0,0,0
Current State: 44:[10, 19], Operations: ['33-23=10', '2+17=19']
Exploring Operation: 10+19=29, Resulting Numbers: [29]
29,44 unequal: No Solution
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,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:[2, 23, 16], Operations: ['33-17=16']
Exploring Operation: 16-2=14, Resulting Numbers: [23, 14]
Generated Node #0,1,0: 44:[23, 14] Operation: 16-2=14
Exploring Operation: 23-16=7, Resulting Numbers: [2, 7]
Generated Node #0,1,1: 44:[2, 7] Operation: 23-16=7
Moving to Node #0,1,1
Current State: 44:[2, 7], Operations: ['33-17=16', '23-16=7']
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,44 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,44 unequal: No Solution
Moving to Node #0,1,0
Current State: 44:[23, 14], Operations: ['33-17=16', '16-2=14']
Exploring Operation: 23+14=37, Resulting Numbers: [37]
37,44 unequal: No Solution
Exploring Operation: 23-14=9, Resulting Numbers: [9]
9,44 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 |
[
4,
81,
24,
4
] | 58 | [
"4/4=1",
"81-24=57",
"1+57=58"
] | Current State: 58:[4, 81, 24, 4], Operations: []
Exploring Operation: 4/4=1, Resulting Numbers: [81, 24, 1]
Generated Node #2: [81, 24, 1] from Operation: 4/4=1
Current State: 58:[81, 24, 1], Operations: ['4/4=1']
Exploring Operation: 81-24=57, Resulting Numbers: [1, 57]
Generated Node #3: [1, 57] from Operation: 81-24=57
Current State: 58:[1, 57], Operations: ['4/4=1', '81-24=57']
Exploring Operation: 1+57=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[4, 81, 24, 4], Operations: []
Exploring Operation: 81-4=77, Resulting Numbers: [24, 4, 77]
Generated Node #0,0: 58:[24, 4, 77] Operation: 81-4=77
Exploring Operation: 81-24=57, Resulting Numbers: [4, 4, 57]
Generated Node #0,1: 58:[4, 4, 57] Operation: 81-24=57
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[4, 4, 57], Operations: ['81-24=57']
Exploring Operation: 4/4=1, Resulting Numbers: [57, 1]
Generated Node #0,1,0: 58:[57, 1] Operation: 4/4=1
Exploring Operation: 4-4=0, Resulting Numbers: [57, 0]
Generated Node #0,1,1: 58:[57, 0] Operation: 4-4=0
Moving to Node #0,1,0
Current State: 58:[57, 1], Operations: ['81-24=57', '4/4=1']
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[4, 81, 24, 4], Operations: []
Exploring Operation: 81-24=57, Resulting Numbers: [4, 4, 57]
Generated Node #0,1: 58:[4, 4, 57] Operation: 81-24=57
Moving to Node #0,1
Current State: 58:[4, 4, 57], Operations: ['81-24=57']
Exploring Operation: 4/4=1, Resulting Numbers: [57, 1]
Generated Node #0,1,0: 58:[57, 1] Operation: 4/4=1
Moving to Node #0,1,0
Current State: 58:[57, 1], Operations: ['81-24=57', '4/4=1']
Exploring Operation: 57+1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
31,
61,
33,
8
] | 11 | [
"61-31=30",
"33+8=41",
"41-30=11"
] | Current State: 11:[31, 61, 33, 8], Operations: []
Exploring Operation: 61-31=30, Resulting Numbers: [33, 8, 30]
Generated Node #2: [33, 8, 30] from Operation: 61-31=30
Current State: 11:[33, 8, 30], Operations: ['61-31=30']
Exploring Operation: 33+8=41, Resulting Numbers: [30, 41]
Generated Node #3: [30, 41] from Operation: 33+8=41
Current State: 11:[30, 41], Operations: ['61-31=30', '33+8=41']
Exploring Operation: 41-30=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[31, 61, 33, 8], Operations: []
Exploring Operation: 61-33=28, Resulting Numbers: [31, 8, 28]
Generated Node #0,0: 11:[31, 8, 28] Operation: 61-33=28
Moving to Node #0,0
Current State: 11:[31, 8, 28], Operations: ['61-33=28']
Exploring Operation: 31-28=3, Resulting Numbers: [8, 3]
Generated Node #0,0,0: 11:[8, 3] Operation: 31-28=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[8, 3], Operations: ['61-33=28', '31-28=3']
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[31, 61, 33, 8], Operations: []
Exploring Operation: 61-33=28, Resulting Numbers: [31, 8, 28]
Generated Node #0,0: 11:[31, 8, 28] Operation: 61-33=28
Moving to Node #0,0
Current State: 11:[31, 8, 28], Operations: ['61-33=28']
Exploring Operation: 31-28=3, Resulting Numbers: [8, 3]
Generated Node #0,0,0: 11:[8, 3] Operation: 31-28=3
Moving to Node #0,0,0
Current State: 11:[8, 3], Operations: ['61-33=28', '31-28=3']
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
45,
63,
82,
79
] | 36 | [
"45+63=108",
"82-79=3",
"108/3=36"
] | Current State: 36:[45, 63, 82, 79], Operations: []
Exploring Operation: 45+63=108, Resulting Numbers: [82, 79, 108]
Generated Node #2: [82, 79, 108] from Operation: 45+63=108
Current State: 36:[82, 79, 108], Operations: ['45+63=108']
Exploring Operation: 82-79=3, Resulting Numbers: [108, 3]
Generated Node #3: [108, 3] from Operation: 82-79=3
Current State: 36:[108, 3], Operations: ['45+63=108', '82-79=3']
Exploring Operation: 108/3=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[45, 63, 82, 79], Operations: []
Exploring Operation: 82-79=3, Resulting Numbers: [45, 63, 3]
Generated Node #0,0: 36:[45, 63, 3] Operation: 82-79=3
Moving to Node #0,0
Current State: 36:[45, 63, 3], Operations: ['82-79=3']
Exploring Operation: 63-45=18, Resulting Numbers: [3, 18]
Generated Node #0,0,0: 36:[3, 18] Operation: 63-45=18
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 36:[3, 18], Operations: ['82-79=3', '63-45=18']
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,36 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 |
[
79,
31,
61,
59
] | 50 | [
"79-31=48",
"61-59=2",
"48+2=50"
] | Current State: 50:[79, 31, 61, 59], Operations: []
Exploring Operation: 79-31=48, Resulting Numbers: [61, 59, 48]
Generated Node #2: [61, 59, 48] from Operation: 79-31=48
Current State: 50:[61, 59, 48], Operations: ['79-31=48']
Exploring Operation: 61-59=2, Resulting Numbers: [48, 2]
Generated Node #3: [48, 2] from Operation: 61-59=2
Current State: 50:[48, 2], Operations: ['79-31=48', '61-59=2']
Exploring Operation: 48+2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[79, 31, 61, 59], Operations: []
Exploring Operation: 79-31=48, Resulting Numbers: [61, 59, 48]
Generated Node #0,0: 50:[61, 59, 48] Operation: 79-31=48
Moving to Node #0,0
Current State: 50:[61, 59, 48], Operations: ['79-31=48']
Exploring Operation: 61-59=2, Resulting Numbers: [48, 2]
Generated Node #0,0,0: 50:[48, 2] Operation: 61-59=2
Moving to Node #0,0,0
Current State: 50:[48, 2], Operations: ['79-31=48', '61-59=2']
Exploring Operation: 48+2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[79, 31, 61, 59], Operations: []
Exploring Operation: 79-31=48, Resulting Numbers: [61, 59, 48]
Generated Node #0,0: 50:[61, 59, 48] Operation: 79-31=48
Moving to Node #0,0
Current State: 50:[61, 59, 48], Operations: ['79-31=48']
Exploring Operation: 61-59=2, Resulting Numbers: [48, 2]
Generated Node #0,0,0: 50:[48, 2] Operation: 61-59=2
Moving to Node #0,0,0
Current State: 50:[48, 2], Operations: ['79-31=48', '61-59=2']
Exploring Operation: 48+2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
45,
56,
90,
37
] | 97 | [
"45-37=8",
"56/8=7",
"90+7=97"
] | Current State: 97:[45, 56, 90, 37], Operations: []
Exploring Operation: 45-37=8, Resulting Numbers: [56, 90, 8]
Generated Node #2: [56, 90, 8] from Operation: 45-37=8
Current State: 97:[56, 90, 8], Operations: ['45-37=8']
Exploring Operation: 56/8=7, Resulting Numbers: [90, 7]
Generated Node #3: [90, 7] from Operation: 56/8=7
Current State: 97:[90, 7], Operations: ['45-37=8', '56/8=7']
Exploring Operation: 90+7=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[45, 56, 90, 37], Operations: []
Exploring Operation: 56+37=93, Resulting Numbers: [45, 90, 93]
Generated Node #0,0: 97:[45, 90, 93] Operation: 56+37=93
Exploring Operation: 45+37=82, Resulting Numbers: [56, 90, 82]
Generated Node #0,1: 97:[56, 90, 82] Operation: 45+37=82
Moving to Node #0,0
Current State: 97:[45, 90, 93], Operations: ['56+37=93']
Exploring Operation: 45+90=135, Resulting Numbers: [93, 135]
Generated Node #0,0,0: 97:[93, 135] Operation: 45+90=135
Exploring Operation: 45+93=138, Resulting Numbers: [90, 138]
Generated Node #0,0,1: 97:[90, 138] Operation: 45+93=138
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[93, 135], Operations: ['56+37=93', '45+90=135']
Exploring Operation: 135-93=42, Resulting Numbers: [42]
42,97 unequal: No Solution
Exploring Operation: 93+135=228, Resulting Numbers: [228]
228,97 unequal: No Solution
No 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: 97:[90, 138], Operations: ['56+37=93', '45+93=138']
Exploring Operation: 138-90=48, Resulting Numbers: [48]
48,97 unequal: No Solution
Exploring Operation: 90+138=228, Resulting Numbers: [228]
228,97 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: 97:[56, 90, 82], Operations: ['45+37=82']
Exploring Operation: 56+90=146, Resulting Numbers: [82, 146]
Generated Node #0,1,0: 97:[82, 146] Operation: 56+90=146
Exploring Operation: 56+82=138, Resulting Numbers: [90, 138]
Generated Node #0,1,1: 97:[90, 138] Operation: 56+82=138
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 97:[90, 138], Operations: ['45+37=82', '56+82=138']
Exploring Operation: 90+138=228, Resulting Numbers: [228]
228,97 unequal: No Solution
Exploring Operation: 138-90=48, Resulting Numbers: [48]
48,97 unequal: No Solution
No 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: 97:[82, 146], Operations: ['45+37=82', '56+90=146']
Exploring Operation: 82+146=228, Resulting Numbers: [228]
228,97 unequal: No Solution
Exploring Operation: 146-82=64, Resulting Numbers: [64]
64,97 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 |
[
63,
68,
90,
16
] | 57 | [
"63+68=131",
"90-16=74",
"131-74=57"
] | Current State: 57:[63, 68, 90, 16], Operations: []
Exploring Operation: 63+68=131, Resulting Numbers: [90, 16, 131]
Generated Node #2: [90, 16, 131] from Operation: 63+68=131
Current State: 57:[90, 16, 131], Operations: ['63+68=131']
Exploring Operation: 90-16=74, Resulting Numbers: [131, 74]
Generated Node #3: [131, 74] from Operation: 90-16=74
Current State: 57:[131, 74], Operations: ['63+68=131', '90-16=74']
Exploring Operation: 131-74=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[63, 68, 90, 16], Operations: []
Exploring Operation: 90-68=22, Resulting Numbers: [63, 16, 22]
Generated Node #0,0: 57:[63, 16, 22] Operation: 90-68=22
Moving to Node #0,0
Current State: 57:[63, 16, 22], Operations: ['90-68=22']
Exploring Operation: 22-16=6, Resulting Numbers: [63, 6]
Generated Node #0,0,0: 57:[63, 6] Operation: 22-16=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 57:[63, 6], Operations: ['90-68=22', '22-16=6']
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[63, 68, 90, 16], Operations: []
Exploring Operation: 90-68=22, Resulting Numbers: [63, 16, 22]
Generated Node #0,0: 57:[63, 16, 22] Operation: 90-68=22
Moving to Node #0,0
Current State: 57:[63, 16, 22], Operations: ['90-68=22']
Exploring Operation: 22-16=6, Resulting Numbers: [63, 6]
Generated Node #0,0,0: 57:[63, 6] Operation: 22-16=6
Moving to Node #0,0,0
Current State: 57:[63, 6], Operations: ['90-68=22', '22-16=6']
Exploring Operation: 63-6=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
5,
16,
54,
18
] | 93 | [
"5+16=21",
"54+18=72",
"21+72=93"
] | Current State: 93:[5, 16, 54, 18], Operations: []
Exploring Operation: 5+16=21, Resulting Numbers: [54, 18, 21]
Generated Node #2: [54, 18, 21] from Operation: 5+16=21
Current State: 93:[54, 18, 21], Operations: ['5+16=21']
Exploring Operation: 54+18=72, Resulting Numbers: [21, 72]
Generated Node #3: [21, 72] from Operation: 54+18=72
Current State: 93:[21, 72], Operations: ['5+16=21', '54+18=72']
Exploring Operation: 21+72=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[5, 16, 54, 18], Operations: []
Exploring Operation: 18-16=2, Resulting Numbers: [5, 54, 2]
Generated Node #0,0: 93:[5, 54, 2] Operation: 18-16=2
Exploring Operation: 54-18=36, Resulting Numbers: [5, 16, 36]
Generated Node #0,1: 93:[5, 16, 36] Operation: 54-18=36
Exploring Operation: 54-16=38, Resulting Numbers: [5, 18, 38]
Generated Node #0,2: 93:[5, 18, 38] Operation: 54-16=38
Exploring Operation: 54/18=3, Resulting Numbers: [5, 16, 3]
Generated Node #0,3: 93:[5, 16, 3] Operation: 54/18=3
Moving to Node #0,3
Current State: 93:[5, 16, 3], Operations: ['54/18=3']
Exploring Operation: 16-5=11, Resulting Numbers: [3, 11]
Generated Node #0,3,0: 93:[3, 11] Operation: 16-5=11
Exploring Operation: 5+16=21, Resulting Numbers: [3, 21]
Generated Node #0,3,1: 93:[3, 21] Operation: 5+16=21
Exploring Operation: 16-3=13, Resulting Numbers: [5, 13]
Generated Node #0,3,2: 93:[5, 13] Operation: 16-3=13
Exploring Operation: 5*16=80, Resulting Numbers: [3, 80]
Generated Node #0,3,3: 93:[3, 80] Operation: 5*16=80
Moving to Node #0,1
Current State: 93:[5, 16, 36], Operations: ['54-18=36']
Exploring Operation: 36-5=31, Resulting Numbers: [16, 31]
Generated Node #0,1,0: 93:[16, 31] Operation: 36-5=31
Exploring Operation: 5+16=21, Resulting Numbers: [36, 21]
Generated Node #0,1,1: 93:[36, 21] Operation: 5+16=21
Exploring Operation: 36-16=20, Resulting Numbers: [5, 20]
Generated Node #0,1,2: 93:[5, 20] Operation: 36-16=20
Exploring Operation: 16-5=11, Resulting Numbers: [36, 11]
Generated Node #0,1,3: 93:[36, 11] Operation: 16-5=11
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 93:[16, 31], Operations: ['54-18=36', '36-5=31']
Exploring Operation: 31-16=15, Resulting Numbers: [15]
15,93 unequal: No Solution
Exploring Operation: 16+31=47, Resulting Numbers: [47]
47,93 unequal: No Solution
Exploring Operation: 16*31=496, Resulting Numbers: [496]
496,93 unequal: No Solution
No 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: 93:[5, 20], Operations: ['54-18=36', '36-16=20']
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,93 unequal: No Solution
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,93 unequal: No Solution
Exploring Operation: 5*20=100, Resulting Numbers: [100]
100,93 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,93 unequal: No Solution
No 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: 93:[36, 11], Operations: ['54-18=36', '16-5=11']
Exploring Operation: 36+11=47, Resulting Numbers: [47]
47,93 unequal: No Solution
Exploring Operation: 36*11=396, Resulting Numbers: [396]
396,93 unequal: No Solution
Exploring Operation: 36-11=25, Resulting Numbers: [25]
25,93 unequal: No Solution
No 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: 93:[36, 21], Operations: ['54-18=36', '5+16=21']
Exploring Operation: 36+21=57, Resulting Numbers: [57]
57,93 unequal: No Solution
Exploring Operation: 36-21=15, Resulting Numbers: [15]
15,93 unequal: No Solution
Exploring Operation: 36*21=756, Resulting Numbers: [756]
756,93 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: 93:[5, 18, 38], Operations: ['54-16=38']
Exploring Operation: 38-18=20, Resulting Numbers: [5, 20]
Generated Node #0,2,0: 93:[5, 20] Operation: 38-18=20
Exploring Operation: 5*18=90, Resulting Numbers: [38, 90]
Generated Node #0,2,1: 93:[38, 90] Operation: 5*18=90
Exploring Operation: 38-5=33, Resulting Numbers: [18, 33]
Generated Node #0,2,2: 93:[18, 33] Operation: 38-5=33
Exploring Operation: 5+18=23, Resulting Numbers: [38, 23]
Generated Node #0,2,3: 93:[38, 23] Operation: 5+18=23
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 93:[38, 90], Operations: ['54-16=38', '5*18=90']
Exploring Operation: 38*90=3420, Resulting Numbers: [3420]
3420,93 unequal: No Solution
Exploring Operation: 38+90=128, Resulting Numbers: [128]
128,93 unequal: No Solution
Exploring Operation: 90-38=52, Resulting Numbers: [52]
52,93 unequal: No Solution
No 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: 93:[5, 20], Operations: ['54-16=38', '38-18=20']
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,93 unequal: No Solution
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,93 unequal: No Solution
Exploring Operation: 5*20=100, Resulting Numbers: [100]
100,93 unequal: No Solution
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,93 unequal: No Solution
No 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: 93:[18, 33], Operations: ['54-16=38', '38-5=33']
Exploring Operation: 18+33=51, Resulting Numbers: [51]
51,93 unequal: No Solution
Exploring Operation: 33-18=15, Resulting Numbers: [15]
15,93 unequal: No Solution
Exploring Operation: 18*33=594, Resulting Numbers: [594]
594,93 unequal: No Solution
No 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: 93:[38, 23], Operations: ['54-16=38', '5+18=23']
Exploring Operation: 38-23=15, Resulting Numbers: [15]
15,93 unequal: No Solution
Exploring Operation: 38*23=874, Resulting Numbers: [874]
874,93 unequal: No Solution
Exploring Operation: 38+23=61, Resulting Numbers: [61]
61,93 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: 93:[5, 54, 2], Operations: ['18-16=2']
Exploring Operation: 54/2=27, Resulting Numbers: [5, 27]
Generated Node #0,0,0: 93:[5, 27] Operation: 54/2=27
Exploring Operation: 5-2=3, Resulting Numbers: [54, 3]
Generated Node #0,0,1: 93:[54, 3] Operation: 5-2=3
Exploring Operation: 54-5=49, Resulting Numbers: [2, 49]
Generated Node #0,0,2: 93:[2, 49] Operation: 54-5=49
Exploring Operation: 54*2=108, Resulting Numbers: [5, 108]
Generated Node #0,0,3: 93:[5, 108] Operation: 54*2=108
Moving to Node #0,0,0
Current State: 93:[5, 27], Operations: ['18-16=2', '54/2=27']
Exploring Operation: 5+27=32, Resulting Numbers: [32]
32,93 unequal: No Solution
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,93 unequal: No Solution
Exploring Operation: 5*27=135, Resulting Numbers: [135]
135,93 unequal: No Solution
Moving to Node #0,3,0
Current State: 93:[3, 11], Operations: ['54/18=3', '16-5=11']
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,93 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,93 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,93 unequal: No Solution
Moving to Node #0,3,1
Current State: 93:[3, 21], Operations: ['54/18=3', '5+16=21']
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,93 unequal: No Solution
Exploring Operation: 3+21=24, Resulting Numbers: [24]
24,93 unequal: No Solution
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,93 unequal: No Solution
Exploring Operation: 3*21=63, Resulting Numbers: [63]
63,93 unequal: No Solution
Moving to Node #0,3,2
Current State: 93:[5, 13], Operations: ['54/18=3', '16-3=13']
Exploring Operation: 5+13=18, Resulting Numbers: [18]
18,93 unequal: No Solution
Exploring Operation: 5*13=65, Resulting Numbers: [65]
65,93 unequal: No Solution
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,93 unequal: No Solution
Moving to Node #0,3,3
Current State: 93:[3, 80], Operations: ['54/18=3', '5*16=80']
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,93 unequal: No Solution
Exploring Operation: 3*80=240, Resulting Numbers: [240]
240,93 unequal: No Solution
Exploring Operation: 3+80=83, Resulting Numbers: [83]
83,93 unequal: No Solution
Moving to Node #0,0,3
Current State: 93:[5, 108], Operations: ['18-16=2', '54*2=108']
Exploring Operation: 108-5=103, Resulting Numbers: [103]
103,93 unequal: No Solution
Exploring Operation: 5*108=540, Resulting Numbers: [540]
540,93 unequal: No Solution
Exploring Operation: 5+108=113, Resulting Numbers: [113]
113,93 unequal: No Solution
Moving to Node #0,0,2
Current State: 93:[2, 49], Operations: ['18-16=2', '54-5=49']
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,93 unequal: No Solution
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,93 unequal: No Solution
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,93 unequal: No Solution
Moving to Node #0,0,1
Current State: 93:[54, 3], Operations: ['18-16=2', '5-2=3']
Exploring Operation: 54+3=57, Resulting Numbers: [57]
57,93 unequal: No Solution
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,93 unequal: No Solution
Exploring Operation: 54*3=162, Resulting Numbers: [162]
162,93 unequal: No Solution
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,93 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
45,
2,
33,
3
] | 96 | [
"45-2=43",
"3*43=129",
"129-33=96"
] | Current State: 96:[45, 2, 33, 3], Operations: []
Exploring Operation: 45-2=43, Resulting Numbers: [33, 3, 43]
Generated Node #2: [33, 3, 43] from Operation: 45-2=43
Current State: 96:[33, 3, 43], Operations: ['45-2=43']
Exploring Operation: 3*43=129, Resulting Numbers: [33, 129]
Generated Node #3: [33, 129] from Operation: 3*43=129
Current State: 96:[33, 129], Operations: ['45-2=43', '3*43=129']
Exploring Operation: 129-33=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[45, 2, 33, 3], Operations: []
Exploring Operation: 45+3=48, Resulting Numbers: [2, 33, 48]
Generated Node #0,0: 96:[2, 33, 48] Operation: 45+3=48
Exploring Operation: 45+2=47, Resulting Numbers: [33, 3, 47]
Generated Node #0,1: 96:[33, 3, 47] Operation: 45+2=47
Exploring Operation: 45-33=12, Resulting Numbers: [2, 3, 12]
Generated Node #0,2: 96:[2, 3, 12] Operation: 45-33=12
Exploring Operation: 33-2=31, Resulting Numbers: [45, 3, 31]
Generated Node #0,3: 96:[45, 3, 31] Operation: 33-2=31
Exploring Operation: 45/3=15, Resulting Numbers: [2, 33, 15]
Generated Node #0,4: 96:[2, 33, 15] Operation: 45/3=15
Moving to Node #0,2
Current State: 96:[2, 3, 12], Operations: ['45-33=12']
Exploring Operation: 2*12=24, Resulting Numbers: [3, 24]
Generated Node #0,2,0: 96:[3, 24] Operation: 2*12=24
Exploring Operation: 2+3=5, Resulting Numbers: [12, 5]
Generated Node #0,2,1: 96:[12, 5] Operation: 2+3=5
Exploring Operation: 12/3=4, Resulting Numbers: [2, 4]
Generated Node #0,2,2: 96:[2, 4] Operation: 12/3=4
Exploring Operation: 12/2=6, Resulting Numbers: [3, 6]
Generated Node #0,2,3: 96:[3, 6] Operation: 12/2=6
Exploring Operation: 2*3=6, Resulting Numbers: [12, 6]
Generated Node #0,2,4: 96:[12, 6] Operation: 2*3=6
Moving to Node #0,0
Current State: 96:[2, 33, 48], Operations: ['45+3=48']
Exploring Operation: 33-2=31, Resulting Numbers: [48, 31]
Generated Node #0,0,0: 96:[48, 31] Operation: 33-2=31
Exploring Operation: 48/2=24, Resulting Numbers: [33, 24]
Generated Node #0,0,1: 96:[33, 24] Operation: 48/2=24
Exploring Operation: 2+33=35, Resulting Numbers: [48, 35]
Generated Node #0,0,2: 96:[48, 35] Operation: 2+33=35
Exploring Operation: 48-33=15, Resulting Numbers: [2, 15]
Generated Node #0,0,3: 96:[2, 15] Operation: 48-33=15
Exploring Operation: 2*48=96, Resulting Numbers: [33, 96]
Generated Node #0,0,4: 96:[33, 96] Operation: 2*48=96
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 96:[48, 31], Operations: ['45+3=48', '33-2=31']
Exploring Operation: 48*31=1488, Resulting Numbers: [1488]
1488,96 unequal: No Solution
Exploring Operation: 48+31=79, Resulting Numbers: [79]
79,96 unequal: No Solution
Exploring Operation: 48-31=17, Resulting Numbers: [17]
17,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:[33, 24], Operations: ['45+3=48', '48/2=24']
Exploring Operation: 33-24=9, Resulting Numbers: [9]
9,96 unequal: No Solution
Exploring Operation: 33*24=792, Resulting Numbers: [792]
792,96 unequal: No Solution
Exploring Operation: 33+24=57, Resulting Numbers: [57]
57,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,3
Current State: 96:[2, 15], Operations: ['45+3=48', '48-33=15']
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,96 unequal: No Solution
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,96 unequal: No Solution
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,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,4
Current State: 96:[33, 96], Operations: ['45+3=48', '2*48=96']
Exploring Operation: 33+96=129, Resulting Numbers: [129]
129,96 unequal: No Solution
Exploring Operation: 33*96=3168, Resulting Numbers: [3168]
3168,96 unequal: No Solution
Exploring Operation: 96-33=63, Resulting Numbers: [63]
63,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,2
Current State: 96:[48, 35], Operations: ['45+3=48', '2+33=35']
Exploring Operation: 48-35=13, Resulting Numbers: [13]
13,96 unequal: No Solution
Exploring Operation: 48*35=1680, Resulting Numbers: [1680]
1680,96 unequal: No Solution
Exploring Operation: 48+35=83, Resulting Numbers: [83]
83,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:[33, 3, 47], Operations: ['45+2=47']
Exploring Operation: 47-33=14, Resulting Numbers: [3, 14]
Generated Node #0,1,0: 96:[3, 14] Operation: 47-33=14
Exploring Operation: 33/3=11, Resulting Numbers: [47, 11]
Generated Node #0,1,1: 96:[47, 11] Operation: 33/3=11
Exploring Operation: 33-3=30, Resulting Numbers: [47, 30]
Generated Node #0,1,2: 96:[47, 30] Operation: 33-3=30
Exploring Operation: 3+47=50, Resulting Numbers: [33, 50]
Generated Node #0,1,3: 96:[33, 50] Operation: 3+47=50
Exploring Operation: 33*3=99, Resulting Numbers: [47, 99]
Generated Node #0,1,4: 96:[47, 99] Operation: 33*3=99
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 96:[3, 14], Operations: ['45+2=47', '47-33=14']
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,96 unequal: No Solution
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,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:[47, 11], Operations: ['45+2=47', '33/3=11']
Exploring Operation: 47-11=36, Resulting Numbers: [36]
36,96 unequal: No Solution
Exploring Operation: 47+11=58, Resulting Numbers: [58]
58,96 unequal: No Solution
Exploring Operation: 47*11=517, Resulting Numbers: [517]
517,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,2
Current State: 96:[47, 30], Operations: ['45+2=47', '33-3=30']
Exploring Operation: 47+30=77, Resulting Numbers: [77]
77,96 unequal: No Solution
Exploring Operation: 47-30=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 47*30=1410, Resulting Numbers: [1410]
1410,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,3
Current State: 96:[33, 50], Operations: ['45+2=47', '3+47=50']
Exploring Operation: 50-33=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 33+50=83, Resulting Numbers: [83]
83,96 unequal: No Solution
Exploring Operation: 33*50=1650, Resulting Numbers: [1650]
1650,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,4
Current State: 96:[47, 99], Operations: ['45+2=47', '33*3=99']
Exploring Operation: 47+99=146, Resulting Numbers: [146]
146,96 unequal: No Solution
Exploring Operation: 47*99=4653, Resulting Numbers: [4653]
4653,96 unequal: No Solution
Exploring Operation: 99-47=52, Resulting Numbers: [52]
52,96 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: 96:[2, 33, 15], Operations: ['45/3=15']
Exploring Operation: 15-2=13, Resulting Numbers: [33, 13]
Generated Node #0,4,0: 96:[33, 13] Operation: 15-2=13
Exploring Operation: 33-2=31, Resulting Numbers: [15, 31]
Generated Node #0,4,1: 96:[15, 31] Operation: 33-2=31
Exploring Operation: 33-15=18, Resulting Numbers: [2, 18]
Generated Node #0,4,2: 96:[2, 18] Operation: 33-15=18
Exploring Operation: 33+15=48, Resulting Numbers: [2, 48]
Generated Node #0,4,3: 96:[2, 48] Operation: 33+15=48
Exploring Operation: 2+15=17, Resulting Numbers: [33, 17]
Generated Node #0,4,4: 96:[33, 17] Operation: 2+15=17
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 96:[2, 48], Operations: ['45/3=15', '33+15=48']
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,96 unequal: No Solution
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[45, 2, 33, 3], Operations: []
Exploring Operation: 45/3=15, Resulting Numbers: [2, 33, 15]
Generated Node #0,4: 96:[2, 33, 15] Operation: 45/3=15
Moving to Node #0,4
Current State: 96:[2, 33, 15], Operations: ['45/3=15']
Exploring Operation: 33+15=48, Resulting Numbers: [2, 48]
Generated Node #0,4,3: 96:[2, 48] Operation: 33+15=48
Moving to Node #0,4,3
Current State: 96:[2, 48], Operations: ['45/3=15', '33+15=48']
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.947049 | hs_5 | sum_heuristic |
[
49,
58,
70,
20
] | 35 | [
"49-20=29",
"58/29=2",
"70/2=35"
] | Current State: 35:[49, 58, 70, 20], Operations: []
Exploring Operation: 49-20=29, Resulting Numbers: [58, 70, 29]
Generated Node #2: [58, 70, 29] from Operation: 49-20=29
Current State: 35:[58, 70, 29], Operations: ['49-20=29']
Exploring Operation: 58/29=2, Resulting Numbers: [70, 2]
Generated Node #3: [70, 2] from Operation: 58/29=2
Current State: 35:[70, 2], Operations: ['49-20=29', '58/29=2']
Exploring Operation: 70/2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[49, 58, 70, 20], Operations: []
Exploring Operation: 70-20=50, Resulting Numbers: [49, 58, 50]
Generated Node #0,0: 35:[49, 58, 50] Operation: 70-20=50
Exploring Operation: 58-20=38, Resulting Numbers: [49, 70, 38]
Generated Node #0,1: 35:[49, 70, 38] Operation: 58-20=38
Exploring Operation: 58-49=9, Resulting Numbers: [70, 20, 9]
Generated Node #0,2: 35:[70, 20, 9] Operation: 58-49=9
Exploring Operation: 70-49=21, Resulting Numbers: [58, 20, 21]
Generated Node #0,3: 35:[58, 20, 21] Operation: 70-49=21
Exploring Operation: 70-58=12, Resulting Numbers: [49, 20, 12]
Generated Node #0,4: 35:[49, 20, 12] Operation: 70-58=12
Start Sub Search at level 1: Moving to Node #0,4
Current State: 35:[49, 20, 12], Operations: ['70-58=12']
Exploring Operation: 20-12=8, Resulting Numbers: [49, 8]
Generated Node #0,4,0: 35:[49, 8] Operation: 20-12=8
Exploring Operation: 20+12=32, Resulting Numbers: [49, 32]
Generated Node #0,4,1: 35:[49, 32] Operation: 20+12=32
Exploring Operation: 49-12=37, Resulting Numbers: [20, 37]
Generated Node #0,4,2: 35:[20, 37] Operation: 49-12=37
Exploring Operation: 49-20=29, Resulting Numbers: [12, 29]
Generated Node #0,4,3: 35:[12, 29] Operation: 49-20=29
Exploring Operation: 49+20=69, Resulting Numbers: [12, 69]
Generated Node #0,4,4: 35:[12, 69] Operation: 49+20=69
Moving to Node #0,4,3
Current State: 35:[12, 29], Operations: ['70-58=12', '49-20=29']
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,35 unequal: No Solution
Exploring Operation: 12+29=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Exploring Operation: 12*29=348, Resulting Numbers: [348]
348,35 unequal: No Solution
Moving to Node #0,4,2
Current State: 35:[20, 37], Operations: ['70-58=12', '49-12=37']
Exploring Operation: 20+37=57, Resulting Numbers: [57]
57,35 unequal: No Solution
Exploring Operation: 20*37=740, Resulting Numbers: [740]
740,35 unequal: No Solution
Exploring Operation: 37-20=17, Resulting Numbers: [17]
17,35 unequal: No Solution
Moving to Node #0,4,0
Current State: 35:[49, 8], Operations: ['70-58=12', '20-12=8']
Exploring Operation: 49+8=57, Resulting Numbers: [57]
57,35 unequal: No Solution
Exploring Operation: 49*8=392, Resulting Numbers: [392]
392,35 unequal: No Solution
Exploring Operation: 49-8=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Moving to Node #0,4,1
Current State: 35:[49, 32], Operations: ['70-58=12', '20+12=32']
Exploring Operation: 49-32=17, Resulting Numbers: [17]
17,35 unequal: No Solution
Exploring Operation: 49+32=81, Resulting Numbers: [81]
81,35 unequal: No Solution
Exploring Operation: 49*32=1568, Resulting Numbers: [1568]
1568,35 unequal: No Solution
Moving to Node #0,4,4
Current State: 35:[12, 69], Operations: ['70-58=12', '49+20=69']
Exploring Operation: 12*69=828, Resulting Numbers: [828]
828,35 unequal: No Solution
Exploring Operation: 12+69=81, Resulting Numbers: [81]
81,35 unequal: No Solution
Exploring Operation: 69-12=57, Resulting Numbers: [57]
57,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
Current State: 35:[70, 20, 9], Operations: ['58-49=9']
Exploring Operation: 70-9=61, Resulting Numbers: [20, 61]
Generated Node #0,2,0: 35:[20, 61] Operation: 70-9=61
Exploring Operation: 70-20=50, Resulting Numbers: [9, 50]
Generated Node #0,2,1: 35:[9, 50] Operation: 70-20=50
Exploring Operation: 20-9=11, Resulting Numbers: [70, 11]
Generated Node #0,2,2: 35:[70, 11] Operation: 20-9=11
Exploring Operation: 70+20=90, Resulting Numbers: [9, 90]
Generated Node #0,2,3: 35:[9, 90] Operation: 70+20=90
Exploring Operation: 20+9=29, Resulting Numbers: [70, 29]
Generated Node #0,2,4: 35:[70, 29] Operation: 20+9=29
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 35:[9, 50], Operations: ['58-49=9', '70-20=50']
Exploring Operation: 50-9=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Exploring Operation: 9+50=59, Resulting Numbers: [59]
59,35 unequal: No Solution
Exploring Operation: 9*50=450, Resulting Numbers: [450]
450,35 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: 35:[20, 61], Operations: ['58-49=9', '70-9=61']
Exploring Operation: 20*61=1220, Resulting Numbers: [1220]
1220,35 unequal: No Solution
Exploring Operation: 61-20=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Exploring Operation: 20+61=81, Resulting Numbers: [81]
81,35 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: 35:[70, 11], Operations: ['58-49=9', '20-9=11']
Exploring Operation: 70-11=59, Resulting Numbers: [59]
59,35 unequal: No Solution
Exploring Operation: 70*11=770, Resulting Numbers: [770]
770,35 unequal: No Solution
Exploring Operation: 70+11=81, Resulting Numbers: [81]
81,35 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,4
Current State: 35:[70, 29], Operations: ['58-49=9', '20+9=29']
Exploring Operation: 70*29=2030, Resulting Numbers: [2030]
2030,35 unequal: No Solution
Exploring Operation: 70-29=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Exploring Operation: 70+29=99, Resulting Numbers: [99]
99,35 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: 35:[9, 90], Operations: ['58-49=9', '70+20=90']
Exploring Operation: 9*90=810, Resulting Numbers: [810]
810,35 unequal: No Solution
Exploring Operation: 90-9=81, Resulting Numbers: [81]
81,35 unequal: No Solution
Exploring Operation: 9+90=99, Resulting Numbers: [99]
99,35 unequal: No Solution
Exploring Operation: 90/9=10, Resulting Numbers: [10]
10,35 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: 35:[58, 20, 21], Operations: ['70-49=21']
Exploring Operation: 20+21=41, Resulting Numbers: [58, 41]
Generated Node #0,3,0: 35:[58, 41] Operation: 20+21=41
Exploring Operation: 58+20=78, Resulting Numbers: [21, 78]
Generated Node #0,3,1: 35:[21, 78] Operation: 58+20=78
Exploring Operation: 21-20=1, Resulting Numbers: [58, 1]
Generated Node #0,3,2: 35:[58, 1] Operation: 21-20=1
Exploring Operation: 58-21=37, Resulting Numbers: [20, 37]
Generated Node #0,3,3: 35:[20, 37] Operation: 58-21=37
Exploring Operation: 58-20=38, Resulting Numbers: [21, 38]
Generated Node #0,3,4: 35:[21, 38] Operation: 58-20=38
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 35:[20, 37], Operations: ['70-49=21', '58-21=37']
Exploring Operation: 20+37=57, Resulting Numbers: [57]
57,35 unequal: No Solution
Exploring Operation: 37-20=17, Resulting Numbers: [17]
17,35 unequal: No Solution
Exploring Operation: 20*37=740, Resulting Numbers: [740]
740,35 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,4
Current State: 35:[21, 38], Operations: ['70-49=21', '58-20=38']
Exploring Operation: 21+38=59, Resulting Numbers: [59]
59,35 unequal: No Solution
Exploring Operation: 21*38=798, Resulting Numbers: [798]
798,35 unequal: No Solution
Exploring Operation: 38-21=17, Resulting Numbers: [17]
17,35 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: 35:[58, 1], Operations: ['70-49=21', '21-20=1']
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,35 unequal: No Solution
Exploring Operation: 58/1=58, Resulting Numbers: [58]
58,35 unequal: No Solution
Exploring Operation: 58*1=58, Resulting Numbers: [58]
58,35 unequal: No Solution
Exploring Operation: 58+1=59, Resulting Numbers: [59]
59,35 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: 35:[58, 41], Operations: ['70-49=21', '20+21=41']
Exploring Operation: 58+41=99, Resulting Numbers: [99]
99,35 unequal: No Solution
Exploring Operation: 58-41=17, Resulting Numbers: [17]
17,35 unequal: No Solution
Exploring Operation: 58*41=2378, Resulting Numbers: [2378]
2378,35 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: 35:[21, 78], Operations: ['70-49=21', '58+20=78']
Exploring Operation: 78-21=57, Resulting Numbers: [57]
57,35 unequal: No Solution
Exploring Operation: 21*78=1638, Resulting Numbers: [1638]
1638,35 unequal: No Solution
Exploring Operation: 21+78=99, Resulting Numbers: [99]
99,35 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: 35:[49, 58, 50], Operations: ['70-20=50']
Exploring Operation: 58-50=8, Resulting Numbers: [49, 8]
Generated Node #0,0,0: 35:[49, 8] Operation: 58-50=8
Exploring Operation: 50-49=1, Resulting Numbers: [58, 1]
Generated Node #0,0,1: 35:[58, 1] Operation: 50-49=1
Exploring Operation: 58-49=9, Resulting Numbers: [50, 9]
Generated Node #0,0,2: 35:[50, 9] Operation: 58-49=9
Exploring Operation: 49+50=99, Resulting Numbers: [58, 99]
Generated Node #0,0,3: 35:[58, 99] Operation: 49+50=99
Exploring Operation: 49+58=107, Resulting Numbers: [50, 107]
Generated Node #0,0,4: 35:[50, 107] Operation: 49+58=107
Moving to Node #0,0,0
Current State: 35:[49, 8], Operations: ['70-20=50', '58-50=8']
Exploring Operation: 49*8=392, Resulting Numbers: [392]
392,35 unequal: No Solution
Exploring Operation: 49+8=57, Resulting Numbers: [57]
57,35 unequal: No Solution
Exploring Operation: 49-8=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Moving to Node #0,0,2
Current State: 35:[50, 9], Operations: ['70-20=50', '58-49=9']
Exploring Operation: 50*9=450, Resulting Numbers: [450]
450,35 unequal: No Solution
Exploring Operation: 50-9=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Exploring Operation: 50+9=59, Resulting Numbers: [59]
59,35 unequal: No Solution
Moving to Node #0,0,1
Current State: 35:[58, 1], Operations: ['70-20=50', '50-49=1']
Exploring Operation: 58/1=58, Resulting Numbers: [58]
58,35 unequal: No Solution
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,35 unequal: No Solution
Exploring Operation: 58+1=59, Resulting Numbers: [59]
59,35 unequal: No Solution
Exploring Operation: 58*1=58, Resulting Numbers: [58]
58,35 unequal: No Solution
Moving to Node #0,0,3
Current State: 35:[58, 99], Operations: ['70-20=50', '49+50=99']
Exploring Operation: 99-58=41, Resulting Numbers: [41]
41,35 unequal: No Solution
Exploring Operation: 58+99=157, Resulting Numbers: [157]
157,35 unequal: No Solution
Exploring Operation: 58*99=5742, Resulting Numbers: [5742]
5742,35 unequal: No Solution
Moving to Node #0,0,4
Current State: 35:[50, 107], Operations: ['70-20=50', '49+58=107']
Exploring Operation: 50+107=157, Resulting Numbers: [157]
157,35 unequal: No Solution
Exploring Operation: 50*107=5350, Resulting Numbers: [5350]
5350,35 unequal: No Solution
Exploring Operation: 107-50=57, Resulting Numbers: [57]
57,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,1
Current State: 35:[49, 70, 38], Operations: ['58-20=38']
Exploring Operation: 49+38=87, Resulting Numbers: [70, 87]
Generated Node #0,1,0: 35:[70, 87] Operation: 49+38=87
Exploring Operation: 49+70=119, Resulting Numbers: [38, 119]
Generated Node #0,1,1: 35:[38, 119] Operation: 49+70=119
Exploring Operation: 70-38=32, Resulting Numbers: [49, 32]
Generated Node #0,1,2: 35:[49, 32] Operation: 70-38=32
Exploring Operation: 70-49=21, Resulting Numbers: [38, 21]
Generated Node #0,1,3: 35:[38, 21] Operation: 70-49=21
Exploring Operation: 49-38=11, Resulting Numbers: [70, 11]
Generated Node #0,1,4: 35:[70, 11] Operation: 49-38=11
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 35:[49, 32], Operations: ['58-20=38', '70-38=32']
Exploring Operation: 49+32=81, Resulting Numbers: [81]
81,35 unequal: No Solution
Exploring Operation: 49-32=17, Resulting Numbers: [17]
17,35 unequal: No Solution
Exploring Operation: 49*32=1568, Resulting Numbers: [1568]
1568,35 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: 35:[38, 21], Operations: ['58-20=38', '70-49=21']
Exploring Operation: 38+21=59, Resulting Numbers: [59]
59,35 unequal: No Solution
Exploring Operation: 38-21=17, Resulting Numbers: [17]
17,35 unequal: No Solution
Exploring Operation: 38*21=798, Resulting Numbers: [798]
798,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 35:[70, 11], Operations: ['58-20=38', '49-38=11']
Exploring Operation: 70+11=81, Resulting Numbers: [81]
81,35 unequal: No Solution
Exploring Operation: 70*11=770, Resulting Numbers: [770]
770,35 unequal: No Solution
Exploring Operation: 70-11=59, Resulting Numbers: [59]
59,35 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: 35:[70, 87], Operations: ['58-20=38', '49+38=87']
Exploring Operation: 87-70=17, Resulting Numbers: [17]
17,35 unequal: No Solution
Exploring Operation: 70+87=157, Resulting Numbers: [157]
157,35 unequal: No Solution
Exploring Operation: 70*87=6090, Resulting Numbers: [6090]
6090,35 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: 35:[38, 119], Operations: ['58-20=38', '49+70=119']
Exploring Operation: 119-38=81, Resulting Numbers: [81]
81,35 unequal: No Solution
Exploring Operation: 38*119=4522, Resulting Numbers: [4522]
4522,35 unequal: No Solution
Exploring Operation: 38+119=157, Resulting Numbers: [157]
157,35 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
7,
54,
15,
16
] | 46 | [
"54-7=47",
"16-15=1",
"47-1=46"
] | Current State: 46:[7, 54, 15, 16], Operations: []
Exploring Operation: 54-7=47, Resulting Numbers: [15, 16, 47]
Generated Node #2: [15, 16, 47] from Operation: 54-7=47
Current State: 46:[15, 16, 47], Operations: ['54-7=47']
Exploring Operation: 16-15=1, Resulting Numbers: [47, 1]
Generated Node #3: [47, 1] from Operation: 16-15=1
Current State: 46:[47, 1], Operations: ['54-7=47', '16-15=1']
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[7, 54, 15, 16], Operations: []
Exploring Operation: 7+15=22, Resulting Numbers: [54, 16, 22]
Generated Node #0,0: 46:[54, 16, 22] Operation: 7+15=22
Exploring Operation: 16-15=1, Resulting Numbers: [7, 54, 1]
Generated Node #0,1: 46:[7, 54, 1] Operation: 16-15=1
Exploring Operation: 7+16=23, Resulting Numbers: [54, 15, 23]
Generated Node #0,2: 46:[54, 15, 23] Operation: 7+16=23
Exploring Operation: 54-7=47, Resulting Numbers: [15, 16, 47]
Generated Node #0,3: 46:[15, 16, 47] Operation: 54-7=47
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[7, 54, 1], Operations: ['16-15=1']
Exploring Operation: 7*1=7, Resulting Numbers: [54, 7]
Generated Node #0,1,0: 46:[54, 7] Operation: 7*1=7
Exploring Operation: 54-7=47, Resulting Numbers: [1, 47]
Generated Node #0,1,1: 46:[1, 47] Operation: 54-7=47
Exploring Operation: 54-1=53, Resulting Numbers: [7, 53]
Generated Node #0,1,2: 46:[7, 53] Operation: 54-1=53
Exploring Operation: 7-1=6, Resulting Numbers: [54, 6]
Generated Node #0,1,3: 46:[54, 6] Operation: 7-1=6
Moving to Node #0,1,1
Current State: 46:[1, 47], Operations: ['16-15=1', '54-7=47']
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[7, 54, 15, 16], Operations: []
Exploring Operation: 16-15=1, Resulting Numbers: [7, 54, 1]
Generated Node #0,1: 46:[7, 54, 1] Operation: 16-15=1
Moving to Node #0,1
Current State: 46:[7, 54, 1], Operations: ['16-15=1']
Exploring Operation: 54-7=47, Resulting Numbers: [1, 47]
Generated Node #0,1,1: 46:[1, 47] Operation: 54-7=47
Moving to Node #0,1,1
Current State: 46:[1, 47], Operations: ['16-15=1', '54-7=47']
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
2,
55,
60,
7
] | 58 | [
"2*60=120",
"55+7=62",
"120-62=58"
] | Current State: 58:[2, 55, 60, 7], Operations: []
Exploring Operation: 2*60=120, Resulting Numbers: [55, 7, 120]
Generated Node #2: [55, 7, 120] from Operation: 2*60=120
Current State: 58:[55, 7, 120], Operations: ['2*60=120']
Exploring Operation: 55+7=62, Resulting Numbers: [120, 62]
Generated Node #3: [120, 62] from Operation: 55+7=62
Current State: 58:[120, 62], Operations: ['2*60=120', '55+7=62']
Exploring Operation: 120-62=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[2, 55, 60, 7], Operations: []
Exploring Operation: 55+7=62, Resulting Numbers: [2, 60, 62]
Generated Node #0,0: 58:[2, 60, 62] Operation: 55+7=62
Moving to Node #0,0
Current State: 58:[2, 60, 62], Operations: ['55+7=62']
Exploring Operation: 62-60=2, Resulting Numbers: [2, 2]
Generated Node #0,0,0: 58:[2, 2] Operation: 62-60=2
Moving to Node #0,0,0
Current State: 58:[2, 2], Operations: ['55+7=62', '62-60=2']
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,58 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
76,
57,
17,
73
] | 77 | [
"76+57=133",
"73-17=56",
"133-56=77"
] | Current State: 77:[76, 57, 17, 73], Operations: []
Exploring Operation: 76+57=133, Resulting Numbers: [17, 73, 133]
Generated Node #2: [17, 73, 133] from Operation: 76+57=133
Current State: 77:[17, 73, 133], Operations: ['76+57=133']
Exploring Operation: 73-17=56, Resulting Numbers: [133, 56]
Generated Node #3: [133, 56] from Operation: 73-17=56
Current State: 77:[133, 56], Operations: ['76+57=133', '73-17=56']
Exploring Operation: 133-56=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[76, 57, 17, 73], Operations: []
Exploring Operation: 57+17=74, Resulting Numbers: [76, 73, 74]
Generated Node #0,0: 77:[76, 73, 74] Operation: 57+17=74
Exploring Operation: 73-57=16, Resulting Numbers: [76, 17, 16]
Generated Node #0,1: 77:[76, 17, 16] Operation: 73-57=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[76, 73, 74], Operations: ['57+17=74']
Exploring Operation: 76-73=3, Resulting Numbers: [74, 3]
Generated Node #0,0,0: 77:[74, 3] Operation: 76-73=3
Exploring Operation: 74-73=1, Resulting Numbers: [76, 1]
Generated Node #0,0,1: 77:[76, 1] Operation: 74-73=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 77:[74, 3], Operations: ['57+17=74', '76-73=3']
Exploring Operation: 74+3=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[76, 57, 17, 73], Operations: []
Exploring Operation: 57+17=74, Resulting Numbers: [76, 73, 74]
Generated Node #0,0: 77:[76, 73, 74] Operation: 57+17=74
Moving to Node #0,0
Current State: 77:[76, 73, 74], Operations: ['57+17=74']
Exploring Operation: 76-73=3, Resulting Numbers: [74, 3]
Generated Node #0,0,0: 77:[74, 3] Operation: 76-73=3
Moving to Node #0,0,0
Current State: 77:[74, 3], Operations: ['57+17=74', '76-73=3']
Exploring Operation: 74+3=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
67,
82,
6,
76
] | 14 | [
"82-67=15",
"6*15=90",
"90-76=14"
] | Current State: 14:[67, 82, 6, 76], Operations: []
Exploring Operation: 82-67=15, Resulting Numbers: [6, 76, 15]
Generated Node #2: [6, 76, 15] from Operation: 82-67=15
Current State: 14:[6, 76, 15], Operations: ['82-67=15']
Exploring Operation: 6*15=90, Resulting Numbers: [76, 90]
Generated Node #3: [76, 90] from Operation: 6*15=90
Current State: 14:[76, 90], Operations: ['82-67=15', '6*15=90']
Exploring Operation: 90-76=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[67, 82, 6, 76], Operations: []
Exploring Operation: 82-76=6, Resulting Numbers: [67, 6, 6]
Generated Node #0,0: 14:[67, 6, 6] Operation: 82-76=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[67, 6, 6], Operations: ['82-76=6']
Exploring Operation: 67-6=61, Resulting Numbers: [6, 61]
Generated Node #0,0,0: 14:[6, 61] Operation: 67-6=61
Moving to Node #0,0,0
Current State: 14:[6, 61], Operations: ['82-76=6', '67-6=61']
Exploring Operation: 61-6=55, Resulting Numbers: [55]
55,14 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 |
[
2,
54,
36,
2
] | 71 | [
"36-2=34",
"34/2=17",
"54+17=71"
] | Current State: 71:[2, 54, 36, 2], Operations: []
Exploring Operation: 36-2=34, Resulting Numbers: [54, 34]
Generated Node #2: [54, 34] from Operation: 36-2=34
Current State: 71:[54, 34], Operations: ['36-2=34']
Exploring Operation: 34/2=17, Resulting Numbers: [54, 17]
Generated Node #3: [54, 17] from Operation: 34/2=17
Current State: 71:[54, 17], Operations: ['36-2=34', '34/2=17']
Exploring Operation: 54+17=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[2, 54, 36, 2], Operations: []
Exploring Operation: 36*2=72, Resulting Numbers: [2, 54, 72]
Generated Node #0,0: 71:[2, 54, 72] Operation: 36*2=72
Exploring Operation: 2*36=72, Resulting Numbers: [54, 2, 72]
Generated Node #0,1: 71:[54, 2, 72] Operation: 2*36=72
Moving to Node #0,0
Current State: 71:[2, 54, 72], Operations: ['36*2=72']
Exploring Operation: 72-2=70, Resulting Numbers: [54, 70]
Generated Node #0,0,0: 71:[54, 70] Operation: 72-2=70
Exploring Operation: 2+54=56, Resulting Numbers: [72, 56]
Generated Node #0,0,1: 71:[72, 56] Operation: 2+54=56
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 71:[72, 56], Operations: ['36*2=72', '2+54=56']
Exploring Operation: 72+56=128, Resulting Numbers: [128]
128,71 unequal: No Solution
Exploring Operation: 72-56=16, Resulting Numbers: [16]
16,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,0,0
Current State: 71:[54, 70], Operations: ['36*2=72', '72-2=70']
Exploring Operation: 70-54=16, Resulting Numbers: [16]
16,71 unequal: No Solution
Exploring Operation: 54+70=124, Resulting Numbers: [124]
124,71 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: 71:[54, 2, 72], Operations: ['2*36=72']
Exploring Operation: 54+2=56, Resulting Numbers: [72, 56]
Generated Node #0,1,0: 71:[72, 56] Operation: 54+2=56
Exploring Operation: 72-2=70, Resulting Numbers: [54, 70]
Generated Node #0,1,1: 71:[54, 70] Operation: 72-2=70
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 71:[72, 56], Operations: ['2*36=72', '54+2=56']
Exploring Operation: 72-56=16, Resulting Numbers: [16]
16,71 unequal: No Solution
Exploring Operation: 72+56=128, Resulting Numbers: [128]
128,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,1
Current State: 71:[54, 70], Operations: ['2*36=72', '72-2=70']
Exploring Operation: 70-54=16, Resulting Numbers: [16]
16,71 unequal: No Solution
Exploring Operation: 54+70=124, Resulting Numbers: [124]
124,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 | mult_heuristic |
[
19,
33,
2,
60
] | 32 | [
"33-19=14",
"2*14=28",
"60-28=32"
] | Current State: 32:[19, 33, 2, 60], Operations: []
Exploring Operation: 33-19=14, Resulting Numbers: [2, 60, 14]
Generated Node #2: [2, 60, 14] from Operation: 33-19=14
Current State: 32:[2, 60, 14], Operations: ['33-19=14']
Exploring Operation: 2*14=28, Resulting Numbers: [60, 28]
Generated Node #3: [60, 28] from Operation: 2*14=28
Current State: 32:[60, 28], Operations: ['33-19=14', '2*14=28']
Exploring Operation: 60-28=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[19, 33, 2, 60], Operations: []
Exploring Operation: 60-33=27, Resulting Numbers: [19, 2, 27]
Generated Node #0,0: 32:[19, 2, 27] Operation: 60-33=27
Exploring Operation: 33-19=14, Resulting Numbers: [2, 60, 14]
Generated Node #0,1: 32:[2, 60, 14] Operation: 33-19=14
Exploring Operation: 19-2=17, Resulting Numbers: [33, 60, 17]
Generated Node #0,2: 32:[33, 60, 17] Operation: 19-2=17
Exploring Operation: 60/2=30, Resulting Numbers: [19, 33, 30]
Generated Node #0,3: 32:[19, 33, 30] Operation: 60/2=30
Exploring Operation: 60-19=41, Resulting Numbers: [33, 2, 41]
Generated Node #0,4: 32:[33, 2, 41] Operation: 60-19=41
Moving to Node #0,3
Current State: 32:[19, 33, 30], Operations: ['60/2=30']
Exploring Operation: 19+33=52, Resulting Numbers: [30, 52]
Generated Node #0,3,0: 32:[30, 52] Operation: 19+33=52
Exploring Operation: 33-30=3, Resulting Numbers: [19, 3]
Generated Node #0,3,1: 32:[19, 3] Operation: 33-30=3
Exploring Operation: 19+30=49, Resulting Numbers: [33, 49]
Generated Node #0,3,2: 32:[33, 49] Operation: 19+30=49
Exploring Operation: 33-19=14, Resulting Numbers: [30, 14]
Generated Node #0,3,3: 32:[30, 14] Operation: 33-19=14
Exploring Operation: 30-19=11, Resulting Numbers: [33, 11]
Generated Node #0,3,4: 32:[33, 11] Operation: 30-19=11
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 32:[19, 3], Operations: ['60/2=30', '33-30=3']
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,32 unequal: No Solution
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,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,3,3
Current State: 32:[30, 14], Operations: ['60/2=30', '33-19=14']
Exploring Operation: 30*14=420, Resulting Numbers: [420]
420,32 unequal: No Solution
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,32 unequal: No Solution
Exploring Operation: 30+14=44, Resulting Numbers: [44]
44,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,3,4
Current State: 32:[33, 11], Operations: ['60/2=30', '30-19=11']
Exploring Operation: 33*11=363, Resulting Numbers: [363]
363,32 unequal: No Solution
Exploring Operation: 33-11=22, Resulting Numbers: [22]
22,32 unequal: No Solution
Exploring Operation: 33+11=44, Resulting Numbers: [44]
44,32 unequal: No Solution
Exploring Operation: 33/11=3, Resulting Numbers: [3]
3,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,3,2
Current State: 32:[33, 49], Operations: ['60/2=30', '19+30=49']
Exploring Operation: 49-33=16, Resulting Numbers: [16]
16,32 unequal: No Solution
Exploring Operation: 33+49=82, Resulting Numbers: [82]
82,32 unequal: No Solution
Exploring Operation: 33*49=1617, Resulting Numbers: [1617]
1617,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,3,0
Current State: 32:[30, 52], Operations: ['60/2=30', '19+33=52']
Exploring Operation: 30*52=1560, Resulting Numbers: [1560]
1560,32 unequal: No Solution
Exploring Operation: 52-30=22, Resulting Numbers: [22]
22,32 unequal: No Solution
Exploring Operation: 30+52=82, Resulting Numbers: [82]
82,32 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: 32:[19, 2, 27], Operations: ['60-33=27']
Exploring Operation: 27-19=8, Resulting Numbers: [2, 8]
Generated Node #0,0,0: 32:[2, 8] Operation: 27-19=8
Exploring Operation: 27-2=25, Resulting Numbers: [19, 25]
Generated Node #0,0,1: 32:[19, 25] Operation: 27-2=25
Exploring Operation: 2+27=29, Resulting Numbers: [19, 29]
Generated Node #0,0,2: 32:[19, 29] Operation: 2+27=29
Exploring Operation: 19-2=17, Resulting Numbers: [27, 17]
Generated Node #0,0,3: 32:[27, 17] Operation: 19-2=17
Exploring Operation: 19+2=21, Resulting Numbers: [27, 21]
Generated Node #0,0,4: 32:[27, 21] Operation: 19+2=21
Moving to Node #0,4
Current State: 32:[33, 2, 41], Operations: ['60-19=41']
Exploring Operation: 33-2=31, Resulting Numbers: [41, 31]
Generated Node #0,4,0: 32:[41, 31] Operation: 33-2=31
Exploring Operation: 33+2=35, Resulting Numbers: [41, 35]
Generated Node #0,4,1: 32:[41, 35] Operation: 33+2=35
Exploring Operation: 41-33=8, Resulting Numbers: [2, 8]
Generated Node #0,4,2: 32:[2, 8] Operation: 41-33=8
Exploring Operation: 2+41=43, Resulting Numbers: [33, 43]
Generated Node #0,4,3: 32:[33, 43] Operation: 2+41=43
Exploring Operation: 41-2=39, Resulting Numbers: [33, 39]
Generated Node #0,4,4: 32:[33, 39] Operation: 41-2=39
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 32:[2, 8], Operations: ['60-19=41', '41-33=8']
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,32 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,32 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,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,4,4
Current State: 32:[33, 39], Operations: ['60-19=41', '41-2=39']
Exploring Operation: 33*39=1287, Resulting Numbers: [1287]
1287,32 unequal: No Solution
Exploring Operation: 33+39=72, Resulting Numbers: [72]
72,32 unequal: No Solution
Exploring Operation: 39-33=6, Resulting Numbers: [6]
6,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,4,0
Current State: 32:[41, 31], Operations: ['60-19=41', '33-2=31']
Exploring Operation: 41+31=72, Resulting Numbers: [72]
72,32 unequal: No Solution
Exploring Operation: 41-31=10, Resulting Numbers: [10]
10,32 unequal: No Solution
Exploring Operation: 41*31=1271, Resulting Numbers: [1271]
1271,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,4,1
Current State: 32:[41, 35], Operations: ['60-19=41', '33+2=35']
Exploring Operation: 41*35=1435, Resulting Numbers: [1435]
1435,32 unequal: No Solution
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,32 unequal: No Solution
Exploring Operation: 41+35=76, Resulting Numbers: [76]
76,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,4,3
Current State: 32:[33, 43], Operations: ['60-19=41', '2+41=43']
Exploring Operation: 33*43=1419, Resulting Numbers: [1419]
1419,32 unequal: No Solution
Exploring Operation: 33+43=76, Resulting Numbers: [76]
76,32 unequal: No Solution
Exploring Operation: 43-33=10, Resulting Numbers: [10]
10,32 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: 32:[2, 60, 14], Operations: ['33-19=14']
Exploring Operation: 2+14=16, Resulting Numbers: [60, 16]
Generated Node #0,1,0: 32:[60, 16] Operation: 2+14=16
Exploring Operation: 14/2=7, Resulting Numbers: [60, 7]
Generated Node #0,1,1: 32:[60, 7] Operation: 14/2=7
Exploring Operation: 60-14=46, Resulting Numbers: [2, 46]
Generated Node #0,1,2: 32:[2, 46] Operation: 60-14=46
Exploring Operation: 60-2=58, Resulting Numbers: [14, 58]
Generated Node #0,1,3: 32:[14, 58] Operation: 60-2=58
Exploring Operation: 60/2=30, Resulting Numbers: [14, 30]
Generated Node #0,1,4: 32:[14, 30] Operation: 60/2=30
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 32:[14, 30], Operations: ['33-19=14', '60/2=30']
Exploring Operation: 14*30=420, Resulting Numbers: [420]
420,32 unequal: No Solution
Exploring Operation: 14+30=44, Resulting Numbers: [44]
44,32 unequal: No Solution
Exploring Operation: 30-14=16, Resulting Numbers: [16]
16,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,1,2
Current State: 32:[2, 46], Operations: ['33-19=14', '60-14=46']
Exploring Operation: 2*46=92, Resulting Numbers: [92]
92,32 unequal: No Solution
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,32 unequal: No Solution
Exploring Operation: 2+46=48, Resulting Numbers: [48]
48,32 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,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,1,0
Current State: 32:[60, 16], Operations: ['33-19=14', '2+14=16']
Exploring Operation: 60+16=76, Resulting Numbers: [76]
76,32 unequal: No Solution
Exploring Operation: 60-16=44, Resulting Numbers: [44]
44,32 unequal: No Solution
Exploring Operation: 60*16=960, Resulting Numbers: [960]
960,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,1,3
Current State: 32:[14, 58], Operations: ['33-19=14', '60-2=58']
Exploring Operation: 14*58=812, Resulting Numbers: [812]
812,32 unequal: No Solution
Exploring Operation: 14+58=72, Resulting Numbers: [72]
72,32 unequal: No Solution
Exploring Operation: 58-14=44, Resulting Numbers: [44]
44,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,1,1
Current State: 32:[60, 7], Operations: ['33-19=14', '14/2=7']
Exploring Operation: 60+7=67, Resulting Numbers: [67]
67,32 unequal: No Solution
Exploring Operation: 60*7=420, Resulting Numbers: [420]
420,32 unequal: No Solution
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,32 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: 32:[33, 60, 17], Operations: ['19-2=17']
Exploring Operation: 60+17=77, Resulting Numbers: [33, 77]
Generated Node #0,2,0: 32:[33, 77] Operation: 60+17=77
Exploring Operation: 60-33=27, Resulting Numbers: [17, 27]
Generated Node #0,2,1: 32:[17, 27] Operation: 60-33=27
Exploring Operation: 33-17=16, Resulting Numbers: [60, 16]
Generated Node #0,2,2: 32:[60, 16] Operation: 33-17=16
Exploring Operation: 60-17=43, Resulting Numbers: [33, 43]
Generated Node #0,2,3: 32:[33, 43] Operation: 60-17=43
Exploring Operation: 33+17=50, Resulting Numbers: [60, 50]
Generated Node #0,2,4: 32:[60, 50] Operation: 33+17=50
Moving to Node #0,0,0
Current State: 32:[2, 8], Operations: ['60-33=27', '27-19=8']
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,32 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,32 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,32 unequal: No Solution
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,32 unequal: No Solution
Moving to Node #0,0,3
Current State: 32:[27, 17], Operations: ['60-33=27', '19-2=17']
Exploring Operation: 27*17=459, Resulting Numbers: [459]
459,32 unequal: No Solution
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,32 unequal: No Solution
Exploring Operation: 27+17=44, Resulting Numbers: [44]
44,32 unequal: No Solution
Moving to Node #0,2,1
Current State: 32:[17, 27], Operations: ['19-2=17', '60-33=27']
Exploring Operation: 17*27=459, Resulting Numbers: [459]
459,32 unequal: No Solution
Exploring Operation: 17+27=44, Resulting Numbers: [44]
44,32 unequal: No Solution
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,32 unequal: No Solution
Moving to Node #0,0,2
Current State: 32:[19, 29], Operations: ['60-33=27', '2+27=29']
Exploring Operation: 19+29=48, Resulting Numbers: [48]
48,32 unequal: No Solution
Exploring Operation: 19*29=551, Resulting Numbers: [551]
551,32 unequal: No Solution
Exploring Operation: 29-19=10, Resulting Numbers: [10]
10,32 unequal: No Solution
Moving to Node #0,0,4
Current State: 32:[27, 21], Operations: ['60-33=27', '19+2=21']
Exploring Operation: 27-21=6, Resulting Numbers: [6]
6,32 unequal: No Solution
Exploring Operation: 27*21=567, Resulting Numbers: [567]
567,32 unequal: No Solution
Exploring Operation: 27+21=48, Resulting Numbers: [48]
48,32 unequal: No Solution
Moving to Node #0,0,1
Current State: 32:[19, 25], Operations: ['60-33=27', '27-2=25']
Exploring Operation: 25-19=6, Resulting Numbers: [6]
6,32 unequal: No Solution
Exploring Operation: 19+25=44, Resulting Numbers: [44]
44,32 unequal: No Solution
Exploring Operation: 19*25=475, Resulting Numbers: [475]
475,32 unequal: No Solution
Moving to Node #0,2,3
Current State: 32:[33, 43], Operations: ['19-2=17', '60-17=43']
Exploring Operation: 33+43=76, Resulting Numbers: [76]
76,32 unequal: No Solution
Exploring Operation: 43-33=10, Resulting Numbers: [10]
10,32 unequal: No Solution
Exploring Operation: 33*43=1419, Resulting Numbers: [1419]
1419,32 unequal: No Solution
Moving to Node #0,2,2
Current State: 32:[60, 16], Operations: ['19-2=17', '33-17=16']
Exploring Operation: 60*16=960, Resulting Numbers: [960]
960,32 unequal: No Solution
Exploring Operation: 60+16=76, Resulting Numbers: [76]
76,32 unequal: No Solution
Exploring Operation: 60-16=44, Resulting Numbers: [44]
44,32 unequal: No Solution
Moving to Node #0,2,0
Current State: 32:[33, 77], Operations: ['19-2=17', '60+17=77']
Exploring Operation: 77-33=44, Resulting Numbers: [44]
44,32 unequal: No Solution
Exploring Operation: 33*77=2541, Resulting Numbers: [2541]
2541,32 unequal: No Solution
Exploring Operation: 33+77=110, Resulting Numbers: [110]
110,32 unequal: No Solution
Moving to Node #0,2,4
Current State: 32:[60, 50], Operations: ['19-2=17', '33+17=50']
Exploring Operation: 60-50=10, Resulting Numbers: [10]
10,32 unequal: No Solution
Exploring Operation: 60*50=3000, Resulting Numbers: [3000]
3000,32 unequal: No Solution
Exploring Operation: 60+50=110, Resulting Numbers: [110]
110,32 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
4,
25,
68,
47
] | 86 | [
"4+25=29",
"68+47=115",
"115-29=86"
] | Current State: 86:[4, 25, 68, 47], Operations: []
Exploring Operation: 4+25=29, Resulting Numbers: [68, 47, 29]
Generated Node #2: [68, 47, 29] from Operation: 4+25=29
Current State: 86:[68, 47, 29], Operations: ['4+25=29']
Exploring Operation: 68+47=115, Resulting Numbers: [29, 115]
Generated Node #3: [29, 115] from Operation: 68+47=115
Current State: 86:[29, 115], Operations: ['4+25=29', '68+47=115']
Exploring Operation: 115-29=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[4, 25, 68, 47], Operations: []
Exploring Operation: 68-25=43, Resulting Numbers: [4, 47, 43]
Generated Node #0,0: 86:[4, 47, 43] Operation: 68-25=43
Exploring Operation: 25+68=93, Resulting Numbers: [4, 47, 93]
Generated Node #0,1: 86:[4, 47, 93] Operation: 25+68=93
Exploring Operation: 25+47=72, Resulting Numbers: [4, 68, 72]
Generated Node #0,2: 86:[4, 68, 72] Operation: 25+47=72
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[4, 47, 43], Operations: ['68-25=43']
Exploring Operation: 47-43=4, Resulting Numbers: [4, 4]
Generated Node #0,0,0: 86:[4, 4] Operation: 47-43=4
Exploring Operation: 47-4=43, Resulting Numbers: [43, 43]
Generated Node #0,0,1: 86:[43, 43] Operation: 47-4=43
Exploring Operation: 47+43=90, Resulting Numbers: [4, 90]
Generated Node #0,0,2: 86:[4, 90] Operation: 47+43=90
Moving to Node #0,0,1
Current State: 86:[43, 43], Operations: ['68-25=43', '47-4=43']
Exploring Operation: 43/43=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Exploring Operation: 43+43=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[4, 25, 68, 47], Operations: []
Exploring Operation: 68-25=43, Resulting Numbers: [4, 47, 43]
Generated Node #0,0: 86:[4, 47, 43] Operation: 68-25=43
Moving to Node #0,0
Current State: 86:[4, 47, 43], Operations: ['68-25=43']
Exploring Operation: 47-4=43, Resulting Numbers: [43, 43]
Generated Node #0,0,1: 86:[43, 43] Operation: 47-4=43
Moving to Node #0,0,1
Current State: 86:[43, 43], Operations: ['68-25=43', '47-4=43']
Exploring Operation: 43+43=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
40,
24,
43,
30
] | 18 | [
"43-40=3",
"24+30=54",
"54/3=18"
] | Current State: 18:[40, 24, 43, 30], Operations: []
Exploring Operation: 43-40=3, Resulting Numbers: [24, 30, 3]
Generated Node #2: [24, 30, 3] from Operation: 43-40=3
Current State: 18:[24, 30, 3], Operations: ['43-40=3']
Exploring Operation: 24+30=54, Resulting Numbers: [3, 54]
Generated Node #3: [3, 54] from Operation: 24+30=54
Current State: 18:[3, 54], Operations: ['43-40=3', '24+30=54']
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[40, 24, 43, 30], Operations: []
Exploring Operation: 43-30=13, Resulting Numbers: [40, 24, 13]
Generated Node #0,0: 18:[40, 24, 13] Operation: 43-30=13
Exploring Operation: 43-40=3, Resulting Numbers: [24, 30, 3]
Generated Node #0,1: 18:[24, 30, 3] Operation: 43-40=3
Exploring Operation: 40-30=10, Resulting Numbers: [24, 43, 10]
Generated Node #0,2: 18:[24, 43, 10] Operation: 40-30=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[24, 30, 3], Operations: ['43-40=3']
Exploring Operation: 24/3=8, Resulting Numbers: [30, 8]
Generated Node #0,1,0: 18:[30, 8] Operation: 24/3=8
Exploring Operation: 30-24=6, Resulting Numbers: [3, 6]
Generated Node #0,1,1: 18:[3, 6] Operation: 30-24=6
Exploring Operation: 30/3=10, Resulting Numbers: [24, 10]
Generated Node #0,1,2: 18:[24, 10] Operation: 30/3=10
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 18:[3, 6], Operations: ['43-40=3', '30-24=6']
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,18 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[40, 24, 43, 30], Operations: []
Exploring Operation: 43-40=3, Resulting Numbers: [24, 30, 3]
Generated Node #0,1: 18:[24, 30, 3] Operation: 43-40=3
Moving to Node #0,1
Current State: 18:[24, 30, 3], Operations: ['43-40=3']
Exploring Operation: 30-24=6, Resulting Numbers: [3, 6]
Generated Node #0,1,1: 18:[3, 6] Operation: 30-24=6
Moving to Node #0,1,1
Current State: 18:[3, 6], Operations: ['43-40=3', '30-24=6']
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
50,
1,
78,
90
] | 38 | [
"50*1=50",
"90-78=12",
"50-12=38"
] | Current State: 38:[50, 1, 78, 90], Operations: []
Exploring Operation: 50*1=50, Resulting Numbers: [78, 90, 50]
Generated Node #2: [78, 90, 50] from Operation: 50*1=50
Current State: 38:[78, 90, 50], Operations: ['50*1=50']
Exploring Operation: 90-78=12, Resulting Numbers: [50, 12]
Generated Node #3: [50, 12] from Operation: 90-78=12
Current State: 38:[50, 12], Operations: ['50*1=50', '90-78=12']
Exploring Operation: 50-12=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[50, 1, 78, 90], Operations: []
Exploring Operation: 90-50=40, Resulting Numbers: [1, 78, 40]
Generated Node #0,0: 38:[1, 78, 40] Operation: 90-50=40
Exploring Operation: 90-78=12, Resulting Numbers: [50, 1, 12]
Generated Node #0,1: 38:[50, 1, 12] Operation: 90-78=12
Moving to Node #0,1
Current State: 38:[50, 1, 12], Operations: ['90-78=12']
Exploring Operation: 50-1=49, Resulting Numbers: [12, 49]
Generated Node #0,1,0: 38:[12, 49] Operation: 50-1=49
Exploring Operation: 50-12=38, Resulting Numbers: [1, 38]
Generated Node #0,1,1: 38:[1, 38] Operation: 50-12=38
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 38:[1, 38], Operations: ['90-78=12', '50-12=38']
Exploring Operation: 38/1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[50, 1, 78, 90], Operations: []
Exploring Operation: 90-78=12, Resulting Numbers: [50, 1, 12]
Generated Node #0,1: 38:[50, 1, 12] Operation: 90-78=12
Moving to Node #0,1
Current State: 38:[50, 1, 12], Operations: ['90-78=12']
Exploring Operation: 50-12=38, Resulting Numbers: [1, 38]
Generated Node #0,1,1: 38:[1, 38] Operation: 50-12=38
Moving to Node #0,1,1
Current State: 38:[1, 38], Operations: ['90-78=12', '50-12=38']
Exploring Operation: 38/1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
47,
31,
46,
87
] | 90 | [
"47+46=93",
"93/31=3",
"87+3=90"
] | Current State: 90:[47, 31, 46, 87], Operations: []
Exploring Operation: 47+46=93, Resulting Numbers: [31, 87, 93]
Generated Node #2: [31, 87, 93] from Operation: 47+46=93
Current State: 90:[31, 87, 93], Operations: ['47+46=93']
Exploring Operation: 93/31=3, Resulting Numbers: [87, 3]
Generated Node #3: [87, 3] from Operation: 93/31=3
Current State: 90:[87, 3], Operations: ['47+46=93', '93/31=3']
Exploring Operation: 87+3=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[47, 31, 46, 87], Operations: []
Exploring Operation: 47-31=16, Resulting Numbers: [46, 87, 16]
Generated Node #0,0: 90:[46, 87, 16] Operation: 47-31=16
Moving to Node #0,0
Current State: 90:[46, 87, 16], Operations: ['47-31=16']
Exploring Operation: 46-16=30, Resulting Numbers: [87, 30]
Generated Node #0,0,0: 90:[87, 30] Operation: 46-16=30
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 90:[87, 30], Operations: ['47-31=16', '46-16=30']
Exploring Operation: 87-30=57, Resulting Numbers: [57]
57,90 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 |
[
11,
60,
9,
74
] | 55 | [
"60+9=69",
"74-69=5",
"11*5=55"
] | Current State: 55:[11, 60, 9, 74], Operations: []
Exploring Operation: 60+9=69, Resulting Numbers: [11, 74, 69]
Generated Node #2: [11, 74, 69] from Operation: 60+9=69
Current State: 55:[11, 74, 69], Operations: ['60+9=69']
Exploring Operation: 74-69=5, Resulting Numbers: [11, 5]
Generated Node #3: [11, 5] from Operation: 74-69=5
Current State: 55:[11, 5], Operations: ['60+9=69', '74-69=5']
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[11, 60, 9, 74], Operations: []
Exploring Operation: 60-9=51, Resulting Numbers: [11, 74, 51]
Generated Node #0,0: 55:[11, 74, 51] Operation: 60-9=51
Exploring Operation: 74-9=65, Resulting Numbers: [11, 60, 65]
Generated Node #0,1: 55:[11, 60, 65] Operation: 74-9=65
Exploring Operation: 74-11=63, Resulting Numbers: [60, 9, 63]
Generated Node #0,2: 55:[60, 9, 63] Operation: 74-11=63
Exploring Operation: 74-60=14, Resulting Numbers: [11, 9, 14]
Generated Node #0,3: 55:[11, 9, 14] Operation: 74-60=14
Start Sub Search at level 1: Moving to Node #0,3
Current State: 55:[11, 9, 14], Operations: ['74-60=14']
Exploring Operation: 11-9=2, Resulting Numbers: [14, 2]
Generated Node #0,3,0: 55:[14, 2] Operation: 11-9=2
Exploring Operation: 14-9=5, Resulting Numbers: [11, 5]
Generated Node #0,3,1: 55:[11, 5] Operation: 14-9=5
Exploring Operation: 14-11=3, Resulting Numbers: [9, 3]
Generated Node #0,3,2: 55:[9, 3] Operation: 14-11=3
Exploring Operation: 11+9=20, Resulting Numbers: [14, 20]
Generated Node #0,3,3: 55:[14, 20] Operation: 11+9=20
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 55:[11, 5], Operations: ['74-60=14', '14-9=5']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,55 unequal: No Solution
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[11, 60, 9, 74], Operations: []
Exploring Operation: 74-60=14, Resulting Numbers: [11, 9, 14]
Generated Node #0,3: 55:[11, 9, 14] Operation: 74-60=14
Moving to Node #0,3
Current State: 55:[11, 9, 14], Operations: ['74-60=14']
Exploring Operation: 14-9=5, Resulting Numbers: [11, 5]
Generated Node #0,3,1: 55:[11, 5] Operation: 14-9=5
Moving to Node #0,3,1
Current State: 55:[11, 5], Operations: ['74-60=14', '14-9=5']
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
71,
13,
15,
2
] | 62 | [
"13*15=195",
"195-71=124",
"124/2=62"
] | Current State: 62:[71, 13, 15, 2], Operations: []
Exploring Operation: 13*15=195, Resulting Numbers: [71, 2, 195]
Generated Node #2: [71, 2, 195] from Operation: 13*15=195
Current State: 62:[71, 2, 195], Operations: ['13*15=195']
Exploring Operation: 195-71=124, Resulting Numbers: [2, 124]
Generated Node #3: [2, 124] from Operation: 195-71=124
Current State: 62:[2, 124], Operations: ['13*15=195', '195-71=124']
Exploring Operation: 124/2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[71, 13, 15, 2], Operations: []
Exploring Operation: 15-13=2, Resulting Numbers: [71, 2, 2]
Generated Node #0,0: 62:[71, 2, 2] Operation: 15-13=2
Exploring Operation: 71-13=58, Resulting Numbers: [15, 2, 58]
Generated Node #0,1: 62:[15, 2, 58] Operation: 71-13=58
Exploring Operation: 13+15=28, Resulting Numbers: [71, 2, 28]
Generated Node #0,2: 62:[71, 2, 28] Operation: 13+15=28
Moving to Node #0,0
Current State: 62:[71, 2, 2], Operations: ['15-13=2']
Exploring Operation: 71-2=69, Resulting Numbers: [2, 69]
Generated Node #0,0,0: 62:[2, 69] Operation: 71-2=69
Exploring Operation: 2/2=1, Resulting Numbers: [71, 1]
Generated Node #0,0,1: 62:[71, 1] Operation: 2/2=1
Exploring Operation: 71-2=69, Resulting Numbers: [2, 69]
Generated Node #0,0,2: 62:[2, 69] Operation: 71-2=69
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[2, 69], Operations: ['15-13=2', '71-2=69']
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,62 unequal: No Solution
Exploring Operation: 2+69=71, Resulting Numbers: [71]
71,62 unequal: No Solution
Exploring Operation: 2*69=138, Resulting Numbers: [138]
138,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 62:[2, 69], Operations: ['15-13=2', '71-2=69']
Exploring Operation: 2*69=138, Resulting Numbers: [138]
138,62 unequal: No Solution
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,62 unequal: No Solution
Exploring Operation: 2+69=71, Resulting Numbers: [71]
71,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 62:[71, 1], Operations: ['15-13=2', '2/2=1']
Exploring Operation: 71-1=70, Resulting Numbers: [70]
70,62 unequal: No Solution
Exploring Operation: 71/1=71, Resulting Numbers: [71]
71,62 unequal: No Solution
Exploring Operation: 71*1=71, Resulting Numbers: [71]
71,62 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: 62:[71, 2, 28], Operations: ['13+15=28']
Exploring Operation: 71-2=69, Resulting Numbers: [28, 69]
Generated Node #0,2,0: 62:[28, 69] Operation: 71-2=69
Exploring Operation: 2+28=30, Resulting Numbers: [71, 30]
Generated Node #0,2,1: 62:[71, 30] Operation: 2+28=30
Exploring Operation: 71-28=43, Resulting Numbers: [2, 43]
Generated Node #0,2,2: 62:[2, 43] Operation: 71-28=43
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 62:[28, 69], Operations: ['13+15=28', '71-2=69']
Exploring Operation: 28*69=1932, Resulting Numbers: [1932]
1932,62 unequal: No Solution
Exploring Operation: 28+69=97, Resulting Numbers: [97]
97,62 unequal: No Solution
Exploring Operation: 69-28=41, Resulting Numbers: [41]
41,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:[71, 30], Operations: ['13+15=28', '2+28=30']
Exploring Operation: 71*30=2130, Resulting Numbers: [2130]
2130,62 unequal: No Solution
Exploring Operation: 71-30=41, Resulting Numbers: [41]
41,62 unequal: No Solution
Exploring Operation: 71+30=101, Resulting Numbers: [101]
101,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:[2, 43], Operations: ['13+15=28', '71-28=43']
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,62 unequal: No Solution
Exploring Operation: 2+43=45, Resulting Numbers: [45]
45,62 unequal: No Solution
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 62:[15, 2, 58], Operations: ['71-13=58']
Exploring Operation: 15+58=73, Resulting Numbers: [2, 73]
Generated Node #0,1,0: 62:[2, 73] Operation: 15+58=73
Exploring Operation: 15*2=30, Resulting Numbers: [58, 30]
Generated Node #0,1,1: 62:[58, 30] Operation: 15*2=30
Exploring Operation: 58-15=43, Resulting Numbers: [2, 43]
Generated Node #0,1,2: 62:[2, 43] Operation: 58-15=43
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 62:[58, 30], Operations: ['71-13=58', '15*2=30']
Exploring Operation: 58*30=1740, Resulting Numbers: [1740]
1740,62 unequal: No Solution
Exploring Operation: 58+30=88, Resulting Numbers: [88]
88,62 unequal: No Solution
Exploring Operation: 58-30=28, Resulting Numbers: [28]
28,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,1,0
Current State: 62:[2, 73], Operations: ['71-13=58', '15+58=73']
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,62 unequal: No Solution
Exploring Operation: 2+73=75, Resulting Numbers: [75]
75,62 unequal: No Solution
Exploring Operation: 2*73=146, Resulting Numbers: [146]
146,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,1,2
Current State: 62:[2, 43], Operations: ['71-13=58', '58-15=43']
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,62 unequal: No Solution
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,62 unequal: No Solution
Exploring Operation: 2+43=45, Resulting Numbers: [45]
45,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 |
[
74,
93,
19,
38
] | 76 | [
"93-74=19",
"19+38=57",
"19+57=76"
] | Current State: 76:[74, 93, 19, 38], Operations: []
Exploring Operation: 93-74=19, Resulting Numbers: [19, 38, 19]
Generated Node #2: [19, 38, 19] from Operation: 93-74=19
Current State: 76:[19, 38, 19], Operations: ['93-74=19']
Exploring Operation: 19+38=57, Resulting Numbers: [57]
57,76 equal: Goal Reached
Exploring Operation: 19+57=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[74, 93, 19, 38], Operations: []
Exploring Operation: 74-38=36, Resulting Numbers: [93, 19, 36]
Generated Node #0,0: 76:[93, 19, 36] Operation: 74-38=36
Exploring Operation: 93-74=19, Resulting Numbers: [19, 38, 19]
Generated Node #0,1: 76:[19, 38, 19] Operation: 93-74=19
Exploring Operation: 93-38=55, Resulting Numbers: [74, 19, 55]
Generated Node #0,2: 76:[74, 19, 55] Operation: 93-38=55
Exploring Operation: 38-19=19, Resulting Numbers: [74, 93, 19]
Generated Node #0,3: 76:[74, 93, 19] Operation: 38-19=19
Exploring Operation: 93-19=74, Resulting Numbers: [74, 38, 74]
Generated Node #0,4: 76:[74, 38, 74] Operation: 93-19=74
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[19, 38, 19], Operations: ['93-74=19']
Exploring Operation: 38-19=19, Resulting Numbers: [19, 19]
Generated Node #0,1,0: 76:[19, 19] Operation: 38-19=19
Exploring Operation: 38/19=2, Resulting Numbers: [19, 2]
Generated Node #0,1,1: 76:[19, 2] Operation: 38/19=2
Exploring Operation: 38/19=2, Resulting Numbers: [19, 2]
Generated Node #0,1,2: 76:[19, 2] Operation: 38/19=2
Exploring Operation: 38-19=19, Resulting Numbers: [19, 19]
Generated Node #0,1,3: 76:[19, 19] Operation: 38-19=19
Exploring Operation: 19+19=38, Resulting Numbers: [38, 38]
Generated Node #0,1,4: 76:[38, 38] Operation: 19+19=38
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 76:[19, 19], Operations: ['93-74=19', '38-19=19']
Exploring Operation: 19/19=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Exploring Operation: 19*19=361, Resulting Numbers: [361]
361,76 unequal: No Solution
Exploring Operation: 19+19=38, Resulting Numbers: [38]
38,76 unequal: No Solution
Exploring Operation: 19-19=0, Resulting Numbers: [0]
0,76 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: 76:[19, 2], Operations: ['93-74=19', '38/19=2']
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,76 unequal: No Solution
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,76 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,76 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: 76:[19, 2], Operations: ['93-74=19', '38/19=2']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,76 unequal: No Solution
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,76 unequal: No Solution
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,76 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: 76:[19, 19], Operations: ['93-74=19', '38-19=19']
Exploring Operation: 19-19=0, Resulting Numbers: [0]
0,76 unequal: No Solution
Exploring Operation: 19/19=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Exploring Operation: 19*19=361, Resulting Numbers: [361]
361,76 unequal: No Solution
Exploring Operation: 19+19=38, Resulting Numbers: [38]
38,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 76:[38, 38], Operations: ['93-74=19', '19+19=38']
Exploring Operation: 38-38=0, Resulting Numbers: [0]
0,76 unequal: No Solution
Exploring Operation: 38+38=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[74, 93, 19, 38], Operations: []
Exploring Operation: 93-74=19, Resulting Numbers: [19, 38, 19]
Generated Node #0,1: 76:[19, 38, 19] Operation: 93-74=19
Moving to Node #0,1
Current State: 76:[19, 38, 19], Operations: ['93-74=19']
Exploring Operation: 19+19=38, Resulting Numbers: [38, 38]
Generated Node #0,1,4: 76:[38, 38] Operation: 19+19=38
Moving to Node #0,1,4
Current State: 76:[38, 38], Operations: ['93-74=19', '19+19=38']
Exploring Operation: 38+38=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.973958 | hs_5 | mult_heuristic |
[
38,
71,
62,
5
] | 49 | [
"62-38=24",
"5*24=120",
"120-71=49"
] | Current State: 49:[38, 71, 62, 5], Operations: []
Exploring Operation: 62-38=24, Resulting Numbers: [71, 5, 24]
Generated Node #2: [71, 5, 24] from Operation: 62-38=24
Current State: 49:[71, 5, 24], Operations: ['62-38=24']
Exploring Operation: 5*24=120, Resulting Numbers: [71, 120]
Generated Node #3: [71, 120] from Operation: 5*24=120
Current State: 49:[71, 120], Operations: ['62-38=24', '5*24=120']
Exploring Operation: 120-71=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[38, 71, 62, 5], Operations: []
Exploring Operation: 71-62=9, Resulting Numbers: [38, 5, 9]
Generated Node #0,0: 49:[38, 5, 9] Operation: 71-62=9
Exploring Operation: 71-38=33, Resulting Numbers: [62, 5, 33]
Generated Node #0,1: 49:[62, 5, 33] Operation: 71-38=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[38, 5, 9], Operations: ['71-62=9']
Exploring Operation: 38+9=47, Resulting Numbers: [5, 47]
Generated Node #0,0,0: 49:[5, 47] Operation: 38+9=47
Exploring Operation: 38+5=43, Resulting Numbers: [9, 43]
Generated Node #0,0,1: 49:[9, 43] Operation: 38+5=43
Moving to Node #0,0,0
Current State: 49:[5, 47], Operations: ['71-62=9', '38+9=47']
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,49 unequal: No Solution
Exploring Operation: 5+47=52, Resulting Numbers: [52]
52,49 unequal: No Solution
Moving to Node #0,0,1
Current State: 49:[9, 43], Operations: ['71-62=9', '38+5=43']
Exploring Operation: 9+43=52, Resulting Numbers: [52]
52,49 unequal: No Solution
Exploring Operation: 43-9=34, Resulting Numbers: [34]
34,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[62, 5, 33], Operations: ['71-38=33']
Exploring Operation: 62-33=29, Resulting Numbers: [5, 29]
Generated Node #0,1,0: 49:[5, 29] Operation: 62-33=29
Exploring Operation: 62-5=57, Resulting Numbers: [33, 57]
Generated Node #0,1,1: 49:[33, 57] Operation: 62-5=57
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 49:[5, 29], Operations: ['71-38=33', '62-33=29']
Exploring Operation: 5+29=34, Resulting Numbers: [34]
34,49 unequal: No Solution
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,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,1,1
Current State: 49:[33, 57], Operations: ['71-38=33', '62-5=57']
Exploring Operation: 33+57=90, Resulting Numbers: [90]
90,49 unequal: No Solution
Exploring Operation: 57-33=24, Resulting Numbers: [24]
24,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
73,
86,
91,
25
] | 21 | [
"73*25=1825",
"86+1825=1911",
"1911/91=21"
] | Current State: 21:[73, 86, 91, 25], Operations: []
Exploring Operation: 73*25=1825, Resulting Numbers: [86, 91, 1825]
Generated Node #2: [86, 91, 1825] from Operation: 73*25=1825
Current State: 21:[86, 91, 1825], Operations: ['73*25=1825']
Exploring Operation: 86+1825=1911, Resulting Numbers: [91, 1911]
Generated Node #3: [91, 1911] from Operation: 86+1825=1911
Current State: 21:[91, 1911], Operations: ['73*25=1825', '86+1825=1911']
Exploring Operation: 1911/91=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[73, 86, 91, 25], Operations: []
Exploring Operation: 91-86=5, Resulting Numbers: [73, 25, 5]
Generated Node #0,0: 21:[73, 25, 5] Operation: 91-86=5
Exploring Operation: 91-73=18, Resulting Numbers: [86, 25, 18]
Generated Node #0,1: 21:[86, 25, 18] Operation: 91-73=18
Moving to Node #0,0
Current State: 21:[73, 25, 5], Operations: ['91-86=5']
Exploring Operation: 73-5=68, Resulting Numbers: [25, 68]
Generated Node #0,0,0: 21:[25, 68] Operation: 73-5=68
Exploring Operation: 73-25=48, Resulting Numbers: [5, 48]
Generated Node #0,0,1: 21:[5, 48] Operation: 73-25=48
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 21:[5, 48], Operations: ['91-86=5', '73-25=48']
Exploring Operation: 5+48=53, Resulting Numbers: [53]
53,21 unequal: No Solution
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,21 unequal: No Solution
No 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: 21:[25, 68], Operations: ['91-86=5', '73-5=68']
Exploring Operation: 25+68=93, Resulting Numbers: [93]
93,21 unequal: No Solution
Exploring Operation: 68-25=43, Resulting Numbers: [43]
43,21 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: 21:[86, 25, 18], Operations: ['91-73=18']
Exploring Operation: 86-25=61, Resulting Numbers: [18, 61]
Generated Node #0,1,0: 21:[18, 61] Operation: 86-25=61
Exploring Operation: 86-18=68, Resulting Numbers: [25, 68]
Generated Node #0,1,1: 21:[25, 68] Operation: 86-18=68
Moving to Node #0,1,0
Current State: 21:[18, 61], Operations: ['91-73=18', '86-25=61']
Exploring Operation: 18+61=79, Resulting Numbers: [79]
79,21 unequal: No Solution
Exploring Operation: 61-18=43, Resulting Numbers: [43]
43,21 unequal: No Solution
Moving to Node #0,1,1
Current State: 21:[25, 68], Operations: ['91-73=18', '86-18=68']
Exploring Operation: 68-25=43, Resulting Numbers: [43]
43,21 unequal: No Solution
Exploring Operation: 25+68=93, Resulting Numbers: [93]
93,21 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
55,
84,
6,
26
] | 58 | [
"84-6=78",
"78/26=3",
"55+3=58"
] | Current State: 58:[55, 84, 6, 26], Operations: []
Exploring Operation: 84-6=78, Resulting Numbers: [55, 26, 78]
Generated Node #2: [55, 26, 78] from Operation: 84-6=78
Current State: 58:[55, 26, 78], Operations: ['84-6=78']
Exploring Operation: 78/26=3, Resulting Numbers: [55, 3]
Generated Node #3: [55, 3] from Operation: 78/26=3
Current State: 58:[55, 3], Operations: ['84-6=78', '78/26=3']
Exploring Operation: 55+3=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[55, 84, 6, 26], Operations: []
Exploring Operation: 84-55=29, Resulting Numbers: [6, 26, 29]
Generated Node #0,0: 58:[6, 26, 29] Operation: 84-55=29
Exploring Operation: 84-26=58, Resulting Numbers: [55, 6, 58]
Generated Node #0,1: 58:[55, 6, 58] Operation: 84-26=58
Exploring Operation: 84-6=78, Resulting Numbers: [55, 26, 78]
Generated Node #0,2: 58:[55, 26, 78] Operation: 84-6=78
Exploring Operation: 84/6=14, Resulting Numbers: [55, 26, 14]
Generated Node #0,3: 58:[55, 26, 14] Operation: 84/6=14
Moving to Node #0,0
Current State: 58:[6, 26, 29], Operations: ['84-55=29']
Exploring Operation: 6+26=32, Resulting Numbers: [29, 32]
Generated Node #0,0,0: 58:[29, 32] Operation: 6+26=32
Exploring Operation: 29-26=3, Resulting Numbers: [6, 3]
Generated Node #0,0,1: 58:[6, 3] Operation: 29-26=3
Exploring Operation: 26+29=55, Resulting Numbers: [6, 55]
Generated Node #0,0,2: 58:[6, 55] Operation: 26+29=55
Exploring Operation: 26-6=20, Resulting Numbers: [29, 20]
Generated Node #0,0,3: 58:[29, 20] Operation: 26-6=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 58:[29, 32], Operations: ['84-55=29', '6+26=32']
Exploring Operation: 32-29=3, Resulting Numbers: [3]
3,58 unequal: No Solution
Exploring Operation: 29*32=928, Resulting Numbers: [928]
928,58 unequal: No Solution
Exploring Operation: 29+32=61, Resulting Numbers: [61]
61,58 unequal: No Solution
No 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: 58:[6, 3], Operations: ['84-55=29', '29-26=3']
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,58 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,58 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,58 unequal: No Solution
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,58 unequal: No Solution
No 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: 58:[6, 55], Operations: ['84-55=29', '26+29=55']
Exploring Operation: 6+55=61, Resulting Numbers: [61]
61,58 unequal: No Solution
Exploring Operation: 6*55=330, Resulting Numbers: [330]
330,58 unequal: No Solution
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,58 unequal: No Solution
No 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: 58:[29, 20], Operations: ['84-55=29', '26-6=20']
Exploring Operation: 29*20=580, Resulting Numbers: [580]
580,58 unequal: No Solution
Exploring Operation: 29+20=49, Resulting Numbers: [49]
49,58 unequal: No Solution
Exploring Operation: 29-20=9, Resulting Numbers: [9]
9,58 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: 58:[55, 6, 58], Operations: ['84-26=58']
Exploring Operation: 55+6=61, Resulting Numbers: [58, 61]
Generated Node #0,1,0: 58:[58, 61] Operation: 55+6=61
Exploring Operation: 58-55=3, Resulting Numbers: [6, 3]
Generated Node #0,1,1: 58:[6, 3] Operation: 58-55=3
Exploring Operation: 55-6=49, Resulting Numbers: [58, 49]
Generated Node #0,1,2: 58:[58, 49] Operation: 55-6=49
Exploring Operation: 6+58=64, Resulting Numbers: [55, 64]
Generated Node #0,1,3: 58:[55, 64] Operation: 6+58=64
Moving to Node #0,3
Current State: 58:[55, 26, 14], Operations: ['84/6=14']
Exploring Operation: 55+14=69, Resulting Numbers: [26, 69]
Generated Node #0,3,0: 58:[26, 69] Operation: 55+14=69
Exploring Operation: 55-26=29, Resulting Numbers: [14, 29]
Generated Node #0,3,1: 58:[14, 29] Operation: 55-26=29
Exploring Operation: 26-14=12, Resulting Numbers: [55, 12]
Generated Node #0,3,2: 58:[55, 12] Operation: 26-14=12
Exploring Operation: 26+14=40, Resulting Numbers: [55, 40]
Generated Node #0,3,3: 58:[55, 40] Operation: 26+14=40
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 58:[14, 29], Operations: ['84/6=14', '55-26=29']
Exploring Operation: 14*29=406, Resulting Numbers: [406]
406,58 unequal: No Solution
Exploring Operation: 14+29=43, Resulting Numbers: [43]
43,58 unequal: No Solution
Exploring Operation: 29-14=15, Resulting Numbers: [15]
15,58 unequal: No Solution
No 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: 58:[55, 12], Operations: ['84/6=14', '26-14=12']
Exploring Operation: 55-12=43, Resulting Numbers: [43]
43,58 unequal: No Solution
Exploring Operation: 55+12=67, Resulting Numbers: [67]
67,58 unequal: No Solution
Exploring Operation: 55*12=660, Resulting Numbers: [660]
660,58 unequal: No Solution
No 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: 58:[26, 69], Operations: ['84/6=14', '55+14=69']
Exploring Operation: 26*69=1794, Resulting Numbers: [1794]
1794,58 unequal: No Solution
Exploring Operation: 69-26=43, Resulting Numbers: [43]
43,58 unequal: No Solution
Exploring Operation: 26+69=95, Resulting Numbers: [95]
95,58 unequal: No Solution
No 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: 58:[55, 40], Operations: ['84/6=14', '26+14=40']
Exploring Operation: 55-40=15, Resulting Numbers: [15]
15,58 unequal: No Solution
Exploring Operation: 55+40=95, Resulting Numbers: [95]
95,58 unequal: No Solution
Exploring Operation: 55*40=2200, Resulting Numbers: [2200]
2200,58 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: 58:[55, 26, 78], Operations: ['84-6=78']
Exploring Operation: 78-26=52, Resulting Numbers: [55, 52]
Generated Node #0,2,0: 58:[55, 52] Operation: 78-26=52
Exploring Operation: 78-55=23, Resulting Numbers: [26, 23]
Generated Node #0,2,1: 58:[26, 23] Operation: 78-55=23
Exploring Operation: 78/26=3, Resulting Numbers: [55, 3]
Generated Node #0,2,2: 58:[55, 3] Operation: 78/26=3
Exploring Operation: 55-26=29, Resulting Numbers: [78, 29]
Generated Node #0,2,3: 58:[78, 29] Operation: 55-26=29
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 58:[55, 3], Operations: ['84-6=78', '78/26=3']
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,58 unequal: No Solution
Exploring Operation: 55+3=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[55, 84, 6, 26], Operations: []
Exploring Operation: 84-6=78, Resulting Numbers: [55, 26, 78]
Generated Node #0,2: 58:[55, 26, 78] Operation: 84-6=78
Moving to Node #0,2
Current State: 58:[55, 26, 78], Operations: ['84-6=78']
Exploring Operation: 78/26=3, Resulting Numbers: [55, 3]
Generated Node #0,2,2: 58:[55, 3] Operation: 78/26=3
Moving to Node #0,2,2
Current State: 58:[55, 3], Operations: ['84-6=78', '78/26=3']
Exploring Operation: 55+3=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.955729 | hs_4 | mult_heuristic |
[
53,
42,
79,
64
] | 77 | [
"42+64=106",
"106/53=2",
"79-2=77"
] | Current State: 77:[53, 42, 79, 64], Operations: []
Exploring Operation: 42+64=106, Resulting Numbers: [53, 79, 106]
Generated Node #2: [53, 79, 106] from Operation: 42+64=106
Current State: 77:[53, 79, 106], Operations: ['42+64=106']
Exploring Operation: 106/53=2, Resulting Numbers: [79, 2]
Generated Node #3: [79, 2] from Operation: 106/53=2
Current State: 77:[79, 2], Operations: ['42+64=106', '106/53=2']
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[53, 42, 79, 64], Operations: []
Exploring Operation: 53-42=11, Resulting Numbers: [79, 64, 11]
Generated Node #0,0: 77:[79, 64, 11] Operation: 53-42=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[79, 64, 11], Operations: ['53-42=11']
Exploring Operation: 79-64=15, Resulting Numbers: [11, 15]
Generated Node #0,0,0: 77:[11, 15] Operation: 79-64=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 77:[11, 15], Operations: ['53-42=11', '79-64=15']
Exploring Operation: 15-11=4, Resulting Numbers: [4]
4,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
No solution found.
| 0 | hs_1 | sum_heuristic |
[
17,
28,
38,
29
] | 78 | [
"28-17=11",
"38+29=67",
"11+67=78"
] | Current State: 78:[17, 28, 38, 29], Operations: []
Exploring Operation: 28-17=11, Resulting Numbers: [38, 29, 11]
Generated Node #2: [38, 29, 11] from Operation: 28-17=11
Current State: 78:[38, 29, 11], Operations: ['28-17=11']
Exploring Operation: 38+29=67, Resulting Numbers: [11, 67]
Generated Node #3: [11, 67] from Operation: 38+29=67
Current State: 78:[11, 67], Operations: ['28-17=11', '38+29=67']
Exploring Operation: 11+67=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[17, 28, 38, 29], Operations: []
Exploring Operation: 29-17=12, Resulting Numbers: [28, 38, 12]
Generated Node #0,0: 78:[28, 38, 12] Operation: 29-17=12
Moving to Node #0,0
Current State: 78:[28, 38, 12], Operations: ['29-17=12']
Exploring Operation: 28+12=40, Resulting Numbers: [38, 40]
Generated Node #0,0,0: 78:[38, 40] Operation: 28+12=40
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 78:[38, 40], Operations: ['29-17=12', '28+12=40']
Exploring Operation: 38+40=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[17, 28, 38, 29], Operations: []
Exploring Operation: 29-17=12, Resulting Numbers: [28, 38, 12]
Generated Node #0,0: 78:[28, 38, 12] Operation: 29-17=12
Moving to Node #0,0
Current State: 78:[28, 38, 12], Operations: ['29-17=12']
Exploring Operation: 28+12=40, Resulting Numbers: [38, 40]
Generated Node #0,0,0: 78:[38, 40] Operation: 28+12=40
Moving to Node #0,0,0
Current State: 78:[38, 40], Operations: ['29-17=12', '28+12=40']
Exploring Operation: 38+40=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
69,
36,
57,
27
] | 35 | [
"69*36=2484",
"2484/27=92",
"92-57=35"
] | Current State: 35:[69, 36, 57, 27], Operations: []
Exploring Operation: 69*36=2484, Resulting Numbers: [57, 27, 2484]
Generated Node #2: [57, 27, 2484] from Operation: 69*36=2484
Current State: 35:[57, 27, 2484], Operations: ['69*36=2484']
Exploring Operation: 2484/27=92, Resulting Numbers: [57, 92]
Generated Node #3: [57, 92] from Operation: 2484/27=92
Current State: 35:[57, 92], Operations: ['69*36=2484', '2484/27=92']
Exploring Operation: 92-57=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[69, 36, 57, 27], Operations: []
Exploring Operation: 69-27=42, Resulting Numbers: [36, 57, 42]
Generated Node #0,0: 35:[36, 57, 42] Operation: 69-27=42
Exploring Operation: 57-36=21, Resulting Numbers: [69, 27, 21]
Generated Node #0,1: 35:[69, 27, 21] Operation: 57-36=21
Exploring Operation: 57-27=30, Resulting Numbers: [69, 36, 30]
Generated Node #0,2: 35:[69, 36, 30] Operation: 57-27=30
Exploring Operation: 69-36=33, Resulting Numbers: [57, 27, 33]
Generated Node #0,3: 35:[57, 27, 33] Operation: 69-36=33
Exploring Operation: 69-57=12, Resulting Numbers: [36, 27, 12]
Generated Node #0,4: 35:[36, 27, 12] Operation: 69-57=12
Moving to Node #0,4
Current State: 35:[36, 27, 12], Operations: ['69-57=12']
Exploring Operation: 36-27=9, Resulting Numbers: [12, 9]
Generated Node #0,4,0: 35:[12, 9] Operation: 36-27=9
Exploring Operation: 36/12=3, Resulting Numbers: [27, 3]
Generated Node #0,4,1: 35:[27, 3] Operation: 36/12=3
Exploring Operation: 36-12=24, Resulting Numbers: [27, 24]
Generated Node #0,4,2: 35:[27, 24] Operation: 36-12=24
Exploring Operation: 27+12=39, Resulting Numbers: [36, 39]
Generated Node #0,4,3: 35:[36, 39] Operation: 27+12=39
Exploring Operation: 27-12=15, Resulting Numbers: [36, 15]
Generated Node #0,4,4: 35:[36, 15] Operation: 27-12=15
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 35:[36, 39], Operations: ['69-57=12', '27+12=39']
Exploring Operation: 36*39=1404, Resulting Numbers: [1404]
1404,35 unequal: No Solution
Exploring Operation: 36+39=75, Resulting Numbers: [75]
75,35 unequal: No Solution
Exploring Operation: 39-36=3, Resulting Numbers: [3]
3,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,4,0
Current State: 35:[12, 9], Operations: ['69-57=12', '36-27=9']
Exploring Operation: 12+9=21, Resulting Numbers: [21]
21,35 unequal: No Solution
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 12*9=108, Resulting Numbers: [108]
108,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,4,4
Current State: 35:[36, 15], Operations: ['69-57=12', '27-12=15']
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,35 unequal: No Solution
Exploring Operation: 36+15=51, Resulting Numbers: [51]
51,35 unequal: No Solution
Exploring Operation: 36*15=540, Resulting Numbers: [540]
540,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,4,1
Current State: 35:[27, 3], Operations: ['69-57=12', '36/12=3']
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,35 unequal: No Solution
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,35 unequal: No Solution
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,35 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,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,4,2
Current State: 35:[27, 24], Operations: ['69-57=12', '36-12=24']
Exploring Operation: 27*24=648, Resulting Numbers: [648]
648,35 unequal: No Solution
Exploring Operation: 27+24=51, Resulting Numbers: [51]
51,35 unequal: No Solution
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,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:[36, 57, 42], Operations: ['69-27=42']
Exploring Operation: 36+42=78, Resulting Numbers: [57, 78]
Generated Node #0,0,0: 35:[57, 78] Operation: 36+42=78
Exploring Operation: 36+57=93, Resulting Numbers: [42, 93]
Generated Node #0,0,1: 35:[42, 93] Operation: 36+57=93
Exploring Operation: 57-42=15, Resulting Numbers: [36, 15]
Generated Node #0,0,2: 35:[36, 15] Operation: 57-42=15
Exploring Operation: 57-36=21, Resulting Numbers: [42, 21]
Generated Node #0,0,3: 35:[42, 21] Operation: 57-36=21
Exploring Operation: 42-36=6, Resulting Numbers: [57, 6]
Generated Node #0,0,4: 35:[57, 6] Operation: 42-36=6
Moving to Node #0,3
Current State: 35:[57, 27, 33], Operations: ['69-36=33']
Exploring Operation: 57-27=30, Resulting Numbers: [33, 30]
Generated Node #0,3,0: 35:[33, 30] Operation: 57-27=30
Exploring Operation: 33-27=6, Resulting Numbers: [57, 6]
Generated Node #0,3,1: 35:[57, 6] Operation: 33-27=6
Exploring Operation: 57-33=24, Resulting Numbers: [27, 24]
Generated Node #0,3,2: 35:[27, 24] Operation: 57-33=24
Exploring Operation: 27+33=60, Resulting Numbers: [57, 60]
Generated Node #0,3,3: 35:[57, 60] Operation: 27+33=60
Exploring Operation: 57+27=84, Resulting Numbers: [33, 84]
Generated Node #0,3,4: 35:[33, 84] Operation: 57+27=84
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 35:[33, 30], Operations: ['69-36=33', '57-27=30']
Exploring Operation: 33+30=63, Resulting Numbers: [63]
63,35 unequal: No Solution
Exploring Operation: 33-30=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 33*30=990, Resulting Numbers: [990]
990,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,3,2
Current State: 35:[27, 24], Operations: ['69-36=33', '57-33=24']
Exploring Operation: 27*24=648, Resulting Numbers: [648]
648,35 unequal: No Solution
Exploring Operation: 27+24=51, Resulting Numbers: [51]
51,35 unequal: No Solution
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,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,3,1
Current State: 35:[57, 6], Operations: ['69-36=33', '33-27=6']
Exploring Operation: 57+6=63, Resulting Numbers: [63]
63,35 unequal: No Solution
Exploring Operation: 57*6=342, Resulting Numbers: [342]
342,35 unequal: No Solution
Exploring Operation: 57-6=51, Resulting Numbers: [51]
51,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,3,3
Current State: 35:[57, 60], Operations: ['69-36=33', '27+33=60']
Exploring Operation: 57*60=3420, Resulting Numbers: [3420]
3420,35 unequal: No Solution
Exploring Operation: 60-57=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 57+60=117, Resulting Numbers: [117]
117,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,3,4
Current State: 35:[33, 84], Operations: ['69-36=33', '57+27=84']
Exploring Operation: 33*84=2772, Resulting Numbers: [2772]
2772,35 unequal: No Solution
Exploring Operation: 33+84=117, Resulting Numbers: [117]
117,35 unequal: No Solution
Exploring Operation: 84-33=51, Resulting Numbers: [51]
51,35 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: 35:[69, 36, 30], Operations: ['57-27=30']
Exploring Operation: 36+30=66, Resulting Numbers: [69, 66]
Generated Node #0,2,0: 35:[69, 66] Operation: 36+30=66
Exploring Operation: 36-30=6, Resulting Numbers: [69, 6]
Generated Node #0,2,1: 35:[69, 6] Operation: 36-30=6
Exploring Operation: 69+30=99, Resulting Numbers: [36, 99]
Generated Node #0,2,2: 35:[36, 99] Operation: 69+30=99
Exploring Operation: 69-36=33, Resulting Numbers: [30, 33]
Generated Node #0,2,3: 35:[30, 33] Operation: 69-36=33
Exploring Operation: 69-30=39, Resulting Numbers: [36, 39]
Generated Node #0,2,4: 35:[36, 39] Operation: 69-30=39
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 35:[36, 39], Operations: ['57-27=30', '69-30=39']
Exploring Operation: 39-36=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 36+39=75, Resulting Numbers: [75]
75,35 unequal: No Solution
Exploring Operation: 36*39=1404, Resulting Numbers: [1404]
1404,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,3
Current State: 35:[30, 33], Operations: ['57-27=30', '69-36=33']
Exploring Operation: 30*33=990, Resulting Numbers: [990]
990,35 unequal: No Solution
Exploring Operation: 33-30=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 30+33=63, Resulting Numbers: [63]
63,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:[69, 6], Operations: ['57-27=30', '36-30=6']
Exploring Operation: 69*6=414, Resulting Numbers: [414]
414,35 unequal: No Solution
Exploring Operation: 69+6=75, Resulting Numbers: [75]
75,35 unequal: No Solution
Exploring Operation: 69-6=63, Resulting Numbers: [63]
63,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,0
Current State: 35:[69, 66], Operations: ['57-27=30', '36+30=66']
Exploring Operation: 69+66=135, Resulting Numbers: [135]
135,35 unequal: No Solution
Exploring Operation: 69*66=4554, Resulting Numbers: [4554]
4554,35 unequal: No Solution
Exploring Operation: 69-66=3, Resulting Numbers: [3]
3,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:[36, 99], Operations: ['57-27=30', '69+30=99']
Exploring Operation: 99-36=63, Resulting Numbers: [63]
63,35 unequal: No Solution
Exploring Operation: 36+99=135, Resulting Numbers: [135]
135,35 unequal: No Solution
Exploring Operation: 36*99=3564, Resulting Numbers: [3564]
3564,35 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: 35:[69, 27, 21], Operations: ['57-36=21']
Exploring Operation: 27+21=48, Resulting Numbers: [69, 48]
Generated Node #0,1,0: 35:[69, 48] Operation: 27+21=48
Exploring Operation: 27-21=6, Resulting Numbers: [69, 6]
Generated Node #0,1,1: 35:[69, 6] Operation: 27-21=6
Exploring Operation: 69-27=42, Resulting Numbers: [21, 42]
Generated Node #0,1,2: 35:[21, 42] Operation: 69-27=42
Exploring Operation: 69-21=48, Resulting Numbers: [27, 48]
Generated Node #0,1,3: 35:[27, 48] Operation: 69-21=48
Exploring Operation: 69+21=90, Resulting Numbers: [27, 90]
Generated Node #0,1,4: 35:[27, 90] Operation: 69+21=90
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 35:[21, 42], Operations: ['57-36=21', '69-27=42']
Exploring Operation: 42/21=2, Resulting Numbers: [2]
2,35 unequal: No Solution
Exploring Operation: 42-21=21, Resulting Numbers: [21]
21,35 unequal: No Solution
Exploring Operation: 21+42=63, Resulting Numbers: [63]
63,35 unequal: No Solution
Exploring Operation: 21*42=882, Resulting Numbers: [882]
882,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,1,3
Current State: 35:[27, 48], Operations: ['57-36=21', '69-21=48']
Exploring Operation: 27+48=75, Resulting Numbers: [75]
75,35 unequal: No Solution
Exploring Operation: 27*48=1296, Resulting Numbers: [1296]
1296,35 unequal: No Solution
Exploring Operation: 48-27=21, Resulting Numbers: [21]
21,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,1,1
Current State: 35:[69, 6], Operations: ['57-36=21', '27-21=6']
Exploring Operation: 69+6=75, Resulting Numbers: [75]
75,35 unequal: No Solution
Exploring Operation: 69*6=414, Resulting Numbers: [414]
414,35 unequal: No Solution
Exploring Operation: 69-6=63, Resulting Numbers: [63]
63,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,1,0
Current State: 35:[69, 48], Operations: ['57-36=21', '27+21=48']
Exploring Operation: 69+48=117, Resulting Numbers: [117]
117,35 unequal: No Solution
Exploring Operation: 69*48=3312, Resulting Numbers: [3312]
3312,35 unequal: No Solution
Exploring Operation: 69-48=21, Resulting Numbers: [21]
21,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,1,4
Current State: 35:[27, 90], Operations: ['57-36=21', '69+21=90']
Exploring Operation: 27+90=117, Resulting Numbers: [117]
117,35 unequal: No Solution
Exploring Operation: 27*90=2430, Resulting Numbers: [2430]
2430,35 unequal: No Solution
Exploring Operation: 90-27=63, Resulting Numbers: [63]
63,35 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: 35:[36, 15], Operations: ['69-27=42', '57-42=15']
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,35 unequal: No Solution
Exploring Operation: 36*15=540, Resulting Numbers: [540]
540,35 unequal: No Solution
Exploring Operation: 36+15=51, Resulting Numbers: [51]
51,35 unequal: No Solution
Moving to Node #0,0,3
Current State: 35:[42, 21], Operations: ['69-27=42', '57-36=21']
Exploring Operation: 42*21=882, Resulting Numbers: [882]
882,35 unequal: No Solution
Exploring Operation: 42+21=63, Resulting Numbers: [63]
63,35 unequal: No Solution
Exploring Operation: 42-21=21, Resulting Numbers: [21]
21,35 unequal: No Solution
Exploring Operation: 42/21=2, Resulting Numbers: [2]
2,35 unequal: No Solution
Moving to Node #0,0,4
Current State: 35:[57, 6], Operations: ['69-27=42', '42-36=6']
Exploring Operation: 57+6=63, Resulting Numbers: [63]
63,35 unequal: No Solution
Exploring Operation: 57-6=51, Resulting Numbers: [51]
51,35 unequal: No Solution
Exploring Operation: 57*6=342, Resulting Numbers: [342]
342,35 unequal: No Solution
Moving to Node #0,0,0
Current State: 35:[57, 78], Operations: ['69-27=42', '36+42=78']
Exploring Operation: 78-57=21, Resulting Numbers: [21]
21,35 unequal: No Solution
Exploring Operation: 57*78=4446, Resulting Numbers: [4446]
4446,35 unequal: No Solution
Exploring Operation: 57+78=135, Resulting Numbers: [135]
135,35 unequal: No Solution
Moving to Node #0,0,1
Current State: 35:[42, 93], Operations: ['69-27=42', '36+57=93']
Exploring Operation: 42+93=135, Resulting Numbers: [135]
135,35 unequal: No Solution
Exploring Operation: 93-42=51, Resulting Numbers: [51]
51,35 unequal: No Solution
Exploring Operation: 42*93=3906, Resulting Numbers: [3906]
3906,35 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
10,
73,
14,
5
] | 54 | [
"73-10=63",
"14-5=9",
"63-9=54"
] | Current State: 54:[10, 73, 14, 5], Operations: []
Exploring Operation: 73-10=63, Resulting Numbers: [14, 5, 63]
Generated Node #2: [14, 5, 63] from Operation: 73-10=63
Current State: 54:[14, 5, 63], Operations: ['73-10=63']
Exploring Operation: 14-5=9, Resulting Numbers: [63, 9]
Generated Node #3: [63, 9] from Operation: 14-5=9
Current State: 54:[63, 9], Operations: ['73-10=63', '14-5=9']
Exploring Operation: 63-9=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[10, 73, 14, 5], Operations: []
Exploring Operation: 73-14=59, Resulting Numbers: [10, 5, 59]
Generated Node #0,0: 54:[10, 5, 59] Operation: 73-14=59
Exploring Operation: 73-10=63, Resulting Numbers: [14, 5, 63]
Generated Node #0,1: 54:[14, 5, 63] Operation: 73-10=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[10, 5, 59], Operations: ['73-14=59']
Exploring Operation: 10/5=2, Resulting Numbers: [59, 2]
Generated Node #0,0,0: 54:[59, 2] Operation: 10/5=2
Exploring Operation: 59-5=54, Resulting Numbers: [10, 54]
Generated Node #0,0,1: 54:[10, 54] Operation: 59-5=54
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 54:[10, 54], Operations: ['73-14=59', '59-5=54']
Exploring Operation: 54-10=44, Resulting Numbers: [44]
44,54 unequal: No Solution
Exploring Operation: 10+54=64, Resulting Numbers: [64]
64,54 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: 54:[59, 2], Operations: ['73-14=59', '10/5=2']
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,54 unequal: No Solution
Exploring Operation: 59+2=61, Resulting Numbers: [61]
61,54 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: 54:[14, 5, 63], Operations: ['73-10=63']
Exploring Operation: 63-5=58, Resulting Numbers: [14, 58]
Generated Node #0,1,0: 54:[14, 58] Operation: 63-5=58
Exploring Operation: 63-14=49, Resulting Numbers: [5, 49]
Generated Node #0,1,1: 54:[5, 49] Operation: 63-14=49
Moving to Node #0,1,1
Current State: 54:[5, 49], Operations: ['73-10=63', '63-14=49']
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,54 unequal: No Solution
Exploring Operation: 5+49=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[10, 73, 14, 5], Operations: []
Exploring Operation: 73-10=63, Resulting Numbers: [14, 5, 63]
Generated Node #0,1: 54:[14, 5, 63] Operation: 73-10=63
Moving to Node #0,1
Current State: 54:[14, 5, 63], Operations: ['73-10=63']
Exploring Operation: 63-14=49, Resulting Numbers: [5, 49]
Generated Node #0,1,1: 54:[5, 49] Operation: 63-14=49
Moving to Node #0,1,1
Current State: 54:[5, 49], Operations: ['73-10=63', '63-14=49']
Exploring Operation: 5+49=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
80,
50,
47,
61
] | 47 | [
"80+61=141",
"50-47=3",
"141/3=47"
] | Current State: 47:[80, 50, 47, 61], Operations: []
Exploring Operation: 80+61=141, Resulting Numbers: [50, 47, 141]
Generated Node #2: [50, 47, 141] from Operation: 80+61=141
Current State: 47:[50, 47, 141], Operations: ['80+61=141']
Exploring Operation: 50-47=3, Resulting Numbers: [141, 3]
Generated Node #3: [141, 3] from Operation: 50-47=3
Current State: 47:[141, 3], Operations: ['80+61=141', '50-47=3']
Exploring Operation: 141/3=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[80, 50, 47, 61], Operations: []
Exploring Operation: 80-47=33, Resulting Numbers: [50, 61, 33]
Generated Node #0,0: 47:[50, 61, 33] Operation: 80-47=33
Exploring Operation: 80-50=30, Resulting Numbers: [47, 61, 30]
Generated Node #0,1: 47:[47, 61, 30] Operation: 80-50=30
Exploring Operation: 80-61=19, Resulting Numbers: [50, 47, 19]
Generated Node #0,2: 47:[50, 47, 19] Operation: 80-61=19
Moving to Node #0,0
Current State: 47:[50, 61, 33], Operations: ['80-47=33']
Exploring Operation: 50-33=17, Resulting Numbers: [61, 17]
Generated Node #0,0,0: 47:[61, 17] Operation: 50-33=17
Exploring Operation: 61-33=28, Resulting Numbers: [50, 28]
Generated Node #0,0,1: 47:[50, 28] Operation: 61-33=28
Exploring Operation: 61-50=11, Resulting Numbers: [33, 11]
Generated Node #0,0,2: 47:[33, 11] Operation: 61-50=11
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 47:[50, 28], Operations: ['80-47=33', '61-33=28']
Exploring Operation: 50+28=78, Resulting Numbers: [78]
78,47 unequal: No Solution
Exploring Operation: 50-28=22, Resulting Numbers: [22]
22,47 unequal: No Solution
Exploring Operation: 50*28=1400, Resulting Numbers: [1400]
1400,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 47:[61, 17], Operations: ['80-47=33', '50-33=17']
Exploring Operation: 61+17=78, Resulting Numbers: [78]
78,47 unequal: No Solution
Exploring Operation: 61*17=1037, Resulting Numbers: [1037]
1037,47 unequal: No Solution
Exploring Operation: 61-17=44, Resulting Numbers: [44]
44,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 47:[33, 11], Operations: ['80-47=33', '61-50=11']
Exploring Operation: 33/11=3, Resulting Numbers: [3]
3,47 unequal: No Solution
Exploring Operation: 33-11=22, Resulting Numbers: [22]
22,47 unequal: No Solution
Exploring Operation: 33+11=44, Resulting Numbers: [44]
44,47 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: 47:[47, 61, 30], Operations: ['80-50=30']
Exploring Operation: 47-30=17, Resulting Numbers: [61, 17]
Generated Node #0,1,0: 47:[61, 17] Operation: 47-30=17
Exploring Operation: 61-30=31, Resulting Numbers: [47, 31]
Generated Node #0,1,1: 47:[47, 31] Operation: 61-30=31
Exploring Operation: 47+30=77, Resulting Numbers: [61, 77]
Generated Node #0,1,2: 47:[61, 77] Operation: 47+30=77
Moving to Node #0,2
Current State: 47:[50, 47, 19], Operations: ['80-61=19']
Exploring Operation: 47+19=66, Resulting Numbers: [50, 66]
Generated Node #0,2,0: 47:[50, 66] Operation: 47+19=66
Exploring Operation: 50+19=69, Resulting Numbers: [47, 69]
Generated Node #0,2,1: 47:[47, 69] Operation: 50+19=69
Exploring Operation: 50-19=31, Resulting Numbers: [47, 31]
Generated Node #0,2,2: 47:[47, 31] Operation: 50-19=31
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 47:[47, 31], Operations: ['80-61=19', '50-19=31']
Exploring Operation: 47*31=1457, Resulting Numbers: [1457]
1457,47 unequal: No Solution
Exploring Operation: 47+31=78, Resulting Numbers: [78]
78,47 unequal: No Solution
Exploring Operation: 47-31=16, Resulting Numbers: [16]
16,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:[50, 66], Operations: ['80-61=19', '47+19=66']
Exploring Operation: 50+66=116, Resulting Numbers: [116]
116,47 unequal: No Solution
Exploring Operation: 50*66=3300, Resulting Numbers: [3300]
3300,47 unequal: No Solution
Exploring Operation: 66-50=16, Resulting Numbers: [16]
16,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,1
Current State: 47:[47, 69], Operations: ['80-61=19', '50+19=69']
Exploring Operation: 69-47=22, Resulting Numbers: [22]
22,47 unequal: No Solution
Exploring Operation: 47*69=3243, Resulting Numbers: [3243]
3243,47 unequal: No Solution
Exploring Operation: 47+69=116, Resulting Numbers: [116]
116,47 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: 47:[47, 31], Operations: ['80-50=30', '61-30=31']
Exploring Operation: 47+31=78, Resulting Numbers: [78]
78,47 unequal: No Solution
Exploring Operation: 47-31=16, Resulting Numbers: [16]
16,47 unequal: No Solution
Exploring Operation: 47*31=1457, Resulting Numbers: [1457]
1457,47 unequal: No Solution
Moving to Node #0,1,0
Current State: 47:[61, 17], Operations: ['80-50=30', '47-30=17']
Exploring Operation: 61*17=1037, Resulting Numbers: [1037]
1037,47 unequal: No Solution
Exploring Operation: 61-17=44, Resulting Numbers: [44]
44,47 unequal: No Solution
Exploring Operation: 61+17=78, Resulting Numbers: [78]
78,47 unequal: No Solution
Moving to Node #0,1,2
Current State: 47:[61, 77], Operations: ['80-50=30', '47+30=77']
Exploring Operation: 77-61=16, Resulting Numbers: [16]
16,47 unequal: No Solution
Exploring Operation: 61*77=4697, Resulting Numbers: [4697]
4697,47 unequal: No Solution
Exploring Operation: 61+77=138, Resulting Numbers: [138]
138,47 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
80,
21,
19,
23
] | 18 | [
"80-23=57",
"57/19=3",
"21-3=18"
] | Current State: 18:[80, 21, 19, 23], Operations: []
Exploring Operation: 80-23=57, Resulting Numbers: [21, 19, 57]
Generated Node #2: [21, 19, 57] from Operation: 80-23=57
Current State: 18:[21, 19, 57], Operations: ['80-23=57']
Exploring Operation: 57/19=3, Resulting Numbers: [21, 3]
Generated Node #3: [21, 3] from Operation: 57/19=3
Current State: 18:[21, 3], Operations: ['80-23=57', '57/19=3']
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[80, 21, 19, 23], Operations: []
Exploring Operation: 23-19=4, Resulting Numbers: [80, 21, 4]
Generated Node #0,0: 18:[80, 21, 4] Operation: 23-19=4
Exploring Operation: 80-19=61, Resulting Numbers: [21, 23, 61]
Generated Node #0,1: 18:[21, 23, 61] Operation: 80-19=61
Exploring Operation: 23-21=2, Resulting Numbers: [80, 19, 2]
Generated Node #0,2: 18:[80, 19, 2] Operation: 23-21=2
Exploring Operation: 80-21=59, Resulting Numbers: [19, 23, 59]
Generated Node #0,3: 18:[19, 23, 59] Operation: 80-21=59
Exploring Operation: 80-23=57, Resulting Numbers: [21, 19, 57]
Generated Node #0,4: 18:[21, 19, 57] Operation: 80-23=57
Start Sub Search at level 1: Moving to Node #0,4
Current State: 18:[21, 19, 57], Operations: ['80-23=57']
Exploring Operation: 21-19=2, Resulting Numbers: [57, 2]
Generated Node #0,4,0: 18:[57, 2] Operation: 21-19=2
Exploring Operation: 21+19=40, Resulting Numbers: [57, 40]
Generated Node #0,4,1: 18:[57, 40] Operation: 21+19=40
Exploring Operation: 57-21=36, Resulting Numbers: [19, 36]
Generated Node #0,4,2: 18:[19, 36] Operation: 57-21=36
Exploring Operation: 57/19=3, Resulting Numbers: [21, 3]
Generated Node #0,4,3: 18:[21, 3] Operation: 57/19=3
Exploring Operation: 57-19=38, Resulting Numbers: [21, 38]
Generated Node #0,4,4: 18:[21, 38] Operation: 57-19=38
Moving to Node #0,4,3
Current State: 18:[21, 3], Operations: ['80-23=57', '57/19=3']
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,18 unequal: No Solution
Exploring Operation: 21*3=63, Resulting Numbers: [63]
63,18 unequal: No Solution
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[80, 21, 19, 23], Operations: []
Exploring Operation: 80-23=57, Resulting Numbers: [21, 19, 57]
Generated Node #0,4: 18:[21, 19, 57] Operation: 80-23=57
Moving to Node #0,4
Current State: 18:[21, 19, 57], Operations: ['80-23=57']
Exploring Operation: 57/19=3, Resulting Numbers: [21, 3]
Generated Node #0,4,3: 18:[21, 3] Operation: 57/19=3
Moving to Node #0,4,3
Current State: 18:[21, 3], Operations: ['80-23=57', '57/19=3']
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
27,
15,
67,
21
] | 46 | [
"27+15=42",
"67+21=88",
"88-42=46"
] | Current State: 46:[27, 15, 67, 21], Operations: []
Exploring Operation: 27+15=42, Resulting Numbers: [67, 21, 42]
Generated Node #2: [67, 21, 42] from Operation: 27+15=42
Current State: 46:[67, 21, 42], Operations: ['27+15=42']
Exploring Operation: 67+21=88, Resulting Numbers: [42, 88]
Generated Node #3: [42, 88] from Operation: 67+21=88
Current State: 46:[42, 88], Operations: ['27+15=42', '67+21=88']
Exploring Operation: 88-42=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[27, 15, 67, 21], Operations: []
Exploring Operation: 67-15=52, Resulting Numbers: [27, 21, 52]
Generated Node #0,0: 46:[27, 21, 52] Operation: 67-15=52
Exploring Operation: 67-21=46, Resulting Numbers: [27, 15, 46]
Generated Node #0,1: 46:[27, 15, 46] Operation: 67-21=46
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[27, 21, 52], Operations: ['67-15=52']
Exploring Operation: 52-27=25, Resulting Numbers: [21, 25]
Generated Node #0,0,0: 46:[21, 25] Operation: 52-27=25
Exploring Operation: 27+21=48, Resulting Numbers: [52, 48]
Generated Node #0,0,1: 46:[52, 48] Operation: 27+21=48
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 46:[21, 25], Operations: ['67-15=52', '52-27=25']
Exploring Operation: 21+25=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[27, 15, 67, 21], Operations: []
Exploring Operation: 67-15=52, Resulting Numbers: [27, 21, 52]
Generated Node #0,0: 46:[27, 21, 52] Operation: 67-15=52
Moving to Node #0,0
Current State: 46:[27, 21, 52], Operations: ['67-15=52']
Exploring Operation: 52-27=25, Resulting Numbers: [21, 25]
Generated Node #0,0,0: 46:[21, 25] Operation: 52-27=25
Moving to Node #0,0,0
Current State: 46:[21, 25], Operations: ['67-15=52', '52-27=25']
Exploring Operation: 21+25=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
26,
58,
32,
22
] | 30 | [
"26+58=84",
"32+22=54",
"84-54=30"
] | Current State: 30:[26, 58, 32, 22], Operations: []
Exploring Operation: 26+58=84, Resulting Numbers: [32, 22, 84]
Generated Node #2: [32, 22, 84] from Operation: 26+58=84
Current State: 30:[32, 22, 84], Operations: ['26+58=84']
Exploring Operation: 32+22=54, Resulting Numbers: [84, 54]
Generated Node #3: [84, 54] from Operation: 32+22=54
Current State: 30:[84, 54], Operations: ['26+58=84', '32+22=54']
Exploring Operation: 84-54=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[26, 58, 32, 22], Operations: []
Exploring Operation: 58-22=36, Resulting Numbers: [26, 32, 36]
Generated Node #0,0: 30:[26, 32, 36] Operation: 58-22=36
Exploring Operation: 58-26=32, Resulting Numbers: [32, 22, 32]
Generated Node #0,1: 30:[32, 22, 32] Operation: 58-26=32
Moving to Node #0,1
Current State: 30:[32, 22, 32], Operations: ['58-26=32']
Exploring Operation: 32-22=10, Resulting Numbers: [32, 10]
Generated Node #0,1,0: 30:[32, 10] Operation: 32-22=10
Exploring Operation: 32-22=10, Resulting Numbers: [32, 10]
Generated Node #0,1,1: 30:[32, 10] Operation: 32-22=10
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 30:[32, 10], Operations: ['58-26=32', '32-22=10']
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,30 unequal: No Solution
Exploring Operation: 32+10=42, Resulting Numbers: [42]
42,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:[32, 10], Operations: ['58-26=32', '32-22=10']
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,30 unequal: No Solution
Exploring Operation: 32+10=42, Resulting Numbers: [42]
42,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:[26, 32, 36], Operations: ['58-22=36']
Exploring Operation: 36-32=4, Resulting Numbers: [26, 4]
Generated Node #0,0,0: 30:[26, 4] Operation: 36-32=4
Exploring Operation: 36-26=10, Resulting Numbers: [32, 10]
Generated Node #0,0,1: 30:[32, 10] Operation: 36-26=10
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 30:[32, 10], Operations: ['58-22=36', '36-26=10']
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,30 unequal: No Solution
Exploring Operation: 32+10=42, Resulting Numbers: [42]
42,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:[26, 4], Operations: ['58-22=36', '36-32=4']
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,30 unequal: No Solution
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[26, 58, 32, 22], Operations: []
Exploring Operation: 58-22=36, Resulting Numbers: [26, 32, 36]
Generated Node #0,0: 30:[26, 32, 36] Operation: 58-22=36
Moving to Node #0,0
Current State: 30:[26, 32, 36], Operations: ['58-22=36']
Exploring Operation: 36-32=4, Resulting Numbers: [26, 4]
Generated Node #0,0,0: 30:[26, 4] Operation: 36-32=4
Moving to Node #0,0,0
Current State: 30:[26, 4], Operations: ['58-22=36', '36-32=4']
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_2 | sum_heuristic |
[
2,
44,
21,
15
] | 36 | [
"44-2=42",
"21-15=6",
"42-6=36"
] | Current State: 36:[2, 44, 21, 15], Operations: []
Exploring Operation: 44-2=42, Resulting Numbers: [21, 15, 42]
Generated Node #2: [21, 15, 42] from Operation: 44-2=42
Current State: 36:[21, 15, 42], Operations: ['44-2=42']
Exploring Operation: 21-15=6, Resulting Numbers: [42, 6]
Generated Node #3: [42, 6] from Operation: 21-15=6
Current State: 36:[42, 6], Operations: ['44-2=42', '21-15=6']
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[2, 44, 21, 15], Operations: []
Exploring Operation: 21+15=36, Resulting Numbers: [2, 44, 36]
Generated Node #0,0: 36:[2, 44, 36] Operation: 21+15=36
Exploring Operation: 44-21=23, Resulting Numbers: [2, 15, 23]
Generated Node #0,1: 36:[2, 15, 23] Operation: 44-21=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[2, 44, 36], Operations: ['21+15=36']
Exploring Operation: 44-36=8, Resulting Numbers: [2, 8]
Generated Node #0,0,0: 36:[2, 8] Operation: 44-36=8
Exploring Operation: 44/2=22, Resulting Numbers: [36, 22]
Generated Node #0,0,1: 36:[36, 22] Operation: 44/2=22
Moving to Node #0,0,0
Current State: 36:[2, 8], Operations: ['21+15=36', '44-36=8']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,36 unequal: No Solution
Moving to Node #0,0,1
Current State: 36:[36, 22], Operations: ['21+15=36', '44/2=22']
Exploring Operation: 36-22=14, Resulting Numbers: [14]
14,36 unequal: No Solution
Exploring Operation: 36+22=58, Resulting Numbers: [58]
58,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
Current State: 36:[2, 15, 23], Operations: ['44-21=23']
Exploring Operation: 15+23=38, Resulting Numbers: [2, 38]
Generated Node #0,1,0: 36:[2, 38] Operation: 15+23=38
Exploring Operation: 23-15=8, Resulting Numbers: [2, 8]
Generated Node #0,1,1: 36:[2, 8] Operation: 23-15=8
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 36:[2, 8], Operations: ['44-21=23', '23-15=8']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,36 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: 36:[2, 38], Operations: ['44-21=23', '15+23=38']
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:[2, 44, 21, 15], Operations: []
Exploring Operation: 44-21=23, Resulting Numbers: [2, 15, 23]
Generated Node #0,1: 36:[2, 15, 23] Operation: 44-21=23
Moving to Node #0,1
Current State: 36:[2, 15, 23], Operations: ['44-21=23']
Exploring Operation: 15+23=38, Resulting Numbers: [2, 38]
Generated Node #0,1,0: 36:[2, 38] Operation: 15+23=38
Moving to Node #0,1,0
Current State: 36:[2, 38], Operations: ['44-21=23', '15+23=38']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_2 | mult_heuristic |
[
68,
18,
24,
78
] | 55 | [
"24-18=6",
"78/6=13",
"68-13=55"
] | Current State: 55:[68, 18, 24, 78], Operations: []
Exploring Operation: 24-18=6, Resulting Numbers: [68, 78, 6]
Generated Node #2: [68, 78, 6] from Operation: 24-18=6
Current State: 55:[68, 78, 6], Operations: ['24-18=6']
Exploring Operation: 78/6=13, Resulting Numbers: [68, 13]
Generated Node #3: [68, 13] from Operation: 78/6=13
Current State: 55:[68, 13], Operations: ['24-18=6', '78/6=13']
Exploring Operation: 68-13=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[68, 18, 24, 78], Operations: []
Exploring Operation: 78-24=54, Resulting Numbers: [68, 18, 54]
Generated Node #0,0: 55:[68, 18, 54] Operation: 78-24=54
Exploring Operation: 78-18=60, Resulting Numbers: [68, 24, 60]
Generated Node #0,1: 55:[68, 24, 60] Operation: 78-18=60
Exploring Operation: 78-68=10, Resulting Numbers: [18, 24, 10]
Generated Node #0,2: 55:[18, 24, 10] Operation: 78-68=10
Exploring Operation: 24-18=6, Resulting Numbers: [68, 78, 6]
Generated Node #0,3: 55:[68, 78, 6] Operation: 24-18=6
Moving to Node #0,0
Current State: 55:[68, 18, 54], Operations: ['78-24=54']
Exploring Operation: 54/18=3, Resulting Numbers: [68, 3]
Generated Node #0,0,0: 55:[68, 3] Operation: 54/18=3
Exploring Operation: 68-54=14, Resulting Numbers: [18, 14]
Generated Node #0,0,1: 55:[18, 14] Operation: 68-54=14
Exploring Operation: 18+54=72, Resulting Numbers: [68, 72]
Generated Node #0,0,2: 55:[68, 72] Operation: 18+54=72
Exploring Operation: 68-18=50, Resulting Numbers: [54, 50]
Generated Node #0,0,3: 55:[54, 50] Operation: 68-18=50
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 55:[54, 50], Operations: ['78-24=54', '68-18=50']
Exploring Operation: 54+50=104, Resulting Numbers: [104]
104,55 unequal: No Solution
Exploring Operation: 54*50=2700, Resulting Numbers: [2700]
2700,55 unequal: No Solution
Exploring Operation: 54-50=4, Resulting Numbers: [4]
4,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 55:[18, 14], Operations: ['78-24=54', '68-54=14']
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 18*14=252, Resulting Numbers: [252]
252,55 unequal: No Solution
Exploring Operation: 18+14=32, Resulting Numbers: [32]
32,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 55:[68, 3], Operations: ['78-24=54', '54/18=3']
Exploring Operation: 68+3=71, Resulting Numbers: [71]
71,55 unequal: No Solution
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,55 unequal: No Solution
Exploring Operation: 68*3=204, Resulting Numbers: [204]
204,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 55:[68, 72], Operations: ['78-24=54', '18+54=72']
Exploring Operation: 72-68=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 68+72=140, Resulting Numbers: [140]
140,55 unequal: No Solution
Exploring Operation: 68*72=4896, Resulting Numbers: [4896]
4896,55 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: 55:[18, 24, 10], Operations: ['78-68=10']
Exploring Operation: 18-10=8, Resulting Numbers: [24, 8]
Generated Node #0,2,0: 55:[24, 8] Operation: 18-10=8
Exploring Operation: 24-18=6, Resulting Numbers: [10, 6]
Generated Node #0,2,1: 55:[10, 6] Operation: 24-18=6
Exploring Operation: 24-10=14, Resulting Numbers: [18, 14]
Generated Node #0,2,2: 55:[18, 14] Operation: 24-10=14
Exploring Operation: 18+24=42, Resulting Numbers: [10, 42]
Generated Node #0,2,3: 55:[10, 42] Operation: 18+24=42
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 55:[10, 6], Operations: ['78-68=10', '24-18=6']
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,55 unequal: No Solution
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 55:[18, 14], Operations: ['78-68=10', '24-10=14']
Exploring Operation: 18*14=252, Resulting Numbers: [252]
252,55 unequal: No Solution
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 18+14=32, Resulting Numbers: [32]
32,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 55:[10, 42], Operations: ['78-68=10', '18+24=42']
Exploring Operation: 10+42=52, Resulting Numbers: [52]
52,55 unequal: No Solution
Exploring Operation: 42-10=32, Resulting Numbers: [32]
32,55 unequal: No Solution
Exploring Operation: 10*42=420, Resulting Numbers: [420]
420,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 55:[24, 8], Operations: ['78-68=10', '18-10=8']
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,55 unequal: No Solution
Exploring Operation: 24*8=192, Resulting Numbers: [192]
192,55 unequal: No Solution
Exploring Operation: 24+8=32, Resulting Numbers: [32]
32,55 unequal: No Solution
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,55 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: 55:[68, 24, 60], Operations: ['78-18=60']
Exploring Operation: 68-60=8, Resulting Numbers: [24, 8]
Generated Node #0,1,0: 55:[24, 8] Operation: 68-60=8
Exploring Operation: 68-24=44, Resulting Numbers: [60, 44]
Generated Node #0,1,1: 55:[60, 44] Operation: 68-24=44
Exploring Operation: 68+24=92, Resulting Numbers: [60, 92]
Generated Node #0,1,2: 55:[60, 92] Operation: 68+24=92
Exploring Operation: 60-24=36, Resulting Numbers: [68, 36]
Generated Node #0,1,3: 55:[68, 36] Operation: 60-24=36
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 55:[24, 8], Operations: ['78-18=60', '68-60=8']
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,55 unequal: No Solution
Exploring Operation: 24+8=32, Resulting Numbers: [32]
32,55 unequal: No Solution
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,55 unequal: No Solution
Exploring Operation: 24*8=192, Resulting Numbers: [192]
192,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 55:[60, 44], Operations: ['78-18=60', '68-24=44']
Exploring Operation: 60+44=104, Resulting Numbers: [104]
104,55 unequal: No Solution
Exploring Operation: 60-44=16, Resulting Numbers: [16]
16,55 unequal: No Solution
Exploring Operation: 60*44=2640, Resulting Numbers: [2640]
2640,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 55:[68, 36], Operations: ['78-18=60', '60-24=36']
Exploring Operation: 68-36=32, Resulting Numbers: [32]
32,55 unequal: No Solution
Exploring Operation: 68+36=104, Resulting Numbers: [104]
104,55 unequal: No Solution
Exploring Operation: 68*36=2448, Resulting Numbers: [2448]
2448,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 55:[60, 92], Operations: ['78-18=60', '68+24=92']
Exploring Operation: 60*92=5520, Resulting Numbers: [5520]
5520,55 unequal: No Solution
Exploring Operation: 92-60=32, Resulting Numbers: [32]
32,55 unequal: No Solution
Exploring Operation: 60+92=152, Resulting Numbers: [152]
152,55 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: 55:[68, 78, 6], Operations: ['24-18=6']
Exploring Operation: 78-68=10, Resulting Numbers: [6, 10]
Generated Node #0,3,0: 55:[6, 10] Operation: 78-68=10
Exploring Operation: 68-6=62, Resulting Numbers: [78, 62]
Generated Node #0,3,1: 55:[78, 62] Operation: 68-6=62
Exploring Operation: 78-6=72, Resulting Numbers: [68, 72]
Generated Node #0,3,2: 55:[68, 72] Operation: 78-6=72
Exploring Operation: 78/6=13, Resulting Numbers: [68, 13]
Generated Node #0,3,3: 55:[68, 13] Operation: 78/6=13
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 55:[6, 10], Operations: ['24-18=6', '78-68=10']
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,55 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 55:[68, 13], Operations: ['24-18=6', '78/6=13']
Exploring Operation: 68+13=81, Resulting Numbers: [81]
81,55 unequal: No Solution
Exploring Operation: 68*13=884, Resulting Numbers: [884]
884,55 unequal: No Solution
Exploring Operation: 68-13=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[68, 18, 24, 78], Operations: []
Exploring Operation: 24-18=6, Resulting Numbers: [68, 78, 6]
Generated Node #0,3: 55:[68, 78, 6] Operation: 24-18=6
Moving to Node #0,3
Current State: 55:[68, 78, 6], Operations: ['24-18=6']
Exploring Operation: 78/6=13, Resulting Numbers: [68, 13]
Generated Node #0,3,3: 55:[68, 13] Operation: 78/6=13
Moving to Node #0,3,3
Current State: 55:[68, 13], Operations: ['24-18=6', '78/6=13']
Exploring Operation: 68-13=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.940972 | hs_4 | sum_heuristic |
[
8,
44,
62,
8
] | 80 | [
"8+44=52",
"62-52=10",
"8*10=80"
] | Current State: 80:[8, 44, 62, 8], Operations: []
Exploring Operation: 8+44=52, Resulting Numbers: [62, 52]
Generated Node #2: [62, 52] from Operation: 8+44=52
Current State: 80:[62, 52], Operations: ['8+44=52']
Exploring Operation: 62-52=10, Resulting Numbers: [10]
10,80 equal: Goal Reached
Exploring Operation: 8*10=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[8, 44, 62, 8], Operations: []
Exploring Operation: 62-44=18, Resulting Numbers: [8, 8, 18]
Generated Node #0,0: 80:[8, 8, 18] Operation: 62-44=18
Moving to Node #0,0
Current State: 80:[8, 8, 18], Operations: ['62-44=18']
Exploring Operation: 18-8=10, Resulting Numbers: [8, 10]
Generated Node #0,0,0: 80:[8, 10] Operation: 18-8=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 80:[8, 10], Operations: ['62-44=18', '18-8=10']
Exploring Operation: 8*10=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[8, 44, 62, 8], Operations: []
Exploring Operation: 62-44=18, Resulting Numbers: [8, 8, 18]
Generated Node #0,0: 80:[8, 8, 18] Operation: 62-44=18
Moving to Node #0,0
Current State: 80:[8, 8, 18], Operations: ['62-44=18']
Exploring Operation: 18-8=10, Resulting Numbers: [8, 10]
Generated Node #0,0,0: 80:[8, 10] Operation: 18-8=10
Moving to Node #0,0,0
Current State: 80:[8, 10], Operations: ['62-44=18', '18-8=10']
Exploring Operation: 8*10=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
7,
65,
28,
63
] | 28 | [
"63/7=9",
"65-28=37",
"37-9=28"
] | Current State: 28:[7, 65, 28, 63], Operations: []
Exploring Operation: 63/7=9, Resulting Numbers: [65, 28, 9]
Generated Node #2: [65, 28, 9] from Operation: 63/7=9
Current State: 28:[65, 28, 9], Operations: ['63/7=9']
Exploring Operation: 65-28=37, Resulting Numbers: [9, 37]
Generated Node #3: [9, 37] from Operation: 65-28=37
Current State: 28:[9, 37], Operations: ['63/7=9', '65-28=37']
Exploring Operation: 37-9=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[7, 65, 28, 63], Operations: []
Exploring Operation: 65-63=2, Resulting Numbers: [7, 28, 2]
Generated Node #0,0: 28:[7, 28, 2] Operation: 65-63=2
Exploring Operation: 65-28=37, Resulting Numbers: [7, 63, 37]
Generated Node #0,1: 28:[7, 63, 37] Operation: 65-28=37
Exploring Operation: 63/7=9, Resulting Numbers: [65, 28, 9]
Generated Node #0,2: 28:[65, 28, 9] Operation: 63/7=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[7, 28, 2], Operations: ['65-63=2']
Exploring Operation: 28/2=14, Resulting Numbers: [7, 14]
Generated Node #0,0,0: 28:[7, 14] Operation: 28/2=14
Exploring Operation: 7*2=14, Resulting Numbers: [28, 14]
Generated Node #0,0,1: 28:[28, 14] Operation: 7*2=14
Exploring Operation: 28/7=4, Resulting Numbers: [2, 4]
Generated Node #0,0,2: 28:[2, 4] Operation: 28/7=4
Moving to Node #0,0,0
Current State: 28:[7, 14], Operations: ['65-63=2', '28/2=14']
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 7+14=21, Resulting Numbers: [21]
21,28 unequal: No Solution
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Moving to Node #0,0,1
Current State: 28:[28, 14], Operations: ['65-63=2', '7*2=14']
Exploring Operation: 28+14=42, Resulting Numbers: [42]
42,28 unequal: No Solution
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Exploring Operation: 28/14=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Moving to Node #0,0,2
Current State: 28:[2, 4], Operations: ['65-63=2', '28/7=4']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,28 unequal: No Solution
No 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: 28:[65, 28, 9], Operations: ['63/7=9']
Exploring Operation: 65-9=56, Resulting Numbers: [28, 56]
Generated Node #0,2,0: 28:[28, 56] Operation: 65-9=56
Exploring Operation: 28-9=19, Resulting Numbers: [65, 19]
Generated Node #0,2,1: 28:[65, 19] Operation: 28-9=19
Exploring Operation: 65-28=37, Resulting Numbers: [9, 37]
Generated Node #0,2,2: 28:[9, 37] Operation: 65-28=37
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 28:[9, 37], Operations: ['63/7=9', '65-28=37']
Exploring Operation: 9+37=46, Resulting Numbers: [46]
46,28 unequal: No Solution
Exploring Operation: 9*37=333, Resulting Numbers: [333]
333,28 unequal: No Solution
Exploring Operation: 37-9=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[7, 65, 28, 63], Operations: []
Exploring Operation: 63/7=9, Resulting Numbers: [65, 28, 9]
Generated Node #0,2: 28:[65, 28, 9] Operation: 63/7=9
Moving to Node #0,2
Current State: 28:[65, 28, 9], Operations: ['63/7=9']
Exploring Operation: 65-28=37, Resulting Numbers: [9, 37]
Generated Node #0,2,2: 28:[9, 37] Operation: 65-28=37
Moving to Node #0,2,2
Current State: 28:[9, 37], Operations: ['63/7=9', '65-28=37']
Exploring Operation: 37-9=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.978299 | hs_3 | mult_heuristic |
[
4,
3,
80,
20
] | 100 | [
"4-3=1",
"80+20=100",
"1*100=100"
] | Current State: 100:[4, 3, 80, 20], Operations: []
Exploring Operation: 4-3=1, Resulting Numbers: [80, 20, 1]
Generated Node #2: [80, 20, 1] from Operation: 4-3=1
Current State: 100:[80, 20, 1], Operations: ['4-3=1']
Exploring Operation: 80+20=100, Resulting Numbers: [1, 100]
Generated Node #3: [1, 100] from Operation: 80+20=100
Current State: 100:[1, 100], Operations: ['4-3=1', '80+20=100']
Exploring Operation: 1*100=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[4, 3, 80, 20], Operations: []
Exploring Operation: 80+20=100, Resulting Numbers: [4, 3, 100]
Generated Node #0,0: 100:[4, 3, 100] Operation: 80+20=100
Exploring Operation: 80/4=20, Resulting Numbers: [3, 20, 20]
Generated Node #0,1: 100:[3, 20, 20] Operation: 80/4=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[4, 3, 100], Operations: ['80+20=100']
Exploring Operation: 100/4=25, Resulting Numbers: [3, 25]
Generated Node #0,0,0: 100:[3, 25] Operation: 100/4=25
Exploring Operation: 4-3=1, Resulting Numbers: [100, 1]
Generated Node #0,0,1: 100:[100, 1] Operation: 4-3=1
Moving to Node #0,0,0
Current State: 100:[3, 25], Operations: ['80+20=100', '100/4=25']
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,100 unequal: No Solution
Exploring Operation: 3+25=28, Resulting Numbers: [28]
28,100 unequal: No Solution
Moving to Node #0,0,1
Current State: 100:[100, 1], Operations: ['80+20=100', '4-3=1']
Exploring Operation: 100/1=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[4, 3, 80, 20], Operations: []
Exploring Operation: 80+20=100, Resulting Numbers: [4, 3, 100]
Generated Node #0,0: 100:[4, 3, 100] Operation: 80+20=100
Moving to Node #0,0
Current State: 100:[4, 3, 100], Operations: ['80+20=100']
Exploring Operation: 4-3=1, Resulting Numbers: [100, 1]
Generated Node #0,0,1: 100:[100, 1] Operation: 4-3=1
Moving to Node #0,0,1
Current State: 100:[100, 1], Operations: ['80+20=100', '4-3=1']
Exploring Operation: 100/1=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
56,
22,
59,
28
] | 35 | [
"56/28=2",
"59-22=37",
"37-2=35"
] | Current State: 35:[56, 22, 59, 28], Operations: []
Exploring Operation: 56/28=2, Resulting Numbers: [22, 59, 2]
Generated Node #2: [22, 59, 2] from Operation: 56/28=2
Current State: 35:[22, 59, 2], Operations: ['56/28=2']
Exploring Operation: 59-22=37, Resulting Numbers: [2, 37]
Generated Node #3: [2, 37] from Operation: 59-22=37
Current State: 35:[2, 37], Operations: ['56/28=2', '59-22=37']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[56, 22, 59, 28], Operations: []
Exploring Operation: 59-28=31, Resulting Numbers: [56, 22, 31]
Generated Node #0,0: 35:[56, 22, 31] Operation: 59-28=31
Exploring Operation: 59-56=3, Resulting Numbers: [22, 28, 3]
Generated Node #0,1: 35:[22, 28, 3] Operation: 59-56=3
Exploring Operation: 56-22=34, Resulting Numbers: [59, 28, 34]
Generated Node #0,2: 35:[59, 28, 34] Operation: 56-22=34
Exploring Operation: 59-22=37, Resulting Numbers: [56, 28, 37]
Generated Node #0,3: 35:[56, 28, 37] Operation: 59-22=37
Moving to Node #0,1
Current State: 35:[22, 28, 3], Operations: ['59-56=3']
Exploring Operation: 22+3=25, Resulting Numbers: [28, 25]
Generated Node #0,1,0: 35:[28, 25] Operation: 22+3=25
Exploring Operation: 22+28=50, Resulting Numbers: [3, 50]
Generated Node #0,1,1: 35:[3, 50] Operation: 22+28=50
Exploring Operation: 28+3=31, Resulting Numbers: [22, 31]
Generated Node #0,1,2: 35:[22, 31] Operation: 28+3=31
Exploring Operation: 28-22=6, Resulting Numbers: [3, 6]
Generated Node #0,1,3: 35:[3, 6] Operation: 28-22=6
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 35:[3, 6], Operations: ['59-56=3', '28-22=6']
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,35 unequal: No Solution
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,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,1,0
Current State: 35:[28, 25], Operations: ['59-56=3', '22+3=25']
Exploring Operation: 28-25=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 28*25=700, Resulting Numbers: [700]
700,35 unequal: No Solution
Exploring Operation: 28+25=53, Resulting Numbers: [53]
53,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,1,1
Current State: 35:[3, 50], Operations: ['59-56=3', '22+28=50']
Exploring Operation: 3*50=150, Resulting Numbers: [150]
150,35 unequal: No Solution
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,35 unequal: No Solution
Exploring Operation: 3+50=53, Resulting Numbers: [53]
53,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,1,2
Current State: 35:[22, 31], Operations: ['59-56=3', '28+3=31']
Exploring Operation: 22*31=682, Resulting Numbers: [682]
682,35 unequal: No Solution
Exploring Operation: 31-22=9, Resulting Numbers: [9]
9,35 unequal: No Solution
Exploring Operation: 22+31=53, Resulting Numbers: [53]
53,35 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: 35:[56, 28, 37], Operations: ['59-22=37']
Exploring Operation: 56/28=2, Resulting Numbers: [37, 2]
Generated Node #0,3,0: 35:[37, 2] Operation: 56/28=2
Exploring Operation: 56-28=28, Resulting Numbers: [37, 28]
Generated Node #0,3,1: 35:[37, 28] Operation: 56-28=28
Exploring Operation: 37-28=9, Resulting Numbers: [56, 9]
Generated Node #0,3,2: 35:[56, 9] Operation: 37-28=9
Exploring Operation: 56-37=19, Resulting Numbers: [28, 19]
Generated Node #0,3,3: 35:[28, 19] Operation: 56-37=19
Moving to Node #0,2
Current State: 35:[59, 28, 34], Operations: ['56-22=34']
Exploring Operation: 59-34=25, Resulting Numbers: [28, 25]
Generated Node #0,2,0: 35:[28, 25] Operation: 59-34=25
Exploring Operation: 34-28=6, Resulting Numbers: [59, 6]
Generated Node #0,2,1: 35:[59, 6] Operation: 34-28=6
Exploring Operation: 28+34=62, Resulting Numbers: [59, 62]
Generated Node #0,2,2: 35:[59, 62] Operation: 28+34=62
Exploring Operation: 59-28=31, Resulting Numbers: [34, 31]
Generated Node #0,2,3: 35:[34, 31] Operation: 59-28=31
Moving to Node #0,0
Current State: 35:[56, 22, 31], Operations: ['59-28=31']
Exploring Operation: 22+31=53, Resulting Numbers: [56, 53]
Generated Node #0,0,0: 35:[56, 53] Operation: 22+31=53
Exploring Operation: 56-22=34, Resulting Numbers: [31, 34]
Generated Node #0,0,1: 35:[31, 34] Operation: 56-22=34
Exploring Operation: 31-22=9, Resulting Numbers: [56, 9]
Generated Node #0,0,2: 35:[56, 9] Operation: 31-22=9
Exploring Operation: 56-31=25, Resulting Numbers: [22, 25]
Generated Node #0,0,3: 35:[22, 25] Operation: 56-31=25
Moving to Node #0,3,0
Current State: 35:[37, 2], Operations: ['59-22=37', '56/28=2']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[56, 22, 59, 28], Operations: []
Exploring Operation: 59-22=37, Resulting Numbers: [56, 28, 37]
Generated Node #0,3: 35:[56, 28, 37] Operation: 59-22=37
Moving to Node #0,3
Current State: 35:[56, 28, 37], Operations: ['59-22=37']
Exploring Operation: 56/28=2, Resulting Numbers: [37, 2]
Generated Node #0,3,0: 35:[37, 2] Operation: 56/28=2
Moving to Node #0,3,0
Current State: 35:[37, 2], Operations: ['59-22=37', '56/28=2']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 0.967014 | hs_4 | mult_heuristic |
[
21,
52,
25,
24
] | 73 | [
"21+52=73",
"25-24=1",
"73*1=73"
] | Current State: 73:[21, 52, 25, 24], Operations: []
Exploring Operation: 21+52=73, Resulting Numbers: [25, 24, 73]
Generated Node #2: [25, 24, 73] from Operation: 21+52=73
Current State: 73:[25, 24, 73], Operations: ['21+52=73']
Exploring Operation: 25-24=1, Resulting Numbers: [73, 1]
Generated Node #3: [73, 1] from Operation: 25-24=1
Current State: 73:[73, 1], Operations: ['21+52=73', '25-24=1']
Exploring Operation: 73*1=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[21, 52, 25, 24], Operations: []
Exploring Operation: 25+24=49, Resulting Numbers: [21, 52, 49]
Generated Node #0,0: 73:[21, 52, 49] Operation: 25+24=49
Exploring Operation: 21+25=46, Resulting Numbers: [52, 24, 46]
Generated Node #0,1: 73:[52, 24, 46] Operation: 21+25=46
Exploring Operation: 52+24=76, Resulting Numbers: [21, 25, 76]
Generated Node #0,2: 73:[21, 25, 76] Operation: 52+24=76
Exploring Operation: 21+24=45, Resulting Numbers: [52, 25, 45]
Generated Node #0,3: 73:[52, 25, 45] Operation: 21+24=45
Exploring Operation: 21+52=73, Resulting Numbers: [25, 24, 73]
Generated Node #0,4: 73:[25, 24, 73] Operation: 21+52=73
Moving to Node #0,0
Current State: 73:[21, 52, 49], Operations: ['25+24=49']
Exploring Operation: 49-21=28, Resulting Numbers: [52, 28]
Generated Node #0,0,0: 73:[52, 28] Operation: 49-21=28
Exploring Operation: 52+49=101, Resulting Numbers: [21, 101]
Generated Node #0,0,1: 73:[21, 101] Operation: 52+49=101
Exploring Operation: 21+49=70, Resulting Numbers: [52, 70]
Generated Node #0,0,2: 73:[52, 70] Operation: 21+49=70
Exploring Operation: 52-21=31, Resulting Numbers: [49, 31]
Generated Node #0,0,3: 73:[49, 31] Operation: 52-21=31
Exploring Operation: 21+52=73, Resulting Numbers: [49, 73]
Generated Node #0,0,4: 73:[49, 73] Operation: 21+52=73
Moving to Node #0,3
Current State: 73:[52, 25, 45], Operations: ['21+24=45']
Exploring Operation: 52+25=77, Resulting Numbers: [45, 77]
Generated Node #0,3,0: 73:[45, 77] Operation: 52+25=77
Exploring Operation: 52-25=27, Resulting Numbers: [45, 27]
Generated Node #0,3,1: 73:[45, 27] Operation: 52-25=27
Exploring Operation: 45-25=20, Resulting Numbers: [52, 20]
Generated Node #0,3,2: 73:[52, 20] Operation: 45-25=20
Exploring Operation: 52+45=97, Resulting Numbers: [25, 97]
Generated Node #0,3,3: 73:[25, 97] Operation: 52+45=97
Exploring Operation: 25+45=70, Resulting Numbers: [52, 70]
Generated Node #0,3,4: 73:[52, 70] Operation: 25+45=70
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 73:[52, 70], Operations: ['21+24=45', '25+45=70']
Exploring Operation: 52*70=3640, Resulting Numbers: [3640]
3640,73 unequal: No Solution
Exploring Operation: 70-52=18, Resulting Numbers: [18]
18,73 unequal: No Solution
Exploring Operation: 52+70=122, Resulting Numbers: [122]
122,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:[45, 77], Operations: ['21+24=45', '52+25=77']
Exploring Operation: 45*77=3465, Resulting Numbers: [3465]
3465,73 unequal: No Solution
Exploring Operation: 45+77=122, Resulting Numbers: [122]
122,73 unequal: No Solution
Exploring Operation: 77-45=32, Resulting Numbers: [32]
32,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:[25, 97], Operations: ['21+24=45', '52+45=97']
Exploring Operation: 25*97=2425, Resulting Numbers: [2425]
2425,73 unequal: No Solution
Exploring Operation: 25+97=122, Resulting Numbers: [122]
122,73 unequal: No Solution
Exploring Operation: 97-25=72, Resulting Numbers: [72]
72,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:[45, 27], Operations: ['21+24=45', '52-25=27']
Exploring Operation: 45*27=1215, Resulting Numbers: [1215]
1215,73 unequal: No Solution
Exploring Operation: 45+27=72, Resulting Numbers: [72]
72,73 unequal: No Solution
Exploring Operation: 45-27=18, Resulting Numbers: [18]
18,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,2
Current State: 73:[52, 20], Operations: ['21+24=45', '45-25=20']
Exploring Operation: 52*20=1040, Resulting Numbers: [1040]
1040,73 unequal: No Solution
Exploring Operation: 52-20=32, Resulting Numbers: [32]
32,73 unequal: No Solution
Exploring Operation: 52+20=72, Resulting Numbers: [72]
72,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 73:[52, 24, 46], Operations: ['21+25=46']
Exploring Operation: 24+46=70, Resulting Numbers: [52, 70]
Generated Node #0,1,0: 73:[52, 70] Operation: 24+46=70
Exploring Operation: 52-24=28, Resulting Numbers: [46, 28]
Generated Node #0,1,1: 73:[46, 28] Operation: 52-24=28
Exploring Operation: 52+46=98, Resulting Numbers: [24, 98]
Generated Node #0,1,2: 73:[24, 98] Operation: 52+46=98
Exploring Operation: 46-24=22, Resulting Numbers: [52, 22]
Generated Node #0,1,3: 73:[52, 22] Operation: 46-24=22
Exploring Operation: 52+24=76, Resulting Numbers: [46, 76]
Generated Node #0,1,4: 73:[46, 76] Operation: 52+24=76
Moving to Node #0,4
Current State: 73:[25, 24, 73], Operations: ['21+52=73']
Exploring Operation: 25+24=49, Resulting Numbers: [73, 49]
Generated Node #0,4,0: 73:[73, 49] Operation: 25+24=49
Exploring Operation: 73-24=49, Resulting Numbers: [25, 49]
Generated Node #0,4,1: 73:[25, 49] Operation: 73-24=49
Exploring Operation: 25-24=1, Resulting Numbers: [73, 1]
Generated Node #0,4,2: 73:[73, 1] Operation: 25-24=1
Exploring Operation: 25+73=98, Resulting Numbers: [24, 98]
Generated Node #0,4,3: 73:[24, 98] Operation: 25+73=98
Exploring Operation: 24+73=97, Resulting Numbers: [25, 97]
Generated Node #0,4,4: 73:[25, 97] Operation: 24+73=97
Moving to Node #0,2
Current State: 73:[21, 25, 76], Operations: ['52+24=76']
Exploring Operation: 76-21=55, Resulting Numbers: [25, 55]
Generated Node #0,2,0: 73:[25, 55] Operation: 76-21=55
Exploring Operation: 25-21=4, Resulting Numbers: [76, 4]
Generated Node #0,2,1: 73:[76, 4] Operation: 25-21=4
Exploring Operation: 21+76=97, Resulting Numbers: [25, 97]
Generated Node #0,2,2: 73:[25, 97] Operation: 21+76=97
Exploring Operation: 76-25=51, Resulting Numbers: [21, 51]
Generated Node #0,2,3: 73:[21, 51] Operation: 76-25=51
Exploring Operation: 21+25=46, Resulting Numbers: [76, 46]
Generated Node #0,2,4: 73:[76, 46] Operation: 21+25=46
Moving to Node #0,0,2
Current State: 73:[52, 70], Operations: ['25+24=49', '21+49=70']
Exploring Operation: 52+70=122, Resulting Numbers: [122]
122,73 unequal: No Solution
Exploring Operation: 52*70=3640, Resulting Numbers: [3640]
3640,73 unequal: No Solution
Exploring Operation: 70-52=18, Resulting Numbers: [18]
18,73 unequal: No Solution
Moving to Node #0,1,0
Current State: 73:[52, 70], Operations: ['21+25=46', '24+46=70']
Exploring Operation: 52+70=122, Resulting Numbers: [122]
122,73 unequal: No Solution
Exploring Operation: 70-52=18, Resulting Numbers: [18]
18,73 unequal: No Solution
Exploring Operation: 52*70=3640, Resulting Numbers: [3640]
3640,73 unequal: No Solution
Moving to Node #0,0,4
Current State: 73:[49, 73], Operations: ['25+24=49', '21+52=73']
Exploring Operation: 49*73=3577, Resulting Numbers: [3577]
3577,73 unequal: No Solution
Exploring Operation: 49+73=122, Resulting Numbers: [122]
122,73 unequal: No Solution
Exploring Operation: 73-49=24, Resulting Numbers: [24]
24,73 unequal: No Solution
Moving to Node #0,4,0
Current State: 73:[73, 49], Operations: ['21+52=73', '25+24=49']
Exploring Operation: 73*49=3577, Resulting Numbers: [3577]
3577,73 unequal: No Solution
Exploring Operation: 73+49=122, Resulting Numbers: [122]
122,73 unequal: No Solution
Exploring Operation: 73-49=24, Resulting Numbers: [24]
24,73 unequal: No Solution
Moving to Node #0,1,4
Current State: 73:[46, 76], Operations: ['21+25=46', '52+24=76']
Exploring Operation: 46*76=3496, Resulting Numbers: [3496]
3496,73 unequal: No Solution
Exploring Operation: 46+76=122, Resulting Numbers: [122]
122,73 unequal: No Solution
Exploring Operation: 76-46=30, Resulting Numbers: [30]
30,73 unequal: No Solution
Moving to Node #0,2,4
Current State: 73:[76, 46], Operations: ['52+24=76', '21+25=46']
Exploring Operation: 76+46=122, Resulting Numbers: [122]
122,73 unequal: No Solution
Exploring Operation: 76-46=30, Resulting Numbers: [30]
30,73 unequal: No Solution
Exploring Operation: 76*46=3496, Resulting Numbers: [3496]
3496,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[52, 28], Operations: ['25+24=49', '49-21=28']
Exploring Operation: 52-28=24, Resulting Numbers: [24]
24,73 unequal: No Solution
Exploring Operation: 52*28=1456, Resulting Numbers: [1456]
1456,73 unequal: No Solution
Exploring Operation: 52+28=80, Resulting Numbers: [80]
80,73 unequal: No Solution
Moving to Node #0,0,3
Current State: 73:[49, 31], Operations: ['25+24=49', '52-21=31']
Exploring Operation: 49*31=1519, Resulting Numbers: [1519]
1519,73 unequal: No Solution
Exploring Operation: 49-31=18, Resulting Numbers: [18]
18,73 unequal: No Solution
Exploring Operation: 49+31=80, Resulting Numbers: [80]
80,73 unequal: No Solution
Moving to Node #0,2,0
Current State: 73:[25, 55], Operations: ['52+24=76', '76-21=55']
Exploring Operation: 25*55=1375, Resulting Numbers: [1375]
1375,73 unequal: No Solution
Exploring Operation: 55-25=30, Resulting Numbers: [30]
30,73 unequal: No Solution
Exploring Operation: 25+55=80, Resulting Numbers: [80]
80,73 unequal: No Solution
Moving to Node #0,4,4
Current State: 73:[25, 97], Operations: ['21+52=73', '24+73=97']
Exploring Operation: 97-25=72, Resulting Numbers: [72]
72,73 unequal: No Solution
Exploring Operation: 25+97=122, Resulting Numbers: [122]
122,73 unequal: No Solution
Exploring Operation: 25*97=2425, Resulting Numbers: [2425]
2425,73 unequal: No Solution
Moving to Node #0,4,2
Current State: 73:[73, 1], Operations: ['21+52=73', '25-24=1']
Exploring Operation: 73+1=74, Resulting Numbers: [74]
74,73 unequal: No Solution
Exploring Operation: 73-1=72, Resulting Numbers: [72]
72,73 unequal: No Solution
Exploring Operation: 73/1=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[21, 52, 25, 24], Operations: []
Exploring Operation: 21+52=73, Resulting Numbers: [25, 24, 73]
Generated Node #0,4: 73:[25, 24, 73] Operation: 21+52=73
Moving to Node #0,4
Current State: 73:[25, 24, 73], Operations: ['21+52=73']
Exploring Operation: 25-24=1, Resulting Numbers: [73, 1]
Generated Node #0,4,2: 73:[73, 1] Operation: 25-24=1
Moving to Node #0,4,2
Current State: 73:[73, 1], Operations: ['21+52=73', '25-24=1']
Exploring Operation: 73/1=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 0.928819 | hs_5 | sum_heuristic |
[
96,
43,
74,
90
] | 37 | [
"96-43=53",
"90-74=16",
"53-16=37"
] | Current State: 37:[96, 43, 74, 90], Operations: []
Exploring Operation: 96-43=53, Resulting Numbers: [74, 90, 53]
Generated Node #2: [74, 90, 53] from Operation: 96-43=53
Current State: 37:[74, 90, 53], Operations: ['96-43=53']
Exploring Operation: 90-74=16, Resulting Numbers: [53, 16]
Generated Node #3: [53, 16] from Operation: 90-74=16
Current State: 37:[53, 16], Operations: ['96-43=53', '90-74=16']
Exploring Operation: 53-16=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[96, 43, 74, 90], Operations: []
Exploring Operation: 96-74=22, Resulting Numbers: [43, 90, 22]
Generated Node #0,0: 37:[43, 90, 22] Operation: 96-74=22
Exploring Operation: 96-90=6, Resulting Numbers: [43, 74, 6]
Generated Node #0,1: 37:[43, 74, 6] Operation: 96-90=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[43, 90, 22], Operations: ['96-74=22']
Exploring Operation: 90-43=47, Resulting Numbers: [22, 47]
Generated Node #0,0,0: 37:[22, 47] Operation: 90-43=47
Exploring Operation: 90-22=68, Resulting Numbers: [43, 68]
Generated Node #0,0,1: 37:[43, 68] Operation: 90-22=68
Moving to Node #0,0,0
Current State: 37:[22, 47], Operations: ['96-74=22', '90-43=47']
Exploring Operation: 22+47=69, Resulting Numbers: [69]
69,37 unequal: No Solution
Exploring Operation: 47-22=25, Resulting Numbers: [25]
25,37 unequal: No Solution
Moving to Node #0,0,1
Current State: 37:[43, 68], Operations: ['96-74=22', '90-22=68']
Exploring Operation: 43+68=111, Resulting Numbers: [111]
111,37 unequal: No Solution
Exploring Operation: 68-43=25, Resulting Numbers: [25]
25,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
Current State: 37:[43, 74, 6], Operations: ['96-90=6']
Exploring Operation: 43-6=37, Resulting Numbers: [74, 37]
Generated Node #0,1,0: 37:[74, 37] Operation: 43-6=37
Exploring Operation: 74-43=31, Resulting Numbers: [6, 31]
Generated Node #0,1,1: 37:[6, 31] Operation: 74-43=31
Moving to Node #0,1,0
Current State: 37:[74, 37], Operations: ['96-90=6', '43-6=37']
Exploring Operation: 74-37=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[96, 43, 74, 90], Operations: []
Exploring Operation: 96-90=6, Resulting Numbers: [43, 74, 6]
Generated Node #0,1: 37:[43, 74, 6] Operation: 96-90=6
Moving to Node #0,1
Current State: 37:[43, 74, 6], Operations: ['96-90=6']
Exploring Operation: 43-6=37, Resulting Numbers: [74, 37]
Generated Node #0,1,0: 37:[74, 37] Operation: 43-6=37
Moving to Node #0,1,0
Current State: 37:[74, 37], Operations: ['96-90=6', '43-6=37']
Exploring Operation: 74-37=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
41,
2,
7,
27
] | 96 | [
"41-27=14",
"7*14=98",
"98-2=96"
] | Current State: 96:[41, 2, 7, 27], Operations: []
Exploring Operation: 41-27=14, Resulting Numbers: [2, 7, 14]
Generated Node #2: [2, 7, 14] from Operation: 41-27=14
Current State: 96:[2, 7, 14], Operations: ['41-27=14']
Exploring Operation: 7*14=98, Resulting Numbers: [2, 98]
Generated Node #3: [2, 98] from Operation: 7*14=98
Current State: 96:[2, 98], Operations: ['41-27=14', '7*14=98']
Exploring Operation: 98-2=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[41, 2, 7, 27], Operations: []
Exploring Operation: 41-27=14, Resulting Numbers: [2, 7, 14]
Generated Node #0,0: 96:[2, 7, 14] Operation: 41-27=14
Exploring Operation: 41+7=48, Resulting Numbers: [2, 27, 48]
Generated Node #0,1: 96:[2, 27, 48] Operation: 41+7=48
Moving to Node #0,0
Current State: 96:[2, 7, 14], Operations: ['41-27=14']
Exploring Operation: 2+14=16, Resulting Numbers: [7, 16]
Generated Node #0,0,0: 96:[7, 16] Operation: 2+14=16
Exploring Operation: 14/7=2, Resulting Numbers: [2, 2]
Generated Node #0,0,1: 96:[2, 2] Operation: 14/7=2
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 96:[2, 2], Operations: ['41-27=14', '14/7=2']
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,96 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,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,0
Current State: 96:[7, 16], Operations: ['41-27=14', '2+14=16']
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,96 unequal: No Solution
Exploring Operation: 7+16=23, Resulting Numbers: [23]
23,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:[2, 27, 48], Operations: ['41+7=48']
Exploring Operation: 2+27=29, Resulting Numbers: [48, 29]
Generated Node #0,1,0: 96:[48, 29] Operation: 2+27=29
Exploring Operation: 27-2=25, Resulting Numbers: [48, 25]
Generated Node #0,1,1: 96:[48, 25] Operation: 27-2=25
Moving to Node #0,1,1
Current State: 96:[48, 25], Operations: ['41+7=48', '27-2=25']
Exploring Operation: 48+25=73, Resulting Numbers: [73]
73,96 unequal: No Solution
Exploring Operation: 48-25=23, Resulting Numbers: [23]
23,96 unequal: No Solution
Moving to Node #0,1,0
Current State: 96:[48, 29], Operations: ['41+7=48', '2+27=29']
Exploring Operation: 48+29=77, Resulting Numbers: [77]
77,96 unequal: No Solution
Exploring Operation: 48-29=19, Resulting Numbers: [19]
19,96 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
98,
88,
98,
41
] | 48 | [
"98/98=1",
"88-41=47",
"1+47=48"
] | Current State: 48:[98, 88, 98, 41], Operations: []
Exploring Operation: 98/98=1, Resulting Numbers: [88, 41, 1]
Generated Node #2: [88, 41, 1] from Operation: 98/98=1
Current State: 48:[88, 41, 1], Operations: ['98/98=1']
Exploring Operation: 88-41=47, Resulting Numbers: [1, 47]
Generated Node #3: [1, 47] from Operation: 88-41=47
Current State: 48:[1, 47], Operations: ['98/98=1', '88-41=47']
Exploring Operation: 1+47=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[98, 88, 98, 41], Operations: []
Exploring Operation: 98-41=57, Resulting Numbers: [88, 98, 57]
Generated Node #0,0: 48:[88, 98, 57] Operation: 98-41=57
Exploring Operation: 98-88=10, Resulting Numbers: [98, 41, 10]
Generated Node #0,1: 48:[98, 41, 10] Operation: 98-88=10
Exploring Operation: 98-88=10, Resulting Numbers: [98, 41, 10]
Generated Node #0,2: 48:[98, 41, 10] Operation: 98-88=10
Exploring Operation: 98-98=0, Resulting Numbers: [88, 41, 0]
Generated Node #0,3: 48:[88, 41, 0] Operation: 98-98=0
Exploring Operation: 98/98=1, Resulting Numbers: [88, 41, 1]
Generated Node #0,4: 48:[88, 41, 1] Operation: 98/98=1
Moving to Node #0,4
Current State: 48:[88, 41, 1], Operations: ['98/98=1']
Exploring Operation: 41+1=42, Resulting Numbers: [88, 42]
Generated Node #0,4,0: 48:[88, 42] Operation: 41+1=42
Exploring Operation: 88*1=88, Resulting Numbers: [41, 88]
Generated Node #0,4,1: 48:[41, 88] Operation: 88*1=88
Exploring Operation: 88-1=87, Resulting Numbers: [41, 87]
Generated Node #0,4,2: 48:[41, 87] Operation: 88-1=87
Exploring Operation: 88-41=47, Resulting Numbers: [1, 47]
Generated Node #0,4,3: 48:[1, 47] Operation: 88-41=47
Exploring Operation: 88/1=88, Resulting Numbers: [41, 88]
Generated Node #0,4,4: 48:[41, 88] Operation: 88/1=88
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 48:[1, 47], Operations: ['98/98=1', '88-41=47']
Exploring Operation: 1*47=47, Resulting Numbers: [47]
47,48 unequal: No Solution
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,48 unequal: No Solution
Exploring Operation: 47/1=47, Resulting Numbers: [47]
47,48 unequal: No Solution
Exploring Operation: 1+47=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[98, 88, 98, 41], Operations: []
Exploring Operation: 98/98=1, Resulting Numbers: [88, 41, 1]
Generated Node #0,4: 48:[88, 41, 1] Operation: 98/98=1
Moving to Node #0,4
Current State: 48:[88, 41, 1], Operations: ['98/98=1']
Exploring Operation: 88-41=47, Resulting Numbers: [1, 47]
Generated Node #0,4,3: 48:[1, 47] Operation: 88-41=47
Moving to Node #0,4,3
Current State: 48:[1, 47], Operations: ['98/98=1', '88-41=47']
Exploring Operation: 1+47=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
3,
2,
68,
69
] | 47 | [
"69/3=23",
"2+68=70",
"70-23=47"
] | Current State: 47:[3, 2, 68, 69], Operations: []
Exploring Operation: 69/3=23, Resulting Numbers: [2, 68, 23]
Generated Node #2: [2, 68, 23] from Operation: 69/3=23
Current State: 47:[2, 68, 23], Operations: ['69/3=23']
Exploring Operation: 2+68=70, Resulting Numbers: [23, 70]
Generated Node #3: [23, 70] from Operation: 2+68=70
Current State: 47:[23, 70], Operations: ['69/3=23', '2+68=70']
Exploring Operation: 70-23=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[3, 2, 68, 69], Operations: []
Exploring Operation: 68/2=34, Resulting Numbers: [3, 69, 34]
Generated Node #0,0: 47:[3, 69, 34] Operation: 68/2=34
Exploring Operation: 3*2=6, Resulting Numbers: [68, 69, 6]
Generated Node #0,1: 47:[68, 69, 6] Operation: 3*2=6
Exploring Operation: 69-3=66, Resulting Numbers: [2, 68, 66]
Generated Node #0,2: 47:[2, 68, 66] Operation: 69-3=66
Exploring Operation: 68-3=65, Resulting Numbers: [2, 69, 65]
Generated Node #0,3: 47:[2, 69, 65] Operation: 68-3=65
Exploring Operation: 3+2=5, Resulting Numbers: [68, 69, 5]
Generated Node #0,4: 47:[68, 69, 5] Operation: 3+2=5
Moving to Node #0,0
Current State: 47:[3, 69, 34], Operations: ['68/2=34']
Exploring Operation: 3+34=37, Resulting Numbers: [69, 37]
Generated Node #0,0,0: 47:[69, 37] Operation: 3+34=37
Exploring Operation: 3+69=72, Resulting Numbers: [34, 72]
Generated Node #0,0,1: 47:[34, 72] Operation: 3+69=72
Exploring Operation: 69-3=66, Resulting Numbers: [34, 66]
Generated Node #0,0,2: 47:[34, 66] Operation: 69-3=66
Exploring Operation: 69/3=23, Resulting Numbers: [34, 23]
Generated Node #0,0,3: 47:[34, 23] Operation: 69/3=23
Exploring Operation: 34-3=31, Resulting Numbers: [69, 31]
Generated Node #0,0,4: 47:[69, 31] Operation: 34-3=31
Moving to Node #0,1
Current State: 47:[68, 69, 6], Operations: ['3*2=6']
Exploring Operation: 68-6=62, Resulting Numbers: [69, 62]
Generated Node #0,1,0: 47:[69, 62] Operation: 68-6=62
Exploring Operation: 69-6=63, Resulting Numbers: [68, 63]
Generated Node #0,1,1: 47:[68, 63] Operation: 69-6=63
Exploring Operation: 68+6=74, Resulting Numbers: [69, 74]
Generated Node #0,1,2: 47:[69, 74] Operation: 68+6=74
Exploring Operation: 69+6=75, Resulting Numbers: [68, 75]
Generated Node #0,1,3: 47:[68, 75] Operation: 69+6=75
Exploring Operation: 69-68=1, Resulting Numbers: [6, 1]
Generated Node #0,1,4: 47:[6, 1] Operation: 69-68=1
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 47:[69, 62], Operations: ['3*2=6', '68-6=62']
Exploring Operation: 69*62=4278, Resulting Numbers: [4278]
4278,47 unequal: No Solution
Exploring Operation: 69+62=131, Resulting Numbers: [131]
131,47 unequal: No Solution
Exploring Operation: 69-62=7, Resulting Numbers: [7]
7,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,1,1
Current State: 47:[68, 63], Operations: ['3*2=6', '69-6=63']
Exploring Operation: 68+63=131, Resulting Numbers: [131]
131,47 unequal: No Solution
Exploring Operation: 68*63=4284, Resulting Numbers: [4284]
4284,47 unequal: No Solution
Exploring Operation: 68-63=5, Resulting Numbers: [5]
5,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,1,2
Current State: 47:[69, 74], Operations: ['3*2=6', '68+6=74']
Exploring Operation: 74-69=5, Resulting Numbers: [5]
5,47 unequal: No Solution
Exploring Operation: 69*74=5106, Resulting Numbers: [5106]
5106,47 unequal: No Solution
Exploring Operation: 69+74=143, Resulting Numbers: [143]
143,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,1,3
Current State: 47:[68, 75], Operations: ['3*2=6', '69+6=75']
Exploring Operation: 68+75=143, Resulting Numbers: [143]
143,47 unequal: No Solution
Exploring Operation: 68*75=5100, Resulting Numbers: [5100]
5100,47 unequal: No Solution
Exploring Operation: 75-68=7, Resulting Numbers: [7]
7,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,1,4
Current State: 47:[6, 1], Operations: ['3*2=6', '69-68=1']
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,47 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,47 unequal: No Solution
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,47 unequal: No Solution
Exploring Operation: 6+1=7, Resulting Numbers: [7]
7,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:[2, 68, 66], Operations: ['69-3=66']
Exploring Operation: 68-2=66, Resulting Numbers: [66, 66]
Generated Node #0,2,0: 47:[66, 66] Operation: 68-2=66
Exploring Operation: 2+68=70, Resulting Numbers: [66, 70]
Generated Node #0,2,1: 47:[66, 70] Operation: 2+68=70
Exploring Operation: 68/2=34, Resulting Numbers: [66, 34]
Generated Node #0,2,2: 47:[66, 34] Operation: 68/2=34
Exploring Operation: 66/2=33, Resulting Numbers: [68, 33]
Generated Node #0,2,3: 47:[68, 33] Operation: 66/2=33
Exploring Operation: 66-2=64, Resulting Numbers: [68, 64]
Generated Node #0,2,4: 47:[68, 64] Operation: 66-2=64
Moving to Node #0,3
Current State: 47:[2, 69, 65], Operations: ['68-3=65']
Exploring Operation: 2+65=67, Resulting Numbers: [69, 67]
Generated Node #0,3,0: 47:[69, 67] Operation: 2+65=67
Exploring Operation: 69-2=67, Resulting Numbers: [65, 67]
Generated Node #0,3,1: 47:[65, 67] Operation: 69-2=67
Exploring Operation: 69-65=4, Resulting Numbers: [2, 4]
Generated Node #0,3,2: 47:[2, 4] Operation: 69-65=4
Exploring Operation: 2+69=71, Resulting Numbers: [65, 71]
Generated Node #0,3,3: 47:[65, 71] Operation: 2+69=71
Exploring Operation: 65-2=63, Resulting Numbers: [69, 63]
Generated Node #0,3,4: 47:[69, 63] Operation: 65-2=63
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 47:[65, 67], Operations: ['68-3=65', '69-2=67']
Exploring Operation: 65*67=4355, Resulting Numbers: [4355]
4355,47 unequal: No Solution
Exploring Operation: 67-65=2, Resulting Numbers: [2]
2,47 unequal: No Solution
Exploring Operation: 65+67=132, Resulting Numbers: [132]
132,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,4
Current State: 47:[69, 63], Operations: ['68-3=65', '65-2=63']
Exploring Operation: 69*63=4347, Resulting Numbers: [4347]
4347,47 unequal: No Solution
Exploring Operation: 69+63=132, Resulting Numbers: [132]
132,47 unequal: No Solution
Exploring Operation: 69-63=6, Resulting Numbers: [6]
6,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,0
Current State: 47:[69, 67], Operations: ['68-3=65', '2+65=67']
Exploring Operation: 69+67=136, Resulting Numbers: [136]
136,47 unequal: No Solution
Exploring Operation: 69-67=2, Resulting Numbers: [2]
2,47 unequal: No Solution
Exploring Operation: 69*67=4623, Resulting Numbers: [4623]
4623,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:[65, 71], Operations: ['68-3=65', '2+69=71']
Exploring Operation: 71-65=6, Resulting Numbers: [6]
6,47 unequal: No Solution
Exploring Operation: 65+71=136, Resulting Numbers: [136]
136,47 unequal: No Solution
Exploring Operation: 65*71=4615, Resulting Numbers: [4615]
4615,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:[2, 4], Operations: ['68-3=65', '69-65=4']
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,47 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,47 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,47 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,47 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: 47:[68, 69, 5], Operations: ['3+2=5']
Exploring Operation: 69+5=74, Resulting Numbers: [68, 74]
Generated Node #0,4,0: 47:[68, 74] Operation: 69+5=74
Exploring Operation: 69-5=64, Resulting Numbers: [68, 64]
Generated Node #0,4,1: 47:[68, 64] Operation: 69-5=64
Exploring Operation: 68+5=73, Resulting Numbers: [69, 73]
Generated Node #0,4,2: 47:[69, 73] Operation: 68+5=73
Exploring Operation: 69-68=1, Resulting Numbers: [5, 1]
Generated Node #0,4,3: 47:[5, 1] Operation: 69-68=1
Exploring Operation: 68-5=63, Resulting Numbers: [69, 63]
Generated Node #0,4,4: 47:[69, 63] Operation: 68-5=63
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 47:[68, 64], Operations: ['3+2=5', '69-5=64']
Exploring Operation: 68-64=4, Resulting Numbers: [4]
4,47 unequal: No Solution
Exploring Operation: 68+64=132, Resulting Numbers: [132]
132,47 unequal: No Solution
Exploring Operation: 68*64=4352, Resulting Numbers: [4352]
4352,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,4,4
Current State: 47:[69, 63], Operations: ['3+2=5', '68-5=63']
Exploring Operation: 69-63=6, Resulting Numbers: [6]
6,47 unequal: No Solution
Exploring Operation: 69*63=4347, Resulting Numbers: [4347]
4347,47 unequal: No Solution
Exploring Operation: 69+63=132, Resulting Numbers: [132]
132,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,4,0
Current State: 47:[68, 74], Operations: ['3+2=5', '69+5=74']
Exploring Operation: 68*74=5032, Resulting Numbers: [5032]
5032,47 unequal: No Solution
Exploring Operation: 74-68=6, Resulting Numbers: [6]
6,47 unequal: No Solution
Exploring Operation: 68+74=142, Resulting Numbers: [142]
142,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,4,2
Current State: 47:[69, 73], Operations: ['3+2=5', '68+5=73']
Exploring Operation: 73-69=4, Resulting Numbers: [4]
4,47 unequal: No Solution
Exploring Operation: 69*73=5037, Resulting Numbers: [5037]
5037,47 unequal: No Solution
Exploring Operation: 69+73=142, Resulting Numbers: [142]
142,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,4,3
Current State: 47:[5, 1], Operations: ['3+2=5', '69-68=1']
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,47 unequal: No Solution
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,47 unequal: No Solution
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,47 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,47 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: 47:[69, 37], Operations: ['68/2=34', '3+34=37']
Exploring Operation: 69+37=106, Resulting Numbers: [106]
106,47 unequal: No Solution
Exploring Operation: 69*37=2553, Resulting Numbers: [2553]
2553,47 unequal: No Solution
Exploring Operation: 69-37=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Moving to Node #0,2,2
Current State: 47:[66, 34], Operations: ['69-3=66', '68/2=34']
Exploring Operation: 66+34=100, Resulting Numbers: [100]
100,47 unequal: No Solution
Exploring Operation: 66*34=2244, Resulting Numbers: [2244]
2244,47 unequal: No Solution
Exploring Operation: 66-34=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Moving to Node #0,0,2
Current State: 47:[34, 66], Operations: ['68/2=34', '69-3=66']
Exploring Operation: 34*66=2244, Resulting Numbers: [2244]
2244,47 unequal: No Solution
Exploring Operation: 34+66=100, Resulting Numbers: [100]
100,47 unequal: No Solution
Exploring Operation: 66-34=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Moving to Node #0,2,3
Current State: 47:[68, 33], Operations: ['69-3=66', '66/2=33']
Exploring Operation: 68+33=101, Resulting Numbers: [101]
101,47 unequal: No Solution
Exploring Operation: 68-33=35, Resulting Numbers: [35]
35,47 unequal: No Solution
Exploring Operation: 68*33=2244, Resulting Numbers: [2244]
2244,47 unequal: No Solution
Moving to Node #0,0,3
Current State: 47:[34, 23], Operations: ['68/2=34', '69/3=23']
Exploring Operation: 34-23=11, Resulting Numbers: [11]
11,47 unequal: No Solution
Exploring Operation: 34+23=57, Resulting Numbers: [57]
57,47 unequal: No Solution
Exploring Operation: 34*23=782, Resulting Numbers: [782]
782,47 unequal: No Solution
Moving to Node #0,2,0
Current State: 47:[66, 66], Operations: ['69-3=66', '68-2=66']
Exploring Operation: 66*66=4356, Resulting Numbers: [4356]
4356,47 unequal: No Solution
Exploring Operation: 66/66=1, Resulting Numbers: [1]
1,47 unequal: No Solution
Exploring Operation: 66-66=0, Resulting Numbers: [0]
0,47 unequal: No Solution
Exploring Operation: 66+66=132, Resulting Numbers: [132]
132,47 unequal: No Solution
Moving to Node #0,0,4
Current State: 47:[69, 31], Operations: ['68/2=34', '34-3=31']
Exploring Operation: 69*31=2139, Resulting Numbers: [2139]
2139,47 unequal: No Solution
Exploring Operation: 69-31=38, Resulting Numbers: [38]
38,47 unequal: No Solution
Exploring Operation: 69+31=100, Resulting Numbers: [100]
100,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[34, 72], Operations: ['68/2=34', '3+69=72']
Exploring Operation: 72-34=38, Resulting Numbers: [38]
38,47 unequal: No Solution
Exploring Operation: 34*72=2448, Resulting Numbers: [2448]
2448,47 unequal: No Solution
Exploring Operation: 34+72=106, Resulting Numbers: [106]
106,47 unequal: No Solution
Moving to Node #0,2,4
Current State: 47:[68, 64], Operations: ['69-3=66', '66-2=64']
Exploring Operation: 68-64=4, Resulting Numbers: [4]
4,47 unequal: No Solution
Exploring Operation: 68+64=132, Resulting Numbers: [132]
132,47 unequal: No Solution
Exploring Operation: 68*64=4352, Resulting Numbers: [4352]
4352,47 unequal: No Solution
Moving to Node #0,2,1
Current State: 47:[66, 70], Operations: ['69-3=66', '2+68=70']
Exploring Operation: 66+70=136, Resulting Numbers: [136]
136,47 unequal: No Solution
Exploring Operation: 70-66=4, Resulting Numbers: [4]
4,47 unequal: No Solution
Exploring Operation: 66*70=4620, Resulting Numbers: [4620]
4620,47 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
71,
11,
24,
12
] | 46 | [
"71+11=82",
"24+12=36",
"82-36=46"
] | Current State: 46:[71, 11, 24, 12], Operations: []
Exploring Operation: 71+11=82, Resulting Numbers: [24, 12, 82]
Generated Node #2: [24, 12, 82] from Operation: 71+11=82
Current State: 46:[24, 12, 82], Operations: ['71+11=82']
Exploring Operation: 24+12=36, Resulting Numbers: [82, 36]
Generated Node #3: [82, 36] from Operation: 24+12=36
Current State: 46:[82, 36], Operations: ['71+11=82', '24+12=36']
Exploring Operation: 82-36=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[71, 11, 24, 12], Operations: []
Exploring Operation: 71-12=59, Resulting Numbers: [11, 24, 59]
Generated Node #0,0: 46:[11, 24, 59] Operation: 71-12=59
Exploring Operation: 71-11=60, Resulting Numbers: [24, 12, 60]
Generated Node #0,1: 46:[24, 12, 60] Operation: 71-11=60
Exploring Operation: 71-24=47, Resulting Numbers: [11, 12, 47]
Generated Node #0,2: 46:[11, 12, 47] Operation: 71-24=47
Exploring Operation: 11+12=23, Resulting Numbers: [71, 24, 23]
Generated Node #0,3: 46:[71, 24, 23] Operation: 11+12=23
Exploring Operation: 12-11=1, Resulting Numbers: [71, 24, 1]
Generated Node #0,4: 46:[71, 24, 1] Operation: 12-11=1
Moving to Node #0,2
Current State: 46:[11, 12, 47], Operations: ['71-24=47']
Exploring Operation: 47-12=35, Resulting Numbers: [11, 35]
Generated Node #0,2,0: 46:[11, 35] Operation: 47-12=35
Exploring Operation: 11+12=23, Resulting Numbers: [47, 23]
Generated Node #0,2,1: 46:[47, 23] Operation: 11+12=23
Exploring Operation: 11+47=58, Resulting Numbers: [12, 58]
Generated Node #0,2,2: 46:[12, 58] Operation: 11+47=58
Exploring Operation: 12-11=1, Resulting Numbers: [47, 1]
Generated Node #0,2,3: 46:[47, 1] Operation: 12-11=1
Exploring Operation: 47-11=36, Resulting Numbers: [12, 36]
Generated Node #0,2,4: 46:[12, 36] Operation: 47-11=36
Moving to Node #0,0
Current State: 46:[11, 24, 59], Operations: ['71-12=59']
Exploring Operation: 24-11=13, Resulting Numbers: [59, 13]
Generated Node #0,0,0: 46:[59, 13] Operation: 24-11=13
Exploring Operation: 59-24=35, Resulting Numbers: [11, 35]
Generated Node #0,0,1: 46:[11, 35] Operation: 59-24=35
Exploring Operation: 11+59=70, Resulting Numbers: [24, 70]
Generated Node #0,0,2: 46:[24, 70] Operation: 11+59=70
Exploring Operation: 11+24=35, Resulting Numbers: [59, 35]
Generated Node #0,0,3: 46:[59, 35] Operation: 11+24=35
Exploring Operation: 59-11=48, Resulting Numbers: [24, 48]
Generated Node #0,0,4: 46:[24, 48] Operation: 59-11=48
Moving to Node #0,1
Current State: 46:[24, 12, 60], Operations: ['71-11=60']
Exploring Operation: 60-12=48, Resulting Numbers: [24, 48]
Generated Node #0,1,0: 46:[24, 48] Operation: 60-12=48
Exploring Operation: 60/12=5, Resulting Numbers: [24, 5]
Generated Node #0,1,1: 46:[24, 5] Operation: 60/12=5
Exploring Operation: 60-24=36, Resulting Numbers: [12, 36]
Generated Node #0,1,2: 46:[12, 36] Operation: 60-24=36
Exploring Operation: 24+12=36, Resulting Numbers: [60, 36]
Generated Node #0,1,3: 46:[60, 36] Operation: 24+12=36
Exploring Operation: 24/12=2, Resulting Numbers: [60, 2]
Generated Node #0,1,4: 46:[60, 2] Operation: 24/12=2
Moving to Node #0,3
Current State: 46:[71, 24, 23], Operations: ['11+12=23']
Exploring Operation: 24-23=1, Resulting Numbers: [71, 1]
Generated Node #0,3,0: 46:[71, 1] Operation: 24-23=1
Exploring Operation: 71-24=47, Resulting Numbers: [23, 47]
Generated Node #0,3,1: 46:[23, 47] Operation: 71-24=47
Exploring Operation: 24+23=47, Resulting Numbers: [71, 47]
Generated Node #0,3,2: 46:[71, 47] Operation: 24+23=47
Exploring Operation: 71-23=48, Resulting Numbers: [24, 48]
Generated Node #0,3,3: 46:[24, 48] Operation: 71-23=48
Exploring Operation: 71+24=95, Resulting Numbers: [23, 95]
Generated Node #0,3,4: 46:[23, 95] Operation: 71+24=95
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 46:[23, 47], Operations: ['11+12=23', '71-24=47']
Exploring Operation: 23*47=1081, Resulting Numbers: [1081]
1081,46 unequal: No Solution
Exploring Operation: 47-23=24, Resulting Numbers: [24]
24,46 unequal: No Solution
Exploring Operation: 23+47=70, Resulting Numbers: [70]
70,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:[24, 48], Operations: ['11+12=23', '71-23=48']
Exploring Operation: 24+48=72, Resulting Numbers: [72]
72,46 unequal: No Solution
Exploring Operation: 48-24=24, Resulting Numbers: [24]
24,46 unequal: No Solution
Exploring Operation: 24*48=1152, Resulting Numbers: [1152]
1152,46 unequal: No Solution
Exploring Operation: 48/24=2, Resulting Numbers: [2]
2,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:[71, 1], Operations: ['11+12=23', '24-23=1']
Exploring Operation: 71-1=70, Resulting Numbers: [70]
70,46 unequal: No Solution
Exploring Operation: 71*1=71, Resulting Numbers: [71]
71,46 unequal: No Solution
Exploring Operation: 71/1=71, Resulting Numbers: [71]
71,46 unequal: No Solution
Exploring Operation: 71+1=72, Resulting Numbers: [72]
72,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:[71, 47], Operations: ['11+12=23', '24+23=47']
Exploring Operation: 71-47=24, Resulting Numbers: [24]
24,46 unequal: No Solution
Exploring Operation: 71*47=3337, Resulting Numbers: [3337]
3337,46 unequal: No Solution
Exploring Operation: 71+47=118, Resulting Numbers: [118]
118,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,4
Current State: 46:[23, 95], Operations: ['11+12=23', '71+24=95']
Exploring Operation: 95-23=72, Resulting Numbers: [72]
72,46 unequal: No Solution
Exploring Operation: 23*95=2185, Resulting Numbers: [2185]
2185,46 unequal: No Solution
Exploring Operation: 23+95=118, Resulting Numbers: [118]
118,46 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: 46:[71, 24, 1], Operations: ['12-11=1']
Exploring Operation: 71/1=71, Resulting Numbers: [24, 71]
Generated Node #0,4,0: 46:[24, 71] Operation: 71/1=71
Exploring Operation: 71*1=71, Resulting Numbers: [24, 71]
Generated Node #0,4,1: 46:[24, 71] Operation: 71*1=71
Exploring Operation: 24-1=23, Resulting Numbers: [71, 23]
Generated Node #0,4,2: 46:[71, 23] Operation: 24-1=23
Exploring Operation: 71-1=70, Resulting Numbers: [24, 70]
Generated Node #0,4,3: 46:[24, 70] Operation: 71-1=70
Exploring Operation: 71-24=47, Resulting Numbers: [1, 47]
Generated Node #0,4,4: 46:[1, 47] Operation: 71-24=47
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 46:[1, 47], Operations: ['12-11=1', '71-24=47']
Exploring Operation: 1+47=48, Resulting Numbers: [48]
48,46 unequal: No Solution
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[71, 11, 24, 12], Operations: []
Exploring Operation: 12-11=1, Resulting Numbers: [71, 24, 1]
Generated Node #0,4: 46:[71, 24, 1] Operation: 12-11=1
Moving to Node #0,4
Current State: 46:[71, 24, 1], Operations: ['12-11=1']
Exploring Operation: 71-24=47, Resulting Numbers: [1, 47]
Generated Node #0,4,4: 46:[1, 47] Operation: 71-24=47
Moving to Node #0,4,4
Current State: 46:[1, 47], Operations: ['12-11=1', '71-24=47']
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.953993 | hs_5 | mult_heuristic |
[
58,
35,
24,
17
] | 46 | [
"35*24=840",
"840-58=782",
"782/17=46"
] | Current State: 46:[58, 35, 24, 17], Operations: []
Exploring Operation: 35*24=840, Resulting Numbers: [58, 17, 840]
Generated Node #2: [58, 17, 840] from Operation: 35*24=840
Current State: 46:[58, 17, 840], Operations: ['35*24=840']
Exploring Operation: 840-58=782, Resulting Numbers: [17, 782]
Generated Node #3: [17, 782] from Operation: 840-58=782
Current State: 46:[17, 782], Operations: ['35*24=840', '840-58=782']
Exploring Operation: 782/17=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[58, 35, 24, 17], Operations: []
Exploring Operation: 58-35=23, Resulting Numbers: [24, 17, 23]
Generated Node #0,0: 46:[24, 17, 23] Operation: 58-35=23
Moving to Node #0,0
Current State: 46:[24, 17, 23], Operations: ['58-35=23']
Exploring Operation: 24+17=41, Resulting Numbers: [23, 41]
Generated Node #0,0,0: 46:[23, 41] Operation: 24+17=41
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 46:[23, 41], Operations: ['58-35=23', '24+17=41']
Exploring Operation: 41-23=18, Resulting Numbers: [18]
18,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 | sum_heuristic |
[
7,
16,
76,
1
] | 74 | [
"7+1=8",
"16/8=2",
"76-2=74"
] | Current State: 74:[7, 16, 76, 1], Operations: []
Exploring Operation: 7+1=8, Resulting Numbers: [16, 76, 8]
Generated Node #2: [16, 76, 8] from Operation: 7+1=8
Current State: 74:[16, 76, 8], Operations: ['7+1=8']
Exploring Operation: 16/8=2, Resulting Numbers: [76, 2]
Generated Node #3: [76, 2] from Operation: 16/8=2
Current State: 74:[76, 2], Operations: ['7+1=8', '16/8=2']
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[7, 16, 76, 1], Operations: []
Exploring Operation: 7+16=23, Resulting Numbers: [76, 1, 23]
Generated Node #0,0: 74:[76, 1, 23] Operation: 7+16=23
Exploring Operation: 16-7=9, Resulting Numbers: [76, 1, 9]
Generated Node #0,1: 74:[76, 1, 9] Operation: 16-7=9
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[76, 1, 9], Operations: ['16-7=9']
Exploring Operation: 76-1=75, Resulting Numbers: [9, 75]
Generated Node #0,1,0: 74:[9, 75] Operation: 76-1=75
Exploring Operation: 76-9=67, Resulting Numbers: [1, 67]
Generated Node #0,1,1: 74:[1, 67] Operation: 76-9=67
Moving to Node #0,1,0
Current State: 74:[9, 75], Operations: ['16-7=9', '76-1=75']
Exploring Operation: 9+75=84, Resulting Numbers: [84]
84,74 unequal: No Solution
Exploring Operation: 75-9=66, Resulting Numbers: [66]
66,74 unequal: No Solution
Moving to Node #0,1,1
Current State: 74:[1, 67], Operations: ['16-7=9', '76-9=67']
Exploring Operation: 1*67=67, Resulting Numbers: [67]
67,74 unequal: No Solution
Exploring Operation: 1+67=68, Resulting Numbers: [68]
68,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,0
Current State: 74:[76, 1, 23], Operations: ['7+16=23']
Exploring Operation: 76-1=75, Resulting Numbers: [23, 75]
Generated Node #0,0,0: 74:[23, 75] Operation: 76-1=75
Exploring Operation: 1+23=24, Resulting Numbers: [76, 24]
Generated Node #0,0,1: 74:[76, 24] Operation: 1+23=24
Moving to Node #0,0,0
Current State: 74:[23, 75], Operations: ['7+16=23', '76-1=75']
Exploring Operation: 23+75=98, Resulting Numbers: [98]
98,74 unequal: No Solution
Exploring Operation: 75-23=52, Resulting Numbers: [52]
52,74 unequal: No Solution
Moving to Node #0,0,1
Current State: 74:[76, 24], Operations: ['7+16=23', '1+23=24']
Exploring Operation: 76+24=100, Resulting Numbers: [100]
100,74 unequal: No Solution
Exploring Operation: 76-24=52, Resulting Numbers: [52]
52,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
76,
96,
90,
2
] | 79 | [
"96-90=6",
"6/2=3",
"76+3=79"
] | Current State: 79:[76, 96, 90, 2], Operations: []
Exploring Operation: 96-90=6, Resulting Numbers: [76, 2, 6]
Generated Node #2: [76, 2, 6] from Operation: 96-90=6
Current State: 79:[76, 2, 6], Operations: ['96-90=6']
Exploring Operation: 6/2=3, Resulting Numbers: [76, 3]
Generated Node #3: [76, 3] from Operation: 6/2=3
Current State: 79:[76, 3], Operations: ['96-90=6', '6/2=3']
Exploring Operation: 76+3=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[76, 96, 90, 2], Operations: []
Exploring Operation: 76+2=78, Resulting Numbers: [96, 90, 78]
Generated Node #0,0: 79:[96, 90, 78] Operation: 76+2=78
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[96, 90, 78], Operations: ['76+2=78']
Exploring Operation: 96-78=18, Resulting Numbers: [90, 18]
Generated Node #0,0,0: 79:[90, 18] Operation: 96-78=18
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[90, 18], Operations: ['76+2=78', '96-78=18']
Exploring Operation: 90-18=72, Resulting Numbers: [72]
72,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
No solution found.
| 0 | hs_1 | sum_heuristic |
[
7,
76,
51,
87
] | 16 | [
"76-51=25",
"87+25=112",
"112/7=16"
] | Current State: 16:[7, 76, 51, 87], Operations: []
Exploring Operation: 76-51=25, Resulting Numbers: [7, 87, 25]
Generated Node #2: [7, 87, 25] from Operation: 76-51=25
Current State: 16:[7, 87, 25], Operations: ['76-51=25']
Exploring Operation: 87+25=112, Resulting Numbers: [7, 112]
Generated Node #3: [7, 112] from Operation: 87+25=112
Current State: 16:[7, 112], Operations: ['76-51=25', '87+25=112']
Exploring Operation: 112/7=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[7, 76, 51, 87], Operations: []
Exploring Operation: 87-76=11, Resulting Numbers: [7, 51, 11]
Generated Node #0,0: 16:[7, 51, 11] Operation: 87-76=11
Exploring Operation: 76-51=25, Resulting Numbers: [7, 87, 25]
Generated Node #0,1: 16:[7, 87, 25] Operation: 76-51=25
Moving to Node #0,0
Current State: 16:[7, 51, 11], Operations: ['87-76=11']
Exploring Operation: 51-7=44, Resulting Numbers: [11, 44]
Generated Node #0,0,0: 16:[11, 44] Operation: 51-7=44
Exploring Operation: 51-11=40, Resulting Numbers: [7, 40]
Generated Node #0,0,1: 16:[7, 40] Operation: 51-11=40
Moving to Node #0,1
Current State: 16:[7, 87, 25], Operations: ['76-51=25']
Exploring Operation: 87-7=80, Resulting Numbers: [25, 80]
Generated Node #0,1,0: 16:[25, 80] Operation: 87-7=80
Exploring Operation: 87-25=62, Resulting Numbers: [7, 62]
Generated Node #0,1,1: 16:[7, 62] Operation: 87-25=62
Moving to Node #0,0,1
Current State: 16:[7, 40], Operations: ['87-76=11', '51-11=40']
Exploring Operation: 40-7=33, Resulting Numbers: [33]
33,16 unequal: No Solution
Exploring Operation: 7+40=47, Resulting Numbers: [47]
47,16 unequal: No Solution
Moving to Node #0,0,0
Current State: 16:[11, 44], Operations: ['87-76=11', '51-7=44']
Exploring Operation: 44-11=33, Resulting Numbers: [33]
33,16 unequal: No Solution
Exploring Operation: 44/11=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Moving to Node #0,1,1
Current State: 16:[7, 62], Operations: ['76-51=25', '87-25=62']
Exploring Operation: 62-7=55, Resulting Numbers: [55]
55,16 unequal: No Solution
Exploring Operation: 7+62=69, Resulting Numbers: [69]
69,16 unequal: No Solution
Moving to Node #0,1,0
Current State: 16:[25, 80], Operations: ['76-51=25', '87-7=80']
Exploring Operation: 25+80=105, Resulting Numbers: [105]
105,16 unequal: No Solution
Exploring Operation: 80-25=55, Resulting Numbers: [55]
55,16 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
92,
63,
4,
86
] | 65 | [
"92+63=155",
"4+86=90",
"155-90=65"
] | Current State: 65:[92, 63, 4, 86], Operations: []
Exploring Operation: 92+63=155, Resulting Numbers: [4, 86, 155]
Generated Node #2: [4, 86, 155] from Operation: 92+63=155
Current State: 65:[4, 86, 155], Operations: ['92+63=155']
Exploring Operation: 4+86=90, Resulting Numbers: [155, 90]
Generated Node #3: [155, 90] from Operation: 4+86=90
Current State: 65:[155, 90], Operations: ['92+63=155', '4+86=90']
Exploring Operation: 155-90=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[92, 63, 4, 86], Operations: []
Exploring Operation: 92-86=6, Resulting Numbers: [63, 4, 6]
Generated Node #0,0: 65:[63, 4, 6] Operation: 92-86=6
Exploring Operation: 92/4=23, Resulting Numbers: [63, 86, 23]
Generated Node #0,1: 65:[63, 86, 23] Operation: 92/4=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[63, 4, 6], Operations: ['92-86=6']
Exploring Operation: 63+6=69, Resulting Numbers: [4, 69]
Generated Node #0,0,0: 65:[4, 69] Operation: 63+6=69
Exploring Operation: 63+4=67, Resulting Numbers: [6, 67]
Generated Node #0,0,1: 65:[6, 67] Operation: 63+4=67
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 65:[6, 67], Operations: ['92-86=6', '63+4=67']
Exploring Operation: 6+67=73, Resulting Numbers: [73]
73,65 unequal: No Solution
Exploring Operation: 67-6=61, Resulting Numbers: [61]
61,65 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: 65:[4, 69], Operations: ['92-86=6', '63+6=69']
Exploring Operation: 69-4=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[92, 63, 4, 86], Operations: []
Exploring Operation: 92-86=6, Resulting Numbers: [63, 4, 6]
Generated Node #0,0: 65:[63, 4, 6] Operation: 92-86=6
Moving to Node #0,0
Current State: 65:[63, 4, 6], Operations: ['92-86=6']
Exploring Operation: 63+6=69, Resulting Numbers: [4, 69]
Generated Node #0,0,0: 65:[4, 69] Operation: 63+6=69
Moving to Node #0,0,0
Current State: 65:[4, 69], Operations: ['92-86=6', '63+6=69']
Exploring Operation: 69-4=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
5,
98,
45,
79
] | 72 | [
"79-45=34",
"5*34=170",
"170-98=72"
] | Current State: 72:[5, 98, 45, 79], Operations: []
Exploring Operation: 79-45=34, Resulting Numbers: [5, 98, 34]
Generated Node #2: [5, 98, 34] from Operation: 79-45=34
Current State: 72:[5, 98, 34], Operations: ['79-45=34']
Exploring Operation: 5*34=170, Resulting Numbers: [98, 170]
Generated Node #3: [98, 170] from Operation: 5*34=170
Current State: 72:[98, 170], Operations: ['79-45=34', '5*34=170']
Exploring Operation: 170-98=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[5, 98, 45, 79], Operations: []
Exploring Operation: 98-45=53, Resulting Numbers: [5, 79, 53]
Generated Node #0,0: 72:[5, 79, 53] Operation: 98-45=53
Exploring Operation: 45/5=9, Resulting Numbers: [98, 79, 9]
Generated Node #0,1: 72:[98, 79, 9] Operation: 45/5=9
Exploring Operation: 98-79=19, Resulting Numbers: [5, 45, 19]
Generated Node #0,2: 72:[5, 45, 19] Operation: 98-79=19
Exploring Operation: 79-45=34, Resulting Numbers: [5, 98, 34]
Generated Node #0,3: 72:[5, 98, 34] Operation: 79-45=34
Start Sub Search at level 1: Moving to Node #0,2
Current State: 72:[5, 45, 19], Operations: ['98-79=19']
Exploring Operation: 45-19=26, Resulting Numbers: [5, 26]
Generated Node #0,2,0: 72:[5, 26] Operation: 45-19=26
Exploring Operation: 5+19=24, Resulting Numbers: [45, 24]
Generated Node #0,2,1: 72:[45, 24] Operation: 5+19=24
Exploring Operation: 45/5=9, Resulting Numbers: [19, 9]
Generated Node #0,2,2: 72:[19, 9] Operation: 45/5=9
Exploring Operation: 45-5=40, Resulting Numbers: [19, 40]
Generated Node #0,2,3: 72:[19, 40] Operation: 45-5=40
Moving to Node #0,2,2
Current State: 72:[19, 9], Operations: ['98-79=19', '45/5=9']
Exploring Operation: 19*9=171, Resulting Numbers: [171]
171,72 unequal: No Solution
Exploring Operation: 19+9=28, Resulting Numbers: [28]
28,72 unequal: No Solution
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Moving to Node #0,2,0
Current State: 72:[5, 26], Operations: ['98-79=19', '45-19=26']
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,72 unequal: No Solution
Exploring Operation: 5+26=31, Resulting Numbers: [31]
31,72 unequal: No Solution
Exploring Operation: 5*26=130, Resulting Numbers: [130]
130,72 unequal: No Solution
Moving to Node #0,2,3
Current State: 72:[19, 40], Operations: ['98-79=19', '45-5=40']
Exploring Operation: 19+40=59, Resulting Numbers: [59]
59,72 unequal: No Solution
Exploring Operation: 40-19=21, Resulting Numbers: [21]
21,72 unequal: No Solution
Exploring Operation: 19*40=760, Resulting Numbers: [760]
760,72 unequal: No Solution
Moving to Node #0,2,1
Current State: 72:[45, 24], Operations: ['98-79=19', '5+19=24']
Exploring Operation: 45-24=21, Resulting Numbers: [21]
21,72 unequal: No Solution
Exploring Operation: 45*24=1080, Resulting Numbers: [1080]
1080,72 unequal: No Solution
Exploring Operation: 45+24=69, Resulting Numbers: [69]
69,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,0
Current State: 72:[5, 79, 53], Operations: ['98-45=53']
Exploring Operation: 5+53=58, Resulting Numbers: [79, 58]
Generated Node #0,0,0: 72:[79, 58] Operation: 5+53=58
Exploring Operation: 79-53=26, Resulting Numbers: [5, 26]
Generated Node #0,0,1: 72:[5, 26] Operation: 79-53=26
Exploring Operation: 53-5=48, Resulting Numbers: [79, 48]
Generated Node #0,0,2: 72:[79, 48] Operation: 53-5=48
Exploring Operation: 79-5=74, Resulting Numbers: [53, 74]
Generated Node #0,0,3: 72:[53, 74] Operation: 79-5=74
Moving to Node #0,0,1
Current State: 72:[5, 26], Operations: ['98-45=53', '79-53=26']
Exploring Operation: 5+26=31, Resulting Numbers: [31]
31,72 unequal: No Solution
Exploring Operation: 5*26=130, Resulting Numbers: [130]
130,72 unequal: No Solution
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,72 unequal: No Solution
Moving to Node #0,0,3
Current State: 72:[53, 74], Operations: ['98-45=53', '79-5=74']
Exploring Operation: 74-53=21, Resulting Numbers: [21]
21,72 unequal: No Solution
Exploring Operation: 53+74=127, Resulting Numbers: [127]
127,72 unequal: No Solution
Exploring Operation: 53*74=3922, Resulting Numbers: [3922]
3922,72 unequal: No Solution
Moving to Node #0,0,2
Current State: 72:[79, 48], Operations: ['98-45=53', '53-5=48']
Exploring Operation: 79-48=31, Resulting Numbers: [31]
31,72 unequal: No Solution
Exploring Operation: 79*48=3792, Resulting Numbers: [3792]
3792,72 unequal: No Solution
Exploring Operation: 79+48=127, Resulting Numbers: [127]
127,72 unequal: No Solution
Moving to Node #0,0,0
Current State: 72:[79, 58], Operations: ['98-45=53', '5+53=58']
Exploring Operation: 79+58=137, Resulting Numbers: [137]
137,72 unequal: No Solution
Exploring Operation: 79-58=21, Resulting Numbers: [21]
21,72 unequal: No Solution
Exploring Operation: 79*58=4582, Resulting Numbers: [4582]
4582,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,3
Current State: 72:[5, 98, 34], Operations: ['79-45=34']
Exploring Operation: 5+34=39, Resulting Numbers: [98, 39]
Generated Node #0,3,0: 72:[98, 39] Operation: 5+34=39
Exploring Operation: 98-5=93, Resulting Numbers: [34, 93]
Generated Node #0,3,1: 72:[34, 93] Operation: 98-5=93
Exploring Operation: 34-5=29, Resulting Numbers: [98, 29]
Generated Node #0,3,2: 72:[98, 29] Operation: 34-5=29
Exploring Operation: 98-34=64, Resulting Numbers: [5, 64]
Generated Node #0,3,3: 72:[5, 64] Operation: 98-34=64
Moving to Node #0,3,3
Current State: 72:[5, 64], Operations: ['79-45=34', '98-34=64']
Exploring Operation: 64-5=59, Resulting Numbers: [59]
59,72 unequal: No Solution
Exploring Operation: 5+64=69, Resulting Numbers: [69]
69,72 unequal: No Solution
Exploring Operation: 5*64=320, Resulting Numbers: [320]
320,72 unequal: No Solution
Moving to Node #0,3,1
Current State: 72:[34, 93], Operations: ['79-45=34', '98-5=93']
Exploring Operation: 34+93=127, Resulting Numbers: [127]
127,72 unequal: No Solution
Exploring Operation: 93-34=59, Resulting Numbers: [59]
59,72 unequal: No Solution
Exploring Operation: 34*93=3162, Resulting Numbers: [3162]
3162,72 unequal: No Solution
Moving to Node #0,3,0
Current State: 72:[98, 39], Operations: ['79-45=34', '5+34=39']
Exploring Operation: 98-39=59, Resulting Numbers: [59]
59,72 unequal: No Solution
Exploring Operation: 98+39=137, Resulting Numbers: [137]
137,72 unequal: No Solution
Exploring Operation: 98*39=3822, Resulting Numbers: [3822]
3822,72 unequal: No Solution
Moving to Node #0,3,2
Current State: 72:[98, 29], Operations: ['79-45=34', '34-5=29']
Exploring Operation: 98+29=127, Resulting Numbers: [127]
127,72 unequal: No Solution
Exploring Operation: 98-29=69, Resulting Numbers: [69]
69,72 unequal: No Solution
Exploring Operation: 98*29=2842, Resulting Numbers: [2842]
2842,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
Current State: 72:[98, 79, 9], Operations: ['45/5=9']
Exploring Operation: 98-9=89, Resulting Numbers: [79, 89]
Generated Node #0,1,0: 72:[79, 89] Operation: 98-9=89
Exploring Operation: 98+9=107, Resulting Numbers: [79, 107]
Generated Node #0,1,1: 72:[79, 107] Operation: 98+9=107
Exploring Operation: 79-9=70, Resulting Numbers: [98, 70]
Generated Node #0,1,2: 72:[98, 70] Operation: 79-9=70
Exploring Operation: 98-79=19, Resulting Numbers: [9, 19]
Generated Node #0,1,3: 72:[9, 19] Operation: 98-79=19
Moving to Node #0,1,3
Current State: 72:[9, 19], Operations: ['45/5=9', '98-79=19']
Exploring Operation: 9*19=171, Resulting Numbers: [171]
171,72 unequal: No Solution
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Exploring Operation: 9+19=28, Resulting Numbers: [28]
28,72 unequal: No Solution
Moving to Node #0,1,0
Current State: 72:[79, 89], Operations: ['45/5=9', '98-9=89']
Exploring Operation: 79+89=168, Resulting Numbers: [168]
168,72 unequal: No Solution
Exploring Operation: 89-79=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Exploring Operation: 79*89=7031, Resulting Numbers: [7031]
7031,72 unequal: No Solution
Moving to Node #0,1,2
Current State: 72:[98, 70], Operations: ['45/5=9', '79-9=70']
Exploring Operation: 98*70=6860, Resulting Numbers: [6860]
6860,72 unequal: No Solution
Exploring Operation: 98-70=28, Resulting Numbers: [28]
28,72 unequal: No Solution
Exploring Operation: 98+70=168, Resulting Numbers: [168]
168,72 unequal: No Solution
Moving to Node #0,1,1
Current State: 72:[79, 107], Operations: ['45/5=9', '98+9=107']
Exploring Operation: 79+107=186, Resulting Numbers: [186]
186,72 unequal: No Solution
Exploring Operation: 79*107=8453, Resulting Numbers: [8453]
8453,72 unequal: No Solution
Exploring Operation: 107-79=28, Resulting Numbers: [28]
28,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
22,
94,
1,
67
] | 49 | [
"22+94=116",
"1*67=67",
"116-67=49"
] | Current State: 49:[22, 94, 1, 67], Operations: []
Exploring Operation: 22+94=116, Resulting Numbers: [1, 67, 116]
Generated Node #2: [1, 67, 116] from Operation: 22+94=116
Current State: 49:[1, 67, 116], Operations: ['22+94=116']
Exploring Operation: 1*67=67, Resulting Numbers: [116, 67]
Generated Node #3: [116, 67] from Operation: 1*67=67
Current State: 49:[116, 67], Operations: ['22+94=116', '1*67=67']
Exploring Operation: 116-67=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[22, 94, 1, 67], Operations: []
Exploring Operation: 94-22=72, Resulting Numbers: [1, 67, 72]
Generated Node #0,0: 49:[1, 67, 72] Operation: 94-22=72
Exploring Operation: 67-22=45, Resulting Numbers: [94, 1, 45]
Generated Node #0,1: 49:[94, 1, 45] Operation: 67-22=45
Exploring Operation: 94-67=27, Resulting Numbers: [22, 1, 27]
Generated Node #0,2: 49:[22, 1, 27] Operation: 94-67=27
Moving to Node #0,2
Current State: 49:[22, 1, 27], Operations: ['94-67=27']
Exploring Operation: 27-22=5, Resulting Numbers: [1, 5]
Generated Node #0,2,0: 49:[1, 5] Operation: 27-22=5
Exploring Operation: 22+27=49, Resulting Numbers: [1, 49]
Generated Node #0,2,1: 49:[1, 49] Operation: 22+27=49
Exploring Operation: 22-1=21, Resulting Numbers: [27, 21]
Generated Node #0,2,2: 49:[27, 21] Operation: 22-1=21
Moving to Node #0,0
Current State: 49:[1, 67, 72], Operations: ['94-22=72']
Exploring Operation: 72-1=71, Resulting Numbers: [67, 71]
Generated Node #0,0,0: 49:[67, 71] Operation: 72-1=71
Exploring Operation: 72-67=5, Resulting Numbers: [1, 5]
Generated Node #0,0,1: 49:[1, 5] Operation: 72-67=5
Exploring Operation: 67-1=66, Resulting Numbers: [72, 66]
Generated Node #0,0,2: 49:[72, 66] Operation: 67-1=66
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 49:[1, 5], Operations: ['94-22=72', '72-67=5']
Exploring Operation: 1*5=5, Resulting Numbers: [5]
5,49 unequal: No Solution
Exploring Operation: 1+5=6, Resulting Numbers: [6]
6,49 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 49:[67, 71], Operations: ['94-22=72', '72-1=71']
Exploring Operation: 71-67=4, Resulting Numbers: [4]
4,49 unequal: No Solution
Exploring Operation: 67*71=4757, Resulting Numbers: [4757]
4757,49 unequal: No Solution
Exploring Operation: 67+71=138, Resulting Numbers: [138]
138,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 49:[72, 66], Operations: ['94-22=72', '67-1=66']
Exploring Operation: 72+66=138, Resulting Numbers: [138]
138,49 unequal: No Solution
Exploring Operation: 72-66=6, Resulting Numbers: [6]
6,49 unequal: No Solution
Exploring Operation: 72*66=4752, Resulting Numbers: [4752]
4752,49 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: 49:[94, 1, 45], Operations: ['67-22=45']
Exploring Operation: 94-45=49, Resulting Numbers: [1, 49]
Generated Node #0,1,0: 49:[1, 49] Operation: 94-45=49
Exploring Operation: 1+45=46, Resulting Numbers: [94, 46]
Generated Node #0,1,1: 49:[94, 46] Operation: 1+45=46
Exploring Operation: 94-1=93, Resulting Numbers: [45, 93]
Generated Node #0,1,2: 49:[45, 93] Operation: 94-1=93
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 49:[1, 49], Operations: ['67-22=45', '94-45=49']
Exploring Operation: 49/1=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[22, 94, 1, 67], Operations: []
Exploring Operation: 67-22=45, Resulting Numbers: [94, 1, 45]
Generated Node #0,1: 49:[94, 1, 45] Operation: 67-22=45
Moving to Node #0,1
Current State: 49:[94, 1, 45], Operations: ['67-22=45']
Exploring Operation: 94-45=49, Resulting Numbers: [1, 49]
Generated Node #0,1,0: 49:[1, 49] Operation: 94-45=49
Moving to Node #0,1,0
Current State: 49:[1, 49], Operations: ['67-22=45', '94-45=49']
Exploring Operation: 49/1=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_3 | sum_heuristic |
[
12,
29,
18,
2
] | 31 | [
"12+18=30",
"2*30=60",
"60-29=31"
] | Current State: 31:[12, 29, 18, 2], Operations: []
Exploring Operation: 12+18=30, Resulting Numbers: [29, 2, 30]
Generated Node #2: [29, 2, 30] from Operation: 12+18=30
Current State: 31:[29, 2, 30], Operations: ['12+18=30']
Exploring Operation: 2*30=60, Resulting Numbers: [29, 60]
Generated Node #3: [29, 60] from Operation: 2*30=60
Current State: 31:[29, 60], Operations: ['12+18=30', '2*30=60']
Exploring Operation: 60-29=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[12, 29, 18, 2], Operations: []
Exploring Operation: 12*2=24, Resulting Numbers: [29, 18, 24]
Generated Node #0,0: 31:[29, 18, 24] Operation: 12*2=24
Exploring Operation: 18*2=36, Resulting Numbers: [12, 29, 36]
Generated Node #0,1: 31:[12, 29, 36] Operation: 18*2=36
Exploring Operation: 12+18=30, Resulting Numbers: [29, 2, 30]
Generated Node #0,2: 31:[29, 2, 30] Operation: 12+18=30
Exploring Operation: 12+2=14, Resulting Numbers: [29, 18, 14]
Generated Node #0,3: 31:[29, 18, 14] Operation: 12+2=14
Moving to Node #0,0
Current State: 31:[29, 18, 24], Operations: ['12*2=24']
Exploring Operation: 29+18=47, Resulting Numbers: [24, 47]
Generated Node #0,0,0: 31:[24, 47] Operation: 29+18=47
Exploring Operation: 24-18=6, Resulting Numbers: [29, 6]
Generated Node #0,0,1: 31:[29, 6] Operation: 24-18=6
Exploring Operation: 29-18=11, Resulting Numbers: [24, 11]
Generated Node #0,0,2: 31:[24, 11] Operation: 29-18=11
Exploring Operation: 18+24=42, Resulting Numbers: [29, 42]
Generated Node #0,0,3: 31:[29, 42] Operation: 18+24=42
Moving to Node #0,1
Current State: 31:[12, 29, 36], Operations: ['18*2=36']
Exploring Operation: 12+29=41, Resulting Numbers: [36, 41]
Generated Node #0,1,0: 31:[36, 41] Operation: 12+29=41
Exploring Operation: 12+36=48, Resulting Numbers: [29, 48]
Generated Node #0,1,1: 31:[29, 48] Operation: 12+36=48
Exploring Operation: 36-12=24, Resulting Numbers: [29, 24]
Generated Node #0,1,2: 31:[29, 24] Operation: 36-12=24
Exploring Operation: 29-12=17, Resulting Numbers: [36, 17]
Generated Node #0,1,3: 31:[36, 17] Operation: 29-12=17
Moving to Node #0,3
Current State: 31:[29, 18, 14], Operations: ['12+2=14']
Exploring Operation: 29+14=43, Resulting Numbers: [18, 43]
Generated Node #0,3,0: 31:[18, 43] Operation: 29+14=43
Exploring Operation: 18+14=32, Resulting Numbers: [29, 32]
Generated Node #0,3,1: 31:[29, 32] Operation: 18+14=32
Exploring Operation: 18-14=4, Resulting Numbers: [29, 4]
Generated Node #0,3,2: 31:[29, 4] Operation: 18-14=4
Exploring Operation: 29-14=15, Resulting Numbers: [18, 15]
Generated Node #0,3,3: 31:[18, 15] Operation: 29-14=15
Moving to Node #0,2
Current State: 31:[29, 2, 30], Operations: ['12+18=30']
Exploring Operation: 30-2=28, Resulting Numbers: [29, 28]
Generated Node #0,2,0: 31:[29, 28] Operation: 30-2=28
Exploring Operation: 29+2=31, Resulting Numbers: [30, 31]
Generated Node #0,2,1: 31:[30, 31] Operation: 29+2=31
Exploring Operation: 2+30=32, Resulting Numbers: [29, 32]
Generated Node #0,2,2: 31:[29, 32] Operation: 2+30=32
Exploring Operation: 29-2=27, Resulting Numbers: [30, 27]
Generated Node #0,2,3: 31:[30, 27] Operation: 29-2=27
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 31:[30, 31], Operations: ['12+18=30', '29+2=31']
Exploring Operation: 31-30=1, Resulting Numbers: [1]
1,31 unequal: No Solution
Exploring Operation: 30+31=61, Resulting Numbers: [61]
61,31 unequal: No Solution
Exploring Operation: 30*31=930, Resulting Numbers: [930]
930,31 unequal: No Solution
No 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: 31:[29, 32], Operations: ['12+18=30', '2+30=32']
Exploring Operation: 32-29=3, Resulting Numbers: [3]
3,31 unequal: No Solution
Exploring Operation: 29+32=61, Resulting Numbers: [61]
61,31 unequal: No Solution
Exploring Operation: 29*32=928, Resulting Numbers: [928]
928,31 unequal: No Solution
No 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: 31:[29, 28], Operations: ['12+18=30', '30-2=28']
Exploring Operation: 29+28=57, Resulting Numbers: [57]
57,31 unequal: No Solution
Exploring Operation: 29*28=812, Resulting Numbers: [812]
812,31 unequal: No Solution
Exploring Operation: 29-28=1, Resulting Numbers: [1]
1,31 unequal: No Solution
No 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: 31:[30, 27], Operations: ['12+18=30', '29-2=27']
Exploring Operation: 30+27=57, Resulting Numbers: [57]
57,31 unequal: No Solution
Exploring Operation: 30-27=3, Resulting Numbers: [3]
3,31 unequal: No Solution
Exploring Operation: 30*27=810, Resulting Numbers: [810]
810,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,1
Current State: 31:[29, 32], Operations: ['12+2=14', '18+14=32']
Exploring Operation: 29+32=61, Resulting Numbers: [61]
61,31 unequal: No Solution
Exploring Operation: 29*32=928, Resulting Numbers: [928]
928,31 unequal: No Solution
Exploring Operation: 32-29=3, Resulting Numbers: [3]
3,31 unequal: No Solution
Moving to Node #0,1,2
Current State: 31:[29, 24], Operations: ['18*2=36', '36-12=24']
Exploring Operation: 29+24=53, Resulting Numbers: [53]
53,31 unequal: No Solution
Exploring Operation: 29*24=696, Resulting Numbers: [696]
696,31 unequal: No Solution
Exploring Operation: 29-24=5, Resulting Numbers: [5]
5,31 unequal: No Solution
Moving to Node #0,0,3
Current State: 31:[29, 42], Operations: ['12*2=24', '18+24=42']
Exploring Operation: 29+42=71, Resulting Numbers: [71]
71,31 unequal: No Solution
Exploring Operation: 42-29=13, Resulting Numbers: [13]
13,31 unequal: No Solution
Exploring Operation: 29*42=1218, Resulting Numbers: [1218]
1218,31 unequal: No Solution
Moving to Node #0,1,0
Current State: 31:[36, 41], Operations: ['18*2=36', '12+29=41']
Exploring Operation: 36*41=1476, Resulting Numbers: [1476]
1476,31 unequal: No Solution
Exploring Operation: 41-36=5, Resulting Numbers: [5]
5,31 unequal: No Solution
Exploring Operation: 36+41=77, Resulting Numbers: [77]
77,31 unequal: No Solution
Moving to Node #0,1,1
Current State: 31:[29, 48], Operations: ['18*2=36', '12+36=48']
Exploring Operation: 48-29=19, Resulting Numbers: [19]
19,31 unequal: No Solution
Exploring Operation: 29*48=1392, Resulting Numbers: [1392]
1392,31 unequal: No Solution
Exploring Operation: 29+48=77, Resulting Numbers: [77]
77,31 unequal: No Solution
Moving to Node #0,1,3
Current State: 31:[36, 17], Operations: ['18*2=36', '29-12=17']
Exploring Operation: 36+17=53, Resulting Numbers: [53]
53,31 unequal: No Solution
Exploring Operation: 36*17=612, Resulting Numbers: [612]
612,31 unequal: No Solution
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,31 unequal: No Solution
Moving to Node #0,0,0
Current State: 31:[24, 47], Operations: ['12*2=24', '29+18=47']
Exploring Operation: 24*47=1128, Resulting Numbers: [1128]
1128,31 unequal: No Solution
Exploring Operation: 24+47=71, Resulting Numbers: [71]
71,31 unequal: No Solution
Exploring Operation: 47-24=23, Resulting Numbers: [23]
23,31 unequal: No Solution
Moving to Node #0,3,0
Current State: 31:[18, 43], Operations: ['12+2=14', '29+14=43']
Exploring Operation: 43-18=25, Resulting Numbers: [25]
25,31 unequal: No Solution
Exploring Operation: 18+43=61, Resulting Numbers: [61]
61,31 unequal: No Solution
Exploring Operation: 18*43=774, Resulting Numbers: [774]
774,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[29, 6], Operations: ['12*2=24', '24-18=6']
Exploring Operation: 29*6=174, Resulting Numbers: [174]
174,31 unequal: No Solution
Exploring Operation: 29+6=35, Resulting Numbers: [35]
35,31 unequal: No Solution
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,31 unequal: No Solution
Moving to Node #0,0,2
Current State: 31:[24, 11], Operations: ['12*2=24', '29-18=11']
Exploring Operation: 24*11=264, Resulting Numbers: [264]
264,31 unequal: No Solution
Exploring Operation: 24+11=35, Resulting Numbers: [35]
35,31 unequal: No Solution
Exploring Operation: 24-11=13, Resulting Numbers: [13]
13,31 unequal: No Solution
Moving to Node #0,3,3
Current State: 31:[18, 15], Operations: ['12+2=14', '29-14=15']
Exploring Operation: 18-15=3, Resulting Numbers: [3]
3,31 unequal: No Solution
Exploring Operation: 18+15=33, Resulting Numbers: [33]
33,31 unequal: No Solution
Exploring Operation: 18*15=270, Resulting Numbers: [270]
270,31 unequal: No Solution
Moving to Node #0,3,2
Current State: 31:[29, 4], Operations: ['12+2=14', '18-14=4']
Exploring Operation: 29+4=33, Resulting Numbers: [33]
33,31 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,31 unequal: No Solution
Exploring Operation: 29*4=116, Resulting Numbers: [116]
116,31 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
61,
32,
45,
29
] | 77 | [
"61+32=93",
"45-29=16",
"93-16=77"
] | Current State: 77:[61, 32, 45, 29], Operations: []
Exploring Operation: 61+32=93, Resulting Numbers: [45, 29, 93]
Generated Node #2: [45, 29, 93] from Operation: 61+32=93
Current State: 77:[45, 29, 93], Operations: ['61+32=93']
Exploring Operation: 45-29=16, Resulting Numbers: [93, 16]
Generated Node #3: [93, 16] from Operation: 45-29=16
Current State: 77:[93, 16], Operations: ['61+32=93', '45-29=16']
Exploring Operation: 93-16=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[61, 32, 45, 29], Operations: []
Exploring Operation: 45-32=13, Resulting Numbers: [61, 29, 13]
Generated Node #0,0: 77:[61, 29, 13] Operation: 45-32=13
Exploring Operation: 45+29=74, Resulting Numbers: [61, 32, 74]
Generated Node #0,1: 77:[61, 32, 74] Operation: 45+29=74
Exploring Operation: 32+45=77, Resulting Numbers: [61, 29, 77]
Generated Node #0,2: 77:[61, 29, 77] Operation: 32+45=77
Exploring Operation: 45-29=16, Resulting Numbers: [61, 32, 16]
Generated Node #0,3: 77:[61, 32, 16] Operation: 45-29=16
Moving to Node #0,2
Current State: 77:[61, 29, 77], Operations: ['32+45=77']
Exploring Operation: 29+77=106, Resulting Numbers: [61, 106]
Generated Node #0,2,0: 77:[61, 106] Operation: 29+77=106
Exploring Operation: 61+29=90, Resulting Numbers: [77, 90]
Generated Node #0,2,1: 77:[77, 90] Operation: 61+29=90
Exploring Operation: 77-61=16, Resulting Numbers: [29, 16]
Generated Node #0,2,2: 77:[29, 16] Operation: 77-61=16
Exploring Operation: 61-29=32, Resulting Numbers: [77, 32]
Generated Node #0,2,3: 77:[77, 32] Operation: 61-29=32
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 77:[77, 90], Operations: ['32+45=77', '61+29=90']
Exploring Operation: 77+90=167, Resulting Numbers: [167]
167,77 unequal: No Solution
Exploring Operation: 90-77=13, Resulting Numbers: [13]
13,77 unequal: No Solution
Exploring Operation: 77*90=6930, Resulting Numbers: [6930]
6930,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 77:[77, 32], Operations: ['32+45=77', '61-29=32']
Exploring Operation: 77+32=109, Resulting Numbers: [109]
109,77 unequal: No Solution
Exploring Operation: 77*32=2464, Resulting Numbers: [2464]
2464,77 unequal: No Solution
Exploring Operation: 77-32=45, Resulting Numbers: [45]
45,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 77:[29, 16], Operations: ['32+45=77', '77-61=16']
Exploring Operation: 29*16=464, Resulting Numbers: [464]
464,77 unequal: No Solution
Exploring Operation: 29+16=45, Resulting Numbers: [45]
45,77 unequal: No Solution
Exploring Operation: 29-16=13, Resulting Numbers: [13]
13,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 77:[61, 106], Operations: ['32+45=77', '29+77=106']
Exploring Operation: 106-61=45, Resulting Numbers: [45]
45,77 unequal: No Solution
Exploring Operation: 61+106=167, Resulting Numbers: [167]
167,77 unequal: No Solution
Exploring Operation: 61*106=6466, Resulting Numbers: [6466]
6466,77 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: 77:[61, 29, 13], Operations: ['45-32=13']
Exploring Operation: 61+13=74, Resulting Numbers: [29, 74]
Generated Node #0,0,0: 77:[29, 74] Operation: 61+13=74
Exploring Operation: 29-13=16, Resulting Numbers: [61, 16]
Generated Node #0,0,1: 77:[61, 16] Operation: 29-13=16
Exploring Operation: 61-29=32, Resulting Numbers: [13, 32]
Generated Node #0,0,2: 77:[13, 32] Operation: 61-29=32
Exploring Operation: 61+29=90, Resulting Numbers: [13, 90]
Generated Node #0,0,3: 77:[13, 90] Operation: 61+29=90
Moving to Node #0,1
Current State: 77:[61, 32, 74], Operations: ['45+29=74']
Exploring Operation: 61+32=93, Resulting Numbers: [74, 93]
Generated Node #0,1,0: 77:[74, 93] Operation: 61+32=93
Exploring Operation: 61-32=29, Resulting Numbers: [74, 29]
Generated Node #0,1,1: 77:[74, 29] Operation: 61-32=29
Exploring Operation: 74-61=13, Resulting Numbers: [32, 13]
Generated Node #0,1,2: 77:[32, 13] Operation: 74-61=13
Exploring Operation: 32+74=106, Resulting Numbers: [61, 106]
Generated Node #0,1,3: 77:[61, 106] Operation: 32+74=106
Moving to Node #0,3
Current State: 77:[61, 32, 16], Operations: ['45-29=16']
Exploring Operation: 32-16=16, Resulting Numbers: [61, 16]
Generated Node #0,3,0: 77:[61, 16] Operation: 32-16=16
Exploring Operation: 61+32=93, Resulting Numbers: [16, 93]
Generated Node #0,3,1: 77:[16, 93] Operation: 61+32=93
Exploring Operation: 32/16=2, Resulting Numbers: [61, 2]
Generated Node #0,3,2: 77:[61, 2] Operation: 32/16=2
Exploring Operation: 61+16=77, Resulting Numbers: [32, 77]
Generated Node #0,3,3: 77:[32, 77] Operation: 61+16=77
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 77:[61, 16], Operations: ['45-29=16', '32-16=16']
Exploring Operation: 61-16=45, Resulting Numbers: [45]
45,77 unequal: No Solution
Exploring Operation: 61+16=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[61, 32, 45, 29], Operations: []
Exploring Operation: 45-29=16, Resulting Numbers: [61, 32, 16]
Generated Node #0,3: 77:[61, 32, 16] Operation: 45-29=16
Moving to Node #0,3
Current State: 77:[61, 32, 16], Operations: ['45-29=16']
Exploring Operation: 32-16=16, Resulting Numbers: [61, 16]
Generated Node #0,3,0: 77:[61, 16] Operation: 32-16=16
Moving to Node #0,3,0
Current State: 77:[61, 16], Operations: ['45-29=16', '32-16=16']
Exploring Operation: 61+16=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_4 | sum_heuristic |
[
63,
41,
29,
4
] | 15 | [
"41-29=12",
"4*12=48",
"63-48=15"
] | Current State: 15:[63, 41, 29, 4], Operations: []
Exploring Operation: 41-29=12, Resulting Numbers: [63, 4, 12]
Generated Node #2: [63, 4, 12] from Operation: 41-29=12
Current State: 15:[63, 4, 12], Operations: ['41-29=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: ['41-29=12', '4*12=48']
Exploring Operation: 63-48=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[63, 41, 29, 4], Operations: []
Exploring Operation: 41-4=37, Resulting Numbers: [63, 29, 37]
Generated Node #0,0: 15:[63, 29, 37] Operation: 41-4=37
Exploring Operation: 63-4=59, Resulting Numbers: [41, 29, 59]
Generated Node #0,1: 15:[41, 29, 59] Operation: 63-4=59
Exploring Operation: 41-29=12, Resulting Numbers: [63, 4, 12]
Generated Node #0,2: 15:[63, 4, 12] Operation: 41-29=12
Exploring Operation: 63-41=22, Resulting Numbers: [29, 4, 22]
Generated Node #0,3: 15:[29, 4, 22] Operation: 63-41=22
Exploring Operation: 63-29=34, Resulting Numbers: [41, 4, 34]
Generated Node #0,4: 15:[41, 4, 34] Operation: 63-29=34
Moving to Node #0,3
Current State: 15:[29, 4, 22], Operations: ['63-41=22']
Exploring Operation: 22-4=18, Resulting Numbers: [29, 18]
Generated Node #0,3,0: 15:[29, 18] Operation: 22-4=18
Exploring Operation: 4+22=26, Resulting Numbers: [29, 26]
Generated Node #0,3,1: 15:[29, 26] Operation: 4+22=26
Exploring Operation: 29+4=33, Resulting Numbers: [22, 33]
Generated Node #0,3,2: 15:[22, 33] Operation: 29+4=33
Exploring Operation: 29-4=25, Resulting Numbers: [22, 25]
Generated Node #0,3,3: 15:[22, 25] Operation: 29-4=25
Exploring Operation: 29-22=7, Resulting Numbers: [4, 7]
Generated Node #0,3,4: 15:[4, 7] Operation: 29-22=7
Moving to Node #0,4
Current State: 15:[41, 4, 34], Operations: ['63-29=34']
Exploring Operation: 34-4=30, Resulting Numbers: [41, 30]
Generated Node #0,4,0: 15:[41, 30] Operation: 34-4=30
Exploring Operation: 41-4=37, Resulting Numbers: [34, 37]
Generated Node #0,4,1: 15:[34, 37] Operation: 41-4=37
Exploring Operation: 41-34=7, Resulting Numbers: [4, 7]
Generated Node #0,4,2: 15:[4, 7] Operation: 41-34=7
Exploring Operation: 4+34=38, Resulting Numbers: [41, 38]
Generated Node #0,4,3: 15:[41, 38] Operation: 4+34=38
Exploring Operation: 41+4=45, Resulting Numbers: [34, 45]
Generated Node #0,4,4: 15:[34, 45] Operation: 41+4=45
Moving to Node #0,2
Current State: 15:[63, 4, 12], Operations: ['41-29=12']
Exploring Operation: 12-4=8, Resulting Numbers: [63, 8]
Generated Node #0,2,0: 15:[63, 8] Operation: 12-4=8
Exploring Operation: 63-4=59, Resulting Numbers: [12, 59]
Generated Node #0,2,1: 15:[12, 59] Operation: 63-4=59
Exploring Operation: 12/4=3, Resulting Numbers: [63, 3]
Generated Node #0,2,2: 15:[63, 3] Operation: 12/4=3
Exploring Operation: 63-12=51, Resulting Numbers: [4, 51]
Generated Node #0,2,3: 15:[4, 51] Operation: 63-12=51
Exploring Operation: 4+12=16, Resulting Numbers: [63, 16]
Generated Node #0,2,4: 15:[63, 16] Operation: 4+12=16
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 15:[4, 51], Operations: ['41-29=12', '63-12=51']
Exploring Operation: 4*51=204, Resulting Numbers: [204]
204,15 unequal: No Solution
Exploring Operation: 51-4=47, Resulting Numbers: [47]
47,15 unequal: No Solution
Exploring Operation: 4+51=55, Resulting Numbers: [55]
55,15 unequal: No Solution
No 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: 15:[12, 59], Operations: ['41-29=12', '63-4=59']
Exploring Operation: 12*59=708, Resulting Numbers: [708]
708,15 unequal: No Solution
Exploring Operation: 12+59=71, Resulting Numbers: [71]
71,15 unequal: No Solution
Exploring Operation: 59-12=47, Resulting Numbers: [47]
47,15 unequal: No Solution
No 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: 15:[63, 3], Operations: ['41-29=12', '12/4=3']
Exploring Operation: 63+3=66, Resulting Numbers: [66]
66,15 unequal: No Solution
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,15 unequal: No Solution
Exploring Operation: 63*3=189, Resulting Numbers: [189]
189,15 unequal: No Solution
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,15 unequal: No Solution
No 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: 15:[63, 16], Operations: ['41-29=12', '4+12=16']
Exploring Operation: 63+16=79, Resulting Numbers: [79]
79,15 unequal: No Solution
Exploring Operation: 63*16=1008, Resulting Numbers: [1008]
1008,15 unequal: No Solution
Exploring Operation: 63-16=47, Resulting Numbers: [47]
47,15 unequal: No Solution
No 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: 15:[63, 8], Operations: ['41-29=12', '12-4=8']
Exploring Operation: 63+8=71, Resulting Numbers: [71]
71,15 unequal: No Solution
Exploring Operation: 63-8=55, Resulting Numbers: [55]
55,15 unequal: No Solution
Exploring Operation: 63*8=504, Resulting Numbers: [504]
504,15 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: 15:[63, 29, 37], Operations: ['41-4=37']
Exploring Operation: 63-29=34, Resulting Numbers: [37, 34]
Generated Node #0,0,0: 15:[37, 34] Operation: 63-29=34
Exploring Operation: 37-29=8, Resulting Numbers: [63, 8]
Generated Node #0,0,1: 15:[63, 8] Operation: 37-29=8
Exploring Operation: 63+37=100, Resulting Numbers: [29, 100]
Generated Node #0,0,2: 15:[29, 100] Operation: 63+37=100
Exploring Operation: 63-37=26, Resulting Numbers: [29, 26]
Generated Node #0,0,3: 15:[29, 26] Operation: 63-37=26
Exploring Operation: 63+29=92, Resulting Numbers: [37, 92]
Generated Node #0,0,4: 15:[37, 92] Operation: 63+29=92
Moving to Node #0,1
Current State: 15:[41, 29, 59], Operations: ['63-4=59']
Exploring Operation: 59-41=18, Resulting Numbers: [29, 18]
Generated Node #0,1,0: 15:[29, 18] Operation: 59-41=18
Exploring Operation: 41+29=70, Resulting Numbers: [59, 70]
Generated Node #0,1,1: 15:[59, 70] Operation: 41+29=70
Exploring Operation: 59-29=30, Resulting Numbers: [41, 30]
Generated Node #0,1,2: 15:[41, 30] Operation: 59-29=30
Exploring Operation: 41-29=12, Resulting Numbers: [59, 12]
Generated Node #0,1,3: 15:[59, 12] Operation: 41-29=12
Exploring Operation: 41+59=100, Resulting Numbers: [29, 100]
Generated Node #0,1,4: 15:[29, 100] Operation: 41+59=100
Moving to Node #0,3,4
Current State: 15:[4, 7], Operations: ['63-41=22', '29-22=7']
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,15 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,15 unequal: No Solution
Moving to Node #0,4,2
Current State: 15:[4, 7], Operations: ['63-29=34', '41-34=7']
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,15 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,15 unequal: No Solution
Moving to Node #0,3,3
Current State: 15:[22, 25], Operations: ['63-41=22', '29-4=25']
Exploring Operation: 22*25=550, Resulting Numbers: [550]
550,15 unequal: No Solution
Exploring Operation: 22+25=47, Resulting Numbers: [47]
47,15 unequal: No Solution
Exploring Operation: 25-22=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Moving to Node #0,3,0
Current State: 15:[29, 18], Operations: ['63-41=22', '22-4=18']
Exploring Operation: 29*18=522, Resulting Numbers: [522]
522,15 unequal: No Solution
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,15 unequal: No Solution
Exploring Operation: 29+18=47, Resulting Numbers: [47]
47,15 unequal: No Solution
Moving to Node #0,1,0
Current State: 15:[29, 18], Operations: ['63-4=59', '59-41=18']
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,15 unequal: No Solution
Exploring Operation: 29+18=47, Resulting Numbers: [47]
47,15 unequal: No Solution
Exploring Operation: 29*18=522, Resulting Numbers: [522]
522,15 unequal: No Solution
Moving to Node #0,3,2
Current State: 15:[22, 33], Operations: ['63-41=22', '29+4=33']
Exploring Operation: 22*33=726, Resulting Numbers: [726]
726,15 unequal: No Solution
Exploring Operation: 33-22=11, Resulting Numbers: [11]
11,15 unequal: No Solution
Exploring Operation: 22+33=55, Resulting Numbers: [55]
55,15 unequal: No Solution
Moving to Node #0,0,3
Current State: 15:[29, 26], Operations: ['41-4=37', '63-37=26']
Exploring Operation: 29+26=55, Resulting Numbers: [55]
55,15 unequal: No Solution
Exploring Operation: 29*26=754, Resulting Numbers: [754]
754,15 unequal: No Solution
Exploring Operation: 29-26=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Moving to Node #0,3,1
Current State: 15:[29, 26], Operations: ['63-41=22', '4+22=26']
Exploring Operation: 29+26=55, Resulting Numbers: [55]
55,15 unequal: No Solution
Exploring Operation: 29*26=754, Resulting Numbers: [754]
754,15 unequal: No Solution
Exploring Operation: 29-26=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Moving to Node #0,4,0
Current State: 15:[41, 30], Operations: ['63-29=34', '34-4=30']
Exploring Operation: 41-30=11, Resulting Numbers: [11]
11,15 unequal: No Solution
Exploring Operation: 41+30=71, Resulting Numbers: [71]
71,15 unequal: No Solution
Exploring Operation: 41*30=1230, Resulting Numbers: [1230]
1230,15 unequal: No Solution
Moving to Node #0,0,0
Current State: 15:[37, 34], Operations: ['41-4=37', '63-29=34']
Exploring Operation: 37+34=71, Resulting Numbers: [71]
71,15 unequal: No Solution
Exploring Operation: 37-34=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Exploring Operation: 37*34=1258, Resulting Numbers: [1258]
1258,15 unequal: No Solution
Moving to Node #0,4,1
Current State: 15:[34, 37], Operations: ['63-29=34', '41-4=37']
Exploring Operation: 34+37=71, Resulting Numbers: [71]
71,15 unequal: No Solution
Exploring Operation: 34*37=1258, Resulting Numbers: [1258]
1258,15 unequal: No Solution
Exploring Operation: 37-34=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Moving to Node #0,1,2
Current State: 15:[41, 30], Operations: ['63-4=59', '59-29=30']
Exploring Operation: 41+30=71, Resulting Numbers: [71]
71,15 unequal: No Solution
Exploring Operation: 41*30=1230, Resulting Numbers: [1230]
1230,15 unequal: No Solution
Exploring Operation: 41-30=11, Resulting Numbers: [11]
11,15 unequal: No Solution
Moving to Node #0,1,3
Current State: 15:[59, 12], Operations: ['63-4=59', '41-29=12']
Exploring Operation: 59*12=708, Resulting Numbers: [708]
708,15 unequal: No Solution
Exploring Operation: 59+12=71, Resulting Numbers: [71]
71,15 unequal: No Solution
Exploring Operation: 59-12=47, Resulting Numbers: [47]
47,15 unequal: No Solution
Moving to Node #0,4,3
Current State: 15:[41, 38], Operations: ['63-29=34', '4+34=38']
Exploring Operation: 41-38=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Exploring Operation: 41+38=79, Resulting Numbers: [79]
79,15 unequal: No Solution
Exploring Operation: 41*38=1558, Resulting Numbers: [1558]
1558,15 unequal: No Solution
Moving to Node #0,4,4
Current State: 15:[34, 45], Operations: ['63-29=34', '41+4=45']
Exploring Operation: 34+45=79, Resulting Numbers: [79]
79,15 unequal: No Solution
Exploring Operation: 45-34=11, Resulting Numbers: [11]
11,15 unequal: No Solution
Exploring Operation: 34*45=1530, Resulting Numbers: [1530]
1530,15 unequal: No Solution
Moving to Node #0,0,1
Current State: 15:[63, 8], Operations: ['41-4=37', '37-29=8']
Exploring Operation: 63+8=71, Resulting Numbers: [71]
71,15 unequal: No Solution
Exploring Operation: 63-8=55, Resulting Numbers: [55]
55,15 unequal: No Solution
Exploring Operation: 63*8=504, Resulting Numbers: [504]
504,15 unequal: No Solution
Moving to Node #0,1,4
Current State: 15:[29, 100], Operations: ['63-4=59', '41+59=100']
Exploring Operation: 29*100=2900, Resulting Numbers: [2900]
2900,15 unequal: No Solution
Exploring Operation: 29+100=129, Resulting Numbers: [129]
129,15 unequal: No Solution
Exploring Operation: 100-29=71, Resulting Numbers: [71]
71,15 unequal: No Solution
Moving to Node #0,0,4
Current State: 15:[37, 92], Operations: ['41-4=37', '63+29=92']
Exploring Operation: 37+92=129, Resulting Numbers: [129]
129,15 unequal: No Solution
Exploring Operation: 92-37=55, Resulting Numbers: [55]
55,15 unequal: No Solution
Exploring Operation: 37*92=3404, Resulting Numbers: [3404]
3404,15 unequal: No Solution
Moving to Node #0,0,2
Current State: 15:[29, 100], Operations: ['41-4=37', '63+37=100']
Exploring Operation: 100-29=71, Resulting Numbers: [71]
71,15 unequal: No Solution
Exploring Operation: 29+100=129, Resulting Numbers: [129]
129,15 unequal: No Solution
Exploring Operation: 29*100=2900, Resulting Numbers: [2900]
2900,15 unequal: No Solution
Moving to Node #0,1,1
Current State: 15:[59, 70], Operations: ['63-4=59', '41+29=70']
Exploring Operation: 70-59=11, Resulting Numbers: [11]
11,15 unequal: No Solution
Exploring Operation: 59+70=129, Resulting Numbers: [129]
129,15 unequal: No Solution
Exploring Operation: 59*70=4130, Resulting Numbers: [4130]
4130,15 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
31,
57,
63,
28
] | 53 | [
"31+57=88",
"63-28=35",
"88-35=53"
] | Current State: 53:[31, 57, 63, 28], Operations: []
Exploring Operation: 31+57=88, Resulting Numbers: [63, 28, 88]
Generated Node #2: [63, 28, 88] from Operation: 31+57=88
Current State: 53:[63, 28, 88], Operations: ['31+57=88']
Exploring Operation: 63-28=35, Resulting Numbers: [88, 35]
Generated Node #3: [88, 35] from Operation: 63-28=35
Current State: 53:[88, 35], Operations: ['31+57=88', '63-28=35']
Exploring Operation: 88-35=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[31, 57, 63, 28], Operations: []
Exploring Operation: 63-28=35, Resulting Numbers: [31, 57, 35]
Generated Node #0,0: 53:[31, 57, 35] Operation: 63-28=35
Exploring Operation: 57-31=26, Resulting Numbers: [63, 28, 26]
Generated Node #0,1: 53:[63, 28, 26] Operation: 57-31=26
Exploring Operation: 63-31=32, Resulting Numbers: [57, 28, 32]
Generated Node #0,2: 53:[57, 28, 32] Operation: 63-31=32
Exploring Operation: 31+28=59, Resulting Numbers: [57, 63, 59]
Generated Node #0,3: 53:[57, 63, 59] Operation: 31+28=59
Exploring Operation: 57-28=29, Resulting Numbers: [31, 63, 29]
Generated Node #0,4: 53:[31, 63, 29] Operation: 57-28=29
Moving to Node #0,3
Current State: 53:[57, 63, 59], Operations: ['31+28=59']
Exploring Operation: 59-57=2, Resulting Numbers: [63, 2]
Generated Node #0,3,0: 53:[63, 2] Operation: 59-57=2
Exploring Operation: 57+63=120, Resulting Numbers: [59, 120]
Generated Node #0,3,1: 53:[59, 120] Operation: 57+63=120
Exploring Operation: 57+59=116, Resulting Numbers: [63, 116]
Generated Node #0,3,2: 53:[63, 116] Operation: 57+59=116
Exploring Operation: 63-57=6, Resulting Numbers: [59, 6]
Generated Node #0,3,3: 53:[59, 6] Operation: 63-57=6
Exploring Operation: 63-59=4, Resulting Numbers: [57, 4]
Generated Node #0,3,4: 53:[57, 4] Operation: 63-59=4
Moving to Node #0,0
Current State: 53:[31, 57, 35], Operations: ['63-28=35']
Exploring Operation: 31+35=66, Resulting Numbers: [57, 66]
Generated Node #0,0,0: 53:[57, 66] Operation: 31+35=66
Exploring Operation: 31+57=88, Resulting Numbers: [35, 88]
Generated Node #0,0,1: 53:[35, 88] Operation: 31+57=88
Exploring Operation: 35-31=4, Resulting Numbers: [57, 4]
Generated Node #0,0,2: 53:[57, 4] Operation: 35-31=4
Exploring Operation: 57-31=26, Resulting Numbers: [35, 26]
Generated Node #0,0,3: 53:[35, 26] Operation: 57-31=26
Exploring Operation: 57-35=22, Resulting Numbers: [31, 22]
Generated Node #0,0,4: 53:[31, 22] Operation: 57-35=22
Moving to Node #0,2
Current State: 53:[57, 28, 32], Operations: ['63-31=32']
Exploring Operation: 32-28=4, Resulting Numbers: [57, 4]
Generated Node #0,2,0: 53:[57, 4] Operation: 32-28=4
Exploring Operation: 28+32=60, Resulting Numbers: [57, 60]
Generated Node #0,2,1: 53:[57, 60] Operation: 28+32=60
Exploring Operation: 57-28=29, Resulting Numbers: [32, 29]
Generated Node #0,2,2: 53:[32, 29] Operation: 57-28=29
Exploring Operation: 57-32=25, Resulting Numbers: [28, 25]
Generated Node #0,2,3: 53:[28, 25] Operation: 57-32=25
Exploring Operation: 57+28=85, Resulting Numbers: [32, 85]
Generated Node #0,2,4: 53:[32, 85] Operation: 57+28=85
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 53:[57, 60], Operations: ['63-31=32', '28+32=60']
Exploring Operation: 60-57=3, Resulting Numbers: [3]
3,53 unequal: No Solution
Exploring Operation: 57*60=3420, Resulting Numbers: [3420]
3420,53 unequal: No Solution
Exploring Operation: 57+60=117, Resulting Numbers: [117]
117,53 unequal: No Solution
No 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: 53:[32, 29], Operations: ['63-31=32', '57-28=29']
Exploring Operation: 32+29=61, Resulting Numbers: [61]
61,53 unequal: No Solution
Exploring Operation: 32*29=928, Resulting Numbers: [928]
928,53 unequal: No Solution
Exploring Operation: 32-29=3, Resulting Numbers: [3]
3,53 unequal: No Solution
No 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: 53:[57, 4], Operations: ['63-31=32', '32-28=4']
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[31, 57, 63, 28], Operations: []
Exploring Operation: 63-31=32, Resulting Numbers: [57, 28, 32]
Generated Node #0,2: 53:[57, 28, 32] Operation: 63-31=32
Moving to Node #0,2
Current State: 53:[57, 28, 32], Operations: ['63-31=32']
Exploring Operation: 32-28=4, Resulting Numbers: [57, 4]
Generated Node #0,2,0: 53:[57, 4] Operation: 32-28=4
Moving to Node #0,2,0
Current State: 53:[57, 4], Operations: ['63-31=32', '32-28=4']
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_5 | sum_heuristic |
[
18,
35,
9,
3
] | 26 | [
"18+35=53",
"9*3=27",
"53-27=26"
] | Current State: 26:[18, 35, 9, 3], Operations: []
Exploring Operation: 18+35=53, Resulting Numbers: [9, 3, 53]
Generated Node #2: [9, 3, 53] from Operation: 18+35=53
Current State: 26:[9, 3, 53], Operations: ['18+35=53']
Exploring Operation: 9*3=27, Resulting Numbers: [53, 27]
Generated Node #3: [53, 27] from Operation: 9*3=27
Current State: 26:[53, 27], Operations: ['18+35=53', '9*3=27']
Exploring Operation: 53-27=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[18, 35, 9, 3], Operations: []
Exploring Operation: 35-18=17, Resulting Numbers: [9, 3, 17]
Generated Node #0,0: 26:[9, 3, 17] Operation: 35-18=17
Exploring Operation: 35-9=26, Resulting Numbers: [18, 3, 26]
Generated Node #0,1: 26:[18, 3, 26] Operation: 35-9=26
Exploring Operation: 18/9=2, Resulting Numbers: [35, 3, 2]
Generated Node #0,2: 26:[35, 3, 2] Operation: 18/9=2
Moving to Node #0,1
Current State: 26:[18, 3, 26], Operations: ['35-9=26']
Exploring Operation: 18-3=15, Resulting Numbers: [26, 15]
Generated Node #0,1,0: 26:[26, 15] Operation: 18-3=15
Exploring Operation: 18/3=6, Resulting Numbers: [26, 6]
Generated Node #0,1,1: 26:[26, 6] Operation: 18/3=6
Exploring Operation: 18+3=21, Resulting Numbers: [26, 21]
Generated Node #0,1,2: 26:[26, 21] Operation: 18+3=21
Moving to Node #0,0
Current State: 26:[9, 3, 17], Operations: ['35-18=17']
Exploring Operation: 9*3=27, Resulting Numbers: [17, 27]
Generated Node #0,0,0: 26:[17, 27] Operation: 9*3=27
Exploring Operation: 9+3=12, Resulting Numbers: [17, 12]
Generated Node #0,0,1: 26:[17, 12] Operation: 9+3=12
Exploring Operation: 9+17=26, Resulting Numbers: [3, 26]
Generated Node #0,0,2: 26:[3, 26] Operation: 9+17=26
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 26:[3, 26], Operations: ['35-18=17', '9+17=26']
Exploring Operation: 3*26=78, Resulting Numbers: [78]
78,26 unequal: No Solution
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,26 unequal: No Solution
Exploring Operation: 3+26=29, Resulting Numbers: [29]
29,26 unequal: No Solution
No 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: 26:[17, 27], Operations: ['35-18=17', '9*3=27']
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,26 unequal: No Solution
Exploring Operation: 17+27=44, Resulting Numbers: [44]
44,26 unequal: No Solution
Exploring Operation: 17*27=459, Resulting Numbers: [459]
459,26 unequal: No Solution
No 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: 26:[17, 12], Operations: ['35-18=17', '9+3=12']
Exploring Operation: 17*12=204, Resulting Numbers: [204]
204,26 unequal: No Solution
Exploring Operation: 17-12=5, Resulting Numbers: [5]
5,26 unequal: No Solution
Exploring Operation: 17+12=29, Resulting Numbers: [29]
29,26 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: 26:[35, 3, 2], Operations: ['18/9=2']
Exploring Operation: 35-2=33, Resulting Numbers: [3, 33]
Generated Node #0,2,0: 26:[3, 33] Operation: 35-2=33
Exploring Operation: 3-2=1, Resulting Numbers: [35, 1]
Generated Node #0,2,1: 26:[35, 1] Operation: 3-2=1
Exploring Operation: 35-3=32, Resulting Numbers: [2, 32]
Generated Node #0,2,2: 26:[2, 32] Operation: 35-3=32
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 26:[2, 32], Operations: ['18/9=2', '35-3=32']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,26 unequal: No Solution
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,26 unequal: No Solution
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,26 unequal: No Solution
No 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: 26:[3, 33], Operations: ['18/9=2', '35-2=33']
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,26 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,26 unequal: No Solution
Exploring Operation: 3+33=36, Resulting Numbers: [36]
36,26 unequal: No Solution
No 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: 26:[35, 1], Operations: ['18/9=2', '3-2=1']
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,26 unequal: No Solution
Exploring Operation: 35/1=35, Resulting Numbers: [35]
35,26 unequal: No Solution
Exploring Operation: 35*1=35, Resulting Numbers: [35]
35,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 26:[26, 15], Operations: ['35-9=26', '18-3=15']
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,26 unequal: No Solution
Exploring Operation: 26*15=390, Resulting Numbers: [390]
390,26 unequal: No Solution
Exploring Operation: 26+15=41, Resulting Numbers: [41]
41,26 unequal: No Solution
Moving to Node #0,1,1
Current State: 26:[26, 6], Operations: ['35-9=26', '18/3=6']
Exploring Operation: 26*6=156, Resulting Numbers: [156]
156,26 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,26 unequal: No Solution
Exploring Operation: 26+6=32, Resulting Numbers: [32]
32,26 unequal: No Solution
Moving to Node #0,1,2
Current State: 26:[26, 21], Operations: ['35-9=26', '18+3=21']
Exploring Operation: 26-21=5, Resulting Numbers: [5]
5,26 unequal: No Solution
Exploring Operation: 26+21=47, Resulting Numbers: [47]
47,26 unequal: No Solution
Exploring Operation: 26*21=546, Resulting Numbers: [546]
546,26 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.