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 |
|---|---|---|---|---|---|---|---|---|
[
80,
14,
69,
53
] | 70 | [
"80*14=1120",
"69-53=16",
"1120/16=70"
] | Current State: 70:[80, 14, 69, 53], Operations: []
Exploring Operation: 80*14=1120, Resulting Numbers: [69, 53, 1120]
Generated Node #2: [69, 53, 1120] from Operation: 80*14=1120
Current State: 70:[69, 53, 1120], Operations: ['80*14=1120']
Exploring Operation: 69-53=16, Resulting Numbers: [1120, 16]
Generated Node #3: [1120, 16] from Operation: 69-53=16
Current State: 70:[1120, 16], Operations: ['80*14=1120', '69-53=16']
Exploring Operation: 1120/16=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[80, 14, 69, 53], Operations: []
Exploring Operation: 80-53=27, Resulting Numbers: [14, 69, 27]
Generated Node #0,0: 70:[14, 69, 27] Operation: 80-53=27
Exploring Operation: 69-53=16, Resulting Numbers: [80, 14, 16]
Generated Node #0,1: 70:[80, 14, 16] Operation: 69-53=16
Moving to Node #0,0
Current State: 70:[14, 69, 27], Operations: ['80-53=27']
Exploring Operation: 14+27=41, Resulting Numbers: [69, 41]
Generated Node #0,0,0: 70:[69, 41] Operation: 14+27=41
Exploring Operation: 27-14=13, Resulting Numbers: [69, 13]
Generated Node #0,0,1: 70:[69, 13] Operation: 27-14=13
Moving to Node #0,1
Current State: 70:[80, 14, 16], Operations: ['69-53=16']
Exploring Operation: 80-14=66, Resulting Numbers: [16, 66]
Generated Node #0,1,0: 70:[16, 66] Operation: 80-14=66
Exploring Operation: 80/16=5, Resulting Numbers: [14, 5]
Generated Node #0,1,1: 70:[14, 5] Operation: 80/16=5
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 70:[14, 5], Operations: ['69-53=16', '80/16=5']
Exploring Operation: 14*5=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[80, 14, 69, 53], Operations: []
Exploring Operation: 69-53=16, Resulting Numbers: [80, 14, 16]
Generated Node #0,1: 70:[80, 14, 16] Operation: 69-53=16
Moving to Node #0,1
Current State: 70:[80, 14, 16], Operations: ['69-53=16']
Exploring Operation: 80/16=5, Resulting Numbers: [14, 5]
Generated Node #0,1,1: 70:[14, 5] Operation: 80/16=5
Moving to Node #0,1,1
Current State: 70:[14, 5], Operations: ['69-53=16', '80/16=5']
Exploring Operation: 14*5=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
49,
78,
4,
12
] | 13 | [
"78-49=29",
"4+12=16",
"29-16=13"
] | Current State: 13:[49, 78, 4, 12], Operations: []
Exploring Operation: 78-49=29, Resulting Numbers: [4, 12, 29]
Generated Node #2: [4, 12, 29] from Operation: 78-49=29
Current State: 13:[4, 12, 29], Operations: ['78-49=29']
Exploring Operation: 4+12=16, Resulting Numbers: [29, 16]
Generated Node #3: [29, 16] from Operation: 4+12=16
Current State: 13:[29, 16], Operations: ['78-49=29', '4+12=16']
Exploring Operation: 29-16=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[49, 78, 4, 12], Operations: []
Exploring Operation: 49-4=45, Resulting Numbers: [78, 12, 45]
Generated Node #0,0: 13:[78, 12, 45] Operation: 49-4=45
Exploring Operation: 49-12=37, Resulting Numbers: [78, 4, 37]
Generated Node #0,1: 13:[78, 4, 37] Operation: 49-12=37
Exploring Operation: 78-49=29, Resulting Numbers: [4, 12, 29]
Generated Node #0,2: 13:[4, 12, 29] Operation: 78-49=29
Moving to Node #0,2
Current State: 13:[4, 12, 29], Operations: ['78-49=29']
Exploring Operation: 29-4=25, Resulting Numbers: [12, 25]
Generated Node #0,2,0: 13:[12, 25] Operation: 29-4=25
Exploring Operation: 29-12=17, Resulting Numbers: [4, 17]
Generated Node #0,2,1: 13:[4, 17] Operation: 29-12=17
Exploring Operation: 4+12=16, Resulting Numbers: [29, 16]
Generated Node #0,2,2: 13:[29, 16] Operation: 4+12=16
Moving to Node #0,0
Current State: 13:[78, 12, 45], Operations: ['49-4=45']
Exploring Operation: 45-12=33, Resulting Numbers: [78, 33]
Generated Node #0,0,0: 13:[78, 33] Operation: 45-12=33
Exploring Operation: 78-12=66, Resulting Numbers: [45, 66]
Generated Node #0,0,1: 13:[45, 66] Operation: 78-12=66
Exploring Operation: 78-45=33, Resulting Numbers: [12, 33]
Generated Node #0,0,2: 13:[12, 33] Operation: 78-45=33
Moving to Node #0,1
Current State: 13:[78, 4, 37], Operations: ['49-12=37']
Exploring Operation: 37-4=33, Resulting Numbers: [78, 33]
Generated Node #0,1,0: 13:[78, 33] Operation: 37-4=33
Exploring Operation: 78-4=74, Resulting Numbers: [37, 74]
Generated Node #0,1,1: 13:[37, 74] Operation: 78-4=74
Exploring Operation: 78-37=41, Resulting Numbers: [4, 41]
Generated Node #0,1,2: 13:[4, 41] Operation: 78-37=41
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 13:[4, 41], Operations: ['49-12=37', '78-37=41']
Exploring Operation: 4*41=164, Resulting Numbers: [164]
164,13 unequal: No Solution
Exploring Operation: 4+41=45, Resulting Numbers: [45]
45,13 unequal: No Solution
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 13:[78, 33], Operations: ['49-12=37', '37-4=33']
Exploring Operation: 78*33=2574, Resulting Numbers: [2574]
2574,13 unequal: No Solution
Exploring Operation: 78-33=45, Resulting Numbers: [45]
45,13 unequal: No Solution
Exploring Operation: 78+33=111, Resulting Numbers: [111]
111,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,1
Current State: 13:[37, 74], Operations: ['49-12=37', '78-4=74']
Exploring Operation: 37+74=111, Resulting Numbers: [111]
111,13 unequal: No Solution
Exploring Operation: 74-37=37, Resulting Numbers: [37]
37,13 unequal: No Solution
Exploring Operation: 74/37=2, Resulting Numbers: [2]
2,13 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: 13:[12, 25], Operations: ['78-49=29', '29-4=25']
Exploring Operation: 12*25=300, Resulting Numbers: [300]
300,13 unequal: No Solution
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[49, 78, 4, 12], Operations: []
Exploring Operation: 78-49=29, Resulting Numbers: [4, 12, 29]
Generated Node #0,2: 13:[4, 12, 29] Operation: 78-49=29
Moving to Node #0,2
Current State: 13:[4, 12, 29], Operations: ['78-49=29']
Exploring Operation: 29-4=25, Resulting Numbers: [12, 25]
Generated Node #0,2,0: 13:[12, 25] Operation: 29-4=25
Moving to Node #0,2,0
Current State: 13:[12, 25], Operations: ['78-49=29', '29-4=25']
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 0.976563 | hs_3 | mult_heuristic |
[
29,
79,
26,
65
] | 41 | [
"79-29=50",
"26+65=91",
"91-50=41"
] | Current State: 41:[29, 79, 26, 65], Operations: []
Exploring Operation: 79-29=50, Resulting Numbers: [26, 65, 50]
Generated Node #2: [26, 65, 50] from Operation: 79-29=50
Current State: 41:[26, 65, 50], Operations: ['79-29=50']
Exploring Operation: 26+65=91, Resulting Numbers: [50, 91]
Generated Node #3: [50, 91] from Operation: 26+65=91
Current State: 41:[50, 91], Operations: ['79-29=50', '26+65=91']
Exploring Operation: 91-50=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[29, 79, 26, 65], Operations: []
Exploring Operation: 79-29=50, Resulting Numbers: [26, 65, 50]
Generated Node #0,0: 41:[26, 65, 50] Operation: 79-29=50
Moving to Node #0,0
Current State: 41:[26, 65, 50], Operations: ['79-29=50']
Exploring Operation: 65-26=39, Resulting Numbers: [50, 39]
Generated Node #0,0,0: 41:[50, 39] Operation: 65-26=39
Moving to Node #0,0,0
Current State: 41:[50, 39], Operations: ['79-29=50', '65-26=39']
Exploring Operation: 50-39=11, Resulting Numbers: [11]
11,41 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
30,
36,
30,
27
] | 64 | [
"30/30=1",
"36+27=63",
"1+63=64"
] | Current State: 64:[30, 36, 30, 27], Operations: []
Exploring Operation: 30/30=1, Resulting Numbers: [36, 27, 1]
Generated Node #2: [36, 27, 1] from Operation: 30/30=1
Current State: 64:[36, 27, 1], Operations: ['30/30=1']
Exploring Operation: 36+27=63, Resulting Numbers: [1, 63]
Generated Node #3: [1, 63] from Operation: 36+27=63
Current State: 64:[1, 63], Operations: ['30/30=1', '36+27=63']
Exploring Operation: 1+63=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[30, 36, 30, 27], Operations: []
Exploring Operation: 30-27=3, Resulting Numbers: [36, 30, 3]
Generated Node #0,0: 64:[36, 30, 3] Operation: 30-27=3
Exploring Operation: 36-27=9, Resulting Numbers: [30, 30, 9]
Generated Node #0,1: 64:[30, 30, 9] Operation: 36-27=9
Exploring Operation: 36+27=63, Resulting Numbers: [30, 30, 63]
Generated Node #0,2: 64:[30, 30, 63] Operation: 36+27=63
Moving to Node #0,1
Current State: 64:[30, 30, 9], Operations: ['36-27=9']
Exploring Operation: 30+30=60, Resulting Numbers: [9, 60]
Generated Node #0,1,0: 64:[9, 60] Operation: 30+30=60
Exploring Operation: 30/30=1, Resulting Numbers: [9, 1]
Generated Node #0,1,1: 64:[9, 1] Operation: 30/30=1
Exploring Operation: 30-30=0, Resulting Numbers: [9, 0]
Generated Node #0,1,2: 64:[9, 0] Operation: 30-30=0
Moving to Node #0,2
Current State: 64:[30, 30, 63], Operations: ['36+27=63']
Exploring Operation: 30/30=1, Resulting Numbers: [63, 1]
Generated Node #0,2,0: 64:[63, 1] Operation: 30/30=1
Exploring Operation: 63-30=33, Resulting Numbers: [30, 33]
Generated Node #0,2,1: 64:[30, 33] Operation: 63-30=33
Exploring Operation: 30-30=0, Resulting Numbers: [63, 0]
Generated Node #0,2,2: 64:[63, 0] Operation: 30-30=0
Moving to Node #0,0
Current State: 64:[36, 30, 3], Operations: ['30-27=3']
Exploring Operation: 36+30=66, Resulting Numbers: [3, 66]
Generated Node #0,0,0: 64:[3, 66] Operation: 36+30=66
Exploring Operation: 36-30=6, Resulting Numbers: [3, 6]
Generated Node #0,0,1: 64:[3, 6] Operation: 36-30=6
Exploring Operation: 36-3=33, Resulting Numbers: [30, 33]
Generated Node #0,0,2: 64:[30, 33] Operation: 36-3=33
Moving to Node #0,1,1
Current State: 64:[9, 1], Operations: ['36-27=9', '30/30=1']
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,64 unequal: No Solution
Exploring Operation: 9*1=9, Resulting Numbers: [9]
9,64 unequal: No Solution
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,64 unequal: No Solution
Moving to Node #0,2,0
Current State: 64:[63, 1], Operations: ['36+27=63', '30/30=1']
Exploring Operation: 63/1=63, Resulting Numbers: [63]
63,64 unequal: No Solution
Exploring Operation: 63*1=63, Resulting Numbers: [63]
63,64 unequal: No Solution
Exploring Operation: 63+1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[30, 36, 30, 27], Operations: []
Exploring Operation: 36+27=63, Resulting Numbers: [30, 30, 63]
Generated Node #0,2: 64:[30, 30, 63] Operation: 36+27=63
Moving to Node #0,2
Current State: 64:[30, 30, 63], Operations: ['36+27=63']
Exploring Operation: 30/30=1, Resulting Numbers: [63, 1]
Generated Node #0,2,0: 64:[63, 1] Operation: 30/30=1
Moving to Node #0,2,0
Current State: 64:[63, 1], Operations: ['36+27=63', '30/30=1']
Exploring Operation: 63+1=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 0.980903 | hs_3 | mult_heuristic |
[
3,
8,
93,
31
] | 14 | [
"3+8=11",
"93/31=3",
"11+3=14"
] | Current State: 14:[3, 8, 93, 31], Operations: []
Exploring Operation: 3+8=11, Resulting Numbers: [93, 31, 11]
Generated Node #2: [93, 31, 11] from Operation: 3+8=11
Current State: 14:[93, 31, 11], Operations: ['3+8=11']
Exploring Operation: 93/31=3, Resulting Numbers: [11, 3]
Generated Node #3: [11, 3] from Operation: 93/31=3
Current State: 14:[11, 3], Operations: ['3+8=11', '93/31=3']
Exploring Operation: 11+3=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[3, 8, 93, 31], Operations: []
Exploring Operation: 93-8=85, Resulting Numbers: [3, 31, 85]
Generated Node #0,0: 14:[3, 31, 85] Operation: 93-8=85
Exploring Operation: 31-8=23, Resulting Numbers: [3, 93, 23]
Generated Node #0,1: 14:[3, 93, 23] Operation: 31-8=23
Exploring Operation: 93/3=31, Resulting Numbers: [8, 31, 31]
Generated Node #0,2: 14:[8, 31, 31] Operation: 93/3=31
Exploring Operation: 93-31=62, Resulting Numbers: [3, 8, 62]
Generated Node #0,3: 14:[3, 8, 62] Operation: 93-31=62
Exploring Operation: 93/31=3, Resulting Numbers: [3, 8, 3]
Generated Node #0,4: 14:[3, 8, 3] Operation: 93/31=3
Moving to Node #0,4
Current State: 14:[3, 8, 3], Operations: ['93/31=3']
Exploring Operation: 3-3=0, Resulting Numbers: [8, 0]
Generated Node #0,4,0: 14:[8, 0] Operation: 3-3=0
Exploring Operation: 3+3=6, Resulting Numbers: [8, 6]
Generated Node #0,4,1: 14:[8, 6] Operation: 3+3=6
Exploring Operation: 3/3=1, Resulting Numbers: [8, 1]
Generated Node #0,4,2: 14:[8, 1] Operation: 3/3=1
Exploring Operation: 8-3=5, Resulting Numbers: [3, 5]
Generated Node #0,4,3: 14:[3, 5] Operation: 8-3=5
Exploring Operation: 3*3=9, Resulting Numbers: [8, 9]
Generated Node #0,4,4: 14:[8, 9] Operation: 3*3=9
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 14:[8, 6], Operations: ['93/31=3', '3+3=6']
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[3, 8, 93, 31], Operations: []
Exploring Operation: 93/31=3, Resulting Numbers: [3, 8, 3]
Generated Node #0,4: 14:[3, 8, 3] Operation: 93/31=3
Moving to Node #0,4
Current State: 14:[3, 8, 3], Operations: ['93/31=3']
Exploring Operation: 3+3=6, Resulting Numbers: [8, 6]
Generated Node #0,4,1: 14:[8, 6] Operation: 3+3=6
Moving to Node #0,4,1
Current State: 14:[8, 6], Operations: ['93/31=3', '3+3=6']
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
99,
58,
54,
28
] | 67 | [
"99-58=41",
"54-28=26",
"41+26=67"
] | Current State: 67:[99, 58, 54, 28], Operations: []
Exploring Operation: 99-58=41, Resulting Numbers: [54, 28, 41]
Generated Node #2: [54, 28, 41] from Operation: 99-58=41
Current State: 67:[54, 28, 41], Operations: ['99-58=41']
Exploring Operation: 54-28=26, Resulting Numbers: [41, 26]
Generated Node #3: [41, 26] from Operation: 54-28=26
Current State: 67:[41, 26], Operations: ['99-58=41', '54-28=26']
Exploring Operation: 41+26=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[99, 58, 54, 28], Operations: []
Exploring Operation: 99-28=71, Resulting Numbers: [58, 54, 71]
Generated Node #0,0: 67:[58, 54, 71] Operation: 99-28=71
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[58, 54, 71], Operations: ['99-28=71']
Exploring Operation: 58+54=112, Resulting Numbers: [71, 112]
Generated Node #0,0,0: 67:[71, 112] Operation: 58+54=112
Moving to Node #0,0,0
Current State: 67:[71, 112], Operations: ['99-28=71', '58+54=112']
Exploring Operation: 112-71=41, Resulting Numbers: [41]
41,67 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 |
[
74,
90,
88,
35
] | 63 | [
"74+88=162",
"35*162=5670",
"5670/90=63"
] | Current State: 63:[74, 90, 88, 35], Operations: []
Exploring Operation: 74+88=162, Resulting Numbers: [90, 35, 162]
Generated Node #2: [90, 35, 162] from Operation: 74+88=162
Current State: 63:[90, 35, 162], Operations: ['74+88=162']
Exploring Operation: 35*162=5670, Resulting Numbers: [90, 5670]
Generated Node #3: [90, 5670] from Operation: 35*162=5670
Current State: 63:[90, 5670], Operations: ['74+88=162', '35*162=5670']
Exploring Operation: 5670/90=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[74, 90, 88, 35], Operations: []
Exploring Operation: 90-74=16, Resulting Numbers: [88, 35, 16]
Generated Node #0,0: 63:[88, 35, 16] Operation: 90-74=16
Exploring Operation: 90-88=2, Resulting Numbers: [74, 35, 2]
Generated Node #0,1: 63:[74, 35, 2] Operation: 90-88=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 63:[74, 35, 2], Operations: ['90-88=2']
Exploring Operation: 74-35=39, Resulting Numbers: [2, 39]
Generated Node #0,1,0: 63:[2, 39] Operation: 74-35=39
Exploring Operation: 35*2=70, Resulting Numbers: [74, 70]
Generated Node #0,1,1: 63:[74, 70] Operation: 35*2=70
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 63:[74, 70], Operations: ['90-88=2', '35*2=70']
Exploring Operation: 74+70=144, Resulting Numbers: [144]
144,63 unequal: No Solution
Exploring Operation: 74-70=4, Resulting Numbers: [4]
4,63 unequal: No Solution
No 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: 63:[2, 39], Operations: ['90-88=2', '74-35=39']
Exploring Operation: 2*39=78, Resulting Numbers: [78]
78,63 unequal: No Solution
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[88, 35, 16], Operations: ['90-74=16']
Exploring Operation: 88-16=72, Resulting Numbers: [35, 72]
Generated Node #0,0,0: 63:[35, 72] Operation: 88-16=72
Exploring Operation: 88-35=53, Resulting Numbers: [16, 53]
Generated Node #0,0,1: 63:[16, 53] Operation: 88-35=53
Moving to Node #0,0,1
Current State: 63:[16, 53], Operations: ['90-74=16', '88-35=53']
Exploring Operation: 16+53=69, Resulting Numbers: [69]
69,63 unequal: No Solution
Exploring Operation: 53-16=37, Resulting Numbers: [37]
37,63 unequal: No Solution
Moving to Node #0,0,0
Current State: 63:[35, 72], Operations: ['90-74=16', '88-16=72']
Exploring Operation: 35+72=107, Resulting Numbers: [107]
107,63 unequal: No Solution
Exploring Operation: 72-35=37, Resulting Numbers: [37]
37,63 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 |
[
6,
2,
13,
23
] | 57 | [
"6*13=78",
"23-2=21",
"78-21=57"
] | Current State: 57:[6, 2, 13, 23], Operations: []
Exploring Operation: 6*13=78, Resulting Numbers: [2, 23, 78]
Generated Node #2: [2, 23, 78] from Operation: 6*13=78
Current State: 57:[2, 23, 78], Operations: ['6*13=78']
Exploring Operation: 23-2=21, Resulting Numbers: [78, 21]
Generated Node #3: [78, 21] from Operation: 23-2=21
Current State: 57:[78, 21], Operations: ['6*13=78', '23-2=21']
Exploring Operation: 78-21=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[6, 2, 13, 23], Operations: []
Exploring Operation: 6-2=4, Resulting Numbers: [13, 23, 4]
Generated Node #0,0: 57:[13, 23, 4] Operation: 6-2=4
Exploring Operation: 23-6=17, Resulting Numbers: [2, 13, 17]
Generated Node #0,1: 57:[2, 13, 17] Operation: 23-6=17
Exploring Operation: 13-6=7, Resulting Numbers: [2, 23, 7]
Generated Node #0,2: 57:[2, 23, 7] Operation: 13-6=7
Exploring Operation: 6+13=19, Resulting Numbers: [2, 23, 19]
Generated Node #0,3: 57:[2, 23, 19] Operation: 6+13=19
Exploring Operation: 6/2=3, Resulting Numbers: [13, 23, 3]
Generated Node #0,4: 57:[13, 23, 3] Operation: 6/2=3
Moving to Node #0,3
Current State: 57:[2, 23, 19], Operations: ['6+13=19']
Exploring Operation: 23-19=4, Resulting Numbers: [2, 4]
Generated Node #0,3,0: 57:[2, 4] Operation: 23-19=4
Exploring Operation: 19-2=17, Resulting Numbers: [23, 17]
Generated Node #0,3,1: 57:[23, 17] Operation: 19-2=17
Exploring Operation: 2+19=21, Resulting Numbers: [23, 21]
Generated Node #0,3,2: 57:[23, 21] Operation: 2+19=21
Exploring Operation: 2+23=25, Resulting Numbers: [19, 25]
Generated Node #0,3,3: 57:[19, 25] Operation: 2+23=25
Exploring Operation: 23-2=21, Resulting Numbers: [19, 21]
Generated Node #0,3,4: 57:[19, 21] Operation: 23-2=21
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 57:[2, 4], Operations: ['6+13=19', '23-19=4']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,57 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 57:[19, 21], Operations: ['6+13=19', '23-2=21']
Exploring Operation: 19+21=40, Resulting Numbers: [40]
40,57 unequal: No Solution
Exploring Operation: 19*21=399, Resulting Numbers: [399]
399,57 unequal: No Solution
Exploring Operation: 21-19=2, Resulting Numbers: [2]
2,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 57:[23, 17], Operations: ['6+13=19', '19-2=17']
Exploring Operation: 23+17=40, Resulting Numbers: [40]
40,57 unequal: No Solution
Exploring Operation: 23*17=391, Resulting Numbers: [391]
391,57 unequal: No Solution
Exploring Operation: 23-17=6, Resulting Numbers: [6]
6,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 57:[23, 21], Operations: ['6+13=19', '2+19=21']
Exploring Operation: 23+21=44, Resulting Numbers: [44]
44,57 unequal: No Solution
Exploring Operation: 23*21=483, Resulting Numbers: [483]
483,57 unequal: No Solution
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 57:[19, 25], Operations: ['6+13=19', '2+23=25']
Exploring Operation: 25-19=6, Resulting Numbers: [6]
6,57 unequal: No Solution
Exploring Operation: 19*25=475, Resulting Numbers: [475]
475,57 unequal: No Solution
Exploring Operation: 19+25=44, Resulting Numbers: [44]
44,57 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: 57:[2, 23, 7], Operations: ['13-6=7']
Exploring Operation: 2+23=25, Resulting Numbers: [7, 25]
Generated Node #0,2,0: 57:[7, 25] Operation: 2+23=25
Exploring Operation: 7-2=5, Resulting Numbers: [23, 5]
Generated Node #0,2,1: 57:[23, 5] Operation: 7-2=5
Exploring Operation: 23-7=16, Resulting Numbers: [2, 16]
Generated Node #0,2,2: 57:[2, 16] Operation: 23-7=16
Exploring Operation: 23-2=21, Resulting Numbers: [7, 21]
Generated Node #0,2,3: 57:[7, 21] Operation: 23-2=21
Exploring Operation: 2*7=14, Resulting Numbers: [23, 14]
Generated Node #0,2,4: 57:[23, 14] Operation: 2*7=14
Moving to Node #0,1
Current State: 57:[2, 13, 17], Operations: ['23-6=17']
Exploring Operation: 2+17=19, Resulting Numbers: [13, 19]
Generated Node #0,1,0: 57:[13, 19] Operation: 2+17=19
Exploring Operation: 17-13=4, Resulting Numbers: [2, 4]
Generated Node #0,1,1: 57:[2, 4] Operation: 17-13=4
Exploring Operation: 13-2=11, Resulting Numbers: [17, 11]
Generated Node #0,1,2: 57:[17, 11] Operation: 13-2=11
Exploring Operation: 2*13=26, Resulting Numbers: [17, 26]
Generated Node #0,1,3: 57:[17, 26] Operation: 2*13=26
Exploring Operation: 2+13=15, Resulting Numbers: [17, 15]
Generated Node #0,1,4: 57:[17, 15] Operation: 2+13=15
Moving to Node #0,4
Current State: 57:[13, 23, 3], Operations: ['6/2=3']
Exploring Operation: 13-3=10, Resulting Numbers: [23, 10]
Generated Node #0,4,0: 57:[23, 10] Operation: 13-3=10
Exploring Operation: 13+3=16, Resulting Numbers: [23, 16]
Generated Node #0,4,1: 57:[23, 16] Operation: 13+3=16
Exploring Operation: 23-3=20, Resulting Numbers: [13, 20]
Generated Node #0,4,2: 57:[13, 20] Operation: 23-3=20
Exploring Operation: 23-13=10, Resulting Numbers: [3, 10]
Generated Node #0,4,3: 57:[3, 10] Operation: 23-13=10
Exploring Operation: 23+3=26, Resulting Numbers: [13, 26]
Generated Node #0,4,4: 57:[13, 26] Operation: 23+3=26
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 57:[23, 16], Operations: ['6/2=3', '13+3=16']
Exploring Operation: 23+16=39, Resulting Numbers: [39]
39,57 unequal: No Solution
Exploring Operation: 23*16=368, Resulting Numbers: [368]
368,57 unequal: No Solution
Exploring Operation: 23-16=7, Resulting Numbers: [7]
7,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 57:[13, 20], Operations: ['6/2=3', '23-3=20']
Exploring Operation: 13+20=33, Resulting Numbers: [33]
33,57 unequal: No Solution
Exploring Operation: 13*20=260, Resulting Numbers: [260]
260,57 unequal: No Solution
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 57:[3, 10], Operations: ['6/2=3', '23-13=10']
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,57 unequal: No Solution
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,57 unequal: No Solution
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 57:[23, 10], Operations: ['6/2=3', '13-3=10']
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,57 unequal: No Solution
Exploring Operation: 23*10=230, Resulting Numbers: [230]
230,57 unequal: No Solution
Exploring Operation: 23+10=33, Resulting Numbers: [33]
33,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 57:[13, 26], Operations: ['6/2=3', '23+3=26']
Exploring Operation: 26/13=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 26-13=13, Resulting Numbers: [13]
13,57 unequal: No Solution
Exploring Operation: 13+26=39, Resulting Numbers: [39]
39,57 unequal: No Solution
Exploring Operation: 13*26=338, Resulting Numbers: [338]
338,57 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: 57:[13, 23, 4], Operations: ['6-2=4']
Exploring Operation: 23-13=10, Resulting Numbers: [4, 10]
Generated Node #0,0,0: 57:[4, 10] Operation: 23-13=10
Exploring Operation: 23-4=19, Resulting Numbers: [13, 19]
Generated Node #0,0,1: 57:[13, 19] Operation: 23-4=19
Exploring Operation: 13-4=9, Resulting Numbers: [23, 9]
Generated Node #0,0,2: 57:[23, 9] Operation: 13-4=9
Exploring Operation: 13+4=17, Resulting Numbers: [23, 17]
Generated Node #0,0,3: 57:[23, 17] Operation: 13+4=17
Exploring Operation: 13*4=52, Resulting Numbers: [23, 52]
Generated Node #0,0,4: 57:[23, 52] Operation: 13*4=52
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 57:[13, 19], Operations: ['6-2=4', '23-4=19']
Exploring Operation: 19-13=6, Resulting Numbers: [6]
6,57 unequal: No Solution
Exploring Operation: 13*19=247, Resulting Numbers: [247]
247,57 unequal: No Solution
Exploring Operation: 13+19=32, Resulting Numbers: [32]
32,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 57:[23, 17], Operations: ['6-2=4', '13+4=17']
Exploring Operation: 23+17=40, Resulting Numbers: [40]
40,57 unequal: No Solution
Exploring Operation: 23*17=391, Resulting Numbers: [391]
391,57 unequal: No Solution
Exploring Operation: 23-17=6, Resulting Numbers: [6]
6,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 57:[4, 10], Operations: ['6-2=4', '23-13=10']
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,57 unequal: No Solution
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,57 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 57:[23, 52], Operations: ['6-2=4', '13*4=52']
Exploring Operation: 23*52=1196, Resulting Numbers: [1196]
1196,57 unequal: No Solution
Exploring Operation: 23+52=75, Resulting Numbers: [75]
75,57 unequal: No Solution
Exploring Operation: 52-23=29, Resulting Numbers: [29]
29,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 57:[23, 9], Operations: ['6-2=4', '13-4=9']
Exploring Operation: 23*9=207, Resulting Numbers: [207]
207,57 unequal: No Solution
Exploring Operation: 23+9=32, Resulting Numbers: [32]
32,57 unequal: No Solution
Exploring Operation: 23-9=14, Resulting Numbers: [14]
14,57 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: 57:[2, 4], Operations: ['23-6=17', '17-13=4']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,57 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Moving to Node #0,2,2
Current State: 57:[2, 16], Operations: ['13-6=7', '23-7=16']
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,57 unequal: No Solution
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,57 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,57 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Moving to Node #0,1,0
Current State: 57:[13, 19], Operations: ['23-6=17', '2+17=19']
Exploring Operation: 13+19=32, Resulting Numbers: [32]
32,57 unequal: No Solution
Exploring Operation: 19-13=6, Resulting Numbers: [6]
6,57 unequal: No Solution
Exploring Operation: 13*19=247, Resulting Numbers: [247]
247,57 unequal: No Solution
Moving to Node #0,2,3
Current State: 57:[7, 21], Operations: ['13-6=7', '23-2=21']
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,57 unequal: No Solution
Exploring Operation: 7+21=28, Resulting Numbers: [28]
28,57 unequal: No Solution
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 7*21=147, Resulting Numbers: [147]
147,57 unequal: No Solution
Moving to Node #0,2,1
Current State: 57:[23, 5], Operations: ['13-6=7', '7-2=5']
Exploring Operation: 23*5=115, Resulting Numbers: [115]
115,57 unequal: No Solution
Exploring Operation: 23+5=28, Resulting Numbers: [28]
28,57 unequal: No Solution
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,57 unequal: No Solution
Moving to Node #0,1,4
Current State: 57:[17, 15], Operations: ['23-6=17', '2+13=15']
Exploring Operation: 17*15=255, Resulting Numbers: [255]
255,57 unequal: No Solution
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 17+15=32, Resulting Numbers: [32]
32,57 unequal: No Solution
Moving to Node #0,1,3
Current State: 57:[17, 26], Operations: ['23-6=17', '2*13=26']
Exploring Operation: 17*26=442, Resulting Numbers: [442]
442,57 unequal: No Solution
Exploring Operation: 17+26=43, Resulting Numbers: [43]
43,57 unequal: No Solution
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,57 unequal: No Solution
Moving to Node #0,2,4
Current State: 57:[23, 14], Operations: ['13-6=7', '2*7=14']
Exploring Operation: 23*14=322, Resulting Numbers: [322]
322,57 unequal: No Solution
Exploring Operation: 23-14=9, Resulting Numbers: [9]
9,57 unequal: No Solution
Exploring Operation: 23+14=37, Resulting Numbers: [37]
37,57 unequal: No Solution
Moving to Node #0,1,2
Current State: 57:[17, 11], Operations: ['23-6=17', '13-2=11']
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,57 unequal: No Solution
Exploring Operation: 17*11=187, Resulting Numbers: [187]
187,57 unequal: No Solution
Exploring Operation: 17+11=28, Resulting Numbers: [28]
28,57 unequal: No Solution
Moving to Node #0,2,0
Current State: 57:[7, 25], Operations: ['13-6=7', '2+23=25']
Exploring Operation: 7+25=32, Resulting Numbers: [32]
32,57 unequal: No Solution
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,57 unequal: No Solution
Exploring Operation: 7*25=175, Resulting Numbers: [175]
175,57 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
27,
98,
5,
47
] | 72 | [
"27+98=125",
"125/5=25",
"47+25=72"
] | Current State: 72:[27, 98, 5, 47], Operations: []
Exploring Operation: 27+98=125, Resulting Numbers: [5, 47, 125]
Generated Node #2: [5, 47, 125] from Operation: 27+98=125
Current State: 72:[5, 47, 125], Operations: ['27+98=125']
Exploring Operation: 125/5=25, Resulting Numbers: [47, 25]
Generated Node #3: [47, 25] from Operation: 125/5=25
Current State: 72:[47, 25], Operations: ['27+98=125', '125/5=25']
Exploring Operation: 47+25=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[27, 98, 5, 47], Operations: []
Exploring Operation: 98-27=71, Resulting Numbers: [5, 47, 71]
Generated Node #0,0: 72:[5, 47, 71] Operation: 98-27=71
Exploring Operation: 98-47=51, Resulting Numbers: [27, 5, 51]
Generated Node #0,1: 72:[27, 5, 51] Operation: 98-47=51
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[5, 47, 71], Operations: ['98-27=71']
Exploring Operation: 71-47=24, Resulting Numbers: [5, 24]
Generated Node #0,0,0: 72:[5, 24] Operation: 71-47=24
Exploring Operation: 47-5=42, Resulting Numbers: [71, 42]
Generated Node #0,0,1: 72:[71, 42] Operation: 47-5=42
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 72:[5, 24], Operations: ['98-27=71', '71-47=24']
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,72 unequal: No Solution
Exploring Operation: 5+24=29, Resulting Numbers: [29]
29,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 72:[71, 42], Operations: ['98-27=71', '47-5=42']
Exploring Operation: 71-42=29, Resulting Numbers: [29]
29,72 unequal: No Solution
Exploring Operation: 71+42=113, Resulting Numbers: [113]
113,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[27, 5, 51], Operations: ['98-47=51']
Exploring Operation: 27+51=78, Resulting Numbers: [5, 78]
Generated Node #0,1,0: 72:[5, 78] Operation: 27+51=78
Exploring Operation: 51-27=24, Resulting Numbers: [5, 24]
Generated Node #0,1,1: 72:[5, 24] Operation: 51-27=24
Moving to Node #0,1,1
Current State: 72:[5, 24], Operations: ['98-47=51', '51-27=24']
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,72 unequal: No Solution
Exploring Operation: 5+24=29, Resulting Numbers: [29]
29,72 unequal: No Solution
Moving to Node #0,1,0
Current State: 72:[5, 78], Operations: ['98-47=51', '27+51=78']
Exploring Operation: 5+78=83, Resulting Numbers: [83]
83,72 unequal: No Solution
Exploring Operation: 78-5=73, Resulting Numbers: [73]
73,72 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 |
[
73,
25,
97,
39
] | 38 | [
"73+25=98",
"97+39=136",
"136-98=38"
] | Current State: 38:[73, 25, 97, 39], Operations: []
Exploring Operation: 73+25=98, Resulting Numbers: [97, 39, 98]
Generated Node #2: [97, 39, 98] from Operation: 73+25=98
Current State: 38:[97, 39, 98], Operations: ['73+25=98']
Exploring Operation: 97+39=136, Resulting Numbers: [98, 136]
Generated Node #3: [98, 136] from Operation: 97+39=136
Current State: 38:[98, 136], Operations: ['73+25=98', '97+39=136']
Exploring Operation: 136-98=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[73, 25, 97, 39], Operations: []
Exploring Operation: 73-39=34, Resulting Numbers: [25, 97, 34]
Generated Node #0,0: 38:[25, 97, 34] Operation: 73-39=34
Exploring Operation: 97-73=24, Resulting Numbers: [25, 39, 24]
Generated Node #0,1: 38:[25, 39, 24] Operation: 97-73=24
Exploring Operation: 97-39=58, Resulting Numbers: [73, 25, 58]
Generated Node #0,2: 38:[73, 25, 58] Operation: 97-39=58
Moving to Node #0,1
Current State: 38:[25, 39, 24], Operations: ['97-73=24']
Exploring Operation: 25-24=1, Resulting Numbers: [39, 1]
Generated Node #0,1,0: 38:[39, 1] Operation: 25-24=1
Exploring Operation: 39-24=15, Resulting Numbers: [25, 15]
Generated Node #0,1,1: 38:[25, 15] Operation: 39-24=15
Exploring Operation: 39-25=14, Resulting Numbers: [24, 14]
Generated Node #0,1,2: 38:[24, 14] Operation: 39-25=14
Moving to Node #0,2
Current State: 38:[73, 25, 58], Operations: ['97-39=58']
Exploring Operation: 58-25=33, Resulting Numbers: [73, 33]
Generated Node #0,2,0: 38:[73, 33] Operation: 58-25=33
Exploring Operation: 73-58=15, Resulting Numbers: [25, 15]
Generated Node #0,2,1: 38:[25, 15] Operation: 73-58=15
Exploring Operation: 73-25=48, Resulting Numbers: [58, 48]
Generated Node #0,2,2: 38:[58, 48] Operation: 73-25=48
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 38:[25, 15], Operations: ['97-39=58', '73-58=15']
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,38 unequal: No Solution
Exploring Operation: 25*15=375, Resulting Numbers: [375]
375,38 unequal: No Solution
Exploring Operation: 25+15=40, Resulting Numbers: [40]
40,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,2,2
Current State: 38:[58, 48], Operations: ['97-39=58', '73-25=48']
Exploring Operation: 58+48=106, Resulting Numbers: [106]
106,38 unequal: No Solution
Exploring Operation: 58*48=2784, Resulting Numbers: [2784]
2784,38 unequal: No Solution
Exploring Operation: 58-48=10, Resulting Numbers: [10]
10,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,2,0
Current State: 38:[73, 33], Operations: ['97-39=58', '58-25=33']
Exploring Operation: 73+33=106, Resulting Numbers: [106]
106,38 unequal: No Solution
Exploring Operation: 73*33=2409, Resulting Numbers: [2409]
2409,38 unequal: No Solution
Exploring Operation: 73-33=40, Resulting Numbers: [40]
40,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:[25, 97, 34], Operations: ['73-39=34']
Exploring Operation: 34-25=9, Resulting Numbers: [97, 9]
Generated Node #0,0,0: 38:[97, 9] Operation: 34-25=9
Exploring Operation: 97-25=72, Resulting Numbers: [34, 72]
Generated Node #0,0,1: 38:[34, 72] Operation: 97-25=72
Exploring Operation: 97-34=63, Resulting Numbers: [25, 63]
Generated Node #0,0,2: 38:[25, 63] Operation: 97-34=63
Moving to Node #0,1,0
Current State: 38:[39, 1], Operations: ['97-73=24', '25-24=1']
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,38 unequal: No Solution
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,38 unequal: No Solution
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[73, 25, 97, 39], Operations: []
Exploring Operation: 97-73=24, Resulting Numbers: [25, 39, 24]
Generated Node #0,1: 38:[25, 39, 24] Operation: 97-73=24
Moving to Node #0,1
Current State: 38:[25, 39, 24], Operations: ['97-73=24']
Exploring Operation: 25-24=1, Resulting Numbers: [39, 1]
Generated Node #0,1,0: 38:[39, 1] Operation: 25-24=1
Moving to Node #0,1,0
Current State: 38:[39, 1], Operations: ['97-73=24', '25-24=1']
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 0.975694 | hs_3 | sum_heuristic |
[
79,
13,
72,
30
] | 50 | [
"79+13=92",
"72-30=42",
"92-42=50"
] | Current State: 50:[79, 13, 72, 30], Operations: []
Exploring Operation: 79+13=92, Resulting Numbers: [72, 30, 92]
Generated Node #2: [72, 30, 92] from Operation: 79+13=92
Current State: 50:[72, 30, 92], Operations: ['79+13=92']
Exploring Operation: 72-30=42, Resulting Numbers: [92, 42]
Generated Node #3: [92, 42] from Operation: 72-30=42
Current State: 50:[92, 42], Operations: ['79+13=92', '72-30=42']
Exploring Operation: 92-42=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[79, 13, 72, 30], Operations: []
Exploring Operation: 79-72=7, Resulting Numbers: [13, 30, 7]
Generated Node #0,0: 50:[13, 30, 7] Operation: 79-72=7
Moving to Node #0,0
Current State: 50:[13, 30, 7], Operations: ['79-72=7']
Exploring Operation: 30-7=23, Resulting Numbers: [13, 23]
Generated Node #0,0,0: 50:[13, 23] Operation: 30-7=23
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 50:[13, 23], Operations: ['79-72=7', '30-7=23']
Exploring Operation: 23-13=10, Resulting Numbers: [10]
10,50 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 |
[
24,
93,
18,
32
] | 19 | [
"93-24=69",
"18+32=50",
"69-50=19"
] | Current State: 19:[24, 93, 18, 32], Operations: []
Exploring Operation: 93-24=69, Resulting Numbers: [18, 32, 69]
Generated Node #2: [18, 32, 69] from Operation: 93-24=69
Current State: 19:[18, 32, 69], Operations: ['93-24=69']
Exploring Operation: 18+32=50, Resulting Numbers: [69, 50]
Generated Node #3: [69, 50] from Operation: 18+32=50
Current State: 19:[69, 50], Operations: ['93-24=69', '18+32=50']
Exploring Operation: 69-50=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[24, 93, 18, 32], Operations: []
Exploring Operation: 93-24=69, Resulting Numbers: [18, 32, 69]
Generated Node #0,0: 19:[18, 32, 69] Operation: 93-24=69
Exploring Operation: 93-32=61, Resulting Numbers: [24, 18, 61]
Generated Node #0,1: 19:[24, 18, 61] Operation: 93-32=61
Exploring Operation: 93-18=75, Resulting Numbers: [24, 32, 75]
Generated Node #0,2: 19:[24, 32, 75] Operation: 93-18=75
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[24, 18, 61], Operations: ['93-32=61']
Exploring Operation: 24-18=6, Resulting Numbers: [61, 6]
Generated Node #0,1,0: 19:[61, 6] Operation: 24-18=6
Exploring Operation: 61-18=43, Resulting Numbers: [24, 43]
Generated Node #0,1,1: 19:[24, 43] Operation: 61-18=43
Exploring Operation: 61-24=37, Resulting Numbers: [18, 37]
Generated Node #0,1,2: 19:[18, 37] Operation: 61-24=37
Moving to Node #0,1,2
Current State: 19:[18, 37], Operations: ['93-32=61', '61-24=37']
Exploring Operation: 37-18=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[24, 93, 18, 32], Operations: []
Exploring Operation: 93-32=61, Resulting Numbers: [24, 18, 61]
Generated Node #0,1: 19:[24, 18, 61] Operation: 93-32=61
Moving to Node #0,1
Current State: 19:[24, 18, 61], Operations: ['93-32=61']
Exploring Operation: 61-24=37, Resulting Numbers: [18, 37]
Generated Node #0,1,2: 19:[18, 37] Operation: 61-24=37
Moving to Node #0,1,2
Current State: 19:[18, 37], Operations: ['93-32=61', '61-24=37']
Exploring Operation: 37-18=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
15,
77,
66,
55
] | 17 | [
"77+55=132",
"132/66=2",
"15+2=17"
] | Current State: 17:[15, 77, 66, 55], Operations: []
Exploring Operation: 77+55=132, Resulting Numbers: [15, 66, 132]
Generated Node #2: [15, 66, 132] from Operation: 77+55=132
Current State: 17:[15, 66, 132], Operations: ['77+55=132']
Exploring Operation: 132/66=2, Resulting Numbers: [15, 2]
Generated Node #3: [15, 2] from Operation: 132/66=2
Current State: 17:[15, 2], Operations: ['77+55=132', '132/66=2']
Exploring Operation: 15+2=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[15, 77, 66, 55], Operations: []
Exploring Operation: 66-15=51, Resulting Numbers: [77, 55, 51]
Generated Node #0,0: 17:[77, 55, 51] Operation: 66-15=51
Exploring Operation: 77-66=11, Resulting Numbers: [15, 55, 11]
Generated Node #0,1: 17:[15, 55, 11] Operation: 77-66=11
Exploring Operation: 77-15=62, Resulting Numbers: [66, 55, 62]
Generated Node #0,2: 17:[66, 55, 62] Operation: 77-15=62
Exploring Operation: 77-55=22, Resulting Numbers: [15, 66, 22]
Generated Node #0,3: 17:[15, 66, 22] Operation: 77-55=22
Exploring Operation: 66-55=11, Resulting Numbers: [15, 77, 11]
Generated Node #0,4: 17:[15, 77, 11] Operation: 66-55=11
Start Sub Search at level 1: Moving to Node #0,1
Current State: 17:[15, 55, 11], Operations: ['77-66=11']
Exploring Operation: 55-11=44, Resulting Numbers: [15, 44]
Generated Node #0,1,0: 17:[15, 44] Operation: 55-11=44
Exploring Operation: 15-11=4, Resulting Numbers: [55, 4]
Generated Node #0,1,1: 17:[55, 4] Operation: 15-11=4
Exploring Operation: 55/11=5, Resulting Numbers: [15, 5]
Generated Node #0,1,2: 17:[15, 5] Operation: 55/11=5
Exploring Operation: 55-15=40, Resulting Numbers: [11, 40]
Generated Node #0,1,3: 17:[11, 40] Operation: 55-15=40
Exploring Operation: 15+11=26, Resulting Numbers: [55, 26]
Generated Node #0,1,4: 17:[55, 26] Operation: 15+11=26
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 17:[15, 5], Operations: ['77-66=11', '55/11=5']
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,17 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,17 unequal: No Solution
Exploring Operation: 15*5=75, Resulting Numbers: [75]
75,17 unequal: No Solution
Exploring Operation: 15+5=20, Resulting Numbers: [20]
20,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 17:[15, 44], Operations: ['77-66=11', '55-11=44']
Exploring Operation: 15*44=660, Resulting Numbers: [660]
660,17 unequal: No Solution
Exploring Operation: 15+44=59, Resulting Numbers: [59]
59,17 unequal: No Solution
Exploring Operation: 44-15=29, Resulting Numbers: [29]
29,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 17:[11, 40], Operations: ['77-66=11', '55-15=40']
Exploring Operation: 11+40=51, Resulting Numbers: [51]
51,17 unequal: No Solution
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,17 unequal: No Solution
Exploring Operation: 11*40=440, Resulting Numbers: [440]
440,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 17:[55, 26], Operations: ['77-66=11', '15+11=26']
Exploring Operation: 55-26=29, Resulting Numbers: [29]
29,17 unequal: No Solution
Exploring Operation: 55+26=81, Resulting Numbers: [81]
81,17 unequal: No Solution
Exploring Operation: 55*26=1430, Resulting Numbers: [1430]
1430,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 17:[55, 4], Operations: ['77-66=11', '15-11=4']
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,17 unequal: No Solution
Exploring Operation: 55+4=59, Resulting Numbers: [59]
59,17 unequal: No Solution
Exploring Operation: 55*4=220, Resulting Numbers: [220]
220,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 17:[15, 66, 22], Operations: ['77-55=22']
Exploring Operation: 66-15=51, Resulting Numbers: [22, 51]
Generated Node #0,3,0: 17:[22, 51] Operation: 66-15=51
Exploring Operation: 66/22=3, Resulting Numbers: [15, 3]
Generated Node #0,3,1: 17:[15, 3] Operation: 66/22=3
Exploring Operation: 22-15=7, Resulting Numbers: [66, 7]
Generated Node #0,3,2: 17:[66, 7] Operation: 22-15=7
Exploring Operation: 66-22=44, Resulting Numbers: [15, 44]
Generated Node #0,3,3: 17:[15, 44] Operation: 66-22=44
Exploring Operation: 15+66=81, Resulting Numbers: [22, 81]
Generated Node #0,3,4: 17:[22, 81] Operation: 15+66=81
Moving to Node #0,3,1
Current State: 17:[15, 3], Operations: ['77-55=22', '66/22=3']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,17 unequal: No Solution
Exploring Operation: 15*3=45, Resulting Numbers: [45]
45,17 unequal: No Solution
Exploring Operation: 15+3=18, Resulting Numbers: [18]
18,17 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,17 unequal: No Solution
Moving to Node #0,3,3
Current State: 17:[15, 44], Operations: ['77-55=22', '66-22=44']
Exploring Operation: 15*44=660, Resulting Numbers: [660]
660,17 unequal: No Solution
Exploring Operation: 44-15=29, Resulting Numbers: [29]
29,17 unequal: No Solution
Exploring Operation: 15+44=59, Resulting Numbers: [59]
59,17 unequal: No Solution
Moving to Node #0,3,0
Current State: 17:[22, 51], Operations: ['77-55=22', '66-15=51']
Exploring Operation: 22+51=73, Resulting Numbers: [73]
73,17 unequal: No Solution
Exploring Operation: 22*51=1122, Resulting Numbers: [1122]
1122,17 unequal: No Solution
Exploring Operation: 51-22=29, Resulting Numbers: [29]
29,17 unequal: No Solution
Moving to Node #0,3,2
Current State: 17:[66, 7], Operations: ['77-55=22', '22-15=7']
Exploring Operation: 66*7=462, Resulting Numbers: [462]
462,17 unequal: No Solution
Exploring Operation: 66+7=73, Resulting Numbers: [73]
73,17 unequal: No Solution
Exploring Operation: 66-7=59, Resulting Numbers: [59]
59,17 unequal: No Solution
Moving to Node #0,3,4
Current State: 17:[22, 81], Operations: ['77-55=22', '15+66=81']
Exploring Operation: 81-22=59, Resulting Numbers: [59]
59,17 unequal: No Solution
Exploring Operation: 22*81=1782, Resulting Numbers: [1782]
1782,17 unequal: No Solution
Exploring Operation: 22+81=103, Resulting Numbers: [103]
103,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 17:[15, 77, 11], Operations: ['66-55=11']
Exploring Operation: 77/11=7, Resulting Numbers: [15, 7]
Generated Node #0,4,0: 17:[15, 7] Operation: 77/11=7
Exploring Operation: 77-11=66, Resulting Numbers: [15, 66]
Generated Node #0,4,1: 17:[15, 66] Operation: 77-11=66
Exploring Operation: 77-15=62, Resulting Numbers: [11, 62]
Generated Node #0,4,2: 17:[11, 62] Operation: 77-15=62
Exploring Operation: 15+11=26, Resulting Numbers: [77, 26]
Generated Node #0,4,3: 17:[77, 26] Operation: 15+11=26
Exploring Operation: 15-11=4, Resulting Numbers: [77, 4]
Generated Node #0,4,4: 17:[77, 4] Operation: 15-11=4
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 17:[15, 7], Operations: ['66-55=11', '77/11=7']
Exploring Operation: 15*7=105, Resulting Numbers: [105]
105,17 unequal: No Solution
Exploring Operation: 15+7=22, Resulting Numbers: [22]
22,17 unequal: No Solution
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 17:[15, 66], Operations: ['66-55=11', '77-11=66']
Exploring Operation: 15+66=81, Resulting Numbers: [81]
81,17 unequal: No Solution
Exploring Operation: 15*66=990, Resulting Numbers: [990]
990,17 unequal: No Solution
Exploring Operation: 66-15=51, Resulting Numbers: [51]
51,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 17:[11, 62], Operations: ['66-55=11', '77-15=62']
Exploring Operation: 11*62=682, Resulting Numbers: [682]
682,17 unequal: No Solution
Exploring Operation: 62-11=51, Resulting Numbers: [51]
51,17 unequal: No Solution
Exploring Operation: 11+62=73, Resulting Numbers: [73]
73,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 17:[77, 26], Operations: ['66-55=11', '15+11=26']
Exploring Operation: 77-26=51, Resulting Numbers: [51]
51,17 unequal: No Solution
Exploring Operation: 77*26=2002, Resulting Numbers: [2002]
2002,17 unequal: No Solution
Exploring Operation: 77+26=103, Resulting Numbers: [103]
103,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 17:[77, 4], Operations: ['66-55=11', '15-11=4']
Exploring Operation: 77+4=81, Resulting Numbers: [81]
81,17 unequal: No Solution
Exploring Operation: 77*4=308, Resulting Numbers: [308]
308,17 unequal: No Solution
Exploring Operation: 77-4=73, Resulting Numbers: [73]
73,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[77, 55, 51], Operations: ['66-15=51']
Exploring Operation: 77+51=128, Resulting Numbers: [55, 128]
Generated Node #0,0,0: 17:[55, 128] Operation: 77+51=128
Exploring Operation: 77-51=26, Resulting Numbers: [55, 26]
Generated Node #0,0,1: 17:[55, 26] Operation: 77-51=26
Exploring Operation: 77-55=22, Resulting Numbers: [51, 22]
Generated Node #0,0,2: 17:[51, 22] Operation: 77-55=22
Exploring Operation: 55-51=4, Resulting Numbers: [77, 4]
Generated Node #0,0,3: 17:[77, 4] Operation: 55-51=4
Exploring Operation: 77+55=132, Resulting Numbers: [51, 132]
Generated Node #0,0,4: 17:[51, 132] Operation: 77+55=132
Moving to Node #0,0,2
Current State: 17:[51, 22], Operations: ['66-15=51', '77-55=22']
Exploring Operation: 51*22=1122, Resulting Numbers: [1122]
1122,17 unequal: No Solution
Exploring Operation: 51-22=29, Resulting Numbers: [29]
29,17 unequal: No Solution
Exploring Operation: 51+22=73, Resulting Numbers: [73]
73,17 unequal: No Solution
Moving to Node #0,0,1
Current State: 17:[55, 26], Operations: ['66-15=51', '77-51=26']
Exploring Operation: 55*26=1430, Resulting Numbers: [1430]
1430,17 unequal: No Solution
Exploring Operation: 55-26=29, Resulting Numbers: [29]
29,17 unequal: No Solution
Exploring Operation: 55+26=81, Resulting Numbers: [81]
81,17 unequal: No Solution
Moving to Node #0,0,3
Current State: 17:[77, 4], Operations: ['66-15=51', '55-51=4']
Exploring Operation: 77-4=73, Resulting Numbers: [73]
73,17 unequal: No Solution
Exploring Operation: 77+4=81, Resulting Numbers: [81]
81,17 unequal: No Solution
Exploring Operation: 77*4=308, Resulting Numbers: [308]
308,17 unequal: No Solution
Moving to Node #0,0,0
Current State: 17:[55, 128], Operations: ['66-15=51', '77+51=128']
Exploring Operation: 55*128=7040, Resulting Numbers: [7040]
7040,17 unequal: No Solution
Exploring Operation: 128-55=73, Resulting Numbers: [73]
73,17 unequal: No Solution
Exploring Operation: 55+128=183, Resulting Numbers: [183]
183,17 unequal: No Solution
Moving to Node #0,0,4
Current State: 17:[51, 132], Operations: ['66-15=51', '77+55=132']
Exploring Operation: 51+132=183, Resulting Numbers: [183]
183,17 unequal: No Solution
Exploring Operation: 51*132=6732, Resulting Numbers: [6732]
6732,17 unequal: No Solution
Exploring Operation: 132-51=81, Resulting Numbers: [81]
81,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 17:[66, 55, 62], Operations: ['77-15=62']
Exploring Operation: 66+62=128, Resulting Numbers: [55, 128]
Generated Node #0,2,0: 17:[55, 128] Operation: 66+62=128
Exploring Operation: 62-55=7, Resulting Numbers: [66, 7]
Generated Node #0,2,1: 17:[66, 7] Operation: 62-55=7
Exploring Operation: 66-55=11, Resulting Numbers: [62, 11]
Generated Node #0,2,2: 17:[62, 11] Operation: 66-55=11
Exploring Operation: 66+55=121, Resulting Numbers: [62, 121]
Generated Node #0,2,3: 17:[62, 121] Operation: 66+55=121
Exploring Operation: 66-62=4, Resulting Numbers: [55, 4]
Generated Node #0,2,4: 17:[55, 4] Operation: 66-62=4
Moving to Node #0,2,2
Current State: 17:[62, 11], Operations: ['77-15=62', '66-55=11']
Exploring Operation: 62+11=73, Resulting Numbers: [73]
73,17 unequal: No Solution
Exploring Operation: 62-11=51, Resulting Numbers: [51]
51,17 unequal: No Solution
Exploring Operation: 62*11=682, Resulting Numbers: [682]
682,17 unequal: No Solution
Moving to Node #0,2,4
Current State: 17:[55, 4], Operations: ['77-15=62', '66-62=4']
Exploring Operation: 55+4=59, Resulting Numbers: [59]
59,17 unequal: No Solution
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,17 unequal: No Solution
Exploring Operation: 55*4=220, Resulting Numbers: [220]
220,17 unequal: No Solution
Moving to Node #0,2,1
Current State: 17:[66, 7], Operations: ['77-15=62', '62-55=7']
Exploring Operation: 66*7=462, Resulting Numbers: [462]
462,17 unequal: No Solution
Exploring Operation: 66-7=59, Resulting Numbers: [59]
59,17 unequal: No Solution
Exploring Operation: 66+7=73, Resulting Numbers: [73]
73,17 unequal: No Solution
Moving to Node #0,2,0
Current State: 17:[55, 128], Operations: ['77-15=62', '66+62=128']
Exploring Operation: 55+128=183, Resulting Numbers: [183]
183,17 unequal: No Solution
Exploring Operation: 55*128=7040, Resulting Numbers: [7040]
7040,17 unequal: No Solution
Exploring Operation: 128-55=73, Resulting Numbers: [73]
73,17 unequal: No Solution
Moving to Node #0,2,3
Current State: 17:[62, 121], Operations: ['77-15=62', '66+55=121']
Exploring Operation: 62+121=183, Resulting Numbers: [183]
183,17 unequal: No Solution
Exploring Operation: 62*121=7502, Resulting Numbers: [7502]
7502,17 unequal: No Solution
Exploring Operation: 121-62=59, Resulting Numbers: [59]
59,17 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 |
[
59,
59,
78,
36
] | 42 | [
"59-59=0",
"78-36=42",
"0+42=42"
] | Current State: 42:[59, 59, 78, 36], Operations: []
Exploring Operation: 59-59=0, Resulting Numbers: [78, 36, 0]
Generated Node #2: [78, 36, 0] from Operation: 59-59=0
Current State: 42:[78, 36, 0], Operations: ['59-59=0']
Exploring Operation: 78-36=42, Resulting Numbers: [0, 42]
Generated Node #3: [0, 42] from Operation: 78-36=42
Current State: 42:[0, 42], Operations: ['59-59=0', '78-36=42']
Exploring Operation: 0+42=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[59, 59, 78, 36], Operations: []
Exploring Operation: 78-59=19, Resulting Numbers: [59, 36, 19]
Generated Node #0,0: 42:[59, 36, 19] Operation: 78-59=19
Exploring Operation: 78-59=19, Resulting Numbers: [59, 36, 19]
Generated Node #0,1: 42:[59, 36, 19] Operation: 78-59=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[59, 36, 19], Operations: ['78-59=19']
Exploring Operation: 59-19=40, Resulting Numbers: [36, 40]
Generated Node #0,0,0: 42:[36, 40] Operation: 59-19=40
Exploring Operation: 59-36=23, Resulting Numbers: [19, 23]
Generated Node #0,0,1: 42:[19, 23] Operation: 59-36=23
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 42:[19, 23], Operations: ['78-59=19', '59-36=23']
Exploring Operation: 19+23=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[59, 59, 78, 36], Operations: []
Exploring Operation: 78-59=19, Resulting Numbers: [59, 36, 19]
Generated Node #0,0: 42:[59, 36, 19] Operation: 78-59=19
Moving to Node #0,0
Current State: 42:[59, 36, 19], Operations: ['78-59=19']
Exploring Operation: 59-36=23, Resulting Numbers: [19, 23]
Generated Node #0,0,1: 42:[19, 23] Operation: 59-36=23
Moving to Node #0,0,1
Current State: 42:[19, 23], Operations: ['78-59=19', '59-36=23']
Exploring Operation: 19+23=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
41,
10,
91,
58
] | 80 | [
"91-41=50",
"58-50=8",
"10*8=80"
] | Current State: 80:[41, 10, 91, 58], Operations: []
Exploring Operation: 91-41=50, Resulting Numbers: [10, 58, 50]
Generated Node #2: [10, 58, 50] from Operation: 91-41=50
Current State: 80:[10, 58, 50], Operations: ['91-41=50']
Exploring Operation: 58-50=8, Resulting Numbers: [10, 8]
Generated Node #3: [10, 8] from Operation: 58-50=8
Current State: 80:[10, 8], Operations: ['91-41=50', '58-50=8']
Exploring Operation: 10*8=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[41, 10, 91, 58], Operations: []
Exploring Operation: 58-10=48, Resulting Numbers: [41, 91, 48]
Generated Node #0,0: 80:[41, 91, 48] Operation: 58-10=48
Exploring Operation: 91-58=33, Resulting Numbers: [41, 10, 33]
Generated Node #0,1: 80:[41, 10, 33] Operation: 91-58=33
Exploring Operation: 91-10=81, Resulting Numbers: [41, 58, 81]
Generated Node #0,2: 80:[41, 58, 81] Operation: 91-10=81
Exploring Operation: 58-41=17, Resulting Numbers: [10, 91, 17]
Generated Node #0,3: 80:[10, 91, 17] Operation: 58-41=17
Moving to Node #0,1
Current State: 80:[41, 10, 33], Operations: ['91-58=33']
Exploring Operation: 10+33=43, Resulting Numbers: [41, 43]
Generated Node #0,1,0: 80:[41, 43] Operation: 10+33=43
Exploring Operation: 41-33=8, Resulting Numbers: [10, 8]
Generated Node #0,1,1: 80:[10, 8] Operation: 41-33=8
Exploring Operation: 33-10=23, Resulting Numbers: [41, 23]
Generated Node #0,1,2: 80:[41, 23] Operation: 33-10=23
Exploring Operation: 41+33=74, Resulting Numbers: [10, 74]
Generated Node #0,1,3: 80:[10, 74] Operation: 41+33=74
Moving to Node #0,3
Current State: 80:[10, 91, 17], Operations: ['58-41=17']
Exploring Operation: 17-10=7, Resulting Numbers: [91, 7]
Generated Node #0,3,0: 80:[91, 7] Operation: 17-10=7
Exploring Operation: 91-17=74, Resulting Numbers: [10, 74]
Generated Node #0,3,1: 80:[10, 74] Operation: 91-17=74
Exploring Operation: 91-10=81, Resulting Numbers: [17, 81]
Generated Node #0,3,2: 80:[17, 81] Operation: 91-10=81
Exploring Operation: 10+17=27, Resulting Numbers: [91, 27]
Generated Node #0,3,3: 80:[91, 27] Operation: 10+17=27
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 80:[17, 81], Operations: ['58-41=17', '91-10=81']
Exploring Operation: 17*81=1377, Resulting Numbers: [1377]
1377,80 unequal: No Solution
Exploring Operation: 81-17=64, Resulting Numbers: [64]
64,80 unequal: No Solution
Exploring Operation: 17+81=98, Resulting Numbers: [98]
98,80 unequal: No Solution
No 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: 80:[10, 74], Operations: ['58-41=17', '91-17=74']
Exploring Operation: 74-10=64, Resulting Numbers: [64]
64,80 unequal: No Solution
Exploring Operation: 10+74=84, Resulting Numbers: [84]
84,80 unequal: No Solution
Exploring Operation: 10*74=740, Resulting Numbers: [740]
740,80 unequal: No Solution
No 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: 80:[91, 7], Operations: ['58-41=17', '17-10=7']
Exploring Operation: 91/7=13, Resulting Numbers: [13]
13,80 unequal: No Solution
Exploring Operation: 91+7=98, Resulting Numbers: [98]
98,80 unequal: No Solution
Exploring Operation: 91*7=637, Resulting Numbers: [637]
637,80 unequal: No Solution
Exploring Operation: 91-7=84, Resulting Numbers: [84]
84,80 unequal: No Solution
No 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: 80:[91, 27], Operations: ['58-41=17', '10+17=27']
Exploring Operation: 91-27=64, Resulting Numbers: [64]
64,80 unequal: No Solution
Exploring Operation: 91+27=118, Resulting Numbers: [118]
118,80 unequal: No Solution
Exploring Operation: 91*27=2457, Resulting Numbers: [2457]
2457,80 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: 80:[41, 58, 81], Operations: ['91-10=81']
Exploring Operation: 58-41=17, Resulting Numbers: [81, 17]
Generated Node #0,2,0: 80:[81, 17] Operation: 58-41=17
Exploring Operation: 81-41=40, Resulting Numbers: [58, 40]
Generated Node #0,2,1: 80:[58, 40] Operation: 81-41=40
Exploring Operation: 81-58=23, Resulting Numbers: [41, 23]
Generated Node #0,2,2: 80:[41, 23] Operation: 81-58=23
Exploring Operation: 41+58=99, Resulting Numbers: [81, 99]
Generated Node #0,2,3: 80:[81, 99] Operation: 41+58=99
Moving to Node #0,0
Current State: 80:[41, 91, 48], Operations: ['58-10=48']
Exploring Operation: 91-41=50, Resulting Numbers: [48, 50]
Generated Node #0,0,0: 80:[48, 50] Operation: 91-41=50
Exploring Operation: 41+48=89, Resulting Numbers: [91, 89]
Generated Node #0,0,1: 80:[91, 89] Operation: 41+48=89
Exploring Operation: 91-48=43, Resulting Numbers: [41, 43]
Generated Node #0,0,2: 80:[41, 43] Operation: 91-48=43
Exploring Operation: 48-41=7, Resulting Numbers: [91, 7]
Generated Node #0,0,3: 80:[91, 7] Operation: 48-41=7
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 80:[41, 43], Operations: ['58-10=48', '91-48=43']
Exploring Operation: 41+43=84, Resulting Numbers: [84]
84,80 unequal: No Solution
Exploring Operation: 43-41=2, Resulting Numbers: [2]
2,80 unequal: No Solution
Exploring Operation: 41*43=1763, Resulting Numbers: [1763]
1763,80 unequal: No Solution
No 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: 80:[91, 7], Operations: ['58-10=48', '48-41=7']
Exploring Operation: 91+7=98, Resulting Numbers: [98]
98,80 unequal: No Solution
Exploring Operation: 91*7=637, Resulting Numbers: [637]
637,80 unequal: No Solution
Exploring Operation: 91/7=13, Resulting Numbers: [13]
13,80 unequal: No Solution
Exploring Operation: 91-7=84, Resulting Numbers: [84]
84,80 unequal: No Solution
No 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: 80:[48, 50], Operations: ['58-10=48', '91-41=50']
Exploring Operation: 48*50=2400, Resulting Numbers: [2400]
2400,80 unequal: No Solution
Exploring Operation: 50-48=2, Resulting Numbers: [2]
2,80 unequal: No Solution
Exploring Operation: 48+50=98, Resulting Numbers: [98]
98,80 unequal: No Solution
No 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: 80:[91, 89], Operations: ['58-10=48', '41+48=89']
Exploring Operation: 91-89=2, Resulting Numbers: [2]
2,80 unequal: No Solution
Exploring Operation: 91+89=180, Resulting Numbers: [180]
180,80 unequal: No Solution
Exploring Operation: 91*89=8099, Resulting Numbers: [8099]
8099,80 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: 80:[10, 8], Operations: ['91-58=33', '41-33=8']
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,80 unequal: No Solution
Exploring Operation: 10+8=18, Resulting Numbers: [18]
18,80 unequal: No Solution
Exploring Operation: 10*8=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[41, 10, 91, 58], Operations: []
Exploring Operation: 91-58=33, Resulting Numbers: [41, 10, 33]
Generated Node #0,1: 80:[41, 10, 33] Operation: 91-58=33
Moving to Node #0,1
Current State: 80:[41, 10, 33], Operations: ['91-58=33']
Exploring Operation: 41-33=8, Resulting Numbers: [10, 8]
Generated Node #0,1,1: 80:[10, 8] Operation: 41-33=8
Moving to Node #0,1,1
Current State: 80:[10, 8], Operations: ['91-58=33', '41-33=8']
Exploring Operation: 10*8=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 0.953993 | hs_4 | mult_heuristic |
[
58,
62,
33,
3
] | 87 | [
"62-58=4",
"33-4=29",
"3*29=87"
] | Current State: 87:[58, 62, 33, 3], Operations: []
Exploring Operation: 62-58=4, Resulting Numbers: [33, 3, 4]
Generated Node #2: [33, 3, 4] from Operation: 62-58=4
Current State: 87:[33, 3, 4], Operations: ['62-58=4']
Exploring Operation: 33-4=29, Resulting Numbers: [3, 29]
Generated Node #3: [3, 29] from Operation: 33-4=29
Current State: 87:[3, 29], Operations: ['62-58=4', '33-4=29']
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[58, 62, 33, 3], Operations: []
Exploring Operation: 62-58=4, Resulting Numbers: [33, 3, 4]
Generated Node #0,0: 87:[33, 3, 4] Operation: 62-58=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[33, 3, 4], Operations: ['62-58=4']
Exploring Operation: 33-4=29, Resulting Numbers: [3, 29]
Generated Node #0,0,0: 87:[3, 29] Operation: 33-4=29
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 87:[3, 29], Operations: ['62-58=4', '33-4=29']
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[58, 62, 33, 3], Operations: []
Exploring Operation: 62-58=4, Resulting Numbers: [33, 3, 4]
Generated Node #0,0: 87:[33, 3, 4] Operation: 62-58=4
Moving to Node #0,0
Current State: 87:[33, 3, 4], Operations: ['62-58=4']
Exploring Operation: 33-4=29, Resulting Numbers: [3, 29]
Generated Node #0,0,0: 87:[3, 29] Operation: 33-4=29
Moving to Node #0,0,0
Current State: 87:[3, 29], Operations: ['62-58=4', '33-4=29']
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
87,
13,
48,
79
] | 82 | [
"87-48=39",
"39/13=3",
"79+3=82"
] | Current State: 82:[87, 13, 48, 79], Operations: []
Exploring Operation: 87-48=39, Resulting Numbers: [13, 79, 39]
Generated Node #2: [13, 79, 39] from Operation: 87-48=39
Current State: 82:[13, 79, 39], Operations: ['87-48=39']
Exploring Operation: 39/13=3, Resulting Numbers: [79, 3]
Generated Node #3: [79, 3] from Operation: 39/13=3
Current State: 82:[79, 3], Operations: ['87-48=39', '39/13=3']
Exploring Operation: 79+3=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[87, 13, 48, 79], Operations: []
Exploring Operation: 48-13=35, Resulting Numbers: [87, 79, 35]
Generated Node #0,0: 82:[87, 79, 35] Operation: 48-13=35
Exploring Operation: 87-48=39, Resulting Numbers: [13, 79, 39]
Generated Node #0,1: 82:[13, 79, 39] Operation: 87-48=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[87, 79, 35], Operations: ['48-13=35']
Exploring Operation: 79-35=44, Resulting Numbers: [87, 44]
Generated Node #0,0,0: 82:[87, 44] Operation: 79-35=44
Exploring Operation: 87-79=8, Resulting Numbers: [35, 8]
Generated Node #0,0,1: 82:[35, 8] Operation: 87-79=8
Moving to Node #0,0,0
Current State: 82:[87, 44], Operations: ['48-13=35', '79-35=44']
Exploring Operation: 87+44=131, Resulting Numbers: [131]
131,82 unequal: No Solution
Exploring Operation: 87-44=43, Resulting Numbers: [43]
43,82 unequal: No Solution
Moving to Node #0,0,1
Current State: 82:[35, 8], Operations: ['48-13=35', '87-79=8']
Exploring Operation: 35-8=27, Resulting Numbers: [27]
27,82 unequal: No Solution
Exploring Operation: 35+8=43, Resulting Numbers: [43]
43,82 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 82:[13, 79, 39], Operations: ['87-48=39']
Exploring Operation: 13+79=92, Resulting Numbers: [39, 92]
Generated Node #0,1,0: 82:[39, 92] Operation: 13+79=92
Exploring Operation: 39/13=3, Resulting Numbers: [79, 3]
Generated Node #0,1,1: 82:[79, 3] Operation: 39/13=3
Moving to Node #0,1,1
Current State: 82:[79, 3], Operations: ['87-48=39', '39/13=3']
Exploring Operation: 79-3=76, Resulting Numbers: [76]
76,82 unequal: No Solution
Exploring Operation: 79+3=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[87, 13, 48, 79], Operations: []
Exploring Operation: 87-48=39, Resulting Numbers: [13, 79, 39]
Generated Node #0,1: 82:[13, 79, 39] Operation: 87-48=39
Moving to Node #0,1
Current State: 82:[13, 79, 39], Operations: ['87-48=39']
Exploring Operation: 39/13=3, Resulting Numbers: [79, 3]
Generated Node #0,1,1: 82:[79, 3] Operation: 39/13=3
Moving to Node #0,1,1
Current State: 82:[79, 3], Operations: ['87-48=39', '39/13=3']
Exploring Operation: 79+3=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
7,
87,
68,
60
] | 89 | [
"87+60=147",
"147/7=21",
"68+21=89"
] | Current State: 89:[7, 87, 68, 60], Operations: []
Exploring Operation: 87+60=147, Resulting Numbers: [7, 68, 147]
Generated Node #2: [7, 68, 147] from Operation: 87+60=147
Current State: 89:[7, 68, 147], Operations: ['87+60=147']
Exploring Operation: 147/7=21, Resulting Numbers: [68, 21]
Generated Node #3: [68, 21] from Operation: 147/7=21
Current State: 89:[68, 21], Operations: ['87+60=147', '147/7=21']
Exploring Operation: 68+21=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[7, 87, 68, 60], Operations: []
Exploring Operation: 87-7=80, Resulting Numbers: [68, 60, 80]
Generated Node #0,0: 89:[68, 60, 80] Operation: 87-7=80
Exploring Operation: 7+68=75, Resulting Numbers: [87, 60, 75]
Generated Node #0,1: 89:[87, 60, 75] Operation: 7+68=75
Exploring Operation: 7+87=94, Resulting Numbers: [68, 60, 94]
Generated Node #0,2: 89:[68, 60, 94] Operation: 7+87=94
Exploring Operation: 7+60=67, Resulting Numbers: [87, 68, 67]
Generated Node #0,3: 89:[87, 68, 67] Operation: 7+60=67
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[87, 60, 75], Operations: ['7+68=75']
Exploring Operation: 87+60=147, Resulting Numbers: [75, 147]
Generated Node #0,1,0: 89:[75, 147] Operation: 87+60=147
Exploring Operation: 60+75=135, Resulting Numbers: [87, 135]
Generated Node #0,1,1: 89:[87, 135] Operation: 60+75=135
Exploring Operation: 87-60=27, Resulting Numbers: [75, 27]
Generated Node #0,1,2: 89:[75, 27] Operation: 87-60=27
Exploring Operation: 75-60=15, Resulting Numbers: [87, 15]
Generated Node #0,1,3: 89:[87, 15] Operation: 75-60=15
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 89:[87, 135], Operations: ['7+68=75', '60+75=135']
Exploring Operation: 87*135=11745, Resulting Numbers: [11745]
11745,89 unequal: No Solution
Exploring Operation: 135-87=48, Resulting Numbers: [48]
48,89 unequal: No Solution
Exploring Operation: 87+135=222, Resulting Numbers: [222]
222,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,1,0
Current State: 89:[75, 147], Operations: ['7+68=75', '87+60=147']
Exploring Operation: 147-75=72, Resulting Numbers: [72]
72,89 unequal: No Solution
Exploring Operation: 75+147=222, Resulting Numbers: [222]
222,89 unequal: No Solution
Exploring Operation: 75*147=11025, Resulting Numbers: [11025]
11025,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,1,2
Current State: 89:[75, 27], Operations: ['7+68=75', '87-60=27']
Exploring Operation: 75*27=2025, Resulting Numbers: [2025]
2025,89 unequal: No Solution
Exploring Operation: 75-27=48, Resulting Numbers: [48]
48,89 unequal: No Solution
Exploring Operation: 75+27=102, Resulting Numbers: [102]
102,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,1,3
Current State: 89:[87, 15], Operations: ['7+68=75', '75-60=15']
Exploring Operation: 87*15=1305, Resulting Numbers: [1305]
1305,89 unequal: No Solution
Exploring Operation: 87+15=102, Resulting Numbers: [102]
102,89 unequal: No Solution
Exploring Operation: 87-15=72, Resulting Numbers: [72]
72,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:[87, 68, 67], Operations: ['7+60=67']
Exploring Operation: 87+67=154, Resulting Numbers: [68, 154]
Generated Node #0,3,0: 89:[68, 154] Operation: 87+67=154
Exploring Operation: 68+67=135, Resulting Numbers: [87, 135]
Generated Node #0,3,1: 89:[87, 135] Operation: 68+67=135
Exploring Operation: 87-67=20, Resulting Numbers: [68, 20]
Generated Node #0,3,2: 89:[68, 20] Operation: 87-67=20
Exploring Operation: 87+68=155, Resulting Numbers: [67, 155]
Generated Node #0,3,3: 89:[67, 155] Operation: 87+68=155
Moving to Node #0,3,1
Current State: 89:[87, 135], Operations: ['7+60=67', '68+67=135']
Exploring Operation: 135-87=48, Resulting Numbers: [48]
48,89 unequal: No Solution
Exploring Operation: 87+135=222, Resulting Numbers: [222]
222,89 unequal: No Solution
Exploring Operation: 87*135=11745, Resulting Numbers: [11745]
11745,89 unequal: No Solution
Moving to Node #0,3,0
Current State: 89:[68, 154], Operations: ['7+60=67', '87+67=154']
Exploring Operation: 68+154=222, Resulting Numbers: [222]
222,89 unequal: No Solution
Exploring Operation: 68*154=10472, Resulting Numbers: [10472]
10472,89 unequal: No Solution
Exploring Operation: 154-68=86, Resulting Numbers: [86]
86,89 unequal: No Solution
Moving to Node #0,3,3
Current State: 89:[67, 155], Operations: ['7+60=67', '87+68=155']
Exploring Operation: 67+155=222, Resulting Numbers: [222]
222,89 unequal: No Solution
Exploring Operation: 155-67=88, Resulting Numbers: [88]
88,89 unequal: No Solution
Exploring Operation: 67*155=10385, Resulting Numbers: [10385]
10385,89 unequal: No Solution
Moving to Node #0,3,2
Current State: 89:[68, 20], Operations: ['7+60=67', '87-67=20']
Exploring Operation: 68*20=1360, Resulting Numbers: [1360]
1360,89 unequal: No Solution
Exploring Operation: 68+20=88, Resulting Numbers: [88]
88,89 unequal: No Solution
Exploring Operation: 68-20=48, Resulting Numbers: [48]
48,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,2
Current State: 89:[68, 60, 94], Operations: ['7+87=94']
Exploring Operation: 94-60=34, Resulting Numbers: [68, 34]
Generated Node #0,2,0: 89:[68, 34] Operation: 94-60=34
Exploring Operation: 68-60=8, Resulting Numbers: [94, 8]
Generated Node #0,2,1: 89:[94, 8] Operation: 68-60=8
Exploring Operation: 60+94=154, Resulting Numbers: [68, 154]
Generated Node #0,2,2: 89:[68, 154] Operation: 60+94=154
Exploring Operation: 68+60=128, Resulting Numbers: [94, 128]
Generated Node #0,2,3: 89:[94, 128] Operation: 68+60=128
Moving to Node #0,2,3
Current State: 89:[94, 128], Operations: ['7+87=94', '68+60=128']
Exploring Operation: 94+128=222, Resulting Numbers: [222]
222,89 unequal: No Solution
Exploring Operation: 94*128=12032, Resulting Numbers: [12032]
12032,89 unequal: No Solution
Exploring Operation: 128-94=34, Resulting Numbers: [34]
34,89 unequal: No Solution
Moving to Node #0,2,0
Current State: 89:[68, 34], Operations: ['7+87=94', '94-60=34']
Exploring Operation: 68-34=34, Resulting Numbers: [34]
34,89 unequal: No Solution
Exploring Operation: 68/34=2, Resulting Numbers: [2]
2,89 unequal: No Solution
Exploring Operation: 68+34=102, Resulting Numbers: [102]
102,89 unequal: No Solution
Exploring Operation: 68*34=2312, Resulting Numbers: [2312]
2312,89 unequal: No Solution
Moving to Node #0,2,2
Current State: 89:[68, 154], Operations: ['7+87=94', '60+94=154']
Exploring Operation: 68*154=10472, Resulting Numbers: [10472]
10472,89 unequal: No Solution
Exploring Operation: 68+154=222, Resulting Numbers: [222]
222,89 unequal: No Solution
Exploring Operation: 154-68=86, Resulting Numbers: [86]
86,89 unequal: No Solution
Moving to Node #0,2,1
Current State: 89:[94, 8], Operations: ['7+87=94', '68-60=8']
Exploring Operation: 94-8=86, Resulting Numbers: [86]
86,89 unequal: No Solution
Exploring Operation: 94+8=102, Resulting Numbers: [102]
102,89 unequal: No Solution
Exploring Operation: 94*8=752, Resulting Numbers: [752]
752,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,0
Current State: 89:[68, 60, 80], Operations: ['87-7=80']
Exploring Operation: 68-60=8, Resulting Numbers: [80, 8]
Generated Node #0,0,0: 89:[80, 8] Operation: 68-60=8
Exploring Operation: 68+80=148, Resulting Numbers: [60, 148]
Generated Node #0,0,1: 89:[60, 148] Operation: 68+80=148
Exploring Operation: 60+80=140, Resulting Numbers: [68, 140]
Generated Node #0,0,2: 89:[68, 140] Operation: 60+80=140
Exploring Operation: 68+60=128, Resulting Numbers: [80, 128]
Generated Node #0,0,3: 89:[80, 128] Operation: 68+60=128
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 89:[80, 128], Operations: ['87-7=80', '68+60=128']
Exploring Operation: 80+128=208, Resulting Numbers: [208]
208,89 unequal: No Solution
Exploring Operation: 80*128=10240, Resulting Numbers: [10240]
10240,89 unequal: No Solution
Exploring Operation: 128-80=48, Resulting Numbers: [48]
48,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:[68, 140], Operations: ['87-7=80', '60+80=140']
Exploring Operation: 68+140=208, Resulting Numbers: [208]
208,89 unequal: No Solution
Exploring Operation: 68*140=9520, Resulting Numbers: [9520]
9520,89 unequal: No Solution
Exploring Operation: 140-68=72, Resulting Numbers: [72]
72,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:[60, 148], Operations: ['87-7=80', '68+80=148']
Exploring Operation: 60*148=8880, Resulting Numbers: [8880]
8880,89 unequal: No Solution
Exploring Operation: 148-60=88, Resulting Numbers: [88]
88,89 unequal: No Solution
Exploring Operation: 60+148=208, Resulting Numbers: [208]
208,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:[80, 8], Operations: ['87-7=80', '68-60=8']
Exploring Operation: 80*8=640, Resulting Numbers: [640]
640,89 unequal: No Solution
Exploring Operation: 80+8=88, Resulting Numbers: [88]
88,89 unequal: No Solution
Exploring Operation: 80-8=72, Resulting Numbers: [72]
72,89 unequal: No Solution
Exploring Operation: 80/8=10, Resulting Numbers: [10]
10,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
No solution found.
| 0 | hs_4 | sum_heuristic |
[
18,
92,
28,
75
] | 28 | [
"92-18=74",
"75-74=1",
"28*1=28"
] | Current State: 28:[18, 92, 28, 75], Operations: []
Exploring Operation: 92-18=74, Resulting Numbers: [28, 75, 74]
Generated Node #2: [28, 75, 74] from Operation: 92-18=74
Current State: 28:[28, 75, 74], Operations: ['92-18=74']
Exploring Operation: 75-74=1, Resulting Numbers: [28, 1]
Generated Node #3: [28, 1] from Operation: 75-74=1
Current State: 28:[28, 1], Operations: ['92-18=74', '75-74=1']
Exploring Operation: 28*1=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[18, 92, 28, 75], Operations: []
Exploring Operation: 92-75=17, Resulting Numbers: [18, 28, 17]
Generated Node #0,0: 28:[18, 28, 17] Operation: 92-75=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[18, 28, 17], Operations: ['92-75=17']
Exploring Operation: 18-17=1, Resulting Numbers: [28, 1]
Generated Node #0,0,0: 28:[28, 1] Operation: 18-17=1
Moving to Node #0,0,0
Current State: 28:[28, 1], Operations: ['92-75=17', '18-17=1']
Exploring Operation: 28*1=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[18, 92, 28, 75], Operations: []
Exploring Operation: 92-75=17, Resulting Numbers: [18, 28, 17]
Generated Node #0,0: 28:[18, 28, 17] Operation: 92-75=17
Moving to Node #0,0
Current State: 28:[18, 28, 17], Operations: ['92-75=17']
Exploring Operation: 18-17=1, Resulting Numbers: [28, 1]
Generated Node #0,0,0: 28:[28, 1] Operation: 18-17=1
Moving to Node #0,0,0
Current State: 28:[28, 1], Operations: ['92-75=17', '18-17=1']
Exploring Operation: 28*1=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
63,
38,
17,
52
] | 94 | [
"63-38=25",
"17+52=69",
"25+69=94"
] | Current State: 94:[63, 38, 17, 52], Operations: []
Exploring Operation: 63-38=25, Resulting Numbers: [17, 52, 25]
Generated Node #2: [17, 52, 25] from Operation: 63-38=25
Current State: 94:[17, 52, 25], Operations: ['63-38=25']
Exploring Operation: 17+52=69, Resulting Numbers: [25, 69]
Generated Node #3: [25, 69] from Operation: 17+52=69
Current State: 94:[25, 69], Operations: ['63-38=25', '17+52=69']
Exploring Operation: 25+69=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[63, 38, 17, 52], Operations: []
Exploring Operation: 63-17=46, Resulting Numbers: [38, 52, 46]
Generated Node #0,0: 94:[38, 52, 46] Operation: 63-17=46
Exploring Operation: 63+38=101, Resulting Numbers: [17, 52, 101]
Generated Node #0,1: 94:[17, 52, 101] Operation: 63+38=101
Exploring Operation: 63+17=80, Resulting Numbers: [38, 52, 80]
Generated Node #0,2: 94:[38, 52, 80] Operation: 63+17=80
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[38, 52, 46], Operations: ['63-17=46']
Exploring Operation: 46-38=8, Resulting Numbers: [52, 8]
Generated Node #0,0,0: 94:[52, 8] Operation: 46-38=8
Exploring Operation: 38+52=90, Resulting Numbers: [46, 90]
Generated Node #0,0,1: 94:[46, 90] Operation: 38+52=90
Exploring Operation: 52-38=14, Resulting Numbers: [46, 14]
Generated Node #0,0,2: 94:[46, 14] Operation: 52-38=14
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 94:[46, 90], Operations: ['63-17=46', '38+52=90']
Exploring Operation: 46+90=136, Resulting Numbers: [136]
136,94 unequal: No Solution
Exploring Operation: 90-46=44, Resulting Numbers: [44]
44,94 unequal: No Solution
Exploring Operation: 46*90=4140, Resulting Numbers: [4140]
4140,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 94:[52, 8], Operations: ['63-17=46', '46-38=8']
Exploring Operation: 52-8=44, Resulting Numbers: [44]
44,94 unequal: No Solution
Exploring Operation: 52+8=60, Resulting Numbers: [60]
60,94 unequal: No Solution
Exploring Operation: 52*8=416, Resulting Numbers: [416]
416,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 94:[46, 14], Operations: ['63-17=46', '52-38=14']
Exploring Operation: 46*14=644, Resulting Numbers: [644]
644,94 unequal: No Solution
Exploring Operation: 46+14=60, Resulting Numbers: [60]
60,94 unequal: No Solution
Exploring Operation: 46-14=32, Resulting Numbers: [32]
32,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[17, 52, 101], Operations: ['63+38=101']
Exploring Operation: 101-17=84, Resulting Numbers: [52, 84]
Generated Node #0,1,0: 94:[52, 84] Operation: 101-17=84
Exploring Operation: 52-17=35, Resulting Numbers: [101, 35]
Generated Node #0,1,1: 94:[101, 35] Operation: 52-17=35
Exploring Operation: 101-52=49, Resulting Numbers: [17, 49]
Generated Node #0,1,2: 94:[17, 49] Operation: 101-52=49
Moving to Node #0,1,0
Current State: 94:[52, 84], Operations: ['63+38=101', '101-17=84']
Exploring Operation: 52+84=136, Resulting Numbers: [136]
136,94 unequal: No Solution
Exploring Operation: 52*84=4368, Resulting Numbers: [4368]
4368,94 unequal: No Solution
Exploring Operation: 84-52=32, Resulting Numbers: [32]
32,94 unequal: No Solution
Moving to Node #0,1,2
Current State: 94:[17, 49], Operations: ['63+38=101', '101-52=49']
Exploring Operation: 49-17=32, Resulting Numbers: [32]
32,94 unequal: No Solution
Exploring Operation: 17*49=833, Resulting Numbers: [833]
833,94 unequal: No Solution
Exploring Operation: 17+49=66, Resulting Numbers: [66]
66,94 unequal: No Solution
Moving to Node #0,1,1
Current State: 94:[101, 35], Operations: ['63+38=101', '52-17=35']
Exploring Operation: 101*35=3535, Resulting Numbers: [3535]
3535,94 unequal: No Solution
Exploring Operation: 101-35=66, Resulting Numbers: [66]
66,94 unequal: No Solution
Exploring Operation: 101+35=136, Resulting Numbers: [136]
136,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
Current State: 94:[38, 52, 80], Operations: ['63+17=80']
Exploring Operation: 38+52=90, Resulting Numbers: [80, 90]
Generated Node #0,2,0: 94:[80, 90] Operation: 38+52=90
Exploring Operation: 52-38=14, Resulting Numbers: [80, 14]
Generated Node #0,2,1: 94:[80, 14] Operation: 52-38=14
Exploring Operation: 80-38=42, Resulting Numbers: [52, 42]
Generated Node #0,2,2: 94:[52, 42] Operation: 80-38=42
Moving to Node #0,2,2
Current State: 94:[52, 42], Operations: ['63+17=80', '80-38=42']
Exploring Operation: 52-42=10, Resulting Numbers: [10]
10,94 unequal: No Solution
Exploring Operation: 52*42=2184, Resulting Numbers: [2184]
2184,94 unequal: No Solution
Exploring Operation: 52+42=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[63, 38, 17, 52], Operations: []
Exploring Operation: 63+17=80, Resulting Numbers: [38, 52, 80]
Generated Node #0,2: 94:[38, 52, 80] Operation: 63+17=80
Moving to Node #0,2
Current State: 94:[38, 52, 80], Operations: ['63+17=80']
Exploring Operation: 80-38=42, Resulting Numbers: [52, 42]
Generated Node #0,2,2: 94:[52, 42] Operation: 80-38=42
Moving to Node #0,2,2
Current State: 94:[52, 42], Operations: ['63+17=80', '80-38=42']
Exploring Operation: 52+42=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_3 | sum_heuristic |
[
54,
45,
58,
16
] | 65 | [
"54-45=9",
"58+16=74",
"74-9=65"
] | Current State: 65:[54, 45, 58, 16], Operations: []
Exploring Operation: 54-45=9, Resulting Numbers: [58, 16, 9]
Generated Node #2: [58, 16, 9] from Operation: 54-45=9
Current State: 65:[58, 16, 9], Operations: ['54-45=9']
Exploring Operation: 58+16=74, Resulting Numbers: [9, 74]
Generated Node #3: [9, 74] from Operation: 58+16=74
Current State: 65:[9, 74], Operations: ['54-45=9', '58+16=74']
Exploring Operation: 74-9=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[54, 45, 58, 16], Operations: []
Exploring Operation: 45+16=61, Resulting Numbers: [54, 58, 61]
Generated Node #0,0: 65:[54, 58, 61] Operation: 45+16=61
Exploring Operation: 54-45=9, Resulting Numbers: [58, 16, 9]
Generated Node #0,1: 65:[58, 16, 9] Operation: 54-45=9
Exploring Operation: 58-45=13, Resulting Numbers: [54, 16, 13]
Generated Node #0,2: 65:[54, 16, 13] Operation: 58-45=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 65:[58, 16, 9], Operations: ['54-45=9']
Exploring Operation: 16-9=7, Resulting Numbers: [58, 7]
Generated Node #0,1,0: 65:[58, 7] Operation: 16-9=7
Exploring Operation: 58+16=74, Resulting Numbers: [9, 74]
Generated Node #0,1,1: 65:[9, 74] Operation: 58+16=74
Exploring Operation: 58+9=67, Resulting Numbers: [16, 67]
Generated Node #0,1,2: 65:[16, 67] Operation: 58+9=67
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 65:[16, 67], Operations: ['54-45=9', '58+9=67']
Exploring Operation: 16+67=83, Resulting Numbers: [83]
83,65 unequal: No Solution
Exploring Operation: 16*67=1072, Resulting Numbers: [1072]
1072,65 unequal: No Solution
Exploring Operation: 67-16=51, Resulting Numbers: [51]
51,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 65:[58, 7], Operations: ['54-45=9', '16-9=7']
Exploring Operation: 58-7=51, Resulting Numbers: [51]
51,65 unequal: No Solution
Exploring Operation: 58+7=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[54, 45, 58, 16], Operations: []
Exploring Operation: 54-45=9, Resulting Numbers: [58, 16, 9]
Generated Node #0,1: 65:[58, 16, 9] Operation: 54-45=9
Moving to Node #0,1
Current State: 65:[58, 16, 9], Operations: ['54-45=9']
Exploring Operation: 16-9=7, Resulting Numbers: [58, 7]
Generated Node #0,1,0: 65:[58, 7] Operation: 16-9=7
Moving to Node #0,1,0
Current State: 65:[58, 7], Operations: ['54-45=9', '16-9=7']
Exploring Operation: 58+7=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
23,
86,
2,
78
] | 71 | [
"23+78=101",
"86*2=172",
"172-101=71"
] | Current State: 71:[23, 86, 2, 78], Operations: []
Exploring Operation: 23+78=101, Resulting Numbers: [86, 2, 101]
Generated Node #2: [86, 2, 101] from Operation: 23+78=101
Current State: 71:[86, 2, 101], Operations: ['23+78=101']
Exploring Operation: 86*2=172, Resulting Numbers: [101, 172]
Generated Node #3: [101, 172] from Operation: 86*2=172
Current State: 71:[101, 172], Operations: ['23+78=101', '86*2=172']
Exploring Operation: 172-101=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[23, 86, 2, 78], Operations: []
Exploring Operation: 23*2=46, Resulting Numbers: [86, 78, 46]
Generated Node #0,0: 71:[86, 78, 46] Operation: 23*2=46
Exploring Operation: 23+2=25, Resulting Numbers: [86, 78, 25]
Generated Node #0,1: 71:[86, 78, 25] Operation: 23+2=25
Moving to Node #0,0
Current State: 71:[86, 78, 46], Operations: ['23*2=46']
Exploring Operation: 86-46=40, Resulting Numbers: [78, 40]
Generated Node #0,0,0: 71:[78, 40] Operation: 86-46=40
Exploring Operation: 78-46=32, Resulting Numbers: [86, 32]
Generated Node #0,0,1: 71:[86, 32] Operation: 78-46=32
Moving to Node #0,1
Current State: 71:[86, 78, 25], Operations: ['23+2=25']
Exploring Operation: 78-25=53, Resulting Numbers: [86, 53]
Generated Node #0,1,0: 71:[86, 53] Operation: 78-25=53
Exploring Operation: 86-25=61, Resulting Numbers: [78, 61]
Generated Node #0,1,1: 71:[78, 61] Operation: 86-25=61
Moving to Node #0,1,1
Current State: 71:[78, 61], Operations: ['23+2=25', '86-25=61']
Exploring Operation: 78+61=139, Resulting Numbers: [139]
139,71 unequal: No Solution
Exploring Operation: 78-61=17, Resulting Numbers: [17]
17,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[86, 53], Operations: ['23+2=25', '78-25=53']
Exploring Operation: 86-53=33, Resulting Numbers: [33]
33,71 unequal: No Solution
Exploring Operation: 86+53=139, Resulting Numbers: [139]
139,71 unequal: No Solution
Moving to Node #0,0,0
Current State: 71:[78, 40], Operations: ['23*2=46', '86-46=40']
Exploring Operation: 78+40=118, Resulting Numbers: [118]
118,71 unequal: No Solution
Exploring Operation: 78-40=38, Resulting Numbers: [38]
38,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[86, 32], Operations: ['23*2=46', '78-46=32']
Exploring Operation: 86-32=54, Resulting Numbers: [54]
54,71 unequal: No Solution
Exploring Operation: 86+32=118, Resulting Numbers: [118]
118,71 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
95,
1,
13,
47
] | 35 | [
"95*1=95",
"13+47=60",
"95-60=35"
] | Current State: 35:[95, 1, 13, 47], Operations: []
Exploring Operation: 95*1=95, Resulting Numbers: [13, 47, 95]
Generated Node #2: [13, 47, 95] from Operation: 95*1=95
Current State: 35:[13, 47, 95], Operations: ['95*1=95']
Exploring Operation: 13+47=60, Resulting Numbers: [95, 60]
Generated Node #3: [95, 60] from Operation: 13+47=60
Current State: 35:[95, 60], Operations: ['95*1=95', '13+47=60']
Exploring Operation: 95-60=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[95, 1, 13, 47], Operations: []
Exploring Operation: 47-13=34, Resulting Numbers: [95, 1, 34]
Generated Node #0,0: 35:[95, 1, 34] Operation: 47-13=34
Exploring Operation: 95-1=94, Resulting Numbers: [13, 47, 94]
Generated Node #0,1: 35:[13, 47, 94] Operation: 95-1=94
Exploring Operation: 95-13=82, Resulting Numbers: [1, 47, 82]
Generated Node #0,2: 35:[1, 47, 82] Operation: 95-13=82
Exploring Operation: 95-47=48, Resulting Numbers: [1, 13, 48]
Generated Node #0,3: 35:[1, 13, 48] Operation: 95-47=48
Start Sub Search at level 1: Moving to Node #0,3
Current State: 35:[1, 13, 48], Operations: ['95-47=48']
Exploring Operation: 13-1=12, Resulting Numbers: [48, 12]
Generated Node #0,3,0: 35:[48, 12] Operation: 13-1=12
Exploring Operation: 1*13=13, Resulting Numbers: [48, 13]
Generated Node #0,3,1: 35:[48, 13] Operation: 1*13=13
Exploring Operation: 48-1=47, Resulting Numbers: [13, 47]
Generated Node #0,3,2: 35:[13, 47] Operation: 48-1=47
Exploring Operation: 48-13=35, Resulting Numbers: [1, 35]
Generated Node #0,3,3: 35:[1, 35] Operation: 48-13=35
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 35:[1, 35], Operations: ['95-47=48', '48-13=35']
Exploring Operation: 1+35=36, Resulting Numbers: [36]
36,35 unequal: No Solution
Exploring Operation: 35/1=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[95, 1, 13, 47], Operations: []
Exploring Operation: 95-47=48, Resulting Numbers: [1, 13, 48]
Generated Node #0,3: 35:[1, 13, 48] Operation: 95-47=48
Moving to Node #0,3
Current State: 35:[1, 13, 48], Operations: ['95-47=48']
Exploring Operation: 48-13=35, Resulting Numbers: [1, 35]
Generated Node #0,3,3: 35:[1, 35] Operation: 48-13=35
Moving to Node #0,3,3
Current State: 35:[1, 35], Operations: ['95-47=48', '48-13=35']
Exploring Operation: 35/1=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
14,
55,
69,
35
] | 75 | [
"55-14=41",
"69-35=34",
"41+34=75"
] | Current State: 75:[14, 55, 69, 35], Operations: []
Exploring Operation: 55-14=41, Resulting Numbers: [69, 35, 41]
Generated Node #2: [69, 35, 41] from Operation: 55-14=41
Current State: 75:[69, 35, 41], Operations: ['55-14=41']
Exploring Operation: 69-35=34, Resulting Numbers: [41, 34]
Generated Node #3: [41, 34] from Operation: 69-35=34
Current State: 75:[41, 34], Operations: ['55-14=41', '69-35=34']
Exploring Operation: 41+34=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[14, 55, 69, 35], Operations: []
Exploring Operation: 55-35=20, Resulting Numbers: [14, 69, 20]
Generated Node #0,0: 75:[14, 69, 20] Operation: 55-35=20
Exploring Operation: 14+55=69, Resulting Numbers: [69, 35, 69]
Generated Node #0,1: 75:[69, 35, 69] Operation: 14+55=69
Exploring Operation: 69-55=14, Resulting Numbers: [14, 35, 14]
Generated Node #0,2: 75:[14, 35, 14] Operation: 69-55=14
Moving to Node #0,0
Current State: 75:[14, 69, 20], Operations: ['55-35=20']
Exploring Operation: 20-14=6, Resulting Numbers: [69, 6]
Generated Node #0,0,0: 75:[69, 6] Operation: 20-14=6
Exploring Operation: 14+69=83, Resulting Numbers: [20, 83]
Generated Node #0,0,1: 75:[20, 83] Operation: 14+69=83
Exploring Operation: 14+20=34, Resulting Numbers: [69, 34]
Generated Node #0,0,2: 75:[69, 34] Operation: 14+20=34
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 75:[69, 6], Operations: ['55-35=20', '20-14=6']
Exploring Operation: 69*6=414, Resulting Numbers: [414]
414,75 unequal: No Solution
Exploring Operation: 69+6=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[14, 55, 69, 35], Operations: []
Exploring Operation: 55-35=20, Resulting Numbers: [14, 69, 20]
Generated Node #0,0: 75:[14, 69, 20] Operation: 55-35=20
Moving to Node #0,0
Current State: 75:[14, 69, 20], Operations: ['55-35=20']
Exploring Operation: 20-14=6, Resulting Numbers: [69, 6]
Generated Node #0,0,0: 75:[69, 6] Operation: 20-14=6
Moving to Node #0,0,0
Current State: 75:[69, 6], Operations: ['55-35=20', '20-14=6']
Exploring Operation: 69+6=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
25,
57,
28,
72
] | 45 | [
"28-25=3",
"72-57=15",
"3*15=45"
] | Current State: 45:[25, 57, 28, 72], Operations: []
Exploring Operation: 28-25=3, Resulting Numbers: [57, 72, 3]
Generated Node #2: [57, 72, 3] from Operation: 28-25=3
Current State: 45:[57, 72, 3], Operations: ['28-25=3']
Exploring Operation: 72-57=15, Resulting Numbers: [3, 15]
Generated Node #3: [3, 15] from Operation: 72-57=15
Current State: 45:[3, 15], Operations: ['28-25=3', '72-57=15']
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[25, 57, 28, 72], Operations: []
Exploring Operation: 72-57=15, Resulting Numbers: [25, 28, 15]
Generated Node #0,0: 45:[25, 28, 15] Operation: 72-57=15
Exploring Operation: 72-28=44, Resulting Numbers: [25, 57, 44]
Generated Node #0,1: 45:[25, 57, 44] Operation: 72-28=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[25, 28, 15], Operations: ['72-57=15']
Exploring Operation: 25+28=53, Resulting Numbers: [15, 53]
Generated Node #0,0,0: 45:[15, 53] Operation: 25+28=53
Exploring Operation: 28-25=3, Resulting Numbers: [15, 3]
Generated Node #0,0,1: 45:[15, 3] Operation: 28-25=3
Moving to Node #0,0,1
Current State: 45:[15, 3], Operations: ['72-57=15', '28-25=3']
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,45 unequal: No Solution
Exploring Operation: 15*3=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[25, 57, 28, 72], Operations: []
Exploring Operation: 72-57=15, Resulting Numbers: [25, 28, 15]
Generated Node #0,0: 45:[25, 28, 15] Operation: 72-57=15
Moving to Node #0,0
Current State: 45:[25, 28, 15], Operations: ['72-57=15']
Exploring Operation: 28-25=3, Resulting Numbers: [15, 3]
Generated Node #0,0,1: 45:[15, 3] Operation: 28-25=3
Moving to Node #0,0,1
Current State: 45:[15, 3], Operations: ['72-57=15', '28-25=3']
Exploring Operation: 15*3=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
13,
87,
21,
71
] | 18 | [
"87-13=74",
"21+71=92",
"92-74=18"
] | Current State: 18:[13, 87, 21, 71], Operations: []
Exploring Operation: 87-13=74, Resulting Numbers: [21, 71, 74]
Generated Node #2: [21, 71, 74] from Operation: 87-13=74
Current State: 18:[21, 71, 74], Operations: ['87-13=74']
Exploring Operation: 21+71=92, Resulting Numbers: [74, 92]
Generated Node #3: [74, 92] from Operation: 21+71=92
Current State: 18:[74, 92], Operations: ['87-13=74', '21+71=92']
Exploring Operation: 92-74=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[13, 87, 21, 71], Operations: []
Exploring Operation: 87-71=16, Resulting Numbers: [13, 21, 16]
Generated Node #0,0: 18:[13, 21, 16] Operation: 87-71=16
Exploring Operation: 87-13=74, Resulting Numbers: [21, 71, 74]
Generated Node #0,1: 18:[21, 71, 74] Operation: 87-13=74
Exploring Operation: 87-21=66, Resulting Numbers: [13, 71, 66]
Generated Node #0,2: 18:[13, 71, 66] Operation: 87-21=66
Exploring Operation: 71-21=50, Resulting Numbers: [13, 87, 50]
Generated Node #0,3: 18:[13, 87, 50] Operation: 71-21=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[13, 21, 16], Operations: ['87-71=16']
Exploring Operation: 16-13=3, Resulting Numbers: [21, 3]
Generated Node #0,0,0: 18:[21, 3] Operation: 16-13=3
Exploring Operation: 13+16=29, Resulting Numbers: [21, 29]
Generated Node #0,0,1: 18:[21, 29] Operation: 13+16=29
Exploring Operation: 21-13=8, Resulting Numbers: [16, 8]
Generated Node #0,0,2: 18:[16, 8] Operation: 21-13=8
Exploring Operation: 21-16=5, Resulting Numbers: [13, 5]
Generated Node #0,0,3: 18:[13, 5] Operation: 21-16=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 18:[21, 3], Operations: ['87-71=16', '16-13=3']
Exploring Operation: 21+3=24, Resulting Numbers: [24]
24,18 unequal: No Solution
Exploring Operation: 21*3=63, Resulting Numbers: [63]
63,18 unequal: No Solution
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[13, 87, 21, 71], Operations: []
Exploring Operation: 87-71=16, Resulting Numbers: [13, 21, 16]
Generated Node #0,0: 18:[13, 21, 16] Operation: 87-71=16
Moving to Node #0,0
Current State: 18:[13, 21, 16], Operations: ['87-71=16']
Exploring Operation: 16-13=3, Resulting Numbers: [21, 3]
Generated Node #0,0,0: 18:[21, 3] Operation: 16-13=3
Moving to Node #0,0,0
Current State: 18:[21, 3], Operations: ['87-71=16', '16-13=3']
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
45,
36,
37,
25
] | 70 | [
"45+25=70",
"37-36=1",
"70*1=70"
] | Current State: 70:[45, 36, 37, 25], Operations: []
Exploring Operation: 45+25=70, Resulting Numbers: [36, 37, 70]
Generated Node #2: [36, 37, 70] from Operation: 45+25=70
Current State: 70:[36, 37, 70], Operations: ['45+25=70']
Exploring Operation: 37-36=1, Resulting Numbers: [70, 1]
Generated Node #3: [70, 1] from Operation: 37-36=1
Current State: 70:[70, 1], Operations: ['45+25=70', '37-36=1']
Exploring Operation: 70*1=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[45, 36, 37, 25], Operations: []
Exploring Operation: 45-36=9, Resulting Numbers: [37, 25, 9]
Generated Node #0,0: 70:[37, 25, 9] Operation: 45-36=9
Exploring Operation: 45-25=20, Resulting Numbers: [36, 37, 20]
Generated Node #0,1: 70:[36, 37, 20] Operation: 45-25=20
Exploring Operation: 45-37=8, Resulting Numbers: [36, 25, 8]
Generated Node #0,2: 70:[36, 25, 8] Operation: 45-37=8
Exploring Operation: 36-25=11, Resulting Numbers: [45, 37, 11]
Generated Node #0,3: 70:[45, 37, 11] Operation: 36-25=11
Exploring Operation: 45+25=70, Resulting Numbers: [36, 37, 70]
Generated Node #0,4: 70:[36, 37, 70] Operation: 45+25=70
Moving to Node #0,4
Current State: 70:[36, 37, 70], Operations: ['45+25=70']
Exploring Operation: 36+70=106, Resulting Numbers: [37, 106]
Generated Node #0,4,0: 70:[37, 106] Operation: 36+70=106
Exploring Operation: 36+37=73, Resulting Numbers: [70, 73]
Generated Node #0,4,1: 70:[70, 73] Operation: 36+37=73
Exploring Operation: 70-37=33, Resulting Numbers: [36, 33]
Generated Node #0,4,2: 70:[36, 33] Operation: 70-37=33
Exploring Operation: 70-36=34, Resulting Numbers: [37, 34]
Generated Node #0,4,3: 70:[37, 34] Operation: 70-36=34
Exploring Operation: 37-36=1, Resulting Numbers: [70, 1]
Generated Node #0,4,4: 70:[70, 1] Operation: 37-36=1
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 70:[70, 1], Operations: ['45+25=70', '37-36=1']
Exploring Operation: 70-1=69, Resulting Numbers: [69]
69,70 unequal: No Solution
Exploring Operation: 70+1=71, Resulting Numbers: [71]
71,70 unequal: No Solution
Exploring Operation: 70*1=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[45, 36, 37, 25], Operations: []
Exploring Operation: 45+25=70, Resulting Numbers: [36, 37, 70]
Generated Node #0,4: 70:[36, 37, 70] Operation: 45+25=70
Moving to Node #0,4
Current State: 70:[36, 37, 70], Operations: ['45+25=70']
Exploring Operation: 37-36=1, Resulting Numbers: [70, 1]
Generated Node #0,4,4: 70:[70, 1] Operation: 37-36=1
Moving to Node #0,4,4
Current State: 70:[70, 1], Operations: ['45+25=70', '37-36=1']
Exploring Operation: 70*1=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
72,
11,
39,
43
] | 52 | [
"72*39=2808",
"11+43=54",
"2808/54=52"
] | Current State: 52:[72, 11, 39, 43], Operations: []
Exploring Operation: 72*39=2808, Resulting Numbers: [11, 43, 2808]
Generated Node #2: [11, 43, 2808] from Operation: 72*39=2808
Current State: 52:[11, 43, 2808], Operations: ['72*39=2808']
Exploring Operation: 11+43=54, Resulting Numbers: [2808, 54]
Generated Node #3: [2808, 54] from Operation: 11+43=54
Current State: 52:[2808, 54], Operations: ['72*39=2808', '11+43=54']
Exploring Operation: 2808/54=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[72, 11, 39, 43], Operations: []
Exploring Operation: 72-39=33, Resulting Numbers: [11, 43, 33]
Generated Node #0,0: 52:[11, 43, 33] Operation: 72-39=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[11, 43, 33], Operations: ['72-39=33']
Exploring Operation: 43-33=10, Resulting Numbers: [11, 10]
Generated Node #0,0,0: 52:[11, 10] Operation: 43-33=10
Moving to Node #0,0,0
Current State: 52:[11, 10], Operations: ['72-39=33', '43-33=10']
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,52 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 |
[
18,
53,
14,
26
] | 65 | [
"53-18=35",
"26*35=910",
"910/14=65"
] | Current State: 65:[18, 53, 14, 26], Operations: []
Exploring Operation: 53-18=35, Resulting Numbers: [14, 26, 35]
Generated Node #2: [14, 26, 35] from Operation: 53-18=35
Current State: 65:[14, 26, 35], Operations: ['53-18=35']
Exploring Operation: 26*35=910, Resulting Numbers: [14, 910]
Generated Node #3: [14, 910] from Operation: 26*35=910
Current State: 65:[14, 910], Operations: ['53-18=35', '26*35=910']
Exploring Operation: 910/14=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[18, 53, 14, 26], Operations: []
Exploring Operation: 53+14=67, Resulting Numbers: [18, 26, 67]
Generated Node #0,0: 65:[18, 26, 67] Operation: 53+14=67
Exploring Operation: 26-14=12, Resulting Numbers: [18, 53, 12]
Generated Node #0,1: 65:[18, 53, 12] Operation: 26-14=12
Exploring Operation: 26-18=8, Resulting Numbers: [53, 14, 8]
Generated Node #0,2: 65:[53, 14, 8] Operation: 26-18=8
Exploring Operation: 18+53=71, Resulting Numbers: [14, 26, 71]
Generated Node #0,3: 65:[14, 26, 71] Operation: 18+53=71
Start Sub Search at level 1: Moving to Node #0,2
Current State: 65:[53, 14, 8], Operations: ['26-18=8']
Exploring Operation: 53+8=61, Resulting Numbers: [14, 61]
Generated Node #0,2,0: 65:[14, 61] Operation: 53+8=61
Exploring Operation: 14-8=6, Resulting Numbers: [53, 6]
Generated Node #0,2,1: 65:[53, 6] Operation: 14-8=6
Exploring Operation: 53+14=67, Resulting Numbers: [8, 67]
Generated Node #0,2,2: 65:[8, 67] Operation: 53+14=67
Exploring Operation: 53-8=45, Resulting Numbers: [14, 45]
Generated Node #0,2,3: 65:[14, 45] Operation: 53-8=45
Moving to Node #0,2,0
Current State: 65:[14, 61], Operations: ['26-18=8', '53+8=61']
Exploring Operation: 14+61=75, Resulting Numbers: [75]
75,65 unequal: No Solution
Exploring Operation: 14*61=854, Resulting Numbers: [854]
854,65 unequal: No Solution
Exploring Operation: 61-14=47, Resulting Numbers: [47]
47,65 unequal: No Solution
Moving to Node #0,2,2
Current State: 65:[8, 67], Operations: ['26-18=8', '53+14=67']
Exploring Operation: 8*67=536, Resulting Numbers: [536]
536,65 unequal: No Solution
Exploring Operation: 8+67=75, Resulting Numbers: [75]
75,65 unequal: No Solution
Exploring Operation: 67-8=59, Resulting Numbers: [59]
59,65 unequal: No Solution
Moving to Node #0,2,1
Current State: 65:[53, 6], Operations: ['26-18=8', '14-8=6']
Exploring Operation: 53+6=59, Resulting Numbers: [59]
59,65 unequal: No Solution
Exploring Operation: 53*6=318, Resulting Numbers: [318]
318,65 unequal: No Solution
Exploring Operation: 53-6=47, Resulting Numbers: [47]
47,65 unequal: No Solution
Moving to Node #0,2,3
Current State: 65:[14, 45], Operations: ['26-18=8', '53-8=45']
Exploring Operation: 14+45=59, Resulting Numbers: [59]
59,65 unequal: No Solution
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,65 unequal: No Solution
Exploring Operation: 14*45=630, Resulting Numbers: [630]
630,65 unequal: No Solution
No 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: 65:[18, 53, 12], Operations: ['26-14=12']
Exploring Operation: 18+53=71, Resulting Numbers: [12, 71]
Generated Node #0,1,0: 65:[12, 71] Operation: 18+53=71
Exploring Operation: 53-18=35, Resulting Numbers: [12, 35]
Generated Node #0,1,1: 65:[12, 35] Operation: 53-18=35
Exploring Operation: 18-12=6, Resulting Numbers: [53, 6]
Generated Node #0,1,2: 65:[53, 6] Operation: 18-12=6
Exploring Operation: 53+12=65, Resulting Numbers: [18, 65]
Generated Node #0,1,3: 65:[18, 65] Operation: 53+12=65
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 65:[18, 65], Operations: ['26-14=12', '53+12=65']
Exploring Operation: 18*65=1170, Resulting Numbers: [1170]
1170,65 unequal: No Solution
Exploring Operation: 65-18=47, Resulting Numbers: [47]
47,65 unequal: No Solution
Exploring Operation: 18+65=83, Resulting Numbers: [83]
83,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 65:[12, 71], Operations: ['26-14=12', '18+53=71']
Exploring Operation: 12*71=852, Resulting Numbers: [852]
852,65 unequal: No Solution
Exploring Operation: 12+71=83, Resulting Numbers: [83]
83,65 unequal: No Solution
Exploring Operation: 71-12=59, Resulting Numbers: [59]
59,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 65:[53, 6], Operations: ['26-14=12', '18-12=6']
Exploring Operation: 53-6=47, Resulting Numbers: [47]
47,65 unequal: No Solution
Exploring Operation: 53+6=59, Resulting Numbers: [59]
59,65 unequal: No Solution
Exploring Operation: 53*6=318, Resulting Numbers: [318]
318,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 65:[12, 35], Operations: ['26-14=12', '53-18=35']
Exploring Operation: 35-12=23, Resulting Numbers: [23]
23,65 unequal: No Solution
Exploring Operation: 12*35=420, Resulting Numbers: [420]
420,65 unequal: No Solution
Exploring Operation: 12+35=47, Resulting Numbers: [47]
47,65 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: 65:[18, 26, 67], Operations: ['53+14=67']
Exploring Operation: 67-18=49, Resulting Numbers: [26, 49]
Generated Node #0,0,0: 65:[26, 49] Operation: 67-18=49
Exploring Operation: 67-26=41, Resulting Numbers: [18, 41]
Generated Node #0,0,1: 65:[18, 41] Operation: 67-26=41
Exploring Operation: 26-18=8, Resulting Numbers: [67, 8]
Generated Node #0,0,2: 65:[67, 8] Operation: 26-18=8
Exploring Operation: 18+26=44, Resulting Numbers: [67, 44]
Generated Node #0,0,3: 65:[67, 44] Operation: 18+26=44
Moving to Node #0,0,2
Current State: 65:[67, 8], Operations: ['53+14=67', '26-18=8']
Exploring Operation: 67*8=536, Resulting Numbers: [536]
536,65 unequal: No Solution
Exploring Operation: 67+8=75, Resulting Numbers: [75]
75,65 unequal: No Solution
Exploring Operation: 67-8=59, Resulting Numbers: [59]
59,65 unequal: No Solution
Moving to Node #0,0,3
Current State: 65:[67, 44], Operations: ['53+14=67', '18+26=44']
Exploring Operation: 67*44=2948, Resulting Numbers: [2948]
2948,65 unequal: No Solution
Exploring Operation: 67-44=23, Resulting Numbers: [23]
23,65 unequal: No Solution
Exploring Operation: 67+44=111, Resulting Numbers: [111]
111,65 unequal: No Solution
Moving to Node #0,0,1
Current State: 65:[18, 41], Operations: ['53+14=67', '67-26=41']
Exploring Operation: 18*41=738, Resulting Numbers: [738]
738,65 unequal: No Solution
Exploring Operation: 18+41=59, Resulting Numbers: [59]
59,65 unequal: No Solution
Exploring Operation: 41-18=23, Resulting Numbers: [23]
23,65 unequal: No Solution
Moving to Node #0,0,0
Current State: 65:[26, 49], Operations: ['53+14=67', '67-18=49']
Exploring Operation: 26*49=1274, Resulting Numbers: [1274]
1274,65 unequal: No Solution
Exploring Operation: 26+49=75, Resulting Numbers: [75]
75,65 unequal: No Solution
Exploring Operation: 49-26=23, Resulting Numbers: [23]
23,65 unequal: No Solution
No 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: 65:[14, 26, 71], Operations: ['18+53=71']
Exploring Operation: 71-26=45, Resulting Numbers: [14, 45]
Generated Node #0,3,0: 65:[14, 45] Operation: 71-26=45
Exploring Operation: 71-14=57, Resulting Numbers: [26, 57]
Generated Node #0,3,1: 65:[26, 57] Operation: 71-14=57
Exploring Operation: 14+26=40, Resulting Numbers: [71, 40]
Generated Node #0,3,2: 65:[71, 40] Operation: 14+26=40
Exploring Operation: 26-14=12, Resulting Numbers: [71, 12]
Generated Node #0,3,3: 65:[71, 12] Operation: 26-14=12
Moving to Node #0,3,3
Current State: 65:[71, 12], Operations: ['18+53=71', '26-14=12']
Exploring Operation: 71*12=852, Resulting Numbers: [852]
852,65 unequal: No Solution
Exploring Operation: 71+12=83, Resulting Numbers: [83]
83,65 unequal: No Solution
Exploring Operation: 71-12=59, Resulting Numbers: [59]
59,65 unequal: No Solution
Moving to Node #0,3,1
Current State: 65:[26, 57], Operations: ['18+53=71', '71-14=57']
Exploring Operation: 26+57=83, Resulting Numbers: [83]
83,65 unequal: No Solution
Exploring Operation: 26*57=1482, Resulting Numbers: [1482]
1482,65 unequal: No Solution
Exploring Operation: 57-26=31, Resulting Numbers: [31]
31,65 unequal: No Solution
Moving to Node #0,3,0
Current State: 65:[14, 45], Operations: ['18+53=71', '71-26=45']
Exploring Operation: 45-14=31, Resulting Numbers: [31]
31,65 unequal: No Solution
Exploring Operation: 14+45=59, Resulting Numbers: [59]
59,65 unequal: No Solution
Exploring Operation: 14*45=630, Resulting Numbers: [630]
630,65 unequal: No Solution
Moving to Node #0,3,2
Current State: 65:[71, 40], Operations: ['18+53=71', '14+26=40']
Exploring Operation: 71-40=31, Resulting Numbers: [31]
31,65 unequal: No Solution
Exploring Operation: 71+40=111, Resulting Numbers: [111]
111,65 unequal: No Solution
Exploring Operation: 71*40=2840, Resulting Numbers: [2840]
2840,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
5,
41,
11,
62
] | 27 | [
"5+41=46",
"11+62=73",
"73-46=27"
] | Current State: 27:[5, 41, 11, 62], Operations: []
Exploring Operation: 5+41=46, Resulting Numbers: [11, 62, 46]
Generated Node #2: [11, 62, 46] from Operation: 5+41=46
Current State: 27:[11, 62, 46], Operations: ['5+41=46']
Exploring Operation: 11+62=73, Resulting Numbers: [46, 73]
Generated Node #3: [46, 73] from Operation: 11+62=73
Current State: 27:[46, 73], Operations: ['5+41=46', '11+62=73']
Exploring Operation: 73-46=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[5, 41, 11, 62], Operations: []
Exploring Operation: 62-41=21, Resulting Numbers: [5, 11, 21]
Generated Node #0,0: 27:[5, 11, 21] Operation: 62-41=21
Moving to Node #0,0
Current State: 27:[5, 11, 21], Operations: ['62-41=21']
Exploring Operation: 5+21=26, Resulting Numbers: [11, 26]
Generated Node #0,0,0: 27:[11, 26] Operation: 5+21=26
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 27:[11, 26], Operations: ['62-41=21', '5+21=26']
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,27 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 |
[
76,
2,
55,
41
] | 22 | [
"76-2=74",
"55+41=96",
"96-74=22"
] | Current State: 22:[76, 2, 55, 41], Operations: []
Exploring Operation: 76-2=74, Resulting Numbers: [55, 41, 74]
Generated Node #2: [55, 41, 74] from Operation: 76-2=74
Current State: 22:[55, 41, 74], Operations: ['76-2=74']
Exploring Operation: 55+41=96, Resulting Numbers: [74, 96]
Generated Node #3: [74, 96] from Operation: 55+41=96
Current State: 22:[74, 96], Operations: ['76-2=74', '55+41=96']
Exploring Operation: 96-74=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[76, 2, 55, 41], Operations: []
Exploring Operation: 55-41=14, Resulting Numbers: [76, 2, 14]
Generated Node #0,0: 22:[76, 2, 14] Operation: 55-41=14
Exploring Operation: 76-55=21, Resulting Numbers: [2, 41, 21]
Generated Node #0,1: 22:[2, 41, 21] Operation: 76-55=21
Exploring Operation: 76-41=35, Resulting Numbers: [2, 55, 35]
Generated Node #0,2: 22:[2, 55, 35] Operation: 76-41=35
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[2, 41, 21], Operations: ['76-55=21']
Exploring Operation: 41-21=20, Resulting Numbers: [2, 20]
Generated Node #0,1,0: 22:[2, 20] Operation: 41-21=20
Exploring Operation: 41-2=39, Resulting Numbers: [21, 39]
Generated Node #0,1,1: 22:[21, 39] Operation: 41-2=39
Exploring Operation: 2+21=23, Resulting Numbers: [41, 23]
Generated Node #0,1,2: 22:[41, 23] Operation: 2+21=23
Moving to Node #0,1,0
Current State: 22:[2, 20], Operations: ['76-55=21', '41-21=20']
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[76, 2, 55, 41], Operations: []
Exploring Operation: 76-55=21, Resulting Numbers: [2, 41, 21]
Generated Node #0,1: 22:[2, 41, 21] Operation: 76-55=21
Moving to Node #0,1
Current State: 22:[2, 41, 21], Operations: ['76-55=21']
Exploring Operation: 41-21=20, Resulting Numbers: [2, 20]
Generated Node #0,1,0: 22:[2, 20] Operation: 41-21=20
Moving to Node #0,1,0
Current State: 22:[2, 20], Operations: ['76-55=21', '41-21=20']
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
4,
70,
82,
8
] | 11 | [
"82-70=12",
"12/4=3",
"8+3=11"
] | Current State: 11:[4, 70, 82, 8], Operations: []
Exploring Operation: 82-70=12, Resulting Numbers: [4, 8, 12]
Generated Node #2: [4, 8, 12] from Operation: 82-70=12
Current State: 11:[4, 8, 12], Operations: ['82-70=12']
Exploring Operation: 12/4=3, Resulting Numbers: [8, 3]
Generated Node #3: [8, 3] from Operation: 12/4=3
Current State: 11:[8, 3], Operations: ['82-70=12', '12/4=3']
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[4, 70, 82, 8], Operations: []
Exploring Operation: 70-4=66, Resulting Numbers: [82, 8, 66]
Generated Node #0,0: 11:[82, 8, 66] Operation: 70-4=66
Exploring Operation: 82-70=12, Resulting Numbers: [4, 8, 12]
Generated Node #0,1: 11:[4, 8, 12] Operation: 82-70=12
Exploring Operation: 82-4=78, Resulting Numbers: [70, 8, 78]
Generated Node #0,2: 11:[70, 8, 78] Operation: 82-4=78
Moving to Node #0,1
Current State: 11:[4, 8, 12], Operations: ['82-70=12']
Exploring Operation: 4+8=12, Resulting Numbers: [12, 12]
Generated Node #0,1,0: 11:[12, 12] Operation: 4+8=12
Exploring Operation: 12-4=8, Resulting Numbers: [8, 8]
Generated Node #0,1,1: 11:[8, 8] Operation: 12-4=8
Exploring Operation: 8-4=4, Resulting Numbers: [12, 4]
Generated Node #0,1,2: 11:[12, 4] Operation: 8-4=4
Moving to Node #0,0
Current State: 11:[82, 8, 66], Operations: ['70-4=66']
Exploring Operation: 66-8=58, Resulting Numbers: [82, 58]
Generated Node #0,0,0: 11:[82, 58] Operation: 66-8=58
Exploring Operation: 82-66=16, Resulting Numbers: [8, 16]
Generated Node #0,0,1: 11:[8, 16] Operation: 82-66=16
Exploring Operation: 82-8=74, Resulting Numbers: [66, 74]
Generated Node #0,0,2: 11:[66, 74] Operation: 82-8=74
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 11:[8, 16], Operations: ['70-4=66', '82-66=16']
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,11 unequal: No Solution
Exploring Operation: 8+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,0
Current State: 11:[82, 58], Operations: ['70-4=66', '66-8=58']
Exploring Operation: 82-58=24, Resulting Numbers: [24]
24,11 unequal: No Solution
Exploring Operation: 82+58=140, Resulting Numbers: [140]
140,11 unequal: No Solution
Exploring Operation: 82*58=4756, Resulting Numbers: [4756]
4756,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:[66, 74], Operations: ['70-4=66', '82-8=74']
Exploring Operation: 66+74=140, Resulting Numbers: [140]
140,11 unequal: No Solution
Exploring Operation: 74-66=8, Resulting Numbers: [8]
8,11 unequal: No Solution
Exploring Operation: 66*74=4884, Resulting Numbers: [4884]
4884,11 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: 11:[70, 8, 78], Operations: ['82-4=78']
Exploring Operation: 78-70=8, Resulting Numbers: [8, 8]
Generated Node #0,2,0: 11:[8, 8] Operation: 78-70=8
Exploring Operation: 70-8=62, Resulting Numbers: [78, 62]
Generated Node #0,2,1: 11:[78, 62] Operation: 70-8=62
Exploring Operation: 78-8=70, Resulting Numbers: [70, 70]
Generated Node #0,2,2: 11:[70, 70] Operation: 78-8=70
Moving to Node #0,1,0
Current State: 11:[12, 12], Operations: ['82-70=12', '4+8=12']
Exploring Operation: 12/12=1, Resulting Numbers: [1]
1,11 unequal: No Solution
Exploring Operation: 12-12=0, Resulting Numbers: [0]
0,11 unequal: No Solution
Exploring Operation: 12+12=24, Resulting Numbers: [24]
24,11 unequal: No Solution
Moving to Node #0,1,1
Current State: 11:[8, 8], Operations: ['82-70=12', '12-4=8']
Exploring Operation: 8-8=0, Resulting Numbers: [0]
0,11 unequal: No Solution
Exploring Operation: 8/8=1, Resulting Numbers: [1]
1,11 unequal: No Solution
Exploring Operation: 8+8=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Moving to Node #0,2,0
Current State: 11:[8, 8], Operations: ['82-4=78', '78-70=8']
Exploring Operation: 8+8=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Exploring Operation: 8-8=0, Resulting Numbers: [0]
0,11 unequal: No Solution
Exploring Operation: 8/8=1, Resulting Numbers: [1]
1,11 unequal: No Solution
Moving to Node #0,1,2
Current State: 11:[12, 4], Operations: ['82-70=12', '8-4=4']
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,11 unequal: No Solution
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,11 unequal: No Solution
Moving to Node #0,2,2
Current State: 11:[70, 70], Operations: ['82-4=78', '78-8=70']
Exploring Operation: 70/70=1, Resulting Numbers: [1]
1,11 unequal: No Solution
Exploring Operation: 70+70=140, Resulting Numbers: [140]
140,11 unequal: No Solution
Exploring Operation: 70-70=0, Resulting Numbers: [0]
0,11 unequal: No Solution
Moving to Node #0,2,1
Current State: 11:[78, 62], Operations: ['82-4=78', '70-8=62']
Exploring Operation: 78+62=140, Resulting Numbers: [140]
140,11 unequal: No Solution
Exploring Operation: 78*62=4836, Resulting Numbers: [4836]
4836,11 unequal: No Solution
Exploring Operation: 78-62=16, Resulting Numbers: [16]
16,11 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
73,
97,
6,
3
] | 78 | [
"97-73=24",
"3*24=72",
"6+72=78"
] | Current State: 78:[73, 97, 6, 3], Operations: []
Exploring Operation: 97-73=24, Resulting Numbers: [6, 3, 24]
Generated Node #2: [6, 3, 24] from Operation: 97-73=24
Current State: 78:[6, 3, 24], Operations: ['97-73=24']
Exploring Operation: 3*24=72, Resulting Numbers: [6, 72]
Generated Node #3: [6, 72] from Operation: 3*24=72
Current State: 78:[6, 72], Operations: ['97-73=24', '3*24=72']
Exploring Operation: 6+72=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[73, 97, 6, 3], Operations: []
Exploring Operation: 97-73=24, Resulting Numbers: [6, 3, 24]
Generated Node #0,0: 78:[6, 3, 24] Operation: 97-73=24
Exploring Operation: 97-6=91, Resulting Numbers: [73, 3, 91]
Generated Node #0,1: 78:[73, 3, 91] Operation: 97-6=91
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[6, 3, 24], Operations: ['97-73=24']
Exploring Operation: 3+24=27, Resulting Numbers: [6, 27]
Generated Node #0,0,0: 78:[6, 27] Operation: 3+24=27
Exploring Operation: 24/6=4, Resulting Numbers: [3, 4]
Generated Node #0,0,1: 78:[3, 4] Operation: 24/6=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 78:[6, 27], Operations: ['97-73=24', '3+24=27']
Exploring Operation: 6+27=33, Resulting Numbers: [33]
33,78 unequal: No Solution
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,78 unequal: No Solution
No 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: 78:[3, 4], Operations: ['97-73=24', '24/6=4']
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,78 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,78 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: 78:[73, 3, 91], Operations: ['97-6=91']
Exploring Operation: 73+3=76, Resulting Numbers: [91, 76]
Generated Node #0,1,0: 78:[91, 76] Operation: 73+3=76
Exploring Operation: 91-73=18, Resulting Numbers: [3, 18]
Generated Node #0,1,1: 78:[3, 18] Operation: 91-73=18
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 78:[3, 18], Operations: ['97-6=91', '91-73=18']
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,78 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,78 unequal: No Solution
No 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: 78:[91, 76], Operations: ['97-6=91', '73+3=76']
Exploring Operation: 91+76=167, Resulting Numbers: [167]
167,78 unequal: No Solution
Exploring Operation: 91-76=15, Resulting Numbers: [15]
15,78 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 |
[
96,
97,
21,
53
] | 32 | [
"97-96=1",
"53-21=32",
"1*32=32"
] | Current State: 32:[96, 97, 21, 53], Operations: []
Exploring Operation: 97-96=1, Resulting Numbers: [21, 53, 1]
Generated Node #2: [21, 53, 1] from Operation: 97-96=1
Current State: 32:[21, 53, 1], Operations: ['97-96=1']
Exploring Operation: 53-21=32, Resulting Numbers: [1, 32]
Generated Node #3: [1, 32] from Operation: 53-21=32
Current State: 32:[1, 32], Operations: ['97-96=1', '53-21=32']
Exploring Operation: 1*32=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[96, 97, 21, 53], Operations: []
Exploring Operation: 97-96=1, Resulting Numbers: [21, 53, 1]
Generated Node #0,0: 32:[21, 53, 1] Operation: 97-96=1
Moving to Node #0,0
Current State: 32:[21, 53, 1], Operations: ['97-96=1']
Exploring Operation: 53-21=32, Resulting Numbers: [1, 32]
Generated Node #0,0,0: 32:[1, 32] Operation: 53-21=32
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[1, 32], Operations: ['97-96=1', '53-21=32']
Exploring Operation: 1*32=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[96, 97, 21, 53], Operations: []
Exploring Operation: 97-96=1, Resulting Numbers: [21, 53, 1]
Generated Node #0,0: 32:[21, 53, 1] Operation: 97-96=1
Moving to Node #0,0
Current State: 32:[21, 53, 1], Operations: ['97-96=1']
Exploring Operation: 53-21=32, Resulting Numbers: [1, 32]
Generated Node #0,0,0: 32:[1, 32] Operation: 53-21=32
Moving to Node #0,0,0
Current State: 32:[1, 32], Operations: ['97-96=1', '53-21=32']
Exploring Operation: 1*32=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
68,
53,
72,
41
] | 46 | [
"68-53=15",
"72-41=31",
"15+31=46"
] | Current State: 46:[68, 53, 72, 41], Operations: []
Exploring Operation: 68-53=15, Resulting Numbers: [72, 41, 15]
Generated Node #2: [72, 41, 15] from Operation: 68-53=15
Current State: 46:[72, 41, 15], Operations: ['68-53=15']
Exploring Operation: 72-41=31, Resulting Numbers: [15, 31]
Generated Node #3: [15, 31] from Operation: 72-41=31
Current State: 46:[15, 31], Operations: ['68-53=15', '72-41=31']
Exploring Operation: 15+31=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[68, 53, 72, 41], Operations: []
Exploring Operation: 72-53=19, Resulting Numbers: [68, 41, 19]
Generated Node #0,0: 46:[68, 41, 19] Operation: 72-53=19
Exploring Operation: 72-68=4, Resulting Numbers: [53, 41, 4]
Generated Node #0,1: 46:[53, 41, 4] Operation: 72-68=4
Moving to Node #0,1
Current State: 46:[53, 41, 4], Operations: ['72-68=4']
Exploring Operation: 41+4=45, Resulting Numbers: [53, 45]
Generated Node #0,1,0: 46:[53, 45] Operation: 41+4=45
Exploring Operation: 53-4=49, Resulting Numbers: [41, 49]
Generated Node #0,1,1: 46:[41, 49] Operation: 53-4=49
Moving to Node #0,0
Current State: 46:[68, 41, 19], Operations: ['72-53=19']
Exploring Operation: 68-19=49, Resulting Numbers: [41, 49]
Generated Node #0,0,0: 46:[41, 49] Operation: 68-19=49
Exploring Operation: 68-41=27, Resulting Numbers: [19, 27]
Generated Node #0,0,1: 46:[19, 27] Operation: 68-41=27
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 46:[41, 49], Operations: ['72-53=19', '68-19=49']
Exploring Operation: 49-41=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Exploring Operation: 41+49=90, Resulting Numbers: [90]
90,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 46:[19, 27], Operations: ['72-53=19', '68-41=27']
Exploring Operation: 27-19=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Exploring Operation: 19+27=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[68, 53, 72, 41], Operations: []
Exploring Operation: 72-53=19, Resulting Numbers: [68, 41, 19]
Generated Node #0,0: 46:[68, 41, 19] Operation: 72-53=19
Moving to Node #0,0
Current State: 46:[68, 41, 19], Operations: ['72-53=19']
Exploring Operation: 68-41=27, Resulting Numbers: [19, 27]
Generated Node #0,0,1: 46:[19, 27] Operation: 68-41=27
Moving to Node #0,0,1
Current State: 46:[19, 27], Operations: ['72-53=19', '68-41=27']
Exploring Operation: 19+27=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_2 | sum_heuristic |
[
84,
57,
42,
92
] | 91 | [
"84+57=141",
"92-42=50",
"141-50=91"
] | Current State: 91:[84, 57, 42, 92], Operations: []
Exploring Operation: 84+57=141, Resulting Numbers: [42, 92, 141]
Generated Node #2: [42, 92, 141] from Operation: 84+57=141
Current State: 91:[42, 92, 141], Operations: ['84+57=141']
Exploring Operation: 92-42=50, Resulting Numbers: [141, 50]
Generated Node #3: [141, 50] from Operation: 92-42=50
Current State: 91:[141, 50], Operations: ['84+57=141', '92-42=50']
Exploring Operation: 141-50=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[84, 57, 42, 92], Operations: []
Exploring Operation: 84/42=2, Resulting Numbers: [57, 92, 2]
Generated Node #0,0: 91:[57, 92, 2] Operation: 84/42=2
Exploring Operation: 57+42=99, Resulting Numbers: [84, 92, 99]
Generated Node #0,1: 91:[84, 92, 99] Operation: 57+42=99
Exploring Operation: 57-42=15, Resulting Numbers: [84, 92, 15]
Generated Node #0,2: 91:[84, 92, 15] Operation: 57-42=15
Start Sub Search at level 1: Moving to Node #0,2
Current State: 91:[84, 92, 15], Operations: ['57-42=15']
Exploring Operation: 92-84=8, Resulting Numbers: [15, 8]
Generated Node #0,2,0: 91:[15, 8] Operation: 92-84=8
Exploring Operation: 92-15=77, Resulting Numbers: [84, 77]
Generated Node #0,2,1: 91:[84, 77] Operation: 92-15=77
Exploring Operation: 84+15=99, Resulting Numbers: [92, 99]
Generated Node #0,2,2: 91:[92, 99] Operation: 84+15=99
Moving to Node #0,2,0
Current State: 91:[15, 8], Operations: ['57-42=15', '92-84=8']
Exploring Operation: 15+8=23, Resulting Numbers: [23]
23,91 unequal: No Solution
Exploring Operation: 15*8=120, Resulting Numbers: [120]
120,91 unequal: No Solution
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,91 unequal: No Solution
Moving to Node #0,2,2
Current State: 91:[92, 99], Operations: ['57-42=15', '84+15=99']
Exploring Operation: 99-92=7, Resulting Numbers: [7]
7,91 unequal: No Solution
Exploring Operation: 92*99=9108, Resulting Numbers: [9108]
9108,91 unequal: No Solution
Exploring Operation: 92+99=191, Resulting Numbers: [191]
191,91 unequal: No Solution
Moving to Node #0,2,1
Current State: 91:[84, 77], Operations: ['57-42=15', '92-15=77']
Exploring Operation: 84+77=161, Resulting Numbers: [161]
161,91 unequal: No Solution
Exploring Operation: 84*77=6468, Resulting Numbers: [6468]
6468,91 unequal: No Solution
Exploring Operation: 84-77=7, Resulting Numbers: [7]
7,91 unequal: No Solution
No 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:[84, 92, 99], Operations: ['57+42=99']
Exploring Operation: 92-84=8, Resulting Numbers: [99, 8]
Generated Node #0,1,0: 91:[99, 8] Operation: 92-84=8
Exploring Operation: 99-84=15, Resulting Numbers: [92, 15]
Generated Node #0,1,1: 91:[92, 15] Operation: 99-84=15
Exploring Operation: 99-92=7, Resulting Numbers: [84, 7]
Generated Node #0,1,2: 91:[84, 7] Operation: 99-92=7
Moving to Node #0,1,1
Current State: 91:[92, 15], Operations: ['57+42=99', '99-84=15']
Exploring Operation: 92-15=77, Resulting Numbers: [77]
77,91 unequal: No Solution
Exploring Operation: 92+15=107, Resulting Numbers: [107]
107,91 unequal: No Solution
Exploring Operation: 92*15=1380, Resulting Numbers: [1380]
1380,91 unequal: No Solution
Moving to Node #0,1,2
Current State: 91:[84, 7], Operations: ['57+42=99', '99-92=7']
Exploring Operation: 84/7=12, Resulting Numbers: [12]
12,91 unequal: No Solution
Exploring Operation: 84+7=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[84, 57, 42, 92], Operations: []
Exploring Operation: 57+42=99, Resulting Numbers: [84, 92, 99]
Generated Node #0,1: 91:[84, 92, 99] Operation: 57+42=99
Moving to Node #0,1
Current State: 91:[84, 92, 99], Operations: ['57+42=99']
Exploring Operation: 99-92=7, Resulting Numbers: [84, 7]
Generated Node #0,1,2: 91:[84, 7] Operation: 99-92=7
Moving to Node #0,1,2
Current State: 91:[84, 7], Operations: ['57+42=99', '99-92=7']
Exploring Operation: 84+7=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_3 | sum_heuristic |
[
68,
91,
4,
66
] | 99 | [
"68-66=2",
"4*2=8",
"91+8=99"
] | Current State: 99:[68, 91, 4, 66], Operations: []
Exploring Operation: 68-66=2, Resulting Numbers: [91, 4, 2]
Generated Node #2: [91, 4, 2] from Operation: 68-66=2
Current State: 99:[91, 4, 2], Operations: ['68-66=2']
Exploring Operation: 4*2=8, Resulting Numbers: [91, 8]
Generated Node #3: [91, 8] from Operation: 4*2=8
Current State: 99:[91, 8], Operations: ['68-66=2', '4*2=8']
Exploring Operation: 91+8=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[68, 91, 4, 66], Operations: []
Exploring Operation: 68-66=2, Resulting Numbers: [91, 4, 2]
Generated Node #0,0: 99:[91, 4, 2] Operation: 68-66=2
Moving to Node #0,0
Current State: 99:[91, 4, 2], Operations: ['68-66=2']
Exploring Operation: 91+4=95, Resulting Numbers: [2, 95]
Generated Node #0,0,0: 99:[2, 95] Operation: 91+4=95
Moving to Node #0,0,0
Current State: 99:[2, 95], Operations: ['68-66=2', '91+4=95']
Exploring Operation: 2+95=97, Resulting Numbers: [97]
97,99 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
23,
55,
57,
57
] | 17 | [
"57-23=34",
"57-55=2",
"34/2=17"
] | Current State: 17:[23, 55, 57, 57], Operations: []
Exploring Operation: 57-23=34, Resulting Numbers: [55, 34]
Generated Node #2: [55, 34] from Operation: 57-23=34
Current State: 17:[55, 34], Operations: ['57-23=34']
Exploring Operation: 57-55=2, Resulting Numbers: [34, 2]
Generated Node #3: [34, 2] from Operation: 57-55=2
Current State: 17:[34, 2], Operations: ['57-23=34', '57-55=2']
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[23, 55, 57, 57], Operations: []
Exploring Operation: 57-57=0, Resulting Numbers: [23, 55, 0]
Generated Node #0,0: 17:[23, 55, 0] Operation: 57-57=0
Exploring Operation: 57-55=2, Resulting Numbers: [23, 57, 2]
Generated Node #0,1: 17:[23, 57, 2] Operation: 57-55=2
Exploring Operation: 55-23=32, Resulting Numbers: [57, 57, 32]
Generated Node #0,2: 17:[57, 57, 32] Operation: 55-23=32
Exploring Operation: 57-55=2, Resulting Numbers: [23, 57, 2]
Generated Node #0,3: 17:[23, 57, 2] Operation: 57-55=2
Exploring Operation: 57/57=1, Resulting Numbers: [23, 55, 1]
Generated Node #0,4: 17:[23, 55, 1] Operation: 57/57=1
Start Sub Search at level 1: Moving to Node #0,4
Current State: 17:[23, 55, 1], Operations: ['57/57=1']
Exploring Operation: 23*1=23, Resulting Numbers: [55, 23]
Generated Node #0,4,0: 17:[55, 23] Operation: 23*1=23
Exploring Operation: 55-1=54, Resulting Numbers: [23, 54]
Generated Node #0,4,1: 17:[23, 54] Operation: 55-1=54
Exploring Operation: 23-1=22, Resulting Numbers: [55, 22]
Generated Node #0,4,2: 17:[55, 22] Operation: 23-1=22
Exploring Operation: 55-23=32, Resulting Numbers: [1, 32]
Generated Node #0,4,3: 17:[1, 32] Operation: 55-23=32
Exploring Operation: 23/1=23, Resulting Numbers: [55, 23]
Generated Node #0,4,4: 17:[55, 23] Operation: 23/1=23
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 17:[1, 32], Operations: ['57/57=1', '55-23=32']
Exploring Operation: 1+32=33, Resulting Numbers: [33]
33,17 unequal: No Solution
Exploring Operation: 32/1=32, Resulting Numbers: [32]
32,17 unequal: No Solution
Exploring Operation: 32-1=31, Resulting Numbers: [31]
31,17 unequal: No Solution
Exploring Operation: 1*32=32, Resulting Numbers: [32]
32,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 17:[23, 54], Operations: ['57/57=1', '55-1=54']
Exploring Operation: 54-23=31, Resulting Numbers: [31]
31,17 unequal: No Solution
Exploring Operation: 23+54=77, Resulting Numbers: [77]
77,17 unequal: No Solution
Exploring Operation: 23*54=1242, Resulting Numbers: [1242]
1242,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 17:[55, 22], Operations: ['57/57=1', '23-1=22']
Exploring Operation: 55-22=33, Resulting Numbers: [33]
33,17 unequal: No Solution
Exploring Operation: 55+22=77, Resulting Numbers: [77]
77,17 unequal: No Solution
Exploring Operation: 55*22=1210, Resulting Numbers: [1210]
1210,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 17:[55, 23], Operations: ['57/57=1', '23*1=23']
Exploring Operation: 55+23=78, Resulting Numbers: [78]
78,17 unequal: No Solution
Exploring Operation: 55*23=1265, Resulting Numbers: [1265]
1265,17 unequal: No Solution
Exploring Operation: 55-23=32, Resulting Numbers: [32]
32,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 17:[55, 23], Operations: ['57/57=1', '23/1=23']
Exploring Operation: 55*23=1265, Resulting Numbers: [1265]
1265,17 unequal: No Solution
Exploring Operation: 55+23=78, Resulting Numbers: [78]
78,17 unequal: No Solution
Exploring Operation: 55-23=32, Resulting Numbers: [32]
32,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[23, 55, 0], Operations: ['57-57=0']
Exploring Operation: 23+0=23, Resulting Numbers: [55, 23]
Generated Node #0,0,0: 17:[55, 23] Operation: 23+0=23
Exploring Operation: 55-23=32, Resulting Numbers: [0, 32]
Generated Node #0,0,1: 17:[0, 32] Operation: 55-23=32
Exploring Operation: 23-0=23, Resulting Numbers: [55, 23]
Generated Node #0,0,2: 17:[55, 23] Operation: 23-0=23
Exploring Operation: 55*0=0, Resulting Numbers: [23, 0]
Generated Node #0,0,3: 17:[23, 0] Operation: 55*0=0
Exploring Operation: 55+0=55, Resulting Numbers: [23, 55]
Generated Node #0,0,4: 17:[23, 55] Operation: 55+0=55
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 17:[23, 0], Operations: ['57-57=0', '55*0=0']
Exploring Operation: 23-0=23, Resulting Numbers: [23]
23,17 unequal: No Solution
Exploring Operation: 23*0=0, Resulting Numbers: [0]
0,17 unequal: No Solution
Exploring Operation: 23+0=23, Resulting Numbers: [23]
23,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 17:[0, 32], Operations: ['57-57=0', '55-23=32']
Exploring Operation: 32-0=32, Resulting Numbers: [32]
32,17 unequal: No Solution
Exploring Operation: 0*32=0, Resulting Numbers: [0]
0,17 unequal: No Solution
Exploring Operation: 0+32=32, Resulting Numbers: [32]
32,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 17:[55, 23], Operations: ['57-57=0', '23+0=23']
Exploring Operation: 55*23=1265, Resulting Numbers: [1265]
1265,17 unequal: No Solution
Exploring Operation: 55-23=32, Resulting Numbers: [32]
32,17 unequal: No Solution
Exploring Operation: 55+23=78, Resulting Numbers: [78]
78,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 17:[55, 23], Operations: ['57-57=0', '23-0=23']
Exploring Operation: 55*23=1265, Resulting Numbers: [1265]
1265,17 unequal: No Solution
Exploring Operation: 55-23=32, Resulting Numbers: [32]
32,17 unequal: No Solution
Exploring Operation: 55+23=78, Resulting Numbers: [78]
78,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 17:[23, 55], Operations: ['57-57=0', '55+0=55']
Exploring Operation: 23*55=1265, Resulting Numbers: [1265]
1265,17 unequal: No Solution
Exploring Operation: 55-23=32, Resulting Numbers: [32]
32,17 unequal: No Solution
Exploring Operation: 23+55=78, Resulting Numbers: [78]
78,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 17:[23, 57, 2], Operations: ['57-55=2']
Exploring Operation: 23-2=21, Resulting Numbers: [57, 21]
Generated Node #0,1,0: 17:[57, 21] Operation: 23-2=21
Exploring Operation: 57-23=34, Resulting Numbers: [2, 34]
Generated Node #0,1,1: 17:[2, 34] Operation: 57-23=34
Exploring Operation: 57+2=59, Resulting Numbers: [23, 59]
Generated Node #0,1,2: 17:[23, 59] Operation: 57+2=59
Exploring Operation: 23+2=25, Resulting Numbers: [57, 25]
Generated Node #0,1,3: 17:[57, 25] Operation: 23+2=25
Exploring Operation: 57-2=55, Resulting Numbers: [23, 55]
Generated Node #0,1,4: 17:[23, 55] Operation: 57-2=55
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 17:[2, 34], Operations: ['57-55=2', '57-23=34']
Exploring Operation: 2+34=36, Resulting Numbers: [36]
36,17 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,17 unequal: No Solution
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[23, 55, 57, 57], Operations: []
Exploring Operation: 57-55=2, Resulting Numbers: [23, 57, 2]
Generated Node #0,1: 17:[23, 57, 2] Operation: 57-55=2
Moving to Node #0,1
Current State: 17:[23, 57, 2], Operations: ['57-55=2']
Exploring Operation: 57-23=34, Resulting Numbers: [2, 34]
Generated Node #0,1,1: 17:[2, 34] Operation: 57-23=34
Moving to Node #0,1,1
Current State: 17:[2, 34], Operations: ['57-55=2', '57-23=34']
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.949653 | hs_5 | mult_heuristic |
[
85,
59,
33,
85
] | 27 | [
"85/85=1",
"59-33=26",
"1+26=27"
] | Current State: 27:[85, 59, 33, 85], Operations: []
Exploring Operation: 85/85=1, Resulting Numbers: [59, 33, 1]
Generated Node #2: [59, 33, 1] from Operation: 85/85=1
Current State: 27:[59, 33, 1], Operations: ['85/85=1']
Exploring Operation: 59-33=26, Resulting Numbers: [1, 26]
Generated Node #3: [1, 26] from Operation: 59-33=26
Current State: 27:[1, 26], Operations: ['85/85=1', '59-33=26']
Exploring Operation: 1+26=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[85, 59, 33, 85], Operations: []
Exploring Operation: 85/85=1, Resulting Numbers: [59, 33, 1]
Generated Node #0,0: 27:[59, 33, 1] Operation: 85/85=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[59, 33, 1], Operations: ['85/85=1']
Exploring Operation: 59-33=26, Resulting Numbers: [1, 26]
Generated Node #0,0,0: 27:[1, 26] Operation: 59-33=26
Moving to Node #0,0,0
Current State: 27:[1, 26], Operations: ['85/85=1', '59-33=26']
Exploring Operation: 1+26=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[85, 59, 33, 85], Operations: []
Exploring Operation: 85/85=1, Resulting Numbers: [59, 33, 1]
Generated Node #0,0: 27:[59, 33, 1] Operation: 85/85=1
Moving to Node #0,0
Current State: 27:[59, 33, 1], Operations: ['85/85=1']
Exploring Operation: 59-33=26, Resulting Numbers: [1, 26]
Generated Node #0,0,0: 27:[1, 26] Operation: 59-33=26
Moving to Node #0,0,0
Current State: 27:[1, 26], Operations: ['85/85=1', '59-33=26']
Exploring Operation: 1+26=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
19,
18,
17,
28
] | 19 | [
"19-17=2",
"18/2=9",
"28-9=19"
] | Current State: 19:[19, 18, 17, 28], Operations: []
Exploring Operation: 19-17=2, Resulting Numbers: [18, 28, 2]
Generated Node #2: [18, 28, 2] from Operation: 19-17=2
Current State: 19:[18, 28, 2], Operations: ['19-17=2']
Exploring Operation: 18/2=9, Resulting Numbers: [28, 9]
Generated Node #3: [28, 9] from Operation: 18/2=9
Current State: 19:[28, 9], Operations: ['19-17=2', '18/2=9']
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[19, 18, 17, 28], Operations: []
Exploring Operation: 28-18=10, Resulting Numbers: [19, 17, 10]
Generated Node #0,0: 19:[19, 17, 10] Operation: 28-18=10
Exploring Operation: 28-17=11, Resulting Numbers: [19, 18, 11]
Generated Node #0,1: 19:[19, 18, 11] Operation: 28-17=11
Moving to Node #0,1
Current State: 19:[19, 18, 11], Operations: ['28-17=11']
Exploring Operation: 19+11=30, Resulting Numbers: [18, 30]
Generated Node #0,1,0: 19:[18, 30] Operation: 19+11=30
Exploring Operation: 18+11=29, Resulting Numbers: [19, 29]
Generated Node #0,1,1: 19:[19, 29] Operation: 18+11=29
Moving to Node #0,0
Current State: 19:[19, 17, 10], Operations: ['28-18=10']
Exploring Operation: 19+10=29, Resulting Numbers: [17, 29]
Generated Node #0,0,0: 19:[17, 29] Operation: 19+10=29
Exploring Operation: 17+10=27, Resulting Numbers: [19, 27]
Generated Node #0,0,1: 19:[19, 27] Operation: 17+10=27
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 19:[19, 27], Operations: ['28-18=10', '17+10=27']
Exploring Operation: 19+27=46, Resulting Numbers: [46]
46,19 unequal: No Solution
Exploring Operation: 27-19=8, Resulting Numbers: [8]
8,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[17, 29], Operations: ['28-18=10', '19+10=29']
Exploring Operation: 17+29=46, Resulting Numbers: [46]
46,19 unequal: No Solution
Exploring Operation: 29-17=12, Resulting Numbers: [12]
12,19 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: 19:[19, 29], Operations: ['28-17=11', '18+11=29']
Exploring Operation: 29-19=10, Resulting Numbers: [10]
10,19 unequal: No Solution
Exploring Operation: 19+29=48, Resulting Numbers: [48]
48,19 unequal: No Solution
Moving to Node #0,1,0
Current State: 19:[18, 30], Operations: ['28-17=11', '19+11=30']
Exploring Operation: 18+30=48, Resulting Numbers: [48]
48,19 unequal: No Solution
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,19 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
8,
73,
75,
8
] | 16 | [
"8*73=584",
"75*8=600",
"600-584=16"
] | Current State: 16:[8, 73, 75, 8], Operations: []
Exploring Operation: 8*73=584, Resulting Numbers: [75, 584]
Generated Node #2: [75, 584] from Operation: 8*73=584
Current State: 16:[75, 584], Operations: ['8*73=584']
Exploring Operation: 75*8=600, Resulting Numbers: [584, 600]
Generated Node #3: [584, 600] from Operation: 75*8=600
Current State: 16:[584, 600], Operations: ['8*73=584', '75*8=600']
Exploring Operation: 600-584=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[8, 73, 75, 8], Operations: []
Exploring Operation: 73-8=65, Resulting Numbers: [75, 8, 65]
Generated Node #0,0: 16:[75, 8, 65] Operation: 73-8=65
Exploring Operation: 75-73=2, Resulting Numbers: [8, 8, 2]
Generated Node #0,1: 16:[8, 8, 2] Operation: 75-73=2
Exploring Operation: 75-8=67, Resulting Numbers: [73, 8, 67]
Generated Node #0,2: 16:[73, 8, 67] Operation: 75-8=67
Moving to Node #0,1
Current State: 16:[8, 8, 2], Operations: ['75-73=2']
Exploring Operation: 8+8=16, Resulting Numbers: [2, 16]
Generated Node #0,1,0: 16:[2, 16] Operation: 8+8=16
Exploring Operation: 8*2=16, Resulting Numbers: [8, 16]
Generated Node #0,1,1: 16:[8, 16] Operation: 8*2=16
Exploring Operation: 8/2=4, Resulting Numbers: [8, 4]
Generated Node #0,1,2: 16:[8, 4] Operation: 8/2=4
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 16:[2, 16], Operations: ['75-73=2', '8+8=16']
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,16 unequal: No Solution
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,16 unequal: No Solution
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 16:[8, 16], Operations: ['75-73=2', '8*2=16']
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,16 unequal: No Solution
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 8+16=24, Resulting Numbers: [24]
24,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 16:[8, 4], Operations: ['75-73=2', '8/2=4']
Exploring Operation: 8+4=12, Resulting Numbers: [12]
12,16 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,16 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: 16:[75, 8, 65], Operations: ['73-8=65']
Exploring Operation: 75-65=10, Resulting Numbers: [8, 10]
Generated Node #0,0,0: 16:[8, 10] Operation: 75-65=10
Exploring Operation: 75-8=67, Resulting Numbers: [65, 67]
Generated Node #0,0,1: 16:[65, 67] Operation: 75-8=67
Exploring Operation: 65-8=57, Resulting Numbers: [75, 57]
Generated Node #0,0,2: 16:[75, 57] Operation: 65-8=57
Moving to Node #0,2
Current State: 16:[73, 8, 67], Operations: ['75-8=67']
Exploring Operation: 73-67=6, Resulting Numbers: [8, 6]
Generated Node #0,2,0: 16:[8, 6] Operation: 73-67=6
Exploring Operation: 73-8=65, Resulting Numbers: [67, 65]
Generated Node #0,2,1: 16:[67, 65] Operation: 73-8=65
Exploring Operation: 67-8=59, Resulting Numbers: [73, 59]
Generated Node #0,2,2: 16:[73, 59] Operation: 67-8=59
Moving to Node #0,0,0
Current State: 16:[8, 10], Operations: ['73-8=65', '75-65=10']
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,16 unequal: No Solution
Exploring Operation: 8*10=80, Resulting Numbers: [80]
80,16 unequal: No Solution
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Moving to Node #0,2,0
Current State: 16:[8, 6], Operations: ['75-8=67', '73-67=6']
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,16 unequal: No Solution
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Moving to Node #0,0,2
Current State: 16:[75, 57], Operations: ['73-8=65', '65-8=57']
Exploring Operation: 75-57=18, Resulting Numbers: [18]
18,16 unequal: No Solution
Exploring Operation: 75+57=132, Resulting Numbers: [132]
132,16 unequal: No Solution
Exploring Operation: 75*57=4275, Resulting Numbers: [4275]
4275,16 unequal: No Solution
Moving to Node #0,2,2
Current State: 16:[73, 59], Operations: ['75-8=67', '67-8=59']
Exploring Operation: 73+59=132, Resulting Numbers: [132]
132,16 unequal: No Solution
Exploring Operation: 73*59=4307, Resulting Numbers: [4307]
4307,16 unequal: No Solution
Exploring Operation: 73-59=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Moving to Node #0,2,1
Current State: 16:[67, 65], Operations: ['75-8=67', '73-8=65']
Exploring Operation: 67+65=132, Resulting Numbers: [132]
132,16 unequal: No Solution
Exploring Operation: 67-65=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 67*65=4355, Resulting Numbers: [4355]
4355,16 unequal: No Solution
Moving to Node #0,0,1
Current State: 16:[65, 67], Operations: ['73-8=65', '75-8=67']
Exploring Operation: 67-65=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 65*67=4355, Resulting Numbers: [4355]
4355,16 unequal: No Solution
Exploring Operation: 65+67=132, Resulting Numbers: [132]
132,16 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
70,
10,
95,
78
] | 15 | [
"78-70=8",
"10*8=80",
"95-80=15"
] | Current State: 15:[70, 10, 95, 78], Operations: []
Exploring Operation: 78-70=8, Resulting Numbers: [10, 95, 8]
Generated Node #2: [10, 95, 8] from Operation: 78-70=8
Current State: 15:[10, 95, 8], Operations: ['78-70=8']
Exploring Operation: 10*8=80, Resulting Numbers: [95, 80]
Generated Node #3: [95, 80] from Operation: 10*8=80
Current State: 15:[95, 80], Operations: ['78-70=8', '10*8=80']
Exploring Operation: 95-80=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[70, 10, 95, 78], Operations: []
Exploring Operation: 95-78=17, Resulting Numbers: [70, 10, 17]
Generated Node #0,0: 15:[70, 10, 17] Operation: 95-78=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[70, 10, 17], Operations: ['95-78=17']
Exploring Operation: 70/10=7, Resulting Numbers: [17, 7]
Generated Node #0,0,0: 15:[17, 7] Operation: 70/10=7
Moving to Node #0,0,0
Current State: 15:[17, 7], Operations: ['95-78=17', '70/10=7']
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,15 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,
91,
15,
95
] | 87 | [
"95-15=80",
"80/20=4",
"91-4=87"
] | Current State: 87:[20, 91, 15, 95], Operations: []
Exploring Operation: 95-15=80, Resulting Numbers: [20, 91, 80]
Generated Node #2: [20, 91, 80] from Operation: 95-15=80
Current State: 87:[20, 91, 80], Operations: ['95-15=80']
Exploring Operation: 80/20=4, Resulting Numbers: [91, 4]
Generated Node #3: [91, 4] from Operation: 80/20=4
Current State: 87:[91, 4], Operations: ['95-15=80', '80/20=4']
Exploring Operation: 91-4=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[20, 91, 15, 95], Operations: []
Exploring Operation: 20-15=5, Resulting Numbers: [91, 95, 5]
Generated Node #0,0: 87:[91, 95, 5] Operation: 20-15=5
Exploring Operation: 20+15=35, Resulting Numbers: [91, 95, 35]
Generated Node #0,1: 87:[91, 95, 35] Operation: 20+15=35
Exploring Operation: 95-15=80, Resulting Numbers: [20, 91, 80]
Generated Node #0,2: 87:[20, 91, 80] Operation: 95-15=80
Moving to Node #0,0
Current State: 87:[91, 95, 5], Operations: ['20-15=5']
Exploring Operation: 95-91=4, Resulting Numbers: [5, 4]
Generated Node #0,0,0: 87:[5, 4] Operation: 95-91=4
Exploring Operation: 95-5=90, Resulting Numbers: [91, 90]
Generated Node #0,0,1: 87:[91, 90] Operation: 95-5=90
Exploring Operation: 91-5=86, Resulting Numbers: [95, 86]
Generated Node #0,0,2: 87:[95, 86] Operation: 91-5=86
Moving to Node #0,1
Current State: 87:[91, 95, 35], Operations: ['20+15=35']
Exploring Operation: 95-35=60, Resulting Numbers: [91, 60]
Generated Node #0,1,0: 87:[91, 60] Operation: 95-35=60
Exploring Operation: 91-35=56, Resulting Numbers: [95, 56]
Generated Node #0,1,1: 87:[95, 56] Operation: 91-35=56
Exploring Operation: 95-91=4, Resulting Numbers: [35, 4]
Generated Node #0,1,2: 87:[35, 4] Operation: 95-91=4
Moving to Node #0,2
Current State: 87:[20, 91, 80], Operations: ['95-15=80']
Exploring Operation: 20+80=100, Resulting Numbers: [91, 100]
Generated Node #0,2,0: 87:[91, 100] Operation: 20+80=100
Exploring Operation: 80/20=4, Resulting Numbers: [91, 4]
Generated Node #0,2,1: 87:[91, 4] Operation: 80/20=4
Exploring Operation: 91-80=11, Resulting Numbers: [20, 11]
Generated Node #0,2,2: 87:[20, 11] Operation: 91-80=11
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 87:[91, 4], Operations: ['95-15=80', '80/20=4']
Exploring Operation: 91-4=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[20, 91, 15, 95], Operations: []
Exploring Operation: 95-15=80, Resulting Numbers: [20, 91, 80]
Generated Node #0,2: 87:[20, 91, 80] Operation: 95-15=80
Moving to Node #0,2
Current State: 87:[20, 91, 80], Operations: ['95-15=80']
Exploring Operation: 80/20=4, Resulting Numbers: [91, 4]
Generated Node #0,2,1: 87:[91, 4] Operation: 80/20=4
Moving to Node #0,2,1
Current State: 87:[91, 4], Operations: ['95-15=80', '80/20=4']
Exploring Operation: 91-4=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | sum_heuristic |
[
46,
32,
20,
42
] | 48 | [
"46-32=14",
"20+42=62",
"62-14=48"
] | Current State: 48:[46, 32, 20, 42], Operations: []
Exploring Operation: 46-32=14, Resulting Numbers: [20, 42, 14]
Generated Node #2: [20, 42, 14] from Operation: 46-32=14
Current State: 48:[20, 42, 14], Operations: ['46-32=14']
Exploring Operation: 20+42=62, Resulting Numbers: [14, 62]
Generated Node #3: [14, 62] from Operation: 20+42=62
Current State: 48:[14, 62], Operations: ['46-32=14', '20+42=62']
Exploring Operation: 62-14=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[46, 32, 20, 42], Operations: []
Exploring Operation: 32-20=12, Resulting Numbers: [46, 42, 12]
Generated Node #0,0: 48:[46, 42, 12] Operation: 32-20=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[46, 42, 12], Operations: ['32-20=12']
Exploring Operation: 46-42=4, Resulting Numbers: [12, 4]
Generated Node #0,0,0: 48:[12, 4] Operation: 46-42=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 48:[12, 4], Operations: ['32-20=12', '46-42=4']
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
80,
3,
87,
11
] | 98 | [
"87-80=7",
"3+11=14",
"7*14=98"
] | Current State: 98:[80, 3, 87, 11], Operations: []
Exploring Operation: 87-80=7, Resulting Numbers: [3, 11, 7]
Generated Node #2: [3, 11, 7] from Operation: 87-80=7
Current State: 98:[3, 11, 7], Operations: ['87-80=7']
Exploring Operation: 3+11=14, Resulting Numbers: [7, 14]
Generated Node #3: [7, 14] from Operation: 3+11=14
Current State: 98:[7, 14], Operations: ['87-80=7', '3+11=14']
Exploring Operation: 7*14=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[80, 3, 87, 11], Operations: []
Exploring Operation: 87+11=98, Resulting Numbers: [80, 3, 98]
Generated Node #0,0: 98:[80, 3, 98] Operation: 87+11=98
Exploring Operation: 80+3=83, Resulting Numbers: [87, 11, 83]
Generated Node #0,1: 98:[87, 11, 83] Operation: 80+3=83
Exploring Operation: 80+11=91, Resulting Numbers: [3, 87, 91]
Generated Node #0,2: 98:[3, 87, 91] Operation: 80+11=91
Exploring Operation: 87-80=7, Resulting Numbers: [3, 11, 7]
Generated Node #0,3: 98:[3, 11, 7] Operation: 87-80=7
Moving to Node #0,3
Current State: 98:[3, 11, 7], Operations: ['87-80=7']
Exploring Operation: 3+11=14, Resulting Numbers: [7, 14]
Generated Node #0,3,0: 98:[7, 14] Operation: 3+11=14
Exploring Operation: 7-3=4, Resulting Numbers: [11, 4]
Generated Node #0,3,1: 98:[11, 4] Operation: 7-3=4
Exploring Operation: 11-7=4, Resulting Numbers: [3, 4]
Generated Node #0,3,2: 98:[3, 4] Operation: 11-7=4
Exploring Operation: 11-3=8, Resulting Numbers: [7, 8]
Generated Node #0,3,3: 98:[7, 8] Operation: 11-3=8
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 98:[7, 14], Operations: ['87-80=7', '3+11=14']
Exploring Operation: 7*14=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[80, 3, 87, 11], Operations: []
Exploring Operation: 87-80=7, Resulting Numbers: [3, 11, 7]
Generated Node #0,3: 98:[3, 11, 7] Operation: 87-80=7
Moving to Node #0,3
Current State: 98:[3, 11, 7], Operations: ['87-80=7']
Exploring Operation: 3+11=14, Resulting Numbers: [7, 14]
Generated Node #0,3,0: 98:[7, 14] Operation: 3+11=14
Moving to Node #0,3,0
Current State: 98:[7, 14], Operations: ['87-80=7', '3+11=14']
Exploring Operation: 7*14=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
9,
16,
50,
14
] | 16 | [
"9+16=25",
"50/25=2",
"14+2=16"
] | Current State: 16:[9, 16, 50, 14], Operations: []
Exploring Operation: 9+16=25, Resulting Numbers: [50, 14, 25]
Generated Node #2: [50, 14, 25] from Operation: 9+16=25
Current State: 16:[50, 14, 25], Operations: ['9+16=25']
Exploring Operation: 50/25=2, Resulting Numbers: [14, 2]
Generated Node #3: [14, 2] from Operation: 50/25=2
Current State: 16:[14, 2], Operations: ['9+16=25', '50/25=2']
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[9, 16, 50, 14], Operations: []
Exploring Operation: 50-9=41, Resulting Numbers: [16, 14, 41]
Generated Node #0,0: 16:[16, 14, 41] Operation: 50-9=41
Exploring Operation: 50-16=34, Resulting Numbers: [9, 14, 34]
Generated Node #0,1: 16:[9, 14, 34] Operation: 50-16=34
Exploring Operation: 50-14=36, Resulting Numbers: [9, 16, 36]
Generated Node #0,2: 16:[9, 16, 36] Operation: 50-14=36
Exploring Operation: 16-14=2, Resulting Numbers: [9, 50, 2]
Generated Node #0,3: 16:[9, 50, 2] Operation: 16-14=2
Exploring Operation: 14-9=5, Resulting Numbers: [16, 50, 5]
Generated Node #0,4: 16:[16, 50, 5] Operation: 14-9=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 16:[9, 14, 34], Operations: ['50-16=34']
Exploring Operation: 14-9=5, Resulting Numbers: [34, 5]
Generated Node #0,1,0: 16:[34, 5] Operation: 14-9=5
Exploring Operation: 34-9=25, Resulting Numbers: [14, 25]
Generated Node #0,1,1: 16:[14, 25] Operation: 34-9=25
Exploring Operation: 9+14=23, Resulting Numbers: [34, 23]
Generated Node #0,1,2: 16:[34, 23] Operation: 9+14=23
Exploring Operation: 34-14=20, Resulting Numbers: [9, 20]
Generated Node #0,1,3: 16:[9, 20] Operation: 34-14=20
Exploring Operation: 9+34=43, Resulting Numbers: [14, 43]
Generated Node #0,1,4: 16:[14, 43] Operation: 9+34=43
Moving to Node #0,1,3
Current State: 16:[9, 20], Operations: ['50-16=34', '34-14=20']
Exploring Operation: 9+20=29, Resulting Numbers: [29]
29,16 unequal: No Solution
Exploring Operation: 9*20=180, Resulting Numbers: [180]
180,16 unequal: No Solution
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,16 unequal: No Solution
Moving to Node #0,1,1
Current State: 16:[14, 25], Operations: ['50-16=34', '34-9=25']
Exploring Operation: 14+25=39, Resulting Numbers: [39]
39,16 unequal: No Solution
Exploring Operation: 14*25=350, Resulting Numbers: [350]
350,16 unequal: No Solution
Exploring Operation: 25-14=11, Resulting Numbers: [11]
11,16 unequal: No Solution
Moving to Node #0,1,0
Current State: 16:[34, 5], Operations: ['50-16=34', '14-9=5']
Exploring Operation: 34*5=170, Resulting Numbers: [170]
170,16 unequal: No Solution
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,16 unequal: No Solution
Exploring Operation: 34+5=39, Resulting Numbers: [39]
39,16 unequal: No Solution
Moving to Node #0,1,2
Current State: 16:[34, 23], Operations: ['50-16=34', '9+14=23']
Exploring Operation: 34*23=782, Resulting Numbers: [782]
782,16 unequal: No Solution
Exploring Operation: 34-23=11, Resulting Numbers: [11]
11,16 unequal: No Solution
Exploring Operation: 34+23=57, Resulting Numbers: [57]
57,16 unequal: No Solution
Moving to Node #0,1,4
Current State: 16:[14, 43], Operations: ['50-16=34', '9+34=43']
Exploring Operation: 43-14=29, Resulting Numbers: [29]
29,16 unequal: No Solution
Exploring Operation: 14+43=57, Resulting Numbers: [57]
57,16 unequal: No Solution
Exploring Operation: 14*43=602, Resulting Numbers: [602]
602,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 16:[9, 16, 36], Operations: ['50-14=36']
Exploring Operation: 36-9=27, Resulting Numbers: [16, 27]
Generated Node #0,2,0: 16:[16, 27] Operation: 36-9=27
Exploring Operation: 16-9=7, Resulting Numbers: [36, 7]
Generated Node #0,2,1: 16:[36, 7] Operation: 16-9=7
Exploring Operation: 9+16=25, Resulting Numbers: [36, 25]
Generated Node #0,2,2: 16:[36, 25] Operation: 9+16=25
Exploring Operation: 36-16=20, Resulting Numbers: [9, 20]
Generated Node #0,2,3: 16:[9, 20] Operation: 36-16=20
Exploring Operation: 36/9=4, Resulting Numbers: [16, 4]
Generated Node #0,2,4: 16:[16, 4] Operation: 36/9=4
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 16:[16, 4], Operations: ['50-14=36', '36/9=4']
Exploring Operation: 16*4=64, Resulting Numbers: [64]
64,16 unequal: No Solution
Exploring Operation: 16+4=20, Resulting Numbers: [20]
20,16 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,16 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,16 unequal: No Solution
No 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: 16:[9, 20], Operations: ['50-14=36', '36-16=20']
Exploring Operation: 9+20=29, Resulting Numbers: [29]
29,16 unequal: No Solution
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,16 unequal: No Solution
Exploring Operation: 9*20=180, Resulting Numbers: [180]
180,16 unequal: No Solution
No 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: 16:[16, 27], Operations: ['50-14=36', '36-9=27']
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,16 unequal: No Solution
Exploring Operation: 16*27=432, Resulting Numbers: [432]
432,16 unequal: No Solution
Exploring Operation: 16+27=43, Resulting Numbers: [43]
43,16 unequal: No Solution
No 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: 16:[36, 7], Operations: ['50-14=36', '16-9=7']
Exploring Operation: 36*7=252, Resulting Numbers: [252]
252,16 unequal: No Solution
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,16 unequal: No Solution
Exploring Operation: 36+7=43, Resulting Numbers: [43]
43,16 unequal: No Solution
No 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: 16:[36, 25], Operations: ['50-14=36', '9+16=25']
Exploring Operation: 36+25=61, Resulting Numbers: [61]
61,16 unequal: No Solution
Exploring Operation: 36*25=900, Resulting Numbers: [900]
900,16 unequal: No Solution
Exploring Operation: 36-25=11, Resulting Numbers: [11]
11,16 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: 16:[16, 14, 41], Operations: ['50-9=41']
Exploring Operation: 16+14=30, Resulting Numbers: [41, 30]
Generated Node #0,0,0: 16:[41, 30] Operation: 16+14=30
Exploring Operation: 41-14=27, Resulting Numbers: [16, 27]
Generated Node #0,0,1: 16:[16, 27] Operation: 41-14=27
Exploring Operation: 14+41=55, Resulting Numbers: [16, 55]
Generated Node #0,0,2: 16:[16, 55] Operation: 14+41=55
Exploring Operation: 16-14=2, Resulting Numbers: [41, 2]
Generated Node #0,0,3: 16:[41, 2] Operation: 16-14=2
Exploring Operation: 41-16=25, Resulting Numbers: [14, 25]
Generated Node #0,0,4: 16:[14, 25] Operation: 41-16=25
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 16:[16, 27], Operations: ['50-9=41', '41-14=27']
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,16 unequal: No Solution
Exploring Operation: 16*27=432, Resulting Numbers: [432]
432,16 unequal: No Solution
Exploring Operation: 16+27=43, Resulting Numbers: [43]
43,16 unequal: No Solution
No 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: 16:[14, 25], Operations: ['50-9=41', '41-16=25']
Exploring Operation: 25-14=11, Resulting Numbers: [11]
11,16 unequal: No Solution
Exploring Operation: 14*25=350, Resulting Numbers: [350]
350,16 unequal: No Solution
Exploring Operation: 14+25=39, Resulting Numbers: [39]
39,16 unequal: No Solution
No 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: 16:[41, 2], Operations: ['50-9=41', '16-14=2']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,16 unequal: No Solution
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,16 unequal: No Solution
Exploring Operation: 41+2=43, Resulting Numbers: [43]
43,16 unequal: No Solution
No 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: 16:[41, 30], Operations: ['50-9=41', '16+14=30']
Exploring Operation: 41+30=71, Resulting Numbers: [71]
71,16 unequal: No Solution
Exploring Operation: 41-30=11, Resulting Numbers: [11]
11,16 unequal: No Solution
Exploring Operation: 41*30=1230, Resulting Numbers: [1230]
1230,16 unequal: No Solution
No 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: 16:[16, 55], Operations: ['50-9=41', '14+41=55']
Exploring Operation: 16*55=880, Resulting Numbers: [880]
880,16 unequal: No Solution
Exploring Operation: 16+55=71, Resulting Numbers: [71]
71,16 unequal: No Solution
Exploring Operation: 55-16=39, Resulting Numbers: [39]
39,16 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: 16:[9, 50, 2], Operations: ['16-14=2']
Exploring Operation: 50-9=41, Resulting Numbers: [2, 41]
Generated Node #0,3,0: 16:[2, 41] Operation: 50-9=41
Exploring Operation: 9*2=18, Resulting Numbers: [50, 18]
Generated Node #0,3,1: 16:[50, 18] Operation: 9*2=18
Exploring Operation: 9-2=7, Resulting Numbers: [50, 7]
Generated Node #0,3,2: 16:[50, 7] Operation: 9-2=7
Exploring Operation: 50/2=25, Resulting Numbers: [9, 25]
Generated Node #0,3,3: 16:[9, 25] Operation: 50/2=25
Exploring Operation: 50-2=48, Resulting Numbers: [9, 48]
Generated Node #0,3,4: 16:[9, 48] Operation: 50-2=48
Moving to Node #0,3,3
Current State: 16:[9, 25], Operations: ['16-14=2', '50/2=25']
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[9, 16, 50, 14], Operations: []
Exploring Operation: 16-14=2, Resulting Numbers: [9, 50, 2]
Generated Node #0,3: 16:[9, 50, 2] Operation: 16-14=2
Moving to Node #0,3
Current State: 16:[9, 50, 2], Operations: ['16-14=2']
Exploring Operation: 50/2=25, Resulting Numbers: [9, 25]
Generated Node #0,3,3: 16:[9, 25] Operation: 50/2=25
Moving to Node #0,3,3
Current State: 16:[9, 25], Operations: ['16-14=2', '50/2=25']
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.934028 | hs_5 | sum_heuristic |
[
4,
85,
75,
76
] | 89 | [
"4+85=89",
"76-75=1",
"89*1=89"
] | Current State: 89:[4, 85, 75, 76], Operations: []
Exploring Operation: 4+85=89, Resulting Numbers: [75, 76, 89]
Generated Node #2: [75, 76, 89] from Operation: 4+85=89
Current State: 89:[75, 76, 89], Operations: ['4+85=89']
Exploring Operation: 76-75=1, Resulting Numbers: [89, 1]
Generated Node #3: [89, 1] from Operation: 76-75=1
Current State: 89:[89, 1], Operations: ['4+85=89', '76-75=1']
Exploring Operation: 89*1=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[4, 85, 75, 76], Operations: []
Exploring Operation: 4+85=89, Resulting Numbers: [75, 76, 89]
Generated Node #0,0: 89:[75, 76, 89] Operation: 4+85=89
Exploring Operation: 85-4=81, Resulting Numbers: [75, 76, 81]
Generated Node #0,1: 89:[75, 76, 81] Operation: 85-4=81
Exploring Operation: 4+75=79, Resulting Numbers: [85, 76, 79]
Generated Node #0,2: 89:[85, 76, 79] Operation: 4+75=79
Exploring Operation: 75-4=71, Resulting Numbers: [85, 76, 71]
Generated Node #0,3: 89:[85, 76, 71] Operation: 75-4=71
Exploring Operation: 4+76=80, Resulting Numbers: [85, 75, 80]
Generated Node #0,4: 89:[85, 75, 80] Operation: 4+76=80
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[75, 76, 89], Operations: ['4+85=89']
Exploring Operation: 75+76=151, Resulting Numbers: [89, 151]
Generated Node #0,0,0: 89:[89, 151] Operation: 75+76=151
Exploring Operation: 76-75=1, Resulting Numbers: [89, 1]
Generated Node #0,0,1: 89:[89, 1] Operation: 76-75=1
Exploring Operation: 75+89=164, Resulting Numbers: [76, 164]
Generated Node #0,0,2: 89:[76, 164] Operation: 75+89=164
Exploring Operation: 76+89=165, Resulting Numbers: [75, 165]
Generated Node #0,0,3: 89:[75, 165] Operation: 76+89=165
Exploring Operation: 89-75=14, Resulting Numbers: [76, 14]
Generated Node #0,0,4: 89:[76, 14] Operation: 89-75=14
Moving to Node #0,0,0
Current State: 89:[89, 151], Operations: ['4+85=89', '75+76=151']
Exploring Operation: 151-89=62, Resulting Numbers: [62]
62,89 unequal: No Solution
Exploring Operation: 89+151=240, Resulting Numbers: [240]
240,89 unequal: No Solution
Exploring Operation: 89*151=13439, Resulting Numbers: [13439]
13439,89 unequal: No Solution
Moving to Node #0,0,2
Current State: 89:[76, 164], Operations: ['4+85=89', '75+89=164']
Exploring Operation: 164-76=88, Resulting Numbers: [88]
88,89 unequal: No Solution
Exploring Operation: 76+164=240, Resulting Numbers: [240]
240,89 unequal: No Solution
Exploring Operation: 76*164=12464, Resulting Numbers: [12464]
12464,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[89, 1], Operations: ['4+85=89', '76-75=1']
Exploring Operation: 89-1=88, Resulting Numbers: [88]
88,89 unequal: No Solution
Exploring Operation: 89*1=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[4, 85, 75, 76], Operations: []
Exploring Operation: 4+85=89, Resulting Numbers: [75, 76, 89]
Generated Node #0,0: 89:[75, 76, 89] Operation: 4+85=89
Moving to Node #0,0
Current State: 89:[75, 76, 89], Operations: ['4+85=89']
Exploring Operation: 76-75=1, Resulting Numbers: [89, 1]
Generated Node #0,0,1: 89:[89, 1] Operation: 76-75=1
Moving to Node #0,0,1
Current State: 89:[89, 1], Operations: ['4+85=89', '76-75=1']
Exploring Operation: 89*1=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | mult_heuristic |
[
75,
50,
84,
21
] | 62 | [
"75+50=125",
"84-21=63",
"125-63=62"
] | Current State: 62:[75, 50, 84, 21], Operations: []
Exploring Operation: 75+50=125, Resulting Numbers: [84, 21, 125]
Generated Node #2: [84, 21, 125] from Operation: 75+50=125
Current State: 62:[84, 21, 125], Operations: ['75+50=125']
Exploring Operation: 84-21=63, Resulting Numbers: [125, 63]
Generated Node #3: [125, 63] from Operation: 84-21=63
Current State: 62:[125, 63], Operations: ['75+50=125', '84-21=63']
Exploring Operation: 125-63=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[75, 50, 84, 21], Operations: []
Exploring Operation: 84-50=34, Resulting Numbers: [75, 21, 34]
Generated Node #0,0: 62:[75, 21, 34] Operation: 84-50=34
Exploring Operation: 84-21=63, Resulting Numbers: [75, 50, 63]
Generated Node #0,1: 62:[75, 50, 63] Operation: 84-21=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[75, 21, 34], Operations: ['84-50=34']
Exploring Operation: 75-34=41, Resulting Numbers: [21, 41]
Generated Node #0,0,0: 62:[21, 41] Operation: 75-34=41
Exploring Operation: 75-21=54, Resulting Numbers: [34, 54]
Generated Node #0,0,1: 62:[34, 54] Operation: 75-21=54
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 62:[34, 54], Operations: ['84-50=34', '75-21=54']
Exploring Operation: 34+54=88, Resulting Numbers: [88]
88,62 unequal: No Solution
Exploring Operation: 54-34=20, Resulting Numbers: [20]
20,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 62:[21, 41], Operations: ['84-50=34', '75-34=41']
Exploring Operation: 41-21=20, Resulting Numbers: [20]
20,62 unequal: No Solution
Exploring Operation: 21+41=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[75, 50, 84, 21], Operations: []
Exploring Operation: 84-50=34, Resulting Numbers: [75, 21, 34]
Generated Node #0,0: 62:[75, 21, 34] Operation: 84-50=34
Moving to Node #0,0
Current State: 62:[75, 21, 34], Operations: ['84-50=34']
Exploring Operation: 75-34=41, Resulting Numbers: [21, 41]
Generated Node #0,0,0: 62:[21, 41] Operation: 75-34=41
Moving to Node #0,0,0
Current State: 62:[21, 41], Operations: ['84-50=34', '75-34=41']
Exploring Operation: 21+41=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
87,
80,
86,
34
] | 58 | [
"87*80=6960",
"86+34=120",
"6960/120=58"
] | Current State: 58:[87, 80, 86, 34], Operations: []
Exploring Operation: 87*80=6960, Resulting Numbers: [86, 34, 6960]
Generated Node #2: [86, 34, 6960] from Operation: 87*80=6960
Current State: 58:[86, 34, 6960], Operations: ['87*80=6960']
Exploring Operation: 86+34=120, Resulting Numbers: [6960, 120]
Generated Node #3: [6960, 120] from Operation: 86+34=120
Current State: 58:[6960, 120], Operations: ['87*80=6960', '86+34=120']
Exploring Operation: 6960/120=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[87, 80, 86, 34], Operations: []
Exploring Operation: 87-86=1, Resulting Numbers: [80, 34, 1]
Generated Node #0,0: 58:[80, 34, 1] Operation: 87-86=1
Moving to Node #0,0
Current State: 58:[80, 34, 1], Operations: ['87-86=1']
Exploring Operation: 80-34=46, Resulting Numbers: [1, 46]
Generated Node #0,0,0: 58:[1, 46] Operation: 80-34=46
Moving to Node #0,0,0
Current State: 58:[1, 46], Operations: ['87-86=1', '80-34=46']
Exploring Operation: 1+46=47, Resulting Numbers: [47]
47,58 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
56,
94,
2,
34
] | 58 | [
"56+94=150",
"150-34=116",
"116/2=58"
] | Current State: 58:[56, 94, 2, 34], Operations: []
Exploring Operation: 56+94=150, Resulting Numbers: [2, 34, 150]
Generated Node #2: [2, 34, 150] from Operation: 56+94=150
Current State: 58:[2, 34, 150], Operations: ['56+94=150']
Exploring Operation: 150-34=116, Resulting Numbers: [2, 116]
Generated Node #3: [2, 116] from Operation: 150-34=116
Current State: 58:[2, 116], Operations: ['56+94=150', '150-34=116']
Exploring Operation: 116/2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[56, 94, 2, 34], Operations: []
Exploring Operation: 94-34=60, Resulting Numbers: [56, 2, 60]
Generated Node #0,0: 58:[56, 2, 60] Operation: 94-34=60
Exploring Operation: 94/2=47, Resulting Numbers: [56, 34, 47]
Generated Node #0,1: 58:[56, 34, 47] Operation: 94/2=47
Exploring Operation: 94-56=38, Resulting Numbers: [2, 34, 38]
Generated Node #0,2: 58:[2, 34, 38] Operation: 94-56=38
Exploring Operation: 56+2=58, Resulting Numbers: [94, 34, 58]
Generated Node #0,3: 58:[94, 34, 58] Operation: 56+2=58
Exploring Operation: 94-2=92, Resulting Numbers: [56, 34, 92]
Generated Node #0,4: 58:[56, 34, 92] Operation: 94-2=92
Moving to Node #0,0
Current State: 58:[56, 2, 60], Operations: ['94-34=60']
Exploring Operation: 60-56=4, Resulting Numbers: [2, 4]
Generated Node #0,0,0: 58:[2, 4] Operation: 60-56=4
Exploring Operation: 60-2=58, Resulting Numbers: [56, 58]
Generated Node #0,0,1: 58:[56, 58] Operation: 60-2=58
Exploring Operation: 56+2=58, Resulting Numbers: [60, 58]
Generated Node #0,0,2: 58:[60, 58] Operation: 56+2=58
Exploring Operation: 60/2=30, Resulting Numbers: [56, 30]
Generated Node #0,0,3: 58:[56, 30] Operation: 60/2=30
Exploring Operation: 56/2=28, Resulting Numbers: [60, 28]
Generated Node #0,0,4: 58:[60, 28] Operation: 56/2=28
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 58:[2, 4], Operations: ['94-34=60', '60-56=4']
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,58 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,58 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,58 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,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:[56, 58], Operations: ['94-34=60', '60-2=58']
Exploring Operation: 56*58=3248, Resulting Numbers: [3248]
3248,58 unequal: No Solution
Exploring Operation: 58-56=2, Resulting Numbers: [2]
2,58 unequal: No Solution
Exploring Operation: 56+58=114, Resulting Numbers: [114]
114,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 58:[60, 58], Operations: ['94-34=60', '56+2=58']
Exploring Operation: 60+58=118, Resulting Numbers: [118]
118,58 unequal: No Solution
Exploring Operation: 60-58=2, Resulting Numbers: [2]
2,58 unequal: No Solution
Exploring Operation: 60*58=3480, Resulting Numbers: [3480]
3480,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:[56, 30], Operations: ['94-34=60', '60/2=30']
Exploring Operation: 56+30=86, Resulting Numbers: [86]
86,58 unequal: No Solution
Exploring Operation: 56*30=1680, Resulting Numbers: [1680]
1680,58 unequal: No Solution
Exploring Operation: 56-30=26, Resulting Numbers: [26]
26,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:[60, 28], Operations: ['94-34=60', '56/2=28']
Exploring Operation: 60-28=32, Resulting Numbers: [32]
32,58 unequal: No Solution
Exploring Operation: 60*28=1680, Resulting Numbers: [1680]
1680,58 unequal: No Solution
Exploring Operation: 60+28=88, Resulting Numbers: [88]
88,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:[2, 34, 38], Operations: ['94-56=38']
Exploring Operation: 38-34=4, Resulting Numbers: [2, 4]
Generated Node #0,2,0: 58:[2, 4] Operation: 38-34=4
Exploring Operation: 34-2=32, Resulting Numbers: [38, 32]
Generated Node #0,2,1: 58:[38, 32] Operation: 34-2=32
Exploring Operation: 34+38=72, Resulting Numbers: [2, 72]
Generated Node #0,2,2: 58:[2, 72] Operation: 34+38=72
Exploring Operation: 38/2=19, Resulting Numbers: [34, 19]
Generated Node #0,2,3: 58:[34, 19] Operation: 38/2=19
Exploring Operation: 38-2=36, Resulting Numbers: [34, 36]
Generated Node #0,2,4: 58:[34, 36] Operation: 38-2=36
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 58:[2, 4], Operations: ['94-56=38', '38-34=4']
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,58 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,58 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,58 unequal: No Solution
Exploring Operation: 4-2=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,2,1
Current State: 58:[38, 32], Operations: ['94-56=38', '34-2=32']
Exploring Operation: 38-32=6, Resulting Numbers: [6]
6,58 unequal: No Solution
Exploring Operation: 38*32=1216, Resulting Numbers: [1216]
1216,58 unequal: No Solution
Exploring Operation: 38+32=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,2,4
Current State: 58:[34, 36], Operations: ['94-56=38', '38-2=36']
Exploring Operation: 36-34=2, Resulting Numbers: [2]
2,58 unequal: No Solution
Exploring Operation: 34*36=1224, Resulting Numbers: [1224]
1224,58 unequal: No Solution
Exploring Operation: 34+36=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,2,2
Current State: 58:[2, 72], Operations: ['94-56=38', '34+38=72']
Exploring Operation: 2+72=74, Resulting Numbers: [74]
74,58 unequal: No Solution
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,58 unequal: No Solution
Exploring Operation: 2*72=144, Resulting Numbers: [144]
144,58 unequal: No Solution
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 58:[34, 19], Operations: ['94-56=38', '38/2=19']
Exploring Operation: 34-19=15, Resulting Numbers: [15]
15,58 unequal: No Solution
Exploring Operation: 34+19=53, Resulting Numbers: [53]
53,58 unequal: No Solution
Exploring Operation: 34*19=646, Resulting Numbers: [646]
646,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:[56, 34, 47], Operations: ['94/2=47']
Exploring Operation: 56-34=22, Resulting Numbers: [47, 22]
Generated Node #0,1,0: 58:[47, 22] Operation: 56-34=22
Exploring Operation: 34+47=81, Resulting Numbers: [56, 81]
Generated Node #0,1,1: 58:[56, 81] Operation: 34+47=81
Exploring Operation: 56-47=9, Resulting Numbers: [34, 9]
Generated Node #0,1,2: 58:[34, 9] Operation: 56-47=9
Exploring Operation: 56+34=90, Resulting Numbers: [47, 90]
Generated Node #0,1,3: 58:[47, 90] Operation: 56+34=90
Exploring Operation: 47-34=13, Resulting Numbers: [56, 13]
Generated Node #0,1,4: 58:[56, 13] Operation: 47-34=13
Moving to Node #0,3
Current State: 58:[94, 34, 58], Operations: ['56+2=58']
Exploring Operation: 94-58=36, Resulting Numbers: [34, 36]
Generated Node #0,3,0: 58:[34, 36] Operation: 94-58=36
Exploring Operation: 94-34=60, Resulting Numbers: [58, 60]
Generated Node #0,3,1: 58:[58, 60] Operation: 94-34=60
Exploring Operation: 94+34=128, Resulting Numbers: [58, 128]
Generated Node #0,3,2: 58:[58, 128] Operation: 94+34=128
Exploring Operation: 58-34=24, Resulting Numbers: [94, 24]
Generated Node #0,3,3: 58:[94, 24] Operation: 58-34=24
Exploring Operation: 34+58=92, Resulting Numbers: [94, 92]
Generated Node #0,3,4: 58:[94, 92] Operation: 34+58=92
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 58:[58, 60], Operations: ['56+2=58', '94-34=60']
Exploring Operation: 58*60=3480, Resulting Numbers: [3480]
3480,58 unequal: No Solution
Exploring Operation: 60-58=2, Resulting Numbers: [2]
2,58 unequal: No Solution
Exploring Operation: 58+60=118, Resulting Numbers: [118]
118,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 58:[34, 36], Operations: ['56+2=58', '94-58=36']
Exploring Operation: 36-34=2, Resulting Numbers: [2]
2,58 unequal: No Solution
Exploring Operation: 34*36=1224, Resulting Numbers: [1224]
1224,58 unequal: No Solution
Exploring Operation: 34+36=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,3,3
Current State: 58:[94, 24], Operations: ['56+2=58', '58-34=24']
Exploring Operation: 94-24=70, Resulting Numbers: [70]
70,58 unequal: No Solution
Exploring Operation: 94*24=2256, Resulting Numbers: [2256]
2256,58 unequal: No Solution
Exploring Operation: 94+24=118, Resulting Numbers: [118]
118,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:[58, 128], Operations: ['56+2=58', '94+34=128']
Exploring Operation: 128-58=70, Resulting Numbers: [70]
70,58 unequal: No Solution
Exploring Operation: 58+128=186, Resulting Numbers: [186]
186,58 unequal: No Solution
Exploring Operation: 58*128=7424, Resulting Numbers: [7424]
7424,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:[94, 92], Operations: ['56+2=58', '34+58=92']
Exploring Operation: 94-92=2, Resulting Numbers: [2]
2,58 unequal: No Solution
Exploring Operation: 94+92=186, Resulting Numbers: [186]
186,58 unequal: No Solution
Exploring Operation: 94*92=8648, Resulting Numbers: [8648]
8648,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:[56, 34, 92], Operations: ['94-2=92']
Exploring Operation: 92-56=36, Resulting Numbers: [34, 36]
Generated Node #0,4,0: 58:[34, 36] Operation: 92-56=36
Exploring Operation: 34+92=126, Resulting Numbers: [56, 126]
Generated Node #0,4,1: 58:[56, 126] Operation: 34+92=126
Exploring Operation: 92-34=58, Resulting Numbers: [56, 58]
Generated Node #0,4,2: 58:[56, 58] Operation: 92-34=58
Exploring Operation: 56+34=90, Resulting Numbers: [92, 90]
Generated Node #0,4,3: 58:[92, 90] Operation: 56+34=90
Exploring Operation: 56-34=22, Resulting Numbers: [92, 22]
Generated Node #0,4,4: 58:[92, 22] Operation: 56-34=22
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 58:[56, 58], Operations: ['94-2=92', '92-34=58']
Exploring Operation: 58-56=2, Resulting Numbers: [2]
2,58 unequal: No Solution
Exploring Operation: 56+58=114, Resulting Numbers: [114]
114,58 unequal: No Solution
Exploring Operation: 56*58=3248, Resulting Numbers: [3248]
3248,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,4,0
Current State: 58:[34, 36], Operations: ['94-2=92', '92-56=36']
Exploring Operation: 36-34=2, Resulting Numbers: [2]
2,58 unequal: No Solution
Exploring Operation: 34*36=1224, Resulting Numbers: [1224]
1224,58 unequal: No Solution
Exploring Operation: 34+36=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,4,4
Current State: 58:[92, 22], Operations: ['94-2=92', '56-34=22']
Exploring Operation: 92*22=2024, Resulting Numbers: [2024]
2024,58 unequal: No Solution
Exploring Operation: 92-22=70, Resulting Numbers: [70]
70,58 unequal: No Solution
Exploring Operation: 92+22=114, Resulting Numbers: [114]
114,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,4,3
Current State: 58:[92, 90], Operations: ['94-2=92', '56+34=90']
Exploring Operation: 92*90=8280, Resulting Numbers: [8280]
8280,58 unequal: No Solution
Exploring Operation: 92-90=2, Resulting Numbers: [2]
2,58 unequal: No Solution
Exploring Operation: 92+90=182, Resulting Numbers: [182]
182,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,4,1
Current State: 58:[56, 126], Operations: ['94-2=92', '34+92=126']
Exploring Operation: 126-56=70, Resulting Numbers: [70]
70,58 unequal: No Solution
Exploring Operation: 56*126=7056, Resulting Numbers: [7056]
7056,58 unequal: No Solution
Exploring Operation: 56+126=182, Resulting Numbers: [182]
182,58 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: 58:[34, 9], Operations: ['94/2=47', '56-47=9']
Exploring Operation: 34+9=43, Resulting Numbers: [43]
43,58 unequal: No Solution
Exploring Operation: 34*9=306, Resulting Numbers: [306]
306,58 unequal: No Solution
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,58 unequal: No Solution
Moving to Node #0,1,4
Current State: 58:[56, 13], Operations: ['94/2=47', '47-34=13']
Exploring Operation: 56+13=69, Resulting Numbers: [69]
69,58 unequal: No Solution
Exploring Operation: 56*13=728, Resulting Numbers: [728]
728,58 unequal: No Solution
Exploring Operation: 56-13=43, Resulting Numbers: [43]
43,58 unequal: No Solution
Moving to Node #0,1,0
Current State: 58:[47, 22], Operations: ['94/2=47', '56-34=22']
Exploring Operation: 47+22=69, Resulting Numbers: [69]
69,58 unequal: No Solution
Exploring Operation: 47-22=25, Resulting Numbers: [25]
25,58 unequal: No Solution
Exploring Operation: 47*22=1034, Resulting Numbers: [1034]
1034,58 unequal: No Solution
Moving to Node #0,1,1
Current State: 58:[56, 81], Operations: ['94/2=47', '34+47=81']
Exploring Operation: 56+81=137, Resulting Numbers: [137]
137,58 unequal: No Solution
Exploring Operation: 56*81=4536, Resulting Numbers: [4536]
4536,58 unequal: No Solution
Exploring Operation: 81-56=25, Resulting Numbers: [25]
25,58 unequal: No Solution
Moving to Node #0,1,3
Current State: 58:[47, 90], Operations: ['94/2=47', '56+34=90']
Exploring Operation: 90-47=43, Resulting Numbers: [43]
43,58 unequal: No Solution
Exploring Operation: 47*90=4230, Resulting Numbers: [4230]
4230,58 unequal: No Solution
Exploring Operation: 47+90=137, Resulting Numbers: [137]
137,58 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
63,
39,
53,
41
] | 36 | [
"63-39=24",
"53-41=12",
"24+12=36"
] | Current State: 36:[63, 39, 53, 41], Operations: []
Exploring Operation: 63-39=24, Resulting Numbers: [53, 41, 24]
Generated Node #2: [53, 41, 24] from Operation: 63-39=24
Current State: 36:[53, 41, 24], Operations: ['63-39=24']
Exploring Operation: 53-41=12, Resulting Numbers: [24, 12]
Generated Node #3: [24, 12] from Operation: 53-41=12
Current State: 36:[24, 12], Operations: ['63-39=24', '53-41=12']
Exploring Operation: 24+12=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[63, 39, 53, 41], Operations: []
Exploring Operation: 53-41=12, Resulting Numbers: [63, 39, 12]
Generated Node #0,0: 36:[63, 39, 12] Operation: 53-41=12
Exploring Operation: 63-39=24, Resulting Numbers: [53, 41, 24]
Generated Node #0,1: 36:[53, 41, 24] Operation: 63-39=24
Exploring Operation: 63-41=22, Resulting Numbers: [39, 53, 22]
Generated Node #0,2: 36:[39, 53, 22] Operation: 63-41=22
Exploring Operation: 63-53=10, Resulting Numbers: [39, 41, 10]
Generated Node #0,3: 36:[39, 41, 10] Operation: 63-53=10
Start Sub Search at level 1: Moving to Node #0,3
Current State: 36:[39, 41, 10], Operations: ['63-53=10']
Exploring Operation: 41-10=31, Resulting Numbers: [39, 31]
Generated Node #0,3,0: 36:[39, 31] Operation: 41-10=31
Exploring Operation: 39-10=29, Resulting Numbers: [41, 29]
Generated Node #0,3,1: 36:[41, 29] Operation: 39-10=29
Exploring Operation: 39+10=49, Resulting Numbers: [41, 49]
Generated Node #0,3,2: 36:[41, 49] Operation: 39+10=49
Exploring Operation: 41-39=2, Resulting Numbers: [10, 2]
Generated Node #0,3,3: 36:[10, 2] Operation: 41-39=2
Moving to Node #0,3,3
Current State: 36:[10, 2], Operations: ['63-53=10', '41-39=2']
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,36 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,36 unequal: No Solution
Moving to Node #0,3,0
Current State: 36:[39, 31], Operations: ['63-53=10', '41-10=31']
Exploring Operation: 39+31=70, Resulting Numbers: [70]
70,36 unequal: No Solution
Exploring Operation: 39*31=1209, Resulting Numbers: [1209]
1209,36 unequal: No Solution
Exploring Operation: 39-31=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Moving to Node #0,3,1
Current State: 36:[41, 29], Operations: ['63-53=10', '39-10=29']
Exploring Operation: 41-29=12, Resulting Numbers: [12]
12,36 unequal: No Solution
Exploring Operation: 41*29=1189, Resulting Numbers: [1189]
1189,36 unequal: No Solution
Exploring Operation: 41+29=70, Resulting Numbers: [70]
70,36 unequal: No Solution
Moving to Node #0,3,2
Current State: 36:[41, 49], Operations: ['63-53=10', '39+10=49']
Exploring Operation: 49-41=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 41*49=2009, Resulting Numbers: [2009]
2009,36 unequal: No Solution
Exploring Operation: 41+49=90, Resulting Numbers: [90]
90,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 36:[39, 53, 22], Operations: ['63-41=22']
Exploring Operation: 39+22=61, Resulting Numbers: [53, 61]
Generated Node #0,2,0: 36:[53, 61] Operation: 39+22=61
Exploring Operation: 39-22=17, Resulting Numbers: [53, 17]
Generated Node #0,2,1: 36:[53, 17] Operation: 39-22=17
Exploring Operation: 53-22=31, Resulting Numbers: [39, 31]
Generated Node #0,2,2: 36:[39, 31] Operation: 53-22=31
Exploring Operation: 53-39=14, Resulting Numbers: [22, 14]
Generated Node #0,2,3: 36:[22, 14] Operation: 53-39=14
Moving to Node #0,2,3
Current State: 36:[22, 14], Operations: ['63-41=22', '53-39=14']
Exploring Operation: 22+14=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[63, 39, 53, 41], Operations: []
Exploring Operation: 63-41=22, Resulting Numbers: [39, 53, 22]
Generated Node #0,2: 36:[39, 53, 22] Operation: 63-41=22
Moving to Node #0,2
Current State: 36:[39, 53, 22], Operations: ['63-41=22']
Exploring Operation: 53-39=14, Resulting Numbers: [22, 14]
Generated Node #0,2,3: 36:[22, 14] Operation: 53-39=14
Moving to Node #0,2,3
Current State: 36:[22, 14], Operations: ['63-41=22', '53-39=14']
Exploring Operation: 22+14=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_4 | sum_heuristic |
[
38,
49,
47,
56
] | 63 | [
"47-38=9",
"56-49=7",
"9*7=63"
] | Current State: 63:[38, 49, 47, 56], Operations: []
Exploring Operation: 47-38=9, Resulting Numbers: [49, 56, 9]
Generated Node #2: [49, 56, 9] from Operation: 47-38=9
Current State: 63:[49, 56, 9], Operations: ['47-38=9']
Exploring Operation: 56-49=7, Resulting Numbers: [9, 7]
Generated Node #3: [9, 7] from Operation: 56-49=7
Current State: 63:[9, 7], Operations: ['47-38=9', '56-49=7']
Exploring Operation: 9*7=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[38, 49, 47, 56], Operations: []
Exploring Operation: 47-38=9, Resulting Numbers: [49, 56, 9]
Generated Node #0,0: 63:[49, 56, 9] Operation: 47-38=9
Exploring Operation: 49-38=11, Resulting Numbers: [47, 56, 11]
Generated Node #0,1: 63:[47, 56, 11] Operation: 49-38=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[49, 56, 9], Operations: ['47-38=9']
Exploring Operation: 49+9=58, Resulting Numbers: [56, 58]
Generated Node #0,0,0: 63:[56, 58] Operation: 49+9=58
Exploring Operation: 56-49=7, Resulting Numbers: [9, 7]
Generated Node #0,0,1: 63:[9, 7] Operation: 56-49=7
Moving to Node #0,0,1
Current State: 63:[9, 7], Operations: ['47-38=9', '56-49=7']
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,63 unequal: No Solution
Exploring Operation: 9*7=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[38, 49, 47, 56], Operations: []
Exploring Operation: 47-38=9, Resulting Numbers: [49, 56, 9]
Generated Node #0,0: 63:[49, 56, 9] Operation: 47-38=9
Moving to Node #0,0
Current State: 63:[49, 56, 9], Operations: ['47-38=9']
Exploring Operation: 56-49=7, Resulting Numbers: [9, 7]
Generated Node #0,0,1: 63:[9, 7] Operation: 56-49=7
Moving to Node #0,0,1
Current State: 63:[9, 7], Operations: ['47-38=9', '56-49=7']
Exploring Operation: 9*7=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
22,
9,
28,
62
] | 59 | [
"22+9=31",
"28+62=90",
"90-31=59"
] | Current State: 59:[22, 9, 28, 62], Operations: []
Exploring Operation: 22+9=31, Resulting Numbers: [28, 62, 31]
Generated Node #2: [28, 62, 31] from Operation: 22+9=31
Current State: 59:[28, 62, 31], Operations: ['22+9=31']
Exploring Operation: 28+62=90, Resulting Numbers: [31, 90]
Generated Node #3: [31, 90] from Operation: 28+62=90
Current State: 59:[31, 90], Operations: ['22+9=31', '28+62=90']
Exploring Operation: 90-31=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[22, 9, 28, 62], Operations: []
Exploring Operation: 9+28=37, Resulting Numbers: [22, 62, 37]
Generated Node #0,0: 59:[22, 62, 37] Operation: 9+28=37
Exploring Operation: 22+9=31, Resulting Numbers: [28, 62, 31]
Generated Node #0,1: 59:[28, 62, 31] Operation: 22+9=31
Exploring Operation: 62-9=53, Resulting Numbers: [22, 28, 53]
Generated Node #0,2: 59:[22, 28, 53] Operation: 62-9=53
Exploring Operation: 22+28=50, Resulting Numbers: [9, 62, 50]
Generated Node #0,3: 59:[9, 62, 50] Operation: 22+28=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[22, 62, 37], Operations: ['9+28=37']
Exploring Operation: 22+62=84, Resulting Numbers: [37, 84]
Generated Node #0,0,0: 59:[37, 84] Operation: 22+62=84
Exploring Operation: 37-22=15, Resulting Numbers: [62, 15]
Generated Node #0,0,1: 59:[62, 15] Operation: 37-22=15
Exploring Operation: 62-22=40, Resulting Numbers: [37, 40]
Generated Node #0,0,2: 59:[37, 40] Operation: 62-22=40
Exploring Operation: 22+37=59, Resulting Numbers: [62, 59]
Generated Node #0,0,3: 59:[62, 59] Operation: 22+37=59
Moving to Node #0,0,3
Current State: 59:[62, 59], Operations: ['9+28=37', '22+37=59']
Exploring Operation: 62*59=3658, Resulting Numbers: [3658]
3658,59 unequal: No Solution
Exploring Operation: 62+59=121, Resulting Numbers: [121]
121,59 unequal: No Solution
Exploring Operation: 62-59=3, Resulting Numbers: [3]
3,59 unequal: No Solution
Moving to Node #0,0,2
Current State: 59:[37, 40], Operations: ['9+28=37', '62-22=40']
Exploring Operation: 37*40=1480, Resulting Numbers: [1480]
1480,59 unequal: No Solution
Exploring Operation: 37+40=77, Resulting Numbers: [77]
77,59 unequal: No Solution
Exploring Operation: 40-37=3, Resulting Numbers: [3]
3,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[62, 15], Operations: ['9+28=37', '37-22=15']
Exploring Operation: 62*15=930, Resulting Numbers: [930]
930,59 unequal: No Solution
Exploring Operation: 62-15=47, Resulting Numbers: [47]
47,59 unequal: No Solution
Exploring Operation: 62+15=77, Resulting Numbers: [77]
77,59 unequal: No Solution
Moving to Node #0,0,0
Current State: 59:[37, 84], Operations: ['9+28=37', '22+62=84']
Exploring Operation: 84-37=47, Resulting Numbers: [47]
47,59 unequal: No Solution
Exploring Operation: 37+84=121, Resulting Numbers: [121]
121,59 unequal: No Solution
Exploring Operation: 37*84=3108, Resulting Numbers: [3108]
3108,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:[28, 62, 31], Operations: ['22+9=31']
Exploring Operation: 28+31=59, Resulting Numbers: [62, 59]
Generated Node #0,1,0: 59:[62, 59] Operation: 28+31=59
Exploring Operation: 28+62=90, Resulting Numbers: [31, 90]
Generated Node #0,1,1: 59:[31, 90] Operation: 28+62=90
Exploring Operation: 31-28=3, Resulting Numbers: [62, 3]
Generated Node #0,1,2: 59:[62, 3] Operation: 31-28=3
Exploring Operation: 62-28=34, Resulting Numbers: [31, 34]
Generated Node #0,1,3: 59:[31, 34] Operation: 62-28=34
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 59:[62, 59], Operations: ['22+9=31', '28+31=59']
Exploring Operation: 62-59=3, Resulting Numbers: [3]
3,59 unequal: No Solution
Exploring Operation: 62*59=3658, Resulting Numbers: [3658]
3658,59 unequal: No Solution
Exploring Operation: 62+59=121, Resulting Numbers: [121]
121,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 59:[31, 34], Operations: ['22+9=31', '62-28=34']
Exploring Operation: 31+34=65, Resulting Numbers: [65]
65,59 unequal: No Solution
Exploring Operation: 34-31=3, Resulting Numbers: [3]
3,59 unequal: No Solution
Exploring Operation: 31*34=1054, Resulting Numbers: [1054]
1054,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 59:[31, 90], Operations: ['22+9=31', '28+62=90']
Exploring Operation: 90-31=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[22, 9, 28, 62], Operations: []
Exploring Operation: 22+9=31, Resulting Numbers: [28, 62, 31]
Generated Node #0,1: 59:[28, 62, 31] Operation: 22+9=31
Moving to Node #0,1
Current State: 59:[28, 62, 31], Operations: ['22+9=31']
Exploring Operation: 28+62=90, Resulting Numbers: [31, 90]
Generated Node #0,1,1: 59:[31, 90] Operation: 28+62=90
Moving to Node #0,1,1
Current State: 59:[31, 90], Operations: ['22+9=31', '28+62=90']
Exploring Operation: 90-31=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618 | hs_4 | sum_heuristic |
[
87,
92,
23,
37
] | 12 | [
"92-87=5",
"23+37=60",
"60/5=12"
] | Current State: 12:[87, 92, 23, 37], Operations: []
Exploring Operation: 92-87=5, Resulting Numbers: [23, 37, 5]
Generated Node #2: [23, 37, 5] from Operation: 92-87=5
Current State: 12:[23, 37, 5], Operations: ['92-87=5']
Exploring Operation: 23+37=60, Resulting Numbers: [5, 60]
Generated Node #3: [5, 60] from Operation: 23+37=60
Current State: 12:[5, 60], Operations: ['92-87=5', '23+37=60']
Exploring Operation: 60/5=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[87, 92, 23, 37], Operations: []
Exploring Operation: 92-87=5, Resulting Numbers: [23, 37, 5]
Generated Node #0,0: 12:[23, 37, 5] Operation: 92-87=5
Exploring Operation: 87-37=50, Resulting Numbers: [92, 23, 50]
Generated Node #0,1: 12:[92, 23, 50] Operation: 87-37=50
Exploring Operation: 92/23=4, Resulting Numbers: [87, 37, 4]
Generated Node #0,2: 12:[87, 37, 4] Operation: 92/23=4
Moving to Node #0,0
Current State: 12:[23, 37, 5], Operations: ['92-87=5']
Exploring Operation: 37-23=14, Resulting Numbers: [5, 14]
Generated Node #0,0,0: 12:[5, 14] Operation: 37-23=14
Exploring Operation: 37-5=32, Resulting Numbers: [23, 32]
Generated Node #0,0,1: 12:[23, 32] Operation: 37-5=32
Exploring Operation: 23-5=18, Resulting Numbers: [37, 18]
Generated Node #0,0,2: 12:[37, 18] Operation: 23-5=18
Moving to Node #0,2
Current State: 12:[87, 37, 4], Operations: ['92/23=4']
Exploring Operation: 87-4=83, Resulting Numbers: [37, 83]
Generated Node #0,2,0: 12:[37, 83] Operation: 87-4=83
Exploring Operation: 87-37=50, Resulting Numbers: [4, 50]
Generated Node #0,2,1: 12:[4, 50] Operation: 87-37=50
Exploring Operation: 37-4=33, Resulting Numbers: [87, 33]
Generated Node #0,2,2: 12:[87, 33] Operation: 37-4=33
Moving to Node #0,1
Current State: 12:[92, 23, 50], Operations: ['87-37=50']
Exploring Operation: 92-23=69, Resulting Numbers: [50, 69]
Generated Node #0,1,0: 12:[50, 69] Operation: 92-23=69
Exploring Operation: 92/23=4, Resulting Numbers: [50, 4]
Generated Node #0,1,1: 12:[50, 4] Operation: 92/23=4
Exploring Operation: 92-50=42, Resulting Numbers: [23, 42]
Generated Node #0,1,2: 12:[23, 42] Operation: 92-50=42
Moving to Node #0,0,0
Current State: 12:[5, 14], Operations: ['92-87=5', '37-23=14']
Exploring Operation: 5+14=19, Resulting Numbers: [19]
19,12 unequal: No Solution
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,12 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,12 unequal: No Solution
Moving to Node #0,0,2
Current State: 12:[37, 18], Operations: ['92-87=5', '23-5=18']
Exploring Operation: 37+18=55, Resulting Numbers: [55]
55,12 unequal: No Solution
Exploring Operation: 37-18=19, Resulting Numbers: [19]
19,12 unequal: No Solution
Exploring Operation: 37*18=666, Resulting Numbers: [666]
666,12 unequal: No Solution
Moving to Node #0,0,1
Current State: 12:[23, 32], Operations: ['92-87=5', '37-5=32']
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,12 unequal: No Solution
Exploring Operation: 23*32=736, Resulting Numbers: [736]
736,12 unequal: No Solution
Exploring Operation: 23+32=55, Resulting Numbers: [55]
55,12 unequal: No Solution
Moving to Node #0,1,1
Current State: 12:[50, 4], Operations: ['87-37=50', '92/23=4']
Exploring Operation: 50+4=54, Resulting Numbers: [54]
54,12 unequal: No Solution
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,12 unequal: No Solution
Exploring Operation: 50*4=200, Resulting Numbers: [200]
200,12 unequal: No Solution
Moving to Node #0,2,1
Current State: 12:[4, 50], Operations: ['92/23=4', '87-37=50']
Exploring Operation: 4+50=54, Resulting Numbers: [54]
54,12 unequal: No Solution
Exploring Operation: 4*50=200, Resulting Numbers: [200]
200,12 unequal: No Solution
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,12 unequal: No Solution
Moving to Node #0,1,2
Current State: 12:[23, 42], Operations: ['87-37=50', '92-50=42']
Exploring Operation: 23+42=65, Resulting Numbers: [65]
65,12 unequal: No Solution
Exploring Operation: 42-23=19, Resulting Numbers: [19]
19,12 unequal: No Solution
Exploring Operation: 23*42=966, Resulting Numbers: [966]
966,12 unequal: No Solution
Moving to Node #0,1,0
Current State: 12:[50, 69], Operations: ['87-37=50', '92-23=69']
Exploring Operation: 50*69=3450, Resulting Numbers: [3450]
3450,12 unequal: No Solution
Exploring Operation: 50+69=119, Resulting Numbers: [119]
119,12 unequal: No Solution
Exploring Operation: 69-50=19, Resulting Numbers: [19]
19,12 unequal: No Solution
Moving to Node #0,2,2
Current State: 12:[87, 33], Operations: ['92/23=4', '37-4=33']
Exploring Operation: 87+33=120, Resulting Numbers: [120]
120,12 unequal: No Solution
Exploring Operation: 87-33=54, Resulting Numbers: [54]
54,12 unequal: No Solution
Exploring Operation: 87*33=2871, Resulting Numbers: [2871]
2871,12 unequal: No Solution
Moving to Node #0,2,0
Current State: 12:[37, 83], Operations: ['92/23=4', '87-4=83']
Exploring Operation: 83-37=46, Resulting Numbers: [46]
46,12 unequal: No Solution
Exploring Operation: 37+83=120, Resulting Numbers: [120]
120,12 unequal: No Solution
Exploring Operation: 37*83=3071, Resulting Numbers: [3071]
3071,12 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
33,
59,
52,
26
] | 28 | [
"59-33=26",
"52/26=2",
"26+2=28"
] | Current State: 28:[33, 59, 52, 26], Operations: []
Exploring Operation: 59-33=26, Resulting Numbers: [52, 26, 26]
Generated Node #2: [52, 26, 26] from Operation: 59-33=26
Current State: 28:[52, 26, 26], Operations: ['59-33=26']
Exploring Operation: 52/26=2, Resulting Numbers: [2]
2,28 equal: Goal Reached
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[33, 59, 52, 26], Operations: []
Exploring Operation: 59-52=7, Resulting Numbers: [33, 26, 7]
Generated Node #0,0: 28:[33, 26, 7] Operation: 59-52=7
Exploring Operation: 59-26=33, Resulting Numbers: [33, 52, 33]
Generated Node #0,1: 28:[33, 52, 33] Operation: 59-26=33
Exploring Operation: 59-33=26, Resulting Numbers: [52, 26, 26]
Generated Node #0,2: 28:[52, 26, 26] Operation: 59-33=26
Exploring Operation: 52/26=2, Resulting Numbers: [33, 59, 2]
Generated Node #0,3: 28:[33, 59, 2] Operation: 52/26=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[33, 26, 7], Operations: ['59-52=7']
Exploring Operation: 26+7=33, Resulting Numbers: [33, 33]
Generated Node #0,0,0: 28:[33, 33] Operation: 26+7=33
Exploring Operation: 26-7=19, Resulting Numbers: [33, 19]
Generated Node #0,0,1: 28:[33, 19] Operation: 26-7=19
Exploring Operation: 33-26=7, Resulting Numbers: [7, 7]
Generated Node #0,0,2: 28:[7, 7] Operation: 33-26=7
Exploring Operation: 33-7=26, Resulting Numbers: [26, 26]
Generated Node #0,0,3: 28:[26, 26] Operation: 33-7=26
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 28:[7, 7], Operations: ['59-52=7', '33-26=7']
Exploring Operation: 7*7=49, Resulting Numbers: [49]
49,28 unequal: No Solution
Exploring Operation: 7-7=0, Resulting Numbers: [0]
0,28 unequal: No Solution
Exploring Operation: 7+7=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Exploring Operation: 7/7=1, Resulting Numbers: [1]
1,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 28:[26, 26], Operations: ['59-52=7', '33-7=26']
Exploring Operation: 26+26=52, Resulting Numbers: [52]
52,28 unequal: No Solution
Exploring Operation: 26-26=0, Resulting Numbers: [0]
0,28 unequal: No Solution
Exploring Operation: 26/26=1, Resulting Numbers: [1]
1,28 unequal: No Solution
Exploring Operation: 26*26=676, Resulting Numbers: [676]
676,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 28:[33, 33], Operations: ['59-52=7', '26+7=33']
Exploring Operation: 33+33=66, Resulting Numbers: [66]
66,28 unequal: No Solution
Exploring Operation: 33-33=0, Resulting Numbers: [0]
0,28 unequal: No Solution
Exploring Operation: 33*33=1089, Resulting Numbers: [1089]
1089,28 unequal: No Solution
Exploring Operation: 33/33=1, Resulting Numbers: [1]
1,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 28:[33, 19], Operations: ['59-52=7', '26-7=19']
Exploring Operation: 33*19=627, Resulting Numbers: [627]
627,28 unequal: No Solution
Exploring Operation: 33-19=14, Resulting Numbers: [14]
14,28 unequal: No Solution
Exploring Operation: 33+19=52, Resulting Numbers: [52]
52,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 28:[52, 26, 26], Operations: ['59-33=26']
Exploring Operation: 52-26=26, Resulting Numbers: [26, 26]
Generated Node #0,2,0: 28:[26, 26] Operation: 52-26=26
Exploring Operation: 52/26=2, Resulting Numbers: [26, 2]
Generated Node #0,2,1: 28:[26, 2] Operation: 52/26=2
Exploring Operation: 52-26=26, Resulting Numbers: [26, 26]
Generated Node #0,2,2: 28:[26, 26] Operation: 52-26=26
Exploring Operation: 52/26=2, Resulting Numbers: [26, 2]
Generated Node #0,2,3: 28:[26, 2] Operation: 52/26=2
Moving to Node #0,2,1
Current State: 28:[26, 2], Operations: ['59-33=26', '52/26=2']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,28 unequal: No Solution
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[33, 59, 52, 26], Operations: []
Exploring Operation: 59-33=26, Resulting Numbers: [52, 26, 26]
Generated Node #0,2: 28:[52, 26, 26] Operation: 59-33=26
Moving to Node #0,2
Current State: 28:[52, 26, 26], Operations: ['59-33=26']
Exploring Operation: 52/26=2, Resulting Numbers: [26, 2]
Generated Node #0,2,1: 28:[26, 2] Operation: 52/26=2
Moving to Node #0,2,1
Current State: 28:[26, 2], Operations: ['59-33=26', '52/26=2']
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.971354 | hs_4 | mult_heuristic |
[
41,
60,
73,
15
] | 13 | [
"41+60=101",
"73+15=88",
"101-88=13"
] | Current State: 13:[41, 60, 73, 15], Operations: []
Exploring Operation: 41+60=101, Resulting Numbers: [73, 15, 101]
Generated Node #2: [73, 15, 101] from Operation: 41+60=101
Current State: 13:[73, 15, 101], Operations: ['41+60=101']
Exploring Operation: 73+15=88, Resulting Numbers: [101, 88]
Generated Node #3: [101, 88] from Operation: 73+15=88
Current State: 13:[101, 88], Operations: ['41+60=101', '73+15=88']
Exploring Operation: 101-88=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[41, 60, 73, 15], Operations: []
Exploring Operation: 73-60=13, Resulting Numbers: [41, 15, 13]
Generated Node #0,0: 13:[41, 15, 13] Operation: 73-60=13
Exploring Operation: 73-41=32, Resulting Numbers: [60, 15, 32]
Generated Node #0,1: 13:[60, 15, 32] Operation: 73-41=32
Exploring Operation: 60-41=19, Resulting Numbers: [73, 15, 19]
Generated Node #0,2: 13:[73, 15, 19] Operation: 60-41=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[41, 15, 13], Operations: ['73-60=13']
Exploring Operation: 41-13=28, Resulting Numbers: [15, 28]
Generated Node #0,0,0: 13:[15, 28] Operation: 41-13=28
Exploring Operation: 15-13=2, Resulting Numbers: [41, 2]
Generated Node #0,0,1: 13:[41, 2] Operation: 15-13=2
Exploring Operation: 41-15=26, Resulting Numbers: [13, 26]
Generated Node #0,0,2: 13:[13, 26] Operation: 41-15=26
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 13:[13, 26], Operations: ['73-60=13', '41-15=26']
Exploring Operation: 26-13=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[41, 60, 73, 15], Operations: []
Exploring Operation: 73-60=13, Resulting Numbers: [41, 15, 13]
Generated Node #0,0: 13:[41, 15, 13] Operation: 73-60=13
Moving to Node #0,0
Current State: 13:[41, 15, 13], Operations: ['73-60=13']
Exploring Operation: 41-15=26, Resulting Numbers: [13, 26]
Generated Node #0,0,2: 13:[13, 26] Operation: 41-15=26
Moving to Node #0,0,2
Current State: 13:[13, 26], Operations: ['73-60=13', '41-15=26']
Exploring Operation: 26-13=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
55,
90,
82,
3
] | 99 | [
"82-55=27",
"27/3=9",
"90+9=99"
] | Current State: 99:[55, 90, 82, 3], Operations: []
Exploring Operation: 82-55=27, Resulting Numbers: [90, 3, 27]
Generated Node #2: [90, 3, 27] from Operation: 82-55=27
Current State: 99:[90, 3, 27], Operations: ['82-55=27']
Exploring Operation: 27/3=9, Resulting Numbers: [90, 9]
Generated Node #3: [90, 9] from Operation: 27/3=9
Current State: 99:[90, 9], Operations: ['82-55=27', '27/3=9']
Exploring Operation: 90+9=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[55, 90, 82, 3], Operations: []
Exploring Operation: 82-55=27, Resulting Numbers: [90, 3, 27]
Generated Node #0,0: 99:[90, 3, 27] Operation: 82-55=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[90, 3, 27], Operations: ['82-55=27']
Exploring Operation: 90/3=30, Resulting Numbers: [27, 30]
Generated Node #0,0,0: 99:[27, 30] Operation: 90/3=30
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 99:[27, 30], Operations: ['82-55=27', '90/3=30']
Exploring Operation: 30-27=3, Resulting Numbers: [3]
3,99 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 |
[
60,
65,
20,
90
] | 62 | [
"65-20=45",
"90/45=2",
"60+2=62"
] | Current State: 62:[60, 65, 20, 90], Operations: []
Exploring Operation: 65-20=45, Resulting Numbers: [60, 90, 45]
Generated Node #2: [60, 90, 45] from Operation: 65-20=45
Current State: 62:[60, 90, 45], Operations: ['65-20=45']
Exploring Operation: 90/45=2, Resulting Numbers: [60, 2]
Generated Node #3: [60, 2] from Operation: 90/45=2
Current State: 62:[60, 2], Operations: ['65-20=45', '90/45=2']
Exploring Operation: 60+2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[60, 65, 20, 90], Operations: []
Exploring Operation: 90-60=30, Resulting Numbers: [65, 20, 30]
Generated Node #0,0: 62:[65, 20, 30] Operation: 90-60=30
Exploring Operation: 90-65=25, Resulting Numbers: [60, 20, 25]
Generated Node #0,1: 62:[60, 20, 25] Operation: 90-65=25
Exploring Operation: 90-20=70, Resulting Numbers: [60, 65, 70]
Generated Node #0,2: 62:[60, 65, 70] Operation: 90-20=70
Moving to Node #0,2
Current State: 62:[60, 65, 70], Operations: ['90-20=70']
Exploring Operation: 70-65=5, Resulting Numbers: [60, 5]
Generated Node #0,2,0: 62:[60, 5] Operation: 70-65=5
Exploring Operation: 70-60=10, Resulting Numbers: [65, 10]
Generated Node #0,2,1: 62:[65, 10] Operation: 70-60=10
Exploring Operation: 65-60=5, Resulting Numbers: [70, 5]
Generated Node #0,2,2: 62:[70, 5] Operation: 65-60=5
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 62:[60, 5], Operations: ['90-20=70', '70-65=5']
Exploring Operation: 60/5=12, Resulting Numbers: [12]
12,62 unequal: No Solution
Exploring Operation: 60+5=65, Resulting Numbers: [65]
65,62 unequal: No Solution
Exploring Operation: 60-5=55, Resulting Numbers: [55]
55,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:[65, 10], Operations: ['90-20=70', '70-60=10']
Exploring Operation: 65*10=650, Resulting Numbers: [650]
650,62 unequal: No Solution
Exploring Operation: 65+10=75, Resulting Numbers: [75]
75,62 unequal: No Solution
Exploring Operation: 65-10=55, Resulting Numbers: [55]
55,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:[70, 5], Operations: ['90-20=70', '65-60=5']
Exploring Operation: 70-5=65, Resulting Numbers: [65]
65,62 unequal: No Solution
Exploring Operation: 70+5=75, Resulting Numbers: [75]
75,62 unequal: No Solution
Exploring Operation: 70/5=14, Resulting Numbers: [14]
14,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 62:[65, 20, 30], Operations: ['90-60=30']
Exploring Operation: 30-20=10, Resulting Numbers: [65, 10]
Generated Node #0,0,0: 62:[65, 10] Operation: 30-20=10
Exploring Operation: 65-20=45, Resulting Numbers: [30, 45]
Generated Node #0,0,1: 62:[30, 45] Operation: 65-20=45
Exploring Operation: 65-30=35, Resulting Numbers: [20, 35]
Generated Node #0,0,2: 62:[20, 35] Operation: 65-30=35
Moving to Node #0,1
Current State: 62:[60, 20, 25], Operations: ['90-65=25']
Exploring Operation: 60/20=3, Resulting Numbers: [25, 3]
Generated Node #0,1,0: 62:[25, 3] Operation: 60/20=3
Exploring Operation: 25-20=5, Resulting Numbers: [60, 5]
Generated Node #0,1,1: 62:[60, 5] Operation: 25-20=5
Exploring Operation: 60-20=40, Resulting Numbers: [25, 40]
Generated Node #0,1,2: 62:[25, 40] Operation: 60-20=40
Moving to Node #0,1,1
Current State: 62:[60, 5], Operations: ['90-65=25', '25-20=5']
Exploring Operation: 60/5=12, Resulting Numbers: [12]
12,62 unequal: No Solution
Exploring Operation: 60-5=55, Resulting Numbers: [55]
55,62 unequal: No Solution
Exploring Operation: 60+5=65, Resulting Numbers: [65]
65,62 unequal: No Solution
Moving to Node #0,1,0
Current State: 62:[25, 3], Operations: ['90-65=25', '60/20=3']
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,62 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,62 unequal: No Solution
Exploring Operation: 25*3=75, Resulting Numbers: [75]
75,62 unequal: No Solution
Moving to Node #0,0,0
Current State: 62:[65, 10], Operations: ['90-60=30', '30-20=10']
Exploring Operation: 65*10=650, Resulting Numbers: [650]
650,62 unequal: No Solution
Exploring Operation: 65+10=75, Resulting Numbers: [75]
75,62 unequal: No Solution
Exploring Operation: 65-10=55, Resulting Numbers: [55]
55,62 unequal: No Solution
Moving to Node #0,0,2
Current State: 62:[20, 35], Operations: ['90-60=30', '65-30=35']
Exploring Operation: 20+35=55, Resulting Numbers: [55]
55,62 unequal: No Solution
Exploring Operation: 20*35=700, Resulting Numbers: [700]
700,62 unequal: No Solution
Exploring Operation: 35-20=15, Resulting Numbers: [15]
15,62 unequal: No Solution
Moving to Node #0,0,1
Current State: 62:[30, 45], Operations: ['90-60=30', '65-20=45']
Exploring Operation: 30+45=75, Resulting Numbers: [75]
75,62 unequal: No Solution
Exploring Operation: 45-30=15, Resulting Numbers: [15]
15,62 unequal: No Solution
Exploring Operation: 30*45=1350, Resulting Numbers: [1350]
1350,62 unequal: No Solution
Moving to Node #0,1,2
Current State: 62:[25, 40], Operations: ['90-65=25', '60-20=40']
Exploring Operation: 25*40=1000, Resulting Numbers: [1000]
1000,62 unequal: No Solution
Exploring Operation: 25+40=65, Resulting Numbers: [65]
65,62 unequal: No Solution
Exploring Operation: 40-25=15, Resulting Numbers: [15]
15,62 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
7,
75,
21,
23
] | 65 | [
"7*23=161",
"75+21=96",
"161-96=65"
] | Current State: 65:[7, 75, 21, 23], Operations: []
Exploring Operation: 7*23=161, Resulting Numbers: [75, 21, 161]
Generated Node #2: [75, 21, 161] from Operation: 7*23=161
Current State: 65:[75, 21, 161], Operations: ['7*23=161']
Exploring Operation: 75+21=96, Resulting Numbers: [161, 96]
Generated Node #3: [161, 96] from Operation: 75+21=96
Current State: 65:[161, 96], Operations: ['7*23=161', '75+21=96']
Exploring Operation: 161-96=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[7, 75, 21, 23], Operations: []
Exploring Operation: 23-21=2, Resulting Numbers: [7, 75, 2]
Generated Node #0,0: 65:[7, 75, 2] Operation: 23-21=2
Exploring Operation: 75-7=68, Resulting Numbers: [21, 23, 68]
Generated Node #0,1: 65:[21, 23, 68] Operation: 75-7=68
Moving to Node #0,0
Current State: 65:[7, 75, 2], Operations: ['23-21=2']
Exploring Operation: 7-2=5, Resulting Numbers: [75, 5]
Generated Node #0,0,0: 65:[75, 5] Operation: 7-2=5
Exploring Operation: 75-7=68, Resulting Numbers: [2, 68]
Generated Node #0,0,1: 65:[2, 68] Operation: 75-7=68
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 65:[2, 68], Operations: ['23-21=2', '75-7=68']
Exploring Operation: 2+68=70, Resulting Numbers: [70]
70,65 unequal: No Solution
Exploring Operation: 68-2=66, Resulting Numbers: [66]
66,65 unequal: No Solution
No 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: 65:[75, 5], Operations: ['23-21=2', '7-2=5']
Exploring Operation: 75/5=15, Resulting Numbers: [15]
15,65 unequal: No Solution
Exploring Operation: 75-5=70, Resulting Numbers: [70]
70,65 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: 65:[21, 23, 68], Operations: ['75-7=68']
Exploring Operation: 21+23=44, Resulting Numbers: [68, 44]
Generated Node #0,1,0: 65:[68, 44] Operation: 21+23=44
Exploring Operation: 23-21=2, Resulting Numbers: [68, 2]
Generated Node #0,1,1: 65:[68, 2] Operation: 23-21=2
Moving to Node #0,1,1
Current State: 65:[68, 2], Operations: ['75-7=68', '23-21=2']
Exploring Operation: 68+2=70, Resulting Numbers: [70]
70,65 unequal: No Solution
Exploring Operation: 68-2=66, Resulting Numbers: [66]
66,65 unequal: No Solution
Moving to Node #0,1,0
Current State: 65:[68, 44], Operations: ['75-7=68', '21+23=44']
Exploring Operation: 68+44=112, Resulting Numbers: [112]
112,65 unequal: No Solution
Exploring Operation: 68-44=24, Resulting Numbers: [24]
24,65 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
40,
4,
6,
22
] | 37 | [
"22-4=18",
"18/6=3",
"40-3=37"
] | Current State: 37:[40, 4, 6, 22], Operations: []
Exploring Operation: 22-4=18, Resulting Numbers: [40, 6, 18]
Generated Node #2: [40, 6, 18] from Operation: 22-4=18
Current State: 37:[40, 6, 18], Operations: ['22-4=18']
Exploring Operation: 18/6=3, Resulting Numbers: [40, 3]
Generated Node #3: [40, 3] from Operation: 18/6=3
Current State: 37:[40, 3], Operations: ['22-4=18', '18/6=3']
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[40, 4, 6, 22], Operations: []
Exploring Operation: 4+6=10, Resulting Numbers: [40, 22, 10]
Generated Node #0,0: 37:[40, 22, 10] Operation: 4+6=10
Exploring Operation: 4*6=24, Resulting Numbers: [40, 22, 24]
Generated Node #0,1: 37:[40, 22, 24] Operation: 4*6=24
Moving to Node #0,1
Current State: 37:[40, 22, 24], Operations: ['4*6=24']
Exploring Operation: 22+24=46, Resulting Numbers: [40, 46]
Generated Node #0,1,0: 37:[40, 46] Operation: 22+24=46
Exploring Operation: 40-22=18, Resulting Numbers: [24, 18]
Generated Node #0,1,1: 37:[24, 18] Operation: 40-22=18
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 37:[40, 46], Operations: ['4*6=24', '22+24=46']
Exploring Operation: 46-40=6, Resulting Numbers: [6]
6,37 unequal: No Solution
Exploring Operation: 40+46=86, Resulting Numbers: [86]
86,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 37:[24, 18], Operations: ['4*6=24', '40-22=18']
Exploring Operation: 24+18=42, Resulting Numbers: [42]
42,37 unequal: No Solution
Exploring Operation: 24-18=6, Resulting Numbers: [6]
6,37 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: 37:[40, 22, 10], Operations: ['4+6=10']
Exploring Operation: 22+10=32, Resulting Numbers: [40, 32]
Generated Node #0,0,0: 37:[40, 32] Operation: 22+10=32
Exploring Operation: 40-10=30, Resulting Numbers: [22, 30]
Generated Node #0,0,1: 37:[22, 30] Operation: 40-10=30
Moving to Node #0,0,0
Current State: 37:[40, 32], Operations: ['4+6=10', '22+10=32']
Exploring Operation: 40+32=72, Resulting Numbers: [72]
72,37 unequal: No Solution
Exploring Operation: 40-32=8, Resulting Numbers: [8]
8,37 unequal: No Solution
Moving to Node #0,0,1
Current State: 37:[22, 30], Operations: ['4+6=10', '40-10=30']
Exploring Operation: 22+30=52, Resulting Numbers: [52]
52,37 unequal: No Solution
Exploring Operation: 30-22=8, Resulting Numbers: [8]
8,37 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
62,
72,
58,
87
] | 19 | [
"72-62=10",
"87-58=29",
"29-10=19"
] | Current State: 19:[62, 72, 58, 87], Operations: []
Exploring Operation: 72-62=10, Resulting Numbers: [58, 87, 10]
Generated Node #2: [58, 87, 10] from Operation: 72-62=10
Current State: 19:[58, 87, 10], Operations: ['72-62=10']
Exploring Operation: 87-58=29, Resulting Numbers: [10, 29]
Generated Node #3: [10, 29] from Operation: 87-58=29
Current State: 19:[10, 29], Operations: ['72-62=10', '87-58=29']
Exploring Operation: 29-10=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[62, 72, 58, 87], Operations: []
Exploring Operation: 87-58=29, Resulting Numbers: [62, 72, 29]
Generated Node #0,0: 19:[62, 72, 29] Operation: 87-58=29
Exploring Operation: 72-58=14, Resulting Numbers: [62, 87, 14]
Generated Node #0,1: 19:[62, 87, 14] Operation: 72-58=14
Exploring Operation: 72-62=10, Resulting Numbers: [58, 87, 10]
Generated Node #0,2: 19:[58, 87, 10] Operation: 72-62=10
Exploring Operation: 87-72=15, Resulting Numbers: [62, 58, 15]
Generated Node #0,3: 19:[62, 58, 15] Operation: 87-72=15
Exploring Operation: 87-62=25, Resulting Numbers: [72, 58, 25]
Generated Node #0,4: 19:[72, 58, 25] Operation: 87-62=25
Moving to Node #0,3
Current State: 19:[62, 58, 15], Operations: ['87-72=15']
Exploring Operation: 58+15=73, Resulting Numbers: [62, 73]
Generated Node #0,3,0: 19:[62, 73] Operation: 58+15=73
Exploring Operation: 58-15=43, Resulting Numbers: [62, 43]
Generated Node #0,3,1: 19:[62, 43] Operation: 58-15=43
Exploring Operation: 62-58=4, Resulting Numbers: [15, 4]
Generated Node #0,3,2: 19:[15, 4] Operation: 62-58=4
Exploring Operation: 62-15=47, Resulting Numbers: [58, 47]
Generated Node #0,3,3: 19:[58, 47] Operation: 62-15=47
Exploring Operation: 62+15=77, Resulting Numbers: [58, 77]
Generated Node #0,3,4: 19:[58, 77] Operation: 62+15=77
Moving to Node #0,4
Current State: 19:[72, 58, 25], Operations: ['87-62=25']
Exploring Operation: 72+25=97, Resulting Numbers: [58, 97]
Generated Node #0,4,0: 19:[58, 97] Operation: 72+25=97
Exploring Operation: 72-58=14, Resulting Numbers: [25, 14]
Generated Node #0,4,1: 19:[25, 14] Operation: 72-58=14
Exploring Operation: 58-25=33, Resulting Numbers: [72, 33]
Generated Node #0,4,2: 19:[72, 33] Operation: 58-25=33
Exploring Operation: 72-25=47, Resulting Numbers: [58, 47]
Generated Node #0,4,3: 19:[58, 47] Operation: 72-25=47
Exploring Operation: 72+58=130, Resulting Numbers: [25, 130]
Generated Node #0,4,4: 19:[25, 130] Operation: 72+58=130
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 19:[25, 14], Operations: ['87-62=25', '72-58=14']
Exploring Operation: 25*14=350, Resulting Numbers: [350]
350,19 unequal: No Solution
Exploring Operation: 25-14=11, Resulting Numbers: [11]
11,19 unequal: No Solution
Exploring Operation: 25+14=39, Resulting Numbers: [39]
39,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 19:[72, 33], Operations: ['87-62=25', '58-25=33']
Exploring Operation: 72+33=105, Resulting Numbers: [105]
105,19 unequal: No Solution
Exploring Operation: 72-33=39, Resulting Numbers: [39]
39,19 unequal: No Solution
Exploring Operation: 72*33=2376, Resulting Numbers: [2376]
2376,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 19:[58, 47], Operations: ['87-62=25', '72-25=47']
Exploring Operation: 58+47=105, Resulting Numbers: [105]
105,19 unequal: No Solution
Exploring Operation: 58*47=2726, Resulting Numbers: [2726]
2726,19 unequal: No Solution
Exploring Operation: 58-47=11, Resulting Numbers: [11]
11,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 19:[58, 97], Operations: ['87-62=25', '72+25=97']
Exploring Operation: 58*97=5626, Resulting Numbers: [5626]
5626,19 unequal: No Solution
Exploring Operation: 58+97=155, Resulting Numbers: [155]
155,19 unequal: No Solution
Exploring Operation: 97-58=39, Resulting Numbers: [39]
39,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 19:[25, 130], Operations: ['87-62=25', '72+58=130']
Exploring Operation: 130-25=105, Resulting Numbers: [105]
105,19 unequal: No Solution
Exploring Operation: 25+130=155, Resulting Numbers: [155]
155,19 unequal: No Solution
Exploring Operation: 25*130=3250, Resulting Numbers: [3250]
3250,19 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: 19:[62, 72, 29], Operations: ['87-58=29']
Exploring Operation: 72-29=43, Resulting Numbers: [62, 43]
Generated Node #0,0,0: 19:[62, 43] Operation: 72-29=43
Exploring Operation: 62-29=33, Resulting Numbers: [72, 33]
Generated Node #0,0,1: 19:[72, 33] Operation: 62-29=33
Exploring Operation: 62+29=91, Resulting Numbers: [72, 91]
Generated Node #0,0,2: 19:[72, 91] Operation: 62+29=91
Exploring Operation: 72-62=10, Resulting Numbers: [29, 10]
Generated Node #0,0,3: 19:[29, 10] Operation: 72-62=10
Exploring Operation: 62+72=134, Resulting Numbers: [29, 134]
Generated Node #0,0,4: 19:[29, 134] Operation: 62+72=134
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 19:[29, 10], Operations: ['87-58=29', '72-62=10']
Exploring Operation: 29*10=290, Resulting Numbers: [290]
290,19 unequal: No Solution
Exploring Operation: 29-10=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[62, 72, 58, 87], Operations: []
Exploring Operation: 87-58=29, Resulting Numbers: [62, 72, 29]
Generated Node #0,0: 19:[62, 72, 29] Operation: 87-58=29
Moving to Node #0,0
Current State: 19:[62, 72, 29], Operations: ['87-58=29']
Exploring Operation: 72-62=10, Resulting Numbers: [29, 10]
Generated Node #0,0,3: 19:[29, 10] Operation: 72-62=10
Moving to Node #0,0,3
Current State: 19:[29, 10], Operations: ['87-58=29', '72-62=10']
Exploring Operation: 29-10=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.96441 | hs_5 | sum_heuristic |
[
27,
8,
37,
5
] | 31 | [
"27*8=216",
"37*5=185",
"216-185=31"
] | Current State: 31:[27, 8, 37, 5], Operations: []
Exploring Operation: 27*8=216, Resulting Numbers: [37, 5, 216]
Generated Node #2: [37, 5, 216] from Operation: 27*8=216
Current State: 31:[37, 5, 216], Operations: ['27*8=216']
Exploring Operation: 37*5=185, Resulting Numbers: [216, 185]
Generated Node #3: [216, 185] from Operation: 37*5=185
Current State: 31:[216, 185], Operations: ['27*8=216', '37*5=185']
Exploring Operation: 216-185=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[27, 8, 37, 5], Operations: []
Exploring Operation: 8*5=40, Resulting Numbers: [27, 37, 40]
Generated Node #0,0: 31:[27, 37, 40] Operation: 8*5=40
Exploring Operation: 8+5=13, Resulting Numbers: [27, 37, 13]
Generated Node #0,1: 31:[27, 37, 13] Operation: 8+5=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[27, 37, 40], Operations: ['8*5=40']
Exploring Operation: 40-27=13, Resulting Numbers: [37, 13]
Generated Node #0,0,0: 31:[37, 13] Operation: 40-27=13
Exploring Operation: 37-27=10, Resulting Numbers: [40, 10]
Generated Node #0,0,1: 31:[40, 10] Operation: 37-27=10
Moving to Node #0,0,0
Current State: 31:[37, 13], Operations: ['8*5=40', '40-27=13']
Exploring Operation: 37-13=24, Resulting Numbers: [24]
24,31 unequal: No Solution
Exploring Operation: 37+13=50, Resulting Numbers: [50]
50,31 unequal: No Solution
Moving to Node #0,0,1
Current State: 31:[40, 10], Operations: ['8*5=40', '37-27=10']
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,31 unequal: No Solution
Exploring Operation: 40+10=50, Resulting Numbers: [50]
50,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 31:[27, 37, 13], Operations: ['8+5=13']
Exploring Operation: 37-13=24, Resulting Numbers: [27, 24]
Generated Node #0,1,0: 31:[27, 24] Operation: 37-13=24
Exploring Operation: 27+13=40, Resulting Numbers: [37, 40]
Generated Node #0,1,1: 31:[37, 40] Operation: 27+13=40
Moving to Node #0,1,0
Current State: 31:[27, 24], Operations: ['8+5=13', '37-13=24']
Exploring Operation: 27+24=51, Resulting Numbers: [51]
51,31 unequal: No Solution
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,31 unequal: No Solution
Moving to Node #0,1,1
Current State: 31:[37, 40], Operations: ['8+5=13', '27+13=40']
Exploring Operation: 40-37=3, Resulting Numbers: [3]
3,31 unequal: No Solution
Exploring Operation: 37+40=77, Resulting Numbers: [77]
77,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
12,
72,
8,
73
] | 49 | [
"12*8=96",
"72+73=145",
"145-96=49"
] | Current State: 49:[12, 72, 8, 73], Operations: []
Exploring Operation: 12*8=96, Resulting Numbers: [72, 73, 96]
Generated Node #2: [72, 73, 96] from Operation: 12*8=96
Current State: 49:[72, 73, 96], Operations: ['12*8=96']
Exploring Operation: 72+73=145, Resulting Numbers: [96, 145]
Generated Node #3: [96, 145] from Operation: 72+73=145
Current State: 49:[96, 145], Operations: ['12*8=96', '72+73=145']
Exploring Operation: 145-96=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[12, 72, 8, 73], Operations: []
Exploring Operation: 72/8=9, Resulting Numbers: [12, 73, 9]
Generated Node #0,0: 49:[12, 73, 9] Operation: 72/8=9
Exploring Operation: 73-72=1, Resulting Numbers: [12, 8, 1]
Generated Node #0,1: 49:[12, 8, 1] Operation: 73-72=1
Exploring Operation: 72/12=6, Resulting Numbers: [8, 73, 6]
Generated Node #0,2: 49:[8, 73, 6] Operation: 72/12=6
Moving to Node #0,1
Current State: 49:[12, 8, 1], Operations: ['73-72=1']
Exploring Operation: 12*1=12, Resulting Numbers: [8, 12]
Generated Node #0,1,0: 49:[8, 12] Operation: 12*1=12
Exploring Operation: 12-1=11, Resulting Numbers: [8, 11]
Generated Node #0,1,1: 49:[8, 11] Operation: 12-1=11
Exploring Operation: 8-1=7, Resulting Numbers: [12, 7]
Generated Node #0,1,2: 49:[12, 7] Operation: 8-1=7
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 49:[8, 11], Operations: ['73-72=1', '12-1=11']
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,49 unequal: No Solution
Exploring Operation: 8+11=19, Resulting Numbers: [19]
19,49 unequal: No Solution
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 49:[12, 7], Operations: ['73-72=1', '8-1=7']
Exploring Operation: 12+7=19, Resulting Numbers: [19]
19,49 unequal: No Solution
Exploring Operation: 12*7=84, Resulting Numbers: [84]
84,49 unequal: No Solution
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 49:[8, 12], Operations: ['73-72=1', '12*1=12']
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,49 unequal: No Solution
Exploring Operation: 8*12=96, Resulting Numbers: [96]
96,49 unequal: No Solution
Exploring Operation: 8+12=20, Resulting Numbers: [20]
20,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 49:[8, 73, 6], Operations: ['72/12=6']
Exploring Operation: 8*6=48, Resulting Numbers: [73, 48]
Generated Node #0,2,0: 49:[73, 48] Operation: 8*6=48
Exploring Operation: 73-8=65, Resulting Numbers: [6, 65]
Generated Node #0,2,1: 49:[6, 65] Operation: 73-8=65
Exploring Operation: 73-6=67, Resulting Numbers: [8, 67]
Generated Node #0,2,2: 49:[8, 67] Operation: 73-6=67
Moving to Node #0,0
Current State: 49:[12, 73, 9], Operations: ['72/8=9']
Exploring Operation: 73-12=61, Resulting Numbers: [9, 61]
Generated Node #0,0,0: 49:[9, 61] Operation: 73-12=61
Exploring Operation: 73-9=64, Resulting Numbers: [12, 64]
Generated Node #0,0,1: 49:[12, 64] Operation: 73-9=64
Exploring Operation: 12-9=3, Resulting Numbers: [73, 3]
Generated Node #0,0,2: 49:[73, 3] Operation: 12-9=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 49:[9, 61], Operations: ['72/8=9', '73-12=61']
Exploring Operation: 9+61=70, Resulting Numbers: [70]
70,49 unequal: No Solution
Exploring Operation: 9*61=549, Resulting Numbers: [549]
549,49 unequal: No Solution
Exploring Operation: 61-9=52, Resulting Numbers: [52]
52,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 49:[12, 64], Operations: ['72/8=9', '73-9=64']
Exploring Operation: 12+64=76, Resulting Numbers: [76]
76,49 unequal: No Solution
Exploring Operation: 12*64=768, Resulting Numbers: [768]
768,49 unequal: No Solution
Exploring Operation: 64-12=52, Resulting Numbers: [52]
52,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 49:[73, 3], Operations: ['72/8=9', '12-9=3']
Exploring Operation: 73-3=70, Resulting Numbers: [70]
70,49 unequal: No Solution
Exploring Operation: 73+3=76, Resulting Numbers: [76]
76,49 unequal: No Solution
Exploring Operation: 73*3=219, Resulting Numbers: [219]
219,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 49:[6, 65], Operations: ['72/12=6', '73-8=65']
Exploring Operation: 6+65=71, Resulting Numbers: [71]
71,49 unequal: No Solution
Exploring Operation: 6*65=390, Resulting Numbers: [390]
390,49 unequal: No Solution
Exploring Operation: 65-6=59, Resulting Numbers: [59]
59,49 unequal: No Solution
Moving to Node #0,2,2
Current State: 49:[8, 67], Operations: ['72/12=6', '73-6=67']
Exploring Operation: 8*67=536, Resulting Numbers: [536]
536,49 unequal: No Solution
Exploring Operation: 8+67=75, Resulting Numbers: [75]
75,49 unequal: No Solution
Exploring Operation: 67-8=59, Resulting Numbers: [59]
59,49 unequal: No Solution
Moving to Node #0,2,0
Current State: 49:[73, 48], Operations: ['72/12=6', '8*6=48']
Exploring Operation: 73*48=3504, Resulting Numbers: [3504]
3504,49 unequal: No Solution
Exploring Operation: 73+48=121, Resulting Numbers: [121]
121,49 unequal: No Solution
Exploring Operation: 73-48=25, Resulting Numbers: [25]
25,49 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
90,
77,
89,
18
] | 15 | [
"89-77=12",
"18-12=6",
"90/6=15"
] | Current State: 15:[90, 77, 89, 18], Operations: []
Exploring Operation: 89-77=12, Resulting Numbers: [90, 18, 12]
Generated Node #2: [90, 18, 12] from Operation: 89-77=12
Current State: 15:[90, 18, 12], Operations: ['89-77=12']
Exploring Operation: 18-12=6, Resulting Numbers: [90, 6]
Generated Node #3: [90, 6] from Operation: 18-12=6
Current State: 15:[90, 6], Operations: ['89-77=12', '18-12=6']
Exploring Operation: 90/6=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[90, 77, 89, 18], Operations: []
Exploring Operation: 90-89=1, Resulting Numbers: [77, 18, 1]
Generated Node #0,0: 15:[77, 18, 1] Operation: 90-89=1
Exploring Operation: 90-77=13, Resulting Numbers: [89, 18, 13]
Generated Node #0,1: 15:[89, 18, 13] Operation: 90-77=13
Exploring Operation: 89-77=12, Resulting Numbers: [90, 18, 12]
Generated Node #0,2: 15:[90, 18, 12] Operation: 89-77=12
Moving to Node #0,0
Current State: 15:[77, 18, 1], Operations: ['90-89=1']
Exploring Operation: 18-1=17, Resulting Numbers: [77, 17]
Generated Node #0,0,0: 15:[77, 17] Operation: 18-1=17
Exploring Operation: 77-1=76, Resulting Numbers: [18, 76]
Generated Node #0,0,1: 15:[18, 76] Operation: 77-1=76
Exploring Operation: 77-18=59, Resulting Numbers: [1, 59]
Generated Node #0,0,2: 15:[1, 59] Operation: 77-18=59
Moving to Node #0,1
Current State: 15:[89, 18, 13], Operations: ['90-77=13']
Exploring Operation: 89-13=76, Resulting Numbers: [18, 76]
Generated Node #0,1,0: 15:[18, 76] Operation: 89-13=76
Exploring Operation: 18-13=5, Resulting Numbers: [89, 5]
Generated Node #0,1,1: 15:[89, 5] Operation: 18-13=5
Exploring Operation: 89-18=71, Resulting Numbers: [13, 71]
Generated Node #0,1,2: 15:[13, 71] Operation: 89-18=71
Moving to Node #0,2
Current State: 15:[90, 18, 12], Operations: ['89-77=12']
Exploring Operation: 90-12=78, Resulting Numbers: [18, 78]
Generated Node #0,2,0: 15:[18, 78] Operation: 90-12=78
Exploring Operation: 90/18=5, Resulting Numbers: [12, 5]
Generated Node #0,2,1: 15:[12, 5] Operation: 90/18=5
Exploring Operation: 90-18=72, Resulting Numbers: [12, 72]
Generated Node #0,2,2: 15:[12, 72] Operation: 90-18=72
Moving to Node #0,2,1
Current State: 15:[12, 5], Operations: ['89-77=12', '90/18=5']
Exploring Operation: 12+5=17, Resulting Numbers: [17]
17,15 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,15 unequal: No Solution
Exploring Operation: 12*5=60, Resulting Numbers: [60]
60,15 unequal: No Solution
Moving to Node #0,0,2
Current State: 15:[1, 59], Operations: ['90-89=1', '77-18=59']
Exploring Operation: 1*59=59, Resulting Numbers: [59]
59,15 unequal: No Solution
Exploring Operation: 59/1=59, Resulting Numbers: [59]
59,15 unequal: No Solution
Exploring Operation: 59-1=58, Resulting Numbers: [58]
58,15 unequal: No Solution
Moving to Node #0,1,2
Current State: 15:[13, 71], Operations: ['90-77=13', '89-18=71']
Exploring Operation: 13+71=84, Resulting Numbers: [84]
84,15 unequal: No Solution
Exploring Operation: 13*71=923, Resulting Numbers: [923]
923,15 unequal: No Solution
Exploring Operation: 71-13=58, Resulting Numbers: [58]
58,15 unequal: No Solution
Moving to Node #0,2,2
Current State: 15:[12, 72], Operations: ['89-77=12', '90-18=72']
Exploring Operation: 12+72=84, Resulting Numbers: [84]
84,15 unequal: No Solution
Exploring Operation: 72/12=6, Resulting Numbers: [6]
6,15 unequal: No Solution
Exploring Operation: 72-12=60, Resulting Numbers: [60]
60,15 unequal: No Solution
Moving to Node #0,0,1
Current State: 15:[18, 76], Operations: ['90-89=1', '77-1=76']
Exploring Operation: 18+76=94, Resulting Numbers: [94]
94,15 unequal: No Solution
Exploring Operation: 76-18=58, Resulting Numbers: [58]
58,15 unequal: No Solution
Exploring Operation: 18*76=1368, Resulting Numbers: [1368]
1368,15 unequal: No Solution
Moving to Node #0,1,0
Current State: 15:[18, 76], Operations: ['90-77=13', '89-13=76']
Exploring Operation: 18+76=94, Resulting Numbers: [94]
94,15 unequal: No Solution
Exploring Operation: 76-18=58, Resulting Numbers: [58]
58,15 unequal: No Solution
Exploring Operation: 18*76=1368, Resulting Numbers: [1368]
1368,15 unequal: No Solution
Moving to Node #0,0,0
Current State: 15:[77, 17], Operations: ['90-89=1', '18-1=17']
Exploring Operation: 77*17=1309, Resulting Numbers: [1309]
1309,15 unequal: No Solution
Exploring Operation: 77+17=94, Resulting Numbers: [94]
94,15 unequal: No Solution
Exploring Operation: 77-17=60, Resulting Numbers: [60]
60,15 unequal: No Solution
Moving to Node #0,2,0
Current State: 15:[18, 78], Operations: ['89-77=12', '90-12=78']
Exploring Operation: 78-18=60, Resulting Numbers: [60]
60,15 unequal: No Solution
Exploring Operation: 18+78=96, Resulting Numbers: [96]
96,15 unequal: No Solution
Exploring Operation: 18*78=1404, Resulting Numbers: [1404]
1404,15 unequal: No Solution
Moving to Node #0,1,1
Current State: 15:[89, 5], Operations: ['90-77=13', '18-13=5']
Exploring Operation: 89-5=84, Resulting Numbers: [84]
84,15 unequal: No Solution
Exploring Operation: 89*5=445, Resulting Numbers: [445]
445,15 unequal: No Solution
Exploring Operation: 89+5=94, Resulting Numbers: [94]
94,15 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
37,
23,
97,
89
] | 68 | [
"37+23=60",
"97-89=8",
"60+8=68"
] | Current State: 68:[37, 23, 97, 89], Operations: []
Exploring Operation: 37+23=60, Resulting Numbers: [97, 89, 60]
Generated Node #2: [97, 89, 60] from Operation: 37+23=60
Current State: 68:[97, 89, 60], Operations: ['37+23=60']
Exploring Operation: 97-89=8, Resulting Numbers: [60, 8]
Generated Node #3: [60, 8] from Operation: 97-89=8
Current State: 68:[60, 8], Operations: ['37+23=60', '97-89=8']
Exploring Operation: 60+8=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[37, 23, 97, 89], Operations: []
Exploring Operation: 97-89=8, Resulting Numbers: [37, 23, 8]
Generated Node #0,0: 68:[37, 23, 8] Operation: 97-89=8
Exploring Operation: 97-23=74, Resulting Numbers: [37, 89, 74]
Generated Node #0,1: 68:[37, 89, 74] Operation: 97-23=74
Exploring Operation: 89-23=66, Resulting Numbers: [37, 97, 66]
Generated Node #0,2: 68:[37, 97, 66] Operation: 89-23=66
Moving to Node #0,0
Current State: 68:[37, 23, 8], Operations: ['97-89=8']
Exploring Operation: 23-8=15, Resulting Numbers: [37, 15]
Generated Node #0,0,0: 68:[37, 15] Operation: 23-8=15
Exploring Operation: 37-23=14, Resulting Numbers: [8, 14]
Generated Node #0,0,1: 68:[8, 14] Operation: 37-23=14
Exploring Operation: 23+8=31, Resulting Numbers: [37, 31]
Generated Node #0,0,2: 68:[37, 31] Operation: 23+8=31
Moving to Node #0,1
Current State: 68:[37, 89, 74], Operations: ['97-23=74']
Exploring Operation: 89-37=52, Resulting Numbers: [74, 52]
Generated Node #0,1,0: 68:[74, 52] Operation: 89-37=52
Exploring Operation: 89-74=15, Resulting Numbers: [37, 15]
Generated Node #0,1,1: 68:[37, 15] Operation: 89-74=15
Exploring Operation: 74/37=2, Resulting Numbers: [89, 2]
Generated Node #0,1,2: 68:[89, 2] Operation: 74/37=2
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 68:[37, 15], Operations: ['97-23=74', '89-74=15']
Exploring Operation: 37*15=555, Resulting Numbers: [555]
555,68 unequal: No Solution
Exploring Operation: 37+15=52, Resulting Numbers: [52]
52,68 unequal: No Solution
Exploring Operation: 37-15=22, Resulting Numbers: [22]
22,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,2
Current State: 68:[89, 2], Operations: ['97-23=74', '74/37=2']
Exploring Operation: 89*2=178, Resulting Numbers: [178]
178,68 unequal: No Solution
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,68 unequal: No Solution
Exploring Operation: 89+2=91, Resulting Numbers: [91]
91,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, 52], Operations: ['97-23=74', '89-37=52']
Exploring Operation: 74*52=3848, Resulting Numbers: [3848]
3848,68 unequal: No Solution
Exploring Operation: 74-52=22, Resulting Numbers: [22]
22,68 unequal: No Solution
Exploring Operation: 74+52=126, Resulting Numbers: [126]
126,68 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: 68:[37, 97, 66], Operations: ['89-23=66']
Exploring Operation: 97-66=31, Resulting Numbers: [37, 31]
Generated Node #0,2,0: 68:[37, 31] Operation: 97-66=31
Exploring Operation: 97-37=60, Resulting Numbers: [66, 60]
Generated Node #0,2,1: 68:[66, 60] Operation: 97-37=60
Exploring Operation: 66-37=29, Resulting Numbers: [97, 29]
Generated Node #0,2,2: 68:[97, 29] Operation: 66-37=29
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 68:[37, 31], Operations: ['89-23=66', '97-66=31']
Exploring Operation: 37+31=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[37, 23, 97, 89], Operations: []
Exploring Operation: 89-23=66, Resulting Numbers: [37, 97, 66]
Generated Node #0,2: 68:[37, 97, 66] Operation: 89-23=66
Moving to Node #0,2
Current State: 68:[37, 97, 66], Operations: ['89-23=66']
Exploring Operation: 97-66=31, Resulting Numbers: [37, 31]
Generated Node #0,2,0: 68:[37, 31] Operation: 97-66=31
Moving to Node #0,2,0
Current State: 68:[37, 31], Operations: ['89-23=66', '97-66=31']
Exploring Operation: 37+31=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_3 | mult_heuristic |
[
70,
73,
41,
12
] | 26 | [
"73-70=3",
"41-12=29",
"29-3=26"
] | Current State: 26:[70, 73, 41, 12], Operations: []
Exploring Operation: 73-70=3, Resulting Numbers: [41, 12, 3]
Generated Node #2: [41, 12, 3] from Operation: 73-70=3
Current State: 26:[41, 12, 3], Operations: ['73-70=3']
Exploring Operation: 41-12=29, Resulting Numbers: [3, 29]
Generated Node #3: [3, 29] from Operation: 41-12=29
Current State: 26:[3, 29], Operations: ['73-70=3', '41-12=29']
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[70, 73, 41, 12], Operations: []
Exploring Operation: 70-41=29, Resulting Numbers: [73, 12, 29]
Generated Node #0,0: 26:[73, 12, 29] Operation: 70-41=29
Exploring Operation: 70-12=58, Resulting Numbers: [73, 41, 58]
Generated Node #0,1: 26:[73, 41, 58] Operation: 70-12=58
Exploring Operation: 73-41=32, Resulting Numbers: [70, 12, 32]
Generated Node #0,2: 26:[70, 12, 32] Operation: 73-41=32
Exploring Operation: 73-70=3, Resulting Numbers: [41, 12, 3]
Generated Node #0,3: 26:[41, 12, 3] Operation: 73-70=3
Moving to Node #0,3
Current State: 26:[41, 12, 3], Operations: ['73-70=3']
Exploring Operation: 12/3=4, Resulting Numbers: [41, 4]
Generated Node #0,3,0: 26:[41, 4] Operation: 12/3=4
Exploring Operation: 41-12=29, Resulting Numbers: [3, 29]
Generated Node #0,3,1: 26:[3, 29] Operation: 41-12=29
Exploring Operation: 12+3=15, Resulting Numbers: [41, 15]
Generated Node #0,3,2: 26:[41, 15] Operation: 12+3=15
Exploring Operation: 41-3=38, Resulting Numbers: [12, 38]
Generated Node #0,3,3: 26:[12, 38] Operation: 41-3=38
Moving to Node #0,2
Current State: 26:[70, 12, 32], Operations: ['73-41=32']
Exploring Operation: 70-32=38, Resulting Numbers: [12, 38]
Generated Node #0,2,0: 26:[12, 38] Operation: 70-32=38
Exploring Operation: 32-12=20, Resulting Numbers: [70, 20]
Generated Node #0,2,1: 26:[70, 20] Operation: 32-12=20
Exploring Operation: 70+12=82, Resulting Numbers: [32, 82]
Generated Node #0,2,2: 26:[32, 82] Operation: 70+12=82
Exploring Operation: 70-12=58, Resulting Numbers: [32, 58]
Generated Node #0,2,3: 26:[32, 58] Operation: 70-12=58
Moving to Node #0,0
Current State: 26:[73, 12, 29], Operations: ['70-41=29']
Exploring Operation: 29-12=17, Resulting Numbers: [73, 17]
Generated Node #0,0,0: 26:[73, 17] Operation: 29-12=17
Exploring Operation: 73-29=44, Resulting Numbers: [12, 44]
Generated Node #0,0,1: 26:[12, 44] Operation: 73-29=44
Exploring Operation: 73+12=85, Resulting Numbers: [29, 85]
Generated Node #0,0,2: 26:[29, 85] Operation: 73+12=85
Exploring Operation: 73-12=61, Resulting Numbers: [29, 61]
Generated Node #0,0,3: 26:[29, 61] Operation: 73-12=61
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 26:[12, 44], Operations: ['70-41=29', '73-29=44']
Exploring Operation: 12*44=528, Resulting Numbers: [528]
528,26 unequal: No Solution
Exploring Operation: 44-12=32, Resulting Numbers: [32]
32,26 unequal: No Solution
Exploring Operation: 12+44=56, Resulting Numbers: [56]
56,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 26:[29, 61], Operations: ['70-41=29', '73-12=61']
Exploring Operation: 29*61=1769, Resulting Numbers: [1769]
1769,26 unequal: No Solution
Exploring Operation: 61-29=32, Resulting Numbers: [32]
32,26 unequal: No Solution
Exploring Operation: 29+61=90, Resulting Numbers: [90]
90,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 26:[73, 17], Operations: ['70-41=29', '29-12=17']
Exploring Operation: 73+17=90, Resulting Numbers: [90]
90,26 unequal: No Solution
Exploring Operation: 73*17=1241, Resulting Numbers: [1241]
1241,26 unequal: No Solution
Exploring Operation: 73-17=56, Resulting Numbers: [56]
56,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 26:[29, 85], Operations: ['70-41=29', '73+12=85']
Exploring Operation: 29+85=114, Resulting Numbers: [114]
114,26 unequal: No Solution
Exploring Operation: 85-29=56, Resulting Numbers: [56]
56,26 unequal: No Solution
Exploring Operation: 29*85=2465, Resulting Numbers: [2465]
2465,26 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: 26:[73, 41, 58], Operations: ['70-12=58']
Exploring Operation: 58-41=17, Resulting Numbers: [73, 17]
Generated Node #0,1,0: 26:[73, 17] Operation: 58-41=17
Exploring Operation: 73+41=114, Resulting Numbers: [58, 114]
Generated Node #0,1,1: 26:[58, 114] Operation: 73+41=114
Exploring Operation: 73-41=32, Resulting Numbers: [58, 32]
Generated Node #0,1,2: 26:[58, 32] Operation: 73-41=32
Exploring Operation: 73-58=15, Resulting Numbers: [41, 15]
Generated Node #0,1,3: 26:[41, 15] Operation: 73-58=15
Moving to Node #0,3,1
Current State: 26:[3, 29], Operations: ['73-70=3', '41-12=29']
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,26 unequal: No Solution
Exploring Operation: 3+29=32, Resulting Numbers: [32]
32,26 unequal: No Solution
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[70, 73, 41, 12], Operations: []
Exploring Operation: 73-70=3, Resulting Numbers: [41, 12, 3]
Generated Node #0,3: 26:[41, 12, 3] Operation: 73-70=3
Moving to Node #0,3
Current State: 26:[41, 12, 3], Operations: ['73-70=3']
Exploring Operation: 41-12=29, Resulting Numbers: [3, 29]
Generated Node #0,3,1: 26:[3, 29] Operation: 41-12=29
Moving to Node #0,3,1
Current State: 26:[3, 29], Operations: ['73-70=3', '41-12=29']
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 0.966146 | hs_4 | sum_heuristic |
[
32,
19,
48,
16
] | 55 | [
"19*48=912",
"912-32=880",
"880/16=55"
] | Current State: 55:[32, 19, 48, 16], Operations: []
Exploring Operation: 19*48=912, Resulting Numbers: [32, 16, 912]
Generated Node #2: [32, 16, 912] from Operation: 19*48=912
Current State: 55:[32, 16, 912], Operations: ['19*48=912']
Exploring Operation: 912-32=880, Resulting Numbers: [16, 880]
Generated Node #3: [16, 880] from Operation: 912-32=880
Current State: 55:[16, 880], Operations: ['19*48=912', '912-32=880']
Exploring Operation: 880/16=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[32, 19, 48, 16], Operations: []
Exploring Operation: 32-16=16, Resulting Numbers: [19, 48, 16]
Generated Node #0,0: 55:[19, 48, 16] Operation: 32-16=16
Exploring Operation: 32-19=13, Resulting Numbers: [48, 16, 13]
Generated Node #0,1: 55:[48, 16, 13] Operation: 32-19=13
Exploring Operation: 32+19=51, Resulting Numbers: [48, 16, 51]
Generated Node #0,2: 55:[48, 16, 51] Operation: 32+19=51
Exploring Operation: 32/16=2, Resulting Numbers: [19, 48, 2]
Generated Node #0,3: 55:[19, 48, 2] Operation: 32/16=2
Exploring Operation: 48-32=16, Resulting Numbers: [19, 16, 16]
Generated Node #0,4: 55:[19, 16, 16] Operation: 48-32=16
Moving to Node #0,1
Current State: 55:[48, 16, 13], Operations: ['32-19=13']
Exploring Operation: 48-16=32, Resulting Numbers: [13, 32]
Generated Node #0,1,0: 55:[13, 32] Operation: 48-16=32
Exploring Operation: 48+16=64, Resulting Numbers: [13, 64]
Generated Node #0,1,1: 55:[13, 64] Operation: 48+16=64
Exploring Operation: 48/16=3, Resulting Numbers: [13, 3]
Generated Node #0,1,2: 55:[13, 3] Operation: 48/16=3
Exploring Operation: 16-13=3, Resulting Numbers: [48, 3]
Generated Node #0,1,3: 55:[48, 3] Operation: 16-13=3
Exploring Operation: 48+13=61, Resulting Numbers: [16, 61]
Generated Node #0,1,4: 55:[16, 61] Operation: 48+13=61
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 55:[13, 3], Operations: ['32-19=13', '48/16=3']
Exploring Operation: 13+3=16, Resulting Numbers: [16]
16,55 unequal: No Solution
Exploring Operation: 13*3=39, Resulting Numbers: [39]
39,55 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 55:[48, 3], Operations: ['32-19=13', '16-13=3']
Exploring Operation: 48+3=51, Resulting Numbers: [51]
51,55 unequal: No Solution
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,55 unequal: No Solution
Exploring Operation: 48*3=144, Resulting Numbers: [144]
144,55 unequal: No Solution
Exploring Operation: 48/3=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,1,1
Current State: 55:[13, 64], Operations: ['32-19=13', '48+16=64']
Exploring Operation: 64-13=51, Resulting Numbers: [51]
51,55 unequal: No Solution
Exploring Operation: 13+64=77, Resulting Numbers: [77]
77,55 unequal: No Solution
Exploring Operation: 13*64=832, Resulting Numbers: [832]
832,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,4
Current State: 55:[16, 61], Operations: ['32-19=13', '48+13=61']
Exploring Operation: 16*61=976, Resulting Numbers: [976]
976,55 unequal: No Solution
Exploring Operation: 16+61=77, Resulting Numbers: [77]
77,55 unequal: No Solution
Exploring Operation: 61-16=45, Resulting Numbers: [45]
45,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,0
Current State: 55:[13, 32], Operations: ['32-19=13', '48-16=32']
Exploring Operation: 32-13=19, Resulting Numbers: [19]
19,55 unequal: No Solution
Exploring Operation: 13*32=416, Resulting Numbers: [416]
416,55 unequal: No Solution
Exploring Operation: 13+32=45, Resulting Numbers: [45]
45,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 55:[48, 16, 51], Operations: ['32+19=51']
Exploring Operation: 48/16=3, Resulting Numbers: [51, 3]
Generated Node #0,2,0: 55:[51, 3] Operation: 48/16=3
Exploring Operation: 48-16=32, Resulting Numbers: [51, 32]
Generated Node #0,2,1: 55:[51, 32] Operation: 48-16=32
Exploring Operation: 51-48=3, Resulting Numbers: [16, 3]
Generated Node #0,2,2: 55:[16, 3] Operation: 51-48=3
Exploring Operation: 16+51=67, Resulting Numbers: [48, 67]
Generated Node #0,2,3: 55:[48, 67] Operation: 16+51=67
Exploring Operation: 48+16=64, Resulting Numbers: [51, 64]
Generated Node #0,2,4: 55:[51, 64] Operation: 48+16=64
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 55:[51, 3], Operations: ['32+19=51', '48/16=3']
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,55 unequal: No Solution
Exploring Operation: 51*3=153, Resulting Numbers: [153]
153,55 unequal: No Solution
Exploring Operation: 51+3=54, Resulting Numbers: [54]
54,55 unequal: No Solution
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 55:[16, 3], Operations: ['32+19=51', '51-48=3']
Exploring Operation: 16+3=19, Resulting Numbers: [19]
19,55 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,55 unequal: No Solution
Exploring Operation: 16*3=48, Resulting Numbers: [48]
48,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,4
Current State: 55:[51, 64], Operations: ['32+19=51', '48+16=64']
Exploring Operation: 51+64=115, Resulting Numbers: [115]
115,55 unequal: No Solution
Exploring Operation: 64-51=13, Resulting Numbers: [13]
13,55 unequal: No Solution
Exploring Operation: 51*64=3264, Resulting Numbers: [3264]
3264,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 55:[48, 67], Operations: ['32+19=51', '16+51=67']
Exploring Operation: 48+67=115, Resulting Numbers: [115]
115,55 unequal: No Solution
Exploring Operation: 48*67=3216, Resulting Numbers: [3216]
3216,55 unequal: No Solution
Exploring Operation: 67-48=19, Resulting Numbers: [19]
19,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,1
Current State: 55:[51, 32], Operations: ['32+19=51', '48-16=32']
Exploring Operation: 51+32=83, Resulting Numbers: [83]
83,55 unequal: No Solution
Exploring Operation: 51*32=1632, Resulting Numbers: [1632]
1632,55 unequal: No Solution
Exploring Operation: 51-32=19, Resulting Numbers: [19]
19,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 55:[19, 48, 2], Operations: ['32/16=2']
Exploring Operation: 48-2=46, Resulting Numbers: [19, 46]
Generated Node #0,3,0: 55:[19, 46] Operation: 48-2=46
Exploring Operation: 19+48=67, Resulting Numbers: [2, 67]
Generated Node #0,3,1: 55:[2, 67] Operation: 19+48=67
Exploring Operation: 19+2=21, Resulting Numbers: [48, 21]
Generated Node #0,3,2: 55:[48, 21] Operation: 19+2=21
Exploring Operation: 48+2=50, Resulting Numbers: [19, 50]
Generated Node #0,3,3: 55:[19, 50] Operation: 48+2=50
Exploring Operation: 19-2=17, Resulting Numbers: [48, 17]
Generated Node #0,3,4: 55:[48, 17] Operation: 19-2=17
Moving to Node #0,4
Current State: 55:[19, 16, 16], Operations: ['48-32=16']
Exploring Operation: 19+16=35, Resulting Numbers: [16, 35]
Generated Node #0,4,0: 55:[16, 35] Operation: 19+16=35
Exploring Operation: 19-16=3, Resulting Numbers: [16, 3]
Generated Node #0,4,1: 55:[16, 3] Operation: 19-16=3
Exploring Operation: 19-16=3, Resulting Numbers: [16, 3]
Generated Node #0,4,2: 55:[16, 3] Operation: 19-16=3
Exploring Operation: 16-16=0, Resulting Numbers: [19, 0]
Generated Node #0,4,3: 55:[19, 0] Operation: 16-16=0
Exploring Operation: 16/16=1, Resulting Numbers: [19, 1]
Generated Node #0,4,4: 55:[19, 1] Operation: 16/16=1
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 55:[16, 3], Operations: ['48-32=16', '19-16=3']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,55 unequal: No Solution
Exploring Operation: 16*3=48, Resulting Numbers: [48]
48,55 unequal: No Solution
Exploring Operation: 16+3=19, Resulting Numbers: [19]
19,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,4,2
Current State: 55:[16, 3], Operations: ['48-32=16', '19-16=3']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,55 unequal: No Solution
Exploring Operation: 16+3=19, Resulting Numbers: [19]
19,55 unequal: No Solution
Exploring Operation: 16*3=48, Resulting Numbers: [48]
48,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,4,4
Current State: 55:[19, 1], Operations: ['48-32=16', '16/16=1']
Exploring Operation: 19-1=18, Resulting Numbers: [18]
18,55 unequal: No Solution
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,55 unequal: No Solution
Exploring Operation: 19*1=19, Resulting Numbers: [19]
19,55 unequal: No Solution
Exploring Operation: 19+1=20, Resulting Numbers: [20]
20,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,4,3
Current State: 55:[19, 0], Operations: ['48-32=16', '16-16=0']
Exploring Operation: 19+0=19, Resulting Numbers: [19]
19,55 unequal: No Solution
Exploring Operation: 19*0=0, Resulting Numbers: [0]
0,55 unequal: No Solution
Exploring Operation: 19-0=19, Resulting Numbers: [19]
19,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,4,0
Current State: 55:[16, 35], Operations: ['48-32=16', '19+16=35']
Exploring Operation: 16*35=560, Resulting Numbers: [560]
560,55 unequal: No Solution
Exploring Operation: 16+35=51, Resulting Numbers: [51]
51,55 unequal: No Solution
Exploring Operation: 35-16=19, Resulting Numbers: [19]
19,55 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: 55:[19, 48, 16], Operations: ['32-16=16']
Exploring Operation: 19-16=3, Resulting Numbers: [48, 3]
Generated Node #0,0,0: 55:[48, 3] Operation: 19-16=3
Exploring Operation: 19+48=67, Resulting Numbers: [16, 67]
Generated Node #0,0,1: 55:[16, 67] Operation: 19+48=67
Exploring Operation: 48+16=64, Resulting Numbers: [19, 64]
Generated Node #0,0,2: 55:[19, 64] Operation: 48+16=64
Exploring Operation: 48/16=3, Resulting Numbers: [19, 3]
Generated Node #0,0,3: 55:[19, 3] Operation: 48/16=3
Exploring Operation: 48-19=29, Resulting Numbers: [16, 29]
Generated Node #0,0,4: 55:[16, 29] Operation: 48-19=29
Moving to Node #0,0,0
Current State: 55:[48, 3], Operations: ['32-16=16', '19-16=3']
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,55 unequal: No Solution
Exploring Operation: 48*3=144, Resulting Numbers: [144]
144,55 unequal: No Solution
Exploring Operation: 48+3=51, Resulting Numbers: [51]
51,55 unequal: No Solution
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,55 unequal: No Solution
Moving to Node #0,0,3
Current State: 55:[19, 3], Operations: ['32-16=16', '48/16=3']
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,55 unequal: No Solution
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,55 unequal: No Solution
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,55 unequal: No Solution
Moving to Node #0,3,3
Current State: 55:[19, 50], Operations: ['32/16=2', '48+2=50']
Exploring Operation: 19+50=69, Resulting Numbers: [69]
69,55 unequal: No Solution
Exploring Operation: 19*50=950, Resulting Numbers: [950]
950,55 unequal: No Solution
Exploring Operation: 50-19=31, Resulting Numbers: [31]
31,55 unequal: No Solution
Moving to Node #0,3,4
Current State: 55:[48, 17], Operations: ['32/16=2', '19-2=17']
Exploring Operation: 48*17=816, Resulting Numbers: [816]
816,55 unequal: No Solution
Exploring Operation: 48+17=65, Resulting Numbers: [65]
65,55 unequal: No Solution
Exploring Operation: 48-17=31, Resulting Numbers: [31]
31,55 unequal: No Solution
Moving to Node #0,3,1
Current State: 55:[2, 67], Operations: ['32/16=2', '19+48=67']
Exploring Operation: 2+67=69, Resulting Numbers: [69]
69,55 unequal: No Solution
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,55 unequal: No Solution
Exploring Operation: 2*67=134, Resulting Numbers: [134]
134,55 unequal: No Solution
Moving to Node #0,0,2
Current State: 55:[19, 64], Operations: ['32-16=16', '48+16=64']
Exploring Operation: 64-19=45, Resulting Numbers: [45]
45,55 unequal: No Solution
Exploring Operation: 19*64=1216, Resulting Numbers: [1216]
1216,55 unequal: No Solution
Exploring Operation: 19+64=83, Resulting Numbers: [83]
83,55 unequal: No Solution
Moving to Node #0,3,2
Current State: 55:[48, 21], Operations: ['32/16=2', '19+2=21']
Exploring Operation: 48-21=27, Resulting Numbers: [27]
27,55 unequal: No Solution
Exploring Operation: 48*21=1008, Resulting Numbers: [1008]
1008,55 unequal: No Solution
Exploring Operation: 48+21=69, Resulting Numbers: [69]
69,55 unequal: No Solution
Moving to Node #0,3,0
Current State: 55:[19, 46], Operations: ['32/16=2', '48-2=46']
Exploring Operation: 19+46=65, Resulting Numbers: [65]
65,55 unequal: No Solution
Exploring Operation: 46-19=27, Resulting Numbers: [27]
27,55 unequal: No Solution
Exploring Operation: 19*46=874, Resulting Numbers: [874]
874,55 unequal: No Solution
Moving to Node #0,0,1
Current State: 55:[16, 67], Operations: ['32-16=16', '19+48=67']
Exploring Operation: 67-16=51, Resulting Numbers: [51]
51,55 unequal: No Solution
Exploring Operation: 16+67=83, Resulting Numbers: [83]
83,55 unequal: No Solution
Exploring Operation: 16*67=1072, Resulting Numbers: [1072]
1072,55 unequal: No Solution
Moving to Node #0,0,4
Current State: 55:[16, 29], Operations: ['32-16=16', '48-19=29']
Exploring Operation: 16*29=464, Resulting Numbers: [464]
464,55 unequal: No Solution
Exploring Operation: 16+29=45, Resulting Numbers: [45]
45,55 unequal: No Solution
Exploring Operation: 29-16=13, Resulting Numbers: [13]
13,55 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
9,
25,
61,
27
] | 14 | [
"27/9=3",
"25*3=75",
"75-61=14"
] | Current State: 14:[9, 25, 61, 27], Operations: []
Exploring Operation: 27/9=3, Resulting Numbers: [25, 61, 3]
Generated Node #2: [25, 61, 3] from Operation: 27/9=3
Current State: 14:[25, 61, 3], Operations: ['27/9=3']
Exploring Operation: 25*3=75, Resulting Numbers: [61, 75]
Generated Node #3: [61, 75] from Operation: 25*3=75
Current State: 14:[61, 75], Operations: ['27/9=3', '25*3=75']
Exploring Operation: 75-61=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[9, 25, 61, 27], Operations: []
Exploring Operation: 61-27=34, Resulting Numbers: [9, 25, 34]
Generated Node #0,0: 14:[9, 25, 34] Operation: 61-27=34
Exploring Operation: 61-25=36, Resulting Numbers: [9, 27, 36]
Generated Node #0,1: 14:[9, 27, 36] Operation: 61-25=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[9, 25, 34], Operations: ['61-27=34']
Exploring Operation: 25-9=16, Resulting Numbers: [34, 16]
Generated Node #0,0,0: 14:[34, 16] Operation: 25-9=16
Exploring Operation: 34-25=9, Resulting Numbers: [9, 9]
Generated Node #0,0,1: 14:[9, 9] Operation: 34-25=9
Moving to Node #0,0,1
Current State: 14:[9, 9], Operations: ['61-27=34', '34-25=9']
Exploring Operation: 9/9=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Exploring Operation: 9-9=0, Resulting Numbers: [0]
0,14 unequal: No Solution
Moving to Node #0,0,0
Current State: 14:[34, 16], Operations: ['61-27=34', '25-9=16']
Exploring Operation: 34+16=50, Resulting Numbers: [50]
50,14 unequal: No Solution
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 14:[9, 27, 36], Operations: ['61-25=36']
Exploring Operation: 36/9=4, Resulting Numbers: [27, 4]
Generated Node #0,1,0: 14:[27, 4] Operation: 36/9=4
Exploring Operation: 36-27=9, Resulting Numbers: [9, 9]
Generated Node #0,1,1: 14:[9, 9] Operation: 36-27=9
Moving to Node #0,1,1
Current State: 14:[9, 9], Operations: ['61-25=36', '36-27=9']
Exploring Operation: 9-9=0, Resulting Numbers: [0]
0,14 unequal: No Solution
Exploring Operation: 9/9=1, Resulting Numbers: [1]
1,14 unequal: No Solution
Moving to Node #0,1,0
Current State: 14:[27, 4], Operations: ['61-25=36', '36/9=4']
Exploring Operation: 27-4=23, Resulting Numbers: [23]
23,14 unequal: No Solution
Exploring Operation: 27+4=31, Resulting Numbers: [31]
31,14 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 |
[
35,
45,
30,
93
] | 87 | [
"93-35=58",
"45*58=2610",
"2610/30=87"
] | Current State: 87:[35, 45, 30, 93], Operations: []
Exploring Operation: 93-35=58, Resulting Numbers: [45, 30, 58]
Generated Node #2: [45, 30, 58] from Operation: 93-35=58
Current State: 87:[45, 30, 58], Operations: ['93-35=58']
Exploring Operation: 45*58=2610, Resulting Numbers: [30, 2610]
Generated Node #3: [30, 2610] from Operation: 45*58=2610
Current State: 87:[30, 2610], Operations: ['93-35=58', '45*58=2610']
Exploring Operation: 2610/30=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[35, 45, 30, 93], Operations: []
Exploring Operation: 35+45=80, Resulting Numbers: [30, 93, 80]
Generated Node #0,0: 87:[30, 93, 80] Operation: 35+45=80
Exploring Operation: 35-30=5, Resulting Numbers: [45, 93, 5]
Generated Node #0,1: 87:[45, 93, 5] Operation: 35-30=5
Exploring Operation: 45-35=10, Resulting Numbers: [30, 93, 10]
Generated Node #0,2: 87:[30, 93, 10] Operation: 45-35=10
Exploring Operation: 45+30=75, Resulting Numbers: [35, 93, 75]
Generated Node #0,3: 87:[35, 93, 75] Operation: 45+30=75
Exploring Operation: 45-30=15, Resulting Numbers: [35, 93, 15]
Generated Node #0,4: 87:[35, 93, 15] Operation: 45-30=15
Moving to Node #0,0
Current State: 87:[30, 93, 80], Operations: ['35+45=80']
Exploring Operation: 80-30=50, Resulting Numbers: [93, 50]
Generated Node #0,0,0: 87:[93, 50] Operation: 80-30=50
Exploring Operation: 30+80=110, Resulting Numbers: [93, 110]
Generated Node #0,0,1: 87:[93, 110] Operation: 30+80=110
Exploring Operation: 30+93=123, Resulting Numbers: [80, 123]
Generated Node #0,0,2: 87:[80, 123] Operation: 30+93=123
Exploring Operation: 93-30=63, Resulting Numbers: [80, 63]
Generated Node #0,0,3: 87:[80, 63] Operation: 93-30=63
Exploring Operation: 93-80=13, Resulting Numbers: [30, 13]
Generated Node #0,0,4: 87:[30, 13] Operation: 93-80=13
Moving to Node #0,2
Current State: 87:[30, 93, 10], Operations: ['45-35=10']
Exploring Operation: 93+10=103, Resulting Numbers: [30, 103]
Generated Node #0,2,0: 87:[30, 103] Operation: 93+10=103
Exploring Operation: 30-10=20, Resulting Numbers: [93, 20]
Generated Node #0,2,1: 87:[93, 20] Operation: 30-10=20
Exploring Operation: 93-10=83, Resulting Numbers: [30, 83]
Generated Node #0,2,2: 87:[30, 83] Operation: 93-10=83
Exploring Operation: 30+10=40, Resulting Numbers: [93, 40]
Generated Node #0,2,3: 87:[93, 40] Operation: 30+10=40
Exploring Operation: 30/10=3, Resulting Numbers: [93, 3]
Generated Node #0,2,4: 87:[93, 3] Operation: 30/10=3
Moving to Node #0,1
Current State: 87:[45, 93, 5], Operations: ['35-30=5']
Exploring Operation: 93-45=48, Resulting Numbers: [5, 48]
Generated Node #0,1,0: 87:[5, 48] Operation: 93-45=48
Exploring Operation: 93-5=88, Resulting Numbers: [45, 88]
Generated Node #0,1,1: 87:[45, 88] Operation: 93-5=88
Exploring Operation: 45-5=40, Resulting Numbers: [93, 40]
Generated Node #0,1,2: 87:[93, 40] Operation: 45-5=40
Exploring Operation: 45/5=9, Resulting Numbers: [93, 9]
Generated Node #0,1,3: 87:[93, 9] Operation: 45/5=9
Exploring Operation: 45+5=50, Resulting Numbers: [93, 50]
Generated Node #0,1,4: 87:[93, 50] Operation: 45+5=50
Moving to Node #0,3
Current State: 87:[35, 93, 75], Operations: ['45+30=75']
Exploring Operation: 93-35=58, Resulting Numbers: [75, 58]
Generated Node #0,3,0: 87:[75, 58] Operation: 93-35=58
Exploring Operation: 35+75=110, Resulting Numbers: [93, 110]
Generated Node #0,3,1: 87:[93, 110] Operation: 35+75=110
Exploring Operation: 93-75=18, Resulting Numbers: [35, 18]
Generated Node #0,3,2: 87:[35, 18] Operation: 93-75=18
Exploring Operation: 35+93=128, Resulting Numbers: [75, 128]
Generated Node #0,3,3: 87:[75, 128] Operation: 35+93=128
Exploring Operation: 75-35=40, Resulting Numbers: [93, 40]
Generated Node #0,3,4: 87:[93, 40] Operation: 75-35=40
Moving to Node #0,4
Current State: 87:[35, 93, 15], Operations: ['45-30=15']
Exploring Operation: 93-35=58, Resulting Numbers: [15, 58]
Generated Node #0,4,0: 87:[15, 58] Operation: 93-35=58
Exploring Operation: 35+15=50, Resulting Numbers: [93, 50]
Generated Node #0,4,1: 87:[93, 50] Operation: 35+15=50
Exploring Operation: 93+15=108, Resulting Numbers: [35, 108]
Generated Node #0,4,2: 87:[35, 108] Operation: 93+15=108
Exploring Operation: 93-15=78, Resulting Numbers: [35, 78]
Generated Node #0,4,3: 87:[35, 78] Operation: 93-15=78
Exploring Operation: 35-15=20, Resulting Numbers: [93, 20]
Generated Node #0,4,4: 87:[93, 20] Operation: 35-15=20
Moving to Node #0,2,2
Current State: 87:[30, 83], Operations: ['45-35=10', '93-10=83']
Exploring Operation: 30*83=2490, Resulting Numbers: [2490]
2490,87 unequal: No Solution
Exploring Operation: 30+83=113, Resulting Numbers: [113]
113,87 unequal: No Solution
Exploring Operation: 83-30=53, Resulting Numbers: [53]
53,87 unequal: No Solution
Moving to Node #0,2,4
Current State: 87:[93, 3], Operations: ['45-35=10', '30/10=3']
Exploring Operation: 93*3=279, Resulting Numbers: [279]
279,87 unequal: No Solution
Exploring Operation: 93+3=96, Resulting Numbers: [96]
96,87 unequal: No Solution
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,87 unequal: No Solution
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,87 unequal: No Solution
Moving to Node #0,0,4
Current State: 87:[30, 13], Operations: ['35+45=80', '93-80=13']
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,87 unequal: No Solution
Exploring Operation: 30+13=43, Resulting Numbers: [43]
43,87 unequal: No Solution
Exploring Operation: 30*13=390, Resulting Numbers: [390]
390,87 unequal: No Solution
Moving to Node #0,1,3
Current State: 87:[93, 9], Operations: ['35-30=5', '45/5=9']
Exploring Operation: 93-9=84, Resulting Numbers: [84]
84,87 unequal: No Solution
Exploring Operation: 93*9=837, Resulting Numbers: [837]
837,87 unequal: No Solution
Exploring Operation: 93+9=102, Resulting Numbers: [102]
102,87 unequal: No Solution
Moving to Node #0,2,1
Current State: 87:[93, 20], Operations: ['45-35=10', '30-10=20']
Exploring Operation: 93*20=1860, Resulting Numbers: [1860]
1860,87 unequal: No Solution
Exploring Operation: 93-20=73, Resulting Numbers: [73]
73,87 unequal: No Solution
Exploring Operation: 93+20=113, Resulting Numbers: [113]
113,87 unequal: No Solution
Moving to Node #0,4,4
Current State: 87:[93, 20], Operations: ['45-30=15', '35-15=20']
Exploring Operation: 93+20=113, Resulting Numbers: [113]
113,87 unequal: No Solution
Exploring Operation: 93-20=73, Resulting Numbers: [73]
73,87 unequal: No Solution
Exploring Operation: 93*20=1860, Resulting Numbers: [1860]
1860,87 unequal: No Solution
Moving to Node #0,4,3
Current State: 87:[35, 78], Operations: ['45-30=15', '93-15=78']
Exploring Operation: 78-35=43, Resulting Numbers: [43]
43,87 unequal: No Solution
Exploring Operation: 35*78=2730, Resulting Numbers: [2730]
2730,87 unequal: No Solution
Exploring Operation: 35+78=113, Resulting Numbers: [113]
113,87 unequal: No Solution
Moving to Node #0,1,1
Current State: 87:[45, 88], Operations: ['35-30=5', '93-5=88']
Exploring Operation: 88-45=43, Resulting Numbers: [43]
43,87 unequal: No Solution
Exploring Operation: 45*88=3960, Resulting Numbers: [3960]
3960,87 unequal: No Solution
Exploring Operation: 45+88=133, Resulting Numbers: [133]
133,87 unequal: No Solution
Moving to Node #0,1,2
Current State: 87:[93, 40], Operations: ['35-30=5', '45-5=40']
Exploring Operation: 93-40=53, Resulting Numbers: [53]
53,87 unequal: No Solution
Exploring Operation: 93+40=133, Resulting Numbers: [133]
133,87 unequal: No Solution
Exploring Operation: 93*40=3720, Resulting Numbers: [3720]
3720,87 unequal: No Solution
Moving to Node #0,2,3
Current State: 87:[93, 40], Operations: ['45-35=10', '30+10=40']
Exploring Operation: 93*40=3720, Resulting Numbers: [3720]
3720,87 unequal: No Solution
Exploring Operation: 93+40=133, Resulting Numbers: [133]
133,87 unequal: No Solution
Exploring Operation: 93-40=53, Resulting Numbers: [53]
53,87 unequal: No Solution
Moving to Node #0,2,0
Current State: 87:[30, 103], Operations: ['45-35=10', '93+10=103']
Exploring Operation: 30*103=3090, Resulting Numbers: [3090]
3090,87 unequal: No Solution
Exploring Operation: 103-30=73, Resulting Numbers: [73]
73,87 unequal: No Solution
Exploring Operation: 30+103=133, Resulting Numbers: [133]
133,87 unequal: No Solution
Moving to Node #0,3,2
Current State: 87:[35, 18], Operations: ['45+30=75', '93-75=18']
Exploring Operation: 35-18=17, Resulting Numbers: [17]
17,87 unequal: No Solution
Exploring Operation: 35+18=53, Resulting Numbers: [53]
53,87 unequal: No Solution
Exploring Operation: 35*18=630, Resulting Numbers: [630]
630,87 unequal: No Solution
Moving to Node #0,3,4
Current State: 87:[93, 40], Operations: ['45+30=75', '75-35=40']
Exploring Operation: 93-40=53, Resulting Numbers: [53]
53,87 unequal: No Solution
Exploring Operation: 93+40=133, Resulting Numbers: [133]
133,87 unequal: No Solution
Exploring Operation: 93*40=3720, Resulting Numbers: [3720]
3720,87 unequal: No Solution
Moving to Node #0,1,0
Current State: 87:[5, 48], Operations: ['35-30=5', '93-45=48']
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,87 unequal: No Solution
Exploring Operation: 5+48=53, Resulting Numbers: [53]
53,87 unequal: No Solution
Exploring Operation: 5*48=240, Resulting Numbers: [240]
240,87 unequal: No Solution
Moving to Node #0,1,4
Current State: 87:[93, 50], Operations: ['35-30=5', '45+5=50']
Exploring Operation: 93*50=4650, Resulting Numbers: [4650]
4650,87 unequal: No Solution
Exploring Operation: 93-50=43, Resulting Numbers: [43]
43,87 unequal: No Solution
Exploring Operation: 93+50=143, Resulting Numbers: [143]
143,87 unequal: No Solution
Moving to Node #0,4,2
Current State: 87:[35, 108], Operations: ['45-30=15', '93+15=108']
Exploring Operation: 108-35=73, Resulting Numbers: [73]
73,87 unequal: No Solution
Exploring Operation: 35*108=3780, Resulting Numbers: [3780]
3780,87 unequal: No Solution
Exploring Operation: 35+108=143, Resulting Numbers: [143]
143,87 unequal: No Solution
Moving to Node #0,4,1
Current State: 87:[93, 50], Operations: ['45-30=15', '35+15=50']
Exploring Operation: 93+50=143, Resulting Numbers: [143]
143,87 unequal: No Solution
Exploring Operation: 93-50=43, Resulting Numbers: [43]
43,87 unequal: No Solution
Exploring Operation: 93*50=4650, Resulting Numbers: [4650]
4650,87 unequal: No Solution
Moving to Node #0,0,0
Current State: 87:[93, 50], Operations: ['35+45=80', '80-30=50']
Exploring Operation: 93-50=43, Resulting Numbers: [43]
43,87 unequal: No Solution
Exploring Operation: 93+50=143, Resulting Numbers: [143]
143,87 unequal: No Solution
Exploring Operation: 93*50=4650, Resulting Numbers: [4650]
4650,87 unequal: No Solution
Moving to Node #0,0,1
Current State: 87:[93, 110], Operations: ['35+45=80', '30+80=110']
Exploring Operation: 93*110=10230, Resulting Numbers: [10230]
10230,87 unequal: No Solution
Exploring Operation: 93+110=203, Resulting Numbers: [203]
203,87 unequal: No Solution
Exploring Operation: 110-93=17, Resulting Numbers: [17]
17,87 unequal: No Solution
Moving to Node #0,3,1
Current State: 87:[93, 110], Operations: ['45+30=75', '35+75=110']
Exploring Operation: 110-93=17, Resulting Numbers: [17]
17,87 unequal: No Solution
Exploring Operation: 93*110=10230, Resulting Numbers: [10230]
10230,87 unequal: No Solution
Exploring Operation: 93+110=203, Resulting Numbers: [203]
203,87 unequal: No Solution
Moving to Node #0,0,3
Current State: 87:[80, 63], Operations: ['35+45=80', '93-30=63']
Exploring Operation: 80+63=143, Resulting Numbers: [143]
143,87 unequal: No Solution
Exploring Operation: 80-63=17, Resulting Numbers: [17]
17,87 unequal: No Solution
Exploring Operation: 80*63=5040, Resulting Numbers: [5040]
5040,87 unequal: No Solution
Moving to Node #0,3,0
Current State: 87:[75, 58], Operations: ['45+30=75', '93-35=58']
Exploring Operation: 75*58=4350, Resulting Numbers: [4350]
4350,87 unequal: No Solution
Exploring Operation: 75+58=133, Resulting Numbers: [133]
133,87 unequal: No Solution
Exploring Operation: 75-58=17, Resulting Numbers: [17]
17,87 unequal: No Solution
Moving to Node #0,4,0
Current State: 87:[15, 58], Operations: ['45-30=15', '93-35=58']
Exploring Operation: 15*58=870, Resulting Numbers: [870]
870,87 unequal: No Solution
Exploring Operation: 58-15=43, Resulting Numbers: [43]
43,87 unequal: No Solution
Exploring Operation: 15+58=73, Resulting Numbers: [73]
73,87 unequal: No Solution
Moving to Node #0,0,2
Current State: 87:[80, 123], Operations: ['35+45=80', '30+93=123']
Exploring Operation: 80+123=203, Resulting Numbers: [203]
203,87 unequal: No Solution
Exploring Operation: 80*123=9840, Resulting Numbers: [9840]
9840,87 unequal: No Solution
Exploring Operation: 123-80=43, Resulting Numbers: [43]
43,87 unequal: No Solution
Moving to Node #0,3,3
Current State: 87:[75, 128], Operations: ['45+30=75', '35+93=128']
Exploring Operation: 128-75=53, Resulting Numbers: [53]
53,87 unequal: No Solution
Exploring Operation: 75+128=203, Resulting Numbers: [203]
203,87 unequal: No Solution
Exploring Operation: 75*128=9600, Resulting Numbers: [9600]
9600,87 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
48,
10,
32,
68
] | 83 | [
"48*10=480",
"480/32=15",
"68+15=83"
] | Current State: 83:[48, 10, 32, 68], Operations: []
Exploring Operation: 48*10=480, Resulting Numbers: [32, 68, 480]
Generated Node #2: [32, 68, 480] from Operation: 48*10=480
Current State: 83:[32, 68, 480], Operations: ['48*10=480']
Exploring Operation: 480/32=15, Resulting Numbers: [68, 15]
Generated Node #3: [68, 15] from Operation: 480/32=15
Current State: 83:[68, 15], Operations: ['48*10=480', '480/32=15']
Exploring Operation: 68+15=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[48, 10, 32, 68], Operations: []
Exploring Operation: 48+10=58, Resulting Numbers: [32, 68, 58]
Generated Node #0,0: 83:[32, 68, 58] Operation: 48+10=58
Exploring Operation: 10+32=42, Resulting Numbers: [48, 68, 42]
Generated Node #0,1: 83:[48, 68, 42] Operation: 10+32=42
Exploring Operation: 10+68=78, Resulting Numbers: [48, 32, 78]
Generated Node #0,2: 83:[48, 32, 78] Operation: 10+68=78
Exploring Operation: 48+32=80, Resulting Numbers: [10, 68, 80]
Generated Node #0,3: 83:[10, 68, 80] Operation: 48+32=80
Moving to Node #0,0
Current State: 83:[32, 68, 58], Operations: ['48+10=58']
Exploring Operation: 32+58=90, Resulting Numbers: [68, 90]
Generated Node #0,0,0: 83:[68, 90] Operation: 32+58=90
Exploring Operation: 58-32=26, Resulting Numbers: [68, 26]
Generated Node #0,0,1: 83:[68, 26] Operation: 58-32=26
Exploring Operation: 68-32=36, Resulting Numbers: [58, 36]
Generated Node #0,0,2: 83:[58, 36] Operation: 68-32=36
Exploring Operation: 32+68=100, Resulting Numbers: [58, 100]
Generated Node #0,0,3: 83:[58, 100] Operation: 32+68=100
Moving to Node #0,2
Current State: 83:[48, 32, 78], Operations: ['10+68=78']
Exploring Operation: 48-32=16, Resulting Numbers: [78, 16]
Generated Node #0,2,0: 83:[78, 16] Operation: 48-32=16
Exploring Operation: 48+32=80, Resulting Numbers: [78, 80]
Generated Node #0,2,1: 83:[78, 80] Operation: 48+32=80
Exploring Operation: 78-32=46, Resulting Numbers: [48, 46]
Generated Node #0,2,2: 83:[48, 46] Operation: 78-32=46
Exploring Operation: 32+78=110, Resulting Numbers: [48, 110]
Generated Node #0,2,3: 83:[48, 110] Operation: 32+78=110
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 83:[78, 80], Operations: ['10+68=78', '48+32=80']
Exploring Operation: 78+80=158, Resulting Numbers: [158]
158,83 unequal: No Solution
Exploring Operation: 78*80=6240, Resulting Numbers: [6240]
6240,83 unequal: No Solution
Exploring Operation: 80-78=2, Resulting Numbers: [2]
2,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 83:[48, 110], Operations: ['10+68=78', '32+78=110']
Exploring Operation: 48+110=158, Resulting Numbers: [158]
158,83 unequal: No Solution
Exploring Operation: 48*110=5280, Resulting Numbers: [5280]
5280,83 unequal: No Solution
Exploring Operation: 110-48=62, Resulting Numbers: [62]
62,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 83:[78, 16], Operations: ['10+68=78', '48-32=16']
Exploring Operation: 78-16=62, Resulting Numbers: [62]
62,83 unequal: No Solution
Exploring Operation: 78+16=94, Resulting Numbers: [94]
94,83 unequal: No Solution
Exploring Operation: 78*16=1248, Resulting Numbers: [1248]
1248,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 83:[48, 46], Operations: ['10+68=78', '78-32=46']
Exploring Operation: 48*46=2208, Resulting Numbers: [2208]
2208,83 unequal: No Solution
Exploring Operation: 48+46=94, Resulting Numbers: [94]
94,83 unequal: No Solution
Exploring Operation: 48-46=2, Resulting Numbers: [2]
2,83 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: 83:[48, 68, 42], Operations: ['10+32=42']
Exploring Operation: 48+42=90, Resulting Numbers: [68, 90]
Generated Node #0,1,0: 83:[68, 90] Operation: 48+42=90
Exploring Operation: 68+42=110, Resulting Numbers: [48, 110]
Generated Node #0,1,1: 83:[48, 110] Operation: 68+42=110
Exploring Operation: 48+68=116, Resulting Numbers: [42, 116]
Generated Node #0,1,2: 83:[42, 116] Operation: 48+68=116
Exploring Operation: 48-42=6, Resulting Numbers: [68, 6]
Generated Node #0,1,3: 83:[68, 6] Operation: 48-42=6
Moving to Node #0,3
Current State: 83:[10, 68, 80], Operations: ['48+32=80']
Exploring Operation: 10+68=78, Resulting Numbers: [80, 78]
Generated Node #0,3,0: 83:[80, 78] Operation: 10+68=78
Exploring Operation: 10+80=90, Resulting Numbers: [68, 90]
Generated Node #0,3,1: 83:[68, 90] Operation: 10+80=90
Exploring Operation: 68-10=58, Resulting Numbers: [80, 58]
Generated Node #0,3,2: 83:[80, 58] Operation: 68-10=58
Exploring Operation: 80-10=70, Resulting Numbers: [68, 70]
Generated Node #0,3,3: 83:[68, 70] Operation: 80-10=70
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 83:[80, 78], Operations: ['48+32=80', '10+68=78']
Exploring Operation: 80*78=6240, Resulting Numbers: [6240]
6240,83 unequal: No Solution
Exploring Operation: 80-78=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Exploring Operation: 80+78=158, Resulting Numbers: [158]
158,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 83:[68, 90], Operations: ['48+32=80', '10+80=90']
Exploring Operation: 68+90=158, Resulting Numbers: [158]
158,83 unequal: No Solution
Exploring Operation: 90-68=22, Resulting Numbers: [22]
22,83 unequal: No Solution
Exploring Operation: 68*90=6120, Resulting Numbers: [6120]
6120,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 83:[80, 58], Operations: ['48+32=80', '68-10=58']
Exploring Operation: 80+58=138, Resulting Numbers: [138]
138,83 unequal: No Solution
Exploring Operation: 80*58=4640, Resulting Numbers: [4640]
4640,83 unequal: No Solution
Exploring Operation: 80-58=22, Resulting Numbers: [22]
22,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 83:[68, 70], Operations: ['48+32=80', '80-10=70']
Exploring Operation: 68*70=4760, Resulting Numbers: [4760]
4760,83 unequal: No Solution
Exploring Operation: 70-68=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Exploring Operation: 68+70=138, Resulting Numbers: [138]
138,83 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: 83:[68, 90], Operations: ['48+10=58', '32+58=90']
Exploring Operation: 68+90=158, Resulting Numbers: [158]
158,83 unequal: No Solution
Exploring Operation: 90-68=22, Resulting Numbers: [22]
22,83 unequal: No Solution
Exploring Operation: 68*90=6120, Resulting Numbers: [6120]
6120,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[68, 90], Operations: ['10+32=42', '48+42=90']
Exploring Operation: 90-68=22, Resulting Numbers: [22]
22,83 unequal: No Solution
Exploring Operation: 68+90=158, Resulting Numbers: [158]
158,83 unequal: No Solution
Exploring Operation: 68*90=6120, Resulting Numbers: [6120]
6120,83 unequal: No Solution
Moving to Node #0,0,3
Current State: 83:[58, 100], Operations: ['48+10=58', '32+68=100']
Exploring Operation: 100-58=42, Resulting Numbers: [42]
42,83 unequal: No Solution
Exploring Operation: 58*100=5800, Resulting Numbers: [5800]
5800,83 unequal: No Solution
Exploring Operation: 58+100=158, Resulting Numbers: [158]
158,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[48, 110], Operations: ['10+32=42', '68+42=110']
Exploring Operation: 48*110=5280, Resulting Numbers: [5280]
5280,83 unequal: No Solution
Exploring Operation: 110-48=62, Resulting Numbers: [62]
62,83 unequal: No Solution
Exploring Operation: 48+110=158, Resulting Numbers: [158]
158,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[68, 26], Operations: ['48+10=58', '58-32=26']
Exploring Operation: 68-26=42, Resulting Numbers: [42]
42,83 unequal: No Solution
Exploring Operation: 68+26=94, Resulting Numbers: [94]
94,83 unequal: No Solution
Exploring Operation: 68*26=1768, Resulting Numbers: [1768]
1768,83 unequal: No Solution
Moving to Node #0,0,2
Current State: 83:[58, 36], Operations: ['48+10=58', '68-32=36']
Exploring Operation: 58+36=94, Resulting Numbers: [94]
94,83 unequal: No Solution
Exploring Operation: 58*36=2088, Resulting Numbers: [2088]
2088,83 unequal: No Solution
Exploring Operation: 58-36=22, Resulting Numbers: [22]
22,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[42, 116], Operations: ['10+32=42', '48+68=116']
Exploring Operation: 42+116=158, Resulting Numbers: [158]
158,83 unequal: No Solution
Exploring Operation: 42*116=4872, Resulting Numbers: [4872]
4872,83 unequal: No Solution
Exploring Operation: 116-42=74, Resulting Numbers: [74]
74,83 unequal: No Solution
Moving to Node #0,1,3
Current State: 83:[68, 6], Operations: ['10+32=42', '48-42=6']
Exploring Operation: 68-6=62, Resulting Numbers: [62]
62,83 unequal: No Solution
Exploring Operation: 68+6=74, Resulting Numbers: [74]
74,83 unequal: No Solution
Exploring Operation: 68*6=408, Resulting Numbers: [408]
408,83 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
64,
5,
11,
16
] | 75 | [
"64/16=4",
"11+4=15",
"5*15=75"
] | Current State: 75:[64, 5, 11, 16], Operations: []
Exploring Operation: 64/16=4, Resulting Numbers: [5, 11, 4]
Generated Node #2: [5, 11, 4] from Operation: 64/16=4
Current State: 75:[5, 11, 4], Operations: ['64/16=4']
Exploring Operation: 11+4=15, Resulting Numbers: [5, 15]
Generated Node #3: [5, 15] from Operation: 11+4=15
Current State: 75:[5, 15], Operations: ['64/16=4', '11+4=15']
Exploring Operation: 5*15=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[64, 5, 11, 16], Operations: []
Exploring Operation: 64+11=75, Resulting Numbers: [5, 16, 75]
Generated Node #0,0: 75:[5, 16, 75] Operation: 64+11=75
Moving to Node #0,0
Current State: 75:[5, 16, 75], Operations: ['64+11=75']
Exploring Operation: 75/5=15, Resulting Numbers: [16, 15]
Generated Node #0,0,0: 75:[16, 15] Operation: 75/5=15
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 75:[16, 15], Operations: ['64+11=75', '75/5=15']
Exploring Operation: 16-15=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 |
[
6,
56,
17,
65
] | 11 | [
"17-6=11",
"56+65=121",
"121/11=11"
] | Current State: 11:[6, 56, 17, 65], Operations: []
Exploring Operation: 17-6=11, Resulting Numbers: [56, 65, 11]
Generated Node #2: [56, 65, 11] from Operation: 17-6=11
Current State: 11:[56, 65, 11], Operations: ['17-6=11']
Exploring Operation: 56+65=121, Resulting Numbers: [11, 121]
Generated Node #3: [11, 121] from Operation: 56+65=121
Current State: 11:[11, 121], Operations: ['17-6=11', '56+65=121']
Exploring Operation: 121/11=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[6, 56, 17, 65], Operations: []
Exploring Operation: 65-56=9, Resulting Numbers: [6, 17, 9]
Generated Node #0,0: 11:[6, 17, 9] Operation: 65-56=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[6, 17, 9], Operations: ['65-56=9']
Exploring Operation: 17-6=11, Resulting Numbers: [9, 11]
Generated Node #0,0,0: 11:[9, 11] Operation: 17-6=11
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 11:[9, 11], Operations: ['65-56=9', '17-6=11']
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,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
No solution found.
| 0 | hs_1 | sum_heuristic |
[
86,
68,
77,
26
] | 28 | [
"86+68=154",
"154/77=2",
"26+2=28"
] | Current State: 28:[86, 68, 77, 26], Operations: []
Exploring Operation: 86+68=154, Resulting Numbers: [77, 26, 154]
Generated Node #2: [77, 26, 154] from Operation: 86+68=154
Current State: 28:[77, 26, 154], Operations: ['86+68=154']
Exploring Operation: 154/77=2, Resulting Numbers: [26, 2]
Generated Node #3: [26, 2] from Operation: 154/77=2
Current State: 28:[26, 2], Operations: ['86+68=154', '154/77=2']
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[86, 68, 77, 26], Operations: []
Exploring Operation: 86-68=18, Resulting Numbers: [77, 26, 18]
Generated Node #0,0: 28:[77, 26, 18] Operation: 86-68=18
Exploring Operation: 86-77=9, Resulting Numbers: [68, 26, 9]
Generated Node #0,1: 28:[68, 26, 9] Operation: 86-77=9
Exploring Operation: 77-68=9, Resulting Numbers: [86, 26, 9]
Generated Node #0,2: 28:[86, 26, 9] Operation: 77-68=9
Moving to Node #0,1
Current State: 28:[68, 26, 9], Operations: ['86-77=9']
Exploring Operation: 68-26=42, Resulting Numbers: [9, 42]
Generated Node #0,1,0: 28:[9, 42] Operation: 68-26=42
Exploring Operation: 26-9=17, Resulting Numbers: [68, 17]
Generated Node #0,1,1: 28:[68, 17] Operation: 26-9=17
Exploring Operation: 68-9=59, Resulting Numbers: [26, 59]
Generated Node #0,1,2: 28:[26, 59] Operation: 68-9=59
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 28:[9, 42], Operations: ['86-77=9', '68-26=42']
Exploring Operation: 9*42=378, Resulting Numbers: [378]
378,28 unequal: No Solution
Exploring Operation: 9+42=51, Resulting Numbers: [51]
51,28 unequal: No Solution
Exploring Operation: 42-9=33, Resulting Numbers: [33]
33,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 28:[26, 59], Operations: ['86-77=9', '68-9=59']
Exploring Operation: 26+59=85, Resulting Numbers: [85]
85,28 unequal: No Solution
Exploring Operation: 59-26=33, Resulting Numbers: [33]
33,28 unequal: No Solution
Exploring Operation: 26*59=1534, Resulting Numbers: [1534]
1534,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 28:[68, 17], Operations: ['86-77=9', '26-9=17']
Exploring Operation: 68/17=4, Resulting Numbers: [4]
4,28 unequal: No Solution
Exploring Operation: 68+17=85, Resulting Numbers: [85]
85,28 unequal: No Solution
Exploring Operation: 68-17=51, Resulting Numbers: [51]
51,28 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: 28:[77, 26, 18], Operations: ['86-68=18']
Exploring Operation: 77-18=59, Resulting Numbers: [26, 59]
Generated Node #0,0,0: 28:[26, 59] Operation: 77-18=59
Exploring Operation: 26-18=8, Resulting Numbers: [77, 8]
Generated Node #0,0,1: 28:[77, 8] Operation: 26-18=8
Exploring Operation: 77-26=51, Resulting Numbers: [18, 51]
Generated Node #0,0,2: 28:[18, 51] Operation: 77-26=51
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 28:[18, 51], Operations: ['86-68=18', '77-26=51']
Exploring Operation: 18*51=918, Resulting Numbers: [918]
918,28 unequal: No Solution
Exploring Operation: 51-18=33, Resulting Numbers: [33]
33,28 unequal: No Solution
Exploring Operation: 18+51=69, Resulting Numbers: [69]
69,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 28:[26, 59], Operations: ['86-68=18', '77-18=59']
Exploring Operation: 59-26=33, Resulting Numbers: [33]
33,28 unequal: No Solution
Exploring Operation: 26*59=1534, Resulting Numbers: [1534]
1534,28 unequal: No Solution
Exploring Operation: 26+59=85, Resulting Numbers: [85]
85,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 28:[77, 8], Operations: ['86-68=18', '26-18=8']
Exploring Operation: 77*8=616, Resulting Numbers: [616]
616,28 unequal: No Solution
Exploring Operation: 77-8=69, Resulting Numbers: [69]
69,28 unequal: No Solution
Exploring Operation: 77+8=85, Resulting Numbers: [85]
85,28 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: 28:[86, 26, 9], Operations: ['77-68=9']
Exploring Operation: 86-9=77, Resulting Numbers: [26, 77]
Generated Node #0,2,0: 28:[26, 77] Operation: 86-9=77
Exploring Operation: 86-26=60, Resulting Numbers: [9, 60]
Generated Node #0,2,1: 28:[9, 60] Operation: 86-26=60
Exploring Operation: 26-9=17, Resulting Numbers: [86, 17]
Generated Node #0,2,2: 28:[86, 17] Operation: 26-9=17
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 28:[9, 60], Operations: ['77-68=9', '86-26=60']
Exploring Operation: 9*60=540, Resulting Numbers: [540]
540,28 unequal: No Solution
Exploring Operation: 9+60=69, Resulting Numbers: [69]
69,28 unequal: No Solution
Exploring Operation: 60-9=51, Resulting Numbers: [51]
51,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 28:[26, 77], Operations: ['77-68=9', '86-9=77']
Exploring Operation: 26+77=103, Resulting Numbers: [103]
103,28 unequal: No Solution
Exploring Operation: 26*77=2002, Resulting Numbers: [2002]
2002,28 unequal: No Solution
Exploring Operation: 77-26=51, Resulting Numbers: [51]
51,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 28:[86, 17], Operations: ['77-68=9', '26-9=17']
Exploring Operation: 86+17=103, Resulting Numbers: [103]
103,28 unequal: No Solution
Exploring Operation: 86-17=69, Resulting Numbers: [69]
69,28 unequal: No Solution
Exploring Operation: 86*17=1462, Resulting Numbers: [1462]
1462,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
80,
71,
10,
80
] | 80 | [
"80-71=9",
"10-9=1",
"80*1=80"
] | Current State: 80:[80, 71, 10, 80], Operations: []
Exploring Operation: 80-71=9, Resulting Numbers: [10, 9]
Generated Node #2: [10, 9] from Operation: 80-71=9
Current State: 80:[10, 9], Operations: ['80-71=9']
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,80 equal: Goal Reached
Exploring Operation: 80*1=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[80, 71, 10, 80], Operations: []
Exploring Operation: 71+10=81, Resulting Numbers: [80, 80, 81]
Generated Node #0,0: 80:[80, 80, 81] Operation: 71+10=81
Exploring Operation: 80-71=9, Resulting Numbers: [80, 10, 9]
Generated Node #0,1: 80:[80, 10, 9] Operation: 80-71=9
Exploring Operation: 80/10=8, Resulting Numbers: [71, 80, 8]
Generated Node #0,2: 80:[71, 80, 8] Operation: 80/10=8
Exploring Operation: 80-71=9, Resulting Numbers: [10, 80, 9]
Generated Node #0,3: 80:[10, 80, 9] Operation: 80-71=9
Exploring Operation: 80/10=8, Resulting Numbers: [80, 71, 8]
Generated Node #0,4: 80:[80, 71, 8] Operation: 80/10=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[80, 80, 81], Operations: ['71+10=81']
Exploring Operation: 80-80=0, Resulting Numbers: [81, 0]
Generated Node #0,0,0: 80:[81, 0] Operation: 80-80=0
Exploring Operation: 81-80=1, Resulting Numbers: [80, 1]
Generated Node #0,0,1: 80:[80, 1] Operation: 81-80=1
Exploring Operation: 80/80=1, Resulting Numbers: [81, 1]
Generated Node #0,0,2: 80:[81, 1] Operation: 80/80=1
Exploring Operation: 81-80=1, Resulting Numbers: [80, 1]
Generated Node #0,0,3: 80:[80, 1] Operation: 81-80=1
Exploring Operation: 80+80=160, Resulting Numbers: [81, 160]
Generated Node #0,0,4: 80:[81, 160] Operation: 80+80=160
Moving to Node #0,0,1
Current State: 80:[80, 1], Operations: ['71+10=81', '81-80=1']
Exploring Operation: 80/1=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[80, 71, 10, 80], Operations: []
Exploring Operation: 71+10=81, Resulting Numbers: [80, 80, 81]
Generated Node #0,0: 80:[80, 80, 81] Operation: 71+10=81
Moving to Node #0,0
Current State: 80:[80, 80, 81], Operations: ['71+10=81']
Exploring Operation: 81-80=1, Resulting Numbers: [80, 1]
Generated Node #0,0,1: 80:[80, 1] Operation: 81-80=1
Moving to Node #0,0,1
Current State: 80:[80, 1], Operations: ['71+10=81', '81-80=1']
Exploring Operation: 80/1=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
80,
6,
38,
48
] | 55 | [
"80-38=42",
"42/6=7",
"48+7=55"
] | Current State: 55:[80, 6, 38, 48], Operations: []
Exploring Operation: 80-38=42, Resulting Numbers: [6, 48, 42]
Generated Node #2: [6, 48, 42] from Operation: 80-38=42
Current State: 55:[6, 48, 42], Operations: ['80-38=42']
Exploring Operation: 42/6=7, Resulting Numbers: [48, 7]
Generated Node #3: [48, 7] from Operation: 42/6=7
Current State: 55:[48, 7], Operations: ['80-38=42', '42/6=7']
Exploring Operation: 48+7=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[80, 6, 38, 48], Operations: []
Exploring Operation: 48-38=10, Resulting Numbers: [80, 6, 10]
Generated Node #0,0: 55:[80, 6, 10] Operation: 48-38=10
Exploring Operation: 80-38=42, Resulting Numbers: [6, 48, 42]
Generated Node #0,1: 55:[6, 48, 42] Operation: 80-38=42
Exploring Operation: 80-48=32, Resulting Numbers: [6, 38, 32]
Generated Node #0,2: 55:[6, 38, 32] Operation: 80-48=32
Moving to Node #0,1
Current State: 55:[6, 48, 42], Operations: ['80-38=42']
Exploring Operation: 6+48=54, Resulting Numbers: [42, 54]
Generated Node #0,1,0: 55:[42, 54] Operation: 6+48=54
Exploring Operation: 42/6=7, Resulting Numbers: [48, 7]
Generated Node #0,1,1: 55:[48, 7] Operation: 42/6=7
Exploring Operation: 48-42=6, Resulting Numbers: [6, 6]
Generated Node #0,1,2: 55:[6, 6] Operation: 48-42=6
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 55:[6, 6], Operations: ['80-38=42', '48-42=6']
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,55 unequal: No Solution
Exploring Operation: 6-6=0, Resulting Numbers: [0]
0,55 unequal: No Solution
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 55:[48, 7], Operations: ['80-38=42', '42/6=7']
Exploring Operation: 48*7=336, Resulting Numbers: [336]
336,55 unequal: No Solution
Exploring Operation: 48+7=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[80, 6, 38, 48], Operations: []
Exploring Operation: 80-38=42, Resulting Numbers: [6, 48, 42]
Generated Node #0,1: 55:[6, 48, 42] Operation: 80-38=42
Moving to Node #0,1
Current State: 55:[6, 48, 42], Operations: ['80-38=42']
Exploring Operation: 42/6=7, Resulting Numbers: [48, 7]
Generated Node #0,1,1: 55:[48, 7] Operation: 42/6=7
Moving to Node #0,1,1
Current State: 55:[48, 7], Operations: ['80-38=42', '42/6=7']
Exploring Operation: 48+7=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
15,
69,
66,
53
] | 97 | [
"15+69=84",
"66-53=13",
"84+13=97"
] | Current State: 97:[15, 69, 66, 53], Operations: []
Exploring Operation: 15+69=84, Resulting Numbers: [66, 53, 84]
Generated Node #2: [66, 53, 84] from Operation: 15+69=84
Current State: 97:[66, 53, 84], Operations: ['15+69=84']
Exploring Operation: 66-53=13, Resulting Numbers: [84, 13]
Generated Node #3: [84, 13] from Operation: 66-53=13
Current State: 97:[84, 13], Operations: ['15+69=84', '66-53=13']
Exploring Operation: 84+13=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[15, 69, 66, 53], Operations: []
Exploring Operation: 15+69=84, Resulting Numbers: [66, 53, 84]
Generated Node #0,0: 97:[66, 53, 84] Operation: 15+69=84
Exploring Operation: 15+66=81, Resulting Numbers: [69, 53, 81]
Generated Node #0,1: 97:[69, 53, 81] Operation: 15+66=81
Exploring Operation: 15+53=68, Resulting Numbers: [69, 66, 68]
Generated Node #0,2: 97:[69, 66, 68] Operation: 15+53=68
Exploring Operation: 69-15=54, Resulting Numbers: [66, 53, 54]
Generated Node #0,3: 97:[66, 53, 54] Operation: 69-15=54
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[66, 53, 84], Operations: ['15+69=84']
Exploring Operation: 66+84=150, Resulting Numbers: [53, 150]
Generated Node #0,0,0: 97:[53, 150] Operation: 66+84=150
Exploring Operation: 53+84=137, Resulting Numbers: [66, 137]
Generated Node #0,0,1: 97:[66, 137] Operation: 53+84=137
Exploring Operation: 66+53=119, Resulting Numbers: [84, 119]
Generated Node #0,0,2: 97:[84, 119] Operation: 66+53=119
Exploring Operation: 66-53=13, Resulting Numbers: [84, 13]
Generated Node #0,0,3: 97:[84, 13] Operation: 66-53=13
Moving to Node #0,0,2
Current State: 97:[84, 119], Operations: ['15+69=84', '66+53=119']
Exploring Operation: 84+119=203, Resulting Numbers: [203]
203,97 unequal: No Solution
Exploring Operation: 84*119=9996, Resulting Numbers: [9996]
9996,97 unequal: No Solution
Exploring Operation: 119-84=35, Resulting Numbers: [35]
35,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[66, 137], Operations: ['15+69=84', '53+84=137']
Exploring Operation: 137-66=71, Resulting Numbers: [71]
71,97 unequal: No Solution
Exploring Operation: 66+137=203, Resulting Numbers: [203]
203,97 unequal: No Solution
Exploring Operation: 66*137=9042, Resulting Numbers: [9042]
9042,97 unequal: No Solution
Moving to Node #0,0,3
Current State: 97:[84, 13], Operations: ['15+69=84', '66-53=13']
Exploring Operation: 84*13=1092, Resulting Numbers: [1092]
1092,97 unequal: No Solution
Exploring Operation: 84+13=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[15, 69, 66, 53], Operations: []
Exploring Operation: 15+69=84, Resulting Numbers: [66, 53, 84]
Generated Node #0,0: 97:[66, 53, 84] Operation: 15+69=84
Moving to Node #0,0
Current State: 97:[66, 53, 84], Operations: ['15+69=84']
Exploring Operation: 66-53=13, Resulting Numbers: [84, 13]
Generated Node #0,0,3: 97:[84, 13] Operation: 66-53=13
Moving to Node #0,0,3
Current State: 97:[84, 13], Operations: ['15+69=84', '66-53=13']
Exploring Operation: 84+13=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | mult_heuristic |
[
31,
39,
22,
73
] | 19 | [
"31+39=70",
"73-22=51",
"70-51=19"
] | Current State: 19:[31, 39, 22, 73], Operations: []
Exploring Operation: 31+39=70, Resulting Numbers: [22, 73, 70]
Generated Node #2: [22, 73, 70] from Operation: 31+39=70
Current State: 19:[22, 73, 70], Operations: ['31+39=70']
Exploring Operation: 73-22=51, Resulting Numbers: [70, 51]
Generated Node #3: [70, 51] from Operation: 73-22=51
Current State: 19:[70, 51], Operations: ['31+39=70', '73-22=51']
Exploring Operation: 70-51=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[31, 39, 22, 73], Operations: []
Exploring Operation: 73-39=34, Resulting Numbers: [31, 22, 34]
Generated Node #0,0: 19:[31, 22, 34] Operation: 73-39=34
Exploring Operation: 39-31=8, Resulting Numbers: [22, 73, 8]
Generated Node #0,1: 19:[22, 73, 8] Operation: 39-31=8
Exploring Operation: 73-31=42, Resulting Numbers: [39, 22, 42]
Generated Node #0,2: 19:[39, 22, 42] Operation: 73-31=42
Exploring Operation: 73-22=51, Resulting Numbers: [31, 39, 51]
Generated Node #0,3: 19:[31, 39, 51] Operation: 73-22=51
Moving to Node #0,0
Current State: 19:[31, 22, 34], Operations: ['73-39=34']
Exploring Operation: 34-31=3, Resulting Numbers: [22, 3]
Generated Node #0,0,0: 19:[22, 3] Operation: 34-31=3
Exploring Operation: 34-22=12, Resulting Numbers: [31, 12]
Generated Node #0,0,1: 19:[31, 12] Operation: 34-22=12
Exploring Operation: 31+22=53, Resulting Numbers: [34, 53]
Generated Node #0,0,2: 19:[34, 53] Operation: 31+22=53
Exploring Operation: 31-22=9, Resulting Numbers: [34, 9]
Generated Node #0,0,3: 19:[34, 9] Operation: 31-22=9
Moving to Node #0,2
Current State: 19:[39, 22, 42], Operations: ['73-31=42']
Exploring Operation: 42-22=20, Resulting Numbers: [39, 20]
Generated Node #0,2,0: 19:[39, 20] Operation: 42-22=20
Exploring Operation: 39-22=17, Resulting Numbers: [42, 17]
Generated Node #0,2,1: 19:[42, 17] Operation: 39-22=17
Exploring Operation: 42-39=3, Resulting Numbers: [22, 3]
Generated Node #0,2,2: 19:[22, 3] Operation: 42-39=3
Exploring Operation: 39+22=61, Resulting Numbers: [42, 61]
Generated Node #0,2,3: 19:[42, 61] Operation: 39+22=61
Moving to Node #0,3
Current State: 19:[31, 39, 51], Operations: ['73-22=51']
Exploring Operation: 51-39=12, Resulting Numbers: [31, 12]
Generated Node #0,3,0: 19:[31, 12] Operation: 51-39=12
Exploring Operation: 31+39=70, Resulting Numbers: [51, 70]
Generated Node #0,3,1: 19:[51, 70] Operation: 31+39=70
Exploring Operation: 51-31=20, Resulting Numbers: [39, 20]
Generated Node #0,3,2: 19:[39, 20] Operation: 51-31=20
Exploring Operation: 39-31=8, Resulting Numbers: [51, 8]
Generated Node #0,3,3: 19:[51, 8] Operation: 39-31=8
Moving to Node #0,1
Current State: 19:[22, 73, 8], Operations: ['39-31=8']
Exploring Operation: 73-8=65, Resulting Numbers: [22, 65]
Generated Node #0,1,0: 19:[22, 65] Operation: 73-8=65
Exploring Operation: 73-22=51, Resulting Numbers: [8, 51]
Generated Node #0,1,1: 19:[8, 51] Operation: 73-22=51
Exploring Operation: 22-8=14, Resulting Numbers: [73, 14]
Generated Node #0,1,2: 19:[73, 14] Operation: 22-8=14
Exploring Operation: 22+8=30, Resulting Numbers: [73, 30]
Generated Node #0,1,3: 19:[73, 30] Operation: 22+8=30
Moving to Node #0,0,0
Current State: 19:[22, 3], Operations: ['73-39=34', '34-31=3']
Exploring Operation: 22+3=25, Resulting Numbers: [25]
25,19 unequal: No Solution
Exploring Operation: 22*3=66, Resulting Numbers: [66]
66,19 unequal: No Solution
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[31, 39, 22, 73], Operations: []
Exploring Operation: 73-39=34, Resulting Numbers: [31, 22, 34]
Generated Node #0,0: 19:[31, 22, 34] Operation: 73-39=34
Moving to Node #0,0
Current State: 19:[31, 22, 34], Operations: ['73-39=34']
Exploring Operation: 34-31=3, Resulting Numbers: [22, 3]
Generated Node #0,0,0: 19:[22, 3] Operation: 34-31=3
Moving to Node #0,0,0
Current State: 19:[22, 3], Operations: ['73-39=34', '34-31=3']
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 0.976563 | hs_4 | mult_heuristic |
[
87,
3,
79,
86
] | 12 | [
"87-3=84",
"86-79=7",
"84/7=12"
] | Current State: 12:[87, 3, 79, 86], Operations: []
Exploring Operation: 87-3=84, Resulting Numbers: [79, 86, 84]
Generated Node #2: [79, 86, 84] from Operation: 87-3=84
Current State: 12:[79, 86, 84], Operations: ['87-3=84']
Exploring Operation: 86-79=7, Resulting Numbers: [84, 7]
Generated Node #3: [84, 7] from Operation: 86-79=7
Current State: 12:[84, 7], Operations: ['87-3=84', '86-79=7']
Exploring Operation: 84/7=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[87, 3, 79, 86], Operations: []
Exploring Operation: 87-3=84, Resulting Numbers: [79, 86, 84]
Generated Node #0,0: 12:[79, 86, 84] Operation: 87-3=84
Exploring Operation: 87/3=29, Resulting Numbers: [79, 86, 29]
Generated Node #0,1: 12:[79, 86, 29] Operation: 87/3=29
Exploring Operation: 87-86=1, Resulting Numbers: [3, 79, 1]
Generated Node #0,2: 12:[3, 79, 1] Operation: 87-86=1
Exploring Operation: 87-79=8, Resulting Numbers: [3, 86, 8]
Generated Node #0,3: 12:[3, 86, 8] Operation: 87-79=8
Exploring Operation: 86-79=7, Resulting Numbers: [87, 3, 7]
Generated Node #0,4: 12:[87, 3, 7] Operation: 86-79=7
Moving to Node #0,2
Current State: 12:[3, 79, 1], Operations: ['87-86=1']
Exploring Operation: 79-1=78, Resulting Numbers: [3, 78]
Generated Node #0,2,0: 12:[3, 78] Operation: 79-1=78
Exploring Operation: 3+1=4, Resulting Numbers: [79, 4]
Generated Node #0,2,1: 12:[79, 4] Operation: 3+1=4
Exploring Operation: 3-1=2, Resulting Numbers: [79, 2]
Generated Node #0,2,2: 12:[79, 2] Operation: 3-1=2
Exploring Operation: 79-3=76, Resulting Numbers: [1, 76]
Generated Node #0,2,3: 12:[1, 76] Operation: 79-3=76
Exploring Operation: 3*1=3, Resulting Numbers: [79, 3]
Generated Node #0,2,4: 12:[79, 3] Operation: 3*1=3
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 12:[1, 76], Operations: ['87-86=1', '79-3=76']
Exploring Operation: 1*76=76, Resulting Numbers: [76]
76,12 unequal: No Solution
Exploring Operation: 1+76=77, Resulting Numbers: [77]
77,12 unequal: No Solution
Exploring Operation: 76-1=75, Resulting Numbers: [75]
75,12 unequal: No Solution
Exploring Operation: 76/1=76, Resulting Numbers: [76]
76,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 12:[3, 78], Operations: ['87-86=1', '79-1=78']
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,12 unequal: No Solution
Exploring Operation: 3*78=234, Resulting Numbers: [234]
234,12 unequal: No Solution
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,12 unequal: No Solution
Exploring Operation: 3+78=81, Resulting Numbers: [81]
81,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 12:[79, 4], Operations: ['87-86=1', '3+1=4']
Exploring Operation: 79-4=75, Resulting Numbers: [75]
75,12 unequal: No Solution
Exploring Operation: 79*4=316, Resulting Numbers: [316]
316,12 unequal: No Solution
Exploring Operation: 79+4=83, Resulting Numbers: [83]
83,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 12:[79, 2], Operations: ['87-86=1', '3-1=2']
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,12 unequal: No Solution
Exploring Operation: 79+2=81, Resulting Numbers: [81]
81,12 unequal: No Solution
Exploring Operation: 79*2=158, Resulting Numbers: [158]
158,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 12:[79, 3], Operations: ['87-86=1', '3*1=3']
Exploring Operation: 79-3=76, Resulting Numbers: [76]
76,12 unequal: No Solution
Exploring Operation: 79+3=82, Resulting Numbers: [82]
82,12 unequal: No Solution
Exploring Operation: 79*3=237, Resulting Numbers: [237]
237,12 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: 12:[87, 3, 7], Operations: ['86-79=7']
Exploring Operation: 3+7=10, Resulting Numbers: [87, 10]
Generated Node #0,4,0: 12:[87, 10] Operation: 3+7=10
Exploring Operation: 87/3=29, Resulting Numbers: [7, 29]
Generated Node #0,4,1: 12:[7, 29] Operation: 87/3=29
Exploring Operation: 87-7=80, Resulting Numbers: [3, 80]
Generated Node #0,4,2: 12:[3, 80] Operation: 87-7=80
Exploring Operation: 7-3=4, Resulting Numbers: [87, 4]
Generated Node #0,4,3: 12:[87, 4] Operation: 7-3=4
Exploring Operation: 87-3=84, Resulting Numbers: [7, 84]
Generated Node #0,4,4: 12:[7, 84] Operation: 87-3=84
Moving to Node #0,3
Current State: 12:[3, 86, 8], Operations: ['87-79=8']
Exploring Operation: 3+86=89, Resulting Numbers: [8, 89]
Generated Node #0,3,0: 12:[8, 89] Operation: 3+86=89
Exploring Operation: 3+8=11, Resulting Numbers: [86, 11]
Generated Node #0,3,1: 12:[86, 11] Operation: 3+8=11
Exploring Operation: 86-8=78, Resulting Numbers: [3, 78]
Generated Node #0,3,2: 12:[3, 78] Operation: 86-8=78
Exploring Operation: 86-3=83, Resulting Numbers: [8, 83]
Generated Node #0,3,3: 12:[8, 83] Operation: 86-3=83
Exploring Operation: 8-3=5, Resulting Numbers: [86, 5]
Generated Node #0,3,4: 12:[86, 5] Operation: 8-3=5
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 12:[3, 78], Operations: ['87-79=8', '86-8=78']
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,12 unequal: No Solution
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,12 unequal: No Solution
Exploring Operation: 3*78=234, Resulting Numbers: [234]
234,12 unequal: No Solution
Exploring Operation: 3+78=81, Resulting Numbers: [81]
81,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 12:[8, 83], Operations: ['87-79=8', '86-3=83']
Exploring Operation: 8*83=664, Resulting Numbers: [664]
664,12 unequal: No Solution
Exploring Operation: 8+83=91, Resulting Numbers: [91]
91,12 unequal: No Solution
Exploring Operation: 83-8=75, Resulting Numbers: [75]
75,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 12:[86, 11], Operations: ['87-79=8', '3+8=11']
Exploring Operation: 86*11=946, Resulting Numbers: [946]
946,12 unequal: No Solution
Exploring Operation: 86-11=75, Resulting Numbers: [75]
75,12 unequal: No Solution
Exploring Operation: 86+11=97, Resulting Numbers: [97]
97,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 12:[86, 5], Operations: ['87-79=8', '8-3=5']
Exploring Operation: 86-5=81, Resulting Numbers: [81]
81,12 unequal: No Solution
Exploring Operation: 86*5=430, Resulting Numbers: [430]
430,12 unequal: No Solution
Exploring Operation: 86+5=91, Resulting Numbers: [91]
91,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 12:[8, 89], Operations: ['87-79=8', '3+86=89']
Exploring Operation: 89-8=81, Resulting Numbers: [81]
81,12 unequal: No Solution
Exploring Operation: 8*89=712, Resulting Numbers: [712]
712,12 unequal: No Solution
Exploring Operation: 8+89=97, Resulting Numbers: [97]
97,12 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: 12:[79, 86, 29], Operations: ['87/3=29']
Exploring Operation: 79+29=108, Resulting Numbers: [86, 108]
Generated Node #0,1,0: 12:[86, 108] Operation: 79+29=108
Exploring Operation: 79+86=165, Resulting Numbers: [29, 165]
Generated Node #0,1,1: 12:[29, 165] Operation: 79+86=165
Exploring Operation: 79-29=50, Resulting Numbers: [86, 50]
Generated Node #0,1,2: 12:[86, 50] Operation: 79-29=50
Exploring Operation: 86-79=7, Resulting Numbers: [29, 7]
Generated Node #0,1,3: 12:[29, 7] Operation: 86-79=7
Exploring Operation: 86-29=57, Resulting Numbers: [79, 57]
Generated Node #0,1,4: 12:[79, 57] Operation: 86-29=57
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 12:[29, 7], Operations: ['87/3=29', '86-79=7']
Exploring Operation: 29*7=203, Resulting Numbers: [203]
203,12 unequal: No Solution
Exploring Operation: 29+7=36, Resulting Numbers: [36]
36,12 unequal: No Solution
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 12:[86, 50], Operations: ['87/3=29', '79-29=50']
Exploring Operation: 86-50=36, Resulting Numbers: [36]
36,12 unequal: No Solution
Exploring Operation: 86*50=4300, Resulting Numbers: [4300]
4300,12 unequal: No Solution
Exploring Operation: 86+50=136, Resulting Numbers: [136]
136,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 12:[79, 57], Operations: ['87/3=29', '86-29=57']
Exploring Operation: 79*57=4503, Resulting Numbers: [4503]
4503,12 unequal: No Solution
Exploring Operation: 79+57=136, Resulting Numbers: [136]
136,12 unequal: No Solution
Exploring Operation: 79-57=22, Resulting Numbers: [22]
22,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 12:[86, 108], Operations: ['87/3=29', '79+29=108']
Exploring Operation: 86*108=9288, Resulting Numbers: [9288]
9288,12 unequal: No Solution
Exploring Operation: 86+108=194, Resulting Numbers: [194]
194,12 unequal: No Solution
Exploring Operation: 108-86=22, Resulting Numbers: [22]
22,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 12:[29, 165], Operations: ['87/3=29', '79+86=165']
Exploring Operation: 29+165=194, Resulting Numbers: [194]
194,12 unequal: No Solution
Exploring Operation: 165-29=136, Resulting Numbers: [136]
136,12 unequal: No Solution
Exploring Operation: 29*165=4785, Resulting Numbers: [4785]
4785,12 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: 12:[79, 86, 84], Operations: ['87-3=84']
Exploring Operation: 79+86=165, Resulting Numbers: [84, 165]
Generated Node #0,0,0: 12:[84, 165] Operation: 79+86=165
Exploring Operation: 79+84=163, Resulting Numbers: [86, 163]
Generated Node #0,0,1: 12:[86, 163] Operation: 79+84=163
Exploring Operation: 86-79=7, Resulting Numbers: [84, 7]
Generated Node #0,0,2: 12:[84, 7] Operation: 86-79=7
Exploring Operation: 86-84=2, Resulting Numbers: [79, 2]
Generated Node #0,0,3: 12:[79, 2] Operation: 86-84=2
Exploring Operation: 84-79=5, Resulting Numbers: [86, 5]
Generated Node #0,0,4: 12:[86, 5] Operation: 84-79=5
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 12:[79, 2], Operations: ['87-3=84', '86-84=2']
Exploring Operation: 79+2=81, Resulting Numbers: [81]
81,12 unequal: No Solution
Exploring Operation: 79*2=158, Resulting Numbers: [158]
158,12 unequal: No Solution
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 12:[84, 7], Operations: ['87-3=84', '86-79=7']
Exploring Operation: 84-7=77, Resulting Numbers: [77]
77,12 unequal: No Solution
Exploring Operation: 84*7=588, Resulting Numbers: [588]
588,12 unequal: No Solution
Exploring Operation: 84+7=91, Resulting Numbers: [91]
91,12 unequal: No Solution
Exploring Operation: 84/7=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[87, 3, 79, 86], Operations: []
Exploring Operation: 87-3=84, Resulting Numbers: [79, 86, 84]
Generated Node #0,0: 12:[79, 86, 84] Operation: 87-3=84
Moving to Node #0,0
Current State: 12:[79, 86, 84], Operations: ['87-3=84']
Exploring Operation: 86-79=7, Resulting Numbers: [84, 7]
Generated Node #0,0,2: 12:[84, 7] Operation: 86-79=7
Moving to Node #0,0,2
Current State: 12:[84, 7], Operations: ['87-3=84', '86-79=7']
Exploring Operation: 84/7=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.922743 | hs_5 | sum_heuristic |
[
80,
93,
87,
73
] | 83 | [
"93-73=20",
"80/20=4",
"87-4=83"
] | Current State: 83:[80, 93, 87, 73], Operations: []
Exploring Operation: 93-73=20, Resulting Numbers: [80, 87, 20]
Generated Node #2: [80, 87, 20] from Operation: 93-73=20
Current State: 83:[80, 87, 20], Operations: ['93-73=20']
Exploring Operation: 80/20=4, Resulting Numbers: [87, 4]
Generated Node #3: [87, 4] from Operation: 80/20=4
Current State: 83:[87, 4], Operations: ['93-73=20', '80/20=4']
Exploring Operation: 87-4=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[80, 93, 87, 73], Operations: []
Exploring Operation: 80+73=153, Resulting Numbers: [93, 87, 153]
Generated Node #0,0: 83:[93, 87, 153] Operation: 80+73=153
Exploring Operation: 93-73=20, Resulting Numbers: [80, 87, 20]
Generated Node #0,1: 83:[80, 87, 20] Operation: 93-73=20
Exploring Operation: 87-73=14, Resulting Numbers: [80, 93, 14]
Generated Node #0,2: 83:[80, 93, 14] Operation: 87-73=14
Exploring Operation: 93-80=13, Resulting Numbers: [87, 73, 13]
Generated Node #0,3: 83:[87, 73, 13] Operation: 93-80=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[80, 87, 20], Operations: ['93-73=20']
Exploring Operation: 80-20=60, Resulting Numbers: [87, 60]
Generated Node #0,1,0: 83:[87, 60] Operation: 80-20=60
Exploring Operation: 87-20=67, Resulting Numbers: [80, 67]
Generated Node #0,1,1: 83:[80, 67] Operation: 87-20=67
Exploring Operation: 87+20=107, Resulting Numbers: [80, 107]
Generated Node #0,1,2: 83:[80, 107] Operation: 87+20=107
Exploring Operation: 80+20=100, Resulting Numbers: [87, 100]
Generated Node #0,1,3: 83:[87, 100] Operation: 80+20=100
Moving to Node #0,1,1
Current State: 83:[80, 67], Operations: ['93-73=20', '87-20=67']
Exploring Operation: 80+67=147, Resulting Numbers: [147]
147,83 unequal: No Solution
Exploring Operation: 80-67=13, Resulting Numbers: [13]
13,83 unequal: No Solution
Exploring Operation: 80*67=5360, Resulting Numbers: [5360]
5360,83 unequal: No Solution
Moving to Node #0,1,3
Current State: 83:[87, 100], Operations: ['93-73=20', '80+20=100']
Exploring Operation: 100-87=13, Resulting Numbers: [13]
13,83 unequal: No Solution
Exploring Operation: 87+100=187, Resulting Numbers: [187]
187,83 unequal: No Solution
Exploring Operation: 87*100=8700, Resulting Numbers: [8700]
8700,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[80, 107], Operations: ['93-73=20', '87+20=107']
Exploring Operation: 107-80=27, Resulting Numbers: [27]
27,83 unequal: No Solution
Exploring Operation: 80*107=8560, Resulting Numbers: [8560]
8560,83 unequal: No Solution
Exploring Operation: 80+107=187, Resulting Numbers: [187]
187,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[87, 60], Operations: ['93-73=20', '80-20=60']
Exploring Operation: 87+60=147, Resulting Numbers: [147]
147,83 unequal: No Solution
Exploring Operation: 87-60=27, Resulting Numbers: [27]
27,83 unequal: No Solution
Exploring Operation: 87*60=5220, Resulting Numbers: [5220]
5220,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 83:[80, 93, 14], Operations: ['87-73=14']
Exploring Operation: 93-14=79, Resulting Numbers: [80, 79]
Generated Node #0,2,0: 83:[80, 79] Operation: 93-14=79
Exploring Operation: 93+14=107, Resulting Numbers: [80, 107]
Generated Node #0,2,1: 83:[80, 107] Operation: 93+14=107
Exploring Operation: 80-14=66, Resulting Numbers: [93, 66]
Generated Node #0,2,2: 83:[93, 66] Operation: 80-14=66
Exploring Operation: 80+14=94, Resulting Numbers: [93, 94]
Generated Node #0,2,3: 83:[93, 94] Operation: 80+14=94
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 83:[80, 79], Operations: ['87-73=14', '93-14=79']
Exploring Operation: 80-79=1, Resulting Numbers: [1]
1,83 unequal: No Solution
Exploring Operation: 80*79=6320, Resulting Numbers: [6320]
6320,83 unequal: No Solution
Exploring Operation: 80+79=159, Resulting Numbers: [159]
159,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,3
Current State: 83:[93, 94], Operations: ['87-73=14', '80+14=94']
Exploring Operation: 93*94=8742, Resulting Numbers: [8742]
8742,83 unequal: No Solution
Exploring Operation: 94-93=1, Resulting Numbers: [1]
1,83 unequal: No Solution
Exploring Operation: 93+94=187, Resulting Numbers: [187]
187,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:[80, 107], Operations: ['87-73=14', '93+14=107']
Exploring Operation: 107-80=27, Resulting Numbers: [27]
27,83 unequal: No Solution
Exploring Operation: 80*107=8560, Resulting Numbers: [8560]
8560,83 unequal: No Solution
Exploring Operation: 80+107=187, Resulting Numbers: [187]
187,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:[93, 66], Operations: ['87-73=14', '80-14=66']
Exploring Operation: 93+66=159, Resulting Numbers: [159]
159,83 unequal: No Solution
Exploring Operation: 93-66=27, Resulting Numbers: [27]
27,83 unequal: No Solution
Exploring Operation: 93*66=6138, Resulting Numbers: [6138]
6138,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:[93, 87, 153], Operations: ['80+73=153']
Exploring Operation: 93-87=6, Resulting Numbers: [153, 6]
Generated Node #0,0,0: 83:[153, 6] Operation: 93-87=6
Exploring Operation: 93+87=180, Resulting Numbers: [153, 180]
Generated Node #0,0,1: 83:[153, 180] Operation: 93+87=180
Exploring Operation: 153-87=66, Resulting Numbers: [93, 66]
Generated Node #0,0,2: 83:[93, 66] Operation: 153-87=66
Exploring Operation: 153-93=60, Resulting Numbers: [87, 60]
Generated Node #0,0,3: 83:[87, 60] Operation: 153-93=60
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 83:[93, 66], Operations: ['80+73=153', '153-87=66']
Exploring Operation: 93+66=159, Resulting Numbers: [159]
159,83 unequal: No Solution
Exploring Operation: 93*66=6138, Resulting Numbers: [6138]
6138,83 unequal: No Solution
Exploring Operation: 93-66=27, Resulting Numbers: [27]
27,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,0,3
Current State: 83:[87, 60], Operations: ['80+73=153', '153-93=60']
Exploring Operation: 87*60=5220, Resulting Numbers: [5220]
5220,83 unequal: No Solution
Exploring Operation: 87-60=27, Resulting Numbers: [27]
27,83 unequal: No Solution
Exploring Operation: 87+60=147, Resulting Numbers: [147]
147,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,0,0
Current State: 83:[153, 6], Operations: ['80+73=153', '93-87=6']
Exploring Operation: 153+6=159, Resulting Numbers: [159]
159,83 unequal: No Solution
Exploring Operation: 153*6=918, Resulting Numbers: [918]
918,83 unequal: No Solution
Exploring Operation: 153-6=147, Resulting Numbers: [147]
147,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,0,1
Current State: 83:[153, 180], Operations: ['80+73=153', '93+87=180']
Exploring Operation: 153*180=27540, Resulting Numbers: [27540]
27540,83 unequal: No Solution
Exploring Operation: 153+180=333, Resulting Numbers: [333]
333,83 unequal: No Solution
Exploring Operation: 180-153=27, Resulting Numbers: [27]
27,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,3
Current State: 83:[87, 73, 13], Operations: ['93-80=13']
Exploring Operation: 73+13=86, Resulting Numbers: [87, 86]
Generated Node #0,3,0: 83:[87, 86] Operation: 73+13=86
Exploring Operation: 87-13=74, Resulting Numbers: [73, 74]
Generated Node #0,3,1: 83:[73, 74] Operation: 87-13=74
Exploring Operation: 87+13=100, Resulting Numbers: [73, 100]
Generated Node #0,3,2: 83:[73, 100] Operation: 87+13=100
Exploring Operation: 73-13=60, Resulting Numbers: [87, 60]
Generated Node #0,3,3: 83:[87, 60] Operation: 73-13=60
Moving to Node #0,3,0
Current State: 83:[87, 86], Operations: ['93-80=13', '73+13=86']
Exploring Operation: 87+86=173, Resulting Numbers: [173]
173,83 unequal: No Solution
Exploring Operation: 87*86=7482, Resulting Numbers: [7482]
7482,83 unequal: No Solution
Exploring Operation: 87-86=1, Resulting Numbers: [1]
1,83 unequal: No Solution
Moving to Node #0,3,1
Current State: 83:[73, 74], Operations: ['93-80=13', '87-13=74']
Exploring Operation: 74-73=1, Resulting Numbers: [1]
1,83 unequal: No Solution
Exploring Operation: 73*74=5402, Resulting Numbers: [5402]
5402,83 unequal: No Solution
Exploring Operation: 73+74=147, Resulting Numbers: [147]
147,83 unequal: No Solution
Moving to Node #0,3,3
Current State: 83:[87, 60], Operations: ['93-80=13', '73-13=60']
Exploring Operation: 87*60=5220, Resulting Numbers: [5220]
5220,83 unequal: No Solution
Exploring Operation: 87+60=147, Resulting Numbers: [147]
147,83 unequal: No Solution
Exploring Operation: 87-60=27, Resulting Numbers: [27]
27,83 unequal: No Solution
Moving to Node #0,3,2
Current State: 83:[73, 100], Operations: ['93-80=13', '87+13=100']
Exploring Operation: 73*100=7300, Resulting Numbers: [7300]
7300,83 unequal: No Solution
Exploring Operation: 73+100=173, Resulting Numbers: [173]
173,83 unequal: No Solution
Exploring Operation: 100-73=27, Resulting Numbers: [27]
27,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
30,
46,
10,
42
] | 16 | [
"46-30=16",
"42-10=32",
"32-16=16"
] | Current State: 16:[30, 46, 10, 42], Operations: []
Exploring Operation: 46-30=16, Resulting Numbers: [10, 42, 16]
Generated Node #2: [10, 42, 16] from Operation: 46-30=16
Current State: 16:[10, 42, 16], Operations: ['46-30=16']
Exploring Operation: 42-10=32, Resulting Numbers: [16, 32]
Generated Node #3: [16, 32] from Operation: 42-10=32
Current State: 16:[16, 32], Operations: ['46-30=16', '42-10=32']
Exploring Operation: 32-16=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[30, 46, 10, 42], Operations: []
Exploring Operation: 46-42=4, Resulting Numbers: [30, 10, 4]
Generated Node #0,0: 16:[30, 10, 4] Operation: 46-42=4
Moving to Node #0,0
Current State: 16:[30, 10, 4], Operations: ['46-42=4']
Exploring Operation: 30/10=3, Resulting Numbers: [4, 3]
Generated Node #0,0,0: 16:[4, 3] Operation: 30/10=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 16:[4, 3], Operations: ['46-42=4', '30/10=3']
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,16 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 |
[
2,
16,
70,
66
] | 40 | [
"16+70=86",
"86-66=20",
"2*20=40"
] | Current State: 40:[2, 16, 70, 66], Operations: []
Exploring Operation: 16+70=86, Resulting Numbers: [2, 66, 86]
Generated Node #2: [2, 66, 86] from Operation: 16+70=86
Current State: 40:[2, 66, 86], Operations: ['16+70=86']
Exploring Operation: 86-66=20, Resulting Numbers: [2, 20]
Generated Node #3: [2, 20] from Operation: 86-66=20
Current State: 40:[2, 20], Operations: ['16+70=86', '86-66=20']
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[2, 16, 70, 66], Operations: []
Exploring Operation: 70-66=4, Resulting Numbers: [2, 16, 4]
Generated Node #0,0: 40:[2, 16, 4] Operation: 70-66=4
Exploring Operation: 70-16=54, Resulting Numbers: [2, 66, 54]
Generated Node #0,1: 40:[2, 66, 54] Operation: 70-16=54
Exploring Operation: 70/2=35, Resulting Numbers: [16, 66, 35]
Generated Node #0,2: 40:[16, 66, 35] Operation: 70/2=35
Moving to Node #0,0
Current State: 40:[2, 16, 4], Operations: ['70-66=4']
Exploring Operation: 16+4=20, Resulting Numbers: [2, 20]
Generated Node #0,0,0: 40:[2, 20] Operation: 16+4=20
Exploring Operation: 16/2=8, Resulting Numbers: [4, 8]
Generated Node #0,0,1: 40:[4, 8] Operation: 16/2=8
Exploring Operation: 16/4=4, Resulting Numbers: [2, 4]
Generated Node #0,0,2: 40:[2, 4] Operation: 16/4=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 40:[2, 20], Operations: ['70-66=4', '16+4=20']
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,40 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,40 unequal: No Solution
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[2, 16, 70, 66], Operations: []
Exploring Operation: 70-66=4, Resulting Numbers: [2, 16, 4]
Generated Node #0,0: 40:[2, 16, 4] Operation: 70-66=4
Moving to Node #0,0
Current State: 40:[2, 16, 4], Operations: ['70-66=4']
Exploring Operation: 16+4=20, Resulting Numbers: [2, 20]
Generated Node #0,0,0: 40:[2, 20] Operation: 16+4=20
Moving to Node #0,0,0
Current State: 40:[2, 20], Operations: ['70-66=4', '16+4=20']
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
96,
32,
51,
22
] | 70 | [
"96/32=3",
"51+22=73",
"73-3=70"
] | Current State: 70:[96, 32, 51, 22], Operations: []
Exploring Operation: 96/32=3, Resulting Numbers: [51, 22, 3]
Generated Node #2: [51, 22, 3] from Operation: 96/32=3
Current State: 70:[51, 22, 3], Operations: ['96/32=3']
Exploring Operation: 51+22=73, Resulting Numbers: [3, 73]
Generated Node #3: [3, 73] from Operation: 51+22=73
Current State: 70:[3, 73], Operations: ['96/32=3', '51+22=73']
Exploring Operation: 73-3=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[96, 32, 51, 22], Operations: []
Exploring Operation: 96-51=45, Resulting Numbers: [32, 22, 45]
Generated Node #0,0: 70:[32, 22, 45] Operation: 96-51=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[32, 22, 45], Operations: ['96-51=45']
Exploring Operation: 22+45=67, Resulting Numbers: [32, 67]
Generated Node #0,0,0: 70:[32, 67] Operation: 22+45=67
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 70:[32, 67], Operations: ['96-51=45', '22+45=67']
Exploring Operation: 67-32=35, Resulting Numbers: [35]
35,70 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 |
[
40,
61,
32,
40
] | 51 | [
"61-40=21",
"32+40=72",
"72-21=51"
] | Current State: 51:[40, 61, 32, 40], Operations: []
Exploring Operation: 61-40=21, Resulting Numbers: [32, 21]
Generated Node #2: [32, 21] from Operation: 61-40=21
Current State: 51:[32, 21], Operations: ['61-40=21']
Exploring Operation: 32+40=72, Resulting Numbers: [21, 72]
Generated Node #3: [21, 72] from Operation: 32+40=72
Current State: 51:[21, 72], Operations: ['61-40=21', '32+40=72']
Exploring Operation: 72-21=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[40, 61, 32, 40], Operations: []
Exploring Operation: 40-32=8, Resulting Numbers: [40, 61, 8]
Generated Node #0,0: 51:[40, 61, 8] Operation: 40-32=8
Exploring Operation: 40-32=8, Resulting Numbers: [61, 40, 8]
Generated Node #0,1: 51:[61, 40, 8] Operation: 40-32=8
Exploring Operation: 40/40=1, Resulting Numbers: [61, 32, 1]
Generated Node #0,2: 51:[61, 32, 1] Operation: 40/40=1
Exploring Operation: 40-40=0, Resulting Numbers: [61, 32, 0]
Generated Node #0,3: 51:[61, 32, 0] Operation: 40-40=0
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[40, 61, 8], Operations: ['40-32=8']
Exploring Operation: 61-40=21, Resulting Numbers: [8, 21]
Generated Node #0,0,0: 51:[8, 21] Operation: 61-40=21
Exploring Operation: 40/8=5, Resulting Numbers: [61, 5]
Generated Node #0,0,1: 51:[61, 5] Operation: 40/8=5
Exploring Operation: 40+8=48, Resulting Numbers: [61, 48]
Generated Node #0,0,2: 51:[61, 48] Operation: 40+8=48
Exploring Operation: 61-8=53, Resulting Numbers: [40, 53]
Generated Node #0,0,3: 51:[40, 53] Operation: 61-8=53
Moving to Node #0,0,0
Current State: 51:[8, 21], Operations: ['40-32=8', '61-40=21']
Exploring Operation: 8+21=29, Resulting Numbers: [29]
29,51 unequal: No Solution
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,51 unequal: No Solution
Exploring Operation: 8*21=168, Resulting Numbers: [168]
168,51 unequal: No Solution
Moving to Node #0,0,1
Current State: 51:[61, 5], Operations: ['40-32=8', '40/8=5']
Exploring Operation: 61-5=56, Resulting Numbers: [56]
56,51 unequal: No Solution
Exploring Operation: 61*5=305, Resulting Numbers: [305]
305,51 unequal: No Solution
Exploring Operation: 61+5=66, Resulting Numbers: [66]
66,51 unequal: No Solution
Moving to Node #0,0,3
Current State: 51:[40, 53], Operations: ['40-32=8', '61-8=53']
Exploring Operation: 53-40=13, Resulting Numbers: [13]
13,51 unequal: No Solution
Exploring Operation: 40+53=93, Resulting Numbers: [93]
93,51 unequal: No Solution
Exploring Operation: 40*53=2120, Resulting Numbers: [2120]
2120,51 unequal: No Solution
Moving to Node #0,0,2
Current State: 51:[61, 48], Operations: ['40-32=8', '40+8=48']
Exploring Operation: 61-48=13, Resulting Numbers: [13]
13,51 unequal: No Solution
Exploring Operation: 61+48=109, Resulting Numbers: [109]
109,51 unequal: No Solution
Exploring Operation: 61*48=2928, Resulting Numbers: [2928]
2928,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[61, 40, 8], Operations: ['40-32=8']
Exploring Operation: 61-40=21, Resulting Numbers: [8, 21]
Generated Node #0,1,0: 51:[8, 21] Operation: 61-40=21
Exploring Operation: 40+8=48, Resulting Numbers: [61, 48]
Generated Node #0,1,1: 51:[61, 48] Operation: 40+8=48
Exploring Operation: 40/8=5, Resulting Numbers: [61, 5]
Generated Node #0,1,2: 51:[61, 5] Operation: 40/8=5
Exploring Operation: 61-8=53, Resulting Numbers: [40, 53]
Generated Node #0,1,3: 51:[40, 53] Operation: 61-8=53
Moving to Node #0,1,0
Current State: 51:[8, 21], Operations: ['40-32=8', '61-40=21']
Exploring Operation: 8+21=29, Resulting Numbers: [29]
29,51 unequal: No Solution
Exploring Operation: 8*21=168, Resulting Numbers: [168]
168,51 unequal: No Solution
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,51 unequal: No Solution
Moving to Node #0,1,2
Current State: 51:[61, 5], Operations: ['40-32=8', '40/8=5']
Exploring Operation: 61*5=305, Resulting Numbers: [305]
305,51 unequal: No Solution
Exploring Operation: 61+5=66, Resulting Numbers: [66]
66,51 unequal: No Solution
Exploring Operation: 61-5=56, Resulting Numbers: [56]
56,51 unequal: No Solution
Moving to Node #0,1,3
Current State: 51:[40, 53], Operations: ['40-32=8', '61-8=53']
Exploring Operation: 53-40=13, Resulting Numbers: [13]
13,51 unequal: No Solution
Exploring Operation: 40*53=2120, Resulting Numbers: [2120]
2120,51 unequal: No Solution
Exploring Operation: 40+53=93, Resulting Numbers: [93]
93,51 unequal: No Solution
Moving to Node #0,1,1
Current State: 51:[61, 48], Operations: ['40-32=8', '40+8=48']
Exploring Operation: 61*48=2928, Resulting Numbers: [2928]
2928,51 unequal: No Solution
Exploring Operation: 61+48=109, Resulting Numbers: [109]
109,51 unequal: No Solution
Exploring Operation: 61-48=13, Resulting Numbers: [13]
13,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 51:[61, 32, 1], Operations: ['40/40=1']
Exploring Operation: 32-1=31, Resulting Numbers: [61, 31]
Generated Node #0,2,0: 51:[61, 31] Operation: 32-1=31
Exploring Operation: 61-1=60, Resulting Numbers: [32, 60]
Generated Node #0,2,1: 51:[32, 60] Operation: 61-1=60
Exploring Operation: 61-32=29, Resulting Numbers: [1, 29]
Generated Node #0,2,2: 51:[1, 29] Operation: 61-32=29
Exploring Operation: 61*1=61, Resulting Numbers: [32, 61]
Generated Node #0,2,3: 51:[32, 61] Operation: 61*1=61
Moving to Node #0,2,2
Current State: 51:[1, 29], Operations: ['40/40=1', '61-32=29']
Exploring Operation: 1*29=29, Resulting Numbers: [29]
29,51 unequal: No Solution
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Exploring Operation: 1+29=30, Resulting Numbers: [30]
30,51 unequal: No Solution
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,51 unequal: No Solution
Moving to Node #0,2,1
Current State: 51:[32, 60], Operations: ['40/40=1', '61-1=60']
Exploring Operation: 60-32=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Exploring Operation: 32+60=92, Resulting Numbers: [92]
92,51 unequal: No Solution
Exploring Operation: 32*60=1920, Resulting Numbers: [1920]
1920,51 unequal: No Solution
Moving to Node #0,2,0
Current State: 51:[61, 31], Operations: ['40/40=1', '32-1=31']
Exploring Operation: 61-31=30, Resulting Numbers: [30]
30,51 unequal: No Solution
Exploring Operation: 61*31=1891, Resulting Numbers: [1891]
1891,51 unequal: No Solution
Exploring Operation: 61+31=92, Resulting Numbers: [92]
92,51 unequal: No Solution
Moving to Node #0,2,3
Current State: 51:[32, 61], Operations: ['40/40=1', '61*1=61']
Exploring Operation: 32*61=1952, Resulting Numbers: [1952]
1952,51 unequal: No Solution
Exploring Operation: 61-32=29, Resulting Numbers: [29]
29,51 unequal: No Solution
Exploring Operation: 32+61=93, Resulting Numbers: [93]
93,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,3
Current State: 51:[61, 32, 0], Operations: ['40-40=0']
Exploring Operation: 61*0=0, Resulting Numbers: [32, 0]
Generated Node #0,3,0: 51:[32, 0] Operation: 61*0=0
Exploring Operation: 61-32=29, Resulting Numbers: [0, 29]
Generated Node #0,3,1: 51:[0, 29] Operation: 61-32=29
Exploring Operation: 32*0=0, Resulting Numbers: [61, 0]
Generated Node #0,3,2: 51:[61, 0] Operation: 32*0=0
Exploring Operation: 61+0=61, Resulting Numbers: [32, 61]
Generated Node #0,3,3: 51:[32, 61] Operation: 61+0=61
Moving to Node #0,3,2
Current State: 51:[61, 0], Operations: ['40-40=0', '32*0=0']
Exploring Operation: 61-0=61, Resulting Numbers: [61]
61,51 unequal: No Solution
Exploring Operation: 61+0=61, Resulting Numbers: [61]
61,51 unequal: No Solution
Exploring Operation: 61*0=0, Resulting Numbers: [0]
0,51 unequal: No Solution
Moving to Node #0,3,1
Current State: 51:[0, 29], Operations: ['40-40=0', '61-32=29']
Exploring Operation: 29-0=29, Resulting Numbers: [29]
29,51 unequal: No Solution
Exploring Operation: 0+29=29, Resulting Numbers: [29]
29,51 unequal: No Solution
Exploring Operation: 0*29=0, Resulting Numbers: [0]
0,51 unequal: No Solution
Moving to Node #0,3,0
Current State: 51:[32, 0], Operations: ['40-40=0', '61*0=0']
Exploring Operation: 32+0=32, Resulting Numbers: [32]
32,51 unequal: No Solution
Exploring Operation: 32*0=0, Resulting Numbers: [0]
0,51 unequal: No Solution
Exploring Operation: 32-0=32, Resulting Numbers: [32]
32,51 unequal: No Solution
Moving to Node #0,3,3
Current State: 51:[32, 61], Operations: ['40-40=0', '61+0=61']
Exploring Operation: 32*61=1952, Resulting Numbers: [1952]
1952,51 unequal: No Solution
Exploring Operation: 61-32=29, Resulting Numbers: [29]
29,51 unequal: No Solution
Exploring Operation: 32+61=93, Resulting Numbers: [93]
93,51 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 |
[
85,
56,
36,
17
] | 88 | [
"85+56=141",
"36+17=53",
"141-53=88"
] | Current State: 88:[85, 56, 36, 17], Operations: []
Exploring Operation: 85+56=141, Resulting Numbers: [36, 17, 141]
Generated Node #2: [36, 17, 141] from Operation: 85+56=141
Current State: 88:[36, 17, 141], Operations: ['85+56=141']
Exploring Operation: 36+17=53, Resulting Numbers: [141, 53]
Generated Node #3: [141, 53] from Operation: 36+17=53
Current State: 88:[141, 53], Operations: ['85+56=141', '36+17=53']
Exploring Operation: 141-53=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[85, 56, 36, 17], Operations: []
Exploring Operation: 36-17=19, Resulting Numbers: [85, 56, 19]
Generated Node #0,0: 88:[85, 56, 19] Operation: 36-17=19
Exploring Operation: 56+36=92, Resulting Numbers: [85, 17, 92]
Generated Node #0,1: 88:[85, 17, 92] Operation: 56+36=92
Exploring Operation: 56-36=20, Resulting Numbers: [85, 17, 20]
Generated Node #0,2: 88:[85, 17, 20] Operation: 56-36=20
Exploring Operation: 56-17=39, Resulting Numbers: [85, 36, 39]
Generated Node #0,3: 88:[85, 36, 39] Operation: 56-17=39
Start Sub Search at level 1: Moving to Node #0,2
Current State: 88:[85, 17, 20], Operations: ['56-36=20']
Exploring Operation: 17+20=37, Resulting Numbers: [85, 37]
Generated Node #0,2,0: 88:[85, 37] Operation: 17+20=37
Exploring Operation: 85/17=5, Resulting Numbers: [20, 5]
Generated Node #0,2,1: 88:[20, 5] Operation: 85/17=5
Exploring Operation: 85+17=102, Resulting Numbers: [20, 102]
Generated Node #0,2,2: 88:[20, 102] Operation: 85+17=102
Exploring Operation: 20-17=3, Resulting Numbers: [85, 3]
Generated Node #0,2,3: 88:[85, 3] Operation: 20-17=3
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 88:[20, 5], Operations: ['56-36=20', '85/17=5']
Exploring Operation: 20+5=25, Resulting Numbers: [25]
25,88 unequal: No Solution
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,88 unequal: No Solution
Exploring Operation: 20*5=100, Resulting Numbers: [100]
100,88 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,88 unequal: No Solution
No 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: 88:[85, 3], Operations: ['56-36=20', '20-17=3']
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,88 unequal: No Solution
Exploring Operation: 85+3=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[85, 56, 36, 17], Operations: []
Exploring Operation: 56-36=20, Resulting Numbers: [85, 17, 20]
Generated Node #0,2: 88:[85, 17, 20] Operation: 56-36=20
Moving to Node #0,2
Current State: 88:[85, 17, 20], Operations: ['56-36=20']
Exploring Operation: 20-17=3, Resulting Numbers: [85, 3]
Generated Node #0,2,3: 88:[85, 3] Operation: 20-17=3
Moving to Node #0,2,3
Current State: 88:[85, 3], Operations: ['56-36=20', '20-17=3']
Exploring Operation: 85+3=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
68,
81,
86,
12
] | 85 | [
"81-68=13",
"86+12=98",
"98-13=85"
] | Current State: 85:[68, 81, 86, 12], Operations: []
Exploring Operation: 81-68=13, Resulting Numbers: [86, 12, 13]
Generated Node #2: [86, 12, 13] from Operation: 81-68=13
Current State: 85:[86, 12, 13], Operations: ['81-68=13']
Exploring Operation: 86+12=98, Resulting Numbers: [13, 98]
Generated Node #3: [13, 98] from Operation: 86+12=98
Current State: 85:[13, 98], Operations: ['81-68=13', '86+12=98']
Exploring Operation: 98-13=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[68, 81, 86, 12], Operations: []
Exploring Operation: 86-68=18, Resulting Numbers: [81, 12, 18]
Generated Node #0,0: 85:[81, 12, 18] Operation: 86-68=18
Exploring Operation: 81-68=13, Resulting Numbers: [86, 12, 13]
Generated Node #0,1: 85:[86, 12, 13] Operation: 81-68=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[81, 12, 18], Operations: ['86-68=18']
Exploring Operation: 81+12=93, Resulting Numbers: [18, 93]
Generated Node #0,0,0: 85:[18, 93] Operation: 81+12=93
Exploring Operation: 18-12=6, Resulting Numbers: [81, 6]
Generated Node #0,0,1: 85:[81, 6] Operation: 18-12=6
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 85:[81, 6], Operations: ['86-68=18', '18-12=6']
Exploring Operation: 81+6=87, Resulting Numbers: [87]
87,85 unequal: No Solution
Exploring Operation: 81-6=75, Resulting Numbers: [75]
75,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 85:[18, 93], Operations: ['86-68=18', '81+12=93']
Exploring Operation: 93-18=75, Resulting Numbers: [75]
75,85 unequal: No Solution
Exploring Operation: 18+93=111, Resulting Numbers: [111]
111,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[86, 12, 13], Operations: ['81-68=13']
Exploring Operation: 12+13=25, Resulting Numbers: [86, 25]
Generated Node #0,1,0: 85:[86, 25] Operation: 12+13=25
Exploring Operation: 13-12=1, Resulting Numbers: [86, 1]
Generated Node #0,1,1: 85:[86, 1] Operation: 13-12=1
Moving to Node #0,1,1
Current State: 85:[86, 1], Operations: ['81-68=13', '13-12=1']
Exploring Operation: 86-1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[68, 81, 86, 12], Operations: []
Exploring Operation: 81-68=13, Resulting Numbers: [86, 12, 13]
Generated Node #0,1: 85:[86, 12, 13] Operation: 81-68=13
Moving to Node #0,1
Current State: 85:[86, 12, 13], Operations: ['81-68=13']
Exploring Operation: 13-12=1, Resulting Numbers: [86, 1]
Generated Node #0,1,1: 85:[86, 1] Operation: 13-12=1
Moving to Node #0,1,1
Current State: 85:[86, 1], Operations: ['81-68=13', '13-12=1']
Exploring Operation: 86-1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
13,
64,
50,
94
] | 95 | [
"64-13=51",
"94-50=44",
"51+44=95"
] | Current State: 95:[13, 64, 50, 94], Operations: []
Exploring Operation: 64-13=51, Resulting Numbers: [50, 94, 51]
Generated Node #2: [50, 94, 51] from Operation: 64-13=51
Current State: 95:[50, 94, 51], Operations: ['64-13=51']
Exploring Operation: 94-50=44, Resulting Numbers: [51, 44]
Generated Node #3: [51, 44] from Operation: 94-50=44
Current State: 95:[51, 44], Operations: ['64-13=51', '94-50=44']
Exploring Operation: 51+44=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[13, 64, 50, 94], Operations: []
Exploring Operation: 64-50=14, Resulting Numbers: [13, 94, 14]
Generated Node #0,0: 95:[13, 94, 14] Operation: 64-50=14
Moving to Node #0,0
Current State: 95:[13, 94, 14], Operations: ['64-50=14']
Exploring Operation: 14-13=1, Resulting Numbers: [94, 1]
Generated Node #0,0,0: 95:[94, 1] Operation: 14-13=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 95:[94, 1], Operations: ['64-50=14', '14-13=1']
Exploring Operation: 94+1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[13, 64, 50, 94], Operations: []
Exploring Operation: 64-50=14, Resulting Numbers: [13, 94, 14]
Generated Node #0,0: 95:[13, 94, 14] Operation: 64-50=14
Moving to Node #0,0
Current State: 95:[13, 94, 14], Operations: ['64-50=14']
Exploring Operation: 14-13=1, Resulting Numbers: [94, 1]
Generated Node #0,0,0: 95:[94, 1] Operation: 14-13=1
Moving to Node #0,0,0
Current State: 95:[94, 1], Operations: ['64-50=14', '14-13=1']
Exploring Operation: 94+1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
52,
28,
8,
5
] | 13 | [
"52*5=260",
"28-8=20",
"260/20=13"
] | Current State: 13:[52, 28, 8, 5], Operations: []
Exploring Operation: 52*5=260, Resulting Numbers: [28, 8, 260]
Generated Node #2: [28, 8, 260] from Operation: 52*5=260
Current State: 13:[28, 8, 260], Operations: ['52*5=260']
Exploring Operation: 28-8=20, Resulting Numbers: [260, 20]
Generated Node #3: [260, 20] from Operation: 28-8=20
Current State: 13:[260, 20], Operations: ['52*5=260', '28-8=20']
Exploring Operation: 260/20=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[52, 28, 8, 5], Operations: []
Exploring Operation: 52-8=44, Resulting Numbers: [28, 5, 44]
Generated Node #0,0: 13:[28, 5, 44] Operation: 52-8=44
Exploring Operation: 52-5=47, Resulting Numbers: [28, 8, 47]
Generated Node #0,1: 13:[28, 8, 47] Operation: 52-5=47
Exploring Operation: 52-28=24, Resulting Numbers: [8, 5, 24]
Generated Node #0,2: 13:[8, 5, 24] Operation: 52-28=24
Start Sub Search at level 1: Moving to Node #0,2
Current State: 13:[8, 5, 24], Operations: ['52-28=24']
Exploring Operation: 24-8=16, Resulting Numbers: [5, 16]
Generated Node #0,2,0: 13:[5, 16] Operation: 24-8=16
Exploring Operation: 8+5=13, Resulting Numbers: [24, 13]
Generated Node #0,2,1: 13:[24, 13] Operation: 8+5=13
Exploring Operation: 24-5=19, Resulting Numbers: [8, 19]
Generated Node #0,2,2: 13:[8, 19] Operation: 24-5=19
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 13:[5, 16], Operations: ['52-28=24', '24-8=16']
Exploring Operation: 5+16=21, Resulting Numbers: [21]
21,13 unequal: No Solution
Exploring Operation: 5*16=80, Resulting Numbers: [80]
80,13 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,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,2,1
Current State: 13:[24, 13], Operations: ['52-28=24', '8+5=13']
Exploring Operation: 24+13=37, Resulting Numbers: [37]
37,13 unequal: No Solution
Exploring Operation: 24-13=11, Resulting Numbers: [11]
11,13 unequal: No Solution
Exploring Operation: 24*13=312, Resulting Numbers: [312]
312,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,2,2
Current State: 13:[8, 19], Operations: ['52-28=24', '24-5=19']
Exploring Operation: 8*19=152, Resulting Numbers: [152]
152,13 unequal: No Solution
Exploring Operation: 8+19=27, Resulting Numbers: [27]
27,13 unequal: No Solution
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,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:[28, 5, 44], Operations: ['52-8=44']
Exploring Operation: 28-5=23, Resulting Numbers: [44, 23]
Generated Node #0,0,0: 13:[44, 23] Operation: 28-5=23
Exploring Operation: 44-5=39, Resulting Numbers: [28, 39]
Generated Node #0,0,1: 13:[28, 39] Operation: 44-5=39
Exploring Operation: 44-28=16, Resulting Numbers: [5, 16]
Generated Node #0,0,2: 13:[5, 16] Operation: 44-28=16
Moving to Node #0,0,2
Current State: 13:[5, 16], Operations: ['52-8=44', '44-28=16']
Exploring Operation: 5+16=21, Resulting Numbers: [21]
21,13 unequal: No Solution
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,13 unequal: No Solution
Exploring Operation: 5*16=80, Resulting Numbers: [80]
80,13 unequal: No Solution
Moving to Node #0,0,0
Current State: 13:[44, 23], Operations: ['52-8=44', '28-5=23']
Exploring Operation: 44*23=1012, Resulting Numbers: [1012]
1012,13 unequal: No Solution
Exploring Operation: 44+23=67, Resulting Numbers: [67]
67,13 unequal: No Solution
Exploring Operation: 44-23=21, Resulting Numbers: [21]
21,13 unequal: No Solution
Moving to Node #0,0,1
Current State: 13:[28, 39], Operations: ['52-8=44', '44-5=39']
Exploring Operation: 28+39=67, Resulting Numbers: [67]
67,13 unequal: No Solution
Exploring Operation: 28*39=1092, Resulting Numbers: [1092]
1092,13 unequal: No Solution
Exploring Operation: 39-28=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:[28, 8, 47], Operations: ['52-5=47']
Exploring Operation: 47-28=19, Resulting Numbers: [8, 19]
Generated Node #0,1,0: 13:[8, 19] Operation: 47-28=19
Exploring Operation: 47-8=39, Resulting Numbers: [28, 39]
Generated Node #0,1,1: 13:[28, 39] Operation: 47-8=39
Exploring Operation: 28-8=20, Resulting Numbers: [47, 20]
Generated Node #0,1,2: 13:[47, 20] Operation: 28-8=20
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 13:[8, 19], Operations: ['52-5=47', '47-28=19']
Exploring Operation: 8+19=27, Resulting Numbers: [27]
27,13 unequal: No Solution
Exploring Operation: 8*19=152, Resulting Numbers: [152]
152,13 unequal: No Solution
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 13:[28, 39], Operations: ['52-5=47', '47-8=39']
Exploring Operation: 28*39=1092, Resulting Numbers: [1092]
1092,13 unequal: No Solution
Exploring Operation: 39-28=11, Resulting Numbers: [11]
11,13 unequal: No Solution
Exploring Operation: 28+39=67, Resulting Numbers: [67]
67,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 13:[47, 20], Operations: ['52-5=47', '28-8=20']
Exploring Operation: 47*20=940, Resulting Numbers: [940]
940,13 unequal: No Solution
Exploring Operation: 47-20=27, Resulting Numbers: [27]
27,13 unequal: No Solution
Exploring Operation: 47+20=67, Resulting Numbers: [67]
67,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
90,
25,
35,
41
] | 85 | [
"90*35=3150",
"3150/25=126",
"126-41=85"
] | Current State: 85:[90, 25, 35, 41], Operations: []
Exploring Operation: 90*35=3150, Resulting Numbers: [25, 41, 3150]
Generated Node #2: [25, 41, 3150] from Operation: 90*35=3150
Current State: 85:[25, 41, 3150], Operations: ['90*35=3150']
Exploring Operation: 3150/25=126, Resulting Numbers: [41, 126]
Generated Node #3: [41, 126] from Operation: 3150/25=126
Current State: 85:[41, 126], Operations: ['90*35=3150', '3150/25=126']
Exploring Operation: 126-41=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[90, 25, 35, 41], Operations: []
Exploring Operation: 41-35=6, Resulting Numbers: [90, 25, 6]
Generated Node #0,0: 85:[90, 25, 6] Operation: 41-35=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[90, 25, 6], Operations: ['41-35=6']
Exploring Operation: 25-6=19, Resulting Numbers: [90, 19]
Generated Node #0,0,0: 85:[90, 19] Operation: 25-6=19
Moving to Node #0,0,0
Current State: 85:[90, 19], Operations: ['41-35=6', '25-6=19']
Exploring Operation: 90-19=71, Resulting Numbers: [71]
71,85 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 |
[
37,
3,
30,
8
] | 89 | [
"37*3=111",
"30-8=22",
"111-22=89"
] | Current State: 89:[37, 3, 30, 8], Operations: []
Exploring Operation: 37*3=111, Resulting Numbers: [30, 8, 111]
Generated Node #2: [30, 8, 111] from Operation: 37*3=111
Current State: 89:[30, 8, 111], Operations: ['37*3=111']
Exploring Operation: 30-8=22, Resulting Numbers: [111, 22]
Generated Node #3: [111, 22] from Operation: 30-8=22
Current State: 89:[111, 22], Operations: ['37*3=111', '30-8=22']
Exploring Operation: 111-22=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[37, 3, 30, 8], Operations: []
Exploring Operation: 37*3=111, Resulting Numbers: [30, 8, 111]
Generated Node #0,0: 89:[30, 8, 111] Operation: 37*3=111
Exploring Operation: 3*30=90, Resulting Numbers: [37, 8, 90]
Generated Node #0,1: 89:[37, 8, 90] Operation: 3*30=90
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[37, 8, 90], Operations: ['3*30=90']
Exploring Operation: 90-8=82, Resulting Numbers: [37, 82]
Generated Node #0,1,0: 89:[37, 82] Operation: 90-8=82
Exploring Operation: 37+8=45, Resulting Numbers: [90, 45]
Generated Node #0,1,1: 89:[90, 45] Operation: 37+8=45
Moving to Node #0,1,1
Current State: 89:[90, 45], Operations: ['3*30=90', '37+8=45']
Exploring Operation: 90-45=45, Resulting Numbers: [45]
45,89 unequal: No Solution
Exploring Operation: 90+45=135, Resulting Numbers: [135]
135,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[37, 82], Operations: ['3*30=90', '90-8=82']
Exploring Operation: 37+82=119, Resulting Numbers: [119]
119,89 unequal: No Solution
Exploring Operation: 82-37=45, Resulting Numbers: [45]
45,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,0
Current State: 89:[30, 8, 111], Operations: ['37*3=111']
Exploring Operation: 111-8=103, Resulting Numbers: [30, 103]
Generated Node #0,0,0: 89:[30, 103] Operation: 111-8=103
Exploring Operation: 30+8=38, Resulting Numbers: [111, 38]
Generated Node #0,0,1: 89:[111, 38] Operation: 30+8=38
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 89:[30, 103], Operations: ['37*3=111', '111-8=103']
Exploring Operation: 30+103=133, Resulting Numbers: [133]
133,89 unequal: No Solution
Exploring Operation: 103-30=73, Resulting Numbers: [73]
73,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:[111, 38], Operations: ['37*3=111', '30+8=38']
Exploring Operation: 111-38=73, Resulting Numbers: [73]
73,89 unequal: No Solution
Exploring Operation: 111+38=149, Resulting Numbers: [149]
149,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
No solution found.
| 0 | hs_2 | mult_heuristic |
[
55,
46,
20,
93
] | 28 | [
"55+46=101",
"93-20=73",
"101-73=28"
] | Current State: 28:[55, 46, 20, 93], Operations: []
Exploring Operation: 55+46=101, Resulting Numbers: [20, 93, 101]
Generated Node #2: [20, 93, 101] from Operation: 55+46=101
Current State: 28:[20, 93, 101], Operations: ['55+46=101']
Exploring Operation: 93-20=73, Resulting Numbers: [101, 73]
Generated Node #3: [101, 73] from Operation: 93-20=73
Current State: 28:[101, 73], Operations: ['55+46=101', '93-20=73']
Exploring Operation: 101-73=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[55, 46, 20, 93], Operations: []
Exploring Operation: 93-55=38, Resulting Numbers: [46, 20, 38]
Generated Node #0,0: 28:[46, 20, 38] Operation: 93-55=38
Exploring Operation: 93-46=47, Resulting Numbers: [55, 20, 47]
Generated Node #0,1: 28:[55, 20, 47] Operation: 93-46=47
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[46, 20, 38], Operations: ['93-55=38']
Exploring Operation: 46-20=26, Resulting Numbers: [38, 26]
Generated Node #0,0,0: 28:[38, 26] Operation: 46-20=26
Exploring Operation: 46-38=8, Resulting Numbers: [20, 8]
Generated Node #0,0,1: 28:[20, 8] Operation: 46-38=8
Moving to Node #0,0,1
Current State: 28:[20, 8], Operations: ['93-55=38', '46-38=8']
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,28 unequal: No Solution
Exploring Operation: 20+8=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[55, 46, 20, 93], Operations: []
Exploring Operation: 93-55=38, Resulting Numbers: [46, 20, 38]
Generated Node #0,0: 28:[46, 20, 38] Operation: 93-55=38
Moving to Node #0,0
Current State: 28:[46, 20, 38], Operations: ['93-55=38']
Exploring Operation: 46-38=8, Resulting Numbers: [20, 8]
Generated Node #0,0,1: 28:[20, 8] Operation: 46-38=8
Moving to Node #0,0,1
Current State: 28:[20, 8], Operations: ['93-55=38', '46-38=8']
Exploring Operation: 20+8=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
18,
75,
97,
9
] | 24 | [
"18/9=2",
"97-75=22",
"2+22=24"
] | Current State: 24:[18, 75, 97, 9], Operations: []
Exploring Operation: 18/9=2, Resulting Numbers: [75, 97, 2]
Generated Node #2: [75, 97, 2] from Operation: 18/9=2
Current State: 24:[75, 97, 2], Operations: ['18/9=2']
Exploring Operation: 97-75=22, Resulting Numbers: [2, 22]
Generated Node #3: [2, 22] from Operation: 97-75=22
Current State: 24:[2, 22], Operations: ['18/9=2', '97-75=22']
Exploring Operation: 2+22=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[18, 75, 97, 9], Operations: []
Exploring Operation: 75-18=57, Resulting Numbers: [97, 9, 57]
Generated Node #0,0: 24:[97, 9, 57] Operation: 75-18=57
Exploring Operation: 97-75=22, Resulting Numbers: [18, 9, 22]
Generated Node #0,1: 24:[18, 9, 22] Operation: 97-75=22
Start Sub Search at level 1: Moving to Node #0,1
Current State: 24:[18, 9, 22], Operations: ['97-75=22']
Exploring Operation: 18/9=2, Resulting Numbers: [22, 2]
Generated Node #0,1,0: 24:[22, 2] Operation: 18/9=2
Exploring Operation: 22-18=4, Resulting Numbers: [9, 4]
Generated Node #0,1,1: 24:[9, 4] Operation: 22-18=4
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 24:[9, 4], Operations: ['97-75=22', '22-18=4']
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,24 unequal: No Solution
Exploring Operation: 9+4=13, Resulting Numbers: [13]
13,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 24:[22, 2], Operations: ['97-75=22', '18/9=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:[18, 75, 97, 9], Operations: []
Exploring Operation: 97-75=22, Resulting Numbers: [18, 9, 22]
Generated Node #0,1: 24:[18, 9, 22] Operation: 97-75=22
Moving to Node #0,1
Current State: 24:[18, 9, 22], Operations: ['97-75=22']
Exploring Operation: 18/9=2, Resulting Numbers: [22, 2]
Generated Node #0,1,0: 24:[22, 2] Operation: 18/9=2
Moving to Node #0,1,0
Current State: 24:[22, 2], Operations: ['97-75=22', '18/9=2']
Exploring Operation: 22+2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
72,
12,
51,
16
] | 33 | [
"16-12=4",
"72/4=18",
"51-18=33"
] | Current State: 33:[72, 12, 51, 16], Operations: []
Exploring Operation: 16-12=4, Resulting Numbers: [72, 51, 4]
Generated Node #2: [72, 51, 4] from Operation: 16-12=4
Current State: 33:[72, 51, 4], Operations: ['16-12=4']
Exploring Operation: 72/4=18, Resulting Numbers: [51, 18]
Generated Node #3: [51, 18] from Operation: 72/4=18
Current State: 33:[51, 18], Operations: ['16-12=4', '72/4=18']
Exploring Operation: 51-18=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[72, 12, 51, 16], Operations: []
Exploring Operation: 72-51=21, Resulting Numbers: [12, 16, 21]
Generated Node #0,0: 33:[12, 16, 21] Operation: 72-51=21
Moving to Node #0,0
Current State: 33:[12, 16, 21], Operations: ['72-51=21']
Exploring Operation: 21-16=5, Resulting Numbers: [12, 5]
Generated Node #0,0,0: 33:[12, 5] Operation: 21-16=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 33:[12, 5], Operations: ['72-51=21', '21-16=5']
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,33 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 |
[
62,
95,
86,
6
] | 59 | [
"95-62=33",
"86+6=92",
"92-33=59"
] | Current State: 59:[62, 95, 86, 6], Operations: []
Exploring Operation: 95-62=33, Resulting Numbers: [86, 6, 33]
Generated Node #2: [86, 6, 33] from Operation: 95-62=33
Current State: 59:[86, 6, 33], Operations: ['95-62=33']
Exploring Operation: 86+6=92, Resulting Numbers: [33, 92]
Generated Node #3: [33, 92] from Operation: 86+6=92
Current State: 59:[33, 92], Operations: ['95-62=33', '86+6=92']
Exploring Operation: 92-33=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[62, 95, 86, 6], Operations: []
Exploring Operation: 95-6=89, Resulting Numbers: [62, 86, 89]
Generated Node #0,0: 59:[62, 86, 89] Operation: 95-6=89
Exploring Operation: 86-6=80, Resulting Numbers: [62, 95, 80]
Generated Node #0,1: 59:[62, 95, 80] Operation: 86-6=80
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[62, 86, 89], Operations: ['95-6=89']
Exploring Operation: 89-86=3, Resulting Numbers: [62, 3]
Generated Node #0,0,0: 59:[62, 3] Operation: 89-86=3
Exploring Operation: 89-62=27, Resulting Numbers: [86, 27]
Generated Node #0,0,1: 59:[86, 27] Operation: 89-62=27
Moving to Node #0,0,0
Current State: 59:[62, 3], Operations: ['95-6=89', '89-86=3']
Exploring Operation: 62-3=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[62, 95, 86, 6], Operations: []
Exploring Operation: 95-6=89, Resulting Numbers: [62, 86, 89]
Generated Node #0,0: 59:[62, 86, 89] Operation: 95-6=89
Moving to Node #0,0
Current State: 59:[62, 86, 89], Operations: ['95-6=89']
Exploring Operation: 89-86=3, Resulting Numbers: [62, 3]
Generated Node #0,0,0: 59:[62, 3] Operation: 89-86=3
Moving to Node #0,0,0
Current State: 59:[62, 3], Operations: ['95-6=89', '89-86=3']
Exploring Operation: 62-3=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
55,
43,
26,
62
] | 10 | [
"55+43=98",
"26+62=88",
"98-88=10"
] | Current State: 10:[55, 43, 26, 62], Operations: []
Exploring Operation: 55+43=98, Resulting Numbers: [26, 62, 98]
Generated Node #2: [26, 62, 98] from Operation: 55+43=98
Current State: 10:[26, 62, 98], Operations: ['55+43=98']
Exploring Operation: 26+62=88, Resulting Numbers: [98, 88]
Generated Node #3: [98, 88] from Operation: 26+62=88
Current State: 10:[98, 88], Operations: ['55+43=98', '26+62=88']
Exploring Operation: 98-88=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[55, 43, 26, 62], Operations: []
Exploring Operation: 62-55=7, Resulting Numbers: [43, 26, 7]
Generated Node #0,0: 10:[43, 26, 7] Operation: 62-55=7
Exploring Operation: 55-26=29, Resulting Numbers: [43, 62, 29]
Generated Node #0,1: 10:[43, 62, 29] Operation: 55-26=29
Exploring Operation: 55-43=12, Resulting Numbers: [26, 62, 12]
Generated Node #0,2: 10:[26, 62, 12] Operation: 55-43=12
Exploring Operation: 62-43=19, Resulting Numbers: [55, 26, 19]
Generated Node #0,3: 10:[55, 26, 19] Operation: 62-43=19
Moving to Node #0,0
Current State: 10:[43, 26, 7], Operations: ['62-55=7']
Exploring Operation: 43-26=17, Resulting Numbers: [7, 17]
Generated Node #0,0,0: 10:[7, 17] Operation: 43-26=17
Exploring Operation: 43+7=50, Resulting Numbers: [26, 50]
Generated Node #0,0,1: 10:[26, 50] Operation: 43+7=50
Exploring Operation: 43-7=36, Resulting Numbers: [26, 36]
Generated Node #0,0,2: 10:[26, 36] Operation: 43-7=36
Exploring Operation: 26-7=19, Resulting Numbers: [43, 19]
Generated Node #0,0,3: 10:[43, 19] Operation: 26-7=19
Moving to Node #0,3
Current State: 10:[55, 26, 19], Operations: ['62-43=19']
Exploring Operation: 26-19=7, Resulting Numbers: [55, 7]
Generated Node #0,3,0: 10:[55, 7] Operation: 26-19=7
Exploring Operation: 55-19=36, Resulting Numbers: [26, 36]
Generated Node #0,3,1: 10:[26, 36] Operation: 55-19=36
Exploring Operation: 55+26=81, Resulting Numbers: [19, 81]
Generated Node #0,3,2: 10:[19, 81] Operation: 55+26=81
Exploring Operation: 55-26=29, Resulting Numbers: [19, 29]
Generated Node #0,3,3: 10:[19, 29] Operation: 55-26=29
Moving to Node #0,2
Current State: 10:[26, 62, 12], Operations: ['55-43=12']
Exploring Operation: 26+62=88, Resulting Numbers: [12, 88]
Generated Node #0,2,0: 10:[12, 88] Operation: 26+62=88
Exploring Operation: 62-26=36, Resulting Numbers: [12, 36]
Generated Node #0,2,1: 10:[12, 36] Operation: 62-26=36
Exploring Operation: 62-12=50, Resulting Numbers: [26, 50]
Generated Node #0,2,2: 10:[26, 50] Operation: 62-12=50
Exploring Operation: 26-12=14, Resulting Numbers: [62, 14]
Generated Node #0,2,3: 10:[62, 14] Operation: 26-12=14
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 10:[12, 36], Operations: ['55-43=12', '62-26=36']
Exploring Operation: 12*36=432, Resulting Numbers: [432]
432,10 unequal: No Solution
Exploring Operation: 36/12=3, Resulting Numbers: [3]
3,10 unequal: No Solution
Exploring Operation: 12+36=48, Resulting Numbers: [48]
48,10 unequal: No Solution
Exploring Operation: 36-12=24, Resulting Numbers: [24]
24,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 10:[26, 50], Operations: ['55-43=12', '62-12=50']
Exploring Operation: 26*50=1300, Resulting Numbers: [1300]
1300,10 unequal: No Solution
Exploring Operation: 26+50=76, Resulting Numbers: [76]
76,10 unequal: No Solution
Exploring Operation: 50-26=24, Resulting Numbers: [24]
24,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 10:[62, 14], Operations: ['55-43=12', '26-12=14']
Exploring Operation: 62+14=76, Resulting Numbers: [76]
76,10 unequal: No Solution
Exploring Operation: 62-14=48, Resulting Numbers: [48]
48,10 unequal: No Solution
Exploring Operation: 62*14=868, Resulting Numbers: [868]
868,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 10:[12, 88], Operations: ['55-43=12', '26+62=88']
Exploring Operation: 12*88=1056, Resulting Numbers: [1056]
1056,10 unequal: No Solution
Exploring Operation: 12+88=100, Resulting Numbers: [100]
100,10 unequal: No Solution
Exploring Operation: 88-12=76, Resulting Numbers: [76]
76,10 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: 10:[43, 62, 29], Operations: ['55-26=29']
Exploring Operation: 62-29=33, Resulting Numbers: [43, 33]
Generated Node #0,1,0: 10:[43, 33] Operation: 62-29=33
Exploring Operation: 43+62=105, Resulting Numbers: [29, 105]
Generated Node #0,1,1: 10:[29, 105] Operation: 43+62=105
Exploring Operation: 62-43=19, Resulting Numbers: [29, 19]
Generated Node #0,1,2: 10:[29, 19] Operation: 62-43=19
Exploring Operation: 43-29=14, Resulting Numbers: [62, 14]
Generated Node #0,1,3: 10:[62, 14] Operation: 43-29=14
Moving to Node #0,0,0
Current State: 10:[7, 17], Operations: ['62-55=7', '43-26=17']
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,10 unequal: No Solution
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[55, 43, 26, 62], Operations: []
Exploring Operation: 62-55=7, Resulting Numbers: [43, 26, 7]
Generated Node #0,0: 10:[43, 26, 7] Operation: 62-55=7
Moving to Node #0,0
Current State: 10:[43, 26, 7], Operations: ['62-55=7']
Exploring Operation: 43-26=17, Resulting Numbers: [7, 17]
Generated Node #0,0,0: 10:[7, 17] Operation: 43-26=17
Moving to Node #0,0,0
Current State: 10:[7, 17], Operations: ['62-55=7', '43-26=17']
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 0.966146 | hs_4 | mult_heuristic |
[
6,
54,
73,
25
] | 96 | [
"54-6=48",
"73-25=48",
"48+48=96"
] | Current State: 96:[6, 54, 73, 25], Operations: []
Exploring Operation: 54-6=48, Resulting Numbers: [73, 25, 48]
Generated Node #2: [73, 25, 48] from Operation: 54-6=48
Current State: 96:[73, 25, 48], Operations: ['54-6=48']
Exploring Operation: 73-25=48, Resulting Numbers: [48, 48]
Generated Node #3: [48, 48] from Operation: 73-25=48
Current State: 96:[48, 48], Operations: ['54-6=48', '73-25=48']
Exploring Operation: 48+48=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[6, 54, 73, 25], Operations: []
Exploring Operation: 73-25=48, Resulting Numbers: [6, 54, 48]
Generated Node #0,0: 96:[6, 54, 48] Operation: 73-25=48
Exploring Operation: 73-54=19, Resulting Numbers: [6, 25, 19]
Generated Node #0,1: 96:[6, 25, 19] Operation: 73-54=19
Exploring Operation: 73+25=98, Resulting Numbers: [6, 54, 98]
Generated Node #0,2: 96:[6, 54, 98] Operation: 73+25=98
Exploring Operation: 54-6=48, Resulting Numbers: [73, 25, 48]
Generated Node #0,3: 96:[73, 25, 48] Operation: 54-6=48
Exploring Operation: 6+73=79, Resulting Numbers: [54, 25, 79]
Generated Node #0,4: 96:[54, 25, 79] Operation: 6+73=79
Moving to Node #0,1
Current State: 96:[6, 25, 19], Operations: ['73-54=19']
Exploring Operation: 25-19=6, Resulting Numbers: [6, 6]
Generated Node #0,1,0: 96:[6, 6] Operation: 25-19=6
Exploring Operation: 19-6=13, Resulting Numbers: [25, 13]
Generated Node #0,1,1: 96:[25, 13] Operation: 19-6=13
Exploring Operation: 25+19=44, Resulting Numbers: [6, 44]
Generated Node #0,1,2: 96:[6, 44] Operation: 25+19=44
Exploring Operation: 6+19=25, Resulting Numbers: [25, 25]
Generated Node #0,1,3: 96:[25, 25] Operation: 6+19=25
Exploring Operation: 6+25=31, Resulting Numbers: [19, 31]
Generated Node #0,1,4: 96:[19, 31] Operation: 6+25=31
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 96:[6, 6], Operations: ['73-54=19', '25-19=6']
Exploring Operation: 6-6=0, Resulting Numbers: [0]
0,96 unequal: No Solution
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,96 unequal: No Solution
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,96 unequal: No Solution
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 96:[25, 13], Operations: ['73-54=19', '19-6=13']
Exploring Operation: 25*13=325, Resulting Numbers: [325]
325,96 unequal: No Solution
Exploring Operation: 25+13=38, Resulting Numbers: [38]
38,96 unequal: No Solution
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 96:[25, 25], Operations: ['73-54=19', '6+19=25']
Exploring Operation: 25/25=1, Resulting Numbers: [1]
1,96 unequal: No Solution
Exploring Operation: 25-25=0, Resulting Numbers: [0]
0,96 unequal: No Solution
Exploring Operation: 25*25=625, Resulting Numbers: [625]
625,96 unequal: No Solution
Exploring Operation: 25+25=50, Resulting Numbers: [50]
50,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 96:[6, 44], Operations: ['73-54=19', '25+19=44']
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,96 unequal: No Solution
Exploring Operation: 6+44=50, Resulting Numbers: [50]
50,96 unequal: No Solution
Exploring Operation: 6*44=264, Resulting Numbers: [264]
264,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 96:[19, 31], Operations: ['73-54=19', '6+25=31']
Exploring Operation: 19*31=589, Resulting Numbers: [589]
589,96 unequal: No Solution
Exploring Operation: 19+31=50, Resulting Numbers: [50]
50,96 unequal: No Solution
Exploring Operation: 31-19=12, Resulting Numbers: [12]
12,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 96:[6, 54, 48], Operations: ['73-25=48']
Exploring Operation: 54-48=6, Resulting Numbers: [6, 6]
Generated Node #0,0,0: 96:[6, 6] Operation: 54-48=6
Exploring Operation: 54+48=102, Resulting Numbers: [6, 102]
Generated Node #0,0,1: 96:[6, 102] Operation: 54+48=102
Exploring Operation: 54/6=9, Resulting Numbers: [48, 9]
Generated Node #0,0,2: 96:[48, 9] Operation: 54/6=9
Exploring Operation: 54-6=48, Resulting Numbers: [48, 48]
Generated Node #0,0,3: 96:[48, 48] Operation: 54-6=48
Exploring Operation: 48/6=8, Resulting Numbers: [54, 8]
Generated Node #0,0,4: 96:[54, 8] Operation: 48/6=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 96:[6, 6], Operations: ['73-25=48', '54-48=6']
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,96 unequal: No Solution
Exploring Operation: 6*6=36, Resulting Numbers: [36]
36,96 unequal: No Solution
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,96 unequal: No Solution
Exploring Operation: 6-6=0, Resulting Numbers: [0]
0,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 96:[48, 48], Operations: ['73-25=48', '54-6=48']
Exploring Operation: 48/48=1, Resulting Numbers: [1]
1,96 unequal: No Solution
Exploring Operation: 48+48=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[6, 54, 73, 25], Operations: []
Exploring Operation: 73-25=48, Resulting Numbers: [6, 54, 48]
Generated Node #0,0: 96:[6, 54, 48] Operation: 73-25=48
Moving to Node #0,0
Current State: 96:[6, 54, 48], Operations: ['73-25=48']
Exploring Operation: 54-6=48, Resulting Numbers: [48, 48]
Generated Node #0,0,3: 96:[48, 48] Operation: 54-6=48
Moving to Node #0,0,3
Current State: 96:[48, 48], Operations: ['73-25=48', '54-6=48']
Exploring Operation: 48+48=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.963542 | hs_5 | mult_heuristic |
[
36,
1,
32,
23
] | 88 | [
"36-32=4",
"23-1=22",
"4*22=88"
] | Current State: 88:[36, 1, 32, 23], Operations: []
Exploring Operation: 36-32=4, Resulting Numbers: [1, 23, 4]
Generated Node #2: [1, 23, 4] from Operation: 36-32=4
Current State: 88:[1, 23, 4], Operations: ['36-32=4']
Exploring Operation: 23-1=22, Resulting Numbers: [4, 22]
Generated Node #3: [4, 22] from Operation: 23-1=22
Current State: 88:[4, 22], Operations: ['36-32=4', '23-1=22']
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[36, 1, 32, 23], Operations: []
Exploring Operation: 32-23=9, Resulting Numbers: [36, 1, 9]
Generated Node #0,0: 88:[36, 1, 9] Operation: 32-23=9
Exploring Operation: 36-32=4, Resulting Numbers: [1, 23, 4]
Generated Node #0,1: 88:[1, 23, 4] Operation: 36-32=4
Moving to Node #0,1
Current State: 88:[1, 23, 4], Operations: ['36-32=4']
Exploring Operation: 23-1=22, Resulting Numbers: [4, 22]
Generated Node #0,1,0: 88:[4, 22] Operation: 23-1=22
Exploring Operation: 1*23=23, Resulting Numbers: [4, 23]
Generated Node #0,1,1: 88:[4, 23] Operation: 1*23=23
Moving to Node #0,0
Current State: 88:[36, 1, 9], Operations: ['32-23=9']
Exploring Operation: 36+9=45, Resulting Numbers: [1, 45]
Generated Node #0,0,0: 88:[1, 45] Operation: 36+9=45
Exploring Operation: 36/9=4, Resulting Numbers: [1, 4]
Generated Node #0,0,1: 88:[1, 4] Operation: 36/9=4
Moving to Node #0,1,0
Current State: 88:[4, 22], Operations: ['36-32=4', '23-1=22']
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[36, 1, 32, 23], Operations: []
Exploring Operation: 36-32=4, Resulting Numbers: [1, 23, 4]
Generated Node #0,1: 88:[1, 23, 4] Operation: 36-32=4
Moving to Node #0,1
Current State: 88:[1, 23, 4], Operations: ['36-32=4']
Exploring Operation: 23-1=22, Resulting Numbers: [4, 22]
Generated Node #0,1,0: 88:[4, 22] Operation: 23-1=22
Moving to Node #0,1,0
Current State: 88:[4, 22], Operations: ['36-32=4', '23-1=22']
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 0.990451 | hs_2 | mult_heuristic |
[
43,
17,
20,
14
] | 86 | [
"20+14=34",
"43*34=1462",
"1462/17=86"
] | Current State: 86:[43, 17, 20, 14], Operations: []
Exploring Operation: 20+14=34, Resulting Numbers: [43, 17, 34]
Generated Node #2: [43, 17, 34] from Operation: 20+14=34
Current State: 86:[43, 17, 34], Operations: ['20+14=34']
Exploring Operation: 43*34=1462, Resulting Numbers: [17, 1462]
Generated Node #3: [17, 1462] from Operation: 43*34=1462
Current State: 86:[17, 1462], Operations: ['20+14=34', '43*34=1462']
Exploring Operation: 1462/17=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[43, 17, 20, 14], Operations: []
Exploring Operation: 20-17=3, Resulting Numbers: [43, 14, 3]
Generated Node #0,0: 86:[43, 14, 3] Operation: 20-17=3
Exploring Operation: 17-14=3, Resulting Numbers: [43, 20, 3]
Generated Node #0,1: 86:[43, 20, 3] Operation: 17-14=3
Exploring Operation: 17+20=37, Resulting Numbers: [43, 14, 37]
Generated Node #0,2: 86:[43, 14, 37] Operation: 17+20=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[43, 14, 3], Operations: ['20-17=3']
Exploring Operation: 14*3=42, Resulting Numbers: [43, 42]
Generated Node #0,0,0: 86:[43, 42] Operation: 14*3=42
Exploring Operation: 43+14=57, Resulting Numbers: [3, 57]
Generated Node #0,0,1: 86:[3, 57] Operation: 43+14=57
Exploring Operation: 14-3=11, Resulting Numbers: [43, 11]
Generated Node #0,0,2: 86:[43, 11] Operation: 14-3=11
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 86:[43, 42], Operations: ['20-17=3', '14*3=42']
Exploring Operation: 43+42=85, Resulting Numbers: [85]
85,86 unequal: No Solution
Exploring Operation: 43-42=1, Resulting Numbers: [1]
1,86 unequal: No Solution
Exploring Operation: 43*42=1806, Resulting Numbers: [1806]
1806,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 86:[43, 11], Operations: ['20-17=3', '14-3=11']
Exploring Operation: 43-11=32, Resulting Numbers: [32]
32,86 unequal: No Solution
Exploring Operation: 43*11=473, Resulting Numbers: [473]
473,86 unequal: No Solution
Exploring Operation: 43+11=54, Resulting Numbers: [54]
54,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 86:[3, 57], Operations: ['20-17=3', '43+14=57']
Exploring Operation: 3+57=60, Resulting Numbers: [60]
60,86 unequal: No Solution
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,86 unequal: No Solution
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 86:[43, 14, 37], Operations: ['17+20=37']
Exploring Operation: 43-37=6, Resulting Numbers: [14, 6]
Generated Node #0,2,0: 86:[14, 6] Operation: 43-37=6
Exploring Operation: 43+37=80, Resulting Numbers: [14, 80]
Generated Node #0,2,1: 86:[14, 80] Operation: 43+37=80
Exploring Operation: 14+37=51, Resulting Numbers: [43, 51]
Generated Node #0,2,2: 86:[43, 51] Operation: 14+37=51
Moving to Node #0,2,2
Current State: 86:[43, 51], Operations: ['17+20=37', '14+37=51']
Exploring Operation: 43*51=2193, Resulting Numbers: [2193]
2193,86 unequal: No Solution
Exploring Operation: 51-43=8, Resulting Numbers: [8]
8,86 unequal: No Solution
Exploring Operation: 43+51=94, Resulting Numbers: [94]
94,86 unequal: No Solution
Moving to Node #0,2,0
Current State: 86:[14, 6], Operations: ['17+20=37', '43-37=6']
Exploring Operation: 14*6=84, Resulting Numbers: [84]
84,86 unequal: No Solution
Exploring Operation: 14+6=20, Resulting Numbers: [20]
20,86 unequal: No Solution
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,86 unequal: No Solution
Moving to Node #0,2,1
Current State: 86:[14, 80], Operations: ['17+20=37', '43+37=80']
Exploring Operation: 14+80=94, Resulting Numbers: [94]
94,86 unequal: No Solution
Exploring Operation: 14*80=1120, Resulting Numbers: [1120]
1120,86 unequal: No Solution
Exploring Operation: 80-14=66, Resulting Numbers: [66]
66,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[43, 20, 3], Operations: ['17-14=3']
Exploring Operation: 20*3=60, Resulting Numbers: [43, 60]
Generated Node #0,1,0: 86:[43, 60] Operation: 20*3=60
Exploring Operation: 20+3=23, Resulting Numbers: [43, 23]
Generated Node #0,1,1: 86:[43, 23] Operation: 20+3=23
Exploring Operation: 20-3=17, Resulting Numbers: [43, 17]
Generated Node #0,1,2: 86:[43, 17] Operation: 20-3=17
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 86:[43, 17], Operations: ['17-14=3', '20-3=17']
Exploring Operation: 43*17=731, Resulting Numbers: [731]
731,86 unequal: No Solution
Exploring Operation: 43+17=60, Resulting Numbers: [60]
60,86 unequal: No Solution
Exploring Operation: 43-17=26, Resulting Numbers: [26]
26,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 86:[43, 60], Operations: ['17-14=3', '20*3=60']
Exploring Operation: 43+60=103, Resulting Numbers: [103]
103,86 unequal: No Solution
Exploring Operation: 60-43=17, Resulting Numbers: [17]
17,86 unequal: No Solution
Exploring Operation: 43*60=2580, Resulting Numbers: [2580]
2580,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 86:[43, 23], Operations: ['17-14=3', '20+3=23']
Exploring Operation: 43-23=20, Resulting Numbers: [20]
20,86 unequal: No Solution
Exploring Operation: 43*23=989, Resulting Numbers: [989]
989,86 unequal: No Solution
Exploring Operation: 43+23=66, Resulting Numbers: [66]
66,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
66,
14,
16,
83
] | 13 | [
"66+14=80",
"83-16=67",
"80-67=13"
] | Current State: 13:[66, 14, 16, 83], Operations: []
Exploring Operation: 66+14=80, Resulting Numbers: [16, 83, 80]
Generated Node #2: [16, 83, 80] from Operation: 66+14=80
Current State: 13:[16, 83, 80], Operations: ['66+14=80']
Exploring Operation: 83-16=67, Resulting Numbers: [80, 67]
Generated Node #3: [80, 67] from Operation: 83-16=67
Current State: 13:[80, 67], Operations: ['66+14=80', '83-16=67']
Exploring Operation: 80-67=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[66, 14, 16, 83], Operations: []
Exploring Operation: 66-16=50, Resulting Numbers: [14, 83, 50]
Generated Node #0,0: 13:[14, 83, 50] Operation: 66-16=50
Exploring Operation: 83-66=17, Resulting Numbers: [14, 16, 17]
Generated Node #0,1: 13:[14, 16, 17] Operation: 83-66=17
Exploring Operation: 66-14=52, Resulting Numbers: [16, 83, 52]
Generated Node #0,2: 13:[16, 83, 52] Operation: 66-14=52
Exploring Operation: 83-16=67, Resulting Numbers: [66, 14, 67]
Generated Node #0,3: 13:[66, 14, 67] Operation: 83-16=67
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[14, 16, 17], Operations: ['83-66=17']
Exploring Operation: 17-16=1, Resulting Numbers: [14, 1]
Generated Node #0,1,0: 13:[14, 1] Operation: 17-16=1
Exploring Operation: 17-14=3, Resulting Numbers: [16, 3]
Generated Node #0,1,1: 13:[16, 3] Operation: 17-14=3
Exploring Operation: 14+16=30, Resulting Numbers: [17, 30]
Generated Node #0,1,2: 13:[17, 30] Operation: 14+16=30
Exploring Operation: 16-14=2, Resulting Numbers: [17, 2]
Generated Node #0,1,3: 13:[17, 2] Operation: 16-14=2
Moving to Node #0,1,0
Current State: 13:[14, 1], Operations: ['83-66=17', '17-16=1']
Exploring Operation: 14*1=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,13 unequal: No Solution
Exploring Operation: 14+1=15, Resulting Numbers: [15]
15,13 unequal: No Solution
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[66, 14, 16, 83], Operations: []
Exploring Operation: 83-66=17, Resulting Numbers: [14, 16, 17]
Generated Node #0,1: 13:[14, 16, 17] Operation: 83-66=17
Moving to Node #0,1
Current State: 13:[14, 16, 17], Operations: ['83-66=17']
Exploring Operation: 17-16=1, Resulting Numbers: [14, 1]
Generated Node #0,1,0: 13:[14, 1] Operation: 17-16=1
Moving to Node #0,1,0
Current State: 13:[14, 1], Operations: ['83-66=17', '17-16=1']
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
57,
8,
41,
77
] | 69 | [
"57-8=49",
"41+77=118",
"118-49=69"
] | Current State: 69:[57, 8, 41, 77], Operations: []
Exploring Operation: 57-8=49, Resulting Numbers: [41, 77, 49]
Generated Node #2: [41, 77, 49] from Operation: 57-8=49
Current State: 69:[41, 77, 49], Operations: ['57-8=49']
Exploring Operation: 41+77=118, Resulting Numbers: [49, 118]
Generated Node #3: [49, 118] from Operation: 41+77=118
Current State: 69:[49, 118], Operations: ['57-8=49', '41+77=118']
Exploring Operation: 118-49=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[57, 8, 41, 77], Operations: []
Exploring Operation: 77-57=20, Resulting Numbers: [8, 41, 20]
Generated Node #0,0: 69:[8, 41, 20] Operation: 77-57=20
Exploring Operation: 57+8=65, Resulting Numbers: [41, 77, 65]
Generated Node #0,1: 69:[41, 77, 65] Operation: 57+8=65
Exploring Operation: 41-8=33, Resulting Numbers: [57, 77, 33]
Generated Node #0,2: 69:[57, 77, 33] Operation: 41-8=33
Exploring Operation: 57-41=16, Resulting Numbers: [8, 77, 16]
Generated Node #0,3: 69:[8, 77, 16] Operation: 57-41=16
Moving to Node #0,3
Current State: 69:[8, 77, 16], Operations: ['57-41=16']
Exploring Operation: 16/8=2, Resulting Numbers: [77, 2]
Generated Node #0,3,0: 69:[77, 2] Operation: 16/8=2
Exploring Operation: 8+16=24, Resulting Numbers: [77, 24]
Generated Node #0,3,1: 69:[77, 24] Operation: 8+16=24
Exploring Operation: 16-8=8, Resulting Numbers: [77, 8]
Generated Node #0,3,2: 69:[77, 8] Operation: 16-8=8
Exploring Operation: 77-8=69, Resulting Numbers: [16, 69]
Generated Node #0,3,3: 69:[16, 69] Operation: 77-8=69
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 69:[16, 69], Operations: ['57-41=16', '77-8=69']
Exploring Operation: 16+69=85, Resulting Numbers: [85]
85,69 unequal: No Solution
Exploring Operation: 69-16=53, Resulting Numbers: [53]
53,69 unequal: No Solution
Exploring Operation: 16*69=1104, Resulting Numbers: [1104]
1104,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 69:[77, 2], Operations: ['57-41=16', '16/8=2']
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,69 unequal: No Solution
Exploring Operation: 77*2=154, Resulting Numbers: [154]
154,69 unequal: No Solution
Exploring Operation: 77+2=79, Resulting Numbers: [79]
79,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 69:[77, 24], Operations: ['57-41=16', '8+16=24']
Exploring Operation: 77+24=101, Resulting Numbers: [101]
101,69 unequal: No Solution
Exploring Operation: 77*24=1848, Resulting Numbers: [1848]
1848,69 unequal: No Solution
Exploring Operation: 77-24=53, Resulting Numbers: [53]
53,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 69:[77, 8], Operations: ['57-41=16', '16-8=8']
Exploring Operation: 77-8=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[57, 8, 41, 77], Operations: []
Exploring Operation: 57-41=16, Resulting Numbers: [8, 77, 16]
Generated Node #0,3: 69:[8, 77, 16] Operation: 57-41=16
Moving to Node #0,3
Current State: 69:[8, 77, 16], Operations: ['57-41=16']
Exploring Operation: 16-8=8, Resulting Numbers: [77, 8]
Generated Node #0,3,2: 69:[77, 8] Operation: 16-8=8
Moving to Node #0,3,2
Current State: 69:[77, 8], Operations: ['57-41=16', '16-8=8']
Exploring Operation: 77-8=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_4 | sum_heuristic |
[
67,
74,
50,
49
] | 69 | [
"74-49=25",
"50/25=2",
"67+2=69"
] | Current State: 69:[67, 74, 50, 49], Operations: []
Exploring Operation: 74-49=25, Resulting Numbers: [67, 50, 25]
Generated Node #2: [67, 50, 25] from Operation: 74-49=25
Current State: 69:[67, 50, 25], Operations: ['74-49=25']
Exploring Operation: 50/25=2, Resulting Numbers: [67, 2]
Generated Node #3: [67, 2] from Operation: 50/25=2
Current State: 69:[67, 2], Operations: ['74-49=25', '50/25=2']
Exploring Operation: 67+2=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[67, 74, 50, 49], Operations: []
Exploring Operation: 67-49=18, Resulting Numbers: [74, 50, 18]
Generated Node #0,0: 69:[74, 50, 18] Operation: 67-49=18
Exploring Operation: 74-49=25, Resulting Numbers: [67, 50, 25]
Generated Node #0,1: 69:[67, 50, 25] Operation: 74-49=25
Exploring Operation: 74-50=24, Resulting Numbers: [67, 49, 24]
Generated Node #0,2: 69:[67, 49, 24] Operation: 74-50=24
Exploring Operation: 50-49=1, Resulting Numbers: [67, 74, 1]
Generated Node #0,3: 69:[67, 74, 1] Operation: 50-49=1
Start Sub Search at level 1: Moving to Node #0,3
Current State: 69:[67, 74, 1], Operations: ['50-49=1']
Exploring Operation: 67+1=68, Resulting Numbers: [74, 68]
Generated Node #0,3,0: 69:[74, 68] Operation: 67+1=68
Exploring Operation: 67*1=67, Resulting Numbers: [74, 67]
Generated Node #0,3,1: 69:[74, 67] Operation: 67*1=67
Exploring Operation: 74-1=73, Resulting Numbers: [67, 73]
Generated Node #0,3,2: 69:[67, 73] Operation: 74-1=73
Exploring Operation: 74-67=7, Resulting Numbers: [1, 7]
Generated Node #0,3,3: 69:[1, 7] Operation: 74-67=7
Moving to Node #0,3,0
Current State: 69:[74, 68], Operations: ['50-49=1', '67+1=68']
Exploring Operation: 74-68=6, Resulting Numbers: [6]
6,69 unequal: No Solution
Exploring Operation: 74+68=142, Resulting Numbers: [142]
142,69 unequal: No Solution
Exploring Operation: 74*68=5032, Resulting Numbers: [5032]
5032,69 unequal: No Solution
Moving to Node #0,3,3
Current State: 69:[1, 7], Operations: ['50-49=1', '74-67=7']
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,69 unequal: No Solution
Exploring Operation: 1+7=8, Resulting Numbers: [8]
8,69 unequal: No Solution
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,69 unequal: No Solution
Exploring Operation: 1*7=7, Resulting Numbers: [7]
7,69 unequal: No Solution
Moving to Node #0,3,2
Current State: 69:[67, 73], Operations: ['50-49=1', '74-1=73']
Exploring Operation: 67+73=140, Resulting Numbers: [140]
140,69 unequal: No Solution
Exploring Operation: 67*73=4891, Resulting Numbers: [4891]
4891,69 unequal: No Solution
Exploring Operation: 73-67=6, Resulting Numbers: [6]
6,69 unequal: No Solution
Moving to Node #0,3,1
Current State: 69:[74, 67], Operations: ['50-49=1', '67*1=67']
Exploring Operation: 74+67=141, Resulting Numbers: [141]
141,69 unequal: No Solution
Exploring Operation: 74-67=7, Resulting Numbers: [7]
7,69 unequal: No Solution
Exploring Operation: 74*67=4958, Resulting Numbers: [4958]
4958,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[67, 50, 25], Operations: ['74-49=25']
Exploring Operation: 50/25=2, Resulting Numbers: [67, 2]
Generated Node #0,1,0: 69:[67, 2] Operation: 50/25=2
Exploring Operation: 50+25=75, Resulting Numbers: [67, 75]
Generated Node #0,1,1: 69:[67, 75] Operation: 50+25=75
Exploring Operation: 50-25=25, Resulting Numbers: [67, 25]
Generated Node #0,1,2: 69:[67, 25] Operation: 50-25=25
Exploring Operation: 67-50=17, Resulting Numbers: [25, 17]
Generated Node #0,1,3: 69:[25, 17] Operation: 67-50=17
Moving to Node #0,1,0
Current State: 69:[67, 2], Operations: ['74-49=25', '50/25=2']
Exploring Operation: 67*2=134, Resulting Numbers: [134]
134,69 unequal: No Solution
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,69 unequal: No Solution
Exploring Operation: 67+2=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[67, 74, 50, 49], Operations: []
Exploring Operation: 74-49=25, Resulting Numbers: [67, 50, 25]
Generated Node #0,1: 69:[67, 50, 25] Operation: 74-49=25
Moving to Node #0,1
Current State: 69:[67, 50, 25], Operations: ['74-49=25']
Exploring Operation: 50/25=2, Resulting Numbers: [67, 2]
Generated Node #0,1,0: 69:[67, 2] Operation: 50/25=2
Moving to Node #0,1,0
Current State: 69:[67, 2], Operations: ['74-49=25', '50/25=2']
Exploring Operation: 67+2=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.972222 | hs_4 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.