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 |
|---|---|---|---|---|---|---|---|---|
[
66,
99,
52,
3
] | 75 | [
"99*52=5148",
"5148/66=78",
"78-3=75"
] | Current State: 75:[66, 99, 52, 3], Operations: []
Exploring Operation: 99*52=5148, Resulting Numbers: [66, 3, 5148]
Generated Node #2: [66, 3, 5148] from Operation: 99*52=5148
Current State: 75:[66, 3, 5148], Operations: ['99*52=5148']
Exploring Operation: 5148/66=78, Resulting Numbers: [3, 78]
Generated Node #3: [3, 78] from Operation: 5148/66=78
Current State: 75:[3, 78], Operations: ['99*52=5148', '5148/66=78']
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[66, 99, 52, 3], Operations: []
Exploring Operation: 99-52=47, Resulting Numbers: [66, 3, 47]
Generated Node #0,0: 75:[66, 3, 47] Operation: 99-52=47
Exploring Operation: 66-52=14, Resulting Numbers: [99, 3, 14]
Generated Node #0,1: 75:[99, 3, 14] Operation: 66-52=14
Exploring Operation: 99-66=33, Resulting Numbers: [52, 3, 33]
Generated Node #0,2: 75:[52, 3, 33] Operation: 99-66=33
Moving to Node #0,1
Current State: 75:[99, 3, 14], Operations: ['66-52=14']
Exploring Operation: 99-3=96, Resulting Numbers: [14, 96]
Generated Node #0,1,0: 75:[14, 96] Operation: 99-3=96
Exploring Operation: 99-14=85, Resulting Numbers: [3, 85]
Generated Node #0,1,1: 75:[3, 85] Operation: 99-14=85
Exploring Operation: 99/3=33, Resulting Numbers: [14, 33]
Generated Node #0,1,2: 75:[14, 33] Operation: 99/3=33
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 75:[14, 33], Operations: ['66-52=14', '99/3=33']
Exploring Operation: 14*33=462, Resulting Numbers: [462]
462,75 unequal: No Solution
Exploring Operation: 14+33=47, Resulting Numbers: [47]
47,75 unequal: No Solution
Exploring Operation: 33-14=19, Resulting Numbers: [19]
19,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 75:[3, 85], Operations: ['66-52=14', '99-14=85']
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,75 unequal: No Solution
Exploring Operation: 3+85=88, Resulting Numbers: [88]
88,75 unequal: No Solution
Exploring Operation: 3*85=255, Resulting Numbers: [255]
255,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 75:[14, 96], Operations: ['66-52=14', '99-3=96']
Exploring Operation: 96-14=82, Resulting Numbers: [82]
82,75 unequal: No Solution
Exploring Operation: 14*96=1344, Resulting Numbers: [1344]
1344,75 unequal: No Solution
Exploring Operation: 14+96=110, Resulting Numbers: [110]
110,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 75:[66, 3, 47], Operations: ['99-52=47']
Exploring Operation: 66-47=19, Resulting Numbers: [3, 19]
Generated Node #0,0,0: 75:[3, 19] Operation: 66-47=19
Exploring Operation: 66/3=22, Resulting Numbers: [47, 22]
Generated Node #0,0,1: 75:[47, 22] Operation: 66/3=22
Exploring Operation: 66+3=69, Resulting Numbers: [47, 69]
Generated Node #0,0,2: 75:[47, 69] Operation: 66+3=69
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 75:[3, 19], Operations: ['99-52=47', '66-47=19']
Exploring Operation: 3*19=57, Resulting Numbers: [57]
57,75 unequal: No Solution
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,75 unequal: No Solution
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,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:[47, 22], Operations: ['99-52=47', '66/3=22']
Exploring Operation: 47-22=25, Resulting Numbers: [25]
25,75 unequal: No Solution
Exploring Operation: 47*22=1034, Resulting Numbers: [1034]
1034,75 unequal: No Solution
Exploring Operation: 47+22=69, Resulting Numbers: [69]
69,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:[47, 69], Operations: ['99-52=47', '66+3=69']
Exploring Operation: 69-47=22, Resulting Numbers: [22]
22,75 unequal: No Solution
Exploring Operation: 47*69=3243, Resulting Numbers: [3243]
3243,75 unequal: No Solution
Exploring Operation: 47+69=116, Resulting Numbers: [116]
116,75 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: 75:[52, 3, 33], Operations: ['99-66=33']
Exploring Operation: 52+33=85, Resulting Numbers: [3, 85]
Generated Node #0,2,0: 75:[3, 85] Operation: 52+33=85
Exploring Operation: 33/3=11, Resulting Numbers: [52, 11]
Generated Node #0,2,1: 75:[52, 11] Operation: 33/3=11
Exploring Operation: 52-33=19, Resulting Numbers: [3, 19]
Generated Node #0,2,2: 75:[3, 19] Operation: 52-33=19
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 75:[3, 19], Operations: ['99-66=33', '52-33=19']
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,75 unequal: No Solution
Exploring Operation: 3*19=57, Resulting Numbers: [57]
57,75 unequal: No Solution
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,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:[3, 85], Operations: ['99-66=33', '52+33=85']
Exploring Operation: 3*85=255, Resulting Numbers: [255]
255,75 unequal: No Solution
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,75 unequal: No Solution
Exploring Operation: 3+85=88, Resulting Numbers: [88]
88,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:[52, 11], Operations: ['99-66=33', '33/3=11']
Exploring Operation: 52*11=572, Resulting Numbers: [572]
572,75 unequal: No Solution
Exploring Operation: 52+11=63, Resulting Numbers: [63]
63,75 unequal: No Solution
Exploring Operation: 52-11=41, Resulting Numbers: [41]
41,75 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 |
[
36,
50,
58,
2
] | 88 | [
"50-36=14",
"58-14=44",
"2*44=88"
] | Current State: 88:[36, 50, 58, 2], Operations: []
Exploring Operation: 50-36=14, Resulting Numbers: [58, 2, 14]
Generated Node #2: [58, 2, 14] from Operation: 50-36=14
Current State: 88:[58, 2, 14], Operations: ['50-36=14']
Exploring Operation: 58-14=44, Resulting Numbers: [2, 44]
Generated Node #3: [2, 44] from Operation: 58-14=44
Current State: 88:[2, 44], Operations: ['50-36=14', '58-14=44']
Exploring Operation: 2*44=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[36, 50, 58, 2], Operations: []
Exploring Operation: 58-36=22, Resulting Numbers: [50, 2, 22]
Generated Node #0,0: 88:[50, 2, 22] Operation: 58-36=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[50, 2, 22], Operations: ['58-36=22']
Exploring Operation: 50/2=25, Resulting Numbers: [22, 25]
Generated Node #0,0,0: 88:[22, 25] Operation: 50/2=25
Moving to Node #0,0,0
Current State: 88:[22, 25], Operations: ['58-36=22', '50/2=25']
Exploring Operation: 25-22=3, Resulting Numbers: [3]
3,88 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 |
[
9,
6,
76,
93
] | 99 | [
"6+76=82",
"93-82=11",
"9*11=99"
] | Current State: 99:[9, 6, 76, 93], Operations: []
Exploring Operation: 6+76=82, Resulting Numbers: [9, 93, 82]
Generated Node #2: [9, 93, 82] from Operation: 6+76=82
Current State: 99:[9, 93, 82], Operations: ['6+76=82']
Exploring Operation: 93-82=11, Resulting Numbers: [9, 11]
Generated Node #3: [9, 11] from Operation: 93-82=11
Current State: 99:[9, 11], Operations: ['6+76=82', '93-82=11']
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[9, 6, 76, 93], Operations: []
Exploring Operation: 9+76=85, Resulting Numbers: [6, 93, 85]
Generated Node #0,0: 99:[6, 93, 85] Operation: 9+76=85
Exploring Operation: 93-76=17, Resulting Numbers: [9, 6, 17]
Generated Node #0,1: 99:[9, 6, 17] Operation: 93-76=17
Moving to Node #0,1
Current State: 99:[9, 6, 17], Operations: ['93-76=17']
Exploring Operation: 17-6=11, Resulting Numbers: [9, 11]
Generated Node #0,1,0: 99:[9, 11] Operation: 17-6=11
Exploring Operation: 6*17=102, Resulting Numbers: [9, 102]
Generated Node #0,1,1: 99:[9, 102] Operation: 6*17=102
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 99:[9, 11], Operations: ['93-76=17', '17-6=11']
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,99 unequal: No Solution
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[9, 6, 76, 93], Operations: []
Exploring Operation: 93-76=17, Resulting Numbers: [9, 6, 17]
Generated Node #0,1: 99:[9, 6, 17] Operation: 93-76=17
Moving to Node #0,1
Current State: 99:[9, 6, 17], Operations: ['93-76=17']
Exploring Operation: 17-6=11, Resulting Numbers: [9, 11]
Generated Node #0,1,0: 99:[9, 11] Operation: 17-6=11
Moving to Node #0,1,0
Current State: 99:[9, 11], Operations: ['93-76=17', '17-6=11']
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
24,
74,
27,
76
] | 15 | [
"76-74=2",
"24/2=12",
"27-12=15"
] | Current State: 15:[24, 74, 27, 76], Operations: []
Exploring Operation: 76-74=2, Resulting Numbers: [24, 27, 2]
Generated Node #2: [24, 27, 2] from Operation: 76-74=2
Current State: 15:[24, 27, 2], Operations: ['76-74=2']
Exploring Operation: 24/2=12, Resulting Numbers: [27, 12]
Generated Node #3: [27, 12] from Operation: 24/2=12
Current State: 15:[27, 12], Operations: ['76-74=2', '24/2=12']
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[24, 74, 27, 76], Operations: []
Exploring Operation: 76-74=2, Resulting Numbers: [24, 27, 2]
Generated Node #0,0: 15:[24, 27, 2] Operation: 76-74=2
Moving to Node #0,0
Current State: 15:[24, 27, 2], Operations: ['76-74=2']
Exploring Operation: 27-24=3, Resulting Numbers: [2, 3]
Generated Node #0,0,0: 15:[2, 3] Operation: 27-24=3
Moving to Node #0,0,0
Current State: 15:[2, 3], Operations: ['76-74=2', '27-24=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,15 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
27,
4,
39,
9
] | 61 | [
"27+4=31",
"39-9=30",
"31+30=61"
] | Current State: 61:[27, 4, 39, 9], Operations: []
Exploring Operation: 27+4=31, Resulting Numbers: [39, 9, 31]
Generated Node #2: [39, 9, 31] from Operation: 27+4=31
Current State: 61:[39, 9, 31], Operations: ['27+4=31']
Exploring Operation: 39-9=30, Resulting Numbers: [31, 30]
Generated Node #3: [31, 30] from Operation: 39-9=30
Current State: 61:[31, 30], Operations: ['27+4=31', '39-9=30']
Exploring Operation: 31+30=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[27, 4, 39, 9], Operations: []
Exploring Operation: 4*9=36, Resulting Numbers: [27, 39, 36]
Generated Node #0,0: 61:[27, 39, 36] Operation: 4*9=36
Exploring Operation: 27+4=31, Resulting Numbers: [39, 9, 31]
Generated Node #0,1: 61:[39, 9, 31] Operation: 27+4=31
Exploring Operation: 27+9=36, Resulting Numbers: [4, 39, 36]
Generated Node #0,2: 61:[4, 39, 36] Operation: 27+9=36
Exploring Operation: 4+39=43, Resulting Numbers: [27, 9, 43]
Generated Node #0,3: 61:[27, 9, 43] Operation: 4+39=43
Moving to Node #0,0
Current State: 61:[27, 39, 36], Operations: ['4*9=36']
Exploring Operation: 27+36=63, Resulting Numbers: [39, 63]
Generated Node #0,0,0: 61:[39, 63] Operation: 27+36=63
Exploring Operation: 39+36=75, Resulting Numbers: [27, 75]
Generated Node #0,0,1: 61:[27, 75] Operation: 39+36=75
Exploring Operation: 39-27=12, Resulting Numbers: [36, 12]
Generated Node #0,0,2: 61:[36, 12] Operation: 39-27=12
Exploring Operation: 27+39=66, Resulting Numbers: [36, 66]
Generated Node #0,0,3: 61:[36, 66] Operation: 27+39=66
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[39, 63], Operations: ['4*9=36', '27+36=63']
Exploring Operation: 39*63=2457, Resulting Numbers: [2457]
2457,61 unequal: No Solution
Exploring Operation: 39+63=102, Resulting Numbers: [102]
102,61 unequal: No Solution
Exploring Operation: 63-39=24, Resulting Numbers: [24]
24,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 61:[36, 66], Operations: ['4*9=36', '27+39=66']
Exploring Operation: 36*66=2376, Resulting Numbers: [2376]
2376,61 unequal: No Solution
Exploring Operation: 66-36=30, Resulting Numbers: [30]
30,61 unequal: No Solution
Exploring Operation: 36+66=102, Resulting Numbers: [102]
102,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 61:[27, 75], Operations: ['4*9=36', '39+36=75']
Exploring Operation: 75-27=48, Resulting Numbers: [48]
48,61 unequal: No Solution
Exploring Operation: 27+75=102, Resulting Numbers: [102]
102,61 unequal: No Solution
Exploring Operation: 27*75=2025, Resulting Numbers: [2025]
2025,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 61:[36, 12], Operations: ['4*9=36', '39-27=12']
Exploring Operation: 36-12=24, Resulting Numbers: [24]
24,61 unequal: No Solution
Exploring Operation: 36*12=432, Resulting Numbers: [432]
432,61 unequal: No Solution
Exploring Operation: 36+12=48, Resulting Numbers: [48]
48,61 unequal: No Solution
Exploring Operation: 36/12=3, Resulting Numbers: [3]
3,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 61:[4, 39, 36], Operations: ['27+9=36']
Exploring Operation: 4+36=40, Resulting Numbers: [39, 40]
Generated Node #0,2,0: 61:[39, 40] Operation: 4+36=40
Exploring Operation: 4+39=43, Resulting Numbers: [36, 43]
Generated Node #0,2,1: 61:[36, 43] Operation: 4+39=43
Exploring Operation: 39-4=35, Resulting Numbers: [36, 35]
Generated Node #0,2,2: 61:[36, 35] Operation: 39-4=35
Exploring Operation: 36-4=32, Resulting Numbers: [39, 32]
Generated Node #0,2,3: 61:[39, 32] Operation: 36-4=32
Moving to Node #0,1
Current State: 61:[39, 9, 31], Operations: ['27+4=31']
Exploring Operation: 39+31=70, Resulting Numbers: [9, 70]
Generated Node #0,1,0: 61:[9, 70] Operation: 39+31=70
Exploring Operation: 39-9=30, Resulting Numbers: [31, 30]
Generated Node #0,1,1: 61:[31, 30] Operation: 39-9=30
Exploring Operation: 39+9=48, Resulting Numbers: [31, 48]
Generated Node #0,1,2: 61:[31, 48] Operation: 39+9=48
Exploring Operation: 9+31=40, Resulting Numbers: [39, 40]
Generated Node #0,1,3: 61:[39, 40] Operation: 9+31=40
Moving to Node #0,3
Current State: 61:[27, 9, 43], Operations: ['4+39=43']
Exploring Operation: 27+9=36, Resulting Numbers: [43, 36]
Generated Node #0,3,0: 61:[43, 36] Operation: 27+9=36
Exploring Operation: 27-9=18, Resulting Numbers: [43, 18]
Generated Node #0,3,1: 61:[43, 18] Operation: 27-9=18
Exploring Operation: 27+43=70, Resulting Numbers: [9, 70]
Generated Node #0,3,2: 61:[9, 70] Operation: 27+43=70
Exploring Operation: 9+43=52, Resulting Numbers: [27, 52]
Generated Node #0,3,3: 61:[27, 52] Operation: 9+43=52
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 61:[43, 36], Operations: ['4+39=43', '27+9=36']
Exploring Operation: 43+36=79, Resulting Numbers: [79]
79,61 unequal: No Solution
Exploring Operation: 43-36=7, Resulting Numbers: [7]
7,61 unequal: No Solution
Exploring Operation: 43*36=1548, Resulting Numbers: [1548]
1548,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 61:[27, 52], Operations: ['4+39=43', '9+43=52']
Exploring Operation: 27*52=1404, Resulting Numbers: [1404]
1404,61 unequal: No Solution
Exploring Operation: 27+52=79, Resulting Numbers: [79]
79,61 unequal: No Solution
Exploring Operation: 52-27=25, Resulting Numbers: [25]
25,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 61:[43, 18], Operations: ['4+39=43', '27-9=18']
Exploring Operation: 43-18=25, Resulting Numbers: [25]
25,61 unequal: No Solution
Exploring Operation: 43+18=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[27, 4, 39, 9], Operations: []
Exploring Operation: 4+39=43, Resulting Numbers: [27, 9, 43]
Generated Node #0,3: 61:[27, 9, 43] Operation: 4+39=43
Moving to Node #0,3
Current State: 61:[27, 9, 43], Operations: ['4+39=43']
Exploring Operation: 27-9=18, Resulting Numbers: [43, 18]
Generated Node #0,3,1: 61:[43, 18] Operation: 27-9=18
Moving to Node #0,3,1
Current State: 61:[43, 18], Operations: ['4+39=43', '27-9=18']
Exploring Operation: 43+18=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 1
| 0.960938 | hs_4 | sum_heuristic |
[
98,
71,
16,
29
] | 13 | [
"98+71=169",
"29-16=13",
"169/13=13"
] | Current State: 13:[98, 71, 16, 29], Operations: []
Exploring Operation: 98+71=169, Resulting Numbers: [16, 29, 169]
Generated Node #2: [16, 29, 169] from Operation: 98+71=169
Current State: 13:[16, 29, 169], Operations: ['98+71=169']
Exploring Operation: 29-16=13, Resulting Numbers: [169, 13]
Generated Node #3: [169, 13] from Operation: 29-16=13
Current State: 13:[169, 13], Operations: ['98+71=169', '29-16=13']
Exploring Operation: 169/13=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[98, 71, 16, 29], Operations: []
Exploring Operation: 98-71=27, Resulting Numbers: [16, 29, 27]
Generated Node #0,0: 13:[16, 29, 27] Operation: 98-71=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[16, 29, 27], Operations: ['98-71=27']
Exploring Operation: 29-16=13, Resulting Numbers: [27, 13]
Generated Node #0,0,0: 13:[27, 13] Operation: 29-16=13
Moving to Node #0,0,0
Current State: 13:[27, 13], Operations: ['98-71=27', '29-16=13']
Exploring Operation: 27-13=14, Resulting Numbers: [14]
14,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
40,
96,
22,
76
] | 24 | [
"96-76=20",
"40/20=2",
"22+2=24"
] | Current State: 24:[40, 96, 22, 76], Operations: []
Exploring Operation: 96-76=20, Resulting Numbers: [40, 22, 20]
Generated Node #2: [40, 22, 20] from Operation: 96-76=20
Current State: 24:[40, 22, 20], Operations: ['96-76=20']
Exploring Operation: 40/20=2, Resulting Numbers: [22, 2]
Generated Node #3: [22, 2] from Operation: 40/20=2
Current State: 24:[22, 2], Operations: ['96-76=20', '40/20=2']
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[40, 96, 22, 76], Operations: []
Exploring Operation: 76-40=36, Resulting Numbers: [96, 22, 36]
Generated Node #0,0: 24:[96, 22, 36] Operation: 76-40=36
Exploring Operation: 96-76=20, Resulting Numbers: [40, 22, 20]
Generated Node #0,1: 24:[40, 22, 20] Operation: 96-76=20
Exploring Operation: 96-22=74, Resulting Numbers: [40, 76, 74]
Generated Node #0,2: 24:[40, 76, 74] Operation: 96-22=74
Exploring Operation: 96-40=56, Resulting Numbers: [22, 76, 56]
Generated Node #0,3: 24:[22, 76, 56] Operation: 96-40=56
Moving to Node #0,1
Current State: 24:[40, 22, 20], Operations: ['96-76=20']
Exploring Operation: 40-20=20, Resulting Numbers: [22, 20]
Generated Node #0,1,0: 24:[22, 20] Operation: 40-20=20
Exploring Operation: 40/20=2, Resulting Numbers: [22, 2]
Generated Node #0,1,1: 24:[22, 2] Operation: 40/20=2
Exploring Operation: 22-20=2, Resulting Numbers: [40, 2]
Generated Node #0,1,2: 24:[40, 2] Operation: 22-20=2
Exploring Operation: 40-22=18, Resulting Numbers: [20, 18]
Generated Node #0,1,3: 24:[20, 18] Operation: 40-22=18
Moving to Node #0,3
Current State: 24:[22, 76, 56], Operations: ['96-40=56']
Exploring Operation: 76-22=54, Resulting Numbers: [56, 54]
Generated Node #0,3,0: 24:[56, 54] Operation: 76-22=54
Exploring Operation: 22+76=98, Resulting Numbers: [56, 98]
Generated Node #0,3,1: 24:[56, 98] Operation: 22+76=98
Exploring Operation: 76-56=20, Resulting Numbers: [22, 20]
Generated Node #0,3,2: 24:[22, 20] Operation: 76-56=20
Exploring Operation: 56-22=34, Resulting Numbers: [76, 34]
Generated Node #0,3,3: 24:[76, 34] Operation: 56-22=34
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 24:[22, 20], Operations: ['96-40=56', '76-56=20']
Exploring Operation: 22-20=2, Resulting Numbers: [2]
2,24 unequal: No Solution
Exploring Operation: 22*20=440, Resulting Numbers: [440]
440,24 unequal: No Solution
Exploring Operation: 22+20=42, Resulting Numbers: [42]
42,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 24:[56, 54], Operations: ['96-40=56', '76-22=54']
Exploring Operation: 56-54=2, Resulting Numbers: [2]
2,24 unequal: No Solution
Exploring Operation: 56*54=3024, Resulting Numbers: [3024]
3024,24 unequal: No Solution
Exploring Operation: 56+54=110, Resulting Numbers: [110]
110,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 24:[76, 34], Operations: ['96-40=56', '56-22=34']
Exploring Operation: 76-34=42, Resulting Numbers: [42]
42,24 unequal: No Solution
Exploring Operation: 76*34=2584, Resulting Numbers: [2584]
2584,24 unequal: No Solution
Exploring Operation: 76+34=110, Resulting Numbers: [110]
110,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 24:[56, 98], Operations: ['96-40=56', '22+76=98']
Exploring Operation: 98-56=42, Resulting Numbers: [42]
42,24 unequal: No Solution
Exploring Operation: 56+98=154, Resulting Numbers: [154]
154,24 unequal: No Solution
Exploring Operation: 56*98=5488, Resulting Numbers: [5488]
5488,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 24:[96, 22, 36], Operations: ['76-40=36']
Exploring Operation: 96-22=74, Resulting Numbers: [36, 74]
Generated Node #0,0,0: 24:[36, 74] Operation: 96-22=74
Exploring Operation: 36-22=14, Resulting Numbers: [96, 14]
Generated Node #0,0,1: 24:[96, 14] Operation: 36-22=14
Exploring Operation: 96-36=60, Resulting Numbers: [22, 60]
Generated Node #0,0,2: 24:[22, 60] Operation: 96-36=60
Exploring Operation: 96+22=118, Resulting Numbers: [36, 118]
Generated Node #0,0,3: 24:[36, 118] Operation: 96+22=118
Moving to Node #0,2
Current State: 24:[40, 76, 74], Operations: ['96-22=74']
Exploring Operation: 40+76=116, Resulting Numbers: [74, 116]
Generated Node #0,2,0: 24:[74, 116] Operation: 40+76=116
Exploring Operation: 74-40=34, Resulting Numbers: [76, 34]
Generated Node #0,2,1: 24:[76, 34] Operation: 74-40=34
Exploring Operation: 76-74=2, Resulting Numbers: [40, 2]
Generated Node #0,2,2: 24:[40, 2] Operation: 76-74=2
Exploring Operation: 76-40=36, Resulting Numbers: [74, 36]
Generated Node #0,2,3: 24:[74, 36] Operation: 76-40=36
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 24:[40, 2], Operations: ['96-22=74', '76-74=2']
Exploring Operation: 40*2=80, Resulting Numbers: [80]
80,24 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,24 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,24 unequal: No Solution
Exploring Operation: 40+2=42, Resulting Numbers: [42]
42,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 24:[76, 34], Operations: ['96-22=74', '74-40=34']
Exploring Operation: 76*34=2584, Resulting Numbers: [2584]
2584,24 unequal: No Solution
Exploring Operation: 76+34=110, Resulting Numbers: [110]
110,24 unequal: No Solution
Exploring Operation: 76-34=42, Resulting Numbers: [42]
42,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 24:[74, 36], Operations: ['96-22=74', '76-40=36']
Exploring Operation: 74-36=38, Resulting Numbers: [38]
38,24 unequal: No Solution
Exploring Operation: 74+36=110, Resulting Numbers: [110]
110,24 unequal: No Solution
Exploring Operation: 74*36=2664, Resulting Numbers: [2664]
2664,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 24:[74, 116], Operations: ['96-22=74', '40+76=116']
Exploring Operation: 74+116=190, Resulting Numbers: [190]
190,24 unequal: No Solution
Exploring Operation: 116-74=42, Resulting Numbers: [42]
42,24 unequal: No Solution
Exploring Operation: 74*116=8584, Resulting Numbers: [8584]
8584,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 24:[22, 2], Operations: ['96-76=20', '40/20=2']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,24 unequal: No Solution
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[40, 96, 22, 76], Operations: []
Exploring Operation: 96-76=20, Resulting Numbers: [40, 22, 20]
Generated Node #0,1: 24:[40, 22, 20] Operation: 96-76=20
Moving to Node #0,1
Current State: 24:[40, 22, 20], Operations: ['96-76=20']
Exploring Operation: 40/20=2, Resulting Numbers: [22, 2]
Generated Node #0,1,1: 24:[22, 2] Operation: 40/20=2
Moving to Node #0,1,1
Current State: 24:[22, 2], Operations: ['96-76=20', '40/20=2']
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 0.955729 | hs_4 | mult_heuristic |
[
74,
32,
64,
46
] | 97 | [
"64/32=2",
"46/2=23",
"74+23=97"
] | Current State: 97:[74, 32, 64, 46], Operations: []
Exploring Operation: 64/32=2, Resulting Numbers: [74, 46, 2]
Generated Node #2: [74, 46, 2] from Operation: 64/32=2
Current State: 97:[74, 46, 2], Operations: ['64/32=2']
Exploring Operation: 46/2=23, Resulting Numbers: [74, 23]
Generated Node #3: [74, 23] from Operation: 46/2=23
Current State: 97:[74, 23], Operations: ['64/32=2', '46/2=23']
Exploring Operation: 74+23=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[74, 32, 64, 46], Operations: []
Exploring Operation: 32+64=96, Resulting Numbers: [74, 46, 96]
Generated Node #0,0: 97:[74, 46, 96] Operation: 32+64=96
Exploring Operation: 32+46=78, Resulting Numbers: [74, 64, 78]
Generated Node #0,1: 97:[74, 64, 78] Operation: 32+46=78
Moving to Node #0,0
Current State: 97:[74, 46, 96], Operations: ['32+64=96']
Exploring Operation: 46+96=142, Resulting Numbers: [74, 142]
Generated Node #0,0,0: 97:[74, 142] Operation: 46+96=142
Exploring Operation: 74+46=120, Resulting Numbers: [96, 120]
Generated Node #0,0,1: 97:[96, 120] Operation: 74+46=120
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 97:[96, 120], Operations: ['32+64=96', '74+46=120']
Exploring Operation: 96+120=216, Resulting Numbers: [216]
216,97 unequal: No Solution
Exploring Operation: 120-96=24, Resulting Numbers: [24]
24,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[74, 142], Operations: ['32+64=96', '46+96=142']
Exploring Operation: 142-74=68, Resulting Numbers: [68]
68,97 unequal: No Solution
Exploring Operation: 74+142=216, Resulting Numbers: [216]
216,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 97:[74, 64, 78], Operations: ['32+46=78']
Exploring Operation: 64+78=142, Resulting Numbers: [74, 142]
Generated Node #0,1,0: 97:[74, 142] Operation: 64+78=142
Exploring Operation: 74+64=138, Resulting Numbers: [78, 138]
Generated Node #0,1,1: 97:[78, 138] Operation: 74+64=138
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 97:[78, 138], Operations: ['32+46=78', '74+64=138']
Exploring Operation: 78+138=216, Resulting Numbers: [216]
216,97 unequal: No Solution
Exploring Operation: 138-78=60, Resulting Numbers: [60]
60,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 97:[74, 142], Operations: ['32+46=78', '64+78=142']
Exploring Operation: 142-74=68, Resulting Numbers: [68]
68,97 unequal: No Solution
Exploring Operation: 74+142=216, Resulting Numbers: [216]
216,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
83,
96,
41,
92
] | 46 | [
"83+96=179",
"41+92=133",
"179-133=46"
] | Current State: 46:[83, 96, 41, 92], Operations: []
Exploring Operation: 83+96=179, Resulting Numbers: [41, 92, 179]
Generated Node #2: [41, 92, 179] from Operation: 83+96=179
Current State: 46:[41, 92, 179], Operations: ['83+96=179']
Exploring Operation: 41+92=133, Resulting Numbers: [179, 133]
Generated Node #3: [179, 133] from Operation: 41+92=133
Current State: 46:[179, 133], Operations: ['83+96=179', '41+92=133']
Exploring Operation: 179-133=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[83, 96, 41, 92], Operations: []
Exploring Operation: 96-92=4, Resulting Numbers: [83, 41, 4]
Generated Node #0,0: 46:[83, 41, 4] Operation: 96-92=4
Exploring Operation: 96-83=13, Resulting Numbers: [41, 92, 13]
Generated Node #0,1: 46:[41, 92, 13] Operation: 96-83=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[83, 41, 4], Operations: ['96-92=4']
Exploring Operation: 83-41=42, Resulting Numbers: [4, 42]
Generated Node #0,0,0: 46:[4, 42] Operation: 83-41=42
Exploring Operation: 83-4=79, Resulting Numbers: [41, 79]
Generated Node #0,0,1: 46:[41, 79] Operation: 83-4=79
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 46:[4, 42], Operations: ['96-92=4', '83-41=42']
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,46 unequal: No Solution
Exploring Operation: 4+42=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[83, 96, 41, 92], Operations: []
Exploring Operation: 96-92=4, Resulting Numbers: [83, 41, 4]
Generated Node #0,0: 46:[83, 41, 4] Operation: 96-92=4
Moving to Node #0,0
Current State: 46:[83, 41, 4], Operations: ['96-92=4']
Exploring Operation: 83-41=42, Resulting Numbers: [4, 42]
Generated Node #0,0,0: 46:[4, 42] Operation: 83-41=42
Moving to Node #0,0,0
Current State: 46:[4, 42], Operations: ['96-92=4', '83-41=42']
Exploring Operation: 4+42=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
36,
28,
14,
6
] | 92 | [
"36-28=8",
"14*6=84",
"8+84=92"
] | Current State: 92:[36, 28, 14, 6], Operations: []
Exploring Operation: 36-28=8, Resulting Numbers: [14, 6, 8]
Generated Node #2: [14, 6, 8] from Operation: 36-28=8
Current State: 92:[14, 6, 8], Operations: ['36-28=8']
Exploring Operation: 14*6=84, Resulting Numbers: [8, 84]
Generated Node #3: [8, 84] from Operation: 14*6=84
Current State: 92:[8, 84], Operations: ['36-28=8', '14*6=84']
Exploring Operation: 8+84=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[36, 28, 14, 6], Operations: []
Exploring Operation: 28/14=2, Resulting Numbers: [36, 6, 2]
Generated Node #0,0: 92:[36, 6, 2] Operation: 28/14=2
Exploring Operation: 36/6=6, Resulting Numbers: [28, 14, 6]
Generated Node #0,1: 92:[28, 14, 6] Operation: 36/6=6
Exploring Operation: 36-28=8, Resulting Numbers: [14, 6, 8]
Generated Node #0,2: 92:[14, 6, 8] Operation: 36-28=8
Exploring Operation: 36-14=22, Resulting Numbers: [28, 6, 22]
Generated Node #0,3: 92:[28, 6, 22] Operation: 36-14=22
Exploring Operation: 36+14=50, Resulting Numbers: [28, 6, 50]
Generated Node #0,4: 92:[28, 6, 50] Operation: 36+14=50
Start Sub Search at level 1: Moving to Node #0,3
Current State: 92:[28, 6, 22], Operations: ['36-14=22']
Exploring Operation: 28-22=6, Resulting Numbers: [6, 6]
Generated Node #0,3,0: 92:[6, 6] Operation: 28-22=6
Exploring Operation: 28+22=50, Resulting Numbers: [6, 50]
Generated Node #0,3,1: 92:[6, 50] Operation: 28+22=50
Exploring Operation: 6+22=28, Resulting Numbers: [28, 28]
Generated Node #0,3,2: 92:[28, 28] Operation: 6+22=28
Exploring Operation: 28-6=22, Resulting Numbers: [22, 22]
Generated Node #0,3,3: 92:[22, 22] Operation: 28-6=22
Exploring Operation: 28+6=34, Resulting Numbers: [22, 34]
Generated Node #0,3,4: 92:[22, 34] Operation: 28+6=34
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 92:[22, 22], Operations: ['36-14=22', '28-6=22']
Exploring Operation: 22-22=0, Resulting Numbers: [0]
0,92 unequal: No Solution
Exploring Operation: 22*22=484, Resulting Numbers: [484]
484,92 unequal: No Solution
Exploring Operation: 22+22=44, Resulting Numbers: [44]
44,92 unequal: No Solution
Exploring Operation: 22/22=1, Resulting Numbers: [1]
1,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 92:[6, 6], Operations: ['36-14=22', '28-22=6']
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,92 unequal: No Solution
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,92 unequal: No Solution
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 6-6=0, Resulting Numbers: [0]
0,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 92:[6, 50], Operations: ['36-14=22', '28+22=50']
Exploring Operation: 6+50=56, Resulting Numbers: [56]
56,92 unequal: No Solution
Exploring Operation: 6*50=300, Resulting Numbers: [300]
300,92 unequal: No Solution
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 92:[28, 28], Operations: ['36-14=22', '6+22=28']
Exploring Operation: 28/28=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 28+28=56, Resulting Numbers: [56]
56,92 unequal: No Solution
Exploring Operation: 28-28=0, Resulting Numbers: [0]
0,92 unequal: No Solution
Exploring Operation: 28*28=784, Resulting Numbers: [784]
784,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 92:[22, 34], Operations: ['36-14=22', '28+6=34']
Exploring Operation: 22+34=56, Resulting Numbers: [56]
56,92 unequal: No Solution
Exploring Operation: 34-22=12, Resulting Numbers: [12]
12,92 unequal: No Solution
Exploring Operation: 22*34=748, Resulting Numbers: [748]
748,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 92:[28, 6, 50], Operations: ['36+14=50']
Exploring Operation: 50-28=22, Resulting Numbers: [6, 22]
Generated Node #0,4,0: 92:[6, 22] Operation: 50-28=22
Exploring Operation: 28+6=34, Resulting Numbers: [50, 34]
Generated Node #0,4,1: 92:[50, 34] Operation: 28+6=34
Exploring Operation: 28-6=22, Resulting Numbers: [50, 22]
Generated Node #0,4,2: 92:[50, 22] Operation: 28-6=22
Exploring Operation: 6+50=56, Resulting Numbers: [28, 56]
Generated Node #0,4,3: 92:[28, 56] Operation: 6+50=56
Exploring Operation: 50-6=44, Resulting Numbers: [28, 44]
Generated Node #0,4,4: 92:[28, 44] Operation: 50-6=44
Moving to Node #0,4,0
Current State: 92:[6, 22], Operations: ['36+14=50', '50-28=22']
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,92 unequal: No Solution
Exploring Operation: 6*22=132, Resulting Numbers: [132]
132,92 unequal: No Solution
Moving to Node #0,4,2
Current State: 92:[50, 22], Operations: ['36+14=50', '28-6=22']
Exploring Operation: 50-22=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Exploring Operation: 50+22=72, Resulting Numbers: [72]
72,92 unequal: No Solution
Exploring Operation: 50*22=1100, Resulting Numbers: [1100]
1100,92 unequal: No Solution
Moving to Node #0,4,4
Current State: 92:[28, 44], Operations: ['36+14=50', '50-6=44']
Exploring Operation: 28*44=1232, Resulting Numbers: [1232]
1232,92 unequal: No Solution
Exploring Operation: 28+44=72, Resulting Numbers: [72]
72,92 unequal: No Solution
Exploring Operation: 44-28=16, Resulting Numbers: [16]
16,92 unequal: No Solution
Moving to Node #0,4,1
Current State: 92:[50, 34], Operations: ['36+14=50', '28+6=34']
Exploring Operation: 50-34=16, Resulting Numbers: [16]
16,92 unequal: No Solution
Exploring Operation: 50*34=1700, Resulting Numbers: [1700]
1700,92 unequal: No Solution
Exploring Operation: 50+34=84, Resulting Numbers: [84]
84,92 unequal: No Solution
Moving to Node #0,4,3
Current State: 92:[28, 56], Operations: ['36+14=50', '6+50=56']
Exploring Operation: 56-28=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Exploring Operation: 28+56=84, Resulting Numbers: [84]
84,92 unequal: No Solution
Exploring Operation: 28*56=1568, Resulting Numbers: [1568]
1568,92 unequal: No Solution
Exploring Operation: 56/28=2, Resulting Numbers: [2]
2,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[36, 6, 2], Operations: ['28/14=2']
Exploring Operation: 36/6=6, Resulting Numbers: [2, 6]
Generated Node #0,0,0: 92:[2, 6] Operation: 36/6=6
Exploring Operation: 36-6=30, Resulting Numbers: [2, 30]
Generated Node #0,0,1: 92:[2, 30] Operation: 36-6=30
Exploring Operation: 36/2=18, Resulting Numbers: [6, 18]
Generated Node #0,0,2: 92:[6, 18] Operation: 36/2=18
Exploring Operation: 36+2=38, Resulting Numbers: [6, 38]
Generated Node #0,0,3: 92:[6, 38] Operation: 36+2=38
Exploring Operation: 36+6=42, Resulting Numbers: [2, 42]
Generated Node #0,0,4: 92:[2, 42] Operation: 36+6=42
Moving to Node #0,0,0
Current State: 92:[2, 6], Operations: ['28/14=2', '36/6=6']
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,92 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,92 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,92 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Moving to Node #0,0,4
Current State: 92:[2, 42], Operations: ['28/14=2', '36+6=42']
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,92 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,92 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,92 unequal: No Solution
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[2, 30], Operations: ['28/14=2', '36-6=30']
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Exploring Operation: 2+30=32, Resulting Numbers: [32]
32,92 unequal: No Solution
Exploring Operation: 2*30=60, Resulting Numbers: [60]
60,92 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,92 unequal: No Solution
Moving to Node #0,0,2
Current State: 92:[6, 18], Operations: ['28/14=2', '36/2=18']
Exploring Operation: 6+18=24, Resulting Numbers: [24]
24,92 unequal: No Solution
Exploring Operation: 6*18=108, Resulting Numbers: [108]
108,92 unequal: No Solution
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,92 unequal: No Solution
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Moving to Node #0,0,3
Current State: 92:[6, 38], Operations: ['28/14=2', '36+2=38']
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,92 unequal: No Solution
Exploring Operation: 6+38=44, Resulting Numbers: [44]
44,92 unequal: No Solution
Exploring Operation: 6*38=228, Resulting Numbers: [228]
228,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 92:[14, 6, 8], Operations: ['36-28=8']
Exploring Operation: 14-8=6, Resulting Numbers: [6, 6]
Generated Node #0,2,0: 92:[6, 6] Operation: 14-8=6
Exploring Operation: 8-6=2, Resulting Numbers: [14, 2]
Generated Node #0,2,1: 92:[14, 2] Operation: 8-6=2
Exploring Operation: 14-6=8, Resulting Numbers: [8, 8]
Generated Node #0,2,2: 92:[8, 8] Operation: 14-6=8
Exploring Operation: 14+8=22, Resulting Numbers: [6, 22]
Generated Node #0,2,3: 92:[6, 22] Operation: 14+8=22
Exploring Operation: 14+6=20, Resulting Numbers: [8, 20]
Generated Node #0,2,4: 92:[8, 20] Operation: 14+6=20
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 92:[6, 22], Operations: ['36-28=8', '14+8=22']
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,92 unequal: No Solution
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Exploring Operation: 6*22=132, Resulting Numbers: [132]
132,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 92:[6, 6], Operations: ['36-28=8', '14-8=6']
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,92 unequal: No Solution
Exploring Operation: 6-6=0, Resulting Numbers: [0]
0,92 unequal: No Solution
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,92 unequal: No Solution
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 92:[8, 20], Operations: ['36-28=8', '14+6=20']
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,92 unequal: No Solution
Exploring Operation: 8+20=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Exploring Operation: 8*20=160, Resulting Numbers: [160]
160,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 92:[8, 8], Operations: ['36-28=8', '14-6=8']
Exploring Operation: 8+8=16, Resulting Numbers: [16]
16,92 unequal: No Solution
Exploring Operation: 8-8=0, Resulting Numbers: [0]
0,92 unequal: No Solution
Exploring Operation: 8*8=64, Resulting Numbers: [64]
64,92 unequal: No Solution
Exploring Operation: 8/8=1, Resulting Numbers: [1]
1,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 92:[14, 2], Operations: ['36-28=8', '8-6=2']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,92 unequal: No Solution
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,92 unequal: No Solution
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,92 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[28, 14, 6], Operations: ['36/6=6']
Exploring Operation: 28+14=42, Resulting Numbers: [6, 42]
Generated Node #0,1,0: 92:[6, 42] Operation: 28+14=42
Exploring Operation: 28/14=2, Resulting Numbers: [6, 2]
Generated Node #0,1,1: 92:[6, 2] Operation: 28/14=2
Exploring Operation: 28-6=22, Resulting Numbers: [14, 22]
Generated Node #0,1,2: 92:[14, 22] Operation: 28-6=22
Exploring Operation: 14-6=8, Resulting Numbers: [28, 8]
Generated Node #0,1,3: 92:[28, 8] Operation: 14-6=8
Exploring Operation: 14+6=20, Resulting Numbers: [28, 20]
Generated Node #0,1,4: 92:[28, 20] Operation: 14+6=20
Moving to Node #0,1,1
Current State: 92:[6, 2], Operations: ['36/6=6', '28/14=2']
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,92 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,92 unequal: No Solution
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,92 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,92 unequal: No Solution
Moving to Node #0,1,0
Current State: 92:[6, 42], Operations: ['36/6=6', '28+14=42']
Exploring Operation: 6*42=252, Resulting Numbers: [252]
252,92 unequal: No Solution
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,92 unequal: No Solution
Exploring Operation: 6+42=48, Resulting Numbers: [48]
48,92 unequal: No Solution
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,92 unequal: No Solution
Moving to Node #0,1,4
Current State: 92:[28, 20], Operations: ['36/6=6', '14+6=20']
Exploring Operation: 28+20=48, Resulting Numbers: [48]
48,92 unequal: No Solution
Exploring Operation: 28*20=560, Resulting Numbers: [560]
560,92 unequal: No Solution
Exploring Operation: 28-20=8, Resulting Numbers: [8]
8,92 unequal: No Solution
Moving to Node #0,1,3
Current State: 92:[28, 8], Operations: ['36/6=6', '14-6=8']
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,92 unequal: No Solution
Exploring Operation: 28+8=36, Resulting Numbers: [36]
36,92 unequal: No Solution
Exploring Operation: 28*8=224, Resulting Numbers: [224]
224,92 unequal: No Solution
Moving to Node #0,1,2
Current State: 92:[14, 22], Operations: ['36/6=6', '28-6=22']
Exploring Operation: 14+22=36, Resulting Numbers: [36]
36,92 unequal: No Solution
Exploring Operation: 14*22=308, Resulting Numbers: [308]
308,92 unequal: No Solution
Exploring Operation: 22-14=8, Resulting Numbers: [8]
8,92 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 |
[
18,
12,
84,
63
] | 34 | [
"12*84=1008",
"1008/63=16",
"18+16=34"
] | Current State: 34:[18, 12, 84, 63], Operations: []
Exploring Operation: 12*84=1008, Resulting Numbers: [18, 63, 1008]
Generated Node #2: [18, 63, 1008] from Operation: 12*84=1008
Current State: 34:[18, 63, 1008], Operations: ['12*84=1008']
Exploring Operation: 1008/63=16, Resulting Numbers: [18, 16]
Generated Node #3: [18, 16] from Operation: 1008/63=16
Current State: 34:[18, 16], Operations: ['12*84=1008', '1008/63=16']
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[18, 12, 84, 63], Operations: []
Exploring Operation: 84/12=7, Resulting Numbers: [18, 63, 7]
Generated Node #0,0: 34:[18, 63, 7] Operation: 84/12=7
Exploring Operation: 84-18=66, Resulting Numbers: [12, 63, 66]
Generated Node #0,1: 34:[12, 63, 66] Operation: 84-18=66
Exploring Operation: 63-18=45, Resulting Numbers: [12, 84, 45]
Generated Node #0,2: 34:[12, 84, 45] Operation: 63-18=45
Exploring Operation: 84-63=21, Resulting Numbers: [18, 12, 21]
Generated Node #0,3: 34:[18, 12, 21] Operation: 84-63=21
Moving to Node #0,3
Current State: 34:[18, 12, 21], Operations: ['84-63=21']
Exploring Operation: 18+12=30, Resulting Numbers: [21, 30]
Generated Node #0,3,0: 34:[21, 30] Operation: 18+12=30
Exploring Operation: 21-18=3, Resulting Numbers: [12, 3]
Generated Node #0,3,1: 34:[12, 3] Operation: 21-18=3
Exploring Operation: 12+21=33, Resulting Numbers: [18, 33]
Generated Node #0,3,2: 34:[18, 33] Operation: 12+21=33
Exploring Operation: 18-12=6, Resulting Numbers: [21, 6]
Generated Node #0,3,3: 34:[21, 6] Operation: 18-12=6
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 34:[18, 33], Operations: ['84-63=21', '12+21=33']
Exploring Operation: 18+33=51, Resulting Numbers: [51]
51,34 unequal: No Solution
Exploring Operation: 33-18=15, Resulting Numbers: [15]
15,34 unequal: No Solution
Exploring Operation: 18*33=594, Resulting Numbers: [594]
594,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,3,1
Current State: 34:[12, 3], Operations: ['84-63=21', '21-18=3']
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,34 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,34 unequal: No Solution
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,34 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,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,3,0
Current State: 34:[21, 30], Operations: ['84-63=21', '18+12=30']
Exploring Operation: 21+30=51, Resulting Numbers: [51]
51,34 unequal: No Solution
Exploring Operation: 21*30=630, Resulting Numbers: [630]
630,34 unequal: No Solution
Exploring Operation: 30-21=9, Resulting Numbers: [9]
9,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,3,3
Current State: 34:[21, 6], Operations: ['84-63=21', '18-12=6']
Exploring Operation: 21*6=126, Resulting Numbers: [126]
126,34 unequal: No Solution
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,34 unequal: No Solution
Exploring Operation: 21+6=27, Resulting Numbers: [27]
27,34 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: 34:[18, 63, 7], Operations: ['84/12=7']
Exploring Operation: 18-7=11, Resulting Numbers: [63, 11]
Generated Node #0,0,0: 34:[63, 11] Operation: 18-7=11
Exploring Operation: 63/7=9, Resulting Numbers: [18, 9]
Generated Node #0,0,1: 34:[18, 9] Operation: 63/7=9
Exploring Operation: 63-7=56, Resulting Numbers: [18, 56]
Generated Node #0,0,2: 34:[18, 56] Operation: 63-7=56
Exploring Operation: 63-18=45, Resulting Numbers: [7, 45]
Generated Node #0,0,3: 34:[7, 45] Operation: 63-18=45
Moving to Node #0,2
Current State: 34:[12, 84, 45], Operations: ['63-18=45']
Exploring Operation: 84/12=7, Resulting Numbers: [45, 7]
Generated Node #0,2,0: 34:[45, 7] Operation: 84/12=7
Exploring Operation: 84-12=72, Resulting Numbers: [45, 72]
Generated Node #0,2,1: 34:[45, 72] Operation: 84-12=72
Exploring Operation: 45-12=33, Resulting Numbers: [84, 33]
Generated Node #0,2,2: 34:[84, 33] Operation: 45-12=33
Exploring Operation: 84-45=39, Resulting Numbers: [12, 39]
Generated Node #0,2,3: 34:[12, 39] Operation: 84-45=39
Moving to Node #0,1
Current State: 34:[12, 63, 66], Operations: ['84-18=66']
Exploring Operation: 66-12=54, Resulting Numbers: [63, 54]
Generated Node #0,1,0: 34:[63, 54] Operation: 66-12=54
Exploring Operation: 12+63=75, Resulting Numbers: [66, 75]
Generated Node #0,1,1: 34:[66, 75] Operation: 12+63=75
Exploring Operation: 66-63=3, Resulting Numbers: [12, 3]
Generated Node #0,1,2: 34:[12, 3] Operation: 66-63=3
Exploring Operation: 63-12=51, Resulting Numbers: [66, 51]
Generated Node #0,1,3: 34:[66, 51] Operation: 63-12=51
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 34:[12, 3], Operations: ['84-18=66', '66-63=3']
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,34 unequal: No Solution
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,34 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,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,1,0
Current State: 34:[63, 54], Operations: ['84-18=66', '66-12=54']
Exploring Operation: 63-54=9, Resulting Numbers: [9]
9,34 unequal: No Solution
Exploring Operation: 63+54=117, Resulting Numbers: [117]
117,34 unequal: No Solution
Exploring Operation: 63*54=3402, Resulting Numbers: [3402]
3402,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,1,3
Current State: 34:[66, 51], Operations: ['84-18=66', '63-12=51']
Exploring Operation: 66-51=15, Resulting Numbers: [15]
15,34 unequal: No Solution
Exploring Operation: 66+51=117, Resulting Numbers: [117]
117,34 unequal: No Solution
Exploring Operation: 66*51=3366, Resulting Numbers: [3366]
3366,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,1,1
Current State: 34:[66, 75], Operations: ['84-18=66', '12+63=75']
Exploring Operation: 75-66=9, Resulting Numbers: [9]
9,34 unequal: No Solution
Exploring Operation: 66+75=141, Resulting Numbers: [141]
141,34 unequal: No Solution
Exploring Operation: 66*75=4950, Resulting Numbers: [4950]
4950,34 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: 34:[18, 9], Operations: ['84/12=7', '63/7=9']
Exploring Operation: 18*9=162, Resulting Numbers: [162]
162,34 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,34 unequal: No Solution
Exploring Operation: 18+9=27, Resulting Numbers: [27]
27,34 unequal: No Solution
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,34 unequal: No Solution
Moving to Node #0,2,3
Current State: 34:[12, 39], Operations: ['63-18=45', '84-45=39']
Exploring Operation: 12+39=51, Resulting Numbers: [51]
51,34 unequal: No Solution
Exploring Operation: 39-12=27, Resulting Numbers: [27]
27,34 unequal: No Solution
Exploring Operation: 12*39=468, Resulting Numbers: [468]
468,34 unequal: No Solution
Moving to Node #0,2,0
Current State: 34:[45, 7], Operations: ['63-18=45', '84/12=7']
Exploring Operation: 45*7=315, Resulting Numbers: [315]
315,34 unequal: No Solution
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Exploring Operation: 45+7=52, Resulting Numbers: [52]
52,34 unequal: No Solution
Moving to Node #0,0,3
Current State: 34:[7, 45], Operations: ['84/12=7', '63-18=45']
Exploring Operation: 7+45=52, Resulting Numbers: [52]
52,34 unequal: No Solution
Exploring Operation: 7*45=315, Resulting Numbers: [315]
315,34 unequal: No Solution
Exploring Operation: 45-7=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Moving to Node #0,0,2
Current State: 34:[18, 56], Operations: ['84/12=7', '63-7=56']
Exploring Operation: 18+56=74, Resulting Numbers: [74]
74,34 unequal: No Solution
Exploring Operation: 18*56=1008, Resulting Numbers: [1008]
1008,34 unequal: No Solution
Exploring Operation: 56-18=38, Resulting Numbers: [38]
38,34 unequal: No Solution
Moving to Node #0,0,0
Current State: 34:[63, 11], Operations: ['84/12=7', '18-7=11']
Exploring Operation: 63*11=693, Resulting Numbers: [693]
693,34 unequal: No Solution
Exploring Operation: 63-11=52, Resulting Numbers: [52]
52,34 unequal: No Solution
Exploring Operation: 63+11=74, Resulting Numbers: [74]
74,34 unequal: No Solution
Moving to Node #0,2,1
Current State: 34:[45, 72], Operations: ['63-18=45', '84-12=72']
Exploring Operation: 45*72=3240, Resulting Numbers: [3240]
3240,34 unequal: No Solution
Exploring Operation: 72-45=27, Resulting Numbers: [27]
27,34 unequal: No Solution
Exploring Operation: 45+72=117, Resulting Numbers: [117]
117,34 unequal: No Solution
Moving to Node #0,2,2
Current State: 34:[84, 33], Operations: ['63-18=45', '45-12=33']
Exploring Operation: 84+33=117, Resulting Numbers: [117]
117,34 unequal: No Solution
Exploring Operation: 84*33=2772, Resulting Numbers: [2772]
2772,34 unequal: No Solution
Exploring Operation: 84-33=51, Resulting Numbers: [51]
51,34 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
91,
3,
17,
11
] | 75 | [
"91+17=108",
"3*11=33",
"108-33=75"
] | Current State: 75:[91, 3, 17, 11], Operations: []
Exploring Operation: 91+17=108, Resulting Numbers: [3, 11, 108]
Generated Node #2: [3, 11, 108] from Operation: 91+17=108
Current State: 75:[3, 11, 108], Operations: ['91+17=108']
Exploring Operation: 3*11=33, Resulting Numbers: [108, 33]
Generated Node #3: [108, 33] from Operation: 3*11=33
Current State: 75:[108, 33], Operations: ['91+17=108', '3*11=33']
Exploring Operation: 108-33=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[91, 3, 17, 11], Operations: []
Exploring Operation: 91-17=74, Resulting Numbers: [3, 11, 74]
Generated Node #0,0: 75:[3, 11, 74] Operation: 91-17=74
Moving to Node #0,0
Current State: 75:[3, 11, 74], Operations: ['91-17=74']
Exploring Operation: 3+11=14, Resulting Numbers: [74, 14]
Generated Node #0,0,0: 75:[74, 14] Operation: 3+11=14
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 75:[74, 14], Operations: ['91-17=74', '3+11=14']
Exploring Operation: 74+14=88, Resulting Numbers: [88]
88,75 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,
59,
29,
4
] | 46 | [
"20+59=79",
"29+4=33",
"79-33=46"
] | Current State: 46:[20, 59, 29, 4], Operations: []
Exploring Operation: 20+59=79, Resulting Numbers: [29, 4, 79]
Generated Node #2: [29, 4, 79] from Operation: 20+59=79
Current State: 46:[29, 4, 79], Operations: ['20+59=79']
Exploring Operation: 29+4=33, Resulting Numbers: [79, 33]
Generated Node #3: [79, 33] from Operation: 29+4=33
Current State: 46:[79, 33], Operations: ['20+59=79', '29+4=33']
Exploring Operation: 79-33=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[20, 59, 29, 4], Operations: []
Exploring Operation: 59-4=55, Resulting Numbers: [20, 29, 55]
Generated Node #0,0: 46:[20, 29, 55] Operation: 59-4=55
Exploring Operation: 20+29=49, Resulting Numbers: [59, 4, 49]
Generated Node #0,1: 46:[59, 4, 49] Operation: 20+29=49
Exploring Operation: 59-29=30, Resulting Numbers: [20, 4, 30]
Generated Node #0,2: 46:[20, 4, 30] Operation: 59-29=30
Exploring Operation: 29-4=25, Resulting Numbers: [20, 59, 25]
Generated Node #0,3: 46:[20, 59, 25] Operation: 29-4=25
Exploring Operation: 59-20=39, Resulting Numbers: [29, 4, 39]
Generated Node #0,4: 46:[29, 4, 39] Operation: 59-20=39
Start Sub Search at level 1: Moving to Node #0,2
Current State: 46:[20, 4, 30], Operations: ['59-29=30']
Exploring Operation: 20+4=24, Resulting Numbers: [30, 24]
Generated Node #0,2,0: 46:[30, 24] Operation: 20+4=24
Exploring Operation: 30-20=10, Resulting Numbers: [4, 10]
Generated Node #0,2,1: 46:[4, 10] Operation: 30-20=10
Exploring Operation: 30-4=26, Resulting Numbers: [20, 26]
Generated Node #0,2,2: 46:[20, 26] Operation: 30-4=26
Exploring Operation: 20/4=5, Resulting Numbers: [30, 5]
Generated Node #0,2,3: 46:[30, 5] Operation: 20/4=5
Exploring Operation: 20+30=50, Resulting Numbers: [4, 50]
Generated Node #0,2,4: 46:[4, 50] Operation: 20+30=50
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 46:[20, 26], Operations: ['59-29=30', '30-4=26']
Exploring Operation: 20*26=520, Resulting Numbers: [520]
520,46 unequal: No Solution
Exploring Operation: 20+26=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[20, 59, 29, 4], Operations: []
Exploring Operation: 59-29=30, Resulting Numbers: [20, 4, 30]
Generated Node #0,2: 46:[20, 4, 30] Operation: 59-29=30
Moving to Node #0,2
Current State: 46:[20, 4, 30], Operations: ['59-29=30']
Exploring Operation: 30-4=26, Resulting Numbers: [20, 26]
Generated Node #0,2,2: 46:[20, 26] Operation: 30-4=26
Moving to Node #0,2,2
Current State: 46:[20, 26], Operations: ['59-29=30', '30-4=26']
Exploring Operation: 20+26=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
98,
91,
42,
8
] | 15 | [
"91*8=728",
"728-98=630",
"630/42=15"
] | Current State: 15:[98, 91, 42, 8], Operations: []
Exploring Operation: 91*8=728, Resulting Numbers: [98, 42, 728]
Generated Node #2: [98, 42, 728] from Operation: 91*8=728
Current State: 15:[98, 42, 728], Operations: ['91*8=728']
Exploring Operation: 728-98=630, Resulting Numbers: [42, 630]
Generated Node #3: [42, 630] from Operation: 728-98=630
Current State: 15:[42, 630], Operations: ['91*8=728', '728-98=630']
Exploring Operation: 630/42=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[98, 91, 42, 8], Operations: []
Exploring Operation: 98-42=56, Resulting Numbers: [91, 8, 56]
Generated Node #0,0: 15:[91, 8, 56] Operation: 98-42=56
Exploring Operation: 98-91=7, Resulting Numbers: [42, 8, 7]
Generated Node #0,1: 15:[42, 8, 7] Operation: 98-91=7
Moving to Node #0,1
Current State: 15:[42, 8, 7], Operations: ['98-91=7']
Exploring Operation: 42/7=6, Resulting Numbers: [8, 6]
Generated Node #0,1,0: 15:[8, 6] Operation: 42/7=6
Exploring Operation: 42-8=34, Resulting Numbers: [7, 34]
Generated Node #0,1,1: 15:[7, 34] Operation: 42-8=34
Moving to Node #0,0
Current State: 15:[91, 8, 56], Operations: ['98-42=56']
Exploring Operation: 56/8=7, Resulting Numbers: [91, 7]
Generated Node #0,0,0: 15:[91, 7] Operation: 56/8=7
Exploring Operation: 91-56=35, Resulting Numbers: [8, 35]
Generated Node #0,0,1: 15:[8, 35] Operation: 91-56=35
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 15:[8, 35], Operations: ['98-42=56', '91-56=35']
Exploring Operation: 35-8=27, Resulting Numbers: [27]
27,15 unequal: No Solution
Exploring Operation: 8+35=43, Resulting Numbers: [43]
43,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 15:[91, 7], Operations: ['98-42=56', '56/8=7']
Exploring Operation: 91/7=13, Resulting Numbers: [13]
13,15 unequal: No Solution
Exploring Operation: 91-7=84, Resulting Numbers: [84]
84,15 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: 15:[8, 6], Operations: ['98-91=7', '42/7=6']
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,15 unequal: No Solution
Moving to Node #0,1,1
Current State: 15:[7, 34], Operations: ['98-91=7', '42-8=34']
Exploring Operation: 7+34=41, Resulting Numbers: [41]
41,15 unequal: No Solution
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,15 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
69,
87,
51,
46
] | 90 | [
"87-69=18",
"51-46=5",
"18*5=90"
] | Current State: 90:[69, 87, 51, 46], Operations: []
Exploring Operation: 87-69=18, Resulting Numbers: [51, 46, 18]
Generated Node #2: [51, 46, 18] from Operation: 87-69=18
Current State: 90:[51, 46, 18], Operations: ['87-69=18']
Exploring Operation: 51-46=5, Resulting Numbers: [18, 5]
Generated Node #3: [18, 5] from Operation: 51-46=5
Current State: 90:[18, 5], Operations: ['87-69=18', '51-46=5']
Exploring Operation: 18*5=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[69, 87, 51, 46], Operations: []
Exploring Operation: 69-46=23, Resulting Numbers: [87, 51, 23]
Generated Node #0,0: 90:[87, 51, 23] Operation: 69-46=23
Exploring Operation: 87-51=36, Resulting Numbers: [69, 46, 36]
Generated Node #0,1: 90:[69, 46, 36] Operation: 87-51=36
Exploring Operation: 69-51=18, Resulting Numbers: [87, 46, 18]
Generated Node #0,2: 90:[87, 46, 18] Operation: 69-51=18
Exploring Operation: 51-46=5, Resulting Numbers: [69, 87, 5]
Generated Node #0,3: 90:[69, 87, 5] Operation: 51-46=5
Exploring Operation: 87-69=18, Resulting Numbers: [51, 46, 18]
Generated Node #0,4: 90:[51, 46, 18] Operation: 87-69=18
Start Sub Search at level 1: Moving to Node #0,2
Current State: 90:[87, 46, 18], Operations: ['69-51=18']
Exploring Operation: 87-46=41, Resulting Numbers: [18, 41]
Generated Node #0,2,0: 90:[18, 41] Operation: 87-46=41
Exploring Operation: 46+18=64, Resulting Numbers: [87, 64]
Generated Node #0,2,1: 90:[87, 64] Operation: 46+18=64
Exploring Operation: 46-18=28, Resulting Numbers: [87, 28]
Generated Node #0,2,2: 90:[87, 28] Operation: 46-18=28
Exploring Operation: 87-18=69, Resulting Numbers: [46, 69]
Generated Node #0,2,3: 90:[46, 69] Operation: 87-18=69
Exploring Operation: 87+18=105, Resulting Numbers: [46, 105]
Generated Node #0,2,4: 90:[46, 105] Operation: 87+18=105
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 90:[18, 41], Operations: ['69-51=18', '87-46=41']
Exploring Operation: 41-18=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Exploring Operation: 18+41=59, Resulting Numbers: [59]
59,90 unequal: No Solution
Exploring Operation: 18*41=738, Resulting Numbers: [738]
738,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,2
Current State: 90:[87, 28], Operations: ['69-51=18', '46-18=28']
Exploring Operation: 87+28=115, Resulting Numbers: [115]
115,90 unequal: No Solution
Exploring Operation: 87*28=2436, Resulting Numbers: [2436]
2436,90 unequal: No Solution
Exploring Operation: 87-28=59, Resulting Numbers: [59]
59,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,4
Current State: 90:[46, 105], Operations: ['69-51=18', '87+18=105']
Exploring Operation: 46+105=151, Resulting Numbers: [151]
151,90 unequal: No Solution
Exploring Operation: 105-46=59, Resulting Numbers: [59]
59,90 unequal: No Solution
Exploring Operation: 46*105=4830, Resulting Numbers: [4830]
4830,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:[87, 64], Operations: ['69-51=18', '46+18=64']
Exploring Operation: 87-64=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Exploring Operation: 87+64=151, Resulting Numbers: [151]
151,90 unequal: No Solution
Exploring Operation: 87*64=5568, Resulting Numbers: [5568]
5568,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:[46, 69], Operations: ['69-51=18', '87-18=69']
Exploring Operation: 69-46=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Exploring Operation: 46*69=3174, Resulting Numbers: [3174]
3174,90 unequal: No Solution
Exploring Operation: 46+69=115, Resulting Numbers: [115]
115,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,4
Current State: 90:[51, 46, 18], Operations: ['87-69=18']
Exploring Operation: 51+46=97, Resulting Numbers: [18, 97]
Generated Node #0,4,0: 90:[18, 97] Operation: 51+46=97
Exploring Operation: 51+18=69, Resulting Numbers: [46, 69]
Generated Node #0,4,1: 90:[46, 69] Operation: 51+18=69
Exploring Operation: 51-46=5, Resulting Numbers: [18, 5]
Generated Node #0,4,2: 90:[18, 5] Operation: 51-46=5
Exploring Operation: 46-18=28, Resulting Numbers: [51, 28]
Generated Node #0,4,3: 90:[51, 28] Operation: 46-18=28
Exploring Operation: 51-18=33, Resulting Numbers: [46, 33]
Generated Node #0,4,4: 90:[46, 33] Operation: 51-18=33
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 90:[18, 5], Operations: ['87-69=18', '51-46=5']
Exploring Operation: 18*5=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[69, 87, 51, 46], Operations: []
Exploring Operation: 87-69=18, Resulting Numbers: [51, 46, 18]
Generated Node #0,4: 90:[51, 46, 18] Operation: 87-69=18
Moving to Node #0,4
Current State: 90:[51, 46, 18], Operations: ['87-69=18']
Exploring Operation: 51-46=5, Resulting Numbers: [18, 5]
Generated Node #0,4,2: 90:[18, 5] Operation: 51-46=5
Moving to Node #0,4,2
Current State: 90:[18, 5], Operations: ['87-69=18', '51-46=5']
Exploring Operation: 18*5=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618 | hs_5 | sum_heuristic |
[
73,
6,
56,
4
] | 62 | [
"73-56=17",
"4*17=68",
"68-6=62"
] | Current State: 62:[73, 6, 56, 4], Operations: []
Exploring Operation: 73-56=17, Resulting Numbers: [6, 4, 17]
Generated Node #2: [6, 4, 17] from Operation: 73-56=17
Current State: 62:[6, 4, 17], Operations: ['73-56=17']
Exploring Operation: 4*17=68, Resulting Numbers: [6, 68]
Generated Node #3: [6, 68] from Operation: 4*17=68
Current State: 62:[6, 68], Operations: ['73-56=17', '4*17=68']
Exploring Operation: 68-6=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[73, 6, 56, 4], Operations: []
Exploring Operation: 6-4=2, Resulting Numbers: [73, 56, 2]
Generated Node #0,0: 62:[73, 56, 2] Operation: 6-4=2
Exploring Operation: 73-6=67, Resulting Numbers: [56, 4, 67]
Generated Node #0,1: 62:[56, 4, 67] Operation: 73-6=67
Exploring Operation: 6+56=62, Resulting Numbers: [73, 4, 62]
Generated Node #0,2: 62:[73, 4, 62] Operation: 6+56=62
Exploring Operation: 73-4=69, Resulting Numbers: [6, 56, 69]
Generated Node #0,3: 62:[6, 56, 69] Operation: 73-4=69
Moving to Node #0,1
Current State: 62:[56, 4, 67], Operations: ['73-6=67']
Exploring Operation: 67-4=63, Resulting Numbers: [56, 63]
Generated Node #0,1,0: 62:[56, 63] Operation: 67-4=63
Exploring Operation: 56+4=60, Resulting Numbers: [67, 60]
Generated Node #0,1,1: 62:[67, 60] Operation: 56+4=60
Exploring Operation: 56-4=52, Resulting Numbers: [67, 52]
Generated Node #0,1,2: 62:[67, 52] Operation: 56-4=52
Exploring Operation: 67-56=11, Resulting Numbers: [4, 11]
Generated Node #0,1,3: 62:[4, 11] Operation: 67-56=11
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 62:[56, 63], Operations: ['73-6=67', '67-4=63']
Exploring Operation: 63-56=7, Resulting Numbers: [7]
7,62 unequal: No Solution
Exploring Operation: 56*63=3528, Resulting Numbers: [3528]
3528,62 unequal: No Solution
Exploring Operation: 56+63=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,1,1
Current State: 62:[67, 60], Operations: ['73-6=67', '56+4=60']
Exploring Operation: 67+60=127, Resulting Numbers: [127]
127,62 unequal: No Solution
Exploring Operation: 67*60=4020, Resulting Numbers: [4020]
4020,62 unequal: No Solution
Exploring Operation: 67-60=7, Resulting Numbers: [7]
7,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 62:[4, 11], Operations: ['73-6=67', '67-56=11']
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,62 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,62 unequal: No Solution
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,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:[67, 52], Operations: ['73-6=67', '56-4=52']
Exploring Operation: 67*52=3484, Resulting Numbers: [3484]
3484,62 unequal: No Solution
Exploring Operation: 67-52=15, Resulting Numbers: [15]
15,62 unequal: No Solution
Exploring Operation: 67+52=119, Resulting Numbers: [119]
119,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 62:[73, 4, 62], Operations: ['6+56=62']
Exploring Operation: 73-4=69, Resulting Numbers: [62, 69]
Generated Node #0,2,0: 62:[62, 69] Operation: 73-4=69
Exploring Operation: 4+62=66, Resulting Numbers: [73, 66]
Generated Node #0,2,1: 62:[73, 66] Operation: 4+62=66
Exploring Operation: 73-62=11, Resulting Numbers: [4, 11]
Generated Node #0,2,2: 62:[4, 11] Operation: 73-62=11
Exploring Operation: 73+4=77, Resulting Numbers: [62, 77]
Generated Node #0,2,3: 62:[62, 77] Operation: 73+4=77
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 62:[62, 69], Operations: ['6+56=62', '73-4=69']
Exploring Operation: 62+69=131, Resulting Numbers: [131]
131,62 unequal: No Solution
Exploring Operation: 62*69=4278, Resulting Numbers: [4278]
4278,62 unequal: No Solution
Exploring Operation: 69-62=7, Resulting Numbers: [7]
7,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 62:[4, 11], Operations: ['6+56=62', '73-62=11']
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,62 unequal: No Solution
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,62 unequal: No Solution
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 62:[73, 66], Operations: ['6+56=62', '4+62=66']
Exploring Operation: 73+66=139, Resulting Numbers: [139]
139,62 unequal: No Solution
Exploring Operation: 73-66=7, Resulting Numbers: [7]
7,62 unequal: No Solution
Exploring Operation: 73*66=4818, Resulting Numbers: [4818]
4818,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 62:[62, 77], Operations: ['6+56=62', '73+4=77']
Exploring Operation: 77-62=15, Resulting Numbers: [15]
15,62 unequal: No Solution
Exploring Operation: 62+77=139, Resulting Numbers: [139]
139,62 unequal: No Solution
Exploring Operation: 62*77=4774, Resulting Numbers: [4774]
4774,62 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: 62:[6, 56, 69], Operations: ['73-4=69']
Exploring Operation: 56-6=50, Resulting Numbers: [69, 50]
Generated Node #0,3,0: 62:[69, 50] Operation: 56-6=50
Exploring Operation: 69-56=13, Resulting Numbers: [6, 13]
Generated Node #0,3,1: 62:[6, 13] Operation: 69-56=13
Exploring Operation: 6+56=62, Resulting Numbers: [69, 62]
Generated Node #0,3,2: 62:[69, 62] Operation: 6+56=62
Exploring Operation: 69-6=63, Resulting Numbers: [56, 63]
Generated Node #0,3,3: 62:[56, 63] Operation: 69-6=63
Moving to Node #0,0
Current State: 62:[73, 56, 2], Operations: ['6-4=2']
Exploring Operation: 73-56=17, Resulting Numbers: [2, 17]
Generated Node #0,0,0: 62:[2, 17] Operation: 73-56=17
Exploring Operation: 56/2=28, Resulting Numbers: [73, 28]
Generated Node #0,0,1: 62:[73, 28] Operation: 56/2=28
Exploring Operation: 73-2=71, Resulting Numbers: [56, 71]
Generated Node #0,0,2: 62:[56, 71] Operation: 73-2=71
Exploring Operation: 56+2=58, Resulting Numbers: [73, 58]
Generated Node #0,0,3: 62:[73, 58] Operation: 56+2=58
Moving to Node #0,3,2
Current State: 62:[69, 62], Operations: ['73-4=69', '6+56=62']
Exploring Operation: 69+62=131, Resulting Numbers: [131]
131,62 unequal: No Solution
Exploring Operation: 69-62=7, Resulting Numbers: [7]
7,62 unequal: No Solution
Exploring Operation: 69*62=4278, Resulting Numbers: [4278]
4278,62 unequal: No Solution
Moving to Node #0,3,3
Current State: 62:[56, 63], Operations: ['73-4=69', '69-6=63']
Exploring Operation: 56+63=119, Resulting Numbers: [119]
119,62 unequal: No Solution
Exploring Operation: 56*63=3528, Resulting Numbers: [3528]
3528,62 unequal: No Solution
Exploring Operation: 63-56=7, Resulting Numbers: [7]
7,62 unequal: No Solution
Moving to Node #0,0,1
Current State: 62:[73, 28], Operations: ['6-4=2', '56/2=28']
Exploring Operation: 73+28=101, Resulting Numbers: [101]
101,62 unequal: No Solution
Exploring Operation: 73-28=45, Resulting Numbers: [45]
45,62 unequal: No Solution
Exploring Operation: 73*28=2044, Resulting Numbers: [2044]
2044,62 unequal: No Solution
Moving to Node #0,0,0
Current State: 62:[2, 17], Operations: ['6-4=2', '73-56=17']
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,62 unequal: No Solution
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,62 unequal: No Solution
Moving to Node #0,3,1
Current State: 62:[6, 13], Operations: ['73-4=69', '69-56=13']
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,62 unequal: No Solution
Exploring Operation: 6*13=78, Resulting Numbers: [78]
78,62 unequal: No Solution
Exploring Operation: 6+13=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Moving to Node #0,0,3
Current State: 62:[73, 58], Operations: ['6-4=2', '56+2=58']
Exploring Operation: 73-58=15, Resulting Numbers: [15]
15,62 unequal: No Solution
Exploring Operation: 73*58=4234, Resulting Numbers: [4234]
4234,62 unequal: No Solution
Exploring Operation: 73+58=131, Resulting Numbers: [131]
131,62 unequal: No Solution
Moving to Node #0,0,2
Current State: 62:[56, 71], Operations: ['6-4=2', '73-2=71']
Exploring Operation: 56*71=3976, Resulting Numbers: [3976]
3976,62 unequal: No Solution
Exploring Operation: 56+71=127, Resulting Numbers: [127]
127,62 unequal: No Solution
Exploring Operation: 71-56=15, Resulting Numbers: [15]
15,62 unequal: No Solution
Moving to Node #0,3,0
Current State: 62:[69, 50], Operations: ['73-4=69', '56-6=50']
Exploring Operation: 69*50=3450, Resulting Numbers: [3450]
3450,62 unequal: No Solution
Exploring Operation: 69-50=19, Resulting Numbers: [19]
19,62 unequal: No Solution
Exploring Operation: 69+50=119, Resulting Numbers: [119]
119,62 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
11,
88,
10,
3
] | 86 | [
"11+88=99",
"10+3=13",
"99-13=86"
] | Current State: 86:[11, 88, 10, 3], Operations: []
Exploring Operation: 11+88=99, Resulting Numbers: [10, 3, 99]
Generated Node #2: [10, 3, 99] from Operation: 11+88=99
Current State: 86:[10, 3, 99], Operations: ['11+88=99']
Exploring Operation: 10+3=13, Resulting Numbers: [99, 13]
Generated Node #3: [99, 13] from Operation: 10+3=13
Current State: 86:[99, 13], Operations: ['11+88=99', '10+3=13']
Exploring Operation: 99-13=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[11, 88, 10, 3], Operations: []
Exploring Operation: 11-10=1, Resulting Numbers: [88, 3, 1]
Generated Node #0,0: 86:[88, 3, 1] Operation: 11-10=1
Moving to Node #0,0
Current State: 86:[88, 3, 1], Operations: ['11-10=1']
Exploring Operation: 88-3=85, Resulting Numbers: [1, 85]
Generated Node #0,0,0: 86:[1, 85] Operation: 88-3=85
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[1, 85], Operations: ['11-10=1', '88-3=85']
Exploring Operation: 1+85=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[11, 88, 10, 3], Operations: []
Exploring Operation: 11-10=1, Resulting Numbers: [88, 3, 1]
Generated Node #0,0: 86:[88, 3, 1] Operation: 11-10=1
Moving to Node #0,0
Current State: 86:[88, 3, 1], Operations: ['11-10=1']
Exploring Operation: 88-3=85, Resulting Numbers: [1, 85]
Generated Node #0,0,0: 86:[1, 85] Operation: 88-3=85
Moving to Node #0,0,0
Current State: 86:[1, 85], Operations: ['11-10=1', '88-3=85']
Exploring Operation: 1+85=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
22,
35,
11,
74
] | 69 | [
"35-22=13",
"11*13=143",
"143-74=69"
] | Current State: 69:[22, 35, 11, 74], Operations: []
Exploring Operation: 35-22=13, Resulting Numbers: [11, 74, 13]
Generated Node #2: [11, 74, 13] from Operation: 35-22=13
Current State: 69:[11, 74, 13], Operations: ['35-22=13']
Exploring Operation: 11*13=143, Resulting Numbers: [74, 143]
Generated Node #3: [74, 143] from Operation: 11*13=143
Current State: 69:[74, 143], Operations: ['35-22=13', '11*13=143']
Exploring Operation: 143-74=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[22, 35, 11, 74], Operations: []
Exploring Operation: 35-11=24, Resulting Numbers: [22, 74, 24]
Generated Node #0,0: 69:[22, 74, 24] Operation: 35-11=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[22, 74, 24], Operations: ['35-11=24']
Exploring Operation: 24-22=2, Resulting Numbers: [74, 2]
Generated Node #0,0,0: 69:[74, 2] Operation: 24-22=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 69:[74, 2], Operations: ['35-11=24', '24-22=2']
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,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 |
[
69,
9,
79,
43
] | 96 | [
"69-9=60",
"79-43=36",
"60+36=96"
] | Current State: 96:[69, 9, 79, 43], Operations: []
Exploring Operation: 69-9=60, Resulting Numbers: [79, 43, 60]
Generated Node #2: [79, 43, 60] from Operation: 69-9=60
Current State: 96:[79, 43, 60], Operations: ['69-9=60']
Exploring Operation: 79-43=36, Resulting Numbers: [60, 36]
Generated Node #3: [60, 36] from Operation: 79-43=36
Current State: 96:[60, 36], Operations: ['69-9=60', '79-43=36']
Exploring Operation: 60+36=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[69, 9, 79, 43], Operations: []
Exploring Operation: 79-69=10, Resulting Numbers: [9, 43, 10]
Generated Node #0,0: 96:[9, 43, 10] Operation: 79-69=10
Exploring Operation: 69-43=26, Resulting Numbers: [9, 79, 26]
Generated Node #0,1: 96:[9, 79, 26] Operation: 69-43=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[9, 43, 10], Operations: ['79-69=10']
Exploring Operation: 43-10=33, Resulting Numbers: [9, 33]
Generated Node #0,0,0: 96:[9, 33] Operation: 43-10=33
Exploring Operation: 43-9=34, Resulting Numbers: [10, 34]
Generated Node #0,0,1: 96:[10, 34] Operation: 43-9=34
Moving to Node #0,0,0
Current State: 96:[9, 33], Operations: ['79-69=10', '43-10=33']
Exploring Operation: 33-9=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Exploring Operation: 9+33=42, Resulting Numbers: [42]
42,96 unequal: No Solution
Moving to Node #0,0,1
Current State: 96:[10, 34], Operations: ['79-69=10', '43-9=34']
Exploring Operation: 10+34=44, Resulting Numbers: [44]
44,96 unequal: No Solution
Exploring Operation: 34-10=24, Resulting Numbers: [24]
24,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:[9, 79, 26], Operations: ['69-43=26']
Exploring Operation: 9+79=88, Resulting Numbers: [26, 88]
Generated Node #0,1,0: 96:[26, 88] Operation: 9+79=88
Exploring Operation: 79-26=53, Resulting Numbers: [9, 53]
Generated Node #0,1,1: 96:[9, 53] Operation: 79-26=53
Moving to Node #0,1,1
Current State: 96:[9, 53], Operations: ['69-43=26', '79-26=53']
Exploring Operation: 53-9=44, Resulting Numbers: [44]
44,96 unequal: No Solution
Exploring Operation: 9+53=62, Resulting Numbers: [62]
62,96 unequal: No Solution
Moving to Node #0,1,0
Current State: 96:[26, 88], Operations: ['69-43=26', '9+79=88']
Exploring Operation: 26+88=114, Resulting Numbers: [114]
114,96 unequal: No Solution
Exploring Operation: 88-26=62, Resulting Numbers: [62]
62,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
19,
93,
53,
2
] | 32 | [
"93-19=74",
"53*2=106",
"106-74=32"
] | Current State: 32:[19, 93, 53, 2], Operations: []
Exploring Operation: 93-19=74, Resulting Numbers: [53, 2, 74]
Generated Node #2: [53, 2, 74] from Operation: 93-19=74
Current State: 32:[53, 2, 74], Operations: ['93-19=74']
Exploring Operation: 53*2=106, Resulting Numbers: [74, 106]
Generated Node #3: [74, 106] from Operation: 53*2=106
Current State: 32:[74, 106], Operations: ['93-19=74', '53*2=106']
Exploring Operation: 106-74=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[19, 93, 53, 2], Operations: []
Exploring Operation: 53-19=34, Resulting Numbers: [93, 2, 34]
Generated Node #0,0: 32:[93, 2, 34] Operation: 53-19=34
Exploring Operation: 19-2=17, Resulting Numbers: [93, 53, 17]
Generated Node #0,1: 32:[93, 53, 17] Operation: 19-2=17
Exploring Operation: 93-2=91, Resulting Numbers: [19, 53, 91]
Generated Node #0,2: 32:[19, 53, 91] Operation: 93-2=91
Exploring Operation: 93-19=74, Resulting Numbers: [53, 2, 74]
Generated Node #0,3: 32:[53, 2, 74] Operation: 93-19=74
Exploring Operation: 93-53=40, Resulting Numbers: [19, 2, 40]
Generated Node #0,4: 32:[19, 2, 40] Operation: 93-53=40
Moving to Node #0,4
Current State: 32:[19, 2, 40], Operations: ['93-53=40']
Exploring Operation: 40/2=20, Resulting Numbers: [19, 20]
Generated Node #0,4,0: 32:[19, 20] Operation: 40/2=20
Exploring Operation: 19-2=17, Resulting Numbers: [40, 17]
Generated Node #0,4,1: 32:[40, 17] Operation: 19-2=17
Exploring Operation: 40-2=38, Resulting Numbers: [19, 38]
Generated Node #0,4,2: 32:[19, 38] Operation: 40-2=38
Exploring Operation: 40-19=21, Resulting Numbers: [2, 21]
Generated Node #0,4,3: 32:[2, 21] Operation: 40-19=21
Exploring Operation: 19+2=21, Resulting Numbers: [40, 21]
Generated Node #0,4,4: 32:[40, 21] Operation: 19+2=21
Moving to Node #0,3
Current State: 32:[53, 2, 74], Operations: ['93-19=74']
Exploring Operation: 74/2=37, Resulting Numbers: [53, 37]
Generated Node #0,3,0: 32:[53, 37] Operation: 74/2=37
Exploring Operation: 53+2=55, Resulting Numbers: [74, 55]
Generated Node #0,3,1: 32:[74, 55] Operation: 53+2=55
Exploring Operation: 53-2=51, Resulting Numbers: [74, 51]
Generated Node #0,3,2: 32:[74, 51] Operation: 53-2=51
Exploring Operation: 74-2=72, Resulting Numbers: [53, 72]
Generated Node #0,3,3: 32:[53, 72] Operation: 74-2=72
Exploring Operation: 74-53=21, Resulting Numbers: [2, 21]
Generated Node #0,3,4: 32:[2, 21] Operation: 74-53=21
Moving to Node #0,0
Current State: 32:[93, 2, 34], Operations: ['53-19=34']
Exploring Operation: 93-2=91, Resulting Numbers: [34, 91]
Generated Node #0,0,0: 32:[34, 91] Operation: 93-2=91
Exploring Operation: 93+2=95, Resulting Numbers: [34, 95]
Generated Node #0,0,1: 32:[34, 95] Operation: 93+2=95
Exploring Operation: 34/2=17, Resulting Numbers: [93, 17]
Generated Node #0,0,2: 32:[93, 17] Operation: 34/2=17
Exploring Operation: 93-34=59, Resulting Numbers: [2, 59]
Generated Node #0,0,3: 32:[2, 59] Operation: 93-34=59
Exploring Operation: 34-2=32, Resulting Numbers: [93, 32]
Generated Node #0,0,4: 32:[93, 32] Operation: 34-2=32
Moving to Node #0,1
Current State: 32:[93, 53, 17], Operations: ['19-2=17']
Exploring Operation: 93-17=76, Resulting Numbers: [53, 76]
Generated Node #0,1,0: 32:[53, 76] Operation: 93-17=76
Exploring Operation: 53+17=70, Resulting Numbers: [93, 70]
Generated Node #0,1,1: 32:[93, 70] Operation: 53+17=70
Exploring Operation: 53-17=36, Resulting Numbers: [93, 36]
Generated Node #0,1,2: 32:[93, 36] Operation: 53-17=36
Exploring Operation: 93-53=40, Resulting Numbers: [17, 40]
Generated Node #0,1,3: 32:[17, 40] Operation: 93-53=40
Exploring Operation: 93+17=110, Resulting Numbers: [53, 110]
Generated Node #0,1,4: 32:[53, 110] Operation: 93+17=110
Moving to Node #0,2
Current State: 32:[19, 53, 91], Operations: ['93-2=91']
Exploring Operation: 19+91=110, Resulting Numbers: [53, 110]
Generated Node #0,2,0: 32:[53, 110] Operation: 19+91=110
Exploring Operation: 91-19=72, Resulting Numbers: [53, 72]
Generated Node #0,2,1: 32:[53, 72] Operation: 91-19=72
Exploring Operation: 19+53=72, Resulting Numbers: [91, 72]
Generated Node #0,2,2: 32:[91, 72] Operation: 19+53=72
Exploring Operation: 53-19=34, Resulting Numbers: [91, 34]
Generated Node #0,2,3: 32:[91, 34] Operation: 53-19=34
Exploring Operation: 91-53=38, Resulting Numbers: [19, 38]
Generated Node #0,2,4: 32:[19, 38] Operation: 91-53=38
Moving to Node #0,4,3
Current State: 32:[2, 21], Operations: ['93-53=40', '40-19=21']
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,32 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,32 unequal: No Solution
Moving to Node #0,3,4
Current State: 32:[2, 21], Operations: ['93-19=74', '74-53=21']
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,32 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,32 unequal: No Solution
Moving to Node #0,4,0
Current State: 32:[19, 20], Operations: ['93-53=40', '40/2=20']
Exploring Operation: 19+20=39, Resulting Numbers: [39]
39,32 unequal: No Solution
Exploring Operation: 19*20=380, Resulting Numbers: [380]
380,32 unequal: No Solution
Exploring Operation: 20-19=1, Resulting Numbers: [1]
1,32 unequal: No Solution
Moving to Node #0,4,1
Current State: 32:[40, 17], Operations: ['93-53=40', '19-2=17']
Exploring Operation: 40-17=23, Resulting Numbers: [23]
23,32 unequal: No Solution
Exploring Operation: 40*17=680, Resulting Numbers: [680]
680,32 unequal: No Solution
Exploring Operation: 40+17=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Moving to Node #0,2,4
Current State: 32:[19, 38], Operations: ['93-2=91', '91-53=38']
Exploring Operation: 19*38=722, Resulting Numbers: [722]
722,32 unequal: No Solution
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Exploring Operation: 19+38=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Exploring Operation: 38/19=2, Resulting Numbers: [2]
2,32 unequal: No Solution
Moving to Node #0,4,2
Current State: 32:[19, 38], Operations: ['93-53=40', '40-2=38']
Exploring Operation: 19+38=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Exploring Operation: 38/19=2, Resulting Numbers: [2]
2,32 unequal: No Solution
Exploring Operation: 19*38=722, Resulting Numbers: [722]
722,32 unequal: No Solution
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Moving to Node #0,1,3
Current State: 32:[17, 40], Operations: ['19-2=17', '93-53=40']
Exploring Operation: 40-17=23, Resulting Numbers: [23]
23,32 unequal: No Solution
Exploring Operation: 17+40=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Exploring Operation: 17*40=680, Resulting Numbers: [680]
680,32 unequal: No Solution
Moving to Node #0,4,4
Current State: 32:[40, 21], Operations: ['93-53=40', '19+2=21']
Exploring Operation: 40*21=840, Resulting Numbers: [840]
840,32 unequal: No Solution
Exploring Operation: 40-21=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Exploring Operation: 40+21=61, Resulting Numbers: [61]
61,32 unequal: No Solution
Moving to Node #0,3,0
Current State: 32:[53, 37], Operations: ['93-19=74', '74/2=37']
Exploring Operation: 53*37=1961, Resulting Numbers: [1961]
1961,32 unequal: No Solution
Exploring Operation: 53-37=16, Resulting Numbers: [16]
16,32 unequal: No Solution
Exploring Operation: 53+37=90, Resulting Numbers: [90]
90,32 unequal: No Solution
Moving to Node #0,0,3
Current State: 32:[2, 59], Operations: ['53-19=34', '93-34=59']
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Exploring Operation: 2*59=118, Resulting Numbers: [118]
118,32 unequal: No Solution
Exploring Operation: 2+59=61, Resulting Numbers: [61]
61,32 unequal: No Solution
Moving to Node #0,2,3
Current State: 32:[91, 34], Operations: ['93-2=91', '53-19=34']
Exploring Operation: 91+34=125, Resulting Numbers: [125]
125,32 unequal: No Solution
Exploring Operation: 91*34=3094, Resulting Numbers: [3094]
3094,32 unequal: No Solution
Exploring Operation: 91-34=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Moving to Node #0,0,4
Current State: 32:[93, 32], Operations: ['53-19=34', '34-2=32']
Exploring Operation: 93-32=61, Resulting Numbers: [61]
61,32 unequal: No Solution
Exploring Operation: 93+32=125, Resulting Numbers: [125]
125,32 unequal: No Solution
Exploring Operation: 93*32=2976, Resulting Numbers: [2976]
2976,32 unequal: No Solution
Moving to Node #0,0,0
Current State: 32:[34, 91], Operations: ['53-19=34', '93-2=91']
Exploring Operation: 91-34=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Exploring Operation: 34*91=3094, Resulting Numbers: [3094]
3094,32 unequal: No Solution
Exploring Operation: 34+91=125, Resulting Numbers: [125]
125,32 unequal: No Solution
Moving to Node #0,3,3
Current State: 32:[53, 72], Operations: ['93-19=74', '74-2=72']
Exploring Operation: 53+72=125, Resulting Numbers: [125]
125,32 unequal: No Solution
Exploring Operation: 53*72=3816, Resulting Numbers: [3816]
3816,32 unequal: No Solution
Exploring Operation: 72-53=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Moving to Node #0,3,2
Current State: 32:[74, 51], Operations: ['93-19=74', '53-2=51']
Exploring Operation: 74*51=3774, Resulting Numbers: [3774]
3774,32 unequal: No Solution
Exploring Operation: 74-51=23, Resulting Numbers: [23]
23,32 unequal: No Solution
Exploring Operation: 74+51=125, Resulting Numbers: [125]
125,32 unequal: No Solution
Moving to Node #0,2,1
Current State: 32:[53, 72], Operations: ['93-2=91', '91-19=72']
Exploring Operation: 53*72=3816, Resulting Numbers: [3816]
3816,32 unequal: No Solution
Exploring Operation: 53+72=125, Resulting Numbers: [125]
125,32 unequal: No Solution
Exploring Operation: 72-53=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Moving to Node #0,0,2
Current State: 32:[93, 17], Operations: ['53-19=34', '34/2=17']
Exploring Operation: 93-17=76, Resulting Numbers: [76]
76,32 unequal: No Solution
Exploring Operation: 93+17=110, Resulting Numbers: [110]
110,32 unequal: No Solution
Exploring Operation: 93*17=1581, Resulting Numbers: [1581]
1581,32 unequal: No Solution
Moving to Node #0,1,0
Current State: 32:[53, 76], Operations: ['19-2=17', '93-17=76']
Exploring Operation: 53+76=129, Resulting Numbers: [129]
129,32 unequal: No Solution
Exploring Operation: 76-53=23, Resulting Numbers: [23]
23,32 unequal: No Solution
Exploring Operation: 53*76=4028, Resulting Numbers: [4028]
4028,32 unequal: No Solution
Moving to Node #0,0,1
Current State: 32:[34, 95], Operations: ['53-19=34', '93+2=95']
Exploring Operation: 34+95=129, Resulting Numbers: [129]
129,32 unequal: No Solution
Exploring Operation: 34*95=3230, Resulting Numbers: [3230]
3230,32 unequal: No Solution
Exploring Operation: 95-34=61, Resulting Numbers: [61]
61,32 unequal: No Solution
Moving to Node #0,3,1
Current State: 32:[74, 55], Operations: ['93-19=74', '53+2=55']
Exploring Operation: 74-55=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Exploring Operation: 74+55=129, Resulting Numbers: [129]
129,32 unequal: No Solution
Exploring Operation: 74*55=4070, Resulting Numbers: [4070]
4070,32 unequal: No Solution
Moving to Node #0,1,2
Current State: 32:[93, 36], Operations: ['19-2=17', '53-17=36']
Exploring Operation: 93*36=3348, Resulting Numbers: [3348]
3348,32 unequal: No Solution
Exploring Operation: 93-36=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Exploring Operation: 93+36=129, Resulting Numbers: [129]
129,32 unequal: No Solution
Moving to Node #0,2,0
Current State: 32:[53, 110], Operations: ['93-2=91', '19+91=110']
Exploring Operation: 53+110=163, Resulting Numbers: [163]
163,32 unequal: No Solution
Exploring Operation: 53*110=5830, Resulting Numbers: [5830]
5830,32 unequal: No Solution
Exploring Operation: 110-53=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Moving to Node #0,1,4
Current State: 32:[53, 110], Operations: ['19-2=17', '93+17=110']
Exploring Operation: 53*110=5830, Resulting Numbers: [5830]
5830,32 unequal: No Solution
Exploring Operation: 110-53=57, Resulting Numbers: [57]
57,32 unequal: No Solution
Exploring Operation: 53+110=163, Resulting Numbers: [163]
163,32 unequal: No Solution
Moving to Node #0,1,1
Current State: 32:[93, 70], Operations: ['19-2=17', '53+17=70']
Exploring Operation: 93+70=163, Resulting Numbers: [163]
163,32 unequal: No Solution
Exploring Operation: 93*70=6510, Resulting Numbers: [6510]
6510,32 unequal: No Solution
Exploring Operation: 93-70=23, Resulting Numbers: [23]
23,32 unequal: No Solution
Moving to Node #0,2,2
Current State: 32:[91, 72], Operations: ['93-2=91', '19+53=72']
Exploring Operation: 91-72=19, Resulting Numbers: [19]
19,32 unequal: No Solution
Exploring Operation: 91*72=6552, Resulting Numbers: [6552]
6552,32 unequal: No Solution
Exploring Operation: 91+72=163, Resulting Numbers: [163]
163,32 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
2,
61,
21,
46
] | 65 | [
"2*21=42",
"61+46=107",
"107-42=65"
] | Current State: 65:[2, 61, 21, 46], Operations: []
Exploring Operation: 2*21=42, Resulting Numbers: [61, 46, 42]
Generated Node #2: [61, 46, 42] from Operation: 2*21=42
Current State: 65:[61, 46, 42], Operations: ['2*21=42']
Exploring Operation: 61+46=107, Resulting Numbers: [42, 107]
Generated Node #3: [42, 107] from Operation: 61+46=107
Current State: 65:[42, 107], Operations: ['2*21=42', '61+46=107']
Exploring Operation: 107-42=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[2, 61, 21, 46], Operations: []
Exploring Operation: 21+46=67, Resulting Numbers: [2, 61, 67]
Generated Node #0,0: 65:[2, 61, 67] Operation: 21+46=67
Moving to Node #0,0
Current State: 65:[2, 61, 67], Operations: ['21+46=67']
Exploring Operation: 2+61=63, Resulting Numbers: [67, 63]
Generated Node #0,0,0: 65:[67, 63] Operation: 2+61=63
Moving to Node #0,0,0
Current State: 65:[67, 63], Operations: ['21+46=67', '2+61=63']
Exploring Operation: 67-63=4, Resulting Numbers: [4]
4,65 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
24,
51,
3,
72
] | 57 | [
"24+72=96",
"51*3=153",
"153-96=57"
] | Current State: 57:[24, 51, 3, 72], Operations: []
Exploring Operation: 24+72=96, Resulting Numbers: [51, 3, 96]
Generated Node #2: [51, 3, 96] from Operation: 24+72=96
Current State: 57:[51, 3, 96], Operations: ['24+72=96']
Exploring Operation: 51*3=153, Resulting Numbers: [96, 153]
Generated Node #3: [96, 153] from Operation: 51*3=153
Current State: 57:[96, 153], Operations: ['24+72=96', '51*3=153']
Exploring Operation: 153-96=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[24, 51, 3, 72], Operations: []
Exploring Operation: 72/24=3, Resulting Numbers: [51, 3, 3]
Generated Node #0,0: 57:[51, 3, 3] Operation: 72/24=3
Moving to Node #0,0
Current State: 57:[51, 3, 3], Operations: ['72/24=3']
Exploring Operation: 51/3=17, Resulting Numbers: [3, 17]
Generated Node #0,0,0: 57:[3, 17] Operation: 51/3=17
Moving to Node #0,0,0
Current State: 57:[3, 17], Operations: ['72/24=3', '51/3=17']
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,57 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
68,
20,
84,
54
] | 58 | [
"68+20=88",
"84-54=30",
"88-30=58"
] | Current State: 58:[68, 20, 84, 54], Operations: []
Exploring Operation: 68+20=88, Resulting Numbers: [84, 54, 88]
Generated Node #2: [84, 54, 88] from Operation: 68+20=88
Current State: 58:[84, 54, 88], Operations: ['68+20=88']
Exploring Operation: 84-54=30, Resulting Numbers: [88, 30]
Generated Node #3: [88, 30] from Operation: 84-54=30
Current State: 58:[88, 30], Operations: ['68+20=88', '84-54=30']
Exploring Operation: 88-30=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[68, 20, 84, 54], Operations: []
Exploring Operation: 68-20=48, Resulting Numbers: [84, 54, 48]
Generated Node #0,0: 58:[84, 54, 48] Operation: 68-20=48
Exploring Operation: 84-54=30, Resulting Numbers: [68, 20, 30]
Generated Node #0,1: 58:[68, 20, 30] Operation: 84-54=30
Exploring Operation: 84-20=64, Resulting Numbers: [68, 54, 64]
Generated Node #0,2: 58:[68, 54, 64] Operation: 84-20=64
Exploring Operation: 84-68=16, Resulting Numbers: [20, 54, 16]
Generated Node #0,3: 58:[20, 54, 16] Operation: 84-68=16
Moving to Node #0,1
Current State: 58:[68, 20, 30], Operations: ['84-54=30']
Exploring Operation: 68-30=38, Resulting Numbers: [20, 38]
Generated Node #0,1,0: 58:[20, 38] Operation: 68-30=38
Exploring Operation: 30-20=10, Resulting Numbers: [68, 10]
Generated Node #0,1,1: 58:[68, 10] Operation: 30-20=10
Exploring Operation: 20+30=50, Resulting Numbers: [68, 50]
Generated Node #0,1,2: 58:[68, 50] Operation: 20+30=50
Exploring Operation: 68-20=48, Resulting Numbers: [30, 48]
Generated Node #0,1,3: 58:[30, 48] Operation: 68-20=48
Moving to Node #0,2
Current State: 58:[68, 54, 64], Operations: ['84-20=64']
Exploring Operation: 68-64=4, Resulting Numbers: [54, 4]
Generated Node #0,2,0: 58:[54, 4] Operation: 68-64=4
Exploring Operation: 64-54=10, Resulting Numbers: [68, 10]
Generated Node #0,2,1: 58:[68, 10] Operation: 64-54=10
Exploring Operation: 68-54=14, Resulting Numbers: [64, 14]
Generated Node #0,2,2: 58:[64, 14] Operation: 68-54=14
Exploring Operation: 68+54=122, Resulting Numbers: [64, 122]
Generated Node #0,2,3: 58:[64, 122] Operation: 68+54=122
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 58:[54, 4], Operations: ['84-20=64', '68-64=4']
Exploring Operation: 54+4=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[68, 20, 84, 54], Operations: []
Exploring Operation: 84-20=64, Resulting Numbers: [68, 54, 64]
Generated Node #0,2: 58:[68, 54, 64] Operation: 84-20=64
Moving to Node #0,2
Current State: 58:[68, 54, 64], Operations: ['84-20=64']
Exploring Operation: 68-64=4, Resulting Numbers: [54, 4]
Generated Node #0,2,0: 58:[54, 4] Operation: 68-64=4
Moving to Node #0,2,0
Current State: 58:[54, 4], Operations: ['84-20=64', '68-64=4']
Exploring Operation: 54+4=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
31,
30,
40,
29
] | 100 | [
"31-29=2",
"30*2=60",
"40+60=100"
] | Current State: 100:[31, 30, 40, 29], Operations: []
Exploring Operation: 31-29=2, Resulting Numbers: [30, 40, 2]
Generated Node #2: [30, 40, 2] from Operation: 31-29=2
Current State: 100:[30, 40, 2], Operations: ['31-29=2']
Exploring Operation: 30*2=60, Resulting Numbers: [40, 60]
Generated Node #3: [40, 60] from Operation: 30*2=60
Current State: 100:[40, 60], Operations: ['31-29=2', '30*2=60']
Exploring Operation: 40+60=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[31, 30, 40, 29], Operations: []
Exploring Operation: 40-31=9, Resulting Numbers: [30, 29, 9]
Generated Node #0,0: 100:[30, 29, 9] Operation: 40-31=9
Exploring Operation: 40-30=10, Resulting Numbers: [31, 29, 10]
Generated Node #0,1: 100:[31, 29, 10] Operation: 40-30=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 100:[30, 29, 9], Operations: ['40-31=9']
Exploring Operation: 30-9=21, Resulting Numbers: [29, 21]
Generated Node #0,0,0: 100:[29, 21] Operation: 30-9=21
Exploring Operation: 30-29=1, Resulting Numbers: [9, 1]
Generated Node #0,0,1: 100:[9, 1] Operation: 30-29=1
Moving to Node #0,0,1
Current State: 100:[9, 1], Operations: ['40-31=9', '30-29=1']
Exploring Operation: 9*1=9, Resulting Numbers: [9]
9,100 unequal: No Solution
Exploring Operation: 9+1=10, Resulting Numbers: [10]
10,100 unequal: No Solution
Moving to Node #0,0,0
Current State: 100:[29, 21], Operations: ['40-31=9', '30-9=21']
Exploring Operation: 29+21=50, Resulting Numbers: [50]
50,100 unequal: No Solution
Exploring Operation: 29-21=8, Resulting Numbers: [8]
8,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[31, 29, 10], Operations: ['40-30=10']
Exploring Operation: 31-29=2, Resulting Numbers: [10, 2]
Generated Node #0,1,0: 100:[10, 2] Operation: 31-29=2
Exploring Operation: 31-10=21, Resulting Numbers: [29, 21]
Generated Node #0,1,1: 100:[29, 21] Operation: 31-10=21
Moving to Node #0,1,0
Current State: 100:[10, 2], Operations: ['40-30=10', '31-29=2']
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,100 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,100 unequal: No Solution
Moving to Node #0,1,1
Current State: 100:[29, 21], Operations: ['40-30=10', '31-10=21']
Exploring Operation: 29-21=8, Resulting Numbers: [8]
8,100 unequal: No Solution
Exploring Operation: 29+21=50, Resulting Numbers: [50]
50,100 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,
45,
55,
8
] | 11 | [
"55-45=10",
"8*10=80",
"91-80=11"
] | Current State: 11:[91, 45, 55, 8], Operations: []
Exploring Operation: 55-45=10, Resulting Numbers: [91, 8, 10]
Generated Node #2: [91, 8, 10] from Operation: 55-45=10
Current State: 11:[91, 8, 10], Operations: ['55-45=10']
Exploring Operation: 8*10=80, Resulting Numbers: [91, 80]
Generated Node #3: [91, 80] from Operation: 8*10=80
Current State: 11:[91, 80], Operations: ['55-45=10', '8*10=80']
Exploring Operation: 91-80=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[91, 45, 55, 8], Operations: []
Exploring Operation: 55-45=10, Resulting Numbers: [91, 8, 10]
Generated Node #0,0: 11:[91, 8, 10] Operation: 55-45=10
Exploring Operation: 91-55=36, Resulting Numbers: [45, 8, 36]
Generated Node #0,1: 11:[45, 8, 36] Operation: 91-55=36
Exploring Operation: 91-8=83, Resulting Numbers: [45, 55, 83]
Generated Node #0,2: 11:[45, 55, 83] Operation: 91-8=83
Exploring Operation: 91-45=46, Resulting Numbers: [55, 8, 46]
Generated Node #0,3: 11:[55, 8, 46] Operation: 91-45=46
Start Sub Search at level 1: Moving to Node #0,1
Current State: 11:[45, 8, 36], Operations: ['91-55=36']
Exploring Operation: 36-8=28, Resulting Numbers: [45, 28]
Generated Node #0,1,0: 11:[45, 28] Operation: 36-8=28
Exploring Operation: 45-36=9, Resulting Numbers: [8, 9]
Generated Node #0,1,1: 11:[8, 9] Operation: 45-36=9
Exploring Operation: 45+8=53, Resulting Numbers: [36, 53]
Generated Node #0,1,2: 11:[36, 53] Operation: 45+8=53
Exploring Operation: 45-8=37, Resulting Numbers: [36, 37]
Generated Node #0,1,3: 11:[36, 37] Operation: 45-8=37
Moving to Node #0,1,1
Current State: 11:[8, 9], Operations: ['91-55=36', '45-36=9']
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,11 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,11 unequal: No Solution
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,11 unequal: No Solution
Moving to Node #0,1,3
Current State: 11:[36, 37], Operations: ['91-55=36', '45-8=37']
Exploring Operation: 37-36=1, Resulting Numbers: [1]
1,11 unequal: No Solution
Exploring Operation: 36+37=73, Resulting Numbers: [73]
73,11 unequal: No Solution
Exploring Operation: 36*37=1332, Resulting Numbers: [1332]
1332,11 unequal: No Solution
Moving to Node #0,1,0
Current State: 11:[45, 28], Operations: ['91-55=36', '36-8=28']
Exploring Operation: 45+28=73, Resulting Numbers: [73]
73,11 unequal: No Solution
Exploring Operation: 45*28=1260, Resulting Numbers: [1260]
1260,11 unequal: No Solution
Exploring Operation: 45-28=17, Resulting Numbers: [17]
17,11 unequal: No Solution
Moving to Node #0,1,2
Current State: 11:[36, 53], Operations: ['91-55=36', '45+8=53']
Exploring Operation: 53-36=17, Resulting Numbers: [17]
17,11 unequal: No Solution
Exploring Operation: 36+53=89, Resulting Numbers: [89]
89,11 unequal: No Solution
Exploring Operation: 36*53=1908, Resulting Numbers: [1908]
1908,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 11:[55, 8, 46], Operations: ['91-45=46']
Exploring Operation: 55+8=63, Resulting Numbers: [46, 63]
Generated Node #0,3,0: 11:[46, 63] Operation: 55+8=63
Exploring Operation: 55-46=9, Resulting Numbers: [8, 9]
Generated Node #0,3,1: 11:[8, 9] Operation: 55-46=9
Exploring Operation: 46-8=38, Resulting Numbers: [55, 38]
Generated Node #0,3,2: 11:[55, 38] Operation: 46-8=38
Exploring Operation: 55-8=47, Resulting Numbers: [46, 47]
Generated Node #0,3,3: 11:[46, 47] Operation: 55-8=47
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 11:[8, 9], Operations: ['91-45=46', '55-46=9']
Exploring Operation: 8*9=72, Resulting Numbers: [72]
72,11 unequal: No Solution
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,11 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 11:[55, 38], Operations: ['91-45=46', '46-8=38']
Exploring Operation: 55+38=93, Resulting Numbers: [93]
93,11 unequal: No Solution
Exploring Operation: 55*38=2090, Resulting Numbers: [2090]
2090,11 unequal: No Solution
Exploring Operation: 55-38=17, Resulting Numbers: [17]
17,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 11:[46, 47], Operations: ['91-45=46', '55-8=47']
Exploring Operation: 47-46=1, Resulting Numbers: [1]
1,11 unequal: No Solution
Exploring Operation: 46*47=2162, Resulting Numbers: [2162]
2162,11 unequal: No Solution
Exploring Operation: 46+47=93, Resulting Numbers: [93]
93,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 11:[46, 63], Operations: ['91-45=46', '55+8=63']
Exploring Operation: 63-46=17, Resulting Numbers: [17]
17,11 unequal: No Solution
Exploring Operation: 46*63=2898, Resulting Numbers: [2898]
2898,11 unequal: No Solution
Exploring Operation: 46+63=109, Resulting Numbers: [109]
109,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[91, 8, 10], Operations: ['55-45=10']
Exploring Operation: 91-8=83, Resulting Numbers: [10, 83]
Generated Node #0,0,0: 11:[10, 83] Operation: 91-8=83
Exploring Operation: 91+8=99, Resulting Numbers: [10, 99]
Generated Node #0,0,1: 11:[10, 99] Operation: 91+8=99
Exploring Operation: 8+10=18, Resulting Numbers: [91, 18]
Generated Node #0,0,2: 11:[91, 18] Operation: 8+10=18
Exploring Operation: 91-10=81, Resulting Numbers: [8, 81]
Generated Node #0,0,3: 11:[8, 81] Operation: 91-10=81
Moving to Node #0,0,0
Current State: 11:[10, 83], Operations: ['55-45=10', '91-8=83']
Exploring Operation: 10+83=93, Resulting Numbers: [93]
93,11 unequal: No Solution
Exploring Operation: 83-10=73, Resulting Numbers: [73]
73,11 unequal: No Solution
Exploring Operation: 10*83=830, Resulting Numbers: [830]
830,11 unequal: No Solution
Moving to Node #0,0,3
Current State: 11:[8, 81], Operations: ['55-45=10', '91-10=81']
Exploring Operation: 8+81=89, Resulting Numbers: [89]
89,11 unequal: No Solution
Exploring Operation: 81-8=73, Resulting Numbers: [73]
73,11 unequal: No Solution
Exploring Operation: 8*81=648, Resulting Numbers: [648]
648,11 unequal: No Solution
Moving to Node #0,0,2
Current State: 11:[91, 18], Operations: ['55-45=10', '8+10=18']
Exploring Operation: 91*18=1638, Resulting Numbers: [1638]
1638,11 unequal: No Solution
Exploring Operation: 91+18=109, Resulting Numbers: [109]
109,11 unequal: No Solution
Exploring Operation: 91-18=73, Resulting Numbers: [73]
73,11 unequal: No Solution
Moving to Node #0,0,1
Current State: 11:[10, 99], Operations: ['55-45=10', '91+8=99']
Exploring Operation: 10*99=990, Resulting Numbers: [990]
990,11 unequal: No Solution
Exploring Operation: 99-10=89, Resulting Numbers: [89]
89,11 unequal: No Solution
Exploring Operation: 10+99=109, Resulting Numbers: [109]
109,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 11:[45, 55, 83], Operations: ['91-8=83']
Exploring Operation: 55-45=10, Resulting Numbers: [83, 10]
Generated Node #0,2,0: 11:[83, 10] Operation: 55-45=10
Exploring Operation: 83-55=28, Resulting Numbers: [45, 28]
Generated Node #0,2,1: 11:[45, 28] Operation: 83-55=28
Exploring Operation: 45+55=100, Resulting Numbers: [83, 100]
Generated Node #0,2,2: 11:[83, 100] Operation: 45+55=100
Exploring Operation: 83-45=38, Resulting Numbers: [55, 38]
Generated Node #0,2,3: 11:[55, 38] Operation: 83-45=38
Moving to Node #0,2,1
Current State: 11:[45, 28], Operations: ['91-8=83', '83-55=28']
Exploring Operation: 45*28=1260, Resulting Numbers: [1260]
1260,11 unequal: No Solution
Exploring Operation: 45+28=73, Resulting Numbers: [73]
73,11 unequal: No Solution
Exploring Operation: 45-28=17, Resulting Numbers: [17]
17,11 unequal: No Solution
Moving to Node #0,2,3
Current State: 11:[55, 38], Operations: ['91-8=83', '83-45=38']
Exploring Operation: 55-38=17, Resulting Numbers: [17]
17,11 unequal: No Solution
Exploring Operation: 55+38=93, Resulting Numbers: [93]
93,11 unequal: No Solution
Exploring Operation: 55*38=2090, Resulting Numbers: [2090]
2090,11 unequal: No Solution
Moving to Node #0,2,0
Current State: 11:[83, 10], Operations: ['91-8=83', '55-45=10']
Exploring Operation: 83-10=73, Resulting Numbers: [73]
73,11 unequal: No Solution
Exploring Operation: 83*10=830, Resulting Numbers: [830]
830,11 unequal: No Solution
Exploring Operation: 83+10=93, Resulting Numbers: [93]
93,11 unequal: No Solution
Moving to Node #0,2,2
Current State: 11:[83, 100], Operations: ['91-8=83', '45+55=100']
Exploring Operation: 83+100=183, Resulting Numbers: [183]
183,11 unequal: No Solution
Exploring Operation: 100-83=17, Resulting Numbers: [17]
17,11 unequal: No Solution
Exploring Operation: 83*100=8300, Resulting Numbers: [8300]
8300,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
54,
94,
56,
53
] | 82 | [
"56-54=2",
"94-53=41",
"2*41=82"
] | Current State: 82:[54, 94, 56, 53], Operations: []
Exploring Operation: 56-54=2, Resulting Numbers: [94, 53, 2]
Generated Node #2: [94, 53, 2] from Operation: 56-54=2
Current State: 82:[94, 53, 2], Operations: ['56-54=2']
Exploring Operation: 94-53=41, Resulting Numbers: [2, 41]
Generated Node #3: [2, 41] from Operation: 94-53=41
Current State: 82:[2, 41], Operations: ['56-54=2', '94-53=41']
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[54, 94, 56, 53], Operations: []
Exploring Operation: 56-54=2, Resulting Numbers: [94, 53, 2]
Generated Node #0,0: 82:[94, 53, 2] Operation: 56-54=2
Exploring Operation: 94-54=40, Resulting Numbers: [56, 53, 40]
Generated Node #0,1: 82:[56, 53, 40] Operation: 94-54=40
Exploring Operation: 94-56=38, Resulting Numbers: [54, 53, 38]
Generated Node #0,2: 82:[54, 53, 38] Operation: 94-56=38
Exploring Operation: 54-53=1, Resulting Numbers: [94, 56, 1]
Generated Node #0,3: 82:[94, 56, 1] Operation: 54-53=1
Exploring Operation: 56-53=3, Resulting Numbers: [54, 94, 3]
Generated Node #0,4: 82:[54, 94, 3] Operation: 56-53=3
Moving to Node #0,0
Current State: 82:[94, 53, 2], Operations: ['56-54=2']
Exploring Operation: 94-2=92, Resulting Numbers: [53, 92]
Generated Node #0,0,0: 82:[53, 92] Operation: 94-2=92
Exploring Operation: 94-53=41, Resulting Numbers: [2, 41]
Generated Node #0,0,1: 82:[2, 41] Operation: 94-53=41
Exploring Operation: 53-2=51, Resulting Numbers: [94, 51]
Generated Node #0,0,2: 82:[94, 51] Operation: 53-2=51
Exploring Operation: 94+2=96, Resulting Numbers: [53, 96]
Generated Node #0,0,3: 82:[53, 96] Operation: 94+2=96
Exploring Operation: 94/2=47, Resulting Numbers: [53, 47]
Generated Node #0,0,4: 82:[53, 47] Operation: 94/2=47
Moving to Node #0,4
Current State: 82:[54, 94, 3], Operations: ['56-53=3']
Exploring Operation: 54+3=57, Resulting Numbers: [94, 57]
Generated Node #0,4,0: 82:[94, 57] Operation: 54+3=57
Exploring Operation: 54/3=18, Resulting Numbers: [94, 18]
Generated Node #0,4,1: 82:[94, 18] Operation: 54/3=18
Exploring Operation: 94-3=91, Resulting Numbers: [54, 91]
Generated Node #0,4,2: 82:[54, 91] Operation: 94-3=91
Exploring Operation: 54-3=51, Resulting Numbers: [94, 51]
Generated Node #0,4,3: 82:[94, 51] Operation: 54-3=51
Exploring Operation: 94-54=40, Resulting Numbers: [3, 40]
Generated Node #0,4,4: 82:[3, 40] Operation: 94-54=40
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 82:[3, 40], Operations: ['56-53=3', '94-54=40']
Exploring Operation: 3+40=43, Resulting Numbers: [43]
43,82 unequal: No Solution
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,82 unequal: No Solution
Exploring Operation: 3*40=120, Resulting Numbers: [120]
120,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,4,2
Current State: 82:[54, 91], Operations: ['56-53=3', '94-3=91']
Exploring Operation: 54*91=4914, Resulting Numbers: [4914]
4914,82 unequal: No Solution
Exploring Operation: 54+91=145, Resulting Numbers: [145]
145,82 unequal: No Solution
Exploring Operation: 91-54=37, Resulting Numbers: [37]
37,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,4,3
Current State: 82:[94, 51], Operations: ['56-53=3', '54-3=51']
Exploring Operation: 94+51=145, Resulting Numbers: [145]
145,82 unequal: No Solution
Exploring Operation: 94-51=43, Resulting Numbers: [43]
43,82 unequal: No Solution
Exploring Operation: 94*51=4794, Resulting Numbers: [4794]
4794,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,4,0
Current State: 82:[94, 57], Operations: ['56-53=3', '54+3=57']
Exploring Operation: 94+57=151, Resulting Numbers: [151]
151,82 unequal: No Solution
Exploring Operation: 94*57=5358, Resulting Numbers: [5358]
5358,82 unequal: No Solution
Exploring Operation: 94-57=37, Resulting Numbers: [37]
37,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,4,1
Current State: 82:[94, 18], Operations: ['56-53=3', '54/3=18']
Exploring Operation: 94*18=1692, Resulting Numbers: [1692]
1692,82 unequal: No Solution
Exploring Operation: 94+18=112, Resulting Numbers: [112]
112,82 unequal: No Solution
Exploring Operation: 94-18=76, Resulting Numbers: [76]
76,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 82:[56, 53, 40], Operations: ['94-54=40']
Exploring Operation: 56+40=96, Resulting Numbers: [53, 96]
Generated Node #0,1,0: 82:[53, 96] Operation: 56+40=96
Exploring Operation: 53+40=93, Resulting Numbers: [56, 93]
Generated Node #0,1,1: 82:[56, 93] Operation: 53+40=93
Exploring Operation: 53-40=13, Resulting Numbers: [56, 13]
Generated Node #0,1,2: 82:[56, 13] Operation: 53-40=13
Exploring Operation: 56-53=3, Resulting Numbers: [40, 3]
Generated Node #0,1,3: 82:[40, 3] Operation: 56-53=3
Exploring Operation: 56-40=16, Resulting Numbers: [53, 16]
Generated Node #0,1,4: 82:[53, 16] Operation: 56-40=16
Moving to Node #0,2
Current State: 82:[54, 53, 38], Operations: ['94-56=38']
Exploring Operation: 53+38=91, Resulting Numbers: [54, 91]
Generated Node #0,2,0: 82:[54, 91] Operation: 53+38=91
Exploring Operation: 54-38=16, Resulting Numbers: [53, 16]
Generated Node #0,2,1: 82:[53, 16] Operation: 54-38=16
Exploring Operation: 53-38=15, Resulting Numbers: [54, 15]
Generated Node #0,2,2: 82:[54, 15] Operation: 53-38=15
Exploring Operation: 54+38=92, Resulting Numbers: [53, 92]
Generated Node #0,2,3: 82:[53, 92] Operation: 54+38=92
Exploring Operation: 54-53=1, Resulting Numbers: [38, 1]
Generated Node #0,2,4: 82:[38, 1] Operation: 54-53=1
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 82:[38, 1], Operations: ['94-56=38', '54-53=1']
Exploring Operation: 38*1=38, Resulting Numbers: [38]
38,82 unequal: No Solution
Exploring Operation: 38-1=37, Resulting Numbers: [37]
37,82 unequal: No Solution
Exploring Operation: 38/1=38, Resulting Numbers: [38]
38,82 unequal: No Solution
Exploring Operation: 38+1=39, Resulting Numbers: [39]
39,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 82:[54, 91], Operations: ['94-56=38', '53+38=91']
Exploring Operation: 54+91=145, Resulting Numbers: [145]
145,82 unequal: No Solution
Exploring Operation: 91-54=37, Resulting Numbers: [37]
37,82 unequal: No Solution
Exploring Operation: 54*91=4914, Resulting Numbers: [4914]
4914,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 82:[53, 92], Operations: ['94-56=38', '54+38=92']
Exploring Operation: 53*92=4876, Resulting Numbers: [4876]
4876,82 unequal: No Solution
Exploring Operation: 92-53=39, Resulting Numbers: [39]
39,82 unequal: No Solution
Exploring Operation: 53+92=145, Resulting Numbers: [145]
145,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 82:[53, 16], Operations: ['94-56=38', '54-38=16']
Exploring Operation: 53*16=848, Resulting Numbers: [848]
848,82 unequal: No Solution
Exploring Operation: 53+16=69, Resulting Numbers: [69]
69,82 unequal: No Solution
Exploring Operation: 53-16=37, Resulting Numbers: [37]
37,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 82:[54, 15], Operations: ['94-56=38', '53-38=15']
Exploring Operation: 54-15=39, Resulting Numbers: [39]
39,82 unequal: No Solution
Exploring Operation: 54+15=69, Resulting Numbers: [69]
69,82 unequal: No Solution
Exploring Operation: 54*15=810, Resulting Numbers: [810]
810,82 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: 82:[94, 56, 1], Operations: ['54-53=1']
Exploring Operation: 94-1=93, Resulting Numbers: [56, 93]
Generated Node #0,3,0: 82:[56, 93] Operation: 94-1=93
Exploring Operation: 94*1=94, Resulting Numbers: [56, 94]
Generated Node #0,3,1: 82:[56, 94] Operation: 94*1=94
Exploring Operation: 94-56=38, Resulting Numbers: [1, 38]
Generated Node #0,3,2: 82:[1, 38] Operation: 94-56=38
Exploring Operation: 56-1=55, Resulting Numbers: [94, 55]
Generated Node #0,3,3: 82:[94, 55] Operation: 56-1=55
Exploring Operation: 94/1=94, Resulting Numbers: [56, 94]
Generated Node #0,3,4: 82:[56, 94] Operation: 94/1=94
Moving to Node #0,0,1
Current State: 82:[2, 41], Operations: ['56-54=2', '94-53=41']
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[54, 94, 56, 53], Operations: []
Exploring Operation: 56-54=2, Resulting Numbers: [94, 53, 2]
Generated Node #0,0: 82:[94, 53, 2] Operation: 56-54=2
Moving to Node #0,0
Current State: 82:[94, 53, 2], Operations: ['56-54=2']
Exploring Operation: 94-53=41, Resulting Numbers: [2, 41]
Generated Node #0,0,1: 82:[2, 41] Operation: 94-53=41
Moving to Node #0,0,1
Current State: 82:[2, 41], Operations: ['56-54=2', '94-53=41']
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 0.942708 | hs_5 | mult_heuristic |
[
43,
2,
43,
35
] | 78 | [
"43*2=86",
"43-35=8",
"86-8=78"
] | Current State: 78:[43, 2, 43, 35], Operations: []
Exploring Operation: 43*2=86, Resulting Numbers: [35, 86]
Generated Node #2: [35, 86] from Operation: 43*2=86
Current State: 78:[35, 86], Operations: ['43*2=86']
Exploring Operation: 43-35=8, Resulting Numbers: [86, 8]
Generated Node #3: [86, 8] from Operation: 43-35=8
Current State: 78:[86, 8], Operations: ['43*2=86', '43-35=8']
Exploring Operation: 86-8=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[43, 2, 43, 35], Operations: []
Exploring Operation: 43+35=78, Resulting Numbers: [2, 43, 78]
Generated Node #0,0: 78:[2, 43, 78] Operation: 43+35=78
Exploring Operation: 43-43=0, Resulting Numbers: [2, 35, 0]
Generated Node #0,1: 78:[2, 35, 0] Operation: 43-43=0
Exploring Operation: 43/43=1, Resulting Numbers: [2, 35, 1]
Generated Node #0,2: 78:[2, 35, 1] Operation: 43/43=1
Exploring Operation: 43+35=78, Resulting Numbers: [43, 2, 78]
Generated Node #0,3: 78:[43, 2, 78] Operation: 43+35=78
Moving to Node #0,0
Current State: 78:[2, 43, 78], Operations: ['43+35=78']
Exploring Operation: 43-2=41, Resulting Numbers: [78, 41]
Generated Node #0,0,0: 78:[78, 41] Operation: 43-2=41
Exploring Operation: 78/2=39, Resulting Numbers: [43, 39]
Generated Node #0,0,1: 78:[43, 39] Operation: 78/2=39
Exploring Operation: 2+43=45, Resulting Numbers: [78, 45]
Generated Node #0,0,2: 78:[78, 45] Operation: 2+43=45
Exploring Operation: 78-43=35, Resulting Numbers: [2, 35]
Generated Node #0,0,3: 78:[2, 35] Operation: 78-43=35
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 78:[78, 41], Operations: ['43+35=78', '43-2=41']
Exploring Operation: 78*41=3198, Resulting Numbers: [3198]
3198,78 unequal: No Solution
Exploring Operation: 78-41=37, Resulting Numbers: [37]
37,78 unequal: No Solution
Exploring Operation: 78+41=119, Resulting Numbers: [119]
119,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 78:[43, 39], Operations: ['43+35=78', '78/2=39']
Exploring Operation: 43-39=4, Resulting Numbers: [4]
4,78 unequal: No Solution
Exploring Operation: 43+39=82, Resulting Numbers: [82]
82,78 unequal: No Solution
Exploring Operation: 43*39=1677, Resulting Numbers: [1677]
1677,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 78:[2, 35], Operations: ['43+35=78', '78-43=35']
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,78 unequal: No Solution
Exploring Operation: 2*35=70, Resulting Numbers: [70]
70,78 unequal: No Solution
Exploring Operation: 2+35=37, Resulting Numbers: [37]
37,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 78:[78, 45], Operations: ['43+35=78', '2+43=45']
Exploring Operation: 78-45=33, Resulting Numbers: [33]
33,78 unequal: No Solution
Exploring Operation: 78+45=123, Resulting Numbers: [123]
123,78 unequal: No Solution
Exploring Operation: 78*45=3510, Resulting Numbers: [3510]
3510,78 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: 78:[43, 2, 78], Operations: ['43+35=78']
Exploring Operation: 78-43=35, Resulting Numbers: [2, 35]
Generated Node #0,3,0: 78:[2, 35] Operation: 78-43=35
Exploring Operation: 43+2=45, Resulting Numbers: [78, 45]
Generated Node #0,3,1: 78:[78, 45] Operation: 43+2=45
Exploring Operation: 43-2=41, Resulting Numbers: [78, 41]
Generated Node #0,3,2: 78:[78, 41] Operation: 43-2=41
Exploring Operation: 78/2=39, Resulting Numbers: [43, 39]
Generated Node #0,3,3: 78:[43, 39] Operation: 78/2=39
Moving to Node #0,2
Current State: 78:[2, 35, 1], Operations: ['43/43=1']
Exploring Operation: 2+1=3, Resulting Numbers: [35, 3]
Generated Node #0,2,0: 78:[35, 3] Operation: 2+1=3
Exploring Operation: 2+35=37, Resulting Numbers: [1, 37]
Generated Node #0,2,1: 78:[1, 37] Operation: 2+35=37
Exploring Operation: 35+1=36, Resulting Numbers: [2, 36]
Generated Node #0,2,2: 78:[2, 36] Operation: 35+1=36
Exploring Operation: 2*1=2, Resulting Numbers: [35, 2]
Generated Node #0,2,3: 78:[35, 2] Operation: 2*1=2
Moving to Node #0,1
Current State: 78:[2, 35, 0], Operations: ['43-43=0']
Exploring Operation: 2-0=2, Resulting Numbers: [35, 2]
Generated Node #0,1,0: 78:[35, 2] Operation: 2-0=2
Exploring Operation: 2+35=37, Resulting Numbers: [0, 37]
Generated Node #0,1,1: 78:[0, 37] Operation: 2+35=37
Exploring Operation: 2+0=2, Resulting Numbers: [35, 2]
Generated Node #0,1,2: 78:[35, 2] Operation: 2+0=2
Exploring Operation: 35*0=0, Resulting Numbers: [2, 0]
Generated Node #0,1,3: 78:[2, 0] Operation: 35*0=0
Moving to Node #0,3,2
Current State: 78:[78, 41], Operations: ['43+35=78', '43-2=41']
Exploring Operation: 78+41=119, Resulting Numbers: [119]
119,78 unequal: No Solution
Exploring Operation: 78-41=37, Resulting Numbers: [37]
37,78 unequal: No Solution
Exploring Operation: 78*41=3198, Resulting Numbers: [3198]
3198,78 unequal: No Solution
Moving to Node #0,1,3
Current State: 78:[2, 0], Operations: ['43-43=0', '35*0=0']
Exploring Operation: 2-0=2, Resulting Numbers: [2]
2,78 unequal: No Solution
Exploring Operation: 2+0=2, Resulting Numbers: [2]
2,78 unequal: No Solution
Exploring Operation: 2*0=0, Resulting Numbers: [0]
0,78 unequal: No Solution
Moving to Node #0,2,2
Current State: 78:[2, 36], Operations: ['43/43=1', '35+1=36']
Exploring Operation: 2+36=38, Resulting Numbers: [38]
38,78 unequal: No Solution
Exploring Operation: 2*36=72, Resulting Numbers: [72]
72,78 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,78 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,78 unequal: No Solution
Moving to Node #0,2,1
Current State: 78:[1, 37], Operations: ['43/43=1', '2+35=37']
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,78 unequal: No Solution
Exploring Operation: 1*37=37, Resulting Numbers: [37]
37,78 unequal: No Solution
Exploring Operation: 37/1=37, Resulting Numbers: [37]
37,78 unequal: No Solution
Exploring Operation: 1+37=38, Resulting Numbers: [38]
38,78 unequal: No Solution
Moving to Node #0,2,0
Current State: 78:[35, 3], Operations: ['43/43=1', '2+1=3']
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,78 unequal: No Solution
Exploring Operation: 35+3=38, Resulting Numbers: [38]
38,78 unequal: No Solution
Exploring Operation: 35*3=105, Resulting Numbers: [105]
105,78 unequal: No Solution
Moving to Node #0,1,1
Current State: 78:[0, 37], Operations: ['43-43=0', '2+35=37']
Exploring Operation: 0*37=0, Resulting Numbers: [0]
0,78 unequal: No Solution
Exploring Operation: 37-0=37, Resulting Numbers: [37]
37,78 unequal: No Solution
Exploring Operation: 0+37=37, Resulting Numbers: [37]
37,78 unequal: No Solution
Moving to Node #0,1,2
Current State: 78:[35, 2], Operations: ['43-43=0', '2+0=2']
Exploring Operation: 35+2=37, Resulting Numbers: [37]
37,78 unequal: No Solution
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,78 unequal: No Solution
Exploring Operation: 35*2=70, Resulting Numbers: [70]
70,78 unequal: No Solution
Moving to Node #0,3,3
Current State: 78:[43, 39], Operations: ['43+35=78', '78/2=39']
Exploring Operation: 43*39=1677, Resulting Numbers: [1677]
1677,78 unequal: No Solution
Exploring Operation: 43-39=4, Resulting Numbers: [4]
4,78 unequal: No Solution
Exploring Operation: 43+39=82, Resulting Numbers: [82]
82,78 unequal: No Solution
Moving to Node #0,3,0
Current State: 78:[2, 35], Operations: ['43+35=78', '78-43=35']
Exploring Operation: 2*35=70, Resulting Numbers: [70]
70,78 unequal: No Solution
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,78 unequal: No Solution
Exploring Operation: 2+35=37, Resulting Numbers: [37]
37,78 unequal: No Solution
Moving to Node #0,2,3
Current State: 78:[35, 2], Operations: ['43/43=1', '2*1=2']
Exploring Operation: 35+2=37, Resulting Numbers: [37]
37,78 unequal: No Solution
Exploring Operation: 35*2=70, Resulting Numbers: [70]
70,78 unequal: No Solution
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,78 unequal: No Solution
Moving to Node #0,1,0
Current State: 78:[35, 2], Operations: ['43-43=0', '2-0=2']
Exploring Operation: 35+2=37, Resulting Numbers: [37]
37,78 unequal: No Solution
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,78 unequal: No Solution
Exploring Operation: 35*2=70, Resulting Numbers: [70]
70,78 unequal: No Solution
Moving to Node #0,3,1
Current State: 78:[78, 45], Operations: ['43+35=78', '43+2=45']
Exploring Operation: 78*45=3510, Resulting Numbers: [3510]
3510,78 unequal: No Solution
Exploring Operation: 78+45=123, Resulting Numbers: [123]
123,78 unequal: No Solution
Exploring Operation: 78-45=33, Resulting Numbers: [33]
33,78 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
65,
6,
56,
12
] | 74 | [
"65*12=780",
"780/6=130",
"130-56=74"
] | Current State: 74:[65, 6, 56, 12], Operations: []
Exploring Operation: 65*12=780, Resulting Numbers: [6, 56, 780]
Generated Node #2: [6, 56, 780] from Operation: 65*12=780
Current State: 74:[6, 56, 780], Operations: ['65*12=780']
Exploring Operation: 780/6=130, Resulting Numbers: [56, 130]
Generated Node #3: [56, 130] from Operation: 780/6=130
Current State: 74:[56, 130], Operations: ['65*12=780', '780/6=130']
Exploring Operation: 130-56=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[65, 6, 56, 12], Operations: []
Exploring Operation: 56-12=44, Resulting Numbers: [65, 6, 44]
Generated Node #0,0: 74:[65, 6, 44] Operation: 56-12=44
Exploring Operation: 56+12=68, Resulting Numbers: [65, 6, 68]
Generated Node #0,1: 74:[65, 6, 68] Operation: 56+12=68
Exploring Operation: 65+12=77, Resulting Numbers: [6, 56, 77]
Generated Node #0,2: 74:[6, 56, 77] Operation: 65+12=77
Exploring Operation: 65-56=9, Resulting Numbers: [6, 12, 9]
Generated Node #0,3: 74:[6, 12, 9] Operation: 65-56=9
Moving to Node #0,1
Current State: 74:[65, 6, 68], Operations: ['56+12=68']
Exploring Operation: 65-6=59, Resulting Numbers: [68, 59]
Generated Node #0,1,0: 74:[68, 59] Operation: 65-6=59
Exploring Operation: 65+6=71, Resulting Numbers: [68, 71]
Generated Node #0,1,1: 74:[68, 71] Operation: 65+6=71
Exploring Operation: 68-65=3, Resulting Numbers: [6, 3]
Generated Node #0,1,2: 74:[6, 3] Operation: 68-65=3
Exploring Operation: 6+68=74, Resulting Numbers: [65, 74]
Generated Node #0,1,3: 74:[65, 74] Operation: 6+68=74
Moving to Node #0,0
Current State: 74:[65, 6, 44], Operations: ['56-12=44']
Exploring Operation: 65-6=59, Resulting Numbers: [44, 59]
Generated Node #0,0,0: 74:[44, 59] Operation: 65-6=59
Exploring Operation: 65+6=71, Resulting Numbers: [44, 71]
Generated Node #0,0,1: 74:[44, 71] Operation: 65+6=71
Exploring Operation: 65-44=21, Resulting Numbers: [6, 21]
Generated Node #0,0,2: 74:[6, 21] Operation: 65-44=21
Exploring Operation: 44-6=38, Resulting Numbers: [65, 38]
Generated Node #0,0,3: 74:[65, 38] Operation: 44-6=38
Moving to Node #0,3
Current State: 74:[6, 12, 9], Operations: ['65-56=9']
Exploring Operation: 12-6=6, Resulting Numbers: [9, 6]
Generated Node #0,3,0: 74:[9, 6] Operation: 12-6=6
Exploring Operation: 12-9=3, Resulting Numbers: [6, 3]
Generated Node #0,3,1: 74:[6, 3] Operation: 12-9=3
Exploring Operation: 12/6=2, Resulting Numbers: [9, 2]
Generated Node #0,3,2: 74:[9, 2] Operation: 12/6=2
Exploring Operation: 6*12=72, Resulting Numbers: [9, 72]
Generated Node #0,3,3: 74:[9, 72] Operation: 6*12=72
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 74:[6, 3], Operations: ['65-56=9', '12-9=3']
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,74 unequal: No Solution
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,74 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,74 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,74 unequal: No Solution
No 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: 74:[9, 2], Operations: ['65-56=9', '12/6=2']
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,74 unequal: No Solution
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,74 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 74:[9, 72], Operations: ['65-56=9', '6*12=72']
Exploring Operation: 72/9=8, Resulting Numbers: [8]
8,74 unequal: No Solution
Exploring Operation: 9+72=81, Resulting Numbers: [81]
81,74 unequal: No Solution
Exploring Operation: 72-9=63, Resulting Numbers: [63]
63,74 unequal: No Solution
Exploring Operation: 9*72=648, Resulting Numbers: [648]
648,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 74:[9, 6], Operations: ['65-56=9', '12-6=6']
Exploring Operation: 9+6=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Exploring Operation: 9*6=54, Resulting Numbers: [54]
54,74 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,74 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: 74:[6, 56, 77], Operations: ['65+12=77']
Exploring Operation: 6+56=62, Resulting Numbers: [77, 62]
Generated Node #0,2,0: 74:[77, 62] Operation: 6+56=62
Exploring Operation: 77-56=21, Resulting Numbers: [6, 21]
Generated Node #0,2,1: 74:[6, 21] Operation: 77-56=21
Exploring Operation: 77-6=71, Resulting Numbers: [56, 71]
Generated Node #0,2,2: 74:[56, 71] Operation: 77-6=71
Exploring Operation: 56-6=50, Resulting Numbers: [77, 50]
Generated Node #0,2,3: 74:[77, 50] Operation: 56-6=50
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 74:[77, 62], Operations: ['65+12=77', '6+56=62']
Exploring Operation: 77-62=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Exploring Operation: 77*62=4774, Resulting Numbers: [4774]
4774,74 unequal: No Solution
Exploring Operation: 77+62=139, Resulting Numbers: [139]
139,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 74:[77, 50], Operations: ['65+12=77', '56-6=50']
Exploring Operation: 77-50=27, Resulting Numbers: [27]
27,74 unequal: No Solution
Exploring Operation: 77+50=127, Resulting Numbers: [127]
127,74 unequal: No Solution
Exploring Operation: 77*50=3850, Resulting Numbers: [3850]
3850,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 74:[6, 21], Operations: ['65+12=77', '77-56=21']
Exploring Operation: 6+21=27, Resulting Numbers: [27]
27,74 unequal: No Solution
Exploring Operation: 6*21=126, Resulting Numbers: [126]
126,74 unequal: No Solution
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 74:[56, 71], Operations: ['65+12=77', '77-6=71']
Exploring Operation: 56+71=127, Resulting Numbers: [127]
127,74 unequal: No Solution
Exploring Operation: 71-56=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Exploring Operation: 56*71=3976, Resulting Numbers: [3976]
3976,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 74:[6, 3], Operations: ['56+12=68', '68-65=3']
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,74 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,74 unequal: No Solution
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,74 unequal: No Solution
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,74 unequal: No Solution
Moving to Node #0,1,3
Current State: 74:[65, 74], Operations: ['56+12=68', '6+68=74']
Exploring Operation: 65+74=139, Resulting Numbers: [139]
139,74 unequal: No Solution
Exploring Operation: 65*74=4810, Resulting Numbers: [4810]
4810,74 unequal: No Solution
Exploring Operation: 74-65=9, Resulting Numbers: [9]
9,74 unequal: No Solution
Moving to Node #0,1,1
Current State: 74:[68, 71], Operations: ['56+12=68', '65+6=71']
Exploring Operation: 68+71=139, Resulting Numbers: [139]
139,74 unequal: No Solution
Exploring Operation: 71-68=3, Resulting Numbers: [3]
3,74 unequal: No Solution
Exploring Operation: 68*71=4828, Resulting Numbers: [4828]
4828,74 unequal: No Solution
Moving to Node #0,0,3
Current State: 74:[65, 38], Operations: ['56-12=44', '44-6=38']
Exploring Operation: 65-38=27, Resulting Numbers: [27]
27,74 unequal: No Solution
Exploring Operation: 65+38=103, Resulting Numbers: [103]
103,74 unequal: No Solution
Exploring Operation: 65*38=2470, Resulting Numbers: [2470]
2470,74 unequal: No Solution
Moving to Node #0,0,1
Current State: 74:[44, 71], Operations: ['56-12=44', '65+6=71']
Exploring Operation: 71-44=27, Resulting Numbers: [27]
27,74 unequal: No Solution
Exploring Operation: 44*71=3124, Resulting Numbers: [3124]
3124,74 unequal: No Solution
Exploring Operation: 44+71=115, Resulting Numbers: [115]
115,74 unequal: No Solution
Moving to Node #0,0,2
Current State: 74:[6, 21], Operations: ['56-12=44', '65-44=21']
Exploring Operation: 6*21=126, Resulting Numbers: [126]
126,74 unequal: No Solution
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Exploring Operation: 6+21=27, Resulting Numbers: [27]
27,74 unequal: No Solution
Moving to Node #0,1,0
Current State: 74:[68, 59], Operations: ['56+12=68', '65-6=59']
Exploring Operation: 68-59=9, Resulting Numbers: [9]
9,74 unequal: No Solution
Exploring Operation: 68*59=4012, Resulting Numbers: [4012]
4012,74 unequal: No Solution
Exploring Operation: 68+59=127, Resulting Numbers: [127]
127,74 unequal: No Solution
Moving to Node #0,0,0
Current State: 74:[44, 59], Operations: ['56-12=44', '65-6=59']
Exploring Operation: 44*59=2596, Resulting Numbers: [2596]
2596,74 unequal: No Solution
Exploring Operation: 59-44=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Exploring Operation: 44+59=103, Resulting Numbers: [103]
103,74 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
79,
95,
61,
92
] | 54 | [
"79-61=18",
"95-92=3",
"18*3=54"
] | Current State: 54:[79, 95, 61, 92], Operations: []
Exploring Operation: 79-61=18, Resulting Numbers: [95, 92, 18]
Generated Node #2: [95, 92, 18] from Operation: 79-61=18
Current State: 54:[95, 92, 18], Operations: ['79-61=18']
Exploring Operation: 95-92=3, Resulting Numbers: [18, 3]
Generated Node #3: [18, 3] from Operation: 95-92=3
Current State: 54:[18, 3], Operations: ['79-61=18', '95-92=3']
Exploring Operation: 18*3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[79, 95, 61, 92], Operations: []
Exploring Operation: 95-61=34, Resulting Numbers: [79, 92, 34]
Generated Node #0,0: 54:[79, 92, 34] Operation: 95-61=34
Exploring Operation: 95-92=3, Resulting Numbers: [79, 61, 3]
Generated Node #0,1: 54:[79, 61, 3] Operation: 95-92=3
Exploring Operation: 92-79=13, Resulting Numbers: [95, 61, 13]
Generated Node #0,2: 54:[95, 61, 13] Operation: 92-79=13
Exploring Operation: 95-79=16, Resulting Numbers: [61, 92, 16]
Generated Node #0,3: 54:[61, 92, 16] Operation: 95-79=16
Start Sub Search at level 1: Moving to Node #0,1
Current State: 54:[79, 61, 3], Operations: ['95-92=3']
Exploring Operation: 79-3=76, Resulting Numbers: [61, 76]
Generated Node #0,1,0: 54:[61, 76] Operation: 79-3=76
Exploring Operation: 79+3=82, Resulting Numbers: [61, 82]
Generated Node #0,1,1: 54:[61, 82] Operation: 79+3=82
Exploring Operation: 79-61=18, Resulting Numbers: [3, 18]
Generated Node #0,1,2: 54:[3, 18] Operation: 79-61=18
Exploring Operation: 61-3=58, Resulting Numbers: [79, 58]
Generated Node #0,1,3: 54:[79, 58] Operation: 61-3=58
Moving to Node #0,1,2
Current State: 54:[3, 18], Operations: ['95-92=3', '79-61=18']
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,54 unequal: No Solution
Exploring Operation: 3*18=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[79, 95, 61, 92], Operations: []
Exploring Operation: 95-92=3, Resulting Numbers: [79, 61, 3]
Generated Node #0,1: 54:[79, 61, 3] Operation: 95-92=3
Moving to Node #0,1
Current State: 54:[79, 61, 3], Operations: ['95-92=3']
Exploring Operation: 79-61=18, Resulting Numbers: [3, 18]
Generated Node #0,1,2: 54:[3, 18] Operation: 79-61=18
Moving to Node #0,1,2
Current State: 54:[3, 18], Operations: ['95-92=3', '79-61=18']
Exploring Operation: 3*18=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
11,
16,
55,
73
] | 88 | [
"55+73=128",
"11*128=1408",
"1408/16=88"
] | Current State: 88:[11, 16, 55, 73], Operations: []
Exploring Operation: 55+73=128, Resulting Numbers: [11, 16, 128]
Generated Node #2: [11, 16, 128] from Operation: 55+73=128
Current State: 88:[11, 16, 128], Operations: ['55+73=128']
Exploring Operation: 11*128=1408, Resulting Numbers: [16, 1408]
Generated Node #3: [16, 1408] from Operation: 11*128=1408
Current State: 88:[16, 1408], Operations: ['55+73=128', '11*128=1408']
Exploring Operation: 1408/16=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[11, 16, 55, 73], Operations: []
Exploring Operation: 16+73=89, Resulting Numbers: [11, 55, 89]
Generated Node #0,0: 88:[11, 55, 89] Operation: 16+73=89
Exploring Operation: 55-11=44, Resulting Numbers: [16, 73, 44]
Generated Node #0,1: 88:[16, 73, 44] Operation: 55-11=44
Exploring Operation: 11+73=84, Resulting Numbers: [16, 55, 84]
Generated Node #0,2: 88:[16, 55, 84] Operation: 11+73=84
Exploring Operation: 73-55=18, Resulting Numbers: [11, 16, 18]
Generated Node #0,3: 88:[11, 16, 18] Operation: 73-55=18
Exploring Operation: 55-16=39, Resulting Numbers: [11, 73, 39]
Generated Node #0,4: 88:[11, 73, 39] Operation: 55-16=39
Moving to Node #0,3
Current State: 88:[11, 16, 18], Operations: ['73-55=18']
Exploring Operation: 16+18=34, Resulting Numbers: [11, 34]
Generated Node #0,3,0: 88:[11, 34] Operation: 16+18=34
Exploring Operation: 16-11=5, Resulting Numbers: [18, 5]
Generated Node #0,3,1: 88:[18, 5] Operation: 16-11=5
Exploring Operation: 18-16=2, Resulting Numbers: [11, 2]
Generated Node #0,3,2: 88:[11, 2] Operation: 18-16=2
Exploring Operation: 11+16=27, Resulting Numbers: [18, 27]
Generated Node #0,3,3: 88:[18, 27] Operation: 11+16=27
Exploring Operation: 18-11=7, Resulting Numbers: [16, 7]
Generated Node #0,3,4: 88:[16, 7] Operation: 18-11=7
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 88:[11, 2], Operations: ['73-55=18', '18-16=2']
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,88 unequal: No Solution
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,88 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 88:[18, 5], Operations: ['73-55=18', '16-11=5']
Exploring Operation: 18+5=23, Resulting Numbers: [23]
23,88 unequal: No Solution
Exploring Operation: 18-5=13, Resulting Numbers: [13]
13,88 unequal: No Solution
Exploring Operation: 18*5=90, Resulting Numbers: [90]
90,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 88:[16, 7], Operations: ['73-55=18', '18-11=7']
Exploring Operation: 16*7=112, Resulting Numbers: [112]
112,88 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,88 unequal: No Solution
Exploring Operation: 16+7=23, Resulting Numbers: [23]
23,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 88:[18, 27], Operations: ['73-55=18', '11+16=27']
Exploring Operation: 18+27=45, Resulting Numbers: [45]
45,88 unequal: No Solution
Exploring Operation: 27-18=9, Resulting Numbers: [9]
9,88 unequal: No Solution
Exploring Operation: 18*27=486, Resulting Numbers: [486]
486,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 88:[11, 34], Operations: ['73-55=18', '16+18=34']
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,88 unequal: No Solution
Exploring Operation: 11*34=374, Resulting Numbers: [374]
374,88 unequal: No Solution
Exploring Operation: 11+34=45, Resulting Numbers: [45]
45,88 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: 88:[11, 55, 89], Operations: ['16+73=89']
Exploring Operation: 11+55=66, Resulting Numbers: [89, 66]
Generated Node #0,0,0: 88:[89, 66] Operation: 11+55=66
Exploring Operation: 89-55=34, Resulting Numbers: [11, 34]
Generated Node #0,0,1: 88:[11, 34] Operation: 89-55=34
Exploring Operation: 89-11=78, Resulting Numbers: [55, 78]
Generated Node #0,0,2: 88:[55, 78] Operation: 89-11=78
Exploring Operation: 55-11=44, Resulting Numbers: [89, 44]
Generated Node #0,0,3: 88:[89, 44] Operation: 55-11=44
Exploring Operation: 55/11=5, Resulting Numbers: [89, 5]
Generated Node #0,0,4: 88:[89, 5] Operation: 55/11=5
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 88:[89, 44], Operations: ['16+73=89', '55-11=44']
Exploring Operation: 89*44=3916, Resulting Numbers: [3916]
3916,88 unequal: No Solution
Exploring Operation: 89+44=133, Resulting Numbers: [133]
133,88 unequal: No Solution
Exploring Operation: 89-44=45, Resulting Numbers: [45]
45,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 88:[89, 5], Operations: ['16+73=89', '55/11=5']
Exploring Operation: 89+5=94, Resulting Numbers: [94]
94,88 unequal: No Solution
Exploring Operation: 89-5=84, Resulting Numbers: [84]
84,88 unequal: No Solution
Exploring Operation: 89*5=445, Resulting Numbers: [445]
445,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 88:[11, 34], Operations: ['16+73=89', '89-55=34']
Exploring Operation: 11+34=45, Resulting Numbers: [45]
45,88 unequal: No Solution
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,88 unequal: No Solution
Exploring Operation: 11*34=374, Resulting Numbers: [374]
374,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 88:[55, 78], Operations: ['16+73=89', '89-11=78']
Exploring Operation: 78-55=23, Resulting Numbers: [23]
23,88 unequal: No Solution
Exploring Operation: 55+78=133, Resulting Numbers: [133]
133,88 unequal: No Solution
Exploring Operation: 55*78=4290, Resulting Numbers: [4290]
4290,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 88:[89, 66], Operations: ['16+73=89', '11+55=66']
Exploring Operation: 89-66=23, Resulting Numbers: [23]
23,88 unequal: No Solution
Exploring Operation: 89*66=5874, Resulting Numbers: [5874]
5874,88 unequal: No Solution
Exploring Operation: 89+66=155, Resulting Numbers: [155]
155,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 88:[16, 73, 44], Operations: ['55-11=44']
Exploring Operation: 16+44=60, Resulting Numbers: [73, 60]
Generated Node #0,1,0: 88:[73, 60] Operation: 16+44=60
Exploring Operation: 73-44=29, Resulting Numbers: [16, 29]
Generated Node #0,1,1: 88:[16, 29] Operation: 73-44=29
Exploring Operation: 44-16=28, Resulting Numbers: [73, 28]
Generated Node #0,1,2: 88:[73, 28] Operation: 44-16=28
Exploring Operation: 73-16=57, Resulting Numbers: [44, 57]
Generated Node #0,1,3: 88:[44, 57] Operation: 73-16=57
Exploring Operation: 16+73=89, Resulting Numbers: [44, 89]
Generated Node #0,1,4: 88:[44, 89] Operation: 16+73=89
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 88:[44, 89], Operations: ['55-11=44', '16+73=89']
Exploring Operation: 44+89=133, Resulting Numbers: [133]
133,88 unequal: No Solution
Exploring Operation: 44*89=3916, Resulting Numbers: [3916]
3916,88 unequal: No Solution
Exploring Operation: 89-44=45, Resulting Numbers: [45]
45,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 88:[16, 29], Operations: ['55-11=44', '73-44=29']
Exploring Operation: 29-16=13, Resulting Numbers: [13]
13,88 unequal: No Solution
Exploring Operation: 16+29=45, Resulting Numbers: [45]
45,88 unequal: No Solution
Exploring Operation: 16*29=464, Resulting Numbers: [464]
464,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 88:[44, 57], Operations: ['55-11=44', '73-16=57']
Exploring Operation: 57-44=13, Resulting Numbers: [13]
13,88 unequal: No Solution
Exploring Operation: 44*57=2508, Resulting Numbers: [2508]
2508,88 unequal: No Solution
Exploring Operation: 44+57=101, Resulting Numbers: [101]
101,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 88:[73, 28], Operations: ['55-11=44', '44-16=28']
Exploring Operation: 73+28=101, Resulting Numbers: [101]
101,88 unequal: No Solution
Exploring Operation: 73-28=45, Resulting Numbers: [45]
45,88 unequal: No Solution
Exploring Operation: 73*28=2044, Resulting Numbers: [2044]
2044,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 88:[73, 60], Operations: ['55-11=44', '16+44=60']
Exploring Operation: 73+60=133, Resulting Numbers: [133]
133,88 unequal: No Solution
Exploring Operation: 73*60=4380, Resulting Numbers: [4380]
4380,88 unequal: No Solution
Exploring Operation: 73-60=13, Resulting Numbers: [13]
13,88 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: 88:[16, 55, 84], Operations: ['11+73=84']
Exploring Operation: 84-16=68, Resulting Numbers: [55, 68]
Generated Node #0,2,0: 88:[55, 68] Operation: 84-16=68
Exploring Operation: 16+84=100, Resulting Numbers: [55, 100]
Generated Node #0,2,1: 88:[55, 100] Operation: 16+84=100
Exploring Operation: 84-55=29, Resulting Numbers: [16, 29]
Generated Node #0,2,2: 88:[16, 29] Operation: 84-55=29
Exploring Operation: 55-16=39, Resulting Numbers: [84, 39]
Generated Node #0,2,3: 88:[84, 39] Operation: 55-16=39
Exploring Operation: 16+55=71, Resulting Numbers: [84, 71]
Generated Node #0,2,4: 88:[84, 71] Operation: 16+55=71
Moving to Node #0,4
Current State: 88:[11, 73, 39], Operations: ['55-16=39']
Exploring Operation: 11+73=84, Resulting Numbers: [39, 84]
Generated Node #0,4,0: 88:[39, 84] Operation: 11+73=84
Exploring Operation: 73-39=34, Resulting Numbers: [11, 34]
Generated Node #0,4,1: 88:[11, 34] Operation: 73-39=34
Exploring Operation: 39-11=28, Resulting Numbers: [73, 28]
Generated Node #0,4,2: 88:[73, 28] Operation: 39-11=28
Exploring Operation: 11+39=50, Resulting Numbers: [73, 50]
Generated Node #0,4,3: 88:[73, 50] Operation: 11+39=50
Exploring Operation: 73-11=62, Resulting Numbers: [39, 62]
Generated Node #0,4,4: 88:[39, 62] Operation: 73-11=62
Moving to Node #0,2,3
Current State: 88:[84, 39], Operations: ['11+73=84', '55-16=39']
Exploring Operation: 84+39=123, Resulting Numbers: [123]
123,88 unequal: No Solution
Exploring Operation: 84-39=45, Resulting Numbers: [45]
45,88 unequal: No Solution
Exploring Operation: 84*39=3276, Resulting Numbers: [3276]
3276,88 unequal: No Solution
Moving to Node #0,4,0
Current State: 88:[39, 84], Operations: ['55-16=39', '11+73=84']
Exploring Operation: 84-39=45, Resulting Numbers: [45]
45,88 unequal: No Solution
Exploring Operation: 39*84=3276, Resulting Numbers: [3276]
3276,88 unequal: No Solution
Exploring Operation: 39+84=123, Resulting Numbers: [123]
123,88 unequal: No Solution
Moving to Node #0,4,1
Current State: 88:[11, 34], Operations: ['55-16=39', '73-39=34']
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,88 unequal: No Solution
Exploring Operation: 11*34=374, Resulting Numbers: [374]
374,88 unequal: No Solution
Exploring Operation: 11+34=45, Resulting Numbers: [45]
45,88 unequal: No Solution
Moving to Node #0,2,2
Current State: 88:[16, 29], Operations: ['11+73=84', '84-55=29']
Exploring Operation: 16*29=464, Resulting Numbers: [464]
464,88 unequal: No Solution
Exploring Operation: 16+29=45, Resulting Numbers: [45]
45,88 unequal: No Solution
Exploring Operation: 29-16=13, Resulting Numbers: [13]
13,88 unequal: No Solution
Moving to Node #0,2,4
Current State: 88:[84, 71], Operations: ['11+73=84', '16+55=71']
Exploring Operation: 84-71=13, Resulting Numbers: [13]
13,88 unequal: No Solution
Exploring Operation: 84*71=5964, Resulting Numbers: [5964]
5964,88 unequal: No Solution
Exploring Operation: 84+71=155, Resulting Numbers: [155]
155,88 unequal: No Solution
Moving to Node #0,4,3
Current State: 88:[73, 50], Operations: ['55-16=39', '11+39=50']
Exploring Operation: 73+50=123, Resulting Numbers: [123]
123,88 unequal: No Solution
Exploring Operation: 73*50=3650, Resulting Numbers: [3650]
3650,88 unequal: No Solution
Exploring Operation: 73-50=23, Resulting Numbers: [23]
23,88 unequal: No Solution
Moving to Node #0,4,2
Current State: 88:[73, 28], Operations: ['55-16=39', '39-11=28']
Exploring Operation: 73+28=101, Resulting Numbers: [101]
101,88 unequal: No Solution
Exploring Operation: 73*28=2044, Resulting Numbers: [2044]
2044,88 unequal: No Solution
Exploring Operation: 73-28=45, Resulting Numbers: [45]
45,88 unequal: No Solution
Moving to Node #0,2,1
Current State: 88:[55, 100], Operations: ['11+73=84', '16+84=100']
Exploring Operation: 55+100=155, Resulting Numbers: [155]
155,88 unequal: No Solution
Exploring Operation: 100-55=45, Resulting Numbers: [45]
45,88 unequal: No Solution
Exploring Operation: 55*100=5500, Resulting Numbers: [5500]
5500,88 unequal: No Solution
Moving to Node #0,4,4
Current State: 88:[39, 62], Operations: ['55-16=39', '73-11=62']
Exploring Operation: 39*62=2418, Resulting Numbers: [2418]
2418,88 unequal: No Solution
Exploring Operation: 39+62=101, Resulting Numbers: [101]
101,88 unequal: No Solution
Exploring Operation: 62-39=23, Resulting Numbers: [23]
23,88 unequal: No Solution
Moving to Node #0,2,0
Current State: 88:[55, 68], Operations: ['11+73=84', '84-16=68']
Exploring Operation: 68-55=13, Resulting Numbers: [13]
13,88 unequal: No Solution
Exploring Operation: 55+68=123, Resulting Numbers: [123]
123,88 unequal: No Solution
Exploring Operation: 55*68=3740, Resulting Numbers: [3740]
3740,88 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
24,
50,
67,
25
] | 68 | [
"50-24=26",
"67-25=42",
"26+42=68"
] | Current State: 68:[24, 50, 67, 25], Operations: []
Exploring Operation: 50-24=26, Resulting Numbers: [67, 25, 26]
Generated Node #2: [67, 25, 26] from Operation: 50-24=26
Current State: 68:[67, 25, 26], Operations: ['50-24=26']
Exploring Operation: 67-25=42, Resulting Numbers: [26, 42]
Generated Node #3: [26, 42] from Operation: 67-25=42
Current State: 68:[26, 42], Operations: ['50-24=26', '67-25=42']
Exploring Operation: 26+42=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[24, 50, 67, 25], Operations: []
Exploring Operation: 67-50=17, Resulting Numbers: [24, 25, 17]
Generated Node #0,0: 68:[24, 25, 17] Operation: 67-50=17
Exploring Operation: 24+50=74, Resulting Numbers: [67, 25, 74]
Generated Node #0,1: 68:[67, 25, 74] Operation: 24+50=74
Exploring Operation: 50/25=2, Resulting Numbers: [24, 67, 2]
Generated Node #0,2: 68:[24, 67, 2] Operation: 50/25=2
Moving to Node #0,2
Current State: 68:[24, 67, 2], Operations: ['50/25=2']
Exploring Operation: 24/2=12, Resulting Numbers: [67, 12]
Generated Node #0,2,0: 68:[67, 12] Operation: 24/2=12
Exploring Operation: 24-2=22, Resulting Numbers: [67, 22]
Generated Node #0,2,1: 68:[67, 22] Operation: 24-2=22
Exploring Operation: 67+2=69, Resulting Numbers: [24, 69]
Generated Node #0,2,2: 68:[24, 69] Operation: 67+2=69
Moving to Node #0,0
Current State: 68:[24, 25, 17], Operations: ['67-50=17']
Exploring Operation: 24-17=7, Resulting Numbers: [25, 7]
Generated Node #0,0,0: 68:[25, 7] Operation: 24-17=7
Exploring Operation: 25-17=8, Resulting Numbers: [24, 8]
Generated Node #0,0,1: 68:[24, 8] Operation: 25-17=8
Exploring Operation: 25-24=1, Resulting Numbers: [17, 1]
Generated Node #0,0,2: 68:[17, 1] Operation: 25-24=1
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 68:[17, 1], Operations: ['67-50=17', '25-24=1']
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,68 unequal: No Solution
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,68 unequal: No Solution
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 68:[25, 7], Operations: ['67-50=17', '24-17=7']
Exploring Operation: 25*7=175, Resulting Numbers: [175]
175,68 unequal: No Solution
Exploring Operation: 25+7=32, Resulting Numbers: [32]
32,68 unequal: No Solution
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 68:[24, 8], Operations: ['67-50=17', '25-17=8']
Exploring Operation: 24+8=32, Resulting Numbers: [32]
32,68 unequal: No Solution
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,68 unequal: No Solution
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,68 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: 68:[67, 25, 74], Operations: ['24+50=74']
Exploring Operation: 67-25=42, Resulting Numbers: [74, 42]
Generated Node #0,1,0: 68:[74, 42] Operation: 67-25=42
Exploring Operation: 74-25=49, Resulting Numbers: [67, 49]
Generated Node #0,1,1: 68:[67, 49] Operation: 74-25=49
Exploring Operation: 74-67=7, Resulting Numbers: [25, 7]
Generated Node #0,1,2: 68:[25, 7] Operation: 74-67=7
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 68:[25, 7], Operations: ['24+50=74', '74-67=7']
Exploring Operation: 25+7=32, Resulting Numbers: [32]
32,68 unequal: No Solution
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,68 unequal: No Solution
Exploring Operation: 25*7=175, Resulting Numbers: [175]
175,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 68:[74, 42], Operations: ['24+50=74', '67-25=42']
Exploring Operation: 74*42=3108, Resulting Numbers: [3108]
3108,68 unequal: No Solution
Exploring Operation: 74-42=32, Resulting Numbers: [32]
32,68 unequal: No Solution
Exploring Operation: 74+42=116, Resulting Numbers: [116]
116,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 68:[67, 49], Operations: ['24+50=74', '74-25=49']
Exploring Operation: 67*49=3283, Resulting Numbers: [3283]
3283,68 unequal: No Solution
Exploring Operation: 67-49=18, Resulting Numbers: [18]
18,68 unequal: No Solution
Exploring Operation: 67+49=116, Resulting Numbers: [116]
116,68 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: 68:[67, 12], Operations: ['50/25=2', '24/2=12']
Exploring Operation: 67+12=79, Resulting Numbers: [79]
79,68 unequal: No Solution
Exploring Operation: 67*12=804, Resulting Numbers: [804]
804,68 unequal: No Solution
Exploring Operation: 67-12=55, Resulting Numbers: [55]
55,68 unequal: No Solution
Moving to Node #0,2,1
Current State: 68:[67, 22], Operations: ['50/25=2', '24-2=22']
Exploring Operation: 67*22=1474, Resulting Numbers: [1474]
1474,68 unequal: No Solution
Exploring Operation: 67+22=89, Resulting Numbers: [89]
89,68 unequal: No Solution
Exploring Operation: 67-22=45, Resulting Numbers: [45]
45,68 unequal: No Solution
Moving to Node #0,2,2
Current State: 68:[24, 69], Operations: ['50/25=2', '67+2=69']
Exploring Operation: 69-24=45, Resulting Numbers: [45]
45,68 unequal: No Solution
Exploring Operation: 24+69=93, Resulting Numbers: [93]
93,68 unequal: No Solution
Exploring Operation: 24*69=1656, Resulting Numbers: [1656]
1656,68 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
56,
66,
6,
46
] | 62 | [
"66-56=10",
"6+46=52",
"10+52=62"
] | Current State: 62:[56, 66, 6, 46], Operations: []
Exploring Operation: 66-56=10, Resulting Numbers: [6, 46, 10]
Generated Node #2: [6, 46, 10] from Operation: 66-56=10
Current State: 62:[6, 46, 10], Operations: ['66-56=10']
Exploring Operation: 6+46=52, Resulting Numbers: [10, 52]
Generated Node #3: [10, 52] from Operation: 6+46=52
Current State: 62:[10, 52], Operations: ['66-56=10', '6+46=52']
Exploring Operation: 10+52=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[56, 66, 6, 46], Operations: []
Exploring Operation: 56-46=10, Resulting Numbers: [66, 6, 10]
Generated Node #0,0: 62:[66, 6, 10] Operation: 56-46=10
Exploring Operation: 6+46=52, Resulting Numbers: [56, 66, 52]
Generated Node #0,1: 62:[56, 66, 52] Operation: 6+46=52
Exploring Operation: 56+6=62, Resulting Numbers: [66, 46, 62]
Generated Node #0,2: 62:[66, 46, 62] Operation: 56+6=62
Exploring Operation: 46-6=40, Resulting Numbers: [56, 66, 40]
Generated Node #0,3: 62:[56, 66, 40] Operation: 46-6=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[66, 6, 10], Operations: ['56-46=10']
Exploring Operation: 10-6=4, Resulting Numbers: [66, 4]
Generated Node #0,0,0: 62:[66, 4] Operation: 10-6=4
Exploring Operation: 66-6=60, Resulting Numbers: [10, 60]
Generated Node #0,0,1: 62:[10, 60] Operation: 66-6=60
Exploring Operation: 66-10=56, Resulting Numbers: [6, 56]
Generated Node #0,0,2: 62:[6, 56] Operation: 66-10=56
Exploring Operation: 6*10=60, Resulting Numbers: [66, 60]
Generated Node #0,0,3: 62:[66, 60] Operation: 6*10=60
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 62:[66, 4], Operations: ['56-46=10', '10-6=4']
Exploring Operation: 66+4=70, Resulting Numbers: [70]
70,62 unequal: No Solution
Exploring Operation: 66*4=264, Resulting Numbers: [264]
264,62 unequal: No Solution
Exploring Operation: 66-4=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[56, 66, 6, 46], Operations: []
Exploring Operation: 56-46=10, Resulting Numbers: [66, 6, 10]
Generated Node #0,0: 62:[66, 6, 10] Operation: 56-46=10
Moving to Node #0,0
Current State: 62:[66, 6, 10], Operations: ['56-46=10']
Exploring Operation: 10-6=4, Resulting Numbers: [66, 4]
Generated Node #0,0,0: 62:[66, 4] Operation: 10-6=4
Moving to Node #0,0,0
Current State: 62:[66, 4], Operations: ['56-46=10', '10-6=4']
Exploring Operation: 66-4=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
78,
7,
90,
7
] | 77 | [
"90-78=12",
"7*12=84",
"84-7=77"
] | Current State: 77:[78, 7, 90, 7], Operations: []
Exploring Operation: 90-78=12, Resulting Numbers: [7, 7, 12]
Generated Node #2: [7, 7, 12] from Operation: 90-78=12
Current State: 77:[7, 7, 12], Operations: ['90-78=12']
Exploring Operation: 7*12=84, Resulting Numbers: [84]
84,77 equal: Goal Reached
Exploring Operation: 84-7=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[78, 7, 90, 7], Operations: []
Exploring Operation: 7+7=14, Resulting Numbers: [78, 90, 14]
Generated Node #0,0: 77:[78, 90, 14] Operation: 7+7=14
Exploring Operation: 78-7=71, Resulting Numbers: [90, 7, 71]
Generated Node #0,1: 77:[90, 7, 71] Operation: 78-7=71
Exploring Operation: 90-7=83, Resulting Numbers: [78, 7, 83]
Generated Node #0,2: 77:[78, 7, 83] Operation: 90-7=83
Exploring Operation: 90-7=83, Resulting Numbers: [78, 7, 83]
Generated Node #0,3: 77:[78, 7, 83] Operation: 90-7=83
Exploring Operation: 90-78=12, Resulting Numbers: [7, 7, 12]
Generated Node #0,4: 77:[7, 7, 12] Operation: 90-78=12
Start Sub Search at level 1: Moving to Node #0,4
Current State: 77:[7, 7, 12], Operations: ['90-78=12']
Exploring Operation: 7/7=1, Resulting Numbers: [12, 1]
Generated Node #0,4,0: 77:[12, 1] Operation: 7/7=1
Exploring Operation: 7+7=14, Resulting Numbers: [12, 14]
Generated Node #0,4,1: 77:[12, 14] Operation: 7+7=14
Exploring Operation: 7*12=84, Resulting Numbers: [7, 84]
Generated Node #0,4,2: 77:[7, 84] Operation: 7*12=84
Exploring Operation: 12-7=5, Resulting Numbers: [7, 5]
Generated Node #0,4,3: 77:[7, 5] Operation: 12-7=5
Exploring Operation: 12-7=5, Resulting Numbers: [7, 5]
Generated Node #0,4,4: 77:[7, 5] Operation: 12-7=5
Moving to Node #0,4,3
Current State: 77:[7, 5], Operations: ['90-78=12', '12-7=5']
Exploring Operation: 7+5=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 7*5=35, Resulting Numbers: [35]
35,77 unequal: No Solution
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,77 unequal: No Solution
Moving to Node #0,4,4
Current State: 77:[7, 5], Operations: ['90-78=12', '12-7=5']
Exploring Operation: 7+5=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 7*5=35, Resulting Numbers: [35]
35,77 unequal: No Solution
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,77 unequal: No Solution
Moving to Node #0,4,1
Current State: 77:[12, 14], Operations: ['90-78=12', '7+7=14']
Exploring Operation: 12+14=26, Resulting Numbers: [26]
26,77 unequal: No Solution
Exploring Operation: 12*14=168, Resulting Numbers: [168]
168,77 unequal: No Solution
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,77 unequal: No Solution
Moving to Node #0,4,0
Current State: 77:[12, 1], Operations: ['90-78=12', '7/7=1']
Exploring Operation: 12+1=13, Resulting Numbers: [13]
13,77 unequal: No Solution
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,77 unequal: No Solution
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 12*1=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Moving to Node #0,4,2
Current State: 77:[7, 84], Operations: ['90-78=12', '7*12=84']
Exploring Operation: 7+84=91, Resulting Numbers: [91]
91,77 unequal: No Solution
Exploring Operation: 7*84=588, Resulting Numbers: [588]
588,77 unequal: No Solution
Exploring Operation: 84/7=12, Resulting Numbers: [12]
12,77 unequal: No Solution
Exploring Operation: 84-7=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[78, 7, 90, 7], Operations: []
Exploring Operation: 90-78=12, Resulting Numbers: [7, 7, 12]
Generated Node #0,4: 77:[7, 7, 12] Operation: 90-78=12
Moving to Node #0,4
Current State: 77:[7, 7, 12], Operations: ['90-78=12']
Exploring Operation: 7*12=84, Resulting Numbers: [7, 84]
Generated Node #0,4,2: 77:[7, 84] Operation: 7*12=84
Moving to Node #0,4,2
Current State: 77:[7, 84], Operations: ['90-78=12', '7*12=84']
Exploring Operation: 84-7=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_5 | mult_heuristic |
[
73,
3,
25,
42
] | 18 | [
"73-25=48",
"48-42=6",
"3*6=18"
] | Current State: 18:[73, 3, 25, 42], Operations: []
Exploring Operation: 73-25=48, Resulting Numbers: [3, 42, 48]
Generated Node #2: [3, 42, 48] from Operation: 73-25=48
Current State: 18:[3, 42, 48], Operations: ['73-25=48']
Exploring Operation: 48-42=6, Resulting Numbers: [3, 6]
Generated Node #3: [3, 6] from Operation: 48-42=6
Current State: 18:[3, 6], Operations: ['73-25=48', '48-42=6']
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[73, 3, 25, 42], Operations: []
Exploring Operation: 73-42=31, Resulting Numbers: [3, 25, 31]
Generated Node #0,0: 18:[3, 25, 31] Operation: 73-42=31
Moving to Node #0,0
Current State: 18:[3, 25, 31], Operations: ['73-42=31']
Exploring Operation: 31-25=6, Resulting Numbers: [3, 6]
Generated Node #0,0,0: 18:[3, 6] Operation: 31-25=6
Moving to Node #0,0,0
Current State: 18:[3, 6], Operations: ['73-42=31', '31-25=6']
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,18 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
6,
77,
78,
89
] | 94 | [
"6+77=83",
"89-78=11",
"83+11=94"
] | Current State: 94:[6, 77, 78, 89], Operations: []
Exploring Operation: 6+77=83, Resulting Numbers: [78, 89, 83]
Generated Node #2: [78, 89, 83] from Operation: 6+77=83
Current State: 94:[78, 89, 83], Operations: ['6+77=83']
Exploring Operation: 89-78=11, Resulting Numbers: [83, 11]
Generated Node #3: [83, 11] from Operation: 89-78=11
Current State: 94:[83, 11], Operations: ['6+77=83', '89-78=11']
Exploring Operation: 83+11=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[6, 77, 78, 89], Operations: []
Exploring Operation: 89-78=11, Resulting Numbers: [6, 77, 11]
Generated Node #0,0: 94:[6, 77, 11] Operation: 89-78=11
Exploring Operation: 78-77=1, Resulting Numbers: [6, 89, 1]
Generated Node #0,1: 94:[6, 89, 1] Operation: 78-77=1
Exploring Operation: 89-77=12, Resulting Numbers: [6, 78, 12]
Generated Node #0,2: 94:[6, 78, 12] Operation: 89-77=12
Moving to Node #0,1
Current State: 94:[6, 89, 1], Operations: ['78-77=1']
Exploring Operation: 6-1=5, Resulting Numbers: [89, 5]
Generated Node #0,1,0: 94:[89, 5] Operation: 6-1=5
Exploring Operation: 89+1=90, Resulting Numbers: [6, 90]
Generated Node #0,1,1: 94:[6, 90] Operation: 89+1=90
Exploring Operation: 6+89=95, Resulting Numbers: [1, 95]
Generated Node #0,1,2: 94:[1, 95] Operation: 6+89=95
Moving to Node #0,0
Current State: 94:[6, 77, 11], Operations: ['89-78=11']
Exploring Operation: 77+11=88, Resulting Numbers: [6, 88]
Generated Node #0,0,0: 94:[6, 88] Operation: 77+11=88
Exploring Operation: 77/11=7, Resulting Numbers: [6, 7]
Generated Node #0,0,1: 94:[6, 7] Operation: 77/11=7
Exploring Operation: 6+77=83, Resulting Numbers: [11, 83]
Generated Node #0,0,2: 94:[11, 83] Operation: 6+77=83
Moving to Node #0,2
Current State: 94:[6, 78, 12], Operations: ['89-77=12']
Exploring Operation: 78+12=90, Resulting Numbers: [6, 90]
Generated Node #0,2,0: 94:[6, 90] Operation: 78+12=90
Exploring Operation: 12/6=2, Resulting Numbers: [78, 2]
Generated Node #0,2,1: 94:[78, 2] Operation: 12/6=2
Exploring Operation: 6+78=84, Resulting Numbers: [12, 84]
Generated Node #0,2,2: 94:[12, 84] Operation: 6+78=84
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 94:[6, 90], Operations: ['89-77=12', '78+12=90']
Exploring Operation: 90/6=15, Resulting Numbers: [15]
15,94 unequal: No Solution
Exploring Operation: 90-6=84, Resulting Numbers: [84]
84,94 unequal: No Solution
Exploring Operation: 6+90=96, Resulting Numbers: [96]
96,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 94:[78, 2], Operations: ['89-77=12', '12/6=2']
Exploring Operation: 78+2=80, Resulting Numbers: [80]
80,94 unequal: No Solution
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,94 unequal: No Solution
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 94:[12, 84], Operations: ['89-77=12', '6+78=84']
Exploring Operation: 84-12=72, Resulting Numbers: [72]
72,94 unequal: No Solution
Exploring Operation: 84/12=7, Resulting Numbers: [7]
7,94 unequal: No Solution
Exploring Operation: 12+84=96, Resulting Numbers: [96]
96,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 94:[1, 95], Operations: ['78-77=1', '6+89=95']
Exploring Operation: 95/1=95, Resulting Numbers: [95]
95,94 unequal: No Solution
Exploring Operation: 1*95=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:[6, 77, 78, 89], Operations: []
Exploring Operation: 78-77=1, Resulting Numbers: [6, 89, 1]
Generated Node #0,1: 94:[6, 89, 1] Operation: 78-77=1
Moving to Node #0,1
Current State: 94:[6, 89, 1], Operations: ['78-77=1']
Exploring Operation: 6+89=95, Resulting Numbers: [1, 95]
Generated Node #0,1,2: 94:[1, 95] Operation: 6+89=95
Moving to Node #0,1,2
Current State: 94:[1, 95], Operations: ['78-77=1', '6+89=95']
Exploring Operation: 95-1=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 0.975694 | hs_3 | mult_heuristic |
[
64,
20,
37,
51
] | 44 | [
"64-20=44",
"37+51=88",
"88-44=44"
] | Current State: 44:[64, 20, 37, 51], Operations: []
Exploring Operation: 64-20=44, Resulting Numbers: [37, 51, 44]
Generated Node #2: [37, 51, 44] from Operation: 64-20=44
Current State: 44:[37, 51, 44], Operations: ['64-20=44']
Exploring Operation: 37+51=88, Resulting Numbers: [44, 88]
Generated Node #3: [44, 88] from Operation: 37+51=88
Current State: 44:[44, 88], Operations: ['64-20=44', '37+51=88']
Exploring Operation: 88-44=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[64, 20, 37, 51], Operations: []
Exploring Operation: 64-20=44, Resulting Numbers: [37, 51, 44]
Generated Node #0,0: 44:[37, 51, 44] Operation: 64-20=44
Exploring Operation: 64-51=13, Resulting Numbers: [20, 37, 13]
Generated Node #0,1: 44:[20, 37, 13] Operation: 64-51=13
Exploring Operation: 64-37=27, Resulting Numbers: [20, 51, 27]
Generated Node #0,2: 44:[20, 51, 27] Operation: 64-37=27
Moving to Node #0,1
Current State: 44:[20, 37, 13], Operations: ['64-51=13']
Exploring Operation: 37+13=50, Resulting Numbers: [20, 50]
Generated Node #0,1,0: 44:[20, 50] Operation: 37+13=50
Exploring Operation: 37-13=24, Resulting Numbers: [20, 24]
Generated Node #0,1,1: 44:[20, 24] Operation: 37-13=24
Exploring Operation: 37-20=17, Resulting Numbers: [13, 17]
Generated Node #0,1,2: 44:[13, 17] Operation: 37-20=17
Moving to Node #0,0
Current State: 44:[37, 51, 44], Operations: ['64-20=44']
Exploring Operation: 51-44=7, Resulting Numbers: [37, 7]
Generated Node #0,0,0: 44:[37, 7] Operation: 51-44=7
Exploring Operation: 44-37=7, Resulting Numbers: [51, 7]
Generated Node #0,0,1: 44:[51, 7] Operation: 44-37=7
Exploring Operation: 51-37=14, Resulting Numbers: [44, 14]
Generated Node #0,0,2: 44:[44, 14] Operation: 51-37=14
Moving to Node #0,2
Current State: 44:[20, 51, 27], Operations: ['64-37=27']
Exploring Operation: 20+27=47, Resulting Numbers: [51, 47]
Generated Node #0,2,0: 44:[51, 47] Operation: 20+27=47
Exploring Operation: 27-20=7, Resulting Numbers: [51, 7]
Generated Node #0,2,1: 44:[51, 7] Operation: 27-20=7
Exploring Operation: 51-27=24, Resulting Numbers: [20, 24]
Generated Node #0,2,2: 44:[20, 24] Operation: 51-27=24
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 44:[20, 24], Operations: ['64-37=27', '51-27=24']
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,44 unequal: No Solution
Exploring Operation: 20+24=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[64, 20, 37, 51], Operations: []
Exploring Operation: 64-37=27, Resulting Numbers: [20, 51, 27]
Generated Node #0,2: 44:[20, 51, 27] Operation: 64-37=27
Moving to Node #0,2
Current State: 44:[20, 51, 27], Operations: ['64-37=27']
Exploring Operation: 51-27=24, Resulting Numbers: [20, 24]
Generated Node #0,2,2: 44:[20, 24] Operation: 51-27=24
Moving to Node #0,2,2
Current State: 44:[20, 24], Operations: ['64-37=27', '51-27=24']
Exploring Operation: 20+24=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | mult_heuristic |
[
78,
95,
8,
56
] | 76 | [
"78-8=70",
"95*56=5320",
"5320/70=76"
] | Current State: 76:[78, 95, 8, 56], Operations: []
Exploring Operation: 78-8=70, Resulting Numbers: [95, 56, 70]
Generated Node #2: [95, 56, 70] from Operation: 78-8=70
Current State: 76:[95, 56, 70], Operations: ['78-8=70']
Exploring Operation: 95*56=5320, Resulting Numbers: [70, 5320]
Generated Node #3: [70, 5320] from Operation: 95*56=5320
Current State: 76:[70, 5320], Operations: ['78-8=70', '95*56=5320']
Exploring Operation: 5320/70=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[78, 95, 8, 56], Operations: []
Exploring Operation: 95-56=39, Resulting Numbers: [78, 8, 39]
Generated Node #0,0: 76:[78, 8, 39] Operation: 95-56=39
Moving to Node #0,0
Current State: 76:[78, 8, 39], Operations: ['95-56=39']
Exploring Operation: 78/39=2, Resulting Numbers: [8, 2]
Generated Node #0,0,0: 76:[8, 2] Operation: 78/39=2
Moving to Node #0,0,0
Current State: 76:[8, 2], Operations: ['95-56=39', '78/39=2']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,76 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
22,
96,
1,
19
] | 55 | [
"96-22=74",
"1*19=19",
"74-19=55"
] | Current State: 55:[22, 96, 1, 19], Operations: []
Exploring Operation: 96-22=74, Resulting Numbers: [1, 19, 74]
Generated Node #2: [1, 19, 74] from Operation: 96-22=74
Current State: 55:[1, 19, 74], Operations: ['96-22=74']
Exploring Operation: 1*19=19, Resulting Numbers: [74, 19]
Generated Node #3: [74, 19] from Operation: 1*19=19
Current State: 55:[74, 19], Operations: ['96-22=74', '1*19=19']
Exploring Operation: 74-19=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[22, 96, 1, 19], Operations: []
Exploring Operation: 96-22=74, Resulting Numbers: [1, 19, 74]
Generated Node #0,0: 55:[1, 19, 74] Operation: 96-22=74
Exploring Operation: 96-19=77, Resulting Numbers: [22, 1, 77]
Generated Node #0,1: 55:[22, 1, 77] Operation: 96-19=77
Exploring Operation: 22-19=3, Resulting Numbers: [96, 1, 3]
Generated Node #0,2: 55:[96, 1, 3] Operation: 22-19=3
Exploring Operation: 22-1=21, Resulting Numbers: [96, 19, 21]
Generated Node #0,3: 55:[96, 19, 21] Operation: 22-1=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[1, 19, 74], Operations: ['96-22=74']
Exploring Operation: 74-1=73, Resulting Numbers: [19, 73]
Generated Node #0,0,0: 55:[19, 73] Operation: 74-1=73
Exploring Operation: 19-1=18, Resulting Numbers: [74, 18]
Generated Node #0,0,1: 55:[74, 18] Operation: 19-1=18
Exploring Operation: 74-19=55, Resulting Numbers: [1, 55]
Generated Node #0,0,2: 55:[1, 55] Operation: 74-19=55
Exploring Operation: 1*19=19, Resulting Numbers: [74, 19]
Generated Node #0,0,3: 55:[74, 19] Operation: 1*19=19
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 55:[1, 55], Operations: ['96-22=74', '74-19=55']
Exploring Operation: 1*55=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[22, 96, 1, 19], Operations: []
Exploring Operation: 96-22=74, Resulting Numbers: [1, 19, 74]
Generated Node #0,0: 55:[1, 19, 74] Operation: 96-22=74
Moving to Node #0,0
Current State: 55:[1, 19, 74], Operations: ['96-22=74']
Exploring Operation: 74-19=55, Resulting Numbers: [1, 55]
Generated Node #0,0,2: 55:[1, 55] Operation: 74-19=55
Moving to Node #0,0,2
Current State: 55:[1, 55], Operations: ['96-22=74', '74-19=55']
Exploring Operation: 1*55=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
3,
77,
78,
85
] | 67 | [
"77-3=74",
"85-78=7",
"74-7=67"
] | Current State: 67:[3, 77, 78, 85], Operations: []
Exploring Operation: 77-3=74, Resulting Numbers: [78, 85, 74]
Generated Node #2: [78, 85, 74] from Operation: 77-3=74
Current State: 67:[78, 85, 74], Operations: ['77-3=74']
Exploring Operation: 85-78=7, Resulting Numbers: [74, 7]
Generated Node #3: [74, 7] from Operation: 85-78=7
Current State: 67:[74, 7], Operations: ['77-3=74', '85-78=7']
Exploring Operation: 74-7=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[3, 77, 78, 85], Operations: []
Exploring Operation: 85-3=82, Resulting Numbers: [77, 78, 82]
Generated Node #0,0: 67:[77, 78, 82] Operation: 85-3=82
Exploring Operation: 3+78=81, Resulting Numbers: [77, 85, 81]
Generated Node #0,1: 67:[77, 85, 81] Operation: 3+78=81
Exploring Operation: 78-3=75, Resulting Numbers: [77, 85, 75]
Generated Node #0,2: 67:[77, 85, 75] Operation: 78-3=75
Exploring Operation: 77-3=74, Resulting Numbers: [78, 85, 74]
Generated Node #0,3: 67:[78, 85, 74] Operation: 77-3=74
Exploring Operation: 3+77=80, Resulting Numbers: [78, 85, 80]
Generated Node #0,4: 67:[78, 85, 80] Operation: 3+77=80
Moving to Node #0,0
Current State: 67:[77, 78, 82], Operations: ['85-3=82']
Exploring Operation: 77+82=159, Resulting Numbers: [78, 159]
Generated Node #0,0,0: 67:[78, 159] Operation: 77+82=159
Exploring Operation: 82-77=5, Resulting Numbers: [78, 5]
Generated Node #0,0,1: 67:[78, 5] Operation: 82-77=5
Exploring Operation: 78-77=1, Resulting Numbers: [82, 1]
Generated Node #0,0,2: 67:[82, 1] Operation: 78-77=1
Exploring Operation: 77+78=155, Resulting Numbers: [82, 155]
Generated Node #0,0,3: 67:[82, 155] Operation: 77+78=155
Exploring Operation: 82-78=4, Resulting Numbers: [77, 4]
Generated Node #0,0,4: 67:[77, 4] Operation: 82-78=4
Moving to Node #0,3
Current State: 67:[78, 85, 74], Operations: ['77-3=74']
Exploring Operation: 78+85=163, Resulting Numbers: [74, 163]
Generated Node #0,3,0: 67:[74, 163] Operation: 78+85=163
Exploring Operation: 85-78=7, Resulting Numbers: [74, 7]
Generated Node #0,3,1: 67:[74, 7] Operation: 85-78=7
Exploring Operation: 78+74=152, Resulting Numbers: [85, 152]
Generated Node #0,3,2: 67:[85, 152] Operation: 78+74=152
Exploring Operation: 85-74=11, Resulting Numbers: [78, 11]
Generated Node #0,3,3: 67:[78, 11] Operation: 85-74=11
Exploring Operation: 78-74=4, Resulting Numbers: [85, 4]
Generated Node #0,3,4: 67:[85, 4] Operation: 78-74=4
Moving to Node #0,2
Current State: 67:[77, 85, 75], Operations: ['78-3=75']
Exploring Operation: 77-75=2, Resulting Numbers: [85, 2]
Generated Node #0,2,0: 67:[85, 2] Operation: 77-75=2
Exploring Operation: 85-77=8, Resulting Numbers: [75, 8]
Generated Node #0,2,1: 67:[75, 8] Operation: 85-77=8
Exploring Operation: 85-75=10, Resulting Numbers: [77, 10]
Generated Node #0,2,2: 67:[77, 10] Operation: 85-75=10
Exploring Operation: 77+75=152, Resulting Numbers: [85, 152]
Generated Node #0,2,3: 67:[85, 152] Operation: 77+75=152
Exploring Operation: 77+85=162, Resulting Numbers: [75, 162]
Generated Node #0,2,4: 67:[75, 162] Operation: 77+85=162
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 67:[75, 8], Operations: ['78-3=75', '85-77=8']
Exploring Operation: 75*8=600, Resulting Numbers: [600]
600,67 unequal: No Solution
Exploring Operation: 75-8=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[3, 77, 78, 85], Operations: []
Exploring Operation: 78-3=75, Resulting Numbers: [77, 85, 75]
Generated Node #0,2: 67:[77, 85, 75] Operation: 78-3=75
Moving to Node #0,2
Current State: 67:[77, 85, 75], Operations: ['78-3=75']
Exploring Operation: 85-77=8, Resulting Numbers: [75, 8]
Generated Node #0,2,1: 67:[75, 8] Operation: 85-77=8
Moving to Node #0,2,1
Current State: 67:[75, 8], Operations: ['78-3=75', '85-77=8']
Exploring Operation: 75-8=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_5 | mult_heuristic |
[
21,
4,
31,
69
] | 56 | [
"21+31=52",
"52/4=13",
"69-13=56"
] | Current State: 56:[21, 4, 31, 69], Operations: []
Exploring Operation: 21+31=52, Resulting Numbers: [4, 69, 52]
Generated Node #2: [4, 69, 52] from Operation: 21+31=52
Current State: 56:[4, 69, 52], Operations: ['21+31=52']
Exploring Operation: 52/4=13, Resulting Numbers: [69, 13]
Generated Node #3: [69, 13] from Operation: 52/4=13
Current State: 56:[69, 13], Operations: ['21+31=52', '52/4=13']
Exploring Operation: 69-13=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[21, 4, 31, 69], Operations: []
Exploring Operation: 69-31=38, Resulting Numbers: [21, 4, 38]
Generated Node #0,0: 56:[21, 4, 38] Operation: 69-31=38
Exploring Operation: 69-21=48, Resulting Numbers: [4, 31, 48]
Generated Node #0,1: 56:[4, 31, 48] Operation: 69-21=48
Exploring Operation: 21+4=25, Resulting Numbers: [31, 69, 25]
Generated Node #0,2: 56:[31, 69, 25] Operation: 21+4=25
Exploring Operation: 31-21=10, Resulting Numbers: [4, 69, 10]
Generated Node #0,3: 56:[4, 69, 10] Operation: 31-21=10
Exploring Operation: 21+31=52, Resulting Numbers: [4, 69, 52]
Generated Node #0,4: 56:[4, 69, 52] Operation: 21+31=52
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[4, 31, 48], Operations: ['69-21=48']
Exploring Operation: 4+48=52, Resulting Numbers: [31, 52]
Generated Node #0,1,0: 56:[31, 52] Operation: 4+48=52
Exploring Operation: 4+31=35, Resulting Numbers: [48, 35]
Generated Node #0,1,1: 56:[48, 35] Operation: 4+31=35
Exploring Operation: 31-4=27, Resulting Numbers: [48, 27]
Generated Node #0,1,2: 56:[48, 27] Operation: 31-4=27
Exploring Operation: 48/4=12, Resulting Numbers: [31, 12]
Generated Node #0,1,3: 56:[31, 12] Operation: 48/4=12
Exploring Operation: 48-31=17, Resulting Numbers: [4, 17]
Generated Node #0,1,4: 56:[4, 17] Operation: 48-31=17
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 56:[4, 17], Operations: ['69-21=48', '48-31=17']
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,56 unequal: No Solution
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,56 unequal: No Solution
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 56:[31, 12], Operations: ['69-21=48', '48/4=12']
Exploring Operation: 31-12=19, Resulting Numbers: [19]
19,56 unequal: No Solution
Exploring Operation: 31*12=372, Resulting Numbers: [372]
372,56 unequal: No Solution
Exploring Operation: 31+12=43, Resulting Numbers: [43]
43,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 56:[31, 52], Operations: ['69-21=48', '4+48=52']
Exploring Operation: 52-31=21, Resulting Numbers: [21]
21,56 unequal: No Solution
Exploring Operation: 31*52=1612, Resulting Numbers: [1612]
1612,56 unequal: No Solution
Exploring Operation: 31+52=83, Resulting Numbers: [83]
83,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 56:[48, 27], Operations: ['69-21=48', '31-4=27']
Exploring Operation: 48-27=21, Resulting Numbers: [21]
21,56 unequal: No Solution
Exploring Operation: 48*27=1296, Resulting Numbers: [1296]
1296,56 unequal: No Solution
Exploring Operation: 48+27=75, Resulting Numbers: [75]
75,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 56:[48, 35], Operations: ['69-21=48', '4+31=35']
Exploring Operation: 48*35=1680, Resulting Numbers: [1680]
1680,56 unequal: No Solution
Exploring Operation: 48+35=83, Resulting Numbers: [83]
83,56 unequal: No Solution
Exploring Operation: 48-35=13, Resulting Numbers: [13]
13,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 56:[4, 69, 10], Operations: ['31-21=10']
Exploring Operation: 4+10=14, Resulting Numbers: [69, 14]
Generated Node #0,3,0: 56:[69, 14] Operation: 4+10=14
Exploring Operation: 10-4=6, Resulting Numbers: [69, 6]
Generated Node #0,3,1: 56:[69, 6] Operation: 10-4=6
Exploring Operation: 4+69=73, Resulting Numbers: [10, 73]
Generated Node #0,3,2: 56:[10, 73] Operation: 4+69=73
Exploring Operation: 69-4=65, Resulting Numbers: [10, 65]
Generated Node #0,3,3: 56:[10, 65] Operation: 69-4=65
Exploring Operation: 69-10=59, Resulting Numbers: [4, 59]
Generated Node #0,3,4: 56:[4, 59] Operation: 69-10=59
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 56:[4, 59], Operations: ['31-21=10', '69-10=59']
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,56 unequal: No Solution
Exploring Operation: 4+59=63, Resulting Numbers: [63]
63,56 unequal: No Solution
Exploring Operation: 4*59=236, Resulting Numbers: [236]
236,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 56:[10, 65], Operations: ['31-21=10', '69-4=65']
Exploring Operation: 10*65=650, Resulting Numbers: [650]
650,56 unequal: No Solution
Exploring Operation: 65-10=55, Resulting Numbers: [55]
55,56 unequal: No Solution
Exploring Operation: 10+65=75, Resulting Numbers: [75]
75,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 56:[69, 14], Operations: ['31-21=10', '4+10=14']
Exploring Operation: 69+14=83, Resulting Numbers: [83]
83,56 unequal: No Solution
Exploring Operation: 69-14=55, Resulting Numbers: [55]
55,56 unequal: No Solution
Exploring Operation: 69*14=966, Resulting Numbers: [966]
966,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 56:[69, 6], Operations: ['31-21=10', '10-4=6']
Exploring Operation: 69-6=63, Resulting Numbers: [63]
63,56 unequal: No Solution
Exploring Operation: 69*6=414, Resulting Numbers: [414]
414,56 unequal: No Solution
Exploring Operation: 69+6=75, Resulting Numbers: [75]
75,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 56:[10, 73], Operations: ['31-21=10', '4+69=73']
Exploring Operation: 10*73=730, Resulting Numbers: [730]
730,56 unequal: No Solution
Exploring Operation: 73-10=63, Resulting Numbers: [63]
63,56 unequal: No Solution
Exploring Operation: 10+73=83, Resulting Numbers: [83]
83,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[21, 4, 38], Operations: ['69-31=38']
Exploring Operation: 38-4=34, Resulting Numbers: [21, 34]
Generated Node #0,0,0: 56:[21, 34] Operation: 38-4=34
Exploring Operation: 38-21=17, Resulting Numbers: [4, 17]
Generated Node #0,0,1: 56:[4, 17] Operation: 38-21=17
Exploring Operation: 21+4=25, Resulting Numbers: [38, 25]
Generated Node #0,0,2: 56:[38, 25] Operation: 21+4=25
Exploring Operation: 21+38=59, Resulting Numbers: [4, 59]
Generated Node #0,0,3: 56:[4, 59] Operation: 21+38=59
Exploring Operation: 21-4=17, Resulting Numbers: [38, 17]
Generated Node #0,0,4: 56:[38, 17] Operation: 21-4=17
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 56:[4, 17], Operations: ['69-31=38', '38-21=17']
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,56 unequal: No Solution
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,56 unequal: No Solution
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 56:[4, 59], Operations: ['69-31=38', '21+38=59']
Exploring Operation: 59-4=55, Resulting Numbers: [55]
55,56 unequal: No Solution
Exploring Operation: 4*59=236, Resulting Numbers: [236]
236,56 unequal: No Solution
Exploring Operation: 4+59=63, Resulting Numbers: [63]
63,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 56:[21, 34], Operations: ['69-31=38', '38-4=34']
Exploring Operation: 21*34=714, Resulting Numbers: [714]
714,56 unequal: No Solution
Exploring Operation: 34-21=13, Resulting Numbers: [13]
13,56 unequal: No Solution
Exploring Operation: 21+34=55, Resulting Numbers: [55]
55,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 56:[38, 25], Operations: ['69-31=38', '21+4=25']
Exploring Operation: 38+25=63, Resulting Numbers: [63]
63,56 unequal: No Solution
Exploring Operation: 38*25=950, Resulting Numbers: [950]
950,56 unequal: No Solution
Exploring Operation: 38-25=13, Resulting Numbers: [13]
13,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 56:[38, 17], Operations: ['69-31=38', '21-4=17']
Exploring Operation: 38*17=646, Resulting Numbers: [646]
646,56 unequal: No Solution
Exploring Operation: 38-17=21, Resulting Numbers: [21]
21,56 unequal: No Solution
Exploring Operation: 38+17=55, Resulting Numbers: [55]
55,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 56:[4, 69, 52], Operations: ['21+31=52']
Exploring Operation: 69-4=65, Resulting Numbers: [52, 65]
Generated Node #0,4,0: 56:[52, 65] Operation: 69-4=65
Exploring Operation: 4+69=73, Resulting Numbers: [52, 73]
Generated Node #0,4,1: 56:[52, 73] Operation: 4+69=73
Exploring Operation: 52/4=13, Resulting Numbers: [69, 13]
Generated Node #0,4,2: 56:[69, 13] Operation: 52/4=13
Exploring Operation: 69-52=17, Resulting Numbers: [4, 17]
Generated Node #0,4,3: 56:[4, 17] Operation: 69-52=17
Exploring Operation: 4+52=56, Resulting Numbers: [69, 56]
Generated Node #0,4,4: 56:[69, 56] Operation: 4+52=56
Moving to Node #0,4,3
Current State: 56:[4, 17], Operations: ['21+31=52', '69-52=17']
Exploring Operation: 4*17=68, Resulting Numbers: [68]
68,56 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,56 unequal: No Solution
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,56 unequal: No Solution
Moving to Node #0,4,4
Current State: 56:[69, 56], Operations: ['21+31=52', '4+52=56']
Exploring Operation: 69*56=3864, Resulting Numbers: [3864]
3864,56 unequal: No Solution
Exploring Operation: 69-56=13, Resulting Numbers: [13]
13,56 unequal: No Solution
Exploring Operation: 69+56=125, Resulting Numbers: [125]
125,56 unequal: No Solution
Moving to Node #0,4,0
Current State: 56:[52, 65], Operations: ['21+31=52', '69-4=65']
Exploring Operation: 52+65=117, Resulting Numbers: [117]
117,56 unequal: No Solution
Exploring Operation: 65-52=13, Resulting Numbers: [13]
13,56 unequal: No Solution
Exploring Operation: 52*65=3380, Resulting Numbers: [3380]
3380,56 unequal: No Solution
Moving to Node #0,4,2
Current State: 56:[69, 13], Operations: ['21+31=52', '52/4=13']
Exploring Operation: 69*13=897, Resulting Numbers: [897]
897,56 unequal: No Solution
Exploring Operation: 69+13=82, Resulting Numbers: [82]
82,56 unequal: No Solution
Exploring Operation: 69-13=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[21, 4, 31, 69], Operations: []
Exploring Operation: 21+31=52, Resulting Numbers: [4, 69, 52]
Generated Node #0,4: 56:[4, 69, 52] Operation: 21+31=52
Moving to Node #0,4
Current State: 56:[4, 69, 52], Operations: ['21+31=52']
Exploring Operation: 52/4=13, Resulting Numbers: [69, 13]
Generated Node #0,4,2: 56:[69, 13] Operation: 52/4=13
Moving to Node #0,4,2
Current State: 56:[69, 13], Operations: ['21+31=52', '52/4=13']
Exploring Operation: 69-13=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.925347 | hs_5 | sum_heuristic |
[
2,
47,
53,
15
] | 13 | [
"53+15=68",
"68/2=34",
"47-34=13"
] | Current State: 13:[2, 47, 53, 15], Operations: []
Exploring Operation: 53+15=68, Resulting Numbers: [2, 47, 68]
Generated Node #2: [2, 47, 68] from Operation: 53+15=68
Current State: 13:[2, 47, 68], Operations: ['53+15=68']
Exploring Operation: 68/2=34, Resulting Numbers: [47, 34]
Generated Node #3: [47, 34] from Operation: 68/2=34
Current State: 13:[47, 34], Operations: ['53+15=68', '68/2=34']
Exploring Operation: 47-34=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[2, 47, 53, 15], Operations: []
Exploring Operation: 47-2=45, Resulting Numbers: [53, 15, 45]
Generated Node #0,0: 13:[53, 15, 45] Operation: 47-2=45
Exploring Operation: 53-15=38, Resulting Numbers: [2, 47, 38]
Generated Node #0,1: 13:[2, 47, 38] Operation: 53-15=38
Exploring Operation: 53-47=6, Resulting Numbers: [2, 15, 6]
Generated Node #0,2: 13:[2, 15, 6] Operation: 53-47=6
Exploring Operation: 53-2=51, Resulting Numbers: [47, 15, 51]
Generated Node #0,3: 13:[47, 15, 51] Operation: 53-2=51
Exploring Operation: 47-15=32, Resulting Numbers: [2, 53, 32]
Generated Node #0,4: 13:[2, 53, 32] Operation: 47-15=32
Start Sub Search at level 1: Moving to Node #0,2
Current State: 13:[2, 15, 6], Operations: ['53-47=6']
Exploring Operation: 2+15=17, Resulting Numbers: [6, 17]
Generated Node #0,2,0: 13:[6, 17] Operation: 2+15=17
Exploring Operation: 2*6=12, Resulting Numbers: [15, 12]
Generated Node #0,2,1: 13:[15, 12] Operation: 2*6=12
Exploring Operation: 15-2=13, Resulting Numbers: [6, 13]
Generated Node #0,2,2: 13:[6, 13] Operation: 15-2=13
Exploring Operation: 2+6=8, Resulting Numbers: [15, 8]
Generated Node #0,2,3: 13:[15, 8] Operation: 2+6=8
Exploring Operation: 6-2=4, Resulting Numbers: [15, 4]
Generated Node #0,2,4: 13:[15, 4] Operation: 6-2=4
Moving to Node #0,2,1
Current State: 13:[15, 12], Operations: ['53-47=6', '2*6=12']
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,13 unequal: No Solution
Exploring Operation: 15+12=27, Resulting Numbers: [27]
27,13 unequal: No Solution
Exploring Operation: 15*12=180, Resulting Numbers: [180]
180,13 unequal: No Solution
Moving to Node #0,2,3
Current State: 13:[15, 8], Operations: ['53-47=6', '2+6=8']
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,13 unequal: No Solution
Exploring Operation: 15+8=23, Resulting Numbers: [23]
23,13 unequal: No Solution
Exploring Operation: 15*8=120, Resulting Numbers: [120]
120,13 unequal: No Solution
Moving to Node #0,2,2
Current State: 13:[6, 13], Operations: ['53-47=6', '15-2=13']
Exploring Operation: 6*13=78, Resulting Numbers: [78]
78,13 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,13 unequal: No Solution
Exploring Operation: 6+13=19, Resulting Numbers: [19]
19,13 unequal: No Solution
Moving to Node #0,2,0
Current State: 13:[6, 17], Operations: ['53-47=6', '2+15=17']
Exploring Operation: 6*17=102, Resulting Numbers: [102]
102,13 unequal: No Solution
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,13 unequal: No Solution
Exploring Operation: 6+17=23, Resulting Numbers: [23]
23,13 unequal: No Solution
Moving to Node #0,2,4
Current State: 13:[15, 4], Operations: ['53-47=6', '6-2=4']
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,13 unequal: No Solution
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,13 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,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
Current State: 13:[2, 47, 38], Operations: ['53-15=38']
Exploring Operation: 38/2=19, Resulting Numbers: [47, 19]
Generated Node #0,1,0: 13:[47, 19] Operation: 38/2=19
Exploring Operation: 47-2=45, Resulting Numbers: [38, 45]
Generated Node #0,1,1: 13:[38, 45] Operation: 47-2=45
Exploring Operation: 38-2=36, Resulting Numbers: [47, 36]
Generated Node #0,1,2: 13:[47, 36] Operation: 38-2=36
Exploring Operation: 47-38=9, Resulting Numbers: [2, 9]
Generated Node #0,1,3: 13:[2, 9] Operation: 47-38=9
Exploring Operation: 2+47=49, Resulting Numbers: [38, 49]
Generated Node #0,1,4: 13:[38, 49] Operation: 2+47=49
Moving to Node #0,1,3
Current State: 13:[2, 9], Operations: ['53-15=38', '47-38=9']
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,13 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,13 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,13 unequal: No Solution
Moving to Node #0,1,0
Current State: 13:[47, 19], Operations: ['53-15=38', '38/2=19']
Exploring Operation: 47+19=66, Resulting Numbers: [66]
66,13 unequal: No Solution
Exploring Operation: 47-19=28, Resulting Numbers: [28]
28,13 unequal: No Solution
Exploring Operation: 47*19=893, Resulting Numbers: [893]
893,13 unequal: No Solution
Moving to Node #0,1,1
Current State: 13:[38, 45], Operations: ['53-15=38', '47-2=45']
Exploring Operation: 45-38=7, Resulting Numbers: [7]
7,13 unequal: No Solution
Exploring Operation: 38*45=1710, Resulting Numbers: [1710]
1710,13 unequal: No Solution
Exploring Operation: 38+45=83, Resulting Numbers: [83]
83,13 unequal: No Solution
Moving to Node #0,1,2
Current State: 13:[47, 36], Operations: ['53-15=38', '38-2=36']
Exploring Operation: 47+36=83, Resulting Numbers: [83]
83,13 unequal: No Solution
Exploring Operation: 47*36=1692, Resulting Numbers: [1692]
1692,13 unequal: No Solution
Exploring Operation: 47-36=11, Resulting Numbers: [11]
11,13 unequal: No Solution
Moving to Node #0,1,4
Current State: 13:[38, 49], Operations: ['53-15=38', '2+47=49']
Exploring Operation: 38*49=1862, Resulting Numbers: [1862]
1862,13 unequal: No Solution
Exploring Operation: 38+49=87, Resulting Numbers: [87]
87,13 unequal: No Solution
Exploring Operation: 49-38=11, Resulting Numbers: [11]
11,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,4
Current State: 13:[2, 53, 32], Operations: ['47-15=32']
Exploring Operation: 2+53=55, Resulting Numbers: [32, 55]
Generated Node #0,4,0: 13:[32, 55] Operation: 2+53=55
Exploring Operation: 53-2=51, Resulting Numbers: [32, 51]
Generated Node #0,4,1: 13:[32, 51] Operation: 53-2=51
Exploring Operation: 32/2=16, Resulting Numbers: [53, 16]
Generated Node #0,4,2: 13:[53, 16] Operation: 32/2=16
Exploring Operation: 53-32=21, Resulting Numbers: [2, 21]
Generated Node #0,4,3: 13:[2, 21] Operation: 53-32=21
Exploring Operation: 32-2=30, Resulting Numbers: [53, 30]
Generated Node #0,4,4: 13:[53, 30] Operation: 32-2=30
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 13:[2, 21], Operations: ['47-15=32', '53-32=21']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,13 unequal: No Solution
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,13 unequal: No Solution
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,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,4,2
Current State: 13:[53, 16], Operations: ['47-15=32', '32/2=16']
Exploring Operation: 53+16=69, Resulting Numbers: [69]
69,13 unequal: No Solution
Exploring Operation: 53-16=37, Resulting Numbers: [37]
37,13 unequal: No Solution
Exploring Operation: 53*16=848, Resulting Numbers: [848]
848,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,4,1
Current State: 13:[32, 51], Operations: ['47-15=32', '53-2=51']
Exploring Operation: 32*51=1632, Resulting Numbers: [1632]
1632,13 unequal: No Solution
Exploring Operation: 51-32=19, Resulting Numbers: [19]
19,13 unequal: No Solution
Exploring Operation: 32+51=83, Resulting Numbers: [83]
83,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,4,4
Current State: 13:[53, 30], Operations: ['47-15=32', '32-2=30']
Exploring Operation: 53+30=83, Resulting Numbers: [83]
83,13 unequal: No Solution
Exploring Operation: 53-30=23, Resulting Numbers: [23]
23,13 unequal: No Solution
Exploring Operation: 53*30=1590, Resulting Numbers: [1590]
1590,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,4,0
Current State: 13:[32, 55], Operations: ['47-15=32', '2+53=55']
Exploring Operation: 55-32=23, Resulting Numbers: [23]
23,13 unequal: No Solution
Exploring Operation: 32*55=1760, Resulting Numbers: [1760]
1760,13 unequal: No Solution
Exploring Operation: 32+55=87, Resulting Numbers: [87]
87,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:[53, 15, 45], Operations: ['47-2=45']
Exploring Operation: 53-45=8, Resulting Numbers: [15, 8]
Generated Node #0,0,0: 13:[15, 8] Operation: 53-45=8
Exploring Operation: 45/15=3, Resulting Numbers: [53, 3]
Generated Node #0,0,1: 13:[53, 3] Operation: 45/15=3
Exploring Operation: 53-15=38, Resulting Numbers: [45, 38]
Generated Node #0,0,2: 13:[45, 38] Operation: 53-15=38
Exploring Operation: 53+15=68, Resulting Numbers: [45, 68]
Generated Node #0,0,3: 13:[45, 68] Operation: 53+15=68
Exploring Operation: 45-15=30, Resulting Numbers: [53, 30]
Generated Node #0,0,4: 13:[53, 30] Operation: 45-15=30
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 13:[15, 8], Operations: ['47-2=45', '53-45=8']
Exploring Operation: 15+8=23, Resulting Numbers: [23]
23,13 unequal: No Solution
Exploring Operation: 15*8=120, Resulting Numbers: [120]
120,13 unequal: No Solution
Exploring Operation: 15-8=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,0,1
Current State: 13:[53, 3], Operations: ['47-2=45', '45/15=3']
Exploring Operation: 53*3=159, Resulting Numbers: [159]
159,13 unequal: No Solution
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,13 unequal: No Solution
Exploring Operation: 53+3=56, Resulting Numbers: [56]
56,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,0,2
Current State: 13:[45, 38], Operations: ['47-2=45', '53-15=38']
Exploring Operation: 45+38=83, Resulting Numbers: [83]
83,13 unequal: No Solution
Exploring Operation: 45-38=7, Resulting Numbers: [7]
7,13 unequal: No Solution
Exploring Operation: 45*38=1710, Resulting Numbers: [1710]
1710,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,0,4
Current State: 13:[53, 30], Operations: ['47-2=45', '45-15=30']
Exploring Operation: 53+30=83, Resulting Numbers: [83]
83,13 unequal: No Solution
Exploring Operation: 53*30=1590, Resulting Numbers: [1590]
1590,13 unequal: No Solution
Exploring Operation: 53-30=23, Resulting Numbers: [23]
23,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,0,3
Current State: 13:[45, 68], Operations: ['47-2=45', '53+15=68']
Exploring Operation: 68-45=23, Resulting Numbers: [23]
23,13 unequal: No Solution
Exploring Operation: 45+68=113, Resulting Numbers: [113]
113,13 unequal: No Solution
Exploring Operation: 45*68=3060, Resulting Numbers: [3060]
3060,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,3
Current State: 13:[47, 15, 51], Operations: ['53-2=51']
Exploring Operation: 47-15=32, Resulting Numbers: [51, 32]
Generated Node #0,3,0: 13:[51, 32] Operation: 47-15=32
Exploring Operation: 51-15=36, Resulting Numbers: [47, 36]
Generated Node #0,3,1: 13:[47, 36] Operation: 51-15=36
Exploring Operation: 47+15=62, Resulting Numbers: [51, 62]
Generated Node #0,3,2: 13:[51, 62] Operation: 47+15=62
Exploring Operation: 51-47=4, Resulting Numbers: [15, 4]
Generated Node #0,3,3: 13:[15, 4] Operation: 51-47=4
Exploring Operation: 47+51=98, Resulting Numbers: [15, 98]
Generated Node #0,3,4: 13:[15, 98] Operation: 47+51=98
Moving to Node #0,3,3
Current State: 13:[15, 4], Operations: ['53-2=51', '51-47=4']
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,13 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,13 unequal: No Solution
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,13 unequal: No Solution
Moving to Node #0,3,1
Current State: 13:[47, 36], Operations: ['53-2=51', '51-15=36']
Exploring Operation: 47-36=11, Resulting Numbers: [11]
11,13 unequal: No Solution
Exploring Operation: 47*36=1692, Resulting Numbers: [1692]
1692,13 unequal: No Solution
Exploring Operation: 47+36=83, Resulting Numbers: [83]
83,13 unequal: No Solution
Moving to Node #0,3,0
Current State: 13:[51, 32], Operations: ['53-2=51', '47-15=32']
Exploring Operation: 51+32=83, Resulting Numbers: [83]
83,13 unequal: No Solution
Exploring Operation: 51*32=1632, Resulting Numbers: [1632]
1632,13 unequal: No Solution
Exploring Operation: 51-32=19, Resulting Numbers: [19]
19,13 unequal: No Solution
Moving to Node #0,3,2
Current State: 13:[51, 62], Operations: ['53-2=51', '47+15=62']
Exploring Operation: 62-51=11, Resulting Numbers: [11]
11,13 unequal: No Solution
Exploring Operation: 51*62=3162, Resulting Numbers: [3162]
3162,13 unequal: No Solution
Exploring Operation: 51+62=113, Resulting Numbers: [113]
113,13 unequal: No Solution
Moving to Node #0,3,4
Current State: 13:[15, 98], Operations: ['53-2=51', '47+51=98']
Exploring Operation: 98-15=83, Resulting Numbers: [83]
83,13 unequal: No Solution
Exploring Operation: 15*98=1470, Resulting Numbers: [1470]
1470,13 unequal: No Solution
Exploring Operation: 15+98=113, Resulting Numbers: [113]
113,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
10,
26,
15,
73
] | 73 | [
"26-10=16",
"16-15=1",
"73*1=73"
] | Current State: 73:[10, 26, 15, 73], Operations: []
Exploring Operation: 26-10=16, Resulting Numbers: [15, 73, 16]
Generated Node #2: [15, 73, 16] from Operation: 26-10=16
Current State: 73:[15, 73, 16], Operations: ['26-10=16']
Exploring Operation: 16-15=1, Resulting Numbers: [73, 1]
Generated Node #3: [73, 1] from Operation: 16-15=1
Current State: 73:[73, 1], Operations: ['26-10=16', '16-15=1']
Exploring Operation: 73*1=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[10, 26, 15, 73], Operations: []
Exploring Operation: 10+26=36, Resulting Numbers: [15, 73, 36]
Generated Node #0,0: 73:[15, 73, 36] Operation: 10+26=36
Exploring Operation: 26+15=41, Resulting Numbers: [10, 73, 41]
Generated Node #0,1: 73:[10, 73, 41] Operation: 26+15=41
Exploring Operation: 10+15=25, Resulting Numbers: [26, 73, 25]
Generated Node #0,2: 73:[26, 73, 25] Operation: 10+15=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[15, 73, 36], Operations: ['10+26=36']
Exploring Operation: 73-15=58, Resulting Numbers: [36, 58]
Generated Node #0,0,0: 73:[36, 58] Operation: 73-15=58
Exploring Operation: 15+36=51, Resulting Numbers: [73, 51]
Generated Node #0,0,1: 73:[73, 51] Operation: 15+36=51
Exploring Operation: 15+73=88, Resulting Numbers: [36, 88]
Generated Node #0,0,2: 73:[36, 88] Operation: 15+73=88
Moving to Node #0,0,1
Current State: 73:[73, 51], Operations: ['10+26=36', '15+36=51']
Exploring Operation: 73-51=22, Resulting Numbers: [22]
22,73 unequal: No Solution
Exploring Operation: 73*51=3723, Resulting Numbers: [3723]
3723,73 unequal: No Solution
Exploring Operation: 73+51=124, Resulting Numbers: [124]
124,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[36, 58], Operations: ['10+26=36', '73-15=58']
Exploring Operation: 36*58=2088, Resulting Numbers: [2088]
2088,73 unequal: No Solution
Exploring Operation: 36+58=94, Resulting Numbers: [94]
94,73 unequal: No Solution
Exploring Operation: 58-36=22, Resulting Numbers: [22]
22,73 unequal: No Solution
Moving to Node #0,0,2
Current State: 73:[36, 88], Operations: ['10+26=36', '15+73=88']
Exploring Operation: 88-36=52, Resulting Numbers: [52]
52,73 unequal: No Solution
Exploring Operation: 36*88=3168, Resulting Numbers: [3168]
3168,73 unequal: No Solution
Exploring Operation: 36+88=124, Resulting Numbers: [124]
124,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 73:[10, 73, 41], Operations: ['26+15=41']
Exploring Operation: 10+41=51, Resulting Numbers: [73, 51]
Generated Node #0,1,0: 73:[73, 51] Operation: 10+41=51
Exploring Operation: 10+73=83, Resulting Numbers: [41, 83]
Generated Node #0,1,1: 73:[41, 83] Operation: 10+73=83
Exploring Operation: 73-10=63, Resulting Numbers: [41, 63]
Generated Node #0,1,2: 73:[41, 63] Operation: 73-10=63
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 73:[73, 51], Operations: ['26+15=41', '10+41=51']
Exploring Operation: 73+51=124, Resulting Numbers: [124]
124,73 unequal: No Solution
Exploring Operation: 73*51=3723, Resulting Numbers: [3723]
3723,73 unequal: No Solution
Exploring Operation: 73-51=22, Resulting Numbers: [22]
22,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 73:[41, 83], Operations: ['26+15=41', '10+73=83']
Exploring Operation: 41*83=3403, Resulting Numbers: [3403]
3403,73 unequal: No Solution
Exploring Operation: 41+83=124, Resulting Numbers: [124]
124,73 unequal: No Solution
Exploring Operation: 83-41=42, Resulting Numbers: [42]
42,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 73:[41, 63], Operations: ['26+15=41', '73-10=63']
Exploring Operation: 63-41=22, Resulting Numbers: [22]
22,73 unequal: No Solution
Exploring Operation: 41*63=2583, Resulting Numbers: [2583]
2583,73 unequal: No Solution
Exploring Operation: 41+63=104, Resulting Numbers: [104]
104,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 73:[26, 73, 25], Operations: ['10+15=25']
Exploring Operation: 73+25=98, Resulting Numbers: [26, 98]
Generated Node #0,2,0: 73:[26, 98] Operation: 73+25=98
Exploring Operation: 26-25=1, Resulting Numbers: [73, 1]
Generated Node #0,2,1: 73:[73, 1] Operation: 26-25=1
Exploring Operation: 26+25=51, Resulting Numbers: [73, 51]
Generated Node #0,2,2: 73:[73, 51] Operation: 26+25=51
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 73:[73, 51], Operations: ['10+15=25', '26+25=51']
Exploring Operation: 73-51=22, Resulting Numbers: [22]
22,73 unequal: No Solution
Exploring Operation: 73*51=3723, Resulting Numbers: [3723]
3723,73 unequal: No Solution
Exploring Operation: 73+51=124, Resulting Numbers: [124]
124,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 73:[26, 98], Operations: ['10+15=25', '73+25=98']
Exploring Operation: 26*98=2548, Resulting Numbers: [2548]
2548,73 unequal: No Solution
Exploring Operation: 26+98=124, Resulting Numbers: [124]
124,73 unequal: No Solution
Exploring Operation: 98-26=72, Resulting Numbers: [72]
72,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 73:[73, 1], Operations: ['10+15=25', '26-25=1']
Exploring Operation: 73/1=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[10, 26, 15, 73], Operations: []
Exploring Operation: 10+15=25, Resulting Numbers: [26, 73, 25]
Generated Node #0,2: 73:[26, 73, 25] Operation: 10+15=25
Moving to Node #0,2
Current State: 73:[26, 73, 25], Operations: ['10+15=25']
Exploring Operation: 26-25=1, Resulting Numbers: [73, 1]
Generated Node #0,2,1: 73:[73, 1] Operation: 26-25=1
Moving to Node #0,2,1
Current State: 73:[73, 1], Operations: ['10+15=25', '26-25=1']
Exploring Operation: 73/1=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96441 | hs_3 | mult_heuristic |
[
46,
10,
33,
14
] | 42 | [
"46-10=36",
"36-33=3",
"14*3=42"
] | Current State: 42:[46, 10, 33, 14], Operations: []
Exploring Operation: 46-10=36, Resulting Numbers: [33, 14, 36]
Generated Node #2: [33, 14, 36] from Operation: 46-10=36
Current State: 42:[33, 14, 36], Operations: ['46-10=36']
Exploring Operation: 36-33=3, Resulting Numbers: [14, 3]
Generated Node #3: [14, 3] from Operation: 36-33=3
Current State: 42:[14, 3], Operations: ['46-10=36', '36-33=3']
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[46, 10, 33, 14], Operations: []
Exploring Operation: 33+14=47, Resulting Numbers: [46, 10, 47]
Generated Node #0,0: 42:[46, 10, 47] Operation: 33+14=47
Exploring Operation: 33-10=23, Resulting Numbers: [46, 14, 23]
Generated Node #0,1: 42:[46, 14, 23] Operation: 33-10=23
Exploring Operation: 10+33=43, Resulting Numbers: [46, 14, 43]
Generated Node #0,2: 42:[46, 14, 43] Operation: 10+33=43
Exploring Operation: 46-33=13, Resulting Numbers: [10, 14, 13]
Generated Node #0,3: 42:[10, 14, 13] Operation: 46-33=13
Exploring Operation: 33-14=19, Resulting Numbers: [46, 10, 19]
Generated Node #0,4: 42:[46, 10, 19] Operation: 33-14=19
Moving to Node #0,3
Current State: 42:[10, 14, 13], Operations: ['46-33=13']
Exploring Operation: 13-10=3, Resulting Numbers: [14, 3]
Generated Node #0,3,0: 42:[14, 3] Operation: 13-10=3
Exploring Operation: 10+13=23, Resulting Numbers: [14, 23]
Generated Node #0,3,1: 42:[14, 23] Operation: 10+13=23
Exploring Operation: 14-10=4, Resulting Numbers: [13, 4]
Generated Node #0,3,2: 42:[13, 4] Operation: 14-10=4
Exploring Operation: 10+14=24, Resulting Numbers: [13, 24]
Generated Node #0,3,3: 42:[13, 24] Operation: 10+14=24
Exploring Operation: 14-13=1, Resulting Numbers: [10, 1]
Generated Node #0,3,4: 42:[10, 1] Operation: 14-13=1
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 42:[14, 3], Operations: ['46-33=13', '13-10=3']
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,42 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,42 unequal: No Solution
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[46, 10, 33, 14], Operations: []
Exploring Operation: 46-33=13, Resulting Numbers: [10, 14, 13]
Generated Node #0,3: 42:[10, 14, 13] Operation: 46-33=13
Moving to Node #0,3
Current State: 42:[10, 14, 13], Operations: ['46-33=13']
Exploring Operation: 13-10=3, Resulting Numbers: [14, 3]
Generated Node #0,3,0: 42:[14, 3] Operation: 13-10=3
Moving to Node #0,3,0
Current State: 42:[14, 3], Operations: ['46-33=13', '13-10=3']
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
5,
3,
62,
87
] | 10 | [
"5*3=15",
"87-62=25",
"25-15=10"
] | Current State: 10:[5, 3, 62, 87], Operations: []
Exploring Operation: 5*3=15, Resulting Numbers: [62, 87, 15]
Generated Node #2: [62, 87, 15] from Operation: 5*3=15
Current State: 10:[62, 87, 15], Operations: ['5*3=15']
Exploring Operation: 87-62=25, Resulting Numbers: [15, 25]
Generated Node #3: [15, 25] from Operation: 87-62=25
Current State: 10:[15, 25], Operations: ['5*3=15', '87-62=25']
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[5, 3, 62, 87], Operations: []
Exploring Operation: 87/3=29, Resulting Numbers: [5, 62, 29]
Generated Node #0,0: 10:[5, 62, 29] Operation: 87/3=29
Exploring Operation: 87-62=25, Resulting Numbers: [5, 3, 25]
Generated Node #0,1: 10:[5, 3, 25] Operation: 87-62=25
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[5, 3, 25], Operations: ['87-62=25']
Exploring Operation: 25-5=20, Resulting Numbers: [3, 20]
Generated Node #0,1,0: 10:[3, 20] Operation: 25-5=20
Exploring Operation: 25/5=5, Resulting Numbers: [3, 5]
Generated Node #0,1,1: 10:[3, 5] Operation: 25/5=5
Moving to Node #0,1,1
Current State: 10:[3, 5], Operations: ['87-62=25', '25/5=5']
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,10 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Moving to Node #0,1,0
Current State: 10:[3, 20], Operations: ['87-62=25', '25-5=20']
Exploring Operation: 3+20=23, Resulting Numbers: [23]
23,10 unequal: No Solution
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,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
Current State: 10:[5, 62, 29], Operations: ['87/3=29']
Exploring Operation: 62-29=33, Resulting Numbers: [5, 33]
Generated Node #0,0,0: 10:[5, 33] Operation: 62-29=33
Exploring Operation: 62-5=57, Resulting Numbers: [29, 57]
Generated Node #0,0,1: 10:[29, 57] Operation: 62-5=57
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 10:[5, 33], Operations: ['87/3=29', '62-29=33']
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,10 unequal: No Solution
Exploring Operation: 5+33=38, Resulting Numbers: [38]
38,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 10:[29, 57], Operations: ['87/3=29', '62-5=57']
Exploring Operation: 57-29=28, Resulting Numbers: [28]
28,10 unequal: No Solution
Exploring Operation: 29+57=86, Resulting Numbers: [86]
86,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
25,
19,
71,
46
] | 69 | [
"25+19=44",
"71-46=25",
"44+25=69"
] | Current State: 69:[25, 19, 71, 46], Operations: []
Exploring Operation: 25+19=44, Resulting Numbers: [71, 46, 44]
Generated Node #2: [71, 46, 44] from Operation: 25+19=44
Current State: 69:[71, 46, 44], Operations: ['25+19=44']
Exploring Operation: 71-46=25, Resulting Numbers: [44, 25]
Generated Node #3: [44, 25] from Operation: 71-46=25
Current State: 69:[44, 25], Operations: ['25+19=44', '71-46=25']
Exploring Operation: 44+25=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[25, 19, 71, 46], Operations: []
Exploring Operation: 25+46=71, Resulting Numbers: [19, 71, 71]
Generated Node #0,0: 69:[19, 71, 71] Operation: 25+46=71
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[19, 71, 71], Operations: ['25+46=71']
Exploring Operation: 71/71=1, Resulting Numbers: [19, 1]
Generated Node #0,0,0: 69:[19, 1] Operation: 71/71=1
Moving to Node #0,0,0
Current State: 69:[19, 1], Operations: ['25+46=71', '71/71=1']
Exploring Operation: 19+1=20, Resulting Numbers: [20]
20,69 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 |
[
91,
23,
57,
10
] | 83 | [
"23+57=80",
"80/10=8",
"91-8=83"
] | Current State: 83:[91, 23, 57, 10], Operations: []
Exploring Operation: 23+57=80, Resulting Numbers: [91, 10, 80]
Generated Node #2: [91, 10, 80] from Operation: 23+57=80
Current State: 83:[91, 10, 80], Operations: ['23+57=80']
Exploring Operation: 80/10=8, Resulting Numbers: [91, 8]
Generated Node #3: [91, 8] from Operation: 80/10=8
Current State: 83:[91, 8], Operations: ['23+57=80', '80/10=8']
Exploring Operation: 91-8=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[91, 23, 57, 10], Operations: []
Exploring Operation: 23+57=80, Resulting Numbers: [91, 10, 80]
Generated Node #0,0: 83:[91, 10, 80] Operation: 23+57=80
Exploring Operation: 57+10=67, Resulting Numbers: [91, 23, 67]
Generated Node #0,1: 83:[91, 23, 67] Operation: 57+10=67
Exploring Operation: 23+10=33, Resulting Numbers: [91, 57, 33]
Generated Node #0,2: 83:[91, 57, 33] Operation: 23+10=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[91, 10, 80], Operations: ['23+57=80']
Exploring Operation: 91+10=101, Resulting Numbers: [80, 101]
Generated Node #0,0,0: 83:[80, 101] Operation: 91+10=101
Exploring Operation: 91-10=81, Resulting Numbers: [80, 81]
Generated Node #0,0,1: 83:[80, 81] Operation: 91-10=81
Exploring Operation: 10+80=90, Resulting Numbers: [91, 90]
Generated Node #0,0,2: 83:[91, 90] Operation: 10+80=90
Moving to Node #0,0,1
Current State: 83:[80, 81], Operations: ['23+57=80', '91-10=81']
Exploring Operation: 81-80=1, Resulting Numbers: [1]
1,83 unequal: No Solution
Exploring Operation: 80*81=6480, Resulting Numbers: [6480]
6480,83 unequal: No Solution
Exploring Operation: 80+81=161, Resulting Numbers: [161]
161,83 unequal: No Solution
Moving to Node #0,0,2
Current State: 83:[91, 90], Operations: ['23+57=80', '10+80=90']
Exploring Operation: 91+90=181, Resulting Numbers: [181]
181,83 unequal: No Solution
Exploring Operation: 91-90=1, Resulting Numbers: [1]
1,83 unequal: No Solution
Exploring Operation: 91*90=8190, Resulting Numbers: [8190]
8190,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[80, 101], Operations: ['23+57=80', '91+10=101']
Exploring Operation: 101-80=21, Resulting Numbers: [21]
21,83 unequal: No Solution
Exploring Operation: 80*101=8080, Resulting Numbers: [8080]
8080,83 unequal: No Solution
Exploring Operation: 80+101=181, Resulting Numbers: [181]
181,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[91, 23, 67], Operations: ['57+10=67']
Exploring Operation: 23+67=90, Resulting Numbers: [91, 90]
Generated Node #0,1,0: 83:[91, 90] Operation: 23+67=90
Exploring Operation: 91+23=114, Resulting Numbers: [67, 114]
Generated Node #0,1,1: 83:[67, 114] Operation: 91+23=114
Exploring Operation: 91-23=68, Resulting Numbers: [67, 68]
Generated Node #0,1,2: 83:[67, 68] Operation: 91-23=68
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 83:[91, 90], Operations: ['57+10=67', '23+67=90']
Exploring Operation: 91+90=181, Resulting Numbers: [181]
181,83 unequal: No Solution
Exploring Operation: 91*90=8190, Resulting Numbers: [8190]
8190,83 unequal: No Solution
Exploring Operation: 91-90=1, Resulting Numbers: [1]
1,83 unequal: No Solution
No 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: 83:[67, 68], Operations: ['57+10=67', '91-23=68']
Exploring Operation: 67*68=4556, Resulting Numbers: [4556]
4556,83 unequal: No Solution
Exploring Operation: 68-67=1, Resulting Numbers: [1]
1,83 unequal: No Solution
Exploring Operation: 67+68=135, Resulting Numbers: [135]
135,83 unequal: No Solution
No 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: 83:[67, 114], Operations: ['57+10=67', '91+23=114']
Exploring Operation: 67+114=181, Resulting Numbers: [181]
181,83 unequal: No Solution
Exploring Operation: 114-67=47, Resulting Numbers: [47]
47,83 unequal: No Solution
Exploring Operation: 67*114=7638, Resulting Numbers: [7638]
7638,83 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: 83:[91, 57, 33], Operations: ['23+10=33']
Exploring Operation: 57+33=90, Resulting Numbers: [91, 90]
Generated Node #0,2,0: 83:[91, 90] Operation: 57+33=90
Exploring Operation: 91-33=58, Resulting Numbers: [57, 58]
Generated Node #0,2,1: 83:[57, 58] Operation: 91-33=58
Exploring Operation: 91+33=124, Resulting Numbers: [57, 124]
Generated Node #0,2,2: 83:[57, 124] Operation: 91+33=124
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 83:[91, 90], Operations: ['23+10=33', '57+33=90']
Exploring Operation: 91-90=1, Resulting Numbers: [1]
1,83 unequal: No Solution
Exploring Operation: 91+90=181, Resulting Numbers: [181]
181,83 unequal: No Solution
Exploring Operation: 91*90=8190, Resulting Numbers: [8190]
8190,83 unequal: No Solution
No 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: 83:[57, 58], Operations: ['23+10=33', '91-33=58']
Exploring Operation: 57+58=115, Resulting Numbers: [115]
115,83 unequal: No Solution
Exploring Operation: 57*58=3306, Resulting Numbers: [3306]
3306,83 unequal: No Solution
Exploring Operation: 58-57=1, Resulting Numbers: [1]
1,83 unequal: No Solution
No 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: 83:[57, 124], Operations: ['23+10=33', '91+33=124']
Exploring Operation: 57*124=7068, Resulting Numbers: [7068]
7068,83 unequal: No Solution
Exploring Operation: 124-57=67, Resulting Numbers: [67]
67,83 unequal: No Solution
Exploring Operation: 57+124=181, Resulting Numbers: [181]
181,83 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 |
[
81,
10,
82,
96
] | 59 | [
"96-82=14",
"10*14=140",
"140-81=59"
] | Current State: 59:[81, 10, 82, 96], Operations: []
Exploring Operation: 96-82=14, Resulting Numbers: [81, 10, 14]
Generated Node #2: [81, 10, 14] from Operation: 96-82=14
Current State: 59:[81, 10, 14], Operations: ['96-82=14']
Exploring Operation: 10*14=140, Resulting Numbers: [81, 140]
Generated Node #3: [81, 140] from Operation: 10*14=140
Current State: 59:[81, 140], Operations: ['96-82=14', '10*14=140']
Exploring Operation: 140-81=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[81, 10, 82, 96], Operations: []
Exploring Operation: 96-10=86, Resulting Numbers: [81, 82, 86]
Generated Node #0,0: 59:[81, 82, 86] Operation: 96-10=86
Exploring Operation: 82-10=72, Resulting Numbers: [81, 96, 72]
Generated Node #0,1: 59:[81, 96, 72] Operation: 82-10=72
Exploring Operation: 81-10=71, Resulting Numbers: [82, 96, 71]
Generated Node #0,2: 59:[82, 96, 71] Operation: 81-10=71
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[81, 82, 86], Operations: ['96-10=86']
Exploring Operation: 86-82=4, Resulting Numbers: [81, 4]
Generated Node #0,0,0: 59:[81, 4] Operation: 86-82=4
Exploring Operation: 82-81=1, Resulting Numbers: [86, 1]
Generated Node #0,0,1: 59:[86, 1] Operation: 82-81=1
Exploring Operation: 86-81=5, Resulting Numbers: [82, 5]
Generated Node #0,0,2: 59:[82, 5] Operation: 86-81=5
Moving to Node #0,0,0
Current State: 59:[81, 4], Operations: ['96-10=86', '86-82=4']
Exploring Operation: 81*4=324, Resulting Numbers: [324]
324,59 unequal: No Solution
Exploring Operation: 81-4=77, Resulting Numbers: [77]
77,59 unequal: No Solution
Exploring Operation: 81+4=85, Resulting Numbers: [85]
85,59 unequal: No Solution
Moving to Node #0,0,2
Current State: 59:[82, 5], Operations: ['96-10=86', '86-81=5']
Exploring Operation: 82+5=87, Resulting Numbers: [87]
87,59 unequal: No Solution
Exploring Operation: 82-5=77, Resulting Numbers: [77]
77,59 unequal: No Solution
Exploring Operation: 82*5=410, Resulting Numbers: [410]
410,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[86, 1], Operations: ['96-10=86', '82-81=1']
Exploring Operation: 86/1=86, Resulting Numbers: [86]
86,59 unequal: No Solution
Exploring Operation: 86*1=86, Resulting Numbers: [86]
86,59 unequal: No Solution
Exploring Operation: 86-1=85, Resulting Numbers: [85]
85,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[81, 96, 72], Operations: ['82-10=72']
Exploring Operation: 96-81=15, Resulting Numbers: [72, 15]
Generated Node #0,1,0: 59:[72, 15] Operation: 96-81=15
Exploring Operation: 96-72=24, Resulting Numbers: [81, 24]
Generated Node #0,1,1: 59:[81, 24] Operation: 96-72=24
Exploring Operation: 81-72=9, Resulting Numbers: [96, 9]
Generated Node #0,1,2: 59:[96, 9] Operation: 81-72=9
Moving to Node #0,1,0
Current State: 59:[72, 15], Operations: ['82-10=72', '96-81=15']
Exploring Operation: 72-15=57, Resulting Numbers: [57]
57,59 unequal: No Solution
Exploring Operation: 72*15=1080, Resulting Numbers: [1080]
1080,59 unequal: No Solution
Exploring Operation: 72+15=87, Resulting Numbers: [87]
87,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[81, 24], Operations: ['82-10=72', '96-72=24']
Exploring Operation: 81+24=105, Resulting Numbers: [105]
105,59 unequal: No Solution
Exploring Operation: 81*24=1944, Resulting Numbers: [1944]
1944,59 unequal: No Solution
Exploring Operation: 81-24=57, Resulting Numbers: [57]
57,59 unequal: No Solution
Moving to Node #0,1,2
Current State: 59:[96, 9], Operations: ['82-10=72', '81-72=9']
Exploring Operation: 96*9=864, Resulting Numbers: [864]
864,59 unequal: No Solution
Exploring Operation: 96-9=87, Resulting Numbers: [87]
87,59 unequal: No Solution
Exploring Operation: 96+9=105, Resulting Numbers: [105]
105,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 59:[82, 96, 71], Operations: ['81-10=71']
Exploring Operation: 82-71=11, Resulting Numbers: [96, 11]
Generated Node #0,2,0: 59:[96, 11] Operation: 82-71=11
Exploring Operation: 96-71=25, Resulting Numbers: [82, 25]
Generated Node #0,2,1: 59:[82, 25] Operation: 96-71=25
Exploring Operation: 96-82=14, Resulting Numbers: [71, 14]
Generated Node #0,2,2: 59:[71, 14] Operation: 96-82=14
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 59:[82, 25], Operations: ['81-10=71', '96-71=25']
Exploring Operation: 82*25=2050, Resulting Numbers: [2050]
2050,59 unequal: No Solution
Exploring Operation: 82+25=107, Resulting Numbers: [107]
107,59 unequal: No Solution
Exploring Operation: 82-25=57, Resulting Numbers: [57]
57,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 59:[71, 14], Operations: ['81-10=71', '96-82=14']
Exploring Operation: 71-14=57, Resulting Numbers: [57]
57,59 unequal: No Solution
Exploring Operation: 71+14=85, Resulting Numbers: [85]
85,59 unequal: No Solution
Exploring Operation: 71*14=994, Resulting Numbers: [994]
994,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 59:[96, 11], Operations: ['81-10=71', '82-71=11']
Exploring Operation: 96+11=107, Resulting Numbers: [107]
107,59 unequal: No Solution
Exploring Operation: 96-11=85, Resulting Numbers: [85]
85,59 unequal: No Solution
Exploring Operation: 96*11=1056, Resulting Numbers: [1056]
1056,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
96,
13,
29,
45
] | 32 | [
"13+29=42",
"45-42=3",
"96/3=32"
] | Current State: 32:[96, 13, 29, 45], Operations: []
Exploring Operation: 13+29=42, Resulting Numbers: [96, 45, 42]
Generated Node #2: [96, 45, 42] from Operation: 13+29=42
Current State: 32:[96, 45, 42], Operations: ['13+29=42']
Exploring Operation: 45-42=3, Resulting Numbers: [96, 3]
Generated Node #3: [96, 3] from Operation: 45-42=3
Current State: 32:[96, 3], Operations: ['13+29=42', '45-42=3']
Exploring Operation: 96/3=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[96, 13, 29, 45], Operations: []
Exploring Operation: 96-45=51, Resulting Numbers: [13, 29, 51]
Generated Node #0,0: 32:[13, 29, 51] Operation: 96-45=51
Exploring Operation: 96-29=67, Resulting Numbers: [13, 45, 67]
Generated Node #0,1: 32:[13, 45, 67] Operation: 96-29=67
Moving to Node #0,0
Current State: 32:[13, 29, 51], Operations: ['96-45=51']
Exploring Operation: 51-29=22, Resulting Numbers: [13, 22]
Generated Node #0,0,0: 32:[13, 22] Operation: 51-29=22
Exploring Operation: 51-13=38, Resulting Numbers: [29, 38]
Generated Node #0,0,1: 32:[29, 38] Operation: 51-13=38
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[13, 22], Operations: ['96-45=51', '51-29=22']
Exploring Operation: 22-13=9, Resulting Numbers: [9]
9,32 unequal: No Solution
Exploring Operation: 13+22=35, Resulting Numbers: [35]
35,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 32:[29, 38], Operations: ['96-45=51', '51-13=38']
Exploring Operation: 38-29=9, Resulting Numbers: [9]
9,32 unequal: No Solution
Exploring Operation: 29+38=67, Resulting Numbers: [67]
67,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 32:[13, 45, 67], Operations: ['96-29=67']
Exploring Operation: 67-45=22, Resulting Numbers: [13, 22]
Generated Node #0,1,0: 32:[13, 22] Operation: 67-45=22
Exploring Operation: 45-13=32, Resulting Numbers: [67, 32]
Generated Node #0,1,1: 32:[67, 32] Operation: 45-13=32
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 32:[13, 22], Operations: ['96-29=67', '67-45=22']
Exploring Operation: 13+22=35, Resulting Numbers: [35]
35,32 unequal: No Solution
Exploring Operation: 22-13=9, Resulting Numbers: [9]
9,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 32:[67, 32], Operations: ['96-29=67', '45-13=32']
Exploring Operation: 67-32=35, Resulting Numbers: [35]
35,32 unequal: No Solution
Exploring Operation: 67+32=99, Resulting Numbers: [99]
99,32 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 |
[
97,
2,
50,
58
] | 22 | [
"97-50=47",
"58-47=11",
"2*11=22"
] | Current State: 22:[97, 2, 50, 58], Operations: []
Exploring Operation: 97-50=47, Resulting Numbers: [2, 58, 47]
Generated Node #2: [2, 58, 47] from Operation: 97-50=47
Current State: 22:[2, 58, 47], Operations: ['97-50=47']
Exploring Operation: 58-47=11, Resulting Numbers: [2, 11]
Generated Node #3: [2, 11] from Operation: 58-47=11
Current State: 22:[2, 11], Operations: ['97-50=47', '58-47=11']
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[97, 2, 50, 58], Operations: []
Exploring Operation: 97-50=47, Resulting Numbers: [2, 58, 47]
Generated Node #0,0: 22:[2, 58, 47] Operation: 97-50=47
Exploring Operation: 58-50=8, Resulting Numbers: [97, 2, 8]
Generated Node #0,1: 22:[97, 2, 8] Operation: 58-50=8
Exploring Operation: 97-58=39, Resulting Numbers: [2, 50, 39]
Generated Node #0,2: 22:[2, 50, 39] Operation: 97-58=39
Exploring Operation: 58/2=29, Resulting Numbers: [97, 50, 29]
Generated Node #0,3: 22:[97, 50, 29] Operation: 58/2=29
Moving to Node #0,2
Current State: 22:[2, 50, 39], Operations: ['97-58=39']
Exploring Operation: 50-39=11, Resulting Numbers: [2, 11]
Generated Node #0,2,0: 22:[2, 11] Operation: 50-39=11
Exploring Operation: 50/2=25, Resulting Numbers: [39, 25]
Generated Node #0,2,1: 22:[39, 25] Operation: 50/2=25
Exploring Operation: 39-2=37, Resulting Numbers: [50, 37]
Generated Node #0,2,2: 22:[50, 37] Operation: 39-2=37
Exploring Operation: 50-2=48, Resulting Numbers: [39, 48]
Generated Node #0,2,3: 22:[39, 48] Operation: 50-2=48
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 22:[2, 11], Operations: ['97-58=39', '50-39=11']
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[97, 2, 50, 58], Operations: []
Exploring Operation: 97-58=39, Resulting Numbers: [2, 50, 39]
Generated Node #0,2: 22:[2, 50, 39] Operation: 97-58=39
Moving to Node #0,2
Current State: 22:[2, 50, 39], Operations: ['97-58=39']
Exploring Operation: 50-39=11, Resulting Numbers: [2, 11]
Generated Node #0,2,0: 22:[2, 11] Operation: 50-39=11
Moving to Node #0,2,0
Current State: 22:[2, 11], Operations: ['97-58=39', '50-39=11']
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
95,
50,
96,
51
] | 100 | [
"95+50=145",
"96-51=45",
"145-45=100"
] | Current State: 100:[95, 50, 96, 51], Operations: []
Exploring Operation: 95+50=145, Resulting Numbers: [96, 51, 145]
Generated Node #2: [96, 51, 145] from Operation: 95+50=145
Current State: 100:[96, 51, 145], Operations: ['95+50=145']
Exploring Operation: 96-51=45, Resulting Numbers: [145, 45]
Generated Node #3: [145, 45] from Operation: 96-51=45
Current State: 100:[145, 45], Operations: ['95+50=145', '96-51=45']
Exploring Operation: 145-45=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[95, 50, 96, 51], Operations: []
Exploring Operation: 50+51=101, Resulting Numbers: [95, 96, 101]
Generated Node #0,0: 100:[95, 96, 101] Operation: 50+51=101
Exploring Operation: 96-95=1, Resulting Numbers: [50, 51, 1]
Generated Node #0,1: 100:[50, 51, 1] Operation: 96-95=1
Exploring Operation: 96-50=46, Resulting Numbers: [95, 51, 46]
Generated Node #0,2: 100:[95, 51, 46] Operation: 96-50=46
Exploring Operation: 95-50=45, Resulting Numbers: [96, 51, 45]
Generated Node #0,3: 100:[96, 51, 45] Operation: 95-50=45
Exploring Operation: 95-51=44, Resulting Numbers: [50, 96, 44]
Generated Node #0,4: 100:[50, 96, 44] Operation: 95-51=44
Start Sub Search at level 1: Moving to Node #0,1
Current State: 100:[50, 51, 1], Operations: ['96-95=1']
Exploring Operation: 51/1=51, Resulting Numbers: [50, 51]
Generated Node #0,1,0: 100:[50, 51] Operation: 51/1=51
Exploring Operation: 50*1=50, Resulting Numbers: [51, 50]
Generated Node #0,1,1: 100:[51, 50] Operation: 50*1=50
Exploring Operation: 51-1=50, Resulting Numbers: [50, 50]
Generated Node #0,1,2: 100:[50, 50] Operation: 51-1=50
Exploring Operation: 51*1=51, Resulting Numbers: [50, 51]
Generated Node #0,1,3: 100:[50, 51] Operation: 51*1=51
Exploring Operation: 50/1=50, Resulting Numbers: [51, 50]
Generated Node #0,1,4: 100:[51, 50] Operation: 50/1=50
Moving to Node #0,1,2
Current State: 100:[50, 50], Operations: ['96-95=1', '51-1=50']
Exploring Operation: 50+50=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[95, 50, 96, 51], Operations: []
Exploring Operation: 96-95=1, Resulting Numbers: [50, 51, 1]
Generated Node #0,1: 100:[50, 51, 1] Operation: 96-95=1
Moving to Node #0,1
Current State: 100:[50, 51, 1], Operations: ['96-95=1']
Exploring Operation: 51-1=50, Resulting Numbers: [50, 50]
Generated Node #0,1,2: 100:[50, 50] Operation: 51-1=50
Moving to Node #0,1,2
Current State: 100:[50, 50], Operations: ['96-95=1', '51-1=50']
Exploring Operation: 50+50=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
28,
64,
51,
49
] | 72 | [
"64-28=36",
"51-49=2",
"36*2=72"
] | Current State: 72:[28, 64, 51, 49], Operations: []
Exploring Operation: 64-28=36, Resulting Numbers: [51, 49, 36]
Generated Node #2: [51, 49, 36] from Operation: 64-28=36
Current State: 72:[51, 49, 36], Operations: ['64-28=36']
Exploring Operation: 51-49=2, Resulting Numbers: [36, 2]
Generated Node #3: [36, 2] from Operation: 51-49=2
Current State: 72:[36, 2], Operations: ['64-28=36', '51-49=2']
Exploring Operation: 36*2=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[28, 64, 51, 49], Operations: []
Exploring Operation: 51-28=23, Resulting Numbers: [64, 49, 23]
Generated Node #0,0: 72:[64, 49, 23] Operation: 51-28=23
Exploring Operation: 64-51=13, Resulting Numbers: [28, 49, 13]
Generated Node #0,1: 72:[28, 49, 13] Operation: 64-51=13
Exploring Operation: 51-49=2, Resulting Numbers: [28, 64, 2]
Generated Node #0,2: 72:[28, 64, 2] Operation: 51-49=2
Exploring Operation: 64-49=15, Resulting Numbers: [28, 51, 15]
Generated Node #0,3: 72:[28, 51, 15] Operation: 64-49=15
Start Sub Search at level 1: Moving to Node #0,2
Current State: 72:[28, 64, 2], Operations: ['51-49=2']
Exploring Operation: 64/2=32, Resulting Numbers: [28, 32]
Generated Node #0,2,0: 72:[28, 32] Operation: 64/2=32
Exploring Operation: 28-2=26, Resulting Numbers: [64, 26]
Generated Node #0,2,1: 72:[64, 26] Operation: 28-2=26
Exploring Operation: 64-28=36, Resulting Numbers: [2, 36]
Generated Node #0,2,2: 72:[2, 36] Operation: 64-28=36
Exploring Operation: 28/2=14, Resulting Numbers: [64, 14]
Generated Node #0,2,3: 72:[64, 14] Operation: 28/2=14
Moving to Node #0,2,2
Current State: 72:[2, 36], Operations: ['51-49=2', '64-28=36']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,72 unequal: No Solution
Exploring Operation: 2+36=38, Resulting Numbers: [38]
38,72 unequal: No Solution
Exploring Operation: 2*36=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[28, 64, 51, 49], Operations: []
Exploring Operation: 51-49=2, Resulting Numbers: [28, 64, 2]
Generated Node #0,2: 72:[28, 64, 2] Operation: 51-49=2
Moving to Node #0,2
Current State: 72:[28, 64, 2], Operations: ['51-49=2']
Exploring Operation: 64-28=36, Resulting Numbers: [2, 36]
Generated Node #0,2,2: 72:[2, 36] Operation: 64-28=36
Moving to Node #0,2,2
Current State: 72:[2, 36], Operations: ['51-49=2', '64-28=36']
Exploring Operation: 2*36=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
6,
14,
44,
55
] | 73 | [
"6*14=84",
"55-44=11",
"84-11=73"
] | Current State: 73:[6, 14, 44, 55], Operations: []
Exploring Operation: 6*14=84, Resulting Numbers: [44, 55, 84]
Generated Node #2: [44, 55, 84] from Operation: 6*14=84
Current State: 73:[44, 55, 84], Operations: ['6*14=84']
Exploring Operation: 55-44=11, Resulting Numbers: [84, 11]
Generated Node #3: [84, 11] from Operation: 55-44=11
Current State: 73:[84, 11], Operations: ['6*14=84', '55-44=11']
Exploring Operation: 84-11=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[6, 14, 44, 55], Operations: []
Exploring Operation: 6*14=84, Resulting Numbers: [44, 55, 84]
Generated Node #0,0: 73:[44, 55, 84] Operation: 6*14=84
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[44, 55, 84], Operations: ['6*14=84']
Exploring Operation: 44+55=99, Resulting Numbers: [84, 99]
Generated Node #0,0,0: 73:[84, 99] Operation: 44+55=99
Moving to Node #0,0,0
Current State: 73:[84, 99], Operations: ['6*14=84', '44+55=99']
Exploring Operation: 99-84=15, Resulting Numbers: [15]
15,73 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 |
[
18,
24,
32,
90
] | 81 | [
"18+90=108",
"24*108=2592",
"2592/32=81"
] | Current State: 81:[18, 24, 32, 90], Operations: []
Exploring Operation: 18+90=108, Resulting Numbers: [24, 32, 108]
Generated Node #2: [24, 32, 108] from Operation: 18+90=108
Current State: 81:[24, 32, 108], Operations: ['18+90=108']
Exploring Operation: 24*108=2592, Resulting Numbers: [32, 2592]
Generated Node #3: [32, 2592] from Operation: 24*108=2592
Current State: 81:[32, 2592], Operations: ['18+90=108', '24*108=2592']
Exploring Operation: 2592/32=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[18, 24, 32, 90], Operations: []
Exploring Operation: 90/18=5, Resulting Numbers: [24, 32, 5]
Generated Node #0,0: 81:[24, 32, 5] Operation: 90/18=5
Exploring Operation: 24-18=6, Resulting Numbers: [32, 90, 6]
Generated Node #0,1: 81:[32, 90, 6] Operation: 24-18=6
Exploring Operation: 32-18=14, Resulting Numbers: [24, 90, 14]
Generated Node #0,2: 81:[24, 90, 14] Operation: 32-18=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[24, 32, 5], Operations: ['90/18=5']
Exploring Operation: 32-5=27, Resulting Numbers: [24, 27]
Generated Node #0,0,0: 81:[24, 27] Operation: 32-5=27
Exploring Operation: 24+5=29, Resulting Numbers: [32, 29]
Generated Node #0,0,1: 81:[32, 29] Operation: 24+5=29
Exploring Operation: 32-24=8, Resulting Numbers: [5, 8]
Generated Node #0,0,2: 81:[5, 8] Operation: 32-24=8
Moving to Node #0,0,0
Current State: 81:[24, 27], Operations: ['90/18=5', '32-5=27']
Exploring Operation: 24+27=51, Resulting Numbers: [51]
51,81 unequal: No Solution
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 24*27=648, Resulting Numbers: [648]
648,81 unequal: No Solution
Moving to Node #0,0,2
Current State: 81:[5, 8], Operations: ['90/18=5', '32-24=8']
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 5*8=40, Resulting Numbers: [40]
40,81 unequal: No Solution
Moving to Node #0,0,1
Current State: 81:[32, 29], Operations: ['90/18=5', '24+5=29']
Exploring Operation: 32-29=3, Resulting Numbers: [3]
3,81 unequal: No Solution
Exploring Operation: 32+29=61, Resulting Numbers: [61]
61,81 unequal: No Solution
Exploring Operation: 32*29=928, Resulting Numbers: [928]
928,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:[32, 90, 6], Operations: ['24-18=6']
Exploring Operation: 32-6=26, Resulting Numbers: [90, 26]
Generated Node #0,1,0: 81:[90, 26] Operation: 32-6=26
Exploring Operation: 90-6=84, Resulting Numbers: [32, 84]
Generated Node #0,1,1: 81:[32, 84] Operation: 90-6=84
Exploring Operation: 90/6=15, Resulting Numbers: [32, 15]
Generated Node #0,1,2: 81:[32, 15] Operation: 90/6=15
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 81:[32, 84], Operations: ['24-18=6', '90-6=84']
Exploring Operation: 32*84=2688, Resulting Numbers: [2688]
2688,81 unequal: No Solution
Exploring Operation: 32+84=116, Resulting Numbers: [116]
116,81 unequal: No Solution
Exploring Operation: 84-32=52, Resulting Numbers: [52]
52,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,1,0
Current State: 81:[90, 26], Operations: ['24-18=6', '32-6=26']
Exploring Operation: 90*26=2340, Resulting Numbers: [2340]
2340,81 unequal: No Solution
Exploring Operation: 90-26=64, Resulting Numbers: [64]
64,81 unequal: No Solution
Exploring Operation: 90+26=116, Resulting Numbers: [116]
116,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,1,2
Current State: 81:[32, 15], Operations: ['24-18=6', '90/6=15']
Exploring Operation: 32*15=480, Resulting Numbers: [480]
480,81 unequal: No Solution
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,81 unequal: No Solution
Exploring Operation: 32+15=47, Resulting Numbers: [47]
47,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,2
Current State: 81:[24, 90, 14], Operations: ['32-18=14']
Exploring Operation: 90-24=66, Resulting Numbers: [14, 66]
Generated Node #0,2,0: 81:[14, 66] Operation: 90-24=66
Exploring Operation: 90-14=76, Resulting Numbers: [24, 76]
Generated Node #0,2,1: 81:[24, 76] Operation: 90-14=76
Exploring Operation: 24-14=10, Resulting Numbers: [90, 10]
Generated Node #0,2,2: 81:[90, 10] Operation: 24-14=10
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 81:[24, 76], Operations: ['32-18=14', '90-14=76']
Exploring Operation: 76-24=52, Resulting Numbers: [52]
52,81 unequal: No Solution
Exploring Operation: 24*76=1824, Resulting Numbers: [1824]
1824,81 unequal: No Solution
Exploring Operation: 24+76=100, Resulting Numbers: [100]
100,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:[90, 10], Operations: ['32-18=14', '24-14=10']
Exploring Operation: 90-10=80, Resulting Numbers: [80]
80,81 unequal: No Solution
Exploring Operation: 90/10=9, Resulting Numbers: [9]
9,81 unequal: No Solution
Exploring Operation: 90+10=100, Resulting Numbers: [100]
100,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:[14, 66], Operations: ['32-18=14', '90-24=66']
Exploring Operation: 66-14=52, Resulting Numbers: [52]
52,81 unequal: No Solution
Exploring Operation: 14+66=80, Resulting Numbers: [80]
80,81 unequal: No Solution
Exploring Operation: 14*66=924, Resulting Numbers: [924]
924,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
No solution found.
| 0 | hs_3 | sum_heuristic |
[
38,
26,
91,
97
] | 24 | [
"26*91=2366",
"2366-38=2328",
"2328/97=24"
] | Current State: 24:[38, 26, 91, 97], Operations: []
Exploring Operation: 26*91=2366, Resulting Numbers: [38, 97, 2366]
Generated Node #2: [38, 97, 2366] from Operation: 26*91=2366
Current State: 24:[38, 97, 2366], Operations: ['26*91=2366']
Exploring Operation: 2366-38=2328, Resulting Numbers: [97, 2328]
Generated Node #3: [97, 2328] from Operation: 2366-38=2328
Current State: 24:[97, 2328], Operations: ['26*91=2366', '2366-38=2328']
Exploring Operation: 2328/97=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[38, 26, 91, 97], Operations: []
Exploring Operation: 97-91=6, Resulting Numbers: [38, 26, 6]
Generated Node #0,0: 24:[38, 26, 6] Operation: 97-91=6
Moving to Node #0,0
Current State: 24:[38, 26, 6], Operations: ['97-91=6']
Exploring Operation: 38-26=12, Resulting Numbers: [6, 12]
Generated Node #0,0,0: 24:[6, 12] Operation: 38-26=12
Moving to Node #0,0,0
Current State: 24:[6, 12], Operations: ['97-91=6', '38-26=12']
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,24 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
61,
57,
23,
20
] | 21 | [
"61*20=1220",
"1220-23=1197",
"1197/57=21"
] | Current State: 21:[61, 57, 23, 20], Operations: []
Exploring Operation: 61*20=1220, Resulting Numbers: [57, 23, 1220]
Generated Node #2: [57, 23, 1220] from Operation: 61*20=1220
Current State: 21:[57, 23, 1220], Operations: ['61*20=1220']
Exploring Operation: 1220-23=1197, Resulting Numbers: [57, 1197]
Generated Node #3: [57, 1197] from Operation: 1220-23=1197
Current State: 21:[57, 1197], Operations: ['61*20=1220', '1220-23=1197']
Exploring Operation: 1197/57=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[61, 57, 23, 20], Operations: []
Exploring Operation: 61-23=38, Resulting Numbers: [57, 20, 38]
Generated Node #0,0: 21:[57, 20, 38] Operation: 61-23=38
Exploring Operation: 61-20=41, Resulting Numbers: [57, 23, 41]
Generated Node #0,1: 21:[57, 23, 41] Operation: 61-20=41
Exploring Operation: 57-23=34, Resulting Numbers: [61, 20, 34]
Generated Node #0,2: 21:[61, 20, 34] Operation: 57-23=34
Exploring Operation: 61-57=4, Resulting Numbers: [23, 20, 4]
Generated Node #0,3: 21:[23, 20, 4] Operation: 61-57=4
Exploring Operation: 57-20=37, Resulting Numbers: [61, 23, 37]
Generated Node #0,4: 21:[61, 23, 37] Operation: 57-20=37
Start Sub Search at level 1: Moving to Node #0,3
Current State: 21:[23, 20, 4], Operations: ['61-57=4']
Exploring Operation: 23+4=27, Resulting Numbers: [20, 27]
Generated Node #0,3,0: 21:[20, 27] Operation: 23+4=27
Exploring Operation: 23-4=19, Resulting Numbers: [20, 19]
Generated Node #0,3,1: 21:[20, 19] Operation: 23-4=19
Exploring Operation: 23-20=3, Resulting Numbers: [4, 3]
Generated Node #0,3,2: 21:[4, 3] Operation: 23-20=3
Exploring Operation: 20/4=5, Resulting Numbers: [23, 5]
Generated Node #0,3,3: 21:[23, 5] Operation: 20/4=5
Exploring Operation: 20+4=24, Resulting Numbers: [23, 24]
Generated Node #0,3,4: 21:[23, 24] Operation: 20+4=24
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 21:[4, 3], Operations: ['61-57=4', '23-20=3']
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,21 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,21 unequal: No Solution
No 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: 21:[20, 19], Operations: ['61-57=4', '23-4=19']
Exploring Operation: 20-19=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 20+19=39, Resulting Numbers: [39]
39,21 unequal: No Solution
Exploring Operation: 20*19=380, Resulting Numbers: [380]
380,21 unequal: No Solution
No 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: 21:[23, 5], Operations: ['61-57=4', '20/4=5']
Exploring Operation: 23+5=28, Resulting Numbers: [28]
28,21 unequal: No Solution
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,21 unequal: No Solution
Exploring Operation: 23*5=115, Resulting Numbers: [115]
115,21 unequal: No Solution
No 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: 21:[23, 24], Operations: ['61-57=4', '20+4=24']
Exploring Operation: 24-23=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 23*24=552, Resulting Numbers: [552]
552,21 unequal: No Solution
Exploring Operation: 23+24=47, Resulting Numbers: [47]
47,21 unequal: No Solution
No 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: 21:[20, 27], Operations: ['61-57=4', '23+4=27']
Exploring Operation: 27-20=7, Resulting Numbers: [7]
7,21 unequal: No Solution
Exploring Operation: 20*27=540, Resulting Numbers: [540]
540,21 unequal: No Solution
Exploring Operation: 20+27=47, Resulting Numbers: [47]
47,21 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: 21:[57, 20, 38], Operations: ['61-23=38']
Exploring Operation: 57-20=37, Resulting Numbers: [38, 37]
Generated Node #0,0,0: 21:[38, 37] Operation: 57-20=37
Exploring Operation: 57-38=19, Resulting Numbers: [20, 19]
Generated Node #0,0,1: 21:[20, 19] Operation: 57-38=19
Exploring Operation: 38-20=18, Resulting Numbers: [57, 18]
Generated Node #0,0,2: 21:[57, 18] Operation: 38-20=18
Exploring Operation: 20+38=58, Resulting Numbers: [57, 58]
Generated Node #0,0,3: 21:[57, 58] Operation: 20+38=58
Exploring Operation: 57+20=77, Resulting Numbers: [38, 77]
Generated Node #0,0,4: 21:[38, 77] Operation: 57+20=77
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 21:[20, 19], Operations: ['61-23=38', '57-38=19']
Exploring Operation: 20*19=380, Resulting Numbers: [380]
380,21 unequal: No Solution
Exploring Operation: 20+19=39, Resulting Numbers: [39]
39,21 unequal: No Solution
Exploring Operation: 20-19=1, Resulting Numbers: [1]
1,21 unequal: No Solution
No 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: 21:[38, 37], Operations: ['61-23=38', '57-20=37']
Exploring Operation: 38+37=75, Resulting Numbers: [75]
75,21 unequal: No Solution
Exploring Operation: 38-37=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 38*37=1406, Resulting Numbers: [1406]
1406,21 unequal: No Solution
No 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: 21:[57, 18], Operations: ['61-23=38', '38-20=18']
Exploring Operation: 57*18=1026, Resulting Numbers: [1026]
1026,21 unequal: No Solution
Exploring Operation: 57+18=75, Resulting Numbers: [75]
75,21 unequal: No Solution
Exploring Operation: 57-18=39, Resulting Numbers: [39]
39,21 unequal: No Solution
No 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: 21:[57, 58], Operations: ['61-23=38', '20+38=58']
Exploring Operation: 57+58=115, Resulting Numbers: [115]
115,21 unequal: No Solution
Exploring Operation: 57*58=3306, Resulting Numbers: [3306]
3306,21 unequal: No Solution
Exploring Operation: 58-57=1, Resulting Numbers: [1]
1,21 unequal: No Solution
No 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: 21:[38, 77], Operations: ['61-23=38', '57+20=77']
Exploring Operation: 77-38=39, Resulting Numbers: [39]
39,21 unequal: No Solution
Exploring Operation: 38+77=115, Resulting Numbers: [115]
115,21 unequal: No Solution
Exploring Operation: 38*77=2926, Resulting Numbers: [2926]
2926,21 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: 21:[61, 20, 34], Operations: ['57-23=34']
Exploring Operation: 61+20=81, Resulting Numbers: [34, 81]
Generated Node #0,2,0: 21:[34, 81] Operation: 61+20=81
Exploring Operation: 20+34=54, Resulting Numbers: [61, 54]
Generated Node #0,2,1: 21:[61, 54] Operation: 20+34=54
Exploring Operation: 61-20=41, Resulting Numbers: [34, 41]
Generated Node #0,2,2: 21:[34, 41] Operation: 61-20=41
Exploring Operation: 34-20=14, Resulting Numbers: [61, 14]
Generated Node #0,2,3: 21:[61, 14] Operation: 34-20=14
Exploring Operation: 61-34=27, Resulting Numbers: [20, 27]
Generated Node #0,2,4: 21:[20, 27] Operation: 61-34=27
Moving to Node #0,2,4
Current State: 21:[20, 27], Operations: ['57-23=34', '61-34=27']
Exploring Operation: 27-20=7, Resulting Numbers: [7]
7,21 unequal: No Solution
Exploring Operation: 20*27=540, Resulting Numbers: [540]
540,21 unequal: No Solution
Exploring Operation: 20+27=47, Resulting Numbers: [47]
47,21 unequal: No Solution
Moving to Node #0,2,2
Current State: 21:[34, 41], Operations: ['57-23=34', '61-20=41']
Exploring Operation: 34+41=75, Resulting Numbers: [75]
75,21 unequal: No Solution
Exploring Operation: 34*41=1394, Resulting Numbers: [1394]
1394,21 unequal: No Solution
Exploring Operation: 41-34=7, Resulting Numbers: [7]
7,21 unequal: No Solution
Moving to Node #0,2,3
Current State: 21:[61, 14], Operations: ['57-23=34', '34-20=14']
Exploring Operation: 61*14=854, Resulting Numbers: [854]
854,21 unequal: No Solution
Exploring Operation: 61+14=75, Resulting Numbers: [75]
75,21 unequal: No Solution
Exploring Operation: 61-14=47, Resulting Numbers: [47]
47,21 unequal: No Solution
Moving to Node #0,2,0
Current State: 21:[34, 81], Operations: ['57-23=34', '61+20=81']
Exploring Operation: 34+81=115, Resulting Numbers: [115]
115,21 unequal: No Solution
Exploring Operation: 34*81=2754, Resulting Numbers: [2754]
2754,21 unequal: No Solution
Exploring Operation: 81-34=47, Resulting Numbers: [47]
47,21 unequal: No Solution
Moving to Node #0,2,1
Current State: 21:[61, 54], Operations: ['57-23=34', '20+34=54']
Exploring Operation: 61+54=115, Resulting Numbers: [115]
115,21 unequal: No Solution
Exploring Operation: 61-54=7, Resulting Numbers: [7]
7,21 unequal: No Solution
Exploring Operation: 61*54=3294, Resulting Numbers: [3294]
3294,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[57, 23, 41], Operations: ['61-20=41']
Exploring Operation: 57+41=98, Resulting Numbers: [23, 98]
Generated Node #0,1,0: 21:[23, 98] Operation: 57+41=98
Exploring Operation: 57+23=80, Resulting Numbers: [41, 80]
Generated Node #0,1,1: 21:[41, 80] Operation: 57+23=80
Exploring Operation: 57-23=34, Resulting Numbers: [41, 34]
Generated Node #0,1,2: 21:[41, 34] Operation: 57-23=34
Exploring Operation: 57-41=16, Resulting Numbers: [23, 16]
Generated Node #0,1,3: 21:[23, 16] Operation: 57-41=16
Exploring Operation: 41-23=18, Resulting Numbers: [57, 18]
Generated Node #0,1,4: 21:[57, 18] Operation: 41-23=18
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 21:[23, 16], Operations: ['61-20=41', '57-41=16']
Exploring Operation: 23+16=39, Resulting Numbers: [39]
39,21 unequal: No Solution
Exploring Operation: 23*16=368, Resulting Numbers: [368]
368,21 unequal: No Solution
Exploring Operation: 23-16=7, Resulting Numbers: [7]
7,21 unequal: No Solution
No 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: 21:[41, 34], Operations: ['61-20=41', '57-23=34']
Exploring Operation: 41-34=7, Resulting Numbers: [7]
7,21 unequal: No Solution
Exploring Operation: 41*34=1394, Resulting Numbers: [1394]
1394,21 unequal: No Solution
Exploring Operation: 41+34=75, Resulting Numbers: [75]
75,21 unequal: No Solution
No 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: 21:[57, 18], Operations: ['61-20=41', '41-23=18']
Exploring Operation: 57+18=75, Resulting Numbers: [75]
75,21 unequal: No Solution
Exploring Operation: 57*18=1026, Resulting Numbers: [1026]
1026,21 unequal: No Solution
Exploring Operation: 57-18=39, Resulting Numbers: [39]
39,21 unequal: No Solution
No 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: 21:[23, 98], Operations: ['61-20=41', '57+41=98']
Exploring Operation: 23+98=121, Resulting Numbers: [121]
121,21 unequal: No Solution
Exploring Operation: 23*98=2254, Resulting Numbers: [2254]
2254,21 unequal: No Solution
Exploring Operation: 98-23=75, Resulting Numbers: [75]
75,21 unequal: No Solution
No 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: 21:[41, 80], Operations: ['61-20=41', '57+23=80']
Exploring Operation: 80-41=39, Resulting Numbers: [39]
39,21 unequal: No Solution
Exploring Operation: 41+80=121, Resulting Numbers: [121]
121,21 unequal: No Solution
Exploring Operation: 41*80=3280, Resulting Numbers: [3280]
3280,21 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: 21:[61, 23, 37], Operations: ['57-20=37']
Exploring Operation: 61-37=24, Resulting Numbers: [23, 24]
Generated Node #0,4,0: 21:[23, 24] Operation: 61-37=24
Exploring Operation: 37-23=14, Resulting Numbers: [61, 14]
Generated Node #0,4,1: 21:[61, 14] Operation: 37-23=14
Exploring Operation: 61-23=38, Resulting Numbers: [37, 38]
Generated Node #0,4,2: 21:[37, 38] Operation: 61-23=38
Exploring Operation: 61+37=98, Resulting Numbers: [23, 98]
Generated Node #0,4,3: 21:[23, 98] Operation: 61+37=98
Exploring Operation: 61+23=84, Resulting Numbers: [37, 84]
Generated Node #0,4,4: 21:[37, 84] Operation: 61+23=84
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 21:[23, 24], Operations: ['57-20=37', '61-37=24']
Exploring Operation: 23+24=47, Resulting Numbers: [47]
47,21 unequal: No Solution
Exploring Operation: 23*24=552, Resulting Numbers: [552]
552,21 unequal: No Solution
Exploring Operation: 24-23=1, Resulting Numbers: [1]
1,21 unequal: No Solution
No 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: 21:[37, 38], Operations: ['57-20=37', '61-23=38']
Exploring Operation: 37+38=75, Resulting Numbers: [75]
75,21 unequal: No Solution
Exploring Operation: 37*38=1406, Resulting Numbers: [1406]
1406,21 unequal: No Solution
Exploring Operation: 38-37=1, Resulting Numbers: [1]
1,21 unequal: No Solution
No 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: 21:[61, 14], Operations: ['57-20=37', '37-23=14']
Exploring Operation: 61-14=47, Resulting Numbers: [47]
47,21 unequal: No Solution
Exploring Operation: 61+14=75, Resulting Numbers: [75]
75,21 unequal: No Solution
Exploring Operation: 61*14=854, Resulting Numbers: [854]
854,21 unequal: No Solution
No 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: 21:[23, 98], Operations: ['57-20=37', '61+37=98']
Exploring Operation: 23*98=2254, Resulting Numbers: [2254]
2254,21 unequal: No Solution
Exploring Operation: 23+98=121, Resulting Numbers: [121]
121,21 unequal: No Solution
Exploring Operation: 98-23=75, Resulting Numbers: [75]
75,21 unequal: No Solution
No 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: 21:[37, 84], Operations: ['57-20=37', '61+23=84']
Exploring Operation: 84-37=47, Resulting Numbers: [47]
47,21 unequal: No Solution
Exploring Operation: 37+84=121, Resulting Numbers: [121]
121,21 unequal: No Solution
Exploring Operation: 37*84=3108, Resulting Numbers: [3108]
3108,21 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 |
[
97,
32,
89,
29
] | 53 | [
"97-32=65",
"89+29=118",
"118-65=53"
] | Current State: 53:[97, 32, 89, 29], Operations: []
Exploring Operation: 97-32=65, Resulting Numbers: [89, 29, 65]
Generated Node #2: [89, 29, 65] from Operation: 97-32=65
Current State: 53:[89, 29, 65], Operations: ['97-32=65']
Exploring Operation: 89+29=118, Resulting Numbers: [65, 118]
Generated Node #3: [65, 118] from Operation: 89+29=118
Current State: 53:[65, 118], Operations: ['97-32=65', '89+29=118']
Exploring Operation: 118-65=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[97, 32, 89, 29], Operations: []
Exploring Operation: 97-32=65, Resulting Numbers: [89, 29, 65]
Generated Node #0,0: 53:[89, 29, 65] Operation: 97-32=65
Moving to Node #0,0
Current State: 53:[89, 29, 65], Operations: ['97-32=65']
Exploring Operation: 89-29=60, Resulting Numbers: [65, 60]
Generated Node #0,0,0: 53:[65, 60] Operation: 89-29=60
Moving to Node #0,0,0
Current State: 53:[65, 60], Operations: ['97-32=65', '89-29=60']
Exploring Operation: 65-60=5, Resulting Numbers: [5]
5,53 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
48,
23,
44,
19
] | 76 | [
"48+44=92",
"92/23=4",
"19*4=76"
] | Current State: 76:[48, 23, 44, 19], Operations: []
Exploring Operation: 48+44=92, Resulting Numbers: [23, 19, 92]
Generated Node #2: [23, 19, 92] from Operation: 48+44=92
Current State: 76:[23, 19, 92], Operations: ['48+44=92']
Exploring Operation: 92/23=4, Resulting Numbers: [19, 4]
Generated Node #3: [19, 4] from Operation: 92/23=4
Current State: 76:[19, 4], Operations: ['48+44=92', '92/23=4']
Exploring Operation: 19*4=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[48, 23, 44, 19], Operations: []
Exploring Operation: 48-44=4, Resulting Numbers: [23, 19, 4]
Generated Node #0,0: 76:[23, 19, 4] Operation: 48-44=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[23, 19, 4], Operations: ['48-44=4']
Exploring Operation: 23-19=4, Resulting Numbers: [4, 4]
Generated Node #0,0,0: 76:[4, 4] Operation: 23-19=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 76:[4, 4], Operations: ['48-44=4', '23-19=4']
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
25,
59,
1,
46
] | 37 | [
"25+59=84",
"1+46=47",
"84-47=37"
] | Current State: 37:[25, 59, 1, 46], Operations: []
Exploring Operation: 25+59=84, Resulting Numbers: [1, 46, 84]
Generated Node #2: [1, 46, 84] from Operation: 25+59=84
Current State: 37:[1, 46, 84], Operations: ['25+59=84']
Exploring Operation: 1+46=47, Resulting Numbers: [84, 47]
Generated Node #3: [84, 47] from Operation: 1+46=47
Current State: 37:[84, 47], Operations: ['25+59=84', '1+46=47']
Exploring Operation: 84-47=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[25, 59, 1, 46], Operations: []
Exploring Operation: 59-1=58, Resulting Numbers: [25, 46, 58]
Generated Node #0,0: 37:[25, 46, 58] Operation: 59-1=58
Exploring Operation: 25*1=25, Resulting Numbers: [59, 46, 25]
Generated Node #0,1: 37:[59, 46, 25] Operation: 25*1=25
Exploring Operation: 25+1=26, Resulting Numbers: [59, 46, 26]
Generated Node #0,2: 37:[59, 46, 26] Operation: 25+1=26
Exploring Operation: 25/1=25, Resulting Numbers: [59, 46, 25]
Generated Node #0,3: 37:[59, 46, 25] Operation: 25/1=25
Exploring Operation: 46-1=45, Resulting Numbers: [25, 59, 45]
Generated Node #0,4: 37:[25, 59, 45] Operation: 46-1=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[25, 46, 58], Operations: ['59-1=58']
Exploring Operation: 46-25=21, Resulting Numbers: [58, 21]
Generated Node #0,0,0: 37:[58, 21] Operation: 46-25=21
Exploring Operation: 25+58=83, Resulting Numbers: [46, 83]
Generated Node #0,0,1: 37:[46, 83] Operation: 25+58=83
Exploring Operation: 58-46=12, Resulting Numbers: [25, 12]
Generated Node #0,0,2: 37:[25, 12] Operation: 58-46=12
Exploring Operation: 25+46=71, Resulting Numbers: [58, 71]
Generated Node #0,0,3: 37:[58, 71] Operation: 25+46=71
Exploring Operation: 58-25=33, Resulting Numbers: [46, 33]
Generated Node #0,0,4: 37:[46, 33] Operation: 58-25=33
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 37:[46, 33], Operations: ['59-1=58', '58-25=33']
Exploring Operation: 46*33=1518, Resulting Numbers: [1518]
1518,37 unequal: No Solution
Exploring Operation: 46+33=79, Resulting Numbers: [79]
79,37 unequal: No Solution
Exploring Operation: 46-33=13, Resulting Numbers: [13]
13,37 unequal: No Solution
No 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: 37:[58, 21], Operations: ['59-1=58', '46-25=21']
Exploring Operation: 58+21=79, Resulting Numbers: [79]
79,37 unequal: No Solution
Exploring Operation: 58-21=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[25, 59, 1, 46], Operations: []
Exploring Operation: 59-1=58, Resulting Numbers: [25, 46, 58]
Generated Node #0,0: 37:[25, 46, 58] Operation: 59-1=58
Moving to Node #0,0
Current State: 37:[25, 46, 58], Operations: ['59-1=58']
Exploring Operation: 46-25=21, Resulting Numbers: [58, 21]
Generated Node #0,0,0: 37:[58, 21] Operation: 46-25=21
Moving to Node #0,0,0
Current State: 37:[58, 21], Operations: ['59-1=58', '46-25=21']
Exploring Operation: 58-21=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_5 | mult_heuristic |
[
83,
70,
6,
51
] | 58 | [
"83-70=13",
"51-6=45",
"13+45=58"
] | Current State: 58:[83, 70, 6, 51], Operations: []
Exploring Operation: 83-70=13, Resulting Numbers: [6, 51, 13]
Generated Node #2: [6, 51, 13] from Operation: 83-70=13
Current State: 58:[6, 51, 13], Operations: ['83-70=13']
Exploring Operation: 51-6=45, Resulting Numbers: [13, 45]
Generated Node #3: [13, 45] from Operation: 51-6=45
Current State: 58:[13, 45], Operations: ['83-70=13', '51-6=45']
Exploring Operation: 13+45=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[83, 70, 6, 51], Operations: []
Exploring Operation: 6+51=57, Resulting Numbers: [83, 70, 57]
Generated Node #0,0: 58:[83, 70, 57] Operation: 6+51=57
Exploring Operation: 70-6=64, Resulting Numbers: [83, 51, 64]
Generated Node #0,1: 58:[83, 51, 64] Operation: 70-6=64
Exploring Operation: 83-70=13, Resulting Numbers: [6, 51, 13]
Generated Node #0,2: 58:[6, 51, 13] Operation: 83-70=13
Exploring Operation: 83-51=32, Resulting Numbers: [70, 6, 32]
Generated Node #0,3: 58:[70, 6, 32] Operation: 83-51=32
Exploring Operation: 83-6=77, Resulting Numbers: [70, 51, 77]
Generated Node #0,4: 58:[70, 51, 77] Operation: 83-6=77
Moving to Node #0,3
Current State: 58:[70, 6, 32], Operations: ['83-51=32']
Exploring Operation: 70-6=64, Resulting Numbers: [32, 64]
Generated Node #0,3,0: 58:[32, 64] Operation: 70-6=64
Exploring Operation: 6+32=38, Resulting Numbers: [70, 38]
Generated Node #0,3,1: 58:[70, 38] Operation: 6+32=38
Exploring Operation: 70+6=76, Resulting Numbers: [32, 76]
Generated Node #0,3,2: 58:[32, 76] Operation: 70+6=76
Exploring Operation: 70-32=38, Resulting Numbers: [6, 38]
Generated Node #0,3,3: 58:[6, 38] Operation: 70-32=38
Exploring Operation: 32-6=26, Resulting Numbers: [70, 26]
Generated Node #0,3,4: 58:[70, 26] Operation: 32-6=26
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 58:[32, 64], Operations: ['83-51=32', '70-6=64']
Exploring Operation: 32+64=96, Resulting Numbers: [96]
96,58 unequal: No Solution
Exploring Operation: 32*64=2048, Resulting Numbers: [2048]
2048,58 unequal: No Solution
Exploring Operation: 64-32=32, Resulting Numbers: [32]
32,58 unequal: No Solution
Exploring Operation: 64/32=2, Resulting Numbers: [2]
2,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 58:[6, 38], Operations: ['83-51=32', '70-32=38']
Exploring Operation: 6*38=228, Resulting Numbers: [228]
228,58 unequal: No Solution
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,58 unequal: No Solution
Exploring Operation: 6+38=44, Resulting Numbers: [44]
44,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 58:[70, 26], Operations: ['83-51=32', '32-6=26']
Exploring Operation: 70+26=96, Resulting Numbers: [96]
96,58 unequal: No Solution
Exploring Operation: 70*26=1820, Resulting Numbers: [1820]
1820,58 unequal: No Solution
Exploring Operation: 70-26=44, Resulting Numbers: [44]
44,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 58:[70, 38], Operations: ['83-51=32', '6+32=38']
Exploring Operation: 70*38=2660, Resulting Numbers: [2660]
2660,58 unequal: No Solution
Exploring Operation: 70+38=108, Resulting Numbers: [108]
108,58 unequal: No Solution
Exploring Operation: 70-38=32, Resulting Numbers: [32]
32,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 58:[32, 76], Operations: ['83-51=32', '70+6=76']
Exploring Operation: 76-32=44, Resulting Numbers: [44]
44,58 unequal: No Solution
Exploring Operation: 32+76=108, Resulting Numbers: [108]
108,58 unequal: No Solution
Exploring Operation: 32*76=2432, Resulting Numbers: [2432]
2432,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 58:[6, 51, 13], Operations: ['83-70=13']
Exploring Operation: 6+13=19, Resulting Numbers: [51, 19]
Generated Node #0,2,0: 58:[51, 19] Operation: 6+13=19
Exploring Operation: 51-13=38, Resulting Numbers: [6, 38]
Generated Node #0,2,1: 58:[6, 38] Operation: 51-13=38
Exploring Operation: 6+51=57, Resulting Numbers: [13, 57]
Generated Node #0,2,2: 58:[13, 57] Operation: 6+51=57
Exploring Operation: 51+13=64, Resulting Numbers: [6, 64]
Generated Node #0,2,3: 58:[6, 64] Operation: 51+13=64
Exploring Operation: 13-6=7, Resulting Numbers: [51, 7]
Generated Node #0,2,4: 58:[51, 7] Operation: 13-6=7
Moving to Node #0,0
Current State: 58:[83, 70, 57], Operations: ['6+51=57']
Exploring Operation: 83+57=140, Resulting Numbers: [70, 140]
Generated Node #0,0,0: 58:[70, 140] Operation: 83+57=140
Exploring Operation: 70-57=13, Resulting Numbers: [83, 13]
Generated Node #0,0,1: 58:[83, 13] Operation: 70-57=13
Exploring Operation: 83-70=13, Resulting Numbers: [57, 13]
Generated Node #0,0,2: 58:[57, 13] Operation: 83-70=13
Exploring Operation: 83-57=26, Resulting Numbers: [70, 26]
Generated Node #0,0,3: 58:[70, 26] Operation: 83-57=26
Exploring Operation: 70+57=127, Resulting Numbers: [83, 127]
Generated Node #0,0,4: 58:[83, 127] Operation: 70+57=127
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 58:[57, 13], Operations: ['6+51=57', '83-70=13']
Exploring Operation: 57*13=741, Resulting Numbers: [741]
741,58 unequal: No Solution
Exploring Operation: 57-13=44, Resulting Numbers: [44]
44,58 unequal: No Solution
Exploring Operation: 57+13=70, Resulting Numbers: [70]
70,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 58:[70, 26], Operations: ['6+51=57', '83-57=26']
Exploring Operation: 70+26=96, Resulting Numbers: [96]
96,58 unequal: No Solution
Exploring Operation: 70-26=44, Resulting Numbers: [44]
44,58 unequal: No Solution
Exploring Operation: 70*26=1820, Resulting Numbers: [1820]
1820,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 58:[83, 13], Operations: ['6+51=57', '70-57=13']
Exploring Operation: 83*13=1079, Resulting Numbers: [1079]
1079,58 unequal: No Solution
Exploring Operation: 83+13=96, Resulting Numbers: [96]
96,58 unequal: No Solution
Exploring Operation: 83-13=70, Resulting Numbers: [70]
70,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 58:[70, 140], Operations: ['6+51=57', '83+57=140']
Exploring Operation: 70+140=210, Resulting Numbers: [210]
210,58 unequal: No Solution
Exploring Operation: 140/70=2, Resulting Numbers: [2]
2,58 unequal: No Solution
Exploring Operation: 140-70=70, Resulting Numbers: [70]
70,58 unequal: No Solution
Exploring Operation: 70*140=9800, Resulting Numbers: [9800]
9800,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 58:[83, 127], Operations: ['6+51=57', '70+57=127']
Exploring Operation: 127-83=44, Resulting Numbers: [44]
44,58 unequal: No Solution
Exploring Operation: 83+127=210, Resulting Numbers: [210]
210,58 unequal: No Solution
Exploring Operation: 83*127=10541, Resulting Numbers: [10541]
10541,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 58:[83, 51, 64], Operations: ['70-6=64']
Exploring Operation: 83-51=32, Resulting Numbers: [64, 32]
Generated Node #0,1,0: 58:[64, 32] Operation: 83-51=32
Exploring Operation: 83+51=134, Resulting Numbers: [64, 134]
Generated Node #0,1,1: 58:[64, 134] Operation: 83+51=134
Exploring Operation: 83-64=19, Resulting Numbers: [51, 19]
Generated Node #0,1,2: 58:[51, 19] Operation: 83-64=19
Exploring Operation: 64-51=13, Resulting Numbers: [83, 13]
Generated Node #0,1,3: 58:[83, 13] Operation: 64-51=13
Exploring Operation: 51+64=115, Resulting Numbers: [83, 115]
Generated Node #0,1,4: 58:[83, 115] Operation: 51+64=115
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 58:[64, 32], Operations: ['70-6=64', '83-51=32']
Exploring Operation: 64-32=32, Resulting Numbers: [32]
32,58 unequal: No Solution
Exploring Operation: 64*32=2048, Resulting Numbers: [2048]
2048,58 unequal: No Solution
Exploring Operation: 64+32=96, Resulting Numbers: [96]
96,58 unequal: No Solution
Exploring Operation: 64/32=2, Resulting Numbers: [2]
2,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 58:[51, 19], Operations: ['70-6=64', '83-64=19']
Exploring Operation: 51+19=70, Resulting Numbers: [70]
70,58 unequal: No Solution
Exploring Operation: 51*19=969, Resulting Numbers: [969]
969,58 unequal: No Solution
Exploring Operation: 51-19=32, Resulting Numbers: [32]
32,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 58:[83, 13], Operations: ['70-6=64', '64-51=13']
Exploring Operation: 83+13=96, Resulting Numbers: [96]
96,58 unequal: No Solution
Exploring Operation: 83-13=70, Resulting Numbers: [70]
70,58 unequal: No Solution
Exploring Operation: 83*13=1079, Resulting Numbers: [1079]
1079,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 58:[64, 134], Operations: ['70-6=64', '83+51=134']
Exploring Operation: 64+134=198, Resulting Numbers: [198]
198,58 unequal: No Solution
Exploring Operation: 64*134=8576, Resulting Numbers: [8576]
8576,58 unequal: No Solution
Exploring Operation: 134-64=70, Resulting Numbers: [70]
70,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 58:[83, 115], Operations: ['70-6=64', '51+64=115']
Exploring Operation: 83*115=9545, Resulting Numbers: [9545]
9545,58 unequal: No Solution
Exploring Operation: 83+115=198, Resulting Numbers: [198]
198,58 unequal: No Solution
Exploring Operation: 115-83=32, Resulting Numbers: [32]
32,58 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: 58:[70, 51, 77], Operations: ['83-6=77']
Exploring Operation: 77-70=7, Resulting Numbers: [51, 7]
Generated Node #0,4,0: 58:[51, 7] Operation: 77-70=7
Exploring Operation: 77-51=26, Resulting Numbers: [70, 26]
Generated Node #0,4,1: 58:[70, 26] Operation: 77-51=26
Exploring Operation: 51+77=128, Resulting Numbers: [70, 128]
Generated Node #0,4,2: 58:[70, 128] Operation: 51+77=128
Exploring Operation: 70-51=19, Resulting Numbers: [77, 19]
Generated Node #0,4,3: 58:[77, 19] Operation: 70-51=19
Exploring Operation: 70+51=121, Resulting Numbers: [77, 121]
Generated Node #0,4,4: 58:[77, 121] Operation: 70+51=121
Moving to Node #0,2,3
Current State: 58:[6, 64], Operations: ['83-70=13', '51+13=64']
Exploring Operation: 6*64=384, Resulting Numbers: [384]
384,58 unequal: No Solution
Exploring Operation: 6+64=70, Resulting Numbers: [70]
70,58 unequal: No Solution
Exploring Operation: 64-6=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[83, 70, 6, 51], Operations: []
Exploring Operation: 83-70=13, Resulting Numbers: [6, 51, 13]
Generated Node #0,2: 58:[6, 51, 13] Operation: 83-70=13
Moving to Node #0,2
Current State: 58:[6, 51, 13], Operations: ['83-70=13']
Exploring Operation: 51+13=64, Resulting Numbers: [6, 64]
Generated Node #0,2,3: 58:[6, 64] Operation: 51+13=64
Moving to Node #0,2,3
Current State: 58:[6, 64], Operations: ['83-70=13', '51+13=64']
Exploring Operation: 64-6=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 0.926215 | hs_5 | sum_heuristic |
[
74,
81,
43,
55
] | 27 | [
"74+55=129",
"81*43=3483",
"3483/129=27"
] | Current State: 27:[74, 81, 43, 55], Operations: []
Exploring Operation: 74+55=129, Resulting Numbers: [81, 43, 129]
Generated Node #2: [81, 43, 129] from Operation: 74+55=129
Current State: 27:[81, 43, 129], Operations: ['74+55=129']
Exploring Operation: 81*43=3483, Resulting Numbers: [129, 3483]
Generated Node #3: [129, 3483] from Operation: 81*43=3483
Current State: 27:[129, 3483], Operations: ['74+55=129', '81*43=3483']
Exploring Operation: 3483/129=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[74, 81, 43, 55], Operations: []
Exploring Operation: 81-55=26, Resulting Numbers: [74, 43, 26]
Generated Node #0,0: 27:[74, 43, 26] Operation: 81-55=26
Exploring Operation: 74-43=31, Resulting Numbers: [81, 55, 31]
Generated Node #0,1: 27:[81, 55, 31] Operation: 74-43=31
Exploring Operation: 81-74=7, Resulting Numbers: [43, 55, 7]
Generated Node #0,2: 27:[43, 55, 7] Operation: 81-74=7
Exploring Operation: 74-55=19, Resulting Numbers: [81, 43, 19]
Generated Node #0,3: 27:[81, 43, 19] Operation: 74-55=19
Exploring Operation: 81-43=38, Resulting Numbers: [74, 55, 38]
Generated Node #0,4: 27:[74, 55, 38] Operation: 81-43=38
Start Sub Search at level 1: Moving to Node #0,2
Current State: 27:[43, 55, 7], Operations: ['81-74=7']
Exploring Operation: 43-7=36, Resulting Numbers: [55, 36]
Generated Node #0,2,0: 27:[55, 36] Operation: 43-7=36
Exploring Operation: 55-7=48, Resulting Numbers: [43, 48]
Generated Node #0,2,1: 27:[43, 48] Operation: 55-7=48
Exploring Operation: 43+7=50, Resulting Numbers: [55, 50]
Generated Node #0,2,2: 27:[55, 50] Operation: 43+7=50
Exploring Operation: 55-43=12, Resulting Numbers: [7, 12]
Generated Node #0,2,3: 27:[7, 12] Operation: 55-43=12
Exploring Operation: 55+7=62, Resulting Numbers: [43, 62]
Generated Node #0,2,4: 27:[43, 62] Operation: 55+7=62
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 27:[7, 12], Operations: ['81-74=7', '55-43=12']
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,27 unequal: No Solution
Exploring Operation: 7*12=84, Resulting Numbers: [84]
84,27 unequal: No Solution
Exploring Operation: 7+12=19, Resulting Numbers: [19]
19,27 unequal: No Solution
No 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: 27:[55, 36], Operations: ['81-74=7', '43-7=36']
Exploring Operation: 55+36=91, Resulting Numbers: [91]
91,27 unequal: No Solution
Exploring Operation: 55*36=1980, Resulting Numbers: [1980]
1980,27 unequal: No Solution
Exploring Operation: 55-36=19, Resulting Numbers: [19]
19,27 unequal: No Solution
No 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: 27:[43, 48], Operations: ['81-74=7', '55-7=48']
Exploring Operation: 48-43=5, Resulting Numbers: [5]
5,27 unequal: No Solution
Exploring Operation: 43+48=91, Resulting Numbers: [91]
91,27 unequal: No Solution
Exploring Operation: 43*48=2064, Resulting Numbers: [2064]
2064,27 unequal: No Solution
No 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: 27:[55, 50], Operations: ['81-74=7', '43+7=50']
Exploring Operation: 55-50=5, Resulting Numbers: [5]
5,27 unequal: No Solution
Exploring Operation: 55*50=2750, Resulting Numbers: [2750]
2750,27 unequal: No Solution
Exploring Operation: 55+50=105, Resulting Numbers: [105]
105,27 unequal: No Solution
No 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: 27:[43, 62], Operations: ['81-74=7', '55+7=62']
Exploring Operation: 43*62=2666, Resulting Numbers: [2666]
2666,27 unequal: No Solution
Exploring Operation: 62-43=19, Resulting Numbers: [19]
19,27 unequal: No Solution
Exploring Operation: 43+62=105, Resulting Numbers: [105]
105,27 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: 27:[74, 43, 26], Operations: ['81-55=26']
Exploring Operation: 74+26=100, Resulting Numbers: [43, 100]
Generated Node #0,0,0: 27:[43, 100] Operation: 74+26=100
Exploring Operation: 74-26=48, Resulting Numbers: [43, 48]
Generated Node #0,0,1: 27:[43, 48] Operation: 74-26=48
Exploring Operation: 74-43=31, Resulting Numbers: [26, 31]
Generated Node #0,0,2: 27:[26, 31] Operation: 74-43=31
Exploring Operation: 43+26=69, Resulting Numbers: [74, 69]
Generated Node #0,0,3: 27:[74, 69] Operation: 43+26=69
Exploring Operation: 43-26=17, Resulting Numbers: [74, 17]
Generated Node #0,0,4: 27:[74, 17] Operation: 43-26=17
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 27:[26, 31], Operations: ['81-55=26', '74-43=31']
Exploring Operation: 31-26=5, Resulting Numbers: [5]
5,27 unequal: No Solution
Exploring Operation: 26*31=806, Resulting Numbers: [806]
806,27 unequal: No Solution
Exploring Operation: 26+31=57, Resulting Numbers: [57]
57,27 unequal: No Solution
No 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: 27:[43, 48], Operations: ['81-55=26', '74-26=48']
Exploring Operation: 43+48=91, Resulting Numbers: [91]
91,27 unequal: No Solution
Exploring Operation: 48-43=5, Resulting Numbers: [5]
5,27 unequal: No Solution
Exploring Operation: 43*48=2064, Resulting Numbers: [2064]
2064,27 unequal: No Solution
No 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: 27:[74, 17], Operations: ['81-55=26', '43-26=17']
Exploring Operation: 74*17=1258, Resulting Numbers: [1258]
1258,27 unequal: No Solution
Exploring Operation: 74-17=57, Resulting Numbers: [57]
57,27 unequal: No Solution
Exploring Operation: 74+17=91, Resulting Numbers: [91]
91,27 unequal: No Solution
No 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: 27:[43, 100], Operations: ['81-55=26', '74+26=100']
Exploring Operation: 43*100=4300, Resulting Numbers: [4300]
4300,27 unequal: No Solution
Exploring Operation: 43+100=143, Resulting Numbers: [143]
143,27 unequal: No Solution
Exploring Operation: 100-43=57, Resulting Numbers: [57]
57,27 unequal: No Solution
No 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: 27:[74, 69], Operations: ['81-55=26', '43+26=69']
Exploring Operation: 74-69=5, Resulting Numbers: [5]
5,27 unequal: No Solution
Exploring Operation: 74*69=5106, Resulting Numbers: [5106]
5106,27 unequal: No Solution
Exploring Operation: 74+69=143, Resulting Numbers: [143]
143,27 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: 27:[81, 43, 19], Operations: ['74-55=19']
Exploring Operation: 81-43=38, Resulting Numbers: [19, 38]
Generated Node #0,3,0: 27:[19, 38] Operation: 81-43=38
Exploring Operation: 81+19=100, Resulting Numbers: [43, 100]
Generated Node #0,3,1: 27:[43, 100] Operation: 81+19=100
Exploring Operation: 43-19=24, Resulting Numbers: [81, 24]
Generated Node #0,3,2: 27:[81, 24] Operation: 43-19=24
Exploring Operation: 81-19=62, Resulting Numbers: [43, 62]
Generated Node #0,3,3: 27:[43, 62] Operation: 81-19=62
Exploring Operation: 43+19=62, Resulting Numbers: [81, 62]
Generated Node #0,3,4: 27:[81, 62] Operation: 43+19=62
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 27:[19, 38], Operations: ['74-55=19', '81-43=38']
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,27 unequal: No Solution
Exploring Operation: 19*38=722, Resulting Numbers: [722]
722,27 unequal: No Solution
Exploring Operation: 19+38=57, Resulting Numbers: [57]
57,27 unequal: No Solution
Exploring Operation: 38/19=2, Resulting Numbers: [2]
2,27 unequal: No Solution
No 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: 27:[43, 62], Operations: ['74-55=19', '81-19=62']
Exploring Operation: 43+62=105, Resulting Numbers: [105]
105,27 unequal: No Solution
Exploring Operation: 43*62=2666, Resulting Numbers: [2666]
2666,27 unequal: No Solution
Exploring Operation: 62-43=19, Resulting Numbers: [19]
19,27 unequal: No Solution
No 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: 27:[81, 24], Operations: ['74-55=19', '43-19=24']
Exploring Operation: 81-24=57, Resulting Numbers: [57]
57,27 unequal: No Solution
Exploring Operation: 81*24=1944, Resulting Numbers: [1944]
1944,27 unequal: No Solution
Exploring Operation: 81+24=105, Resulting Numbers: [105]
105,27 unequal: No Solution
No 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: 27:[43, 100], Operations: ['74-55=19', '81+19=100']
Exploring Operation: 43+100=143, Resulting Numbers: [143]
143,27 unequal: No Solution
Exploring Operation: 43*100=4300, Resulting Numbers: [4300]
4300,27 unequal: No Solution
Exploring Operation: 100-43=57, Resulting Numbers: [57]
57,27 unequal: No Solution
No 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: 27:[81, 62], Operations: ['74-55=19', '43+19=62']
Exploring Operation: 81*62=5022, Resulting Numbers: [5022]
5022,27 unequal: No Solution
Exploring Operation: 81-62=19, Resulting Numbers: [19]
19,27 unequal: No Solution
Exploring Operation: 81+62=143, Resulting Numbers: [143]
143,27 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: 27:[81, 55, 31], Operations: ['74-43=31']
Exploring Operation: 81-31=50, Resulting Numbers: [55, 50]
Generated Node #0,1,0: 27:[55, 50] Operation: 81-31=50
Exploring Operation: 81+55=136, Resulting Numbers: [31, 136]
Generated Node #0,1,1: 27:[31, 136] Operation: 81+55=136
Exploring Operation: 81-55=26, Resulting Numbers: [31, 26]
Generated Node #0,1,2: 27:[31, 26] Operation: 81-55=26
Exploring Operation: 81+31=112, Resulting Numbers: [55, 112]
Generated Node #0,1,3: 27:[55, 112] Operation: 81+31=112
Exploring Operation: 55-31=24, Resulting Numbers: [81, 24]
Generated Node #0,1,4: 27:[81, 24] Operation: 55-31=24
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 27:[31, 26], Operations: ['74-43=31', '81-55=26']
Exploring Operation: 31+26=57, Resulting Numbers: [57]
57,27 unequal: No Solution
Exploring Operation: 31*26=806, Resulting Numbers: [806]
806,27 unequal: No Solution
Exploring Operation: 31-26=5, Resulting Numbers: [5]
5,27 unequal: No Solution
No 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: 27:[55, 50], Operations: ['74-43=31', '81-31=50']
Exploring Operation: 55-50=5, Resulting Numbers: [5]
5,27 unequal: No Solution
Exploring Operation: 55+50=105, Resulting Numbers: [105]
105,27 unequal: No Solution
Exploring Operation: 55*50=2750, Resulting Numbers: [2750]
2750,27 unequal: No Solution
No 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: 27:[81, 24], Operations: ['74-43=31', '55-31=24']
Exploring Operation: 81-24=57, Resulting Numbers: [57]
57,27 unequal: No Solution
Exploring Operation: 81*24=1944, Resulting Numbers: [1944]
1944,27 unequal: No Solution
Exploring Operation: 81+24=105, Resulting Numbers: [105]
105,27 unequal: No Solution
No 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: 27:[31, 136], Operations: ['74-43=31', '81+55=136']
Exploring Operation: 31+136=167, Resulting Numbers: [167]
167,27 unequal: No Solution
Exploring Operation: 31*136=4216, Resulting Numbers: [4216]
4216,27 unequal: No Solution
Exploring Operation: 136-31=105, Resulting Numbers: [105]
105,27 unequal: No Solution
No 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: 27:[55, 112], Operations: ['74-43=31', '81+31=112']
Exploring Operation: 112-55=57, Resulting Numbers: [57]
57,27 unequal: No Solution
Exploring Operation: 55+112=167, Resulting Numbers: [167]
167,27 unequal: No Solution
Exploring Operation: 55*112=6160, Resulting Numbers: [6160]
6160,27 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: 27:[74, 55, 38], Operations: ['81-43=38']
Exploring Operation: 74-55=19, Resulting Numbers: [38, 19]
Generated Node #0,4,0: 27:[38, 19] Operation: 74-55=19
Exploring Operation: 74-38=36, Resulting Numbers: [55, 36]
Generated Node #0,4,1: 27:[55, 36] Operation: 74-38=36
Exploring Operation: 55-38=17, Resulting Numbers: [74, 17]
Generated Node #0,4,2: 27:[74, 17] Operation: 55-38=17
Exploring Operation: 74+38=112, Resulting Numbers: [55, 112]
Generated Node #0,4,3: 27:[55, 112] Operation: 74+38=112
Exploring Operation: 74+55=129, Resulting Numbers: [38, 129]
Generated Node #0,4,4: 27:[38, 129] Operation: 74+55=129
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 27:[38, 19], Operations: ['81-43=38', '74-55=19']
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,27 unequal: No Solution
Exploring Operation: 38+19=57, Resulting Numbers: [57]
57,27 unequal: No Solution
Exploring Operation: 38*19=722, Resulting Numbers: [722]
722,27 unequal: No Solution
Exploring Operation: 38/19=2, Resulting Numbers: [2]
2,27 unequal: No Solution
No 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: 27:[55, 36], Operations: ['81-43=38', '74-38=36']
Exploring Operation: 55*36=1980, Resulting Numbers: [1980]
1980,27 unequal: No Solution
Exploring Operation: 55+36=91, Resulting Numbers: [91]
91,27 unequal: No Solution
Exploring Operation: 55-36=19, Resulting Numbers: [19]
19,27 unequal: No Solution
No 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: 27:[74, 17], Operations: ['81-43=38', '55-38=17']
Exploring Operation: 74*17=1258, Resulting Numbers: [1258]
1258,27 unequal: No Solution
Exploring Operation: 74+17=91, Resulting Numbers: [91]
91,27 unequal: No Solution
Exploring Operation: 74-17=57, Resulting Numbers: [57]
57,27 unequal: No Solution
No 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: 27:[55, 112], Operations: ['81-43=38', '74+38=112']
Exploring Operation: 55+112=167, Resulting Numbers: [167]
167,27 unequal: No Solution
Exploring Operation: 112-55=57, Resulting Numbers: [57]
57,27 unequal: No Solution
Exploring Operation: 55*112=6160, Resulting Numbers: [6160]
6160,27 unequal: No Solution
No 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: 27:[38, 129], Operations: ['81-43=38', '74+55=129']
Exploring Operation: 129-38=91, Resulting Numbers: [91]
91,27 unequal: No Solution
Exploring Operation: 38+129=167, Resulting Numbers: [167]
167,27 unequal: No Solution
Exploring Operation: 38*129=4902, Resulting Numbers: [4902]
4902,27 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 |
[
9,
29,
24,
58
] | 30 | [
"24-9=15",
"58/29=2",
"15*2=30"
] | Current State: 30:[9, 29, 24, 58], Operations: []
Exploring Operation: 24-9=15, Resulting Numbers: [29, 58, 15]
Generated Node #2: [29, 58, 15] from Operation: 24-9=15
Current State: 30:[29, 58, 15], Operations: ['24-9=15']
Exploring Operation: 58/29=2, Resulting Numbers: [15, 2]
Generated Node #3: [15, 2] from Operation: 58/29=2
Current State: 30:[15, 2], Operations: ['24-9=15', '58/29=2']
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[9, 29, 24, 58], Operations: []
Exploring Operation: 58-24=34, Resulting Numbers: [9, 29, 34]
Generated Node #0,0: 30:[9, 29, 34] Operation: 58-24=34
Exploring Operation: 58-29=29, Resulting Numbers: [9, 24, 29]
Generated Node #0,1: 30:[9, 24, 29] Operation: 58-29=29
Exploring Operation: 58/29=2, Resulting Numbers: [9, 24, 2]
Generated Node #0,2: 30:[9, 24, 2] Operation: 58/29=2
Moving to Node #0,0
Current State: 30:[9, 29, 34], Operations: ['58-24=34']
Exploring Operation: 34-9=25, Resulting Numbers: [29, 25]
Generated Node #0,0,0: 30:[29, 25] Operation: 34-9=25
Exploring Operation: 29-9=20, Resulting Numbers: [34, 20]
Generated Node #0,0,1: 30:[34, 20] Operation: 29-9=20
Exploring Operation: 34-29=5, Resulting Numbers: [9, 5]
Generated Node #0,0,2: 30:[9, 5] Operation: 34-29=5
Moving to Node #0,2
Current State: 30:[9, 24, 2], Operations: ['58/29=2']
Exploring Operation: 24/2=12, Resulting Numbers: [9, 12]
Generated Node #0,2,0: 30:[9, 12] Operation: 24/2=12
Exploring Operation: 24-9=15, Resulting Numbers: [2, 15]
Generated Node #0,2,1: 30:[2, 15] Operation: 24-9=15
Exploring Operation: 9+24=33, Resulting Numbers: [2, 33]
Generated Node #0,2,2: 30:[2, 33] Operation: 9+24=33
Moving to Node #0,1
Current State: 30:[9, 24, 29], Operations: ['58-29=29']
Exploring Operation: 29-24=5, Resulting Numbers: [9, 5]
Generated Node #0,1,0: 30:[9, 5] Operation: 29-24=5
Exploring Operation: 24-9=15, Resulting Numbers: [29, 15]
Generated Node #0,1,1: 30:[29, 15] Operation: 24-9=15
Exploring Operation: 9+24=33, Resulting Numbers: [29, 33]
Generated Node #0,1,2: 30:[29, 33] Operation: 9+24=33
Moving to Node #0,2,1
Current State: 30:[2, 15], Operations: ['58/29=2', '24-9=15']
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,30 unequal: No Solution
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,30 unequal: No Solution
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[9, 29, 24, 58], Operations: []
Exploring Operation: 58/29=2, Resulting Numbers: [9, 24, 2]
Generated Node #0,2: 30:[9, 24, 2] Operation: 58/29=2
Moving to Node #0,2
Current State: 30:[9, 24, 2], Operations: ['58/29=2']
Exploring Operation: 24-9=15, Resulting Numbers: [2, 15]
Generated Node #0,2,1: 30:[2, 15] Operation: 24-9=15
Moving to Node #0,2,1
Current State: 30:[2, 15], Operations: ['58/29=2', '24-9=15']
Exploring Operation: 2*15=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 0.983507 | hs_3 | mult_heuristic |
[
5,
63,
72,
2
] | 43 | [
"63-5=58",
"58/2=29",
"72-29=43"
] | Current State: 43:[5, 63, 72, 2], Operations: []
Exploring Operation: 63-5=58, Resulting Numbers: [72, 2, 58]
Generated Node #2: [72, 2, 58] from Operation: 63-5=58
Current State: 43:[72, 2, 58], Operations: ['63-5=58']
Exploring Operation: 58/2=29, Resulting Numbers: [72, 29]
Generated Node #3: [72, 29] from Operation: 58/2=29
Current State: 43:[72, 29], Operations: ['63-5=58', '58/2=29']
Exploring Operation: 72-29=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[5, 63, 72, 2], Operations: []
Exploring Operation: 5*2=10, Resulting Numbers: [63, 72, 10]
Generated Node #0,0: 43:[63, 72, 10] Operation: 5*2=10
Exploring Operation: 72/2=36, Resulting Numbers: [5, 63, 36]
Generated Node #0,1: 43:[5, 63, 36] Operation: 72/2=36
Exploring Operation: 5+2=7, Resulting Numbers: [63, 72, 7]
Generated Node #0,2: 43:[63, 72, 7] Operation: 5+2=7
Exploring Operation: 63-5=58, Resulting Numbers: [72, 2, 58]
Generated Node #0,3: 43:[72, 2, 58] Operation: 63-5=58
Exploring Operation: 72-5=67, Resulting Numbers: [63, 2, 67]
Generated Node #0,4: 43:[63, 2, 67] Operation: 72-5=67
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[5, 63, 36], Operations: ['72/2=36']
Exploring Operation: 63-36=27, Resulting Numbers: [5, 27]
Generated Node #0,1,0: 43:[5, 27] Operation: 63-36=27
Exploring Operation: 63-5=58, Resulting Numbers: [36, 58]
Generated Node #0,1,1: 43:[36, 58] Operation: 63-5=58
Exploring Operation: 5+36=41, Resulting Numbers: [63, 41]
Generated Node #0,1,2: 43:[63, 41] Operation: 5+36=41
Exploring Operation: 36-5=31, Resulting Numbers: [63, 31]
Generated Node #0,1,3: 43:[63, 31] Operation: 36-5=31
Exploring Operation: 5+63=68, Resulting Numbers: [36, 68]
Generated Node #0,1,4: 43:[36, 68] Operation: 5+63=68
Moving to Node #0,1,1
Current State: 43:[36, 58], Operations: ['72/2=36', '63-5=58']
Exploring Operation: 36+58=94, Resulting Numbers: [94]
94,43 unequal: No Solution
Exploring Operation: 58-36=22, Resulting Numbers: [22]
22,43 unequal: No Solution
Exploring Operation: 36*58=2088, Resulting Numbers: [2088]
2088,43 unequal: No Solution
Moving to Node #0,1,2
Current State: 43:[63, 41], Operations: ['72/2=36', '5+36=41']
Exploring Operation: 63-41=22, Resulting Numbers: [22]
22,43 unequal: No Solution
Exploring Operation: 63*41=2583, Resulting Numbers: [2583]
2583,43 unequal: No Solution
Exploring Operation: 63+41=104, Resulting Numbers: [104]
104,43 unequal: No Solution
Moving to Node #0,1,3
Current State: 43:[63, 31], Operations: ['72/2=36', '36-5=31']
Exploring Operation: 63*31=1953, Resulting Numbers: [1953]
1953,43 unequal: No Solution
Exploring Operation: 63-31=32, Resulting Numbers: [32]
32,43 unequal: No Solution
Exploring Operation: 63+31=94, Resulting Numbers: [94]
94,43 unequal: No Solution
Moving to Node #0,1,4
Current State: 43:[36, 68], Operations: ['72/2=36', '5+63=68']
Exploring Operation: 36+68=104, Resulting Numbers: [104]
104,43 unequal: No Solution
Exploring Operation: 36*68=2448, Resulting Numbers: [2448]
2448,43 unequal: No Solution
Exploring Operation: 68-36=32, Resulting Numbers: [32]
32,43 unequal: No Solution
Moving to Node #0,1,0
Current State: 43:[5, 27], Operations: ['72/2=36', '63-36=27']
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,43 unequal: No Solution
Exploring Operation: 5+27=32, Resulting Numbers: [32]
32,43 unequal: No Solution
Exploring Operation: 5*27=135, Resulting Numbers: [135]
135,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[63, 72, 10], Operations: ['5*2=10']
Exploring Operation: 63-10=53, Resulting Numbers: [72, 53]
Generated Node #0,0,0: 43:[72, 53] Operation: 63-10=53
Exploring Operation: 72+10=82, Resulting Numbers: [63, 82]
Generated Node #0,0,1: 43:[63, 82] Operation: 72+10=82
Exploring Operation: 72-10=62, Resulting Numbers: [63, 62]
Generated Node #0,0,2: 43:[63, 62] Operation: 72-10=62
Exploring Operation: 63+10=73, Resulting Numbers: [72, 73]
Generated Node #0,0,3: 43:[72, 73] Operation: 63+10=73
Exploring Operation: 72-63=9, Resulting Numbers: [10, 9]
Generated Node #0,0,4: 43:[10, 9] Operation: 72-63=9
Moving to Node #0,0,0
Current State: 43:[72, 53], Operations: ['5*2=10', '63-10=53']
Exploring Operation: 72*53=3816, Resulting Numbers: [3816]
3816,43 unequal: No Solution
Exploring Operation: 72+53=125, Resulting Numbers: [125]
125,43 unequal: No Solution
Exploring Operation: 72-53=19, Resulting Numbers: [19]
19,43 unequal: No Solution
Moving to Node #0,0,2
Current State: 43:[63, 62], Operations: ['5*2=10', '72-10=62']
Exploring Operation: 63-62=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 63*62=3906, Resulting Numbers: [3906]
3906,43 unequal: No Solution
Exploring Operation: 63+62=125, Resulting Numbers: [125]
125,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[63, 82], Operations: ['5*2=10', '72+10=82']
Exploring Operation: 63+82=145, Resulting Numbers: [145]
145,43 unequal: No Solution
Exploring Operation: 63*82=5166, Resulting Numbers: [5166]
5166,43 unequal: No Solution
Exploring Operation: 82-63=19, Resulting Numbers: [19]
19,43 unequal: No Solution
Moving to Node #0,0,3
Current State: 43:[72, 73], Operations: ['5*2=10', '63+10=73']
Exploring Operation: 72*73=5256, Resulting Numbers: [5256]
5256,43 unequal: No Solution
Exploring Operation: 72+73=145, Resulting Numbers: [145]
145,43 unequal: No Solution
Exploring Operation: 73-72=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Moving to Node #0,0,4
Current State: 43:[10, 9], Operations: ['5*2=10', '72-63=9']
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Exploring Operation: 10+9=19, Resulting Numbers: [19]
19,43 unequal: No Solution
Exploring Operation: 10*9=90, Resulting Numbers: [90]
90,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 43:[63, 72, 7], Operations: ['5+2=7']
Exploring Operation: 63+7=70, Resulting Numbers: [72, 70]
Generated Node #0,2,0: 43:[72, 70] Operation: 63+7=70
Exploring Operation: 63/7=9, Resulting Numbers: [72, 9]
Generated Node #0,2,1: 43:[72, 9] Operation: 63/7=9
Exploring Operation: 72+7=79, Resulting Numbers: [63, 79]
Generated Node #0,2,2: 43:[63, 79] Operation: 72+7=79
Exploring Operation: 63-7=56, Resulting Numbers: [72, 56]
Generated Node #0,2,3: 43:[72, 56] Operation: 63-7=56
Exploring Operation: 72-7=65, Resulting Numbers: [63, 65]
Generated Node #0,2,4: 43:[63, 65] Operation: 72-7=65
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 43:[72, 56], Operations: ['5+2=7', '63-7=56']
Exploring Operation: 72-56=16, Resulting Numbers: [16]
16,43 unequal: No Solution
Exploring Operation: 72*56=4032, Resulting Numbers: [4032]
4032,43 unequal: No Solution
Exploring Operation: 72+56=128, Resulting Numbers: [128]
128,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 43:[63, 65], Operations: ['5+2=7', '72-7=65']
Exploring Operation: 63*65=4095, Resulting Numbers: [4095]
4095,43 unequal: No Solution
Exploring Operation: 63+65=128, Resulting Numbers: [128]
128,43 unequal: No Solution
Exploring Operation: 65-63=2, Resulting Numbers: [2]
2,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 43:[72, 70], Operations: ['5+2=7', '63+7=70']
Exploring Operation: 72+70=142, Resulting Numbers: [142]
142,43 unequal: No Solution
Exploring Operation: 72-70=2, Resulting Numbers: [2]
2,43 unequal: No Solution
Exploring Operation: 72*70=5040, Resulting Numbers: [5040]
5040,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 43:[63, 79], Operations: ['5+2=7', '72+7=79']
Exploring Operation: 63+79=142, Resulting Numbers: [142]
142,43 unequal: No Solution
Exploring Operation: 63*79=4977, Resulting Numbers: [4977]
4977,43 unequal: No Solution
Exploring Operation: 79-63=16, Resulting Numbers: [16]
16,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 43:[72, 9], Operations: ['5+2=7', '63/7=9']
Exploring Operation: 72+9=81, Resulting Numbers: [81]
81,43 unequal: No Solution
Exploring Operation: 72/9=8, Resulting Numbers: [8]
8,43 unequal: No Solution
Exploring Operation: 72-9=63, Resulting Numbers: [63]
63,43 unequal: No Solution
Exploring Operation: 72*9=648, Resulting Numbers: [648]
648,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 43:[72, 2, 58], Operations: ['63-5=58']
Exploring Operation: 72/2=36, Resulting Numbers: [58, 36]
Generated Node #0,3,0: 43:[58, 36] Operation: 72/2=36
Exploring Operation: 58-2=56, Resulting Numbers: [72, 56]
Generated Node #0,3,1: 43:[72, 56] Operation: 58-2=56
Exploring Operation: 72+2=74, Resulting Numbers: [58, 74]
Generated Node #0,3,2: 43:[58, 74] Operation: 72+2=74
Exploring Operation: 72-2=70, Resulting Numbers: [58, 70]
Generated Node #0,3,3: 43:[58, 70] Operation: 72-2=70
Exploring Operation: 58/2=29, Resulting Numbers: [72, 29]
Generated Node #0,3,4: 43:[72, 29] Operation: 58/2=29
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 43:[58, 36], Operations: ['63-5=58', '72/2=36']
Exploring Operation: 58*36=2088, Resulting Numbers: [2088]
2088,43 unequal: No Solution
Exploring Operation: 58-36=22, Resulting Numbers: [22]
22,43 unequal: No Solution
Exploring Operation: 58+36=94, Resulting Numbers: [94]
94,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 43:[72, 56], Operations: ['63-5=58', '58-2=56']
Exploring Operation: 72+56=128, Resulting Numbers: [128]
128,43 unequal: No Solution
Exploring Operation: 72*56=4032, Resulting Numbers: [4032]
4032,43 unequal: No Solution
Exploring Operation: 72-56=16, Resulting Numbers: [16]
16,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 43:[58, 70], Operations: ['63-5=58', '72-2=70']
Exploring Operation: 58*70=4060, Resulting Numbers: [4060]
4060,43 unequal: No Solution
Exploring Operation: 70-58=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 58+70=128, Resulting Numbers: [128]
128,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 43:[72, 29], Operations: ['63-5=58', '58/2=29']
Exploring Operation: 72-29=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[5, 63, 72, 2], Operations: []
Exploring Operation: 63-5=58, Resulting Numbers: [72, 2, 58]
Generated Node #0,3: 43:[72, 2, 58] Operation: 63-5=58
Moving to Node #0,3
Current State: 43:[72, 2, 58], Operations: ['63-5=58']
Exploring Operation: 58/2=29, Resulting Numbers: [72, 29]
Generated Node #0,3,4: 43:[72, 29] Operation: 58/2=29
Moving to Node #0,3,4
Current State: 43:[72, 29], Operations: ['63-5=58', '58/2=29']
Exploring Operation: 72-29=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.926215 | hs_5 | sum_heuristic |
[
98,
82,
5,
1
] | 79 | [
"98-82=16",
"5*16=80",
"80-1=79"
] | Current State: 79:[98, 82, 5, 1], Operations: []
Exploring Operation: 98-82=16, Resulting Numbers: [5, 1, 16]
Generated Node #2: [5, 1, 16] from Operation: 98-82=16
Current State: 79:[5, 1, 16], Operations: ['98-82=16']
Exploring Operation: 5*16=80, Resulting Numbers: [1, 80]
Generated Node #3: [1, 80] from Operation: 5*16=80
Current State: 79:[1, 80], Operations: ['98-82=16', '5*16=80']
Exploring Operation: 80-1=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[98, 82, 5, 1], Operations: []
Exploring Operation: 98-5=93, Resulting Numbers: [82, 1, 93]
Generated Node #0,0: 79:[82, 1, 93] Operation: 98-5=93
Exploring Operation: 82-1=81, Resulting Numbers: [98, 5, 81]
Generated Node #0,1: 79:[98, 5, 81] Operation: 82-1=81
Exploring Operation: 98-1=97, Resulting Numbers: [82, 5, 97]
Generated Node #0,2: 79:[82, 5, 97] Operation: 98-1=97
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[82, 1, 93], Operations: ['98-5=93']
Exploring Operation: 93-1=92, Resulting Numbers: [82, 92]
Generated Node #0,0,0: 79:[82, 92] Operation: 93-1=92
Exploring Operation: 82*1=82, Resulting Numbers: [93, 82]
Generated Node #0,0,1: 79:[93, 82] Operation: 82*1=82
Exploring Operation: 82-1=81, Resulting Numbers: [93, 81]
Generated Node #0,0,2: 79:[93, 81] Operation: 82-1=81
Moving to Node #0,0,0
Current State: 79:[82, 92], Operations: ['98-5=93', '93-1=92']
Exploring Operation: 82*92=7544, Resulting Numbers: [7544]
7544,79 unequal: No Solution
Exploring Operation: 82+92=174, Resulting Numbers: [174]
174,79 unequal: No Solution
Exploring Operation: 92-82=10, Resulting Numbers: [10]
10,79 unequal: No Solution
Moving to Node #0,0,2
Current State: 79:[93, 81], Operations: ['98-5=93', '82-1=81']
Exploring Operation: 93+81=174, Resulting Numbers: [174]
174,79 unequal: No Solution
Exploring Operation: 93*81=7533, Resulting Numbers: [7533]
7533,79 unequal: No Solution
Exploring Operation: 93-81=12, Resulting Numbers: [12]
12,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[93, 82], Operations: ['98-5=93', '82*1=82']
Exploring Operation: 93*82=7626, Resulting Numbers: [7626]
7626,79 unequal: No Solution
Exploring Operation: 93-82=11, Resulting Numbers: [11]
11,79 unequal: No Solution
Exploring Operation: 93+82=175, Resulting Numbers: [175]
175,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[98, 5, 81], Operations: ['82-1=81']
Exploring Operation: 98+5=103, Resulting Numbers: [81, 103]
Generated Node #0,1,0: 79:[81, 103] Operation: 98+5=103
Exploring Operation: 98-5=93, Resulting Numbers: [81, 93]
Generated Node #0,1,1: 79:[81, 93] Operation: 98-5=93
Exploring Operation: 81-5=76, Resulting Numbers: [98, 76]
Generated Node #0,1,2: 79:[98, 76] Operation: 81-5=76
Moving to Node #0,1,1
Current State: 79:[81, 93], Operations: ['82-1=81', '98-5=93']
Exploring Operation: 81+93=174, Resulting Numbers: [174]
174,79 unequal: No Solution
Exploring Operation: 81*93=7533, Resulting Numbers: [7533]
7533,79 unequal: No Solution
Exploring Operation: 93-81=12, Resulting Numbers: [12]
12,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[98, 76], Operations: ['82-1=81', '81-5=76']
Exploring Operation: 98+76=174, Resulting Numbers: [174]
174,79 unequal: No Solution
Exploring Operation: 98*76=7448, Resulting Numbers: [7448]
7448,79 unequal: No Solution
Exploring Operation: 98-76=22, Resulting Numbers: [22]
22,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[81, 103], Operations: ['82-1=81', '98+5=103']
Exploring Operation: 81+103=184, Resulting Numbers: [184]
184,79 unequal: No Solution
Exploring Operation: 81*103=8343, Resulting Numbers: [8343]
8343,79 unequal: No Solution
Exploring Operation: 103-81=22, Resulting Numbers: [22]
22,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[82, 5, 97], Operations: ['98-1=97']
Exploring Operation: 82+5=87, Resulting Numbers: [97, 87]
Generated Node #0,2,0: 79:[97, 87] Operation: 82+5=87
Exploring Operation: 82-5=77, Resulting Numbers: [97, 77]
Generated Node #0,2,1: 79:[97, 77] Operation: 82-5=77
Exploring Operation: 97-5=92, Resulting Numbers: [82, 92]
Generated Node #0,2,2: 79:[82, 92] Operation: 97-5=92
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 79:[82, 92], Operations: ['98-1=97', '97-5=92']
Exploring Operation: 92-82=10, Resulting Numbers: [10]
10,79 unequal: No Solution
Exploring Operation: 82*92=7544, Resulting Numbers: [7544]
7544,79 unequal: No Solution
Exploring Operation: 82+92=174, Resulting Numbers: [174]
174,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,2,1
Current State: 79:[97, 77], Operations: ['98-1=97', '82-5=77']
Exploring Operation: 97*77=7469, Resulting Numbers: [7469]
7469,79 unequal: No Solution
Exploring Operation: 97+77=174, Resulting Numbers: [174]
174,79 unequal: No Solution
Exploring Operation: 97-77=20, Resulting Numbers: [20]
20,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,2,0
Current State: 79:[97, 87], Operations: ['98-1=97', '82+5=87']
Exploring Operation: 97*87=8439, Resulting Numbers: [8439]
8439,79 unequal: No Solution
Exploring Operation: 97+87=184, Resulting Numbers: [184]
184,79 unequal: No Solution
Exploring Operation: 97-87=10, Resulting Numbers: [10]
10,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
3,
6,
25,
12
] | 27 | [
"12/3=4",
"6+25=31",
"31-4=27"
] | Current State: 27:[3, 6, 25, 12], Operations: []
Exploring Operation: 12/3=4, Resulting Numbers: [6, 25, 4]
Generated Node #2: [6, 25, 4] from Operation: 12/3=4
Current State: 27:[6, 25, 4], Operations: ['12/3=4']
Exploring Operation: 6+25=31, Resulting Numbers: [4, 31]
Generated Node #3: [4, 31] from Operation: 6+25=31
Current State: 27:[4, 31], Operations: ['12/3=4', '6+25=31']
Exploring Operation: 31-4=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[3, 6, 25, 12], Operations: []
Exploring Operation: 12/6=2, Resulting Numbers: [3, 25, 2]
Generated Node #0,0: 27:[3, 25, 2] Operation: 12/6=2
Moving to Node #0,0
Current State: 27:[3, 25, 2], Operations: ['12/6=2']
Exploring Operation: 25+2=27, Resulting Numbers: [3, 27]
Generated Node #0,0,0: 27:[3, 27] Operation: 25+2=27
Moving to Node #0,0,0
Current State: 27:[3, 27], Operations: ['12/6=2', '25+2=27']
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,27 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
48,
36,
49,
22
] | 64 | [
"48*36=1728",
"49-22=27",
"1728/27=64"
] | Current State: 64:[48, 36, 49, 22], Operations: []
Exploring Operation: 48*36=1728, Resulting Numbers: [49, 22, 1728]
Generated Node #2: [49, 22, 1728] from Operation: 48*36=1728
Current State: 64:[49, 22, 1728], Operations: ['48*36=1728']
Exploring Operation: 49-22=27, Resulting Numbers: [1728, 27]
Generated Node #3: [1728, 27] from Operation: 49-22=27
Current State: 64:[1728, 27], Operations: ['48*36=1728', '49-22=27']
Exploring Operation: 1728/27=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[48, 36, 49, 22], Operations: []
Exploring Operation: 49-48=1, Resulting Numbers: [36, 22, 1]
Generated Node #0,0: 64:[36, 22, 1] Operation: 49-48=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[36, 22, 1], Operations: ['49-48=1']
Exploring Operation: 36-22=14, Resulting Numbers: [1, 14]
Generated Node #0,0,0: 64:[1, 14] Operation: 36-22=14
Moving to Node #0,0,0
Current State: 64:[1, 14], Operations: ['49-48=1', '36-22=14']
Exploring Operation: 1+14=15, Resulting Numbers: [15]
15,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 | sum_heuristic |
[
17,
85,
48,
54
] | 96 | [
"17+85=102",
"54-48=6",
"102-6=96"
] | Current State: 96:[17, 85, 48, 54], Operations: []
Exploring Operation: 17+85=102, Resulting Numbers: [48, 54, 102]
Generated Node #2: [48, 54, 102] from Operation: 17+85=102
Current State: 96:[48, 54, 102], Operations: ['17+85=102']
Exploring Operation: 54-48=6, Resulting Numbers: [102, 6]
Generated Node #3: [102, 6] from Operation: 54-48=6
Current State: 96:[102, 6], Operations: ['17+85=102', '54-48=6']
Exploring Operation: 102-6=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[17, 85, 48, 54], Operations: []
Exploring Operation: 85-54=31, Resulting Numbers: [17, 48, 31]
Generated Node #0,0: 96:[17, 48, 31] Operation: 85-54=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[17, 48, 31], Operations: ['85-54=31']
Exploring Operation: 17+31=48, Resulting Numbers: [48, 48]
Generated Node #0,0,0: 96:[48, 48] Operation: 17+31=48
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 96:[48, 48], Operations: ['85-54=31', '17+31=48']
Exploring Operation: 48+48=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[17, 85, 48, 54], Operations: []
Exploring Operation: 85-54=31, Resulting Numbers: [17, 48, 31]
Generated Node #0,0: 96:[17, 48, 31] Operation: 85-54=31
Moving to Node #0,0
Current State: 96:[17, 48, 31], Operations: ['85-54=31']
Exploring Operation: 17+31=48, Resulting Numbers: [48, 48]
Generated Node #0,0,0: 96:[48, 48] Operation: 17+31=48
Moving to Node #0,0,0
Current State: 96:[48, 48], Operations: ['85-54=31', '17+31=48']
Exploring Operation: 48+48=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
6,
3,
49,
18
] | 77 | [
"3+18=21",
"6*21=126",
"126-49=77"
] | Current State: 77:[6, 3, 49, 18], Operations: []
Exploring Operation: 3+18=21, Resulting Numbers: [6, 49, 21]
Generated Node #2: [6, 49, 21] from Operation: 3+18=21
Current State: 77:[6, 49, 21], Operations: ['3+18=21']
Exploring Operation: 6*21=126, Resulting Numbers: [49, 126]
Generated Node #3: [49, 126] from Operation: 6*21=126
Current State: 77:[49, 126], Operations: ['3+18=21', '6*21=126']
Exploring Operation: 126-49=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[6, 3, 49, 18], Operations: []
Exploring Operation: 6+49=55, Resulting Numbers: [3, 18, 55]
Generated Node #0,0: 77:[3, 18, 55] Operation: 6+49=55
Exploring Operation: 49-18=31, Resulting Numbers: [6, 3, 31]
Generated Node #0,1: 77:[6, 3, 31] Operation: 49-18=31
Exploring Operation: 49+18=67, Resulting Numbers: [6, 3, 67]
Generated Node #0,2: 77:[6, 3, 67] Operation: 49+18=67
Exploring Operation: 18/3=6, Resulting Numbers: [6, 49, 6]
Generated Node #0,3: 77:[6, 49, 6] Operation: 18/3=6
Moving to Node #0,2
Current State: 77:[6, 3, 67], Operations: ['49+18=67']
Exploring Operation: 6-3=3, Resulting Numbers: [67, 3]
Generated Node #0,2,0: 77:[67, 3] Operation: 6-3=3
Exploring Operation: 6+3=9, Resulting Numbers: [67, 9]
Generated Node #0,2,1: 77:[67, 9] Operation: 6+3=9
Exploring Operation: 3+67=70, Resulting Numbers: [6, 70]
Generated Node #0,2,2: 77:[6, 70] Operation: 3+67=70
Exploring Operation: 6+67=73, Resulting Numbers: [3, 73]
Generated Node #0,2,3: 77:[3, 73] Operation: 6+67=73
Moving to Node #0,1
Current State: 77:[6, 3, 31], Operations: ['49-18=31']
Exploring Operation: 6+3=9, Resulting Numbers: [31, 9]
Generated Node #0,1,0: 77:[31, 9] Operation: 6+3=9
Exploring Operation: 31-6=25, Resulting Numbers: [3, 25]
Generated Node #0,1,1: 77:[3, 25] Operation: 31-6=25
Exploring Operation: 31-3=28, Resulting Numbers: [6, 28]
Generated Node #0,1,2: 77:[6, 28] Operation: 31-3=28
Exploring Operation: 3*31=93, Resulting Numbers: [6, 93]
Generated Node #0,1,3: 77:[6, 93] Operation: 3*31=93
Moving to Node #0,3
Current State: 77:[6, 49, 6], Operations: ['18/3=6']
Exploring Operation: 49-6=43, Resulting Numbers: [6, 43]
Generated Node #0,3,0: 77:[6, 43] Operation: 49-6=43
Exploring Operation: 6+49=55, Resulting Numbers: [6, 55]
Generated Node #0,3,1: 77:[6, 55] Operation: 6+49=55
Exploring Operation: 6+6=12, Resulting Numbers: [49, 12]
Generated Node #0,3,2: 77:[49, 12] Operation: 6+6=12
Exploring Operation: 49+6=55, Resulting Numbers: [6, 55]
Generated Node #0,3,3: 77:[6, 55] Operation: 49+6=55
Moving to Node #0,0
Current State: 77:[3, 18, 55], Operations: ['6+49=55']
Exploring Operation: 18-3=15, Resulting Numbers: [55, 15]
Generated Node #0,0,0: 77:[55, 15] Operation: 18-3=15
Exploring Operation: 18+55=73, Resulting Numbers: [3, 73]
Generated Node #0,0,1: 77:[3, 73] Operation: 18+55=73
Exploring Operation: 3+55=58, Resulting Numbers: [18, 58]
Generated Node #0,0,2: 77:[18, 58] Operation: 3+55=58
Exploring Operation: 18/3=6, Resulting Numbers: [55, 6]
Generated Node #0,0,3: 77:[55, 6] Operation: 18/3=6
Moving to Node #0,2,2
Current State: 77:[6, 70], Operations: ['49+18=67', '3+67=70']
Exploring Operation: 6+70=76, Resulting Numbers: [76]
76,77 unequal: No Solution
Exploring Operation: 6*70=420, Resulting Numbers: [420]
420,77 unequal: No Solution
Exploring Operation: 70-6=64, Resulting Numbers: [64]
64,77 unequal: No Solution
Moving to Node #0,0,1
Current State: 77:[3, 73], Operations: ['6+49=55', '18+55=73']
Exploring Operation: 73-3=70, Resulting Numbers: [70]
70,77 unequal: No Solution
Exploring Operation: 3+73=76, Resulting Numbers: [76]
76,77 unequal: No Solution
Exploring Operation: 3*73=219, Resulting Numbers: [219]
219,77 unequal: No Solution
Moving to Node #0,2,3
Current State: 77:[3, 73], Operations: ['49+18=67', '6+67=73']
Exploring Operation: 3+73=76, Resulting Numbers: [76]
76,77 unequal: No Solution
Exploring Operation: 3*73=219, Resulting Numbers: [219]
219,77 unequal: No Solution
Exploring Operation: 73-3=70, Resulting Numbers: [70]
70,77 unequal: No Solution
Moving to Node #0,2,1
Current State: 77:[67, 9], Operations: ['49+18=67', '6+3=9']
Exploring Operation: 67-9=58, Resulting Numbers: [58]
58,77 unequal: No Solution
Exploring Operation: 67*9=603, Resulting Numbers: [603]
603,77 unequal: No Solution
Exploring Operation: 67+9=76, Resulting Numbers: [76]
76,77 unequal: No Solution
Moving to Node #0,2,0
Current State: 77:[67, 3], Operations: ['49+18=67', '6-3=3']
Exploring Operation: 67*3=201, Resulting Numbers: [201]
201,77 unequal: No Solution
Exploring Operation: 67+3=70, Resulting Numbers: [70]
70,77 unequal: No Solution
Exploring Operation: 67-3=64, Resulting Numbers: [64]
64,77 unequal: No Solution
Moving to Node #0,1,3
Current State: 77:[6, 93], Operations: ['49-18=31', '3*31=93']
Exploring Operation: 93-6=87, Resulting Numbers: [87]
87,77 unequal: No Solution
Exploring Operation: 6+93=99, Resulting Numbers: [99]
99,77 unequal: No Solution
Exploring Operation: 6*93=558, Resulting Numbers: [558]
558,77 unequal: No Solution
Moving to Node #0,1,2
Current State: 77:[6, 28], Operations: ['49-18=31', '31-3=28']
Exploring Operation: 6+28=34, Resulting Numbers: [34]
34,77 unequal: No Solution
Exploring Operation: 6*28=168, Resulting Numbers: [168]
168,77 unequal: No Solution
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,77 unequal: No Solution
Moving to Node #0,1,1
Current State: 77:[3, 25], Operations: ['49-18=31', '31-6=25']
Exploring Operation: 3*25=75, Resulting Numbers: [75]
75,77 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,77 unequal: No Solution
Exploring Operation: 3+25=28, Resulting Numbers: [28]
28,77 unequal: No Solution
Moving to Node #0,1,0
Current State: 77:[31, 9], Operations: ['49-18=31', '6+3=9']
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,77 unequal: No Solution
Exploring Operation: 31*9=279, Resulting Numbers: [279]
279,77 unequal: No Solution
Exploring Operation: 31+9=40, Resulting Numbers: [40]
40,77 unequal: No Solution
Moving to Node #0,0,3
Current State: 77:[55, 6], Operations: ['6+49=55', '18/3=6']
Exploring Operation: 55+6=61, Resulting Numbers: [61]
61,77 unequal: No Solution
Exploring Operation: 55*6=330, Resulting Numbers: [330]
330,77 unequal: No Solution
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,77 unequal: No Solution
Moving to Node #0,3,3
Current State: 77:[6, 55], Operations: ['18/3=6', '49+6=55']
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,77 unequal: No Solution
Exploring Operation: 6*55=330, Resulting Numbers: [330]
330,77 unequal: No Solution
Exploring Operation: 6+55=61, Resulting Numbers: [61]
61,77 unequal: No Solution
Moving to Node #0,3,1
Current State: 77:[6, 55], Operations: ['18/3=6', '6+49=55']
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,77 unequal: No Solution
Exploring Operation: 6*55=330, Resulting Numbers: [330]
330,77 unequal: No Solution
Exploring Operation: 6+55=61, Resulting Numbers: [61]
61,77 unequal: No Solution
Moving to Node #0,0,2
Current State: 77:[18, 58], Operations: ['6+49=55', '3+55=58']
Exploring Operation: 18*58=1044, Resulting Numbers: [1044]
1044,77 unequal: No Solution
Exploring Operation: 58-18=40, Resulting Numbers: [40]
40,77 unequal: No Solution
Exploring Operation: 18+58=76, Resulting Numbers: [76]
76,77 unequal: No Solution
Moving to Node #0,0,0
Current State: 77:[55, 15], Operations: ['6+49=55', '18-3=15']
Exploring Operation: 55-15=40, Resulting Numbers: [40]
40,77 unequal: No Solution
Exploring Operation: 55+15=70, Resulting Numbers: [70]
70,77 unequal: No Solution
Exploring Operation: 55*15=825, Resulting Numbers: [825]
825,77 unequal: No Solution
Moving to Node #0,3,2
Current State: 77:[49, 12], Operations: ['18/3=6', '6+6=12']
Exploring Operation: 49-12=37, Resulting Numbers: [37]
37,77 unequal: No Solution
Exploring Operation: 49+12=61, Resulting Numbers: [61]
61,77 unequal: No Solution
Exploring Operation: 49*12=588, Resulting Numbers: [588]
588,77 unequal: No Solution
Moving to Node #0,3,0
Current State: 77:[6, 43], Operations: ['18/3=6', '49-6=43']
Exploring Operation: 6+43=49, Resulting Numbers: [49]
49,77 unequal: No Solution
Exploring Operation: 43-6=37, Resulting Numbers: [37]
37,77 unequal: No Solution
Exploring Operation: 6*43=258, Resulting Numbers: [258]
258,77 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
70,
2,
39,
93
] | 55 | [
"93-70=23",
"2*39=78",
"78-23=55"
] | Current State: 55:[70, 2, 39, 93], Operations: []
Exploring Operation: 93-70=23, Resulting Numbers: [2, 39, 23]
Generated Node #2: [2, 39, 23] from Operation: 93-70=23
Current State: 55:[2, 39, 23], Operations: ['93-70=23']
Exploring Operation: 2*39=78, Resulting Numbers: [23, 78]
Generated Node #3: [23, 78] from Operation: 2*39=78
Current State: 55:[23, 78], Operations: ['93-70=23', '2*39=78']
Exploring Operation: 78-23=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[70, 2, 39, 93], Operations: []
Exploring Operation: 70-2=68, Resulting Numbers: [39, 93, 68]
Generated Node #0,0: 55:[39, 93, 68] Operation: 70-2=68
Exploring Operation: 93-39=54, Resulting Numbers: [70, 2, 54]
Generated Node #0,1: 55:[70, 2, 54] Operation: 93-39=54
Exploring Operation: 93-70=23, Resulting Numbers: [2, 39, 23]
Generated Node #0,2: 55:[2, 39, 23] Operation: 93-70=23
Exploring Operation: 70-39=31, Resulting Numbers: [2, 93, 31]
Generated Node #0,3: 55:[2, 93, 31] Operation: 70-39=31
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[70, 2, 54], Operations: ['93-39=54']
Exploring Operation: 70-2=68, Resulting Numbers: [54, 68]
Generated Node #0,1,0: 55:[54, 68] Operation: 70-2=68
Exploring Operation: 70+2=72, Resulting Numbers: [54, 72]
Generated Node #0,1,1: 55:[54, 72] Operation: 70+2=72
Exploring Operation: 70-54=16, Resulting Numbers: [2, 16]
Generated Node #0,1,2: 55:[2, 16] Operation: 70-54=16
Exploring Operation: 2+54=56, Resulting Numbers: [70, 56]
Generated Node #0,1,3: 55:[70, 56] Operation: 2+54=56
Moving to Node #0,1,2
Current State: 55:[2, 16], Operations: ['93-39=54', '70-54=16']
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,55 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,55 unequal: No Solution
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,55 unequal: No Solution
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,55 unequal: No Solution
Moving to Node #0,1,0
Current State: 55:[54, 68], Operations: ['93-39=54', '70-2=68']
Exploring Operation: 68-54=14, Resulting Numbers: [14]
14,55 unequal: No Solution
Exploring Operation: 54*68=3672, Resulting Numbers: [3672]
3672,55 unequal: No Solution
Exploring Operation: 54+68=122, Resulting Numbers: [122]
122,55 unequal: No Solution
Moving to Node #0,1,3
Current State: 55:[70, 56], Operations: ['93-39=54', '2+54=56']
Exploring Operation: 70*56=3920, Resulting Numbers: [3920]
3920,55 unequal: No Solution
Exploring Operation: 70+56=126, Resulting Numbers: [126]
126,55 unequal: No Solution
Exploring Operation: 70-56=14, Resulting Numbers: [14]
14,55 unequal: No Solution
Moving to Node #0,1,1
Current State: 55:[54, 72], Operations: ['93-39=54', '70+2=72']
Exploring Operation: 72-54=18, Resulting Numbers: [18]
18,55 unequal: No Solution
Exploring Operation: 54+72=126, Resulting Numbers: [126]
126,55 unequal: No Solution
Exploring Operation: 54*72=3888, Resulting Numbers: [3888]
3888,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 55:[2, 39, 23], Operations: ['93-70=23']
Exploring Operation: 39-23=16, Resulting Numbers: [2, 16]
Generated Node #0,2,0: 55:[2, 16] Operation: 39-23=16
Exploring Operation: 2*23=46, Resulting Numbers: [39, 46]
Generated Node #0,2,1: 55:[39, 46] Operation: 2*23=46
Exploring Operation: 2+39=41, Resulting Numbers: [23, 41]
Generated Node #0,2,2: 55:[23, 41] Operation: 2+39=41
Exploring Operation: 39+23=62, Resulting Numbers: [2, 62]
Generated Node #0,2,3: 55:[2, 62] Operation: 39+23=62
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 55:[2, 16], Operations: ['93-70=23', '39-23=16']
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,55 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,55 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,55 unequal: No Solution
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 55:[2, 62], Operations: ['93-70=23', '39+23=62']
Exploring Operation: 2*62=124, Resulting Numbers: [124]
124,55 unequal: No Solution
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,55 unequal: No Solution
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,55 unequal: No Solution
Exploring Operation: 2+62=64, Resulting Numbers: [64]
64,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 55:[39, 46], Operations: ['93-70=23', '2*23=46']
Exploring Operation: 39+46=85, Resulting Numbers: [85]
85,55 unequal: No Solution
Exploring Operation: 46-39=7, Resulting Numbers: [7]
7,55 unequal: No Solution
Exploring Operation: 39*46=1794, Resulting Numbers: [1794]
1794,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 55:[23, 41], Operations: ['93-70=23', '2+39=41']
Exploring Operation: 23*41=943, Resulting Numbers: [943]
943,55 unequal: No Solution
Exploring Operation: 41-23=18, Resulting Numbers: [18]
18,55 unequal: No Solution
Exploring Operation: 23+41=64, Resulting Numbers: [64]
64,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 55:[2, 93, 31], Operations: ['70-39=31']
Exploring Operation: 93-2=91, Resulting Numbers: [31, 91]
Generated Node #0,3,0: 55:[31, 91] Operation: 93-2=91
Exploring Operation: 2*31=62, Resulting Numbers: [93, 62]
Generated Node #0,3,1: 55:[93, 62] Operation: 2*31=62
Exploring Operation: 93/31=3, Resulting Numbers: [2, 3]
Generated Node #0,3,2: 55:[2, 3] Operation: 93/31=3
Exploring Operation: 93-31=62, Resulting Numbers: [2, 62]
Generated Node #0,3,3: 55:[2, 62] Operation: 93-31=62
Moving to Node #0,3,2
Current State: 55:[2, 3], Operations: ['70-39=31', '93/31=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,55 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,55 unequal: No Solution
Moving to Node #0,3,3
Current State: 55:[2, 62], Operations: ['70-39=31', '93-31=62']
Exploring Operation: 2+62=64, Resulting Numbers: [64]
64,55 unequal: No Solution
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,55 unequal: No Solution
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,55 unequal: No Solution
Exploring Operation: 2*62=124, Resulting Numbers: [124]
124,55 unequal: No Solution
Moving to Node #0,3,1
Current State: 55:[93, 62], Operations: ['70-39=31', '2*31=62']
Exploring Operation: 93*62=5766, Resulting Numbers: [5766]
5766,55 unequal: No Solution
Exploring Operation: 93-62=31, Resulting Numbers: [31]
31,55 unequal: No Solution
Exploring Operation: 93+62=155, Resulting Numbers: [155]
155,55 unequal: No Solution
Moving to Node #0,3,0
Current State: 55:[31, 91], Operations: ['70-39=31', '93-2=91']
Exploring Operation: 91-31=60, Resulting Numbers: [60]
60,55 unequal: No Solution
Exploring Operation: 31+91=122, Resulting Numbers: [122]
122,55 unequal: No Solution
Exploring Operation: 31*91=2821, Resulting Numbers: [2821]
2821,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[39, 93, 68], Operations: ['70-2=68']
Exploring Operation: 39+93=132, Resulting Numbers: [68, 132]
Generated Node #0,0,0: 55:[68, 132] Operation: 39+93=132
Exploring Operation: 93-39=54, Resulting Numbers: [68, 54]
Generated Node #0,0,1: 55:[68, 54] Operation: 93-39=54
Exploring Operation: 93-68=25, Resulting Numbers: [39, 25]
Generated Node #0,0,2: 55:[39, 25] Operation: 93-68=25
Exploring Operation: 68-39=29, Resulting Numbers: [93, 29]
Generated Node #0,0,3: 55:[93, 29] Operation: 68-39=29
Moving to Node #0,0,1
Current State: 55:[68, 54], Operations: ['70-2=68', '93-39=54']
Exploring Operation: 68*54=3672, Resulting Numbers: [3672]
3672,55 unequal: No Solution
Exploring Operation: 68+54=122, Resulting Numbers: [122]
122,55 unequal: No Solution
Exploring Operation: 68-54=14, Resulting Numbers: [14]
14,55 unequal: No Solution
Moving to Node #0,0,2
Current State: 55:[39, 25], Operations: ['70-2=68', '93-68=25']
Exploring Operation: 39*25=975, Resulting Numbers: [975]
975,55 unequal: No Solution
Exploring Operation: 39-25=14, Resulting Numbers: [14]
14,55 unequal: No Solution
Exploring Operation: 39+25=64, Resulting Numbers: [64]
64,55 unequal: No Solution
Moving to Node #0,0,3
Current State: 55:[93, 29], Operations: ['70-2=68', '68-39=29']
Exploring Operation: 93+29=122, Resulting Numbers: [122]
122,55 unequal: No Solution
Exploring Operation: 93*29=2697, Resulting Numbers: [2697]
2697,55 unequal: No Solution
Exploring Operation: 93-29=64, Resulting Numbers: [64]
64,55 unequal: No Solution
Moving to Node #0,0,0
Current State: 55:[68, 132], Operations: ['70-2=68', '39+93=132']
Exploring Operation: 68+132=200, Resulting Numbers: [200]
200,55 unequal: No Solution
Exploring Operation: 132-68=64, Resulting Numbers: [64]
64,55 unequal: No Solution
Exploring Operation: 68*132=8976, Resulting Numbers: [8976]
8976,55 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 |
[
27,
14,
40,
52
] | 50 | [
"14+40=54",
"54/27=2",
"52-2=50"
] | Current State: 50:[27, 14, 40, 52], Operations: []
Exploring Operation: 14+40=54, Resulting Numbers: [27, 52, 54]
Generated Node #2: [27, 52, 54] from Operation: 14+40=54
Current State: 50:[27, 52, 54], Operations: ['14+40=54']
Exploring Operation: 54/27=2, Resulting Numbers: [52, 2]
Generated Node #3: [52, 2] from Operation: 54/27=2
Current State: 50:[52, 2], Operations: ['14+40=54', '54/27=2']
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[27, 14, 40, 52], Operations: []
Exploring Operation: 14+40=54, Resulting Numbers: [27, 52, 54]
Generated Node #0,0: 50:[27, 52, 54] Operation: 14+40=54
Exploring Operation: 40-14=26, Resulting Numbers: [27, 52, 26]
Generated Node #0,1: 50:[27, 52, 26] Operation: 40-14=26
Moving to Node #0,1
Current State: 50:[27, 52, 26], Operations: ['40-14=26']
Exploring Operation: 52/26=2, Resulting Numbers: [27, 2]
Generated Node #0,1,0: 50:[27, 2] Operation: 52/26=2
Exploring Operation: 52-27=25, Resulting Numbers: [26, 25]
Generated Node #0,1,1: 50:[26, 25] Operation: 52-27=25
Moving to Node #0,0
Current State: 50:[27, 52, 54], Operations: ['14+40=54']
Exploring Operation: 54/27=2, Resulting Numbers: [52, 2]
Generated Node #0,0,0: 50:[52, 2] Operation: 54/27=2
Exploring Operation: 54-52=2, Resulting Numbers: [27, 2]
Generated Node #0,0,1: 50:[27, 2] Operation: 54-52=2
Moving to Node #0,1,1
Current State: 50:[26, 25], Operations: ['40-14=26', '52-27=25']
Exploring Operation: 26-25=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 26+25=51, Resulting Numbers: [51]
51,50 unequal: No Solution
Moving to Node #0,0,0
Current State: 50:[52, 2], Operations: ['14+40=54', '54/27=2']
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[27, 14, 40, 52], Operations: []
Exploring Operation: 14+40=54, Resulting Numbers: [27, 52, 54]
Generated Node #0,0: 50:[27, 52, 54] Operation: 14+40=54
Moving to Node #0,0
Current State: 50:[27, 52, 54], Operations: ['14+40=54']
Exploring Operation: 54/27=2, Resulting Numbers: [52, 2]
Generated Node #0,0,0: 50:[52, 2] Operation: 54/27=2
Moving to Node #0,0,0
Current State: 50:[52, 2], Operations: ['14+40=54', '54/27=2']
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 0.988715 | hs_2 | sum_heuristic |
[
36,
61,
50,
79
] | 77 | [
"61-36=25",
"50/25=2",
"79-2=77"
] | Current State: 77:[36, 61, 50, 79], Operations: []
Exploring Operation: 61-36=25, Resulting Numbers: [50, 79, 25]
Generated Node #2: [50, 79, 25] from Operation: 61-36=25
Current State: 77:[50, 79, 25], Operations: ['61-36=25']
Exploring Operation: 50/25=2, Resulting Numbers: [79, 2]
Generated Node #3: [79, 2] from Operation: 50/25=2
Current State: 77:[79, 2], Operations: ['61-36=25', '50/25=2']
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[36, 61, 50, 79], Operations: []
Exploring Operation: 36+61=97, Resulting Numbers: [50, 79, 97]
Generated Node #0,0: 77:[50, 79, 97] Operation: 36+61=97
Exploring Operation: 61-50=11, Resulting Numbers: [36, 79, 11]
Generated Node #0,1: 77:[36, 79, 11] Operation: 61-50=11
Exploring Operation: 50-36=14, Resulting Numbers: [61, 79, 14]
Generated Node #0,2: 77:[61, 79, 14] Operation: 50-36=14
Exploring Operation: 36+50=86, Resulting Numbers: [61, 79, 86]
Generated Node #0,3: 77:[61, 79, 86] Operation: 36+50=86
Exploring Operation: 61-36=25, Resulting Numbers: [50, 79, 25]
Generated Node #0,4: 77:[50, 79, 25] Operation: 61-36=25
Moving to Node #0,2
Current State: 77:[61, 79, 14], Operations: ['50-36=14']
Exploring Operation: 79+14=93, Resulting Numbers: [61, 93]
Generated Node #0,2,0: 77:[61, 93] Operation: 79+14=93
Exploring Operation: 61-14=47, Resulting Numbers: [79, 47]
Generated Node #0,2,1: 77:[79, 47] Operation: 61-14=47
Exploring Operation: 79-61=18, Resulting Numbers: [14, 18]
Generated Node #0,2,2: 77:[14, 18] Operation: 79-61=18
Exploring Operation: 79-14=65, Resulting Numbers: [61, 65]
Generated Node #0,2,3: 77:[61, 65] Operation: 79-14=65
Exploring Operation: 61+14=75, Resulting Numbers: [79, 75]
Generated Node #0,2,4: 77:[79, 75] Operation: 61+14=75
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 77:[79, 75], Operations: ['50-36=14', '61+14=75']
Exploring Operation: 79+75=154, Resulting Numbers: [154]
154,77 unequal: No Solution
Exploring Operation: 79*75=5925, Resulting Numbers: [5925]
5925,77 unequal: No Solution
Exploring Operation: 79-75=4, Resulting Numbers: [4]
4,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 77:[14, 18], Operations: ['50-36=14', '79-61=18']
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,77 unequal: No Solution
Exploring Operation: 14*18=252, Resulting Numbers: [252]
252,77 unequal: No Solution
Exploring Operation: 14+18=32, Resulting Numbers: [32]
32,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 77:[61, 65], Operations: ['50-36=14', '79-14=65']
Exploring Operation: 65-61=4, Resulting Numbers: [4]
4,77 unequal: No Solution
Exploring Operation: 61+65=126, Resulting Numbers: [126]
126,77 unequal: No Solution
Exploring Operation: 61*65=3965, Resulting Numbers: [3965]
3965,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 77:[61, 93], Operations: ['50-36=14', '79+14=93']
Exploring Operation: 61*93=5673, Resulting Numbers: [5673]
5673,77 unequal: No Solution
Exploring Operation: 61+93=154, Resulting Numbers: [154]
154,77 unequal: No Solution
Exploring Operation: 93-61=32, Resulting Numbers: [32]
32,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 77:[79, 47], Operations: ['50-36=14', '61-14=47']
Exploring Operation: 79-47=32, Resulting Numbers: [32]
32,77 unequal: No Solution
Exploring Operation: 79*47=3713, Resulting Numbers: [3713]
3713,77 unequal: No Solution
Exploring Operation: 79+47=126, Resulting Numbers: [126]
126,77 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: 77:[61, 79, 86], Operations: ['36+50=86']
Exploring Operation: 79-61=18, Resulting Numbers: [86, 18]
Generated Node #0,3,0: 77:[86, 18] Operation: 79-61=18
Exploring Operation: 61+86=147, Resulting Numbers: [79, 147]
Generated Node #0,3,1: 77:[79, 147] Operation: 61+86=147
Exploring Operation: 86-61=25, Resulting Numbers: [79, 25]
Generated Node #0,3,2: 77:[79, 25] Operation: 86-61=25
Exploring Operation: 61+79=140, Resulting Numbers: [86, 140]
Generated Node #0,3,3: 77:[86, 140] Operation: 61+79=140
Exploring Operation: 86-79=7, Resulting Numbers: [61, 7]
Generated Node #0,3,4: 77:[61, 7] Operation: 86-79=7
Moving to Node #0,1
Current State: 77:[36, 79, 11], Operations: ['61-50=11']
Exploring Operation: 36+79=115, Resulting Numbers: [11, 115]
Generated Node #0,1,0: 77:[11, 115] Operation: 36+79=115
Exploring Operation: 79-36=43, Resulting Numbers: [11, 43]
Generated Node #0,1,1: 77:[11, 43] Operation: 79-36=43
Exploring Operation: 36+11=47, Resulting Numbers: [79, 47]
Generated Node #0,1,2: 77:[79, 47] Operation: 36+11=47
Exploring Operation: 79-11=68, Resulting Numbers: [36, 68]
Generated Node #0,1,3: 77:[36, 68] Operation: 79-11=68
Exploring Operation: 36-11=25, Resulting Numbers: [79, 25]
Generated Node #0,1,4: 77:[79, 25] Operation: 36-11=25
Moving to Node #0,4
Current State: 77:[50, 79, 25], Operations: ['61-36=25']
Exploring Operation: 79-25=54, Resulting Numbers: [50, 54]
Generated Node #0,4,0: 77:[50, 54] Operation: 79-25=54
Exploring Operation: 50/25=2, Resulting Numbers: [79, 2]
Generated Node #0,4,1: 77:[79, 2] Operation: 50/25=2
Exploring Operation: 50+25=75, Resulting Numbers: [79, 75]
Generated Node #0,4,2: 77:[79, 75] Operation: 50+25=75
Exploring Operation: 79-50=29, Resulting Numbers: [25, 29]
Generated Node #0,4,3: 77:[25, 29] Operation: 79-50=29
Exploring Operation: 50-25=25, Resulting Numbers: [79, 25]
Generated Node #0,4,4: 77:[79, 25] Operation: 50-25=25
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 77:[79, 75], Operations: ['61-36=25', '50+25=75']
Exploring Operation: 79*75=5925, Resulting Numbers: [5925]
5925,77 unequal: No Solution
Exploring Operation: 79-75=4, Resulting Numbers: [4]
4,77 unequal: No Solution
Exploring Operation: 79+75=154, Resulting Numbers: [154]
154,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 77:[79, 2], Operations: ['61-36=25', '50/25=2']
Exploring Operation: 79*2=158, Resulting Numbers: [158]
158,77 unequal: No Solution
Exploring Operation: 79+2=81, Resulting Numbers: [81]
81,77 unequal: No Solution
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[36, 61, 50, 79], Operations: []
Exploring Operation: 61-36=25, Resulting Numbers: [50, 79, 25]
Generated Node #0,4: 77:[50, 79, 25] Operation: 61-36=25
Moving to Node #0,4
Current State: 77:[50, 79, 25], Operations: ['61-36=25']
Exploring Operation: 50/25=2, Resulting Numbers: [79, 2]
Generated Node #0,4,1: 77:[79, 2] Operation: 50/25=2
Moving to Node #0,4,1
Current State: 77:[79, 2], Operations: ['61-36=25', '50/25=2']
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.956597 | hs_5 | sum_heuristic |
[
3,
78,
61,
39
] | 48 | [
"78/3=26",
"61-39=22",
"26+22=48"
] | Current State: 48:[3, 78, 61, 39], Operations: []
Exploring Operation: 78/3=26, Resulting Numbers: [61, 39, 26]
Generated Node #2: [61, 39, 26] from Operation: 78/3=26
Current State: 48:[61, 39, 26], Operations: ['78/3=26']
Exploring Operation: 61-39=22, Resulting Numbers: [26, 22]
Generated Node #3: [26, 22] from Operation: 61-39=22
Current State: 48:[26, 22], Operations: ['78/3=26', '61-39=22']
Exploring Operation: 26+22=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[3, 78, 61, 39], Operations: []
Exploring Operation: 78-61=17, Resulting Numbers: [3, 39, 17]
Generated Node #0,0: 48:[3, 39, 17] Operation: 78-61=17
Exploring Operation: 78-39=39, Resulting Numbers: [3, 61, 39]
Generated Node #0,1: 48:[3, 61, 39] Operation: 78-39=39
Exploring Operation: 78/39=2, Resulting Numbers: [3, 61, 2]
Generated Node #0,2: 48:[3, 61, 2] Operation: 78/39=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[3, 39, 17], Operations: ['78-61=17']
Exploring Operation: 3+39=42, Resulting Numbers: [17, 42]
Generated Node #0,0,0: 48:[17, 42] Operation: 3+39=42
Exploring Operation: 39/3=13, Resulting Numbers: [17, 13]
Generated Node #0,0,1: 48:[17, 13] Operation: 39/3=13
Exploring Operation: 39-17=22, Resulting Numbers: [3, 22]
Generated Node #0,0,2: 48:[3, 22] Operation: 39-17=22
Moving to Node #0,0,1
Current State: 48:[17, 13], Operations: ['78-61=17', '39/3=13']
Exploring Operation: 17*13=221, Resulting Numbers: [221]
221,48 unequal: No Solution
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,48 unequal: No Solution
Exploring Operation: 17+13=30, Resulting Numbers: [30]
30,48 unequal: No Solution
Moving to Node #0,0,2
Current State: 48:[3, 22], Operations: ['78-61=17', '39-17=22']
Exploring Operation: 3+22=25, Resulting Numbers: [25]
25,48 unequal: No Solution
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,48 unequal: No Solution
Exploring Operation: 3*22=66, Resulting Numbers: [66]
66,48 unequal: No Solution
Moving to Node #0,0,0
Current State: 48:[17, 42], Operations: ['78-61=17', '3+39=42']
Exploring Operation: 17+42=59, Resulting Numbers: [59]
59,48 unequal: No Solution
Exploring Operation: 42-17=25, Resulting Numbers: [25]
25,48 unequal: No Solution
Exploring Operation: 17*42=714, Resulting Numbers: [714]
714,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 48:[3, 61, 2], Operations: ['78/39=2']
Exploring Operation: 61-2=59, Resulting Numbers: [3, 59]
Generated Node #0,2,0: 48:[3, 59] Operation: 61-2=59
Exploring Operation: 3*2=6, Resulting Numbers: [61, 6]
Generated Node #0,2,1: 48:[61, 6] Operation: 3*2=6
Exploring Operation: 61-3=58, Resulting Numbers: [2, 58]
Generated Node #0,2,2: 48:[2, 58] Operation: 61-3=58
Moving to Node #0,2,2
Current State: 48:[2, 58], Operations: ['78/39=2', '61-3=58']
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,48 unequal: No Solution
Exploring Operation: 2+58=60, Resulting Numbers: [60]
60,48 unequal: No Solution
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,48 unequal: No Solution
Moving to Node #0,2,0
Current State: 48:[3, 59], Operations: ['78/39=2', '61-2=59']
Exploring Operation: 3*59=177, Resulting Numbers: [177]
177,48 unequal: No Solution
Exploring Operation: 3+59=62, Resulting Numbers: [62]
62,48 unequal: No Solution
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,48 unequal: No Solution
Moving to Node #0,2,1
Current State: 48:[61, 6], Operations: ['78/39=2', '3*2=6']
Exploring Operation: 61*6=366, Resulting Numbers: [366]
366,48 unequal: No Solution
Exploring Operation: 61+6=67, Resulting Numbers: [67]
67,48 unequal: No Solution
Exploring Operation: 61-6=55, Resulting Numbers: [55]
55,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 48:[3, 61, 39], Operations: ['78-39=39']
Exploring Operation: 61-3=58, Resulting Numbers: [39, 58]
Generated Node #0,1,0: 48:[39, 58] Operation: 61-3=58
Exploring Operation: 61-39=22, Resulting Numbers: [3, 22]
Generated Node #0,1,1: 48:[3, 22] Operation: 61-39=22
Exploring Operation: 39/3=13, Resulting Numbers: [61, 13]
Generated Node #0,1,2: 48:[61, 13] Operation: 39/3=13
Moving to Node #0,1,1
Current State: 48:[3, 22], Operations: ['78-39=39', '61-39=22']
Exploring Operation: 3+22=25, Resulting Numbers: [25]
25,48 unequal: No Solution
Exploring Operation: 3*22=66, Resulting Numbers: [66]
66,48 unequal: No Solution
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,48 unequal: No Solution
Moving to Node #0,1,2
Current State: 48:[61, 13], Operations: ['78-39=39', '39/3=13']
Exploring Operation: 61-13=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[3, 78, 61, 39], Operations: []
Exploring Operation: 78-39=39, Resulting Numbers: [3, 61, 39]
Generated Node #0,1: 48:[3, 61, 39] Operation: 78-39=39
Moving to Node #0,1
Current State: 48:[3, 61, 39], Operations: ['78-39=39']
Exploring Operation: 39/3=13, Resulting Numbers: [61, 13]
Generated Node #0,1,2: 48:[61, 13] Operation: 39/3=13
Moving to Node #0,1,2
Current State: 48:[61, 13], Operations: ['78-39=39', '39/3=13']
Exploring Operation: 61-13=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_3 | sum_heuristic |
[
40,
52,
18,
86
] | 45 | [
"40+86=126",
"126/18=7",
"52-7=45"
] | Current State: 45:[40, 52, 18, 86], Operations: []
Exploring Operation: 40+86=126, Resulting Numbers: [52, 18, 126]
Generated Node #2: [52, 18, 126] from Operation: 40+86=126
Current State: 45:[52, 18, 126], Operations: ['40+86=126']
Exploring Operation: 126/18=7, Resulting Numbers: [52, 7]
Generated Node #3: [52, 7] from Operation: 126/18=7
Current State: 45:[52, 7], Operations: ['40+86=126', '126/18=7']
Exploring Operation: 52-7=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[40, 52, 18, 86], Operations: []
Exploring Operation: 86-40=46, Resulting Numbers: [52, 18, 46]
Generated Node #0,0: 45:[52, 18, 46] Operation: 86-40=46
Moving to Node #0,0
Current State: 45:[52, 18, 46], Operations: ['86-40=46']
Exploring Operation: 52-46=6, Resulting Numbers: [18, 6]
Generated Node #0,0,0: 45:[18, 6] Operation: 52-46=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 45:[18, 6], Operations: ['86-40=46', '52-46=6']
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,45 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 |
[
19,
20,
60,
14
] | 61 | [
"60/20=3",
"14*3=42",
"19+42=61"
] | Current State: 61:[19, 20, 60, 14], Operations: []
Exploring Operation: 60/20=3, Resulting Numbers: [19, 14, 3]
Generated Node #2: [19, 14, 3] from Operation: 60/20=3
Current State: 61:[19, 14, 3], Operations: ['60/20=3']
Exploring Operation: 14*3=42, Resulting Numbers: [19, 42]
Generated Node #3: [19, 42] from Operation: 14*3=42
Current State: 61:[19, 42], Operations: ['60/20=3', '14*3=42']
Exploring Operation: 19+42=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[19, 20, 60, 14], Operations: []
Exploring Operation: 19+14=33, Resulting Numbers: [20, 60, 33]
Generated Node #0,0: 61:[20, 60, 33] Operation: 19+14=33
Exploring Operation: 19+20=39, Resulting Numbers: [60, 14, 39]
Generated Node #0,1: 61:[60, 14, 39] Operation: 19+20=39
Moving to Node #0,0
Current State: 61:[20, 60, 33], Operations: ['19+14=33']
Exploring Operation: 20+60=80, Resulting Numbers: [33, 80]
Generated Node #0,0,0: 61:[33, 80] Operation: 20+60=80
Exploring Operation: 20+33=53, Resulting Numbers: [60, 53]
Generated Node #0,0,1: 61:[60, 53] Operation: 20+33=53
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 61:[60, 53], Operations: ['19+14=33', '20+33=53']
Exploring Operation: 60+53=113, Resulting Numbers: [113]
113,61 unequal: No Solution
Exploring Operation: 60-53=7, Resulting Numbers: [7]
7,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[33, 80], Operations: ['19+14=33', '20+60=80']
Exploring Operation: 80-33=47, Resulting Numbers: [47]
47,61 unequal: No Solution
Exploring Operation: 33+80=113, Resulting Numbers: [113]
113,61 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: 61:[60, 14, 39], Operations: ['19+20=39']
Exploring Operation: 60+14=74, Resulting Numbers: [39, 74]
Generated Node #0,1,0: 61:[39, 74] Operation: 60+14=74
Exploring Operation: 14+39=53, Resulting Numbers: [60, 53]
Generated Node #0,1,1: 61:[60, 53] Operation: 14+39=53
Moving to Node #0,1,1
Current State: 61:[60, 53], Operations: ['19+20=39', '14+39=53']
Exploring Operation: 60-53=7, Resulting Numbers: [7]
7,61 unequal: No Solution
Exploring Operation: 60+53=113, Resulting Numbers: [113]
113,61 unequal: No Solution
Moving to Node #0,1,0
Current State: 61:[39, 74], Operations: ['19+20=39', '60+14=74']
Exploring Operation: 39+74=113, Resulting Numbers: [113]
113,61 unequal: No Solution
Exploring Operation: 74-39=35, Resulting Numbers: [35]
35,61 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
95,
8,
62,
42
] | 17 | [
"95-8=87",
"62+42=104",
"104-87=17"
] | Current State: 17:[95, 8, 62, 42], Operations: []
Exploring Operation: 95-8=87, Resulting Numbers: [62, 42, 87]
Generated Node #2: [62, 42, 87] from Operation: 95-8=87
Current State: 17:[62, 42, 87], Operations: ['95-8=87']
Exploring Operation: 62+42=104, Resulting Numbers: [87, 104]
Generated Node #3: [87, 104] from Operation: 62+42=104
Current State: 17:[87, 104], Operations: ['95-8=87', '62+42=104']
Exploring Operation: 104-87=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[95, 8, 62, 42], Operations: []
Exploring Operation: 95-62=33, Resulting Numbers: [8, 42, 33]
Generated Node #0,0: 17:[8, 42, 33] Operation: 95-62=33
Moving to Node #0,0
Current State: 17:[8, 42, 33], Operations: ['95-62=33']
Exploring Operation: 42-33=9, Resulting Numbers: [8, 9]
Generated Node #0,0,0: 17:[8, 9] Operation: 42-33=9
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 17:[8, 9], Operations: ['95-62=33', '42-33=9']
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[95, 8, 62, 42], Operations: []
Exploring Operation: 95-62=33, Resulting Numbers: [8, 42, 33]
Generated Node #0,0: 17:[8, 42, 33] Operation: 95-62=33
Moving to Node #0,0
Current State: 17:[8, 42, 33], Operations: ['95-62=33']
Exploring Operation: 42-33=9, Resulting Numbers: [8, 9]
Generated Node #0,0,0: 17:[8, 9] Operation: 42-33=9
Moving to Node #0,0,0
Current State: 17:[8, 9], Operations: ['95-62=33', '42-33=9']
Exploring Operation: 8+9=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
93,
85,
94,
18
] | 95 | [
"94-85=9",
"18/9=2",
"93+2=95"
] | Current State: 95:[93, 85, 94, 18], Operations: []
Exploring Operation: 94-85=9, Resulting Numbers: [93, 18, 9]
Generated Node #2: [93, 18, 9] from Operation: 94-85=9
Current State: 95:[93, 18, 9], Operations: ['94-85=9']
Exploring Operation: 18/9=2, Resulting Numbers: [93, 2]
Generated Node #3: [93, 2] from Operation: 18/9=2
Current State: 95:[93, 2], Operations: ['94-85=9', '18/9=2']
Exploring Operation: 93+2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[93, 85, 94, 18], Operations: []
Exploring Operation: 94-85=9, Resulting Numbers: [93, 18, 9]
Generated Node #0,0: 95:[93, 18, 9] Operation: 94-85=9
Exploring Operation: 85+18=103, Resulting Numbers: [93, 94, 103]
Generated Node #0,1: 95:[93, 94, 103] Operation: 85+18=103
Exploring Operation: 93-85=8, Resulting Numbers: [94, 18, 8]
Generated Node #0,2: 95:[94, 18, 8] Operation: 93-85=8
Exploring Operation: 94-93=1, Resulting Numbers: [85, 18, 1]
Generated Node #0,3: 95:[85, 18, 1] Operation: 94-93=1
Moving to Node #0,2
Current State: 95:[94, 18, 8], Operations: ['93-85=8']
Exploring Operation: 94+8=102, Resulting Numbers: [18, 102]
Generated Node #0,2,0: 95:[18, 102] Operation: 94+8=102
Exploring Operation: 94-8=86, Resulting Numbers: [18, 86]
Generated Node #0,2,1: 95:[18, 86] Operation: 94-8=86
Exploring Operation: 18+8=26, Resulting Numbers: [94, 26]
Generated Node #0,2,2: 95:[94, 26] Operation: 18+8=26
Exploring Operation: 18-8=10, Resulting Numbers: [94, 10]
Generated Node #0,2,3: 95:[94, 10] Operation: 18-8=10
Moving to Node #0,0
Current State: 95:[93, 18, 9], Operations: ['94-85=9']
Exploring Operation: 18-9=9, Resulting Numbers: [93, 9]
Generated Node #0,0,0: 95:[93, 9] Operation: 18-9=9
Exploring Operation: 93+9=102, Resulting Numbers: [18, 102]
Generated Node #0,0,1: 95:[18, 102] Operation: 93+9=102
Exploring Operation: 18/9=2, Resulting Numbers: [93, 2]
Generated Node #0,0,2: 95:[93, 2] Operation: 18/9=2
Exploring Operation: 18+9=27, Resulting Numbers: [93, 27]
Generated Node #0,0,3: 95:[93, 27] Operation: 18+9=27
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 95:[93, 2], Operations: ['94-85=9', '18/9=2']
Exploring Operation: 93*2=186, Resulting Numbers: [186]
186,95 unequal: No Solution
Exploring Operation: 93+2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[93, 85, 94, 18], Operations: []
Exploring Operation: 94-85=9, Resulting Numbers: [93, 18, 9]
Generated Node #0,0: 95:[93, 18, 9] Operation: 94-85=9
Moving to Node #0,0
Current State: 95:[93, 18, 9], Operations: ['94-85=9']
Exploring Operation: 18/9=2, Resulting Numbers: [93, 2]
Generated Node #0,0,2: 95:[93, 2] Operation: 18/9=2
Moving to Node #0,0,2
Current State: 95:[93, 2], Operations: ['94-85=9', '18/9=2']
Exploring Operation: 93+2=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
64,
97,
49,
47
] | 35 | [
"97-64=33",
"49-47=2",
"33+2=35"
] | Current State: 35:[64, 97, 49, 47], Operations: []
Exploring Operation: 97-64=33, Resulting Numbers: [49, 47, 33]
Generated Node #2: [49, 47, 33] from Operation: 97-64=33
Current State: 35:[49, 47, 33], Operations: ['97-64=33']
Exploring Operation: 49-47=2, Resulting Numbers: [33, 2]
Generated Node #3: [33, 2] from Operation: 49-47=2
Current State: 35:[33, 2], Operations: ['97-64=33', '49-47=2']
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[64, 97, 49, 47], Operations: []
Exploring Operation: 97-64=33, Resulting Numbers: [49, 47, 33]
Generated Node #0,0: 35:[49, 47, 33] Operation: 97-64=33
Exploring Operation: 64-47=17, Resulting Numbers: [97, 49, 17]
Generated Node #0,1: 35:[97, 49, 17] Operation: 64-47=17
Exploring Operation: 64-49=15, Resulting Numbers: [97, 47, 15]
Generated Node #0,2: 35:[97, 47, 15] Operation: 64-49=15
Exploring Operation: 97-49=48, Resulting Numbers: [64, 47, 48]
Generated Node #0,3: 35:[64, 47, 48] Operation: 97-49=48
Exploring Operation: 97-47=50, Resulting Numbers: [64, 49, 50]
Generated Node #0,4: 35:[64, 49, 50] Operation: 97-47=50
Moving to Node #0,0
Current State: 35:[49, 47, 33], Operations: ['97-64=33']
Exploring Operation: 49+33=82, Resulting Numbers: [47, 82]
Generated Node #0,0,0: 35:[47, 82] Operation: 49+33=82
Exploring Operation: 47+33=80, Resulting Numbers: [49, 80]
Generated Node #0,0,1: 35:[49, 80] Operation: 47+33=80
Exploring Operation: 47-33=14, Resulting Numbers: [49, 14]
Generated Node #0,0,2: 35:[49, 14] Operation: 47-33=14
Exploring Operation: 49-47=2, Resulting Numbers: [33, 2]
Generated Node #0,0,3: 35:[33, 2] Operation: 49-47=2
Exploring Operation: 49-33=16, Resulting Numbers: [47, 16]
Generated Node #0,0,4: 35:[47, 16] Operation: 49-33=16
Moving to Node #0,3
Current State: 35:[64, 47, 48], Operations: ['97-49=48']
Exploring Operation: 48-47=1, Resulting Numbers: [64, 1]
Generated Node #0,3,0: 35:[64, 1] Operation: 48-47=1
Exploring Operation: 64+48=112, Resulting Numbers: [47, 112]
Generated Node #0,3,1: 35:[47, 112] Operation: 64+48=112
Exploring Operation: 64-48=16, Resulting Numbers: [47, 16]
Generated Node #0,3,2: 35:[47, 16] Operation: 64-48=16
Exploring Operation: 64+47=111, Resulting Numbers: [48, 111]
Generated Node #0,3,3: 35:[48, 111] Operation: 64+47=111
Exploring Operation: 64-47=17, Resulting Numbers: [48, 17]
Generated Node #0,3,4: 35:[48, 17] Operation: 64-47=17
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 35:[47, 16], Operations: ['97-49=48', '64-48=16']
Exploring Operation: 47-16=31, Resulting Numbers: [31]
31,35 unequal: No Solution
Exploring Operation: 47*16=752, Resulting Numbers: [752]
752,35 unequal: No Solution
Exploring Operation: 47+16=63, Resulting Numbers: [63]
63,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 35:[48, 17], Operations: ['97-49=48', '64-47=17']
Exploring Operation: 48+17=65, Resulting Numbers: [65]
65,35 unequal: No Solution
Exploring Operation: 48*17=816, Resulting Numbers: [816]
816,35 unequal: No Solution
Exploring Operation: 48-17=31, Resulting Numbers: [31]
31,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 35:[64, 1], Operations: ['97-49=48', '48-47=1']
Exploring Operation: 64+1=65, Resulting Numbers: [65]
65,35 unequal: No Solution
Exploring Operation: 64/1=64, Resulting Numbers: [64]
64,35 unequal: No Solution
Exploring Operation: 64*1=64, Resulting Numbers: [64]
64,35 unequal: No Solution
Exploring Operation: 64-1=63, Resulting Numbers: [63]
63,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 35:[47, 112], Operations: ['97-49=48', '64+48=112']
Exploring Operation: 112-47=65, Resulting Numbers: [65]
65,35 unequal: No Solution
Exploring Operation: 47+112=159, Resulting Numbers: [159]
159,35 unequal: No Solution
Exploring Operation: 47*112=5264, Resulting Numbers: [5264]
5264,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 35:[48, 111], Operations: ['97-49=48', '64+47=111']
Exploring Operation: 48*111=5328, Resulting Numbers: [5328]
5328,35 unequal: No Solution
Exploring Operation: 111-48=63, Resulting Numbers: [63]
63,35 unequal: No Solution
Exploring Operation: 48+111=159, Resulting Numbers: [159]
159,35 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: 35:[64, 49, 50], Operations: ['97-47=50']
Exploring Operation: 64+49=113, Resulting Numbers: [50, 113]
Generated Node #0,4,0: 35:[50, 113] Operation: 64+49=113
Exploring Operation: 64-49=15, Resulting Numbers: [50, 15]
Generated Node #0,4,1: 35:[50, 15] Operation: 64-49=15
Exploring Operation: 64-50=14, Resulting Numbers: [49, 14]
Generated Node #0,4,2: 35:[49, 14] Operation: 64-50=14
Exploring Operation: 50-49=1, Resulting Numbers: [64, 1]
Generated Node #0,4,3: 35:[64, 1] Operation: 50-49=1
Exploring Operation: 64+50=114, Resulting Numbers: [49, 114]
Generated Node #0,4,4: 35:[49, 114] Operation: 64+50=114
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 35:[49, 14], Operations: ['97-47=50', '64-50=14']
Exploring Operation: 49+14=63, Resulting Numbers: [63]
63,35 unequal: No Solution
Exploring Operation: 49-14=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[64, 97, 49, 47], Operations: []
Exploring Operation: 97-47=50, Resulting Numbers: [64, 49, 50]
Generated Node #0,4: 35:[64, 49, 50] Operation: 97-47=50
Moving to Node #0,4
Current State: 35:[64, 49, 50], Operations: ['97-47=50']
Exploring Operation: 64-50=14, Resulting Numbers: [49, 14]
Generated Node #0,4,2: 35:[49, 14] Operation: 64-50=14
Moving to Node #0,4,2
Current State: 35:[49, 14], Operations: ['97-47=50', '64-50=14']
Exploring Operation: 49-14=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.963542 | hs_5 | sum_heuristic |
[
65,
51,
4,
9
] | 38 | [
"65+51=116",
"116/4=29",
"9+29=38"
] | Current State: 38:[65, 51, 4, 9], Operations: []
Exploring Operation: 65+51=116, Resulting Numbers: [4, 9, 116]
Generated Node #2: [4, 9, 116] from Operation: 65+51=116
Current State: 38:[4, 9, 116], Operations: ['65+51=116']
Exploring Operation: 116/4=29, Resulting Numbers: [9, 29]
Generated Node #3: [9, 29] from Operation: 116/4=29
Current State: 38:[9, 29], Operations: ['65+51=116', '116/4=29']
Exploring Operation: 9+29=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[65, 51, 4, 9], Operations: []
Exploring Operation: 51-9=42, Resulting Numbers: [65, 4, 42]
Generated Node #0,0: 38:[65, 4, 42] Operation: 51-9=42
Exploring Operation: 65-51=14, Resulting Numbers: [4, 9, 14]
Generated Node #0,1: 38:[4, 9, 14] Operation: 65-51=14
Exploring Operation: 4*9=36, Resulting Numbers: [65, 51, 36]
Generated Node #0,2: 38:[65, 51, 36] Operation: 4*9=36
Exploring Operation: 65-4=61, Resulting Numbers: [51, 9, 61]
Generated Node #0,3: 38:[51, 9, 61] Operation: 65-4=61
Exploring Operation: 65-9=56, Resulting Numbers: [51, 4, 56]
Generated Node #0,4: 38:[51, 4, 56] Operation: 65-9=56
Moving to Node #0,1
Current State: 38:[4, 9, 14], Operations: ['65-51=14']
Exploring Operation: 9+14=23, Resulting Numbers: [4, 23]
Generated Node #0,1,0: 38:[4, 23] Operation: 9+14=23
Exploring Operation: 4*9=36, Resulting Numbers: [14, 36]
Generated Node #0,1,1: 38:[14, 36] Operation: 4*9=36
Exploring Operation: 9-4=5, Resulting Numbers: [14, 5]
Generated Node #0,1,2: 38:[14, 5] Operation: 9-4=5
Exploring Operation: 14-9=5, Resulting Numbers: [4, 5]
Generated Node #0,1,3: 38:[4, 5] Operation: 14-9=5
Exploring Operation: 4+14=18, Resulting Numbers: [9, 18]
Generated Node #0,1,4: 38:[9, 18] Operation: 4+14=18
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 38:[4, 5], Operations: ['65-51=14', '14-9=5']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,38 unequal: No Solution
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,38 unequal: No Solution
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,38 unequal: No Solution
No solution 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: 38:[4, 23], Operations: ['65-51=14', '9+14=23']
Exploring Operation: 4+23=27, Resulting Numbers: [27]
27,38 unequal: No Solution
Exploring Operation: 4*23=92, Resulting Numbers: [92]
92,38 unequal: No Solution
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,38 unequal: No Solution
No solution 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: 38:[14, 36], Operations: ['65-51=14', '4*9=36']
Exploring Operation: 36-14=22, Resulting Numbers: [22]
22,38 unequal: No Solution
Exploring Operation: 14+36=50, Resulting Numbers: [50]
50,38 unequal: No Solution
Exploring Operation: 14*36=504, Resulting Numbers: [504]
504,38 unequal: No Solution
No solution 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: 38:[14, 5], Operations: ['65-51=14', '9-4=5']
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,38 unequal: No Solution
Exploring Operation: 14+5=19, Resulting Numbers: [19]
19,38 unequal: No Solution
Exploring Operation: 14*5=70, Resulting Numbers: [70]
70,38 unequal: No Solution
No solution 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: 38:[9, 18], Operations: ['65-51=14', '4+14=18']
Exploring Operation: 9+18=27, Resulting Numbers: [27]
27,38 unequal: No Solution
Exploring Operation: 9*18=162, Resulting Numbers: [162]
162,38 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,38 unequal: No Solution
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,38 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: 38:[51, 4, 56], Operations: ['65-9=56']
Exploring Operation: 51+4=55, Resulting Numbers: [56, 55]
Generated Node #0,4,0: 38:[56, 55] Operation: 51+4=55
Exploring Operation: 56-4=52, Resulting Numbers: [51, 52]
Generated Node #0,4,1: 38:[51, 52] Operation: 56-4=52
Exploring Operation: 56-51=5, Resulting Numbers: [4, 5]
Generated Node #0,4,2: 38:[4, 5] Operation: 56-51=5
Exploring Operation: 51-4=47, Resulting Numbers: [56, 47]
Generated Node #0,4,3: 38:[56, 47] Operation: 51-4=47
Exploring Operation: 56/4=14, Resulting Numbers: [51, 14]
Generated Node #0,4,4: 38:[51, 14] Operation: 56/4=14
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 38:[4, 5], Operations: ['65-9=56', '56-51=5']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,38 unequal: No Solution
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,38 unequal: No Solution
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,38 unequal: No Solution
No 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: 38:[51, 14], Operations: ['65-9=56', '56/4=14']
Exploring Operation: 51-14=37, Resulting Numbers: [37]
37,38 unequal: No Solution
Exploring Operation: 51+14=65, Resulting Numbers: [65]
65,38 unequal: No Solution
Exploring Operation: 51*14=714, Resulting Numbers: [714]
714,38 unequal: No Solution
No 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: 38:[51, 52], Operations: ['65-9=56', '56-4=52']
Exploring Operation: 52-51=1, Resulting Numbers: [1]
1,38 unequal: No Solution
Exploring Operation: 51*52=2652, Resulting Numbers: [2652]
2652,38 unequal: No Solution
Exploring Operation: 51+52=103, Resulting Numbers: [103]
103,38 unequal: No Solution
No 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: 38:[56, 47], Operations: ['65-9=56', '51-4=47']
Exploring Operation: 56*47=2632, Resulting Numbers: [2632]
2632,38 unequal: No Solution
Exploring Operation: 56-47=9, Resulting Numbers: [9]
9,38 unequal: No Solution
Exploring Operation: 56+47=103, Resulting Numbers: [103]
103,38 unequal: No Solution
No 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: 38:[56, 55], Operations: ['65-9=56', '51+4=55']
Exploring Operation: 56*55=3080, Resulting Numbers: [3080]
3080,38 unequal: No Solution
Exploring Operation: 56+55=111, Resulting Numbers: [111]
111,38 unequal: No Solution
Exploring Operation: 56-55=1, Resulting Numbers: [1]
1,38 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: 38:[65, 4, 42], Operations: ['51-9=42']
Exploring Operation: 65-4=61, Resulting Numbers: [42, 61]
Generated Node #0,0,0: 38:[42, 61] Operation: 65-4=61
Exploring Operation: 65-42=23, Resulting Numbers: [4, 23]
Generated Node #0,0,1: 38:[4, 23] Operation: 65-42=23
Exploring Operation: 4+42=46, Resulting Numbers: [65, 46]
Generated Node #0,0,2: 38:[65, 46] Operation: 4+42=46
Exploring Operation: 65+4=69, Resulting Numbers: [42, 69]
Generated Node #0,0,3: 38:[42, 69] Operation: 65+4=69
Exploring Operation: 42-4=38, Resulting Numbers: [65, 38]
Generated Node #0,0,4: 38:[65, 38] Operation: 42-4=38
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 38:[4, 23], Operations: ['51-9=42', '65-42=23']
Exploring Operation: 4+23=27, Resulting Numbers: [27]
27,38 unequal: No Solution
Exploring Operation: 4*23=92, Resulting Numbers: [92]
92,38 unequal: No Solution
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,38 unequal: No Solution
No 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: 38:[42, 61], Operations: ['51-9=42', '65-4=61']
Exploring Operation: 42*61=2562, Resulting Numbers: [2562]
2562,38 unequal: No Solution
Exploring Operation: 61-42=19, Resulting Numbers: [19]
19,38 unequal: No Solution
Exploring Operation: 42+61=103, Resulting Numbers: [103]
103,38 unequal: No Solution
No 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: 38:[65, 38], Operations: ['51-9=42', '42-4=38']
Exploring Operation: 65*38=2470, Resulting Numbers: [2470]
2470,38 unequal: No Solution
Exploring Operation: 65+38=103, Resulting Numbers: [103]
103,38 unequal: No Solution
Exploring Operation: 65-38=27, Resulting Numbers: [27]
27,38 unequal: No Solution
No 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: 38:[65, 46], Operations: ['51-9=42', '4+42=46']
Exploring Operation: 65-46=19, Resulting Numbers: [19]
19,38 unequal: No Solution
Exploring Operation: 65*46=2990, Resulting Numbers: [2990]
2990,38 unequal: No Solution
Exploring Operation: 65+46=111, Resulting Numbers: [111]
111,38 unequal: No Solution
No 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: 38:[42, 69], Operations: ['51-9=42', '65+4=69']
Exploring Operation: 69-42=27, Resulting Numbers: [27]
27,38 unequal: No Solution
Exploring Operation: 42*69=2898, Resulting Numbers: [2898]
2898,38 unequal: No Solution
Exploring Operation: 42+69=111, Resulting Numbers: [111]
111,38 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: 38:[65, 51, 36], Operations: ['4*9=36']
Exploring Operation: 51+36=87, Resulting Numbers: [65, 87]
Generated Node #0,2,0: 38:[65, 87] Operation: 51+36=87
Exploring Operation: 65+36=101, Resulting Numbers: [51, 101]
Generated Node #0,2,1: 38:[51, 101] Operation: 65+36=101
Exploring Operation: 51-36=15, Resulting Numbers: [65, 15]
Generated Node #0,2,2: 38:[65, 15] Operation: 51-36=15
Exploring Operation: 65-36=29, Resulting Numbers: [51, 29]
Generated Node #0,2,3: 38:[51, 29] Operation: 65-36=29
Exploring Operation: 65-51=14, Resulting Numbers: [36, 14]
Generated Node #0,2,4: 38:[36, 14] Operation: 65-51=14
Moving to Node #0,3
Current State: 38:[51, 9, 61], Operations: ['65-4=61']
Exploring Operation: 61-9=52, Resulting Numbers: [51, 52]
Generated Node #0,3,0: 38:[51, 52] Operation: 61-9=52
Exploring Operation: 51-9=42, Resulting Numbers: [61, 42]
Generated Node #0,3,1: 38:[61, 42] Operation: 51-9=42
Exploring Operation: 61-51=10, Resulting Numbers: [9, 10]
Generated Node #0,3,2: 38:[9, 10] Operation: 61-51=10
Exploring Operation: 51+9=60, Resulting Numbers: [61, 60]
Generated Node #0,3,3: 38:[61, 60] Operation: 51+9=60
Exploring Operation: 9+61=70, Resulting Numbers: [51, 70]
Generated Node #0,3,4: 38:[51, 70] Operation: 9+61=70
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 38:[9, 10], Operations: ['65-4=61', '61-51=10']
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,38 unequal: No Solution
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,38 unequal: No Solution
Exploring Operation: 9+10=19, Resulting Numbers: [19]
19,38 unequal: No Solution
No 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: 38:[51, 52], Operations: ['65-4=61', '61-9=52']
Exploring Operation: 51+52=103, Resulting Numbers: [103]
103,38 unequal: No Solution
Exploring Operation: 51*52=2652, Resulting Numbers: [2652]
2652,38 unequal: No Solution
Exploring Operation: 52-51=1, Resulting Numbers: [1]
1,38 unequal: No Solution
No 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: 38:[61, 42], Operations: ['65-4=61', '51-9=42']
Exploring Operation: 61+42=103, Resulting Numbers: [103]
103,38 unequal: No Solution
Exploring Operation: 61-42=19, Resulting Numbers: [19]
19,38 unequal: No Solution
Exploring Operation: 61*42=2562, Resulting Numbers: [2562]
2562,38 unequal: No Solution
No 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: 38:[61, 60], Operations: ['65-4=61', '51+9=60']
Exploring Operation: 61-60=1, Resulting Numbers: [1]
1,38 unequal: No Solution
Exploring Operation: 61+60=121, Resulting Numbers: [121]
121,38 unequal: No Solution
Exploring Operation: 61*60=3660, Resulting Numbers: [3660]
3660,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 38:[51, 70], Operations: ['65-4=61', '9+61=70']
Exploring Operation: 70-51=19, Resulting Numbers: [19]
19,38 unequal: No Solution
Exploring Operation: 51*70=3570, Resulting Numbers: [3570]
3570,38 unequal: No Solution
Exploring Operation: 51+70=121, Resulting Numbers: [121]
121,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,4
Current State: 38:[36, 14], Operations: ['4*9=36', '65-51=14']
Exploring Operation: 36+14=50, Resulting Numbers: [50]
50,38 unequal: No Solution
Exploring Operation: 36-14=22, Resulting Numbers: [22]
22,38 unequal: No Solution
Exploring Operation: 36*14=504, Resulting Numbers: [504]
504,38 unequal: No Solution
Moving to Node #0,2,3
Current State: 38:[51, 29], Operations: ['4*9=36', '65-36=29']
Exploring Operation: 51*29=1479, Resulting Numbers: [1479]
1479,38 unequal: No Solution
Exploring Operation: 51-29=22, Resulting Numbers: [22]
22,38 unequal: No Solution
Exploring Operation: 51+29=80, Resulting Numbers: [80]
80,38 unequal: No Solution
Moving to Node #0,2,2
Current State: 38:[65, 15], Operations: ['4*9=36', '51-36=15']
Exploring Operation: 65*15=975, Resulting Numbers: [975]
975,38 unequal: No Solution
Exploring Operation: 65-15=50, Resulting Numbers: [50]
50,38 unequal: No Solution
Exploring Operation: 65+15=80, Resulting Numbers: [80]
80,38 unequal: No Solution
Moving to Node #0,2,0
Current State: 38:[65, 87], Operations: ['4*9=36', '51+36=87']
Exploring Operation: 65+87=152, Resulting Numbers: [152]
152,38 unequal: No Solution
Exploring Operation: 65*87=5655, Resulting Numbers: [5655]
5655,38 unequal: No Solution
Exploring Operation: 87-65=22, Resulting Numbers: [22]
22,38 unequal: No Solution
Moving to Node #0,2,1
Current State: 38:[51, 101], Operations: ['4*9=36', '65+36=101']
Exploring Operation: 51+101=152, Resulting Numbers: [152]
152,38 unequal: No Solution
Exploring Operation: 51*101=5151, Resulting Numbers: [5151]
5151,38 unequal: No Solution
Exploring Operation: 101-51=50, Resulting Numbers: [50]
50,38 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
79,
97,
36,
72
] | 88 | [
"79+97=176",
"72/36=2",
"176/2=88"
] | Current State: 88:[79, 97, 36, 72], Operations: []
Exploring Operation: 79+97=176, Resulting Numbers: [36, 72, 176]
Generated Node #2: [36, 72, 176] from Operation: 79+97=176
Current State: 88:[36, 72, 176], Operations: ['79+97=176']
Exploring Operation: 72/36=2, Resulting Numbers: [176, 2]
Generated Node #3: [176, 2] from Operation: 72/36=2
Current State: 88:[176, 2], Operations: ['79+97=176', '72/36=2']
Exploring Operation: 176/2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[79, 97, 36, 72], Operations: []
Exploring Operation: 72/36=2, Resulting Numbers: [79, 97, 2]
Generated Node #0,0: 88:[79, 97, 2] Operation: 72/36=2
Exploring Operation: 79-72=7, Resulting Numbers: [97, 36, 7]
Generated Node #0,1: 88:[97, 36, 7] Operation: 79-72=7
Moving to Node #0,0
Current State: 88:[79, 97, 2], Operations: ['72/36=2']
Exploring Operation: 79+2=81, Resulting Numbers: [97, 81]
Generated Node #0,0,0: 88:[97, 81] Operation: 79+2=81
Exploring Operation: 97-79=18, Resulting Numbers: [2, 18]
Generated Node #0,0,1: 88:[2, 18] Operation: 97-79=18
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 88:[2, 18], Operations: ['72/36=2', '97-79=18']
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,88 unequal: No Solution
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 88:[97, 81], Operations: ['72/36=2', '79+2=81']
Exploring Operation: 97+81=178, Resulting Numbers: [178]
178,88 unequal: No Solution
Exploring Operation: 97-81=16, Resulting Numbers: [16]
16,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 88:[97, 36, 7], Operations: ['79-72=7']
Exploring Operation: 36+7=43, Resulting Numbers: [97, 43]
Generated Node #0,1,0: 88:[97, 43] Operation: 36+7=43
Exploring Operation: 97-7=90, Resulting Numbers: [36, 90]
Generated Node #0,1,1: 88:[36, 90] Operation: 97-7=90
Moving to Node #0,1,0
Current State: 88:[97, 43], Operations: ['79-72=7', '36+7=43']
Exploring Operation: 97-43=54, Resulting Numbers: [54]
54,88 unequal: No Solution
Exploring Operation: 97+43=140, Resulting Numbers: [140]
140,88 unequal: No Solution
Moving to Node #0,1,1
Current State: 88:[36, 90], Operations: ['79-72=7', '97-7=90']
Exploring Operation: 36+90=126, Resulting Numbers: [126]
126,88 unequal: No Solution
Exploring Operation: 90-36=54, Resulting Numbers: [54]
54,88 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
20,
26,
40,
11
] | 23 | [
"26-20=6",
"40-11=29",
"29-6=23"
] | Current State: 23:[20, 26, 40, 11], Operations: []
Exploring Operation: 26-20=6, Resulting Numbers: [40, 11, 6]
Generated Node #2: [40, 11, 6] from Operation: 26-20=6
Current State: 23:[40, 11, 6], Operations: ['26-20=6']
Exploring Operation: 40-11=29, Resulting Numbers: [6, 29]
Generated Node #3: [6, 29] from Operation: 40-11=29
Current State: 23:[6, 29], Operations: ['26-20=6', '40-11=29']
Exploring Operation: 29-6=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[20, 26, 40, 11], Operations: []
Exploring Operation: 40-11=29, Resulting Numbers: [20, 26, 29]
Generated Node #0,0: 23:[20, 26, 29] Operation: 40-11=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[20, 26, 29], Operations: ['40-11=29']
Exploring Operation: 29-20=9, Resulting Numbers: [26, 9]
Generated Node #0,0,0: 23:[26, 9] Operation: 29-20=9
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 23:[26, 9], Operations: ['40-11=29', '29-20=9']
Exploring Operation: 26-9=17, Resulting Numbers: [17]
17,23 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 |
[
79,
39,
78,
51
] | 12 | [
"79-78=1",
"51-39=12",
"1*12=12"
] | Current State: 12:[79, 39, 78, 51], Operations: []
Exploring Operation: 79-78=1, Resulting Numbers: [39, 51, 1]
Generated Node #2: [39, 51, 1] from Operation: 79-78=1
Current State: 12:[39, 51, 1], Operations: ['79-78=1']
Exploring Operation: 51-39=12, Resulting Numbers: [1, 12]
Generated Node #3: [1, 12] from Operation: 51-39=12
Current State: 12:[1, 12], Operations: ['79-78=1', '51-39=12']
Exploring Operation: 1*12=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[79, 39, 78, 51], Operations: []
Exploring Operation: 79-78=1, Resulting Numbers: [39, 51, 1]
Generated Node #0,0: 12:[39, 51, 1] Operation: 79-78=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[39, 51, 1], Operations: ['79-78=1']
Exploring Operation: 51-39=12, Resulting Numbers: [1, 12]
Generated Node #0,0,0: 12:[1, 12] Operation: 51-39=12
Moving to Node #0,0,0
Current State: 12:[1, 12], Operations: ['79-78=1', '51-39=12']
Exploring Operation: 1*12=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[79, 39, 78, 51], Operations: []
Exploring Operation: 79-78=1, Resulting Numbers: [39, 51, 1]
Generated Node #0,0: 12:[39, 51, 1] Operation: 79-78=1
Moving to Node #0,0
Current State: 12:[39, 51, 1], Operations: ['79-78=1']
Exploring Operation: 51-39=12, Resulting Numbers: [1, 12]
Generated Node #0,0,0: 12:[1, 12] Operation: 51-39=12
Moving to Node #0,0,0
Current State: 12:[1, 12], Operations: ['79-78=1', '51-39=12']
Exploring Operation: 1*12=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
13,
19,
30,
52
] | 91 | [
"30-19=11",
"13*11=143",
"143-52=91"
] | Current State: 91:[13, 19, 30, 52], Operations: []
Exploring Operation: 30-19=11, Resulting Numbers: [13, 52, 11]
Generated Node #2: [13, 52, 11] from Operation: 30-19=11
Current State: 91:[13, 52, 11], Operations: ['30-19=11']
Exploring Operation: 13*11=143, Resulting Numbers: [52, 143]
Generated Node #3: [52, 143] from Operation: 13*11=143
Current State: 91:[52, 143], Operations: ['30-19=11', '13*11=143']
Exploring Operation: 143-52=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[13, 19, 30, 52], Operations: []
Exploring Operation: 30+52=82, Resulting Numbers: [13, 19, 82]
Generated Node #0,0: 91:[13, 19, 82] Operation: 30+52=82
Exploring Operation: 52-30=22, Resulting Numbers: [13, 19, 22]
Generated Node #0,1: 91:[13, 19, 22] Operation: 52-30=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[13, 19, 82], Operations: ['30+52=82']
Exploring Operation: 19-13=6, Resulting Numbers: [82, 6]
Generated Node #0,0,0: 91:[82, 6] Operation: 19-13=6
Exploring Operation: 13+82=95, Resulting Numbers: [19, 95]
Generated Node #0,0,1: 91:[19, 95] Operation: 13+82=95
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 91:[82, 6], Operations: ['30+52=82', '19-13=6']
Exploring Operation: 82-6=76, Resulting Numbers: [76]
76,91 unequal: No Solution
Exploring Operation: 82+6=88, Resulting Numbers: [88]
88,91 unequal: No Solution
No 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: 91:[19, 95], Operations: ['30+52=82', '13+82=95']
Exploring Operation: 95/19=5, Resulting Numbers: [5]
5,91 unequal: No Solution
Exploring Operation: 95-19=76, Resulting Numbers: [76]
76,91 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: 91:[13, 19, 22], Operations: ['52-30=22']
Exploring Operation: 22-19=3, Resulting Numbers: [13, 3]
Generated Node #0,1,0: 91:[13, 3] Operation: 22-19=3
Exploring Operation: 22-13=9, Resulting Numbers: [19, 9]
Generated Node #0,1,1: 91:[19, 9] Operation: 22-13=9
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 91:[13, 3], Operations: ['52-30=22', '22-19=3']
Exploring Operation: 13+3=16, Resulting Numbers: [16]
16,91 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,91 unequal: No Solution
No 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: 91:[19, 9], Operations: ['52-30=22', '22-13=9']
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,91 unequal: No Solution
Exploring Operation: 19+9=28, Resulting Numbers: [28]
28,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
92,
40,
21,
10
] | 83 | [
"92-40=52",
"21+10=31",
"52+31=83"
] | Current State: 83:[92, 40, 21, 10], Operations: []
Exploring Operation: 92-40=52, Resulting Numbers: [21, 10, 52]
Generated Node #2: [21, 10, 52] from Operation: 92-40=52
Current State: 83:[21, 10, 52], Operations: ['92-40=52']
Exploring Operation: 21+10=31, Resulting Numbers: [52, 31]
Generated Node #3: [52, 31] from Operation: 21+10=31
Current State: 83:[52, 31], Operations: ['92-40=52', '21+10=31']
Exploring Operation: 52+31=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[92, 40, 21, 10], Operations: []
Exploring Operation: 21+10=31, Resulting Numbers: [92, 40, 31]
Generated Node #0,0: 83:[92, 40, 31] Operation: 21+10=31
Exploring Operation: 92-10=82, Resulting Numbers: [40, 21, 82]
Generated Node #0,1: 83:[40, 21, 82] Operation: 92-10=82
Exploring Operation: 40+21=61, Resulting Numbers: [92, 10, 61]
Generated Node #0,2: 83:[92, 10, 61] Operation: 40+21=61
Exploring Operation: 40+10=50, Resulting Numbers: [92, 21, 50]
Generated Node #0,3: 83:[92, 21, 50] Operation: 40+10=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[92, 40, 31], Operations: ['21+10=31']
Exploring Operation: 92-40=52, Resulting Numbers: [31, 52]
Generated Node #0,0,0: 83:[31, 52] Operation: 92-40=52
Exploring Operation: 92+31=123, Resulting Numbers: [40, 123]
Generated Node #0,0,1: 83:[40, 123] Operation: 92+31=123
Exploring Operation: 40+31=71, Resulting Numbers: [92, 71]
Generated Node #0,0,2: 83:[92, 71] Operation: 40+31=71
Exploring Operation: 92-31=61, Resulting Numbers: [40, 61]
Generated Node #0,0,3: 83:[40, 61] Operation: 92-31=61
Moving to Node #0,0,2
Current State: 83:[92, 71], Operations: ['21+10=31', '40+31=71']
Exploring Operation: 92+71=163, Resulting Numbers: [163]
163,83 unequal: No Solution
Exploring Operation: 92*71=6532, Resulting Numbers: [6532]
6532,83 unequal: No Solution
Exploring Operation: 92-71=21, Resulting Numbers: [21]
21,83 unequal: No Solution
Moving to Node #0,0,3
Current State: 83:[40, 61], Operations: ['21+10=31', '92-31=61']
Exploring Operation: 40+61=101, Resulting Numbers: [101]
101,83 unequal: No Solution
Exploring Operation: 40*61=2440, Resulting Numbers: [2440]
2440,83 unequal: No Solution
Exploring Operation: 61-40=21, Resulting Numbers: [21]
21,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[40, 123], Operations: ['21+10=31', '92+31=123']
Exploring Operation: 123-40=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[92, 40, 21, 10], Operations: []
Exploring Operation: 21+10=31, Resulting Numbers: [92, 40, 31]
Generated Node #0,0: 83:[92, 40, 31] Operation: 21+10=31
Moving to Node #0,0
Current State: 83:[92, 40, 31], Operations: ['21+10=31']
Exploring Operation: 92+31=123, Resulting Numbers: [40, 123]
Generated Node #0,0,1: 83:[40, 123] Operation: 92+31=123
Moving to Node #0,0,1
Current State: 83:[40, 123], Operations: ['21+10=31', '92+31=123']
Exploring Operation: 123-40=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | sum_heuristic |
[
84,
18,
5,
87
] | 81 | [
"84+87=171",
"18*5=90",
"171-90=81"
] | Current State: 81:[84, 18, 5, 87], Operations: []
Exploring Operation: 84+87=171, Resulting Numbers: [18, 5, 171]
Generated Node #2: [18, 5, 171] from Operation: 84+87=171
Current State: 81:[18, 5, 171], Operations: ['84+87=171']
Exploring Operation: 18*5=90, Resulting Numbers: [171, 90]
Generated Node #3: [171, 90] from Operation: 18*5=90
Current State: 81:[171, 90], Operations: ['84+87=171', '18*5=90']
Exploring Operation: 171-90=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[84, 18, 5, 87], Operations: []
Exploring Operation: 87-5=82, Resulting Numbers: [84, 18, 82]
Generated Node #0,0: 81:[84, 18, 82] Operation: 87-5=82
Exploring Operation: 18-5=13, Resulting Numbers: [84, 87, 13]
Generated Node #0,1: 81:[84, 87, 13] Operation: 18-5=13
Exploring Operation: 18+5=23, Resulting Numbers: [84, 87, 23]
Generated Node #0,2: 81:[84, 87, 23] Operation: 18+5=23
Exploring Operation: 87-84=3, Resulting Numbers: [18, 5, 3]
Generated Node #0,3: 81:[18, 5, 3] Operation: 87-84=3
Start Sub Search at level 1: Moving to Node #0,3
Current State: 81:[18, 5, 3], Operations: ['87-84=3']
Exploring Operation: 18+5=23, Resulting Numbers: [3, 23]
Generated Node #0,3,0: 81:[3, 23] Operation: 18+5=23
Exploring Operation: 18-5=13, Resulting Numbers: [3, 13]
Generated Node #0,3,1: 81:[3, 13] Operation: 18-5=13
Exploring Operation: 18/3=6, Resulting Numbers: [5, 6]
Generated Node #0,3,2: 81:[5, 6] Operation: 18/3=6
Exploring Operation: 18+3=21, Resulting Numbers: [5, 21]
Generated Node #0,3,3: 81:[5, 21] Operation: 18+3=21
Moving to Node #0,3,0
Current State: 81:[3, 23], Operations: ['87-84=3', '18+5=23']
Exploring Operation: 3*23=69, Resulting Numbers: [69]
69,81 unequal: No Solution
Exploring Operation: 3+23=26, Resulting Numbers: [26]
26,81 unequal: No Solution
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,81 unequal: No Solution
Moving to Node #0,3,1
Current State: 81:[3, 13], Operations: ['87-84=3', '18-5=13']
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,81 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,81 unequal: No Solution
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,81 unequal: No Solution
Moving to Node #0,3,2
Current State: 81:[5, 6], Operations: ['87-84=3', '18/3=6']
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,81 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,81 unequal: No Solution
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,81 unequal: No Solution
Moving to Node #0,3,3
Current State: 81:[5, 21], Operations: ['87-84=3', '18+3=21']
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,81 unequal: No Solution
Exploring Operation: 5+21=26, Resulting Numbers: [26]
26,81 unequal: No Solution
Exploring Operation: 5*21=105, Resulting Numbers: [105]
105,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,0
Current State: 81:[84, 18, 82], Operations: ['87-5=82']
Exploring Operation: 84+18=102, Resulting Numbers: [82, 102]
Generated Node #0,0,0: 81:[82, 102] Operation: 84+18=102
Exploring Operation: 82-18=64, Resulting Numbers: [84, 64]
Generated Node #0,0,1: 81:[84, 64] Operation: 82-18=64
Exploring Operation: 84-82=2, Resulting Numbers: [18, 2]
Generated Node #0,0,2: 81:[18, 2] Operation: 84-82=2
Exploring Operation: 84-18=66, Resulting Numbers: [82, 66]
Generated Node #0,0,3: 81:[82, 66] Operation: 84-18=66
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 81:[18, 2], Operations: ['87-5=82', '84-82=2']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,81 unequal: No Solution
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,81 unequal: No Solution
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,81 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,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,0,3
Current State: 81:[82, 66], Operations: ['87-5=82', '84-18=66']
Exploring Operation: 82+66=148, Resulting Numbers: [148]
148,81 unequal: No Solution
Exploring Operation: 82*66=5412, Resulting Numbers: [5412]
5412,81 unequal: No Solution
Exploring Operation: 82-66=16, Resulting Numbers: [16]
16,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,0,1
Current State: 81:[84, 64], Operations: ['87-5=82', '82-18=64']
Exploring Operation: 84+64=148, Resulting Numbers: [148]
148,81 unequal: No Solution
Exploring Operation: 84-64=20, Resulting Numbers: [20]
20,81 unequal: No Solution
Exploring Operation: 84*64=5376, Resulting Numbers: [5376]
5376,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,0,0
Current State: 81:[82, 102], Operations: ['87-5=82', '84+18=102']
Exploring Operation: 82+102=184, Resulting Numbers: [184]
184,81 unequal: No Solution
Exploring Operation: 102-82=20, Resulting Numbers: [20]
20,81 unequal: No Solution
Exploring Operation: 82*102=8364, Resulting Numbers: [8364]
8364,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,1
Current State: 81:[84, 87, 13], Operations: ['18-5=13']
Exploring Operation: 87-84=3, Resulting Numbers: [13, 3]
Generated Node #0,1,0: 81:[13, 3] Operation: 87-84=3
Exploring Operation: 84+13=97, Resulting Numbers: [87, 97]
Generated Node #0,1,1: 81:[87, 97] Operation: 84+13=97
Exploring Operation: 87-13=74, Resulting Numbers: [84, 74]
Generated Node #0,1,2: 81:[84, 74] Operation: 87-13=74
Exploring Operation: 84-13=71, Resulting Numbers: [87, 71]
Generated Node #0,1,3: 81:[87, 71] Operation: 84-13=71
Moving to Node #0,1,0
Current State: 81:[13, 3], Operations: ['18-5=13', '87-84=3']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,81 unequal: No Solution
Exploring Operation: 13+3=16, Resulting Numbers: [16]
16,81 unequal: No Solution
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,81 unequal: No Solution
Moving to Node #0,1,2
Current State: 81:[84, 74], Operations: ['18-5=13', '87-13=74']
Exploring Operation: 84+74=158, Resulting Numbers: [158]
158,81 unequal: No Solution
Exploring Operation: 84-74=10, Resulting Numbers: [10]
10,81 unequal: No Solution
Exploring Operation: 84*74=6216, Resulting Numbers: [6216]
6216,81 unequal: No Solution
Moving to Node #0,1,3
Current State: 81:[87, 71], Operations: ['18-5=13', '84-13=71']
Exploring Operation: 87*71=6177, Resulting Numbers: [6177]
6177,81 unequal: No Solution
Exploring Operation: 87+71=158, Resulting Numbers: [158]
158,81 unequal: No Solution
Exploring Operation: 87-71=16, Resulting Numbers: [16]
16,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[87, 97], Operations: ['18-5=13', '84+13=97']
Exploring Operation: 87*97=8439, Resulting Numbers: [8439]
8439,81 unequal: No Solution
Exploring Operation: 87+97=184, Resulting Numbers: [184]
184,81 unequal: No Solution
Exploring Operation: 97-87=10, Resulting Numbers: [10]
10,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,2
Current State: 81:[84, 87, 23], Operations: ['18+5=23']
Exploring Operation: 84-23=61, Resulting Numbers: [87, 61]
Generated Node #0,2,0: 81:[87, 61] Operation: 84-23=61
Exploring Operation: 84+23=107, Resulting Numbers: [87, 107]
Generated Node #0,2,1: 81:[87, 107] Operation: 84+23=107
Exploring Operation: 87-84=3, Resulting Numbers: [23, 3]
Generated Node #0,2,2: 81:[23, 3] Operation: 87-84=3
Exploring Operation: 87-23=64, Resulting Numbers: [84, 64]
Generated Node #0,2,3: 81:[84, 64] Operation: 87-23=64
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 81:[23, 3], Operations: ['18+5=23', '87-84=3']
Exploring Operation: 23+3=26, Resulting Numbers: [26]
26,81 unequal: No Solution
Exploring Operation: 23*3=69, Resulting Numbers: [69]
69,81 unequal: No Solution
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,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,3
Current State: 81:[84, 64], Operations: ['18+5=23', '87-23=64']
Exploring Operation: 84*64=5376, Resulting Numbers: [5376]
5376,81 unequal: No Solution
Exploring Operation: 84-64=20, Resulting Numbers: [20]
20,81 unequal: No Solution
Exploring Operation: 84+64=148, Resulting Numbers: [148]
148,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:[87, 61], Operations: ['18+5=23', '84-23=61']
Exploring Operation: 87+61=148, Resulting Numbers: [148]
148,81 unequal: No Solution
Exploring Operation: 87-61=26, Resulting Numbers: [26]
26,81 unequal: No Solution
Exploring Operation: 87*61=5307, Resulting Numbers: [5307]
5307,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,1
Current State: 81:[87, 107], Operations: ['18+5=23', '84+23=107']
Exploring Operation: 87+107=194, Resulting Numbers: [194]
194,81 unequal: No Solution
Exploring Operation: 87*107=9309, Resulting Numbers: [9309]
9309,81 unequal: No Solution
Exploring Operation: 107-87=20, Resulting Numbers: [20]
20,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
No solution found.
| 0 | hs_4 | mult_heuristic |
[
1,
78,
46,
2
] | 61 | [
"78+46=124",
"124/2=62",
"62-1=61"
] | Current State: 61:[1, 78, 46, 2], Operations: []
Exploring Operation: 78+46=124, Resulting Numbers: [1, 2, 124]
Generated Node #2: [1, 2, 124] from Operation: 78+46=124
Current State: 61:[1, 2, 124], Operations: ['78+46=124']
Exploring Operation: 124/2=62, Resulting Numbers: [1, 62]
Generated Node #3: [1, 62] from Operation: 124/2=62
Current State: 61:[1, 62], Operations: ['78+46=124', '124/2=62']
Exploring Operation: 62-1=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[1, 78, 46, 2], Operations: []
Exploring Operation: 1+2=3, Resulting Numbers: [78, 46, 3]
Generated Node #0,0: 61:[78, 46, 3] Operation: 1+2=3
Exploring Operation: 1+46=47, Resulting Numbers: [78, 2, 47]
Generated Node #0,1: 61:[78, 2, 47] Operation: 1+46=47
Exploring Operation: 78-1=77, Resulting Numbers: [46, 2, 77]
Generated Node #0,2: 61:[46, 2, 77] Operation: 78-1=77
Exploring Operation: 78-2=76, Resulting Numbers: [1, 46, 76]
Generated Node #0,3: 61:[1, 46, 76] Operation: 78-2=76
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[78, 46, 3], Operations: ['1+2=3']
Exploring Operation: 46-3=43, Resulting Numbers: [78, 43]
Generated Node #0,0,0: 61:[78, 43] Operation: 46-3=43
Exploring Operation: 46+3=49, Resulting Numbers: [78, 49]
Generated Node #0,0,1: 61:[78, 49] Operation: 46+3=49
Exploring Operation: 78+3=81, Resulting Numbers: [46, 81]
Generated Node #0,0,2: 61:[46, 81] Operation: 78+3=81
Exploring Operation: 78-3=75, Resulting Numbers: [46, 75]
Generated Node #0,0,3: 61:[46, 75] Operation: 78-3=75
Moving to Node #0,0,1
Current State: 61:[78, 49], Operations: ['1+2=3', '46+3=49']
Exploring Operation: 78-49=29, Resulting Numbers: [29]
29,61 unequal: No Solution
Exploring Operation: 78+49=127, Resulting Numbers: [127]
127,61 unequal: No Solution
Exploring Operation: 78*49=3822, Resulting Numbers: [3822]
3822,61 unequal: No Solution
Moving to Node #0,0,3
Current State: 61:[46, 75], Operations: ['1+2=3', '78-3=75']
Exploring Operation: 46*75=3450, Resulting Numbers: [3450]
3450,61 unequal: No Solution
Exploring Operation: 75-46=29, Resulting Numbers: [29]
29,61 unequal: No Solution
Exploring Operation: 46+75=121, Resulting Numbers: [121]
121,61 unequal: No Solution
Moving to Node #0,0,2
Current State: 61:[46, 81], Operations: ['1+2=3', '78+3=81']
Exploring Operation: 46+81=127, Resulting Numbers: [127]
127,61 unequal: No Solution
Exploring Operation: 81-46=35, Resulting Numbers: [35]
35,61 unequal: No Solution
Exploring Operation: 46*81=3726, Resulting Numbers: [3726]
3726,61 unequal: No Solution
Moving to Node #0,0,0
Current State: 61:[78, 43], Operations: ['1+2=3', '46-3=43']
Exploring Operation: 78*43=3354, Resulting Numbers: [3354]
3354,61 unequal: No Solution
Exploring Operation: 78-43=35, Resulting Numbers: [35]
35,61 unequal: No Solution
Exploring Operation: 78+43=121, Resulting Numbers: [121]
121,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[78, 2, 47], Operations: ['1+46=47']
Exploring Operation: 78-2=76, Resulting Numbers: [47, 76]
Generated Node #0,1,0: 61:[47, 76] Operation: 78-2=76
Exploring Operation: 47-2=45, Resulting Numbers: [78, 45]
Generated Node #0,1,1: 61:[78, 45] Operation: 47-2=45
Exploring Operation: 78+2=80, Resulting Numbers: [47, 80]
Generated Node #0,1,2: 61:[47, 80] Operation: 78+2=80
Exploring Operation: 2+47=49, Resulting Numbers: [78, 49]
Generated Node #0,1,3: 61:[78, 49] Operation: 2+47=49
Moving to Node #0,1,0
Current State: 61:[47, 76], Operations: ['1+46=47', '78-2=76']
Exploring Operation: 76-47=29, Resulting Numbers: [29]
29,61 unequal: No Solution
Exploring Operation: 47*76=3572, Resulting Numbers: [3572]
3572,61 unequal: No Solution
Exploring Operation: 47+76=123, Resulting Numbers: [123]
123,61 unequal: No Solution
Moving to Node #0,1,3
Current State: 61:[78, 49], Operations: ['1+46=47', '2+47=49']
Exploring Operation: 78*49=3822, Resulting Numbers: [3822]
3822,61 unequal: No Solution
Exploring Operation: 78+49=127, Resulting Numbers: [127]
127,61 unequal: No Solution
Exploring Operation: 78-49=29, Resulting Numbers: [29]
29,61 unequal: No Solution
Moving to Node #0,1,2
Current State: 61:[47, 80], Operations: ['1+46=47', '78+2=80']
Exploring Operation: 80-47=33, Resulting Numbers: [33]
33,61 unequal: No Solution
Exploring Operation: 47+80=127, Resulting Numbers: [127]
127,61 unequal: No Solution
Exploring Operation: 47*80=3760, Resulting Numbers: [3760]
3760,61 unequal: No Solution
Moving to Node #0,1,1
Current State: 61:[78, 45], Operations: ['1+46=47', '47-2=45']
Exploring Operation: 78*45=3510, Resulting Numbers: [3510]
3510,61 unequal: No Solution
Exploring Operation: 78-45=33, Resulting Numbers: [33]
33,61 unequal: No Solution
Exploring Operation: 78+45=123, Resulting Numbers: [123]
123,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 61:[46, 2, 77], Operations: ['78-1=77']
Exploring Operation: 2+77=79, Resulting Numbers: [46, 79]
Generated Node #0,2,0: 61:[46, 79] Operation: 2+77=79
Exploring Operation: 46+2=48, Resulting Numbers: [77, 48]
Generated Node #0,2,1: 61:[77, 48] Operation: 46+2=48
Exploring Operation: 46-2=44, Resulting Numbers: [77, 44]
Generated Node #0,2,2: 61:[77, 44] Operation: 46-2=44
Exploring Operation: 77-2=75, Resulting Numbers: [46, 75]
Generated Node #0,2,3: 61:[46, 75] Operation: 77-2=75
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 61:[77, 48], Operations: ['78-1=77', '46+2=48']
Exploring Operation: 77*48=3696, Resulting Numbers: [3696]
3696,61 unequal: No Solution
Exploring Operation: 77+48=125, Resulting Numbers: [125]
125,61 unequal: No Solution
Exploring Operation: 77-48=29, Resulting Numbers: [29]
29,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 61:[46, 75], Operations: ['78-1=77', '77-2=75']
Exploring Operation: 75-46=29, Resulting Numbers: [29]
29,61 unequal: No Solution
Exploring Operation: 46*75=3450, Resulting Numbers: [3450]
3450,61 unequal: No Solution
Exploring Operation: 46+75=121, Resulting Numbers: [121]
121,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, 79], Operations: ['78-1=77', '2+77=79']
Exploring Operation: 46+79=125, Resulting Numbers: [125]
125,61 unequal: No Solution
Exploring Operation: 79-46=33, Resulting Numbers: [33]
33,61 unequal: No Solution
Exploring Operation: 46*79=3634, Resulting Numbers: [3634]
3634,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:[77, 44], Operations: ['78-1=77', '46-2=44']
Exploring Operation: 77-44=33, Resulting Numbers: [33]
33,61 unequal: No Solution
Exploring Operation: 77*44=3388, Resulting Numbers: [3388]
3388,61 unequal: No Solution
Exploring Operation: 77+44=121, Resulting Numbers: [121]
121,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:[1, 46, 76], Operations: ['78-2=76']
Exploring Operation: 1+46=47, Resulting Numbers: [76, 47]
Generated Node #0,3,0: 61:[76, 47] Operation: 1+46=47
Exploring Operation: 46/1=46, Resulting Numbers: [76, 46]
Generated Node #0,3,1: 61:[76, 46] Operation: 46/1=46
Exploring Operation: 76-1=75, Resulting Numbers: [46, 75]
Generated Node #0,3,2: 61:[46, 75] Operation: 76-1=75
Exploring Operation: 1*46=46, Resulting Numbers: [76, 46]
Generated Node #0,3,3: 61:[76, 46] Operation: 1*46=46
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 61:[76, 47], Operations: ['78-2=76', '1+46=47']
Exploring Operation: 76+47=123, Resulting Numbers: [123]
123,61 unequal: No Solution
Exploring Operation: 76*47=3572, Resulting Numbers: [3572]
3572,61 unequal: No Solution
Exploring Operation: 76-47=29, Resulting Numbers: [29]
29,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 61:[46, 75], Operations: ['78-2=76', '76-1=75']
Exploring Operation: 46+75=121, Resulting Numbers: [121]
121,61 unequal: No Solution
Exploring Operation: 75-46=29, Resulting Numbers: [29]
29,61 unequal: No Solution
Exploring Operation: 46*75=3450, Resulting Numbers: [3450]
3450,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 61:[76, 46], Operations: ['78-2=76', '46/1=46']
Exploring Operation: 76*46=3496, Resulting Numbers: [3496]
3496,61 unequal: No Solution
Exploring Operation: 76+46=122, Resulting Numbers: [122]
122,61 unequal: No Solution
Exploring Operation: 76-46=30, Resulting Numbers: [30]
30,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 61:[76, 46], Operations: ['78-2=76', '1*46=46']
Exploring Operation: 76-46=30, Resulting Numbers: [30]
30,61 unequal: No Solution
Exploring Operation: 76*46=3496, Resulting Numbers: [3496]
3496,61 unequal: No Solution
Exploring Operation: 76+46=122, Resulting Numbers: [122]
122,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
72,
77,
13,
71
] | 89 | [
"77-72=5",
"13+71=84",
"5+84=89"
] | Current State: 89:[72, 77, 13, 71], Operations: []
Exploring Operation: 77-72=5, Resulting Numbers: [13, 71, 5]
Generated Node #2: [13, 71, 5] from Operation: 77-72=5
Current State: 89:[13, 71, 5], Operations: ['77-72=5']
Exploring Operation: 13+71=84, Resulting Numbers: [5, 84]
Generated Node #3: [5, 84] from Operation: 13+71=84
Current State: 89:[5, 84], Operations: ['77-72=5', '13+71=84']
Exploring Operation: 5+84=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[72, 77, 13, 71], Operations: []
Exploring Operation: 72+13=85, Resulting Numbers: [77, 71, 85]
Generated Node #0,0: 89:[77, 71, 85] Operation: 72+13=85
Exploring Operation: 13+71=84, Resulting Numbers: [72, 77, 84]
Generated Node #0,1: 89:[72, 77, 84] Operation: 13+71=84
Moving to Node #0,0
Current State: 89:[77, 71, 85], Operations: ['72+13=85']
Exploring Operation: 77+71=148, Resulting Numbers: [85, 148]
Generated Node #0,0,0: 89:[85, 148] Operation: 77+71=148
Exploring Operation: 71+85=156, Resulting Numbers: [77, 156]
Generated Node #0,0,1: 89:[77, 156] Operation: 71+85=156
Moving to Node #0,1
Current State: 89:[72, 77, 84], Operations: ['13+71=84']
Exploring Operation: 72+77=149, Resulting Numbers: [84, 149]
Generated Node #0,1,0: 89:[84, 149] Operation: 72+77=149
Exploring Operation: 72+84=156, Resulting Numbers: [77, 156]
Generated Node #0,1,1: 89:[77, 156] Operation: 72+84=156
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 89:[84, 149], Operations: ['13+71=84', '72+77=149']
Exploring Operation: 149-84=65, Resulting Numbers: [65]
65,89 unequal: No Solution
Exploring Operation: 84+149=233, Resulting Numbers: [233]
233,89 unequal: No Solution
No solution 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: 89:[77, 156], Operations: ['13+71=84', '72+84=156']
Exploring Operation: 156-77=79, Resulting Numbers: [79]
79,89 unequal: No Solution
Exploring Operation: 77+156=233, Resulting Numbers: [233]
233,89 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: 89:[85, 148], Operations: ['72+13=85', '77+71=148']
Exploring Operation: 85+148=233, Resulting Numbers: [233]
233,89 unequal: No Solution
Exploring Operation: 148-85=63, Resulting Numbers: [63]
63,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[77, 156], Operations: ['72+13=85', '71+85=156']
Exploring Operation: 77+156=233, Resulting Numbers: [233]
233,89 unequal: No Solution
Exploring Operation: 156-77=79, Resulting Numbers: [79]
79,89 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
59,
65,
46,
16
] | 11 | [
"59-46=13",
"65/13=5",
"16-5=11"
] | Current State: 11:[59, 65, 46, 16], Operations: []
Exploring Operation: 59-46=13, Resulting Numbers: [65, 16, 13]
Generated Node #2: [65, 16, 13] from Operation: 59-46=13
Current State: 11:[65, 16, 13], Operations: ['59-46=13']
Exploring Operation: 65/13=5, Resulting Numbers: [16, 5]
Generated Node #3: [16, 5] from Operation: 65/13=5
Current State: 11:[16, 5], Operations: ['59-46=13', '65/13=5']
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[59, 65, 46, 16], Operations: []
Exploring Operation: 65-59=6, Resulting Numbers: [46, 16, 6]
Generated Node #0,0: 11:[46, 16, 6] Operation: 65-59=6
Exploring Operation: 59-46=13, Resulting Numbers: [65, 16, 13]
Generated Node #0,1: 11:[65, 16, 13] Operation: 59-46=13
Exploring Operation: 65-46=19, Resulting Numbers: [59, 16, 19]
Generated Node #0,2: 11:[59, 16, 19] Operation: 65-46=19
Moving to Node #0,0
Current State: 11:[46, 16, 6], Operations: ['65-59=6']
Exploring Operation: 46-16=30, Resulting Numbers: [6, 30]
Generated Node #0,0,0: 11:[6, 30] Operation: 46-16=30
Exploring Operation: 16-6=10, Resulting Numbers: [46, 10]
Generated Node #0,0,1: 11:[46, 10] Operation: 16-6=10
Exploring Operation: 46-6=40, Resulting Numbers: [16, 40]
Generated Node #0,0,2: 11:[16, 40] Operation: 46-6=40
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[6, 30], Operations: ['65-59=6', '46-16=30']
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,11 unequal: No Solution
Exploring Operation: 6+30=36, Resulting Numbers: [36]
36,11 unequal: No Solution
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 11:[16, 40], Operations: ['65-59=6', '46-6=40']
Exploring Operation: 16*40=640, Resulting Numbers: [640]
640,11 unequal: No Solution
Exploring Operation: 16+40=56, Resulting Numbers: [56]
56,11 unequal: No Solution
Exploring Operation: 40-16=24, Resulting Numbers: [24]
24,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 11:[46, 10], Operations: ['65-59=6', '16-6=10']
Exploring Operation: 46*10=460, Resulting Numbers: [460]
460,11 unequal: No Solution
Exploring Operation: 46+10=56, Resulting Numbers: [56]
56,11 unequal: No Solution
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,11 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: 11:[65, 16, 13], Operations: ['59-46=13']
Exploring Operation: 65-13=52, Resulting Numbers: [16, 52]
Generated Node #0,1,0: 11:[16, 52] Operation: 65-13=52
Exploring Operation: 65-16=49, Resulting Numbers: [13, 49]
Generated Node #0,1,1: 11:[13, 49] Operation: 65-16=49
Exploring Operation: 65/13=5, Resulting Numbers: [16, 5]
Generated Node #0,1,2: 11:[16, 5] Operation: 65/13=5
Moving to Node #0,2
Current State: 11:[59, 16, 19], Operations: ['65-46=19']
Exploring Operation: 59-16=43, Resulting Numbers: [19, 43]
Generated Node #0,2,0: 11:[19, 43] Operation: 59-16=43
Exploring Operation: 19-16=3, Resulting Numbers: [59, 3]
Generated Node #0,2,1: 11:[59, 3] Operation: 19-16=3
Exploring Operation: 59-19=40, Resulting Numbers: [16, 40]
Generated Node #0,2,2: 11:[16, 40] Operation: 59-19=40
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 11:[16, 40], Operations: ['65-46=19', '59-19=40']
Exploring Operation: 16+40=56, Resulting Numbers: [56]
56,11 unequal: No Solution
Exploring Operation: 16*40=640, Resulting Numbers: [640]
640,11 unequal: No Solution
Exploring Operation: 40-16=24, Resulting Numbers: [24]
24,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 11:[19, 43], Operations: ['65-46=19', '59-16=43']
Exploring Operation: 19*43=817, Resulting Numbers: [817]
817,11 unequal: No Solution
Exploring Operation: 19+43=62, Resulting Numbers: [62]
62,11 unequal: No Solution
Exploring Operation: 43-19=24, Resulting Numbers: [24]
24,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 11:[59, 3], Operations: ['65-46=19', '19-16=3']
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,11 unequal: No Solution
Exploring Operation: 59+3=62, Resulting Numbers: [62]
62,11 unequal: No Solution
Exploring Operation: 59*3=177, Resulting Numbers: [177]
177,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 11:[16, 5], Operations: ['59-46=13', '65/13=5']
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[59, 65, 46, 16], Operations: []
Exploring Operation: 59-46=13, Resulting Numbers: [65, 16, 13]
Generated Node #0,1: 11:[65, 16, 13] Operation: 59-46=13
Moving to Node #0,1
Current State: 11:[65, 16, 13], Operations: ['59-46=13']
Exploring Operation: 65/13=5, Resulting Numbers: [16, 5]
Generated Node #0,1,2: 11:[16, 5] Operation: 65/13=5
Moving to Node #0,1,2
Current State: 11:[16, 5], Operations: ['59-46=13', '65/13=5']
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 0.969618 | hs_3 | mult_heuristic |
[
84,
80,
66,
70
] | 64 | [
"80-66=14",
"84/14=6",
"70-6=64"
] | Current State: 64:[84, 80, 66, 70], Operations: []
Exploring Operation: 80-66=14, Resulting Numbers: [84, 70, 14]
Generated Node #2: [84, 70, 14] from Operation: 80-66=14
Current State: 64:[84, 70, 14], Operations: ['80-66=14']
Exploring Operation: 84/14=6, Resulting Numbers: [70, 6]
Generated Node #3: [70, 6] from Operation: 84/14=6
Current State: 64:[70, 6], Operations: ['80-66=14', '84/14=6']
Exploring Operation: 70-6=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[84, 80, 66, 70], Operations: []
Exploring Operation: 84-80=4, Resulting Numbers: [66, 70, 4]
Generated Node #0,0: 64:[66, 70, 4] Operation: 84-80=4
Exploring Operation: 84-70=14, Resulting Numbers: [80, 66, 14]
Generated Node #0,1: 64:[80, 66, 14] Operation: 84-70=14
Moving to Node #0,0
Current State: 64:[66, 70, 4], Operations: ['84-80=4']
Exploring Operation: 70-66=4, Resulting Numbers: [4, 4]
Generated Node #0,0,0: 64:[4, 4] Operation: 70-66=4
Exploring Operation: 70-4=66, Resulting Numbers: [66, 66]
Generated Node #0,0,1: 64:[66, 66] Operation: 70-4=66
Moving to Node #0,1
Current State: 64:[80, 66, 14], Operations: ['84-70=14']
Exploring Operation: 80-66=14, Resulting Numbers: [14, 14]
Generated Node #0,1,0: 64:[14, 14] Operation: 80-66=14
Exploring Operation: 80-14=66, Resulting Numbers: [66, 66]
Generated Node #0,1,1: 64:[66, 66] Operation: 80-14=66
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 64:[14, 14], Operations: ['84-70=14', '80-66=14']
Exploring Operation: 14-14=0, Resulting Numbers: [0]
0,64 unequal: No Solution
Exploring Operation: 14/14=1, Resulting Numbers: [1]
1,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 64:[66, 66], Operations: ['84-70=14', '80-14=66']
Exploring Operation: 66/66=1, Resulting Numbers: [1]
1,64 unequal: No Solution
Exploring Operation: 66-66=0, Resulting Numbers: [0]
0,64 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: 64:[4, 4], Operations: ['84-80=4', '70-66=4']
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,64 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,64 unequal: No Solution
Moving to Node #0,0,1
Current State: 64:[66, 66], Operations: ['84-80=4', '70-4=66']
Exploring Operation: 66-66=0, Resulting Numbers: [0]
0,64 unequal: No Solution
Exploring Operation: 66/66=1, Resulting Numbers: [1]
1,64 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
14,
78,
76,
1
] | 14 | [
"78-76=2",
"2-1=1",
"14*1=14"
] | Current State: 14:[14, 78, 76, 1], Operations: []
Exploring Operation: 78-76=2, Resulting Numbers: [14, 1, 2]
Generated Node #2: [14, 1, 2] from Operation: 78-76=2
Current State: 14:[14, 1, 2], Operations: ['78-76=2']
Exploring Operation: 2-1=1, Resulting Numbers: [14, 1]
Generated Node #3: [14, 1] from Operation: 2-1=1
Current State: 14:[14, 1], Operations: ['78-76=2', '2-1=1']
Exploring Operation: 14*1=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[14, 78, 76, 1], Operations: []
Exploring Operation: 76-14=62, Resulting Numbers: [78, 1, 62]
Generated Node #0,0: 14:[78, 1, 62] Operation: 76-14=62
Exploring Operation: 78-14=64, Resulting Numbers: [76, 1, 64]
Generated Node #0,1: 14:[76, 1, 64] Operation: 78-14=64
Exploring Operation: 78-76=2, Resulting Numbers: [14, 1, 2]
Generated Node #0,2: 14:[14, 1, 2] Operation: 78-76=2
Moving to Node #0,2
Current State: 14:[14, 1, 2], Operations: ['78-76=2']
Exploring Operation: 14/1=14, Resulting Numbers: [2, 14]
Generated Node #0,2,0: 14:[2, 14] Operation: 14/1=14
Exploring Operation: 14*1=14, Resulting Numbers: [2, 14]
Generated Node #0,2,1: 14:[2, 14] Operation: 14*1=14
Exploring Operation: 1*2=2, Resulting Numbers: [14, 2]
Generated Node #0,2,2: 14:[14, 2] Operation: 1*2=2
Moving to Node #0,0
Current State: 14:[78, 1, 62], Operations: ['76-14=62']
Exploring Operation: 78-62=16, Resulting Numbers: [1, 16]
Generated Node #0,0,0: 14:[1, 16] Operation: 78-62=16
Exploring Operation: 62-1=61, Resulting Numbers: [78, 61]
Generated Node #0,0,1: 14:[78, 61] Operation: 62-1=61
Exploring Operation: 78-1=77, Resulting Numbers: [62, 77]
Generated Node #0,0,2: 14:[62, 77] Operation: 78-1=77
Moving to Node #0,1
Current State: 14:[76, 1, 64], Operations: ['78-14=64']
Exploring Operation: 64-1=63, Resulting Numbers: [76, 63]
Generated Node #0,1,0: 14:[76, 63] Operation: 64-1=63
Exploring Operation: 76-1=75, Resulting Numbers: [64, 75]
Generated Node #0,1,1: 14:[64, 75] Operation: 76-1=75
Exploring Operation: 76-64=12, Resulting Numbers: [1, 12]
Generated Node #0,1,2: 14:[1, 12] Operation: 76-64=12
Moving to Node #0,2,0
Current State: 14:[2, 14], Operations: ['78-76=2', '14/1=14']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,14 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,14 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,14 unequal: No Solution
Moving to Node #0,2,2
Current State: 14:[14, 2], Operations: ['78-76=2', '1*2=2']
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,14 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,14 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,14 unequal: No Solution
Moving to Node #0,2,1
Current State: 14:[2, 14], Operations: ['78-76=2', '14*1=14']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,14 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,14 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,14 unequal: No Solution
Moving to Node #0,1,2
Current State: 14:[1, 12], Operations: ['78-14=64', '76-64=12']
Exploring Operation: 1*12=12, Resulting Numbers: [12]
12,14 unequal: No Solution
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,14 unequal: No Solution
Exploring Operation: 1+12=13, Resulting Numbers: [13]
13,14 unequal: No Solution
Moving to Node #0,0,0
Current State: 14:[1, 16], Operations: ['76-14=62', '78-62=16']
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,14 unequal: No Solution
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,14 unequal: No Solution
Exploring Operation: 1*16=16, Resulting Numbers: [16]
16,14 unequal: No Solution
Moving to Node #0,0,2
Current State: 14:[62, 77], Operations: ['76-14=62', '78-1=77']
Exploring Operation: 62*77=4774, Resulting Numbers: [4774]
4774,14 unequal: No Solution
Exploring Operation: 62+77=139, Resulting Numbers: [139]
139,14 unequal: No Solution
Exploring Operation: 77-62=15, Resulting Numbers: [15]
15,14 unequal: No Solution
Moving to Node #0,1,1
Current State: 14:[64, 75], Operations: ['78-14=64', '76-1=75']
Exploring Operation: 64*75=4800, Resulting Numbers: [4800]
4800,14 unequal: No Solution
Exploring Operation: 64+75=139, Resulting Numbers: [139]
139,14 unequal: No Solution
Exploring Operation: 75-64=11, Resulting Numbers: [11]
11,14 unequal: No Solution
Moving to Node #0,0,1
Current State: 14:[78, 61], Operations: ['76-14=62', '62-1=61']
Exploring Operation: 78+61=139, Resulting Numbers: [139]
139,14 unequal: No Solution
Exploring Operation: 78-61=17, Resulting Numbers: [17]
17,14 unequal: No Solution
Exploring Operation: 78*61=4758, Resulting Numbers: [4758]
4758,14 unequal: No Solution
Moving to Node #0,1,0
Current State: 14:[76, 63], Operations: ['78-14=64', '64-1=63']
Exploring Operation: 76*63=4788, Resulting Numbers: [4788]
4788,14 unequal: No Solution
Exploring Operation: 76-63=13, Resulting Numbers: [13]
13,14 unequal: No Solution
Exploring Operation: 76+63=139, Resulting Numbers: [139]
139,14 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
41,
39,
41,
70
] | 51 | [
"41+39=80",
"70-41=29",
"80-29=51"
] | Current State: 51:[41, 39, 41, 70], Operations: []
Exploring Operation: 41+39=80, Resulting Numbers: [70, 80]
Generated Node #2: [70, 80] from Operation: 41+39=80
Current State: 51:[70, 80], Operations: ['41+39=80']
Exploring Operation: 70-41=29, Resulting Numbers: [80, 29]
Generated Node #3: [80, 29] from Operation: 70-41=29
Current State: 51:[80, 29], Operations: ['41+39=80', '70-41=29']
Exploring Operation: 80-29=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[41, 39, 41, 70], Operations: []
Exploring Operation: 70-41=29, Resulting Numbers: [39, 41, 29]
Generated Node #0,0: 51:[39, 41, 29] Operation: 70-41=29
Exploring Operation: 41-41=0, Resulting Numbers: [39, 70, 0]
Generated Node #0,1: 51:[39, 70, 0] Operation: 41-41=0
Exploring Operation: 41/41=1, Resulting Numbers: [39, 70, 1]
Generated Node #0,2: 51:[39, 70, 1] Operation: 41/41=1
Exploring Operation: 41-39=2, Resulting Numbers: [41, 70, 2]
Generated Node #0,3: 51:[41, 70, 2] Operation: 41-39=2
Exploring Operation: 41-39=2, Resulting Numbers: [41, 70, 2]
Generated Node #0,4: 51:[41, 70, 2] Operation: 41-39=2
Start Sub Search at level 1: Moving to Node #0,3
Current State: 51:[41, 70, 2], Operations: ['41-39=2']
Exploring Operation: 70-2=68, Resulting Numbers: [41, 68]
Generated Node #0,3,0: 51:[41, 68] Operation: 70-2=68
Exploring Operation: 70/2=35, Resulting Numbers: [41, 35]
Generated Node #0,3,1: 51:[41, 35] Operation: 70/2=35
Exploring Operation: 41-2=39, Resulting Numbers: [70, 39]
Generated Node #0,3,2: 51:[70, 39] Operation: 41-2=39
Exploring Operation: 70-41=29, Resulting Numbers: [2, 29]
Generated Node #0,3,3: 51:[2, 29] Operation: 70-41=29
Exploring Operation: 41+2=43, Resulting Numbers: [70, 43]
Generated Node #0,3,4: 51:[70, 43] Operation: 41+2=43
Moving to Node #0,3,3
Current State: 51:[2, 29], Operations: ['41-39=2', '70-41=29']
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,51 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,51 unequal: No Solution
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,51 unequal: No Solution
Moving to Node #0,3,1
Current State: 51:[41, 35], Operations: ['41-39=2', '70/2=35']
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,51 unequal: No Solution
Exploring Operation: 41*35=1435, Resulting Numbers: [1435]
1435,51 unequal: No Solution
Exploring Operation: 41+35=76, Resulting Numbers: [76]
76,51 unequal: No Solution
Moving to Node #0,3,0
Current State: 51:[41, 68], Operations: ['41-39=2', '70-2=68']
Exploring Operation: 41+68=109, Resulting Numbers: [109]
109,51 unequal: No Solution
Exploring Operation: 68-41=27, Resulting Numbers: [27]
27,51 unequal: No Solution
Exploring Operation: 41*68=2788, Resulting Numbers: [2788]
2788,51 unequal: No Solution
Moving to Node #0,3,4
Current State: 51:[70, 43], Operations: ['41-39=2', '41+2=43']
Exploring Operation: 70-43=27, Resulting Numbers: [27]
27,51 unequal: No Solution
Exploring Operation: 70*43=3010, Resulting Numbers: [3010]
3010,51 unequal: No Solution
Exploring Operation: 70+43=113, Resulting Numbers: [113]
113,51 unequal: No Solution
Moving to Node #0,3,2
Current State: 51:[70, 39], Operations: ['41-39=2', '41-2=39']
Exploring Operation: 70*39=2730, Resulting Numbers: [2730]
2730,51 unequal: No Solution
Exploring Operation: 70+39=109, Resulting Numbers: [109]
109,51 unequal: No Solution
Exploring Operation: 70-39=31, Resulting Numbers: [31]
31,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,4
Current State: 51:[41, 70, 2], Operations: ['41-39=2']
Exploring Operation: 41-2=39, Resulting Numbers: [70, 39]
Generated Node #0,4,0: 51:[70, 39] Operation: 41-2=39
Exploring Operation: 70-2=68, Resulting Numbers: [41, 68]
Generated Node #0,4,1: 51:[41, 68] Operation: 70-2=68
Exploring Operation: 70-41=29, Resulting Numbers: [2, 29]
Generated Node #0,4,2: 51:[2, 29] Operation: 70-41=29
Exploring Operation: 41+2=43, Resulting Numbers: [70, 43]
Generated Node #0,4,3: 51:[70, 43] Operation: 41+2=43
Exploring Operation: 70/2=35, Resulting Numbers: [41, 35]
Generated Node #0,4,4: 51:[41, 35] Operation: 70/2=35
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 51:[2, 29], Operations: ['41-39=2', '70-41=29']
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,51 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,51 unequal: No Solution
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 51:[41, 35], Operations: ['41-39=2', '70/2=35']
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,51 unequal: No Solution
Exploring Operation: 41+35=76, Resulting Numbers: [76]
76,51 unequal: No Solution
Exploring Operation: 41*35=1435, Resulting Numbers: [1435]
1435,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 51:[41, 68], Operations: ['41-39=2', '70-2=68']
Exploring Operation: 68-41=27, Resulting Numbers: [27]
27,51 unequal: No Solution
Exploring Operation: 41+68=109, Resulting Numbers: [109]
109,51 unequal: No Solution
Exploring Operation: 41*68=2788, Resulting Numbers: [2788]
2788,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 51:[70, 43], Operations: ['41-39=2', '41+2=43']
Exploring Operation: 70*43=3010, Resulting Numbers: [3010]
3010,51 unequal: No Solution
Exploring Operation: 70+43=113, Resulting Numbers: [113]
113,51 unequal: No Solution
Exploring Operation: 70-43=27, Resulting Numbers: [27]
27,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 51:[70, 39], Operations: ['41-39=2', '41-2=39']
Exploring Operation: 70+39=109, Resulting Numbers: [109]
109,51 unequal: No Solution
Exploring Operation: 70*39=2730, Resulting Numbers: [2730]
2730,51 unequal: No Solution
Exploring Operation: 70-39=31, Resulting Numbers: [31]
31,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 51:[39, 70, 1], Operations: ['41/41=1']
Exploring Operation: 39+1=40, Resulting Numbers: [70, 40]
Generated Node #0,2,0: 51:[70, 40] Operation: 39+1=40
Exploring Operation: 39*1=39, Resulting Numbers: [70, 39]
Generated Node #0,2,1: 51:[70, 39] Operation: 39*1=39
Exploring Operation: 70-39=31, Resulting Numbers: [1, 31]
Generated Node #0,2,2: 51:[1, 31] Operation: 70-39=31
Exploring Operation: 39/1=39, Resulting Numbers: [70, 39]
Generated Node #0,2,3: 51:[70, 39] Operation: 39/1=39
Exploring Operation: 70-1=69, Resulting Numbers: [39, 69]
Generated Node #0,2,4: 51:[39, 69] Operation: 70-1=69
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 51:[1, 31], Operations: ['41/41=1', '70-39=31']
Exploring Operation: 31/1=31, Resulting Numbers: [31]
31,51 unequal: No Solution
Exploring Operation: 1+31=32, Resulting Numbers: [32]
32,51 unequal: No Solution
Exploring Operation: 1*31=31, Resulting Numbers: [31]
31,51 unequal: No Solution
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,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:[70, 40], Operations: ['41/41=1', '39+1=40']
Exploring Operation: 70*40=2800, Resulting Numbers: [2800]
2800,51 unequal: No Solution
Exploring Operation: 70+40=110, Resulting Numbers: [110]
110,51 unequal: No Solution
Exploring Operation: 70-40=30, Resulting Numbers: [30]
30,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 51:[39, 69], Operations: ['41/41=1', '70-1=69']
Exploring Operation: 39+69=108, Resulting Numbers: [108]
108,51 unequal: No Solution
Exploring Operation: 69-39=30, Resulting Numbers: [30]
30,51 unequal: No Solution
Exploring Operation: 39*69=2691, Resulting Numbers: [2691]
2691,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:[70, 39], Operations: ['41/41=1', '39*1=39']
Exploring Operation: 70-39=31, Resulting Numbers: [31]
31,51 unequal: No Solution
Exploring Operation: 70+39=109, Resulting Numbers: [109]
109,51 unequal: No Solution
Exploring Operation: 70*39=2730, Resulting Numbers: [2730]
2730,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 51:[70, 39], Operations: ['41/41=1', '39/1=39']
Exploring Operation: 70*39=2730, Resulting Numbers: [2730]
2730,51 unequal: No Solution
Exploring Operation: 70+39=109, Resulting Numbers: [109]
109,51 unequal: No Solution
Exploring Operation: 70-39=31, Resulting Numbers: [31]
31,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,0
Current State: 51:[39, 41, 29], Operations: ['70-41=29']
Exploring Operation: 41-39=2, Resulting Numbers: [29, 2]
Generated Node #0,0,0: 51:[29, 2] Operation: 41-39=2
Exploring Operation: 39+29=68, Resulting Numbers: [41, 68]
Generated Node #0,0,1: 51:[41, 68] Operation: 39+29=68
Exploring Operation: 41+29=70, Resulting Numbers: [39, 70]
Generated Node #0,0,2: 51:[39, 70] Operation: 41+29=70
Exploring Operation: 41-29=12, Resulting Numbers: [39, 12]
Generated Node #0,0,3: 51:[39, 12] Operation: 41-29=12
Exploring Operation: 39-29=10, Resulting Numbers: [41, 10]
Generated Node #0,0,4: 51:[41, 10] Operation: 39-29=10
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 51:[29, 2], Operations: ['70-41=29', '41-39=2']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,51 unequal: No Solution
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,51 unequal: No Solution
Exploring Operation: 29+2=31, Resulting Numbers: [31]
31,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 51:[39, 12], Operations: ['70-41=29', '41-29=12']
Exploring Operation: 39*12=468, Resulting Numbers: [468]
468,51 unequal: No Solution
Exploring Operation: 39-12=27, Resulting Numbers: [27]
27,51 unequal: No Solution
Exploring Operation: 39+12=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[41, 39, 41, 70], Operations: []
Exploring Operation: 70-41=29, Resulting Numbers: [39, 41, 29]
Generated Node #0,0: 51:[39, 41, 29] Operation: 70-41=29
Moving to Node #0,0
Current State: 51:[39, 41, 29], Operations: ['70-41=29']
Exploring Operation: 41-29=12, Resulting Numbers: [39, 12]
Generated Node #0,0,3: 51:[39, 12] Operation: 41-29=12
Moving to Node #0,0,3
Current State: 51:[39, 12], Operations: ['70-41=29', '41-29=12']
Exploring Operation: 39+12=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.929688 | hs_5 | mult_heuristic |
[
19,
88,
8,
28
] | 88 | [
"19+8=27",
"28-27=1",
"88*1=88"
] | Current State: 88:[19, 88, 8, 28], Operations: []
Exploring Operation: 19+8=27, Resulting Numbers: [88, 28, 27]
Generated Node #2: [88, 28, 27] from Operation: 19+8=27
Current State: 88:[88, 28, 27], Operations: ['19+8=27']
Exploring Operation: 28-27=1, Resulting Numbers: [88, 1]
Generated Node #3: [88, 1] from Operation: 28-27=1
Current State: 88:[88, 1], Operations: ['19+8=27', '28-27=1']
Exploring Operation: 88*1=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[19, 88, 8, 28], Operations: []
Exploring Operation: 28-19=9, Resulting Numbers: [88, 8, 9]
Generated Node #0,0: 88:[88, 8, 9] Operation: 28-19=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[88, 8, 9], Operations: ['28-19=9']
Exploring Operation: 88/8=11, Resulting Numbers: [9, 11]
Generated Node #0,0,0: 88:[9, 11] Operation: 88/8=11
Moving to Node #0,0,0
Current State: 88:[9, 11], Operations: ['28-19=9', '88/8=11']
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,88 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 |
[
46,
87,
66,
51
] | 76 | [
"87-46=41",
"66+51=117",
"117-41=76"
] | Current State: 76:[46, 87, 66, 51], Operations: []
Exploring Operation: 87-46=41, Resulting Numbers: [66, 51, 41]
Generated Node #2: [66, 51, 41] from Operation: 87-46=41
Current State: 76:[66, 51, 41], Operations: ['87-46=41']
Exploring Operation: 66+51=117, Resulting Numbers: [41, 117]
Generated Node #3: [41, 117] from Operation: 66+51=117
Current State: 76:[41, 117], Operations: ['87-46=41', '66+51=117']
Exploring Operation: 117-41=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[46, 87, 66, 51], Operations: []
Exploring Operation: 51-46=5, Resulting Numbers: [87, 66, 5]
Generated Node #0,0: 76:[87, 66, 5] Operation: 51-46=5
Exploring Operation: 87-51=36, Resulting Numbers: [46, 66, 36]
Generated Node #0,1: 76:[46, 66, 36] Operation: 87-51=36
Exploring Operation: 87-66=21, Resulting Numbers: [46, 51, 21]
Generated Node #0,2: 76:[46, 51, 21] Operation: 87-66=21
Exploring Operation: 66-51=15, Resulting Numbers: [46, 87, 15]
Generated Node #0,3: 76:[46, 87, 15] Operation: 66-51=15
Moving to Node #0,1
Current State: 76:[46, 66, 36], Operations: ['87-51=36']
Exploring Operation: 46-36=10, Resulting Numbers: [66, 10]
Generated Node #0,1,0: 76:[66, 10] Operation: 46-36=10
Exploring Operation: 66-36=30, Resulting Numbers: [46, 30]
Generated Node #0,1,1: 76:[46, 30] Operation: 66-36=30
Exploring Operation: 46+36=82, Resulting Numbers: [66, 82]
Generated Node #0,1,2: 76:[66, 82] Operation: 46+36=82
Exploring Operation: 66-46=20, Resulting Numbers: [36, 20]
Generated Node #0,1,3: 76:[36, 20] Operation: 66-46=20
Moving to Node #0,0
Current State: 76:[87, 66, 5], Operations: ['51-46=5']
Exploring Operation: 87-5=82, Resulting Numbers: [66, 82]
Generated Node #0,0,0: 76:[66, 82] Operation: 87-5=82
Exploring Operation: 87+5=92, Resulting Numbers: [66, 92]
Generated Node #0,0,1: 76:[66, 92] Operation: 87+5=92
Exploring Operation: 87-66=21, Resulting Numbers: [5, 21]
Generated Node #0,0,2: 76:[5, 21] Operation: 87-66=21
Exploring Operation: 66+5=71, Resulting Numbers: [87, 71]
Generated Node #0,0,3: 76:[87, 71] Operation: 66+5=71
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 76:[5, 21], Operations: ['51-46=5', '87-66=21']
Exploring Operation: 5+21=26, Resulting Numbers: [26]
26,76 unequal: No Solution
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,76 unequal: No Solution
Exploring Operation: 5*21=105, Resulting Numbers: [105]
105,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 76:[66, 82], Operations: ['51-46=5', '87-5=82']
Exploring Operation: 82-66=16, Resulting Numbers: [16]
16,76 unequal: No Solution
Exploring Operation: 66*82=5412, Resulting Numbers: [5412]
5412,76 unequal: No Solution
Exploring Operation: 66+82=148, Resulting Numbers: [148]
148,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 76:[87, 71], Operations: ['51-46=5', '66+5=71']
Exploring Operation: 87*71=6177, Resulting Numbers: [6177]
6177,76 unequal: No Solution
Exploring Operation: 87-71=16, Resulting Numbers: [16]
16,76 unequal: No Solution
Exploring Operation: 87+71=158, Resulting Numbers: [158]
158,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 76:[66, 92], Operations: ['51-46=5', '87+5=92']
Exploring Operation: 92-66=26, Resulting Numbers: [26]
26,76 unequal: No Solution
Exploring Operation: 66*92=6072, Resulting Numbers: [6072]
6072,76 unequal: No Solution
Exploring Operation: 66+92=158, Resulting Numbers: [158]
158,76 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: 76:[46, 87, 15], Operations: ['66-51=15']
Exploring Operation: 46-15=31, Resulting Numbers: [87, 31]
Generated Node #0,3,0: 76:[87, 31] Operation: 46-15=31
Exploring Operation: 87-15=72, Resulting Numbers: [46, 72]
Generated Node #0,3,1: 76:[46, 72] Operation: 87-15=72
Exploring Operation: 87-46=41, Resulting Numbers: [15, 41]
Generated Node #0,3,2: 76:[15, 41] Operation: 87-46=41
Exploring Operation: 46+15=61, Resulting Numbers: [87, 61]
Generated Node #0,3,3: 76:[87, 61] Operation: 46+15=61
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 76:[15, 41], Operations: ['66-51=15', '87-46=41']
Exploring Operation: 15+41=56, Resulting Numbers: [56]
56,76 unequal: No Solution
Exploring Operation: 15*41=615, Resulting Numbers: [615]
615,76 unequal: No Solution
Exploring Operation: 41-15=26, Resulting Numbers: [26]
26,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 76:[46, 72], Operations: ['66-51=15', '87-15=72']
Exploring Operation: 46+72=118, Resulting Numbers: [118]
118,76 unequal: No Solution
Exploring Operation: 46*72=3312, Resulting Numbers: [3312]
3312,76 unequal: No Solution
Exploring Operation: 72-46=26, Resulting Numbers: [26]
26,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 76:[87, 31], Operations: ['66-51=15', '46-15=31']
Exploring Operation: 87*31=2697, Resulting Numbers: [2697]
2697,76 unequal: No Solution
Exploring Operation: 87+31=118, Resulting Numbers: [118]
118,76 unequal: No Solution
Exploring Operation: 87-31=56, Resulting Numbers: [56]
56,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 76:[87, 61], Operations: ['66-51=15', '46+15=61']
Exploring Operation: 87+61=148, Resulting Numbers: [148]
148,76 unequal: No Solution
Exploring Operation: 87-61=26, Resulting Numbers: [26]
26,76 unequal: No Solution
Exploring Operation: 87*61=5307, Resulting Numbers: [5307]
5307,76 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: 76:[46, 51, 21], Operations: ['87-66=21']
Exploring Operation: 51-21=30, Resulting Numbers: [46, 30]
Generated Node #0,2,0: 76:[46, 30] Operation: 51-21=30
Exploring Operation: 46-21=25, Resulting Numbers: [51, 25]
Generated Node #0,2,1: 76:[51, 25] Operation: 46-21=25
Exploring Operation: 51+21=72, Resulting Numbers: [46, 72]
Generated Node #0,2,2: 76:[46, 72] Operation: 51+21=72
Exploring Operation: 51-46=5, Resulting Numbers: [21, 5]
Generated Node #0,2,3: 76:[21, 5] Operation: 51-46=5
Moving to Node #0,1,3
Current State: 76:[36, 20], Operations: ['87-51=36', '66-46=20']
Exploring Operation: 36+20=56, Resulting Numbers: [56]
56,76 unequal: No Solution
Exploring Operation: 36*20=720, Resulting Numbers: [720]
720,76 unequal: No Solution
Exploring Operation: 36-20=16, Resulting Numbers: [16]
16,76 unequal: No Solution
Moving to Node #0,2,3
Current State: 76:[21, 5], Operations: ['87-66=21', '51-46=5']
Exploring Operation: 21-5=16, Resulting Numbers: [16]
16,76 unequal: No Solution
Exploring Operation: 21*5=105, Resulting Numbers: [105]
105,76 unequal: No Solution
Exploring Operation: 21+5=26, Resulting Numbers: [26]
26,76 unequal: No Solution
Moving to Node #0,2,2
Current State: 76:[46, 72], Operations: ['87-66=21', '51+21=72']
Exploring Operation: 46*72=3312, Resulting Numbers: [3312]
3312,76 unequal: No Solution
Exploring Operation: 46+72=118, Resulting Numbers: [118]
118,76 unequal: No Solution
Exploring Operation: 72-46=26, Resulting Numbers: [26]
26,76 unequal: No Solution
Moving to Node #0,1,1
Current State: 76:[46, 30], Operations: ['87-51=36', '66-36=30']
Exploring Operation: 46+30=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[46, 87, 66, 51], Operations: []
Exploring Operation: 87-51=36, Resulting Numbers: [46, 66, 36]
Generated Node #0,1: 76:[46, 66, 36] Operation: 87-51=36
Moving to Node #0,1
Current State: 76:[46, 66, 36], Operations: ['87-51=36']
Exploring Operation: 66-36=30, Resulting Numbers: [46, 30]
Generated Node #0,1,1: 76:[46, 30] Operation: 66-36=30
Moving to Node #0,1,1
Current State: 76:[46, 30], Operations: ['87-51=36', '66-36=30']
Exploring Operation: 46+30=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 0.949653 | hs_4 | sum_heuristic |
[
43,
84,
76,
36
] | 77 | [
"76-43=33",
"84*33=2772",
"2772/36=77"
] | Current State: 77:[43, 84, 76, 36], Operations: []
Exploring Operation: 76-43=33, Resulting Numbers: [84, 36, 33]
Generated Node #2: [84, 36, 33] from Operation: 76-43=33
Current State: 77:[84, 36, 33], Operations: ['76-43=33']
Exploring Operation: 84*33=2772, Resulting Numbers: [36, 2772]
Generated Node #3: [36, 2772] from Operation: 84*33=2772
Current State: 77:[36, 2772], Operations: ['76-43=33', '84*33=2772']
Exploring Operation: 2772/36=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[43, 84, 76, 36], Operations: []
Exploring Operation: 76-43=33, Resulting Numbers: [84, 36, 33]
Generated Node #0,0: 77:[84, 36, 33] Operation: 76-43=33
Exploring Operation: 43-36=7, Resulting Numbers: [84, 76, 7]
Generated Node #0,1: 77:[84, 76, 7] Operation: 43-36=7
Exploring Operation: 84-43=41, Resulting Numbers: [76, 36, 41]
Generated Node #0,2: 77:[76, 36, 41] Operation: 84-43=41
Exploring Operation: 43+36=79, Resulting Numbers: [84, 76, 79]
Generated Node #0,3: 77:[84, 76, 79] Operation: 43+36=79
Moving to Node #0,1
Current State: 77:[84, 76, 7], Operations: ['43-36=7']
Exploring Operation: 76+7=83, Resulting Numbers: [84, 83]
Generated Node #0,1,0: 77:[84, 83] Operation: 76+7=83
Exploring Operation: 84-7=77, Resulting Numbers: [76, 77]
Generated Node #0,1,1: 77:[76, 77] Operation: 84-7=77
Exploring Operation: 84/7=12, Resulting Numbers: [76, 12]
Generated Node #0,1,2: 77:[76, 12] Operation: 84/7=12
Exploring Operation: 84-76=8, Resulting Numbers: [7, 8]
Generated Node #0,1,3: 77:[7, 8] Operation: 84-76=8
Moving to Node #0,3
Current State: 77:[84, 76, 79], Operations: ['43+36=79']
Exploring Operation: 84-76=8, Resulting Numbers: [79, 8]
Generated Node #0,3,0: 77:[79, 8] Operation: 84-76=8
Exploring Operation: 79-76=3, Resulting Numbers: [84, 3]
Generated Node #0,3,1: 77:[84, 3] Operation: 79-76=3
Exploring Operation: 84-79=5, Resulting Numbers: [76, 5]
Generated Node #0,3,2: 77:[76, 5] Operation: 84-79=5
Exploring Operation: 84+76=160, Resulting Numbers: [79, 160]
Generated Node #0,3,3: 77:[79, 160] Operation: 84+76=160
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 77:[79, 8], Operations: ['43+36=79', '84-76=8']
Exploring Operation: 79*8=632, Resulting Numbers: [632]
632,77 unequal: No Solution
Exploring Operation: 79-8=71, Resulting Numbers: [71]
71,77 unequal: No Solution
Exploring Operation: 79+8=87, Resulting Numbers: [87]
87,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 77:[76, 5], Operations: ['43+36=79', '84-79=5']
Exploring Operation: 76-5=71, Resulting Numbers: [71]
71,77 unequal: No Solution
Exploring Operation: 76+5=81, Resulting Numbers: [81]
81,77 unequal: No Solution
Exploring Operation: 76*5=380, Resulting Numbers: [380]
380,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 77:[84, 3], Operations: ['43+36=79', '79-76=3']
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,77 unequal: No Solution
Exploring Operation: 84+3=87, Resulting Numbers: [87]
87,77 unequal: No Solution
Exploring Operation: 84/3=28, Resulting Numbers: [28]
28,77 unequal: No Solution
Exploring Operation: 84*3=252, Resulting Numbers: [252]
252,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 77:[79, 160], Operations: ['43+36=79', '84+76=160']
Exploring Operation: 79*160=12640, Resulting Numbers: [12640]
12640,77 unequal: No Solution
Exploring Operation: 79+160=239, Resulting Numbers: [239]
239,77 unequal: No Solution
Exploring Operation: 160-79=81, Resulting Numbers: [81]
81,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 77:[84, 36, 33], Operations: ['76-43=33']
Exploring Operation: 36-33=3, Resulting Numbers: [84, 3]
Generated Node #0,0,0: 77:[84, 3] Operation: 36-33=3
Exploring Operation: 84-36=48, Resulting Numbers: [33, 48]
Generated Node #0,0,1: 77:[33, 48] Operation: 84-36=48
Exploring Operation: 84-33=51, Resulting Numbers: [36, 51]
Generated Node #0,0,2: 77:[36, 51] Operation: 84-33=51
Exploring Operation: 36+33=69, Resulting Numbers: [84, 69]
Generated Node #0,0,3: 77:[84, 69] Operation: 36+33=69
Moving to Node #0,2
Current State: 77:[76, 36, 41], Operations: ['84-43=41']
Exploring Operation: 36+41=77, Resulting Numbers: [76, 77]
Generated Node #0,2,0: 77:[76, 77] Operation: 36+41=77
Exploring Operation: 41-36=5, Resulting Numbers: [76, 5]
Generated Node #0,2,1: 77:[76, 5] Operation: 41-36=5
Exploring Operation: 76-41=35, Resulting Numbers: [36, 35]
Generated Node #0,2,2: 77:[36, 35] Operation: 76-41=35
Exploring Operation: 76-36=40, Resulting Numbers: [41, 40]
Generated Node #0,2,3: 77:[41, 40] Operation: 76-36=40
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 77:[76, 77], Operations: ['84-43=41', '36+41=77']
Exploring Operation: 76*77=5852, Resulting Numbers: [5852]
5852,77 unequal: No Solution
Exploring Operation: 77-76=1, Resulting Numbers: [1]
1,77 unequal: No Solution
Exploring Operation: 76+77=153, Resulting Numbers: [153]
153,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 77:[76, 5], Operations: ['84-43=41', '41-36=5']
Exploring Operation: 76*5=380, Resulting Numbers: [380]
380,77 unequal: No Solution
Exploring Operation: 76+5=81, Resulting Numbers: [81]
81,77 unequal: No Solution
Exploring Operation: 76-5=71, Resulting Numbers: [71]
71,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 77:[36, 35], Operations: ['84-43=41', '76-41=35']
Exploring Operation: 36-35=1, Resulting Numbers: [1]
1,77 unequal: No Solution
Exploring Operation: 36*35=1260, Resulting Numbers: [1260]
1260,77 unequal: No Solution
Exploring Operation: 36+35=71, Resulting Numbers: [71]
71,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 77:[41, 40], Operations: ['84-43=41', '76-36=40']
Exploring Operation: 41*40=1640, Resulting Numbers: [1640]
1640,77 unequal: No Solution
Exploring Operation: 41+40=81, Resulting Numbers: [81]
81,77 unequal: No Solution
Exploring Operation: 41-40=1, Resulting Numbers: [1]
1,77 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: 77:[76, 77], Operations: ['43-36=7', '84-7=77']
Exploring Operation: 77-76=1, Resulting Numbers: [1]
1,77 unequal: No Solution
Exploring Operation: 76*77=5852, Resulting Numbers: [5852]
5852,77 unequal: No Solution
Exploring Operation: 76+77=153, Resulting Numbers: [153]
153,77 unequal: No Solution
Moving to Node #0,1,3
Current State: 77:[7, 8], Operations: ['43-36=7', '84-76=8']
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,77 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,77 unequal: No Solution
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,77 unequal: No Solution
Moving to Node #0,1,2
Current State: 77:[76, 12], Operations: ['43-36=7', '84/7=12']
Exploring Operation: 76-12=64, Resulting Numbers: [64]
64,77 unequal: No Solution
Exploring Operation: 76+12=88, Resulting Numbers: [88]
88,77 unequal: No Solution
Exploring Operation: 76*12=912, Resulting Numbers: [912]
912,77 unequal: No Solution
Moving to Node #0,0,0
Current State: 77:[84, 3], Operations: ['76-43=33', '36-33=3']
Exploring Operation: 84*3=252, Resulting Numbers: [252]
252,77 unequal: No Solution
Exploring Operation: 84/3=28, Resulting Numbers: [28]
28,77 unequal: No Solution
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,77 unequal: No Solution
Exploring Operation: 84+3=87, Resulting Numbers: [87]
87,77 unequal: No Solution
Moving to Node #0,1,0
Current State: 77:[84, 83], Operations: ['43-36=7', '76+7=83']
Exploring Operation: 84*83=6972, Resulting Numbers: [6972]
6972,77 unequal: No Solution
Exploring Operation: 84-83=1, Resulting Numbers: [1]
1,77 unequal: No Solution
Exploring Operation: 84+83=167, Resulting Numbers: [167]
167,77 unequal: No Solution
Moving to Node #0,0,3
Current State: 77:[84, 69], Operations: ['76-43=33', '36+33=69']
Exploring Operation: 84*69=5796, Resulting Numbers: [5796]
5796,77 unequal: No Solution
Exploring Operation: 84-69=15, Resulting Numbers: [15]
15,77 unequal: No Solution
Exploring Operation: 84+69=153, Resulting Numbers: [153]
153,77 unequal: No Solution
Moving to Node #0,0,1
Current State: 77:[33, 48], Operations: ['76-43=33', '84-36=48']
Exploring Operation: 33*48=1584, Resulting Numbers: [1584]
1584,77 unequal: No Solution
Exploring Operation: 48-33=15, Resulting Numbers: [15]
15,77 unequal: No Solution
Exploring Operation: 33+48=81, Resulting Numbers: [81]
81,77 unequal: No Solution
Moving to Node #0,0,2
Current State: 77:[36, 51], Operations: ['76-43=33', '84-33=51']
Exploring Operation: 36*51=1836, Resulting Numbers: [1836]
1836,77 unequal: No Solution
Exploring Operation: 36+51=87, Resulting Numbers: [87]
87,77 unequal: No Solution
Exploring Operation: 51-36=15, Resulting Numbers: [15]
15,77 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
84,
10,
6,
64
] | 55 | [
"84+6=90",
"90/10=9",
"64-9=55"
] | Current State: 55:[84, 10, 6, 64], Operations: []
Exploring Operation: 84+6=90, Resulting Numbers: [10, 64, 90]
Generated Node #2: [10, 64, 90] from Operation: 84+6=90
Current State: 55:[10, 64, 90], Operations: ['84+6=90']
Exploring Operation: 90/10=9, Resulting Numbers: [64, 9]
Generated Node #3: [64, 9] from Operation: 90/10=9
Current State: 55:[64, 9], Operations: ['84+6=90', '90/10=9']
Exploring Operation: 64-9=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[84, 10, 6, 64], Operations: []
Exploring Operation: 84-64=20, Resulting Numbers: [10, 6, 20]
Generated Node #0,0: 55:[10, 6, 20] Operation: 84-64=20
Exploring Operation: 84/6=14, Resulting Numbers: [10, 64, 14]
Generated Node #0,1: 55:[10, 64, 14] Operation: 84/6=14
Exploring Operation: 84-10=74, Resulting Numbers: [6, 64, 74]
Generated Node #0,2: 55:[6, 64, 74] Operation: 84-10=74
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[10, 6, 20], Operations: ['84-64=20']
Exploring Operation: 20-6=14, Resulting Numbers: [10, 14]
Generated Node #0,0,0: 55:[10, 14] Operation: 20-6=14
Exploring Operation: 20/10=2, Resulting Numbers: [6, 2]
Generated Node #0,0,1: 55:[6, 2] Operation: 20/10=2
Exploring Operation: 20-10=10, Resulting Numbers: [6, 10]
Generated Node #0,0,2: 55:[6, 10] Operation: 20-10=10
Moving to Node #0,0,2
Current State: 55:[6, 10], Operations: ['84-64=20', '20-10=10']
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,55 unequal: No Solution
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,55 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Moving to Node #0,0,0
Current State: 55:[10, 14], Operations: ['84-64=20', '20-6=14']
Exploring Operation: 10+14=24, Resulting Numbers: [24]
24,55 unequal: No Solution
Exploring Operation: 10*14=140, Resulting Numbers: [140]
140,55 unequal: No Solution
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Moving to Node #0,0,1
Current State: 55:[6, 2], Operations: ['84-64=20', '20/10=2']
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,55 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,55 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 55:[10, 64, 14], Operations: ['84/6=14']
Exploring Operation: 14-10=4, Resulting Numbers: [64, 4]
Generated Node #0,1,0: 55:[64, 4] Operation: 14-10=4
Exploring Operation: 64-14=50, Resulting Numbers: [10, 50]
Generated Node #0,1,1: 55:[10, 50] Operation: 64-14=50
Exploring Operation: 64-10=54, Resulting Numbers: [14, 54]
Generated Node #0,1,2: 55:[14, 54] Operation: 64-10=54
Moving to Node #0,1,2
Current State: 55:[14, 54], Operations: ['84/6=14', '64-10=54']
Exploring Operation: 14*54=756, Resulting Numbers: [756]
756,55 unequal: No Solution
Exploring Operation: 14+54=68, Resulting Numbers: [68]
68,55 unequal: No Solution
Exploring Operation: 54-14=40, Resulting Numbers: [40]
40,55 unequal: No Solution
Moving to Node #0,1,1
Current State: 55:[10, 50], Operations: ['84/6=14', '64-14=50']
Exploring Operation: 50-10=40, Resulting Numbers: [40]
40,55 unequal: No Solution
Exploring Operation: 50/10=5, Resulting Numbers: [5]
5,55 unequal: No Solution
Exploring Operation: 10+50=60, Resulting Numbers: [60]
60,55 unequal: No Solution
Moving to Node #0,1,0
Current State: 55:[64, 4], Operations: ['84/6=14', '14-10=4']
Exploring Operation: 64+4=68, Resulting Numbers: [68]
68,55 unequal: No Solution
Exploring Operation: 64-4=60, Resulting Numbers: [60]
60,55 unequal: No Solution
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 55:[6, 64, 74], Operations: ['84-10=74']
Exploring Operation: 74-64=10, Resulting Numbers: [6, 10]
Generated Node #0,2,0: 55:[6, 10] Operation: 74-64=10
Exploring Operation: 74-6=68, Resulting Numbers: [64, 68]
Generated Node #0,2,1: 55:[64, 68] Operation: 74-6=68
Exploring Operation: 64-6=58, Resulting Numbers: [74, 58]
Generated Node #0,2,2: 55:[74, 58] Operation: 64-6=58
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 55:[6, 10], Operations: ['84-10=74', '74-64=10']
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,55 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 55:[64, 68], Operations: ['84-10=74', '74-6=68']
Exploring Operation: 68-64=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 64*68=4352, Resulting Numbers: [4352]
4352,55 unequal: No Solution
Exploring Operation: 64+68=132, Resulting Numbers: [132]
132,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 55:[74, 58], Operations: ['84-10=74', '64-6=58']
Exploring Operation: 74+58=132, Resulting Numbers: [132]
132,55 unequal: No Solution
Exploring Operation: 74*58=4292, Resulting Numbers: [4292]
4292,55 unequal: No Solution
Exploring Operation: 74-58=16, Resulting Numbers: [16]
16,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_3 | mult_heuristic |
[
78,
85,
81,
74
] | 16 | [
"78-74=4",
"85-81=4",
"4*4=16"
] | Current State: 16:[78, 85, 81, 74], Operations: []
Exploring Operation: 78-74=4, Resulting Numbers: [85, 81, 4]
Generated Node #2: [85, 81, 4] from Operation: 78-74=4
Current State: 16:[85, 81, 4], Operations: ['78-74=4']
Exploring Operation: 85-81=4, Resulting Numbers: [4, 4]
Generated Node #3: [4, 4] from Operation: 85-81=4
Current State: 16:[4, 4], Operations: ['78-74=4', '85-81=4']
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[78, 85, 81, 74], Operations: []
Exploring Operation: 85-81=4, Resulting Numbers: [78, 74, 4]
Generated Node #0,0: 16:[78, 74, 4] Operation: 85-81=4
Moving to Node #0,0
Current State: 16:[78, 74, 4], Operations: ['85-81=4']
Exploring Operation: 78-74=4, Resulting Numbers: [4, 4]
Generated Node #0,0,0: 16:[4, 4] Operation: 78-74=4
Moving to Node #0,0,0
Current State: 16:[4, 4], Operations: ['85-81=4', '78-74=4']
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,16 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
40,
69,
70,
72
] | 58 | [
"69-40=29",
"72-70=2",
"29*2=58"
] | Current State: 58:[40, 69, 70, 72], Operations: []
Exploring Operation: 69-40=29, Resulting Numbers: [70, 72, 29]
Generated Node #2: [70, 72, 29] from Operation: 69-40=29
Current State: 58:[70, 72, 29], Operations: ['69-40=29']
Exploring Operation: 72-70=2, Resulting Numbers: [29, 2]
Generated Node #3: [29, 2] from Operation: 72-70=2
Current State: 58:[29, 2], Operations: ['69-40=29', '72-70=2']
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[40, 69, 70, 72], Operations: []
Exploring Operation: 72-69=3, Resulting Numbers: [40, 70, 3]
Generated Node #0,0: 58:[40, 70, 3] Operation: 72-69=3
Exploring Operation: 72-70=2, Resulting Numbers: [40, 69, 2]
Generated Node #0,1: 58:[40, 69, 2] Operation: 72-70=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[40, 69, 2], Operations: ['72-70=2']
Exploring Operation: 69-40=29, Resulting Numbers: [2, 29]
Generated Node #0,1,0: 58:[2, 29] Operation: 69-40=29
Exploring Operation: 40-2=38, Resulting Numbers: [69, 38]
Generated Node #0,1,1: 58:[69, 38] Operation: 40-2=38
Moving to Node #0,1,0
Current State: 58:[2, 29], Operations: ['72-70=2', '69-40=29']
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,58 unequal: No Solution
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[40, 69, 70, 72], Operations: []
Exploring Operation: 72-70=2, Resulting Numbers: [40, 69, 2]
Generated Node #0,1: 58:[40, 69, 2] Operation: 72-70=2
Moving to Node #0,1
Current State: 58:[40, 69, 2], Operations: ['72-70=2']
Exploring Operation: 69-40=29, Resulting Numbers: [2, 29]
Generated Node #0,1,0: 58:[2, 29] Operation: 69-40=29
Moving to Node #0,1,0
Current State: 58:[2, 29], Operations: ['72-70=2', '69-40=29']
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
29,
12,
78,
35
] | 80 | [
"35-29=6",
"12/6=2",
"78+2=80"
] | Current State: 80:[29, 12, 78, 35], Operations: []
Exploring Operation: 35-29=6, Resulting Numbers: [12, 78, 6]
Generated Node #2: [12, 78, 6] from Operation: 35-29=6
Current State: 80:[12, 78, 6], Operations: ['35-29=6']
Exploring Operation: 12/6=2, Resulting Numbers: [78, 2]
Generated Node #3: [78, 2] from Operation: 12/6=2
Current State: 80:[78, 2], Operations: ['35-29=6', '12/6=2']
Exploring Operation: 78+2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[29, 12, 78, 35], Operations: []
Exploring Operation: 29-12=17, Resulting Numbers: [78, 35, 17]
Generated Node #0,0: 80:[78, 35, 17] Operation: 29-12=17
Exploring Operation: 35-12=23, Resulting Numbers: [29, 78, 23]
Generated Node #0,1: 80:[29, 78, 23] Operation: 35-12=23
Exploring Operation: 35-29=6, Resulting Numbers: [12, 78, 6]
Generated Node #0,2: 80:[12, 78, 6] Operation: 35-29=6
Exploring Operation: 29+12=41, Resulting Numbers: [78, 35, 41]
Generated Node #0,3: 80:[78, 35, 41] Operation: 29+12=41
Moving to Node #0,2
Current State: 80:[12, 78, 6], Operations: ['35-29=6']
Exploring Operation: 12/6=2, Resulting Numbers: [78, 2]
Generated Node #0,2,0: 80:[78, 2] Operation: 12/6=2
Exploring Operation: 12-6=6, Resulting Numbers: [78, 6]
Generated Node #0,2,1: 80:[78, 6] Operation: 12-6=6
Exploring Operation: 12+6=18, Resulting Numbers: [78, 18]
Generated Node #0,2,2: 80:[78, 18] Operation: 12+6=18
Exploring Operation: 78/6=13, Resulting Numbers: [12, 13]
Generated Node #0,2,3: 80:[12, 13] Operation: 78/6=13
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 80:[78, 2], Operations: ['35-29=6', '12/6=2']
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,80 unequal: No Solution
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,80 unequal: No Solution
Exploring Operation: 78+2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[29, 12, 78, 35], Operations: []
Exploring Operation: 35-29=6, Resulting Numbers: [12, 78, 6]
Generated Node #0,2: 80:[12, 78, 6] Operation: 35-29=6
Moving to Node #0,2
Current State: 80:[12, 78, 6], Operations: ['35-29=6']
Exploring Operation: 12/6=2, Resulting Numbers: [78, 2]
Generated Node #0,2,0: 80:[78, 2] Operation: 12/6=2
Moving to Node #0,2,0
Current State: 80:[78, 2], Operations: ['35-29=6', '12/6=2']
Exploring Operation: 78+2=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
57,
17,
3,
7
] | 83 | [
"17+3=20",
"7*20=140",
"140-57=83"
] | Current State: 83:[57, 17, 3, 7], Operations: []
Exploring Operation: 17+3=20, Resulting Numbers: [57, 7, 20]
Generated Node #2: [57, 7, 20] from Operation: 17+3=20
Current State: 83:[57, 7, 20], Operations: ['17+3=20']
Exploring Operation: 7*20=140, Resulting Numbers: [57, 140]
Generated Node #3: [57, 140] from Operation: 7*20=140
Current State: 83:[57, 140], Operations: ['17+3=20', '7*20=140']
Exploring Operation: 140-57=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[57, 17, 3, 7], Operations: []
Exploring Operation: 17*7=119, Resulting Numbers: [57, 3, 119]
Generated Node #0,0: 83:[57, 3, 119] Operation: 17*7=119
Exploring Operation: 17*3=51, Resulting Numbers: [57, 7, 51]
Generated Node #0,1: 83:[57, 7, 51] Operation: 17*3=51
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[57, 7, 51], Operations: ['17*3=51']
Exploring Operation: 7+51=58, Resulting Numbers: [57, 58]
Generated Node #0,1,0: 83:[57, 58] Operation: 7+51=58
Exploring Operation: 57+7=64, Resulting Numbers: [51, 64]
Generated Node #0,1,1: 83:[51, 64] Operation: 57+7=64
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 83:[57, 58], Operations: ['17*3=51', '7+51=58']
Exploring Operation: 57+58=115, Resulting Numbers: [115]
115,83 unequal: No Solution
Exploring Operation: 58-57=1, Resulting Numbers: [1]
1,83 unequal: No Solution
No 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: 83:[51, 64], Operations: ['17*3=51', '57+7=64']
Exploring Operation: 51+64=115, Resulting Numbers: [115]
115,83 unequal: No Solution
Exploring Operation: 64-51=13, Resulting Numbers: [13]
13,83 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: 83:[57, 3, 119], Operations: ['17*7=119']
Exploring Operation: 119-3=116, Resulting Numbers: [57, 116]
Generated Node #0,0,0: 83:[57, 116] Operation: 119-3=116
Exploring Operation: 57+3=60, Resulting Numbers: [119, 60]
Generated Node #0,0,1: 83:[119, 60] Operation: 57+3=60
Moving to Node #0,0,0
Current State: 83:[57, 116], Operations: ['17*7=119', '119-3=116']
Exploring Operation: 116-57=59, Resulting Numbers: [59]
59,83 unequal: No Solution
Exploring Operation: 57+116=173, Resulting Numbers: [173]
173,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[119, 60], Operations: ['17*7=119', '57+3=60']
Exploring Operation: 119-60=59, Resulting Numbers: [59]
59,83 unequal: No Solution
Exploring Operation: 119+60=179, Resulting Numbers: [179]
179,83 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 |
[
16,
12,
38,
32
] | 10 | [
"16-12=4",
"38-32=6",
"4+6=10"
] | Current State: 10:[16, 12, 38, 32], Operations: []
Exploring Operation: 16-12=4, Resulting Numbers: [38, 32, 4]
Generated Node #2: [38, 32, 4] from Operation: 16-12=4
Current State: 10:[38, 32, 4], Operations: ['16-12=4']
Exploring Operation: 38-32=6, Resulting Numbers: [4, 6]
Generated Node #3: [4, 6] from Operation: 38-32=6
Current State: 10:[4, 6], Operations: ['16-12=4', '38-32=6']
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[16, 12, 38, 32], Operations: []
Exploring Operation: 32-16=16, Resulting Numbers: [12, 38, 16]
Generated Node #0,0: 10:[12, 38, 16] Operation: 32-16=16
Exploring Operation: 38-16=22, Resulting Numbers: [12, 32, 22]
Generated Node #0,1: 10:[12, 32, 22] Operation: 38-16=22
Exploring Operation: 38-32=6, Resulting Numbers: [16, 12, 6]
Generated Node #0,2: 10:[16, 12, 6] Operation: 38-32=6
Exploring Operation: 32/16=2, Resulting Numbers: [12, 38, 2]
Generated Node #0,3: 10:[12, 38, 2] Operation: 32/16=2
Moving to Node #0,2
Current State: 10:[16, 12, 6], Operations: ['38-32=6']
Exploring Operation: 12/6=2, Resulting Numbers: [16, 2]
Generated Node #0,2,0: 10:[16, 2] Operation: 12/6=2
Exploring Operation: 16-12=4, Resulting Numbers: [6, 4]
Generated Node #0,2,1: 10:[6, 4] Operation: 16-12=4
Exploring Operation: 12-6=6, Resulting Numbers: [16, 6]
Generated Node #0,2,2: 10:[16, 6] Operation: 12-6=6
Exploring Operation: 16-6=10, Resulting Numbers: [12, 10]
Generated Node #0,2,3: 10:[12, 10] Operation: 16-6=10
Moving to Node #0,3
Current State: 10:[12, 38, 2], Operations: ['32/16=2']
Exploring Operation: 38-2=36, Resulting Numbers: [12, 36]
Generated Node #0,3,0: 10:[12, 36] Operation: 38-2=36
Exploring Operation: 38/2=19, Resulting Numbers: [12, 19]
Generated Node #0,3,1: 10:[12, 19] Operation: 38/2=19
Exploring Operation: 38-12=26, Resulting Numbers: [2, 26]
Generated Node #0,3,2: 10:[2, 26] Operation: 38-12=26
Exploring Operation: 12-2=10, Resulting Numbers: [38, 10]
Generated Node #0,3,3: 10:[38, 10] Operation: 12-2=10
Moving to Node #0,1
Current State: 10:[12, 32, 22], Operations: ['38-16=22']
Exploring Operation: 32-12=20, Resulting Numbers: [22, 20]
Generated Node #0,1,0: 10:[22, 20] Operation: 32-12=20
Exploring Operation: 32-22=10, Resulting Numbers: [12, 10]
Generated Node #0,1,1: 10:[12, 10] Operation: 32-22=10
Exploring Operation: 12+32=44, Resulting Numbers: [22, 44]
Generated Node #0,1,2: 10:[22, 44] Operation: 12+32=44
Exploring Operation: 22-12=10, Resulting Numbers: [32, 10]
Generated Node #0,1,3: 10:[32, 10] Operation: 22-12=10
Moving to Node #0,0
Current State: 10:[12, 38, 16], Operations: ['32-16=16']
Exploring Operation: 16-12=4, Resulting Numbers: [38, 4]
Generated Node #0,0,0: 10:[38, 4] Operation: 16-12=4
Exploring Operation: 38-12=26, Resulting Numbers: [16, 26]
Generated Node #0,0,1: 10:[16, 26] Operation: 38-12=26
Exploring Operation: 12+38=50, Resulting Numbers: [16, 50]
Generated Node #0,0,2: 10:[16, 50] Operation: 12+38=50
Exploring Operation: 38-16=22, Resulting Numbers: [12, 22]
Generated Node #0,0,3: 10:[12, 22] Operation: 38-16=22
Moving to Node #0,2,1
Current State: 10:[6, 4], Operations: ['38-32=6', '16-12=4']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,10 unequal: No Solution
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,10 unequal: No Solution
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[16, 12, 38, 32], Operations: []
Exploring Operation: 38-32=6, Resulting Numbers: [16, 12, 6]
Generated Node #0,2: 10:[16, 12, 6] Operation: 38-32=6
Moving to Node #0,2
Current State: 10:[16, 12, 6], Operations: ['38-32=6']
Exploring Operation: 16-12=4, Resulting Numbers: [6, 4]
Generated Node #0,2,1: 10:[6, 4] Operation: 16-12=4
Moving to Node #0,2,1
Current State: 10:[6, 4], Operations: ['38-32=6', '16-12=4']
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 0.976563 | hs_4 | mult_heuristic |
[
7,
62,
71,
64
] | 89 | [
"62+64=126",
"126/7=18",
"71+18=89"
] | Current State: 89:[7, 62, 71, 64], Operations: []
Exploring Operation: 62+64=126, Resulting Numbers: [7, 71, 126]
Generated Node #2: [7, 71, 126] from Operation: 62+64=126
Current State: 89:[7, 71, 126], Operations: ['62+64=126']
Exploring Operation: 126/7=18, Resulting Numbers: [71, 18]
Generated Node #3: [71, 18] from Operation: 126/7=18
Current State: 89:[71, 18], Operations: ['62+64=126', '126/7=18']
Exploring Operation: 71+18=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[7, 62, 71, 64], Operations: []
Exploring Operation: 7+62=69, Resulting Numbers: [71, 64, 69]
Generated Node #0,0: 89:[71, 64, 69] Operation: 7+62=69
Exploring Operation: 62-7=55, Resulting Numbers: [71, 64, 55]
Generated Node #0,1: 89:[71, 64, 55] Operation: 62-7=55
Exploring Operation: 7+64=71, Resulting Numbers: [62, 71, 71]
Generated Node #0,2: 89:[62, 71, 71] Operation: 7+64=71
Exploring Operation: 7+71=78, Resulting Numbers: [62, 64, 78]
Generated Node #0,3: 89:[62, 64, 78] Operation: 7+71=78
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[71, 64, 69], Operations: ['7+62=69']
Exploring Operation: 71-64=7, Resulting Numbers: [69, 7]
Generated Node #0,0,0: 89:[69, 7] Operation: 71-64=7
Exploring Operation: 71+69=140, Resulting Numbers: [64, 140]
Generated Node #0,0,1: 89:[64, 140] Operation: 71+69=140
Exploring Operation: 71+64=135, Resulting Numbers: [69, 135]
Generated Node #0,0,2: 89:[69, 135] Operation: 71+64=135
Exploring Operation: 64+69=133, Resulting Numbers: [71, 133]
Generated Node #0,0,3: 89:[71, 133] Operation: 64+69=133
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 89:[71, 133], Operations: ['7+62=69', '64+69=133']
Exploring Operation: 71+133=204, Resulting Numbers: [204]
204,89 unequal: No Solution
Exploring Operation: 71*133=9443, Resulting Numbers: [9443]
9443,89 unequal: No Solution
Exploring Operation: 133-71=62, Resulting Numbers: [62]
62,89 unequal: No Solution
No 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: 89:[69, 135], Operations: ['7+62=69', '71+64=135']
Exploring Operation: 69+135=204, Resulting Numbers: [204]
204,89 unequal: No Solution
Exploring Operation: 135-69=66, Resulting Numbers: [66]
66,89 unequal: No Solution
Exploring Operation: 69*135=9315, Resulting Numbers: [9315]
9315,89 unequal: No Solution
No 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: 89:[64, 140], Operations: ['7+62=69', '71+69=140']
Exploring Operation: 64*140=8960, Resulting Numbers: [8960]
8960,89 unequal: No Solution
Exploring Operation: 64+140=204, Resulting Numbers: [204]
204,89 unequal: No Solution
Exploring Operation: 140-64=76, Resulting Numbers: [76]
76,89 unequal: No Solution
No 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: 89:[69, 7], Operations: ['7+62=69', '71-64=7']
Exploring Operation: 69-7=62, Resulting Numbers: [62]
62,89 unequal: No Solution
Exploring Operation: 69+7=76, Resulting Numbers: [76]
76,89 unequal: No Solution
Exploring Operation: 69*7=483, Resulting Numbers: [483]
483,89 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: 89:[62, 71, 71], Operations: ['7+64=71']
Exploring Operation: 71-62=9, Resulting Numbers: [71, 9]
Generated Node #0,2,0: 89:[71, 9] Operation: 71-62=9
Exploring Operation: 62+71=133, Resulting Numbers: [71, 133]
Generated Node #0,2,1: 89:[71, 133] Operation: 62+71=133
Exploring Operation: 62+71=133, Resulting Numbers: [71, 133]
Generated Node #0,2,2: 89:[71, 133] Operation: 62+71=133
Exploring Operation: 71+71=142, Resulting Numbers: [62, 142]
Generated Node #0,2,3: 89:[62, 142] Operation: 71+71=142
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 89:[71, 133], Operations: ['7+64=71', '62+71=133']
Exploring Operation: 71*133=9443, Resulting Numbers: [9443]
9443,89 unequal: No Solution
Exploring Operation: 133-71=62, Resulting Numbers: [62]
62,89 unequal: No Solution
Exploring Operation: 71+133=204, Resulting Numbers: [204]
204,89 unequal: No Solution
No 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: 89:[71, 133], Operations: ['7+64=71', '62+71=133']
Exploring Operation: 71*133=9443, Resulting Numbers: [9443]
9443,89 unequal: No Solution
Exploring Operation: 71+133=204, Resulting Numbers: [204]
204,89 unequal: No Solution
Exploring Operation: 133-71=62, Resulting Numbers: [62]
62,89 unequal: No Solution
No 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: 89:[62, 142], Operations: ['7+64=71', '71+71=142']
Exploring Operation: 62*142=8804, Resulting Numbers: [8804]
8804,89 unequal: No Solution
Exploring Operation: 62+142=204, Resulting Numbers: [204]
204,89 unequal: No Solution
Exploring Operation: 142-62=80, Resulting Numbers: [80]
80,89 unequal: No Solution
No 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: 89:[71, 9], Operations: ['7+64=71', '71-62=9']
Exploring Operation: 71+9=80, Resulting Numbers: [80]
80,89 unequal: No Solution
Exploring Operation: 71-9=62, Resulting Numbers: [62]
62,89 unequal: No Solution
Exploring Operation: 71*9=639, Resulting Numbers: [639]
639,89 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: 89:[62, 64, 78], Operations: ['7+71=78']
Exploring Operation: 64-62=2, Resulting Numbers: [78, 2]
Generated Node #0,3,0: 89:[78, 2] Operation: 64-62=2
Exploring Operation: 62+78=140, Resulting Numbers: [64, 140]
Generated Node #0,3,1: 89:[64, 140] Operation: 62+78=140
Exploring Operation: 64+78=142, Resulting Numbers: [62, 142]
Generated Node #0,3,2: 89:[62, 142] Operation: 64+78=142
Exploring Operation: 62+64=126, Resulting Numbers: [78, 126]
Generated Node #0,3,3: 89:[78, 126] Operation: 62+64=126
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 89:[78, 126], Operations: ['7+71=78', '62+64=126']
Exploring Operation: 78*126=9828, Resulting Numbers: [9828]
9828,89 unequal: No Solution
Exploring Operation: 126-78=48, Resulting Numbers: [48]
48,89 unequal: No Solution
Exploring Operation: 78+126=204, Resulting Numbers: [204]
204,89 unequal: No Solution
No 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: 89:[64, 140], Operations: ['7+71=78', '62+78=140']
Exploring Operation: 64*140=8960, Resulting Numbers: [8960]
8960,89 unequal: No Solution
Exploring Operation: 140-64=76, Resulting Numbers: [76]
76,89 unequal: No Solution
Exploring Operation: 64+140=204, Resulting Numbers: [204]
204,89 unequal: No Solution
No 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: 89:[62, 142], Operations: ['7+71=78', '64+78=142']
Exploring Operation: 142-62=80, Resulting Numbers: [80]
80,89 unequal: No Solution
Exploring Operation: 62+142=204, Resulting Numbers: [204]
204,89 unequal: No Solution
Exploring Operation: 62*142=8804, Resulting Numbers: [8804]
8804,89 unequal: No Solution
No 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: 89:[78, 2], Operations: ['7+71=78', '64-62=2']
Exploring Operation: 78*2=156, Resulting Numbers: [156]
156,89 unequal: No Solution
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,89 unequal: No Solution
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,89 unequal: No Solution
Exploring Operation: 78+2=80, Resulting Numbers: [80]
80,89 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: 89:[71, 64, 55], Operations: ['62-7=55']
Exploring Operation: 71+55=126, Resulting Numbers: [64, 126]
Generated Node #0,1,0: 89:[64, 126] Operation: 71+55=126
Exploring Operation: 64+55=119, Resulting Numbers: [71, 119]
Generated Node #0,1,1: 89:[71, 119] Operation: 64+55=119
Exploring Operation: 71-55=16, Resulting Numbers: [64, 16]
Generated Node #0,1,2: 89:[64, 16] Operation: 71-55=16
Exploring Operation: 71+64=135, Resulting Numbers: [55, 135]
Generated Node #0,1,3: 89:[55, 135] Operation: 71+64=135
Moving to Node #0,1,1
Current State: 89:[71, 119], Operations: ['62-7=55', '64+55=119']
Exploring Operation: 119-71=48, Resulting Numbers: [48]
48,89 unequal: No Solution
Exploring Operation: 71+119=190, Resulting Numbers: [190]
190,89 unequal: No Solution
Exploring Operation: 71*119=8449, Resulting Numbers: [8449]
8449,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[64, 126], Operations: ['62-7=55', '71+55=126']
Exploring Operation: 64+126=190, Resulting Numbers: [190]
190,89 unequal: No Solution
Exploring Operation: 126-64=62, Resulting Numbers: [62]
62,89 unequal: No Solution
Exploring Operation: 64*126=8064, Resulting Numbers: [8064]
8064,89 unequal: No Solution
Moving to Node #0,1,3
Current State: 89:[55, 135], Operations: ['62-7=55', '71+64=135']
Exploring Operation: 55*135=7425, Resulting Numbers: [7425]
7425,89 unequal: No Solution
Exploring Operation: 55+135=190, Resulting Numbers: [190]
190,89 unequal: No Solution
Exploring Operation: 135-55=80, Resulting Numbers: [80]
80,89 unequal: No Solution
Moving to Node #0,1,2
Current State: 89:[64, 16], Operations: ['62-7=55', '71-55=16']
Exploring Operation: 64*16=1024, Resulting Numbers: [1024]
1024,89 unequal: No Solution
Exploring Operation: 64/16=4, Resulting Numbers: [4]
4,89 unequal: No Solution
Exploring Operation: 64-16=48, Resulting Numbers: [48]
48,89 unequal: No Solution
Exploring Operation: 64+16=80, Resulting Numbers: [80]
80,89 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 |
[
18,
47,
2,
64
] | 75 | [
"18*2=36",
"47+64=111",
"111-36=75"
] | Current State: 75:[18, 47, 2, 64], Operations: []
Exploring Operation: 18*2=36, Resulting Numbers: [47, 64, 36]
Generated Node #2: [47, 64, 36] from Operation: 18*2=36
Current State: 75:[47, 64, 36], Operations: ['18*2=36']
Exploring Operation: 47+64=111, Resulting Numbers: [36, 111]
Generated Node #3: [36, 111] from Operation: 47+64=111
Current State: 75:[36, 111], Operations: ['18*2=36', '47+64=111']
Exploring Operation: 111-36=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[18, 47, 2, 64], Operations: []
Exploring Operation: 64-47=17, Resulting Numbers: [18, 2, 17]
Generated Node #0,0: 75:[18, 2, 17] Operation: 64-47=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[18, 2, 17], Operations: ['64-47=17']
Exploring Operation: 18-2=16, Resulting Numbers: [17, 16]
Generated Node #0,0,0: 75:[17, 16] Operation: 18-2=16
Moving to Node #0,0,0
Current State: 75:[17, 16], Operations: ['64-47=17', '18-2=16']
Exploring Operation: 17-16=1, Resulting Numbers: [1]
1,75 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.