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 |
|---|---|---|---|---|---|---|---|---|
[
27,
62,
54,
84
] | 49 | [
"27+62=89",
"54+84=138",
"138-89=49"
] | Current State: 49:[27, 62, 54, 84], Operations: []
Exploring Operation: 27+62=89, Resulting Numbers: [54, 84, 89]
Generated Node #2: [54, 84, 89] from Operation: 27+62=89
Current State: 49:[54, 84, 89], Operations: ['27+62=89']
Exploring Operation: 54+84=138, Resulting Numbers: [89, 138]
Generated Node #3: [89, 138] from Operation: 54+84=138
Current State: 49:[89, 138], Operations: ['27+62=89', '54+84=138']
Exploring Operation: 138-89=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[27, 62, 54, 84], Operations: []
Exploring Operation: 62-27=35, Resulting Numbers: [54, 84, 35]
Generated Node #0,0: 49:[54, 84, 35] Operation: 62-27=35
Exploring Operation: 84-27=57, Resulting Numbers: [62, 54, 57]
Generated Node #0,1: 49:[62, 54, 57] Operation: 84-27=57
Exploring Operation: 84-54=30, Resulting Numbers: [27, 62, 30]
Generated Node #0,2: 49:[27, 62, 30] Operation: 84-54=30
Exploring Operation: 54/27=2, Resulting Numbers: [62, 84, 2]
Generated Node #0,3: 49:[62, 84, 2] Operation: 54/27=2
Exploring Operation: 84-62=22, Resulting Numbers: [27, 54, 22]
Generated Node #0,4: 49:[27, 54, 22] Operation: 84-62=22
Moving to Node #0,1
Current State: 49:[62, 54, 57], Operations: ['84-27=57']
Exploring Operation: 62-57=5, Resulting Numbers: [54, 5]
Generated Node #0,1,0: 49:[54, 5] Operation: 62-57=5
Exploring Operation: 57-54=3, Resulting Numbers: [62, 3]
Generated Node #0,1,1: 49:[62, 3] Operation: 57-54=3
Exploring Operation: 62+54=116, Resulting Numbers: [57, 116]
Generated Node #0,1,2: 49:[57, 116] Operation: 62+54=116
Exploring Operation: 62+57=119, Resulting Numbers: [54, 119]
Generated Node #0,1,3: 49:[54, 119] Operation: 62+57=119
Exploring Operation: 62-54=8, Resulting Numbers: [57, 8]
Generated Node #0,1,4: 49:[57, 8] Operation: 62-54=8
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 49:[54, 5], Operations: ['84-27=57', '62-57=5']
Exploring Operation: 54-5=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[27, 62, 54, 84], Operations: []
Exploring Operation: 84-27=57, Resulting Numbers: [62, 54, 57]
Generated Node #0,1: 49:[62, 54, 57] Operation: 84-27=57
Moving to Node #0,1
Current State: 49:[62, 54, 57], Operations: ['84-27=57']
Exploring Operation: 62-57=5, Resulting Numbers: [54, 5]
Generated Node #0,1,0: 49:[54, 5] Operation: 62-57=5
Moving to Node #0,1,0
Current State: 49:[54, 5], Operations: ['84-27=57', '62-57=5']
Exploring Operation: 54-5=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
22,
98,
91,
56
] | 41 | [
"98-22=76",
"91-56=35",
"76-35=41"
] | Current State: 41:[22, 98, 91, 56], Operations: []
Exploring Operation: 98-22=76, Resulting Numbers: [91, 56, 76]
Generated Node #2: [91, 56, 76] from Operation: 98-22=76
Current State: 41:[91, 56, 76], Operations: ['98-22=76']
Exploring Operation: 91-56=35, Resulting Numbers: [76, 35]
Generated Node #3: [76, 35] from Operation: 91-56=35
Current State: 41:[76, 35], Operations: ['98-22=76', '91-56=35']
Exploring Operation: 76-35=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[22, 98, 91, 56], Operations: []
Exploring Operation: 91-56=35, Resulting Numbers: [22, 98, 35]
Generated Node #0,0: 41:[22, 98, 35] Operation: 91-56=35
Exploring Operation: 98-22=76, Resulting Numbers: [91, 56, 76]
Generated Node #0,1: 41:[91, 56, 76] Operation: 98-22=76
Exploring Operation: 91-22=69, Resulting Numbers: [98, 56, 69]
Generated Node #0,2: 41:[98, 56, 69] Operation: 91-22=69
Exploring Operation: 98-56=42, Resulting Numbers: [22, 91, 42]
Generated Node #0,3: 41:[22, 91, 42] Operation: 98-56=42
Exploring Operation: 98-91=7, Resulting Numbers: [22, 56, 7]
Generated Node #0,4: 41:[22, 56, 7] Operation: 98-91=7
Moving to Node #0,4
Current State: 41:[22, 56, 7], Operations: ['98-91=7']
Exploring Operation: 56-7=49, Resulting Numbers: [22, 49]
Generated Node #0,4,0: 41:[22, 49] Operation: 56-7=49
Exploring Operation: 56-22=34, Resulting Numbers: [7, 34]
Generated Node #0,4,1: 41:[7, 34] Operation: 56-22=34
Exploring Operation: 56+7=63, Resulting Numbers: [22, 63]
Generated Node #0,4,2: 41:[22, 63] Operation: 56+7=63
Exploring Operation: 22+7=29, Resulting Numbers: [56, 29]
Generated Node #0,4,3: 41:[56, 29] Operation: 22+7=29
Exploring Operation: 22-7=15, Resulting Numbers: [56, 15]
Generated Node #0,4,4: 41:[56, 15] Operation: 22-7=15
Moving to Node #0,3
Current State: 41:[22, 91, 42], Operations: ['98-56=42']
Exploring Operation: 42-22=20, Resulting Numbers: [91, 20]
Generated Node #0,3,0: 41:[91, 20] Operation: 42-22=20
Exploring Operation: 91-22=69, Resulting Numbers: [42, 69]
Generated Node #0,3,1: 41:[42, 69] Operation: 91-22=69
Exploring Operation: 91-42=49, Resulting Numbers: [22, 49]
Generated Node #0,3,2: 41:[22, 49] Operation: 91-42=49
Exploring Operation: 22+42=64, Resulting Numbers: [91, 64]
Generated Node #0,3,3: 41:[91, 64] Operation: 22+42=64
Exploring Operation: 22+91=113, Resulting Numbers: [42, 113]
Generated Node #0,3,4: 41:[42, 113] Operation: 22+91=113
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 41:[22, 49], Operations: ['98-56=42', '91-42=49']
Exploring Operation: 22*49=1078, Resulting Numbers: [1078]
1078,41 unequal: No Solution
Exploring Operation: 22+49=71, Resulting Numbers: [71]
71,41 unequal: No Solution
Exploring Operation: 49-22=27, Resulting Numbers: [27]
27,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,3,1
Current State: 41:[42, 69], Operations: ['98-56=42', '91-22=69']
Exploring Operation: 42*69=2898, Resulting Numbers: [2898]
2898,41 unequal: No Solution
Exploring Operation: 69-42=27, Resulting Numbers: [27]
27,41 unequal: No Solution
Exploring Operation: 42+69=111, Resulting Numbers: [111]
111,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,3,0
Current State: 41:[91, 20], Operations: ['98-56=42', '42-22=20']
Exploring Operation: 91+20=111, Resulting Numbers: [111]
111,41 unequal: No Solution
Exploring Operation: 91-20=71, Resulting Numbers: [71]
71,41 unequal: No Solution
Exploring Operation: 91*20=1820, Resulting Numbers: [1820]
1820,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,3,3
Current State: 41:[91, 64], Operations: ['98-56=42', '22+42=64']
Exploring Operation: 91*64=5824, Resulting Numbers: [5824]
5824,41 unequal: No Solution
Exploring Operation: 91-64=27, Resulting Numbers: [27]
27,41 unequal: No Solution
Exploring Operation: 91+64=155, Resulting Numbers: [155]
155,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,3,4
Current State: 41:[42, 113], Operations: ['98-56=42', '22+91=113']
Exploring Operation: 42*113=4746, Resulting Numbers: [4746]
4746,41 unequal: No Solution
Exploring Operation: 42+113=155, Resulting Numbers: [155]
155,41 unequal: No Solution
Exploring Operation: 113-42=71, Resulting Numbers: [71]
71,41 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: 41:[22, 98, 35], Operations: ['91-56=35']
Exploring Operation: 22+98=120, Resulting Numbers: [35, 120]
Generated Node #0,0,0: 41:[35, 120] Operation: 22+98=120
Exploring Operation: 35-22=13, Resulting Numbers: [98, 13]
Generated Node #0,0,1: 41:[98, 13] Operation: 35-22=13
Exploring Operation: 98-22=76, Resulting Numbers: [35, 76]
Generated Node #0,0,2: 41:[35, 76] Operation: 98-22=76
Exploring Operation: 98-35=63, Resulting Numbers: [22, 63]
Generated Node #0,0,3: 41:[22, 63] Operation: 98-35=63
Exploring Operation: 22+35=57, Resulting Numbers: [98, 57]
Generated Node #0,0,4: 41:[98, 57] Operation: 22+35=57
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 41:[35, 76], Operations: ['91-56=35', '98-22=76']
Exploring Operation: 76-35=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[22, 98, 91, 56], Operations: []
Exploring Operation: 91-56=35, Resulting Numbers: [22, 98, 35]
Generated Node #0,0: 41:[22, 98, 35] Operation: 91-56=35
Moving to Node #0,0
Current State: 41:[22, 98, 35], Operations: ['91-56=35']
Exploring Operation: 98-22=76, Resulting Numbers: [35, 76]
Generated Node #0,0,2: 41:[35, 76] Operation: 98-22=76
Moving to Node #0,0,2
Current State: 41:[35, 76], Operations: ['91-56=35', '98-22=76']
Exploring Operation: 76-35=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.965278 | hs_5 | mult_heuristic |
[
14,
98,
2,
44
] | 30 | [
"98/14=7",
"2*7=14",
"44-14=30"
] | Current State: 30:[14, 98, 2, 44], Operations: []
Exploring Operation: 98/14=7, Resulting Numbers: [2, 44, 7]
Generated Node #2: [2, 44, 7] from Operation: 98/14=7
Current State: 30:[2, 44, 7], Operations: ['98/14=7']
Exploring Operation: 2*7=14, Resulting Numbers: [44, 14]
Generated Node #3: [44, 14] from Operation: 2*7=14
Current State: 30:[44, 14], Operations: ['98/14=7', '2*7=14']
Exploring Operation: 44-14=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[14, 98, 2, 44], Operations: []
Exploring Operation: 98-44=54, Resulting Numbers: [14, 2, 54]
Generated Node #0,0: 30:[14, 2, 54] Operation: 98-44=54
Exploring Operation: 98/14=7, Resulting Numbers: [2, 44, 7]
Generated Node #0,1: 30:[2, 44, 7] Operation: 98/14=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 30:[2, 44, 7], Operations: ['98/14=7']
Exploring Operation: 44-7=37, Resulting Numbers: [2, 37]
Generated Node #0,1,0: 30:[2, 37] Operation: 44-7=37
Exploring Operation: 44/2=22, Resulting Numbers: [7, 22]
Generated Node #0,1,1: 30:[7, 22] Operation: 44/2=22
Moving to Node #0,1,0
Current State: 30:[2, 37], Operations: ['98/14=7', '44-7=37']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,30 unequal: No Solution
Exploring Operation: 2+37=39, Resulting Numbers: [39]
39,30 unequal: No Solution
Moving to Node #0,1,1
Current State: 30:[7, 22], Operations: ['98/14=7', '44/2=22']
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,30 unequal: No Solution
Exploring Operation: 7+22=29, Resulting Numbers: [29]
29,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
Current State: 30:[14, 2, 54], Operations: ['98-44=54']
Exploring Operation: 54/2=27, Resulting Numbers: [14, 27]
Generated Node #0,0,0: 30:[14, 27] Operation: 54/2=27
Exploring Operation: 54-14=40, Resulting Numbers: [2, 40]
Generated Node #0,0,1: 30:[2, 40] Operation: 54-14=40
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 30:[14, 27], Operations: ['98-44=54', '54/2=27']
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,30 unequal: No Solution
Exploring Operation: 14+27=41, Resulting Numbers: [41]
41,30 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: 30:[2, 40], Operations: ['98-44=54', '54-14=40']
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,30 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,30 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 |
[
84,
2,
22,
40
] | 73 | [
"84+22=106",
"40+106=146",
"146/2=73"
] | Current State: 73:[84, 2, 22, 40], Operations: []
Exploring Operation: 84+22=106, Resulting Numbers: [2, 40, 106]
Generated Node #2: [2, 40, 106] from Operation: 84+22=106
Current State: 73:[2, 40, 106], Operations: ['84+22=106']
Exploring Operation: 40+106=146, Resulting Numbers: [2, 146]
Generated Node #3: [2, 146] from Operation: 40+106=146
Current State: 73:[2, 146], Operations: ['84+22=106', '40+106=146']
Exploring Operation: 146/2=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[84, 2, 22, 40], Operations: []
Exploring Operation: 84-2=82, Resulting Numbers: [22, 40, 82]
Generated Node #0,0: 73:[22, 40, 82] Operation: 84-2=82
Exploring Operation: 2*22=44, Resulting Numbers: [84, 40, 44]
Generated Node #0,1: 73:[84, 40, 44] Operation: 2*22=44
Exploring Operation: 2*40=80, Resulting Numbers: [84, 22, 80]
Generated Node #0,2: 73:[84, 22, 80] Operation: 2*40=80
Exploring Operation: 2+22=24, Resulting Numbers: [84, 40, 24]
Generated Node #0,3: 73:[84, 40, 24] Operation: 2+22=24
Moving to Node #0,2
Current State: 73:[84, 22, 80], Operations: ['2*40=80']
Exploring Operation: 22+80=102, Resulting Numbers: [84, 102]
Generated Node #0,2,0: 73:[84, 102] Operation: 22+80=102
Exploring Operation: 80-22=58, Resulting Numbers: [84, 58]
Generated Node #0,2,1: 73:[84, 58] Operation: 80-22=58
Exploring Operation: 84+22=106, Resulting Numbers: [80, 106]
Generated Node #0,2,2: 73:[80, 106] Operation: 84+22=106
Exploring Operation: 84-22=62, Resulting Numbers: [80, 62]
Generated Node #0,2,3: 73:[80, 62] Operation: 84-22=62
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 73:[80, 62], Operations: ['2*40=80', '84-22=62']
Exploring Operation: 80*62=4960, Resulting Numbers: [4960]
4960,73 unequal: No Solution
Exploring Operation: 80+62=142, Resulting Numbers: [142]
142,73 unequal: No Solution
Exploring Operation: 80-62=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,2,1
Current State: 73:[84, 58], Operations: ['2*40=80', '80-22=58']
Exploring Operation: 84*58=4872, Resulting Numbers: [4872]
4872,73 unequal: No Solution
Exploring Operation: 84+58=142, Resulting Numbers: [142]
142,73 unequal: No Solution
Exploring Operation: 84-58=26, Resulting Numbers: [26]
26,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 73:[84, 102], Operations: ['2*40=80', '22+80=102']
Exploring Operation: 84*102=8568, Resulting Numbers: [8568]
8568,73 unequal: No Solution
Exploring Operation: 102-84=18, Resulting Numbers: [18]
18,73 unequal: No Solution
Exploring Operation: 84+102=186, Resulting Numbers: [186]
186,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 73:[80, 106], Operations: ['2*40=80', '84+22=106']
Exploring Operation: 106-80=26, Resulting Numbers: [26]
26,73 unequal: No Solution
Exploring Operation: 80+106=186, Resulting Numbers: [186]
186,73 unequal: No Solution
Exploring Operation: 80*106=8480, Resulting Numbers: [8480]
8480,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:[84, 40, 44], Operations: ['2*22=44']
Exploring Operation: 40+44=84, Resulting Numbers: [84, 84]
Generated Node #0,1,0: 73:[84, 84] Operation: 40+44=84
Exploring Operation: 84+40=124, Resulting Numbers: [44, 124]
Generated Node #0,1,1: 73:[44, 124] Operation: 84+40=124
Exploring Operation: 84-44=40, Resulting Numbers: [40, 40]
Generated Node #0,1,2: 73:[40, 40] Operation: 84-44=40
Exploring Operation: 84-40=44, Resulting Numbers: [44, 44]
Generated Node #0,1,3: 73:[44, 44] Operation: 84-40=44
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 73:[84, 84], Operations: ['2*22=44', '40+44=84']
Exploring Operation: 84*84=7056, Resulting Numbers: [7056]
7056,73 unequal: No Solution
Exploring Operation: 84-84=0, Resulting Numbers: [0]
0,73 unequal: No Solution
Exploring Operation: 84/84=1, Resulting Numbers: [1]
1,73 unequal: No Solution
Exploring Operation: 84+84=168, Resulting Numbers: [168]
168,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 73:[44, 44], Operations: ['2*22=44', '84-40=44']
Exploring Operation: 44-44=0, Resulting Numbers: [0]
0,73 unequal: No Solution
Exploring Operation: 44/44=1, Resulting Numbers: [1]
1,73 unequal: No Solution
Exploring Operation: 44+44=88, Resulting Numbers: [88]
88,73 unequal: No Solution
Exploring Operation: 44*44=1936, Resulting Numbers: [1936]
1936,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 73:[40, 40], Operations: ['2*22=44', '84-44=40']
Exploring Operation: 40-40=0, Resulting Numbers: [0]
0,73 unequal: No Solution
Exploring Operation: 40*40=1600, Resulting Numbers: [1600]
1600,73 unequal: No Solution
Exploring Operation: 40+40=80, Resulting Numbers: [80]
80,73 unequal: No Solution
Exploring Operation: 40/40=1, Resulting Numbers: [1]
1,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 73:[44, 124], Operations: ['2*22=44', '84+40=124']
Exploring Operation: 44*124=5456, Resulting Numbers: [5456]
5456,73 unequal: No Solution
Exploring Operation: 44+124=168, Resulting Numbers: [168]
168,73 unequal: No Solution
Exploring Operation: 124-44=80, Resulting Numbers: [80]
80,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 73:[84, 40, 24], Operations: ['2+22=24']
Exploring Operation: 84-24=60, Resulting Numbers: [40, 60]
Generated Node #0,3,0: 73:[40, 60] Operation: 84-24=60
Exploring Operation: 40+24=64, Resulting Numbers: [84, 64]
Generated Node #0,3,1: 73:[84, 64] Operation: 40+24=64
Exploring Operation: 40-24=16, Resulting Numbers: [84, 16]
Generated Node #0,3,2: 73:[84, 16] Operation: 40-24=16
Exploring Operation: 84+24=108, Resulting Numbers: [40, 108]
Generated Node #0,3,3: 73:[40, 108] Operation: 84+24=108
Moving to Node #0,0
Current State: 73:[22, 40, 82], Operations: ['84-2=82']
Exploring Operation: 22+82=104, Resulting Numbers: [40, 104]
Generated Node #0,0,0: 73:[40, 104] Operation: 22+82=104
Exploring Operation: 22+40=62, Resulting Numbers: [82, 62]
Generated Node #0,0,1: 73:[82, 62] Operation: 22+40=62
Exploring Operation: 82-22=60, Resulting Numbers: [40, 60]
Generated Node #0,0,2: 73:[40, 60] Operation: 82-22=60
Exploring Operation: 40-22=18, Resulting Numbers: [82, 18]
Generated Node #0,0,3: 73:[82, 18] Operation: 40-22=18
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 73:[82, 62], Operations: ['84-2=82', '22+40=62']
Exploring Operation: 82-62=20, Resulting Numbers: [20]
20,73 unequal: No Solution
Exploring Operation: 82*62=5084, Resulting Numbers: [5084]
5084,73 unequal: No Solution
Exploring Operation: 82+62=144, Resulting Numbers: [144]
144,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 73:[40, 60], Operations: ['84-2=82', '82-22=60']
Exploring Operation: 40+60=100, Resulting Numbers: [100]
100,73 unequal: No Solution
Exploring Operation: 60-40=20, Resulting Numbers: [20]
20,73 unequal: No Solution
Exploring Operation: 40*60=2400, Resulting Numbers: [2400]
2400,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[40, 104], Operations: ['84-2=82', '22+82=104']
Exploring Operation: 40+104=144, Resulting Numbers: [144]
144,73 unequal: No Solution
Exploring Operation: 104-40=64, Resulting Numbers: [64]
64,73 unequal: No Solution
Exploring Operation: 40*104=4160, Resulting Numbers: [4160]
4160,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 73:[82, 18], Operations: ['84-2=82', '40-22=18']
Exploring Operation: 82*18=1476, Resulting Numbers: [1476]
1476,73 unequal: No Solution
Exploring Operation: 82+18=100, Resulting Numbers: [100]
100,73 unequal: No Solution
Exploring Operation: 82-18=64, Resulting Numbers: [64]
64,73 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: 73:[84, 64], Operations: ['2+22=24', '40+24=64']
Exploring Operation: 84*64=5376, Resulting Numbers: [5376]
5376,73 unequal: No Solution
Exploring Operation: 84-64=20, Resulting Numbers: [20]
20,73 unequal: No Solution
Exploring Operation: 84+64=148, Resulting Numbers: [148]
148,73 unequal: No Solution
Moving to Node #0,3,0
Current State: 73:[40, 60], Operations: ['2+22=24', '84-24=60']
Exploring Operation: 40+60=100, Resulting Numbers: [100]
100,73 unequal: No Solution
Exploring Operation: 40*60=2400, Resulting Numbers: [2400]
2400,73 unequal: No Solution
Exploring Operation: 60-40=20, Resulting Numbers: [20]
20,73 unequal: No Solution
Moving to Node #0,3,3
Current State: 73:[40, 108], Operations: ['2+22=24', '84+24=108']
Exploring Operation: 108-40=68, Resulting Numbers: [68]
68,73 unequal: No Solution
Exploring Operation: 40*108=4320, Resulting Numbers: [4320]
4320,73 unequal: No Solution
Exploring Operation: 40+108=148, Resulting Numbers: [148]
148,73 unequal: No Solution
Moving to Node #0,3,2
Current State: 73:[84, 16], Operations: ['2+22=24', '40-24=16']
Exploring Operation: 84*16=1344, Resulting Numbers: [1344]
1344,73 unequal: No Solution
Exploring Operation: 84+16=100, Resulting Numbers: [100]
100,73 unequal: No Solution
Exploring Operation: 84-16=68, Resulting Numbers: [68]
68,73 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
44,
94,
14,
90
] | 12 | [
"94-90=4",
"14*4=56",
"56-44=12"
] | Current State: 12:[44, 94, 14, 90], Operations: []
Exploring Operation: 94-90=4, Resulting Numbers: [44, 14, 4]
Generated Node #2: [44, 14, 4] from Operation: 94-90=4
Current State: 12:[44, 14, 4], Operations: ['94-90=4']
Exploring Operation: 14*4=56, Resulting Numbers: [44, 56]
Generated Node #3: [44, 56] from Operation: 14*4=56
Current State: 12:[44, 56], Operations: ['94-90=4', '14*4=56']
Exploring Operation: 56-44=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[44, 94, 14, 90], Operations: []
Exploring Operation: 44-14=30, Resulting Numbers: [94, 90, 30]
Generated Node #0,0: 12:[94, 90, 30] Operation: 44-14=30
Exploring Operation: 90-44=46, Resulting Numbers: [94, 14, 46]
Generated Node #0,1: 12:[94, 14, 46] Operation: 90-44=46
Exploring Operation: 94-44=50, Resulting Numbers: [14, 90, 50]
Generated Node #0,2: 12:[14, 90, 50] Operation: 94-44=50
Exploring Operation: 94-90=4, Resulting Numbers: [44, 14, 4]
Generated Node #0,3: 12:[44, 14, 4] Operation: 94-90=4
Start Sub Search at level 1: Moving to Node #0,3
Current State: 12:[44, 14, 4], Operations: ['94-90=4']
Exploring Operation: 44/4=11, Resulting Numbers: [14, 11]
Generated Node #0,3,0: 12:[14, 11] Operation: 44/4=11
Exploring Operation: 14-4=10, Resulting Numbers: [44, 10]
Generated Node #0,3,1: 12:[44, 10] Operation: 14-4=10
Exploring Operation: 44-14=30, Resulting Numbers: [4, 30]
Generated Node #0,3,2: 12:[4, 30] Operation: 44-14=30
Exploring Operation: 44-4=40, Resulting Numbers: [14, 40]
Generated Node #0,3,3: 12:[14, 40] Operation: 44-4=40
Moving to Node #0,3,0
Current State: 12:[14, 11], Operations: ['94-90=4', '44/4=11']
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 14*11=154, Resulting Numbers: [154]
154,12 unequal: No Solution
Exploring Operation: 14+11=25, Resulting Numbers: [25]
25,12 unequal: No Solution
Moving to Node #0,3,2
Current State: 12:[4, 30], Operations: ['94-90=4', '44-14=30']
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,12 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,12 unequal: No Solution
Exploring Operation: 4*30=120, Resulting Numbers: [120]
120,12 unequal: No Solution
Moving to Node #0,3,3
Current State: 12:[14, 40], Operations: ['94-90=4', '44-4=40']
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,12 unequal: No Solution
Exploring Operation: 14*40=560, Resulting Numbers: [560]
560,12 unequal: No Solution
Exploring Operation: 14+40=54, Resulting Numbers: [54]
54,12 unequal: No Solution
Moving to Node #0,3,1
Current State: 12:[44, 10], Operations: ['94-90=4', '14-4=10']
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,12 unequal: No Solution
Exploring Operation: 44+10=54, Resulting Numbers: [54]
54,12 unequal: No Solution
Exploring Operation: 44*10=440, Resulting Numbers: [440]
440,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 12:[94, 14, 46], Operations: ['90-44=46']
Exploring Operation: 94+14=108, Resulting Numbers: [46, 108]
Generated Node #0,1,0: 12:[46, 108] Operation: 94+14=108
Exploring Operation: 94-14=80, Resulting Numbers: [46, 80]
Generated Node #0,1,1: 12:[46, 80] Operation: 94-14=80
Exploring Operation: 94-46=48, Resulting Numbers: [14, 48]
Generated Node #0,1,2: 12:[14, 48] Operation: 94-46=48
Exploring Operation: 46-14=32, Resulting Numbers: [94, 32]
Generated Node #0,1,3: 12:[94, 32] Operation: 46-14=32
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 12:[14, 48], Operations: ['90-44=46', '94-46=48']
Exploring Operation: 14+48=62, Resulting Numbers: [62]
62,12 unequal: No Solution
Exploring Operation: 14*48=672, Resulting Numbers: [672]
672,12 unequal: No Solution
Exploring Operation: 48-14=34, Resulting Numbers: [34]
34,12 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: 12:[46, 80], Operations: ['90-44=46', '94-14=80']
Exploring Operation: 46+80=126, Resulting Numbers: [126]
126,12 unequal: No Solution
Exploring Operation: 46*80=3680, Resulting Numbers: [3680]
3680,12 unequal: No Solution
Exploring Operation: 80-46=34, Resulting Numbers: [34]
34,12 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: 12:[94, 32], Operations: ['90-44=46', '46-14=32']
Exploring Operation: 94-32=62, Resulting Numbers: [62]
62,12 unequal: No Solution
Exploring Operation: 94+32=126, Resulting Numbers: [126]
126,12 unequal: No Solution
Exploring Operation: 94*32=3008, Resulting Numbers: [3008]
3008,12 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: 12:[46, 108], Operations: ['90-44=46', '94+14=108']
Exploring Operation: 108-46=62, Resulting Numbers: [62]
62,12 unequal: No Solution
Exploring Operation: 46+108=154, Resulting Numbers: [154]
154,12 unequal: No Solution
Exploring Operation: 46*108=4968, Resulting Numbers: [4968]
4968,12 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: 12:[14, 90, 50], Operations: ['94-44=50']
Exploring Operation: 90-50=40, Resulting Numbers: [14, 40]
Generated Node #0,2,0: 12:[14, 40] Operation: 90-50=40
Exploring Operation: 90-14=76, Resulting Numbers: [50, 76]
Generated Node #0,2,1: 12:[50, 76] Operation: 90-14=76
Exploring Operation: 50-14=36, Resulting Numbers: [90, 36]
Generated Node #0,2,2: 12:[90, 36] Operation: 50-14=36
Exploring Operation: 14+90=104, Resulting Numbers: [50, 104]
Generated Node #0,2,3: 12:[50, 104] Operation: 14+90=104
Moving to Node #0,2,0
Current State: 12:[14, 40], Operations: ['94-44=50', '90-50=40']
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,12 unequal: No Solution
Exploring Operation: 14+40=54, Resulting Numbers: [54]
54,12 unequal: No Solution
Exploring Operation: 14*40=560, Resulting Numbers: [560]
560,12 unequal: No Solution
Moving to Node #0,2,2
Current State: 12:[90, 36], Operations: ['94-44=50', '50-14=36']
Exploring Operation: 90*36=3240, Resulting Numbers: [3240]
3240,12 unequal: No Solution
Exploring Operation: 90-36=54, Resulting Numbers: [54]
54,12 unequal: No Solution
Exploring Operation: 90+36=126, Resulting Numbers: [126]
126,12 unequal: No Solution
Moving to Node #0,2,1
Current State: 12:[50, 76], Operations: ['94-44=50', '90-14=76']
Exploring Operation: 76-50=26, Resulting Numbers: [26]
26,12 unequal: No Solution
Exploring Operation: 50*76=3800, Resulting Numbers: [3800]
3800,12 unequal: No Solution
Exploring Operation: 50+76=126, Resulting Numbers: [126]
126,12 unequal: No Solution
Moving to Node #0,2,3
Current State: 12:[50, 104], Operations: ['94-44=50', '14+90=104']
Exploring Operation: 50*104=5200, Resulting Numbers: [5200]
5200,12 unequal: No Solution
Exploring Operation: 50+104=154, Resulting Numbers: [154]
154,12 unequal: No Solution
Exploring Operation: 104-50=54, Resulting Numbers: [54]
54,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[94, 90, 30], Operations: ['44-14=30']
Exploring Operation: 90-30=60, Resulting Numbers: [94, 60]
Generated Node #0,0,0: 12:[94, 60] Operation: 90-30=60
Exploring Operation: 94-30=64, Resulting Numbers: [90, 64]
Generated Node #0,0,1: 12:[90, 64] Operation: 94-30=64
Exploring Operation: 90/30=3, Resulting Numbers: [94, 3]
Generated Node #0,0,2: 12:[94, 3] Operation: 90/30=3
Exploring Operation: 94-90=4, Resulting Numbers: [30, 4]
Generated Node #0,0,3: 12:[30, 4] Operation: 94-90=4
Moving to Node #0,0,3
Current State: 12:[30, 4], Operations: ['44-14=30', '94-90=4']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,12 unequal: No Solution
Exploring Operation: 30+4=34, Resulting Numbers: [34]
34,12 unequal: No Solution
Exploring Operation: 30*4=120, Resulting Numbers: [120]
120,12 unequal: No Solution
Moving to Node #0,0,2
Current State: 12:[94, 3], Operations: ['44-14=30', '90/30=3']
Exploring Operation: 94-3=91, Resulting Numbers: [91]
91,12 unequal: No Solution
Exploring Operation: 94+3=97, Resulting Numbers: [97]
97,12 unequal: No Solution
Exploring Operation: 94*3=282, Resulting Numbers: [282]
282,12 unequal: No Solution
Moving to Node #0,0,1
Current State: 12:[90, 64], Operations: ['44-14=30', '94-30=64']
Exploring Operation: 90-64=26, Resulting Numbers: [26]
26,12 unequal: No Solution
Exploring Operation: 90*64=5760, Resulting Numbers: [5760]
5760,12 unequal: No Solution
Exploring Operation: 90+64=154, Resulting Numbers: [154]
154,12 unequal: No Solution
Moving to Node #0,0,0
Current State: 12:[94, 60], Operations: ['44-14=30', '90-30=60']
Exploring Operation: 94+60=154, Resulting Numbers: [154]
154,12 unequal: No Solution
Exploring Operation: 94-60=34, Resulting Numbers: [34]
34,12 unequal: No Solution
Exploring Operation: 94*60=5640, Resulting Numbers: [5640]
5640,12 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 |
[
20,
44,
72,
72
] | 25 | [
"44-20=24",
"72/72=1",
"24+1=25"
] | Current State: 25:[20, 44, 72, 72], Operations: []
Exploring Operation: 44-20=24, Resulting Numbers: [72, 72, 24]
Generated Node #2: [72, 72, 24] from Operation: 44-20=24
Current State: 25:[72, 72, 24], Operations: ['44-20=24']
Exploring Operation: 72/72=1, Resulting Numbers: [24, 1]
Generated Node #3: [24, 1] from Operation: 72/72=1
Current State: 25:[24, 1], Operations: ['44-20=24', '72/72=1']
Exploring Operation: 24+1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[20, 44, 72, 72], Operations: []
Exploring Operation: 72-44=28, Resulting Numbers: [20, 72, 28]
Generated Node #0,0: 25:[20, 72, 28] Operation: 72-44=28
Exploring Operation: 72-44=28, Resulting Numbers: [20, 72, 28]
Generated Node #0,1: 25:[20, 72, 28] Operation: 72-44=28
Exploring Operation: 72-72=0, Resulting Numbers: [20, 44, 0]
Generated Node #0,2: 25:[20, 44, 0] Operation: 72-72=0
Exploring Operation: 72-20=52, Resulting Numbers: [44, 72, 52]
Generated Node #0,3: 25:[44, 72, 52] Operation: 72-20=52
Exploring Operation: 72/72=1, Resulting Numbers: [20, 44, 1]
Generated Node #0,4: 25:[20, 44, 1] Operation: 72/72=1
Start Sub Search at level 1: Moving to Node #0,4
Current State: 25:[20, 44, 1], Operations: ['72/72=1']
Exploring Operation: 44-1=43, Resulting Numbers: [20, 43]
Generated Node #0,4,0: 25:[20, 43] Operation: 44-1=43
Exploring Operation: 20+1=21, Resulting Numbers: [44, 21]
Generated Node #0,4,1: 25:[44, 21] Operation: 20+1=21
Exploring Operation: 20*1=20, Resulting Numbers: [44, 20]
Generated Node #0,4,2: 25:[44, 20] Operation: 20*1=20
Exploring Operation: 44-20=24, Resulting Numbers: [1, 24]
Generated Node #0,4,3: 25:[1, 24] Operation: 44-20=24
Exploring Operation: 20/1=20, Resulting Numbers: [44, 20]
Generated Node #0,4,4: 25:[44, 20] Operation: 20/1=20
Moving to Node #0,4,3
Current State: 25:[1, 24], Operations: ['72/72=1', '44-20=24']
Exploring Operation: 24/1=24, Resulting Numbers: [24]
24,25 unequal: No Solution
Exploring Operation: 1+24=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[20, 44, 72, 72], Operations: []
Exploring Operation: 72/72=1, Resulting Numbers: [20, 44, 1]
Generated Node #0,4: 25:[20, 44, 1] Operation: 72/72=1
Moving to Node #0,4
Current State: 25:[20, 44, 1], Operations: ['72/72=1']
Exploring Operation: 44-20=24, Resulting Numbers: [1, 24]
Generated Node #0,4,3: 25:[1, 24] Operation: 44-20=24
Moving to Node #0,4,3
Current State: 25:[1, 24], Operations: ['72/72=1', '44-20=24']
Exploring Operation: 1+24=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
31,
54,
18,
89
] | 40 | [
"31+89=120",
"54/18=3",
"120/3=40"
] | Current State: 40:[31, 54, 18, 89], Operations: []
Exploring Operation: 31+89=120, Resulting Numbers: [54, 18, 120]
Generated Node #2: [54, 18, 120] from Operation: 31+89=120
Current State: 40:[54, 18, 120], Operations: ['31+89=120']
Exploring Operation: 54/18=3, Resulting Numbers: [120, 3]
Generated Node #3: [120, 3] from Operation: 54/18=3
Current State: 40:[120, 3], Operations: ['31+89=120', '54/18=3']
Exploring Operation: 120/3=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[31, 54, 18, 89], Operations: []
Exploring Operation: 89-31=58, Resulting Numbers: [54, 18, 58]
Generated Node #0,0: 40:[54, 18, 58] Operation: 89-31=58
Exploring Operation: 54-31=23, Resulting Numbers: [18, 89, 23]
Generated Node #0,1: 40:[18, 89, 23] Operation: 54-31=23
Exploring Operation: 89-54=35, Resulting Numbers: [31, 18, 35]
Generated Node #0,2: 40:[31, 18, 35] Operation: 89-54=35
Moving to Node #0,2
Current State: 40:[31, 18, 35], Operations: ['89-54=35']
Exploring Operation: 35-18=17, Resulting Numbers: [31, 17]
Generated Node #0,2,0: 40:[31, 17] Operation: 35-18=17
Exploring Operation: 31-18=13, Resulting Numbers: [35, 13]
Generated Node #0,2,1: 40:[35, 13] Operation: 31-18=13
Exploring Operation: 35-31=4, Resulting Numbers: [18, 4]
Generated Node #0,2,2: 40:[18, 4] Operation: 35-31=4
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 40:[18, 4], Operations: ['89-54=35', '35-31=4']
Exploring Operation: 18*4=72, Resulting Numbers: [72]
72,40 unequal: No Solution
Exploring Operation: 18+4=22, Resulting Numbers: [22]
22,40 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 40:[35, 13], Operations: ['89-54=35', '31-18=13']
Exploring Operation: 35*13=455, Resulting Numbers: [455]
455,40 unequal: No Solution
Exploring Operation: 35-13=22, Resulting Numbers: [22]
22,40 unequal: No Solution
Exploring Operation: 35+13=48, Resulting Numbers: [48]
48,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 40:[31, 17], Operations: ['89-54=35', '35-18=17']
Exploring Operation: 31+17=48, Resulting Numbers: [48]
48,40 unequal: No Solution
Exploring Operation: 31*17=527, Resulting Numbers: [527]
527,40 unequal: No Solution
Exploring Operation: 31-17=14, Resulting Numbers: [14]
14,40 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: 40:[54, 18, 58], Operations: ['89-31=58']
Exploring Operation: 54/18=3, Resulting Numbers: [58, 3]
Generated Node #0,0,0: 40:[58, 3] Operation: 54/18=3
Exploring Operation: 58-54=4, Resulting Numbers: [18, 4]
Generated Node #0,0,1: 40:[18, 4] Operation: 58-54=4
Exploring Operation: 58-18=40, Resulting Numbers: [54, 40]
Generated Node #0,0,2: 40:[54, 40] Operation: 58-18=40
Moving to Node #0,1
Current State: 40:[18, 89, 23], Operations: ['54-31=23']
Exploring Operation: 89-23=66, Resulting Numbers: [18, 66]
Generated Node #0,1,0: 40:[18, 66] Operation: 89-23=66
Exploring Operation: 23-18=5, Resulting Numbers: [89, 5]
Generated Node #0,1,1: 40:[89, 5] Operation: 23-18=5
Exploring Operation: 89-18=71, Resulting Numbers: [23, 71]
Generated Node #0,1,2: 40:[23, 71] Operation: 89-18=71
Moving to Node #0,0,1
Current State: 40:[18, 4], Operations: ['89-31=58', '58-54=4']
Exploring Operation: 18*4=72, Resulting Numbers: [72]
72,40 unequal: No Solution
Exploring Operation: 18+4=22, Resulting Numbers: [22]
22,40 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,40 unequal: No Solution
Moving to Node #0,0,2
Current State: 40:[54, 40], Operations: ['89-31=58', '58-18=40']
Exploring Operation: 54-40=14, Resulting Numbers: [14]
14,40 unequal: No Solution
Exploring Operation: 54*40=2160, Resulting Numbers: [2160]
2160,40 unequal: No Solution
Exploring Operation: 54+40=94, Resulting Numbers: [94]
94,40 unequal: No Solution
Moving to Node #0,0,0
Current State: 40:[58, 3], Operations: ['89-31=58', '54/18=3']
Exploring Operation: 58+3=61, Resulting Numbers: [61]
61,40 unequal: No Solution
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,40 unequal: No Solution
Exploring Operation: 58*3=174, Resulting Numbers: [174]
174,40 unequal: No Solution
Moving to Node #0,1,0
Current State: 40:[18, 66], Operations: ['54-31=23', '89-23=66']
Exploring Operation: 18*66=1188, Resulting Numbers: [1188]
1188,40 unequal: No Solution
Exploring Operation: 66-18=48, Resulting Numbers: [48]
48,40 unequal: No Solution
Exploring Operation: 18+66=84, Resulting Numbers: [84]
84,40 unequal: No Solution
Moving to Node #0,1,2
Current State: 40:[23, 71], Operations: ['54-31=23', '89-18=71']
Exploring Operation: 71-23=48, Resulting Numbers: [48]
48,40 unequal: No Solution
Exploring Operation: 23*71=1633, Resulting Numbers: [1633]
1633,40 unequal: No Solution
Exploring Operation: 23+71=94, Resulting Numbers: [94]
94,40 unequal: No Solution
Moving to Node #0,1,1
Current State: 40:[89, 5], Operations: ['54-31=23', '23-18=5']
Exploring Operation: 89+5=94, Resulting Numbers: [94]
94,40 unequal: No Solution
Exploring Operation: 89-5=84, Resulting Numbers: [84]
84,40 unequal: No Solution
Exploring Operation: 89*5=445, Resulting Numbers: [445]
445,40 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
56,
35,
23,
66
] | 70 | [
"56-23=33",
"35*66=2310",
"2310/33=70"
] | Current State: 70:[56, 35, 23, 66], Operations: []
Exploring Operation: 56-23=33, Resulting Numbers: [35, 66, 33]
Generated Node #2: [35, 66, 33] from Operation: 56-23=33
Current State: 70:[35, 66, 33], Operations: ['56-23=33']
Exploring Operation: 35*66=2310, Resulting Numbers: [33, 2310]
Generated Node #3: [33, 2310] from Operation: 35*66=2310
Current State: 70:[33, 2310], Operations: ['56-23=33', '35*66=2310']
Exploring Operation: 2310/33=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[56, 35, 23, 66], Operations: []
Exploring Operation: 56-23=33, Resulting Numbers: [35, 66, 33]
Generated Node #0,0: 70:[35, 66, 33] Operation: 56-23=33
Moving to Node #0,0
Current State: 70:[35, 66, 33], Operations: ['56-23=33']
Exploring Operation: 66/33=2, Resulting Numbers: [35, 2]
Generated Node #0,0,0: 70:[35, 2] Operation: 66/33=2
Moving to Node #0,0,0
Current State: 70:[35, 2], Operations: ['56-23=33', '66/33=2']
Exploring Operation: 35*2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[56, 35, 23, 66], Operations: []
Exploring Operation: 56-23=33, Resulting Numbers: [35, 66, 33]
Generated Node #0,0: 70:[35, 66, 33] Operation: 56-23=33
Moving to Node #0,0
Current State: 70:[35, 66, 33], Operations: ['56-23=33']
Exploring Operation: 66/33=2, Resulting Numbers: [35, 2]
Generated Node #0,0,0: 70:[35, 2] Operation: 66/33=2
Moving to Node #0,0,0
Current State: 70:[35, 2], Operations: ['56-23=33', '66/33=2']
Exploring Operation: 35*2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
86,
26,
81,
74
] | 56 | [
"86-81=5",
"26*5=130",
"130-74=56"
] | Current State: 56:[86, 26, 81, 74], Operations: []
Exploring Operation: 86-81=5, Resulting Numbers: [26, 74, 5]
Generated Node #2: [26, 74, 5] from Operation: 86-81=5
Current State: 56:[26, 74, 5], Operations: ['86-81=5']
Exploring Operation: 26*5=130, Resulting Numbers: [74, 130]
Generated Node #3: [74, 130] from Operation: 26*5=130
Current State: 56:[74, 130], Operations: ['86-81=5', '26*5=130']
Exploring Operation: 130-74=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[86, 26, 81, 74], Operations: []
Exploring Operation: 86-81=5, Resulting Numbers: [26, 74, 5]
Generated Node #0,0: 56:[26, 74, 5] Operation: 86-81=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[26, 74, 5], Operations: ['86-81=5']
Exploring Operation: 74-26=48, Resulting Numbers: [5, 48]
Generated Node #0,0,0: 56:[5, 48] Operation: 74-26=48
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 56:[5, 48], Operations: ['86-81=5', '74-26=48']
Exploring Operation: 5+48=53, Resulting Numbers: [53]
53,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
88,
58,
66,
48
] | 22 | [
"66*48=3168",
"3168/88=36",
"58-36=22"
] | Current State: 22:[88, 58, 66, 48], Operations: []
Exploring Operation: 66*48=3168, Resulting Numbers: [88, 58, 3168]
Generated Node #2: [88, 58, 3168] from Operation: 66*48=3168
Current State: 22:[88, 58, 3168], Operations: ['66*48=3168']
Exploring Operation: 3168/88=36, Resulting Numbers: [58, 36]
Generated Node #3: [58, 36] from Operation: 3168/88=36
Current State: 22:[58, 36], Operations: ['66*48=3168', '3168/88=36']
Exploring Operation: 58-36=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[88, 58, 66, 48], Operations: []
Exploring Operation: 88-66=22, Resulting Numbers: [58, 48, 22]
Generated Node #0,0: 22:[58, 48, 22] Operation: 88-66=22
Moving to Node #0,0
Current State: 22:[58, 48, 22], Operations: ['88-66=22']
Exploring Operation: 58-48=10, Resulting Numbers: [22, 10]
Generated Node #0,0,0: 22:[22, 10] Operation: 58-48=10
Moving to Node #0,0,0
Current State: 22:[22, 10], Operations: ['88-66=22', '58-48=10']
Exploring Operation: 22-10=12, Resulting Numbers: [12]
12,22 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
46,
70,
50,
1
] | 63 | [
"46-1=45",
"70*45=3150",
"3150/50=63"
] | Current State: 63:[46, 70, 50, 1], Operations: []
Exploring Operation: 46-1=45, Resulting Numbers: [70, 50, 45]
Generated Node #2: [70, 50, 45] from Operation: 46-1=45
Current State: 63:[70, 50, 45], Operations: ['46-1=45']
Exploring Operation: 70*45=3150, Resulting Numbers: [50, 3150]
Generated Node #3: [50, 3150] from Operation: 70*45=3150
Current State: 63:[50, 3150], Operations: ['46-1=45', '70*45=3150']
Exploring Operation: 3150/50=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[46, 70, 50, 1], Operations: []
Exploring Operation: 50-46=4, Resulting Numbers: [70, 1, 4]
Generated Node #0,0: 63:[70, 1, 4] Operation: 50-46=4
Moving to Node #0,0
Current State: 63:[70, 1, 4], Operations: ['50-46=4']
Exploring Operation: 70-4=66, Resulting Numbers: [1, 66]
Generated Node #0,0,0: 63:[1, 66] Operation: 70-4=66
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 63:[1, 66], Operations: ['50-46=4', '70-4=66']
Exploring Operation: 66-1=65, Resulting Numbers: [65]
65,63 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 |
[
16,
9,
24,
72
] | 54 | [
"9+72=81",
"16*81=1296",
"1296/24=54"
] | Current State: 54:[16, 9, 24, 72], Operations: []
Exploring Operation: 9+72=81, Resulting Numbers: [16, 24, 81]
Generated Node #2: [16, 24, 81] from Operation: 9+72=81
Current State: 54:[16, 24, 81], Operations: ['9+72=81']
Exploring Operation: 16*81=1296, Resulting Numbers: [24, 1296]
Generated Node #3: [24, 1296] from Operation: 16*81=1296
Current State: 54:[24, 1296], Operations: ['9+72=81', '16*81=1296']
Exploring Operation: 1296/24=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[16, 9, 24, 72], Operations: []
Exploring Operation: 72-16=56, Resulting Numbers: [9, 24, 56]
Generated Node #0,0: 54:[9, 24, 56] Operation: 72-16=56
Exploring Operation: 72/24=3, Resulting Numbers: [16, 9, 3]
Generated Node #0,1: 54:[16, 9, 3] Operation: 72/24=3
Exploring Operation: 72-24=48, Resulting Numbers: [16, 9, 48]
Generated Node #0,2: 54:[16, 9, 48] Operation: 72-24=48
Exploring Operation: 72/9=8, Resulting Numbers: [16, 24, 8]
Generated Node #0,3: 54:[16, 24, 8] Operation: 72/9=8
Moving to Node #0,1
Current State: 54:[16, 9, 3], Operations: ['72/24=3']
Exploring Operation: 16+9=25, Resulting Numbers: [3, 25]
Generated Node #0,1,0: 54:[3, 25] Operation: 16+9=25
Exploring Operation: 16+3=19, Resulting Numbers: [9, 19]
Generated Node #0,1,1: 54:[9, 19] Operation: 16+3=19
Exploring Operation: 9*3=27, Resulting Numbers: [16, 27]
Generated Node #0,1,2: 54:[16, 27] Operation: 9*3=27
Exploring Operation: 16-9=7, Resulting Numbers: [3, 7]
Generated Node #0,1,3: 54:[3, 7] Operation: 16-9=7
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 54:[9, 19], Operations: ['72/24=3', '16+3=19']
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Exploring Operation: 9+19=28, Resulting Numbers: [28]
28,54 unequal: No Solution
Exploring Operation: 9*19=171, Resulting Numbers: [171]
171,54 unequal: No Solution
No 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: 54:[3, 7], Operations: ['72/24=3', '16-9=7']
Exploring Operation: 3+7=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,54 unequal: No Solution
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,54 unequal: No Solution
No 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: 54:[3, 25], Operations: ['72/24=3', '16+9=25']
Exploring Operation: 3+25=28, Resulting Numbers: [28]
28,54 unequal: No Solution
Exploring Operation: 3*25=75, Resulting Numbers: [75]
75,54 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,54 unequal: No Solution
No 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: 54:[16, 27], Operations: ['72/24=3', '9*3=27']
Exploring Operation: 16+27=43, Resulting Numbers: [43]
43,54 unequal: No Solution
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,54 unequal: No Solution
Exploring Operation: 16*27=432, Resulting Numbers: [432]
432,54 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: 54:[9, 24, 56], Operations: ['72-16=56']
Exploring Operation: 9+24=33, Resulting Numbers: [56, 33]
Generated Node #0,0,0: 54:[56, 33] Operation: 9+24=33
Exploring Operation: 56-24=32, Resulting Numbers: [9, 32]
Generated Node #0,0,1: 54:[9, 32] Operation: 56-24=32
Exploring Operation: 56-9=47, Resulting Numbers: [24, 47]
Generated Node #0,0,2: 54:[24, 47] Operation: 56-9=47
Exploring Operation: 24-9=15, Resulting Numbers: [56, 15]
Generated Node #0,0,3: 54:[56, 15] Operation: 24-9=15
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 54:[9, 32], Operations: ['72-16=56', '56-24=32']
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,54 unequal: No Solution
Exploring Operation: 9*32=288, Resulting Numbers: [288]
288,54 unequal: No Solution
Exploring Operation: 9+32=41, Resulting Numbers: [41]
41,54 unequal: No Solution
No 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: 54:[56, 15], Operations: ['72-16=56', '24-9=15']
Exploring Operation: 56-15=41, Resulting Numbers: [41]
41,54 unequal: No Solution
Exploring Operation: 56+15=71, Resulting Numbers: [71]
71,54 unequal: No Solution
Exploring Operation: 56*15=840, Resulting Numbers: [840]
840,54 unequal: No Solution
No 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: 54:[56, 33], Operations: ['72-16=56', '9+24=33']
Exploring Operation: 56*33=1848, Resulting Numbers: [1848]
1848,54 unequal: No Solution
Exploring Operation: 56-33=23, Resulting Numbers: [23]
23,54 unequal: No Solution
Exploring Operation: 56+33=89, Resulting Numbers: [89]
89,54 unequal: No Solution
No 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: 54:[24, 47], Operations: ['72-16=56', '56-9=47']
Exploring Operation: 24+47=71, Resulting Numbers: [71]
71,54 unequal: No Solution
Exploring Operation: 24*47=1128, Resulting Numbers: [1128]
1128,54 unequal: No Solution
Exploring Operation: 47-24=23, Resulting Numbers: [23]
23,54 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: 54:[16, 24, 8], Operations: ['72/9=8']
Exploring Operation: 24/8=3, Resulting Numbers: [16, 3]
Generated Node #0,3,0: 54:[16, 3] Operation: 24/8=3
Exploring Operation: 16-8=8, Resulting Numbers: [24, 8]
Generated Node #0,3,1: 54:[24, 8] Operation: 16-8=8
Exploring Operation: 24-16=8, Resulting Numbers: [8, 8]
Generated Node #0,3,2: 54:[8, 8] Operation: 24-16=8
Exploring Operation: 16/8=2, Resulting Numbers: [24, 2]
Generated Node #0,3,3: 54:[24, 2] Operation: 16/8=2
Moving to Node #0,2
Current State: 54:[16, 9, 48], Operations: ['72-24=48']
Exploring Operation: 16-9=7, Resulting Numbers: [48, 7]
Generated Node #0,2,0: 54:[48, 7] Operation: 16-9=7
Exploring Operation: 48-16=32, Resulting Numbers: [9, 32]
Generated Node #0,2,1: 54:[9, 32] Operation: 48-16=32
Exploring Operation: 48/16=3, Resulting Numbers: [9, 3]
Generated Node #0,2,2: 54:[9, 3] Operation: 48/16=3
Exploring Operation: 9+48=57, Resulting Numbers: [16, 57]
Generated Node #0,2,3: 54:[16, 57] Operation: 9+48=57
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 54:[9, 3], Operations: ['72-24=48', '48/16=3']
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,54 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,54 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,54 unequal: No Solution
Exploring Operation: 9*3=27, Resulting Numbers: [27]
27,54 unequal: No Solution
No 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: 54:[9, 32], Operations: ['72-24=48', '48-16=32']
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,54 unequal: No Solution
Exploring Operation: 9+32=41, Resulting Numbers: [41]
41,54 unequal: No Solution
Exploring Operation: 9*32=288, Resulting Numbers: [288]
288,54 unequal: No Solution
No 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: 54:[16, 57], Operations: ['72-24=48', '9+48=57']
Exploring Operation: 57-16=41, Resulting Numbers: [41]
41,54 unequal: No Solution
Exploring Operation: 16+57=73, Resulting Numbers: [73]
73,54 unequal: No Solution
Exploring Operation: 16*57=912, Resulting Numbers: [912]
912,54 unequal: No Solution
No 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: 54:[48, 7], Operations: ['72-24=48', '16-9=7']
Exploring Operation: 48+7=55, Resulting Numbers: [55]
55,54 unequal: No Solution
Exploring Operation: 48*7=336, Resulting Numbers: [336]
336,54 unequal: No Solution
Exploring Operation: 48-7=41, Resulting Numbers: [41]
41,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,0
Current State: 54:[16, 3], Operations: ['72/9=8', '24/8=3']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,54 unequal: No Solution
Exploring Operation: 16*3=48, Resulting Numbers: [48]
48,54 unequal: No Solution
Exploring Operation: 16+3=19, Resulting Numbers: [19]
19,54 unequal: No Solution
Moving to Node #0,3,2
Current State: 54:[8, 8], Operations: ['72/9=8', '24-16=8']
Exploring Operation: 8-8=0, Resulting Numbers: [0]
0,54 unequal: No Solution
Exploring Operation: 8*8=64, Resulting Numbers: [64]
64,54 unequal: No Solution
Exploring Operation: 8/8=1, Resulting Numbers: [1]
1,54 unequal: No Solution
Exploring Operation: 8+8=16, Resulting Numbers: [16]
16,54 unequal: No Solution
Moving to Node #0,3,3
Current State: 54:[24, 2], Operations: ['72/9=8', '16/8=2']
Exploring Operation: 24*2=48, Resulting Numbers: [48]
48,54 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,54 unequal: No Solution
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,54 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,54 unequal: No Solution
Moving to Node #0,3,1
Current State: 54:[24, 8], Operations: ['72/9=8', '16-8=8']
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,54 unequal: No Solution
Exploring Operation: 24*8=192, Resulting Numbers: [192]
192,54 unequal: No Solution
Exploring Operation: 24+8=32, Resulting Numbers: [32]
32,54 unequal: No Solution
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,54 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
88,
59,
41,
33
] | 48 | [
"59-41=18",
"88*18=1584",
"1584/33=48"
] | Current State: 48:[88, 59, 41, 33], Operations: []
Exploring Operation: 59-41=18, Resulting Numbers: [88, 33, 18]
Generated Node #2: [88, 33, 18] from Operation: 59-41=18
Current State: 48:[88, 33, 18], Operations: ['59-41=18']
Exploring Operation: 88*18=1584, Resulting Numbers: [33, 1584]
Generated Node #3: [33, 1584] from Operation: 88*18=1584
Current State: 48:[33, 1584], Operations: ['59-41=18', '88*18=1584']
Exploring Operation: 1584/33=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[88, 59, 41, 33], Operations: []
Exploring Operation: 88-59=29, Resulting Numbers: [41, 33, 29]
Generated Node #0,0: 48:[41, 33, 29] Operation: 88-59=29
Exploring Operation: 88-41=47, Resulting Numbers: [59, 33, 47]
Generated Node #0,1: 48:[59, 33, 47] Operation: 88-41=47
Exploring Operation: 59-41=18, Resulting Numbers: [88, 33, 18]
Generated Node #0,2: 48:[88, 33, 18] Operation: 59-41=18
Exploring Operation: 59-33=26, Resulting Numbers: [88, 41, 26]
Generated Node #0,3: 48:[88, 41, 26] Operation: 59-33=26
Exploring Operation: 88-33=55, Resulting Numbers: [59, 41, 55]
Generated Node #0,4: 48:[59, 41, 55] Operation: 88-33=55
Moving to Node #0,0
Current State: 48:[41, 33, 29], Operations: ['88-59=29']
Exploring Operation: 33+29=62, Resulting Numbers: [41, 62]
Generated Node #0,0,0: 48:[41, 62] Operation: 33+29=62
Exploring Operation: 33-29=4, Resulting Numbers: [41, 4]
Generated Node #0,0,1: 48:[41, 4] Operation: 33-29=4
Exploring Operation: 41+33=74, Resulting Numbers: [29, 74]
Generated Node #0,0,2: 48:[29, 74] Operation: 41+33=74
Exploring Operation: 41-33=8, Resulting Numbers: [29, 8]
Generated Node #0,0,3: 48:[29, 8] Operation: 41-33=8
Exploring Operation: 41-29=12, Resulting Numbers: [33, 12]
Generated Node #0,0,4: 48:[33, 12] Operation: 41-29=12
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 48:[29, 8], Operations: ['88-59=29', '41-33=8']
Exploring Operation: 29*8=232, Resulting Numbers: [232]
232,48 unequal: No Solution
Exploring Operation: 29+8=37, Resulting Numbers: [37]
37,48 unequal: No Solution
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,48 unequal: No Solution
No 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: 48:[41, 4], Operations: ['88-59=29', '33-29=4']
Exploring Operation: 41*4=164, Resulting Numbers: [164]
164,48 unequal: No Solution
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,48 unequal: No Solution
Exploring Operation: 41+4=45, Resulting Numbers: [45]
45,48 unequal: No Solution
No 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: 48:[33, 12], Operations: ['88-59=29', '41-29=12']
Exploring Operation: 33*12=396, Resulting Numbers: [396]
396,48 unequal: No Solution
Exploring Operation: 33-12=21, Resulting Numbers: [21]
21,48 unequal: No Solution
Exploring Operation: 33+12=45, Resulting Numbers: [45]
45,48 unequal: No Solution
No 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: 48:[41, 62], Operations: ['88-59=29', '33+29=62']
Exploring Operation: 62-41=21, Resulting Numbers: [21]
21,48 unequal: No Solution
Exploring Operation: 41+62=103, Resulting Numbers: [103]
103,48 unequal: No Solution
Exploring Operation: 41*62=2542, Resulting Numbers: [2542]
2542,48 unequal: No Solution
No 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: 48:[29, 74], Operations: ['88-59=29', '41+33=74']
Exploring Operation: 29*74=2146, Resulting Numbers: [2146]
2146,48 unequal: No Solution
Exploring Operation: 29+74=103, Resulting Numbers: [103]
103,48 unequal: No Solution
Exploring Operation: 74-29=45, Resulting Numbers: [45]
45,48 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: 48:[59, 33, 47], Operations: ['88-41=47']
Exploring Operation: 59-33=26, Resulting Numbers: [47, 26]
Generated Node #0,1,0: 48:[47, 26] Operation: 59-33=26
Exploring Operation: 59-47=12, Resulting Numbers: [33, 12]
Generated Node #0,1,1: 48:[33, 12] Operation: 59-47=12
Exploring Operation: 59+33=92, Resulting Numbers: [47, 92]
Generated Node #0,1,2: 48:[47, 92] Operation: 59+33=92
Exploring Operation: 47-33=14, Resulting Numbers: [59, 14]
Generated Node #0,1,3: 48:[59, 14] Operation: 47-33=14
Exploring Operation: 33+47=80, Resulting Numbers: [59, 80]
Generated Node #0,1,4: 48:[59, 80] Operation: 33+47=80
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 48:[47, 26], Operations: ['88-41=47', '59-33=26']
Exploring Operation: 47+26=73, Resulting Numbers: [73]
73,48 unequal: No Solution
Exploring Operation: 47*26=1222, Resulting Numbers: [1222]
1222,48 unequal: No Solution
Exploring Operation: 47-26=21, Resulting Numbers: [21]
21,48 unequal: No Solution
No 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: 48:[33, 12], Operations: ['88-41=47', '59-47=12']
Exploring Operation: 33-12=21, Resulting Numbers: [21]
21,48 unequal: No Solution
Exploring Operation: 33+12=45, Resulting Numbers: [45]
45,48 unequal: No Solution
Exploring Operation: 33*12=396, Resulting Numbers: [396]
396,48 unequal: No Solution
No 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: 48:[59, 14], Operations: ['88-41=47', '47-33=14']
Exploring Operation: 59*14=826, Resulting Numbers: [826]
826,48 unequal: No Solution
Exploring Operation: 59-14=45, Resulting Numbers: [45]
45,48 unequal: No Solution
Exploring Operation: 59+14=73, Resulting Numbers: [73]
73,48 unequal: No Solution
No 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: 48:[59, 80], Operations: ['88-41=47', '33+47=80']
Exploring Operation: 59*80=4720, Resulting Numbers: [4720]
4720,48 unequal: No Solution
Exploring Operation: 59+80=139, Resulting Numbers: [139]
139,48 unequal: No Solution
Exploring Operation: 80-59=21, Resulting Numbers: [21]
21,48 unequal: No Solution
No 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: 48:[47, 92], Operations: ['88-41=47', '59+33=92']
Exploring Operation: 92-47=45, Resulting Numbers: [45]
45,48 unequal: No Solution
Exploring Operation: 47+92=139, Resulting Numbers: [139]
139,48 unequal: No Solution
Exploring Operation: 47*92=4324, Resulting Numbers: [4324]
4324,48 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: 48:[59, 41, 55], Operations: ['88-33=55']
Exploring Operation: 59-41=18, Resulting Numbers: [55, 18]
Generated Node #0,4,0: 48:[55, 18] Operation: 59-41=18
Exploring Operation: 59-55=4, Resulting Numbers: [41, 4]
Generated Node #0,4,1: 48:[41, 4] Operation: 59-55=4
Exploring Operation: 55-41=14, Resulting Numbers: [59, 14]
Generated Node #0,4,2: 48:[59, 14] Operation: 55-41=14
Exploring Operation: 59+41=100, Resulting Numbers: [55, 100]
Generated Node #0,4,3: 48:[55, 100] Operation: 59+41=100
Exploring Operation: 41+55=96, Resulting Numbers: [59, 96]
Generated Node #0,4,4: 48:[59, 96] Operation: 41+55=96
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 48:[41, 4], Operations: ['88-33=55', '59-55=4']
Exploring Operation: 41*4=164, Resulting Numbers: [164]
164,48 unequal: No Solution
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,48 unequal: No Solution
Exploring Operation: 41+4=45, Resulting Numbers: [45]
45,48 unequal: No Solution
No 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: 48:[55, 18], Operations: ['88-33=55', '59-41=18']
Exploring Operation: 55-18=37, Resulting Numbers: [37]
37,48 unequal: No Solution
Exploring Operation: 55*18=990, Resulting Numbers: [990]
990,48 unequal: No Solution
Exploring Operation: 55+18=73, Resulting Numbers: [73]
73,48 unequal: No Solution
No 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: 48:[59, 14], Operations: ['88-33=55', '55-41=14']
Exploring Operation: 59+14=73, Resulting Numbers: [73]
73,48 unequal: No Solution
Exploring Operation: 59-14=45, Resulting Numbers: [45]
45,48 unequal: No Solution
Exploring Operation: 59*14=826, Resulting Numbers: [826]
826,48 unequal: No Solution
No 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: 48:[55, 100], Operations: ['88-33=55', '59+41=100']
Exploring Operation: 55*100=5500, Resulting Numbers: [5500]
5500,48 unequal: No Solution
Exploring Operation: 100-55=45, Resulting Numbers: [45]
45,48 unequal: No Solution
Exploring Operation: 55+100=155, Resulting Numbers: [155]
155,48 unequal: No Solution
No 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: 48:[59, 96], Operations: ['88-33=55', '41+55=96']
Exploring Operation: 96-59=37, Resulting Numbers: [37]
37,48 unequal: No Solution
Exploring Operation: 59*96=5664, Resulting Numbers: [5664]
5664,48 unequal: No Solution
Exploring Operation: 59+96=155, Resulting Numbers: [155]
155,48 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: 48:[88, 41, 26], Operations: ['59-33=26']
Exploring Operation: 88-41=47, Resulting Numbers: [26, 47]
Generated Node #0,3,0: 48:[26, 47] Operation: 88-41=47
Exploring Operation: 41+26=67, Resulting Numbers: [88, 67]
Generated Node #0,3,1: 48:[88, 67] Operation: 41+26=67
Exploring Operation: 88+26=114, Resulting Numbers: [41, 114]
Generated Node #0,3,2: 48:[41, 114] Operation: 88+26=114
Exploring Operation: 88-26=62, Resulting Numbers: [41, 62]
Generated Node #0,3,3: 48:[41, 62] Operation: 88-26=62
Exploring Operation: 41-26=15, Resulting Numbers: [88, 15]
Generated Node #0,3,4: 48:[88, 15] Operation: 41-26=15
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 48:[26, 47], Operations: ['59-33=26', '88-41=47']
Exploring Operation: 26+47=73, Resulting Numbers: [73]
73,48 unequal: No Solution
Exploring Operation: 26*47=1222, Resulting Numbers: [1222]
1222,48 unequal: No Solution
Exploring Operation: 47-26=21, Resulting Numbers: [21]
21,48 unequal: No Solution
No 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: 48:[41, 62], Operations: ['59-33=26', '88-26=62']
Exploring Operation: 62-41=21, Resulting Numbers: [21]
21,48 unequal: No Solution
Exploring Operation: 41+62=103, Resulting Numbers: [103]
103,48 unequal: No Solution
Exploring Operation: 41*62=2542, Resulting Numbers: [2542]
2542,48 unequal: No Solution
No 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: 48:[88, 15], Operations: ['59-33=26', '41-26=15']
Exploring Operation: 88-15=73, Resulting Numbers: [73]
73,48 unequal: No Solution
Exploring Operation: 88+15=103, Resulting Numbers: [103]
103,48 unequal: No Solution
Exploring Operation: 88*15=1320, Resulting Numbers: [1320]
1320,48 unequal: No Solution
No 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: 48:[88, 67], Operations: ['59-33=26', '41+26=67']
Exploring Operation: 88-67=21, Resulting Numbers: [21]
21,48 unequal: No Solution
Exploring Operation: 88*67=5896, Resulting Numbers: [5896]
5896,48 unequal: No Solution
Exploring Operation: 88+67=155, Resulting Numbers: [155]
155,48 unequal: No Solution
No 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: 48:[41, 114], Operations: ['59-33=26', '88+26=114']
Exploring Operation: 41*114=4674, Resulting Numbers: [4674]
4674,48 unequal: No Solution
Exploring Operation: 114-41=73, Resulting Numbers: [73]
73,48 unequal: No Solution
Exploring Operation: 41+114=155, Resulting Numbers: [155]
155,48 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: 48:[88, 33, 18], Operations: ['59-41=18']
Exploring Operation: 88-33=55, Resulting Numbers: [18, 55]
Generated Node #0,2,0: 48:[18, 55] Operation: 88-33=55
Exploring Operation: 33+18=51, Resulting Numbers: [88, 51]
Generated Node #0,2,1: 48:[88, 51] Operation: 33+18=51
Exploring Operation: 88+18=106, Resulting Numbers: [33, 106]
Generated Node #0,2,2: 48:[33, 106] Operation: 88+18=106
Exploring Operation: 33-18=15, Resulting Numbers: [88, 15]
Generated Node #0,2,3: 48:[88, 15] Operation: 33-18=15
Exploring Operation: 88-18=70, Resulting Numbers: [33, 70]
Generated Node #0,2,4: 48:[33, 70] Operation: 88-18=70
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 48:[18, 55], Operations: ['59-41=18', '88-33=55']
Exploring Operation: 18*55=990, Resulting Numbers: [990]
990,48 unequal: No Solution
Exploring Operation: 18+55=73, Resulting Numbers: [73]
73,48 unequal: No Solution
Exploring Operation: 55-18=37, Resulting Numbers: [37]
37,48 unequal: No Solution
No 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: 48:[33, 70], Operations: ['59-41=18', '88-18=70']
Exploring Operation: 33+70=103, Resulting Numbers: [103]
103,48 unequal: No Solution
Exploring Operation: 33*70=2310, Resulting Numbers: [2310]
2310,48 unequal: No Solution
Exploring Operation: 70-33=37, Resulting Numbers: [37]
37,48 unequal: No Solution
No 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: 48:[88, 15], Operations: ['59-41=18', '33-18=15']
Exploring Operation: 88-15=73, Resulting Numbers: [73]
73,48 unequal: No Solution
Exploring Operation: 88+15=103, Resulting Numbers: [103]
103,48 unequal: No Solution
Exploring Operation: 88*15=1320, Resulting Numbers: [1320]
1320,48 unequal: No Solution
No 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: 48:[88, 51], Operations: ['59-41=18', '33+18=51']
Exploring Operation: 88-51=37, Resulting Numbers: [37]
37,48 unequal: No Solution
Exploring Operation: 88*51=4488, Resulting Numbers: [4488]
4488,48 unequal: No Solution
Exploring Operation: 88+51=139, Resulting Numbers: [139]
139,48 unequal: No Solution
No 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: 48:[33, 106], Operations: ['59-41=18', '88+18=106']
Exploring Operation: 33+106=139, Resulting Numbers: [139]
139,48 unequal: No Solution
Exploring Operation: 106-33=73, Resulting Numbers: [73]
73,48 unequal: No Solution
Exploring Operation: 33*106=3498, Resulting Numbers: [3498]
3498,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
43,
86,
12,
39
] | 63 | [
"86/43=2",
"12*2=24",
"39+24=63"
] | Current State: 63:[43, 86, 12, 39], Operations: []
Exploring Operation: 86/43=2, Resulting Numbers: [12, 39, 2]
Generated Node #2: [12, 39, 2] from Operation: 86/43=2
Current State: 63:[12, 39, 2], Operations: ['86/43=2']
Exploring Operation: 12*2=24, Resulting Numbers: [39, 24]
Generated Node #3: [39, 24] from Operation: 12*2=24
Current State: 63:[39, 24], Operations: ['86/43=2', '12*2=24']
Exploring Operation: 39+24=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[43, 86, 12, 39], Operations: []
Exploring Operation: 86-39=47, Resulting Numbers: [43, 12, 47]
Generated Node #0,0: 63:[43, 12, 47] Operation: 86-39=47
Exploring Operation: 43+39=82, Resulting Numbers: [86, 12, 82]
Generated Node #0,1: 63:[86, 12, 82] Operation: 43+39=82
Exploring Operation: 86-43=43, Resulting Numbers: [12, 39, 43]
Generated Node #0,2: 63:[12, 39, 43] Operation: 86-43=43
Exploring Operation: 86/43=2, Resulting Numbers: [12, 39, 2]
Generated Node #0,3: 63:[12, 39, 2] Operation: 86/43=2
Exploring Operation: 43-39=4, Resulting Numbers: [86, 12, 4]
Generated Node #0,4: 63:[86, 12, 4] Operation: 43-39=4
Moving to Node #0,3
Current State: 63:[12, 39, 2], Operations: ['86/43=2']
Exploring Operation: 39-12=27, Resulting Numbers: [2, 27]
Generated Node #0,3,0: 63:[2, 27] Operation: 39-12=27
Exploring Operation: 12+39=51, Resulting Numbers: [2, 51]
Generated Node #0,3,1: 63:[2, 51] Operation: 12+39=51
Exploring Operation: 12/2=6, Resulting Numbers: [39, 6]
Generated Node #0,3,2: 63:[39, 6] Operation: 12/2=6
Exploring Operation: 39*2=78, Resulting Numbers: [12, 78]
Generated Node #0,3,3: 63:[12, 78] Operation: 39*2=78
Exploring Operation: 12-2=10, Resulting Numbers: [39, 10]
Generated Node #0,3,4: 63:[39, 10] Operation: 12-2=10
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 63:[2, 27], Operations: ['86/43=2', '39-12=27']
Exploring Operation: 2+27=29, Resulting Numbers: [29]
29,63 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,63 unequal: No Solution
Exploring Operation: 2*27=54, Resulting Numbers: [54]
54,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 63:[2, 51], Operations: ['86/43=2', '12+39=51']
Exploring Operation: 2*51=102, Resulting Numbers: [102]
102,63 unequal: No Solution
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,63 unequal: No Solution
Exploring Operation: 2+51=53, Resulting Numbers: [53]
53,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 63:[12, 78], Operations: ['86/43=2', '39*2=78']
Exploring Operation: 12*78=936, Resulting Numbers: [936]
936,63 unequal: No Solution
Exploring Operation: 78-12=66, Resulting Numbers: [66]
66,63 unequal: No Solution
Exploring Operation: 12+78=90, Resulting Numbers: [90]
90,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 63:[39, 6], Operations: ['86/43=2', '12/2=6']
Exploring Operation: 39+6=45, Resulting Numbers: [45]
45,63 unequal: No Solution
Exploring Operation: 39*6=234, Resulting Numbers: [234]
234,63 unequal: No Solution
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 63:[39, 10], Operations: ['86/43=2', '12-2=10']
Exploring Operation: 39*10=390, Resulting Numbers: [390]
390,63 unequal: No Solution
Exploring Operation: 39-10=29, Resulting Numbers: [29]
29,63 unequal: No Solution
Exploring Operation: 39+10=49, Resulting Numbers: [49]
49,63 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: 63:[86, 12, 4], Operations: ['43-39=4']
Exploring Operation: 12+4=16, Resulting Numbers: [86, 16]
Generated Node #0,4,0: 63:[86, 16] Operation: 12+4=16
Exploring Operation: 12/4=3, Resulting Numbers: [86, 3]
Generated Node #0,4,1: 63:[86, 3] Operation: 12/4=3
Exploring Operation: 12-4=8, Resulting Numbers: [86, 8]
Generated Node #0,4,2: 63:[86, 8] Operation: 12-4=8
Exploring Operation: 86-4=82, Resulting Numbers: [12, 82]
Generated Node #0,4,3: 63:[12, 82] Operation: 86-4=82
Exploring Operation: 86-12=74, Resulting Numbers: [4, 74]
Generated Node #0,4,4: 63:[4, 74] Operation: 86-12=74
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 63:[4, 74], Operations: ['43-39=4', '86-12=74']
Exploring Operation: 4+74=78, Resulting Numbers: [78]
78,63 unequal: No Solution
Exploring Operation: 74-4=70, Resulting Numbers: [70]
70,63 unequal: No Solution
Exploring Operation: 4*74=296, Resulting Numbers: [296]
296,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 63:[12, 82], Operations: ['43-39=4', '86-4=82']
Exploring Operation: 12+82=94, Resulting Numbers: [94]
94,63 unequal: No Solution
Exploring Operation: 12*82=984, Resulting Numbers: [984]
984,63 unequal: No Solution
Exploring Operation: 82-12=70, Resulting Numbers: [70]
70,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 63:[86, 3], Operations: ['43-39=4', '12/4=3']
Exploring Operation: 86+3=89, Resulting Numbers: [89]
89,63 unequal: No Solution
Exploring Operation: 86-3=83, Resulting Numbers: [83]
83,63 unequal: No Solution
Exploring Operation: 86*3=258, Resulting Numbers: [258]
258,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 63:[86, 8], Operations: ['43-39=4', '12-4=8']
Exploring Operation: 86*8=688, Resulting Numbers: [688]
688,63 unequal: No Solution
Exploring Operation: 86-8=78, Resulting Numbers: [78]
78,63 unequal: No Solution
Exploring Operation: 86+8=94, Resulting Numbers: [94]
94,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 63:[86, 16], Operations: ['43-39=4', '12+4=16']
Exploring Operation: 86+16=102, Resulting Numbers: [102]
102,63 unequal: No Solution
Exploring Operation: 86-16=70, Resulting Numbers: [70]
70,63 unequal: No Solution
Exploring Operation: 86*16=1376, Resulting Numbers: [1376]
1376,63 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: 63:[43, 12, 47], Operations: ['86-39=47']
Exploring Operation: 43+12=55, Resulting Numbers: [47, 55]
Generated Node #0,0,0: 63:[47, 55] Operation: 43+12=55
Exploring Operation: 47-43=4, Resulting Numbers: [12, 4]
Generated Node #0,0,1: 63:[12, 4] Operation: 47-43=4
Exploring Operation: 12+47=59, Resulting Numbers: [43, 59]
Generated Node #0,0,2: 63:[43, 59] Operation: 12+47=59
Exploring Operation: 43+47=90, Resulting Numbers: [12, 90]
Generated Node #0,0,3: 63:[12, 90] Operation: 43+47=90
Exploring Operation: 43-12=31, Resulting Numbers: [47, 31]
Generated Node #0,0,4: 63:[47, 31] Operation: 43-12=31
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 63:[12, 4], Operations: ['86-39=47', '47-43=4']
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,63 unequal: No Solution
Exploring Operation: 12*4=48, Resulting Numbers: [48]
48,63 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 63:[47, 55], Operations: ['86-39=47', '43+12=55']
Exploring Operation: 47+55=102, Resulting Numbers: [102]
102,63 unequal: No Solution
Exploring Operation: 47*55=2585, Resulting Numbers: [2585]
2585,63 unequal: No Solution
Exploring Operation: 55-47=8, Resulting Numbers: [8]
8,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 63:[43, 59], Operations: ['86-39=47', '12+47=59']
Exploring Operation: 59-43=16, Resulting Numbers: [16]
16,63 unequal: No Solution
Exploring Operation: 43+59=102, Resulting Numbers: [102]
102,63 unequal: No Solution
Exploring Operation: 43*59=2537, Resulting Numbers: [2537]
2537,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 63:[47, 31], Operations: ['86-39=47', '43-12=31']
Exploring Operation: 47+31=78, Resulting Numbers: [78]
78,63 unequal: No Solution
Exploring Operation: 47-31=16, Resulting Numbers: [16]
16,63 unequal: No Solution
Exploring Operation: 47*31=1457, Resulting Numbers: [1457]
1457,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 63:[12, 90], Operations: ['86-39=47', '43+47=90']
Exploring Operation: 90-12=78, Resulting Numbers: [78]
78,63 unequal: No Solution
Exploring Operation: 12+90=102, Resulting Numbers: [102]
102,63 unequal: No Solution
Exploring Operation: 12*90=1080, Resulting Numbers: [1080]
1080,63 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: 63:[12, 39, 43], Operations: ['86-43=43']
Exploring Operation: 39-12=27, Resulting Numbers: [43, 27]
Generated Node #0,2,0: 63:[43, 27] Operation: 39-12=27
Exploring Operation: 12+43=55, Resulting Numbers: [39, 55]
Generated Node #0,2,1: 63:[39, 55] Operation: 12+43=55
Exploring Operation: 39+43=82, Resulting Numbers: [12, 82]
Generated Node #0,2,2: 63:[12, 82] Operation: 39+43=82
Exploring Operation: 43-12=31, Resulting Numbers: [39, 31]
Generated Node #0,2,3: 63:[39, 31] Operation: 43-12=31
Exploring Operation: 43-39=4, Resulting Numbers: [12, 4]
Generated Node #0,2,4: 63:[12, 4] Operation: 43-39=4
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 63:[12, 4], Operations: ['86-43=43', '43-39=4']
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,63 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Exploring Operation: 12*4=48, Resulting Numbers: [48]
48,63 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 63:[12, 82], Operations: ['86-43=43', '39+43=82']
Exploring Operation: 12+82=94, Resulting Numbers: [94]
94,63 unequal: No Solution
Exploring Operation: 82-12=70, Resulting Numbers: [70]
70,63 unequal: No Solution
Exploring Operation: 12*82=984, Resulting Numbers: [984]
984,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 63:[43, 27], Operations: ['86-43=43', '39-12=27']
Exploring Operation: 43-27=16, Resulting Numbers: [16]
16,63 unequal: No Solution
Exploring Operation: 43+27=70, Resulting Numbers: [70]
70,63 unequal: No Solution
Exploring Operation: 43*27=1161, Resulting Numbers: [1161]
1161,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 63:[39, 55], Operations: ['86-43=43', '12+43=55']
Exploring Operation: 39+55=94, Resulting Numbers: [94]
94,63 unequal: No Solution
Exploring Operation: 39*55=2145, Resulting Numbers: [2145]
2145,63 unequal: No Solution
Exploring Operation: 55-39=16, Resulting Numbers: [16]
16,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 63:[39, 31], Operations: ['86-43=43', '43-12=31']
Exploring Operation: 39*31=1209, Resulting Numbers: [1209]
1209,63 unequal: No Solution
Exploring Operation: 39-31=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Exploring Operation: 39+31=70, Resulting Numbers: [70]
70,63 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: 63:[86, 12, 82], Operations: ['43+39=82']
Exploring Operation: 86+12=98, Resulting Numbers: [82, 98]
Generated Node #0,1,0: 63:[82, 98] Operation: 86+12=98
Exploring Operation: 86-12=74, Resulting Numbers: [82, 74]
Generated Node #0,1,1: 63:[82, 74] Operation: 86-12=74
Exploring Operation: 12+82=94, Resulting Numbers: [86, 94]
Generated Node #0,1,2: 63:[86, 94] Operation: 12+82=94
Exploring Operation: 82-12=70, Resulting Numbers: [86, 70]
Generated Node #0,1,3: 63:[86, 70] Operation: 82-12=70
Exploring Operation: 86-82=4, Resulting Numbers: [12, 4]
Generated Node #0,1,4: 63:[12, 4] Operation: 86-82=4
Moving to Node #0,1,4
Current State: 63:[12, 4], Operations: ['43+39=82', '86-82=4']
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,63 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,63 unequal: No Solution
Exploring Operation: 12*4=48, Resulting Numbers: [48]
48,63 unequal: No Solution
Moving to Node #0,1,3
Current State: 63:[86, 70], Operations: ['43+39=82', '82-12=70']
Exploring Operation: 86-70=16, Resulting Numbers: [16]
16,63 unequal: No Solution
Exploring Operation: 86+70=156, Resulting Numbers: [156]
156,63 unequal: No Solution
Exploring Operation: 86*70=6020, Resulting Numbers: [6020]
6020,63 unequal: No Solution
Moving to Node #0,1,1
Current State: 63:[82, 74], Operations: ['43+39=82', '86-12=74']
Exploring Operation: 82*74=6068, Resulting Numbers: [6068]
6068,63 unequal: No Solution
Exploring Operation: 82-74=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Exploring Operation: 82+74=156, Resulting Numbers: [156]
156,63 unequal: No Solution
Moving to Node #0,1,0
Current State: 63:[82, 98], Operations: ['43+39=82', '86+12=98']
Exploring Operation: 82*98=8036, Resulting Numbers: [8036]
8036,63 unequal: No Solution
Exploring Operation: 98-82=16, Resulting Numbers: [16]
16,63 unequal: No Solution
Exploring Operation: 82+98=180, Resulting Numbers: [180]
180,63 unequal: No Solution
Moving to Node #0,1,2
Current State: 63:[86, 94], Operations: ['43+39=82', '12+82=94']
Exploring Operation: 86*94=8084, Resulting Numbers: [8084]
8084,63 unequal: No Solution
Exploring Operation: 94-86=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Exploring Operation: 86+94=180, Resulting Numbers: [180]
180,63 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
70,
41,
37,
42
] | 39 | [
"70+41=111",
"111/37=3",
"42-3=39"
] | Current State: 39:[70, 41, 37, 42], Operations: []
Exploring Operation: 70+41=111, Resulting Numbers: [37, 42, 111]
Generated Node #2: [37, 42, 111] from Operation: 70+41=111
Current State: 39:[37, 42, 111], Operations: ['70+41=111']
Exploring Operation: 111/37=3, Resulting Numbers: [42, 3]
Generated Node #3: [42, 3] from Operation: 111/37=3
Current State: 39:[42, 3], Operations: ['70+41=111', '111/37=3']
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[70, 41, 37, 42], Operations: []
Exploring Operation: 70-41=29, Resulting Numbers: [37, 42, 29]
Generated Node #0,0: 39:[37, 42, 29] Operation: 70-41=29
Exploring Operation: 70-42=28, Resulting Numbers: [41, 37, 28]
Generated Node #0,1: 39:[41, 37, 28] Operation: 70-42=28
Exploring Operation: 41-37=4, Resulting Numbers: [70, 42, 4]
Generated Node #0,2: 39:[70, 42, 4] Operation: 41-37=4
Exploring Operation: 70-37=33, Resulting Numbers: [41, 42, 33]
Generated Node #0,3: 39:[41, 42, 33] Operation: 70-37=33
Start Sub Search at level 1: Moving to Node #0,3
Current State: 39:[41, 42, 33], Operations: ['70-37=33']
Exploring Operation: 42-41=1, Resulting Numbers: [33, 1]
Generated Node #0,3,0: 39:[33, 1] Operation: 42-41=1
Exploring Operation: 41-33=8, Resulting Numbers: [42, 8]
Generated Node #0,3,1: 39:[42, 8] Operation: 41-33=8
Exploring Operation: 42-33=9, Resulting Numbers: [41, 9]
Generated Node #0,3,2: 39:[41, 9] Operation: 42-33=9
Exploring Operation: 41+33=74, Resulting Numbers: [42, 74]
Generated Node #0,3,3: 39:[42, 74] Operation: 41+33=74
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 39:[41, 9], Operations: ['70-37=33', '42-33=9']
Exploring Operation: 41+9=50, Resulting Numbers: [50]
50,39 unequal: No Solution
Exploring Operation: 41-9=32, Resulting Numbers: [32]
32,39 unequal: No Solution
Exploring Operation: 41*9=369, Resulting Numbers: [369]
369,39 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: 39:[33, 1], Operations: ['70-37=33', '42-41=1']
Exploring Operation: 33*1=33, Resulting Numbers: [33]
33,39 unequal: No Solution
Exploring Operation: 33+1=34, Resulting Numbers: [34]
34,39 unequal: No Solution
Exploring Operation: 33/1=33, Resulting Numbers: [33]
33,39 unequal: No Solution
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,39 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: 39:[42, 8], Operations: ['70-37=33', '41-33=8']
Exploring Operation: 42*8=336, Resulting Numbers: [336]
336,39 unequal: No Solution
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,39 unequal: No Solution
Exploring Operation: 42+8=50, Resulting Numbers: [50]
50,39 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 39:[42, 74], Operations: ['70-37=33', '41+33=74']
Exploring Operation: 74-42=32, Resulting Numbers: [32]
32,39 unequal: No Solution
Exploring Operation: 42+74=116, Resulting Numbers: [116]
116,39 unequal: No Solution
Exploring Operation: 42*74=3108, Resulting Numbers: [3108]
3108,39 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: 39:[37, 42, 29], Operations: ['70-41=29']
Exploring Operation: 42-37=5, Resulting Numbers: [29, 5]
Generated Node #0,0,0: 39:[29, 5] Operation: 42-37=5
Exploring Operation: 37+29=66, Resulting Numbers: [42, 66]
Generated Node #0,0,1: 39:[42, 66] Operation: 37+29=66
Exploring Operation: 37-29=8, Resulting Numbers: [42, 8]
Generated Node #0,0,2: 39:[42, 8] Operation: 37-29=8
Exploring Operation: 42-29=13, Resulting Numbers: [37, 13]
Generated Node #0,0,3: 39:[37, 13] Operation: 42-29=13
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 39:[37, 13], Operations: ['70-41=29', '42-29=13']
Exploring Operation: 37+13=50, Resulting Numbers: [50]
50,39 unequal: No Solution
Exploring Operation: 37-13=24, Resulting Numbers: [24]
24,39 unequal: No Solution
Exploring Operation: 37*13=481, Resulting Numbers: [481]
481,39 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: 39:[42, 8], Operations: ['70-41=29', '37-29=8']
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,39 unequal: No Solution
Exploring Operation: 42*8=336, Resulting Numbers: [336]
336,39 unequal: No Solution
Exploring Operation: 42+8=50, Resulting Numbers: [50]
50,39 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: 39:[29, 5], Operations: ['70-41=29', '42-37=5']
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,39 unequal: No Solution
Exploring Operation: 29*5=145, Resulting Numbers: [145]
145,39 unequal: No Solution
Exploring Operation: 29+5=34, Resulting Numbers: [34]
34,39 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: 39:[42, 66], Operations: ['70-41=29', '37+29=66']
Exploring Operation: 42*66=2772, Resulting Numbers: [2772]
2772,39 unequal: No Solution
Exploring Operation: 66-42=24, Resulting Numbers: [24]
24,39 unequal: No Solution
Exploring Operation: 42+66=108, Resulting Numbers: [108]
108,39 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: 39:[41, 37, 28], Operations: ['70-42=28']
Exploring Operation: 37-28=9, Resulting Numbers: [41, 9]
Generated Node #0,1,0: 39:[41, 9] Operation: 37-28=9
Exploring Operation: 37+28=65, Resulting Numbers: [41, 65]
Generated Node #0,1,1: 39:[41, 65] Operation: 37+28=65
Exploring Operation: 41-37=4, Resulting Numbers: [28, 4]
Generated Node #0,1,2: 39:[28, 4] Operation: 41-37=4
Exploring Operation: 41-28=13, Resulting Numbers: [37, 13]
Generated Node #0,1,3: 39:[37, 13] Operation: 41-28=13
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 39:[37, 13], Operations: ['70-42=28', '41-28=13']
Exploring Operation: 37-13=24, Resulting Numbers: [24]
24,39 unequal: No Solution
Exploring Operation: 37+13=50, Resulting Numbers: [50]
50,39 unequal: No Solution
Exploring Operation: 37*13=481, Resulting Numbers: [481]
481,39 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: 39:[41, 9], Operations: ['70-42=28', '37-28=9']
Exploring Operation: 41-9=32, Resulting Numbers: [32]
32,39 unequal: No Solution
Exploring Operation: 41*9=369, Resulting Numbers: [369]
369,39 unequal: No Solution
Exploring Operation: 41+9=50, Resulting Numbers: [50]
50,39 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: 39:[28, 4], Operations: ['70-42=28', '41-37=4']
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,39 unequal: No Solution
Exploring Operation: 28*4=112, Resulting Numbers: [112]
112,39 unequal: No Solution
Exploring Operation: 28+4=32, Resulting Numbers: [32]
32,39 unequal: No Solution
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,39 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: 39:[41, 65], Operations: ['70-42=28', '37+28=65']
Exploring Operation: 65-41=24, Resulting Numbers: [24]
24,39 unequal: No Solution
Exploring Operation: 41*65=2665, Resulting Numbers: [2665]
2665,39 unequal: No Solution
Exploring Operation: 41+65=106, Resulting Numbers: [106]
106,39 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: 39:[70, 42, 4], Operations: ['41-37=4']
Exploring Operation: 70+4=74, Resulting Numbers: [42, 74]
Generated Node #0,2,0: 39:[42, 74] Operation: 70+4=74
Exploring Operation: 70-42=28, Resulting Numbers: [4, 28]
Generated Node #0,2,1: 39:[4, 28] Operation: 70-42=28
Exploring Operation: 70-4=66, Resulting Numbers: [42, 66]
Generated Node #0,2,2: 39:[42, 66] Operation: 70-4=66
Exploring Operation: 42-4=38, Resulting Numbers: [70, 38]
Generated Node #0,2,3: 39:[70, 38] Operation: 42-4=38
Moving to Node #0,2,1
Current State: 39:[4, 28], Operations: ['41-37=4', '70-42=28']
Exploring Operation: 4+28=32, Resulting Numbers: [32]
32,39 unequal: No Solution
Exploring Operation: 4*28=112, Resulting Numbers: [112]
112,39 unequal: No Solution
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,39 unequal: No Solution
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,39 unequal: No Solution
Moving to Node #0,2,2
Current State: 39:[42, 66], Operations: ['41-37=4', '70-4=66']
Exploring Operation: 42*66=2772, Resulting Numbers: [2772]
2772,39 unequal: No Solution
Exploring Operation: 66-42=24, Resulting Numbers: [24]
24,39 unequal: No Solution
Exploring Operation: 42+66=108, Resulting Numbers: [108]
108,39 unequal: No Solution
Moving to Node #0,2,3
Current State: 39:[70, 38], Operations: ['41-37=4', '42-4=38']
Exploring Operation: 70+38=108, Resulting Numbers: [108]
108,39 unequal: No Solution
Exploring Operation: 70-38=32, Resulting Numbers: [32]
32,39 unequal: No Solution
Exploring Operation: 70*38=2660, Resulting Numbers: [2660]
2660,39 unequal: No Solution
Moving to Node #0,2,0
Current State: 39:[42, 74], Operations: ['41-37=4', '70+4=74']
Exploring Operation: 42+74=116, Resulting Numbers: [116]
116,39 unequal: No Solution
Exploring Operation: 74-42=32, Resulting Numbers: [32]
32,39 unequal: No Solution
Exploring Operation: 42*74=3108, Resulting Numbers: [3108]
3108,39 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 |
[
50,
73,
75,
49
] | 49 | [
"73-50=23",
"75-49=26",
"23+26=49"
] | Current State: 49:[50, 73, 75, 49], Operations: []
Exploring Operation: 73-50=23, Resulting Numbers: [75, 49, 23]
Generated Node #2: [75, 49, 23] from Operation: 73-50=23
Current State: 49:[75, 49, 23], Operations: ['73-50=23']
Exploring Operation: 75-49=26, Resulting Numbers: [23, 26]
Generated Node #3: [23, 26] from Operation: 75-49=26
Current State: 49:[23, 26], Operations: ['73-50=23', '75-49=26']
Exploring Operation: 23+26=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[50, 73, 75, 49], Operations: []
Exploring Operation: 75-50=25, Resulting Numbers: [73, 49, 25]
Generated Node #0,0: 49:[73, 49, 25] Operation: 75-50=25
Exploring Operation: 75-73=2, Resulting Numbers: [50, 49, 2]
Generated Node #0,1: 49:[50, 49, 2] Operation: 75-73=2
Exploring Operation: 73-50=23, Resulting Numbers: [75, 49, 23]
Generated Node #0,2: 49:[75, 49, 23] Operation: 73-50=23
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[50, 49, 2], Operations: ['75-73=2']
Exploring Operation: 50-2=48, Resulting Numbers: [49, 48]
Generated Node #0,1,0: 49:[49, 48] Operation: 50-2=48
Exploring Operation: 49+2=51, Resulting Numbers: [50, 51]
Generated Node #0,1,1: 49:[50, 51] Operation: 49+2=51
Exploring Operation: 50+2=52, Resulting Numbers: [49, 52]
Generated Node #0,1,2: 49:[49, 52] Operation: 50+2=52
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 49:[49, 48], Operations: ['75-73=2', '50-2=48']
Exploring Operation: 49*48=2352, Resulting Numbers: [2352]
2352,49 unequal: No Solution
Exploring Operation: 49-48=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 49+48=97, Resulting Numbers: [97]
97,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:[50, 51], Operations: ['75-73=2', '49+2=51']
Exploring Operation: 51-50=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 50*51=2550, Resulting Numbers: [2550]
2550,49 unequal: No Solution
Exploring Operation: 50+51=101, Resulting Numbers: [101]
101,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,2
Current State: 49:[49, 52], Operations: ['75-73=2', '50+2=52']
Exploring Operation: 49*52=2548, Resulting Numbers: [2548]
2548,49 unequal: No Solution
Exploring Operation: 52-49=3, Resulting Numbers: [3]
3,49 unequal: No Solution
Exploring Operation: 49+52=101, Resulting Numbers: [101]
101,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[73, 49, 25], Operations: ['75-50=25']
Exploring Operation: 73-49=24, Resulting Numbers: [25, 24]
Generated Node #0,0,0: 49:[25, 24] Operation: 73-49=24
Exploring Operation: 49-25=24, Resulting Numbers: [73, 24]
Generated Node #0,0,1: 49:[73, 24] Operation: 49-25=24
Exploring Operation: 73-25=48, Resulting Numbers: [49, 48]
Generated Node #0,0,2: 49:[49, 48] Operation: 73-25=48
Moving to Node #0,0,2
Current State: 49:[49, 48], Operations: ['75-50=25', '73-25=48']
Exploring Operation: 49*48=2352, Resulting Numbers: [2352]
2352,49 unequal: No Solution
Exploring Operation: 49+48=97, Resulting Numbers: [97]
97,49 unequal: No Solution
Exploring Operation: 49-48=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Moving to Node #0,0,0
Current State: 49:[25, 24], Operations: ['75-50=25', '73-49=24']
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 25+24=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[50, 73, 75, 49], Operations: []
Exploring Operation: 75-50=25, Resulting Numbers: [73, 49, 25]
Generated Node #0,0: 49:[73, 49, 25] Operation: 75-50=25
Moving to Node #0,0
Current State: 49:[73, 49, 25], Operations: ['75-50=25']
Exploring Operation: 73-49=24, Resulting Numbers: [25, 24]
Generated Node #0,0,0: 49:[25, 24] Operation: 73-49=24
Moving to Node #0,0,0
Current State: 49:[25, 24], Operations: ['75-50=25', '73-49=24']
Exploring Operation: 25+24=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_3 | mult_heuristic |
[
18,
82,
67,
84
] | 47 | [
"82-18=64",
"84-67=17",
"64-17=47"
] | Current State: 47:[18, 82, 67, 84], Operations: []
Exploring Operation: 82-18=64, Resulting Numbers: [67, 84, 64]
Generated Node #2: [67, 84, 64] from Operation: 82-18=64
Current State: 47:[67, 84, 64], Operations: ['82-18=64']
Exploring Operation: 84-67=17, Resulting Numbers: [64, 17]
Generated Node #3: [64, 17] from Operation: 84-67=17
Current State: 47:[64, 17], Operations: ['82-18=64', '84-67=17']
Exploring Operation: 64-17=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[18, 82, 67, 84], Operations: []
Exploring Operation: 82-18=64, Resulting Numbers: [67, 84, 64]
Generated Node #0,0: 47:[67, 84, 64] Operation: 82-18=64
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[67, 84, 64], Operations: ['82-18=64']
Exploring Operation: 84-67=17, Resulting Numbers: [64, 17]
Generated Node #0,0,0: 47:[64, 17] Operation: 84-67=17
Moving to Node #0,0,0
Current State: 47:[64, 17], Operations: ['82-18=64', '84-67=17']
Exploring Operation: 64-17=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[18, 82, 67, 84], Operations: []
Exploring Operation: 82-18=64, Resulting Numbers: [67, 84, 64]
Generated Node #0,0: 47:[67, 84, 64] Operation: 82-18=64
Moving to Node #0,0
Current State: 47:[67, 84, 64], Operations: ['82-18=64']
Exploring Operation: 84-67=17, Resulting Numbers: [64, 17]
Generated Node #0,0,0: 47:[64, 17] Operation: 84-67=17
Moving to Node #0,0,0
Current State: 47:[64, 17], Operations: ['82-18=64', '84-67=17']
Exploring Operation: 64-17=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
98,
5,
96,
63
] | 60 | [
"98-5=93",
"96-63=33",
"93-33=60"
] | Current State: 60:[98, 5, 96, 63], Operations: []
Exploring Operation: 98-5=93, Resulting Numbers: [96, 63, 93]
Generated Node #2: [96, 63, 93] from Operation: 98-5=93
Current State: 60:[96, 63, 93], Operations: ['98-5=93']
Exploring Operation: 96-63=33, Resulting Numbers: [93, 33]
Generated Node #3: [93, 33] from Operation: 96-63=33
Current State: 60:[93, 33], Operations: ['98-5=93', '96-63=33']
Exploring Operation: 93-33=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[98, 5, 96, 63], Operations: []
Exploring Operation: 98-63=35, Resulting Numbers: [5, 96, 35]
Generated Node #0,0: 60:[5, 96, 35] Operation: 98-63=35
Exploring Operation: 96-63=33, Resulting Numbers: [98, 5, 33]
Generated Node #0,1: 60:[98, 5, 33] Operation: 96-63=33
Exploring Operation: 98-96=2, Resulting Numbers: [5, 63, 2]
Generated Node #0,2: 60:[5, 63, 2] Operation: 98-96=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 60:[5, 63, 2], Operations: ['98-96=2']
Exploring Operation: 5*2=10, Resulting Numbers: [63, 10]
Generated Node #0,2,0: 60:[63, 10] Operation: 5*2=10
Exploring Operation: 63-5=58, Resulting Numbers: [2, 58]
Generated Node #0,2,1: 60:[2, 58] Operation: 63-5=58
Exploring Operation: 63-2=61, Resulting Numbers: [5, 61]
Generated Node #0,2,2: 60:[5, 61] Operation: 63-2=61
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 60:[5, 61], Operations: ['98-96=2', '63-2=61']
Exploring Operation: 5+61=66, Resulting Numbers: [66]
66,60 unequal: No Solution
Exploring Operation: 5*61=305, Resulting Numbers: [305]
305,60 unequal: No Solution
Exploring Operation: 61-5=56, Resulting Numbers: [56]
56,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 60:[2, 58], Operations: ['98-96=2', '63-5=58']
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,60 unequal: No Solution
Exploring Operation: 2+58=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[98, 5, 96, 63], Operations: []
Exploring Operation: 98-96=2, Resulting Numbers: [5, 63, 2]
Generated Node #0,2: 60:[5, 63, 2] Operation: 98-96=2
Moving to Node #0,2
Current State: 60:[5, 63, 2], Operations: ['98-96=2']
Exploring Operation: 63-5=58, Resulting Numbers: [2, 58]
Generated Node #0,2,1: 60:[2, 58] Operation: 63-5=58
Moving to Node #0,2,1
Current State: 60:[2, 58], Operations: ['98-96=2', '63-5=58']
Exploring Operation: 2+58=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
95,
75,
71,
65
] | 34 | [
"95+75=170",
"71+65=136",
"170-136=34"
] | Current State: 34:[95, 75, 71, 65], Operations: []
Exploring Operation: 95+75=170, Resulting Numbers: [71, 65, 170]
Generated Node #2: [71, 65, 170] from Operation: 95+75=170
Current State: 34:[71, 65, 170], Operations: ['95+75=170']
Exploring Operation: 71+65=136, Resulting Numbers: [170, 136]
Generated Node #3: [170, 136] from Operation: 71+65=136
Current State: 34:[170, 136], Operations: ['95+75=170', '71+65=136']
Exploring Operation: 170-136=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[95, 75, 71, 65], Operations: []
Exploring Operation: 95-65=30, Resulting Numbers: [75, 71, 30]
Generated Node #0,0: 34:[75, 71, 30] Operation: 95-65=30
Exploring Operation: 95-71=24, Resulting Numbers: [75, 65, 24]
Generated Node #0,1: 34:[75, 65, 24] Operation: 95-71=24
Exploring Operation: 95-75=20, Resulting Numbers: [71, 65, 20]
Generated Node #0,2: 34:[71, 65, 20] Operation: 95-75=20
Moving to Node #0,2
Current State: 34:[71, 65, 20], Operations: ['95-75=20']
Exploring Operation: 71-65=6, Resulting Numbers: [20, 6]
Generated Node #0,2,0: 34:[20, 6] Operation: 71-65=6
Exploring Operation: 65-20=45, Resulting Numbers: [71, 45]
Generated Node #0,2,1: 34:[71, 45] Operation: 65-20=45
Exploring Operation: 71-20=51, Resulting Numbers: [65, 51]
Generated Node #0,2,2: 34:[65, 51] Operation: 71-20=51
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 34:[20, 6], Operations: ['95-75=20', '71-65=6']
Exploring Operation: 20+6=26, Resulting Numbers: [26]
26,34 unequal: No Solution
Exploring Operation: 20*6=120, Resulting Numbers: [120]
120,34 unequal: No Solution
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 34:[71, 45], Operations: ['95-75=20', '65-20=45']
Exploring Operation: 71+45=116, Resulting Numbers: [116]
116,34 unequal: No Solution
Exploring Operation: 71-45=26, Resulting Numbers: [26]
26,34 unequal: No Solution
Exploring Operation: 71*45=3195, Resulting Numbers: [3195]
3195,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 34:[65, 51], Operations: ['95-75=20', '71-20=51']
Exploring Operation: 65+51=116, Resulting Numbers: [116]
116,34 unequal: No Solution
Exploring Operation: 65-51=14, Resulting Numbers: [14]
14,34 unequal: No Solution
Exploring Operation: 65*51=3315, Resulting Numbers: [3315]
3315,34 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: 34:[75, 65, 24], Operations: ['95-71=24']
Exploring Operation: 75-65=10, Resulting Numbers: [24, 10]
Generated Node #0,1,0: 34:[24, 10] Operation: 75-65=10
Exploring Operation: 65-24=41, Resulting Numbers: [75, 41]
Generated Node #0,1,1: 34:[75, 41] Operation: 65-24=41
Exploring Operation: 75-24=51, Resulting Numbers: [65, 51]
Generated Node #0,1,2: 34:[65, 51] Operation: 75-24=51
Moving to Node #0,0
Current State: 34:[75, 71, 30], Operations: ['95-65=30']
Exploring Operation: 75-71=4, Resulting Numbers: [30, 4]
Generated Node #0,0,0: 34:[30, 4] Operation: 75-71=4
Exploring Operation: 75-30=45, Resulting Numbers: [71, 45]
Generated Node #0,0,1: 34:[71, 45] Operation: 75-30=45
Exploring Operation: 71-30=41, Resulting Numbers: [75, 41]
Generated Node #0,0,2: 34:[75, 41] Operation: 71-30=41
Moving to Node #0,0,0
Current State: 34:[30, 4], Operations: ['95-65=30', '75-71=4']
Exploring Operation: 30+4=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[95, 75, 71, 65], Operations: []
Exploring Operation: 95-65=30, Resulting Numbers: [75, 71, 30]
Generated Node #0,0: 34:[75, 71, 30] Operation: 95-65=30
Moving to Node #0,0
Current State: 34:[75, 71, 30], Operations: ['95-65=30']
Exploring Operation: 75-71=4, Resulting Numbers: [30, 4]
Generated Node #0,0,0: 34:[30, 4] Operation: 75-71=4
Moving to Node #0,0,0
Current State: 34:[30, 4], Operations: ['95-65=30', '75-71=4']
Exploring Operation: 30+4=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 0.977431 | hs_3 | mult_heuristic |
[
29,
8,
96,
23
] | 59 | [
"29+96=125",
"8*23=184",
"184-125=59"
] | Current State: 59:[29, 8, 96, 23], Operations: []
Exploring Operation: 29+96=125, Resulting Numbers: [8, 23, 125]
Generated Node #2: [8, 23, 125] from Operation: 29+96=125
Current State: 59:[8, 23, 125], Operations: ['29+96=125']
Exploring Operation: 8*23=184, Resulting Numbers: [125, 184]
Generated Node #3: [125, 184] from Operation: 8*23=184
Current State: 59:[125, 184], Operations: ['29+96=125', '8*23=184']
Exploring Operation: 184-125=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[29, 8, 96, 23], Operations: []
Exploring Operation: 29+8=37, Resulting Numbers: [96, 23, 37]
Generated Node #0,0: 59:[96, 23, 37] Operation: 29+8=37
Exploring Operation: 96-8=88, Resulting Numbers: [29, 23, 88]
Generated Node #0,1: 59:[29, 23, 88] Operation: 96-8=88
Exploring Operation: 29+23=52, Resulting Numbers: [8, 96, 52]
Generated Node #0,2: 59:[8, 96, 52] Operation: 29+23=52
Exploring Operation: 96-29=67, Resulting Numbers: [8, 23, 67]
Generated Node #0,3: 59:[8, 23, 67] Operation: 96-29=67
Exploring Operation: 8+23=31, Resulting Numbers: [29, 96, 31]
Generated Node #0,4: 59:[29, 96, 31] Operation: 8+23=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[96, 23, 37], Operations: ['29+8=37']
Exploring Operation: 37-23=14, Resulting Numbers: [96, 14]
Generated Node #0,0,0: 59:[96, 14] Operation: 37-23=14
Exploring Operation: 23+37=60, Resulting Numbers: [96, 60]
Generated Node #0,0,1: 59:[96, 60] Operation: 23+37=60
Exploring Operation: 96+23=119, Resulting Numbers: [37, 119]
Generated Node #0,0,2: 59:[37, 119] Operation: 96+23=119
Exploring Operation: 96-37=59, Resulting Numbers: [23, 59]
Generated Node #0,0,3: 59:[23, 59] Operation: 96-37=59
Exploring Operation: 96-23=73, Resulting Numbers: [37, 73]
Generated Node #0,0,4: 59:[37, 73] Operation: 96-23=73
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 59:[23, 59], Operations: ['29+8=37', '96-37=59']
Exploring Operation: 59-23=36, Resulting Numbers: [36]
36,59 unequal: No Solution
Exploring Operation: 23*59=1357, Resulting Numbers: [1357]
1357,59 unequal: No Solution
Exploring Operation: 23+59=82, Resulting Numbers: [82]
82,59 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: 59:[37, 73], Operations: ['29+8=37', '96-23=73']
Exploring Operation: 37+73=110, Resulting Numbers: [110]
110,59 unequal: No Solution
Exploring Operation: 37*73=2701, Resulting Numbers: [2701]
2701,59 unequal: No Solution
Exploring Operation: 73-37=36, Resulting Numbers: [36]
36,59 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: 59:[96, 60], Operations: ['29+8=37', '23+37=60']
Exploring Operation: 96+60=156, Resulting Numbers: [156]
156,59 unequal: No Solution
Exploring Operation: 96*60=5760, Resulting Numbers: [5760]
5760,59 unequal: No Solution
Exploring Operation: 96-60=36, Resulting Numbers: [36]
36,59 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: 59:[96, 14], Operations: ['29+8=37', '37-23=14']
Exploring Operation: 96-14=82, Resulting Numbers: [82]
82,59 unequal: No Solution
Exploring Operation: 96+14=110, Resulting Numbers: [110]
110,59 unequal: No Solution
Exploring Operation: 96*14=1344, Resulting Numbers: [1344]
1344,59 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: 59:[37, 119], Operations: ['29+8=37', '96+23=119']
Exploring Operation: 37*119=4403, Resulting Numbers: [4403]
4403,59 unequal: No Solution
Exploring Operation: 37+119=156, Resulting Numbers: [156]
156,59 unequal: No Solution
Exploring Operation: 119-37=82, Resulting Numbers: [82]
82,59 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: 59:[29, 23, 88], Operations: ['96-8=88']
Exploring Operation: 88-29=59, Resulting Numbers: [23, 59]
Generated Node #0,1,0: 59:[23, 59] Operation: 88-29=59
Exploring Operation: 88-23=65, Resulting Numbers: [29, 65]
Generated Node #0,1,1: 59:[29, 65] Operation: 88-23=65
Exploring Operation: 29-23=6, Resulting Numbers: [88, 6]
Generated Node #0,1,2: 59:[88, 6] Operation: 29-23=6
Exploring Operation: 29+23=52, Resulting Numbers: [88, 52]
Generated Node #0,1,3: 59:[88, 52] Operation: 29+23=52
Exploring Operation: 23+88=111, Resulting Numbers: [29, 111]
Generated Node #0,1,4: 59:[29, 111] Operation: 23+88=111
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 59:[23, 59], Operations: ['96-8=88', '88-29=59']
Exploring Operation: 23*59=1357, Resulting Numbers: [1357]
1357,59 unequal: No Solution
Exploring Operation: 59-23=36, Resulting Numbers: [36]
36,59 unequal: No Solution
Exploring Operation: 23+59=82, Resulting Numbers: [82]
82,59 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: 59:[29, 65], Operations: ['96-8=88', '88-23=65']
Exploring Operation: 65-29=36, Resulting Numbers: [36]
36,59 unequal: No Solution
Exploring Operation: 29+65=94, Resulting Numbers: [94]
94,59 unequal: No Solution
Exploring Operation: 29*65=1885, Resulting Numbers: [1885]
1885,59 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: 59:[88, 52], Operations: ['96-8=88', '29+23=52']
Exploring Operation: 88*52=4576, Resulting Numbers: [4576]
4576,59 unequal: No Solution
Exploring Operation: 88+52=140, Resulting Numbers: [140]
140,59 unequal: No Solution
Exploring Operation: 88-52=36, Resulting Numbers: [36]
36,59 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: 59:[88, 6], Operations: ['96-8=88', '29-23=6']
Exploring Operation: 88*6=528, Resulting Numbers: [528]
528,59 unequal: No Solution
Exploring Operation: 88+6=94, Resulting Numbers: [94]
94,59 unequal: No Solution
Exploring Operation: 88-6=82, Resulting Numbers: [82]
82,59 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: 59:[29, 111], Operations: ['96-8=88', '23+88=111']
Exploring Operation: 29+111=140, Resulting Numbers: [140]
140,59 unequal: No Solution
Exploring Operation: 111-29=82, Resulting Numbers: [82]
82,59 unequal: No Solution
Exploring Operation: 29*111=3219, Resulting Numbers: [3219]
3219,59 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: 59:[8, 96, 52], Operations: ['29+23=52']
Exploring Operation: 8+96=104, Resulting Numbers: [52, 104]
Generated Node #0,2,0: 59:[52, 104] Operation: 8+96=104
Exploring Operation: 96/8=12, Resulting Numbers: [52, 12]
Generated Node #0,2,1: 59:[52, 12] Operation: 96/8=12
Exploring Operation: 52-8=44, Resulting Numbers: [96, 44]
Generated Node #0,2,2: 59:[96, 44] Operation: 52-8=44
Exploring Operation: 8+52=60, Resulting Numbers: [96, 60]
Generated Node #0,2,3: 59:[96, 60] Operation: 8+52=60
Exploring Operation: 96-8=88, Resulting Numbers: [52, 88]
Generated Node #0,2,4: 59:[52, 88] Operation: 96-8=88
Moving to Node #0,2,4
Current State: 59:[52, 88], Operations: ['29+23=52', '96-8=88']
Exploring Operation: 52*88=4576, Resulting Numbers: [4576]
4576,59 unequal: No Solution
Exploring Operation: 52+88=140, Resulting Numbers: [140]
140,59 unequal: No Solution
Exploring Operation: 88-52=36, Resulting Numbers: [36]
36,59 unequal: No Solution
Moving to Node #0,2,3
Current State: 59:[96, 60], Operations: ['29+23=52', '8+52=60']
Exploring Operation: 96+60=156, Resulting Numbers: [156]
156,59 unequal: No Solution
Exploring Operation: 96-60=36, Resulting Numbers: [36]
36,59 unequal: No Solution
Exploring Operation: 96*60=5760, Resulting Numbers: [5760]
5760,59 unequal: No Solution
Moving to Node #0,2,0
Current State: 59:[52, 104], Operations: ['29+23=52', '8+96=104']
Exploring Operation: 52*104=5408, Resulting Numbers: [5408]
5408,59 unequal: No Solution
Exploring Operation: 104/52=2, Resulting Numbers: [2]
2,59 unequal: No Solution
Exploring Operation: 52+104=156, Resulting Numbers: [156]
156,59 unequal: No Solution
Exploring Operation: 104-52=52, Resulting Numbers: [52]
52,59 unequal: No Solution
Moving to Node #0,2,2
Current State: 59:[96, 44], Operations: ['29+23=52', '52-8=44']
Exploring Operation: 96*44=4224, Resulting Numbers: [4224]
4224,59 unequal: No Solution
Exploring Operation: 96+44=140, Resulting Numbers: [140]
140,59 unequal: No Solution
Exploring Operation: 96-44=52, Resulting Numbers: [52]
52,59 unequal: No Solution
Moving to Node #0,2,1
Current State: 59:[52, 12], Operations: ['29+23=52', '96/8=12']
Exploring Operation: 52+12=64, Resulting Numbers: [64]
64,59 unequal: No Solution
Exploring Operation: 52-12=40, Resulting Numbers: [40]
40,59 unequal: No Solution
Exploring Operation: 52*12=624, Resulting Numbers: [624]
624,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,3
Current State: 59:[8, 23, 67], Operations: ['96-29=67']
Exploring Operation: 67-23=44, Resulting Numbers: [8, 44]
Generated Node #0,3,0: 59:[8, 44] Operation: 67-23=44
Exploring Operation: 23-8=15, Resulting Numbers: [67, 15]
Generated Node #0,3,1: 59:[67, 15] Operation: 23-8=15
Exploring Operation: 8+67=75, Resulting Numbers: [23, 75]
Generated Node #0,3,2: 59:[23, 75] Operation: 8+67=75
Exploring Operation: 67-8=59, Resulting Numbers: [23, 59]
Generated Node #0,3,3: 59:[23, 59] Operation: 67-8=59
Exploring Operation: 8+23=31, Resulting Numbers: [67, 31]
Generated Node #0,3,4: 59:[67, 31] Operation: 8+23=31
Moving to Node #0,3,3
Current State: 59:[23, 59], Operations: ['96-29=67', '67-8=59']
Exploring Operation: 23+59=82, Resulting Numbers: [82]
82,59 unequal: No Solution
Exploring Operation: 23*59=1357, Resulting Numbers: [1357]
1357,59 unequal: No Solution
Exploring Operation: 59-23=36, Resulting Numbers: [36]
36,59 unequal: No Solution
Moving to Node #0,3,4
Current State: 59:[67, 31], Operations: ['96-29=67', '8+23=31']
Exploring Operation: 67+31=98, Resulting Numbers: [98]
98,59 unequal: No Solution
Exploring Operation: 67-31=36, Resulting Numbers: [36]
36,59 unequal: No Solution
Exploring Operation: 67*31=2077, Resulting Numbers: [2077]
2077,59 unequal: No Solution
Moving to Node #0,3,1
Current State: 59:[67, 15], Operations: ['96-29=67', '23-8=15']
Exploring Operation: 67*15=1005, Resulting Numbers: [1005]
1005,59 unequal: No Solution
Exploring Operation: 67+15=82, Resulting Numbers: [82]
82,59 unequal: No Solution
Exploring Operation: 67-15=52, Resulting Numbers: [52]
52,59 unequal: No Solution
Moving to Node #0,3,2
Current State: 59:[23, 75], Operations: ['96-29=67', '8+67=75']
Exploring Operation: 23*75=1725, Resulting Numbers: [1725]
1725,59 unequal: No Solution
Exploring Operation: 75-23=52, Resulting Numbers: [52]
52,59 unequal: No Solution
Exploring Operation: 23+75=98, Resulting Numbers: [98]
98,59 unequal: No Solution
Moving to Node #0,3,0
Current State: 59:[8, 44], Operations: ['96-29=67', '67-23=44']
Exploring Operation: 44-8=36, Resulting Numbers: [36]
36,59 unequal: No Solution
Exploring Operation: 8+44=52, Resulting Numbers: [52]
52,59 unequal: No Solution
Exploring Operation: 8*44=352, Resulting Numbers: [352]
352,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,4
Current State: 59:[29, 96, 31], Operations: ['8+23=31']
Exploring Operation: 29+31=60, Resulting Numbers: [96, 60]
Generated Node #0,4,0: 59:[96, 60] Operation: 29+31=60
Exploring Operation: 96-29=67, Resulting Numbers: [31, 67]
Generated Node #0,4,1: 59:[31, 67] Operation: 96-29=67
Exploring Operation: 96-31=65, Resulting Numbers: [29, 65]
Generated Node #0,4,2: 59:[29, 65] Operation: 96-31=65
Exploring Operation: 29+96=125, Resulting Numbers: [31, 125]
Generated Node #0,4,3: 59:[31, 125] Operation: 29+96=125
Exploring Operation: 31-29=2, Resulting Numbers: [96, 2]
Generated Node #0,4,4: 59:[96, 2] Operation: 31-29=2
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 59:[31, 67], Operations: ['8+23=31', '96-29=67']
Exploring Operation: 31*67=2077, Resulting Numbers: [2077]
2077,59 unequal: No Solution
Exploring Operation: 67-31=36, Resulting Numbers: [36]
36,59 unequal: No Solution
Exploring Operation: 31+67=98, Resulting Numbers: [98]
98,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 59:[29, 65], Operations: ['8+23=31', '96-31=65']
Exploring Operation: 65-29=36, Resulting Numbers: [36]
36,59 unequal: No Solution
Exploring Operation: 29*65=1885, Resulting Numbers: [1885]
1885,59 unequal: No Solution
Exploring Operation: 29+65=94, Resulting Numbers: [94]
94,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 59:[96, 60], Operations: ['8+23=31', '29+31=60']
Exploring Operation: 96-60=36, Resulting Numbers: [36]
36,59 unequal: No Solution
Exploring Operation: 96+60=156, Resulting Numbers: [156]
156,59 unequal: No Solution
Exploring Operation: 96*60=5760, Resulting Numbers: [5760]
5760,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 59:[31, 125], Operations: ['8+23=31', '29+96=125']
Exploring Operation: 125-31=94, Resulting Numbers: [94]
94,59 unequal: No Solution
Exploring Operation: 31+125=156, Resulting Numbers: [156]
156,59 unequal: No Solution
Exploring Operation: 31*125=3875, Resulting Numbers: [3875]
3875,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 59:[96, 2], Operations: ['8+23=31', '31-29=2']
Exploring Operation: 96+2=98, Resulting Numbers: [98]
98,59 unequal: No Solution
Exploring Operation: 96/2=48, Resulting Numbers: [48]
48,59 unequal: No Solution
Exploring Operation: 96*2=192, Resulting Numbers: [192]
192,59 unequal: No Solution
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,59 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 | mult_heuristic |
[
79,
53,
97,
16
] | 19 | [
"79+53=132",
"97+16=113",
"132-113=19"
] | Current State: 19:[79, 53, 97, 16], Operations: []
Exploring Operation: 79+53=132, Resulting Numbers: [97, 16, 132]
Generated Node #2: [97, 16, 132] from Operation: 79+53=132
Current State: 19:[97, 16, 132], Operations: ['79+53=132']
Exploring Operation: 97+16=113, Resulting Numbers: [132, 113]
Generated Node #3: [132, 113] from Operation: 97+16=113
Current State: 19:[132, 113], Operations: ['79+53=132', '97+16=113']
Exploring Operation: 132-113=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[79, 53, 97, 16], Operations: []
Exploring Operation: 97-79=18, Resulting Numbers: [53, 16, 18]
Generated Node #0,0: 19:[53, 16, 18] Operation: 97-79=18
Exploring Operation: 79-53=26, Resulting Numbers: [97, 16, 26]
Generated Node #0,1: 19:[97, 16, 26] Operation: 79-53=26
Exploring Operation: 97-53=44, Resulting Numbers: [79, 16, 44]
Generated Node #0,2: 19:[79, 16, 44] Operation: 97-53=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[53, 16, 18], Operations: ['97-79=18']
Exploring Operation: 16+18=34, Resulting Numbers: [53, 34]
Generated Node #0,0,0: 19:[53, 34] Operation: 16+18=34
Exploring Operation: 53-16=37, Resulting Numbers: [18, 37]
Generated Node #0,0,1: 19:[18, 37] Operation: 53-16=37
Exploring Operation: 53-18=35, Resulting Numbers: [16, 35]
Generated Node #0,0,2: 19:[16, 35] Operation: 53-18=35
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 19:[18, 37], Operations: ['97-79=18', '53-16=37']
Exploring Operation: 37-18=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[79, 53, 97, 16], Operations: []
Exploring Operation: 97-79=18, Resulting Numbers: [53, 16, 18]
Generated Node #0,0: 19:[53, 16, 18] Operation: 97-79=18
Moving to Node #0,0
Current State: 19:[53, 16, 18], Operations: ['97-79=18']
Exploring Operation: 53-16=37, Resulting Numbers: [18, 37]
Generated Node #0,0,1: 19:[18, 37] Operation: 53-16=37
Moving to Node #0,0,1
Current State: 19:[18, 37], Operations: ['97-79=18', '53-16=37']
Exploring Operation: 37-18=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
45,
92,
73,
21
] | 99 | [
"92-45=47",
"73-21=52",
"47+52=99"
] | Current State: 99:[45, 92, 73, 21], Operations: []
Exploring Operation: 92-45=47, Resulting Numbers: [73, 21, 47]
Generated Node #2: [73, 21, 47] from Operation: 92-45=47
Current State: 99:[73, 21, 47], Operations: ['92-45=47']
Exploring Operation: 73-21=52, Resulting Numbers: [47, 52]
Generated Node #3: [47, 52] from Operation: 73-21=52
Current State: 99:[47, 52], Operations: ['92-45=47', '73-21=52']
Exploring Operation: 47+52=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[45, 92, 73, 21], Operations: []
Exploring Operation: 73+21=94, Resulting Numbers: [45, 92, 94]
Generated Node #0,0: 99:[45, 92, 94] Operation: 73+21=94
Exploring Operation: 73-45=28, Resulting Numbers: [92, 21, 28]
Generated Node #0,1: 99:[92, 21, 28] Operation: 73-45=28
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[92, 21, 28], Operations: ['73-45=28']
Exploring Operation: 92+21=113, Resulting Numbers: [28, 113]
Generated Node #0,1,0: 99:[28, 113] Operation: 92+21=113
Exploring Operation: 28-21=7, Resulting Numbers: [92, 7]
Generated Node #0,1,1: 99:[92, 7] Operation: 28-21=7
Moving to Node #0,1,1
Current State: 99:[92, 7], Operations: ['73-45=28', '28-21=7']
Exploring Operation: 92+7=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[45, 92, 73, 21], Operations: []
Exploring Operation: 73-45=28, Resulting Numbers: [92, 21, 28]
Generated Node #0,1: 99:[92, 21, 28] Operation: 73-45=28
Moving to Node #0,1
Current State: 99:[92, 21, 28], Operations: ['73-45=28']
Exploring Operation: 28-21=7, Resulting Numbers: [92, 7]
Generated Node #0,1,1: 99:[92, 7] Operation: 28-21=7
Moving to Node #0,1,1
Current State: 99:[92, 7], Operations: ['73-45=28', '28-21=7']
Exploring Operation: 92+7=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
9,
74,
51,
37
] | 51 | [
"74-9=65",
"51-37=14",
"65-14=51"
] | Current State: 51:[9, 74, 51, 37], Operations: []
Exploring Operation: 74-9=65, Resulting Numbers: [51, 37, 65]
Generated Node #2: [51, 37, 65] from Operation: 74-9=65
Current State: 51:[51, 37, 65], Operations: ['74-9=65']
Exploring Operation: 51-37=14, Resulting Numbers: [65, 14]
Generated Node #3: [65, 14] from Operation: 51-37=14
Current State: 51:[65, 14], Operations: ['74-9=65', '51-37=14']
Exploring Operation: 65-14=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[9, 74, 51, 37], Operations: []
Exploring Operation: 74/37=2, Resulting Numbers: [9, 51, 2]
Generated Node #0,0: 51:[9, 51, 2] Operation: 74/37=2
Exploring Operation: 74-37=37, Resulting Numbers: [9, 51, 37]
Generated Node #0,1: 51:[9, 51, 37] Operation: 74-37=37
Exploring Operation: 74-51=23, Resulting Numbers: [9, 37, 23]
Generated Node #0,2: 51:[9, 37, 23] Operation: 74-51=23
Moving to Node #0,0
Current State: 51:[9, 51, 2], Operations: ['74/37=2']
Exploring Operation: 9*2=18, Resulting Numbers: [51, 18]
Generated Node #0,0,0: 51:[51, 18] Operation: 9*2=18
Exploring Operation: 9-2=7, Resulting Numbers: [51, 7]
Generated Node #0,0,1: 51:[51, 7] Operation: 9-2=7
Exploring Operation: 9+2=11, Resulting Numbers: [51, 11]
Generated Node #0,0,2: 51:[51, 11] Operation: 9+2=11
Moving to Node #0,1
Current State: 51:[9, 51, 37], Operations: ['74-37=37']
Exploring Operation: 51-37=14, Resulting Numbers: [9, 14]
Generated Node #0,1,0: 51:[9, 14] Operation: 51-37=14
Exploring Operation: 9+37=46, Resulting Numbers: [51, 46]
Generated Node #0,1,1: 51:[51, 46] Operation: 9+37=46
Exploring Operation: 37-9=28, Resulting Numbers: [51, 28]
Generated Node #0,1,2: 51:[51, 28] Operation: 37-9=28
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 51:[51, 46], Operations: ['74-37=37', '9+37=46']
Exploring Operation: 51*46=2346, Resulting Numbers: [2346]
2346,51 unequal: No Solution
Exploring Operation: 51-46=5, Resulting Numbers: [5]
5,51 unequal: No Solution
Exploring Operation: 51+46=97, Resulting Numbers: [97]
97,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 51:[9, 14], Operations: ['74-37=37', '51-37=14']
Exploring Operation: 9*14=126, Resulting Numbers: [126]
126,51 unequal: No Solution
Exploring Operation: 9+14=23, Resulting Numbers: [23]
23,51 unequal: No Solution
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 51:[51, 28], Operations: ['74-37=37', '37-9=28']
Exploring Operation: 51+28=79, Resulting Numbers: [79]
79,51 unequal: No Solution
Exploring Operation: 51-28=23, Resulting Numbers: [23]
23,51 unequal: No Solution
Exploring Operation: 51*28=1428, Resulting Numbers: [1428]
1428,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 51:[9, 37, 23], Operations: ['74-51=23']
Exploring Operation: 9+37=46, Resulting Numbers: [23, 46]
Generated Node #0,2,0: 51:[23, 46] Operation: 9+37=46
Exploring Operation: 37-23=14, Resulting Numbers: [9, 14]
Generated Node #0,2,1: 51:[9, 14] Operation: 37-23=14
Exploring Operation: 37+23=60, Resulting Numbers: [9, 60]
Generated Node #0,2,2: 51:[9, 60] Operation: 37+23=60
Moving to Node #0,0,0
Current State: 51:[51, 18], Operations: ['74/37=2', '9*2=18']
Exploring Operation: 51+18=69, Resulting Numbers: [69]
69,51 unequal: No Solution
Exploring Operation: 51*18=918, Resulting Numbers: [918]
918,51 unequal: No Solution
Exploring Operation: 51-18=33, Resulting Numbers: [33]
33,51 unequal: No Solution
Moving to Node #0,0,1
Current State: 51:[51, 7], Operations: ['74/37=2', '9-2=7']
Exploring Operation: 51-7=44, Resulting Numbers: [44]
44,51 unequal: No Solution
Exploring Operation: 51*7=357, Resulting Numbers: [357]
357,51 unequal: No Solution
Exploring Operation: 51+7=58, Resulting Numbers: [58]
58,51 unequal: No Solution
Moving to Node #0,0,2
Current State: 51:[51, 11], Operations: ['74/37=2', '9+2=11']
Exploring Operation: 51*11=561, Resulting Numbers: [561]
561,51 unequal: No Solution
Exploring Operation: 51+11=62, Resulting Numbers: [62]
62,51 unequal: No Solution
Exploring Operation: 51-11=40, Resulting Numbers: [40]
40,51 unequal: No Solution
Moving to Node #0,2,1
Current State: 51:[9, 14], Operations: ['74-51=23', '37-23=14']
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,51 unequal: No Solution
Exploring Operation: 9+14=23, Resulting Numbers: [23]
23,51 unequal: No Solution
Exploring Operation: 9*14=126, Resulting Numbers: [126]
126,51 unequal: No Solution
Moving to Node #0,2,0
Current State: 51:[23, 46], Operations: ['74-51=23', '9+37=46']
Exploring Operation: 46/23=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Exploring Operation: 23+46=69, Resulting Numbers: [69]
69,51 unequal: No Solution
Exploring Operation: 46-23=23, Resulting Numbers: [23]
23,51 unequal: No Solution
Moving to Node #0,2,2
Current State: 51:[9, 60], Operations: ['74-51=23', '37+23=60']
Exploring Operation: 9+60=69, Resulting Numbers: [69]
69,51 unequal: No Solution
Exploring Operation: 60-9=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[9, 74, 51, 37], Operations: []
Exploring Operation: 74-51=23, Resulting Numbers: [9, 37, 23]
Generated Node #0,2: 51:[9, 37, 23] Operation: 74-51=23
Moving to Node #0,2
Current State: 51:[9, 37, 23], Operations: ['74-51=23']
Exploring Operation: 37+23=60, Resulting Numbers: [9, 60]
Generated Node #0,2,2: 51:[9, 60] Operation: 37+23=60
Moving to Node #0,2,2
Current State: 51:[9, 60], Operations: ['74-51=23', '37+23=60']
Exploring Operation: 60-9=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 0.963542 | hs_3 | sum_heuristic |
[
59,
54,
26,
41
] | 78 | [
"59-41=18",
"54*26=1404",
"1404/18=78"
] | Current State: 78:[59, 54, 26, 41], Operations: []
Exploring Operation: 59-41=18, Resulting Numbers: [54, 26, 18]
Generated Node #2: [54, 26, 18] from Operation: 59-41=18
Current State: 78:[54, 26, 18], Operations: ['59-41=18']
Exploring Operation: 54*26=1404, Resulting Numbers: [18, 1404]
Generated Node #3: [18, 1404] from Operation: 54*26=1404
Current State: 78:[18, 1404], Operations: ['59-41=18', '54*26=1404']
Exploring Operation: 1404/18=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[59, 54, 26, 41], Operations: []
Exploring Operation: 54-41=13, Resulting Numbers: [59, 26, 13]
Generated Node #0,0: 78:[59, 26, 13] Operation: 54-41=13
Exploring Operation: 59-54=5, Resulting Numbers: [26, 41, 5]
Generated Node #0,1: 78:[26, 41, 5] Operation: 59-54=5
Exploring Operation: 59-41=18, Resulting Numbers: [54, 26, 18]
Generated Node #0,2: 78:[54, 26, 18] Operation: 59-41=18
Moving to Node #0,1
Current State: 78:[26, 41, 5], Operations: ['59-54=5']
Exploring Operation: 41-5=36, Resulting Numbers: [26, 36]
Generated Node #0,1,0: 78:[26, 36] Operation: 41-5=36
Exploring Operation: 41-26=15, Resulting Numbers: [5, 15]
Generated Node #0,1,1: 78:[5, 15] Operation: 41-26=15
Exploring Operation: 26+5=31, Resulting Numbers: [41, 31]
Generated Node #0,1,2: 78:[41, 31] Operation: 26+5=31
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 78:[26, 36], Operations: ['59-54=5', '41-5=36']
Exploring Operation: 36-26=10, Resulting Numbers: [10]
10,78 unequal: No Solution
Exploring Operation: 26+36=62, Resulting Numbers: [62]
62,78 unequal: No Solution
Exploring Operation: 26*36=936, Resulting Numbers: [936]
936,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 78:[5, 15], Operations: ['59-54=5', '41-26=15']
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,78 unequal: No Solution
Exploring Operation: 5*15=75, Resulting Numbers: [75]
75,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 78:[41, 31], Operations: ['59-54=5', '26+5=31']
Exploring Operation: 41+31=72, Resulting Numbers: [72]
72,78 unequal: No Solution
Exploring Operation: 41*31=1271, Resulting Numbers: [1271]
1271,78 unequal: No Solution
Exploring Operation: 41-31=10, Resulting Numbers: [10]
10,78 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: 78:[59, 26, 13], Operations: ['54-41=13']
Exploring Operation: 59+26=85, Resulting Numbers: [13, 85]
Generated Node #0,0,0: 78:[13, 85] Operation: 59+26=85
Exploring Operation: 59+13=72, Resulting Numbers: [26, 72]
Generated Node #0,0,1: 78:[26, 72] Operation: 59+13=72
Exploring Operation: 59-26=33, Resulting Numbers: [13, 33]
Generated Node #0,0,2: 78:[13, 33] Operation: 59-26=33
Moving to Node #0,2
Current State: 78:[54, 26, 18], Operations: ['59-41=18']
Exploring Operation: 54+18=72, Resulting Numbers: [26, 72]
Generated Node #0,2,0: 78:[26, 72] Operation: 54+18=72
Exploring Operation: 54-18=36, Resulting Numbers: [26, 36]
Generated Node #0,2,1: 78:[26, 36] Operation: 54-18=36
Exploring Operation: 54/18=3, Resulting Numbers: [26, 3]
Generated Node #0,2,2: 78:[26, 3] Operation: 54/18=3
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 78:[26, 3], Operations: ['59-41=18', '54/18=3']
Exploring Operation: 26*3=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[59, 54, 26, 41], Operations: []
Exploring Operation: 59-41=18, Resulting Numbers: [54, 26, 18]
Generated Node #0,2: 78:[54, 26, 18] Operation: 59-41=18
Moving to Node #0,2
Current State: 78:[54, 26, 18], Operations: ['59-41=18']
Exploring Operation: 54/18=3, Resulting Numbers: [26, 3]
Generated Node #0,2,2: 78:[26, 3] Operation: 54/18=3
Moving to Node #0,2,2
Current State: 78:[26, 3], Operations: ['59-41=18', '54/18=3']
Exploring Operation: 26*3=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_3 | mult_heuristic |
[
24,
79,
96,
5
] | 61 | [
"96-79=17",
"5*17=85",
"85-24=61"
] | Current State: 61:[24, 79, 96, 5], Operations: []
Exploring Operation: 96-79=17, Resulting Numbers: [24, 5, 17]
Generated Node #2: [24, 5, 17] from Operation: 96-79=17
Current State: 61:[24, 5, 17], Operations: ['96-79=17']
Exploring Operation: 5*17=85, Resulting Numbers: [24, 85]
Generated Node #3: [24, 85] from Operation: 5*17=85
Current State: 61:[24, 85], Operations: ['96-79=17', '5*17=85']
Exploring Operation: 85-24=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[24, 79, 96, 5], Operations: []
Exploring Operation: 96-24=72, Resulting Numbers: [79, 5, 72]
Generated Node #0,0: 61:[79, 5, 72] Operation: 96-24=72
Exploring Operation: 24+5=29, Resulting Numbers: [79, 96, 29]
Generated Node #0,1: 61:[79, 96, 29] Operation: 24+5=29
Exploring Operation: 79-5=74, Resulting Numbers: [24, 96, 74]
Generated Node #0,2: 61:[24, 96, 74] Operation: 79-5=74
Exploring Operation: 96-5=91, Resulting Numbers: [24, 79, 91]
Generated Node #0,3: 61:[24, 79, 91] Operation: 96-5=91
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[79, 5, 72], Operations: ['96-24=72']
Exploring Operation: 72-5=67, Resulting Numbers: [79, 67]
Generated Node #0,0,0: 61:[79, 67] Operation: 72-5=67
Exploring Operation: 79-5=74, Resulting Numbers: [72, 74]
Generated Node #0,0,1: 61:[72, 74] Operation: 79-5=74
Exploring Operation: 5+72=77, Resulting Numbers: [79, 77]
Generated Node #0,0,2: 61:[79, 77] Operation: 5+72=77
Exploring Operation: 79+5=84, Resulting Numbers: [72, 84]
Generated Node #0,0,3: 61:[72, 84] Operation: 79+5=84
Moving to Node #0,0,0
Current State: 61:[79, 67], Operations: ['96-24=72', '72-5=67']
Exploring Operation: 79+67=146, Resulting Numbers: [146]
146,61 unequal: No Solution
Exploring Operation: 79-67=12, Resulting Numbers: [12]
12,61 unequal: No Solution
Exploring Operation: 79*67=5293, Resulting Numbers: [5293]
5293,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[72, 74], Operations: ['96-24=72', '79-5=74']
Exploring Operation: 72+74=146, Resulting Numbers: [146]
146,61 unequal: No Solution
Exploring Operation: 72*74=5328, Resulting Numbers: [5328]
5328,61 unequal: No Solution
Exploring Operation: 74-72=2, Resulting Numbers: [2]
2,61 unequal: No Solution
Moving to Node #0,0,3
Current State: 61:[72, 84], Operations: ['96-24=72', '79+5=84']
Exploring Operation: 72+84=156, Resulting Numbers: [156]
156,61 unequal: No Solution
Exploring Operation: 84-72=12, Resulting Numbers: [12]
12,61 unequal: No Solution
Exploring Operation: 72*84=6048, Resulting Numbers: [6048]
6048,61 unequal: No Solution
Moving to Node #0,0,2
Current State: 61:[79, 77], Operations: ['96-24=72', '5+72=77']
Exploring Operation: 79+77=156, Resulting Numbers: [156]
156,61 unequal: No Solution
Exploring Operation: 79-77=2, Resulting Numbers: [2]
2,61 unequal: No Solution
Exploring Operation: 79*77=6083, Resulting Numbers: [6083]
6083,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[79, 96, 29], Operations: ['24+5=29']
Exploring Operation: 96-29=67, Resulting Numbers: [79, 67]
Generated Node #0,1,0: 61:[79, 67] Operation: 96-29=67
Exploring Operation: 96-79=17, Resulting Numbers: [29, 17]
Generated Node #0,1,1: 61:[29, 17] Operation: 96-79=17
Exploring Operation: 79-29=50, Resulting Numbers: [96, 50]
Generated Node #0,1,2: 61:[96, 50] Operation: 79-29=50
Exploring Operation: 79+29=108, Resulting Numbers: [96, 108]
Generated Node #0,1,3: 61:[96, 108] Operation: 79+29=108
Moving to Node #0,1,0
Current State: 61:[79, 67], Operations: ['24+5=29', '96-29=67']
Exploring Operation: 79-67=12, Resulting Numbers: [12]
12,61 unequal: No Solution
Exploring Operation: 79*67=5293, Resulting Numbers: [5293]
5293,61 unequal: No Solution
Exploring Operation: 79+67=146, Resulting Numbers: [146]
146,61 unequal: No Solution
Moving to Node #0,1,2
Current State: 61:[96, 50], Operations: ['24+5=29', '79-29=50']
Exploring Operation: 96*50=4800, Resulting Numbers: [4800]
4800,61 unequal: No Solution
Exploring Operation: 96+50=146, Resulting Numbers: [146]
146,61 unequal: No Solution
Exploring Operation: 96-50=46, Resulting Numbers: [46]
46,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[29, 17], Operations: ['24+5=29', '96-79=17']
Exploring Operation: 29+17=46, Resulting Numbers: [46]
46,61 unequal: No Solution
Exploring Operation: 29*17=493, Resulting Numbers: [493]
493,61 unequal: No Solution
Exploring Operation: 29-17=12, Resulting Numbers: [12]
12,61 unequal: No Solution
Moving to Node #0,1,3
Current State: 61:[96, 108], Operations: ['24+5=29', '79+29=108']
Exploring Operation: 96*108=10368, Resulting Numbers: [10368]
10368,61 unequal: No Solution
Exploring Operation: 96+108=204, Resulting Numbers: [204]
204,61 unequal: No Solution
Exploring Operation: 108-96=12, Resulting Numbers: [12]
12,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 61:[24, 96, 74], Operations: ['79-5=74']
Exploring Operation: 96/24=4, Resulting Numbers: [74, 4]
Generated Node #0,2,0: 61:[74, 4] Operation: 96/24=4
Exploring Operation: 24+96=120, Resulting Numbers: [74, 120]
Generated Node #0,2,1: 61:[74, 120] Operation: 24+96=120
Exploring Operation: 96-24=72, Resulting Numbers: [74, 72]
Generated Node #0,2,2: 61:[74, 72] Operation: 96-24=72
Exploring Operation: 74-24=50, Resulting Numbers: [96, 50]
Generated Node #0,2,3: 61:[96, 50] Operation: 74-24=50
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 61:[74, 72], Operations: ['79-5=74', '96-24=72']
Exploring Operation: 74*72=5328, Resulting Numbers: [5328]
5328,61 unequal: No Solution
Exploring Operation: 74-72=2, Resulting Numbers: [2]
2,61 unequal: No Solution
Exploring Operation: 74+72=146, Resulting Numbers: [146]
146,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 61:[96, 50], Operations: ['79-5=74', '74-24=50']
Exploring Operation: 96-50=46, Resulting Numbers: [46]
46,61 unequal: No Solution
Exploring Operation: 96*50=4800, Resulting Numbers: [4800]
4800,61 unequal: No Solution
Exploring Operation: 96+50=146, Resulting Numbers: [146]
146,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 61:[74, 4], Operations: ['79-5=74', '96/24=4']
Exploring Operation: 74*4=296, Resulting Numbers: [296]
296,61 unequal: No Solution
Exploring Operation: 74+4=78, Resulting Numbers: [78]
78,61 unequal: No Solution
Exploring Operation: 74-4=70, Resulting Numbers: [70]
70,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 61:[74, 120], Operations: ['79-5=74', '24+96=120']
Exploring Operation: 74*120=8880, Resulting Numbers: [8880]
8880,61 unequal: No Solution
Exploring Operation: 120-74=46, Resulting Numbers: [46]
46,61 unequal: No Solution
Exploring Operation: 74+120=194, Resulting Numbers: [194]
194,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 61:[24, 79, 91], Operations: ['96-5=91']
Exploring Operation: 91-24=67, Resulting Numbers: [79, 67]
Generated Node #0,3,0: 61:[79, 67] Operation: 91-24=67
Exploring Operation: 24+91=115, Resulting Numbers: [79, 115]
Generated Node #0,3,1: 61:[79, 115] Operation: 24+91=115
Exploring Operation: 79-24=55, Resulting Numbers: [91, 55]
Generated Node #0,3,2: 61:[91, 55] Operation: 79-24=55
Exploring Operation: 24+79=103, Resulting Numbers: [91, 103]
Generated Node #0,3,3: 61:[91, 103] Operation: 24+79=103
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 61:[79, 67], Operations: ['96-5=91', '91-24=67']
Exploring Operation: 79-67=12, Resulting Numbers: [12]
12,61 unequal: No Solution
Exploring Operation: 79*67=5293, Resulting Numbers: [5293]
5293,61 unequal: No Solution
Exploring Operation: 79+67=146, Resulting Numbers: [146]
146,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 61:[91, 55], Operations: ['96-5=91', '79-24=55']
Exploring Operation: 91+55=146, Resulting Numbers: [146]
146,61 unequal: No Solution
Exploring Operation: 91-55=36, Resulting Numbers: [36]
36,61 unequal: No Solution
Exploring Operation: 91*55=5005, Resulting Numbers: [5005]
5005,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 61:[79, 115], Operations: ['96-5=91', '24+91=115']
Exploring Operation: 79*115=9085, Resulting Numbers: [9085]
9085,61 unequal: No Solution
Exploring Operation: 79+115=194, Resulting Numbers: [194]
194,61 unequal: No Solution
Exploring Operation: 115-79=36, Resulting Numbers: [36]
36,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 61:[91, 103], Operations: ['96-5=91', '24+79=103']
Exploring Operation: 103-91=12, Resulting Numbers: [12]
12,61 unequal: No Solution
Exploring Operation: 91+103=194, Resulting Numbers: [194]
194,61 unequal: No Solution
Exploring Operation: 91*103=9373, Resulting Numbers: [9373]
9373,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
45,
40,
81,
96
] | 24 | [
"45+40=85",
"85-81=4",
"96/4=24"
] | Current State: 24:[45, 40, 81, 96], Operations: []
Exploring Operation: 45+40=85, Resulting Numbers: [81, 96, 85]
Generated Node #2: [81, 96, 85] from Operation: 45+40=85
Current State: 24:[81, 96, 85], Operations: ['45+40=85']
Exploring Operation: 85-81=4, Resulting Numbers: [96, 4]
Generated Node #3: [96, 4] from Operation: 85-81=4
Current State: 24:[96, 4], Operations: ['45+40=85', '85-81=4']
Exploring Operation: 96/4=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[45, 40, 81, 96], Operations: []
Exploring Operation: 81-45=36, Resulting Numbers: [40, 96, 36]
Generated Node #0,0: 24:[40, 96, 36] Operation: 81-45=36
Exploring Operation: 96-45=51, Resulting Numbers: [40, 81, 51]
Generated Node #0,1: 24:[40, 81, 51] Operation: 96-45=51
Exploring Operation: 81-40=41, Resulting Numbers: [45, 96, 41]
Generated Node #0,2: 24:[45, 96, 41] Operation: 81-40=41
Exploring Operation: 96-81=15, Resulting Numbers: [45, 40, 15]
Generated Node #0,3: 24:[45, 40, 15] Operation: 96-81=15
Exploring Operation: 96-40=56, Resulting Numbers: [45, 81, 56]
Generated Node #0,4: 24:[45, 81, 56] Operation: 96-40=56
Moving to Node #0,3
Current State: 24:[45, 40, 15], Operations: ['96-81=15']
Exploring Operation: 45-15=30, Resulting Numbers: [40, 30]
Generated Node #0,3,0: 24:[40, 30] Operation: 45-15=30
Exploring Operation: 40-15=25, Resulting Numbers: [45, 25]
Generated Node #0,3,1: 24:[45, 25] Operation: 40-15=25
Exploring Operation: 45-40=5, Resulting Numbers: [15, 5]
Generated Node #0,3,2: 24:[15, 5] Operation: 45-40=5
Exploring Operation: 45/15=3, Resulting Numbers: [40, 3]
Generated Node #0,3,3: 24:[40, 3] Operation: 45/15=3
Exploring Operation: 45+15=60, Resulting Numbers: [40, 60]
Generated Node #0,3,4: 24:[40, 60] Operation: 45+15=60
Moving to Node #0,1
Current State: 24:[40, 81, 51], Operations: ['96-45=51']
Exploring Operation: 81-40=41, Resulting Numbers: [51, 41]
Generated Node #0,1,0: 24:[51, 41] Operation: 81-40=41
Exploring Operation: 81-51=30, Resulting Numbers: [40, 30]
Generated Node #0,1,1: 24:[40, 30] Operation: 81-51=30
Exploring Operation: 51-40=11, Resulting Numbers: [81, 11]
Generated Node #0,1,2: 24:[81, 11] Operation: 51-40=11
Exploring Operation: 40+51=91, Resulting Numbers: [81, 91]
Generated Node #0,1,3: 24:[81, 91] Operation: 40+51=91
Exploring Operation: 40+81=121, Resulting Numbers: [51, 121]
Generated Node #0,1,4: 24:[51, 121] Operation: 40+81=121
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 24:[40, 30], Operations: ['96-45=51', '81-51=30']
Exploring Operation: 40-30=10, Resulting Numbers: [10]
10,24 unequal: No Solution
Exploring Operation: 40+30=70, Resulting Numbers: [70]
70,24 unequal: No Solution
Exploring Operation: 40*30=1200, Resulting Numbers: [1200]
1200,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,1,0
Current State: 24:[51, 41], Operations: ['96-45=51', '81-40=41']
Exploring Operation: 51*41=2091, Resulting Numbers: [2091]
2091,24 unequal: No Solution
Exploring Operation: 51-41=10, Resulting Numbers: [10]
10,24 unequal: No Solution
Exploring Operation: 51+41=92, Resulting Numbers: [92]
92,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,1,2
Current State: 24:[81, 11], Operations: ['96-45=51', '51-40=11']
Exploring Operation: 81-11=70, Resulting Numbers: [70]
70,24 unequal: No Solution
Exploring Operation: 81*11=891, Resulting Numbers: [891]
891,24 unequal: No Solution
Exploring Operation: 81+11=92, Resulting Numbers: [92]
92,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,1,3
Current State: 24:[81, 91], Operations: ['96-45=51', '40+51=91']
Exploring Operation: 81+91=172, Resulting Numbers: [172]
172,24 unequal: No Solution
Exploring Operation: 91-81=10, Resulting Numbers: [10]
10,24 unequal: No Solution
Exploring Operation: 81*91=7371, Resulting Numbers: [7371]
7371,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,1,4
Current State: 24:[51, 121], Operations: ['96-45=51', '40+81=121']
Exploring Operation: 121-51=70, Resulting Numbers: [70]
70,24 unequal: No Solution
Exploring Operation: 51+121=172, Resulting Numbers: [172]
172,24 unequal: No Solution
Exploring Operation: 51*121=6171, Resulting Numbers: [6171]
6171,24 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: 24:[40, 96, 36], Operations: ['81-45=36']
Exploring Operation: 96-40=56, Resulting Numbers: [36, 56]
Generated Node #0,0,0: 24:[36, 56] Operation: 96-40=56
Exploring Operation: 40+96=136, Resulting Numbers: [36, 136]
Generated Node #0,0,1: 24:[36, 136] Operation: 40+96=136
Exploring Operation: 40-36=4, Resulting Numbers: [96, 4]
Generated Node #0,0,2: 24:[96, 4] Operation: 40-36=4
Exploring Operation: 96-36=60, Resulting Numbers: [40, 60]
Generated Node #0,0,3: 24:[40, 60] Operation: 96-36=60
Exploring Operation: 40+36=76, Resulting Numbers: [96, 76]
Generated Node #0,0,4: 24:[96, 76] Operation: 40+36=76
Moving to Node #0,2
Current State: 24:[45, 96, 41], Operations: ['81-40=41']
Exploring Operation: 45-41=4, Resulting Numbers: [96, 4]
Generated Node #0,2,0: 24:[96, 4] Operation: 45-41=4
Exploring Operation: 96-41=55, Resulting Numbers: [45, 55]
Generated Node #0,2,1: 24:[45, 55] Operation: 96-41=55
Exploring Operation: 45+41=86, Resulting Numbers: [96, 86]
Generated Node #0,2,2: 24:[96, 86] Operation: 45+41=86
Exploring Operation: 96-45=51, Resulting Numbers: [41, 51]
Generated Node #0,2,3: 24:[41, 51] Operation: 96-45=51
Exploring Operation: 45+96=141, Resulting Numbers: [41, 141]
Generated Node #0,2,4: 24:[41, 141] Operation: 45+96=141
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 24:[41, 51], Operations: ['81-40=41', '96-45=51']
Exploring Operation: 41*51=2091, Resulting Numbers: [2091]
2091,24 unequal: No Solution
Exploring Operation: 51-41=10, Resulting Numbers: [10]
10,24 unequal: No Solution
Exploring Operation: 41+51=92, Resulting Numbers: [92]
92,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,2,1
Current State: 24:[45, 55], Operations: ['81-40=41', '96-41=55']
Exploring Operation: 45+55=100, Resulting Numbers: [100]
100,24 unequal: No Solution
Exploring Operation: 45*55=2475, Resulting Numbers: [2475]
2475,24 unequal: No Solution
Exploring Operation: 55-45=10, Resulting Numbers: [10]
10,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,2,0
Current State: 24:[96, 4], Operations: ['81-40=41', '45-41=4']
Exploring Operation: 96*4=384, Resulting Numbers: [384]
384,24 unequal: No Solution
Exploring Operation: 96-4=92, Resulting Numbers: [92]
92,24 unequal: No Solution
Exploring Operation: 96/4=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[45, 40, 81, 96], Operations: []
Exploring Operation: 81-40=41, Resulting Numbers: [45, 96, 41]
Generated Node #0,2: 24:[45, 96, 41] Operation: 81-40=41
Moving to Node #0,2
Current State: 24:[45, 96, 41], Operations: ['81-40=41']
Exploring Operation: 45-41=4, Resulting Numbers: [96, 4]
Generated Node #0,2,0: 24:[96, 4] Operation: 45-41=4
Moving to Node #0,2,0
Current State: 24:[96, 4], Operations: ['81-40=41', '45-41=4']
Exploring Operation: 96/4=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.953993 | hs_5 | sum_heuristic |
[
2,
7,
10,
42
] | 22 | [
"2*42=84",
"84/7=12",
"10+12=22"
] | Current State: 22:[2, 7, 10, 42], Operations: []
Exploring Operation: 2*42=84, Resulting Numbers: [7, 10, 84]
Generated Node #2: [7, 10, 84] from Operation: 2*42=84
Current State: 22:[7, 10, 84], Operations: ['2*42=84']
Exploring Operation: 84/7=12, Resulting Numbers: [10, 12]
Generated Node #3: [10, 12] from Operation: 84/7=12
Current State: 22:[10, 12], Operations: ['2*42=84', '84/7=12']
Exploring Operation: 10+12=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[2, 7, 10, 42], Operations: []
Exploring Operation: 42/7=6, Resulting Numbers: [2, 10, 6]
Generated Node #0,0: 22:[2, 10, 6] Operation: 42/7=6
Exploring Operation: 42-7=35, Resulting Numbers: [2, 10, 35]
Generated Node #0,1: 22:[2, 10, 35] Operation: 42-7=35
Exploring Operation: 42-10=32, Resulting Numbers: [2, 7, 32]
Generated Node #0,2: 22:[2, 7, 32] Operation: 42-10=32
Exploring Operation: 42/2=21, Resulting Numbers: [7, 10, 21]
Generated Node #0,3: 22:[7, 10, 21] Operation: 42/2=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[2, 10, 6], Operations: ['42/7=6']
Exploring Operation: 2*6=12, Resulting Numbers: [10, 12]
Generated Node #0,0,0: 22:[10, 12] Operation: 2*6=12
Exploring Operation: 10-6=4, Resulting Numbers: [2, 4]
Generated Node #0,0,1: 22:[2, 4] Operation: 10-6=4
Exploring Operation: 6/2=3, Resulting Numbers: [10, 3]
Generated Node #0,0,2: 22:[10, 3] Operation: 6/2=3
Exploring Operation: 6-2=4, Resulting Numbers: [10, 4]
Generated Node #0,0,3: 22:[10, 4] Operation: 6-2=4
Moving to Node #0,0,0
Current State: 22:[10, 12], Operations: ['42/7=6', '2*6=12']
Exploring Operation: 10*12=120, Resulting Numbers: [120]
120,22 unequal: No Solution
Exploring Operation: 10+12=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[2, 7, 10, 42], Operations: []
Exploring Operation: 42/7=6, Resulting Numbers: [2, 10, 6]
Generated Node #0,0: 22:[2, 10, 6] Operation: 42/7=6
Moving to Node #0,0
Current State: 22:[2, 10, 6], Operations: ['42/7=6']
Exploring Operation: 2*6=12, Resulting Numbers: [10, 12]
Generated Node #0,0,0: 22:[10, 12] Operation: 2*6=12
Moving to Node #0,0,0
Current State: 22:[10, 12], Operations: ['42/7=6', '2*6=12']
Exploring Operation: 10+12=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
32,
34,
9,
13
] | 31 | [
"34-32=2",
"9*2=18",
"13+18=31"
] | Current State: 31:[32, 34, 9, 13], Operations: []
Exploring Operation: 34-32=2, Resulting Numbers: [9, 13, 2]
Generated Node #2: [9, 13, 2] from Operation: 34-32=2
Current State: 31:[9, 13, 2], Operations: ['34-32=2']
Exploring Operation: 9*2=18, Resulting Numbers: [13, 18]
Generated Node #3: [13, 18] from Operation: 9*2=18
Current State: 31:[13, 18], Operations: ['34-32=2', '9*2=18']
Exploring Operation: 13+18=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[32, 34, 9, 13], Operations: []
Exploring Operation: 9+13=22, Resulting Numbers: [32, 34, 22]
Generated Node #0,0: 31:[32, 34, 22] Operation: 9+13=22
Exploring Operation: 34-9=25, Resulting Numbers: [32, 13, 25]
Generated Node #0,1: 31:[32, 13, 25] Operation: 34-9=25
Moving to Node #0,0
Current State: 31:[32, 34, 22], Operations: ['9+13=22']
Exploring Operation: 32-22=10, Resulting Numbers: [34, 10]
Generated Node #0,0,0: 31:[34, 10] Operation: 32-22=10
Exploring Operation: 34-22=12, Resulting Numbers: [32, 12]
Generated Node #0,0,1: 31:[32, 12] Operation: 34-22=12
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 31:[32, 12], Operations: ['9+13=22', '34-22=12']
Exploring Operation: 32+12=44, Resulting Numbers: [44]
44,31 unequal: No Solution
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,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,0,0
Current State: 31:[34, 10], Operations: ['9+13=22', '32-22=10']
Exploring Operation: 34+10=44, Resulting Numbers: [44]
44,31 unequal: No Solution
Exploring Operation: 34-10=24, Resulting Numbers: [24]
24,31 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: 31:[32, 13, 25], Operations: ['34-9=25']
Exploring Operation: 13+25=38, Resulting Numbers: [32, 38]
Generated Node #0,1,0: 31:[32, 38] Operation: 13+25=38
Exploring Operation: 32-13=19, Resulting Numbers: [25, 19]
Generated Node #0,1,1: 31:[25, 19] Operation: 32-13=19
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 31:[32, 38], Operations: ['34-9=25', '13+25=38']
Exploring Operation: 32+38=70, Resulting Numbers: [70]
70,31 unequal: No Solution
Exploring Operation: 38-32=6, Resulting Numbers: [6]
6,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,1,1
Current State: 31:[25, 19], Operations: ['34-9=25', '32-13=19']
Exploring Operation: 25+19=44, Resulting Numbers: [44]
44,31 unequal: No Solution
Exploring Operation: 25-19=6, Resulting Numbers: [6]
6,31 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 |
[
77,
6,
18,
60
] | 49 | [
"77-18=59",
"60/6=10",
"59-10=49"
] | Current State: 49:[77, 6, 18, 60], Operations: []
Exploring Operation: 77-18=59, Resulting Numbers: [6, 60, 59]
Generated Node #2: [6, 60, 59] from Operation: 77-18=59
Current State: 49:[6, 60, 59], Operations: ['77-18=59']
Exploring Operation: 60/6=10, Resulting Numbers: [59, 10]
Generated Node #3: [59, 10] from Operation: 60/6=10
Current State: 49:[59, 10], Operations: ['77-18=59', '60/6=10']
Exploring Operation: 59-10=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[77, 6, 18, 60], Operations: []
Exploring Operation: 18/6=3, Resulting Numbers: [77, 60, 3]
Generated Node #0,0: 49:[77, 60, 3] Operation: 18/6=3
Exploring Operation: 60-18=42, Resulting Numbers: [77, 6, 42]
Generated Node #0,1: 49:[77, 6, 42] Operation: 60-18=42
Exploring Operation: 60/6=10, Resulting Numbers: [77, 18, 10]
Generated Node #0,2: 49:[77, 18, 10] Operation: 60/6=10
Exploring Operation: 77-18=59, Resulting Numbers: [6, 60, 59]
Generated Node #0,3: 49:[6, 60, 59] Operation: 77-18=59
Exploring Operation: 77-60=17, Resulting Numbers: [6, 18, 17]
Generated Node #0,4: 49:[6, 18, 17] Operation: 77-60=17
Moving to Node #0,3
Current State: 49:[6, 60, 59], Operations: ['77-18=59']
Exploring Operation: 59-6=53, Resulting Numbers: [60, 53]
Generated Node #0,3,0: 49:[60, 53] Operation: 59-6=53
Exploring Operation: 60-6=54, Resulting Numbers: [59, 54]
Generated Node #0,3,1: 49:[59, 54] Operation: 60-6=54
Exploring Operation: 6+60=66, Resulting Numbers: [59, 66]
Generated Node #0,3,2: 49:[59, 66] Operation: 6+60=66
Exploring Operation: 60-59=1, Resulting Numbers: [6, 1]
Generated Node #0,3,3: 49:[6, 1] Operation: 60-59=1
Exploring Operation: 60/6=10, Resulting Numbers: [59, 10]
Generated Node #0,3,4: 49:[59, 10] Operation: 60/6=10
Moving to Node #0,4
Current State: 49:[6, 18, 17], Operations: ['77-60=17']
Exploring Operation: 17-6=11, Resulting Numbers: [18, 11]
Generated Node #0,4,0: 49:[18, 11] Operation: 17-6=11
Exploring Operation: 18+17=35, Resulting Numbers: [6, 35]
Generated Node #0,4,1: 49:[6, 35] Operation: 18+17=35
Exploring Operation: 18/6=3, Resulting Numbers: [17, 3]
Generated Node #0,4,2: 49:[17, 3] Operation: 18/6=3
Exploring Operation: 18-17=1, Resulting Numbers: [6, 1]
Generated Node #0,4,3: 49:[6, 1] Operation: 18-17=1
Exploring Operation: 18-6=12, Resulting Numbers: [17, 12]
Generated Node #0,4,4: 49:[17, 12] Operation: 18-6=12
Moving to Node #0,1
Current State: 49:[77, 6, 42], Operations: ['60-18=42']
Exploring Operation: 77+6=83, Resulting Numbers: [42, 83]
Generated Node #0,1,0: 49:[42, 83] Operation: 77+6=83
Exploring Operation: 77-42=35, Resulting Numbers: [6, 35]
Generated Node #0,1,1: 49:[6, 35] Operation: 77-42=35
Exploring Operation: 6+42=48, Resulting Numbers: [77, 48]
Generated Node #0,1,2: 49:[77, 48] Operation: 6+42=48
Exploring Operation: 77-6=71, Resulting Numbers: [42, 71]
Generated Node #0,1,3: 49:[42, 71] Operation: 77-6=71
Exploring Operation: 42/6=7, Resulting Numbers: [77, 7]
Generated Node #0,1,4: 49:[77, 7] Operation: 42/6=7
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 49:[6, 35], Operations: ['60-18=42', '77-42=35']
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,49 unequal: No Solution
Exploring Operation: 6*35=210, Resulting Numbers: [210]
210,49 unequal: No Solution
Exploring Operation: 6+35=41, Resulting Numbers: [41]
41,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,4
Current State: 49:[77, 7], Operations: ['60-18=42', '42/6=7']
Exploring Operation: 77/7=11, Resulting Numbers: [11]
11,49 unequal: No Solution
Exploring Operation: 77-7=70, Resulting Numbers: [70]
70,49 unequal: No Solution
Exploring Operation: 77*7=539, Resulting Numbers: [539]
539,49 unequal: No Solution
Exploring Operation: 77+7=84, Resulting Numbers: [84]
84,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,2
Current State: 49:[77, 48], Operations: ['60-18=42', '6+42=48']
Exploring Operation: 77-48=29, Resulting Numbers: [29]
29,49 unequal: No Solution
Exploring Operation: 77+48=125, Resulting Numbers: [125]
125,49 unequal: No Solution
Exploring Operation: 77*48=3696, Resulting Numbers: [3696]
3696,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,3
Current State: 49:[42, 71], Operations: ['60-18=42', '77-6=71']
Exploring Operation: 42*71=2982, Resulting Numbers: [2982]
2982,49 unequal: No Solution
Exploring Operation: 42+71=113, Resulting Numbers: [113]
113,49 unequal: No Solution
Exploring Operation: 71-42=29, Resulting Numbers: [29]
29,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,0
Current State: 49:[42, 83], Operations: ['60-18=42', '77+6=83']
Exploring Operation: 42*83=3486, Resulting Numbers: [3486]
3486,49 unequal: No Solution
Exploring Operation: 83-42=41, Resulting Numbers: [41]
41,49 unequal: No Solution
Exploring Operation: 42+83=125, Resulting Numbers: [125]
125,49 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: 49:[77, 18, 10], Operations: ['60/6=10']
Exploring Operation: 18-10=8, Resulting Numbers: [77, 8]
Generated Node #0,2,0: 49:[77, 8] Operation: 18-10=8
Exploring Operation: 77+18=95, Resulting Numbers: [10, 95]
Generated Node #0,2,1: 49:[10, 95] Operation: 77+18=95
Exploring Operation: 77+10=87, Resulting Numbers: [18, 87]
Generated Node #0,2,2: 49:[18, 87] Operation: 77+10=87
Exploring Operation: 77-18=59, Resulting Numbers: [10, 59]
Generated Node #0,2,3: 49:[10, 59] Operation: 77-18=59
Exploring Operation: 77-10=67, Resulting Numbers: [18, 67]
Generated Node #0,2,4: 49:[18, 67] Operation: 77-10=67
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 49:[10, 59], Operations: ['60/6=10', '77-18=59']
Exploring Operation: 10*59=590, Resulting Numbers: [590]
590,49 unequal: No Solution
Exploring Operation: 59-10=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[77, 6, 18, 60], Operations: []
Exploring Operation: 60/6=10, Resulting Numbers: [77, 18, 10]
Generated Node #0,2: 49:[77, 18, 10] Operation: 60/6=10
Moving to Node #0,2
Current State: 49:[77, 18, 10], Operations: ['60/6=10']
Exploring Operation: 77-18=59, Resulting Numbers: [10, 59]
Generated Node #0,2,3: 49:[10, 59] Operation: 77-18=59
Moving to Node #0,2,3
Current State: 49:[10, 59], Operations: ['60/6=10', '77-18=59']
Exploring Operation: 59-10=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.959201 | hs_5 | mult_heuristic |
[
65,
33,
85,
25
] | 12 | [
"65+33=98",
"85+25=110",
"110-98=12"
] | Current State: 12:[65, 33, 85, 25], Operations: []
Exploring Operation: 65+33=98, Resulting Numbers: [85, 25, 98]
Generated Node #2: [85, 25, 98] from Operation: 65+33=98
Current State: 12:[85, 25, 98], Operations: ['65+33=98']
Exploring Operation: 85+25=110, Resulting Numbers: [98, 110]
Generated Node #3: [98, 110] from Operation: 85+25=110
Current State: 12:[98, 110], Operations: ['65+33=98', '85+25=110']
Exploring Operation: 110-98=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[65, 33, 85, 25], Operations: []
Exploring Operation: 85-25=60, Resulting Numbers: [65, 33, 60]
Generated Node #0,0: 12:[65, 33, 60] Operation: 85-25=60
Exploring Operation: 85-33=52, Resulting Numbers: [65, 25, 52]
Generated Node #0,1: 12:[65, 25, 52] Operation: 85-33=52
Exploring Operation: 85-65=20, Resulting Numbers: [33, 25, 20]
Generated Node #0,2: 12:[33, 25, 20] Operation: 85-65=20
Exploring Operation: 65-25=40, Resulting Numbers: [33, 85, 40]
Generated Node #0,3: 12:[33, 85, 40] Operation: 65-25=40
Exploring Operation: 65-33=32, Resulting Numbers: [85, 25, 32]
Generated Node #0,4: 12:[85, 25, 32] Operation: 65-33=32
Start Sub Search at level 1: Moving to Node #0,2
Current State: 12:[33, 25, 20], Operations: ['85-65=20']
Exploring Operation: 33-25=8, Resulting Numbers: [20, 8]
Generated Node #0,2,0: 12:[20, 8] Operation: 33-25=8
Exploring Operation: 25-20=5, Resulting Numbers: [33, 5]
Generated Node #0,2,1: 12:[33, 5] Operation: 25-20=5
Exploring Operation: 33-20=13, Resulting Numbers: [25, 13]
Generated Node #0,2,2: 12:[25, 13] Operation: 33-20=13
Exploring Operation: 33+20=53, Resulting Numbers: [25, 53]
Generated Node #0,2,3: 12:[25, 53] Operation: 33+20=53
Exploring Operation: 33+25=58, Resulting Numbers: [20, 58]
Generated Node #0,2,4: 12:[20, 58] Operation: 33+25=58
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 12:[20, 8], Operations: ['85-65=20', '33-25=8']
Exploring Operation: 20+8=28, Resulting Numbers: [28]
28,12 unequal: No Solution
Exploring Operation: 20*8=160, Resulting Numbers: [160]
160,12 unequal: No Solution
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[65, 33, 85, 25], Operations: []
Exploring Operation: 85-65=20, Resulting Numbers: [33, 25, 20]
Generated Node #0,2: 12:[33, 25, 20] Operation: 85-65=20
Moving to Node #0,2
Current State: 12:[33, 25, 20], Operations: ['85-65=20']
Exploring Operation: 33-25=8, Resulting Numbers: [20, 8]
Generated Node #0,2,0: 12:[20, 8] Operation: 33-25=8
Moving to Node #0,2,0
Current State: 12:[20, 8], Operations: ['85-65=20', '33-25=8']
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
1,
4,
8,
34
] | 47 | [
"1+4=5",
"8+34=42",
"5+42=47"
] | Current State: 47:[1, 4, 8, 34], Operations: []
Exploring Operation: 1+4=5, Resulting Numbers: [8, 34, 5]
Generated Node #2: [8, 34, 5] from Operation: 1+4=5
Current State: 47:[8, 34, 5], Operations: ['1+4=5']
Exploring Operation: 8+34=42, Resulting Numbers: [5, 42]
Generated Node #3: [5, 42] from Operation: 8+34=42
Current State: 47:[5, 42], Operations: ['1+4=5', '8+34=42']
Exploring Operation: 5+42=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[1, 4, 8, 34], Operations: []
Exploring Operation: 1+4=5, Resulting Numbers: [8, 34, 5]
Generated Node #0,0: 47:[8, 34, 5] Operation: 1+4=5
Exploring Operation: 4*8=32, Resulting Numbers: [1, 34, 32]
Generated Node #0,1: 47:[1, 34, 32] Operation: 4*8=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[1, 34, 32], Operations: ['4*8=32']
Exploring Operation: 1+34=35, Resulting Numbers: [32, 35]
Generated Node #0,1,0: 47:[32, 35] Operation: 1+34=35
Exploring Operation: 1+32=33, Resulting Numbers: [34, 33]
Generated Node #0,1,1: 47:[34, 33] Operation: 1+32=33
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 47:[32, 35], Operations: ['4*8=32', '1+34=35']
Exploring Operation: 32+35=67, Resulting Numbers: [67]
67,47 unequal: No Solution
Exploring Operation: 35-32=3, Resulting Numbers: [3]
3,47 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: 47:[34, 33], Operations: ['4*8=32', '1+32=33']
Exploring Operation: 34+33=67, Resulting Numbers: [67]
67,47 unequal: No Solution
Exploring Operation: 34-33=1, Resulting Numbers: [1]
1,47 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: 47:[8, 34, 5], Operations: ['1+4=5']
Exploring Operation: 8*5=40, Resulting Numbers: [34, 40]
Generated Node #0,0,0: 47:[34, 40] Operation: 8*5=40
Exploring Operation: 8+34=42, Resulting Numbers: [5, 42]
Generated Node #0,0,1: 47:[5, 42] Operation: 8+34=42
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[34, 40], Operations: ['1+4=5', '8*5=40']
Exploring Operation: 40-34=6, Resulting Numbers: [6]
6,47 unequal: No Solution
Exploring Operation: 34+40=74, Resulting Numbers: [74]
74,47 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: 47:[5, 42], Operations: ['1+4=5', '8+34=42']
Exploring Operation: 5+42=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[1, 4, 8, 34], Operations: []
Exploring Operation: 1+4=5, Resulting Numbers: [8, 34, 5]
Generated Node #0,0: 47:[8, 34, 5] Operation: 1+4=5
Moving to Node #0,0
Current State: 47:[8, 34, 5], Operations: ['1+4=5']
Exploring Operation: 8+34=42, Resulting Numbers: [5, 42]
Generated Node #0,0,1: 47:[5, 42] Operation: 8+34=42
Moving to Node #0,0,1
Current State: 47:[5, 42], Operations: ['1+4=5', '8+34=42']
Exploring Operation: 5+42=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_2 | mult_heuristic |
[
84,
84,
85,
50
] | 85 | [
"84-84=0",
"50*0=0",
"85+0=85"
] | Current State: 85:[84, 84, 85, 50], Operations: []
Exploring Operation: 84-84=0, Resulting Numbers: [85, 50, 0]
Generated Node #2: [85, 50, 0] from Operation: 84-84=0
Current State: 85:[85, 50, 0], Operations: ['84-84=0']
Exploring Operation: 50*0=0, Resulting Numbers: [85, 0]
Generated Node #3: [85, 0] from Operation: 50*0=0
Current State: 85:[85, 0], Operations: ['84-84=0', '50*0=0']
Exploring Operation: 85+0=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[84, 84, 85, 50], Operations: []
Exploring Operation: 85-50=35, Resulting Numbers: [84, 84, 35]
Generated Node #0,0: 85:[84, 84, 35] Operation: 85-50=35
Exploring Operation: 84-50=34, Resulting Numbers: [84, 85, 34]
Generated Node #0,1: 85:[84, 85, 34] Operation: 84-50=34
Exploring Operation: 84-50=34, Resulting Numbers: [84, 85, 34]
Generated Node #0,2: 85:[84, 85, 34] Operation: 84-50=34
Exploring Operation: 84/84=1, Resulting Numbers: [85, 50, 1]
Generated Node #0,3: 85:[85, 50, 1] Operation: 84/84=1
Moving to Node #0,1
Current State: 85:[84, 85, 34], Operations: ['84-50=34']
Exploring Operation: 84-34=50, Resulting Numbers: [85, 50]
Generated Node #0,1,0: 85:[85, 50] Operation: 84-34=50
Exploring Operation: 85+34=119, Resulting Numbers: [84, 119]
Generated Node #0,1,1: 85:[84, 119] Operation: 85+34=119
Exploring Operation: 84+34=118, Resulting Numbers: [85, 118]
Generated Node #0,1,2: 85:[85, 118] Operation: 84+34=118
Exploring Operation: 85-84=1, Resulting Numbers: [34, 1]
Generated Node #0,1,3: 85:[34, 1] Operation: 85-84=1
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 85:[34, 1], Operations: ['84-50=34', '85-84=1']
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,85 unequal: No Solution
Exploring Operation: 34*1=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Exploring Operation: 34/1=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Exploring Operation: 34+1=35, Resulting Numbers: [35]
35,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 85:[85, 50], Operations: ['84-50=34', '84-34=50']
Exploring Operation: 85+50=135, Resulting Numbers: [135]
135,85 unequal: No Solution
Exploring Operation: 85*50=4250, Resulting Numbers: [4250]
4250,85 unequal: No Solution
Exploring Operation: 85-50=35, Resulting Numbers: [35]
35,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 85:[85, 118], Operations: ['84-50=34', '84+34=118']
Exploring Operation: 85+118=203, Resulting Numbers: [203]
203,85 unequal: No Solution
Exploring Operation: 118-85=33, Resulting Numbers: [33]
33,85 unequal: No Solution
Exploring Operation: 85*118=10030, Resulting Numbers: [10030]
10030,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 85:[84, 119], Operations: ['84-50=34', '85+34=119']
Exploring Operation: 84*119=9996, Resulting Numbers: [9996]
9996,85 unequal: No Solution
Exploring Operation: 84+119=203, Resulting Numbers: [203]
203,85 unequal: No Solution
Exploring Operation: 119-84=35, Resulting Numbers: [35]
35,85 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: 85:[84, 85, 34], Operations: ['84-50=34']
Exploring Operation: 85-84=1, Resulting Numbers: [34, 1]
Generated Node #0,2,0: 85:[34, 1] Operation: 85-84=1
Exploring Operation: 84-34=50, Resulting Numbers: [85, 50]
Generated Node #0,2,1: 85:[85, 50] Operation: 84-34=50
Exploring Operation: 85+34=119, Resulting Numbers: [84, 119]
Generated Node #0,2,2: 85:[84, 119] Operation: 85+34=119
Exploring Operation: 84+34=118, Resulting Numbers: [85, 118]
Generated Node #0,2,3: 85:[85, 118] Operation: 84+34=118
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 85:[34, 1], Operations: ['84-50=34', '85-84=1']
Exploring Operation: 34*1=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Exploring Operation: 34/1=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,85 unequal: No Solution
Exploring Operation: 34+1=35, Resulting Numbers: [35]
35,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 85:[85, 50], Operations: ['84-50=34', '84-34=50']
Exploring Operation: 85-50=35, Resulting Numbers: [35]
35,85 unequal: No Solution
Exploring Operation: 85*50=4250, Resulting Numbers: [4250]
4250,85 unequal: No Solution
Exploring Operation: 85+50=135, Resulting Numbers: [135]
135,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 85:[85, 118], Operations: ['84-50=34', '84+34=118']
Exploring Operation: 118-85=33, Resulting Numbers: [33]
33,85 unequal: No Solution
Exploring Operation: 85+118=203, Resulting Numbers: [203]
203,85 unequal: No Solution
Exploring Operation: 85*118=10030, Resulting Numbers: [10030]
10030,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 85:[84, 119], Operations: ['84-50=34', '85+34=119']
Exploring Operation: 84*119=9996, Resulting Numbers: [9996]
9996,85 unequal: No Solution
Exploring Operation: 84+119=203, Resulting Numbers: [203]
203,85 unequal: No Solution
Exploring Operation: 119-84=35, Resulting Numbers: [35]
35,85 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: 85:[84, 84, 35], Operations: ['85-50=35']
Exploring Operation: 84/84=1, Resulting Numbers: [35, 1]
Generated Node #0,0,0: 85:[35, 1] Operation: 84/84=1
Exploring Operation: 84-35=49, Resulting Numbers: [84, 49]
Generated Node #0,0,1: 85:[84, 49] Operation: 84-35=49
Exploring Operation: 84-35=49, Resulting Numbers: [84, 49]
Generated Node #0,0,2: 85:[84, 49] Operation: 84-35=49
Exploring Operation: 84-84=0, Resulting Numbers: [35, 0]
Generated Node #0,0,3: 85:[35, 0] Operation: 84-84=0
Moving to Node #0,3
Current State: 85:[85, 50, 1], Operations: ['84/84=1']
Exploring Operation: 85*1=85, Resulting Numbers: [50, 85]
Generated Node #0,3,0: 85:[50, 85] Operation: 85*1=85
Exploring Operation: 85/1=85, Resulting Numbers: [50, 85]
Generated Node #0,3,1: 85:[50, 85] Operation: 85/1=85
Exploring Operation: 85-50=35, Resulting Numbers: [1, 35]
Generated Node #0,3,2: 85:[1, 35] Operation: 85-50=35
Exploring Operation: 50-1=49, Resulting Numbers: [85, 49]
Generated Node #0,3,3: 85:[85, 49] Operation: 50-1=49
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 85:[1, 35], Operations: ['84/84=1', '85-50=35']
Exploring Operation: 1*35=35, Resulting Numbers: [35]
35,85 unequal: No Solution
Exploring Operation: 35/1=35, Resulting Numbers: [35]
35,85 unequal: No Solution
Exploring Operation: 1+35=36, Resulting Numbers: [36]
36,85 unequal: No Solution
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 85:[85, 49], Operations: ['84/84=1', '50-1=49']
Exploring Operation: 85*49=4165, Resulting Numbers: [4165]
4165,85 unequal: No Solution
Exploring Operation: 85-49=36, Resulting Numbers: [36]
36,85 unequal: No Solution
Exploring Operation: 85+49=134, Resulting Numbers: [134]
134,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 85:[50, 85], Operations: ['84/84=1', '85*1=85']
Exploring Operation: 50*85=4250, Resulting Numbers: [4250]
4250,85 unequal: No Solution
Exploring Operation: 85-50=35, Resulting Numbers: [35]
35,85 unequal: No Solution
Exploring Operation: 50+85=135, Resulting Numbers: [135]
135,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 85:[50, 85], Operations: ['84/84=1', '85/1=85']
Exploring Operation: 50+85=135, Resulting Numbers: [135]
135,85 unequal: No Solution
Exploring Operation: 50*85=4250, Resulting Numbers: [4250]
4250,85 unequal: No Solution
Exploring Operation: 85-50=35, Resulting Numbers: [35]
35,85 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: 85:[35, 1], Operations: ['85-50=35', '84/84=1']
Exploring Operation: 35+1=36, Resulting Numbers: [36]
36,85 unequal: No Solution
Exploring Operation: 35/1=35, Resulting Numbers: [35]
35,85 unequal: No Solution
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Exploring Operation: 35*1=35, Resulting Numbers: [35]
35,85 unequal: No Solution
Moving to Node #0,0,3
Current State: 85:[35, 0], Operations: ['85-50=35', '84-84=0']
Exploring Operation: 35+0=35, Resulting Numbers: [35]
35,85 unequal: No Solution
Exploring Operation: 35-0=35, Resulting Numbers: [35]
35,85 unequal: No Solution
Exploring Operation: 35*0=0, Resulting Numbers: [0]
0,85 unequal: No Solution
Moving to Node #0,0,2
Current State: 85:[84, 49], Operations: ['85-50=35', '84-35=49']
Exploring Operation: 84-49=35, Resulting Numbers: [35]
35,85 unequal: No Solution
Exploring Operation: 84*49=4116, Resulting Numbers: [4116]
4116,85 unequal: No Solution
Exploring Operation: 84+49=133, Resulting Numbers: [133]
133,85 unequal: No Solution
Moving to Node #0,0,1
Current State: 85:[84, 49], Operations: ['85-50=35', '84-35=49']
Exploring Operation: 84-49=35, Resulting Numbers: [35]
35,85 unequal: No Solution
Exploring Operation: 84*49=4116, Resulting Numbers: [4116]
4116,85 unequal: No Solution
Exploring Operation: 84+49=133, Resulting Numbers: [133]
133,85 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
21,
82,
46,
26
] | 83 | [
"21+82=103",
"46-26=20",
"103-20=83"
] | Current State: 83:[21, 82, 46, 26], Operations: []
Exploring Operation: 21+82=103, Resulting Numbers: [46, 26, 103]
Generated Node #2: [46, 26, 103] from Operation: 21+82=103
Current State: 83:[46, 26, 103], Operations: ['21+82=103']
Exploring Operation: 46-26=20, Resulting Numbers: [103, 20]
Generated Node #3: [103, 20] from Operation: 46-26=20
Current State: 83:[103, 20], Operations: ['21+82=103', '46-26=20']
Exploring Operation: 103-20=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[21, 82, 46, 26], Operations: []
Exploring Operation: 21+82=103, Resulting Numbers: [46, 26, 103]
Generated Node #0,0: 83:[46, 26, 103] Operation: 21+82=103
Exploring Operation: 21+26=47, Resulting Numbers: [82, 46, 47]
Generated Node #0,1: 83:[82, 46, 47] Operation: 21+26=47
Exploring Operation: 46+26=72, Resulting Numbers: [21, 82, 72]
Generated Node #0,2: 83:[21, 82, 72] Operation: 46+26=72
Exploring Operation: 21+46=67, Resulting Numbers: [82, 26, 67]
Generated Node #0,3: 83:[82, 26, 67] Operation: 21+46=67
Exploring Operation: 82-21=61, Resulting Numbers: [46, 26, 61]
Generated Node #0,4: 83:[46, 26, 61] Operation: 82-21=61
Moving to Node #0,1
Current State: 83:[82, 46, 47], Operations: ['21+26=47']
Exploring Operation: 82+47=129, Resulting Numbers: [46, 129]
Generated Node #0,1,0: 83:[46, 129] Operation: 82+47=129
Exploring Operation: 47-46=1, Resulting Numbers: [82, 1]
Generated Node #0,1,1: 83:[82, 1] Operation: 47-46=1
Exploring Operation: 82-46=36, Resulting Numbers: [47, 36]
Generated Node #0,1,2: 83:[47, 36] Operation: 82-46=36
Exploring Operation: 82+46=128, Resulting Numbers: [47, 128]
Generated Node #0,1,3: 83:[47, 128] Operation: 82+46=128
Exploring Operation: 46+47=93, Resulting Numbers: [82, 93]
Generated Node #0,1,4: 83:[82, 93] Operation: 46+47=93
Moving to Node #0,3
Current State: 83:[82, 26, 67], Operations: ['21+46=67']
Exploring Operation: 82+67=149, Resulting Numbers: [26, 149]
Generated Node #0,3,0: 83:[26, 149] Operation: 82+67=149
Exploring Operation: 67-26=41, Resulting Numbers: [82, 41]
Generated Node #0,3,1: 83:[82, 41] Operation: 67-26=41
Exploring Operation: 82-26=56, Resulting Numbers: [67, 56]
Generated Node #0,3,2: 83:[67, 56] Operation: 82-26=56
Exploring Operation: 82+26=108, Resulting Numbers: [67, 108]
Generated Node #0,3,3: 83:[67, 108] Operation: 82+26=108
Exploring Operation: 26+67=93, Resulting Numbers: [82, 93]
Generated Node #0,3,4: 83:[82, 93] Operation: 26+67=93
Moving to Node #0,2
Current State: 83:[21, 82, 72], Operations: ['46+26=72']
Exploring Operation: 82-21=61, Resulting Numbers: [72, 61]
Generated Node #0,2,0: 83:[72, 61] Operation: 82-21=61
Exploring Operation: 72-21=51, Resulting Numbers: [82, 51]
Generated Node #0,2,1: 83:[82, 51] Operation: 72-21=51
Exploring Operation: 21+82=103, Resulting Numbers: [72, 103]
Generated Node #0,2,2: 83:[72, 103] Operation: 21+82=103
Exploring Operation: 21+72=93, Resulting Numbers: [82, 93]
Generated Node #0,2,3: 83:[82, 93] Operation: 21+72=93
Exploring Operation: 82+72=154, Resulting Numbers: [21, 154]
Generated Node #0,2,4: 83:[21, 154] Operation: 82+72=154
Moving to Node #0,0
Current State: 83:[46, 26, 103], Operations: ['21+82=103']
Exploring Operation: 46-26=20, Resulting Numbers: [103, 20]
Generated Node #0,0,0: 83:[103, 20] Operation: 46-26=20
Exploring Operation: 103-46=57, Resulting Numbers: [26, 57]
Generated Node #0,0,1: 83:[26, 57] Operation: 103-46=57
Exploring Operation: 26+103=129, Resulting Numbers: [46, 129]
Generated Node #0,0,2: 83:[46, 129] Operation: 26+103=129
Exploring Operation: 46+26=72, Resulting Numbers: [103, 72]
Generated Node #0,0,3: 83:[103, 72] Operation: 46+26=72
Exploring Operation: 103-26=77, Resulting Numbers: [46, 77]
Generated Node #0,0,4: 83:[46, 77] Operation: 103-26=77
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 83:[103, 72], Operations: ['21+82=103', '46+26=72']
Exploring Operation: 103-72=31, Resulting Numbers: [31]
31,83 unequal: No Solution
Exploring Operation: 103*72=7416, Resulting Numbers: [7416]
7416,83 unequal: No Solution
Exploring Operation: 103+72=175, Resulting Numbers: [175]
175,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 83:[46, 77], Operations: ['21+82=103', '103-26=77']
Exploring Operation: 46*77=3542, Resulting Numbers: [3542]
3542,83 unequal: No Solution
Exploring Operation: 46+77=123, Resulting Numbers: [123]
123,83 unequal: No Solution
Exploring Operation: 77-46=31, Resulting Numbers: [31]
31,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[103, 20], Operations: ['21+82=103', '46-26=20']
Exploring Operation: 103*20=2060, Resulting Numbers: [2060]
2060,83 unequal: No Solution
Exploring Operation: 103-20=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[21, 82, 46, 26], Operations: []
Exploring Operation: 21+82=103, Resulting Numbers: [46, 26, 103]
Generated Node #0,0: 83:[46, 26, 103] Operation: 21+82=103
Moving to Node #0,0
Current State: 83:[46, 26, 103], Operations: ['21+82=103']
Exploring Operation: 46-26=20, Resulting Numbers: [103, 20]
Generated Node #0,0,0: 83:[103, 20] Operation: 46-26=20
Moving to Node #0,0,0
Current State: 83:[103, 20], Operations: ['21+82=103', '46-26=20']
Exploring Operation: 103-20=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_5 | sum_heuristic |
[
11,
22,
88,
64
] | 71 | [
"11+64=75",
"88/22=4",
"75-4=71"
] | Current State: 71:[11, 22, 88, 64], Operations: []
Exploring Operation: 11+64=75, Resulting Numbers: [22, 88, 75]
Generated Node #2: [22, 88, 75] from Operation: 11+64=75
Current State: 71:[22, 88, 75], Operations: ['11+64=75']
Exploring Operation: 88/22=4, Resulting Numbers: [75, 4]
Generated Node #3: [75, 4] from Operation: 88/22=4
Current State: 71:[75, 4], Operations: ['11+64=75', '88/22=4']
Exploring Operation: 75-4=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[11, 22, 88, 64], Operations: []
Exploring Operation: 88-22=66, Resulting Numbers: [11, 64, 66]
Generated Node #0,0: 71:[11, 64, 66] Operation: 88-22=66
Exploring Operation: 11+22=33, Resulting Numbers: [88, 64, 33]
Generated Node #0,1: 71:[88, 64, 33] Operation: 11+22=33
Exploring Operation: 11+64=75, Resulting Numbers: [22, 88, 75]
Generated Node #0,2: 71:[22, 88, 75] Operation: 11+64=75
Exploring Operation: 88-11=77, Resulting Numbers: [22, 64, 77]
Generated Node #0,3: 71:[22, 64, 77] Operation: 88-11=77
Exploring Operation: 22-11=11, Resulting Numbers: [88, 64, 11]
Generated Node #0,4: 71:[88, 64, 11] Operation: 22-11=11
Moving to Node #0,1
Current State: 71:[88, 64, 33], Operations: ['11+22=33']
Exploring Operation: 64-33=31, Resulting Numbers: [88, 31]
Generated Node #0,1,0: 71:[88, 31] Operation: 64-33=31
Exploring Operation: 88-64=24, Resulting Numbers: [33, 24]
Generated Node #0,1,1: 71:[33, 24] Operation: 88-64=24
Exploring Operation: 88-33=55, Resulting Numbers: [64, 55]
Generated Node #0,1,2: 71:[64, 55] Operation: 88-33=55
Exploring Operation: 64+33=97, Resulting Numbers: [88, 97]
Generated Node #0,1,3: 71:[88, 97] Operation: 64+33=97
Exploring Operation: 88+33=121, Resulting Numbers: [64, 121]
Generated Node #0,1,4: 71:[64, 121] Operation: 88+33=121
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 71:[64, 55], Operations: ['11+22=33', '88-33=55']
Exploring Operation: 64*55=3520, Resulting Numbers: [3520]
3520,71 unequal: No Solution
Exploring Operation: 64+55=119, Resulting Numbers: [119]
119,71 unequal: No Solution
Exploring Operation: 64-55=9, Resulting Numbers: [9]
9,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,3
Current State: 71:[88, 97], Operations: ['11+22=33', '64+33=97']
Exploring Operation: 88*97=8536, Resulting Numbers: [8536]
8536,71 unequal: No Solution
Exploring Operation: 88+97=185, Resulting Numbers: [185]
185,71 unequal: No Solution
Exploring Operation: 97-88=9, Resulting Numbers: [9]
9,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,0
Current State: 71:[88, 31], Operations: ['11+22=33', '64-33=31']
Exploring Operation: 88*31=2728, Resulting Numbers: [2728]
2728,71 unequal: No Solution
Exploring Operation: 88+31=119, Resulting Numbers: [119]
119,71 unequal: No Solution
Exploring Operation: 88-31=57, Resulting Numbers: [57]
57,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,4
Current State: 71:[64, 121], Operations: ['11+22=33', '88+33=121']
Exploring Operation: 121-64=57, Resulting Numbers: [57]
57,71 unequal: No Solution
Exploring Operation: 64*121=7744, Resulting Numbers: [7744]
7744,71 unequal: No Solution
Exploring Operation: 64+121=185, Resulting Numbers: [185]
185,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:[33, 24], Operations: ['11+22=33', '88-64=24']
Exploring Operation: 33*24=792, Resulting Numbers: [792]
792,71 unequal: No Solution
Exploring Operation: 33-24=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Exploring Operation: 33+24=57, Resulting Numbers: [57]
57,71 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: 71:[22, 64, 77], Operations: ['88-11=77']
Exploring Operation: 22+77=99, Resulting Numbers: [64, 99]
Generated Node #0,3,0: 71:[64, 99] Operation: 22+77=99
Exploring Operation: 64-22=42, Resulting Numbers: [77, 42]
Generated Node #0,3,1: 71:[77, 42] Operation: 64-22=42
Exploring Operation: 22+64=86, Resulting Numbers: [77, 86]
Generated Node #0,3,2: 71:[77, 86] Operation: 22+64=86
Exploring Operation: 77-64=13, Resulting Numbers: [22, 13]
Generated Node #0,3,3: 71:[22, 13] Operation: 77-64=13
Exploring Operation: 77-22=55, Resulting Numbers: [64, 55]
Generated Node #0,3,4: 71:[64, 55] Operation: 77-22=55
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 71:[77, 86], Operations: ['88-11=77', '22+64=86']
Exploring Operation: 77+86=163, Resulting Numbers: [163]
163,71 unequal: No Solution
Exploring Operation: 86-77=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Exploring Operation: 77*86=6622, Resulting Numbers: [6622]
6622,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,3,4
Current State: 71:[64, 55], Operations: ['88-11=77', '77-22=55']
Exploring Operation: 64*55=3520, Resulting Numbers: [3520]
3520,71 unequal: No Solution
Exploring Operation: 64-55=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Exploring Operation: 64+55=119, Resulting Numbers: [119]
119,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,3,0
Current State: 71:[64, 99], Operations: ['88-11=77', '22+77=99']
Exploring Operation: 64+99=163, Resulting Numbers: [163]
163,71 unequal: No Solution
Exploring Operation: 99-64=35, Resulting Numbers: [35]
35,71 unequal: No Solution
Exploring Operation: 64*99=6336, Resulting Numbers: [6336]
6336,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,3,1
Current State: 71:[77, 42], Operations: ['88-11=77', '64-22=42']
Exploring Operation: 77*42=3234, Resulting Numbers: [3234]
3234,71 unequal: No Solution
Exploring Operation: 77+42=119, Resulting Numbers: [119]
119,71 unequal: No Solution
Exploring Operation: 77-42=35, Resulting Numbers: [35]
35,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,3,3
Current State: 71:[22, 13], Operations: ['88-11=77', '77-64=13']
Exploring Operation: 22-13=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Exploring Operation: 22+13=35, Resulting Numbers: [35]
35,71 unequal: No Solution
Exploring Operation: 22*13=286, Resulting Numbers: [286]
286,71 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: 71:[22, 88, 75], Operations: ['11+64=75']
Exploring Operation: 88-22=66, Resulting Numbers: [75, 66]
Generated Node #0,2,0: 71:[75, 66] Operation: 88-22=66
Exploring Operation: 22+75=97, Resulting Numbers: [88, 97]
Generated Node #0,2,1: 71:[88, 97] Operation: 22+75=97
Exploring Operation: 22+88=110, Resulting Numbers: [75, 110]
Generated Node #0,2,2: 71:[75, 110] Operation: 22+88=110
Exploring Operation: 75-22=53, Resulting Numbers: [88, 53]
Generated Node #0,2,3: 71:[88, 53] Operation: 75-22=53
Exploring Operation: 88/22=4, Resulting Numbers: [75, 4]
Generated Node #0,2,4: 71:[75, 4] Operation: 88/22=4
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 71:[75, 66], Operations: ['11+64=75', '88-22=66']
Exploring Operation: 75-66=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Exploring Operation: 75*66=4950, Resulting Numbers: [4950]
4950,71 unequal: No Solution
Exploring Operation: 75+66=141, Resulting Numbers: [141]
141,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 71:[88, 53], Operations: ['11+64=75', '75-22=53']
Exploring Operation: 88+53=141, Resulting Numbers: [141]
141,71 unequal: No Solution
Exploring Operation: 88-53=35, Resulting Numbers: [35]
35,71 unequal: No Solution
Exploring Operation: 88*53=4664, Resulting Numbers: [4664]
4664,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 71:[88, 97], Operations: ['11+64=75', '22+75=97']
Exploring Operation: 88*97=8536, Resulting Numbers: [8536]
8536,71 unequal: No Solution
Exploring Operation: 97-88=9, Resulting Numbers: [9]
9,71 unequal: No Solution
Exploring Operation: 88+97=185, Resulting Numbers: [185]
185,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 71:[75, 110], Operations: ['11+64=75', '22+88=110']
Exploring Operation: 75*110=8250, Resulting Numbers: [8250]
8250,71 unequal: No Solution
Exploring Operation: 110-75=35, Resulting Numbers: [35]
35,71 unequal: No Solution
Exploring Operation: 75+110=185, Resulting Numbers: [185]
185,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 71:[75, 4], Operations: ['11+64=75', '88/22=4']
Exploring Operation: 75-4=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[11, 22, 88, 64], Operations: []
Exploring Operation: 11+64=75, Resulting Numbers: [22, 88, 75]
Generated Node #0,2: 71:[22, 88, 75] Operation: 11+64=75
Moving to Node #0,2
Current State: 71:[22, 88, 75], Operations: ['11+64=75']
Exploring Operation: 88/22=4, Resulting Numbers: [75, 4]
Generated Node #0,2,4: 71:[75, 4] Operation: 88/22=4
Moving to Node #0,2,4
Current State: 71:[75, 4], Operations: ['11+64=75', '88/22=4']
Exploring Operation: 75-4=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.94184 | hs_5 | mult_heuristic |
[
6,
34,
52,
86
] | 98 | [
"6+34=40",
"52+86=138",
"138-40=98"
] | Current State: 98:[6, 34, 52, 86], Operations: []
Exploring Operation: 6+34=40, Resulting Numbers: [52, 86, 40]
Generated Node #2: [52, 86, 40] from Operation: 6+34=40
Current State: 98:[52, 86, 40], Operations: ['6+34=40']
Exploring Operation: 52+86=138, Resulting Numbers: [40, 138]
Generated Node #3: [40, 138] from Operation: 52+86=138
Current State: 98:[40, 138], Operations: ['6+34=40', '52+86=138']
Exploring Operation: 138-40=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[6, 34, 52, 86], Operations: []
Exploring Operation: 86-34=52, Resulting Numbers: [6, 52, 52]
Generated Node #0,0: 98:[6, 52, 52] Operation: 86-34=52
Exploring Operation: 6+34=40, Resulting Numbers: [52, 86, 40]
Generated Node #0,1: 98:[52, 86, 40] Operation: 6+34=40
Exploring Operation: 52-34=18, Resulting Numbers: [6, 86, 18]
Generated Node #0,2: 98:[6, 86, 18] Operation: 52-34=18
Moving to Node #0,0
Current State: 98:[6, 52, 52], Operations: ['86-34=52']
Exploring Operation: 52-6=46, Resulting Numbers: [52, 46]
Generated Node #0,0,0: 98:[52, 46] Operation: 52-6=46
Exploring Operation: 52/52=1, Resulting Numbers: [6, 1]
Generated Node #0,0,1: 98:[6, 1] Operation: 52/52=1
Exploring Operation: 52-52=0, Resulting Numbers: [6, 0]
Generated Node #0,0,2: 98:[6, 0] Operation: 52-52=0
Moving to Node #0,2
Current State: 98:[6, 86, 18], Operations: ['52-34=18']
Exploring Operation: 18/6=3, Resulting Numbers: [86, 3]
Generated Node #0,2,0: 98:[86, 3] Operation: 18/6=3
Exploring Operation: 86+18=104, Resulting Numbers: [6, 104]
Generated Node #0,2,1: 98:[6, 104] Operation: 86+18=104
Exploring Operation: 6+86=92, Resulting Numbers: [18, 92]
Generated Node #0,2,2: 98:[18, 92] Operation: 6+86=92
Moving to Node #0,1
Current State: 98:[52, 86, 40], Operations: ['6+34=40']
Exploring Operation: 52-40=12, Resulting Numbers: [86, 12]
Generated Node #0,1,0: 98:[86, 12] Operation: 52-40=12
Exploring Operation: 52+40=92, Resulting Numbers: [86, 92]
Generated Node #0,1,1: 98:[86, 92] Operation: 52+40=92
Exploring Operation: 86-40=46, Resulting Numbers: [52, 46]
Generated Node #0,1,2: 98:[52, 46] Operation: 86-40=46
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 98:[52, 46], Operations: ['6+34=40', '86-40=46']
Exploring Operation: 52+46=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[6, 34, 52, 86], Operations: []
Exploring Operation: 6+34=40, Resulting Numbers: [52, 86, 40]
Generated Node #0,1: 98:[52, 86, 40] Operation: 6+34=40
Moving to Node #0,1
Current State: 98:[52, 86, 40], Operations: ['6+34=40']
Exploring Operation: 86-40=46, Resulting Numbers: [52, 46]
Generated Node #0,1,2: 98:[52, 46] Operation: 86-40=46
Moving to Node #0,1,2
Current State: 98:[52, 46], Operations: ['6+34=40', '86-40=46']
Exploring Operation: 52+46=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | mult_heuristic |
[
3,
32,
64,
94
] | 88 | [
"3*64=192",
"192/32=6",
"94-6=88"
] | Current State: 88:[3, 32, 64, 94], Operations: []
Exploring Operation: 3*64=192, Resulting Numbers: [32, 94, 192]
Generated Node #2: [32, 94, 192] from Operation: 3*64=192
Current State: 88:[32, 94, 192], Operations: ['3*64=192']
Exploring Operation: 192/32=6, Resulting Numbers: [94, 6]
Generated Node #3: [94, 6] from Operation: 192/32=6
Current State: 88:[94, 6], Operations: ['3*64=192', '192/32=6']
Exploring Operation: 94-6=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[3, 32, 64, 94], Operations: []
Exploring Operation: 64/32=2, Resulting Numbers: [3, 94, 2]
Generated Node #0,0: 88:[3, 94, 2] Operation: 64/32=2
Exploring Operation: 94-64=30, Resulting Numbers: [3, 32, 30]
Generated Node #0,1: 88:[3, 32, 30] Operation: 94-64=30
Exploring Operation: 64-32=32, Resulting Numbers: [3, 94, 32]
Generated Node #0,2: 88:[3, 94, 32] Operation: 64-32=32
Exploring Operation: 32+64=96, Resulting Numbers: [3, 94, 96]
Generated Node #0,3: 88:[3, 94, 96] Operation: 32+64=96
Exploring Operation: 32-3=29, Resulting Numbers: [64, 94, 29]
Generated Node #0,4: 88:[64, 94, 29] Operation: 32-3=29
Moving to Node #0,0
Current State: 88:[3, 94, 2], Operations: ['64/32=2']
Exploring Operation: 3+2=5, Resulting Numbers: [94, 5]
Generated Node #0,0,0: 88:[94, 5] Operation: 3+2=5
Exploring Operation: 94-3=91, Resulting Numbers: [2, 91]
Generated Node #0,0,1: 88:[2, 91] Operation: 94-3=91
Exploring Operation: 94-2=92, Resulting Numbers: [3, 92]
Generated Node #0,0,2: 88:[3, 92] Operation: 94-2=92
Exploring Operation: 94/2=47, Resulting Numbers: [3, 47]
Generated Node #0,0,3: 88:[3, 47] Operation: 94/2=47
Exploring Operation: 3-2=1, Resulting Numbers: [94, 1]
Generated Node #0,0,4: 88:[94, 1] Operation: 3-2=1
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 88:[2, 91], Operations: ['64/32=2', '94-3=91']
Exploring Operation: 2*91=182, Resulting Numbers: [182]
182,88 unequal: No Solution
Exploring Operation: 2+91=93, Resulting Numbers: [93]
93,88 unequal: No Solution
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,88 unequal: No Solution
No 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: 88:[3, 47], Operations: ['64/32=2', '94/2=47']
Exploring Operation: 3*47=141, Resulting Numbers: [141]
141,88 unequal: No Solution
Exploring Operation: 3+47=50, Resulting Numbers: [50]
50,88 unequal: No Solution
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,88 unequal: No Solution
No 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: 88:[3, 92], Operations: ['64/32=2', '94-2=92']
Exploring Operation: 3+92=95, Resulting Numbers: [95]
95,88 unequal: No Solution
Exploring Operation: 92-3=89, Resulting Numbers: [89]
89,88 unequal: No Solution
Exploring Operation: 3*92=276, Resulting Numbers: [276]
276,88 unequal: No Solution
No 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: 88:[94, 5], Operations: ['64/32=2', '3+2=5']
Exploring Operation: 94*5=470, Resulting Numbers: [470]
470,88 unequal: No Solution
Exploring Operation: 94+5=99, Resulting Numbers: [99]
99,88 unequal: No Solution
Exploring Operation: 94-5=89, Resulting Numbers: [89]
89,88 unequal: No Solution
No 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: 88:[94, 1], Operations: ['64/32=2', '3-2=1']
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,88 unequal: No Solution
Exploring Operation: 94/1=94, Resulting Numbers: [94]
94,88 unequal: No Solution
Exploring Operation: 94+1=95, Resulting Numbers: [95]
95,88 unequal: No Solution
Exploring Operation: 94*1=94, Resulting Numbers: [94]
94,88 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: 88:[3, 94, 96], Operations: ['32+64=96']
Exploring Operation: 96-94=2, Resulting Numbers: [3, 2]
Generated Node #0,3,0: 88:[3, 2] Operation: 96-94=2
Exploring Operation: 3+94=97, Resulting Numbers: [96, 97]
Generated Node #0,3,1: 88:[96, 97] Operation: 3+94=97
Exploring Operation: 94-3=91, Resulting Numbers: [96, 91]
Generated Node #0,3,2: 88:[96, 91] Operation: 94-3=91
Exploring Operation: 96/3=32, Resulting Numbers: [94, 32]
Generated Node #0,3,3: 88:[94, 32] Operation: 96/3=32
Exploring Operation: 96-3=93, Resulting Numbers: [94, 93]
Generated Node #0,3,4: 88:[94, 93] Operation: 96-3=93
Moving to Node #0,2
Current State: 88:[3, 94, 32], Operations: ['64-32=32']
Exploring Operation: 3+32=35, Resulting Numbers: [94, 35]
Generated Node #0,2,0: 88:[94, 35] Operation: 3+32=35
Exploring Operation: 32-3=29, Resulting Numbers: [94, 29]
Generated Node #0,2,1: 88:[94, 29] Operation: 32-3=29
Exploring Operation: 94-3=91, Resulting Numbers: [32, 91]
Generated Node #0,2,2: 88:[32, 91] Operation: 94-3=91
Exploring Operation: 3*32=96, Resulting Numbers: [94, 96]
Generated Node #0,2,3: 88:[94, 96] Operation: 3*32=96
Exploring Operation: 3+94=97, Resulting Numbers: [32, 97]
Generated Node #0,2,4: 88:[32, 97] Operation: 3+94=97
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 88:[94, 29], Operations: ['64-32=32', '32-3=29']
Exploring Operation: 94-29=65, Resulting Numbers: [65]
65,88 unequal: No Solution
Exploring Operation: 94+29=123, Resulting Numbers: [123]
123,88 unequal: No Solution
Exploring Operation: 94*29=2726, Resulting Numbers: [2726]
2726,88 unequal: No Solution
No 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: 88:[32, 91], Operations: ['64-32=32', '94-3=91']
Exploring Operation: 32+91=123, Resulting Numbers: [123]
123,88 unequal: No Solution
Exploring Operation: 32*91=2912, Resulting Numbers: [2912]
2912,88 unequal: No Solution
Exploring Operation: 91-32=59, Resulting Numbers: [59]
59,88 unequal: No Solution
No 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: 88:[94, 96], Operations: ['64-32=32', '3*32=96']
Exploring Operation: 96-94=2, Resulting Numbers: [2]
2,88 unequal: No Solution
Exploring Operation: 94+96=190, Resulting Numbers: [190]
190,88 unequal: No Solution
Exploring Operation: 94*96=9024, Resulting Numbers: [9024]
9024,88 unequal: No Solution
No 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: 88:[94, 35], Operations: ['64-32=32', '3+32=35']
Exploring Operation: 94-35=59, Resulting Numbers: [59]
59,88 unequal: No Solution
Exploring Operation: 94*35=3290, Resulting Numbers: [3290]
3290,88 unequal: No Solution
Exploring Operation: 94+35=129, Resulting Numbers: [129]
129,88 unequal: No Solution
No 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: 88:[32, 97], Operations: ['64-32=32', '3+94=97']
Exploring Operation: 32*97=3104, Resulting Numbers: [3104]
3104,88 unequal: No Solution
Exploring Operation: 32+97=129, Resulting Numbers: [129]
129,88 unequal: No Solution
Exploring Operation: 97-32=65, Resulting Numbers: [65]
65,88 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: 88:[3, 32, 30], Operations: ['94-64=30']
Exploring Operation: 32-30=2, Resulting Numbers: [3, 2]
Generated Node #0,1,0: 88:[3, 2] Operation: 32-30=2
Exploring Operation: 3*30=90, Resulting Numbers: [32, 90]
Generated Node #0,1,1: 88:[32, 90] Operation: 3*30=90
Exploring Operation: 32-3=29, Resulting Numbers: [30, 29]
Generated Node #0,1,2: 88:[30, 29] Operation: 32-3=29
Exploring Operation: 30/3=10, Resulting Numbers: [32, 10]
Generated Node #0,1,3: 88:[32, 10] Operation: 30/3=10
Exploring Operation: 30-3=27, Resulting Numbers: [32, 27]
Generated Node #0,1,4: 88:[32, 27] Operation: 30-3=27
Moving to Node #0,4
Current State: 88:[64, 94, 29], Operations: ['32-3=29']
Exploring Operation: 94-29=65, Resulting Numbers: [64, 65]
Generated Node #0,4,0: 88:[64, 65] Operation: 94-29=65
Exploring Operation: 94+29=123, Resulting Numbers: [64, 123]
Generated Node #0,4,1: 88:[64, 123] Operation: 94+29=123
Exploring Operation: 64+29=93, Resulting Numbers: [94, 93]
Generated Node #0,4,2: 88:[94, 93] Operation: 64+29=93
Exploring Operation: 64-29=35, Resulting Numbers: [94, 35]
Generated Node #0,4,3: 88:[94, 35] Operation: 64-29=35
Exploring Operation: 94-64=30, Resulting Numbers: [29, 30]
Generated Node #0,4,4: 88:[29, 30] Operation: 94-64=30
Moving to Node #0,3,0
Current State: 88:[3, 2], Operations: ['32+64=96', '96-94=2']
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,88 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,88 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,88 unequal: No Solution
Moving to Node #0,1,0
Current State: 88:[3, 2], Operations: ['94-64=30', '32-30=2']
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,88 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,88 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,88 unequal: No Solution
Moving to Node #0,1,3
Current State: 88:[32, 10], Operations: ['94-64=30', '30/3=10']
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,88 unequal: No Solution
Exploring Operation: 32*10=320, Resulting Numbers: [320]
320,88 unequal: No Solution
Exploring Operation: 32+10=42, Resulting Numbers: [42]
42,88 unequal: No Solution
Moving to Node #0,3,4
Current State: 88:[94, 93], Operations: ['32+64=96', '96-3=93']
Exploring Operation: 94*93=8742, Resulting Numbers: [8742]
8742,88 unequal: No Solution
Exploring Operation: 94-93=1, Resulting Numbers: [1]
1,88 unequal: No Solution
Exploring Operation: 94+93=187, Resulting Numbers: [187]
187,88 unequal: No Solution
Moving to Node #0,3,2
Current State: 88:[96, 91], Operations: ['32+64=96', '94-3=91']
Exploring Operation: 96-91=5, Resulting Numbers: [5]
5,88 unequal: No Solution
Exploring Operation: 96+91=187, Resulting Numbers: [187]
187,88 unequal: No Solution
Exploring Operation: 96*91=8736, Resulting Numbers: [8736]
8736,88 unequal: No Solution
Moving to Node #0,4,2
Current State: 88:[94, 93], Operations: ['32-3=29', '64+29=93']
Exploring Operation: 94+93=187, Resulting Numbers: [187]
187,88 unequal: No Solution
Exploring Operation: 94-93=1, Resulting Numbers: [1]
1,88 unequal: No Solution
Exploring Operation: 94*93=8742, Resulting Numbers: [8742]
8742,88 unequal: No Solution
Moving to Node #0,1,1
Current State: 88:[32, 90], Operations: ['94-64=30', '3*30=90']
Exploring Operation: 32*90=2880, Resulting Numbers: [2880]
2880,88 unequal: No Solution
Exploring Operation: 32+90=122, Resulting Numbers: [122]
122,88 unequal: No Solution
Exploring Operation: 90-32=58, Resulting Numbers: [58]
58,88 unequal: No Solution
Moving to Node #0,4,4
Current State: 88:[29, 30], Operations: ['32-3=29', '94-64=30']
Exploring Operation: 29*30=870, Resulting Numbers: [870]
870,88 unequal: No Solution
Exploring Operation: 30-29=1, Resulting Numbers: [1]
1,88 unequal: No Solution
Exploring Operation: 29+30=59, Resulting Numbers: [59]
59,88 unequal: No Solution
Moving to Node #0,4,3
Current State: 88:[94, 35], Operations: ['32-3=29', '64-29=35']
Exploring Operation: 94+35=129, Resulting Numbers: [129]
129,88 unequal: No Solution
Exploring Operation: 94*35=3290, Resulting Numbers: [3290]
3290,88 unequal: No Solution
Exploring Operation: 94-35=59, Resulting Numbers: [59]
59,88 unequal: No Solution
Moving to Node #0,1,4
Current State: 88:[32, 27], Operations: ['94-64=30', '30-3=27']
Exploring Operation: 32*27=864, Resulting Numbers: [864]
864,88 unequal: No Solution
Exploring Operation: 32-27=5, Resulting Numbers: [5]
5,88 unequal: No Solution
Exploring Operation: 32+27=59, Resulting Numbers: [59]
59,88 unequal: No Solution
Moving to Node #0,1,2
Current State: 88:[30, 29], Operations: ['94-64=30', '32-3=29']
Exploring Operation: 30*29=870, Resulting Numbers: [870]
870,88 unequal: No Solution
Exploring Operation: 30-29=1, Resulting Numbers: [1]
1,88 unequal: No Solution
Exploring Operation: 30+29=59, Resulting Numbers: [59]
59,88 unequal: No Solution
Moving to Node #0,3,3
Current State: 88:[94, 32], Operations: ['32+64=96', '96/3=32']
Exploring Operation: 94-32=62, Resulting Numbers: [62]
62,88 unequal: No Solution
Exploring Operation: 94*32=3008, Resulting Numbers: [3008]
3008,88 unequal: No Solution
Exploring Operation: 94+32=126, Resulting Numbers: [126]
126,88 unequal: No Solution
Moving to Node #0,3,1
Current State: 88:[96, 97], Operations: ['32+64=96', '3+94=97']
Exploring Operation: 97-96=1, Resulting Numbers: [1]
1,88 unequal: No Solution
Exploring Operation: 96*97=9312, Resulting Numbers: [9312]
9312,88 unequal: No Solution
Exploring Operation: 96+97=193, Resulting Numbers: [193]
193,88 unequal: No Solution
Moving to Node #0,4,0
Current State: 88:[64, 65], Operations: ['32-3=29', '94-29=65']
Exploring Operation: 64*65=4160, Resulting Numbers: [4160]
4160,88 unequal: No Solution
Exploring Operation: 65-64=1, Resulting Numbers: [1]
1,88 unequal: No Solution
Exploring Operation: 64+65=129, Resulting Numbers: [129]
129,88 unequal: No Solution
Moving to Node #0,4,1
Current State: 88:[64, 123], Operations: ['32-3=29', '94+29=123']
Exploring Operation: 123-64=59, Resulting Numbers: [59]
59,88 unequal: No Solution
Exploring Operation: 64+123=187, Resulting Numbers: [187]
187,88 unequal: No Solution
Exploring Operation: 64*123=7872, Resulting Numbers: [7872]
7872,88 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
2,
10,
69,
19
] | 90 | [
"69-19=50",
"2*50=100",
"100-10=90"
] | Current State: 90:[2, 10, 69, 19], Operations: []
Exploring Operation: 69-19=50, Resulting Numbers: [2, 10, 50]
Generated Node #2: [2, 10, 50] from Operation: 69-19=50
Current State: 90:[2, 10, 50], Operations: ['69-19=50']
Exploring Operation: 2*50=100, Resulting Numbers: [10, 100]
Generated Node #3: [10, 100] from Operation: 2*50=100
Current State: 90:[10, 100], Operations: ['69-19=50', '2*50=100']
Exploring Operation: 100-10=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[2, 10, 69, 19], Operations: []
Exploring Operation: 69-19=50, Resulting Numbers: [2, 10, 50]
Generated Node #0,0: 90:[2, 10, 50] Operation: 69-19=50
Exploring Operation: 69+19=88, Resulting Numbers: [2, 10, 88]
Generated Node #0,1: 90:[2, 10, 88] Operation: 69+19=88
Start Sub Search at level 1: Moving to Node #0,1
Current State: 90:[2, 10, 88], Operations: ['69+19=88']
Exploring Operation: 2+88=90, Resulting Numbers: [10, 90]
Generated Node #0,1,0: 90:[10, 90] Operation: 2+88=90
Exploring Operation: 88/2=44, Resulting Numbers: [10, 44]
Generated Node #0,1,1: 90:[10, 44] Operation: 88/2=44
Moving to Node #0,1,0
Current State: 90:[10, 90], Operations: ['69+19=88', '2+88=90']
Exploring Operation: 90/10=9, Resulting Numbers: [9]
9,90 unequal: No Solution
Exploring Operation: 10+90=100, Resulting Numbers: [100]
100,90 unequal: No Solution
Moving to Node #0,1,1
Current State: 90:[10, 44], Operations: ['69+19=88', '88/2=44']
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,90 unequal: No Solution
Exploring Operation: 10+44=54, Resulting Numbers: [54]
54,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[2, 10, 50], Operations: ['69-19=50']
Exploring Operation: 50/10=5, Resulting Numbers: [2, 5]
Generated Node #0,0,0: 90:[2, 5] Operation: 50/10=5
Exploring Operation: 50-2=48, Resulting Numbers: [10, 48]
Generated Node #0,0,1: 90:[10, 48] Operation: 50-2=48
Moving to Node #0,0,0
Current State: 90:[2, 5], Operations: ['69-19=50', '50/10=5']
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,90 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Moving to Node #0,0,1
Current State: 90:[10, 48], Operations: ['69-19=50', '50-2=48']
Exploring Operation: 48-10=38, Resulting Numbers: [38]
38,90 unequal: No Solution
Exploring Operation: 10+48=58, Resulting Numbers: [58]
58,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
64,
31,
21,
28
] | 88 | [
"64+31=95",
"28-21=7",
"95-7=88"
] | Current State: 88:[64, 31, 21, 28], Operations: []
Exploring Operation: 64+31=95, Resulting Numbers: [21, 28, 95]
Generated Node #2: [21, 28, 95] from Operation: 64+31=95
Current State: 88:[21, 28, 95], Operations: ['64+31=95']
Exploring Operation: 28-21=7, Resulting Numbers: [95, 7]
Generated Node #3: [95, 7] from Operation: 28-21=7
Current State: 88:[95, 7], Operations: ['64+31=95', '28-21=7']
Exploring Operation: 95-7=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[64, 31, 21, 28], Operations: []
Exploring Operation: 64-31=33, Resulting Numbers: [21, 28, 33]
Generated Node #0,0: 88:[21, 28, 33] Operation: 64-31=33
Exploring Operation: 64+31=95, Resulting Numbers: [21, 28, 95]
Generated Node #0,1: 88:[21, 28, 95] Operation: 64+31=95
Exploring Operation: 64+28=92, Resulting Numbers: [31, 21, 92]
Generated Node #0,2: 88:[31, 21, 92] Operation: 64+28=92
Exploring Operation: 64-21=43, Resulting Numbers: [31, 28, 43]
Generated Node #0,3: 88:[31, 28, 43] Operation: 64-21=43
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[21, 28, 95], Operations: ['64+31=95']
Exploring Operation: 95-21=74, Resulting Numbers: [28, 74]
Generated Node #0,1,0: 88:[28, 74] Operation: 95-21=74
Exploring Operation: 21+28=49, Resulting Numbers: [95, 49]
Generated Node #0,1,1: 88:[95, 49] Operation: 21+28=49
Exploring Operation: 95-28=67, Resulting Numbers: [21, 67]
Generated Node #0,1,2: 88:[21, 67] Operation: 95-28=67
Exploring Operation: 28-21=7, Resulting Numbers: [95, 7]
Generated Node #0,1,3: 88:[95, 7] Operation: 28-21=7
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 88:[95, 7], Operations: ['64+31=95', '28-21=7']
Exploring Operation: 95+7=102, Resulting Numbers: [102]
102,88 unequal: No Solution
Exploring Operation: 95-7=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[64, 31, 21, 28], Operations: []
Exploring Operation: 64+31=95, Resulting Numbers: [21, 28, 95]
Generated Node #0,1: 88:[21, 28, 95] Operation: 64+31=95
Moving to Node #0,1
Current State: 88:[21, 28, 95], Operations: ['64+31=95']
Exploring Operation: 28-21=7, Resulting Numbers: [95, 7]
Generated Node #0,1,3: 88:[95, 7] Operation: 28-21=7
Moving to Node #0,1,3
Current State: 88:[95, 7], Operations: ['64+31=95', '28-21=7']
Exploring Operation: 95-7=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
50,
30,
40,
18
] | 23 | [
"40-30=10",
"50/10=5",
"18+5=23"
] | Current State: 23:[50, 30, 40, 18], Operations: []
Exploring Operation: 40-30=10, Resulting Numbers: [50, 18, 10]
Generated Node #2: [50, 18, 10] from Operation: 40-30=10
Current State: 23:[50, 18, 10], Operations: ['40-30=10']
Exploring Operation: 50/10=5, Resulting Numbers: [18, 5]
Generated Node #3: [18, 5] from Operation: 50/10=5
Current State: 23:[18, 5], Operations: ['40-30=10', '50/10=5']
Exploring Operation: 18+5=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[50, 30, 40, 18], Operations: []
Exploring Operation: 50-30=20, Resulting Numbers: [40, 18, 20]
Generated Node #0,0: 23:[40, 18, 20] Operation: 50-30=20
Moving to Node #0,0
Current State: 23:[40, 18, 20], Operations: ['50-30=20']
Exploring Operation: 40-18=22, Resulting Numbers: [20, 22]
Generated Node #0,0,0: 23:[20, 22] Operation: 40-18=22
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 23:[20, 22], Operations: ['50-30=20', '40-18=22']
Exploring Operation: 20+22=42, Resulting Numbers: [42]
42,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
66,
34,
8,
70
] | 79 | [
"34+70=104",
"104/8=13",
"66+13=79"
] | Current State: 79:[66, 34, 8, 70], Operations: []
Exploring Operation: 34+70=104, Resulting Numbers: [66, 8, 104]
Generated Node #2: [66, 8, 104] from Operation: 34+70=104
Current State: 79:[66, 8, 104], Operations: ['34+70=104']
Exploring Operation: 104/8=13, Resulting Numbers: [66, 13]
Generated Node #3: [66, 13] from Operation: 104/8=13
Current State: 79:[66, 13], Operations: ['34+70=104', '104/8=13']
Exploring Operation: 66+13=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[66, 34, 8, 70], Operations: []
Exploring Operation: 66+8=74, Resulting Numbers: [34, 70, 74]
Generated Node #0,0: 79:[34, 70, 74] Operation: 66+8=74
Exploring Operation: 34+8=42, Resulting Numbers: [66, 70, 42]
Generated Node #0,1: 79:[66, 70, 42] Operation: 34+8=42
Exploring Operation: 8+70=78, Resulting Numbers: [66, 34, 78]
Generated Node #0,2: 79:[66, 34, 78] Operation: 8+70=78
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[34, 70, 74], Operations: ['66+8=74']
Exploring Operation: 70-34=36, Resulting Numbers: [74, 36]
Generated Node #0,0,0: 79:[74, 36] Operation: 70-34=36
Exploring Operation: 34+70=104, Resulting Numbers: [74, 104]
Generated Node #0,0,1: 79:[74, 104] Operation: 34+70=104
Exploring Operation: 34+74=108, Resulting Numbers: [70, 108]
Generated Node #0,0,2: 79:[70, 108] Operation: 34+74=108
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 79:[74, 104], Operations: ['66+8=74', '34+70=104']
Exploring Operation: 74+104=178, Resulting Numbers: [178]
178,79 unequal: No Solution
Exploring Operation: 104-74=30, Resulting Numbers: [30]
30,79 unequal: No Solution
Exploring Operation: 74*104=7696, Resulting Numbers: [7696]
7696,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 79:[70, 108], Operations: ['66+8=74', '34+74=108']
Exploring Operation: 108-70=38, Resulting Numbers: [38]
38,79 unequal: No Solution
Exploring Operation: 70*108=7560, Resulting Numbers: [7560]
7560,79 unequal: No Solution
Exploring Operation: 70+108=178, Resulting Numbers: [178]
178,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[74, 36], Operations: ['66+8=74', '70-34=36']
Exploring Operation: 74-36=38, Resulting Numbers: [38]
38,79 unequal: No Solution
Exploring Operation: 74*36=2664, Resulting Numbers: [2664]
2664,79 unequal: No Solution
Exploring Operation: 74+36=110, Resulting Numbers: [110]
110,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[66, 70, 42], Operations: ['34+8=42']
Exploring Operation: 66-42=24, Resulting Numbers: [70, 24]
Generated Node #0,1,0: 79:[70, 24] Operation: 66-42=24
Exploring Operation: 70+42=112, Resulting Numbers: [66, 112]
Generated Node #0,1,1: 79:[66, 112] Operation: 70+42=112
Exploring Operation: 66+42=108, Resulting Numbers: [70, 108]
Generated Node #0,1,2: 79:[70, 108] Operation: 66+42=108
Moving to Node #0,1,2
Current State: 79:[70, 108], Operations: ['34+8=42', '66+42=108']
Exploring Operation: 70+108=178, Resulting Numbers: [178]
178,79 unequal: No Solution
Exploring Operation: 108-70=38, Resulting Numbers: [38]
38,79 unequal: No Solution
Exploring Operation: 70*108=7560, Resulting Numbers: [7560]
7560,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[66, 112], Operations: ['34+8=42', '70+42=112']
Exploring Operation: 112-66=46, Resulting Numbers: [46]
46,79 unequal: No Solution
Exploring Operation: 66+112=178, Resulting Numbers: [178]
178,79 unequal: No Solution
Exploring Operation: 66*112=7392, Resulting Numbers: [7392]
7392,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[70, 24], Operations: ['34+8=42', '66-42=24']
Exploring Operation: 70*24=1680, Resulting Numbers: [1680]
1680,79 unequal: No Solution
Exploring Operation: 70+24=94, Resulting Numbers: [94]
94,79 unequal: No Solution
Exploring Operation: 70-24=46, Resulting Numbers: [46]
46,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,2
Current State: 79:[66, 34, 78], Operations: ['8+70=78']
Exploring Operation: 34+78=112, Resulting Numbers: [66, 112]
Generated Node #0,2,0: 79:[66, 112] Operation: 34+78=112
Exploring Operation: 66+34=100, Resulting Numbers: [78, 100]
Generated Node #0,2,1: 79:[78, 100] Operation: 66+34=100
Exploring Operation: 66-34=32, Resulting Numbers: [78, 32]
Generated Node #0,2,2: 79:[78, 32] Operation: 66-34=32
Moving to Node #0,2,1
Current State: 79:[78, 100], Operations: ['8+70=78', '66+34=100']
Exploring Operation: 78+100=178, Resulting Numbers: [178]
178,79 unequal: No Solution
Exploring Operation: 100-78=22, Resulting Numbers: [22]
22,79 unequal: No Solution
Exploring Operation: 78*100=7800, Resulting Numbers: [7800]
7800,79 unequal: No Solution
Moving to Node #0,2,0
Current State: 79:[66, 112], Operations: ['8+70=78', '34+78=112']
Exploring Operation: 112-66=46, Resulting Numbers: [46]
46,79 unequal: No Solution
Exploring Operation: 66+112=178, Resulting Numbers: [178]
178,79 unequal: No Solution
Exploring Operation: 66*112=7392, Resulting Numbers: [7392]
7392,79 unequal: No Solution
Moving to Node #0,2,2
Current State: 79:[78, 32], Operations: ['8+70=78', '66-34=32']
Exploring Operation: 78*32=2496, Resulting Numbers: [2496]
2496,79 unequal: No Solution
Exploring Operation: 78-32=46, Resulting Numbers: [46]
46,79 unequal: No Solution
Exploring Operation: 78+32=110, Resulting Numbers: [110]
110,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
28,
43,
71,
4
] | 35 | [
"28/4=7",
"71-43=28",
"7+28=35"
] | Current State: 35:[28, 43, 71, 4], Operations: []
Exploring Operation: 28/4=7, Resulting Numbers: [43, 71, 7]
Generated Node #2: [43, 71, 7] from Operation: 28/4=7
Current State: 35:[43, 71, 7], Operations: ['28/4=7']
Exploring Operation: 71-43=28, Resulting Numbers: [7, 28]
Generated Node #3: [7, 28] from Operation: 71-43=28
Current State: 35:[7, 28], Operations: ['28/4=7', '71-43=28']
Exploring Operation: 7+28=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[28, 43, 71, 4], Operations: []
Exploring Operation: 71-43=28, Resulting Numbers: [28, 4, 28]
Generated Node #0,0: 35:[28, 4, 28] Operation: 71-43=28
Exploring Operation: 43-28=15, Resulting Numbers: [71, 4, 15]
Generated Node #0,1: 35:[71, 4, 15] Operation: 43-28=15
Exploring Operation: 28+4=32, Resulting Numbers: [43, 71, 32]
Generated Node #0,2: 35:[43, 71, 32] Operation: 28+4=32
Exploring Operation: 28/4=7, Resulting Numbers: [43, 71, 7]
Generated Node #0,3: 35:[43, 71, 7] Operation: 28/4=7
Exploring Operation: 71-28=43, Resulting Numbers: [43, 4, 43]
Generated Node #0,4: 35:[43, 4, 43] Operation: 71-28=43
Moving to Node #0,0
Current State: 35:[28, 4, 28], Operations: ['71-43=28']
Exploring Operation: 28/4=7, Resulting Numbers: [28, 7]
Generated Node #0,0,0: 35:[28, 7] Operation: 28/4=7
Exploring Operation: 28/4=7, Resulting Numbers: [28, 7]
Generated Node #0,0,1: 35:[28, 7] Operation: 28/4=7
Exploring Operation: 28+4=32, Resulting Numbers: [28, 32]
Generated Node #0,0,2: 35:[28, 32] Operation: 28+4=32
Exploring Operation: 28/28=1, Resulting Numbers: [4, 1]
Generated Node #0,0,3: 35:[4, 1] Operation: 28/28=1
Exploring Operation: 28-28=0, Resulting Numbers: [4, 0]
Generated Node #0,0,4: 35:[4, 0] Operation: 28-28=0
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 35:[4, 1], Operations: ['71-43=28', '28/28=1']
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,35 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,35 unequal: No Solution
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,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,0,4
Current State: 35:[4, 0], Operations: ['71-43=28', '28-28=0']
Exploring Operation: 4*0=0, Resulting Numbers: [0]
0,35 unequal: No Solution
Exploring Operation: 4-0=4, Resulting Numbers: [4]
4,35 unequal: No Solution
Exploring Operation: 4+0=4, Resulting Numbers: [4]
4,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,0,0
Current State: 35:[28, 7], Operations: ['71-43=28', '28/4=7']
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,35 unequal: No Solution
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,35 unequal: No Solution
Exploring Operation: 28*7=196, Resulting Numbers: [196]
196,35 unequal: No Solution
Exploring Operation: 28+7=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[28, 43, 71, 4], Operations: []
Exploring Operation: 71-43=28, Resulting Numbers: [28, 4, 28]
Generated Node #0,0: 35:[28, 4, 28] Operation: 71-43=28
Moving to Node #0,0
Current State: 35:[28, 4, 28], Operations: ['71-43=28']
Exploring Operation: 28/4=7, Resulting Numbers: [28, 7]
Generated Node #0,0,0: 35:[28, 7] Operation: 28/4=7
Moving to Node #0,0,0
Current State: 35:[28, 7], Operations: ['71-43=28', '28/4=7']
Exploring Operation: 28+7=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_5 | sum_heuristic |
[
55,
72,
42,
76
] | 74 | [
"76-55=21",
"42/21=2",
"72+2=74"
] | Current State: 74:[55, 72, 42, 76], Operations: []
Exploring Operation: 76-55=21, Resulting Numbers: [72, 42, 21]
Generated Node #2: [72, 42, 21] from Operation: 76-55=21
Current State: 74:[72, 42, 21], Operations: ['76-55=21']
Exploring Operation: 42/21=2, Resulting Numbers: [72, 2]
Generated Node #3: [72, 2] from Operation: 42/21=2
Current State: 74:[72, 2], Operations: ['76-55=21', '42/21=2']
Exploring Operation: 72+2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[55, 72, 42, 76], Operations: []
Exploring Operation: 76-55=21, Resulting Numbers: [72, 42, 21]
Generated Node #0,0: 74:[72, 42, 21] Operation: 76-55=21
Exploring Operation: 72-55=17, Resulting Numbers: [42, 76, 17]
Generated Node #0,1: 74:[42, 76, 17] Operation: 72-55=17
Exploring Operation: 55-42=13, Resulting Numbers: [72, 76, 13]
Generated Node #0,2: 74:[72, 76, 13] Operation: 55-42=13
Start Sub Search at level 1: Moving to Node #0,2
Current State: 74:[72, 76, 13], Operations: ['55-42=13']
Exploring Operation: 76-72=4, Resulting Numbers: [13, 4]
Generated Node #0,2,0: 74:[13, 4] Operation: 76-72=4
Exploring Operation: 76-13=63, Resulting Numbers: [72, 63]
Generated Node #0,2,1: 74:[72, 63] Operation: 76-13=63
Exploring Operation: 72+13=85, Resulting Numbers: [76, 85]
Generated Node #0,2,2: 74:[76, 85] Operation: 72+13=85
Moving to Node #0,2,0
Current State: 74:[13, 4], Operations: ['55-42=13', '76-72=4']
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,74 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,74 unequal: No Solution
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,74 unequal: No Solution
Moving to Node #0,2,1
Current State: 74:[72, 63], Operations: ['55-42=13', '76-13=63']
Exploring Operation: 72-63=9, Resulting Numbers: [9]
9,74 unequal: No Solution
Exploring Operation: 72*63=4536, Resulting Numbers: [4536]
4536,74 unequal: No Solution
Exploring Operation: 72+63=135, Resulting Numbers: [135]
135,74 unequal: No Solution
Moving to Node #0,2,2
Current State: 74:[76, 85], Operations: ['55-42=13', '72+13=85']
Exploring Operation: 76*85=6460, Resulting Numbers: [6460]
6460,74 unequal: No Solution
Exploring Operation: 85-76=9, Resulting Numbers: [9]
9,74 unequal: No Solution
Exploring Operation: 76+85=161, Resulting Numbers: [161]
161,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[42, 76, 17], Operations: ['72-55=17']
Exploring Operation: 42+17=59, Resulting Numbers: [76, 59]
Generated Node #0,1,0: 74:[76, 59] Operation: 42+17=59
Exploring Operation: 42-17=25, Resulting Numbers: [76, 25]
Generated Node #0,1,1: 74:[76, 25] Operation: 42-17=25
Exploring Operation: 76-42=34, Resulting Numbers: [17, 34]
Generated Node #0,1,2: 74:[17, 34] Operation: 76-42=34
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 74:[76, 25], Operations: ['72-55=17', '42-17=25']
Exploring Operation: 76*25=1900, Resulting Numbers: [1900]
1900,74 unequal: No Solution
Exploring Operation: 76-25=51, Resulting Numbers: [51]
51,74 unequal: No Solution
Exploring Operation: 76+25=101, Resulting Numbers: [101]
101,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 74:[76, 59], Operations: ['72-55=17', '42+17=59']
Exploring Operation: 76-59=17, Resulting Numbers: [17]
17,74 unequal: No Solution
Exploring Operation: 76*59=4484, Resulting Numbers: [4484]
4484,74 unequal: No Solution
Exploring Operation: 76+59=135, Resulting Numbers: [135]
135,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 74:[17, 34], Operations: ['72-55=17', '76-42=34']
Exploring Operation: 34/17=2, Resulting Numbers: [2]
2,74 unequal: No Solution
Exploring Operation: 34-17=17, Resulting Numbers: [17]
17,74 unequal: No Solution
Exploring Operation: 17+34=51, Resulting Numbers: [51]
51,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,0
Current State: 74:[72, 42, 21], Operations: ['76-55=21']
Exploring Operation: 42-21=21, Resulting Numbers: [72, 21]
Generated Node #0,0,0: 74:[72, 21] Operation: 42-21=21
Exploring Operation: 42+21=63, Resulting Numbers: [72, 63]
Generated Node #0,0,1: 74:[72, 63] Operation: 42+21=63
Exploring Operation: 42/21=2, Resulting Numbers: [72, 2]
Generated Node #0,0,2: 74:[72, 2] Operation: 42/21=2
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 74:[72, 2], Operations: ['76-55=21', '42/21=2']
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,74 unequal: No Solution
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,74 unequal: No Solution
Exploring Operation: 72+2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[55, 72, 42, 76], Operations: []
Exploring Operation: 76-55=21, Resulting Numbers: [72, 42, 21]
Generated Node #0,0: 74:[72, 42, 21] Operation: 76-55=21
Moving to Node #0,0
Current State: 74:[72, 42, 21], Operations: ['76-55=21']
Exploring Operation: 42/21=2, Resulting Numbers: [72, 2]
Generated Node #0,0,2: 74:[72, 2] Operation: 42/21=2
Moving to Node #0,0,2
Current State: 74:[72, 2], Operations: ['76-55=21', '42/21=2']
Exploring Operation: 72+2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967882 | hs_3 | mult_heuristic |
[
61,
20,
46,
63
] | 33 | [
"63-61=2",
"20+46=66",
"66/2=33"
] | Current State: 33:[61, 20, 46, 63], Operations: []
Exploring Operation: 63-61=2, Resulting Numbers: [20, 46, 2]
Generated Node #2: [20, 46, 2] from Operation: 63-61=2
Current State: 33:[20, 46, 2], Operations: ['63-61=2']
Exploring Operation: 20+46=66, Resulting Numbers: [2, 66]
Generated Node #3: [2, 66] from Operation: 20+46=66
Current State: 33:[2, 66], Operations: ['63-61=2', '20+46=66']
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[61, 20, 46, 63], Operations: []
Exploring Operation: 63-46=17, Resulting Numbers: [61, 20, 17]
Generated Node #0,0: 33:[61, 20, 17] Operation: 63-46=17
Exploring Operation: 61-20=41, Resulting Numbers: [46, 63, 41]
Generated Node #0,1: 33:[46, 63, 41] Operation: 61-20=41
Exploring Operation: 61-46=15, Resulting Numbers: [20, 63, 15]
Generated Node #0,2: 33:[20, 63, 15] Operation: 61-46=15
Exploring Operation: 63-61=2, Resulting Numbers: [20, 46, 2]
Generated Node #0,3: 33:[20, 46, 2] Operation: 63-61=2
Start Sub Search at level 1: Moving to Node #0,3
Current State: 33:[20, 46, 2], Operations: ['63-61=2']
Exploring Operation: 46-20=26, Resulting Numbers: [2, 26]
Generated Node #0,3,0: 33:[2, 26] Operation: 46-20=26
Exploring Operation: 20*2=40, Resulting Numbers: [46, 40]
Generated Node #0,3,1: 33:[46, 40] Operation: 20*2=40
Exploring Operation: 46/2=23, Resulting Numbers: [20, 23]
Generated Node #0,3,2: 33:[20, 23] Operation: 46/2=23
Exploring Operation: 20/2=10, Resulting Numbers: [46, 10]
Generated Node #0,3,3: 33:[46, 10] Operation: 20/2=10
Moving to Node #0,3,0
Current State: 33:[2, 26], Operations: ['63-61=2', '46-20=26']
Exploring Operation: 2*26=52, Resulting Numbers: [52]
52,33 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,33 unequal: No Solution
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,33 unequal: No Solution
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,33 unequal: No Solution
Moving to Node #0,3,3
Current State: 33:[46, 10], Operations: ['63-61=2', '20/2=10']
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,33 unequal: No Solution
Exploring Operation: 46*10=460, Resulting Numbers: [460]
460,33 unequal: No Solution
Exploring Operation: 46+10=56, Resulting Numbers: [56]
56,33 unequal: No Solution
Moving to Node #0,3,2
Current State: 33:[20, 23], Operations: ['63-61=2', '46/2=23']
Exploring Operation: 20*23=460, Resulting Numbers: [460]
460,33 unequal: No Solution
Exploring Operation: 20+23=43, Resulting Numbers: [43]
43,33 unequal: No Solution
Exploring Operation: 23-20=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Moving to Node #0,3,1
Current State: 33:[46, 40], Operations: ['63-61=2', '20*2=40']
Exploring Operation: 46*40=1840, Resulting Numbers: [1840]
1840,33 unequal: No Solution
Exploring Operation: 46+40=86, Resulting Numbers: [86]
86,33 unequal: No Solution
Exploring Operation: 46-40=6, Resulting Numbers: [6]
6,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[61, 20, 17], Operations: ['63-46=17']
Exploring Operation: 61-20=41, Resulting Numbers: [17, 41]
Generated Node #0,0,0: 33:[17, 41] Operation: 61-20=41
Exploring Operation: 20+17=37, Resulting Numbers: [61, 37]
Generated Node #0,0,1: 33:[61, 37] Operation: 20+17=37
Exploring Operation: 20-17=3, Resulting Numbers: [61, 3]
Generated Node #0,0,2: 33:[61, 3] Operation: 20-17=3
Exploring Operation: 61-17=44, Resulting Numbers: [20, 44]
Generated Node #0,0,3: 33:[20, 44] Operation: 61-17=44
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 33:[17, 41], Operations: ['63-46=17', '61-20=41']
Exploring Operation: 41-17=24, Resulting Numbers: [24]
24,33 unequal: No Solution
Exploring Operation: 17+41=58, Resulting Numbers: [58]
58,33 unequal: No Solution
Exploring Operation: 17*41=697, Resulting Numbers: [697]
697,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 33:[20, 44], Operations: ['63-46=17', '61-17=44']
Exploring Operation: 44-20=24, Resulting Numbers: [24]
24,33 unequal: No Solution
Exploring Operation: 20*44=880, Resulting Numbers: [880]
880,33 unequal: No Solution
Exploring Operation: 20+44=64, Resulting Numbers: [64]
64,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 33:[61, 3], Operations: ['63-46=17', '20-17=3']
Exploring Operation: 61*3=183, Resulting Numbers: [183]
183,33 unequal: No Solution
Exploring Operation: 61-3=58, Resulting Numbers: [58]
58,33 unequal: No Solution
Exploring Operation: 61+3=64, Resulting Numbers: [64]
64,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 33:[61, 37], Operations: ['63-46=17', '20+17=37']
Exploring Operation: 61*37=2257, Resulting Numbers: [2257]
2257,33 unequal: No Solution
Exploring Operation: 61+37=98, Resulting Numbers: [98]
98,33 unequal: No Solution
Exploring Operation: 61-37=24, Resulting Numbers: [24]
24,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 33:[20, 63, 15], Operations: ['61-46=15']
Exploring Operation: 20-15=5, Resulting Numbers: [63, 5]
Generated Node #0,2,0: 33:[63, 5] Operation: 20-15=5
Exploring Operation: 20+15=35, Resulting Numbers: [63, 35]
Generated Node #0,2,1: 33:[63, 35] Operation: 20+15=35
Exploring Operation: 63-15=48, Resulting Numbers: [20, 48]
Generated Node #0,2,2: 33:[20, 48] Operation: 63-15=48
Exploring Operation: 63-20=43, Resulting Numbers: [15, 43]
Generated Node #0,2,3: 33:[15, 43] Operation: 63-20=43
Moving to Node #0,2,3
Current State: 33:[15, 43], Operations: ['61-46=15', '63-20=43']
Exploring Operation: 15+43=58, Resulting Numbers: [58]
58,33 unequal: No Solution
Exploring Operation: 15*43=645, Resulting Numbers: [645]
645,33 unequal: No Solution
Exploring Operation: 43-15=28, Resulting Numbers: [28]
28,33 unequal: No Solution
Moving to Node #0,2,2
Current State: 33:[20, 48], Operations: ['61-46=15', '63-15=48']
Exploring Operation: 48-20=28, Resulting Numbers: [28]
28,33 unequal: No Solution
Exploring Operation: 20*48=960, Resulting Numbers: [960]
960,33 unequal: No Solution
Exploring Operation: 20+48=68, Resulting Numbers: [68]
68,33 unequal: No Solution
Moving to Node #0,2,1
Current State: 33:[63, 35], Operations: ['61-46=15', '20+15=35']
Exploring Operation: 63+35=98, Resulting Numbers: [98]
98,33 unequal: No Solution
Exploring Operation: 63-35=28, Resulting Numbers: [28]
28,33 unequal: No Solution
Exploring Operation: 63*35=2205, Resulting Numbers: [2205]
2205,33 unequal: No Solution
Moving to Node #0,2,0
Current State: 33:[63, 5], Operations: ['61-46=15', '20-15=5']
Exploring Operation: 63*5=315, Resulting Numbers: [315]
315,33 unequal: No Solution
Exploring Operation: 63-5=58, Resulting Numbers: [58]
58,33 unequal: No Solution
Exploring Operation: 63+5=68, Resulting Numbers: [68]
68,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 33:[46, 63, 41], Operations: ['61-20=41']
Exploring Operation: 63-46=17, Resulting Numbers: [41, 17]
Generated Node #0,1,0: 33:[41, 17] Operation: 63-46=17
Exploring Operation: 46-41=5, Resulting Numbers: [63, 5]
Generated Node #0,1,1: 33:[63, 5] Operation: 46-41=5
Exploring Operation: 46+63=109, Resulting Numbers: [41, 109]
Generated Node #0,1,2: 33:[41, 109] Operation: 46+63=109
Exploring Operation: 63-41=22, Resulting Numbers: [46, 22]
Generated Node #0,1,3: 33:[46, 22] Operation: 63-41=22
Moving to Node #0,1,0
Current State: 33:[41, 17], Operations: ['61-20=41', '63-46=17']
Exploring Operation: 41-17=24, Resulting Numbers: [24]
24,33 unequal: No Solution
Exploring Operation: 41+17=58, Resulting Numbers: [58]
58,33 unequal: No Solution
Exploring Operation: 41*17=697, Resulting Numbers: [697]
697,33 unequal: No Solution
Moving to Node #0,1,3
Current State: 33:[46, 22], Operations: ['61-20=41', '63-41=22']
Exploring Operation: 46*22=1012, Resulting Numbers: [1012]
1012,33 unequal: No Solution
Exploring Operation: 46-22=24, Resulting Numbers: [24]
24,33 unequal: No Solution
Exploring Operation: 46+22=68, Resulting Numbers: [68]
68,33 unequal: No Solution
Moving to Node #0,1,1
Current State: 33:[63, 5], Operations: ['61-20=41', '46-41=5']
Exploring Operation: 63*5=315, Resulting Numbers: [315]
315,33 unequal: No Solution
Exploring Operation: 63-5=58, Resulting Numbers: [58]
58,33 unequal: No Solution
Exploring Operation: 63+5=68, Resulting Numbers: [68]
68,33 unequal: No Solution
Moving to Node #0,1,2
Current State: 33:[41, 109], Operations: ['61-20=41', '46+63=109']
Exploring Operation: 41*109=4469, Resulting Numbers: [4469]
4469,33 unequal: No Solution
Exploring Operation: 41+109=150, Resulting Numbers: [150]
150,33 unequal: No Solution
Exploring Operation: 109-41=68, Resulting Numbers: [68]
68,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
38,
28,
4,
92
] | 22 | [
"38+28=66",
"92-4=88",
"88-66=22"
] | Current State: 22:[38, 28, 4, 92], Operations: []
Exploring Operation: 38+28=66, Resulting Numbers: [4, 92, 66]
Generated Node #2: [4, 92, 66] from Operation: 38+28=66
Current State: 22:[4, 92, 66], Operations: ['38+28=66']
Exploring Operation: 92-4=88, Resulting Numbers: [66, 88]
Generated Node #3: [66, 88] from Operation: 92-4=88
Current State: 22:[66, 88], Operations: ['38+28=66', '92-4=88']
Exploring Operation: 88-66=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[38, 28, 4, 92], Operations: []
Exploring Operation: 92-38=54, Resulting Numbers: [28, 4, 54]
Generated Node #0,0: 22:[28, 4, 54] Operation: 92-38=54
Exploring Operation: 92/4=23, Resulting Numbers: [38, 28, 23]
Generated Node #0,1: 22:[38, 28, 23] Operation: 92/4=23
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[38, 28, 23], Operations: ['92/4=23']
Exploring Operation: 38-23=15, Resulting Numbers: [28, 15]
Generated Node #0,1,0: 22:[28, 15] Operation: 38-23=15
Exploring Operation: 38-28=10, Resulting Numbers: [23, 10]
Generated Node #0,1,1: 22:[23, 10] Operation: 38-28=10
Moving to Node #0,1,1
Current State: 22:[23, 10], Operations: ['92/4=23', '38-28=10']
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,22 unequal: No Solution
Exploring Operation: 23+10=33, Resulting Numbers: [33]
33,22 unequal: No Solution
Moving to Node #0,1,0
Current State: 22:[28, 15], Operations: ['92/4=23', '38-23=15']
Exploring Operation: 28-15=13, Resulting Numbers: [13]
13,22 unequal: No Solution
Exploring Operation: 28+15=43, Resulting Numbers: [43]
43,22 unequal: No Solution
No 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: 22:[28, 4, 54], Operations: ['92-38=54']
Exploring Operation: 54-28=26, Resulting Numbers: [4, 26]
Generated Node #0,0,0: 22:[4, 26] Operation: 54-28=26
Exploring Operation: 28-4=24, Resulting Numbers: [54, 24]
Generated Node #0,0,1: 22:[54, 24] Operation: 28-4=24
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 22:[4, 26], Operations: ['92-38=54', '54-28=26']
Exploring Operation: 4+26=30, Resulting Numbers: [30]
30,22 unequal: No Solution
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[38, 28, 4, 92], Operations: []
Exploring Operation: 92-38=54, Resulting Numbers: [28, 4, 54]
Generated Node #0,0: 22:[28, 4, 54] Operation: 92-38=54
Moving to Node #0,0
Current State: 22:[28, 4, 54], Operations: ['92-38=54']
Exploring Operation: 54-28=26, Resulting Numbers: [4, 26]
Generated Node #0,0,0: 22:[4, 26] Operation: 54-28=26
Moving to Node #0,0,0
Current State: 22:[4, 26], Operations: ['92-38=54', '54-28=26']
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
53,
66,
6,
61
] | 19 | [
"61-53=8",
"66/6=11",
"8+11=19"
] | Current State: 19:[53, 66, 6, 61], Operations: []
Exploring Operation: 61-53=8, Resulting Numbers: [66, 6, 8]
Generated Node #2: [66, 6, 8] from Operation: 61-53=8
Current State: 19:[66, 6, 8], Operations: ['61-53=8']
Exploring Operation: 66/6=11, Resulting Numbers: [8, 11]
Generated Node #3: [8, 11] from Operation: 66/6=11
Current State: 19:[8, 11], Operations: ['61-53=8', '66/6=11']
Exploring Operation: 8+11=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[53, 66, 6, 61], Operations: []
Exploring Operation: 61-53=8, Resulting Numbers: [66, 6, 8]
Generated Node #0,0: 19:[66, 6, 8] Operation: 61-53=8
Exploring Operation: 66/6=11, Resulting Numbers: [53, 61, 11]
Generated Node #0,1: 19:[53, 61, 11] Operation: 66/6=11
Exploring Operation: 53-6=47, Resulting Numbers: [66, 61, 47]
Generated Node #0,2: 19:[66, 61, 47] Operation: 53-6=47
Exploring Operation: 66-61=5, Resulting Numbers: [53, 6, 5]
Generated Node #0,3: 19:[53, 6, 5] Operation: 66-61=5
Exploring Operation: 66-53=13, Resulting Numbers: [6, 61, 13]
Generated Node #0,4: 19:[6, 61, 13] Operation: 66-53=13
Start Sub Search at level 1: Moving to Node #0,3
Current State: 19:[53, 6, 5], Operations: ['66-61=5']
Exploring Operation: 53-5=48, Resulting Numbers: [6, 48]
Generated Node #0,3,0: 19:[6, 48] Operation: 53-5=48
Exploring Operation: 6+5=11, Resulting Numbers: [53, 11]
Generated Node #0,3,1: 19:[53, 11] Operation: 6+5=11
Exploring Operation: 53-6=47, Resulting Numbers: [5, 47]
Generated Node #0,3,2: 19:[5, 47] Operation: 53-6=47
Exploring Operation: 53+5=58, Resulting Numbers: [6, 58]
Generated Node #0,3,3: 19:[6, 58] Operation: 53+5=58
Exploring Operation: 6*5=30, Resulting Numbers: [53, 30]
Generated Node #0,3,4: 19:[53, 30] Operation: 6*5=30
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 19:[6, 48], Operations: ['66-61=5', '53-5=48']
Exploring Operation: 48/6=8, Resulting Numbers: [8]
8,19 unequal: No Solution
Exploring Operation: 6*48=288, Resulting Numbers: [288]
288,19 unequal: No Solution
Exploring Operation: 6+48=54, Resulting Numbers: [54]
54,19 unequal: No Solution
Exploring Operation: 48-6=42, Resulting Numbers: [42]
42,19 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: 19:[53, 11], Operations: ['66-61=5', '6+5=11']
Exploring Operation: 53-11=42, Resulting Numbers: [42]
42,19 unequal: No Solution
Exploring Operation: 53+11=64, Resulting Numbers: [64]
64,19 unequal: No Solution
Exploring Operation: 53*11=583, Resulting Numbers: [583]
583,19 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: 19:[5, 47], Operations: ['66-61=5', '53-6=47']
Exploring Operation: 5*47=235, Resulting Numbers: [235]
235,19 unequal: No Solution
Exploring Operation: 5+47=52, Resulting Numbers: [52]
52,19 unequal: No Solution
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,19 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: 19:[53, 30], Operations: ['66-61=5', '6*5=30']
Exploring Operation: 53-30=23, Resulting Numbers: [23]
23,19 unequal: No Solution
Exploring Operation: 53+30=83, Resulting Numbers: [83]
83,19 unequal: No Solution
Exploring Operation: 53*30=1590, Resulting Numbers: [1590]
1590,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 19:[6, 58], Operations: ['66-61=5', '53+5=58']
Exploring Operation: 6+58=64, Resulting Numbers: [64]
64,19 unequal: No Solution
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,19 unequal: No Solution
Exploring Operation: 6*58=348, Resulting Numbers: [348]
348,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 19:[6, 61, 13], Operations: ['66-53=13']
Exploring Operation: 61-13=48, Resulting Numbers: [6, 48]
Generated Node #0,4,0: 19:[6, 48] Operation: 61-13=48
Exploring Operation: 13-6=7, Resulting Numbers: [61, 7]
Generated Node #0,4,1: 19:[61, 7] Operation: 13-6=7
Exploring Operation: 61-6=55, Resulting Numbers: [13, 55]
Generated Node #0,4,2: 19:[13, 55] Operation: 61-6=55
Exploring Operation: 6+13=19, Resulting Numbers: [61, 19]
Generated Node #0,4,3: 19:[61, 19] Operation: 6+13=19
Exploring Operation: 6+61=67, Resulting Numbers: [13, 67]
Generated Node #0,4,4: 19:[13, 67] Operation: 6+61=67
Moving to Node #0,4,0
Current State: 19:[6, 48], Operations: ['66-53=13', '61-13=48']
Exploring Operation: 6+48=54, Resulting Numbers: [54]
54,19 unequal: No Solution
Exploring Operation: 48/6=8, Resulting Numbers: [8]
8,19 unequal: No Solution
Exploring Operation: 6*48=288, Resulting Numbers: [288]
288,19 unequal: No Solution
Exploring Operation: 48-6=42, Resulting Numbers: [42]
42,19 unequal: No Solution
Moving to Node #0,4,3
Current State: 19:[61, 19], Operations: ['66-53=13', '6+13=19']
Exploring Operation: 61+19=80, Resulting Numbers: [80]
80,19 unequal: No Solution
Exploring Operation: 61-19=42, Resulting Numbers: [42]
42,19 unequal: No Solution
Exploring Operation: 61*19=1159, Resulting Numbers: [1159]
1159,19 unequal: No Solution
Moving to Node #0,4,2
Current State: 19:[13, 55], Operations: ['66-53=13', '61-6=55']
Exploring Operation: 55-13=42, Resulting Numbers: [42]
42,19 unequal: No Solution
Exploring Operation: 13*55=715, Resulting Numbers: [715]
715,19 unequal: No Solution
Exploring Operation: 13+55=68, Resulting Numbers: [68]
68,19 unequal: No Solution
Moving to Node #0,4,1
Current State: 19:[61, 7], Operations: ['66-53=13', '13-6=7']
Exploring Operation: 61+7=68, Resulting Numbers: [68]
68,19 unequal: No Solution
Exploring Operation: 61*7=427, Resulting Numbers: [427]
427,19 unequal: No Solution
Exploring Operation: 61-7=54, Resulting Numbers: [54]
54,19 unequal: No Solution
Moving to Node #0,4,4
Current State: 19:[13, 67], Operations: ['66-53=13', '6+61=67']
Exploring Operation: 67-13=54, Resulting Numbers: [54]
54,19 unequal: No Solution
Exploring Operation: 13*67=871, Resulting Numbers: [871]
871,19 unequal: No Solution
Exploring Operation: 13+67=80, Resulting Numbers: [80]
80,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[66, 6, 8], Operations: ['61-53=8']
Exploring Operation: 66+6=72, Resulting Numbers: [8, 72]
Generated Node #0,0,0: 19:[8, 72] Operation: 66+6=72
Exploring Operation: 66/6=11, Resulting Numbers: [8, 11]
Generated Node #0,0,1: 19:[8, 11] Operation: 66/6=11
Exploring Operation: 6+8=14, Resulting Numbers: [66, 14]
Generated Node #0,0,2: 19:[66, 14] Operation: 6+8=14
Exploring Operation: 66-6=60, Resulting Numbers: [8, 60]
Generated Node #0,0,3: 19:[8, 60] Operation: 66-6=60
Exploring Operation: 66-8=58, Resulting Numbers: [6, 58]
Generated Node #0,0,4: 19:[6, 58] Operation: 66-8=58
Moving to Node #0,0,1
Current State: 19:[8, 11], Operations: ['61-53=8', '66/6=11']
Exploring Operation: 8+11=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[53, 66, 6, 61], Operations: []
Exploring Operation: 61-53=8, Resulting Numbers: [66, 6, 8]
Generated Node #0,0: 19:[66, 6, 8] Operation: 61-53=8
Moving to Node #0,0
Current State: 19:[66, 6, 8], Operations: ['61-53=8']
Exploring Operation: 66/6=11, Resulting Numbers: [8, 11]
Generated Node #0,0,1: 19:[8, 11] Operation: 66/6=11
Moving to Node #0,0,1
Current State: 19:[8, 11], Operations: ['61-53=8', '66/6=11']
Exploring Operation: 8+11=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.950521 | hs_5 | sum_heuristic |
[
65,
99,
91,
89
] | 31 | [
"91-89=2",
"65*2=130",
"130-99=31"
] | Current State: 31:[65, 99, 91, 89], Operations: []
Exploring Operation: 91-89=2, Resulting Numbers: [65, 99, 2]
Generated Node #2: [65, 99, 2] from Operation: 91-89=2
Current State: 31:[65, 99, 2], Operations: ['91-89=2']
Exploring Operation: 65*2=130, Resulting Numbers: [99, 130]
Generated Node #3: [99, 130] from Operation: 65*2=130
Current State: 31:[99, 130], Operations: ['91-89=2', '65*2=130']
Exploring Operation: 130-99=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[65, 99, 91, 89], Operations: []
Exploring Operation: 99-91=8, Resulting Numbers: [65, 89, 8]
Generated Node #0,0: 31:[65, 89, 8] Operation: 99-91=8
Exploring Operation: 99-89=10, Resulting Numbers: [65, 91, 10]
Generated Node #0,1: 31:[65, 91, 10] Operation: 99-89=10
Moving to Node #0,0
Current State: 31:[65, 89, 8], Operations: ['99-91=8']
Exploring Operation: 89-65=24, Resulting Numbers: [8, 24]
Generated Node #0,0,0: 31:[8, 24] Operation: 89-65=24
Exploring Operation: 65-8=57, Resulting Numbers: [89, 57]
Generated Node #0,0,1: 31:[89, 57] Operation: 65-8=57
Moving to Node #0,1
Current State: 31:[65, 91, 10], Operations: ['99-89=10']
Exploring Operation: 91-65=26, Resulting Numbers: [10, 26]
Generated Node #0,1,0: 31:[10, 26] Operation: 91-65=26
Exploring Operation: 65-10=55, Resulting Numbers: [91, 55]
Generated Node #0,1,1: 31:[91, 55] Operation: 65-10=55
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 31:[10, 26], Operations: ['99-89=10', '91-65=26']
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,31 unequal: No Solution
Exploring Operation: 10+26=36, Resulting Numbers: [36]
36,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,1,1
Current State: 31:[91, 55], Operations: ['99-89=10', '65-10=55']
Exploring Operation: 91+55=146, Resulting Numbers: [146]
146,31 unequal: No Solution
Exploring Operation: 91-55=36, Resulting Numbers: [36]
36,31 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: 31:[8, 24], Operations: ['99-91=8', '89-65=24']
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,31 unequal: No Solution
Exploring Operation: 8+24=32, Resulting Numbers: [32]
32,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[89, 57], Operations: ['99-91=8', '65-8=57']
Exploring Operation: 89+57=146, Resulting Numbers: [146]
146,31 unequal: No Solution
Exploring Operation: 89-57=32, Resulting Numbers: [32]
32,31 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
38,
16,
20,
20
] | 40 | [
"38-16=22",
"22-20=2",
"20*2=40"
] | Current State: 40:[38, 16, 20, 20], Operations: []
Exploring Operation: 38-16=22, Resulting Numbers: [20, 20, 22]
Generated Node #2: [20, 20, 22] from Operation: 38-16=22
Current State: 40:[20, 20, 22], Operations: ['38-16=22']
Exploring Operation: 22-20=2, Resulting Numbers: [2]
2,40 equal: Goal Reached
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[38, 16, 20, 20], Operations: []
Exploring Operation: 38-20=18, Resulting Numbers: [16, 20, 18]
Generated Node #0,0: 40:[16, 20, 18] Operation: 38-20=18
Exploring Operation: 38-16=22, Resulting Numbers: [20, 20, 22]
Generated Node #0,1: 40:[20, 20, 22] Operation: 38-16=22
Exploring Operation: 20-16=4, Resulting Numbers: [38, 20, 4]
Generated Node #0,2: 40:[38, 20, 4] Operation: 20-16=4
Exploring Operation: 20-16=4, Resulting Numbers: [38, 20, 4]
Generated Node #0,3: 40:[38, 20, 4] Operation: 20-16=4
Moving to Node #0,1
Current State: 40:[20, 20, 22], Operations: ['38-16=22']
Exploring Operation: 20+20=40, Resulting Numbers: [22, 40]
Generated Node #0,1,0: 40:[22, 40] Operation: 20+20=40
Exploring Operation: 20+22=42, Resulting Numbers: [20, 42]
Generated Node #0,1,1: 40:[20, 42] Operation: 20+22=42
Exploring Operation: 22-20=2, Resulting Numbers: [20, 2]
Generated Node #0,1,2: 40:[20, 2] Operation: 22-20=2
Exploring Operation: 22-20=2, Resulting Numbers: [20, 2]
Generated Node #0,1,3: 40:[20, 2] Operation: 22-20=2
Moving to Node #0,3
Current State: 40:[38, 20, 4], Operations: ['20-16=4']
Exploring Operation: 20/4=5, Resulting Numbers: [38, 5]
Generated Node #0,3,0: 40:[38, 5] Operation: 20/4=5
Exploring Operation: 38-20=18, Resulting Numbers: [4, 18]
Generated Node #0,3,1: 40:[4, 18] Operation: 38-20=18
Exploring Operation: 38-4=34, Resulting Numbers: [20, 34]
Generated Node #0,3,2: 40:[20, 34] Operation: 38-4=34
Exploring Operation: 38+4=42, Resulting Numbers: [20, 42]
Generated Node #0,3,3: 40:[20, 42] Operation: 38+4=42
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 40:[38, 5], Operations: ['20-16=4', '20/4=5']
Exploring Operation: 38+5=43, Resulting Numbers: [43]
43,40 unequal: No Solution
Exploring Operation: 38*5=190, Resulting Numbers: [190]
190,40 unequal: No Solution
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 40:[4, 18], Operations: ['20-16=4', '38-20=18']
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,40 unequal: No Solution
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,40 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 40:[20, 42], Operations: ['20-16=4', '38+4=42']
Exploring Operation: 20*42=840, Resulting Numbers: [840]
840,40 unequal: No Solution
Exploring Operation: 42-20=22, Resulting Numbers: [22]
22,40 unequal: No Solution
Exploring Operation: 20+42=62, Resulting Numbers: [62]
62,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 40:[20, 34], Operations: ['20-16=4', '38-4=34']
Exploring Operation: 20*34=680, Resulting Numbers: [680]
680,40 unequal: No Solution
Exploring Operation: 20+34=54, Resulting Numbers: [54]
54,40 unequal: No Solution
Exploring Operation: 34-20=14, Resulting Numbers: [14]
14,40 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: 40:[38, 20, 4], Operations: ['20-16=4']
Exploring Operation: 38-20=18, Resulting Numbers: [4, 18]
Generated Node #0,2,0: 40:[4, 18] Operation: 38-20=18
Exploring Operation: 38-4=34, Resulting Numbers: [20, 34]
Generated Node #0,2,1: 40:[20, 34] Operation: 38-4=34
Exploring Operation: 20/4=5, Resulting Numbers: [38, 5]
Generated Node #0,2,2: 40:[38, 5] Operation: 20/4=5
Exploring Operation: 38+4=42, Resulting Numbers: [20, 42]
Generated Node #0,2,3: 40:[20, 42] Operation: 38+4=42
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 40:[4, 18], Operations: ['20-16=4', '38-20=18']
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,40 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,40 unequal: No Solution
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 40:[38, 5], Operations: ['20-16=4', '20/4=5']
Exploring Operation: 38*5=190, Resulting Numbers: [190]
190,40 unequal: No Solution
Exploring Operation: 38+5=43, Resulting Numbers: [43]
43,40 unequal: No Solution
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 40:[20, 42], Operations: ['20-16=4', '38+4=42']
Exploring Operation: 42-20=22, Resulting Numbers: [22]
22,40 unequal: No Solution
Exploring Operation: 20*42=840, Resulting Numbers: [840]
840,40 unequal: No Solution
Exploring Operation: 20+42=62, Resulting Numbers: [62]
62,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 40:[20, 34], Operations: ['20-16=4', '38-4=34']
Exploring Operation: 34-20=14, Resulting Numbers: [14]
14,40 unequal: No Solution
Exploring Operation: 20+34=54, Resulting Numbers: [54]
54,40 unequal: No Solution
Exploring Operation: 20*34=680, Resulting Numbers: [680]
680,40 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: 40:[16, 20, 18], Operations: ['38-20=18']
Exploring Operation: 18-16=2, Resulting Numbers: [20, 2]
Generated Node #0,0,0: 40:[20, 2] Operation: 18-16=2
Exploring Operation: 20-18=2, Resulting Numbers: [16, 2]
Generated Node #0,0,1: 40:[16, 2] Operation: 20-18=2
Exploring Operation: 16+20=36, Resulting Numbers: [18, 36]
Generated Node #0,0,2: 40:[18, 36] Operation: 16+20=36
Exploring Operation: 20-16=4, Resulting Numbers: [18, 4]
Generated Node #0,0,3: 40:[18, 4] Operation: 20-16=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 40:[20, 2], Operations: ['38-20=18', '18-16=2']
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[38, 16, 20, 20], Operations: []
Exploring Operation: 38-20=18, Resulting Numbers: [16, 20, 18]
Generated Node #0,0: 40:[16, 20, 18] Operation: 38-20=18
Moving to Node #0,0
Current State: 40:[16, 20, 18], Operations: ['38-20=18']
Exploring Operation: 18-16=2, Resulting Numbers: [20, 2]
Generated Node #0,0,0: 40:[20, 2] Operation: 18-16=2
Moving to Node #0,0,0
Current State: 40:[20, 2], Operations: ['38-20=18', '18-16=2']
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.957465 | hs_4 | mult_heuristic |
[
23,
84,
85,
25
] | 47 | [
"23+84=107",
"85-25=60",
"107-60=47"
] | Current State: 47:[23, 84, 85, 25], Operations: []
Exploring Operation: 23+84=107, Resulting Numbers: [85, 25, 107]
Generated Node #2: [85, 25, 107] from Operation: 23+84=107
Current State: 47:[85, 25, 107], Operations: ['23+84=107']
Exploring Operation: 85-25=60, Resulting Numbers: [107, 60]
Generated Node #3: [107, 60] from Operation: 85-25=60
Current State: 47:[107, 60], Operations: ['23+84=107', '85-25=60']
Exploring Operation: 107-60=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[23, 84, 85, 25], Operations: []
Exploring Operation: 85-25=60, Resulting Numbers: [23, 84, 60]
Generated Node #0,0: 47:[23, 84, 60] Operation: 85-25=60
Exploring Operation: 84-25=59, Resulting Numbers: [23, 85, 59]
Generated Node #0,1: 47:[23, 85, 59] Operation: 84-25=59
Exploring Operation: 84-23=61, Resulting Numbers: [85, 25, 61]
Generated Node #0,2: 47:[85, 25, 61] Operation: 84-23=61
Exploring Operation: 85-23=62, Resulting Numbers: [84, 25, 62]
Generated Node #0,3: 47:[84, 25, 62] Operation: 85-23=62
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[23, 84, 60], Operations: ['85-25=60']
Exploring Operation: 84-23=61, Resulting Numbers: [60, 61]
Generated Node #0,0,0: 47:[60, 61] Operation: 84-23=61
Exploring Operation: 60-23=37, Resulting Numbers: [84, 37]
Generated Node #0,0,1: 47:[84, 37] Operation: 60-23=37
Exploring Operation: 84-60=24, Resulting Numbers: [23, 24]
Generated Node #0,0,2: 47:[23, 24] Operation: 84-60=24
Exploring Operation: 23+84=107, Resulting Numbers: [60, 107]
Generated Node #0,0,3: 47:[60, 107] Operation: 23+84=107
Moving to Node #0,0,0
Current State: 47:[60, 61], Operations: ['85-25=60', '84-23=61']
Exploring Operation: 60*61=3660, Resulting Numbers: [3660]
3660,47 unequal: No Solution
Exploring Operation: 60+61=121, Resulting Numbers: [121]
121,47 unequal: No Solution
Exploring Operation: 61-60=1, Resulting Numbers: [1]
1,47 unequal: No Solution
Moving to Node #0,0,2
Current State: 47:[23, 24], Operations: ['85-25=60', '84-60=24']
Exploring Operation: 24-23=1, Resulting Numbers: [1]
1,47 unequal: No Solution
Exploring Operation: 23*24=552, Resulting Numbers: [552]
552,47 unequal: No Solution
Exploring Operation: 23+24=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[23, 84, 85, 25], Operations: []
Exploring Operation: 85-25=60, Resulting Numbers: [23, 84, 60]
Generated Node #0,0: 47:[23, 84, 60] Operation: 85-25=60
Moving to Node #0,0
Current State: 47:[23, 84, 60], Operations: ['85-25=60']
Exploring Operation: 84-60=24, Resulting Numbers: [23, 24]
Generated Node #0,0,2: 47:[23, 24] Operation: 84-60=24
Moving to Node #0,0,2
Current State: 47:[23, 24], Operations: ['85-25=60', '84-60=24']
Exploring Operation: 23+24=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
54,
28,
15,
64
] | 42 | [
"64-54=10",
"28*15=420",
"420/10=42"
] | Current State: 42:[54, 28, 15, 64], Operations: []
Exploring Operation: 64-54=10, Resulting Numbers: [28, 15, 10]
Generated Node #2: [28, 15, 10] from Operation: 64-54=10
Current State: 42:[28, 15, 10], Operations: ['64-54=10']
Exploring Operation: 28*15=420, Resulting Numbers: [10, 420]
Generated Node #3: [10, 420] from Operation: 28*15=420
Current State: 42:[10, 420], Operations: ['64-54=10', '28*15=420']
Exploring Operation: 420/10=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[54, 28, 15, 64], Operations: []
Exploring Operation: 64-54=10, Resulting Numbers: [28, 15, 10]
Generated Node #0,0: 42:[28, 15, 10] Operation: 64-54=10
Exploring Operation: 64-28=36, Resulting Numbers: [54, 15, 36]
Generated Node #0,1: 42:[54, 15, 36] Operation: 64-28=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[28, 15, 10], Operations: ['64-54=10']
Exploring Operation: 28+15=43, Resulting Numbers: [10, 43]
Generated Node #0,0,0: 42:[10, 43] Operation: 28+15=43
Exploring Operation: 28-15=13, Resulting Numbers: [10, 13]
Generated Node #0,0,1: 42:[10, 13] Operation: 28-15=13
Moving to Node #0,0,0
Current State: 42:[10, 43], Operations: ['64-54=10', '28+15=43']
Exploring Operation: 43-10=33, Resulting Numbers: [33]
33,42 unequal: No Solution
Exploring Operation: 10+43=53, Resulting Numbers: [53]
53,42 unequal: No Solution
Moving to Node #0,0,1
Current State: 42:[10, 13], Operations: ['64-54=10', '28-15=13']
Exploring Operation: 10+13=23, Resulting Numbers: [23]
23,42 unequal: No Solution
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 42:[54, 15, 36], Operations: ['64-28=36']
Exploring Operation: 54-15=39, Resulting Numbers: [36, 39]
Generated Node #0,1,0: 42:[36, 39] Operation: 54-15=39
Exploring Operation: 54-36=18, Resulting Numbers: [15, 18]
Generated Node #0,1,1: 42:[15, 18] Operation: 54-36=18
Moving to Node #0,1,1
Current State: 42:[15, 18], Operations: ['64-28=36', '54-36=18']
Exploring Operation: 15+18=33, Resulting Numbers: [33]
33,42 unequal: No Solution
Exploring Operation: 18-15=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Moving to Node #0,1,0
Current State: 42:[36, 39], Operations: ['64-28=36', '54-15=39']
Exploring Operation: 39-36=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Exploring Operation: 36+39=75, Resulting Numbers: [75]
75,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
33,
88,
81,
24
] | 40 | [
"33*88=2904",
"2904/24=121",
"121-81=40"
] | Current State: 40:[33, 88, 81, 24], Operations: []
Exploring Operation: 33*88=2904, Resulting Numbers: [81, 24, 2904]
Generated Node #2: [81, 24, 2904] from Operation: 33*88=2904
Current State: 40:[81, 24, 2904], Operations: ['33*88=2904']
Exploring Operation: 2904/24=121, Resulting Numbers: [81, 121]
Generated Node #3: [81, 121] from Operation: 2904/24=121
Current State: 40:[81, 121], Operations: ['33*88=2904', '2904/24=121']
Exploring Operation: 121-81=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[33, 88, 81, 24], Operations: []
Exploring Operation: 88-81=7, Resulting Numbers: [33, 24, 7]
Generated Node #0,0: 40:[33, 24, 7] Operation: 88-81=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[33, 24, 7], Operations: ['88-81=7']
Exploring Operation: 33-24=9, Resulting Numbers: [7, 9]
Generated Node #0,0,0: 40:[7, 9] Operation: 33-24=9
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 40:[7, 9], Operations: ['88-81=7', '33-24=9']
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
54,
45,
90,
45
] | 56 | [
"54*45=2430",
"90+2430=2520",
"2520/45=56"
] | Current State: 56:[54, 45, 90, 45], Operations: []
Exploring Operation: 54*45=2430, Resulting Numbers: [90, 2430]
Generated Node #2: [90, 2430] from Operation: 54*45=2430
Current State: 56:[90, 2430], Operations: ['54*45=2430']
Exploring Operation: 90+2430=2520, Resulting Numbers: [2520]
2520,56 equal: Goal Reached
Exploring Operation: 2520/45=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[54, 45, 90, 45], Operations: []
Exploring Operation: 90-54=36, Resulting Numbers: [45, 45, 36]
Generated Node #0,0: 56:[45, 45, 36] Operation: 90-54=36
Exploring Operation: 90/45=2, Resulting Numbers: [54, 45, 2]
Generated Node #0,1: 56:[54, 45, 2] Operation: 90/45=2
Exploring Operation: 90/45=2, Resulting Numbers: [54, 45, 2]
Generated Node #0,2: 56:[54, 45, 2] Operation: 90/45=2
Exploring Operation: 90-45=45, Resulting Numbers: [54, 45, 45]
Generated Node #0,3: 56:[54, 45, 45] Operation: 90-45=45
Exploring Operation: 90-45=45, Resulting Numbers: [54, 45, 45]
Generated Node #0,4: 56:[54, 45, 45] Operation: 90-45=45
Moving to Node #0,1
Current State: 56:[54, 45, 2], Operations: ['90/45=2']
Exploring Operation: 54-45=9, Resulting Numbers: [2, 9]
Generated Node #0,1,0: 56:[2, 9] Operation: 54-45=9
Exploring Operation: 45+2=47, Resulting Numbers: [54, 47]
Generated Node #0,1,1: 56:[54, 47] Operation: 45+2=47
Exploring Operation: 54-2=52, Resulting Numbers: [45, 52]
Generated Node #0,1,2: 56:[45, 52] Operation: 54-2=52
Exploring Operation: 54+2=56, Resulting Numbers: [45, 56]
Generated Node #0,1,3: 56:[45, 56] Operation: 54+2=56
Exploring Operation: 54/2=27, Resulting Numbers: [45, 27]
Generated Node #0,1,4: 56:[45, 27] Operation: 54/2=27
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 56:[2, 9], Operations: ['90/45=2', '54-45=9']
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,56 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,56 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 56:[54, 47], Operations: ['90/45=2', '45+2=47']
Exploring Operation: 54*47=2538, Resulting Numbers: [2538]
2538,56 unequal: No Solution
Exploring Operation: 54-47=7, Resulting Numbers: [7]
7,56 unequal: No Solution
Exploring Operation: 54+47=101, Resulting Numbers: [101]
101,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 56:[45, 56], Operations: ['90/45=2', '54+2=56']
Exploring Operation: 56-45=11, Resulting Numbers: [11]
11,56 unequal: No Solution
Exploring Operation: 45+56=101, Resulting Numbers: [101]
101,56 unequal: No Solution
Exploring Operation: 45*56=2520, Resulting Numbers: [2520]
2520,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 56:[45, 27], Operations: ['90/45=2', '54/2=27']
Exploring Operation: 45-27=18, Resulting Numbers: [18]
18,56 unequal: No Solution
Exploring Operation: 45+27=72, Resulting Numbers: [72]
72,56 unequal: No Solution
Exploring Operation: 45*27=1215, Resulting Numbers: [1215]
1215,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 56:[45, 52], Operations: ['90/45=2', '54-2=52']
Exploring Operation: 52-45=7, Resulting Numbers: [7]
7,56 unequal: No Solution
Exploring Operation: 45*52=2340, Resulting Numbers: [2340]
2340,56 unequal: No Solution
Exploring Operation: 45+52=97, Resulting Numbers: [97]
97,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 56:[54, 45, 2], Operations: ['90/45=2']
Exploring Operation: 54/2=27, Resulting Numbers: [45, 27]
Generated Node #0,2,0: 56:[45, 27] Operation: 54/2=27
Exploring Operation: 54-2=52, Resulting Numbers: [45, 52]
Generated Node #0,2,1: 56:[45, 52] Operation: 54-2=52
Exploring Operation: 54-45=9, Resulting Numbers: [2, 9]
Generated Node #0,2,2: 56:[2, 9] Operation: 54-45=9
Exploring Operation: 54+2=56, Resulting Numbers: [45, 56]
Generated Node #0,2,3: 56:[45, 56] Operation: 54+2=56
Exploring Operation: 45+2=47, Resulting Numbers: [54, 47]
Generated Node #0,2,4: 56:[54, 47] Operation: 45+2=47
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 56:[2, 9], Operations: ['90/45=2', '54-45=9']
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,56 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,56 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 56:[45, 56], Operations: ['90/45=2', '54+2=56']
Exploring Operation: 56-45=11, Resulting Numbers: [11]
11,56 unequal: No Solution
Exploring Operation: 45*56=2520, Resulting Numbers: [2520]
2520,56 unequal: No Solution
Exploring Operation: 45+56=101, Resulting Numbers: [101]
101,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 56:[54, 47], Operations: ['90/45=2', '45+2=47']
Exploring Operation: 54*47=2538, Resulting Numbers: [2538]
2538,56 unequal: No Solution
Exploring Operation: 54-47=7, Resulting Numbers: [7]
7,56 unequal: No Solution
Exploring Operation: 54+47=101, Resulting Numbers: [101]
101,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 56:[45, 27], Operations: ['90/45=2', '54/2=27']
Exploring Operation: 45+27=72, Resulting Numbers: [72]
72,56 unequal: No Solution
Exploring Operation: 45*27=1215, Resulting Numbers: [1215]
1215,56 unequal: No Solution
Exploring Operation: 45-27=18, Resulting Numbers: [18]
18,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 56:[45, 52], Operations: ['90/45=2', '54-2=52']
Exploring Operation: 45+52=97, Resulting Numbers: [97]
97,56 unequal: No Solution
Exploring Operation: 52-45=7, Resulting Numbers: [7]
7,56 unequal: No Solution
Exploring Operation: 45*52=2340, Resulting Numbers: [2340]
2340,56 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: 56:[54, 45, 45], Operations: ['90-45=45']
Exploring Operation: 45-45=0, Resulting Numbers: [54, 0]
Generated Node #0,3,0: 56:[54, 0] Operation: 45-45=0
Exploring Operation: 54-45=9, Resulting Numbers: [45, 9]
Generated Node #0,3,1: 56:[45, 9] Operation: 54-45=9
Exploring Operation: 45+45=90, Resulting Numbers: [54, 90]
Generated Node #0,3,2: 56:[54, 90] Operation: 45+45=90
Exploring Operation: 45/45=1, Resulting Numbers: [54, 1]
Generated Node #0,3,3: 56:[54, 1] Operation: 45/45=1
Exploring Operation: 54-45=9, Resulting Numbers: [45, 9]
Generated Node #0,3,4: 56:[45, 9] Operation: 54-45=9
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 56:[54, 1], Operations: ['90-45=45', '45/45=1']
Exploring Operation: 54+1=55, Resulting Numbers: [55]
55,56 unequal: No Solution
Exploring Operation: 54/1=54, Resulting Numbers: [54]
54,56 unequal: No Solution
Exploring Operation: 54*1=54, Resulting Numbers: [54]
54,56 unequal: No Solution
Exploring Operation: 54-1=53, Resulting Numbers: [53]
53,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 56:[54, 0], Operations: ['90-45=45', '45-45=0']
Exploring Operation: 54-0=54, Resulting Numbers: [54]
54,56 unequal: No Solution
Exploring Operation: 54*0=0, Resulting Numbers: [0]
0,56 unequal: No Solution
Exploring Operation: 54+0=54, Resulting Numbers: [54]
54,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 56:[45, 9], Operations: ['90-45=45', '54-45=9']
Exploring Operation: 45+9=54, Resulting Numbers: [54]
54,56 unequal: No Solution
Exploring Operation: 45-9=36, Resulting Numbers: [36]
36,56 unequal: No Solution
Exploring Operation: 45/9=5, Resulting Numbers: [5]
5,56 unequal: No Solution
Exploring Operation: 45*9=405, Resulting Numbers: [405]
405,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 56:[45, 9], Operations: ['90-45=45', '54-45=9']
Exploring Operation: 45+9=54, Resulting Numbers: [54]
54,56 unequal: No Solution
Exploring Operation: 45*9=405, Resulting Numbers: [405]
405,56 unequal: No Solution
Exploring Operation: 45-9=36, Resulting Numbers: [36]
36,56 unequal: No Solution
Exploring Operation: 45/9=5, Resulting Numbers: [5]
5,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 56:[54, 90], Operations: ['90-45=45', '45+45=90']
Exploring Operation: 90-54=36, Resulting Numbers: [36]
36,56 unequal: No Solution
Exploring Operation: 54*90=4860, Resulting Numbers: [4860]
4860,56 unequal: No Solution
Exploring Operation: 54+90=144, Resulting Numbers: [144]
144,56 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: 56:[54, 45, 45], Operations: ['90-45=45']
Exploring Operation: 45+45=90, Resulting Numbers: [54, 90]
Generated Node #0,4,0: 56:[54, 90] Operation: 45+45=90
Exploring Operation: 54-45=9, Resulting Numbers: [45, 9]
Generated Node #0,4,1: 56:[45, 9] Operation: 54-45=9
Exploring Operation: 45/45=1, Resulting Numbers: [54, 1]
Generated Node #0,4,2: 56:[54, 1] Operation: 45/45=1
Exploring Operation: 45-45=0, Resulting Numbers: [54, 0]
Generated Node #0,4,3: 56:[54, 0] Operation: 45-45=0
Exploring Operation: 54-45=9, Resulting Numbers: [45, 9]
Generated Node #0,4,4: 56:[45, 9] Operation: 54-45=9
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 56:[54, 1], Operations: ['90-45=45', '45/45=1']
Exploring Operation: 54+1=55, Resulting Numbers: [55]
55,56 unequal: No Solution
Exploring Operation: 54/1=54, Resulting Numbers: [54]
54,56 unequal: No Solution
Exploring Operation: 54*1=54, Resulting Numbers: [54]
54,56 unequal: No Solution
Exploring Operation: 54-1=53, Resulting Numbers: [53]
53,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 56:[54, 0], Operations: ['90-45=45', '45-45=0']
Exploring Operation: 54+0=54, Resulting Numbers: [54]
54,56 unequal: No Solution
Exploring Operation: 54*0=0, Resulting Numbers: [0]
0,56 unequal: No Solution
Exploring Operation: 54-0=54, Resulting Numbers: [54]
54,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 56:[45, 9], Operations: ['90-45=45', '54-45=9']
Exploring Operation: 45-9=36, Resulting Numbers: [36]
36,56 unequal: No Solution
Exploring Operation: 45/9=5, Resulting Numbers: [5]
5,56 unequal: No Solution
Exploring Operation: 45+9=54, Resulting Numbers: [54]
54,56 unequal: No Solution
Exploring Operation: 45*9=405, Resulting Numbers: [405]
405,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 56:[45, 9], Operations: ['90-45=45', '54-45=9']
Exploring Operation: 45*9=405, Resulting Numbers: [405]
405,56 unequal: No Solution
Exploring Operation: 45/9=5, Resulting Numbers: [5]
5,56 unequal: No Solution
Exploring Operation: 45-9=36, Resulting Numbers: [36]
36,56 unequal: No Solution
Exploring Operation: 45+9=54, Resulting Numbers: [54]
54,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 56:[54, 90], Operations: ['90-45=45', '45+45=90']
Exploring Operation: 54+90=144, Resulting Numbers: [144]
144,56 unequal: No Solution
Exploring Operation: 54*90=4860, Resulting Numbers: [4860]
4860,56 unequal: No Solution
Exploring Operation: 90-54=36, Resulting Numbers: [36]
36,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 56:[45, 45, 36], Operations: ['90-54=36']
Exploring Operation: 45/45=1, Resulting Numbers: [36, 1]
Generated Node #0,0,0: 56:[36, 1] Operation: 45/45=1
Exploring Operation: 45-36=9, Resulting Numbers: [45, 9]
Generated Node #0,0,1: 56:[45, 9] Operation: 45-36=9
Exploring Operation: 45-45=0, Resulting Numbers: [36, 0]
Generated Node #0,0,2: 56:[36, 0] Operation: 45-45=0
Exploring Operation: 45+36=81, Resulting Numbers: [45, 81]
Generated Node #0,0,3: 56:[45, 81] Operation: 45+36=81
Exploring Operation: 45-36=9, Resulting Numbers: [45, 9]
Generated Node #0,0,4: 56:[45, 9] Operation: 45-36=9
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 56:[36, 1], Operations: ['90-54=36', '45/45=1']
Exploring Operation: 36-1=35, Resulting Numbers: [35]
35,56 unequal: No Solution
Exploring Operation: 36*1=36, Resulting Numbers: [36]
36,56 unequal: No Solution
Exploring Operation: 36/1=36, Resulting Numbers: [36]
36,56 unequal: No Solution
Exploring Operation: 36+1=37, Resulting Numbers: [37]
37,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 56:[36, 0], Operations: ['90-54=36', '45-45=0']
Exploring Operation: 36*0=0, Resulting Numbers: [0]
0,56 unequal: No Solution
Exploring Operation: 36+0=36, Resulting Numbers: [36]
36,56 unequal: No Solution
Exploring Operation: 36-0=36, Resulting Numbers: [36]
36,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 56:[45, 9], Operations: ['90-54=36', '45-36=9']
Exploring Operation: 45-9=36, Resulting Numbers: [36]
36,56 unequal: No Solution
Exploring Operation: 45*9=405, Resulting Numbers: [405]
405,56 unequal: No Solution
Exploring Operation: 45+9=54, Resulting Numbers: [54]
54,56 unequal: No Solution
Exploring Operation: 45/9=5, Resulting Numbers: [5]
5,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 56:[45, 9], Operations: ['90-54=36', '45-36=9']
Exploring Operation: 45/9=5, Resulting Numbers: [5]
5,56 unequal: No Solution
Exploring Operation: 45*9=405, Resulting Numbers: [405]
405,56 unequal: No Solution
Exploring Operation: 45-9=36, Resulting Numbers: [36]
36,56 unequal: No Solution
Exploring Operation: 45+9=54, Resulting Numbers: [54]
54,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 56:[45, 81], Operations: ['90-54=36', '45+36=81']
Exploring Operation: 81-45=36, Resulting Numbers: [36]
36,56 unequal: No Solution
Exploring Operation: 45+81=126, Resulting Numbers: [126]
126,56 unequal: No Solution
Exploring Operation: 45*81=3645, Resulting Numbers: [3645]
3645,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
20,
69,
79,
33
] | 23 | [
"20+69=89",
"79+33=112",
"112-89=23"
] | Current State: 23:[20, 69, 79, 33], Operations: []
Exploring Operation: 20+69=89, Resulting Numbers: [79, 33, 89]
Generated Node #2: [79, 33, 89] from Operation: 20+69=89
Current State: 23:[79, 33, 89], Operations: ['20+69=89']
Exploring Operation: 79+33=112, Resulting Numbers: [89, 112]
Generated Node #3: [89, 112] from Operation: 79+33=112
Current State: 23:[89, 112], Operations: ['20+69=89', '79+33=112']
Exploring Operation: 112-89=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[20, 69, 79, 33], Operations: []
Exploring Operation: 69-20=49, Resulting Numbers: [79, 33, 49]
Generated Node #0,0: 23:[79, 33, 49] Operation: 69-20=49
Exploring Operation: 69-33=36, Resulting Numbers: [20, 79, 36]
Generated Node #0,1: 23:[20, 79, 36] Operation: 69-33=36
Exploring Operation: 79-33=46, Resulting Numbers: [20, 69, 46]
Generated Node #0,2: 23:[20, 69, 46] Operation: 79-33=46
Exploring Operation: 79-20=59, Resulting Numbers: [69, 33, 59]
Generated Node #0,3: 23:[69, 33, 59] Operation: 79-20=59
Exploring Operation: 79-69=10, Resulting Numbers: [20, 33, 10]
Generated Node #0,4: 23:[20, 33, 10] Operation: 79-69=10
Start Sub Search at level 1: Moving to Node #0,4
Current State: 23:[20, 33, 10], Operations: ['79-69=10']
Exploring Operation: 20+10=30, Resulting Numbers: [33, 30]
Generated Node #0,4,0: 23:[33, 30] Operation: 20+10=30
Exploring Operation: 20-10=10, Resulting Numbers: [33, 10]
Generated Node #0,4,1: 23:[33, 10] Operation: 20-10=10
Exploring Operation: 33-10=23, Resulting Numbers: [20, 23]
Generated Node #0,4,2: 23:[20, 23] Operation: 33-10=23
Exploring Operation: 33+10=43, Resulting Numbers: [20, 43]
Generated Node #0,4,3: 23:[20, 43] Operation: 33+10=43
Exploring Operation: 33-20=13, Resulting Numbers: [10, 13]
Generated Node #0,4,4: 23:[10, 13] Operation: 33-20=13
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 23:[20, 23], Operations: ['79-69=10', '33-10=23']
Exploring Operation: 20+23=43, Resulting Numbers: [43]
43,23 unequal: No Solution
Exploring Operation: 20*23=460, Resulting Numbers: [460]
460,23 unequal: No Solution
Exploring Operation: 23-20=3, Resulting Numbers: [3]
3,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 23:[33, 30], Operations: ['79-69=10', '20+10=30']
Exploring Operation: 33-30=3, Resulting Numbers: [3]
3,23 unequal: No Solution
Exploring Operation: 33*30=990, Resulting Numbers: [990]
990,23 unequal: No Solution
Exploring Operation: 33+30=63, Resulting Numbers: [63]
63,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 23:[33, 10], Operations: ['79-69=10', '20-10=10']
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[20, 69, 79, 33], Operations: []
Exploring Operation: 79-69=10, Resulting Numbers: [20, 33, 10]
Generated Node #0,4: 23:[20, 33, 10] Operation: 79-69=10
Moving to Node #0,4
Current State: 23:[20, 33, 10], Operations: ['79-69=10']
Exploring Operation: 20-10=10, Resulting Numbers: [33, 10]
Generated Node #0,4,1: 23:[33, 10] Operation: 20-10=10
Moving to Node #0,4,1
Current State: 23:[33, 10], Operations: ['79-69=10', '20-10=10']
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
71,
37,
86,
47
] | 30 | [
"71*37=2627",
"2627-47=2580",
"2580/86=30"
] | Current State: 30:[71, 37, 86, 47], Operations: []
Exploring Operation: 71*37=2627, Resulting Numbers: [86, 47, 2627]
Generated Node #2: [86, 47, 2627] from Operation: 71*37=2627
Current State: 30:[86, 47, 2627], Operations: ['71*37=2627']
Exploring Operation: 2627-47=2580, Resulting Numbers: [86, 2580]
Generated Node #3: [86, 2580] from Operation: 2627-47=2580
Current State: 30:[86, 2580], Operations: ['71*37=2627', '2627-47=2580']
Exploring Operation: 2580/86=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[71, 37, 86, 47], Operations: []
Exploring Operation: 86-71=15, Resulting Numbers: [37, 47, 15]
Generated Node #0,0: 30:[37, 47, 15] Operation: 86-71=15
Exploring Operation: 86-47=39, Resulting Numbers: [71, 37, 39]
Generated Node #0,1: 30:[71, 37, 39] Operation: 86-47=39
Moving to Node #0,0
Current State: 30:[37, 47, 15], Operations: ['86-71=15']
Exploring Operation: 47-37=10, Resulting Numbers: [15, 10]
Generated Node #0,0,0: 30:[15, 10] Operation: 47-37=10
Exploring Operation: 47-15=32, Resulting Numbers: [37, 32]
Generated Node #0,0,1: 30:[37, 32] Operation: 47-15=32
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 30:[15, 10], Operations: ['86-71=15', '47-37=10']
Exploring Operation: 15+10=25, Resulting Numbers: [25]
25,30 unequal: No Solution
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,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,1
Current State: 30:[37, 32], Operations: ['86-71=15', '47-15=32']
Exploring Operation: 37+32=69, Resulting Numbers: [69]
69,30 unequal: No Solution
Exploring Operation: 37-32=5, Resulting Numbers: [5]
5,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 30:[71, 37, 39], Operations: ['86-47=39']
Exploring Operation: 71-39=32, Resulting Numbers: [37, 32]
Generated Node #0,1,0: 30:[37, 32] Operation: 71-39=32
Exploring Operation: 71-37=34, Resulting Numbers: [39, 34]
Generated Node #0,1,1: 30:[39, 34] Operation: 71-37=34
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 30:[37, 32], Operations: ['86-47=39', '71-39=32']
Exploring Operation: 37-32=5, Resulting Numbers: [5]
5,30 unequal: No Solution
Exploring Operation: 37+32=69, Resulting Numbers: [69]
69,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:[39, 34], Operations: ['86-47=39', '71-37=34']
Exploring Operation: 39-34=5, Resulting Numbers: [5]
5,30 unequal: No Solution
Exploring Operation: 39+34=73, Resulting Numbers: [73]
73,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
28,
27,
36,
98
] | 77 | [
"28*27=756",
"756/36=21",
"98-21=77"
] | Current State: 77:[28, 27, 36, 98], Operations: []
Exploring Operation: 28*27=756, Resulting Numbers: [36, 98, 756]
Generated Node #2: [36, 98, 756] from Operation: 28*27=756
Current State: 77:[36, 98, 756], Operations: ['28*27=756']
Exploring Operation: 756/36=21, Resulting Numbers: [98, 21]
Generated Node #3: [98, 21] from Operation: 756/36=21
Current State: 77:[98, 21], Operations: ['28*27=756', '756/36=21']
Exploring Operation: 98-21=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[28, 27, 36, 98], Operations: []
Exploring Operation: 36-28=8, Resulting Numbers: [27, 98, 8]
Generated Node #0,0: 77:[27, 98, 8] Operation: 36-28=8
Exploring Operation: 36-27=9, Resulting Numbers: [28, 98, 9]
Generated Node #0,1: 77:[28, 98, 9] Operation: 36-27=9
Exploring Operation: 98-28=70, Resulting Numbers: [27, 36, 70]
Generated Node #0,2: 77:[27, 36, 70] Operation: 98-28=70
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[27, 98, 8], Operations: ['36-28=8']
Exploring Operation: 27-8=19, Resulting Numbers: [98, 19]
Generated Node #0,0,0: 77:[98, 19] Operation: 27-8=19
Exploring Operation: 98-8=90, Resulting Numbers: [27, 90]
Generated Node #0,0,1: 77:[27, 90] Operation: 98-8=90
Exploring Operation: 98-27=71, Resulting Numbers: [8, 71]
Generated Node #0,0,2: 77:[8, 71] Operation: 98-27=71
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 77:[8, 71], Operations: ['36-28=8', '98-27=71']
Exploring Operation: 71-8=63, Resulting Numbers: [63]
63,77 unequal: No Solution
Exploring Operation: 8*71=568, Resulting Numbers: [568]
568,77 unequal: No Solution
Exploring Operation: 8+71=79, Resulting Numbers: [79]
79,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 77:[98, 19], Operations: ['36-28=8', '27-8=19']
Exploring Operation: 98*19=1862, Resulting Numbers: [1862]
1862,77 unequal: No Solution
Exploring Operation: 98-19=79, Resulting Numbers: [79]
79,77 unequal: No Solution
Exploring Operation: 98+19=117, Resulting Numbers: [117]
117,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 77:[27, 90], Operations: ['36-28=8', '98-8=90']
Exploring Operation: 27*90=2430, Resulting Numbers: [2430]
2430,77 unequal: No Solution
Exploring Operation: 27+90=117, Resulting Numbers: [117]
117,77 unequal: No Solution
Exploring Operation: 90-27=63, Resulting Numbers: [63]
63,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[28, 98, 9], Operations: ['36-27=9']
Exploring Operation: 98-28=70, Resulting Numbers: [9, 70]
Generated Node #0,1,0: 77:[9, 70] Operation: 98-28=70
Exploring Operation: 98-9=89, Resulting Numbers: [28, 89]
Generated Node #0,1,1: 77:[28, 89] Operation: 98-9=89
Exploring Operation: 28-9=19, Resulting Numbers: [98, 19]
Generated Node #0,1,2: 77:[98, 19] Operation: 28-9=19
Moving to Node #0,1,0
Current State: 77:[9, 70], Operations: ['36-27=9', '98-28=70']
Exploring Operation: 70-9=61, Resulting Numbers: [61]
61,77 unequal: No Solution
Exploring Operation: 9*70=630, Resulting Numbers: [630]
630,77 unequal: No Solution
Exploring Operation: 9+70=79, Resulting Numbers: [79]
79,77 unequal: No Solution
Moving to Node #0,1,1
Current State: 77:[28, 89], Operations: ['36-27=9', '98-9=89']
Exploring Operation: 89-28=61, Resulting Numbers: [61]
61,77 unequal: No Solution
Exploring Operation: 28+89=117, Resulting Numbers: [117]
117,77 unequal: No Solution
Exploring Operation: 28*89=2492, Resulting Numbers: [2492]
2492,77 unequal: No Solution
Moving to Node #0,1,2
Current State: 77:[98, 19], Operations: ['36-27=9', '28-9=19']
Exploring Operation: 98-19=79, Resulting Numbers: [79]
79,77 unequal: No Solution
Exploring Operation: 98+19=117, Resulting Numbers: [117]
117,77 unequal: No Solution
Exploring Operation: 98*19=1862, Resulting Numbers: [1862]
1862,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
Current State: 77:[27, 36, 70], Operations: ['98-28=70']
Exploring Operation: 27+36=63, Resulting Numbers: [70, 63]
Generated Node #0,2,0: 77:[70, 63] Operation: 27+36=63
Exploring Operation: 36-27=9, Resulting Numbers: [70, 9]
Generated Node #0,2,1: 77:[70, 9] Operation: 36-27=9
Exploring Operation: 70-36=34, Resulting Numbers: [27, 34]
Generated Node #0,2,2: 77:[27, 34] Operation: 70-36=34
Moving to Node #0,2,1
Current State: 77:[70, 9], Operations: ['98-28=70', '36-27=9']
Exploring Operation: 70*9=630, Resulting Numbers: [630]
630,77 unequal: No Solution
Exploring Operation: 70-9=61, Resulting Numbers: [61]
61,77 unequal: No Solution
Exploring Operation: 70+9=79, Resulting Numbers: [79]
79,77 unequal: No Solution
Moving to Node #0,2,0
Current State: 77:[70, 63], Operations: ['98-28=70', '27+36=63']
Exploring Operation: 70+63=133, Resulting Numbers: [133]
133,77 unequal: No Solution
Exploring Operation: 70-63=7, Resulting Numbers: [7]
7,77 unequal: No Solution
Exploring Operation: 70*63=4410, Resulting Numbers: [4410]
4410,77 unequal: No Solution
Moving to Node #0,2,2
Current State: 77:[27, 34], Operations: ['98-28=70', '70-36=34']
Exploring Operation: 27+34=61, Resulting Numbers: [61]
61,77 unequal: No Solution
Exploring Operation: 34-27=7, Resulting Numbers: [7]
7,77 unequal: No Solution
Exploring Operation: 27*34=918, Resulting Numbers: [918]
918,77 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 |
[
92,
42,
65,
59
] | 85 | [
"65-59=6",
"42/6=7",
"92-7=85"
] | Current State: 85:[92, 42, 65, 59], Operations: []
Exploring Operation: 65-59=6, Resulting Numbers: [92, 42, 6]
Generated Node #2: [92, 42, 6] from Operation: 65-59=6
Current State: 85:[92, 42, 6], Operations: ['65-59=6']
Exploring Operation: 42/6=7, Resulting Numbers: [92, 7]
Generated Node #3: [92, 7] from Operation: 42/6=7
Current State: 85:[92, 7], Operations: ['65-59=6', '42/6=7']
Exploring Operation: 92-7=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[92, 42, 65, 59], Operations: []
Exploring Operation: 59-42=17, Resulting Numbers: [92, 65, 17]
Generated Node #0,0: 85:[92, 65, 17] Operation: 59-42=17
Exploring Operation: 65-42=23, Resulting Numbers: [92, 59, 23]
Generated Node #0,1: 85:[92, 59, 23] Operation: 65-42=23
Exploring Operation: 42+59=101, Resulting Numbers: [92, 65, 101]
Generated Node #0,2: 85:[92, 65, 101] Operation: 42+59=101
Exploring Operation: 42+65=107, Resulting Numbers: [92, 59, 107]
Generated Node #0,3: 85:[92, 59, 107] Operation: 42+65=107
Exploring Operation: 65-59=6, Resulting Numbers: [92, 42, 6]
Generated Node #0,4: 85:[92, 42, 6] Operation: 65-59=6
Moving to Node #0,0
Current State: 85:[92, 65, 17], Operations: ['59-42=17']
Exploring Operation: 92-65=27, Resulting Numbers: [17, 27]
Generated Node #0,0,0: 85:[17, 27] Operation: 92-65=27
Exploring Operation: 65+17=82, Resulting Numbers: [92, 82]
Generated Node #0,0,1: 85:[92, 82] Operation: 65+17=82
Exploring Operation: 65-17=48, Resulting Numbers: [92, 48]
Generated Node #0,0,2: 85:[92, 48] Operation: 65-17=48
Exploring Operation: 92+17=109, Resulting Numbers: [65, 109]
Generated Node #0,0,3: 85:[65, 109] Operation: 92+17=109
Exploring Operation: 92-17=75, Resulting Numbers: [65, 75]
Generated Node #0,0,4: 85:[65, 75] Operation: 92-17=75
Moving to Node #0,4
Current State: 85:[92, 42, 6], Operations: ['65-59=6']
Exploring Operation: 92-42=50, Resulting Numbers: [6, 50]
Generated Node #0,4,0: 85:[6, 50] Operation: 92-42=50
Exploring Operation: 92-6=86, Resulting Numbers: [42, 86]
Generated Node #0,4,1: 85:[42, 86] Operation: 92-6=86
Exploring Operation: 92+6=98, Resulting Numbers: [42, 98]
Generated Node #0,4,2: 85:[42, 98] Operation: 92+6=98
Exploring Operation: 42/6=7, Resulting Numbers: [92, 7]
Generated Node #0,4,3: 85:[92, 7] Operation: 42/6=7
Exploring Operation: 42-6=36, Resulting Numbers: [92, 36]
Generated Node #0,4,4: 85:[92, 36] Operation: 42-6=36
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 85:[92, 7], Operations: ['65-59=6', '42/6=7']
Exploring Operation: 92-7=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[92, 42, 65, 59], Operations: []
Exploring Operation: 65-59=6, Resulting Numbers: [92, 42, 6]
Generated Node #0,4: 85:[92, 42, 6] Operation: 65-59=6
Moving to Node #0,4
Current State: 85:[92, 42, 6], Operations: ['65-59=6']
Exploring Operation: 42/6=7, Resulting Numbers: [92, 7]
Generated Node #0,4,3: 85:[92, 7] Operation: 42/6=7
Moving to Node #0,4,3
Current State: 85:[92, 7], Operations: ['65-59=6', '42/6=7']
Exploring Operation: 92-7=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
20,
80,
67,
7
] | 70 | [
"80/20=4",
"67+7=74",
"74-4=70"
] | Current State: 70:[20, 80, 67, 7], Operations: []
Exploring Operation: 80/20=4, Resulting Numbers: [67, 7, 4]
Generated Node #2: [67, 7, 4] from Operation: 80/20=4
Current State: 70:[67, 7, 4], Operations: ['80/20=4']
Exploring Operation: 67+7=74, Resulting Numbers: [4, 74]
Generated Node #3: [4, 74] from Operation: 67+7=74
Current State: 70:[4, 74], Operations: ['80/20=4', '67+7=74']
Exploring Operation: 74-4=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[20, 80, 67, 7], Operations: []
Exploring Operation: 80/20=4, Resulting Numbers: [67, 7, 4]
Generated Node #0,0: 70:[67, 7, 4] Operation: 80/20=4
Moving to Node #0,0
Current State: 70:[67, 7, 4], Operations: ['80/20=4']
Exploring Operation: 67+4=71, Resulting Numbers: [7, 71]
Generated Node #0,0,0: 70:[7, 71] Operation: 67+4=71
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[7, 71], Operations: ['80/20=4', '67+4=71']
Exploring Operation: 71-7=64, Resulting Numbers: [64]
64,70 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 |
[
40,
66,
75,
14
] | 77 | [
"66+14=80",
"80/40=2",
"75+2=77"
] | Current State: 77:[40, 66, 75, 14], Operations: []
Exploring Operation: 66+14=80, Resulting Numbers: [40, 75, 80]
Generated Node #2: [40, 75, 80] from Operation: 66+14=80
Current State: 77:[40, 75, 80], Operations: ['66+14=80']
Exploring Operation: 80/40=2, Resulting Numbers: [75, 2]
Generated Node #3: [75, 2] from Operation: 80/40=2
Current State: 77:[75, 2], Operations: ['66+14=80', '80/40=2']
Exploring Operation: 75+2=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[40, 66, 75, 14], Operations: []
Exploring Operation: 40+66=106, Resulting Numbers: [75, 14, 106]
Generated Node #0,0: 77:[75, 14, 106] Operation: 40+66=106
Exploring Operation: 66-40=26, Resulting Numbers: [75, 14, 26]
Generated Node #0,1: 77:[75, 14, 26] Operation: 66-40=26
Exploring Operation: 40-14=26, Resulting Numbers: [66, 75, 26]
Generated Node #0,2: 77:[66, 75, 26] Operation: 40-14=26
Exploring Operation: 75-66=9, Resulting Numbers: [40, 14, 9]
Generated Node #0,3: 77:[40, 14, 9] Operation: 75-66=9
Exploring Operation: 66+14=80, Resulting Numbers: [40, 75, 80]
Generated Node #0,4: 77:[40, 75, 80] Operation: 66+14=80
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[75, 14, 26], Operations: ['66-40=26']
Exploring Operation: 75-26=49, Resulting Numbers: [14, 49]
Generated Node #0,1,0: 77:[14, 49] Operation: 75-26=49
Exploring Operation: 75+26=101, Resulting Numbers: [14, 101]
Generated Node #0,1,1: 77:[14, 101] Operation: 75+26=101
Exploring Operation: 75-14=61, Resulting Numbers: [26, 61]
Generated Node #0,1,2: 77:[26, 61] Operation: 75-14=61
Exploring Operation: 75+14=89, Resulting Numbers: [26, 89]
Generated Node #0,1,3: 77:[26, 89] Operation: 75+14=89
Exploring Operation: 26-14=12, Resulting Numbers: [75, 12]
Generated Node #0,1,4: 77:[75, 12] Operation: 26-14=12
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 77:[75, 12], Operations: ['66-40=26', '26-14=12']
Exploring Operation: 75*12=900, Resulting Numbers: [900]
900,77 unequal: No Solution
Exploring Operation: 75+12=87, Resulting Numbers: [87]
87,77 unequal: No Solution
Exploring Operation: 75-12=63, Resulting Numbers: [63]
63,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 77:[14, 101], Operations: ['66-40=26', '75+26=101']
Exploring Operation: 101-14=87, Resulting Numbers: [87]
87,77 unequal: No Solution
Exploring Operation: 14*101=1414, Resulting Numbers: [1414]
1414,77 unequal: No Solution
Exploring Operation: 14+101=115, Resulting Numbers: [115]
115,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 77:[26, 89], Operations: ['66-40=26', '75+14=89']
Exploring Operation: 26+89=115, Resulting Numbers: [115]
115,77 unequal: No Solution
Exploring Operation: 26*89=2314, Resulting Numbers: [2314]
2314,77 unequal: No Solution
Exploring Operation: 89-26=63, Resulting Numbers: [63]
63,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 77:[14, 49], Operations: ['66-40=26', '75-26=49']
Exploring Operation: 49-14=35, Resulting Numbers: [35]
35,77 unequal: No Solution
Exploring Operation: 14*49=686, Resulting Numbers: [686]
686,77 unequal: No Solution
Exploring Operation: 14+49=63, Resulting Numbers: [63]
63,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 77:[26, 61], Operations: ['66-40=26', '75-14=61']
Exploring Operation: 26*61=1586, Resulting Numbers: [1586]
1586,77 unequal: No Solution
Exploring Operation: 26+61=87, Resulting Numbers: [87]
87,77 unequal: No Solution
Exploring Operation: 61-26=35, Resulting Numbers: [35]
35,77 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 77:[66, 75, 26], Operations: ['40-14=26']
Exploring Operation: 66-26=40, Resulting Numbers: [75, 40]
Generated Node #0,2,0: 77:[75, 40] Operation: 66-26=40
Exploring Operation: 75-66=9, Resulting Numbers: [26, 9]
Generated Node #0,2,1: 77:[26, 9] Operation: 75-66=9
Exploring Operation: 66+26=92, Resulting Numbers: [75, 92]
Generated Node #0,2,2: 77:[75, 92] Operation: 66+26=92
Exploring Operation: 75-26=49, Resulting Numbers: [66, 49]
Generated Node #0,2,3: 77:[66, 49] Operation: 75-26=49
Exploring Operation: 75+26=101, Resulting Numbers: [66, 101]
Generated Node #0,2,4: 77:[66, 101] Operation: 75+26=101
Moving to Node #0,2,1
Current State: 77:[26, 9], Operations: ['40-14=26', '75-66=9']
Exploring Operation: 26-9=17, Resulting Numbers: [17]
17,77 unequal: No Solution
Exploring Operation: 26+9=35, Resulting Numbers: [35]
35,77 unequal: No Solution
Exploring Operation: 26*9=234, Resulting Numbers: [234]
234,77 unequal: No Solution
Moving to Node #0,2,2
Current State: 77:[75, 92], Operations: ['40-14=26', '66+26=92']
Exploring Operation: 75*92=6900, Resulting Numbers: [6900]
6900,77 unequal: No Solution
Exploring Operation: 75+92=167, Resulting Numbers: [167]
167,77 unequal: No Solution
Exploring Operation: 92-75=17, Resulting Numbers: [17]
17,77 unequal: No Solution
Moving to Node #0,2,0
Current State: 77:[75, 40], Operations: ['40-14=26', '66-26=40']
Exploring Operation: 75+40=115, Resulting Numbers: [115]
115,77 unequal: No Solution
Exploring Operation: 75*40=3000, Resulting Numbers: [3000]
3000,77 unequal: No Solution
Exploring Operation: 75-40=35, Resulting Numbers: [35]
35,77 unequal: No Solution
Moving to Node #0,2,4
Current State: 77:[66, 101], Operations: ['40-14=26', '75+26=101']
Exploring Operation: 101-66=35, Resulting Numbers: [35]
35,77 unequal: No Solution
Exploring Operation: 66+101=167, Resulting Numbers: [167]
167,77 unequal: No Solution
Exploring Operation: 66*101=6666, Resulting Numbers: [6666]
6666,77 unequal: No Solution
Moving to Node #0,2,3
Current State: 77:[66, 49], Operations: ['40-14=26', '75-26=49']
Exploring Operation: 66*49=3234, Resulting Numbers: [3234]
3234,77 unequal: No Solution
Exploring Operation: 66+49=115, Resulting Numbers: [115]
115,77 unequal: No Solution
Exploring Operation: 66-49=17, Resulting Numbers: [17]
17,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[75, 14, 106], Operations: ['40+66=106']
Exploring Operation: 106-14=92, Resulting Numbers: [75, 92]
Generated Node #0,0,0: 77:[75, 92] Operation: 106-14=92
Exploring Operation: 75+14=89, Resulting Numbers: [106, 89]
Generated Node #0,0,1: 77:[106, 89] Operation: 75+14=89
Exploring Operation: 14+106=120, Resulting Numbers: [75, 120]
Generated Node #0,0,2: 77:[75, 120] Operation: 14+106=120
Exploring Operation: 106-75=31, Resulting Numbers: [14, 31]
Generated Node #0,0,3: 77:[14, 31] Operation: 106-75=31
Exploring Operation: 75-14=61, Resulting Numbers: [106, 61]
Generated Node #0,0,4: 77:[106, 61] Operation: 75-14=61
Moving to Node #0,0,0
Current State: 77:[75, 92], Operations: ['40+66=106', '106-14=92']
Exploring Operation: 75+92=167, Resulting Numbers: [167]
167,77 unequal: No Solution
Exploring Operation: 92-75=17, Resulting Numbers: [17]
17,77 unequal: No Solution
Exploring Operation: 75*92=6900, Resulting Numbers: [6900]
6900,77 unequal: No Solution
Moving to Node #0,0,3
Current State: 77:[14, 31], Operations: ['40+66=106', '106-75=31']
Exploring Operation: 14+31=45, Resulting Numbers: [45]
45,77 unequal: No Solution
Exploring Operation: 31-14=17, Resulting Numbers: [17]
17,77 unequal: No Solution
Exploring Operation: 14*31=434, Resulting Numbers: [434]
434,77 unequal: No Solution
Moving to Node #0,0,1
Current State: 77:[106, 89], Operations: ['40+66=106', '75+14=89']
Exploring Operation: 106-89=17, Resulting Numbers: [17]
17,77 unequal: No Solution
Exploring Operation: 106+89=195, Resulting Numbers: [195]
195,77 unequal: No Solution
Exploring Operation: 106*89=9434, Resulting Numbers: [9434]
9434,77 unequal: No Solution
Moving to Node #0,0,2
Current State: 77:[75, 120], Operations: ['40+66=106', '14+106=120']
Exploring Operation: 75*120=9000, Resulting Numbers: [9000]
9000,77 unequal: No Solution
Exploring Operation: 120-75=45, Resulting Numbers: [45]
45,77 unequal: No Solution
Exploring Operation: 75+120=195, Resulting Numbers: [195]
195,77 unequal: No Solution
Moving to Node #0,0,4
Current State: 77:[106, 61], Operations: ['40+66=106', '75-14=61']
Exploring Operation: 106+61=167, Resulting Numbers: [167]
167,77 unequal: No Solution
Exploring Operation: 106-61=45, Resulting Numbers: [45]
45,77 unequal: No Solution
Exploring Operation: 106*61=6466, Resulting Numbers: [6466]
6466,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,3
Current State: 77:[40, 14, 9], Operations: ['75-66=9']
Exploring Operation: 40-14=26, Resulting Numbers: [9, 26]
Generated Node #0,3,0: 77:[9, 26] Operation: 40-14=26
Exploring Operation: 40+9=49, Resulting Numbers: [14, 49]
Generated Node #0,3,1: 77:[14, 49] Operation: 40+9=49
Exploring Operation: 14-9=5, Resulting Numbers: [40, 5]
Generated Node #0,3,2: 77:[40, 5] Operation: 14-9=5
Exploring Operation: 40+14=54, Resulting Numbers: [9, 54]
Generated Node #0,3,3: 77:[9, 54] Operation: 40+14=54
Exploring Operation: 40-9=31, Resulting Numbers: [14, 31]
Generated Node #0,3,4: 77:[14, 31] Operation: 40-9=31
Moving to Node #0,3,0
Current State: 77:[9, 26], Operations: ['75-66=9', '40-14=26']
Exploring Operation: 9*26=234, Resulting Numbers: [234]
234,77 unequal: No Solution
Exploring Operation: 9+26=35, Resulting Numbers: [35]
35,77 unequal: No Solution
Exploring Operation: 26-9=17, Resulting Numbers: [17]
17,77 unequal: No Solution
Moving to Node #0,3,4
Current State: 77:[14, 31], Operations: ['75-66=9', '40-9=31']
Exploring Operation: 31-14=17, Resulting Numbers: [17]
17,77 unequal: No Solution
Exploring Operation: 14*31=434, Resulting Numbers: [434]
434,77 unequal: No Solution
Exploring Operation: 14+31=45, Resulting Numbers: [45]
45,77 unequal: No Solution
Moving to Node #0,3,3
Current State: 77:[9, 54], Operations: ['75-66=9', '40+14=54']
Exploring Operation: 54/9=6, Resulting Numbers: [6]
6,77 unequal: No Solution
Exploring Operation: 9*54=486, Resulting Numbers: [486]
486,77 unequal: No Solution
Exploring Operation: 54-9=45, Resulting Numbers: [45]
45,77 unequal: No Solution
Exploring Operation: 9+54=63, Resulting Numbers: [63]
63,77 unequal: No Solution
Moving to Node #0,3,1
Current State: 77:[14, 49], Operations: ['75-66=9', '40+9=49']
Exploring Operation: 49-14=35, Resulting Numbers: [35]
35,77 unequal: No Solution
Exploring Operation: 14*49=686, Resulting Numbers: [686]
686,77 unequal: No Solution
Exploring Operation: 14+49=63, Resulting Numbers: [63]
63,77 unequal: No Solution
Moving to Node #0,3,2
Current State: 77:[40, 5], Operations: ['75-66=9', '14-9=5']
Exploring Operation: 40*5=200, Resulting Numbers: [200]
200,77 unequal: No Solution
Exploring Operation: 40+5=45, Resulting Numbers: [45]
45,77 unequal: No Solution
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,77 unequal: No Solution
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,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,4
Current State: 77:[40, 75, 80], Operations: ['66+14=80']
Exploring Operation: 80-40=40, Resulting Numbers: [75, 40]
Generated Node #0,4,0: 77:[75, 40] Operation: 80-40=40
Exploring Operation: 80/40=2, Resulting Numbers: [75, 2]
Generated Node #0,4,1: 77:[75, 2] Operation: 80/40=2
Exploring Operation: 40+75=115, Resulting Numbers: [80, 115]
Generated Node #0,4,2: 77:[80, 115] Operation: 40+75=115
Exploring Operation: 75-40=35, Resulting Numbers: [80, 35]
Generated Node #0,4,3: 77:[80, 35] Operation: 75-40=35
Exploring Operation: 80-75=5, Resulting Numbers: [40, 5]
Generated Node #0,4,4: 77:[40, 5] Operation: 80-75=5
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 77:[75, 2], Operations: ['66+14=80', '80/40=2']
Exploring Operation: 75+2=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[40, 66, 75, 14], Operations: []
Exploring Operation: 66+14=80, Resulting Numbers: [40, 75, 80]
Generated Node #0,4: 77:[40, 75, 80] Operation: 66+14=80
Moving to Node #0,4
Current State: 77:[40, 75, 80], Operations: ['66+14=80']
Exploring Operation: 80/40=2, Resulting Numbers: [75, 2]
Generated Node #0,4,1: 77:[75, 2] Operation: 80/40=2
Moving to Node #0,4,1
Current State: 77:[75, 2], Operations: ['66+14=80', '80/40=2']
Exploring Operation: 75+2=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.915799 | hs_5 | sum_heuristic |
[
63,
28,
21,
41
] | 71 | [
"63+28=91",
"41-21=20",
"91-20=71"
] | Current State: 71:[63, 28, 21, 41], Operations: []
Exploring Operation: 63+28=91, Resulting Numbers: [21, 41, 91]
Generated Node #2: [21, 41, 91] from Operation: 63+28=91
Current State: 71:[21, 41, 91], Operations: ['63+28=91']
Exploring Operation: 41-21=20, Resulting Numbers: [91, 20]
Generated Node #3: [91, 20] from Operation: 41-21=20
Current State: 71:[91, 20], Operations: ['63+28=91', '41-21=20']
Exploring Operation: 91-20=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[63, 28, 21, 41], Operations: []
Exploring Operation: 28+21=49, Resulting Numbers: [63, 41, 49]
Generated Node #0,0: 71:[63, 41, 49] Operation: 28+21=49
Moving to Node #0,0
Current State: 71:[63, 41, 49], Operations: ['28+21=49']
Exploring Operation: 41+49=90, Resulting Numbers: [63, 90]
Generated Node #0,0,0: 71:[63, 90] Operation: 41+49=90
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[63, 90], Operations: ['28+21=49', '41+49=90']
Exploring Operation: 90-63=27, Resulting Numbers: [27]
27,71 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 |
[
5,
55,
38,
88
] | 47 | [
"5*38=190",
"55+88=143",
"190-143=47"
] | Current State: 47:[5, 55, 38, 88], Operations: []
Exploring Operation: 5*38=190, Resulting Numbers: [55, 88, 190]
Generated Node #2: [55, 88, 190] from Operation: 5*38=190
Current State: 47:[55, 88, 190], Operations: ['5*38=190']
Exploring Operation: 55+88=143, Resulting Numbers: [190, 143]
Generated Node #3: [190, 143] from Operation: 55+88=143
Current State: 47:[190, 143], Operations: ['5*38=190', '55+88=143']
Exploring Operation: 190-143=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[5, 55, 38, 88], Operations: []
Exploring Operation: 88-5=83, Resulting Numbers: [55, 38, 83]
Generated Node #0,0: 47:[55, 38, 83] Operation: 88-5=83
Exploring Operation: 55-5=50, Resulting Numbers: [38, 88, 50]
Generated Node #0,1: 47:[38, 88, 50] Operation: 55-5=50
Exploring Operation: 5+38=43, Resulting Numbers: [55, 88, 43]
Generated Node #0,2: 47:[55, 88, 43] Operation: 5+38=43
Exploring Operation: 88-38=50, Resulting Numbers: [5, 55, 50]
Generated Node #0,3: 47:[5, 55, 50] Operation: 88-38=50
Exploring Operation: 5+55=60, Resulting Numbers: [38, 88, 60]
Generated Node #0,4: 47:[38, 88, 60] Operation: 5+55=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[55, 38, 83], Operations: ['88-5=83']
Exploring Operation: 55-38=17, Resulting Numbers: [83, 17]
Generated Node #0,0,0: 47:[83, 17] Operation: 55-38=17
Exploring Operation: 83-38=45, Resulting Numbers: [55, 45]
Generated Node #0,0,1: 47:[55, 45] Operation: 83-38=45
Exploring Operation: 55+38=93, Resulting Numbers: [83, 93]
Generated Node #0,0,2: 47:[83, 93] Operation: 55+38=93
Exploring Operation: 83-55=28, Resulting Numbers: [38, 28]
Generated Node #0,0,3: 47:[38, 28] Operation: 83-55=28
Exploring Operation: 38+83=121, Resulting Numbers: [55, 121]
Generated Node #0,0,4: 47:[55, 121] Operation: 38+83=121
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 47:[55, 45], Operations: ['88-5=83', '83-38=45']
Exploring Operation: 55-45=10, Resulting Numbers: [10]
10,47 unequal: No Solution
Exploring Operation: 55+45=100, Resulting Numbers: [100]
100,47 unequal: No Solution
Exploring Operation: 55*45=2475, Resulting Numbers: [2475]
2475,47 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: 47:[38, 28], Operations: ['88-5=83', '83-55=28']
Exploring Operation: 38-28=10, Resulting Numbers: [10]
10,47 unequal: No Solution
Exploring Operation: 38+28=66, Resulting Numbers: [66]
66,47 unequal: No Solution
Exploring Operation: 38*28=1064, Resulting Numbers: [1064]
1064,47 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: 47:[83, 17], Operations: ['88-5=83', '55-38=17']
Exploring Operation: 83+17=100, Resulting Numbers: [100]
100,47 unequal: No Solution
Exploring Operation: 83*17=1411, Resulting Numbers: [1411]
1411,47 unequal: No Solution
Exploring Operation: 83-17=66, Resulting Numbers: [66]
66,47 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: 47:[83, 93], Operations: ['88-5=83', '55+38=93']
Exploring Operation: 93-83=10, Resulting Numbers: [10]
10,47 unequal: No Solution
Exploring Operation: 83+93=176, Resulting Numbers: [176]
176,47 unequal: No Solution
Exploring Operation: 83*93=7719, Resulting Numbers: [7719]
7719,47 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: 47:[55, 121], Operations: ['88-5=83', '38+83=121']
Exploring Operation: 121-55=66, Resulting Numbers: [66]
66,47 unequal: No Solution
Exploring Operation: 55*121=6655, Resulting Numbers: [6655]
6655,47 unequal: No Solution
Exploring Operation: 55+121=176, Resulting Numbers: [176]
176,47 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: 47:[38, 88, 50], Operations: ['55-5=50']
Exploring Operation: 38+50=88, Resulting Numbers: [88, 88]
Generated Node #0,1,0: 47:[88, 88] Operation: 38+50=88
Exploring Operation: 88-38=50, Resulting Numbers: [50, 50]
Generated Node #0,1,1: 47:[50, 50] Operation: 88-38=50
Exploring Operation: 50-38=12, Resulting Numbers: [88, 12]
Generated Node #0,1,2: 47:[88, 12] Operation: 50-38=12
Exploring Operation: 38+88=126, Resulting Numbers: [50, 126]
Generated Node #0,1,3: 47:[50, 126] Operation: 38+88=126
Exploring Operation: 88-50=38, Resulting Numbers: [38, 38]
Generated Node #0,1,4: 47:[38, 38] Operation: 88-50=38
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 47:[50, 50], Operations: ['55-5=50', '88-38=50']
Exploring Operation: 50+50=100, Resulting Numbers: [100]
100,47 unequal: No Solution
Exploring Operation: 50*50=2500, Resulting Numbers: [2500]
2500,47 unequal: No Solution
Exploring Operation: 50/50=1, Resulting Numbers: [1]
1,47 unequal: No Solution
Exploring Operation: 50-50=0, Resulting Numbers: [0]
0,47 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: 47:[38, 38], Operations: ['55-5=50', '88-50=38']
Exploring Operation: 38/38=1, Resulting Numbers: [1]
1,47 unequal: No Solution
Exploring Operation: 38+38=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Exploring Operation: 38*38=1444, Resulting Numbers: [1444]
1444,47 unequal: No Solution
Exploring Operation: 38-38=0, Resulting Numbers: [0]
0,47 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: 47:[88, 12], Operations: ['55-5=50', '50-38=12']
Exploring Operation: 88+12=100, Resulting Numbers: [100]
100,47 unequal: No Solution
Exploring Operation: 88*12=1056, Resulting Numbers: [1056]
1056,47 unequal: No Solution
Exploring Operation: 88-12=76, Resulting Numbers: [76]
76,47 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: 47:[88, 88], Operations: ['55-5=50', '38+50=88']
Exploring Operation: 88/88=1, Resulting Numbers: [1]
1,47 unequal: No Solution
Exploring Operation: 88+88=176, Resulting Numbers: [176]
176,47 unequal: No Solution
Exploring Operation: 88-88=0, Resulting Numbers: [0]
0,47 unequal: No Solution
Exploring Operation: 88*88=7744, Resulting Numbers: [7744]
7744,47 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: 47:[50, 126], Operations: ['55-5=50', '38+88=126']
Exploring Operation: 50*126=6300, Resulting Numbers: [6300]
6300,47 unequal: No Solution
Exploring Operation: 50+126=176, Resulting Numbers: [176]
176,47 unequal: No Solution
Exploring Operation: 126-50=76, Resulting Numbers: [76]
76,47 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: 47:[55, 88, 43], Operations: ['5+38=43']
Exploring Operation: 88+43=131, Resulting Numbers: [55, 131]
Generated Node #0,2,0: 47:[55, 131] Operation: 88+43=131
Exploring Operation: 55-43=12, Resulting Numbers: [88, 12]
Generated Node #0,2,1: 47:[88, 12] Operation: 55-43=12
Exploring Operation: 88-43=45, Resulting Numbers: [55, 45]
Generated Node #0,2,2: 47:[55, 45] Operation: 88-43=45
Exploring Operation: 55+43=98, Resulting Numbers: [88, 98]
Generated Node #0,2,3: 47:[88, 98] Operation: 55+43=98
Exploring Operation: 88-55=33, Resulting Numbers: [43, 33]
Generated Node #0,2,4: 47:[43, 33] Operation: 88-55=33
Moving to Node #0,2,2
Current State: 47:[55, 45], Operations: ['5+38=43', '88-43=45']
Exploring Operation: 55-45=10, Resulting Numbers: [10]
10,47 unequal: No Solution
Exploring Operation: 55*45=2475, Resulting Numbers: [2475]
2475,47 unequal: No Solution
Exploring Operation: 55+45=100, Resulting Numbers: [100]
100,47 unequal: No Solution
Moving to Node #0,2,4
Current State: 47:[43, 33], Operations: ['5+38=43', '88-55=33']
Exploring Operation: 43*33=1419, Resulting Numbers: [1419]
1419,47 unequal: No Solution
Exploring Operation: 43+33=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Exploring Operation: 43-33=10, Resulting Numbers: [10]
10,47 unequal: No Solution
Moving to Node #0,2,1
Current State: 47:[88, 12], Operations: ['5+38=43', '55-43=12']
Exploring Operation: 88+12=100, Resulting Numbers: [100]
100,47 unequal: No Solution
Exploring Operation: 88*12=1056, Resulting Numbers: [1056]
1056,47 unequal: No Solution
Exploring Operation: 88-12=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Moving to Node #0,2,0
Current State: 47:[55, 131], Operations: ['5+38=43', '88+43=131']
Exploring Operation: 55+131=186, Resulting Numbers: [186]
186,47 unequal: No Solution
Exploring Operation: 55*131=7205, Resulting Numbers: [7205]
7205,47 unequal: No Solution
Exploring Operation: 131-55=76, Resulting Numbers: [76]
76,47 unequal: No Solution
Moving to Node #0,2,3
Current State: 47:[88, 98], Operations: ['5+38=43', '55+43=98']
Exploring Operation: 88+98=186, Resulting Numbers: [186]
186,47 unequal: No Solution
Exploring Operation: 98-88=10, Resulting Numbers: [10]
10,47 unequal: No Solution
Exploring Operation: 88*98=8624, Resulting Numbers: [8624]
8624,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
Current State: 47:[5, 55, 50], Operations: ['88-38=50']
Exploring Operation: 5+50=55, Resulting Numbers: [55, 55]
Generated Node #0,3,0: 47:[55, 55] Operation: 5+50=55
Exploring Operation: 5+55=60, Resulting Numbers: [50, 60]
Generated Node #0,3,1: 47:[50, 60] Operation: 5+55=60
Exploring Operation: 50-5=45, Resulting Numbers: [55, 45]
Generated Node #0,3,2: 47:[55, 45] Operation: 50-5=45
Exploring Operation: 55/5=11, Resulting Numbers: [50, 11]
Generated Node #0,3,3: 47:[50, 11] Operation: 55/5=11
Exploring Operation: 55-5=50, Resulting Numbers: [50, 50]
Generated Node #0,3,4: 47:[50, 50] Operation: 55-5=50
Moving to Node #0,3,4
Current State: 47:[50, 50], Operations: ['88-38=50', '55-5=50']
Exploring Operation: 50/50=1, Resulting Numbers: [1]
1,47 unequal: No Solution
Exploring Operation: 50-50=0, Resulting Numbers: [0]
0,47 unequal: No Solution
Exploring Operation: 50*50=2500, Resulting Numbers: [2500]
2500,47 unequal: No Solution
Exploring Operation: 50+50=100, Resulting Numbers: [100]
100,47 unequal: No Solution
Moving to Node #0,3,2
Current State: 47:[55, 45], Operations: ['88-38=50', '50-5=45']
Exploring Operation: 55*45=2475, Resulting Numbers: [2475]
2475,47 unequal: No Solution
Exploring Operation: 55-45=10, Resulting Numbers: [10]
10,47 unequal: No Solution
Exploring Operation: 55+45=100, Resulting Numbers: [100]
100,47 unequal: No Solution
Moving to Node #0,3,0
Current State: 47:[55, 55], Operations: ['88-38=50', '5+50=55']
Exploring Operation: 55+55=110, Resulting Numbers: [110]
110,47 unequal: No Solution
Exploring Operation: 55*55=3025, Resulting Numbers: [3025]
3025,47 unequal: No Solution
Exploring Operation: 55/55=1, Resulting Numbers: [1]
1,47 unequal: No Solution
Exploring Operation: 55-55=0, Resulting Numbers: [0]
0,47 unequal: No Solution
Moving to Node #0,3,1
Current State: 47:[50, 60], Operations: ['88-38=50', '5+55=60']
Exploring Operation: 50*60=3000, Resulting Numbers: [3000]
3000,47 unequal: No Solution
Exploring Operation: 60-50=10, Resulting Numbers: [10]
10,47 unequal: No Solution
Exploring Operation: 50+60=110, Resulting Numbers: [110]
110,47 unequal: No Solution
Moving to Node #0,3,3
Current State: 47:[50, 11], Operations: ['88-38=50', '55/5=11']
Exploring Operation: 50*11=550, Resulting Numbers: [550]
550,47 unequal: No Solution
Exploring Operation: 50-11=39, Resulting Numbers: [39]
39,47 unequal: No Solution
Exploring Operation: 50+11=61, Resulting Numbers: [61]
61,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
Current State: 47:[38, 88, 60], Operations: ['5+55=60']
Exploring Operation: 38+88=126, Resulting Numbers: [60, 126]
Generated Node #0,4,0: 47:[60, 126] Operation: 38+88=126
Exploring Operation: 88-60=28, Resulting Numbers: [38, 28]
Generated Node #0,4,1: 47:[38, 28] Operation: 88-60=28
Exploring Operation: 88-38=50, Resulting Numbers: [60, 50]
Generated Node #0,4,2: 47:[60, 50] Operation: 88-38=50
Exploring Operation: 38+60=98, Resulting Numbers: [88, 98]
Generated Node #0,4,3: 47:[88, 98] Operation: 38+60=98
Exploring Operation: 60-38=22, Resulting Numbers: [88, 22]
Generated Node #0,4,4: 47:[88, 22] Operation: 60-38=22
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 47:[60, 50], Operations: ['5+55=60', '88-38=50']
Exploring Operation: 60-50=10, Resulting Numbers: [10]
10,47 unequal: No Solution
Exploring Operation: 60*50=3000, Resulting Numbers: [3000]
3000,47 unequal: No Solution
Exploring Operation: 60+50=110, Resulting Numbers: [110]
110,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 47:[38, 28], Operations: ['5+55=60', '88-60=28']
Exploring Operation: 38-28=10, Resulting Numbers: [10]
10,47 unequal: No Solution
Exploring Operation: 38+28=66, Resulting Numbers: [66]
66,47 unequal: No Solution
Exploring Operation: 38*28=1064, Resulting Numbers: [1064]
1064,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 47:[88, 22], Operations: ['5+55=60', '60-38=22']
Exploring Operation: 88/22=4, Resulting Numbers: [4]
4,47 unequal: No Solution
Exploring Operation: 88-22=66, Resulting Numbers: [66]
66,47 unequal: No Solution
Exploring Operation: 88+22=110, Resulting Numbers: [110]
110,47 unequal: No Solution
Exploring Operation: 88*22=1936, Resulting Numbers: [1936]
1936,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 47:[60, 126], Operations: ['5+55=60', '38+88=126']
Exploring Operation: 60+126=186, Resulting Numbers: [186]
186,47 unequal: No Solution
Exploring Operation: 60*126=7560, Resulting Numbers: [7560]
7560,47 unequal: No Solution
Exploring Operation: 126-60=66, Resulting Numbers: [66]
66,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 47:[88, 98], Operations: ['5+55=60', '38+60=98']
Exploring Operation: 88*98=8624, Resulting Numbers: [8624]
8624,47 unequal: No Solution
Exploring Operation: 98-88=10, Resulting Numbers: [10]
10,47 unequal: No Solution
Exploring Operation: 88+98=186, Resulting Numbers: [186]
186,47 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 |
[
21,
62,
59,
72
] | 96 | [
"21+62=83",
"72-59=13",
"83+13=96"
] | Current State: 96:[21, 62, 59, 72], Operations: []
Exploring Operation: 21+62=83, Resulting Numbers: [59, 72, 83]
Generated Node #2: [59, 72, 83] from Operation: 21+62=83
Current State: 96:[59, 72, 83], Operations: ['21+62=83']
Exploring Operation: 72-59=13, Resulting Numbers: [83, 13]
Generated Node #3: [83, 13] from Operation: 72-59=13
Current State: 96:[83, 13], Operations: ['21+62=83', '72-59=13']
Exploring Operation: 83+13=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[21, 62, 59, 72], Operations: []
Exploring Operation: 72-59=13, Resulting Numbers: [21, 62, 13]
Generated Node #0,0: 96:[21, 62, 13] Operation: 72-59=13
Exploring Operation: 62-59=3, Resulting Numbers: [21, 72, 3]
Generated Node #0,1: 96:[21, 72, 3] Operation: 62-59=3
Exploring Operation: 72-62=10, Resulting Numbers: [21, 59, 10]
Generated Node #0,2: 96:[21, 59, 10] Operation: 72-62=10
Exploring Operation: 21+72=93, Resulting Numbers: [62, 59, 93]
Generated Node #0,3: 96:[62, 59, 93] Operation: 21+72=93
Start Sub Search at level 1: Moving to Node #0,2
Current State: 96:[21, 59, 10], Operations: ['72-62=10']
Exploring Operation: 21+10=31, Resulting Numbers: [59, 31]
Generated Node #0,2,0: 96:[59, 31] Operation: 21+10=31
Exploring Operation: 59-10=49, Resulting Numbers: [21, 49]
Generated Node #0,2,1: 96:[21, 49] Operation: 59-10=49
Exploring Operation: 21-10=11, Resulting Numbers: [59, 11]
Generated Node #0,2,2: 96:[59, 11] Operation: 21-10=11
Exploring Operation: 59-21=38, Resulting Numbers: [10, 38]
Generated Node #0,2,3: 96:[10, 38] Operation: 59-21=38
Moving to Node #0,2,1
Current State: 96:[21, 49], Operations: ['72-62=10', '59-10=49']
Exploring Operation: 21+49=70, Resulting Numbers: [70]
70,96 unequal: No Solution
Exploring Operation: 49-21=28, Resulting Numbers: [28]
28,96 unequal: No Solution
Exploring Operation: 21*49=1029, Resulting Numbers: [1029]
1029,96 unequal: No Solution
Moving to Node #0,2,3
Current State: 96:[10, 38], Operations: ['72-62=10', '59-21=38']
Exploring Operation: 10*38=380, Resulting Numbers: [380]
380,96 unequal: No Solution
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,96 unequal: No Solution
Exploring Operation: 10+38=48, Resulting Numbers: [48]
48,96 unequal: No Solution
Moving to Node #0,2,2
Current State: 96:[59, 11], Operations: ['72-62=10', '21-10=11']
Exploring Operation: 59-11=48, Resulting Numbers: [48]
48,96 unequal: No Solution
Exploring Operation: 59+11=70, Resulting Numbers: [70]
70,96 unequal: No Solution
Exploring Operation: 59*11=649, Resulting Numbers: [649]
649,96 unequal: No Solution
Moving to Node #0,2,0
Current State: 96:[59, 31], Operations: ['72-62=10', '21+10=31']
Exploring Operation: 59-31=28, Resulting Numbers: [28]
28,96 unequal: No Solution
Exploring Operation: 59+31=90, Resulting Numbers: [90]
90,96 unequal: No Solution
Exploring Operation: 59*31=1829, Resulting Numbers: [1829]
1829,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[21, 62, 13], Operations: ['72-59=13']
Exploring Operation: 21-13=8, Resulting Numbers: [62, 8]
Generated Node #0,0,0: 96:[62, 8] Operation: 21-13=8
Exploring Operation: 21+62=83, Resulting Numbers: [13, 83]
Generated Node #0,0,1: 96:[13, 83] Operation: 21+62=83
Exploring Operation: 62-13=49, Resulting Numbers: [21, 49]
Generated Node #0,0,2: 96:[21, 49] Operation: 62-13=49
Exploring Operation: 62-21=41, Resulting Numbers: [13, 41]
Generated Node #0,0,3: 96:[13, 41] Operation: 62-21=41
Moving to Node #0,0,2
Current State: 96:[21, 49], Operations: ['72-59=13', '62-13=49']
Exploring Operation: 49-21=28, Resulting Numbers: [28]
28,96 unequal: No Solution
Exploring Operation: 21*49=1029, Resulting Numbers: [1029]
1029,96 unequal: No Solution
Exploring Operation: 21+49=70, Resulting Numbers: [70]
70,96 unequal: No Solution
Moving to Node #0,0,3
Current State: 96:[13, 41], Operations: ['72-59=13', '62-21=41']
Exploring Operation: 41-13=28, Resulting Numbers: [28]
28,96 unequal: No Solution
Exploring Operation: 13*41=533, Resulting Numbers: [533]
533,96 unequal: No Solution
Exploring Operation: 13+41=54, Resulting Numbers: [54]
54,96 unequal: No Solution
Moving to Node #0,0,1
Current State: 96:[13, 83], Operations: ['72-59=13', '21+62=83']
Exploring Operation: 13+83=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[21, 62, 59, 72], Operations: []
Exploring Operation: 72-59=13, Resulting Numbers: [21, 62, 13]
Generated Node #0,0: 96:[21, 62, 13] Operation: 72-59=13
Moving to Node #0,0
Current State: 96:[21, 62, 13], Operations: ['72-59=13']
Exploring Operation: 21+62=83, Resulting Numbers: [13, 83]
Generated Node #0,0,1: 96:[13, 83] Operation: 21+62=83
Moving to Node #0,0,1
Current State: 96:[13, 83], Operations: ['72-59=13', '21+62=83']
Exploring Operation: 13+83=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_4 | sum_heuristic |
[
48,
4,
88,
3
] | 18 | [
"48/3=16",
"88-16=72",
"72/4=18"
] | Current State: 18:[48, 4, 88, 3], Operations: []
Exploring Operation: 48/3=16, Resulting Numbers: [4, 88, 16]
Generated Node #2: [4, 88, 16] from Operation: 48/3=16
Current State: 18:[4, 88, 16], Operations: ['48/3=16']
Exploring Operation: 88-16=72, Resulting Numbers: [4, 72]
Generated Node #3: [4, 72] from Operation: 88-16=72
Current State: 18:[4, 72], Operations: ['48/3=16', '88-16=72']
Exploring Operation: 72/4=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[48, 4, 88, 3], Operations: []
Exploring Operation: 48-4=44, Resulting Numbers: [88, 3, 44]
Generated Node #0,0: 18:[88, 3, 44] Operation: 48-4=44
Exploring Operation: 88/4=22, Resulting Numbers: [48, 3, 22]
Generated Node #0,1: 18:[48, 3, 22] Operation: 88/4=22
Exploring Operation: 48/3=16, Resulting Numbers: [4, 88, 16]
Generated Node #0,2: 18:[4, 88, 16] Operation: 48/3=16
Exploring Operation: 88-48=40, Resulting Numbers: [4, 3, 40]
Generated Node #0,3: 18:[4, 3, 40] Operation: 88-48=40
Exploring Operation: 48/4=12, Resulting Numbers: [88, 3, 12]
Generated Node #0,4: 18:[88, 3, 12] Operation: 48/4=12
Start Sub Search at level 1: Moving to Node #0,3
Current State: 18:[4, 3, 40], Operations: ['88-48=40']
Exploring Operation: 4+3=7, Resulting Numbers: [40, 7]
Generated Node #0,3,0: 18:[40, 7] Operation: 4+3=7
Exploring Operation: 40-4=36, Resulting Numbers: [3, 36]
Generated Node #0,3,1: 18:[3, 36] Operation: 40-4=36
Exploring Operation: 40/4=10, Resulting Numbers: [3, 10]
Generated Node #0,3,2: 18:[3, 10] Operation: 40/4=10
Exploring Operation: 40-3=37, Resulting Numbers: [4, 37]
Generated Node #0,3,3: 18:[4, 37] Operation: 40-3=37
Exploring Operation: 4-3=1, Resulting Numbers: [40, 1]
Generated Node #0,3,4: 18:[40, 1] Operation: 4-3=1
Moving to Node #0,3,2
Current State: 18:[3, 10], Operations: ['88-48=40', '40/4=10']
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,18 unequal: No Solution
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,18 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,18 unequal: No Solution
Moving to Node #0,3,1
Current State: 18:[3, 36], Operations: ['88-48=40', '40-4=36']
Exploring Operation: 3*36=108, Resulting Numbers: [108]
108,18 unequal: No Solution
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,18 unequal: No Solution
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,18 unequal: No Solution
Exploring Operation: 3+36=39, Resulting Numbers: [39]
39,18 unequal: No Solution
Moving to Node #0,3,3
Current State: 18:[4, 37], Operations: ['88-48=40', '40-3=37']
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,18 unequal: No Solution
Exploring Operation: 4*37=148, Resulting Numbers: [148]
148,18 unequal: No Solution
Exploring Operation: 4+37=41, Resulting Numbers: [41]
41,18 unequal: No Solution
Moving to Node #0,3,0
Current State: 18:[40, 7], Operations: ['88-48=40', '4+3=7']
Exploring Operation: 40*7=280, Resulting Numbers: [280]
280,18 unequal: No Solution
Exploring Operation: 40-7=33, Resulting Numbers: [33]
33,18 unequal: No Solution
Exploring Operation: 40+7=47, Resulting Numbers: [47]
47,18 unequal: No Solution
Moving to Node #0,3,4
Current State: 18:[40, 1], Operations: ['88-48=40', '4-3=1']
Exploring Operation: 40-1=39, Resulting Numbers: [39]
39,18 unequal: No Solution
Exploring Operation: 40*1=40, Resulting Numbers: [40]
40,18 unequal: No Solution
Exploring Operation: 40/1=40, Resulting Numbers: [40]
40,18 unequal: No Solution
Exploring Operation: 40+1=41, Resulting Numbers: [41]
41,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[48, 3, 22], Operations: ['88/4=22']
Exploring Operation: 48-22=26, Resulting Numbers: [3, 26]
Generated Node #0,1,0: 18:[3, 26] Operation: 48-22=26
Exploring Operation: 48+3=51, Resulting Numbers: [22, 51]
Generated Node #0,1,1: 18:[22, 51] Operation: 48+3=51
Exploring Operation: 48-3=45, Resulting Numbers: [22, 45]
Generated Node #0,1,2: 18:[22, 45] Operation: 48-3=45
Exploring Operation: 22-3=19, Resulting Numbers: [48, 19]
Generated Node #0,1,3: 18:[48, 19] Operation: 22-3=19
Exploring Operation: 48/3=16, Resulting Numbers: [22, 16]
Generated Node #0,1,4: 18:[22, 16] Operation: 48/3=16
Moving to Node #0,1,4
Current State: 18:[22, 16], Operations: ['88/4=22', '48/3=16']
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,18 unequal: No Solution
Exploring Operation: 22+16=38, Resulting Numbers: [38]
38,18 unequal: No Solution
Exploring Operation: 22*16=352, Resulting Numbers: [352]
352,18 unequal: No Solution
Moving to Node #0,1,0
Current State: 18:[3, 26], Operations: ['88/4=22', '48-22=26']
Exploring Operation: 3+26=29, Resulting Numbers: [29]
29,18 unequal: No Solution
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,18 unequal: No Solution
Exploring Operation: 3*26=78, Resulting Numbers: [78]
78,18 unequal: No Solution
Moving to Node #0,1,2
Current State: 18:[22, 45], Operations: ['88/4=22', '48-3=45']
Exploring Operation: 22*45=990, Resulting Numbers: [990]
990,18 unequal: No Solution
Exploring Operation: 22+45=67, Resulting Numbers: [67]
67,18 unequal: No Solution
Exploring Operation: 45-22=23, Resulting Numbers: [23]
23,18 unequal: No Solution
Moving to Node #0,1,3
Current State: 18:[48, 19], Operations: ['88/4=22', '22-3=19']
Exploring Operation: 48*19=912, Resulting Numbers: [912]
912,18 unequal: No Solution
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,18 unequal: No Solution
Exploring Operation: 48+19=67, Resulting Numbers: [67]
67,18 unequal: No Solution
Moving to Node #0,1,1
Current State: 18:[22, 51], Operations: ['88/4=22', '48+3=51']
Exploring Operation: 22*51=1122, Resulting Numbers: [1122]
1122,18 unequal: No Solution
Exploring Operation: 51-22=29, Resulting Numbers: [29]
29,18 unequal: No Solution
Exploring Operation: 22+51=73, Resulting Numbers: [73]
73,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 18:[4, 88, 16], Operations: ['48/3=16']
Exploring Operation: 88/4=22, Resulting Numbers: [16, 22]
Generated Node #0,2,0: 18:[16, 22] Operation: 88/4=22
Exploring Operation: 16/4=4, Resulting Numbers: [88, 4]
Generated Node #0,2,1: 18:[88, 4] Operation: 16/4=4
Exploring Operation: 88-16=72, Resulting Numbers: [4, 72]
Generated Node #0,2,2: 18:[4, 72] Operation: 88-16=72
Exploring Operation: 4+16=20, Resulting Numbers: [88, 20]
Generated Node #0,2,3: 18:[88, 20] Operation: 4+16=20
Exploring Operation: 88-4=84, Resulting Numbers: [16, 84]
Generated Node #0,2,4: 18:[16, 84] Operation: 88-4=84
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 18:[16, 22], Operations: ['48/3=16', '88/4=22']
Exploring Operation: 16+22=38, Resulting Numbers: [38]
38,18 unequal: No Solution
Exploring Operation: 16*22=352, Resulting Numbers: [352]
352,18 unequal: No Solution
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,18 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: 18:[4, 72], Operations: ['48/3=16', '88-16=72']
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,18 unequal: No Solution
Exploring Operation: 72/4=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[48, 4, 88, 3], Operations: []
Exploring Operation: 48/3=16, Resulting Numbers: [4, 88, 16]
Generated Node #0,2: 18:[4, 88, 16] Operation: 48/3=16
Moving to Node #0,2
Current State: 18:[4, 88, 16], Operations: ['48/3=16']
Exploring Operation: 88-16=72, Resulting Numbers: [4, 72]
Generated Node #0,2,2: 18:[4, 72] Operation: 88-16=72
Moving to Node #0,2,2
Current State: 18:[4, 72], Operations: ['48/3=16', '88-16=72']
Exploring Operation: 72/4=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.947049 | hs_5 | mult_heuristic |
[
69,
96,
65,
66
] | 97 | [
"69-66=3",
"96/3=32",
"65+32=97"
] | Current State: 97:[69, 96, 65, 66], Operations: []
Exploring Operation: 69-66=3, Resulting Numbers: [96, 65, 3]
Generated Node #2: [96, 65, 3] from Operation: 69-66=3
Current State: 97:[96, 65, 3], Operations: ['69-66=3']
Exploring Operation: 96/3=32, Resulting Numbers: [65, 32]
Generated Node #3: [65, 32] from Operation: 96/3=32
Current State: 97:[65, 32], Operations: ['69-66=3', '96/3=32']
Exploring Operation: 65+32=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[69, 96, 65, 66], Operations: []
Exploring Operation: 65+66=131, Resulting Numbers: [69, 96, 131]
Generated Node #0,0: 97:[69, 96, 131] Operation: 65+66=131
Exploring Operation: 69+65=134, Resulting Numbers: [96, 66, 134]
Generated Node #0,1: 97:[96, 66, 134] Operation: 69+65=134
Moving to Node #0,0
Current State: 97:[69, 96, 131], Operations: ['65+66=131']
Exploring Operation: 131-69=62, Resulting Numbers: [96, 62]
Generated Node #0,0,0: 97:[96, 62] Operation: 131-69=62
Exploring Operation: 131-96=35, Resulting Numbers: [69, 35]
Generated Node #0,0,1: 97:[69, 35] Operation: 131-96=35
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[96, 62], Operations: ['65+66=131', '131-69=62']
Exploring Operation: 96+62=158, Resulting Numbers: [158]
158,97 unequal: No Solution
Exploring Operation: 96-62=34, Resulting Numbers: [34]
34,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:[69, 35], Operations: ['65+66=131', '131-96=35']
Exploring Operation: 69+35=104, Resulting Numbers: [104]
104,97 unequal: No Solution
Exploring Operation: 69-35=34, Resulting Numbers: [34]
34,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:[96, 66, 134], Operations: ['69+65=134']
Exploring Operation: 134-96=38, Resulting Numbers: [66, 38]
Generated Node #0,1,0: 97:[66, 38] Operation: 134-96=38
Exploring Operation: 134-66=68, Resulting Numbers: [96, 68]
Generated Node #0,1,1: 97:[96, 68] Operation: 134-66=68
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 97:[96, 68], Operations: ['69+65=134', '134-66=68']
Exploring Operation: 96-68=28, Resulting Numbers: [28]
28,97 unequal: No Solution
Exploring Operation: 96+68=164, Resulting Numbers: [164]
164,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:[66, 38], Operations: ['69+65=134', '134-96=38']
Exploring Operation: 66+38=104, Resulting Numbers: [104]
104,97 unequal: No Solution
Exploring Operation: 66-38=28, Resulting Numbers: [28]
28,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 |
[
76,
26,
22,
46
] | 88 | [
"76-26=50",
"50-46=4",
"22*4=88"
] | Current State: 88:[76, 26, 22, 46], Operations: []
Exploring Operation: 76-26=50, Resulting Numbers: [22, 46, 50]
Generated Node #2: [22, 46, 50] from Operation: 76-26=50
Current State: 88:[22, 46, 50], Operations: ['76-26=50']
Exploring Operation: 50-46=4, Resulting Numbers: [22, 4]
Generated Node #3: [22, 4] from Operation: 50-46=4
Current State: 88:[22, 4], Operations: ['76-26=50', '50-46=4']
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[76, 26, 22, 46], Operations: []
Exploring Operation: 76-26=50, Resulting Numbers: [22, 46, 50]
Generated Node #0,0: 88:[22, 46, 50] Operation: 76-26=50
Moving to Node #0,0
Current State: 88:[22, 46, 50], Operations: ['76-26=50']
Exploring Operation: 50-46=4, Resulting Numbers: [22, 4]
Generated Node #0,0,0: 88:[22, 4] Operation: 50-46=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 88:[22, 4], Operations: ['76-26=50', '50-46=4']
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[76, 26, 22, 46], Operations: []
Exploring Operation: 76-26=50, Resulting Numbers: [22, 46, 50]
Generated Node #0,0: 88:[22, 46, 50] Operation: 76-26=50
Moving to Node #0,0
Current State: 88:[22, 46, 50], Operations: ['76-26=50']
Exploring Operation: 50-46=4, Resulting Numbers: [22, 4]
Generated Node #0,0,0: 88:[22, 4] Operation: 50-46=4
Moving to Node #0,0,0
Current State: 88:[22, 4], Operations: ['76-26=50', '50-46=4']
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
50,
1,
10,
21
] | 48 | [
"21-1=20",
"20/10=2",
"50-2=48"
] | Current State: 48:[50, 1, 10, 21], Operations: []
Exploring Operation: 21-1=20, Resulting Numbers: [50, 10, 20]
Generated Node #2: [50, 10, 20] from Operation: 21-1=20
Current State: 48:[50, 10, 20], Operations: ['21-1=20']
Exploring Operation: 20/10=2, Resulting Numbers: [50, 2]
Generated Node #3: [50, 2] from Operation: 20/10=2
Current State: 48:[50, 2], Operations: ['21-1=20', '20/10=2']
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[50, 1, 10, 21], Operations: []
Exploring Operation: 21-10=11, Resulting Numbers: [50, 1, 11]
Generated Node #0,0: 48:[50, 1, 11] Operation: 21-10=11
Exploring Operation: 10-1=9, Resulting Numbers: [50, 21, 9]
Generated Node #0,1: 48:[50, 21, 9] Operation: 10-1=9
Exploring Operation: 50/10=5, Resulting Numbers: [1, 21, 5]
Generated Node #0,2: 48:[1, 21, 5] Operation: 50/10=5
Exploring Operation: 1+10=11, Resulting Numbers: [50, 21, 11]
Generated Node #0,3: 48:[50, 21, 11] Operation: 1+10=11
Exploring Operation: 50-1=49, Resulting Numbers: [10, 21, 49]
Generated Node #0,4: 48:[10, 21, 49] Operation: 50-1=49
Moving to Node #0,0
Current State: 48:[50, 1, 11], Operations: ['21-10=11']
Exploring Operation: 50-1=49, Resulting Numbers: [11, 49]
Generated Node #0,0,0: 48:[11, 49] Operation: 50-1=49
Exploring Operation: 50/1=50, Resulting Numbers: [11, 50]
Generated Node #0,0,1: 48:[11, 50] Operation: 50/1=50
Exploring Operation: 1+11=12, Resulting Numbers: [50, 12]
Generated Node #0,0,2: 48:[50, 12] Operation: 1+11=12
Exploring Operation: 50*1=50, Resulting Numbers: [11, 50]
Generated Node #0,0,3: 48:[11, 50] Operation: 50*1=50
Exploring Operation: 1*11=11, Resulting Numbers: [50, 11]
Generated Node #0,0,4: 48:[50, 11] Operation: 1*11=11
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[11, 49], Operations: ['21-10=11', '50-1=49']
Exploring Operation: 49-11=38, Resulting Numbers: [38]
38,48 unequal: No Solution
Exploring Operation: 11+49=60, Resulting Numbers: [60]
60,48 unequal: No Solution
Exploring Operation: 11*49=539, Resulting Numbers: [539]
539,48 unequal: No Solution
No 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: 48:[50, 12], Operations: ['21-10=11', '1+11=12']
Exploring Operation: 50-12=38, Resulting Numbers: [38]
38,48 unequal: No Solution
Exploring Operation: 50+12=62, Resulting Numbers: [62]
62,48 unequal: No Solution
Exploring Operation: 50*12=600, Resulting Numbers: [600]
600,48 unequal: No Solution
No 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: 48:[11, 50], Operations: ['21-10=11', '50/1=50']
Exploring Operation: 11+50=61, Resulting Numbers: [61]
61,48 unequal: No Solution
Exploring Operation: 50-11=39, Resulting Numbers: [39]
39,48 unequal: No Solution
Exploring Operation: 11*50=550, Resulting Numbers: [550]
550,48 unequal: No Solution
No 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: 48:[11, 50], Operations: ['21-10=11', '50*1=50']
Exploring Operation: 11*50=550, Resulting Numbers: [550]
550,48 unequal: No Solution
Exploring Operation: 50-11=39, Resulting Numbers: [39]
39,48 unequal: No Solution
Exploring Operation: 11+50=61, Resulting Numbers: [61]
61,48 unequal: No Solution
No 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: 48:[50, 11], Operations: ['21-10=11', '1*11=11']
Exploring Operation: 50+11=61, Resulting Numbers: [61]
61,48 unequal: No Solution
Exploring Operation: 50-11=39, Resulting Numbers: [39]
39,48 unequal: No Solution
Exploring Operation: 50*11=550, Resulting Numbers: [550]
550,48 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: 48:[1, 21, 5], Operations: ['50/10=5']
Exploring Operation: 21+5=26, Resulting Numbers: [1, 26]
Generated Node #0,2,0: 48:[1, 26] Operation: 21+5=26
Exploring Operation: 5-1=4, Resulting Numbers: [21, 4]
Generated Node #0,2,1: 48:[21, 4] Operation: 5-1=4
Exploring Operation: 1+5=6, Resulting Numbers: [21, 6]
Generated Node #0,2,2: 48:[21, 6] Operation: 1+5=6
Exploring Operation: 21-5=16, Resulting Numbers: [1, 16]
Generated Node #0,2,3: 48:[1, 16] Operation: 21-5=16
Exploring Operation: 1+21=22, Resulting Numbers: [5, 22]
Generated Node #0,2,4: 48:[5, 22] Operation: 1+21=22
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 48:[1, 16], Operations: ['50/10=5', '21-5=16']
Exploring Operation: 1+16=17, Resulting Numbers: [17]
17,48 unequal: No Solution
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,48 unequal: No Solution
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,48 unequal: No Solution
Exploring Operation: 1*16=16, Resulting Numbers: [16]
16,48 unequal: No Solution
No 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: 48:[1, 26], Operations: ['50/10=5', '21+5=26']
Exploring Operation: 1*26=26, Resulting Numbers: [26]
26,48 unequal: No Solution
Exploring Operation: 1+26=27, Resulting Numbers: [27]
27,48 unequal: No Solution
Exploring Operation: 26/1=26, Resulting Numbers: [26]
26,48 unequal: No Solution
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,48 unequal: No Solution
No 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: 48:[21, 4], Operations: ['50/10=5', '5-1=4']
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,48 unequal: No Solution
Exploring Operation: 21*4=84, Resulting Numbers: [84]
84,48 unequal: No Solution
Exploring Operation: 21+4=25, Resulting Numbers: [25]
25,48 unequal: No Solution
No 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: 48:[21, 6], Operations: ['50/10=5', '1+5=6']
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,48 unequal: No Solution
Exploring Operation: 21+6=27, Resulting Numbers: [27]
27,48 unequal: No Solution
Exploring Operation: 21*6=126, Resulting Numbers: [126]
126,48 unequal: No Solution
No 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: 48:[5, 22], Operations: ['50/10=5', '1+21=22']
Exploring Operation: 5+22=27, Resulting Numbers: [27]
27,48 unequal: No Solution
Exploring Operation: 5*22=110, Resulting Numbers: [110]
110,48 unequal: No Solution
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,48 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: 48:[50, 21, 9], Operations: ['10-1=9']
Exploring Operation: 50+9=59, Resulting Numbers: [21, 59]
Generated Node #0,1,0: 48:[21, 59] Operation: 50+9=59
Exploring Operation: 50-9=41, Resulting Numbers: [21, 41]
Generated Node #0,1,1: 48:[21, 41] Operation: 50-9=41
Exploring Operation: 50-21=29, Resulting Numbers: [9, 29]
Generated Node #0,1,2: 48:[9, 29] Operation: 50-21=29
Exploring Operation: 21-9=12, Resulting Numbers: [50, 12]
Generated Node #0,1,3: 48:[50, 12] Operation: 21-9=12
Exploring Operation: 21+9=30, Resulting Numbers: [50, 30]
Generated Node #0,1,4: 48:[50, 30] Operation: 21+9=30
Moving to Node #0,3
Current State: 48:[50, 21, 11], Operations: ['1+10=11']
Exploring Operation: 50-11=39, Resulting Numbers: [21, 39]
Generated Node #0,3,0: 48:[21, 39] Operation: 50-11=39
Exploring Operation: 21-11=10, Resulting Numbers: [50, 10]
Generated Node #0,3,1: 48:[50, 10] Operation: 21-11=10
Exploring Operation: 21+11=32, Resulting Numbers: [50, 32]
Generated Node #0,3,2: 48:[50, 32] Operation: 21+11=32
Exploring Operation: 50+11=61, Resulting Numbers: [21, 61]
Generated Node #0,3,3: 48:[21, 61] Operation: 50+11=61
Exploring Operation: 50-21=29, Resulting Numbers: [11, 29]
Generated Node #0,3,4: 48:[11, 29] Operation: 50-21=29
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 48:[50, 10], Operations: ['1+10=11', '21-11=10']
Exploring Operation: 50+10=60, Resulting Numbers: [60]
60,48 unequal: No Solution
Exploring Operation: 50*10=500, Resulting Numbers: [500]
500,48 unequal: No Solution
Exploring Operation: 50-10=40, Resulting Numbers: [40]
40,48 unequal: No Solution
Exploring Operation: 50/10=5, Resulting Numbers: [5]
5,48 unequal: No Solution
No 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: 48:[11, 29], Operations: ['1+10=11', '50-21=29']
Exploring Operation: 11+29=40, Resulting Numbers: [40]
40,48 unequal: No Solution
Exploring Operation: 11*29=319, Resulting Numbers: [319]
319,48 unequal: No Solution
Exploring Operation: 29-11=18, Resulting Numbers: [18]
18,48 unequal: No Solution
No 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: 48:[50, 32], Operations: ['1+10=11', '21+11=32']
Exploring Operation: 50-32=18, Resulting Numbers: [18]
18,48 unequal: No Solution
Exploring Operation: 50+32=82, Resulting Numbers: [82]
82,48 unequal: No Solution
Exploring Operation: 50*32=1600, Resulting Numbers: [1600]
1600,48 unequal: No Solution
No 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: 48:[21, 39], Operations: ['1+10=11', '50-11=39']
Exploring Operation: 21+39=60, Resulting Numbers: [60]
60,48 unequal: No Solution
Exploring Operation: 21*39=819, Resulting Numbers: [819]
819,48 unequal: No Solution
Exploring Operation: 39-21=18, Resulting Numbers: [18]
18,48 unequal: No Solution
No 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: 48:[21, 61], Operations: ['1+10=11', '50+11=61']
Exploring Operation: 21+61=82, Resulting Numbers: [82]
82,48 unequal: No Solution
Exploring Operation: 61-21=40, Resulting Numbers: [40]
40,48 unequal: No Solution
Exploring Operation: 21*61=1281, Resulting Numbers: [1281]
1281,48 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: 48:[10, 21, 49], Operations: ['50-1=49']
Exploring Operation: 49-10=39, Resulting Numbers: [21, 39]
Generated Node #0,4,0: 48:[21, 39] Operation: 49-10=39
Exploring Operation: 49-21=28, Resulting Numbers: [10, 28]
Generated Node #0,4,1: 48:[10, 28] Operation: 49-21=28
Exploring Operation: 21-10=11, Resulting Numbers: [49, 11]
Generated Node #0,4,2: 48:[49, 11] Operation: 21-10=11
Exploring Operation: 10+49=59, Resulting Numbers: [21, 59]
Generated Node #0,4,3: 48:[21, 59] Operation: 10+49=59
Exploring Operation: 10+21=31, Resulting Numbers: [49, 31]
Generated Node #0,4,4: 48:[49, 31] Operation: 10+21=31
Moving to Node #0,1,3
Current State: 48:[50, 12], Operations: ['10-1=9', '21-9=12']
Exploring Operation: 50+12=62, Resulting Numbers: [62]
62,48 unequal: No Solution
Exploring Operation: 50*12=600, Resulting Numbers: [600]
600,48 unequal: No Solution
Exploring Operation: 50-12=38, Resulting Numbers: [38]
38,48 unequal: No Solution
Moving to Node #0,4,2
Current State: 48:[49, 11], Operations: ['50-1=49', '21-10=11']
Exploring Operation: 49-11=38, Resulting Numbers: [38]
38,48 unequal: No Solution
Exploring Operation: 49*11=539, Resulting Numbers: [539]
539,48 unequal: No Solution
Exploring Operation: 49+11=60, Resulting Numbers: [60]
60,48 unequal: No Solution
Moving to Node #0,4,1
Current State: 48:[10, 28], Operations: ['50-1=49', '49-21=28']
Exploring Operation: 10*28=280, Resulting Numbers: [280]
280,48 unequal: No Solution
Exploring Operation: 28-10=18, Resulting Numbers: [18]
18,48 unequal: No Solution
Exploring Operation: 10+28=38, Resulting Numbers: [38]
38,48 unequal: No Solution
Moving to Node #0,1,2
Current State: 48:[9, 29], Operations: ['10-1=9', '50-21=29']
Exploring Operation: 9*29=261, Resulting Numbers: [261]
261,48 unequal: No Solution
Exploring Operation: 9+29=38, Resulting Numbers: [38]
38,48 unequal: No Solution
Exploring Operation: 29-9=20, Resulting Numbers: [20]
20,48 unequal: No Solution
Moving to Node #0,1,4
Current State: 48:[50, 30], Operations: ['10-1=9', '21+9=30']
Exploring Operation: 50*30=1500, Resulting Numbers: [1500]
1500,48 unequal: No Solution
Exploring Operation: 50+30=80, Resulting Numbers: [80]
80,48 unequal: No Solution
Exploring Operation: 50-30=20, Resulting Numbers: [20]
20,48 unequal: No Solution
Moving to Node #0,4,4
Current State: 48:[49, 31], Operations: ['50-1=49', '10+21=31']
Exploring Operation: 49*31=1519, Resulting Numbers: [1519]
1519,48 unequal: No Solution
Exploring Operation: 49+31=80, Resulting Numbers: [80]
80,48 unequal: No Solution
Exploring Operation: 49-31=18, Resulting Numbers: [18]
18,48 unequal: No Solution
Moving to Node #0,1,1
Current State: 48:[21, 41], Operations: ['10-1=9', '50-9=41']
Exploring Operation: 41-21=20, Resulting Numbers: [20]
20,48 unequal: No Solution
Exploring Operation: 21+41=62, Resulting Numbers: [62]
62,48 unequal: No Solution
Exploring Operation: 21*41=861, Resulting Numbers: [861]
861,48 unequal: No Solution
Moving to Node #0,4,0
Current State: 48:[21, 39], Operations: ['50-1=49', '49-10=39']
Exploring Operation: 21*39=819, Resulting Numbers: [819]
819,48 unequal: No Solution
Exploring Operation: 39-21=18, Resulting Numbers: [18]
18,48 unequal: No Solution
Exploring Operation: 21+39=60, Resulting Numbers: [60]
60,48 unequal: No Solution
Moving to Node #0,4,3
Current State: 48:[21, 59], Operations: ['50-1=49', '10+49=59']
Exploring Operation: 21+59=80, Resulting Numbers: [80]
80,48 unequal: No Solution
Exploring Operation: 59-21=38, Resulting Numbers: [38]
38,48 unequal: No Solution
Exploring Operation: 21*59=1239, Resulting Numbers: [1239]
1239,48 unequal: No Solution
Moving to Node #0,1,0
Current State: 48:[21, 59], Operations: ['10-1=9', '50+9=59']
Exploring Operation: 59-21=38, Resulting Numbers: [38]
38,48 unequal: No Solution
Exploring Operation: 21+59=80, Resulting Numbers: [80]
80,48 unequal: No Solution
Exploring Operation: 21*59=1239, Resulting Numbers: [1239]
1239,48 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
13,
37,
82,
91
] | 52 | [
"91/13=7",
"82-37=45",
"7+45=52"
] | Current State: 52:[13, 37, 82, 91], Operations: []
Exploring Operation: 91/13=7, Resulting Numbers: [37, 82, 7]
Generated Node #2: [37, 82, 7] from Operation: 91/13=7
Current State: 52:[37, 82, 7], Operations: ['91/13=7']
Exploring Operation: 82-37=45, Resulting Numbers: [7, 45]
Generated Node #3: [7, 45] from Operation: 82-37=45
Current State: 52:[7, 45], Operations: ['91/13=7', '82-37=45']
Exploring Operation: 7+45=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[13, 37, 82, 91], Operations: []
Exploring Operation: 91-82=9, Resulting Numbers: [13, 37, 9]
Generated Node #0,0: 52:[13, 37, 9] Operation: 91-82=9
Exploring Operation: 91-37=54, Resulting Numbers: [13, 82, 54]
Generated Node #0,1: 52:[13, 82, 54] Operation: 91-37=54
Exploring Operation: 91/13=7, Resulting Numbers: [37, 82, 7]
Generated Node #0,2: 52:[37, 82, 7] Operation: 91/13=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[13, 37, 9], Operations: ['91-82=9']
Exploring Operation: 37-13=24, Resulting Numbers: [9, 24]
Generated Node #0,0,0: 52:[9, 24] Operation: 37-13=24
Exploring Operation: 13+37=50, Resulting Numbers: [9, 50]
Generated Node #0,0,1: 52:[9, 50] Operation: 13+37=50
Exploring Operation: 37-9=28, Resulting Numbers: [13, 28]
Generated Node #0,0,2: 52:[13, 28] Operation: 37-9=28
Moving to Node #0,0,2
Current State: 52:[13, 28], Operations: ['91-82=9', '37-9=28']
Exploring Operation: 13+28=41, Resulting Numbers: [41]
41,52 unequal: No Solution
Exploring Operation: 13*28=364, Resulting Numbers: [364]
364,52 unequal: No Solution
Exploring Operation: 28-13=15, Resulting Numbers: [15]
15,52 unequal: No Solution
Moving to Node #0,0,0
Current State: 52:[9, 24], Operations: ['91-82=9', '37-13=24']
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,52 unequal: No Solution
Exploring Operation: 9*24=216, Resulting Numbers: [216]
216,52 unequal: No Solution
Exploring Operation: 9+24=33, Resulting Numbers: [33]
33,52 unequal: No Solution
Moving to Node #0,0,1
Current State: 52:[9, 50], Operations: ['91-82=9', '13+37=50']
Exploring Operation: 9+50=59, Resulting Numbers: [59]
59,52 unequal: No Solution
Exploring Operation: 50-9=41, Resulting Numbers: [41]
41,52 unequal: No Solution
Exploring Operation: 9*50=450, Resulting Numbers: [450]
450,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,1
Current State: 52:[13, 82, 54], Operations: ['91-37=54']
Exploring Operation: 54-13=41, Resulting Numbers: [82, 41]
Generated Node #0,1,0: 52:[82, 41] Operation: 54-13=41
Exploring Operation: 82-54=28, Resulting Numbers: [13, 28]
Generated Node #0,1,1: 52:[13, 28] Operation: 82-54=28
Exploring Operation: 82-13=69, Resulting Numbers: [54, 69]
Generated Node #0,1,2: 52:[54, 69] Operation: 82-13=69
Moving to Node #0,1,1
Current State: 52:[13, 28], Operations: ['91-37=54', '82-54=28']
Exploring Operation: 13*28=364, Resulting Numbers: [364]
364,52 unequal: No Solution
Exploring Operation: 28-13=15, Resulting Numbers: [15]
15,52 unequal: No Solution
Exploring Operation: 13+28=41, Resulting Numbers: [41]
41,52 unequal: No Solution
Moving to Node #0,1,2
Current State: 52:[54, 69], Operations: ['91-37=54', '82-13=69']
Exploring Operation: 54+69=123, Resulting Numbers: [123]
123,52 unequal: No Solution
Exploring Operation: 54*69=3726, Resulting Numbers: [3726]
3726,52 unequal: No Solution
Exploring Operation: 69-54=15, Resulting Numbers: [15]
15,52 unequal: No Solution
Moving to Node #0,1,0
Current State: 52:[82, 41], Operations: ['91-37=54', '54-13=41']
Exploring Operation: 82-41=41, Resulting Numbers: [41]
41,52 unequal: No Solution
Exploring Operation: 82/41=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 82+41=123, Resulting Numbers: [123]
123,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
Current State: 52:[37, 82, 7], Operations: ['91/13=7']
Exploring Operation: 82-7=75, Resulting Numbers: [37, 75]
Generated Node #0,2,0: 52:[37, 75] Operation: 82-7=75
Exploring Operation: 82-37=45, Resulting Numbers: [7, 45]
Generated Node #0,2,1: 52:[7, 45] Operation: 82-37=45
Exploring Operation: 37-7=30, Resulting Numbers: [82, 30]
Generated Node #0,2,2: 52:[82, 30] Operation: 37-7=30
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 52:[7, 45], Operations: ['91/13=7', '82-37=45']
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,52 unequal: No Solution
Exploring Operation: 7*45=315, Resulting Numbers: [315]
315,52 unequal: No Solution
Exploring Operation: 7+45=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[13, 37, 82, 91], Operations: []
Exploring Operation: 91/13=7, Resulting Numbers: [37, 82, 7]
Generated Node #0,2: 52:[37, 82, 7] Operation: 91/13=7
Moving to Node #0,2
Current State: 52:[37, 82, 7], Operations: ['91/13=7']
Exploring Operation: 82-37=45, Resulting Numbers: [7, 45]
Generated Node #0,2,1: 52:[7, 45] Operation: 82-37=45
Moving to Node #0,2,1
Current State: 52:[7, 45], Operations: ['91/13=7', '82-37=45']
Exploring Operation: 7+45=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967882 | hs_3 | mult_heuristic |
[
84,
85,
49,
38
] | 82 | [
"84+85=169",
"49+38=87",
"169-87=82"
] | Current State: 82:[84, 85, 49, 38], Operations: []
Exploring Operation: 84+85=169, Resulting Numbers: [49, 38, 169]
Generated Node #2: [49, 38, 169] from Operation: 84+85=169
Current State: 82:[49, 38, 169], Operations: ['84+85=169']
Exploring Operation: 49+38=87, Resulting Numbers: [169, 87]
Generated Node #3: [169, 87] from Operation: 49+38=87
Current State: 82:[169, 87], Operations: ['84+85=169', '49+38=87']
Exploring Operation: 169-87=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[84, 85, 49, 38], Operations: []
Exploring Operation: 85-84=1, Resulting Numbers: [49, 38, 1]
Generated Node #0,0: 82:[49, 38, 1] Operation: 85-84=1
Exploring Operation: 49-38=11, Resulting Numbers: [84, 85, 11]
Generated Node #0,1: 82:[84, 85, 11] Operation: 49-38=11
Exploring Operation: 49+38=87, Resulting Numbers: [84, 85, 87]
Generated Node #0,2: 82:[84, 85, 87] Operation: 49+38=87
Exploring Operation: 84-49=35, Resulting Numbers: [85, 38, 35]
Generated Node #0,3: 82:[85, 38, 35] Operation: 84-49=35
Exploring Operation: 85-49=36, Resulting Numbers: [84, 38, 36]
Generated Node #0,4: 82:[84, 38, 36] Operation: 85-49=36
Start Sub Search at level 1: Moving to Node #0,2
Current State: 82:[84, 85, 87], Operations: ['49+38=87']
Exploring Operation: 87-84=3, Resulting Numbers: [85, 3]
Generated Node #0,2,0: 82:[85, 3] Operation: 87-84=3
Exploring Operation: 87-85=2, Resulting Numbers: [84, 2]
Generated Node #0,2,1: 82:[84, 2] Operation: 87-85=2
Exploring Operation: 84+85=169, Resulting Numbers: [87, 169]
Generated Node #0,2,2: 82:[87, 169] Operation: 84+85=169
Exploring Operation: 84+87=171, Resulting Numbers: [85, 171]
Generated Node #0,2,3: 82:[85, 171] Operation: 84+87=171
Exploring Operation: 85-84=1, Resulting Numbers: [87, 1]
Generated Node #0,2,4: 82:[87, 1] Operation: 85-84=1
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 82:[84, 2], Operations: ['49+38=87', '87-85=2']
Exploring Operation: 84/2=42, Resulting Numbers: [42]
42,82 unequal: No Solution
Exploring Operation: 84+2=86, Resulting Numbers: [86]
86,82 unequal: No Solution
Exploring Operation: 84*2=168, Resulting Numbers: [168]
168,82 unequal: No Solution
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[84, 85, 49, 38], Operations: []
Exploring Operation: 49+38=87, Resulting Numbers: [84, 85, 87]
Generated Node #0,2: 82:[84, 85, 87] Operation: 49+38=87
Moving to Node #0,2
Current State: 82:[84, 85, 87], Operations: ['49+38=87']
Exploring Operation: 87-85=2, Resulting Numbers: [84, 2]
Generated Node #0,2,1: 82:[84, 2] Operation: 87-85=2
Moving to Node #0,2,1
Current State: 82:[84, 2], Operations: ['49+38=87', '87-85=2']
Exploring Operation: 84-2=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
59,
4,
31,
5
] | 29 | [
"59-4=55",
"31-5=26",
"55-26=29"
] | Current State: 29:[59, 4, 31, 5], Operations: []
Exploring Operation: 59-4=55, Resulting Numbers: [31, 5, 55]
Generated Node #2: [31, 5, 55] from Operation: 59-4=55
Current State: 29:[31, 5, 55], Operations: ['59-4=55']
Exploring Operation: 31-5=26, Resulting Numbers: [55, 26]
Generated Node #3: [55, 26] from Operation: 31-5=26
Current State: 29:[55, 26], Operations: ['59-4=55', '31-5=26']
Exploring Operation: 55-26=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[59, 4, 31, 5], Operations: []
Exploring Operation: 59-5=54, Resulting Numbers: [4, 31, 54]
Generated Node #0,0: 29:[4, 31, 54] Operation: 59-5=54
Exploring Operation: 4*5=20, Resulting Numbers: [59, 31, 20]
Generated Node #0,1: 29:[59, 31, 20] Operation: 4*5=20
Exploring Operation: 59-4=55, Resulting Numbers: [31, 5, 55]
Generated Node #0,2: 29:[31, 5, 55] Operation: 59-4=55
Exploring Operation: 59-31=28, Resulting Numbers: [4, 5, 28]
Generated Node #0,3: 29:[4, 5, 28] Operation: 59-31=28
Start Sub Search at level 1: Moving to Node #0,1
Current State: 29:[59, 31, 20], Operations: ['4*5=20']
Exploring Operation: 31-20=11, Resulting Numbers: [59, 11]
Generated Node #0,1,0: 29:[59, 11] Operation: 31-20=11
Exploring Operation: 59-20=39, Resulting Numbers: [31, 39]
Generated Node #0,1,1: 29:[31, 39] Operation: 59-20=39
Exploring Operation: 59+20=79, Resulting Numbers: [31, 79]
Generated Node #0,1,2: 29:[31, 79] Operation: 59+20=79
Exploring Operation: 59-31=28, Resulting Numbers: [20, 28]
Generated Node #0,1,3: 29:[20, 28] Operation: 59-31=28
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 29:[20, 28], Operations: ['4*5=20', '59-31=28']
Exploring Operation: 20*28=560, Resulting Numbers: [560]
560,29 unequal: No Solution
Exploring Operation: 20+28=48, Resulting Numbers: [48]
48,29 unequal: No Solution
Exploring Operation: 28-20=8, Resulting Numbers: [8]
8,29 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: 29:[31, 39], Operations: ['4*5=20', '59-20=39']
Exploring Operation: 39-31=8, Resulting Numbers: [8]
8,29 unequal: No Solution
Exploring Operation: 31+39=70, Resulting Numbers: [70]
70,29 unequal: No Solution
Exploring Operation: 31*39=1209, Resulting Numbers: [1209]
1209,29 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: 29:[59, 11], Operations: ['4*5=20', '31-20=11']
Exploring Operation: 59*11=649, Resulting Numbers: [649]
649,29 unequal: No Solution
Exploring Operation: 59+11=70, Resulting Numbers: [70]
70,29 unequal: No Solution
Exploring Operation: 59-11=48, Resulting Numbers: [48]
48,29 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: 29:[31, 79], Operations: ['4*5=20', '59+20=79']
Exploring Operation: 31+79=110, Resulting Numbers: [110]
110,29 unequal: No Solution
Exploring Operation: 79-31=48, Resulting Numbers: [48]
48,29 unequal: No Solution
Exploring Operation: 31*79=2449, Resulting Numbers: [2449]
2449,29 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: 29:[4, 5, 28], Operations: ['59-31=28']
Exploring Operation: 4*5=20, Resulting Numbers: [28, 20]
Generated Node #0,3,0: 29:[28, 20] Operation: 4*5=20
Exploring Operation: 4+5=9, Resulting Numbers: [28, 9]
Generated Node #0,3,1: 29:[28, 9] Operation: 4+5=9
Exploring Operation: 4+28=32, Resulting Numbers: [5, 32]
Generated Node #0,3,2: 29:[5, 32] Operation: 4+28=32
Exploring Operation: 5-4=1, Resulting Numbers: [28, 1]
Generated Node #0,3,3: 29:[28, 1] Operation: 5-4=1
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 29:[28, 20], Operations: ['59-31=28', '4*5=20']
Exploring Operation: 28*20=560, Resulting Numbers: [560]
560,29 unequal: No Solution
Exploring Operation: 28+20=48, Resulting Numbers: [48]
48,29 unequal: No Solution
Exploring Operation: 28-20=8, Resulting Numbers: [8]
8,29 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: 29:[28, 9], Operations: ['59-31=28', '4+5=9']
Exploring Operation: 28*9=252, Resulting Numbers: [252]
252,29 unequal: No Solution
Exploring Operation: 28+9=37, Resulting Numbers: [37]
37,29 unequal: No Solution
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,29 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: 29:[5, 32], Operations: ['59-31=28', '4+28=32']
Exploring Operation: 5+32=37, Resulting Numbers: [37]
37,29 unequal: No Solution
Exploring Operation: 5*32=160, Resulting Numbers: [160]
160,29 unequal: No Solution
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 29:[28, 1], Operations: ['59-31=28', '5-4=1']
Exploring Operation: 28+1=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[59, 4, 31, 5], Operations: []
Exploring Operation: 59-31=28, Resulting Numbers: [4, 5, 28]
Generated Node #0,3: 29:[4, 5, 28] Operation: 59-31=28
Moving to Node #0,3
Current State: 29:[4, 5, 28], Operations: ['59-31=28']
Exploring Operation: 5-4=1, Resulting Numbers: [28, 1]
Generated Node #0,3,3: 29:[28, 1] Operation: 5-4=1
Moving to Node #0,3,3
Current State: 29:[28, 1], Operations: ['59-31=28', '5-4=1']
Exploring Operation: 28+1=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967014 | hs_4 | sum_heuristic |
[
4,
73,
38,
10
] | 85 | [
"38+10=48",
"48/4=12",
"73+12=85"
] | Current State: 85:[4, 73, 38, 10], Operations: []
Exploring Operation: 38+10=48, Resulting Numbers: [4, 73, 48]
Generated Node #2: [4, 73, 48] from Operation: 38+10=48
Current State: 85:[4, 73, 48], Operations: ['38+10=48']
Exploring Operation: 48/4=12, Resulting Numbers: [73, 12]
Generated Node #3: [73, 12] from Operation: 48/4=12
Current State: 85:[73, 12], Operations: ['38+10=48', '48/4=12']
Exploring Operation: 73+12=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[4, 73, 38, 10], Operations: []
Exploring Operation: 73+10=83, Resulting Numbers: [4, 38, 83]
Generated Node #0,0: 85:[4, 38, 83] Operation: 73+10=83
Exploring Operation: 73-38=35, Resulting Numbers: [4, 10, 35]
Generated Node #0,1: 85:[4, 10, 35] Operation: 73-38=35
Moving to Node #0,0
Current State: 85:[4, 38, 83], Operations: ['73+10=83']
Exploring Operation: 38-4=34, Resulting Numbers: [83, 34]
Generated Node #0,0,0: 85:[83, 34] Operation: 38-4=34
Exploring Operation: 4+83=87, Resulting Numbers: [38, 87]
Generated Node #0,0,1: 85:[38, 87] Operation: 4+83=87
Moving to Node #0,1
Current State: 85:[4, 10, 35], Operations: ['73-38=35']
Exploring Operation: 35-10=25, Resulting Numbers: [4, 25]
Generated Node #0,1,0: 85:[4, 25] Operation: 35-10=25
Exploring Operation: 10-4=6, Resulting Numbers: [35, 6]
Generated Node #0,1,1: 85:[35, 6] Operation: 10-4=6
Moving to Node #0,1,0
Current State: 85:[4, 25], Operations: ['73-38=35', '35-10=25']
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,85 unequal: No Solution
Exploring Operation: 4+25=29, Resulting Numbers: [29]
29,85 unequal: No Solution
Moving to Node #0,0,0
Current State: 85:[83, 34], Operations: ['73+10=83', '38-4=34']
Exploring Operation: 83+34=117, Resulting Numbers: [117]
117,85 unequal: No Solution
Exploring Operation: 83-34=49, Resulting Numbers: [49]
49,85 unequal: No Solution
Moving to Node #0,1,1
Current State: 85:[35, 6], Operations: ['73-38=35', '10-4=6']
Exploring Operation: 35+6=41, Resulting Numbers: [41]
41,85 unequal: No Solution
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,85 unequal: No Solution
Moving to Node #0,0,1
Current State: 85:[38, 87], Operations: ['73+10=83', '4+83=87']
Exploring Operation: 87-38=49, Resulting Numbers: [49]
49,85 unequal: No Solution
Exploring Operation: 38+87=125, Resulting Numbers: [125]
125,85 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
9,
16,
18,
66
] | 74 | [
"9*16=144",
"144/18=8",
"66+8=74"
] | Current State: 74:[9, 16, 18, 66], Operations: []
Exploring Operation: 9*16=144, Resulting Numbers: [18, 66, 144]
Generated Node #2: [18, 66, 144] from Operation: 9*16=144
Current State: 74:[18, 66, 144], Operations: ['9*16=144']
Exploring Operation: 144/18=8, Resulting Numbers: [66, 8]
Generated Node #3: [66, 8] from Operation: 144/18=8
Current State: 74:[66, 8], Operations: ['9*16=144', '144/18=8']
Exploring Operation: 66+8=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[9, 16, 18, 66], Operations: []
Exploring Operation: 18-16=2, Resulting Numbers: [9, 66, 2]
Generated Node #0,0: 74:[9, 66, 2] Operation: 18-16=2
Exploring Operation: 18-9=9, Resulting Numbers: [16, 66, 9]
Generated Node #0,1: 74:[16, 66, 9] Operation: 18-9=9
Exploring Operation: 16+18=34, Resulting Numbers: [9, 66, 34]
Generated Node #0,2: 74:[9, 66, 34] Operation: 16+18=34
Exploring Operation: 18/9=2, Resulting Numbers: [16, 66, 2]
Generated Node #0,3: 74:[16, 66, 2] Operation: 18/9=2
Exploring Operation: 16-9=7, Resulting Numbers: [18, 66, 7]
Generated Node #0,4: 74:[18, 66, 7] Operation: 16-9=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[9, 66, 2], Operations: ['18-16=2']
Exploring Operation: 66-9=57, Resulting Numbers: [2, 57]
Generated Node #0,0,0: 74:[2, 57] Operation: 66-9=57
Exploring Operation: 9+66=75, Resulting Numbers: [2, 75]
Generated Node #0,0,1: 74:[2, 75] Operation: 9+66=75
Exploring Operation: 66/2=33, Resulting Numbers: [9, 33]
Generated Node #0,0,2: 74:[9, 33] Operation: 66/2=33
Exploring Operation: 9-2=7, Resulting Numbers: [66, 7]
Generated Node #0,0,3: 74:[66, 7] Operation: 9-2=7
Exploring Operation: 66+2=68, Resulting Numbers: [9, 68]
Generated Node #0,0,4: 74:[9, 68] Operation: 66+2=68
Moving to Node #0,0,1
Current State: 74:[2, 75], Operations: ['18-16=2', '9+66=75']
Exploring Operation: 2+75=77, Resulting Numbers: [77]
77,74 unequal: No Solution
Exploring Operation: 2*75=150, Resulting Numbers: [150]
150,74 unequal: No Solution
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,74 unequal: No Solution
Moving to Node #0,0,2
Current State: 74:[9, 33], Operations: ['18-16=2', '66/2=33']
Exploring Operation: 33-9=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 9+33=42, Resulting Numbers: [42]
42,74 unequal: No Solution
Exploring Operation: 9*33=297, Resulting Numbers: [297]
297,74 unequal: No Solution
Moving to Node #0,0,3
Current State: 74:[66, 7], Operations: ['18-16=2', '9-2=7']
Exploring Operation: 66+7=73, Resulting Numbers: [73]
73,74 unequal: No Solution
Exploring Operation: 66*7=462, Resulting Numbers: [462]
462,74 unequal: No Solution
Exploring Operation: 66-7=59, Resulting Numbers: [59]
59,74 unequal: No Solution
Moving to Node #0,0,4
Current State: 74:[9, 68], Operations: ['18-16=2', '66+2=68']
Exploring Operation: 68-9=59, Resulting Numbers: [59]
59,74 unequal: No Solution
Exploring Operation: 9+68=77, Resulting Numbers: [77]
77,74 unequal: No Solution
Exploring Operation: 9*68=612, Resulting Numbers: [612]
612,74 unequal: No Solution
Moving to Node #0,0,0
Current State: 74:[2, 57], Operations: ['18-16=2', '66-9=57']
Exploring Operation: 2+57=59, Resulting Numbers: [59]
59,74 unequal: No Solution
Exploring Operation: 2*57=114, Resulting Numbers: [114]
114,74 unequal: No Solution
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,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
Current State: 74:[9, 66, 34], Operations: ['16+18=34']
Exploring Operation: 66-9=57, Resulting Numbers: [34, 57]
Generated Node #0,2,0: 74:[34, 57] Operation: 66-9=57
Exploring Operation: 34-9=25, Resulting Numbers: [66, 25]
Generated Node #0,2,1: 74:[66, 25] Operation: 34-9=25
Exploring Operation: 9+66=75, Resulting Numbers: [34, 75]
Generated Node #0,2,2: 74:[34, 75] Operation: 9+66=75
Exploring Operation: 66-34=32, Resulting Numbers: [9, 32]
Generated Node #0,2,3: 74:[9, 32] Operation: 66-34=32
Exploring Operation: 9+34=43, Resulting Numbers: [66, 43]
Generated Node #0,2,4: 74:[66, 43] Operation: 9+34=43
Moving to Node #0,2,2
Current State: 74:[34, 75], Operations: ['16+18=34', '9+66=75']
Exploring Operation: 34+75=109, Resulting Numbers: [109]
109,74 unequal: No Solution
Exploring Operation: 34*75=2550, Resulting Numbers: [2550]
2550,74 unequal: No Solution
Exploring Operation: 75-34=41, Resulting Numbers: [41]
41,74 unequal: No Solution
Moving to Node #0,2,3
Current State: 74:[9, 32], Operations: ['16+18=34', '66-34=32']
Exploring Operation: 9*32=288, Resulting Numbers: [288]
288,74 unequal: No Solution
Exploring Operation: 32-9=23, Resulting Numbers: [23]
23,74 unequal: No Solution
Exploring Operation: 9+32=41, Resulting Numbers: [41]
41,74 unequal: No Solution
Moving to Node #0,2,4
Current State: 74:[66, 43], Operations: ['16+18=34', '9+34=43']
Exploring Operation: 66*43=2838, Resulting Numbers: [2838]
2838,74 unequal: No Solution
Exploring Operation: 66-43=23, Resulting Numbers: [23]
23,74 unequal: No Solution
Exploring Operation: 66+43=109, Resulting Numbers: [109]
109,74 unequal: No Solution
Moving to Node #0,2,0
Current State: 74:[34, 57], Operations: ['16+18=34', '66-9=57']
Exploring Operation: 57-34=23, Resulting Numbers: [23]
23,74 unequal: No Solution
Exploring Operation: 34+57=91, Resulting Numbers: [91]
91,74 unequal: No Solution
Exploring Operation: 34*57=1938, Resulting Numbers: [1938]
1938,74 unequal: No Solution
Moving to Node #0,2,1
Current State: 74:[66, 25], Operations: ['16+18=34', '34-9=25']
Exploring Operation: 66*25=1650, Resulting Numbers: [1650]
1650,74 unequal: No Solution
Exploring Operation: 66+25=91, Resulting Numbers: [91]
91,74 unequal: No Solution
Exploring Operation: 66-25=41, Resulting Numbers: [41]
41,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,3
Current State: 74:[16, 66, 2], Operations: ['18/9=2']
Exploring Operation: 66/2=33, Resulting Numbers: [16, 33]
Generated Node #0,3,0: 74:[16, 33] Operation: 66/2=33
Exploring Operation: 16*2=32, Resulting Numbers: [66, 32]
Generated Node #0,3,1: 74:[66, 32] Operation: 16*2=32
Exploring Operation: 16+66=82, Resulting Numbers: [2, 82]
Generated Node #0,3,2: 74:[2, 82] Operation: 16+66=82
Exploring Operation: 16/2=8, Resulting Numbers: [66, 8]
Generated Node #0,3,3: 74:[66, 8] Operation: 16/2=8
Exploring Operation: 66-16=50, Resulting Numbers: [2, 50]
Generated Node #0,3,4: 74:[2, 50] Operation: 66-16=50
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 74:[2, 82], Operations: ['18/9=2', '16+66=82']
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,74 unequal: No Solution
Exploring Operation: 2*82=164, Resulting Numbers: [164]
164,74 unequal: No Solution
Exploring Operation: 2+82=84, Resulting Numbers: [84]
84,74 unequal: No Solution
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 74:[66, 32], Operations: ['18/9=2', '16*2=32']
Exploring Operation: 66*32=2112, Resulting Numbers: [2112]
2112,74 unequal: No Solution
Exploring Operation: 66+32=98, Resulting Numbers: [98]
98,74 unequal: No Solution
Exploring Operation: 66-32=34, Resulting Numbers: [34]
34,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,3,4
Current State: 74:[2, 50], Operations: ['18/9=2', '66-16=50']
Exploring Operation: 2*50=100, Resulting Numbers: [100]
100,74 unequal: No Solution
Exploring Operation: 2+50=52, Resulting Numbers: [52]
52,74 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,74 unequal: No Solution
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,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,3,3
Current State: 74:[66, 8], Operations: ['18/9=2', '16/2=8']
Exploring Operation: 66*8=528, Resulting Numbers: [528]
528,74 unequal: No Solution
Exploring Operation: 66+8=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[9, 16, 18, 66], Operations: []
Exploring Operation: 18/9=2, Resulting Numbers: [16, 66, 2]
Generated Node #0,3: 74:[16, 66, 2] Operation: 18/9=2
Moving to Node #0,3
Current State: 74:[16, 66, 2], Operations: ['18/9=2']
Exploring Operation: 16/2=8, Resulting Numbers: [66, 8]
Generated Node #0,3,3: 74:[66, 8] Operation: 16/2=8
Moving to Node #0,3,3
Current State: 74:[66, 8], Operations: ['18/9=2', '16/2=8']
Exploring Operation: 66+8=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.94184 | hs_5 | mult_heuristic |
[
13,
23,
64,
58
] | 16 | [
"23-13=10",
"64-58=6",
"10+6=16"
] | Current State: 16:[13, 23, 64, 58], Operations: []
Exploring Operation: 23-13=10, Resulting Numbers: [64, 58, 10]
Generated Node #2: [64, 58, 10] from Operation: 23-13=10
Current State: 16:[64, 58, 10], Operations: ['23-13=10']
Exploring Operation: 64-58=6, Resulting Numbers: [10, 6]
Generated Node #3: [10, 6] from Operation: 64-58=6
Current State: 16:[10, 6], Operations: ['23-13=10', '64-58=6']
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[13, 23, 64, 58], Operations: []
Exploring Operation: 64-58=6, Resulting Numbers: [13, 23, 6]
Generated Node #0,0: 16:[13, 23, 6] Operation: 64-58=6
Moving to Node #0,0
Current State: 16:[13, 23, 6], Operations: ['64-58=6']
Exploring Operation: 23-13=10, Resulting Numbers: [6, 10]
Generated Node #0,0,0: 16:[6, 10] Operation: 23-13=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 16:[6, 10], Operations: ['64-58=6', '23-13=10']
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[13, 23, 64, 58], Operations: []
Exploring Operation: 64-58=6, Resulting Numbers: [13, 23, 6]
Generated Node #0,0: 16:[13, 23, 6] Operation: 64-58=6
Moving to Node #0,0
Current State: 16:[13, 23, 6], Operations: ['64-58=6']
Exploring Operation: 23-13=10, Resulting Numbers: [6, 10]
Generated Node #0,0,0: 16:[6, 10] Operation: 23-13=10
Moving to Node #0,0,0
Current State: 16:[6, 10], Operations: ['64-58=6', '23-13=10']
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
83,
42,
14,
35
] | 51 | [
"83-35=48",
"42/14=3",
"48+3=51"
] | Current State: 51:[83, 42, 14, 35], Operations: []
Exploring Operation: 83-35=48, Resulting Numbers: [42, 14, 48]
Generated Node #2: [42, 14, 48] from Operation: 83-35=48
Current State: 51:[42, 14, 48], Operations: ['83-35=48']
Exploring Operation: 42/14=3, Resulting Numbers: [48, 3]
Generated Node #3: [48, 3] from Operation: 42/14=3
Current State: 51:[48, 3], Operations: ['83-35=48', '42/14=3']
Exploring Operation: 48+3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[83, 42, 14, 35], Operations: []
Exploring Operation: 83-14=69, Resulting Numbers: [42, 35, 69]
Generated Node #0,0: 51:[42, 35, 69] Operation: 83-14=69
Exploring Operation: 83-42=41, Resulting Numbers: [14, 35, 41]
Generated Node #0,1: 51:[14, 35, 41] Operation: 83-42=41
Exploring Operation: 14+35=49, Resulting Numbers: [83, 42, 49]
Generated Node #0,2: 51:[83, 42, 49] Operation: 14+35=49
Exploring Operation: 42-35=7, Resulting Numbers: [83, 14, 7]
Generated Node #0,3: 51:[83, 14, 7] Operation: 42-35=7
Exploring Operation: 83-35=48, Resulting Numbers: [42, 14, 48]
Generated Node #0,4: 51:[42, 14, 48] Operation: 83-35=48
Moving to Node #0,4
Current State: 51:[42, 14, 48], Operations: ['83-35=48']
Exploring Operation: 14+48=62, Resulting Numbers: [42, 62]
Generated Node #0,4,0: 51:[42, 62] Operation: 14+48=62
Exploring Operation: 42/14=3, Resulting Numbers: [48, 3]
Generated Node #0,4,1: 51:[48, 3] Operation: 42/14=3
Exploring Operation: 42+14=56, Resulting Numbers: [48, 56]
Generated Node #0,4,2: 51:[48, 56] Operation: 42+14=56
Exploring Operation: 48-42=6, Resulting Numbers: [14, 6]
Generated Node #0,4,3: 51:[14, 6] Operation: 48-42=6
Exploring Operation: 42-14=28, Resulting Numbers: [48, 28]
Generated Node #0,4,4: 51:[48, 28] Operation: 42-14=28
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 51:[48, 3], Operations: ['83-35=48', '42/14=3']
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,51 unequal: No Solution
Exploring Operation: 48*3=144, Resulting Numbers: [144]
144,51 unequal: No Solution
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,51 unequal: No Solution
Exploring Operation: 48+3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[83, 42, 14, 35], Operations: []
Exploring Operation: 83-35=48, Resulting Numbers: [42, 14, 48]
Generated Node #0,4: 51:[42, 14, 48] Operation: 83-35=48
Moving to Node #0,4
Current State: 51:[42, 14, 48], Operations: ['83-35=48']
Exploring Operation: 42/14=3, Resulting Numbers: [48, 3]
Generated Node #0,4,1: 51:[48, 3] Operation: 42/14=3
Moving to Node #0,4,1
Current State: 51:[48, 3], Operations: ['83-35=48', '42/14=3']
Exploring Operation: 48+3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
86,
13,
19,
72
] | 65 | [
"86-19=67",
"72-67=5",
"13*5=65"
] | Current State: 65:[86, 13, 19, 72], Operations: []
Exploring Operation: 86-19=67, Resulting Numbers: [13, 72, 67]
Generated Node #2: [13, 72, 67] from Operation: 86-19=67
Current State: 65:[13, 72, 67], Operations: ['86-19=67']
Exploring Operation: 72-67=5, Resulting Numbers: [13, 5]
Generated Node #3: [13, 5] from Operation: 72-67=5
Current State: 65:[13, 5], Operations: ['86-19=67', '72-67=5']
Exploring Operation: 13*5=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[86, 13, 19, 72], Operations: []
Exploring Operation: 86-72=14, Resulting Numbers: [13, 19, 14]
Generated Node #0,0: 65:[13, 19, 14] Operation: 86-72=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[13, 19, 14], Operations: ['86-72=14']
Exploring Operation: 19-14=5, Resulting Numbers: [13, 5]
Generated Node #0,0,0: 65:[13, 5] Operation: 19-14=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 65:[13, 5], Operations: ['86-72=14', '19-14=5']
Exploring Operation: 13*5=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[86, 13, 19, 72], Operations: []
Exploring Operation: 86-72=14, Resulting Numbers: [13, 19, 14]
Generated Node #0,0: 65:[13, 19, 14] Operation: 86-72=14
Moving to Node #0,0
Current State: 65:[13, 19, 14], Operations: ['86-72=14']
Exploring Operation: 19-14=5, Resulting Numbers: [13, 5]
Generated Node #0,0,0: 65:[13, 5] Operation: 19-14=5
Moving to Node #0,0,0
Current State: 65:[13, 5], Operations: ['86-72=14', '19-14=5']
Exploring Operation: 13*5=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
82,
29,
55,
63
] | 11 | [
"82+63=145",
"29*55=1595",
"1595/145=11"
] | Current State: 11:[82, 29, 55, 63], Operations: []
Exploring Operation: 82+63=145, Resulting Numbers: [29, 55, 145]
Generated Node #2: [29, 55, 145] from Operation: 82+63=145
Current State: 11:[29, 55, 145], Operations: ['82+63=145']
Exploring Operation: 29*55=1595, Resulting Numbers: [145, 1595]
Generated Node #3: [145, 1595] from Operation: 29*55=1595
Current State: 11:[145, 1595], Operations: ['82+63=145', '29*55=1595']
Exploring Operation: 1595/145=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[82, 29, 55, 63], Operations: []
Exploring Operation: 82-63=19, Resulting Numbers: [29, 55, 19]
Generated Node #0,0: 11:[29, 55, 19] Operation: 82-63=19
Moving to Node #0,0
Current State: 11:[29, 55, 19], Operations: ['82-63=19']
Exploring Operation: 55-29=26, Resulting Numbers: [19, 26]
Generated Node #0,0,0: 11:[19, 26] Operation: 55-29=26
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[19, 26], Operations: ['82-63=19', '55-29=26']
Exploring Operation: 26-19=7, Resulting Numbers: [7]
7,11 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 |
[
90,
45,
75,
66
] | 85 | [
"75-66=9",
"45/9=5",
"90-5=85"
] | Current State: 85:[90, 45, 75, 66], Operations: []
Exploring Operation: 75-66=9, Resulting Numbers: [90, 45, 9]
Generated Node #2: [90, 45, 9] from Operation: 75-66=9
Current State: 85:[90, 45, 9], Operations: ['75-66=9']
Exploring Operation: 45/9=5, Resulting Numbers: [90, 5]
Generated Node #3: [90, 5] from Operation: 45/9=5
Current State: 85:[90, 5], Operations: ['75-66=9', '45/9=5']
Exploring Operation: 90-5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[90, 45, 75, 66], Operations: []
Exploring Operation: 66-45=21, Resulting Numbers: [90, 75, 21]
Generated Node #0,0: 85:[90, 75, 21] Operation: 66-45=21
Exploring Operation: 90/45=2, Resulting Numbers: [75, 66, 2]
Generated Node #0,1: 85:[75, 66, 2] Operation: 90/45=2
Moving to Node #0,0
Current State: 85:[90, 75, 21], Operations: ['66-45=21']
Exploring Operation: 90-75=15, Resulting Numbers: [21, 15]
Generated Node #0,0,0: 85:[21, 15] Operation: 90-75=15
Exploring Operation: 75+21=96, Resulting Numbers: [90, 96]
Generated Node #0,0,1: 85:[90, 96] Operation: 75+21=96
Moving to Node #0,1
Current State: 85:[75, 66, 2], Operations: ['90/45=2']
Exploring Operation: 66/2=33, Resulting Numbers: [75, 33]
Generated Node #0,1,0: 85:[75, 33] Operation: 66/2=33
Exploring Operation: 75-66=9, Resulting Numbers: [2, 9]
Generated Node #0,1,1: 85:[2, 9] Operation: 75-66=9
Moving to Node #0,0,0
Current State: 85:[21, 15], Operations: ['66-45=21', '90-75=15']
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,85 unequal: No Solution
Exploring Operation: 21+15=36, Resulting Numbers: [36]
36,85 unequal: No Solution
Moving to Node #0,1,1
Current State: 85:[2, 9], Operations: ['90/45=2', '75-66=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,85 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,85 unequal: No Solution
Moving to Node #0,0,1
Current State: 85:[90, 96], Operations: ['66-45=21', '75+21=96']
Exploring Operation: 96-90=6, Resulting Numbers: [6]
6,85 unequal: No Solution
Exploring Operation: 90+96=186, Resulting Numbers: [186]
186,85 unequal: No Solution
Moving to Node #0,1,0
Current State: 85:[75, 33], Operations: ['90/45=2', '66/2=33']
Exploring Operation: 75+33=108, Resulting Numbers: [108]
108,85 unequal: No Solution
Exploring Operation: 75-33=42, Resulting Numbers: [42]
42,85 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
12,
77,
82,
24
] | 72 | [
"24/12=2",
"77*2=154",
"154-82=72"
] | Current State: 72:[12, 77, 82, 24], Operations: []
Exploring Operation: 24/12=2, Resulting Numbers: [77, 82, 2]
Generated Node #2: [77, 82, 2] from Operation: 24/12=2
Current State: 72:[77, 82, 2], Operations: ['24/12=2']
Exploring Operation: 77*2=154, Resulting Numbers: [82, 154]
Generated Node #3: [82, 154] from Operation: 77*2=154
Current State: 72:[82, 154], Operations: ['24/12=2', '77*2=154']
Exploring Operation: 154-82=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[12, 77, 82, 24], Operations: []
Exploring Operation: 12+24=36, Resulting Numbers: [77, 82, 36]
Generated Node #0,0: 72:[77, 82, 36] Operation: 12+24=36
Exploring Operation: 82-77=5, Resulting Numbers: [12, 24, 5]
Generated Node #0,1: 72:[12, 24, 5] Operation: 82-77=5
Exploring Operation: 82-12=70, Resulting Numbers: [77, 24, 70]
Generated Node #0,2: 72:[77, 24, 70] Operation: 82-12=70
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[12, 24, 5], Operations: ['82-77=5']
Exploring Operation: 24/12=2, Resulting Numbers: [5, 2]
Generated Node #0,1,0: 72:[5, 2] Operation: 24/12=2
Exploring Operation: 24-12=12, Resulting Numbers: [5, 12]
Generated Node #0,1,1: 72:[5, 12] Operation: 24-12=12
Exploring Operation: 12+24=36, Resulting Numbers: [5, 36]
Generated Node #0,1,2: 72:[5, 36] Operation: 12+24=36
Moving to Node #0,1,0
Current State: 72:[5, 2], Operations: ['82-77=5', '24/12=2']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,72 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Moving to Node #0,1,1
Current State: 72:[5, 12], Operations: ['82-77=5', '24-12=12']
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,72 unequal: No Solution
Exploring Operation: 5*12=60, Resulting Numbers: [60]
60,72 unequal: No Solution
Exploring Operation: 5+12=17, Resulting Numbers: [17]
17,72 unequal: No Solution
Moving to Node #0,1,2
Current State: 72:[5, 36], Operations: ['82-77=5', '12+24=36']
Exploring Operation: 5+36=41, Resulting Numbers: [41]
41,72 unequal: No Solution
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,72 unequal: No Solution
Exploring Operation: 5*36=180, Resulting Numbers: [180]
180,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 72:[77, 24, 70], Operations: ['82-12=70']
Exploring Operation: 70-24=46, Resulting Numbers: [77, 46]
Generated Node #0,2,0: 72:[77, 46] Operation: 70-24=46
Exploring Operation: 77-24=53, Resulting Numbers: [70, 53]
Generated Node #0,2,1: 72:[70, 53] Operation: 77-24=53
Exploring Operation: 77-70=7, Resulting Numbers: [24, 7]
Generated Node #0,2,2: 72:[24, 7] Operation: 77-70=7
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 72:[24, 7], Operations: ['82-12=70', '77-70=7']
Exploring Operation: 24*7=168, Resulting Numbers: [168]
168,72 unequal: No Solution
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,72 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 72:[77, 46], Operations: ['82-12=70', '70-24=46']
Exploring Operation: 77-46=31, Resulting Numbers: [31]
31,72 unequal: No Solution
Exploring Operation: 77+46=123, Resulting Numbers: [123]
123,72 unequal: No Solution
Exploring Operation: 77*46=3542, Resulting Numbers: [3542]
3542,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 72:[70, 53], Operations: ['82-12=70', '77-24=53']
Exploring Operation: 70*53=3710, Resulting Numbers: [3710]
3710,72 unequal: No Solution
Exploring Operation: 70+53=123, Resulting Numbers: [123]
123,72 unequal: No Solution
Exploring Operation: 70-53=17, Resulting Numbers: [17]
17,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[77, 82, 36], Operations: ['12+24=36']
Exploring Operation: 82-36=46, Resulting Numbers: [77, 46]
Generated Node #0,0,0: 72:[77, 46] Operation: 82-36=46
Exploring Operation: 82-77=5, Resulting Numbers: [36, 5]
Generated Node #0,0,1: 72:[36, 5] Operation: 82-77=5
Exploring Operation: 77-36=41, Resulting Numbers: [82, 41]
Generated Node #0,0,2: 72:[82, 41] Operation: 77-36=41
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 72:[36, 5], Operations: ['12+24=36', '82-77=5']
Exploring Operation: 36+5=41, Resulting Numbers: [41]
41,72 unequal: No Solution
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,72 unequal: No Solution
Exploring Operation: 36*5=180, Resulting Numbers: [180]
180,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 72:[77, 46], Operations: ['12+24=36', '82-36=46']
Exploring Operation: 77+46=123, Resulting Numbers: [123]
123,72 unequal: No Solution
Exploring Operation: 77*46=3542, Resulting Numbers: [3542]
3542,72 unequal: No Solution
Exploring Operation: 77-46=31, Resulting Numbers: [31]
31,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 72:[82, 41], Operations: ['12+24=36', '77-36=41']
Exploring Operation: 82+41=123, Resulting Numbers: [123]
123,72 unequal: No Solution
Exploring Operation: 82/41=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 82-41=41, Resulting Numbers: [41]
41,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
97,
51,
85,
3
] | 87 | [
"97-85=12",
"3*12=36",
"51+36=87"
] | Current State: 87:[97, 51, 85, 3], Operations: []
Exploring Operation: 97-85=12, Resulting Numbers: [51, 3, 12]
Generated Node #2: [51, 3, 12] from Operation: 97-85=12
Current State: 87:[51, 3, 12], Operations: ['97-85=12']
Exploring Operation: 3*12=36, Resulting Numbers: [51, 36]
Generated Node #3: [51, 36] from Operation: 3*12=36
Current State: 87:[51, 36], Operations: ['97-85=12', '3*12=36']
Exploring Operation: 51+36=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[97, 51, 85, 3], Operations: []
Exploring Operation: 51/3=17, Resulting Numbers: [97, 85, 17]
Generated Node #0,0: 87:[97, 85, 17] Operation: 51/3=17
Exploring Operation: 85-51=34, Resulting Numbers: [97, 3, 34]
Generated Node #0,1: 87:[97, 3, 34] Operation: 85-51=34
Exploring Operation: 97-3=94, Resulting Numbers: [51, 85, 94]
Generated Node #0,2: 87:[51, 85, 94] Operation: 97-3=94
Exploring Operation: 97-85=12, Resulting Numbers: [51, 3, 12]
Generated Node #0,3: 87:[51, 3, 12] Operation: 97-85=12
Exploring Operation: 97-51=46, Resulting Numbers: [85, 3, 46]
Generated Node #0,4: 87:[85, 3, 46] Operation: 97-51=46
Start Sub Search at level 1: Moving to Node #0,1
Current State: 87:[97, 3, 34], Operations: ['85-51=34']
Exploring Operation: 3+34=37, Resulting Numbers: [97, 37]
Generated Node #0,1,0: 87:[97, 37] Operation: 3+34=37
Exploring Operation: 34-3=31, Resulting Numbers: [97, 31]
Generated Node #0,1,1: 87:[97, 31] Operation: 34-3=31
Exploring Operation: 97-34=63, Resulting Numbers: [3, 63]
Generated Node #0,1,2: 87:[3, 63] Operation: 97-34=63
Exploring Operation: 97-3=94, Resulting Numbers: [34, 94]
Generated Node #0,1,3: 87:[34, 94] Operation: 97-3=94
Exploring Operation: 97+3=100, Resulting Numbers: [34, 100]
Generated Node #0,1,4: 87:[34, 100] Operation: 97+3=100
Moving to Node #0,1,1
Current State: 87:[97, 31], Operations: ['85-51=34', '34-3=31']
Exploring Operation: 97-31=66, Resulting Numbers: [66]
66,87 unequal: No Solution
Exploring Operation: 97*31=3007, Resulting Numbers: [3007]
3007,87 unequal: No Solution
Exploring Operation: 97+31=128, Resulting Numbers: [128]
128,87 unequal: No Solution
Moving to Node #0,1,3
Current State: 87:[34, 94], Operations: ['85-51=34', '97-3=94']
Exploring Operation: 94-34=60, Resulting Numbers: [60]
60,87 unequal: No Solution
Exploring Operation: 34+94=128, Resulting Numbers: [128]
128,87 unequal: No Solution
Exploring Operation: 34*94=3196, Resulting Numbers: [3196]
3196,87 unequal: No Solution
Moving to Node #0,1,0
Current State: 87:[97, 37], Operations: ['85-51=34', '3+34=37']
Exploring Operation: 97*37=3589, Resulting Numbers: [3589]
3589,87 unequal: No Solution
Exploring Operation: 97+37=134, Resulting Numbers: [134]
134,87 unequal: No Solution
Exploring Operation: 97-37=60, Resulting Numbers: [60]
60,87 unequal: No Solution
Moving to Node #0,1,4
Current State: 87:[34, 100], Operations: ['85-51=34', '97+3=100']
Exploring Operation: 34*100=3400, Resulting Numbers: [3400]
3400,87 unequal: No Solution
Exploring Operation: 100-34=66, Resulting Numbers: [66]
66,87 unequal: No Solution
Exploring Operation: 34+100=134, Resulting Numbers: [134]
134,87 unequal: No Solution
Moving to Node #0,1,2
Current State: 87:[3, 63], Operations: ['85-51=34', '97-34=63']
Exploring Operation: 3*63=189, Resulting Numbers: [189]
189,87 unequal: No Solution
Exploring Operation: 3+63=66, Resulting Numbers: [66]
66,87 unequal: No Solution
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,87 unequal: No Solution
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 87:[85, 3, 46], Operations: ['97-51=46']
Exploring Operation: 85-46=39, Resulting Numbers: [3, 39]
Generated Node #0,4,0: 87:[3, 39] Operation: 85-46=39
Exploring Operation: 3+46=49, Resulting Numbers: [85, 49]
Generated Node #0,4,1: 87:[85, 49] Operation: 3+46=49
Exploring Operation: 46-3=43, Resulting Numbers: [85, 43]
Generated Node #0,4,2: 87:[85, 43] Operation: 46-3=43
Exploring Operation: 85+3=88, Resulting Numbers: [46, 88]
Generated Node #0,4,3: 87:[46, 88] Operation: 85+3=88
Exploring Operation: 85-3=82, Resulting Numbers: [46, 82]
Generated Node #0,4,4: 87:[46, 82] Operation: 85-3=82
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 87:[3, 39], Operations: ['97-51=46', '85-46=39']
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,87 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,87 unequal: No Solution
Exploring Operation: 3*39=117, Resulting Numbers: [117]
117,87 unequal: No Solution
Exploring Operation: 3+39=42, Resulting Numbers: [42]
42,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 87:[85, 43], Operations: ['97-51=46', '46-3=43']
Exploring Operation: 85+43=128, Resulting Numbers: [128]
128,87 unequal: No Solution
Exploring Operation: 85*43=3655, Resulting Numbers: [3655]
3655,87 unequal: No Solution
Exploring Operation: 85-43=42, Resulting Numbers: [42]
42,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 87:[46, 88], Operations: ['97-51=46', '85+3=88']
Exploring Operation: 46*88=4048, Resulting Numbers: [4048]
4048,87 unequal: No Solution
Exploring Operation: 46+88=134, Resulting Numbers: [134]
134,87 unequal: No Solution
Exploring Operation: 88-46=42, Resulting Numbers: [42]
42,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 87:[85, 49], Operations: ['97-51=46', '3+46=49']
Exploring Operation: 85-49=36, Resulting Numbers: [36]
36,87 unequal: No Solution
Exploring Operation: 85*49=4165, Resulting Numbers: [4165]
4165,87 unequal: No Solution
Exploring Operation: 85+49=134, Resulting Numbers: [134]
134,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 87:[46, 82], Operations: ['97-51=46', '85-3=82']
Exploring Operation: 46*82=3772, Resulting Numbers: [3772]
3772,87 unequal: No Solution
Exploring Operation: 46+82=128, Resulting Numbers: [128]
128,87 unequal: No Solution
Exploring Operation: 82-46=36, Resulting Numbers: [36]
36,87 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: 87:[97, 85, 17], Operations: ['51/3=17']
Exploring Operation: 85+17=102, Resulting Numbers: [97, 102]
Generated Node #0,0,0: 87:[97, 102] Operation: 85+17=102
Exploring Operation: 97-85=12, Resulting Numbers: [17, 12]
Generated Node #0,0,1: 87:[17, 12] Operation: 97-85=12
Exploring Operation: 97-17=80, Resulting Numbers: [85, 80]
Generated Node #0,0,2: 87:[85, 80] Operation: 97-17=80
Exploring Operation: 85/17=5, Resulting Numbers: [97, 5]
Generated Node #0,0,3: 87:[97, 5] Operation: 85/17=5
Exploring Operation: 97+17=114, Resulting Numbers: [85, 114]
Generated Node #0,0,4: 87:[85, 114] Operation: 97+17=114
Moving to Node #0,0,2
Current State: 87:[85, 80], Operations: ['51/3=17', '97-17=80']
Exploring Operation: 85*80=6800, Resulting Numbers: [6800]
6800,87 unequal: No Solution
Exploring Operation: 85+80=165, Resulting Numbers: [165]
165,87 unequal: No Solution
Exploring Operation: 85-80=5, Resulting Numbers: [5]
5,87 unequal: No Solution
Moving to Node #0,0,3
Current State: 87:[97, 5], Operations: ['51/3=17', '85/17=5']
Exploring Operation: 97*5=485, Resulting Numbers: [485]
485,87 unequal: No Solution
Exploring Operation: 97+5=102, Resulting Numbers: [102]
102,87 unequal: No Solution
Exploring Operation: 97-5=92, Resulting Numbers: [92]
92,87 unequal: No Solution
Moving to Node #0,0,1
Current State: 87:[17, 12], Operations: ['51/3=17', '97-85=12']
Exploring Operation: 17-12=5, Resulting Numbers: [5]
5,87 unequal: No Solution
Exploring Operation: 17*12=204, Resulting Numbers: [204]
204,87 unequal: No Solution
Exploring Operation: 17+12=29, Resulting Numbers: [29]
29,87 unequal: No Solution
Moving to Node #0,0,0
Current State: 87:[97, 102], Operations: ['51/3=17', '85+17=102']
Exploring Operation: 97+102=199, Resulting Numbers: [199]
199,87 unequal: No Solution
Exploring Operation: 97*102=9894, Resulting Numbers: [9894]
9894,87 unequal: No Solution
Exploring Operation: 102-97=5, Resulting Numbers: [5]
5,87 unequal: No Solution
Moving to Node #0,0,4
Current State: 87:[85, 114], Operations: ['51/3=17', '97+17=114']
Exploring Operation: 114-85=29, Resulting Numbers: [29]
29,87 unequal: No Solution
Exploring Operation: 85*114=9690, Resulting Numbers: [9690]
9690,87 unequal: No Solution
Exploring Operation: 85+114=199, Resulting Numbers: [199]
199,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 87:[51, 85, 94], Operations: ['97-3=94']
Exploring Operation: 94-85=9, Resulting Numbers: [51, 9]
Generated Node #0,2,0: 87:[51, 9] Operation: 94-85=9
Exploring Operation: 85-51=34, Resulting Numbers: [94, 34]
Generated Node #0,2,1: 87:[94, 34] Operation: 85-51=34
Exploring Operation: 94-51=43, Resulting Numbers: [85, 43]
Generated Node #0,2,2: 87:[85, 43] Operation: 94-51=43
Exploring Operation: 51+94=145, Resulting Numbers: [85, 145]
Generated Node #0,2,3: 87:[85, 145] Operation: 51+94=145
Exploring Operation: 51+85=136, Resulting Numbers: [94, 136]
Generated Node #0,2,4: 87:[94, 136] Operation: 51+85=136
Moving to Node #0,2,1
Current State: 87:[94, 34], Operations: ['97-3=94', '85-51=34']
Exploring Operation: 94-34=60, Resulting Numbers: [60]
60,87 unequal: No Solution
Exploring Operation: 94*34=3196, Resulting Numbers: [3196]
3196,87 unequal: No Solution
Exploring Operation: 94+34=128, Resulting Numbers: [128]
128,87 unequal: No Solution
Moving to Node #0,2,2
Current State: 87:[85, 43], Operations: ['97-3=94', '94-51=43']
Exploring Operation: 85+43=128, Resulting Numbers: [128]
128,87 unequal: No Solution
Exploring Operation: 85-43=42, Resulting Numbers: [42]
42,87 unequal: No Solution
Exploring Operation: 85*43=3655, Resulting Numbers: [3655]
3655,87 unequal: No Solution
Moving to Node #0,2,0
Current State: 87:[51, 9], Operations: ['97-3=94', '94-85=9']
Exploring Operation: 51-9=42, Resulting Numbers: [42]
42,87 unequal: No Solution
Exploring Operation: 51*9=459, Resulting Numbers: [459]
459,87 unequal: No Solution
Exploring Operation: 51+9=60, Resulting Numbers: [60]
60,87 unequal: No Solution
Moving to Node #0,2,4
Current State: 87:[94, 136], Operations: ['97-3=94', '51+85=136']
Exploring Operation: 94*136=12784, Resulting Numbers: [12784]
12784,87 unequal: No Solution
Exploring Operation: 136-94=42, Resulting Numbers: [42]
42,87 unequal: No Solution
Exploring Operation: 94+136=230, Resulting Numbers: [230]
230,87 unequal: No Solution
Moving to Node #0,2,3
Current State: 87:[85, 145], Operations: ['97-3=94', '51+94=145']
Exploring Operation: 145-85=60, Resulting Numbers: [60]
60,87 unequal: No Solution
Exploring Operation: 85+145=230, Resulting Numbers: [230]
230,87 unequal: No Solution
Exploring Operation: 85*145=12325, Resulting Numbers: [12325]
12325,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 87:[51, 3, 12], Operations: ['97-85=12']
Exploring Operation: 12/3=4, Resulting Numbers: [51, 4]
Generated Node #0,3,0: 87:[51, 4] Operation: 12/3=4
Exploring Operation: 51-12=39, Resulting Numbers: [3, 39]
Generated Node #0,3,1: 87:[3, 39] Operation: 51-12=39
Exploring Operation: 51-3=48, Resulting Numbers: [12, 48]
Generated Node #0,3,2: 87:[12, 48] Operation: 51-3=48
Exploring Operation: 51/3=17, Resulting Numbers: [12, 17]
Generated Node #0,3,3: 87:[12, 17] Operation: 51/3=17
Exploring Operation: 51+12=63, Resulting Numbers: [3, 63]
Generated Node #0,3,4: 87:[3, 63] Operation: 51+12=63
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 87:[3, 39], Operations: ['97-85=12', '51-12=39']
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,87 unequal: No Solution
Exploring Operation: 3*39=117, Resulting Numbers: [117]
117,87 unequal: No Solution
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,87 unequal: No Solution
Exploring Operation: 3+39=42, Resulting Numbers: [42]
42,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 87:[12, 17], Operations: ['97-85=12', '51/3=17']
Exploring Operation: 12*17=204, Resulting Numbers: [204]
204,87 unequal: No Solution
Exploring Operation: 17-12=5, Resulting Numbers: [5]
5,87 unequal: No Solution
Exploring Operation: 12+17=29, Resulting Numbers: [29]
29,87 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: 87:[51, 4], Operations: ['97-85=12', '12/3=4']
Exploring Operation: 51+4=55, Resulting Numbers: [55]
55,87 unequal: No Solution
Exploring Operation: 51*4=204, Resulting Numbers: [204]
204,87 unequal: No Solution
Exploring Operation: 51-4=47, Resulting Numbers: [47]
47,87 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: 87:[3, 63], Operations: ['97-85=12', '51+12=63']
Exploring Operation: 3+63=66, Resulting Numbers: [66]
66,87 unequal: No Solution
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,87 unequal: No Solution
Exploring Operation: 3*63=189, Resulting Numbers: [189]
189,87 unequal: No Solution
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,87 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: 87:[12, 48], Operations: ['97-85=12', '51-3=48']
Exploring Operation: 12+48=60, Resulting Numbers: [60]
60,87 unequal: No Solution
Exploring Operation: 48/12=4, Resulting Numbers: [4]
4,87 unequal: No Solution
Exploring Operation: 12*48=576, Resulting Numbers: [576]
576,87 unequal: No Solution
Exploring Operation: 48-12=36, Resulting Numbers: [36]
36,87 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 | mult_heuristic |
[
48,
5,
42,
51
] | 64 | [
"5+51=56",
"48*56=2688",
"2688/42=64"
] | Current State: 64:[48, 5, 42, 51], Operations: []
Exploring Operation: 5+51=56, Resulting Numbers: [48, 42, 56]
Generated Node #2: [48, 42, 56] from Operation: 5+51=56
Current State: 64:[48, 42, 56], Operations: ['5+51=56']
Exploring Operation: 48*56=2688, Resulting Numbers: [42, 2688]
Generated Node #3: [42, 2688] from Operation: 48*56=2688
Current State: 64:[42, 2688], Operations: ['5+51=56', '48*56=2688']
Exploring Operation: 2688/42=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[48, 5, 42, 51], Operations: []
Exploring Operation: 48-42=6, Resulting Numbers: [5, 51, 6]
Generated Node #0,0: 64:[5, 51, 6] Operation: 48-42=6
Exploring Operation: 51-48=3, Resulting Numbers: [5, 42, 3]
Generated Node #0,1: 64:[5, 42, 3] Operation: 51-48=3
Moving to Node #0,1
Current State: 64:[5, 42, 3], Operations: ['51-48=3']
Exploring Operation: 42-5=37, Resulting Numbers: [3, 37]
Generated Node #0,1,0: 64:[3, 37] Operation: 42-5=37
Exploring Operation: 42/3=14, Resulting Numbers: [5, 14]
Generated Node #0,1,1: 64:[5, 14] Operation: 42/3=14
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 64:[5, 14], Operations: ['51-48=3', '42/3=14']
Exploring Operation: 5+14=19, Resulting Numbers: [19]
19,64 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 64:[3, 37], Operations: ['51-48=3', '42-5=37']
Exploring Operation: 3+37=40, Resulting Numbers: [40]
40,64 unequal: No Solution
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,64 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: 64:[5, 51, 6], Operations: ['48-42=6']
Exploring Operation: 51+6=57, Resulting Numbers: [5, 57]
Generated Node #0,0,0: 64:[5, 57] Operation: 51+6=57
Exploring Operation: 5+51=56, Resulting Numbers: [6, 56]
Generated Node #0,0,1: 64:[6, 56] Operation: 5+51=56
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 64:[5, 57], Operations: ['48-42=6', '51+6=57']
Exploring Operation: 5+57=62, Resulting Numbers: [62]
62,64 unequal: No Solution
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 64:[6, 56], Operations: ['48-42=6', '5+51=56']
Exploring Operation: 6+56=62, Resulting Numbers: [62]
62,64 unequal: No Solution
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,64 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 |
[
72,
58,
9,
55
] | 66 | [
"72+58=130",
"9+55=64",
"130-64=66"
] | Current State: 66:[72, 58, 9, 55], Operations: []
Exploring Operation: 72+58=130, Resulting Numbers: [9, 55, 130]
Generated Node #2: [9, 55, 130] from Operation: 72+58=130
Current State: 66:[9, 55, 130], Operations: ['72+58=130']
Exploring Operation: 9+55=64, Resulting Numbers: [130, 64]
Generated Node #3: [130, 64] from Operation: 9+55=64
Current State: 66:[130, 64], Operations: ['72+58=130', '9+55=64']
Exploring Operation: 130-64=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[72, 58, 9, 55], Operations: []
Exploring Operation: 58-55=3, Resulting Numbers: [72, 9, 3]
Generated Node #0,0: 66:[72, 9, 3] Operation: 58-55=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[72, 9, 3], Operations: ['58-55=3']
Exploring Operation: 72/9=8, Resulting Numbers: [3, 8]
Generated Node #0,0,0: 66:[3, 8] Operation: 72/9=8
Moving to Node #0,0,0
Current State: 66:[3, 8], Operations: ['58-55=3', '72/9=8']
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,66 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 |
[
29,
35,
22,
43
] | 17 | [
"29*22=638",
"638-43=595",
"595/35=17"
] | Current State: 17:[29, 35, 22, 43], Operations: []
Exploring Operation: 29*22=638, Resulting Numbers: [35, 43, 638]
Generated Node #2: [35, 43, 638] from Operation: 29*22=638
Current State: 17:[35, 43, 638], Operations: ['29*22=638']
Exploring Operation: 638-43=595, Resulting Numbers: [35, 595]
Generated Node #3: [35, 595] from Operation: 638-43=595
Current State: 17:[35, 595], Operations: ['29*22=638', '638-43=595']
Exploring Operation: 595/35=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[29, 35, 22, 43], Operations: []
Exploring Operation: 35-29=6, Resulting Numbers: [22, 43, 6]
Generated Node #0,0: 17:[22, 43, 6] Operation: 35-29=6
Exploring Operation: 43-22=21, Resulting Numbers: [29, 35, 21]
Generated Node #0,1: 17:[29, 35, 21] Operation: 43-22=21
Exploring Operation: 43-35=8, Resulting Numbers: [29, 22, 8]
Generated Node #0,2: 17:[29, 22, 8] Operation: 43-35=8
Exploring Operation: 43-29=14, Resulting Numbers: [35, 22, 14]
Generated Node #0,3: 17:[35, 22, 14] Operation: 43-29=14
Start Sub Search at level 1: Moving to Node #0,2
Current State: 17:[29, 22, 8], Operations: ['43-35=8']
Exploring Operation: 29-8=21, Resulting Numbers: [22, 21]
Generated Node #0,2,0: 17:[22, 21] Operation: 29-8=21
Exploring Operation: 29-22=7, Resulting Numbers: [8, 7]
Generated Node #0,2,1: 17:[8, 7] Operation: 29-22=7
Exploring Operation: 29+8=37, Resulting Numbers: [22, 37]
Generated Node #0,2,2: 17:[22, 37] Operation: 29+8=37
Exploring Operation: 22-8=14, Resulting Numbers: [29, 14]
Generated Node #0,2,3: 17:[29, 14] Operation: 22-8=14
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 17:[22, 21], Operations: ['43-35=8', '29-8=21']
Exploring Operation: 22-21=1, Resulting Numbers: [1]
1,17 unequal: No Solution
Exploring Operation: 22+21=43, Resulting Numbers: [43]
43,17 unequal: No Solution
Exploring Operation: 22*21=462, Resulting Numbers: [462]
462,17 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: 17:[29, 14], Operations: ['43-35=8', '22-8=14']
Exploring Operation: 29+14=43, Resulting Numbers: [43]
43,17 unequal: No Solution
Exploring Operation: 29*14=406, Resulting Numbers: [406]
406,17 unequal: No Solution
Exploring Operation: 29-14=15, Resulting Numbers: [15]
15,17 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: 17:[8, 7], Operations: ['43-35=8', '29-22=7']
Exploring Operation: 8+7=15, Resulting Numbers: [15]
15,17 unequal: No Solution
Exploring Operation: 8*7=56, Resulting Numbers: [56]
56,17 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,17 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: 17:[22, 37], Operations: ['43-35=8', '29+8=37']
Exploring Operation: 22*37=814, Resulting Numbers: [814]
814,17 unequal: No Solution
Exploring Operation: 37-22=15, Resulting Numbers: [15]
15,17 unequal: No Solution
Exploring Operation: 22+37=59, Resulting Numbers: [59]
59,17 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: 17:[35, 22, 14], Operations: ['43-29=14']
Exploring Operation: 35+14=49, Resulting Numbers: [22, 49]
Generated Node #0,3,0: 17:[22, 49] Operation: 35+14=49
Exploring Operation: 35-22=13, Resulting Numbers: [14, 13]
Generated Node #0,3,1: 17:[14, 13] Operation: 35-22=13
Exploring Operation: 35-14=21, Resulting Numbers: [22, 21]
Generated Node #0,3,2: 17:[22, 21] Operation: 35-14=21
Exploring Operation: 22-14=8, Resulting Numbers: [35, 8]
Generated Node #0,3,3: 17:[35, 8] Operation: 22-14=8
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 17:[14, 13], Operations: ['43-29=14', '35-22=13']
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,17 unequal: No Solution
Exploring Operation: 14*13=182, Resulting Numbers: [182]
182,17 unequal: No Solution
Exploring Operation: 14+13=27, Resulting Numbers: [27]
27,17 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: 17:[22, 21], Operations: ['43-29=14', '35-14=21']
Exploring Operation: 22-21=1, Resulting Numbers: [1]
1,17 unequal: No Solution
Exploring Operation: 22*21=462, Resulting Numbers: [462]
462,17 unequal: No Solution
Exploring Operation: 22+21=43, Resulting Numbers: [43]
43,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 17:[35, 8], Operations: ['43-29=14', '22-14=8']
Exploring Operation: 35*8=280, Resulting Numbers: [280]
280,17 unequal: No Solution
Exploring Operation: 35-8=27, Resulting Numbers: [27]
27,17 unequal: No Solution
Exploring Operation: 35+8=43, Resulting Numbers: [43]
43,17 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: 17:[22, 49], Operations: ['43-29=14', '35+14=49']
Exploring Operation: 22*49=1078, Resulting Numbers: [1078]
1078,17 unequal: No Solution
Exploring Operation: 22+49=71, Resulting Numbers: [71]
71,17 unequal: No Solution
Exploring Operation: 49-22=27, Resulting Numbers: [27]
27,17 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: 17:[29, 35, 21], Operations: ['43-22=21']
Exploring Operation: 35-29=6, Resulting Numbers: [21, 6]
Generated Node #0,1,0: 17:[21, 6] Operation: 35-29=6
Exploring Operation: 35-21=14, Resulting Numbers: [29, 14]
Generated Node #0,1,1: 17:[29, 14] Operation: 35-21=14
Exploring Operation: 29+35=64, Resulting Numbers: [21, 64]
Generated Node #0,1,2: 17:[21, 64] Operation: 29+35=64
Exploring Operation: 29-21=8, Resulting Numbers: [35, 8]
Generated Node #0,1,3: 17:[35, 8] Operation: 29-21=8
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 17:[21, 6], Operations: ['43-22=21', '35-29=6']
Exploring Operation: 21*6=126, Resulting Numbers: [126]
126,17 unequal: No Solution
Exploring Operation: 21+6=27, Resulting Numbers: [27]
27,17 unequal: No Solution
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,17 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: 17:[29, 14], Operations: ['43-22=21', '35-21=14']
Exploring Operation: 29-14=15, Resulting Numbers: [15]
15,17 unequal: No Solution
Exploring Operation: 29*14=406, Resulting Numbers: [406]
406,17 unequal: No Solution
Exploring Operation: 29+14=43, Resulting Numbers: [43]
43,17 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: 17:[35, 8], Operations: ['43-22=21', '29-21=8']
Exploring Operation: 35+8=43, Resulting Numbers: [43]
43,17 unequal: No Solution
Exploring Operation: 35*8=280, Resulting Numbers: [280]
280,17 unequal: No Solution
Exploring Operation: 35-8=27, Resulting Numbers: [27]
27,17 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: 17:[21, 64], Operations: ['43-22=21', '29+35=64']
Exploring Operation: 21*64=1344, Resulting Numbers: [1344]
1344,17 unequal: No Solution
Exploring Operation: 21+64=85, Resulting Numbers: [85]
85,17 unequal: No Solution
Exploring Operation: 64-21=43, Resulting Numbers: [43]
43,17 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: 17:[22, 43, 6], Operations: ['35-29=6']
Exploring Operation: 22+6=28, Resulting Numbers: [43, 28]
Generated Node #0,0,0: 17:[43, 28] Operation: 22+6=28
Exploring Operation: 43-6=37, Resulting Numbers: [22, 37]
Generated Node #0,0,1: 17:[22, 37] Operation: 43-6=37
Exploring Operation: 22-6=16, Resulting Numbers: [43, 16]
Generated Node #0,0,2: 17:[43, 16] Operation: 22-6=16
Exploring Operation: 43-22=21, Resulting Numbers: [6, 21]
Generated Node #0,0,3: 17:[6, 21] Operation: 43-22=21
Moving to Node #0,0,3
Current State: 17:[6, 21], Operations: ['35-29=6', '43-22=21']
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,17 unequal: No Solution
Exploring Operation: 6+21=27, Resulting Numbers: [27]
27,17 unequal: No Solution
Exploring Operation: 6*21=126, Resulting Numbers: [126]
126,17 unequal: No Solution
Moving to Node #0,0,1
Current State: 17:[22, 37], Operations: ['35-29=6', '43-6=37']
Exploring Operation: 22*37=814, Resulting Numbers: [814]
814,17 unequal: No Solution
Exploring Operation: 37-22=15, Resulting Numbers: [15]
15,17 unequal: No Solution
Exploring Operation: 22+37=59, Resulting Numbers: [59]
59,17 unequal: No Solution
Moving to Node #0,0,2
Current State: 17:[43, 16], Operations: ['35-29=6', '22-6=16']
Exploring Operation: 43-16=27, Resulting Numbers: [27]
27,17 unequal: No Solution
Exploring Operation: 43*16=688, Resulting Numbers: [688]
688,17 unequal: No Solution
Exploring Operation: 43+16=59, Resulting Numbers: [59]
59,17 unequal: No Solution
Moving to Node #0,0,0
Current State: 17:[43, 28], Operations: ['35-29=6', '22+6=28']
Exploring Operation: 43*28=1204, Resulting Numbers: [1204]
1204,17 unequal: No Solution
Exploring Operation: 43+28=71, Resulting Numbers: [71]
71,17 unequal: No Solution
Exploring Operation: 43-28=15, Resulting Numbers: [15]
15,17 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 |
[
19,
27,
35,
95
] | 57 | [
"95/19=5",
"27+35=62",
"62-5=57"
] | Current State: 57:[19, 27, 35, 95], Operations: []
Exploring Operation: 95/19=5, Resulting Numbers: [27, 35, 5]
Generated Node #2: [27, 35, 5] from Operation: 95/19=5
Current State: 57:[27, 35, 5], Operations: ['95/19=5']
Exploring Operation: 27+35=62, Resulting Numbers: [5, 62]
Generated Node #3: [5, 62] from Operation: 27+35=62
Current State: 57:[5, 62], Operations: ['95/19=5', '27+35=62']
Exploring Operation: 62-5=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[19, 27, 35, 95], Operations: []
Exploring Operation: 95/19=5, Resulting Numbers: [27, 35, 5]
Generated Node #0,0: 57:[27, 35, 5] Operation: 95/19=5
Exploring Operation: 95-27=68, Resulting Numbers: [19, 35, 68]
Generated Node #0,1: 57:[19, 35, 68] Operation: 95-27=68
Exploring Operation: 95-35=60, Resulting Numbers: [19, 27, 60]
Generated Node #0,2: 57:[19, 27, 60] Operation: 95-35=60
Start Sub Search at level 1: Moving to Node #0,2
Current State: 57:[19, 27, 60], Operations: ['95-35=60']
Exploring Operation: 60-27=33, Resulting Numbers: [19, 33]
Generated Node #0,2,0: 57:[19, 33] Operation: 60-27=33
Exploring Operation: 19+27=46, Resulting Numbers: [60, 46]
Generated Node #0,2,1: 57:[60, 46] Operation: 19+27=46
Exploring Operation: 27-19=8, Resulting Numbers: [60, 8]
Generated Node #0,2,2: 57:[60, 8] Operation: 27-19=8
Moving to Node #0,2,2
Current State: 57:[60, 8], Operations: ['95-35=60', '27-19=8']
Exploring Operation: 60+8=68, Resulting Numbers: [68]
68,57 unequal: No Solution
Exploring Operation: 60-8=52, Resulting Numbers: [52]
52,57 unequal: No Solution
Exploring Operation: 60*8=480, Resulting Numbers: [480]
480,57 unequal: No Solution
Moving to Node #0,2,0
Current State: 57:[19, 33], Operations: ['95-35=60', '60-27=33']
Exploring Operation: 19+33=52, Resulting Numbers: [52]
52,57 unequal: No Solution
Exploring Operation: 19*33=627, Resulting Numbers: [627]
627,57 unequal: No Solution
Exploring Operation: 33-19=14, Resulting Numbers: [14]
14,57 unequal: No Solution
Moving to Node #0,2,1
Current State: 57:[60, 46], Operations: ['95-35=60', '19+27=46']
Exploring Operation: 60+46=106, Resulting Numbers: [106]
106,57 unequal: No Solution
Exploring Operation: 60*46=2760, Resulting Numbers: [2760]
2760,57 unequal: No Solution
Exploring Operation: 60-46=14, Resulting Numbers: [14]
14,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[27, 35, 5], Operations: ['95/19=5']
Exploring Operation: 35/5=7, Resulting Numbers: [27, 7]
Generated Node #0,0,0: 57:[27, 7] Operation: 35/5=7
Exploring Operation: 27+35=62, Resulting Numbers: [5, 62]
Generated Node #0,0,1: 57:[5, 62] Operation: 27+35=62
Exploring Operation: 35-27=8, Resulting Numbers: [5, 8]
Generated Node #0,0,2: 57:[5, 8] Operation: 35-27=8
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 57:[5, 62], Operations: ['95/19=5', '27+35=62']
Exploring Operation: 5*62=310, Resulting Numbers: [310]
310,57 unequal: No Solution
Exploring Operation: 5+62=67, Resulting Numbers: [67]
67,57 unequal: No Solution
Exploring Operation: 62-5=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[19, 27, 35, 95], Operations: []
Exploring Operation: 95/19=5, Resulting Numbers: [27, 35, 5]
Generated Node #0,0: 57:[27, 35, 5] Operation: 95/19=5
Moving to Node #0,0
Current State: 57:[27, 35, 5], Operations: ['95/19=5']
Exploring Operation: 27+35=62, Resulting Numbers: [5, 62]
Generated Node #0,0,1: 57:[5, 62] Operation: 27+35=62
Moving to Node #0,0,1
Current State: 57:[5, 62], Operations: ['95/19=5', '27+35=62']
Exploring Operation: 62-5=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.978299 | hs_3 | sum_heuristic |
[
54,
47,
39,
49
] | 69 | [
"49-47=2",
"54*2=108",
"108-39=69"
] | Current State: 69:[54, 47, 39, 49], Operations: []
Exploring Operation: 49-47=2, Resulting Numbers: [54, 39, 2]
Generated Node #2: [54, 39, 2] from Operation: 49-47=2
Current State: 69:[54, 39, 2], Operations: ['49-47=2']
Exploring Operation: 54*2=108, Resulting Numbers: [39, 108]
Generated Node #3: [39, 108] from Operation: 54*2=108
Current State: 69:[39, 108], Operations: ['49-47=2', '54*2=108']
Exploring Operation: 108-39=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[54, 47, 39, 49], Operations: []
Exploring Operation: 49-47=2, Resulting Numbers: [54, 39, 2]
Generated Node #0,0: 69:[54, 39, 2] Operation: 49-47=2
Exploring Operation: 54-49=5, Resulting Numbers: [47, 39, 5]
Generated Node #0,1: 69:[47, 39, 5] Operation: 54-49=5
Exploring Operation: 54-47=7, Resulting Numbers: [39, 49, 7]
Generated Node #0,2: 69:[39, 49, 7] Operation: 54-47=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[54, 39, 2], Operations: ['49-47=2']
Exploring Operation: 54/2=27, Resulting Numbers: [39, 27]
Generated Node #0,0,0: 69:[39, 27] Operation: 54/2=27
Exploring Operation: 39*2=78, Resulting Numbers: [54, 78]
Generated Node #0,0,1: 69:[54, 78] Operation: 39*2=78
Exploring Operation: 54-39=15, Resulting Numbers: [2, 15]
Generated Node #0,0,2: 69:[2, 15] Operation: 54-39=15
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 69:[2, 15], Operations: ['49-47=2', '54-39=15']
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,69 unequal: No Solution
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,69 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 69:[39, 27], Operations: ['49-47=2', '54/2=27']
Exploring Operation: 39*27=1053, Resulting Numbers: [1053]
1053,69 unequal: No Solution
Exploring Operation: 39+27=66, Resulting Numbers: [66]
66,69 unequal: No Solution
Exploring Operation: 39-27=12, Resulting Numbers: [12]
12,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 69:[54, 78], Operations: ['49-47=2', '39*2=78']
Exploring Operation: 78-54=24, Resulting Numbers: [24]
24,69 unequal: No Solution
Exploring Operation: 54*78=4212, Resulting Numbers: [4212]
4212,69 unequal: No Solution
Exploring Operation: 54+78=132, Resulting Numbers: [132]
132,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[47, 39, 5], Operations: ['54-49=5']
Exploring Operation: 47-39=8, Resulting Numbers: [5, 8]
Generated Node #0,1,0: 69:[5, 8] Operation: 47-39=8
Exploring Operation: 47+39=86, Resulting Numbers: [5, 86]
Generated Node #0,1,1: 69:[5, 86] Operation: 47+39=86
Exploring Operation: 47+5=52, Resulting Numbers: [39, 52]
Generated Node #0,1,2: 69:[39, 52] Operation: 47+5=52
Moving to Node #0,1,0
Current State: 69:[5, 8], Operations: ['54-49=5', '47-39=8']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,69 unequal: No Solution
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,69 unequal: No Solution
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,69 unequal: No Solution
Moving to Node #0,1,1
Current State: 69:[5, 86], Operations: ['54-49=5', '47+39=86']
Exploring Operation: 5*86=430, Resulting Numbers: [430]
430,69 unequal: No Solution
Exploring Operation: 5+86=91, Resulting Numbers: [91]
91,69 unequal: No Solution
Exploring Operation: 86-5=81, Resulting Numbers: [81]
81,69 unequal: No Solution
Moving to Node #0,1,2
Current State: 69:[39, 52], Operations: ['54-49=5', '47+5=52']
Exploring Operation: 52-39=13, Resulting Numbers: [13]
13,69 unequal: No Solution
Exploring Operation: 39+52=91, Resulting Numbers: [91]
91,69 unequal: No Solution
Exploring Operation: 39*52=2028, Resulting Numbers: [2028]
2028,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 69:[39, 49, 7], Operations: ['54-47=7']
Exploring Operation: 39+49=88, Resulting Numbers: [7, 88]
Generated Node #0,2,0: 69:[7, 88] Operation: 39+49=88
Exploring Operation: 49/7=7, Resulting Numbers: [39, 7]
Generated Node #0,2,1: 69:[39, 7] Operation: 49/7=7
Exploring Operation: 49-39=10, Resulting Numbers: [7, 10]
Generated Node #0,2,2: 69:[7, 10] Operation: 49-39=10
Moving to Node #0,2,2
Current State: 69:[7, 10], Operations: ['54-47=7', '49-39=10']
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,69 unequal: No Solution
Exploring Operation: 7*10=70, Resulting Numbers: [70]
70,69 unequal: No Solution
Exploring Operation: 7+10=17, Resulting Numbers: [17]
17,69 unequal: No Solution
Moving to Node #0,2,1
Current State: 69:[39, 7], Operations: ['54-47=7', '49/7=7']
Exploring Operation: 39-7=32, Resulting Numbers: [32]
32,69 unequal: No Solution
Exploring Operation: 39*7=273, Resulting Numbers: [273]
273,69 unequal: No Solution
Exploring Operation: 39+7=46, Resulting Numbers: [46]
46,69 unequal: No Solution
Moving to Node #0,2,0
Current State: 69:[7, 88], Operations: ['54-47=7', '39+49=88']
Exploring Operation: 7+88=95, Resulting Numbers: [95]
95,69 unequal: No Solution
Exploring Operation: 7*88=616, Resulting Numbers: [616]
616,69 unequal: No Solution
Exploring Operation: 88-7=81, Resulting Numbers: [81]
81,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
32,
87,
69,
45
] | 80 | [
"32*45=1440",
"87-69=18",
"1440/18=80"
] | Current State: 80:[32, 87, 69, 45], Operations: []
Exploring Operation: 32*45=1440, Resulting Numbers: [87, 69, 1440]
Generated Node #2: [87, 69, 1440] from Operation: 32*45=1440
Current State: 80:[87, 69, 1440], Operations: ['32*45=1440']
Exploring Operation: 87-69=18, Resulting Numbers: [1440, 18]
Generated Node #3: [1440, 18] from Operation: 87-69=18
Current State: 80:[1440, 18], Operations: ['32*45=1440', '87-69=18']
Exploring Operation: 1440/18=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[32, 87, 69, 45], Operations: []
Exploring Operation: 87-69=18, Resulting Numbers: [32, 45, 18]
Generated Node #0,0: 80:[32, 45, 18] Operation: 87-69=18
Exploring Operation: 69-32=37, Resulting Numbers: [87, 45, 37]
Generated Node #0,1: 80:[87, 45, 37] Operation: 69-32=37
Exploring Operation: 69-45=24, Resulting Numbers: [32, 87, 24]
Generated Node #0,2: 80:[32, 87, 24] Operation: 69-45=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[32, 45, 18], Operations: ['87-69=18']
Exploring Operation: 45-32=13, Resulting Numbers: [18, 13]
Generated Node #0,0,0: 80:[18, 13] Operation: 45-32=13
Exploring Operation: 32-18=14, Resulting Numbers: [45, 14]
Generated Node #0,0,1: 80:[45, 14] Operation: 32-18=14
Exploring Operation: 32+45=77, Resulting Numbers: [18, 77]
Generated Node #0,0,2: 80:[18, 77] Operation: 32+45=77
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 80:[18, 13], Operations: ['87-69=18', '45-32=13']
Exploring Operation: 18+13=31, Resulting Numbers: [31]
31,80 unequal: No Solution
Exploring Operation: 18*13=234, Resulting Numbers: [234]
234,80 unequal: No Solution
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 80:[18, 77], Operations: ['87-69=18', '32+45=77']
Exploring Operation: 18*77=1386, Resulting Numbers: [1386]
1386,80 unequal: No Solution
Exploring Operation: 18+77=95, Resulting Numbers: [95]
95,80 unequal: No Solution
Exploring Operation: 77-18=59, Resulting Numbers: [59]
59,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 80:[45, 14], Operations: ['87-69=18', '32-18=14']
Exploring Operation: 45+14=59, Resulting Numbers: [59]
59,80 unequal: No Solution
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,80 unequal: No Solution
Exploring Operation: 45*14=630, Resulting Numbers: [630]
630,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[87, 45, 37], Operations: ['69-32=37']
Exploring Operation: 45-37=8, Resulting Numbers: [87, 8]
Generated Node #0,1,0: 80:[87, 8] Operation: 45-37=8
Exploring Operation: 87-45=42, Resulting Numbers: [37, 42]
Generated Node #0,1,1: 80:[37, 42] Operation: 87-45=42
Exploring Operation: 45+37=82, Resulting Numbers: [87, 82]
Generated Node #0,1,2: 80:[87, 82] Operation: 45+37=82
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 80:[37, 42], Operations: ['69-32=37', '87-45=42']
Exploring Operation: 37*42=1554, Resulting Numbers: [1554]
1554,80 unequal: No Solution
Exploring Operation: 37+42=79, Resulting Numbers: [79]
79,80 unequal: No Solution
Exploring Operation: 42-37=5, Resulting Numbers: [5]
5,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 80:[87, 8], Operations: ['69-32=37', '45-37=8']
Exploring Operation: 87-8=79, Resulting Numbers: [79]
79,80 unequal: No Solution
Exploring Operation: 87+8=95, Resulting Numbers: [95]
95,80 unequal: No Solution
Exploring Operation: 87*8=696, Resulting Numbers: [696]
696,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 80:[87, 82], Operations: ['69-32=37', '45+37=82']
Exploring Operation: 87-82=5, Resulting Numbers: [5]
5,80 unequal: No Solution
Exploring Operation: 87*82=7134, Resulting Numbers: [7134]
7134,80 unequal: No Solution
Exploring Operation: 87+82=169, Resulting Numbers: [169]
169,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 80:[32, 87, 24], Operations: ['69-45=24']
Exploring Operation: 32-24=8, Resulting Numbers: [87, 8]
Generated Node #0,2,0: 80:[87, 8] Operation: 32-24=8
Exploring Operation: 87-32=55, Resulting Numbers: [24, 55]
Generated Node #0,2,1: 80:[24, 55] Operation: 87-32=55
Exploring Operation: 32+24=56, Resulting Numbers: [87, 56]
Generated Node #0,2,2: 80:[87, 56] Operation: 32+24=56
Moving to Node #0,2,0
Current State: 80:[87, 8], Operations: ['69-45=24', '32-24=8']
Exploring Operation: 87-8=79, Resulting Numbers: [79]
79,80 unequal: No Solution
Exploring Operation: 87+8=95, Resulting Numbers: [95]
95,80 unequal: No Solution
Exploring Operation: 87*8=696, Resulting Numbers: [696]
696,80 unequal: No Solution
Moving to Node #0,2,1
Current State: 80:[24, 55], Operations: ['69-45=24', '87-32=55']
Exploring Operation: 24+55=79, Resulting Numbers: [79]
79,80 unequal: No Solution
Exploring Operation: 55-24=31, Resulting Numbers: [31]
31,80 unequal: No Solution
Exploring Operation: 24*55=1320, Resulting Numbers: [1320]
1320,80 unequal: No Solution
Moving to Node #0,2,2
Current State: 80:[87, 56], Operations: ['69-45=24', '32+24=56']
Exploring Operation: 87*56=4872, Resulting Numbers: [4872]
4872,80 unequal: No Solution
Exploring Operation: 87+56=143, Resulting Numbers: [143]
143,80 unequal: No Solution
Exploring Operation: 87-56=31, Resulting Numbers: [31]
31,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
7,
65,
3,
74
] | 100 | [
"65-7=58",
"3*58=174",
"174-74=100"
] | Current State: 100:[7, 65, 3, 74], Operations: []
Exploring Operation: 65-7=58, Resulting Numbers: [3, 74, 58]
Generated Node #2: [3, 74, 58] from Operation: 65-7=58
Current State: 100:[3, 74, 58], Operations: ['65-7=58']
Exploring Operation: 3*58=174, Resulting Numbers: [74, 174]
Generated Node #3: [74, 174] from Operation: 3*58=174
Current State: 100:[74, 174], Operations: ['65-7=58', '3*58=174']
Exploring Operation: 174-74=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[7, 65, 3, 74], Operations: []
Exploring Operation: 65-7=58, Resulting Numbers: [3, 74, 58]
Generated Node #0,0: 100:[3, 74, 58] Operation: 65-7=58
Exploring Operation: 74-65=9, Resulting Numbers: [7, 3, 9]
Generated Node #0,1: 100:[7, 3, 9] Operation: 74-65=9
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[7, 3, 9], Operations: ['74-65=9']
Exploring Operation: 7-3=4, Resulting Numbers: [9, 4]
Generated Node #0,1,0: 100:[9, 4] Operation: 7-3=4
Exploring Operation: 7+3=10, Resulting Numbers: [9, 10]
Generated Node #0,1,1: 100:[9, 10] Operation: 7+3=10
Moving to Node #0,1,0
Current State: 100:[9, 4], Operations: ['74-65=9', '7-3=4']
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,100 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,100 unequal: No Solution
Moving to Node #0,1,1
Current State: 100:[9, 10], Operations: ['74-65=9', '7+3=10']
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,100 unequal: No Solution
Exploring Operation: 9+10=19, Resulting Numbers: [19]
19,100 unequal: No Solution
No 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: 100:[3, 74, 58], Operations: ['65-7=58']
Exploring Operation: 74-58=16, Resulting Numbers: [3, 16]
Generated Node #0,0,0: 100:[3, 16] Operation: 74-58=16
Exploring Operation: 74-3=71, Resulting Numbers: [58, 71]
Generated Node #0,0,1: 100:[58, 71] Operation: 74-3=71
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 100:[3, 16], Operations: ['65-7=58', '74-58=16']
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,100 unequal: No Solution
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,100 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: 100:[58, 71], Operations: ['65-7=58', '74-3=71']
Exploring Operation: 71-58=13, Resulting Numbers: [13]
13,100 unequal: No Solution
Exploring Operation: 58+71=129, Resulting Numbers: [129]
129,100 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 |
[
88,
22,
60,
83
] | 27 | [
"88/22=4",
"83-60=23",
"4+23=27"
] | Current State: 27:[88, 22, 60, 83], Operations: []
Exploring Operation: 88/22=4, Resulting Numbers: [60, 83, 4]
Generated Node #2: [60, 83, 4] from Operation: 88/22=4
Current State: 27:[60, 83, 4], Operations: ['88/22=4']
Exploring Operation: 83-60=23, Resulting Numbers: [4, 23]
Generated Node #3: [4, 23] from Operation: 83-60=23
Current State: 27:[4, 23], Operations: ['88/22=4', '83-60=23']
Exploring Operation: 4+23=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[88, 22, 60, 83], Operations: []
Exploring Operation: 88-60=28, Resulting Numbers: [22, 83, 28]
Generated Node #0,0: 27:[22, 83, 28] Operation: 88-60=28
Exploring Operation: 88/22=4, Resulting Numbers: [60, 83, 4]
Generated Node #0,1: 27:[60, 83, 4] Operation: 88/22=4
Exploring Operation: 88-83=5, Resulting Numbers: [22, 60, 5]
Generated Node #0,2: 27:[22, 60, 5] Operation: 88-83=5
Exploring Operation: 83-60=23, Resulting Numbers: [88, 22, 23]
Generated Node #0,3: 27:[88, 22, 23] Operation: 83-60=23
Start Sub Search at level 1: Moving to Node #0,2
Current State: 27:[22, 60, 5], Operations: ['88-83=5']
Exploring Operation: 60/5=12, Resulting Numbers: [22, 12]
Generated Node #0,2,0: 27:[22, 12] Operation: 60/5=12
Exploring Operation: 60-5=55, Resulting Numbers: [22, 55]
Generated Node #0,2,1: 27:[22, 55] Operation: 60-5=55
Exploring Operation: 22+5=27, Resulting Numbers: [60, 27]
Generated Node #0,2,2: 27:[60, 27] Operation: 22+5=27
Exploring Operation: 60-22=38, Resulting Numbers: [5, 38]
Generated Node #0,2,3: 27:[5, 38] Operation: 60-22=38
Moving to Node #0,2,0
Current State: 27:[22, 12], Operations: ['88-83=5', '60/5=12']
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Exploring Operation: 22+12=34, Resulting Numbers: [34]
34,27 unequal: No Solution
Exploring Operation: 22*12=264, Resulting Numbers: [264]
264,27 unequal: No Solution
Moving to Node #0,2,3
Current State: 27:[5, 38], Operations: ['88-83=5', '60-22=38']
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,27 unequal: No Solution
Exploring Operation: 5+38=43, Resulting Numbers: [43]
43,27 unequal: No Solution
Exploring Operation: 5*38=190, Resulting Numbers: [190]
190,27 unequal: No Solution
Moving to Node #0,2,2
Current State: 27:[60, 27], Operations: ['88-83=5', '22+5=27']
Exploring Operation: 60-27=33, Resulting Numbers: [33]
33,27 unequal: No Solution
Exploring Operation: 60+27=87, Resulting Numbers: [87]
87,27 unequal: No Solution
Exploring Operation: 60*27=1620, Resulting Numbers: [1620]
1620,27 unequal: No Solution
Moving to Node #0,2,1
Current State: 27:[22, 55], Operations: ['88-83=5', '60-5=55']
Exploring Operation: 22+55=77, Resulting Numbers: [77]
77,27 unequal: No Solution
Exploring Operation: 22*55=1210, Resulting Numbers: [1210]
1210,27 unequal: No Solution
Exploring Operation: 55-22=33, Resulting Numbers: [33]
33,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[22, 83, 28], Operations: ['88-60=28']
Exploring Operation: 83-22=61, Resulting Numbers: [28, 61]
Generated Node #0,0,0: 27:[28, 61] Operation: 83-22=61
Exploring Operation: 28-22=6, Resulting Numbers: [83, 6]
Generated Node #0,0,1: 27:[83, 6] Operation: 28-22=6
Exploring Operation: 83-28=55, Resulting Numbers: [22, 55]
Generated Node #0,0,2: 27:[22, 55] Operation: 83-28=55
Exploring Operation: 22+83=105, Resulting Numbers: [28, 105]
Generated Node #0,0,3: 27:[28, 105] Operation: 22+83=105
Moving to Node #0,0,2
Current State: 27:[22, 55], Operations: ['88-60=28', '83-28=55']
Exploring Operation: 22*55=1210, Resulting Numbers: [1210]
1210,27 unequal: No Solution
Exploring Operation: 55-22=33, Resulting Numbers: [33]
33,27 unequal: No Solution
Exploring Operation: 22+55=77, Resulting Numbers: [77]
77,27 unequal: No Solution
Moving to Node #0,0,0
Current State: 27:[28, 61], Operations: ['88-60=28', '83-22=61']
Exploring Operation: 28*61=1708, Resulting Numbers: [1708]
1708,27 unequal: No Solution
Exploring Operation: 28+61=89, Resulting Numbers: [89]
89,27 unequal: No Solution
Exploring Operation: 61-28=33, Resulting Numbers: [33]
33,27 unequal: No Solution
Moving to Node #0,0,1
Current State: 27:[83, 6], Operations: ['88-60=28', '28-22=6']
Exploring Operation: 83*6=498, Resulting Numbers: [498]
498,27 unequal: No Solution
Exploring Operation: 83+6=89, Resulting Numbers: [89]
89,27 unequal: No Solution
Exploring Operation: 83-6=77, Resulting Numbers: [77]
77,27 unequal: No Solution
Moving to Node #0,0,3
Current State: 27:[28, 105], Operations: ['88-60=28', '22+83=105']
Exploring Operation: 28+105=133, Resulting Numbers: [133]
133,27 unequal: No Solution
Exploring Operation: 28*105=2940, Resulting Numbers: [2940]
2940,27 unequal: No Solution
Exploring Operation: 105-28=77, Resulting Numbers: [77]
77,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 27:[88, 22, 23], Operations: ['83-60=23']
Exploring Operation: 88/22=4, Resulting Numbers: [23, 4]
Generated Node #0,3,0: 27:[23, 4] Operation: 88/22=4
Exploring Operation: 88-23=65, Resulting Numbers: [22, 65]
Generated Node #0,3,1: 27:[22, 65] Operation: 88-23=65
Exploring Operation: 88-22=66, Resulting Numbers: [23, 66]
Generated Node #0,3,2: 27:[23, 66] Operation: 88-22=66
Exploring Operation: 23-22=1, Resulting Numbers: [88, 1]
Generated Node #0,3,3: 27:[88, 1] Operation: 23-22=1
Moving to Node #0,3,0
Current State: 27:[23, 4], Operations: ['83-60=23', '88/22=4']
Exploring Operation: 23+4=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[88, 22, 60, 83], Operations: []
Exploring Operation: 83-60=23, Resulting Numbers: [88, 22, 23]
Generated Node #0,3: 27:[88, 22, 23] Operation: 83-60=23
Moving to Node #0,3
Current State: 27:[88, 22, 23], Operations: ['83-60=23']
Exploring Operation: 88/22=4, Resulting Numbers: [23, 4]
Generated Node #0,3,0: 27:[23, 4] Operation: 88/22=4
Moving to Node #0,3,0
Current State: 27:[23, 4], Operations: ['83-60=23', '88/22=4']
Exploring Operation: 23+4=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.960938 | hs_4 | sum_heuristic |
[
20,
78,
40,
23
] | 75 | [
"78-20=58",
"40-23=17",
"58+17=75"
] | Current State: 75:[20, 78, 40, 23], Operations: []
Exploring Operation: 78-20=58, Resulting Numbers: [40, 23, 58]
Generated Node #2: [40, 23, 58] from Operation: 78-20=58
Current State: 75:[40, 23, 58], Operations: ['78-20=58']
Exploring Operation: 40-23=17, Resulting Numbers: [58, 17]
Generated Node #3: [58, 17] from Operation: 40-23=17
Current State: 75:[58, 17], Operations: ['78-20=58', '40-23=17']
Exploring Operation: 58+17=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[20, 78, 40, 23], Operations: []
Exploring Operation: 40-23=17, Resulting Numbers: [20, 78, 17]
Generated Node #0,0: 75:[20, 78, 17] Operation: 40-23=17
Exploring Operation: 40-20=20, Resulting Numbers: [78, 23, 20]
Generated Node #0,1: 75:[78, 23, 20] Operation: 40-20=20
Exploring Operation: 40/20=2, Resulting Numbers: [78, 23, 2]
Generated Node #0,2: 75:[78, 23, 2] Operation: 40/20=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 75:[78, 23, 2], Operations: ['40/20=2']
Exploring Operation: 78-2=76, Resulting Numbers: [23, 76]
Generated Node #0,2,0: 75:[23, 76] Operation: 78-2=76
Exploring Operation: 78+2=80, Resulting Numbers: [23, 80]
Generated Node #0,2,1: 75:[23, 80] Operation: 78+2=80
Exploring Operation: 23+2=25, Resulting Numbers: [78, 25]
Generated Node #0,2,2: 75:[78, 25] Operation: 23+2=25
Moving to Node #0,2,0
Current State: 75:[23, 76], Operations: ['40/20=2', '78-2=76']
Exploring Operation: 76-23=53, Resulting Numbers: [53]
53,75 unequal: No Solution
Exploring Operation: 23+76=99, Resulting Numbers: [99]
99,75 unequal: No Solution
Exploring Operation: 23*76=1748, Resulting Numbers: [1748]
1748,75 unequal: No Solution
Moving to Node #0,2,2
Current State: 75:[78, 25], Operations: ['40/20=2', '23+2=25']
Exploring Operation: 78*25=1950, Resulting Numbers: [1950]
1950,75 unequal: No Solution
Exploring Operation: 78-25=53, Resulting Numbers: [53]
53,75 unequal: No Solution
Exploring Operation: 78+25=103, Resulting Numbers: [103]
103,75 unequal: No Solution
Moving to Node #0,2,1
Current State: 75:[23, 80], Operations: ['40/20=2', '78+2=80']
Exploring Operation: 80-23=57, Resulting Numbers: [57]
57,75 unequal: No Solution
Exploring Operation: 23*80=1840, Resulting Numbers: [1840]
1840,75 unequal: No Solution
Exploring Operation: 23+80=103, Resulting Numbers: [103]
103,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[20, 78, 17], Operations: ['40-23=17']
Exploring Operation: 20+17=37, Resulting Numbers: [78, 37]
Generated Node #0,0,0: 75:[78, 37] Operation: 20+17=37
Exploring Operation: 20-17=3, Resulting Numbers: [78, 3]
Generated Node #0,0,1: 75:[78, 3] Operation: 20-17=3
Exploring Operation: 78-20=58, Resulting Numbers: [17, 58]
Generated Node #0,0,2: 75:[17, 58] Operation: 78-20=58
Moving to Node #0,0,1
Current State: 75:[78, 3], Operations: ['40-23=17', '20-17=3']
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,75 unequal: No Solution
Exploring Operation: 78+3=81, Resulting Numbers: [81]
81,75 unequal: No Solution
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[20, 78, 40, 23], Operations: []
Exploring Operation: 40-23=17, Resulting Numbers: [20, 78, 17]
Generated Node #0,0: 75:[20, 78, 17] Operation: 40-23=17
Moving to Node #0,0
Current State: 75:[20, 78, 17], Operations: ['40-23=17']
Exploring Operation: 20-17=3, Resulting Numbers: [78, 3]
Generated Node #0,0,1: 75:[78, 3] Operation: 20-17=3
Moving to Node #0,0,1
Current State: 75:[78, 3], Operations: ['40-23=17', '20-17=3']
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_3 | mult_heuristic |
[
92,
82,
65,
90
] | 35 | [
"92-82=10",
"90-65=25",
"10+25=35"
] | Current State: 35:[92, 82, 65, 90], Operations: []
Exploring Operation: 92-82=10, Resulting Numbers: [65, 90, 10]
Generated Node #2: [65, 90, 10] from Operation: 92-82=10
Current State: 35:[65, 90, 10], Operations: ['92-82=10']
Exploring Operation: 90-65=25, Resulting Numbers: [10, 25]
Generated Node #3: [10, 25] from Operation: 90-65=25
Current State: 35:[10, 25], Operations: ['92-82=10', '90-65=25']
Exploring Operation: 10+25=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[92, 82, 65, 90], Operations: []
Exploring Operation: 92-90=2, Resulting Numbers: [82, 65, 2]
Generated Node #0,0: 35:[82, 65, 2] Operation: 92-90=2
Exploring Operation: 92-82=10, Resulting Numbers: [65, 90, 10]
Generated Node #0,1: 35:[65, 90, 10] Operation: 92-82=10
Exploring Operation: 92-65=27, Resulting Numbers: [82, 90, 27]
Generated Node #0,2: 35:[82, 90, 27] Operation: 92-65=27
Exploring Operation: 90-82=8, Resulting Numbers: [92, 65, 8]
Generated Node #0,3: 35:[92, 65, 8] Operation: 90-82=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[82, 65, 2], Operations: ['92-90=2']
Exploring Operation: 82-2=80, Resulting Numbers: [65, 80]
Generated Node #0,0,0: 35:[65, 80] Operation: 82-2=80
Exploring Operation: 82/2=41, Resulting Numbers: [65, 41]
Generated Node #0,0,1: 35:[65, 41] Operation: 82/2=41
Exploring Operation: 65-2=63, Resulting Numbers: [82, 63]
Generated Node #0,0,2: 35:[82, 63] Operation: 65-2=63
Exploring Operation: 82-65=17, Resulting Numbers: [2, 17]
Generated Node #0,0,3: 35:[2, 17] Operation: 82-65=17
Moving to Node #0,0,3
Current State: 35:[2, 17], Operations: ['92-90=2', '82-65=17']
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,35 unequal: No Solution
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,35 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,35 unequal: No Solution
Moving to Node #0,0,1
Current State: 35:[65, 41], Operations: ['92-90=2', '82/2=41']
Exploring Operation: 65+41=106, Resulting Numbers: [106]
106,35 unequal: No Solution
Exploring Operation: 65*41=2665, Resulting Numbers: [2665]
2665,35 unequal: No Solution
Exploring Operation: 65-41=24, Resulting Numbers: [24]
24,35 unequal: No Solution
Moving to Node #0,0,2
Current State: 35:[82, 63], Operations: ['92-90=2', '65-2=63']
Exploring Operation: 82+63=145, Resulting Numbers: [145]
145,35 unequal: No Solution
Exploring Operation: 82-63=19, Resulting Numbers: [19]
19,35 unequal: No Solution
Exploring Operation: 82*63=5166, Resulting Numbers: [5166]
5166,35 unequal: No Solution
Moving to Node #0,0,0
Current State: 35:[65, 80], Operations: ['92-90=2', '82-2=80']
Exploring Operation: 80-65=15, Resulting Numbers: [15]
15,35 unequal: No Solution
Exploring Operation: 65+80=145, Resulting Numbers: [145]
145,35 unequal: No Solution
Exploring Operation: 65*80=5200, Resulting Numbers: [5200]
5200,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:[65, 90, 10], Operations: ['92-82=10']
Exploring Operation: 90/10=9, Resulting Numbers: [65, 9]
Generated Node #0,1,0: 35:[65, 9] Operation: 90/10=9
Exploring Operation: 65-10=55, Resulting Numbers: [90, 55]
Generated Node #0,1,1: 35:[90, 55] Operation: 65-10=55
Exploring Operation: 90-10=80, Resulting Numbers: [65, 80]
Generated Node #0,1,2: 35:[65, 80] Operation: 90-10=80
Exploring Operation: 90-65=25, Resulting Numbers: [10, 25]
Generated Node #0,1,3: 35:[10, 25] Operation: 90-65=25
Moving to Node #0,1,3
Current State: 35:[10, 25], Operations: ['92-82=10', '90-65=25']
Exploring Operation: 10+25=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[92, 82, 65, 90], Operations: []
Exploring Operation: 92-82=10, Resulting Numbers: [65, 90, 10]
Generated Node #0,1: 35:[65, 90, 10] Operation: 92-82=10
Moving to Node #0,1
Current State: 35:[65, 90, 10], Operations: ['92-82=10']
Exploring Operation: 90-65=25, Resulting Numbers: [10, 25]
Generated Node #0,1,3: 35:[10, 25] Operation: 90-65=25
Moving to Node #0,1,3
Current State: 35:[10, 25], Operations: ['92-82=10', '90-65=25']
Exploring Operation: 10+25=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_4 | sum_heuristic |
[
48,
37,
12,
96
] | 86 | [
"96/48=2",
"37*2=74",
"12+74=86"
] | Current State: 86:[48, 37, 12, 96], Operations: []
Exploring Operation: 96/48=2, Resulting Numbers: [37, 12, 2]
Generated Node #2: [37, 12, 2] from Operation: 96/48=2
Current State: 86:[37, 12, 2], Operations: ['96/48=2']
Exploring Operation: 37*2=74, Resulting Numbers: [12, 74]
Generated Node #3: [12, 74] from Operation: 37*2=74
Current State: 86:[12, 74], Operations: ['96/48=2', '37*2=74']
Exploring Operation: 12+74=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[48, 37, 12, 96], Operations: []
Exploring Operation: 96/48=2, Resulting Numbers: [37, 12, 2]
Generated Node #0,0: 86:[37, 12, 2] Operation: 96/48=2
Exploring Operation: 48/12=4, Resulting Numbers: [37, 96, 4]
Generated Node #0,1: 86:[37, 96, 4] Operation: 48/12=4
Exploring Operation: 96-12=84, Resulting Numbers: [48, 37, 84]
Generated Node #0,2: 86:[48, 37, 84] Operation: 96-12=84
Exploring Operation: 96/12=8, Resulting Numbers: [48, 37, 8]
Generated Node #0,3: 86:[48, 37, 8] Operation: 96/12=8
Exploring Operation: 48+37=85, Resulting Numbers: [12, 96, 85]
Generated Node #0,4: 86:[12, 96, 85] Operation: 48+37=85
Start Sub Search at level 1: Moving to Node #0,2
Current State: 86:[48, 37, 84], Operations: ['96-12=84']
Exploring Operation: 37+84=121, Resulting Numbers: [48, 121]
Generated Node #0,2,0: 86:[48, 121] Operation: 37+84=121
Exploring Operation: 48+37=85, Resulting Numbers: [84, 85]
Generated Node #0,2,1: 86:[84, 85] Operation: 48+37=85
Exploring Operation: 84-48=36, Resulting Numbers: [37, 36]
Generated Node #0,2,2: 86:[37, 36] Operation: 84-48=36
Exploring Operation: 48-37=11, Resulting Numbers: [84, 11]
Generated Node #0,2,3: 86:[84, 11] Operation: 48-37=11
Exploring Operation: 84-37=47, Resulting Numbers: [48, 47]
Generated Node #0,2,4: 86:[48, 47] Operation: 84-37=47
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 86:[84, 85], Operations: ['96-12=84', '48+37=85']
Exploring Operation: 85-84=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Exploring Operation: 84*85=7140, Resulting Numbers: [7140]
7140,86 unequal: No Solution
Exploring Operation: 84+85=169, Resulting Numbers: [169]
169,86 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: 86:[48, 47], Operations: ['96-12=84', '84-37=47']
Exploring Operation: 48+47=95, Resulting Numbers: [95]
95,86 unequal: No Solution
Exploring Operation: 48*47=2256, Resulting Numbers: [2256]
2256,86 unequal: No Solution
Exploring Operation: 48-47=1, Resulting Numbers: [1]
1,86 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: 86:[84, 11], Operations: ['96-12=84', '48-37=11']
Exploring Operation: 84+11=95, Resulting Numbers: [95]
95,86 unequal: No Solution
Exploring Operation: 84-11=73, Resulting Numbers: [73]
73,86 unequal: No Solution
Exploring Operation: 84*11=924, Resulting Numbers: [924]
924,86 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: 86:[37, 36], Operations: ['96-12=84', '84-48=36']
Exploring Operation: 37*36=1332, Resulting Numbers: [1332]
1332,86 unequal: No Solution
Exploring Operation: 37+36=73, Resulting Numbers: [73]
73,86 unequal: No Solution
Exploring Operation: 37-36=1, Resulting Numbers: [1]
1,86 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: 86:[48, 121], Operations: ['96-12=84', '37+84=121']
Exploring Operation: 121-48=73, Resulting Numbers: [73]
73,86 unequal: No Solution
Exploring Operation: 48*121=5808, Resulting Numbers: [5808]
5808,86 unequal: No Solution
Exploring Operation: 48+121=169, Resulting Numbers: [169]
169,86 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: 86:[37, 12, 2], Operations: ['96/48=2']
Exploring Operation: 12/2=6, Resulting Numbers: [37, 6]
Generated Node #0,0,0: 86:[37, 6] Operation: 12/2=6
Exploring Operation: 37+12=49, Resulting Numbers: [2, 49]
Generated Node #0,0,1: 86:[2, 49] Operation: 37+12=49
Exploring Operation: 12-2=10, Resulting Numbers: [37, 10]
Generated Node #0,0,2: 86:[37, 10] Operation: 12-2=10
Exploring Operation: 37+2=39, Resulting Numbers: [12, 39]
Generated Node #0,0,3: 86:[12, 39] Operation: 37+2=39
Exploring Operation: 37-12=25, Resulting Numbers: [2, 25]
Generated Node #0,0,4: 86:[2, 25] Operation: 37-12=25
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 86:[2, 49], Operations: ['96/48=2', '37+12=49']
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,86 unequal: No Solution
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,86 unequal: No Solution
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,86 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: 86:[37, 6], Operations: ['96/48=2', '12/2=6']
Exploring Operation: 37+6=43, Resulting Numbers: [43]
43,86 unequal: No Solution
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,86 unequal: No Solution
Exploring Operation: 37*6=222, Resulting Numbers: [222]
222,86 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: 86:[37, 10], Operations: ['96/48=2', '12-2=10']
Exploring Operation: 37-10=27, Resulting Numbers: [27]
27,86 unequal: No Solution
Exploring Operation: 37+10=47, Resulting Numbers: [47]
47,86 unequal: No Solution
Exploring Operation: 37*10=370, Resulting Numbers: [370]
370,86 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: 86:[12, 39], Operations: ['96/48=2', '37+2=39']
Exploring Operation: 39-12=27, Resulting Numbers: [27]
27,86 unequal: No Solution
Exploring Operation: 12*39=468, Resulting Numbers: [468]
468,86 unequal: No Solution
Exploring Operation: 12+39=51, Resulting Numbers: [51]
51,86 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: 86:[2, 25], Operations: ['96/48=2', '37-12=25']
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,86 unequal: No Solution
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,86 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,86 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: 86:[48, 37, 8], Operations: ['96/12=8']
Exploring Operation: 48-8=40, Resulting Numbers: [37, 40]
Generated Node #0,3,0: 86:[37, 40] Operation: 48-8=40
Exploring Operation: 48+37=85, Resulting Numbers: [8, 85]
Generated Node #0,3,1: 86:[8, 85] Operation: 48+37=85
Exploring Operation: 37+8=45, Resulting Numbers: [48, 45]
Generated Node #0,3,2: 86:[48, 45] Operation: 37+8=45
Exploring Operation: 48-37=11, Resulting Numbers: [8, 11]
Generated Node #0,3,3: 86:[8, 11] Operation: 48-37=11
Exploring Operation: 48/8=6, Resulting Numbers: [37, 6]
Generated Node #0,3,4: 86:[37, 6] Operation: 48/8=6
Moving to Node #0,3,1
Current State: 86:[8, 85], Operations: ['96/12=8', '48+37=85']
Exploring Operation: 85-8=77, Resulting Numbers: [77]
77,86 unequal: No Solution
Exploring Operation: 8+85=93, Resulting Numbers: [93]
93,86 unequal: No Solution
Exploring Operation: 8*85=680, Resulting Numbers: [680]
680,86 unequal: No Solution
Moving to Node #0,3,2
Current State: 86:[48, 45], Operations: ['96/12=8', '37+8=45']
Exploring Operation: 48+45=93, Resulting Numbers: [93]
93,86 unequal: No Solution
Exploring Operation: 48-45=3, Resulting Numbers: [3]
3,86 unequal: No Solution
Exploring Operation: 48*45=2160, Resulting Numbers: [2160]
2160,86 unequal: No Solution
Moving to Node #0,3,0
Current State: 86:[37, 40], Operations: ['96/12=8', '48-8=40']
Exploring Operation: 37+40=77, Resulting Numbers: [77]
77,86 unequal: No Solution
Exploring Operation: 37*40=1480, Resulting Numbers: [1480]
1480,86 unequal: No Solution
Exploring Operation: 40-37=3, Resulting Numbers: [3]
3,86 unequal: No Solution
Moving to Node #0,3,4
Current State: 86:[37, 6], Operations: ['96/12=8', '48/8=6']
Exploring Operation: 37+6=43, Resulting Numbers: [43]
43,86 unequal: No Solution
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,86 unequal: No Solution
Exploring Operation: 37*6=222, Resulting Numbers: [222]
222,86 unequal: No Solution
Moving to Node #0,3,3
Current State: 86:[8, 11], Operations: ['96/12=8', '48-37=11']
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,86 unequal: No Solution
Exploring Operation: 8+11=19, Resulting Numbers: [19]
19,86 unequal: No Solution
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[37, 96, 4], Operations: ['48/12=4']
Exploring Operation: 96-4=92, Resulting Numbers: [37, 92]
Generated Node #0,1,0: 86:[37, 92] Operation: 96-4=92
Exploring Operation: 37-4=33, Resulting Numbers: [96, 33]
Generated Node #0,1,1: 86:[96, 33] Operation: 37-4=33
Exploring Operation: 37+4=41, Resulting Numbers: [96, 41]
Generated Node #0,1,2: 86:[96, 41] Operation: 37+4=41
Exploring Operation: 96-37=59, Resulting Numbers: [4, 59]
Generated Node #0,1,3: 86:[4, 59] Operation: 96-37=59
Exploring Operation: 96+4=100, Resulting Numbers: [37, 100]
Generated Node #0,1,4: 86:[37, 100] Operation: 96+4=100
Moving to Node #0,1,0
Current State: 86:[37, 92], Operations: ['48/12=4', '96-4=92']
Exploring Operation: 37*92=3404, Resulting Numbers: [3404]
3404,86 unequal: No Solution
Exploring Operation: 37+92=129, Resulting Numbers: [129]
129,86 unequal: No Solution
Exploring Operation: 92-37=55, Resulting Numbers: [55]
55,86 unequal: No Solution
Moving to Node #0,1,2
Current State: 86:[96, 41], Operations: ['48/12=4', '37+4=41']
Exploring Operation: 96*41=3936, Resulting Numbers: [3936]
3936,86 unequal: No Solution
Exploring Operation: 96-41=55, Resulting Numbers: [55]
55,86 unequal: No Solution
Exploring Operation: 96+41=137, Resulting Numbers: [137]
137,86 unequal: No Solution
Moving to Node #0,1,3
Current State: 86:[4, 59], Operations: ['48/12=4', '96-37=59']
Exploring Operation: 4+59=63, Resulting Numbers: [63]
63,86 unequal: No Solution
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,86 unequal: No Solution
Exploring Operation: 4*59=236, Resulting Numbers: [236]
236,86 unequal: No Solution
Moving to Node #0,1,1
Current State: 86:[96, 33], Operations: ['48/12=4', '37-4=33']
Exploring Operation: 96+33=129, Resulting Numbers: [129]
129,86 unequal: No Solution
Exploring Operation: 96-33=63, Resulting Numbers: [63]
63,86 unequal: No Solution
Exploring Operation: 96*33=3168, Resulting Numbers: [3168]
3168,86 unequal: No Solution
Moving to Node #0,1,4
Current State: 86:[37, 100], Operations: ['48/12=4', '96+4=100']
Exploring Operation: 37+100=137, Resulting Numbers: [137]
137,86 unequal: No Solution
Exploring Operation: 37*100=3700, Resulting Numbers: [3700]
3700,86 unequal: No Solution
Exploring Operation: 100-37=63, Resulting Numbers: [63]
63,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 86:[12, 96, 85], Operations: ['48+37=85']
Exploring Operation: 96-85=11, Resulting Numbers: [12, 11]
Generated Node #0,4,0: 86:[12, 11] Operation: 96-85=11
Exploring Operation: 96/12=8, Resulting Numbers: [85, 8]
Generated Node #0,4,1: 86:[85, 8] Operation: 96/12=8
Exploring Operation: 12+96=108, Resulting Numbers: [85, 108]
Generated Node #0,4,2: 86:[85, 108] Operation: 12+96=108
Exploring Operation: 96-12=84, Resulting Numbers: [85, 84]
Generated Node #0,4,3: 86:[85, 84] Operation: 96-12=84
Exploring Operation: 12+85=97, Resulting Numbers: [96, 97]
Generated Node #0,4,4: 86:[96, 97] Operation: 12+85=97
Moving to Node #0,4,3
Current State: 86:[85, 84], Operations: ['48+37=85', '96-12=84']
Exploring Operation: 85-84=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Exploring Operation: 85*84=7140, Resulting Numbers: [7140]
7140,86 unequal: No Solution
Exploring Operation: 85+84=169, Resulting Numbers: [169]
169,86 unequal: No Solution
Moving to Node #0,4,1
Current State: 86:[85, 8], Operations: ['48+37=85', '96/12=8']
Exploring Operation: 85-8=77, Resulting Numbers: [77]
77,86 unequal: No Solution
Exploring Operation: 85*8=680, Resulting Numbers: [680]
680,86 unequal: No Solution
Exploring Operation: 85+8=93, Resulting Numbers: [93]
93,86 unequal: No Solution
Moving to Node #0,4,0
Current State: 86:[12, 11], Operations: ['48+37=85', '96-85=11']
Exploring Operation: 12*11=132, Resulting Numbers: [132]
132,86 unequal: No Solution
Exploring Operation: 12+11=23, Resulting Numbers: [23]
23,86 unequal: No Solution
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Moving to Node #0,4,4
Current State: 86:[96, 97], Operations: ['48+37=85', '12+85=97']
Exploring Operation: 97-96=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Exploring Operation: 96+97=193, Resulting Numbers: [193]
193,86 unequal: No Solution
Exploring Operation: 96*97=9312, Resulting Numbers: [9312]
9312,86 unequal: No Solution
Moving to Node #0,4,2
Current State: 86:[85, 108], Operations: ['48+37=85', '12+96=108']
Exploring Operation: 85+108=193, Resulting Numbers: [193]
193,86 unequal: No Solution
Exploring Operation: 85*108=9180, Resulting Numbers: [9180]
9180,86 unequal: No Solution
Exploring Operation: 108-85=23, Resulting Numbers: [23]
23,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
88,
15,
5,
24
] | 96 | [
"15/5=3",
"24/3=8",
"88+8=96"
] | Current State: 96:[88, 15, 5, 24], Operations: []
Exploring Operation: 15/5=3, Resulting Numbers: [88, 24, 3]
Generated Node #2: [88, 24, 3] from Operation: 15/5=3
Current State: 96:[88, 24, 3], Operations: ['15/5=3']
Exploring Operation: 24/3=8, Resulting Numbers: [88, 8]
Generated Node #3: [88, 8] from Operation: 24/3=8
Current State: 96:[88, 8], Operations: ['15/5=3', '24/3=8']
Exploring Operation: 88+8=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[88, 15, 5, 24], Operations: []
Exploring Operation: 88+15=103, Resulting Numbers: [5, 24, 103]
Generated Node #0,0: 96:[5, 24, 103] Operation: 88+15=103
Exploring Operation: 88+5=93, Resulting Numbers: [15, 24, 93]
Generated Node #0,1: 96:[15, 24, 93] Operation: 88+5=93
Exploring Operation: 15/5=3, Resulting Numbers: [88, 24, 3]
Generated Node #0,2: 96:[88, 24, 3] Operation: 15/5=3
Exploring Operation: 24-15=9, Resulting Numbers: [88, 5, 9]
Generated Node #0,3: 96:[88, 5, 9] Operation: 24-15=9
Exploring Operation: 15-5=10, Resulting Numbers: [88, 24, 10]
Generated Node #0,4: 96:[88, 24, 10] Operation: 15-5=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[15, 24, 93], Operations: ['88+5=93']
Exploring Operation: 15+24=39, Resulting Numbers: [93, 39]
Generated Node #0,1,0: 96:[93, 39] Operation: 15+24=39
Exploring Operation: 24-15=9, Resulting Numbers: [93, 9]
Generated Node #0,1,1: 96:[93, 9] Operation: 24-15=9
Exploring Operation: 93-15=78, Resulting Numbers: [24, 78]
Generated Node #0,1,2: 96:[24, 78] Operation: 93-15=78
Exploring Operation: 24+93=117, Resulting Numbers: [15, 117]
Generated Node #0,1,3: 96:[15, 117] Operation: 24+93=117
Exploring Operation: 15+93=108, Resulting Numbers: [24, 108]
Generated Node #0,1,4: 96:[24, 108] Operation: 15+93=108
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 96:[93, 9], Operations: ['88+5=93', '24-15=9']
Exploring Operation: 93+9=102, Resulting Numbers: [102]
102,96 unequal: No Solution
Exploring Operation: 93-9=84, Resulting Numbers: [84]
84,96 unequal: No Solution
Exploring Operation: 93*9=837, Resulting Numbers: [837]
837,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 96:[93, 39], Operations: ['88+5=93', '15+24=39']
Exploring Operation: 93*39=3627, Resulting Numbers: [3627]
3627,96 unequal: No Solution
Exploring Operation: 93+39=132, Resulting Numbers: [132]
132,96 unequal: No Solution
Exploring Operation: 93-39=54, Resulting Numbers: [54]
54,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 96:[24, 108], Operations: ['88+5=93', '15+93=108']
Exploring Operation: 24+108=132, Resulting Numbers: [132]
132,96 unequal: No Solution
Exploring Operation: 24*108=2592, Resulting Numbers: [2592]
2592,96 unequal: No Solution
Exploring Operation: 108-24=84, Resulting Numbers: [84]
84,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 96:[24, 78], Operations: ['88+5=93', '93-15=78']
Exploring Operation: 78-24=54, Resulting Numbers: [54]
54,96 unequal: No Solution
Exploring Operation: 24+78=102, Resulting Numbers: [102]
102,96 unequal: No Solution
Exploring Operation: 24*78=1872, Resulting Numbers: [1872]
1872,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 96:[15, 117], Operations: ['88+5=93', '24+93=117']
Exploring Operation: 15+117=132, Resulting Numbers: [132]
132,96 unequal: No Solution
Exploring Operation: 117-15=102, Resulting Numbers: [102]
102,96 unequal: No Solution
Exploring Operation: 15*117=1755, Resulting Numbers: [1755]
1755,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[5, 24, 103], Operations: ['88+15=103']
Exploring Operation: 5+103=108, Resulting Numbers: [24, 108]
Generated Node #0,0,0: 96:[24, 108] Operation: 5+103=108
Exploring Operation: 24-5=19, Resulting Numbers: [103, 19]
Generated Node #0,0,1: 96:[103, 19] Operation: 24-5=19
Exploring Operation: 103-5=98, Resulting Numbers: [24, 98]
Generated Node #0,0,2: 96:[24, 98] Operation: 103-5=98
Exploring Operation: 5+24=29, Resulting Numbers: [103, 29]
Generated Node #0,0,3: 96:[103, 29] Operation: 5+24=29
Exploring Operation: 103-24=79, Resulting Numbers: [5, 79]
Generated Node #0,0,4: 96:[5, 79] Operation: 103-24=79
Moving to Node #0,0,2
Current State: 96:[24, 98], Operations: ['88+15=103', '103-5=98']
Exploring Operation: 98-24=74, Resulting Numbers: [74]
74,96 unequal: No Solution
Exploring Operation: 24*98=2352, Resulting Numbers: [2352]
2352,96 unequal: No Solution
Exploring Operation: 24+98=122, Resulting Numbers: [122]
122,96 unequal: No Solution
Moving to Node #0,0,3
Current State: 96:[103, 29], Operations: ['88+15=103', '5+24=29']
Exploring Operation: 103+29=132, Resulting Numbers: [132]
132,96 unequal: No Solution
Exploring Operation: 103-29=74, Resulting Numbers: [74]
74,96 unequal: No Solution
Exploring Operation: 103*29=2987, Resulting Numbers: [2987]
2987,96 unequal: No Solution
Moving to Node #0,0,1
Current State: 96:[103, 19], Operations: ['88+15=103', '24-5=19']
Exploring Operation: 103*19=1957, Resulting Numbers: [1957]
1957,96 unequal: No Solution
Exploring Operation: 103+19=122, Resulting Numbers: [122]
122,96 unequal: No Solution
Exploring Operation: 103-19=84, Resulting Numbers: [84]
84,96 unequal: No Solution
Moving to Node #0,0,0
Current State: 96:[24, 108], Operations: ['88+15=103', '5+103=108']
Exploring Operation: 24*108=2592, Resulting Numbers: [2592]
2592,96 unequal: No Solution
Exploring Operation: 108-24=84, Resulting Numbers: [84]
84,96 unequal: No Solution
Exploring Operation: 24+108=132, Resulting Numbers: [132]
132,96 unequal: No Solution
Moving to Node #0,0,4
Current State: 96:[5, 79], Operations: ['88+15=103', '103-24=79']
Exploring Operation: 5*79=395, Resulting Numbers: [395]
395,96 unequal: No Solution
Exploring Operation: 79-5=74, Resulting Numbers: [74]
74,96 unequal: No Solution
Exploring Operation: 5+79=84, Resulting Numbers: [84]
84,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,2
Current State: 96:[88, 24, 3], Operations: ['15/5=3']
Exploring Operation: 24-3=21, Resulting Numbers: [88, 21]
Generated Node #0,2,0: 96:[88, 21] Operation: 24-3=21
Exploring Operation: 88+3=91, Resulting Numbers: [24, 91]
Generated Node #0,2,1: 96:[24, 91] Operation: 88+3=91
Exploring Operation: 24+3=27, Resulting Numbers: [88, 27]
Generated Node #0,2,2: 96:[88, 27] Operation: 24+3=27
Exploring Operation: 88-3=85, Resulting Numbers: [24, 85]
Generated Node #0,2,3: 96:[24, 85] Operation: 88-3=85
Exploring Operation: 24/3=8, Resulting Numbers: [88, 8]
Generated Node #0,2,4: 96:[88, 8] Operation: 24/3=8
Moving to Node #0,2,1
Current State: 96:[24, 91], Operations: ['15/5=3', '88+3=91']
Exploring Operation: 91-24=67, Resulting Numbers: [67]
67,96 unequal: No Solution
Exploring Operation: 24*91=2184, Resulting Numbers: [2184]
2184,96 unequal: No Solution
Exploring Operation: 24+91=115, Resulting Numbers: [115]
115,96 unequal: No Solution
Moving to Node #0,2,4
Current State: 96:[88, 8], Operations: ['15/5=3', '24/3=8']
Exploring Operation: 88*8=704, Resulting Numbers: [704]
704,96 unequal: No Solution
Exploring Operation: 88/8=11, Resulting Numbers: [11]
11,96 unequal: No Solution
Exploring Operation: 88-8=80, Resulting Numbers: [80]
80,96 unequal: No Solution
Exploring Operation: 88+8=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[88, 15, 5, 24], Operations: []
Exploring Operation: 15/5=3, Resulting Numbers: [88, 24, 3]
Generated Node #0,2: 96:[88, 24, 3] Operation: 15/5=3
Moving to Node #0,2
Current State: 96:[88, 24, 3], Operations: ['15/5=3']
Exploring Operation: 24/3=8, Resulting Numbers: [88, 8]
Generated Node #0,2,4: 96:[88, 8] Operation: 24/3=8
Moving to Node #0,2,4
Current State: 96:[88, 8], Operations: ['15/5=3', '24/3=8']
Exploring Operation: 88+8=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.947049 | hs_5 | sum_heuristic |
[
26,
2,
40,
15
] | 10 | [
"2*15=30",
"30-26=4",
"40/4=10"
] | Current State: 10:[26, 2, 40, 15], Operations: []
Exploring Operation: 2*15=30, Resulting Numbers: [26, 40, 30]
Generated Node #2: [26, 40, 30] from Operation: 2*15=30
Current State: 10:[26, 40, 30], Operations: ['2*15=30']
Exploring Operation: 30-26=4, Resulting Numbers: [40, 4]
Generated Node #3: [40, 4] from Operation: 30-26=4
Current State: 10:[40, 4], Operations: ['2*15=30', '30-26=4']
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[26, 2, 40, 15], Operations: []
Exploring Operation: 40-26=14, Resulting Numbers: [2, 15, 14]
Generated Node #0,0: 10:[2, 15, 14] Operation: 40-26=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[2, 15, 14], Operations: ['40-26=14']
Exploring Operation: 15-14=1, Resulting Numbers: [2, 1]
Generated Node #0,0,0: 10:[2, 1] Operation: 15-14=1
Moving to Node #0,0,0
Current State: 10:[2, 1], Operations: ['40-26=14', '15-14=1']
Exploring Operation: 2*1=2, Resulting Numbers: [2]
2,10 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 |
[
30,
11,
85,
77
] | 33 | [
"30+11=41",
"85-77=8",
"41-8=33"
] | Current State: 33:[30, 11, 85, 77], Operations: []
Exploring Operation: 30+11=41, Resulting Numbers: [85, 77, 41]
Generated Node #2: [85, 77, 41] from Operation: 30+11=41
Current State: 33:[85, 77, 41], Operations: ['30+11=41']
Exploring Operation: 85-77=8, Resulting Numbers: [41, 8]
Generated Node #3: [41, 8] from Operation: 85-77=8
Current State: 33:[41, 8], Operations: ['30+11=41', '85-77=8']
Exploring Operation: 41-8=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[30, 11, 85, 77], Operations: []
Exploring Operation: 77/11=7, Resulting Numbers: [30, 85, 7]
Generated Node #0,0: 33:[30, 85, 7] Operation: 77/11=7
Exploring Operation: 85-77=8, Resulting Numbers: [30, 11, 8]
Generated Node #0,1: 33:[30, 11, 8] Operation: 85-77=8
Exploring Operation: 85-30=55, Resulting Numbers: [11, 77, 55]
Generated Node #0,2: 33:[11, 77, 55] Operation: 85-30=55
Start Sub Search at level 1: Moving to Node #0,1
Current State: 33:[30, 11, 8], Operations: ['85-77=8']
Exploring Operation: 30+8=38, Resulting Numbers: [11, 38]
Generated Node #0,1,0: 33:[11, 38] Operation: 30+8=38
Exploring Operation: 30+11=41, Resulting Numbers: [8, 41]
Generated Node #0,1,1: 33:[8, 41] Operation: 30+11=41
Exploring Operation: 11-8=3, Resulting Numbers: [30, 3]
Generated Node #0,1,2: 33:[30, 3] Operation: 11-8=3
Moving to Node #0,1,2
Current State: 33:[30, 3], Operations: ['85-77=8', '11-8=3']
Exploring Operation: 30+3=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[30, 11, 85, 77], Operations: []
Exploring Operation: 85-77=8, Resulting Numbers: [30, 11, 8]
Generated Node #0,1: 33:[30, 11, 8] Operation: 85-77=8
Moving to Node #0,1
Current State: 33:[30, 11, 8], Operations: ['85-77=8']
Exploring Operation: 11-8=3, Resulting Numbers: [30, 3]
Generated Node #0,1,2: 33:[30, 3] Operation: 11-8=3
Moving to Node #0,1,2
Current State: 33:[30, 3], Operations: ['85-77=8', '11-8=3']
Exploring Operation: 30+3=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
87,
73,
29,
38
] | 23 | [
"87-73=14",
"38-29=9",
"14+9=23"
] | Current State: 23:[87, 73, 29, 38], Operations: []
Exploring Operation: 87-73=14, Resulting Numbers: [29, 38, 14]
Generated Node #2: [29, 38, 14] from Operation: 87-73=14
Current State: 23:[29, 38, 14], Operations: ['87-73=14']
Exploring Operation: 38-29=9, Resulting Numbers: [14, 9]
Generated Node #3: [14, 9] from Operation: 38-29=9
Current State: 23:[14, 9], Operations: ['87-73=14', '38-29=9']
Exploring Operation: 14+9=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[87, 73, 29, 38], Operations: []
Exploring Operation: 87-73=14, Resulting Numbers: [29, 38, 14]
Generated Node #0,0: 23:[29, 38, 14] Operation: 87-73=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[29, 38, 14], Operations: ['87-73=14']
Exploring Operation: 38-14=24, Resulting Numbers: [29, 24]
Generated Node #0,0,0: 23:[29, 24] Operation: 38-14=24
Moving to Node #0,0,0
Current State: 23:[29, 24], Operations: ['87-73=14', '38-14=24']
Exploring Operation: 29-24=5, Resulting Numbers: [5]
5,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
54,
43,
8,
66
] | 39 | [
"54+43=97",
"66-8=58",
"97-58=39"
] | Current State: 39:[54, 43, 8, 66], Operations: []
Exploring Operation: 54+43=97, Resulting Numbers: [8, 66, 97]
Generated Node #2: [8, 66, 97] from Operation: 54+43=97
Current State: 39:[8, 66, 97], Operations: ['54+43=97']
Exploring Operation: 66-8=58, Resulting Numbers: [97, 58]
Generated Node #3: [97, 58] from Operation: 66-8=58
Current State: 39:[97, 58], Operations: ['54+43=97', '66-8=58']
Exploring Operation: 97-58=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[54, 43, 8, 66], Operations: []
Exploring Operation: 54-8=46, Resulting Numbers: [43, 66, 46]
Generated Node #0,0: 39:[43, 66, 46] Operation: 54-8=46
Exploring Operation: 66-54=12, Resulting Numbers: [43, 8, 12]
Generated Node #0,1: 39:[43, 8, 12] Operation: 66-54=12
Exploring Operation: 54-43=11, Resulting Numbers: [8, 66, 11]
Generated Node #0,2: 39:[8, 66, 11] Operation: 54-43=11
Exploring Operation: 66-43=23, Resulting Numbers: [54, 8, 23]
Generated Node #0,3: 39:[54, 8, 23] Operation: 66-43=23
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[43, 8, 12], Operations: ['66-54=12']
Exploring Operation: 43-8=35, Resulting Numbers: [12, 35]
Generated Node #0,1,0: 39:[12, 35] Operation: 43-8=35
Exploring Operation: 8+12=20, Resulting Numbers: [43, 20]
Generated Node #0,1,1: 39:[43, 20] Operation: 8+12=20
Exploring Operation: 12-8=4, Resulting Numbers: [43, 4]
Generated Node #0,1,2: 39:[43, 4] Operation: 12-8=4
Exploring Operation: 43+8=51, Resulting Numbers: [12, 51]
Generated Node #0,1,3: 39:[12, 51] Operation: 43+8=51
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 39:[12, 35], Operations: ['66-54=12', '43-8=35']
Exploring Operation: 12+35=47, Resulting Numbers: [47]
47,39 unequal: No Solution
Exploring Operation: 35-12=23, Resulting Numbers: [23]
23,39 unequal: No Solution
Exploring Operation: 12*35=420, Resulting Numbers: [420]
420,39 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: 39:[43, 4], Operations: ['66-54=12', '12-8=4']
Exploring Operation: 43+4=47, Resulting Numbers: [47]
47,39 unequal: No Solution
Exploring Operation: 43*4=172, Resulting Numbers: [172]
172,39 unequal: No Solution
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[54, 43, 8, 66], Operations: []
Exploring Operation: 66-54=12, Resulting Numbers: [43, 8, 12]
Generated Node #0,1: 39:[43, 8, 12] Operation: 66-54=12
Moving to Node #0,1
Current State: 39:[43, 8, 12], Operations: ['66-54=12']
Exploring Operation: 12-8=4, Resulting Numbers: [43, 4]
Generated Node #0,1,2: 39:[43, 4] Operation: 12-8=4
Moving to Node #0,1,2
Current State: 39:[43, 4], Operations: ['66-54=12', '12-8=4']
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_4 | sum_heuristic |
[
12,
16,
84,
62
] | 68 | [
"12+84=96",
"96/16=6",
"62+6=68"
] | Current State: 68:[12, 16, 84, 62], Operations: []
Exploring Operation: 12+84=96, Resulting Numbers: [16, 62, 96]
Generated Node #2: [16, 62, 96] from Operation: 12+84=96
Current State: 68:[16, 62, 96], Operations: ['12+84=96']
Exploring Operation: 96/16=6, Resulting Numbers: [62, 6]
Generated Node #3: [62, 6] from Operation: 96/16=6
Current State: 68:[62, 6], Operations: ['12+84=96', '96/16=6']
Exploring Operation: 62+6=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[12, 16, 84, 62], Operations: []
Exploring Operation: 84/12=7, Resulting Numbers: [16, 62, 7]
Generated Node #0,0: 68:[16, 62, 7] Operation: 84/12=7
Exploring Operation: 84-16=68, Resulting Numbers: [12, 62, 68]
Generated Node #0,1: 68:[12, 62, 68] Operation: 84-16=68
Exploring Operation: 84-12=72, Resulting Numbers: [16, 62, 72]
Generated Node #0,2: 68:[16, 62, 72] Operation: 84-12=72
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[16, 62, 7], Operations: ['84/12=7']
Exploring Operation: 16+7=23, Resulting Numbers: [62, 23]
Generated Node #0,0,0: 68:[62, 23] Operation: 16+7=23
Exploring Operation: 62+7=69, Resulting Numbers: [16, 69]
Generated Node #0,0,1: 68:[16, 69] Operation: 62+7=69
Exploring Operation: 16-7=9, Resulting Numbers: [62, 9]
Generated Node #0,0,2: 68:[62, 9] Operation: 16-7=9
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 68:[16, 69], Operations: ['84/12=7', '62+7=69']
Exploring Operation: 16*69=1104, Resulting Numbers: [1104]
1104,68 unequal: No Solution
Exploring Operation: 69-16=53, Resulting Numbers: [53]
53,68 unequal: No Solution
Exploring Operation: 16+69=85, Resulting Numbers: [85]
85,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 68:[62, 9], Operations: ['84/12=7', '16-7=9']
Exploring Operation: 62*9=558, Resulting Numbers: [558]
558,68 unequal: No Solution
Exploring Operation: 62-9=53, Resulting Numbers: [53]
53,68 unequal: No Solution
Exploring Operation: 62+9=71, Resulting Numbers: [71]
71,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 68:[62, 23], Operations: ['84/12=7', '16+7=23']
Exploring Operation: 62-23=39, Resulting Numbers: [39]
39,68 unequal: No Solution
Exploring Operation: 62+23=85, Resulting Numbers: [85]
85,68 unequal: No Solution
Exploring Operation: 62*23=1426, Resulting Numbers: [1426]
1426,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 68:[12, 62, 68], Operations: ['84-16=68']
Exploring Operation: 62-12=50, Resulting Numbers: [68, 50]
Generated Node #0,1,0: 68:[68, 50] Operation: 62-12=50
Exploring Operation: 12+62=74, Resulting Numbers: [68, 74]
Generated Node #0,1,1: 68:[68, 74] Operation: 12+62=74
Exploring Operation: 68-62=6, Resulting Numbers: [12, 6]
Generated Node #0,1,2: 68:[12, 6] Operation: 68-62=6
Moving to Node #0,1,1
Current State: 68:[68, 74], Operations: ['84-16=68', '12+62=74']
Exploring Operation: 68*74=5032, Resulting Numbers: [5032]
5032,68 unequal: No Solution
Exploring Operation: 74-68=6, Resulting Numbers: [6]
6,68 unequal: No Solution
Exploring Operation: 68+74=142, Resulting Numbers: [142]
142,68 unequal: No Solution
Moving to Node #0,1,2
Current State: 68:[12, 6], Operations: ['84-16=68', '68-62=6']
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Exploring Operation: 12+6=18, Resulting Numbers: [18]
18,68 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,68 unequal: No Solution
Moving to Node #0,1,0
Current State: 68:[68, 50], Operations: ['84-16=68', '62-12=50']
Exploring Operation: 68+50=118, Resulting Numbers: [118]
118,68 unequal: No Solution
Exploring Operation: 68*50=3400, Resulting Numbers: [3400]
3400,68 unequal: No Solution
Exploring Operation: 68-50=18, Resulting Numbers: [18]
18,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 68:[16, 62, 72], Operations: ['84-12=72']
Exploring Operation: 72-62=10, Resulting Numbers: [16, 10]
Generated Node #0,2,0: 68:[16, 10] Operation: 72-62=10
Exploring Operation: 16+62=78, Resulting Numbers: [72, 78]
Generated Node #0,2,1: 68:[72, 78] Operation: 16+62=78
Exploring Operation: 62-16=46, Resulting Numbers: [72, 46]
Generated Node #0,2,2: 68:[72, 46] Operation: 62-16=46
Moving to Node #0,2,0
Current State: 68:[16, 10], Operations: ['84-12=72', '72-62=10']
Exploring Operation: 16*10=160, Resulting Numbers: [160]
160,68 unequal: No Solution
Exploring Operation: 16+10=26, Resulting Numbers: [26]
26,68 unequal: No Solution
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,68 unequal: No Solution
Moving to Node #0,2,1
Current State: 68:[72, 78], Operations: ['84-12=72', '16+62=78']
Exploring Operation: 78-72=6, Resulting Numbers: [6]
6,68 unequal: No Solution
Exploring Operation: 72+78=150, Resulting Numbers: [150]
150,68 unequal: No Solution
Exploring Operation: 72*78=5616, Resulting Numbers: [5616]
5616,68 unequal: No Solution
Moving to Node #0,2,2
Current State: 68:[72, 46], Operations: ['84-12=72', '62-16=46']
Exploring Operation: 72-46=26, Resulting Numbers: [26]
26,68 unequal: No Solution
Exploring Operation: 72*46=3312, Resulting Numbers: [3312]
3312,68 unequal: No Solution
Exploring Operation: 72+46=118, Resulting Numbers: [118]
118,68 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 |
[
88,
72,
60,
57
] | 48 | [
"88-72=16",
"60-57=3",
"16*3=48"
] | Current State: 48:[88, 72, 60, 57], Operations: []
Exploring Operation: 88-72=16, Resulting Numbers: [60, 57, 16]
Generated Node #2: [60, 57, 16] from Operation: 88-72=16
Current State: 48:[60, 57, 16], Operations: ['88-72=16']
Exploring Operation: 60-57=3, Resulting Numbers: [16, 3]
Generated Node #3: [16, 3] from Operation: 60-57=3
Current State: 48:[16, 3], Operations: ['88-72=16', '60-57=3']
Exploring Operation: 16*3=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[88, 72, 60, 57], Operations: []
Exploring Operation: 88-72=16, Resulting Numbers: [60, 57, 16]
Generated Node #0,0: 48:[60, 57, 16] Operation: 88-72=16
Exploring Operation: 88-57=31, Resulting Numbers: [72, 60, 31]
Generated Node #0,1: 48:[72, 60, 31] Operation: 88-57=31
Exploring Operation: 72-60=12, Resulting Numbers: [88, 57, 12]
Generated Node #0,2: 48:[88, 57, 12] Operation: 72-60=12
Exploring Operation: 88-60=28, Resulting Numbers: [72, 57, 28]
Generated Node #0,3: 48:[72, 57, 28] Operation: 88-60=28
Moving to Node #0,0
Current State: 48:[60, 57, 16], Operations: ['88-72=16']
Exploring Operation: 60+16=76, Resulting Numbers: [57, 76]
Generated Node #0,0,0: 48:[57, 76] Operation: 60+16=76
Exploring Operation: 60-16=44, Resulting Numbers: [57, 44]
Generated Node #0,0,1: 48:[57, 44] Operation: 60-16=44
Exploring Operation: 60-57=3, Resulting Numbers: [16, 3]
Generated Node #0,0,2: 48:[16, 3] Operation: 60-57=3
Exploring Operation: 57-16=41, Resulting Numbers: [60, 41]
Generated Node #0,0,3: 48:[60, 41] Operation: 57-16=41
Moving to Node #0,3
Current State: 48:[72, 57, 28], Operations: ['88-60=28']
Exploring Operation: 72+28=100, Resulting Numbers: [57, 100]
Generated Node #0,3,0: 48:[57, 100] Operation: 72+28=100
Exploring Operation: 72-57=15, Resulting Numbers: [28, 15]
Generated Node #0,3,1: 48:[28, 15] Operation: 72-57=15
Exploring Operation: 57-28=29, Resulting Numbers: [72, 29]
Generated Node #0,3,2: 48:[72, 29] Operation: 57-28=29
Exploring Operation: 72-28=44, Resulting Numbers: [57, 44]
Generated Node #0,3,3: 48:[57, 44] Operation: 72-28=44
Moving to Node #0,1
Current State: 48:[72, 60, 31], Operations: ['88-57=31']
Exploring Operation: 60-31=29, Resulting Numbers: [72, 29]
Generated Node #0,1,0: 48:[72, 29] Operation: 60-31=29
Exploring Operation: 72-60=12, Resulting Numbers: [31, 12]
Generated Node #0,1,1: 48:[31, 12] Operation: 72-60=12
Exploring Operation: 72-31=41, Resulting Numbers: [60, 41]
Generated Node #0,1,2: 48:[60, 41] Operation: 72-31=41
Exploring Operation: 72+31=103, Resulting Numbers: [60, 103]
Generated Node #0,1,3: 48:[60, 103] Operation: 72+31=103
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 48:[31, 12], Operations: ['88-57=31', '72-60=12']
Exploring Operation: 31*12=372, Resulting Numbers: [372]
372,48 unequal: No Solution
Exploring Operation: 31-12=19, Resulting Numbers: [19]
19,48 unequal: No Solution
Exploring Operation: 31+12=43, Resulting Numbers: [43]
43,48 unequal: No Solution
No 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: 48:[60, 41], Operations: ['88-57=31', '72-31=41']
Exploring Operation: 60+41=101, Resulting Numbers: [101]
101,48 unequal: No Solution
Exploring Operation: 60-41=19, Resulting Numbers: [19]
19,48 unequal: No Solution
Exploring Operation: 60*41=2460, Resulting Numbers: [2460]
2460,48 unequal: No Solution
No 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: 48:[72, 29], Operations: ['88-57=31', '60-31=29']
Exploring Operation: 72-29=43, Resulting Numbers: [43]
43,48 unequal: No Solution
Exploring Operation: 72*29=2088, Resulting Numbers: [2088]
2088,48 unequal: No Solution
Exploring Operation: 72+29=101, Resulting Numbers: [101]
101,48 unequal: No Solution
No 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: 48:[60, 103], Operations: ['88-57=31', '72+31=103']
Exploring Operation: 103-60=43, Resulting Numbers: [43]
43,48 unequal: No Solution
Exploring Operation: 60+103=163, Resulting Numbers: [163]
163,48 unequal: No Solution
Exploring Operation: 60*103=6180, Resulting Numbers: [6180]
6180,48 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: 48:[88, 57, 12], Operations: ['72-60=12']
Exploring Operation: 88-12=76, Resulting Numbers: [57, 76]
Generated Node #0,2,0: 48:[57, 76] Operation: 88-12=76
Exploring Operation: 88+12=100, Resulting Numbers: [57, 100]
Generated Node #0,2,1: 48:[57, 100] Operation: 88+12=100
Exploring Operation: 57-12=45, Resulting Numbers: [88, 45]
Generated Node #0,2,2: 48:[88, 45] Operation: 57-12=45
Exploring Operation: 88-57=31, Resulting Numbers: [12, 31]
Generated Node #0,2,3: 48:[12, 31] Operation: 88-57=31
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 48:[12, 31], Operations: ['72-60=12', '88-57=31']
Exploring Operation: 31-12=19, Resulting Numbers: [19]
19,48 unequal: No Solution
Exploring Operation: 12+31=43, Resulting Numbers: [43]
43,48 unequal: No Solution
Exploring Operation: 12*31=372, Resulting Numbers: [372]
372,48 unequal: No Solution
No 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: 48:[57, 76], Operations: ['72-60=12', '88-12=76']
Exploring Operation: 76-57=19, Resulting Numbers: [19]
19,48 unequal: No Solution
Exploring Operation: 57*76=4332, Resulting Numbers: [4332]
4332,48 unequal: No Solution
Exploring Operation: 57+76=133, Resulting Numbers: [133]
133,48 unequal: No Solution
No 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: 48:[88, 45], Operations: ['72-60=12', '57-12=45']
Exploring Operation: 88+45=133, Resulting Numbers: [133]
133,48 unequal: No Solution
Exploring Operation: 88*45=3960, Resulting Numbers: [3960]
3960,48 unequal: No Solution
Exploring Operation: 88-45=43, Resulting Numbers: [43]
43,48 unequal: No Solution
No 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: 48:[57, 100], Operations: ['72-60=12', '88+12=100']
Exploring Operation: 57+100=157, Resulting Numbers: [157]
157,48 unequal: No Solution
Exploring Operation: 57*100=5700, Resulting Numbers: [5700]
5700,48 unequal: No Solution
Exploring Operation: 100-57=43, Resulting Numbers: [43]
43,48 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: 48:[16, 3], Operations: ['88-72=16', '60-57=3']
Exploring Operation: 16*3=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[88, 72, 60, 57], Operations: []
Exploring Operation: 88-72=16, Resulting Numbers: [60, 57, 16]
Generated Node #0,0: 48:[60, 57, 16] Operation: 88-72=16
Moving to Node #0,0
Current State: 48:[60, 57, 16], Operations: ['88-72=16']
Exploring Operation: 60-57=3, Resulting Numbers: [16, 3]
Generated Node #0,0,2: 48:[16, 3] Operation: 60-57=3
Moving to Node #0,0,2
Current State: 48:[16, 3], Operations: ['88-72=16', '60-57=3']
Exploring Operation: 16*3=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 0.957465 | hs_4 | mult_heuristic |
[
62,
50,
19,
3
] | 96 | [
"62+50=112",
"19-3=16",
"112-16=96"
] | Current State: 96:[62, 50, 19, 3], Operations: []
Exploring Operation: 62+50=112, Resulting Numbers: [19, 3, 112]
Generated Node #2: [19, 3, 112] from Operation: 62+50=112
Current State: 96:[19, 3, 112], Operations: ['62+50=112']
Exploring Operation: 19-3=16, Resulting Numbers: [112, 16]
Generated Node #3: [112, 16] from Operation: 19-3=16
Current State: 96:[112, 16], Operations: ['62+50=112', '19-3=16']
Exploring Operation: 112-16=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[62, 50, 19, 3], Operations: []
Exploring Operation: 62-19=43, Resulting Numbers: [50, 3, 43]
Generated Node #0,0: 96:[50, 3, 43] Operation: 62-19=43
Exploring Operation: 62-50=12, Resulting Numbers: [19, 3, 12]
Generated Node #0,1: 96:[19, 3, 12] Operation: 62-50=12
Moving to Node #0,1
Current State: 96:[19, 3, 12], Operations: ['62-50=12']
Exploring Operation: 19+12=31, Resulting Numbers: [3, 31]
Generated Node #0,1,0: 96:[3, 31] Operation: 19+12=31
Exploring Operation: 19-3=16, Resulting Numbers: [12, 16]
Generated Node #0,1,1: 96:[12, 16] Operation: 19-3=16
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 96:[12, 16], Operations: ['62-50=12', '19-3=16']
Exploring Operation: 12+16=28, Resulting Numbers: [28]
28,96 unequal: No Solution
Exploring Operation: 16-12=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,1,0
Current State: 96:[3, 31], Operations: ['62-50=12', '19+12=31']
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,96 unequal: No Solution
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,96 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: 96:[50, 3, 43], Operations: ['62-19=43']
Exploring Operation: 50+43=93, Resulting Numbers: [3, 93]
Generated Node #0,0,0: 96:[3, 93] Operation: 50+43=93
Exploring Operation: 50-43=7, Resulting Numbers: [3, 7]
Generated Node #0,0,1: 96:[3, 7] Operation: 50-43=7
Moving to Node #0,0,1
Current State: 96:[3, 7], Operations: ['62-19=43', '50-43=7']
Exploring Operation: 3+7=10, Resulting Numbers: [10]
10,96 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,96 unequal: No Solution
Moving to Node #0,0,0
Current State: 96:[3, 93], Operations: ['62-19=43', '50+43=93']
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,96 unequal: No Solution
Exploring Operation: 3+93=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[62, 50, 19, 3], Operations: []
Exploring Operation: 62-19=43, Resulting Numbers: [50, 3, 43]
Generated Node #0,0: 96:[50, 3, 43] Operation: 62-19=43
Moving to Node #0,0
Current State: 96:[50, 3, 43], Operations: ['62-19=43']
Exploring Operation: 50+43=93, Resulting Numbers: [3, 93]
Generated Node #0,0,0: 96:[3, 93] Operation: 50+43=93
Moving to Node #0,0,0
Current State: 96:[3, 93], Operations: ['62-19=43', '50+43=93']
Exploring Operation: 3+93=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 0.984375 | hs_2 | mult_heuristic |
[
78,
63,
92,
20
] | 97 | [
"78-63=15",
"92+20=112",
"112-15=97"
] | Current State: 97:[78, 63, 92, 20], Operations: []
Exploring Operation: 78-63=15, Resulting Numbers: [92, 20, 15]
Generated Node #2: [92, 20, 15] from Operation: 78-63=15
Current State: 97:[92, 20, 15], Operations: ['78-63=15']
Exploring Operation: 92+20=112, Resulting Numbers: [15, 112]
Generated Node #3: [15, 112] from Operation: 92+20=112
Current State: 97:[15, 112], Operations: ['78-63=15', '92+20=112']
Exploring Operation: 112-15=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[78, 63, 92, 20], Operations: []
Exploring Operation: 92+20=112, Resulting Numbers: [78, 63, 112]
Generated Node #0,0: 97:[78, 63, 112] Operation: 92+20=112
Exploring Operation: 78-20=58, Resulting Numbers: [63, 92, 58]
Generated Node #0,1: 97:[63, 92, 58] Operation: 78-20=58
Exploring Operation: 63+20=83, Resulting Numbers: [78, 92, 83]
Generated Node #0,2: 97:[78, 92, 83] Operation: 63+20=83
Exploring Operation: 78+20=98, Resulting Numbers: [63, 92, 98]
Generated Node #0,3: 97:[63, 92, 98] Operation: 78+20=98
Exploring Operation: 63-20=43, Resulting Numbers: [78, 92, 43]
Generated Node #0,4: 97:[78, 92, 43] Operation: 63-20=43
Start Sub Search at level 1: Moving to Node #0,2
Current State: 97:[78, 92, 83], Operations: ['63+20=83']
Exploring Operation: 78+92=170, Resulting Numbers: [83, 170]
Generated Node #0,2,0: 97:[83, 170] Operation: 78+92=170
Exploring Operation: 78+83=161, Resulting Numbers: [92, 161]
Generated Node #0,2,1: 97:[92, 161] Operation: 78+83=161
Exploring Operation: 92+83=175, Resulting Numbers: [78, 175]
Generated Node #0,2,2: 97:[78, 175] Operation: 92+83=175
Exploring Operation: 83-78=5, Resulting Numbers: [92, 5]
Generated Node #0,2,3: 97:[92, 5] Operation: 83-78=5
Exploring Operation: 92-78=14, Resulting Numbers: [83, 14]
Generated Node #0,2,4: 97:[83, 14] Operation: 92-78=14
Moving to Node #0,2,1
Current State: 97:[92, 161], Operations: ['63+20=83', '78+83=161']
Exploring Operation: 92*161=14812, Resulting Numbers: [14812]
14812,97 unequal: No Solution
Exploring Operation: 92+161=253, Resulting Numbers: [253]
253,97 unequal: No Solution
Exploring Operation: 161-92=69, Resulting Numbers: [69]
69,97 unequal: No Solution
Moving to Node #0,2,0
Current State: 97:[83, 170], Operations: ['63+20=83', '78+92=170']
Exploring Operation: 83+170=253, Resulting Numbers: [253]
253,97 unequal: No Solution
Exploring Operation: 170-83=87, Resulting Numbers: [87]
87,97 unequal: No Solution
Exploring Operation: 83*170=14110, Resulting Numbers: [14110]
14110,97 unequal: No Solution
Moving to Node #0,2,2
Current State: 97:[78, 175], Operations: ['63+20=83', '92+83=175']
Exploring Operation: 78*175=13650, Resulting Numbers: [13650]
13650,97 unequal: No Solution
Exploring Operation: 175-78=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[78, 63, 92, 20], Operations: []
Exploring Operation: 63+20=83, Resulting Numbers: [78, 92, 83]
Generated Node #0,2: 97:[78, 92, 83] Operation: 63+20=83
Moving to Node #0,2
Current State: 97:[78, 92, 83], Operations: ['63+20=83']
Exploring Operation: 92+83=175, Resulting Numbers: [78, 175]
Generated Node #0,2,2: 97:[78, 175] Operation: 92+83=175
Moving to Node #0,2,2
Current State: 97:[78, 175], Operations: ['63+20=83', '92+83=175']
Exploring Operation: 175-78=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | sum_heuristic |
[
2,
62,
63,
95
] | 48 | [
"63-62=1",
"95+1=96",
"96/2=48"
] | Current State: 48:[2, 62, 63, 95], Operations: []
Exploring Operation: 63-62=1, Resulting Numbers: [2, 95, 1]
Generated Node #2: [2, 95, 1] from Operation: 63-62=1
Current State: 48:[2, 95, 1], Operations: ['63-62=1']
Exploring Operation: 95+1=96, Resulting Numbers: [2, 96]
Generated Node #3: [2, 96] from Operation: 95+1=96
Current State: 48:[2, 96], Operations: ['63-62=1', '95+1=96']
Exploring Operation: 96/2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[2, 62, 63, 95], Operations: []
Exploring Operation: 95-63=32, Resulting Numbers: [2, 62, 32]
Generated Node #0,0: 48:[2, 62, 32] Operation: 95-63=32
Exploring Operation: 95-62=33, Resulting Numbers: [2, 63, 33]
Generated Node #0,1: 48:[2, 63, 33] Operation: 95-62=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[2, 62, 32], Operations: ['95-63=32']
Exploring Operation: 32/2=16, Resulting Numbers: [62, 16]
Generated Node #0,0,0: 48:[62, 16] Operation: 32/2=16
Exploring Operation: 62-32=30, Resulting Numbers: [2, 30]
Generated Node #0,0,1: 48:[2, 30] Operation: 62-32=30
Moving to Node #0,0,1
Current State: 48:[2, 30], Operations: ['95-63=32', '62-32=30']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,48 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,48 unequal: No Solution
Moving to Node #0,0,0
Current State: 48:[62, 16], Operations: ['95-63=32', '32/2=16']
Exploring Operation: 62+16=78, Resulting Numbers: [78]
78,48 unequal: No Solution
Exploring Operation: 62-16=46, Resulting Numbers: [46]
46,48 unequal: No Solution
No 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: 48:[2, 63, 33], Operations: ['95-62=33']
Exploring Operation: 63-33=30, Resulting Numbers: [2, 30]
Generated Node #0,1,0: 48:[2, 30] Operation: 63-33=30
Exploring Operation: 63-2=61, Resulting Numbers: [33, 61]
Generated Node #0,1,1: 48:[33, 61] Operation: 63-2=61
Moving to Node #0,1,0
Current State: 48:[2, 30], Operations: ['95-62=33', '63-33=30']
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,48 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,48 unequal: No Solution
Moving to Node #0,1,1
Current State: 48:[33, 61], Operations: ['95-62=33', '63-2=61']
Exploring Operation: 61-33=28, Resulting Numbers: [28]
28,48 unequal: No Solution
Exploring Operation: 33+61=94, Resulting Numbers: [94]
94,48 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 |
[
5,
13,
58,
42
] | 47 | [
"13+42=55",
"55/5=11",
"58-11=47"
] | Current State: 47:[5, 13, 58, 42], Operations: []
Exploring Operation: 13+42=55, Resulting Numbers: [5, 58, 55]
Generated Node #2: [5, 58, 55] from Operation: 13+42=55
Current State: 47:[5, 58, 55], Operations: ['13+42=55']
Exploring Operation: 55/5=11, Resulting Numbers: [58, 11]
Generated Node #3: [58, 11] from Operation: 55/5=11
Current State: 47:[58, 11], Operations: ['13+42=55', '55/5=11']
Exploring Operation: 58-11=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[5, 13, 58, 42], Operations: []
Exploring Operation: 5*13=65, Resulting Numbers: [58, 42, 65]
Generated Node #0,0: 47:[58, 42, 65] Operation: 5*13=65
Exploring Operation: 5+13=18, Resulting Numbers: [58, 42, 18]
Generated Node #0,1: 47:[58, 42, 18] Operation: 5+13=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[58, 42, 65], Operations: ['5*13=65']
Exploring Operation: 65-58=7, Resulting Numbers: [42, 7]
Generated Node #0,0,0: 47:[42, 7] Operation: 65-58=7
Exploring Operation: 65-42=23, Resulting Numbers: [58, 23]
Generated Node #0,0,1: 47:[58, 23] Operation: 65-42=23
Moving to Node #0,0,1
Current State: 47:[58, 23], Operations: ['5*13=65', '65-42=23']
Exploring Operation: 58-23=35, Resulting Numbers: [35]
35,47 unequal: No Solution
Exploring Operation: 58+23=81, Resulting Numbers: [81]
81,47 unequal: No Solution
Moving to Node #0,0,0
Current State: 47:[42, 7], Operations: ['5*13=65', '65-58=7']
Exploring Operation: 42-7=35, Resulting Numbers: [35]
35,47 unequal: No Solution
Exploring Operation: 42+7=49, Resulting Numbers: [49]
49,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
Current State: 47:[58, 42, 18], Operations: ['5+13=18']
Exploring Operation: 58-18=40, Resulting Numbers: [42, 40]
Generated Node #0,1,0: 47:[42, 40] Operation: 58-18=40
Exploring Operation: 42+18=60, Resulting Numbers: [58, 60]
Generated Node #0,1,1: 47:[58, 60] Operation: 42+18=60
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 47:[42, 40], Operations: ['5+13=18', '58-18=40']
Exploring Operation: 42-40=2, Resulting Numbers: [2]
2,47 unequal: No Solution
Exploring Operation: 42+40=82, Resulting Numbers: [82]
82,47 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: 47:[58, 60], Operations: ['5+13=18', '42+18=60']
Exploring Operation: 58+60=118, Resulting Numbers: [118]
118,47 unequal: No Solution
Exploring Operation: 60-58=2, Resulting Numbers: [2]
2,47 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 |
[
53,
96,
45,
61
] | 73 | [
"53-45=8",
"96/8=12",
"61+12=73"
] | Current State: 73:[53, 96, 45, 61], Operations: []
Exploring Operation: 53-45=8, Resulting Numbers: [96, 61, 8]
Generated Node #2: [96, 61, 8] from Operation: 53-45=8
Current State: 73:[96, 61, 8], Operations: ['53-45=8']
Exploring Operation: 96/8=12, Resulting Numbers: [61, 12]
Generated Node #3: [61, 12] from Operation: 96/8=12
Current State: 73:[61, 12], Operations: ['53-45=8', '96/8=12']
Exploring Operation: 61+12=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[53, 96, 45, 61], Operations: []
Exploring Operation: 96-45=51, Resulting Numbers: [53, 61, 51]
Generated Node #0,0: 73:[53, 61, 51] Operation: 96-45=51
Exploring Operation: 53+45=98, Resulting Numbers: [96, 61, 98]
Generated Node #0,1: 73:[96, 61, 98] Operation: 53+45=98
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[53, 61, 51], Operations: ['96-45=51']
Exploring Operation: 53+51=104, Resulting Numbers: [61, 104]
Generated Node #0,0,0: 73:[61, 104] Operation: 53+51=104
Exploring Operation: 61+51=112, Resulting Numbers: [53, 112]
Generated Node #0,0,1: 73:[53, 112] Operation: 61+51=112
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 73:[61, 104], Operations: ['96-45=51', '53+51=104']
Exploring Operation: 61+104=165, Resulting Numbers: [165]
165,73 unequal: No Solution
Exploring Operation: 104-61=43, Resulting Numbers: [43]
43,73 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: 73:[53, 112], Operations: ['96-45=51', '61+51=112']
Exploring Operation: 53+112=165, Resulting Numbers: [165]
165,73 unequal: No Solution
Exploring Operation: 112-53=59, Resulting Numbers: [59]
59,73 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: 73:[96, 61, 98], Operations: ['53+45=98']
Exploring Operation: 98-61=37, Resulting Numbers: [96, 37]
Generated Node #0,1,0: 73:[96, 37] Operation: 98-61=37
Exploring Operation: 96-61=35, Resulting Numbers: [98, 35]
Generated Node #0,1,1: 73:[98, 35] Operation: 96-61=35
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 73:[96, 37], Operations: ['53+45=98', '98-61=37']
Exploring Operation: 96+37=133, Resulting Numbers: [133]
133,73 unequal: No Solution
Exploring Operation: 96-37=59, Resulting Numbers: [59]
59,73 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: 73:[98, 35], Operations: ['53+45=98', '96-61=35']
Exploring Operation: 98+35=133, Resulting Numbers: [133]
133,73 unequal: No Solution
Exploring Operation: 98-35=63, Resulting Numbers: [63]
63,73 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 |
[
4,
52,
20,
34
] | 23 | [
"20/4=5",
"52-34=18",
"5+18=23"
] | Current State: 23:[4, 52, 20, 34], Operations: []
Exploring Operation: 20/4=5, Resulting Numbers: [52, 34, 5]
Generated Node #2: [52, 34, 5] from Operation: 20/4=5
Current State: 23:[52, 34, 5], Operations: ['20/4=5']
Exploring Operation: 52-34=18, Resulting Numbers: [5, 18]
Generated Node #3: [5, 18] from Operation: 52-34=18
Current State: 23:[5, 18], Operations: ['20/4=5', '52-34=18']
Exploring Operation: 5+18=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[4, 52, 20, 34], Operations: []
Exploring Operation: 52/4=13, Resulting Numbers: [20, 34, 13]
Generated Node #0,0: 23:[20, 34, 13] Operation: 52/4=13
Exploring Operation: 52-34=18, Resulting Numbers: [4, 20, 18]
Generated Node #0,1: 23:[4, 20, 18] Operation: 52-34=18
Exploring Operation: 52-4=48, Resulting Numbers: [20, 34, 48]
Generated Node #0,2: 23:[20, 34, 48] Operation: 52-4=48
Moving to Node #0,0
Current State: 23:[20, 34, 13], Operations: ['52/4=13']
Exploring Operation: 34-13=21, Resulting Numbers: [20, 21]
Generated Node #0,0,0: 23:[20, 21] Operation: 34-13=21
Exploring Operation: 20+13=33, Resulting Numbers: [34, 33]
Generated Node #0,0,1: 23:[34, 33] Operation: 20+13=33
Exploring Operation: 34-20=14, Resulting Numbers: [13, 14]
Generated Node #0,0,2: 23:[13, 14] Operation: 34-20=14
Moving to Node #0,1
Current State: 23:[4, 20, 18], Operations: ['52-34=18']
Exploring Operation: 4+20=24, Resulting Numbers: [18, 24]
Generated Node #0,1,0: 23:[18, 24] Operation: 4+20=24
Exploring Operation: 20-4=16, Resulting Numbers: [18, 16]
Generated Node #0,1,1: 23:[18, 16] Operation: 20-4=16
Exploring Operation: 4+18=22, Resulting Numbers: [20, 22]
Generated Node #0,1,2: 23:[20, 22] Operation: 4+18=22
Moving to Node #0,2
Current State: 23:[20, 34, 48], Operations: ['52-4=48']
Exploring Operation: 34-20=14, Resulting Numbers: [48, 14]
Generated Node #0,2,0: 23:[48, 14] Operation: 34-20=14
Exploring Operation: 48-20=28, Resulting Numbers: [34, 28]
Generated Node #0,2,1: 23:[34, 28] Operation: 48-20=28
Exploring Operation: 48-34=14, Resulting Numbers: [20, 14]
Generated Node #0,2,2: 23:[20, 14] Operation: 48-34=14
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 23:[20, 14], Operations: ['52-4=48', '48-34=14']
Exploring Operation: 20*14=280, Resulting Numbers: [280]
280,23 unequal: No Solution
Exploring Operation: 20+14=34, Resulting Numbers: [34]
34,23 unequal: No Solution
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,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,1
Current State: 23:[34, 28], Operations: ['52-4=48', '48-20=28']
Exploring Operation: 34+28=62, Resulting Numbers: [62]
62,23 unequal: No Solution
Exploring Operation: 34*28=952, Resulting Numbers: [952]
952,23 unequal: No Solution
Exploring Operation: 34-28=6, Resulting Numbers: [6]
6,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,0
Current State: 23:[48, 14], Operations: ['52-4=48', '34-20=14']
Exploring Operation: 48+14=62, Resulting Numbers: [62]
62,23 unequal: No Solution
Exploring Operation: 48-14=34, Resulting Numbers: [34]
34,23 unequal: No Solution
Exploring Operation: 48*14=672, Resulting Numbers: [672]
672,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 23:[20, 22], Operations: ['52-34=18', '4+18=22']
Exploring Operation: 22-20=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 20+22=42, Resulting Numbers: [42]
42,23 unequal: No Solution
Exploring Operation: 20*22=440, Resulting Numbers: [440]
440,23 unequal: No Solution
Moving to Node #0,0,0
Current State: 23:[20, 21], Operations: ['52/4=13', '34-13=21']
Exploring Operation: 20*21=420, Resulting Numbers: [420]
420,23 unequal: No Solution
Exploring Operation: 20+21=41, Resulting Numbers: [41]
41,23 unequal: No Solution
Exploring Operation: 21-20=1, Resulting Numbers: [1]
1,23 unequal: No Solution
Moving to Node #0,1,0
Current State: 23:[18, 24], Operations: ['52-34=18', '4+20=24']
Exploring Operation: 18+24=42, Resulting Numbers: [42]
42,23 unequal: No Solution
Exploring Operation: 24-18=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 18*24=432, Resulting Numbers: [432]
432,23 unequal: No Solution
Moving to Node #0,1,1
Current State: 23:[18, 16], Operations: ['52-34=18', '20-4=16']
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,23 unequal: No Solution
Exploring Operation: 18*16=288, Resulting Numbers: [288]
288,23 unequal: No Solution
Moving to Node #0,0,2
Current State: 23:[13, 14], Operations: ['52/4=13', '34-20=14']
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,23 unequal: No Solution
Exploring Operation: 13+14=27, Resulting Numbers: [27]
27,23 unequal: No Solution
Exploring Operation: 13*14=182, Resulting Numbers: [182]
182,23 unequal: No Solution
Moving to Node #0,0,1
Current State: 23:[34, 33], Operations: ['52/4=13', '20+13=33']
Exploring Operation: 34*33=1122, Resulting Numbers: [1122]
1122,23 unequal: No Solution
Exploring Operation: 34-33=1, Resulting Numbers: [1]
1,23 unequal: No Solution
Exploring Operation: 34+33=67, Resulting Numbers: [67]
67,23 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.