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 |
|---|---|---|---|---|---|---|---|---|
[
96,
22,
88,
14
] | 83 | [
"96+14=110",
"110/22=5",
"88-5=83"
] | Current State: 83:[96, 22, 88, 14], Operations: []
Exploring Operation: 96+14=110, Resulting Numbers: [22, 88, 110]
Generated Node #2: [22, 88, 110] from Operation: 96+14=110
Current State: 83:[22, 88, 110], Operations: ['96+14=110']
Exploring Operation: 110/22=5, Resulting Numbers: [88, 5]
Generated Node #3: [88, 5] from Operation: 110/22=5
Current State: 83:[88, 5], Operations: ['96+14=110', '110/22=5']
Exploring Operation: 88-5=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[96, 22, 88, 14], Operations: []
Exploring Operation: 22+14=36, Resulting Numbers: [96, 88, 36]
Generated Node #0,0: 83:[96, 88, 36] Operation: 22+14=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[96, 88, 36], Operations: ['22+14=36']
Exploring Operation: 96-36=60, Resulting Numbers: [88, 60]
Generated Node #0,0,0: 83:[88, 60] Operation: 96-36=60
Moving to Node #0,0,0
Current State: 83:[88, 60], Operations: ['22+14=36', '96-36=60']
Exploring Operation: 88-60=28, Resulting Numbers: [28]
28,83 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 |
[
26,
4,
49,
23
] | 50 | [
"26-4=22",
"49+23=72",
"72-22=50"
] | Current State: 50:[26, 4, 49, 23], Operations: []
Exploring Operation: 26-4=22, Resulting Numbers: [49, 23, 22]
Generated Node #2: [49, 23, 22] from Operation: 26-4=22
Current State: 50:[49, 23, 22], Operations: ['26-4=22']
Exploring Operation: 49+23=72, Resulting Numbers: [22, 72]
Generated Node #3: [22, 72] from Operation: 49+23=72
Current State: 50:[22, 72], Operations: ['26-4=22', '49+23=72']
Exploring Operation: 72-22=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[26, 4, 49, 23], Operations: []
Exploring Operation: 49-26=23, Resulting Numbers: [4, 23, 23]
Generated Node #0,0: 50:[4, 23, 23] Operation: 49-26=23
Exploring Operation: 26+23=49, Resulting Numbers: [4, 49, 49]
Generated Node #0,1: 50:[4, 49, 49] Operation: 26+23=49
Exploring Operation: 4+23=27, Resulting Numbers: [26, 49, 27]
Generated Node #0,2: 50:[26, 49, 27] Operation: 4+23=27
Exploring Operation: 26-23=3, Resulting Numbers: [4, 49, 3]
Generated Node #0,3: 50:[4, 49, 3] Operation: 26-23=3
Exploring Operation: 49-23=26, Resulting Numbers: [26, 4, 26]
Generated Node #0,4: 50:[26, 4, 26] Operation: 49-23=26
Moving to Node #0,1
Current State: 50:[4, 49, 49], Operations: ['26+23=49']
Exploring Operation: 4+49=53, Resulting Numbers: [49, 53]
Generated Node #0,1,0: 50:[49, 53] Operation: 4+49=53
Exploring Operation: 4+49=53, Resulting Numbers: [49, 53]
Generated Node #0,1,1: 50:[49, 53] Operation: 4+49=53
Exploring Operation: 49-49=0, Resulting Numbers: [4, 0]
Generated Node #0,1,2: 50:[4, 0] Operation: 49-49=0
Exploring Operation: 49-4=45, Resulting Numbers: [49, 45]
Generated Node #0,1,3: 50:[49, 45] Operation: 49-4=45
Exploring Operation: 49/49=1, Resulting Numbers: [4, 1]
Generated Node #0,1,4: 50:[4, 1] Operation: 49/49=1
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 50:[4, 1], Operations: ['26+23=49', '49/49=1']
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,50 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 50:[4, 0], Operations: ['26+23=49', '49-49=0']
Exploring Operation: 4-0=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Exploring Operation: 4+0=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Exploring Operation: 4*0=0, Resulting Numbers: [0]
0,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 50:[49, 53], Operations: ['26+23=49', '4+49=53']
Exploring Operation: 53-49=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Exploring Operation: 49+53=102, Resulting Numbers: [102]
102,50 unequal: No Solution
Exploring Operation: 49*53=2597, Resulting Numbers: [2597]
2597,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 50:[49, 53], Operations: ['26+23=49', '4+49=53']
Exploring Operation: 53-49=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Exploring Operation: 49*53=2597, Resulting Numbers: [2597]
2597,50 unequal: No Solution
Exploring Operation: 49+53=102, Resulting Numbers: [102]
102,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 50:[49, 45], Operations: ['26+23=49', '49-4=45']
Exploring Operation: 49*45=2205, Resulting Numbers: [2205]
2205,50 unequal: No Solution
Exploring Operation: 49+45=94, Resulting Numbers: [94]
94,50 unequal: No Solution
Exploring Operation: 49-45=4, Resulting Numbers: [4]
4,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 50:[26, 4, 26], Operations: ['49-23=26']
Exploring Operation: 26-26=0, Resulting Numbers: [4, 0]
Generated Node #0,4,0: 50:[4, 0] Operation: 26-26=0
Exploring Operation: 26+26=52, Resulting Numbers: [4, 52]
Generated Node #0,4,1: 50:[4, 52] Operation: 26+26=52
Exploring Operation: 26-4=22, Resulting Numbers: [26, 22]
Generated Node #0,4,2: 50:[26, 22] Operation: 26-4=22
Exploring Operation: 26-4=22, Resulting Numbers: [26, 22]
Generated Node #0,4,3: 50:[26, 22] Operation: 26-4=22
Exploring Operation: 26/26=1, Resulting Numbers: [4, 1]
Generated Node #0,4,4: 50:[4, 1] Operation: 26/26=1
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 50:[4, 1], Operations: ['49-23=26', '26/26=1']
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,50 unequal: No Solution
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,50 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 50:[4, 0], Operations: ['49-23=26', '26-26=0']
Exploring Operation: 4*0=0, Resulting Numbers: [0]
0,50 unequal: No Solution
Exploring Operation: 4-0=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Exploring Operation: 4+0=4, Resulting Numbers: [4]
4,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 50:[4, 52], Operations: ['49-23=26', '26+26=52']
Exploring Operation: 52-4=48, Resulting Numbers: [48]
48,50 unequal: No Solution
Exploring Operation: 4*52=208, Resulting Numbers: [208]
208,50 unequal: No Solution
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,50 unequal: No Solution
Exploring Operation: 4+52=56, Resulting Numbers: [56]
56,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 50:[26, 22], Operations: ['49-23=26', '26-4=22']
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Exploring Operation: 26*22=572, Resulting Numbers: [572]
572,50 unequal: No Solution
Exploring Operation: 26+22=48, Resulting Numbers: [48]
48,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 50:[26, 22], Operations: ['49-23=26', '26-4=22']
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Exploring Operation: 26+22=48, Resulting Numbers: [48]
48,50 unequal: No Solution
Exploring Operation: 26*22=572, Resulting Numbers: [572]
572,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 50:[4, 49, 3], Operations: ['26-23=3']
Exploring Operation: 4+3=7, Resulting Numbers: [49, 7]
Generated Node #0,3,0: 50:[49, 7] Operation: 4+3=7
Exploring Operation: 4*3=12, Resulting Numbers: [49, 12]
Generated Node #0,3,1: 50:[49, 12] Operation: 4*3=12
Exploring Operation: 4-3=1, Resulting Numbers: [49, 1]
Generated Node #0,3,2: 50:[49, 1] Operation: 4-3=1
Exploring Operation: 4+49=53, Resulting Numbers: [3, 53]
Generated Node #0,3,3: 50:[3, 53] Operation: 4+49=53
Exploring Operation: 49+3=52, Resulting Numbers: [4, 52]
Generated Node #0,3,4: 50:[4, 52] Operation: 49+3=52
Moving to Node #0,2
Current State: 50:[26, 49, 27], Operations: ['4+23=27']
Exploring Operation: 26+49=75, Resulting Numbers: [27, 75]
Generated Node #0,2,0: 50:[27, 75] Operation: 26+49=75
Exploring Operation: 27-26=1, Resulting Numbers: [49, 1]
Generated Node #0,2,1: 50:[49, 1] Operation: 27-26=1
Exploring Operation: 49-27=22, Resulting Numbers: [26, 22]
Generated Node #0,2,2: 50:[26, 22] Operation: 49-27=22
Exploring Operation: 26+27=53, Resulting Numbers: [49, 53]
Generated Node #0,2,3: 50:[49, 53] Operation: 26+27=53
Exploring Operation: 49-26=23, Resulting Numbers: [27, 23]
Generated Node #0,2,4: 50:[27, 23] Operation: 49-26=23
Moving to Node #0,0
Current State: 50:[4, 23, 23], Operations: ['49-26=23']
Exploring Operation: 23+23=46, Resulting Numbers: [4, 46]
Generated Node #0,0,0: 50:[4, 46] Operation: 23+23=46
Exploring Operation: 4+23=27, Resulting Numbers: [23, 27]
Generated Node #0,0,1: 50:[23, 27] Operation: 4+23=27
Exploring Operation: 23/23=1, Resulting Numbers: [4, 1]
Generated Node #0,0,2: 50:[4, 1] Operation: 23/23=1
Exploring Operation: 4+23=27, Resulting Numbers: [23, 27]
Generated Node #0,0,3: 50:[23, 27] Operation: 4+23=27
Exploring Operation: 23-23=0, Resulting Numbers: [4, 0]
Generated Node #0,0,4: 50:[4, 0] Operation: 23-23=0
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 50:[4, 1], Operations: ['49-26=23', '23/23=1']
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,50 unequal: No Solution
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,50 unequal: No Solution
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 50:[4, 0], Operations: ['49-26=23', '23-23=0']
Exploring Operation: 4+0=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Exploring Operation: 4*0=0, Resulting Numbers: [0]
0,50 unequal: No Solution
Exploring Operation: 4-0=4, Resulting Numbers: [4]
4,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 50:[23, 27], Operations: ['49-26=23', '4+23=27']
Exploring Operation: 23+27=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[26, 4, 49, 23], Operations: []
Exploring Operation: 49-26=23, Resulting Numbers: [4, 23, 23]
Generated Node #0,0: 50:[4, 23, 23] Operation: 49-26=23
Moving to Node #0,0
Current State: 50:[4, 23, 23], Operations: ['49-26=23']
Exploring Operation: 4+23=27, Resulting Numbers: [23, 27]
Generated Node #0,0,1: 50:[23, 27] Operation: 4+23=27
Moving to Node #0,0,1
Current State: 50:[23, 27], Operations: ['49-26=23', '4+23=27']
Exploring Operation: 23+27=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.934896 | hs_5 | mult_heuristic |
[
1,
38,
74,
95
] | 58 | [
"38-1=37",
"95-74=21",
"37+21=58"
] | Current State: 58:[1, 38, 74, 95], Operations: []
Exploring Operation: 38-1=37, Resulting Numbers: [74, 95, 37]
Generated Node #2: [74, 95, 37] from Operation: 38-1=37
Current State: 58:[74, 95, 37], Operations: ['38-1=37']
Exploring Operation: 95-74=21, Resulting Numbers: [37, 21]
Generated Node #3: [37, 21] from Operation: 95-74=21
Current State: 58:[37, 21], Operations: ['38-1=37', '95-74=21']
Exploring Operation: 37+21=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[1, 38, 74, 95], Operations: []
Exploring Operation: 95-38=57, Resulting Numbers: [1, 74, 57]
Generated Node #0,0: 58:[1, 74, 57] Operation: 95-38=57
Exploring Operation: 38-1=37, Resulting Numbers: [74, 95, 37]
Generated Node #0,1: 58:[74, 95, 37] Operation: 38-1=37
Exploring Operation: 95-74=21, Resulting Numbers: [1, 38, 21]
Generated Node #0,2: 58:[1, 38, 21] Operation: 95-74=21
Exploring Operation: 74-38=36, Resulting Numbers: [1, 95, 36]
Generated Node #0,3: 58:[1, 95, 36] Operation: 74-38=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[1, 74, 57], Operations: ['95-38=57']
Exploring Operation: 1*74=74, Resulting Numbers: [57, 74]
Generated Node #0,0,0: 58:[57, 74] Operation: 1*74=74
Exploring Operation: 74-57=17, Resulting Numbers: [1, 17]
Generated Node #0,0,1: 58:[1, 17] Operation: 74-57=17
Exploring Operation: 74-1=73, Resulting Numbers: [57, 73]
Generated Node #0,0,2: 58:[57, 73] Operation: 74-1=73
Exploring Operation: 1+57=58, Resulting Numbers: [74, 58]
Generated Node #0,0,3: 58:[74, 58] Operation: 1+57=58
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 58:[1, 17], Operations: ['95-38=57', '74-57=17']
Exploring Operation: 1*17=17, Resulting Numbers: [17]
17,58 unequal: No Solution
Exploring Operation: 1+17=18, Resulting Numbers: [18]
18,58 unequal: No Solution
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,58 unequal: No Solution
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 58:[57, 73], Operations: ['95-38=57', '74-1=73']
Exploring Operation: 57+73=130, Resulting Numbers: [130]
130,58 unequal: No Solution
Exploring Operation: 73-57=16, Resulting Numbers: [16]
16,58 unequal: No Solution
Exploring Operation: 57*73=4161, Resulting Numbers: [4161]
4161,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 58:[74, 58], Operations: ['95-38=57', '1+57=58']
Exploring Operation: 74-58=16, Resulting Numbers: [16]
16,58 unequal: No Solution
Exploring Operation: 74*58=4292, Resulting Numbers: [4292]
4292,58 unequal: No Solution
Exploring Operation: 74+58=132, Resulting Numbers: [132]
132,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 58:[57, 74], Operations: ['95-38=57', '1*74=74']
Exploring Operation: 74-57=17, Resulting Numbers: [17]
17,58 unequal: No Solution
Exploring Operation: 57*74=4218, Resulting Numbers: [4218]
4218,58 unequal: No Solution
Exploring Operation: 57+74=131, Resulting Numbers: [131]
131,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 58:[1, 38, 21], Operations: ['95-74=21']
Exploring Operation: 38-1=37, Resulting Numbers: [21, 37]
Generated Node #0,2,0: 58:[21, 37] Operation: 38-1=37
Exploring Operation: 38+21=59, Resulting Numbers: [1, 59]
Generated Node #0,2,1: 58:[1, 59] Operation: 38+21=59
Exploring Operation: 1+21=22, Resulting Numbers: [38, 22]
Generated Node #0,2,2: 58:[38, 22] Operation: 1+21=22
Exploring Operation: 38-21=17, Resulting Numbers: [1, 17]
Generated Node #0,2,3: 58:[1, 17] Operation: 38-21=17
Moving to Node #0,2,1
Current State: 58:[1, 59], Operations: ['95-74=21', '38+21=59']
Exploring Operation: 1+59=60, Resulting Numbers: [60]
60,58 unequal: No Solution
Exploring Operation: 59/1=59, Resulting Numbers: [59]
59,58 unequal: No Solution
Exploring Operation: 1*59=59, Resulting Numbers: [59]
59,58 unequal: No Solution
Exploring Operation: 59-1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[1, 38, 74, 95], Operations: []
Exploring Operation: 95-74=21, Resulting Numbers: [1, 38, 21]
Generated Node #0,2: 58:[1, 38, 21] Operation: 95-74=21
Moving to Node #0,2
Current State: 58:[1, 38, 21], Operations: ['95-74=21']
Exploring Operation: 38+21=59, Resulting Numbers: [1, 59]
Generated Node #0,2,1: 58:[1, 59] Operation: 38+21=59
Moving to Node #0,2,1
Current State: 58:[1, 59], Operations: ['95-74=21', '38+21=59']
Exploring Operation: 59-1=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.971354 | hs_4 | mult_heuristic |
[
88,
40,
8,
83
] | 81 | [
"88-8=80",
"80/40=2",
"83-2=81"
] | Current State: 81:[88, 40, 8, 83], Operations: []
Exploring Operation: 88-8=80, Resulting Numbers: [40, 83, 80]
Generated Node #2: [40, 83, 80] from Operation: 88-8=80
Current State: 81:[40, 83, 80], Operations: ['88-8=80']
Exploring Operation: 80/40=2, Resulting Numbers: [83, 2]
Generated Node #3: [83, 2] from Operation: 80/40=2
Current State: 81:[83, 2], Operations: ['88-8=80', '80/40=2']
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[88, 40, 8, 83], Operations: []
Exploring Operation: 88-83=5, Resulting Numbers: [40, 8, 5]
Generated Node #0,0: 81:[40, 8, 5] Operation: 88-83=5
Exploring Operation: 40/8=5, Resulting Numbers: [88, 83, 5]
Generated Node #0,1: 81:[88, 83, 5] Operation: 40/8=5
Exploring Operation: 88/8=11, Resulting Numbers: [40, 83, 11]
Generated Node #0,2: 81:[40, 83, 11] Operation: 88/8=11
Exploring Operation: 88-8=80, Resulting Numbers: [40, 83, 80]
Generated Node #0,3: 81:[40, 83, 80] Operation: 88-8=80
Exploring Operation: 40-8=32, Resulting Numbers: [88, 83, 32]
Generated Node #0,4: 81:[88, 83, 32] Operation: 40-8=32
Moving to Node #0,1
Current State: 81:[88, 83, 5], Operations: ['40/8=5']
Exploring Operation: 88-5=83, Resulting Numbers: [83, 83]
Generated Node #0,1,0: 81:[83, 83] Operation: 88-5=83
Exploring Operation: 83+5=88, Resulting Numbers: [88, 88]
Generated Node #0,1,1: 81:[88, 88] Operation: 83+5=88
Exploring Operation: 88-83=5, Resulting Numbers: [5, 5]
Generated Node #0,1,2: 81:[5, 5] Operation: 88-83=5
Exploring Operation: 88+5=93, Resulting Numbers: [83, 93]
Generated Node #0,1,3: 81:[83, 93] Operation: 88+5=93
Exploring Operation: 83-5=78, Resulting Numbers: [88, 78]
Generated Node #0,1,4: 81:[88, 78] Operation: 83-5=78
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 81:[83, 83], Operations: ['40/8=5', '88-5=83']
Exploring Operation: 83/83=1, Resulting Numbers: [1]
1,81 unequal: No Solution
Exploring Operation: 83*83=6889, Resulting Numbers: [6889]
6889,81 unequal: No Solution
Exploring Operation: 83+83=166, Resulting Numbers: [166]
166,81 unequal: No Solution
Exploring Operation: 83-83=0, Resulting Numbers: [0]
0,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 81:[5, 5], Operations: ['40/8=5', '88-83=5']
Exploring Operation: 5/5=1, Resulting Numbers: [1]
1,81 unequal: No Solution
Exploring Operation: 5+5=10, Resulting Numbers: [10]
10,81 unequal: No Solution
Exploring Operation: 5*5=25, Resulting Numbers: [25]
25,81 unequal: No Solution
Exploring Operation: 5-5=0, Resulting Numbers: [0]
0,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 81:[88, 78], Operations: ['40/8=5', '83-5=78']
Exploring Operation: 88+78=166, Resulting Numbers: [166]
166,81 unequal: No Solution
Exploring Operation: 88*78=6864, Resulting Numbers: [6864]
6864,81 unequal: No Solution
Exploring Operation: 88-78=10, Resulting Numbers: [10]
10,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 81:[88, 88], Operations: ['40/8=5', '83+5=88']
Exploring Operation: 88/88=1, Resulting Numbers: [1]
1,81 unequal: No Solution
Exploring Operation: 88*88=7744, Resulting Numbers: [7744]
7744,81 unequal: No Solution
Exploring Operation: 88-88=0, Resulting Numbers: [0]
0,81 unequal: No Solution
Exploring Operation: 88+88=176, Resulting Numbers: [176]
176,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 81:[83, 93], Operations: ['40/8=5', '88+5=93']
Exploring Operation: 83*93=7719, Resulting Numbers: [7719]
7719,81 unequal: No Solution
Exploring Operation: 93-83=10, Resulting Numbers: [10]
10,81 unequal: No Solution
Exploring Operation: 83+93=176, Resulting Numbers: [176]
176,81 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: 81:[88, 83, 32], Operations: ['40-8=32']
Exploring Operation: 88-32=56, Resulting Numbers: [83, 56]
Generated Node #0,4,0: 81:[83, 56] Operation: 88-32=56
Exploring Operation: 83-32=51, Resulting Numbers: [88, 51]
Generated Node #0,4,1: 81:[88, 51] Operation: 83-32=51
Exploring Operation: 83+32=115, Resulting Numbers: [88, 115]
Generated Node #0,4,2: 81:[88, 115] Operation: 83+32=115
Exploring Operation: 88-83=5, Resulting Numbers: [32, 5]
Generated Node #0,4,3: 81:[32, 5] Operation: 88-83=5
Exploring Operation: 88+32=120, Resulting Numbers: [83, 120]
Generated Node #0,4,4: 81:[83, 120] Operation: 88+32=120
Moving to Node #0,0
Current State: 81:[40, 8, 5], Operations: ['88-83=5']
Exploring Operation: 40/8=5, Resulting Numbers: [5, 5]
Generated Node #0,0,0: 81:[5, 5] Operation: 40/8=5
Exploring Operation: 8-5=3, Resulting Numbers: [40, 3]
Generated Node #0,0,1: 81:[40, 3] Operation: 8-5=3
Exploring Operation: 40-5=35, Resulting Numbers: [8, 35]
Generated Node #0,0,2: 81:[8, 35] Operation: 40-5=35
Exploring Operation: 40/5=8, Resulting Numbers: [8, 8]
Generated Node #0,0,3: 81:[8, 8] Operation: 40/5=8
Exploring Operation: 40-8=32, Resulting Numbers: [5, 32]
Generated Node #0,0,4: 81:[5, 32] Operation: 40-8=32
Moving to Node #0,3
Current State: 81:[40, 83, 80], Operations: ['88-8=80']
Exploring Operation: 80/40=2, Resulting Numbers: [83, 2]
Generated Node #0,3,0: 81:[83, 2] Operation: 80/40=2
Exploring Operation: 80-40=40, Resulting Numbers: [83, 40]
Generated Node #0,3,1: 81:[83, 40] Operation: 80-40=40
Exploring Operation: 83-80=3, Resulting Numbers: [40, 3]
Generated Node #0,3,2: 81:[40, 3] Operation: 83-80=3
Exploring Operation: 40+80=120, Resulting Numbers: [83, 120]
Generated Node #0,3,3: 81:[83, 120] Operation: 40+80=120
Exploring Operation: 83-40=43, Resulting Numbers: [80, 43]
Generated Node #0,3,4: 81:[80, 43] Operation: 83-40=43
Moving to Node #0,2
Current State: 81:[40, 83, 11], Operations: ['88/8=11']
Exploring Operation: 40+11=51, Resulting Numbers: [83, 51]
Generated Node #0,2,0: 81:[83, 51] Operation: 40+11=51
Exploring Operation: 83+11=94, Resulting Numbers: [40, 94]
Generated Node #0,2,1: 81:[40, 94] Operation: 83+11=94
Exploring Operation: 40-11=29, Resulting Numbers: [83, 29]
Generated Node #0,2,2: 81:[83, 29] Operation: 40-11=29
Exploring Operation: 83-40=43, Resulting Numbers: [11, 43]
Generated Node #0,2,3: 81:[11, 43] Operation: 83-40=43
Exploring Operation: 83-11=72, Resulting Numbers: [40, 72]
Generated Node #0,2,4: 81:[40, 72] Operation: 83-11=72
Moving to Node #0,0,3
Current State: 81:[8, 8], Operations: ['88-83=5', '40/5=8']
Exploring Operation: 8+8=16, Resulting Numbers: [16]
16,81 unequal: No Solution
Exploring Operation: 8-8=0, Resulting Numbers: [0]
0,81 unequal: No Solution
Exploring Operation: 8/8=1, Resulting Numbers: [1]
1,81 unequal: No Solution
Exploring Operation: 8*8=64, Resulting Numbers: [64]
64,81 unequal: No Solution
Moving to Node #0,3,0
Current State: 81:[83, 2], Operations: ['88-8=80', '80/40=2']
Exploring Operation: 83*2=166, Resulting Numbers: [166]
166,81 unequal: No Solution
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[88, 40, 8, 83], Operations: []
Exploring Operation: 88-8=80, Resulting Numbers: [40, 83, 80]
Generated Node #0,3: 81:[40, 83, 80] Operation: 88-8=80
Moving to Node #0,3
Current State: 81:[40, 83, 80], Operations: ['88-8=80']
Exploring Operation: 80/40=2, Resulting Numbers: [83, 2]
Generated Node #0,3,0: 81:[83, 2] Operation: 80/40=2
Moving to Node #0,3,0
Current State: 81:[83, 2], Operations: ['88-8=80', '80/40=2']
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 0.949653 | hs_5 | mult_heuristic |
[
79,
12,
65,
77
] | 51 | [
"79+12=91",
"65+77=142",
"142-91=51"
] | Current State: 51:[79, 12, 65, 77], Operations: []
Exploring Operation: 79+12=91, Resulting Numbers: [65, 77, 91]
Generated Node #2: [65, 77, 91] from Operation: 79+12=91
Current State: 51:[65, 77, 91], Operations: ['79+12=91']
Exploring Operation: 65+77=142, Resulting Numbers: [91, 142]
Generated Node #3: [91, 142] from Operation: 65+77=142
Current State: 51:[91, 142], Operations: ['79+12=91', '65+77=142']
Exploring Operation: 142-91=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[79, 12, 65, 77], Operations: []
Exploring Operation: 79-77=2, Resulting Numbers: [12, 65, 2]
Generated Node #0,0: 51:[12, 65, 2] Operation: 79-77=2
Exploring Operation: 79-65=14, Resulting Numbers: [12, 77, 14]
Generated Node #0,1: 51:[12, 77, 14] Operation: 79-65=14
Exploring Operation: 77-65=12, Resulting Numbers: [79, 12, 12]
Generated Node #0,2: 51:[79, 12, 12] Operation: 77-65=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[12, 65, 2], Operations: ['79-77=2']
Exploring Operation: 12+2=14, Resulting Numbers: [65, 14]
Generated Node #0,0,0: 51:[65, 14] Operation: 12+2=14
Exploring Operation: 12/2=6, Resulting Numbers: [65, 6]
Generated Node #0,0,1: 51:[65, 6] Operation: 12/2=6
Exploring Operation: 65-12=53, Resulting Numbers: [2, 53]
Generated Node #0,0,2: 51:[2, 53] Operation: 65-12=53
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 51:[2, 53], Operations: ['79-77=2', '65-12=53']
Exploring Operation: 2*53=106, Resulting Numbers: [106]
106,51 unequal: No Solution
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[79, 12, 65, 77], Operations: []
Exploring Operation: 79-77=2, Resulting Numbers: [12, 65, 2]
Generated Node #0,0: 51:[12, 65, 2] Operation: 79-77=2
Moving to Node #0,0
Current State: 51:[12, 65, 2], Operations: ['79-77=2']
Exploring Operation: 65-12=53, Resulting Numbers: [2, 53]
Generated Node #0,0,2: 51:[2, 53] Operation: 65-12=53
Moving to Node #0,0,2
Current State: 51:[2, 53], Operations: ['79-77=2', '65-12=53']
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
71,
18,
83,
41
] | 47 | [
"71+18=89",
"83-41=42",
"89-42=47"
] | Current State: 47:[71, 18, 83, 41], Operations: []
Exploring Operation: 71+18=89, Resulting Numbers: [83, 41, 89]
Generated Node #2: [83, 41, 89] from Operation: 71+18=89
Current State: 47:[83, 41, 89], Operations: ['71+18=89']
Exploring Operation: 83-41=42, Resulting Numbers: [89, 42]
Generated Node #3: [89, 42] from Operation: 83-41=42
Current State: 47:[89, 42], Operations: ['71+18=89', '83-41=42']
Exploring Operation: 89-42=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[71, 18, 83, 41], Operations: []
Exploring Operation: 71-18=53, Resulting Numbers: [83, 41, 53]
Generated Node #0,0: 47:[83, 41, 53] Operation: 71-18=53
Exploring Operation: 83-18=65, Resulting Numbers: [71, 41, 65]
Generated Node #0,1: 47:[71, 41, 65] Operation: 83-18=65
Exploring Operation: 83-41=42, Resulting Numbers: [71, 18, 42]
Generated Node #0,2: 47:[71, 18, 42] Operation: 83-41=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[83, 41, 53], Operations: ['71-18=53']
Exploring Operation: 83-41=42, Resulting Numbers: [53, 42]
Generated Node #0,0,0: 47:[53, 42] Operation: 83-41=42
Exploring Operation: 53-41=12, Resulting Numbers: [83, 12]
Generated Node #0,0,1: 47:[83, 12] Operation: 53-41=12
Exploring Operation: 83-53=30, Resulting Numbers: [41, 30]
Generated Node #0,0,2: 47:[41, 30] Operation: 83-53=30
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[53, 42], Operations: ['71-18=53', '83-41=42']
Exploring Operation: 53*42=2226, Resulting Numbers: [2226]
2226,47 unequal: No Solution
Exploring Operation: 53-42=11, Resulting Numbers: [11]
11,47 unequal: No Solution
Exploring Operation: 53+42=95, Resulting Numbers: [95]
95,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 47:[41, 30], Operations: ['71-18=53', '83-53=30']
Exploring Operation: 41+30=71, Resulting Numbers: [71]
71,47 unequal: No Solution
Exploring Operation: 41-30=11, Resulting Numbers: [11]
11,47 unequal: No Solution
Exploring Operation: 41*30=1230, Resulting Numbers: [1230]
1230,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 47:[83, 12], Operations: ['71-18=53', '53-41=12']
Exploring Operation: 83*12=996, Resulting Numbers: [996]
996,47 unequal: No Solution
Exploring Operation: 83-12=71, Resulting Numbers: [71]
71,47 unequal: No Solution
Exploring Operation: 83+12=95, Resulting Numbers: [95]
95,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[71, 41, 65], Operations: ['83-18=65']
Exploring Operation: 71-41=30, Resulting Numbers: [65, 30]
Generated Node #0,1,0: 47:[65, 30] Operation: 71-41=30
Exploring Operation: 65-41=24, Resulting Numbers: [71, 24]
Generated Node #0,1,1: 47:[71, 24] Operation: 65-41=24
Exploring Operation: 71-65=6, Resulting Numbers: [41, 6]
Generated Node #0,1,2: 47:[41, 6] Operation: 71-65=6
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 47:[65, 30], Operations: ['83-18=65', '71-41=30']
Exploring Operation: 65*30=1950, Resulting Numbers: [1950]
1950,47 unequal: No Solution
Exploring Operation: 65+30=95, Resulting Numbers: [95]
95,47 unequal: No Solution
Exploring Operation: 65-30=35, Resulting Numbers: [35]
35,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 47:[71, 24], Operations: ['83-18=65', '65-41=24']
Exploring Operation: 71-24=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[71, 18, 83, 41], Operations: []
Exploring Operation: 83-18=65, Resulting Numbers: [71, 41, 65]
Generated Node #0,1: 47:[71, 41, 65] Operation: 83-18=65
Moving to Node #0,1
Current State: 47:[71, 41, 65], Operations: ['83-18=65']
Exploring Operation: 65-41=24, Resulting Numbers: [71, 24]
Generated Node #0,1,1: 47:[71, 24] Operation: 65-41=24
Moving to Node #0,1,1
Current State: 47:[71, 24], Operations: ['83-18=65', '65-41=24']
Exploring Operation: 71-24=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.977431 | hs_3 | mult_heuristic |
[
33,
65,
15,
13
] | 99 | [
"33*15=495",
"65/13=5",
"495/5=99"
] | Current State: 99:[33, 65, 15, 13], Operations: []
Exploring Operation: 33*15=495, Resulting Numbers: [65, 13, 495]
Generated Node #2: [65, 13, 495] from Operation: 33*15=495
Current State: 99:[65, 13, 495], Operations: ['33*15=495']
Exploring Operation: 65/13=5, Resulting Numbers: [495, 5]
Generated Node #3: [495, 5] from Operation: 65/13=5
Current State: 99:[495, 5], Operations: ['33*15=495', '65/13=5']
Exploring Operation: 495/5=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[33, 65, 15, 13], Operations: []
Exploring Operation: 65/13=5, Resulting Numbers: [33, 15, 5]
Generated Node #0,0: 99:[33, 15, 5] Operation: 65/13=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[33, 15, 5], Operations: ['65/13=5']
Exploring Operation: 15/5=3, Resulting Numbers: [33, 3]
Generated Node #0,0,0: 99:[33, 3] Operation: 15/5=3
Moving to Node #0,0,0
Current State: 99:[33, 3], Operations: ['65/13=5', '15/5=3']
Exploring Operation: 33*3=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[33, 65, 15, 13], Operations: []
Exploring Operation: 65/13=5, Resulting Numbers: [33, 15, 5]
Generated Node #0,0: 99:[33, 15, 5] Operation: 65/13=5
Moving to Node #0,0
Current State: 99:[33, 15, 5], Operations: ['65/13=5']
Exploring Operation: 15/5=3, Resulting Numbers: [33, 3]
Generated Node #0,0,0: 99:[33, 3] Operation: 15/5=3
Moving to Node #0,0,0
Current State: 99:[33, 3], Operations: ['65/13=5', '15/5=3']
Exploring Operation: 33*3=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
67,
62,
30,
98
] | 61 | [
"67+62=129",
"98-30=68",
"129-68=61"
] | Current State: 61:[67, 62, 30, 98], Operations: []
Exploring Operation: 67+62=129, Resulting Numbers: [30, 98, 129]
Generated Node #2: [30, 98, 129] from Operation: 67+62=129
Current State: 61:[30, 98, 129], Operations: ['67+62=129']
Exploring Operation: 98-30=68, Resulting Numbers: [129, 68]
Generated Node #3: [129, 68] from Operation: 98-30=68
Current State: 61:[129, 68], Operations: ['67+62=129', '98-30=68']
Exploring Operation: 129-68=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[67, 62, 30, 98], Operations: []
Exploring Operation: 98-30=68, Resulting Numbers: [67, 62, 68]
Generated Node #0,0: 61:[67, 62, 68] Operation: 98-30=68
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[67, 62, 68], Operations: ['98-30=68']
Exploring Operation: 68-67=1, Resulting Numbers: [62, 1]
Generated Node #0,0,0: 61:[62, 1] Operation: 68-67=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 61:[62, 1], Operations: ['98-30=68', '68-67=1']
Exploring Operation: 62-1=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[67, 62, 30, 98], Operations: []
Exploring Operation: 98-30=68, Resulting Numbers: [67, 62, 68]
Generated Node #0,0: 61:[67, 62, 68] Operation: 98-30=68
Moving to Node #0,0
Current State: 61:[67, 62, 68], Operations: ['98-30=68']
Exploring Operation: 68-67=1, Resulting Numbers: [62, 1]
Generated Node #0,0,0: 61:[62, 1] Operation: 68-67=1
Moving to Node #0,0,0
Current State: 61:[62, 1], Operations: ['98-30=68', '68-67=1']
Exploring Operation: 62-1=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
40,
22,
2,
5
] | 45 | [
"40-22=18",
"18/2=9",
"5*9=45"
] | Current State: 45:[40, 22, 2, 5], Operations: []
Exploring Operation: 40-22=18, Resulting Numbers: [2, 5, 18]
Generated Node #2: [2, 5, 18] from Operation: 40-22=18
Current State: 45:[2, 5, 18], Operations: ['40-22=18']
Exploring Operation: 18/2=9, Resulting Numbers: [5, 9]
Generated Node #3: [5, 9] from Operation: 18/2=9
Current State: 45:[5, 9], Operations: ['40-22=18', '18/2=9']
Exploring Operation: 5*9=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[40, 22, 2, 5], Operations: []
Exploring Operation: 40-22=18, Resulting Numbers: [2, 5, 18]
Generated Node #0,0: 45:[2, 5, 18] Operation: 40-22=18
Moving to Node #0,0
Current State: 45:[2, 5, 18], Operations: ['40-22=18']
Exploring Operation: 18/2=9, Resulting Numbers: [5, 9]
Generated Node #0,0,0: 45:[5, 9] Operation: 18/2=9
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 45:[5, 9], Operations: ['40-22=18', '18/2=9']
Exploring Operation: 5*9=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[40, 22, 2, 5], Operations: []
Exploring Operation: 40-22=18, Resulting Numbers: [2, 5, 18]
Generated Node #0,0: 45:[2, 5, 18] Operation: 40-22=18
Moving to Node #0,0
Current State: 45:[2, 5, 18], Operations: ['40-22=18']
Exploring Operation: 18/2=9, Resulting Numbers: [5, 9]
Generated Node #0,0,0: 45:[5, 9] Operation: 18/2=9
Moving to Node #0,0,0
Current State: 45:[5, 9], Operations: ['40-22=18', '18/2=9']
Exploring Operation: 5*9=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
8,
36,
11,
53
] | 70 | [
"36-8=28",
"53-11=42",
"28+42=70"
] | Current State: 70:[8, 36, 11, 53], Operations: []
Exploring Operation: 36-8=28, Resulting Numbers: [11, 53, 28]
Generated Node #2: [11, 53, 28] from Operation: 36-8=28
Current State: 70:[11, 53, 28], Operations: ['36-8=28']
Exploring Operation: 53-11=42, Resulting Numbers: [28, 42]
Generated Node #3: [28, 42] from Operation: 53-11=42
Current State: 70:[28, 42], Operations: ['36-8=28', '53-11=42']
Exploring Operation: 28+42=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[8, 36, 11, 53], Operations: []
Exploring Operation: 11+53=64, Resulting Numbers: [8, 36, 64]
Generated Node #0,0: 70:[8, 36, 64] Operation: 11+53=64
Exploring Operation: 53-11=42, Resulting Numbers: [8, 36, 42]
Generated Node #0,1: 70:[8, 36, 42] Operation: 53-11=42
Exploring Operation: 53-36=17, Resulting Numbers: [8, 11, 17]
Generated Node #0,2: 70:[8, 11, 17] Operation: 53-36=17
Moving to Node #0,2
Current State: 70:[8, 11, 17], Operations: ['53-36=17']
Exploring Operation: 11-8=3, Resulting Numbers: [17, 3]
Generated Node #0,2,0: 70:[17, 3] Operation: 11-8=3
Exploring Operation: 17-8=9, Resulting Numbers: [11, 9]
Generated Node #0,2,1: 70:[11, 9] Operation: 17-8=9
Exploring Operation: 17-11=6, Resulting Numbers: [8, 6]
Generated Node #0,2,2: 70:[8, 6] Operation: 17-11=6
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 70:[11, 9], Operations: ['53-36=17', '17-8=9']
Exploring Operation: 11*9=99, Resulting Numbers: [99]
99,70 unequal: No Solution
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 11+9=20, Resulting Numbers: [20]
20,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 70:[8, 6], Operations: ['53-36=17', '17-11=6']
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,70 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 70:[17, 3], Operations: ['53-36=17', '11-8=3']
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,70 unequal: No Solution
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,70 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,70 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: 70:[8, 36, 64], Operations: ['11+53=64']
Exploring Operation: 8+64=72, Resulting Numbers: [36, 72]
Generated Node #0,0,0: 70:[36, 72] Operation: 8+64=72
Exploring Operation: 64-36=28, Resulting Numbers: [8, 28]
Generated Node #0,0,1: 70:[8, 28] Operation: 64-36=28
Exploring Operation: 64/8=8, Resulting Numbers: [36, 8]
Generated Node #0,0,2: 70:[36, 8] Operation: 64/8=8
Moving to Node #0,1
Current State: 70:[8, 36, 42], Operations: ['53-11=42']
Exploring Operation: 42-8=34, Resulting Numbers: [36, 34]
Generated Node #0,1,0: 70:[36, 34] Operation: 42-8=34
Exploring Operation: 36+42=78, Resulting Numbers: [8, 78]
Generated Node #0,1,1: 70:[8, 78] Operation: 36+42=78
Exploring Operation: 42-36=6, Resulting Numbers: [8, 6]
Generated Node #0,1,2: 70:[8, 6] Operation: 42-36=6
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 70:[36, 34], Operations: ['53-11=42', '42-8=34']
Exploring Operation: 36-34=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 36+34=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[8, 36, 11, 53], Operations: []
Exploring Operation: 53-11=42, Resulting Numbers: [8, 36, 42]
Generated Node #0,1: 70:[8, 36, 42] Operation: 53-11=42
Moving to Node #0,1
Current State: 70:[8, 36, 42], Operations: ['53-11=42']
Exploring Operation: 42-8=34, Resulting Numbers: [36, 34]
Generated Node #0,1,0: 70:[36, 34] Operation: 42-8=34
Moving to Node #0,1,0
Current State: 70:[36, 34], Operations: ['53-11=42', '42-8=34']
Exploring Operation: 36+34=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_3 | mult_heuristic |
[
28,
38,
55,
66
] | 54 | [
"28+38=66",
"66/66=1",
"55-1=54"
] | Current State: 54:[28, 38, 55, 66], Operations: []
Exploring Operation: 28+38=66, Resulting Numbers: [55, 66, 66]
Generated Node #2: [55, 66, 66] from Operation: 28+38=66
Current State: 54:[55, 66, 66], Operations: ['28+38=66']
Exploring Operation: 66/66=1, Resulting Numbers: [55, 1]
Generated Node #3: [55, 1] from Operation: 66/66=1
Current State: 54:[55, 1], Operations: ['28+38=66', '66/66=1']
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[28, 38, 55, 66], Operations: []
Exploring Operation: 55-38=17, Resulting Numbers: [28, 66, 17]
Generated Node #0,0: 54:[28, 66, 17] Operation: 55-38=17
Exploring Operation: 55-28=27, Resulting Numbers: [38, 66, 27]
Generated Node #0,1: 54:[38, 66, 27] Operation: 55-28=27
Exploring Operation: 38-28=10, Resulting Numbers: [55, 66, 10]
Generated Node #0,2: 54:[55, 66, 10] Operation: 38-28=10
Exploring Operation: 66-38=28, Resulting Numbers: [28, 55, 28]
Generated Node #0,3: 54:[28, 55, 28] Operation: 66-38=28
Exploring Operation: 66-55=11, Resulting Numbers: [28, 38, 11]
Generated Node #0,4: 54:[28, 38, 11] Operation: 66-55=11
Start Sub Search at level 1: Moving to Node #0,3
Current State: 54:[28, 55, 28], Operations: ['66-38=28']
Exploring Operation: 28/28=1, Resulting Numbers: [55, 1]
Generated Node #0,3,0: 54:[55, 1] Operation: 28/28=1
Exploring Operation: 55-28=27, Resulting Numbers: [28, 27]
Generated Node #0,3,1: 54:[28, 27] Operation: 55-28=27
Exploring Operation: 28+28=56, Resulting Numbers: [55, 56]
Generated Node #0,3,2: 54:[55, 56] Operation: 28+28=56
Exploring Operation: 28-28=0, Resulting Numbers: [55, 0]
Generated Node #0,3,3: 54:[55, 0] Operation: 28-28=0
Exploring Operation: 55-28=27, Resulting Numbers: [28, 27]
Generated Node #0,3,4: 54:[28, 27] Operation: 55-28=27
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 54:[28, 27], Operations: ['66-38=28', '55-28=27']
Exploring Operation: 28*27=756, Resulting Numbers: [756]
756,54 unequal: No Solution
Exploring Operation: 28+27=55, Resulting Numbers: [55]
55,54 unequal: No Solution
Exploring Operation: 28-27=1, Resulting Numbers: [1]
1,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 54:[28, 27], Operations: ['66-38=28', '55-28=27']
Exploring Operation: 28-27=1, Resulting Numbers: [1]
1,54 unequal: No Solution
Exploring Operation: 28+27=55, Resulting Numbers: [55]
55,54 unequal: No Solution
Exploring Operation: 28*27=756, Resulting Numbers: [756]
756,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 54:[55, 1], Operations: ['66-38=28', '28/28=1']
Exploring Operation: 55+1=56, Resulting Numbers: [56]
56,54 unequal: No Solution
Exploring Operation: 55/1=55, Resulting Numbers: [55]
55,54 unequal: No Solution
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[28, 38, 55, 66], Operations: []
Exploring Operation: 66-38=28, Resulting Numbers: [28, 55, 28]
Generated Node #0,3: 54:[28, 55, 28] Operation: 66-38=28
Moving to Node #0,3
Current State: 54:[28, 55, 28], Operations: ['66-38=28']
Exploring Operation: 28/28=1, Resulting Numbers: [55, 1]
Generated Node #0,3,0: 54:[55, 1] Operation: 28/28=1
Moving to Node #0,3,0
Current State: 54:[55, 1], Operations: ['66-38=28', '28/28=1']
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 | hs_5 | mult_heuristic |
[
48,
49,
1,
48
] | 50 | [
"48+49=97",
"48-1=47",
"97-47=50"
] | Current State: 50:[48, 49, 1, 48], Operations: []
Exploring Operation: 48+49=97, Resulting Numbers: [1, 97]
Generated Node #2: [1, 97] from Operation: 48+49=97
Current State: 50:[1, 97], Operations: ['48+49=97']
Exploring Operation: 48-1=47, Resulting Numbers: [97, 47]
Generated Node #3: [97, 47] from Operation: 48-1=47
Current State: 50:[97, 47], Operations: ['48+49=97', '48-1=47']
Exploring Operation: 97-47=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[48, 49, 1, 48], Operations: []
Exploring Operation: 48/48=1, Resulting Numbers: [49, 1, 1]
Generated Node #0,0: 50:[49, 1, 1] Operation: 48/48=1
Exploring Operation: 48+1=49, Resulting Numbers: [49, 48, 49]
Generated Node #0,1: 50:[49, 48, 49] Operation: 48+1=49
Exploring Operation: 49-48=1, Resulting Numbers: [1, 48, 1]
Generated Node #0,2: 50:[1, 48, 1] Operation: 49-48=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[49, 1, 1], Operations: ['48/48=1']
Exploring Operation: 1+1=2, Resulting Numbers: [49, 2]
Generated Node #0,0,0: 50:[49, 2] Operation: 1+1=2
Exploring Operation: 49+1=50, Resulting Numbers: [1, 50]
Generated Node #0,0,1: 50:[1, 50] Operation: 49+1=50
Exploring Operation: 49+1=50, Resulting Numbers: [1, 50]
Generated Node #0,0,2: 50:[1, 50] Operation: 49+1=50
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 50:[49, 2], Operations: ['48/48=1', '1+1=2']
Exploring Operation: 49*2=98, Resulting Numbers: [98]
98,50 unequal: No Solution
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,50 unequal: No Solution
Exploring Operation: 49+2=51, Resulting Numbers: [51]
51,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 50:[1, 50], Operations: ['48/48=1', '49+1=50']
Exploring Operation: 1+50=51, Resulting Numbers: [51]
51,50 unequal: No Solution
Exploring Operation: 1*50=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[48, 49, 1, 48], Operations: []
Exploring Operation: 48/48=1, Resulting Numbers: [49, 1, 1]
Generated Node #0,0: 50:[49, 1, 1] Operation: 48/48=1
Moving to Node #0,0
Current State: 50:[49, 1, 1], Operations: ['48/48=1']
Exploring Operation: 49+1=50, Resulting Numbers: [1, 50]
Generated Node #0,0,1: 50:[1, 50] Operation: 49+1=50
Moving to Node #0,0,1
Current State: 50:[1, 50], Operations: ['48/48=1', '49+1=50']
Exploring Operation: 1*50=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
96,
25,
2,
87
] | 18 | [
"96-25=71",
"2+87=89",
"89-71=18"
] | Current State: 18:[96, 25, 2, 87], Operations: []
Exploring Operation: 96-25=71, Resulting Numbers: [2, 87, 71]
Generated Node #2: [2, 87, 71] from Operation: 96-25=71
Current State: 18:[2, 87, 71], Operations: ['96-25=71']
Exploring Operation: 2+87=89, Resulting Numbers: [71, 89]
Generated Node #3: [71, 89] from Operation: 2+87=89
Current State: 18:[71, 89], Operations: ['96-25=71', '2+87=89']
Exploring Operation: 89-71=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[96, 25, 2, 87], Operations: []
Exploring Operation: 96-87=9, Resulting Numbers: [25, 2, 9]
Generated Node #0,0: 18:[25, 2, 9] Operation: 96-87=9
Exploring Operation: 96/2=48, Resulting Numbers: [25, 87, 48]
Generated Node #0,1: 18:[25, 87, 48] Operation: 96/2=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[25, 2, 9], Operations: ['96-87=9']
Exploring Operation: 25-2=23, Resulting Numbers: [9, 23]
Generated Node #0,0,0: 18:[9, 23] Operation: 25-2=23
Exploring Operation: 25-9=16, Resulting Numbers: [2, 16]
Generated Node #0,0,1: 18:[2, 16] Operation: 25-9=16
Moving to Node #0,0,1
Current State: 18:[2, 16], Operations: ['96-87=9', '25-9=16']
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,18 unequal: No Solution
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[96, 25, 2, 87], Operations: []
Exploring Operation: 96-87=9, Resulting Numbers: [25, 2, 9]
Generated Node #0,0: 18:[25, 2, 9] Operation: 96-87=9
Moving to Node #0,0
Current State: 18:[25, 2, 9], Operations: ['96-87=9']
Exploring Operation: 25-9=16, Resulting Numbers: [2, 16]
Generated Node #0,0,1: 18:[2, 16] Operation: 25-9=16
Moving to Node #0,0,1
Current State: 18:[2, 16], Operations: ['96-87=9', '25-9=16']
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
59,
61,
28,
18
] | 48 | [
"61-59=2",
"28+18=46",
"2+46=48"
] | Current State: 48:[59, 61, 28, 18], Operations: []
Exploring Operation: 61-59=2, Resulting Numbers: [28, 18, 2]
Generated Node #2: [28, 18, 2] from Operation: 61-59=2
Current State: 48:[28, 18, 2], Operations: ['61-59=2']
Exploring Operation: 28+18=46, Resulting Numbers: [2, 46]
Generated Node #3: [2, 46] from Operation: 28+18=46
Current State: 48:[2, 46], Operations: ['61-59=2', '28+18=46']
Exploring Operation: 2+46=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[59, 61, 28, 18], Operations: []
Exploring Operation: 61-59=2, Resulting Numbers: [28, 18, 2]
Generated Node #0,0: 48:[28, 18, 2] Operation: 61-59=2
Exploring Operation: 61-18=43, Resulting Numbers: [59, 28, 43]
Generated Node #0,1: 48:[59, 28, 43] Operation: 61-18=43
Moving to Node #0,0
Current State: 48:[28, 18, 2], Operations: ['61-59=2']
Exploring Operation: 28+18=46, Resulting Numbers: [2, 46]
Generated Node #0,0,0: 48:[2, 46] Operation: 28+18=46
Exploring Operation: 28-18=10, Resulting Numbers: [2, 10]
Generated Node #0,0,1: 48:[2, 10] Operation: 28-18=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[2, 46], Operations: ['61-59=2', '28+18=46']
Exploring Operation: 2+46=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[59, 61, 28, 18], Operations: []
Exploring Operation: 61-59=2, Resulting Numbers: [28, 18, 2]
Generated Node #0,0: 48:[28, 18, 2] Operation: 61-59=2
Moving to Node #0,0
Current State: 48:[28, 18, 2], Operations: ['61-59=2']
Exploring Operation: 28+18=46, Resulting Numbers: [2, 46]
Generated Node #0,0,0: 48:[2, 46] Operation: 28+18=46
Moving to Node #0,0,0
Current State: 48:[2, 46], Operations: ['61-59=2', '28+18=46']
Exploring Operation: 2+46=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
78,
92,
49,
26
] | 89 | [
"92-78=14",
"49+26=75",
"14+75=89"
] | Current State: 89:[78, 92, 49, 26], Operations: []
Exploring Operation: 92-78=14, Resulting Numbers: [49, 26, 14]
Generated Node #2: [49, 26, 14] from Operation: 92-78=14
Current State: 89:[49, 26, 14], Operations: ['92-78=14']
Exploring Operation: 49+26=75, Resulting Numbers: [14, 75]
Generated Node #3: [14, 75] from Operation: 49+26=75
Current State: 89:[14, 75], Operations: ['92-78=14', '49+26=75']
Exploring Operation: 14+75=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[78, 92, 49, 26], Operations: []
Exploring Operation: 49+26=75, Resulting Numbers: [78, 92, 75]
Generated Node #0,0: 89:[78, 92, 75] Operation: 49+26=75
Exploring Operation: 78+26=104, Resulting Numbers: [92, 49, 104]
Generated Node #0,1: 89:[92, 49, 104] Operation: 78+26=104
Exploring Operation: 92-26=66, Resulting Numbers: [78, 49, 66]
Generated Node #0,2: 89:[78, 49, 66] Operation: 92-26=66
Exploring Operation: 78-26=52, Resulting Numbers: [92, 49, 52]
Generated Node #0,3: 89:[92, 49, 52] Operation: 78-26=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[78, 92, 75], Operations: ['49+26=75']
Exploring Operation: 92-78=14, Resulting Numbers: [75, 14]
Generated Node #0,0,0: 89:[75, 14] Operation: 92-78=14
Exploring Operation: 92-75=17, Resulting Numbers: [78, 17]
Generated Node #0,0,1: 89:[78, 17] Operation: 92-75=17
Exploring Operation: 78+75=153, Resulting Numbers: [92, 153]
Generated Node #0,0,2: 89:[92, 153] Operation: 78+75=153
Exploring Operation: 78-75=3, Resulting Numbers: [92, 3]
Generated Node #0,0,3: 89:[92, 3] Operation: 78-75=3
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 89:[92, 153], Operations: ['49+26=75', '78+75=153']
Exploring Operation: 153-92=61, Resulting Numbers: [61]
61,89 unequal: No Solution
Exploring Operation: 92+153=245, Resulting Numbers: [245]
245,89 unequal: No Solution
Exploring Operation: 92*153=14076, Resulting Numbers: [14076]
14076,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:[78, 17], Operations: ['49+26=75', '92-75=17']
Exploring Operation: 78+17=95, Resulting Numbers: [95]
95,89 unequal: No Solution
Exploring Operation: 78*17=1326, Resulting Numbers: [1326]
1326,89 unequal: No Solution
Exploring Operation: 78-17=61, Resulting Numbers: [61]
61,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:[75, 14], Operations: ['49+26=75', '92-78=14']
Exploring Operation: 75-14=61, Resulting Numbers: [61]
61,89 unequal: No Solution
Exploring Operation: 75*14=1050, Resulting Numbers: [1050]
1050,89 unequal: No Solution
Exploring Operation: 75+14=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[78, 92, 49, 26], Operations: []
Exploring Operation: 49+26=75, Resulting Numbers: [78, 92, 75]
Generated Node #0,0: 89:[78, 92, 75] Operation: 49+26=75
Moving to Node #0,0
Current State: 89:[78, 92, 75], Operations: ['49+26=75']
Exploring Operation: 92-78=14, Resulting Numbers: [75, 14]
Generated Node #0,0,0: 89:[75, 14] Operation: 92-78=14
Moving to Node #0,0,0
Current State: 89:[75, 14], Operations: ['49+26=75', '92-78=14']
Exploring Operation: 75+14=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771 | hs_4 | mult_heuristic |
[
5,
48,
50,
42
] | 52 | [
"50-48=2",
"5*2=10",
"42+10=52"
] | Current State: 52:[5, 48, 50, 42], Operations: []
Exploring Operation: 50-48=2, Resulting Numbers: [5, 42, 2]
Generated Node #2: [5, 42, 2] from Operation: 50-48=2
Current State: 52:[5, 42, 2], Operations: ['50-48=2']
Exploring Operation: 5*2=10, Resulting Numbers: [42, 10]
Generated Node #3: [42, 10] from Operation: 5*2=10
Current State: 52:[42, 10], Operations: ['50-48=2', '5*2=10']
Exploring Operation: 42+10=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[5, 48, 50, 42], Operations: []
Exploring Operation: 48-42=6, Resulting Numbers: [5, 50, 6]
Generated Node #0,0: 52:[5, 50, 6] Operation: 48-42=6
Moving to Node #0,0
Current State: 52:[5, 50, 6], Operations: ['48-42=6']
Exploring Operation: 6-5=1, Resulting Numbers: [50, 1]
Generated Node #0,0,0: 52:[50, 1] Operation: 6-5=1
Moving to Node #0,0,0
Current State: 52:[50, 1], Operations: ['48-42=6', '6-5=1']
Exploring Operation: 50+1=51, Resulting Numbers: [51]
51,52 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
79,
5,
36,
92
] | 29 | [
"92-79=13",
"5*13=65",
"65-36=29"
] | Current State: 29:[79, 5, 36, 92], Operations: []
Exploring Operation: 92-79=13, Resulting Numbers: [5, 36, 13]
Generated Node #2: [5, 36, 13] from Operation: 92-79=13
Current State: 29:[5, 36, 13], Operations: ['92-79=13']
Exploring Operation: 5*13=65, Resulting Numbers: [36, 65]
Generated Node #3: [36, 65] from Operation: 5*13=65
Current State: 29:[36, 65], Operations: ['92-79=13', '5*13=65']
Exploring Operation: 65-36=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[79, 5, 36, 92], Operations: []
Exploring Operation: 79-36=43, Resulting Numbers: [5, 92, 43]
Generated Node #0,0: 29:[5, 92, 43] Operation: 79-36=43
Exploring Operation: 79-5=74, Resulting Numbers: [36, 92, 74]
Generated Node #0,1: 29:[36, 92, 74] Operation: 79-5=74
Exploring Operation: 92-36=56, Resulting Numbers: [79, 5, 56]
Generated Node #0,2: 29:[79, 5, 56] Operation: 92-36=56
Exploring Operation: 92-79=13, Resulting Numbers: [5, 36, 13]
Generated Node #0,3: 29:[5, 36, 13] Operation: 92-79=13
Moving to Node #0,3
Current State: 29:[5, 36, 13], Operations: ['92-79=13']
Exploring Operation: 36-5=31, Resulting Numbers: [13, 31]
Generated Node #0,3,0: 29:[13, 31] Operation: 36-5=31
Exploring Operation: 5+36=41, Resulting Numbers: [13, 41]
Generated Node #0,3,1: 29:[13, 41] Operation: 5+36=41
Exploring Operation: 5+13=18, Resulting Numbers: [36, 18]
Generated Node #0,3,2: 29:[36, 18] Operation: 5+13=18
Exploring Operation: 13-5=8, Resulting Numbers: [36, 8]
Generated Node #0,3,3: 29:[36, 8] Operation: 13-5=8
Moving to Node #0,2
Current State: 29:[79, 5, 56], Operations: ['92-36=56']
Exploring Operation: 56-5=51, Resulting Numbers: [79, 51]
Generated Node #0,2,0: 29:[79, 51] Operation: 56-5=51
Exploring Operation: 79+5=84, Resulting Numbers: [56, 84]
Generated Node #0,2,1: 29:[56, 84] Operation: 79+5=84
Exploring Operation: 79-5=74, Resulting Numbers: [56, 74]
Generated Node #0,2,2: 29:[56, 74] Operation: 79-5=74
Exploring Operation: 79-56=23, Resulting Numbers: [5, 23]
Generated Node #0,2,3: 29:[5, 23] Operation: 79-56=23
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 29:[5, 23], Operations: ['92-36=56', '79-56=23']
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,29 unequal: No Solution
Exploring Operation: 5*23=115, Resulting Numbers: [115]
115,29 unequal: No Solution
Exploring Operation: 5+23=28, Resulting Numbers: [28]
28,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 29:[79, 51], Operations: ['92-36=56', '56-5=51']
Exploring Operation: 79*51=4029, Resulting Numbers: [4029]
4029,29 unequal: No Solution
Exploring Operation: 79+51=130, Resulting Numbers: [130]
130,29 unequal: No Solution
Exploring Operation: 79-51=28, Resulting Numbers: [28]
28,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 29:[56, 74], Operations: ['92-36=56', '79-5=74']
Exploring Operation: 56+74=130, Resulting Numbers: [130]
130,29 unequal: No Solution
Exploring Operation: 74-56=18, Resulting Numbers: [18]
18,29 unequal: No Solution
Exploring Operation: 56*74=4144, Resulting Numbers: [4144]
4144,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 29:[56, 84], Operations: ['92-36=56', '79+5=84']
Exploring Operation: 84-56=28, Resulting Numbers: [28]
28,29 unequal: No Solution
Exploring Operation: 56*84=4704, Resulting Numbers: [4704]
4704,29 unequal: No Solution
Exploring Operation: 56+84=140, Resulting Numbers: [140]
140,29 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: 29:[5, 92, 43], Operations: ['79-36=43']
Exploring Operation: 92-5=87, Resulting Numbers: [43, 87]
Generated Node #0,0,0: 29:[43, 87] Operation: 92-5=87
Exploring Operation: 43-5=38, Resulting Numbers: [92, 38]
Generated Node #0,0,1: 29:[92, 38] Operation: 43-5=38
Exploring Operation: 92-43=49, Resulting Numbers: [5, 49]
Generated Node #0,0,2: 29:[5, 49] Operation: 92-43=49
Exploring Operation: 5+92=97, Resulting Numbers: [43, 97]
Generated Node #0,0,3: 29:[43, 97] Operation: 5+92=97
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 29:[5, 49], Operations: ['79-36=43', '92-43=49']
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,29 unequal: No Solution
Exploring Operation: 5*49=245, Resulting Numbers: [245]
245,29 unequal: No Solution
Exploring Operation: 5+49=54, Resulting Numbers: [54]
54,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 29:[43, 87], Operations: ['79-36=43', '92-5=87']
Exploring Operation: 43*87=3741, Resulting Numbers: [3741]
3741,29 unequal: No Solution
Exploring Operation: 87-43=44, Resulting Numbers: [44]
44,29 unequal: No Solution
Exploring Operation: 43+87=130, Resulting Numbers: [130]
130,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 29:[92, 38], Operations: ['79-36=43', '43-5=38']
Exploring Operation: 92-38=54, Resulting Numbers: [54]
54,29 unequal: No Solution
Exploring Operation: 92*38=3496, Resulting Numbers: [3496]
3496,29 unequal: No Solution
Exploring Operation: 92+38=130, Resulting Numbers: [130]
130,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 29:[43, 97], Operations: ['79-36=43', '5+92=97']
Exploring Operation: 43*97=4171, Resulting Numbers: [4171]
4171,29 unequal: No Solution
Exploring Operation: 43+97=140, Resulting Numbers: [140]
140,29 unequal: No Solution
Exploring Operation: 97-43=54, Resulting Numbers: [54]
54,29 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: 29:[36, 92, 74], Operations: ['79-5=74']
Exploring Operation: 74-36=38, Resulting Numbers: [92, 38]
Generated Node #0,1,0: 29:[92, 38] Operation: 74-36=38
Exploring Operation: 36+92=128, Resulting Numbers: [74, 128]
Generated Node #0,1,1: 29:[74, 128] Operation: 36+92=128
Exploring Operation: 92-74=18, Resulting Numbers: [36, 18]
Generated Node #0,1,2: 29:[36, 18] Operation: 92-74=18
Exploring Operation: 92-36=56, Resulting Numbers: [74, 56]
Generated Node #0,1,3: 29:[74, 56] Operation: 92-36=56
Moving to Node #0,3,0
Current State: 29:[13, 31], Operations: ['92-79=13', '36-5=31']
Exploring Operation: 13+31=44, Resulting Numbers: [44]
44,29 unequal: No Solution
Exploring Operation: 31-13=18, Resulting Numbers: [18]
18,29 unequal: No Solution
Exploring Operation: 13*31=403, Resulting Numbers: [403]
403,29 unequal: No Solution
Moving to Node #0,3,2
Current State: 29:[36, 18], Operations: ['92-79=13', '5+13=18']
Exploring Operation: 36/18=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,29 unequal: No Solution
Exploring Operation: 36+18=54, Resulting Numbers: [54]
54,29 unequal: No Solution
Exploring Operation: 36*18=648, Resulting Numbers: [648]
648,29 unequal: No Solution
Moving to Node #0,1,2
Current State: 29:[36, 18], Operations: ['79-5=74', '92-74=18']
Exploring Operation: 36*18=648, Resulting Numbers: [648]
648,29 unequal: No Solution
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,29 unequal: No Solution
Exploring Operation: 36/18=2, Resulting Numbers: [2]
2,29 unequal: No Solution
Exploring Operation: 36+18=54, Resulting Numbers: [54]
54,29 unequal: No Solution
Moving to Node #0,3,1
Current State: 29:[13, 41], Operations: ['92-79=13', '5+36=41']
Exploring Operation: 13*41=533, Resulting Numbers: [533]
533,29 unequal: No Solution
Exploring Operation: 13+41=54, Resulting Numbers: [54]
54,29 unequal: No Solution
Exploring Operation: 41-13=28, Resulting Numbers: [28]
28,29 unequal: No Solution
Moving to Node #0,3,3
Current State: 29:[36, 8], Operations: ['92-79=13', '13-5=8']
Exploring Operation: 36*8=288, Resulting Numbers: [288]
288,29 unequal: No Solution
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,29 unequal: No Solution
Exploring Operation: 36+8=44, Resulting Numbers: [44]
44,29 unequal: No Solution
Moving to Node #0,1,0
Current State: 29:[92, 38], Operations: ['79-5=74', '74-36=38']
Exploring Operation: 92*38=3496, Resulting Numbers: [3496]
3496,29 unequal: No Solution
Exploring Operation: 92-38=54, Resulting Numbers: [54]
54,29 unequal: No Solution
Exploring Operation: 92+38=130, Resulting Numbers: [130]
130,29 unequal: No Solution
Moving to Node #0,1,3
Current State: 29:[74, 56], Operations: ['79-5=74', '92-36=56']
Exploring Operation: 74*56=4144, Resulting Numbers: [4144]
4144,29 unequal: No Solution
Exploring Operation: 74+56=130, Resulting Numbers: [130]
130,29 unequal: No Solution
Exploring Operation: 74-56=18, Resulting Numbers: [18]
18,29 unequal: No Solution
Moving to Node #0,1,1
Current State: 29:[74, 128], Operations: ['79-5=74', '36+92=128']
Exploring Operation: 74+128=202, Resulting Numbers: [202]
202,29 unequal: No Solution
Exploring Operation: 74*128=9472, Resulting Numbers: [9472]
9472,29 unequal: No Solution
Exploring Operation: 128-74=54, Resulting Numbers: [54]
54,29 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
2,
92,
8,
64
] | 54 | [
"92/2=46",
"64/8=8",
"46+8=54"
] | Current State: 54:[2, 92, 8, 64], Operations: []
Exploring Operation: 92/2=46, Resulting Numbers: [8, 64, 46]
Generated Node #2: [8, 64, 46] from Operation: 92/2=46
Current State: 54:[8, 64, 46], Operations: ['92/2=46']
Exploring Operation: 64/8=8, Resulting Numbers: [46, 8]
Generated Node #3: [46, 8] from Operation: 64/8=8
Current State: 54:[46, 8], Operations: ['92/2=46', '64/8=8']
Exploring Operation: 46+8=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[2, 92, 8, 64], Operations: []
Exploring Operation: 64/8=8, Resulting Numbers: [2, 92, 8]
Generated Node #0,0: 54:[2, 92, 8] Operation: 64/8=8
Exploring Operation: 92-8=84, Resulting Numbers: [2, 64, 84]
Generated Node #0,1: 54:[2, 64, 84] Operation: 92-8=84
Exploring Operation: 92-64=28, Resulting Numbers: [2, 8, 28]
Generated Node #0,2: 54:[2, 8, 28] Operation: 92-64=28
Exploring Operation: 92/2=46, Resulting Numbers: [8, 64, 46]
Generated Node #0,3: 54:[8, 64, 46] Operation: 92/2=46
Moving to Node #0,2
Current State: 54:[2, 8, 28], Operations: ['92-64=28']
Exploring Operation: 28-2=26, Resulting Numbers: [8, 26]
Generated Node #0,2,0: 54:[8, 26] Operation: 28-2=26
Exploring Operation: 8/2=4, Resulting Numbers: [28, 4]
Generated Node #0,2,1: 54:[28, 4] Operation: 8/2=4
Exploring Operation: 2+8=10, Resulting Numbers: [28, 10]
Generated Node #0,2,2: 54:[28, 10] Operation: 2+8=10
Exploring Operation: 8-2=6, Resulting Numbers: [28, 6]
Generated Node #0,2,3: 54:[28, 6] Operation: 8-2=6
Moving to Node #0,3
Current State: 54:[8, 64, 46], Operations: ['92/2=46']
Exploring Operation: 8+46=54, Resulting Numbers: [64, 54]
Generated Node #0,3,0: 54:[64, 54] Operation: 8+46=54
Exploring Operation: 64/8=8, Resulting Numbers: [46, 8]
Generated Node #0,3,1: 54:[46, 8] Operation: 64/8=8
Exploring Operation: 64-8=56, Resulting Numbers: [46, 56]
Generated Node #0,3,2: 54:[46, 56] Operation: 64-8=56
Exploring Operation: 64-46=18, Resulting Numbers: [8, 18]
Generated Node #0,3,3: 54:[8, 18] Operation: 64-46=18
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 54:[8, 18], Operations: ['92/2=46', '64-46=18']
Exploring Operation: 8*18=144, Resulting Numbers: [144]
144,54 unequal: No Solution
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,54 unequal: No Solution
Exploring Operation: 8+18=26, Resulting Numbers: [26]
26,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 54:[46, 8], Operations: ['92/2=46', '64/8=8']
Exploring Operation: 46*8=368, Resulting Numbers: [368]
368,54 unequal: No Solution
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,54 unequal: No Solution
Exploring Operation: 46+8=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[2, 92, 8, 64], Operations: []
Exploring Operation: 92/2=46, Resulting Numbers: [8, 64, 46]
Generated Node #0,3: 54:[8, 64, 46] Operation: 92/2=46
Moving to Node #0,3
Current State: 54:[8, 64, 46], Operations: ['92/2=46']
Exploring Operation: 64/8=8, Resulting Numbers: [46, 8]
Generated Node #0,3,1: 54:[46, 8] Operation: 64/8=8
Moving to Node #0,3,1
Current State: 54:[46, 8], Operations: ['92/2=46', '64/8=8']
Exploring Operation: 46+8=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_4 | sum_heuristic |
[
8,
2,
22,
88
] | 29 | [
"8+22=30",
"88-30=58",
"58/2=29"
] | Current State: 29:[8, 2, 22, 88], Operations: []
Exploring Operation: 8+22=30, Resulting Numbers: [2, 88, 30]
Generated Node #2: [2, 88, 30] from Operation: 8+22=30
Current State: 29:[2, 88, 30], Operations: ['8+22=30']
Exploring Operation: 88-30=58, Resulting Numbers: [2, 58]
Generated Node #3: [2, 58] from Operation: 88-30=58
Current State: 29:[2, 58], Operations: ['8+22=30', '88-30=58']
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[8, 2, 22, 88], Operations: []
Exploring Operation: 88/2=44, Resulting Numbers: [8, 22, 44]
Generated Node #0,0: 29:[8, 22, 44] Operation: 88/2=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[8, 22, 44], Operations: ['88/2=44']
Exploring Operation: 44-8=36, Resulting Numbers: [22, 36]
Generated Node #0,0,0: 29:[22, 36] Operation: 44-8=36
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 29:[22, 36], Operations: ['88/2=44', '44-8=36']
Exploring Operation: 36-22=14, Resulting Numbers: [14]
14,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
30,
3,
43,
55
] | 45 | [
"30+3=33",
"55-43=12",
"33+12=45"
] | Current State: 45:[30, 3, 43, 55], Operations: []
Exploring Operation: 30+3=33, Resulting Numbers: [43, 55, 33]
Generated Node #2: [43, 55, 33] from Operation: 30+3=33
Current State: 45:[43, 55, 33], Operations: ['30+3=33']
Exploring Operation: 55-43=12, Resulting Numbers: [33, 12]
Generated Node #3: [33, 12] from Operation: 55-43=12
Current State: 45:[33, 12], Operations: ['30+3=33', '55-43=12']
Exploring Operation: 33+12=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[30, 3, 43, 55], Operations: []
Exploring Operation: 43-30=13, Resulting Numbers: [3, 55, 13]
Generated Node #0,0: 45:[3, 55, 13] Operation: 43-30=13
Moving to Node #0,0
Current State: 45:[3, 55, 13], Operations: ['43-30=13']
Exploring Operation: 55-13=42, Resulting Numbers: [3, 42]
Generated Node #0,0,0: 45:[3, 42] Operation: 55-13=42
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 45:[3, 42], Operations: ['43-30=13', '55-13=42']
Exploring Operation: 3+42=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[30, 3, 43, 55], Operations: []
Exploring Operation: 43-30=13, Resulting Numbers: [3, 55, 13]
Generated Node #0,0: 45:[3, 55, 13] Operation: 43-30=13
Moving to Node #0,0
Current State: 45:[3, 55, 13], Operations: ['43-30=13']
Exploring Operation: 55-13=42, Resulting Numbers: [3, 42]
Generated Node #0,0,0: 45:[3, 42] Operation: 55-13=42
Moving to Node #0,0,0
Current State: 45:[3, 42], Operations: ['43-30=13', '55-13=42']
Exploring Operation: 3+42=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
52,
14,
47,
94
] | 85 | [
"52-14=38",
"94-47=47",
"38+47=85"
] | Current State: 85:[52, 14, 47, 94], Operations: []
Exploring Operation: 52-14=38, Resulting Numbers: [47, 94, 38]
Generated Node #2: [47, 94, 38] from Operation: 52-14=38
Current State: 85:[47, 94, 38], Operations: ['52-14=38']
Exploring Operation: 94-47=47, Resulting Numbers: [38, 47]
Generated Node #3: [38, 47] from Operation: 94-47=47
Current State: 85:[38, 47], Operations: ['52-14=38', '94-47=47']
Exploring Operation: 38+47=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[52, 14, 47, 94], Operations: []
Exploring Operation: 52+47=99, Resulting Numbers: [14, 94, 99]
Generated Node #0,0: 85:[14, 94, 99] Operation: 52+47=99
Exploring Operation: 52-47=5, Resulting Numbers: [14, 94, 5]
Generated Node #0,1: 85:[14, 94, 5] Operation: 52-47=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[14, 94, 5], Operations: ['52-47=5']
Exploring Operation: 94-14=80, Resulting Numbers: [5, 80]
Generated Node #0,1,0: 85:[5, 80] Operation: 94-14=80
Exploring Operation: 94-5=89, Resulting Numbers: [14, 89]
Generated Node #0,1,1: 85:[14, 89] Operation: 94-5=89
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 85:[5, 80], Operations: ['52-47=5', '94-14=80']
Exploring Operation: 80/5=16, Resulting Numbers: [16]
16,85 unequal: No Solution
Exploring Operation: 5+80=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[52, 14, 47, 94], Operations: []
Exploring Operation: 52-47=5, Resulting Numbers: [14, 94, 5]
Generated Node #0,1: 85:[14, 94, 5] Operation: 52-47=5
Moving to Node #0,1
Current State: 85:[14, 94, 5], Operations: ['52-47=5']
Exploring Operation: 94-14=80, Resulting Numbers: [5, 80]
Generated Node #0,1,0: 85:[5, 80] Operation: 94-14=80
Moving to Node #0,1,0
Current State: 85:[5, 80], Operations: ['52-47=5', '94-14=80']
Exploring Operation: 5+80=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
57,
41,
21,
66
] | 11 | [
"57+41=98",
"21+66=87",
"98-87=11"
] | Current State: 11:[57, 41, 21, 66], Operations: []
Exploring Operation: 57+41=98, Resulting Numbers: [21, 66, 98]
Generated Node #2: [21, 66, 98] from Operation: 57+41=98
Current State: 11:[21, 66, 98], Operations: ['57+41=98']
Exploring Operation: 21+66=87, Resulting Numbers: [98, 87]
Generated Node #3: [98, 87] from Operation: 21+66=87
Current State: 11:[98, 87], Operations: ['57+41=98', '21+66=87']
Exploring Operation: 98-87=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[57, 41, 21, 66], Operations: []
Exploring Operation: 57-21=36, Resulting Numbers: [41, 66, 36]
Generated Node #0,0: 11:[41, 66, 36] Operation: 57-21=36
Exploring Operation: 41-21=20, Resulting Numbers: [57, 66, 20]
Generated Node #0,1: 11:[57, 66, 20] Operation: 41-21=20
Exploring Operation: 66-57=9, Resulting Numbers: [41, 21, 9]
Generated Node #0,2: 11:[41, 21, 9] Operation: 66-57=9
Exploring Operation: 57-41=16, Resulting Numbers: [21, 66, 16]
Generated Node #0,3: 11:[21, 66, 16] Operation: 57-41=16
Exploring Operation: 66-41=25, Resulting Numbers: [57, 21, 25]
Generated Node #0,4: 11:[57, 21, 25] Operation: 66-41=25
Moving to Node #0,2
Current State: 11:[41, 21, 9], Operations: ['66-57=9']
Exploring Operation: 41+9=50, Resulting Numbers: [21, 50]
Generated Node #0,2,0: 11:[21, 50] Operation: 41+9=50
Exploring Operation: 21+9=30, Resulting Numbers: [41, 30]
Generated Node #0,2,1: 11:[41, 30] Operation: 21+9=30
Exploring Operation: 41-21=20, Resulting Numbers: [9, 20]
Generated Node #0,2,2: 11:[9, 20] Operation: 41-21=20
Exploring Operation: 41-9=32, Resulting Numbers: [21, 32]
Generated Node #0,2,3: 11:[21, 32] Operation: 41-9=32
Exploring Operation: 21-9=12, Resulting Numbers: [41, 12]
Generated Node #0,2,4: 11:[41, 12] Operation: 21-9=12
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 11:[9, 20], Operations: ['66-57=9', '41-21=20']
Exploring Operation: 9*20=180, Resulting Numbers: [180]
180,11 unequal: No Solution
Exploring Operation: 9+20=29, Resulting Numbers: [29]
29,11 unequal: No Solution
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[57, 41, 21, 66], Operations: []
Exploring Operation: 66-57=9, Resulting Numbers: [41, 21, 9]
Generated Node #0,2: 11:[41, 21, 9] Operation: 66-57=9
Moving to Node #0,2
Current State: 11:[41, 21, 9], Operations: ['66-57=9']
Exploring Operation: 41-21=20, Resulting Numbers: [9, 20]
Generated Node #0,2,2: 11:[9, 20] Operation: 41-21=20
Moving to Node #0,2,2
Current State: 11:[9, 20], Operations: ['66-57=9', '41-21=20']
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
53,
22,
41,
59
] | 49 | [
"53-22=31",
"59-41=18",
"31+18=49"
] | Current State: 49:[53, 22, 41, 59], Operations: []
Exploring Operation: 53-22=31, Resulting Numbers: [41, 59, 31]
Generated Node #2: [41, 59, 31] from Operation: 53-22=31
Current State: 49:[41, 59, 31], Operations: ['53-22=31']
Exploring Operation: 59-41=18, Resulting Numbers: [31, 18]
Generated Node #3: [31, 18] from Operation: 59-41=18
Current State: 49:[31, 18], Operations: ['53-22=31', '59-41=18']
Exploring Operation: 31+18=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[53, 22, 41, 59], Operations: []
Exploring Operation: 59-53=6, Resulting Numbers: [22, 41, 6]
Generated Node #0,0: 49:[22, 41, 6] Operation: 59-53=6
Exploring Operation: 41-22=19, Resulting Numbers: [53, 59, 19]
Generated Node #0,1: 49:[53, 59, 19] Operation: 41-22=19
Exploring Operation: 59-22=37, Resulting Numbers: [53, 41, 37]
Generated Node #0,2: 49:[53, 41, 37] Operation: 59-22=37
Moving to Node #0,0
Current State: 49:[22, 41, 6], Operations: ['59-53=6']
Exploring Operation: 41-22=19, Resulting Numbers: [6, 19]
Generated Node #0,0,0: 49:[6, 19] Operation: 41-22=19
Exploring Operation: 22-6=16, Resulting Numbers: [41, 16]
Generated Node #0,0,1: 49:[41, 16] Operation: 22-6=16
Exploring Operation: 22+41=63, Resulting Numbers: [6, 63]
Generated Node #0,0,2: 49:[6, 63] Operation: 22+41=63
Moving to Node #0,2
Current State: 49:[53, 41, 37], Operations: ['59-22=37']
Exploring Operation: 53-37=16, Resulting Numbers: [41, 16]
Generated Node #0,2,0: 49:[41, 16] Operation: 53-37=16
Exploring Operation: 41-37=4, Resulting Numbers: [53, 4]
Generated Node #0,2,1: 49:[53, 4] Operation: 41-37=4
Exploring Operation: 53-41=12, Resulting Numbers: [37, 12]
Generated Node #0,2,2: 49:[37, 12] Operation: 53-41=12
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 49:[53, 4], Operations: ['59-22=37', '41-37=4']
Exploring Operation: 53*4=212, Resulting Numbers: [212]
212,49 unequal: No Solution
Exploring Operation: 53+4=57, Resulting Numbers: [57]
57,49 unequal: No Solution
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[53, 22, 41, 59], Operations: []
Exploring Operation: 59-22=37, Resulting Numbers: [53, 41, 37]
Generated Node #0,2: 49:[53, 41, 37] Operation: 59-22=37
Moving to Node #0,2
Current State: 49:[53, 41, 37], Operations: ['59-22=37']
Exploring Operation: 41-37=4, Resulting Numbers: [53, 4]
Generated Node #0,2,1: 49:[53, 4] Operation: 41-37=4
Moving to Node #0,2,1
Current State: 49:[53, 4], Operations: ['59-22=37', '41-37=4']
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | sum_heuristic |
[
27,
69,
40,
70
] | 66 | [
"27+69=96",
"70-40=30",
"96-30=66"
] | Current State: 66:[27, 69, 40, 70], Operations: []
Exploring Operation: 27+69=96, Resulting Numbers: [40, 70, 96]
Generated Node #2: [40, 70, 96] from Operation: 27+69=96
Current State: 66:[40, 70, 96], Operations: ['27+69=96']
Exploring Operation: 70-40=30, Resulting Numbers: [96, 30]
Generated Node #3: [96, 30] from Operation: 70-40=30
Current State: 66:[96, 30], Operations: ['27+69=96', '70-40=30']
Exploring Operation: 96-30=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[27, 69, 40, 70], Operations: []
Exploring Operation: 40-27=13, Resulting Numbers: [69, 70, 13]
Generated Node #0,0: 66:[69, 70, 13] Operation: 40-27=13
Exploring Operation: 27+40=67, Resulting Numbers: [69, 70, 67]
Generated Node #0,1: 66:[69, 70, 67] Operation: 27+40=67
Exploring Operation: 70-40=30, Resulting Numbers: [27, 69, 30]
Generated Node #0,2: 66:[27, 69, 30] Operation: 70-40=30
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[69, 70, 67], Operations: ['27+40=67']
Exploring Operation: 70-69=1, Resulting Numbers: [67, 1]
Generated Node #0,1,0: 66:[67, 1] Operation: 70-69=1
Exploring Operation: 70-67=3, Resulting Numbers: [69, 3]
Generated Node #0,1,1: 66:[69, 3] Operation: 70-67=3
Exploring Operation: 69-67=2, Resulting Numbers: [70, 2]
Generated Node #0,1,2: 66:[70, 2] Operation: 69-67=2
Moving to Node #0,1,0
Current State: 66:[67, 1], Operations: ['27+40=67', '70-69=1']
Exploring Operation: 67*1=67, Resulting Numbers: [67]
67,66 unequal: No Solution
Exploring Operation: 67-1=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[27, 69, 40, 70], Operations: []
Exploring Operation: 27+40=67, Resulting Numbers: [69, 70, 67]
Generated Node #0,1: 66:[69, 70, 67] Operation: 27+40=67
Moving to Node #0,1
Current State: 66:[69, 70, 67], Operations: ['27+40=67']
Exploring Operation: 70-69=1, Resulting Numbers: [67, 1]
Generated Node #0,1,0: 66:[67, 1] Operation: 70-69=1
Moving to Node #0,1,0
Current State: 66:[67, 1], Operations: ['27+40=67', '70-69=1']
Exploring Operation: 67-1=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
7,
51,
29,
72
] | 74 | [
"7+51=58",
"58/29=2",
"72+2=74"
] | Current State: 74:[7, 51, 29, 72], Operations: []
Exploring Operation: 7+51=58, Resulting Numbers: [29, 72, 58]
Generated Node #2: [29, 72, 58] from Operation: 7+51=58
Current State: 74:[29, 72, 58], Operations: ['7+51=58']
Exploring Operation: 58/29=2, Resulting Numbers: [72, 2]
Generated Node #3: [72, 2] from Operation: 58/29=2
Current State: 74:[72, 2], Operations: ['7+51=58', '58/29=2']
Exploring Operation: 72+2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[7, 51, 29, 72], Operations: []
Exploring Operation: 51-29=22, Resulting Numbers: [7, 72, 22]
Generated Node #0,0: 74:[7, 72, 22] Operation: 51-29=22
Exploring Operation: 7+29=36, Resulting Numbers: [51, 72, 36]
Generated Node #0,1: 74:[51, 72, 36] Operation: 7+29=36
Exploring Operation: 51-7=44, Resulting Numbers: [29, 72, 44]
Generated Node #0,2: 74:[29, 72, 44] Operation: 51-7=44
Exploring Operation: 72-29=43, Resulting Numbers: [7, 51, 43]
Generated Node #0,3: 74:[7, 51, 43] Operation: 72-29=43
Exploring Operation: 51+29=80, Resulting Numbers: [7, 72, 80]
Generated Node #0,4: 74:[7, 72, 80] Operation: 51+29=80
Start Sub Search at level 1: Moving to Node #0,4
Current State: 74:[7, 72, 80], Operations: ['51+29=80']
Exploring Operation: 80-7=73, Resulting Numbers: [72, 73]
Generated Node #0,4,0: 74:[72, 73] Operation: 80-7=73
Exploring Operation: 72-7=65, Resulting Numbers: [80, 65]
Generated Node #0,4,1: 74:[80, 65] Operation: 72-7=65
Exploring Operation: 7+72=79, Resulting Numbers: [80, 79]
Generated Node #0,4,2: 74:[80, 79] Operation: 7+72=79
Exploring Operation: 80-72=8, Resulting Numbers: [7, 8]
Generated Node #0,4,3: 74:[7, 8] Operation: 80-72=8
Exploring Operation: 7+80=87, Resulting Numbers: [72, 87]
Generated Node #0,4,4: 74:[72, 87] Operation: 7+80=87
Moving to Node #0,4,0
Current State: 74:[72, 73], Operations: ['51+29=80', '80-7=73']
Exploring Operation: 72*73=5256, Resulting Numbers: [5256]
5256,74 unequal: No Solution
Exploring Operation: 72+73=145, Resulting Numbers: [145]
145,74 unequal: No Solution
Exploring Operation: 73-72=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Moving to Node #0,4,3
Current State: 74:[7, 8], Operations: ['51+29=80', '80-72=8']
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,74 unequal: No Solution
Moving to Node #0,4,2
Current State: 74:[80, 79], Operations: ['51+29=80', '7+72=79']
Exploring Operation: 80+79=159, Resulting Numbers: [159]
159,74 unequal: No Solution
Exploring Operation: 80*79=6320, Resulting Numbers: [6320]
6320,74 unequal: No Solution
Exploring Operation: 80-79=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Moving to Node #0,4,1
Current State: 74:[80, 65], Operations: ['51+29=80', '72-7=65']
Exploring Operation: 80+65=145, Resulting Numbers: [145]
145,74 unequal: No Solution
Exploring Operation: 80-65=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Exploring Operation: 80*65=5200, Resulting Numbers: [5200]
5200,74 unequal: No Solution
Moving to Node #0,4,4
Current State: 74:[72, 87], Operations: ['51+29=80', '7+80=87']
Exploring Operation: 87-72=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Exploring Operation: 72+87=159, Resulting Numbers: [159]
159,74 unequal: No Solution
Exploring Operation: 72*87=6264, Resulting Numbers: [6264]
6264,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[51, 72, 36], Operations: ['7+29=36']
Exploring Operation: 72/36=2, Resulting Numbers: [51, 2]
Generated Node #0,1,0: 74:[51, 2] Operation: 72/36=2
Exploring Operation: 51-36=15, Resulting Numbers: [72, 15]
Generated Node #0,1,1: 74:[72, 15] Operation: 51-36=15
Exploring Operation: 72-51=21, Resulting Numbers: [36, 21]
Generated Node #0,1,2: 74:[36, 21] Operation: 72-51=21
Exploring Operation: 72-36=36, Resulting Numbers: [51, 36]
Generated Node #0,1,3: 74:[51, 36] Operation: 72-36=36
Exploring Operation: 51+36=87, Resulting Numbers: [72, 87]
Generated Node #0,1,4: 74:[72, 87] Operation: 51+36=87
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 74:[51, 2], Operations: ['7+29=36', '72/36=2']
Exploring Operation: 51+2=53, Resulting Numbers: [53]
53,74 unequal: No Solution
Exploring Operation: 51*2=102, Resulting Numbers: [102]
102,74 unequal: No Solution
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 74:[72, 15], Operations: ['7+29=36', '51-36=15']
Exploring Operation: 72+15=87, Resulting Numbers: [87]
87,74 unequal: No Solution
Exploring Operation: 72*15=1080, Resulting Numbers: [1080]
1080,74 unequal: No Solution
Exploring Operation: 72-15=57, Resulting Numbers: [57]
57,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 74:[51, 36], Operations: ['7+29=36', '72-36=36']
Exploring Operation: 51+36=87, Resulting Numbers: [87]
87,74 unequal: No Solution
Exploring Operation: 51*36=1836, Resulting Numbers: [1836]
1836,74 unequal: No Solution
Exploring Operation: 51-36=15, Resulting Numbers: [15]
15,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 74:[72, 87], Operations: ['7+29=36', '51+36=87']
Exploring Operation: 72*87=6264, Resulting Numbers: [6264]
6264,74 unequal: No Solution
Exploring Operation: 87-72=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Exploring Operation: 72+87=159, Resulting Numbers: [159]
159,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 74:[36, 21], Operations: ['7+29=36', '72-51=21']
Exploring Operation: 36+21=57, Resulting Numbers: [57]
57,74 unequal: No Solution
Exploring Operation: 36-21=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Exploring Operation: 36*21=756, Resulting Numbers: [756]
756,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 74:[29, 72, 44], Operations: ['51-7=44']
Exploring Operation: 72-44=28, Resulting Numbers: [29, 28]
Generated Node #0,2,0: 74:[29, 28] Operation: 72-44=28
Exploring Operation: 44-29=15, Resulting Numbers: [72, 15]
Generated Node #0,2,1: 74:[72, 15] Operation: 44-29=15
Exploring Operation: 29+44=73, Resulting Numbers: [72, 73]
Generated Node #0,2,2: 74:[72, 73] Operation: 29+44=73
Exploring Operation: 72-29=43, Resulting Numbers: [44, 43]
Generated Node #0,2,3: 74:[44, 43] Operation: 72-29=43
Exploring Operation: 29+72=101, Resulting Numbers: [44, 101]
Generated Node #0,2,4: 74:[44, 101] Operation: 29+72=101
Moving to Node #0,2,2
Current State: 74:[72, 73], Operations: ['51-7=44', '29+44=73']
Exploring Operation: 72+73=145, Resulting Numbers: [145]
145,74 unequal: No Solution
Exploring Operation: 72*73=5256, Resulting Numbers: [5256]
5256,74 unequal: No Solution
Exploring Operation: 73-72=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Moving to Node #0,2,3
Current State: 74:[44, 43], Operations: ['51-7=44', '72-29=43']
Exploring Operation: 44-43=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Exploring Operation: 44+43=87, Resulting Numbers: [87]
87,74 unequal: No Solution
Exploring Operation: 44*43=1892, Resulting Numbers: [1892]
1892,74 unequal: No Solution
Moving to Node #0,2,1
Current State: 74:[72, 15], Operations: ['51-7=44', '44-29=15']
Exploring Operation: 72+15=87, Resulting Numbers: [87]
87,74 unequal: No Solution
Exploring Operation: 72-15=57, Resulting Numbers: [57]
57,74 unequal: No Solution
Exploring Operation: 72*15=1080, Resulting Numbers: [1080]
1080,74 unequal: No Solution
Moving to Node #0,2,0
Current State: 74:[29, 28], Operations: ['51-7=44', '72-44=28']
Exploring Operation: 29-28=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Exploring Operation: 29*28=812, Resulting Numbers: [812]
812,74 unequal: No Solution
Exploring Operation: 29+28=57, Resulting Numbers: [57]
57,74 unequal: No Solution
Moving to Node #0,2,4
Current State: 74:[44, 101], Operations: ['51-7=44', '29+72=101']
Exploring Operation: 44*101=4444, Resulting Numbers: [4444]
4444,74 unequal: No Solution
Exploring Operation: 101-44=57, Resulting Numbers: [57]
57,74 unequal: No Solution
Exploring Operation: 44+101=145, Resulting Numbers: [145]
145,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 74:[7, 72, 22], Operations: ['51-29=22']
Exploring Operation: 7+72=79, Resulting Numbers: [22, 79]
Generated Node #0,0,0: 74:[22, 79] Operation: 7+72=79
Exploring Operation: 72-7=65, Resulting Numbers: [22, 65]
Generated Node #0,0,1: 74:[22, 65] Operation: 72-7=65
Exploring Operation: 7+22=29, Resulting Numbers: [72, 29]
Generated Node #0,0,2: 74:[72, 29] Operation: 7+22=29
Exploring Operation: 22-7=15, Resulting Numbers: [72, 15]
Generated Node #0,0,3: 74:[72, 15] Operation: 22-7=15
Exploring Operation: 72-22=50, Resulting Numbers: [7, 50]
Generated Node #0,0,4: 74:[7, 50] Operation: 72-22=50
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 74:[72, 29], Operations: ['51-29=22', '7+22=29']
Exploring Operation: 72+29=101, Resulting Numbers: [101]
101,74 unequal: No Solution
Exploring Operation: 72-29=43, Resulting Numbers: [43]
43,74 unequal: No Solution
Exploring Operation: 72*29=2088, Resulting Numbers: [2088]
2088,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 74:[72, 15], Operations: ['51-29=22', '22-7=15']
Exploring Operation: 72+15=87, Resulting Numbers: [87]
87,74 unequal: No Solution
Exploring Operation: 72-15=57, Resulting Numbers: [57]
57,74 unequal: No Solution
Exploring Operation: 72*15=1080, Resulting Numbers: [1080]
1080,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 74:[7, 50], Operations: ['51-29=22', '72-22=50']
Exploring Operation: 7*50=350, Resulting Numbers: [350]
350,74 unequal: No Solution
Exploring Operation: 7+50=57, Resulting Numbers: [57]
57,74 unequal: No Solution
Exploring Operation: 50-7=43, Resulting Numbers: [43]
43,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 74:[22, 79], Operations: ['51-29=22', '7+72=79']
Exploring Operation: 79-22=57, Resulting Numbers: [57]
57,74 unequal: No Solution
Exploring Operation: 22*79=1738, Resulting Numbers: [1738]
1738,74 unequal: No Solution
Exploring Operation: 22+79=101, Resulting Numbers: [101]
101,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 74:[22, 65], Operations: ['51-29=22', '72-7=65']
Exploring Operation: 22*65=1430, Resulting Numbers: [1430]
1430,74 unequal: No Solution
Exploring Operation: 65-22=43, Resulting Numbers: [43]
43,74 unequal: No Solution
Exploring Operation: 22+65=87, Resulting Numbers: [87]
87,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 74:[7, 51, 43], Operations: ['72-29=43']
Exploring Operation: 7+51=58, Resulting Numbers: [43, 58]
Generated Node #0,3,0: 74:[43, 58] Operation: 7+51=58
Exploring Operation: 51+43=94, Resulting Numbers: [7, 94]
Generated Node #0,3,1: 74:[7, 94] Operation: 51+43=94
Exploring Operation: 51-43=8, Resulting Numbers: [7, 8]
Generated Node #0,3,2: 74:[7, 8] Operation: 51-43=8
Exploring Operation: 51-7=44, Resulting Numbers: [43, 44]
Generated Node #0,3,3: 74:[43, 44] Operation: 51-7=44
Exploring Operation: 43-7=36, Resulting Numbers: [51, 36]
Generated Node #0,3,4: 74:[51, 36] Operation: 43-7=36
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 74:[7, 8], Operations: ['72-29=43', '51-43=8']
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,74 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,74 unequal: No Solution
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 74:[43, 44], Operations: ['72-29=43', '51-7=44']
Exploring Operation: 43*44=1892, Resulting Numbers: [1892]
1892,74 unequal: No Solution
Exploring Operation: 43+44=87, Resulting Numbers: [87]
87,74 unequal: No Solution
Exploring Operation: 44-43=1, Resulting Numbers: [1]
1,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 74:[51, 36], Operations: ['72-29=43', '43-7=36']
Exploring Operation: 51-36=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Exploring Operation: 51*36=1836, Resulting Numbers: [1836]
1836,74 unequal: No Solution
Exploring Operation: 51+36=87, Resulting Numbers: [87]
87,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 74:[43, 58], Operations: ['72-29=43', '7+51=58']
Exploring Operation: 58-43=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Exploring Operation: 43*58=2494, Resulting Numbers: [2494]
2494,74 unequal: No Solution
Exploring Operation: 43+58=101, Resulting Numbers: [101]
101,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 74:[7, 94], Operations: ['72-29=43', '51+43=94']
Exploring Operation: 94-7=87, Resulting Numbers: [87]
87,74 unequal: No Solution
Exploring Operation: 7*94=658, Resulting Numbers: [658]
658,74 unequal: No Solution
Exploring Operation: 7+94=101, Resulting Numbers: [101]
101,74 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
70,
39,
79,
84
] | 54 | [
"70+39=109",
"79+84=163",
"163-109=54"
] | Current State: 54:[70, 39, 79, 84], Operations: []
Exploring Operation: 70+39=109, Resulting Numbers: [79, 84, 109]
Generated Node #2: [79, 84, 109] from Operation: 70+39=109
Current State: 54:[79, 84, 109], Operations: ['70+39=109']
Exploring Operation: 79+84=163, Resulting Numbers: [109, 163]
Generated Node #3: [109, 163] from Operation: 79+84=163
Current State: 54:[109, 163], Operations: ['70+39=109', '79+84=163']
Exploring Operation: 163-109=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[70, 39, 79, 84], Operations: []
Exploring Operation: 84-70=14, Resulting Numbers: [39, 79, 14]
Generated Node #0,0: 54:[39, 79, 14] Operation: 84-70=14
Exploring Operation: 84-39=45, Resulting Numbers: [70, 79, 45]
Generated Node #0,1: 54:[70, 79, 45] Operation: 84-39=45
Exploring Operation: 84-79=5, Resulting Numbers: [70, 39, 5]
Generated Node #0,2: 54:[70, 39, 5] Operation: 84-79=5
Exploring Operation: 79-70=9, Resulting Numbers: [39, 84, 9]
Generated Node #0,3: 54:[39, 84, 9] Operation: 79-70=9
Moving to Node #0,2
Current State: 54:[70, 39, 5], Operations: ['84-79=5']
Exploring Operation: 70-5=65, Resulting Numbers: [39, 65]
Generated Node #0,2,0: 54:[39, 65] Operation: 70-5=65
Exploring Operation: 39-5=34, Resulting Numbers: [70, 34]
Generated Node #0,2,1: 54:[70, 34] Operation: 39-5=34
Exploring Operation: 70/5=14, Resulting Numbers: [39, 14]
Generated Node #0,2,2: 54:[39, 14] Operation: 70/5=14
Exploring Operation: 70-39=31, Resulting Numbers: [5, 31]
Generated Node #0,2,3: 54:[5, 31] Operation: 70-39=31
Moving to Node #0,0
Current State: 54:[39, 79, 14], Operations: ['84-70=14']
Exploring Operation: 39-14=25, Resulting Numbers: [79, 25]
Generated Node #0,0,0: 54:[79, 25] Operation: 39-14=25
Exploring Operation: 39+14=53, Resulting Numbers: [79, 53]
Generated Node #0,0,1: 54:[79, 53] Operation: 39+14=53
Exploring Operation: 79-39=40, Resulting Numbers: [14, 40]
Generated Node #0,0,2: 54:[14, 40] Operation: 79-39=40
Exploring Operation: 79-14=65, Resulting Numbers: [39, 65]
Generated Node #0,0,3: 54:[39, 65] Operation: 79-14=65
Moving to Node #0,3
Current State: 54:[39, 84, 9], Operations: ['79-70=9']
Exploring Operation: 84-39=45, Resulting Numbers: [9, 45]
Generated Node #0,3,0: 54:[9, 45] Operation: 84-39=45
Exploring Operation: 39+9=48, Resulting Numbers: [84, 48]
Generated Node #0,3,1: 54:[84, 48] Operation: 39+9=48
Exploring Operation: 84-9=75, Resulting Numbers: [39, 75]
Generated Node #0,3,2: 54:[39, 75] Operation: 84-9=75
Exploring Operation: 39-9=30, Resulting Numbers: [84, 30]
Generated Node #0,3,3: 54:[84, 30] Operation: 39-9=30
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 54:[9, 45], Operations: ['79-70=9', '84-39=45']
Exploring Operation: 9*45=405, Resulting Numbers: [405]
405,54 unequal: No Solution
Exploring Operation: 45/9=5, Resulting Numbers: [5]
5,54 unequal: No Solution
Exploring Operation: 9+45=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[70, 39, 79, 84], Operations: []
Exploring Operation: 79-70=9, Resulting Numbers: [39, 84, 9]
Generated Node #0,3: 54:[39, 84, 9] Operation: 79-70=9
Moving to Node #0,3
Current State: 54:[39, 84, 9], Operations: ['79-70=9']
Exploring Operation: 84-39=45, Resulting Numbers: [9, 45]
Generated Node #0,3,0: 54:[9, 45] Operation: 84-39=45
Moving to Node #0,3,0
Current State: 54:[9, 45], Operations: ['79-70=9', '84-39=45']
Exploring Operation: 9+45=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_4 | mult_heuristic |
[
17,
55,
85,
26
] | 34 | [
"85/17=5",
"55-26=29",
"5+29=34"
] | Current State: 34:[17, 55, 85, 26], Operations: []
Exploring Operation: 85/17=5, Resulting Numbers: [55, 26, 5]
Generated Node #2: [55, 26, 5] from Operation: 85/17=5
Current State: 34:[55, 26, 5], Operations: ['85/17=5']
Exploring Operation: 55-26=29, Resulting Numbers: [5, 29]
Generated Node #3: [5, 29] from Operation: 55-26=29
Current State: 34:[5, 29], Operations: ['85/17=5', '55-26=29']
Exploring Operation: 5+29=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[17, 55, 85, 26], Operations: []
Exploring Operation: 85-55=30, Resulting Numbers: [17, 26, 30]
Generated Node #0,0: 34:[17, 26, 30] Operation: 85-55=30
Exploring Operation: 85-26=59, Resulting Numbers: [17, 55, 59]
Generated Node #0,1: 34:[17, 55, 59] Operation: 85-26=59
Exploring Operation: 55-26=29, Resulting Numbers: [17, 85, 29]
Generated Node #0,2: 34:[17, 85, 29] Operation: 55-26=29
Exploring Operation: 55-17=38, Resulting Numbers: [85, 26, 38]
Generated Node #0,3: 34:[85, 26, 38] Operation: 55-17=38
Exploring Operation: 85/17=5, Resulting Numbers: [55, 26, 5]
Generated Node #0,4: 34:[55, 26, 5] Operation: 85/17=5
Moving to Node #0,0
Current State: 34:[17, 26, 30], Operations: ['85-55=30']
Exploring Operation: 17+26=43, Resulting Numbers: [30, 43]
Generated Node #0,0,0: 34:[30, 43] Operation: 17+26=43
Exploring Operation: 30-17=13, Resulting Numbers: [26, 13]
Generated Node #0,0,1: 34:[26, 13] Operation: 30-17=13
Exploring Operation: 17+30=47, Resulting Numbers: [26, 47]
Generated Node #0,0,2: 34:[26, 47] Operation: 17+30=47
Exploring Operation: 30-26=4, Resulting Numbers: [17, 4]
Generated Node #0,0,3: 34:[17, 4] Operation: 30-26=4
Exploring Operation: 26-17=9, Resulting Numbers: [30, 9]
Generated Node #0,0,4: 34:[30, 9] Operation: 26-17=9
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 34:[17, 4], Operations: ['85-55=30', '30-26=4']
Exploring Operation: 17*4=68, Resulting Numbers: [68]
68,34 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,34 unequal: No Solution
Exploring Operation: 17+4=21, Resulting Numbers: [21]
21,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 34:[30, 9], Operations: ['85-55=30', '26-17=9']
Exploring Operation: 30*9=270, Resulting Numbers: [270]
270,34 unequal: No Solution
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Exploring Operation: 30+9=39, Resulting Numbers: [39]
39,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 34:[26, 13], Operations: ['85-55=30', '30-17=13']
Exploring Operation: 26*13=338, Resulting Numbers: [338]
338,34 unequal: No Solution
Exploring Operation: 26-13=13, Resulting Numbers: [13]
13,34 unequal: No Solution
Exploring Operation: 26+13=39, Resulting Numbers: [39]
39,34 unequal: No Solution
Exploring Operation: 26/13=2, Resulting Numbers: [2]
2,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 34:[30, 43], Operations: ['85-55=30', '17+26=43']
Exploring Operation: 30+43=73, Resulting Numbers: [73]
73,34 unequal: No Solution
Exploring Operation: 43-30=13, Resulting Numbers: [13]
13,34 unequal: No Solution
Exploring Operation: 30*43=1290, Resulting Numbers: [1290]
1290,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 34:[26, 47], Operations: ['85-55=30', '17+30=47']
Exploring Operation: 47-26=21, Resulting Numbers: [21]
21,34 unequal: No Solution
Exploring Operation: 26*47=1222, Resulting Numbers: [1222]
1222,34 unequal: No Solution
Exploring Operation: 26+47=73, Resulting Numbers: [73]
73,34 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: 34:[55, 26, 5], Operations: ['85/17=5']
Exploring Operation: 26-5=21, Resulting Numbers: [55, 21]
Generated Node #0,4,0: 34:[55, 21] Operation: 26-5=21
Exploring Operation: 26+5=31, Resulting Numbers: [55, 31]
Generated Node #0,4,1: 34:[55, 31] Operation: 26+5=31
Exploring Operation: 55-26=29, Resulting Numbers: [5, 29]
Generated Node #0,4,2: 34:[5, 29] Operation: 55-26=29
Exploring Operation: 55/5=11, Resulting Numbers: [26, 11]
Generated Node #0,4,3: 34:[26, 11] Operation: 55/5=11
Exploring Operation: 55-5=50, Resulting Numbers: [26, 50]
Generated Node #0,4,4: 34:[26, 50] Operation: 55-5=50
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 34:[5, 29], Operations: ['85/17=5', '55-26=29']
Exploring Operation: 5+29=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[17, 55, 85, 26], Operations: []
Exploring Operation: 85/17=5, Resulting Numbers: [55, 26, 5]
Generated Node #0,4: 34:[55, 26, 5] Operation: 85/17=5
Moving to Node #0,4
Current State: 34:[55, 26, 5], Operations: ['85/17=5']
Exploring Operation: 55-26=29, Resulting Numbers: [5, 29]
Generated Node #0,4,2: 34:[5, 29] Operation: 55-26=29
Moving to Node #0,4,2
Current State: 34:[5, 29], Operations: ['85/17=5', '55-26=29']
Exploring Operation: 5+29=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_5 | mult_heuristic |
[
13,
2,
80,
6
] | 79 | [
"80-13=67",
"2*6=12",
"67+12=79"
] | Current State: 79:[13, 2, 80, 6], Operations: []
Exploring Operation: 80-13=67, Resulting Numbers: [2, 6, 67]
Generated Node #2: [2, 6, 67] from Operation: 80-13=67
Current State: 79:[2, 6, 67], Operations: ['80-13=67']
Exploring Operation: 2*6=12, Resulting Numbers: [67, 12]
Generated Node #3: [67, 12] from Operation: 2*6=12
Current State: 79:[67, 12], Operations: ['80-13=67', '2*6=12']
Exploring Operation: 67+12=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[13, 2, 80, 6], Operations: []
Exploring Operation: 13*6=78, Resulting Numbers: [2, 80, 78]
Generated Node #0,0: 79:[2, 80, 78] Operation: 13*6=78
Exploring Operation: 13*2=26, Resulting Numbers: [80, 6, 26]
Generated Node #0,1: 79:[80, 6, 26] Operation: 13*2=26
Exploring Operation: 2*6=12, Resulting Numbers: [13, 80, 12]
Generated Node #0,2: 79:[13, 80, 12] Operation: 2*6=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[2, 80, 78], Operations: ['13*6=78']
Exploring Operation: 80-2=78, Resulting Numbers: [78, 78]
Generated Node #0,0,0: 79:[78, 78] Operation: 80-2=78
Exploring Operation: 2+80=82, Resulting Numbers: [78, 82]
Generated Node #0,0,1: 79:[78, 82] Operation: 2+80=82
Exploring Operation: 2+78=80, Resulting Numbers: [80, 80]
Generated Node #0,0,2: 79:[80, 80] Operation: 2+78=80
Moving to Node #0,0,0
Current State: 79:[78, 78], Operations: ['13*6=78', '80-2=78']
Exploring Operation: 78-78=0, Resulting Numbers: [0]
0,79 unequal: No Solution
Exploring Operation: 78+78=156, Resulting Numbers: [156]
156,79 unequal: No Solution
Exploring Operation: 78/78=1, Resulting Numbers: [1]
1,79 unequal: No Solution
Moving to Node #0,0,2
Current State: 79:[80, 80], Operations: ['13*6=78', '2+78=80']
Exploring Operation: 80-80=0, Resulting Numbers: [0]
0,79 unequal: No Solution
Exploring Operation: 80+80=160, Resulting Numbers: [160]
160,79 unequal: No Solution
Exploring Operation: 80/80=1, Resulting Numbers: [1]
1,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[78, 82], Operations: ['13*6=78', '2+80=82']
Exploring Operation: 82-78=4, Resulting Numbers: [4]
4,79 unequal: No Solution
Exploring Operation: 78+82=160, Resulting Numbers: [160]
160,79 unequal: No Solution
Exploring Operation: 78*82=6396, Resulting Numbers: [6396]
6396,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[80, 6, 26], Operations: ['13*2=26']
Exploring Operation: 80-6=74, Resulting Numbers: [26, 74]
Generated Node #0,1,0: 79:[26, 74] Operation: 80-6=74
Exploring Operation: 6+26=32, Resulting Numbers: [80, 32]
Generated Node #0,1,1: 79:[80, 32] Operation: 6+26=32
Exploring Operation: 80+6=86, Resulting Numbers: [26, 86]
Generated Node #0,1,2: 79:[26, 86] Operation: 80+6=86
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 79:[80, 32], Operations: ['13*2=26', '6+26=32']
Exploring Operation: 80*32=2560, Resulting Numbers: [2560]
2560,79 unequal: No Solution
Exploring Operation: 80+32=112, Resulting Numbers: [112]
112,79 unequal: No Solution
Exploring Operation: 80-32=48, Resulting Numbers: [48]
48,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 79:[26, 74], Operations: ['13*2=26', '80-6=74']
Exploring Operation: 26*74=1924, Resulting Numbers: [1924]
1924,79 unequal: No Solution
Exploring Operation: 74-26=48, Resulting Numbers: [48]
48,79 unequal: No Solution
Exploring Operation: 26+74=100, Resulting Numbers: [100]
100,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 79:[26, 86], Operations: ['13*2=26', '80+6=86']
Exploring Operation: 86-26=60, Resulting Numbers: [60]
60,79 unequal: No Solution
Exploring Operation: 26*86=2236, Resulting Numbers: [2236]
2236,79 unequal: No Solution
Exploring Operation: 26+86=112, Resulting Numbers: [112]
112,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[13, 80, 12], Operations: ['2*6=12']
Exploring Operation: 13+12=25, Resulting Numbers: [80, 25]
Generated Node #0,2,0: 79:[80, 25] Operation: 13+12=25
Exploring Operation: 80-12=68, Resulting Numbers: [13, 68]
Generated Node #0,2,1: 79:[13, 68] Operation: 80-12=68
Exploring Operation: 13*12=156, Resulting Numbers: [80, 156]
Generated Node #0,2,2: 79:[80, 156] Operation: 13*12=156
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 79:[80, 25], Operations: ['2*6=12', '13+12=25']
Exploring Operation: 80+25=105, Resulting Numbers: [105]
105,79 unequal: No Solution
Exploring Operation: 80*25=2000, Resulting Numbers: [2000]
2000,79 unequal: No Solution
Exploring Operation: 80-25=55, Resulting Numbers: [55]
55,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 79:[13, 68], Operations: ['2*6=12', '80-12=68']
Exploring Operation: 68-13=55, Resulting Numbers: [55]
55,79 unequal: No Solution
Exploring Operation: 13*68=884, Resulting Numbers: [884]
884,79 unequal: No Solution
Exploring Operation: 13+68=81, Resulting Numbers: [81]
81,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 79:[80, 156], Operations: ['2*6=12', '13*12=156']
Exploring Operation: 156-80=76, Resulting Numbers: [76]
76,79 unequal: No Solution
Exploring Operation: 80*156=12480, Resulting Numbers: [12480]
12480,79 unequal: No Solution
Exploring Operation: 80+156=236, Resulting Numbers: [236]
236,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
32,
3,
67,
13
] | 20 | [
"32+67=99",
"99/3=33",
"33-13=20"
] | Current State: 20:[32, 3, 67, 13], Operations: []
Exploring Operation: 32+67=99, Resulting Numbers: [3, 13, 99]
Generated Node #2: [3, 13, 99] from Operation: 32+67=99
Current State: 20:[3, 13, 99], Operations: ['32+67=99']
Exploring Operation: 99/3=33, Resulting Numbers: [13, 33]
Generated Node #3: [13, 33] from Operation: 99/3=33
Current State: 20:[13, 33], Operations: ['32+67=99', '99/3=33']
Exploring Operation: 33-13=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[32, 3, 67, 13], Operations: []
Exploring Operation: 67-32=35, Resulting Numbers: [3, 13, 35]
Generated Node #0,0: 20:[3, 13, 35] Operation: 67-32=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[3, 13, 35], Operations: ['67-32=35']
Exploring Operation: 35-13=22, Resulting Numbers: [3, 22]
Generated Node #0,0,0: 20:[3, 22] Operation: 35-13=22
Moving to Node #0,0,0
Current State: 20:[3, 22], Operations: ['67-32=35', '35-13=22']
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,20 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 |
[
88,
43,
2,
10
] | 97 | [
"88/2=44",
"43+10=53",
"44+53=97"
] | Current State: 97:[88, 43, 2, 10], Operations: []
Exploring Operation: 88/2=44, Resulting Numbers: [43, 10, 44]
Generated Node #2: [43, 10, 44] from Operation: 88/2=44
Current State: 97:[43, 10, 44], Operations: ['88/2=44']
Exploring Operation: 43+10=53, Resulting Numbers: [44, 53]
Generated Node #3: [44, 53] from Operation: 43+10=53
Current State: 97:[44, 53], Operations: ['88/2=44', '43+10=53']
Exploring Operation: 44+53=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[88, 43, 2, 10], Operations: []
Exploring Operation: 43*2=86, Resulting Numbers: [88, 10, 86]
Generated Node #0,0: 97:[88, 10, 86] Operation: 43*2=86
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[88, 10, 86], Operations: ['43*2=86']
Exploring Operation: 10+86=96, Resulting Numbers: [88, 96]
Generated Node #0,0,0: 97:[88, 96] Operation: 10+86=96
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 97:[88, 96], Operations: ['43*2=86', '10+86=96']
Exploring Operation: 88+96=184, Resulting Numbers: [184]
184,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
12,
41,
76,
12
] | 34 | [
"12/12=1",
"76-41=35",
"35-1=34"
] | Current State: 34:[12, 41, 76, 12], Operations: []
Exploring Operation: 12/12=1, Resulting Numbers: [41, 76, 1]
Generated Node #2: [41, 76, 1] from Operation: 12/12=1
Current State: 34:[41, 76, 1], Operations: ['12/12=1']
Exploring Operation: 76-41=35, Resulting Numbers: [1, 35]
Generated Node #3: [1, 35] from Operation: 76-41=35
Current State: 34:[1, 35], Operations: ['12/12=1', '76-41=35']
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[12, 41, 76, 12], Operations: []
Exploring Operation: 76-41=35, Resulting Numbers: [12, 12, 35]
Generated Node #0,0: 34:[12, 12, 35] Operation: 76-41=35
Exploring Operation: 76-12=64, Resulting Numbers: [12, 41, 64]
Generated Node #0,1: 34:[12, 41, 64] Operation: 76-12=64
Exploring Operation: 76-12=64, Resulting Numbers: [41, 12, 64]
Generated Node #0,2: 34:[41, 12, 64] Operation: 76-12=64
Moving to Node #0,0
Current State: 34:[12, 12, 35], Operations: ['76-41=35']
Exploring Operation: 12-12=0, Resulting Numbers: [35, 0]
Generated Node #0,0,0: 34:[35, 0] Operation: 12-12=0
Exploring Operation: 12/12=1, Resulting Numbers: [35, 1]
Generated Node #0,0,1: 34:[35, 1] Operation: 12/12=1
Exploring Operation: 12+12=24, Resulting Numbers: [35, 24]
Generated Node #0,0,2: 34:[35, 24] Operation: 12+12=24
Moving to Node #0,1
Current State: 34:[12, 41, 64], Operations: ['76-12=64']
Exploring Operation: 64-41=23, Resulting Numbers: [12, 23]
Generated Node #0,1,0: 34:[12, 23] Operation: 64-41=23
Exploring Operation: 41-12=29, Resulting Numbers: [64, 29]
Generated Node #0,1,1: 34:[64, 29] Operation: 41-12=29
Exploring Operation: 64-12=52, Resulting Numbers: [41, 52]
Generated Node #0,1,2: 34:[41, 52] Operation: 64-12=52
Moving to Node #0,2
Current State: 34:[41, 12, 64], Operations: ['76-12=64']
Exploring Operation: 64-41=23, Resulting Numbers: [12, 23]
Generated Node #0,2,0: 34:[12, 23] Operation: 64-41=23
Exploring Operation: 41-12=29, Resulting Numbers: [64, 29]
Generated Node #0,2,1: 34:[64, 29] Operation: 41-12=29
Exploring Operation: 64-12=52, Resulting Numbers: [41, 52]
Generated Node #0,2,2: 34:[41, 52] Operation: 64-12=52
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 34:[12, 23], Operations: ['76-12=64', '64-41=23']
Exploring Operation: 12*23=276, Resulting Numbers: [276]
276,34 unequal: No Solution
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,34 unequal: No Solution
Exploring Operation: 12+23=35, Resulting Numbers: [35]
35,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 34:[41, 52], Operations: ['76-12=64', '64-12=52']
Exploring Operation: 41*52=2132, Resulting Numbers: [2132]
2132,34 unequal: No Solution
Exploring Operation: 41+52=93, Resulting Numbers: [93]
93,34 unequal: No Solution
Exploring Operation: 52-41=11, Resulting Numbers: [11]
11,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 34:[64, 29], Operations: ['76-12=64', '41-12=29']
Exploring Operation: 64-29=35, Resulting Numbers: [35]
35,34 unequal: No Solution
Exploring Operation: 64+29=93, Resulting Numbers: [93]
93,34 unequal: No Solution
Exploring Operation: 64*29=1856, Resulting Numbers: [1856]
1856,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 34:[35, 1], Operations: ['76-41=35', '12/12=1']
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[12, 41, 76, 12], Operations: []
Exploring Operation: 76-41=35, Resulting Numbers: [12, 12, 35]
Generated Node #0,0: 34:[12, 12, 35] Operation: 76-41=35
Moving to Node #0,0
Current State: 34:[12, 12, 35], Operations: ['76-41=35']
Exploring Operation: 12/12=1, Resulting Numbers: [35, 1]
Generated Node #0,0,1: 34:[35, 1] Operation: 12/12=1
Moving to Node #0,0,1
Current State: 34:[35, 1], Operations: ['76-41=35', '12/12=1']
Exploring Operation: 35-1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 0.977431 | hs_3 | mult_heuristic |
[
81,
49,
55,
28
] | 98 | [
"81-55=26",
"28-26=2",
"49*2=98"
] | Current State: 98:[81, 49, 55, 28], Operations: []
Exploring Operation: 81-55=26, Resulting Numbers: [49, 28, 26]
Generated Node #2: [49, 28, 26] from Operation: 81-55=26
Current State: 98:[49, 28, 26], Operations: ['81-55=26']
Exploring Operation: 28-26=2, Resulting Numbers: [49, 2]
Generated Node #3: [49, 2] from Operation: 28-26=2
Current State: 98:[49, 2], Operations: ['81-55=26', '28-26=2']
Exploring Operation: 49*2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[81, 49, 55, 28], Operations: []
Exploring Operation: 49-28=21, Resulting Numbers: [81, 55, 21]
Generated Node #0,0: 98:[81, 55, 21] Operation: 49-28=21
Exploring Operation: 81-55=26, Resulting Numbers: [49, 28, 26]
Generated Node #0,1: 98:[49, 28, 26] Operation: 81-55=26
Exploring Operation: 81-28=53, Resulting Numbers: [49, 55, 53]
Generated Node #0,2: 98:[49, 55, 53] Operation: 81-28=53
Exploring Operation: 81+28=109, Resulting Numbers: [49, 55, 109]
Generated Node #0,3: 98:[49, 55, 109] Operation: 81+28=109
Start Sub Search at level 1: Moving to Node #0,2
Current State: 98:[49, 55, 53], Operations: ['81-28=53']
Exploring Operation: 55-53=2, Resulting Numbers: [49, 2]
Generated Node #0,2,0: 98:[49, 2] Operation: 55-53=2
Exploring Operation: 55-49=6, Resulting Numbers: [53, 6]
Generated Node #0,2,1: 98:[53, 6] Operation: 55-49=6
Exploring Operation: 53-49=4, Resulting Numbers: [55, 4]
Generated Node #0,2,2: 98:[55, 4] Operation: 53-49=4
Exploring Operation: 49+55=104, Resulting Numbers: [53, 104]
Generated Node #0,2,3: 98:[53, 104] Operation: 49+55=104
Moving to Node #0,2,0
Current State: 98:[49, 2], Operations: ['81-28=53', '55-53=2']
Exploring Operation: 49*2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[81, 49, 55, 28], Operations: []
Exploring Operation: 81-28=53, Resulting Numbers: [49, 55, 53]
Generated Node #0,2: 98:[49, 55, 53] Operation: 81-28=53
Moving to Node #0,2
Current State: 98:[49, 55, 53], Operations: ['81-28=53']
Exploring Operation: 55-53=2, Resulting Numbers: [49, 2]
Generated Node #0,2,0: 98:[49, 2] Operation: 55-53=2
Moving to Node #0,2,0
Current State: 98:[49, 2], Operations: ['81-28=53', '55-53=2']
Exploring Operation: 49*2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
33,
53,
62,
64
] | 40 | [
"33+53=86",
"62+64=126",
"126-86=40"
] | Current State: 40:[33, 53, 62, 64], Operations: []
Exploring Operation: 33+53=86, Resulting Numbers: [62, 64, 86]
Generated Node #2: [62, 64, 86] from Operation: 33+53=86
Current State: 40:[62, 64, 86], Operations: ['33+53=86']
Exploring Operation: 62+64=126, Resulting Numbers: [86, 126]
Generated Node #3: [86, 126] from Operation: 62+64=126
Current State: 40:[86, 126], Operations: ['33+53=86', '62+64=126']
Exploring Operation: 126-86=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[33, 53, 62, 64], Operations: []
Exploring Operation: 64-62=2, Resulting Numbers: [33, 53, 2]
Generated Node #0,0: 40:[33, 53, 2] Operation: 64-62=2
Moving to Node #0,0
Current State: 40:[33, 53, 2], Operations: ['64-62=2']
Exploring Operation: 53-33=20, Resulting Numbers: [2, 20]
Generated Node #0,0,0: 40:[2, 20] Operation: 53-33=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 40:[2, 20], Operations: ['64-62=2', '53-33=20']
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[33, 53, 62, 64], Operations: []
Exploring Operation: 64-62=2, Resulting Numbers: [33, 53, 2]
Generated Node #0,0: 40:[33, 53, 2] Operation: 64-62=2
Moving to Node #0,0
Current State: 40:[33, 53, 2], Operations: ['64-62=2']
Exploring Operation: 53-33=20, Resulting Numbers: [2, 20]
Generated Node #0,0,0: 40:[2, 20] Operation: 53-33=20
Moving to Node #0,0,0
Current State: 40:[2, 20], Operations: ['64-62=2', '53-33=20']
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
6,
9,
4,
86
] | 97 | [
"6+9=15",
"86-4=82",
"15+82=97"
] | Current State: 97:[6, 9, 4, 86], Operations: []
Exploring Operation: 6+9=15, Resulting Numbers: [4, 86, 15]
Generated Node #2: [4, 86, 15] from Operation: 6+9=15
Current State: 97:[4, 86, 15], Operations: ['6+9=15']
Exploring Operation: 86-4=82, Resulting Numbers: [15, 82]
Generated Node #3: [15, 82] from Operation: 86-4=82
Current State: 97:[15, 82], Operations: ['6+9=15', '86-4=82']
Exploring Operation: 15+82=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[6, 9, 4, 86], Operations: []
Exploring Operation: 6*4=24, Resulting Numbers: [9, 86, 24]
Generated Node #0,0: 97:[9, 86, 24] Operation: 6*4=24
Exploring Operation: 9*4=36, Resulting Numbers: [6, 86, 36]
Generated Node #0,1: 97:[6, 86, 36] Operation: 9*4=36
Exploring Operation: 6*9=54, Resulting Numbers: [4, 86, 54]
Generated Node #0,2: 97:[4, 86, 54] Operation: 6*9=54
Start Sub Search at level 1: Moving to Node #0,2
Current State: 97:[4, 86, 54], Operations: ['6*9=54']
Exploring Operation: 86-4=82, Resulting Numbers: [54, 82]
Generated Node #0,2,0: 97:[54, 82] Operation: 86-4=82
Exploring Operation: 4+86=90, Resulting Numbers: [54, 90]
Generated Node #0,2,1: 97:[54, 90] Operation: 4+86=90
Exploring Operation: 4+54=58, Resulting Numbers: [86, 58]
Generated Node #0,2,2: 97:[86, 58] Operation: 4+54=58
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 97:[54, 90], Operations: ['6*9=54', '4+86=90']
Exploring Operation: 54*90=4860, Resulting Numbers: [4860]
4860,97 unequal: No Solution
Exploring Operation: 90-54=36, Resulting Numbers: [36]
36,97 unequal: No Solution
Exploring Operation: 54+90=144, Resulting Numbers: [144]
144,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 97:[86, 58], Operations: ['6*9=54', '4+54=58']
Exploring Operation: 86*58=4988, Resulting Numbers: [4988]
4988,97 unequal: No Solution
Exploring Operation: 86+58=144, Resulting Numbers: [144]
144,97 unequal: No Solution
Exploring Operation: 86-58=28, Resulting Numbers: [28]
28,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 97:[54, 82], Operations: ['6*9=54', '86-4=82']
Exploring Operation: 54+82=136, Resulting Numbers: [136]
136,97 unequal: No Solution
Exploring Operation: 82-54=28, Resulting Numbers: [28]
28,97 unequal: No Solution
Exploring Operation: 54*82=4428, Resulting Numbers: [4428]
4428,97 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[6, 86, 36], Operations: ['9*4=36']
Exploring Operation: 6+36=42, Resulting Numbers: [86, 42]
Generated Node #0,1,0: 97:[86, 42] Operation: 6+36=42
Exploring Operation: 6+86=92, Resulting Numbers: [36, 92]
Generated Node #0,1,1: 97:[36, 92] Operation: 6+86=92
Exploring Operation: 86-6=80, Resulting Numbers: [36, 80]
Generated Node #0,1,2: 97:[36, 80] Operation: 86-6=80
Moving to Node #0,1,0
Current State: 97:[86, 42], Operations: ['9*4=36', '6+36=42']
Exploring Operation: 86*42=3612, Resulting Numbers: [3612]
3612,97 unequal: No Solution
Exploring Operation: 86-42=44, Resulting Numbers: [44]
44,97 unequal: No Solution
Exploring Operation: 86+42=128, Resulting Numbers: [128]
128,97 unequal: No Solution
Moving to Node #0,1,1
Current State: 97:[36, 92], Operations: ['9*4=36', '6+86=92']
Exploring Operation: 92-36=56, Resulting Numbers: [56]
56,97 unequal: No Solution
Exploring Operation: 36*92=3312, Resulting Numbers: [3312]
3312,97 unequal: No Solution
Exploring Operation: 36+92=128, Resulting Numbers: [128]
128,97 unequal: No Solution
Moving to Node #0,1,2
Current State: 97:[36, 80], Operations: ['9*4=36', '86-6=80']
Exploring Operation: 36*80=2880, Resulting Numbers: [2880]
2880,97 unequal: No Solution
Exploring Operation: 80-36=44, Resulting Numbers: [44]
44,97 unequal: No Solution
Exploring Operation: 36+80=116, Resulting Numbers: [116]
116,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[9, 86, 24], Operations: ['6*4=24']
Exploring Operation: 9+86=95, Resulting Numbers: [24, 95]
Generated Node #0,0,0: 97:[24, 95] Operation: 9+86=95
Exploring Operation: 86-9=77, Resulting Numbers: [24, 77]
Generated Node #0,0,1: 97:[24, 77] Operation: 86-9=77
Exploring Operation: 9+24=33, Resulting Numbers: [86, 33]
Generated Node #0,0,2: 97:[86, 33] Operation: 9+24=33
Moving to Node #0,0,0
Current State: 97:[24, 95], Operations: ['6*4=24', '9+86=95']
Exploring Operation: 24*95=2280, Resulting Numbers: [2280]
2280,97 unequal: No Solution
Exploring Operation: 95-24=71, Resulting Numbers: [71]
71,97 unequal: No Solution
Exploring Operation: 24+95=119, Resulting Numbers: [119]
119,97 unequal: No Solution
Moving to Node #0,0,2
Current State: 97:[86, 33], Operations: ['6*4=24', '9+24=33']
Exploring Operation: 86*33=2838, Resulting Numbers: [2838]
2838,97 unequal: No Solution
Exploring Operation: 86-33=53, Resulting Numbers: [53]
53,97 unequal: No Solution
Exploring Operation: 86+33=119, Resulting Numbers: [119]
119,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[24, 77], Operations: ['6*4=24', '86-9=77']
Exploring Operation: 24*77=1848, Resulting Numbers: [1848]
1848,97 unequal: No Solution
Exploring Operation: 77-24=53, Resulting Numbers: [53]
53,97 unequal: No Solution
Exploring Operation: 24+77=101, Resulting Numbers: [101]
101,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
54,
67,
2,
60
] | 86 | [
"67-54=13",
"2*13=26",
"60+26=86"
] | Current State: 86:[54, 67, 2, 60], Operations: []
Exploring Operation: 67-54=13, Resulting Numbers: [2, 60, 13]
Generated Node #2: [2, 60, 13] from Operation: 67-54=13
Current State: 86:[2, 60, 13], Operations: ['67-54=13']
Exploring Operation: 2*13=26, Resulting Numbers: [60, 26]
Generated Node #3: [60, 26] from Operation: 2*13=26
Current State: 86:[60, 26], Operations: ['67-54=13', '2*13=26']
Exploring Operation: 60+26=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[54, 67, 2, 60], Operations: []
Exploring Operation: 67-60=7, Resulting Numbers: [54, 2, 7]
Generated Node #0,0: 86:[54, 2, 7] Operation: 67-60=7
Moving to Node #0,0
Current State: 86:[54, 2, 7], Operations: ['67-60=7']
Exploring Operation: 54-7=47, Resulting Numbers: [2, 47]
Generated Node #0,0,0: 86:[2, 47] Operation: 54-7=47
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[2, 47], Operations: ['67-60=7', '54-7=47']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,86 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 |
[
45,
24,
32,
5
] | 58 | [
"45-24=21",
"32+5=37",
"21+37=58"
] | Current State: 58:[45, 24, 32, 5], Operations: []
Exploring Operation: 45-24=21, Resulting Numbers: [32, 5, 21]
Generated Node #2: [32, 5, 21] from Operation: 45-24=21
Current State: 58:[32, 5, 21], Operations: ['45-24=21']
Exploring Operation: 32+5=37, Resulting Numbers: [21, 37]
Generated Node #3: [21, 37] from Operation: 32+5=37
Current State: 58:[21, 37], Operations: ['45-24=21', '32+5=37']
Exploring Operation: 21+37=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[45, 24, 32, 5], Operations: []
Exploring Operation: 45/5=9, Resulting Numbers: [24, 32, 9]
Generated Node #0,0: 58:[24, 32, 9] Operation: 45/5=9
Exploring Operation: 45-24=21, Resulting Numbers: [32, 5, 21]
Generated Node #0,1: 58:[32, 5, 21] Operation: 45-24=21
Exploring Operation: 45+5=50, Resulting Numbers: [24, 32, 50]
Generated Node #0,2: 58:[24, 32, 50] Operation: 45+5=50
Start Sub Search at level 1: Moving to Node #0,1
Current State: 58:[32, 5, 21], Operations: ['45-24=21']
Exploring Operation: 32+21=53, Resulting Numbers: [5, 53]
Generated Node #0,1,0: 58:[5, 53] Operation: 32+21=53
Exploring Operation: 5+21=26, Resulting Numbers: [32, 26]
Generated Node #0,1,1: 58:[32, 26] Operation: 5+21=26
Exploring Operation: 32-5=27, Resulting Numbers: [21, 27]
Generated Node #0,1,2: 58:[21, 27] Operation: 32-5=27
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 58:[32, 26], Operations: ['45-24=21', '5+21=26']
Exploring Operation: 32+26=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[45, 24, 32, 5], Operations: []
Exploring Operation: 45-24=21, Resulting Numbers: [32, 5, 21]
Generated Node #0,1: 58:[32, 5, 21] Operation: 45-24=21
Moving to Node #0,1
Current State: 58:[32, 5, 21], Operations: ['45-24=21']
Exploring Operation: 5+21=26, Resulting Numbers: [32, 26]
Generated Node #0,1,1: 58:[32, 26] Operation: 5+21=26
Moving to Node #0,1,1
Current State: 58:[32, 26], Operations: ['45-24=21', '5+21=26']
Exploring Operation: 32+26=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
13,
97,
50,
3
] | 40 | [
"13+97=110",
"50*3=150",
"150-110=40"
] | Current State: 40:[13, 97, 50, 3], Operations: []
Exploring Operation: 13+97=110, Resulting Numbers: [50, 3, 110]
Generated Node #2: [50, 3, 110] from Operation: 13+97=110
Current State: 40:[50, 3, 110], Operations: ['13+97=110']
Exploring Operation: 50*3=150, Resulting Numbers: [110, 150]
Generated Node #3: [110, 150] from Operation: 50*3=150
Current State: 40:[110, 150], Operations: ['13+97=110', '50*3=150']
Exploring Operation: 150-110=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[13, 97, 50, 3], Operations: []
Exploring Operation: 97-50=47, Resulting Numbers: [13, 3, 47]
Generated Node #0,0: 40:[13, 3, 47] Operation: 97-50=47
Moving to Node #0,0
Current State: 40:[13, 3, 47], Operations: ['97-50=47']
Exploring Operation: 13-3=10, Resulting Numbers: [47, 10]
Generated Node #0,0,0: 40:[47, 10] Operation: 13-3=10
Moving to Node #0,0,0
Current State: 40:[47, 10], Operations: ['97-50=47', '13-3=10']
Exploring Operation: 47-10=37, Resulting Numbers: [37]
37,40 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
7,
30,
2,
65
] | 39 | [
"65-2=63",
"63/7=9",
"30+9=39"
] | Current State: 39:[7, 30, 2, 65], Operations: []
Exploring Operation: 65-2=63, Resulting Numbers: [7, 30, 63]
Generated Node #2: [7, 30, 63] from Operation: 65-2=63
Current State: 39:[7, 30, 63], Operations: ['65-2=63']
Exploring Operation: 63/7=9, Resulting Numbers: [30, 9]
Generated Node #3: [30, 9] from Operation: 63/7=9
Current State: 39:[30, 9], Operations: ['65-2=63', '63/7=9']
Exploring Operation: 30+9=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[7, 30, 2, 65], Operations: []
Exploring Operation: 65-30=35, Resulting Numbers: [7, 2, 35]
Generated Node #0,0: 39:[7, 2, 35] Operation: 65-30=35
Moving to Node #0,0
Current State: 39:[7, 2, 35], Operations: ['65-30=35']
Exploring Operation: 35/7=5, Resulting Numbers: [2, 5]
Generated Node #0,0,0: 39:[2, 5] Operation: 35/7=5
Moving to Node #0,0,0
Current State: 39:[2, 5], Operations: ['65-30=35', '35/7=5']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,39 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
27,
76,
63,
47
] | 33 | [
"76-27=49",
"63-47=16",
"49-16=33"
] | Current State: 33:[27, 76, 63, 47], Operations: []
Exploring Operation: 76-27=49, Resulting Numbers: [63, 47, 49]
Generated Node #2: [63, 47, 49] from Operation: 76-27=49
Current State: 33:[63, 47, 49], Operations: ['76-27=49']
Exploring Operation: 63-47=16, Resulting Numbers: [49, 16]
Generated Node #3: [49, 16] from Operation: 63-47=16
Current State: 33:[49, 16], Operations: ['76-27=49', '63-47=16']
Exploring Operation: 49-16=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[27, 76, 63, 47], Operations: []
Exploring Operation: 76-63=13, Resulting Numbers: [27, 47, 13]
Generated Node #0,0: 33:[27, 47, 13] Operation: 76-63=13
Exploring Operation: 76-27=49, Resulting Numbers: [63, 47, 49]
Generated Node #0,1: 33:[63, 47, 49] Operation: 76-27=49
Exploring Operation: 76-47=29, Resulting Numbers: [27, 63, 29]
Generated Node #0,2: 33:[27, 63, 29] Operation: 76-47=29
Exploring Operation: 63-47=16, Resulting Numbers: [27, 76, 16]
Generated Node #0,3: 33:[27, 76, 16] Operation: 63-47=16
Moving to Node #0,0
Current State: 33:[27, 47, 13], Operations: ['76-63=13']
Exploring Operation: 47-13=34, Resulting Numbers: [27, 34]
Generated Node #0,0,0: 33:[27, 34] Operation: 47-13=34
Exploring Operation: 27-13=14, Resulting Numbers: [47, 14]
Generated Node #0,0,1: 33:[47, 14] Operation: 27-13=14
Exploring Operation: 27+13=40, Resulting Numbers: [47, 40]
Generated Node #0,0,2: 33:[47, 40] Operation: 27+13=40
Exploring Operation: 47-27=20, Resulting Numbers: [13, 20]
Generated Node #0,0,3: 33:[13, 20] Operation: 47-27=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 33:[27, 34], Operations: ['76-63=13', '47-13=34']
Exploring Operation: 34-27=7, Resulting Numbers: [7]
7,33 unequal: No Solution
Exploring Operation: 27*34=918, Resulting Numbers: [918]
918,33 unequal: No Solution
Exploring Operation: 27+34=61, Resulting Numbers: [61]
61,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 33:[13, 20], Operations: ['76-63=13', '47-27=20']
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,33 unequal: No Solution
Exploring Operation: 13*20=260, Resulting Numbers: [260]
260,33 unequal: No Solution
Exploring Operation: 13+20=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[27, 76, 63, 47], Operations: []
Exploring Operation: 76-63=13, Resulting Numbers: [27, 47, 13]
Generated Node #0,0: 33:[27, 47, 13] Operation: 76-63=13
Moving to Node #0,0
Current State: 33:[27, 47, 13], Operations: ['76-63=13']
Exploring Operation: 47-27=20, Resulting Numbers: [13, 20]
Generated Node #0,0,3: 33:[13, 20] Operation: 47-27=20
Moving to Node #0,0,3
Current State: 33:[13, 20], Operations: ['76-63=13', '47-27=20']
Exploring Operation: 13+20=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
87,
52,
15,
88
] | 36 | [
"87+52=139",
"15+88=103",
"139-103=36"
] | Current State: 36:[87, 52, 15, 88], Operations: []
Exploring Operation: 87+52=139, Resulting Numbers: [15, 88, 139]
Generated Node #2: [15, 88, 139] from Operation: 87+52=139
Current State: 36:[15, 88, 139], Operations: ['87+52=139']
Exploring Operation: 15+88=103, Resulting Numbers: [139, 103]
Generated Node #3: [139, 103] from Operation: 15+88=103
Current State: 36:[139, 103], Operations: ['87+52=139', '15+88=103']
Exploring Operation: 139-103=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[87, 52, 15, 88], Operations: []
Exploring Operation: 88-87=1, Resulting Numbers: [52, 15, 1]
Generated Node #0,0: 36:[52, 15, 1] Operation: 88-87=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[52, 15, 1], Operations: ['88-87=1']
Exploring Operation: 52-15=37, Resulting Numbers: [1, 37]
Generated Node #0,0,0: 36:[1, 37] Operation: 52-15=37
Moving to Node #0,0,0
Current State: 36:[1, 37], Operations: ['88-87=1', '52-15=37']
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[87, 52, 15, 88], Operations: []
Exploring Operation: 88-87=1, Resulting Numbers: [52, 15, 1]
Generated Node #0,0: 36:[52, 15, 1] Operation: 88-87=1
Moving to Node #0,0
Current State: 36:[52, 15, 1], Operations: ['88-87=1']
Exploring Operation: 52-15=37, Resulting Numbers: [1, 37]
Generated Node #0,0,0: 36:[1, 37] Operation: 52-15=37
Moving to Node #0,0,0
Current State: 36:[1, 37], Operations: ['88-87=1', '52-15=37']
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
11,
45,
5,
38
] | 58 | [
"11+38=49",
"45/5=9",
"49+9=58"
] | Current State: 58:[11, 45, 5, 38], Operations: []
Exploring Operation: 11+38=49, Resulting Numbers: [45, 5, 49]
Generated Node #2: [45, 5, 49] from Operation: 11+38=49
Current State: 58:[45, 5, 49], Operations: ['11+38=49']
Exploring Operation: 45/5=9, Resulting Numbers: [49, 9]
Generated Node #3: [49, 9] from Operation: 45/5=9
Current State: 58:[49, 9], Operations: ['11+38=49', '45/5=9']
Exploring Operation: 49+9=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[11, 45, 5, 38], Operations: []
Exploring Operation: 11+45=56, Resulting Numbers: [5, 38, 56]
Generated Node #0,0: 58:[5, 38, 56] Operation: 11+45=56
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[5, 38, 56], Operations: ['11+45=56']
Exploring Operation: 38-5=33, Resulting Numbers: [56, 33]
Generated Node #0,0,0: 58:[56, 33] Operation: 38-5=33
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 58:[56, 33], Operations: ['11+45=56', '38-5=33']
Exploring Operation: 56-33=23, Resulting Numbers: [23]
23,58 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
96,
44,
81,
47
] | 69 | [
"47-44=3",
"81/3=27",
"96-27=69"
] | Current State: 69:[96, 44, 81, 47], Operations: []
Exploring Operation: 47-44=3, Resulting Numbers: [96, 81, 3]
Generated Node #2: [96, 81, 3] from Operation: 47-44=3
Current State: 69:[96, 81, 3], Operations: ['47-44=3']
Exploring Operation: 81/3=27, Resulting Numbers: [96, 27]
Generated Node #3: [96, 27] from Operation: 81/3=27
Current State: 69:[96, 27], Operations: ['47-44=3', '81/3=27']
Exploring Operation: 96-27=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[96, 44, 81, 47], Operations: []
Exploring Operation: 47-44=3, Resulting Numbers: [96, 81, 3]
Generated Node #0,0: 69:[96, 81, 3] Operation: 47-44=3
Exploring Operation: 96-44=52, Resulting Numbers: [81, 47, 52]
Generated Node #0,1: 69:[81, 47, 52] Operation: 96-44=52
Moving to Node #0,0
Current State: 69:[96, 81, 3], Operations: ['47-44=3']
Exploring Operation: 96-81=15, Resulting Numbers: [3, 15]
Generated Node #0,0,0: 69:[3, 15] Operation: 96-81=15
Exploring Operation: 96/3=32, Resulting Numbers: [81, 32]
Generated Node #0,0,1: 69:[81, 32] Operation: 96/3=32
Moving to Node #0,1
Current State: 69:[81, 47, 52], Operations: ['96-44=52']
Exploring Operation: 52-47=5, Resulting Numbers: [81, 5]
Generated Node #0,1,0: 69:[81, 5] Operation: 52-47=5
Exploring Operation: 81-47=34, Resulting Numbers: [52, 34]
Generated Node #0,1,1: 69:[52, 34] Operation: 81-47=34
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 69:[81, 5], Operations: ['96-44=52', '52-47=5']
Exploring Operation: 81+5=86, Resulting Numbers: [86]
86,69 unequal: No Solution
Exploring Operation: 81-5=76, Resulting Numbers: [76]
76,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 69:[52, 34], Operations: ['96-44=52', '81-47=34']
Exploring Operation: 52-34=18, Resulting Numbers: [18]
18,69 unequal: No Solution
Exploring Operation: 52+34=86, Resulting Numbers: [86]
86,69 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: 69:[3, 15], Operations: ['47-44=3', '96-81=15']
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,69 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,69 unequal: No Solution
Moving to Node #0,0,1
Current State: 69:[81, 32], Operations: ['47-44=3', '96/3=32']
Exploring Operation: 81+32=113, Resulting Numbers: [113]
113,69 unequal: No Solution
Exploring Operation: 81-32=49, Resulting Numbers: [49]
49,69 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
34,
9,
23,
29
] | 31 | [
"34-9=25",
"29-23=6",
"25+6=31"
] | Current State: 31:[34, 9, 23, 29], Operations: []
Exploring Operation: 34-9=25, Resulting Numbers: [23, 29, 25]
Generated Node #2: [23, 29, 25] from Operation: 34-9=25
Current State: 31:[23, 29, 25], Operations: ['34-9=25']
Exploring Operation: 29-23=6, Resulting Numbers: [25, 6]
Generated Node #3: [25, 6] from Operation: 29-23=6
Current State: 31:[25, 6], Operations: ['34-9=25', '29-23=6']
Exploring Operation: 25+6=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[34, 9, 23, 29], Operations: []
Exploring Operation: 34-9=25, Resulting Numbers: [23, 29, 25]
Generated Node #0,0: 31:[23, 29, 25] Operation: 34-9=25
Exploring Operation: 9+23=32, Resulting Numbers: [34, 29, 32]
Generated Node #0,1: 31:[34, 29, 32] Operation: 9+23=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 31:[34, 29, 32], Operations: ['9+23=32']
Exploring Operation: 34-29=5, Resulting Numbers: [32, 5]
Generated Node #0,1,0: 31:[32, 5] Operation: 34-29=5
Exploring Operation: 34-32=2, Resulting Numbers: [29, 2]
Generated Node #0,1,1: 31:[29, 2] Operation: 34-32=2
Moving to Node #0,1,0
Current State: 31:[32, 5], Operations: ['9+23=32', '34-29=5']
Exploring Operation: 32+5=37, Resulting Numbers: [37]
37,31 unequal: No Solution
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,31 unequal: No Solution
Moving to Node #0,1,1
Current State: 31:[29, 2], Operations: ['9+23=32', '34-32=2']
Exploring Operation: 29+2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[34, 9, 23, 29], Operations: []
Exploring Operation: 9+23=32, Resulting Numbers: [34, 29, 32]
Generated Node #0,1: 31:[34, 29, 32] Operation: 9+23=32
Moving to Node #0,1
Current State: 31:[34, 29, 32], Operations: ['9+23=32']
Exploring Operation: 34-32=2, Resulting Numbers: [29, 2]
Generated Node #0,1,1: 31:[29, 2] Operation: 34-32=2
Moving to Node #0,1,1
Current State: 31:[29, 2], Operations: ['9+23=32', '34-32=2']
Exploring Operation: 29+2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
24,
85,
38,
2
] | 46 | [
"85-24=61",
"61-38=23",
"2*23=46"
] | Current State: 46:[24, 85, 38, 2], Operations: []
Exploring Operation: 85-24=61, Resulting Numbers: [38, 2, 61]
Generated Node #2: [38, 2, 61] from Operation: 85-24=61
Current State: 46:[38, 2, 61], Operations: ['85-24=61']
Exploring Operation: 61-38=23, Resulting Numbers: [2, 23]
Generated Node #3: [2, 23] from Operation: 61-38=23
Current State: 46:[2, 23], Operations: ['85-24=61', '61-38=23']
Exploring Operation: 2*23=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[24, 85, 38, 2], Operations: []
Exploring Operation: 85-24=61, Resulting Numbers: [38, 2, 61]
Generated Node #0,0: 46:[38, 2, 61] Operation: 85-24=61
Exploring Operation: 85-38=47, Resulting Numbers: [24, 2, 47]
Generated Node #0,1: 46:[24, 2, 47] Operation: 85-38=47
Moving to Node #0,1
Current State: 46:[24, 2, 47], Operations: ['85-38=47']
Exploring Operation: 24-2=22, Resulting Numbers: [47, 22]
Generated Node #0,1,0: 46:[47, 22] Operation: 24-2=22
Exploring Operation: 47-24=23, Resulting Numbers: [2, 23]
Generated Node #0,1,1: 46:[2, 23] Operation: 47-24=23
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 46:[2, 23], Operations: ['85-38=47', '47-24=23']
Exploring Operation: 2+23=25, Resulting Numbers: [25]
25,46 unequal: No Solution
Exploring Operation: 2*23=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[24, 85, 38, 2], Operations: []
Exploring Operation: 85-38=47, Resulting Numbers: [24, 2, 47]
Generated Node #0,1: 46:[24, 2, 47] Operation: 85-38=47
Moving to Node #0,1
Current State: 46:[24, 2, 47], Operations: ['85-38=47']
Exploring Operation: 47-24=23, Resulting Numbers: [2, 23]
Generated Node #0,1,1: 46:[2, 23] Operation: 47-24=23
Moving to Node #0,1,1
Current State: 46:[2, 23], Operations: ['85-38=47', '47-24=23']
Exploring Operation: 2*23=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
55,
9,
37,
19
] | 18 | [
"55+19=74",
"9*74=666",
"666/37=18"
] | Current State: 18:[55, 9, 37, 19], Operations: []
Exploring Operation: 55+19=74, Resulting Numbers: [9, 37, 74]
Generated Node #2: [9, 37, 74] from Operation: 55+19=74
Current State: 18:[9, 37, 74], Operations: ['55+19=74']
Exploring Operation: 9*74=666, Resulting Numbers: [37, 666]
Generated Node #3: [37, 666] from Operation: 9*74=666
Current State: 18:[37, 666], Operations: ['55+19=74', '9*74=666']
Exploring Operation: 666/37=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[55, 9, 37, 19], Operations: []
Exploring Operation: 55-9=46, Resulting Numbers: [37, 19, 46]
Generated Node #0,0: 18:[37, 19, 46] Operation: 55-9=46
Exploring Operation: 37-19=18, Resulting Numbers: [55, 9, 18]
Generated Node #0,1: 18:[55, 9, 18] Operation: 37-19=18
Exploring Operation: 55-19=36, Resulting Numbers: [9, 37, 36]
Generated Node #0,2: 18:[9, 37, 36] Operation: 55-19=36
Exploring Operation: 37-9=28, Resulting Numbers: [55, 19, 28]
Generated Node #0,3: 18:[55, 19, 28] Operation: 37-9=28
Exploring Operation: 55-37=18, Resulting Numbers: [9, 19, 18]
Generated Node #0,4: 18:[9, 19, 18] Operation: 55-37=18
Moving to Node #0,4
Current State: 18:[9, 19, 18], Operations: ['55-37=18']
Exploring Operation: 19-9=10, Resulting Numbers: [18, 10]
Generated Node #0,4,0: 18:[18, 10] Operation: 19-9=10
Exploring Operation: 18-9=9, Resulting Numbers: [19, 9]
Generated Node #0,4,1: 18:[19, 9] Operation: 18-9=9
Exploring Operation: 9+19=28, Resulting Numbers: [18, 28]
Generated Node #0,4,2: 18:[18, 28] Operation: 9+19=28
Exploring Operation: 19-18=1, Resulting Numbers: [9, 1]
Generated Node #0,4,3: 18:[9, 1] Operation: 19-18=1
Exploring Operation: 18/9=2, Resulting Numbers: [19, 2]
Generated Node #0,4,4: 18:[19, 2] Operation: 18/9=2
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 18:[18, 10], Operations: ['55-37=18', '19-9=10']
Exploring Operation: 18*10=180, Resulting Numbers: [180]
180,18 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,18 unequal: No Solution
Exploring Operation: 18+10=28, Resulting Numbers: [28]
28,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 18:[19, 9], Operations: ['55-37=18', '18-9=9']
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Exploring Operation: 19+9=28, Resulting Numbers: [28]
28,18 unequal: No Solution
Exploring Operation: 19*9=171, Resulting Numbers: [171]
171,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 18:[9, 1], Operations: ['55-37=18', '19-18=1']
Exploring Operation: 9*1=9, Resulting Numbers: [9]
9,18 unequal: No Solution
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,18 unequal: No Solution
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,18 unequal: No Solution
Exploring Operation: 9+1=10, Resulting Numbers: [10]
10,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 18:[19, 2], Operations: ['55-37=18', '18/9=2']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,18 unequal: No Solution
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,18 unequal: No Solution
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 18:[18, 28], Operations: ['55-37=18', '9+19=28']
Exploring Operation: 18*28=504, Resulting Numbers: [504]
504,18 unequal: No Solution
Exploring Operation: 18+28=46, Resulting Numbers: [46]
46,18 unequal: No Solution
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,18 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: 18:[9, 37, 36], Operations: ['55-19=36']
Exploring Operation: 36-9=27, Resulting Numbers: [37, 27]
Generated Node #0,2,0: 18:[37, 27] Operation: 36-9=27
Exploring Operation: 37-9=28, Resulting Numbers: [36, 28]
Generated Node #0,2,1: 18:[36, 28] Operation: 37-9=28
Exploring Operation: 37-36=1, Resulting Numbers: [9, 1]
Generated Node #0,2,2: 18:[9, 1] Operation: 37-36=1
Exploring Operation: 9+37=46, Resulting Numbers: [36, 46]
Generated Node #0,2,3: 18:[36, 46] Operation: 9+37=46
Exploring Operation: 36/9=4, Resulting Numbers: [37, 4]
Generated Node #0,2,4: 18:[37, 4] Operation: 36/9=4
Moving to Node #0,1
Current State: 18:[55, 9, 18], Operations: ['37-19=18']
Exploring Operation: 18-9=9, Resulting Numbers: [55, 9]
Generated Node #0,1,0: 18:[55, 9] Operation: 18-9=9
Exploring Operation: 55-18=37, Resulting Numbers: [9, 37]
Generated Node #0,1,1: 18:[9, 37] Operation: 55-18=37
Exploring Operation: 55-9=46, Resulting Numbers: [18, 46]
Generated Node #0,1,2: 18:[18, 46] Operation: 55-9=46
Exploring Operation: 55+9=64, Resulting Numbers: [18, 64]
Generated Node #0,1,3: 18:[18, 64] Operation: 55+9=64
Exploring Operation: 18/9=2, Resulting Numbers: [55, 2]
Generated Node #0,1,4: 18:[55, 2] Operation: 18/9=2
Moving to Node #0,0
Current State: 18:[37, 19, 46], Operations: ['55-9=46']
Exploring Operation: 37+19=56, Resulting Numbers: [46, 56]
Generated Node #0,0,0: 18:[46, 56] Operation: 37+19=56
Exploring Operation: 37+46=83, Resulting Numbers: [19, 83]
Generated Node #0,0,1: 18:[19, 83] Operation: 37+46=83
Exploring Operation: 46-19=27, Resulting Numbers: [37, 27]
Generated Node #0,0,2: 18:[37, 27] Operation: 46-19=27
Exploring Operation: 37-19=18, Resulting Numbers: [46, 18]
Generated Node #0,0,3: 18:[46, 18] Operation: 37-19=18
Exploring Operation: 46-37=9, Resulting Numbers: [19, 9]
Generated Node #0,0,4: 18:[19, 9] Operation: 46-37=9
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 18:[19, 9], Operations: ['55-9=46', '46-37=9']
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Exploring Operation: 19+9=28, Resulting Numbers: [28]
28,18 unequal: No Solution
Exploring Operation: 19*9=171, Resulting Numbers: [171]
171,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 18:[37, 27], Operations: ['55-9=46', '46-19=27']
Exploring Operation: 37-27=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Exploring Operation: 37*27=999, Resulting Numbers: [999]
999,18 unequal: No Solution
Exploring Operation: 37+27=64, Resulting Numbers: [64]
64,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 18:[46, 18], Operations: ['55-9=46', '37-19=18']
Exploring Operation: 46+18=64, Resulting Numbers: [64]
64,18 unequal: No Solution
Exploring Operation: 46*18=828, Resulting Numbers: [828]
828,18 unequal: No Solution
Exploring Operation: 46-18=28, Resulting Numbers: [28]
28,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 18:[46, 56], Operations: ['55-9=46', '37+19=56']
Exploring Operation: 46*56=2576, Resulting Numbers: [2576]
2576,18 unequal: No Solution
Exploring Operation: 46+56=102, Resulting Numbers: [102]
102,18 unequal: No Solution
Exploring Operation: 56-46=10, Resulting Numbers: [10]
10,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 18:[19, 83], Operations: ['55-9=46', '37+46=83']
Exploring Operation: 83-19=64, Resulting Numbers: [64]
64,18 unequal: No Solution
Exploring Operation: 19+83=102, Resulting Numbers: [102]
102,18 unequal: No Solution
Exploring Operation: 19*83=1577, Resulting Numbers: [1577]
1577,18 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: 18:[55, 19, 28], Operations: ['37-9=28']
Exploring Operation: 55-28=27, Resulting Numbers: [19, 27]
Generated Node #0,3,0: 18:[19, 27] Operation: 55-28=27
Exploring Operation: 55+28=83, Resulting Numbers: [19, 83]
Generated Node #0,3,1: 18:[19, 83] Operation: 55+28=83
Exploring Operation: 55-19=36, Resulting Numbers: [28, 36]
Generated Node #0,3,2: 18:[28, 36] Operation: 55-19=36
Exploring Operation: 28-19=9, Resulting Numbers: [55, 9]
Generated Node #0,3,3: 18:[55, 9] Operation: 28-19=9
Exploring Operation: 55+19=74, Resulting Numbers: [28, 74]
Generated Node #0,3,4: 18:[28, 74] Operation: 55+19=74
Moving to Node #0,2,2
Current State: 18:[9, 1], Operations: ['55-19=36', '37-36=1']
Exploring Operation: 9+1=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Exploring Operation: 9*1=9, Resulting Numbers: [9]
9,18 unequal: No Solution
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,18 unequal: No Solution
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,18 unequal: No Solution
Moving to Node #0,3,0
Current State: 18:[19, 27], Operations: ['37-9=28', '55-28=27']
Exploring Operation: 27-19=8, Resulting Numbers: [8]
8,18 unequal: No Solution
Exploring Operation: 19*27=513, Resulting Numbers: [513]
513,18 unequal: No Solution
Exploring Operation: 19+27=46, Resulting Numbers: [46]
46,18 unequal: No Solution
Moving to Node #0,1,1
Current State: 18:[9, 37], Operations: ['37-19=18', '55-18=37']
Exploring Operation: 9+37=46, Resulting Numbers: [46]
46,18 unequal: No Solution
Exploring Operation: 9*37=333, Resulting Numbers: [333]
333,18 unequal: No Solution
Exploring Operation: 37-9=28, Resulting Numbers: [28]
28,18 unequal: No Solution
Moving to Node #0,2,4
Current State: 18:[37, 4], Operations: ['55-19=36', '36/9=4']
Exploring Operation: 37*4=148, Resulting Numbers: [148]
148,18 unequal: No Solution
Exploring Operation: 37+4=41, Resulting Numbers: [41]
41,18 unequal: No Solution
Exploring Operation: 37-4=33, Resulting Numbers: [33]
33,18 unequal: No Solution
Moving to Node #0,1,2
Current State: 18:[18, 46], Operations: ['37-19=18', '55-9=46']
Exploring Operation: 46-18=28, Resulting Numbers: [28]
28,18 unequal: No Solution
Exploring Operation: 18+46=64, Resulting Numbers: [64]
64,18 unequal: No Solution
Exploring Operation: 18*46=828, Resulting Numbers: [828]
828,18 unequal: No Solution
Moving to Node #0,2,0
Current State: 18:[37, 27], Operations: ['55-19=36', '36-9=27']
Exploring Operation: 37*27=999, Resulting Numbers: [999]
999,18 unequal: No Solution
Exploring Operation: 37-27=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Exploring Operation: 37+27=64, Resulting Numbers: [64]
64,18 unequal: No Solution
Moving to Node #0,3,2
Current State: 18:[28, 36], Operations: ['37-9=28', '55-19=36']
Exploring Operation: 28*36=1008, Resulting Numbers: [1008]
1008,18 unequal: No Solution
Exploring Operation: 28+36=64, Resulting Numbers: [64]
64,18 unequal: No Solution
Exploring Operation: 36-28=8, Resulting Numbers: [8]
8,18 unequal: No Solution
Moving to Node #0,2,1
Current State: 18:[36, 28], Operations: ['55-19=36', '37-9=28']
Exploring Operation: 36*28=1008, Resulting Numbers: [1008]
1008,18 unequal: No Solution
Exploring Operation: 36+28=64, Resulting Numbers: [64]
64,18 unequal: No Solution
Exploring Operation: 36-28=8, Resulting Numbers: [8]
8,18 unequal: No Solution
Moving to Node #0,1,4
Current State: 18:[55, 2], Operations: ['37-19=18', '18/9=2']
Exploring Operation: 55+2=57, Resulting Numbers: [57]
57,18 unequal: No Solution
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,18 unequal: No Solution
Exploring Operation: 55*2=110, Resulting Numbers: [110]
110,18 unequal: No Solution
Moving to Node #0,1,0
Current State: 18:[55, 9], Operations: ['37-19=18', '18-9=9']
Exploring Operation: 55-9=46, Resulting Numbers: [46]
46,18 unequal: No Solution
Exploring Operation: 55*9=495, Resulting Numbers: [495]
495,18 unequal: No Solution
Exploring Operation: 55+9=64, Resulting Numbers: [64]
64,18 unequal: No Solution
Moving to Node #0,3,3
Current State: 18:[55, 9], Operations: ['37-9=28', '28-19=9']
Exploring Operation: 55-9=46, Resulting Numbers: [46]
46,18 unequal: No Solution
Exploring Operation: 55+9=64, Resulting Numbers: [64]
64,18 unequal: No Solution
Exploring Operation: 55*9=495, Resulting Numbers: [495]
495,18 unequal: No Solution
Moving to Node #0,1,3
Current State: 18:[18, 64], Operations: ['37-19=18', '55+9=64']
Exploring Operation: 18*64=1152, Resulting Numbers: [1152]
1152,18 unequal: No Solution
Exploring Operation: 18+64=82, Resulting Numbers: [82]
82,18 unequal: No Solution
Exploring Operation: 64-18=46, Resulting Numbers: [46]
46,18 unequal: No Solution
Moving to Node #0,2,3
Current State: 18:[36, 46], Operations: ['55-19=36', '9+37=46']
Exploring Operation: 46-36=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Exploring Operation: 36+46=82, Resulting Numbers: [82]
82,18 unequal: No Solution
Exploring Operation: 36*46=1656, Resulting Numbers: [1656]
1656,18 unequal: No Solution
Moving to Node #0,3,1
Current State: 18:[19, 83], Operations: ['37-9=28', '55+28=83']
Exploring Operation: 19*83=1577, Resulting Numbers: [1577]
1577,18 unequal: No Solution
Exploring Operation: 83-19=64, Resulting Numbers: [64]
64,18 unequal: No Solution
Exploring Operation: 19+83=102, Resulting Numbers: [102]
102,18 unequal: No Solution
Moving to Node #0,3,4
Current State: 18:[28, 74], Operations: ['37-9=28', '55+19=74']
Exploring Operation: 74-28=46, Resulting Numbers: [46]
46,18 unequal: No Solution
Exploring Operation: 28+74=102, Resulting Numbers: [102]
102,18 unequal: No Solution
Exploring Operation: 28*74=2072, Resulting Numbers: [2072]
2072,18 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
7,
51,
6,
56
] | 53 | [
"56/7=8",
"51-6=45",
"8+45=53"
] | Current State: 53:[7, 51, 6, 56], Operations: []
Exploring Operation: 56/7=8, Resulting Numbers: [51, 6, 8]
Generated Node #2: [51, 6, 8] from Operation: 56/7=8
Current State: 53:[51, 6, 8], Operations: ['56/7=8']
Exploring Operation: 51-6=45, Resulting Numbers: [8, 45]
Generated Node #3: [8, 45] from Operation: 51-6=45
Current State: 53:[8, 45], Operations: ['56/7=8', '51-6=45']
Exploring Operation: 8+45=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[7, 51, 6, 56], Operations: []
Exploring Operation: 7*6=42, Resulting Numbers: [51, 56, 42]
Generated Node #0,0: 53:[51, 56, 42] Operation: 7*6=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[51, 56, 42], Operations: ['7*6=42']
Exploring Operation: 56-42=14, Resulting Numbers: [51, 14]
Generated Node #0,0,0: 53:[51, 14] Operation: 56-42=14
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 53:[51, 14], Operations: ['7*6=42', '56-42=14']
Exploring Operation: 51+14=65, Resulting Numbers: [65]
65,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
3,
11,
10,
44
] | 29 | [
"10+44=54",
"54/3=18",
"11+18=29"
] | Current State: 29:[3, 11, 10, 44], Operations: []
Exploring Operation: 10+44=54, Resulting Numbers: [3, 11, 54]
Generated Node #2: [3, 11, 54] from Operation: 10+44=54
Current State: 29:[3, 11, 54], Operations: ['10+44=54']
Exploring Operation: 54/3=18, Resulting Numbers: [11, 18]
Generated Node #3: [11, 18] from Operation: 54/3=18
Current State: 29:[11, 18], Operations: ['10+44=54', '54/3=18']
Exploring Operation: 11+18=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[3, 11, 10, 44], Operations: []
Exploring Operation: 3*10=30, Resulting Numbers: [11, 44, 30]
Generated Node #0,0: 29:[11, 44, 30] Operation: 3*10=30
Exploring Operation: 3+11=14, Resulting Numbers: [10, 44, 14]
Generated Node #0,1: 29:[10, 44, 14] Operation: 3+11=14
Exploring Operation: 3*11=33, Resulting Numbers: [10, 44, 33]
Generated Node #0,2: 29:[10, 44, 33] Operation: 3*11=33
Moving to Node #0,0
Current State: 29:[11, 44, 30], Operations: ['3*10=30']
Exploring Operation: 44/11=4, Resulting Numbers: [30, 4]
Generated Node #0,0,0: 29:[30, 4] Operation: 44/11=4
Exploring Operation: 44-11=33, Resulting Numbers: [30, 33]
Generated Node #0,0,1: 29:[30, 33] Operation: 44-11=33
Exploring Operation: 30-11=19, Resulting Numbers: [44, 19]
Generated Node #0,0,2: 29:[44, 19] Operation: 30-11=19
Moving to Node #0,2
Current State: 29:[10, 44, 33], Operations: ['3*11=33']
Exploring Operation: 33-10=23, Resulting Numbers: [44, 23]
Generated Node #0,2,0: 29:[44, 23] Operation: 33-10=23
Exploring Operation: 44-10=34, Resulting Numbers: [33, 34]
Generated Node #0,2,1: 29:[33, 34] Operation: 44-10=34
Exploring Operation: 10+44=54, Resulting Numbers: [33, 54]
Generated Node #0,2,2: 29:[33, 54] Operation: 10+44=54
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 29:[33, 34], Operations: ['3*11=33', '44-10=34']
Exploring Operation: 33*34=1122, Resulting Numbers: [1122]
1122,29 unequal: No Solution
Exploring Operation: 33+34=67, Resulting Numbers: [67]
67,29 unequal: No Solution
Exploring Operation: 34-33=1, Resulting Numbers: [1]
1,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 29:[44, 23], Operations: ['3*11=33', '33-10=23']
Exploring Operation: 44-23=21, Resulting Numbers: [21]
21,29 unequal: No Solution
Exploring Operation: 44+23=67, Resulting Numbers: [67]
67,29 unequal: No Solution
Exploring Operation: 44*23=1012, Resulting Numbers: [1012]
1012,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 29:[33, 54], Operations: ['3*11=33', '10+44=54']
Exploring Operation: 54-33=21, Resulting Numbers: [21]
21,29 unequal: No Solution
Exploring Operation: 33*54=1782, Resulting Numbers: [1782]
1782,29 unequal: No Solution
Exploring Operation: 33+54=87, Resulting Numbers: [87]
87,29 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: 29:[10, 44, 14], Operations: ['3+11=14']
Exploring Operation: 44-14=30, Resulting Numbers: [10, 30]
Generated Node #0,1,0: 29:[10, 30] Operation: 44-14=30
Exploring Operation: 44-10=34, Resulting Numbers: [14, 34]
Generated Node #0,1,1: 29:[14, 34] Operation: 44-10=34
Exploring Operation: 10+14=24, Resulting Numbers: [44, 24]
Generated Node #0,1,2: 29:[44, 24] Operation: 10+14=24
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 29:[10, 30], Operations: ['3+11=14', '44-14=30']
Exploring Operation: 10+30=40, Resulting Numbers: [40]
40,29 unequal: No Solution
Exploring Operation: 30-10=20, Resulting Numbers: [20]
20,29 unequal: No Solution
Exploring Operation: 30/10=3, Resulting Numbers: [3]
3,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 29:[14, 34], Operations: ['3+11=14', '44-10=34']
Exploring Operation: 14+34=48, Resulting Numbers: [48]
48,29 unequal: No Solution
Exploring Operation: 14*34=476, Resulting Numbers: [476]
476,29 unequal: No Solution
Exploring Operation: 34-14=20, Resulting Numbers: [20]
20,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 29:[44, 24], Operations: ['3+11=14', '10+14=24']
Exploring Operation: 44-24=20, Resulting Numbers: [20]
20,29 unequal: No Solution
Exploring Operation: 44+24=68, Resulting Numbers: [68]
68,29 unequal: No Solution
Exploring Operation: 44*24=1056, Resulting Numbers: [1056]
1056,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 29:[30, 33], Operations: ['3*10=30', '44-11=33']
Exploring Operation: 33-30=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Exploring Operation: 30+33=63, Resulting Numbers: [63]
63,29 unequal: No Solution
Exploring Operation: 30*33=990, Resulting Numbers: [990]
990,29 unequal: No Solution
Moving to Node #0,0,2
Current State: 29:[44, 19], Operations: ['3*10=30', '30-11=19']
Exploring Operation: 44-19=25, Resulting Numbers: [25]
25,29 unequal: No Solution
Exploring Operation: 44*19=836, Resulting Numbers: [836]
836,29 unequal: No Solution
Exploring Operation: 44+19=63, Resulting Numbers: [63]
63,29 unequal: No Solution
Moving to Node #0,0,0
Current State: 29:[30, 4], Operations: ['3*10=30', '44/11=4']
Exploring Operation: 30+4=34, Resulting Numbers: [34]
34,29 unequal: No Solution
Exploring Operation: 30*4=120, Resulting Numbers: [120]
120,29 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,29 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
46,
19,
62,
64
] | 67 | [
"46+19=65",
"64-62=2",
"65+2=67"
] | Current State: 67:[46, 19, 62, 64], Operations: []
Exploring Operation: 46+19=65, Resulting Numbers: [62, 64, 65]
Generated Node #2: [62, 64, 65] from Operation: 46+19=65
Current State: 67:[62, 64, 65], Operations: ['46+19=65']
Exploring Operation: 64-62=2, Resulting Numbers: [65, 2]
Generated Node #3: [65, 2] from Operation: 64-62=2
Current State: 67:[65, 2], Operations: ['46+19=65', '64-62=2']
Exploring Operation: 65+2=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[46, 19, 62, 64], Operations: []
Exploring Operation: 19+62=81, Resulting Numbers: [46, 64, 81]
Generated Node #0,0: 67:[46, 64, 81] Operation: 19+62=81
Exploring Operation: 46+19=65, Resulting Numbers: [62, 64, 65]
Generated Node #0,1: 67:[62, 64, 65] Operation: 46+19=65
Moving to Node #0,1
Current State: 67:[62, 64, 65], Operations: ['46+19=65']
Exploring Operation: 62+65=127, Resulting Numbers: [64, 127]
Generated Node #0,1,0: 67:[64, 127] Operation: 62+65=127
Exploring Operation: 62+64=126, Resulting Numbers: [65, 126]
Generated Node #0,1,1: 67:[65, 126] Operation: 62+64=126
Moving to Node #0,0
Current State: 67:[46, 64, 81], Operations: ['19+62=81']
Exploring Operation: 81-46=35, Resulting Numbers: [64, 35]
Generated Node #0,0,0: 67:[64, 35] Operation: 81-46=35
Exploring Operation: 46+64=110, Resulting Numbers: [81, 110]
Generated Node #0,0,1: 67:[81, 110] Operation: 46+64=110
Moving to Node #0,0,0
Current State: 67:[64, 35], Operations: ['19+62=81', '81-46=35']
Exploring Operation: 64-35=29, Resulting Numbers: [29]
29,67 unequal: No Solution
Exploring Operation: 64+35=99, Resulting Numbers: [99]
99,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[81, 110], Operations: ['19+62=81', '46+64=110']
Exploring Operation: 81+110=191, Resulting Numbers: [191]
191,67 unequal: No Solution
Exploring Operation: 110-81=29, Resulting Numbers: [29]
29,67 unequal: No Solution
Moving to Node #0,1,1
Current State: 67:[65, 126], Operations: ['46+19=65', '62+64=126']
Exploring Operation: 126-65=61, Resulting Numbers: [61]
61,67 unequal: No Solution
Exploring Operation: 65+126=191, Resulting Numbers: [191]
191,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[64, 127], Operations: ['46+19=65', '62+65=127']
Exploring Operation: 127-64=63, Resulting Numbers: [63]
63,67 unequal: No Solution
Exploring Operation: 64+127=191, Resulting Numbers: [191]
191,67 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
52,
18,
96,
40
] | 14 | [
"52+18=70",
"96-40=56",
"70-56=14"
] | Current State: 14:[52, 18, 96, 40], Operations: []
Exploring Operation: 52+18=70, Resulting Numbers: [96, 40, 70]
Generated Node #2: [96, 40, 70] from Operation: 52+18=70
Current State: 14:[96, 40, 70], Operations: ['52+18=70']
Exploring Operation: 96-40=56, Resulting Numbers: [70, 56]
Generated Node #3: [70, 56] from Operation: 96-40=56
Current State: 14:[70, 56], Operations: ['52+18=70', '96-40=56']
Exploring Operation: 70-56=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[52, 18, 96, 40], Operations: []
Exploring Operation: 96-52=44, Resulting Numbers: [18, 40, 44]
Generated Node #0,0: 14:[18, 40, 44] Operation: 96-52=44
Exploring Operation: 96-40=56, Resulting Numbers: [52, 18, 56]
Generated Node #0,1: 14:[52, 18, 56] Operation: 96-40=56
Moving to Node #0,0
Current State: 14:[18, 40, 44], Operations: ['96-52=44']
Exploring Operation: 40-18=22, Resulting Numbers: [44, 22]
Generated Node #0,0,0: 14:[44, 22] Operation: 40-18=22
Exploring Operation: 44-40=4, Resulting Numbers: [18, 4]
Generated Node #0,0,1: 14:[18, 4] Operation: 44-40=4
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 14:[18, 4], Operations: ['96-52=44', '44-40=4']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[52, 18, 96, 40], Operations: []
Exploring Operation: 96-52=44, Resulting Numbers: [18, 40, 44]
Generated Node #0,0: 14:[18, 40, 44] Operation: 96-52=44
Moving to Node #0,0
Current State: 14:[18, 40, 44], Operations: ['96-52=44']
Exploring Operation: 44-40=4, Resulting Numbers: [18, 4]
Generated Node #0,0,1: 14:[18, 4] Operation: 44-40=4
Moving to Node #0,0,1
Current State: 14:[18, 4], Operations: ['96-52=44', '44-40=4']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
7,
98,
54,
98
] | 30 | [
"98/7=14",
"98-54=44",
"44-14=30"
] | Current State: 30:[7, 98, 54, 98], Operations: []
Exploring Operation: 98/7=14, Resulting Numbers: [54, 14]
Generated Node #2: [54, 14] from Operation: 98/7=14
Current State: 30:[54, 14], Operations: ['98/7=14']
Exploring Operation: 98-54=44, Resulting Numbers: [14, 44]
Generated Node #3: [14, 44] from Operation: 98-54=44
Current State: 30:[14, 44], Operations: ['98/7=14', '98-54=44']
Exploring Operation: 44-14=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[7, 98, 54, 98], Operations: []
Exploring Operation: 98-98=0, Resulting Numbers: [7, 54, 0]
Generated Node #0,0: 30:[7, 54, 0] Operation: 98-98=0
Exploring Operation: 98/98=1, Resulting Numbers: [7, 54, 1]
Generated Node #0,1: 30:[7, 54, 1] Operation: 98/98=1
Exploring Operation: 98-54=44, Resulting Numbers: [7, 98, 44]
Generated Node #0,2: 30:[7, 98, 44] Operation: 98-54=44
Moving to Node #0,1
Current State: 30:[7, 54, 1], Operations: ['98/98=1']
Exploring Operation: 54-7=47, Resulting Numbers: [1, 47]
Generated Node #0,1,0: 30:[1, 47] Operation: 54-7=47
Exploring Operation: 7-1=6, Resulting Numbers: [54, 6]
Generated Node #0,1,1: 30:[54, 6] Operation: 7-1=6
Exploring Operation: 54-1=53, Resulting Numbers: [7, 53]
Generated Node #0,1,2: 30:[7, 53] Operation: 54-1=53
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 30:[1, 47], Operations: ['98/98=1', '54-7=47']
Exploring Operation: 47-1=46, Resulting Numbers: [46]
46,30 unequal: No Solution
Exploring Operation: 1*47=47, Resulting Numbers: [47]
47,30 unequal: No Solution
Exploring Operation: 47/1=47, Resulting Numbers: [47]
47,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 30:[54, 6], Operations: ['98/98=1', '7-1=6']
Exploring Operation: 54/6=9, Resulting Numbers: [9]
9,30 unequal: No Solution
Exploring Operation: 54-6=48, Resulting Numbers: [48]
48,30 unequal: No Solution
Exploring Operation: 54+6=60, Resulting Numbers: [60]
60,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 30:[7, 53], Operations: ['98/98=1', '54-1=53']
Exploring Operation: 7+53=60, Resulting Numbers: [60]
60,30 unequal: No Solution
Exploring Operation: 7*53=371, Resulting Numbers: [371]
371,30 unequal: No Solution
Exploring Operation: 53-7=46, Resulting Numbers: [46]
46,30 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: 30:[7, 54, 0], Operations: ['98-98=0']
Exploring Operation: 54*0=0, Resulting Numbers: [7, 0]
Generated Node #0,0,0: 30:[7, 0] Operation: 54*0=0
Exploring Operation: 7+0=7, Resulting Numbers: [54, 7]
Generated Node #0,0,1: 30:[54, 7] Operation: 7+0=7
Exploring Operation: 54-7=47, Resulting Numbers: [0, 47]
Generated Node #0,0,2: 30:[0, 47] Operation: 54-7=47
Moving to Node #0,2
Current State: 30:[7, 98, 44], Operations: ['98-54=44']
Exploring Operation: 98-7=91, Resulting Numbers: [44, 91]
Generated Node #0,2,0: 30:[44, 91] Operation: 98-7=91
Exploring Operation: 98-44=54, Resulting Numbers: [7, 54]
Generated Node #0,2,1: 30:[7, 54] Operation: 98-44=54
Exploring Operation: 98/7=14, Resulting Numbers: [44, 14]
Generated Node #0,2,2: 30:[44, 14] Operation: 98/7=14
Moving to Node #0,0,0
Current State: 30:[7, 0], Operations: ['98-98=0', '54*0=0']
Exploring Operation: 7*0=0, Resulting Numbers: [0]
0,30 unequal: No Solution
Exploring Operation: 7+0=7, Resulting Numbers: [7]
7,30 unequal: No Solution
Exploring Operation: 7-0=7, Resulting Numbers: [7]
7,30 unequal: No Solution
Moving to Node #0,2,2
Current State: 30:[44, 14], Operations: ['98-54=44', '98/7=14']
Exploring Operation: 44*14=616, Resulting Numbers: [616]
616,30 unequal: No Solution
Exploring Operation: 44-14=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[7, 98, 54, 98], Operations: []
Exploring Operation: 98-54=44, Resulting Numbers: [7, 98, 44]
Generated Node #0,2: 30:[7, 98, 44] Operation: 98-54=44
Moving to Node #0,2
Current State: 30:[7, 98, 44], Operations: ['98-54=44']
Exploring Operation: 98/7=14, Resulting Numbers: [44, 14]
Generated Node #0,2,2: 30:[44, 14] Operation: 98/7=14
Moving to Node #0,2,2
Current State: 30:[44, 14], Operations: ['98-54=44', '98/7=14']
Exploring Operation: 44-14=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 0.973958 | hs_3 | mult_heuristic |
[
13,
74,
46,
66
] | 41 | [
"74-13=61",
"66-46=20",
"61-20=41"
] | Current State: 41:[13, 74, 46, 66], Operations: []
Exploring Operation: 74-13=61, Resulting Numbers: [46, 66, 61]
Generated Node #2: [46, 66, 61] from Operation: 74-13=61
Current State: 41:[46, 66, 61], Operations: ['74-13=61']
Exploring Operation: 66-46=20, Resulting Numbers: [61, 20]
Generated Node #3: [61, 20] from Operation: 66-46=20
Current State: 41:[61, 20], Operations: ['74-13=61', '66-46=20']
Exploring Operation: 61-20=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[13, 74, 46, 66], Operations: []
Exploring Operation: 74-13=61, Resulting Numbers: [46, 66, 61]
Generated Node #0,0: 41:[46, 66, 61] Operation: 74-13=61
Exploring Operation: 66-13=53, Resulting Numbers: [74, 46, 53]
Generated Node #0,1: 41:[74, 46, 53] Operation: 66-13=53
Moving to Node #0,0
Current State: 41:[46, 66, 61], Operations: ['74-13=61']
Exploring Operation: 66-46=20, Resulting Numbers: [61, 20]
Generated Node #0,0,0: 41:[61, 20] Operation: 66-46=20
Exploring Operation: 66-61=5, Resulting Numbers: [46, 5]
Generated Node #0,0,1: 41:[46, 5] Operation: 66-61=5
Moving to Node #0,1
Current State: 41:[74, 46, 53], Operations: ['66-13=53']
Exploring Operation: 74-46=28, Resulting Numbers: [53, 28]
Generated Node #0,1,0: 41:[53, 28] Operation: 74-46=28
Exploring Operation: 74-53=21, Resulting Numbers: [46, 21]
Generated Node #0,1,1: 41:[46, 21] Operation: 74-53=21
Moving to Node #0,1,0
Current State: 41:[53, 28], Operations: ['66-13=53', '74-46=28']
Exploring Operation: 53+28=81, Resulting Numbers: [81]
81,41 unequal: No Solution
Exploring Operation: 53-28=25, Resulting Numbers: [25]
25,41 unequal: No Solution
Moving to Node #0,1,1
Current State: 41:[46, 21], Operations: ['66-13=53', '74-53=21']
Exploring Operation: 46-21=25, Resulting Numbers: [25]
25,41 unequal: No Solution
Exploring Operation: 46+21=67, Resulting Numbers: [67]
67,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[46, 5], Operations: ['74-13=61', '66-61=5']
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[13, 74, 46, 66], Operations: []
Exploring Operation: 74-13=61, Resulting Numbers: [46, 66, 61]
Generated Node #0,0: 41:[46, 66, 61] Operation: 74-13=61
Moving to Node #0,0
Current State: 41:[46, 66, 61], Operations: ['74-13=61']
Exploring Operation: 66-61=5, Resulting Numbers: [46, 5]
Generated Node #0,0,1: 41:[46, 5] Operation: 66-61=5
Moving to Node #0,0,1
Current State: 41:[46, 5], Operations: ['74-13=61', '66-61=5']
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
98,
94,
8,
7
] | 18 | [
"98*8=784",
"784/7=112",
"112-94=18"
] | Current State: 18:[98, 94, 8, 7], Operations: []
Exploring Operation: 98*8=784, Resulting Numbers: [94, 7, 784]
Generated Node #2: [94, 7, 784] from Operation: 98*8=784
Current State: 18:[94, 7, 784], Operations: ['98*8=784']
Exploring Operation: 784/7=112, Resulting Numbers: [94, 112]
Generated Node #3: [94, 112] from Operation: 784/7=112
Current State: 18:[94, 112], Operations: ['98*8=784', '784/7=112']
Exploring Operation: 112-94=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[98, 94, 8, 7], Operations: []
Exploring Operation: 98-8=90, Resulting Numbers: [94, 7, 90]
Generated Node #0,0: 18:[94, 7, 90] Operation: 98-8=90
Exploring Operation: 98/7=14, Resulting Numbers: [94, 8, 14]
Generated Node #0,1: 18:[94, 8, 14] Operation: 98/7=14
Exploring Operation: 98-94=4, Resulting Numbers: [8, 7, 4]
Generated Node #0,2: 18:[8, 7, 4] Operation: 98-94=4
Exploring Operation: 94-8=86, Resulting Numbers: [98, 7, 86]
Generated Node #0,3: 18:[98, 7, 86] Operation: 94-8=86
Moving to Node #0,2
Current State: 18:[8, 7, 4], Operations: ['98-94=4']
Exploring Operation: 7-4=3, Resulting Numbers: [8, 3]
Generated Node #0,2,0: 18:[8, 3] Operation: 7-4=3
Exploring Operation: 8-4=4, Resulting Numbers: [7, 4]
Generated Node #0,2,1: 18:[7, 4] Operation: 8-4=4
Exploring Operation: 8-7=1, Resulting Numbers: [4, 1]
Generated Node #0,2,2: 18:[4, 1] Operation: 8-7=1
Exploring Operation: 8/4=2, Resulting Numbers: [7, 2]
Generated Node #0,2,3: 18:[7, 2] Operation: 8/4=2
Moving to Node #0,1
Current State: 18:[94, 8, 14], Operations: ['98/7=14']
Exploring Operation: 14-8=6, Resulting Numbers: [94, 6]
Generated Node #0,1,0: 18:[94, 6] Operation: 14-8=6
Exploring Operation: 8+14=22, Resulting Numbers: [94, 22]
Generated Node #0,1,1: 18:[94, 22] Operation: 8+14=22
Exploring Operation: 94-14=80, Resulting Numbers: [8, 80]
Generated Node #0,1,2: 18:[8, 80] Operation: 94-14=80
Exploring Operation: 94-8=86, Resulting Numbers: [14, 86]
Generated Node #0,1,3: 18:[14, 86] Operation: 94-8=86
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 18:[8, 80], Operations: ['98/7=14', '94-14=80']
Exploring Operation: 8*80=640, Resulting Numbers: [640]
640,18 unequal: No Solution
Exploring Operation: 80/8=10, Resulting Numbers: [10]
10,18 unequal: No Solution
Exploring Operation: 80-8=72, Resulting Numbers: [72]
72,18 unequal: No Solution
Exploring Operation: 8+80=88, Resulting Numbers: [88]
88,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 18:[14, 86], Operations: ['98/7=14', '94-8=86']
Exploring Operation: 14*86=1204, Resulting Numbers: [1204]
1204,18 unequal: No Solution
Exploring Operation: 14+86=100, Resulting Numbers: [100]
100,18 unequal: No Solution
Exploring Operation: 86-14=72, Resulting Numbers: [72]
72,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 18:[94, 6], Operations: ['98/7=14', '14-8=6']
Exploring Operation: 94-6=88, Resulting Numbers: [88]
88,18 unequal: No Solution
Exploring Operation: 94+6=100, Resulting Numbers: [100]
100,18 unequal: No Solution
Exploring Operation: 94*6=564, Resulting Numbers: [564]
564,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 18:[94, 22], Operations: ['98/7=14', '8+14=22']
Exploring Operation: 94+22=116, Resulting Numbers: [116]
116,18 unequal: No Solution
Exploring Operation: 94*22=2068, Resulting Numbers: [2068]
2068,18 unequal: No Solution
Exploring Operation: 94-22=72, Resulting Numbers: [72]
72,18 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: 18:[98, 7, 86], Operations: ['94-8=86']
Exploring Operation: 98-7=91, Resulting Numbers: [86, 91]
Generated Node #0,3,0: 18:[86, 91] Operation: 98-7=91
Exploring Operation: 98/7=14, Resulting Numbers: [86, 14]
Generated Node #0,3,1: 18:[86, 14] Operation: 98/7=14
Exploring Operation: 86-7=79, Resulting Numbers: [98, 79]
Generated Node #0,3,2: 18:[98, 79] Operation: 86-7=79
Exploring Operation: 98-86=12, Resulting Numbers: [7, 12]
Generated Node #0,3,3: 18:[7, 12] Operation: 98-86=12
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 18:[7, 12], Operations: ['94-8=86', '98-86=12']
Exploring Operation: 7+12=19, Resulting Numbers: [19]
19,18 unequal: No Solution
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 7*12=84, Resulting Numbers: [84]
84,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 18:[86, 14], Operations: ['94-8=86', '98/7=14']
Exploring Operation: 86+14=100, Resulting Numbers: [100]
100,18 unequal: No Solution
Exploring Operation: 86*14=1204, Resulting Numbers: [1204]
1204,18 unequal: No Solution
Exploring Operation: 86-14=72, Resulting Numbers: [72]
72,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 18:[86, 91], Operations: ['94-8=86', '98-7=91']
Exploring Operation: 86+91=177, Resulting Numbers: [177]
177,18 unequal: No Solution
Exploring Operation: 86*91=7826, Resulting Numbers: [7826]
7826,18 unequal: No Solution
Exploring Operation: 91-86=5, Resulting Numbers: [5]
5,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 18:[98, 79], Operations: ['94-8=86', '86-7=79']
Exploring Operation: 98*79=7742, Resulting Numbers: [7742]
7742,18 unequal: No Solution
Exploring Operation: 98-79=19, Resulting Numbers: [19]
19,18 unequal: No Solution
Exploring Operation: 98+79=177, Resulting Numbers: [177]
177,18 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: 18:[94, 7, 90], Operations: ['98-8=90']
Exploring Operation: 94+7=101, Resulting Numbers: [90, 101]
Generated Node #0,0,0: 18:[90, 101] Operation: 94+7=101
Exploring Operation: 94-90=4, Resulting Numbers: [7, 4]
Generated Node #0,0,1: 18:[7, 4] Operation: 94-90=4
Exploring Operation: 94-7=87, Resulting Numbers: [90, 87]
Generated Node #0,0,2: 18:[90, 87] Operation: 94-7=87
Exploring Operation: 90-7=83, Resulting Numbers: [94, 83]
Generated Node #0,0,3: 18:[94, 83] Operation: 90-7=83
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 18:[7, 4], Operations: ['98-8=90', '94-90=4']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,18 unequal: No Solution
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 18:[90, 87], Operations: ['98-8=90', '94-7=87']
Exploring Operation: 90-87=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 90+87=177, Resulting Numbers: [177]
177,18 unequal: No Solution
Exploring Operation: 90*87=7830, Resulting Numbers: [7830]
7830,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 18:[94, 83], Operations: ['98-8=90', '90-7=83']
Exploring Operation: 94*83=7802, Resulting Numbers: [7802]
7802,18 unequal: No Solution
Exploring Operation: 94-83=11, Resulting Numbers: [11]
11,18 unequal: No Solution
Exploring Operation: 94+83=177, Resulting Numbers: [177]
177,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 18:[90, 101], Operations: ['98-8=90', '94+7=101']
Exploring Operation: 101-90=11, Resulting Numbers: [11]
11,18 unequal: No Solution
Exploring Operation: 90*101=9090, Resulting Numbers: [9090]
9090,18 unequal: No Solution
Exploring Operation: 90+101=191, Resulting Numbers: [191]
191,18 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: 18:[8, 3], Operations: ['98-94=4', '7-4=3']
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,18 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,18 unequal: No Solution
Moving to Node #0,2,3
Current State: 18:[7, 2], Operations: ['98-94=4', '8/4=2']
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,18 unequal: No Solution
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,18 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Moving to Node #0,2,2
Current State: 18:[4, 1], Operations: ['98-94=4', '8-7=1']
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,18 unequal: No Solution
Exploring Operation: 4+1=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 4-1=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,18 unequal: No Solution
Moving to Node #0,2,1
Current State: 18:[7, 4], Operations: ['98-94=4', '8-4=4']
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,18 unequal: No Solution
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,18 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,18 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
69,
63,
18,
75
] | 20 | [
"63+75=138",
"138/69=2",
"18+2=20"
] | Current State: 20:[69, 63, 18, 75], Operations: []
Exploring Operation: 63+75=138, Resulting Numbers: [69, 18, 138]
Generated Node #2: [69, 18, 138] from Operation: 63+75=138
Current State: 20:[69, 18, 138], Operations: ['63+75=138']
Exploring Operation: 138/69=2, Resulting Numbers: [18, 2]
Generated Node #3: [18, 2] from Operation: 138/69=2
Current State: 20:[18, 2], Operations: ['63+75=138', '138/69=2']
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[69, 63, 18, 75], Operations: []
Exploring Operation: 75-63=12, Resulting Numbers: [69, 18, 12]
Generated Node #0,0: 20:[69, 18, 12] Operation: 75-63=12
Exploring Operation: 75-69=6, Resulting Numbers: [63, 18, 6]
Generated Node #0,1: 20:[63, 18, 6] Operation: 75-69=6
Exploring Operation: 69-63=6, Resulting Numbers: [18, 75, 6]
Generated Node #0,2: 20:[18, 75, 6] Operation: 69-63=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[63, 18, 6], Operations: ['75-69=6']
Exploring Operation: 18/6=3, Resulting Numbers: [63, 3]
Generated Node #0,1,0: 20:[63, 3] Operation: 18/6=3
Exploring Operation: 63-18=45, Resulting Numbers: [6, 45]
Generated Node #0,1,1: 20:[6, 45] Operation: 63-18=45
Exploring Operation: 63-6=57, Resulting Numbers: [18, 57]
Generated Node #0,1,2: 20:[18, 57] Operation: 63-6=57
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 20:[6, 45], Operations: ['75-69=6', '63-18=45']
Exploring Operation: 6*45=270, Resulting Numbers: [270]
270,20 unequal: No Solution
Exploring Operation: 6+45=51, Resulting Numbers: [51]
51,20 unequal: No Solution
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 20:[18, 57], Operations: ['75-69=6', '63-6=57']
Exploring Operation: 18*57=1026, Resulting Numbers: [1026]
1026,20 unequal: No Solution
Exploring Operation: 57-18=39, Resulting Numbers: [39]
39,20 unequal: No Solution
Exploring Operation: 18+57=75, Resulting Numbers: [75]
75,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 20:[63, 3], Operations: ['75-69=6', '18/6=3']
Exploring Operation: 63+3=66, Resulting Numbers: [66]
66,20 unequal: No Solution
Exploring Operation: 63-3=60, Resulting Numbers: [60]
60,20 unequal: No Solution
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,20 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: 20:[69, 18, 12], Operations: ['75-63=12']
Exploring Operation: 18-12=6, Resulting Numbers: [69, 6]
Generated Node #0,0,0: 20:[69, 6] Operation: 18-12=6
Exploring Operation: 69-18=51, Resulting Numbers: [12, 51]
Generated Node #0,0,1: 20:[12, 51] Operation: 69-18=51
Exploring Operation: 69-12=57, Resulting Numbers: [18, 57]
Generated Node #0,0,2: 20:[18, 57] Operation: 69-12=57
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 20:[12, 51], Operations: ['75-63=12', '69-18=51']
Exploring Operation: 51-12=39, Resulting Numbers: [39]
39,20 unequal: No Solution
Exploring Operation: 12+51=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Exploring Operation: 12*51=612, Resulting Numbers: [612]
612,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 20:[18, 57], Operations: ['75-63=12', '69-12=57']
Exploring Operation: 18+57=75, Resulting Numbers: [75]
75,20 unequal: No Solution
Exploring Operation: 57-18=39, Resulting Numbers: [39]
39,20 unequal: No Solution
Exploring Operation: 18*57=1026, Resulting Numbers: [1026]
1026,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 20:[69, 6], Operations: ['75-63=12', '18-12=6']
Exploring Operation: 69*6=414, Resulting Numbers: [414]
414,20 unequal: No Solution
Exploring Operation: 69-6=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Exploring Operation: 69+6=75, Resulting Numbers: [75]
75,20 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: 20:[18, 75, 6], Operations: ['69-63=6']
Exploring Operation: 75-6=69, Resulting Numbers: [18, 69]
Generated Node #0,2,0: 20:[18, 69] Operation: 75-6=69
Exploring Operation: 18/6=3, Resulting Numbers: [75, 3]
Generated Node #0,2,1: 20:[75, 3] Operation: 18/6=3
Exploring Operation: 75-18=57, Resulting Numbers: [6, 57]
Generated Node #0,2,2: 20:[6, 57] Operation: 75-18=57
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 20:[6, 57], Operations: ['69-63=6', '75-18=57']
Exploring Operation: 6+57=63, Resulting Numbers: [63]
63,20 unequal: No Solution
Exploring Operation: 6*57=342, Resulting Numbers: [342]
342,20 unequal: No Solution
Exploring Operation: 57-6=51, Resulting Numbers: [51]
51,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 20:[18, 69], Operations: ['69-63=6', '75-6=69']
Exploring Operation: 69-18=51, Resulting Numbers: [51]
51,20 unequal: No Solution
Exploring Operation: 18+69=87, Resulting Numbers: [87]
87,20 unequal: No Solution
Exploring Operation: 18*69=1242, Resulting Numbers: [1242]
1242,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 20:[75, 3], Operations: ['69-63=6', '18/6=3']
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,20 unequal: No Solution
Exploring Operation: 75+3=78, Resulting Numbers: [78]
78,20 unequal: No Solution
Exploring Operation: 75-3=72, Resulting Numbers: [72]
72,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
23,
16,
58,
46
] | 51 | [
"23+16=39",
"58-46=12",
"39+12=51"
] | Current State: 51:[23, 16, 58, 46], Operations: []
Exploring Operation: 23+16=39, Resulting Numbers: [58, 46, 39]
Generated Node #2: [58, 46, 39] from Operation: 23+16=39
Current State: 51:[58, 46, 39], Operations: ['23+16=39']
Exploring Operation: 58-46=12, Resulting Numbers: [39, 12]
Generated Node #3: [39, 12] from Operation: 58-46=12
Current State: 51:[39, 12], Operations: ['23+16=39', '58-46=12']
Exploring Operation: 39+12=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[23, 16, 58, 46], Operations: []
Exploring Operation: 46/23=2, Resulting Numbers: [16, 58, 2]
Generated Node #0,0: 51:[16, 58, 2] Operation: 46/23=2
Exploring Operation: 46-23=23, Resulting Numbers: [16, 58, 23]
Generated Node #0,1: 51:[16, 58, 23] Operation: 46-23=23
Exploring Operation: 23-16=7, Resulting Numbers: [58, 46, 7]
Generated Node #0,2: 51:[58, 46, 7] Operation: 23-16=7
Exploring Operation: 58-46=12, Resulting Numbers: [23, 16, 12]
Generated Node #0,3: 51:[23, 16, 12] Operation: 58-46=12
Moving to Node #0,0
Current State: 51:[16, 58, 2], Operations: ['46/23=2']
Exploring Operation: 16+2=18, Resulting Numbers: [58, 18]
Generated Node #0,0,0: 51:[58, 18] Operation: 16+2=18
Exploring Operation: 16-2=14, Resulting Numbers: [58, 14]
Generated Node #0,0,1: 51:[58, 14] Operation: 16-2=14
Exploring Operation: 58-2=56, Resulting Numbers: [16, 56]
Generated Node #0,0,2: 51:[16, 56] Operation: 58-2=56
Exploring Operation: 58-16=42, Resulting Numbers: [2, 42]
Generated Node #0,0,3: 51:[2, 42] Operation: 58-16=42
Moving to Node #0,3
Current State: 51:[23, 16, 12], Operations: ['58-46=12']
Exploring Operation: 23-12=11, Resulting Numbers: [16, 11]
Generated Node #0,3,0: 51:[16, 11] Operation: 23-12=11
Exploring Operation: 23+16=39, Resulting Numbers: [12, 39]
Generated Node #0,3,1: 51:[12, 39] Operation: 23+16=39
Exploring Operation: 23-16=7, Resulting Numbers: [12, 7]
Generated Node #0,3,2: 51:[12, 7] Operation: 23-16=7
Exploring Operation: 16-12=4, Resulting Numbers: [23, 4]
Generated Node #0,3,3: 51:[23, 4] Operation: 16-12=4
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 51:[16, 11], Operations: ['58-46=12', '23-12=11']
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,51 unequal: No Solution
Exploring Operation: 16*11=176, Resulting Numbers: [176]
176,51 unequal: No Solution
Exploring Operation: 16+11=27, Resulting Numbers: [27]
27,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,3
Current State: 51:[23, 4], Operations: ['58-46=12', '16-12=4']
Exploring Operation: 23+4=27, Resulting Numbers: [27]
27,51 unequal: No Solution
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,51 unequal: No Solution
Exploring Operation: 23*4=92, Resulting Numbers: [92]
92,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,2
Current State: 51:[12, 7], Operations: ['58-46=12', '23-16=7']
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,51 unequal: No Solution
Exploring Operation: 12*7=84, Resulting Numbers: [84]
84,51 unequal: No Solution
Exploring Operation: 12+7=19, Resulting Numbers: [19]
19,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,1
Current State: 51:[12, 39], Operations: ['58-46=12', '23+16=39']
Exploring Operation: 12+39=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[23, 16, 58, 46], Operations: []
Exploring Operation: 58-46=12, Resulting Numbers: [23, 16, 12]
Generated Node #0,3: 51:[23, 16, 12] Operation: 58-46=12
Moving to Node #0,3
Current State: 51:[23, 16, 12], Operations: ['58-46=12']
Exploring Operation: 23+16=39, Resulting Numbers: [12, 39]
Generated Node #0,3,1: 51:[12, 39] Operation: 23+16=39
Moving to Node #0,3,1
Current State: 51:[12, 39], Operations: ['58-46=12', '23+16=39']
Exploring Operation: 12+39=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_4 | sum_heuristic |
[
80,
46,
82,
96
] | 100 | [
"82-80=2",
"96-46=50",
"2*50=100"
] | Current State: 100:[80, 46, 82, 96], Operations: []
Exploring Operation: 82-80=2, Resulting Numbers: [46, 96, 2]
Generated Node #2: [46, 96, 2] from Operation: 82-80=2
Current State: 100:[46, 96, 2], Operations: ['82-80=2']
Exploring Operation: 96-46=50, Resulting Numbers: [2, 50]
Generated Node #3: [2, 50] from Operation: 96-46=50
Current State: 100:[2, 50], Operations: ['82-80=2', '96-46=50']
Exploring Operation: 2*50=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[80, 46, 82, 96], Operations: []
Exploring Operation: 96-80=16, Resulting Numbers: [46, 82, 16]
Generated Node #0,0: 100:[46, 82, 16] Operation: 96-80=16
Exploring Operation: 96-82=14, Resulting Numbers: [80, 46, 14]
Generated Node #0,1: 100:[80, 46, 14] Operation: 96-82=14
Exploring Operation: 82-80=2, Resulting Numbers: [46, 96, 2]
Generated Node #0,2: 100:[46, 96, 2] Operation: 82-80=2
Moving to Node #0,2
Current State: 100:[46, 96, 2], Operations: ['82-80=2']
Exploring Operation: 46/2=23, Resulting Numbers: [96, 23]
Generated Node #0,2,0: 100:[96, 23] Operation: 46/2=23
Exploring Operation: 46+2=48, Resulting Numbers: [96, 48]
Generated Node #0,2,1: 100:[96, 48] Operation: 46+2=48
Exploring Operation: 96-46=50, Resulting Numbers: [2, 50]
Generated Node #0,2,2: 100:[2, 50] Operation: 96-46=50
Moving to Node #0,0
Current State: 100:[46, 82, 16], Operations: ['96-80=16']
Exploring Operation: 82-46=36, Resulting Numbers: [16, 36]
Generated Node #0,0,0: 100:[16, 36] Operation: 82-46=36
Exploring Operation: 82-16=66, Resulting Numbers: [46, 66]
Generated Node #0,0,1: 100:[46, 66] Operation: 82-16=66
Exploring Operation: 82+16=98, Resulting Numbers: [46, 98]
Generated Node #0,0,2: 100:[46, 98] Operation: 82+16=98
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 100:[46, 98], Operations: ['96-80=16', '82+16=98']
Exploring Operation: 46+98=144, Resulting Numbers: [144]
144,100 unequal: No Solution
Exploring Operation: 46*98=4508, Resulting Numbers: [4508]
4508,100 unequal: No Solution
Exploring Operation: 98-46=52, Resulting Numbers: [52]
52,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 100:[16, 36], Operations: ['96-80=16', '82-46=36']
Exploring Operation: 16+36=52, Resulting Numbers: [52]
52,100 unequal: No Solution
Exploring Operation: 36-16=20, Resulting Numbers: [20]
20,100 unequal: No Solution
Exploring Operation: 16*36=576, Resulting Numbers: [576]
576,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 100:[46, 66], Operations: ['96-80=16', '82-16=66']
Exploring Operation: 46*66=3036, Resulting Numbers: [3036]
3036,100 unequal: No Solution
Exploring Operation: 46+66=112, Resulting Numbers: [112]
112,100 unequal: No Solution
Exploring Operation: 66-46=20, Resulting Numbers: [20]
20,100 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: 100:[80, 46, 14], Operations: ['96-82=14']
Exploring Operation: 80-14=66, Resulting Numbers: [46, 66]
Generated Node #0,1,0: 100:[46, 66] Operation: 80-14=66
Exploring Operation: 80+14=94, Resulting Numbers: [46, 94]
Generated Node #0,1,1: 100:[46, 94] Operation: 80+14=94
Exploring Operation: 80-46=34, Resulting Numbers: [14, 34]
Generated Node #0,1,2: 100:[14, 34] Operation: 80-46=34
Moving to Node #0,2,2
Current State: 100:[2, 50], Operations: ['82-80=2', '96-46=50']
Exploring Operation: 2+50=52, Resulting Numbers: [52]
52,100 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,100 unequal: No Solution
Exploring Operation: 2*50=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[80, 46, 82, 96], Operations: []
Exploring Operation: 82-80=2, Resulting Numbers: [46, 96, 2]
Generated Node #0,2: 100:[46, 96, 2] Operation: 82-80=2
Moving to Node #0,2
Current State: 100:[46, 96, 2], Operations: ['82-80=2']
Exploring Operation: 96-46=50, Resulting Numbers: [2, 50]
Generated Node #0,2,2: 100:[2, 50] Operation: 96-46=50
Moving to Node #0,2,2
Current State: 100:[2, 50], Operations: ['82-80=2', '96-46=50']
Exploring Operation: 2*50=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 0.975694 | hs_3 | sum_heuristic |
[
48,
47,
94,
16
] | 62 | [
"48+16=64",
"94/47=2",
"64-2=62"
] | Current State: 62:[48, 47, 94, 16], Operations: []
Exploring Operation: 48+16=64, Resulting Numbers: [47, 94, 64]
Generated Node #2: [47, 94, 64] from Operation: 48+16=64
Current State: 62:[47, 94, 64], Operations: ['48+16=64']
Exploring Operation: 94/47=2, Resulting Numbers: [64, 2]
Generated Node #3: [64, 2] from Operation: 94/47=2
Current State: 62:[64, 2], Operations: ['48+16=64', '94/47=2']
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[48, 47, 94, 16], Operations: []
Exploring Operation: 94/47=2, Resulting Numbers: [48, 16, 2]
Generated Node #0,0: 62:[48, 16, 2] Operation: 94/47=2
Exploring Operation: 94-47=47, Resulting Numbers: [48, 16, 47]
Generated Node #0,1: 62:[48, 16, 47] Operation: 94-47=47
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[48, 16, 2], Operations: ['94/47=2']
Exploring Operation: 48-16=32, Resulting Numbers: [2, 32]
Generated Node #0,0,0: 62:[2, 32] Operation: 48-16=32
Exploring Operation: 48/16=3, Resulting Numbers: [2, 3]
Generated Node #0,0,1: 62:[2, 3] Operation: 48/16=3
Moving to Node #0,0,0
Current State: 62:[2, 32], Operations: ['94/47=2', '48-16=32']
Exploring Operation: 2*32=64, Resulting Numbers: [64]
64,62 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,62 unequal: No Solution
Moving to Node #0,0,1
Current State: 62:[2, 3], Operations: ['94/47=2', '48/16=3']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,62 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[48, 16, 47], Operations: ['94-47=47']
Exploring Operation: 47-16=31, Resulting Numbers: [48, 31]
Generated Node #0,1,0: 62:[48, 31] Operation: 47-16=31
Exploring Operation: 48-47=1, Resulting Numbers: [16, 1]
Generated Node #0,1,1: 62:[16, 1] Operation: 48-47=1
Moving to Node #0,1,0
Current State: 62:[48, 31], Operations: ['94-47=47', '47-16=31']
Exploring Operation: 48-31=17, Resulting Numbers: [17]
17,62 unequal: No Solution
Exploring Operation: 48+31=79, Resulting Numbers: [79]
79,62 unequal: No Solution
Moving to Node #0,1,1
Current State: 62:[16, 1], Operations: ['94-47=47', '48-47=1']
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,62 unequal: No Solution
Exploring Operation: 16+1=17, Resulting Numbers: [17]
17,62 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 |
[
90,
96,
39,
60
] | 49 | [
"96-90=6",
"60/6=10",
"39+10=49"
] | Current State: 49:[90, 96, 39, 60], Operations: []
Exploring Operation: 96-90=6, Resulting Numbers: [39, 60, 6]
Generated Node #2: [39, 60, 6] from Operation: 96-90=6
Current State: 49:[39, 60, 6], Operations: ['96-90=6']
Exploring Operation: 60/6=10, Resulting Numbers: [39, 10]
Generated Node #3: [39, 10] from Operation: 60/6=10
Current State: 49:[39, 10], Operations: ['96-90=6', '60/6=10']
Exploring Operation: 39+10=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[90, 96, 39, 60], Operations: []
Exploring Operation: 90-39=51, Resulting Numbers: [96, 60, 51]
Generated Node #0,0: 49:[96, 60, 51] Operation: 90-39=51
Exploring Operation: 96-90=6, Resulting Numbers: [39, 60, 6]
Generated Node #0,1: 49:[39, 60, 6] Operation: 96-90=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[39, 60, 6], Operations: ['96-90=6']
Exploring Operation: 60-39=21, Resulting Numbers: [6, 21]
Generated Node #0,1,0: 49:[6, 21] Operation: 60-39=21
Exploring Operation: 60/6=10, Resulting Numbers: [39, 10]
Generated Node #0,1,1: 49:[39, 10] Operation: 60/6=10
Moving to Node #0,1,1
Current State: 49:[39, 10], Operations: ['96-90=6', '60/6=10']
Exploring Operation: 39-10=29, Resulting Numbers: [29]
29,49 unequal: No Solution
Exploring Operation: 39+10=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[90, 96, 39, 60], Operations: []
Exploring Operation: 96-90=6, Resulting Numbers: [39, 60, 6]
Generated Node #0,1: 49:[39, 60, 6] Operation: 96-90=6
Moving to Node #0,1
Current State: 49:[39, 60, 6], Operations: ['96-90=6']
Exploring Operation: 60/6=10, Resulting Numbers: [39, 10]
Generated Node #0,1,1: 49:[39, 10] Operation: 60/6=10
Moving to Node #0,1,1
Current State: 49:[39, 10], Operations: ['96-90=6', '60/6=10']
Exploring Operation: 39+10=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
8,
6,
43,
24
] | 19 | [
"8*6=48",
"43+24=67",
"67-48=19"
] | Current State: 19:[8, 6, 43, 24], Operations: []
Exploring Operation: 8*6=48, Resulting Numbers: [43, 24, 48]
Generated Node #2: [43, 24, 48] from Operation: 8*6=48
Current State: 19:[43, 24, 48], Operations: ['8*6=48']
Exploring Operation: 43+24=67, Resulting Numbers: [48, 67]
Generated Node #3: [48, 67] from Operation: 43+24=67
Current State: 19:[48, 67], Operations: ['8*6=48', '43+24=67']
Exploring Operation: 67-48=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[8, 6, 43, 24], Operations: []
Exploring Operation: 8+6=14, Resulting Numbers: [43, 24, 14]
Generated Node #0,0: 19:[43, 24, 14] Operation: 8+6=14
Exploring Operation: 43-24=19, Resulting Numbers: [8, 6, 19]
Generated Node #0,1: 19:[8, 6, 19] Operation: 43-24=19
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[8, 6, 19], Operations: ['43-24=19']
Exploring Operation: 8-6=2, Resulting Numbers: [19, 2]
Generated Node #0,1,0: 19:[19, 2] Operation: 8-6=2
Exploring Operation: 8+6=14, Resulting Numbers: [19, 14]
Generated Node #0,1,1: 19:[19, 14] Operation: 8+6=14
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 19:[19, 14], Operations: ['43-24=19', '8+6=14']
Exploring Operation: 19+14=33, Resulting Numbers: [33]
33,19 unequal: No Solution
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 19:[19, 2], Operations: ['43-24=19', '8-6=2']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,19 unequal: No Solution
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[43, 24, 14], Operations: ['8+6=14']
Exploring Operation: 43-24=19, Resulting Numbers: [14, 19]
Generated Node #0,0,0: 19:[14, 19] Operation: 43-24=19
Exploring Operation: 43-14=29, Resulting Numbers: [24, 29]
Generated Node #0,0,1: 19:[24, 29] Operation: 43-14=29
Moving to Node #0,0,0
Current State: 19:[14, 19], Operations: ['8+6=14', '43-24=19']
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Exploring Operation: 14+19=33, Resulting Numbers: [33]
33,19 unequal: No Solution
Moving to Node #0,0,1
Current State: 19:[24, 29], Operations: ['8+6=14', '43-14=29']
Exploring Operation: 29-24=5, Resulting Numbers: [5]
5,19 unequal: No Solution
Exploring Operation: 24+29=53, Resulting Numbers: [53]
53,19 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 |
[
3,
50,
17,
73
] | 72 | [
"3*17=51",
"50+73=123",
"123-51=72"
] | Current State: 72:[3, 50, 17, 73], Operations: []
Exploring Operation: 3*17=51, Resulting Numbers: [50, 73, 51]
Generated Node #2: [50, 73, 51] from Operation: 3*17=51
Current State: 72:[50, 73, 51], Operations: ['3*17=51']
Exploring Operation: 50+73=123, Resulting Numbers: [51, 123]
Generated Node #3: [51, 123] from Operation: 50+73=123
Current State: 72:[51, 123], Operations: ['3*17=51', '50+73=123']
Exploring Operation: 123-51=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[3, 50, 17, 73], Operations: []
Exploring Operation: 73-50=23, Resulting Numbers: [3, 17, 23]
Generated Node #0,0: 72:[3, 17, 23] Operation: 73-50=23
Exploring Operation: 50-17=33, Resulting Numbers: [3, 73, 33]
Generated Node #0,1: 72:[3, 73, 33] Operation: 50-17=33
Exploring Operation: 50+17=67, Resulting Numbers: [3, 73, 67]
Generated Node #0,2: 72:[3, 73, 67] Operation: 50+17=67
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[3, 17, 23], Operations: ['73-50=23']
Exploring Operation: 17-3=14, Resulting Numbers: [23, 14]
Generated Node #0,0,0: 72:[23, 14] Operation: 17-3=14
Exploring Operation: 23-17=6, Resulting Numbers: [3, 6]
Generated Node #0,0,1: 72:[3, 6] Operation: 23-17=6
Exploring Operation: 3+17=20, Resulting Numbers: [23, 20]
Generated Node #0,0,2: 72:[23, 20] Operation: 3+17=20
Moving to Node #0,0,1
Current State: 72:[3, 6], Operations: ['73-50=23', '23-17=6']
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,72 unequal: No Solution
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Moving to Node #0,0,0
Current State: 72:[23, 14], Operations: ['73-50=23', '17-3=14']
Exploring Operation: 23+14=37, Resulting Numbers: [37]
37,72 unequal: No Solution
Exploring Operation: 23*14=322, Resulting Numbers: [322]
322,72 unequal: No Solution
Exploring Operation: 23-14=9, Resulting Numbers: [9]
9,72 unequal: No Solution
Moving to Node #0,0,2
Current State: 72:[23, 20], Operations: ['73-50=23', '3+17=20']
Exploring Operation: 23-20=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Exploring Operation: 23*20=460, Resulting Numbers: [460]
460,72 unequal: No Solution
Exploring Operation: 23+20=43, Resulting Numbers: [43]
43,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[3, 73, 33], Operations: ['50-17=33']
Exploring Operation: 33/3=11, Resulting Numbers: [73, 11]
Generated Node #0,1,0: 72:[73, 11] Operation: 33/3=11
Exploring Operation: 3+33=36, Resulting Numbers: [73, 36]
Generated Node #0,1,1: 72:[73, 36] Operation: 3+33=36
Exploring Operation: 73-33=40, Resulting Numbers: [3, 40]
Generated Node #0,1,2: 72:[3, 40] Operation: 73-33=40
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 72:[73, 36], Operations: ['50-17=33', '3+33=36']
Exploring Operation: 73*36=2628, Resulting Numbers: [2628]
2628,72 unequal: No Solution
Exploring Operation: 73-36=37, Resulting Numbers: [37]
37,72 unequal: No Solution
Exploring Operation: 73+36=109, Resulting Numbers: [109]
109,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,1,0
Current State: 72:[73, 11], Operations: ['50-17=33', '33/3=11']
Exploring Operation: 73+11=84, Resulting Numbers: [84]
84,72 unequal: No Solution
Exploring Operation: 73*11=803, Resulting Numbers: [803]
803,72 unequal: No Solution
Exploring Operation: 73-11=62, Resulting Numbers: [62]
62,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,1,2
Current State: 72:[3, 40], Operations: ['50-17=33', '73-33=40']
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,72 unequal: No Solution
Exploring Operation: 3+40=43, Resulting Numbers: [43]
43,72 unequal: No Solution
Exploring Operation: 3*40=120, Resulting Numbers: [120]
120,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,2
Current State: 72:[3, 73, 67], Operations: ['50+17=67']
Exploring Operation: 73-3=70, Resulting Numbers: [67, 70]
Generated Node #0,2,0: 72:[67, 70] Operation: 73-3=70
Exploring Operation: 73-67=6, Resulting Numbers: [3, 6]
Generated Node #0,2,1: 72:[3, 6] Operation: 73-67=6
Exploring Operation: 3+67=70, Resulting Numbers: [73, 70]
Generated Node #0,2,2: 72:[73, 70] Operation: 3+67=70
Moving to Node #0,2,1
Current State: 72:[3, 6], Operations: ['50+17=67', '73-67=6']
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,72 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Moving to Node #0,2,2
Current State: 72:[73, 70], Operations: ['50+17=67', '3+67=70']
Exploring Operation: 73+70=143, Resulting Numbers: [143]
143,72 unequal: No Solution
Exploring Operation: 73-70=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Exploring Operation: 73*70=5110, Resulting Numbers: [5110]
5110,72 unequal: No Solution
Moving to Node #0,2,0
Current State: 72:[67, 70], Operations: ['50+17=67', '73-3=70']
Exploring Operation: 70-67=3, Resulting Numbers: [3]
3,72 unequal: No Solution
Exploring Operation: 67*70=4690, Resulting Numbers: [4690]
4690,72 unequal: No Solution
Exploring Operation: 67+70=137, Resulting Numbers: [137]
137,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
67,
69,
1,
74
] | 77 | [
"69-67=2",
"1+74=75",
"2+75=77"
] | Current State: 77:[67, 69, 1, 74], Operations: []
Exploring Operation: 69-67=2, Resulting Numbers: [1, 74, 2]
Generated Node #2: [1, 74, 2] from Operation: 69-67=2
Current State: 77:[1, 74, 2], Operations: ['69-67=2']
Exploring Operation: 1+74=75, Resulting Numbers: [2, 75]
Generated Node #3: [2, 75] from Operation: 1+74=75
Current State: 77:[2, 75], Operations: ['69-67=2', '1+74=75']
Exploring Operation: 2+75=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[67, 69, 1, 74], Operations: []
Exploring Operation: 69-67=2, Resulting Numbers: [1, 74, 2]
Generated Node #0,0: 77:[1, 74, 2] Operation: 69-67=2
Exploring Operation: 74-69=5, Resulting Numbers: [67, 1, 5]
Generated Node #0,1: 77:[67, 1, 5] Operation: 74-69=5
Exploring Operation: 74-67=7, Resulting Numbers: [69, 1, 7]
Generated Node #0,2: 77:[69, 1, 7] Operation: 74-67=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[1, 74, 2], Operations: ['69-67=2']
Exploring Operation: 74+2=76, Resulting Numbers: [1, 76]
Generated Node #0,0,0: 77:[1, 76] Operation: 74+2=76
Exploring Operation: 1+74=75, Resulting Numbers: [2, 75]
Generated Node #0,0,1: 77:[2, 75] Operation: 1+74=75
Exploring Operation: 1+2=3, Resulting Numbers: [74, 3]
Generated Node #0,0,2: 77:[74, 3] Operation: 1+2=3
Moving to Node #0,0,0
Current State: 77:[1, 76], Operations: ['69-67=2', '74+2=76']
Exploring Operation: 1+76=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[67, 69, 1, 74], Operations: []
Exploring Operation: 69-67=2, Resulting Numbers: [1, 74, 2]
Generated Node #0,0: 77:[1, 74, 2] Operation: 69-67=2
Moving to Node #0,0
Current State: 77:[1, 74, 2], Operations: ['69-67=2']
Exploring Operation: 74+2=76, Resulting Numbers: [1, 76]
Generated Node #0,0,0: 77:[1, 76] Operation: 74+2=76
Moving to Node #0,0,0
Current State: 77:[1, 76], Operations: ['69-67=2', '74+2=76']
Exploring Operation: 1+76=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
42,
13,
67,
10
] | 34 | [
"13+67=80",
"80/10=8",
"42-8=34"
] | Current State: 34:[42, 13, 67, 10], Operations: []
Exploring Operation: 13+67=80, Resulting Numbers: [42, 10, 80]
Generated Node #2: [42, 10, 80] from Operation: 13+67=80
Current State: 34:[42, 10, 80], Operations: ['13+67=80']
Exploring Operation: 80/10=8, Resulting Numbers: [42, 8]
Generated Node #3: [42, 8] from Operation: 80/10=8
Current State: 34:[42, 8], Operations: ['13+67=80', '80/10=8']
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[42, 13, 67, 10], Operations: []
Exploring Operation: 67-42=25, Resulting Numbers: [13, 10, 25]
Generated Node #0,0: 34:[13, 10, 25] Operation: 67-42=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[13, 10, 25], Operations: ['67-42=25']
Exploring Operation: 10+25=35, Resulting Numbers: [13, 35]
Generated Node #0,0,0: 34:[13, 35] Operation: 10+25=35
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 34:[13, 35], Operations: ['67-42=25', '10+25=35']
Exploring Operation: 35-13=22, Resulting Numbers: [22]
22,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
97,
39,
63,
7
] | 80 | [
"97+39=136",
"63-7=56",
"136-56=80"
] | Current State: 80:[97, 39, 63, 7], Operations: []
Exploring Operation: 97+39=136, Resulting Numbers: [63, 7, 136]
Generated Node #2: [63, 7, 136] from Operation: 97+39=136
Current State: 80:[63, 7, 136], Operations: ['97+39=136']
Exploring Operation: 63-7=56, Resulting Numbers: [136, 56]
Generated Node #3: [136, 56] from Operation: 63-7=56
Current State: 80:[136, 56], Operations: ['97+39=136', '63-7=56']
Exploring Operation: 136-56=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[97, 39, 63, 7], Operations: []
Exploring Operation: 97-63=34, Resulting Numbers: [39, 7, 34]
Generated Node #0,0: 80:[39, 7, 34] Operation: 97-63=34
Moving to Node #0,0
Current State: 80:[39, 7, 34], Operations: ['97-63=34']
Exploring Operation: 39-34=5, Resulting Numbers: [7, 5]
Generated Node #0,0,0: 80:[7, 5] Operation: 39-34=5
Moving to Node #0,0,0
Current State: 80:[7, 5], Operations: ['97-63=34', '39-34=5']
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,80 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
79,
1,
37,
74
] | 40 | [
"79+1=80",
"74/37=2",
"80/2=40"
] | Current State: 40:[79, 1, 37, 74], Operations: []
Exploring Operation: 79+1=80, Resulting Numbers: [37, 74, 80]
Generated Node #2: [37, 74, 80] from Operation: 79+1=80
Current State: 40:[37, 74, 80], Operations: ['79+1=80']
Exploring Operation: 74/37=2, Resulting Numbers: [80, 2]
Generated Node #3: [80, 2] from Operation: 74/37=2
Current State: 40:[80, 2], Operations: ['79+1=80', '74/37=2']
Exploring Operation: 80/2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[79, 1, 37, 74], Operations: []
Exploring Operation: 79-74=5, Resulting Numbers: [1, 37, 5]
Generated Node #0,0: 40:[1, 37, 5] Operation: 79-74=5
Exploring Operation: 79-37=42, Resulting Numbers: [1, 74, 42]
Generated Node #0,1: 40:[1, 74, 42] Operation: 79-37=42
Exploring Operation: 74/37=2, Resulting Numbers: [79, 1, 2]
Generated Node #0,2: 40:[79, 1, 2] Operation: 74/37=2
Moving to Node #0,0
Current State: 40:[1, 37, 5], Operations: ['79-74=5']
Exploring Operation: 37/1=37, Resulting Numbers: [5, 37]
Generated Node #0,0,0: 40:[5, 37] Operation: 37/1=37
Exploring Operation: 1+37=38, Resulting Numbers: [5, 38]
Generated Node #0,0,1: 40:[5, 38] Operation: 1+37=38
Exploring Operation: 1*37=37, Resulting Numbers: [5, 37]
Generated Node #0,0,2: 40:[5, 37] Operation: 1*37=37
Moving to Node #0,1
Current State: 40:[1, 74, 42], Operations: ['79-37=42']
Exploring Operation: 74-1=73, Resulting Numbers: [42, 73]
Generated Node #0,1,0: 40:[42, 73] Operation: 74-1=73
Exploring Operation: 74-42=32, Resulting Numbers: [1, 32]
Generated Node #0,1,1: 40:[1, 32] Operation: 74-42=32
Exploring Operation: 42-1=41, Resulting Numbers: [74, 41]
Generated Node #0,1,2: 40:[74, 41] Operation: 42-1=41
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 40:[1, 32], Operations: ['79-37=42', '74-42=32']
Exploring Operation: 1+32=33, Resulting Numbers: [33]
33,40 unequal: No Solution
Exploring Operation: 32/1=32, Resulting Numbers: [32]
32,40 unequal: No Solution
Exploring Operation: 1*32=32, Resulting Numbers: [32]
32,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 40:[42, 73], Operations: ['79-37=42', '74-1=73']
Exploring Operation: 42*73=3066, Resulting Numbers: [3066]
3066,40 unequal: No Solution
Exploring Operation: 42+73=115, Resulting Numbers: [115]
115,40 unequal: No Solution
Exploring Operation: 73-42=31, Resulting Numbers: [31]
31,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 40:[74, 41], Operations: ['79-37=42', '42-1=41']
Exploring Operation: 74*41=3034, Resulting Numbers: [3034]
3034,40 unequal: No Solution
Exploring Operation: 74-41=33, Resulting Numbers: [33]
33,40 unequal: No Solution
Exploring Operation: 74+41=115, Resulting Numbers: [115]
115,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 40:[79, 1, 2], Operations: ['74/37=2']
Exploring Operation: 79-1=78, Resulting Numbers: [2, 78]
Generated Node #0,2,0: 40:[2, 78] Operation: 79-1=78
Exploring Operation: 79*1=79, Resulting Numbers: [2, 79]
Generated Node #0,2,1: 40:[2, 79] Operation: 79*1=79
Exploring Operation: 79-2=77, Resulting Numbers: [1, 77]
Generated Node #0,2,2: 40:[1, 77] Operation: 79-2=77
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 40:[2, 78], Operations: ['74/37=2', '79-1=78']
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,40 unequal: No Solution
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,40 unequal: No Solution
Exploring Operation: 2+78=80, Resulting Numbers: [80]
80,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 40:[1, 77], Operations: ['74/37=2', '79-2=77']
Exploring Operation: 77/1=77, Resulting Numbers: [77]
77,40 unequal: No Solution
Exploring Operation: 77-1=76, Resulting Numbers: [76]
76,40 unequal: No Solution
Exploring Operation: 1*77=77, Resulting Numbers: [77]
77,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 40:[2, 79], Operations: ['74/37=2', '79*1=79']
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,40 unequal: No Solution
Exploring Operation: 2*79=158, Resulting Numbers: [158]
158,40 unequal: No Solution
Exploring Operation: 2+79=81, Resulting Numbers: [81]
81,40 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 40:[5, 38], Operations: ['79-74=5', '1+37=38']
Exploring Operation: 5+38=43, Resulting Numbers: [43]
43,40 unequal: No Solution
Exploring Operation: 5*38=190, Resulting Numbers: [190]
190,40 unequal: No Solution
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,40 unequal: No Solution
Moving to Node #0,0,0
Current State: 40:[5, 37], Operations: ['79-74=5', '37/1=37']
Exploring Operation: 5*37=185, Resulting Numbers: [185]
185,40 unequal: No Solution
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,40 unequal: No Solution
Exploring Operation: 5+37=42, Resulting Numbers: [42]
42,40 unequal: No Solution
Moving to Node #0,0,2
Current State: 40:[5, 37], Operations: ['79-74=5', '1*37=37']
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,40 unequal: No Solution
Exploring Operation: 5*37=185, Resulting Numbers: [185]
185,40 unequal: No Solution
Exploring Operation: 5+37=42, Resulting Numbers: [42]
42,40 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
45,
4,
66,
28
] | 11 | [
"45+4=49",
"66-28=38",
"49-38=11"
] | Current State: 11:[45, 4, 66, 28], Operations: []
Exploring Operation: 45+4=49, Resulting Numbers: [66, 28, 49]
Generated Node #2: [66, 28, 49] from Operation: 45+4=49
Current State: 11:[66, 28, 49], Operations: ['45+4=49']
Exploring Operation: 66-28=38, Resulting Numbers: [49, 38]
Generated Node #3: [49, 38] from Operation: 66-28=38
Current State: 11:[49, 38], Operations: ['45+4=49', '66-28=38']
Exploring Operation: 49-38=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[45, 4, 66, 28], Operations: []
Exploring Operation: 66-45=21, Resulting Numbers: [4, 28, 21]
Generated Node #0,0: 11:[4, 28, 21] Operation: 66-45=21
Exploring Operation: 45-4=41, Resulting Numbers: [66, 28, 41]
Generated Node #0,1: 11:[66, 28, 41] Operation: 45-4=41
Exploring Operation: 66-28=38, Resulting Numbers: [45, 4, 38]
Generated Node #0,2: 11:[45, 4, 38] Operation: 66-28=38
Exploring Operation: 45-28=17, Resulting Numbers: [4, 66, 17]
Generated Node #0,3: 11:[4, 66, 17] Operation: 45-28=17
Exploring Operation: 28/4=7, Resulting Numbers: [45, 66, 7]
Generated Node #0,4: 11:[45, 66, 7] Operation: 28/4=7
Moving to Node #0,0
Current State: 11:[4, 28, 21], Operations: ['66-45=21']
Exploring Operation: 28/4=7, Resulting Numbers: [21, 7]
Generated Node #0,0,0: 11:[21, 7] Operation: 28/4=7
Exploring Operation: 4+28=32, Resulting Numbers: [21, 32]
Generated Node #0,0,1: 11:[21, 32] Operation: 4+28=32
Exploring Operation: 21-4=17, Resulting Numbers: [28, 17]
Generated Node #0,0,2: 11:[28, 17] Operation: 21-4=17
Exploring Operation: 28-4=24, Resulting Numbers: [21, 24]
Generated Node #0,0,3: 11:[21, 24] Operation: 28-4=24
Exploring Operation: 28-21=7, Resulting Numbers: [4, 7]
Generated Node #0,0,4: 11:[4, 7] Operation: 28-21=7
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 11:[4, 7], Operations: ['66-45=21', '28-21=7']
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,11 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[45, 4, 66, 28], Operations: []
Exploring Operation: 66-45=21, Resulting Numbers: [4, 28, 21]
Generated Node #0,0: 11:[4, 28, 21] Operation: 66-45=21
Moving to Node #0,0
Current State: 11:[4, 28, 21], Operations: ['66-45=21']
Exploring Operation: 28-21=7, Resulting Numbers: [4, 7]
Generated Node #0,0,4: 11:[4, 7] Operation: 28-21=7
Moving to Node #0,0,4
Current State: 11:[4, 7], Operations: ['66-45=21', '28-21=7']
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
19,
6,
80,
37
] | 68 | [
"19+6=25",
"80-37=43",
"25+43=68"
] | Current State: 68:[19, 6, 80, 37], Operations: []
Exploring Operation: 19+6=25, Resulting Numbers: [80, 37, 25]
Generated Node #2: [80, 37, 25] from Operation: 19+6=25
Current State: 68:[80, 37, 25], Operations: ['19+6=25']
Exploring Operation: 80-37=43, Resulting Numbers: [25, 43]
Generated Node #3: [25, 43] from Operation: 80-37=43
Current State: 68:[25, 43], Operations: ['19+6=25', '80-37=43']
Exploring Operation: 25+43=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[19, 6, 80, 37], Operations: []
Exploring Operation: 80-19=61, Resulting Numbers: [6, 37, 61]
Generated Node #0,0: 68:[6, 37, 61] Operation: 80-19=61
Exploring Operation: 80-37=43, Resulting Numbers: [19, 6, 43]
Generated Node #0,1: 68:[19, 6, 43] Operation: 80-37=43
Exploring Operation: 80-6=74, Resulting Numbers: [19, 37, 74]
Generated Node #0,2: 68:[19, 37, 74] Operation: 80-6=74
Start Sub Search at level 1: Moving to Node #0,2
Current State: 68:[19, 37, 74], Operations: ['80-6=74']
Exploring Operation: 74/37=2, Resulting Numbers: [19, 2]
Generated Node #0,2,0: 68:[19, 2] Operation: 74/37=2
Exploring Operation: 74-37=37, Resulting Numbers: [19, 37]
Generated Node #0,2,1: 68:[19, 37] Operation: 74-37=37
Exploring Operation: 37-19=18, Resulting Numbers: [74, 18]
Generated Node #0,2,2: 68:[74, 18] Operation: 37-19=18
Moving to Node #0,2,0
Current State: 68:[19, 2], Operations: ['80-6=74', '74/37=2']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,68 unequal: No Solution
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,68 unequal: No Solution
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,68 unequal: No Solution
Moving to Node #0,2,1
Current State: 68:[19, 37], Operations: ['80-6=74', '74-37=37']
Exploring Operation: 37-19=18, Resulting Numbers: [18]
18,68 unequal: No Solution
Exploring Operation: 19*37=703, Resulting Numbers: [703]
703,68 unequal: No Solution
Exploring Operation: 19+37=56, Resulting Numbers: [56]
56,68 unequal: No Solution
Moving to Node #0,2,2
Current State: 68:[74, 18], Operations: ['80-6=74', '37-19=18']
Exploring Operation: 74-18=56, Resulting Numbers: [56]
56,68 unequal: No Solution
Exploring Operation: 74*18=1332, Resulting Numbers: [1332]
1332,68 unequal: No Solution
Exploring Operation: 74+18=92, Resulting Numbers: [92]
92,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[6, 37, 61], Operations: ['80-19=61']
Exploring Operation: 61-37=24, Resulting Numbers: [6, 24]
Generated Node #0,0,0: 68:[6, 24] Operation: 61-37=24
Exploring Operation: 6+61=67, Resulting Numbers: [37, 67]
Generated Node #0,0,1: 68:[37, 67] Operation: 6+61=67
Exploring Operation: 37-6=31, Resulting Numbers: [61, 31]
Generated Node #0,0,2: 68:[61, 31] Operation: 37-6=31
Moving to Node #0,0,1
Current State: 68:[37, 67], Operations: ['80-19=61', '6+61=67']
Exploring Operation: 37+67=104, Resulting Numbers: [104]
104,68 unequal: No Solution
Exploring Operation: 37*67=2479, Resulting Numbers: [2479]
2479,68 unequal: No Solution
Exploring Operation: 67-37=30, Resulting Numbers: [30]
30,68 unequal: No Solution
Moving to Node #0,0,0
Current State: 68:[6, 24], Operations: ['80-19=61', '61-37=24']
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,68 unequal: No Solution
Exploring Operation: 6+24=30, Resulting Numbers: [30]
30,68 unequal: No Solution
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,68 unequal: No Solution
Moving to Node #0,0,2
Current State: 68:[61, 31], Operations: ['80-19=61', '37-6=31']
Exploring Operation: 61*31=1891, Resulting Numbers: [1891]
1891,68 unequal: No Solution
Exploring Operation: 61+31=92, Resulting Numbers: [92]
92,68 unequal: No Solution
Exploring Operation: 61-31=30, Resulting Numbers: [30]
30,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
Current State: 68:[19, 6, 43], Operations: ['80-37=43']
Exploring Operation: 19+43=62, Resulting Numbers: [6, 62]
Generated Node #0,1,0: 68:[6, 62] Operation: 19+43=62
Exploring Operation: 43-6=37, Resulting Numbers: [19, 37]
Generated Node #0,1,1: 68:[19, 37] Operation: 43-6=37
Exploring Operation: 43-19=24, Resulting Numbers: [6, 24]
Generated Node #0,1,2: 68:[6, 24] Operation: 43-19=24
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 68:[19, 37], Operations: ['80-37=43', '43-6=37']
Exploring Operation: 19+37=56, Resulting Numbers: [56]
56,68 unequal: No Solution
Exploring Operation: 37-19=18, Resulting Numbers: [18]
18,68 unequal: No Solution
Exploring Operation: 19*37=703, Resulting Numbers: [703]
703,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 68:[6, 62], Operations: ['80-37=43', '19+43=62']
Exploring Operation: 6+62=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[19, 6, 80, 37], Operations: []
Exploring Operation: 80-37=43, Resulting Numbers: [19, 6, 43]
Generated Node #0,1: 68:[19, 6, 43] Operation: 80-37=43
Moving to Node #0,1
Current State: 68:[19, 6, 43], Operations: ['80-37=43']
Exploring Operation: 19+43=62, Resulting Numbers: [6, 62]
Generated Node #0,1,0: 68:[6, 62] Operation: 19+43=62
Moving to Node #0,1,0
Current State: 68:[6, 62], Operations: ['80-37=43', '19+43=62']
Exploring Operation: 6+62=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967014 | hs_3 | sum_heuristic |
[
75,
22,
74,
41
] | 19 | [
"75-74=1",
"41-22=19",
"1*19=19"
] | Current State: 19:[75, 22, 74, 41], Operations: []
Exploring Operation: 75-74=1, Resulting Numbers: [22, 41, 1]
Generated Node #2: [22, 41, 1] from Operation: 75-74=1
Current State: 19:[22, 41, 1], Operations: ['75-74=1']
Exploring Operation: 41-22=19, Resulting Numbers: [1, 19]
Generated Node #3: [1, 19] from Operation: 41-22=19
Current State: 19:[1, 19], Operations: ['75-74=1', '41-22=19']
Exploring Operation: 1*19=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[75, 22, 74, 41], Operations: []
Exploring Operation: 75-74=1, Resulting Numbers: [22, 41, 1]
Generated Node #0,0: 19:[22, 41, 1] Operation: 75-74=1
Exploring Operation: 75-41=34, Resulting Numbers: [22, 74, 34]
Generated Node #0,1: 19:[22, 74, 34] Operation: 75-41=34
Exploring Operation: 74-41=33, Resulting Numbers: [75, 22, 33]
Generated Node #0,2: 19:[75, 22, 33] Operation: 74-41=33
Moving to Node #0,0
Current State: 19:[22, 41, 1], Operations: ['75-74=1']
Exploring Operation: 41-22=19, Resulting Numbers: [1, 19]
Generated Node #0,0,0: 19:[1, 19] Operation: 41-22=19
Exploring Operation: 22-1=21, Resulting Numbers: [41, 21]
Generated Node #0,0,1: 19:[41, 21] Operation: 22-1=21
Exploring Operation: 41-1=40, Resulting Numbers: [22, 40]
Generated Node #0,0,2: 19:[22, 40] Operation: 41-1=40
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[1, 19], Operations: ['75-74=1', '41-22=19']
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[75, 22, 74, 41], Operations: []
Exploring Operation: 75-74=1, Resulting Numbers: [22, 41, 1]
Generated Node #0,0: 19:[22, 41, 1] Operation: 75-74=1
Moving to Node #0,0
Current State: 19:[22, 41, 1], Operations: ['75-74=1']
Exploring Operation: 41-22=19, Resulting Numbers: [1, 19]
Generated Node #0,0,0: 19:[1, 19] Operation: 41-22=19
Moving to Node #0,0,0
Current State: 19:[1, 19], Operations: ['75-74=1', '41-22=19']
Exploring Operation: 19/1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
48,
18,
15,
48
] | 46 | [
"48-18=30",
"30/15=2",
"48-2=46"
] | Current State: 46:[48, 18, 15, 48], Operations: []
Exploring Operation: 48-18=30, Resulting Numbers: [15, 30]
Generated Node #2: [15, 30] from Operation: 48-18=30
Current State: 46:[15, 30], Operations: ['48-18=30']
Exploring Operation: 30/15=2, Resulting Numbers: [2]
2,46 equal: Goal Reached
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[48, 18, 15, 48], Operations: []
Exploring Operation: 18+15=33, Resulting Numbers: [48, 48, 33]
Generated Node #0,0: 46:[48, 48, 33] Operation: 18+15=33
Exploring Operation: 48/48=1, Resulting Numbers: [18, 15, 1]
Generated Node #0,1: 46:[18, 15, 1] Operation: 48/48=1
Exploring Operation: 18-15=3, Resulting Numbers: [48, 48, 3]
Generated Node #0,2: 46:[48, 48, 3] Operation: 18-15=3
Start Sub Search at level 1: Moving to Node #0,2
Current State: 46:[48, 48, 3], Operations: ['18-15=3']
Exploring Operation: 48-48=0, Resulting Numbers: [3, 0]
Generated Node #0,2,0: 46:[3, 0] Operation: 48-48=0
Exploring Operation: 48/48=1, Resulting Numbers: [3, 1]
Generated Node #0,2,1: 46:[3, 1] Operation: 48/48=1
Exploring Operation: 48-3=45, Resulting Numbers: [48, 45]
Generated Node #0,2,2: 46:[48, 45] Operation: 48-3=45
Moving to Node #0,2,1
Current State: 46:[3, 1], Operations: ['18-15=3', '48/48=1']
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,46 unequal: No Solution
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,46 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,46 unequal: No Solution
Moving to Node #0,2,0
Current State: 46:[3, 0], Operations: ['18-15=3', '48-48=0']
Exploring Operation: 3-0=3, Resulting Numbers: [3]
3,46 unequal: No Solution
Exploring Operation: 3+0=3, Resulting Numbers: [3]
3,46 unequal: No Solution
Exploring Operation: 3*0=0, Resulting Numbers: [0]
0,46 unequal: No Solution
Moving to Node #0,2,2
Current State: 46:[48, 45], Operations: ['18-15=3', '48-3=45']
Exploring Operation: 48*45=2160, Resulting Numbers: [2160]
2160,46 unequal: No Solution
Exploring Operation: 48-45=3, Resulting Numbers: [3]
3,46 unequal: No Solution
Exploring Operation: 48+45=93, Resulting Numbers: [93]
93,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
Current State: 46:[48, 48, 33], Operations: ['18+15=33']
Exploring Operation: 48-33=15, Resulting Numbers: [48, 15]
Generated Node #0,0,0: 46:[48, 15] Operation: 48-33=15
Exploring Operation: 48/48=1, Resulting Numbers: [33, 1]
Generated Node #0,0,1: 46:[33, 1] Operation: 48/48=1
Exploring Operation: 48-33=15, Resulting Numbers: [48, 15]
Generated Node #0,0,2: 46:[48, 15] Operation: 48-33=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 46:[48, 15], Operations: ['18+15=33', '48-33=15']
Exploring Operation: 48+15=63, Resulting Numbers: [63]
63,46 unequal: No Solution
Exploring Operation: 48-15=33, Resulting Numbers: [33]
33,46 unequal: No Solution
Exploring Operation: 48*15=720, Resulting Numbers: [720]
720,46 unequal: No Solution
No 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: 46:[48, 15], Operations: ['18+15=33', '48-33=15']
Exploring Operation: 48+15=63, Resulting Numbers: [63]
63,46 unequal: No Solution
Exploring Operation: 48*15=720, Resulting Numbers: [720]
720,46 unequal: No Solution
Exploring Operation: 48-15=33, Resulting Numbers: [33]
33,46 unequal: No Solution
No 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: 46:[33, 1], Operations: ['18+15=33', '48/48=1']
Exploring Operation: 33/1=33, Resulting Numbers: [33]
33,46 unequal: No Solution
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,46 unequal: No Solution
Exploring Operation: 33*1=33, Resulting Numbers: [33]
33,46 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: 46:[18, 15, 1], Operations: ['48/48=1']
Exploring Operation: 18+1=19, Resulting Numbers: [15, 19]
Generated Node #0,1,0: 46:[15, 19] Operation: 18+1=19
Exploring Operation: 18+15=33, Resulting Numbers: [1, 33]
Generated Node #0,1,1: 46:[1, 33] Operation: 18+15=33
Exploring Operation: 18-15=3, Resulting Numbers: [1, 3]
Generated Node #0,1,2: 46:[1, 3] Operation: 18-15=3
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 46:[1, 3], Operations: ['48/48=1', '18-15=3']
Exploring Operation: 1*3=3, Resulting Numbers: [3]
3,46 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,46 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,46 unequal: No Solution
No 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: 46:[1, 33], Operations: ['48/48=1', '18+15=33']
Exploring Operation: 1*33=33, Resulting Numbers: [33]
33,46 unequal: No Solution
Exploring Operation: 33/1=33, Resulting Numbers: [33]
33,46 unequal: No Solution
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,46 unequal: No Solution
No 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: 46:[15, 19], Operations: ['48/48=1', '18+1=19']
Exploring Operation: 15*19=285, Resulting Numbers: [285]
285,46 unequal: No Solution
Exploring Operation: 19-15=4, Resulting Numbers: [4]
4,46 unequal: No Solution
Exploring Operation: 15+19=34, Resulting Numbers: [34]
34,46 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 |
[
21,
11,
70,
44
] | 95 | [
"21+70=91",
"44/11=4",
"91+4=95"
] | Current State: 95:[21, 11, 70, 44], Operations: []
Exploring Operation: 21+70=91, Resulting Numbers: [11, 44, 91]
Generated Node #2: [11, 44, 91] from Operation: 21+70=91
Current State: 95:[11, 44, 91], Operations: ['21+70=91']
Exploring Operation: 44/11=4, Resulting Numbers: [91, 4]
Generated Node #3: [91, 4] from Operation: 44/11=4
Current State: 95:[91, 4], Operations: ['21+70=91', '44/11=4']
Exploring Operation: 91+4=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[21, 11, 70, 44], Operations: []
Exploring Operation: 70-44=26, Resulting Numbers: [21, 11, 26]
Generated Node #0,0: 95:[21, 11, 26] Operation: 70-44=26
Moving to Node #0,0
Current State: 95:[21, 11, 26], Operations: ['70-44=26']
Exploring Operation: 26-21=5, Resulting Numbers: [11, 5]
Generated Node #0,0,0: 95:[11, 5] Operation: 26-21=5
Moving to Node #0,0,0
Current State: 95:[11, 5], Operations: ['70-44=26', '26-21=5']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,95 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
31,
40,
2,
96
] | 99 | [
"40+96=136",
"136/2=68",
"31+68=99"
] | Current State: 99:[31, 40, 2, 96], Operations: []
Exploring Operation: 40+96=136, Resulting Numbers: [31, 2, 136]
Generated Node #2: [31, 2, 136] from Operation: 40+96=136
Current State: 99:[31, 2, 136], Operations: ['40+96=136']
Exploring Operation: 136/2=68, Resulting Numbers: [31, 68]
Generated Node #3: [31, 68] from Operation: 136/2=68
Current State: 99:[31, 68], Operations: ['40+96=136', '136/2=68']
Exploring Operation: 31+68=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[31, 40, 2, 96], Operations: []
Exploring Operation: 40-31=9, Resulting Numbers: [2, 96, 9]
Generated Node #0,0: 99:[2, 96, 9] Operation: 40-31=9
Exploring Operation: 31+2=33, Resulting Numbers: [40, 96, 33]
Generated Node #0,1: 99:[40, 96, 33] Operation: 31+2=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[2, 96, 9], Operations: ['40-31=9']
Exploring Operation: 2+9=11, Resulting Numbers: [96, 11]
Generated Node #0,0,0: 99:[96, 11] Operation: 2+9=11
Exploring Operation: 2+96=98, Resulting Numbers: [9, 98]
Generated Node #0,0,1: 99:[9, 98] Operation: 2+96=98
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 99:[9, 98], Operations: ['40-31=9', '2+96=98']
Exploring Operation: 98-9=89, Resulting Numbers: [89]
89,99 unequal: No Solution
Exploring Operation: 9+98=107, Resulting Numbers: [107]
107,99 unequal: No Solution
No 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: 99:[96, 11], Operations: ['40-31=9', '2+9=11']
Exploring Operation: 96+11=107, Resulting Numbers: [107]
107,99 unequal: No Solution
Exploring Operation: 96-11=85, Resulting Numbers: [85]
85,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[40, 96, 33], Operations: ['31+2=33']
Exploring Operation: 96-40=56, Resulting Numbers: [33, 56]
Generated Node #0,1,0: 99:[33, 56] Operation: 96-40=56
Exploring Operation: 40-33=7, Resulting Numbers: [96, 7]
Generated Node #0,1,1: 99:[96, 7] Operation: 40-33=7
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 99:[96, 7], Operations: ['31+2=33', '40-33=7']
Exploring Operation: 96+7=103, Resulting Numbers: [103]
103,99 unequal: No Solution
Exploring Operation: 96-7=89, Resulting Numbers: [89]
89,99 unequal: No Solution
No 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: 99:[33, 56], Operations: ['31+2=33', '96-40=56']
Exploring Operation: 56-33=23, Resulting Numbers: [23]
23,99 unequal: No Solution
Exploring Operation: 33+56=89, Resulting Numbers: [89]
89,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_2 | sum_heuristic |
[
86,
2,
90,
34
] | 19 | [
"90-86=4",
"34+4=38",
"38/2=19"
] | Current State: 19:[86, 2, 90, 34], Operations: []
Exploring Operation: 90-86=4, Resulting Numbers: [2, 34, 4]
Generated Node #2: [2, 34, 4] from Operation: 90-86=4
Current State: 19:[2, 34, 4], Operations: ['90-86=4']
Exploring Operation: 34+4=38, Resulting Numbers: [2, 38]
Generated Node #3: [2, 38] from Operation: 34+4=38
Current State: 19:[2, 38], Operations: ['90-86=4', '34+4=38']
Exploring Operation: 38/2=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[86, 2, 90, 34], Operations: []
Exploring Operation: 90-86=4, Resulting Numbers: [2, 34, 4]
Generated Node #0,0: 19:[2, 34, 4] Operation: 90-86=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[2, 34, 4], Operations: ['90-86=4']
Exploring Operation: 34/2=17, Resulting Numbers: [4, 17]
Generated Node #0,0,0: 19:[4, 17] Operation: 34/2=17
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 19:[4, 17], Operations: ['90-86=4', '34/2=17']
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
82,
11,
51,
80
] | 60 | [
"82-11=71",
"51+80=131",
"131-71=60"
] | Current State: 60:[82, 11, 51, 80], Operations: []
Exploring Operation: 82-11=71, Resulting Numbers: [51, 80, 71]
Generated Node #2: [51, 80, 71] from Operation: 82-11=71
Current State: 60:[51, 80, 71], Operations: ['82-11=71']
Exploring Operation: 51+80=131, Resulting Numbers: [71, 131]
Generated Node #3: [71, 131] from Operation: 51+80=131
Current State: 60:[71, 131], Operations: ['82-11=71', '51+80=131']
Exploring Operation: 131-71=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[82, 11, 51, 80], Operations: []
Exploring Operation: 82-51=31, Resulting Numbers: [11, 80, 31]
Generated Node #0,0: 60:[11, 80, 31] Operation: 82-51=31
Exploring Operation: 80-51=29, Resulting Numbers: [82, 11, 29]
Generated Node #0,1: 60:[82, 11, 29] Operation: 80-51=29
Exploring Operation: 82-11=71, Resulting Numbers: [51, 80, 71]
Generated Node #0,2: 60:[51, 80, 71] Operation: 82-11=71
Exploring Operation: 82-80=2, Resulting Numbers: [11, 51, 2]
Generated Node #0,3: 60:[11, 51, 2] Operation: 82-80=2
Start Sub Search at level 1: Moving to Node #0,3
Current State: 60:[11, 51, 2], Operations: ['82-80=2']
Exploring Operation: 11+51=62, Resulting Numbers: [2, 62]
Generated Node #0,3,0: 60:[2, 62] Operation: 11+51=62
Exploring Operation: 51+2=53, Resulting Numbers: [11, 53]
Generated Node #0,3,1: 60:[11, 53] Operation: 51+2=53
Exploring Operation: 11+2=13, Resulting Numbers: [51, 13]
Generated Node #0,3,2: 60:[51, 13] Operation: 11+2=13
Exploring Operation: 51-11=40, Resulting Numbers: [2, 40]
Generated Node #0,3,3: 60:[2, 40] Operation: 51-11=40
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 60:[2, 62], Operations: ['82-80=2', '11+51=62']
Exploring Operation: 2+62=64, Resulting Numbers: [64]
64,60 unequal: No Solution
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,60 unequal: No Solution
Exploring Operation: 2*62=124, Resulting Numbers: [124]
124,60 unequal: No Solution
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[82, 11, 51, 80], Operations: []
Exploring Operation: 82-80=2, Resulting Numbers: [11, 51, 2]
Generated Node #0,3: 60:[11, 51, 2] Operation: 82-80=2
Moving to Node #0,3
Current State: 60:[11, 51, 2], Operations: ['82-80=2']
Exploring Operation: 11+51=62, Resulting Numbers: [2, 62]
Generated Node #0,3,0: 60:[2, 62] Operation: 11+51=62
Moving to Node #0,3,0
Current State: 60:[2, 62], Operations: ['82-80=2', '11+51=62']
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
52,
24,
63,
13
] | 48 | [
"52-24=28",
"63+13=76",
"76-28=48"
] | Current State: 48:[52, 24, 63, 13], Operations: []
Exploring Operation: 52-24=28, Resulting Numbers: [63, 13, 28]
Generated Node #2: [63, 13, 28] from Operation: 52-24=28
Current State: 48:[63, 13, 28], Operations: ['52-24=28']
Exploring Operation: 63+13=76, Resulting Numbers: [28, 76]
Generated Node #3: [28, 76] from Operation: 63+13=76
Current State: 48:[28, 76], Operations: ['52-24=28', '63+13=76']
Exploring Operation: 76-28=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[52, 24, 63, 13], Operations: []
Exploring Operation: 63-24=39, Resulting Numbers: [52, 13, 39]
Generated Node #0,0: 48:[52, 13, 39] Operation: 63-24=39
Exploring Operation: 63-52=11, Resulting Numbers: [24, 13, 11]
Generated Node #0,1: 48:[24, 13, 11] Operation: 63-52=11
Exploring Operation: 63-13=50, Resulting Numbers: [52, 24, 50]
Generated Node #0,2: 48:[52, 24, 50] Operation: 63-13=50
Moving to Node #0,1
Current State: 48:[24, 13, 11], Operations: ['63-52=11']
Exploring Operation: 13+11=24, Resulting Numbers: [24, 24]
Generated Node #0,1,0: 48:[24, 24] Operation: 13+11=24
Exploring Operation: 24-13=11, Resulting Numbers: [11, 11]
Generated Node #0,1,1: 48:[11, 11] Operation: 24-13=11
Exploring Operation: 13-11=2, Resulting Numbers: [24, 2]
Generated Node #0,1,2: 48:[24, 2] Operation: 13-11=2
Moving to Node #0,2
Current State: 48:[52, 24, 50], Operations: ['63-13=50']
Exploring Operation: 52-24=28, Resulting Numbers: [50, 28]
Generated Node #0,2,0: 48:[50, 28] Operation: 52-24=28
Exploring Operation: 52-50=2, Resulting Numbers: [24, 2]
Generated Node #0,2,1: 48:[24, 2] Operation: 52-50=2
Exploring Operation: 50-24=26, Resulting Numbers: [52, 26]
Generated Node #0,2,2: 48:[52, 26] Operation: 50-24=26
Moving to Node #0,0
Current State: 48:[52, 13, 39], Operations: ['63-24=39']
Exploring Operation: 39/13=3, Resulting Numbers: [52, 3]
Generated Node #0,0,0: 48:[52, 3] Operation: 39/13=3
Exploring Operation: 39-13=26, Resulting Numbers: [52, 26]
Generated Node #0,0,1: 48:[52, 26] Operation: 39-13=26
Exploring Operation: 52-39=13, Resulting Numbers: [13, 13]
Generated Node #0,0,2: 48:[13, 13] Operation: 52-39=13
Moving to Node #0,1,0
Current State: 48:[24, 24], Operations: ['63-52=11', '13+11=24']
Exploring Operation: 24/24=1, Resulting Numbers: [1]
1,48 unequal: No Solution
Exploring Operation: 24-24=0, Resulting Numbers: [0]
0,48 unequal: No Solution
Exploring Operation: 24+24=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[52, 24, 63, 13], Operations: []
Exploring Operation: 63-52=11, Resulting Numbers: [24, 13, 11]
Generated Node #0,1: 48:[24, 13, 11] Operation: 63-52=11
Moving to Node #0,1
Current State: 48:[24, 13, 11], Operations: ['63-52=11']
Exploring Operation: 13+11=24, Resulting Numbers: [24, 24]
Generated Node #0,1,0: 48:[24, 24] Operation: 13+11=24
Moving to Node #0,1,0
Current State: 48:[24, 24], Operations: ['63-52=11', '13+11=24']
Exploring Operation: 24+24=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 0.983507 | hs_3 | mult_heuristic |
[
10,
76,
5,
72
] | 98 | [
"10*5=50",
"76+72=148",
"148-50=98"
] | Current State: 98:[10, 76, 5, 72], Operations: []
Exploring Operation: 10*5=50, Resulting Numbers: [76, 72, 50]
Generated Node #2: [76, 72, 50] from Operation: 10*5=50
Current State: 98:[76, 72, 50], Operations: ['10*5=50']
Exploring Operation: 76+72=148, Resulting Numbers: [50, 148]
Generated Node #3: [50, 148] from Operation: 76+72=148
Current State: 98:[50, 148], Operations: ['10*5=50', '76+72=148']
Exploring Operation: 148-50=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[10, 76, 5, 72], Operations: []
Exploring Operation: 76-72=4, Resulting Numbers: [10, 5, 4]
Generated Node #0,0: 98:[10, 5, 4] Operation: 76-72=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[10, 5, 4], Operations: ['76-72=4']
Exploring Operation: 10/5=2, Resulting Numbers: [4, 2]
Generated Node #0,0,0: 98:[4, 2] Operation: 10/5=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 98:[4, 2], Operations: ['76-72=4', '10/5=2']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
67,
72,
18,
73
] | 11 | [
"72-67=5",
"73-18=55",
"55/5=11"
] | Current State: 11:[67, 72, 18, 73], Operations: []
Exploring Operation: 72-67=5, Resulting Numbers: [18, 73, 5]
Generated Node #2: [18, 73, 5] from Operation: 72-67=5
Current State: 11:[18, 73, 5], Operations: ['72-67=5']
Exploring Operation: 73-18=55, Resulting Numbers: [5, 55]
Generated Node #3: [5, 55] from Operation: 73-18=55
Current State: 11:[5, 55], Operations: ['72-67=5', '73-18=55']
Exploring Operation: 55/5=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[67, 72, 18, 73], Operations: []
Exploring Operation: 73-67=6, Resulting Numbers: [72, 18, 6]
Generated Node #0,0: 11:[72, 18, 6] Operation: 73-67=6
Moving to Node #0,0
Current State: 11:[72, 18, 6], Operations: ['73-67=6']
Exploring Operation: 72/6=12, Resulting Numbers: [18, 12]
Generated Node #0,0,0: 11:[18, 12] Operation: 72/6=12
Moving to Node #0,0,0
Current State: 11:[18, 12], Operations: ['73-67=6', '72/6=12']
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,11 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
44,
77,
88,
2
] | 57 | [
"77-44=33",
"88+2=90",
"90-33=57"
] | Current State: 57:[44, 77, 88, 2], Operations: []
Exploring Operation: 77-44=33, Resulting Numbers: [88, 2, 33]
Generated Node #2: [88, 2, 33] from Operation: 77-44=33
Current State: 57:[88, 2, 33], Operations: ['77-44=33']
Exploring Operation: 88+2=90, Resulting Numbers: [33, 90]
Generated Node #3: [33, 90] from Operation: 88+2=90
Current State: 57:[33, 90], Operations: ['77-44=33', '88+2=90']
Exploring Operation: 90-33=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[44, 77, 88, 2], Operations: []
Exploring Operation: 88-77=11, Resulting Numbers: [44, 2, 11]
Generated Node #0,0: 57:[44, 2, 11] Operation: 88-77=11
Exploring Operation: 88/44=2, Resulting Numbers: [77, 2, 2]
Generated Node #0,1: 57:[77, 2, 2] Operation: 88/44=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[44, 2, 11], Operations: ['88-77=11']
Exploring Operation: 44/11=4, Resulting Numbers: [2, 4]
Generated Node #0,0,0: 57:[2, 4] Operation: 44/11=4
Exploring Operation: 44+11=55, Resulting Numbers: [2, 55]
Generated Node #0,0,1: 57:[2, 55] Operation: 44+11=55
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 57:[2, 4], Operations: ['88-77=11', '44/11=4']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 57:[2, 55], Operations: ['88-77=11', '44+11=55']
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,57 unequal: No Solution
Exploring Operation: 2+55=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[44, 77, 88, 2], Operations: []
Exploring Operation: 88-77=11, Resulting Numbers: [44, 2, 11]
Generated Node #0,0: 57:[44, 2, 11] Operation: 88-77=11
Moving to Node #0,0
Current State: 57:[44, 2, 11], Operations: ['88-77=11']
Exploring Operation: 44+11=55, Resulting Numbers: [2, 55]
Generated Node #0,0,1: 57:[2, 55] Operation: 44+11=55
Moving to Node #0,0,1
Current State: 57:[2, 55], Operations: ['88-77=11', '44+11=55']
Exploring Operation: 2+55=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
69,
38,
26,
4
] | 73 | [
"69-38=31",
"26*4=104",
"104-31=73"
] | Current State: 73:[69, 38, 26, 4], Operations: []
Exploring Operation: 69-38=31, Resulting Numbers: [26, 4, 31]
Generated Node #2: [26, 4, 31] from Operation: 69-38=31
Current State: 73:[26, 4, 31], Operations: ['69-38=31']
Exploring Operation: 26*4=104, Resulting Numbers: [31, 104]
Generated Node #3: [31, 104] from Operation: 26*4=104
Current State: 73:[31, 104], Operations: ['69-38=31', '26*4=104']
Exploring Operation: 104-31=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[69, 38, 26, 4], Operations: []
Exploring Operation: 69+4=73, Resulting Numbers: [38, 26, 73]
Generated Node #0,0: 73:[38, 26, 73] Operation: 69+4=73
Exploring Operation: 26*4=104, Resulting Numbers: [69, 38, 104]
Generated Node #0,1: 73:[69, 38, 104] Operation: 26*4=104
Start Sub Search at level 1: Moving to Node #0,1
Current State: 73:[69, 38, 104], Operations: ['26*4=104']
Exploring Operation: 104-38=66, Resulting Numbers: [69, 66]
Generated Node #0,1,0: 73:[69, 66] Operation: 104-38=66
Exploring Operation: 69+38=107, Resulting Numbers: [104, 107]
Generated Node #0,1,1: 73:[104, 107] Operation: 69+38=107
Moving to Node #0,1,0
Current State: 73:[69, 66], Operations: ['26*4=104', '104-38=66']
Exploring Operation: 69-66=3, Resulting Numbers: [3]
3,73 unequal: No Solution
Exploring Operation: 69+66=135, Resulting Numbers: [135]
135,73 unequal: No Solution
Moving to Node #0,1,1
Current State: 73:[104, 107], Operations: ['26*4=104', '69+38=107']
Exploring Operation: 107-104=3, Resulting Numbers: [3]
3,73 unequal: No Solution
Exploring Operation: 104+107=211, Resulting Numbers: [211]
211,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[38, 26, 73], Operations: ['69+4=73']
Exploring Operation: 38-26=12, Resulting Numbers: [73, 12]
Generated Node #0,0,0: 73:[73, 12] Operation: 38-26=12
Exploring Operation: 38+26=64, Resulting Numbers: [73, 64]
Generated Node #0,0,1: 73:[73, 64] Operation: 38+26=64
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 73:[73, 64], Operations: ['69+4=73', '38+26=64']
Exploring Operation: 73+64=137, Resulting Numbers: [137]
137,73 unequal: No Solution
Exploring Operation: 73-64=9, Resulting Numbers: [9]
9,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 73:[73, 12], Operations: ['69+4=73', '38-26=12']
Exploring Operation: 73+12=85, Resulting Numbers: [85]
85,73 unequal: No Solution
Exploring Operation: 73-12=61, Resulting Numbers: [61]
61,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
65,
54,
3,
39
] | 84 | [
"65-54=11",
"39-11=28",
"3*28=84"
] | Current State: 84:[65, 54, 3, 39], Operations: []
Exploring Operation: 65-54=11, Resulting Numbers: [3, 39, 11]
Generated Node #2: [3, 39, 11] from Operation: 65-54=11
Current State: 84:[3, 39, 11], Operations: ['65-54=11']
Exploring Operation: 39-11=28, Resulting Numbers: [3, 28]
Generated Node #3: [3, 28] from Operation: 39-11=28
Current State: 84:[3, 28], Operations: ['65-54=11', '39-11=28']
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[65, 54, 3, 39], Operations: []
Exploring Operation: 65-54=11, Resulting Numbers: [3, 39, 11]
Generated Node #0,0: 84:[3, 39, 11] Operation: 65-54=11
Moving to Node #0,0
Current State: 84:[3, 39, 11], Operations: ['65-54=11']
Exploring Operation: 39-11=28, Resulting Numbers: [3, 28]
Generated Node #0,0,0: 84:[3, 28] Operation: 39-11=28
Moving to Node #0,0,0
Current State: 84:[3, 28], Operations: ['65-54=11', '39-11=28']
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[65, 54, 3, 39], Operations: []
Exploring Operation: 65-54=11, Resulting Numbers: [3, 39, 11]
Generated Node #0,0: 84:[3, 39, 11] Operation: 65-54=11
Moving to Node #0,0
Current State: 84:[3, 39, 11], Operations: ['65-54=11']
Exploring Operation: 39-11=28, Resulting Numbers: [3, 28]
Generated Node #0,0,0: 84:[3, 28] Operation: 39-11=28
Moving to Node #0,0,0
Current State: 84:[3, 28], Operations: ['65-54=11', '39-11=28']
Exploring Operation: 3*28=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
65,
9,
29,
28
] | 24 | [
"65-29=36",
"36/9=4",
"28-4=24"
] | Current State: 24:[65, 9, 29, 28], Operations: []
Exploring Operation: 65-29=36, Resulting Numbers: [9, 28, 36]
Generated Node #2: [9, 28, 36] from Operation: 65-29=36
Current State: 24:[9, 28, 36], Operations: ['65-29=36']
Exploring Operation: 36/9=4, Resulting Numbers: [28, 4]
Generated Node #3: [28, 4] from Operation: 36/9=4
Current State: 24:[28, 4], Operations: ['65-29=36', '36/9=4']
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[65, 9, 29, 28], Operations: []
Exploring Operation: 65-29=36, Resulting Numbers: [9, 28, 36]
Generated Node #0,0: 24:[9, 28, 36] Operation: 65-29=36
Exploring Operation: 65-28=37, Resulting Numbers: [9, 29, 37]
Generated Node #0,1: 24:[9, 29, 37] Operation: 65-28=37
Moving to Node #0,0
Current State: 24:[9, 28, 36], Operations: ['65-29=36']
Exploring Operation: 36/9=4, Resulting Numbers: [28, 4]
Generated Node #0,0,0: 24:[28, 4] Operation: 36/9=4
Exploring Operation: 36-28=8, Resulting Numbers: [9, 8]
Generated Node #0,0,1: 24:[9, 8] Operation: 36-28=8
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 24:[9, 8], Operations: ['65-29=36', '36-28=8']
Exploring Operation: 9+8=17, Resulting Numbers: [17]
17,24 unequal: No Solution
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[28, 4], Operations: ['65-29=36', '36/9=4']
Exploring Operation: 28/4=7, Resulting Numbers: [7]
7,24 unequal: No Solution
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[65, 9, 29, 28], Operations: []
Exploring Operation: 65-29=36, Resulting Numbers: [9, 28, 36]
Generated Node #0,0: 24:[9, 28, 36] Operation: 65-29=36
Moving to Node #0,0
Current State: 24:[9, 28, 36], Operations: ['65-29=36']
Exploring Operation: 36/9=4, Resulting Numbers: [28, 4]
Generated Node #0,0,0: 24:[28, 4] Operation: 36/9=4
Moving to Node #0,0,0
Current State: 24:[28, 4], Operations: ['65-29=36', '36/9=4']
Exploring Operation: 28-4=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
4,
76,
28,
81
] | 55 | [
"76+28=104",
"104/4=26",
"81-26=55"
] | Current State: 55:[4, 76, 28, 81], Operations: []
Exploring Operation: 76+28=104, Resulting Numbers: [4, 81, 104]
Generated Node #2: [4, 81, 104] from Operation: 76+28=104
Current State: 55:[4, 81, 104], Operations: ['76+28=104']
Exploring Operation: 104/4=26, Resulting Numbers: [81, 26]
Generated Node #3: [81, 26] from Operation: 104/4=26
Current State: 55:[81, 26], Operations: ['76+28=104', '104/4=26']
Exploring Operation: 81-26=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[4, 76, 28, 81], Operations: []
Exploring Operation: 76/4=19, Resulting Numbers: [28, 81, 19]
Generated Node #0,0: 55:[28, 81, 19] Operation: 76/4=19
Exploring Operation: 81-28=53, Resulting Numbers: [4, 76, 53]
Generated Node #0,1: 55:[4, 76, 53] Operation: 81-28=53
Exploring Operation: 76-28=48, Resulting Numbers: [4, 81, 48]
Generated Node #0,2: 55:[4, 81, 48] Operation: 76-28=48
Exploring Operation: 28/4=7, Resulting Numbers: [76, 81, 7]
Generated Node #0,3: 55:[76, 81, 7] Operation: 28/4=7
Exploring Operation: 81-76=5, Resulting Numbers: [4, 28, 5]
Generated Node #0,4: 55:[4, 28, 5] Operation: 81-76=5
Moving to Node #0,4
Current State: 55:[4, 28, 5], Operations: ['81-76=5']
Exploring Operation: 4+28=32, Resulting Numbers: [5, 32]
Generated Node #0,4,0: 55:[5, 32] Operation: 4+28=32
Exploring Operation: 28-4=24, Resulting Numbers: [5, 24]
Generated Node #0,4,1: 55:[5, 24] Operation: 28-4=24
Exploring Operation: 28-5=23, Resulting Numbers: [4, 23]
Generated Node #0,4,2: 55:[4, 23] Operation: 28-5=23
Exploring Operation: 28/4=7, Resulting Numbers: [5, 7]
Generated Node #0,4,3: 55:[5, 7] Operation: 28/4=7
Exploring Operation: 4+5=9, Resulting Numbers: [28, 9]
Generated Node #0,4,4: 55:[28, 9] Operation: 4+5=9
Moving to Node #0,1
Current State: 55:[4, 76, 53], Operations: ['81-28=53']
Exploring Operation: 4+76=80, Resulting Numbers: [53, 80]
Generated Node #0,1,0: 55:[53, 80] Operation: 4+76=80
Exploring Operation: 76-4=72, Resulting Numbers: [53, 72]
Generated Node #0,1,1: 55:[53, 72] Operation: 76-4=72
Exploring Operation: 4+53=57, Resulting Numbers: [76, 57]
Generated Node #0,1,2: 55:[76, 57] Operation: 4+53=57
Exploring Operation: 76-53=23, Resulting Numbers: [4, 23]
Generated Node #0,1,3: 55:[4, 23] Operation: 76-53=23
Exploring Operation: 76/4=19, Resulting Numbers: [53, 19]
Generated Node #0,1,4: 55:[53, 19] Operation: 76/4=19
Moving to Node #0,2
Current State: 55:[4, 81, 48], Operations: ['76-28=48']
Exploring Operation: 81-48=33, Resulting Numbers: [4, 33]
Generated Node #0,2,0: 55:[4, 33] Operation: 81-48=33
Exploring Operation: 48/4=12, Resulting Numbers: [81, 12]
Generated Node #0,2,1: 55:[81, 12] Operation: 48/4=12
Exploring Operation: 81-4=77, Resulting Numbers: [48, 77]
Generated Node #0,2,2: 55:[48, 77] Operation: 81-4=77
Exploring Operation: 4+81=85, Resulting Numbers: [48, 85]
Generated Node #0,2,3: 55:[48, 85] Operation: 4+81=85
Exploring Operation: 4+48=52, Resulting Numbers: [81, 52]
Generated Node #0,2,4: 55:[81, 52] Operation: 4+48=52
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 55:[4, 33], Operations: ['76-28=48', '81-48=33']
Exploring Operation: 4+33=37, Resulting Numbers: [37]
37,55 unequal: No Solution
Exploring Operation: 4*33=132, Resulting Numbers: [132]
132,55 unequal: No Solution
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,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:[81, 12], Operations: ['76-28=48', '48/4=12']
Exploring Operation: 81+12=93, Resulting Numbers: [93]
93,55 unequal: No Solution
Exploring Operation: 81*12=972, Resulting Numbers: [972]
972,55 unequal: No Solution
Exploring Operation: 81-12=69, Resulting Numbers: [69]
69,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:[48, 77], Operations: ['76-28=48', '81-4=77']
Exploring Operation: 48+77=125, Resulting Numbers: [125]
125,55 unequal: No Solution
Exploring Operation: 77-48=29, Resulting Numbers: [29]
29,55 unequal: No Solution
Exploring Operation: 48*77=3696, Resulting Numbers: [3696]
3696,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:[81, 52], Operations: ['76-28=48', '4+48=52']
Exploring Operation: 81*52=4212, Resulting Numbers: [4212]
4212,55 unequal: No Solution
Exploring Operation: 81+52=133, Resulting Numbers: [133]
133,55 unequal: No Solution
Exploring Operation: 81-52=29, Resulting Numbers: [29]
29,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, 85], Operations: ['76-28=48', '4+81=85']
Exploring Operation: 85-48=37, Resulting Numbers: [37]
37,55 unequal: No Solution
Exploring Operation: 48*85=4080, Resulting Numbers: [4080]
4080,55 unequal: No Solution
Exploring Operation: 48+85=133, Resulting Numbers: [133]
133,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:[76, 81, 7], Operations: ['28/4=7']
Exploring Operation: 81-76=5, Resulting Numbers: [7, 5]
Generated Node #0,3,0: 55:[7, 5] Operation: 81-76=5
Exploring Operation: 76-7=69, Resulting Numbers: [81, 69]
Generated Node #0,3,1: 55:[81, 69] Operation: 76-7=69
Exploring Operation: 81-7=74, Resulting Numbers: [76, 74]
Generated Node #0,3,2: 55:[76, 74] Operation: 81-7=74
Exploring Operation: 81+7=88, Resulting Numbers: [76, 88]
Generated Node #0,3,3: 55:[76, 88] Operation: 81+7=88
Exploring Operation: 76+7=83, Resulting Numbers: [81, 83]
Generated Node #0,3,4: 55:[81, 83] Operation: 76+7=83
Moving to Node #0,0
Current State: 55:[28, 81, 19], Operations: ['76/4=19']
Exploring Operation: 81-28=53, Resulting Numbers: [19, 53]
Generated Node #0,0,0: 55:[19, 53] Operation: 81-28=53
Exploring Operation: 81-19=62, Resulting Numbers: [28, 62]
Generated Node #0,0,1: 55:[28, 62] Operation: 81-19=62
Exploring Operation: 28+81=109, Resulting Numbers: [19, 109]
Generated Node #0,0,2: 55:[19, 109] Operation: 28+81=109
Exploring Operation: 28+19=47, Resulting Numbers: [81, 47]
Generated Node #0,0,3: 55:[81, 47] Operation: 28+19=47
Exploring Operation: 28-19=9, Resulting Numbers: [81, 9]
Generated Node #0,0,4: 55:[81, 9] Operation: 28-19=9
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 55:[19, 53], Operations: ['76/4=19', '81-28=53']
Exploring Operation: 19*53=1007, Resulting Numbers: [1007]
1007,55 unequal: No Solution
Exploring Operation: 53-19=34, Resulting Numbers: [34]
34,55 unequal: No Solution
Exploring Operation: 19+53=72, Resulting Numbers: [72]
72,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 55:[28, 62], Operations: ['76/4=19', '81-19=62']
Exploring Operation: 28+62=90, Resulting Numbers: [90]
90,55 unequal: No Solution
Exploring Operation: 28*62=1736, Resulting Numbers: [1736]
1736,55 unequal: No Solution
Exploring Operation: 62-28=34, Resulting Numbers: [34]
34,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 55:[81, 9], Operations: ['76/4=19', '28-19=9']
Exploring Operation: 81/9=9, Resulting Numbers: [9]
9,55 unequal: No Solution
Exploring Operation: 81+9=90, Resulting Numbers: [90]
90,55 unequal: No Solution
Exploring Operation: 81-9=72, Resulting Numbers: [72]
72,55 unequal: No Solution
Exploring Operation: 81*9=729, Resulting Numbers: [729]
729,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 55:[81, 47], Operations: ['76/4=19', '28+19=47']
Exploring Operation: 81+47=128, Resulting Numbers: [128]
128,55 unequal: No Solution
Exploring Operation: 81*47=3807, Resulting Numbers: [3807]
3807,55 unequal: No Solution
Exploring Operation: 81-47=34, Resulting Numbers: [34]
34,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 55:[19, 109], Operations: ['76/4=19', '28+81=109']
Exploring Operation: 19*109=2071, Resulting Numbers: [2071]
2071,55 unequal: No Solution
Exploring Operation: 19+109=128, Resulting Numbers: [128]
128,55 unequal: No Solution
Exploring Operation: 109-19=90, Resulting Numbers: [90]
90,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,3
Current State: 55:[5, 7], Operations: ['81-76=5', '28/4=7']
Exploring Operation: 5+7=12, Resulting Numbers: [12]
12,55 unequal: No Solution
Exploring Operation: 5*7=35, Resulting Numbers: [35]
35,55 unequal: No Solution
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Moving to Node #0,3,0
Current State: 55:[7, 5], Operations: ['28/4=7', '81-76=5']
Exploring Operation: 7*5=35, Resulting Numbers: [35]
35,55 unequal: No Solution
Exploring Operation: 7+5=12, Resulting Numbers: [12]
12,55 unequal: No Solution
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Moving to Node #0,1,4
Current State: 55:[53, 19], Operations: ['81-28=53', '76/4=19']
Exploring Operation: 53*19=1007, Resulting Numbers: [1007]
1007,55 unequal: No Solution
Exploring Operation: 53-19=34, Resulting Numbers: [34]
34,55 unequal: No Solution
Exploring Operation: 53+19=72, Resulting Numbers: [72]
72,55 unequal: No Solution
Moving to Node #0,1,3
Current State: 55:[4, 23], Operations: ['81-28=53', '76-53=23']
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,55 unequal: No Solution
Exploring Operation: 4*23=92, Resulting Numbers: [92]
92,55 unequal: No Solution
Exploring Operation: 4+23=27, Resulting Numbers: [27]
27,55 unequal: No Solution
Moving to Node #0,4,2
Current State: 55:[4, 23], Operations: ['81-76=5', '28-5=23']
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,55 unequal: No Solution
Exploring Operation: 4+23=27, Resulting Numbers: [27]
27,55 unequal: No Solution
Exploring Operation: 4*23=92, Resulting Numbers: [92]
92,55 unequal: No Solution
Moving to Node #0,4,1
Current State: 55:[5, 24], Operations: ['81-76=5', '28-4=24']
Exploring Operation: 5*24=120, Resulting Numbers: [120]
120,55 unequal: No Solution
Exploring Operation: 5+24=29, Resulting Numbers: [29]
29,55 unequal: No Solution
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,55 unequal: No Solution
Moving to Node #0,4,4
Current State: 55:[28, 9], Operations: ['81-76=5', '4+5=9']
Exploring Operation: 28+9=37, Resulting Numbers: [37]
37,55 unequal: No Solution
Exploring Operation: 28*9=252, Resulting Numbers: [252]
252,55 unequal: No Solution
Exploring Operation: 28-9=19, Resulting Numbers: [19]
19,55 unequal: No Solution
Moving to Node #0,1,1
Current State: 55:[53, 72], Operations: ['81-28=53', '76-4=72']
Exploring Operation: 53*72=3816, Resulting Numbers: [3816]
3816,55 unequal: No Solution
Exploring Operation: 53+72=125, Resulting Numbers: [125]
125,55 unequal: No Solution
Exploring Operation: 72-53=19, Resulting Numbers: [19]
19,55 unequal: No Solution
Moving to Node #0,4,0
Current State: 55:[5, 32], Operations: ['81-76=5', '4+28=32']
Exploring Operation: 5+32=37, Resulting Numbers: [37]
37,55 unequal: No Solution
Exploring Operation: 5*32=160, Resulting Numbers: [160]
160,55 unequal: No Solution
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,55 unequal: No Solution
Moving to Node #0,1,2
Current State: 55:[76, 57], Operations: ['81-28=53', '4+53=57']
Exploring Operation: 76-57=19, Resulting Numbers: [19]
19,55 unequal: No Solution
Exploring Operation: 76+57=133, Resulting Numbers: [133]
133,55 unequal: No Solution
Exploring Operation: 76*57=4332, Resulting Numbers: [4332]
4332,55 unequal: No Solution
Moving to Node #0,1,0
Current State: 55:[53, 80], Operations: ['81-28=53', '4+76=80']
Exploring Operation: 80-53=27, Resulting Numbers: [27]
27,55 unequal: No Solution
Exploring Operation: 53*80=4240, Resulting Numbers: [4240]
4240,55 unequal: No Solution
Exploring Operation: 53+80=133, Resulting Numbers: [133]
133,55 unequal: No Solution
Moving to Node #0,3,1
Current State: 55:[81, 69], Operations: ['28/4=7', '76-7=69']
Exploring Operation: 81*69=5589, Resulting Numbers: [5589]
5589,55 unequal: No Solution
Exploring Operation: 81+69=150, Resulting Numbers: [150]
150,55 unequal: No Solution
Exploring Operation: 81-69=12, Resulting Numbers: [12]
12,55 unequal: No Solution
Moving to Node #0,3,2
Current State: 55:[76, 74], Operations: ['28/4=7', '81-7=74']
Exploring Operation: 76-74=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 76*74=5624, Resulting Numbers: [5624]
5624,55 unequal: No Solution
Exploring Operation: 76+74=150, Resulting Numbers: [150]
150,55 unequal: No Solution
Moving to Node #0,3,4
Current State: 55:[81, 83], Operations: ['28/4=7', '76+7=83']
Exploring Operation: 81*83=6723, Resulting Numbers: [6723]
6723,55 unequal: No Solution
Exploring Operation: 83-81=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 81+83=164, Resulting Numbers: [164]
164,55 unequal: No Solution
Moving to Node #0,3,3
Current State: 55:[76, 88], Operations: ['28/4=7', '81+7=88']
Exploring Operation: 76*88=6688, Resulting Numbers: [6688]
6688,55 unequal: No Solution
Exploring Operation: 76+88=164, Resulting Numbers: [164]
164,55 unequal: No Solution
Exploring Operation: 88-76=12, Resulting Numbers: [12]
12,55 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
35,
2,
66,
41
] | 74 | [
"35-2=33",
"66+41=107",
"107-33=74"
] | Current State: 74:[35, 2, 66, 41], Operations: []
Exploring Operation: 35-2=33, Resulting Numbers: [66, 41, 33]
Generated Node #2: [66, 41, 33] from Operation: 35-2=33
Current State: 74:[66, 41, 33], Operations: ['35-2=33']
Exploring Operation: 66+41=107, Resulting Numbers: [33, 107]
Generated Node #3: [33, 107] from Operation: 66+41=107
Current State: 74:[33, 107], Operations: ['35-2=33', '66+41=107']
Exploring Operation: 107-33=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[35, 2, 66, 41], Operations: []
Exploring Operation: 35+2=37, Resulting Numbers: [66, 41, 37]
Generated Node #0,0: 74:[66, 41, 37] Operation: 35+2=37
Exploring Operation: 66-35=31, Resulting Numbers: [2, 41, 31]
Generated Node #0,1: 74:[2, 41, 31] Operation: 66-35=31
Exploring Operation: 35+41=76, Resulting Numbers: [2, 66, 76]
Generated Node #0,2: 74:[2, 66, 76] Operation: 35+41=76
Exploring Operation: 66/2=33, Resulting Numbers: [35, 41, 33]
Generated Node #0,3: 74:[35, 41, 33] Operation: 66/2=33
Start Sub Search at level 1: Moving to Node #0,1
Current State: 74:[2, 41, 31], Operations: ['66-35=31']
Exploring Operation: 2+31=33, Resulting Numbers: [41, 33]
Generated Node #0,1,0: 74:[41, 33] Operation: 2+31=33
Exploring Operation: 41+31=72, Resulting Numbers: [2, 72]
Generated Node #0,1,1: 74:[2, 72] Operation: 41+31=72
Exploring Operation: 41-2=39, Resulting Numbers: [31, 39]
Generated Node #0,1,2: 74:[31, 39] Operation: 41-2=39
Exploring Operation: 41-31=10, Resulting Numbers: [2, 10]
Generated Node #0,1,3: 74:[2, 10] Operation: 41-31=10
Moving to Node #0,1,1
Current State: 74:[2, 72], Operations: ['66-35=31', '41+31=72']
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,74 unequal: No Solution
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,74 unequal: No Solution
Exploring Operation: 2*72=144, Resulting Numbers: [144]
144,74 unequal: No Solution
Exploring Operation: 2+72=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[35, 2, 66, 41], Operations: []
Exploring Operation: 66-35=31, Resulting Numbers: [2, 41, 31]
Generated Node #0,1: 74:[2, 41, 31] Operation: 66-35=31
Moving to Node #0,1
Current State: 74:[2, 41, 31], Operations: ['66-35=31']
Exploring Operation: 41+31=72, Resulting Numbers: [2, 72]
Generated Node #0,1,1: 74:[2, 72] Operation: 41+31=72
Moving to Node #0,1,1
Current State: 74:[2, 72], Operations: ['66-35=31', '41+31=72']
Exploring Operation: 2+72=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
72,
56,
33,
11
] | 48 | [
"72-56=16",
"33/11=3",
"16*3=48"
] | Current State: 48:[72, 56, 33, 11], Operations: []
Exploring Operation: 72-56=16, Resulting Numbers: [33, 11, 16]
Generated Node #2: [33, 11, 16] from Operation: 72-56=16
Current State: 48:[33, 11, 16], Operations: ['72-56=16']
Exploring Operation: 33/11=3, Resulting Numbers: [16, 3]
Generated Node #3: [16, 3] from Operation: 33/11=3
Current State: 48:[16, 3], Operations: ['72-56=16', '33/11=3']
Exploring Operation: 16*3=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[72, 56, 33, 11], Operations: []
Exploring Operation: 72-33=39, Resulting Numbers: [56, 11, 39]
Generated Node #0,0: 48:[56, 11, 39] Operation: 72-33=39
Exploring Operation: 56-33=23, Resulting Numbers: [72, 11, 23]
Generated Node #0,1: 48:[72, 11, 23] Operation: 56-33=23
Exploring Operation: 72-56=16, Resulting Numbers: [33, 11, 16]
Generated Node #0,2: 48:[33, 11, 16] Operation: 72-56=16
Moving to Node #0,2
Current State: 48:[33, 11, 16], Operations: ['72-56=16']
Exploring Operation: 33+16=49, Resulting Numbers: [11, 49]
Generated Node #0,2,0: 48:[11, 49] Operation: 33+16=49
Exploring Operation: 33-11=22, Resulting Numbers: [16, 22]
Generated Node #0,2,1: 48:[16, 22] Operation: 33-11=22
Exploring Operation: 33/11=3, Resulting Numbers: [16, 3]
Generated Node #0,2,2: 48:[16, 3] Operation: 33/11=3
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 48:[16, 3], Operations: ['72-56=16', '33/11=3']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,48 unequal: No Solution
Exploring Operation: 16*3=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[72, 56, 33, 11], Operations: []
Exploring Operation: 72-56=16, Resulting Numbers: [33, 11, 16]
Generated Node #0,2: 48:[33, 11, 16] Operation: 72-56=16
Moving to Node #0,2
Current State: 48:[33, 11, 16], Operations: ['72-56=16']
Exploring Operation: 33/11=3, Resulting Numbers: [16, 3]
Generated Node #0,2,2: 48:[16, 3] Operation: 33/11=3
Moving to Node #0,2,2
Current State: 48:[16, 3], Operations: ['72-56=16', '33/11=3']
Exploring Operation: 16*3=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
96,
77,
81,
89
] | 70 | [
"96-89=7",
"77/7=11",
"81-11=70"
] | Current State: 70:[96, 77, 81, 89], Operations: []
Exploring Operation: 96-89=7, Resulting Numbers: [77, 81, 7]
Generated Node #2: [77, 81, 7] from Operation: 96-89=7
Current State: 70:[77, 81, 7], Operations: ['96-89=7']
Exploring Operation: 77/7=11, Resulting Numbers: [81, 11]
Generated Node #3: [81, 11] from Operation: 77/7=11
Current State: 70:[81, 11], Operations: ['96-89=7', '77/7=11']
Exploring Operation: 81-11=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[96, 77, 81, 89], Operations: []
Exploring Operation: 96-89=7, Resulting Numbers: [77, 81, 7]
Generated Node #0,0: 70:[77, 81, 7] Operation: 96-89=7
Exploring Operation: 96-81=15, Resulting Numbers: [77, 89, 15]
Generated Node #0,1: 70:[77, 89, 15] Operation: 96-81=15
Exploring Operation: 89-81=8, Resulting Numbers: [96, 77, 8]
Generated Node #0,2: 70:[96, 77, 8] Operation: 89-81=8
Moving to Node #0,0
Current State: 70:[77, 81, 7], Operations: ['96-89=7']
Exploring Operation: 81-77=4, Resulting Numbers: [7, 4]
Generated Node #0,0,0: 70:[7, 4] Operation: 81-77=4
Exploring Operation: 81-7=74, Resulting Numbers: [77, 74]
Generated Node #0,0,1: 70:[77, 74] Operation: 81-7=74
Exploring Operation: 77-7=70, Resulting Numbers: [81, 70]
Generated Node #0,0,2: 70:[81, 70] Operation: 77-7=70
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 70:[7, 4], Operations: ['96-89=7', '81-77=4']
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,70 unequal: No Solution
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,70 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 70:[77, 74], Operations: ['96-89=7', '81-7=74']
Exploring Operation: 77-74=3, Resulting Numbers: [3]
3,70 unequal: No Solution
Exploring Operation: 77+74=151, Resulting Numbers: [151]
151,70 unequal: No Solution
Exploring Operation: 77*74=5698, Resulting Numbers: [5698]
5698,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 70:[81, 70], Operations: ['96-89=7', '77-7=70']
Exploring Operation: 81*70=5670, Resulting Numbers: [5670]
5670,70 unequal: No Solution
Exploring Operation: 81-70=11, Resulting Numbers: [11]
11,70 unequal: No Solution
Exploring Operation: 81+70=151, Resulting Numbers: [151]
151,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 70:[77, 89, 15], Operations: ['96-81=15']
Exploring Operation: 89-77=12, Resulting Numbers: [15, 12]
Generated Node #0,1,0: 70:[15, 12] Operation: 89-77=12
Exploring Operation: 77-15=62, Resulting Numbers: [89, 62]
Generated Node #0,1,1: 70:[89, 62] Operation: 77-15=62
Exploring Operation: 89-15=74, Resulting Numbers: [77, 74]
Generated Node #0,1,2: 70:[77, 74] Operation: 89-15=74
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 70:[15, 12], Operations: ['96-81=15', '89-77=12']
Exploring Operation: 15+12=27, Resulting Numbers: [27]
27,70 unequal: No Solution
Exploring Operation: 15*12=180, Resulting Numbers: [180]
180,70 unequal: No Solution
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 70:[77, 74], Operations: ['96-81=15', '89-15=74']
Exploring Operation: 77*74=5698, Resulting Numbers: [5698]
5698,70 unequal: No Solution
Exploring Operation: 77+74=151, Resulting Numbers: [151]
151,70 unequal: No Solution
Exploring Operation: 77-74=3, Resulting Numbers: [3]
3,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 70:[89, 62], Operations: ['96-81=15', '77-15=62']
Exploring Operation: 89*62=5518, Resulting Numbers: [5518]
5518,70 unequal: No Solution
Exploring Operation: 89+62=151, Resulting Numbers: [151]
151,70 unequal: No Solution
Exploring Operation: 89-62=27, Resulting Numbers: [27]
27,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 70:[96, 77, 8], Operations: ['89-81=8']
Exploring Operation: 96/8=12, Resulting Numbers: [77, 12]
Generated Node #0,2,0: 70:[77, 12] Operation: 96/8=12
Exploring Operation: 96-77=19, Resulting Numbers: [8, 19]
Generated Node #0,2,1: 70:[8, 19] Operation: 96-77=19
Exploring Operation: 96-8=88, Resulting Numbers: [77, 88]
Generated Node #0,2,2: 70:[77, 88] Operation: 96-8=88
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 70:[8, 19], Operations: ['89-81=8', '96-77=19']
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,70 unequal: No Solution
Exploring Operation: 8*19=152, Resulting Numbers: [152]
152,70 unequal: No Solution
Exploring Operation: 8+19=27, Resulting Numbers: [27]
27,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 70:[77, 12], Operations: ['89-81=8', '96/8=12']
Exploring Operation: 77-12=65, Resulting Numbers: [65]
65,70 unequal: No Solution
Exploring Operation: 77*12=924, Resulting Numbers: [924]
924,70 unequal: No Solution
Exploring Operation: 77+12=89, Resulting Numbers: [89]
89,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 70:[77, 88], Operations: ['89-81=8', '96-8=88']
Exploring Operation: 77+88=165, Resulting Numbers: [165]
165,70 unequal: No Solution
Exploring Operation: 77*88=6776, Resulting Numbers: [6776]
6776,70 unequal: No Solution
Exploring Operation: 88-77=11, Resulting Numbers: [11]
11,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
34,
63,
96,
68
] | 57 | [
"63-34=29",
"96-68=28",
"29+28=57"
] | Current State: 57:[34, 63, 96, 68], Operations: []
Exploring Operation: 63-34=29, Resulting Numbers: [96, 68, 29]
Generated Node #2: [96, 68, 29] from Operation: 63-34=29
Current State: 57:[96, 68, 29], Operations: ['63-34=29']
Exploring Operation: 96-68=28, Resulting Numbers: [29, 28]
Generated Node #3: [29, 28] from Operation: 96-68=28
Current State: 57:[29, 28], Operations: ['63-34=29', '96-68=28']
Exploring Operation: 29+28=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[34, 63, 96, 68], Operations: []
Exploring Operation: 96-34=62, Resulting Numbers: [63, 68, 62]
Generated Node #0,0: 57:[63, 68, 62] Operation: 96-34=62
Moving to Node #0,0
Current State: 57:[63, 68, 62], Operations: ['96-34=62']
Exploring Operation: 68-63=5, Resulting Numbers: [62, 5]
Generated Node #0,0,0: 57:[62, 5] Operation: 68-63=5
Moving to Node #0,0,0
Current State: 57:[62, 5], Operations: ['96-34=62', '68-63=5']
Exploring Operation: 62-5=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[34, 63, 96, 68], Operations: []
Exploring Operation: 96-34=62, Resulting Numbers: [63, 68, 62]
Generated Node #0,0: 57:[63, 68, 62] Operation: 96-34=62
Moving to Node #0,0
Current State: 57:[63, 68, 62], Operations: ['96-34=62']
Exploring Operation: 68-63=5, Resulting Numbers: [62, 5]
Generated Node #0,0,0: 57:[62, 5] Operation: 68-63=5
Moving to Node #0,0,0
Current State: 57:[62, 5], Operations: ['96-34=62', '68-63=5']
Exploring Operation: 62-5=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
80,
77,
97,
13
] | 81 | [
"80-77=3",
"97-13=84",
"84-3=81"
] | Current State: 81:[80, 77, 97, 13], Operations: []
Exploring Operation: 80-77=3, Resulting Numbers: [97, 13, 3]
Generated Node #2: [97, 13, 3] from Operation: 80-77=3
Current State: 81:[97, 13, 3], Operations: ['80-77=3']
Exploring Operation: 97-13=84, Resulting Numbers: [3, 84]
Generated Node #3: [3, 84] from Operation: 97-13=84
Current State: 81:[3, 84], Operations: ['80-77=3', '97-13=84']
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[80, 77, 97, 13], Operations: []
Exploring Operation: 97-13=84, Resulting Numbers: [80, 77, 84]
Generated Node #0,0: 81:[80, 77, 84] Operation: 97-13=84
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[80, 77, 84], Operations: ['97-13=84']
Exploring Operation: 80-77=3, Resulting Numbers: [84, 3]
Generated Node #0,0,0: 81:[84, 3] Operation: 80-77=3
Moving to Node #0,0,0
Current State: 81:[84, 3], Operations: ['97-13=84', '80-77=3']
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[80, 77, 97, 13], Operations: []
Exploring Operation: 97-13=84, Resulting Numbers: [80, 77, 84]
Generated Node #0,0: 81:[80, 77, 84] Operation: 97-13=84
Moving to Node #0,0
Current State: 81:[80, 77, 84], Operations: ['97-13=84']
Exploring Operation: 80-77=3, Resulting Numbers: [84, 3]
Generated Node #0,0,0: 81:[84, 3] Operation: 80-77=3
Moving to Node #0,0,0
Current State: 81:[84, 3], Operations: ['97-13=84', '80-77=3']
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
74,
8,
21,
82
] | 85 | [
"82-74=8",
"8*8=64",
"21+64=85"
] | Current State: 85:[74, 8, 21, 82], Operations: []
Exploring Operation: 82-74=8, Resulting Numbers: [8, 21, 8]
Generated Node #2: [8, 21, 8] from Operation: 82-74=8
Current State: 85:[8, 21, 8], Operations: ['82-74=8']
Exploring Operation: 8*8=64, Resulting Numbers: [21, 64]
Generated Node #3: [21, 64] from Operation: 8*8=64
Current State: 85:[21, 64], Operations: ['82-74=8', '8*8=64']
Exploring Operation: 21+64=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[74, 8, 21, 82], Operations: []
Exploring Operation: 74+8=82, Resulting Numbers: [21, 82, 82]
Generated Node #0,0: 85:[21, 82, 82] Operation: 74+8=82
Exploring Operation: 82-74=8, Resulting Numbers: [8, 21, 8]
Generated Node #0,1: 85:[8, 21, 8] Operation: 82-74=8
Exploring Operation: 74+21=95, Resulting Numbers: [8, 82, 95]
Generated Node #0,2: 85:[8, 82, 95] Operation: 74+21=95
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[21, 82, 82], Operations: ['74+8=82']
Exploring Operation: 82-82=0, Resulting Numbers: [21, 0]
Generated Node #0,0,0: 85:[21, 0] Operation: 82-82=0
Exploring Operation: 21+82=103, Resulting Numbers: [82, 103]
Generated Node #0,0,1: 85:[82, 103] Operation: 21+82=103
Exploring Operation: 82/82=1, Resulting Numbers: [21, 1]
Generated Node #0,0,2: 85:[21, 1] Operation: 82/82=1
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 85:[21, 1], Operations: ['74+8=82', '82/82=1']
Exploring Operation: 21*1=21, Resulting Numbers: [21]
21,85 unequal: No Solution
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,85 unequal: No Solution
Exploring Operation: 21/1=21, Resulting Numbers: [21]
21,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:[21, 0], Operations: ['74+8=82', '82-82=0']
Exploring Operation: 21*0=0, Resulting Numbers: [0]
0,85 unequal: No Solution
Exploring Operation: 21-0=21, Resulting Numbers: [21]
21,85 unequal: No Solution
Exploring Operation: 21+0=21, Resulting Numbers: [21]
21,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,1
Current State: 85:[82, 103], Operations: ['74+8=82', '21+82=103']
Exploring Operation: 82+103=185, Resulting Numbers: [185]
185,85 unequal: No Solution
Exploring Operation: 82*103=8446, Resulting Numbers: [8446]
8446,85 unequal: No Solution
Exploring Operation: 103-82=21, Resulting Numbers: [21]
21,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:[8, 21, 8], Operations: ['82-74=8']
Exploring Operation: 8+8=16, Resulting Numbers: [21, 16]
Generated Node #0,1,0: 85:[21, 16] Operation: 8+8=16
Exploring Operation: 21-8=13, Resulting Numbers: [8, 13]
Generated Node #0,1,1: 85:[8, 13] Operation: 21-8=13
Exploring Operation: 21-8=13, Resulting Numbers: [8, 13]
Generated Node #0,1,2: 85:[8, 13] Operation: 21-8=13
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 85:[21, 16], Operations: ['82-74=8', '8+8=16']
Exploring Operation: 21-16=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Exploring Operation: 21+16=37, Resulting Numbers: [37]
37,85 unequal: No Solution
Exploring Operation: 21*16=336, Resulting Numbers: [336]
336,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,1,1
Current State: 85:[8, 13], Operations: ['82-74=8', '21-8=13']
Exploring Operation: 8+13=21, Resulting Numbers: [21]
21,85 unequal: No Solution
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Exploring Operation: 8*13=104, Resulting Numbers: [104]
104,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,1,2
Current State: 85:[8, 13], Operations: ['82-74=8', '21-8=13']
Exploring Operation: 8*13=104, Resulting Numbers: [104]
104,85 unequal: No Solution
Exploring Operation: 8+13=21, Resulting Numbers: [21]
21,85 unequal: No Solution
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,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,2
Current State: 85:[8, 82, 95], Operations: ['74+21=95']
Exploring Operation: 95-82=13, Resulting Numbers: [8, 13]
Generated Node #0,2,0: 85:[8, 13] Operation: 95-82=13
Exploring Operation: 95-8=87, Resulting Numbers: [82, 87]
Generated Node #0,2,1: 85:[82, 87] Operation: 95-8=87
Exploring Operation: 8+82=90, Resulting Numbers: [95, 90]
Generated Node #0,2,2: 85:[95, 90] Operation: 8+82=90
Moving to Node #0,2,1
Current State: 85:[82, 87], Operations: ['74+21=95', '95-8=87']
Exploring Operation: 82*87=7134, Resulting Numbers: [7134]
7134,85 unequal: No Solution
Exploring Operation: 82+87=169, Resulting Numbers: [169]
169,85 unequal: No Solution
Exploring Operation: 87-82=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Moving to Node #0,2,0
Current State: 85:[8, 13], Operations: ['74+21=95', '95-82=13']
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Exploring Operation: 8*13=104, Resulting Numbers: [104]
104,85 unequal: No Solution
Exploring Operation: 8+13=21, Resulting Numbers: [21]
21,85 unequal: No Solution
Moving to Node #0,2,2
Current State: 85:[95, 90], Operations: ['74+21=95', '8+82=90']
Exploring Operation: 95+90=185, Resulting Numbers: [185]
185,85 unequal: No Solution
Exploring Operation: 95-90=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Exploring Operation: 95*90=8550, Resulting Numbers: [8550]
8550,85 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 |
[
83,
33,
2,
29
] | 60 | [
"83-29=54",
"54/2=27",
"33+27=60"
] | Current State: 60:[83, 33, 2, 29], Operations: []
Exploring Operation: 83-29=54, Resulting Numbers: [33, 2, 54]
Generated Node #2: [33, 2, 54] from Operation: 83-29=54
Current State: 60:[33, 2, 54], Operations: ['83-29=54']
Exploring Operation: 54/2=27, Resulting Numbers: [33, 27]
Generated Node #3: [33, 27] from Operation: 54/2=27
Current State: 60:[33, 27], Operations: ['83-29=54', '54/2=27']
Exploring Operation: 33+27=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[83, 33, 2, 29], Operations: []
Exploring Operation: 83-33=50, Resulting Numbers: [2, 29, 50]
Generated Node #0,0: 60:[2, 29, 50] Operation: 83-33=50
Exploring Operation: 83-29=54, Resulting Numbers: [33, 2, 54]
Generated Node #0,1: 60:[33, 2, 54] Operation: 83-29=54
Exploring Operation: 33-29=4, Resulting Numbers: [83, 2, 4]
Generated Node #0,2: 60:[83, 2, 4] Operation: 33-29=4
Moving to Node #0,1
Current State: 60:[33, 2, 54], Operations: ['83-29=54']
Exploring Operation: 54-33=21, Resulting Numbers: [2, 21]
Generated Node #0,1,0: 60:[2, 21] Operation: 54-33=21
Exploring Operation: 33-2=31, Resulting Numbers: [54, 31]
Generated Node #0,1,1: 60:[54, 31] Operation: 33-2=31
Exploring Operation: 54/2=27, Resulting Numbers: [33, 27]
Generated Node #0,1,2: 60:[33, 27] Operation: 54/2=27
Moving to Node #0,0
Current State: 60:[2, 29, 50], Operations: ['83-33=50']
Exploring Operation: 50/2=25, Resulting Numbers: [29, 25]
Generated Node #0,0,0: 60:[29, 25] Operation: 50/2=25
Exploring Operation: 50-29=21, Resulting Numbers: [2, 21]
Generated Node #0,0,1: 60:[2, 21] Operation: 50-29=21
Exploring Operation: 2+50=52, Resulting Numbers: [29, 52]
Generated Node #0,0,2: 60:[29, 52] Operation: 2+50=52
Moving to Node #0,2
Current State: 60:[83, 2, 4], Operations: ['33-29=4']
Exploring Operation: 2+4=6, Resulting Numbers: [83, 6]
Generated Node #0,2,0: 60:[83, 6] Operation: 2+4=6
Exploring Operation: 83-2=81, Resulting Numbers: [4, 81]
Generated Node #0,2,1: 60:[4, 81] Operation: 83-2=81
Exploring Operation: 83-4=79, Resulting Numbers: [2, 79]
Generated Node #0,2,2: 60:[2, 79] Operation: 83-4=79
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 60:[2, 79], Operations: ['33-29=4', '83-4=79']
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,60 unequal: No Solution
Exploring Operation: 2+79=81, Resulting Numbers: [81]
81,60 unequal: No Solution
Exploring Operation: 2*79=158, Resulting Numbers: [158]
158,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 60:[4, 81], Operations: ['33-29=4', '83-2=81']
Exploring Operation: 4+81=85, Resulting Numbers: [85]
85,60 unequal: No Solution
Exploring Operation: 4*81=324, Resulting Numbers: [324]
324,60 unequal: No Solution
Exploring Operation: 81-4=77, Resulting Numbers: [77]
77,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 60:[83, 6], Operations: ['33-29=4', '2+4=6']
Exploring Operation: 83+6=89, Resulting Numbers: [89]
89,60 unequal: No Solution
Exploring Operation: 83*6=498, Resulting Numbers: [498]
498,60 unequal: No Solution
Exploring Operation: 83-6=77, Resulting Numbers: [77]
77,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 60:[2, 21], Operations: ['83-29=54', '54-33=21']
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,60 unequal: No Solution
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,60 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,60 unequal: No Solution
Moving to Node #0,0,1
Current State: 60:[2, 21], Operations: ['83-33=50', '50-29=21']
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,60 unequal: No Solution
Exploring Operation: 2*21=42, Resulting Numbers: [42]
42,60 unequal: No Solution
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,60 unequal: No Solution
Moving to Node #0,0,0
Current State: 60:[29, 25], Operations: ['83-33=50', '50/2=25']
Exploring Operation: 29*25=725, Resulting Numbers: [725]
725,60 unequal: No Solution
Exploring Operation: 29-25=4, Resulting Numbers: [4]
4,60 unequal: No Solution
Exploring Operation: 29+25=54, Resulting Numbers: [54]
54,60 unequal: No Solution
Moving to Node #0,1,2
Current State: 60:[33, 27], Operations: ['83-29=54', '54/2=27']
Exploring Operation: 33*27=891, Resulting Numbers: [891]
891,60 unequal: No Solution
Exploring Operation: 33-27=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 33+27=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[83, 33, 2, 29], Operations: []
Exploring Operation: 83-29=54, Resulting Numbers: [33, 2, 54]
Generated Node #0,1: 60:[33, 2, 54] Operation: 83-29=54
Moving to Node #0,1
Current State: 60:[33, 2, 54], Operations: ['83-29=54']
Exploring Operation: 54/2=27, Resulting Numbers: [33, 27]
Generated Node #0,1,2: 60:[33, 27] Operation: 54/2=27
Moving to Node #0,1,2
Current State: 60:[33, 27], Operations: ['83-29=54', '54/2=27']
Exploring Operation: 33+27=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 0.967882 | hs_3 | sum_heuristic |
[
89,
39,
67,
70
] | 28 | [
"70-67=3",
"39*3=117",
"117-89=28"
] | Current State: 28:[89, 39, 67, 70], Operations: []
Exploring Operation: 70-67=3, Resulting Numbers: [89, 39, 3]
Generated Node #2: [89, 39, 3] from Operation: 70-67=3
Current State: 28:[89, 39, 3], Operations: ['70-67=3']
Exploring Operation: 39*3=117, Resulting Numbers: [89, 117]
Generated Node #3: [89, 117] from Operation: 39*3=117
Current State: 28:[89, 117], Operations: ['70-67=3', '39*3=117']
Exploring Operation: 117-89=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[89, 39, 67, 70], Operations: []
Exploring Operation: 89-70=19, Resulting Numbers: [39, 67, 19]
Generated Node #0,0: 28:[39, 67, 19] Operation: 89-70=19
Exploring Operation: 89-67=22, Resulting Numbers: [39, 70, 22]
Generated Node #0,1: 28:[39, 70, 22] Operation: 89-67=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[39, 67, 19], Operations: ['89-70=19']
Exploring Operation: 67-39=28, Resulting Numbers: [19, 28]
Generated Node #0,0,0: 28:[19, 28] Operation: 67-39=28
Exploring Operation: 67-19=48, Resulting Numbers: [39, 48]
Generated Node #0,0,1: 28:[39, 48] Operation: 67-19=48
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 28:[19, 28], Operations: ['89-70=19', '67-39=28']
Exploring Operation: 19+28=47, Resulting Numbers: [47]
47,28 unequal: No Solution
Exploring Operation: 28-19=9, Resulting Numbers: [9]
9,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:[39, 48], Operations: ['89-70=19', '67-19=48']
Exploring Operation: 39+48=87, Resulting Numbers: [87]
87,28 unequal: No Solution
Exploring Operation: 48-39=9, Resulting Numbers: [9]
9,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,1
Current State: 28:[39, 70, 22], Operations: ['89-67=22']
Exploring Operation: 70-22=48, Resulting Numbers: [39, 48]
Generated Node #0,1,0: 28:[39, 48] Operation: 70-22=48
Exploring Operation: 70-39=31, Resulting Numbers: [22, 31]
Generated Node #0,1,1: 28:[22, 31] Operation: 70-39=31
Moving to Node #0,1,1
Current State: 28:[22, 31], Operations: ['89-67=22', '70-39=31']
Exploring Operation: 22+31=53, Resulting Numbers: [53]
53,28 unequal: No Solution
Exploring Operation: 31-22=9, Resulting Numbers: [9]
9,28 unequal: No Solution
Moving to Node #0,1,0
Current State: 28:[39, 48], Operations: ['89-67=22', '70-22=48']
Exploring Operation: 48-39=9, Resulting Numbers: [9]
9,28 unequal: No Solution
Exploring Operation: 39+48=87, Resulting Numbers: [87]
87,28 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 |
[
10,
68,
40,
69
] | 50 | [
"10+40=50",
"69-68=1",
"50*1=50"
] | Current State: 50:[10, 68, 40, 69], Operations: []
Exploring Operation: 10+40=50, Resulting Numbers: [68, 69, 50]
Generated Node #2: [68, 69, 50] from Operation: 10+40=50
Current State: 50:[68, 69, 50], Operations: ['10+40=50']
Exploring Operation: 69-68=1, Resulting Numbers: [50, 1]
Generated Node #3: [50, 1] from Operation: 69-68=1
Current State: 50:[50, 1], Operations: ['10+40=50', '69-68=1']
Exploring Operation: 50*1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[10, 68, 40, 69], Operations: []
Exploring Operation: 68-40=28, Resulting Numbers: [10, 69, 28]
Generated Node #0,0: 50:[10, 69, 28] Operation: 68-40=28
Exploring Operation: 68-10=58, Resulting Numbers: [40, 69, 58]
Generated Node #0,1: 50:[40, 69, 58] Operation: 68-10=58
Exploring Operation: 69-68=1, Resulting Numbers: [10, 40, 1]
Generated Node #0,2: 50:[10, 40, 1] Operation: 69-68=1
Exploring Operation: 69-40=29, Resulting Numbers: [10, 68, 29]
Generated Node #0,3: 50:[10, 68, 29] Operation: 69-40=29
Start Sub Search at level 1: Moving to Node #0,2
Current State: 50:[10, 40, 1], Operations: ['69-68=1']
Exploring Operation: 40/10=4, Resulting Numbers: [1, 4]
Generated Node #0,2,0: 50:[1, 4] Operation: 40/10=4
Exploring Operation: 40-10=30, Resulting Numbers: [1, 30]
Generated Node #0,2,1: 50:[1, 30] Operation: 40-10=30
Exploring Operation: 10+40=50, Resulting Numbers: [1, 50]
Generated Node #0,2,2: 50:[1, 50] Operation: 10+40=50
Exploring Operation: 40+1=41, Resulting Numbers: [10, 41]
Generated Node #0,2,3: 50:[10, 41] Operation: 40+1=41
Moving to Node #0,2,2
Current State: 50:[1, 50], Operations: ['69-68=1', '10+40=50']
Exploring Operation: 50-1=49, Resulting Numbers: [49]
49,50 unequal: No Solution
Exploring Operation: 1*50=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[10, 68, 40, 69], Operations: []
Exploring Operation: 69-68=1, Resulting Numbers: [10, 40, 1]
Generated Node #0,2: 50:[10, 40, 1] Operation: 69-68=1
Moving to Node #0,2
Current State: 50:[10, 40, 1], Operations: ['69-68=1']
Exploring Operation: 10+40=50, Resulting Numbers: [1, 50]
Generated Node #0,2,2: 50:[1, 50] Operation: 10+40=50
Moving to Node #0,2,2
Current State: 50:[1, 50], Operations: ['69-68=1', '10+40=50']
Exploring Operation: 1*50=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
33,
21,
14,
26
] | 52 | [
"33-21=12",
"14+26=40",
"12+40=52"
] | Current State: 52:[33, 21, 14, 26], Operations: []
Exploring Operation: 33-21=12, Resulting Numbers: [14, 26, 12]
Generated Node #2: [14, 26, 12] from Operation: 33-21=12
Current State: 52:[14, 26, 12], Operations: ['33-21=12']
Exploring Operation: 14+26=40, Resulting Numbers: [12, 40]
Generated Node #3: [12, 40] from Operation: 14+26=40
Current State: 52:[12, 40], Operations: ['33-21=12', '14+26=40']
Exploring Operation: 12+40=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[33, 21, 14, 26], Operations: []
Exploring Operation: 33-21=12, Resulting Numbers: [14, 26, 12]
Generated Node #0,0: 52:[14, 26, 12] Operation: 33-21=12
Exploring Operation: 26-21=5, Resulting Numbers: [33, 14, 5]
Generated Node #0,1: 52:[33, 14, 5] Operation: 26-21=5
Exploring Operation: 33-26=7, Resulting Numbers: [21, 14, 7]
Generated Node #0,2: 52:[21, 14, 7] Operation: 33-26=7
Exploring Operation: 33+21=54, Resulting Numbers: [14, 26, 54]
Generated Node #0,3: 52:[14, 26, 54] Operation: 33+21=54
Exploring Operation: 33+14=47, Resulting Numbers: [21, 26, 47]
Generated Node #0,4: 52:[21, 26, 47] Operation: 33+14=47
Moving to Node #0,0
Current State: 52:[14, 26, 12], Operations: ['33-21=12']
Exploring Operation: 14+12=26, Resulting Numbers: [26, 26]
Generated Node #0,0,0: 52:[26, 26] Operation: 14+12=26
Exploring Operation: 26-14=12, Resulting Numbers: [12, 12]
Generated Node #0,0,1: 52:[12, 12] Operation: 26-14=12
Exploring Operation: 26-12=14, Resulting Numbers: [14, 14]
Generated Node #0,0,2: 52:[14, 14] Operation: 26-12=14
Exploring Operation: 14-12=2, Resulting Numbers: [26, 2]
Generated Node #0,0,3: 52:[26, 2] Operation: 14-12=2
Exploring Operation: 14+26=40, Resulting Numbers: [12, 40]
Generated Node #0,0,4: 52:[12, 40] Operation: 14+26=40
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[26, 26], Operations: ['33-21=12', '14+12=26']
Exploring Operation: 26+26=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[33, 21, 14, 26], Operations: []
Exploring Operation: 33-21=12, Resulting Numbers: [14, 26, 12]
Generated Node #0,0: 52:[14, 26, 12] Operation: 33-21=12
Moving to Node #0,0
Current State: 52:[14, 26, 12], Operations: ['33-21=12']
Exploring Operation: 14+12=26, Resulting Numbers: [26, 26]
Generated Node #0,0,0: 52:[26, 26] Operation: 14+12=26
Moving to Node #0,0,0
Current State: 52:[26, 26], Operations: ['33-21=12', '14+12=26']
Exploring Operation: 26+26=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
14,
84,
8,
30
] | 92 | [
"84-14=70",
"30-8=22",
"70+22=92"
] | Current State: 92:[14, 84, 8, 30], Operations: []
Exploring Operation: 84-14=70, Resulting Numbers: [8, 30, 70]
Generated Node #2: [8, 30, 70] from Operation: 84-14=70
Current State: 92:[8, 30, 70], Operations: ['84-14=70']
Exploring Operation: 30-8=22, Resulting Numbers: [70, 22]
Generated Node #3: [70, 22] from Operation: 30-8=22
Current State: 92:[70, 22], Operations: ['84-14=70', '30-8=22']
Exploring Operation: 70+22=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[14, 84, 8, 30], Operations: []
Exploring Operation: 84/14=6, Resulting Numbers: [8, 30, 6]
Generated Node #0,0: 92:[8, 30, 6] Operation: 84/14=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[8, 30, 6], Operations: ['84/14=6']
Exploring Operation: 30-8=22, Resulting Numbers: [6, 22]
Generated Node #0,0,0: 92:[6, 22] Operation: 30-8=22
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 92:[6, 22], Operations: ['84/14=6', '30-8=22']
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
6,
64,
93,
53
] | 76 | [
"6+64=70",
"93+53=146",
"146-70=76"
] | Current State: 76:[6, 64, 93, 53], Operations: []
Exploring Operation: 6+64=70, Resulting Numbers: [93, 53, 70]
Generated Node #2: [93, 53, 70] from Operation: 6+64=70
Current State: 76:[93, 53, 70], Operations: ['6+64=70']
Exploring Operation: 93+53=146, Resulting Numbers: [70, 146]
Generated Node #3: [70, 146] from Operation: 93+53=146
Current State: 76:[70, 146], Operations: ['6+64=70', '93+53=146']
Exploring Operation: 146-70=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[6, 64, 93, 53], Operations: []
Exploring Operation: 93-53=40, Resulting Numbers: [6, 64, 40]
Generated Node #0,0: 76:[6, 64, 40] Operation: 93-53=40
Moving to Node #0,0
Current State: 76:[6, 64, 40], Operations: ['93-53=40']
Exploring Operation: 64-40=24, Resulting Numbers: [6, 24]
Generated Node #0,0,0: 76:[6, 24] Operation: 64-40=24
Moving to Node #0,0,0
Current State: 76:[6, 24], Operations: ['93-53=40', '64-40=24']
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,76 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
47,
50,
96,
92
] | 49 | [
"96-50=46",
"92/46=2",
"47+2=49"
] | Current State: 49:[47, 50, 96, 92], Operations: []
Exploring Operation: 96-50=46, Resulting Numbers: [47, 92, 46]
Generated Node #2: [47, 92, 46] from Operation: 96-50=46
Current State: 49:[47, 92, 46], Operations: ['96-50=46']
Exploring Operation: 92/46=2, Resulting Numbers: [47, 2]
Generated Node #3: [47, 2] from Operation: 92/46=2
Current State: 49:[47, 2], Operations: ['96-50=46', '92/46=2']
Exploring Operation: 47+2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[47, 50, 96, 92], Operations: []
Exploring Operation: 96-92=4, Resulting Numbers: [47, 50, 4]
Generated Node #0,0: 49:[47, 50, 4] Operation: 96-92=4
Exploring Operation: 96-47=49, Resulting Numbers: [50, 92, 49]
Generated Node #0,1: 49:[50, 92, 49] Operation: 96-47=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[47, 50, 4], Operations: ['96-92=4']
Exploring Operation: 47+4=51, Resulting Numbers: [50, 51]
Generated Node #0,0,0: 49:[50, 51] Operation: 47+4=51
Exploring Operation: 50-4=46, Resulting Numbers: [47, 46]
Generated Node #0,0,1: 49:[47, 46] Operation: 50-4=46
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 49:[50, 51], Operations: ['96-92=4', '47+4=51']
Exploring Operation: 51-50=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 50+51=101, Resulting Numbers: [101]
101,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 49:[47, 46], Operations: ['96-92=4', '50-4=46']
Exploring Operation: 47-46=1, Resulting Numbers: [1]
1,49 unequal: No Solution
Exploring Operation: 47+46=93, Resulting Numbers: [93]
93,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[50, 92, 49], Operations: ['96-47=49']
Exploring Operation: 92-50=42, Resulting Numbers: [49, 42]
Generated Node #0,1,0: 49:[49, 42] Operation: 92-50=42
Exploring Operation: 92-49=43, Resulting Numbers: [50, 43]
Generated Node #0,1,1: 49:[50, 43] Operation: 92-49=43
Moving to Node #0,1,0
Current State: 49:[49, 42], Operations: ['96-47=49', '92-50=42']
Exploring Operation: 49+42=91, Resulting Numbers: [91]
91,49 unequal: No Solution
Exploring Operation: 49-42=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Moving to Node #0,1,1
Current State: 49:[50, 43], Operations: ['96-47=49', '92-49=43']
Exploring Operation: 50-43=7, Resulting Numbers: [7]
7,49 unequal: No Solution
Exploring Operation: 50+43=93, Resulting Numbers: [93]
93,49 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 |
[
20,
28,
61,
91
] | 40 | [
"28+61=89",
"91-89=2",
"20*2=40"
] | Current State: 40:[20, 28, 61, 91], Operations: []
Exploring Operation: 28+61=89, Resulting Numbers: [20, 91, 89]
Generated Node #2: [20, 91, 89] from Operation: 28+61=89
Current State: 40:[20, 91, 89], Operations: ['28+61=89']
Exploring Operation: 91-89=2, Resulting Numbers: [20, 2]
Generated Node #3: [20, 2] from Operation: 91-89=2
Current State: 40:[20, 2], Operations: ['28+61=89', '91-89=2']
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[20, 28, 61, 91], Operations: []
Exploring Operation: 91-61=30, Resulting Numbers: [20, 28, 30]
Generated Node #0,0: 40:[20, 28, 30] Operation: 91-61=30
Exploring Operation: 61-28=33, Resulting Numbers: [20, 91, 33]
Generated Node #0,1: 40:[20, 91, 33] Operation: 61-28=33
Exploring Operation: 91-28=63, Resulting Numbers: [20, 61, 63]
Generated Node #0,2: 40:[20, 61, 63] Operation: 91-28=63
Exploring Operation: 61-20=41, Resulting Numbers: [28, 91, 41]
Generated Node #0,3: 40:[28, 91, 41] Operation: 61-20=41
Exploring Operation: 91-20=71, Resulting Numbers: [28, 61, 71]
Generated Node #0,4: 40:[28, 61, 71] Operation: 91-20=71
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[20, 28, 30], Operations: ['91-61=30']
Exploring Operation: 20+28=48, Resulting Numbers: [30, 48]
Generated Node #0,0,0: 40:[30, 48] Operation: 20+28=48
Exploring Operation: 30-28=2, Resulting Numbers: [20, 2]
Generated Node #0,0,1: 40:[20, 2] Operation: 30-28=2
Exploring Operation: 28-20=8, Resulting Numbers: [30, 8]
Generated Node #0,0,2: 40:[30, 8] Operation: 28-20=8
Exploring Operation: 20+30=50, Resulting Numbers: [28, 50]
Generated Node #0,0,3: 40:[28, 50] Operation: 20+30=50
Exploring Operation: 30-20=10, Resulting Numbers: [28, 10]
Generated Node #0,0,4: 40:[28, 10] Operation: 30-20=10
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 40:[20, 2], Operations: ['91-61=30', '30-28=2']
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,40 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,40 unequal: No Solution
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[20, 28, 61, 91], Operations: []
Exploring Operation: 91-61=30, Resulting Numbers: [20, 28, 30]
Generated Node #0,0: 40:[20, 28, 30] Operation: 91-61=30
Moving to Node #0,0
Current State: 40:[20, 28, 30], Operations: ['91-61=30']
Exploring Operation: 30-28=2, Resulting Numbers: [20, 2]
Generated Node #0,0,1: 40:[20, 2] Operation: 30-28=2
Moving to Node #0,0,1
Current State: 40:[20, 2], Operations: ['91-61=30', '30-28=2']
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
5,
65,
20,
24
] | 83 | [
"65*24=1560",
"1560/20=78",
"5+78=83"
] | Current State: 83:[5, 65, 20, 24], Operations: []
Exploring Operation: 65*24=1560, Resulting Numbers: [5, 20, 1560]
Generated Node #2: [5, 20, 1560] from Operation: 65*24=1560
Current State: 83:[5, 20, 1560], Operations: ['65*24=1560']
Exploring Operation: 1560/20=78, Resulting Numbers: [5, 78]
Generated Node #3: [5, 78] from Operation: 1560/20=78
Current State: 83:[5, 78], Operations: ['65*24=1560', '1560/20=78']
Exploring Operation: 5+78=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[5, 65, 20, 24], Operations: []
Exploring Operation: 5*20=100, Resulting Numbers: [65, 24, 100]
Generated Node #0,0: 83:[65, 24, 100] Operation: 5*20=100
Moving to Node #0,0
Current State: 83:[65, 24, 100], Operations: ['5*20=100']
Exploring Operation: 65+24=89, Resulting Numbers: [100, 89]
Generated Node #0,0,0: 83:[100, 89] Operation: 65+24=89
Moving to Node #0,0,0
Current State: 83:[100, 89], Operations: ['5*20=100', '65+24=89']
Exploring Operation: 100-89=11, Resulting Numbers: [11]
11,83 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
88,
33,
60,
65
] | 95 | [
"88*60=5280",
"5280/33=160",
"160-65=95"
] | Current State: 95:[88, 33, 60, 65], Operations: []
Exploring Operation: 88*60=5280, Resulting Numbers: [33, 65, 5280]
Generated Node #2: [33, 65, 5280] from Operation: 88*60=5280
Current State: 95:[33, 65, 5280], Operations: ['88*60=5280']
Exploring Operation: 5280/33=160, Resulting Numbers: [65, 160]
Generated Node #3: [65, 160] from Operation: 5280/33=160
Current State: 95:[65, 160], Operations: ['88*60=5280', '5280/33=160']
Exploring Operation: 160-65=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[88, 33, 60, 65], Operations: []
Exploring Operation: 33+60=93, Resulting Numbers: [88, 65, 93]
Generated Node #0,0: 95:[88, 65, 93] Operation: 33+60=93
Exploring Operation: 33+65=98, Resulting Numbers: [88, 60, 98]
Generated Node #0,1: 95:[88, 60, 98] Operation: 33+65=98
Exploring Operation: 60+65=125, Resulting Numbers: [88, 33, 125]
Generated Node #0,2: 95:[88, 33, 125] Operation: 60+65=125
Exploring Operation: 65-60=5, Resulting Numbers: [88, 33, 5]
Generated Node #0,3: 95:[88, 33, 5] Operation: 65-60=5
Exploring Operation: 60-33=27, Resulting Numbers: [88, 65, 27]
Generated Node #0,4: 95:[88, 65, 27] Operation: 60-33=27
Start Sub Search at level 1: Moving to Node #0,3
Current State: 95:[88, 33, 5], Operations: ['65-60=5']
Exploring Operation: 33-5=28, Resulting Numbers: [88, 28]
Generated Node #0,3,0: 95:[88, 28] Operation: 33-5=28
Exploring Operation: 88-5=83, Resulting Numbers: [33, 83]
Generated Node #0,3,1: 95:[33, 83] Operation: 88-5=83
Exploring Operation: 88+33=121, Resulting Numbers: [5, 121]
Generated Node #0,3,2: 95:[5, 121] Operation: 88+33=121
Exploring Operation: 33+5=38, Resulting Numbers: [88, 38]
Generated Node #0,3,3: 95:[88, 38] Operation: 33+5=38
Exploring Operation: 88+5=93, Resulting Numbers: [33, 93]
Generated Node #0,3,4: 95:[33, 93] Operation: 88+5=93
Moving to Node #0,3,0
Current State: 95:[88, 28], Operations: ['65-60=5', '33-5=28']
Exploring Operation: 88+28=116, Resulting Numbers: [116]
116,95 unequal: No Solution
Exploring Operation: 88-28=60, Resulting Numbers: [60]
60,95 unequal: No Solution
Exploring Operation: 88*28=2464, Resulting Numbers: [2464]
2464,95 unequal: No Solution
Moving to Node #0,3,4
Current State: 95:[33, 93], Operations: ['65-60=5', '88+5=93']
Exploring Operation: 93-33=60, Resulting Numbers: [60]
60,95 unequal: No Solution
Exploring Operation: 33+93=126, Resulting Numbers: [126]
126,95 unequal: No Solution
Exploring Operation: 33*93=3069, Resulting Numbers: [3069]
3069,95 unequal: No Solution
Moving to Node #0,3,1
Current State: 95:[33, 83], Operations: ['65-60=5', '88-5=83']
Exploring Operation: 33+83=116, Resulting Numbers: [116]
116,95 unequal: No Solution
Exploring Operation: 33*83=2739, Resulting Numbers: [2739]
2739,95 unequal: No Solution
Exploring Operation: 83-33=50, Resulting Numbers: [50]
50,95 unequal: No Solution
Moving to Node #0,3,2
Current State: 95:[5, 121], Operations: ['65-60=5', '88+33=121']
Exploring Operation: 5*121=605, Resulting Numbers: [605]
605,95 unequal: No Solution
Exploring Operation: 5+121=126, Resulting Numbers: [126]
126,95 unequal: No Solution
Exploring Operation: 121-5=116, Resulting Numbers: [116]
116,95 unequal: No Solution
Moving to Node #0,3,3
Current State: 95:[88, 38], Operations: ['65-60=5', '33+5=38']
Exploring Operation: 88+38=126, Resulting Numbers: [126]
126,95 unequal: No Solution
Exploring Operation: 88*38=3344, Resulting Numbers: [3344]
3344,95 unequal: No Solution
Exploring Operation: 88-38=50, Resulting Numbers: [50]
50,95 unequal: No Solution
No 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: 95:[88, 65, 93], Operations: ['33+60=93']
Exploring Operation: 88-65=23, Resulting Numbers: [93, 23]
Generated Node #0,0,0: 95:[93, 23] Operation: 88-65=23
Exploring Operation: 88+65=153, Resulting Numbers: [93, 153]
Generated Node #0,0,1: 95:[93, 153] Operation: 88+65=153
Exploring Operation: 65+93=158, Resulting Numbers: [88, 158]
Generated Node #0,0,2: 95:[88, 158] Operation: 65+93=158
Exploring Operation: 93-65=28, Resulting Numbers: [88, 28]
Generated Node #0,0,3: 95:[88, 28] Operation: 93-65=28
Exploring Operation: 93-88=5, Resulting Numbers: [65, 5]
Generated Node #0,0,4: 95:[65, 5] Operation: 93-88=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 95:[93, 23], Operations: ['33+60=93', '88-65=23']
Exploring Operation: 93-23=70, Resulting Numbers: [70]
70,95 unequal: No Solution
Exploring Operation: 93+23=116, Resulting Numbers: [116]
116,95 unequal: No Solution
Exploring Operation: 93*23=2139, Resulting Numbers: [2139]
2139,95 unequal: No Solution
No 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: 95:[88, 28], Operations: ['33+60=93', '93-65=28']
Exploring Operation: 88+28=116, Resulting Numbers: [116]
116,95 unequal: No Solution
Exploring Operation: 88-28=60, Resulting Numbers: [60]
60,95 unequal: No Solution
Exploring Operation: 88*28=2464, Resulting Numbers: [2464]
2464,95 unequal: No Solution
No 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: 95:[65, 5], Operations: ['33+60=93', '93-88=5']
Exploring Operation: 65/5=13, Resulting Numbers: [13]
13,95 unequal: No Solution
Exploring Operation: 65-5=60, Resulting Numbers: [60]
60,95 unequal: No Solution
Exploring Operation: 65*5=325, Resulting Numbers: [325]
325,95 unequal: No Solution
Exploring Operation: 65+5=70, Resulting Numbers: [70]
70,95 unequal: No Solution
No 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: 95:[93, 153], Operations: ['33+60=93', '88+65=153']
Exploring Operation: 93*153=14229, Resulting Numbers: [14229]
14229,95 unequal: No Solution
Exploring Operation: 93+153=246, Resulting Numbers: [246]
246,95 unequal: No Solution
Exploring Operation: 153-93=60, Resulting Numbers: [60]
60,95 unequal: No Solution
No 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: 95:[88, 158], Operations: ['33+60=93', '65+93=158']
Exploring Operation: 158-88=70, Resulting Numbers: [70]
70,95 unequal: No Solution
Exploring Operation: 88*158=13904, Resulting Numbers: [13904]
13904,95 unequal: No Solution
Exploring Operation: 88+158=246, Resulting Numbers: [246]
246,95 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: 95:[88, 60, 98], Operations: ['33+65=98']
Exploring Operation: 60+98=158, Resulting Numbers: [88, 158]
Generated Node #0,1,0: 95:[88, 158] Operation: 60+98=158
Exploring Operation: 88-60=28, Resulting Numbers: [98, 28]
Generated Node #0,1,1: 95:[98, 28] Operation: 88-60=28
Exploring Operation: 88+60=148, Resulting Numbers: [98, 148]
Generated Node #0,1,2: 95:[98, 148] Operation: 88+60=148
Exploring Operation: 98-88=10, Resulting Numbers: [60, 10]
Generated Node #0,1,3: 95:[60, 10] Operation: 98-88=10
Exploring Operation: 98-60=38, Resulting Numbers: [88, 38]
Generated Node #0,1,4: 95:[88, 38] Operation: 98-60=38
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 95:[98, 28], Operations: ['33+65=98', '88-60=28']
Exploring Operation: 98-28=70, Resulting Numbers: [70]
70,95 unequal: No Solution
Exploring Operation: 98+28=126, Resulting Numbers: [126]
126,95 unequal: No Solution
Exploring Operation: 98*28=2744, Resulting Numbers: [2744]
2744,95 unequal: No Solution
No 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: 95:[88, 38], Operations: ['33+65=98', '98-60=38']
Exploring Operation: 88+38=126, Resulting Numbers: [126]
126,95 unequal: No Solution
Exploring Operation: 88*38=3344, Resulting Numbers: [3344]
3344,95 unequal: No Solution
Exploring Operation: 88-38=50, Resulting Numbers: [50]
50,95 unequal: No Solution
No 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: 95:[60, 10], Operations: ['33+65=98', '98-88=10']
Exploring Operation: 60/10=6, Resulting Numbers: [6]
6,95 unequal: No Solution
Exploring Operation: 60+10=70, Resulting Numbers: [70]
70,95 unequal: No Solution
Exploring Operation: 60*10=600, Resulting Numbers: [600]
600,95 unequal: No Solution
Exploring Operation: 60-10=50, Resulting Numbers: [50]
50,95 unequal: No Solution
No 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: 95:[98, 148], Operations: ['33+65=98', '88+60=148']
Exploring Operation: 148-98=50, Resulting Numbers: [50]
50,95 unequal: No Solution
Exploring Operation: 98*148=14504, Resulting Numbers: [14504]
14504,95 unequal: No Solution
Exploring Operation: 98+148=246, Resulting Numbers: [246]
246,95 unequal: No Solution
No 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: 95:[88, 158], Operations: ['33+65=98', '60+98=158']
Exploring Operation: 88*158=13904, Resulting Numbers: [13904]
13904,95 unequal: No Solution
Exploring Operation: 158-88=70, Resulting Numbers: [70]
70,95 unequal: No Solution
Exploring Operation: 88+158=246, Resulting Numbers: [246]
246,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 95:[88, 65, 27], Operations: ['60-33=27']
Exploring Operation: 88-27=61, Resulting Numbers: [65, 61]
Generated Node #0,4,0: 95:[65, 61] Operation: 88-27=61
Exploring Operation: 65+27=92, Resulting Numbers: [88, 92]
Generated Node #0,4,1: 95:[88, 92] Operation: 65+27=92
Exploring Operation: 88+27=115, Resulting Numbers: [65, 115]
Generated Node #0,4,2: 95:[65, 115] Operation: 88+27=115
Exploring Operation: 65-27=38, Resulting Numbers: [88, 38]
Generated Node #0,4,3: 95:[88, 38] Operation: 65-27=38
Exploring Operation: 88-65=23, Resulting Numbers: [27, 23]
Generated Node #0,4,4: 95:[27, 23] Operation: 88-65=23
Moving to Node #0,4,1
Current State: 95:[88, 92], Operations: ['60-33=27', '65+27=92']
Exploring Operation: 88+92=180, Resulting Numbers: [180]
180,95 unequal: No Solution
Exploring Operation: 88*92=8096, Resulting Numbers: [8096]
8096,95 unequal: No Solution
Exploring Operation: 92-88=4, Resulting Numbers: [4]
4,95 unequal: No Solution
Moving to Node #0,4,4
Current State: 95:[27, 23], Operations: ['60-33=27', '88-65=23']
Exploring Operation: 27*23=621, Resulting Numbers: [621]
621,95 unequal: No Solution
Exploring Operation: 27+23=50, Resulting Numbers: [50]
50,95 unequal: No Solution
Exploring Operation: 27-23=4, Resulting Numbers: [4]
4,95 unequal: No Solution
Moving to Node #0,4,3
Current State: 95:[88, 38], Operations: ['60-33=27', '65-27=38']
Exploring Operation: 88+38=126, Resulting Numbers: [126]
126,95 unequal: No Solution
Exploring Operation: 88*38=3344, Resulting Numbers: [3344]
3344,95 unequal: No Solution
Exploring Operation: 88-38=50, Resulting Numbers: [50]
50,95 unequal: No Solution
Moving to Node #0,4,2
Current State: 95:[65, 115], Operations: ['60-33=27', '88+27=115']
Exploring Operation: 65*115=7475, Resulting Numbers: [7475]
7475,95 unequal: No Solution
Exploring Operation: 115-65=50, Resulting Numbers: [50]
50,95 unequal: No Solution
Exploring Operation: 65+115=180, Resulting Numbers: [180]
180,95 unequal: No Solution
Moving to Node #0,4,0
Current State: 95:[65, 61], Operations: ['60-33=27', '88-27=61']
Exploring Operation: 65-61=4, Resulting Numbers: [4]
4,95 unequal: No Solution
Exploring Operation: 65*61=3965, Resulting Numbers: [3965]
3965,95 unequal: No Solution
Exploring Operation: 65+61=126, Resulting Numbers: [126]
126,95 unequal: No Solution
No 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: 95:[88, 33, 125], Operations: ['60+65=125']
Exploring Operation: 125-33=92, Resulting Numbers: [88, 92]
Generated Node #0,2,0: 95:[88, 92] Operation: 125-33=92
Exploring Operation: 125-88=37, Resulting Numbers: [33, 37]
Generated Node #0,2,1: 95:[33, 37] Operation: 125-88=37
Exploring Operation: 33+125=158, Resulting Numbers: [88, 158]
Generated Node #0,2,2: 95:[88, 158] Operation: 33+125=158
Exploring Operation: 88-33=55, Resulting Numbers: [125, 55]
Generated Node #0,2,3: 95:[125, 55] Operation: 88-33=55
Exploring Operation: 88+33=121, Resulting Numbers: [125, 121]
Generated Node #0,2,4: 95:[125, 121] Operation: 88+33=121
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 95:[88, 92], Operations: ['60+65=125', '125-33=92']
Exploring Operation: 92-88=4, Resulting Numbers: [4]
4,95 unequal: No Solution
Exploring Operation: 88*92=8096, Resulting Numbers: [8096]
8096,95 unequal: No Solution
Exploring Operation: 88+92=180, Resulting Numbers: [180]
180,95 unequal: No Solution
No 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: 95:[33, 37], Operations: ['60+65=125', '125-88=37']
Exploring Operation: 37-33=4, Resulting Numbers: [4]
4,95 unequal: No Solution
Exploring Operation: 33*37=1221, Resulting Numbers: [1221]
1221,95 unequal: No Solution
Exploring Operation: 33+37=70, Resulting Numbers: [70]
70,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 95:[125, 121], Operations: ['60+65=125', '88+33=121']
Exploring Operation: 125-121=4, Resulting Numbers: [4]
4,95 unequal: No Solution
Exploring Operation: 125+121=246, Resulting Numbers: [246]
246,95 unequal: No Solution
Exploring Operation: 125*121=15125, Resulting Numbers: [15125]
15125,95 unequal: No Solution
No 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: 95:[125, 55], Operations: ['60+65=125', '88-33=55']
Exploring Operation: 125+55=180, Resulting Numbers: [180]
180,95 unequal: No Solution
Exploring Operation: 125-55=70, Resulting Numbers: [70]
70,95 unequal: No Solution
Exploring Operation: 125*55=6875, Resulting Numbers: [6875]
6875,95 unequal: No Solution
No 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: 95:[88, 158], Operations: ['60+65=125', '33+125=158']
Exploring Operation: 88+158=246, Resulting Numbers: [246]
246,95 unequal: No Solution
Exploring Operation: 88*158=13904, Resulting Numbers: [13904]
13904,95 unequal: No Solution
Exploring Operation: 158-88=70, Resulting Numbers: [70]
70,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
13,
35,
58,
6
] | 15 | [
"13*6=78",
"35+58=93",
"93-78=15"
] | Current State: 15:[13, 35, 58, 6], Operations: []
Exploring Operation: 13*6=78, Resulting Numbers: [35, 58, 78]
Generated Node #2: [35, 58, 78] from Operation: 13*6=78
Current State: 15:[35, 58, 78], Operations: ['13*6=78']
Exploring Operation: 35+58=93, Resulting Numbers: [78, 93]
Generated Node #3: [78, 93] from Operation: 35+58=93
Current State: 15:[78, 93], Operations: ['13*6=78', '35+58=93']
Exploring Operation: 93-78=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[13, 35, 58, 6], Operations: []
Exploring Operation: 58-13=45, Resulting Numbers: [35, 6, 45]
Generated Node #0,0: 15:[35, 6, 45] Operation: 58-13=45
Exploring Operation: 58-6=52, Resulting Numbers: [13, 35, 52]
Generated Node #0,1: 15:[13, 35, 52] Operation: 58-6=52
Exploring Operation: 35-13=22, Resulting Numbers: [58, 6, 22]
Generated Node #0,2: 15:[58, 6, 22] Operation: 35-13=22
Exploring Operation: 35-6=29, Resulting Numbers: [13, 58, 29]
Generated Node #0,3: 15:[13, 58, 29] Operation: 35-6=29
Exploring Operation: 58-35=23, Resulting Numbers: [13, 6, 23]
Generated Node #0,4: 15:[13, 6, 23] Operation: 58-35=23
Start Sub Search at level 1: Moving to Node #0,4
Current State: 15:[13, 6, 23], Operations: ['58-35=23']
Exploring Operation: 13+6=19, Resulting Numbers: [23, 19]
Generated Node #0,4,0: 15:[23, 19] Operation: 13+6=19
Exploring Operation: 6+23=29, Resulting Numbers: [13, 29]
Generated Node #0,4,1: 15:[13, 29] Operation: 6+23=29
Exploring Operation: 13-6=7, Resulting Numbers: [23, 7]
Generated Node #0,4,2: 15:[23, 7] Operation: 13-6=7
Exploring Operation: 23-6=17, Resulting Numbers: [13, 17]
Generated Node #0,4,3: 15:[13, 17] Operation: 23-6=17
Exploring Operation: 23-13=10, Resulting Numbers: [6, 10]
Generated Node #0,4,4: 15:[6, 10] Operation: 23-13=10
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 15:[13, 17], Operations: ['58-35=23', '23-6=17']
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Exploring Operation: 13+17=30, Resulting Numbers: [30]
30,15 unequal: No Solution
Exploring Operation: 13*17=221, Resulting Numbers: [221]
221,15 unequal: No Solution
No 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: 15:[6, 10], Operations: ['58-35=23', '23-13=10']
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,15 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,15 unequal: No Solution
No 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: 15:[23, 7], Operations: ['58-35=23', '13-6=7']
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,15 unequal: No Solution
Exploring Operation: 23*7=161, Resulting Numbers: [161]
161,15 unequal: No Solution
Exploring Operation: 23+7=30, Resulting Numbers: [30]
30,15 unequal: No Solution
No 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: 15:[23, 19], Operations: ['58-35=23', '13+6=19']
Exploring Operation: 23-19=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Exploring Operation: 23+19=42, Resulting Numbers: [42]
42,15 unequal: No Solution
Exploring Operation: 23*19=437, Resulting Numbers: [437]
437,15 unequal: No Solution
No 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: 15:[13, 29], Operations: ['58-35=23', '6+23=29']
Exploring Operation: 13*29=377, Resulting Numbers: [377]
377,15 unequal: No Solution
Exploring Operation: 13+29=42, Resulting Numbers: [42]
42,15 unequal: No Solution
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,15 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: 15:[35, 6, 45], Operations: ['58-13=45']
Exploring Operation: 35-6=29, Resulting Numbers: [45, 29]
Generated Node #0,0,0: 15:[45, 29] Operation: 35-6=29
Exploring Operation: 35+6=41, Resulting Numbers: [45, 41]
Generated Node #0,0,1: 15:[45, 41] Operation: 35+6=41
Exploring Operation: 6+45=51, Resulting Numbers: [35, 51]
Generated Node #0,0,2: 15:[35, 51] Operation: 6+45=51
Exploring Operation: 45-35=10, Resulting Numbers: [6, 10]
Generated Node #0,0,3: 15:[6, 10] Operation: 45-35=10
Exploring Operation: 45-6=39, Resulting Numbers: [35, 39]
Generated Node #0,0,4: 15:[35, 39] Operation: 45-6=39
Moving to Node #0,0,3
Current State: 15:[6, 10], Operations: ['58-13=45', '45-35=10']
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,15 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,15 unequal: No Solution
Moving to Node #0,0,4
Current State: 15:[35, 39], Operations: ['58-13=45', '45-6=39']
Exploring Operation: 39-35=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Exploring Operation: 35+39=74, Resulting Numbers: [74]
74,15 unequal: No Solution
Exploring Operation: 35*39=1365, Resulting Numbers: [1365]
1365,15 unequal: No Solution
Moving to Node #0,0,0
Current State: 15:[45, 29], Operations: ['58-13=45', '35-6=29']
Exploring Operation: 45+29=74, Resulting Numbers: [74]
74,15 unequal: No Solution
Exploring Operation: 45-29=16, Resulting Numbers: [16]
16,15 unequal: No Solution
Exploring Operation: 45*29=1305, Resulting Numbers: [1305]
1305,15 unequal: No Solution
Moving to Node #0,0,1
Current State: 15:[45, 41], Operations: ['58-13=45', '35+6=41']
Exploring Operation: 45*41=1845, Resulting Numbers: [1845]
1845,15 unequal: No Solution
Exploring Operation: 45-41=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Exploring Operation: 45+41=86, Resulting Numbers: [86]
86,15 unequal: No Solution
Moving to Node #0,0,2
Current State: 15:[35, 51], Operations: ['58-13=45', '6+45=51']
Exploring Operation: 35*51=1785, Resulting Numbers: [1785]
1785,15 unequal: No Solution
Exploring Operation: 35+51=86, Resulting Numbers: [86]
86,15 unequal: No Solution
Exploring Operation: 51-35=16, Resulting Numbers: [16]
16,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 15:[58, 6, 22], Operations: ['35-13=22']
Exploring Operation: 6+22=28, Resulting Numbers: [58, 28]
Generated Node #0,2,0: 15:[58, 28] Operation: 6+22=28
Exploring Operation: 22-6=16, Resulting Numbers: [58, 16]
Generated Node #0,2,1: 15:[58, 16] Operation: 22-6=16
Exploring Operation: 58-6=52, Resulting Numbers: [22, 52]
Generated Node #0,2,2: 15:[22, 52] Operation: 58-6=52
Exploring Operation: 58-22=36, Resulting Numbers: [6, 36]
Generated Node #0,2,3: 15:[6, 36] Operation: 58-22=36
Exploring Operation: 58+6=64, Resulting Numbers: [22, 64]
Generated Node #0,2,4: 15:[22, 64] Operation: 58+6=64
Moving to Node #0,2,3
Current State: 15:[6, 36], Operations: ['35-13=22', '58-22=36']
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,15 unequal: No Solution
Exploring Operation: 6+36=42, Resulting Numbers: [42]
42,15 unequal: No Solution
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,15 unequal: No Solution
Exploring Operation: 6*36=216, Resulting Numbers: [216]
216,15 unequal: No Solution
Moving to Node #0,2,2
Current State: 15:[22, 52], Operations: ['35-13=22', '58-6=52']
Exploring Operation: 22+52=74, Resulting Numbers: [74]
74,15 unequal: No Solution
Exploring Operation: 52-22=30, Resulting Numbers: [30]
30,15 unequal: No Solution
Exploring Operation: 22*52=1144, Resulting Numbers: [1144]
1144,15 unequal: No Solution
Moving to Node #0,2,1
Current State: 15:[58, 16], Operations: ['35-13=22', '22-6=16']
Exploring Operation: 58+16=74, Resulting Numbers: [74]
74,15 unequal: No Solution
Exploring Operation: 58-16=42, Resulting Numbers: [42]
42,15 unequal: No Solution
Exploring Operation: 58*16=928, Resulting Numbers: [928]
928,15 unequal: No Solution
Moving to Node #0,2,0
Current State: 15:[58, 28], Operations: ['35-13=22', '6+22=28']
Exploring Operation: 58+28=86, Resulting Numbers: [86]
86,15 unequal: No Solution
Exploring Operation: 58-28=30, Resulting Numbers: [30]
30,15 unequal: No Solution
Exploring Operation: 58*28=1624, Resulting Numbers: [1624]
1624,15 unequal: No Solution
Moving to Node #0,2,4
Current State: 15:[22, 64], Operations: ['35-13=22', '58+6=64']
Exploring Operation: 22+64=86, Resulting Numbers: [86]
86,15 unequal: No Solution
Exploring Operation: 22*64=1408, Resulting Numbers: [1408]
1408,15 unequal: No Solution
Exploring Operation: 64-22=42, Resulting Numbers: [42]
42,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 15:[13, 35, 52], Operations: ['58-6=52']
Exploring Operation: 52-35=17, Resulting Numbers: [13, 17]
Generated Node #0,1,0: 15:[13, 17] Operation: 52-35=17
Exploring Operation: 52-13=39, Resulting Numbers: [35, 39]
Generated Node #0,1,1: 15:[35, 39] Operation: 52-13=39
Exploring Operation: 35-13=22, Resulting Numbers: [52, 22]
Generated Node #0,1,2: 15:[52, 22] Operation: 35-13=22
Exploring Operation: 52/13=4, Resulting Numbers: [35, 4]
Generated Node #0,1,3: 15:[35, 4] Operation: 52/13=4
Exploring Operation: 13+35=48, Resulting Numbers: [52, 48]
Generated Node #0,1,4: 15:[52, 48] Operation: 13+35=48
Moving to Node #0,1,0
Current State: 15:[13, 17], Operations: ['58-6=52', '52-35=17']
Exploring Operation: 13+17=30, Resulting Numbers: [30]
30,15 unequal: No Solution
Exploring Operation: 13*17=221, Resulting Numbers: [221]
221,15 unequal: No Solution
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Moving to Node #0,1,3
Current State: 15:[35, 4], Operations: ['58-6=52', '52/13=4']
Exploring Operation: 35+4=39, Resulting Numbers: [39]
39,15 unequal: No Solution
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,15 unequal: No Solution
Exploring Operation: 35*4=140, Resulting Numbers: [140]
140,15 unequal: No Solution
Moving to Node #0,1,1
Current State: 15:[35, 39], Operations: ['58-6=52', '52-13=39']
Exploring Operation: 35*39=1365, Resulting Numbers: [1365]
1365,15 unequal: No Solution
Exploring Operation: 39-35=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Exploring Operation: 35+39=74, Resulting Numbers: [74]
74,15 unequal: No Solution
Moving to Node #0,1,2
Current State: 15:[52, 22], Operations: ['58-6=52', '35-13=22']
Exploring Operation: 52*22=1144, Resulting Numbers: [1144]
1144,15 unequal: No Solution
Exploring Operation: 52-22=30, Resulting Numbers: [30]
30,15 unequal: No Solution
Exploring Operation: 52+22=74, Resulting Numbers: [74]
74,15 unequal: No Solution
Moving to Node #0,1,4
Current State: 15:[52, 48], Operations: ['58-6=52', '13+35=48']
Exploring Operation: 52+48=100, Resulting Numbers: [100]
100,15 unequal: No Solution
Exploring Operation: 52-48=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Exploring Operation: 52*48=2496, Resulting Numbers: [2496]
2496,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 15:[13, 58, 29], Operations: ['35-6=29']
Exploring Operation: 58/29=2, Resulting Numbers: [13, 2]
Generated Node #0,3,0: 15:[13, 2] Operation: 58/29=2
Exploring Operation: 13+58=71, Resulting Numbers: [29, 71]
Generated Node #0,3,1: 15:[29, 71] Operation: 13+58=71
Exploring Operation: 58-13=45, Resulting Numbers: [29, 45]
Generated Node #0,3,2: 15:[29, 45] Operation: 58-13=45
Exploring Operation: 58-29=29, Resulting Numbers: [13, 29]
Generated Node #0,3,3: 15:[13, 29] Operation: 58-29=29
Exploring Operation: 29-13=16, Resulting Numbers: [58, 16]
Generated Node #0,3,4: 15:[58, 16] Operation: 29-13=16
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 15:[13, 2], Operations: ['35-6=29', '58/29=2']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,15 unequal: No Solution
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,15 unequal: No Solution
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[13, 35, 58, 6], Operations: []
Exploring Operation: 35-6=29, Resulting Numbers: [13, 58, 29]
Generated Node #0,3: 15:[13, 58, 29] Operation: 35-6=29
Moving to Node #0,3
Current State: 15:[13, 58, 29], Operations: ['35-6=29']
Exploring Operation: 58/29=2, Resulting Numbers: [13, 2]
Generated Node #0,3,0: 15:[13, 2] Operation: 58/29=2
Moving to Node #0,3,0
Current State: 15:[13, 2], Operations: ['35-6=29', '58/29=2']
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.914931 | hs_5 | sum_heuristic |
[
4,
54,
66,
58
] | 55 | [
"66-54=12",
"12/4=3",
"58-3=55"
] | Current State: 55:[4, 54, 66, 58], Operations: []
Exploring Operation: 66-54=12, Resulting Numbers: [4, 58, 12]
Generated Node #2: [4, 58, 12] from Operation: 66-54=12
Current State: 55:[4, 58, 12], Operations: ['66-54=12']
Exploring Operation: 12/4=3, Resulting Numbers: [58, 3]
Generated Node #3: [58, 3] from Operation: 12/4=3
Current State: 55:[58, 3], Operations: ['66-54=12', '12/4=3']
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[4, 54, 66, 58], Operations: []
Exploring Operation: 66-58=8, Resulting Numbers: [4, 54, 8]
Generated Node #0,0: 55:[4, 54, 8] Operation: 66-58=8
Exploring Operation: 58-4=54, Resulting Numbers: [54, 66, 54]
Generated Node #0,1: 55:[54, 66, 54] Operation: 58-4=54
Exploring Operation: 66-4=62, Resulting Numbers: [54, 58, 62]
Generated Node #0,2: 55:[54, 58, 62] Operation: 66-4=62
Exploring Operation: 66-54=12, Resulting Numbers: [4, 58, 12]
Generated Node #0,3: 55:[4, 58, 12] Operation: 66-54=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[4, 54, 8], Operations: ['66-58=8']
Exploring Operation: 4+54=58, Resulting Numbers: [8, 58]
Generated Node #0,0,0: 55:[8, 58] Operation: 4+54=58
Exploring Operation: 8-4=4, Resulting Numbers: [54, 4]
Generated Node #0,0,1: 55:[54, 4] Operation: 8-4=4
Exploring Operation: 4+8=12, Resulting Numbers: [54, 12]
Generated Node #0,0,2: 55:[54, 12] Operation: 4+8=12
Exploring Operation: 8/4=2, Resulting Numbers: [54, 2]
Generated Node #0,0,3: 55:[54, 2] Operation: 8/4=2
Moving to Node #0,0,1
Current State: 55:[54, 4], Operations: ['66-58=8', '8-4=4']
Exploring Operation: 54-4=50, Resulting Numbers: [50]
50,55 unequal: No Solution
Exploring Operation: 54+4=58, Resulting Numbers: [58]
58,55 unequal: No Solution
Exploring Operation: 54*4=216, Resulting Numbers: [216]
216,55 unequal: No Solution
Moving to Node #0,0,2
Current State: 55:[54, 12], Operations: ['66-58=8', '4+8=12']
Exploring Operation: 54-12=42, Resulting Numbers: [42]
42,55 unequal: No Solution
Exploring Operation: 54*12=648, Resulting Numbers: [648]
648,55 unequal: No Solution
Exploring Operation: 54+12=66, Resulting Numbers: [66]
66,55 unequal: No Solution
Moving to Node #0,0,3
Current State: 55:[54, 2], Operations: ['66-58=8', '8/4=2']
Exploring Operation: 54*2=108, Resulting Numbers: [108]
108,55 unequal: No Solution
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,55 unequal: No Solution
Exploring Operation: 54+2=56, Resulting Numbers: [56]
56,55 unequal: No Solution
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,55 unequal: No Solution
Moving to Node #0,0,0
Current State: 55:[8, 58], Operations: ['66-58=8', '4+54=58']
Exploring Operation: 58-8=50, Resulting Numbers: [50]
50,55 unequal: No Solution
Exploring Operation: 8*58=464, Resulting Numbers: [464]
464,55 unequal: No Solution
Exploring Operation: 8+58=66, Resulting Numbers: [66]
66,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,3
Current State: 55:[4, 58, 12], Operations: ['66-54=12']
Exploring Operation: 58-4=54, Resulting Numbers: [12, 54]
Generated Node #0,3,0: 55:[12, 54] Operation: 58-4=54
Exploring Operation: 12-4=8, Resulting Numbers: [58, 8]
Generated Node #0,3,1: 55:[58, 8] Operation: 12-4=8
Exploring Operation: 12/4=3, Resulting Numbers: [58, 3]
Generated Node #0,3,2: 55:[58, 3] Operation: 12/4=3
Exploring Operation: 4+58=62, Resulting Numbers: [12, 62]
Generated Node #0,3,3: 55:[12, 62] Operation: 4+58=62
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 55:[12, 54], Operations: ['66-54=12', '58-4=54']
Exploring Operation: 12*54=648, Resulting Numbers: [648]
648,55 unequal: No Solution
Exploring Operation: 12+54=66, Resulting Numbers: [66]
66,55 unequal: No Solution
Exploring Operation: 54-12=42, Resulting Numbers: [42]
42,55 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 55:[58, 3], Operations: ['66-54=12', '12/4=3']
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[4, 54, 66, 58], Operations: []
Exploring Operation: 66-54=12, Resulting Numbers: [4, 58, 12]
Generated Node #0,3: 55:[4, 58, 12] Operation: 66-54=12
Moving to Node #0,3
Current State: 55:[4, 58, 12], Operations: ['66-54=12']
Exploring Operation: 12/4=3, Resulting Numbers: [58, 3]
Generated Node #0,3,2: 55:[58, 3] Operation: 12/4=3
Moving to Node #0,3,2
Current State: 55:[58, 3], Operations: ['66-54=12', '12/4=3']
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.971354 | hs_4 | sum_heuristic |
[
62,
2,
37,
74
] | 63 | [
"2*37=74",
"74/74=1",
"62+1=63"
] | Current State: 63:[62, 2, 37, 74], Operations: []
Exploring Operation: 2*37=74, Resulting Numbers: [62, 74, 74]
Generated Node #2: [62, 74, 74] from Operation: 2*37=74
Current State: 63:[62, 74, 74], Operations: ['2*37=74']
Exploring Operation: 74/74=1, Resulting Numbers: [62, 1]
Generated Node #3: [62, 1] from Operation: 74/74=1
Current State: 63:[62, 1], Operations: ['2*37=74', '74/74=1']
Exploring Operation: 62+1=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[62, 2, 37, 74], Operations: []
Exploring Operation: 62-37=25, Resulting Numbers: [2, 74, 25]
Generated Node #0,0: 63:[2, 74, 25] Operation: 62-37=25
Exploring Operation: 74/37=2, Resulting Numbers: [62, 2, 2]
Generated Node #0,1: 63:[62, 2, 2] Operation: 74/37=2
Moving to Node #0,1
Current State: 63:[62, 2, 2], Operations: ['74/37=2']
Exploring Operation: 62+2=64, Resulting Numbers: [2, 64]
Generated Node #0,1,0: 63:[2, 64] Operation: 62+2=64
Exploring Operation: 62+2=64, Resulting Numbers: [2, 64]
Generated Node #0,1,1: 63:[2, 64] Operation: 62+2=64
Moving to Node #0,0
Current State: 63:[2, 74, 25], Operations: ['62-37=25']
Exploring Operation: 74-2=72, Resulting Numbers: [25, 72]
Generated Node #0,0,0: 63:[25, 72] Operation: 74-2=72
Exploring Operation: 25-2=23, Resulting Numbers: [74, 23]
Generated Node #0,0,1: 63:[74, 23] Operation: 25-2=23
Moving to Node #0,1,0
Current State: 63:[2, 64], Operations: ['74/37=2', '62+2=64']
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,63 unequal: No Solution
Exploring Operation: 2+64=66, Resulting Numbers: [66]
66,63 unequal: No Solution
Moving to Node #0,1,1
Current State: 63:[2, 64], Operations: ['74/37=2', '62+2=64']
Exploring Operation: 2+64=66, Resulting Numbers: [66]
66,63 unequal: No Solution
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,63 unequal: No Solution
Moving to Node #0,0,1
Current State: 63:[74, 23], Operations: ['62-37=25', '25-2=23']
Exploring Operation: 74+23=97, Resulting Numbers: [97]
97,63 unequal: No Solution
Exploring Operation: 74-23=51, Resulting Numbers: [51]
51,63 unequal: No Solution
Moving to Node #0,0,0
Current State: 63:[25, 72], Operations: ['62-37=25', '74-2=72']
Exploring Operation: 72-25=47, Resulting Numbers: [47]
47,63 unequal: No Solution
Exploring Operation: 25+72=97, Resulting Numbers: [97]
97,63 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
76,
72,
88,
6
] | 78 | [
"76-72=4",
"88-6=82",
"82-4=78"
] | Current State: 78:[76, 72, 88, 6], Operations: []
Exploring Operation: 76-72=4, Resulting Numbers: [88, 6, 4]
Generated Node #2: [88, 6, 4] from Operation: 76-72=4
Current State: 78:[88, 6, 4], Operations: ['76-72=4']
Exploring Operation: 88-6=82, Resulting Numbers: [4, 82]
Generated Node #3: [4, 82] from Operation: 88-6=82
Current State: 78:[4, 82], Operations: ['76-72=4', '88-6=82']
Exploring Operation: 82-4=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[76, 72, 88, 6], Operations: []
Exploring Operation: 88-72=16, Resulting Numbers: [76, 6, 16]
Generated Node #0,0: 78:[76, 6, 16] Operation: 88-72=16
Exploring Operation: 76-72=4, Resulting Numbers: [88, 6, 4]
Generated Node #0,1: 78:[88, 6, 4] Operation: 76-72=4
Exploring Operation: 88-76=12, Resulting Numbers: [72, 6, 12]
Generated Node #0,2: 78:[72, 6, 12] Operation: 88-76=12
Moving to Node #0,0
Current State: 78:[76, 6, 16], Operations: ['88-72=16']
Exploring Operation: 16-6=10, Resulting Numbers: [76, 10]
Generated Node #0,0,0: 78:[76, 10] Operation: 16-6=10
Exploring Operation: 6+16=22, Resulting Numbers: [76, 22]
Generated Node #0,0,1: 78:[76, 22] Operation: 6+16=22
Exploring Operation: 76+6=82, Resulting Numbers: [16, 82]
Generated Node #0,0,2: 78:[16, 82] Operation: 76+6=82
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 78:[76, 10], Operations: ['88-72=16', '16-6=10']
Exploring Operation: 76-10=66, Resulting Numbers: [66]
66,78 unequal: No Solution
Exploring Operation: 76*10=760, Resulting Numbers: [760]
760,78 unequal: No Solution
Exploring Operation: 76+10=86, Resulting Numbers: [86]
86,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 78:[76, 22], Operations: ['88-72=16', '6+16=22']
Exploring Operation: 76-22=54, Resulting Numbers: [54]
54,78 unequal: No Solution
Exploring Operation: 76*22=1672, Resulting Numbers: [1672]
1672,78 unequal: No Solution
Exploring Operation: 76+22=98, Resulting Numbers: [98]
98,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 78:[16, 82], Operations: ['88-72=16', '76+6=82']
Exploring Operation: 82-16=66, Resulting Numbers: [66]
66,78 unequal: No Solution
Exploring Operation: 16+82=98, Resulting Numbers: [98]
98,78 unequal: No Solution
Exploring Operation: 16*82=1312, Resulting Numbers: [1312]
1312,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 78:[72, 6, 12], Operations: ['88-76=12']
Exploring Operation: 72/12=6, Resulting Numbers: [6, 6]
Generated Node #0,2,0: 78:[6, 6] Operation: 72/12=6
Exploring Operation: 72/6=12, Resulting Numbers: [12, 12]
Generated Node #0,2,1: 78:[12, 12] Operation: 72/6=12
Exploring Operation: 72+6=78, Resulting Numbers: [12, 78]
Generated Node #0,2,2: 78:[12, 78] Operation: 72+6=78
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 78:[6, 6], Operations: ['88-76=12', '72/12=6']
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,78 unequal: No Solution
Exploring Operation: 6-6=0, Resulting Numbers: [0]
0,78 unequal: No Solution
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 78:[12, 78], Operations: ['88-76=12', '72+6=78']
Exploring Operation: 12*78=936, Resulting Numbers: [936]
936,78 unequal: No Solution
Exploring Operation: 78-12=66, Resulting Numbers: [66]
66,78 unequal: No Solution
Exploring Operation: 12+78=90, Resulting Numbers: [90]
90,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 78:[12, 12], Operations: ['88-76=12', '72/6=12']
Exploring Operation: 12/12=1, Resulting Numbers: [1]
1,78 unequal: No Solution
Exploring Operation: 12+12=24, Resulting Numbers: [24]
24,78 unequal: No Solution
Exploring Operation: 12-12=0, Resulting Numbers: [0]
0,78 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: 78:[88, 6, 4], Operations: ['76-72=4']
Exploring Operation: 88-4=84, Resulting Numbers: [6, 84]
Generated Node #0,1,0: 78:[6, 84] Operation: 88-4=84
Exploring Operation: 88/4=22, Resulting Numbers: [6, 22]
Generated Node #0,1,1: 78:[6, 22] Operation: 88/4=22
Exploring Operation: 88-6=82, Resulting Numbers: [4, 82]
Generated Node #0,1,2: 78:[4, 82] Operation: 88-6=82
Moving to Node #0,1,1
Current State: 78:[6, 22], Operations: ['76-72=4', '88/4=22']
Exploring Operation: 6+22=28, Resulting Numbers: [28]
28,78 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,78 unequal: No Solution
Exploring Operation: 6*22=132, Resulting Numbers: [132]
132,78 unequal: No Solution
Moving to Node #0,1,2
Current State: 78:[4, 82], Operations: ['76-72=4', '88-6=82']
Exploring Operation: 4*82=328, Resulting Numbers: [328]
328,78 unequal: No Solution
Exploring Operation: 82-4=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[76, 72, 88, 6], Operations: []
Exploring Operation: 76-72=4, Resulting Numbers: [88, 6, 4]
Generated Node #0,1: 78:[88, 6, 4] Operation: 76-72=4
Moving to Node #0,1
Current State: 78:[88, 6, 4], Operations: ['76-72=4']
Exploring Operation: 88-6=82, Resulting Numbers: [4, 82]
Generated Node #0,1,2: 78:[4, 82] Operation: 88-6=82
Moving to Node #0,1,2
Current State: 78:[4, 82], Operations: ['76-72=4', '88-6=82']
Exploring Operation: 82-4=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 0.966146 | hs_3 | mult_heuristic |
[
37,
57,
3,
45
] | 89 | [
"37+45=82",
"57*3=171",
"171-82=89"
] | Current State: 89:[37, 57, 3, 45], Operations: []
Exploring Operation: 37+45=82, Resulting Numbers: [57, 3, 82]
Generated Node #2: [57, 3, 82] from Operation: 37+45=82
Current State: 89:[57, 3, 82], Operations: ['37+45=82']
Exploring Operation: 57*3=171, Resulting Numbers: [82, 171]
Generated Node #3: [82, 171] from Operation: 57*3=171
Current State: 89:[82, 171], Operations: ['37+45=82', '57*3=171']
Exploring Operation: 171-82=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[37, 57, 3, 45], Operations: []
Exploring Operation: 37*3=111, Resulting Numbers: [57, 45, 111]
Generated Node #0,0: 89:[57, 45, 111] Operation: 37*3=111
Moving to Node #0,0
Current State: 89:[57, 45, 111], Operations: ['37*3=111']
Exploring Operation: 57+45=102, Resulting Numbers: [111, 102]
Generated Node #0,0,0: 89:[111, 102] Operation: 57+45=102
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[111, 102], Operations: ['37*3=111', '57+45=102']
Exploring Operation: 111-102=9, Resulting Numbers: [9]
9,89 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.