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 |
|---|---|---|---|---|---|---|---|---|
[
20,
58,
98,
5
] | 39 | [
"20/5=4",
"58+98=156",
"156/4=39"
] | Current State: 39:[20, 58, 98, 5], Operations: []
Exploring Operation: 20/5=4, Resulting Numbers: [58, 98, 4]
Generated Node #2: [58, 98, 4] from Operation: 20/5=4
Current State: 39:[58, 98, 4], Operations: ['20/5=4']
Exploring Operation: 58+98=156, Resulting Numbers: [4, 156]
Generated Node #3: [4, 156] from Operation: 58+98=156
Current State: 39:[4, 156], Operations: ['20/5=4', '58+98=156']
Exploring Operation: 156/4=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[20, 58, 98, 5], Operations: []
Exploring Operation: 98-20=78, Resulting Numbers: [58, 5, 78]
Generated Node #0,0: 39:[58, 5, 78] Operation: 98-20=78
Exploring Operation: 20/5=4, Resulting Numbers: [58, 98, 4]
Generated Node #0,1: 39:[58, 98, 4] Operation: 20/5=4
Exploring Operation: 58-20=38, Resulting Numbers: [98, 5, 38]
Generated Node #0,2: 39:[98, 5, 38] Operation: 58-20=38
Exploring Operation: 98-58=40, Resulting Numbers: [20, 5, 40]
Generated Node #0,3: 39:[20, 5, 40] Operation: 98-58=40
Moving to Node #0,3
Current State: 39:[20, 5, 40], Operations: ['98-58=40']
Exploring Operation: 40/20=2, Resulting Numbers: [5, 2]
Generated Node #0,3,0: 39:[5, 2] Operation: 40/20=2
Exploring Operation: 20/5=4, Resulting Numbers: [40, 4]
Generated Node #0,3,1: 39:[40, 4] Operation: 20/5=4
Exploring Operation: 20-5=15, Resulting Numbers: [40, 15]
Generated Node #0,3,2: 39:[40, 15] Operation: 20-5=15
Exploring Operation: 40-20=20, Resulting Numbers: [5, 20]
Generated Node #0,3,3: 39:[5, 20] Operation: 40-20=20
Moving to Node #0,0
Current State: 39:[58, 5, 78], Operations: ['98-20=78']
Exploring Operation: 78-5=73, Resulting Numbers: [58, 73]
Generated Node #0,0,0: 39:[58, 73] Operation: 78-5=73
Exploring Operation: 58-5=53, Resulting Numbers: [78, 53]
Generated Node #0,0,1: 39:[78, 53] Operation: 58-5=53
Exploring Operation: 58+5=63, Resulting Numbers: [78, 63]
Generated Node #0,0,2: 39:[78, 63] Operation: 58+5=63
Exploring Operation: 78-58=20, Resulting Numbers: [5, 20]
Generated Node #0,0,3: 39:[5, 20] Operation: 78-58=20
Moving to Node #0,2
Current State: 39:[98, 5, 38], Operations: ['58-20=38']
Exploring Operation: 98-38=60, Resulting Numbers: [5, 60]
Generated Node #0,2,0: 39:[5, 60] Operation: 98-38=60
Exploring Operation: 5+38=43, Resulting Numbers: [98, 43]
Generated Node #0,2,1: 39:[98, 43] Operation: 5+38=43
Exploring Operation: 98+5=103, Resulting Numbers: [38, 103]
Generated Node #0,2,2: 39:[38, 103] Operation: 98+5=103
Exploring Operation: 98-5=93, Resulting Numbers: [38, 93]
Generated Node #0,2,3: 39:[38, 93] Operation: 98-5=93
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 39:[5, 60], Operations: ['58-20=38', '98-38=60']
Exploring Operation: 60/5=12, Resulting Numbers: [12]
12,39 unequal: No Solution
Exploring Operation: 5+60=65, Resulting Numbers: [65]
65,39 unequal: No Solution
Exploring Operation: 5*60=300, Resulting Numbers: [300]
300,39 unequal: No Solution
Exploring Operation: 60-5=55, Resulting Numbers: [55]
55,39 unequal: No Solution
No 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: 39:[38, 93], Operations: ['58-20=38', '98-5=93']
Exploring Operation: 38*93=3534, Resulting Numbers: [3534]
3534,39 unequal: No Solution
Exploring Operation: 93-38=55, Resulting Numbers: [55]
55,39 unequal: No Solution
Exploring Operation: 38+93=131, Resulting Numbers: [131]
131,39 unequal: No Solution
No 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: 39:[98, 43], Operations: ['58-20=38', '5+38=43']
Exploring Operation: 98*43=4214, Resulting Numbers: [4214]
4214,39 unequal: No Solution
Exploring Operation: 98+43=141, Resulting Numbers: [141]
141,39 unequal: No Solution
Exploring Operation: 98-43=55, Resulting Numbers: [55]
55,39 unequal: No Solution
No 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: 39:[38, 103], Operations: ['58-20=38', '98+5=103']
Exploring Operation: 38+103=141, Resulting Numbers: [141]
141,39 unequal: No Solution
Exploring Operation: 103-38=65, Resulting Numbers: [65]
65,39 unequal: No Solution
Exploring Operation: 38*103=3914, Resulting Numbers: [3914]
3914,39 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: 39:[58, 98, 4], Operations: ['20/5=4']
Exploring Operation: 98-58=40, Resulting Numbers: [4, 40]
Generated Node #0,1,0: 39:[4, 40] Operation: 98-58=40
Exploring Operation: 98-4=94, Resulting Numbers: [58, 94]
Generated Node #0,1,1: 39:[58, 94] Operation: 98-4=94
Exploring Operation: 58-4=54, Resulting Numbers: [98, 54]
Generated Node #0,1,2: 39:[98, 54] Operation: 58-4=54
Exploring Operation: 58+4=62, Resulting Numbers: [98, 62]
Generated Node #0,1,3: 39:[98, 62] Operation: 58+4=62
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 39:[4, 40], Operations: ['20/5=4', '98-58=40']
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,39 unequal: No Solution
Exploring Operation: 4+40=44, Resulting Numbers: [44]
44,39 unequal: No Solution
Exploring Operation: 4*40=160, Resulting Numbers: [160]
160,39 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,39 unequal: No Solution
No solution 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: 39:[58, 94], Operations: ['20/5=4', '98-4=94']
Exploring Operation: 94-58=36, Resulting Numbers: [36]
36,39 unequal: No Solution
Exploring Operation: 58*94=5452, Resulting Numbers: [5452]
5452,39 unequal: No Solution
Exploring Operation: 58+94=152, Resulting Numbers: [152]
152,39 unequal: No Solution
No solution 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: 39:[98, 54], Operations: ['20/5=4', '58-4=54']
Exploring Operation: 98-54=44, Resulting Numbers: [44]
44,39 unequal: No Solution
Exploring Operation: 98*54=5292, Resulting Numbers: [5292]
5292,39 unequal: No Solution
Exploring Operation: 98+54=152, Resulting Numbers: [152]
152,39 unequal: No Solution
No solution 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: 39:[98, 62], Operations: ['20/5=4', '58+4=62']
Exploring Operation: 98*62=6076, Resulting Numbers: [6076]
6076,39 unequal: No Solution
Exploring Operation: 98+62=160, Resulting Numbers: [160]
160,39 unequal: No Solution
Exploring Operation: 98-62=36, Resulting Numbers: [36]
36,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,1
Current State: 39:[40, 4], Operations: ['98-58=40', '20/5=4']
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,39 unequal: No Solution
Exploring Operation: 40*4=160, Resulting Numbers: [160]
160,39 unequal: No Solution
Exploring Operation: 40+4=44, Resulting Numbers: [44]
44,39 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,39 unequal: No Solution
Moving to Node #0,3,2
Current State: 39:[40, 15], Operations: ['98-58=40', '20-5=15']
Exploring Operation: 40+15=55, Resulting Numbers: [55]
55,39 unequal: No Solution
Exploring Operation: 40-15=25, Resulting Numbers: [25]
25,39 unequal: No Solution
Exploring Operation: 40*15=600, Resulting Numbers: [600]
600,39 unequal: No Solution
Moving to Node #0,3,0
Current State: 39:[5, 2], Operations: ['98-58=40', '40/20=2']
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,39 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,39 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,39 unequal: No Solution
Moving to Node #0,0,3
Current State: 39:[5, 20], Operations: ['98-20=78', '78-58=20']
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,39 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,39 unequal: No Solution
Exploring Operation: 5*20=100, Resulting Numbers: [100]
100,39 unequal: No Solution
Moving to Node #0,3,3
Current State: 39:[5, 20], Operations: ['98-58=40', '40-20=20']
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 5*20=100, Resulting Numbers: [100]
100,39 unequal: No Solution
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,39 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,39 unequal: No Solution
Moving to Node #0,0,1
Current State: 39:[78, 53], Operations: ['98-20=78', '58-5=53']
Exploring Operation: 78+53=131, Resulting Numbers: [131]
131,39 unequal: No Solution
Exploring Operation: 78*53=4134, Resulting Numbers: [4134]
4134,39 unequal: No Solution
Exploring Operation: 78-53=25, Resulting Numbers: [25]
25,39 unequal: No Solution
Moving to Node #0,0,0
Current State: 39:[58, 73], Operations: ['98-20=78', '78-5=73']
Exploring Operation: 73-58=15, Resulting Numbers: [15]
15,39 unequal: No Solution
Exploring Operation: 58+73=131, Resulting Numbers: [131]
131,39 unequal: No Solution
Exploring Operation: 58*73=4234, Resulting Numbers: [4234]
4234,39 unequal: No Solution
Moving to Node #0,0,2
Current State: 39:[78, 63], Operations: ['98-20=78', '58+5=63']
Exploring Operation: 78*63=4914, Resulting Numbers: [4914]
4914,39 unequal: No Solution
Exploring Operation: 78-63=15, Resulting Numbers: [15]
15,39 unequal: No Solution
Exploring Operation: 78+63=141, Resulting Numbers: [141]
141,39 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
27,
8,
73,
16
] | 92 | [
"27+8=35",
"73-16=57",
"35+57=92"
] | Current State: 92:[27, 8, 73, 16], Operations: []
Exploring Operation: 27+8=35, Resulting Numbers: [73, 16, 35]
Generated Node #2: [73, 16, 35] from Operation: 27+8=35
Current State: 92:[73, 16, 35], Operations: ['27+8=35']
Exploring Operation: 73-16=57, Resulting Numbers: [35, 57]
Generated Node #3: [35, 57] from Operation: 73-16=57
Current State: 92:[35, 57], Operations: ['27+8=35', '73-16=57']
Exploring Operation: 35+57=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[27, 8, 73, 16], Operations: []
Exploring Operation: 27+73=100, Resulting Numbers: [8, 16, 100]
Generated Node #0,0: 92:[8, 16, 100] Operation: 27+73=100
Exploring Operation: 73-16=57, Resulting Numbers: [27, 8, 57]
Generated Node #0,1: 92:[27, 8, 57] Operation: 73-16=57
Exploring Operation: 73-27=46, Resulting Numbers: [8, 16, 46]
Generated Node #0,2: 92:[8, 16, 46] Operation: 73-27=46
Exploring Operation: 73+16=89, Resulting Numbers: [27, 8, 89]
Generated Node #0,3: 92:[27, 8, 89] Operation: 73+16=89
Exploring Operation: 8+73=81, Resulting Numbers: [27, 16, 81]
Generated Node #0,4: 92:[27, 16, 81] Operation: 8+73=81
Moving to Node #0,2
Current State: 92:[8, 16, 46], Operations: ['73-27=46']
Exploring Operation: 8+46=54, Resulting Numbers: [16, 54]
Generated Node #0,2,0: 92:[16, 54] Operation: 8+46=54
Exploring Operation: 16-8=8, Resulting Numbers: [46, 8]
Generated Node #0,2,1: 92:[46, 8] Operation: 16-8=8
Exploring Operation: 46-16=30, Resulting Numbers: [8, 30]
Generated Node #0,2,2: 92:[8, 30] Operation: 46-16=30
Exploring Operation: 8+16=24, Resulting Numbers: [46, 24]
Generated Node #0,2,3: 92:[46, 24] Operation: 8+16=24
Exploring Operation: 16/8=2, Resulting Numbers: [46, 2]
Generated Node #0,2,4: 92:[46, 2] Operation: 16/8=2
Moving to Node #0,3
Current State: 92:[27, 8, 89], Operations: ['73+16=89']
Exploring Operation: 27-8=19, Resulting Numbers: [89, 19]
Generated Node #0,3,0: 92:[89, 19] Operation: 27-8=19
Exploring Operation: 8+89=97, Resulting Numbers: [27, 97]
Generated Node #0,3,1: 92:[27, 97] Operation: 8+89=97
Exploring Operation: 89-27=62, Resulting Numbers: [8, 62]
Generated Node #0,3,2: 92:[8, 62] Operation: 89-27=62
Exploring Operation: 27+8=35, Resulting Numbers: [89, 35]
Generated Node #0,3,3: 92:[89, 35] Operation: 27+8=35
Exploring Operation: 89-8=81, Resulting Numbers: [27, 81]
Generated Node #0,3,4: 92:[27, 81] Operation: 89-8=81
Moving to Node #0,0
Current State: 92:[8, 16, 100], Operations: ['27+73=100']
Exploring Operation: 16-8=8, Resulting Numbers: [100, 8]
Generated Node #0,0,0: 92:[100, 8] Operation: 16-8=8
Exploring Operation: 100-16=84, Resulting Numbers: [8, 84]
Generated Node #0,0,1: 92:[8, 84] Operation: 100-16=84
Exploring Operation: 8+16=24, Resulting Numbers: [100, 24]
Generated Node #0,0,2: 92:[100, 24] Operation: 8+16=24
Exploring Operation: 100-8=92, Resulting Numbers: [16, 92]
Generated Node #0,0,3: 92:[16, 92] Operation: 100-8=92
Exploring Operation: 16/8=2, Resulting Numbers: [100, 2]
Generated Node #0,0,4: 92:[100, 2] Operation: 16/8=2
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 92:[16, 92], Operations: ['27+73=100', '100-8=92']
Exploring Operation: 16*92=1472, Resulting Numbers: [1472]
1472,92 unequal: No Solution
Exploring Operation: 16+92=108, Resulting Numbers: [108]
108,92 unequal: No Solution
Exploring Operation: 92-16=76, Resulting Numbers: [76]
76,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 92:[100, 2], Operations: ['27+73=100', '16/8=2']
Exploring Operation: 100+2=102, Resulting Numbers: [102]
102,92 unequal: No Solution
Exploring Operation: 100-2=98, Resulting Numbers: [98]
98,92 unequal: No Solution
Exploring Operation: 100/2=50, Resulting Numbers: [50]
50,92 unequal: No Solution
Exploring Operation: 100*2=200, Resulting Numbers: [200]
200,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 92:[100, 24], Operations: ['27+73=100', '8+16=24']
Exploring Operation: 100+24=124, Resulting Numbers: [124]
124,92 unequal: No Solution
Exploring Operation: 100-24=76, Resulting Numbers: [76]
76,92 unequal: No Solution
Exploring Operation: 100*24=2400, Resulting Numbers: [2400]
2400,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 92:[100, 8], Operations: ['27+73=100', '16-8=8']
Exploring Operation: 100+8=108, Resulting Numbers: [108]
108,92 unequal: No Solution
Exploring Operation: 100-8=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[27, 8, 73, 16], Operations: []
Exploring Operation: 27+73=100, Resulting Numbers: [8, 16, 100]
Generated Node #0,0: 92:[8, 16, 100] Operation: 27+73=100
Moving to Node #0,0
Current State: 92:[8, 16, 100], Operations: ['27+73=100']
Exploring Operation: 16-8=8, Resulting Numbers: [100, 8]
Generated Node #0,0,0: 92:[100, 8] Operation: 16-8=8
Moving to Node #0,0,0
Current State: 92:[100, 8], Operations: ['27+73=100', '16-8=8']
Exploring Operation: 100-8=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_5 | mult_heuristic |
[
62,
37,
36,
76
] | 87 | [
"62-37=25",
"36+76=112",
"112-25=87"
] | Current State: 87:[62, 37, 36, 76], Operations: []
Exploring Operation: 62-37=25, Resulting Numbers: [36, 76, 25]
Generated Node #2: [36, 76, 25] from Operation: 62-37=25
Current State: 87:[36, 76, 25], Operations: ['62-37=25']
Exploring Operation: 36+76=112, Resulting Numbers: [25, 112]
Generated Node #3: [25, 112] from Operation: 36+76=112
Current State: 87:[25, 112], Operations: ['62-37=25', '36+76=112']
Exploring Operation: 112-25=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[62, 37, 36, 76], Operations: []
Exploring Operation: 62-36=26, Resulting Numbers: [37, 76, 26]
Generated Node #0,0: 87:[37, 76, 26] Operation: 62-36=26
Exploring Operation: 62-37=25, Resulting Numbers: [36, 76, 25]
Generated Node #0,1: 87:[36, 76, 25] Operation: 62-37=25
Exploring Operation: 76-62=14, Resulting Numbers: [37, 36, 14]
Generated Node #0,2: 87:[37, 36, 14] Operation: 76-62=14
Moving to Node #0,0
Current State: 87:[37, 76, 26], Operations: ['62-36=26']
Exploring Operation: 76-37=39, Resulting Numbers: [26, 39]
Generated Node #0,0,0: 87:[26, 39] Operation: 76-37=39
Exploring Operation: 76+26=102, Resulting Numbers: [37, 102]
Generated Node #0,0,1: 87:[37, 102] Operation: 76+26=102
Exploring Operation: 37-26=11, Resulting Numbers: [76, 11]
Generated Node #0,0,2: 87:[76, 11] Operation: 37-26=11
Moving to Node #0,1
Current State: 87:[36, 76, 25], Operations: ['62-37=25']
Exploring Operation: 76-36=40, Resulting Numbers: [25, 40]
Generated Node #0,1,0: 87:[25, 40] Operation: 76-36=40
Exploring Operation: 36-25=11, Resulting Numbers: [76, 11]
Generated Node #0,1,1: 87:[76, 11] Operation: 36-25=11
Exploring Operation: 76+25=101, Resulting Numbers: [36, 101]
Generated Node #0,1,2: 87:[36, 101] Operation: 76+25=101
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 87:[25, 40], Operations: ['62-37=25', '76-36=40']
Exploring Operation: 25*40=1000, Resulting Numbers: [1000]
1000,87 unequal: No Solution
Exploring Operation: 25+40=65, Resulting Numbers: [65]
65,87 unequal: No Solution
Exploring Operation: 40-25=15, Resulting Numbers: [15]
15,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 87:[76, 11], Operations: ['62-37=25', '36-25=11']
Exploring Operation: 76-11=65, Resulting Numbers: [65]
65,87 unequal: No Solution
Exploring Operation: 76*11=836, Resulting Numbers: [836]
836,87 unequal: No Solution
Exploring Operation: 76+11=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[62, 37, 36, 76], Operations: []
Exploring Operation: 62-37=25, Resulting Numbers: [36, 76, 25]
Generated Node #0,1: 87:[36, 76, 25] Operation: 62-37=25
Moving to Node #0,1
Current State: 87:[36, 76, 25], Operations: ['62-37=25']
Exploring Operation: 36-25=11, Resulting Numbers: [76, 11]
Generated Node #0,1,1: 87:[76, 11] Operation: 36-25=11
Moving to Node #0,1,1
Current State: 87:[76, 11], Operations: ['62-37=25', '36-25=11']
Exploring Operation: 76+11=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | mult_heuristic |
[
4,
87,
80,
6
] | 31 | [
"4*6=24",
"87-80=7",
"24+7=31"
] | Current State: 31:[4, 87, 80, 6], Operations: []
Exploring Operation: 4*6=24, Resulting Numbers: [87, 80, 24]
Generated Node #2: [87, 80, 24] from Operation: 4*6=24
Current State: 31:[87, 80, 24], Operations: ['4*6=24']
Exploring Operation: 87-80=7, Resulting Numbers: [24, 7]
Generated Node #3: [24, 7] from Operation: 87-80=7
Current State: 31:[24, 7], Operations: ['4*6=24', '87-80=7']
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[4, 87, 80, 6], Operations: []
Exploring Operation: 87-80=7, Resulting Numbers: [4, 6, 7]
Generated Node #0,0: 31:[4, 6, 7] Operation: 87-80=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[4, 6, 7], Operations: ['87-80=7']
Exploring Operation: 4*7=28, Resulting Numbers: [6, 28]
Generated Node #0,0,0: 31:[6, 28] Operation: 4*7=28
Moving to Node #0,0,0
Current State: 31:[6, 28], Operations: ['87-80=7', '4*7=28']
Exploring Operation: 6+28=34, Resulting Numbers: [34]
34,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
45,
2,
29,
9
] | 48 | [
"45/9=5",
"29-5=24",
"2*24=48"
] | Current State: 48:[45, 2, 29, 9], Operations: []
Exploring Operation: 45/9=5, Resulting Numbers: [2, 29, 5]
Generated Node #2: [2, 29, 5] from Operation: 45/9=5
Current State: 48:[2, 29, 5], Operations: ['45/9=5']
Exploring Operation: 29-5=24, Resulting Numbers: [2, 24]
Generated Node #3: [2, 24] from Operation: 29-5=24
Current State: 48:[2, 24], Operations: ['45/9=5', '29-5=24']
Exploring Operation: 2*24=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[45, 2, 29, 9], Operations: []
Exploring Operation: 45+2=47, Resulting Numbers: [29, 9, 47]
Generated Node #0,0: 48:[29, 9, 47] Operation: 45+2=47
Exploring Operation: 29-2=27, Resulting Numbers: [45, 9, 27]
Generated Node #0,1: 48:[45, 9, 27] Operation: 29-2=27
Exploring Operation: 45/9=5, Resulting Numbers: [2, 29, 5]
Generated Node #0,2: 48:[2, 29, 5] Operation: 45/9=5
Exploring Operation: 29-9=20, Resulting Numbers: [45, 2, 20]
Generated Node #0,3: 48:[45, 2, 20] Operation: 29-9=20
Exploring Operation: 45-29=16, Resulting Numbers: [2, 9, 16]
Generated Node #0,4: 48:[2, 9, 16] Operation: 45-29=16
Start Sub Search at level 1: Moving to Node #0,4
Current State: 48:[2, 9, 16], Operations: ['45-29=16']
Exploring Operation: 9+16=25, Resulting Numbers: [2, 25]
Generated Node #0,4,0: 48:[2, 25] Operation: 9+16=25
Exploring Operation: 16-9=7, Resulting Numbers: [2, 7]
Generated Node #0,4,1: 48:[2, 7] Operation: 16-9=7
Exploring Operation: 9-2=7, Resulting Numbers: [16, 7]
Generated Node #0,4,2: 48:[16, 7] Operation: 9-2=7
Exploring Operation: 16/2=8, Resulting Numbers: [9, 8]
Generated Node #0,4,3: 48:[9, 8] Operation: 16/2=8
Exploring Operation: 2+9=11, Resulting Numbers: [16, 11]
Generated Node #0,4,4: 48:[16, 11] Operation: 2+9=11
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 48:[2, 25], Operations: ['45-29=16', '9+16=25']
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,48 unequal: No Solution
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,48 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,48 unequal: No Solution
No 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: 48:[2, 7], Operations: ['45-29=16', '16-9=7']
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,48 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,48 unequal: No Solution
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 48:[16, 7], Operations: ['45-29=16', '9-2=7']
Exploring Operation: 16*7=112, Resulting Numbers: [112]
112,48 unequal: No Solution
Exploring Operation: 16+7=23, Resulting Numbers: [23]
23,48 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,48 unequal: No Solution
No 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: 48:[9, 8], Operations: ['45-29=16', '16/2=8']
Exploring Operation: 9*8=72, Resulting Numbers: [72]
72,48 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,48 unequal: No Solution
Exploring Operation: 9+8=17, Resulting Numbers: [17]
17,48 unequal: No Solution
No 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: 48:[16, 11], Operations: ['45-29=16', '2+9=11']
Exploring Operation: 16+11=27, Resulting Numbers: [27]
27,48 unequal: No Solution
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,48 unequal: No Solution
Exploring Operation: 16*11=176, Resulting Numbers: [176]
176,48 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: 48:[2, 29, 5], Operations: ['45/9=5']
Exploring Operation: 29-5=24, Resulting Numbers: [2, 24]
Generated Node #0,2,0: 48:[2, 24] Operation: 29-5=24
Exploring Operation: 2+5=7, Resulting Numbers: [29, 7]
Generated Node #0,2,1: 48:[29, 7] Operation: 2+5=7
Exploring Operation: 29-2=27, Resulting Numbers: [5, 27]
Generated Node #0,2,2: 48:[5, 27] Operation: 29-2=27
Exploring Operation: 2*5=10, Resulting Numbers: [29, 10]
Generated Node #0,2,3: 48:[29, 10] Operation: 2*5=10
Exploring Operation: 5-2=3, Resulting Numbers: [29, 3]
Generated Node #0,2,4: 48:[29, 3] Operation: 5-2=3
Moving to Node #0,2,0
Current State: 48:[2, 24], Operations: ['45/9=5', '29-5=24']
Exploring Operation: 2*24=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[45, 2, 29, 9], Operations: []
Exploring Operation: 45/9=5, Resulting Numbers: [2, 29, 5]
Generated Node #0,2: 48:[2, 29, 5] Operation: 45/9=5
Moving to Node #0,2
Current State: 48:[2, 29, 5], Operations: ['45/9=5']
Exploring Operation: 29-5=24, Resulting Numbers: [2, 24]
Generated Node #0,2,0: 48:[2, 24] Operation: 29-5=24
Moving to Node #0,2,0
Current State: 48:[2, 24], Operations: ['45/9=5', '29-5=24']
Exploring Operation: 2*24=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_5 | mult_heuristic |
[
83,
82,
61,
10
] | 51 | [
"83-82=1",
"61-10=51",
"1*51=51"
] | Current State: 51:[83, 82, 61, 10], Operations: []
Exploring Operation: 83-82=1, Resulting Numbers: [61, 10, 1]
Generated Node #2: [61, 10, 1] from Operation: 83-82=1
Current State: 51:[61, 10, 1], Operations: ['83-82=1']
Exploring Operation: 61-10=51, Resulting Numbers: [1, 51]
Generated Node #3: [1, 51] from Operation: 61-10=51
Current State: 51:[1, 51], Operations: ['83-82=1', '61-10=51']
Exploring Operation: 1*51=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[83, 82, 61, 10], Operations: []
Exploring Operation: 83-61=22, Resulting Numbers: [82, 10, 22]
Generated Node #0,0: 51:[82, 10, 22] Operation: 83-61=22
Exploring Operation: 82-61=21, Resulting Numbers: [83, 10, 21]
Generated Node #0,1: 51:[83, 10, 21] Operation: 82-61=21
Exploring Operation: 82-10=72, Resulting Numbers: [83, 61, 72]
Generated Node #0,2: 51:[83, 61, 72] Operation: 82-10=72
Exploring Operation: 83-10=73, Resulting Numbers: [82, 61, 73]
Generated Node #0,3: 51:[82, 61, 73] Operation: 83-10=73
Exploring Operation: 83-82=1, Resulting Numbers: [61, 10, 1]
Generated Node #0,4: 51:[61, 10, 1] Operation: 83-82=1
Moving to Node #0,4
Current State: 51:[61, 10, 1], Operations: ['83-82=1']
Exploring Operation: 61*1=61, Resulting Numbers: [10, 61]
Generated Node #0,4,0: 51:[10, 61] Operation: 61*1=61
Exploring Operation: 61-10=51, Resulting Numbers: [1, 51]
Generated Node #0,4,1: 51:[1, 51] Operation: 61-10=51
Exploring Operation: 10+1=11, Resulting Numbers: [61, 11]
Generated Node #0,4,2: 51:[61, 11] Operation: 10+1=11
Exploring Operation: 61-1=60, Resulting Numbers: [10, 60]
Generated Node #0,4,3: 51:[10, 60] Operation: 61-1=60
Exploring Operation: 10-1=9, Resulting Numbers: [61, 9]
Generated Node #0,4,4: 51:[61, 9] Operation: 10-1=9
Moving to Node #0,1
Current State: 51:[83, 10, 21], Operations: ['82-61=21']
Exploring Operation: 10+21=31, Resulting Numbers: [83, 31]
Generated Node #0,1,0: 51:[83, 31] Operation: 10+21=31
Exploring Operation: 83+10=93, Resulting Numbers: [21, 93]
Generated Node #0,1,1: 51:[21, 93] Operation: 83+10=93
Exploring Operation: 83-10=73, Resulting Numbers: [21, 73]
Generated Node #0,1,2: 51:[21, 73] Operation: 83-10=73
Exploring Operation: 21-10=11, Resulting Numbers: [83, 11]
Generated Node #0,1,3: 51:[83, 11] Operation: 21-10=11
Exploring Operation: 83-21=62, Resulting Numbers: [10, 62]
Generated Node #0,1,4: 51:[10, 62] Operation: 83-21=62
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 51:[10, 62], Operations: ['82-61=21', '83-21=62']
Exploring Operation: 62-10=52, Resulting Numbers: [52]
52,51 unequal: No Solution
Exploring Operation: 10*62=620, Resulting Numbers: [620]
620,51 unequal: No Solution
Exploring Operation: 10+62=72, Resulting Numbers: [72]
72,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 51:[21, 73], Operations: ['82-61=21', '83-10=73']
Exploring Operation: 21+73=94, Resulting Numbers: [94]
94,51 unequal: No Solution
Exploring Operation: 73-21=52, Resulting Numbers: [52]
52,51 unequal: No Solution
Exploring Operation: 21*73=1533, Resulting Numbers: [1533]
1533,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 51:[83, 11], Operations: ['82-61=21', '21-10=11']
Exploring Operation: 83+11=94, Resulting Numbers: [94]
94,51 unequal: No Solution
Exploring Operation: 83*11=913, Resulting Numbers: [913]
913,51 unequal: No Solution
Exploring Operation: 83-11=72, Resulting Numbers: [72]
72,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 51:[83, 31], Operations: ['82-61=21', '10+21=31']
Exploring Operation: 83*31=2573, Resulting Numbers: [2573]
2573,51 unequal: No Solution
Exploring Operation: 83-31=52, Resulting Numbers: [52]
52,51 unequal: No Solution
Exploring Operation: 83+31=114, Resulting Numbers: [114]
114,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 51:[21, 93], Operations: ['82-61=21', '83+10=93']
Exploring Operation: 93-21=72, Resulting Numbers: [72]
72,51 unequal: No Solution
Exploring Operation: 21+93=114, Resulting Numbers: [114]
114,51 unequal: No Solution
Exploring Operation: 21*93=1953, Resulting Numbers: [1953]
1953,51 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: 51:[82, 10, 22], Operations: ['83-61=22']
Exploring Operation: 82-10=72, Resulting Numbers: [22, 72]
Generated Node #0,0,0: 51:[22, 72] Operation: 82-10=72
Exploring Operation: 82+10=92, Resulting Numbers: [22, 92]
Generated Node #0,0,1: 51:[22, 92] Operation: 82+10=92
Exploring Operation: 10+22=32, Resulting Numbers: [82, 32]
Generated Node #0,0,2: 51:[82, 32] Operation: 10+22=32
Exploring Operation: 82-22=60, Resulting Numbers: [10, 60]
Generated Node #0,0,3: 51:[10, 60] Operation: 82-22=60
Exploring Operation: 22-10=12, Resulting Numbers: [82, 12]
Generated Node #0,0,4: 51:[82, 12] Operation: 22-10=12
Moving to Node #0,2
Current State: 51:[83, 61, 72], Operations: ['82-10=72']
Exploring Operation: 83-61=22, Resulting Numbers: [72, 22]
Generated Node #0,2,0: 51:[72, 22] Operation: 83-61=22
Exploring Operation: 83+72=155, Resulting Numbers: [61, 155]
Generated Node #0,2,1: 51:[61, 155] Operation: 83+72=155
Exploring Operation: 72-61=11, Resulting Numbers: [83, 11]
Generated Node #0,2,2: 51:[83, 11] Operation: 72-61=11
Exploring Operation: 83-72=11, Resulting Numbers: [61, 11]
Generated Node #0,2,3: 51:[61, 11] Operation: 83-72=11
Exploring Operation: 83+61=144, Resulting Numbers: [72, 144]
Generated Node #0,2,4: 51:[72, 144] Operation: 83+61=144
Moving to Node #0,3
Current State: 51:[82, 61, 73], Operations: ['83-10=73']
Exploring Operation: 82+73=155, Resulting Numbers: [61, 155]
Generated Node #0,3,0: 51:[61, 155] Operation: 82+73=155
Exploring Operation: 82-61=21, Resulting Numbers: [73, 21]
Generated Node #0,3,1: 51:[73, 21] Operation: 82-61=21
Exploring Operation: 82+61=143, Resulting Numbers: [73, 143]
Generated Node #0,3,2: 51:[73, 143] Operation: 82+61=143
Exploring Operation: 73-61=12, Resulting Numbers: [82, 12]
Generated Node #0,3,3: 51:[82, 12] Operation: 73-61=12
Exploring Operation: 82-73=9, Resulting Numbers: [61, 9]
Generated Node #0,3,4: 51:[61, 9] Operation: 82-73=9
Moving to Node #0,4,1
Current State: 51:[1, 51], Operations: ['83-82=1', '61-10=51']
Exploring Operation: 1*51=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[83, 82, 61, 10], Operations: []
Exploring Operation: 83-82=1, Resulting Numbers: [61, 10, 1]
Generated Node #0,4: 51:[61, 10, 1] Operation: 83-82=1
Moving to Node #0,4
Current State: 51:[61, 10, 1], Operations: ['83-82=1']
Exploring Operation: 61-10=51, Resulting Numbers: [1, 51]
Generated Node #0,4,1: 51:[1, 51] Operation: 61-10=51
Moving to Node #0,4,1
Current State: 51:[1, 51], Operations: ['83-82=1', '61-10=51']
Exploring Operation: 1*51=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 0.956597 | hs_5 | mult_heuristic |
[
1,
31,
11,
13
] | 62 | [
"1*31=31",
"13-11=2",
"31*2=62"
] | Current State: 62:[1, 31, 11, 13], Operations: []
Exploring Operation: 1*31=31, Resulting Numbers: [11, 13, 31]
Generated Node #2: [11, 13, 31] from Operation: 1*31=31
Current State: 62:[11, 13, 31], Operations: ['1*31=31']
Exploring Operation: 13-11=2, Resulting Numbers: [31, 2]
Generated Node #3: [31, 2] from Operation: 13-11=2
Current State: 62:[31, 2], Operations: ['1*31=31', '13-11=2']
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[1, 31, 11, 13], Operations: []
Exploring Operation: 11+13=24, Resulting Numbers: [1, 31, 24]
Generated Node #0,0: 62:[1, 31, 24] Operation: 11+13=24
Exploring Operation: 11-1=10, Resulting Numbers: [31, 13, 10]
Generated Node #0,1: 62:[31, 13, 10] Operation: 11-1=10
Exploring Operation: 13-11=2, Resulting Numbers: [1, 31, 2]
Generated Node #0,2: 62:[1, 31, 2] Operation: 13-11=2
Moving to Node #0,2
Current State: 62:[1, 31, 2], Operations: ['13-11=2']
Exploring Operation: 1*2=2, Resulting Numbers: [31, 2]
Generated Node #0,2,0: 62:[31, 2] Operation: 1*2=2
Exploring Operation: 1*31=31, Resulting Numbers: [2, 31]
Generated Node #0,2,1: 62:[2, 31] Operation: 1*31=31
Exploring Operation: 31/1=31, Resulting Numbers: [2, 31]
Generated Node #0,2,2: 62:[2, 31] Operation: 31/1=31
Moving to Node #0,0
Current State: 62:[1, 31, 24], Operations: ['11+13=24']
Exploring Operation: 31-24=7, Resulting Numbers: [1, 7]
Generated Node #0,0,0: 62:[1, 7] Operation: 31-24=7
Exploring Operation: 1*31=31, Resulting Numbers: [24, 31]
Generated Node #0,0,1: 62:[24, 31] Operation: 1*31=31
Exploring Operation: 1+24=25, Resulting Numbers: [31, 25]
Generated Node #0,0,2: 62:[31, 25] Operation: 1+24=25
Moving to Node #0,1
Current State: 62:[31, 13, 10], Operations: ['11-1=10']
Exploring Operation: 13-10=3, Resulting Numbers: [31, 3]
Generated Node #0,1,0: 62:[31, 3] Operation: 13-10=3
Exploring Operation: 31+13=44, Resulting Numbers: [10, 44]
Generated Node #0,1,1: 62:[10, 44] Operation: 31+13=44
Exploring Operation: 13+10=23, Resulting Numbers: [31, 23]
Generated Node #0,1,2: 62:[31, 23] Operation: 13+10=23
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 62:[31, 3], Operations: ['11-1=10', '13-10=3']
Exploring Operation: 31+3=34, Resulting Numbers: [34]
34,62 unequal: No Solution
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,62 unequal: No Solution
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 62:[31, 23], Operations: ['11-1=10', '13+10=23']
Exploring Operation: 31+23=54, Resulting Numbers: [54]
54,62 unequal: No Solution
Exploring Operation: 31-23=8, Resulting Numbers: [8]
8,62 unequal: No Solution
Exploring Operation: 31*23=713, Resulting Numbers: [713]
713,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 62:[10, 44], Operations: ['11-1=10', '31+13=44']
Exploring Operation: 10*44=440, Resulting Numbers: [440]
440,62 unequal: No Solution
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,62 unequal: No Solution
Exploring Operation: 10+44=54, Resulting Numbers: [54]
54,62 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: 62:[31, 2], Operations: ['13-11=2', '1*2=2']
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[1, 31, 11, 13], Operations: []
Exploring Operation: 13-11=2, Resulting Numbers: [1, 31, 2]
Generated Node #0,2: 62:[1, 31, 2] Operation: 13-11=2
Moving to Node #0,2
Current State: 62:[1, 31, 2], Operations: ['13-11=2']
Exploring Operation: 1*2=2, Resulting Numbers: [31, 2]
Generated Node #0,2,0: 62:[31, 2] Operation: 1*2=2
Moving to Node #0,2,0
Current State: 62:[31, 2], Operations: ['13-11=2', '1*2=2']
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 0.977431 | hs_3 | mult_heuristic |
[
40,
6,
9,
68
] | 82 | [
"68-40=28",
"6*9=54",
"28+54=82"
] | Current State: 82:[40, 6, 9, 68], Operations: []
Exploring Operation: 68-40=28, Resulting Numbers: [6, 9, 28]
Generated Node #2: [6, 9, 28] from Operation: 68-40=28
Current State: 82:[6, 9, 28], Operations: ['68-40=28']
Exploring Operation: 6*9=54, Resulting Numbers: [28, 54]
Generated Node #3: [28, 54] from Operation: 6*9=54
Current State: 82:[28, 54], Operations: ['68-40=28', '6*9=54']
Exploring Operation: 28+54=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[40, 6, 9, 68], Operations: []
Exploring Operation: 6+68=74, Resulting Numbers: [40, 9, 74]
Generated Node #0,0: 82:[40, 9, 74] Operation: 6+68=74
Exploring Operation: 9-6=3, Resulting Numbers: [40, 68, 3]
Generated Node #0,1: 82:[40, 68, 3] Operation: 9-6=3
Exploring Operation: 9+68=77, Resulting Numbers: [40, 6, 77]
Generated Node #0,2: 82:[40, 6, 77] Operation: 9+68=77
Moving to Node #0,2
Current State: 82:[40, 6, 77], Operations: ['9+68=77']
Exploring Operation: 6+77=83, Resulting Numbers: [40, 83]
Generated Node #0,2,0: 82:[40, 83] Operation: 6+77=83
Exploring Operation: 40+6=46, Resulting Numbers: [77, 46]
Generated Node #0,2,1: 82:[77, 46] Operation: 40+6=46
Exploring Operation: 77-40=37, Resulting Numbers: [6, 37]
Generated Node #0,2,2: 82:[6, 37] Operation: 77-40=37
Moving to Node #0,0
Current State: 82:[40, 9, 74], Operations: ['6+68=74']
Exploring Operation: 74-40=34, Resulting Numbers: [9, 34]
Generated Node #0,0,0: 82:[9, 34] Operation: 74-40=34
Exploring Operation: 9+74=83, Resulting Numbers: [40, 83]
Generated Node #0,0,1: 82:[40, 83] Operation: 9+74=83
Exploring Operation: 40+9=49, Resulting Numbers: [74, 49]
Generated Node #0,0,2: 82:[74, 49] Operation: 40+9=49
Moving to Node #0,1
Current State: 82:[40, 68, 3], Operations: ['9-6=3']
Exploring Operation: 40+3=43, Resulting Numbers: [68, 43]
Generated Node #0,1,0: 82:[68, 43] Operation: 40+3=43
Exploring Operation: 68-40=28, Resulting Numbers: [3, 28]
Generated Node #0,1,1: 82:[3, 28] Operation: 68-40=28
Exploring Operation: 68+3=71, Resulting Numbers: [40, 71]
Generated Node #0,1,2: 82:[40, 71] Operation: 68+3=71
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 82:[40, 71], Operations: ['9-6=3', '68+3=71']
Exploring Operation: 40*71=2840, Resulting Numbers: [2840]
2840,82 unequal: No Solution
Exploring Operation: 71-40=31, Resulting Numbers: [31]
31,82 unequal: No Solution
Exploring Operation: 40+71=111, Resulting Numbers: [111]
111,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 82:[3, 28], Operations: ['9-6=3', '68-40=28']
Exploring Operation: 3+28=31, Resulting Numbers: [31]
31,82 unequal: No Solution
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,82 unequal: No Solution
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 82:[68, 43], Operations: ['9-6=3', '40+3=43']
Exploring Operation: 68*43=2924, Resulting Numbers: [2924]
2924,82 unequal: No Solution
Exploring Operation: 68+43=111, Resulting Numbers: [111]
111,82 unequal: No Solution
Exploring Operation: 68-43=25, Resulting Numbers: [25]
25,82 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: 82:[40, 83], Operations: ['9+68=77', '6+77=83']
Exploring Operation: 83-40=43, Resulting Numbers: [43]
43,82 unequal: No Solution
Exploring Operation: 40*83=3320, Resulting Numbers: [3320]
3320,82 unequal: No Solution
Exploring Operation: 40+83=123, Resulting Numbers: [123]
123,82 unequal: No Solution
Moving to Node #0,0,1
Current State: 82:[40, 83], Operations: ['6+68=74', '9+74=83']
Exploring Operation: 40*83=3320, Resulting Numbers: [3320]
3320,82 unequal: No Solution
Exploring Operation: 40+83=123, Resulting Numbers: [123]
123,82 unequal: No Solution
Exploring Operation: 83-40=43, Resulting Numbers: [43]
43,82 unequal: No Solution
Moving to Node #0,2,2
Current State: 82:[6, 37], Operations: ['9+68=77', '77-40=37']
Exploring Operation: 6+37=43, Resulting Numbers: [43]
43,82 unequal: No Solution
Exploring Operation: 6*37=222, Resulting Numbers: [222]
222,82 unequal: No Solution
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,82 unequal: No Solution
Moving to Node #0,2,1
Current State: 82:[77, 46], Operations: ['9+68=77', '40+6=46']
Exploring Operation: 77-46=31, Resulting Numbers: [31]
31,82 unequal: No Solution
Exploring Operation: 77+46=123, Resulting Numbers: [123]
123,82 unequal: No Solution
Exploring Operation: 77*46=3542, Resulting Numbers: [3542]
3542,82 unequal: No Solution
Moving to Node #0,0,0
Current State: 82:[9, 34], Operations: ['6+68=74', '74-40=34']
Exploring Operation: 9+34=43, Resulting Numbers: [43]
43,82 unequal: No Solution
Exploring Operation: 9*34=306, Resulting Numbers: [306]
306,82 unequal: No Solution
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,82 unequal: No Solution
Moving to Node #0,0,2
Current State: 82:[74, 49], Operations: ['6+68=74', '40+9=49']
Exploring Operation: 74-49=25, Resulting Numbers: [25]
25,82 unequal: No Solution
Exploring Operation: 74+49=123, Resulting Numbers: [123]
123,82 unequal: No Solution
Exploring Operation: 74*49=3626, Resulting Numbers: [3626]
3626,82 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
22,
72,
87,
4
] | 83 | [
"87-22=65",
"72/4=18",
"65+18=83"
] | Current State: 83:[22, 72, 87, 4], Operations: []
Exploring Operation: 87-22=65, Resulting Numbers: [72, 4, 65]
Generated Node #2: [72, 4, 65] from Operation: 87-22=65
Current State: 83:[72, 4, 65], Operations: ['87-22=65']
Exploring Operation: 72/4=18, Resulting Numbers: [65, 18]
Generated Node #3: [65, 18] from Operation: 72/4=18
Current State: 83:[65, 18], Operations: ['87-22=65', '72/4=18']
Exploring Operation: 65+18=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[22, 72, 87, 4], Operations: []
Exploring Operation: 72+4=76, Resulting Numbers: [22, 87, 76]
Generated Node #0,0: 83:[22, 87, 76] Operation: 72+4=76
Exploring Operation: 22*4=88, Resulting Numbers: [72, 87, 88]
Generated Node #0,1: 83:[72, 87, 88] Operation: 22*4=88
Exploring Operation: 87-4=83, Resulting Numbers: [22, 72, 83]
Generated Node #0,2: 83:[22, 72, 83] Operation: 87-4=83
Exploring Operation: 22+4=26, Resulting Numbers: [72, 87, 26]
Generated Node #0,3: 83:[72, 87, 26] Operation: 22+4=26
Moving to Node #0,1
Current State: 83:[72, 87, 88], Operations: ['22*4=88']
Exploring Operation: 87-72=15, Resulting Numbers: [88, 15]
Generated Node #0,1,0: 83:[88, 15] Operation: 87-72=15
Exploring Operation: 72+87=159, Resulting Numbers: [88, 159]
Generated Node #0,1,1: 83:[88, 159] Operation: 72+87=159
Exploring Operation: 72+88=160, Resulting Numbers: [87, 160]
Generated Node #0,1,2: 83:[87, 160] Operation: 72+88=160
Exploring Operation: 88-72=16, Resulting Numbers: [87, 16]
Generated Node #0,1,3: 83:[87, 16] Operation: 88-72=16
Moving to Node #0,2
Current State: 83:[22, 72, 83], Operations: ['87-4=83']
Exploring Operation: 22+72=94, Resulting Numbers: [83, 94]
Generated Node #0,2,0: 83:[83, 94] Operation: 22+72=94
Exploring Operation: 22+83=105, Resulting Numbers: [72, 105]
Generated Node #0,2,1: 83:[72, 105] Operation: 22+83=105
Exploring Operation: 72-22=50, Resulting Numbers: [83, 50]
Generated Node #0,2,2: 83:[83, 50] Operation: 72-22=50
Exploring Operation: 83-22=61, Resulting Numbers: [72, 61]
Generated Node #0,2,3: 83:[72, 61] Operation: 83-22=61
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 83:[83, 94], Operations: ['87-4=83', '22+72=94']
Exploring Operation: 83+94=177, Resulting Numbers: [177]
177,83 unequal: No Solution
Exploring Operation: 94-83=11, Resulting Numbers: [11]
11,83 unequal: No Solution
Exploring Operation: 83*94=7802, Resulting Numbers: [7802]
7802,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 83:[72, 105], Operations: ['87-4=83', '22+83=105']
Exploring Operation: 105-72=33, Resulting Numbers: [33]
33,83 unequal: No Solution
Exploring Operation: 72+105=177, Resulting Numbers: [177]
177,83 unequal: No Solution
Exploring Operation: 72*105=7560, Resulting Numbers: [7560]
7560,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 83:[83, 50], Operations: ['87-4=83', '72-22=50']
Exploring Operation: 83-50=33, Resulting Numbers: [33]
33,83 unequal: No Solution
Exploring Operation: 83*50=4150, Resulting Numbers: [4150]
4150,83 unequal: No Solution
Exploring Operation: 83+50=133, Resulting Numbers: [133]
133,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 83:[72, 61], Operations: ['87-4=83', '83-22=61']
Exploring Operation: 72-61=11, Resulting Numbers: [11]
11,83 unequal: No Solution
Exploring Operation: 72+61=133, Resulting Numbers: [133]
133,83 unequal: No Solution
Exploring Operation: 72*61=4392, Resulting Numbers: [4392]
4392,83 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: 83:[22, 87, 76], Operations: ['72+4=76']
Exploring Operation: 22+87=109, Resulting Numbers: [76, 109]
Generated Node #0,0,0: 83:[76, 109] Operation: 22+87=109
Exploring Operation: 22+76=98, Resulting Numbers: [87, 98]
Generated Node #0,0,1: 83:[87, 98] Operation: 22+76=98
Exploring Operation: 87-22=65, Resulting Numbers: [76, 65]
Generated Node #0,0,2: 83:[76, 65] Operation: 87-22=65
Exploring Operation: 76-22=54, Resulting Numbers: [87, 54]
Generated Node #0,0,3: 83:[87, 54] Operation: 76-22=54
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 83:[87, 98], Operations: ['72+4=76', '22+76=98']
Exploring Operation: 98-87=11, Resulting Numbers: [11]
11,83 unequal: No Solution
Exploring Operation: 87*98=8526, Resulting Numbers: [8526]
8526,83 unequal: No Solution
Exploring Operation: 87+98=185, Resulting Numbers: [185]
185,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 83:[76, 65], Operations: ['72+4=76', '87-22=65']
Exploring Operation: 76*65=4940, Resulting Numbers: [4940]
4940,83 unequal: No Solution
Exploring Operation: 76-65=11, Resulting Numbers: [11]
11,83 unequal: No Solution
Exploring Operation: 76+65=141, Resulting Numbers: [141]
141,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[76, 109], Operations: ['72+4=76', '22+87=109']
Exploring Operation: 109-76=33, Resulting Numbers: [33]
33,83 unequal: No Solution
Exploring Operation: 76+109=185, Resulting Numbers: [185]
185,83 unequal: No Solution
Exploring Operation: 76*109=8284, Resulting Numbers: [8284]
8284,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 83:[87, 54], Operations: ['72+4=76', '76-22=54']
Exploring Operation: 87*54=4698, Resulting Numbers: [4698]
4698,83 unequal: No Solution
Exploring Operation: 87+54=141, Resulting Numbers: [141]
141,83 unequal: No Solution
Exploring Operation: 87-54=33, Resulting Numbers: [33]
33,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 83:[72, 87, 26], Operations: ['22+4=26']
Exploring Operation: 72-26=46, Resulting Numbers: [87, 46]
Generated Node #0,3,0: 83:[87, 46] Operation: 72-26=46
Exploring Operation: 87-26=61, Resulting Numbers: [72, 61]
Generated Node #0,3,1: 83:[72, 61] Operation: 87-26=61
Exploring Operation: 72+26=98, Resulting Numbers: [87, 98]
Generated Node #0,3,2: 83:[87, 98] Operation: 72+26=98
Exploring Operation: 87+26=113, Resulting Numbers: [72, 113]
Generated Node #0,3,3: 83:[72, 113] Operation: 87+26=113
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 83:[87, 98], Operations: ['22+4=26', '72+26=98']
Exploring Operation: 98-87=11, Resulting Numbers: [11]
11,83 unequal: No Solution
Exploring Operation: 87*98=8526, Resulting Numbers: [8526]
8526,83 unequal: No Solution
Exploring Operation: 87+98=185, Resulting Numbers: [185]
185,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 83:[72, 61], Operations: ['22+4=26', '87-26=61']
Exploring Operation: 72-61=11, Resulting Numbers: [11]
11,83 unequal: No Solution
Exploring Operation: 72+61=133, Resulting Numbers: [133]
133,83 unequal: No Solution
Exploring Operation: 72*61=4392, Resulting Numbers: [4392]
4392,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 83:[87, 46], Operations: ['22+4=26', '72-26=46']
Exploring Operation: 87*46=4002, Resulting Numbers: [4002]
4002,83 unequal: No Solution
Exploring Operation: 87+46=133, Resulting Numbers: [133]
133,83 unequal: No Solution
Exploring Operation: 87-46=41, Resulting Numbers: [41]
41,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 83:[72, 113], Operations: ['22+4=26', '87+26=113']
Exploring Operation: 72+113=185, Resulting Numbers: [185]
185,83 unequal: No Solution
Exploring Operation: 113-72=41, Resulting Numbers: [41]
41,83 unequal: No Solution
Exploring Operation: 72*113=8136, Resulting Numbers: [8136]
8136,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,3
Current State: 83:[87, 16], Operations: ['22*4=88', '88-72=16']
Exploring Operation: 87*16=1392, Resulting Numbers: [1392]
1392,83 unequal: No Solution
Exploring Operation: 87+16=103, Resulting Numbers: [103]
103,83 unequal: No Solution
Exploring Operation: 87-16=71, Resulting Numbers: [71]
71,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[88, 15], Operations: ['22*4=88', '87-72=15']
Exploring Operation: 88+15=103, Resulting Numbers: [103]
103,83 unequal: No Solution
Exploring Operation: 88-15=73, Resulting Numbers: [73]
73,83 unequal: No Solution
Exploring Operation: 88*15=1320, Resulting Numbers: [1320]
1320,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[87, 160], Operations: ['22*4=88', '72+88=160']
Exploring Operation: 87*160=13920, Resulting Numbers: [13920]
13920,83 unequal: No Solution
Exploring Operation: 87+160=247, Resulting Numbers: [247]
247,83 unequal: No Solution
Exploring Operation: 160-87=73, Resulting Numbers: [73]
73,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[88, 159], Operations: ['22*4=88', '72+87=159']
Exploring Operation: 159-88=71, Resulting Numbers: [71]
71,83 unequal: No Solution
Exploring Operation: 88+159=247, Resulting Numbers: [247]
247,83 unequal: No Solution
Exploring Operation: 88*159=13992, Resulting Numbers: [13992]
13992,83 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
76,
38,
56,
46
] | 48 | [
"76-38=38",
"56-46=10",
"38+10=48"
] | Current State: 48:[76, 38, 56, 46], Operations: []
Exploring Operation: 76-38=38, Resulting Numbers: [56, 46, 38]
Generated Node #2: [56, 46, 38] from Operation: 76-38=38
Current State: 48:[56, 46, 38], Operations: ['76-38=38']
Exploring Operation: 56-46=10, Resulting Numbers: [38, 10]
Generated Node #3: [38, 10] from Operation: 56-46=10
Current State: 48:[38, 10], Operations: ['76-38=38', '56-46=10']
Exploring Operation: 38+10=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[76, 38, 56, 46], Operations: []
Exploring Operation: 76-56=20, Resulting Numbers: [38, 46, 20]
Generated Node #0,0: 48:[38, 46, 20] Operation: 76-56=20
Exploring Operation: 76-38=38, Resulting Numbers: [56, 46, 38]
Generated Node #0,1: 48:[56, 46, 38] Operation: 76-38=38
Exploring Operation: 76-46=30, Resulting Numbers: [38, 56, 30]
Generated Node #0,2: 48:[38, 56, 30] Operation: 76-46=30
Exploring Operation: 76/38=2, Resulting Numbers: [56, 46, 2]
Generated Node #0,3: 48:[56, 46, 2] Operation: 76/38=2
Exploring Operation: 56-38=18, Resulting Numbers: [76, 46, 18]
Generated Node #0,4: 48:[76, 46, 18] Operation: 56-38=18
Moving to Node #0,3
Current State: 48:[56, 46, 2], Operations: ['76/38=2']
Exploring Operation: 46+2=48, Resulting Numbers: [56, 48]
Generated Node #0,3,0: 48:[56, 48] Operation: 46+2=48
Exploring Operation: 56-2=54, Resulting Numbers: [46, 54]
Generated Node #0,3,1: 48:[46, 54] Operation: 56-2=54
Exploring Operation: 46/2=23, Resulting Numbers: [56, 23]
Generated Node #0,3,2: 48:[56, 23] Operation: 46/2=23
Exploring Operation: 56/2=28, Resulting Numbers: [46, 28]
Generated Node #0,3,3: 48:[46, 28] Operation: 56/2=28
Exploring Operation: 56-46=10, Resulting Numbers: [2, 10]
Generated Node #0,3,4: 48:[2, 10] Operation: 56-46=10
Moving to Node #0,0
Current State: 48:[38, 46, 20], Operations: ['76-56=20']
Exploring Operation: 46+20=66, Resulting Numbers: [38, 66]
Generated Node #0,0,0: 48:[38, 66] Operation: 46+20=66
Exploring Operation: 46-38=8, Resulting Numbers: [20, 8]
Generated Node #0,0,1: 48:[20, 8] Operation: 46-38=8
Exploring Operation: 38+20=58, Resulting Numbers: [46, 58]
Generated Node #0,0,2: 48:[46, 58] Operation: 38+20=58
Exploring Operation: 46-20=26, Resulting Numbers: [38, 26]
Generated Node #0,0,3: 48:[38, 26] Operation: 46-20=26
Exploring Operation: 38-20=18, Resulting Numbers: [46, 18]
Generated Node #0,0,4: 48:[46, 18] Operation: 38-20=18
Moving to Node #0,1
Current State: 48:[56, 46, 38], Operations: ['76-38=38']
Exploring Operation: 46+38=84, Resulting Numbers: [56, 84]
Generated Node #0,1,0: 48:[56, 84] Operation: 46+38=84
Exploring Operation: 46-38=8, Resulting Numbers: [56, 8]
Generated Node #0,1,1: 48:[56, 8] Operation: 46-38=8
Exploring Operation: 56-46=10, Resulting Numbers: [38, 10]
Generated Node #0,1,2: 48:[38, 10] Operation: 56-46=10
Exploring Operation: 56+38=94, Resulting Numbers: [46, 94]
Generated Node #0,1,3: 48:[46, 94] Operation: 56+38=94
Exploring Operation: 56-38=18, Resulting Numbers: [46, 18]
Generated Node #0,1,4: 48:[46, 18] Operation: 56-38=18
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 48:[46, 18], Operations: ['76-38=38', '56-38=18']
Exploring Operation: 46+18=64, Resulting Numbers: [64]
64,48 unequal: No Solution
Exploring Operation: 46-18=28, Resulting Numbers: [28]
28,48 unequal: No Solution
Exploring Operation: 46*18=828, Resulting Numbers: [828]
828,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 48:[56, 8], Operations: ['76-38=38', '46-38=8']
Exploring Operation: 56-8=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[76, 38, 56, 46], Operations: []
Exploring Operation: 76-38=38, Resulting Numbers: [56, 46, 38]
Generated Node #0,1: 48:[56, 46, 38] Operation: 76-38=38
Moving to Node #0,1
Current State: 48:[56, 46, 38], Operations: ['76-38=38']
Exploring Operation: 46-38=8, Resulting Numbers: [56, 8]
Generated Node #0,1,1: 48:[56, 8] Operation: 46-38=8
Moving to Node #0,1,1
Current State: 48:[56, 8], Operations: ['76-38=38', '46-38=8']
Exploring Operation: 56-8=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 | hs_5 | mult_heuristic |
[
12,
2,
78,
95
] | 50 | [
"12+78=90",
"90/2=45",
"95-45=50"
] | Current State: 50:[12, 2, 78, 95], Operations: []
Exploring Operation: 12+78=90, Resulting Numbers: [2, 95, 90]
Generated Node #2: [2, 95, 90] from Operation: 12+78=90
Current State: 50:[2, 95, 90], Operations: ['12+78=90']
Exploring Operation: 90/2=45, Resulting Numbers: [95, 45]
Generated Node #3: [95, 45] from Operation: 90/2=45
Current State: 50:[95, 45], Operations: ['12+78=90', '90/2=45']
Exploring Operation: 95-45=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[12, 2, 78, 95], Operations: []
Exploring Operation: 95-78=17, Resulting Numbers: [12, 2, 17]
Generated Node #0,0: 50:[12, 2, 17] Operation: 95-78=17
Exploring Operation: 78/2=39, Resulting Numbers: [12, 95, 39]
Generated Node #0,1: 50:[12, 95, 39] Operation: 78/2=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[12, 2, 17], Operations: ['95-78=17']
Exploring Operation: 12+17=29, Resulting Numbers: [2, 29]
Generated Node #0,0,0: 50:[2, 29] Operation: 12+17=29
Exploring Operation: 17-12=5, Resulting Numbers: [2, 5]
Generated Node #0,0,1: 50:[2, 5] Operation: 17-12=5
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 50:[2, 5], Operations: ['95-78=17', '17-12=5']
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,50 unequal: No Solution
No 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: 50:[2, 29], Operations: ['95-78=17', '12+17=29']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,50 unequal: No Solution
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[12, 95, 39], Operations: ['78/2=39']
Exploring Operation: 95-39=56, Resulting Numbers: [12, 56]
Generated Node #0,1,0: 50:[12, 56] Operation: 95-39=56
Exploring Operation: 95-12=83, Resulting Numbers: [39, 83]
Generated Node #0,1,1: 50:[39, 83] Operation: 95-12=83
Moving to Node #0,1,0
Current State: 50:[12, 56], Operations: ['78/2=39', '95-39=56']
Exploring Operation: 12+56=68, Resulting Numbers: [68]
68,50 unequal: No Solution
Exploring Operation: 56-12=44, Resulting Numbers: [44]
44,50 unequal: No Solution
Moving to Node #0,1,1
Current State: 50:[39, 83], Operations: ['78/2=39', '95-12=83']
Exploring Operation: 39+83=122, Resulting Numbers: [122]
122,50 unequal: No Solution
Exploring Operation: 83-39=44, Resulting Numbers: [44]
44,50 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 |
[
91,
39,
92,
22
] | 62 | [
"91-39=52",
"92+22=114",
"114-52=62"
] | Current State: 62:[91, 39, 92, 22], Operations: []
Exploring Operation: 91-39=52, Resulting Numbers: [92, 22, 52]
Generated Node #2: [92, 22, 52] from Operation: 91-39=52
Current State: 62:[92, 22, 52], Operations: ['91-39=52']
Exploring Operation: 92+22=114, Resulting Numbers: [52, 114]
Generated Node #3: [52, 114] from Operation: 92+22=114
Current State: 62:[52, 114], Operations: ['91-39=52', '92+22=114']
Exploring Operation: 114-52=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[91, 39, 92, 22], Operations: []
Exploring Operation: 92-22=70, Resulting Numbers: [91, 39, 70]
Generated Node #0,0: 62:[91, 39, 70] Operation: 92-22=70
Exploring Operation: 92-91=1, Resulting Numbers: [39, 22, 1]
Generated Node #0,1: 62:[39, 22, 1] Operation: 92-91=1
Exploring Operation: 91-22=69, Resulting Numbers: [39, 92, 69]
Generated Node #0,2: 62:[39, 92, 69] Operation: 91-22=69
Exploring Operation: 91-39=52, Resulting Numbers: [92, 22, 52]
Generated Node #0,3: 62:[92, 22, 52] Operation: 91-39=52
Exploring Operation: 92-39=53, Resulting Numbers: [91, 22, 53]
Generated Node #0,4: 62:[91, 22, 53] Operation: 92-39=53
Moving to Node #0,1
Current State: 62:[39, 22, 1], Operations: ['92-91=1']
Exploring Operation: 22+1=23, Resulting Numbers: [39, 23]
Generated Node #0,1,0: 62:[39, 23] Operation: 22+1=23
Exploring Operation: 39*1=39, Resulting Numbers: [22, 39]
Generated Node #0,1,1: 62:[22, 39] Operation: 39*1=39
Exploring Operation: 39-22=17, Resulting Numbers: [1, 17]
Generated Node #0,1,2: 62:[1, 17] Operation: 39-22=17
Exploring Operation: 39-1=38, Resulting Numbers: [22, 38]
Generated Node #0,1,3: 62:[22, 38] Operation: 39-1=38
Exploring Operation: 39+22=61, Resulting Numbers: [1, 61]
Generated Node #0,1,4: 62:[1, 61] Operation: 39+22=61
Moving to Node #0,2
Current State: 62:[39, 92, 69], Operations: ['91-22=69']
Exploring Operation: 39+69=108, Resulting Numbers: [92, 108]
Generated Node #0,2,0: 62:[92, 108] Operation: 39+69=108
Exploring Operation: 92-39=53, Resulting Numbers: [69, 53]
Generated Node #0,2,1: 62:[69, 53] Operation: 92-39=53
Exploring Operation: 39+92=131, Resulting Numbers: [69, 131]
Generated Node #0,2,2: 62:[69, 131] Operation: 39+92=131
Exploring Operation: 69-39=30, Resulting Numbers: [92, 30]
Generated Node #0,2,3: 62:[92, 30] Operation: 69-39=30
Exploring Operation: 92-69=23, Resulting Numbers: [39, 23]
Generated Node #0,2,4: 62:[39, 23] Operation: 92-69=23
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 62:[69, 53], Operations: ['91-22=69', '92-39=53']
Exploring Operation: 69*53=3657, Resulting Numbers: [3657]
3657,62 unequal: No Solution
Exploring Operation: 69-53=16, Resulting Numbers: [16]
16,62 unequal: No Solution
Exploring Operation: 69+53=122, Resulting Numbers: [122]
122,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,4
Current State: 62:[39, 23], Operations: ['91-22=69', '92-69=23']
Exploring Operation: 39-23=16, Resulting Numbers: [16]
16,62 unequal: No Solution
Exploring Operation: 39+23=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[91, 39, 92, 22], Operations: []
Exploring Operation: 91-22=69, Resulting Numbers: [39, 92, 69]
Generated Node #0,2: 62:[39, 92, 69] Operation: 91-22=69
Moving to Node #0,2
Current State: 62:[39, 92, 69], Operations: ['91-22=69']
Exploring Operation: 92-69=23, Resulting Numbers: [39, 23]
Generated Node #0,2,4: 62:[39, 23] Operation: 92-69=23
Moving to Node #0,2,4
Current State: 62:[39, 23], Operations: ['91-22=69', '92-69=23']
Exploring Operation: 39+23=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_5 | sum_heuristic |
[
11,
9,
46,
52
] | 49 | [
"11-9=2",
"46+52=98",
"98/2=49"
] | Current State: 49:[11, 9, 46, 52], Operations: []
Exploring Operation: 11-9=2, Resulting Numbers: [46, 52, 2]
Generated Node #2: [46, 52, 2] from Operation: 11-9=2
Current State: 49:[46, 52, 2], Operations: ['11-9=2']
Exploring Operation: 46+52=98, Resulting Numbers: [2, 98]
Generated Node #3: [2, 98] from Operation: 46+52=98
Current State: 49:[2, 98], Operations: ['11-9=2', '46+52=98']
Exploring Operation: 98/2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[11, 9, 46, 52], Operations: []
Exploring Operation: 52-46=6, Resulting Numbers: [11, 9, 6]
Generated Node #0,0: 49:[11, 9, 6] Operation: 52-46=6
Moving to Node #0,0
Current State: 49:[11, 9, 6], Operations: ['52-46=6']
Exploring Operation: 11-6=5, Resulting Numbers: [9, 5]
Generated Node #0,0,0: 49:[9, 5] Operation: 11-6=5
Moving to Node #0,0,0
Current State: 49:[9, 5], Operations: ['52-46=6', '11-6=5']
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,49 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
42,
97,
61,
75
] | 69 | [
"97-42=55",
"75-61=14",
"55+14=69"
] | Current State: 69:[42, 97, 61, 75], Operations: []
Exploring Operation: 97-42=55, Resulting Numbers: [61, 75, 55]
Generated Node #2: [61, 75, 55] from Operation: 97-42=55
Current State: 69:[61, 75, 55], Operations: ['97-42=55']
Exploring Operation: 75-61=14, Resulting Numbers: [55, 14]
Generated Node #3: [55, 14] from Operation: 75-61=14
Current State: 69:[55, 14], Operations: ['97-42=55', '75-61=14']
Exploring Operation: 55+14=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[42, 97, 61, 75], Operations: []
Exploring Operation: 97-42=55, Resulting Numbers: [61, 75, 55]
Generated Node #0,0: 69:[61, 75, 55] Operation: 97-42=55
Moving to Node #0,0
Current State: 69:[61, 75, 55], Operations: ['97-42=55']
Exploring Operation: 61-55=6, Resulting Numbers: [75, 6]
Generated Node #0,0,0: 69:[75, 6] Operation: 61-55=6
Moving to Node #0,0,0
Current State: 69:[75, 6], Operations: ['97-42=55', '61-55=6']
Exploring Operation: 75-6=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[42, 97, 61, 75], Operations: []
Exploring Operation: 97-42=55, Resulting Numbers: [61, 75, 55]
Generated Node #0,0: 69:[61, 75, 55] Operation: 97-42=55
Moving to Node #0,0
Current State: 69:[61, 75, 55], Operations: ['97-42=55']
Exploring Operation: 61-55=6, Resulting Numbers: [75, 6]
Generated Node #0,0,0: 69:[75, 6] Operation: 61-55=6
Moving to Node #0,0,0
Current State: 69:[75, 6], Operations: ['97-42=55', '61-55=6']
Exploring Operation: 75-6=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
77,
94,
2,
29
] | 53 | [
"94-29=65",
"2*65=130",
"130-77=53"
] | Current State: 53:[77, 94, 2, 29], Operations: []
Exploring Operation: 94-29=65, Resulting Numbers: [77, 2, 65]
Generated Node #2: [77, 2, 65] from Operation: 94-29=65
Current State: 53:[77, 2, 65], Operations: ['94-29=65']
Exploring Operation: 2*65=130, Resulting Numbers: [77, 130]
Generated Node #3: [77, 130] from Operation: 2*65=130
Current State: 53:[77, 130], Operations: ['94-29=65', '2*65=130']
Exploring Operation: 130-77=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[77, 94, 2, 29], Operations: []
Exploring Operation: 2*29=58, Resulting Numbers: [77, 94, 58]
Generated Node #0,0: 53:[77, 94, 58] Operation: 2*29=58
Exploring Operation: 94-2=92, Resulting Numbers: [77, 29, 92]
Generated Node #0,1: 53:[77, 29, 92] Operation: 94-2=92
Exploring Operation: 94/2=47, Resulting Numbers: [77, 29, 47]
Generated Node #0,2: 53:[77, 29, 47] Operation: 94/2=47
Exploring Operation: 77-2=75, Resulting Numbers: [94, 29, 75]
Generated Node #0,3: 53:[94, 29, 75] Operation: 77-2=75
Start Sub Search at level 1: Moving to Node #0,2
Current State: 53:[77, 29, 47], Operations: ['94/2=47']
Exploring Operation: 29+47=76, Resulting Numbers: [77, 76]
Generated Node #0,2,0: 53:[77, 76] Operation: 29+47=76
Exploring Operation: 77-29=48, Resulting Numbers: [47, 48]
Generated Node #0,2,1: 53:[47, 48] Operation: 77-29=48
Exploring Operation: 77+29=106, Resulting Numbers: [47, 106]
Generated Node #0,2,2: 53:[47, 106] Operation: 77+29=106
Exploring Operation: 77-47=30, Resulting Numbers: [29, 30]
Generated Node #0,2,3: 53:[29, 30] Operation: 77-47=30
Moving to Node #0,2,1
Current State: 53:[47, 48], Operations: ['94/2=47', '77-29=48']
Exploring Operation: 47*48=2256, Resulting Numbers: [2256]
2256,53 unequal: No Solution
Exploring Operation: 47+48=95, Resulting Numbers: [95]
95,53 unequal: No Solution
Exploring Operation: 48-47=1, Resulting Numbers: [1]
1,53 unequal: No Solution
Moving to Node #0,2,3
Current State: 53:[29, 30], Operations: ['94/2=47', '77-47=30']
Exploring Operation: 29*30=870, Resulting Numbers: [870]
870,53 unequal: No Solution
Exploring Operation: 30-29=1, Resulting Numbers: [1]
1,53 unequal: No Solution
Exploring Operation: 29+30=59, Resulting Numbers: [59]
59,53 unequal: No Solution
Moving to Node #0,2,0
Current State: 53:[77, 76], Operations: ['94/2=47', '29+47=76']
Exploring Operation: 77*76=5852, Resulting Numbers: [5852]
5852,53 unequal: No Solution
Exploring Operation: 77-76=1, Resulting Numbers: [1]
1,53 unequal: No Solution
Exploring Operation: 77+76=153, Resulting Numbers: [153]
153,53 unequal: No Solution
Moving to Node #0,2,2
Current State: 53:[47, 106], Operations: ['94/2=47', '77+29=106']
Exploring Operation: 47+106=153, Resulting Numbers: [153]
153,53 unequal: No Solution
Exploring Operation: 106-47=59, Resulting Numbers: [59]
59,53 unequal: No Solution
Exploring Operation: 47*106=4982, Resulting Numbers: [4982]
4982,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[77, 94, 58], Operations: ['2*29=58']
Exploring Operation: 77+94=171, Resulting Numbers: [58, 171]
Generated Node #0,0,0: 53:[58, 171] Operation: 77+94=171
Exploring Operation: 94-77=17, Resulting Numbers: [58, 17]
Generated Node #0,0,1: 53:[58, 17] Operation: 94-77=17
Exploring Operation: 94-58=36, Resulting Numbers: [77, 36]
Generated Node #0,0,2: 53:[77, 36] Operation: 94-58=36
Exploring Operation: 77-58=19, Resulting Numbers: [94, 19]
Generated Node #0,0,3: 53:[94, 19] Operation: 77-58=19
Moving to Node #0,0,1
Current State: 53:[58, 17], Operations: ['2*29=58', '94-77=17']
Exploring Operation: 58*17=986, Resulting Numbers: [986]
986,53 unequal: No Solution
Exploring Operation: 58-17=41, Resulting Numbers: [41]
41,53 unequal: No Solution
Exploring Operation: 58+17=75, Resulting Numbers: [75]
75,53 unequal: No Solution
Moving to Node #0,0,2
Current State: 53:[77, 36], Operations: ['2*29=58', '94-58=36']
Exploring Operation: 77+36=113, Resulting Numbers: [113]
113,53 unequal: No Solution
Exploring Operation: 77*36=2772, Resulting Numbers: [2772]
2772,53 unequal: No Solution
Exploring Operation: 77-36=41, Resulting Numbers: [41]
41,53 unequal: No Solution
Moving to Node #0,0,3
Current State: 53:[94, 19], Operations: ['2*29=58', '77-58=19']
Exploring Operation: 94-19=75, Resulting Numbers: [75]
75,53 unequal: No Solution
Exploring Operation: 94+19=113, Resulting Numbers: [113]
113,53 unequal: No Solution
Exploring Operation: 94*19=1786, Resulting Numbers: [1786]
1786,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[58, 171], Operations: ['2*29=58', '77+94=171']
Exploring Operation: 171-58=113, Resulting Numbers: [113]
113,53 unequal: No Solution
Exploring Operation: 58+171=229, Resulting Numbers: [229]
229,53 unequal: No Solution
Exploring Operation: 58*171=9918, Resulting Numbers: [9918]
9918,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[77, 29, 92], Operations: ['94-2=92']
Exploring Operation: 92-77=15, Resulting Numbers: [29, 15]
Generated Node #0,1,0: 53:[29, 15] Operation: 92-77=15
Exploring Operation: 77+29=106, Resulting Numbers: [92, 106]
Generated Node #0,1,1: 53:[92, 106] Operation: 77+29=106
Exploring Operation: 92-29=63, Resulting Numbers: [77, 63]
Generated Node #0,1,2: 53:[77, 63] Operation: 92-29=63
Exploring Operation: 77-29=48, Resulting Numbers: [92, 48]
Generated Node #0,1,3: 53:[92, 48] Operation: 77-29=48
Moving to Node #0,1,2
Current State: 53:[77, 63], Operations: ['94-2=92', '92-29=63']
Exploring Operation: 77+63=140, Resulting Numbers: [140]
140,53 unequal: No Solution
Exploring Operation: 77-63=14, Resulting Numbers: [14]
14,53 unequal: No Solution
Exploring Operation: 77*63=4851, Resulting Numbers: [4851]
4851,53 unequal: No Solution
Moving to Node #0,1,3
Current State: 53:[92, 48], Operations: ['94-2=92', '77-29=48']
Exploring Operation: 92-48=44, Resulting Numbers: [44]
44,53 unequal: No Solution
Exploring Operation: 92+48=140, Resulting Numbers: [140]
140,53 unequal: No Solution
Exploring Operation: 92*48=4416, Resulting Numbers: [4416]
4416,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[29, 15], Operations: ['94-2=92', '92-77=15']
Exploring Operation: 29+15=44, Resulting Numbers: [44]
44,53 unequal: No Solution
Exploring Operation: 29-15=14, Resulting Numbers: [14]
14,53 unequal: No Solution
Exploring Operation: 29*15=435, Resulting Numbers: [435]
435,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[92, 106], Operations: ['94-2=92', '77+29=106']
Exploring Operation: 92+106=198, Resulting Numbers: [198]
198,53 unequal: No Solution
Exploring Operation: 106-92=14, Resulting Numbers: [14]
14,53 unequal: No Solution
Exploring Operation: 92*106=9752, Resulting Numbers: [9752]
9752,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 53:[94, 29, 75], Operations: ['77-2=75']
Exploring Operation: 94-75=19, Resulting Numbers: [29, 19]
Generated Node #0,3,0: 53:[29, 19] Operation: 94-75=19
Exploring Operation: 94-29=65, Resulting Numbers: [75, 65]
Generated Node #0,3,1: 53:[75, 65] Operation: 94-29=65
Exploring Operation: 75-29=46, Resulting Numbers: [94, 46]
Generated Node #0,3,2: 53:[94, 46] Operation: 75-29=46
Exploring Operation: 94+29=123, Resulting Numbers: [75, 123]
Generated Node #0,3,3: 53:[75, 123] Operation: 94+29=123
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 53:[75, 65], Operations: ['77-2=75', '94-29=65']
Exploring Operation: 75+65=140, Resulting Numbers: [140]
140,53 unequal: No Solution
Exploring Operation: 75*65=4875, Resulting Numbers: [4875]
4875,53 unequal: No Solution
Exploring Operation: 75-65=10, Resulting Numbers: [10]
10,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 53:[94, 46], Operations: ['77-2=75', '75-29=46']
Exploring Operation: 94-46=48, Resulting Numbers: [48]
48,53 unequal: No Solution
Exploring Operation: 94+46=140, Resulting Numbers: [140]
140,53 unequal: No Solution
Exploring Operation: 94*46=4324, Resulting Numbers: [4324]
4324,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 53:[29, 19], Operations: ['77-2=75', '94-75=19']
Exploring Operation: 29-19=10, Resulting Numbers: [10]
10,53 unequal: No Solution
Exploring Operation: 29*19=551, Resulting Numbers: [551]
551,53 unequal: No Solution
Exploring Operation: 29+19=48, Resulting Numbers: [48]
48,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 53:[75, 123], Operations: ['77-2=75', '94+29=123']
Exploring Operation: 123-75=48, Resulting Numbers: [48]
48,53 unequal: No Solution
Exploring Operation: 75+123=198, Resulting Numbers: [198]
198,53 unequal: No Solution
Exploring Operation: 75*123=9225, Resulting Numbers: [9225]
9225,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
81,
84,
8,
77
] | 96 | [
"81+84=165",
"77-8=69",
"165-69=96"
] | Current State: 96:[81, 84, 8, 77], Operations: []
Exploring Operation: 81+84=165, Resulting Numbers: [8, 77, 165]
Generated Node #2: [8, 77, 165] from Operation: 81+84=165
Current State: 96:[8, 77, 165], Operations: ['81+84=165']
Exploring Operation: 77-8=69, Resulting Numbers: [165, 69]
Generated Node #3: [165, 69] from Operation: 77-8=69
Current State: 96:[165, 69], Operations: ['81+84=165', '77-8=69']
Exploring Operation: 165-69=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[81, 84, 8, 77], Operations: []
Exploring Operation: 81-77=4, Resulting Numbers: [84, 8, 4]
Generated Node #0,0: 96:[84, 8, 4] Operation: 81-77=4
Exploring Operation: 84-81=3, Resulting Numbers: [8, 77, 3]
Generated Node #0,1: 96:[8, 77, 3] Operation: 84-81=3
Exploring Operation: 81+8=89, Resulting Numbers: [84, 77, 89]
Generated Node #0,2: 96:[84, 77, 89] Operation: 81+8=89
Exploring Operation: 84-77=7, Resulting Numbers: [81, 8, 7]
Generated Node #0,3: 96:[81, 8, 7] Operation: 84-77=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[84, 8, 4], Operations: ['81-77=4']
Exploring Operation: 84+4=88, Resulting Numbers: [8, 88]
Generated Node #0,0,0: 96:[8, 88] Operation: 84+4=88
Exploring Operation: 84+8=92, Resulting Numbers: [4, 92]
Generated Node #0,0,1: 96:[4, 92] Operation: 84+8=92
Exploring Operation: 8+4=12, Resulting Numbers: [84, 12]
Generated Node #0,0,2: 96:[84, 12] Operation: 8+4=12
Exploring Operation: 84/4=21, Resulting Numbers: [8, 21]
Generated Node #0,0,3: 96:[8, 21] Operation: 84/4=21
Moving to Node #0,0,3
Current State: 96:[8, 21], Operations: ['81-77=4', '84/4=21']
Exploring Operation: 8*21=168, Resulting Numbers: [168]
168,96 unequal: No Solution
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,96 unequal: No Solution
Exploring Operation: 8+21=29, Resulting Numbers: [29]
29,96 unequal: No Solution
Moving to Node #0,0,1
Current State: 96:[4, 92], Operations: ['81-77=4', '84+8=92']
Exploring Operation: 92-4=88, Resulting Numbers: [88]
88,96 unequal: No Solution
Exploring Operation: 4+92=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[81, 84, 8, 77], Operations: []
Exploring Operation: 81-77=4, Resulting Numbers: [84, 8, 4]
Generated Node #0,0: 96:[84, 8, 4] Operation: 81-77=4
Moving to Node #0,0
Current State: 96:[84, 8, 4], Operations: ['81-77=4']
Exploring Operation: 84+8=92, Resulting Numbers: [4, 92]
Generated Node #0,0,1: 96:[4, 92] Operation: 84+8=92
Moving to Node #0,0,1
Current State: 96:[4, 92], Operations: ['81-77=4', '84+8=92']
Exploring Operation: 4+92=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
31,
13,
62,
90
] | 58 | [
"62/31=2",
"90/2=45",
"13+45=58"
] | Current State: 58:[31, 13, 62, 90], Operations: []
Exploring Operation: 62/31=2, Resulting Numbers: [13, 90, 2]
Generated Node #2: [13, 90, 2] from Operation: 62/31=2
Current State: 58:[13, 90, 2], Operations: ['62/31=2']
Exploring Operation: 90/2=45, Resulting Numbers: [13, 45]
Generated Node #3: [13, 45] from Operation: 90/2=45
Current State: 58:[13, 45], Operations: ['62/31=2', '90/2=45']
Exploring Operation: 13+45=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[31, 13, 62, 90], Operations: []
Exploring Operation: 90-62=28, Resulting Numbers: [31, 13, 28]
Generated Node #0,0: 58:[31, 13, 28] Operation: 90-62=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[31, 13, 28], Operations: ['90-62=28']
Exploring Operation: 31-13=18, Resulting Numbers: [28, 18]
Generated Node #0,0,0: 58:[28, 18] Operation: 31-13=18
Moving to Node #0,0,0
Current State: 58:[28, 18], Operations: ['90-62=28', '31-13=18']
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,58 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 |
[
74,
25,
16,
99
] | 85 | [
"25-16=9",
"99/9=11",
"74+11=85"
] | Current State: 85:[74, 25, 16, 99], Operations: []
Exploring Operation: 25-16=9, Resulting Numbers: [74, 99, 9]
Generated Node #2: [74, 99, 9] from Operation: 25-16=9
Current State: 85:[74, 99, 9], Operations: ['25-16=9']
Exploring Operation: 99/9=11, Resulting Numbers: [74, 11]
Generated Node #3: [74, 11] from Operation: 99/9=11
Current State: 85:[74, 11], Operations: ['25-16=9', '99/9=11']
Exploring Operation: 74+11=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[74, 25, 16, 99], Operations: []
Exploring Operation: 74+16=90, Resulting Numbers: [25, 99, 90]
Generated Node #0,0: 85:[25, 99, 90] Operation: 74+16=90
Exploring Operation: 99-25=74, Resulting Numbers: [74, 16, 74]
Generated Node #0,1: 85:[74, 16, 74] Operation: 99-25=74
Exploring Operation: 99-74=25, Resulting Numbers: [25, 16, 25]
Generated Node #0,2: 85:[25, 16, 25] Operation: 99-74=25
Exploring Operation: 99-16=83, Resulting Numbers: [74, 25, 83]
Generated Node #0,3: 85:[74, 25, 83] Operation: 99-16=83
Exploring Operation: 74+25=99, Resulting Numbers: [16, 99, 99]
Generated Node #0,4: 85:[16, 99, 99] Operation: 74+25=99
Start Sub Search at level 1: Moving to Node #0,2
Current State: 85:[25, 16, 25], Operations: ['99-74=25']
Exploring Operation: 25/25=1, Resulting Numbers: [16, 1]
Generated Node #0,2,0: 85:[16, 1] Operation: 25/25=1
Exploring Operation: 25-25=0, Resulting Numbers: [16, 0]
Generated Node #0,2,1: 85:[16, 0] Operation: 25-25=0
Exploring Operation: 25+16=41, Resulting Numbers: [25, 41]
Generated Node #0,2,2: 85:[25, 41] Operation: 25+16=41
Exploring Operation: 25-16=9, Resulting Numbers: [25, 9]
Generated Node #0,2,3: 85:[25, 9] Operation: 25-16=9
Exploring Operation: 25-16=9, Resulting Numbers: [25, 9]
Generated Node #0,2,4: 85:[25, 9] Operation: 25-16=9
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 85:[16, 1], Operations: ['99-74=25', '25/25=1']
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,85 unequal: No Solution
Exploring Operation: 16+1=17, Resulting Numbers: [17]
17,85 unequal: No Solution
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,85 unequal: No Solution
Exploring Operation: 16*1=16, Resulting Numbers: [16]
16,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 85:[16, 0], Operations: ['99-74=25', '25-25=0']
Exploring Operation: 16+0=16, Resulting Numbers: [16]
16,85 unequal: No Solution
Exploring Operation: 16*0=0, Resulting Numbers: [0]
0,85 unequal: No Solution
Exploring Operation: 16-0=16, Resulting Numbers: [16]
16,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 85:[25, 9], Operations: ['99-74=25', '25-16=9']
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,85 unequal: No Solution
Exploring Operation: 25*9=225, Resulting Numbers: [225]
225,85 unequal: No Solution
Exploring Operation: 25+9=34, Resulting Numbers: [34]
34,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 85:[25, 9], Operations: ['99-74=25', '25-16=9']
Exploring Operation: 25+9=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Exploring Operation: 25*9=225, Resulting Numbers: [225]
225,85 unequal: No Solution
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 85:[25, 41], Operations: ['99-74=25', '25+16=41']
Exploring Operation: 25+41=66, Resulting Numbers: [66]
66,85 unequal: No Solution
Exploring Operation: 25*41=1025, Resulting Numbers: [1025]
1025,85 unequal: No Solution
Exploring Operation: 41-25=16, Resulting Numbers: [16]
16,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 85:[74, 25, 83], Operations: ['99-16=83']
Exploring Operation: 83-25=58, Resulting Numbers: [74, 58]
Generated Node #0,3,0: 85:[74, 58] Operation: 83-25=58
Exploring Operation: 83-74=9, Resulting Numbers: [25, 9]
Generated Node #0,3,1: 85:[25, 9] Operation: 83-74=9
Exploring Operation: 25+83=108, Resulting Numbers: [74, 108]
Generated Node #0,3,2: 85:[74, 108] Operation: 25+83=108
Exploring Operation: 74-25=49, Resulting Numbers: [83, 49]
Generated Node #0,3,3: 85:[83, 49] Operation: 74-25=49
Exploring Operation: 74+25=99, Resulting Numbers: [83, 99]
Generated Node #0,3,4: 85:[83, 99] Operation: 74+25=99
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 85:[25, 9], Operations: ['99-16=83', '83-74=9']
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,85 unequal: No Solution
Exploring Operation: 25+9=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Exploring Operation: 25*9=225, Resulting Numbers: [225]
225,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 85:[83, 99], Operations: ['99-16=83', '74+25=99']
Exploring Operation: 83*99=8217, Resulting Numbers: [8217]
8217,85 unequal: No Solution
Exploring Operation: 99-83=16, Resulting Numbers: [16]
16,85 unequal: No Solution
Exploring Operation: 83+99=182, Resulting Numbers: [182]
182,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 85:[74, 108], Operations: ['99-16=83', '25+83=108']
Exploring Operation: 74*108=7992, Resulting Numbers: [7992]
7992,85 unequal: No Solution
Exploring Operation: 108-74=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Exploring Operation: 74+108=182, Resulting Numbers: [182]
182,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 85:[83, 49], Operations: ['99-16=83', '74-25=49']
Exploring Operation: 83*49=4067, Resulting Numbers: [4067]
4067,85 unequal: No Solution
Exploring Operation: 83+49=132, Resulting Numbers: [132]
132,85 unequal: No Solution
Exploring Operation: 83-49=34, Resulting Numbers: [34]
34,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 85:[74, 58], Operations: ['99-16=83', '83-25=58']
Exploring Operation: 74*58=4292, Resulting Numbers: [4292]
4292,85 unequal: No Solution
Exploring Operation: 74+58=132, Resulting Numbers: [132]
132,85 unequal: No Solution
Exploring Operation: 74-58=16, Resulting Numbers: [16]
16,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[74, 16, 74], Operations: ['99-25=74']
Exploring Operation: 74/74=1, Resulting Numbers: [16, 1]
Generated Node #0,1,0: 85:[16, 1] Operation: 74/74=1
Exploring Operation: 74+16=90, Resulting Numbers: [74, 90]
Generated Node #0,1,1: 85:[74, 90] Operation: 74+16=90
Exploring Operation: 16+74=90, Resulting Numbers: [74, 90]
Generated Node #0,1,2: 85:[74, 90] Operation: 16+74=90
Exploring Operation: 74-16=58, Resulting Numbers: [74, 58]
Generated Node #0,1,3: 85:[74, 58] Operation: 74-16=58
Exploring Operation: 74-74=0, Resulting Numbers: [16, 0]
Generated Node #0,1,4: 85:[16, 0] Operation: 74-74=0
Moving to Node #0,1,0
Current State: 85:[16, 1], Operations: ['99-25=74', '74/74=1']
Exploring Operation: 16+1=17, Resulting Numbers: [17]
17,85 unequal: No Solution
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,85 unequal: No Solution
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,85 unequal: No Solution
Exploring Operation: 16*1=16, Resulting Numbers: [16]
16,85 unequal: No Solution
Moving to Node #0,1,4
Current State: 85:[16, 0], Operations: ['99-25=74', '74-74=0']
Exploring Operation: 16+0=16, Resulting Numbers: [16]
16,85 unequal: No Solution
Exploring Operation: 16-0=16, Resulting Numbers: [16]
16,85 unequal: No Solution
Exploring Operation: 16*0=0, Resulting Numbers: [0]
0,85 unequal: No Solution
Moving to Node #0,1,1
Current State: 85:[74, 90], Operations: ['99-25=74', '74+16=90']
Exploring Operation: 90-74=16, Resulting Numbers: [16]
16,85 unequal: No Solution
Exploring Operation: 74*90=6660, Resulting Numbers: [6660]
6660,85 unequal: No Solution
Exploring Operation: 74+90=164, Resulting Numbers: [164]
164,85 unequal: No Solution
Moving to Node #0,1,2
Current State: 85:[74, 90], Operations: ['99-25=74', '16+74=90']
Exploring Operation: 74*90=6660, Resulting Numbers: [6660]
6660,85 unequal: No Solution
Exploring Operation: 74+90=164, Resulting Numbers: [164]
164,85 unequal: No Solution
Exploring Operation: 90-74=16, Resulting Numbers: [16]
16,85 unequal: No Solution
Moving to Node #0,1,3
Current State: 85:[74, 58], Operations: ['99-25=74', '74-16=58']
Exploring Operation: 74*58=4292, Resulting Numbers: [4292]
4292,85 unequal: No Solution
Exploring Operation: 74+58=132, Resulting Numbers: [132]
132,85 unequal: No Solution
Exploring Operation: 74-58=16, Resulting Numbers: [16]
16,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[25, 99, 90], Operations: ['74+16=90']
Exploring Operation: 99-25=74, Resulting Numbers: [90, 74]
Generated Node #0,0,0: 85:[90, 74] Operation: 99-25=74
Exploring Operation: 90-25=65, Resulting Numbers: [99, 65]
Generated Node #0,0,1: 85:[99, 65] Operation: 90-25=65
Exploring Operation: 25+99=124, Resulting Numbers: [90, 124]
Generated Node #0,0,2: 85:[90, 124] Operation: 25+99=124
Exploring Operation: 25+90=115, Resulting Numbers: [99, 115]
Generated Node #0,0,3: 85:[99, 115] Operation: 25+90=115
Exploring Operation: 99-90=9, Resulting Numbers: [25, 9]
Generated Node #0,0,4: 85:[25, 9] Operation: 99-90=9
Moving to Node #0,0,4
Current State: 85:[25, 9], Operations: ['74+16=90', '99-90=9']
Exploring Operation: 25+9=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,85 unequal: No Solution
Exploring Operation: 25*9=225, Resulting Numbers: [225]
225,85 unequal: No Solution
Moving to Node #0,0,0
Current State: 85:[90, 74], Operations: ['74+16=90', '99-25=74']
Exploring Operation: 90-74=16, Resulting Numbers: [16]
16,85 unequal: No Solution
Exploring Operation: 90*74=6660, Resulting Numbers: [6660]
6660,85 unequal: No Solution
Exploring Operation: 90+74=164, Resulting Numbers: [164]
164,85 unequal: No Solution
Moving to Node #0,0,1
Current State: 85:[99, 65], Operations: ['74+16=90', '90-25=65']
Exploring Operation: 99+65=164, Resulting Numbers: [164]
164,85 unequal: No Solution
Exploring Operation: 99-65=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Exploring Operation: 99*65=6435, Resulting Numbers: [6435]
6435,85 unequal: No Solution
Moving to Node #0,0,2
Current State: 85:[90, 124], Operations: ['74+16=90', '25+99=124']
Exploring Operation: 90*124=11160, Resulting Numbers: [11160]
11160,85 unequal: No Solution
Exploring Operation: 90+124=214, Resulting Numbers: [214]
214,85 unequal: No Solution
Exploring Operation: 124-90=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Moving to Node #0,0,3
Current State: 85:[99, 115], Operations: ['74+16=90', '25+90=115']
Exploring Operation: 115-99=16, Resulting Numbers: [16]
16,85 unequal: No Solution
Exploring Operation: 99*115=11385, Resulting Numbers: [11385]
11385,85 unequal: No Solution
Exploring Operation: 99+115=214, Resulting Numbers: [214]
214,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 85:[16, 99, 99], Operations: ['74+25=99']
Exploring Operation: 99/99=1, Resulting Numbers: [16, 1]
Generated Node #0,4,0: 85:[16, 1] Operation: 99/99=1
Exploring Operation: 16+99=115, Resulting Numbers: [99, 115]
Generated Node #0,4,1: 85:[99, 115] Operation: 16+99=115
Exploring Operation: 99-16=83, Resulting Numbers: [99, 83]
Generated Node #0,4,2: 85:[99, 83] Operation: 99-16=83
Exploring Operation: 99-99=0, Resulting Numbers: [16, 0]
Generated Node #0,4,3: 85:[16, 0] Operation: 99-99=0
Exploring Operation: 99-16=83, Resulting Numbers: [99, 83]
Generated Node #0,4,4: 85:[99, 83] Operation: 99-16=83
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 85:[16, 1], Operations: ['74+25=99', '99/99=1']
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,85 unequal: No Solution
Exploring Operation: 16+1=17, Resulting Numbers: [17]
17,85 unequal: No Solution
Exploring Operation: 16*1=16, Resulting Numbers: [16]
16,85 unequal: No Solution
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 85:[16, 0], Operations: ['74+25=99', '99-99=0']
Exploring Operation: 16*0=0, Resulting Numbers: [0]
0,85 unequal: No Solution
Exploring Operation: 16+0=16, Resulting Numbers: [16]
16,85 unequal: No Solution
Exploring Operation: 16-0=16, Resulting Numbers: [16]
16,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 85:[99, 83], Operations: ['74+25=99', '99-16=83']
Exploring Operation: 99+83=182, Resulting Numbers: [182]
182,85 unequal: No Solution
Exploring Operation: 99*83=8217, Resulting Numbers: [8217]
8217,85 unequal: No Solution
Exploring Operation: 99-83=16, Resulting Numbers: [16]
16,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 85:[99, 83], Operations: ['74+25=99', '99-16=83']
Exploring Operation: 99*83=8217, Resulting Numbers: [8217]
8217,85 unequal: No Solution
Exploring Operation: 99-83=16, Resulting Numbers: [16]
16,85 unequal: No Solution
Exploring Operation: 99+83=182, Resulting Numbers: [182]
182,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 85:[99, 115], Operations: ['74+25=99', '16+99=115']
Exploring Operation: 99*115=11385, Resulting Numbers: [11385]
11385,85 unequal: No Solution
Exploring Operation: 115-99=16, Resulting Numbers: [16]
16,85 unequal: No Solution
Exploring Operation: 99+115=214, Resulting Numbers: [214]
214,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
90,
68,
23,
95
] | 94 | [
"90-68=22",
"95-23=72",
"22+72=94"
] | Current State: 94:[90, 68, 23, 95], Operations: []
Exploring Operation: 90-68=22, Resulting Numbers: [23, 95, 22]
Generated Node #2: [23, 95, 22] from Operation: 90-68=22
Current State: 94:[23, 95, 22], Operations: ['90-68=22']
Exploring Operation: 95-23=72, Resulting Numbers: [22, 72]
Generated Node #3: [22, 72] from Operation: 95-23=72
Current State: 94:[22, 72], Operations: ['90-68=22', '95-23=72']
Exploring Operation: 22+72=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[90, 68, 23, 95], Operations: []
Exploring Operation: 68-23=45, Resulting Numbers: [90, 95, 45]
Generated Node #0,0: 94:[90, 95, 45] Operation: 68-23=45
Exploring Operation: 90-68=22, Resulting Numbers: [23, 95, 22]
Generated Node #0,1: 94:[23, 95, 22] Operation: 90-68=22
Exploring Operation: 68+23=91, Resulting Numbers: [90, 95, 91]
Generated Node #0,2: 94:[90, 95, 91] Operation: 68+23=91
Exploring Operation: 90-23=67, Resulting Numbers: [68, 95, 67]
Generated Node #0,3: 94:[68, 95, 67] Operation: 90-23=67
Exploring Operation: 90+23=113, Resulting Numbers: [68, 95, 113]
Generated Node #0,4: 94:[68, 95, 113] Operation: 90+23=113
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[90, 95, 45], Operations: ['68-23=45']
Exploring Operation: 95-45=50, Resulting Numbers: [90, 50]
Generated Node #0,0,0: 94:[90, 50] Operation: 95-45=50
Exploring Operation: 90+45=135, Resulting Numbers: [95, 135]
Generated Node #0,0,1: 94:[95, 135] Operation: 90+45=135
Exploring Operation: 90/45=2, Resulting Numbers: [95, 2]
Generated Node #0,0,2: 94:[95, 2] Operation: 90/45=2
Exploring Operation: 90-45=45, Resulting Numbers: [95, 45]
Generated Node #0,0,3: 94:[95, 45] Operation: 90-45=45
Exploring Operation: 95-90=5, Resulting Numbers: [45, 5]
Generated Node #0,0,4: 94:[45, 5] Operation: 95-90=5
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 94:[95, 2], Operations: ['68-23=45', '90/45=2']
Exploring Operation: 95*2=190, Resulting Numbers: [190]
190,94 unequal: No Solution
Exploring Operation: 95-2=93, Resulting Numbers: [93]
93,94 unequal: No Solution
Exploring Operation: 95+2=97, Resulting Numbers: [97]
97,94 unequal: No Solution
No 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: 94:[95, 45], Operations: ['68-23=45', '90-45=45']
Exploring Operation: 95-45=50, Resulting Numbers: [50]
50,94 unequal: No Solution
Exploring Operation: 95*45=4275, Resulting Numbers: [4275]
4275,94 unequal: No Solution
Exploring Operation: 95+45=140, Resulting Numbers: [140]
140,94 unequal: No Solution
No 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: 94:[45, 5], Operations: ['68-23=45', '95-90=5']
Exploring Operation: 45+5=50, Resulting Numbers: [50]
50,94 unequal: No Solution
Exploring Operation: 45/5=9, Resulting Numbers: [9]
9,94 unequal: No Solution
Exploring Operation: 45-5=40, Resulting Numbers: [40]
40,94 unequal: No Solution
Exploring Operation: 45*5=225, Resulting Numbers: [225]
225,94 unequal: No Solution
No 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: 94:[90, 50], Operations: ['68-23=45', '95-45=50']
Exploring Operation: 90+50=140, Resulting Numbers: [140]
140,94 unequal: No Solution
Exploring Operation: 90-50=40, Resulting Numbers: [40]
40,94 unequal: No Solution
Exploring Operation: 90*50=4500, Resulting Numbers: [4500]
4500,94 unequal: No Solution
No 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: 94:[95, 135], Operations: ['68-23=45', '90+45=135']
Exploring Operation: 135-95=40, Resulting Numbers: [40]
40,94 unequal: No Solution
Exploring Operation: 95*135=12825, Resulting Numbers: [12825]
12825,94 unequal: No Solution
Exploring Operation: 95+135=230, Resulting Numbers: [230]
230,94 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: 94:[90, 95, 91], Operations: ['68+23=91']
Exploring Operation: 90+91=181, Resulting Numbers: [95, 181]
Generated Node #0,2,0: 94:[95, 181] Operation: 90+91=181
Exploring Operation: 95-90=5, Resulting Numbers: [91, 5]
Generated Node #0,2,1: 94:[91, 5] Operation: 95-90=5
Exploring Operation: 95-91=4, Resulting Numbers: [90, 4]
Generated Node #0,2,2: 94:[90, 4] Operation: 95-91=4
Exploring Operation: 91-90=1, Resulting Numbers: [95, 1]
Generated Node #0,2,3: 94:[95, 1] Operation: 91-90=1
Exploring Operation: 90+95=185, Resulting Numbers: [91, 185]
Generated Node #0,2,4: 94:[91, 185] Operation: 90+95=185
Moving to Node #0,2,3
Current State: 94:[95, 1], Operations: ['68+23=91', '91-90=1']
Exploring Operation: 95/1=95, Resulting Numbers: [95]
95,94 unequal: No Solution
Exploring Operation: 95+1=96, Resulting Numbers: [96]
96,94 unequal: No Solution
Exploring Operation: 95*1=95, Resulting Numbers: [95]
95,94 unequal: No Solution
Exploring Operation: 95-1=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[90, 68, 23, 95], Operations: []
Exploring Operation: 68+23=91, Resulting Numbers: [90, 95, 91]
Generated Node #0,2: 94:[90, 95, 91] Operation: 68+23=91
Moving to Node #0,2
Current State: 94:[90, 95, 91], Operations: ['68+23=91']
Exploring Operation: 91-90=1, Resulting Numbers: [95, 1]
Generated Node #0,2,3: 94:[95, 1] Operation: 91-90=1
Moving to Node #0,2,3
Current State: 94:[95, 1], Operations: ['68+23=91', '91-90=1']
Exploring Operation: 95-1=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 | hs_5 | sum_heuristic |
[
73,
5,
40,
93
] | 72 | [
"73-40=33",
"5*33=165",
"165-93=72"
] | Current State: 72:[73, 5, 40, 93], Operations: []
Exploring Operation: 73-40=33, Resulting Numbers: [5, 93, 33]
Generated Node #2: [5, 93, 33] from Operation: 73-40=33
Current State: 72:[5, 93, 33], Operations: ['73-40=33']
Exploring Operation: 5*33=165, Resulting Numbers: [93, 165]
Generated Node #3: [93, 165] from Operation: 5*33=165
Current State: 72:[93, 165], Operations: ['73-40=33', '5*33=165']
Exploring Operation: 165-93=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[73, 5, 40, 93], Operations: []
Exploring Operation: 93-40=53, Resulting Numbers: [73, 5, 53]
Generated Node #0,0: 72:[73, 5, 53] Operation: 93-40=53
Exploring Operation: 93-73=20, Resulting Numbers: [5, 40, 20]
Generated Node #0,1: 72:[5, 40, 20] Operation: 93-73=20
Exploring Operation: 93-5=88, Resulting Numbers: [73, 40, 88]
Generated Node #0,2: 72:[73, 40, 88] Operation: 93-5=88
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[5, 40, 20], Operations: ['93-73=20']
Exploring Operation: 40/5=8, Resulting Numbers: [20, 8]
Generated Node #0,1,0: 72:[20, 8] Operation: 40/5=8
Exploring Operation: 40/20=2, Resulting Numbers: [5, 2]
Generated Node #0,1,1: 72:[5, 2] Operation: 40/20=2
Exploring Operation: 40-5=35, Resulting Numbers: [20, 35]
Generated Node #0,1,2: 72:[20, 35] Operation: 40-5=35
Moving to Node #0,1,1
Current State: 72:[5, 2], Operations: ['93-73=20', '40/20=2']
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,72 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,72 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Moving to Node #0,1,0
Current State: 72:[20, 8], Operations: ['93-73=20', '40/5=8']
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,72 unequal: No Solution
Exploring Operation: 20*8=160, Resulting Numbers: [160]
160,72 unequal: No Solution
Exploring Operation: 20+8=28, Resulting Numbers: [28]
28,72 unequal: No Solution
Moving to Node #0,1,2
Current State: 72:[20, 35], Operations: ['93-73=20', '40-5=35']
Exploring Operation: 35-20=15, Resulting Numbers: [15]
15,72 unequal: No Solution
Exploring Operation: 20*35=700, Resulting Numbers: [700]
700,72 unequal: No Solution
Exploring Operation: 20+35=55, Resulting Numbers: [55]
55,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[73, 5, 53], Operations: ['93-40=53']
Exploring Operation: 5+53=58, Resulting Numbers: [73, 58]
Generated Node #0,0,0: 72:[73, 58] Operation: 5+53=58
Exploring Operation: 73-53=20, Resulting Numbers: [5, 20]
Generated Node #0,0,1: 72:[5, 20] Operation: 73-53=20
Exploring Operation: 53-5=48, Resulting Numbers: [73, 48]
Generated Node #0,0,2: 72:[73, 48] Operation: 53-5=48
Moving to Node #0,0,1
Current State: 72:[5, 20], Operations: ['93-40=53', '73-53=20']
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,72 unequal: No Solution
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,72 unequal: No Solution
Moving to Node #0,0,2
Current State: 72:[73, 48], Operations: ['93-40=53', '53-5=48']
Exploring Operation: 73*48=3504, Resulting Numbers: [3504]
3504,72 unequal: No Solution
Exploring Operation: 73-48=25, Resulting Numbers: [25]
25,72 unequal: No Solution
Exploring Operation: 73+48=121, Resulting Numbers: [121]
121,72 unequal: No Solution
Moving to Node #0,0,0
Current State: 72:[73, 58], Operations: ['93-40=53', '5+53=58']
Exploring Operation: 73*58=4234, Resulting Numbers: [4234]
4234,72 unequal: No Solution
Exploring Operation: 73+58=131, Resulting Numbers: [131]
131,72 unequal: No Solution
Exploring Operation: 73-58=15, Resulting Numbers: [15]
15,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 72:[73, 40, 88], Operations: ['93-5=88']
Exploring Operation: 73-40=33, Resulting Numbers: [88, 33]
Generated Node #0,2,0: 72:[88, 33] Operation: 73-40=33
Exploring Operation: 88-40=48, Resulting Numbers: [73, 48]
Generated Node #0,2,1: 72:[73, 48] Operation: 88-40=48
Exploring Operation: 88-73=15, Resulting Numbers: [40, 15]
Generated Node #0,2,2: 72:[40, 15] Operation: 88-73=15
Moving to Node #0,2,2
Current State: 72:[40, 15], Operations: ['93-5=88', '88-73=15']
Exploring Operation: 40-15=25, Resulting Numbers: [25]
25,72 unequal: No Solution
Exploring Operation: 40+15=55, Resulting Numbers: [55]
55,72 unequal: No Solution
Exploring Operation: 40*15=600, Resulting Numbers: [600]
600,72 unequal: No Solution
Moving to Node #0,2,1
Current State: 72:[73, 48], Operations: ['93-5=88', '88-40=48']
Exploring Operation: 73+48=121, Resulting Numbers: [121]
121,72 unequal: No Solution
Exploring Operation: 73*48=3504, Resulting Numbers: [3504]
3504,72 unequal: No Solution
Exploring Operation: 73-48=25, Resulting Numbers: [25]
25,72 unequal: No Solution
Moving to Node #0,2,0
Current State: 72:[88, 33], Operations: ['93-5=88', '73-40=33']
Exploring Operation: 88-33=55, Resulting Numbers: [55]
55,72 unequal: No Solution
Exploring Operation: 88*33=2904, Resulting Numbers: [2904]
2904,72 unequal: No Solution
Exploring Operation: 88+33=121, Resulting Numbers: [121]
121,72 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 |
[
54,
54,
10,
99
] | 24 | [
"54-10=44",
"54*44=2376",
"2376/99=24"
] | Current State: 24:[54, 54, 10, 99], Operations: []
Exploring Operation: 54-10=44, Resulting Numbers: [99, 44]
Generated Node #2: [99, 44] from Operation: 54-10=44
Current State: 24:[99, 44], Operations: ['54-10=44']
Exploring Operation: 54*44=2376, Resulting Numbers: [99, 2376]
Generated Node #3: [99, 2376] from Operation: 54*44=2376
Current State: 24:[99, 2376], Operations: ['54-10=44', '54*44=2376']
Exploring Operation: 2376/99=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[54, 54, 10, 99], Operations: []
Exploring Operation: 99-54=45, Resulting Numbers: [54, 10, 45]
Generated Node #0,0: 24:[54, 10, 45] Operation: 99-54=45
Exploring Operation: 99-54=45, Resulting Numbers: [54, 10, 45]
Generated Node #0,1: 24:[54, 10, 45] Operation: 99-54=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[54, 10, 45], Operations: ['99-54=45']
Exploring Operation: 54-10=44, Resulting Numbers: [45, 44]
Generated Node #0,0,0: 24:[45, 44] Operation: 54-10=44
Exploring Operation: 54-45=9, Resulting Numbers: [10, 9]
Generated Node #0,0,1: 24:[10, 9] Operation: 54-45=9
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 24:[10, 9], Operations: ['99-54=45', '54-45=9']
Exploring Operation: 10+9=19, Resulting Numbers: [19]
19,24 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 24:[45, 44], Operations: ['99-54=45', '54-10=44']
Exploring Operation: 45-44=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 45+44=89, Resulting Numbers: [89]
89,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 24:[54, 10, 45], Operations: ['99-54=45']
Exploring Operation: 54-10=44, Resulting Numbers: [45, 44]
Generated Node #0,1,0: 24:[45, 44] Operation: 54-10=44
Exploring Operation: 54-45=9, Resulting Numbers: [10, 9]
Generated Node #0,1,1: 24:[10, 9] Operation: 54-45=9
Moving to Node #0,1,1
Current State: 24:[10, 9], Operations: ['99-54=45', '54-45=9']
Exploring Operation: 10+9=19, Resulting Numbers: [19]
19,24 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Moving to Node #0,1,0
Current State: 24:[45, 44], Operations: ['99-54=45', '54-10=44']
Exploring Operation: 45-44=1, Resulting Numbers: [1]
1,24 unequal: No Solution
Exploring Operation: 45+44=89, Resulting Numbers: [89]
89,24 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 |
[
13,
9,
97,
3
] | 57 | [
"97-13=84",
"9*3=27",
"84-27=57"
] | Current State: 57:[13, 9, 97, 3], Operations: []
Exploring Operation: 97-13=84, Resulting Numbers: [9, 3, 84]
Generated Node #2: [9, 3, 84] from Operation: 97-13=84
Current State: 57:[9, 3, 84], Operations: ['97-13=84']
Exploring Operation: 9*3=27, Resulting Numbers: [84, 27]
Generated Node #3: [84, 27] from Operation: 9*3=27
Current State: 57:[84, 27], Operations: ['97-13=84', '9*3=27']
Exploring Operation: 84-27=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[13, 9, 97, 3], Operations: []
Exploring Operation: 13-9=4, Resulting Numbers: [97, 3, 4]
Generated Node #0,0: 57:[97, 3, 4] Operation: 13-9=4
Exploring Operation: 97-13=84, Resulting Numbers: [9, 3, 84]
Generated Node #0,1: 57:[9, 3, 84] Operation: 97-13=84
Exploring Operation: 9/3=3, Resulting Numbers: [13, 97, 3]
Generated Node #0,2: 57:[13, 97, 3] Operation: 9/3=3
Exploring Operation: 13+9=22, Resulting Numbers: [97, 3, 22]
Generated Node #0,3: 57:[97, 3, 22] Operation: 13+9=22
Exploring Operation: 97-9=88, Resulting Numbers: [13, 3, 88]
Generated Node #0,4: 57:[13, 3, 88] Operation: 97-9=88
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[9, 3, 84], Operations: ['97-13=84']
Exploring Operation: 84/3=28, Resulting Numbers: [9, 28]
Generated Node #0,1,0: 57:[9, 28] Operation: 84/3=28
Exploring Operation: 84-9=75, Resulting Numbers: [3, 75]
Generated Node #0,1,1: 57:[3, 75] Operation: 84-9=75
Exploring Operation: 9-3=6, Resulting Numbers: [84, 6]
Generated Node #0,1,2: 57:[84, 6] Operation: 9-3=6
Exploring Operation: 84-3=81, Resulting Numbers: [9, 81]
Generated Node #0,1,3: 57:[9, 81] Operation: 84-3=81
Exploring Operation: 9/3=3, Resulting Numbers: [84, 3]
Generated Node #0,1,4: 57:[84, 3] Operation: 9/3=3
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 57:[9, 28], Operations: ['97-13=84', '84/3=28']
Exploring Operation: 9*28=252, Resulting Numbers: [252]
252,57 unequal: No Solution
Exploring Operation: 9+28=37, Resulting Numbers: [37]
37,57 unequal: No Solution
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,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:[3, 75], Operations: ['97-13=84', '84-9=75']
Exploring Operation: 75-3=72, Resulting Numbers: [72]
72,57 unequal: No Solution
Exploring Operation: 3*75=225, Resulting Numbers: [225]
225,57 unequal: No Solution
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,57 unequal: No Solution
Exploring Operation: 3+75=78, Resulting Numbers: [78]
78,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:[84, 3], Operations: ['97-13=84', '9/3=3']
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,57 unequal: No Solution
Exploring Operation: 84/3=28, Resulting Numbers: [28]
28,57 unequal: No Solution
Exploring Operation: 84+3=87, Resulting Numbers: [87]
87,57 unequal: No Solution
Exploring Operation: 84*3=252, Resulting Numbers: [252]
252,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,2
Current State: 57:[84, 6], Operations: ['97-13=84', '9-3=6']
Exploring Operation: 84-6=78, Resulting Numbers: [78]
78,57 unequal: No Solution
Exploring Operation: 84*6=504, Resulting Numbers: [504]
504,57 unequal: No Solution
Exploring Operation: 84/6=14, Resulting Numbers: [14]
14,57 unequal: No Solution
Exploring Operation: 84+6=90, Resulting Numbers: [90]
90,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:[9, 81], Operations: ['97-13=84', '84-3=81']
Exploring Operation: 9+81=90, Resulting Numbers: [90]
90,57 unequal: No Solution
Exploring Operation: 9*81=729, Resulting Numbers: [729]
729,57 unequal: No Solution
Exploring Operation: 81/9=9, Resulting Numbers: [9]
9,57 unequal: No Solution
Exploring Operation: 81-9=72, Resulting Numbers: [72]
72,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:[13, 3, 88], Operations: ['97-9=88']
Exploring Operation: 13+3=16, Resulting Numbers: [88, 16]
Generated Node #0,4,0: 57:[88, 16] Operation: 13+3=16
Exploring Operation: 3+88=91, Resulting Numbers: [13, 91]
Generated Node #0,4,1: 57:[13, 91] Operation: 3+88=91
Exploring Operation: 88-13=75, Resulting Numbers: [3, 75]
Generated Node #0,4,2: 57:[3, 75] Operation: 88-13=75
Exploring Operation: 13-3=10, Resulting Numbers: [88, 10]
Generated Node #0,4,3: 57:[88, 10] Operation: 13-3=10
Exploring Operation: 88-3=85, Resulting Numbers: [13, 85]
Generated Node #0,4,4: 57:[13, 85] Operation: 88-3=85
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 57:[3, 75], Operations: ['97-9=88', '88-13=75']
Exploring Operation: 75-3=72, Resulting Numbers: [72]
72,57 unequal: No Solution
Exploring Operation: 3+75=78, Resulting Numbers: [78]
78,57 unequal: No Solution
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,57 unequal: No Solution
Exploring Operation: 3*75=225, Resulting Numbers: [225]
225,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,4,0
Current State: 57:[88, 16], Operations: ['97-9=88', '13+3=16']
Exploring Operation: 88+16=104, Resulting Numbers: [104]
104,57 unequal: No Solution
Exploring Operation: 88-16=72, Resulting Numbers: [72]
72,57 unequal: No Solution
Exploring Operation: 88*16=1408, Resulting Numbers: [1408]
1408,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,4,4
Current State: 57:[13, 85], Operations: ['97-9=88', '88-3=85']
Exploring Operation: 13+85=98, Resulting Numbers: [98]
98,57 unequal: No Solution
Exploring Operation: 13*85=1105, Resulting Numbers: [1105]
1105,57 unequal: No Solution
Exploring Operation: 85-13=72, Resulting Numbers: [72]
72,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,4,3
Current State: 57:[88, 10], Operations: ['97-9=88', '13-3=10']
Exploring Operation: 88-10=78, Resulting Numbers: [78]
78,57 unequal: No Solution
Exploring Operation: 88*10=880, Resulting Numbers: [880]
880,57 unequal: No Solution
Exploring Operation: 88+10=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,4,1
Current State: 57:[13, 91], Operations: ['97-9=88', '3+88=91']
Exploring Operation: 91/13=7, Resulting Numbers: [7]
7,57 unequal: No Solution
Exploring Operation: 13+91=104, Resulting Numbers: [104]
104,57 unequal: No Solution
Exploring Operation: 91-13=78, Resulting Numbers: [78]
78,57 unequal: No Solution
Exploring Operation: 13*91=1183, Resulting Numbers: [1183]
1183,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,0
Current State: 57:[97, 3, 4], Operations: ['13-9=4']
Exploring Operation: 97+4=101, Resulting Numbers: [3, 101]
Generated Node #0,0,0: 57:[3, 101] Operation: 97+4=101
Exploring Operation: 97+3=100, Resulting Numbers: [4, 100]
Generated Node #0,0,1: 57:[4, 100] Operation: 97+3=100
Exploring Operation: 4-3=1, Resulting Numbers: [97, 1]
Generated Node #0,0,2: 57:[97, 1] Operation: 4-3=1
Exploring Operation: 97-4=93, Resulting Numbers: [3, 93]
Generated Node #0,0,3: 57:[3, 93] Operation: 97-4=93
Exploring Operation: 97-3=94, Resulting Numbers: [4, 94]
Generated Node #0,0,4: 57:[4, 94] Operation: 97-3=94
Moving to Node #0,0,3
Current State: 57:[3, 93], Operations: ['13-9=4', '97-4=93']
Exploring Operation: 3*93=279, Resulting Numbers: [279]
279,57 unequal: No Solution
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,57 unequal: No Solution
Exploring Operation: 3+93=96, Resulting Numbers: [96]
96,57 unequal: No Solution
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,57 unequal: No Solution
Moving to Node #0,0,4
Current State: 57:[4, 94], Operations: ['13-9=4', '97-3=94']
Exploring Operation: 94-4=90, Resulting Numbers: [90]
90,57 unequal: No Solution
Exploring Operation: 4*94=376, Resulting Numbers: [376]
376,57 unequal: No Solution
Exploring Operation: 4+94=98, Resulting Numbers: [98]
98,57 unequal: No Solution
Moving to Node #0,0,2
Current State: 57:[97, 1], Operations: ['13-9=4', '4-3=1']
Exploring Operation: 97*1=97, Resulting Numbers: [97]
97,57 unequal: No Solution
Exploring Operation: 97+1=98, Resulting Numbers: [98]
98,57 unequal: No Solution
Exploring Operation: 97-1=96, Resulting Numbers: [96]
96,57 unequal: No Solution
Exploring Operation: 97/1=97, Resulting Numbers: [97]
97,57 unequal: No Solution
Moving to Node #0,0,0
Current State: 57:[3, 101], Operations: ['13-9=4', '97+4=101']
Exploring Operation: 101-3=98, Resulting Numbers: [98]
98,57 unequal: No Solution
Exploring Operation: 3*101=303, Resulting Numbers: [303]
303,57 unequal: No Solution
Exploring Operation: 3+101=104, Resulting Numbers: [104]
104,57 unequal: No Solution
Moving to Node #0,0,1
Current State: 57:[4, 100], Operations: ['13-9=4', '97+3=100']
Exploring Operation: 100/4=25, Resulting Numbers: [25]
25,57 unequal: No Solution
Exploring Operation: 4+100=104, Resulting Numbers: [104]
104,57 unequal: No Solution
Exploring Operation: 100-4=96, Resulting Numbers: [96]
96,57 unequal: No Solution
Exploring Operation: 4*100=400, Resulting Numbers: [400]
400,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:[97, 3, 22], Operations: ['13+9=22']
Exploring Operation: 97-3=94, Resulting Numbers: [22, 94]
Generated Node #0,3,0: 57:[22, 94] Operation: 97-3=94
Exploring Operation: 22-3=19, Resulting Numbers: [97, 19]
Generated Node #0,3,1: 57:[97, 19] Operation: 22-3=19
Exploring Operation: 3+22=25, Resulting Numbers: [97, 25]
Generated Node #0,3,2: 57:[97, 25] Operation: 3+22=25
Exploring Operation: 97-22=75, Resulting Numbers: [3, 75]
Generated Node #0,3,3: 57:[3, 75] Operation: 97-22=75
Exploring Operation: 97+3=100, Resulting Numbers: [22, 100]
Generated Node #0,3,4: 57:[22, 100] Operation: 97+3=100
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 57:[3, 75], Operations: ['13+9=22', '97-22=75']
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,57 unequal: No Solution
Exploring Operation: 75-3=72, Resulting Numbers: [72]
72,57 unequal: No Solution
Exploring Operation: 3*75=225, Resulting Numbers: [225]
225,57 unequal: No Solution
Exploring Operation: 3+75=78, Resulting Numbers: [78]
78,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:[22, 94], Operations: ['13+9=22', '97-3=94']
Exploring Operation: 22*94=2068, Resulting Numbers: [2068]
2068,57 unequal: No Solution
Exploring Operation: 22+94=116, Resulting Numbers: [116]
116,57 unequal: No Solution
Exploring Operation: 94-22=72, Resulting Numbers: [72]
72,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:[97, 19], Operations: ['13+9=22', '22-3=19']
Exploring Operation: 97*19=1843, Resulting Numbers: [1843]
1843,57 unequal: No Solution
Exploring Operation: 97-19=78, Resulting Numbers: [78]
78,57 unequal: No Solution
Exploring Operation: 97+19=116, Resulting Numbers: [116]
116,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,2
Current State: 57:[97, 25], Operations: ['13+9=22', '3+22=25']
Exploring Operation: 97+25=122, Resulting Numbers: [122]
122,57 unequal: No Solution
Exploring Operation: 97*25=2425, Resulting Numbers: [2425]
2425,57 unequal: No Solution
Exploring Operation: 97-25=72, Resulting Numbers: [72]
72,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:[22, 100], Operations: ['13+9=22', '97+3=100']
Exploring Operation: 22*100=2200, Resulting Numbers: [2200]
2200,57 unequal: No Solution
Exploring Operation: 22+100=122, Resulting Numbers: [122]
122,57 unequal: No Solution
Exploring Operation: 100-22=78, Resulting Numbers: [78]
78,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:[13, 97, 3], Operations: ['9/3=3']
Exploring Operation: 13-3=10, Resulting Numbers: [97, 10]
Generated Node #0,2,0: 57:[97, 10] Operation: 13-3=10
Exploring Operation: 97-13=84, Resulting Numbers: [3, 84]
Generated Node #0,2,1: 57:[3, 84] Operation: 97-13=84
Exploring Operation: 97+3=100, Resulting Numbers: [13, 100]
Generated Node #0,2,2: 57:[13, 100] Operation: 97+3=100
Exploring Operation: 13+3=16, Resulting Numbers: [97, 16]
Generated Node #0,2,3: 57:[97, 16] Operation: 13+3=16
Exploring Operation: 97-3=94, Resulting Numbers: [13, 94]
Generated Node #0,2,4: 57:[13, 94] Operation: 97-3=94
Moving to Node #0,2,1
Current State: 57:[3, 84], Operations: ['9/3=3', '97-13=84']
Exploring Operation: 3*84=252, Resulting Numbers: [252]
252,57 unequal: No Solution
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,57 unequal: No Solution
Exploring Operation: 3+84=87, Resulting Numbers: [87]
87,57 unequal: No Solution
Exploring Operation: 84/3=28, Resulting Numbers: [28]
28,57 unequal: No Solution
Moving to Node #0,2,4
Current State: 57:[13, 94], Operations: ['9/3=3', '97-3=94']
Exploring Operation: 13+94=107, Resulting Numbers: [107]
107,57 unequal: No Solution
Exploring Operation: 94-13=81, Resulting Numbers: [81]
81,57 unequal: No Solution
Exploring Operation: 13*94=1222, Resulting Numbers: [1222]
1222,57 unequal: No Solution
Moving to Node #0,2,3
Current State: 57:[97, 16], Operations: ['9/3=3', '13+3=16']
Exploring Operation: 97-16=81, Resulting Numbers: [81]
81,57 unequal: No Solution
Exploring Operation: 97*16=1552, Resulting Numbers: [1552]
1552,57 unequal: No Solution
Exploring Operation: 97+16=113, Resulting Numbers: [113]
113,57 unequal: No Solution
Moving to Node #0,2,0
Current State: 57:[97, 10], Operations: ['9/3=3', '13-3=10']
Exploring Operation: 97+10=107, Resulting Numbers: [107]
107,57 unequal: No Solution
Exploring Operation: 97*10=970, Resulting Numbers: [970]
970,57 unequal: No Solution
Exploring Operation: 97-10=87, Resulting Numbers: [87]
87,57 unequal: No Solution
Moving to Node #0,2,2
Current State: 57:[13, 100], Operations: ['9/3=3', '97+3=100']
Exploring Operation: 100-13=87, Resulting Numbers: [87]
87,57 unequal: No Solution
Exploring Operation: 13*100=1300, Resulting Numbers: [1300]
1300,57 unequal: No Solution
Exploring Operation: 13+100=113, Resulting Numbers: [113]
113,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 |
[
62,
23,
49,
25
] | 15 | [
"62-23=39",
"49-25=24",
"39-24=15"
] | Current State: 15:[62, 23, 49, 25], Operations: []
Exploring Operation: 62-23=39, Resulting Numbers: [49, 25, 39]
Generated Node #2: [49, 25, 39] from Operation: 62-23=39
Current State: 15:[49, 25, 39], Operations: ['62-23=39']
Exploring Operation: 49-25=24, Resulting Numbers: [39, 24]
Generated Node #3: [39, 24] from Operation: 49-25=24
Current State: 15:[39, 24], Operations: ['62-23=39', '49-25=24']
Exploring Operation: 39-24=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[62, 23, 49, 25], Operations: []
Exploring Operation: 62-25=37, Resulting Numbers: [23, 49, 37]
Generated Node #0,0: 15:[23, 49, 37] Operation: 62-25=37
Exploring Operation: 49-23=26, Resulting Numbers: [62, 25, 26]
Generated Node #0,1: 15:[62, 25, 26] Operation: 49-23=26
Exploring Operation: 49-25=24, Resulting Numbers: [62, 23, 24]
Generated Node #0,2: 15:[62, 23, 24] Operation: 49-25=24
Exploring Operation: 62-23=39, Resulting Numbers: [49, 25, 39]
Generated Node #0,3: 15:[49, 25, 39] Operation: 62-23=39
Exploring Operation: 62-49=13, Resulting Numbers: [23, 25, 13]
Generated Node #0,4: 15:[23, 25, 13] Operation: 62-49=13
Moving to Node #0,4
Current State: 15:[23, 25, 13], Operations: ['62-49=13']
Exploring Operation: 23-13=10, Resulting Numbers: [25, 10]
Generated Node #0,4,0: 15:[25, 10] Operation: 23-13=10
Exploring Operation: 25+13=38, Resulting Numbers: [23, 38]
Generated Node #0,4,1: 15:[23, 38] Operation: 25+13=38
Exploring Operation: 23+13=36, Resulting Numbers: [25, 36]
Generated Node #0,4,2: 15:[25, 36] Operation: 23+13=36
Exploring Operation: 25-13=12, Resulting Numbers: [23, 12]
Generated Node #0,4,3: 15:[23, 12] Operation: 25-13=12
Exploring Operation: 25-23=2, Resulting Numbers: [13, 2]
Generated Node #0,4,4: 15:[13, 2] Operation: 25-23=2
Moving to Node #0,2
Current State: 15:[62, 23, 24], Operations: ['49-25=24']
Exploring Operation: 62-23=39, Resulting Numbers: [24, 39]
Generated Node #0,2,0: 15:[24, 39] Operation: 62-23=39
Exploring Operation: 24-23=1, Resulting Numbers: [62, 1]
Generated Node #0,2,1: 15:[62, 1] Operation: 24-23=1
Exploring Operation: 62-24=38, Resulting Numbers: [23, 38]
Generated Node #0,2,2: 15:[23, 38] Operation: 62-24=38
Exploring Operation: 62+23=85, Resulting Numbers: [24, 85]
Generated Node #0,2,3: 15:[24, 85] Operation: 62+23=85
Exploring Operation: 62+24=86, Resulting Numbers: [23, 86]
Generated Node #0,2,4: 15:[23, 86] Operation: 62+24=86
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 15:[23, 38], Operations: ['49-25=24', '62-24=38']
Exploring Operation: 38-23=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[62, 23, 49, 25], Operations: []
Exploring Operation: 49-25=24, Resulting Numbers: [62, 23, 24]
Generated Node #0,2: 15:[62, 23, 24] Operation: 49-25=24
Moving to Node #0,2
Current State: 15:[62, 23, 24], Operations: ['49-25=24']
Exploring Operation: 62-24=38, Resulting Numbers: [23, 38]
Generated Node #0,2,2: 15:[23, 38] Operation: 62-24=38
Moving to Node #0,2,2
Current State: 15:[23, 38], Operations: ['49-25=24', '62-24=38']
Exploring Operation: 38-23=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
14,
21,
23,
92
] | 34 | [
"14+21=35",
"92-23=69",
"69-35=34"
] | Current State: 34:[14, 21, 23, 92], Operations: []
Exploring Operation: 14+21=35, Resulting Numbers: [23, 92, 35]
Generated Node #2: [23, 92, 35] from Operation: 14+21=35
Current State: 34:[23, 92, 35], Operations: ['14+21=35']
Exploring Operation: 92-23=69, Resulting Numbers: [35, 69]
Generated Node #3: [35, 69] from Operation: 92-23=69
Current State: 34:[35, 69], Operations: ['14+21=35', '92-23=69']
Exploring Operation: 69-35=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[14, 21, 23, 92], Operations: []
Exploring Operation: 92/23=4, Resulting Numbers: [14, 21, 4]
Generated Node #0,0: 34:[14, 21, 4] Operation: 92/23=4
Exploring Operation: 92-14=78, Resulting Numbers: [21, 23, 78]
Generated Node #0,1: 34:[21, 23, 78] Operation: 92-14=78
Exploring Operation: 23-21=2, Resulting Numbers: [14, 92, 2]
Generated Node #0,2: 34:[14, 92, 2] Operation: 23-21=2
Exploring Operation: 92-21=71, Resulting Numbers: [14, 23, 71]
Generated Node #0,3: 34:[14, 23, 71] Operation: 92-21=71
Exploring Operation: 92-23=69, Resulting Numbers: [14, 21, 69]
Generated Node #0,4: 34:[14, 21, 69] Operation: 92-23=69
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[14, 21, 4], Operations: ['92/23=4']
Exploring Operation: 14+21=35, Resulting Numbers: [4, 35]
Generated Node #0,0,0: 34:[4, 35] Operation: 14+21=35
Exploring Operation: 21-4=17, Resulting Numbers: [14, 17]
Generated Node #0,0,1: 34:[14, 17] Operation: 21-4=17
Exploring Operation: 14-4=10, Resulting Numbers: [21, 10]
Generated Node #0,0,2: 34:[21, 10] Operation: 14-4=10
Exploring Operation: 21-14=7, Resulting Numbers: [4, 7]
Generated Node #0,0,3: 34:[4, 7] Operation: 21-14=7
Exploring Operation: 14+4=18, Resulting Numbers: [21, 18]
Generated Node #0,0,4: 34:[21, 18] Operation: 14+4=18
Moving to Node #0,0,0
Current State: 34:[4, 35], Operations: ['92/23=4', '14+21=35']
Exploring Operation: 4+35=39, Resulting Numbers: [39]
39,34 unequal: No Solution
Exploring Operation: 4*35=140, Resulting Numbers: [140]
140,34 unequal: No Solution
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,34 unequal: No Solution
Moving to Node #0,0,1
Current State: 34:[14, 17], Operations: ['92/23=4', '21-4=17']
Exploring Operation: 14+17=31, Resulting Numbers: [31]
31,34 unequal: No Solution
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Exploring Operation: 14*17=238, Resulting Numbers: [238]
238,34 unequal: No Solution
Moving to Node #0,0,4
Current State: 34:[21, 18], Operations: ['92/23=4', '14+4=18']
Exploring Operation: 21+18=39, Resulting Numbers: [39]
39,34 unequal: No Solution
Exploring Operation: 21-18=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Exploring Operation: 21*18=378, Resulting Numbers: [378]
378,34 unequal: No Solution
Moving to Node #0,0,3
Current State: 34:[4, 7], Operations: ['92/23=4', '21-14=7']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,34 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,34 unequal: No Solution
Moving to Node #0,0,2
Current State: 34:[21, 10], Operations: ['92/23=4', '14-4=10']
Exploring Operation: 21*10=210, Resulting Numbers: [210]
210,34 unequal: No Solution
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,34 unequal: No Solution
Exploring Operation: 21+10=31, Resulting Numbers: [31]
31,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 34:[14, 21, 69], Operations: ['92-23=69']
Exploring Operation: 14+21=35, Resulting Numbers: [69, 35]
Generated Node #0,4,0: 34:[69, 35] Operation: 14+21=35
Exploring Operation: 69-14=55, Resulting Numbers: [21, 55]
Generated Node #0,4,1: 34:[21, 55] Operation: 69-14=55
Exploring Operation: 14+69=83, Resulting Numbers: [21, 83]
Generated Node #0,4,2: 34:[21, 83] Operation: 14+69=83
Exploring Operation: 21-14=7, Resulting Numbers: [69, 7]
Generated Node #0,4,3: 34:[69, 7] Operation: 21-14=7
Exploring Operation: 69-21=48, Resulting Numbers: [14, 48]
Generated Node #0,4,4: 34:[14, 48] Operation: 69-21=48
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 34:[14, 48], Operations: ['92-23=69', '69-21=48']
Exploring Operation: 14*48=672, Resulting Numbers: [672]
672,34 unequal: No Solution
Exploring Operation: 48-14=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[14, 21, 23, 92], Operations: []
Exploring Operation: 92-23=69, Resulting Numbers: [14, 21, 69]
Generated Node #0,4: 34:[14, 21, 69] Operation: 92-23=69
Moving to Node #0,4
Current State: 34:[14, 21, 69], Operations: ['92-23=69']
Exploring Operation: 69-21=48, Resulting Numbers: [14, 48]
Generated Node #0,4,4: 34:[14, 48] Operation: 69-21=48
Moving to Node #0,4,4
Current State: 34:[14, 48], Operations: ['92-23=69', '69-21=48']
Exploring Operation: 48-14=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96875 | hs_5 | mult_heuristic |
[
3,
36,
17,
69
] | 90 | [
"36+17=53",
"3*53=159",
"159-69=90"
] | Current State: 90:[3, 36, 17, 69], Operations: []
Exploring Operation: 36+17=53, Resulting Numbers: [3, 69, 53]
Generated Node #2: [3, 69, 53] from Operation: 36+17=53
Current State: 90:[3, 69, 53], Operations: ['36+17=53']
Exploring Operation: 3*53=159, Resulting Numbers: [69, 159]
Generated Node #3: [69, 159] from Operation: 3*53=159
Current State: 90:[69, 159], Operations: ['36+17=53', '3*53=159']
Exploring Operation: 159-69=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[3, 36, 17, 69], Operations: []
Exploring Operation: 69-17=52, Resulting Numbers: [3, 36, 52]
Generated Node #0,0: 90:[3, 36, 52] Operation: 69-17=52
Exploring Operation: 17+69=86, Resulting Numbers: [3, 36, 86]
Generated Node #0,1: 90:[3, 36, 86] Operation: 17+69=86
Exploring Operation: 69-36=33, Resulting Numbers: [3, 17, 33]
Generated Node #0,2: 90:[3, 17, 33] Operation: 69-36=33
Exploring Operation: 69/3=23, Resulting Numbers: [36, 17, 23]
Generated Node #0,3: 90:[36, 17, 23] Operation: 69/3=23
Start Sub Search at level 1: Moving to Node #0,2
Current State: 90:[3, 17, 33], Operations: ['69-36=33']
Exploring Operation: 17-3=14, Resulting Numbers: [33, 14]
Generated Node #0,2,0: 90:[33, 14] Operation: 17-3=14
Exploring Operation: 33/3=11, Resulting Numbers: [17, 11]
Generated Node #0,2,1: 90:[17, 11] Operation: 33/3=11
Exploring Operation: 33-3=30, Resulting Numbers: [17, 30]
Generated Node #0,2,2: 90:[17, 30] Operation: 33-3=30
Exploring Operation: 33-17=16, Resulting Numbers: [3, 16]
Generated Node #0,2,3: 90:[3, 16] Operation: 33-17=16
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 90:[17, 30], Operations: ['69-36=33', '33-3=30']
Exploring Operation: 17*30=510, Resulting Numbers: [510]
510,90 unequal: No Solution
Exploring Operation: 17+30=47, Resulting Numbers: [47]
47,90 unequal: No Solution
Exploring Operation: 30-17=13, Resulting Numbers: [13]
13,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 90:[3, 16], Operations: ['69-36=33', '33-17=16']
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,90 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,90 unequal: No Solution
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 90:[17, 11], Operations: ['69-36=33', '33/3=11']
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 17*11=187, Resulting Numbers: [187]
187,90 unequal: No Solution
Exploring Operation: 17+11=28, Resulting Numbers: [28]
28,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 90:[33, 14], Operations: ['69-36=33', '17-3=14']
Exploring Operation: 33+14=47, Resulting Numbers: [47]
47,90 unequal: No Solution
Exploring Operation: 33*14=462, Resulting Numbers: [462]
462,90 unequal: No Solution
Exploring Operation: 33-14=19, Resulting Numbers: [19]
19,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 90:[3, 36, 86], Operations: ['17+69=86']
Exploring Operation: 36-3=33, Resulting Numbers: [86, 33]
Generated Node #0,1,0: 90:[86, 33] Operation: 36-3=33
Exploring Operation: 86-36=50, Resulting Numbers: [3, 50]
Generated Node #0,1,1: 90:[3, 50] Operation: 86-36=50
Exploring Operation: 36/3=12, Resulting Numbers: [86, 12]
Generated Node #0,1,2: 90:[86, 12] Operation: 36/3=12
Exploring Operation: 3+86=89, Resulting Numbers: [36, 89]
Generated Node #0,1,3: 90:[36, 89] Operation: 3+86=89
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 90:[3, 50], Operations: ['17+69=86', '86-36=50']
Exploring Operation: 3*50=150, Resulting Numbers: [150]
150,90 unequal: No Solution
Exploring Operation: 3+50=53, Resulting Numbers: [53]
53,90 unequal: No Solution
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 90:[86, 12], Operations: ['17+69=86', '36/3=12']
Exploring Operation: 86+12=98, Resulting Numbers: [98]
98,90 unequal: No Solution
Exploring Operation: 86*12=1032, Resulting Numbers: [1032]
1032,90 unequal: No Solution
Exploring Operation: 86-12=74, Resulting Numbers: [74]
74,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 90:[86, 33], Operations: ['17+69=86', '36-3=33']
Exploring Operation: 86+33=119, Resulting Numbers: [119]
119,90 unequal: No Solution
Exploring Operation: 86*33=2838, Resulting Numbers: [2838]
2838,90 unequal: No Solution
Exploring Operation: 86-33=53, Resulting Numbers: [53]
53,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 90:[36, 89], Operations: ['17+69=86', '3+86=89']
Exploring Operation: 36*89=3204, Resulting Numbers: [3204]
3204,90 unequal: No Solution
Exploring Operation: 89-36=53, Resulting Numbers: [53]
53,90 unequal: No Solution
Exploring Operation: 36+89=125, Resulting Numbers: [125]
125,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
Start Sub Search at level 1: Moving to Node #0,3
Current State: 90:[36, 17, 23], Operations: ['69/3=23']
Exploring Operation: 17+23=40, Resulting Numbers: [36, 40]
Generated Node #0,3,0: 90:[36, 40] Operation: 17+23=40
Exploring Operation: 36-17=19, Resulting Numbers: [23, 19]
Generated Node #0,3,1: 90:[23, 19] Operation: 36-17=19
Exploring Operation: 23-17=6, Resulting Numbers: [36, 6]
Generated Node #0,3,2: 90:[36, 6] Operation: 23-17=6
Exploring Operation: 36-23=13, Resulting Numbers: [17, 13]
Generated Node #0,3,3: 90:[17, 13] Operation: 36-23=13
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 90:[17, 13], Operations: ['69/3=23', '36-23=13']
Exploring Operation: 17*13=221, Resulting Numbers: [221]
221,90 unequal: No Solution
Exploring Operation: 17+13=30, Resulting Numbers: [30]
30,90 unequal: No Solution
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 90:[23, 19], Operations: ['69/3=23', '36-17=19']
Exploring Operation: 23+19=42, Resulting Numbers: [42]
42,90 unequal: No Solution
Exploring Operation: 23*19=437, Resulting Numbers: [437]
437,90 unequal: No Solution
Exploring Operation: 23-19=4, Resulting Numbers: [4]
4,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 90:[36, 6], Operations: ['69/3=23', '23-17=6']
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,90 unequal: No Solution
Exploring Operation: 36*6=216, Resulting Numbers: [216]
216,90 unequal: No Solution
Exploring Operation: 36+6=42, Resulting Numbers: [42]
42,90 unequal: No Solution
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 90:[36, 40], Operations: ['69/3=23', '17+23=40']
Exploring Operation: 36+40=76, Resulting Numbers: [76]
76,90 unequal: No Solution
Exploring Operation: 36*40=1440, Resulting Numbers: [1440]
1440,90 unequal: No Solution
Exploring Operation: 40-36=4, Resulting Numbers: [4]
4,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
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[3, 36, 52], Operations: ['69-17=52']
Exploring Operation: 52-36=16, Resulting Numbers: [3, 16]
Generated Node #0,0,0: 90:[3, 16] Operation: 52-36=16
Exploring Operation: 36+52=88, Resulting Numbers: [3, 88]
Generated Node #0,0,1: 90:[3, 88] Operation: 36+52=88
Exploring Operation: 36/3=12, Resulting Numbers: [52, 12]
Generated Node #0,0,2: 90:[52, 12] Operation: 36/3=12
Exploring Operation: 36-3=33, Resulting Numbers: [52, 33]
Generated Node #0,0,3: 90:[52, 33] Operation: 36-3=33
Moving to Node #0,0,0
Current State: 90:[3, 16], Operations: ['69-17=52', '52-36=16']
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,90 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,90 unequal: No Solution
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,90 unequal: No Solution
Moving to Node #0,0,1
Current State: 90:[3, 88], Operations: ['69-17=52', '36+52=88']
Exploring Operation: 3+88=91, Resulting Numbers: [91]
91,90 unequal: No Solution
Exploring Operation: 88-3=85, Resulting Numbers: [85]
85,90 unequal: No Solution
Exploring Operation: 3*88=264, Resulting Numbers: [264]
264,90 unequal: No Solution
Moving to Node #0,0,2
Current State: 90:[52, 12], Operations: ['69-17=52', '36/3=12']
Exploring Operation: 52+12=64, Resulting Numbers: [64]
64,90 unequal: No Solution
Exploring Operation: 52*12=624, Resulting Numbers: [624]
624,90 unequal: No Solution
Exploring Operation: 52-12=40, Resulting Numbers: [40]
40,90 unequal: No Solution
Moving to Node #0,0,3
Current State: 90:[52, 33], Operations: ['69-17=52', '36-3=33']
Exploring Operation: 52-33=19, Resulting Numbers: [19]
19,90 unequal: No Solution
Exploring Operation: 52*33=1716, Resulting Numbers: [1716]
1716,90 unequal: No Solution
Exploring Operation: 52+33=85, Resulting Numbers: [85]
85,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
59,
86,
2,
32
] | 91 | [
"86-59=27",
"2*32=64",
"27+64=91"
] | Current State: 91:[59, 86, 2, 32], Operations: []
Exploring Operation: 86-59=27, Resulting Numbers: [2, 32, 27]
Generated Node #2: [2, 32, 27] from Operation: 86-59=27
Current State: 91:[2, 32, 27], Operations: ['86-59=27']
Exploring Operation: 2*32=64, Resulting Numbers: [27, 64]
Generated Node #3: [27, 64] from Operation: 2*32=64
Current State: 91:[27, 64], Operations: ['86-59=27', '2*32=64']
Exploring Operation: 27+64=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[59, 86, 2, 32], Operations: []
Exploring Operation: 59+32=91, Resulting Numbers: [86, 2, 91]
Generated Node #0,0: 91:[86, 2, 91] Operation: 59+32=91
Moving to Node #0,0
Current State: 91:[86, 2, 91], Operations: ['59+32=91']
Exploring Operation: 86+2=88, Resulting Numbers: [91, 88]
Generated Node #0,0,0: 91:[91, 88] Operation: 86+2=88
Moving to Node #0,0,0
Current State: 91:[91, 88], Operations: ['59+32=91', '86+2=88']
Exploring Operation: 91-88=3, Resulting Numbers: [3]
3,91 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
74,
93,
8,
9
] | 80 | [
"93-74=19",
"19-9=10",
"8*10=80"
] | Current State: 80:[74, 93, 8, 9], Operations: []
Exploring Operation: 93-74=19, Resulting Numbers: [8, 9, 19]
Generated Node #2: [8, 9, 19] from Operation: 93-74=19
Current State: 80:[8, 9, 19], Operations: ['93-74=19']
Exploring Operation: 19-9=10, Resulting Numbers: [8, 10]
Generated Node #3: [8, 10] from Operation: 19-9=10
Current State: 80:[8, 10], Operations: ['93-74=19', '19-9=10']
Exploring Operation: 8*10=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[74, 93, 8, 9], Operations: []
Exploring Operation: 93-74=19, Resulting Numbers: [8, 9, 19]
Generated Node #0,0: 80:[8, 9, 19] Operation: 93-74=19
Exploring Operation: 93-9=84, Resulting Numbers: [74, 8, 84]
Generated Node #0,1: 80:[74, 8, 84] Operation: 93-9=84
Moving to Node #0,0
Current State: 80:[8, 9, 19], Operations: ['93-74=19']
Exploring Operation: 8+9=17, Resulting Numbers: [19, 17]
Generated Node #0,0,0: 80:[19, 17] Operation: 8+9=17
Exploring Operation: 19-9=10, Resulting Numbers: [8, 10]
Generated Node #0,0,1: 80:[8, 10] Operation: 19-9=10
Moving to Node #0,1
Current State: 80:[74, 8, 84], Operations: ['93-9=84']
Exploring Operation: 74+8=82, Resulting Numbers: [84, 82]
Generated Node #0,1,0: 80:[84, 82] Operation: 74+8=82
Exploring Operation: 84-74=10, Resulting Numbers: [8, 10]
Generated Node #0,1,1: 80:[8, 10] Operation: 84-74=10
Moving to Node #0,0,1
Current State: 80:[8, 10], Operations: ['93-74=19', '19-9=10']
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,80 unequal: No Solution
Exploring Operation: 8*10=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[74, 93, 8, 9], Operations: []
Exploring Operation: 93-74=19, Resulting Numbers: [8, 9, 19]
Generated Node #0,0: 80:[8, 9, 19] Operation: 93-74=19
Moving to Node #0,0
Current State: 80:[8, 9, 19], Operations: ['93-74=19']
Exploring Operation: 19-9=10, Resulting Numbers: [8, 10]
Generated Node #0,0,1: 80:[8, 10] Operation: 19-9=10
Moving to Node #0,0,1
Current State: 80:[8, 10], Operations: ['93-74=19', '19-9=10']
Exploring Operation: 8*10=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 0.989583 | hs_2 | mult_heuristic |
[
58,
3,
12,
75
] | 64 | [
"75-3=72",
"72/12=6",
"58+6=64"
] | Current State: 64:[58, 3, 12, 75], Operations: []
Exploring Operation: 75-3=72, Resulting Numbers: [58, 12, 72]
Generated Node #2: [58, 12, 72] from Operation: 75-3=72
Current State: 64:[58, 12, 72], Operations: ['75-3=72']
Exploring Operation: 72/12=6, Resulting Numbers: [58, 6]
Generated Node #3: [58, 6] from Operation: 72/12=6
Current State: 64:[58, 6], Operations: ['75-3=72', '72/12=6']
Exploring Operation: 58+6=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[58, 3, 12, 75], Operations: []
Exploring Operation: 75-58=17, Resulting Numbers: [3, 12, 17]
Generated Node #0,0: 64:[3, 12, 17] Operation: 75-58=17
Moving to Node #0,0
Current State: 64:[3, 12, 17], Operations: ['75-58=17']
Exploring Operation: 12/3=4, Resulting Numbers: [17, 4]
Generated Node #0,0,0: 64:[17, 4] Operation: 12/3=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 64:[17, 4], Operations: ['75-58=17', '12/3=4']
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,64 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 |
[
20,
29,
85,
8
] | 46 | [
"20*8=160",
"29+85=114",
"160-114=46"
] | Current State: 46:[20, 29, 85, 8], Operations: []
Exploring Operation: 20*8=160, Resulting Numbers: [29, 85, 160]
Generated Node #2: [29, 85, 160] from Operation: 20*8=160
Current State: 46:[29, 85, 160], Operations: ['20*8=160']
Exploring Operation: 29+85=114, Resulting Numbers: [160, 114]
Generated Node #3: [160, 114] from Operation: 29+85=114
Current State: 46:[160, 114], Operations: ['20*8=160', '29+85=114']
Exploring Operation: 160-114=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[20, 29, 85, 8], Operations: []
Exploring Operation: 85-8=77, Resulting Numbers: [20, 29, 77]
Generated Node #0,0: 46:[20, 29, 77] Operation: 85-8=77
Exploring Operation: 29-8=21, Resulting Numbers: [20, 85, 21]
Generated Node #0,1: 46:[20, 85, 21] Operation: 29-8=21
Exploring Operation: 85-20=65, Resulting Numbers: [29, 8, 65]
Generated Node #0,2: 46:[29, 8, 65] Operation: 85-20=65
Exploring Operation: 85-29=56, Resulting Numbers: [20, 8, 56]
Generated Node #0,3: 46:[20, 8, 56] Operation: 85-29=56
Moving to Node #0,3
Current State: 46:[20, 8, 56], Operations: ['85-29=56']
Exploring Operation: 56-20=36, Resulting Numbers: [8, 36]
Generated Node #0,3,0: 46:[8, 36] Operation: 56-20=36
Exploring Operation: 56-8=48, Resulting Numbers: [20, 48]
Generated Node #0,3,1: 46:[20, 48] Operation: 56-8=48
Exploring Operation: 20+8=28, Resulting Numbers: [56, 28]
Generated Node #0,3,2: 46:[56, 28] Operation: 20+8=28
Exploring Operation: 56/8=7, Resulting Numbers: [20, 7]
Generated Node #0,3,3: 46:[20, 7] Operation: 56/8=7
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 46:[20, 48], Operations: ['85-29=56', '56-8=48']
Exploring Operation: 20*48=960, Resulting Numbers: [960]
960,46 unequal: No Solution
Exploring Operation: 48-20=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 20+48=68, Resulting Numbers: [68]
68,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 46:[20, 7], Operations: ['85-29=56', '56/8=7']
Exploring Operation: 20*7=140, Resulting Numbers: [140]
140,46 unequal: No Solution
Exploring Operation: 20+7=27, Resulting Numbers: [27]
27,46 unequal: No Solution
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 46:[56, 28], Operations: ['85-29=56', '20+8=28']
Exploring Operation: 56-28=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 56/28=2, Resulting Numbers: [2]
2,46 unequal: No Solution
Exploring Operation: 56*28=1568, Resulting Numbers: [1568]
1568,46 unequal: No Solution
Exploring Operation: 56+28=84, Resulting Numbers: [84]
84,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 46:[8, 36], Operations: ['85-29=56', '56-20=36']
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 8*36=288, Resulting Numbers: [288]
288,46 unequal: No Solution
Exploring Operation: 8+36=44, Resulting Numbers: [44]
44,46 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: 46:[29, 8, 65], Operations: ['85-20=65']
Exploring Operation: 29-8=21, Resulting Numbers: [65, 21]
Generated Node #0,2,0: 46:[65, 21] Operation: 29-8=21
Exploring Operation: 29+8=37, Resulting Numbers: [65, 37]
Generated Node #0,2,1: 46:[65, 37] Operation: 29+8=37
Exploring Operation: 65-8=57, Resulting Numbers: [29, 57]
Generated Node #0,2,2: 46:[29, 57] Operation: 65-8=57
Exploring Operation: 65-29=36, Resulting Numbers: [8, 36]
Generated Node #0,2,3: 46:[8, 36] Operation: 65-29=36
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 46:[8, 36], Operations: ['85-20=65', '65-29=36']
Exploring Operation: 8+36=44, Resulting Numbers: [44]
44,46 unequal: No Solution
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 8*36=288, Resulting Numbers: [288]
288,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 46:[29, 57], Operations: ['85-20=65', '65-8=57']
Exploring Operation: 29+57=86, Resulting Numbers: [86]
86,46 unequal: No Solution
Exploring Operation: 29*57=1653, Resulting Numbers: [1653]
1653,46 unequal: No Solution
Exploring Operation: 57-29=28, Resulting Numbers: [28]
28,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 46:[65, 21], Operations: ['85-20=65', '29-8=21']
Exploring Operation: 65+21=86, Resulting Numbers: [86]
86,46 unequal: No Solution
Exploring Operation: 65-21=44, Resulting Numbers: [44]
44,46 unequal: No Solution
Exploring Operation: 65*21=1365, Resulting Numbers: [1365]
1365,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 46:[65, 37], Operations: ['85-20=65', '29+8=37']
Exploring Operation: 65*37=2405, Resulting Numbers: [2405]
2405,46 unequal: No Solution
Exploring Operation: 65-37=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 65+37=102, Resulting Numbers: [102]
102,46 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: 46:[20, 29, 77], Operations: ['85-8=77']
Exploring Operation: 29-20=9, Resulting Numbers: [77, 9]
Generated Node #0,0,0: 46:[77, 9] Operation: 29-20=9
Exploring Operation: 77-29=48, Resulting Numbers: [20, 48]
Generated Node #0,0,1: 46:[20, 48] Operation: 77-29=48
Exploring Operation: 77-20=57, Resulting Numbers: [29, 57]
Generated Node #0,0,2: 46:[29, 57] Operation: 77-20=57
Exploring Operation: 20+29=49, Resulting Numbers: [77, 49]
Generated Node #0,0,3: 46:[77, 49] Operation: 20+29=49
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 46:[20, 48], Operations: ['85-8=77', '77-29=48']
Exploring Operation: 20+48=68, Resulting Numbers: [68]
68,46 unequal: No Solution
Exploring Operation: 48-20=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 20*48=960, Resulting Numbers: [960]
960,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 46:[29, 57], Operations: ['85-8=77', '77-20=57']
Exploring Operation: 57-29=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 29*57=1653, Resulting Numbers: [1653]
1653,46 unequal: No Solution
Exploring Operation: 29+57=86, Resulting Numbers: [86]
86,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 46:[77, 49], Operations: ['85-8=77', '20+29=49']
Exploring Operation: 77+49=126, Resulting Numbers: [126]
126,46 unequal: No Solution
Exploring Operation: 77-49=28, Resulting Numbers: [28]
28,46 unequal: No Solution
Exploring Operation: 77*49=3773, Resulting Numbers: [3773]
3773,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 46:[77, 9], Operations: ['85-8=77', '29-20=9']
Exploring Operation: 77-9=68, Resulting Numbers: [68]
68,46 unequal: No Solution
Exploring Operation: 77+9=86, Resulting Numbers: [86]
86,46 unequal: No Solution
Exploring Operation: 77*9=693, Resulting Numbers: [693]
693,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 46:[20, 85, 21], Operations: ['29-8=21']
Exploring Operation: 85-21=64, Resulting Numbers: [20, 64]
Generated Node #0,1,0: 46:[20, 64] Operation: 85-21=64
Exploring Operation: 21-20=1, Resulting Numbers: [85, 1]
Generated Node #0,1,1: 46:[85, 1] Operation: 21-20=1
Exploring Operation: 85-20=65, Resulting Numbers: [21, 65]
Generated Node #0,1,2: 46:[21, 65] Operation: 85-20=65
Exploring Operation: 20+21=41, Resulting Numbers: [85, 41]
Generated Node #0,1,3: 46:[85, 41] Operation: 20+21=41
Moving to Node #0,1,0
Current State: 46:[20, 64], Operations: ['29-8=21', '85-21=64']
Exploring Operation: 64-20=44, Resulting Numbers: [44]
44,46 unequal: No Solution
Exploring Operation: 20+64=84, Resulting Numbers: [84]
84,46 unequal: No Solution
Exploring Operation: 20*64=1280, Resulting Numbers: [1280]
1280,46 unequal: No Solution
Moving to Node #0,1,2
Current State: 46:[21, 65], Operations: ['29-8=21', '85-20=65']
Exploring Operation: 21+65=86, Resulting Numbers: [86]
86,46 unequal: No Solution
Exploring Operation: 65-21=44, Resulting Numbers: [44]
44,46 unequal: No Solution
Exploring Operation: 21*65=1365, Resulting Numbers: [1365]
1365,46 unequal: No Solution
Moving to Node #0,1,1
Current State: 46:[85, 1], Operations: ['29-8=21', '21-20=1']
Exploring Operation: 85/1=85, Resulting Numbers: [85]
85,46 unequal: No Solution
Exploring Operation: 85-1=84, Resulting Numbers: [84]
84,46 unequal: No Solution
Exploring Operation: 85+1=86, Resulting Numbers: [86]
86,46 unequal: No Solution
Exploring Operation: 85*1=85, Resulting Numbers: [85]
85,46 unequal: No Solution
Moving to Node #0,1,3
Current State: 46:[85, 41], Operations: ['29-8=21', '20+21=41']
Exploring Operation: 85-41=44, Resulting Numbers: [44]
44,46 unequal: No Solution
Exploring Operation: 85*41=3485, Resulting Numbers: [3485]
3485,46 unequal: No Solution
Exploring Operation: 85+41=126, Resulting Numbers: [126]
126,46 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
36,
68,
39,
52
] | 59 | [
"68-36=32",
"39+52=91",
"91-32=59"
] | Current State: 59:[36, 68, 39, 52], Operations: []
Exploring Operation: 68-36=32, Resulting Numbers: [39, 52, 32]
Generated Node #2: [39, 52, 32] from Operation: 68-36=32
Current State: 59:[39, 52, 32], Operations: ['68-36=32']
Exploring Operation: 39+52=91, Resulting Numbers: [32, 91]
Generated Node #3: [32, 91] from Operation: 39+52=91
Current State: 59:[32, 91], Operations: ['68-36=32', '39+52=91']
Exploring Operation: 91-32=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[36, 68, 39, 52], Operations: []
Exploring Operation: 68-36=32, Resulting Numbers: [39, 52, 32]
Generated Node #0,0: 59:[39, 52, 32] Operation: 68-36=32
Exploring Operation: 36+39=75, Resulting Numbers: [68, 52, 75]
Generated Node #0,1: 59:[68, 52, 75] Operation: 36+39=75
Moving to Node #0,1
Current State: 59:[68, 52, 75], Operations: ['36+39=75']
Exploring Operation: 75-52=23, Resulting Numbers: [68, 23]
Generated Node #0,1,0: 59:[68, 23] Operation: 75-52=23
Exploring Operation: 68-52=16, Resulting Numbers: [75, 16]
Generated Node #0,1,1: 59:[75, 16] Operation: 68-52=16
Moving to Node #0,0
Current State: 59:[39, 52, 32], Operations: ['68-36=32']
Exploring Operation: 52+32=84, Resulting Numbers: [39, 84]
Generated Node #0,0,0: 59:[39, 84] Operation: 52+32=84
Exploring Operation: 39+32=71, Resulting Numbers: [52, 71]
Generated Node #0,0,1: 59:[52, 71] Operation: 39+32=71
Moving to Node #0,0,1
Current State: 59:[52, 71], Operations: ['68-36=32', '39+32=71']
Exploring Operation: 71-52=19, Resulting Numbers: [19]
19,59 unequal: No Solution
Exploring Operation: 52+71=123, Resulting Numbers: [123]
123,59 unequal: No Solution
Moving to Node #0,1,0
Current State: 59:[68, 23], Operations: ['36+39=75', '75-52=23']
Exploring Operation: 68+23=91, Resulting Numbers: [91]
91,59 unequal: No Solution
Exploring Operation: 68-23=45, Resulting Numbers: [45]
45,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[39, 84], Operations: ['68-36=32', '52+32=84']
Exploring Operation: 39+84=123, Resulting Numbers: [123]
123,59 unequal: No Solution
Exploring Operation: 84-39=45, Resulting Numbers: [45]
45,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[75, 16], Operations: ['36+39=75', '68-52=16']
Exploring Operation: 75-16=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[36, 68, 39, 52], Operations: []
Exploring Operation: 36+39=75, Resulting Numbers: [68, 52, 75]
Generated Node #0,1: 59:[68, 52, 75] Operation: 36+39=75
Moving to Node #0,1
Current State: 59:[68, 52, 75], Operations: ['36+39=75']
Exploring Operation: 68-52=16, Resulting Numbers: [75, 16]
Generated Node #0,1,1: 59:[75, 16] Operation: 68-52=16
Moving to Node #0,1,1
Current State: 59:[75, 16], Operations: ['36+39=75', '68-52=16']
Exploring Operation: 75-16=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 0.985243 | hs_2 | mult_heuristic |
[
10,
14,
64,
29
] | 96 | [
"29-14=15",
"64*15=960",
"960/10=96"
] | Current State: 96:[10, 14, 64, 29], Operations: []
Exploring Operation: 29-14=15, Resulting Numbers: [10, 64, 15]
Generated Node #2: [10, 64, 15] from Operation: 29-14=15
Current State: 96:[10, 64, 15], Operations: ['29-14=15']
Exploring Operation: 64*15=960, Resulting Numbers: [10, 960]
Generated Node #3: [10, 960] from Operation: 64*15=960
Current State: 96:[10, 960], Operations: ['29-14=15', '64*15=960']
Exploring Operation: 960/10=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[10, 14, 64, 29], Operations: []
Exploring Operation: 64+29=93, Resulting Numbers: [10, 14, 93]
Generated Node #0,0: 96:[10, 14, 93] Operation: 64+29=93
Exploring Operation: 64-14=50, Resulting Numbers: [10, 29, 50]
Generated Node #0,1: 96:[10, 29, 50] Operation: 64-14=50
Exploring Operation: 64-10=54, Resulting Numbers: [14, 29, 54]
Generated Node #0,2: 96:[14, 29, 54] Operation: 64-10=54
Exploring Operation: 64-29=35, Resulting Numbers: [10, 14, 35]
Generated Node #0,3: 96:[10, 14, 35] Operation: 64-29=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[10, 14, 93], Operations: ['64+29=93']
Exploring Operation: 10+93=103, Resulting Numbers: [14, 103]
Generated Node #0,0,0: 96:[14, 103] Operation: 10+93=103
Exploring Operation: 14+93=107, Resulting Numbers: [10, 107]
Generated Node #0,0,1: 96:[10, 107] Operation: 14+93=107
Exploring Operation: 14-10=4, Resulting Numbers: [93, 4]
Generated Node #0,0,2: 96:[93, 4] Operation: 14-10=4
Exploring Operation: 10+14=24, Resulting Numbers: [93, 24]
Generated Node #0,0,3: 96:[93, 24] Operation: 10+14=24
Moving to Node #0,0,2
Current State: 96:[93, 4], Operations: ['64+29=93', '14-10=4']
Exploring Operation: 93*4=372, Resulting Numbers: [372]
372,96 unequal: No Solution
Exploring Operation: 93-4=89, Resulting Numbers: [89]
89,96 unequal: No Solution
Exploring Operation: 93+4=97, Resulting Numbers: [97]
97,96 unequal: No Solution
Moving to Node #0,0,3
Current State: 96:[93, 24], Operations: ['64+29=93', '10+14=24']
Exploring Operation: 93+24=117, Resulting Numbers: [117]
117,96 unequal: No Solution
Exploring Operation: 93*24=2232, Resulting Numbers: [2232]
2232,96 unequal: No Solution
Exploring Operation: 93-24=69, Resulting Numbers: [69]
69,96 unequal: No Solution
Moving to Node #0,0,0
Current State: 96:[14, 103], Operations: ['64+29=93', '10+93=103']
Exploring Operation: 14+103=117, Resulting Numbers: [117]
117,96 unequal: No Solution
Exploring Operation: 14*103=1442, Resulting Numbers: [1442]
1442,96 unequal: No Solution
Exploring Operation: 103-14=89, Resulting Numbers: [89]
89,96 unequal: No Solution
Moving to Node #0,0,1
Current State: 96:[10, 107], Operations: ['64+29=93', '14+93=107']
Exploring Operation: 10+107=117, Resulting Numbers: [117]
117,96 unequal: No Solution
Exploring Operation: 107-10=97, Resulting Numbers: [97]
97,96 unequal: No Solution
Exploring Operation: 10*107=1070, Resulting Numbers: [1070]
1070,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[10, 29, 50], Operations: ['64-14=50']
Exploring Operation: 50/10=5, Resulting Numbers: [29, 5]
Generated Node #0,1,0: 96:[29, 5] Operation: 50/10=5
Exploring Operation: 10+29=39, Resulting Numbers: [50, 39]
Generated Node #0,1,1: 96:[50, 39] Operation: 10+29=39
Exploring Operation: 50-29=21, Resulting Numbers: [10, 21]
Generated Node #0,1,2: 96:[10, 21] Operation: 50-29=21
Exploring Operation: 29-10=19, Resulting Numbers: [50, 19]
Generated Node #0,1,3: 96:[50, 19] Operation: 29-10=19
Moving to Node #0,1,0
Current State: 96:[29, 5], Operations: ['64-14=50', '50/10=5']
Exploring Operation: 29*5=145, Resulting Numbers: [145]
145,96 unequal: No Solution
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Exploring Operation: 29+5=34, Resulting Numbers: [34]
34,96 unequal: No Solution
Moving to Node #0,1,3
Current State: 96:[50, 19], Operations: ['64-14=50', '29-10=19']
Exploring Operation: 50+19=69, Resulting Numbers: [69]
69,96 unequal: No Solution
Exploring Operation: 50*19=950, Resulting Numbers: [950]
950,96 unequal: No Solution
Exploring Operation: 50-19=31, Resulting Numbers: [31]
31,96 unequal: No Solution
Moving to Node #0,1,2
Current State: 96:[10, 21], Operations: ['64-14=50', '50-29=21']
Exploring Operation: 10*21=210, Resulting Numbers: [210]
210,96 unequal: No Solution
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,96 unequal: No Solution
Exploring Operation: 10+21=31, Resulting Numbers: [31]
31,96 unequal: No Solution
Moving to Node #0,1,1
Current State: 96:[50, 39], Operations: ['64-14=50', '10+29=39']
Exploring Operation: 50*39=1950, Resulting Numbers: [1950]
1950,96 unequal: No Solution
Exploring Operation: 50-39=11, Resulting Numbers: [11]
11,96 unequal: No Solution
Exploring Operation: 50+39=89, Resulting Numbers: [89]
89,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 96:[10, 14, 35], Operations: ['64-29=35']
Exploring Operation: 14-10=4, Resulting Numbers: [35, 4]
Generated Node #0,3,0: 96:[35, 4] Operation: 14-10=4
Exploring Operation: 14+35=49, Resulting Numbers: [10, 49]
Generated Node #0,3,1: 96:[10, 49] Operation: 14+35=49
Exploring Operation: 35-10=25, Resulting Numbers: [14, 25]
Generated Node #0,3,2: 96:[14, 25] Operation: 35-10=25
Exploring Operation: 10+14=24, Resulting Numbers: [35, 24]
Generated Node #0,3,3: 96:[35, 24] Operation: 10+14=24
Moving to Node #0,3,0
Current State: 96:[35, 4], Operations: ['64-29=35', '14-10=4']
Exploring Operation: 35*4=140, Resulting Numbers: [140]
140,96 unequal: No Solution
Exploring Operation: 35+4=39, Resulting Numbers: [39]
39,96 unequal: No Solution
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,96 unequal: No Solution
Moving to Node #0,3,2
Current State: 96:[14, 25], Operations: ['64-29=35', '35-10=25']
Exploring Operation: 25-14=11, Resulting Numbers: [11]
11,96 unequal: No Solution
Exploring Operation: 14*25=350, Resulting Numbers: [350]
350,96 unequal: No Solution
Exploring Operation: 14+25=39, Resulting Numbers: [39]
39,96 unequal: No Solution
Moving to Node #0,3,1
Current State: 96:[10, 49], Operations: ['64-29=35', '14+35=49']
Exploring Operation: 10+49=59, Resulting Numbers: [59]
59,96 unequal: No Solution
Exploring Operation: 49-10=39, Resulting Numbers: [39]
39,96 unequal: No Solution
Exploring Operation: 10*49=490, Resulting Numbers: [490]
490,96 unequal: No Solution
Moving to Node #0,3,3
Current State: 96:[35, 24], Operations: ['64-29=35', '10+14=24']
Exploring Operation: 35+24=59, Resulting Numbers: [59]
59,96 unequal: No Solution
Exploring Operation: 35*24=840, Resulting Numbers: [840]
840,96 unequal: No Solution
Exploring Operation: 35-24=11, Resulting Numbers: [11]
11,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 96:[14, 29, 54], Operations: ['64-10=54']
Exploring Operation: 54-14=40, Resulting Numbers: [29, 40]
Generated Node #0,2,0: 96:[29, 40] Operation: 54-14=40
Exploring Operation: 14+29=43, Resulting Numbers: [54, 43]
Generated Node #0,2,1: 96:[54, 43] Operation: 14+29=43
Exploring Operation: 29-14=15, Resulting Numbers: [54, 15]
Generated Node #0,2,2: 96:[54, 15] Operation: 29-14=15
Exploring Operation: 54-29=25, Resulting Numbers: [14, 25]
Generated Node #0,2,3: 96:[14, 25] Operation: 54-29=25
Moving to Node #0,2,3
Current State: 96:[14, 25], Operations: ['64-10=54', '54-29=25']
Exploring Operation: 14+25=39, Resulting Numbers: [39]
39,96 unequal: No Solution
Exploring Operation: 14*25=350, Resulting Numbers: [350]
350,96 unequal: No Solution
Exploring Operation: 25-14=11, Resulting Numbers: [11]
11,96 unequal: No Solution
Moving to Node #0,2,2
Current State: 96:[54, 15], Operations: ['64-10=54', '29-14=15']
Exploring Operation: 54-15=39, Resulting Numbers: [39]
39,96 unequal: No Solution
Exploring Operation: 54*15=810, Resulting Numbers: [810]
810,96 unequal: No Solution
Exploring Operation: 54+15=69, Resulting Numbers: [69]
69,96 unequal: No Solution
Moving to Node #0,2,1
Current State: 96:[54, 43], Operations: ['64-10=54', '14+29=43']
Exploring Operation: 54-43=11, Resulting Numbers: [11]
11,96 unequal: No Solution
Exploring Operation: 54+43=97, Resulting Numbers: [97]
97,96 unequal: No Solution
Exploring Operation: 54*43=2322, Resulting Numbers: [2322]
2322,96 unequal: No Solution
Moving to Node #0,2,0
Current State: 96:[29, 40], Operations: ['64-10=54', '54-14=40']
Exploring Operation: 40-29=11, Resulting Numbers: [11]
11,96 unequal: No Solution
Exploring Operation: 29*40=1160, Resulting Numbers: [1160]
1160,96 unequal: No Solution
Exploring Operation: 29+40=69, Resulting Numbers: [69]
69,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
2,
22,
68,
29
] | 41 | [
"68/2=34",
"29-22=7",
"34+7=41"
] | Current State: 41:[2, 22, 68, 29], Operations: []
Exploring Operation: 68/2=34, Resulting Numbers: [22, 29, 34]
Generated Node #2: [22, 29, 34] from Operation: 68/2=34
Current State: 41:[22, 29, 34], Operations: ['68/2=34']
Exploring Operation: 29-22=7, Resulting Numbers: [34, 7]
Generated Node #3: [34, 7] from Operation: 29-22=7
Current State: 41:[34, 7], Operations: ['68/2=34', '29-22=7']
Exploring Operation: 34+7=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[2, 22, 68, 29], Operations: []
Exploring Operation: 2*22=44, Resulting Numbers: [68, 29, 44]
Generated Node #0,0: 41:[68, 29, 44] Operation: 2*22=44
Exploring Operation: 68/2=34, Resulting Numbers: [22, 29, 34]
Generated Node #0,1: 41:[22, 29, 34] Operation: 68/2=34
Exploring Operation: 2+22=24, Resulting Numbers: [68, 29, 24]
Generated Node #0,2: 41:[68, 29, 24] Operation: 2+22=24
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[22, 29, 34], Operations: ['68/2=34']
Exploring Operation: 22+34=56, Resulting Numbers: [29, 56]
Generated Node #0,1,0: 41:[29, 56] Operation: 22+34=56
Exploring Operation: 22+29=51, Resulting Numbers: [34, 51]
Generated Node #0,1,1: 41:[34, 51] Operation: 22+29=51
Exploring Operation: 29-22=7, Resulting Numbers: [34, 7]
Generated Node #0,1,2: 41:[34, 7] Operation: 29-22=7
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 41:[34, 51], Operations: ['68/2=34', '22+29=51']
Exploring Operation: 51-34=17, Resulting Numbers: [17]
17,41 unequal: No Solution
Exploring Operation: 34+51=85, Resulting Numbers: [85]
85,41 unequal: No Solution
Exploring Operation: 34*51=1734, Resulting Numbers: [1734]
1734,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 41:[29, 56], Operations: ['68/2=34', '22+34=56']
Exploring Operation: 29*56=1624, Resulting Numbers: [1624]
1624,41 unequal: No Solution
Exploring Operation: 29+56=85, Resulting Numbers: [85]
85,41 unequal: No Solution
Exploring Operation: 56-29=27, Resulting Numbers: [27]
27,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 41:[34, 7], Operations: ['68/2=34', '29-22=7']
Exploring Operation: 34*7=238, Resulting Numbers: [238]
238,41 unequal: No Solution
Exploring Operation: 34+7=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[2, 22, 68, 29], Operations: []
Exploring Operation: 68/2=34, Resulting Numbers: [22, 29, 34]
Generated Node #0,1: 41:[22, 29, 34] Operation: 68/2=34
Moving to Node #0,1
Current State: 41:[22, 29, 34], Operations: ['68/2=34']
Exploring Operation: 29-22=7, Resulting Numbers: [34, 7]
Generated Node #0,1,2: 41:[34, 7] Operation: 29-22=7
Moving to Node #0,1,2
Current State: 41:[34, 7], Operations: ['68/2=34', '29-22=7']
Exploring Operation: 34+7=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_3 | mult_heuristic |
[
75,
42,
73,
25
] | 34 | [
"75-73=2",
"42-25=17",
"2*17=34"
] | Current State: 34:[75, 42, 73, 25], Operations: []
Exploring Operation: 75-73=2, Resulting Numbers: [42, 25, 2]
Generated Node #2: [42, 25, 2] from Operation: 75-73=2
Current State: 34:[42, 25, 2], Operations: ['75-73=2']
Exploring Operation: 42-25=17, Resulting Numbers: [2, 17]
Generated Node #3: [2, 17] from Operation: 42-25=17
Current State: 34:[2, 17], Operations: ['75-73=2', '42-25=17']
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[75, 42, 73, 25], Operations: []
Exploring Operation: 75-25=50, Resulting Numbers: [42, 73, 50]
Generated Node #0,0: 34:[42, 73, 50] Operation: 75-25=50
Exploring Operation: 75-42=33, Resulting Numbers: [73, 25, 33]
Generated Node #0,1: 34:[73, 25, 33] Operation: 75-42=33
Exploring Operation: 75-73=2, Resulting Numbers: [42, 25, 2]
Generated Node #0,2: 34:[42, 25, 2] Operation: 75-73=2
Exploring Operation: 73-42=31, Resulting Numbers: [75, 25, 31]
Generated Node #0,3: 34:[75, 25, 31] Operation: 73-42=31
Exploring Operation: 75/25=3, Resulting Numbers: [42, 73, 3]
Generated Node #0,4: 34:[42, 73, 3] Operation: 75/25=3
Start Sub Search at level 1: Moving to Node #0,2
Current State: 34:[42, 25, 2], Operations: ['75-73=2']
Exploring Operation: 42-2=40, Resulting Numbers: [25, 40]
Generated Node #0,2,0: 34:[25, 40] Operation: 42-2=40
Exploring Operation: 25-2=23, Resulting Numbers: [42, 23]
Generated Node #0,2,1: 34:[42, 23] Operation: 25-2=23
Exploring Operation: 25+2=27, Resulting Numbers: [42, 27]
Generated Node #0,2,2: 34:[42, 27] Operation: 25+2=27
Exploring Operation: 42/2=21, Resulting Numbers: [25, 21]
Generated Node #0,2,3: 34:[25, 21] Operation: 42/2=21
Exploring Operation: 42-25=17, Resulting Numbers: [2, 17]
Generated Node #0,2,4: 34:[2, 17] Operation: 42-25=17
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 34:[2, 17], Operations: ['75-73=2', '42-25=17']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,34 unequal: No Solution
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,34 unequal: No Solution
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[75, 42, 73, 25], Operations: []
Exploring Operation: 75-73=2, Resulting Numbers: [42, 25, 2]
Generated Node #0,2: 34:[42, 25, 2] Operation: 75-73=2
Moving to Node #0,2
Current State: 34:[42, 25, 2], Operations: ['75-73=2']
Exploring Operation: 42-25=17, Resulting Numbers: [2, 17]
Generated Node #0,2,4: 34:[2, 17] Operation: 42-25=17
Moving to Node #0,2,4
Current State: 34:[2, 17], Operations: ['75-73=2', '42-25=17']
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
65,
73,
69,
41
] | 99 | [
"73-69=4",
"41*4=164",
"164-65=99"
] | Current State: 99:[65, 73, 69, 41], Operations: []
Exploring Operation: 73-69=4, Resulting Numbers: [65, 41, 4]
Generated Node #2: [65, 41, 4] from Operation: 73-69=4
Current State: 99:[65, 41, 4], Operations: ['73-69=4']
Exploring Operation: 41*4=164, Resulting Numbers: [65, 164]
Generated Node #3: [65, 164] from Operation: 41*4=164
Current State: 99:[65, 164], Operations: ['73-69=4', '41*4=164']
Exploring Operation: 164-65=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[65, 73, 69, 41], Operations: []
Exploring Operation: 73-65=8, Resulting Numbers: [69, 41, 8]
Generated Node #0,0: 99:[69, 41, 8] Operation: 73-65=8
Exploring Operation: 69-65=4, Resulting Numbers: [73, 41, 4]
Generated Node #0,1: 99:[73, 41, 4] Operation: 69-65=4
Moving to Node #0,1
Current State: 99:[73, 41, 4], Operations: ['69-65=4']
Exploring Operation: 73+41=114, Resulting Numbers: [4, 114]
Generated Node #0,1,0: 99:[4, 114] Operation: 73+41=114
Exploring Operation: 73-41=32, Resulting Numbers: [4, 32]
Generated Node #0,1,1: 99:[4, 32] Operation: 73-41=32
Moving to Node #0,0
Current State: 99:[69, 41, 8], Operations: ['73-65=8']
Exploring Operation: 69+41=110, Resulting Numbers: [8, 110]
Generated Node #0,0,0: 99:[8, 110] Operation: 69+41=110
Exploring Operation: 69-41=28, Resulting Numbers: [8, 28]
Generated Node #0,0,1: 99:[8, 28] Operation: 69-41=28
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 99:[8, 28], Operations: ['73-65=8', '69-41=28']
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,99 unequal: No Solution
Exploring Operation: 8+28=36, Resulting Numbers: [36]
36,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 99:[8, 110], Operations: ['73-65=8', '69+41=110']
Exploring Operation: 8+110=118, Resulting Numbers: [118]
118,99 unequal: No Solution
Exploring Operation: 110-8=102, Resulting Numbers: [102]
102,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 99:[4, 32], Operations: ['69-65=4', '73-41=32']
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,99 unequal: No Solution
Exploring Operation: 4+32=36, Resulting Numbers: [36]
36,99 unequal: No Solution
Moving to Node #0,1,0
Current State: 99:[4, 114], Operations: ['69-65=4', '73+41=114']
Exploring Operation: 4+114=118, Resulting Numbers: [118]
118,99 unequal: No Solution
Exploring Operation: 114-4=110, Resulting Numbers: [110]
110,99 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
3,
38,
69,
74
] | 81 | [
"74-38=36",
"36/3=12",
"69+12=81"
] | Current State: 81:[3, 38, 69, 74], Operations: []
Exploring Operation: 74-38=36, Resulting Numbers: [3, 69, 36]
Generated Node #2: [3, 69, 36] from Operation: 74-38=36
Current State: 81:[3, 69, 36], Operations: ['74-38=36']
Exploring Operation: 36/3=12, Resulting Numbers: [69, 12]
Generated Node #3: [69, 12] from Operation: 36/3=12
Current State: 81:[69, 12], Operations: ['74-38=36', '36/3=12']
Exploring Operation: 69+12=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[3, 38, 69, 74], Operations: []
Exploring Operation: 74-69=5, Resulting Numbers: [3, 38, 5]
Generated Node #0,0: 81:[3, 38, 5] Operation: 74-69=5
Exploring Operation: 74-38=36, Resulting Numbers: [3, 69, 36]
Generated Node #0,1: 81:[3, 69, 36] Operation: 74-38=36
Exploring Operation: 69-38=31, Resulting Numbers: [3, 74, 31]
Generated Node #0,2: 81:[3, 74, 31] Operation: 69-38=31
Start Sub Search at level 1: Moving to Node #0,2
Current State: 81:[3, 74, 31], Operations: ['69-38=31']
Exploring Operation: 74-3=71, Resulting Numbers: [31, 71]
Generated Node #0,2,0: 81:[31, 71] Operation: 74-3=71
Exploring Operation: 3+74=77, Resulting Numbers: [31, 77]
Generated Node #0,2,1: 81:[31, 77] Operation: 3+74=77
Exploring Operation: 31-3=28, Resulting Numbers: [74, 28]
Generated Node #0,2,2: 81:[74, 28] Operation: 31-3=28
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 81:[31, 77], Operations: ['69-38=31', '3+74=77']
Exploring Operation: 31+77=108, Resulting Numbers: [108]
108,81 unequal: No Solution
Exploring Operation: 31*77=2387, Resulting Numbers: [2387]
2387,81 unequal: No Solution
Exploring Operation: 77-31=46, Resulting Numbers: [46]
46,81 unequal: No Solution
No 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: 81:[74, 28], Operations: ['69-38=31', '31-3=28']
Exploring Operation: 74+28=102, Resulting Numbers: [102]
102,81 unequal: No Solution
Exploring Operation: 74-28=46, Resulting Numbers: [46]
46,81 unequal: No Solution
Exploring Operation: 74*28=2072, Resulting Numbers: [2072]
2072,81 unequal: No Solution
No 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: 81:[31, 71], Operations: ['69-38=31', '74-3=71']
Exploring Operation: 71-31=40, Resulting Numbers: [40]
40,81 unequal: No Solution
Exploring Operation: 31+71=102, Resulting Numbers: [102]
102,81 unequal: No Solution
Exploring Operation: 31*71=2201, Resulting Numbers: [2201]
2201,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[3, 38, 5], Operations: ['74-69=5']
Exploring Operation: 38-5=33, Resulting Numbers: [3, 33]
Generated Node #0,0,0: 81:[3, 33] Operation: 38-5=33
Exploring Operation: 38-3=35, Resulting Numbers: [5, 35]
Generated Node #0,0,1: 81:[5, 35] Operation: 38-3=35
Exploring Operation: 3+5=8, Resulting Numbers: [38, 8]
Generated Node #0,0,2: 81:[38, 8] Operation: 3+5=8
Moving to Node #0,0,0
Current State: 81:[3, 33], Operations: ['74-69=5', '38-5=33']
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,81 unequal: No Solution
Exploring Operation: 3+33=36, Resulting Numbers: [36]
36,81 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,81 unequal: No Solution
Moving to Node #0,0,1
Current State: 81:[5, 35], Operations: ['74-69=5', '38-3=35']
Exploring Operation: 5+35=40, Resulting Numbers: [40]
40,81 unequal: No Solution
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,81 unequal: No Solution
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,81 unequal: No Solution
Moving to Node #0,0,2
Current State: 81:[38, 8], Operations: ['74-69=5', '3+5=8']
Exploring Operation: 38*8=304, Resulting Numbers: [304]
304,81 unequal: No Solution
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,81 unequal: No Solution
Exploring Operation: 38+8=46, Resulting Numbers: [46]
46,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
Current State: 81:[3, 69, 36], Operations: ['74-38=36']
Exploring Operation: 36/3=12, Resulting Numbers: [69, 12]
Generated Node #0,1,0: 81:[69, 12] Operation: 36/3=12
Exploring Operation: 69/3=23, Resulting Numbers: [36, 23]
Generated Node #0,1,1: 81:[36, 23] Operation: 69/3=23
Exploring Operation: 69-36=33, Resulting Numbers: [3, 33]
Generated Node #0,1,2: 81:[3, 33] Operation: 69-36=33
Moving to Node #0,1,2
Current State: 81:[3, 33], Operations: ['74-38=36', '69-36=33']
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,81 unequal: No Solution
Exploring Operation: 3+33=36, Resulting Numbers: [36]
36,81 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[36, 23], Operations: ['74-38=36', '69/3=23']
Exploring Operation: 36*23=828, Resulting Numbers: [828]
828,81 unequal: No Solution
Exploring Operation: 36+23=59, Resulting Numbers: [59]
59,81 unequal: No Solution
Exploring Operation: 36-23=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Moving to Node #0,1,0
Current State: 81:[69, 12], Operations: ['74-38=36', '36/3=12']
Exploring Operation: 69+12=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[3, 38, 69, 74], Operations: []
Exploring Operation: 74-38=36, Resulting Numbers: [3, 69, 36]
Generated Node #0,1: 81:[3, 69, 36] Operation: 74-38=36
Moving to Node #0,1
Current State: 81:[3, 69, 36], Operations: ['74-38=36']
Exploring Operation: 36/3=12, Resulting Numbers: [69, 12]
Generated Node #0,1,0: 81:[69, 12] Operation: 36/3=12
Moving to Node #0,1,0
Current State: 81:[69, 12], Operations: ['74-38=36', '36/3=12']
Exploring Operation: 69+12=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.96441 | hs_3 | mult_heuristic |
[
83,
55,
4,
58
] | 49 | [
"83+55=138",
"58+138=196",
"196/4=49"
] | Current State: 49:[83, 55, 4, 58], Operations: []
Exploring Operation: 83+55=138, Resulting Numbers: [4, 58, 138]
Generated Node #2: [4, 58, 138] from Operation: 83+55=138
Current State: 49:[4, 58, 138], Operations: ['83+55=138']
Exploring Operation: 58+138=196, Resulting Numbers: [4, 196]
Generated Node #3: [4, 196] from Operation: 58+138=196
Current State: 49:[4, 196], Operations: ['83+55=138', '58+138=196']
Exploring Operation: 196/4=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[83, 55, 4, 58], Operations: []
Exploring Operation: 83-4=79, Resulting Numbers: [55, 58, 79]
Generated Node #0,0: 49:[55, 58, 79] Operation: 83-4=79
Exploring Operation: 83-55=28, Resulting Numbers: [4, 58, 28]
Generated Node #0,1: 49:[4, 58, 28] Operation: 83-55=28
Exploring Operation: 83-58=25, Resulting Numbers: [55, 4, 25]
Generated Node #0,2: 49:[55, 4, 25] Operation: 83-58=25
Exploring Operation: 58-55=3, Resulting Numbers: [83, 4, 3]
Generated Node #0,3: 49:[83, 4, 3] Operation: 58-55=3
Moving to Node #0,2
Current State: 49:[55, 4, 25], Operations: ['83-58=25']
Exploring Operation: 55-4=51, Resulting Numbers: [25, 51]
Generated Node #0,2,0: 49:[25, 51] Operation: 55-4=51
Exploring Operation: 25-4=21, Resulting Numbers: [55, 21]
Generated Node #0,2,1: 49:[55, 21] Operation: 25-4=21
Exploring Operation: 4+25=29, Resulting Numbers: [55, 29]
Generated Node #0,2,2: 49:[55, 29] Operation: 4+25=29
Exploring Operation: 55-25=30, Resulting Numbers: [4, 30]
Generated Node #0,2,3: 49:[4, 30] Operation: 55-25=30
Moving to Node #0,1
Current State: 49:[4, 58, 28], Operations: ['83-55=28']
Exploring Operation: 4+28=32, Resulting Numbers: [58, 32]
Generated Node #0,1,0: 49:[58, 32] Operation: 4+28=32
Exploring Operation: 58-4=54, Resulting Numbers: [28, 54]
Generated Node #0,1,1: 49:[28, 54] Operation: 58-4=54
Exploring Operation: 58-28=30, Resulting Numbers: [4, 30]
Generated Node #0,1,2: 49:[4, 30] Operation: 58-28=30
Exploring Operation: 28/4=7, Resulting Numbers: [58, 7]
Generated Node #0,1,3: 49:[58, 7] Operation: 28/4=7
Moving to Node #0,3
Current State: 49:[83, 4, 3], Operations: ['58-55=3']
Exploring Operation: 83-4=79, Resulting Numbers: [3, 79]
Generated Node #0,3,0: 49:[3, 79] Operation: 83-4=79
Exploring Operation: 83-3=80, Resulting Numbers: [4, 80]
Generated Node #0,3,1: 49:[4, 80] Operation: 83-3=80
Exploring Operation: 4*3=12, Resulting Numbers: [83, 12]
Generated Node #0,3,2: 49:[83, 12] Operation: 4*3=12
Exploring Operation: 4+3=7, Resulting Numbers: [83, 7]
Generated Node #0,3,3: 49:[83, 7] Operation: 4+3=7
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 49:[3, 79], Operations: ['58-55=3', '83-4=79']
Exploring Operation: 79-3=76, Resulting Numbers: [76]
76,49 unequal: No Solution
Exploring Operation: 3+79=82, Resulting Numbers: [82]
82,49 unequal: No Solution
Exploring Operation: 3*79=237, Resulting Numbers: [237]
237,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 49:[4, 80], Operations: ['58-55=3', '83-3=80']
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,49 unequal: No Solution
Exploring Operation: 80-4=76, Resulting Numbers: [76]
76,49 unequal: No Solution
Exploring Operation: 4*80=320, Resulting Numbers: [320]
320,49 unequal: No Solution
Exploring Operation: 4+80=84, Resulting Numbers: [84]
84,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 49:[83, 7], Operations: ['58-55=3', '4+3=7']
Exploring Operation: 83+7=90, Resulting Numbers: [90]
90,49 unequal: No Solution
Exploring Operation: 83*7=581, Resulting Numbers: [581]
581,49 unequal: No Solution
Exploring Operation: 83-7=76, Resulting Numbers: [76]
76,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 49:[83, 12], Operations: ['58-55=3', '4*3=12']
Exploring Operation: 83*12=996, Resulting Numbers: [996]
996,49 unequal: No Solution
Exploring Operation: 83-12=71, Resulting Numbers: [71]
71,49 unequal: No Solution
Exploring Operation: 83+12=95, Resulting Numbers: [95]
95,49 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: 49:[55, 58, 79], Operations: ['83-4=79']
Exploring Operation: 79-55=24, Resulting Numbers: [58, 24]
Generated Node #0,0,0: 49:[58, 24] Operation: 79-55=24
Exploring Operation: 55+58=113, Resulting Numbers: [79, 113]
Generated Node #0,0,1: 49:[79, 113] Operation: 55+58=113
Exploring Operation: 79-58=21, Resulting Numbers: [55, 21]
Generated Node #0,0,2: 49:[55, 21] Operation: 79-58=21
Exploring Operation: 58-55=3, Resulting Numbers: [79, 3]
Generated Node #0,0,3: 49:[79, 3] Operation: 58-55=3
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 49:[55, 21], Operations: ['83-4=79', '79-58=21']
Exploring Operation: 55+21=76, Resulting Numbers: [76]
76,49 unequal: No Solution
Exploring Operation: 55*21=1155, Resulting Numbers: [1155]
1155,49 unequal: No Solution
Exploring Operation: 55-21=34, Resulting Numbers: [34]
34,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 49:[58, 24], Operations: ['83-4=79', '79-55=24']
Exploring Operation: 58-24=34, Resulting Numbers: [34]
34,49 unequal: No Solution
Exploring Operation: 58*24=1392, Resulting Numbers: [1392]
1392,49 unequal: No Solution
Exploring Operation: 58+24=82, Resulting Numbers: [82]
82,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 49:[79, 3], Operations: ['83-4=79', '58-55=3']
Exploring Operation: 79-3=76, Resulting Numbers: [76]
76,49 unequal: No Solution
Exploring Operation: 79*3=237, Resulting Numbers: [237]
237,49 unequal: No Solution
Exploring Operation: 79+3=82, Resulting Numbers: [82]
82,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 49:[79, 113], Operations: ['83-4=79', '55+58=113']
Exploring Operation: 79*113=8927, Resulting Numbers: [8927]
8927,49 unequal: No Solution
Exploring Operation: 79+113=192, Resulting Numbers: [192]
192,49 unequal: No Solution
Exploring Operation: 113-79=34, Resulting Numbers: [34]
34,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,3
Current State: 49:[58, 7], Operations: ['83-55=28', '28/4=7']
Exploring Operation: 58+7=65, Resulting Numbers: [65]
65,49 unequal: No Solution
Exploring Operation: 58-7=51, Resulting Numbers: [51]
51,49 unequal: No Solution
Exploring Operation: 58*7=406, Resulting Numbers: [406]
406,49 unequal: No Solution
Moving to Node #0,2,0
Current State: 49:[25, 51], Operations: ['83-58=25', '55-4=51']
Exploring Operation: 51-25=26, Resulting Numbers: [26]
26,49 unequal: No Solution
Exploring Operation: 25*51=1275, Resulting Numbers: [1275]
1275,49 unequal: No Solution
Exploring Operation: 25+51=76, Resulting Numbers: [76]
76,49 unequal: No Solution
Moving to Node #0,2,1
Current State: 49:[55, 21], Operations: ['83-58=25', '25-4=21']
Exploring Operation: 55*21=1155, Resulting Numbers: [1155]
1155,49 unequal: No Solution
Exploring Operation: 55+21=76, Resulting Numbers: [76]
76,49 unequal: No Solution
Exploring Operation: 55-21=34, Resulting Numbers: [34]
34,49 unequal: No Solution
Moving to Node #0,2,3
Current State: 49:[4, 30], Operations: ['83-58=25', '55-25=30']
Exploring Operation: 4*30=120, Resulting Numbers: [120]
120,49 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,49 unequal: No Solution
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,49 unequal: No Solution
Moving to Node #0,1,2
Current State: 49:[4, 30], Operations: ['83-55=28', '58-28=30']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,49 unequal: No Solution
Exploring Operation: 4*30=120, Resulting Numbers: [120]
120,49 unequal: No Solution
Exploring Operation: 4+30=34, Resulting Numbers: [34]
34,49 unequal: No Solution
Moving to Node #0,1,0
Current State: 49:[58, 32], Operations: ['83-55=28', '4+28=32']
Exploring Operation: 58*32=1856, Resulting Numbers: [1856]
1856,49 unequal: No Solution
Exploring Operation: 58+32=90, Resulting Numbers: [90]
90,49 unequal: No Solution
Exploring Operation: 58-32=26, Resulting Numbers: [26]
26,49 unequal: No Solution
Moving to Node #0,1,1
Current State: 49:[28, 54], Operations: ['83-55=28', '58-4=54']
Exploring Operation: 28+54=82, Resulting Numbers: [82]
82,49 unequal: No Solution
Exploring Operation: 54-28=26, Resulting Numbers: [26]
26,49 unequal: No Solution
Exploring Operation: 28*54=1512, Resulting Numbers: [1512]
1512,49 unequal: No Solution
Moving to Node #0,2,2
Current State: 49:[55, 29], Operations: ['83-58=25', '4+25=29']
Exploring Operation: 55*29=1595, Resulting Numbers: [1595]
1595,49 unequal: No Solution
Exploring Operation: 55-29=26, Resulting Numbers: [26]
26,49 unequal: No Solution
Exploring Operation: 55+29=84, Resulting Numbers: [84]
84,49 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
19,
56,
4,
8
] | 24 | [
"19*8=152",
"152-56=96",
"96/4=24"
] | Current State: 24:[19, 56, 4, 8], Operations: []
Exploring Operation: 19*8=152, Resulting Numbers: [56, 4, 152]
Generated Node #2: [56, 4, 152] from Operation: 19*8=152
Current State: 24:[56, 4, 152], Operations: ['19*8=152']
Exploring Operation: 152-56=96, Resulting Numbers: [4, 96]
Generated Node #3: [4, 96] from Operation: 152-56=96
Current State: 24:[4, 96], Operations: ['19*8=152', '152-56=96']
Exploring Operation: 96/4=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[19, 56, 4, 8], Operations: []
Exploring Operation: 19+4=23, Resulting Numbers: [56, 8, 23]
Generated Node #0,0: 24:[56, 8, 23] Operation: 19+4=23
Exploring Operation: 56-19=37, Resulting Numbers: [4, 8, 37]
Generated Node #0,1: 24:[4, 8, 37] Operation: 56-19=37
Exploring Operation: 56-8=48, Resulting Numbers: [19, 4, 48]
Generated Node #0,2: 24:[19, 4, 48] Operation: 56-8=48
Exploring Operation: 56/8=7, Resulting Numbers: [19, 4, 7]
Generated Node #0,3: 24:[19, 4, 7] Operation: 56/8=7
Exploring Operation: 56/4=14, Resulting Numbers: [19, 8, 14]
Generated Node #0,4: 24:[19, 8, 14] Operation: 56/4=14
Start Sub Search at level 1: Moving to Node #0,3
Current State: 24:[19, 4, 7], Operations: ['56/8=7']
Exploring Operation: 19+4=23, Resulting Numbers: [7, 23]
Generated Node #0,3,0: 24:[7, 23] Operation: 19+4=23
Exploring Operation: 19-7=12, Resulting Numbers: [4, 12]
Generated Node #0,3,1: 24:[4, 12] Operation: 19-7=12
Exploring Operation: 7-4=3, Resulting Numbers: [19, 3]
Generated Node #0,3,2: 24:[19, 3] Operation: 7-4=3
Exploring Operation: 19-4=15, Resulting Numbers: [7, 15]
Generated Node #0,3,3: 24:[7, 15] Operation: 19-4=15
Exploring Operation: 19+7=26, Resulting Numbers: [4, 26]
Generated Node #0,3,4: 24:[4, 26] Operation: 19+7=26
Moving to Node #0,3,1
Current State: 24:[4, 12], Operations: ['56/8=7', '19-7=12']
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,24 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,24 unequal: No Solution
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,24 unequal: No Solution
Moving to Node #0,3,4
Current State: 24:[4, 26], Operations: ['56/8=7', '19+7=26']
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,24 unequal: No Solution
Exploring Operation: 4+26=30, Resulting Numbers: [30]
30,24 unequal: No Solution
Exploring Operation: 4*26=104, Resulting Numbers: [104]
104,24 unequal: No Solution
Moving to Node #0,3,0
Current State: 24:[7, 23], Operations: ['56/8=7', '19+4=23']
Exploring Operation: 7*23=161, Resulting Numbers: [161]
161,24 unequal: No Solution
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,24 unequal: No Solution
Exploring Operation: 7+23=30, Resulting Numbers: [30]
30,24 unequal: No Solution
Moving to Node #0,3,3
Current State: 24:[7, 15], Operations: ['56/8=7', '19-4=15']
Exploring Operation: 7*15=105, Resulting Numbers: [105]
105,24 unequal: No Solution
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,24 unequal: No Solution
Exploring Operation: 7+15=22, Resulting Numbers: [22]
22,24 unequal: No Solution
Moving to Node #0,3,2
Current State: 24:[19, 3], Operations: ['56/8=7', '7-4=3']
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,24 unequal: No Solution
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,24 unequal: No Solution
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,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,4
Current State: 24:[19, 8, 14], Operations: ['56/4=14']
Exploring Operation: 14-8=6, Resulting Numbers: [19, 6]
Generated Node #0,4,0: 24:[19, 6] Operation: 14-8=6
Exploring Operation: 19-14=5, Resulting Numbers: [8, 5]
Generated Node #0,4,1: 24:[8, 5] Operation: 19-14=5
Exploring Operation: 19-8=11, Resulting Numbers: [14, 11]
Generated Node #0,4,2: 24:[14, 11] Operation: 19-8=11
Exploring Operation: 19+8=27, Resulting Numbers: [14, 27]
Generated Node #0,4,3: 24:[14, 27] Operation: 19+8=27
Exploring Operation: 8+14=22, Resulting Numbers: [19, 22]
Generated Node #0,4,4: 24:[19, 22] Operation: 8+14=22
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 24:[8, 5], Operations: ['56/4=14', '19-14=5']
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,24 unequal: No Solution
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,24 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 24:[14, 11], Operations: ['56/4=14', '19-8=11']
Exploring Operation: 14+11=25, Resulting Numbers: [25]
25,24 unequal: No Solution
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 14*11=154, Resulting Numbers: [154]
154,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 24:[19, 6], Operations: ['56/4=14', '14-8=6']
Exploring Operation: 19+6=25, Resulting Numbers: [25]
25,24 unequal: No Solution
Exploring Operation: 19*6=114, Resulting Numbers: [114]
114,24 unequal: No Solution
Exploring Operation: 19-6=13, Resulting Numbers: [13]
13,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 24:[14, 27], Operations: ['56/4=14', '19+8=27']
Exploring Operation: 27-14=13, Resulting Numbers: [13]
13,24 unequal: No Solution
Exploring Operation: 14*27=378, Resulting Numbers: [378]
378,24 unequal: No Solution
Exploring Operation: 14+27=41, Resulting Numbers: [41]
41,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 24:[19, 22], Operations: ['56/4=14', '8+14=22']
Exploring Operation: 19*22=418, Resulting Numbers: [418]
418,24 unequal: No Solution
Exploring Operation: 22-19=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 19+22=41, Resulting Numbers: [41]
41,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 24:[4, 8, 37], Operations: ['56-19=37']
Exploring Operation: 37-8=29, Resulting Numbers: [4, 29]
Generated Node #0,1,0: 24:[4, 29] Operation: 37-8=29
Exploring Operation: 8/4=2, Resulting Numbers: [37, 2]
Generated Node #0,1,1: 24:[37, 2] Operation: 8/4=2
Exploring Operation: 4+8=12, Resulting Numbers: [37, 12]
Generated Node #0,1,2: 24:[37, 12] Operation: 4+8=12
Exploring Operation: 37-4=33, Resulting Numbers: [8, 33]
Generated Node #0,1,3: 24:[8, 33] Operation: 37-4=33
Exploring Operation: 8-4=4, Resulting Numbers: [37, 4]
Generated Node #0,1,4: 24:[37, 4] Operation: 8-4=4
Moving to Node #0,1,0
Current State: 24:[4, 29], Operations: ['56-19=37', '37-8=29']
Exploring Operation: 4*29=116, Resulting Numbers: [116]
116,24 unequal: No Solution
Exploring Operation: 4+29=33, Resulting Numbers: [33]
33,24 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,24 unequal: No Solution
Moving to Node #0,1,3
Current State: 24:[8, 33], Operations: ['56-19=37', '37-4=33']
Exploring Operation: 8*33=264, Resulting Numbers: [264]
264,24 unequal: No Solution
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,24 unequal: No Solution
Exploring Operation: 8+33=41, Resulting Numbers: [41]
41,24 unequal: No Solution
Moving to Node #0,1,1
Current State: 24:[37, 2], Operations: ['56-19=37', '8/4=2']
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,24 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,24 unequal: No Solution
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,24 unequal: No Solution
Moving to Node #0,1,2
Current State: 24:[37, 12], Operations: ['56-19=37', '4+8=12']
Exploring Operation: 37-12=25, Resulting Numbers: [25]
25,24 unequal: No Solution
Exploring Operation: 37+12=49, Resulting Numbers: [49]
49,24 unequal: No Solution
Exploring Operation: 37*12=444, Resulting Numbers: [444]
444,24 unequal: No Solution
Moving to Node #0,1,4
Current State: 24:[37, 4], Operations: ['56-19=37', '8-4=4']
Exploring Operation: 37*4=148, Resulting Numbers: [148]
148,24 unequal: No Solution
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,24 unequal: No Solution
Exploring Operation: 37+4=41, Resulting Numbers: [41]
41,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
Current State: 24:[19, 4, 48], Operations: ['56-8=48']
Exploring Operation: 48/4=12, Resulting Numbers: [19, 12]
Generated Node #0,2,0: 24:[19, 12] Operation: 48/4=12
Exploring Operation: 48-4=44, Resulting Numbers: [19, 44]
Generated Node #0,2,1: 24:[19, 44] Operation: 48-4=44
Exploring Operation: 19+4=23, Resulting Numbers: [48, 23]
Generated Node #0,2,2: 24:[48, 23] Operation: 19+4=23
Exploring Operation: 19-4=15, Resulting Numbers: [48, 15]
Generated Node #0,2,3: 24:[48, 15] Operation: 19-4=15
Exploring Operation: 48-19=29, Resulting Numbers: [4, 29]
Generated Node #0,2,4: 24:[4, 29] Operation: 48-19=29
Moving to Node #0,2,0
Current State: 24:[19, 12], Operations: ['56-8=48', '48/4=12']
Exploring Operation: 19+12=31, Resulting Numbers: [31]
31,24 unequal: No Solution
Exploring Operation: 19-12=7, Resulting Numbers: [7]
7,24 unequal: No Solution
Exploring Operation: 19*12=228, Resulting Numbers: [228]
228,24 unequal: No Solution
Moving to Node #0,2,4
Current State: 24:[4, 29], Operations: ['56-8=48', '48-19=29']
Exploring Operation: 4*29=116, Resulting Numbers: [116]
116,24 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,24 unequal: No Solution
Exploring Operation: 4+29=33, Resulting Numbers: [33]
33,24 unequal: No Solution
Moving to Node #0,2,1
Current State: 24:[19, 44], Operations: ['56-8=48', '48-4=44']
Exploring Operation: 19*44=836, Resulting Numbers: [836]
836,24 unequal: No Solution
Exploring Operation: 19+44=63, Resulting Numbers: [63]
63,24 unequal: No Solution
Exploring Operation: 44-19=25, Resulting Numbers: [25]
25,24 unequal: No Solution
Moving to Node #0,2,2
Current State: 24:[48, 23], Operations: ['56-8=48', '19+4=23']
Exploring Operation: 48-23=25, Resulting Numbers: [25]
25,24 unequal: No Solution
Exploring Operation: 48*23=1104, Resulting Numbers: [1104]
1104,24 unequal: No Solution
Exploring Operation: 48+23=71, Resulting Numbers: [71]
71,24 unequal: No Solution
Moving to Node #0,2,3
Current State: 24:[48, 15], Operations: ['56-8=48', '19-4=15']
Exploring Operation: 48-15=33, Resulting Numbers: [33]
33,24 unequal: No Solution
Exploring Operation: 48+15=63, Resulting Numbers: [63]
63,24 unequal: No Solution
Exploring Operation: 48*15=720, Resulting Numbers: [720]
720,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[56, 8, 23], Operations: ['19+4=23']
Exploring Operation: 56-8=48, Resulting Numbers: [23, 48]
Generated Node #0,0,0: 24:[23, 48] Operation: 56-8=48
Exploring Operation: 8+23=31, Resulting Numbers: [56, 31]
Generated Node #0,0,1: 24:[56, 31] Operation: 8+23=31
Exploring Operation: 56/8=7, Resulting Numbers: [23, 7]
Generated Node #0,0,2: 24:[23, 7] Operation: 56/8=7
Exploring Operation: 56-23=33, Resulting Numbers: [8, 33]
Generated Node #0,0,3: 24:[8, 33] Operation: 56-23=33
Exploring Operation: 23-8=15, Resulting Numbers: [56, 15]
Generated Node #0,0,4: 24:[56, 15] Operation: 23-8=15
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 24:[23, 7], Operations: ['19+4=23', '56/8=7']
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,24 unequal: No Solution
Exploring Operation: 23*7=161, Resulting Numbers: [161]
161,24 unequal: No Solution
Exploring Operation: 23+7=30, Resulting Numbers: [30]
30,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 24:[8, 33], Operations: ['19+4=23', '56-23=33']
Exploring Operation: 8*33=264, Resulting Numbers: [264]
264,24 unequal: No Solution
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,24 unequal: No Solution
Exploring Operation: 8+33=41, Resulting Numbers: [41]
41,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 24:[23, 48], Operations: ['19+4=23', '56-8=48']
Exploring Operation: 23*48=1104, Resulting Numbers: [1104]
1104,24 unequal: No Solution
Exploring Operation: 23+48=71, Resulting Numbers: [71]
71,24 unequal: No Solution
Exploring Operation: 48-23=25, Resulting Numbers: [25]
25,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 24:[56, 15], Operations: ['19+4=23', '23-8=15']
Exploring Operation: 56+15=71, Resulting Numbers: [71]
71,24 unequal: No Solution
Exploring Operation: 56-15=41, Resulting Numbers: [41]
41,24 unequal: No Solution
Exploring Operation: 56*15=840, Resulting Numbers: [840]
840,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 24:[56, 31], Operations: ['19+4=23', '8+23=31']
Exploring Operation: 56*31=1736, Resulting Numbers: [1736]
1736,24 unequal: No Solution
Exploring Operation: 56+31=87, Resulting Numbers: [87]
87,24 unequal: No Solution
Exploring Operation: 56-31=25, Resulting Numbers: [25]
25,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
15,
31,
13,
93
] | 34 | [
"15+31=46",
"93-13=80",
"80-46=34"
] | Current State: 34:[15, 31, 13, 93], Operations: []
Exploring Operation: 15+31=46, Resulting Numbers: [13, 93, 46]
Generated Node #2: [13, 93, 46] from Operation: 15+31=46
Current State: 34:[13, 93, 46], Operations: ['15+31=46']
Exploring Operation: 93-13=80, Resulting Numbers: [46, 80]
Generated Node #3: [46, 80] from Operation: 93-13=80
Current State: 34:[46, 80], Operations: ['15+31=46', '93-13=80']
Exploring Operation: 80-46=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[15, 31, 13, 93], Operations: []
Exploring Operation: 93/31=3, Resulting Numbers: [15, 13, 3]
Generated Node #0,0: 34:[15, 13, 3] Operation: 93/31=3
Moving to Node #0,0
Current State: 34:[15, 13, 3], Operations: ['93/31=3']
Exploring Operation: 15-13=2, Resulting Numbers: [3, 2]
Generated Node #0,0,0: 34:[3, 2] Operation: 15-13=2
Moving to Node #0,0,0
Current State: 34:[3, 2], Operations: ['93/31=3', '15-13=2']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,34 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
68,
82,
30,
97
] | 66 | [
"97-82=15",
"30/15=2",
"68-2=66"
] | Current State: 66:[68, 82, 30, 97], Operations: []
Exploring Operation: 97-82=15, Resulting Numbers: [68, 30, 15]
Generated Node #2: [68, 30, 15] from Operation: 97-82=15
Current State: 66:[68, 30, 15], Operations: ['97-82=15']
Exploring Operation: 30/15=2, Resulting Numbers: [68, 2]
Generated Node #3: [68, 2] from Operation: 30/15=2
Current State: 66:[68, 2], Operations: ['97-82=15', '30/15=2']
Exploring Operation: 68-2=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[68, 82, 30, 97], Operations: []
Exploring Operation: 97-82=15, Resulting Numbers: [68, 30, 15]
Generated Node #0,0: 66:[68, 30, 15] Operation: 97-82=15
Exploring Operation: 97-30=67, Resulting Numbers: [68, 82, 67]
Generated Node #0,1: 66:[68, 82, 67] Operation: 97-30=67
Exploring Operation: 97-68=29, Resulting Numbers: [82, 30, 29]
Generated Node #0,2: 66:[82, 30, 29] Operation: 97-68=29
Exploring Operation: 82-68=14, Resulting Numbers: [30, 97, 14]
Generated Node #0,3: 66:[30, 97, 14] Operation: 82-68=14
Moving to Node #0,0
Current State: 66:[68, 30, 15], Operations: ['97-82=15']
Exploring Operation: 68-30=38, Resulting Numbers: [15, 38]
Generated Node #0,0,0: 66:[15, 38] Operation: 68-30=38
Exploring Operation: 30+15=45, Resulting Numbers: [68, 45]
Generated Node #0,0,1: 66:[68, 45] Operation: 30+15=45
Exploring Operation: 30-15=15, Resulting Numbers: [68, 15]
Generated Node #0,0,2: 66:[68, 15] Operation: 30-15=15
Exploring Operation: 30/15=2, Resulting Numbers: [68, 2]
Generated Node #0,0,3: 66:[68, 2] Operation: 30/15=2
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 66:[68, 2], Operations: ['97-82=15', '30/15=2']
Exploring Operation: 68-2=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[68, 82, 30, 97], Operations: []
Exploring Operation: 97-82=15, Resulting Numbers: [68, 30, 15]
Generated Node #0,0: 66:[68, 30, 15] Operation: 97-82=15
Moving to Node #0,0
Current State: 66:[68, 30, 15], Operations: ['97-82=15']
Exploring Operation: 30/15=2, Resulting Numbers: [68, 2]
Generated Node #0,0,3: 66:[68, 2] Operation: 30/15=2
Moving to Node #0,0,3
Current State: 66:[68, 2], Operations: ['97-82=15', '30/15=2']
Exploring Operation: 68-2=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
72,
66,
12,
62
] | 33 | [
"72-12=60",
"62-60=2",
"66/2=33"
] | Current State: 33:[72, 66, 12, 62], Operations: []
Exploring Operation: 72-12=60, Resulting Numbers: [66, 62, 60]
Generated Node #2: [66, 62, 60] from Operation: 72-12=60
Current State: 33:[66, 62, 60], Operations: ['72-12=60']
Exploring Operation: 62-60=2, Resulting Numbers: [66, 2]
Generated Node #3: [66, 2] from Operation: 62-60=2
Current State: 33:[66, 2], Operations: ['72-12=60', '62-60=2']
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[72, 66, 12, 62], Operations: []
Exploring Operation: 72-66=6, Resulting Numbers: [12, 62, 6]
Generated Node #0,0: 33:[12, 62, 6] Operation: 72-66=6
Exploring Operation: 72-62=10, Resulting Numbers: [66, 12, 10]
Generated Node #0,1: 33:[66, 12, 10] Operation: 72-62=10
Moving to Node #0,0
Current State: 33:[12, 62, 6], Operations: ['72-66=6']
Exploring Operation: 62-6=56, Resulting Numbers: [12, 56]
Generated Node #0,0,0: 33:[12, 56] Operation: 62-6=56
Exploring Operation: 62-12=50, Resulting Numbers: [6, 50]
Generated Node #0,0,1: 33:[6, 50] Operation: 62-12=50
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 33:[6, 50], Operations: ['72-66=6', '62-12=50']
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,33 unequal: No Solution
Exploring Operation: 6+50=56, Resulting Numbers: [56]
56,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 33:[12, 56], Operations: ['72-66=6', '62-6=56']
Exploring Operation: 56-12=44, Resulting Numbers: [44]
44,33 unequal: No Solution
Exploring Operation: 12+56=68, Resulting Numbers: [68]
68,33 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: 33:[66, 12, 10], Operations: ['72-62=10']
Exploring Operation: 66-12=54, Resulting Numbers: [10, 54]
Generated Node #0,1,0: 33:[10, 54] Operation: 66-12=54
Exploring Operation: 66-10=56, Resulting Numbers: [12, 56]
Generated Node #0,1,1: 33:[12, 56] Operation: 66-10=56
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 33:[10, 54], Operations: ['72-62=10', '66-12=54']
Exploring Operation: 10+54=64, Resulting Numbers: [64]
64,33 unequal: No Solution
Exploring Operation: 54-10=44, Resulting Numbers: [44]
44,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 33:[12, 56], Operations: ['72-62=10', '66-10=56']
Exploring Operation: 12+56=68, Resulting Numbers: [68]
68,33 unequal: No Solution
Exploring Operation: 56-12=44, Resulting Numbers: [44]
44,33 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 |
[
96,
40,
98,
48
] | 10 | [
"96+40=136",
"98+48=146",
"146-136=10"
] | Current State: 10:[96, 40, 98, 48], Operations: []
Exploring Operation: 96+40=136, Resulting Numbers: [98, 48, 136]
Generated Node #2: [98, 48, 136] from Operation: 96+40=136
Current State: 10:[98, 48, 136], Operations: ['96+40=136']
Exploring Operation: 98+48=146, Resulting Numbers: [136, 146]
Generated Node #3: [136, 146] from Operation: 98+48=146
Current State: 10:[136, 146], Operations: ['96+40=136', '98+48=146']
Exploring Operation: 146-136=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[96, 40, 98, 48], Operations: []
Exploring Operation: 98-96=2, Resulting Numbers: [40, 48, 2]
Generated Node #0,0: 10:[40, 48, 2] Operation: 98-96=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[40, 48, 2], Operations: ['98-96=2']
Exploring Operation: 48-40=8, Resulting Numbers: [2, 8]
Generated Node #0,0,0: 10:[2, 8] Operation: 48-40=8
Moving to Node #0,0,0
Current State: 10:[2, 8], Operations: ['98-96=2', '48-40=8']
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[96, 40, 98, 48], Operations: []
Exploring Operation: 98-96=2, Resulting Numbers: [40, 48, 2]
Generated Node #0,0: 10:[40, 48, 2] Operation: 98-96=2
Moving to Node #0,0
Current State: 10:[40, 48, 2], Operations: ['98-96=2']
Exploring Operation: 48-40=8, Resulting Numbers: [2, 8]
Generated Node #0,0,0: 10:[2, 8] Operation: 48-40=8
Moving to Node #0,0,0
Current State: 10:[2, 8], Operations: ['98-96=2', '48-40=8']
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
68,
32,
35,
95
] | 24 | [
"68-32=36",
"95-35=60",
"60-36=24"
] | Current State: 24:[68, 32, 35, 95], Operations: []
Exploring Operation: 68-32=36, Resulting Numbers: [35, 95, 36]
Generated Node #2: [35, 95, 36] from Operation: 68-32=36
Current State: 24:[35, 95, 36], Operations: ['68-32=36']
Exploring Operation: 95-35=60, Resulting Numbers: [36, 60]
Generated Node #3: [36, 60] from Operation: 95-35=60
Current State: 24:[36, 60], Operations: ['68-32=36', '95-35=60']
Exploring Operation: 60-36=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[68, 32, 35, 95], Operations: []
Exploring Operation: 95-68=27, Resulting Numbers: [32, 35, 27]
Generated Node #0,0: 24:[32, 35, 27] Operation: 95-68=27
Exploring Operation: 68-35=33, Resulting Numbers: [32, 95, 33]
Generated Node #0,1: 24:[32, 95, 33] Operation: 68-35=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[32, 35, 27], Operations: ['95-68=27']
Exploring Operation: 35-32=3, Resulting Numbers: [27, 3]
Generated Node #0,0,0: 24:[27, 3] Operation: 35-32=3
Exploring Operation: 35-27=8, Resulting Numbers: [32, 8]
Generated Node #0,0,1: 24:[32, 8] Operation: 35-27=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 24:[27, 3], Operations: ['95-68=27', '35-32=3']
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,24 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[68, 32, 35, 95], Operations: []
Exploring Operation: 95-68=27, Resulting Numbers: [32, 35, 27]
Generated Node #0,0: 24:[32, 35, 27] Operation: 95-68=27
Moving to Node #0,0
Current State: 24:[32, 35, 27], Operations: ['95-68=27']
Exploring Operation: 35-32=3, Resulting Numbers: [27, 3]
Generated Node #0,0,0: 24:[27, 3] Operation: 35-32=3
Moving to Node #0,0,0
Current State: 24:[27, 3], Operations: ['95-68=27', '35-32=3']
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
32,
7,
87,
1
] | 62 | [
"32-7=25",
"87*1=87",
"87-25=62"
] | Current State: 62:[32, 7, 87, 1], Operations: []
Exploring Operation: 32-7=25, Resulting Numbers: [87, 1, 25]
Generated Node #2: [87, 1, 25] from Operation: 32-7=25
Current State: 62:[87, 1, 25], Operations: ['32-7=25']
Exploring Operation: 87*1=87, Resulting Numbers: [25, 87]
Generated Node #3: [25, 87] from Operation: 87*1=87
Current State: 62:[25, 87], Operations: ['32-7=25', '87*1=87']
Exploring Operation: 87-25=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[32, 7, 87, 1], Operations: []
Exploring Operation: 87-32=55, Resulting Numbers: [7, 1, 55]
Generated Node #0,0: 62:[7, 1, 55] Operation: 87-32=55
Exploring Operation: 7-1=6, Resulting Numbers: [32, 87, 6]
Generated Node #0,1: 62:[32, 87, 6] Operation: 7-1=6
Exploring Operation: 87-7=80, Resulting Numbers: [32, 1, 80]
Generated Node #0,2: 62:[32, 1, 80] Operation: 87-7=80
Exploring Operation: 32-1=31, Resulting Numbers: [7, 87, 31]
Generated Node #0,3: 62:[7, 87, 31] Operation: 32-1=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[7, 1, 55], Operations: ['87-32=55']
Exploring Operation: 1+55=56, Resulting Numbers: [7, 56]
Generated Node #0,0,0: 62:[7, 56] Operation: 1+55=56
Exploring Operation: 7-1=6, Resulting Numbers: [55, 6]
Generated Node #0,0,1: 62:[55, 6] Operation: 7-1=6
Exploring Operation: 7+55=62, Resulting Numbers: [1, 62]
Generated Node #0,0,2: 62:[1, 62] Operation: 7+55=62
Exploring Operation: 7*1=7, Resulting Numbers: [55, 7]
Generated Node #0,0,3: 62:[55, 7] Operation: 7*1=7
Moving to Node #0,0,2
Current State: 62:[1, 62], Operations: ['87-32=55', '7+55=62']
Exploring Operation: 62-1=61, Resulting Numbers: [61]
61,62 unequal: No Solution
Exploring Operation: 1+62=63, Resulting Numbers: [63]
63,62 unequal: No Solution
Exploring Operation: 62/1=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[32, 7, 87, 1], Operations: []
Exploring Operation: 87-32=55, Resulting Numbers: [7, 1, 55]
Generated Node #0,0: 62:[7, 1, 55] Operation: 87-32=55
Moving to Node #0,0
Current State: 62:[7, 1, 55], Operations: ['87-32=55']
Exploring Operation: 7+55=62, Resulting Numbers: [1, 62]
Generated Node #0,0,2: 62:[1, 62] Operation: 7+55=62
Moving to Node #0,0,2
Current State: 62:[1, 62], Operations: ['87-32=55', '7+55=62']
Exploring Operation: 62/1=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
38,
3,
70,
2
] | 54 | [
"38/2=19",
"3+70=73",
"73-19=54"
] | Current State: 54:[38, 3, 70, 2], Operations: []
Exploring Operation: 38/2=19, Resulting Numbers: [3, 70, 19]
Generated Node #2: [3, 70, 19] from Operation: 38/2=19
Current State: 54:[3, 70, 19], Operations: ['38/2=19']
Exploring Operation: 3+70=73, Resulting Numbers: [19, 73]
Generated Node #3: [19, 73] from Operation: 3+70=73
Current State: 54:[19, 73], Operations: ['38/2=19', '3+70=73']
Exploring Operation: 73-19=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[38, 3, 70, 2], Operations: []
Exploring Operation: 38-3=35, Resulting Numbers: [70, 2, 35]
Generated Node #0,0: 54:[70, 2, 35] Operation: 38-3=35
Exploring Operation: 70/2=35, Resulting Numbers: [38, 3, 35]
Generated Node #0,1: 54:[38, 3, 35] Operation: 70/2=35
Exploring Operation: 38/2=19, Resulting Numbers: [3, 70, 19]
Generated Node #0,2: 54:[3, 70, 19] Operation: 38/2=19
Exploring Operation: 70-38=32, Resulting Numbers: [3, 2, 32]
Generated Node #0,3: 54:[3, 2, 32] Operation: 70-38=32
Start Sub Search at level 1: Moving to Node #0,3
Current State: 54:[3, 2, 32], Operations: ['70-38=32']
Exploring Operation: 32-2=30, Resulting Numbers: [3, 30]
Generated Node #0,3,0: 54:[3, 30] Operation: 32-2=30
Exploring Operation: 32/2=16, Resulting Numbers: [3, 16]
Generated Node #0,3,1: 54:[3, 16] Operation: 32/2=16
Exploring Operation: 3*2=6, Resulting Numbers: [32, 6]
Generated Node #0,3,2: 54:[32, 6] Operation: 3*2=6
Exploring Operation: 32-3=29, Resulting Numbers: [2, 29]
Generated Node #0,3,3: 54:[2, 29] Operation: 32-3=29
Moving to Node #0,3,1
Current State: 54:[3, 16], Operations: ['70-38=32', '32/2=16']
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,54 unequal: No Solution
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,54 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,54 unequal: No Solution
Moving to Node #0,3,3
Current State: 54:[2, 29], Operations: ['70-38=32', '32-3=29']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,54 unequal: No Solution
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,54 unequal: No Solution
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,54 unequal: No Solution
Moving to Node #0,3,0
Current State: 54:[3, 30], Operations: ['70-38=32', '32-2=30']
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Exploring Operation: 3+30=33, Resulting Numbers: [33]
33,54 unequal: No Solution
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,54 unequal: No Solution
Exploring Operation: 3*30=90, Resulting Numbers: [90]
90,54 unequal: No Solution
Moving to Node #0,3,2
Current State: 54:[32, 6], Operations: ['70-38=32', '3*2=6']
Exploring Operation: 32*6=192, Resulting Numbers: [192]
192,54 unequal: No Solution
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,54 unequal: No Solution
Exploring Operation: 32+6=38, Resulting Numbers: [38]
38,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 54:[3, 70, 19], Operations: ['38/2=19']
Exploring Operation: 3*19=57, Resulting Numbers: [70, 57]
Generated Node #0,2,0: 54:[70, 57] Operation: 3*19=57
Exploring Operation: 70-3=67, Resulting Numbers: [19, 67]
Generated Node #0,2,1: 54:[19, 67] Operation: 70-3=67
Exploring Operation: 19-3=16, Resulting Numbers: [70, 16]
Generated Node #0,2,2: 54:[70, 16] Operation: 19-3=16
Exploring Operation: 70-19=51, Resulting Numbers: [3, 51]
Generated Node #0,2,3: 54:[3, 51] Operation: 70-19=51
Moving to Node #0,2,3
Current State: 54:[3, 51], Operations: ['38/2=19', '70-19=51']
Exploring Operation: 3+51=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[38, 3, 70, 2], Operations: []
Exploring Operation: 38/2=19, Resulting Numbers: [3, 70, 19]
Generated Node #0,2: 54:[3, 70, 19] Operation: 38/2=19
Moving to Node #0,2
Current State: 54:[3, 70, 19], Operations: ['38/2=19']
Exploring Operation: 70-19=51, Resulting Numbers: [3, 51]
Generated Node #0,2,3: 54:[3, 51] Operation: 70-19=51
Moving to Node #0,2,3
Current State: 54:[3, 51], Operations: ['38/2=19', '70-19=51']
Exploring Operation: 3+51=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_4 | mult_heuristic |
[
84,
25,
93,
37
] | 56 | [
"25+37=62",
"84*62=5208",
"5208/93=56"
] | Current State: 56:[84, 25, 93, 37], Operations: []
Exploring Operation: 25+37=62, Resulting Numbers: [84, 93, 62]
Generated Node #2: [84, 93, 62] from Operation: 25+37=62
Current State: 56:[84, 93, 62], Operations: ['25+37=62']
Exploring Operation: 84*62=5208, Resulting Numbers: [93, 5208]
Generated Node #3: [93, 5208] from Operation: 84*62=5208
Current State: 56:[93, 5208], Operations: ['25+37=62', '84*62=5208']
Exploring Operation: 5208/93=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[84, 25, 93, 37], Operations: []
Exploring Operation: 93-37=56, Resulting Numbers: [84, 25, 56]
Generated Node #0,0: 56:[84, 25, 56] Operation: 93-37=56
Exploring Operation: 84-25=59, Resulting Numbers: [93, 37, 59]
Generated Node #0,1: 56:[93, 37, 59] Operation: 84-25=59
Exploring Operation: 84-37=47, Resulting Numbers: [25, 93, 47]
Generated Node #0,2: 56:[25, 93, 47] Operation: 84-37=47
Exploring Operation: 93-84=9, Resulting Numbers: [25, 37, 9]
Generated Node #0,3: 56:[25, 37, 9] Operation: 93-84=9
Exploring Operation: 93-25=68, Resulting Numbers: [84, 37, 68]
Generated Node #0,4: 56:[84, 37, 68] Operation: 93-25=68
Moving to Node #0,3
Current State: 56:[25, 37, 9], Operations: ['93-84=9']
Exploring Operation: 25-9=16, Resulting Numbers: [37, 16]
Generated Node #0,3,0: 56:[37, 16] Operation: 25-9=16
Exploring Operation: 37+9=46, Resulting Numbers: [25, 46]
Generated Node #0,3,1: 56:[25, 46] Operation: 37+9=46
Exploring Operation: 37-9=28, Resulting Numbers: [25, 28]
Generated Node #0,3,2: 56:[25, 28] Operation: 37-9=28
Exploring Operation: 37-25=12, Resulting Numbers: [9, 12]
Generated Node #0,3,3: 56:[9, 12] Operation: 37-25=12
Exploring Operation: 25+37=62, Resulting Numbers: [9, 62]
Generated Node #0,3,4: 56:[9, 62] Operation: 25+37=62
Moving to Node #0,0
Current State: 56:[84, 25, 56], Operations: ['93-37=56']
Exploring Operation: 25+56=81, Resulting Numbers: [84, 81]
Generated Node #0,0,0: 56:[84, 81] Operation: 25+56=81
Exploring Operation: 84-56=28, Resulting Numbers: [25, 28]
Generated Node #0,0,1: 56:[25, 28] Operation: 84-56=28
Exploring Operation: 84+25=109, Resulting Numbers: [56, 109]
Generated Node #0,0,2: 56:[56, 109] Operation: 84+25=109
Exploring Operation: 56-25=31, Resulting Numbers: [84, 31]
Generated Node #0,0,3: 56:[84, 31] Operation: 56-25=31
Exploring Operation: 84-25=59, Resulting Numbers: [56, 59]
Generated Node #0,0,4: 56:[56, 59] Operation: 84-25=59
Moving to Node #0,1
Current State: 56:[93, 37, 59], Operations: ['84-25=59']
Exploring Operation: 59-37=22, Resulting Numbers: [93, 22]
Generated Node #0,1,0: 56:[93, 22] Operation: 59-37=22
Exploring Operation: 93+37=130, Resulting Numbers: [59, 130]
Generated Node #0,1,1: 56:[59, 130] Operation: 93+37=130
Exploring Operation: 93-37=56, Resulting Numbers: [59, 56]
Generated Node #0,1,2: 56:[59, 56] Operation: 93-37=56
Exploring Operation: 93-59=34, Resulting Numbers: [37, 34]
Generated Node #0,1,3: 56:[37, 34] Operation: 93-59=34
Exploring Operation: 37+59=96, Resulting Numbers: [93, 96]
Generated Node #0,1,4: 56:[93, 96] Operation: 37+59=96
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 56:[59, 56], Operations: ['84-25=59', '93-37=56']
Exploring Operation: 59-56=3, Resulting Numbers: [3]
3,56 unequal: No Solution
Exploring Operation: 59*56=3304, Resulting Numbers: [3304]
3304,56 unequal: No Solution
Exploring Operation: 59+56=115, Resulting Numbers: [115]
115,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 56:[37, 34], Operations: ['84-25=59', '93-59=34']
Exploring Operation: 37+34=71, Resulting Numbers: [71]
71,56 unequal: No Solution
Exploring Operation: 37*34=1258, Resulting Numbers: [1258]
1258,56 unequal: No Solution
Exploring Operation: 37-34=3, Resulting Numbers: [3]
3,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 56:[93, 22], Operations: ['84-25=59', '59-37=22']
Exploring Operation: 93-22=71, Resulting Numbers: [71]
71,56 unequal: No Solution
Exploring Operation: 93+22=115, Resulting Numbers: [115]
115,56 unequal: No Solution
Exploring Operation: 93*22=2046, Resulting Numbers: [2046]
2046,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:[59, 130], Operations: ['84-25=59', '93+37=130']
Exploring Operation: 130-59=71, Resulting Numbers: [71]
71,56 unequal: No Solution
Exploring Operation: 59*130=7670, Resulting Numbers: [7670]
7670,56 unequal: No Solution
Exploring Operation: 59+130=189, Resulting Numbers: [189]
189,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 56:[93, 96], Operations: ['84-25=59', '37+59=96']
Exploring Operation: 93+96=189, Resulting Numbers: [189]
189,56 unequal: No Solution
Exploring Operation: 96-93=3, Resulting Numbers: [3]
3,56 unequal: No Solution
Exploring Operation: 93*96=8928, Resulting Numbers: [8928]
8928,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 56:[25, 93, 47], Operations: ['84-37=47']
Exploring Operation: 25+47=72, Resulting Numbers: [93, 72]
Generated Node #0,2,0: 56:[93, 72] Operation: 25+47=72
Exploring Operation: 93-47=46, Resulting Numbers: [25, 46]
Generated Node #0,2,1: 56:[25, 46] Operation: 93-47=46
Exploring Operation: 93-25=68, Resulting Numbers: [47, 68]
Generated Node #0,2,2: 56:[47, 68] Operation: 93-25=68
Exploring Operation: 25+93=118, Resulting Numbers: [47, 118]
Generated Node #0,2,3: 56:[47, 118] Operation: 25+93=118
Exploring Operation: 47-25=22, Resulting Numbers: [93, 22]
Generated Node #0,2,4: 56:[93, 22] Operation: 47-25=22
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 56:[25, 46], Operations: ['84-37=47', '93-47=46']
Exploring Operation: 25*46=1150, Resulting Numbers: [1150]
1150,56 unequal: No Solution
Exploring Operation: 46-25=21, Resulting Numbers: [21]
21,56 unequal: No Solution
Exploring Operation: 25+46=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,2,2
Current State: 56:[47, 68], Operations: ['84-37=47', '93-25=68']
Exploring Operation: 68-47=21, Resulting Numbers: [21]
21,56 unequal: No Solution
Exploring Operation: 47*68=3196, Resulting Numbers: [3196]
3196,56 unequal: No Solution
Exploring Operation: 47+68=115, Resulting Numbers: [115]
115,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 56:[93, 22], Operations: ['84-37=47', '47-25=22']
Exploring Operation: 93+22=115, Resulting Numbers: [115]
115,56 unequal: No Solution
Exploring Operation: 93*22=2046, Resulting Numbers: [2046]
2046,56 unequal: No Solution
Exploring Operation: 93-22=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,2,0
Current State: 56:[93, 72], Operations: ['84-37=47', '25+47=72']
Exploring Operation: 93*72=6696, Resulting Numbers: [6696]
6696,56 unequal: No Solution
Exploring Operation: 93+72=165, Resulting Numbers: [165]
165,56 unequal: No Solution
Exploring Operation: 93-72=21, Resulting Numbers: [21]
21,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 56:[47, 118], Operations: ['84-37=47', '25+93=118']
Exploring Operation: 47+118=165, Resulting Numbers: [165]
165,56 unequal: No Solution
Exploring Operation: 118-47=71, Resulting Numbers: [71]
71,56 unequal: No Solution
Exploring Operation: 47*118=5546, Resulting Numbers: [5546]
5546,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 56:[84, 37, 68], Operations: ['93-25=68']
Exploring Operation: 84-37=47, Resulting Numbers: [68, 47]
Generated Node #0,4,0: 56:[68, 47] Operation: 84-37=47
Exploring Operation: 84+37=121, Resulting Numbers: [68, 121]
Generated Node #0,4,1: 56:[68, 121] Operation: 84+37=121
Exploring Operation: 37+68=105, Resulting Numbers: [84, 105]
Generated Node #0,4,2: 56:[84, 105] Operation: 37+68=105
Exploring Operation: 84-68=16, Resulting Numbers: [37, 16]
Generated Node #0,4,3: 56:[37, 16] Operation: 84-68=16
Exploring Operation: 68-37=31, Resulting Numbers: [84, 31]
Generated Node #0,4,4: 56:[84, 31] Operation: 68-37=31
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 56:[37, 16], Operations: ['93-25=68', '84-68=16']
Exploring Operation: 37-16=21, Resulting Numbers: [21]
21,56 unequal: No Solution
Exploring Operation: 37+16=53, Resulting Numbers: [53]
53,56 unequal: No Solution
Exploring Operation: 37*16=592, Resulting Numbers: [592]
592,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 56:[68, 47], Operations: ['93-25=68', '84-37=47']
Exploring Operation: 68*47=3196, Resulting Numbers: [3196]
3196,56 unequal: No Solution
Exploring Operation: 68+47=115, Resulting Numbers: [115]
115,56 unequal: No Solution
Exploring Operation: 68-47=21, Resulting Numbers: [21]
21,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 56:[84, 31], Operations: ['93-25=68', '68-37=31']
Exploring Operation: 84*31=2604, Resulting Numbers: [2604]
2604,56 unequal: No Solution
Exploring Operation: 84-31=53, Resulting Numbers: [53]
53,56 unequal: No Solution
Exploring Operation: 84+31=115, Resulting Numbers: [115]
115,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 56:[68, 121], Operations: ['93-25=68', '84+37=121']
Exploring Operation: 121-68=53, Resulting Numbers: [53]
53,56 unequal: No Solution
Exploring Operation: 68+121=189, Resulting Numbers: [189]
189,56 unequal: No Solution
Exploring Operation: 68*121=8228, Resulting Numbers: [8228]
8228,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 56:[84, 105], Operations: ['93-25=68', '37+68=105']
Exploring Operation: 105-84=21, Resulting Numbers: [21]
21,56 unequal: No Solution
Exploring Operation: 84+105=189, Resulting Numbers: [189]
189,56 unequal: No Solution
Exploring Operation: 84*105=8820, Resulting Numbers: [8820]
8820,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,2
Current State: 56:[25, 28], Operations: ['93-84=9', '37-9=28']
Exploring Operation: 28-25=3, Resulting Numbers: [3]
3,56 unequal: No Solution
Exploring Operation: 25+28=53, Resulting Numbers: [53]
53,56 unequal: No Solution
Exploring Operation: 25*28=700, Resulting Numbers: [700]
700,56 unequal: No Solution
Moving to Node #0,0,1
Current State: 56:[25, 28], Operations: ['93-37=56', '84-56=28']
Exploring Operation: 28-25=3, Resulting Numbers: [3]
3,56 unequal: No Solution
Exploring Operation: 25+28=53, Resulting Numbers: [53]
53,56 unequal: No Solution
Exploring Operation: 25*28=700, Resulting Numbers: [700]
700,56 unequal: No Solution
Moving to Node #0,0,4
Current State: 56:[56, 59], Operations: ['93-37=56', '84-25=59']
Exploring Operation: 56*59=3304, Resulting Numbers: [3304]
3304,56 unequal: No Solution
Exploring Operation: 56+59=115, Resulting Numbers: [115]
115,56 unequal: No Solution
Exploring Operation: 59-56=3, Resulting Numbers: [3]
3,56 unequal: No Solution
Moving to Node #0,3,3
Current State: 56:[9, 12], Operations: ['93-84=9', '37-25=12']
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,56 unequal: No Solution
Exploring Operation: 9*12=108, Resulting Numbers: [108]
108,56 unequal: No Solution
Exploring Operation: 9+12=21, Resulting Numbers: [21]
21,56 unequal: No Solution
Moving to Node #0,3,4
Current State: 56:[9, 62], Operations: ['93-84=9', '25+37=62']
Exploring Operation: 9+62=71, Resulting Numbers: [71]
71,56 unequal: No Solution
Exploring Operation: 9*62=558, Resulting Numbers: [558]
558,56 unequal: No Solution
Exploring Operation: 62-9=53, Resulting Numbers: [53]
53,56 unequal: No Solution
Moving to Node #0,3,0
Current State: 56:[37, 16], Operations: ['93-84=9', '25-9=16']
Exploring Operation: 37-16=21, Resulting Numbers: [21]
21,56 unequal: No Solution
Exploring Operation: 37+16=53, Resulting Numbers: [53]
53,56 unequal: No Solution
Exploring Operation: 37*16=592, Resulting Numbers: [592]
592,56 unequal: No Solution
Moving to Node #0,3,1
Current State: 56:[25, 46], Operations: ['93-84=9', '37+9=46']
Exploring Operation: 25*46=1150, Resulting Numbers: [1150]
1150,56 unequal: No Solution
Exploring Operation: 46-25=21, Resulting Numbers: [21]
21,56 unequal: No Solution
Exploring Operation: 25+46=71, Resulting Numbers: [71]
71,56 unequal: No Solution
Moving to Node #0,0,3
Current State: 56:[84, 31], Operations: ['93-37=56', '56-25=31']
Exploring Operation: 84+31=115, Resulting Numbers: [115]
115,56 unequal: No Solution
Exploring Operation: 84*31=2604, Resulting Numbers: [2604]
2604,56 unequal: No Solution
Exploring Operation: 84-31=53, Resulting Numbers: [53]
53,56 unequal: No Solution
Moving to Node #0,0,2
Current State: 56:[56, 109], Operations: ['93-37=56', '84+25=109']
Exploring Operation: 109-56=53, Resulting Numbers: [53]
53,56 unequal: No Solution
Exploring Operation: 56*109=6104, Resulting Numbers: [6104]
6104,56 unequal: No Solution
Exploring Operation: 56+109=165, Resulting Numbers: [165]
165,56 unequal: No Solution
Moving to Node #0,0,0
Current State: 56:[84, 81], Operations: ['93-37=56', '25+56=81']
Exploring Operation: 84+81=165, Resulting Numbers: [165]
165,56 unequal: No Solution
Exploring Operation: 84*81=6804, Resulting Numbers: [6804]
6804,56 unequal: No Solution
Exploring Operation: 84-81=3, Resulting Numbers: [3]
3,56 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
37,
41,
27,
40
] | 11 | [
"37+41=78",
"27+40=67",
"78-67=11"
] | Current State: 11:[37, 41, 27, 40], Operations: []
Exploring Operation: 37+41=78, Resulting Numbers: [27, 40, 78]
Generated Node #2: [27, 40, 78] from Operation: 37+41=78
Current State: 11:[27, 40, 78], Operations: ['37+41=78']
Exploring Operation: 27+40=67, Resulting Numbers: [78, 67]
Generated Node #3: [78, 67] from Operation: 27+40=67
Current State: 11:[78, 67], Operations: ['37+41=78', '27+40=67']
Exploring Operation: 78-67=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[37, 41, 27, 40], Operations: []
Exploring Operation: 41-37=4, Resulting Numbers: [27, 40, 4]
Generated Node #0,0: 11:[27, 40, 4] Operation: 41-37=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[27, 40, 4], Operations: ['41-37=4']
Exploring Operation: 40-27=13, Resulting Numbers: [4, 13]
Generated Node #0,0,0: 11:[4, 13] Operation: 40-27=13
Moving to Node #0,0,0
Current State: 11:[4, 13], Operations: ['41-37=4', '40-27=13']
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
30,
64,
94,
33
] | 33 | [
"30+64=94",
"94+33=127",
"127-94=33"
] | Current State: 33:[30, 64, 94, 33], Operations: []
Exploring Operation: 30+64=94, Resulting Numbers: [94, 33, 94]
Generated Node #2: [94, 33, 94] from Operation: 30+64=94
Current State: 33:[94, 33, 94], Operations: ['30+64=94']
Exploring Operation: 94+33=127, Resulting Numbers: [127]
127,33 equal: Goal Reached
Exploring Operation: 127-94=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[30, 64, 94, 33], Operations: []
Exploring Operation: 94-64=30, Resulting Numbers: [30, 33, 30]
Generated Node #0,0: 33:[30, 33, 30] Operation: 94-64=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[30, 33, 30], Operations: ['94-64=30']
Exploring Operation: 30/30=1, Resulting Numbers: [33, 1]
Generated Node #0,0,0: 33:[33, 1] Operation: 30/30=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 33:[33, 1], Operations: ['94-64=30', '30/30=1']
Exploring Operation: 33*1=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[30, 64, 94, 33], Operations: []
Exploring Operation: 94-64=30, Resulting Numbers: [30, 33, 30]
Generated Node #0,0: 33:[30, 33, 30] Operation: 94-64=30
Moving to Node #0,0
Current State: 33:[30, 33, 30], Operations: ['94-64=30']
Exploring Operation: 30/30=1, Resulting Numbers: [33, 1]
Generated Node #0,0,0: 33:[33, 1] Operation: 30/30=1
Moving to Node #0,0,0
Current State: 33:[33, 1], Operations: ['94-64=30', '30/30=1']
Exploring Operation: 33*1=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
51,
69,
63,
12
] | 53 | [
"51+69=120",
"120/12=10",
"63-10=53"
] | Current State: 53:[51, 69, 63, 12], Operations: []
Exploring Operation: 51+69=120, Resulting Numbers: [63, 12, 120]
Generated Node #2: [63, 12, 120] from Operation: 51+69=120
Current State: 53:[63, 12, 120], Operations: ['51+69=120']
Exploring Operation: 120/12=10, Resulting Numbers: [63, 10]
Generated Node #3: [63, 10] from Operation: 120/12=10
Current State: 53:[63, 10], Operations: ['51+69=120', '120/12=10']
Exploring Operation: 63-10=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[51, 69, 63, 12], Operations: []
Exploring Operation: 69-12=57, Resulting Numbers: [51, 63, 57]
Generated Node #0,0: 53:[51, 63, 57] Operation: 69-12=57
Exploring Operation: 63-12=51, Resulting Numbers: [51, 69, 51]
Generated Node #0,1: 53:[51, 69, 51] Operation: 63-12=51
Moving to Node #0,0
Current State: 53:[51, 63, 57], Operations: ['69-12=57']
Exploring Operation: 63-51=12, Resulting Numbers: [57, 12]
Generated Node #0,0,0: 53:[57, 12] Operation: 63-51=12
Exploring Operation: 63-57=6, Resulting Numbers: [51, 6]
Generated Node #0,0,1: 53:[51, 6] Operation: 63-57=6
Moving to Node #0,1
Current State: 53:[51, 69, 51], Operations: ['63-12=51']
Exploring Operation: 69-51=18, Resulting Numbers: [51, 18]
Generated Node #0,1,0: 53:[51, 18] Operation: 69-51=18
Exploring Operation: 69-51=18, Resulting Numbers: [51, 18]
Generated Node #0,1,1: 53:[51, 18] Operation: 69-51=18
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 53:[51, 18], Operations: ['63-12=51', '69-51=18']
Exploring Operation: 51-18=33, Resulting Numbers: [33]
33,53 unequal: No Solution
Exploring Operation: 51+18=69, Resulting Numbers: [69]
69,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 53:[51, 18], Operations: ['63-12=51', '69-51=18']
Exploring Operation: 51+18=69, Resulting Numbers: [69]
69,53 unequal: No Solution
Exploring Operation: 51-18=33, Resulting Numbers: [33]
33,53 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: 53:[57, 12], Operations: ['69-12=57', '63-51=12']
Exploring Operation: 57+12=69, Resulting Numbers: [69]
69,53 unequal: No Solution
Exploring Operation: 57-12=45, Resulting Numbers: [45]
45,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[51, 6], Operations: ['69-12=57', '63-57=6']
Exploring Operation: 51+6=57, Resulting Numbers: [57]
57,53 unequal: No Solution
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,53 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
84,
58,
2,
10
] | 10 | [
"84/2=42",
"58+42=100",
"100/10=10"
] | Current State: 10:[84, 58, 2, 10], Operations: []
Exploring Operation: 84/2=42, Resulting Numbers: [58, 10, 42]
Generated Node #2: [58, 10, 42] from Operation: 84/2=42
Current State: 10:[58, 10, 42], Operations: ['84/2=42']
Exploring Operation: 58+42=100, Resulting Numbers: [10, 100]
Generated Node #3: [10, 100] from Operation: 58+42=100
Current State: 10:[10, 100], Operations: ['84/2=42', '58+42=100']
Exploring Operation: 100/10=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[84, 58, 2, 10], Operations: []
Exploring Operation: 84-10=74, Resulting Numbers: [58, 2, 74]
Generated Node #0,0: 10:[58, 2, 74] Operation: 84-10=74
Exploring Operation: 84-58=26, Resulting Numbers: [2, 10, 26]
Generated Node #0,1: 10:[2, 10, 26] Operation: 84-58=26
Exploring Operation: 58/2=29, Resulting Numbers: [84, 10, 29]
Generated Node #0,2: 10:[84, 10, 29] Operation: 58/2=29
Exploring Operation: 84/2=42, Resulting Numbers: [58, 10, 42]
Generated Node #0,3: 10:[58, 10, 42] Operation: 84/2=42
Moving to Node #0,1
Current State: 10:[2, 10, 26], Operations: ['84-58=26']
Exploring Operation: 26-2=24, Resulting Numbers: [10, 24]
Generated Node #0,1,0: 10:[10, 24] Operation: 26-2=24
Exploring Operation: 26-10=16, Resulting Numbers: [2, 16]
Generated Node #0,1,1: 10:[2, 16] Operation: 26-10=16
Exploring Operation: 10/2=5, Resulting Numbers: [26, 5]
Generated Node #0,1,2: 10:[26, 5] Operation: 10/2=5
Exploring Operation: 26/2=13, Resulting Numbers: [10, 13]
Generated Node #0,1,3: 10:[10, 13] Operation: 26/2=13
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 10:[10, 13], Operations: ['84-58=26', '26/2=13']
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,10 unequal: No Solution
Exploring Operation: 10+13=23, Resulting Numbers: [23]
23,10 unequal: No Solution
Exploring Operation: 10*13=130, Resulting Numbers: [130]
130,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 10:[2, 16], Operations: ['84-58=26', '26-10=16']
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,10 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,10 unequal: No Solution
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,10 unequal: No Solution
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 10:[10, 24], Operations: ['84-58=26', '26-2=24']
Exploring Operation: 10*24=240, Resulting Numbers: [240]
240,10 unequal: No Solution
Exploring Operation: 10+24=34, Resulting Numbers: [34]
34,10 unequal: No Solution
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 10:[26, 5], Operations: ['84-58=26', '10/2=5']
Exploring Operation: 26*5=130, Resulting Numbers: [130]
130,10 unequal: No Solution
Exploring Operation: 26+5=31, Resulting Numbers: [31]
31,10 unequal: No Solution
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,10 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: 10:[58, 10, 42], Operations: ['84/2=42']
Exploring Operation: 58-10=48, Resulting Numbers: [42, 48]
Generated Node #0,3,0: 10:[42, 48] Operation: 58-10=48
Exploring Operation: 58-42=16, Resulting Numbers: [10, 16]
Generated Node #0,3,1: 10:[10, 16] Operation: 58-42=16
Exploring Operation: 42-10=32, Resulting Numbers: [58, 32]
Generated Node #0,3,2: 10:[58, 32] Operation: 42-10=32
Exploring Operation: 58+10=68, Resulting Numbers: [42, 68]
Generated Node #0,3,3: 10:[42, 68] Operation: 58+10=68
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 10:[10, 16], Operations: ['84/2=42', '58-42=16']
Exploring Operation: 10*16=160, Resulting Numbers: [160]
160,10 unequal: No Solution
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,10 unequal: No Solution
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 10:[42, 48], Operations: ['84/2=42', '58-10=48']
Exploring Operation: 42*48=2016, Resulting Numbers: [2016]
2016,10 unequal: No Solution
Exploring Operation: 42+48=90, Resulting Numbers: [90]
90,10 unequal: No Solution
Exploring Operation: 48-42=6, Resulting Numbers: [6]
6,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 10:[58, 32], Operations: ['84/2=42', '42-10=32']
Exploring Operation: 58+32=90, Resulting Numbers: [90]
90,10 unequal: No Solution
Exploring Operation: 58-32=26, Resulting Numbers: [26]
26,10 unequal: No Solution
Exploring Operation: 58*32=1856, Resulting Numbers: [1856]
1856,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 10:[42, 68], Operations: ['84/2=42', '58+10=68']
Exploring Operation: 42*68=2856, Resulting Numbers: [2856]
2856,10 unequal: No Solution
Exploring Operation: 42+68=110, Resulting Numbers: [110]
110,10 unequal: No Solution
Exploring Operation: 68-42=26, Resulting Numbers: [26]
26,10 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: 10:[84, 10, 29], Operations: ['58/2=29']
Exploring Operation: 84+10=94, Resulting Numbers: [29, 94]
Generated Node #0,2,0: 10:[29, 94] Operation: 84+10=94
Exploring Operation: 84-10=74, Resulting Numbers: [29, 74]
Generated Node #0,2,1: 10:[29, 74] Operation: 84-10=74
Exploring Operation: 84-29=55, Resulting Numbers: [10, 55]
Generated Node #0,2,2: 10:[10, 55] Operation: 84-29=55
Exploring Operation: 29-10=19, Resulting Numbers: [84, 19]
Generated Node #0,2,3: 10:[84, 19] Operation: 29-10=19
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 10:[10, 55], Operations: ['58/2=29', '84-29=55']
Exploring Operation: 10*55=550, Resulting Numbers: [550]
550,10 unequal: No Solution
Exploring Operation: 55-10=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Exploring Operation: 10+55=65, Resulting Numbers: [65]
65,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 10:[29, 74], Operations: ['58/2=29', '84-10=74']
Exploring Operation: 74-29=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Exploring Operation: 29+74=103, Resulting Numbers: [103]
103,10 unequal: No Solution
Exploring Operation: 29*74=2146, Resulting Numbers: [2146]
2146,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 10:[84, 19], Operations: ['58/2=29', '29-10=19']
Exploring Operation: 84*19=1596, Resulting Numbers: [1596]
1596,10 unequal: No Solution
Exploring Operation: 84-19=65, Resulting Numbers: [65]
65,10 unequal: No Solution
Exploring Operation: 84+19=103, Resulting Numbers: [103]
103,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 10:[29, 94], Operations: ['58/2=29', '84+10=94']
Exploring Operation: 94-29=65, Resulting Numbers: [65]
65,10 unequal: No Solution
Exploring Operation: 29*94=2726, Resulting Numbers: [2726]
2726,10 unequal: No Solution
Exploring Operation: 29+94=123, Resulting Numbers: [123]
123,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 10:[58, 2, 74], Operations: ['84-10=74']
Exploring Operation: 58-2=56, Resulting Numbers: [74, 56]
Generated Node #0,0,0: 10:[74, 56] Operation: 58-2=56
Exploring Operation: 74/2=37, Resulting Numbers: [58, 37]
Generated Node #0,0,1: 10:[58, 37] Operation: 74/2=37
Exploring Operation: 74-58=16, Resulting Numbers: [2, 16]
Generated Node #0,0,2: 10:[2, 16] Operation: 74-58=16
Exploring Operation: 58/2=29, Resulting Numbers: [74, 29]
Generated Node #0,0,3: 10:[74, 29] Operation: 58/2=29
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 10:[2, 16], Operations: ['84-10=74', '74-58=16']
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,10 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,10 unequal: No Solution
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,10 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 10:[58, 37], Operations: ['84-10=74', '74/2=37']
Exploring Operation: 58-37=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Exploring Operation: 58+37=95, Resulting Numbers: [95]
95,10 unequal: No Solution
Exploring Operation: 58*37=2146, Resulting Numbers: [2146]
2146,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 10:[74, 29], Operations: ['84-10=74', '58/2=29']
Exploring Operation: 74-29=45, Resulting Numbers: [45]
45,10 unequal: No Solution
Exploring Operation: 74+29=103, Resulting Numbers: [103]
103,10 unequal: No Solution
Exploring Operation: 74*29=2146, Resulting Numbers: [2146]
2146,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 10:[74, 56], Operations: ['84-10=74', '58-2=56']
Exploring Operation: 74-56=18, Resulting Numbers: [18]
18,10 unequal: No Solution
Exploring Operation: 74+56=130, Resulting Numbers: [130]
130,10 unequal: No Solution
Exploring Operation: 74*56=4144, Resulting Numbers: [4144]
4144,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
7,
74,
3,
91
] | 13 | [
"7+74=81",
"3+91=94",
"94-81=13"
] | Current State: 13:[7, 74, 3, 91], Operations: []
Exploring Operation: 7+74=81, Resulting Numbers: [3, 91, 81]
Generated Node #2: [3, 91, 81] from Operation: 7+74=81
Current State: 13:[3, 91, 81], Operations: ['7+74=81']
Exploring Operation: 3+91=94, Resulting Numbers: [81, 94]
Generated Node #3: [81, 94] from Operation: 3+91=94
Current State: 13:[81, 94], Operations: ['7+74=81', '3+91=94']
Exploring Operation: 94-81=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[7, 74, 3, 91], Operations: []
Exploring Operation: 91/7=13, Resulting Numbers: [74, 3, 13]
Generated Node #0,0: 13:[74, 3, 13] Operation: 91/7=13
Exploring Operation: 91-74=17, Resulting Numbers: [7, 3, 17]
Generated Node #0,1: 13:[7, 3, 17] Operation: 91-74=17
Exploring Operation: 74-7=67, Resulting Numbers: [3, 91, 67]
Generated Node #0,2: 13:[3, 91, 67] Operation: 74-7=67
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[7, 3, 17], Operations: ['91-74=17']
Exploring Operation: 7+3=10, Resulting Numbers: [17, 10]
Generated Node #0,1,0: 13:[17, 10] Operation: 7+3=10
Exploring Operation: 7*3=21, Resulting Numbers: [17, 21]
Generated Node #0,1,1: 13:[17, 21] Operation: 7*3=21
Exploring Operation: 17-3=14, Resulting Numbers: [7, 14]
Generated Node #0,1,2: 13:[7, 14] Operation: 17-3=14
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 13:[17, 10], Operations: ['91-74=17', '7+3=10']
Exploring Operation: 17+10=27, Resulting Numbers: [27]
27,13 unequal: No Solution
Exploring Operation: 17*10=170, Resulting Numbers: [170]
170,13 unequal: No Solution
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 13:[7, 14], Operations: ['91-74=17', '17-3=14']
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,13 unequal: No Solution
Exploring Operation: 7+14=21, Resulting Numbers: [21]
21,13 unequal: No Solution
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 13:[17, 21], Operations: ['91-74=17', '7*3=21']
Exploring Operation: 17*21=357, Resulting Numbers: [357]
357,13 unequal: No Solution
Exploring Operation: 21-17=4, Resulting Numbers: [4]
4,13 unequal: No Solution
Exploring Operation: 17+21=38, Resulting Numbers: [38]
38,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[74, 3, 13], Operations: ['91/7=13']
Exploring Operation: 74-3=71, Resulting Numbers: [13, 71]
Generated Node #0,0,0: 13:[13, 71] Operation: 74-3=71
Exploring Operation: 74-13=61, Resulting Numbers: [3, 61]
Generated Node #0,0,1: 13:[3, 61] Operation: 74-13=61
Exploring Operation: 74+3=77, Resulting Numbers: [13, 77]
Generated Node #0,0,2: 13:[13, 77] Operation: 74+3=77
Moving to Node #0,0,0
Current State: 13:[13, 71], Operations: ['91/7=13', '74-3=71']
Exploring Operation: 71-13=58, Resulting Numbers: [58]
58,13 unequal: No Solution
Exploring Operation: 13+71=84, Resulting Numbers: [84]
84,13 unequal: No Solution
Exploring Operation: 13*71=923, Resulting Numbers: [923]
923,13 unequal: No Solution
Moving to Node #0,0,1
Current State: 13:[3, 61], Operations: ['91/7=13', '74-13=61']
Exploring Operation: 3*61=183, Resulting Numbers: [183]
183,13 unequal: No Solution
Exploring Operation: 3+61=64, Resulting Numbers: [64]
64,13 unequal: No Solution
Exploring Operation: 61-3=58, Resulting Numbers: [58]
58,13 unequal: No Solution
Moving to Node #0,0,2
Current State: 13:[13, 77], Operations: ['91/7=13', '74+3=77']
Exploring Operation: 77-13=64, Resulting Numbers: [64]
64,13 unequal: No Solution
Exploring Operation: 13*77=1001, Resulting Numbers: [1001]
1001,13 unequal: No Solution
Exploring Operation: 13+77=90, Resulting Numbers: [90]
90,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 13:[3, 91, 67], Operations: ['74-7=67']
Exploring Operation: 67-3=64, Resulting Numbers: [91, 64]
Generated Node #0,2,0: 13:[91, 64] Operation: 67-3=64
Exploring Operation: 91-67=24, Resulting Numbers: [3, 24]
Generated Node #0,2,1: 13:[3, 24] Operation: 91-67=24
Exploring Operation: 91-3=88, Resulting Numbers: [67, 88]
Generated Node #0,2,2: 13:[67, 88] Operation: 91-3=88
Moving to Node #0,2,1
Current State: 13:[3, 24], Operations: ['74-7=67', '91-67=24']
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,13 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,13 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,13 unequal: No Solution
Moving to Node #0,2,0
Current State: 13:[91, 64], Operations: ['74-7=67', '67-3=64']
Exploring Operation: 91-64=27, Resulting Numbers: [27]
27,13 unequal: No Solution
Exploring Operation: 91+64=155, Resulting Numbers: [155]
155,13 unequal: No Solution
Exploring Operation: 91*64=5824, Resulting Numbers: [5824]
5824,13 unequal: No Solution
Moving to Node #0,2,2
Current State: 13:[67, 88], Operations: ['74-7=67', '91-3=88']
Exploring Operation: 67+88=155, Resulting Numbers: [155]
155,13 unequal: No Solution
Exploring Operation: 88-67=21, Resulting Numbers: [21]
21,13 unequal: No Solution
Exploring Operation: 67*88=5896, Resulting Numbers: [5896]
5896,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
62,
57,
72,
21
] | 33 | [
"62-57=5",
"21*5=105",
"105-72=33"
] | Current State: 33:[62, 57, 72, 21], Operations: []
Exploring Operation: 62-57=5, Resulting Numbers: [72, 21, 5]
Generated Node #2: [72, 21, 5] from Operation: 62-57=5
Current State: 33:[72, 21, 5], Operations: ['62-57=5']
Exploring Operation: 21*5=105, Resulting Numbers: [72, 105]
Generated Node #3: [72, 105] from Operation: 21*5=105
Current State: 33:[72, 105], Operations: ['62-57=5', '21*5=105']
Exploring Operation: 105-72=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[62, 57, 72, 21], Operations: []
Exploring Operation: 62-21=41, Resulting Numbers: [57, 72, 41]
Generated Node #0,0: 33:[57, 72, 41] Operation: 62-21=41
Exploring Operation: 72-62=10, Resulting Numbers: [57, 21, 10]
Generated Node #0,1: 33:[57, 21, 10] Operation: 72-62=10
Exploring Operation: 72-57=15, Resulting Numbers: [62, 21, 15]
Generated Node #0,2: 33:[62, 21, 15] Operation: 72-57=15
Exploring Operation: 62-57=5, Resulting Numbers: [72, 21, 5]
Generated Node #0,3: 33:[72, 21, 5] Operation: 62-57=5
Moving to Node #0,1
Current State: 33:[57, 21, 10], Operations: ['72-62=10']
Exploring Operation: 21-10=11, Resulting Numbers: [57, 11]
Generated Node #0,1,0: 33:[57, 11] Operation: 21-10=11
Exploring Operation: 21+10=31, Resulting Numbers: [57, 31]
Generated Node #0,1,1: 33:[57, 31] Operation: 21+10=31
Exploring Operation: 57-21=36, Resulting Numbers: [10, 36]
Generated Node #0,1,2: 33:[10, 36] Operation: 57-21=36
Exploring Operation: 57-10=47, Resulting Numbers: [21, 47]
Generated Node #0,1,3: 33:[21, 47] Operation: 57-10=47
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 33:[10, 36], Operations: ['72-62=10', '57-21=36']
Exploring Operation: 36-10=26, Resulting Numbers: [26]
26,33 unequal: No Solution
Exploring Operation: 10+36=46, Resulting Numbers: [46]
46,33 unequal: No Solution
Exploring Operation: 10*36=360, Resulting Numbers: [360]
360,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 33:[57, 11], Operations: ['72-62=10', '21-10=11']
Exploring Operation: 57-11=46, Resulting Numbers: [46]
46,33 unequal: No Solution
Exploring Operation: 57+11=68, Resulting Numbers: [68]
68,33 unequal: No Solution
Exploring Operation: 57*11=627, Resulting Numbers: [627]
627,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 33:[21, 47], Operations: ['72-62=10', '57-10=47']
Exploring Operation: 21+47=68, Resulting Numbers: [68]
68,33 unequal: No Solution
Exploring Operation: 47-21=26, Resulting Numbers: [26]
26,33 unequal: No Solution
Exploring Operation: 21*47=987, Resulting Numbers: [987]
987,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 33:[57, 31], Operations: ['72-62=10', '21+10=31']
Exploring Operation: 57+31=88, Resulting Numbers: [88]
88,33 unequal: No Solution
Exploring Operation: 57-31=26, Resulting Numbers: [26]
26,33 unequal: No Solution
Exploring Operation: 57*31=1767, Resulting Numbers: [1767]
1767,33 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: 33:[62, 21, 15], Operations: ['72-57=15']
Exploring Operation: 21+15=36, Resulting Numbers: [62, 36]
Generated Node #0,2,0: 33:[62, 36] Operation: 21+15=36
Exploring Operation: 62-15=47, Resulting Numbers: [21, 47]
Generated Node #0,2,1: 33:[21, 47] Operation: 62-15=47
Exploring Operation: 62-21=41, Resulting Numbers: [15, 41]
Generated Node #0,2,2: 33:[15, 41] Operation: 62-21=41
Exploring Operation: 21-15=6, Resulting Numbers: [62, 6]
Generated Node #0,2,3: 33:[62, 6] Operation: 21-15=6
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 33:[15, 41], Operations: ['72-57=15', '62-21=41']
Exploring Operation: 15+41=56, Resulting Numbers: [56]
56,33 unequal: No Solution
Exploring Operation: 41-15=26, Resulting Numbers: [26]
26,33 unequal: No Solution
Exploring Operation: 15*41=615, Resulting Numbers: [615]
615,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 33:[21, 47], Operations: ['72-57=15', '62-15=47']
Exploring Operation: 21+47=68, Resulting Numbers: [68]
68,33 unequal: No Solution
Exploring Operation: 47-21=26, Resulting Numbers: [26]
26,33 unequal: No Solution
Exploring Operation: 21*47=987, Resulting Numbers: [987]
987,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 33:[62, 36], Operations: ['72-57=15', '21+15=36']
Exploring Operation: 62+36=98, Resulting Numbers: [98]
98,33 unequal: No Solution
Exploring Operation: 62*36=2232, Resulting Numbers: [2232]
2232,33 unequal: No Solution
Exploring Operation: 62-36=26, Resulting Numbers: [26]
26,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 33:[62, 6], Operations: ['72-57=15', '21-15=6']
Exploring Operation: 62-6=56, Resulting Numbers: [56]
56,33 unequal: No Solution
Exploring Operation: 62*6=372, Resulting Numbers: [372]
372,33 unequal: No Solution
Exploring Operation: 62+6=68, Resulting Numbers: [68]
68,33 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: 33:[72, 21, 5], Operations: ['62-57=5']
Exploring Operation: 21-5=16, Resulting Numbers: [72, 16]
Generated Node #0,3,0: 33:[72, 16] Operation: 21-5=16
Exploring Operation: 72-21=51, Resulting Numbers: [5, 51]
Generated Node #0,3,1: 33:[5, 51] Operation: 72-21=51
Exploring Operation: 21+5=26, Resulting Numbers: [72, 26]
Generated Node #0,3,2: 33:[72, 26] Operation: 21+5=26
Exploring Operation: 72-5=67, Resulting Numbers: [21, 67]
Generated Node #0,3,3: 33:[21, 67] Operation: 72-5=67
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 33:[5, 51], Operations: ['62-57=5', '72-21=51']
Exploring Operation: 5*51=255, Resulting Numbers: [255]
255,33 unequal: No Solution
Exploring Operation: 5+51=56, Resulting Numbers: [56]
56,33 unequal: No Solution
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 33:[72, 16], Operations: ['62-57=5', '21-5=16']
Exploring Operation: 72-16=56, Resulting Numbers: [56]
56,33 unequal: No Solution
Exploring Operation: 72*16=1152, Resulting Numbers: [1152]
1152,33 unequal: No Solution
Exploring Operation: 72+16=88, Resulting Numbers: [88]
88,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 33:[21, 67], Operations: ['62-57=5', '72-5=67']
Exploring Operation: 67-21=46, Resulting Numbers: [46]
46,33 unequal: No Solution
Exploring Operation: 21*67=1407, Resulting Numbers: [1407]
1407,33 unequal: No Solution
Exploring Operation: 21+67=88, Resulting Numbers: [88]
88,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 33:[72, 26], Operations: ['62-57=5', '21+5=26']
Exploring Operation: 72+26=98, Resulting Numbers: [98]
98,33 unequal: No Solution
Exploring Operation: 72*26=1872, Resulting Numbers: [1872]
1872,33 unequal: No Solution
Exploring Operation: 72-26=46, Resulting Numbers: [46]
46,33 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: 33:[57, 72, 41], Operations: ['62-21=41']
Exploring Operation: 57-41=16, Resulting Numbers: [72, 16]
Generated Node #0,0,0: 33:[72, 16] Operation: 57-41=16
Exploring Operation: 72-41=31, Resulting Numbers: [57, 31]
Generated Node #0,0,1: 33:[57, 31] Operation: 72-41=31
Exploring Operation: 72-57=15, Resulting Numbers: [41, 15]
Generated Node #0,0,2: 33:[41, 15] Operation: 72-57=15
Exploring Operation: 57+72=129, Resulting Numbers: [41, 129]
Generated Node #0,0,3: 33:[41, 129] Operation: 57+72=129
Moving to Node #0,0,2
Current State: 33:[41, 15], Operations: ['62-21=41', '72-57=15']
Exploring Operation: 41*15=615, Resulting Numbers: [615]
615,33 unequal: No Solution
Exploring Operation: 41+15=56, Resulting Numbers: [56]
56,33 unequal: No Solution
Exploring Operation: 41-15=26, Resulting Numbers: [26]
26,33 unequal: No Solution
Moving to Node #0,0,1
Current State: 33:[57, 31], Operations: ['62-21=41', '72-41=31']
Exploring Operation: 57*31=1767, Resulting Numbers: [1767]
1767,33 unequal: No Solution
Exploring Operation: 57+31=88, Resulting Numbers: [88]
88,33 unequal: No Solution
Exploring Operation: 57-31=26, Resulting Numbers: [26]
26,33 unequal: No Solution
Moving to Node #0,0,0
Current State: 33:[72, 16], Operations: ['62-21=41', '57-41=16']
Exploring Operation: 72*16=1152, Resulting Numbers: [1152]
1152,33 unequal: No Solution
Exploring Operation: 72+16=88, Resulting Numbers: [88]
88,33 unequal: No Solution
Exploring Operation: 72-16=56, Resulting Numbers: [56]
56,33 unequal: No Solution
Moving to Node #0,0,3
Current State: 33:[41, 129], Operations: ['62-21=41', '57+72=129']
Exploring Operation: 41+129=170, Resulting Numbers: [170]
170,33 unequal: No Solution
Exploring Operation: 41*129=5289, Resulting Numbers: [5289]
5289,33 unequal: No Solution
Exploring Operation: 129-41=88, Resulting Numbers: [88]
88,33 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
28,
56,
59,
6
] | 93 | [
"56-28=28",
"59+6=65",
"28+65=93"
] | Current State: 93:[28, 56, 59, 6], Operations: []
Exploring Operation: 56-28=28, Resulting Numbers: [59, 6, 28]
Generated Node #2: [59, 6, 28] from Operation: 56-28=28
Current State: 93:[59, 6, 28], Operations: ['56-28=28']
Exploring Operation: 59+6=65, Resulting Numbers: [28, 65]
Generated Node #3: [28, 65] from Operation: 59+6=65
Current State: 93:[28, 65], Operations: ['56-28=28', '59+6=65']
Exploring Operation: 28+65=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[28, 56, 59, 6], Operations: []
Exploring Operation: 59-56=3, Resulting Numbers: [28, 6, 3]
Generated Node #0,0: 93:[28, 6, 3] Operation: 59-56=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[28, 6, 3], Operations: ['59-56=3']
Exploring Operation: 28+6=34, Resulting Numbers: [3, 34]
Generated Node #0,0,0: 93:[3, 34] Operation: 28+6=34
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 93:[3, 34], Operations: ['59-56=3', '28+6=34']
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,93 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 |
[
74,
14,
38,
30
] | 13 | [
"14*30=420",
"74+420=494",
"494/38=13"
] | Current State: 13:[74, 14, 38, 30], Operations: []
Exploring Operation: 14*30=420, Resulting Numbers: [74, 38, 420]
Generated Node #2: [74, 38, 420] from Operation: 14*30=420
Current State: 13:[74, 38, 420], Operations: ['14*30=420']
Exploring Operation: 74+420=494, Resulting Numbers: [38, 494]
Generated Node #3: [38, 494] from Operation: 74+420=494
Current State: 13:[38, 494], Operations: ['14*30=420', '74+420=494']
Exploring Operation: 494/38=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[74, 14, 38, 30], Operations: []
Exploring Operation: 38-30=8, Resulting Numbers: [74, 14, 8]
Generated Node #0,0: 13:[74, 14, 8] Operation: 38-30=8
Exploring Operation: 74-38=36, Resulting Numbers: [14, 30, 36]
Generated Node #0,1: 13:[14, 30, 36] Operation: 74-38=36
Exploring Operation: 74-14=60, Resulting Numbers: [38, 30, 60]
Generated Node #0,2: 13:[38, 30, 60] Operation: 74-14=60
Exploring Operation: 74-30=44, Resulting Numbers: [14, 38, 44]
Generated Node #0,3: 13:[14, 38, 44] Operation: 74-30=44
Moving to Node #0,1
Current State: 13:[14, 30, 36], Operations: ['74-38=36']
Exploring Operation: 36-14=22, Resulting Numbers: [30, 22]
Generated Node #0,1,0: 13:[30, 22] Operation: 36-14=22
Exploring Operation: 36-30=6, Resulting Numbers: [14, 6]
Generated Node #0,1,1: 13:[14, 6] Operation: 36-30=6
Exploring Operation: 30-14=16, Resulting Numbers: [36, 16]
Generated Node #0,1,2: 13:[36, 16] Operation: 30-14=16
Exploring Operation: 14+30=44, Resulting Numbers: [36, 44]
Generated Node #0,1,3: 13:[36, 44] Operation: 14+30=44
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 13:[14, 6], Operations: ['74-38=36', '36-30=6']
Exploring Operation: 14+6=20, Resulting Numbers: [20]
20,13 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,13 unequal: No Solution
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 13:[30, 22], Operations: ['74-38=36', '36-14=22']
Exploring Operation: 30*22=660, Resulting Numbers: [660]
660,13 unequal: No Solution
Exploring Operation: 30+22=52, Resulting Numbers: [52]
52,13 unequal: No Solution
Exploring Operation: 30-22=8, Resulting Numbers: [8]
8,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 13:[36, 16], Operations: ['74-38=36', '30-14=16']
Exploring Operation: 36*16=576, Resulting Numbers: [576]
576,13 unequal: No Solution
Exploring Operation: 36-16=20, Resulting Numbers: [20]
20,13 unequal: No Solution
Exploring Operation: 36+16=52, Resulting Numbers: [52]
52,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 13:[36, 44], Operations: ['74-38=36', '14+30=44']
Exploring Operation: 44-36=8, Resulting Numbers: [8]
8,13 unequal: No Solution
Exploring Operation: 36*44=1584, Resulting Numbers: [1584]
1584,13 unequal: No Solution
Exploring Operation: 36+44=80, Resulting Numbers: [80]
80,13 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: 13:[14, 38, 44], Operations: ['74-30=44']
Exploring Operation: 14+38=52, Resulting Numbers: [44, 52]
Generated Node #0,3,0: 13:[44, 52] Operation: 14+38=52
Exploring Operation: 44-38=6, Resulting Numbers: [14, 6]
Generated Node #0,3,1: 13:[14, 6] Operation: 44-38=6
Exploring Operation: 44-14=30, Resulting Numbers: [38, 30]
Generated Node #0,3,2: 13:[38, 30] Operation: 44-14=30
Exploring Operation: 38-14=24, Resulting Numbers: [44, 24]
Generated Node #0,3,3: 13:[44, 24] Operation: 38-14=24
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 13:[14, 6], Operations: ['74-30=44', '44-38=6']
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,13 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,13 unequal: No Solution
Exploring Operation: 14+6=20, Resulting Numbers: [20]
20,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 13:[38, 30], Operations: ['74-30=44', '44-14=30']
Exploring Operation: 38*30=1140, Resulting Numbers: [1140]
1140,13 unequal: No Solution
Exploring Operation: 38+30=68, Resulting Numbers: [68]
68,13 unequal: No Solution
Exploring Operation: 38-30=8, Resulting Numbers: [8]
8,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 13:[44, 24], Operations: ['74-30=44', '38-14=24']
Exploring Operation: 44+24=68, Resulting Numbers: [68]
68,13 unequal: No Solution
Exploring Operation: 44-24=20, Resulting Numbers: [20]
20,13 unequal: No Solution
Exploring Operation: 44*24=1056, Resulting Numbers: [1056]
1056,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 13:[44, 52], Operations: ['74-30=44', '14+38=52']
Exploring Operation: 52-44=8, Resulting Numbers: [8]
8,13 unequal: No Solution
Exploring Operation: 44*52=2288, Resulting Numbers: [2288]
2288,13 unequal: No Solution
Exploring Operation: 44+52=96, Resulting Numbers: [96]
96,13 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: 13:[74, 14, 8], Operations: ['38-30=8']
Exploring Operation: 74+8=82, Resulting Numbers: [14, 82]
Generated Node #0,0,0: 13:[14, 82] Operation: 74+8=82
Exploring Operation: 14-8=6, Resulting Numbers: [74, 6]
Generated Node #0,0,1: 13:[74, 6] Operation: 14-8=6
Exploring Operation: 74-14=60, Resulting Numbers: [8, 60]
Generated Node #0,0,2: 13:[8, 60] Operation: 74-14=60
Exploring Operation: 74-8=66, Resulting Numbers: [14, 66]
Generated Node #0,0,3: 13:[14, 66] Operation: 74-8=66
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 13:[8, 60], Operations: ['38-30=8', '74-14=60']
Exploring Operation: 8+60=68, Resulting Numbers: [68]
68,13 unequal: No Solution
Exploring Operation: 60-8=52, Resulting Numbers: [52]
52,13 unequal: No Solution
Exploring Operation: 8*60=480, Resulting Numbers: [480]
480,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 13:[14, 66], Operations: ['38-30=8', '74-8=66']
Exploring Operation: 66-14=52, Resulting Numbers: [52]
52,13 unequal: No Solution
Exploring Operation: 14+66=80, Resulting Numbers: [80]
80,13 unequal: No Solution
Exploring Operation: 14*66=924, Resulting Numbers: [924]
924,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 13:[74, 6], Operations: ['38-30=8', '14-8=6']
Exploring Operation: 74-6=68, Resulting Numbers: [68]
68,13 unequal: No Solution
Exploring Operation: 74*6=444, Resulting Numbers: [444]
444,13 unequal: No Solution
Exploring Operation: 74+6=80, Resulting Numbers: [80]
80,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 13:[14, 82], Operations: ['38-30=8', '74+8=82']
Exploring Operation: 14+82=96, Resulting Numbers: [96]
96,13 unequal: No Solution
Exploring Operation: 82-14=68, Resulting Numbers: [68]
68,13 unequal: No Solution
Exploring Operation: 14*82=1148, Resulting Numbers: [1148]
1148,13 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: 13:[38, 30, 60], Operations: ['74-14=60']
Exploring Operation: 60-38=22, Resulting Numbers: [30, 22]
Generated Node #0,2,0: 13:[30, 22] Operation: 60-38=22
Exploring Operation: 60-30=30, Resulting Numbers: [38, 30]
Generated Node #0,2,1: 13:[38, 30] Operation: 60-30=30
Exploring Operation: 60/30=2, Resulting Numbers: [38, 2]
Generated Node #0,2,2: 13:[38, 2] Operation: 60/30=2
Exploring Operation: 38-30=8, Resulting Numbers: [60, 8]
Generated Node #0,2,3: 13:[60, 8] Operation: 38-30=8
Moving to Node #0,2,0
Current State: 13:[30, 22], Operations: ['74-14=60', '60-38=22']
Exploring Operation: 30-22=8, Resulting Numbers: [8]
8,13 unequal: No Solution
Exploring Operation: 30*22=660, Resulting Numbers: [660]
660,13 unequal: No Solution
Exploring Operation: 30+22=52, Resulting Numbers: [52]
52,13 unequal: No Solution
Moving to Node #0,2,2
Current State: 13:[38, 2], Operations: ['74-14=60', '60/30=2']
Exploring Operation: 38*2=76, Resulting Numbers: [76]
76,13 unequal: No Solution
Exploring Operation: 38+2=40, Resulting Numbers: [40]
40,13 unequal: No Solution
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,13 unequal: No Solution
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,13 unequal: No Solution
Moving to Node #0,2,1
Current State: 13:[38, 30], Operations: ['74-14=60', '60-30=30']
Exploring Operation: 38*30=1140, Resulting Numbers: [1140]
1140,13 unequal: No Solution
Exploring Operation: 38-30=8, Resulting Numbers: [8]
8,13 unequal: No Solution
Exploring Operation: 38+30=68, Resulting Numbers: [68]
68,13 unequal: No Solution
Moving to Node #0,2,3
Current State: 13:[60, 8], Operations: ['74-14=60', '38-30=8']
Exploring Operation: 60+8=68, Resulting Numbers: [68]
68,13 unequal: No Solution
Exploring Operation: 60*8=480, Resulting Numbers: [480]
480,13 unequal: No Solution
Exploring Operation: 60-8=52, Resulting Numbers: [52]
52,13 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
87,
87,
84,
31
] | 52 | [
"87/87=1",
"84-31=53",
"53-1=52"
] | Current State: 52:[87, 87, 84, 31], Operations: []
Exploring Operation: 87/87=1, Resulting Numbers: [84, 31, 1]
Generated Node #2: [84, 31, 1] from Operation: 87/87=1
Current State: 52:[84, 31, 1], Operations: ['87/87=1']
Exploring Operation: 84-31=53, Resulting Numbers: [1, 53]
Generated Node #3: [1, 53] from Operation: 84-31=53
Current State: 52:[1, 53], Operations: ['87/87=1', '84-31=53']
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[87, 87, 84, 31], Operations: []
Exploring Operation: 87-87=0, Resulting Numbers: [84, 31, 0]
Generated Node #0,0: 52:[84, 31, 0] Operation: 87-87=0
Exploring Operation: 87/87=1, Resulting Numbers: [84, 31, 1]
Generated Node #0,1: 52:[84, 31, 1] Operation: 87/87=1
Moving to Node #0,1
Current State: 52:[84, 31, 1], Operations: ['87/87=1']
Exploring Operation: 84-1=83, Resulting Numbers: [31, 83]
Generated Node #0,1,0: 52:[31, 83] Operation: 84-1=83
Exploring Operation: 84-31=53, Resulting Numbers: [1, 53]
Generated Node #0,1,1: 52:[1, 53] Operation: 84-31=53
Moving to Node #0,0
Current State: 52:[84, 31, 0], Operations: ['87-87=0']
Exploring Operation: 84-31=53, Resulting Numbers: [0, 53]
Generated Node #0,0,0: 52:[0, 53] Operation: 84-31=53
Exploring Operation: 84*0=0, Resulting Numbers: [31, 0]
Generated Node #0,0,1: 52:[31, 0] Operation: 84*0=0
Moving to Node #0,1,1
Current State: 52:[1, 53], Operations: ['87/87=1', '84-31=53']
Exploring Operation: 1*53=53, Resulting Numbers: [53]
53,52 unequal: No Solution
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[87, 87, 84, 31], Operations: []
Exploring Operation: 87/87=1, Resulting Numbers: [84, 31, 1]
Generated Node #0,1: 52:[84, 31, 1] Operation: 87/87=1
Moving to Node #0,1
Current State: 52:[84, 31, 1], Operations: ['87/87=1']
Exploring Operation: 84-31=53, Resulting Numbers: [1, 53]
Generated Node #0,1,1: 52:[1, 53] Operation: 84-31=53
Moving to Node #0,1,1
Current State: 52:[1, 53], Operations: ['87/87=1', '84-31=53']
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 0.989583 | hs_2 | sum_heuristic |
[
5,
30,
48,
34
] | 60 | [
"5*48=240",
"34-30=4",
"240/4=60"
] | Current State: 60:[5, 30, 48, 34], Operations: []
Exploring Operation: 5*48=240, Resulting Numbers: [30, 34, 240]
Generated Node #2: [30, 34, 240] from Operation: 5*48=240
Current State: 60:[30, 34, 240], Operations: ['5*48=240']
Exploring Operation: 34-30=4, Resulting Numbers: [240, 4]
Generated Node #3: [240, 4] from Operation: 34-30=4
Current State: 60:[240, 4], Operations: ['5*48=240', '34-30=4']
Exploring Operation: 240/4=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[5, 30, 48, 34], Operations: []
Exploring Operation: 48-30=18, Resulting Numbers: [5, 34, 18]
Generated Node #0,0: 60:[5, 34, 18] Operation: 48-30=18
Exploring Operation: 5+48=53, Resulting Numbers: [30, 34, 53]
Generated Node #0,1: 60:[30, 34, 53] Operation: 5+48=53
Exploring Operation: 48-34=14, Resulting Numbers: [5, 30, 14]
Generated Node #0,2: 60:[5, 30, 14] Operation: 48-34=14
Moving to Node #0,2
Current State: 60:[5, 30, 14], Operations: ['48-34=14']
Exploring Operation: 14-5=9, Resulting Numbers: [30, 9]
Generated Node #0,2,0: 60:[30, 9] Operation: 14-5=9
Exploring Operation: 5+14=19, Resulting Numbers: [30, 19]
Generated Node #0,2,1: 60:[30, 19] Operation: 5+14=19
Exploring Operation: 30/5=6, Resulting Numbers: [14, 6]
Generated Node #0,2,2: 60:[14, 6] Operation: 30/5=6
Moving to Node #0,0
Current State: 60:[5, 34, 18], Operations: ['48-30=18']
Exploring Operation: 34-5=29, Resulting Numbers: [18, 29]
Generated Node #0,0,0: 60:[18, 29] Operation: 34-5=29
Exploring Operation: 18-5=13, Resulting Numbers: [34, 13]
Generated Node #0,0,1: 60:[34, 13] Operation: 18-5=13
Exploring Operation: 34-18=16, Resulting Numbers: [5, 16]
Generated Node #0,0,2: 60:[5, 16] Operation: 34-18=16
Moving to Node #0,1
Current State: 60:[30, 34, 53], Operations: ['5+48=53']
Exploring Operation: 53-30=23, Resulting Numbers: [34, 23]
Generated Node #0,1,0: 60:[34, 23] Operation: 53-30=23
Exploring Operation: 53-34=19, Resulting Numbers: [30, 19]
Generated Node #0,1,1: 60:[30, 19] Operation: 53-34=19
Exploring Operation: 34-30=4, Resulting Numbers: [53, 4]
Generated Node #0,1,2: 60:[53, 4] Operation: 34-30=4
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 60:[30, 19], Operations: ['5+48=53', '53-34=19']
Exploring Operation: 30+19=49, Resulting Numbers: [49]
49,60 unequal: No Solution
Exploring Operation: 30-19=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 30*19=570, Resulting Numbers: [570]
570,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 60:[34, 23], Operations: ['5+48=53', '53-30=23']
Exploring Operation: 34-23=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 34*23=782, Resulting Numbers: [782]
782,60 unequal: No Solution
Exploring Operation: 34+23=57, Resulting Numbers: [57]
57,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 60:[53, 4], Operations: ['5+48=53', '34-30=4']
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,60 unequal: No Solution
Exploring Operation: 53+4=57, Resulting Numbers: [57]
57,60 unequal: No Solution
Exploring Operation: 53*4=212, Resulting Numbers: [212]
212,60 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: 60:[30, 9], Operations: ['48-34=14', '14-5=9']
Exploring Operation: 30*9=270, Resulting Numbers: [270]
270,60 unequal: No Solution
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,60 unequal: No Solution
Exploring Operation: 30+9=39, Resulting Numbers: [39]
39,60 unequal: No Solution
Moving to Node #0,2,2
Current State: 60:[14, 6], Operations: ['48-34=14', '30/5=6']
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,60 unequal: No Solution
Exploring Operation: 14+6=20, Resulting Numbers: [20]
20,60 unequal: No Solution
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,60 unequal: No Solution
Moving to Node #0,2,1
Current State: 60:[30, 19], Operations: ['48-34=14', '5+14=19']
Exploring Operation: 30-19=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 30+19=49, Resulting Numbers: [49]
49,60 unequal: No Solution
Exploring Operation: 30*19=570, Resulting Numbers: [570]
570,60 unequal: No Solution
Moving to Node #0,0,2
Current State: 60:[5, 16], Operations: ['48-30=18', '34-18=16']
Exploring Operation: 5+16=21, Resulting Numbers: [21]
21,60 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 5*16=80, Resulting Numbers: [80]
80,60 unequal: No Solution
Moving to Node #0,0,0
Current State: 60:[18, 29], Operations: ['48-30=18', '34-5=29']
Exploring Operation: 18+29=47, Resulting Numbers: [47]
47,60 unequal: No Solution
Exploring Operation: 18*29=522, Resulting Numbers: [522]
522,60 unequal: No Solution
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[34, 13], Operations: ['48-30=18', '18-5=13']
Exploring Operation: 34*13=442, Resulting Numbers: [442]
442,60 unequal: No Solution
Exploring Operation: 34-13=21, Resulting Numbers: [21]
21,60 unequal: No Solution
Exploring Operation: 34+13=47, Resulting Numbers: [47]
47,60 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
45,
42,
95,
8
] | 100 | [
"45-42=3",
"95+8=103",
"103-3=100"
] | Current State: 100:[45, 42, 95, 8], Operations: []
Exploring Operation: 45-42=3, Resulting Numbers: [95, 8, 3]
Generated Node #2: [95, 8, 3] from Operation: 45-42=3
Current State: 100:[95, 8, 3], Operations: ['45-42=3']
Exploring Operation: 95+8=103, Resulting Numbers: [3, 103]
Generated Node #3: [3, 103] from Operation: 95+8=103
Current State: 100:[3, 103], Operations: ['45-42=3', '95+8=103']
Exploring Operation: 103-3=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[45, 42, 95, 8], Operations: []
Exploring Operation: 45-42=3, Resulting Numbers: [95, 8, 3]
Generated Node #0,0: 100:[95, 8, 3] Operation: 45-42=3
Moving to Node #0,0
Current State: 100:[95, 8, 3], Operations: ['45-42=3']
Exploring Operation: 95+8=103, Resulting Numbers: [3, 103]
Generated Node #0,0,0: 100:[3, 103] Operation: 95+8=103
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 100:[3, 103], Operations: ['45-42=3', '95+8=103']
Exploring Operation: 103-3=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[45, 42, 95, 8], Operations: []
Exploring Operation: 45-42=3, Resulting Numbers: [95, 8, 3]
Generated Node #0,0: 100:[95, 8, 3] Operation: 45-42=3
Moving to Node #0,0
Current State: 100:[95, 8, 3], Operations: ['45-42=3']
Exploring Operation: 95+8=103, Resulting Numbers: [3, 103]
Generated Node #0,0,0: 100:[3, 103] Operation: 95+8=103
Moving to Node #0,0,0
Current State: 100:[3, 103], Operations: ['45-42=3', '95+8=103']
Exploring Operation: 103-3=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
18,
42,
96,
12
] | 24 | [
"18+42=60",
"96-12=84",
"84-60=24"
] | Current State: 24:[18, 42, 96, 12], Operations: []
Exploring Operation: 18+42=60, Resulting Numbers: [96, 12, 60]
Generated Node #2: [96, 12, 60] from Operation: 18+42=60
Current State: 24:[96, 12, 60], Operations: ['18+42=60']
Exploring Operation: 96-12=84, Resulting Numbers: [60, 84]
Generated Node #3: [60, 84] from Operation: 96-12=84
Current State: 24:[60, 84], Operations: ['18+42=60', '96-12=84']
Exploring Operation: 84-60=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[18, 42, 96, 12], Operations: []
Exploring Operation: 96-42=54, Resulting Numbers: [18, 12, 54]
Generated Node #0,0: 24:[18, 12, 54] Operation: 96-42=54
Exploring Operation: 42-18=24, Resulting Numbers: [96, 12, 24]
Generated Node #0,1: 24:[96, 12, 24] Operation: 42-18=24
Exploring Operation: 96-18=78, Resulting Numbers: [42, 12, 78]
Generated Node #0,2: 24:[42, 12, 78] Operation: 96-18=78
Exploring Operation: 96/12=8, Resulting Numbers: [18, 42, 8]
Generated Node #0,3: 24:[18, 42, 8] Operation: 96/12=8
Exploring Operation: 42-12=30, Resulting Numbers: [18, 96, 30]
Generated Node #0,4: 24:[18, 96, 30] Operation: 42-12=30
Start Sub Search at level 1: Moving to Node #0,3
Current State: 24:[18, 42, 8], Operations: ['96/12=8']
Exploring Operation: 42+8=50, Resulting Numbers: [18, 50]
Generated Node #0,3,0: 24:[18, 50] Operation: 42+8=50
Exploring Operation: 18+8=26, Resulting Numbers: [42, 26]
Generated Node #0,3,1: 24:[42, 26] Operation: 18+8=26
Exploring Operation: 42-8=34, Resulting Numbers: [18, 34]
Generated Node #0,3,2: 24:[18, 34] Operation: 42-8=34
Exploring Operation: 18-8=10, Resulting Numbers: [42, 10]
Generated Node #0,3,3: 24:[42, 10] Operation: 18-8=10
Exploring Operation: 42-18=24, Resulting Numbers: [8, 24]
Generated Node #0,3,4: 24:[8, 24] Operation: 42-18=24
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 24:[8, 24], Operations: ['96/12=8', '42-18=24']
Exploring Operation: 8*24=192, Resulting Numbers: [192]
192,24 unequal: No Solution
Exploring Operation: 8+24=32, Resulting Numbers: [32]
32,24 unequal: No Solution
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,24 unequal: No Solution
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 24:[18, 34], Operations: ['96/12=8', '42-8=34']
Exploring Operation: 18*34=612, Resulting Numbers: [612]
612,24 unequal: No Solution
Exploring Operation: 34-18=16, Resulting Numbers: [16]
16,24 unequal: No Solution
Exploring Operation: 18+34=52, Resulting Numbers: [52]
52,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 24:[42, 26], Operations: ['96/12=8', '18+8=26']
Exploring Operation: 42*26=1092, Resulting Numbers: [1092]
1092,24 unequal: No Solution
Exploring Operation: 42-26=16, Resulting Numbers: [16]
16,24 unequal: No Solution
Exploring Operation: 42+26=68, Resulting Numbers: [68]
68,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 24:[42, 10], Operations: ['96/12=8', '18-8=10']
Exploring Operation: 42+10=52, Resulting Numbers: [52]
52,24 unequal: No Solution
Exploring Operation: 42*10=420, Resulting Numbers: [420]
420,24 unequal: No Solution
Exploring Operation: 42-10=32, Resulting Numbers: [32]
32,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 24:[18, 50], Operations: ['96/12=8', '42+8=50']
Exploring Operation: 18*50=900, Resulting Numbers: [900]
900,24 unequal: No Solution
Exploring Operation: 18+50=68, Resulting Numbers: [68]
68,24 unequal: No Solution
Exploring Operation: 50-18=32, Resulting Numbers: [32]
32,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[18, 12, 54], Operations: ['96-42=54']
Exploring Operation: 54-12=42, Resulting Numbers: [18, 42]
Generated Node #0,0,0: 24:[18, 42] Operation: 54-12=42
Exploring Operation: 54/18=3, Resulting Numbers: [12, 3]
Generated Node #0,0,1: 24:[12, 3] Operation: 54/18=3
Exploring Operation: 54-18=36, Resulting Numbers: [12, 36]
Generated Node #0,0,2: 24:[12, 36] Operation: 54-18=36
Exploring Operation: 18+12=30, Resulting Numbers: [54, 30]
Generated Node #0,0,3: 24:[54, 30] Operation: 18+12=30
Exploring Operation: 18-12=6, Resulting Numbers: [54, 6]
Generated Node #0,0,4: 24:[54, 6] Operation: 18-12=6
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 24:[12, 3], Operations: ['96-42=54', '54/18=3']
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,24 unequal: No Solution
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,24 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,24 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 24:[12, 36], Operations: ['96-42=54', '54-18=36']
Exploring Operation: 12+36=48, Resulting Numbers: [48]
48,24 unequal: No Solution
Exploring Operation: 12*36=432, Resulting Numbers: [432]
432,24 unequal: No Solution
Exploring Operation: 36-12=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[18, 42, 96, 12], Operations: []
Exploring Operation: 96-42=54, Resulting Numbers: [18, 12, 54]
Generated Node #0,0: 24:[18, 12, 54] Operation: 96-42=54
Moving to Node #0,0
Current State: 24:[18, 12, 54], Operations: ['96-42=54']
Exploring Operation: 54-18=36, Resulting Numbers: [12, 36]
Generated Node #0,0,2: 24:[12, 36] Operation: 54-18=36
Moving to Node #0,0,2
Current State: 24:[12, 36], Operations: ['96-42=54', '54-18=36']
Exploring Operation: 36-12=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.963542 | hs_5 | sum_heuristic |
[
68,
2,
24,
91
] | 71 | [
"91-68=23",
"2*24=48",
"23+48=71"
] | Current State: 71:[68, 2, 24, 91], Operations: []
Exploring Operation: 91-68=23, Resulting Numbers: [2, 24, 23]
Generated Node #2: [2, 24, 23] from Operation: 91-68=23
Current State: 71:[2, 24, 23], Operations: ['91-68=23']
Exploring Operation: 2*24=48, Resulting Numbers: [23, 48]
Generated Node #3: [23, 48] from Operation: 2*24=48
Current State: 71:[23, 48], Operations: ['91-68=23', '2*24=48']
Exploring Operation: 23+48=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[68, 2, 24, 91], Operations: []
Exploring Operation: 2*24=48, Resulting Numbers: [68, 91, 48]
Generated Node #0,0: 71:[68, 91, 48] Operation: 2*24=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[68, 91, 48], Operations: ['2*24=48']
Exploring Operation: 91-48=43, Resulting Numbers: [68, 43]
Generated Node #0,0,0: 71:[68, 43] Operation: 91-48=43
Moving to Node #0,0,0
Current State: 71:[68, 43], Operations: ['2*24=48', '91-48=43']
Exploring Operation: 68+43=111, Resulting Numbers: [111]
111,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
98,
25,
10,
20
] | 71 | [
"98-25=73",
"20/10=2",
"73-2=71"
] | Current State: 71:[98, 25, 10, 20], Operations: []
Exploring Operation: 98-25=73, Resulting Numbers: [10, 20, 73]
Generated Node #2: [10, 20, 73] from Operation: 98-25=73
Current State: 71:[10, 20, 73], Operations: ['98-25=73']
Exploring Operation: 20/10=2, Resulting Numbers: [73, 2]
Generated Node #3: [73, 2] from Operation: 20/10=2
Current State: 71:[73, 2], Operations: ['98-25=73', '20/10=2']
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[98, 25, 10, 20], Operations: []
Exploring Operation: 98-25=73, Resulting Numbers: [10, 20, 73]
Generated Node #0,0: 71:[10, 20, 73] Operation: 98-25=73
Exploring Operation: 98-10=88, Resulting Numbers: [25, 20, 88]
Generated Node #0,1: 71:[25, 20, 88] Operation: 98-10=88
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[10, 20, 73], Operations: ['98-25=73']
Exploring Operation: 10+20=30, Resulting Numbers: [73, 30]
Generated Node #0,0,0: 71:[73, 30] Operation: 10+20=30
Exploring Operation: 73-10=63, Resulting Numbers: [20, 63]
Generated Node #0,0,1: 71:[20, 63] Operation: 73-10=63
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 71:[73, 30], Operations: ['98-25=73', '10+20=30']
Exploring Operation: 73-30=43, Resulting Numbers: [43]
43,71 unequal: No Solution
Exploring Operation: 73+30=103, Resulting Numbers: [103]
103,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 71:[20, 63], Operations: ['98-25=73', '73-10=63']
Exploring Operation: 63-20=43, Resulting Numbers: [43]
43,71 unequal: No Solution
Exploring Operation: 20+63=83, Resulting Numbers: [83]
83,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 71:[25, 20, 88], Operations: ['98-10=88']
Exploring Operation: 88-20=68, Resulting Numbers: [25, 68]
Generated Node #0,1,0: 71:[25, 68] Operation: 88-20=68
Exploring Operation: 25+20=45, Resulting Numbers: [88, 45]
Generated Node #0,1,1: 71:[88, 45] Operation: 25+20=45
Moving to Node #0,1,1
Current State: 71:[88, 45], Operations: ['98-10=88', '25+20=45']
Exploring Operation: 88-45=43, Resulting Numbers: [43]
43,71 unequal: No Solution
Exploring Operation: 88+45=133, Resulting Numbers: [133]
133,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[25, 68], Operations: ['98-10=88', '88-20=68']
Exploring Operation: 25+68=93, Resulting Numbers: [93]
93,71 unequal: No Solution
Exploring Operation: 68-25=43, Resulting Numbers: [43]
43,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
94,
96,
3,
91
] | 83 | [
"94+96=190",
"3*91=273",
"273-190=83"
] | Current State: 83:[94, 96, 3, 91], Operations: []
Exploring Operation: 94+96=190, Resulting Numbers: [3, 91, 190]
Generated Node #2: [3, 91, 190] from Operation: 94+96=190
Current State: 83:[3, 91, 190], Operations: ['94+96=190']
Exploring Operation: 3*91=273, Resulting Numbers: [190, 273]
Generated Node #3: [190, 273] from Operation: 3*91=273
Current State: 83:[190, 273], Operations: ['94+96=190', '3*91=273']
Exploring Operation: 273-190=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[94, 96, 3, 91], Operations: []
Exploring Operation: 94+3=97, Resulting Numbers: [96, 91, 97]
Generated Node #0,0: 83:[96, 91, 97] Operation: 94+3=97
Exploring Operation: 91-3=88, Resulting Numbers: [94, 96, 88]
Generated Node #0,1: 83:[94, 96, 88] Operation: 91-3=88
Exploring Operation: 94-3=91, Resulting Numbers: [96, 91, 91]
Generated Node #0,2: 83:[96, 91, 91] Operation: 94-3=91
Exploring Operation: 96+3=99, Resulting Numbers: [94, 91, 99]
Generated Node #0,3: 83:[94, 91, 99] Operation: 96+3=99
Exploring Operation: 96-3=93, Resulting Numbers: [94, 91, 93]
Generated Node #0,4: 83:[94, 91, 93] Operation: 96-3=93
Moving to Node #0,1
Current State: 83:[94, 96, 88], Operations: ['91-3=88']
Exploring Operation: 96-94=2, Resulting Numbers: [88, 2]
Generated Node #0,1,0: 83:[88, 2] Operation: 96-94=2
Exploring Operation: 94+96=190, Resulting Numbers: [88, 190]
Generated Node #0,1,1: 83:[88, 190] Operation: 94+96=190
Exploring Operation: 94-88=6, Resulting Numbers: [96, 6]
Generated Node #0,1,2: 83:[96, 6] Operation: 94-88=6
Exploring Operation: 96-88=8, Resulting Numbers: [94, 8]
Generated Node #0,1,3: 83:[94, 8] Operation: 96-88=8
Exploring Operation: 94+88=182, Resulting Numbers: [96, 182]
Generated Node #0,1,4: 83:[96, 182] Operation: 94+88=182
Moving to Node #0,4
Current State: 83:[94, 91, 93], Operations: ['96-3=93']
Exploring Operation: 94-93=1, Resulting Numbers: [91, 1]
Generated Node #0,4,0: 83:[91, 1] Operation: 94-93=1
Exploring Operation: 94-91=3, Resulting Numbers: [93, 3]
Generated Node #0,4,1: 83:[93, 3] Operation: 94-91=3
Exploring Operation: 94+93=187, Resulting Numbers: [91, 187]
Generated Node #0,4,2: 83:[91, 187] Operation: 94+93=187
Exploring Operation: 94+91=185, Resulting Numbers: [93, 185]
Generated Node #0,4,3: 83:[93, 185] Operation: 94+91=185
Exploring Operation: 93-91=2, Resulting Numbers: [94, 2]
Generated Node #0,4,4: 83:[94, 2] Operation: 93-91=2
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 83:[91, 1], Operations: ['96-3=93', '94-93=1']
Exploring Operation: 91+1=92, Resulting Numbers: [92]
92,83 unequal: No Solution
Exploring Operation: 91/1=91, Resulting Numbers: [91]
91,83 unequal: No Solution
Exploring Operation: 91*1=91, Resulting Numbers: [91]
91,83 unequal: No Solution
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 83:[93, 3], Operations: ['96-3=93', '94-91=3']
Exploring Operation: 93*3=279, Resulting Numbers: [279]
279,83 unequal: No Solution
Exploring Operation: 93+3=96, Resulting Numbers: [96]
96,83 unequal: No Solution
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,83 unequal: No Solution
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 83:[94, 2], Operations: ['96-3=93', '93-91=2']
Exploring Operation: 94/2=47, Resulting Numbers: [47]
47,83 unequal: No Solution
Exploring Operation: 94+2=96, Resulting Numbers: [96]
96,83 unequal: No Solution
Exploring Operation: 94-2=92, Resulting Numbers: [92]
92,83 unequal: No Solution
Exploring Operation: 94*2=188, Resulting Numbers: [188]
188,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 83:[91, 187], Operations: ['96-3=93', '94+93=187']
Exploring Operation: 91+187=278, Resulting Numbers: [278]
278,83 unequal: No Solution
Exploring Operation: 187-91=96, Resulting Numbers: [96]
96,83 unequal: No Solution
Exploring Operation: 91*187=17017, Resulting Numbers: [17017]
17017,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 83:[93, 185], Operations: ['96-3=93', '94+91=185']
Exploring Operation: 93*185=17205, Resulting Numbers: [17205]
17205,83 unequal: No Solution
Exploring Operation: 93+185=278, Resulting Numbers: [278]
278,83 unequal: No Solution
Exploring Operation: 185-93=92, Resulting Numbers: [92]
92,83 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: 83:[96, 91, 91], Operations: ['94-3=91']
Exploring Operation: 91-91=0, Resulting Numbers: [96, 0]
Generated Node #0,2,0: 83:[96, 0] Operation: 91-91=0
Exploring Operation: 91/91=1, Resulting Numbers: [96, 1]
Generated Node #0,2,1: 83:[96, 1] Operation: 91/91=1
Exploring Operation: 96-91=5, Resulting Numbers: [91, 5]
Generated Node #0,2,2: 83:[91, 5] Operation: 96-91=5
Exploring Operation: 96-91=5, Resulting Numbers: [91, 5]
Generated Node #0,2,3: 83:[91, 5] Operation: 96-91=5
Exploring Operation: 96+91=187, Resulting Numbers: [91, 187]
Generated Node #0,2,4: 83:[91, 187] Operation: 96+91=187
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 83:[91, 5], Operations: ['94-3=91', '96-91=5']
Exploring Operation: 91-5=86, Resulting Numbers: [86]
86,83 unequal: No Solution
Exploring Operation: 91+5=96, Resulting Numbers: [96]
96,83 unequal: No Solution
Exploring Operation: 91*5=455, Resulting Numbers: [455]
455,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 83:[91, 5], Operations: ['94-3=91', '96-91=5']
Exploring Operation: 91+5=96, Resulting Numbers: [96]
96,83 unequal: No Solution
Exploring Operation: 91-5=86, Resulting Numbers: [86]
86,83 unequal: No Solution
Exploring Operation: 91*5=455, Resulting Numbers: [455]
455,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 83:[96, 1], Operations: ['94-3=91', '91/91=1']
Exploring Operation: 96+1=97, Resulting Numbers: [97]
97,83 unequal: No Solution
Exploring Operation: 96-1=95, Resulting Numbers: [95]
95,83 unequal: No Solution
Exploring Operation: 96*1=96, Resulting Numbers: [96]
96,83 unequal: No Solution
Exploring Operation: 96/1=96, Resulting Numbers: [96]
96,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 83:[96, 0], Operations: ['94-3=91', '91-91=0']
Exploring Operation: 96-0=96, Resulting Numbers: [96]
96,83 unequal: No Solution
Exploring Operation: 96*0=0, Resulting Numbers: [0]
0,83 unequal: No Solution
Exploring Operation: 96+0=96, Resulting Numbers: [96]
96,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 83:[91, 187], Operations: ['94-3=91', '96+91=187']
Exploring Operation: 91+187=278, Resulting Numbers: [278]
278,83 unequal: No Solution
Exploring Operation: 91*187=17017, Resulting Numbers: [17017]
17017,83 unequal: No Solution
Exploring Operation: 187-91=96, Resulting Numbers: [96]
96,83 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: 83:[96, 91, 97], Operations: ['94+3=97']
Exploring Operation: 97-91=6, Resulting Numbers: [96, 6]
Generated Node #0,0,0: 83:[96, 6] Operation: 97-91=6
Exploring Operation: 96+97=193, Resulting Numbers: [91, 193]
Generated Node #0,0,1: 83:[91, 193] Operation: 96+97=193
Exploring Operation: 96-91=5, Resulting Numbers: [97, 5]
Generated Node #0,0,2: 83:[97, 5] Operation: 96-91=5
Exploring Operation: 97-96=1, Resulting Numbers: [91, 1]
Generated Node #0,0,3: 83:[91, 1] Operation: 97-96=1
Exploring Operation: 96+91=187, Resulting Numbers: [97, 187]
Generated Node #0,0,4: 83:[97, 187] Operation: 96+91=187
Moving to Node #0,3
Current State: 83:[94, 91, 99], Operations: ['96+3=99']
Exploring Operation: 99-91=8, Resulting Numbers: [94, 8]
Generated Node #0,3,0: 83:[94, 8] Operation: 99-91=8
Exploring Operation: 94+99=193, Resulting Numbers: [91, 193]
Generated Node #0,3,1: 83:[91, 193] Operation: 94+99=193
Exploring Operation: 94+91=185, Resulting Numbers: [99, 185]
Generated Node #0,3,2: 83:[99, 185] Operation: 94+91=185
Exploring Operation: 94-91=3, Resulting Numbers: [99, 3]
Generated Node #0,3,3: 83:[99, 3] Operation: 94-91=3
Exploring Operation: 99-94=5, Resulting Numbers: [91, 5]
Generated Node #0,3,4: 83:[91, 5] Operation: 99-94=5
Moving to Node #0,1,0
Current State: 83:[88, 2], Operations: ['91-3=88', '96-94=2']
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,83 unequal: No Solution
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,83 unequal: No Solution
Exploring Operation: 88*2=176, Resulting Numbers: [176]
176,83 unequal: No Solution
Exploring Operation: 88+2=90, Resulting Numbers: [90]
90,83 unequal: No Solution
Moving to Node #0,3,4
Current State: 83:[91, 5], Operations: ['96+3=99', '99-94=5']
Exploring Operation: 91+5=96, Resulting Numbers: [96]
96,83 unequal: No Solution
Exploring Operation: 91-5=86, Resulting Numbers: [86]
86,83 unequal: No Solution
Exploring Operation: 91*5=455, Resulting Numbers: [455]
455,83 unequal: No Solution
Moving to Node #0,1,3
Current State: 83:[94, 8], Operations: ['91-3=88', '96-88=8']
Exploring Operation: 94+8=102, Resulting Numbers: [102]
102,83 unequal: No Solution
Exploring Operation: 94*8=752, Resulting Numbers: [752]
752,83 unequal: No Solution
Exploring Operation: 94-8=86, Resulting Numbers: [86]
86,83 unequal: No Solution
Moving to Node #0,3,0
Current State: 83:[94, 8], Operations: ['96+3=99', '99-91=8']
Exploring Operation: 94+8=102, Resulting Numbers: [102]
102,83 unequal: No Solution
Exploring Operation: 94-8=86, Resulting Numbers: [86]
86,83 unequal: No Solution
Exploring Operation: 94*8=752, Resulting Numbers: [752]
752,83 unequal: No Solution
Moving to Node #0,0,3
Current State: 83:[91, 1], Operations: ['94+3=97', '97-96=1']
Exploring Operation: 91*1=91, Resulting Numbers: [91]
91,83 unequal: No Solution
Exploring Operation: 91+1=92, Resulting Numbers: [92]
92,83 unequal: No Solution
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,83 unequal: No Solution
Exploring Operation: 91/1=91, Resulting Numbers: [91]
91,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[96, 6], Operations: ['91-3=88', '94-88=6']
Exploring Operation: 96*6=576, Resulting Numbers: [576]
576,83 unequal: No Solution
Exploring Operation: 96/6=16, Resulting Numbers: [16]
16,83 unequal: No Solution
Exploring Operation: 96+6=102, Resulting Numbers: [102]
102,83 unequal: No Solution
Exploring Operation: 96-6=90, Resulting Numbers: [90]
90,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[96, 6], Operations: ['94+3=97', '97-91=6']
Exploring Operation: 96-6=90, Resulting Numbers: [90]
90,83 unequal: No Solution
Exploring Operation: 96+6=102, Resulting Numbers: [102]
102,83 unequal: No Solution
Exploring Operation: 96/6=16, Resulting Numbers: [16]
16,83 unequal: No Solution
Exploring Operation: 96*6=576, Resulting Numbers: [576]
576,83 unequal: No Solution
Moving to Node #0,0,2
Current State: 83:[97, 5], Operations: ['94+3=97', '96-91=5']
Exploring Operation: 97-5=92, Resulting Numbers: [92]
92,83 unequal: No Solution
Exploring Operation: 97+5=102, Resulting Numbers: [102]
102,83 unequal: No Solution
Exploring Operation: 97*5=485, Resulting Numbers: [485]
485,83 unequal: No Solution
Moving to Node #0,3,3
Current State: 83:[99, 3], Operations: ['96+3=99', '94-91=3']
Exploring Operation: 99-3=96, Resulting Numbers: [96]
96,83 unequal: No Solution
Exploring Operation: 99*3=297, Resulting Numbers: [297]
297,83 unequal: No Solution
Exploring Operation: 99/3=33, Resulting Numbers: [33]
33,83 unequal: No Solution
Exploring Operation: 99+3=102, Resulting Numbers: [102]
102,83 unequal: No Solution
Moving to Node #0,1,4
Current State: 83:[96, 182], Operations: ['91-3=88', '94+88=182']
Exploring Operation: 96+182=278, Resulting Numbers: [278]
278,83 unequal: No Solution
Exploring Operation: 182-96=86, Resulting Numbers: [86]
86,83 unequal: No Solution
Exploring Operation: 96*182=17472, Resulting Numbers: [17472]
17472,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[88, 190], Operations: ['91-3=88', '94+96=190']
Exploring Operation: 190-88=102, Resulting Numbers: [102]
102,83 unequal: No Solution
Exploring Operation: 88*190=16720, Resulting Numbers: [16720]
16720,83 unequal: No Solution
Exploring Operation: 88+190=278, Resulting Numbers: [278]
278,83 unequal: No Solution
Moving to Node #0,3,1
Current State: 83:[91, 193], Operations: ['96+3=99', '94+99=193']
Exploring Operation: 91+193=284, Resulting Numbers: [284]
284,83 unequal: No Solution
Exploring Operation: 193-91=102, Resulting Numbers: [102]
102,83 unequal: No Solution
Exploring Operation: 91*193=17563, Resulting Numbers: [17563]
17563,83 unequal: No Solution
Moving to Node #0,3,2
Current State: 83:[99, 185], Operations: ['96+3=99', '94+91=185']
Exploring Operation: 99+185=284, Resulting Numbers: [284]
284,83 unequal: No Solution
Exploring Operation: 99*185=18315, Resulting Numbers: [18315]
18315,83 unequal: No Solution
Exploring Operation: 185-99=86, Resulting Numbers: [86]
86,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[91, 193], Operations: ['94+3=97', '96+97=193']
Exploring Operation: 193-91=102, Resulting Numbers: [102]
102,83 unequal: No Solution
Exploring Operation: 91+193=284, Resulting Numbers: [284]
284,83 unequal: No Solution
Exploring Operation: 91*193=17563, Resulting Numbers: [17563]
17563,83 unequal: No Solution
Moving to Node #0,0,4
Current State: 83:[97, 187], Operations: ['94+3=97', '96+91=187']
Exploring Operation: 97+187=284, Resulting Numbers: [284]
284,83 unequal: No Solution
Exploring Operation: 97*187=18139, Resulting Numbers: [18139]
18139,83 unequal: No Solution
Exploring Operation: 187-97=90, Resulting Numbers: [90]
90,83 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
24,
95,
73,
92
] | 85 | [
"95+73=168",
"168/24=7",
"92-7=85"
] | Current State: 85:[24, 95, 73, 92], Operations: []
Exploring Operation: 95+73=168, Resulting Numbers: [24, 92, 168]
Generated Node #2: [24, 92, 168] from Operation: 95+73=168
Current State: 85:[24, 92, 168], Operations: ['95+73=168']
Exploring Operation: 168/24=7, Resulting Numbers: [92, 7]
Generated Node #3: [92, 7] from Operation: 168/24=7
Current State: 85:[92, 7], Operations: ['95+73=168', '168/24=7']
Exploring Operation: 92-7=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[24, 95, 73, 92], Operations: []
Exploring Operation: 24+73=97, Resulting Numbers: [95, 92, 97]
Generated Node #0,0: 85:[95, 92, 97] Operation: 24+73=97
Exploring Operation: 92-73=19, Resulting Numbers: [24, 95, 19]
Generated Node #0,1: 85:[24, 95, 19] Operation: 92-73=19
Exploring Operation: 95-92=3, Resulting Numbers: [24, 73, 3]
Generated Node #0,2: 85:[24, 73, 3] Operation: 95-92=3
Exploring Operation: 95-73=22, Resulting Numbers: [24, 92, 22]
Generated Node #0,3: 85:[24, 92, 22] Operation: 95-73=22
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[24, 95, 19], Operations: ['92-73=19']
Exploring Operation: 95/19=5, Resulting Numbers: [24, 5]
Generated Node #0,1,0: 85:[24, 5] Operation: 95/19=5
Exploring Operation: 95-19=76, Resulting Numbers: [24, 76]
Generated Node #0,1,1: 85:[24, 76] Operation: 95-19=76
Exploring Operation: 24-19=5, Resulting Numbers: [95, 5]
Generated Node #0,1,2: 85:[95, 5] Operation: 24-19=5
Exploring Operation: 95-24=71, Resulting Numbers: [19, 71]
Generated Node #0,1,3: 85:[19, 71] Operation: 95-24=71
Moving to Node #0,1,0
Current State: 85:[24, 5], Operations: ['92-73=19', '95/19=5']
Exploring Operation: 24*5=120, Resulting Numbers: [120]
120,85 unequal: No Solution
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,85 unequal: No Solution
Exploring Operation: 24+5=29, Resulting Numbers: [29]
29,85 unequal: No Solution
Moving to Node #0,1,2
Current State: 85:[95, 5], Operations: ['92-73=19', '24-19=5']
Exploring Operation: 95+5=100, Resulting Numbers: [100]
100,85 unequal: No Solution
Exploring Operation: 95*5=475, Resulting Numbers: [475]
475,85 unequal: No Solution
Exploring Operation: 95-5=90, Resulting Numbers: [90]
90,85 unequal: No Solution
Exploring Operation: 95/5=19, Resulting Numbers: [19]
19,85 unequal: No Solution
Moving to Node #0,1,3
Current State: 85:[19, 71], Operations: ['92-73=19', '95-24=71']
Exploring Operation: 19*71=1349, Resulting Numbers: [1349]
1349,85 unequal: No Solution
Exploring Operation: 71-19=52, Resulting Numbers: [52]
52,85 unequal: No Solution
Exploring Operation: 19+71=90, Resulting Numbers: [90]
90,85 unequal: No Solution
Moving to Node #0,1,1
Current State: 85:[24, 76], Operations: ['92-73=19', '95-19=76']
Exploring Operation: 76-24=52, Resulting Numbers: [52]
52,85 unequal: No Solution
Exploring Operation: 24*76=1824, Resulting Numbers: [1824]
1824,85 unequal: No Solution
Exploring Operation: 24+76=100, Resulting Numbers: [100]
100,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 85:[24, 92, 22], Operations: ['95-73=22']
Exploring Operation: 24-22=2, Resulting Numbers: [92, 2]
Generated Node #0,3,0: 85:[92, 2] Operation: 24-22=2
Exploring Operation: 92-22=70, Resulting Numbers: [24, 70]
Generated Node #0,3,1: 85:[24, 70] Operation: 92-22=70
Exploring Operation: 24+92=116, Resulting Numbers: [22, 116]
Generated Node #0,3,2: 85:[22, 116] Operation: 24+92=116
Exploring Operation: 92-24=68, Resulting Numbers: [22, 68]
Generated Node #0,3,3: 85:[22, 68] Operation: 92-24=68
Moving to Node #0,3,0
Current State: 85:[92, 2], Operations: ['95-73=22', '24-22=2']
Exploring Operation: 92*2=184, Resulting Numbers: [184]
184,85 unequal: No Solution
Exploring Operation: 92/2=46, Resulting Numbers: [46]
46,85 unequal: No Solution
Exploring Operation: 92+2=94, Resulting Numbers: [94]
94,85 unequal: No Solution
Exploring Operation: 92-2=90, Resulting Numbers: [90]
90,85 unequal: No Solution
Moving to Node #0,3,3
Current State: 85:[22, 68], Operations: ['95-73=22', '92-24=68']
Exploring Operation: 68-22=46, Resulting Numbers: [46]
46,85 unequal: No Solution
Exploring Operation: 22+68=90, Resulting Numbers: [90]
90,85 unequal: No Solution
Exploring Operation: 22*68=1496, Resulting Numbers: [1496]
1496,85 unequal: No Solution
Moving to Node #0,3,1
Current State: 85:[24, 70], Operations: ['95-73=22', '92-22=70']
Exploring Operation: 24+70=94, Resulting Numbers: [94]
94,85 unequal: No Solution
Exploring Operation: 70-24=46, Resulting Numbers: [46]
46,85 unequal: No Solution
Exploring Operation: 24*70=1680, Resulting Numbers: [1680]
1680,85 unequal: No Solution
Moving to Node #0,3,2
Current State: 85:[22, 116], Operations: ['95-73=22', '24+92=116']
Exploring Operation: 22+116=138, Resulting Numbers: [138]
138,85 unequal: No Solution
Exploring Operation: 116-22=94, Resulting Numbers: [94]
94,85 unequal: No Solution
Exploring Operation: 22*116=2552, Resulting Numbers: [2552]
2552,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 85:[24, 73, 3], Operations: ['95-92=3']
Exploring Operation: 24/3=8, Resulting Numbers: [73, 8]
Generated Node #0,2,0: 85:[73, 8] Operation: 24/3=8
Exploring Operation: 73+3=76, Resulting Numbers: [24, 76]
Generated Node #0,2,1: 85:[24, 76] Operation: 73+3=76
Exploring Operation: 24+73=97, Resulting Numbers: [3, 97]
Generated Node #0,2,2: 85:[3, 97] Operation: 24+73=97
Exploring Operation: 24-3=21, Resulting Numbers: [73, 21]
Generated Node #0,2,3: 85:[73, 21] Operation: 24-3=21
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 85:[3, 97], Operations: ['95-92=3', '24+73=97']
Exploring Operation: 97-3=94, Resulting Numbers: [94]
94,85 unequal: No Solution
Exploring Operation: 3*97=291, Resulting Numbers: [291]
291,85 unequal: No Solution
Exploring Operation: 3+97=100, Resulting Numbers: [100]
100,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 85:[73, 8], Operations: ['95-92=3', '24/3=8']
Exploring Operation: 73*8=584, Resulting Numbers: [584]
584,85 unequal: No Solution
Exploring Operation: 73-8=65, Resulting Numbers: [65]
65,85 unequal: No Solution
Exploring Operation: 73+8=81, Resulting Numbers: [81]
81,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 85:[24, 76], Operations: ['95-92=3', '73+3=76']
Exploring Operation: 24+76=100, Resulting Numbers: [100]
100,85 unequal: No Solution
Exploring Operation: 24*76=1824, Resulting Numbers: [1824]
1824,85 unequal: No Solution
Exploring Operation: 76-24=52, Resulting Numbers: [52]
52,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 85:[73, 21], Operations: ['95-92=3', '24-3=21']
Exploring Operation: 73-21=52, Resulting Numbers: [52]
52,85 unequal: No Solution
Exploring Operation: 73*21=1533, Resulting Numbers: [1533]
1533,85 unequal: No Solution
Exploring Operation: 73+21=94, Resulting Numbers: [94]
94,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[95, 92, 97], Operations: ['24+73=97']
Exploring Operation: 97-92=5, Resulting Numbers: [95, 5]
Generated Node #0,0,0: 85:[95, 5] Operation: 97-92=5
Exploring Operation: 95-92=3, Resulting Numbers: [97, 3]
Generated Node #0,0,1: 85:[97, 3] Operation: 95-92=3
Exploring Operation: 95+92=187, Resulting Numbers: [97, 187]
Generated Node #0,0,2: 85:[97, 187] Operation: 95+92=187
Exploring Operation: 97-95=2, Resulting Numbers: [92, 2]
Generated Node #0,0,3: 85:[92, 2] Operation: 97-95=2
Moving to Node #0,0,0
Current State: 85:[95, 5], Operations: ['24+73=97', '97-92=5']
Exploring Operation: 95+5=100, Resulting Numbers: [100]
100,85 unequal: No Solution
Exploring Operation: 95*5=475, Resulting Numbers: [475]
475,85 unequal: No Solution
Exploring Operation: 95-5=90, Resulting Numbers: [90]
90,85 unequal: No Solution
Exploring Operation: 95/5=19, Resulting Numbers: [19]
19,85 unequal: No Solution
Moving to Node #0,0,3
Current State: 85:[92, 2], Operations: ['24+73=97', '97-95=2']
Exploring Operation: 92/2=46, Resulting Numbers: [46]
46,85 unequal: No Solution
Exploring Operation: 92-2=90, Resulting Numbers: [90]
90,85 unequal: No Solution
Exploring Operation: 92*2=184, Resulting Numbers: [184]
184,85 unequal: No Solution
Exploring Operation: 92+2=94, Resulting Numbers: [94]
94,85 unequal: No Solution
Moving to Node #0,0,1
Current State: 85:[97, 3], Operations: ['24+73=97', '95-92=3']
Exploring Operation: 97+3=100, Resulting Numbers: [100]
100,85 unequal: No Solution
Exploring Operation: 97*3=291, Resulting Numbers: [291]
291,85 unequal: No Solution
Exploring Operation: 97-3=94, Resulting Numbers: [94]
94,85 unequal: No Solution
Moving to Node #0,0,2
Current State: 85:[97, 187], Operations: ['24+73=97', '95+92=187']
Exploring Operation: 97+187=284, Resulting Numbers: [284]
284,85 unequal: No Solution
Exploring Operation: 97*187=18139, Resulting Numbers: [18139]
18139,85 unequal: No Solution
Exploring Operation: 187-97=90, Resulting Numbers: [90]
90,85 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 |
[
34,
30,
39,
94
] | 62 | [
"34-30=4",
"39*4=156",
"156-94=62"
] | Current State: 62:[34, 30, 39, 94], Operations: []
Exploring Operation: 34-30=4, Resulting Numbers: [39, 94, 4]
Generated Node #2: [39, 94, 4] from Operation: 34-30=4
Current State: 62:[39, 94, 4], Operations: ['34-30=4']
Exploring Operation: 39*4=156, Resulting Numbers: [94, 156]
Generated Node #3: [94, 156] from Operation: 39*4=156
Current State: 62:[94, 156], Operations: ['34-30=4', '39*4=156']
Exploring Operation: 156-94=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[34, 30, 39, 94], Operations: []
Exploring Operation: 34+30=64, Resulting Numbers: [39, 94, 64]
Generated Node #0,0: 62:[39, 94, 64] Operation: 34+30=64
Exploring Operation: 94-34=60, Resulting Numbers: [30, 39, 60]
Generated Node #0,1: 62:[30, 39, 60] Operation: 94-34=60
Exploring Operation: 94-39=55, Resulting Numbers: [34, 30, 55]
Generated Node #0,2: 62:[34, 30, 55] Operation: 94-39=55
Exploring Operation: 94-30=64, Resulting Numbers: [34, 39, 64]
Generated Node #0,3: 62:[34, 39, 64] Operation: 94-30=64
Exploring Operation: 39-34=5, Resulting Numbers: [30, 94, 5]
Generated Node #0,4: 62:[30, 94, 5] Operation: 39-34=5
Moving to Node #0,1
Current State: 62:[30, 39, 60], Operations: ['94-34=60']
Exploring Operation: 30+39=69, Resulting Numbers: [60, 69]
Generated Node #0,1,0: 62:[60, 69] Operation: 30+39=69
Exploring Operation: 60/30=2, Resulting Numbers: [39, 2]
Generated Node #0,1,1: 62:[39, 2] Operation: 60/30=2
Exploring Operation: 60-39=21, Resulting Numbers: [30, 21]
Generated Node #0,1,2: 62:[30, 21] Operation: 60-39=21
Exploring Operation: 60-30=30, Resulting Numbers: [39, 30]
Generated Node #0,1,3: 62:[39, 30] Operation: 60-30=30
Exploring Operation: 39-30=9, Resulting Numbers: [60, 9]
Generated Node #0,1,4: 62:[60, 9] Operation: 39-30=9
Moving to Node #0,2
Current State: 62:[34, 30, 55], Operations: ['94-39=55']
Exploring Operation: 30+55=85, Resulting Numbers: [34, 85]
Generated Node #0,2,0: 62:[34, 85] Operation: 30+55=85
Exploring Operation: 55-34=21, Resulting Numbers: [30, 21]
Generated Node #0,2,1: 62:[30, 21] Operation: 55-34=21
Exploring Operation: 55-30=25, Resulting Numbers: [34, 25]
Generated Node #0,2,2: 62:[34, 25] Operation: 55-30=25
Exploring Operation: 34+30=64, Resulting Numbers: [55, 64]
Generated Node #0,2,3: 62:[55, 64] Operation: 34+30=64
Exploring Operation: 34-30=4, Resulting Numbers: [55, 4]
Generated Node #0,2,4: 62:[55, 4] Operation: 34-30=4
Moving to Node #0,3
Current State: 62:[34, 39, 64], Operations: ['94-30=64']
Exploring Operation: 34+64=98, Resulting Numbers: [39, 98]
Generated Node #0,3,0: 62:[39, 98] Operation: 34+64=98
Exploring Operation: 39-34=5, Resulting Numbers: [64, 5]
Generated Node #0,3,1: 62:[64, 5] Operation: 39-34=5
Exploring Operation: 64-34=30, Resulting Numbers: [39, 30]
Generated Node #0,3,2: 62:[39, 30] Operation: 64-34=30
Exploring Operation: 64-39=25, Resulting Numbers: [34, 25]
Generated Node #0,3,3: 62:[34, 25] Operation: 64-39=25
Exploring Operation: 34+39=73, Resulting Numbers: [64, 73]
Generated Node #0,3,4: 62:[64, 73] Operation: 34+39=73
Moving to Node #0,4
Current State: 62:[30, 94, 5], Operations: ['39-34=5']
Exploring Operation: 94-30=64, Resulting Numbers: [5, 64]
Generated Node #0,4,0: 62:[5, 64] Operation: 94-30=64
Exploring Operation: 30+5=35, Resulting Numbers: [94, 35]
Generated Node #0,4,1: 62:[94, 35] Operation: 30+5=35
Exploring Operation: 30-5=25, Resulting Numbers: [94, 25]
Generated Node #0,4,2: 62:[94, 25] Operation: 30-5=25
Exploring Operation: 30/5=6, Resulting Numbers: [94, 6]
Generated Node #0,4,3: 62:[94, 6] Operation: 30/5=6
Exploring Operation: 94-5=89, Resulting Numbers: [30, 89]
Generated Node #0,4,4: 62:[30, 89] Operation: 94-5=89
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 62:[5, 64], Operations: ['39-34=5', '94-30=64']
Exploring Operation: 5*64=320, Resulting Numbers: [320]
320,62 unequal: No Solution
Exploring Operation: 64-5=59, Resulting Numbers: [59]
59,62 unequal: No Solution
Exploring Operation: 5+64=69, Resulting Numbers: [69]
69,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,4,4
Current State: 62:[30, 89], Operations: ['39-34=5', '94-5=89']
Exploring Operation: 89-30=59, Resulting Numbers: [59]
59,62 unequal: No Solution
Exploring Operation: 30*89=2670, Resulting Numbers: [2670]
2670,62 unequal: No Solution
Exploring Operation: 30+89=119, Resulting Numbers: [119]
119,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,4,1
Current State: 62:[94, 35], Operations: ['39-34=5', '30+5=35']
Exploring Operation: 94*35=3290, Resulting Numbers: [3290]
3290,62 unequal: No Solution
Exploring Operation: 94+35=129, Resulting Numbers: [129]
129,62 unequal: No Solution
Exploring Operation: 94-35=59, Resulting Numbers: [59]
59,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,4,3
Current State: 62:[94, 6], Operations: ['39-34=5', '30/5=6']
Exploring Operation: 94+6=100, Resulting Numbers: [100]
100,62 unequal: No Solution
Exploring Operation: 94*6=564, Resulting Numbers: [564]
564,62 unequal: No Solution
Exploring Operation: 94-6=88, Resulting Numbers: [88]
88,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,4,2
Current State: 62:[94, 25], Operations: ['39-34=5', '30-5=25']
Exploring Operation: 94+25=119, Resulting Numbers: [119]
119,62 unequal: No Solution
Exploring Operation: 94*25=2350, Resulting Numbers: [2350]
2350,62 unequal: No Solution
Exploring Operation: 94-25=69, Resulting Numbers: [69]
69,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:[39, 94, 64], Operations: ['34+30=64']
Exploring Operation: 94-39=55, Resulting Numbers: [64, 55]
Generated Node #0,0,0: 62:[64, 55] Operation: 94-39=55
Exploring Operation: 39+64=103, Resulting Numbers: [94, 103]
Generated Node #0,0,1: 62:[94, 103] Operation: 39+64=103
Exploring Operation: 39+94=133, Resulting Numbers: [64, 133]
Generated Node #0,0,2: 62:[64, 133] Operation: 39+94=133
Exploring Operation: 94-64=30, Resulting Numbers: [39, 30]
Generated Node #0,0,3: 62:[39, 30] Operation: 94-64=30
Exploring Operation: 64-39=25, Resulting Numbers: [94, 25]
Generated Node #0,0,4: 62:[94, 25] Operation: 64-39=25
Moving to Node #0,3,1
Current State: 62:[64, 5], Operations: ['94-30=64', '39-34=5']
Exploring Operation: 64+5=69, Resulting Numbers: [69]
69,62 unequal: No Solution
Exploring Operation: 64-5=59, Resulting Numbers: [59]
59,62 unequal: No Solution
Exploring Operation: 64*5=320, Resulting Numbers: [320]
320,62 unequal: No Solution
Moving to Node #0,1,1
Current State: 62:[39, 2], Operations: ['94-34=60', '60/30=2']
Exploring Operation: 39*2=78, Resulting Numbers: [78]
78,62 unequal: No Solution
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,62 unequal: No Solution
Exploring Operation: 39+2=41, Resulting Numbers: [41]
41,62 unequal: No Solution
Moving to Node #0,1,3
Current State: 62:[39, 30], Operations: ['94-34=60', '60-30=30']
Exploring Operation: 39+30=69, Resulting Numbers: [69]
69,62 unequal: No Solution
Exploring Operation: 39*30=1170, Resulting Numbers: [1170]
1170,62 unequal: No Solution
Exploring Operation: 39-30=9, Resulting Numbers: [9]
9,62 unequal: No Solution
Moving to Node #0,2,3
Current State: 62:[55, 64], Operations: ['94-39=55', '34+30=64']
Exploring Operation: 55*64=3520, Resulting Numbers: [3520]
3520,62 unequal: No Solution
Exploring Operation: 64-55=9, Resulting Numbers: [9]
9,62 unequal: No Solution
Exploring Operation: 55+64=119, Resulting Numbers: [119]
119,62 unequal: No Solution
Moving to Node #0,2,2
Current State: 62:[34, 25], Operations: ['94-39=55', '55-30=25']
Exploring Operation: 34*25=850, Resulting Numbers: [850]
850,62 unequal: No Solution
Exploring Operation: 34+25=59, Resulting Numbers: [59]
59,62 unequal: No Solution
Exploring Operation: 34-25=9, Resulting Numbers: [9]
9,62 unequal: No Solution
Moving to Node #0,3,3
Current State: 62:[34, 25], Operations: ['94-30=64', '64-39=25']
Exploring Operation: 34-25=9, Resulting Numbers: [9]
9,62 unequal: No Solution
Exploring Operation: 34+25=59, Resulting Numbers: [59]
59,62 unequal: No Solution
Exploring Operation: 34*25=850, Resulting Numbers: [850]
850,62 unequal: No Solution
Moving to Node #0,3,2
Current State: 62:[39, 30], Operations: ['94-30=64', '64-34=30']
Exploring Operation: 39-30=9, Resulting Numbers: [9]
9,62 unequal: No Solution
Exploring Operation: 39*30=1170, Resulting Numbers: [1170]
1170,62 unequal: No Solution
Exploring Operation: 39+30=69, Resulting Numbers: [69]
69,62 unequal: No Solution
Moving to Node #0,0,3
Current State: 62:[39, 30], Operations: ['34+30=64', '94-64=30']
Exploring Operation: 39-30=9, Resulting Numbers: [9]
9,62 unequal: No Solution
Exploring Operation: 39*30=1170, Resulting Numbers: [1170]
1170,62 unequal: No Solution
Exploring Operation: 39+30=69, Resulting Numbers: [69]
69,62 unequal: No Solution
Moving to Node #0,0,0
Current State: 62:[64, 55], Operations: ['34+30=64', '94-39=55']
Exploring Operation: 64-55=9, Resulting Numbers: [9]
9,62 unequal: No Solution
Exploring Operation: 64*55=3520, Resulting Numbers: [3520]
3520,62 unequal: No Solution
Exploring Operation: 64+55=119, Resulting Numbers: [119]
119,62 unequal: No Solution
Moving to Node #0,1,0
Current State: 62:[60, 69], Operations: ['94-34=60', '30+39=69']
Exploring Operation: 69-60=9, Resulting Numbers: [9]
9,62 unequal: No Solution
Exploring Operation: 60+69=129, Resulting Numbers: [129]
129,62 unequal: No Solution
Exploring Operation: 60*69=4140, Resulting Numbers: [4140]
4140,62 unequal: No Solution
Moving to Node #0,1,4
Current State: 62:[60, 9], Operations: ['94-34=60', '39-30=9']
Exploring Operation: 60*9=540, Resulting Numbers: [540]
540,62 unequal: No Solution
Exploring Operation: 60+9=69, Resulting Numbers: [69]
69,62 unequal: No Solution
Exploring Operation: 60-9=51, Resulting Numbers: [51]
51,62 unequal: No Solution
Moving to Node #0,2,4
Current State: 62:[55, 4], Operations: ['94-39=55', '34-30=4']
Exploring Operation: 55*4=220, Resulting Numbers: [220]
220,62 unequal: No Solution
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,62 unequal: No Solution
Exploring Operation: 55+4=59, Resulting Numbers: [59]
59,62 unequal: No Solution
Moving to Node #0,1,2
Current State: 62:[30, 21], Operations: ['94-34=60', '60-39=21']
Exploring Operation: 30-21=9, Resulting Numbers: [9]
9,62 unequal: No Solution
Exploring Operation: 30+21=51, Resulting Numbers: [51]
51,62 unequal: No Solution
Exploring Operation: 30*21=630, Resulting Numbers: [630]
630,62 unequal: No Solution
Moving to Node #0,2,1
Current State: 62:[30, 21], Operations: ['94-39=55', '55-34=21']
Exploring Operation: 30+21=51, Resulting Numbers: [51]
51,62 unequal: No Solution
Exploring Operation: 30-21=9, Resulting Numbers: [9]
9,62 unequal: No Solution
Exploring Operation: 30*21=630, Resulting Numbers: [630]
630,62 unequal: No Solution
Moving to Node #0,3,4
Current State: 62:[64, 73], Operations: ['94-30=64', '34+39=73']
Exploring Operation: 73-64=9, Resulting Numbers: [9]
9,62 unequal: No Solution
Exploring Operation: 64*73=4672, Resulting Numbers: [4672]
4672,62 unequal: No Solution
Exploring Operation: 64+73=137, Resulting Numbers: [137]
137,62 unequal: No Solution
Moving to Node #0,2,0
Current State: 62:[34, 85], Operations: ['94-39=55', '30+55=85']
Exploring Operation: 34+85=119, Resulting Numbers: [119]
119,62 unequal: No Solution
Exploring Operation: 85-34=51, Resulting Numbers: [51]
51,62 unequal: No Solution
Exploring Operation: 34*85=2890, Resulting Numbers: [2890]
2890,62 unequal: No Solution
Moving to Node #0,0,4
Current State: 62:[94, 25], Operations: ['34+30=64', '64-39=25']
Exploring Operation: 94*25=2350, Resulting Numbers: [2350]
2350,62 unequal: No Solution
Exploring Operation: 94+25=119, Resulting Numbers: [119]
119,62 unequal: No Solution
Exploring Operation: 94-25=69, Resulting Numbers: [69]
69,62 unequal: No Solution
Moving to Node #0,3,0
Current State: 62:[39, 98], Operations: ['94-30=64', '34+64=98']
Exploring Operation: 98-39=59, Resulting Numbers: [59]
59,62 unequal: No Solution
Exploring Operation: 39*98=3822, Resulting Numbers: [3822]
3822,62 unequal: No Solution
Exploring Operation: 39+98=137, Resulting Numbers: [137]
137,62 unequal: No Solution
Moving to Node #0,0,1
Current State: 62:[94, 103], Operations: ['34+30=64', '39+64=103']
Exploring Operation: 103-94=9, Resulting Numbers: [9]
9,62 unequal: No Solution
Exploring Operation: 94*103=9682, Resulting Numbers: [9682]
9682,62 unequal: No Solution
Exploring Operation: 94+103=197, Resulting Numbers: [197]
197,62 unequal: No Solution
Moving to Node #0,0,2
Current State: 62:[64, 133], Operations: ['34+30=64', '39+94=133']
Exploring Operation: 133-64=69, Resulting Numbers: [69]
69,62 unequal: No Solution
Exploring Operation: 64+133=197, Resulting Numbers: [197]
197,62 unequal: No Solution
Exploring Operation: 64*133=8512, Resulting Numbers: [8512]
8512,62 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
26,
94,
13,
83
] | 36 | [
"26/13=2",
"94/2=47",
"83-47=36"
] | Current State: 36:[26, 94, 13, 83], Operations: []
Exploring Operation: 26/13=2, Resulting Numbers: [94, 83, 2]
Generated Node #2: [94, 83, 2] from Operation: 26/13=2
Current State: 36:[94, 83, 2], Operations: ['26/13=2']
Exploring Operation: 94/2=47, Resulting Numbers: [83, 47]
Generated Node #3: [83, 47] from Operation: 94/2=47
Current State: 36:[83, 47], Operations: ['26/13=2', '94/2=47']
Exploring Operation: 83-47=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[26, 94, 13, 83], Operations: []
Exploring Operation: 94-26=68, Resulting Numbers: [13, 83, 68]
Generated Node #0,0: 36:[13, 83, 68] Operation: 94-26=68
Exploring Operation: 94-83=11, Resulting Numbers: [26, 13, 11]
Generated Node #0,1: 36:[26, 13, 11] Operation: 94-83=11
Exploring Operation: 83-26=57, Resulting Numbers: [94, 13, 57]
Generated Node #0,2: 36:[94, 13, 57] Operation: 83-26=57
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[26, 13, 11], Operations: ['94-83=11']
Exploring Operation: 26/13=2, Resulting Numbers: [11, 2]
Generated Node #0,1,0: 36:[11, 2] Operation: 26/13=2
Exploring Operation: 26-13=13, Resulting Numbers: [11, 13]
Generated Node #0,1,1: 36:[11, 13] Operation: 26-13=13
Exploring Operation: 26+11=37, Resulting Numbers: [13, 37]
Generated Node #0,1,2: 36:[13, 37] Operation: 26+11=37
Moving to Node #0,1,0
Current State: 36:[11, 2], Operations: ['94-83=11', '26/13=2']
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,36 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,36 unequal: No Solution
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,36 unequal: No Solution
Moving to Node #0,1,1
Current State: 36:[11, 13], Operations: ['94-83=11', '26-13=13']
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Exploring Operation: 11*13=143, Resulting Numbers: [143]
143,36 unequal: No Solution
Exploring Operation: 11+13=24, Resulting Numbers: [24]
24,36 unequal: No Solution
Moving to Node #0,1,2
Current State: 36:[13, 37], Operations: ['94-83=11', '26+11=37']
Exploring Operation: 13*37=481, Resulting Numbers: [481]
481,36 unequal: No Solution
Exploring Operation: 13+37=50, Resulting Numbers: [50]
50,36 unequal: No Solution
Exploring Operation: 37-13=24, Resulting Numbers: [24]
24,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,0
Current State: 36:[13, 83, 68], Operations: ['94-26=68']
Exploring Operation: 68-13=55, Resulting Numbers: [83, 55]
Generated Node #0,0,0: 36:[83, 55] Operation: 68-13=55
Exploring Operation: 83-68=15, Resulting Numbers: [13, 15]
Generated Node #0,0,1: 36:[13, 15] Operation: 83-68=15
Exploring Operation: 83-13=70, Resulting Numbers: [68, 70]
Generated Node #0,0,2: 36:[68, 70] Operation: 83-13=70
Moving to Node #0,0,1
Current State: 36:[13, 15], Operations: ['94-26=68', '83-68=15']
Exploring Operation: 13*15=195, Resulting Numbers: [195]
195,36 unequal: No Solution
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Exploring Operation: 13+15=28, Resulting Numbers: [28]
28,36 unequal: No Solution
Moving to Node #0,0,0
Current State: 36:[83, 55], Operations: ['94-26=68', '68-13=55']
Exploring Operation: 83+55=138, Resulting Numbers: [138]
138,36 unequal: No Solution
Exploring Operation: 83*55=4565, Resulting Numbers: [4565]
4565,36 unequal: No Solution
Exploring Operation: 83-55=28, Resulting Numbers: [28]
28,36 unequal: No Solution
Moving to Node #0,0,2
Current State: 36:[68, 70], Operations: ['94-26=68', '83-13=70']
Exploring Operation: 68*70=4760, Resulting Numbers: [4760]
4760,36 unequal: No Solution
Exploring Operation: 68+70=138, Resulting Numbers: [138]
138,36 unequal: No Solution
Exploring Operation: 70-68=2, Resulting Numbers: [2]
2,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 36:[94, 13, 57], Operations: ['83-26=57']
Exploring Operation: 94-13=81, Resulting Numbers: [57, 81]
Generated Node #0,2,0: 36:[57, 81] Operation: 94-13=81
Exploring Operation: 94-57=37, Resulting Numbers: [13, 37]
Generated Node #0,2,1: 36:[13, 37] Operation: 94-57=37
Exploring Operation: 57-13=44, Resulting Numbers: [94, 44]
Generated Node #0,2,2: 36:[94, 44] Operation: 57-13=44
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 36:[13, 37], Operations: ['83-26=57', '94-57=37']
Exploring Operation: 13+37=50, Resulting Numbers: [50]
50,36 unequal: No Solution
Exploring Operation: 13*37=481, Resulting Numbers: [481]
481,36 unequal: No Solution
Exploring Operation: 37-13=24, Resulting Numbers: [24]
24,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,2,0
Current State: 36:[57, 81], Operations: ['83-26=57', '94-13=81']
Exploring Operation: 57*81=4617, Resulting Numbers: [4617]
4617,36 unequal: No Solution
Exploring Operation: 57+81=138, Resulting Numbers: [138]
138,36 unequal: No Solution
Exploring Operation: 81-57=24, Resulting Numbers: [24]
24,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,2,2
Current State: 36:[94, 44], Operations: ['83-26=57', '57-13=44']
Exploring Operation: 94+44=138, Resulting Numbers: [138]
138,36 unequal: No Solution
Exploring Operation: 94*44=4136, Resulting Numbers: [4136]
4136,36 unequal: No Solution
Exploring Operation: 94-44=50, Resulting Numbers: [50]
50,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_3 | mult_heuristic |
[
56,
70,
43,
50
] | 79 | [
"70-56=14",
"43+50=93",
"93-14=79"
] | Current State: 79:[56, 70, 43, 50], Operations: []
Exploring Operation: 70-56=14, Resulting Numbers: [43, 50, 14]
Generated Node #2: [43, 50, 14] from Operation: 70-56=14
Current State: 79:[43, 50, 14], Operations: ['70-56=14']
Exploring Operation: 43+50=93, Resulting Numbers: [14, 93]
Generated Node #3: [14, 93] from Operation: 43+50=93
Current State: 79:[14, 93], Operations: ['70-56=14', '43+50=93']
Exploring Operation: 93-14=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[56, 70, 43, 50], Operations: []
Exploring Operation: 43+50=93, Resulting Numbers: [56, 70, 93]
Generated Node #0,0: 79:[56, 70, 93] Operation: 43+50=93
Exploring Operation: 56+43=99, Resulting Numbers: [70, 50, 99]
Generated Node #0,1: 79:[70, 50, 99] Operation: 56+43=99
Exploring Operation: 56+50=106, Resulting Numbers: [70, 43, 106]
Generated Node #0,2: 79:[70, 43, 106] Operation: 56+50=106
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[56, 70, 93], Operations: ['43+50=93']
Exploring Operation: 93-56=37, Resulting Numbers: [70, 37]
Generated Node #0,0,0: 79:[70, 37] Operation: 93-56=37
Exploring Operation: 70-56=14, Resulting Numbers: [93, 14]
Generated Node #0,0,1: 79:[93, 14] Operation: 70-56=14
Exploring Operation: 56+70=126, Resulting Numbers: [93, 126]
Generated Node #0,0,2: 79:[93, 126] Operation: 56+70=126
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[70, 37], Operations: ['43+50=93', '93-56=37']
Exploring Operation: 70-37=33, Resulting Numbers: [33]
33,79 unequal: No Solution
Exploring Operation: 70+37=107, Resulting Numbers: [107]
107,79 unequal: No Solution
Exploring Operation: 70*37=2590, Resulting Numbers: [2590]
2590,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 79:[93, 126], Operations: ['43+50=93', '56+70=126']
Exploring Operation: 93+126=219, Resulting Numbers: [219]
219,79 unequal: No Solution
Exploring Operation: 126-93=33, Resulting Numbers: [33]
33,79 unequal: No Solution
Exploring Operation: 93*126=11718, Resulting Numbers: [11718]
11718,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 79:[93, 14], Operations: ['43+50=93', '70-56=14']
Exploring Operation: 93+14=107, Resulting Numbers: [107]
107,79 unequal: No Solution
Exploring Operation: 93*14=1302, Resulting Numbers: [1302]
1302,79 unequal: No Solution
Exploring Operation: 93-14=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[56, 70, 43, 50], Operations: []
Exploring Operation: 43+50=93, Resulting Numbers: [56, 70, 93]
Generated Node #0,0: 79:[56, 70, 93] Operation: 43+50=93
Moving to Node #0,0
Current State: 79:[56, 70, 93], Operations: ['43+50=93']
Exploring Operation: 70-56=14, Resulting Numbers: [93, 14]
Generated Node #0,0,1: 79:[93, 14] Operation: 70-56=14
Moving to Node #0,0,1
Current State: 79:[93, 14], Operations: ['43+50=93', '70-56=14']
Exploring Operation: 93-14=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_3 | mult_heuristic |
[
48,
7,
91,
28
] | 51 | [
"91-7=84",
"84/28=3",
"48+3=51"
] | Current State: 51:[48, 7, 91, 28], Operations: []
Exploring Operation: 91-7=84, Resulting Numbers: [48, 28, 84]
Generated Node #2: [48, 28, 84] from Operation: 91-7=84
Current State: 51:[48, 28, 84], Operations: ['91-7=84']
Exploring Operation: 84/28=3, Resulting Numbers: [48, 3]
Generated Node #3: [48, 3] from Operation: 84/28=3
Current State: 51:[48, 3], Operations: ['91-7=84', '84/28=3']
Exploring Operation: 48+3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[48, 7, 91, 28], Operations: []
Exploring Operation: 91/7=13, Resulting Numbers: [48, 28, 13]
Generated Node #0,0: 51:[48, 28, 13] Operation: 91/7=13
Exploring Operation: 91-28=63, Resulting Numbers: [48, 7, 63]
Generated Node #0,1: 51:[48, 7, 63] Operation: 91-28=63
Exploring Operation: 91-48=43, Resulting Numbers: [7, 28, 43]
Generated Node #0,2: 51:[7, 28, 43] Operation: 91-48=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[48, 28, 13], Operations: ['91/7=13']
Exploring Operation: 28+13=41, Resulting Numbers: [48, 41]
Generated Node #0,0,0: 51:[48, 41] Operation: 28+13=41
Exploring Operation: 28-13=15, Resulting Numbers: [48, 15]
Generated Node #0,0,1: 51:[48, 15] Operation: 28-13=15
Exploring Operation: 48-28=20, Resulting Numbers: [13, 20]
Generated Node #0,0,2: 51:[13, 20] Operation: 48-28=20
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 51:[48, 15], Operations: ['91/7=13', '28-13=15']
Exploring Operation: 48+15=63, Resulting Numbers: [63]
63,51 unequal: No Solution
Exploring Operation: 48-15=33, Resulting Numbers: [33]
33,51 unequal: No Solution
Exploring Operation: 48*15=720, Resulting Numbers: [720]
720,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:[13, 20], Operations: ['91/7=13', '48-28=20']
Exploring Operation: 13*20=260, Resulting Numbers: [260]
260,51 unequal: No Solution
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,51 unequal: No Solution
Exploring Operation: 13+20=33, Resulting Numbers: [33]
33,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:[48, 41], Operations: ['91/7=13', '28+13=41']
Exploring Operation: 48+41=89, Resulting Numbers: [89]
89,51 unequal: No Solution
Exploring Operation: 48*41=1968, Resulting Numbers: [1968]
1968,51 unequal: No Solution
Exploring Operation: 48-41=7, Resulting Numbers: [7]
7,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:[48, 7, 63], Operations: ['91-28=63']
Exploring Operation: 63-7=56, Resulting Numbers: [48, 56]
Generated Node #0,1,0: 51:[48, 56] Operation: 63-7=56
Exploring Operation: 63/7=9, Resulting Numbers: [48, 9]
Generated Node #0,1,1: 51:[48, 9] Operation: 63/7=9
Exploring Operation: 63-48=15, Resulting Numbers: [7, 15]
Generated Node #0,1,2: 51:[7, 15] Operation: 63-48=15
Moving to Node #0,1,2
Current State: 51:[7, 15], Operations: ['91-28=63', '63-48=15']
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,51 unequal: No Solution
Exploring Operation: 7+15=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 7*15=105, Resulting Numbers: [105]
105,51 unequal: No Solution
Moving to Node #0,1,0
Current State: 51:[48, 56], Operations: ['91-28=63', '63-7=56']
Exploring Operation: 48*56=2688, Resulting Numbers: [2688]
2688,51 unequal: No Solution
Exploring Operation: 56-48=8, Resulting Numbers: [8]
8,51 unequal: No Solution
Exploring Operation: 48+56=104, Resulting Numbers: [104]
104,51 unequal: No Solution
Moving to Node #0,1,1
Current State: 51:[48, 9], Operations: ['91-28=63', '63/7=9']
Exploring Operation: 48+9=57, Resulting Numbers: [57]
57,51 unequal: No Solution
Exploring Operation: 48*9=432, Resulting Numbers: [432]
432,51 unequal: No Solution
Exploring Operation: 48-9=39, Resulting Numbers: [39]
39,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 51:[7, 28, 43], Operations: ['91-48=43']
Exploring Operation: 28-7=21, Resulting Numbers: [43, 21]
Generated Node #0,2,0: 51:[43, 21] Operation: 28-7=21
Exploring Operation: 28/7=4, Resulting Numbers: [43, 4]
Generated Node #0,2,1: 51:[43, 4] Operation: 28/7=4
Exploring Operation: 43-28=15, Resulting Numbers: [7, 15]
Generated Node #0,2,2: 51:[7, 15] Operation: 43-28=15
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 51:[7, 15], Operations: ['91-48=43', '43-28=15']
Exploring Operation: 7*15=105, Resulting Numbers: [105]
105,51 unequal: No Solution
Exploring Operation: 7+15=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,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:[43, 4], Operations: ['91-48=43', '28/7=4']
Exploring Operation: 43*4=172, Resulting Numbers: [172]
172,51 unequal: No Solution
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,51 unequal: No Solution
Exploring Operation: 43+4=47, Resulting Numbers: [47]
47,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:[43, 21], Operations: ['91-48=43', '28-7=21']
Exploring Operation: 43+21=64, Resulting Numbers: [64]
64,51 unequal: No Solution
Exploring Operation: 43*21=903, Resulting Numbers: [903]
903,51 unequal: No Solution
Exploring Operation: 43-21=22, Resulting Numbers: [22]
22,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_3 | mult_heuristic |
[
92,
72,
20,
49
] | 49 | [
"92-72=20",
"20+49=69",
"69-20=49"
] | Current State: 49:[92, 72, 20, 49], Operations: []
Exploring Operation: 92-72=20, Resulting Numbers: [20, 49, 20]
Generated Node #2: [20, 49, 20] from Operation: 92-72=20
Current State: 49:[20, 49, 20], Operations: ['92-72=20']
Exploring Operation: 20+49=69, Resulting Numbers: [69]
69,49 equal: Goal Reached
Exploring Operation: 69-20=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[92, 72, 20, 49], Operations: []
Exploring Operation: 92-20=72, Resulting Numbers: [72, 49, 72]
Generated Node #0,0: 49:[72, 49, 72] Operation: 92-20=72
Exploring Operation: 92-72=20, Resulting Numbers: [20, 49, 20]
Generated Node #0,1: 49:[20, 49, 20] Operation: 92-72=20
Exploring Operation: 92-49=43, Resulting Numbers: [72, 20, 43]
Generated Node #0,2: 49:[72, 20, 43] Operation: 92-49=43
Exploring Operation: 72-20=52, Resulting Numbers: [92, 49, 52]
Generated Node #0,3: 49:[92, 49, 52] Operation: 72-20=52
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[20, 49, 20], Operations: ['92-72=20']
Exploring Operation: 20+20=40, Resulting Numbers: [49, 40]
Generated Node #0,1,0: 49:[49, 40] Operation: 20+20=40
Exploring Operation: 20/20=1, Resulting Numbers: [49, 1]
Generated Node #0,1,1: 49:[49, 1] Operation: 20/20=1
Exploring Operation: 20+49=69, Resulting Numbers: [20, 69]
Generated Node #0,1,2: 49:[20, 69] Operation: 20+49=69
Exploring Operation: 20-20=0, Resulting Numbers: [49, 0]
Generated Node #0,1,3: 49:[49, 0] Operation: 20-20=0
Moving to Node #0,1,1
Current State: 49:[49, 1], Operations: ['92-72=20', '20/20=1']
Exploring Operation: 49+1=50, Resulting Numbers: [50]
50,49 unequal: No Solution
Exploring Operation: 49*1=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[92, 72, 20, 49], Operations: []
Exploring Operation: 92-72=20, Resulting Numbers: [20, 49, 20]
Generated Node #0,1: 49:[20, 49, 20] Operation: 92-72=20
Moving to Node #0,1
Current State: 49:[20, 49, 20], Operations: ['92-72=20']
Exploring Operation: 20/20=1, Resulting Numbers: [49, 1]
Generated Node #0,1,1: 49:[49, 1] Operation: 20/20=1
Moving to Node #0,1,1
Current State: 49:[49, 1], Operations: ['92-72=20', '20/20=1']
Exploring Operation: 49*1=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
37,
92,
5,
8
] | 88 | [
"92-37=55",
"55/5=11",
"8*11=88"
] | Current State: 88:[37, 92, 5, 8], Operations: []
Exploring Operation: 92-37=55, Resulting Numbers: [5, 8, 55]
Generated Node #2: [5, 8, 55] from Operation: 92-37=55
Current State: 88:[5, 8, 55], Operations: ['92-37=55']
Exploring Operation: 55/5=11, Resulting Numbers: [8, 11]
Generated Node #3: [8, 11] from Operation: 55/5=11
Current State: 88:[8, 11], Operations: ['92-37=55', '55/5=11']
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[37, 92, 5, 8], Operations: []
Exploring Operation: 37+5=42, Resulting Numbers: [92, 8, 42]
Generated Node #0,0: 88:[92, 8, 42] Operation: 37+5=42
Exploring Operation: 37+8=45, Resulting Numbers: [92, 5, 45]
Generated Node #0,1: 88:[92, 5, 45] Operation: 37+8=45
Moving to Node #0,0
Current State: 88:[92, 8, 42], Operations: ['37+5=42']
Exploring Operation: 92-8=84, Resulting Numbers: [42, 84]
Generated Node #0,0,0: 88:[42, 84] Operation: 92-8=84
Exploring Operation: 92-42=50, Resulting Numbers: [8, 50]
Generated Node #0,0,1: 88:[8, 50] Operation: 92-42=50
Moving to Node #0,1
Current State: 88:[92, 5, 45], Operations: ['37+8=45']
Exploring Operation: 92-5=87, Resulting Numbers: [45, 87]
Generated Node #0,1,0: 88:[45, 87] Operation: 92-5=87
Exploring Operation: 92-45=47, Resulting Numbers: [5, 47]
Generated Node #0,1,1: 88:[5, 47] Operation: 92-45=47
Moving to Node #0,1,0
Current State: 88:[45, 87], Operations: ['37+8=45', '92-5=87']
Exploring Operation: 45+87=132, Resulting Numbers: [132]
132,88 unequal: No Solution
Exploring Operation: 87-45=42, Resulting Numbers: [42]
42,88 unequal: No Solution
Moving to Node #0,1,1
Current State: 88:[5, 47], Operations: ['37+8=45', '92-45=47']
Exploring Operation: 5+47=52, Resulting Numbers: [52]
52,88 unequal: No Solution
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,88 unequal: No Solution
Moving to Node #0,0,1
Current State: 88:[8, 50], Operations: ['37+5=42', '92-42=50']
Exploring Operation: 8+50=58, Resulting Numbers: [58]
58,88 unequal: No Solution
Exploring Operation: 50-8=42, Resulting Numbers: [42]
42,88 unequal: No Solution
Moving to Node #0,0,0
Current State: 88:[42, 84], Operations: ['37+5=42', '92-8=84']
Exploring Operation: 84-42=42, Resulting Numbers: [42]
42,88 unequal: No Solution
Exploring Operation: 84/42=2, Resulting Numbers: [2]
2,88 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
63,
46,
36,
80
] | 61 | [
"63-46=17",
"80-36=44",
"17+44=61"
] | Current State: 61:[63, 46, 36, 80], Operations: []
Exploring Operation: 63-46=17, Resulting Numbers: [36, 80, 17]
Generated Node #2: [36, 80, 17] from Operation: 63-46=17
Current State: 61:[36, 80, 17], Operations: ['63-46=17']
Exploring Operation: 80-36=44, Resulting Numbers: [17, 44]
Generated Node #3: [17, 44] from Operation: 80-36=44
Current State: 61:[17, 44], Operations: ['63-46=17', '80-36=44']
Exploring Operation: 17+44=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[63, 46, 36, 80], Operations: []
Exploring Operation: 80-36=44, Resulting Numbers: [63, 46, 44]
Generated Node #0,0: 61:[63, 46, 44] Operation: 80-36=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[63, 46, 44], Operations: ['80-36=44']
Exploring Operation: 46+44=90, Resulting Numbers: [63, 90]
Generated Node #0,0,0: 61:[63, 90] Operation: 46+44=90
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 61:[63, 90], Operations: ['80-36=44', '46+44=90']
Exploring Operation: 90-63=27, Resulting Numbers: [27]
27,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
64,
5,
2,
7
] | 40 | [
"5+7=12",
"2*12=24",
"64-24=40"
] | Current State: 40:[64, 5, 2, 7], Operations: []
Exploring Operation: 5+7=12, Resulting Numbers: [64, 2, 12]
Generated Node #2: [64, 2, 12] from Operation: 5+7=12
Current State: 40:[64, 2, 12], Operations: ['5+7=12']
Exploring Operation: 2*12=24, Resulting Numbers: [64, 24]
Generated Node #3: [64, 24] from Operation: 2*12=24
Current State: 40:[64, 24], Operations: ['5+7=12', '2*12=24']
Exploring Operation: 64-24=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[64, 5, 2, 7], Operations: []
Exploring Operation: 64-7=57, Resulting Numbers: [5, 2, 57]
Generated Node #0,0: 40:[5, 2, 57] Operation: 64-7=57
Exploring Operation: 64/2=32, Resulting Numbers: [5, 7, 32]
Generated Node #0,1: 40:[5, 7, 32] Operation: 64/2=32
Moving to Node #0,1
Current State: 40:[5, 7, 32], Operations: ['64/2=32']
Exploring Operation: 5+32=37, Resulting Numbers: [7, 37]
Generated Node #0,1,0: 40:[7, 37] Operation: 5+32=37
Exploring Operation: 7+32=39, Resulting Numbers: [5, 39]
Generated Node #0,1,1: 40:[5, 39] Operation: 7+32=39
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 40:[5, 39], Operations: ['64/2=32', '7+32=39']
Exploring Operation: 5+39=44, Resulting Numbers: [44]
44,40 unequal: No Solution
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 40:[7, 37], Operations: ['64/2=32', '5+32=37']
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,40 unequal: No Solution
Exploring Operation: 7+37=44, Resulting Numbers: [44]
44,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 40:[5, 2, 57], Operations: ['64-7=57']
Exploring Operation: 57-2=55, Resulting Numbers: [5, 55]
Generated Node #0,0,0: 40:[5, 55] Operation: 57-2=55
Exploring Operation: 57-5=52, Resulting Numbers: [2, 52]
Generated Node #0,0,1: 40:[2, 52] Operation: 57-5=52
Moving to Node #0,0,1
Current State: 40:[2, 52], Operations: ['64-7=57', '57-5=52']
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,40 unequal: No Solution
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,40 unequal: No Solution
Moving to Node #0,0,0
Current State: 40:[5, 55], Operations: ['64-7=57', '57-2=55']
Exploring Operation: 55/5=11, Resulting Numbers: [11]
11,40 unequal: No Solution
Exploring Operation: 55-5=50, Resulting Numbers: [50]
50,40 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
5,
62,
28,
77
] | 48 | [
"62-5=57",
"28+77=105",
"105-57=48"
] | Current State: 48:[5, 62, 28, 77], Operations: []
Exploring Operation: 62-5=57, Resulting Numbers: [28, 77, 57]
Generated Node #2: [28, 77, 57] from Operation: 62-5=57
Current State: 48:[28, 77, 57], Operations: ['62-5=57']
Exploring Operation: 28+77=105, Resulting Numbers: [57, 105]
Generated Node #3: [57, 105] from Operation: 28+77=105
Current State: 48:[57, 105], Operations: ['62-5=57', '28+77=105']
Exploring Operation: 105-57=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[5, 62, 28, 77], Operations: []
Exploring Operation: 77-62=15, Resulting Numbers: [5, 28, 15]
Generated Node #0,0: 48:[5, 28, 15] Operation: 77-62=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[5, 28, 15], Operations: ['77-62=15']
Exploring Operation: 28-5=23, Resulting Numbers: [15, 23]
Generated Node #0,0,0: 48:[15, 23] Operation: 28-5=23
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 48:[15, 23], Operations: ['77-62=15', '28-5=23']
Exploring Operation: 23-15=8, Resulting Numbers: [8]
8,48 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 |
[
37,
60,
54,
38
] | 69 | [
"60-37=23",
"54+38=92",
"92-23=69"
] | Current State: 69:[37, 60, 54, 38], Operations: []
Exploring Operation: 60-37=23, Resulting Numbers: [54, 38, 23]
Generated Node #2: [54, 38, 23] from Operation: 60-37=23
Current State: 69:[54, 38, 23], Operations: ['60-37=23']
Exploring Operation: 54+38=92, Resulting Numbers: [23, 92]
Generated Node #3: [23, 92] from Operation: 54+38=92
Current State: 69:[23, 92], Operations: ['60-37=23', '54+38=92']
Exploring Operation: 92-23=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[37, 60, 54, 38], Operations: []
Exploring Operation: 38-37=1, Resulting Numbers: [60, 54, 1]
Generated Node #0,0: 69:[60, 54, 1] Operation: 38-37=1
Exploring Operation: 60-37=23, Resulting Numbers: [54, 38, 23]
Generated Node #0,1: 69:[54, 38, 23] Operation: 60-37=23
Exploring Operation: 54-37=17, Resulting Numbers: [60, 38, 17]
Generated Node #0,2: 69:[60, 38, 17] Operation: 54-37=17
Moving to Node #0,0
Current State: 69:[60, 54, 1], Operations: ['38-37=1']
Exploring Operation: 60+1=61, Resulting Numbers: [54, 61]
Generated Node #0,0,0: 69:[54, 61] Operation: 60+1=61
Exploring Operation: 54+1=55, Resulting Numbers: [60, 55]
Generated Node #0,0,1: 69:[60, 55] Operation: 54+1=55
Exploring Operation: 60-54=6, Resulting Numbers: [1, 6]
Generated Node #0,0,2: 69:[1, 6] Operation: 60-54=6
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 69:[1, 6], Operations: ['38-37=1', '60-54=6']
Exploring Operation: 1*6=6, Resulting Numbers: [6]
6,69 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,69 unequal: No Solution
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 69:[54, 61], Operations: ['38-37=1', '60+1=61']
Exploring Operation: 54+61=115, Resulting Numbers: [115]
115,69 unequal: No Solution
Exploring Operation: 61-54=7, Resulting Numbers: [7]
7,69 unequal: No Solution
Exploring Operation: 54*61=3294, Resulting Numbers: [3294]
3294,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 69:[60, 55], Operations: ['38-37=1', '54+1=55']
Exploring Operation: 60*55=3300, Resulting Numbers: [3300]
3300,69 unequal: No Solution
Exploring Operation: 60-55=5, Resulting Numbers: [5]
5,69 unequal: No Solution
Exploring Operation: 60+55=115, Resulting Numbers: [115]
115,69 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: 69:[54, 38, 23], Operations: ['60-37=23']
Exploring Operation: 54+38=92, Resulting Numbers: [23, 92]
Generated Node #0,1,0: 69:[23, 92] Operation: 54+38=92
Exploring Operation: 54-38=16, Resulting Numbers: [23, 16]
Generated Node #0,1,1: 69:[23, 16] Operation: 54-38=16
Exploring Operation: 54+23=77, Resulting Numbers: [38, 77]
Generated Node #0,1,2: 69:[38, 77] Operation: 54+23=77
Moving to Node #0,2
Current State: 69:[60, 38, 17], Operations: ['54-37=17']
Exploring Operation: 38-17=21, Resulting Numbers: [60, 21]
Generated Node #0,2,0: 69:[60, 21] Operation: 38-17=21
Exploring Operation: 60+17=77, Resulting Numbers: [38, 77]
Generated Node #0,2,1: 69:[38, 77] Operation: 60+17=77
Exploring Operation: 60-38=22, Resulting Numbers: [17, 22]
Generated Node #0,2,2: 69:[17, 22] Operation: 60-38=22
Moving to Node #0,1,1
Current State: 69:[23, 16], Operations: ['60-37=23', '54-38=16']
Exploring Operation: 23-16=7, Resulting Numbers: [7]
7,69 unequal: No Solution
Exploring Operation: 23*16=368, Resulting Numbers: [368]
368,69 unequal: No Solution
Exploring Operation: 23+16=39, Resulting Numbers: [39]
39,69 unequal: No Solution
Moving to Node #0,2,2
Current State: 69:[17, 22], Operations: ['54-37=17', '60-38=22']
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,69 unequal: No Solution
Exploring Operation: 17+22=39, Resulting Numbers: [39]
39,69 unequal: No Solution
Exploring Operation: 17*22=374, Resulting Numbers: [374]
374,69 unequal: No Solution
Moving to Node #0,2,0
Current State: 69:[60, 21], Operations: ['54-37=17', '38-17=21']
Exploring Operation: 60*21=1260, Resulting Numbers: [1260]
1260,69 unequal: No Solution
Exploring Operation: 60+21=81, Resulting Numbers: [81]
81,69 unequal: No Solution
Exploring Operation: 60-21=39, Resulting Numbers: [39]
39,69 unequal: No Solution
Moving to Node #0,1,2
Current State: 69:[38, 77], Operations: ['60-37=23', '54+23=77']
Exploring Operation: 38*77=2926, Resulting Numbers: [2926]
2926,69 unequal: No Solution
Exploring Operation: 77-38=39, Resulting Numbers: [39]
39,69 unequal: No Solution
Exploring Operation: 38+77=115, Resulting Numbers: [115]
115,69 unequal: No Solution
Moving to Node #0,1,0
Current State: 69:[23, 92], Operations: ['60-37=23', '54+38=92']
Exploring Operation: 92-23=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[37, 60, 54, 38], Operations: []
Exploring Operation: 60-37=23, Resulting Numbers: [54, 38, 23]
Generated Node #0,1: 69:[54, 38, 23] Operation: 60-37=23
Moving to Node #0,1
Current State: 69:[54, 38, 23], Operations: ['60-37=23']
Exploring Operation: 54+38=92, Resulting Numbers: [23, 92]
Generated Node #0,1,0: 69:[23, 92] Operation: 54+38=92
Moving to Node #0,1,0
Current State: 69:[23, 92], Operations: ['60-37=23', '54+38=92']
Exploring Operation: 92-23=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 0.967014 | hs_3 | mult_heuristic |
[
91,
4,
28,
43
] | 40 | [
"91-43=48",
"48/4=12",
"28+12=40"
] | Current State: 40:[91, 4, 28, 43], Operations: []
Exploring Operation: 91-43=48, Resulting Numbers: [4, 28, 48]
Generated Node #2: [4, 28, 48] from Operation: 91-43=48
Current State: 40:[4, 28, 48], Operations: ['91-43=48']
Exploring Operation: 48/4=12, Resulting Numbers: [28, 12]
Generated Node #3: [28, 12] from Operation: 48/4=12
Current State: 40:[28, 12], Operations: ['91-43=48', '48/4=12']
Exploring Operation: 28+12=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[91, 4, 28, 43], Operations: []
Exploring Operation: 28/4=7, Resulting Numbers: [91, 43, 7]
Generated Node #0,0: 40:[91, 43, 7] Operation: 28/4=7
Exploring Operation: 91-28=63, Resulting Numbers: [4, 43, 63]
Generated Node #0,1: 40:[4, 43, 63] Operation: 91-28=63
Exploring Operation: 91-43=48, Resulting Numbers: [4, 28, 48]
Generated Node #0,2: 40:[4, 28, 48] Operation: 91-43=48
Moving to Node #0,2
Current State: 40:[4, 28, 48], Operations: ['91-43=48']
Exploring Operation: 48/4=12, Resulting Numbers: [28, 12]
Generated Node #0,2,0: 40:[28, 12] Operation: 48/4=12
Exploring Operation: 28/4=7, Resulting Numbers: [48, 7]
Generated Node #0,2,1: 40:[48, 7] Operation: 28/4=7
Exploring Operation: 48-28=20, Resulting Numbers: [4, 20]
Generated Node #0,2,2: 40:[4, 20] Operation: 48-28=20
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 40:[4, 20], Operations: ['91-43=48', '48-28=20']
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,40 unequal: No Solution
Exploring Operation: 4+20=24, Resulting Numbers: [24]
24,40 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 40:[48, 7], Operations: ['91-43=48', '28/4=7']
Exploring Operation: 48-7=41, Resulting Numbers: [41]
41,40 unequal: No Solution
Exploring Operation: 48+7=55, Resulting Numbers: [55]
55,40 unequal: No Solution
Exploring Operation: 48*7=336, Resulting Numbers: [336]
336,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 40:[28, 12], Operations: ['91-43=48', '48/4=12']
Exploring Operation: 28*12=336, Resulting Numbers: [336]
336,40 unequal: No Solution
Exploring Operation: 28+12=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[91, 4, 28, 43], Operations: []
Exploring Operation: 91-43=48, Resulting Numbers: [4, 28, 48]
Generated Node #0,2: 40:[4, 28, 48] Operation: 91-43=48
Moving to Node #0,2
Current State: 40:[4, 28, 48], Operations: ['91-43=48']
Exploring Operation: 48/4=12, Resulting Numbers: [28, 12]
Generated Node #0,2,0: 40:[28, 12] Operation: 48/4=12
Moving to Node #0,2,0
Current State: 40:[28, 12], Operations: ['91-43=48', '48/4=12']
Exploring Operation: 28+12=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | mult_heuristic |
[
1,
9,
52,
32
] | 93 | [
"1*9=9",
"52+32=84",
"9+84=93"
] | Current State: 93:[1, 9, 52, 32], Operations: []
Exploring Operation: 1*9=9, Resulting Numbers: [52, 32, 9]
Generated Node #2: [52, 32, 9] from Operation: 1*9=9
Current State: 93:[52, 32, 9], Operations: ['1*9=9']
Exploring Operation: 52+32=84, Resulting Numbers: [9, 84]
Generated Node #3: [9, 84] from Operation: 52+32=84
Current State: 93:[9, 84], Operations: ['1*9=9', '52+32=84']
Exploring Operation: 9+84=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[1, 9, 52, 32], Operations: []
Exploring Operation: 52-9=43, Resulting Numbers: [1, 32, 43]
Generated Node #0,0: 93:[1, 32, 43] Operation: 52-9=43
Exploring Operation: 52-32=20, Resulting Numbers: [1, 9, 20]
Generated Node #0,1: 93:[1, 9, 20] Operation: 52-32=20
Exploring Operation: 52+32=84, Resulting Numbers: [1, 9, 84]
Generated Node #0,2: 93:[1, 9, 84] Operation: 52+32=84
Exploring Operation: 52-1=51, Resulting Numbers: [9, 32, 51]
Generated Node #0,3: 93:[9, 32, 51] Operation: 52-1=51
Exploring Operation: 9-1=8, Resulting Numbers: [52, 32, 8]
Generated Node #0,4: 93:[52, 32, 8] Operation: 9-1=8
Moving to Node #0,0
Current State: 93:[1, 32, 43], Operations: ['52-9=43']
Exploring Operation: 32-1=31, Resulting Numbers: [43, 31]
Generated Node #0,0,0: 93:[43, 31] Operation: 32-1=31
Exploring Operation: 32/1=32, Resulting Numbers: [43, 32]
Generated Node #0,0,1: 93:[43, 32] Operation: 32/1=32
Exploring Operation: 43-32=11, Resulting Numbers: [1, 11]
Generated Node #0,0,2: 93:[1, 11] Operation: 43-32=11
Exploring Operation: 1*32=32, Resulting Numbers: [43, 32]
Generated Node #0,0,3: 93:[43, 32] Operation: 1*32=32
Exploring Operation: 43-1=42, Resulting Numbers: [32, 42]
Generated Node #0,0,4: 93:[32, 42] Operation: 43-1=42
Moving to Node #0,2
Current State: 93:[1, 9, 84], Operations: ['52+32=84']
Exploring Operation: 9/1=9, Resulting Numbers: [84, 9]
Generated Node #0,2,0: 93:[84, 9] Operation: 9/1=9
Exploring Operation: 9+84=93, Resulting Numbers: [1, 93]
Generated Node #0,2,1: 93:[1, 93] Operation: 9+84=93
Exploring Operation: 9-1=8, Resulting Numbers: [84, 8]
Generated Node #0,2,2: 93:[84, 8] Operation: 9-1=8
Exploring Operation: 1*9=9, Resulting Numbers: [84, 9]
Generated Node #0,2,3: 93:[84, 9] Operation: 1*9=9
Exploring Operation: 1+84=85, Resulting Numbers: [9, 85]
Generated Node #0,2,4: 93:[9, 85] Operation: 1+84=85
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 93:[1, 93], Operations: ['52+32=84', '9+84=93']
Exploring Operation: 93/1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[1, 9, 52, 32], Operations: []
Exploring Operation: 52+32=84, Resulting Numbers: [1, 9, 84]
Generated Node #0,2: 93:[1, 9, 84] Operation: 52+32=84
Moving to Node #0,2
Current State: 93:[1, 9, 84], Operations: ['52+32=84']
Exploring Operation: 9+84=93, Resulting Numbers: [1, 93]
Generated Node #0,2,1: 93:[1, 93] Operation: 9+84=93
Moving to Node #0,2,1
Current State: 93:[1, 93], Operations: ['52+32=84', '9+84=93']
Exploring Operation: 93/1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | sum_heuristic |
[
70,
26,
19,
20
] | 97 | [
"70+26=96",
"20-19=1",
"96+1=97"
] | Current State: 97:[70, 26, 19, 20], Operations: []
Exploring Operation: 70+26=96, Resulting Numbers: [19, 20, 96]
Generated Node #2: [19, 20, 96] from Operation: 70+26=96
Current State: 97:[19, 20, 96], Operations: ['70+26=96']
Exploring Operation: 20-19=1, Resulting Numbers: [96, 1]
Generated Node #3: [96, 1] from Operation: 20-19=1
Current State: 97:[96, 1], Operations: ['70+26=96', '20-19=1']
Exploring Operation: 96+1=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[70, 26, 19, 20], Operations: []
Exploring Operation: 70+20=90, Resulting Numbers: [26, 19, 90]
Generated Node #0,0: 97:[26, 19, 90] Operation: 70+20=90
Exploring Operation: 26+19=45, Resulting Numbers: [70, 20, 45]
Generated Node #0,1: 97:[70, 20, 45] Operation: 26+19=45
Exploring Operation: 70+19=89, Resulting Numbers: [26, 20, 89]
Generated Node #0,2: 97:[26, 20, 89] Operation: 70+19=89
Exploring Operation: 70+26=96, Resulting Numbers: [19, 20, 96]
Generated Node #0,3: 97:[19, 20, 96] Operation: 70+26=96
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[26, 19, 90], Operations: ['70+20=90']
Exploring Operation: 26+90=116, Resulting Numbers: [19, 116]
Generated Node #0,0,0: 97:[19, 116] Operation: 26+90=116
Exploring Operation: 26+19=45, Resulting Numbers: [90, 45]
Generated Node #0,0,1: 97:[90, 45] Operation: 26+19=45
Exploring Operation: 19+90=109, Resulting Numbers: [26, 109]
Generated Node #0,0,2: 97:[26, 109] Operation: 19+90=109
Exploring Operation: 26-19=7, Resulting Numbers: [90, 7]
Generated Node #0,0,3: 97:[90, 7] Operation: 26-19=7
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 97:[90, 45], Operations: ['70+20=90', '26+19=45']
Exploring Operation: 90-45=45, Resulting Numbers: [45]
45,97 unequal: No Solution
Exploring Operation: 90+45=135, Resulting Numbers: [135]
135,97 unequal: No Solution
Exploring Operation: 90/45=2, Resulting Numbers: [2]
2,97 unequal: No Solution
Exploring Operation: 90*45=4050, Resulting Numbers: [4050]
4050,97 unequal: No Solution
No 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: 97:[26, 109], Operations: ['70+20=90', '19+90=109']
Exploring Operation: 26*109=2834, Resulting Numbers: [2834]
2834,97 unequal: No Solution
Exploring Operation: 26+109=135, Resulting Numbers: [135]
135,97 unequal: No Solution
Exploring Operation: 109-26=83, Resulting Numbers: [83]
83,97 unequal: No Solution
No 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: 97:[19, 116], Operations: ['70+20=90', '26+90=116']
Exploring Operation: 116-19=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[70, 26, 19, 20], Operations: []
Exploring Operation: 70+20=90, Resulting Numbers: [26, 19, 90]
Generated Node #0,0: 97:[26, 19, 90] Operation: 70+20=90
Moving to Node #0,0
Current State: 97:[26, 19, 90], Operations: ['70+20=90']
Exploring Operation: 26+90=116, Resulting Numbers: [19, 116]
Generated Node #0,0,0: 97:[19, 116] Operation: 26+90=116
Moving to Node #0,0,0
Current State: 97:[19, 116], Operations: ['70+20=90', '26+90=116']
Exploring Operation: 116-19=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.982639 | hs_4 | mult_heuristic |
[
48,
2,
48,
6
] | 42 | [
"48+2=50",
"48/6=8",
"50-8=42"
] | Current State: 42:[48, 2, 48, 6], Operations: []
Exploring Operation: 48+2=50, Resulting Numbers: [6, 50]
Generated Node #2: [6, 50] from Operation: 48+2=50
Current State: 42:[6, 50], Operations: ['48+2=50']
Exploring Operation: 48/6=8, Resulting Numbers: [50, 8]
Generated Node #3: [50, 8] from Operation: 48/6=8
Current State: 42:[50, 8], Operations: ['48+2=50', '48/6=8']
Exploring Operation: 50-8=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[48, 2, 48, 6], Operations: []
Exploring Operation: 48/48=1, Resulting Numbers: [2, 6, 1]
Generated Node #0,0: 42:[2, 6, 1] Operation: 48/48=1
Moving to Node #0,0
Current State: 42:[2, 6, 1], Operations: ['48/48=1']
Exploring Operation: 2+1=3, Resulting Numbers: [6, 3]
Generated Node #0,0,0: 42:[6, 3] Operation: 2+1=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 42:[6, 3], Operations: ['48/48=1', '2+1=3']
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,42 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 |
[
36,
11,
11,
5
] | 70 | [
"36-11=25",
"25-11=14",
"5*14=70"
] | Current State: 70:[36, 11, 11, 5], Operations: []
Exploring Operation: 36-11=25, Resulting Numbers: [5, 25]
Generated Node #2: [5, 25] from Operation: 36-11=25
Current State: 70:[5, 25], Operations: ['36-11=25']
Exploring Operation: 25-11=14, Resulting Numbers: [5, 14]
Generated Node #3: [5, 14] from Operation: 25-11=14
Current State: 70:[5, 14], Operations: ['36-11=25', '25-11=14']
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[36, 11, 11, 5], Operations: []
Exploring Operation: 11/11=1, Resulting Numbers: [36, 5, 1]
Generated Node #0,0: 70:[36, 5, 1] Operation: 11/11=1
Exploring Operation: 11-5=6, Resulting Numbers: [36, 11, 6]
Generated Node #0,1: 70:[36, 11, 6] Operation: 11-5=6
Exploring Operation: 11+5=16, Resulting Numbers: [36, 11, 16]
Generated Node #0,2: 70:[36, 11, 16] Operation: 11+5=16
Exploring Operation: 11-5=6, Resulting Numbers: [36, 11, 6]
Generated Node #0,3: 70:[36, 11, 6] Operation: 11-5=6
Exploring Operation: 11-11=0, Resulting Numbers: [36, 5, 0]
Generated Node #0,4: 70:[36, 5, 0] Operation: 11-11=0
Moving to Node #0,0
Current State: 70:[36, 5, 1], Operations: ['11/11=1']
Exploring Operation: 36/1=36, Resulting Numbers: [5, 36]
Generated Node #0,0,0: 70:[5, 36] Operation: 36/1=36
Exploring Operation: 36-1=35, Resulting Numbers: [5, 35]
Generated Node #0,0,1: 70:[5, 35] Operation: 36-1=35
Exploring Operation: 36*1=36, Resulting Numbers: [5, 36]
Generated Node #0,0,2: 70:[5, 36] Operation: 36*1=36
Exploring Operation: 5/1=5, Resulting Numbers: [36, 5]
Generated Node #0,0,3: 70:[36, 5] Operation: 5/1=5
Exploring Operation: 5*1=5, Resulting Numbers: [36, 5]
Generated Node #0,0,4: 70:[36, 5] Operation: 5*1=5
Moving to Node #0,3
Current State: 70:[36, 11, 6], Operations: ['11-5=6']
Exploring Operation: 36-6=30, Resulting Numbers: [11, 30]
Generated Node #0,3,0: 70:[11, 30] Operation: 36-6=30
Exploring Operation: 11+6=17, Resulting Numbers: [36, 17]
Generated Node #0,3,1: 70:[36, 17] Operation: 11+6=17
Exploring Operation: 36/6=6, Resulting Numbers: [11, 6]
Generated Node #0,3,2: 70:[11, 6] Operation: 36/6=6
Exploring Operation: 11*6=66, Resulting Numbers: [36, 66]
Generated Node #0,3,3: 70:[36, 66] Operation: 11*6=66
Exploring Operation: 11-6=5, Resulting Numbers: [36, 5]
Generated Node #0,3,4: 70:[36, 5] Operation: 11-6=5
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 70:[36, 5], Operations: ['11-5=6', '11-6=5']
Exploring Operation: 36*5=180, Resulting Numbers: [180]
180,70 unequal: No Solution
Exploring Operation: 36+5=41, Resulting Numbers: [41]
41,70 unequal: No Solution
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 70:[11, 6], Operations: ['11-5=6', '36/6=6']
Exploring Operation: 11*6=66, Resulting Numbers: [66]
66,70 unequal: No Solution
Exploring Operation: 11+6=17, Resulting Numbers: [17]
17,70 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 70:[36, 17], Operations: ['11-5=6', '11+6=17']
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,70 unequal: No Solution
Exploring Operation: 36+17=53, Resulting Numbers: [53]
53,70 unequal: No Solution
Exploring Operation: 36*17=612, Resulting Numbers: [612]
612,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 70:[36, 66], Operations: ['11-5=6', '11*6=66']
Exploring Operation: 36+66=102, Resulting Numbers: [102]
102,70 unequal: No Solution
Exploring Operation: 36*66=2376, Resulting Numbers: [2376]
2376,70 unequal: No Solution
Exploring Operation: 66-36=30, Resulting Numbers: [30]
30,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 70:[11, 30], Operations: ['11-5=6', '36-6=30']
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,70 unequal: No Solution
Exploring Operation: 11*30=330, Resulting Numbers: [330]
330,70 unequal: No Solution
Exploring Operation: 11+30=41, Resulting Numbers: [41]
41,70 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: 70:[36, 11, 6], Operations: ['11-5=6']
Exploring Operation: 36-6=30, Resulting Numbers: [11, 30]
Generated Node #0,1,0: 70:[11, 30] Operation: 36-6=30
Exploring Operation: 11*6=66, Resulting Numbers: [36, 66]
Generated Node #0,1,1: 70:[36, 66] Operation: 11*6=66
Exploring Operation: 11-6=5, Resulting Numbers: [36, 5]
Generated Node #0,1,2: 70:[36, 5] Operation: 11-6=5
Exploring Operation: 11+6=17, Resulting Numbers: [36, 17]
Generated Node #0,1,3: 70:[36, 17] Operation: 11+6=17
Exploring Operation: 36/6=6, Resulting Numbers: [11, 6]
Generated Node #0,1,4: 70:[11, 6] Operation: 36/6=6
Moving to Node #0,4
Current State: 70:[36, 5, 0], Operations: ['11-11=0']
Exploring Operation: 36+0=36, Resulting Numbers: [5, 36]
Generated Node #0,4,0: 70:[5, 36] Operation: 36+0=36
Exploring Operation: 5-0=5, Resulting Numbers: [36, 5]
Generated Node #0,4,1: 70:[36, 5] Operation: 5-0=5
Exploring Operation: 36-0=36, Resulting Numbers: [5, 36]
Generated Node #0,4,2: 70:[5, 36] Operation: 36-0=36
Exploring Operation: 5+0=5, Resulting Numbers: [36, 5]
Generated Node #0,4,3: 70:[36, 5] Operation: 5+0=5
Exploring Operation: 36*0=0, Resulting Numbers: [5, 0]
Generated Node #0,4,4: 70:[5, 0] Operation: 36*0=0
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 70:[5, 36], Operations: ['11-11=0', '36+0=36']
Exploring Operation: 5*36=180, Resulting Numbers: [180]
180,70 unequal: No Solution
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,70 unequal: No Solution
Exploring Operation: 5+36=41, Resulting Numbers: [41]
41,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 70:[36, 5], Operations: ['11-11=0', '5-0=5']
Exploring Operation: 36+5=41, Resulting Numbers: [41]
41,70 unequal: No Solution
Exploring Operation: 36*5=180, Resulting Numbers: [180]
180,70 unequal: No Solution
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 70:[5, 36], Operations: ['11-11=0', '36-0=36']
Exploring Operation: 5*36=180, Resulting Numbers: [180]
180,70 unequal: No Solution
Exploring Operation: 5+36=41, Resulting Numbers: [41]
41,70 unequal: No Solution
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 70:[36, 5], Operations: ['11-11=0', '5+0=5']
Exploring Operation: 36+5=41, Resulting Numbers: [41]
41,70 unequal: No Solution
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,70 unequal: No Solution
Exploring Operation: 36*5=180, Resulting Numbers: [180]
180,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 70:[5, 0], Operations: ['11-11=0', '36*0=0']
Exploring Operation: 5*0=0, Resulting Numbers: [0]
0,70 unequal: No Solution
Exploring Operation: 5-0=5, Resulting Numbers: [5]
5,70 unequal: No Solution
Exploring Operation: 5+0=5, Resulting Numbers: [5]
5,70 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: 70:[36, 11, 16], Operations: ['11+5=16']
Exploring Operation: 16-11=5, Resulting Numbers: [36, 5]
Generated Node #0,2,0: 70:[36, 5] Operation: 16-11=5
Exploring Operation: 36-11=25, Resulting Numbers: [16, 25]
Generated Node #0,2,1: 70:[16, 25] Operation: 36-11=25
Exploring Operation: 36+11=47, Resulting Numbers: [16, 47]
Generated Node #0,2,2: 70:[16, 47] Operation: 36+11=47
Exploring Operation: 36-16=20, Resulting Numbers: [11, 20]
Generated Node #0,2,3: 70:[11, 20] Operation: 36-16=20
Exploring Operation: 11+16=27, Resulting Numbers: [36, 27]
Generated Node #0,2,4: 70:[36, 27] Operation: 11+16=27
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 70:[36, 5], Operations: ['11+5=16', '16-11=5']
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,70 unequal: No Solution
Exploring Operation: 36+5=41, Resulting Numbers: [41]
41,70 unequal: No Solution
Exploring Operation: 36*5=180, Resulting Numbers: [180]
180,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 70:[11, 20], Operations: ['11+5=16', '36-16=20']
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,70 unequal: No Solution
Exploring Operation: 11*20=220, Resulting Numbers: [220]
220,70 unequal: No Solution
Exploring Operation: 11+20=31, Resulting Numbers: [31]
31,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 70:[36, 27], Operations: ['11+5=16', '11+16=27']
Exploring Operation: 36*27=972, Resulting Numbers: [972]
972,70 unequal: No Solution
Exploring Operation: 36+27=63, Resulting Numbers: [63]
63,70 unequal: No Solution
Exploring Operation: 36-27=9, Resulting Numbers: [9]
9,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 70:[16, 25], Operations: ['11+5=16', '36-11=25']
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,70 unequal: No Solution
Exploring Operation: 16+25=41, Resulting Numbers: [41]
41,70 unequal: No Solution
Exploring Operation: 16*25=400, Resulting Numbers: [400]
400,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 70:[16, 47], Operations: ['11+5=16', '36+11=47']
Exploring Operation: 16+47=63, Resulting Numbers: [63]
63,70 unequal: No Solution
Exploring Operation: 16*47=752, Resulting Numbers: [752]
752,70 unequal: No Solution
Exploring Operation: 47-16=31, Resulting Numbers: [31]
31,70 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: 70:[5, 35], Operations: ['11/11=1', '36-1=35']
Exploring Operation: 5+35=40, Resulting Numbers: [40]
40,70 unequal: No Solution
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,70 unequal: No Solution
Exploring Operation: 5*35=175, Resulting Numbers: [175]
175,70 unequal: No Solution
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,70 unequal: No Solution
Moving to Node #0,0,2
Current State: 70:[5, 36], Operations: ['11/11=1', '36*1=36']
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,70 unequal: No Solution
Exploring Operation: 5+36=41, Resulting Numbers: [41]
41,70 unequal: No Solution
Exploring Operation: 5*36=180, Resulting Numbers: [180]
180,70 unequal: No Solution
Moving to Node #0,1,2
Current State: 70:[36, 5], Operations: ['11-5=6', '11-6=5']
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,70 unequal: No Solution
Exploring Operation: 36*5=180, Resulting Numbers: [180]
180,70 unequal: No Solution
Exploring Operation: 36+5=41, Resulting Numbers: [41]
41,70 unequal: No Solution
Moving to Node #0,0,0
Current State: 70:[5, 36], Operations: ['11/11=1', '36/1=36']
Exploring Operation: 5*36=180, Resulting Numbers: [180]
180,70 unequal: No Solution
Exploring Operation: 5+36=41, Resulting Numbers: [41]
41,70 unequal: No Solution
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,70 unequal: No Solution
Moving to Node #0,0,4
Current State: 70:[36, 5], Operations: ['11/11=1', '5*1=5']
Exploring Operation: 36+5=41, Resulting Numbers: [41]
41,70 unequal: No Solution
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,70 unequal: No Solution
Exploring Operation: 36*5=180, Resulting Numbers: [180]
180,70 unequal: No Solution
Moving to Node #0,0,3
Current State: 70:[36, 5], Operations: ['11/11=1', '5/1=5']
Exploring Operation: 36*5=180, Resulting Numbers: [180]
180,70 unequal: No Solution
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,70 unequal: No Solution
Exploring Operation: 36+5=41, Resulting Numbers: [41]
41,70 unequal: No Solution
Moving to Node #0,1,4
Current State: 70:[11, 6], Operations: ['11-5=6', '36/6=6']
Exploring Operation: 11*6=66, Resulting Numbers: [66]
66,70 unequal: No Solution
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,70 unequal: No Solution
Exploring Operation: 11+6=17, Resulting Numbers: [17]
17,70 unequal: No Solution
Moving to Node #0,1,3
Current State: 70:[36, 17], Operations: ['11-5=6', '11+6=17']
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,70 unequal: No Solution
Exploring Operation: 36+17=53, Resulting Numbers: [53]
53,70 unequal: No Solution
Exploring Operation: 36*17=612, Resulting Numbers: [612]
612,70 unequal: No Solution
Moving to Node #0,1,1
Current State: 70:[36, 66], Operations: ['11-5=6', '11*6=66']
Exploring Operation: 36*66=2376, Resulting Numbers: [2376]
2376,70 unequal: No Solution
Exploring Operation: 66-36=30, Resulting Numbers: [30]
30,70 unequal: No Solution
Exploring Operation: 36+66=102, Resulting Numbers: [102]
102,70 unequal: No Solution
Moving to Node #0,1,0
Current State: 70:[11, 30], Operations: ['11-5=6', '36-6=30']
Exploring Operation: 11*30=330, Resulting Numbers: [330]
330,70 unequal: No Solution
Exploring Operation: 11+30=41, Resulting Numbers: [41]
41,70 unequal: No Solution
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,70 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
84,
32,
10,
23
] | 46 | [
"84*23=1932",
"32+10=42",
"1932/42=46"
] | Current State: 46:[84, 32, 10, 23], Operations: []
Exploring Operation: 84*23=1932, Resulting Numbers: [32, 10, 1932]
Generated Node #2: [32, 10, 1932] from Operation: 84*23=1932
Current State: 46:[32, 10, 1932], Operations: ['84*23=1932']
Exploring Operation: 32+10=42, Resulting Numbers: [1932, 42]
Generated Node #3: [1932, 42] from Operation: 32+10=42
Current State: 46:[1932, 42], Operations: ['84*23=1932', '32+10=42']
Exploring Operation: 1932/42=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[84, 32, 10, 23], Operations: []
Exploring Operation: 84-10=74, Resulting Numbers: [32, 23, 74]
Generated Node #0,0: 46:[32, 23, 74] Operation: 84-10=74
Exploring Operation: 84-23=61, Resulting Numbers: [32, 10, 61]
Generated Node #0,1: 46:[32, 10, 61] Operation: 84-23=61
Exploring Operation: 84-32=52, Resulting Numbers: [10, 23, 52]
Generated Node #0,2: 46:[10, 23, 52] Operation: 84-32=52
Moving to Node #0,2
Current State: 46:[10, 23, 52], Operations: ['84-32=52']
Exploring Operation: 52-23=29, Resulting Numbers: [10, 29]
Generated Node #0,2,0: 46:[10, 29] Operation: 52-23=29
Exploring Operation: 10+23=33, Resulting Numbers: [52, 33]
Generated Node #0,2,1: 46:[52, 33] Operation: 10+23=33
Exploring Operation: 52-10=42, Resulting Numbers: [23, 42]
Generated Node #0,2,2: 46:[23, 42] Operation: 52-10=42
Moving to Node #0,1
Current State: 46:[32, 10, 61], Operations: ['84-23=61']
Exploring Operation: 61-10=51, Resulting Numbers: [32, 51]
Generated Node #0,1,0: 46:[32, 51] Operation: 61-10=51
Exploring Operation: 61-32=29, Resulting Numbers: [10, 29]
Generated Node #0,1,1: 46:[10, 29] Operation: 61-32=29
Exploring Operation: 32-10=22, Resulting Numbers: [61, 22]
Generated Node #0,1,2: 46:[61, 22] Operation: 32-10=22
Moving to Node #0,0
Current State: 46:[32, 23, 74], Operations: ['84-10=74']
Exploring Operation: 74-32=42, Resulting Numbers: [23, 42]
Generated Node #0,0,0: 46:[23, 42] Operation: 74-32=42
Exploring Operation: 32-23=9, Resulting Numbers: [74, 9]
Generated Node #0,0,1: 46:[74, 9] Operation: 32-23=9
Exploring Operation: 74-23=51, Resulting Numbers: [32, 51]
Generated Node #0,0,2: 46:[32, 51] Operation: 74-23=51
Moving to Node #0,2,2
Current State: 46:[23, 42], Operations: ['84-32=52', '52-10=42']
Exploring Operation: 23*42=966, Resulting Numbers: [966]
966,46 unequal: No Solution
Exploring Operation: 23+42=65, Resulting Numbers: [65]
65,46 unequal: No Solution
Exploring Operation: 42-23=19, Resulting Numbers: [19]
19,46 unequal: No Solution
Moving to Node #0,0,0
Current State: 46:[23, 42], Operations: ['84-10=74', '74-32=42']
Exploring Operation: 23+42=65, Resulting Numbers: [65]
65,46 unequal: No Solution
Exploring Operation: 23*42=966, Resulting Numbers: [966]
966,46 unequal: No Solution
Exploring Operation: 42-23=19, Resulting Numbers: [19]
19,46 unequal: No Solution
Moving to Node #0,2,0
Current State: 46:[10, 29], Operations: ['84-32=52', '52-23=29']
Exploring Operation: 10+29=39, Resulting Numbers: [39]
39,46 unequal: No Solution
Exploring Operation: 29-10=19, Resulting Numbers: [19]
19,46 unequal: No Solution
Exploring Operation: 10*29=290, Resulting Numbers: [290]
290,46 unequal: No Solution
Moving to Node #0,1,1
Current State: 46:[10, 29], Operations: ['84-23=61', '61-32=29']
Exploring Operation: 29-10=19, Resulting Numbers: [19]
19,46 unequal: No Solution
Exploring Operation: 10*29=290, Resulting Numbers: [290]
290,46 unequal: No Solution
Exploring Operation: 10+29=39, Resulting Numbers: [39]
39,46 unequal: No Solution
Moving to Node #0,0,2
Current State: 46:[32, 51], Operations: ['84-10=74', '74-23=51']
Exploring Operation: 32*51=1632, Resulting Numbers: [1632]
1632,46 unequal: No Solution
Exploring Operation: 51-32=19, Resulting Numbers: [19]
19,46 unequal: No Solution
Exploring Operation: 32+51=83, Resulting Numbers: [83]
83,46 unequal: No Solution
Moving to Node #0,1,0
Current State: 46:[32, 51], Operations: ['84-23=61', '61-10=51']
Exploring Operation: 32*51=1632, Resulting Numbers: [1632]
1632,46 unequal: No Solution
Exploring Operation: 51-32=19, Resulting Numbers: [19]
19,46 unequal: No Solution
Exploring Operation: 32+51=83, Resulting Numbers: [83]
83,46 unequal: No Solution
Moving to Node #0,2,1
Current State: 46:[52, 33], Operations: ['84-32=52', '10+23=33']
Exploring Operation: 52+33=85, Resulting Numbers: [85]
85,46 unequal: No Solution
Exploring Operation: 52-33=19, Resulting Numbers: [19]
19,46 unequal: No Solution
Exploring Operation: 52*33=1716, Resulting Numbers: [1716]
1716,46 unequal: No Solution
Moving to Node #0,1,2
Current State: 46:[61, 22], Operations: ['84-23=61', '32-10=22']
Exploring Operation: 61-22=39, Resulting Numbers: [39]
39,46 unequal: No Solution
Exploring Operation: 61+22=83, Resulting Numbers: [83]
83,46 unequal: No Solution
Exploring Operation: 61*22=1342, Resulting Numbers: [1342]
1342,46 unequal: No Solution
Moving to Node #0,0,1
Current State: 46:[74, 9], Operations: ['84-10=74', '32-23=9']
Exploring Operation: 74-9=65, Resulting Numbers: [65]
65,46 unequal: No Solution
Exploring Operation: 74*9=666, Resulting Numbers: [666]
666,46 unequal: No Solution
Exploring Operation: 74+9=83, Resulting Numbers: [83]
83,46 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
71,
14,
2,
39
] | 36 | [
"71-14=57",
"57-39=18",
"2*18=36"
] | Current State: 36:[71, 14, 2, 39], Operations: []
Exploring Operation: 71-14=57, Resulting Numbers: [2, 39, 57]
Generated Node #2: [2, 39, 57] from Operation: 71-14=57
Current State: 36:[2, 39, 57], Operations: ['71-14=57']
Exploring Operation: 57-39=18, Resulting Numbers: [2, 18]
Generated Node #3: [2, 18] from Operation: 57-39=18
Current State: 36:[2, 18], Operations: ['71-14=57', '57-39=18']
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[71, 14, 2, 39], Operations: []
Exploring Operation: 71-14=57, Resulting Numbers: [2, 39, 57]
Generated Node #0,0: 36:[2, 39, 57] Operation: 71-14=57
Exploring Operation: 71-2=69, Resulting Numbers: [14, 39, 69]
Generated Node #0,1: 36:[14, 39, 69] Operation: 71-2=69
Exploring Operation: 71-39=32, Resulting Numbers: [14, 2, 32]
Generated Node #0,2: 36:[14, 2, 32] Operation: 71-39=32
Moving to Node #0,2
Current State: 36:[14, 2, 32], Operations: ['71-39=32']
Exploring Operation: 2+32=34, Resulting Numbers: [14, 34]
Generated Node #0,2,0: 36:[14, 34] Operation: 2+32=34
Exploring Operation: 14-2=12, Resulting Numbers: [32, 12]
Generated Node #0,2,1: 36:[32, 12] Operation: 14-2=12
Exploring Operation: 32-14=18, Resulting Numbers: [2, 18]
Generated Node #0,2,2: 36:[2, 18] Operation: 32-14=18
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 36:[2, 18], Operations: ['71-39=32', '32-14=18']
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[71, 14, 2, 39], Operations: []
Exploring Operation: 71-39=32, Resulting Numbers: [14, 2, 32]
Generated Node #0,2: 36:[14, 2, 32] Operation: 71-39=32
Moving to Node #0,2
Current State: 36:[14, 2, 32], Operations: ['71-39=32']
Exploring Operation: 32-14=18, Resulting Numbers: [2, 18]
Generated Node #0,2,2: 36:[2, 18] Operation: 32-14=18
Moving to Node #0,2,2
Current State: 36:[2, 18], Operations: ['71-39=32', '32-14=18']
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
70,
60,
72,
26
] | 45 | [
"70+26=96",
"60*72=4320",
"4320/96=45"
] | Current State: 45:[70, 60, 72, 26], Operations: []
Exploring Operation: 70+26=96, Resulting Numbers: [60, 72, 96]
Generated Node #2: [60, 72, 96] from Operation: 70+26=96
Current State: 45:[60, 72, 96], Operations: ['70+26=96']
Exploring Operation: 60*72=4320, Resulting Numbers: [96, 4320]
Generated Node #3: [96, 4320] from Operation: 60*72=4320
Current State: 45:[96, 4320], Operations: ['70+26=96', '60*72=4320']
Exploring Operation: 4320/96=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[70, 60, 72, 26], Operations: []
Exploring Operation: 70-60=10, Resulting Numbers: [72, 26, 10]
Generated Node #0,0: 45:[72, 26, 10] Operation: 70-60=10
Exploring Operation: 72-70=2, Resulting Numbers: [60, 26, 2]
Generated Node #0,1: 45:[60, 26, 2] Operation: 72-70=2
Moving to Node #0,1
Current State: 45:[60, 26, 2], Operations: ['72-70=2']
Exploring Operation: 26/2=13, Resulting Numbers: [60, 13]
Generated Node #0,1,0: 45:[60, 13] Operation: 26/2=13
Exploring Operation: 60-26=34, Resulting Numbers: [2, 34]
Generated Node #0,1,1: 45:[2, 34] Operation: 60-26=34
Moving to Node #0,0
Current State: 45:[72, 26, 10], Operations: ['70-60=10']
Exploring Operation: 72-10=62, Resulting Numbers: [26, 62]
Generated Node #0,0,0: 45:[26, 62] Operation: 72-10=62
Exploring Operation: 72-26=46, Resulting Numbers: [10, 46]
Generated Node #0,0,1: 45:[10, 46] Operation: 72-26=46
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 45:[10, 46], Operations: ['70-60=10', '72-26=46']
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,45 unequal: No Solution
Exploring Operation: 10+46=56, Resulting Numbers: [56]
56,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 45:[26, 62], Operations: ['70-60=10', '72-10=62']
Exploring Operation: 26+62=88, Resulting Numbers: [88]
88,45 unequal: No Solution
Exploring Operation: 62-26=36, Resulting Numbers: [36]
36,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 45:[2, 34], Operations: ['72-70=2', '60-26=34']
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,45 unequal: No Solution
Exploring Operation: 2+34=36, Resulting Numbers: [36]
36,45 unequal: No Solution
Moving to Node #0,1,0
Current State: 45:[60, 13], Operations: ['72-70=2', '26/2=13']
Exploring Operation: 60-13=47, Resulting Numbers: [47]
47,45 unequal: No Solution
Exploring Operation: 60+13=73, Resulting Numbers: [73]
73,45 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
98,
54,
33,
9
] | 68 | [
"98-54=44",
"33-9=24",
"44+24=68"
] | Current State: 68:[98, 54, 33, 9], Operations: []
Exploring Operation: 98-54=44, Resulting Numbers: [33, 9, 44]
Generated Node #2: [33, 9, 44] from Operation: 98-54=44
Current State: 68:[33, 9, 44], Operations: ['98-54=44']
Exploring Operation: 33-9=24, Resulting Numbers: [44, 24]
Generated Node #3: [44, 24] from Operation: 33-9=24
Current State: 68:[44, 24], Operations: ['98-54=44', '33-9=24']
Exploring Operation: 44+24=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[98, 54, 33, 9], Operations: []
Exploring Operation: 98-54=44, Resulting Numbers: [33, 9, 44]
Generated Node #0,0: 68:[33, 9, 44] Operation: 98-54=44
Moving to Node #0,0
Current State: 68:[33, 9, 44], Operations: ['98-54=44']
Exploring Operation: 44-9=35, Resulting Numbers: [33, 35]
Generated Node #0,0,0: 68:[33, 35] Operation: 44-9=35
Moving to Node #0,0,0
Current State: 68:[33, 35], Operations: ['98-54=44', '44-9=35']
Exploring Operation: 33+35=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[98, 54, 33, 9], Operations: []
Exploring Operation: 98-54=44, Resulting Numbers: [33, 9, 44]
Generated Node #0,0: 68:[33, 9, 44] Operation: 98-54=44
Moving to Node #0,0
Current State: 68:[33, 9, 44], Operations: ['98-54=44']
Exploring Operation: 44-9=35, Resulting Numbers: [33, 35]
Generated Node #0,0,0: 68:[33, 35] Operation: 44-9=35
Moving to Node #0,0,0
Current State: 68:[33, 35], Operations: ['98-54=44', '44-9=35']
Exploring Operation: 33+35=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
73,
40,
60,
80
] | 75 | [
"40+80=120",
"120/60=2",
"73+2=75"
] | Current State: 75:[73, 40, 60, 80], Operations: []
Exploring Operation: 40+80=120, Resulting Numbers: [73, 60, 120]
Generated Node #2: [73, 60, 120] from Operation: 40+80=120
Current State: 75:[73, 60, 120], Operations: ['40+80=120']
Exploring Operation: 120/60=2, Resulting Numbers: [73, 2]
Generated Node #3: [73, 2] from Operation: 120/60=2
Current State: 75:[73, 2], Operations: ['40+80=120', '120/60=2']
Exploring Operation: 73+2=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[73, 40, 60, 80], Operations: []
Exploring Operation: 60-40=20, Resulting Numbers: [73, 80, 20]
Generated Node #0,0: 75:[73, 80, 20] Operation: 60-40=20
Exploring Operation: 80/40=2, Resulting Numbers: [73, 60, 2]
Generated Node #0,1: 75:[73, 60, 2] Operation: 80/40=2
Exploring Operation: 73-60=13, Resulting Numbers: [40, 80, 13]
Generated Node #0,2: 75:[40, 80, 13] Operation: 73-60=13
Exploring Operation: 80-60=20, Resulting Numbers: [73, 40, 20]
Generated Node #0,3: 75:[73, 40, 20] Operation: 80-60=20
Moving to Node #0,0
Current State: 75:[73, 80, 20], Operations: ['60-40=20']
Exploring Operation: 80/20=4, Resulting Numbers: [73, 4]
Generated Node #0,0,0: 75:[73, 4] Operation: 80/20=4
Exploring Operation: 73+20=93, Resulting Numbers: [80, 93]
Generated Node #0,0,1: 75:[80, 93] Operation: 73+20=93
Exploring Operation: 80-73=7, Resulting Numbers: [20, 7]
Generated Node #0,0,2: 75:[20, 7] Operation: 80-73=7
Exploring Operation: 80-20=60, Resulting Numbers: [73, 60]
Generated Node #0,0,3: 75:[73, 60] Operation: 80-20=60
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 75:[73, 4], Operations: ['60-40=20', '80/20=4']
Exploring Operation: 73*4=292, Resulting Numbers: [292]
292,75 unequal: No Solution
Exploring Operation: 73-4=69, Resulting Numbers: [69]
69,75 unequal: No Solution
Exploring Operation: 73+4=77, Resulting Numbers: [77]
77,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,2
Current State: 75:[20, 7], Operations: ['60-40=20', '80-73=7']
Exploring Operation: 20+7=27, Resulting Numbers: [27]
27,75 unequal: No Solution
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,75 unequal: No Solution
Exploring Operation: 20*7=140, Resulting Numbers: [140]
140,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:[73, 60], Operations: ['60-40=20', '80-20=60']
Exploring Operation: 73-60=13, Resulting Numbers: [13]
13,75 unequal: No Solution
Exploring Operation: 73*60=4380, Resulting Numbers: [4380]
4380,75 unequal: No Solution
Exploring Operation: 73+60=133, Resulting Numbers: [133]
133,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:[80, 93], Operations: ['60-40=20', '73+20=93']
Exploring Operation: 93-80=13, Resulting Numbers: [13]
13,75 unequal: No Solution
Exploring Operation: 80*93=7440, Resulting Numbers: [7440]
7440,75 unequal: No Solution
Exploring Operation: 80+93=173, Resulting Numbers: [173]
173,75 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: 75:[73, 60, 2], Operations: ['80/40=2']
Exploring Operation: 73-60=13, Resulting Numbers: [2, 13]
Generated Node #0,1,0: 75:[2, 13] Operation: 73-60=13
Exploring Operation: 60/2=30, Resulting Numbers: [73, 30]
Generated Node #0,1,1: 75:[73, 30] Operation: 60/2=30
Exploring Operation: 60+2=62, Resulting Numbers: [73, 62]
Generated Node #0,1,2: 75:[73, 62] Operation: 60+2=62
Exploring Operation: 73+2=75, Resulting Numbers: [60, 75]
Generated Node #0,1,3: 75:[60, 75] Operation: 73+2=75
Moving to Node #0,3
Current State: 75:[73, 40, 20], Operations: ['80-60=20']
Exploring Operation: 40-20=20, Resulting Numbers: [73, 20]
Generated Node #0,3,0: 75:[73, 20] Operation: 40-20=20
Exploring Operation: 73-40=33, Resulting Numbers: [20, 33]
Generated Node #0,3,1: 75:[20, 33] Operation: 73-40=33
Exploring Operation: 40+20=60, Resulting Numbers: [73, 60]
Generated Node #0,3,2: 75:[73, 60] Operation: 40+20=60
Exploring Operation: 40/20=2, Resulting Numbers: [73, 2]
Generated Node #0,3,3: 75:[73, 2] Operation: 40/20=2
Moving to Node #0,2
Current State: 75:[40, 80, 13], Operations: ['73-60=13']
Exploring Operation: 80-13=67, Resulting Numbers: [40, 67]
Generated Node #0,2,0: 75:[40, 67] Operation: 80-13=67
Exploring Operation: 40-13=27, Resulting Numbers: [80, 27]
Generated Node #0,2,1: 75:[80, 27] Operation: 40-13=27
Exploring Operation: 80/40=2, Resulting Numbers: [13, 2]
Generated Node #0,2,2: 75:[13, 2] Operation: 80/40=2
Exploring Operation: 80-40=40, Resulting Numbers: [13, 40]
Generated Node #0,2,3: 75:[13, 40] Operation: 80-40=40
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 75:[13, 2], Operations: ['73-60=13', '80/40=2']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,75 unequal: No Solution
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,75 unequal: No Solution
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,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,2,1
Current State: 75:[80, 27], Operations: ['73-60=13', '40-13=27']
Exploring Operation: 80-27=53, Resulting Numbers: [53]
53,75 unequal: No Solution
Exploring Operation: 80+27=107, Resulting Numbers: [107]
107,75 unequal: No Solution
Exploring Operation: 80*27=2160, Resulting Numbers: [2160]
2160,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,2,3
Current State: 75:[13, 40], Operations: ['73-60=13', '80-40=40']
Exploring Operation: 13*40=520, Resulting Numbers: [520]
520,75 unequal: No Solution
Exploring Operation: 13+40=53, Resulting Numbers: [53]
53,75 unequal: No Solution
Exploring Operation: 40-13=27, Resulting Numbers: [27]
27,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,2,0
Current State: 75:[40, 67], Operations: ['73-60=13', '80-13=67']
Exploring Operation: 67-40=27, Resulting Numbers: [27]
27,75 unequal: No Solution
Exploring Operation: 40+67=107, Resulting Numbers: [107]
107,75 unequal: No Solution
Exploring Operation: 40*67=2680, Resulting Numbers: [2680]
2680,75 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: 75:[2, 13], Operations: ['80/40=2', '73-60=13']
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,75 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,75 unequal: No Solution
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,75 unequal: No Solution
Moving to Node #0,3,3
Current State: 75:[73, 2], Operations: ['80-60=20', '40/20=2']
Exploring Operation: 73-2=71, Resulting Numbers: [71]
71,75 unequal: No Solution
Exploring Operation: 73*2=146, Resulting Numbers: [146]
146,75 unequal: No Solution
Exploring Operation: 73+2=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[73, 40, 60, 80], Operations: []
Exploring Operation: 80-60=20, Resulting Numbers: [73, 40, 20]
Generated Node #0,3: 75:[73, 40, 20] Operation: 80-60=20
Moving to Node #0,3
Current State: 75:[73, 40, 20], Operations: ['80-60=20']
Exploring Operation: 40/20=2, Resulting Numbers: [73, 2]
Generated Node #0,3,3: 75:[73, 2] Operation: 40/20=2
Moving to Node #0,3,3
Current State: 75:[73, 2], Operations: ['80-60=20', '40/20=2']
Exploring Operation: 73+2=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 0.953125 | hs_4 | sum_heuristic |
[
2,
23,
79,
80
] | 55 | [
"2*79=158",
"23+80=103",
"158-103=55"
] | Current State: 55:[2, 23, 79, 80], Operations: []
Exploring Operation: 2*79=158, Resulting Numbers: [23, 80, 158]
Generated Node #2: [23, 80, 158] from Operation: 2*79=158
Current State: 55:[23, 80, 158], Operations: ['2*79=158']
Exploring Operation: 23+80=103, Resulting Numbers: [158, 103]
Generated Node #3: [158, 103] from Operation: 23+80=103
Current State: 55:[158, 103], Operations: ['2*79=158', '23+80=103']
Exploring Operation: 158-103=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[2, 23, 79, 80], Operations: []
Exploring Operation: 80-79=1, Resulting Numbers: [2, 23, 1]
Generated Node #0,0: 55:[2, 23, 1] Operation: 80-79=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[2, 23, 1], Operations: ['80-79=1']
Exploring Operation: 2*23=46, Resulting Numbers: [1, 46]
Generated Node #0,0,0: 55:[1, 46] Operation: 2*23=46
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 55:[1, 46], Operations: ['80-79=1', '2*23=46']
Exploring Operation: 1+46=47, Resulting Numbers: [47]
47,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
87,
39,
85,
11
] | 25 | [
"87-85=2",
"39+11=50",
"50/2=25"
] | Current State: 25:[87, 39, 85, 11], Operations: []
Exploring Operation: 87-85=2, Resulting Numbers: [39, 11, 2]
Generated Node #2: [39, 11, 2] from Operation: 87-85=2
Current State: 25:[39, 11, 2], Operations: ['87-85=2']
Exploring Operation: 39+11=50, Resulting Numbers: [2, 50]
Generated Node #3: [2, 50] from Operation: 39+11=50
Current State: 25:[2, 50], Operations: ['87-85=2', '39+11=50']
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[87, 39, 85, 11], Operations: []
Exploring Operation: 87-85=2, Resulting Numbers: [39, 11, 2]
Generated Node #0,0: 25:[39, 11, 2] Operation: 87-85=2
Moving to Node #0,0
Current State: 25:[39, 11, 2], Operations: ['87-85=2']
Exploring Operation: 39-11=28, Resulting Numbers: [2, 28]
Generated Node #0,0,0: 25:[2, 28] Operation: 39-11=28
Moving to Node #0,0,0
Current State: 25:[2, 28], Operations: ['87-85=2', '39-11=28']
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,25 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
95,
71,
18,
51
] | 57 | [
"95-71=24",
"51-18=33",
"24+33=57"
] | Current State: 57:[95, 71, 18, 51], Operations: []
Exploring Operation: 95-71=24, Resulting Numbers: [18, 51, 24]
Generated Node #2: [18, 51, 24] from Operation: 95-71=24
Current State: 57:[18, 51, 24], Operations: ['95-71=24']
Exploring Operation: 51-18=33, Resulting Numbers: [24, 33]
Generated Node #3: [24, 33] from Operation: 51-18=33
Current State: 57:[24, 33], Operations: ['95-71=24', '51-18=33']
Exploring Operation: 24+33=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[95, 71, 18, 51], Operations: []
Exploring Operation: 71-51=20, Resulting Numbers: [95, 18, 20]
Generated Node #0,0: 57:[95, 18, 20] Operation: 71-51=20
Exploring Operation: 95-71=24, Resulting Numbers: [18, 51, 24]
Generated Node #0,1: 57:[18, 51, 24] Operation: 95-71=24
Exploring Operation: 95-18=77, Resulting Numbers: [71, 51, 77]
Generated Node #0,2: 57:[71, 51, 77] Operation: 95-18=77
Exploring Operation: 95-51=44, Resulting Numbers: [71, 18, 44]
Generated Node #0,3: 57:[71, 18, 44] Operation: 95-51=44
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[18, 51, 24], Operations: ['95-71=24']
Exploring Operation: 18+51=69, Resulting Numbers: [24, 69]
Generated Node #0,1,0: 57:[24, 69] Operation: 18+51=69
Exploring Operation: 51-24=27, Resulting Numbers: [18, 27]
Generated Node #0,1,1: 57:[18, 27] Operation: 51-24=27
Exploring Operation: 24-18=6, Resulting Numbers: [51, 6]
Generated Node #0,1,2: 57:[51, 6] Operation: 24-18=6
Exploring Operation: 51-18=33, Resulting Numbers: [24, 33]
Generated Node #0,1,3: 57:[24, 33] Operation: 51-18=33
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 57:[18, 27], Operations: ['95-71=24', '51-24=27']
Exploring Operation: 27-18=9, Resulting Numbers: [9]
9,57 unequal: No Solution
Exploring Operation: 18*27=486, Resulting Numbers: [486]
486,57 unequal: No Solution
Exploring Operation: 18+27=45, Resulting Numbers: [45]
45,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,2
Current State: 57:[51, 6], Operations: ['95-71=24', '24-18=6']
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,57 unequal: No Solution
Exploring Operation: 51*6=306, Resulting Numbers: [306]
306,57 unequal: No Solution
Exploring Operation: 51+6=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[95, 71, 18, 51], Operations: []
Exploring Operation: 95-71=24, Resulting Numbers: [18, 51, 24]
Generated Node #0,1: 57:[18, 51, 24] Operation: 95-71=24
Moving to Node #0,1
Current State: 57:[18, 51, 24], Operations: ['95-71=24']
Exploring Operation: 24-18=6, Resulting Numbers: [51, 6]
Generated Node #0,1,2: 57:[51, 6] Operation: 24-18=6
Moving to Node #0,1,2
Current State: 57:[51, 6], Operations: ['95-71=24', '24-18=6']
Exploring Operation: 51+6=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
73,
87,
66,
70
] | 97 | [
"73-66=7",
"70/7=10",
"87+10=97"
] | Current State: 97:[73, 87, 66, 70], Operations: []
Exploring Operation: 73-66=7, Resulting Numbers: [87, 70, 7]
Generated Node #2: [87, 70, 7] from Operation: 73-66=7
Current State: 97:[87, 70, 7], Operations: ['73-66=7']
Exploring Operation: 70/7=10, Resulting Numbers: [87, 10]
Generated Node #3: [87, 10] from Operation: 70/7=10
Current State: 97:[87, 10], Operations: ['73-66=7', '70/7=10']
Exploring Operation: 87+10=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[73, 87, 66, 70], Operations: []
Exploring Operation: 66+70=136, Resulting Numbers: [73, 87, 136]
Generated Node #0,0: 97:[73, 87, 136] Operation: 66+70=136
Exploring Operation: 73+70=143, Resulting Numbers: [87, 66, 143]
Generated Node #0,1: 97:[87, 66, 143] Operation: 73+70=143
Exploring Operation: 87+66=153, Resulting Numbers: [73, 70, 153]
Generated Node #0,2: 97:[73, 70, 153] Operation: 87+66=153
Exploring Operation: 73+66=139, Resulting Numbers: [87, 70, 139]
Generated Node #0,3: 97:[87, 70, 139] Operation: 73+66=139
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[73, 87, 136], Operations: ['66+70=136']
Exploring Operation: 73+87=160, Resulting Numbers: [136, 160]
Generated Node #0,0,0: 97:[136, 160] Operation: 73+87=160
Exploring Operation: 87-73=14, Resulting Numbers: [136, 14]
Generated Node #0,0,1: 97:[136, 14] Operation: 87-73=14
Exploring Operation: 136-87=49, Resulting Numbers: [73, 49]
Generated Node #0,0,2: 97:[73, 49] Operation: 136-87=49
Exploring Operation: 136-73=63, Resulting Numbers: [87, 63]
Generated Node #0,0,3: 97:[87, 63] Operation: 136-73=63
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 97:[87, 63], Operations: ['66+70=136', '136-73=63']
Exploring Operation: 87+63=150, Resulting Numbers: [150]
150,97 unequal: No Solution
Exploring Operation: 87*63=5481, Resulting Numbers: [5481]
5481,97 unequal: No Solution
Exploring Operation: 87-63=24, Resulting Numbers: [24]
24,97 unequal: No Solution
No 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: 97:[73, 49], Operations: ['66+70=136', '136-87=49']
Exploring Operation: 73*49=3577, Resulting Numbers: [3577]
3577,97 unequal: No Solution
Exploring Operation: 73-49=24, Resulting Numbers: [24]
24,97 unequal: No Solution
Exploring Operation: 73+49=122, Resulting Numbers: [122]
122,97 unequal: No Solution
No 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: 97:[136, 160], Operations: ['66+70=136', '73+87=160']
Exploring Operation: 160-136=24, Resulting Numbers: [24]
24,97 unequal: No Solution
Exploring Operation: 136+160=296, Resulting Numbers: [296]
296,97 unequal: No Solution
Exploring Operation: 136*160=21760, Resulting Numbers: [21760]
21760,97 unequal: No Solution
No 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: 97:[136, 14], Operations: ['66+70=136', '87-73=14']
Exploring Operation: 136+14=150, Resulting Numbers: [150]
150,97 unequal: No Solution
Exploring Operation: 136-14=122, Resulting Numbers: [122]
122,97 unequal: No Solution
Exploring Operation: 136*14=1904, Resulting Numbers: [1904]
1904,97 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: 97:[87, 70, 139], Operations: ['73+66=139']
Exploring Operation: 139-70=69, Resulting Numbers: [87, 69]
Generated Node #0,3,0: 97:[87, 69] Operation: 139-70=69
Exploring Operation: 139-87=52, Resulting Numbers: [70, 52]
Generated Node #0,3,1: 97:[70, 52] Operation: 139-87=52
Exploring Operation: 87+70=157, Resulting Numbers: [139, 157]
Generated Node #0,3,2: 97:[139, 157] Operation: 87+70=157
Exploring Operation: 87-70=17, Resulting Numbers: [139, 17]
Generated Node #0,3,3: 97:[139, 17] Operation: 87-70=17
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 97:[87, 69], Operations: ['73+66=139', '139-70=69']
Exploring Operation: 87-69=18, Resulting Numbers: [18]
18,97 unequal: No Solution
Exploring Operation: 87*69=6003, Resulting Numbers: [6003]
6003,97 unequal: No Solution
Exploring Operation: 87+69=156, Resulting Numbers: [156]
156,97 unequal: No Solution
No 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: 97:[70, 52], Operations: ['73+66=139', '139-87=52']
Exploring Operation: 70-52=18, Resulting Numbers: [18]
18,97 unequal: No Solution
Exploring Operation: 70*52=3640, Resulting Numbers: [3640]
3640,97 unequal: No Solution
Exploring Operation: 70+52=122, Resulting Numbers: [122]
122,97 unequal: No Solution
No 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: 97:[139, 157], Operations: ['73+66=139', '87+70=157']
Exploring Operation: 157-139=18, Resulting Numbers: [18]
18,97 unequal: No Solution
Exploring Operation: 139+157=296, Resulting Numbers: [296]
296,97 unequal: No Solution
Exploring Operation: 139*157=21823, Resulting Numbers: [21823]
21823,97 unequal: No Solution
No 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: 97:[139, 17], Operations: ['73+66=139', '87-70=17']
Exploring Operation: 139-17=122, Resulting Numbers: [122]
122,97 unequal: No Solution
Exploring Operation: 139*17=2363, Resulting Numbers: [2363]
2363,97 unequal: No Solution
Exploring Operation: 139+17=156, Resulting Numbers: [156]
156,97 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: 97:[87, 66, 143], Operations: ['73+70=143']
Exploring Operation: 143-87=56, Resulting Numbers: [66, 56]
Generated Node #0,1,0: 97:[66, 56] Operation: 143-87=56
Exploring Operation: 143-66=77, Resulting Numbers: [87, 77]
Generated Node #0,1,1: 97:[87, 77] Operation: 143-66=77
Exploring Operation: 87+66=153, Resulting Numbers: [143, 153]
Generated Node #0,1,2: 97:[143, 153] Operation: 87+66=153
Exploring Operation: 87-66=21, Resulting Numbers: [143, 21]
Generated Node #0,1,3: 97:[143, 21] Operation: 87-66=21
Moving to Node #0,1,1
Current State: 97:[87, 77], Operations: ['73+70=143', '143-66=77']
Exploring Operation: 87-77=10, Resulting Numbers: [10]
10,97 unequal: No Solution
Exploring Operation: 87*77=6699, Resulting Numbers: [6699]
6699,97 unequal: No Solution
Exploring Operation: 87+77=164, Resulting Numbers: [164]
164,97 unequal: No Solution
Moving to Node #0,1,0
Current State: 97:[66, 56], Operations: ['73+70=143', '143-87=56']
Exploring Operation: 66*56=3696, Resulting Numbers: [3696]
3696,97 unequal: No Solution
Exploring Operation: 66+56=122, Resulting Numbers: [122]
122,97 unequal: No Solution
Exploring Operation: 66-56=10, Resulting Numbers: [10]
10,97 unequal: No Solution
Moving to Node #0,1,2
Current State: 97:[143, 153], Operations: ['73+70=143', '87+66=153']
Exploring Operation: 153-143=10, Resulting Numbers: [10]
10,97 unequal: No Solution
Exploring Operation: 143+153=296, Resulting Numbers: [296]
296,97 unequal: No Solution
Exploring Operation: 143*153=21879, Resulting Numbers: [21879]
21879,97 unequal: No Solution
Moving to Node #0,1,3
Current State: 97:[143, 21], Operations: ['73+70=143', '87-66=21']
Exploring Operation: 143+21=164, Resulting Numbers: [164]
164,97 unequal: No Solution
Exploring Operation: 143-21=122, Resulting Numbers: [122]
122,97 unequal: No Solution
Exploring Operation: 143*21=3003, Resulting Numbers: [3003]
3003,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,2
Current State: 97:[73, 70, 153], Operations: ['87+66=153']
Exploring Operation: 73-70=3, Resulting Numbers: [153, 3]
Generated Node #0,2,0: 97:[153, 3] Operation: 73-70=3
Exploring Operation: 153-70=83, Resulting Numbers: [73, 83]
Generated Node #0,2,1: 97:[73, 83] Operation: 153-70=83
Exploring Operation: 73+70=143, Resulting Numbers: [153, 143]
Generated Node #0,2,2: 97:[153, 143] Operation: 73+70=143
Exploring Operation: 153-73=80, Resulting Numbers: [70, 80]
Generated Node #0,2,3: 97:[70, 80] Operation: 153-73=80
Moving to Node #0,2,1
Current State: 97:[73, 83], Operations: ['87+66=153', '153-70=83']
Exploring Operation: 73+83=156, Resulting Numbers: [156]
156,97 unequal: No Solution
Exploring Operation: 83-73=10, Resulting Numbers: [10]
10,97 unequal: No Solution
Exploring Operation: 73*83=6059, Resulting Numbers: [6059]
6059,97 unequal: No Solution
Moving to Node #0,2,3
Current State: 97:[70, 80], Operations: ['87+66=153', '153-73=80']
Exploring Operation: 70*80=5600, Resulting Numbers: [5600]
5600,97 unequal: No Solution
Exploring Operation: 80-70=10, Resulting Numbers: [10]
10,97 unequal: No Solution
Exploring Operation: 70+80=150, Resulting Numbers: [150]
150,97 unequal: No Solution
Moving to Node #0,2,2
Current State: 97:[153, 143], Operations: ['87+66=153', '73+70=143']
Exploring Operation: 153*143=21879, Resulting Numbers: [21879]
21879,97 unequal: No Solution
Exploring Operation: 153-143=10, Resulting Numbers: [10]
10,97 unequal: No Solution
Exploring Operation: 153+143=296, Resulting Numbers: [296]
296,97 unequal: No Solution
Moving to Node #0,2,0
Current State: 97:[153, 3], Operations: ['87+66=153', '73-70=3']
Exploring Operation: 153*3=459, Resulting Numbers: [459]
459,97 unequal: No Solution
Exploring Operation: 153/3=51, Resulting Numbers: [51]
51,97 unequal: No Solution
Exploring Operation: 153-3=150, Resulting Numbers: [150]
150,97 unequal: No Solution
Exploring Operation: 153+3=156, Resulting Numbers: [156]
156,97 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 |
[
26,
2,
99,
20
] | 51 | [
"26+2=28",
"99-20=79",
"79-28=51"
] | Current State: 51:[26, 2, 99, 20], Operations: []
Exploring Operation: 26+2=28, Resulting Numbers: [99, 20, 28]
Generated Node #2: [99, 20, 28] from Operation: 26+2=28
Current State: 51:[99, 20, 28], Operations: ['26+2=28']
Exploring Operation: 99-20=79, Resulting Numbers: [28, 79]
Generated Node #3: [28, 79] from Operation: 99-20=79
Current State: 51:[28, 79], Operations: ['26+2=28', '99-20=79']
Exploring Operation: 79-28=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[26, 2, 99, 20], Operations: []
Exploring Operation: 99-26=73, Resulting Numbers: [2, 20, 73]
Generated Node #0,0: 51:[2, 20, 73] Operation: 99-26=73
Exploring Operation: 26-20=6, Resulting Numbers: [2, 99, 6]
Generated Node #0,1: 51:[2, 99, 6] Operation: 26-20=6
Exploring Operation: 26*2=52, Resulting Numbers: [99, 20, 52]
Generated Node #0,2: 51:[99, 20, 52] Operation: 26*2=52
Exploring Operation: 99-20=79, Resulting Numbers: [26, 2, 79]
Generated Node #0,3: 51:[26, 2, 79] Operation: 99-20=79
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[2, 20, 73], Operations: ['99-26=73']
Exploring Operation: 73-20=53, Resulting Numbers: [2, 53]
Generated Node #0,0,0: 51:[2, 53] Operation: 73-20=53
Exploring Operation: 73-2=71, Resulting Numbers: [20, 71]
Generated Node #0,0,1: 51:[20, 71] Operation: 73-2=71
Exploring Operation: 2+20=22, Resulting Numbers: [73, 22]
Generated Node #0,0,2: 51:[73, 22] Operation: 2+20=22
Exploring Operation: 20-2=18, Resulting Numbers: [73, 18]
Generated Node #0,0,3: 51:[73, 18] Operation: 20-2=18
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 51:[2, 53], Operations: ['99-26=73', '73-20=53']
Exploring Operation: 2*53=106, Resulting Numbers: [106]
106,51 unequal: No Solution
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[26, 2, 99, 20], Operations: []
Exploring Operation: 99-26=73, Resulting Numbers: [2, 20, 73]
Generated Node #0,0: 51:[2, 20, 73] Operation: 99-26=73
Moving to Node #0,0
Current State: 51:[2, 20, 73], Operations: ['99-26=73']
Exploring Operation: 73-20=53, Resulting Numbers: [2, 53]
Generated Node #0,0,0: 51:[2, 53] Operation: 73-20=53
Moving to Node #0,0,0
Current State: 51:[2, 53], Operations: ['99-26=73', '73-20=53']
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
57,
2,
20,
7
] | 69 | [
"20-2=18",
"7*18=126",
"126-57=69"
] | Current State: 69:[57, 2, 20, 7], Operations: []
Exploring Operation: 20-2=18, Resulting Numbers: [57, 7, 18]
Generated Node #2: [57, 7, 18] from Operation: 20-2=18
Current State: 69:[57, 7, 18], Operations: ['20-2=18']
Exploring Operation: 7*18=126, Resulting Numbers: [57, 126]
Generated Node #3: [57, 126] from Operation: 7*18=126
Current State: 69:[57, 126], Operations: ['20-2=18', '7*18=126']
Exploring Operation: 126-57=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[57, 2, 20, 7], Operations: []
Exploring Operation: 57+7=64, Resulting Numbers: [2, 20, 64]
Generated Node #0,0: 69:[2, 20, 64] Operation: 57+7=64
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[2, 20, 64], Operations: ['57+7=64']
Exploring Operation: 2+20=22, Resulting Numbers: [64, 22]
Generated Node #0,0,0: 69:[64, 22] Operation: 2+20=22
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 69:[64, 22], Operations: ['57+7=64', '2+20=22']
Exploring Operation: 64+22=86, Resulting Numbers: [86]
86,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
64,
48,
23,
41
] | 24 | [
"41-23=18",
"64*18=1152",
"1152/48=24"
] | Current State: 24:[64, 48, 23, 41], Operations: []
Exploring Operation: 41-23=18, Resulting Numbers: [64, 48, 18]
Generated Node #2: [64, 48, 18] from Operation: 41-23=18
Current State: 24:[64, 48, 18], Operations: ['41-23=18']
Exploring Operation: 64*18=1152, Resulting Numbers: [48, 1152]
Generated Node #3: [48, 1152] from Operation: 64*18=1152
Current State: 24:[48, 1152], Operations: ['41-23=18', '64*18=1152']
Exploring Operation: 1152/48=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[64, 48, 23, 41], Operations: []
Exploring Operation: 48-41=7, Resulting Numbers: [64, 23, 7]
Generated Node #0,0: 24:[64, 23, 7] Operation: 48-41=7
Exploring Operation: 64-23=41, Resulting Numbers: [48, 41, 41]
Generated Node #0,1: 24:[48, 41, 41] Operation: 64-23=41
Exploring Operation: 64-48=16, Resulting Numbers: [23, 41, 16]
Generated Node #0,2: 24:[23, 41, 16] Operation: 64-48=16
Exploring Operation: 64-41=23, Resulting Numbers: [48, 23, 23]
Generated Node #0,3: 24:[48, 23, 23] Operation: 64-41=23
Moving to Node #0,2
Current State: 24:[23, 41, 16], Operations: ['64-48=16']
Exploring Operation: 41-23=18, Resulting Numbers: [16, 18]
Generated Node #0,2,0: 24:[16, 18] Operation: 41-23=18
Exploring Operation: 41-16=25, Resulting Numbers: [23, 25]
Generated Node #0,2,1: 24:[23, 25] Operation: 41-16=25
Exploring Operation: 23-16=7, Resulting Numbers: [41, 7]
Generated Node #0,2,2: 24:[41, 7] Operation: 23-16=7
Exploring Operation: 23+16=39, Resulting Numbers: [41, 39]
Generated Node #0,2,3: 24:[41, 39] Operation: 23+16=39
Moving to Node #0,3
Current State: 24:[48, 23, 23], Operations: ['64-41=23']
Exploring Operation: 48-23=25, Resulting Numbers: [23, 25]
Generated Node #0,3,0: 24:[23, 25] Operation: 48-23=25
Exploring Operation: 23/23=1, Resulting Numbers: [48, 1]
Generated Node #0,3,1: 24:[48, 1] Operation: 23/23=1
Exploring Operation: 48-23=25, Resulting Numbers: [23, 25]
Generated Node #0,3,2: 24:[23, 25] Operation: 48-23=25
Exploring Operation: 23-23=0, Resulting Numbers: [48, 0]
Generated Node #0,3,3: 24:[48, 0] Operation: 23-23=0
Moving to Node #0,0
Current State: 24:[64, 23, 7], Operations: ['48-41=7']
Exploring Operation: 64-7=57, Resulting Numbers: [23, 57]
Generated Node #0,0,0: 24:[23, 57] Operation: 64-7=57
Exploring Operation: 64-23=41, Resulting Numbers: [7, 41]
Generated Node #0,0,1: 24:[7, 41] Operation: 64-23=41
Exploring Operation: 23-7=16, Resulting Numbers: [64, 16]
Generated Node #0,0,2: 24:[64, 16] Operation: 23-7=16
Exploring Operation: 23+7=30, Resulting Numbers: [64, 30]
Generated Node #0,0,3: 24:[64, 30] Operation: 23+7=30
Moving to Node #0,1
Current State: 24:[48, 41, 41], Operations: ['64-23=41']
Exploring Operation: 48-41=7, Resulting Numbers: [41, 7]
Generated Node #0,1,0: 24:[41, 7] Operation: 48-41=7
Exploring Operation: 41-41=0, Resulting Numbers: [48, 0]
Generated Node #0,1,1: 24:[48, 0] Operation: 41-41=0
Exploring Operation: 41/41=1, Resulting Numbers: [48, 1]
Generated Node #0,1,2: 24:[48, 1] Operation: 41/41=1
Exploring Operation: 48-41=7, Resulting Numbers: [41, 7]
Generated Node #0,1,3: 24:[41, 7] Operation: 48-41=7
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 24:[41, 7], Operations: ['64-23=41', '48-41=7']
Exploring Operation: 41*7=287, Resulting Numbers: [287]
287,24 unequal: No Solution
Exploring Operation: 41-7=34, Resulting Numbers: [34]
34,24 unequal: No Solution
Exploring Operation: 41+7=48, Resulting Numbers: [48]
48,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:[41, 7], Operations: ['64-23=41', '48-41=7']
Exploring Operation: 41*7=287, Resulting Numbers: [287]
287,24 unequal: No Solution
Exploring Operation: 41+7=48, Resulting Numbers: [48]
48,24 unequal: No Solution
Exploring Operation: 41-7=34, Resulting Numbers: [34]
34,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:[48, 1], Operations: ['64-23=41', '41/41=1']
Exploring Operation: 48/1=48, Resulting Numbers: [48]
48,24 unequal: No Solution
Exploring Operation: 48+1=49, Resulting Numbers: [49]
49,24 unequal: No Solution
Exploring Operation: 48-1=47, Resulting Numbers: [47]
47,24 unequal: No Solution
Exploring Operation: 48*1=48, Resulting Numbers: [48]
48,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,1
Current State: 24:[48, 0], Operations: ['64-23=41', '41-41=0']
Exploring Operation: 48*0=0, Resulting Numbers: [0]
0,24 unequal: No Solution
Exploring Operation: 48+0=48, Resulting Numbers: [48]
48,24 unequal: No Solution
Exploring Operation: 48-0=48, Resulting Numbers: [48]
48,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 24:[23, 25], Operations: ['64-48=16', '41-16=25']
Exploring Operation: 25-23=2, Resulting Numbers: [2]
2,24 unequal: No Solution
Exploring Operation: 23+25=48, Resulting Numbers: [48]
48,24 unequal: No Solution
Exploring Operation: 23*25=575, Resulting Numbers: [575]
575,24 unequal: No Solution
Moving to Node #0,3,2
Current State: 24:[23, 25], Operations: ['64-41=23', '48-23=25']
Exploring Operation: 23*25=575, Resulting Numbers: [575]
575,24 unequal: No Solution
Exploring Operation: 25-23=2, Resulting Numbers: [2]
2,24 unequal: No Solution
Exploring Operation: 23+25=48, Resulting Numbers: [48]
48,24 unequal: No Solution
Moving to Node #0,3,0
Current State: 24:[23, 25], Operations: ['64-41=23', '48-23=25']
Exploring Operation: 23+25=48, Resulting Numbers: [48]
48,24 unequal: No Solution
Exploring Operation: 25-23=2, Resulting Numbers: [2]
2,24 unequal: No Solution
Exploring Operation: 23*25=575, Resulting Numbers: [575]
575,24 unequal: No Solution
Moving to Node #0,2,0
Current State: 24:[16, 18], Operations: ['64-48=16', '41-23=18']
Exploring Operation: 16+18=34, Resulting Numbers: [34]
34,24 unequal: No Solution
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,24 unequal: No Solution
Exploring Operation: 16*18=288, Resulting Numbers: [288]
288,24 unequal: No Solution
Moving to Node #0,2,2
Current State: 24:[41, 7], Operations: ['64-48=16', '23-16=7']
Exploring Operation: 41+7=48, Resulting Numbers: [48]
48,24 unequal: No Solution
Exploring Operation: 41-7=34, Resulting Numbers: [34]
34,24 unequal: No Solution
Exploring Operation: 41*7=287, Resulting Numbers: [287]
287,24 unequal: No Solution
Moving to Node #0,0,1
Current State: 24:[7, 41], Operations: ['48-41=7', '64-23=41']
Exploring Operation: 41-7=34, Resulting Numbers: [34]
34,24 unequal: No Solution
Exploring Operation: 7+41=48, Resulting Numbers: [48]
48,24 unequal: No Solution
Exploring Operation: 7*41=287, Resulting Numbers: [287]
287,24 unequal: No Solution
Moving to Node #0,3,1
Current State: 24:[48, 1], Operations: ['64-41=23', '23/23=1']
Exploring Operation: 48-1=47, Resulting Numbers: [47]
47,24 unequal: No Solution
Exploring Operation: 48*1=48, Resulting Numbers: [48]
48,24 unequal: No Solution
Exploring Operation: 48/1=48, Resulting Numbers: [48]
48,24 unequal: No Solution
Exploring Operation: 48+1=49, Resulting Numbers: [49]
49,24 unequal: No Solution
Moving to Node #0,3,3
Current State: 24:[48, 0], Operations: ['64-41=23', '23-23=0']
Exploring Operation: 48*0=0, Resulting Numbers: [0]
0,24 unequal: No Solution
Exploring Operation: 48+0=48, Resulting Numbers: [48]
48,24 unequal: No Solution
Exploring Operation: 48-0=48, Resulting Numbers: [48]
48,24 unequal: No Solution
Moving to Node #0,2,3
Current State: 24:[41, 39], Operations: ['64-48=16', '23+16=39']
Exploring Operation: 41+39=80, Resulting Numbers: [80]
80,24 unequal: No Solution
Exploring Operation: 41*39=1599, Resulting Numbers: [1599]
1599,24 unequal: No Solution
Exploring Operation: 41-39=2, Resulting Numbers: [2]
2,24 unequal: No Solution
Moving to Node #0,0,0
Current State: 24:[23, 57], Operations: ['48-41=7', '64-7=57']
Exploring Operation: 23+57=80, Resulting Numbers: [80]
80,24 unequal: No Solution
Exploring Operation: 57-23=34, Resulting Numbers: [34]
34,24 unequal: No Solution
Exploring Operation: 23*57=1311, Resulting Numbers: [1311]
1311,24 unequal: No Solution
Moving to Node #0,0,2
Current State: 24:[64, 16], Operations: ['48-41=7', '23-7=16']
Exploring Operation: 64/16=4, Resulting Numbers: [4]
4,24 unequal: No Solution
Exploring Operation: 64-16=48, Resulting Numbers: [48]
48,24 unequal: No Solution
Exploring Operation: 64*16=1024, Resulting Numbers: [1024]
1024,24 unequal: No Solution
Exploring Operation: 64+16=80, Resulting Numbers: [80]
80,24 unequal: No Solution
Moving to Node #0,0,3
Current State: 24:[64, 30], Operations: ['48-41=7', '23+7=30']
Exploring Operation: 64+30=94, Resulting Numbers: [94]
94,24 unequal: No Solution
Exploring Operation: 64*30=1920, Resulting Numbers: [1920]
1920,24 unequal: No Solution
Exploring Operation: 64-30=34, Resulting Numbers: [34]
34,24 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
60,
35,
91,
2
] | 64 | [
"60-35=25",
"91-2=89",
"89-25=64"
] | Current State: 64:[60, 35, 91, 2], Operations: []
Exploring Operation: 60-35=25, Resulting Numbers: [91, 2, 25]
Generated Node #2: [91, 2, 25] from Operation: 60-35=25
Current State: 64:[91, 2, 25], Operations: ['60-35=25']
Exploring Operation: 91-2=89, Resulting Numbers: [25, 89]
Generated Node #3: [25, 89] from Operation: 91-2=89
Current State: 64:[25, 89], Operations: ['60-35=25', '91-2=89']
Exploring Operation: 89-25=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[60, 35, 91, 2], Operations: []
Exploring Operation: 91-60=31, Resulting Numbers: [35, 2, 31]
Generated Node #0,0: 64:[35, 2, 31] Operation: 91-60=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[35, 2, 31], Operations: ['91-60=31']
Exploring Operation: 35-31=4, Resulting Numbers: [2, 4]
Generated Node #0,0,0: 64:[2, 4] Operation: 35-31=4
Moving to Node #0,0,0
Current State: 64:[2, 4], Operations: ['91-60=31', '35-31=4']
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,64 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 |
[
72,
27,
3,
56
] | 69 | [
"72+27=99",
"3*56=168",
"168-99=69"
] | Current State: 69:[72, 27, 3, 56], Operations: []
Exploring Operation: 72+27=99, Resulting Numbers: [3, 56, 99]
Generated Node #2: [3, 56, 99] from Operation: 72+27=99
Current State: 69:[3, 56, 99], Operations: ['72+27=99']
Exploring Operation: 3*56=168, Resulting Numbers: [99, 168]
Generated Node #3: [99, 168] from Operation: 3*56=168
Current State: 69:[99, 168], Operations: ['72+27=99', '3*56=168']
Exploring Operation: 168-99=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[72, 27, 3, 56], Operations: []
Exploring Operation: 72-56=16, Resulting Numbers: [27, 3, 16]
Generated Node #0,0: 69:[27, 3, 16] Operation: 72-56=16
Exploring Operation: 72-3=69, Resulting Numbers: [27, 56, 69]
Generated Node #0,1: 69:[27, 56, 69] Operation: 72-3=69
Exploring Operation: 56-27=29, Resulting Numbers: [72, 3, 29]
Generated Node #0,2: 69:[72, 3, 29] Operation: 56-27=29
Moving to Node #0,2
Current State: 69:[72, 3, 29], Operations: ['56-27=29']
Exploring Operation: 72/3=24, Resulting Numbers: [29, 24]
Generated Node #0,2,0: 69:[29, 24] Operation: 72/3=24
Exploring Operation: 29-3=26, Resulting Numbers: [72, 26]
Generated Node #0,2,1: 69:[72, 26] Operation: 29-3=26
Exploring Operation: 72-3=69, Resulting Numbers: [29, 69]
Generated Node #0,2,2: 69:[29, 69] Operation: 72-3=69
Moving to Node #0,0
Current State: 69:[27, 3, 16], Operations: ['72-56=16']
Exploring Operation: 27-3=24, Resulting Numbers: [16, 24]
Generated Node #0,0,0: 69:[16, 24] Operation: 27-3=24
Exploring Operation: 27-16=11, Resulting Numbers: [3, 11]
Generated Node #0,0,1: 69:[3, 11] Operation: 27-16=11
Exploring Operation: 3+16=19, Resulting Numbers: [27, 19]
Generated Node #0,0,2: 69:[27, 19] Operation: 3+16=19
Moving to Node #0,1
Current State: 69:[27, 56, 69], Operations: ['72-3=69']
Exploring Operation: 56-27=29, Resulting Numbers: [69, 29]
Generated Node #0,1,0: 69:[69, 29] Operation: 56-27=29
Exploring Operation: 27+56=83, Resulting Numbers: [69, 83]
Generated Node #0,1,1: 69:[69, 83] Operation: 27+56=83
Exploring Operation: 69-56=13, Resulting Numbers: [27, 13]
Generated Node #0,1,2: 69:[27, 13] Operation: 69-56=13
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 69:[69, 29], Operations: ['72-3=69', '56-27=29']
Exploring Operation: 69+29=98, Resulting Numbers: [98]
98,69 unequal: No Solution
Exploring Operation: 69-29=40, Resulting Numbers: [40]
40,69 unequal: No Solution
Exploring Operation: 69*29=2001, Resulting Numbers: [2001]
2001,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 69:[69, 83], Operations: ['72-3=69', '27+56=83']
Exploring Operation: 69*83=5727, Resulting Numbers: [5727]
5727,69 unequal: No Solution
Exploring Operation: 83-69=14, Resulting Numbers: [14]
14,69 unequal: No Solution
Exploring Operation: 69+83=152, Resulting Numbers: [152]
152,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 69:[27, 13], Operations: ['72-3=69', '69-56=13']
Exploring Operation: 27-13=14, Resulting Numbers: [14]
14,69 unequal: No Solution
Exploring Operation: 27*13=351, Resulting Numbers: [351]
351,69 unequal: No Solution
Exploring Operation: 27+13=40, Resulting Numbers: [40]
40,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 69:[72, 26], Operations: ['56-27=29', '29-3=26']
Exploring Operation: 72+26=98, Resulting Numbers: [98]
98,69 unequal: No Solution
Exploring Operation: 72*26=1872, Resulting Numbers: [1872]
1872,69 unequal: No Solution
Exploring Operation: 72-26=46, Resulting Numbers: [46]
46,69 unequal: No Solution
Moving to Node #0,2,2
Current State: 69:[29, 69], Operations: ['56-27=29', '72-3=69']
Exploring Operation: 69-29=40, Resulting Numbers: [40]
40,69 unequal: No Solution
Exploring Operation: 29*69=2001, Resulting Numbers: [2001]
2001,69 unequal: No Solution
Exploring Operation: 29+69=98, Resulting Numbers: [98]
98,69 unequal: No Solution
Moving to Node #0,2,0
Current State: 69:[29, 24], Operations: ['56-27=29', '72/3=24']
Exploring Operation: 29+24=53, Resulting Numbers: [53]
53,69 unequal: No Solution
Exploring Operation: 29-24=5, Resulting Numbers: [5]
5,69 unequal: No Solution
Exploring Operation: 29*24=696, Resulting Numbers: [696]
696,69 unequal: No Solution
Moving to Node #0,0,2
Current State: 69:[27, 19], Operations: ['72-56=16', '3+16=19']
Exploring Operation: 27*19=513, Resulting Numbers: [513]
513,69 unequal: No Solution
Exploring Operation: 27-19=8, Resulting Numbers: [8]
8,69 unequal: No Solution
Exploring Operation: 27+19=46, Resulting Numbers: [46]
46,69 unequal: No Solution
Moving to Node #0,0,1
Current State: 69:[3, 11], Operations: ['72-56=16', '27-16=11']
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,69 unequal: No Solution
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,69 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,69 unequal: No Solution
Moving to Node #0,0,0
Current State: 69:[16, 24], Operations: ['72-56=16', '27-3=24']
Exploring Operation: 16+24=40, Resulting Numbers: [40]
40,69 unequal: No Solution
Exploring Operation: 24-16=8, Resulting Numbers: [8]
8,69 unequal: No Solution
Exploring Operation: 16*24=384, Resulting Numbers: [384]
384,69 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
42,
22,
21,
60
] | 59 | [
"42-22=20",
"60-21=39",
"20+39=59"
] | Current State: 59:[42, 22, 21, 60], Operations: []
Exploring Operation: 42-22=20, Resulting Numbers: [21, 60, 20]
Generated Node #2: [21, 60, 20] from Operation: 42-22=20
Current State: 59:[21, 60, 20], Operations: ['42-22=20']
Exploring Operation: 60-21=39, Resulting Numbers: [20, 39]
Generated Node #3: [20, 39] from Operation: 60-21=39
Current State: 59:[20, 39], Operations: ['42-22=20', '60-21=39']
Exploring Operation: 20+39=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[42, 22, 21, 60], Operations: []
Exploring Operation: 42+21=63, Resulting Numbers: [22, 60, 63]
Generated Node #0,0: 59:[22, 60, 63] Operation: 42+21=63
Exploring Operation: 22+21=43, Resulting Numbers: [42, 60, 43]
Generated Node #0,1: 59:[42, 60, 43] Operation: 22+21=43
Moving to Node #0,1
Current State: 59:[42, 60, 43], Operations: ['22+21=43']
Exploring Operation: 42+43=85, Resulting Numbers: [60, 85]
Generated Node #0,1,0: 59:[60, 85] Operation: 42+43=85
Exploring Operation: 60-42=18, Resulting Numbers: [43, 18]
Generated Node #0,1,1: 59:[43, 18] Operation: 60-42=18
Moving to Node #0,0
Current State: 59:[22, 60, 63], Operations: ['42+21=63']
Exploring Operation: 60-22=38, Resulting Numbers: [63, 38]
Generated Node #0,0,0: 59:[63, 38] Operation: 60-22=38
Exploring Operation: 63-22=41, Resulting Numbers: [60, 41]
Generated Node #0,0,1: 59:[60, 41] Operation: 63-22=41
Moving to Node #0,0,1
Current State: 59:[60, 41], Operations: ['42+21=63', '63-22=41']
Exploring Operation: 60-41=19, Resulting Numbers: [19]
19,59 unequal: No Solution
Exploring Operation: 60+41=101, Resulting Numbers: [101]
101,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[63, 38], Operations: ['42+21=63', '60-22=38']
Exploring Operation: 63-38=25, Resulting Numbers: [25]
25,59 unequal: No Solution
Exploring Operation: 63+38=101, Resulting Numbers: [101]
101,59 unequal: No Solution
Moving to Node #0,1,0
Current State: 59:[60, 85], Operations: ['22+21=43', '42+43=85']
Exploring Operation: 85-60=25, Resulting Numbers: [25]
25,59 unequal: No Solution
Exploring Operation: 60+85=145, Resulting Numbers: [145]
145,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[43, 18], Operations: ['22+21=43', '60-42=18']
Exploring Operation: 43+18=61, Resulting Numbers: [61]
61,59 unequal: No Solution
Exploring Operation: 43-18=25, Resulting Numbers: [25]
25,59 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
31,
32,
34,
15
] | 61 | [
"34-32=2",
"15*2=30",
"31+30=61"
] | Current State: 61:[31, 32, 34, 15], Operations: []
Exploring Operation: 34-32=2, Resulting Numbers: [31, 15, 2]
Generated Node #2: [31, 15, 2] from Operation: 34-32=2
Current State: 61:[31, 15, 2], Operations: ['34-32=2']
Exploring Operation: 15*2=30, Resulting Numbers: [31, 30]
Generated Node #3: [31, 30] from Operation: 15*2=30
Current State: 61:[31, 30], Operations: ['34-32=2', '15*2=30']
Exploring Operation: 31+30=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[31, 32, 34, 15], Operations: []
Exploring Operation: 34+15=49, Resulting Numbers: [31, 32, 49]
Generated Node #0,0: 61:[31, 32, 49] Operation: 34+15=49
Exploring Operation: 32+15=47, Resulting Numbers: [31, 34, 47]
Generated Node #0,1: 61:[31, 34, 47] Operation: 32+15=47
Exploring Operation: 31+15=46, Resulting Numbers: [32, 34, 46]
Generated Node #0,2: 61:[32, 34, 46] Operation: 31+15=46
Exploring Operation: 31+32=63, Resulting Numbers: [34, 15, 63]
Generated Node #0,3: 61:[34, 15, 63] Operation: 31+32=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[31, 32, 49], Operations: ['34+15=49']
Exploring Operation: 32-31=1, Resulting Numbers: [49, 1]
Generated Node #0,0,0: 61:[49, 1] Operation: 32-31=1
Exploring Operation: 31+32=63, Resulting Numbers: [49, 63]
Generated Node #0,0,1: 61:[49, 63] Operation: 31+32=63
Exploring Operation: 32+49=81, Resulting Numbers: [31, 81]
Generated Node #0,0,2: 61:[31, 81] Operation: 32+49=81
Exploring Operation: 31+49=80, Resulting Numbers: [32, 80]
Generated Node #0,0,3: 61:[32, 80] Operation: 31+49=80
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 61:[49, 63], Operations: ['34+15=49', '31+32=63']
Exploring Operation: 49*63=3087, Resulting Numbers: [3087]
3087,61 unequal: No Solution
Exploring Operation: 63-49=14, Resulting Numbers: [14]
14,61 unequal: No Solution
Exploring Operation: 49+63=112, Resulting Numbers: [112]
112,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 61:[32, 80], Operations: ['34+15=49', '31+49=80']
Exploring Operation: 32*80=2560, Resulting Numbers: [2560]
2560,61 unequal: No Solution
Exploring Operation: 80-32=48, Resulting Numbers: [48]
48,61 unequal: No Solution
Exploring Operation: 32+80=112, Resulting Numbers: [112]
112,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 61:[31, 81], Operations: ['34+15=49', '32+49=81']
Exploring Operation: 31*81=2511, Resulting Numbers: [2511]
2511,61 unequal: No Solution
Exploring Operation: 31+81=112, Resulting Numbers: [112]
112,61 unequal: No Solution
Exploring Operation: 81-31=50, Resulting Numbers: [50]
50,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 61:[49, 1], Operations: ['34+15=49', '32-31=1']
Exploring Operation: 49+1=50, Resulting Numbers: [50]
50,61 unequal: No Solution
Exploring Operation: 49*1=49, Resulting Numbers: [49]
49,61 unequal: No Solution
Exploring Operation: 49/1=49, Resulting Numbers: [49]
49,61 unequal: No Solution
Exploring Operation: 49-1=48, Resulting Numbers: [48]
48,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[31, 34, 47], Operations: ['32+15=47']
Exploring Operation: 31+34=65, Resulting Numbers: [47, 65]
Generated Node #0,1,0: 61:[47, 65] Operation: 31+34=65
Exploring Operation: 34+47=81, Resulting Numbers: [31, 81]
Generated Node #0,1,1: 61:[31, 81] Operation: 34+47=81
Exploring Operation: 31+47=78, Resulting Numbers: [34, 78]
Generated Node #0,1,2: 61:[34, 78] Operation: 31+47=78
Exploring Operation: 34-31=3, Resulting Numbers: [47, 3]
Generated Node #0,1,3: 61:[47, 3] Operation: 34-31=3
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 61:[47, 65], Operations: ['32+15=47', '31+34=65']
Exploring Operation: 47*65=3055, Resulting Numbers: [3055]
3055,61 unequal: No Solution
Exploring Operation: 65-47=18, Resulting Numbers: [18]
18,61 unequal: No Solution
Exploring Operation: 47+65=112, Resulting Numbers: [112]
112,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 61:[34, 78], Operations: ['32+15=47', '31+47=78']
Exploring Operation: 34*78=2652, Resulting Numbers: [2652]
2652,61 unequal: No Solution
Exploring Operation: 34+78=112, Resulting Numbers: [112]
112,61 unequal: No Solution
Exploring Operation: 78-34=44, Resulting Numbers: [44]
44,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 61:[31, 81], Operations: ['32+15=47', '34+47=81']
Exploring Operation: 81-31=50, Resulting Numbers: [50]
50,61 unequal: No Solution
Exploring Operation: 31*81=2511, Resulting Numbers: [2511]
2511,61 unequal: No Solution
Exploring Operation: 31+81=112, Resulting Numbers: [112]
112,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 61:[47, 3], Operations: ['32+15=47', '34-31=3']
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,61 unequal: No Solution
Exploring Operation: 47+3=50, Resulting Numbers: [50]
50,61 unequal: No Solution
Exploring Operation: 47*3=141, Resulting Numbers: [141]
141,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 61:[32, 34, 46], Operations: ['31+15=46']
Exploring Operation: 34-32=2, Resulting Numbers: [46, 2]
Generated Node #0,2,0: 61:[46, 2] Operation: 34-32=2
Exploring Operation: 34+46=80, Resulting Numbers: [32, 80]
Generated Node #0,2,1: 61:[32, 80] Operation: 34+46=80
Exploring Operation: 32+46=78, Resulting Numbers: [34, 78]
Generated Node #0,2,2: 61:[34, 78] Operation: 32+46=78
Exploring Operation: 32+34=66, Resulting Numbers: [46, 66]
Generated Node #0,2,3: 61:[46, 66] Operation: 32+34=66
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 61:[46, 66], Operations: ['31+15=46', '32+34=66']
Exploring Operation: 46+66=112, Resulting Numbers: [112]
112,61 unequal: No Solution
Exploring Operation: 66-46=20, Resulting Numbers: [20]
20,61 unequal: No Solution
Exploring Operation: 46*66=3036, Resulting Numbers: [3036]
3036,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 61:[34, 78], Operations: ['31+15=46', '32+46=78']
Exploring Operation: 34+78=112, Resulting Numbers: [112]
112,61 unequal: No Solution
Exploring Operation: 78-34=44, Resulting Numbers: [44]
44,61 unequal: No Solution
Exploring Operation: 34*78=2652, Resulting Numbers: [2652]
2652,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 61:[32, 80], Operations: ['31+15=46', '34+46=80']
Exploring Operation: 32*80=2560, Resulting Numbers: [2560]
2560,61 unequal: No Solution
Exploring Operation: 32+80=112, Resulting Numbers: [112]
112,61 unequal: No Solution
Exploring Operation: 80-32=48, Resulting Numbers: [48]
48,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 61:[46, 2], Operations: ['31+15=46', '34-32=2']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,61 unequal: No Solution
Exploring Operation: 46+2=48, Resulting Numbers: [48]
48,61 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,61 unequal: No Solution
Exploring Operation: 46*2=92, Resulting Numbers: [92]
92,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 61:[34, 15, 63], Operations: ['31+32=63']
Exploring Operation: 63-15=48, Resulting Numbers: [34, 48]
Generated Node #0,3,0: 61:[34, 48] Operation: 63-15=48
Exploring Operation: 15+63=78, Resulting Numbers: [34, 78]
Generated Node #0,3,1: 61:[34, 78] Operation: 15+63=78
Exploring Operation: 34-15=19, Resulting Numbers: [63, 19]
Generated Node #0,3,2: 61:[63, 19] Operation: 34-15=19
Exploring Operation: 34+15=49, Resulting Numbers: [63, 49]
Generated Node #0,3,3: 61:[63, 49] Operation: 34+15=49
Moving to Node #0,3,3
Current State: 61:[63, 49], Operations: ['31+32=63', '34+15=49']
Exploring Operation: 63+49=112, Resulting Numbers: [112]
112,61 unequal: No Solution
Exploring Operation: 63-49=14, Resulting Numbers: [14]
14,61 unequal: No Solution
Exploring Operation: 63*49=3087, Resulting Numbers: [3087]
3087,61 unequal: No Solution
Moving to Node #0,3,0
Current State: 61:[34, 48], Operations: ['31+32=63', '63-15=48']
Exploring Operation: 48-34=14, Resulting Numbers: [14]
14,61 unequal: No Solution
Exploring Operation: 34+48=82, Resulting Numbers: [82]
82,61 unequal: No Solution
Exploring Operation: 34*48=1632, Resulting Numbers: [1632]
1632,61 unequal: No Solution
Moving to Node #0,3,2
Current State: 61:[63, 19], Operations: ['31+32=63', '34-15=19']
Exploring Operation: 63*19=1197, Resulting Numbers: [1197]
1197,61 unequal: No Solution
Exploring Operation: 63-19=44, Resulting Numbers: [44]
44,61 unequal: No Solution
Exploring Operation: 63+19=82, Resulting Numbers: [82]
82,61 unequal: No Solution
Moving to Node #0,3,1
Current State: 61:[34, 78], Operations: ['31+32=63', '15+63=78']
Exploring Operation: 34+78=112, Resulting Numbers: [112]
112,61 unequal: No Solution
Exploring Operation: 78-34=44, Resulting Numbers: [44]
44,61 unequal: No Solution
Exploring Operation: 34*78=2652, Resulting Numbers: [2652]
2652,61 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 |
[
62,
31,
67,
54
] | 28 | [
"62+31=93",
"67+54=121",
"121-93=28"
] | Current State: 28:[62, 31, 67, 54], Operations: []
Exploring Operation: 62+31=93, Resulting Numbers: [67, 54, 93]
Generated Node #2: [67, 54, 93] from Operation: 62+31=93
Current State: 28:[67, 54, 93], Operations: ['62+31=93']
Exploring Operation: 67+54=121, Resulting Numbers: [93, 121]
Generated Node #3: [93, 121] from Operation: 67+54=121
Current State: 28:[93, 121], Operations: ['62+31=93', '67+54=121']
Exploring Operation: 121-93=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[62, 31, 67, 54], Operations: []
Exploring Operation: 67-54=13, Resulting Numbers: [62, 31, 13]
Generated Node #0,0: 28:[62, 31, 13] Operation: 67-54=13
Exploring Operation: 62-54=8, Resulting Numbers: [31, 67, 8]
Generated Node #0,1: 28:[31, 67, 8] Operation: 62-54=8
Exploring Operation: 67-62=5, Resulting Numbers: [31, 54, 5]
Generated Node #0,2: 28:[31, 54, 5] Operation: 67-62=5
Moving to Node #0,2
Current State: 28:[31, 54, 5], Operations: ['67-62=5']
Exploring Operation: 54-5=49, Resulting Numbers: [31, 49]
Generated Node #0,2,0: 28:[31, 49] Operation: 54-5=49
Exploring Operation: 31-5=26, Resulting Numbers: [54, 26]
Generated Node #0,2,1: 28:[54, 26] Operation: 31-5=26
Exploring Operation: 54-31=23, Resulting Numbers: [5, 23]
Generated Node #0,2,2: 28:[5, 23] Operation: 54-31=23
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 28:[5, 23], Operations: ['67-62=5', '54-31=23']
Exploring Operation: 5+23=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[62, 31, 67, 54], Operations: []
Exploring Operation: 67-62=5, Resulting Numbers: [31, 54, 5]
Generated Node #0,2: 28:[31, 54, 5] Operation: 67-62=5
Moving to Node #0,2
Current State: 28:[31, 54, 5], Operations: ['67-62=5']
Exploring Operation: 54-31=23, Resulting Numbers: [5, 23]
Generated Node #0,2,2: 28:[5, 23] Operation: 54-31=23
Moving to Node #0,2,2
Current State: 28:[5, 23], Operations: ['67-62=5', '54-31=23']
Exploring Operation: 5+23=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
10,
3,
24,
45
] | 27 | [
"45-10=35",
"24/3=8",
"35-8=27"
] | Current State: 27:[10, 3, 24, 45], Operations: []
Exploring Operation: 45-10=35, Resulting Numbers: [3, 24, 35]
Generated Node #2: [3, 24, 35] from Operation: 45-10=35
Current State: 27:[3, 24, 35], Operations: ['45-10=35']
Exploring Operation: 24/3=8, Resulting Numbers: [35, 8]
Generated Node #3: [35, 8] from Operation: 24/3=8
Current State: 27:[35, 8], Operations: ['45-10=35', '24/3=8']
Exploring Operation: 35-8=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[10, 3, 24, 45], Operations: []
Exploring Operation: 45-10=35, Resulting Numbers: [3, 24, 35]
Generated Node #0,0: 27:[3, 24, 35] Operation: 45-10=35
Exploring Operation: 45-24=21, Resulting Numbers: [10, 3, 21]
Generated Node #0,1: 27:[10, 3, 21] Operation: 45-24=21
Exploring Operation: 45/3=15, Resulting Numbers: [10, 24, 15]
Generated Node #0,2: 27:[10, 24, 15] Operation: 45/3=15
Moving to Node #0,1
Current State: 27:[10, 3, 21], Operations: ['45-24=21']
Exploring Operation: 21-10=11, Resulting Numbers: [3, 11]
Generated Node #0,1,0: 27:[3, 11] Operation: 21-10=11
Exploring Operation: 10+21=31, Resulting Numbers: [3, 31]
Generated Node #0,1,1: 27:[3, 31] Operation: 10+21=31
Exploring Operation: 21/3=7, Resulting Numbers: [10, 7]
Generated Node #0,1,2: 27:[10, 7] Operation: 21/3=7
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 27:[3, 11], Operations: ['45-24=21', '21-10=11']
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,27 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,27 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 27:[10, 7], Operations: ['45-24=21', '21/3=7']
Exploring Operation: 10+7=17, Resulting Numbers: [17]
17,27 unequal: No Solution
Exploring Operation: 10*7=70, Resulting Numbers: [70]
70,27 unequal: No Solution
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 27:[3, 31], Operations: ['45-24=21', '10+21=31']
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,27 unequal: No Solution
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,27 unequal: No Solution
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,27 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: 27:[10, 24, 15], Operations: ['45/3=15']
Exploring Operation: 24-15=9, Resulting Numbers: [10, 9]
Generated Node #0,2,0: 27:[10, 9] Operation: 24-15=9
Exploring Operation: 10+15=25, Resulting Numbers: [24, 25]
Generated Node #0,2,1: 27:[24, 25] Operation: 10+15=25
Exploring Operation: 15-10=5, Resulting Numbers: [24, 5]
Generated Node #0,2,2: 27:[24, 5] Operation: 15-10=5
Moving to Node #0,0
Current State: 27:[3, 24, 35], Operations: ['45-10=35']
Exploring Operation: 35-24=11, Resulting Numbers: [3, 11]
Generated Node #0,0,0: 27:[3, 11] Operation: 35-24=11
Exploring Operation: 3+24=27, Resulting Numbers: [35, 27]
Generated Node #0,0,1: 27:[35, 27] Operation: 3+24=27
Exploring Operation: 35-3=32, Resulting Numbers: [24, 32]
Generated Node #0,0,2: 27:[24, 32] Operation: 35-3=32
Moving to Node #0,2,0
Current State: 27:[10, 9], Operations: ['45/3=15', '24-15=9']
Exploring Operation: 10*9=90, Resulting Numbers: [90]
90,27 unequal: No Solution
Exploring Operation: 10+9=19, Resulting Numbers: [19]
19,27 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,27 unequal: No Solution
Moving to Node #0,0,0
Current State: 27:[3, 11], Operations: ['45-10=35', '35-24=11']
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,27 unequal: No Solution
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,27 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,27 unequal: No Solution
Moving to Node #0,2,2
Current State: 27:[24, 5], Operations: ['45/3=15', '15-10=5']
Exploring Operation: 24*5=120, Resulting Numbers: [120]
120,27 unequal: No Solution
Exploring Operation: 24+5=29, Resulting Numbers: [29]
29,27 unequal: No Solution
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,27 unequal: No Solution
Moving to Node #0,2,1
Current State: 27:[24, 25], Operations: ['45/3=15', '10+15=25']
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,27 unequal: No Solution
Exploring Operation: 24+25=49, Resulting Numbers: [49]
49,27 unequal: No Solution
Exploring Operation: 24*25=600, Resulting Numbers: [600]
600,27 unequal: No Solution
Moving to Node #0,0,2
Current State: 27:[24, 32], Operations: ['45-10=35', '35-3=32']
Exploring Operation: 24*32=768, Resulting Numbers: [768]
768,27 unequal: No Solution
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,27 unequal: No Solution
Exploring Operation: 24+32=56, Resulting Numbers: [56]
56,27 unequal: No Solution
Moving to Node #0,0,1
Current State: 27:[35, 27], Operations: ['45-10=35', '3+24=27']
Exploring Operation: 35+27=62, Resulting Numbers: [62]
62,27 unequal: No Solution
Exploring Operation: 35-27=8, Resulting Numbers: [8]
8,27 unequal: No Solution
Exploring Operation: 35*27=945, Resulting Numbers: [945]
945,27 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
52,
93,
22,
18
] | 37 | [
"93-52=41",
"22-18=4",
"41-4=37"
] | Current State: 37:[52, 93, 22, 18], Operations: []
Exploring Operation: 93-52=41, Resulting Numbers: [22, 18, 41]
Generated Node #2: [22, 18, 41] from Operation: 93-52=41
Current State: 37:[22, 18, 41], Operations: ['93-52=41']
Exploring Operation: 22-18=4, Resulting Numbers: [41, 4]
Generated Node #3: [41, 4] from Operation: 22-18=4
Current State: 37:[41, 4], Operations: ['93-52=41', '22-18=4']
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[52, 93, 22, 18], Operations: []
Exploring Operation: 93-52=41, Resulting Numbers: [22, 18, 41]
Generated Node #0,0: 37:[22, 18, 41] Operation: 93-52=41
Exploring Operation: 93-22=71, Resulting Numbers: [52, 18, 71]
Generated Node #0,1: 37:[52, 18, 71] Operation: 93-22=71
Moving to Node #0,0
Current State: 37:[22, 18, 41], Operations: ['93-52=41']
Exploring Operation: 22+18=40, Resulting Numbers: [41, 40]
Generated Node #0,0,0: 37:[41, 40] Operation: 22+18=40
Exploring Operation: 41-18=23, Resulting Numbers: [22, 23]
Generated Node #0,0,1: 37:[22, 23] Operation: 41-18=23
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 37:[41, 40], Operations: ['93-52=41', '22+18=40']
Exploring Operation: 41-40=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Exploring Operation: 41+40=81, Resulting Numbers: [81]
81,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 37:[22, 23], Operations: ['93-52=41', '41-18=23']
Exploring Operation: 22+23=45, Resulting Numbers: [45]
45,37 unequal: No Solution
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 37:[52, 18, 71], Operations: ['93-22=71']
Exploring Operation: 71-18=53, Resulting Numbers: [52, 53]
Generated Node #0,1,0: 37:[52, 53] Operation: 71-18=53
Exploring Operation: 52-18=34, Resulting Numbers: [71, 34]
Generated Node #0,1,1: 37:[71, 34] Operation: 52-18=34
Moving to Node #0,1,0
Current State: 37:[52, 53], Operations: ['93-22=71', '71-18=53']
Exploring Operation: 52+53=105, Resulting Numbers: [105]
105,37 unequal: No Solution
Exploring Operation: 53-52=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[71, 34], Operations: ['93-22=71', '52-18=34']
Exploring Operation: 71+34=105, Resulting Numbers: [105]
105,37 unequal: No Solution
Exploring Operation: 71-34=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[52, 93, 22, 18], Operations: []
Exploring Operation: 93-22=71, Resulting Numbers: [52, 18, 71]
Generated Node #0,1: 37:[52, 18, 71] Operation: 93-22=71
Moving to Node #0,1
Current State: 37:[52, 18, 71], Operations: ['93-22=71']
Exploring Operation: 52-18=34, Resulting Numbers: [71, 34]
Generated Node #0,1,1: 37:[71, 34] Operation: 52-18=34
Moving to Node #0,1,1
Current State: 37:[71, 34], Operations: ['93-22=71', '52-18=34']
Exploring Operation: 71-34=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 0.984375 | hs_2 | mult_heuristic |
[
45,
72,
11,
4
] | 12 | [
"72-45=27",
"11+4=15",
"27-15=12"
] | Current State: 12:[45, 72, 11, 4], Operations: []
Exploring Operation: 72-45=27, Resulting Numbers: [11, 4, 27]
Generated Node #2: [11, 4, 27] from Operation: 72-45=27
Current State: 12:[11, 4, 27], Operations: ['72-45=27']
Exploring Operation: 11+4=15, Resulting Numbers: [27, 15]
Generated Node #3: [27, 15] from Operation: 11+4=15
Current State: 12:[27, 15], Operations: ['72-45=27', '11+4=15']
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[45, 72, 11, 4], Operations: []
Exploring Operation: 72-45=27, Resulting Numbers: [11, 4, 27]
Generated Node #0,0: 12:[11, 4, 27] Operation: 72-45=27
Exploring Operation: 72/4=18, Resulting Numbers: [45, 11, 18]
Generated Node #0,1: 12:[45, 11, 18] Operation: 72/4=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[11, 4, 27], Operations: ['72-45=27']
Exploring Operation: 27-4=23, Resulting Numbers: [11, 23]
Generated Node #0,0,0: 12:[11, 23] Operation: 27-4=23
Exploring Operation: 27-11=16, Resulting Numbers: [4, 16]
Generated Node #0,0,1: 12:[4, 16] Operation: 27-11=16
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 12:[4, 16], Operations: ['72-45=27', '27-11=16']
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[45, 72, 11, 4], Operations: []
Exploring Operation: 72-45=27, Resulting Numbers: [11, 4, 27]
Generated Node #0,0: 12:[11, 4, 27] Operation: 72-45=27
Moving to Node #0,0
Current State: 12:[11, 4, 27], Operations: ['72-45=27']
Exploring Operation: 27-11=16, Resulting Numbers: [4, 16]
Generated Node #0,0,1: 12:[4, 16] Operation: 27-11=16
Moving to Node #0,0,1
Current State: 12:[4, 16], Operations: ['72-45=27', '27-11=16']
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
46,
4,
91,
73
] | 68 | [
"46+4=50",
"91-73=18",
"50+18=68"
] | Current State: 68:[46, 4, 91, 73], Operations: []
Exploring Operation: 46+4=50, Resulting Numbers: [91, 73, 50]
Generated Node #2: [91, 73, 50] from Operation: 46+4=50
Current State: 68:[91, 73, 50], Operations: ['46+4=50']
Exploring Operation: 91-73=18, Resulting Numbers: [50, 18]
Generated Node #3: [50, 18] from Operation: 91-73=18
Current State: 68:[50, 18], Operations: ['46+4=50', '91-73=18']
Exploring Operation: 50+18=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[46, 4, 91, 73], Operations: []
Exploring Operation: 91-73=18, Resulting Numbers: [46, 4, 18]
Generated Node #0,0: 68:[46, 4, 18] Operation: 91-73=18
Exploring Operation: 46-4=42, Resulting Numbers: [91, 73, 42]
Generated Node #0,1: 68:[91, 73, 42] Operation: 46-4=42
Exploring Operation: 73-46=27, Resulting Numbers: [4, 91, 27]
Generated Node #0,2: 68:[4, 91, 27] Operation: 73-46=27
Exploring Operation: 91-46=45, Resulting Numbers: [4, 73, 45]
Generated Node #0,3: 68:[4, 73, 45] Operation: 91-46=45
Moving to Node #0,0
Current State: 68:[46, 4, 18], Operations: ['91-73=18']
Exploring Operation: 46-4=42, Resulting Numbers: [18, 42]
Generated Node #0,0,0: 68:[18, 42] Operation: 46-4=42
Exploring Operation: 46-18=28, Resulting Numbers: [4, 28]
Generated Node #0,0,1: 68:[4, 28] Operation: 46-18=28
Exploring Operation: 46+18=64, Resulting Numbers: [4, 64]
Generated Node #0,0,2: 68:[4, 64] Operation: 46+18=64
Exploring Operation: 18-4=14, Resulting Numbers: [46, 14]
Generated Node #0,0,3: 68:[46, 14] Operation: 18-4=14
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 68:[4, 64], Operations: ['91-73=18', '46+18=64']
Exploring Operation: 4*64=256, Resulting Numbers: [256]
256,68 unequal: No Solution
Exploring Operation: 4+64=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[46, 4, 91, 73], Operations: []
Exploring Operation: 91-73=18, Resulting Numbers: [46, 4, 18]
Generated Node #0,0: 68:[46, 4, 18] Operation: 91-73=18
Moving to Node #0,0
Current State: 68:[46, 4, 18], Operations: ['91-73=18']
Exploring Operation: 46+18=64, Resulting Numbers: [4, 64]
Generated Node #0,0,2: 68:[4, 64] Operation: 46+18=64
Moving to Node #0,0,2
Current State: 68:[4, 64], Operations: ['91-73=18', '46+18=64']
Exploring Operation: 4+64=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
95,
19,
47,
80
] | 43 | [
"95-19=76",
"80-47=33",
"76-33=43"
] | Current State: 43:[95, 19, 47, 80], Operations: []
Exploring Operation: 95-19=76, Resulting Numbers: [47, 80, 76]
Generated Node #2: [47, 80, 76] from Operation: 95-19=76
Current State: 43:[47, 80, 76], Operations: ['95-19=76']
Exploring Operation: 80-47=33, Resulting Numbers: [76, 33]
Generated Node #3: [76, 33] from Operation: 80-47=33
Current State: 43:[76, 33], Operations: ['95-19=76', '80-47=33']
Exploring Operation: 76-33=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[95, 19, 47, 80], Operations: []
Exploring Operation: 95-80=15, Resulting Numbers: [19, 47, 15]
Generated Node #0,0: 43:[19, 47, 15] Operation: 95-80=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[19, 47, 15], Operations: ['95-80=15']
Exploring Operation: 19+15=34, Resulting Numbers: [47, 34]
Generated Node #0,0,0: 43:[47, 34] Operation: 19+15=34
Moving to Node #0,0,0
Current State: 43:[47, 34], Operations: ['95-80=15', '19+15=34']
Exploring Operation: 47-34=13, Resulting Numbers: [13]
13,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 |
[
42,
42,
55,
94
] | 40 | [
"42/42=1",
"94-55=39",
"1+39=40"
] | Current State: 40:[42, 42, 55, 94], Operations: []
Exploring Operation: 42/42=1, Resulting Numbers: [55, 94, 1]
Generated Node #2: [55, 94, 1] from Operation: 42/42=1
Current State: 40:[55, 94, 1], Operations: ['42/42=1']
Exploring Operation: 94-55=39, Resulting Numbers: [1, 39]
Generated Node #3: [1, 39] from Operation: 94-55=39
Current State: 40:[1, 39], Operations: ['42/42=1', '94-55=39']
Exploring Operation: 1+39=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[42, 42, 55, 94], Operations: []
Exploring Operation: 94-55=39, Resulting Numbers: [42, 42, 39]
Generated Node #0,0: 40:[42, 42, 39] Operation: 94-55=39
Moving to Node #0,0
Current State: 40:[42, 42, 39], Operations: ['94-55=39']
Exploring Operation: 42/42=1, Resulting Numbers: [39, 1]
Generated Node #0,0,0: 40:[39, 1] Operation: 42/42=1
Moving to Node #0,0,0
Current State: 40:[39, 1], Operations: ['94-55=39', '42/42=1']
Exploring Operation: 39+1=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[42, 42, 55, 94], Operations: []
Exploring Operation: 94-55=39, Resulting Numbers: [42, 42, 39]
Generated Node #0,0: 40:[42, 42, 39] Operation: 94-55=39
Moving to Node #0,0
Current State: 40:[42, 42, 39], Operations: ['94-55=39']
Exploring Operation: 42/42=1, Resulting Numbers: [39, 1]
Generated Node #0,0,0: 40:[39, 1] Operation: 42/42=1
Moving to Node #0,0,0
Current State: 40:[39, 1], Operations: ['94-55=39', '42/42=1']
Exploring Operation: 39+1=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
62,
16,
88,
73
] | 93 | [
"62+16=78",
"88-73=15",
"78+15=93"
] | Current State: 93:[62, 16, 88, 73], Operations: []
Exploring Operation: 62+16=78, Resulting Numbers: [88, 73, 78]
Generated Node #2: [88, 73, 78] from Operation: 62+16=78
Current State: 93:[88, 73, 78], Operations: ['62+16=78']
Exploring Operation: 88-73=15, Resulting Numbers: [78, 15]
Generated Node #3: [78, 15] from Operation: 88-73=15
Current State: 93:[78, 15], Operations: ['62+16=78', '88-73=15']
Exploring Operation: 78+15=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[62, 16, 88, 73], Operations: []
Exploring Operation: 62+16=78, Resulting Numbers: [88, 73, 78]
Generated Node #0,0: 93:[88, 73, 78] Operation: 62+16=78
Exploring Operation: 62-16=46, Resulting Numbers: [88, 73, 46]
Generated Node #0,1: 93:[88, 73, 46] Operation: 62-16=46
Exploring Operation: 88-62=26, Resulting Numbers: [16, 73, 26]
Generated Node #0,2: 93:[16, 73, 26] Operation: 88-62=26
Exploring Operation: 16+73=89, Resulting Numbers: [62, 88, 89]
Generated Node #0,3: 93:[62, 88, 89] Operation: 16+73=89
Exploring Operation: 73-62=11, Resulting Numbers: [16, 88, 11]
Generated Node #0,4: 93:[16, 88, 11] Operation: 73-62=11
Moving to Node #0,4
Current State: 93:[16, 88, 11], Operations: ['73-62=11']
Exploring Operation: 16+11=27, Resulting Numbers: [88, 27]
Generated Node #0,4,0: 93:[88, 27] Operation: 16+11=27
Exploring Operation: 16+88=104, Resulting Numbers: [11, 104]
Generated Node #0,4,1: 93:[11, 104] Operation: 16+88=104
Exploring Operation: 88/11=8, Resulting Numbers: [16, 8]
Generated Node #0,4,2: 93:[16, 8] Operation: 88/11=8
Exploring Operation: 16-11=5, Resulting Numbers: [88, 5]
Generated Node #0,4,3: 93:[88, 5] Operation: 16-11=5
Exploring Operation: 88+11=99, Resulting Numbers: [16, 99]
Generated Node #0,4,4: 93:[16, 99] Operation: 88+11=99
Moving to Node #0,2
Current State: 93:[16, 73, 26], Operations: ['88-62=26']
Exploring Operation: 26-16=10, Resulting Numbers: [73, 10]
Generated Node #0,2,0: 93:[73, 10] Operation: 26-16=10
Exploring Operation: 73-26=47, Resulting Numbers: [16, 47]
Generated Node #0,2,1: 93:[16, 47] Operation: 73-26=47
Exploring Operation: 16+73=89, Resulting Numbers: [26, 89]
Generated Node #0,2,2: 93:[26, 89] Operation: 16+73=89
Exploring Operation: 73+26=99, Resulting Numbers: [16, 99]
Generated Node #0,2,3: 93:[16, 99] Operation: 73+26=99
Exploring Operation: 73-16=57, Resulting Numbers: [26, 57]
Generated Node #0,2,4: 93:[26, 57] Operation: 73-16=57
Moving to Node #0,0
Current State: 93:[88, 73, 78], Operations: ['62+16=78']
Exploring Operation: 88-78=10, Resulting Numbers: [73, 10]
Generated Node #0,0,0: 93:[73, 10] Operation: 88-78=10
Exploring Operation: 88+73=161, Resulting Numbers: [78, 161]
Generated Node #0,0,1: 93:[78, 161] Operation: 88+73=161
Exploring Operation: 73+78=151, Resulting Numbers: [88, 151]
Generated Node #0,0,2: 93:[88, 151] Operation: 73+78=151
Exploring Operation: 88-73=15, Resulting Numbers: [78, 15]
Generated Node #0,0,3: 93:[78, 15] Operation: 88-73=15
Exploring Operation: 78-73=5, Resulting Numbers: [88, 5]
Generated Node #0,0,4: 93:[88, 5] Operation: 78-73=5
Moving to Node #0,1
Current State: 93:[88, 73, 46], Operations: ['62-16=46']
Exploring Operation: 88-73=15, Resulting Numbers: [46, 15]
Generated Node #0,1,0: 93:[46, 15] Operation: 88-73=15
Exploring Operation: 73-46=27, Resulting Numbers: [88, 27]
Generated Node #0,1,1: 93:[88, 27] Operation: 73-46=27
Exploring Operation: 88-46=42, Resulting Numbers: [73, 42]
Generated Node #0,1,2: 93:[73, 42] Operation: 88-46=42
Exploring Operation: 73+46=119, Resulting Numbers: [88, 119]
Generated Node #0,1,3: 93:[88, 119] Operation: 73+46=119
Exploring Operation: 88+46=134, Resulting Numbers: [73, 134]
Generated Node #0,1,4: 93:[73, 134] Operation: 88+46=134
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 93:[88, 27], Operations: ['62-16=46', '73-46=27']
Exploring Operation: 88+27=115, Resulting Numbers: [115]
115,93 unequal: No Solution
Exploring Operation: 88-27=61, Resulting Numbers: [61]
61,93 unequal: No Solution
Exploring Operation: 88*27=2376, Resulting Numbers: [2376]
2376,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 93:[46, 15], Operations: ['62-16=46', '88-73=15']
Exploring Operation: 46+15=61, Resulting Numbers: [61]
61,93 unequal: No Solution
Exploring Operation: 46*15=690, Resulting Numbers: [690]
690,93 unequal: No Solution
Exploring Operation: 46-15=31, Resulting Numbers: [31]
31,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 93:[73, 42], Operations: ['62-16=46', '88-46=42']
Exploring Operation: 73-42=31, Resulting Numbers: [31]
31,93 unequal: No Solution
Exploring Operation: 73*42=3066, Resulting Numbers: [3066]
3066,93 unequal: No Solution
Exploring Operation: 73+42=115, Resulting Numbers: [115]
115,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 93:[88, 119], Operations: ['62-16=46', '73+46=119']
Exploring Operation: 88*119=10472, Resulting Numbers: [10472]
10472,93 unequal: No Solution
Exploring Operation: 88+119=207, Resulting Numbers: [207]
207,93 unequal: No Solution
Exploring Operation: 119-88=31, Resulting Numbers: [31]
31,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 93:[73, 134], Operations: ['62-16=46', '88+46=134']
Exploring Operation: 73+134=207, Resulting Numbers: [207]
207,93 unequal: No Solution
Exploring Operation: 134-73=61, Resulting Numbers: [61]
61,93 unequal: No Solution
Exploring Operation: 73*134=9782, Resulting Numbers: [9782]
9782,93 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: 93:[62, 88, 89], Operations: ['16+73=89']
Exploring Operation: 88-62=26, Resulting Numbers: [89, 26]
Generated Node #0,3,0: 93:[89, 26] Operation: 88-62=26
Exploring Operation: 89-88=1, Resulting Numbers: [62, 1]
Generated Node #0,3,1: 93:[62, 1] Operation: 89-88=1
Exploring Operation: 62+88=150, Resulting Numbers: [89, 150]
Generated Node #0,3,2: 93:[89, 150] Operation: 62+88=150
Exploring Operation: 89-62=27, Resulting Numbers: [88, 27]
Generated Node #0,3,3: 93:[88, 27] Operation: 89-62=27
Exploring Operation: 62+89=151, Resulting Numbers: [88, 151]
Generated Node #0,3,4: 93:[88, 151] Operation: 62+89=151
Moving to Node #0,4,3
Current State: 93:[88, 5], Operations: ['73-62=11', '16-11=5']
Exploring Operation: 88-5=83, Resulting Numbers: [83]
83,93 unequal: No Solution
Exploring Operation: 88+5=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[62, 16, 88, 73], Operations: []
Exploring Operation: 73-62=11, Resulting Numbers: [16, 88, 11]
Generated Node #0,4: 93:[16, 88, 11] Operation: 73-62=11
Moving to Node #0,4
Current State: 93:[16, 88, 11], Operations: ['73-62=11']
Exploring Operation: 16-11=5, Resulting Numbers: [88, 5]
Generated Node #0,4,3: 93:[88, 5] Operation: 16-11=5
Moving to Node #0,4,3
Current State: 93:[88, 5], Operations: ['73-62=11', '16-11=5']
Exploring Operation: 88+5=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 0.955729 | hs_5 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.