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 |
|---|---|---|---|---|---|---|---|---|
[
36,
35,
11,
4
] | 70 | [
"36/4=9",
"11-9=2",
"35*2=70"
] | Current State: 70:[36, 35, 11, 4], Operations: []
Exploring Operation: 36/4=9, Resulting Numbers: [35, 11, 9]
Generated Node #2: [35, 11, 9] from Operation: 36/4=9
Current State: 70:[35, 11, 9], Operations: ['36/4=9']
Exploring Operation: 11-9=2, Resulting Numbers: [35, 2]
Generated Node #3: [35, 2] from Operation: 11-9=2
Current State: 70:[35, 2], Operations: ['36/4=9', '11-9=2']
Exploring Operation: 35*2=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[36, 35, 11, 4], Operations: []
Exploring Operation: 11-4=7, Resulting Numbers: [36, 35, 7]
Generated Node #0,0: 70:[36, 35, 7] Operation: 11-4=7
Moving to Node #0,0
Current State: 70:[36, 35, 7], Operations: ['11-4=7']
Exploring Operation: 36+35=71, Resulting Numbers: [7, 71]
Generated Node #0,0,0: 70:[7, 71] Operation: 36+35=71
Moving to Node #0,0,0
Current State: 70:[7, 71], Operations: ['11-4=7', '36+35=71']
Exploring Operation: 71-7=64, Resulting Numbers: [64]
64,70 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
84,
61,
77,
97
] | 43 | [
"84-61=23",
"97-77=20",
"23+20=43"
] | Current State: 43:[84, 61, 77, 97], Operations: []
Exploring Operation: 84-61=23, Resulting Numbers: [77, 97, 23]
Generated Node #2: [77, 97, 23] from Operation: 84-61=23
Current State: 43:[77, 97, 23], Operations: ['84-61=23']
Exploring Operation: 97-77=20, Resulting Numbers: [23, 20]
Generated Node #3: [23, 20] from Operation: 97-77=20
Current State: 43:[23, 20], Operations: ['84-61=23', '97-77=20']
Exploring Operation: 23+20=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[84, 61, 77, 97], Operations: []
Exploring Operation: 97-84=13, Resulting Numbers: [61, 77, 13]
Generated Node #0,0: 43:[61, 77, 13] Operation: 97-84=13
Moving to Node #0,0
Current State: 43:[61, 77, 13], Operations: ['97-84=13']
Exploring Operation: 61-13=48, Resulting Numbers: [77, 48]
Generated Node #0,0,0: 43:[77, 48] Operation: 61-13=48
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 43:[77, 48], Operations: ['97-84=13', '61-13=48']
Exploring Operation: 77-48=29, Resulting Numbers: [29]
29,43 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 |
[
10,
69,
91,
61
] | 49 | [
"10+69=79",
"91-61=30",
"79-30=49"
] | Current State: 49:[10, 69, 91, 61], Operations: []
Exploring Operation: 10+69=79, Resulting Numbers: [91, 61, 79]
Generated Node #2: [91, 61, 79] from Operation: 10+69=79
Current State: 49:[91, 61, 79], Operations: ['10+69=79']
Exploring Operation: 91-61=30, Resulting Numbers: [79, 30]
Generated Node #3: [79, 30] from Operation: 91-61=30
Current State: 49:[79, 30], Operations: ['10+69=79', '91-61=30']
Exploring Operation: 79-30=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[10, 69, 91, 61], Operations: []
Exploring Operation: 91-10=81, Resulting Numbers: [69, 61, 81]
Generated Node #0,0: 49:[69, 61, 81] Operation: 91-10=81
Exploring Operation: 69-61=8, Resulting Numbers: [10, 91, 8]
Generated Node #0,1: 49:[10, 91, 8] Operation: 69-61=8
Exploring Operation: 91-61=30, Resulting Numbers: [10, 69, 30]
Generated Node #0,2: 49:[10, 69, 30] Operation: 91-61=30
Exploring Operation: 91-69=22, Resulting Numbers: [10, 61, 22]
Generated Node #0,3: 49:[10, 61, 22] Operation: 91-69=22
Exploring Operation: 69-10=59, Resulting Numbers: [91, 61, 59]
Generated Node #0,4: 49:[91, 61, 59] Operation: 69-10=59
Moving to Node #0,3
Current State: 49:[10, 61, 22], Operations: ['91-69=22']
Exploring Operation: 10+61=71, Resulting Numbers: [22, 71]
Generated Node #0,3,0: 49:[22, 71] Operation: 10+61=71
Exploring Operation: 61-10=51, Resulting Numbers: [22, 51]
Generated Node #0,3,1: 49:[22, 51] Operation: 61-10=51
Exploring Operation: 22-10=12, Resulting Numbers: [61, 12]
Generated Node #0,3,2: 49:[61, 12] Operation: 22-10=12
Exploring Operation: 10+22=32, Resulting Numbers: [61, 32]
Generated Node #0,3,3: 49:[61, 32] Operation: 10+22=32
Exploring Operation: 61-22=39, Resulting Numbers: [10, 39]
Generated Node #0,3,4: 49:[10, 39] Operation: 61-22=39
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 49:[10, 39], Operations: ['91-69=22', '61-22=39']
Exploring Operation: 10+39=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[10, 69, 91, 61], Operations: []
Exploring Operation: 91-69=22, Resulting Numbers: [10, 61, 22]
Generated Node #0,3: 49:[10, 61, 22] Operation: 91-69=22
Moving to Node #0,3
Current State: 49:[10, 61, 22], Operations: ['91-69=22']
Exploring Operation: 61-22=39, Resulting Numbers: [10, 39]
Generated Node #0,3,4: 49:[10, 39] Operation: 61-22=39
Moving to Node #0,3,4
Current State: 49:[10, 39], Operations: ['91-69=22', '61-22=39']
Exploring Operation: 10+39=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
19,
3,
82,
47
] | 51 | [
"19-3=16",
"82-47=35",
"16+35=51"
] | Current State: 51:[19, 3, 82, 47], Operations: []
Exploring Operation: 19-3=16, Resulting Numbers: [82, 47, 16]
Generated Node #2: [82, 47, 16] from Operation: 19-3=16
Current State: 51:[82, 47, 16], Operations: ['19-3=16']
Exploring Operation: 82-47=35, Resulting Numbers: [16, 35]
Generated Node #3: [16, 35] from Operation: 82-47=35
Current State: 51:[16, 35], Operations: ['19-3=16', '82-47=35']
Exploring Operation: 16+35=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[19, 3, 82, 47], Operations: []
Exploring Operation: 82-3=79, Resulting Numbers: [19, 47, 79]
Generated Node #0,0: 51:[19, 47, 79] Operation: 82-3=79
Exploring Operation: 82-19=63, Resulting Numbers: [3, 47, 63]
Generated Node #0,1: 51:[3, 47, 63] Operation: 82-19=63
Exploring Operation: 82-47=35, Resulting Numbers: [19, 3, 35]
Generated Node #0,2: 51:[19, 3, 35] Operation: 82-47=35
Exploring Operation: 3+47=50, Resulting Numbers: [19, 82, 50]
Generated Node #0,3: 51:[19, 82, 50] Operation: 3+47=50
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[3, 47, 63], Operations: ['82-19=63']
Exploring Operation: 63/3=21, Resulting Numbers: [47, 21]
Generated Node #0,1,0: 51:[47, 21] Operation: 63/3=21
Exploring Operation: 63-3=60, Resulting Numbers: [47, 60]
Generated Node #0,1,1: 51:[47, 60] Operation: 63-3=60
Exploring Operation: 3+47=50, Resulting Numbers: [63, 50]
Generated Node #0,1,2: 51:[63, 50] Operation: 3+47=50
Exploring Operation: 63-47=16, Resulting Numbers: [3, 16]
Generated Node #0,1,3: 51:[3, 16] Operation: 63-47=16
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 51:[3, 16], Operations: ['82-19=63', '63-47=16']
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,51 unequal: No Solution
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,51 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,51 unequal: No Solution
No 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: 51:[47, 21], Operations: ['82-19=63', '63/3=21']
Exploring Operation: 47+21=68, Resulting Numbers: [68]
68,51 unequal: No Solution
Exploring Operation: 47*21=987, Resulting Numbers: [987]
987,51 unequal: No Solution
Exploring Operation: 47-21=26, Resulting Numbers: [26]
26,51 unequal: No Solution
No 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: 51:[47, 60], Operations: ['82-19=63', '63-3=60']
Exploring Operation: 47+60=107, Resulting Numbers: [107]
107,51 unequal: No Solution
Exploring Operation: 60-47=13, Resulting Numbers: [13]
13,51 unequal: No Solution
Exploring Operation: 47*60=2820, Resulting Numbers: [2820]
2820,51 unequal: No Solution
No 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: 51:[63, 50], Operations: ['82-19=63', '3+47=50']
Exploring Operation: 63*50=3150, Resulting Numbers: [3150]
3150,51 unequal: No Solution
Exploring Operation: 63-50=13, Resulting Numbers: [13]
13,51 unequal: No Solution
Exploring Operation: 63+50=113, Resulting Numbers: [113]
113,51 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: 51:[19, 3, 35], Operations: ['82-47=35']
Exploring Operation: 19+35=54, Resulting Numbers: [3, 54]
Generated Node #0,2,0: 51:[3, 54] Operation: 19+35=54
Exploring Operation: 19-3=16, Resulting Numbers: [35, 16]
Generated Node #0,2,1: 51:[35, 16] Operation: 19-3=16
Exploring Operation: 3+35=38, Resulting Numbers: [19, 38]
Generated Node #0,2,2: 51:[19, 38] Operation: 3+35=38
Exploring Operation: 35-19=16, Resulting Numbers: [3, 16]
Generated Node #0,2,3: 51:[3, 16] Operation: 35-19=16
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 51:[3, 16], Operations: ['82-47=35', '35-19=16']
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,51 unequal: No Solution
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,51 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,51 unequal: No Solution
No 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: 51:[3, 54], Operations: ['82-47=35', '19+35=54']
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[19, 3, 82, 47], Operations: []
Exploring Operation: 82-47=35, Resulting Numbers: [19, 3, 35]
Generated Node #0,2: 51:[19, 3, 35] Operation: 82-47=35
Moving to Node #0,2
Current State: 51:[19, 3, 35], Operations: ['82-47=35']
Exploring Operation: 19+35=54, Resulting Numbers: [3, 54]
Generated Node #0,2,0: 51:[3, 54] Operation: 19+35=54
Moving to Node #0,2,0
Current State: 51:[3, 54], Operations: ['82-47=35', '19+35=54']
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.972222 | hs_4 | mult_heuristic |
[
36,
14,
40,
6
] | 50 | [
"40-36=4",
"14*4=56",
"56-6=50"
] | Current State: 50:[36, 14, 40, 6], Operations: []
Exploring Operation: 40-36=4, Resulting Numbers: [14, 6, 4]
Generated Node #2: [14, 6, 4] from Operation: 40-36=4
Current State: 50:[14, 6, 4], Operations: ['40-36=4']
Exploring Operation: 14*4=56, Resulting Numbers: [6, 56]
Generated Node #3: [6, 56] from Operation: 14*4=56
Current State: 50:[6, 56], Operations: ['40-36=4', '14*4=56']
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[36, 14, 40, 6], Operations: []
Exploring Operation: 40-14=26, Resulting Numbers: [36, 6, 26]
Generated Node #0,0: 50:[36, 6, 26] Operation: 40-14=26
Exploring Operation: 36+14=50, Resulting Numbers: [40, 6, 50]
Generated Node #0,1: 50:[40, 6, 50] Operation: 36+14=50
Exploring Operation: 40-36=4, Resulting Numbers: [14, 6, 4]
Generated Node #0,2: 50:[14, 6, 4] Operation: 40-36=4
Moving to Node #0,2
Current State: 50:[14, 6, 4], Operations: ['40-36=4']
Exploring Operation: 14-4=10, Resulting Numbers: [6, 10]
Generated Node #0,2,0: 50:[6, 10] Operation: 14-4=10
Exploring Operation: 14-6=8, Resulting Numbers: [4, 8]
Generated Node #0,2,1: 50:[4, 8] Operation: 14-6=8
Exploring Operation: 6+4=10, Resulting Numbers: [14, 10]
Generated Node #0,2,2: 50:[14, 10] Operation: 6+4=10
Moving to Node #0,1
Current State: 50:[40, 6, 50], Operations: ['36+14=50']
Exploring Operation: 40-6=34, Resulting Numbers: [50, 34]
Generated Node #0,1,0: 50:[50, 34] Operation: 40-6=34
Exploring Operation: 50-40=10, Resulting Numbers: [6, 10]
Generated Node #0,1,1: 50:[6, 10] Operation: 50-40=10
Exploring Operation: 40+6=46, Resulting Numbers: [50, 46]
Generated Node #0,1,2: 50:[50, 46] Operation: 40+6=46
Moving to Node #0,0
Current State: 50:[36, 6, 26], Operations: ['40-14=26']
Exploring Operation: 36-6=30, Resulting Numbers: [26, 30]
Generated Node #0,0,0: 50:[26, 30] Operation: 36-6=30
Exploring Operation: 36-26=10, Resulting Numbers: [6, 10]
Generated Node #0,0,1: 50:[6, 10] Operation: 36-26=10
Exploring Operation: 36/6=6, Resulting Numbers: [26, 6]
Generated Node #0,0,2: 50:[26, 6] Operation: 36/6=6
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 50:[6, 10], Operations: ['40-14=26', '36-26=10']
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,50 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 50:[26, 6], Operations: ['40-14=26', '36/6=6']
Exploring Operation: 26+6=32, Resulting Numbers: [32]
32,50 unequal: No Solution
Exploring Operation: 26*6=156, Resulting Numbers: [156]
156,50 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 50:[26, 30], Operations: ['40-14=26', '36-6=30']
Exploring Operation: 26*30=780, Resulting Numbers: [780]
780,50 unequal: No Solution
Exploring Operation: 26+30=56, Resulting Numbers: [56]
56,50 unequal: No Solution
Exploring Operation: 30-26=4, Resulting Numbers: [4]
4,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 50:[6, 10], Operations: ['40-36=4', '14-4=10']
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,50 unequal: No Solution
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,50 unequal: No Solution
Moving to Node #0,1,1
Current State: 50:[6, 10], Operations: ['36+14=50', '50-40=10']
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,50 unequal: No Solution
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,50 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Moving to Node #0,2,1
Current State: 50:[4, 8], Operations: ['40-36=4', '14-6=8']
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,50 unequal: No Solution
Moving to Node #0,2,2
Current State: 50:[14, 10], Operations: ['40-36=4', '6+4=10']
Exploring Operation: 14*10=140, Resulting Numbers: [140]
140,50 unequal: No Solution
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Exploring Operation: 14+10=24, Resulting Numbers: [24]
24,50 unequal: No Solution
Moving to Node #0,1,2
Current State: 50:[50, 46], Operations: ['36+14=50', '40+6=46']
Exploring Operation: 50*46=2300, Resulting Numbers: [2300]
2300,50 unequal: No Solution
Exploring Operation: 50+46=96, Resulting Numbers: [96]
96,50 unequal: No Solution
Exploring Operation: 50-46=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Moving to Node #0,1,0
Current State: 50:[50, 34], Operations: ['36+14=50', '40-6=34']
Exploring Operation: 50*34=1700, Resulting Numbers: [1700]
1700,50 unequal: No Solution
Exploring Operation: 50+34=84, Resulting Numbers: [84]
84,50 unequal: No Solution
Exploring Operation: 50-34=16, Resulting Numbers: [16]
16,50 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
86,
33,
40,
89
] | 70 | [
"86+33=119",
"89-40=49",
"119-49=70"
] | Current State: 70:[86, 33, 40, 89], Operations: []
Exploring Operation: 86+33=119, Resulting Numbers: [40, 89, 119]
Generated Node #2: [40, 89, 119] from Operation: 86+33=119
Current State: 70:[40, 89, 119], Operations: ['86+33=119']
Exploring Operation: 89-40=49, Resulting Numbers: [119, 49]
Generated Node #3: [119, 49] from Operation: 89-40=49
Current State: 70:[119, 49], Operations: ['86+33=119', '89-40=49']
Exploring Operation: 119-49=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[86, 33, 40, 89], Operations: []
Exploring Operation: 89-86=3, Resulting Numbers: [33, 40, 3]
Generated Node #0,0: 70:[33, 40, 3] Operation: 89-86=3
Moving to Node #0,0
Current State: 70:[33, 40, 3], Operations: ['89-86=3']
Exploring Operation: 40-33=7, Resulting Numbers: [3, 7]
Generated Node #0,0,0: 70:[3, 7] Operation: 40-33=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[3, 7], Operations: ['89-86=3', '40-33=7']
Exploring Operation: 3+7=10, Resulting Numbers: [10]
10,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 | mult_heuristic |
[
58,
51,
80,
15
] | 17 | [
"80-51=29",
"58/29=2",
"15+2=17"
] | Current State: 17:[58, 51, 80, 15], Operations: []
Exploring Operation: 80-51=29, Resulting Numbers: [58, 15, 29]
Generated Node #2: [58, 15, 29] from Operation: 80-51=29
Current State: 17:[58, 15, 29], Operations: ['80-51=29']
Exploring Operation: 58/29=2, Resulting Numbers: [15, 2]
Generated Node #3: [15, 2] from Operation: 58/29=2
Current State: 17:[15, 2], Operations: ['80-51=29', '58/29=2']
Exploring Operation: 15+2=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[58, 51, 80, 15], Operations: []
Exploring Operation: 80-58=22, Resulting Numbers: [51, 15, 22]
Generated Node #0,0: 17:[51, 15, 22] Operation: 80-58=22
Moving to Node #0,0
Current State: 17:[51, 15, 22], Operations: ['80-58=22']
Exploring Operation: 51-22=29, Resulting Numbers: [15, 29]
Generated Node #0,0,0: 17:[15, 29] Operation: 51-22=29
Moving to Node #0,0,0
Current State: 17:[15, 29], Operations: ['80-58=22', '51-22=29']
Exploring Operation: 29-15=14, Resulting Numbers: [14]
14,17 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
5,
99,
81,
94
] | 56 | [
"99-94=5",
"5*5=25",
"81-25=56"
] | Current State: 56:[5, 99, 81, 94], Operations: []
Exploring Operation: 99-94=5, Resulting Numbers: [5, 81, 5]
Generated Node #2: [5, 81, 5] from Operation: 99-94=5
Current State: 56:[5, 81, 5], Operations: ['99-94=5']
Exploring Operation: 5*5=25, Resulting Numbers: [81, 25]
Generated Node #3: [81, 25] from Operation: 5*5=25
Current State: 56:[81, 25], Operations: ['99-94=5', '5*5=25']
Exploring Operation: 81-25=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[5, 99, 81, 94], Operations: []
Exploring Operation: 99-94=5, Resulting Numbers: [5, 81, 5]
Generated Node #0,0: 56:[5, 81, 5] Operation: 99-94=5
Exploring Operation: 99-81=18, Resulting Numbers: [5, 94, 18]
Generated Node #0,1: 56:[5, 94, 18] Operation: 99-81=18
Moving to Node #0,0
Current State: 56:[5, 81, 5], Operations: ['99-94=5']
Exploring Operation: 81-5=76, Resulting Numbers: [5, 76]
Generated Node #0,0,0: 56:[5, 76] Operation: 81-5=76
Exploring Operation: 81-5=76, Resulting Numbers: [5, 76]
Generated Node #0,0,1: 56:[5, 76] Operation: 81-5=76
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 56:[5, 76], Operations: ['99-94=5', '81-5=76']
Exploring Operation: 76-5=71, Resulting Numbers: [71]
71,56 unequal: No Solution
Exploring Operation: 5+76=81, Resulting Numbers: [81]
81,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:[5, 76], Operations: ['99-94=5', '81-5=76']
Exploring Operation: 76-5=71, Resulting Numbers: [71]
71,56 unequal: No Solution
Exploring Operation: 5+76=81, Resulting Numbers: [81]
81,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 56:[5, 94, 18], Operations: ['99-81=18']
Exploring Operation: 94-18=76, Resulting Numbers: [5, 76]
Generated Node #0,1,0: 56:[5, 76] Operation: 94-18=76
Exploring Operation: 94-5=89, Resulting Numbers: [18, 89]
Generated Node #0,1,1: 56:[18, 89] Operation: 94-5=89
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 56:[5, 76], Operations: ['99-81=18', '94-18=76']
Exploring Operation: 5+76=81, Resulting Numbers: [81]
81,56 unequal: No Solution
Exploring Operation: 76-5=71, Resulting Numbers: [71]
71,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:[18, 89], Operations: ['99-81=18', '94-5=89']
Exploring Operation: 18+89=107, Resulting Numbers: [107]
107,56 unequal: No Solution
Exploring Operation: 89-18=71, Resulting Numbers: [71]
71,56 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 |
[
21,
30,
41,
8
] | 97 | [
"21*8=168",
"30+41=71",
"168-71=97"
] | Current State: 97:[21, 30, 41, 8], Operations: []
Exploring Operation: 21*8=168, Resulting Numbers: [30, 41, 168]
Generated Node #2: [30, 41, 168] from Operation: 21*8=168
Current State: 97:[30, 41, 168], Operations: ['21*8=168']
Exploring Operation: 30+41=71, Resulting Numbers: [168, 71]
Generated Node #3: [168, 71] from Operation: 30+41=71
Current State: 97:[168, 71], Operations: ['21*8=168', '30+41=71']
Exploring Operation: 168-71=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[21, 30, 41, 8], Operations: []
Exploring Operation: 21+30=51, Resulting Numbers: [41, 8, 51]
Generated Node #0,0: 97:[41, 8, 51] Operation: 21+30=51
Moving to Node #0,0
Current State: 97:[41, 8, 51], Operations: ['21+30=51']
Exploring Operation: 41+8=49, Resulting Numbers: [51, 49]
Generated Node #0,0,0: 97:[51, 49] Operation: 41+8=49
Moving to Node #0,0,0
Current State: 97:[51, 49], Operations: ['21+30=51', '41+8=49']
Exploring Operation: 51+49=100, Resulting Numbers: [100]
100,97 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
20,
9,
9,
9
] | 10 | [
"20*9=180",
"9+9=18",
"180/18=10"
] | Current State: 10:[20, 9, 9, 9], Operations: []
Exploring Operation: 20*9=180, Resulting Numbers: [180]
180,10 equal: Goal Reached
Exploring Operation: 9+9=18, Resulting Numbers: [180, 18]
Generated Node #2: [180, 18] from Operation: 9+9=18
Current State: 10:[180, 18], Operations: ['9+9=18']
Exploring Operation: 180/18=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[20, 9, 9, 9], Operations: []
Exploring Operation: 20-9=11, Resulting Numbers: [9, 9, 11]
Generated Node #0,0: 10:[9, 9, 11] Operation: 20-9=11
Exploring Operation: 20-9=11, Resulting Numbers: [9, 9, 11]
Generated Node #0,1: 10:[9, 9, 11] Operation: 20-9=11
Exploring Operation: 20-9=11, Resulting Numbers: [9, 9, 11]
Generated Node #0,2: 10:[9, 9, 11] Operation: 20-9=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[9, 9, 11], Operations: ['20-9=11']
Exploring Operation: 11-9=2, Resulting Numbers: [9, 2]
Generated Node #0,0,0: 10:[9, 2] Operation: 11-9=2
Exploring Operation: 9/9=1, Resulting Numbers: [11, 1]
Generated Node #0,0,1: 10:[11, 1] Operation: 9/9=1
Exploring Operation: 11-9=2, Resulting Numbers: [9, 2]
Generated Node #0,0,2: 10:[9, 2] Operation: 11-9=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 10:[9, 2], Operations: ['20-9=11', '11-9=2']
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,10 unequal: No Solution
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,10 unequal: No Solution
No 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: 10:[9, 2], Operations: ['20-9=11', '11-9=2']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,10 unequal: No Solution
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,10 unequal: No Solution
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,10 unequal: No Solution
No 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: 10:[11, 1], Operations: ['20-9=11', '9/9=1']
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[20, 9, 9, 9], Operations: []
Exploring Operation: 20-9=11, Resulting Numbers: [9, 9, 11]
Generated Node #0,0: 10:[9, 9, 11] Operation: 20-9=11
Moving to Node #0,0
Current State: 10:[9, 9, 11], Operations: ['20-9=11']
Exploring Operation: 9/9=1, Resulting Numbers: [11, 1]
Generated Node #0,0,1: 10:[11, 1] Operation: 9/9=1
Moving to Node #0,0,1
Current State: 10:[11, 1], Operations: ['20-9=11', '9/9=1']
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_3 | sum_heuristic |
[
48,
44,
52,
13
] | 35 | [
"48-44=4",
"52-13=39",
"39-4=35"
] | Current State: 35:[48, 44, 52, 13], Operations: []
Exploring Operation: 48-44=4, Resulting Numbers: [52, 13, 4]
Generated Node #2: [52, 13, 4] from Operation: 48-44=4
Current State: 35:[52, 13, 4], Operations: ['48-44=4']
Exploring Operation: 52-13=39, Resulting Numbers: [4, 39]
Generated Node #3: [4, 39] from Operation: 52-13=39
Current State: 35:[4, 39], Operations: ['48-44=4', '52-13=39']
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[48, 44, 52, 13], Operations: []
Exploring Operation: 52-48=4, Resulting Numbers: [44, 13, 4]
Generated Node #0,0: 35:[44, 13, 4] Operation: 52-48=4
Exploring Operation: 52/13=4, Resulting Numbers: [48, 44, 4]
Generated Node #0,1: 35:[48, 44, 4] Operation: 52/13=4
Exploring Operation: 52-44=8, Resulting Numbers: [48, 13, 8]
Generated Node #0,2: 35:[48, 13, 8] Operation: 52-44=8
Moving to Node #0,0
Current State: 35:[44, 13, 4], Operations: ['52-48=4']
Exploring Operation: 44/4=11, Resulting Numbers: [13, 11]
Generated Node #0,0,0: 35:[13, 11] Operation: 44/4=11
Exploring Operation: 44-13=31, Resulting Numbers: [4, 31]
Generated Node #0,0,1: 35:[4, 31] Operation: 44-13=31
Exploring Operation: 44-4=40, Resulting Numbers: [13, 40]
Generated Node #0,0,2: 35:[13, 40] Operation: 44-4=40
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 35:[4, 31], Operations: ['52-48=4', '44-13=31']
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,35 unequal: No Solution
Exploring Operation: 4*31=124, Resulting Numbers: [124]
124,35 unequal: No Solution
Exploring Operation: 4+31=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[48, 44, 52, 13], Operations: []
Exploring Operation: 52-48=4, Resulting Numbers: [44, 13, 4]
Generated Node #0,0: 35:[44, 13, 4] Operation: 52-48=4
Moving to Node #0,0
Current State: 35:[44, 13, 4], Operations: ['52-48=4']
Exploring Operation: 44-13=31, Resulting Numbers: [4, 31]
Generated Node #0,0,1: 35:[4, 31] Operation: 44-13=31
Moving to Node #0,0,1
Current State: 35:[4, 31], Operations: ['52-48=4', '44-13=31']
Exploring Operation: 4+31=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
85,
52,
17,
44
] | 40 | [
"85/17=5",
"52-44=8",
"5*8=40"
] | Current State: 40:[85, 52, 17, 44], Operations: []
Exploring Operation: 85/17=5, Resulting Numbers: [52, 44, 5]
Generated Node #2: [52, 44, 5] from Operation: 85/17=5
Current State: 40:[52, 44, 5], Operations: ['85/17=5']
Exploring Operation: 52-44=8, Resulting Numbers: [5, 8]
Generated Node #3: [5, 8] from Operation: 52-44=8
Current State: 40:[5, 8], Operations: ['85/17=5', '52-44=8']
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[85, 52, 17, 44], Operations: []
Exploring Operation: 52-44=8, Resulting Numbers: [85, 17, 8]
Generated Node #0,0: 40:[85, 17, 8] Operation: 52-44=8
Exploring Operation: 85-52=33, Resulting Numbers: [17, 44, 33]
Generated Node #0,1: 40:[17, 44, 33] Operation: 85-52=33
Exploring Operation: 85-44=41, Resulting Numbers: [52, 17, 41]
Generated Node #0,2: 40:[52, 17, 41] Operation: 85-44=41
Exploring Operation: 85/17=5, Resulting Numbers: [52, 44, 5]
Generated Node #0,3: 40:[52, 44, 5] Operation: 85/17=5
Exploring Operation: 85-17=68, Resulting Numbers: [52, 44, 68]
Generated Node #0,4: 40:[52, 44, 68] Operation: 85-17=68
Start Sub Search at level 1: Moving to Node #0,1
Current State: 40:[17, 44, 33], Operations: ['85-52=33']
Exploring Operation: 33-17=16, Resulting Numbers: [44, 16]
Generated Node #0,1,0: 40:[44, 16] Operation: 33-17=16
Exploring Operation: 44-17=27, Resulting Numbers: [33, 27]
Generated Node #0,1,1: 40:[33, 27] Operation: 44-17=27
Exploring Operation: 17+44=61, Resulting Numbers: [33, 61]
Generated Node #0,1,2: 40:[33, 61] Operation: 17+44=61
Exploring Operation: 44-33=11, Resulting Numbers: [17, 11]
Generated Node #0,1,3: 40:[17, 11] Operation: 44-33=11
Exploring Operation: 17+33=50, Resulting Numbers: [44, 50]
Generated Node #0,1,4: 40:[44, 50] Operation: 17+33=50
Moving to Node #0,1,3
Current State: 40:[17, 11], Operations: ['85-52=33', '44-33=11']
Exploring Operation: 17+11=28, Resulting Numbers: [28]
28,40 unequal: No Solution
Exploring Operation: 17*11=187, Resulting Numbers: [187]
187,40 unequal: No Solution
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,40 unequal: No Solution
Moving to Node #0,1,0
Current State: 40:[44, 16], Operations: ['85-52=33', '33-17=16']
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,40 unequal: No Solution
Exploring Operation: 44+16=60, Resulting Numbers: [60]
60,40 unequal: No Solution
Exploring Operation: 44*16=704, Resulting Numbers: [704]
704,40 unequal: No Solution
Moving to Node #0,1,1
Current State: 40:[33, 27], Operations: ['85-52=33', '44-17=27']
Exploring Operation: 33+27=60, Resulting Numbers: [60]
60,40 unequal: No Solution
Exploring Operation: 33*27=891, Resulting Numbers: [891]
891,40 unequal: No Solution
Exploring Operation: 33-27=6, Resulting Numbers: [6]
6,40 unequal: No Solution
Moving to Node #0,1,4
Current State: 40:[44, 50], Operations: ['85-52=33', '17+33=50']
Exploring Operation: 50-44=6, Resulting Numbers: [6]
6,40 unequal: No Solution
Exploring Operation: 44*50=2200, Resulting Numbers: [2200]
2200,40 unequal: No Solution
Exploring Operation: 44+50=94, Resulting Numbers: [94]
94,40 unequal: No Solution
Moving to Node #0,1,2
Current State: 40:[33, 61], Operations: ['85-52=33', '17+44=61']
Exploring Operation: 33+61=94, Resulting Numbers: [94]
94,40 unequal: No Solution
Exploring Operation: 61-33=28, Resulting Numbers: [28]
28,40 unequal: No Solution
Exploring Operation: 33*61=2013, Resulting Numbers: [2013]
2013,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
Current State: 40:[52, 17, 41], Operations: ['85-44=41']
Exploring Operation: 52-17=35, Resulting Numbers: [41, 35]
Generated Node #0,2,0: 40:[41, 35] Operation: 52-17=35
Exploring Operation: 41-17=24, Resulting Numbers: [52, 24]
Generated Node #0,2,1: 40:[52, 24] Operation: 41-17=24
Exploring Operation: 52+17=69, Resulting Numbers: [41, 69]
Generated Node #0,2,2: 40:[41, 69] Operation: 52+17=69
Exploring Operation: 17+41=58, Resulting Numbers: [52, 58]
Generated Node #0,2,3: 40:[52, 58] Operation: 17+41=58
Exploring Operation: 52-41=11, Resulting Numbers: [17, 11]
Generated Node #0,2,4: 40:[17, 11] Operation: 52-41=11
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 40:[17, 11], Operations: ['85-44=41', '52-41=11']
Exploring Operation: 17+11=28, Resulting Numbers: [28]
28,40 unequal: No Solution
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,40 unequal: No Solution
Exploring Operation: 17*11=187, Resulting Numbers: [187]
187,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 40:[41, 35], Operations: ['85-44=41', '52-17=35']
Exploring Operation: 41*35=1435, Resulting Numbers: [1435]
1435,40 unequal: No Solution
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,40 unequal: No Solution
Exploring Operation: 41+35=76, Resulting Numbers: [76]
76,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 40:[52, 24], Operations: ['85-44=41', '41-17=24']
Exploring Operation: 52+24=76, Resulting Numbers: [76]
76,40 unequal: No Solution
Exploring Operation: 52-24=28, Resulting Numbers: [28]
28,40 unequal: No Solution
Exploring Operation: 52*24=1248, Resulting Numbers: [1248]
1248,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 40:[41, 69], Operations: ['85-44=41', '52+17=69']
Exploring Operation: 41*69=2829, Resulting Numbers: [2829]
2829,40 unequal: No Solution
Exploring Operation: 69-41=28, Resulting Numbers: [28]
28,40 unequal: No Solution
Exploring Operation: 41+69=110, Resulting Numbers: [110]
110,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 40:[52, 58], Operations: ['85-44=41', '17+41=58']
Exploring Operation: 52+58=110, Resulting Numbers: [110]
110,40 unequal: No Solution
Exploring Operation: 58-52=6, Resulting Numbers: [6]
6,40 unequal: No Solution
Exploring Operation: 52*58=3016, Resulting Numbers: [3016]
3016,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 40:[52, 44, 5], Operations: ['85/17=5']
Exploring Operation: 52-5=47, Resulting Numbers: [44, 47]
Generated Node #0,3,0: 40:[44, 47] Operation: 52-5=47
Exploring Operation: 52-44=8, Resulting Numbers: [5, 8]
Generated Node #0,3,1: 40:[5, 8] Operation: 52-44=8
Exploring Operation: 44+5=49, Resulting Numbers: [52, 49]
Generated Node #0,3,2: 40:[52, 49] Operation: 44+5=49
Exploring Operation: 44-5=39, Resulting Numbers: [52, 39]
Generated Node #0,3,3: 40:[52, 39] Operation: 44-5=39
Exploring Operation: 52+5=57, Resulting Numbers: [44, 57]
Generated Node #0,3,4: 40:[44, 57] Operation: 52+5=57
Moving to Node #0,3,1
Current State: 40:[5, 8], Operations: ['85/17=5', '52-44=8']
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[85, 52, 17, 44], Operations: []
Exploring Operation: 85/17=5, Resulting Numbers: [52, 44, 5]
Generated Node #0,3: 40:[52, 44, 5] Operation: 85/17=5
Moving to Node #0,3
Current State: 40:[52, 44, 5], Operations: ['85/17=5']
Exploring Operation: 52-44=8, Resulting Numbers: [5, 8]
Generated Node #0,3,1: 40:[5, 8] Operation: 52-44=8
Moving to Node #0,3,1
Current State: 40:[5, 8], Operations: ['85/17=5', '52-44=8']
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.952257 | hs_5 | sum_heuristic |
[
26,
49,
42,
2
] | 83 | [
"26+42=68",
"68/2=34",
"49+34=83"
] | Current State: 83:[26, 49, 42, 2], Operations: []
Exploring Operation: 26+42=68, Resulting Numbers: [49, 2, 68]
Generated Node #2: [49, 2, 68] from Operation: 26+42=68
Current State: 83:[49, 2, 68], Operations: ['26+42=68']
Exploring Operation: 68/2=34, Resulting Numbers: [49, 34]
Generated Node #3: [49, 34] from Operation: 68/2=34
Current State: 83:[49, 34], Operations: ['26+42=68', '68/2=34']
Exploring Operation: 49+34=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[26, 49, 42, 2], Operations: []
Exploring Operation: 42*2=84, Resulting Numbers: [26, 49, 84]
Generated Node #0,0: 83:[26, 49, 84] Operation: 42*2=84
Exploring Operation: 26*2=52, Resulting Numbers: [49, 42, 52]
Generated Node #0,1: 83:[49, 42, 52] Operation: 26*2=52
Moving to Node #0,0
Current State: 83:[26, 49, 84], Operations: ['42*2=84']
Exploring Operation: 84-26=58, Resulting Numbers: [49, 58]
Generated Node #0,0,0: 83:[49, 58] Operation: 84-26=58
Exploring Operation: 26+49=75, Resulting Numbers: [84, 75]
Generated Node #0,0,1: 83:[84, 75] Operation: 26+49=75
Moving to Node #0,1
Current State: 83:[49, 42, 52], Operations: ['26*2=52']
Exploring Operation: 49+42=91, Resulting Numbers: [52, 91]
Generated Node #0,1,0: 83:[52, 91] Operation: 49+42=91
Exploring Operation: 42+52=94, Resulting Numbers: [49, 94]
Generated Node #0,1,1: 83:[49, 94] Operation: 42+52=94
Moving to Node #0,0,1
Current State: 83:[84, 75], Operations: ['42*2=84', '26+49=75']
Exploring Operation: 84+75=159, Resulting Numbers: [159]
159,83 unequal: No Solution
Exploring Operation: 84-75=9, Resulting Numbers: [9]
9,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[52, 91], Operations: ['26*2=52', '49+42=91']
Exploring Operation: 91-52=39, Resulting Numbers: [39]
39,83 unequal: No Solution
Exploring Operation: 52+91=143, Resulting Numbers: [143]
143,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[49, 94], Operations: ['26*2=52', '42+52=94']
Exploring Operation: 49+94=143, Resulting Numbers: [143]
143,83 unequal: No Solution
Exploring Operation: 94-49=45, Resulting Numbers: [45]
45,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[49, 58], Operations: ['42*2=84', '84-26=58']
Exploring Operation: 58-49=9, Resulting Numbers: [9]
9,83 unequal: No Solution
Exploring Operation: 49+58=107, Resulting Numbers: [107]
107,83 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
71,
70,
15,
15
] | 71 | [
"15-15=0",
"70*0=0",
"71+0=71"
] | Current State: 71:[71, 70, 15, 15], Operations: []
Exploring Operation: 15-15=0, Resulting Numbers: [71, 70, 0]
Generated Node #2: [71, 70, 0] from Operation: 15-15=0
Current State: 71:[71, 70, 0], Operations: ['15-15=0']
Exploring Operation: 70*0=0, Resulting Numbers: [71, 0]
Generated Node #3: [71, 0] from Operation: 70*0=0
Current State: 71:[71, 0], Operations: ['15-15=0', '70*0=0']
Exploring Operation: 71+0=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[71, 70, 15, 15], Operations: []
Exploring Operation: 15+15=30, Resulting Numbers: [71, 70, 30]
Generated Node #0,0: 71:[71, 70, 30] Operation: 15+15=30
Exploring Operation: 70+15=85, Resulting Numbers: [71, 15, 85]
Generated Node #0,1: 71:[71, 15, 85] Operation: 70+15=85
Exploring Operation: 15/15=1, Resulting Numbers: [71, 70, 1]
Generated Node #0,2: 71:[71, 70, 1] Operation: 15/15=1
Exploring Operation: 70+15=85, Resulting Numbers: [71, 15, 85]
Generated Node #0,3: 71:[71, 15, 85] Operation: 70+15=85
Moving to Node #0,0
Current State: 71:[71, 70, 30], Operations: ['15+15=30']
Exploring Operation: 70-30=40, Resulting Numbers: [71, 40]
Generated Node #0,0,0: 71:[71, 40] Operation: 70-30=40
Exploring Operation: 70+30=100, Resulting Numbers: [71, 100]
Generated Node #0,0,1: 71:[71, 100] Operation: 70+30=100
Exploring Operation: 71-30=41, Resulting Numbers: [70, 41]
Generated Node #0,0,2: 71:[70, 41] Operation: 71-30=41
Exploring Operation: 71+30=101, Resulting Numbers: [70, 101]
Generated Node #0,0,3: 71:[70, 101] Operation: 71+30=101
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 71:[71, 100], Operations: ['15+15=30', '70+30=100']
Exploring Operation: 100-71=29, Resulting Numbers: [29]
29,71 unequal: No Solution
Exploring Operation: 71*100=7100, Resulting Numbers: [7100]
7100,71 unequal: No Solution
Exploring Operation: 71+100=171, Resulting Numbers: [171]
171,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 71:[71, 40], Operations: ['15+15=30', '70-30=40']
Exploring Operation: 71-40=31, Resulting Numbers: [31]
31,71 unequal: No Solution
Exploring Operation: 71+40=111, Resulting Numbers: [111]
111,71 unequal: No Solution
Exploring Operation: 71*40=2840, Resulting Numbers: [2840]
2840,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 71:[70, 41], Operations: ['15+15=30', '71-30=41']
Exploring Operation: 70+41=111, Resulting Numbers: [111]
111,71 unequal: No Solution
Exploring Operation: 70*41=2870, Resulting Numbers: [2870]
2870,71 unequal: No Solution
Exploring Operation: 70-41=29, Resulting Numbers: [29]
29,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 71:[70, 101], Operations: ['15+15=30', '71+30=101']
Exploring Operation: 70+101=171, Resulting Numbers: [171]
171,71 unequal: No Solution
Exploring Operation: 101-70=31, Resulting Numbers: [31]
31,71 unequal: No Solution
Exploring Operation: 70*101=7070, Resulting Numbers: [7070]
7070,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:[71, 15, 85], Operations: ['70+15=85']
Exploring Operation: 71+15=86, Resulting Numbers: [85, 86]
Generated Node #0,3,0: 71:[85, 86] Operation: 71+15=86
Exploring Operation: 15+85=100, Resulting Numbers: [71, 100]
Generated Node #0,3,1: 71:[71, 100] Operation: 15+85=100
Exploring Operation: 71-15=56, Resulting Numbers: [85, 56]
Generated Node #0,3,2: 71:[85, 56] Operation: 71-15=56
Exploring Operation: 85-15=70, Resulting Numbers: [71, 70]
Generated Node #0,3,3: 71:[71, 70] Operation: 85-15=70
Moving to Node #0,1
Current State: 71:[71, 15, 85], Operations: ['70+15=85']
Exploring Operation: 15+85=100, Resulting Numbers: [71, 100]
Generated Node #0,1,0: 71:[71, 100] Operation: 15+85=100
Exploring Operation: 85-15=70, Resulting Numbers: [71, 70]
Generated Node #0,1,1: 71:[71, 70] Operation: 85-15=70
Exploring Operation: 71-15=56, Resulting Numbers: [85, 56]
Generated Node #0,1,2: 71:[85, 56] Operation: 71-15=56
Exploring Operation: 71+15=86, Resulting Numbers: [85, 86]
Generated Node #0,1,3: 71:[85, 86] Operation: 71+15=86
Moving to Node #0,2
Current State: 71:[71, 70, 1], Operations: ['15/15=1']
Exploring Operation: 71/1=71, Resulting Numbers: [70, 71]
Generated Node #0,2,0: 71:[70, 71] Operation: 71/1=71
Exploring Operation: 71*1=71, Resulting Numbers: [70, 71]
Generated Node #0,2,1: 71:[70, 71] Operation: 71*1=71
Exploring Operation: 70+1=71, Resulting Numbers: [71, 71]
Generated Node #0,2,2: 71:[71, 71] Operation: 70+1=71
Exploring Operation: 70*1=70, Resulting Numbers: [71, 70]
Generated Node #0,2,3: 71:[71, 70] Operation: 70*1=70
Moving to Node #0,2,2
Current State: 71:[71, 71], Operations: ['15/15=1', '70+1=71']
Exploring Operation: 71*71=5041, Resulting Numbers: [5041]
5041,71 unequal: No Solution
Exploring Operation: 71+71=142, Resulting Numbers: [142]
142,71 unequal: No Solution
Exploring Operation: 71-71=0, Resulting Numbers: [0]
0,71 unequal: No Solution
Exploring Operation: 71/71=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Moving to Node #0,2,3
Current State: 71:[71, 70], Operations: ['15/15=1', '70*1=70']
Exploring Operation: 71*70=4970, Resulting Numbers: [4970]
4970,71 unequal: No Solution
Exploring Operation: 71+70=141, Resulting Numbers: [141]
141,71 unequal: No Solution
Exploring Operation: 71-70=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Moving to Node #0,3,3
Current State: 71:[71, 70], Operations: ['70+15=85', '85-15=70']
Exploring Operation: 71+70=141, Resulting Numbers: [141]
141,71 unequal: No Solution
Exploring Operation: 71*70=4970, Resulting Numbers: [4970]
4970,71 unequal: No Solution
Exploring Operation: 71-70=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Moving to Node #0,2,0
Current State: 71:[70, 71], Operations: ['15/15=1', '71/1=71']
Exploring Operation: 70*71=4970, Resulting Numbers: [4970]
4970,71 unequal: No Solution
Exploring Operation: 71-70=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Exploring Operation: 70+71=141, Resulting Numbers: [141]
141,71 unequal: No Solution
Moving to Node #0,2,1
Current State: 71:[70, 71], Operations: ['15/15=1', '71*1=71']
Exploring Operation: 70*71=4970, Resulting Numbers: [4970]
4970,71 unequal: No Solution
Exploring Operation: 71-70=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Exploring Operation: 70+71=141, Resulting Numbers: [141]
141,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[71, 70], Operations: ['70+15=85', '85-15=70']
Exploring Operation: 71+70=141, Resulting Numbers: [141]
141,71 unequal: No Solution
Exploring Operation: 71-70=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Exploring Operation: 71*70=4970, Resulting Numbers: [4970]
4970,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[85, 56], Operations: ['70+15=85', '71-15=56']
Exploring Operation: 85-56=29, Resulting Numbers: [29]
29,71 unequal: No Solution
Exploring Operation: 85+56=141, Resulting Numbers: [141]
141,71 unequal: No Solution
Exploring Operation: 85*56=4760, Resulting Numbers: [4760]
4760,71 unequal: No Solution
Moving to Node #0,3,1
Current State: 71:[71, 100], Operations: ['70+15=85', '15+85=100']
Exploring Operation: 71*100=7100, Resulting Numbers: [7100]
7100,71 unequal: No Solution
Exploring Operation: 71+100=171, Resulting Numbers: [171]
171,71 unequal: No Solution
Exploring Operation: 100-71=29, Resulting Numbers: [29]
29,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[71, 100], Operations: ['70+15=85', '15+85=100']
Exploring Operation: 71+100=171, Resulting Numbers: [171]
171,71 unequal: No Solution
Exploring Operation: 71*100=7100, Resulting Numbers: [7100]
7100,71 unequal: No Solution
Exploring Operation: 100-71=29, Resulting Numbers: [29]
29,71 unequal: No Solution
Moving to Node #0,3,2
Current State: 71:[85, 56], Operations: ['70+15=85', '71-15=56']
Exploring Operation: 85*56=4760, Resulting Numbers: [4760]
4760,71 unequal: No Solution
Exploring Operation: 85-56=29, Resulting Numbers: [29]
29,71 unequal: No Solution
Exploring Operation: 85+56=141, Resulting Numbers: [141]
141,71 unequal: No Solution
Moving to Node #0,3,0
Current State: 71:[85, 86], Operations: ['70+15=85', '71+15=86']
Exploring Operation: 85*86=7310, Resulting Numbers: [7310]
7310,71 unequal: No Solution
Exploring Operation: 86-85=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Exploring Operation: 85+86=171, Resulting Numbers: [171]
171,71 unequal: No Solution
Moving to Node #0,1,3
Current State: 71:[85, 86], Operations: ['70+15=85', '71+15=86']
Exploring Operation: 85+86=171, Resulting Numbers: [171]
171,71 unequal: No Solution
Exploring Operation: 86-85=1, Resulting Numbers: [1]
1,71 unequal: No Solution
Exploring Operation: 85*86=7310, Resulting Numbers: [7310]
7310,71 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
75,
4,
70,
84
] | 65 | [
"75+4=79",
"84-70=14",
"79-14=65"
] | Current State: 65:[75, 4, 70, 84], Operations: []
Exploring Operation: 75+4=79, Resulting Numbers: [70, 84, 79]
Generated Node #2: [70, 84, 79] from Operation: 75+4=79
Current State: 65:[70, 84, 79], Operations: ['75+4=79']
Exploring Operation: 84-70=14, Resulting Numbers: [79, 14]
Generated Node #3: [79, 14] from Operation: 84-70=14
Current State: 65:[79, 14], Operations: ['75+4=79', '84-70=14']
Exploring Operation: 79-14=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[75, 4, 70, 84], Operations: []
Exploring Operation: 84-70=14, Resulting Numbers: [75, 4, 14]
Generated Node #0,0: 65:[75, 4, 14] Operation: 84-70=14
Exploring Operation: 75-70=5, Resulting Numbers: [4, 84, 5]
Generated Node #0,1: 65:[4, 84, 5] Operation: 75-70=5
Exploring Operation: 84/4=21, Resulting Numbers: [75, 70, 21]
Generated Node #0,2: 65:[75, 70, 21] Operation: 84/4=21
Exploring Operation: 84-75=9, Resulting Numbers: [4, 70, 9]
Generated Node #0,3: 65:[4, 70, 9] Operation: 84-75=9
Start Sub Search at level 1: Moving to Node #0,3
Current State: 65:[4, 70, 9], Operations: ['84-75=9']
Exploring Operation: 4+9=13, Resulting Numbers: [70, 13]
Generated Node #0,3,0: 65:[70, 13] Operation: 4+9=13
Exploring Operation: 70-4=66, Resulting Numbers: [9, 66]
Generated Node #0,3,1: 65:[9, 66] Operation: 70-4=66
Exploring Operation: 9-4=5, Resulting Numbers: [70, 5]
Generated Node #0,3,2: 65:[70, 5] Operation: 9-4=5
Exploring Operation: 70-9=61, Resulting Numbers: [4, 61]
Generated Node #0,3,3: 65:[4, 61] Operation: 70-9=61
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 65:[70, 13], Operations: ['84-75=9', '4+9=13']
Exploring Operation: 70+13=83, Resulting Numbers: [83]
83,65 unequal: No Solution
Exploring Operation: 70*13=910, Resulting Numbers: [910]
910,65 unequal: No Solution
Exploring Operation: 70-13=57, Resulting Numbers: [57]
57,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 65:[9, 66], Operations: ['84-75=9', '70-4=66']
Exploring Operation: 9+66=75, Resulting Numbers: [75]
75,65 unequal: No Solution
Exploring Operation: 9*66=594, Resulting Numbers: [594]
594,65 unequal: No Solution
Exploring Operation: 66-9=57, Resulting Numbers: [57]
57,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 65:[70, 5], Operations: ['84-75=9', '9-4=5']
Exploring Operation: 70-5=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[75, 4, 70, 84], Operations: []
Exploring Operation: 84-75=9, Resulting Numbers: [4, 70, 9]
Generated Node #0,3: 65:[4, 70, 9] Operation: 84-75=9
Moving to Node #0,3
Current State: 65:[4, 70, 9], Operations: ['84-75=9']
Exploring Operation: 9-4=5, Resulting Numbers: [70, 5]
Generated Node #0,3,2: 65:[70, 5] Operation: 9-4=5
Moving to Node #0,3,2
Current State: 65:[70, 5], Operations: ['84-75=9', '9-4=5']
Exploring Operation: 70-5=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_4 | mult_heuristic |
[
7,
20,
26,
97
] | 80 | [
"7+97=104",
"20*104=2080",
"2080/26=80"
] | Current State: 80:[7, 20, 26, 97], Operations: []
Exploring Operation: 7+97=104, Resulting Numbers: [20, 26, 104]
Generated Node #2: [20, 26, 104] from Operation: 7+97=104
Current State: 80:[20, 26, 104], Operations: ['7+97=104']
Exploring Operation: 20*104=2080, Resulting Numbers: [26, 2080]
Generated Node #3: [26, 2080] from Operation: 20*104=2080
Current State: 80:[26, 2080], Operations: ['7+97=104', '20*104=2080']
Exploring Operation: 2080/26=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[7, 20, 26, 97], Operations: []
Exploring Operation: 97-20=77, Resulting Numbers: [7, 26, 77]
Generated Node #0,0: 80:[7, 26, 77] Operation: 97-20=77
Moving to Node #0,0
Current State: 80:[7, 26, 77], Operations: ['97-20=77']
Exploring Operation: 26-7=19, Resulting Numbers: [77, 19]
Generated Node #0,0,0: 80:[77, 19] Operation: 26-7=19
Moving to Node #0,0,0
Current State: 80:[77, 19], Operations: ['97-20=77', '26-7=19']
Exploring Operation: 77+19=96, Resulting Numbers: [96]
96,80 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
1,
73,
80,
65
] | 71 | [
"1+73=74",
"80+65=145",
"145-74=71"
] | Current State: 71:[1, 73, 80, 65], Operations: []
Exploring Operation: 1+73=74, Resulting Numbers: [80, 65, 74]
Generated Node #2: [80, 65, 74] from Operation: 1+73=74
Current State: 71:[80, 65, 74], Operations: ['1+73=74']
Exploring Operation: 80+65=145, Resulting Numbers: [74, 145]
Generated Node #3: [74, 145] from Operation: 80+65=145
Current State: 71:[74, 145], Operations: ['1+73=74', '80+65=145']
Exploring Operation: 145-74=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[1, 73, 80, 65], Operations: []
Exploring Operation: 73-1=72, Resulting Numbers: [80, 65, 72]
Generated Node #0,0: 71:[80, 65, 72] Operation: 73-1=72
Moving to Node #0,0
Current State: 71:[80, 65, 72], Operations: ['73-1=72']
Exploring Operation: 80-65=15, Resulting Numbers: [72, 15]
Generated Node #0,0,0: 71:[72, 15] Operation: 80-65=15
Moving to Node #0,0,0
Current State: 71:[72, 15], Operations: ['73-1=72', '80-65=15']
Exploring Operation: 72-15=57, Resulting Numbers: [57]
57,71 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
50,
89,
81,
73
] | 100 | [
"89+73=162",
"50*162=8100",
"8100/81=100"
] | Current State: 100:[50, 89, 81, 73], Operations: []
Exploring Operation: 89+73=162, Resulting Numbers: [50, 81, 162]
Generated Node #2: [50, 81, 162] from Operation: 89+73=162
Current State: 100:[50, 81, 162], Operations: ['89+73=162']
Exploring Operation: 50*162=8100, Resulting Numbers: [81, 8100]
Generated Node #3: [81, 8100] from Operation: 50*162=8100
Current State: 100:[81, 8100], Operations: ['89+73=162', '50*162=8100']
Exploring Operation: 8100/81=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[50, 89, 81, 73], Operations: []
Exploring Operation: 81-73=8, Resulting Numbers: [50, 89, 8]
Generated Node #0,0: 100:[50, 89, 8] Operation: 81-73=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[50, 89, 8], Operations: ['81-73=8']
Exploring Operation: 89+8=97, Resulting Numbers: [50, 97]
Generated Node #0,0,0: 100:[50, 97] Operation: 89+8=97
Moving to Node #0,0,0
Current State: 100:[50, 97], Operations: ['81-73=8', '89+8=97']
Exploring Operation: 97-50=47, Resulting Numbers: [47]
47,100 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 |
[
39,
49,
10,
42
] | 58 | [
"49-39=10",
"10*10=100",
"100-42=58"
] | Current State: 58:[39, 49, 10, 42], Operations: []
Exploring Operation: 49-39=10, Resulting Numbers: [10, 42, 10]
Generated Node #2: [10, 42, 10] from Operation: 49-39=10
Current State: 58:[10, 42, 10], Operations: ['49-39=10']
Exploring Operation: 10*10=100, Resulting Numbers: [42, 100]
Generated Node #3: [42, 100] from Operation: 10*10=100
Current State: 58:[42, 100], Operations: ['49-39=10', '10*10=100']
Exploring Operation: 100-42=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[39, 49, 10, 42], Operations: []
Exploring Operation: 42-39=3, Resulting Numbers: [49, 10, 3]
Generated Node #0,0: 58:[49, 10, 3] Operation: 42-39=3
Exploring Operation: 42-10=32, Resulting Numbers: [39, 49, 32]
Generated Node #0,1: 58:[39, 49, 32] Operation: 42-10=32
Exploring Operation: 39-10=29, Resulting Numbers: [49, 42, 29]
Generated Node #0,2: 58:[49, 42, 29] Operation: 39-10=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[49, 10, 3], Operations: ['42-39=3']
Exploring Operation: 49+10=59, Resulting Numbers: [3, 59]
Generated Node #0,0,0: 58:[3, 59] Operation: 49+10=59
Exploring Operation: 10*3=30, Resulting Numbers: [49, 30]
Generated Node #0,0,1: 58:[49, 30] Operation: 10*3=30
Exploring Operation: 49-10=39, Resulting Numbers: [3, 39]
Generated Node #0,0,2: 58:[3, 39] Operation: 49-10=39
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 58:[3, 59], Operations: ['42-39=3', '49+10=59']
Exploring Operation: 3*59=177, Resulting Numbers: [177]
177,58 unequal: No Solution
Exploring Operation: 3+59=62, Resulting Numbers: [62]
62,58 unequal: No Solution
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 58:[49, 30], Operations: ['42-39=3', '10*3=30']
Exploring Operation: 49*30=1470, Resulting Numbers: [1470]
1470,58 unequal: No Solution
Exploring Operation: 49+30=79, Resulting Numbers: [79]
79,58 unequal: No Solution
Exploring Operation: 49-30=19, Resulting Numbers: [19]
19,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 58:[3, 39], Operations: ['42-39=3', '49-10=39']
Exploring Operation: 3+39=42, Resulting Numbers: [42]
42,58 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,58 unequal: No Solution
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[39, 49, 32], Operations: ['42-10=32']
Exploring Operation: 39-32=7, Resulting Numbers: [49, 7]
Generated Node #0,1,0: 58:[49, 7] Operation: 39-32=7
Exploring Operation: 39+32=71, Resulting Numbers: [49, 71]
Generated Node #0,1,1: 58:[49, 71] Operation: 39+32=71
Exploring Operation: 49-39=10, Resulting Numbers: [32, 10]
Generated Node #0,1,2: 58:[32, 10] Operation: 49-39=10
Moving to Node #0,1,2
Current State: 58:[32, 10], Operations: ['42-10=32', '49-39=10']
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,58 unequal: No Solution
Exploring Operation: 32+10=42, Resulting Numbers: [42]
42,58 unequal: No Solution
Exploring Operation: 32*10=320, Resulting Numbers: [320]
320,58 unequal: No Solution
Moving to Node #0,1,0
Current State: 58:[49, 7], Operations: ['42-10=32', '39-32=7']
Exploring Operation: 49/7=7, Resulting Numbers: [7]
7,58 unequal: No Solution
Exploring Operation: 49-7=42, Resulting Numbers: [42]
42,58 unequal: No Solution
Exploring Operation: 49+7=56, Resulting Numbers: [56]
56,58 unequal: No Solution
Moving to Node #0,1,1
Current State: 58:[49, 71], Operations: ['42-10=32', '39+32=71']
Exploring Operation: 71-49=22, Resulting Numbers: [22]
22,58 unequal: No Solution
Exploring Operation: 49*71=3479, Resulting Numbers: [3479]
3479,58 unequal: No Solution
Exploring Operation: 49+71=120, Resulting Numbers: [120]
120,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 58:[49, 42, 29], Operations: ['39-10=29']
Exploring Operation: 42-29=13, Resulting Numbers: [49, 13]
Generated Node #0,2,0: 58:[49, 13] Operation: 42-29=13
Exploring Operation: 49-42=7, Resulting Numbers: [29, 7]
Generated Node #0,2,1: 58:[29, 7] Operation: 49-42=7
Exploring Operation: 49-29=20, Resulting Numbers: [42, 20]
Generated Node #0,2,2: 58:[42, 20] Operation: 49-29=20
Moving to Node #0,2,1
Current State: 58:[29, 7], Operations: ['39-10=29', '49-42=7']
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,58 unequal: No Solution
Exploring Operation: 29+7=36, Resulting Numbers: [36]
36,58 unequal: No Solution
Exploring Operation: 29*7=203, Resulting Numbers: [203]
203,58 unequal: No Solution
Moving to Node #0,2,0
Current State: 58:[49, 13], Operations: ['39-10=29', '42-29=13']
Exploring Operation: 49*13=637, Resulting Numbers: [637]
637,58 unequal: No Solution
Exploring Operation: 49-13=36, Resulting Numbers: [36]
36,58 unequal: No Solution
Exploring Operation: 49+13=62, Resulting Numbers: [62]
62,58 unequal: No Solution
Moving to Node #0,2,2
Current State: 58:[42, 20], Operations: ['39-10=29', '49-29=20']
Exploring Operation: 42-20=22, Resulting Numbers: [22]
22,58 unequal: No Solution
Exploring Operation: 42+20=62, Resulting Numbers: [62]
62,58 unequal: No Solution
Exploring Operation: 42*20=840, Resulting Numbers: [840]
840,58 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 |
[
18,
3,
1,
7
] | 62 | [
"18*3=54",
"1+7=8",
"54+8=62"
] | Current State: 62:[18, 3, 1, 7], Operations: []
Exploring Operation: 18*3=54, Resulting Numbers: [1, 7, 54]
Generated Node #2: [1, 7, 54] from Operation: 18*3=54
Current State: 62:[1, 7, 54], Operations: ['18*3=54']
Exploring Operation: 1+7=8, Resulting Numbers: [54, 8]
Generated Node #3: [54, 8] from Operation: 1+7=8
Current State: 62:[54, 8], Operations: ['18*3=54', '1+7=8']
Exploring Operation: 54+8=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[18, 3, 1, 7], Operations: []
Exploring Operation: 18/3=6, Resulting Numbers: [1, 7, 6]
Generated Node #0,0: 62:[1, 7, 6] Operation: 18/3=6
Exploring Operation: 18*3=54, Resulting Numbers: [1, 7, 54]
Generated Node #0,1: 62:[1, 7, 54] Operation: 18*3=54
Exploring Operation: 18+7=25, Resulting Numbers: [3, 1, 25]
Generated Node #0,2: 62:[3, 1, 25] Operation: 18+7=25
Exploring Operation: 18-7=11, Resulting Numbers: [3, 1, 11]
Generated Node #0,3: 62:[3, 1, 11] Operation: 18-7=11
Moving to Node #0,2
Current State: 62:[3, 1, 25], Operations: ['18+7=25']
Exploring Operation: 1+25=26, Resulting Numbers: [3, 26]
Generated Node #0,2,0: 62:[3, 26] Operation: 1+25=26
Exploring Operation: 3*1=3, Resulting Numbers: [25, 3]
Generated Node #0,2,1: 62:[25, 3] Operation: 3*1=3
Exploring Operation: 3-1=2, Resulting Numbers: [25, 2]
Generated Node #0,2,2: 62:[25, 2] Operation: 3-1=2
Exploring Operation: 3+25=28, Resulting Numbers: [1, 28]
Generated Node #0,2,3: 62:[1, 28] Operation: 3+25=28
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 62:[1, 28], Operations: ['18+7=25', '3+25=28']
Exploring Operation: 28/1=28, Resulting Numbers: [28]
28,62 unequal: No Solution
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,62 unequal: No Solution
Exploring Operation: 1*28=28, Resulting Numbers: [28]
28,62 unequal: No Solution
Exploring Operation: 1+28=29, Resulting Numbers: [29]
29,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 62:[3, 26], Operations: ['18+7=25', '1+25=26']
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,62 unequal: No Solution
Exploring Operation: 3*26=78, Resulting Numbers: [78]
78,62 unequal: No Solution
Exploring Operation: 3+26=29, Resulting Numbers: [29]
29,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 62:[25, 2], Operations: ['18+7=25', '3-1=2']
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,62 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,62 unequal: No Solution
Exploring Operation: 25+2=27, Resulting Numbers: [27]
27,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 62:[25, 3], Operations: ['18+7=25', '3*1=3']
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,62 unequal: No Solution
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,62 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,62 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: 62:[1, 7, 6], Operations: ['18/3=6']
Exploring Operation: 7-1=6, Resulting Numbers: [6, 6]
Generated Node #0,0,0: 62:[6, 6] Operation: 7-1=6
Exploring Operation: 6-1=5, Resulting Numbers: [7, 5]
Generated Node #0,0,1: 62:[7, 5] Operation: 6-1=5
Exploring Operation: 7-6=1, Resulting Numbers: [1, 1]
Generated Node #0,0,2: 62:[1, 1] Operation: 7-6=1
Exploring Operation: 1*7=7, Resulting Numbers: [6, 7]
Generated Node #0,0,3: 62:[6, 7] Operation: 1*7=7
Moving to Node #0,3
Current State: 62:[3, 1, 11], Operations: ['18-7=11']
Exploring Operation: 3-1=2, Resulting Numbers: [11, 2]
Generated Node #0,3,0: 62:[11, 2] Operation: 3-1=2
Exploring Operation: 11-1=10, Resulting Numbers: [3, 10]
Generated Node #0,3,1: 62:[3, 10] Operation: 11-1=10
Exploring Operation: 3*11=33, Resulting Numbers: [1, 33]
Generated Node #0,3,2: 62:[1, 33] Operation: 3*11=33
Exploring Operation: 11-3=8, Resulting Numbers: [1, 8]
Generated Node #0,3,3: 62:[1, 8] Operation: 11-3=8
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 62:[1, 33], Operations: ['18-7=11', '3*11=33']
Exploring Operation: 33/1=33, Resulting Numbers: [33]
33,62 unequal: No Solution
Exploring Operation: 1*33=33, Resulting Numbers: [33]
33,62 unequal: No Solution
Exploring Operation: 1+33=34, Resulting Numbers: [34]
34,62 unequal: No Solution
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 62:[1, 8], Operations: ['18-7=11', '11-3=8']
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,62 unequal: No Solution
Exploring Operation: 1+8=9, Resulting Numbers: [9]
9,62 unequal: No Solution
Exploring Operation: 1*8=8, Resulting Numbers: [8]
8,62 unequal: No Solution
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 62:[11, 2], Operations: ['18-7=11', '3-1=2']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,62 unequal: No Solution
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,62 unequal: No Solution
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 62:[3, 10], Operations: ['18-7=11', '11-1=10']
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,62 unequal: No Solution
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,62 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 62:[1, 7, 54], Operations: ['18*3=54']
Exploring Operation: 1+54=55, Resulting Numbers: [7, 55]
Generated Node #0,1,0: 62:[7, 55] Operation: 1+54=55
Exploring Operation: 1*7=7, Resulting Numbers: [54, 7]
Generated Node #0,1,1: 62:[54, 7] Operation: 1*7=7
Exploring Operation: 7-1=6, Resulting Numbers: [54, 6]
Generated Node #0,1,2: 62:[54, 6] Operation: 7-1=6
Exploring Operation: 7+54=61, Resulting Numbers: [1, 61]
Generated Node #0,1,3: 62:[1, 61] Operation: 7+54=61
Moving to Node #0,0,2
Current State: 62:[1, 1], Operations: ['18/3=6', '7-6=1']
Exploring Operation: 1*1=1, Resulting Numbers: [1]
1,62 unequal: No Solution
Exploring Operation: 1/1=1, Resulting Numbers: [1]
1,62 unequal: No Solution
Exploring Operation: 1+1=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Exploring Operation: 1-1=0, Resulting Numbers: [0]
0,62 unequal: No Solution
Moving to Node #0,1,3
Current State: 62:[1, 61], Operations: ['18*3=54', '7+54=61']
Exploring Operation: 61/1=61, Resulting Numbers: [61]
61,62 unequal: No Solution
Exploring Operation: 1+61=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[18, 3, 1, 7], Operations: []
Exploring Operation: 18*3=54, Resulting Numbers: [1, 7, 54]
Generated Node #0,1: 62:[1, 7, 54] Operation: 18*3=54
Moving to Node #0,1
Current State: 62:[1, 7, 54], Operations: ['18*3=54']
Exploring Operation: 7+54=61, Resulting Numbers: [1, 61]
Generated Node #0,1,3: 62:[1, 61] Operation: 7+54=61
Moving to Node #0,1,3
Current State: 62:[1, 61], Operations: ['18*3=54', '7+54=61']
Exploring Operation: 1+61=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 0.950521 | hs_4 | sum_heuristic |
[
84,
86,
16,
11
] | 43 | [
"86-84=2",
"16*2=32",
"11+32=43"
] | Current State: 43:[84, 86, 16, 11], Operations: []
Exploring Operation: 86-84=2, Resulting Numbers: [16, 11, 2]
Generated Node #2: [16, 11, 2] from Operation: 86-84=2
Current State: 43:[16, 11, 2], Operations: ['86-84=2']
Exploring Operation: 16*2=32, Resulting Numbers: [11, 32]
Generated Node #3: [11, 32] from Operation: 16*2=32
Current State: 43:[11, 32], Operations: ['86-84=2', '16*2=32']
Exploring Operation: 11+32=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[84, 86, 16, 11], Operations: []
Exploring Operation: 84-16=68, Resulting Numbers: [86, 11, 68]
Generated Node #0,0: 43:[86, 11, 68] Operation: 84-16=68
Exploring Operation: 86-84=2, Resulting Numbers: [16, 11, 2]
Generated Node #0,1: 43:[16, 11, 2] Operation: 86-84=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[86, 11, 68], Operations: ['84-16=68']
Exploring Operation: 86-11=75, Resulting Numbers: [68, 75]
Generated Node #0,0,0: 43:[68, 75] Operation: 86-11=75
Exploring Operation: 86-68=18, Resulting Numbers: [11, 18]
Generated Node #0,0,1: 43:[11, 18] Operation: 86-68=18
Moving to Node #0,0,0
Current State: 43:[68, 75], Operations: ['84-16=68', '86-11=75']
Exploring Operation: 75-68=7, Resulting Numbers: [7]
7,43 unequal: No Solution
Exploring Operation: 68+75=143, Resulting Numbers: [143]
143,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[11, 18], Operations: ['84-16=68', '86-68=18']
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,43 unequal: No Solution
Exploring Operation: 11+18=29, Resulting Numbers: [29]
29,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[16, 11, 2], Operations: ['86-84=2']
Exploring Operation: 16*2=32, Resulting Numbers: [11, 32]
Generated Node #0,1,0: 43:[11, 32] Operation: 16*2=32
Exploring Operation: 11*2=22, Resulting Numbers: [16, 22]
Generated Node #0,1,1: 43:[16, 22] Operation: 11*2=22
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 43:[11, 32], Operations: ['86-84=2', '16*2=32']
Exploring Operation: 32-11=21, Resulting Numbers: [21]
21,43 unequal: No Solution
Exploring Operation: 11+32=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[84, 86, 16, 11], Operations: []
Exploring Operation: 86-84=2, Resulting Numbers: [16, 11, 2]
Generated Node #0,1: 43:[16, 11, 2] Operation: 86-84=2
Moving to Node #0,1
Current State: 43:[16, 11, 2], Operations: ['86-84=2']
Exploring Operation: 16*2=32, Resulting Numbers: [11, 32]
Generated Node #0,1,0: 43:[11, 32] Operation: 16*2=32
Moving to Node #0,1,0
Current State: 43:[11, 32], Operations: ['86-84=2', '16*2=32']
Exploring Operation: 11+32=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
[
37,
24,
48,
27
] | 40 | [
"37+24=61",
"48-27=21",
"61-21=40"
] | Current State: 40:[37, 24, 48, 27], Operations: []
Exploring Operation: 37+24=61, Resulting Numbers: [48, 27, 61]
Generated Node #2: [48, 27, 61] from Operation: 37+24=61
Current State: 40:[48, 27, 61], Operations: ['37+24=61']
Exploring Operation: 48-27=21, Resulting Numbers: [61, 21]
Generated Node #3: [61, 21] from Operation: 48-27=21
Current State: 40:[61, 21], Operations: ['37+24=61', '48-27=21']
Exploring Operation: 61-21=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[37, 24, 48, 27], Operations: []
Exploring Operation: 48-27=21, Resulting Numbers: [37, 24, 21]
Generated Node #0,0: 40:[37, 24, 21] Operation: 48-27=21
Exploring Operation: 37-27=10, Resulting Numbers: [24, 48, 10]
Generated Node #0,1: 40:[24, 48, 10] Operation: 37-27=10
Exploring Operation: 48-37=11, Resulting Numbers: [24, 27, 11]
Generated Node #0,2: 40:[24, 27, 11] Operation: 48-37=11
Exploring Operation: 48/24=2, Resulting Numbers: [37, 27, 2]
Generated Node #0,3: 40:[37, 27, 2] Operation: 48/24=2
Moving to Node #0,0
Current State: 40:[37, 24, 21], Operations: ['48-27=21']
Exploring Operation: 37-21=16, Resulting Numbers: [24, 16]
Generated Node #0,0,0: 40:[24, 16] Operation: 37-21=16
Exploring Operation: 24+21=45, Resulting Numbers: [37, 45]
Generated Node #0,0,1: 40:[37, 45] Operation: 24+21=45
Exploring Operation: 37-24=13, Resulting Numbers: [21, 13]
Generated Node #0,0,2: 40:[21, 13] Operation: 37-24=13
Exploring Operation: 24-21=3, Resulting Numbers: [37, 3]
Generated Node #0,0,3: 40:[37, 3] Operation: 24-21=3
Moving to Node #0,3
Current State: 40:[37, 27, 2], Operations: ['48/24=2']
Exploring Operation: 27-2=25, Resulting Numbers: [37, 25]
Generated Node #0,3,0: 40:[37, 25] Operation: 27-2=25
Exploring Operation: 37-27=10, Resulting Numbers: [2, 10]
Generated Node #0,3,1: 40:[2, 10] Operation: 37-27=10
Exploring Operation: 37-2=35, Resulting Numbers: [27, 35]
Generated Node #0,3,2: 40:[27, 35] Operation: 37-2=35
Exploring Operation: 37+2=39, Resulting Numbers: [27, 39]
Generated Node #0,3,3: 40:[27, 39] Operation: 37+2=39
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 40:[2, 10], Operations: ['48/24=2', '37-27=10']
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,40 unequal: No Solution
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,40 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,40 unequal: No Solution
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,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,0
Current State: 40:[37, 25], Operations: ['48/24=2', '27-2=25']
Exploring Operation: 37*25=925, Resulting Numbers: [925]
925,40 unequal: No Solution
Exploring Operation: 37+25=62, Resulting Numbers: [62]
62,40 unequal: No Solution
Exploring Operation: 37-25=12, Resulting Numbers: [12]
12,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:[27, 39], Operations: ['48/24=2', '37+2=39']
Exploring Operation: 27+39=66, Resulting Numbers: [66]
66,40 unequal: No Solution
Exploring Operation: 27*39=1053, Resulting Numbers: [1053]
1053,40 unequal: No Solution
Exploring Operation: 39-27=12, Resulting Numbers: [12]
12,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:[27, 35], Operations: ['48/24=2', '37-2=35']
Exploring Operation: 27*35=945, Resulting Numbers: [945]
945,40 unequal: No Solution
Exploring Operation: 27+35=62, Resulting Numbers: [62]
62,40 unequal: No Solution
Exploring Operation: 35-27=8, Resulting Numbers: [8]
8,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:[24, 27, 11], Operations: ['48-37=11']
Exploring Operation: 27-24=3, Resulting Numbers: [11, 3]
Generated Node #0,2,0: 40:[11, 3] Operation: 27-24=3
Exploring Operation: 27-11=16, Resulting Numbers: [24, 16]
Generated Node #0,2,1: 40:[24, 16] Operation: 27-11=16
Exploring Operation: 27+11=38, Resulting Numbers: [24, 38]
Generated Node #0,2,2: 40:[24, 38] Operation: 27+11=38
Exploring Operation: 24-11=13, Resulting Numbers: [27, 13]
Generated Node #0,2,3: 40:[27, 13] Operation: 24-11=13
Moving to Node #0,1
Current State: 40:[24, 48, 10], Operations: ['37-27=10']
Exploring Operation: 24-10=14, Resulting Numbers: [48, 14]
Generated Node #0,1,0: 40:[48, 14] Operation: 24-10=14
Exploring Operation: 48-24=24, Resulting Numbers: [10, 24]
Generated Node #0,1,1: 40:[10, 24] Operation: 48-24=24
Exploring Operation: 48-10=38, Resulting Numbers: [24, 38]
Generated Node #0,1,2: 40:[24, 38] Operation: 48-10=38
Exploring Operation: 48/24=2, Resulting Numbers: [10, 2]
Generated Node #0,1,3: 40:[10, 2] Operation: 48/24=2
Moving to Node #0,1,3
Current State: 40:[10, 2], Operations: ['37-27=10', '48/24=2']
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,40 unequal: No Solution
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,40 unequal: No Solution
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,40 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,40 unequal: No Solution
Moving to Node #0,2,0
Current State: 40:[11, 3], Operations: ['48-37=11', '27-24=3']
Exploring Operation: 11*3=33, Resulting Numbers: [33]
33,40 unequal: No Solution
Exploring Operation: 11+3=14, Resulting Numbers: [14]
14,40 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,40 unequal: No Solution
Moving to Node #0,0,3
Current State: 40:[37, 3], Operations: ['48-27=21', '24-21=3']
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,40 unequal: No Solution
Exploring Operation: 37+3=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[37, 24, 48, 27], Operations: []
Exploring Operation: 48-27=21, Resulting Numbers: [37, 24, 21]
Generated Node #0,0: 40:[37, 24, 21] Operation: 48-27=21
Moving to Node #0,0
Current State: 40:[37, 24, 21], Operations: ['48-27=21']
Exploring Operation: 24-21=3, Resulting Numbers: [37, 3]
Generated Node #0,0,3: 40:[37, 3] Operation: 24-21=3
Moving to Node #0,0,3
Current State: 40:[37, 3], Operations: ['48-27=21', '24-21=3']
Exploring Operation: 37+3=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 0.960069 | hs_4 | mult_heuristic |
[
43,
48,
44,
7
] | 54 | [
"43+48=91",
"44-7=37",
"91-37=54"
] | Current State: 54:[43, 48, 44, 7], Operations: []
Exploring Operation: 43+48=91, Resulting Numbers: [44, 7, 91]
Generated Node #2: [44, 7, 91] from Operation: 43+48=91
Current State: 54:[44, 7, 91], Operations: ['43+48=91']
Exploring Operation: 44-7=37, Resulting Numbers: [91, 37]
Generated Node #3: [91, 37] from Operation: 44-7=37
Current State: 54:[91, 37], Operations: ['43+48=91', '44-7=37']
Exploring Operation: 91-37=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[43, 48, 44, 7], Operations: []
Exploring Operation: 48-43=5, Resulting Numbers: [44, 7, 5]
Generated Node #0,0: 54:[44, 7, 5] Operation: 48-43=5
Exploring Operation: 48-44=4, Resulting Numbers: [43, 7, 4]
Generated Node #0,1: 54:[43, 7, 4] Operation: 48-44=4
Exploring Operation: 44-43=1, Resulting Numbers: [48, 7, 1]
Generated Node #0,2: 54:[48, 7, 1] Operation: 44-43=1
Exploring Operation: 43+7=50, Resulting Numbers: [48, 44, 50]
Generated Node #0,3: 54:[48, 44, 50] Operation: 43+7=50
Start Sub Search at level 1: Moving to Node #0,2
Current State: 54:[48, 7, 1], Operations: ['44-43=1']
Exploring Operation: 48*1=48, Resulting Numbers: [7, 48]
Generated Node #0,2,0: 54:[7, 48] Operation: 48*1=48
Exploring Operation: 48+7=55, Resulting Numbers: [1, 55]
Generated Node #0,2,1: 54:[1, 55] Operation: 48+7=55
Exploring Operation: 7-1=6, Resulting Numbers: [48, 6]
Generated Node #0,2,2: 54:[48, 6] Operation: 7-1=6
Exploring Operation: 48+1=49, Resulting Numbers: [7, 49]
Generated Node #0,2,3: 54:[7, 49] Operation: 48+1=49
Moving to Node #0,2,1
Current State: 54:[1, 55], Operations: ['44-43=1', '48+7=55']
Exploring Operation: 1*55=55, Resulting Numbers: [55]
55,54 unequal: No Solution
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[43, 48, 44, 7], Operations: []
Exploring Operation: 44-43=1, Resulting Numbers: [48, 7, 1]
Generated Node #0,2: 54:[48, 7, 1] Operation: 44-43=1
Moving to Node #0,2
Current State: 54:[48, 7, 1], Operations: ['44-43=1']
Exploring Operation: 48+7=55, Resulting Numbers: [1, 55]
Generated Node #0,2,1: 54:[1, 55] Operation: 48+7=55
Moving to Node #0,2,1
Current State: 54:[1, 55], Operations: ['44-43=1', '48+7=55']
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
6,
8,
28,
68
] | 12 | [
"8-6=2",
"28*2=56",
"68-56=12"
] | Current State: 12:[6, 8, 28, 68], Operations: []
Exploring Operation: 8-6=2, Resulting Numbers: [28, 68, 2]
Generated Node #2: [28, 68, 2] from Operation: 8-6=2
Current State: 12:[28, 68, 2], Operations: ['8-6=2']
Exploring Operation: 28*2=56, Resulting Numbers: [68, 56]
Generated Node #3: [68, 56] from Operation: 28*2=56
Current State: 12:[68, 56], Operations: ['8-6=2', '28*2=56']
Exploring Operation: 68-56=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[6, 8, 28, 68], Operations: []
Exploring Operation: 68-28=40, Resulting Numbers: [6, 8, 40]
Generated Node #0,0: 12:[6, 8, 40] Operation: 68-28=40
Exploring Operation: 28-8=20, Resulting Numbers: [6, 68, 20]
Generated Node #0,1: 12:[6, 68, 20] Operation: 28-8=20
Moving to Node #0,0
Current State: 12:[6, 8, 40], Operations: ['68-28=40']
Exploring Operation: 40-8=32, Resulting Numbers: [6, 32]
Generated Node #0,0,0: 12:[6, 32] Operation: 40-8=32
Exploring Operation: 40/8=5, Resulting Numbers: [6, 5]
Generated Node #0,0,1: 12:[6, 5] Operation: 40/8=5
Moving to Node #0,1
Current State: 12:[6, 68, 20], Operations: ['28-8=20']
Exploring Operation: 68-20=48, Resulting Numbers: [6, 48]
Generated Node #0,1,0: 12:[6, 48] Operation: 68-20=48
Exploring Operation: 68-6=62, Resulting Numbers: [20, 62]
Generated Node #0,1,1: 12:[20, 62] Operation: 68-6=62
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 12:[6, 48], Operations: ['28-8=20', '68-20=48']
Exploring Operation: 48/6=8, Resulting Numbers: [8]
8,12 unequal: No Solution
Exploring Operation: 48-6=42, Resulting Numbers: [42]
42,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,1
Current State: 12:[20, 62], Operations: ['28-8=20', '68-6=62']
Exploring Operation: 20+62=82, Resulting Numbers: [82]
82,12 unequal: No Solution
Exploring Operation: 62-20=42, Resulting Numbers: [42]
42,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 12:[6, 5], Operations: ['68-28=40', '40/8=5']
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,12 unequal: No Solution
Moving to Node #0,0,0
Current State: 12:[6, 32], Operations: ['68-28=40', '40-8=32']
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,12 unequal: No Solution
Exploring Operation: 6+32=38, Resulting Numbers: [38]
38,12 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
30,
3,
71,
57
] | 100 | [
"30+57=87",
"87/3=29",
"71+29=100"
] | Current State: 100:[30, 3, 71, 57], Operations: []
Exploring Operation: 30+57=87, Resulting Numbers: [3, 71, 87]
Generated Node #2: [3, 71, 87] from Operation: 30+57=87
Current State: 100:[3, 71, 87], Operations: ['30+57=87']
Exploring Operation: 87/3=29, Resulting Numbers: [71, 29]
Generated Node #3: [71, 29] from Operation: 87/3=29
Current State: 100:[71, 29], Operations: ['30+57=87', '87/3=29']
Exploring Operation: 71+29=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[30, 3, 71, 57], Operations: []
Exploring Operation: 30+71=101, Resulting Numbers: [3, 57, 101]
Generated Node #0,0: 100:[3, 57, 101] Operation: 30+71=101
Moving to Node #0,0
Current State: 100:[3, 57, 101], Operations: ['30+71=101']
Exploring Operation: 57/3=19, Resulting Numbers: [101, 19]
Generated Node #0,0,0: 100:[101, 19] Operation: 57/3=19
Moving to Node #0,0,0
Current State: 100:[101, 19], Operations: ['30+71=101', '57/3=19']
Exploring Operation: 101-19=82, Resulting Numbers: [82]
82,100 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
83,
11,
95,
82
] | 81 | [
"83+11=94",
"95-82=13",
"94-13=81"
] | Current State: 81:[83, 11, 95, 82], Operations: []
Exploring Operation: 83+11=94, Resulting Numbers: [95, 82, 94]
Generated Node #2: [95, 82, 94] from Operation: 83+11=94
Current State: 81:[95, 82, 94], Operations: ['83+11=94']
Exploring Operation: 95-82=13, Resulting Numbers: [94, 13]
Generated Node #3: [94, 13] from Operation: 95-82=13
Current State: 81:[94, 13], Operations: ['83+11=94', '95-82=13']
Exploring Operation: 94-13=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[83, 11, 95, 82], Operations: []
Exploring Operation: 95-83=12, Resulting Numbers: [11, 82, 12]
Generated Node #0,0: 81:[11, 82, 12] Operation: 95-83=12
Exploring Operation: 95-82=13, Resulting Numbers: [83, 11, 13]
Generated Node #0,1: 81:[83, 11, 13] Operation: 95-82=13
Exploring Operation: 95-11=84, Resulting Numbers: [83, 82, 84]
Generated Node #0,2: 81:[83, 82, 84] Operation: 95-11=84
Exploring Operation: 83-82=1, Resulting Numbers: [11, 95, 1]
Generated Node #0,3: 81:[11, 95, 1] Operation: 83-82=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[11, 82, 12], Operations: ['95-83=12']
Exploring Operation: 82-11=71, Resulting Numbers: [12, 71]
Generated Node #0,0,0: 81:[12, 71] Operation: 82-11=71
Exploring Operation: 82-12=70, Resulting Numbers: [11, 70]
Generated Node #0,0,1: 81:[11, 70] Operation: 82-12=70
Exploring Operation: 11+12=23, Resulting Numbers: [82, 23]
Generated Node #0,0,2: 81:[82, 23] Operation: 11+12=23
Exploring Operation: 12-11=1, Resulting Numbers: [82, 1]
Generated Node #0,0,3: 81:[82, 1] Operation: 12-11=1
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 81:[82, 1], Operations: ['95-83=12', '12-11=1']
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[83, 11, 95, 82], Operations: []
Exploring Operation: 95-83=12, Resulting Numbers: [11, 82, 12]
Generated Node #0,0: 81:[11, 82, 12] Operation: 95-83=12
Moving to Node #0,0
Current State: 81:[11, 82, 12], Operations: ['95-83=12']
Exploring Operation: 12-11=1, Resulting Numbers: [82, 1]
Generated Node #0,0,3: 81:[82, 1] Operation: 12-11=1
Moving to Node #0,0,3
Current State: 81:[82, 1], Operations: ['95-83=12', '12-11=1']
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
89,
82,
56,
9
] | 75 | [
"89+82=171",
"171/9=19",
"56+19=75"
] | Current State: 75:[89, 82, 56, 9], Operations: []
Exploring Operation: 89+82=171, Resulting Numbers: [56, 9, 171]
Generated Node #2: [56, 9, 171] from Operation: 89+82=171
Current State: 75:[56, 9, 171], Operations: ['89+82=171']
Exploring Operation: 171/9=19, Resulting Numbers: [56, 19]
Generated Node #3: [56, 19] from Operation: 171/9=19
Current State: 75:[56, 19], Operations: ['89+82=171', '171/9=19']
Exploring Operation: 56+19=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[89, 82, 56, 9], Operations: []
Exploring Operation: 89-56=33, Resulting Numbers: [82, 9, 33]
Generated Node #0,0: 75:[82, 9, 33] Operation: 89-56=33
Exploring Operation: 82-56=26, Resulting Numbers: [89, 9, 26]
Generated Node #0,1: 75:[89, 9, 26] Operation: 82-56=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[82, 9, 33], Operations: ['89-56=33']
Exploring Operation: 33-9=24, Resulting Numbers: [82, 24]
Generated Node #0,0,0: 75:[82, 24] Operation: 33-9=24
Exploring Operation: 82-9=73, Resulting Numbers: [33, 73]
Generated Node #0,0,1: 75:[33, 73] Operation: 82-9=73
Moving to Node #0,0,0
Current State: 75:[82, 24], Operations: ['89-56=33', '33-9=24']
Exploring Operation: 82-24=58, Resulting Numbers: [58]
58,75 unequal: No Solution
Exploring Operation: 82+24=106, Resulting Numbers: [106]
106,75 unequal: No Solution
Moving to Node #0,0,1
Current State: 75:[33, 73], Operations: ['89-56=33', '82-9=73']
Exploring Operation: 33+73=106, Resulting Numbers: [106]
106,75 unequal: No Solution
Exploring Operation: 73-33=40, Resulting Numbers: [40]
40,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[89, 9, 26], Operations: ['82-56=26']
Exploring Operation: 89-26=63, Resulting Numbers: [9, 63]
Generated Node #0,1,0: 75:[9, 63] Operation: 89-26=63
Exploring Operation: 89-9=80, Resulting Numbers: [26, 80]
Generated Node #0,1,1: 75:[26, 80] Operation: 89-9=80
Moving to Node #0,1,1
Current State: 75:[26, 80], Operations: ['82-56=26', '89-9=80']
Exploring Operation: 26+80=106, Resulting Numbers: [106]
106,75 unequal: No Solution
Exploring Operation: 80-26=54, Resulting Numbers: [54]
54,75 unequal: No Solution
Moving to Node #0,1,0
Current State: 75:[9, 63], Operations: ['82-56=26', '89-26=63']
Exploring Operation: 9+63=72, Resulting Numbers: [72]
72,75 unequal: No Solution
Exploring Operation: 63/9=7, Resulting Numbers: [7]
7,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
4,
24,
17,
67
] | 90 | [
"24/4=6",
"17+67=84",
"6+84=90"
] | Current State: 90:[4, 24, 17, 67], Operations: []
Exploring Operation: 24/4=6, Resulting Numbers: [17, 67, 6]
Generated Node #2: [17, 67, 6] from Operation: 24/4=6
Current State: 90:[17, 67, 6], Operations: ['24/4=6']
Exploring Operation: 17+67=84, Resulting Numbers: [6, 84]
Generated Node #3: [6, 84] from Operation: 17+67=84
Current State: 90:[6, 84], Operations: ['24/4=6', '17+67=84']
Exploring Operation: 6+84=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[4, 24, 17, 67], Operations: []
Exploring Operation: 24+67=91, Resulting Numbers: [4, 17, 91]
Generated Node #0,0: 90:[4, 17, 91] Operation: 24+67=91
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[4, 17, 91], Operations: ['24+67=91']
Exploring Operation: 17-4=13, Resulting Numbers: [91, 13]
Generated Node #0,0,0: 90:[91, 13] Operation: 17-4=13
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 90:[91, 13], Operations: ['24+67=91', '17-4=13']
Exploring Operation: 91/13=7, Resulting Numbers: [7]
7,90 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 |
[
16,
35,
9,
81
] | 42 | [
"16+35=51",
"81/9=9",
"51-9=42"
] | Current State: 42:[16, 35, 9, 81], Operations: []
Exploring Operation: 16+35=51, Resulting Numbers: [9, 81, 51]
Generated Node #2: [9, 81, 51] from Operation: 16+35=51
Current State: 42:[9, 81, 51], Operations: ['16+35=51']
Exploring Operation: 81/9=9, Resulting Numbers: [51, 9]
Generated Node #3: [51, 9] from Operation: 81/9=9
Current State: 42:[51, 9], Operations: ['16+35=51', '81/9=9']
Exploring Operation: 51-9=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[16, 35, 9, 81], Operations: []
Exploring Operation: 81-35=46, Resulting Numbers: [16, 9, 46]
Generated Node #0,0: 42:[16, 9, 46] Operation: 81-35=46
Exploring Operation: 81-9=72, Resulting Numbers: [16, 35, 72]
Generated Node #0,1: 42:[16, 35, 72] Operation: 81-9=72
Exploring Operation: 81-16=65, Resulting Numbers: [35, 9, 65]
Generated Node #0,2: 42:[35, 9, 65] Operation: 81-16=65
Exploring Operation: 81/9=9, Resulting Numbers: [16, 35, 9]
Generated Node #0,3: 42:[16, 35, 9] Operation: 81/9=9
Moving to Node #0,0
Current State: 42:[16, 9, 46], Operations: ['81-35=46']
Exploring Operation: 46-9=37, Resulting Numbers: [16, 37]
Generated Node #0,0,0: 42:[16, 37] Operation: 46-9=37
Exploring Operation: 46-16=30, Resulting Numbers: [9, 30]
Generated Node #0,0,1: 42:[9, 30] Operation: 46-16=30
Exploring Operation: 16+9=25, Resulting Numbers: [46, 25]
Generated Node #0,0,2: 42:[46, 25] Operation: 16+9=25
Exploring Operation: 16-9=7, Resulting Numbers: [46, 7]
Generated Node #0,0,3: 42:[46, 7] Operation: 16-9=7
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 42:[46, 7], Operations: ['81-35=46', '16-9=7']
Exploring Operation: 46+7=53, Resulting Numbers: [53]
53,42 unequal: No Solution
Exploring Operation: 46-7=39, Resulting Numbers: [39]
39,42 unequal: No Solution
Exploring Operation: 46*7=322, Resulting Numbers: [322]
322,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 42:[16, 37], Operations: ['81-35=46', '46-9=37']
Exploring Operation: 37-16=21, Resulting Numbers: [21]
21,42 unequal: No Solution
Exploring Operation: 16+37=53, Resulting Numbers: [53]
53,42 unequal: No Solution
Exploring Operation: 16*37=592, Resulting Numbers: [592]
592,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 42:[46, 25], Operations: ['81-35=46', '16+9=25']
Exploring Operation: 46+25=71, Resulting Numbers: [71]
71,42 unequal: No Solution
Exploring Operation: 46*25=1150, Resulting Numbers: [1150]
1150,42 unequal: No Solution
Exploring Operation: 46-25=21, Resulting Numbers: [21]
21,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 42:[9, 30], Operations: ['81-35=46', '46-16=30']
Exploring Operation: 9+30=39, Resulting Numbers: [39]
39,42 unequal: No Solution
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,42 unequal: No Solution
Exploring Operation: 9*30=270, Resulting Numbers: [270]
270,42 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: 42:[16, 35, 9], Operations: ['81/9=9']
Exploring Operation: 35+9=44, Resulting Numbers: [16, 44]
Generated Node #0,3,0: 42:[16, 44] Operation: 35+9=44
Exploring Operation: 35-9=26, Resulting Numbers: [16, 26]
Generated Node #0,3,1: 42:[16, 26] Operation: 35-9=26
Exploring Operation: 16-9=7, Resulting Numbers: [35, 7]
Generated Node #0,3,2: 42:[35, 7] Operation: 16-9=7
Exploring Operation: 35-16=19, Resulting Numbers: [9, 19]
Generated Node #0,3,3: 42:[9, 19] Operation: 35-16=19
Moving to Node #0,2
Current State: 42:[35, 9, 65], Operations: ['81-16=65']
Exploring Operation: 35+9=44, Resulting Numbers: [65, 44]
Generated Node #0,2,0: 42:[65, 44] Operation: 35+9=44
Exploring Operation: 35-9=26, Resulting Numbers: [65, 26]
Generated Node #0,2,1: 42:[65, 26] Operation: 35-9=26
Exploring Operation: 65-9=56, Resulting Numbers: [35, 56]
Generated Node #0,2,2: 42:[35, 56] Operation: 65-9=56
Exploring Operation: 65-35=30, Resulting Numbers: [9, 30]
Generated Node #0,2,3: 42:[9, 30] Operation: 65-35=30
Moving to Node #0,1
Current State: 42:[16, 35, 72], Operations: ['81-9=72']
Exploring Operation: 16+35=51, Resulting Numbers: [72, 51]
Generated Node #0,1,0: 42:[72, 51] Operation: 16+35=51
Exploring Operation: 72-16=56, Resulting Numbers: [35, 56]
Generated Node #0,1,1: 42:[35, 56] Operation: 72-16=56
Exploring Operation: 35-16=19, Resulting Numbers: [72, 19]
Generated Node #0,1,2: 42:[72, 19] Operation: 35-16=19
Exploring Operation: 72-35=37, Resulting Numbers: [16, 37]
Generated Node #0,1,3: 42:[16, 37] Operation: 72-35=37
Moving to Node #0,3,0
Current State: 42:[16, 44], Operations: ['81/9=9', '35+9=44']
Exploring Operation: 16*44=704, Resulting Numbers: [704]
704,42 unequal: No Solution
Exploring Operation: 16+44=60, Resulting Numbers: [60]
60,42 unequal: No Solution
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,42 unequal: No Solution
Moving to Node #0,3,3
Current State: 42:[9, 19], Operations: ['81/9=9', '35-16=19']
Exploring Operation: 9*19=171, Resulting Numbers: [171]
171,42 unequal: No Solution
Exploring Operation: 9+19=28, Resulting Numbers: [28]
28,42 unequal: No Solution
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,42 unequal: No Solution
Moving to Node #0,3,1
Current State: 42:[16, 26], Operations: ['81/9=9', '35-9=26']
Exploring Operation: 16+26=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[16, 35, 9, 81], Operations: []
Exploring Operation: 81/9=9, Resulting Numbers: [16, 35, 9]
Generated Node #0,3: 42:[16, 35, 9] Operation: 81/9=9
Moving to Node #0,3
Current State: 42:[16, 35, 9], Operations: ['81/9=9']
Exploring Operation: 35-9=26, Resulting Numbers: [16, 26]
Generated Node #0,3,1: 42:[16, 26] Operation: 35-9=26
Moving to Node #0,3,1
Current State: 42:[16, 26], Operations: ['81/9=9', '35-9=26']
Exploring Operation: 16+26=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 0.962674 | hs_4 | mult_heuristic |
[
6,
8,
84,
27
] | 59 | [
"8-6=2",
"84-27=57",
"2+57=59"
] | Current State: 59:[6, 8, 84, 27], Operations: []
Exploring Operation: 8-6=2, Resulting Numbers: [84, 27, 2]
Generated Node #2: [84, 27, 2] from Operation: 8-6=2
Current State: 59:[84, 27, 2], Operations: ['8-6=2']
Exploring Operation: 84-27=57, Resulting Numbers: [2, 57]
Generated Node #3: [2, 57] from Operation: 84-27=57
Current State: 59:[2, 57], Operations: ['8-6=2', '84-27=57']
Exploring Operation: 2+57=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[6, 8, 84, 27], Operations: []
Exploring Operation: 84-6=78, Resulting Numbers: [8, 27, 78]
Generated Node #0,0: 59:[8, 27, 78] Operation: 84-6=78
Exploring Operation: 6*8=48, Resulting Numbers: [84, 27, 48]
Generated Node #0,1: 59:[84, 27, 48] Operation: 6*8=48
Exploring Operation: 6+8=14, Resulting Numbers: [84, 27, 14]
Generated Node #0,2: 59:[84, 27, 14] Operation: 6+8=14
Moving to Node #0,1
Current State: 59:[84, 27, 48], Operations: ['6*8=48']
Exploring Operation: 84-27=57, Resulting Numbers: [48, 57]
Generated Node #0,1,0: 59:[48, 57] Operation: 84-27=57
Exploring Operation: 84-48=36, Resulting Numbers: [27, 36]
Generated Node #0,1,1: 59:[27, 36] Operation: 84-48=36
Exploring Operation: 27+48=75, Resulting Numbers: [84, 75]
Generated Node #0,1,2: 59:[84, 75] Operation: 27+48=75
Moving to Node #0,0
Current State: 59:[8, 27, 78], Operations: ['84-6=78']
Exploring Operation: 78-8=70, Resulting Numbers: [27, 70]
Generated Node #0,0,0: 59:[27, 70] Operation: 78-8=70
Exploring Operation: 27-8=19, Resulting Numbers: [78, 19]
Generated Node #0,0,1: 59:[78, 19] Operation: 27-8=19
Exploring Operation: 8+27=35, Resulting Numbers: [78, 35]
Generated Node #0,0,2: 59:[78, 35] Operation: 8+27=35
Moving to Node #0,2
Current State: 59:[84, 27, 14], Operations: ['6+8=14']
Exploring Operation: 84-27=57, Resulting Numbers: [14, 57]
Generated Node #0,2,0: 59:[14, 57] Operation: 84-27=57
Exploring Operation: 84-14=70, Resulting Numbers: [27, 70]
Generated Node #0,2,1: 59:[27, 70] Operation: 84-14=70
Exploring Operation: 27+14=41, Resulting Numbers: [84, 41]
Generated Node #0,2,2: 59:[84, 41] Operation: 27+14=41
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 59:[27, 70], Operations: ['6+8=14', '84-14=70']
Exploring Operation: 27+70=97, Resulting Numbers: [97]
97,59 unequal: No Solution
Exploring Operation: 70-27=43, Resulting Numbers: [43]
43,59 unequal: No Solution
Exploring Operation: 27*70=1890, Resulting Numbers: [1890]
1890,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,2,2
Current State: 59:[84, 41], Operations: ['6+8=14', '27+14=41']
Exploring Operation: 84-41=43, Resulting Numbers: [43]
43,59 unequal: No Solution
Exploring Operation: 84+41=125, Resulting Numbers: [125]
125,59 unequal: No Solution
Exploring Operation: 84*41=3444, Resulting Numbers: [3444]
3444,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,2,0
Current State: 59:[14, 57], Operations: ['6+8=14', '84-27=57']
Exploring Operation: 14*57=798, Resulting Numbers: [798]
798,59 unequal: No Solution
Exploring Operation: 57-14=43, Resulting Numbers: [43]
43,59 unequal: No Solution
Exploring Operation: 14+57=71, Resulting Numbers: [71]
71,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 59:[48, 57], Operations: ['6*8=48', '84-27=57']
Exploring Operation: 48*57=2736, Resulting Numbers: [2736]
2736,59 unequal: No Solution
Exploring Operation: 48+57=105, Resulting Numbers: [105]
105,59 unequal: No Solution
Exploring Operation: 57-48=9, Resulting Numbers: [9]
9,59 unequal: No Solution
Moving to Node #0,1,2
Current State: 59:[84, 75], Operations: ['6*8=48', '27+48=75']
Exploring Operation: 84-75=9, Resulting Numbers: [9]
9,59 unequal: No Solution
Exploring Operation: 84*75=6300, Resulting Numbers: [6300]
6300,59 unequal: No Solution
Exploring Operation: 84+75=159, Resulting Numbers: [159]
159,59 unequal: No Solution
Moving to Node #0,0,2
Current State: 59:[78, 35], Operations: ['84-6=78', '8+27=35']
Exploring Operation: 78+35=113, Resulting Numbers: [113]
113,59 unequal: No Solution
Exploring Operation: 78*35=2730, Resulting Numbers: [2730]
2730,59 unequal: No Solution
Exploring Operation: 78-35=43, Resulting Numbers: [43]
43,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[27, 70], Operations: ['84-6=78', '78-8=70']
Exploring Operation: 70-27=43, Resulting Numbers: [43]
43,59 unequal: No Solution
Exploring Operation: 27*70=1890, Resulting Numbers: [1890]
1890,59 unequal: No Solution
Exploring Operation: 27+70=97, Resulting Numbers: [97]
97,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[27, 36], Operations: ['6*8=48', '84-48=36']
Exploring Operation: 36-27=9, Resulting Numbers: [9]
9,59 unequal: No Solution
Exploring Operation: 27+36=63, Resulting Numbers: [63]
63,59 unequal: No Solution
Exploring Operation: 27*36=972, Resulting Numbers: [972]
972,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[78, 19], Operations: ['84-6=78', '27-8=19']
Exploring Operation: 78+19=97, Resulting Numbers: [97]
97,59 unequal: No Solution
Exploring Operation: 78*19=1482, Resulting Numbers: [1482]
1482,59 unequal: No Solution
Exploring Operation: 78-19=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[6, 8, 84, 27], Operations: []
Exploring Operation: 84-6=78, Resulting Numbers: [8, 27, 78]
Generated Node #0,0: 59:[8, 27, 78] Operation: 84-6=78
Moving to Node #0,0
Current State: 59:[8, 27, 78], Operations: ['84-6=78']
Exploring Operation: 27-8=19, Resulting Numbers: [78, 19]
Generated Node #0,0,1: 59:[78, 19] Operation: 27-8=19
Moving to Node #0,0,1
Current State: 59:[78, 19], Operations: ['84-6=78', '27-8=19']
Exploring Operation: 78-19=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 0.962674 | hs_3 | mult_heuristic |
[
7,
2,
83,
75
] | 54 | [
"83-75=8",
"7*8=56",
"56-2=54"
] | Current State: 54:[7, 2, 83, 75], Operations: []
Exploring Operation: 83-75=8, Resulting Numbers: [7, 2, 8]
Generated Node #2: [7, 2, 8] from Operation: 83-75=8
Current State: 54:[7, 2, 8], Operations: ['83-75=8']
Exploring Operation: 7*8=56, Resulting Numbers: [2, 56]
Generated Node #3: [2, 56] from Operation: 7*8=56
Current State: 54:[2, 56], Operations: ['83-75=8', '7*8=56']
Exploring Operation: 56-2=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[7, 2, 83, 75], Operations: []
Exploring Operation: 83-75=8, Resulting Numbers: [7, 2, 8]
Generated Node #0,0: 54:[7, 2, 8] Operation: 83-75=8
Moving to Node #0,0
Current State: 54:[7, 2, 8], Operations: ['83-75=8']
Exploring Operation: 7+2=9, Resulting Numbers: [8, 9]
Generated Node #0,0,0: 54:[8, 9] Operation: 7+2=9
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 54:[8, 9], Operations: ['83-75=8', '7+2=9']
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,54 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 |
[
49,
75,
62,
17
] | 71 | [
"75-49=26",
"62-17=45",
"26+45=71"
] | Current State: 71:[49, 75, 62, 17], Operations: []
Exploring Operation: 75-49=26, Resulting Numbers: [62, 17, 26]
Generated Node #2: [62, 17, 26] from Operation: 75-49=26
Current State: 71:[62, 17, 26], Operations: ['75-49=26']
Exploring Operation: 62-17=45, Resulting Numbers: [26, 45]
Generated Node #3: [26, 45] from Operation: 62-17=45
Current State: 71:[26, 45], Operations: ['75-49=26', '62-17=45']
Exploring Operation: 26+45=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[49, 75, 62, 17], Operations: []
Exploring Operation: 49+17=66, Resulting Numbers: [75, 62, 66]
Generated Node #0,0: 71:[75, 62, 66] Operation: 49+17=66
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[75, 62, 66], Operations: ['49+17=66']
Exploring Operation: 62+66=128, Resulting Numbers: [75, 128]
Generated Node #0,0,0: 71:[75, 128] Operation: 62+66=128
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 71:[75, 128], Operations: ['49+17=66', '62+66=128']
Exploring Operation: 128-75=53, Resulting Numbers: [53]
53,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
9,
36,
13,
47
] | 45 | [
"9*47=423",
"36*13=468",
"468-423=45"
] | Current State: 45:[9, 36, 13, 47], Operations: []
Exploring Operation: 9*47=423, Resulting Numbers: [36, 13, 423]
Generated Node #2: [36, 13, 423] from Operation: 9*47=423
Current State: 45:[36, 13, 423], Operations: ['9*47=423']
Exploring Operation: 36*13=468, Resulting Numbers: [423, 468]
Generated Node #3: [423, 468] from Operation: 36*13=468
Current State: 45:[423, 468], Operations: ['9*47=423', '36*13=468']
Exploring Operation: 468-423=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[9, 36, 13, 47], Operations: []
Exploring Operation: 9+36=45, Resulting Numbers: [13, 47, 45]
Generated Node #0,0: 45:[13, 47, 45] Operation: 9+36=45
Moving to Node #0,0
Current State: 45:[13, 47, 45], Operations: ['9+36=45']
Exploring Operation: 47-45=2, Resulting Numbers: [13, 2]
Generated Node #0,0,0: 45:[13, 2] Operation: 47-45=2
Moving to Node #0,0,0
Current State: 45:[13, 2], Operations: ['9+36=45', '47-45=2']
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,45 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
40,
2,
25,
13
] | 76 | [
"40-2=38",
"25+13=38",
"38+38=76"
] | Current State: 76:[40, 2, 25, 13], Operations: []
Exploring Operation: 40-2=38, Resulting Numbers: [25, 13, 38]
Generated Node #2: [25, 13, 38] from Operation: 40-2=38
Current State: 76:[25, 13, 38], Operations: ['40-2=38']
Exploring Operation: 25+13=38, Resulting Numbers: [38, 38]
Generated Node #3: [38, 38] from Operation: 25+13=38
Current State: 76:[38, 38], Operations: ['40-2=38', '25+13=38']
Exploring Operation: 38+38=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[40, 2, 25, 13], Operations: []
Exploring Operation: 25-13=12, Resulting Numbers: [40, 2, 12]
Generated Node #0,0: 76:[40, 2, 12] Operation: 25-13=12
Exploring Operation: 40-25=15, Resulting Numbers: [2, 13, 15]
Generated Node #0,1: 76:[2, 13, 15] Operation: 40-25=15
Exploring Operation: 25+13=38, Resulting Numbers: [40, 2, 38]
Generated Node #0,2: 76:[40, 2, 38] Operation: 25+13=38
Moving to Node #0,2
Current State: 76:[40, 2, 38], Operations: ['25+13=38']
Exploring Operation: 40-2=38, Resulting Numbers: [38, 38]
Generated Node #0,2,0: 76:[38, 38] Operation: 40-2=38
Exploring Operation: 40/2=20, Resulting Numbers: [38, 20]
Generated Node #0,2,1: 76:[38, 20] Operation: 40/2=20
Exploring Operation: 40-38=2, Resulting Numbers: [2, 2]
Generated Node #0,2,2: 76:[2, 2] Operation: 40-38=2
Moving to Node #0,0
Current State: 76:[40, 2, 12], Operations: ['25-13=12']
Exploring Operation: 2+12=14, Resulting Numbers: [40, 14]
Generated Node #0,0,0: 76:[40, 14] Operation: 2+12=14
Exploring Operation: 40-2=38, Resulting Numbers: [12, 38]
Generated Node #0,0,1: 76:[12, 38] Operation: 40-2=38
Exploring Operation: 12/2=6, Resulting Numbers: [40, 6]
Generated Node #0,0,2: 76:[40, 6] Operation: 12/2=6
Moving to Node #0,1
Current State: 76:[2, 13, 15], Operations: ['40-25=15']
Exploring Operation: 2+15=17, Resulting Numbers: [13, 17]
Generated Node #0,1,0: 76:[13, 17] Operation: 2+15=17
Exploring Operation: 2+13=15, Resulting Numbers: [15, 15]
Generated Node #0,1,1: 76:[15, 15] Operation: 2+13=15
Exploring Operation: 15-13=2, Resulting Numbers: [2, 2]
Generated Node #0,1,2: 76:[2, 2] Operation: 15-13=2
Moving to Node #0,2,0
Current State: 76:[38, 38], Operations: ['25+13=38', '40-2=38']
Exploring Operation: 38+38=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[40, 2, 25, 13], Operations: []
Exploring Operation: 25+13=38, Resulting Numbers: [40, 2, 38]
Generated Node #0,2: 76:[40, 2, 38] Operation: 25+13=38
Moving to Node #0,2
Current State: 76:[40, 2, 38], Operations: ['25+13=38']
Exploring Operation: 40-2=38, Resulting Numbers: [38, 38]
Generated Node #0,2,0: 76:[38, 38] Operation: 40-2=38
Moving to Node #0,2,0
Current State: 76:[38, 38], Operations: ['25+13=38', '40-2=38']
Exploring Operation: 38+38=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 0.985243 | hs_3 | sum_heuristic |
[
78,
44,
97,
48
] | 76 | [
"97-78=19",
"48-44=4",
"19*4=76"
] | Current State: 76:[78, 44, 97, 48], Operations: []
Exploring Operation: 97-78=19, Resulting Numbers: [44, 48, 19]
Generated Node #2: [44, 48, 19] from Operation: 97-78=19
Current State: 76:[44, 48, 19], Operations: ['97-78=19']
Exploring Operation: 48-44=4, Resulting Numbers: [19, 4]
Generated Node #3: [19, 4] from Operation: 48-44=4
Current State: 76:[19, 4], Operations: ['97-78=19', '48-44=4']
Exploring Operation: 19*4=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[78, 44, 97, 48], Operations: []
Exploring Operation: 97-78=19, Resulting Numbers: [44, 48, 19]
Generated Node #0,0: 76:[44, 48, 19] Operation: 97-78=19
Exploring Operation: 97-48=49, Resulting Numbers: [78, 44, 49]
Generated Node #0,1: 76:[78, 44, 49] Operation: 97-48=49
Exploring Operation: 48-44=4, Resulting Numbers: [78, 97, 4]
Generated Node #0,2: 76:[78, 97, 4] Operation: 48-44=4
Moving to Node #0,0
Current State: 76:[44, 48, 19], Operations: ['97-78=19']
Exploring Operation: 48+19=67, Resulting Numbers: [44, 67]
Generated Node #0,0,0: 76:[44, 67] Operation: 48+19=67
Exploring Operation: 48-44=4, Resulting Numbers: [19, 4]
Generated Node #0,0,1: 76:[19, 4] Operation: 48-44=4
Exploring Operation: 48-19=29, Resulting Numbers: [44, 29]
Generated Node #0,0,2: 76:[44, 29] Operation: 48-19=29
Moving to Node #0,1
Current State: 76:[78, 44, 49], Operations: ['97-48=49']
Exploring Operation: 78-44=34, Resulting Numbers: [49, 34]
Generated Node #0,1,0: 76:[49, 34] Operation: 78-44=34
Exploring Operation: 78-49=29, Resulting Numbers: [44, 29]
Generated Node #0,1,1: 76:[44, 29] Operation: 78-49=29
Exploring Operation: 49-44=5, Resulting Numbers: [78, 5]
Generated Node #0,1,2: 76:[78, 5] Operation: 49-44=5
Moving to Node #0,2
Current State: 76:[78, 97, 4], Operations: ['48-44=4']
Exploring Operation: 78-4=74, Resulting Numbers: [97, 74]
Generated Node #0,2,0: 76:[97, 74] Operation: 78-4=74
Exploring Operation: 97-4=93, Resulting Numbers: [78, 93]
Generated Node #0,2,1: 76:[78, 93] Operation: 97-4=93
Exploring Operation: 97-78=19, Resulting Numbers: [4, 19]
Generated Node #0,2,2: 76:[4, 19] Operation: 97-78=19
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 76:[4, 19], Operations: ['48-44=4', '97-78=19']
Exploring Operation: 4+19=23, Resulting Numbers: [23]
23,76 unequal: No Solution
Exploring Operation: 4*19=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[78, 44, 97, 48], Operations: []
Exploring Operation: 48-44=4, Resulting Numbers: [78, 97, 4]
Generated Node #0,2: 76:[78, 97, 4] Operation: 48-44=4
Moving to Node #0,2
Current State: 76:[78, 97, 4], Operations: ['48-44=4']
Exploring Operation: 97-78=19, Resulting Numbers: [4, 19]
Generated Node #0,2,2: 76:[4, 19] Operation: 97-78=19
Moving to Node #0,2,2
Current State: 76:[4, 19], Operations: ['48-44=4', '97-78=19']
Exploring Operation: 4*19=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | mult_heuristic |
[
30,
93,
51,
36
] | 78 | [
"93-30=63",
"51-36=15",
"63+15=78"
] | Current State: 78:[30, 93, 51, 36], Operations: []
Exploring Operation: 93-30=63, Resulting Numbers: [51, 36, 63]
Generated Node #2: [51, 36, 63] from Operation: 93-30=63
Current State: 78:[51, 36, 63], Operations: ['93-30=63']
Exploring Operation: 51-36=15, Resulting Numbers: [63, 15]
Generated Node #3: [63, 15] from Operation: 51-36=15
Current State: 78:[63, 15], Operations: ['93-30=63', '51-36=15']
Exploring Operation: 63+15=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[30, 93, 51, 36], Operations: []
Exploring Operation: 93-51=42, Resulting Numbers: [30, 36, 42]
Generated Node #0,0: 78:[30, 36, 42] Operation: 93-51=42
Exploring Operation: 51-30=21, Resulting Numbers: [93, 36, 21]
Generated Node #0,1: 78:[93, 36, 21] Operation: 51-30=21
Exploring Operation: 51-36=15, Resulting Numbers: [30, 93, 15]
Generated Node #0,2: 78:[30, 93, 15] Operation: 51-36=15
Exploring Operation: 30+51=81, Resulting Numbers: [93, 36, 81]
Generated Node #0,3: 78:[93, 36, 81] Operation: 30+51=81
Moving to Node #0,0
Current State: 78:[30, 36, 42], Operations: ['93-51=42']
Exploring Operation: 36-30=6, Resulting Numbers: [42, 6]
Generated Node #0,0,0: 78:[42, 6] Operation: 36-30=6
Exploring Operation: 42-30=12, Resulting Numbers: [36, 12]
Generated Node #0,0,1: 78:[36, 12] Operation: 42-30=12
Exploring Operation: 36+42=78, Resulting Numbers: [30, 78]
Generated Node #0,0,2: 78:[30, 78] Operation: 36+42=78
Exploring Operation: 42-36=6, Resulting Numbers: [30, 6]
Generated Node #0,0,3: 78:[30, 6] Operation: 42-36=6
Moving to Node #0,3
Current State: 78:[93, 36, 81], Operations: ['30+51=81']
Exploring Operation: 93+36=129, Resulting Numbers: [81, 129]
Generated Node #0,3,0: 78:[81, 129] Operation: 93+36=129
Exploring Operation: 93-81=12, Resulting Numbers: [36, 12]
Generated Node #0,3,1: 78:[36, 12] Operation: 93-81=12
Exploring Operation: 93-36=57, Resulting Numbers: [81, 57]
Generated Node #0,3,2: 78:[81, 57] Operation: 93-36=57
Exploring Operation: 81-36=45, Resulting Numbers: [93, 45]
Generated Node #0,3,3: 78:[93, 45] Operation: 81-36=45
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 78:[36, 12], Operations: ['30+51=81', '93-81=12']
Exploring Operation: 36+12=48, Resulting Numbers: [48]
48,78 unequal: No Solution
Exploring Operation: 36*12=432, Resulting Numbers: [432]
432,78 unequal: No Solution
Exploring Operation: 36-12=24, Resulting Numbers: [24]
24,78 unequal: No Solution
Exploring Operation: 36/12=3, Resulting Numbers: [3]
3,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,3,2
Current State: 78:[81, 57], Operations: ['30+51=81', '93-36=57']
Exploring Operation: 81*57=4617, Resulting Numbers: [4617]
4617,78 unequal: No Solution
Exploring Operation: 81-57=24, Resulting Numbers: [24]
24,78 unequal: No Solution
Exploring Operation: 81+57=138, Resulting Numbers: [138]
138,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,3,3
Current State: 78:[93, 45], Operations: ['30+51=81', '81-36=45']
Exploring Operation: 93+45=138, Resulting Numbers: [138]
138,78 unequal: No Solution
Exploring Operation: 93*45=4185, Resulting Numbers: [4185]
4185,78 unequal: No Solution
Exploring Operation: 93-45=48, Resulting Numbers: [48]
48,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,3,0
Current State: 78:[81, 129], Operations: ['30+51=81', '93+36=129']
Exploring Operation: 129-81=48, Resulting Numbers: [48]
48,78 unequal: No Solution
Exploring Operation: 81+129=210, Resulting Numbers: [210]
210,78 unequal: No Solution
Exploring Operation: 81*129=10449, Resulting Numbers: [10449]
10449,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 78:[30, 93, 15], Operations: ['51-36=15']
Exploring Operation: 93-30=63, Resulting Numbers: [15, 63]
Generated Node #0,2,0: 78:[15, 63] Operation: 93-30=63
Exploring Operation: 30-15=15, Resulting Numbers: [93, 15]
Generated Node #0,2,1: 78:[93, 15] Operation: 30-15=15
Exploring Operation: 93-15=78, Resulting Numbers: [30, 78]
Generated Node #0,2,2: 78:[30, 78] Operation: 93-15=78
Exploring Operation: 30/15=2, Resulting Numbers: [93, 2]
Generated Node #0,2,3: 78:[93, 2] Operation: 30/15=2
Moving to Node #0,1
Current State: 78:[93, 36, 21], Operations: ['51-30=21']
Exploring Operation: 93-21=72, Resulting Numbers: [36, 72]
Generated Node #0,1,0: 78:[36, 72] Operation: 93-21=72
Exploring Operation: 36-21=15, Resulting Numbers: [93, 15]
Generated Node #0,1,1: 78:[93, 15] Operation: 36-21=15
Exploring Operation: 36+21=57, Resulting Numbers: [93, 57]
Generated Node #0,1,2: 78:[93, 57] Operation: 36+21=57
Exploring Operation: 93-36=57, Resulting Numbers: [21, 57]
Generated Node #0,1,3: 78:[21, 57] Operation: 93-36=57
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 78:[36, 72], Operations: ['51-30=21', '93-21=72']
Exploring Operation: 36*72=2592, Resulting Numbers: [2592]
2592,78 unequal: No Solution
Exploring Operation: 36+72=108, Resulting Numbers: [108]
108,78 unequal: No Solution
Exploring Operation: 72-36=36, Resulting Numbers: [36]
36,78 unequal: No Solution
Exploring Operation: 72/36=2, Resulting Numbers: [2]
2,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:[93, 15], Operations: ['51-30=21', '36-21=15']
Exploring Operation: 93*15=1395, Resulting Numbers: [1395]
1395,78 unequal: No Solution
Exploring Operation: 93-15=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[30, 93, 51, 36], Operations: []
Exploring Operation: 51-30=21, Resulting Numbers: [93, 36, 21]
Generated Node #0,1: 78:[93, 36, 21] Operation: 51-30=21
Moving to Node #0,1
Current State: 78:[93, 36, 21], Operations: ['51-30=21']
Exploring Operation: 36-21=15, Resulting Numbers: [93, 15]
Generated Node #0,1,1: 78:[93, 15] Operation: 36-21=15
Moving to Node #0,1,1
Current State: 78:[93, 15], Operations: ['51-30=21', '36-21=15']
Exploring Operation: 93-15=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.962674 | hs_4 | sum_heuristic |
[
80,
38,
11,
38
] | 15 | [
"80-38=42",
"38-11=27",
"42-27=15"
] | Current State: 15:[80, 38, 11, 38], Operations: []
Exploring Operation: 80-38=42, Resulting Numbers: [11, 42]
Generated Node #2: [11, 42] from Operation: 80-38=42
Current State: 15:[11, 42], Operations: ['80-38=42']
Exploring Operation: 38-11=27, Resulting Numbers: [42, 27]
Generated Node #3: [42, 27] from Operation: 38-11=27
Current State: 15:[42, 27], Operations: ['80-38=42', '38-11=27']
Exploring Operation: 42-27=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[80, 38, 11, 38], Operations: []
Exploring Operation: 38/38=1, Resulting Numbers: [80, 11, 1]
Generated Node #0,0: 15:[80, 11, 1] Operation: 38/38=1
Exploring Operation: 80-38=42, Resulting Numbers: [38, 11, 42]
Generated Node #0,1: 15:[38, 11, 42] Operation: 80-38=42
Exploring Operation: 80-11=69, Resulting Numbers: [38, 38, 69]
Generated Node #0,2: 15:[38, 38, 69] Operation: 80-11=69
Exploring Operation: 80-38=42, Resulting Numbers: [11, 38, 42]
Generated Node #0,3: 15:[11, 38, 42] Operation: 80-38=42
Exploring Operation: 38-38=0, Resulting Numbers: [80, 11, 0]
Generated Node #0,4: 15:[80, 11, 0] Operation: 38-38=0
Start Sub Search at level 1: Moving to Node #0,1
Current State: 15:[38, 11, 42], Operations: ['80-38=42']
Exploring Operation: 42-38=4, Resulting Numbers: [11, 4]
Generated Node #0,1,0: 15:[11, 4] Operation: 42-38=4
Exploring Operation: 42-11=31, Resulting Numbers: [38, 31]
Generated Node #0,1,1: 15:[38, 31] Operation: 42-11=31
Exploring Operation: 38-11=27, Resulting Numbers: [42, 27]
Generated Node #0,1,2: 15:[42, 27] Operation: 38-11=27
Exploring Operation: 38+11=49, Resulting Numbers: [42, 49]
Generated Node #0,1,3: 15:[42, 49] Operation: 38+11=49
Exploring Operation: 11+42=53, Resulting Numbers: [38, 53]
Generated Node #0,1,4: 15:[38, 53] Operation: 11+42=53
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 15:[11, 4], Operations: ['80-38=42', '42-38=4']
Exploring Operation: 11*4=44, Resulting Numbers: [44]
44,15 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,15 unequal: No Solution
Exploring Operation: 11+4=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[80, 38, 11, 38], Operations: []
Exploring Operation: 80-38=42, Resulting Numbers: [38, 11, 42]
Generated Node #0,1: 15:[38, 11, 42] Operation: 80-38=42
Moving to Node #0,1
Current State: 15:[38, 11, 42], Operations: ['80-38=42']
Exploring Operation: 42-38=4, Resulting Numbers: [11, 4]
Generated Node #0,1,0: 15:[11, 4] Operation: 42-38=4
Moving to Node #0,1,0
Current State: 15:[11, 4], Operations: ['80-38=42', '42-38=4']
Exploring Operation: 11+4=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
61,
4,
47,
4
] | 14 | [
"61+4=65",
"47+4=51",
"65-51=14"
] | Current State: 14:[61, 4, 47, 4], Operations: []
Exploring Operation: 61+4=65, Resulting Numbers: [47, 65]
Generated Node #2: [47, 65] from Operation: 61+4=65
Current State: 14:[47, 65], Operations: ['61+4=65']
Exploring Operation: 47+4=51, Resulting Numbers: [65, 51]
Generated Node #3: [65, 51] from Operation: 47+4=51
Current State: 14:[65, 51], Operations: ['61+4=65', '47+4=51']
Exploring Operation: 65-51=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[61, 4, 47, 4], Operations: []
Exploring Operation: 61-47=14, Resulting Numbers: [4, 4, 14]
Generated Node #0,0: 14:[4, 4, 14] Operation: 61-47=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[4, 4, 14], Operations: ['61-47=14']
Exploring Operation: 4+4=8, Resulting Numbers: [14, 8]
Generated Node #0,0,0: 14:[14, 8] Operation: 4+4=8
Moving to Node #0,0,0
Current State: 14:[14, 8], Operations: ['61-47=14', '4+4=8']
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
67,
7,
55,
14
] | 19 | [
"67-7=60",
"55-14=41",
"60-41=19"
] | Current State: 19:[67, 7, 55, 14], Operations: []
Exploring Operation: 67-7=60, Resulting Numbers: [55, 14, 60]
Generated Node #2: [55, 14, 60] from Operation: 67-7=60
Current State: 19:[55, 14, 60], Operations: ['67-7=60']
Exploring Operation: 55-14=41, Resulting Numbers: [60, 41]
Generated Node #3: [60, 41] from Operation: 55-14=41
Current State: 19:[60, 41], Operations: ['67-7=60', '55-14=41']
Exploring Operation: 60-41=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[67, 7, 55, 14], Operations: []
Exploring Operation: 55-7=48, Resulting Numbers: [67, 14, 48]
Generated Node #0,0: 19:[67, 14, 48] Operation: 55-7=48
Exploring Operation: 67-14=53, Resulting Numbers: [7, 55, 53]
Generated Node #0,1: 19:[7, 55, 53] Operation: 67-14=53
Exploring Operation: 67-55=12, Resulting Numbers: [7, 14, 12]
Generated Node #0,2: 19:[7, 14, 12] Operation: 67-55=12
Exploring Operation: 55-14=41, Resulting Numbers: [67, 7, 41]
Generated Node #0,3: 19:[67, 7, 41] Operation: 55-14=41
Exploring Operation: 67-7=60, Resulting Numbers: [55, 14, 60]
Generated Node #0,4: 19:[55, 14, 60] Operation: 67-7=60
Start Sub Search at level 1: Moving to Node #0,2
Current State: 19:[7, 14, 12], Operations: ['67-55=12']
Exploring Operation: 12-7=5, Resulting Numbers: [14, 5]
Generated Node #0,2,0: 19:[14, 5] Operation: 12-7=5
Exploring Operation: 7+14=21, Resulting Numbers: [12, 21]
Generated Node #0,2,1: 19:[12, 21] Operation: 7+14=21
Exploring Operation: 14+12=26, Resulting Numbers: [7, 26]
Generated Node #0,2,2: 19:[7, 26] Operation: 14+12=26
Exploring Operation: 14-7=7, Resulting Numbers: [12, 7]
Generated Node #0,2,3: 19:[12, 7] Operation: 14-7=7
Exploring Operation: 7+12=19, Resulting Numbers: [14, 19]
Generated Node #0,2,4: 19:[14, 19] Operation: 7+12=19
Moving to Node #0,2,4
Current State: 19:[14, 19], Operations: ['67-55=12', '7+12=19']
Exploring Operation: 14*19=266, Resulting Numbers: [266]
266,19 unequal: No Solution
Exploring Operation: 14+19=33, Resulting Numbers: [33]
33,19 unequal: No Solution
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Moving to Node #0,2,1
Current State: 19:[12, 21], Operations: ['67-55=12', '7+14=21']
Exploring Operation: 12*21=252, Resulting Numbers: [252]
252,19 unequal: No Solution
Exploring Operation: 12+21=33, Resulting Numbers: [33]
33,19 unequal: No Solution
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,19 unequal: No Solution
Moving to Node #0,2,0
Current State: 19:[14, 5], Operations: ['67-55=12', '12-7=5']
Exploring Operation: 14+5=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[67, 7, 55, 14], Operations: []
Exploring Operation: 67-55=12, Resulting Numbers: [7, 14, 12]
Generated Node #0,2: 19:[7, 14, 12] Operation: 67-55=12
Moving to Node #0,2
Current State: 19:[7, 14, 12], Operations: ['67-55=12']
Exploring Operation: 12-7=5, Resulting Numbers: [14, 5]
Generated Node #0,2,0: 19:[14, 5] Operation: 12-7=5
Moving to Node #0,2,0
Current State: 19:[14, 5], Operations: ['67-55=12', '12-7=5']
Exploring Operation: 14+5=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
42,
92,
2,
62
] | 10 | [
"42+92=134",
"2*62=124",
"134-124=10"
] | Current State: 10:[42, 92, 2, 62], Operations: []
Exploring Operation: 42+92=134, Resulting Numbers: [2, 62, 134]
Generated Node #2: [2, 62, 134] from Operation: 42+92=134
Current State: 10:[2, 62, 134], Operations: ['42+92=134']
Exploring Operation: 2*62=124, Resulting Numbers: [134, 124]
Generated Node #3: [134, 124] from Operation: 2*62=124
Current State: 10:[134, 124], Operations: ['42+92=134', '2*62=124']
Exploring Operation: 134-124=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[42, 92, 2, 62], Operations: []
Exploring Operation: 62-42=20, Resulting Numbers: [92, 2, 20]
Generated Node #0,0: 10:[92, 2, 20] Operation: 62-42=20
Exploring Operation: 92/2=46, Resulting Numbers: [42, 62, 46]
Generated Node #0,1: 10:[42, 62, 46] Operation: 92/2=46
Exploring Operation: 62/2=31, Resulting Numbers: [42, 92, 31]
Generated Node #0,2: 10:[42, 92, 31] Operation: 62/2=31
Exploring Operation: 92-42=50, Resulting Numbers: [2, 62, 50]
Generated Node #0,3: 10:[2, 62, 50] Operation: 92-42=50
Exploring Operation: 92-62=30, Resulting Numbers: [42, 2, 30]
Generated Node #0,4: 10:[42, 2, 30] Operation: 92-62=30
Moving to Node #0,4
Current State: 10:[42, 2, 30], Operations: ['92-62=30']
Exploring Operation: 42-2=40, Resulting Numbers: [30, 40]
Generated Node #0,4,0: 10:[30, 40] Operation: 42-2=40
Exploring Operation: 30-2=28, Resulting Numbers: [42, 28]
Generated Node #0,4,1: 10:[42, 28] Operation: 30-2=28
Exploring Operation: 42/2=21, Resulting Numbers: [30, 21]
Generated Node #0,4,2: 10:[30, 21] Operation: 42/2=21
Exploring Operation: 30/2=15, Resulting Numbers: [42, 15]
Generated Node #0,4,3: 10:[42, 15] Operation: 30/2=15
Exploring Operation: 42-30=12, Resulting Numbers: [2, 12]
Generated Node #0,4,4: 10:[2, 12] Operation: 42-30=12
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 10:[2, 12], Operations: ['92-62=30', '42-30=12']
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,10 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,10 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[42, 92, 2, 62], Operations: []
Exploring Operation: 92-62=30, Resulting Numbers: [42, 2, 30]
Generated Node #0,4: 10:[42, 2, 30] Operation: 92-62=30
Moving to Node #0,4
Current State: 10:[42, 2, 30], Operations: ['92-62=30']
Exploring Operation: 42-30=12, Resulting Numbers: [2, 12]
Generated Node #0,4,4: 10:[2, 12] Operation: 42-30=12
Moving to Node #0,4,4
Current State: 10:[2, 12], Operations: ['92-62=30', '42-30=12']
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
70,
66,
61,
24
] | 81 | [
"70-66=4",
"61+24=85",
"85-4=81"
] | Current State: 81:[70, 66, 61, 24], Operations: []
Exploring Operation: 70-66=4, Resulting Numbers: [61, 24, 4]
Generated Node #2: [61, 24, 4] from Operation: 70-66=4
Current State: 81:[61, 24, 4], Operations: ['70-66=4']
Exploring Operation: 61+24=85, Resulting Numbers: [4, 85]
Generated Node #3: [4, 85] from Operation: 61+24=85
Current State: 81:[4, 85], Operations: ['70-66=4', '61+24=85']
Exploring Operation: 85-4=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[70, 66, 61, 24], Operations: []
Exploring Operation: 61+24=85, Resulting Numbers: [70, 66, 85]
Generated Node #0,0: 81:[70, 66, 85] Operation: 61+24=85
Exploring Operation: 66-61=5, Resulting Numbers: [70, 24, 5]
Generated Node #0,1: 81:[70, 24, 5] Operation: 66-61=5
Exploring Operation: 70-66=4, Resulting Numbers: [61, 24, 4]
Generated Node #0,2: 81:[61, 24, 4] Operation: 70-66=4
Exploring Operation: 70-61=9, Resulting Numbers: [66, 24, 9]
Generated Node #0,3: 81:[66, 24, 9] Operation: 70-61=9
Moving to Node #0,1
Current State: 81:[70, 24, 5], Operations: ['66-61=5']
Exploring Operation: 70+24=94, Resulting Numbers: [5, 94]
Generated Node #0,1,0: 81:[5, 94] Operation: 70+24=94
Exploring Operation: 70/5=14, Resulting Numbers: [24, 14]
Generated Node #0,1,1: 81:[24, 14] Operation: 70/5=14
Exploring Operation: 70+5=75, Resulting Numbers: [24, 75]
Generated Node #0,1,2: 81:[24, 75] Operation: 70+5=75
Exploring Operation: 24+5=29, Resulting Numbers: [70, 29]
Generated Node #0,1,3: 81:[70, 29] Operation: 24+5=29
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 81:[24, 14], Operations: ['66-61=5', '70/5=14']
Exploring Operation: 24+14=38, Resulting Numbers: [38]
38,81 unequal: No Solution
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,81 unequal: No Solution
Exploring Operation: 24*14=336, Resulting Numbers: [336]
336,81 unequal: No Solution
No 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: 81:[24, 75], Operations: ['66-61=5', '70+5=75']
Exploring Operation: 24+75=99, Resulting Numbers: [99]
99,81 unequal: No Solution
Exploring Operation: 75-24=51, Resulting Numbers: [51]
51,81 unequal: No Solution
Exploring Operation: 24*75=1800, Resulting Numbers: [1800]
1800,81 unequal: No Solution
No 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: 81:[70, 29], Operations: ['66-61=5', '24+5=29']
Exploring Operation: 70-29=41, Resulting Numbers: [41]
41,81 unequal: No Solution
Exploring Operation: 70*29=2030, Resulting Numbers: [2030]
2030,81 unequal: No Solution
Exploring Operation: 70+29=99, Resulting Numbers: [99]
99,81 unequal: No Solution
No 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: 81:[5, 94], Operations: ['66-61=5', '70+24=94']
Exploring Operation: 5+94=99, Resulting Numbers: [99]
99,81 unequal: No Solution
Exploring Operation: 94-5=89, Resulting Numbers: [89]
89,81 unequal: No Solution
Exploring Operation: 5*94=470, Resulting Numbers: [470]
470,81 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: 81:[66, 24, 9], Operations: ['70-61=9']
Exploring Operation: 24+9=33, Resulting Numbers: [66, 33]
Generated Node #0,3,0: 81:[66, 33] Operation: 24+9=33
Exploring Operation: 66-24=42, Resulting Numbers: [9, 42]
Generated Node #0,3,1: 81:[9, 42] Operation: 66-24=42
Exploring Operation: 66+9=75, Resulting Numbers: [24, 75]
Generated Node #0,3,2: 81:[24, 75] Operation: 66+9=75
Exploring Operation: 66+24=90, Resulting Numbers: [9, 90]
Generated Node #0,3,3: 81:[9, 90] Operation: 66+24=90
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 81:[24, 75], Operations: ['70-61=9', '66+9=75']
Exploring Operation: 24*75=1800, Resulting Numbers: [1800]
1800,81 unequal: No Solution
Exploring Operation: 75-24=51, Resulting Numbers: [51]
51,81 unequal: No Solution
Exploring Operation: 24+75=99, Resulting Numbers: [99]
99,81 unequal: No Solution
No 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: 81:[9, 90], Operations: ['70-61=9', '66+24=90']
Exploring Operation: 90/9=10, Resulting Numbers: [10]
10,81 unequal: No Solution
Exploring Operation: 9+90=99, Resulting Numbers: [99]
99,81 unequal: No Solution
Exploring Operation: 90-9=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[70, 66, 61, 24], Operations: []
Exploring Operation: 70-61=9, Resulting Numbers: [66, 24, 9]
Generated Node #0,3: 81:[66, 24, 9] Operation: 70-61=9
Moving to Node #0,3
Current State: 81:[66, 24, 9], Operations: ['70-61=9']
Exploring Operation: 66+24=90, Resulting Numbers: [9, 90]
Generated Node #0,3,3: 81:[9, 90] Operation: 66+24=90
Moving to Node #0,3,3
Current State: 81:[9, 90], Operations: ['70-61=9', '66+24=90']
Exploring Operation: 90-9=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.970486 | hs_4 | sum_heuristic |
[
42,
16,
1,
43
] | 17 | [
"42-16=26",
"1*43=43",
"43-26=17"
] | Current State: 17:[42, 16, 1, 43], Operations: []
Exploring Operation: 42-16=26, Resulting Numbers: [1, 43, 26]
Generated Node #2: [1, 43, 26] from Operation: 42-16=26
Current State: 17:[1, 43, 26], Operations: ['42-16=26']
Exploring Operation: 1*43=43, Resulting Numbers: [26, 43]
Generated Node #3: [26, 43] from Operation: 1*43=43
Current State: 17:[26, 43], Operations: ['42-16=26', '1*43=43']
Exploring Operation: 43-26=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[42, 16, 1, 43], Operations: []
Exploring Operation: 43-42=1, Resulting Numbers: [16, 1, 1]
Generated Node #0,0: 17:[16, 1, 1] Operation: 43-42=1
Exploring Operation: 42-1=41, Resulting Numbers: [16, 43, 41]
Generated Node #0,1: 17:[16, 43, 41] Operation: 42-1=41
Exploring Operation: 16+1=17, Resulting Numbers: [42, 43, 17]
Generated Node #0,2: 17:[42, 43, 17] Operation: 16+1=17
Exploring Operation: 42-16=26, Resulting Numbers: [1, 43, 26]
Generated Node #0,3: 17:[1, 43, 26] Operation: 42-16=26
Moving to Node #0,0
Current State: 17:[16, 1, 1], Operations: ['43-42=1']
Exploring Operation: 1+1=2, Resulting Numbers: [16, 2]
Generated Node #0,0,0: 17:[16, 2] Operation: 1+1=2
Exploring Operation: 16+1=17, Resulting Numbers: [1, 17]
Generated Node #0,0,1: 17:[1, 17] Operation: 16+1=17
Exploring Operation: 16+1=17, Resulting Numbers: [1, 17]
Generated Node #0,0,2: 17:[1, 17] Operation: 16+1=17
Exploring Operation: 16*1=16, Resulting Numbers: [1, 16]
Generated Node #0,0,3: 17:[1, 16] Operation: 16*1=16
Moving to Node #0,2
Current State: 17:[42, 43, 17], Operations: ['16+1=17']
Exploring Operation: 43-42=1, Resulting Numbers: [17, 1]
Generated Node #0,2,0: 17:[17, 1] Operation: 43-42=1
Exploring Operation: 43-17=26, Resulting Numbers: [42, 26]
Generated Node #0,2,1: 17:[42, 26] Operation: 43-17=26
Exploring Operation: 42+43=85, Resulting Numbers: [17, 85]
Generated Node #0,2,2: 17:[17, 85] Operation: 42+43=85
Exploring Operation: 42-17=25, Resulting Numbers: [43, 25]
Generated Node #0,2,3: 17:[43, 25] Operation: 42-17=25
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 17:[17, 1], Operations: ['16+1=17', '43-42=1']
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,17 unequal: No Solution
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,17 unequal: No Solution
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[42, 16, 1, 43], Operations: []
Exploring Operation: 16+1=17, Resulting Numbers: [42, 43, 17]
Generated Node #0,2: 17:[42, 43, 17] Operation: 16+1=17
Moving to Node #0,2
Current State: 17:[42, 43, 17], Operations: ['16+1=17']
Exploring Operation: 43-42=1, Resulting Numbers: [17, 1]
Generated Node #0,2,0: 17:[17, 1] Operation: 43-42=1
Moving to Node #0,2,0
Current State: 17:[17, 1], Operations: ['16+1=17', '43-42=1']
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | sum_heuristic |
[
19,
36,
23,
96
] | 31 | [
"19+96=115",
"115/23=5",
"36-5=31"
] | Current State: 31:[19, 36, 23, 96], Operations: []
Exploring Operation: 19+96=115, Resulting Numbers: [36, 23, 115]
Generated Node #2: [36, 23, 115] from Operation: 19+96=115
Current State: 31:[36, 23, 115], Operations: ['19+96=115']
Exploring Operation: 115/23=5, Resulting Numbers: [36, 5]
Generated Node #3: [36, 5] from Operation: 115/23=5
Current State: 31:[36, 5], Operations: ['19+96=115', '115/23=5']
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[19, 36, 23, 96], Operations: []
Exploring Operation: 96-36=60, Resulting Numbers: [19, 23, 60]
Generated Node #0,0: 31:[19, 23, 60] Operation: 96-36=60
Exploring Operation: 96-19=77, Resulting Numbers: [36, 23, 77]
Generated Node #0,1: 31:[36, 23, 77] Operation: 96-19=77
Moving to Node #0,0
Current State: 31:[19, 23, 60], Operations: ['96-36=60']
Exploring Operation: 60-19=41, Resulting Numbers: [23, 41]
Generated Node #0,0,0: 31:[23, 41] Operation: 60-19=41
Exploring Operation: 60-23=37, Resulting Numbers: [19, 37]
Generated Node #0,0,1: 31:[19, 37] Operation: 60-23=37
Moving to Node #0,1
Current State: 31:[36, 23, 77], Operations: ['96-19=77']
Exploring Operation: 77-36=41, Resulting Numbers: [23, 41]
Generated Node #0,1,0: 31:[23, 41] Operation: 77-36=41
Exploring Operation: 77-23=54, Resulting Numbers: [36, 54]
Generated Node #0,1,1: 31:[36, 54] Operation: 77-23=54
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 31:[23, 41], Operations: ['96-19=77', '77-36=41']
Exploring Operation: 41-23=18, Resulting Numbers: [18]
18,31 unequal: No Solution
Exploring Operation: 23+41=64, Resulting Numbers: [64]
64,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:[36, 54], Operations: ['96-19=77', '77-23=54']
Exploring Operation: 54-36=18, Resulting Numbers: [18]
18,31 unequal: No Solution
Exploring Operation: 36+54=90, Resulting Numbers: [90]
90,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:[23, 41], Operations: ['96-36=60', '60-19=41']
Exploring Operation: 23+41=64, Resulting Numbers: [64]
64,31 unequal: No Solution
Exploring Operation: 41-23=18, Resulting Numbers: [18]
18,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[19, 37], Operations: ['96-36=60', '60-23=37']
Exploring Operation: 37-19=18, Resulting Numbers: [18]
18,31 unequal: No Solution
Exploring Operation: 19+37=56, Resulting Numbers: [56]
56,31 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
72,
18,
72,
22
] | 90 | [
"72/18=4",
"72+22=94",
"94-4=90"
] | Current State: 90:[72, 18, 72, 22], Operations: []
Exploring Operation: 72/18=4, Resulting Numbers: [22, 4]
Generated Node #2: [22, 4] from Operation: 72/18=4
Current State: 90:[22, 4], Operations: ['72/18=4']
Exploring Operation: 72+22=94, Resulting Numbers: [4, 94]
Generated Node #3: [4, 94] from Operation: 72+22=94
Current State: 90:[4, 94], Operations: ['72/18=4', '72+22=94']
Exploring Operation: 94-4=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[72, 18, 72, 22], Operations: []
Exploring Operation: 72/72=1, Resulting Numbers: [18, 22, 1]
Generated Node #0,0: 90:[18, 22, 1] Operation: 72/72=1
Exploring Operation: 72+18=90, Resulting Numbers: [72, 22, 90]
Generated Node #0,1: 90:[72, 22, 90] Operation: 72+18=90
Exploring Operation: 72-72=0, Resulting Numbers: [18, 22, 0]
Generated Node #0,2: 90:[18, 22, 0] Operation: 72-72=0
Exploring Operation: 72+22=94, Resulting Numbers: [18, 72, 94]
Generated Node #0,3: 90:[18, 72, 94] Operation: 72+22=94
Moving to Node #0,0
Current State: 90:[18, 22, 1], Operations: ['72/72=1']
Exploring Operation: 22-18=4, Resulting Numbers: [1, 4]
Generated Node #0,0,0: 90:[1, 4] Operation: 22-18=4
Exploring Operation: 18*1=18, Resulting Numbers: [22, 18]
Generated Node #0,0,1: 90:[22, 18] Operation: 18*1=18
Exploring Operation: 22-1=21, Resulting Numbers: [18, 21]
Generated Node #0,0,2: 90:[18, 21] Operation: 22-1=21
Exploring Operation: 18/1=18, Resulting Numbers: [22, 18]
Generated Node #0,0,3: 90:[22, 18] Operation: 18/1=18
Moving to Node #0,2
Current State: 90:[18, 22, 0], Operations: ['72-72=0']
Exploring Operation: 18+0=18, Resulting Numbers: [22, 18]
Generated Node #0,2,0: 90:[22, 18] Operation: 18+0=18
Exploring Operation: 22*0=0, Resulting Numbers: [18, 0]
Generated Node #0,2,1: 90:[18, 0] Operation: 22*0=0
Exploring Operation: 22-18=4, Resulting Numbers: [0, 4]
Generated Node #0,2,2: 90:[0, 4] Operation: 22-18=4
Exploring Operation: 18-0=18, Resulting Numbers: [22, 18]
Generated Node #0,2,3: 90:[22, 18] Operation: 18-0=18
Moving to Node #0,3
Current State: 90:[18, 72, 94], Operations: ['72+22=94']
Exploring Operation: 72/18=4, Resulting Numbers: [94, 4]
Generated Node #0,3,0: 90:[94, 4] Operation: 72/18=4
Exploring Operation: 94-72=22, Resulting Numbers: [18, 22]
Generated Node #0,3,1: 90:[18, 22] Operation: 94-72=22
Exploring Operation: 72-18=54, Resulting Numbers: [94, 54]
Generated Node #0,3,2: 90:[94, 54] Operation: 72-18=54
Exploring Operation: 18+72=90, Resulting Numbers: [94, 90]
Generated Node #0,3,3: 90:[94, 90] Operation: 18+72=90
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 90:[18, 22], Operations: ['72+22=94', '94-72=22']
Exploring Operation: 18*22=396, Resulting Numbers: [396]
396,90 unequal: No Solution
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,90 unequal: No Solution
Exploring Operation: 18+22=40, Resulting Numbers: [40]
40,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,3,3
Current State: 90:[94, 90], Operations: ['72+22=94', '18+72=90']
Exploring Operation: 94+90=184, Resulting Numbers: [184]
184,90 unequal: No Solution
Exploring Operation: 94*90=8460, Resulting Numbers: [8460]
8460,90 unequal: No Solution
Exploring Operation: 94-90=4, Resulting Numbers: [4]
4,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,3,0
Current State: 90:[94, 4], Operations: ['72+22=94', '72/18=4']
Exploring Operation: 94*4=376, Resulting Numbers: [376]
376,90 unequal: No Solution
Exploring Operation: 94-4=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[72, 18, 72, 22], Operations: []
Exploring Operation: 72+22=94, Resulting Numbers: [18, 72, 94]
Generated Node #0,3: 90:[18, 72, 94] Operation: 72+22=94
Moving to Node #0,3
Current State: 90:[18, 72, 94], Operations: ['72+22=94']
Exploring Operation: 72/18=4, Resulting Numbers: [94, 4]
Generated Node #0,3,0: 90:[94, 4] Operation: 72/18=4
Moving to Node #0,3,0
Current State: 90:[94, 4], Operations: ['72+22=94', '72/18=4']
Exploring Operation: 94-4=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 | hs_4 | sum_heuristic |
[
99,
96,
25,
45
] | 67 | [
"99-96=3",
"25+45=70",
"70-3=67"
] | Current State: 67:[99, 96, 25, 45], Operations: []
Exploring Operation: 99-96=3, Resulting Numbers: [25, 45, 3]
Generated Node #2: [25, 45, 3] from Operation: 99-96=3
Current State: 67:[25, 45, 3], Operations: ['99-96=3']
Exploring Operation: 25+45=70, Resulting Numbers: [3, 70]
Generated Node #3: [3, 70] from Operation: 25+45=70
Current State: 67:[3, 70], Operations: ['99-96=3', '25+45=70']
Exploring Operation: 70-3=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[99, 96, 25, 45], Operations: []
Exploring Operation: 99-25=74, Resulting Numbers: [96, 45, 74]
Generated Node #0,0: 67:[96, 45, 74] Operation: 99-25=74
Exploring Operation: 96-25=71, Resulting Numbers: [99, 45, 71]
Generated Node #0,1: 67:[99, 45, 71] Operation: 96-25=71
Moving to Node #0,0
Current State: 67:[96, 45, 74], Operations: ['99-25=74']
Exploring Operation: 96-74=22, Resulting Numbers: [45, 22]
Generated Node #0,0,0: 67:[45, 22] Operation: 96-74=22
Exploring Operation: 96-45=51, Resulting Numbers: [74, 51]
Generated Node #0,0,1: 67:[74, 51] Operation: 96-45=51
Moving to Node #0,1
Current State: 67:[99, 45, 71], Operations: ['96-25=71']
Exploring Operation: 99-71=28, Resulting Numbers: [45, 28]
Generated Node #0,1,0: 67:[45, 28] Operation: 99-71=28
Exploring Operation: 99-45=54, Resulting Numbers: [71, 54]
Generated Node #0,1,1: 67:[71, 54] Operation: 99-45=54
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 67:[71, 54], Operations: ['96-25=71', '99-45=54']
Exploring Operation: 71+54=125, Resulting Numbers: [125]
125,67 unequal: No Solution
Exploring Operation: 71-54=17, Resulting Numbers: [17]
17,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 67:[45, 28], Operations: ['96-25=71', '99-71=28']
Exploring Operation: 45+28=73, Resulting Numbers: [73]
73,67 unequal: No Solution
Exploring Operation: 45-28=17, Resulting Numbers: [17]
17,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 67:[74, 51], Operations: ['99-25=74', '96-45=51']
Exploring Operation: 74-51=23, Resulting Numbers: [23]
23,67 unequal: No Solution
Exploring Operation: 74+51=125, Resulting Numbers: [125]
125,67 unequal: No Solution
Moving to Node #0,0,0
Current State: 67:[45, 22], Operations: ['99-25=74', '96-74=22']
Exploring Operation: 45-22=23, Resulting Numbers: [23]
23,67 unequal: No Solution
Exploring Operation: 45+22=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[99, 96, 25, 45], Operations: []
Exploring Operation: 99-25=74, Resulting Numbers: [96, 45, 74]
Generated Node #0,0: 67:[96, 45, 74] Operation: 99-25=74
Moving to Node #0,0
Current State: 67:[96, 45, 74], Operations: ['99-25=74']
Exploring Operation: 96-74=22, Resulting Numbers: [45, 22]
Generated Node #0,0,0: 67:[45, 22] Operation: 96-74=22
Moving to Node #0,0,0
Current State: 67:[45, 22], Operations: ['99-25=74', '96-74=22']
Exploring Operation: 45+22=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 0.984375 | hs_2 | mult_heuristic |
[
77,
11,
67,
44
] | 23 | [
"77+11=88",
"67+44=111",
"111-88=23"
] | Current State: 23:[77, 11, 67, 44], Operations: []
Exploring Operation: 77+11=88, Resulting Numbers: [67, 44, 88]
Generated Node #2: [67, 44, 88] from Operation: 77+11=88
Current State: 23:[67, 44, 88], Operations: ['77+11=88']
Exploring Operation: 67+44=111, Resulting Numbers: [88, 111]
Generated Node #3: [88, 111] from Operation: 67+44=111
Current State: 23:[88, 111], Operations: ['77+11=88', '67+44=111']
Exploring Operation: 111-88=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[77, 11, 67, 44], Operations: []
Exploring Operation: 77-44=33, Resulting Numbers: [11, 67, 33]
Generated Node #0,0: 23:[11, 67, 33] Operation: 77-44=33
Exploring Operation: 67-44=23, Resulting Numbers: [77, 11, 23]
Generated Node #0,1: 23:[77, 11, 23] Operation: 67-44=23
Exploring Operation: 77-67=10, Resulting Numbers: [11, 44, 10]
Generated Node #0,2: 23:[11, 44, 10] Operation: 77-67=10
Moving to Node #0,2
Current State: 23:[11, 44, 10], Operations: ['77-67=10']
Exploring Operation: 44-10=34, Resulting Numbers: [11, 34]
Generated Node #0,2,0: 23:[11, 34] Operation: 44-10=34
Exploring Operation: 11+10=21, Resulting Numbers: [44, 21]
Generated Node #0,2,1: 23:[44, 21] Operation: 11+10=21
Exploring Operation: 44-11=33, Resulting Numbers: [10, 33]
Generated Node #0,2,2: 23:[10, 33] Operation: 44-11=33
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 23:[11, 34], Operations: ['77-67=10', '44-10=34']
Exploring Operation: 11*34=374, Resulting Numbers: [374]
374,23 unequal: No Solution
Exploring Operation: 11+34=45, Resulting Numbers: [45]
45,23 unequal: No Solution
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[77, 11, 67, 44], Operations: []
Exploring Operation: 77-67=10, Resulting Numbers: [11, 44, 10]
Generated Node #0,2: 23:[11, 44, 10] Operation: 77-67=10
Moving to Node #0,2
Current State: 23:[11, 44, 10], Operations: ['77-67=10']
Exploring Operation: 44-10=34, Resulting Numbers: [11, 34]
Generated Node #0,2,0: 23:[11, 34] Operation: 44-10=34
Moving to Node #0,2,0
Current State: 23:[11, 34], Operations: ['77-67=10', '44-10=34']
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
65,
13,
11,
56
] | 33 | [
"65+13=78",
"56-11=45",
"78-45=33"
] | Current State: 33:[65, 13, 11, 56], Operations: []
Exploring Operation: 65+13=78, Resulting Numbers: [11, 56, 78]
Generated Node #2: [11, 56, 78] from Operation: 65+13=78
Current State: 33:[11, 56, 78], Operations: ['65+13=78']
Exploring Operation: 56-11=45, Resulting Numbers: [78, 45]
Generated Node #3: [78, 45] from Operation: 56-11=45
Current State: 33:[78, 45], Operations: ['65+13=78', '56-11=45']
Exploring Operation: 78-45=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[65, 13, 11, 56], Operations: []
Exploring Operation: 65-13=52, Resulting Numbers: [11, 56, 52]
Generated Node #0,0: 33:[11, 56, 52] Operation: 65-13=52
Exploring Operation: 65/13=5, Resulting Numbers: [11, 56, 5]
Generated Node #0,1: 33:[11, 56, 5] Operation: 65/13=5
Exploring Operation: 65-56=9, Resulting Numbers: [13, 11, 9]
Generated Node #0,2: 33:[13, 11, 9] Operation: 65-56=9
Exploring Operation: 56-13=43, Resulting Numbers: [65, 11, 43]
Generated Node #0,3: 33:[65, 11, 43] Operation: 56-13=43
Moving to Node #0,2
Current State: 33:[13, 11, 9], Operations: ['65-56=9']
Exploring Operation: 13-9=4, Resulting Numbers: [11, 4]
Generated Node #0,2,0: 33:[11, 4] Operation: 13-9=4
Exploring Operation: 13-11=2, Resulting Numbers: [9, 2]
Generated Node #0,2,1: 33:[9, 2] Operation: 13-11=2
Exploring Operation: 11-9=2, Resulting Numbers: [13, 2]
Generated Node #0,2,2: 33:[13, 2] Operation: 11-9=2
Exploring Operation: 13+11=24, Resulting Numbers: [9, 24]
Generated Node #0,2,3: 33:[9, 24] Operation: 13+11=24
Moving to Node #0,1
Current State: 33:[11, 56, 5], Operations: ['65/13=5']
Exploring Operation: 11-5=6, Resulting Numbers: [56, 6]
Generated Node #0,1,0: 33:[56, 6] Operation: 11-5=6
Exploring Operation: 11+5=16, Resulting Numbers: [56, 16]
Generated Node #0,1,1: 33:[56, 16] Operation: 11+5=16
Exploring Operation: 56-11=45, Resulting Numbers: [5, 45]
Generated Node #0,1,2: 33:[5, 45] Operation: 56-11=45
Exploring Operation: 56-5=51, Resulting Numbers: [11, 51]
Generated Node #0,1,3: 33:[11, 51] Operation: 56-5=51
Moving to Node #0,3
Current State: 33:[65, 11, 43], Operations: ['56-13=43']
Exploring Operation: 65-11=54, Resulting Numbers: [43, 54]
Generated Node #0,3,0: 33:[43, 54] Operation: 65-11=54
Exploring Operation: 65+11=76, Resulting Numbers: [43, 76]
Generated Node #0,3,1: 33:[43, 76] Operation: 65+11=76
Exploring Operation: 65-43=22, Resulting Numbers: [11, 22]
Generated Node #0,3,2: 33:[11, 22] Operation: 65-43=22
Exploring Operation: 43-11=32, Resulting Numbers: [65, 32]
Generated Node #0,3,3: 33:[65, 32] Operation: 43-11=32
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 33:[11, 22], Operations: ['56-13=43', '65-43=22']
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,33 unequal: No Solution
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Exploring Operation: 11*22=242, Resulting Numbers: [242]
242,33 unequal: No Solution
Exploring Operation: 11+22=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[65, 13, 11, 56], Operations: []
Exploring Operation: 56-13=43, Resulting Numbers: [65, 11, 43]
Generated Node #0,3: 33:[65, 11, 43] Operation: 56-13=43
Moving to Node #0,3
Current State: 33:[65, 11, 43], Operations: ['56-13=43']
Exploring Operation: 65-43=22, Resulting Numbers: [11, 22]
Generated Node #0,3,2: 33:[11, 22] Operation: 65-43=22
Moving to Node #0,3,2
Current State: 33:[11, 22], Operations: ['56-13=43', '65-43=22']
Exploring Operation: 11+22=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_4 | sum_heuristic |
[
44,
28,
20,
32
] | 20 | [
"44+28=72",
"20+32=52",
"72-52=20"
] | Current State: 20:[44, 28, 20, 32], Operations: []
Exploring Operation: 44+28=72, Resulting Numbers: [20, 32, 72]
Generated Node #2: [20, 32, 72] from Operation: 44+28=72
Current State: 20:[20, 32, 72], Operations: ['44+28=72']
Exploring Operation: 20+32=52, Resulting Numbers: [72, 52]
Generated Node #3: [72, 52] from Operation: 20+32=52
Current State: 20:[72, 52], Operations: ['44+28=72', '20+32=52']
Exploring Operation: 72-52=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[44, 28, 20, 32], Operations: []
Exploring Operation: 44-28=16, Resulting Numbers: [20, 32, 16]
Generated Node #0,0: 20:[20, 32, 16] Operation: 44-28=16
Exploring Operation: 44-32=12, Resulting Numbers: [28, 20, 12]
Generated Node #0,1: 20:[28, 20, 12] Operation: 44-32=12
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[28, 20, 12], Operations: ['44-32=12']
Exploring Operation: 28-12=16, Resulting Numbers: [20, 16]
Generated Node #0,1,0: 20:[20, 16] Operation: 28-12=16
Exploring Operation: 28-20=8, Resulting Numbers: [12, 8]
Generated Node #0,1,1: 20:[12, 8] Operation: 28-20=8
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 20:[20, 16], Operations: ['44-32=12', '28-12=16']
Exploring Operation: 20-16=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 20+16=36, Resulting Numbers: [36]
36,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 20:[12, 8], Operations: ['44-32=12', '28-20=8']
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,20 unequal: No Solution
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[44, 28, 20, 32], Operations: []
Exploring Operation: 44-32=12, Resulting Numbers: [28, 20, 12]
Generated Node #0,1: 20:[28, 20, 12] Operation: 44-32=12
Moving to Node #0,1
Current State: 20:[28, 20, 12], Operations: ['44-32=12']
Exploring Operation: 28-20=8, Resulting Numbers: [12, 8]
Generated Node #0,1,1: 20:[12, 8] Operation: 28-20=8
Moving to Node #0,1,1
Current State: 20:[12, 8], Operations: ['44-32=12', '28-20=8']
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
48,
82,
14,
14
] | 16 | [
"82+14=96",
"96/48=2",
"14+2=16"
] | Current State: 16:[48, 82, 14, 14], Operations: []
Exploring Operation: 82+14=96, Resulting Numbers: [48, 96]
Generated Node #2: [48, 96] from Operation: 82+14=96
Current State: 16:[48, 96], Operations: ['82+14=96']
Exploring Operation: 96/48=2, Resulting Numbers: [2]
2,16 equal: Goal Reached
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[48, 82, 14, 14], Operations: []
Exploring Operation: 82-48=34, Resulting Numbers: [14, 14, 34]
Generated Node #0,0: 16:[14, 14, 34] Operation: 82-48=34
Exploring Operation: 48-14=34, Resulting Numbers: [82, 14, 34]
Generated Node #0,1: 16:[82, 14, 34] Operation: 48-14=34
Moving to Node #0,0
Current State: 16:[14, 14, 34], Operations: ['82-48=34']
Exploring Operation: 34-14=20, Resulting Numbers: [14, 20]
Generated Node #0,0,0: 16:[14, 20] Operation: 34-14=20
Exploring Operation: 34-14=20, Resulting Numbers: [14, 20]
Generated Node #0,0,1: 16:[14, 20] Operation: 34-14=20
Moving to Node #0,1
Current State: 16:[82, 14, 34], Operations: ['48-14=34']
Exploring Operation: 82-14=68, Resulting Numbers: [34, 68]
Generated Node #0,1,0: 16:[34, 68] Operation: 82-14=68
Exploring Operation: 82-34=48, Resulting Numbers: [14, 48]
Generated Node #0,1,1: 16:[14, 48] Operation: 82-34=48
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 16:[14, 48], Operations: ['48-14=34', '82-34=48']
Exploring Operation: 14+48=62, Resulting Numbers: [62]
62,16 unequal: No Solution
Exploring Operation: 48-14=34, Resulting Numbers: [34]
34,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 16:[34, 68], Operations: ['48-14=34', '82-14=68']
Exploring Operation: 68/34=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 68-34=34, Resulting Numbers: [34]
34,16 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: 16:[14, 20], Operations: ['82-48=34', '34-14=20']
Exploring Operation: 14+20=34, Resulting Numbers: [34]
34,16 unequal: No Solution
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,16 unequal: No Solution
Moving to Node #0,0,1
Current State: 16:[14, 20], Operations: ['82-48=34', '34-14=20']
Exploring Operation: 14+20=34, Resulting Numbers: [34]
34,16 unequal: No Solution
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,16 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
38,
53,
17,
24
] | 57 | [
"53-17=36",
"38*36=1368",
"1368/24=57"
] | Current State: 57:[38, 53, 17, 24], Operations: []
Exploring Operation: 53-17=36, Resulting Numbers: [38, 24, 36]
Generated Node #2: [38, 24, 36] from Operation: 53-17=36
Current State: 57:[38, 24, 36], Operations: ['53-17=36']
Exploring Operation: 38*36=1368, Resulting Numbers: [24, 1368]
Generated Node #3: [24, 1368] from Operation: 38*36=1368
Current State: 57:[24, 1368], Operations: ['53-17=36', '38*36=1368']
Exploring Operation: 1368/24=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[38, 53, 17, 24], Operations: []
Exploring Operation: 53-38=15, Resulting Numbers: [17, 24, 15]
Generated Node #0,0: 57:[17, 24, 15] Operation: 53-38=15
Exploring Operation: 38+17=55, Resulting Numbers: [53, 24, 55]
Generated Node #0,1: 57:[53, 24, 55] Operation: 38+17=55
Exploring Operation: 38-17=21, Resulting Numbers: [53, 24, 21]
Generated Node #0,2: 57:[53, 24, 21] Operation: 38-17=21
Exploring Operation: 38+24=62, Resulting Numbers: [53, 17, 62]
Generated Node #0,3: 57:[53, 17, 62] Operation: 38+24=62
Exploring Operation: 38-24=14, Resulting Numbers: [53, 17, 14]
Generated Node #0,4: 57:[53, 17, 14] Operation: 38-24=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[17, 24, 15], Operations: ['53-38=15']
Exploring Operation: 24-15=9, Resulting Numbers: [17, 9]
Generated Node #0,0,0: 57:[17, 9] Operation: 24-15=9
Exploring Operation: 17+24=41, Resulting Numbers: [15, 41]
Generated Node #0,0,1: 57:[15, 41] Operation: 17+24=41
Exploring Operation: 17+15=32, Resulting Numbers: [24, 32]
Generated Node #0,0,2: 57:[24, 32] Operation: 17+15=32
Exploring Operation: 17-15=2, Resulting Numbers: [24, 2]
Generated Node #0,0,3: 57:[24, 2] Operation: 17-15=2
Exploring Operation: 24-17=7, Resulting Numbers: [15, 7]
Generated Node #0,0,4: 57:[15, 7] Operation: 24-17=7
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 57:[24, 2], Operations: ['53-38=15', '17-15=2']
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,57 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,57 unequal: No Solution
Exploring Operation: 24*2=48, Resulting Numbers: [48]
48,57 unequal: No Solution
No 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: 57:[17, 9], Operations: ['53-38=15', '24-15=9']
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 17+9=26, Resulting Numbers: [26]
26,57 unequal: No Solution
Exploring Operation: 17*9=153, Resulting Numbers: [153]
153,57 unequal: No Solution
No 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: 57:[15, 7], Operations: ['53-38=15', '24-17=7']
Exploring Operation: 15*7=105, Resulting Numbers: [105]
105,57 unequal: No Solution
Exploring Operation: 15+7=22, Resulting Numbers: [22]
22,57 unequal: No Solution
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,57 unequal: No Solution
No 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: 57:[24, 32], Operations: ['53-38=15', '17+15=32']
Exploring Operation: 24*32=768, Resulting Numbers: [768]
768,57 unequal: No Solution
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 24+32=56, Resulting Numbers: [56]
56,57 unequal: No Solution
No 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: 57:[15, 41], Operations: ['53-38=15', '17+24=41']
Exploring Operation: 15*41=615, Resulting Numbers: [615]
615,57 unequal: No Solution
Exploring Operation: 15+41=56, Resulting Numbers: [56]
56,57 unequal: No Solution
Exploring Operation: 41-15=26, Resulting Numbers: [26]
26,57 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: 57:[53, 24, 55], Operations: ['38+17=55']
Exploring Operation: 53-24=29, Resulting Numbers: [55, 29]
Generated Node #0,1,0: 57:[55, 29] Operation: 53-24=29
Exploring Operation: 24+55=79, Resulting Numbers: [53, 79]
Generated Node #0,1,1: 57:[53, 79] Operation: 24+55=79
Exploring Operation: 55-53=2, Resulting Numbers: [24, 2]
Generated Node #0,1,2: 57:[24, 2] Operation: 55-53=2
Exploring Operation: 55-24=31, Resulting Numbers: [53, 31]
Generated Node #0,1,3: 57:[53, 31] Operation: 55-24=31
Exploring Operation: 53+24=77, Resulting Numbers: [55, 77]
Generated Node #0,1,4: 57:[55, 77] Operation: 53+24=77
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 57:[24, 2], Operations: ['38+17=55', '55-53=2']
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,57 unequal: No Solution
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,57 unequal: No Solution
Exploring Operation: 24*2=48, Resulting Numbers: [48]
48,57 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,57 unequal: No Solution
No 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: 57:[55, 29], Operations: ['38+17=55', '53-24=29']
Exploring Operation: 55-29=26, Resulting Numbers: [26]
26,57 unequal: No Solution
Exploring Operation: 55+29=84, Resulting Numbers: [84]
84,57 unequal: No Solution
Exploring Operation: 55*29=1595, Resulting Numbers: [1595]
1595,57 unequal: No Solution
No 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: 57:[53, 31], Operations: ['38+17=55', '55-24=31']
Exploring Operation: 53+31=84, Resulting Numbers: [84]
84,57 unequal: No Solution
Exploring Operation: 53-31=22, Resulting Numbers: [22]
22,57 unequal: No Solution
Exploring Operation: 53*31=1643, Resulting Numbers: [1643]
1643,57 unequal: No Solution
No 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: 57:[55, 77], Operations: ['38+17=55', '53+24=77']
Exploring Operation: 55*77=4235, Resulting Numbers: [4235]
4235,57 unequal: No Solution
Exploring Operation: 55+77=132, Resulting Numbers: [132]
132,57 unequal: No Solution
Exploring Operation: 77-55=22, Resulting Numbers: [22]
22,57 unequal: No Solution
No 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: 57:[53, 79], Operations: ['38+17=55', '24+55=79']
Exploring Operation: 79-53=26, Resulting Numbers: [26]
26,57 unequal: No Solution
Exploring Operation: 53+79=132, Resulting Numbers: [132]
132,57 unequal: No Solution
Exploring Operation: 53*79=4187, Resulting Numbers: [4187]
4187,57 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: 57:[53, 24, 21], Operations: ['38-17=21']
Exploring Operation: 53-21=32, Resulting Numbers: [24, 32]
Generated Node #0,2,0: 57:[24, 32] Operation: 53-21=32
Exploring Operation: 53-24=29, Resulting Numbers: [21, 29]
Generated Node #0,2,1: 57:[21, 29] Operation: 53-24=29
Exploring Operation: 24-21=3, Resulting Numbers: [53, 3]
Generated Node #0,2,2: 57:[53, 3] Operation: 24-21=3
Exploring Operation: 24+21=45, Resulting Numbers: [53, 45]
Generated Node #0,2,3: 57:[53, 45] Operation: 24+21=45
Exploring Operation: 53+24=77, Resulting Numbers: [21, 77]
Generated Node #0,2,4: 57:[21, 77] Operation: 53+24=77
Moving to Node #0,2,2
Current State: 57:[53, 3], Operations: ['38-17=21', '24-21=3']
Exploring Operation: 53+3=56, Resulting Numbers: [56]
56,57 unequal: No Solution
Exploring Operation: 53*3=159, Resulting Numbers: [159]
159,57 unequal: No Solution
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,57 unequal: No Solution
Moving to Node #0,2,1
Current State: 57:[21, 29], Operations: ['38-17=21', '53-24=29']
Exploring Operation: 29-21=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 21+29=50, Resulting Numbers: [50]
50,57 unequal: No Solution
Exploring Operation: 21*29=609, Resulting Numbers: [609]
609,57 unequal: No Solution
Moving to Node #0,2,3
Current State: 57:[53, 45], Operations: ['38-17=21', '24+21=45']
Exploring Operation: 53-45=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 53*45=2385, Resulting Numbers: [2385]
2385,57 unequal: No Solution
Exploring Operation: 53+45=98, Resulting Numbers: [98]
98,57 unequal: No Solution
Moving to Node #0,2,0
Current State: 57:[24, 32], Operations: ['38-17=21', '53-21=32']
Exploring Operation: 24*32=768, Resulting Numbers: [768]
768,57 unequal: No Solution
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 24+32=56, Resulting Numbers: [56]
56,57 unequal: No Solution
Moving to Node #0,2,4
Current State: 57:[21, 77], Operations: ['38-17=21', '53+24=77']
Exploring Operation: 21*77=1617, Resulting Numbers: [1617]
1617,57 unequal: No Solution
Exploring Operation: 21+77=98, Resulting Numbers: [98]
98,57 unequal: No Solution
Exploring Operation: 77-21=56, Resulting Numbers: [56]
56,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,3
Current State: 57:[53, 17, 62], Operations: ['38+24=62']
Exploring Operation: 53-17=36, Resulting Numbers: [62, 36]
Generated Node #0,3,0: 57:[62, 36] Operation: 53-17=36
Exploring Operation: 17+62=79, Resulting Numbers: [53, 79]
Generated Node #0,3,1: 57:[53, 79] Operation: 17+62=79
Exploring Operation: 62-53=9, Resulting Numbers: [17, 9]
Generated Node #0,3,2: 57:[17, 9] Operation: 62-53=9
Exploring Operation: 62-17=45, Resulting Numbers: [53, 45]
Generated Node #0,3,3: 57:[53, 45] Operation: 62-17=45
Exploring Operation: 53+17=70, Resulting Numbers: [62, 70]
Generated Node #0,3,4: 57:[62, 70] Operation: 53+17=70
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 57:[17, 9], Operations: ['38+24=62', '62-53=9']
Exploring Operation: 17*9=153, Resulting Numbers: [153]
153,57 unequal: No Solution
Exploring Operation: 17+9=26, Resulting Numbers: [26]
26,57 unequal: No Solution
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,57 unequal: No Solution
No 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: 57:[53, 45], Operations: ['38+24=62', '62-17=45']
Exploring Operation: 53-45=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 53*45=2385, Resulting Numbers: [2385]
2385,57 unequal: No Solution
Exploring Operation: 53+45=98, Resulting Numbers: [98]
98,57 unequal: No Solution
No 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: 57:[62, 70], Operations: ['38+24=62', '53+17=70']
Exploring Operation: 62+70=132, Resulting Numbers: [132]
132,57 unequal: No Solution
Exploring Operation: 62*70=4340, Resulting Numbers: [4340]
4340,57 unequal: No Solution
Exploring Operation: 70-62=8, Resulting Numbers: [8]
8,57 unequal: No Solution
No 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: 57:[62, 36], Operations: ['38+24=62', '53-17=36']
Exploring Operation: 62*36=2232, Resulting Numbers: [2232]
2232,57 unequal: No Solution
Exploring Operation: 62+36=98, Resulting Numbers: [98]
98,57 unequal: No Solution
Exploring Operation: 62-36=26, Resulting Numbers: [26]
26,57 unequal: No Solution
No 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: 57:[53, 79], Operations: ['38+24=62', '17+62=79']
Exploring Operation: 53+79=132, Resulting Numbers: [132]
132,57 unequal: No Solution
Exploring Operation: 79-53=26, Resulting Numbers: [26]
26,57 unequal: No Solution
Exploring Operation: 53*79=4187, Resulting Numbers: [4187]
4187,57 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: 57:[53, 17, 14], Operations: ['38-24=14']
Exploring Operation: 17-14=3, Resulting Numbers: [53, 3]
Generated Node #0,4,0: 57:[53, 3] Operation: 17-14=3
Exploring Operation: 53+17=70, Resulting Numbers: [14, 70]
Generated Node #0,4,1: 57:[14, 70] Operation: 53+17=70
Exploring Operation: 53+14=67, Resulting Numbers: [17, 67]
Generated Node #0,4,2: 57:[17, 67] Operation: 53+14=67
Exploring Operation: 53-14=39, Resulting Numbers: [17, 39]
Generated Node #0,4,3: 57:[17, 39] Operation: 53-14=39
Exploring Operation: 17+14=31, Resulting Numbers: [53, 31]
Generated Node #0,4,4: 57:[53, 31] Operation: 17+14=31
Moving to Node #0,4,0
Current State: 57:[53, 3], Operations: ['38-24=14', '17-14=3']
Exploring Operation: 53+3=56, Resulting Numbers: [56]
56,57 unequal: No Solution
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,57 unequal: No Solution
Exploring Operation: 53*3=159, Resulting Numbers: [159]
159,57 unequal: No Solution
Moving to Node #0,4,2
Current State: 57:[17, 67], Operations: ['38-24=14', '53+14=67']
Exploring Operation: 17*67=1139, Resulting Numbers: [1139]
1139,57 unequal: No Solution
Exploring Operation: 67-17=50, Resulting Numbers: [50]
50,57 unequal: No Solution
Exploring Operation: 17+67=84, Resulting Numbers: [84]
84,57 unequal: No Solution
Moving to Node #0,4,4
Current State: 57:[53, 31], Operations: ['38-24=14', '17+14=31']
Exploring Operation: 53-31=22, Resulting Numbers: [22]
22,57 unequal: No Solution
Exploring Operation: 53+31=84, Resulting Numbers: [84]
84,57 unequal: No Solution
Exploring Operation: 53*31=1643, Resulting Numbers: [1643]
1643,57 unequal: No Solution
Moving to Node #0,4,1
Current State: 57:[14, 70], Operations: ['38-24=14', '53+17=70']
Exploring Operation: 14*70=980, Resulting Numbers: [980]
980,57 unequal: No Solution
Exploring Operation: 70/14=5, Resulting Numbers: [5]
5,57 unequal: No Solution
Exploring Operation: 14+70=84, Resulting Numbers: [84]
84,57 unequal: No Solution
Exploring Operation: 70-14=56, Resulting Numbers: [56]
56,57 unequal: No Solution
Moving to Node #0,4,3
Current State: 57:[17, 39], Operations: ['38-24=14', '53-14=39']
Exploring Operation: 39-17=22, Resulting Numbers: [22]
22,57 unequal: No Solution
Exploring Operation: 17*39=663, Resulting Numbers: [663]
663,57 unequal: No Solution
Exploring Operation: 17+39=56, Resulting Numbers: [56]
56,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
67,
60,
30,
55
] | 18 | [
"67-60=7",
"55-30=25",
"25-7=18"
] | Current State: 18:[67, 60, 30, 55], Operations: []
Exploring Operation: 67-60=7, Resulting Numbers: [30, 55, 7]
Generated Node #2: [30, 55, 7] from Operation: 67-60=7
Current State: 18:[30, 55, 7], Operations: ['67-60=7']
Exploring Operation: 55-30=25, Resulting Numbers: [7, 25]
Generated Node #3: [7, 25] from Operation: 55-30=25
Current State: 18:[7, 25], Operations: ['67-60=7', '55-30=25']
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[67, 60, 30, 55], Operations: []
Exploring Operation: 67-55=12, Resulting Numbers: [60, 30, 12]
Generated Node #0,0: 18:[60, 30, 12] Operation: 67-55=12
Exploring Operation: 60-55=5, Resulting Numbers: [67, 30, 5]
Generated Node #0,1: 18:[67, 30, 5] Operation: 60-55=5
Exploring Operation: 67-60=7, Resulting Numbers: [30, 55, 7]
Generated Node #0,2: 18:[30, 55, 7] Operation: 67-60=7
Moving to Node #0,2
Current State: 18:[30, 55, 7], Operations: ['67-60=7']
Exploring Operation: 30-7=23, Resulting Numbers: [55, 23]
Generated Node #0,2,0: 18:[55, 23] Operation: 30-7=23
Exploring Operation: 55-7=48, Resulting Numbers: [30, 48]
Generated Node #0,2,1: 18:[30, 48] Operation: 55-7=48
Exploring Operation: 55-30=25, Resulting Numbers: [7, 25]
Generated Node #0,2,2: 18:[7, 25] Operation: 55-30=25
Moving to Node #0,0
Current State: 18:[60, 30, 12], Operations: ['67-55=12']
Exploring Operation: 60-30=30, Resulting Numbers: [12, 30]
Generated Node #0,0,0: 18:[12, 30] Operation: 60-30=30
Exploring Operation: 60/30=2, Resulting Numbers: [12, 2]
Generated Node #0,0,1: 18:[12, 2] Operation: 60/30=2
Exploring Operation: 60/12=5, Resulting Numbers: [30, 5]
Generated Node #0,0,2: 18:[30, 5] Operation: 60/12=5
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 18:[12, 2], Operations: ['67-55=12', '60/30=2']
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,18 unequal: No Solution
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,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,0,2
Current State: 18:[30, 5], Operations: ['67-55=12', '60/12=5']
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,18 unequal: No Solution
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,18 unequal: No Solution
Exploring Operation: 30+5=35, Resulting Numbers: [35]
35,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,0,0
Current State: 18:[12, 30], Operations: ['67-55=12', '60-30=30']
Exploring Operation: 12*30=360, Resulting Numbers: [360]
360,18 unequal: No Solution
Exploring Operation: 12+30=42, Resulting Numbers: [42]
42,18 unequal: No Solution
Exploring Operation: 30-12=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[67, 60, 30, 55], Operations: []
Exploring Operation: 67-55=12, Resulting Numbers: [60, 30, 12]
Generated Node #0,0: 18:[60, 30, 12] Operation: 67-55=12
Moving to Node #0,0
Current State: 18:[60, 30, 12], Operations: ['67-55=12']
Exploring Operation: 60-30=30, Resulting Numbers: [12, 30]
Generated Node #0,0,0: 18:[12, 30] Operation: 60-30=30
Moving to Node #0,0,0
Current State: 18:[12, 30], Operations: ['67-55=12', '60-30=30']
Exploring Operation: 30-12=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_3 | mult_heuristic |
[
22,
8,
77,
4
] | 97 | [
"22+77=99",
"8/4=2",
"99-2=97"
] | Current State: 97:[22, 8, 77, 4], Operations: []
Exploring Operation: 22+77=99, Resulting Numbers: [8, 4, 99]
Generated Node #2: [8, 4, 99] from Operation: 22+77=99
Current State: 97:[8, 4, 99], Operations: ['22+77=99']
Exploring Operation: 8/4=2, Resulting Numbers: [99, 2]
Generated Node #3: [99, 2] from Operation: 8/4=2
Current State: 97:[99, 2], Operations: ['22+77=99', '8/4=2']
Exploring Operation: 99-2=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[22, 8, 77, 4], Operations: []
Exploring Operation: 22*4=88, Resulting Numbers: [8, 77, 88]
Generated Node #0,0: 97:[8, 77, 88] Operation: 22*4=88
Exploring Operation: 22+8=30, Resulting Numbers: [77, 4, 30]
Generated Node #0,1: 97:[77, 4, 30] Operation: 22+8=30
Exploring Operation: 8*4=32, Resulting Numbers: [22, 77, 32]
Generated Node #0,2: 97:[22, 77, 32] Operation: 8*4=32
Exploring Operation: 22+4=26, Resulting Numbers: [8, 77, 26]
Generated Node #0,3: 97:[8, 77, 26] Operation: 22+4=26
Moving to Node #0,0
Current State: 97:[8, 77, 88], Operations: ['22*4=88']
Exploring Operation: 8+88=96, Resulting Numbers: [77, 96]
Generated Node #0,0,0: 97:[77, 96] Operation: 8+88=96
Exploring Operation: 88-8=80, Resulting Numbers: [77, 80]
Generated Node #0,0,1: 97:[77, 80] Operation: 88-8=80
Exploring Operation: 8+77=85, Resulting Numbers: [88, 85]
Generated Node #0,0,2: 97:[88, 85] Operation: 8+77=85
Exploring Operation: 77-8=69, Resulting Numbers: [88, 69]
Generated Node #0,0,3: 97:[88, 69] Operation: 77-8=69
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[77, 96], Operations: ['22*4=88', '8+88=96']
Exploring Operation: 77+96=173, Resulting Numbers: [173]
173,97 unequal: No Solution
Exploring Operation: 96-77=19, Resulting Numbers: [19]
19,97 unequal: No Solution
Exploring Operation: 77*96=7392, Resulting Numbers: [7392]
7392,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,2
Current State: 97:[88, 85], Operations: ['22*4=88', '8+77=85']
Exploring Operation: 88+85=173, Resulting Numbers: [173]
173,97 unequal: No Solution
Exploring Operation: 88-85=3, Resulting Numbers: [3]
3,97 unequal: No Solution
Exploring Operation: 88*85=7480, Resulting Numbers: [7480]
7480,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:[77, 80], Operations: ['22*4=88', '88-8=80']
Exploring Operation: 77+80=157, Resulting Numbers: [157]
157,97 unequal: No Solution
Exploring Operation: 77*80=6160, Resulting Numbers: [6160]
6160,97 unequal: No Solution
Exploring Operation: 80-77=3, Resulting Numbers: [3]
3,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,3
Current State: 97:[88, 69], Operations: ['22*4=88', '77-8=69']
Exploring Operation: 88*69=6072, Resulting Numbers: [6072]
6072,97 unequal: No Solution
Exploring Operation: 88+69=157, Resulting Numbers: [157]
157,97 unequal: No Solution
Exploring Operation: 88-69=19, Resulting Numbers: [19]
19,97 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: 97:[22, 77, 32], Operations: ['8*4=32']
Exploring Operation: 77+32=109, Resulting Numbers: [22, 109]
Generated Node #0,2,0: 97:[22, 109] Operation: 77+32=109
Exploring Operation: 22+32=54, Resulting Numbers: [77, 54]
Generated Node #0,2,1: 97:[77, 54] Operation: 22+32=54
Exploring Operation: 77-22=55, Resulting Numbers: [32, 55]
Generated Node #0,2,2: 97:[32, 55] Operation: 77-22=55
Exploring Operation: 22+77=99, Resulting Numbers: [32, 99]
Generated Node #0,2,3: 97:[32, 99] Operation: 22+77=99
Moving to Node #0,3
Current State: 97:[8, 77, 26], Operations: ['22+4=26']
Exploring Operation: 8+77=85, Resulting Numbers: [26, 85]
Generated Node #0,3,0: 97:[26, 85] Operation: 8+77=85
Exploring Operation: 77+26=103, Resulting Numbers: [8, 103]
Generated Node #0,3,1: 97:[8, 103] Operation: 77+26=103
Exploring Operation: 8+26=34, Resulting Numbers: [77, 34]
Generated Node #0,3,2: 97:[77, 34] Operation: 8+26=34
Exploring Operation: 77-8=69, Resulting Numbers: [26, 69]
Generated Node #0,3,3: 97:[26, 69] Operation: 77-8=69
Moving to Node #0,1
Current State: 97:[77, 4, 30], Operations: ['22+8=30']
Exploring Operation: 77-4=73, Resulting Numbers: [30, 73]
Generated Node #0,1,0: 97:[30, 73] Operation: 77-4=73
Exploring Operation: 4+30=34, Resulting Numbers: [77, 34]
Generated Node #0,1,1: 97:[77, 34] Operation: 4+30=34
Exploring Operation: 4*30=120, Resulting Numbers: [77, 120]
Generated Node #0,1,2: 97:[77, 120] Operation: 4*30=120
Exploring Operation: 77+4=81, Resulting Numbers: [30, 81]
Generated Node #0,1,3: 97:[30, 81] Operation: 77+4=81
Moving to Node #0,1,2
Current State: 97:[77, 120], Operations: ['22+8=30', '4*30=120']
Exploring Operation: 120-77=43, Resulting Numbers: [43]
43,97 unequal: No Solution
Exploring Operation: 77+120=197, Resulting Numbers: [197]
197,97 unequal: No Solution
Exploring Operation: 77*120=9240, Resulting Numbers: [9240]
9240,97 unequal: No Solution
Moving to Node #0,2,1
Current State: 97:[77, 54], Operations: ['8*4=32', '22+32=54']
Exploring Operation: 77*54=4158, Resulting Numbers: [4158]
4158,97 unequal: No Solution
Exploring Operation: 77+54=131, Resulting Numbers: [131]
131,97 unequal: No Solution
Exploring Operation: 77-54=23, Resulting Numbers: [23]
23,97 unequal: No Solution
Moving to Node #0,2,3
Current State: 97:[32, 99], Operations: ['8*4=32', '22+77=99']
Exploring Operation: 32*99=3168, Resulting Numbers: [3168]
3168,97 unequal: No Solution
Exploring Operation: 32+99=131, Resulting Numbers: [131]
131,97 unequal: No Solution
Exploring Operation: 99-32=67, Resulting Numbers: [67]
67,97 unequal: No Solution
Moving to Node #0,3,2
Current State: 97:[77, 34], Operations: ['22+4=26', '8+26=34']
Exploring Operation: 77-34=43, Resulting Numbers: [43]
43,97 unequal: No Solution
Exploring Operation: 77*34=2618, Resulting Numbers: [2618]
2618,97 unequal: No Solution
Exploring Operation: 77+34=111, Resulting Numbers: [111]
111,97 unequal: No Solution
Moving to Node #0,1,3
Current State: 97:[30, 81], Operations: ['22+8=30', '77+4=81']
Exploring Operation: 30+81=111, Resulting Numbers: [111]
111,97 unequal: No Solution
Exploring Operation: 30*81=2430, Resulting Numbers: [2430]
2430,97 unequal: No Solution
Exploring Operation: 81-30=51, Resulting Numbers: [51]
51,97 unequal: No Solution
Moving to Node #0,3,0
Current State: 97:[26, 85], Operations: ['22+4=26', '8+77=85']
Exploring Operation: 26+85=111, Resulting Numbers: [111]
111,97 unequal: No Solution
Exploring Operation: 26*85=2210, Resulting Numbers: [2210]
2210,97 unequal: No Solution
Exploring Operation: 85-26=59, Resulting Numbers: [59]
59,97 unequal: No Solution
Moving to Node #0,1,1
Current State: 97:[77, 34], Operations: ['22+8=30', '4+30=34']
Exploring Operation: 77+34=111, Resulting Numbers: [111]
111,97 unequal: No Solution
Exploring Operation: 77*34=2618, Resulting Numbers: [2618]
2618,97 unequal: No Solution
Exploring Operation: 77-34=43, Resulting Numbers: [43]
43,97 unequal: No Solution
Moving to Node #0,2,0
Current State: 97:[22, 109], Operations: ['8*4=32', '77+32=109']
Exploring Operation: 22+109=131, Resulting Numbers: [131]
131,97 unequal: No Solution
Exploring Operation: 22*109=2398, Resulting Numbers: [2398]
2398,97 unequal: No Solution
Exploring Operation: 109-22=87, Resulting Numbers: [87]
87,97 unequal: No Solution
Moving to Node #0,1,0
Current State: 97:[30, 73], Operations: ['22+8=30', '77-4=73']
Exploring Operation: 30*73=2190, Resulting Numbers: [2190]
2190,97 unequal: No Solution
Exploring Operation: 30+73=103, Resulting Numbers: [103]
103,97 unequal: No Solution
Exploring Operation: 73-30=43, Resulting Numbers: [43]
43,97 unequal: No Solution
Moving to Node #0,3,1
Current State: 97:[8, 103], Operations: ['22+4=26', '77+26=103']
Exploring Operation: 8+103=111, Resulting Numbers: [111]
111,97 unequal: No Solution
Exploring Operation: 103-8=95, Resulting Numbers: [95]
95,97 unequal: No Solution
Exploring Operation: 8*103=824, Resulting Numbers: [824]
824,97 unequal: No Solution
Moving to Node #0,3,3
Current State: 97:[26, 69], Operations: ['22+4=26', '77-8=69']
Exploring Operation: 26*69=1794, Resulting Numbers: [1794]
1794,97 unequal: No Solution
Exploring Operation: 26+69=95, Resulting Numbers: [95]
95,97 unequal: No Solution
Exploring Operation: 69-26=43, Resulting Numbers: [43]
43,97 unequal: No Solution
Moving to Node #0,2,2
Current State: 97:[32, 55], Operations: ['8*4=32', '77-22=55']
Exploring Operation: 55-32=23, Resulting Numbers: [23]
23,97 unequal: No Solution
Exploring Operation: 32*55=1760, Resulting Numbers: [1760]
1760,97 unequal: No Solution
Exploring Operation: 32+55=87, Resulting Numbers: [87]
87,97 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
17,
79,
6,
83
] | 74 | [
"83-79=4",
"17*4=68",
"6+68=74"
] | Current State: 74:[17, 79, 6, 83], Operations: []
Exploring Operation: 83-79=4, Resulting Numbers: [17, 6, 4]
Generated Node #2: [17, 6, 4] from Operation: 83-79=4
Current State: 74:[17, 6, 4], Operations: ['83-79=4']
Exploring Operation: 17*4=68, Resulting Numbers: [6, 68]
Generated Node #3: [6, 68] from Operation: 17*4=68
Current State: 74:[6, 68], Operations: ['83-79=4', '17*4=68']
Exploring Operation: 6+68=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[17, 79, 6, 83], Operations: []
Exploring Operation: 83-17=66, Resulting Numbers: [79, 6, 66]
Generated Node #0,0: 74:[79, 6, 66] Operation: 83-17=66
Exploring Operation: 83-79=4, Resulting Numbers: [17, 6, 4]
Generated Node #0,1: 74:[17, 6, 4] Operation: 83-79=4
Exploring Operation: 17-6=11, Resulting Numbers: [79, 83, 11]
Generated Node #0,2: 74:[79, 83, 11] Operation: 17-6=11
Moving to Node #0,0
Current State: 74:[79, 6, 66], Operations: ['83-17=66']
Exploring Operation: 66/6=11, Resulting Numbers: [79, 11]
Generated Node #0,0,0: 74:[79, 11] Operation: 66/6=11
Exploring Operation: 79-6=73, Resulting Numbers: [66, 73]
Generated Node #0,0,1: 74:[66, 73] Operation: 79-6=73
Exploring Operation: 6+66=72, Resulting Numbers: [79, 72]
Generated Node #0,0,2: 74:[79, 72] Operation: 6+66=72
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 74:[79, 72], Operations: ['83-17=66', '6+66=72']
Exploring Operation: 79*72=5688, Resulting Numbers: [5688]
5688,74 unequal: No Solution
Exploring Operation: 79+72=151, Resulting Numbers: [151]
151,74 unequal: No Solution
Exploring Operation: 79-72=7, Resulting Numbers: [7]
7,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 74:[66, 73], Operations: ['83-17=66', '79-6=73']
Exploring Operation: 66*73=4818, Resulting Numbers: [4818]
4818,74 unequal: No Solution
Exploring Operation: 66+73=139, Resulting Numbers: [139]
139,74 unequal: No Solution
Exploring Operation: 73-66=7, Resulting Numbers: [7]
7,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 74:[79, 11], Operations: ['83-17=66', '66/6=11']
Exploring Operation: 79*11=869, Resulting Numbers: [869]
869,74 unequal: No Solution
Exploring Operation: 79-11=68, Resulting Numbers: [68]
68,74 unequal: No Solution
Exploring Operation: 79+11=90, Resulting Numbers: [90]
90,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 74:[17, 6, 4], Operations: ['83-79=4']
Exploring Operation: 17-4=13, Resulting Numbers: [6, 13]
Generated Node #0,1,0: 74:[6, 13] Operation: 17-4=13
Exploring Operation: 17*4=68, Resulting Numbers: [6, 68]
Generated Node #0,1,1: 74:[6, 68] Operation: 17*4=68
Exploring Operation: 17-6=11, Resulting Numbers: [4, 11]
Generated Node #0,1,2: 74:[4, 11] Operation: 17-6=11
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 74:[6, 68], Operations: ['83-79=4', '17*4=68']
Exploring Operation: 6+68=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[17, 79, 6, 83], Operations: []
Exploring Operation: 83-79=4, Resulting Numbers: [17, 6, 4]
Generated Node #0,1: 74:[17, 6, 4] Operation: 83-79=4
Moving to Node #0,1
Current State: 74:[17, 6, 4], Operations: ['83-79=4']
Exploring Operation: 17*4=68, Resulting Numbers: [6, 68]
Generated Node #0,1,1: 74:[6, 68] Operation: 17*4=68
Moving to Node #0,1,1
Current State: 74:[6, 68], Operations: ['83-79=4', '17*4=68']
Exploring Operation: 6+68=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_3 | sum_heuristic |
[
12,
4,
35,
96
] | 67 | [
"12/4=3",
"96/3=32",
"35+32=67"
] | Current State: 67:[12, 4, 35, 96], Operations: []
Exploring Operation: 12/4=3, Resulting Numbers: [35, 96, 3]
Generated Node #2: [35, 96, 3] from Operation: 12/4=3
Current State: 67:[35, 96, 3], Operations: ['12/4=3']
Exploring Operation: 96/3=32, Resulting Numbers: [35, 32]
Generated Node #3: [35, 32] from Operation: 96/3=32
Current State: 67:[35, 32], Operations: ['12/4=3', '96/3=32']
Exploring Operation: 35+32=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[12, 4, 35, 96], Operations: []
Exploring Operation: 12*4=48, Resulting Numbers: [35, 96, 48]
Generated Node #0,0: 67:[35, 96, 48] Operation: 12*4=48
Exploring Operation: 12+4=16, Resulting Numbers: [35, 96, 16]
Generated Node #0,1: 67:[35, 96, 16] Operation: 12+4=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[35, 96, 48], Operations: ['12*4=48']
Exploring Operation: 35+48=83, Resulting Numbers: [96, 83]
Generated Node #0,0,0: 67:[96, 83] Operation: 35+48=83
Exploring Operation: 96-35=61, Resulting Numbers: [48, 61]
Generated Node #0,0,1: 67:[48, 61] Operation: 96-35=61
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 67:[48, 61], Operations: ['12*4=48', '96-35=61']
Exploring Operation: 48+61=109, Resulting Numbers: [109]
109,67 unequal: No Solution
Exploring Operation: 61-48=13, Resulting Numbers: [13]
13,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 67:[96, 83], Operations: ['12*4=48', '35+48=83']
Exploring Operation: 96+83=179, Resulting Numbers: [179]
179,67 unequal: No Solution
Exploring Operation: 96-83=13, Resulting Numbers: [13]
13,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[35, 96, 16], Operations: ['12+4=16']
Exploring Operation: 96-16=80, Resulting Numbers: [35, 80]
Generated Node #0,1,0: 67:[35, 80] Operation: 96-16=80
Exploring Operation: 35+16=51, Resulting Numbers: [96, 51]
Generated Node #0,1,1: 67:[96, 51] Operation: 35+16=51
Moving to Node #0,1,0
Current State: 67:[35, 80], Operations: ['12+4=16', '96-16=80']
Exploring Operation: 80-35=45, Resulting Numbers: [45]
45,67 unequal: No Solution
Exploring Operation: 35+80=115, Resulting Numbers: [115]
115,67 unequal: No Solution
Moving to Node #0,1,1
Current State: 67:[96, 51], Operations: ['12+4=16', '35+16=51']
Exploring Operation: 96-51=45, Resulting Numbers: [45]
45,67 unequal: No Solution
Exploring Operation: 96+51=147, Resulting Numbers: [147]
147,67 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 |
[
33,
8,
52,
30
] | 57 | [
"33-8=25",
"52+30=82",
"82-25=57"
] | Current State: 57:[33, 8, 52, 30], Operations: []
Exploring Operation: 33-8=25, Resulting Numbers: [52, 30, 25]
Generated Node #2: [52, 30, 25] from Operation: 33-8=25
Current State: 57:[52, 30, 25], Operations: ['33-8=25']
Exploring Operation: 52+30=82, Resulting Numbers: [25, 82]
Generated Node #3: [25, 82] from Operation: 52+30=82
Current State: 57:[25, 82], Operations: ['33-8=25', '52+30=82']
Exploring Operation: 82-25=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[33, 8, 52, 30], Operations: []
Exploring Operation: 33-30=3, Resulting Numbers: [8, 52, 3]
Generated Node #0,0: 57:[8, 52, 3] Operation: 33-30=3
Moving to Node #0,0
Current State: 57:[8, 52, 3], Operations: ['33-30=3']
Exploring Operation: 8+52=60, Resulting Numbers: [3, 60]
Generated Node #0,0,0: 57:[3, 60] Operation: 8+52=60
Moving to Node #0,0,0
Current State: 57:[3, 60], Operations: ['33-30=3', '8+52=60']
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[33, 8, 52, 30], Operations: []
Exploring Operation: 33-30=3, Resulting Numbers: [8, 52, 3]
Generated Node #0,0: 57:[8, 52, 3] Operation: 33-30=3
Moving to Node #0,0
Current State: 57:[8, 52, 3], Operations: ['33-30=3']
Exploring Operation: 8+52=60, Resulting Numbers: [3, 60]
Generated Node #0,0,0: 57:[3, 60] Operation: 8+52=60
Moving to Node #0,0,0
Current State: 57:[3, 60], Operations: ['33-30=3', '8+52=60']
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
97,
2,
95,
53
] | 73 | [
"97-53=44",
"44/2=22",
"95-22=73"
] | Current State: 73:[97, 2, 95, 53], Operations: []
Exploring Operation: 97-53=44, Resulting Numbers: [2, 95, 44]
Generated Node #2: [2, 95, 44] from Operation: 97-53=44
Current State: 73:[2, 95, 44], Operations: ['97-53=44']
Exploring Operation: 44/2=22, Resulting Numbers: [95, 22]
Generated Node #3: [95, 22] from Operation: 44/2=22
Current State: 73:[95, 22], Operations: ['97-53=44', '44/2=22']
Exploring Operation: 95-22=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[97, 2, 95, 53], Operations: []
Exploring Operation: 97-2=95, Resulting Numbers: [95, 53, 95]
Generated Node #0,0: 73:[95, 53, 95] Operation: 97-2=95
Exploring Operation: 95-2=93, Resulting Numbers: [97, 53, 93]
Generated Node #0,1: 73:[97, 53, 93] Operation: 95-2=93
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[95, 53, 95], Operations: ['97-2=95']
Exploring Operation: 95-53=42, Resulting Numbers: [95, 42]
Generated Node #0,0,0: 73:[95, 42] Operation: 95-53=42
Exploring Operation: 95-53=42, Resulting Numbers: [95, 42]
Generated Node #0,0,1: 73:[95, 42] Operation: 95-53=42
Moving to Node #0,0,0
Current State: 73:[95, 42], Operations: ['97-2=95', '95-53=42']
Exploring Operation: 95-42=53, Resulting Numbers: [53]
53,73 unequal: No Solution
Exploring Operation: 95+42=137, Resulting Numbers: [137]
137,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[95, 42], Operations: ['97-2=95', '95-53=42']
Exploring Operation: 95+42=137, Resulting Numbers: [137]
137,73 unequal: No Solution
Exploring Operation: 95-42=53, Resulting Numbers: [53]
53,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
Current State: 73:[97, 53, 93], Operations: ['95-2=93']
Exploring Operation: 93-53=40, Resulting Numbers: [97, 40]
Generated Node #0,1,0: 73:[97, 40] Operation: 93-53=40
Exploring Operation: 97-53=44, Resulting Numbers: [93, 44]
Generated Node #0,1,1: 73:[93, 44] Operation: 97-53=44
Moving to Node #0,1,1
Current State: 73:[93, 44], Operations: ['95-2=93', '97-53=44']
Exploring Operation: 93-44=49, Resulting Numbers: [49]
49,73 unequal: No Solution
Exploring Operation: 93+44=137, Resulting Numbers: [137]
137,73 unequal: No Solution
Moving to Node #0,1,0
Current State: 73:[97, 40], Operations: ['95-2=93', '93-53=40']
Exploring Operation: 97-40=57, Resulting Numbers: [57]
57,73 unequal: No Solution
Exploring Operation: 97+40=137, Resulting Numbers: [137]
137,73 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 |
[
87,
10,
69,
58
] | 87 | [
"69-10=59",
"59-58=1",
"87*1=87"
] | Current State: 87:[87, 10, 69, 58], Operations: []
Exploring Operation: 69-10=59, Resulting Numbers: [87, 58, 59]
Generated Node #2: [87, 58, 59] from Operation: 69-10=59
Current State: 87:[87, 58, 59], Operations: ['69-10=59']
Exploring Operation: 59-58=1, Resulting Numbers: [87, 1]
Generated Node #3: [87, 1] from Operation: 59-58=1
Current State: 87:[87, 1], Operations: ['69-10=59', '59-58=1']
Exploring Operation: 87*1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[87, 10, 69, 58], Operations: []
Exploring Operation: 10+58=68, Resulting Numbers: [87, 69, 68]
Generated Node #0,0: 87:[87, 69, 68] Operation: 10+58=68
Exploring Operation: 87-58=29, Resulting Numbers: [10, 69, 29]
Generated Node #0,1: 87:[10, 69, 29] Operation: 87-58=29
Exploring Operation: 69-58=11, Resulting Numbers: [87, 10, 11]
Generated Node #0,2: 87:[87, 10, 11] Operation: 69-58=11
Exploring Operation: 10+69=79, Resulting Numbers: [87, 58, 79]
Generated Node #0,3: 87:[87, 58, 79] Operation: 10+69=79
Moving to Node #0,2
Current State: 87:[87, 10, 11], Operations: ['69-58=11']
Exploring Operation: 87-10=77, Resulting Numbers: [11, 77]
Generated Node #0,2,0: 87:[11, 77] Operation: 87-10=77
Exploring Operation: 10+11=21, Resulting Numbers: [87, 21]
Generated Node #0,2,1: 87:[87, 21] Operation: 10+11=21
Exploring Operation: 87+10=97, Resulting Numbers: [11, 97]
Generated Node #0,2,2: 87:[11, 97] Operation: 87+10=97
Exploring Operation: 11-10=1, Resulting Numbers: [87, 1]
Generated Node #0,2,3: 87:[87, 1] Operation: 11-10=1
Moving to Node #0,1
Current State: 87:[10, 69, 29], Operations: ['87-58=29']
Exploring Operation: 69+29=98, Resulting Numbers: [10, 98]
Generated Node #0,1,0: 87:[10, 98] Operation: 69+29=98
Exploring Operation: 69-10=59, Resulting Numbers: [29, 59]
Generated Node #0,1,1: 87:[29, 59] Operation: 69-10=59
Exploring Operation: 10+69=79, Resulting Numbers: [29, 79]
Generated Node #0,1,2: 87:[29, 79] Operation: 10+69=79
Exploring Operation: 69-29=40, Resulting Numbers: [10, 40]
Generated Node #0,1,3: 87:[10, 40] Operation: 69-29=40
Moving to Node #0,3
Current State: 87:[87, 58, 79], Operations: ['10+69=79']
Exploring Operation: 58+79=137, Resulting Numbers: [87, 137]
Generated Node #0,3,0: 87:[87, 137] Operation: 58+79=137
Exploring Operation: 79-58=21, Resulting Numbers: [87, 21]
Generated Node #0,3,1: 87:[87, 21] Operation: 79-58=21
Exploring Operation: 87-58=29, Resulting Numbers: [79, 29]
Generated Node #0,3,2: 87:[79, 29] Operation: 87-58=29
Exploring Operation: 87-79=8, Resulting Numbers: [58, 8]
Generated Node #0,3,3: 87:[58, 8] Operation: 87-79=8
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 87:[87, 21], Operations: ['10+69=79', '79-58=21']
Exploring Operation: 87-21=66, Resulting Numbers: [66]
66,87 unequal: No Solution
Exploring Operation: 87+21=108, Resulting Numbers: [108]
108,87 unequal: No Solution
Exploring Operation: 87*21=1827, Resulting Numbers: [1827]
1827,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,2
Current State: 87:[79, 29], Operations: ['10+69=79', '87-58=29']
Exploring Operation: 79*29=2291, Resulting Numbers: [2291]
2291,87 unequal: No Solution
Exploring Operation: 79-29=50, Resulting Numbers: [50]
50,87 unequal: No Solution
Exploring Operation: 79+29=108, Resulting Numbers: [108]
108,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,3
Current State: 87:[58, 8], Operations: ['10+69=79', '87-79=8']
Exploring Operation: 58*8=464, Resulting Numbers: [464]
464,87 unequal: No Solution
Exploring Operation: 58+8=66, Resulting Numbers: [66]
66,87 unequal: No Solution
Exploring Operation: 58-8=50, Resulting Numbers: [50]
50,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,0
Current State: 87:[87, 137], Operations: ['10+69=79', '58+79=137']
Exploring Operation: 87*137=11919, Resulting Numbers: [11919]
11919,87 unequal: No Solution
Exploring Operation: 137-87=50, Resulting Numbers: [50]
50,87 unequal: No Solution
Exploring Operation: 87+137=224, Resulting Numbers: [224]
224,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 87:[87, 69, 68], Operations: ['10+58=68']
Exploring Operation: 87-69=18, Resulting Numbers: [68, 18]
Generated Node #0,0,0: 87:[68, 18] Operation: 87-69=18
Exploring Operation: 69+68=137, Resulting Numbers: [87, 137]
Generated Node #0,0,1: 87:[87, 137] Operation: 69+68=137
Exploring Operation: 69-68=1, Resulting Numbers: [87, 1]
Generated Node #0,0,2: 87:[87, 1] Operation: 69-68=1
Exploring Operation: 87-68=19, Resulting Numbers: [69, 19]
Generated Node #0,0,3: 87:[69, 19] Operation: 87-68=19
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 87:[87, 1], Operations: ['10+58=68', '69-68=1']
Exploring Operation: 87+1=88, Resulting Numbers: [88]
88,87 unequal: No Solution
Exploring Operation: 87/1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[87, 10, 69, 58], Operations: []
Exploring Operation: 10+58=68, Resulting Numbers: [87, 69, 68]
Generated Node #0,0: 87:[87, 69, 68] Operation: 10+58=68
Moving to Node #0,0
Current State: 87:[87, 69, 68], Operations: ['10+58=68']
Exploring Operation: 69-68=1, Resulting Numbers: [87, 1]
Generated Node #0,0,2: 87:[87, 1] Operation: 69-68=1
Moving to Node #0,0,2
Current State: 87:[87, 1], Operations: ['10+58=68', '69-68=1']
Exploring Operation: 87/1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_4 | sum_heuristic |
[
93,
66,
77,
50
] | 13 | [
"93+50=143",
"77-66=11",
"143/11=13"
] | Current State: 13:[93, 66, 77, 50], Operations: []
Exploring Operation: 93+50=143, Resulting Numbers: [66, 77, 143]
Generated Node #2: [66, 77, 143] from Operation: 93+50=143
Current State: 13:[66, 77, 143], Operations: ['93+50=143']
Exploring Operation: 77-66=11, Resulting Numbers: [143, 11]
Generated Node #3: [143, 11] from Operation: 77-66=11
Current State: 13:[143, 11], Operations: ['93+50=143', '77-66=11']
Exploring Operation: 143/11=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[93, 66, 77, 50], Operations: []
Exploring Operation: 93-77=16, Resulting Numbers: [66, 50, 16]
Generated Node #0,0: 13:[66, 50, 16] Operation: 93-77=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[66, 50, 16], Operations: ['93-77=16']
Exploring Operation: 66-50=16, Resulting Numbers: [16, 16]
Generated Node #0,0,0: 13:[16, 16] Operation: 66-50=16
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 13:[16, 16], Operations: ['93-77=16', '66-50=16']
Exploring Operation: 16/16=1, Resulting Numbers: [1]
1,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
7,
29,
97,
56
] | 76 | [
"56/7=8",
"97-29=68",
"8+68=76"
] | Current State: 76:[7, 29, 97, 56], Operations: []
Exploring Operation: 56/7=8, Resulting Numbers: [29, 97, 8]
Generated Node #2: [29, 97, 8] from Operation: 56/7=8
Current State: 76:[29, 97, 8], Operations: ['56/7=8']
Exploring Operation: 97-29=68, Resulting Numbers: [8, 68]
Generated Node #3: [8, 68] from Operation: 97-29=68
Current State: 76:[8, 68], Operations: ['56/7=8', '97-29=68']
Exploring Operation: 8+68=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[7, 29, 97, 56], Operations: []
Exploring Operation: 97-29=68, Resulting Numbers: [7, 56, 68]
Generated Node #0,0: 76:[7, 56, 68] Operation: 97-29=68
Exploring Operation: 56-29=27, Resulting Numbers: [7, 97, 27]
Generated Node #0,1: 76:[7, 97, 27] Operation: 56-29=27
Exploring Operation: 97-56=41, Resulting Numbers: [7, 29, 41]
Generated Node #0,2: 76:[7, 29, 41] Operation: 97-56=41
Exploring Operation: 29+56=85, Resulting Numbers: [7, 97, 85]
Generated Node #0,3: 76:[7, 97, 85] Operation: 29+56=85
Start Sub Search at level 1: Moving to Node #0,2
Current State: 76:[7, 29, 41], Operations: ['97-56=41']
Exploring Operation: 7+29=36, Resulting Numbers: [41, 36]
Generated Node #0,2,0: 76:[41, 36] Operation: 7+29=36
Exploring Operation: 41-29=12, Resulting Numbers: [7, 12]
Generated Node #0,2,1: 76:[7, 12] Operation: 41-29=12
Exploring Operation: 29-7=22, Resulting Numbers: [41, 22]
Generated Node #0,2,2: 76:[41, 22] Operation: 29-7=22
Exploring Operation: 29+41=70, Resulting Numbers: [7, 70]
Generated Node #0,2,3: 76:[7, 70] Operation: 29+41=70
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 76:[41, 36], Operations: ['97-56=41', '7+29=36']
Exploring Operation: 41-36=5, Resulting Numbers: [5]
5,76 unequal: No Solution
Exploring Operation: 41+36=77, Resulting Numbers: [77]
77,76 unequal: No Solution
Exploring Operation: 41*36=1476, Resulting Numbers: [1476]
1476,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 76:[41, 22], Operations: ['97-56=41', '29-7=22']
Exploring Operation: 41+22=63, Resulting Numbers: [63]
63,76 unequal: No Solution
Exploring Operation: 41*22=902, Resulting Numbers: [902]
902,76 unequal: No Solution
Exploring Operation: 41-22=19, Resulting Numbers: [19]
19,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 76:[7, 70], Operations: ['97-56=41', '29+41=70']
Exploring Operation: 70/7=10, Resulting Numbers: [10]
10,76 unequal: No Solution
Exploring Operation: 7*70=490, Resulting Numbers: [490]
490,76 unequal: No Solution
Exploring Operation: 7+70=77, Resulting Numbers: [77]
77,76 unequal: No Solution
Exploring Operation: 70-7=63, Resulting Numbers: [63]
63,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 76:[7, 12], Operations: ['97-56=41', '41-29=12']
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,76 unequal: No Solution
Exploring Operation: 7+12=19, Resulting Numbers: [19]
19,76 unequal: No Solution
Exploring Operation: 7*12=84, Resulting Numbers: [84]
84,76 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: 76:[7, 56, 68], Operations: ['97-29=68']
Exploring Operation: 68-56=12, Resulting Numbers: [7, 12]
Generated Node #0,0,0: 76:[7, 12] Operation: 68-56=12
Exploring Operation: 56/7=8, Resulting Numbers: [68, 8]
Generated Node #0,0,1: 76:[68, 8] Operation: 56/7=8
Exploring Operation: 56-7=49, Resulting Numbers: [68, 49]
Generated Node #0,0,2: 76:[68, 49] Operation: 56-7=49
Exploring Operation: 7+68=75, Resulting Numbers: [56, 75]
Generated Node #0,0,3: 76:[56, 75] Operation: 7+68=75
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 76:[7, 12], Operations: ['97-29=68', '68-56=12']
Exploring Operation: 7*12=84, Resulting Numbers: [84]
84,76 unequal: No Solution
Exploring Operation: 7+12=19, Resulting Numbers: [19]
19,76 unequal: No Solution
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 76:[68, 8], Operations: ['97-29=68', '56/7=8']
Exploring Operation: 68*8=544, Resulting Numbers: [544]
544,76 unequal: No Solution
Exploring Operation: 68-8=60, Resulting Numbers: [60]
60,76 unequal: No Solution
Exploring Operation: 68+8=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[7, 29, 97, 56], Operations: []
Exploring Operation: 97-29=68, Resulting Numbers: [7, 56, 68]
Generated Node #0,0: 76:[7, 56, 68] Operation: 97-29=68
Moving to Node #0,0
Current State: 76:[7, 56, 68], Operations: ['97-29=68']
Exploring Operation: 56/7=8, Resulting Numbers: [68, 8]
Generated Node #0,0,1: 76:[68, 8] Operation: 56/7=8
Moving to Node #0,0,1
Current State: 76:[68, 8], Operations: ['97-29=68', '56/7=8']
Exploring Operation: 68+8=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618 | hs_4 | mult_heuristic |
[
69,
84,
8,
4
] | 24 | [
"69*4=276",
"276-84=192",
"192/8=24"
] | Current State: 24:[69, 84, 8, 4], Operations: []
Exploring Operation: 69*4=276, Resulting Numbers: [84, 8, 276]
Generated Node #2: [84, 8, 276] from Operation: 69*4=276
Current State: 24:[84, 8, 276], Operations: ['69*4=276']
Exploring Operation: 276-84=192, Resulting Numbers: [8, 192]
Generated Node #3: [8, 192] from Operation: 276-84=192
Current State: 24:[8, 192], Operations: ['69*4=276', '276-84=192']
Exploring Operation: 192/8=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[69, 84, 8, 4], Operations: []
Exploring Operation: 84-69=15, Resulting Numbers: [8, 4, 15]
Generated Node #0,0: 24:[8, 4, 15] Operation: 84-69=15
Exploring Operation: 69-8=61, Resulting Numbers: [84, 4, 61]
Generated Node #0,1: 24:[84, 4, 61] Operation: 69-8=61
Exploring Operation: 84/4=21, Resulting Numbers: [69, 8, 21]
Generated Node #0,2: 24:[69, 8, 21] Operation: 84/4=21
Exploring Operation: 84-8=76, Resulting Numbers: [69, 4, 76]
Generated Node #0,3: 24:[69, 4, 76] Operation: 84-8=76
Moving to Node #0,0
Current State: 24:[8, 4, 15], Operations: ['84-69=15']
Exploring Operation: 15-8=7, Resulting Numbers: [4, 7]
Generated Node #0,0,0: 24:[4, 7] Operation: 15-8=7
Exploring Operation: 8+4=12, Resulting Numbers: [15, 12]
Generated Node #0,0,1: 24:[15, 12] Operation: 8+4=12
Exploring Operation: 15-4=11, Resulting Numbers: [8, 11]
Generated Node #0,0,2: 24:[8, 11] Operation: 15-4=11
Exploring Operation: 8+15=23, Resulting Numbers: [4, 23]
Generated Node #0,0,3: 24:[4, 23] Operation: 8+15=23
Moving to Node #0,2
Current State: 24:[69, 8, 21], Operations: ['84/4=21']
Exploring Operation: 69-21=48, Resulting Numbers: [8, 48]
Generated Node #0,2,0: 24:[8, 48] Operation: 69-21=48
Exploring Operation: 69-8=61, Resulting Numbers: [21, 61]
Generated Node #0,2,1: 24:[21, 61] Operation: 69-8=61
Exploring Operation: 21-8=13, Resulting Numbers: [69, 13]
Generated Node #0,2,2: 24:[69, 13] Operation: 21-8=13
Exploring Operation: 8+21=29, Resulting Numbers: [69, 29]
Generated Node #0,2,3: 24:[69, 29] Operation: 8+21=29
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 24:[8, 48], Operations: ['84/4=21', '69-21=48']
Exploring Operation: 48-8=40, Resulting Numbers: [40]
40,24 unequal: No Solution
Exploring Operation: 48/8=6, Resulting Numbers: [6]
6,24 unequal: No Solution
Exploring Operation: 8+48=56, Resulting Numbers: [56]
56,24 unequal: No Solution
Exploring Operation: 8*48=384, Resulting Numbers: [384]
384,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:[21, 61], Operations: ['84/4=21', '69-8=61']
Exploring Operation: 21*61=1281, Resulting Numbers: [1281]
1281,24 unequal: No Solution
Exploring Operation: 21+61=82, Resulting Numbers: [82]
82,24 unequal: No Solution
Exploring Operation: 61-21=40, Resulting Numbers: [40]
40,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,2
Current State: 24:[69, 13], Operations: ['84/4=21', '21-8=13']
Exploring Operation: 69*13=897, Resulting Numbers: [897]
897,24 unequal: No Solution
Exploring Operation: 69-13=56, Resulting Numbers: [56]
56,24 unequal: No Solution
Exploring Operation: 69+13=82, Resulting Numbers: [82]
82,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,3
Current State: 24:[69, 29], Operations: ['84/4=21', '8+21=29']
Exploring Operation: 69+29=98, Resulting Numbers: [98]
98,24 unequal: No Solution
Exploring Operation: 69*29=2001, Resulting Numbers: [2001]
2001,24 unequal: No Solution
Exploring Operation: 69-29=40, Resulting Numbers: [40]
40,24 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: 24:[69, 4, 76], Operations: ['84-8=76']
Exploring Operation: 69-4=65, Resulting Numbers: [76, 65]
Generated Node #0,3,0: 24:[76, 65] Operation: 69-4=65
Exploring Operation: 76-4=72, Resulting Numbers: [69, 72]
Generated Node #0,3,1: 24:[69, 72] Operation: 76-4=72
Exploring Operation: 76/4=19, Resulting Numbers: [69, 19]
Generated Node #0,3,2: 24:[69, 19] Operation: 76/4=19
Exploring Operation: 76-69=7, Resulting Numbers: [4, 7]
Generated Node #0,3,3: 24:[4, 7] Operation: 76-69=7
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 24:[4, 7], Operations: ['84-8=76', '76-69=7']
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,24 unequal: No Solution
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,24 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,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,3,2
Current State: 24:[69, 19], Operations: ['84-8=76', '76/4=19']
Exploring Operation: 69+19=88, Resulting Numbers: [88]
88,24 unequal: No Solution
Exploring Operation: 69*19=1311, Resulting Numbers: [1311]
1311,24 unequal: No Solution
Exploring Operation: 69-19=50, Resulting Numbers: [50]
50,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,3,0
Current State: 24:[76, 65], Operations: ['84-8=76', '69-4=65']
Exploring Operation: 76+65=141, Resulting Numbers: [141]
141,24 unequal: No Solution
Exploring Operation: 76-65=11, Resulting Numbers: [11]
11,24 unequal: No Solution
Exploring Operation: 76*65=4940, Resulting Numbers: [4940]
4940,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,3,1
Current State: 24:[69, 72], Operations: ['84-8=76', '76-4=72']
Exploring Operation: 72-69=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 69*72=4968, Resulting Numbers: [4968]
4968,24 unequal: No Solution
Exploring Operation: 69+72=141, Resulting Numbers: [141]
141,24 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: 24:[84, 4, 61], Operations: ['69-8=61']
Exploring Operation: 84-4=80, Resulting Numbers: [61, 80]
Generated Node #0,1,0: 24:[61, 80] Operation: 84-4=80
Exploring Operation: 84-61=23, Resulting Numbers: [4, 23]
Generated Node #0,1,1: 24:[4, 23] Operation: 84-61=23
Exploring Operation: 61-4=57, Resulting Numbers: [84, 57]
Generated Node #0,1,2: 24:[84, 57] Operation: 61-4=57
Exploring Operation: 84/4=21, Resulting Numbers: [61, 21]
Generated Node #0,1,3: 24:[61, 21] Operation: 84/4=21
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 24:[4, 23], Operations: ['69-8=61', '84-61=23']
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,24 unequal: No Solution
Exploring Operation: 4+23=27, Resulting Numbers: [27]
27,24 unequal: No Solution
Exploring Operation: 4*23=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:[61, 21], Operations: ['69-8=61', '84/4=21']
Exploring Operation: 61-21=40, Resulting Numbers: [40]
40,24 unequal: No Solution
Exploring Operation: 61+21=82, Resulting Numbers: [82]
82,24 unequal: No Solution
Exploring Operation: 61*21=1281, Resulting Numbers: [1281]
1281,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:[61, 80], Operations: ['69-8=61', '84-4=80']
Exploring Operation: 80-61=19, Resulting Numbers: [19]
19,24 unequal: No Solution
Exploring Operation: 61+80=141, Resulting Numbers: [141]
141,24 unequal: No Solution
Exploring Operation: 61*80=4880, Resulting Numbers: [4880]
4880,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:[84, 57], Operations: ['69-8=61', '61-4=57']
Exploring Operation: 84+57=141, Resulting Numbers: [141]
141,24 unequal: No Solution
Exploring Operation: 84*57=4788, Resulting Numbers: [4788]
4788,24 unequal: No Solution
Exploring Operation: 84-57=27, Resulting Numbers: [27]
27,24 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: 24:[4, 7], Operations: ['84-69=15', '15-8=7']
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,24 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,24 unequal: No Solution
Moving to Node #0,0,3
Current State: 24:[4, 23], Operations: ['84-69=15', '8+15=23']
Exploring Operation: 4*23=92, Resulting Numbers: [92]
92,24 unequal: No Solution
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,24 unequal: No Solution
Exploring Operation: 4+23=27, Resulting Numbers: [27]
27,24 unequal: No Solution
Moving to Node #0,0,2
Current State: 24:[8, 11], Operations: ['84-69=15', '15-4=11']
Exploring Operation: 8+11=19, Resulting Numbers: [19]
19,24 unequal: No Solution
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,24 unequal: No Solution
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Moving to Node #0,0,1
Current State: 24:[15, 12], Operations: ['84-69=15', '8+4=12']
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 15*12=180, Resulting Numbers: [180]
180,24 unequal: No Solution
Exploring Operation: 15+12=27, Resulting Numbers: [27]
27,24 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
24,
20,
54,
37
] | 47 | [
"24+20=44",
"54+37=91",
"91-44=47"
] | Current State: 47:[24, 20, 54, 37], Operations: []
Exploring Operation: 24+20=44, Resulting Numbers: [54, 37, 44]
Generated Node #2: [54, 37, 44] from Operation: 24+20=44
Current State: 47:[54, 37, 44], Operations: ['24+20=44']
Exploring Operation: 54+37=91, Resulting Numbers: [44, 91]
Generated Node #3: [44, 91] from Operation: 54+37=91
Current State: 47:[44, 91], Operations: ['24+20=44', '54+37=91']
Exploring Operation: 91-44=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[24, 20, 54, 37], Operations: []
Exploring Operation: 24+20=44, Resulting Numbers: [54, 37, 44]
Generated Node #0,0: 47:[54, 37, 44] Operation: 24+20=44
Exploring Operation: 54-24=30, Resulting Numbers: [20, 37, 30]
Generated Node #0,1: 47:[20, 37, 30] Operation: 54-24=30
Exploring Operation: 54-20=34, Resulting Numbers: [24, 37, 34]
Generated Node #0,2: 47:[24, 37, 34] Operation: 54-20=34
Exploring Operation: 20+37=57, Resulting Numbers: [24, 54, 57]
Generated Node #0,3: 47:[24, 54, 57] Operation: 20+37=57
Exploring Operation: 24+37=61, Resulting Numbers: [20, 54, 61]
Generated Node #0,4: 47:[20, 54, 61] Operation: 24+37=61
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[54, 37, 44], Operations: ['24+20=44']
Exploring Operation: 54+37=91, Resulting Numbers: [44, 91]
Generated Node #0,0,0: 47:[44, 91] Operation: 54+37=91
Exploring Operation: 37+44=81, Resulting Numbers: [54, 81]
Generated Node #0,0,1: 47:[54, 81] Operation: 37+44=81
Exploring Operation: 44-37=7, Resulting Numbers: [54, 7]
Generated Node #0,0,2: 47:[54, 7] Operation: 44-37=7
Exploring Operation: 54-37=17, Resulting Numbers: [44, 17]
Generated Node #0,0,3: 47:[44, 17] Operation: 54-37=17
Exploring Operation: 54-44=10, Resulting Numbers: [37, 10]
Generated Node #0,0,4: 47:[37, 10] Operation: 54-44=10
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 47:[44, 17], Operations: ['24+20=44', '54-37=17']
Exploring Operation: 44-17=27, Resulting Numbers: [27]
27,47 unequal: No Solution
Exploring Operation: 44*17=748, Resulting Numbers: [748]
748,47 unequal: No Solution
Exploring Operation: 44+17=61, Resulting Numbers: [61]
61,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:[54, 81], Operations: ['24+20=44', '37+44=81']
Exploring Operation: 54+81=135, Resulting Numbers: [135]
135,47 unequal: No Solution
Exploring Operation: 81-54=27, Resulting Numbers: [27]
27,47 unequal: No Solution
Exploring Operation: 54*81=4374, Resulting Numbers: [4374]
4374,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:[44, 91], Operations: ['24+20=44', '54+37=91']
Exploring Operation: 44*91=4004, Resulting Numbers: [4004]
4004,47 unequal: No Solution
Exploring Operation: 91-44=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[24, 20, 54, 37], Operations: []
Exploring Operation: 24+20=44, Resulting Numbers: [54, 37, 44]
Generated Node #0,0: 47:[54, 37, 44] Operation: 24+20=44
Moving to Node #0,0
Current State: 47:[54, 37, 44], Operations: ['24+20=44']
Exploring Operation: 54+37=91, Resulting Numbers: [44, 91]
Generated Node #0,0,0: 47:[44, 91] Operation: 54+37=91
Moving to Node #0,0,0
Current State: 47:[44, 91], Operations: ['24+20=44', '54+37=91']
Exploring Operation: 91-44=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980903 | hs_5 | sum_heuristic |
[
61,
57,
71,
2
] | 63 | [
"61-57=4",
"2*4=8",
"71-8=63"
] | Current State: 63:[61, 57, 71, 2], Operations: []
Exploring Operation: 61-57=4, Resulting Numbers: [71, 2, 4]
Generated Node #2: [71, 2, 4] from Operation: 61-57=4
Current State: 63:[71, 2, 4], Operations: ['61-57=4']
Exploring Operation: 2*4=8, Resulting Numbers: [71, 8]
Generated Node #3: [71, 8] from Operation: 2*4=8
Current State: 63:[71, 8], Operations: ['61-57=4', '2*4=8']
Exploring Operation: 71-8=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[61, 57, 71, 2], Operations: []
Exploring Operation: 71-61=10, Resulting Numbers: [57, 2, 10]
Generated Node #0,0: 63:[57, 2, 10] Operation: 71-61=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[57, 2, 10], Operations: ['71-61=10']
Exploring Operation: 57+2=59, Resulting Numbers: [10, 59]
Generated Node #0,0,0: 63:[10, 59] Operation: 57+2=59
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 63:[10, 59], Operations: ['71-61=10', '57+2=59']
Exploring Operation: 10+59=69, Resulting Numbers: [69]
69,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
4,
18,
69,
32
] | 35 | [
"4*18=72",
"69-32=37",
"72-37=35"
] | Current State: 35:[4, 18, 69, 32], Operations: []
Exploring Operation: 4*18=72, Resulting Numbers: [69, 32, 72]
Generated Node #2: [69, 32, 72] from Operation: 4*18=72
Current State: 35:[69, 32, 72], Operations: ['4*18=72']
Exploring Operation: 69-32=37, Resulting Numbers: [72, 37]
Generated Node #3: [72, 37] from Operation: 69-32=37
Current State: 35:[72, 37], Operations: ['4*18=72', '69-32=37']
Exploring Operation: 72-37=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[4, 18, 69, 32], Operations: []
Exploring Operation: 69-32=37, Resulting Numbers: [4, 18, 37]
Generated Node #0,0: 35:[4, 18, 37] Operation: 69-32=37
Moving to Node #0,0
Current State: 35:[4, 18, 37], Operations: ['69-32=37']
Exploring Operation: 18-4=14, Resulting Numbers: [37, 14]
Generated Node #0,0,0: 35:[37, 14] Operation: 18-4=14
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 35:[37, 14], Operations: ['69-32=37', '18-4=14']
Exploring Operation: 37-14=23, Resulting Numbers: [23]
23,35 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 |
[
9,
11,
12,
19
] | 98 | [
"19-9=10",
"11*10=110",
"110-12=98"
] | Current State: 98:[9, 11, 12, 19], Operations: []
Exploring Operation: 19-9=10, Resulting Numbers: [11, 12, 10]
Generated Node #2: [11, 12, 10] from Operation: 19-9=10
Current State: 98:[11, 12, 10], Operations: ['19-9=10']
Exploring Operation: 11*10=110, Resulting Numbers: [12, 110]
Generated Node #3: [12, 110] from Operation: 11*10=110
Current State: 98:[12, 110], Operations: ['19-9=10', '11*10=110']
Exploring Operation: 110-12=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[9, 11, 12, 19], Operations: []
Exploring Operation: 19-11=8, Resulting Numbers: [9, 12, 8]
Generated Node #0,0: 98:[9, 12, 8] Operation: 19-11=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[9, 12, 8], Operations: ['19-11=8']
Exploring Operation: 12-9=3, Resulting Numbers: [8, 3]
Generated Node #0,0,0: 98:[8, 3] Operation: 12-9=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 98:[8, 3], Operations: ['19-11=8', '12-9=3']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
41,
85,
53,
68
] | 51 | [
"41*68=2788",
"2788-85=2703",
"2703/53=51"
] | Current State: 51:[41, 85, 53, 68], Operations: []
Exploring Operation: 41*68=2788, Resulting Numbers: [85, 53, 2788]
Generated Node #2: [85, 53, 2788] from Operation: 41*68=2788
Current State: 51:[85, 53, 2788], Operations: ['41*68=2788']
Exploring Operation: 2788-85=2703, Resulting Numbers: [53, 2703]
Generated Node #3: [53, 2703] from Operation: 2788-85=2703
Current State: 51:[53, 2703], Operations: ['41*68=2788', '2788-85=2703']
Exploring Operation: 2703/53=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[41, 85, 53, 68], Operations: []
Exploring Operation: 85-68=17, Resulting Numbers: [41, 53, 17]
Generated Node #0,0: 51:[41, 53, 17] Operation: 85-68=17
Exploring Operation: 85-41=44, Resulting Numbers: [53, 68, 44]
Generated Node #0,1: 51:[53, 68, 44] Operation: 85-41=44
Exploring Operation: 85-53=32, Resulting Numbers: [41, 68, 32]
Generated Node #0,2: 51:[41, 68, 32] Operation: 85-53=32
Exploring Operation: 68-53=15, Resulting Numbers: [41, 85, 15]
Generated Node #0,3: 51:[41, 85, 15] Operation: 68-53=15
Exploring Operation: 68-41=27, Resulting Numbers: [85, 53, 27]
Generated Node #0,4: 51:[85, 53, 27] Operation: 68-41=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[41, 53, 17], Operations: ['85-68=17']
Exploring Operation: 41+17=58, Resulting Numbers: [53, 58]
Generated Node #0,0,0: 51:[53, 58] Operation: 41+17=58
Exploring Operation: 53-41=12, Resulting Numbers: [17, 12]
Generated Node #0,0,1: 51:[17, 12] Operation: 53-41=12
Exploring Operation: 53+17=70, Resulting Numbers: [41, 70]
Generated Node #0,0,2: 51:[41, 70] Operation: 53+17=70
Exploring Operation: 53-17=36, Resulting Numbers: [41, 36]
Generated Node #0,0,3: 51:[41, 36] Operation: 53-17=36
Exploring Operation: 41-17=24, Resulting Numbers: [53, 24]
Generated Node #0,0,4: 51:[53, 24] Operation: 41-17=24
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 51:[17, 12], Operations: ['85-68=17', '53-41=12']
Exploring Operation: 17-12=5, Resulting Numbers: [5]
5,51 unequal: No Solution
Exploring Operation: 17+12=29, Resulting Numbers: [29]
29,51 unequal: No Solution
Exploring Operation: 17*12=204, Resulting Numbers: [204]
204,51 unequal: No Solution
No 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: 51:[53, 58], Operations: ['85-68=17', '41+17=58']
Exploring Operation: 58-53=5, Resulting Numbers: [5]
5,51 unequal: No Solution
Exploring Operation: 53*58=3074, Resulting Numbers: [3074]
3074,51 unequal: No Solution
Exploring Operation: 53+58=111, Resulting Numbers: [111]
111,51 unequal: No Solution
No 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: 51:[53, 24], Operations: ['85-68=17', '41-17=24']
Exploring Operation: 53-24=29, Resulting Numbers: [29]
29,51 unequal: No Solution
Exploring Operation: 53+24=77, Resulting Numbers: [77]
77,51 unequal: No Solution
Exploring Operation: 53*24=1272, Resulting Numbers: [1272]
1272,51 unequal: No Solution
No 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: 51:[41, 36], Operations: ['85-68=17', '53-17=36']
Exploring Operation: 41+36=77, Resulting Numbers: [77]
77,51 unequal: No Solution
Exploring Operation: 41*36=1476, Resulting Numbers: [1476]
1476,51 unequal: No Solution
Exploring Operation: 41-36=5, Resulting Numbers: [5]
5,51 unequal: No Solution
No 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: 51:[41, 70], Operations: ['85-68=17', '53+17=70']
Exploring Operation: 41*70=2870, Resulting Numbers: [2870]
2870,51 unequal: No Solution
Exploring Operation: 70-41=29, Resulting Numbers: [29]
29,51 unequal: No Solution
Exploring Operation: 41+70=111, Resulting Numbers: [111]
111,51 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: 51:[53, 68, 44], Operations: ['85-41=44']
Exploring Operation: 68-44=24, Resulting Numbers: [53, 24]
Generated Node #0,1,0: 51:[53, 24] Operation: 68-44=24
Exploring Operation: 68-53=15, Resulting Numbers: [44, 15]
Generated Node #0,1,1: 51:[44, 15] Operation: 68-53=15
Exploring Operation: 68+44=112, Resulting Numbers: [53, 112]
Generated Node #0,1,2: 51:[53, 112] Operation: 68+44=112
Exploring Operation: 53+44=97, Resulting Numbers: [68, 97]
Generated Node #0,1,3: 51:[68, 97] Operation: 53+44=97
Exploring Operation: 53-44=9, Resulting Numbers: [68, 9]
Generated Node #0,1,4: 51:[68, 9] Operation: 53-44=9
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 51:[53, 24], Operations: ['85-41=44', '68-44=24']
Exploring Operation: 53+24=77, Resulting Numbers: [77]
77,51 unequal: No Solution
Exploring Operation: 53-24=29, Resulting Numbers: [29]
29,51 unequal: No Solution
Exploring Operation: 53*24=1272, Resulting Numbers: [1272]
1272,51 unequal: No Solution
No 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: 51:[44, 15], Operations: ['85-41=44', '68-53=15']
Exploring Operation: 44+15=59, Resulting Numbers: [59]
59,51 unequal: No Solution
Exploring Operation: 44*15=660, Resulting Numbers: [660]
660,51 unequal: No Solution
Exploring Operation: 44-15=29, Resulting Numbers: [29]
29,51 unequal: No Solution
No 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: 51:[68, 9], Operations: ['85-41=44', '53-44=9']
Exploring Operation: 68-9=59, Resulting Numbers: [59]
59,51 unequal: No Solution
Exploring Operation: 68*9=612, Resulting Numbers: [612]
612,51 unequal: No Solution
Exploring Operation: 68+9=77, Resulting Numbers: [77]
77,51 unequal: No Solution
No 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: 51:[53, 112], Operations: ['85-41=44', '68+44=112']
Exploring Operation: 53*112=5936, Resulting Numbers: [5936]
5936,51 unequal: No Solution
Exploring Operation: 53+112=165, Resulting Numbers: [165]
165,51 unequal: No Solution
Exploring Operation: 112-53=59, Resulting Numbers: [59]
59,51 unequal: No Solution
No 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: 51:[68, 97], Operations: ['85-41=44', '53+44=97']
Exploring Operation: 68*97=6596, Resulting Numbers: [6596]
6596,51 unequal: No Solution
Exploring Operation: 68+97=165, Resulting Numbers: [165]
165,51 unequal: No Solution
Exploring Operation: 97-68=29, Resulting Numbers: [29]
29,51 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: 51:[41, 68, 32], Operations: ['85-53=32']
Exploring Operation: 41-32=9, Resulting Numbers: [68, 9]
Generated Node #0,2,0: 51:[68, 9] Operation: 41-32=9
Exploring Operation: 68-41=27, Resulting Numbers: [32, 27]
Generated Node #0,2,1: 51:[32, 27] Operation: 68-41=27
Exploring Operation: 41+32=73, Resulting Numbers: [68, 73]
Generated Node #0,2,2: 51:[68, 73] Operation: 41+32=73
Exploring Operation: 68+32=100, Resulting Numbers: [41, 100]
Generated Node #0,2,3: 51:[41, 100] Operation: 68+32=100
Exploring Operation: 68-32=36, Resulting Numbers: [41, 36]
Generated Node #0,2,4: 51:[41, 36] Operation: 68-32=36
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 51:[68, 9], Operations: ['85-53=32', '41-32=9']
Exploring Operation: 68-9=59, Resulting Numbers: [59]
59,51 unequal: No Solution
Exploring Operation: 68+9=77, Resulting Numbers: [77]
77,51 unequal: No Solution
Exploring Operation: 68*9=612, Resulting Numbers: [612]
612,51 unequal: No Solution
No 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: 51:[32, 27], Operations: ['85-53=32', '68-41=27']
Exploring Operation: 32-27=5, Resulting Numbers: [5]
5,51 unequal: No Solution
Exploring Operation: 32+27=59, Resulting Numbers: [59]
59,51 unequal: No Solution
Exploring Operation: 32*27=864, Resulting Numbers: [864]
864,51 unequal: No Solution
No 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: 51:[41, 36], Operations: ['85-53=32', '68-32=36']
Exploring Operation: 41+36=77, Resulting Numbers: [77]
77,51 unequal: No Solution
Exploring Operation: 41*36=1476, Resulting Numbers: [1476]
1476,51 unequal: No Solution
Exploring Operation: 41-36=5, Resulting Numbers: [5]
5,51 unequal: No Solution
No 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: 51:[68, 73], Operations: ['85-53=32', '41+32=73']
Exploring Operation: 68*73=4964, Resulting Numbers: [4964]
4964,51 unequal: No Solution
Exploring Operation: 73-68=5, Resulting Numbers: [5]
5,51 unequal: No Solution
Exploring Operation: 68+73=141, Resulting Numbers: [141]
141,51 unequal: No Solution
No 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: 51:[41, 100], Operations: ['85-53=32', '68+32=100']
Exploring Operation: 41*100=4100, Resulting Numbers: [4100]
4100,51 unequal: No Solution
Exploring Operation: 41+100=141, Resulting Numbers: [141]
141,51 unequal: No Solution
Exploring Operation: 100-41=59, Resulting Numbers: [59]
59,51 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: 51:[41, 85, 15], Operations: ['68-53=15']
Exploring Operation: 85-41=44, Resulting Numbers: [15, 44]
Generated Node #0,3,0: 51:[15, 44] Operation: 85-41=44
Exploring Operation: 41-15=26, Resulting Numbers: [85, 26]
Generated Node #0,3,1: 51:[85, 26] Operation: 41-15=26
Exploring Operation: 85-15=70, Resulting Numbers: [41, 70]
Generated Node #0,3,2: 51:[41, 70] Operation: 85-15=70
Exploring Operation: 85+15=100, Resulting Numbers: [41, 100]
Generated Node #0,3,3: 51:[41, 100] Operation: 85+15=100
Exploring Operation: 41+15=56, Resulting Numbers: [85, 56]
Generated Node #0,3,4: 51:[85, 56] Operation: 41+15=56
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 51:[15, 44], Operations: ['68-53=15', '85-41=44']
Exploring Operation: 44-15=29, Resulting Numbers: [29]
29,51 unequal: No Solution
Exploring Operation: 15+44=59, Resulting Numbers: [59]
59,51 unequal: No Solution
Exploring Operation: 15*44=660, Resulting Numbers: [660]
660,51 unequal: No Solution
No 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: 51:[41, 70], Operations: ['68-53=15', '85-15=70']
Exploring Operation: 70-41=29, Resulting Numbers: [29]
29,51 unequal: No Solution
Exploring Operation: 41+70=111, Resulting Numbers: [111]
111,51 unequal: No Solution
Exploring Operation: 41*70=2870, Resulting Numbers: [2870]
2870,51 unequal: No Solution
No 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: 51:[85, 56], Operations: ['68-53=15', '41+15=56']
Exploring Operation: 85-56=29, Resulting Numbers: [29]
29,51 unequal: No Solution
Exploring Operation: 85+56=141, Resulting Numbers: [141]
141,51 unequal: No Solution
Exploring Operation: 85*56=4760, Resulting Numbers: [4760]
4760,51 unequal: No Solution
No 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: 51:[85, 26], Operations: ['68-53=15', '41-15=26']
Exploring Operation: 85+26=111, Resulting Numbers: [111]
111,51 unequal: No Solution
Exploring Operation: 85-26=59, Resulting Numbers: [59]
59,51 unequal: No Solution
Exploring Operation: 85*26=2210, Resulting Numbers: [2210]
2210,51 unequal: No Solution
No 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: 51:[41, 100], Operations: ['68-53=15', '85+15=100']
Exploring Operation: 100-41=59, Resulting Numbers: [59]
59,51 unequal: No Solution
Exploring Operation: 41*100=4100, Resulting Numbers: [4100]
4100,51 unequal: No Solution
Exploring Operation: 41+100=141, Resulting Numbers: [141]
141,51 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: 51:[85, 53, 27], Operations: ['68-41=27']
Exploring Operation: 85-53=32, Resulting Numbers: [27, 32]
Generated Node #0,4,0: 51:[27, 32] Operation: 85-53=32
Exploring Operation: 53-27=26, Resulting Numbers: [85, 26]
Generated Node #0,4,1: 51:[85, 26] Operation: 53-27=26
Exploring Operation: 85-27=58, Resulting Numbers: [53, 58]
Generated Node #0,4,2: 51:[53, 58] Operation: 85-27=58
Exploring Operation: 53+27=80, Resulting Numbers: [85, 80]
Generated Node #0,4,3: 51:[85, 80] Operation: 53+27=80
Exploring Operation: 85+27=112, Resulting Numbers: [53, 112]
Generated Node #0,4,4: 51:[53, 112] Operation: 85+27=112
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 51:[53, 58], Operations: ['68-41=27', '85-27=58']
Exploring Operation: 53+58=111, Resulting Numbers: [111]
111,51 unequal: No Solution
Exploring Operation: 53*58=3074, Resulting Numbers: [3074]
3074,51 unequal: No Solution
Exploring Operation: 58-53=5, Resulting Numbers: [5]
5,51 unequal: No Solution
No 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: 51:[27, 32], Operations: ['68-41=27', '85-53=32']
Exploring Operation: 32-27=5, Resulting Numbers: [5]
5,51 unequal: No Solution
Exploring Operation: 27+32=59, Resulting Numbers: [59]
59,51 unequal: No Solution
Exploring Operation: 27*32=864, Resulting Numbers: [864]
864,51 unequal: No Solution
No 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: 51:[85, 26], Operations: ['68-41=27', '53-27=26']
Exploring Operation: 85-26=59, Resulting Numbers: [59]
59,51 unequal: No Solution
Exploring Operation: 85*26=2210, Resulting Numbers: [2210]
2210,51 unequal: No Solution
Exploring Operation: 85+26=111, Resulting Numbers: [111]
111,51 unequal: No Solution
No 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: 51:[85, 80], Operations: ['68-41=27', '53+27=80']
Exploring Operation: 85-80=5, Resulting Numbers: [5]
5,51 unequal: No Solution
Exploring Operation: 85+80=165, Resulting Numbers: [165]
165,51 unequal: No Solution
Exploring Operation: 85*80=6800, Resulting Numbers: [6800]
6800,51 unequal: No Solution
No 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: 51:[53, 112], Operations: ['68-41=27', '85+27=112']
Exploring Operation: 53*112=5936, Resulting Numbers: [5936]
5936,51 unequal: No Solution
Exploring Operation: 53+112=165, Resulting Numbers: [165]
165,51 unequal: No Solution
Exploring Operation: 112-53=59, Resulting Numbers: [59]
59,51 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 |
[
17,
38,
59,
64
] | 47 | [
"64-59=5",
"17*5=85",
"85-38=47"
] | Current State: 47:[17, 38, 59, 64], Operations: []
Exploring Operation: 64-59=5, Resulting Numbers: [17, 38, 5]
Generated Node #2: [17, 38, 5] from Operation: 64-59=5
Current State: 47:[17, 38, 5], Operations: ['64-59=5']
Exploring Operation: 17*5=85, Resulting Numbers: [38, 85]
Generated Node #3: [38, 85] from Operation: 17*5=85
Current State: 47:[38, 85], Operations: ['64-59=5', '17*5=85']
Exploring Operation: 85-38=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[17, 38, 59, 64], Operations: []
Exploring Operation: 64-17=47, Resulting Numbers: [38, 59, 47]
Generated Node #0,0: 47:[38, 59, 47] Operation: 64-17=47
Moving to Node #0,0
Current State: 47:[38, 59, 47], Operations: ['64-17=47']
Exploring Operation: 59-38=21, Resulting Numbers: [47, 21]
Generated Node #0,0,0: 47:[47, 21] Operation: 59-38=21
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 47:[47, 21], Operations: ['64-17=47', '59-38=21']
Exploring Operation: 47+21=68, Resulting Numbers: [68]
68,47 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 |
[
6,
34,
70,
90
] | 21 | [
"90/6=15",
"70-34=36",
"36-15=21"
] | Current State: 21:[6, 34, 70, 90], Operations: []
Exploring Operation: 90/6=15, Resulting Numbers: [34, 70, 15]
Generated Node #2: [34, 70, 15] from Operation: 90/6=15
Current State: 21:[34, 70, 15], Operations: ['90/6=15']
Exploring Operation: 70-34=36, Resulting Numbers: [15, 36]
Generated Node #3: [15, 36] from Operation: 70-34=36
Current State: 21:[15, 36], Operations: ['90/6=15', '70-34=36']
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[6, 34, 70, 90], Operations: []
Exploring Operation: 70-34=36, Resulting Numbers: [6, 90, 36]
Generated Node #0,0: 21:[6, 90, 36] Operation: 70-34=36
Exploring Operation: 90-34=56, Resulting Numbers: [6, 70, 56]
Generated Node #0,1: 21:[6, 70, 56] Operation: 90-34=56
Exploring Operation: 90-70=20, Resulting Numbers: [6, 34, 20]
Generated Node #0,2: 21:[6, 34, 20] Operation: 90-70=20
Exploring Operation: 90/6=15, Resulting Numbers: [34, 70, 15]
Generated Node #0,3: 21:[34, 70, 15] Operation: 90/6=15
Start Sub Search at level 1: Moving to Node #0,2
Current State: 21:[6, 34, 20], Operations: ['90-70=20']
Exploring Operation: 34-6=28, Resulting Numbers: [20, 28]
Generated Node #0,2,0: 21:[20, 28] Operation: 34-6=28
Exploring Operation: 6+20=26, Resulting Numbers: [34, 26]
Generated Node #0,2,1: 21:[34, 26] Operation: 6+20=26
Exploring Operation: 6+34=40, Resulting Numbers: [20, 40]
Generated Node #0,2,2: 21:[20, 40] Operation: 6+34=40
Exploring Operation: 34-20=14, Resulting Numbers: [6, 14]
Generated Node #0,2,3: 21:[6, 14] Operation: 34-20=14
Moving to Node #0,2,0
Current State: 21:[20, 28], Operations: ['90-70=20', '34-6=28']
Exploring Operation: 28-20=8, Resulting Numbers: [8]
8,21 unequal: No Solution
Exploring Operation: 20*28=560, Resulting Numbers: [560]
560,21 unequal: No Solution
Exploring Operation: 20+28=48, Resulting Numbers: [48]
48,21 unequal: No Solution
Moving to Node #0,2,3
Current State: 21:[6, 14], Operations: ['90-70=20', '34-20=14']
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,21 unequal: No Solution
Exploring Operation: 6*14=84, Resulting Numbers: [84]
84,21 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,21 unequal: No Solution
Moving to Node #0,2,1
Current State: 21:[34, 26], Operations: ['90-70=20', '6+20=26']
Exploring Operation: 34-26=8, Resulting Numbers: [8]
8,21 unequal: No Solution
Exploring Operation: 34+26=60, Resulting Numbers: [60]
60,21 unequal: No Solution
Exploring Operation: 34*26=884, Resulting Numbers: [884]
884,21 unequal: No Solution
Moving to Node #0,2,2
Current State: 21:[20, 40], Operations: ['90-70=20', '6+34=40']
Exploring Operation: 20+40=60, Resulting Numbers: [60]
60,21 unequal: No Solution
Exploring Operation: 40-20=20, Resulting Numbers: [20]
20,21 unequal: No Solution
Exploring Operation: 40/20=2, Resulting Numbers: [2]
2,21 unequal: No Solution
Exploring Operation: 20*40=800, Resulting Numbers: [800]
800,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 21:[34, 70, 15], Operations: ['90/6=15']
Exploring Operation: 34-15=19, Resulting Numbers: [70, 19]
Generated Node #0,3,0: 21:[70, 19] Operation: 34-15=19
Exploring Operation: 70-34=36, Resulting Numbers: [15, 36]
Generated Node #0,3,1: 21:[15, 36] Operation: 70-34=36
Exploring Operation: 70-15=55, Resulting Numbers: [34, 55]
Generated Node #0,3,2: 21:[34, 55] Operation: 70-15=55
Exploring Operation: 34+15=49, Resulting Numbers: [70, 49]
Generated Node #0,3,3: 21:[70, 49] Operation: 34+15=49
Moving to Node #0,3,1
Current State: 21:[15, 36], Operations: ['90/6=15', '70-34=36']
Exploring Operation: 15+36=51, Resulting Numbers: [51]
51,21 unequal: No Solution
Exploring Operation: 15*36=540, Resulting Numbers: [540]
540,21 unequal: No Solution
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[6, 34, 70, 90], Operations: []
Exploring Operation: 90/6=15, Resulting Numbers: [34, 70, 15]
Generated Node #0,3: 21:[34, 70, 15] Operation: 90/6=15
Moving to Node #0,3
Current State: 21:[34, 70, 15], Operations: ['90/6=15']
Exploring Operation: 70-34=36, Resulting Numbers: [15, 36]
Generated Node #0,3,1: 21:[15, 36] Operation: 70-34=36
Moving to Node #0,3,1
Current State: 21:[15, 36], Operations: ['90/6=15', '70-34=36']
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.972222 | hs_4 | sum_heuristic |
[
73,
16,
42,
89
] | 41 | [
"73+16=89",
"89/89=1",
"42-1=41"
] | Current State: 41:[73, 16, 42, 89], Operations: []
Exploring Operation: 73+16=89, Resulting Numbers: [42, 89, 89]
Generated Node #2: [42, 89, 89] from Operation: 73+16=89
Current State: 41:[42, 89, 89], Operations: ['73+16=89']
Exploring Operation: 89/89=1, Resulting Numbers: [42, 1]
Generated Node #3: [42, 1] from Operation: 89/89=1
Current State: 41:[42, 1], Operations: ['73+16=89', '89/89=1']
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[73, 16, 42, 89], Operations: []
Exploring Operation: 89-16=73, Resulting Numbers: [73, 42, 73]
Generated Node #0,0: 41:[73, 42, 73] Operation: 89-16=73
Exploring Operation: 89-42=47, Resulting Numbers: [73, 16, 47]
Generated Node #0,1: 41:[73, 16, 47] Operation: 89-42=47
Exploring Operation: 73-16=57, Resulting Numbers: [42, 89, 57]
Generated Node #0,2: 41:[42, 89, 57] Operation: 73-16=57
Exploring Operation: 73-42=31, Resulting Numbers: [16, 89, 31]
Generated Node #0,3: 41:[16, 89, 31] Operation: 73-42=31
Exploring Operation: 89-73=16, Resulting Numbers: [16, 42, 16]
Generated Node #0,4: 41:[16, 42, 16] Operation: 89-73=16
Start Sub Search at level 1: Moving to Node #0,4
Current State: 41:[16, 42, 16], Operations: ['89-73=16']
Exploring Operation: 42-16=26, Resulting Numbers: [16, 26]
Generated Node #0,4,0: 41:[16, 26] Operation: 42-16=26
Exploring Operation: 16+16=32, Resulting Numbers: [42, 32]
Generated Node #0,4,1: 41:[42, 32] Operation: 16+16=32
Exploring Operation: 42-16=26, Resulting Numbers: [16, 26]
Generated Node #0,4,2: 41:[16, 26] Operation: 42-16=26
Exploring Operation: 16/16=1, Resulting Numbers: [42, 1]
Generated Node #0,4,3: 41:[42, 1] Operation: 16/16=1
Exploring Operation: 16+42=58, Resulting Numbers: [16, 58]
Generated Node #0,4,4: 41:[16, 58] Operation: 16+42=58
Moving to Node #0,4,1
Current State: 41:[42, 32], Operations: ['89-73=16', '16+16=32']
Exploring Operation: 42-32=10, Resulting Numbers: [10]
10,41 unequal: No Solution
Exploring Operation: 42+32=74, Resulting Numbers: [74]
74,41 unequal: No Solution
Exploring Operation: 42*32=1344, Resulting Numbers: [1344]
1344,41 unequal: No Solution
Moving to Node #0,4,2
Current State: 41:[16, 26], Operations: ['89-73=16', '42-16=26']
Exploring Operation: 16*26=416, Resulting Numbers: [416]
416,41 unequal: No Solution
Exploring Operation: 26-16=10, Resulting Numbers: [10]
10,41 unequal: No Solution
Exploring Operation: 16+26=42, Resulting Numbers: [42]
42,41 unequal: No Solution
Moving to Node #0,4,0
Current State: 41:[16, 26], Operations: ['89-73=16', '42-16=26']
Exploring Operation: 26-16=10, Resulting Numbers: [10]
10,41 unequal: No Solution
Exploring Operation: 16+26=42, Resulting Numbers: [42]
42,41 unequal: No Solution
Exploring Operation: 16*26=416, Resulting Numbers: [416]
416,41 unequal: No Solution
Moving to Node #0,4,3
Current State: 41:[42, 1], Operations: ['89-73=16', '16/16=1']
Exploring Operation: 42*1=42, Resulting Numbers: [42]
42,41 unequal: No Solution
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[73, 16, 42, 89], Operations: []
Exploring Operation: 89-73=16, Resulting Numbers: [16, 42, 16]
Generated Node #0,4: 41:[16, 42, 16] Operation: 89-73=16
Moving to Node #0,4
Current State: 41:[16, 42, 16], Operations: ['89-73=16']
Exploring Operation: 16/16=1, Resulting Numbers: [42, 1]
Generated Node #0,4,3: 41:[42, 1] Operation: 16/16=1
Moving to Node #0,4,3
Current State: 41:[42, 1], Operations: ['89-73=16', '16/16=1']
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_5 | mult_heuristic |
[
50,
65,
25,
42
] | 44 | [
"50/25=2",
"42/2=21",
"65-21=44"
] | Current State: 44:[50, 65, 25, 42], Operations: []
Exploring Operation: 50/25=2, Resulting Numbers: [65, 42, 2]
Generated Node #2: [65, 42, 2] from Operation: 50/25=2
Current State: 44:[65, 42, 2], Operations: ['50/25=2']
Exploring Operation: 42/2=21, Resulting Numbers: [65, 21]
Generated Node #3: [65, 21] from Operation: 42/2=21
Current State: 44:[65, 21], Operations: ['50/25=2', '42/2=21']
Exploring Operation: 65-21=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[50, 65, 25, 42], Operations: []
Exploring Operation: 65-42=23, Resulting Numbers: [50, 25, 23]
Generated Node #0,0: 44:[50, 25, 23] Operation: 65-42=23
Exploring Operation: 65-50=15, Resulting Numbers: [25, 42, 15]
Generated Node #0,1: 44:[25, 42, 15] Operation: 65-50=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 44:[25, 42, 15], Operations: ['65-50=15']
Exploring Operation: 25+15=40, Resulting Numbers: [42, 40]
Generated Node #0,1,0: 44:[42, 40] Operation: 25+15=40
Exploring Operation: 25-15=10, Resulting Numbers: [42, 10]
Generated Node #0,1,1: 44:[42, 10] Operation: 25-15=10
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 44:[42, 10], Operations: ['65-50=15', '25-15=10']
Exploring Operation: 42-10=32, Resulting Numbers: [32]
32,44 unequal: No Solution
Exploring Operation: 42+10=52, Resulting Numbers: [52]
52,44 unequal: No Solution
No 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: 44:[42, 40], Operations: ['65-50=15', '25+15=40']
Exploring Operation: 42+40=82, Resulting Numbers: [82]
82,44 unequal: No Solution
Exploring Operation: 42-40=2, Resulting Numbers: [2]
2,44 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: 44:[50, 25, 23], Operations: ['65-42=23']
Exploring Operation: 50-25=25, Resulting Numbers: [23, 25]
Generated Node #0,0,0: 44:[23, 25] Operation: 50-25=25
Exploring Operation: 50/25=2, Resulting Numbers: [23, 2]
Generated Node #0,0,1: 44:[23, 2] Operation: 50/25=2
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 44:[23, 2], Operations: ['65-42=23', '50/25=2']
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,44 unequal: No Solution
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,44 unequal: No Solution
No 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: 44:[23, 25], Operations: ['65-42=23', '50-25=25']
Exploring Operation: 25-23=2, Resulting Numbers: [2]
2,44 unequal: No Solution
Exploring Operation: 23+25=48, Resulting Numbers: [48]
48,44 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 |
[
59,
61,
12,
48
] | 54 | [
"61-59=2",
"12/2=6",
"48+6=54"
] | Current State: 54:[59, 61, 12, 48], Operations: []
Exploring Operation: 61-59=2, Resulting Numbers: [12, 48, 2]
Generated Node #2: [12, 48, 2] from Operation: 61-59=2
Current State: 54:[12, 48, 2], Operations: ['61-59=2']
Exploring Operation: 12/2=6, Resulting Numbers: [48, 6]
Generated Node #3: [48, 6] from Operation: 12/2=6
Current State: 54:[48, 6], Operations: ['61-59=2', '12/2=6']
Exploring Operation: 48+6=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[59, 61, 12, 48], Operations: []
Exploring Operation: 61-48=13, Resulting Numbers: [59, 12, 13]
Generated Node #0,0: 54:[59, 12, 13] Operation: 61-48=13
Exploring Operation: 61-59=2, Resulting Numbers: [12, 48, 2]
Generated Node #0,1: 54:[12, 48, 2] Operation: 61-59=2
Exploring Operation: 59-48=11, Resulting Numbers: [61, 12, 11]
Generated Node #0,2: 54:[61, 12, 11] Operation: 59-48=11
Exploring Operation: 61-12=49, Resulting Numbers: [59, 48, 49]
Generated Node #0,3: 54:[59, 48, 49] Operation: 61-12=49
Exploring Operation: 48/12=4, Resulting Numbers: [59, 61, 4]
Generated Node #0,4: 54:[59, 61, 4] Operation: 48/12=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 54:[12, 48, 2], Operations: ['61-59=2']
Exploring Operation: 48/12=4, Resulting Numbers: [2, 4]
Generated Node #0,1,0: 54:[2, 4] Operation: 48/12=4
Exploring Operation: 12-2=10, Resulting Numbers: [48, 10]
Generated Node #0,1,1: 54:[48, 10] Operation: 12-2=10
Exploring Operation: 48/2=24, Resulting Numbers: [12, 24]
Generated Node #0,1,2: 54:[12, 24] Operation: 48/2=24
Exploring Operation: 12+48=60, Resulting Numbers: [2, 60]
Generated Node #0,1,3: 54:[2, 60] Operation: 12+48=60
Exploring Operation: 12/2=6, Resulting Numbers: [48, 6]
Generated Node #0,1,4: 54:[48, 6] Operation: 12/2=6
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 54:[2, 4], Operations: ['61-59=2', '48/12=4']
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,54 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,54 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,54 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 54:[12, 24], Operations: ['61-59=2', '48/2=24']
Exploring Operation: 12+24=36, Resulting Numbers: [36]
36,54 unequal: No Solution
Exploring Operation: 24-12=12, Resulting Numbers: [12]
12,54 unequal: No Solution
Exploring Operation: 12*24=288, Resulting Numbers: [288]
288,54 unequal: No Solution
Exploring Operation: 24/12=2, Resulting Numbers: [2]
2,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 54:[2, 60], Operations: ['61-59=2', '12+48=60']
Exploring Operation: 2+60=62, Resulting Numbers: [62]
62,54 unequal: No Solution
Exploring Operation: 2*60=120, Resulting Numbers: [120]
120,54 unequal: No Solution
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,54 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 54:[48, 6], Operations: ['61-59=2', '12/2=6']
Exploring Operation: 48*6=288, Resulting Numbers: [288]
288,54 unequal: No Solution
Exploring Operation: 48-6=42, Resulting Numbers: [42]
42,54 unequal: No Solution
Exploring Operation: 48/6=8, Resulting Numbers: [8]
8,54 unequal: No Solution
Exploring Operation: 48+6=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[59, 61, 12, 48], Operations: []
Exploring Operation: 61-59=2, Resulting Numbers: [12, 48, 2]
Generated Node #0,1: 54:[12, 48, 2] Operation: 61-59=2
Moving to Node #0,1
Current State: 54:[12, 48, 2], Operations: ['61-59=2']
Exploring Operation: 12/2=6, Resulting Numbers: [48, 6]
Generated Node #0,1,4: 54:[48, 6] Operation: 12/2=6
Moving to Node #0,1,4
Current State: 54:[48, 6], Operations: ['61-59=2', '12/2=6']
Exploring Operation: 48+6=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.973958 | hs_5 | mult_heuristic |
[
74,
69,
2,
47
] | 17 | [
"74+47=121",
"69*2=138",
"138-121=17"
] | Current State: 17:[74, 69, 2, 47], Operations: []
Exploring Operation: 74+47=121, Resulting Numbers: [69, 2, 121]
Generated Node #2: [69, 2, 121] from Operation: 74+47=121
Current State: 17:[69, 2, 121], Operations: ['74+47=121']
Exploring Operation: 69*2=138, Resulting Numbers: [121, 138]
Generated Node #3: [121, 138] from Operation: 69*2=138
Current State: 17:[121, 138], Operations: ['74+47=121', '69*2=138']
Exploring Operation: 138-121=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[74, 69, 2, 47], Operations: []
Exploring Operation: 69-47=22, Resulting Numbers: [74, 2, 22]
Generated Node #0,0: 17:[74, 2, 22] Operation: 69-47=22
Exploring Operation: 74-69=5, Resulting Numbers: [2, 47, 5]
Generated Node #0,1: 17:[2, 47, 5] Operation: 74-69=5
Exploring Operation: 74/2=37, Resulting Numbers: [69, 47, 37]
Generated Node #0,2: 17:[69, 47, 37] Operation: 74/2=37
Exploring Operation: 74-47=27, Resulting Numbers: [69, 2, 27]
Generated Node #0,3: 17:[69, 2, 27] Operation: 74-47=27
Moving to Node #0,1
Current State: 17:[2, 47, 5], Operations: ['74-69=5']
Exploring Operation: 2*5=10, Resulting Numbers: [47, 10]
Generated Node #0,1,0: 17:[47, 10] Operation: 2*5=10
Exploring Operation: 47-5=42, Resulting Numbers: [2, 42]
Generated Node #0,1,1: 17:[2, 42] Operation: 47-5=42
Exploring Operation: 2+5=7, Resulting Numbers: [47, 7]
Generated Node #0,1,2: 17:[47, 7] Operation: 2+5=7
Exploring Operation: 47-2=45, Resulting Numbers: [5, 45]
Generated Node #0,1,3: 17:[5, 45] Operation: 47-2=45
Moving to Node #0,3
Current State: 17:[69, 2, 27], Operations: ['74-47=27']
Exploring Operation: 27-2=25, Resulting Numbers: [69, 25]
Generated Node #0,3,0: 17:[69, 25] Operation: 27-2=25
Exploring Operation: 69-27=42, Resulting Numbers: [2, 42]
Generated Node #0,3,1: 17:[2, 42] Operation: 69-27=42
Exploring Operation: 69+2=71, Resulting Numbers: [27, 71]
Generated Node #0,3,2: 17:[27, 71] Operation: 69+2=71
Exploring Operation: 69-2=67, Resulting Numbers: [27, 67]
Generated Node #0,3,3: 17:[27, 67] Operation: 69-2=67
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 17:[2, 42], Operations: ['74-47=27', '69-27=42']
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,17 unequal: No Solution
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,17 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,17 unequal: No Solution
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 17:[69, 25], Operations: ['74-47=27', '27-2=25']
Exploring Operation: 69*25=1725, Resulting Numbers: [1725]
1725,17 unequal: No Solution
Exploring Operation: 69+25=94, Resulting Numbers: [94]
94,17 unequal: No Solution
Exploring Operation: 69-25=44, Resulting Numbers: [44]
44,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 17:[27, 67], Operations: ['74-47=27', '69-2=67']
Exploring Operation: 27*67=1809, Resulting Numbers: [1809]
1809,17 unequal: No Solution
Exploring Operation: 27+67=94, Resulting Numbers: [94]
94,17 unequal: No Solution
Exploring Operation: 67-27=40, Resulting Numbers: [40]
40,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 17:[27, 71], Operations: ['74-47=27', '69+2=71']
Exploring Operation: 71-27=44, Resulting Numbers: [44]
44,17 unequal: No Solution
Exploring Operation: 27*71=1917, Resulting Numbers: [1917]
1917,17 unequal: No Solution
Exploring Operation: 27+71=98, Resulting Numbers: [98]
98,17 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: 17:[74, 2, 22], Operations: ['69-47=22']
Exploring Operation: 74-22=52, Resulting Numbers: [2, 52]
Generated Node #0,0,0: 17:[2, 52] Operation: 74-22=52
Exploring Operation: 74/2=37, Resulting Numbers: [22, 37]
Generated Node #0,0,1: 17:[22, 37] Operation: 74/2=37
Exploring Operation: 22-2=20, Resulting Numbers: [74, 20]
Generated Node #0,0,2: 17:[74, 20] Operation: 22-2=20
Exploring Operation: 74-2=72, Resulting Numbers: [22, 72]
Generated Node #0,0,3: 17:[22, 72] Operation: 74-2=72
Moving to Node #0,2
Current State: 17:[69, 47, 37], Operations: ['74/2=37']
Exploring Operation: 69-37=32, Resulting Numbers: [47, 32]
Generated Node #0,2,0: 17:[47, 32] Operation: 69-37=32
Exploring Operation: 69+47=116, Resulting Numbers: [37, 116]
Generated Node #0,2,1: 17:[37, 116] Operation: 69+47=116
Exploring Operation: 69-47=22, Resulting Numbers: [37, 22]
Generated Node #0,2,2: 17:[37, 22] Operation: 69-47=22
Exploring Operation: 47-37=10, Resulting Numbers: [69, 10]
Generated Node #0,2,3: 17:[69, 10] Operation: 47-37=10
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 17:[37, 22], Operations: ['74/2=37', '69-47=22']
Exploring Operation: 37-22=15, Resulting Numbers: [15]
15,17 unequal: No Solution
Exploring Operation: 37*22=814, Resulting Numbers: [814]
814,17 unequal: No Solution
Exploring Operation: 37+22=59, Resulting Numbers: [59]
59,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 17:[47, 32], Operations: ['74/2=37', '69-37=32']
Exploring Operation: 47-32=15, Resulting Numbers: [15]
15,17 unequal: No Solution
Exploring Operation: 47+32=79, Resulting Numbers: [79]
79,17 unequal: No Solution
Exploring Operation: 47*32=1504, Resulting Numbers: [1504]
1504,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 17:[69, 10], Operations: ['74/2=37', '47-37=10']
Exploring Operation: 69+10=79, Resulting Numbers: [79]
79,17 unequal: No Solution
Exploring Operation: 69-10=59, Resulting Numbers: [59]
59,17 unequal: No Solution
Exploring Operation: 69*10=690, Resulting Numbers: [690]
690,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 17:[37, 116], Operations: ['74/2=37', '69+47=116']
Exploring Operation: 116-37=79, Resulting Numbers: [79]
79,17 unequal: No Solution
Exploring Operation: 37*116=4292, Resulting Numbers: [4292]
4292,17 unequal: No Solution
Exploring Operation: 37+116=153, Resulting Numbers: [153]
153,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 17:[22, 37], Operations: ['69-47=22', '74/2=37']
Exploring Operation: 22*37=814, Resulting Numbers: [814]
814,17 unequal: No Solution
Exploring Operation: 22+37=59, Resulting Numbers: [59]
59,17 unequal: No Solution
Exploring Operation: 37-22=15, Resulting Numbers: [15]
15,17 unequal: No Solution
Moving to Node #0,1,0
Current State: 17:[47, 10], Operations: ['74-69=5', '2*5=10']
Exploring Operation: 47*10=470, Resulting Numbers: [470]
470,17 unequal: No Solution
Exploring Operation: 47-10=37, Resulting Numbers: [37]
37,17 unequal: No Solution
Exploring Operation: 47+10=57, Resulting Numbers: [57]
57,17 unequal: No Solution
Moving to Node #0,1,2
Current State: 17:[47, 7], Operations: ['74-69=5', '2+5=7']
Exploring Operation: 47*7=329, Resulting Numbers: [329]
329,17 unequal: No Solution
Exploring Operation: 47-7=40, Resulting Numbers: [40]
40,17 unequal: No Solution
Exploring Operation: 47+7=54, Resulting Numbers: [54]
54,17 unequal: No Solution
Moving to Node #0,1,1
Current State: 17:[2, 42], Operations: ['74-69=5', '47-5=42']
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,17 unequal: No Solution
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,17 unequal: No Solution
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,17 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,17 unequal: No Solution
Moving to Node #0,1,3
Current State: 17:[5, 45], Operations: ['74-69=5', '47-2=45']
Exploring Operation: 5*45=225, Resulting Numbers: [225]
225,17 unequal: No Solution
Exploring Operation: 45/5=9, Resulting Numbers: [9]
9,17 unequal: No Solution
Exploring Operation: 5+45=50, Resulting Numbers: [50]
50,17 unequal: No Solution
Exploring Operation: 45-5=40, Resulting Numbers: [40]
40,17 unequal: No Solution
Moving to Node #0,0,0
Current State: 17:[2, 52], Operations: ['69-47=22', '74-22=52']
Exploring Operation: 2*52=104, Resulting Numbers: [104]
104,17 unequal: No Solution
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,17 unequal: No Solution
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,17 unequal: No Solution
Exploring Operation: 2+52=54, Resulting Numbers: [54]
54,17 unequal: No Solution
Moving to Node #0,0,2
Current State: 17:[74, 20], Operations: ['69-47=22', '22-2=20']
Exploring Operation: 74-20=54, Resulting Numbers: [54]
54,17 unequal: No Solution
Exploring Operation: 74*20=1480, Resulting Numbers: [1480]
1480,17 unequal: No Solution
Exploring Operation: 74+20=94, Resulting Numbers: [94]
94,17 unequal: No Solution
Moving to Node #0,0,3
Current State: 17:[22, 72], Operations: ['69-47=22', '74-2=72']
Exploring Operation: 72-22=50, Resulting Numbers: [50]
50,17 unequal: No Solution
Exploring Operation: 22*72=1584, Resulting Numbers: [1584]
1584,17 unequal: No Solution
Exploring Operation: 22+72=94, Resulting Numbers: [94]
94,17 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
34,
31,
40,
14
] | 29 | [
"34-31=3",
"40-14=26",
"3+26=29"
] | Current State: 29:[34, 31, 40, 14], Operations: []
Exploring Operation: 34-31=3, Resulting Numbers: [40, 14, 3]
Generated Node #2: [40, 14, 3] from Operation: 34-31=3
Current State: 29:[40, 14, 3], Operations: ['34-31=3']
Exploring Operation: 40-14=26, Resulting Numbers: [3, 26]
Generated Node #3: [3, 26] from Operation: 40-14=26
Current State: 29:[3, 26], Operations: ['34-31=3', '40-14=26']
Exploring Operation: 3+26=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[34, 31, 40, 14], Operations: []
Exploring Operation: 40-14=26, Resulting Numbers: [34, 31, 26]
Generated Node #0,0: 29:[34, 31, 26] Operation: 40-14=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[34, 31, 26], Operations: ['40-14=26']
Exploring Operation: 34-26=8, Resulting Numbers: [31, 8]
Generated Node #0,0,0: 29:[31, 8] Operation: 34-26=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 29:[31, 8], Operations: ['40-14=26', '34-26=8']
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,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
No solution found.
| 0 | hs_1 | sum_heuristic |
[
49,
6,
18,
20
] | 89 | [
"49-18=31",
"6*20=120",
"120-31=89"
] | Current State: 89:[49, 6, 18, 20], Operations: []
Exploring Operation: 49-18=31, Resulting Numbers: [6, 20, 31]
Generated Node #2: [6, 20, 31] from Operation: 49-18=31
Current State: 89:[6, 20, 31], Operations: ['49-18=31']
Exploring Operation: 6*20=120, Resulting Numbers: [31, 120]
Generated Node #3: [31, 120] from Operation: 6*20=120
Current State: 89:[31, 120], Operations: ['49-18=31', '6*20=120']
Exploring Operation: 120-31=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[49, 6, 18, 20], Operations: []
Exploring Operation: 49+6=55, Resulting Numbers: [18, 20, 55]
Generated Node #0,0: 89:[18, 20, 55] Operation: 49+6=55
Exploring Operation: 6*20=120, Resulting Numbers: [49, 18, 120]
Generated Node #0,1: 89:[49, 18, 120] Operation: 6*20=120
Exploring Operation: 6*18=108, Resulting Numbers: [49, 20, 108]
Generated Node #0,2: 89:[49, 20, 108] Operation: 6*18=108
Moving to Node #0,2
Current State: 89:[49, 20, 108], Operations: ['6*18=108']
Exploring Operation: 108-20=88, Resulting Numbers: [49, 88]
Generated Node #0,2,0: 89:[49, 88] Operation: 108-20=88
Exploring Operation: 49-20=29, Resulting Numbers: [108, 29]
Generated Node #0,2,1: 89:[108, 29] Operation: 49-20=29
Exploring Operation: 49+20=69, Resulting Numbers: [108, 69]
Generated Node #0,2,2: 89:[108, 69] Operation: 49+20=69
Moving to Node #0,1
Current State: 89:[49, 18, 120], Operations: ['6*20=120']
Exploring Operation: 120-18=102, Resulting Numbers: [49, 102]
Generated Node #0,1,0: 89:[49, 102] Operation: 120-18=102
Exploring Operation: 49-18=31, Resulting Numbers: [120, 31]
Generated Node #0,1,1: 89:[120, 31] Operation: 49-18=31
Exploring Operation: 49+18=67, Resulting Numbers: [120, 67]
Generated Node #0,1,2: 89:[120, 67] Operation: 49+18=67
Moving to Node #0,0
Current State: 89:[18, 20, 55], Operations: ['49+6=55']
Exploring Operation: 20+55=75, Resulting Numbers: [18, 75]
Generated Node #0,0,0: 89:[18, 75] Operation: 20+55=75
Exploring Operation: 18+55=73, Resulting Numbers: [20, 73]
Generated Node #0,0,1: 89:[20, 73] Operation: 18+55=73
Exploring Operation: 18+20=38, Resulting Numbers: [55, 38]
Generated Node #0,0,2: 89:[55, 38] Operation: 18+20=38
Moving to Node #0,2,2
Current State: 89:[108, 69], Operations: ['6*18=108', '49+20=69']
Exploring Operation: 108-69=39, Resulting Numbers: [39]
39,89 unequal: No Solution
Exploring Operation: 108*69=7452, Resulting Numbers: [7452]
7452,89 unequal: No Solution
Exploring Operation: 108+69=177, Resulting Numbers: [177]
177,89 unequal: No Solution
Moving to Node #0,2,0
Current State: 89:[49, 88], Operations: ['6*18=108', '108-20=88']
Exploring Operation: 49+88=137, Resulting Numbers: [137]
137,89 unequal: No Solution
Exploring Operation: 49*88=4312, Resulting Numbers: [4312]
4312,89 unequal: No Solution
Exploring Operation: 88-49=39, Resulting Numbers: [39]
39,89 unequal: No Solution
Moving to Node #0,1,2
Current State: 89:[120, 67], Operations: ['6*20=120', '49+18=67']
Exploring Operation: 120+67=187, Resulting Numbers: [187]
187,89 unequal: No Solution
Exploring Operation: 120*67=8040, Resulting Numbers: [8040]
8040,89 unequal: No Solution
Exploring Operation: 120-67=53, Resulting Numbers: [53]
53,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[49, 102], Operations: ['6*20=120', '120-18=102']
Exploring Operation: 49+102=151, Resulting Numbers: [151]
151,89 unequal: No Solution
Exploring Operation: 49*102=4998, Resulting Numbers: [4998]
4998,89 unequal: No Solution
Exploring Operation: 102-49=53, Resulting Numbers: [53]
53,89 unequal: No Solution
Moving to Node #0,2,1
Current State: 89:[108, 29], Operations: ['6*18=108', '49-20=29']
Exploring Operation: 108*29=3132, Resulting Numbers: [3132]
3132,89 unequal: No Solution
Exploring Operation: 108-29=79, Resulting Numbers: [79]
79,89 unequal: No Solution
Exploring Operation: 108+29=137, Resulting Numbers: [137]
137,89 unequal: No Solution
Moving to Node #0,0,2
Current State: 89:[55, 38], Operations: ['49+6=55', '18+20=38']
Exploring Operation: 55+38=93, Resulting Numbers: [93]
93,89 unequal: No Solution
Exploring Operation: 55-38=17, Resulting Numbers: [17]
17,89 unequal: No Solution
Exploring Operation: 55*38=2090, Resulting Numbers: [2090]
2090,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[20, 73], Operations: ['49+6=55', '18+55=73']
Exploring Operation: 20*73=1460, Resulting Numbers: [1460]
1460,89 unequal: No Solution
Exploring Operation: 73-20=53, Resulting Numbers: [53]
53,89 unequal: No Solution
Exploring Operation: 20+73=93, Resulting Numbers: [93]
93,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[18, 75], Operations: ['49+6=55', '20+55=75']
Exploring Operation: 18+75=93, Resulting Numbers: [93]
93,89 unequal: No Solution
Exploring Operation: 75-18=57, Resulting Numbers: [57]
57,89 unequal: No Solution
Exploring Operation: 18*75=1350, Resulting Numbers: [1350]
1350,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[120, 31], Operations: ['6*20=120', '49-18=31']
Exploring Operation: 120*31=3720, Resulting Numbers: [3720]
3720,89 unequal: No Solution
Exploring Operation: 120-31=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[49, 6, 18, 20], Operations: []
Exploring Operation: 6*20=120, Resulting Numbers: [49, 18, 120]
Generated Node #0,1: 89:[49, 18, 120] Operation: 6*20=120
Moving to Node #0,1
Current State: 89:[49, 18, 120], Operations: ['6*20=120']
Exploring Operation: 49-18=31, Resulting Numbers: [120, 31]
Generated Node #0,1,1: 89:[120, 31] Operation: 49-18=31
Moving to Node #0,1,1
Current State: 89:[120, 31], Operations: ['6*20=120', '49-18=31']
Exploring Operation: 120-31=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 0.963542 | hs_3 | mult_heuristic |
[
88,
23,
58,
42
] | 56 | [
"88-42=46",
"46/23=2",
"58-2=56"
] | Current State: 56:[88, 23, 58, 42], Operations: []
Exploring Operation: 88-42=46, Resulting Numbers: [23, 58, 46]
Generated Node #2: [23, 58, 46] from Operation: 88-42=46
Current State: 56:[23, 58, 46], Operations: ['88-42=46']
Exploring Operation: 46/23=2, Resulting Numbers: [58, 2]
Generated Node #3: [58, 2] from Operation: 46/23=2
Current State: 56:[58, 2], Operations: ['88-42=46', '46/23=2']
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[88, 23, 58, 42], Operations: []
Exploring Operation: 88-58=30, Resulting Numbers: [23, 42, 30]
Generated Node #0,0: 56:[23, 42, 30] Operation: 88-58=30
Exploring Operation: 88-42=46, Resulting Numbers: [23, 58, 46]
Generated Node #0,1: 56:[23, 58, 46] Operation: 88-42=46
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[23, 58, 46], Operations: ['88-42=46']
Exploring Operation: 46-23=23, Resulting Numbers: [58, 23]
Generated Node #0,1,0: 56:[58, 23] Operation: 46-23=23
Exploring Operation: 46/23=2, Resulting Numbers: [58, 2]
Generated Node #0,1,1: 56:[58, 2] Operation: 46/23=2
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 56:[58, 2], Operations: ['88-42=46', '46/23=2']
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[88, 23, 58, 42], Operations: []
Exploring Operation: 88-42=46, Resulting Numbers: [23, 58, 46]
Generated Node #0,1: 56:[23, 58, 46] Operation: 88-42=46
Moving to Node #0,1
Current State: 56:[23, 58, 46], Operations: ['88-42=46']
Exploring Operation: 46/23=2, Resulting Numbers: [58, 2]
Generated Node #0,1,1: 56:[58, 2] Operation: 46/23=2
Moving to Node #0,1,1
Current State: 56:[58, 2], Operations: ['88-42=46', '46/23=2']
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
32,
36,
72,
44
] | 74 | [
"32+44=76",
"72/36=2",
"76-2=74"
] | Current State: 74:[32, 36, 72, 44], Operations: []
Exploring Operation: 32+44=76, Resulting Numbers: [36, 72, 76]
Generated Node #2: [36, 72, 76] from Operation: 32+44=76
Current State: 74:[36, 72, 76], Operations: ['32+44=76']
Exploring Operation: 72/36=2, Resulting Numbers: [76, 2]
Generated Node #3: [76, 2] from Operation: 72/36=2
Current State: 74:[76, 2], Operations: ['32+44=76', '72/36=2']
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[32, 36, 72, 44], Operations: []
Exploring Operation: 36-32=4, Resulting Numbers: [72, 44, 4]
Generated Node #0,0: 74:[72, 44, 4] Operation: 36-32=4
Exploring Operation: 72-32=40, Resulting Numbers: [36, 44, 40]
Generated Node #0,1: 74:[36, 44, 40] Operation: 72-32=40
Exploring Operation: 32+44=76, Resulting Numbers: [36, 72, 76]
Generated Node #0,2: 74:[36, 72, 76] Operation: 32+44=76
Start Sub Search at level 1: Moving to Node #0,2
Current State: 74:[36, 72, 76], Operations: ['32+44=76']
Exploring Operation: 76-72=4, Resulting Numbers: [36, 4]
Generated Node #0,2,0: 74:[36, 4] Operation: 76-72=4
Exploring Operation: 72-36=36, Resulting Numbers: [76, 36]
Generated Node #0,2,1: 74:[76, 36] Operation: 72-36=36
Exploring Operation: 72/36=2, Resulting Numbers: [76, 2]
Generated Node #0,2,2: 74:[76, 2] Operation: 72/36=2
Moving to Node #0,2,2
Current State: 74:[76, 2], Operations: ['32+44=76', '72/36=2']
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,74 unequal: No Solution
Exploring Operation: 76+2=78, Resulting Numbers: [78]
78,74 unequal: No Solution
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[32, 36, 72, 44], Operations: []
Exploring Operation: 32+44=76, Resulting Numbers: [36, 72, 76]
Generated Node #0,2: 74:[36, 72, 76] Operation: 32+44=76
Moving to Node #0,2
Current State: 74:[36, 72, 76], Operations: ['32+44=76']
Exploring Operation: 72/36=2, Resulting Numbers: [76, 2]
Generated Node #0,2,2: 74:[76, 2] Operation: 72/36=2
Moving to Node #0,2,2
Current State: 74:[76, 2], Operations: ['32+44=76', '72/36=2']
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
46,
91,
9,
25
] | 30 | [
"91-46=45",
"45/9=5",
"25+5=30"
] | Current State: 30:[46, 91, 9, 25], Operations: []
Exploring Operation: 91-46=45, Resulting Numbers: [9, 25, 45]
Generated Node #2: [9, 25, 45] from Operation: 91-46=45
Current State: 30:[9, 25, 45], Operations: ['91-46=45']
Exploring Operation: 45/9=5, Resulting Numbers: [25, 5]
Generated Node #3: [25, 5] from Operation: 45/9=5
Current State: 30:[25, 5], Operations: ['91-46=45', '45/9=5']
Exploring Operation: 25+5=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[46, 91, 9, 25], Operations: []
Exploring Operation: 91-25=66, Resulting Numbers: [46, 9, 66]
Generated Node #0,0: 30:[46, 9, 66] Operation: 91-25=66
Exploring Operation: 46-25=21, Resulting Numbers: [91, 9, 21]
Generated Node #0,1: 30:[91, 9, 21] Operation: 46-25=21
Exploring Operation: 91-46=45, Resulting Numbers: [9, 25, 45]
Generated Node #0,2: 30:[9, 25, 45] Operation: 91-46=45
Exploring Operation: 46-9=37, Resulting Numbers: [91, 25, 37]
Generated Node #0,3: 30:[91, 25, 37] Operation: 46-9=37
Start Sub Search at level 1: Moving to Node #0,2
Current State: 30:[9, 25, 45], Operations: ['91-46=45']
Exploring Operation: 25-9=16, Resulting Numbers: [45, 16]
Generated Node #0,2,0: 30:[45, 16] Operation: 25-9=16
Exploring Operation: 45-9=36, Resulting Numbers: [25, 36]
Generated Node #0,2,1: 30:[25, 36] Operation: 45-9=36
Exploring Operation: 45/9=5, Resulting Numbers: [25, 5]
Generated Node #0,2,2: 30:[25, 5] Operation: 45/9=5
Exploring Operation: 45-25=20, Resulting Numbers: [9, 20]
Generated Node #0,2,3: 30:[9, 20] Operation: 45-25=20
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 30:[25, 5], Operations: ['91-46=45', '45/9=5']
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,30 unequal: No Solution
Exploring Operation: 25*5=125, Resulting Numbers: [125]
125,30 unequal: No Solution
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,30 unequal: No Solution
Exploring Operation: 25+5=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[46, 91, 9, 25], Operations: []
Exploring Operation: 91-46=45, Resulting Numbers: [9, 25, 45]
Generated Node #0,2: 30:[9, 25, 45] Operation: 91-46=45
Moving to Node #0,2
Current State: 30:[9, 25, 45], Operations: ['91-46=45']
Exploring Operation: 45/9=5, Resulting Numbers: [25, 5]
Generated Node #0,2,2: 30:[25, 5] Operation: 45/9=5
Moving to Node #0,2,2
Current State: 30:[25, 5], Operations: ['91-46=45', '45/9=5']
Exploring Operation: 25+5=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
76,
4,
22,
55
] | 39 | [
"76-4=72",
"55-22=33",
"72-33=39"
] | Current State: 39:[76, 4, 22, 55], Operations: []
Exploring Operation: 76-4=72, Resulting Numbers: [22, 55, 72]
Generated Node #2: [22, 55, 72] from Operation: 76-4=72
Current State: 39:[22, 55, 72], Operations: ['76-4=72']
Exploring Operation: 55-22=33, Resulting Numbers: [72, 33]
Generated Node #3: [72, 33] from Operation: 55-22=33
Current State: 39:[72, 33], Operations: ['76-4=72', '55-22=33']
Exploring Operation: 72-33=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[76, 4, 22, 55], Operations: []
Exploring Operation: 76/4=19, Resulting Numbers: [22, 55, 19]
Generated Node #0,0: 39:[22, 55, 19] Operation: 76/4=19
Exploring Operation: 76-22=54, Resulting Numbers: [4, 55, 54]
Generated Node #0,1: 39:[4, 55, 54] Operation: 76-22=54
Exploring Operation: 76-55=21, Resulting Numbers: [4, 22, 21]
Generated Node #0,2: 39:[4, 22, 21] Operation: 76-55=21
Exploring Operation: 55-22=33, Resulting Numbers: [76, 4, 33]
Generated Node #0,3: 39:[76, 4, 33] Operation: 55-22=33
Start Sub Search at level 1: Moving to Node #0,2
Current State: 39:[4, 22, 21], Operations: ['76-55=21']
Exploring Operation: 21-4=17, Resulting Numbers: [22, 17]
Generated Node #0,2,0: 39:[22, 17] Operation: 21-4=17
Exploring Operation: 22-21=1, Resulting Numbers: [4, 1]
Generated Node #0,2,1: 39:[4, 1] Operation: 22-21=1
Exploring Operation: 22-4=18, Resulting Numbers: [21, 18]
Generated Node #0,2,2: 39:[21, 18] Operation: 22-4=18
Exploring Operation: 22+21=43, Resulting Numbers: [4, 43]
Generated Node #0,2,3: 39:[4, 43] Operation: 22+21=43
Moving to Node #0,2,1
Current State: 39:[4, 1], Operations: ['76-55=21', '22-21=1']
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,39 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Moving to Node #0,2,3
Current State: 39:[4, 43], Operations: ['76-55=21', '22+21=43']
Exploring Operation: 4+43=47, Resulting Numbers: [47]
47,39 unequal: No Solution
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[76, 4, 22, 55], Operations: []
Exploring Operation: 76-55=21, Resulting Numbers: [4, 22, 21]
Generated Node #0,2: 39:[4, 22, 21] Operation: 76-55=21
Moving to Node #0,2
Current State: 39:[4, 22, 21], Operations: ['76-55=21']
Exploring Operation: 22+21=43, Resulting Numbers: [4, 43]
Generated Node #0,2,3: 39:[4, 43] Operation: 22+21=43
Moving to Node #0,2,3
Current State: 39:[4, 43], Operations: ['76-55=21', '22+21=43']
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
15,
2,
32,
92
] | 94 | [
"15*2=30",
"32+92=124",
"124-30=94"
] | Current State: 94:[15, 2, 32, 92], Operations: []
Exploring Operation: 15*2=30, Resulting Numbers: [32, 92, 30]
Generated Node #2: [32, 92, 30] from Operation: 15*2=30
Current State: 94:[32, 92, 30], Operations: ['15*2=30']
Exploring Operation: 32+92=124, Resulting Numbers: [30, 124]
Generated Node #3: [30, 124] from Operation: 32+92=124
Current State: 94:[30, 124], Operations: ['15*2=30', '32+92=124']
Exploring Operation: 124-30=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[15, 2, 32, 92], Operations: []
Exploring Operation: 32-15=17, Resulting Numbers: [2, 92, 17]
Generated Node #0,0: 94:[2, 92, 17] Operation: 32-15=17
Exploring Operation: 15+32=47, Resulting Numbers: [2, 92, 47]
Generated Node #0,1: 94:[2, 92, 47] Operation: 15+32=47
Moving to Node #0,1
Current State: 94:[2, 92, 47], Operations: ['15+32=47']
Exploring Operation: 92/2=46, Resulting Numbers: [47, 46]
Generated Node #0,1,0: 94:[47, 46] Operation: 92/2=46
Exploring Operation: 2+92=94, Resulting Numbers: [47, 94]
Generated Node #0,1,1: 94:[47, 94] Operation: 2+92=94
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 94:[47, 94], Operations: ['15+32=47', '2+92=94']
Exploring Operation: 94/47=2, Resulting Numbers: [2]
2,94 unequal: No Solution
Exploring Operation: 94-47=47, Resulting Numbers: [47]
47,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 94:[47, 46], Operations: ['15+32=47', '92/2=46']
Exploring Operation: 47+46=93, Resulting Numbers: [93]
93,94 unequal: No Solution
Exploring Operation: 47-46=1, Resulting Numbers: [1]
1,94 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: 94:[2, 92, 17], Operations: ['32-15=17']
Exploring Operation: 2*17=34, Resulting Numbers: [92, 34]
Generated Node #0,0,0: 94:[92, 34] Operation: 2*17=34
Exploring Operation: 2+92=94, Resulting Numbers: [17, 94]
Generated Node #0,0,1: 94:[17, 94] Operation: 2+92=94
Moving to Node #0,0,0
Current State: 94:[92, 34], Operations: ['32-15=17', '2*17=34']
Exploring Operation: 92-34=58, Resulting Numbers: [58]
58,94 unequal: No Solution
Exploring Operation: 92+34=126, Resulting Numbers: [126]
126,94 unequal: No Solution
Moving to Node #0,0,1
Current State: 94:[17, 94], Operations: ['32-15=17', '2+92=94']
Exploring Operation: 17+94=111, Resulting Numbers: [111]
111,94 unequal: No Solution
Exploring Operation: 94-17=77, Resulting Numbers: [77]
77,94 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
30,
25,
88,
80
] | 50 | [
"30+25=55",
"80*55=4400",
"4400/88=50"
] | Current State: 50:[30, 25, 88, 80], Operations: []
Exploring Operation: 30+25=55, Resulting Numbers: [88, 80, 55]
Generated Node #2: [88, 80, 55] from Operation: 30+25=55
Current State: 50:[88, 80, 55], Operations: ['30+25=55']
Exploring Operation: 80*55=4400, Resulting Numbers: [88, 4400]
Generated Node #3: [88, 4400] from Operation: 80*55=4400
Current State: 50:[88, 4400], Operations: ['30+25=55', '80*55=4400']
Exploring Operation: 4400/88=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[30, 25, 88, 80], Operations: []
Exploring Operation: 80-30=50, Resulting Numbers: [25, 88, 50]
Generated Node #0,0: 50:[25, 88, 50] Operation: 80-30=50
Exploring Operation: 88-30=58, Resulting Numbers: [25, 80, 58]
Generated Node #0,1: 50:[25, 80, 58] Operation: 88-30=58
Exploring Operation: 88-80=8, Resulting Numbers: [30, 25, 8]
Generated Node #0,2: 50:[30, 25, 8] Operation: 88-80=8
Exploring Operation: 88-25=63, Resulting Numbers: [30, 80, 63]
Generated Node #0,3: 50:[30, 80, 63] Operation: 88-25=63
Moving to Node #0,2
Current State: 50:[30, 25, 8], Operations: ['88-80=8']
Exploring Operation: 30+25=55, Resulting Numbers: [8, 55]
Generated Node #0,2,0: 50:[8, 55] Operation: 30+25=55
Exploring Operation: 30-8=22, Resulting Numbers: [25, 22]
Generated Node #0,2,1: 50:[25, 22] Operation: 30-8=22
Exploring Operation: 30+8=38, Resulting Numbers: [25, 38]
Generated Node #0,2,2: 50:[25, 38] Operation: 30+8=38
Exploring Operation: 30-25=5, Resulting Numbers: [8, 5]
Generated Node #0,2,3: 50:[8, 5] Operation: 30-25=5
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 50:[8, 5], Operations: ['88-80=8', '30-25=5']
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,50 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,50 unequal: No Solution
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 50:[25, 22], Operations: ['88-80=8', '30-8=22']
Exploring Operation: 25*22=550, Resulting Numbers: [550]
550,50 unequal: No Solution
Exploring Operation: 25+22=47, Resulting Numbers: [47]
47,50 unequal: No Solution
Exploring Operation: 25-22=3, Resulting Numbers: [3]
3,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 50:[8, 55], Operations: ['88-80=8', '30+25=55']
Exploring Operation: 8*55=440, Resulting Numbers: [440]
440,50 unequal: No Solution
Exploring Operation: 55-8=47, Resulting Numbers: [47]
47,50 unequal: No Solution
Exploring Operation: 8+55=63, Resulting Numbers: [63]
63,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 50:[25, 38], Operations: ['88-80=8', '30+8=38']
Exploring Operation: 38-25=13, Resulting Numbers: [13]
13,50 unequal: No Solution
Exploring Operation: 25+38=63, Resulting Numbers: [63]
63,50 unequal: No Solution
Exploring Operation: 25*38=950, Resulting Numbers: [950]
950,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 50:[25, 80, 58], Operations: ['88-30=58']
Exploring Operation: 80-25=55, Resulting Numbers: [58, 55]
Generated Node #0,1,0: 50:[58, 55] Operation: 80-25=55
Exploring Operation: 25+80=105, Resulting Numbers: [58, 105]
Generated Node #0,1,1: 50:[58, 105] Operation: 25+80=105
Exploring Operation: 80-58=22, Resulting Numbers: [25, 22]
Generated Node #0,1,2: 50:[25, 22] Operation: 80-58=22
Exploring Operation: 58-25=33, Resulting Numbers: [80, 33]
Generated Node #0,1,3: 50:[80, 33] Operation: 58-25=33
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 50:[25, 22], Operations: ['88-30=58', '80-58=22']
Exploring Operation: 25-22=3, Resulting Numbers: [3]
3,50 unequal: No Solution
Exploring Operation: 25+22=47, Resulting Numbers: [47]
47,50 unequal: No Solution
Exploring Operation: 25*22=550, Resulting Numbers: [550]
550,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 50:[58, 55], Operations: ['88-30=58', '80-25=55']
Exploring Operation: 58-55=3, Resulting Numbers: [3]
3,50 unequal: No Solution
Exploring Operation: 58+55=113, Resulting Numbers: [113]
113,50 unequal: No Solution
Exploring Operation: 58*55=3190, Resulting Numbers: [3190]
3190,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 50:[80, 33], Operations: ['88-30=58', '58-25=33']
Exploring Operation: 80+33=113, Resulting Numbers: [113]
113,50 unequal: No Solution
Exploring Operation: 80-33=47, Resulting Numbers: [47]
47,50 unequal: No Solution
Exploring Operation: 80*33=2640, Resulting Numbers: [2640]
2640,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 50:[58, 105], Operations: ['88-30=58', '25+80=105']
Exploring Operation: 58*105=6090, Resulting Numbers: [6090]
6090,50 unequal: No Solution
Exploring Operation: 58+105=163, Resulting Numbers: [163]
163,50 unequal: No Solution
Exploring Operation: 105-58=47, Resulting Numbers: [47]
47,50 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: 50:[25, 88, 50], Operations: ['80-30=50']
Exploring Operation: 88-25=63, Resulting Numbers: [50, 63]
Generated Node #0,0,0: 50:[50, 63] Operation: 88-25=63
Exploring Operation: 88-50=38, Resulting Numbers: [25, 38]
Generated Node #0,0,1: 50:[25, 38] Operation: 88-50=38
Exploring Operation: 50/25=2, Resulting Numbers: [88, 2]
Generated Node #0,0,2: 50:[88, 2] Operation: 50/25=2
Exploring Operation: 50-25=25, Resulting Numbers: [88, 25]
Generated Node #0,0,3: 50:[88, 25] Operation: 50-25=25
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 50:[25, 38], Operations: ['80-30=50', '88-50=38']
Exploring Operation: 25+38=63, Resulting Numbers: [63]
63,50 unequal: No Solution
Exploring Operation: 25*38=950, Resulting Numbers: [950]
950,50 unequal: No Solution
Exploring Operation: 38-25=13, Resulting Numbers: [13]
13,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 50:[50, 63], Operations: ['80-30=50', '88-25=63']
Exploring Operation: 50*63=3150, Resulting Numbers: [3150]
3150,50 unequal: No Solution
Exploring Operation: 63-50=13, Resulting Numbers: [13]
13,50 unequal: No Solution
Exploring Operation: 50+63=113, Resulting Numbers: [113]
113,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 50:[88, 2], Operations: ['80-30=50', '50/25=2']
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,50 unequal: No Solution
Exploring Operation: 88+2=90, Resulting Numbers: [90]
90,50 unequal: No Solution
Exploring Operation: 88*2=176, Resulting Numbers: [176]
176,50 unequal: No Solution
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 50:[88, 25], Operations: ['80-30=50', '50-25=25']
Exploring Operation: 88-25=63, Resulting Numbers: [63]
63,50 unequal: No Solution
Exploring Operation: 88*25=2200, Resulting Numbers: [2200]
2200,50 unequal: No Solution
Exploring Operation: 88+25=113, Resulting Numbers: [113]
113,50 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: 50:[30, 80, 63], Operations: ['88-25=63']
Exploring Operation: 30+80=110, Resulting Numbers: [63, 110]
Generated Node #0,3,0: 50:[63, 110] Operation: 30+80=110
Exploring Operation: 80-30=50, Resulting Numbers: [63, 50]
Generated Node #0,3,1: 50:[63, 50] Operation: 80-30=50
Exploring Operation: 63-30=33, Resulting Numbers: [80, 33]
Generated Node #0,3,2: 50:[80, 33] Operation: 63-30=33
Exploring Operation: 80-63=17, Resulting Numbers: [30, 17]
Generated Node #0,3,3: 50:[30, 17] Operation: 80-63=17
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 50:[30, 17], Operations: ['88-25=63', '80-63=17']
Exploring Operation: 30+17=47, Resulting Numbers: [47]
47,50 unequal: No Solution
Exploring Operation: 30*17=510, Resulting Numbers: [510]
510,50 unequal: No Solution
Exploring Operation: 30-17=13, Resulting Numbers: [13]
13,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 50:[63, 50], Operations: ['88-25=63', '80-30=50']
Exploring Operation: 63-50=13, Resulting Numbers: [13]
13,50 unequal: No Solution
Exploring Operation: 63+50=113, Resulting Numbers: [113]
113,50 unequal: No Solution
Exploring Operation: 63*50=3150, Resulting Numbers: [3150]
3150,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 50:[80, 33], Operations: ['88-25=63', '63-30=33']
Exploring Operation: 80*33=2640, Resulting Numbers: [2640]
2640,50 unequal: No Solution
Exploring Operation: 80-33=47, Resulting Numbers: [47]
47,50 unequal: No Solution
Exploring Operation: 80+33=113, Resulting Numbers: [113]
113,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 50:[63, 110], Operations: ['88-25=63', '30+80=110']
Exploring Operation: 110-63=47, Resulting Numbers: [47]
47,50 unequal: No Solution
Exploring Operation: 63+110=173, Resulting Numbers: [173]
173,50 unequal: No Solution
Exploring Operation: 63*110=6930, Resulting Numbers: [6930]
6930,50 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 |
[
80,
82,
84,
44
] | 64 | [
"82-80=2",
"84+44=128",
"128/2=64"
] | Current State: 64:[80, 82, 84, 44], Operations: []
Exploring Operation: 82-80=2, Resulting Numbers: [84, 44, 2]
Generated Node #2: [84, 44, 2] from Operation: 82-80=2
Current State: 64:[84, 44, 2], Operations: ['82-80=2']
Exploring Operation: 84+44=128, Resulting Numbers: [2, 128]
Generated Node #3: [2, 128] from Operation: 84+44=128
Current State: 64:[2, 128], Operations: ['82-80=2', '84+44=128']
Exploring Operation: 128/2=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[80, 82, 84, 44], Operations: []
Exploring Operation: 84-82=2, Resulting Numbers: [80, 44, 2]
Generated Node #0,0: 64:[80, 44, 2] Operation: 84-82=2
Exploring Operation: 80-44=36, Resulting Numbers: [82, 84, 36]
Generated Node #0,1: 64:[82, 84, 36] Operation: 80-44=36
Exploring Operation: 84-80=4, Resulting Numbers: [82, 44, 4]
Generated Node #0,2: 64:[82, 44, 4] Operation: 84-80=4
Exploring Operation: 82-80=2, Resulting Numbers: [84, 44, 2]
Generated Node #0,3: 64:[84, 44, 2] Operation: 82-80=2
Moving to Node #0,0
Current State: 64:[80, 44, 2], Operations: ['84-82=2']
Exploring Operation: 80-2=78, Resulting Numbers: [44, 78]
Generated Node #0,0,0: 64:[44, 78] Operation: 80-2=78
Exploring Operation: 44/2=22, Resulting Numbers: [80, 22]
Generated Node #0,0,1: 64:[80, 22] Operation: 44/2=22
Exploring Operation: 80/2=40, Resulting Numbers: [44, 40]
Generated Node #0,0,2: 64:[44, 40] Operation: 80/2=40
Exploring Operation: 80-44=36, Resulting Numbers: [2, 36]
Generated Node #0,0,3: 64:[2, 36] Operation: 80-44=36
Moving to Node #0,2
Current State: 64:[82, 44, 4], Operations: ['84-80=4']
Exploring Operation: 44-4=40, Resulting Numbers: [82, 40]
Generated Node #0,2,0: 64:[82, 40] Operation: 44-4=40
Exploring Operation: 82-44=38, Resulting Numbers: [4, 38]
Generated Node #0,2,1: 64:[4, 38] Operation: 82-44=38
Exploring Operation: 82-4=78, Resulting Numbers: [44, 78]
Generated Node #0,2,2: 64:[44, 78] Operation: 82-4=78
Exploring Operation: 44/4=11, Resulting Numbers: [82, 11]
Generated Node #0,2,3: 64:[82, 11] Operation: 44/4=11
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 64:[4, 38], Operations: ['84-80=4', '82-44=38']
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,64 unequal: No Solution
Exploring Operation: 4*38=152, Resulting Numbers: [152]
152,64 unequal: No Solution
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,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,2,3
Current State: 64:[82, 11], Operations: ['84-80=4', '44/4=11']
Exploring Operation: 82-11=71, Resulting Numbers: [71]
71,64 unequal: No Solution
Exploring Operation: 82*11=902, Resulting Numbers: [902]
902,64 unequal: No Solution
Exploring Operation: 82+11=93, Resulting Numbers: [93]
93,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,2,0
Current State: 64:[82, 40], Operations: ['84-80=4', '44-4=40']
Exploring Operation: 82*40=3280, Resulting Numbers: [3280]
3280,64 unequal: No Solution
Exploring Operation: 82-40=42, Resulting Numbers: [42]
42,64 unequal: No Solution
Exploring Operation: 82+40=122, Resulting Numbers: [122]
122,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,2,2
Current State: 64:[44, 78], Operations: ['84-80=4', '82-4=78']
Exploring Operation: 78-44=34, Resulting Numbers: [34]
34,64 unequal: No Solution
Exploring Operation: 44*78=3432, Resulting Numbers: [3432]
3432,64 unequal: No Solution
Exploring Operation: 44+78=122, Resulting Numbers: [122]
122,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 64:[84, 44, 2], Operations: ['82-80=2']
Exploring Operation: 44/2=22, Resulting Numbers: [84, 22]
Generated Node #0,3,0: 64:[84, 22] Operation: 44/2=22
Exploring Operation: 84/2=42, Resulting Numbers: [44, 42]
Generated Node #0,3,1: 64:[44, 42] Operation: 84/2=42
Exploring Operation: 84-2=82, Resulting Numbers: [44, 82]
Generated Node #0,3,2: 64:[44, 82] Operation: 84-2=82
Exploring Operation: 84-44=40, Resulting Numbers: [2, 40]
Generated Node #0,3,3: 64:[2, 40] Operation: 84-44=40
Moving to Node #0,1
Current State: 64:[82, 84, 36], Operations: ['80-44=36']
Exploring Operation: 82+36=118, Resulting Numbers: [84, 118]
Generated Node #0,1,0: 64:[84, 118] Operation: 82+36=118
Exploring Operation: 84-82=2, Resulting Numbers: [36, 2]
Generated Node #0,1,1: 64:[36, 2] Operation: 84-82=2
Exploring Operation: 82-36=46, Resulting Numbers: [84, 46]
Generated Node #0,1,2: 64:[84, 46] Operation: 82-36=46
Exploring Operation: 84-36=48, Resulting Numbers: [82, 48]
Generated Node #0,1,3: 64:[82, 48] Operation: 84-36=48
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 64:[36, 2], Operations: ['80-44=36', '84-82=2']
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,64 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,64 unequal: No Solution
Exploring Operation: 36*2=72, Resulting Numbers: [72]
72,64 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 64:[84, 46], Operations: ['80-44=36', '82-36=46']
Exploring Operation: 84*46=3864, Resulting Numbers: [3864]
3864,64 unequal: No Solution
Exploring Operation: 84+46=130, Resulting Numbers: [130]
130,64 unequal: No Solution
Exploring Operation: 84-46=38, Resulting Numbers: [38]
38,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 64:[82, 48], Operations: ['80-44=36', '84-36=48']
Exploring Operation: 82-48=34, Resulting Numbers: [34]
34,64 unequal: No Solution
Exploring Operation: 82*48=3936, Resulting Numbers: [3936]
3936,64 unequal: No Solution
Exploring Operation: 82+48=130, Resulting Numbers: [130]
130,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:[84, 118], Operations: ['80-44=36', '82+36=118']
Exploring Operation: 84*118=9912, Resulting Numbers: [9912]
9912,64 unequal: No Solution
Exploring Operation: 84+118=202, Resulting Numbers: [202]
202,64 unequal: No Solution
Exploring Operation: 118-84=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,3
Current State: 64:[2, 36], Operations: ['84-82=2', '80-44=36']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,64 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,64 unequal: No Solution
Exploring Operation: 2+36=38, Resulting Numbers: [38]
38,64 unequal: No Solution
Exploring Operation: 2*36=72, Resulting Numbers: [72]
72,64 unequal: No Solution
Moving to Node #0,3,3
Current State: 64:[2, 40], Operations: ['82-80=2', '84-44=40']
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,64 unequal: No Solution
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,64 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,64 unequal: No Solution
Exploring Operation: 2*40=80, Resulting Numbers: [80]
80,64 unequal: No Solution
Moving to Node #0,0,2
Current State: 64:[44, 40], Operations: ['84-82=2', '80/2=40']
Exploring Operation: 44*40=1760, Resulting Numbers: [1760]
1760,64 unequal: No Solution
Exploring Operation: 44+40=84, Resulting Numbers: [84]
84,64 unequal: No Solution
Exploring Operation: 44-40=4, Resulting Numbers: [4]
4,64 unequal: No Solution
Moving to Node #0,0,1
Current State: 64:[80, 22], Operations: ['84-82=2', '44/2=22']
Exploring Operation: 80+22=102, Resulting Numbers: [102]
102,64 unequal: No Solution
Exploring Operation: 80-22=58, Resulting Numbers: [58]
58,64 unequal: No Solution
Exploring Operation: 80*22=1760, Resulting Numbers: [1760]
1760,64 unequal: No Solution
Moving to Node #0,3,1
Current State: 64:[44, 42], Operations: ['82-80=2', '84/2=42']
Exploring Operation: 44*42=1848, Resulting Numbers: [1848]
1848,64 unequal: No Solution
Exploring Operation: 44-42=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Exploring Operation: 44+42=86, Resulting Numbers: [86]
86,64 unequal: No Solution
Moving to Node #0,0,0
Current State: 64:[44, 78], Operations: ['84-82=2', '80-2=78']
Exploring Operation: 78-44=34, Resulting Numbers: [34]
34,64 unequal: No Solution
Exploring Operation: 44+78=122, Resulting Numbers: [122]
122,64 unequal: No Solution
Exploring Operation: 44*78=3432, Resulting Numbers: [3432]
3432,64 unequal: No Solution
Moving to Node #0,3,0
Current State: 64:[84, 22], Operations: ['82-80=2', '44/2=22']
Exploring Operation: 84*22=1848, Resulting Numbers: [1848]
1848,64 unequal: No Solution
Exploring Operation: 84-22=62, Resulting Numbers: [62]
62,64 unequal: No Solution
Exploring Operation: 84+22=106, Resulting Numbers: [106]
106,64 unequal: No Solution
Moving to Node #0,3,2
Current State: 64:[44, 82], Operations: ['82-80=2', '84-2=82']
Exploring Operation: 44+82=126, Resulting Numbers: [126]
126,64 unequal: No Solution
Exploring Operation: 82-44=38, Resulting Numbers: [38]
38,64 unequal: No Solution
Exploring Operation: 44*82=3608, Resulting Numbers: [3608]
3608,64 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
49,
35,
28,
68
] | 54 | [
"49-35=14",
"68-28=40",
"14+40=54"
] | Current State: 54:[49, 35, 28, 68], Operations: []
Exploring Operation: 49-35=14, Resulting Numbers: [28, 68, 14]
Generated Node #2: [28, 68, 14] from Operation: 49-35=14
Current State: 54:[28, 68, 14], Operations: ['49-35=14']
Exploring Operation: 68-28=40, Resulting Numbers: [14, 40]
Generated Node #3: [14, 40] from Operation: 68-28=40
Current State: 54:[14, 40], Operations: ['49-35=14', '68-28=40']
Exploring Operation: 14+40=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[49, 35, 28, 68], Operations: []
Exploring Operation: 68-35=33, Resulting Numbers: [49, 28, 33]
Generated Node #0,0: 54:[49, 28, 33] Operation: 68-35=33
Exploring Operation: 35-28=7, Resulting Numbers: [49, 68, 7]
Generated Node #0,1: 54:[49, 68, 7] Operation: 35-28=7
Exploring Operation: 68-49=19, Resulting Numbers: [35, 28, 19]
Generated Node #0,2: 54:[35, 28, 19] Operation: 68-49=19
Exploring Operation: 49-35=14, Resulting Numbers: [28, 68, 14]
Generated Node #0,3: 54:[28, 68, 14] Operation: 49-35=14
Start Sub Search at level 1: Moving to Node #0,2
Current State: 54:[35, 28, 19], Operations: ['68-49=19']
Exploring Operation: 35-19=16, Resulting Numbers: [28, 16]
Generated Node #0,2,0: 54:[28, 16] Operation: 35-19=16
Exploring Operation: 28-19=9, Resulting Numbers: [35, 9]
Generated Node #0,2,1: 54:[35, 9] Operation: 28-19=9
Exploring Operation: 35-28=7, Resulting Numbers: [19, 7]
Generated Node #0,2,2: 54:[19, 7] Operation: 35-28=7
Exploring Operation: 35+19=54, Resulting Numbers: [28, 54]
Generated Node #0,2,3: 54:[28, 54] Operation: 35+19=54
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 54:[28, 54], Operations: ['68-49=19', '35+19=54']
Exploring Operation: 28+54=82, Resulting Numbers: [82]
82,54 unequal: No Solution
Exploring Operation: 28*54=1512, Resulting Numbers: [1512]
1512,54 unequal: No Solution
Exploring Operation: 54-28=26, Resulting Numbers: [26]
26,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 54:[19, 7], Operations: ['68-49=19', '35-28=7']
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,54 unequal: No Solution
Exploring Operation: 19+7=26, Resulting Numbers: [26]
26,54 unequal: No Solution
Exploring Operation: 19*7=133, Resulting Numbers: [133]
133,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 54:[28, 16], Operations: ['68-49=19', '35-19=16']
Exploring Operation: 28+16=44, Resulting Numbers: [44]
44,54 unequal: No Solution
Exploring Operation: 28*16=448, Resulting Numbers: [448]
448,54 unequal: No Solution
Exploring Operation: 28-16=12, Resulting Numbers: [12]
12,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 54:[35, 9], Operations: ['68-49=19', '28-19=9']
Exploring Operation: 35*9=315, Resulting Numbers: [315]
315,54 unequal: No Solution
Exploring Operation: 35+9=44, Resulting Numbers: [44]
44,54 unequal: No Solution
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[49, 28, 33], Operations: ['68-35=33']
Exploring Operation: 28+33=61, Resulting Numbers: [49, 61]
Generated Node #0,0,0: 54:[49, 61] Operation: 28+33=61
Exploring Operation: 49-33=16, Resulting Numbers: [28, 16]
Generated Node #0,0,1: 54:[28, 16] Operation: 49-33=16
Exploring Operation: 33-28=5, Resulting Numbers: [49, 5]
Generated Node #0,0,2: 54:[49, 5] Operation: 33-28=5
Exploring Operation: 49-28=21, Resulting Numbers: [33, 21]
Generated Node #0,0,3: 54:[33, 21] Operation: 49-28=21
Moving to Node #0,0,1
Current State: 54:[28, 16], Operations: ['68-35=33', '49-33=16']
Exploring Operation: 28*16=448, Resulting Numbers: [448]
448,54 unequal: No Solution
Exploring Operation: 28+16=44, Resulting Numbers: [44]
44,54 unequal: No Solution
Exploring Operation: 28-16=12, Resulting Numbers: [12]
12,54 unequal: No Solution
Moving to Node #0,0,2
Current State: 54:[49, 5], Operations: ['68-35=33', '33-28=5']
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,54 unequal: No Solution
Exploring Operation: 49+5=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[49, 35, 28, 68], Operations: []
Exploring Operation: 68-35=33, Resulting Numbers: [49, 28, 33]
Generated Node #0,0: 54:[49, 28, 33] Operation: 68-35=33
Moving to Node #0,0
Current State: 54:[49, 28, 33], Operations: ['68-35=33']
Exploring Operation: 33-28=5, Resulting Numbers: [49, 5]
Generated Node #0,0,2: 54:[49, 5] Operation: 33-28=5
Moving to Node #0,0,2
Current State: 54:[49, 5], Operations: ['68-35=33', '33-28=5']
Exploring Operation: 49+5=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.971354 | hs_4 | sum_heuristic |
[
42,
16,
52,
14
] | 68 | [
"16-14=2",
"52/2=26",
"42+26=68"
] | Current State: 68:[42, 16, 52, 14], Operations: []
Exploring Operation: 16-14=2, Resulting Numbers: [42, 52, 2]
Generated Node #2: [42, 52, 2] from Operation: 16-14=2
Current State: 68:[42, 52, 2], Operations: ['16-14=2']
Exploring Operation: 52/2=26, Resulting Numbers: [42, 26]
Generated Node #3: [42, 26] from Operation: 52/2=26
Current State: 68:[42, 26], Operations: ['16-14=2', '52/2=26']
Exploring Operation: 42+26=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[42, 16, 52, 14], Operations: []
Exploring Operation: 52-42=10, Resulting Numbers: [16, 14, 10]
Generated Node #0,0: 68:[16, 14, 10] Operation: 52-42=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[16, 14, 10], Operations: ['52-42=10']
Exploring Operation: 14-10=4, Resulting Numbers: [16, 4]
Generated Node #0,0,0: 68:[16, 4] Operation: 14-10=4
Moving to Node #0,0,0
Current State: 68:[16, 4], Operations: ['52-42=10', '14-10=4']
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,68 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 |
[
89,
62,
55,
89
] | 61 | [
"89-62=27",
"89-55=34",
"27+34=61"
] | Current State: 61:[89, 62, 55, 89], Operations: []
Exploring Operation: 89-62=27, Resulting Numbers: [55, 27]
Generated Node #2: [55, 27] from Operation: 89-62=27
Current State: 61:[55, 27], Operations: ['89-62=27']
Exploring Operation: 89-55=34, Resulting Numbers: [27, 34]
Generated Node #3: [27, 34] from Operation: 89-55=34
Current State: 61:[27, 34], Operations: ['89-62=27', '89-55=34']
Exploring Operation: 27+34=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[89, 62, 55, 89], Operations: []
Exploring Operation: 89-55=34, Resulting Numbers: [89, 62, 34]
Generated Node #0,0: 61:[89, 62, 34] Operation: 89-55=34
Exploring Operation: 89/89=1, Resulting Numbers: [62, 55, 1]
Generated Node #0,1: 61:[62, 55, 1] Operation: 89/89=1
Exploring Operation: 89-55=34, Resulting Numbers: [62, 89, 34]
Generated Node #0,2: 61:[62, 89, 34] Operation: 89-55=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[89, 62, 34], Operations: ['89-55=34']
Exploring Operation: 89-34=55, Resulting Numbers: [62, 55]
Generated Node #0,0,0: 61:[62, 55] Operation: 89-34=55
Exploring Operation: 62-34=28, Resulting Numbers: [89, 28]
Generated Node #0,0,1: 61:[89, 28] Operation: 62-34=28
Exploring Operation: 89-62=27, Resulting Numbers: [34, 27]
Generated Node #0,0,2: 61:[34, 27] Operation: 89-62=27
Moving to Node #0,0,0
Current State: 61:[62, 55], Operations: ['89-55=34', '89-34=55']
Exploring Operation: 62*55=3410, Resulting Numbers: [3410]
3410,61 unequal: No Solution
Exploring Operation: 62+55=117, Resulting Numbers: [117]
117,61 unequal: No Solution
Exploring Operation: 62-55=7, Resulting Numbers: [7]
7,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[89, 28], Operations: ['89-55=34', '62-34=28']
Exploring Operation: 89+28=117, Resulting Numbers: [117]
117,61 unequal: No Solution
Exploring Operation: 89*28=2492, Resulting Numbers: [2492]
2492,61 unequal: No Solution
Exploring Operation: 89-28=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[89, 62, 55, 89], Operations: []
Exploring Operation: 89-55=34, Resulting Numbers: [89, 62, 34]
Generated Node #0,0: 61:[89, 62, 34] Operation: 89-55=34
Moving to Node #0,0
Current State: 61:[89, 62, 34], Operations: ['89-55=34']
Exploring Operation: 62-34=28, Resulting Numbers: [89, 28]
Generated Node #0,0,1: 61:[89, 28] Operation: 62-34=28
Moving to Node #0,0,1
Current State: 61:[89, 28], Operations: ['89-55=34', '62-34=28']
Exploring Operation: 89-28=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | sum_heuristic |
[
5,
73,
97,
20
] | 30 | [
"73+97=170",
"170-20=150",
"150/5=30"
] | Current State: 30:[5, 73, 97, 20], Operations: []
Exploring Operation: 73+97=170, Resulting Numbers: [5, 20, 170]
Generated Node #2: [5, 20, 170] from Operation: 73+97=170
Current State: 30:[5, 20, 170], Operations: ['73+97=170']
Exploring Operation: 170-20=150, Resulting Numbers: [5, 150]
Generated Node #3: [5, 150] from Operation: 170-20=150
Current State: 30:[5, 150], Operations: ['73+97=170', '170-20=150']
Exploring Operation: 150/5=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[5, 73, 97, 20], Operations: []
Exploring Operation: 97-73=24, Resulting Numbers: [5, 20, 24]
Generated Node #0,0: 30:[5, 20, 24] Operation: 97-73=24
Exploring Operation: 73-20=53, Resulting Numbers: [5, 97, 53]
Generated Node #0,1: 30:[5, 97, 53] Operation: 73-20=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[5, 20, 24], Operations: ['97-73=24']
Exploring Operation: 20-5=15, Resulting Numbers: [24, 15]
Generated Node #0,0,0: 30:[24, 15] Operation: 20-5=15
Exploring Operation: 24-20=4, Resulting Numbers: [5, 4]
Generated Node #0,0,1: 30:[5, 4] Operation: 24-20=4
Moving to Node #0,0,1
Current State: 30:[5, 4], Operations: ['97-73=24', '24-20=4']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,30 unequal: No Solution
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,30 unequal: No Solution
Moving to Node #0,0,0
Current State: 30:[24, 15], Operations: ['97-73=24', '20-5=15']
Exploring Operation: 24+15=39, Resulting Numbers: [39]
39,30 unequal: No Solution
Exploring Operation: 24-15=9, Resulting Numbers: [9]
9,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
Current State: 30:[5, 97, 53], Operations: ['73-20=53']
Exploring Operation: 97-5=92, Resulting Numbers: [53, 92]
Generated Node #0,1,0: 30:[53, 92] Operation: 97-5=92
Exploring Operation: 97-53=44, Resulting Numbers: [5, 44]
Generated Node #0,1,1: 30:[5, 44] Operation: 97-53=44
Moving to Node #0,1,1
Current State: 30:[5, 44], Operations: ['73-20=53', '97-53=44']
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,30 unequal: No Solution
Exploring Operation: 5+44=49, Resulting Numbers: [49]
49,30 unequal: No Solution
Moving to Node #0,1,0
Current State: 30:[53, 92], Operations: ['73-20=53', '97-5=92']
Exploring Operation: 53+92=145, Resulting Numbers: [145]
145,30 unequal: No Solution
Exploring Operation: 92-53=39, Resulting Numbers: [39]
39,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 |
[
34,
77,
30,
21
] | 14 | [
"34-30=4",
"77-21=56",
"56/4=14"
] | Current State: 14:[34, 77, 30, 21], Operations: []
Exploring Operation: 34-30=4, Resulting Numbers: [77, 21, 4]
Generated Node #2: [77, 21, 4] from Operation: 34-30=4
Current State: 14:[77, 21, 4], Operations: ['34-30=4']
Exploring Operation: 77-21=56, Resulting Numbers: [4, 56]
Generated Node #3: [4, 56] from Operation: 77-21=56
Current State: 14:[4, 56], Operations: ['34-30=4', '77-21=56']
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[34, 77, 30, 21], Operations: []
Exploring Operation: 77-34=43, Resulting Numbers: [30, 21, 43]
Generated Node #0,0: 14:[30, 21, 43] Operation: 77-34=43
Exploring Operation: 77-21=56, Resulting Numbers: [34, 30, 56]
Generated Node #0,1: 14:[34, 30, 56] Operation: 77-21=56
Exploring Operation: 34-30=4, Resulting Numbers: [77, 21, 4]
Generated Node #0,2: 14:[77, 21, 4] Operation: 34-30=4
Exploring Operation: 77-30=47, Resulting Numbers: [34, 21, 47]
Generated Node #0,3: 14:[34, 21, 47] Operation: 77-30=47
Moving to Node #0,0
Current State: 14:[30, 21, 43], Operations: ['77-34=43']
Exploring Operation: 43-21=22, Resulting Numbers: [30, 22]
Generated Node #0,0,0: 14:[30, 22] Operation: 43-21=22
Exploring Operation: 30-21=9, Resulting Numbers: [43, 9]
Generated Node #0,0,1: 14:[43, 9] Operation: 30-21=9
Exploring Operation: 30+21=51, Resulting Numbers: [43, 51]
Generated Node #0,0,2: 14:[43, 51] Operation: 30+21=51
Exploring Operation: 43-30=13, Resulting Numbers: [21, 13]
Generated Node #0,0,3: 14:[21, 13] Operation: 43-30=13
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 14:[21, 13], Operations: ['77-34=43', '43-30=13']
Exploring Operation: 21-13=8, Resulting Numbers: [8]
8,14 unequal: No Solution
Exploring Operation: 21*13=273, Resulting Numbers: [273]
273,14 unequal: No Solution
Exploring Operation: 21+13=34, Resulting Numbers: [34]
34,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 14:[30, 22], Operations: ['77-34=43', '43-21=22']
Exploring Operation: 30+22=52, Resulting Numbers: [52]
52,14 unequal: No Solution
Exploring Operation: 30*22=660, Resulting Numbers: [660]
660,14 unequal: No Solution
Exploring Operation: 30-22=8, Resulting Numbers: [8]
8,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 14:[43, 9], Operations: ['77-34=43', '30-21=9']
Exploring Operation: 43*9=387, Resulting Numbers: [387]
387,14 unequal: No Solution
Exploring Operation: 43+9=52, Resulting Numbers: [52]
52,14 unequal: No Solution
Exploring Operation: 43-9=34, Resulting Numbers: [34]
34,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 14:[43, 51], Operations: ['77-34=43', '30+21=51']
Exploring Operation: 51-43=8, Resulting Numbers: [8]
8,14 unequal: No Solution
Exploring Operation: 43*51=2193, Resulting Numbers: [2193]
2193,14 unequal: No Solution
Exploring Operation: 43+51=94, Resulting Numbers: [94]
94,14 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: 14:[34, 21, 47], Operations: ['77-30=47']
Exploring Operation: 34+21=55, Resulting Numbers: [47, 55]
Generated Node #0,3,0: 14:[47, 55] Operation: 34+21=55
Exploring Operation: 34-21=13, Resulting Numbers: [47, 13]
Generated Node #0,3,1: 14:[47, 13] Operation: 34-21=13
Exploring Operation: 47-21=26, Resulting Numbers: [34, 26]
Generated Node #0,3,2: 14:[34, 26] Operation: 47-21=26
Exploring Operation: 47-34=13, Resulting Numbers: [21, 13]
Generated Node #0,3,3: 14:[21, 13] Operation: 47-34=13
Moving to Node #0,2
Current State: 14:[77, 21, 4], Operations: ['34-30=4']
Exploring Operation: 77-4=73, Resulting Numbers: [21, 73]
Generated Node #0,2,0: 14:[21, 73] Operation: 77-4=73
Exploring Operation: 77-21=56, Resulting Numbers: [4, 56]
Generated Node #0,2,1: 14:[4, 56] Operation: 77-21=56
Exploring Operation: 21-4=17, Resulting Numbers: [77, 17]
Generated Node #0,2,2: 14:[77, 17] Operation: 21-4=17
Exploring Operation: 77+4=81, Resulting Numbers: [21, 81]
Generated Node #0,2,3: 14:[21, 81] Operation: 77+4=81
Moving to Node #0,1
Current State: 14:[34, 30, 56], Operations: ['77-21=56']
Exploring Operation: 56-30=26, Resulting Numbers: [34, 26]
Generated Node #0,1,0: 14:[34, 26] Operation: 56-30=26
Exploring Operation: 34-30=4, Resulting Numbers: [56, 4]
Generated Node #0,1,1: 14:[56, 4] Operation: 34-30=4
Exploring Operation: 34+30=64, Resulting Numbers: [56, 64]
Generated Node #0,1,2: 14:[56, 64] Operation: 34+30=64
Exploring Operation: 56-34=22, Resulting Numbers: [30, 22]
Generated Node #0,1,3: 14:[30, 22] Operation: 56-34=22
Moving to Node #0,3,3
Current State: 14:[21, 13], Operations: ['77-30=47', '47-34=13']
Exploring Operation: 21*13=273, Resulting Numbers: [273]
273,14 unequal: No Solution
Exploring Operation: 21-13=8, Resulting Numbers: [8]
8,14 unequal: No Solution
Exploring Operation: 21+13=34, Resulting Numbers: [34]
34,14 unequal: No Solution
Moving to Node #0,1,3
Current State: 14:[30, 22], Operations: ['77-21=56', '56-34=22']
Exploring Operation: 30-22=8, Resulting Numbers: [8]
8,14 unequal: No Solution
Exploring Operation: 30+22=52, Resulting Numbers: [52]
52,14 unequal: No Solution
Exploring Operation: 30*22=660, Resulting Numbers: [660]
660,14 unequal: No Solution
Moving to Node #0,1,0
Current State: 14:[34, 26], Operations: ['77-21=56', '56-30=26']
Exploring Operation: 34*26=884, Resulting Numbers: [884]
884,14 unequal: No Solution
Exploring Operation: 34-26=8, Resulting Numbers: [8]
8,14 unequal: No Solution
Exploring Operation: 34+26=60, Resulting Numbers: [60]
60,14 unequal: No Solution
Moving to Node #0,3,2
Current State: 14:[34, 26], Operations: ['77-30=47', '47-21=26']
Exploring Operation: 34-26=8, Resulting Numbers: [8]
8,14 unequal: No Solution
Exploring Operation: 34*26=884, Resulting Numbers: [884]
884,14 unequal: No Solution
Exploring Operation: 34+26=60, Resulting Numbers: [60]
60,14 unequal: No Solution
Moving to Node #0,3,1
Current State: 14:[47, 13], Operations: ['77-30=47', '34-21=13']
Exploring Operation: 47+13=60, Resulting Numbers: [60]
60,14 unequal: No Solution
Exploring Operation: 47-13=34, Resulting Numbers: [34]
34,14 unequal: No Solution
Exploring Operation: 47*13=611, Resulting Numbers: [611]
611,14 unequal: No Solution
Moving to Node #0,1,1
Current State: 14:[56, 4], Operations: ['77-21=56', '34-30=4']
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[34, 77, 30, 21], Operations: []
Exploring Operation: 77-21=56, Resulting Numbers: [34, 30, 56]
Generated Node #0,1: 14:[34, 30, 56] Operation: 77-21=56
Moving to Node #0,1
Current State: 14:[34, 30, 56], Operations: ['77-21=56']
Exploring Operation: 34-30=4, Resulting Numbers: [56, 4]
Generated Node #0,1,1: 14:[56, 4] Operation: 34-30=4
Moving to Node #0,1,1
Current State: 14:[56, 4], Operations: ['77-21=56', '34-30=4']
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 0.954861 | hs_4 | mult_heuristic |
[
20,
56,
78,
18
] | 59 | [
"78-18=60",
"60/20=3",
"56+3=59"
] | Current State: 59:[20, 56, 78, 18], Operations: []
Exploring Operation: 78-18=60, Resulting Numbers: [20, 56, 60]
Generated Node #2: [20, 56, 60] from Operation: 78-18=60
Current State: 59:[20, 56, 60], Operations: ['78-18=60']
Exploring Operation: 60/20=3, Resulting Numbers: [56, 3]
Generated Node #3: [56, 3] from Operation: 60/20=3
Current State: 59:[56, 3], Operations: ['78-18=60', '60/20=3']
Exploring Operation: 56+3=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[20, 56, 78, 18], Operations: []
Exploring Operation: 20+18=38, Resulting Numbers: [56, 78, 38]
Generated Node #0,0: 59:[56, 78, 38] Operation: 20+18=38
Exploring Operation: 78-18=60, Resulting Numbers: [20, 56, 60]
Generated Node #0,1: 59:[20, 56, 60] Operation: 78-18=60
Exploring Operation: 78-20=58, Resulting Numbers: [56, 18, 58]
Generated Node #0,2: 59:[56, 18, 58] Operation: 78-20=58
Moving to Node #0,0
Current State: 59:[56, 78, 38], Operations: ['20+18=38']
Exploring Operation: 78-56=22, Resulting Numbers: [38, 22]
Generated Node #0,0,0: 59:[38, 22] Operation: 78-56=22
Exploring Operation: 78-38=40, Resulting Numbers: [56, 40]
Generated Node #0,0,1: 59:[56, 40] Operation: 78-38=40
Exploring Operation: 56+38=94, Resulting Numbers: [78, 94]
Generated Node #0,0,2: 59:[78, 94] Operation: 56+38=94
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 59:[56, 40], Operations: ['20+18=38', '78-38=40']
Exploring Operation: 56-40=16, Resulting Numbers: [16]
16,59 unequal: No Solution
Exploring Operation: 56*40=2240, Resulting Numbers: [2240]
2240,59 unequal: No Solution
Exploring Operation: 56+40=96, Resulting Numbers: [96]
96,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 59:[78, 94], Operations: ['20+18=38', '56+38=94']
Exploring Operation: 78*94=7332, Resulting Numbers: [7332]
7332,59 unequal: No Solution
Exploring Operation: 94-78=16, Resulting Numbers: [16]
16,59 unequal: No Solution
Exploring Operation: 78+94=172, Resulting Numbers: [172]
172,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 59:[38, 22], Operations: ['20+18=38', '78-56=22']
Exploring Operation: 38*22=836, Resulting Numbers: [836]
836,59 unequal: No Solution
Exploring Operation: 38+22=60, Resulting Numbers: [60]
60,59 unequal: No Solution
Exploring Operation: 38-22=16, Resulting Numbers: [16]
16,59 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: 59:[20, 56, 60], Operations: ['78-18=60']
Exploring Operation: 60-20=40, Resulting Numbers: [56, 40]
Generated Node #0,1,0: 59:[56, 40] Operation: 60-20=40
Exploring Operation: 56-20=36, Resulting Numbers: [60, 36]
Generated Node #0,1,1: 59:[60, 36] Operation: 56-20=36
Exploring Operation: 20+56=76, Resulting Numbers: [60, 76]
Generated Node #0,1,2: 59:[60, 76] Operation: 20+56=76
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 59:[60, 76], Operations: ['78-18=60', '20+56=76']
Exploring Operation: 60+76=136, Resulting Numbers: [136]
136,59 unequal: No Solution
Exploring Operation: 76-60=16, Resulting Numbers: [16]
16,59 unequal: No Solution
Exploring Operation: 60*76=4560, Resulting Numbers: [4560]
4560,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,1,0
Current State: 59:[56, 40], Operations: ['78-18=60', '60-20=40']
Exploring Operation: 56+40=96, Resulting Numbers: [96]
96,59 unequal: No Solution
Exploring Operation: 56-40=16, Resulting Numbers: [16]
16,59 unequal: No Solution
Exploring Operation: 56*40=2240, Resulting Numbers: [2240]
2240,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,1,1
Current State: 59:[60, 36], Operations: ['78-18=60', '56-20=36']
Exploring Operation: 60-36=24, Resulting Numbers: [24]
24,59 unequal: No Solution
Exploring Operation: 60*36=2160, Resulting Numbers: [2160]
2160,59 unequal: No Solution
Exploring Operation: 60+36=96, Resulting Numbers: [96]
96,59 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: 59:[56, 18, 58], Operations: ['78-20=58']
Exploring Operation: 18+58=76, Resulting Numbers: [56, 76]
Generated Node #0,2,0: 59:[56, 76] Operation: 18+58=76
Exploring Operation: 56-18=38, Resulting Numbers: [58, 38]
Generated Node #0,2,1: 59:[58, 38] Operation: 56-18=38
Exploring Operation: 56+18=74, Resulting Numbers: [58, 74]
Generated Node #0,2,2: 59:[58, 74] Operation: 56+18=74
Moving to Node #0,2,2
Current State: 59:[58, 74], Operations: ['78-20=58', '56+18=74']
Exploring Operation: 58*74=4292, Resulting Numbers: [4292]
4292,59 unequal: No Solution
Exploring Operation: 74-58=16, Resulting Numbers: [16]
16,59 unequal: No Solution
Exploring Operation: 58+74=132, Resulting Numbers: [132]
132,59 unequal: No Solution
Moving to Node #0,2,0
Current State: 59:[56, 76], Operations: ['78-20=58', '18+58=76']
Exploring Operation: 76-56=20, Resulting Numbers: [20]
20,59 unequal: No Solution
Exploring Operation: 56*76=4256, Resulting Numbers: [4256]
4256,59 unequal: No Solution
Exploring Operation: 56+76=132, Resulting Numbers: [132]
132,59 unequal: No Solution
Moving to Node #0,2,1
Current State: 59:[58, 38], Operations: ['78-20=58', '56-18=38']
Exploring Operation: 58+38=96, Resulting Numbers: [96]
96,59 unequal: No Solution
Exploring Operation: 58*38=2204, Resulting Numbers: [2204]
2204,59 unequal: No Solution
Exploring Operation: 58-38=20, Resulting Numbers: [20]
20,59 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
4,
29,
18,
6
] | 76 | [
"6-4=2",
"29*2=58",
"18+58=76"
] | Current State: 76:[4, 29, 18, 6], Operations: []
Exploring Operation: 6-4=2, Resulting Numbers: [29, 18, 2]
Generated Node #2: [29, 18, 2] from Operation: 6-4=2
Current State: 76:[29, 18, 2], Operations: ['6-4=2']
Exploring Operation: 29*2=58, Resulting Numbers: [18, 58]
Generated Node #3: [18, 58] from Operation: 29*2=58
Current State: 76:[18, 58], Operations: ['6-4=2', '29*2=58']
Exploring Operation: 18+58=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[4, 29, 18, 6], Operations: []
Exploring Operation: 29-4=25, Resulting Numbers: [18, 6, 25]
Generated Node #0,0: 76:[18, 6, 25] Operation: 29-4=25
Exploring Operation: 29-18=11, Resulting Numbers: [4, 6, 11]
Generated Node #0,1: 76:[4, 6, 11] Operation: 29-18=11
Exploring Operation: 29-6=23, Resulting Numbers: [4, 18, 23]
Generated Node #0,2: 76:[4, 18, 23] Operation: 29-6=23
Exploring Operation: 4+29=33, Resulting Numbers: [18, 6, 33]
Generated Node #0,3: 76:[18, 6, 33] Operation: 4+29=33
Exploring Operation: 29+6=35, Resulting Numbers: [4, 18, 35]
Generated Node #0,4: 76:[4, 18, 35] Operation: 29+6=35
Moving to Node #0,4
Current State: 76:[4, 18, 35], Operations: ['29+6=35']
Exploring Operation: 35-18=17, Resulting Numbers: [4, 17]
Generated Node #0,4,0: 76:[4, 17] Operation: 35-18=17
Exploring Operation: 4+18=22, Resulting Numbers: [35, 22]
Generated Node #0,4,1: 76:[35, 22] Operation: 4+18=22
Exploring Operation: 18-4=14, Resulting Numbers: [35, 14]
Generated Node #0,4,2: 76:[35, 14] Operation: 18-4=14
Exploring Operation: 4*18=72, Resulting Numbers: [35, 72]
Generated Node #0,4,3: 76:[35, 72] Operation: 4*18=72
Exploring Operation: 4+35=39, Resulting Numbers: [18, 39]
Generated Node #0,4,4: 76:[18, 39] Operation: 4+35=39
Moving to Node #0,2
Current State: 76:[4, 18, 23], Operations: ['29-6=23']
Exploring Operation: 4*18=72, Resulting Numbers: [23, 72]
Generated Node #0,2,0: 76:[23, 72] Operation: 4*18=72
Exploring Operation: 4+18=22, Resulting Numbers: [23, 22]
Generated Node #0,2,1: 76:[23, 22] Operation: 4+18=22
Exploring Operation: 18+23=41, Resulting Numbers: [4, 41]
Generated Node #0,2,2: 76:[4, 41] Operation: 18+23=41
Exploring Operation: 23-4=19, Resulting Numbers: [18, 19]
Generated Node #0,2,3: 76:[18, 19] Operation: 23-4=19
Exploring Operation: 23-18=5, Resulting Numbers: [4, 5]
Generated Node #0,2,4: 76:[4, 5] Operation: 23-18=5
Moving to Node #0,3
Current State: 76:[18, 6, 33], Operations: ['4+29=33']
Exploring Operation: 6+33=39, Resulting Numbers: [18, 39]
Generated Node #0,3,0: 76:[18, 39] Operation: 6+33=39
Exploring Operation: 33-18=15, Resulting Numbers: [6, 15]
Generated Node #0,3,1: 76:[6, 15] Operation: 33-18=15
Exploring Operation: 18+6=24, Resulting Numbers: [33, 24]
Generated Node #0,3,2: 76:[33, 24] Operation: 18+6=24
Exploring Operation: 33-6=27, Resulting Numbers: [18, 27]
Generated Node #0,3,3: 76:[18, 27] Operation: 33-6=27
Exploring Operation: 18/6=3, Resulting Numbers: [33, 3]
Generated Node #0,3,4: 76:[33, 3] Operation: 18/6=3
Moving to Node #0,0
Current State: 76:[18, 6, 25], Operations: ['29-4=25']
Exploring Operation: 18/6=3, Resulting Numbers: [25, 3]
Generated Node #0,0,0: 76:[25, 3] Operation: 18/6=3
Exploring Operation: 25-6=19, Resulting Numbers: [18, 19]
Generated Node #0,0,1: 76:[18, 19] Operation: 25-6=19
Exploring Operation: 18+25=43, Resulting Numbers: [6, 43]
Generated Node #0,0,2: 76:[6, 43] Operation: 18+25=43
Exploring Operation: 25-18=7, Resulting Numbers: [6, 7]
Generated Node #0,0,3: 76:[6, 7] Operation: 25-18=7
Exploring Operation: 6+25=31, Resulting Numbers: [18, 31]
Generated Node #0,0,4: 76:[18, 31] Operation: 6+25=31
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 76:[18, 19], Operations: ['29-4=25', '25-6=19']
Exploring Operation: 18+19=37, Resulting Numbers: [37]
37,76 unequal: No Solution
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Exploring Operation: 18*19=342, Resulting Numbers: [342]
342,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 76:[6, 7], Operations: ['29-4=25', '25-18=7']
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,76 unequal: No Solution
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,76 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 76:[25, 3], Operations: ['29-4=25', '18/6=3']
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,76 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,76 unequal: No Solution
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 76:[6, 43], Operations: ['29-4=25', '18+25=43']
Exploring Operation: 6+43=49, Resulting Numbers: [49]
49,76 unequal: No Solution
Exploring Operation: 43-6=37, Resulting Numbers: [37]
37,76 unequal: No Solution
Exploring Operation: 6*43=258, Resulting Numbers: [258]
258,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 76:[18, 31], Operations: ['29-4=25', '6+25=31']
Exploring Operation: 18+31=49, Resulting Numbers: [49]
49,76 unequal: No Solution
Exploring Operation: 18*31=558, Resulting Numbers: [558]
558,76 unequal: No Solution
Exploring Operation: 31-18=13, Resulting Numbers: [13]
13,76 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: 76:[4, 6, 11], Operations: ['29-18=11']
Exploring Operation: 11-6=5, Resulting Numbers: [4, 5]
Generated Node #0,1,0: 76:[4, 5] Operation: 11-6=5
Exploring Operation: 4+11=15, Resulting Numbers: [6, 15]
Generated Node #0,1,1: 76:[6, 15] Operation: 4+11=15
Exploring Operation: 6+11=17, Resulting Numbers: [4, 17]
Generated Node #0,1,2: 76:[4, 17] Operation: 6+11=17
Exploring Operation: 6-4=2, Resulting Numbers: [11, 2]
Generated Node #0,1,3: 76:[11, 2] Operation: 6-4=2
Exploring Operation: 11-4=7, Resulting Numbers: [6, 7]
Generated Node #0,1,4: 76:[6, 7] Operation: 11-4=7
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 76:[4, 5], Operations: ['29-18=11', '11-6=5']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,76 unequal: No Solution
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 76:[4, 17], Operations: ['29-18=11', '6+11=17']
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,76 unequal: No Solution
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,76 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 76:[6, 7], Operations: ['29-18=11', '11-4=7']
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,76 unequal: No Solution
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 76:[6, 15], Operations: ['29-18=11', '4+11=15']
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,76 unequal: No Solution
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,76 unequal: No Solution
Exploring Operation: 6+15=21, Resulting Numbers: [21]
21,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 76:[11, 2], Operations: ['29-18=11', '6-4=2']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,76 unequal: No Solution
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,76 unequal: No Solution
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 76:[18, 19], Operations: ['29-6=23', '23-4=19']
Exploring Operation: 18+19=37, Resulting Numbers: [37]
37,76 unequal: No Solution
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Exploring Operation: 18*19=342, Resulting Numbers: [342]
342,76 unequal: No Solution
Moving to Node #0,2,4
Current State: 76:[4, 5], Operations: ['29-6=23', '23-18=5']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,76 unequal: No Solution
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,76 unequal: No Solution
Moving to Node #0,4,0
Current State: 76:[4, 17], Operations: ['29+6=35', '35-18=17']
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,76 unequal: No Solution
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,76 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,76 unequal: No Solution
Moving to Node #0,4,4
Current State: 76:[18, 39], Operations: ['29+6=35', '4+35=39']
Exploring Operation: 18*39=702, Resulting Numbers: [702]
702,76 unequal: No Solution
Exploring Operation: 18+39=57, Resulting Numbers: [57]
57,76 unequal: No Solution
Exploring Operation: 39-18=21, Resulting Numbers: [21]
21,76 unequal: No Solution
Moving to Node #0,3,0
Current State: 76:[18, 39], Operations: ['4+29=33', '6+33=39']
Exploring Operation: 18*39=702, Resulting Numbers: [702]
702,76 unequal: No Solution
Exploring Operation: 18+39=57, Resulting Numbers: [57]
57,76 unequal: No Solution
Exploring Operation: 39-18=21, Resulting Numbers: [21]
21,76 unequal: No Solution
Moving to Node #0,2,2
Current State: 76:[4, 41], Operations: ['29-6=23', '18+23=41']
Exploring Operation: 4+41=45, Resulting Numbers: [45]
45,76 unequal: No Solution
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,76 unequal: No Solution
Exploring Operation: 4*41=164, Resulting Numbers: [164]
164,76 unequal: No Solution
Moving to Node #0,4,1
Current State: 76:[35, 22], Operations: ['29+6=35', '4+18=22']
Exploring Operation: 35-22=13, Resulting Numbers: [13]
13,76 unequal: No Solution
Exploring Operation: 35+22=57, Resulting Numbers: [57]
57,76 unequal: No Solution
Exploring Operation: 35*22=770, Resulting Numbers: [770]
770,76 unequal: No Solution
Moving to Node #0,3,4
Current State: 76:[33, 3], Operations: ['4+29=33', '18/6=3']
Exploring Operation: 33*3=99, Resulting Numbers: [99]
99,76 unequal: No Solution
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,76 unequal: No Solution
Exploring Operation: 33+3=36, Resulting Numbers: [36]
36,76 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,76 unequal: No Solution
Moving to Node #0,3,1
Current State: 76:[6, 15], Operations: ['4+29=33', '33-18=15']
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,76 unequal: No Solution
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,76 unequal: No Solution
Exploring Operation: 6+15=21, Resulting Numbers: [21]
21,76 unequal: No Solution
Moving to Node #0,2,1
Current State: 76:[23, 22], Operations: ['29-6=23', '4+18=22']
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,76 unequal: No Solution
Exploring Operation: 23+22=45, Resulting Numbers: [45]
45,76 unequal: No Solution
Exploring Operation: 23*22=506, Resulting Numbers: [506]
506,76 unequal: No Solution
Moving to Node #0,4,3
Current State: 76:[35, 72], Operations: ['29+6=35', '4*18=72']
Exploring Operation: 72-35=37, Resulting Numbers: [37]
37,76 unequal: No Solution
Exploring Operation: 35+72=107, Resulting Numbers: [107]
107,76 unequal: No Solution
Exploring Operation: 35*72=2520, Resulting Numbers: [2520]
2520,76 unequal: No Solution
Moving to Node #0,2,0
Current State: 76:[23, 72], Operations: ['29-6=23', '4*18=72']
Exploring Operation: 23+72=95, Resulting Numbers: [95]
95,76 unequal: No Solution
Exploring Operation: 72-23=49, Resulting Numbers: [49]
49,76 unequal: No Solution
Exploring Operation: 23*72=1656, Resulting Numbers: [1656]
1656,76 unequal: No Solution
Moving to Node #0,4,2
Current State: 76:[35, 14], Operations: ['29+6=35', '18-4=14']
Exploring Operation: 35-14=21, Resulting Numbers: [21]
21,76 unequal: No Solution
Exploring Operation: 35*14=490, Resulting Numbers: [490]
490,76 unequal: No Solution
Exploring Operation: 35+14=49, Resulting Numbers: [49]
49,76 unequal: No Solution
Moving to Node #0,3,3
Current State: 76:[18, 27], Operations: ['4+29=33', '33-6=27']
Exploring Operation: 18+27=45, Resulting Numbers: [45]
45,76 unequal: No Solution
Exploring Operation: 27-18=9, Resulting Numbers: [9]
9,76 unequal: No Solution
Exploring Operation: 18*27=486, Resulting Numbers: [486]
486,76 unequal: No Solution
Moving to Node #0,3,2
Current State: 76:[33, 24], Operations: ['4+29=33', '18+6=24']
Exploring Operation: 33-24=9, Resulting Numbers: [9]
9,76 unequal: No Solution
Exploring Operation: 33+24=57, Resulting Numbers: [57]
57,76 unequal: No Solution
Exploring Operation: 33*24=792, Resulting Numbers: [792]
792,76 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
76,
27,
29,
80
] | 36 | [
"29-27=2",
"80/2=40",
"76-40=36"
] | Current State: 36:[76, 27, 29, 80], Operations: []
Exploring Operation: 29-27=2, Resulting Numbers: [76, 80, 2]
Generated Node #2: [76, 80, 2] from Operation: 29-27=2
Current State: 36:[76, 80, 2], Operations: ['29-27=2']
Exploring Operation: 80/2=40, Resulting Numbers: [76, 40]
Generated Node #3: [76, 40] from Operation: 80/2=40
Current State: 36:[76, 40], Operations: ['29-27=2', '80/2=40']
Exploring Operation: 76-40=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[76, 27, 29, 80], Operations: []
Exploring Operation: 80-76=4, Resulting Numbers: [27, 29, 4]
Generated Node #0,0: 36:[27, 29, 4] Operation: 80-76=4
Exploring Operation: 76-27=49, Resulting Numbers: [29, 80, 49]
Generated Node #0,1: 36:[29, 80, 49] Operation: 76-27=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[27, 29, 4], Operations: ['80-76=4']
Exploring Operation: 27+4=31, Resulting Numbers: [29, 31]
Generated Node #0,0,0: 36:[29, 31] Operation: 27+4=31
Exploring Operation: 29-27=2, Resulting Numbers: [4, 2]
Generated Node #0,0,1: 36:[4, 2] Operation: 29-27=2
Moving to Node #0,0,1
Current State: 36:[4, 2], Operations: ['80-76=4', '29-27=2']
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Moving to Node #0,0,0
Current State: 36:[29, 31], Operations: ['80-76=4', '27+4=31']
Exploring Operation: 31-29=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Exploring Operation: 29+31=60, Resulting Numbers: [60]
60,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[29, 80, 49], Operations: ['76-27=49']
Exploring Operation: 80-49=31, Resulting Numbers: [29, 31]
Generated Node #0,1,0: 36:[29, 31] Operation: 80-49=31
Exploring Operation: 80-29=51, Resulting Numbers: [49, 51]
Generated Node #0,1,1: 36:[49, 51] Operation: 80-29=51
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 36:[29, 31], Operations: ['76-27=49', '80-49=31']
Exploring Operation: 29+31=60, Resulting Numbers: [60]
60,36 unequal: No Solution
Exploring Operation: 31-29=2, Resulting Numbers: [2]
2,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 36:[49, 51], Operations: ['76-27=49', '80-29=51']
Exploring Operation: 51-49=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Exploring Operation: 49+51=100, Resulting Numbers: [100]
100,36 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 |
[
63,
23,
46,
22
] | 74 | [
"46/23=2",
"22/2=11",
"63+11=74"
] | Current State: 74:[63, 23, 46, 22], Operations: []
Exploring Operation: 46/23=2, Resulting Numbers: [63, 22, 2]
Generated Node #2: [63, 22, 2] from Operation: 46/23=2
Current State: 74:[63, 22, 2], Operations: ['46/23=2']
Exploring Operation: 22/2=11, Resulting Numbers: [63, 11]
Generated Node #3: [63, 11] from Operation: 22/2=11
Current State: 74:[63, 11], Operations: ['46/23=2', '22/2=11']
Exploring Operation: 63+11=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[63, 23, 46, 22], Operations: []
Exploring Operation: 46/23=2, Resulting Numbers: [63, 22, 2]
Generated Node #0,0: 74:[63, 22, 2] Operation: 46/23=2
Exploring Operation: 23-22=1, Resulting Numbers: [63, 46, 1]
Generated Node #0,1: 74:[63, 46, 1] Operation: 23-22=1
Moving to Node #0,1
Current State: 74:[63, 46, 1], Operations: ['23-22=1']
Exploring Operation: 63-46=17, Resulting Numbers: [1, 17]
Generated Node #0,1,0: 74:[1, 17] Operation: 63-46=17
Exploring Operation: 63+1=64, Resulting Numbers: [46, 64]
Generated Node #0,1,1: 74:[46, 64] Operation: 63+1=64
Moving to Node #0,0
Current State: 74:[63, 22, 2], Operations: ['46/23=2']
Exploring Operation: 63+22=85, Resulting Numbers: [2, 85]
Generated Node #0,0,0: 74:[2, 85] Operation: 63+22=85
Exploring Operation: 63-22=41, Resulting Numbers: [2, 41]
Generated Node #0,0,1: 74:[2, 41] Operation: 63-22=41
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 74:[2, 41], Operations: ['46/23=2', '63-22=41']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,74 unequal: No Solution
Exploring Operation: 2+41=43, Resulting Numbers: [43]
43,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 74:[2, 85], Operations: ['46/23=2', '63+22=85']
Exploring Operation: 2+85=87, Resulting Numbers: [87]
87,74 unequal: No Solution
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 74:[1, 17], Operations: ['23-22=1', '63-46=17']
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,74 unequal: No Solution
Exploring Operation: 1*17=17, Resulting Numbers: [17]
17,74 unequal: No Solution
Moving to Node #0,1,1
Current State: 74:[46, 64], Operations: ['23-22=1', '63+1=64']
Exploring Operation: 64-46=18, Resulting Numbers: [18]
18,74 unequal: No Solution
Exploring Operation: 46+64=110, Resulting Numbers: [110]
110,74 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
91,
48,
22,
16
] | 56 | [
"91*16=1456",
"48-22=26",
"1456/26=56"
] | Current State: 56:[91, 48, 22, 16], Operations: []
Exploring Operation: 91*16=1456, Resulting Numbers: [48, 22, 1456]
Generated Node #2: [48, 22, 1456] from Operation: 91*16=1456
Current State: 56:[48, 22, 1456], Operations: ['91*16=1456']
Exploring Operation: 48-22=26, Resulting Numbers: [1456, 26]
Generated Node #3: [1456, 26] from Operation: 48-22=26
Current State: 56:[1456, 26], Operations: ['91*16=1456', '48-22=26']
Exploring Operation: 1456/26=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[91, 48, 22, 16], Operations: []
Exploring Operation: 91-22=69, Resulting Numbers: [48, 16, 69]
Generated Node #0,0: 56:[48, 16, 69] Operation: 91-22=69
Exploring Operation: 48-22=26, Resulting Numbers: [91, 16, 26]
Generated Node #0,1: 56:[91, 16, 26] Operation: 48-22=26
Exploring Operation: 91-16=75, Resulting Numbers: [48, 22, 75]
Generated Node #0,2: 56:[48, 22, 75] Operation: 91-16=75
Exploring Operation: 91-48=43, Resulting Numbers: [22, 16, 43]
Generated Node #0,3: 56:[22, 16, 43] Operation: 91-48=43
Start Sub Search at level 1: Moving to Node #0,3
Current State: 56:[22, 16, 43], Operations: ['91-48=43']
Exploring Operation: 43-22=21, Resulting Numbers: [16, 21]
Generated Node #0,3,0: 56:[16, 21] Operation: 43-22=21
Exploring Operation: 43-16=27, Resulting Numbers: [22, 27]
Generated Node #0,3,1: 56:[22, 27] Operation: 43-16=27
Exploring Operation: 22+43=65, Resulting Numbers: [16, 65]
Generated Node #0,3,2: 56:[16, 65] Operation: 22+43=65
Exploring Operation: 16+43=59, Resulting Numbers: [22, 59]
Generated Node #0,3,3: 56:[22, 59] Operation: 16+43=59
Moving to Node #0,3,1
Current State: 56:[22, 27], Operations: ['91-48=43', '43-16=27']
Exploring Operation: 22+27=49, Resulting Numbers: [49]
49,56 unequal: No Solution
Exploring Operation: 22*27=594, Resulting Numbers: [594]
594,56 unequal: No Solution
Exploring Operation: 27-22=5, Resulting Numbers: [5]
5,56 unequal: No Solution
Moving to Node #0,3,3
Current State: 56:[22, 59], Operations: ['91-48=43', '16+43=59']
Exploring Operation: 22+59=81, Resulting Numbers: [81]
81,56 unequal: No Solution
Exploring Operation: 22*59=1298, Resulting Numbers: [1298]
1298,56 unequal: No Solution
Exploring Operation: 59-22=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Moving to Node #0,3,0
Current State: 56:[16, 21], Operations: ['91-48=43', '43-22=21']
Exploring Operation: 16*21=336, Resulting Numbers: [336]
336,56 unequal: No Solution
Exploring Operation: 21-16=5, Resulting Numbers: [5]
5,56 unequal: No Solution
Exploring Operation: 16+21=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Moving to Node #0,3,2
Current State: 56:[16, 65], Operations: ['91-48=43', '22+43=65']
Exploring Operation: 16+65=81, Resulting Numbers: [81]
81,56 unequal: No Solution
Exploring Operation: 65-16=49, Resulting Numbers: [49]
49,56 unequal: No Solution
Exploring Operation: 16*65=1040, Resulting Numbers: [1040]
1040,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
Current State: 56:[48, 16, 69], Operations: ['91-22=69']
Exploring Operation: 48/16=3, Resulting Numbers: [69, 3]
Generated Node #0,0,0: 56:[69, 3] Operation: 48/16=3
Exploring Operation: 48-16=32, Resulting Numbers: [69, 32]
Generated Node #0,0,1: 56:[69, 32] Operation: 48-16=32
Exploring Operation: 69-16=53, Resulting Numbers: [48, 53]
Generated Node #0,0,2: 56:[48, 53] Operation: 69-16=53
Exploring Operation: 69-48=21, Resulting Numbers: [16, 21]
Generated Node #0,0,3: 56:[16, 21] Operation: 69-48=21
Moving to Node #0,0,3
Current State: 56:[16, 21], Operations: ['91-22=69', '69-48=21']
Exploring Operation: 16+21=37, Resulting Numbers: [37]
37,56 unequal: No Solution
Exploring Operation: 21-16=5, Resulting Numbers: [5]
5,56 unequal: No Solution
Exploring Operation: 16*21=336, Resulting Numbers: [336]
336,56 unequal: No Solution
Moving to Node #0,0,2
Current State: 56:[48, 53], Operations: ['91-22=69', '69-16=53']
Exploring Operation: 48+53=101, Resulting Numbers: [101]
101,56 unequal: No Solution
Exploring Operation: 53-48=5, Resulting Numbers: [5]
5,56 unequal: No Solution
Exploring Operation: 48*53=2544, Resulting Numbers: [2544]
2544,56 unequal: No Solution
Moving to Node #0,0,0
Current State: 56:[69, 3], Operations: ['91-22=69', '48/16=3']
Exploring Operation: 69+3=72, Resulting Numbers: [72]
72,56 unequal: No Solution
Exploring Operation: 69*3=207, Resulting Numbers: [207]
207,56 unequal: No Solution
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,56 unequal: No Solution
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,56 unequal: No Solution
Moving to Node #0,0,1
Current State: 56:[69, 32], Operations: ['91-22=69', '48-16=32']
Exploring Operation: 69+32=101, Resulting Numbers: [101]
101,56 unequal: No Solution
Exploring Operation: 69*32=2208, Resulting Numbers: [2208]
2208,56 unequal: No Solution
Exploring Operation: 69-32=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,2
Current State: 56:[48, 22, 75], Operations: ['91-16=75']
Exploring Operation: 75-48=27, Resulting Numbers: [22, 27]
Generated Node #0,2,0: 56:[22, 27] Operation: 75-48=27
Exploring Operation: 75-22=53, Resulting Numbers: [48, 53]
Generated Node #0,2,1: 56:[48, 53] Operation: 75-22=53
Exploring Operation: 48-22=26, Resulting Numbers: [75, 26]
Generated Node #0,2,2: 56:[75, 26] Operation: 48-22=26
Exploring Operation: 48+22=70, Resulting Numbers: [75, 70]
Generated Node #0,2,3: 56:[75, 70] Operation: 48+22=70
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 56:[22, 27], Operations: ['91-16=75', '75-48=27']
Exploring Operation: 22+27=49, Resulting Numbers: [49]
49,56 unequal: No Solution
Exploring Operation: 22*27=594, Resulting Numbers: [594]
594,56 unequal: No Solution
Exploring Operation: 27-22=5, Resulting Numbers: [5]
5,56 unequal: No Solution
No 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: 56:[48, 53], Operations: ['91-16=75', '75-22=53']
Exploring Operation: 48+53=101, Resulting Numbers: [101]
101,56 unequal: No Solution
Exploring Operation: 53-48=5, Resulting Numbers: [5]
5,56 unequal: No Solution
Exploring Operation: 48*53=2544, Resulting Numbers: [2544]
2544,56 unequal: No Solution
No 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: 56:[75, 26], Operations: ['91-16=75', '48-22=26']
Exploring Operation: 75+26=101, Resulting Numbers: [101]
101,56 unequal: No Solution
Exploring Operation: 75*26=1950, Resulting Numbers: [1950]
1950,56 unequal: No Solution
Exploring Operation: 75-26=49, Resulting Numbers: [49]
49,56 unequal: No Solution
No 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: 56:[75, 70], Operations: ['91-16=75', '48+22=70']
Exploring Operation: 75-70=5, Resulting Numbers: [5]
5,56 unequal: No Solution
Exploring Operation: 75+70=145, Resulting Numbers: [145]
145,56 unequal: No Solution
Exploring Operation: 75*70=5250, Resulting Numbers: [5250]
5250,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[91, 16, 26], Operations: ['48-22=26']
Exploring Operation: 16+26=42, Resulting Numbers: [91, 42]
Generated Node #0,1,0: 56:[91, 42] Operation: 16+26=42
Exploring Operation: 91-26=65, Resulting Numbers: [16, 65]
Generated Node #0,1,1: 56:[16, 65] Operation: 91-26=65
Exploring Operation: 91-16=75, Resulting Numbers: [26, 75]
Generated Node #0,1,2: 56:[26, 75] Operation: 91-16=75
Exploring Operation: 26-16=10, Resulting Numbers: [91, 10]
Generated Node #0,1,3: 56:[91, 10] Operation: 26-16=10
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 56:[16, 65], Operations: ['48-22=26', '91-26=65']
Exploring Operation: 16*65=1040, Resulting Numbers: [1040]
1040,56 unequal: No Solution
Exploring Operation: 65-16=49, Resulting Numbers: [49]
49,56 unequal: No Solution
Exploring Operation: 16+65=81, Resulting Numbers: [81]
81,56 unequal: No Solution
No 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: 56:[26, 75], Operations: ['48-22=26', '91-16=75']
Exploring Operation: 26*75=1950, Resulting Numbers: [1950]
1950,56 unequal: No Solution
Exploring Operation: 75-26=49, Resulting Numbers: [49]
49,56 unequal: No Solution
Exploring Operation: 26+75=101, Resulting Numbers: [101]
101,56 unequal: No Solution
No 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: 56:[91, 10], Operations: ['48-22=26', '26-16=10']
Exploring Operation: 91-10=81, Resulting Numbers: [81]
81,56 unequal: No Solution
Exploring Operation: 91+10=101, Resulting Numbers: [101]
101,56 unequal: No Solution
Exploring Operation: 91*10=910, Resulting Numbers: [910]
910,56 unequal: No Solution
No 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: 56:[91, 42], Operations: ['48-22=26', '16+26=42']
Exploring Operation: 91-42=49, Resulting Numbers: [49]
49,56 unequal: No Solution
Exploring Operation: 91*42=3822, Resulting Numbers: [3822]
3822,56 unequal: No Solution
Exploring Operation: 91+42=133, Resulting Numbers: [133]
133,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_4 | mult_heuristic |
[
30,
25,
3,
21
] | 90 | [
"30-25=5",
"21-3=18",
"5*18=90"
] | Current State: 90:[30, 25, 3, 21], Operations: []
Exploring Operation: 30-25=5, Resulting Numbers: [3, 21, 5]
Generated Node #2: [3, 21, 5] from Operation: 30-25=5
Current State: 90:[3, 21, 5], Operations: ['30-25=5']
Exploring Operation: 21-3=18, Resulting Numbers: [5, 18]
Generated Node #3: [5, 18] from Operation: 21-3=18
Current State: 90:[5, 18], Operations: ['30-25=5', '21-3=18']
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[30, 25, 3, 21], Operations: []
Exploring Operation: 25+21=46, Resulting Numbers: [30, 3, 46]
Generated Node #0,0: 90:[30, 3, 46] Operation: 25+21=46
Exploring Operation: 30-21=9, Resulting Numbers: [25, 3, 9]
Generated Node #0,1: 90:[25, 3, 9] Operation: 30-21=9
Exploring Operation: 30-25=5, Resulting Numbers: [3, 21, 5]
Generated Node #0,2: 90:[3, 21, 5] Operation: 30-25=5
Exploring Operation: 25-21=4, Resulting Numbers: [30, 3, 4]
Generated Node #0,3: 90:[30, 3, 4] Operation: 25-21=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[30, 3, 46], Operations: ['25+21=46']
Exploring Operation: 46-3=43, Resulting Numbers: [30, 43]
Generated Node #0,0,0: 90:[30, 43] Operation: 46-3=43
Exploring Operation: 30*3=90, Resulting Numbers: [46, 90]
Generated Node #0,0,1: 90:[46, 90] Operation: 30*3=90
Exploring Operation: 30/3=10, Resulting Numbers: [46, 10]
Generated Node #0,0,2: 90:[46, 10] Operation: 30/3=10
Exploring Operation: 46-30=16, Resulting Numbers: [3, 16]
Generated Node #0,0,3: 90:[3, 16] Operation: 46-30=16
Moving to Node #0,0,1
Current State: 90:[46, 90], Operations: ['25+21=46', '30*3=90']
Exploring Operation: 46+90=136, Resulting Numbers: [136]
136,90 unequal: No Solution
Exploring Operation: 90-46=44, Resulting Numbers: [44]
44,90 unequal: No Solution
Exploring Operation: 46*90=4140, Resulting Numbers: [4140]
4140,90 unequal: No Solution
Moving to Node #0,0,3
Current State: 90:[3, 16], Operations: ['25+21=46', '46-30=16']
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,90 unequal: No Solution
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,90 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,90 unequal: No Solution
Moving to Node #0,0,2
Current State: 90:[46, 10], Operations: ['25+21=46', '30/3=10']
Exploring Operation: 46*10=460, Resulting Numbers: [460]
460,90 unequal: No Solution
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,90 unequal: No Solution
Exploring Operation: 46+10=56, Resulting Numbers: [56]
56,90 unequal: No Solution
Moving to Node #0,0,0
Current State: 90:[30, 43], Operations: ['25+21=46', '46-3=43']
Exploring Operation: 30+43=73, Resulting Numbers: [73]
73,90 unequal: No Solution
Exploring Operation: 30*43=1290, Resulting Numbers: [1290]
1290,90 unequal: No Solution
Exploring Operation: 43-30=13, Resulting Numbers: [13]
13,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,3
Current State: 90:[30, 3, 4], Operations: ['25-21=4']
Exploring Operation: 30/3=10, Resulting Numbers: [4, 10]
Generated Node #0,3,0: 90:[4, 10] Operation: 30/3=10
Exploring Operation: 4-3=1, Resulting Numbers: [30, 1]
Generated Node #0,3,1: 90:[30, 1] Operation: 4-3=1
Exploring Operation: 3+4=7, Resulting Numbers: [30, 7]
Generated Node #0,3,2: 90:[30, 7] Operation: 3+4=7
Exploring Operation: 30*3=90, Resulting Numbers: [4, 90]
Generated Node #0,3,3: 90:[4, 90] Operation: 30*3=90
Moving to Node #0,3,0
Current State: 90:[4, 10], Operations: ['25-21=4', '30/3=10']
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,90 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,90 unequal: No Solution
Moving to Node #0,3,2
Current State: 90:[30, 7], Operations: ['25-21=4', '3+4=7']
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Exploring Operation: 30*7=210, Resulting Numbers: [210]
210,90 unequal: No Solution
Exploring Operation: 30+7=37, Resulting Numbers: [37]
37,90 unequal: No Solution
Moving to Node #0,3,1
Current State: 90:[30, 1], Operations: ['25-21=4', '4-3=1']
Exploring Operation: 30+1=31, Resulting Numbers: [31]
31,90 unequal: No Solution
Exploring Operation: 30/1=30, Resulting Numbers: [30]
30,90 unequal: No Solution
Exploring Operation: 30*1=30, Resulting Numbers: [30]
30,90 unequal: No Solution
Exploring Operation: 30-1=29, Resulting Numbers: [29]
29,90 unequal: No Solution
Moving to Node #0,3,3
Current State: 90:[4, 90], Operations: ['25-21=4', '30*3=90']
Exploring Operation: 90-4=86, Resulting Numbers: [86]
86,90 unequal: No Solution
Exploring Operation: 4*90=360, Resulting Numbers: [360]
360,90 unequal: No Solution
Exploring Operation: 4+90=94, Resulting Numbers: [94]
94,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 90:[3, 21, 5], Operations: ['30-25=5']
Exploring Operation: 21-3=18, Resulting Numbers: [5, 18]
Generated Node #0,2,0: 90:[5, 18] Operation: 21-3=18
Exploring Operation: 21-5=16, Resulting Numbers: [3, 16]
Generated Node #0,2,1: 90:[3, 16] Operation: 21-5=16
Exploring Operation: 21/3=7, Resulting Numbers: [5, 7]
Generated Node #0,2,2: 90:[5, 7] Operation: 21/3=7
Exploring Operation: 3*5=15, Resulting Numbers: [21, 15]
Generated Node #0,2,3: 90:[21, 15] Operation: 3*5=15
Moving to Node #0,2,0
Current State: 90:[5, 18], Operations: ['30-25=5', '21-3=18']
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[30, 25, 3, 21], Operations: []
Exploring Operation: 30-25=5, Resulting Numbers: [3, 21, 5]
Generated Node #0,2: 90:[3, 21, 5] Operation: 30-25=5
Moving to Node #0,2
Current State: 90:[3, 21, 5], Operations: ['30-25=5']
Exploring Operation: 21-3=18, Resulting Numbers: [5, 18]
Generated Node #0,2,0: 90:[5, 18] Operation: 21-3=18
Moving to Node #0,2,0
Current State: 90:[5, 18], Operations: ['30-25=5', '21-3=18']
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.960069 | hs_4 | mult_heuristic |
[
44,
99,
22,
11
] | 75 | [
"44+22=66",
"99/11=9",
"66+9=75"
] | Current State: 75:[44, 99, 22, 11], Operations: []
Exploring Operation: 44+22=66, Resulting Numbers: [99, 11, 66]
Generated Node #2: [99, 11, 66] from Operation: 44+22=66
Current State: 75:[99, 11, 66], Operations: ['44+22=66']
Exploring Operation: 99/11=9, Resulting Numbers: [66, 9]
Generated Node #3: [66, 9] from Operation: 99/11=9
Current State: 75:[66, 9], Operations: ['44+22=66', '99/11=9']
Exploring Operation: 66+9=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[44, 99, 22, 11], Operations: []
Exploring Operation: 99/11=9, Resulting Numbers: [44, 22, 9]
Generated Node #0,0: 75:[44, 22, 9] Operation: 99/11=9
Exploring Operation: 99-22=77, Resulting Numbers: [44, 11, 77]
Generated Node #0,1: 75:[44, 11, 77] Operation: 99-22=77
Exploring Operation: 99-44=55, Resulting Numbers: [22, 11, 55]
Generated Node #0,2: 75:[22, 11, 55] Operation: 99-44=55
Exploring Operation: 44/11=4, Resulting Numbers: [99, 22, 4]
Generated Node #0,3: 75:[99, 22, 4] Operation: 44/11=4
Exploring Operation: 44/22=2, Resulting Numbers: [99, 11, 2]
Generated Node #0,4: 75:[99, 11, 2] Operation: 44/22=2
Moving to Node #0,1
Current State: 75:[44, 11, 77], Operations: ['99-22=77']
Exploring Operation: 44-11=33, Resulting Numbers: [77, 33]
Generated Node #0,1,0: 75:[77, 33] Operation: 44-11=33
Exploring Operation: 44/11=4, Resulting Numbers: [77, 4]
Generated Node #0,1,1: 75:[77, 4] Operation: 44/11=4
Exploring Operation: 44+11=55, Resulting Numbers: [77, 55]
Generated Node #0,1,2: 75:[77, 55] Operation: 44+11=55
Exploring Operation: 77/11=7, Resulting Numbers: [44, 7]
Generated Node #0,1,3: 75:[44, 7] Operation: 77/11=7
Exploring Operation: 77-44=33, Resulting Numbers: [11, 33]
Generated Node #0,1,4: 75:[11, 33] Operation: 77-44=33
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 75:[77, 4], Operations: ['99-22=77', '44/11=4']
Exploring Operation: 77+4=81, Resulting Numbers: [81]
81,75 unequal: No Solution
Exploring Operation: 77*4=308, Resulting Numbers: [308]
308,75 unequal: No Solution
Exploring Operation: 77-4=73, Resulting Numbers: [73]
73,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 75:[77, 33], Operations: ['99-22=77', '44-11=33']
Exploring Operation: 77+33=110, Resulting Numbers: [110]
110,75 unequal: No Solution
Exploring Operation: 77-33=44, Resulting Numbers: [44]
44,75 unequal: No Solution
Exploring Operation: 77*33=2541, Resulting Numbers: [2541]
2541,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 75:[11, 33], Operations: ['99-22=77', '77-44=33']
Exploring Operation: 11+33=44, Resulting Numbers: [44]
44,75 unequal: No Solution
Exploring Operation: 33-11=22, Resulting Numbers: [22]
22,75 unequal: No Solution
Exploring Operation: 11*33=363, Resulting Numbers: [363]
363,75 unequal: No Solution
Exploring Operation: 33/11=3, Resulting Numbers: [3]
3,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 75:[44, 7], Operations: ['99-22=77', '77/11=7']
Exploring Operation: 44*7=308, Resulting Numbers: [308]
308,75 unequal: No Solution
Exploring Operation: 44+7=51, Resulting Numbers: [51]
51,75 unequal: No Solution
Exploring Operation: 44-7=37, Resulting Numbers: [37]
37,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 75:[77, 55], Operations: ['99-22=77', '44+11=55']
Exploring Operation: 77-55=22, Resulting Numbers: [22]
22,75 unequal: No Solution
Exploring Operation: 77+55=132, Resulting Numbers: [132]
132,75 unequal: No Solution
Exploring Operation: 77*55=4235, Resulting Numbers: [4235]
4235,75 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: 75:[44, 22, 9], Operations: ['99/11=9']
Exploring Operation: 44/22=2, Resulting Numbers: [9, 2]
Generated Node #0,0,0: 75:[9, 2] Operation: 44/22=2
Exploring Operation: 44-22=22, Resulting Numbers: [9, 22]
Generated Node #0,0,1: 75:[9, 22] Operation: 44-22=22
Exploring Operation: 22-9=13, Resulting Numbers: [44, 13]
Generated Node #0,0,2: 75:[44, 13] Operation: 22-9=13
Exploring Operation: 44-9=35, Resulting Numbers: [22, 35]
Generated Node #0,0,3: 75:[22, 35] Operation: 44-9=35
Exploring Operation: 44+22=66, Resulting Numbers: [9, 66]
Generated Node #0,0,4: 75:[9, 66] Operation: 44+22=66
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 75:[9, 2], Operations: ['99/11=9', '44/22=2']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,75 unequal: No Solution
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,75 unequal: No Solution
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,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,1
Current State: 75:[9, 22], Operations: ['99/11=9', '44-22=22']
Exploring Operation: 9+22=31, Resulting Numbers: [31]
31,75 unequal: No Solution
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,75 unequal: No Solution
Exploring Operation: 9*22=198, Resulting Numbers: [198]
198,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,3
Current State: 75:[22, 35], Operations: ['99/11=9', '44-9=35']
Exploring Operation: 22+35=57, Resulting Numbers: [57]
57,75 unequal: No Solution
Exploring Operation: 22*35=770, Resulting Numbers: [770]
770,75 unequal: No Solution
Exploring Operation: 35-22=13, Resulting Numbers: [13]
13,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,4
Current State: 75:[9, 66], Operations: ['99/11=9', '44+22=66']
Exploring Operation: 66-9=57, Resulting Numbers: [57]
57,75 unequal: No Solution
Exploring Operation: 9*66=594, Resulting Numbers: [594]
594,75 unequal: No Solution
Exploring Operation: 9+66=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[44, 99, 22, 11], Operations: []
Exploring Operation: 99/11=9, Resulting Numbers: [44, 22, 9]
Generated Node #0,0: 75:[44, 22, 9] Operation: 99/11=9
Moving to Node #0,0
Current State: 75:[44, 22, 9], Operations: ['99/11=9']
Exploring Operation: 44+22=66, Resulting Numbers: [9, 66]
Generated Node #0,0,4: 75:[9, 66] Operation: 44+22=66
Moving to Node #0,0,4
Current State: 75:[9, 66], Operations: ['99/11=9', '44+22=66']
Exploring Operation: 9+66=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.959201 | hs_5 | sum_heuristic |
[
24,
74,
74,
13
] | 37 | [
"24+74=98",
"74-13=61",
"98-61=37"
] | Current State: 37:[24, 74, 74, 13], Operations: []
Exploring Operation: 24+74=98, Resulting Numbers: [13, 98]
Generated Node #2: [13, 98] from Operation: 24+74=98
Current State: 37:[13, 98], Operations: ['24+74=98']
Exploring Operation: 74-13=61, Resulting Numbers: [98, 61]
Generated Node #3: [98, 61] from Operation: 74-13=61
Current State: 37:[98, 61], Operations: ['24+74=98', '74-13=61']
Exploring Operation: 98-61=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[24, 74, 74, 13], Operations: []
Exploring Operation: 74/74=1, Resulting Numbers: [24, 13, 1]
Generated Node #0,0: 37:[24, 13, 1] Operation: 74/74=1
Moving to Node #0,0
Current State: 37:[24, 13, 1], Operations: ['74/74=1']
Exploring Operation: 24+13=37, Resulting Numbers: [1, 37]
Generated Node #0,0,0: 37:[1, 37] Operation: 24+13=37
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 37:[1, 37], Operations: ['74/74=1', '24+13=37']
Exploring Operation: 1*37=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[24, 74, 74, 13], Operations: []
Exploring Operation: 74/74=1, Resulting Numbers: [24, 13, 1]
Generated Node #0,0: 37:[24, 13, 1] Operation: 74/74=1
Moving to Node #0,0
Current State: 37:[24, 13, 1], Operations: ['74/74=1']
Exploring Operation: 24+13=37, Resulting Numbers: [1, 37]
Generated Node #0,0,0: 37:[1, 37] Operation: 24+13=37
Moving to Node #0,0,0
Current State: 37:[1, 37], Operations: ['74/74=1', '24+13=37']
Exploring Operation: 1*37=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
16,
17,
3,
83
] | 28 | [
"17-16=1",
"83+1=84",
"84/3=28"
] | Current State: 28:[16, 17, 3, 83], Operations: []
Exploring Operation: 17-16=1, Resulting Numbers: [3, 83, 1]
Generated Node #2: [3, 83, 1] from Operation: 17-16=1
Current State: 28:[3, 83, 1], Operations: ['17-16=1']
Exploring Operation: 83+1=84, Resulting Numbers: [3, 84]
Generated Node #3: [3, 84] from Operation: 83+1=84
Current State: 28:[3, 84], Operations: ['17-16=1', '83+1=84']
Exploring Operation: 84/3=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[16, 17, 3, 83], Operations: []
Exploring Operation: 83-16=67, Resulting Numbers: [17, 3, 67]
Generated Node #0,0: 28:[17, 3, 67] Operation: 83-16=67
Exploring Operation: 83-17=66, Resulting Numbers: [16, 3, 66]
Generated Node #0,1: 28:[16, 3, 66] Operation: 83-17=66
Start Sub Search at level 1: Moving to Node #0,1
Current State: 28:[16, 3, 66], Operations: ['83-17=66']
Exploring Operation: 66-16=50, Resulting Numbers: [3, 50]
Generated Node #0,1,0: 28:[3, 50] Operation: 66-16=50
Exploring Operation: 66/3=22, Resulting Numbers: [16, 22]
Generated Node #0,1,1: 28:[16, 22] Operation: 66/3=22
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 28:[16, 22], Operations: ['83-17=66', '66/3=22']
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,28 unequal: No Solution
Exploring Operation: 16+22=38, Resulting Numbers: [38]
38,28 unequal: No Solution
No 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: 28:[3, 50], Operations: ['83-17=66', '66-16=50']
Exploring Operation: 3+50=53, Resulting Numbers: [53]
53,28 unequal: No Solution
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,28 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: 28:[17, 3, 67], Operations: ['83-16=67']
Exploring Operation: 67-17=50, Resulting Numbers: [3, 50]
Generated Node #0,0,0: 28:[3, 50] Operation: 67-17=50
Exploring Operation: 17-3=14, Resulting Numbers: [67, 14]
Generated Node #0,0,1: 28:[67, 14] Operation: 17-3=14
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 28:[3, 50], Operations: ['83-16=67', '67-17=50']
Exploring Operation: 3+50=53, Resulting Numbers: [53]
53,28 unequal: No Solution
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,28 unequal: No Solution
No 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: 28:[67, 14], Operations: ['83-16=67', '17-3=14']
Exploring Operation: 67+14=81, Resulting Numbers: [81]
81,28 unequal: No Solution
Exploring Operation: 67-14=53, Resulting Numbers: [53]
53,28 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 |
[
39,
22,
64,
97
] | 94 | [
"39+22=61",
"97-64=33",
"61+33=94"
] | Current State: 94:[39, 22, 64, 97], Operations: []
Exploring Operation: 39+22=61, Resulting Numbers: [64, 97, 61]
Generated Node #2: [64, 97, 61] from Operation: 39+22=61
Current State: 94:[64, 97, 61], Operations: ['39+22=61']
Exploring Operation: 97-64=33, Resulting Numbers: [61, 33]
Generated Node #3: [61, 33] from Operation: 97-64=33
Current State: 94:[61, 33], Operations: ['39+22=61', '97-64=33']
Exploring Operation: 61+33=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[39, 22, 64, 97], Operations: []
Exploring Operation: 22+64=86, Resulting Numbers: [39, 97, 86]
Generated Node #0,0: 94:[39, 97, 86] Operation: 22+64=86
Exploring Operation: 39+64=103, Resulting Numbers: [22, 97, 103]
Generated Node #0,1: 94:[22, 97, 103] Operation: 39+64=103
Exploring Operation: 64-22=42, Resulting Numbers: [39, 97, 42]
Generated Node #0,2: 94:[39, 97, 42] Operation: 64-22=42
Moving to Node #0,2
Current State: 94:[39, 97, 42], Operations: ['64-22=42']
Exploring Operation: 42-39=3, Resulting Numbers: [97, 3]
Generated Node #0,2,0: 94:[97, 3] Operation: 42-39=3
Exploring Operation: 97-39=58, Resulting Numbers: [42, 58]
Generated Node #0,2,1: 94:[42, 58] Operation: 97-39=58
Exploring Operation: 39+42=81, Resulting Numbers: [97, 81]
Generated Node #0,2,2: 94:[97, 81] Operation: 39+42=81
Moving to Node #0,0
Current State: 94:[39, 97, 86], Operations: ['22+64=86']
Exploring Operation: 97-86=11, Resulting Numbers: [39, 11]
Generated Node #0,0,0: 94:[39, 11] Operation: 97-86=11
Exploring Operation: 86-39=47, Resulting Numbers: [97, 47]
Generated Node #0,0,1: 94:[97, 47] Operation: 86-39=47
Exploring Operation: 97-39=58, Resulting Numbers: [86, 58]
Generated Node #0,0,2: 94:[86, 58] Operation: 97-39=58
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 94:[97, 47], Operations: ['22+64=86', '86-39=47']
Exploring Operation: 97-47=50, Resulting Numbers: [50]
50,94 unequal: No Solution
Exploring Operation: 97+47=144, Resulting Numbers: [144]
144,94 unequal: No Solution
Exploring Operation: 97*47=4559, Resulting Numbers: [4559]
4559,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 94:[39, 11], Operations: ['22+64=86', '97-86=11']
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,94 unequal: No Solution
Exploring Operation: 39+11=50, Resulting Numbers: [50]
50,94 unequal: No Solution
Exploring Operation: 39*11=429, Resulting Numbers: [429]
429,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 94:[86, 58], Operations: ['22+64=86', '97-39=58']
Exploring Operation: 86+58=144, Resulting Numbers: [144]
144,94 unequal: No Solution
Exploring Operation: 86-58=28, Resulting Numbers: [28]
28,94 unequal: No Solution
Exploring Operation: 86*58=4988, Resulting Numbers: [4988]
4988,94 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: 94:[22, 97, 103], Operations: ['39+64=103']
Exploring Operation: 103-22=81, Resulting Numbers: [97, 81]
Generated Node #0,1,0: 94:[97, 81] Operation: 103-22=81
Exploring Operation: 103-97=6, Resulting Numbers: [22, 6]
Generated Node #0,1,1: 94:[22, 6] Operation: 103-97=6
Exploring Operation: 97-22=75, Resulting Numbers: [103, 75]
Generated Node #0,1,2: 94:[103, 75] Operation: 97-22=75
Moving to Node #0,2,0
Current State: 94:[97, 3], Operations: ['64-22=42', '42-39=3']
Exploring Operation: 97*3=291, Resulting Numbers: [291]
291,94 unequal: No Solution
Exploring Operation: 97+3=100, Resulting Numbers: [100]
100,94 unequal: No Solution
Exploring Operation: 97-3=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[39, 22, 64, 97], Operations: []
Exploring Operation: 64-22=42, Resulting Numbers: [39, 97, 42]
Generated Node #0,2: 94:[39, 97, 42] Operation: 64-22=42
Moving to Node #0,2
Current State: 94:[39, 97, 42], Operations: ['64-22=42']
Exploring Operation: 42-39=3, Resulting Numbers: [97, 3]
Generated Node #0,2,0: 94:[97, 3] Operation: 42-39=3
Moving to Node #0,2,0
Current State: 94:[97, 3], Operations: ['64-22=42', '42-39=3']
Exploring Operation: 97-3=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 0.975694 | hs_3 | mult_heuristic |
[
6,
5,
18,
62
] | 58 | [
"6+18=24",
"5*24=120",
"120-62=58"
] | Current State: 58:[6, 5, 18, 62], Operations: []
Exploring Operation: 6+18=24, Resulting Numbers: [5, 62, 24]
Generated Node #2: [5, 62, 24] from Operation: 6+18=24
Current State: 58:[5, 62, 24], Operations: ['6+18=24']
Exploring Operation: 5*24=120, Resulting Numbers: [62, 120]
Generated Node #3: [62, 120] from Operation: 5*24=120
Current State: 58:[62, 120], Operations: ['6+18=24', '5*24=120']
Exploring Operation: 120-62=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[6, 5, 18, 62], Operations: []
Exploring Operation: 18/6=3, Resulting Numbers: [5, 62, 3]
Generated Node #0,0: 58:[5, 62, 3] Operation: 18/6=3
Exploring Operation: 6-5=1, Resulting Numbers: [18, 62, 1]
Generated Node #0,1: 58:[18, 62, 1] Operation: 6-5=1
Exploring Operation: 6+18=24, Resulting Numbers: [5, 62, 24]
Generated Node #0,2: 58:[5, 62, 24] Operation: 6+18=24
Exploring Operation: 6*5=30, Resulting Numbers: [18, 62, 30]
Generated Node #0,3: 58:[18, 62, 30] Operation: 6*5=30
Exploring Operation: 5+18=23, Resulting Numbers: [6, 62, 23]
Generated Node #0,4: 58:[6, 62, 23] Operation: 5+18=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[5, 62, 3], Operations: ['18/6=3']
Exploring Operation: 5+62=67, Resulting Numbers: [3, 67]
Generated Node #0,0,0: 58:[3, 67] Operation: 5+62=67
Exploring Operation: 5-3=2, Resulting Numbers: [62, 2]
Generated Node #0,0,1: 58:[62, 2] Operation: 5-3=2
Exploring Operation: 62-3=59, Resulting Numbers: [5, 59]
Generated Node #0,0,2: 58:[5, 59] Operation: 62-3=59
Exploring Operation: 62-5=57, Resulting Numbers: [3, 57]
Generated Node #0,0,3: 58:[3, 57] Operation: 62-5=57
Exploring Operation: 5+3=8, Resulting Numbers: [62, 8]
Generated Node #0,0,4: 58:[62, 8] Operation: 5+3=8
Moving to Node #0,0,3
Current State: 58:[3, 57], Operations: ['18/6=3', '62-5=57']
Exploring Operation: 3+57=60, Resulting Numbers: [60]
60,58 unequal: No Solution
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,58 unequal: No Solution
Exploring Operation: 3*57=171, Resulting Numbers: [171]
171,58 unequal: No Solution
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,58 unequal: No Solution
Moving to Node #0,0,2
Current State: 58:[5, 59], Operations: ['18/6=3', '62-3=59']
Exploring Operation: 5+59=64, Resulting Numbers: [64]
64,58 unequal: No Solution
Exploring Operation: 59-5=54, Resulting Numbers: [54]
54,58 unequal: No Solution
Exploring Operation: 5*59=295, Resulting Numbers: [295]
295,58 unequal: No Solution
Moving to Node #0,0,1
Current State: 58:[62, 2], Operations: ['18/6=3', '5-3=2']
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,58 unequal: No Solution
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,58 unequal: No Solution
Exploring Operation: 62+2=64, Resulting Numbers: [64]
64,58 unequal: No Solution
Exploring Operation: 62*2=124, Resulting Numbers: [124]
124,58 unequal: No Solution
Moving to Node #0,0,0
Current State: 58:[3, 67], Operations: ['18/6=3', '5+62=67']
Exploring Operation: 67-3=64, Resulting Numbers: [64]
64,58 unequal: No Solution
Exploring Operation: 3*67=201, Resulting Numbers: [201]
201,58 unequal: No Solution
Exploring Operation: 3+67=70, Resulting Numbers: [70]
70,58 unequal: No Solution
Moving to Node #0,0,4
Current State: 58:[62, 8], Operations: ['18/6=3', '5+3=8']
Exploring Operation: 62*8=496, Resulting Numbers: [496]
496,58 unequal: No Solution
Exploring Operation: 62+8=70, Resulting Numbers: [70]
70,58 unequal: No Solution
Exploring Operation: 62-8=54, Resulting Numbers: [54]
54,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 58:[5, 62, 24], Operations: ['6+18=24']
Exploring Operation: 5+24=29, Resulting Numbers: [62, 29]
Generated Node #0,2,0: 58:[62, 29] Operation: 5+24=29
Exploring Operation: 5+62=67, Resulting Numbers: [24, 67]
Generated Node #0,2,1: 58:[24, 67] Operation: 5+62=67
Exploring Operation: 62-24=38, Resulting Numbers: [5, 38]
Generated Node #0,2,2: 58:[5, 38] Operation: 62-24=38
Exploring Operation: 24-5=19, Resulting Numbers: [62, 19]
Generated Node #0,2,3: 58:[62, 19] Operation: 24-5=19
Exploring Operation: 62-5=57, Resulting Numbers: [24, 57]
Generated Node #0,2,4: 58:[24, 57] Operation: 62-5=57
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 58:[62, 29], Operations: ['6+18=24', '5+24=29']
Exploring Operation: 62-29=33, Resulting Numbers: [33]
33,58 unequal: No Solution
Exploring Operation: 62+29=91, Resulting Numbers: [91]
91,58 unequal: No Solution
Exploring Operation: 62*29=1798, Resulting Numbers: [1798]
1798,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 58:[24, 57], Operations: ['6+18=24', '62-5=57']
Exploring Operation: 57-24=33, Resulting Numbers: [33]
33,58 unequal: No Solution
Exploring Operation: 24*57=1368, Resulting Numbers: [1368]
1368,58 unequal: No Solution
Exploring Operation: 24+57=81, Resulting Numbers: [81]
81,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 58:[5, 38], Operations: ['6+18=24', '62-24=38']
Exploring Operation: 5*38=190, Resulting Numbers: [190]
190,58 unequal: No Solution
Exploring Operation: 5+38=43, Resulting Numbers: [43]
43,58 unequal: No Solution
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 58:[24, 67], Operations: ['6+18=24', '5+62=67']
Exploring Operation: 24+67=91, Resulting Numbers: [91]
91,58 unequal: No Solution
Exploring Operation: 24*67=1608, Resulting Numbers: [1608]
1608,58 unequal: No Solution
Exploring Operation: 67-24=43, Resulting Numbers: [43]
43,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 58:[62, 19], Operations: ['6+18=24', '24-5=19']
Exploring Operation: 62+19=81, Resulting Numbers: [81]
81,58 unequal: No Solution
Exploring Operation: 62*19=1178, Resulting Numbers: [1178]
1178,58 unequal: No Solution
Exploring Operation: 62-19=43, Resulting Numbers: [43]
43,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 58:[6, 62, 23], Operations: ['5+18=23']
Exploring Operation: 23-6=17, Resulting Numbers: [62, 17]
Generated Node #0,4,0: 58:[62, 17] Operation: 23-6=17
Exploring Operation: 62-6=56, Resulting Numbers: [23, 56]
Generated Node #0,4,1: 58:[23, 56] Operation: 62-6=56
Exploring Operation: 6+62=68, Resulting Numbers: [23, 68]
Generated Node #0,4,2: 58:[23, 68] Operation: 6+62=68
Exploring Operation: 62-23=39, Resulting Numbers: [6, 39]
Generated Node #0,4,3: 58:[6, 39] Operation: 62-23=39
Exploring Operation: 6+23=29, Resulting Numbers: [62, 29]
Generated Node #0,4,4: 58:[62, 29] Operation: 6+23=29
Moving to Node #0,4,4
Current State: 58:[62, 29], Operations: ['5+18=23', '6+23=29']
Exploring Operation: 62-29=33, Resulting Numbers: [33]
33,58 unequal: No Solution
Exploring Operation: 62+29=91, Resulting Numbers: [91]
91,58 unequal: No Solution
Exploring Operation: 62*29=1798, Resulting Numbers: [1798]
1798,58 unequal: No Solution
Moving to Node #0,4,1
Current State: 58:[23, 56], Operations: ['5+18=23', '62-6=56']
Exploring Operation: 56-23=33, Resulting Numbers: [33]
33,58 unequal: No Solution
Exploring Operation: 23*56=1288, Resulting Numbers: [1288]
1288,58 unequal: No Solution
Exploring Operation: 23+56=79, Resulting Numbers: [79]
79,58 unequal: No Solution
Moving to Node #0,4,3
Current State: 58:[6, 39], Operations: ['5+18=23', '62-23=39']
Exploring Operation: 6+39=45, Resulting Numbers: [45]
45,58 unequal: No Solution
Exploring Operation: 6*39=234, Resulting Numbers: [234]
234,58 unequal: No Solution
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,58 unequal: No Solution
Moving to Node #0,4,0
Current State: 58:[62, 17], Operations: ['5+18=23', '23-6=17']
Exploring Operation: 62-17=45, Resulting Numbers: [45]
45,58 unequal: No Solution
Exploring Operation: 62*17=1054, Resulting Numbers: [1054]
1054,58 unequal: No Solution
Exploring Operation: 62+17=79, Resulting Numbers: [79]
79,58 unequal: No Solution
Moving to Node #0,4,2
Current State: 58:[23, 68], Operations: ['5+18=23', '6+62=68']
Exploring Operation: 23*68=1564, Resulting Numbers: [1564]
1564,58 unequal: No Solution
Exploring Operation: 23+68=91, Resulting Numbers: [91]
91,58 unequal: No Solution
Exploring Operation: 68-23=45, Resulting Numbers: [45]
45,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[18, 62, 1], Operations: ['6-5=1']
Exploring Operation: 62-18=44, Resulting Numbers: [1, 44]
Generated Node #0,1,0: 58:[1, 44] Operation: 62-18=44
Exploring Operation: 62-1=61, Resulting Numbers: [18, 61]
Generated Node #0,1,1: 58:[18, 61] Operation: 62-1=61
Exploring Operation: 18*1=18, Resulting Numbers: [62, 18]
Generated Node #0,1,2: 58:[62, 18] Operation: 18*1=18
Exploring Operation: 18+1=19, Resulting Numbers: [62, 19]
Generated Node #0,1,3: 58:[62, 19] Operation: 18+1=19
Exploring Operation: 18/1=18, Resulting Numbers: [62, 18]
Generated Node #0,1,4: 58:[62, 18] Operation: 18/1=18
Moving to Node #0,1,1
Current State: 58:[18, 61], Operations: ['6-5=1', '62-1=61']
Exploring Operation: 18+61=79, Resulting Numbers: [79]
79,58 unequal: No Solution
Exploring Operation: 18*61=1098, Resulting Numbers: [1098]
1098,58 unequal: No Solution
Exploring Operation: 61-18=43, Resulting Numbers: [43]
43,58 unequal: No Solution
Moving to Node #0,1,3
Current State: 58:[62, 19], Operations: ['6-5=1', '18+1=19']
Exploring Operation: 62*19=1178, Resulting Numbers: [1178]
1178,58 unequal: No Solution
Exploring Operation: 62+19=81, Resulting Numbers: [81]
81,58 unequal: No Solution
Exploring Operation: 62-19=43, Resulting Numbers: [43]
43,58 unequal: No Solution
Moving to Node #0,1,0
Current State: 58:[1, 44], Operations: ['6-5=1', '62-18=44']
Exploring Operation: 1*44=44, Resulting Numbers: [44]
44,58 unequal: No Solution
Exploring Operation: 1+44=45, Resulting Numbers: [45]
45,58 unequal: No Solution
Exploring Operation: 44/1=44, Resulting Numbers: [44]
44,58 unequal: No Solution
Exploring Operation: 44-1=43, Resulting Numbers: [43]
43,58 unequal: No Solution
Moving to Node #0,1,2
Current State: 58:[62, 18], Operations: ['6-5=1', '18*1=18']
Exploring Operation: 62-18=44, Resulting Numbers: [44]
44,58 unequal: No Solution
Exploring Operation: 62*18=1116, Resulting Numbers: [1116]
1116,58 unequal: No Solution
Exploring Operation: 62+18=80, Resulting Numbers: [80]
80,58 unequal: No Solution
Moving to Node #0,1,4
Current State: 58:[62, 18], Operations: ['6-5=1', '18/1=18']
Exploring Operation: 62+18=80, Resulting Numbers: [80]
80,58 unequal: No Solution
Exploring Operation: 62*18=1116, Resulting Numbers: [1116]
1116,58 unequal: No Solution
Exploring Operation: 62-18=44, Resulting Numbers: [44]
44,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 58:[18, 62, 30], Operations: ['6*5=30']
Exploring Operation: 30-18=12, Resulting Numbers: [62, 12]
Generated Node #0,3,0: 58:[62, 12] Operation: 30-18=12
Exploring Operation: 18+62=80, Resulting Numbers: [30, 80]
Generated Node #0,3,1: 58:[30, 80] Operation: 18+62=80
Exploring Operation: 62-18=44, Resulting Numbers: [30, 44]
Generated Node #0,3,2: 58:[30, 44] Operation: 62-18=44
Exploring Operation: 62-30=32, Resulting Numbers: [18, 32]
Generated Node #0,3,3: 58:[18, 32] Operation: 62-30=32
Exploring Operation: 18+30=48, Resulting Numbers: [62, 48]
Generated Node #0,3,4: 58:[62, 48] Operation: 18+30=48
Moving to Node #0,3,0
Current State: 58:[62, 12], Operations: ['6*5=30', '30-18=12']
Exploring Operation: 62*12=744, Resulting Numbers: [744]
744,58 unequal: No Solution
Exploring Operation: 62+12=74, Resulting Numbers: [74]
74,58 unequal: No Solution
Exploring Operation: 62-12=50, Resulting Numbers: [50]
50,58 unequal: No Solution
Moving to Node #0,3,4
Current State: 58:[62, 48], Operations: ['6*5=30', '18+30=48']
Exploring Operation: 62*48=2976, Resulting Numbers: [2976]
2976,58 unequal: No Solution
Exploring Operation: 62-48=14, Resulting Numbers: [14]
14,58 unequal: No Solution
Exploring Operation: 62+48=110, Resulting Numbers: [110]
110,58 unequal: No Solution
Moving to Node #0,3,3
Current State: 58:[18, 32], Operations: ['6*5=30', '62-30=32']
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,58 unequal: No Solution
Exploring Operation: 18*32=576, Resulting Numbers: [576]
576,58 unequal: No Solution
Exploring Operation: 18+32=50, Resulting Numbers: [50]
50,58 unequal: No Solution
Moving to Node #0,3,2
Current State: 58:[30, 44], Operations: ['6*5=30', '62-18=44']
Exploring Operation: 44-30=14, Resulting Numbers: [14]
14,58 unequal: No Solution
Exploring Operation: 30+44=74, Resulting Numbers: [74]
74,58 unequal: No Solution
Exploring Operation: 30*44=1320, Resulting Numbers: [1320]
1320,58 unequal: No Solution
Moving to Node #0,3,1
Current State: 58:[30, 80], Operations: ['6*5=30', '18+62=80']
Exploring Operation: 80-30=50, Resulting Numbers: [50]
50,58 unequal: No Solution
Exploring Operation: 30+80=110, Resulting Numbers: [110]
110,58 unequal: No Solution
Exploring Operation: 30*80=2400, Resulting Numbers: [2400]
2400,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
79,
91,
20,
19
] | 51 | [
"91-79=12",
"20+19=39",
"12+39=51"
] | Current State: 51:[79, 91, 20, 19], Operations: []
Exploring Operation: 91-79=12, Resulting Numbers: [20, 19, 12]
Generated Node #2: [20, 19, 12] from Operation: 91-79=12
Current State: 51:[20, 19, 12], Operations: ['91-79=12']
Exploring Operation: 20+19=39, Resulting Numbers: [12, 39]
Generated Node #3: [12, 39] from Operation: 20+19=39
Current State: 51:[12, 39], Operations: ['91-79=12', '20+19=39']
Exploring Operation: 12+39=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[79, 91, 20, 19], Operations: []
Exploring Operation: 91-79=12, Resulting Numbers: [20, 19, 12]
Generated Node #0,0: 51:[20, 19, 12] Operation: 91-79=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[20, 19, 12], Operations: ['91-79=12']
Exploring Operation: 20-19=1, Resulting Numbers: [12, 1]
Generated Node #0,0,0: 51:[12, 1] Operation: 20-19=1
Moving to Node #0,0,0
Current State: 51:[12, 1], Operations: ['91-79=12', '20-19=1']
Exploring Operation: 12+1=13, Resulting Numbers: [13]
13,51 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 |
[
12,
57,
37,
45
] | 29 | [
"37*45=1665",
"1665-12=1653",
"1653/57=29"
] | Current State: 29:[12, 57, 37, 45], Operations: []
Exploring Operation: 37*45=1665, Resulting Numbers: [12, 57, 1665]
Generated Node #2: [12, 57, 1665] from Operation: 37*45=1665
Current State: 29:[12, 57, 1665], Operations: ['37*45=1665']
Exploring Operation: 1665-12=1653, Resulting Numbers: [57, 1653]
Generated Node #3: [57, 1653] from Operation: 1665-12=1653
Current State: 29:[57, 1653], Operations: ['37*45=1665', '1665-12=1653']
Exploring Operation: 1653/57=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[12, 57, 37, 45], Operations: []
Exploring Operation: 57-12=45, Resulting Numbers: [37, 45, 45]
Generated Node #0,0: 29:[37, 45, 45] Operation: 57-12=45
Exploring Operation: 57-37=20, Resulting Numbers: [12, 45, 20]
Generated Node #0,1: 29:[12, 45, 20] Operation: 57-37=20
Exploring Operation: 45-12=33, Resulting Numbers: [57, 37, 33]
Generated Node #0,2: 29:[57, 37, 33] Operation: 45-12=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[37, 45, 45], Operations: ['57-12=45']
Exploring Operation: 45/45=1, Resulting Numbers: [37, 1]
Generated Node #0,0,0: 29:[37, 1] Operation: 45/45=1
Exploring Operation: 45-37=8, Resulting Numbers: [45, 8]
Generated Node #0,0,1: 29:[45, 8] Operation: 45-37=8
Exploring Operation: 45-37=8, Resulting Numbers: [45, 8]
Generated Node #0,0,2: 29:[45, 8] Operation: 45-37=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 29:[37, 1], Operations: ['57-12=45', '45/45=1']
Exploring Operation: 37*1=37, Resulting Numbers: [37]
37,29 unequal: No Solution
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,29 unequal: No Solution
Exploring Operation: 37/1=37, Resulting Numbers: [37]
37,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,0,1
Current State: 29:[45, 8], Operations: ['57-12=45', '45-37=8']
Exploring Operation: 45-8=37, Resulting Numbers: [37]
37,29 unequal: No Solution
Exploring Operation: 45+8=53, Resulting Numbers: [53]
53,29 unequal: No Solution
Exploring Operation: 45*8=360, Resulting Numbers: [360]
360,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,0,2
Current State: 29:[45, 8], Operations: ['57-12=45', '45-37=8']
Exploring Operation: 45-8=37, Resulting Numbers: [37]
37,29 unequal: No Solution
Exploring Operation: 45+8=53, Resulting Numbers: [53]
53,29 unequal: No Solution
Exploring Operation: 45*8=360, Resulting Numbers: [360]
360,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,2
Current State: 29:[57, 37, 33], Operations: ['45-12=33']
Exploring Operation: 57-33=24, Resulting Numbers: [37, 24]
Generated Node #0,2,0: 29:[37, 24] Operation: 57-33=24
Exploring Operation: 37-33=4, Resulting Numbers: [57, 4]
Generated Node #0,2,1: 29:[57, 4] Operation: 37-33=4
Exploring Operation: 57-37=20, Resulting Numbers: [33, 20]
Generated Node #0,2,2: 29:[33, 20] Operation: 57-37=20
Moving to Node #0,2,0
Current State: 29:[37, 24], Operations: ['45-12=33', '57-33=24']
Exploring Operation: 37-24=13, Resulting Numbers: [13]
13,29 unequal: No Solution
Exploring Operation: 37+24=61, Resulting Numbers: [61]
61,29 unequal: No Solution
Exploring Operation: 37*24=888, Resulting Numbers: [888]
888,29 unequal: No Solution
Moving to Node #0,2,2
Current State: 29:[33, 20], Operations: ['45-12=33', '57-37=20']
Exploring Operation: 33+20=53, Resulting Numbers: [53]
53,29 unequal: No Solution
Exploring Operation: 33*20=660, Resulting Numbers: [660]
660,29 unequal: No Solution
Exploring Operation: 33-20=13, Resulting Numbers: [13]
13,29 unequal: No Solution
Moving to Node #0,2,1
Current State: 29:[57, 4], Operations: ['45-12=33', '37-33=4']
Exploring Operation: 57+4=61, Resulting Numbers: [61]
61,29 unequal: No Solution
Exploring Operation: 57*4=228, Resulting Numbers: [228]
228,29 unequal: No Solution
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 29:[12, 45, 20], Operations: ['57-37=20']
Exploring Operation: 45-20=25, Resulting Numbers: [12, 25]
Generated Node #0,1,0: 29:[12, 25] Operation: 45-20=25
Exploring Operation: 45-12=33, Resulting Numbers: [20, 33]
Generated Node #0,1,1: 29:[20, 33] Operation: 45-12=33
Exploring Operation: 12+20=32, Resulting Numbers: [45, 32]
Generated Node #0,1,2: 29:[45, 32] Operation: 12+20=32
Moving to Node #0,1,1
Current State: 29:[20, 33], Operations: ['57-37=20', '45-12=33']
Exploring Operation: 33-20=13, Resulting Numbers: [13]
13,29 unequal: No Solution
Exploring Operation: 20*33=660, Resulting Numbers: [660]
660,29 unequal: No Solution
Exploring Operation: 20+33=53, Resulting Numbers: [53]
53,29 unequal: No Solution
Moving to Node #0,1,2
Current State: 29:[45, 32], Operations: ['57-37=20', '12+20=32']
Exploring Operation: 45+32=77, Resulting Numbers: [77]
77,29 unequal: No Solution
Exploring Operation: 45*32=1440, Resulting Numbers: [1440]
1440,29 unequal: No Solution
Exploring Operation: 45-32=13, Resulting Numbers: [13]
13,29 unequal: No Solution
Moving to Node #0,1,0
Current State: 29:[12, 25], Operations: ['57-37=20', '45-20=25']
Exploring Operation: 12+25=37, Resulting Numbers: [37]
37,29 unequal: No Solution
Exploring Operation: 12*25=300, Resulting Numbers: [300]
300,29 unequal: No Solution
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,29 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 |
[
22,
1,
98,
24
] | 51 | [
"22+1=23",
"98-24=74",
"74-23=51"
] | Current State: 51:[22, 1, 98, 24], Operations: []
Exploring Operation: 22+1=23, Resulting Numbers: [98, 24, 23]
Generated Node #2: [98, 24, 23] from Operation: 22+1=23
Current State: 51:[98, 24, 23], Operations: ['22+1=23']
Exploring Operation: 98-24=74, Resulting Numbers: [23, 74]
Generated Node #3: [23, 74] from Operation: 98-24=74
Current State: 51:[23, 74], Operations: ['22+1=23', '98-24=74']
Exploring Operation: 74-23=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[22, 1, 98, 24], Operations: []
Exploring Operation: 98-22=76, Resulting Numbers: [1, 24, 76]
Generated Node #0,0: 51:[1, 24, 76] Operation: 98-22=76
Exploring Operation: 98-24=74, Resulting Numbers: [22, 1, 74]
Generated Node #0,1: 51:[22, 1, 74] Operation: 98-24=74
Moving to Node #0,1
Current State: 51:[22, 1, 74], Operations: ['98-24=74']
Exploring Operation: 74-22=52, Resulting Numbers: [1, 52]
Generated Node #0,1,0: 51:[1, 52] Operation: 74-22=52
Exploring Operation: 22-1=21, Resulting Numbers: [74, 21]
Generated Node #0,1,1: 51:[74, 21] Operation: 22-1=21
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 51:[1, 52], Operations: ['98-24=74', '74-22=52']
Exploring Operation: 1*52=52, Resulting Numbers: [52]
52,51 unequal: No Solution
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[22, 1, 98, 24], Operations: []
Exploring Operation: 98-24=74, Resulting Numbers: [22, 1, 74]
Generated Node #0,1: 51:[22, 1, 74] Operation: 98-24=74
Moving to Node #0,1
Current State: 51:[22, 1, 74], Operations: ['98-24=74']
Exploring Operation: 74-22=52, Resulting Numbers: [1, 52]
Generated Node #0,1,0: 51:[1, 52] Operation: 74-22=52
Moving to Node #0,1,0
Current State: 51:[1, 52], Operations: ['98-24=74', '74-22=52']
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
71,
56,
32,
7
] | 31 | [
"71-32=39",
"56/7=8",
"39-8=31"
] | Current State: 31:[71, 56, 32, 7], Operations: []
Exploring Operation: 71-32=39, Resulting Numbers: [56, 7, 39]
Generated Node #2: [56, 7, 39] from Operation: 71-32=39
Current State: 31:[56, 7, 39], Operations: ['71-32=39']
Exploring Operation: 56/7=8, Resulting Numbers: [39, 8]
Generated Node #3: [39, 8] from Operation: 56/7=8
Current State: 31:[39, 8], Operations: ['71-32=39', '56/7=8']
Exploring Operation: 39-8=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[71, 56, 32, 7], Operations: []
Exploring Operation: 71-32=39, Resulting Numbers: [56, 7, 39]
Generated Node #0,0: 31:[56, 7, 39] Operation: 71-32=39
Exploring Operation: 71-56=15, Resulting Numbers: [32, 7, 15]
Generated Node #0,1: 31:[32, 7, 15] Operation: 71-56=15
Exploring Operation: 71-7=64, Resulting Numbers: [56, 32, 64]
Generated Node #0,2: 31:[56, 32, 64] Operation: 71-7=64
Start Sub Search at level 1: Moving to Node #0,1
Current State: 31:[32, 7, 15], Operations: ['71-56=15']
Exploring Operation: 32+7=39, Resulting Numbers: [15, 39]
Generated Node #0,1,0: 31:[15, 39] Operation: 32+7=39
Exploring Operation: 32-7=25, Resulting Numbers: [15, 25]
Generated Node #0,1,1: 31:[15, 25] Operation: 32-7=25
Exploring Operation: 7+15=22, Resulting Numbers: [32, 22]
Generated Node #0,1,2: 31:[32, 22] Operation: 7+15=22
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 31:[32, 22], Operations: ['71-56=15', '7+15=22']
Exploring Operation: 32+22=54, Resulting Numbers: [54]
54,31 unequal: No Solution
Exploring Operation: 32*22=704, Resulting Numbers: [704]
704,31 unequal: No Solution
Exploring Operation: 32-22=10, Resulting Numbers: [10]
10,31 unequal: No Solution
No 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: 31:[15, 25], Operations: ['71-56=15', '32-7=25']
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,31 unequal: No Solution
Exploring Operation: 15+25=40, Resulting Numbers: [40]
40,31 unequal: No Solution
Exploring Operation: 15*25=375, Resulting Numbers: [375]
375,31 unequal: No Solution
No 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: 31:[15, 39], Operations: ['71-56=15', '32+7=39']
Exploring Operation: 15*39=585, Resulting Numbers: [585]
585,31 unequal: No Solution
Exploring Operation: 39-15=24, Resulting Numbers: [24]
24,31 unequal: No Solution
Exploring Operation: 15+39=54, Resulting Numbers: [54]
54,31 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: 31:[56, 7, 39], Operations: ['71-32=39']
Exploring Operation: 56-7=49, Resulting Numbers: [39, 49]
Generated Node #0,0,0: 31:[39, 49] Operation: 56-7=49
Exploring Operation: 39-7=32, Resulting Numbers: [56, 32]
Generated Node #0,0,1: 31:[56, 32] Operation: 39-7=32
Exploring Operation: 56/7=8, Resulting Numbers: [39, 8]
Generated Node #0,0,2: 31:[39, 8] Operation: 56/7=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 31:[39, 49], Operations: ['71-32=39', '56-7=49']
Exploring Operation: 39+49=88, Resulting Numbers: [88]
88,31 unequal: No Solution
Exploring Operation: 49-39=10, Resulting Numbers: [10]
10,31 unequal: No Solution
Exploring Operation: 39*49=1911, Resulting Numbers: [1911]
1911,31 unequal: No Solution
No 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: 31:[56, 32], Operations: ['71-32=39', '39-7=32']
Exploring Operation: 56+32=88, Resulting Numbers: [88]
88,31 unequal: No Solution
Exploring Operation: 56-32=24, Resulting Numbers: [24]
24,31 unequal: No Solution
Exploring Operation: 56*32=1792, Resulting Numbers: [1792]
1792,31 unequal: No Solution
No 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: 31:[39, 8], Operations: ['71-32=39', '56/7=8']
Exploring Operation: 39*8=312, Resulting Numbers: [312]
312,31 unequal: No Solution
Exploring Operation: 39-8=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[71, 56, 32, 7], Operations: []
Exploring Operation: 71-32=39, Resulting Numbers: [56, 7, 39]
Generated Node #0,0: 31:[56, 7, 39] Operation: 71-32=39
Moving to Node #0,0
Current State: 31:[56, 7, 39], Operations: ['71-32=39']
Exploring Operation: 56/7=8, Resulting Numbers: [39, 8]
Generated Node #0,0,2: 31:[39, 8] Operation: 56/7=8
Moving to Node #0,0,2
Current State: 31:[39, 8], Operations: ['71-32=39', '56/7=8']
Exploring Operation: 39-8=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.973958 | hs_3 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.