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 |
|---|---|---|---|---|---|---|---|---|
[
86,
11,
46,
2
] | 17 | [
"86-11=75",
"46*2=92",
"92-75=17"
] | Current State: 17:[86, 11, 46, 2], Operations: []
Exploring Operation: 86-11=75, Resulting Numbers: [46, 2, 75]
Generated Node #2: [46, 2, 75] from Operation: 86-11=75
Current State: 17:[46, 2, 75], Operations: ['86-11=75']
Exploring Operation: 46*2=92, Resulting Numbers: [75, 92]
Generated Node #3: [75, 92] from Operation: 46*2=92
Current State: 17:[75, 92], Operations: ['86-11=75', '46*2=92']
Exploring Operation: 92-75=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[86, 11, 46, 2], Operations: []
Exploring Operation: 46/2=23, Resulting Numbers: [86, 11, 23]
Generated Node #0,0: 17:[86, 11, 23] Operation: 46/2=23
Exploring Operation: 86-46=40, Resulting Numbers: [11, 2, 40]
Generated Node #0,1: 17:[11, 2, 40] Operation: 86-46=40
Exploring Operation: 86/2=43, Resulting Numbers: [11, 46, 43]
Generated Node #0,2: 17:[11, 46, 43] Operation: 86/2=43
Start Sub Search at level 1: Moving to Node #0,1
Current State: 17:[11, 2, 40], Operations: ['86-46=40']
Exploring Operation: 40-11=29, Resulting Numbers: [2, 29]
Generated Node #0,1,0: 17:[2, 29] Operation: 40-11=29
Exploring Operation: 11+2=13, Resulting Numbers: [40, 13]
Generated Node #0,1,1: 17:[40, 13] Operation: 11+2=13
Exploring Operation: 40/2=20, Resulting Numbers: [11, 20]
Generated Node #0,1,2: 17:[11, 20] Operation: 40/2=20
Moving to Node #0,1,2
Current State: 17:[11, 20], Operations: ['86-46=40', '40/2=20']
Exploring Operation: 11*20=220, Resulting Numbers: [220]
220,17 unequal: No Solution
Exploring Operation: 11+20=31, Resulting Numbers: [31]
31,17 unequal: No Solution
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,17 unequal: No Solution
Moving to Node #0,1,0
Current State: 17:[2, 29], Operations: ['86-46=40', '40-11=29']
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,17 unequal: No Solution
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,17 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,17 unequal: No Solution
Moving to Node #0,1,1
Current State: 17:[40, 13], Operations: ['86-46=40', '11+2=13']
Exploring Operation: 40*13=520, Resulting Numbers: [520]
520,17 unequal: No Solution
Exploring Operation: 40-13=27, Resulting Numbers: [27]
27,17 unequal: No Solution
Exploring Operation: 40+13=53, Resulting Numbers: [53]
53,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 17:[11, 46, 43], Operations: ['86/2=43']
Exploring Operation: 43-11=32, Resulting Numbers: [46, 32]
Generated Node #0,2,0: 17:[46, 32] Operation: 43-11=32
Exploring Operation: 46-11=35, Resulting Numbers: [43, 35]
Generated Node #0,2,1: 17:[43, 35] Operation: 46-11=35
Exploring Operation: 46-43=3, Resulting Numbers: [11, 3]
Generated Node #0,2,2: 17:[11, 3] Operation: 46-43=3
Moving to Node #0,2,2
Current State: 17:[11, 3], Operations: ['86/2=43', '46-43=3']
Exploring Operation: 11*3=33, Resulting Numbers: [33]
33,17 unequal: No Solution
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,17 unequal: No Solution
Exploring Operation: 11+3=14, Resulting Numbers: [14]
14,17 unequal: No Solution
Moving to Node #0,2,0
Current State: 17:[46, 32], Operations: ['86/2=43', '43-11=32']
Exploring Operation: 46*32=1472, Resulting Numbers: [1472]
1472,17 unequal: No Solution
Exploring Operation: 46-32=14, Resulting Numbers: [14]
14,17 unequal: No Solution
Exploring Operation: 46+32=78, Resulting Numbers: [78]
78,17 unequal: No Solution
Moving to Node #0,2,1
Current State: 17:[43, 35], Operations: ['86/2=43', '46-11=35']
Exploring Operation: 43-35=8, Resulting Numbers: [8]
8,17 unequal: No Solution
Exploring Operation: 43+35=78, Resulting Numbers: [78]
78,17 unequal: No Solution
Exploring Operation: 43*35=1505, Resulting Numbers: [1505]
1505,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[86, 11, 23], Operations: ['46/2=23']
Exploring Operation: 86-11=75, Resulting Numbers: [23, 75]
Generated Node #0,0,0: 17:[23, 75] Operation: 86-11=75
Exploring Operation: 86-23=63, Resulting Numbers: [11, 63]
Generated Node #0,0,1: 17:[11, 63] Operation: 86-23=63
Exploring Operation: 23-11=12, Resulting Numbers: [86, 12]
Generated Node #0,0,2: 17:[86, 12] Operation: 23-11=12
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 17:[11, 63], Operations: ['46/2=23', '86-23=63']
Exploring Operation: 63-11=52, Resulting Numbers: [52]
52,17 unequal: No Solution
Exploring Operation: 11*63=693, Resulting Numbers: [693]
693,17 unequal: No Solution
Exploring Operation: 11+63=74, Resulting Numbers: [74]
74,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 17:[23, 75], Operations: ['46/2=23', '86-11=75']
Exploring Operation: 23+75=98, Resulting Numbers: [98]
98,17 unequal: No Solution
Exploring Operation: 23*75=1725, Resulting Numbers: [1725]
1725,17 unequal: No Solution
Exploring Operation: 75-23=52, Resulting Numbers: [52]
52,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 17:[86, 12], Operations: ['46/2=23', '23-11=12']
Exploring Operation: 86*12=1032, Resulting Numbers: [1032]
1032,17 unequal: No Solution
Exploring Operation: 86-12=74, Resulting Numbers: [74]
74,17 unequal: No Solution
Exploring Operation: 86+12=98, Resulting Numbers: [98]
98,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
15,
23,
32,
68
] | 96 | [
"68-23=45",
"45/15=3",
"32*3=96"
] | Current State: 96:[15, 23, 32, 68], Operations: []
Exploring Operation: 68-23=45, Resulting Numbers: [15, 32, 45]
Generated Node #2: [15, 32, 45] from Operation: 68-23=45
Current State: 96:[15, 32, 45], Operations: ['68-23=45']
Exploring Operation: 45/15=3, Resulting Numbers: [32, 3]
Generated Node #3: [32, 3] from Operation: 45/15=3
Current State: 96:[32, 3], Operations: ['68-23=45', '45/15=3']
Exploring Operation: 32*3=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[15, 23, 32, 68], Operations: []
Exploring Operation: 68-32=36, Resulting Numbers: [15, 23, 36]
Generated Node #0,0: 96:[15, 23, 36] Operation: 68-32=36
Exploring Operation: 32+68=100, Resulting Numbers: [15, 23, 100]
Generated Node #0,1: 96:[15, 23, 100] Operation: 32+68=100
Exploring Operation: 68-15=53, Resulting Numbers: [23, 32, 53]
Generated Node #0,2: 96:[23, 32, 53] Operation: 68-15=53
Exploring Operation: 68-23=45, Resulting Numbers: [15, 32, 45]
Generated Node #0,3: 96:[15, 32, 45] Operation: 68-23=45
Exploring Operation: 23+68=91, Resulting Numbers: [15, 32, 91]
Generated Node #0,4: 96:[15, 32, 91] Operation: 23+68=91
Moving to Node #0,3
Current State: 96:[15, 32, 45], Operations: ['68-23=45']
Exploring Operation: 32-15=17, Resulting Numbers: [45, 17]
Generated Node #0,3,0: 96:[45, 17] Operation: 32-15=17
Exploring Operation: 45/15=3, Resulting Numbers: [32, 3]
Generated Node #0,3,1: 96:[32, 3] Operation: 45/15=3
Exploring Operation: 45-15=30, Resulting Numbers: [32, 30]
Generated Node #0,3,2: 96:[32, 30] Operation: 45-15=30
Exploring Operation: 45-32=13, Resulting Numbers: [15, 13]
Generated Node #0,3,3: 96:[15, 13] Operation: 45-32=13
Exploring Operation: 15+32=47, Resulting Numbers: [45, 47]
Generated Node #0,3,4: 96:[45, 47] Operation: 15+32=47
Moving to Node #0,1
Current State: 96:[15, 23, 100], Operations: ['32+68=100']
Exploring Operation: 15+100=115, Resulting Numbers: [23, 115]
Generated Node #0,1,0: 96:[23, 115] Operation: 15+100=115
Exploring Operation: 23-15=8, Resulting Numbers: [100, 8]
Generated Node #0,1,1: 96:[100, 8] Operation: 23-15=8
Exploring Operation: 15+23=38, Resulting Numbers: [100, 38]
Generated Node #0,1,2: 96:[100, 38] Operation: 15+23=38
Exploring Operation: 100-23=77, Resulting Numbers: [15, 77]
Generated Node #0,1,3: 96:[15, 77] Operation: 100-23=77
Exploring Operation: 100-15=85, Resulting Numbers: [23, 85]
Generated Node #0,1,4: 96:[23, 85] Operation: 100-15=85
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 96:[100, 8], Operations: ['32+68=100', '23-15=8']
Exploring Operation: 100-8=92, Resulting Numbers: [92]
92,96 unequal: No Solution
Exploring Operation: 100+8=108, Resulting Numbers: [108]
108,96 unequal: No Solution
Exploring Operation: 100*8=800, Resulting Numbers: [800]
800,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 96:[100, 38], Operations: ['32+68=100', '15+23=38']
Exploring Operation: 100*38=3800, Resulting Numbers: [3800]
3800,96 unequal: No Solution
Exploring Operation: 100-38=62, Resulting Numbers: [62]
62,96 unequal: No Solution
Exploring Operation: 100+38=138, Resulting Numbers: [138]
138,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 96:[23, 85], Operations: ['32+68=100', '100-15=85']
Exploring Operation: 23+85=108, Resulting Numbers: [108]
108,96 unequal: No Solution
Exploring Operation: 85-23=62, Resulting Numbers: [62]
62,96 unequal: No Solution
Exploring Operation: 23*85=1955, Resulting Numbers: [1955]
1955,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 96:[23, 115], Operations: ['32+68=100', '15+100=115']
Exploring Operation: 115/23=5, Resulting Numbers: [5]
5,96 unequal: No Solution
Exploring Operation: 23+115=138, Resulting Numbers: [138]
138,96 unequal: No Solution
Exploring Operation: 115-23=92, Resulting Numbers: [92]
92,96 unequal: No Solution
Exploring Operation: 23*115=2645, Resulting Numbers: [2645]
2645,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 96:[15, 77], Operations: ['32+68=100', '100-23=77']
Exploring Operation: 15*77=1155, Resulting Numbers: [1155]
1155,96 unequal: No Solution
Exploring Operation: 77-15=62, Resulting Numbers: [62]
62,96 unequal: No Solution
Exploring Operation: 15+77=92, Resulting Numbers: [92]
92,96 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: 96:[15, 32, 91], Operations: ['23+68=91']
Exploring Operation: 15+91=106, Resulting Numbers: [32, 106]
Generated Node #0,4,0: 96:[32, 106] Operation: 15+91=106
Exploring Operation: 32-15=17, Resulting Numbers: [91, 17]
Generated Node #0,4,1: 96:[91, 17] Operation: 32-15=17
Exploring Operation: 91-15=76, Resulting Numbers: [32, 76]
Generated Node #0,4,2: 96:[32, 76] Operation: 91-15=76
Exploring Operation: 15+32=47, Resulting Numbers: [91, 47]
Generated Node #0,4,3: 96:[91, 47] Operation: 15+32=47
Exploring Operation: 91-32=59, Resulting Numbers: [15, 59]
Generated Node #0,4,4: 96:[15, 59] Operation: 91-32=59
Moving to Node #0,0
Current State: 96:[15, 23, 36], Operations: ['68-32=36']
Exploring Operation: 15+36=51, Resulting Numbers: [23, 51]
Generated Node #0,0,0: 96:[23, 51] Operation: 15+36=51
Exploring Operation: 36-15=21, Resulting Numbers: [23, 21]
Generated Node #0,0,1: 96:[23, 21] Operation: 36-15=21
Exploring Operation: 15+23=38, Resulting Numbers: [36, 38]
Generated Node #0,0,2: 96:[36, 38] Operation: 15+23=38
Exploring Operation: 36-23=13, Resulting Numbers: [15, 13]
Generated Node #0,0,3: 96:[15, 13] Operation: 36-23=13
Exploring Operation: 23-15=8, Resulting Numbers: [36, 8]
Generated Node #0,0,4: 96:[36, 8] Operation: 23-15=8
Moving to Node #0,2
Current State: 96:[23, 32, 53], Operations: ['68-15=53']
Exploring Operation: 32-23=9, Resulting Numbers: [53, 9]
Generated Node #0,2,0: 96:[53, 9] Operation: 32-23=9
Exploring Operation: 23+32=55, Resulting Numbers: [53, 55]
Generated Node #0,2,1: 96:[53, 55] Operation: 23+32=55
Exploring Operation: 53-32=21, Resulting Numbers: [23, 21]
Generated Node #0,2,2: 96:[23, 21] Operation: 53-32=21
Exploring Operation: 53-23=30, Resulting Numbers: [32, 30]
Generated Node #0,2,3: 96:[32, 30] Operation: 53-23=30
Exploring Operation: 32+53=85, Resulting Numbers: [23, 85]
Generated Node #0,2,4: 96:[23, 85] Operation: 32+53=85
Moving to Node #0,3,1
Current State: 96:[32, 3], Operations: ['68-23=45', '45/15=3']
Exploring Operation: 32+3=35, Resulting Numbers: [35]
35,96 unequal: No Solution
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,96 unequal: No Solution
Exploring Operation: 32*3=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[15, 23, 32, 68], Operations: []
Exploring Operation: 68-23=45, Resulting Numbers: [15, 32, 45]
Generated Node #0,3: 96:[15, 32, 45] Operation: 68-23=45
Moving to Node #0,3
Current State: 96:[15, 32, 45], Operations: ['68-23=45']
Exploring Operation: 45/15=3, Resulting Numbers: [32, 3]
Generated Node #0,3,1: 96:[32, 3] Operation: 45/15=3
Moving to Node #0,3,1
Current State: 96:[32, 3], Operations: ['68-23=45', '45/15=3']
Exploring Operation: 32*3=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 0.953993 | hs_5 | sum_heuristic |
[
89,
70,
60,
91
] | 40 | [
"91-89=2",
"60/2=30",
"70-30=40"
] | Current State: 40:[89, 70, 60, 91], Operations: []
Exploring Operation: 91-89=2, Resulting Numbers: [70, 60, 2]
Generated Node #2: [70, 60, 2] from Operation: 91-89=2
Current State: 40:[70, 60, 2], Operations: ['91-89=2']
Exploring Operation: 60/2=30, Resulting Numbers: [70, 30]
Generated Node #3: [70, 30] from Operation: 60/2=30
Current State: 40:[70, 30], Operations: ['91-89=2', '60/2=30']
Exploring Operation: 70-30=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[89, 70, 60, 91], Operations: []
Exploring Operation: 91-89=2, Resulting Numbers: [70, 60, 2]
Generated Node #0,0: 40:[70, 60, 2] Operation: 91-89=2
Exploring Operation: 91-70=21, Resulting Numbers: [89, 60, 21]
Generated Node #0,1: 40:[89, 60, 21] Operation: 91-70=21
Moving to Node #0,0
Current State: 40:[70, 60, 2], Operations: ['91-89=2']
Exploring Operation: 70-60=10, Resulting Numbers: [2, 10]
Generated Node #0,0,0: 40:[2, 10] Operation: 70-60=10
Exploring Operation: 70/2=35, Resulting Numbers: [60, 35]
Generated Node #0,0,1: 40:[60, 35] Operation: 70/2=35
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 40:[2, 10], Operations: ['91-89=2', '70-60=10']
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,40 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,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,0,1
Current State: 40:[60, 35], Operations: ['91-89=2', '70/2=35']
Exploring Operation: 60+35=95, Resulting Numbers: [95]
95,40 unequal: No Solution
Exploring Operation: 60-35=25, Resulting Numbers: [25]
25,40 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: 40:[89, 60, 21], Operations: ['91-70=21']
Exploring Operation: 89-60=29, Resulting Numbers: [21, 29]
Generated Node #0,1,0: 40:[21, 29] Operation: 89-60=29
Exploring Operation: 89-21=68, Resulting Numbers: [60, 68]
Generated Node #0,1,1: 40:[60, 68] Operation: 89-21=68
Moving to Node #0,1,0
Current State: 40:[21, 29], Operations: ['91-70=21', '89-60=29']
Exploring Operation: 29-21=8, Resulting Numbers: [8]
8,40 unequal: No Solution
Exploring Operation: 21+29=50, Resulting Numbers: [50]
50,40 unequal: No Solution
Moving to Node #0,1,1
Current State: 40:[60, 68], Operations: ['91-70=21', '89-21=68']
Exploring Operation: 60+68=128, Resulting Numbers: [128]
128,40 unequal: No Solution
Exploring Operation: 68-60=8, Resulting Numbers: [8]
8,40 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
99,
31,
97,
39
] | 26 | [
"97-31=66",
"39*66=2574",
"2574/99=26"
] | Current State: 26:[99, 31, 97, 39], Operations: []
Exploring Operation: 97-31=66, Resulting Numbers: [99, 39, 66]
Generated Node #2: [99, 39, 66] from Operation: 97-31=66
Current State: 26:[99, 39, 66], Operations: ['97-31=66']
Exploring Operation: 39*66=2574, Resulting Numbers: [99, 2574]
Generated Node #3: [99, 2574] from Operation: 39*66=2574
Current State: 26:[99, 2574], Operations: ['97-31=66', '39*66=2574']
Exploring Operation: 2574/99=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[99, 31, 97, 39], Operations: []
Exploring Operation: 99-97=2, Resulting Numbers: [31, 39, 2]
Generated Node #0,0: 26:[31, 39, 2] Operation: 99-97=2
Moving to Node #0,0
Current State: 26:[31, 39, 2], Operations: ['99-97=2']
Exploring Operation: 39-31=8, Resulting Numbers: [2, 8]
Generated Node #0,0,0: 26:[2, 8] Operation: 39-31=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 26:[2, 8], Operations: ['99-97=2', '39-31=8']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,26 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 |
[
59,
7,
27,
4
] | 43 | [
"59+7=66",
"27-4=23",
"66-23=43"
] | Current State: 43:[59, 7, 27, 4], Operations: []
Exploring Operation: 59+7=66, Resulting Numbers: [27, 4, 66]
Generated Node #2: [27, 4, 66] from Operation: 59+7=66
Current State: 43:[27, 4, 66], Operations: ['59+7=66']
Exploring Operation: 27-4=23, Resulting Numbers: [66, 23]
Generated Node #3: [66, 23] from Operation: 27-4=23
Current State: 43:[66, 23], Operations: ['59+7=66', '27-4=23']
Exploring Operation: 66-23=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[59, 7, 27, 4], Operations: []
Exploring Operation: 59-4=55, Resulting Numbers: [7, 27, 55]
Generated Node #0,0: 43:[7, 27, 55] Operation: 59-4=55
Exploring Operation: 7+27=34, Resulting Numbers: [59, 4, 34]
Generated Node #0,1: 43:[59, 4, 34] Operation: 7+27=34
Exploring Operation: 7*4=28, Resulting Numbers: [59, 27, 28]
Generated Node #0,2: 43:[59, 27, 28] Operation: 7*4=28
Exploring Operation: 59-7=52, Resulting Numbers: [27, 4, 52]
Generated Node #0,3: 43:[27, 4, 52] Operation: 59-7=52
Exploring Operation: 7+4=11, Resulting Numbers: [59, 27, 11]
Generated Node #0,4: 43:[59, 27, 11] Operation: 7+4=11
Moving to Node #0,2
Current State: 43:[59, 27, 28], Operations: ['7*4=28']
Exploring Operation: 59-27=32, Resulting Numbers: [28, 32]
Generated Node #0,2,0: 43:[28, 32] Operation: 59-27=32
Exploring Operation: 59+27=86, Resulting Numbers: [28, 86]
Generated Node #0,2,1: 43:[28, 86] Operation: 59+27=86
Exploring Operation: 28-27=1, Resulting Numbers: [59, 1]
Generated Node #0,2,2: 43:[59, 1] Operation: 28-27=1
Exploring Operation: 59-28=31, Resulting Numbers: [27, 31]
Generated Node #0,2,3: 43:[27, 31] Operation: 59-28=31
Exploring Operation: 27+28=55, Resulting Numbers: [59, 55]
Generated Node #0,2,4: 43:[59, 55] Operation: 27+28=55
Moving to Node #0,1
Current State: 43:[59, 4, 34], Operations: ['7+27=34']
Exploring Operation: 4+34=38, Resulting Numbers: [59, 38]
Generated Node #0,1,0: 43:[59, 38] Operation: 4+34=38
Exploring Operation: 34-4=30, Resulting Numbers: [59, 30]
Generated Node #0,1,1: 43:[59, 30] Operation: 34-4=30
Exploring Operation: 59+4=63, Resulting Numbers: [34, 63]
Generated Node #0,1,2: 43:[34, 63] Operation: 59+4=63
Exploring Operation: 59-4=55, Resulting Numbers: [34, 55]
Generated Node #0,1,3: 43:[34, 55] Operation: 59-4=55
Exploring Operation: 59-34=25, Resulting Numbers: [4, 25]
Generated Node #0,1,4: 43:[4, 25] Operation: 59-34=25
Moving to Node #0,4
Current State: 43:[59, 27, 11], Operations: ['7+4=11']
Exploring Operation: 59-27=32, Resulting Numbers: [11, 32]
Generated Node #0,4,0: 43:[11, 32] Operation: 59-27=32
Exploring Operation: 27-11=16, Resulting Numbers: [59, 16]
Generated Node #0,4,1: 43:[59, 16] Operation: 27-11=16
Exploring Operation: 27+11=38, Resulting Numbers: [59, 38]
Generated Node #0,4,2: 43:[59, 38] Operation: 27+11=38
Exploring Operation: 59-11=48, Resulting Numbers: [27, 48]
Generated Node #0,4,3: 43:[27, 48] Operation: 59-11=48
Exploring Operation: 59+11=70, Resulting Numbers: [27, 70]
Generated Node #0,4,4: 43:[27, 70] Operation: 59+11=70
Moving to Node #0,0
Current State: 43:[7, 27, 55], Operations: ['59-4=55']
Exploring Operation: 7+55=62, Resulting Numbers: [27, 62]
Generated Node #0,0,0: 43:[27, 62] Operation: 7+55=62
Exploring Operation: 55-7=48, Resulting Numbers: [27, 48]
Generated Node #0,0,1: 43:[27, 48] Operation: 55-7=48
Exploring Operation: 7+27=34, Resulting Numbers: [55, 34]
Generated Node #0,0,2: 43:[55, 34] Operation: 7+27=34
Exploring Operation: 55-27=28, Resulting Numbers: [7, 28]
Generated Node #0,0,3: 43:[7, 28] Operation: 55-27=28
Exploring Operation: 27-7=20, Resulting Numbers: [55, 20]
Generated Node #0,0,4: 43:[55, 20] Operation: 27-7=20
Moving to Node #0,3
Current State: 43:[27, 4, 52], Operations: ['59-7=52']
Exploring Operation: 52-4=48, Resulting Numbers: [27, 48]
Generated Node #0,3,0: 43:[27, 48] Operation: 52-4=48
Exploring Operation: 27+4=31, Resulting Numbers: [52, 31]
Generated Node #0,3,1: 43:[52, 31] Operation: 27+4=31
Exploring Operation: 4+52=56, Resulting Numbers: [27, 56]
Generated Node #0,3,2: 43:[27, 56] Operation: 4+52=56
Exploring Operation: 52/4=13, Resulting Numbers: [27, 13]
Generated Node #0,3,3: 43:[27, 13] Operation: 52/4=13
Exploring Operation: 27-4=23, Resulting Numbers: [52, 23]
Generated Node #0,3,4: 43:[52, 23] Operation: 27-4=23
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 43:[27, 48], Operations: ['59-7=52', '52-4=48']
Exploring Operation: 27+48=75, Resulting Numbers: [75]
75,43 unequal: No Solution
Exploring Operation: 27*48=1296, Resulting Numbers: [1296]
1296,43 unequal: No Solution
Exploring Operation: 48-27=21, Resulting Numbers: [21]
21,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 43:[52, 31], Operations: ['59-7=52', '27+4=31']
Exploring Operation: 52+31=83, Resulting Numbers: [83]
83,43 unequal: No Solution
Exploring Operation: 52*31=1612, Resulting Numbers: [1612]
1612,43 unequal: No Solution
Exploring Operation: 52-31=21, Resulting Numbers: [21]
21,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 43:[27, 56], Operations: ['59-7=52', '4+52=56']
Exploring Operation: 56-27=29, Resulting Numbers: [29]
29,43 unequal: No Solution
Exploring Operation: 27+56=83, Resulting Numbers: [83]
83,43 unequal: No Solution
Exploring Operation: 27*56=1512, Resulting Numbers: [1512]
1512,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 43:[52, 23], Operations: ['59-7=52', '27-4=23']
Exploring Operation: 52-23=29, Resulting Numbers: [29]
29,43 unequal: No Solution
Exploring Operation: 52+23=75, Resulting Numbers: [75]
75,43 unequal: No Solution
Exploring Operation: 52*23=1196, Resulting Numbers: [1196]
1196,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 43:[27, 13], Operations: ['59-7=52', '52/4=13']
Exploring Operation: 27+13=40, Resulting Numbers: [40]
40,43 unequal: No Solution
Exploring Operation: 27*13=351, Resulting Numbers: [351]
351,43 unequal: No Solution
Exploring Operation: 27-13=14, Resulting Numbers: [14]
14,43 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: 43:[59, 38], Operations: ['7+27=34', '4+34=38']
Exploring Operation: 59+38=97, Resulting Numbers: [97]
97,43 unequal: No Solution
Exploring Operation: 59*38=2242, Resulting Numbers: [2242]
2242,43 unequal: No Solution
Exploring Operation: 59-38=21, Resulting Numbers: [21]
21,43 unequal: No Solution
Moving to Node #0,1,3
Current State: 43:[34, 55], Operations: ['7+27=34', '59-4=55']
Exploring Operation: 34*55=1870, Resulting Numbers: [1870]
1870,43 unequal: No Solution
Exploring Operation: 55-34=21, Resulting Numbers: [21]
21,43 unequal: No Solution
Exploring Operation: 34+55=89, Resulting Numbers: [89]
89,43 unequal: No Solution
Moving to Node #0,4,3
Current State: 43:[27, 48], Operations: ['7+4=11', '59-11=48']
Exploring Operation: 48-27=21, Resulting Numbers: [21]
21,43 unequal: No Solution
Exploring Operation: 27+48=75, Resulting Numbers: [75]
75,43 unequal: No Solution
Exploring Operation: 27*48=1296, Resulting Numbers: [1296]
1296,43 unequal: No Solution
Moving to Node #0,4,2
Current State: 43:[59, 38], Operations: ['7+4=11', '27+11=38']
Exploring Operation: 59+38=97, Resulting Numbers: [97]
97,43 unequal: No Solution
Exploring Operation: 59-38=21, Resulting Numbers: [21]
21,43 unequal: No Solution
Exploring Operation: 59*38=2242, Resulting Numbers: [2242]
2242,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[27, 48], Operations: ['59-4=55', '55-7=48']
Exploring Operation: 27+48=75, Resulting Numbers: [75]
75,43 unequal: No Solution
Exploring Operation: 48-27=21, Resulting Numbers: [21]
21,43 unequal: No Solution
Exploring Operation: 27*48=1296, Resulting Numbers: [1296]
1296,43 unequal: No Solution
Moving to Node #0,0,2
Current State: 43:[55, 34], Operations: ['59-4=55', '7+27=34']
Exploring Operation: 55-34=21, Resulting Numbers: [21]
21,43 unequal: No Solution
Exploring Operation: 55*34=1870, Resulting Numbers: [1870]
1870,43 unequal: No Solution
Exploring Operation: 55+34=89, Resulting Numbers: [89]
89,43 unequal: No Solution
Moving to Node #0,2,0
Current State: 43:[28, 32], Operations: ['7*4=28', '59-27=32']
Exploring Operation: 28*32=896, Resulting Numbers: [896]
896,43 unequal: No Solution
Exploring Operation: 28+32=60, Resulting Numbers: [60]
60,43 unequal: No Solution
Exploring Operation: 32-28=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Moving to Node #0,2,4
Current State: 43:[59, 55], Operations: ['7*4=28', '27+28=55']
Exploring Operation: 59-55=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 59+55=114, Resulting Numbers: [114]
114,43 unequal: No Solution
Exploring Operation: 59*55=3245, Resulting Numbers: [3245]
3245,43 unequal: No Solution
Moving to Node #0,2,3
Current State: 43:[27, 31], Operations: ['7*4=28', '59-28=31']
Exploring Operation: 27+31=58, Resulting Numbers: [58]
58,43 unequal: No Solution
Exploring Operation: 31-27=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 27*31=837, Resulting Numbers: [837]
837,43 unequal: No Solution
Moving to Node #0,1,2
Current State: 43:[34, 63], Operations: ['7+27=34', '59+4=63']
Exploring Operation: 34+63=97, Resulting Numbers: [97]
97,43 unequal: No Solution
Exploring Operation: 63-34=29, Resulting Numbers: [29]
29,43 unequal: No Solution
Exploring Operation: 34*63=2142, Resulting Numbers: [2142]
2142,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[59, 30], Operations: ['7+27=34', '34-4=30']
Exploring Operation: 59+30=89, Resulting Numbers: [89]
89,43 unequal: No Solution
Exploring Operation: 59*30=1770, Resulting Numbers: [1770]
1770,43 unequal: No Solution
Exploring Operation: 59-30=29, Resulting Numbers: [29]
29,43 unequal: No Solution
Moving to Node #0,0,4
Current State: 43:[55, 20], Operations: ['59-4=55', '27-7=20']
Exploring Operation: 55+20=75, Resulting Numbers: [75]
75,43 unequal: No Solution
Exploring Operation: 55-20=35, Resulting Numbers: [35]
35,43 unequal: No Solution
Exploring Operation: 55*20=1100, Resulting Numbers: [1100]
1100,43 unequal: No Solution
Moving to Node #0,0,0
Current State: 43:[27, 62], Operations: ['59-4=55', '7+55=62']
Exploring Operation: 27*62=1674, Resulting Numbers: [1674]
1674,43 unequal: No Solution
Exploring Operation: 62-27=35, Resulting Numbers: [35]
35,43 unequal: No Solution
Exploring Operation: 27+62=89, Resulting Numbers: [89]
89,43 unequal: No Solution
Moving to Node #0,4,1
Current State: 43:[59, 16], Operations: ['7+4=11', '27-11=16']
Exploring Operation: 59*16=944, Resulting Numbers: [944]
944,43 unequal: No Solution
Exploring Operation: 59-16=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[59, 7, 27, 4], Operations: []
Exploring Operation: 7+4=11, Resulting Numbers: [59, 27, 11]
Generated Node #0,4: 43:[59, 27, 11] Operation: 7+4=11
Moving to Node #0,4
Current State: 43:[59, 27, 11], Operations: ['7+4=11']
Exploring Operation: 27-11=16, Resulting Numbers: [59, 16]
Generated Node #0,4,1: 43:[59, 16] Operation: 27-11=16
Moving to Node #0,4,1
Current State: 43:[59, 16], Operations: ['7+4=11', '27-11=16']
Exploring Operation: 59-16=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 0.921875 | hs_5 | sum_heuristic |
[
36,
12,
54,
29
] | 23 | [
"36+12=48",
"54-29=25",
"48-25=23"
] | Current State: 23:[36, 12, 54, 29], Operations: []
Exploring Operation: 36+12=48, Resulting Numbers: [54, 29, 48]
Generated Node #2: [54, 29, 48] from Operation: 36+12=48
Current State: 23:[54, 29, 48], Operations: ['36+12=48']
Exploring Operation: 54-29=25, Resulting Numbers: [48, 25]
Generated Node #3: [48, 25] from Operation: 54-29=25
Current State: 23:[48, 25], Operations: ['36+12=48', '54-29=25']
Exploring Operation: 48-25=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[36, 12, 54, 29], Operations: []
Exploring Operation: 54-29=25, Resulting Numbers: [36, 12, 25]
Generated Node #0,0: 23:[36, 12, 25] Operation: 54-29=25
Exploring Operation: 54-36=18, Resulting Numbers: [12, 29, 18]
Generated Node #0,1: 23:[12, 29, 18] Operation: 54-36=18
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[12, 29, 18], Operations: ['54-36=18']
Exploring Operation: 29-12=17, Resulting Numbers: [18, 17]
Generated Node #0,1,0: 23:[18, 17] Operation: 29-12=17
Exploring Operation: 12+18=30, Resulting Numbers: [29, 30]
Generated Node #0,1,1: 23:[29, 30] Operation: 12+18=30
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 23:[18, 17], Operations: ['54-36=18', '29-12=17']
Exploring Operation: 18-17=1, Resulting Numbers: [1]
1,23 unequal: No Solution
Exploring Operation: 18+17=35, Resulting Numbers: [35]
35,23 unequal: No Solution
No 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: 23:[29, 30], Operations: ['54-36=18', '12+18=30']
Exploring Operation: 30-29=1, Resulting Numbers: [1]
1,23 unequal: No Solution
Exploring Operation: 29+30=59, Resulting Numbers: [59]
59,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[36, 12, 25], Operations: ['54-29=25']
Exploring Operation: 36/12=3, Resulting Numbers: [25, 3]
Generated Node #0,0,0: 23:[25, 3] Operation: 36/12=3
Exploring Operation: 36-12=24, Resulting Numbers: [25, 24]
Generated Node #0,0,1: 23:[25, 24] Operation: 36-12=24
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 23:[25, 24], Operations: ['54-29=25', '36-12=24']
Exploring Operation: 25+24=49, Resulting Numbers: [49]
49,23 unequal: No Solution
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,23 unequal: No Solution
No 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: 23:[25, 3], Operations: ['54-29=25', '36/12=3']
Exploring Operation: 25+3=28, Resulting Numbers: [28]
28,23 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
3,
9,
60,
36
] | 67 | [
"3+60=63",
"36/9=4",
"63+4=67"
] | Current State: 67:[3, 9, 60, 36], Operations: []
Exploring Operation: 3+60=63, Resulting Numbers: [9, 36, 63]
Generated Node #2: [9, 36, 63] from Operation: 3+60=63
Current State: 67:[9, 36, 63], Operations: ['3+60=63']
Exploring Operation: 36/9=4, Resulting Numbers: [63, 4]
Generated Node #3: [63, 4] from Operation: 36/9=4
Current State: 67:[63, 4], Operations: ['3+60=63', '36/9=4']
Exploring Operation: 63+4=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[3, 9, 60, 36], Operations: []
Exploring Operation: 3+9=12, Resulting Numbers: [60, 36, 12]
Generated Node #0,0: 67:[60, 36, 12] Operation: 3+9=12
Exploring Operation: 3+36=39, Resulting Numbers: [9, 60, 39]
Generated Node #0,1: 67:[9, 60, 39] Operation: 3+36=39
Exploring Operation: 3+60=63, Resulting Numbers: [9, 36, 63]
Generated Node #0,2: 67:[9, 36, 63] Operation: 3+60=63
Exploring Operation: 3*9=27, Resulting Numbers: [60, 36, 27]
Generated Node #0,3: 67:[60, 36, 27] Operation: 3*9=27
Start Sub Search at level 1: Moving to Node #0,3
Current State: 67:[60, 36, 27], Operations: ['3*9=27']
Exploring Operation: 36+27=63, Resulting Numbers: [60, 63]
Generated Node #0,3,0: 67:[60, 63] Operation: 36+27=63
Exploring Operation: 60+27=87, Resulting Numbers: [36, 87]
Generated Node #0,3,1: 67:[36, 87] Operation: 60+27=87
Exploring Operation: 60-27=33, Resulting Numbers: [36, 33]
Generated Node #0,3,2: 67:[36, 33] Operation: 60-27=33
Exploring Operation: 36-27=9, Resulting Numbers: [60, 9]
Generated Node #0,3,3: 67:[60, 9] Operation: 36-27=9
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 67:[60, 63], Operations: ['3*9=27', '36+27=63']
Exploring Operation: 60*63=3780, Resulting Numbers: [3780]
3780,67 unequal: No Solution
Exploring Operation: 60+63=123, Resulting Numbers: [123]
123,67 unequal: No Solution
Exploring Operation: 63-60=3, Resulting Numbers: [3]
3,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 67:[36, 87], Operations: ['3*9=27', '60+27=87']
Exploring Operation: 36*87=3132, Resulting Numbers: [3132]
3132,67 unequal: No Solution
Exploring Operation: 36+87=123, Resulting Numbers: [123]
123,67 unequal: No Solution
Exploring Operation: 87-36=51, Resulting Numbers: [51]
51,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 67:[36, 33], Operations: ['3*9=27', '60-27=33']
Exploring Operation: 36+33=69, Resulting Numbers: [69]
69,67 unequal: No Solution
Exploring Operation: 36*33=1188, Resulting Numbers: [1188]
1188,67 unequal: No Solution
Exploring Operation: 36-33=3, Resulting Numbers: [3]
3,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 67:[60, 9], Operations: ['3*9=27', '36-27=9']
Exploring Operation: 60+9=69, Resulting Numbers: [69]
69,67 unequal: No Solution
Exploring Operation: 60*9=540, Resulting Numbers: [540]
540,67 unequal: No Solution
Exploring Operation: 60-9=51, Resulting Numbers: [51]
51,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[60, 36, 12], Operations: ['3+9=12']
Exploring Operation: 36-12=24, Resulting Numbers: [60, 24]
Generated Node #0,0,0: 67:[60, 24] Operation: 36-12=24
Exploring Operation: 60+12=72, Resulting Numbers: [36, 72]
Generated Node #0,0,1: 67:[36, 72] Operation: 60+12=72
Exploring Operation: 60-12=48, Resulting Numbers: [36, 48]
Generated Node #0,0,2: 67:[36, 48] Operation: 60-12=48
Exploring Operation: 36+12=48, Resulting Numbers: [60, 48]
Generated Node #0,0,3: 67:[60, 48] Operation: 36+12=48
Moving to Node #0,0,3
Current State: 67:[60, 48], Operations: ['3+9=12', '36+12=48']
Exploring Operation: 60-48=12, Resulting Numbers: [12]
12,67 unequal: No Solution
Exploring Operation: 60+48=108, Resulting Numbers: [108]
108,67 unequal: No Solution
Exploring Operation: 60*48=2880, Resulting Numbers: [2880]
2880,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[36, 72], Operations: ['3+9=12', '60+12=72']
Exploring Operation: 72/36=2, Resulting Numbers: [2]
2,67 unequal: No Solution
Exploring Operation: 36*72=2592, Resulting Numbers: [2592]
2592,67 unequal: No Solution
Exploring Operation: 36+72=108, Resulting Numbers: [108]
108,67 unequal: No Solution
Exploring Operation: 72-36=36, Resulting Numbers: [36]
36,67 unequal: No Solution
Moving to Node #0,0,2
Current State: 67:[36, 48], Operations: ['3+9=12', '60-12=48']
Exploring Operation: 48-36=12, Resulting Numbers: [12]
12,67 unequal: No Solution
Exploring Operation: 36+48=84, Resulting Numbers: [84]
84,67 unequal: No Solution
Exploring Operation: 36*48=1728, Resulting Numbers: [1728]
1728,67 unequal: No Solution
Moving to Node #0,0,0
Current State: 67:[60, 24], Operations: ['3+9=12', '36-12=24']
Exploring Operation: 60*24=1440, Resulting Numbers: [1440]
1440,67 unequal: No Solution
Exploring Operation: 60+24=84, Resulting Numbers: [84]
84,67 unequal: No Solution
Exploring Operation: 60-24=36, Resulting Numbers: [36]
36,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[9, 60, 39], Operations: ['3+36=39']
Exploring Operation: 9+39=48, Resulting Numbers: [60, 48]
Generated Node #0,1,0: 67:[60, 48] Operation: 9+39=48
Exploring Operation: 9+60=69, Resulting Numbers: [39, 69]
Generated Node #0,1,1: 67:[39, 69] Operation: 9+60=69
Exploring Operation: 39-9=30, Resulting Numbers: [60, 30]
Generated Node #0,1,2: 67:[60, 30] Operation: 39-9=30
Exploring Operation: 60-9=51, Resulting Numbers: [39, 51]
Generated Node #0,1,3: 67:[39, 51] Operation: 60-9=51
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 67:[60, 48], Operations: ['3+36=39', '9+39=48']
Exploring Operation: 60+48=108, Resulting Numbers: [108]
108,67 unequal: No Solution
Exploring Operation: 60*48=2880, Resulting Numbers: [2880]
2880,67 unequal: No Solution
Exploring Operation: 60-48=12, Resulting Numbers: [12]
12,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 67:[39, 69], Operations: ['3+36=39', '9+60=69']
Exploring Operation: 69-39=30, Resulting Numbers: [30]
30,67 unequal: No Solution
Exploring Operation: 39*69=2691, Resulting Numbers: [2691]
2691,67 unequal: No Solution
Exploring Operation: 39+69=108, Resulting Numbers: [108]
108,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 67:[60, 30], Operations: ['3+36=39', '39-9=30']
Exploring Operation: 60-30=30, Resulting Numbers: [30]
30,67 unequal: No Solution
Exploring Operation: 60*30=1800, Resulting Numbers: [1800]
1800,67 unequal: No Solution
Exploring Operation: 60/30=2, Resulting Numbers: [2]
2,67 unequal: No Solution
Exploring Operation: 60+30=90, Resulting Numbers: [90]
90,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 67:[39, 51], Operations: ['3+36=39', '60-9=51']
Exploring Operation: 39*51=1989, Resulting Numbers: [1989]
1989,67 unequal: No Solution
Exploring Operation: 51-39=12, Resulting Numbers: [12]
12,67 unequal: No Solution
Exploring Operation: 39+51=90, Resulting Numbers: [90]
90,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 67:[9, 36, 63], Operations: ['3+60=63']
Exploring Operation: 63-9=54, Resulting Numbers: [36, 54]
Generated Node #0,2,0: 67:[36, 54] Operation: 63-9=54
Exploring Operation: 9+36=45, Resulting Numbers: [63, 45]
Generated Node #0,2,1: 67:[63, 45] Operation: 9+36=45
Exploring Operation: 36-9=27, Resulting Numbers: [63, 27]
Generated Node #0,2,2: 67:[63, 27] Operation: 36-9=27
Exploring Operation: 9+63=72, Resulting Numbers: [36, 72]
Generated Node #0,2,3: 67:[36, 72] Operation: 9+63=72
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 67:[63, 45], Operations: ['3+60=63', '9+36=45']
Exploring Operation: 63-45=18, Resulting Numbers: [18]
18,67 unequal: No Solution
Exploring Operation: 63+45=108, Resulting Numbers: [108]
108,67 unequal: No Solution
Exploring Operation: 63*45=2835, Resulting Numbers: [2835]
2835,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 67:[36, 72], Operations: ['3+60=63', '9+63=72']
Exploring Operation: 72/36=2, Resulting Numbers: [2]
2,67 unequal: No Solution
Exploring Operation: 36*72=2592, Resulting Numbers: [2592]
2592,67 unequal: No Solution
Exploring Operation: 72-36=36, Resulting Numbers: [36]
36,67 unequal: No Solution
Exploring Operation: 36+72=108, Resulting Numbers: [108]
108,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 67:[36, 54], Operations: ['3+60=63', '63-9=54']
Exploring Operation: 54-36=18, Resulting Numbers: [18]
18,67 unequal: No Solution
Exploring Operation: 36*54=1944, Resulting Numbers: [1944]
1944,67 unequal: No Solution
Exploring Operation: 36+54=90, Resulting Numbers: [90]
90,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 67:[63, 27], Operations: ['3+60=63', '36-9=27']
Exploring Operation: 63-27=36, Resulting Numbers: [36]
36,67 unequal: No Solution
Exploring Operation: 63*27=1701, Resulting Numbers: [1701]
1701,67 unequal: No Solution
Exploring Operation: 63+27=90, Resulting Numbers: [90]
90,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
76,
63,
59,
5
] | 24 | [
"63-59=4",
"76/4=19",
"5+19=24"
] | Current State: 24:[76, 63, 59, 5], Operations: []
Exploring Operation: 63-59=4, Resulting Numbers: [76, 5, 4]
Generated Node #2: [76, 5, 4] from Operation: 63-59=4
Current State: 24:[76, 5, 4], Operations: ['63-59=4']
Exploring Operation: 76/4=19, Resulting Numbers: [5, 19]
Generated Node #3: [5, 19] from Operation: 76/4=19
Current State: 24:[5, 19], Operations: ['63-59=4', '76/4=19']
Exploring Operation: 5+19=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[76, 63, 59, 5], Operations: []
Exploring Operation: 76-63=13, Resulting Numbers: [59, 5, 13]
Generated Node #0,0: 24:[59, 5, 13] Operation: 76-63=13
Exploring Operation: 76-59=17, Resulting Numbers: [63, 5, 17]
Generated Node #0,1: 24:[63, 5, 17] Operation: 76-59=17
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[59, 5, 13], Operations: ['76-63=13']
Exploring Operation: 59-5=54, Resulting Numbers: [13, 54]
Generated Node #0,0,0: 24:[13, 54] Operation: 59-5=54
Exploring Operation: 59-13=46, Resulting Numbers: [5, 46]
Generated Node #0,0,1: 24:[5, 46] Operation: 59-13=46
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 24:[5, 46], Operations: ['76-63=13', '59-13=46']
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,24 unequal: No Solution
Exploring Operation: 5+46=51, Resulting Numbers: [51]
51,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 24:[13, 54], Operations: ['76-63=13', '59-5=54']
Exploring Operation: 54-13=41, Resulting Numbers: [41]
41,24 unequal: No Solution
Exploring Operation: 13+54=67, Resulting Numbers: [67]
67,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 24:[63, 5, 17], Operations: ['76-59=17']
Exploring Operation: 63-5=58, Resulting Numbers: [17, 58]
Generated Node #0,1,0: 24:[17, 58] Operation: 63-5=58
Exploring Operation: 63-17=46, Resulting Numbers: [5, 46]
Generated Node #0,1,1: 24:[5, 46] Operation: 63-17=46
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 24:[5, 46], Operations: ['76-59=17', '63-17=46']
Exploring Operation: 5+46=51, Resulting Numbers: [51]
51,24 unequal: No Solution
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 24:[17, 58], Operations: ['76-59=17', '63-5=58']
Exploring Operation: 17+58=75, Resulting Numbers: [75]
75,24 unequal: No Solution
Exploring Operation: 58-17=41, Resulting Numbers: [41]
41,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
51,
37,
25,
54
] | 43 | [
"51-37=14",
"54-25=29",
"14+29=43"
] | Current State: 43:[51, 37, 25, 54], Operations: []
Exploring Operation: 51-37=14, Resulting Numbers: [25, 54, 14]
Generated Node #2: [25, 54, 14] from Operation: 51-37=14
Current State: 43:[25, 54, 14], Operations: ['51-37=14']
Exploring Operation: 54-25=29, Resulting Numbers: [14, 29]
Generated Node #3: [14, 29] from Operation: 54-25=29
Current State: 43:[14, 29], Operations: ['51-37=14', '54-25=29']
Exploring Operation: 14+29=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[51, 37, 25, 54], Operations: []
Exploring Operation: 54-25=29, Resulting Numbers: [51, 37, 29]
Generated Node #0,0: 43:[51, 37, 29] Operation: 54-25=29
Exploring Operation: 37+25=62, Resulting Numbers: [51, 54, 62]
Generated Node #0,1: 43:[51, 54, 62] Operation: 37+25=62
Exploring Operation: 51-25=26, Resulting Numbers: [37, 54, 26]
Generated Node #0,2: 43:[37, 54, 26] Operation: 51-25=26
Moving to Node #0,0
Current State: 43:[51, 37, 29], Operations: ['54-25=29']
Exploring Operation: 51-37=14, Resulting Numbers: [29, 14]
Generated Node #0,0,0: 43:[29, 14] Operation: 51-37=14
Exploring Operation: 51-29=22, Resulting Numbers: [37, 22]
Generated Node #0,0,1: 43:[37, 22] Operation: 51-29=22
Exploring Operation: 37+29=66, Resulting Numbers: [51, 66]
Generated Node #0,0,2: 43:[51, 66] Operation: 37+29=66
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 43:[37, 22], Operations: ['54-25=29', '51-29=22']
Exploring Operation: 37-22=15, Resulting Numbers: [15]
15,43 unequal: No Solution
Exploring Operation: 37+22=59, Resulting Numbers: [59]
59,43 unequal: No Solution
Exploring Operation: 37*22=814, Resulting Numbers: [814]
814,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 43:[51, 66], Operations: ['54-25=29', '37+29=66']
Exploring Operation: 66-51=15, Resulting Numbers: [15]
15,43 unequal: No Solution
Exploring Operation: 51*66=3366, Resulting Numbers: [3366]
3366,43 unequal: No Solution
Exploring Operation: 51+66=117, Resulting Numbers: [117]
117,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 43:[29, 14], Operations: ['54-25=29', '51-37=14']
Exploring Operation: 29-14=15, Resulting Numbers: [15]
15,43 unequal: No Solution
Exploring Operation: 29*14=406, Resulting Numbers: [406]
406,43 unequal: No Solution
Exploring Operation: 29+14=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[51, 37, 25, 54], Operations: []
Exploring Operation: 54-25=29, Resulting Numbers: [51, 37, 29]
Generated Node #0,0: 43:[51, 37, 29] Operation: 54-25=29
Moving to Node #0,0
Current State: 43:[51, 37, 29], Operations: ['54-25=29']
Exploring Operation: 51-37=14, Resulting Numbers: [29, 14]
Generated Node #0,0,0: 43:[29, 14] Operation: 51-37=14
Moving to Node #0,0,0
Current State: 43:[29, 14], Operations: ['54-25=29', '51-37=14']
Exploring Operation: 29+14=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | sum_heuristic |
[
66,
84,
97,
34
] | 88 | [
"66*84=5544",
"97-34=63",
"5544/63=88"
] | Current State: 88:[66, 84, 97, 34], Operations: []
Exploring Operation: 66*84=5544, Resulting Numbers: [97, 34, 5544]
Generated Node #2: [97, 34, 5544] from Operation: 66*84=5544
Current State: 88:[97, 34, 5544], Operations: ['66*84=5544']
Exploring Operation: 97-34=63, Resulting Numbers: [5544, 63]
Generated Node #3: [5544, 63] from Operation: 97-34=63
Current State: 88:[5544, 63], Operations: ['66*84=5544', '97-34=63']
Exploring Operation: 5544/63=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[66, 84, 97, 34], Operations: []
Exploring Operation: 97-66=31, Resulting Numbers: [84, 34, 31]
Generated Node #0,0: 88:[84, 34, 31] Operation: 97-66=31
Exploring Operation: 84-66=18, Resulting Numbers: [97, 34, 18]
Generated Node #0,1: 88:[97, 34, 18] Operation: 84-66=18
Moving to Node #0,0
Current State: 88:[84, 34, 31], Operations: ['97-66=31']
Exploring Operation: 34-31=3, Resulting Numbers: [84, 3]
Generated Node #0,0,0: 88:[84, 3] Operation: 34-31=3
Exploring Operation: 84-34=50, Resulting Numbers: [31, 50]
Generated Node #0,0,1: 88:[31, 50] Operation: 84-34=50
Moving to Node #0,1
Current State: 88:[97, 34, 18], Operations: ['84-66=18']
Exploring Operation: 34-18=16, Resulting Numbers: [97, 16]
Generated Node #0,1,0: 88:[97, 16] Operation: 34-18=16
Exploring Operation: 34+18=52, Resulting Numbers: [97, 52]
Generated Node #0,1,1: 88:[97, 52] Operation: 34+18=52
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 88:[97, 16], Operations: ['84-66=18', '34-18=16']
Exploring Operation: 97-16=81, Resulting Numbers: [81]
81,88 unequal: No Solution
Exploring Operation: 97+16=113, Resulting Numbers: [113]
113,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 88:[97, 52], Operations: ['84-66=18', '34+18=52']
Exploring Operation: 97+52=149, Resulting Numbers: [149]
149,88 unequal: No Solution
Exploring Operation: 97-52=45, Resulting Numbers: [45]
45,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 88:[84, 3], Operations: ['97-66=31', '34-31=3']
Exploring Operation: 84/3=28, Resulting Numbers: [28]
28,88 unequal: No Solution
Exploring Operation: 84+3=87, Resulting Numbers: [87]
87,88 unequal: No Solution
Moving to Node #0,0,1
Current State: 88:[31, 50], Operations: ['97-66=31', '84-34=50']
Exploring Operation: 50-31=19, Resulting Numbers: [19]
19,88 unequal: No Solution
Exploring Operation: 31+50=81, Resulting Numbers: [81]
81,88 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
20,
75,
80,
65
] | 40 | [
"75-20=55",
"80-65=15",
"55-15=40"
] | Current State: 40:[20, 75, 80, 65], Operations: []
Exploring Operation: 75-20=55, Resulting Numbers: [80, 65, 55]
Generated Node #2: [80, 65, 55] from Operation: 75-20=55
Current State: 40:[80, 65, 55], Operations: ['75-20=55']
Exploring Operation: 80-65=15, Resulting Numbers: [55, 15]
Generated Node #3: [55, 15] from Operation: 80-65=15
Current State: 40:[55, 15], Operations: ['75-20=55', '80-65=15']
Exploring Operation: 55-15=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[20, 75, 80, 65], Operations: []
Exploring Operation: 80-75=5, Resulting Numbers: [20, 65, 5]
Generated Node #0,0: 40:[20, 65, 5] Operation: 80-75=5
Moving to Node #0,0
Current State: 40:[20, 65, 5], Operations: ['80-75=5']
Exploring Operation: 65/5=13, Resulting Numbers: [20, 13]
Generated Node #0,0,0: 40:[20, 13] Operation: 65/5=13
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 40:[20, 13], Operations: ['80-75=5', '65/5=13']
Exploring Operation: 20-13=7, Resulting Numbers: [7]
7,40 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 |
[
43,
71,
64,
32
] | 16 | [
"71-43=28",
"32-28=4",
"64/4=16"
] | Current State: 16:[43, 71, 64, 32], Operations: []
Exploring Operation: 71-43=28, Resulting Numbers: [64, 32, 28]
Generated Node #2: [64, 32, 28] from Operation: 71-43=28
Current State: 16:[64, 32, 28], Operations: ['71-43=28']
Exploring Operation: 32-28=4, Resulting Numbers: [64, 4]
Generated Node #3: [64, 4] from Operation: 32-28=4
Current State: 16:[64, 4], Operations: ['71-43=28', '32-28=4']
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[43, 71, 64, 32], Operations: []
Exploring Operation: 71-43=28, Resulting Numbers: [64, 32, 28]
Generated Node #0,0: 16:[64, 32, 28] Operation: 71-43=28
Exploring Operation: 71-32=39, Resulting Numbers: [43, 64, 39]
Generated Node #0,1: 16:[43, 64, 39] Operation: 71-32=39
Exploring Operation: 64/32=2, Resulting Numbers: [43, 71, 2]
Generated Node #0,2: 16:[43, 71, 2] Operation: 64/32=2
Exploring Operation: 71-64=7, Resulting Numbers: [43, 32, 7]
Generated Node #0,3: 16:[43, 32, 7] Operation: 71-64=7
Exploring Operation: 64-43=21, Resulting Numbers: [71, 32, 21]
Generated Node #0,4: 16:[71, 32, 21] Operation: 64-43=21
Moving to Node #0,3
Current State: 16:[43, 32, 7], Operations: ['71-64=7']
Exploring Operation: 43+7=50, Resulting Numbers: [32, 50]
Generated Node #0,3,0: 16:[32, 50] Operation: 43+7=50
Exploring Operation: 32-7=25, Resulting Numbers: [43, 25]
Generated Node #0,3,1: 16:[43, 25] Operation: 32-7=25
Exploring Operation: 43-7=36, Resulting Numbers: [32, 36]
Generated Node #0,3,2: 16:[32, 36] Operation: 43-7=36
Exploring Operation: 43-32=11, Resulting Numbers: [7, 11]
Generated Node #0,3,3: 16:[7, 11] Operation: 43-32=11
Exploring Operation: 32+7=39, Resulting Numbers: [43, 39]
Generated Node #0,3,4: 16:[43, 39] Operation: 32+7=39
Moving to Node #0,4
Current State: 16:[71, 32, 21], Operations: ['64-43=21']
Exploring Operation: 71+32=103, Resulting Numbers: [21, 103]
Generated Node #0,4,0: 16:[21, 103] Operation: 71+32=103
Exploring Operation: 32-21=11, Resulting Numbers: [71, 11]
Generated Node #0,4,1: 16:[71, 11] Operation: 32-21=11
Exploring Operation: 71-32=39, Resulting Numbers: [21, 39]
Generated Node #0,4,2: 16:[21, 39] Operation: 71-32=39
Exploring Operation: 71-21=50, Resulting Numbers: [32, 50]
Generated Node #0,4,3: 16:[32, 50] Operation: 71-21=50
Exploring Operation: 71+21=92, Resulting Numbers: [32, 92]
Generated Node #0,4,4: 16:[32, 92] Operation: 71+21=92
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 16:[21, 39], Operations: ['64-43=21', '71-32=39']
Exploring Operation: 39-21=18, Resulting Numbers: [18]
18,16 unequal: No Solution
Exploring Operation: 21+39=60, Resulting Numbers: [60]
60,16 unequal: No Solution
Exploring Operation: 21*39=819, Resulting Numbers: [819]
819,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 16:[32, 50], Operations: ['64-43=21', '71-21=50']
Exploring Operation: 32*50=1600, Resulting Numbers: [1600]
1600,16 unequal: No Solution
Exploring Operation: 50-32=18, Resulting Numbers: [18]
18,16 unequal: No Solution
Exploring Operation: 32+50=82, Resulting Numbers: [82]
82,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 16:[71, 11], Operations: ['64-43=21', '32-21=11']
Exploring Operation: 71+11=82, Resulting Numbers: [82]
82,16 unequal: No Solution
Exploring Operation: 71-11=60, Resulting Numbers: [60]
60,16 unequal: No Solution
Exploring Operation: 71*11=781, Resulting Numbers: [781]
781,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 16:[21, 103], Operations: ['64-43=21', '71+32=103']
Exploring Operation: 21*103=2163, Resulting Numbers: [2163]
2163,16 unequal: No Solution
Exploring Operation: 103-21=82, Resulting Numbers: [82]
82,16 unequal: No Solution
Exploring Operation: 21+103=124, Resulting Numbers: [124]
124,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 16:[32, 92], Operations: ['64-43=21', '71+21=92']
Exploring Operation: 32+92=124, Resulting Numbers: [124]
124,16 unequal: No Solution
Exploring Operation: 32*92=2944, Resulting Numbers: [2944]
2944,16 unequal: No Solution
Exploring Operation: 92-32=60, Resulting Numbers: [60]
60,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 16:[64, 32, 28], Operations: ['71-43=28']
Exploring Operation: 64/32=2, Resulting Numbers: [28, 2]
Generated Node #0,0,0: 16:[28, 2] Operation: 64/32=2
Exploring Operation: 64+32=96, Resulting Numbers: [28, 96]
Generated Node #0,0,1: 16:[28, 96] Operation: 64+32=96
Exploring Operation: 64-28=36, Resulting Numbers: [32, 36]
Generated Node #0,0,2: 16:[32, 36] Operation: 64-28=36
Exploring Operation: 64-32=32, Resulting Numbers: [28, 32]
Generated Node #0,0,3: 16:[28, 32] Operation: 64-32=32
Exploring Operation: 32-28=4, Resulting Numbers: [64, 4]
Generated Node #0,0,4: 16:[64, 4] Operation: 32-28=4
Moving to Node #0,2
Current State: 16:[43, 71, 2], Operations: ['64/32=2']
Exploring Operation: 71-2=69, Resulting Numbers: [43, 69]
Generated Node #0,2,0: 16:[43, 69] Operation: 71-2=69
Exploring Operation: 43+2=45, Resulting Numbers: [71, 45]
Generated Node #0,2,1: 16:[71, 45] Operation: 43+2=45
Exploring Operation: 71+2=73, Resulting Numbers: [43, 73]
Generated Node #0,2,2: 16:[43, 73] Operation: 71+2=73
Exploring Operation: 43-2=41, Resulting Numbers: [71, 41]
Generated Node #0,2,3: 16:[71, 41] Operation: 43-2=41
Exploring Operation: 71-43=28, Resulting Numbers: [2, 28]
Generated Node #0,2,4: 16:[2, 28] Operation: 71-43=28
Moving to Node #0,1
Current State: 16:[43, 64, 39], Operations: ['71-32=39']
Exploring Operation: 64-39=25, Resulting Numbers: [43, 25]
Generated Node #0,1,0: 16:[43, 25] Operation: 64-39=25
Exploring Operation: 43+39=82, Resulting Numbers: [64, 82]
Generated Node #0,1,1: 16:[64, 82] Operation: 43+39=82
Exploring Operation: 64-43=21, Resulting Numbers: [39, 21]
Generated Node #0,1,2: 16:[39, 21] Operation: 64-43=21
Exploring Operation: 43-39=4, Resulting Numbers: [64, 4]
Generated Node #0,1,3: 16:[64, 4] Operation: 43-39=4
Exploring Operation: 43+64=107, Resulting Numbers: [39, 107]
Generated Node #0,1,4: 16:[39, 107] Operation: 43+64=107
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 16:[39, 21], Operations: ['71-32=39', '64-43=21']
Exploring Operation: 39-21=18, Resulting Numbers: [18]
18,16 unequal: No Solution
Exploring Operation: 39*21=819, Resulting Numbers: [819]
819,16 unequal: No Solution
Exploring Operation: 39+21=60, Resulting Numbers: [60]
60,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 16:[43, 25], Operations: ['71-32=39', '64-39=25']
Exploring Operation: 43*25=1075, Resulting Numbers: [1075]
1075,16 unequal: No Solution
Exploring Operation: 43-25=18, Resulting Numbers: [18]
18,16 unequal: No Solution
Exploring Operation: 43+25=68, Resulting Numbers: [68]
68,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 16:[64, 4], Operations: ['71-32=39', '43-39=4']
Exploring Operation: 64+4=68, Resulting Numbers: [68]
68,16 unequal: No Solution
Exploring Operation: 64-4=60, Resulting Numbers: [60]
60,16 unequal: No Solution
Exploring Operation: 64*4=256, Resulting Numbers: [256]
256,16 unequal: No Solution
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[43, 71, 64, 32], Operations: []
Exploring Operation: 71-32=39, Resulting Numbers: [43, 64, 39]
Generated Node #0,1: 16:[43, 64, 39] Operation: 71-32=39
Moving to Node #0,1
Current State: 16:[43, 64, 39], Operations: ['71-32=39']
Exploring Operation: 43-39=4, Resulting Numbers: [64, 4]
Generated Node #0,1,3: 16:[64, 4] Operation: 43-39=4
Moving to Node #0,1,3
Current State: 16:[64, 4], Operations: ['71-32=39', '43-39=4']
Exploring Operation: 64/4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.948785 | hs_5 | sum_heuristic |
[
61,
44,
64,
27
] | 68 | [
"61+44=105",
"64-27=37",
"105-37=68"
] | Current State: 68:[61, 44, 64, 27], Operations: []
Exploring Operation: 61+44=105, Resulting Numbers: [64, 27, 105]
Generated Node #2: [64, 27, 105] from Operation: 61+44=105
Current State: 68:[64, 27, 105], Operations: ['61+44=105']
Exploring Operation: 64-27=37, Resulting Numbers: [105, 37]
Generated Node #3: [105, 37] from Operation: 64-27=37
Current State: 68:[105, 37], Operations: ['61+44=105', '64-27=37']
Exploring Operation: 105-37=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[61, 44, 64, 27], Operations: []
Exploring Operation: 61-44=17, Resulting Numbers: [64, 27, 17]
Generated Node #0,0: 68:[64, 27, 17] Operation: 61-44=17
Exploring Operation: 44-27=17, Resulting Numbers: [61, 64, 17]
Generated Node #0,1: 68:[61, 64, 17] Operation: 44-27=17
Moving to Node #0,0
Current State: 68:[64, 27, 17], Operations: ['61-44=17']
Exploring Operation: 64-27=37, Resulting Numbers: [17, 37]
Generated Node #0,0,0: 68:[17, 37] Operation: 64-27=37
Exploring Operation: 27-17=10, Resulting Numbers: [64, 10]
Generated Node #0,0,1: 68:[64, 10] Operation: 27-17=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 68:[17, 37], Operations: ['61-44=17', '64-27=37']
Exploring Operation: 17+37=54, Resulting Numbers: [54]
54,68 unequal: No Solution
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 68:[64, 10], Operations: ['61-44=17', '27-17=10']
Exploring Operation: 64+10=74, Resulting Numbers: [74]
74,68 unequal: No Solution
Exploring Operation: 64-10=54, Resulting Numbers: [54]
54,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 68:[61, 64, 17], Operations: ['44-27=17']
Exploring Operation: 61+17=78, Resulting Numbers: [64, 78]
Generated Node #0,1,0: 68:[64, 78] Operation: 61+17=78
Exploring Operation: 64-61=3, Resulting Numbers: [17, 3]
Generated Node #0,1,1: 68:[17, 3] Operation: 64-61=3
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 68:[17, 3], Operations: ['44-27=17', '64-61=3']
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,68 unequal: No Solution
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 68:[64, 78], Operations: ['44-27=17', '61+17=78']
Exploring Operation: 78-64=14, Resulting Numbers: [14]
14,68 unequal: No Solution
Exploring Operation: 64+78=142, Resulting Numbers: [142]
142,68 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 |
[
93,
1,
16,
28
] | 50 | [
"93+1=94",
"16+28=44",
"94-44=50"
] | Current State: 50:[93, 1, 16, 28], Operations: []
Exploring Operation: 93+1=94, Resulting Numbers: [16, 28, 94]
Generated Node #2: [16, 28, 94] from Operation: 93+1=94
Current State: 50:[16, 28, 94], Operations: ['93+1=94']
Exploring Operation: 16+28=44, Resulting Numbers: [94, 44]
Generated Node #3: [94, 44] from Operation: 16+28=44
Current State: 50:[94, 44], Operations: ['93+1=94', '16+28=44']
Exploring Operation: 94-44=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[93, 1, 16, 28], Operations: []
Exploring Operation: 93-28=65, Resulting Numbers: [1, 16, 65]
Generated Node #0,0: 50:[1, 16, 65] Operation: 93-28=65
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[1, 16, 65], Operations: ['93-28=65']
Exploring Operation: 65-16=49, Resulting Numbers: [1, 49]
Generated Node #0,0,0: 50:[1, 49] Operation: 65-16=49
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 50:[1, 49], Operations: ['93-28=65', '65-16=49']
Exploring Operation: 1+49=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[93, 1, 16, 28], Operations: []
Exploring Operation: 93-28=65, Resulting Numbers: [1, 16, 65]
Generated Node #0,0: 50:[1, 16, 65] Operation: 93-28=65
Moving to Node #0,0
Current State: 50:[1, 16, 65], Operations: ['93-28=65']
Exploring Operation: 65-16=49, Resulting Numbers: [1, 49]
Generated Node #0,0,0: 50:[1, 49] Operation: 65-16=49
Moving to Node #0,0,0
Current State: 50:[1, 49], Operations: ['93-28=65', '65-16=49']
Exploring Operation: 1+49=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
92,
22,
64,
85
] | 91 | [
"92-22=70",
"85-64=21",
"70+21=91"
] | Current State: 91:[92, 22, 64, 85], Operations: []
Exploring Operation: 92-22=70, Resulting Numbers: [64, 85, 70]
Generated Node #2: [64, 85, 70] from Operation: 92-22=70
Current State: 91:[64, 85, 70], Operations: ['92-22=70']
Exploring Operation: 85-64=21, Resulting Numbers: [70, 21]
Generated Node #3: [70, 21] from Operation: 85-64=21
Current State: 91:[70, 21], Operations: ['92-22=70', '85-64=21']
Exploring Operation: 70+21=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[92, 22, 64, 85], Operations: []
Exploring Operation: 22+64=86, Resulting Numbers: [92, 85, 86]
Generated Node #0,0: 91:[92, 85, 86] Operation: 22+64=86
Exploring Operation: 85-64=21, Resulting Numbers: [92, 22, 21]
Generated Node #0,1: 91:[92, 22, 21] Operation: 85-64=21
Exploring Operation: 92-64=28, Resulting Numbers: [22, 85, 28]
Generated Node #0,2: 91:[22, 85, 28] Operation: 92-64=28
Exploring Operation: 92-85=7, Resulting Numbers: [22, 64, 7]
Generated Node #0,3: 91:[22, 64, 7] Operation: 92-85=7
Exploring Operation: 64-22=42, Resulting Numbers: [92, 85, 42]
Generated Node #0,4: 91:[92, 85, 42] Operation: 64-22=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[92, 85, 86], Operations: ['22+64=86']
Exploring Operation: 85+86=171, Resulting Numbers: [92, 171]
Generated Node #0,0,0: 91:[92, 171] Operation: 85+86=171
Exploring Operation: 92-86=6, Resulting Numbers: [85, 6]
Generated Node #0,0,1: 91:[85, 6] Operation: 92-86=6
Exploring Operation: 86-85=1, Resulting Numbers: [92, 1]
Generated Node #0,0,2: 91:[92, 1] Operation: 86-85=1
Exploring Operation: 92+85=177, Resulting Numbers: [86, 177]
Generated Node #0,0,3: 91:[86, 177] Operation: 92+85=177
Exploring Operation: 92-85=7, Resulting Numbers: [86, 7]
Generated Node #0,0,4: 91:[86, 7] Operation: 92-85=7
Moving to Node #0,0,4
Current State: 91:[86, 7], Operations: ['22+64=86', '92-85=7']
Exploring Operation: 86*7=602, Resulting Numbers: [602]
602,91 unequal: No Solution
Exploring Operation: 86-7=79, Resulting Numbers: [79]
79,91 unequal: No Solution
Exploring Operation: 86+7=93, Resulting Numbers: [93]
93,91 unequal: No Solution
Moving to Node #0,0,2
Current State: 91:[92, 1], Operations: ['22+64=86', '86-85=1']
Exploring Operation: 92-1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[92, 22, 64, 85], Operations: []
Exploring Operation: 22+64=86, Resulting Numbers: [92, 85, 86]
Generated Node #0,0: 91:[92, 85, 86] Operation: 22+64=86
Moving to Node #0,0
Current State: 91:[92, 85, 86], Operations: ['22+64=86']
Exploring Operation: 86-85=1, Resulting Numbers: [92, 1]
Generated Node #0,0,2: 91:[92, 1] Operation: 86-85=1
Moving to Node #0,0,2
Current State: 91:[92, 1], Operations: ['22+64=86', '86-85=1']
Exploring Operation: 92-1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
27,
86,
72,
93
] | 52 | [
"27+86=113",
"72+93=165",
"165-113=52"
] | Current State: 52:[27, 86, 72, 93], Operations: []
Exploring Operation: 27+86=113, Resulting Numbers: [72, 93, 113]
Generated Node #2: [72, 93, 113] from Operation: 27+86=113
Current State: 52:[72, 93, 113], Operations: ['27+86=113']
Exploring Operation: 72+93=165, Resulting Numbers: [113, 165]
Generated Node #3: [113, 165] from Operation: 72+93=165
Current State: 52:[113, 165], Operations: ['27+86=113', '72+93=165']
Exploring Operation: 165-113=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[27, 86, 72, 93], Operations: []
Exploring Operation: 86-27=59, Resulting Numbers: [72, 93, 59]
Generated Node #0,0: 52:[72, 93, 59] Operation: 86-27=59
Exploring Operation: 93-86=7, Resulting Numbers: [27, 72, 7]
Generated Node #0,1: 52:[27, 72, 7] Operation: 93-86=7
Exploring Operation: 86-72=14, Resulting Numbers: [27, 93, 14]
Generated Node #0,2: 52:[27, 93, 14] Operation: 86-72=14
Exploring Operation: 93-72=21, Resulting Numbers: [27, 86, 21]
Generated Node #0,3: 52:[27, 86, 21] Operation: 93-72=21
Exploring Operation: 93-27=66, Resulting Numbers: [86, 72, 66]
Generated Node #0,4: 52:[86, 72, 66] Operation: 93-27=66
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[27, 72, 7], Operations: ['93-86=7']
Exploring Operation: 72-27=45, Resulting Numbers: [7, 45]
Generated Node #0,1,0: 52:[7, 45] Operation: 72-27=45
Exploring Operation: 72+7=79, Resulting Numbers: [27, 79]
Generated Node #0,1,1: 52:[27, 79] Operation: 72+7=79
Exploring Operation: 27+7=34, Resulting Numbers: [72, 34]
Generated Node #0,1,2: 52:[72, 34] Operation: 27+7=34
Exploring Operation: 27-7=20, Resulting Numbers: [72, 20]
Generated Node #0,1,3: 52:[72, 20] Operation: 27-7=20
Exploring Operation: 72-7=65, Resulting Numbers: [27, 65]
Generated Node #0,1,4: 52:[27, 65] Operation: 72-7=65
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 52:[7, 45], Operations: ['93-86=7', '72-27=45']
Exploring Operation: 7+45=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[27, 86, 72, 93], Operations: []
Exploring Operation: 93-86=7, Resulting Numbers: [27, 72, 7]
Generated Node #0,1: 52:[27, 72, 7] Operation: 93-86=7
Moving to Node #0,1
Current State: 52:[27, 72, 7], Operations: ['93-86=7']
Exploring Operation: 72-27=45, Resulting Numbers: [7, 45]
Generated Node #0,1,0: 52:[7, 45] Operation: 72-27=45
Moving to Node #0,1,0
Current State: 52:[7, 45], Operations: ['93-86=7', '72-27=45']
Exploring Operation: 7+45=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
78,
75,
72,
81
] | 47 | [
"81-78=3",
"75/3=25",
"72-25=47"
] | Current State: 47:[78, 75, 72, 81], Operations: []
Exploring Operation: 81-78=3, Resulting Numbers: [75, 72, 3]
Generated Node #2: [75, 72, 3] from Operation: 81-78=3
Current State: 47:[75, 72, 3], Operations: ['81-78=3']
Exploring Operation: 75/3=25, Resulting Numbers: [72, 25]
Generated Node #3: [72, 25] from Operation: 75/3=25
Current State: 47:[72, 25], Operations: ['81-78=3', '75/3=25']
Exploring Operation: 72-25=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[78, 75, 72, 81], Operations: []
Exploring Operation: 81-78=3, Resulting Numbers: [75, 72, 3]
Generated Node #0,0: 47:[75, 72, 3] Operation: 81-78=3
Exploring Operation: 81-75=6, Resulting Numbers: [78, 72, 6]
Generated Node #0,1: 47:[78, 72, 6] Operation: 81-75=6
Exploring Operation: 81-72=9, Resulting Numbers: [78, 75, 9]
Generated Node #0,2: 47:[78, 75, 9] Operation: 81-72=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[75, 72, 3], Operations: ['81-78=3']
Exploring Operation: 75-3=72, Resulting Numbers: [72, 72]
Generated Node #0,0,0: 47:[72, 72] Operation: 75-3=72
Exploring Operation: 72-3=69, Resulting Numbers: [75, 69]
Generated Node #0,0,1: 47:[75, 69] Operation: 72-3=69
Exploring Operation: 75/3=25, Resulting Numbers: [72, 25]
Generated Node #0,0,2: 47:[72, 25] Operation: 75/3=25
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 47:[72, 25], Operations: ['81-78=3', '75/3=25']
Exploring Operation: 72*25=1800, Resulting Numbers: [1800]
1800,47 unequal: No Solution
Exploring Operation: 72-25=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[78, 75, 72, 81], Operations: []
Exploring Operation: 81-78=3, Resulting Numbers: [75, 72, 3]
Generated Node #0,0: 47:[75, 72, 3] Operation: 81-78=3
Moving to Node #0,0
Current State: 47:[75, 72, 3], Operations: ['81-78=3']
Exploring Operation: 75/3=25, Resulting Numbers: [72, 25]
Generated Node #0,0,2: 47:[72, 25] Operation: 75/3=25
Moving to Node #0,0,2
Current State: 47:[72, 25], Operations: ['81-78=3', '75/3=25']
Exploring Operation: 72-25=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
80,
48,
71,
44
] | 91 | [
"48-44=4",
"80/4=20",
"71+20=91"
] | Current State: 91:[80, 48, 71, 44], Operations: []
Exploring Operation: 48-44=4, Resulting Numbers: [80, 71, 4]
Generated Node #2: [80, 71, 4] from Operation: 48-44=4
Current State: 91:[80, 71, 4], Operations: ['48-44=4']
Exploring Operation: 80/4=20, Resulting Numbers: [71, 20]
Generated Node #3: [71, 20] from Operation: 80/4=20
Current State: 91:[71, 20], Operations: ['48-44=4', '80/4=20']
Exploring Operation: 71+20=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[80, 48, 71, 44], Operations: []
Exploring Operation: 71-44=27, Resulting Numbers: [80, 48, 27]
Generated Node #0,0: 91:[80, 48, 27] Operation: 71-44=27
Exploring Operation: 80-71=9, Resulting Numbers: [48, 44, 9]
Generated Node #0,1: 91:[48, 44, 9] Operation: 80-71=9
Exploring Operation: 48+44=92, Resulting Numbers: [80, 71, 92]
Generated Node #0,2: 91:[80, 71, 92] Operation: 48+44=92
Exploring Operation: 71-48=23, Resulting Numbers: [80, 44, 23]
Generated Node #0,3: 91:[80, 44, 23] Operation: 71-48=23
Exploring Operation: 48-44=4, Resulting Numbers: [80, 71, 4]
Generated Node #0,4: 91:[80, 71, 4] Operation: 48-44=4
Start Sub Search at level 1: Moving to Node #0,2
Current State: 91:[80, 71, 92], Operations: ['48+44=92']
Exploring Operation: 71+92=163, Resulting Numbers: [80, 163]
Generated Node #0,2,0: 91:[80, 163] Operation: 71+92=163
Exploring Operation: 92-71=21, Resulting Numbers: [80, 21]
Generated Node #0,2,1: 91:[80, 21] Operation: 92-71=21
Exploring Operation: 80-71=9, Resulting Numbers: [92, 9]
Generated Node #0,2,2: 91:[92, 9] Operation: 80-71=9
Exploring Operation: 92-80=12, Resulting Numbers: [71, 12]
Generated Node #0,2,3: 91:[71, 12] Operation: 92-80=12
Exploring Operation: 80+71=151, Resulting Numbers: [92, 151]
Generated Node #0,2,4: 91:[92, 151] Operation: 80+71=151
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 91:[92, 9], Operations: ['48+44=92', '80-71=9']
Exploring Operation: 92+9=101, Resulting Numbers: [101]
101,91 unequal: No Solution
Exploring Operation: 92-9=83, Resulting Numbers: [83]
83,91 unequal: No Solution
Exploring Operation: 92*9=828, Resulting Numbers: [828]
828,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 91:[80, 21], Operations: ['48+44=92', '92-71=21']
Exploring Operation: 80+21=101, Resulting Numbers: [101]
101,91 unequal: No Solution
Exploring Operation: 80-21=59, Resulting Numbers: [59]
59,91 unequal: No Solution
Exploring Operation: 80*21=1680, Resulting Numbers: [1680]
1680,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 91:[71, 12], Operations: ['48+44=92', '92-80=12']
Exploring Operation: 71*12=852, Resulting Numbers: [852]
852,91 unequal: No Solution
Exploring Operation: 71+12=83, Resulting Numbers: [83]
83,91 unequal: No Solution
Exploring Operation: 71-12=59, Resulting Numbers: [59]
59,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 91:[92, 151], Operations: ['48+44=92', '80+71=151']
Exploring Operation: 92+151=243, Resulting Numbers: [243]
243,91 unequal: No Solution
Exploring Operation: 92*151=13892, Resulting Numbers: [13892]
13892,91 unequal: No Solution
Exploring Operation: 151-92=59, Resulting Numbers: [59]
59,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 91:[80, 163], Operations: ['48+44=92', '71+92=163']
Exploring Operation: 80+163=243, Resulting Numbers: [243]
243,91 unequal: No Solution
Exploring Operation: 80*163=13040, Resulting Numbers: [13040]
13040,91 unequal: No Solution
Exploring Operation: 163-80=83, Resulting Numbers: [83]
83,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 91:[80, 71, 4], Operations: ['48-44=4']
Exploring Operation: 80+4=84, Resulting Numbers: [71, 84]
Generated Node #0,4,0: 91:[71, 84] Operation: 80+4=84
Exploring Operation: 80/4=20, Resulting Numbers: [71, 20]
Generated Node #0,4,1: 91:[71, 20] Operation: 80/4=20
Exploring Operation: 80-4=76, Resulting Numbers: [71, 76]
Generated Node #0,4,2: 91:[71, 76] Operation: 80-4=76
Exploring Operation: 71+4=75, Resulting Numbers: [80, 75]
Generated Node #0,4,3: 91:[80, 75] Operation: 71+4=75
Exploring Operation: 80-71=9, Resulting Numbers: [4, 9]
Generated Node #0,4,4: 91:[4, 9] Operation: 80-71=9
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 91:[4, 9], Operations: ['48-44=4', '80-71=9']
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,91 unequal: No Solution
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,91 unequal: No Solution
Exploring Operation: 4*9=36, Resulting Numbers: [36]
36,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 91:[71, 84], Operations: ['48-44=4', '80+4=84']
Exploring Operation: 71*84=5964, Resulting Numbers: [5964]
5964,91 unequal: No Solution
Exploring Operation: 84-71=13, Resulting Numbers: [13]
13,91 unequal: No Solution
Exploring Operation: 71+84=155, Resulting Numbers: [155]
155,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 91:[71, 20], Operations: ['48-44=4', '80/4=20']
Exploring Operation: 71-20=51, Resulting Numbers: [51]
51,91 unequal: No Solution
Exploring Operation: 71*20=1420, Resulting Numbers: [1420]
1420,91 unequal: No Solution
Exploring Operation: 71+20=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[80, 48, 71, 44], Operations: []
Exploring Operation: 48-44=4, Resulting Numbers: [80, 71, 4]
Generated Node #0,4: 91:[80, 71, 4] Operation: 48-44=4
Moving to Node #0,4
Current State: 91:[80, 71, 4], Operations: ['48-44=4']
Exploring Operation: 80/4=20, Resulting Numbers: [71, 20]
Generated Node #0,4,1: 91:[71, 20] Operation: 80/4=20
Moving to Node #0,4,1
Current State: 91:[71, 20], Operations: ['48-44=4', '80/4=20']
Exploring Operation: 71+20=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.962674 | hs_5 | mult_heuristic |
[
12,
72,
41,
43
] | 48 | [
"43-41=2",
"12*2=24",
"72-24=48"
] | Current State: 48:[12, 72, 41, 43], Operations: []
Exploring Operation: 43-41=2, Resulting Numbers: [12, 72, 2]
Generated Node #2: [12, 72, 2] from Operation: 43-41=2
Current State: 48:[12, 72, 2], Operations: ['43-41=2']
Exploring Operation: 12*2=24, Resulting Numbers: [72, 24]
Generated Node #3: [72, 24] from Operation: 12*2=24
Current State: 48:[72, 24], Operations: ['43-41=2', '12*2=24']
Exploring Operation: 72-24=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[12, 72, 41, 43], Operations: []
Exploring Operation: 72/12=6, Resulting Numbers: [41, 43, 6]
Generated Node #0,0: 48:[41, 43, 6] Operation: 72/12=6
Exploring Operation: 72-41=31, Resulting Numbers: [12, 43, 31]
Generated Node #0,1: 48:[12, 43, 31] Operation: 72-41=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[41, 43, 6], Operations: ['72/12=6']
Exploring Operation: 43-41=2, Resulting Numbers: [6, 2]
Generated Node #0,0,0: 48:[6, 2] Operation: 43-41=2
Exploring Operation: 41+6=47, Resulting Numbers: [43, 47]
Generated Node #0,0,1: 48:[43, 47] Operation: 41+6=47
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 48:[6, 2], Operations: ['72/12=6', '43-41=2']
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,48 unequal: No Solution
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 48:[43, 47], Operations: ['72/12=6', '41+6=47']
Exploring Operation: 47-43=4, Resulting Numbers: [4]
4,48 unequal: No Solution
Exploring Operation: 43+47=90, Resulting Numbers: [90]
90,48 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 48:[12, 43, 31], Operations: ['72-41=31']
Exploring Operation: 43-31=12, Resulting Numbers: [12, 12]
Generated Node #0,1,0: 48:[12, 12] Operation: 43-31=12
Exploring Operation: 31-12=19, Resulting Numbers: [43, 19]
Generated Node #0,1,1: 48:[43, 19] Operation: 31-12=19
Moving to Node #0,1,0
Current State: 48:[12, 12], Operations: ['72-41=31', '43-31=12']
Exploring Operation: 12+12=24, Resulting Numbers: [24]
24,48 unequal: No Solution
Exploring Operation: 12/12=1, Resulting Numbers: [1]
1,48 unequal: No Solution
Moving to Node #0,1,1
Current State: 48:[43, 19], Operations: ['72-41=31', '31-12=19']
Exploring Operation: 43+19=62, Resulting Numbers: [62]
62,48 unequal: No Solution
Exploring Operation: 43-19=24, Resulting Numbers: [24]
24,48 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 |
[
15,
69,
63,
93
] | 67 | [
"93-63=30",
"30/15=2",
"69-2=67"
] | Current State: 67:[15, 69, 63, 93], Operations: []
Exploring Operation: 93-63=30, Resulting Numbers: [15, 69, 30]
Generated Node #2: [15, 69, 30] from Operation: 93-63=30
Current State: 67:[15, 69, 30], Operations: ['93-63=30']
Exploring Operation: 30/15=2, Resulting Numbers: [69, 2]
Generated Node #3: [69, 2] from Operation: 30/15=2
Current State: 67:[69, 2], Operations: ['93-63=30', '30/15=2']
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[15, 69, 63, 93], Operations: []
Exploring Operation: 93-15=78, Resulting Numbers: [69, 63, 78]
Generated Node #0,0: 67:[69, 63, 78] Operation: 93-15=78
Exploring Operation: 15+63=78, Resulting Numbers: [69, 93, 78]
Generated Node #0,1: 67:[69, 93, 78] Operation: 15+63=78
Exploring Operation: 15+69=84, Resulting Numbers: [63, 93, 84]
Generated Node #0,2: 67:[63, 93, 84] Operation: 15+69=84
Exploring Operation: 69-15=54, Resulting Numbers: [63, 93, 54]
Generated Node #0,3: 67:[63, 93, 54] Operation: 69-15=54
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[69, 63, 78], Operations: ['93-15=78']
Exploring Operation: 69-63=6, Resulting Numbers: [78, 6]
Generated Node #0,0,0: 67:[78, 6] Operation: 69-63=6
Exploring Operation: 78-69=9, Resulting Numbers: [63, 9]
Generated Node #0,0,1: 67:[63, 9] Operation: 78-69=9
Exploring Operation: 69+63=132, Resulting Numbers: [78, 132]
Generated Node #0,0,2: 67:[78, 132] Operation: 69+63=132
Exploring Operation: 78-63=15, Resulting Numbers: [69, 15]
Generated Node #0,0,3: 67:[69, 15] Operation: 78-63=15
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 67:[69, 15], Operations: ['93-15=78', '78-63=15']
Exploring Operation: 69*15=1035, Resulting Numbers: [1035]
1035,67 unequal: No Solution
Exploring Operation: 69-15=54, Resulting Numbers: [54]
54,67 unequal: No Solution
Exploring Operation: 69+15=84, Resulting Numbers: [84]
84,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 67:[63, 9], Operations: ['93-15=78', '78-69=9']
Exploring Operation: 63+9=72, Resulting Numbers: [72]
72,67 unequal: No Solution
Exploring Operation: 63/9=7, Resulting Numbers: [7]
7,67 unequal: No Solution
Exploring Operation: 63*9=567, Resulting Numbers: [567]
567,67 unequal: No Solution
Exploring Operation: 63-9=54, Resulting Numbers: [54]
54,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 67:[78, 6], Operations: ['93-15=78', '69-63=6']
Exploring Operation: 78*6=468, Resulting Numbers: [468]
468,67 unequal: No Solution
Exploring Operation: 78+6=84, Resulting Numbers: [84]
84,67 unequal: No Solution
Exploring Operation: 78-6=72, Resulting Numbers: [72]
72,67 unequal: No Solution
Exploring Operation: 78/6=13, Resulting Numbers: [13]
13,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 67:[78, 132], Operations: ['93-15=78', '69+63=132']
Exploring Operation: 78*132=10296, Resulting Numbers: [10296]
10296,67 unequal: No Solution
Exploring Operation: 78+132=210, Resulting Numbers: [210]
210,67 unequal: No Solution
Exploring Operation: 132-78=54, Resulting Numbers: [54]
54,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[69, 93, 78], Operations: ['15+63=78']
Exploring Operation: 93-69=24, Resulting Numbers: [78, 24]
Generated Node #0,1,0: 67:[78, 24] Operation: 93-69=24
Exploring Operation: 93-78=15, Resulting Numbers: [69, 15]
Generated Node #0,1,1: 67:[69, 15] Operation: 93-78=15
Exploring Operation: 69+93=162, Resulting Numbers: [78, 162]
Generated Node #0,1,2: 67:[78, 162] Operation: 69+93=162
Exploring Operation: 78-69=9, Resulting Numbers: [93, 9]
Generated Node #0,1,3: 67:[93, 9] Operation: 78-69=9
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 67:[78, 24], Operations: ['15+63=78', '93-69=24']
Exploring Operation: 78*24=1872, Resulting Numbers: [1872]
1872,67 unequal: No Solution
Exploring Operation: 78-24=54, Resulting Numbers: [54]
54,67 unequal: No Solution
Exploring Operation: 78+24=102, Resulting Numbers: [102]
102,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 67:[69, 15], Operations: ['15+63=78', '93-78=15']
Exploring Operation: 69+15=84, Resulting Numbers: [84]
84,67 unequal: No Solution
Exploring Operation: 69*15=1035, Resulting Numbers: [1035]
1035,67 unequal: No Solution
Exploring Operation: 69-15=54, Resulting Numbers: [54]
54,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 67:[93, 9], Operations: ['15+63=78', '78-69=9']
Exploring Operation: 93-9=84, Resulting Numbers: [84]
84,67 unequal: No Solution
Exploring Operation: 93+9=102, Resulting Numbers: [102]
102,67 unequal: No Solution
Exploring Operation: 93*9=837, Resulting Numbers: [837]
837,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 67:[78, 162], Operations: ['15+63=78', '69+93=162']
Exploring Operation: 78*162=12636, Resulting Numbers: [12636]
12636,67 unequal: No Solution
Exploring Operation: 162-78=84, Resulting Numbers: [84]
84,67 unequal: No Solution
Exploring Operation: 78+162=240, Resulting Numbers: [240]
240,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 67:[63, 93, 54], Operations: ['69-15=54']
Exploring Operation: 63+54=117, Resulting Numbers: [93, 117]
Generated Node #0,3,0: 67:[93, 117] Operation: 63+54=117
Exploring Operation: 63-54=9, Resulting Numbers: [93, 9]
Generated Node #0,3,1: 67:[93, 9] Operation: 63-54=9
Exploring Operation: 93-54=39, Resulting Numbers: [63, 39]
Generated Node #0,3,2: 67:[63, 39] Operation: 93-54=39
Exploring Operation: 93-63=30, Resulting Numbers: [54, 30]
Generated Node #0,3,3: 67:[54, 30] Operation: 93-63=30
Moving to Node #0,3,2
Current State: 67:[63, 39], Operations: ['69-15=54', '93-54=39']
Exploring Operation: 63+39=102, Resulting Numbers: [102]
102,67 unequal: No Solution
Exploring Operation: 63-39=24, Resulting Numbers: [24]
24,67 unequal: No Solution
Exploring Operation: 63*39=2457, Resulting Numbers: [2457]
2457,67 unequal: No Solution
Moving to Node #0,3,3
Current State: 67:[54, 30], Operations: ['69-15=54', '93-63=30']
Exploring Operation: 54-30=24, Resulting Numbers: [24]
24,67 unequal: No Solution
Exploring Operation: 54*30=1620, Resulting Numbers: [1620]
1620,67 unequal: No Solution
Exploring Operation: 54+30=84, Resulting Numbers: [84]
84,67 unequal: No Solution
Moving to Node #0,3,0
Current State: 67:[93, 117], Operations: ['69-15=54', '63+54=117']
Exploring Operation: 93*117=10881, Resulting Numbers: [10881]
10881,67 unequal: No Solution
Exploring Operation: 117-93=24, Resulting Numbers: [24]
24,67 unequal: No Solution
Exploring Operation: 93+117=210, Resulting Numbers: [210]
210,67 unequal: No Solution
Moving to Node #0,3,1
Current State: 67:[93, 9], Operations: ['69-15=54', '63-54=9']
Exploring Operation: 93+9=102, Resulting Numbers: [102]
102,67 unequal: No Solution
Exploring Operation: 93*9=837, Resulting Numbers: [837]
837,67 unequal: No Solution
Exploring Operation: 93-9=84, Resulting Numbers: [84]
84,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 67:[63, 93, 84], Operations: ['15+69=84']
Exploring Operation: 93-63=30, Resulting Numbers: [84, 30]
Generated Node #0,2,0: 67:[84, 30] Operation: 93-63=30
Exploring Operation: 63+93=156, Resulting Numbers: [84, 156]
Generated Node #0,2,1: 67:[84, 156] Operation: 63+93=156
Exploring Operation: 84-63=21, Resulting Numbers: [93, 21]
Generated Node #0,2,2: 67:[93, 21] Operation: 84-63=21
Exploring Operation: 93-84=9, Resulting Numbers: [63, 9]
Generated Node #0,2,3: 67:[63, 9] Operation: 93-84=9
Moving to Node #0,2,0
Current State: 67:[84, 30], Operations: ['15+69=84', '93-63=30']
Exploring Operation: 84+30=114, Resulting Numbers: [114]
114,67 unequal: No Solution
Exploring Operation: 84-30=54, Resulting Numbers: [54]
54,67 unequal: No Solution
Exploring Operation: 84*30=2520, Resulting Numbers: [2520]
2520,67 unequal: No Solution
Moving to Node #0,2,3
Current State: 67:[63, 9], Operations: ['15+69=84', '93-84=9']
Exploring Operation: 63-9=54, Resulting Numbers: [54]
54,67 unequal: No Solution
Exploring Operation: 63/9=7, Resulting Numbers: [7]
7,67 unequal: No Solution
Exploring Operation: 63+9=72, Resulting Numbers: [72]
72,67 unequal: No Solution
Exploring Operation: 63*9=567, Resulting Numbers: [567]
567,67 unequal: No Solution
Moving to Node #0,2,2
Current State: 67:[93, 21], Operations: ['15+69=84', '84-63=21']
Exploring Operation: 93+21=114, Resulting Numbers: [114]
114,67 unequal: No Solution
Exploring Operation: 93-21=72, Resulting Numbers: [72]
72,67 unequal: No Solution
Exploring Operation: 93*21=1953, Resulting Numbers: [1953]
1953,67 unequal: No Solution
Moving to Node #0,2,1
Current State: 67:[84, 156], Operations: ['15+69=84', '63+93=156']
Exploring Operation: 84*156=13104, Resulting Numbers: [13104]
13104,67 unequal: No Solution
Exploring Operation: 84+156=240, Resulting Numbers: [240]
240,67 unequal: No Solution
Exploring Operation: 156-84=72, Resulting Numbers: [72]
72,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
9,
20,
16,
11
] | 36 | [
"9*20=180",
"16-11=5",
"180/5=36"
] | Current State: 36:[9, 20, 16, 11], Operations: []
Exploring Operation: 9*20=180, Resulting Numbers: [16, 11, 180]
Generated Node #2: [16, 11, 180] from Operation: 9*20=180
Current State: 36:[16, 11, 180], Operations: ['9*20=180']
Exploring Operation: 16-11=5, Resulting Numbers: [180, 5]
Generated Node #3: [180, 5] from Operation: 16-11=5
Current State: 36:[180, 5], Operations: ['9*20=180', '16-11=5']
Exploring Operation: 180/5=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[9, 20, 16, 11], Operations: []
Exploring Operation: 20-16=4, Resulting Numbers: [9, 11, 4]
Generated Node #0,0: 36:[9, 11, 4] Operation: 20-16=4
Exploring Operation: 16-11=5, Resulting Numbers: [9, 20, 5]
Generated Node #0,1: 36:[9, 20, 5] Operation: 16-11=5
Exploring Operation: 20-11=9, Resulting Numbers: [9, 16, 9]
Generated Node #0,2: 36:[9, 16, 9] Operation: 20-11=9
Exploring Operation: 20+16=36, Resulting Numbers: [9, 11, 36]
Generated Node #0,3: 36:[9, 11, 36] Operation: 20+16=36
Moving to Node #0,0
Current State: 36:[9, 11, 4], Operations: ['20-16=4']
Exploring Operation: 9+11=20, Resulting Numbers: [4, 20]
Generated Node #0,0,0: 36:[4, 20] Operation: 9+11=20
Exploring Operation: 11-4=7, Resulting Numbers: [9, 7]
Generated Node #0,0,1: 36:[9, 7] Operation: 11-4=7
Exploring Operation: 9*4=36, Resulting Numbers: [11, 36]
Generated Node #0,0,2: 36:[11, 36] Operation: 9*4=36
Exploring Operation: 11-9=2, Resulting Numbers: [4, 2]
Generated Node #0,0,3: 36:[4, 2] Operation: 11-9=2
Moving to Node #0,3
Current State: 36:[9, 11, 36], Operations: ['20+16=36']
Exploring Operation: 36-11=25, Resulting Numbers: [9, 25]
Generated Node #0,3,0: 36:[9, 25] Operation: 36-11=25
Exploring Operation: 9+11=20, Resulting Numbers: [36, 20]
Generated Node #0,3,1: 36:[36, 20] Operation: 9+11=20
Exploring Operation: 36/9=4, Resulting Numbers: [11, 4]
Generated Node #0,3,2: 36:[11, 4] Operation: 36/9=4
Exploring Operation: 11-9=2, Resulting Numbers: [36, 2]
Generated Node #0,3,3: 36:[36, 2] Operation: 11-9=2
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 36:[36, 2], Operations: ['20+16=36', '11-9=2']
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,36 unequal: No Solution
Exploring Operation: 36*2=72, Resulting Numbers: [72]
72,36 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,36 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 36:[11, 4], Operations: ['20+16=36', '36/9=4']
Exploring Operation: 11+4=15, Resulting Numbers: [15]
15,36 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,36 unequal: No Solution
Exploring Operation: 11*4=44, Resulting Numbers: [44]
44,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 36:[36, 20], Operations: ['20+16=36', '9+11=20']
Exploring Operation: 36*20=720, Resulting Numbers: [720]
720,36 unequal: No Solution
Exploring Operation: 36+20=56, Resulting Numbers: [56]
56,36 unequal: No Solution
Exploring Operation: 36-20=16, Resulting Numbers: [16]
16,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 36:[9, 25], Operations: ['20+16=36', '36-11=25']
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,36 unequal: No Solution
Exploring Operation: 9*25=225, Resulting Numbers: [225]
225,36 unequal: No Solution
Exploring Operation: 9+25=34, Resulting Numbers: [34]
34,36 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: 36:[9, 16, 9], Operations: ['20-11=9']
Exploring Operation: 9/9=1, Resulting Numbers: [16, 1]
Generated Node #0,2,0: 36:[16, 1] Operation: 9/9=1
Exploring Operation: 9+9=18, Resulting Numbers: [16, 18]
Generated Node #0,2,1: 36:[16, 18] Operation: 9+9=18
Exploring Operation: 16-9=7, Resulting Numbers: [9, 7]
Generated Node #0,2,2: 36:[9, 7] Operation: 16-9=7
Exploring Operation: 16-9=7, Resulting Numbers: [9, 7]
Generated Node #0,2,3: 36:[9, 7] Operation: 16-9=7
Moving to Node #0,1
Current State: 36:[9, 20, 5], Operations: ['16-11=5']
Exploring Operation: 9-5=4, Resulting Numbers: [20, 4]
Generated Node #0,1,0: 36:[20, 4] Operation: 9-5=4
Exploring Operation: 20-9=11, Resulting Numbers: [5, 11]
Generated Node #0,1,1: 36:[5, 11] Operation: 20-9=11
Exploring Operation: 20-5=15, Resulting Numbers: [9, 15]
Generated Node #0,1,2: 36:[9, 15] Operation: 20-5=15
Exploring Operation: 20/5=4, Resulting Numbers: [9, 4]
Generated Node #0,1,3: 36:[9, 4] Operation: 20/5=4
Moving to Node #0,0,3
Current State: 36:[4, 2], Operations: ['20-16=4', '11-9=2']
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,36 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,36 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,36 unequal: No Solution
Moving to Node #0,1,3
Current State: 36:[9, 4], Operations: ['16-11=5', '20/5=4']
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 9*4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[9, 20, 16, 11], Operations: []
Exploring Operation: 16-11=5, Resulting Numbers: [9, 20, 5]
Generated Node #0,1: 36:[9, 20, 5] Operation: 16-11=5
Moving to Node #0,1
Current State: 36:[9, 20, 5], Operations: ['16-11=5']
Exploring Operation: 20/5=4, Resulting Numbers: [9, 4]
Generated Node #0,1,3: 36:[9, 4] Operation: 20/5=4
Moving to Node #0,1,3
Current State: 36:[9, 4], Operations: ['16-11=5', '20/5=4']
Exploring Operation: 9*4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 0.962674 | hs_4 | sum_heuristic |
[
19,
41,
25,
17
] | 33 | [
"19-17=2",
"41+25=66",
"66/2=33"
] | Current State: 33:[19, 41, 25, 17], Operations: []
Exploring Operation: 19-17=2, Resulting Numbers: [41, 25, 2]
Generated Node #2: [41, 25, 2] from Operation: 19-17=2
Current State: 33:[41, 25, 2], Operations: ['19-17=2']
Exploring Operation: 41+25=66, Resulting Numbers: [2, 66]
Generated Node #3: [2, 66] from Operation: 41+25=66
Current State: 33:[2, 66], Operations: ['19-17=2', '41+25=66']
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[19, 41, 25, 17], Operations: []
Exploring Operation: 25-19=6, Resulting Numbers: [41, 17, 6]
Generated Node #0,0: 33:[41, 17, 6] Operation: 25-19=6
Moving to Node #0,0
Current State: 33:[41, 17, 6], Operations: ['25-19=6']
Exploring Operation: 41-6=35, Resulting Numbers: [17, 35]
Generated Node #0,0,0: 33:[17, 35] Operation: 41-6=35
Moving to Node #0,0,0
Current State: 33:[17, 35], Operations: ['25-19=6', '41-6=35']
Exploring Operation: 35-17=18, Resulting Numbers: [18]
18,33 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
2,
89,
13,
1
] | 95 | [
"13-1=12",
"12/2=6",
"89+6=95"
] | Current State: 95:[2, 89, 13, 1], Operations: []
Exploring Operation: 13-1=12, Resulting Numbers: [2, 89, 12]
Generated Node #2: [2, 89, 12] from Operation: 13-1=12
Current State: 95:[2, 89, 12], Operations: ['13-1=12']
Exploring Operation: 12/2=6, Resulting Numbers: [89, 6]
Generated Node #3: [89, 6] from Operation: 12/2=6
Current State: 95:[89, 6], Operations: ['13-1=12', '12/2=6']
Exploring Operation: 89+6=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[2, 89, 13, 1], Operations: []
Exploring Operation: 89+13=102, Resulting Numbers: [2, 1, 102]
Generated Node #0,0: 95:[2, 1, 102] Operation: 89+13=102
Exploring Operation: 89+1=90, Resulting Numbers: [2, 13, 90]
Generated Node #0,1: 95:[2, 13, 90] Operation: 89+1=90
Exploring Operation: 2+1=3, Resulting Numbers: [89, 13, 3]
Generated Node #0,2: 95:[89, 13, 3] Operation: 2+1=3
Exploring Operation: 2+89=91, Resulting Numbers: [13, 1, 91]
Generated Node #0,3: 95:[13, 1, 91] Operation: 2+89=91
Exploring Operation: 2+13=15, Resulting Numbers: [89, 1, 15]
Generated Node #0,4: 95:[89, 1, 15] Operation: 2+13=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[2, 1, 102], Operations: ['89+13=102']
Exploring Operation: 2*1=2, Resulting Numbers: [102, 2]
Generated Node #0,0,0: 95:[102, 2] Operation: 2*1=2
Exploring Operation: 2/1=2, Resulting Numbers: [102, 2]
Generated Node #0,0,1: 95:[102, 2] Operation: 2/1=2
Exploring Operation: 2+1=3, Resulting Numbers: [102, 3]
Generated Node #0,0,2: 95:[102, 3] Operation: 2+1=3
Exploring Operation: 102-1=101, Resulting Numbers: [2, 101]
Generated Node #0,0,3: 95:[2, 101] Operation: 102-1=101
Exploring Operation: 102-2=100, Resulting Numbers: [1, 100]
Generated Node #0,0,4: 95:[1, 100] Operation: 102-2=100
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 95:[102, 3], Operations: ['89+13=102', '2+1=3']
Exploring Operation: 102/3=34, Resulting Numbers: [34]
34,95 unequal: No Solution
Exploring Operation: 102-3=99, Resulting Numbers: [99]
99,95 unequal: No Solution
Exploring Operation: 102*3=306, Resulting Numbers: [306]
306,95 unequal: No Solution
Exploring Operation: 102+3=105, Resulting Numbers: [105]
105,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:[2, 101], Operations: ['89+13=102', '102-1=101']
Exploring Operation: 101-2=99, Resulting Numbers: [99]
99,95 unequal: No Solution
Exploring Operation: 2+101=103, Resulting Numbers: [103]
103,95 unequal: No Solution
Exploring Operation: 2*101=202, Resulting Numbers: [202]
202,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:[1, 100], Operations: ['89+13=102', '102-2=100']
Exploring Operation: 100/1=100, Resulting Numbers: [100]
100,95 unequal: No Solution
Exploring Operation: 100-1=99, Resulting Numbers: [99]
99,95 unequal: No Solution
Exploring Operation: 1*100=100, Resulting Numbers: [100]
100,95 unequal: No Solution
Exploring Operation: 1+100=101, Resulting Numbers: [101]
101,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,0
Current State: 95:[102, 2], Operations: ['89+13=102', '2*1=2']
Exploring Operation: 102*2=204, Resulting Numbers: [204]
204,95 unequal: No Solution
Exploring Operation: 102-2=100, Resulting Numbers: [100]
100,95 unequal: No Solution
Exploring Operation: 102+2=104, Resulting Numbers: [104]
104,95 unequal: No Solution
Exploring Operation: 102/2=51, Resulting Numbers: [51]
51,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:[102, 2], Operations: ['89+13=102', '2/1=2']
Exploring Operation: 102-2=100, Resulting Numbers: [100]
100,95 unequal: No Solution
Exploring Operation: 102+2=104, Resulting Numbers: [104]
104,95 unequal: No Solution
Exploring Operation: 102/2=51, Resulting Numbers: [51]
51,95 unequal: No Solution
Exploring Operation: 102*2=204, Resulting Numbers: [204]
204,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:[2, 13, 90], Operations: ['89+1=90']
Exploring Operation: 2*13=26, Resulting Numbers: [90, 26]
Generated Node #0,1,0: 95:[90, 26] Operation: 2*13=26
Exploring Operation: 13+90=103, Resulting Numbers: [2, 103]
Generated Node #0,1,1: 95:[2, 103] Operation: 13+90=103
Exploring Operation: 2+90=92, Resulting Numbers: [13, 92]
Generated Node #0,1,2: 95:[13, 92] Operation: 2+90=92
Exploring Operation: 13-2=11, Resulting Numbers: [90, 11]
Generated Node #0,1,3: 95:[90, 11] Operation: 13-2=11
Exploring Operation: 2+13=15, Resulting Numbers: [90, 15]
Generated Node #0,1,4: 95:[90, 15] Operation: 2+13=15
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 95:[13, 92], Operations: ['89+1=90', '2+90=92']
Exploring Operation: 13*92=1196, Resulting Numbers: [1196]
1196,95 unequal: No Solution
Exploring Operation: 13+92=105, Resulting Numbers: [105]
105,95 unequal: No Solution
Exploring Operation: 92-13=79, Resulting Numbers: [79]
79,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:[90, 15], Operations: ['89+1=90', '2+13=15']
Exploring Operation: 90*15=1350, Resulting Numbers: [1350]
1350,95 unequal: No Solution
Exploring Operation: 90/15=6, Resulting Numbers: [6]
6,95 unequal: No Solution
Exploring Operation: 90+15=105, Resulting Numbers: [105]
105,95 unequal: No Solution
Exploring Operation: 90-15=75, Resulting Numbers: [75]
75,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,1
Current State: 95:[2, 103], Operations: ['89+1=90', '13+90=103']
Exploring Operation: 103-2=101, Resulting Numbers: [101]
101,95 unequal: No Solution
Exploring Operation: 2+103=105, Resulting Numbers: [105]
105,95 unequal: No Solution
Exploring Operation: 2*103=206, Resulting Numbers: [206]
206,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:[90, 11], Operations: ['89+1=90', '13-2=11']
Exploring Operation: 90+11=101, Resulting Numbers: [101]
101,95 unequal: No Solution
Exploring Operation: 90-11=79, Resulting Numbers: [79]
79,95 unequal: No Solution
Exploring Operation: 90*11=990, Resulting Numbers: [990]
990,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:[90, 26], Operations: ['89+1=90', '2*13=26']
Exploring Operation: 90*26=2340, Resulting Numbers: [2340]
2340,95 unequal: No Solution
Exploring Operation: 90+26=116, Resulting Numbers: [116]
116,95 unequal: No Solution
Exploring Operation: 90-26=64, Resulting Numbers: [64]
64,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,2
Current State: 95:[89, 13, 3], Operations: ['2+1=3']
Exploring Operation: 89-3=86, Resulting Numbers: [13, 86]
Generated Node #0,2,0: 95:[13, 86] Operation: 89-3=86
Exploring Operation: 13-3=10, Resulting Numbers: [89, 10]
Generated Node #0,2,1: 95:[89, 10] Operation: 13-3=10
Exploring Operation: 13+3=16, Resulting Numbers: [89, 16]
Generated Node #0,2,2: 95:[89, 16] Operation: 13+3=16
Exploring Operation: 89+3=92, Resulting Numbers: [13, 92]
Generated Node #0,2,3: 95:[13, 92] Operation: 89+3=92
Exploring Operation: 89+13=102, Resulting Numbers: [3, 102]
Generated Node #0,2,4: 95:[3, 102] Operation: 89+13=102
Moving to Node #0,2,2
Current State: 95:[89, 16], Operations: ['2+1=3', '13+3=16']
Exploring Operation: 89-16=73, Resulting Numbers: [73]
73,95 unequal: No Solution
Exploring Operation: 89+16=105, Resulting Numbers: [105]
105,95 unequal: No Solution
Exploring Operation: 89*16=1424, Resulting Numbers: [1424]
1424,95 unequal: No Solution
Moving to Node #0,2,4
Current State: 95:[3, 102], Operations: ['2+1=3', '89+13=102']
Exploring Operation: 3*102=306, Resulting Numbers: [306]
306,95 unequal: No Solution
Exploring Operation: 102/3=34, Resulting Numbers: [34]
34,95 unequal: No Solution
Exploring Operation: 102-3=99, Resulting Numbers: [99]
99,95 unequal: No Solution
Exploring Operation: 3+102=105, Resulting Numbers: [105]
105,95 unequal: No Solution
Moving to Node #0,2,3
Current State: 95:[13, 92], Operations: ['2+1=3', '89+3=92']
Exploring Operation: 13+92=105, Resulting Numbers: [105]
105,95 unequal: No Solution
Exploring Operation: 13*92=1196, Resulting Numbers: [1196]
1196,95 unequal: No Solution
Exploring Operation: 92-13=79, Resulting Numbers: [79]
79,95 unequal: No Solution
Moving to Node #0,2,1
Current State: 95:[89, 10], Operations: ['2+1=3', '13-3=10']
Exploring Operation: 89-10=79, Resulting Numbers: [79]
79,95 unequal: No Solution
Exploring Operation: 89*10=890, Resulting Numbers: [890]
890,95 unequal: No Solution
Exploring Operation: 89+10=99, Resulting Numbers: [99]
99,95 unequal: No Solution
Moving to Node #0,2,0
Current State: 95:[13, 86], Operations: ['2+1=3', '89-3=86']
Exploring Operation: 86-13=73, Resulting Numbers: [73]
73,95 unequal: No Solution
Exploring Operation: 13*86=1118, Resulting Numbers: [1118]
1118,95 unequal: No Solution
Exploring Operation: 13+86=99, Resulting Numbers: [99]
99,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,3
Current State: 95:[13, 1, 91], Operations: ['2+89=91']
Exploring Operation: 91/13=7, Resulting Numbers: [1, 7]
Generated Node #0,3,0: 95:[1, 7] Operation: 91/13=7
Exploring Operation: 1+91=92, Resulting Numbers: [13, 92]
Generated Node #0,3,1: 95:[13, 92] Operation: 1+91=92
Exploring Operation: 13+1=14, Resulting Numbers: [91, 14]
Generated Node #0,3,2: 95:[91, 14] Operation: 13+1=14
Exploring Operation: 13*1=13, Resulting Numbers: [91, 13]
Generated Node #0,3,3: 95:[91, 13] Operation: 13*1=13
Exploring Operation: 13/1=13, Resulting Numbers: [91, 13]
Generated Node #0,3,4: 95:[91, 13] Operation: 13/1=13
Moving to Node #0,3,0
Current State: 95:[1, 7], Operations: ['2+89=91', '91/13=7']
Exploring Operation: 1*7=7, Resulting Numbers: [7]
7,95 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,95 unequal: No Solution
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,95 unequal: No Solution
Exploring Operation: 1+7=8, Resulting Numbers: [8]
8,95 unequal: No Solution
Moving to Node #0,3,2
Current State: 95:[91, 14], Operations: ['2+89=91', '13+1=14']
Exploring Operation: 91*14=1274, Resulting Numbers: [1274]
1274,95 unequal: No Solution
Exploring Operation: 91+14=105, Resulting Numbers: [105]
105,95 unequal: No Solution
Exploring Operation: 91-14=77, Resulting Numbers: [77]
77,95 unequal: No Solution
Moving to Node #0,3,1
Current State: 95:[13, 92], Operations: ['2+89=91', '1+91=92']
Exploring Operation: 13+92=105, Resulting Numbers: [105]
105,95 unequal: No Solution
Exploring Operation: 92-13=79, Resulting Numbers: [79]
79,95 unequal: No Solution
Exploring Operation: 13*92=1196, Resulting Numbers: [1196]
1196,95 unequal: No Solution
Moving to Node #0,3,3
Current State: 95:[91, 13], Operations: ['2+89=91', '13*1=13']
Exploring Operation: 91/13=7, Resulting Numbers: [7]
7,95 unequal: No Solution
Exploring Operation: 91+13=104, Resulting Numbers: [104]
104,95 unequal: No Solution
Exploring Operation: 91*13=1183, Resulting Numbers: [1183]
1183,95 unequal: No Solution
Exploring Operation: 91-13=78, Resulting Numbers: [78]
78,95 unequal: No Solution
Moving to Node #0,3,4
Current State: 95:[91, 13], Operations: ['2+89=91', '13/1=13']
Exploring Operation: 91+13=104, Resulting Numbers: [104]
104,95 unequal: No Solution
Exploring Operation: 91-13=78, Resulting Numbers: [78]
78,95 unequal: No Solution
Exploring Operation: 91/13=7, Resulting Numbers: [7]
7,95 unequal: No Solution
Exploring Operation: 91*13=1183, Resulting Numbers: [1183]
1183,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,4
Current State: 95:[89, 1, 15], Operations: ['2+13=15']
Exploring Operation: 1+15=16, Resulting Numbers: [89, 16]
Generated Node #0,4,0: 95:[89, 16] Operation: 1+15=16
Exploring Operation: 89+1=90, Resulting Numbers: [15, 90]
Generated Node #0,4,1: 95:[15, 90] Operation: 89+1=90
Exploring Operation: 89/1=89, Resulting Numbers: [15, 89]
Generated Node #0,4,2: 95:[15, 89] Operation: 89/1=89
Exploring Operation: 89*1=89, Resulting Numbers: [15, 89]
Generated Node #0,4,3: 95:[15, 89] Operation: 89*1=89
Exploring Operation: 1*15=15, Resulting Numbers: [89, 15]
Generated Node #0,4,4: 95:[89, 15] Operation: 1*15=15
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 95:[89, 16], Operations: ['2+13=15', '1+15=16']
Exploring Operation: 89*16=1424, Resulting Numbers: [1424]
1424,95 unequal: No Solution
Exploring Operation: 89+16=105, Resulting Numbers: [105]
105,95 unequal: No Solution
Exploring Operation: 89-16=73, Resulting Numbers: [73]
73,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,4,1
Current State: 95:[15, 90], Operations: ['2+13=15', '89+1=90']
Exploring Operation: 90-15=75, Resulting Numbers: [75]
75,95 unequal: No Solution
Exploring Operation: 90/15=6, Resulting Numbers: [6]
6,95 unequal: No Solution
Exploring Operation: 15*90=1350, Resulting Numbers: [1350]
1350,95 unequal: No Solution
Exploring Operation: 15+90=105, Resulting Numbers: [105]
105,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,4,2
Current State: 95:[15, 89], Operations: ['2+13=15', '89/1=89']
Exploring Operation: 15*89=1335, Resulting Numbers: [1335]
1335,95 unequal: No Solution
Exploring Operation: 89-15=74, Resulting Numbers: [74]
74,95 unequal: No Solution
Exploring Operation: 15+89=104, Resulting Numbers: [104]
104,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,4,3
Current State: 95:[15, 89], Operations: ['2+13=15', '89*1=89']
Exploring Operation: 15+89=104, Resulting Numbers: [104]
104,95 unequal: No Solution
Exploring Operation: 89-15=74, Resulting Numbers: [74]
74,95 unequal: No Solution
Exploring Operation: 15*89=1335, Resulting Numbers: [1335]
1335,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,4,4
Current State: 95:[89, 15], Operations: ['2+13=15', '1*15=15']
Exploring Operation: 89*15=1335, Resulting Numbers: [1335]
1335,95 unequal: No Solution
Exploring Operation: 89-15=74, Resulting Numbers: [74]
74,95 unequal: No Solution
Exploring Operation: 89+15=104, Resulting Numbers: [104]
104,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 | sum_heuristic |
[
65,
52,
14,
96
] | 97 | [
"65-52=13",
"14+96=110",
"110-13=97"
] | Current State: 97:[65, 52, 14, 96], Operations: []
Exploring Operation: 65-52=13, Resulting Numbers: [14, 96, 13]
Generated Node #2: [14, 96, 13] from Operation: 65-52=13
Current State: 97:[14, 96, 13], Operations: ['65-52=13']
Exploring Operation: 14+96=110, Resulting Numbers: [13, 110]
Generated Node #3: [13, 110] from Operation: 14+96=110
Current State: 97:[13, 110], Operations: ['65-52=13', '14+96=110']
Exploring Operation: 110-13=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[65, 52, 14, 96], Operations: []
Exploring Operation: 65+14=79, Resulting Numbers: [52, 96, 79]
Generated Node #0,0: 97:[52, 96, 79] Operation: 65+14=79
Exploring Operation: 65-14=51, Resulting Numbers: [52, 96, 51]
Generated Node #0,1: 97:[52, 96, 51] Operation: 65-14=51
Exploring Operation: 14+96=110, Resulting Numbers: [65, 52, 110]
Generated Node #0,2: 97:[65, 52, 110] Operation: 14+96=110
Exploring Operation: 52+14=66, Resulting Numbers: [65, 96, 66]
Generated Node #0,3: 97:[65, 96, 66] Operation: 52+14=66
Moving to Node #0,0
Current State: 97:[52, 96, 79], Operations: ['65+14=79']
Exploring Operation: 52+96=148, Resulting Numbers: [79, 148]
Generated Node #0,0,0: 97:[79, 148] Operation: 52+96=148
Exploring Operation: 96-52=44, Resulting Numbers: [79, 44]
Generated Node #0,0,1: 97:[79, 44] Operation: 96-52=44
Exploring Operation: 79-52=27, Resulting Numbers: [96, 27]
Generated Node #0,0,2: 97:[96, 27] Operation: 79-52=27
Exploring Operation: 52+79=131, Resulting Numbers: [96, 131]
Generated Node #0,0,3: 97:[96, 131] Operation: 52+79=131
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 97:[96, 131], Operations: ['65+14=79', '52+79=131']
Exploring Operation: 96+131=227, Resulting Numbers: [227]
227,97 unequal: No Solution
Exploring Operation: 96*131=12576, Resulting Numbers: [12576]
12576,97 unequal: No Solution
Exploring Operation: 131-96=35, Resulting Numbers: [35]
35,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[79, 148], Operations: ['65+14=79', '52+96=148']
Exploring Operation: 79+148=227, Resulting Numbers: [227]
227,97 unequal: No Solution
Exploring Operation: 148-79=69, Resulting Numbers: [69]
69,97 unequal: No Solution
Exploring Operation: 79*148=11692, Resulting Numbers: [11692]
11692,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 97:[79, 44], Operations: ['65+14=79', '96-52=44']
Exploring Operation: 79*44=3476, Resulting Numbers: [3476]
3476,97 unequal: No Solution
Exploring Operation: 79+44=123, Resulting Numbers: [123]
123,97 unequal: No Solution
Exploring Operation: 79-44=35, Resulting Numbers: [35]
35,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 97:[96, 27], Operations: ['65+14=79', '79-52=27']
Exploring Operation: 96+27=123, Resulting Numbers: [123]
123,97 unequal: No Solution
Exploring Operation: 96-27=69, Resulting Numbers: [69]
69,97 unequal: No Solution
Exploring Operation: 96*27=2592, Resulting Numbers: [2592]
2592,97 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: 97:[65, 96, 66], Operations: ['52+14=66']
Exploring Operation: 96-65=31, Resulting Numbers: [66, 31]
Generated Node #0,3,0: 97:[66, 31] Operation: 96-65=31
Exploring Operation: 65+96=161, Resulting Numbers: [66, 161]
Generated Node #0,3,1: 97:[66, 161] Operation: 65+96=161
Exploring Operation: 66-65=1, Resulting Numbers: [96, 1]
Generated Node #0,3,2: 97:[96, 1] Operation: 66-65=1
Exploring Operation: 65+66=131, Resulting Numbers: [96, 131]
Generated Node #0,3,3: 97:[96, 131] Operation: 65+66=131
Moving to Node #0,2
Current State: 97:[65, 52, 110], Operations: ['14+96=110']
Exploring Operation: 65-52=13, Resulting Numbers: [110, 13]
Generated Node #0,2,0: 97:[110, 13] Operation: 65-52=13
Exploring Operation: 65+52=117, Resulting Numbers: [110, 117]
Generated Node #0,2,1: 97:[110, 117] Operation: 65+52=117
Exploring Operation: 110-52=58, Resulting Numbers: [65, 58]
Generated Node #0,2,2: 97:[65, 58] Operation: 110-52=58
Exploring Operation: 110-65=45, Resulting Numbers: [52, 45]
Generated Node #0,2,3: 97:[52, 45] Operation: 110-65=45
Moving to Node #0,1
Current State: 97:[52, 96, 51], Operations: ['65-14=51']
Exploring Operation: 96+51=147, Resulting Numbers: [52, 147]
Generated Node #0,1,0: 97:[52, 147] Operation: 96+51=147
Exploring Operation: 52-51=1, Resulting Numbers: [96, 1]
Generated Node #0,1,1: 97:[96, 1] Operation: 52-51=1
Exploring Operation: 52+51=103, Resulting Numbers: [96, 103]
Generated Node #0,1,2: 97:[96, 103] Operation: 52+51=103
Exploring Operation: 52+96=148, Resulting Numbers: [51, 148]
Generated Node #0,1,3: 97:[51, 148] Operation: 52+96=148
Moving to Node #0,1,2
Current State: 97:[96, 103], Operations: ['65-14=51', '52+51=103']
Exploring Operation: 96*103=9888, Resulting Numbers: [9888]
9888,97 unequal: No Solution
Exploring Operation: 96+103=199, Resulting Numbers: [199]
199,97 unequal: No Solution
Exploring Operation: 103-96=7, Resulting Numbers: [7]
7,97 unequal: No Solution
Moving to Node #0,2,1
Current State: 97:[110, 117], Operations: ['14+96=110', '65+52=117']
Exploring Operation: 110+117=227, Resulting Numbers: [227]
227,97 unequal: No Solution
Exploring Operation: 117-110=7, Resulting Numbers: [7]
7,97 unequal: No Solution
Exploring Operation: 110*117=12870, Resulting Numbers: [12870]
12870,97 unequal: No Solution
Moving to Node #0,3,3
Current State: 97:[96, 131], Operations: ['52+14=66', '65+66=131']
Exploring Operation: 96*131=12576, Resulting Numbers: [12576]
12576,97 unequal: No Solution
Exploring Operation: 96+131=227, Resulting Numbers: [227]
227,97 unequal: No Solution
Exploring Operation: 131-96=35, Resulting Numbers: [35]
35,97 unequal: No Solution
Moving to Node #0,2,2
Current State: 97:[65, 58], Operations: ['14+96=110', '110-52=58']
Exploring Operation: 65*58=3770, Resulting Numbers: [3770]
3770,97 unequal: No Solution
Exploring Operation: 65+58=123, Resulting Numbers: [123]
123,97 unequal: No Solution
Exploring Operation: 65-58=7, Resulting Numbers: [7]
7,97 unequal: No Solution
Moving to Node #0,3,1
Current State: 97:[66, 161], Operations: ['52+14=66', '65+96=161']
Exploring Operation: 66*161=10626, Resulting Numbers: [10626]
10626,97 unequal: No Solution
Exploring Operation: 161-66=95, Resulting Numbers: [95]
95,97 unequal: No Solution
Exploring Operation: 66+161=227, Resulting Numbers: [227]
227,97 unequal: No Solution
Moving to Node #0,1,0
Current State: 97:[52, 147], Operations: ['65-14=51', '96+51=147']
Exploring Operation: 52*147=7644, Resulting Numbers: [7644]
7644,97 unequal: No Solution
Exploring Operation: 52+147=199, Resulting Numbers: [199]
199,97 unequal: No Solution
Exploring Operation: 147-52=95, Resulting Numbers: [95]
95,97 unequal: No Solution
Moving to Node #0,2,0
Current State: 97:[110, 13], Operations: ['14+96=110', '65-52=13']
Exploring Operation: 110+13=123, Resulting Numbers: [123]
123,97 unequal: No Solution
Exploring Operation: 110-13=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
Moving to Node #0
Current State: 97:[65, 52, 14, 96], Operations: []
Exploring Operation: 14+96=110, Resulting Numbers: [65, 52, 110]
Generated Node #0,2: 97:[65, 52, 110] Operation: 14+96=110
Moving to Node #0,2
Current State: 97:[65, 52, 110], Operations: ['14+96=110']
Exploring Operation: 65-52=13, Resulting Numbers: [110, 13]
Generated Node #0,2,0: 97:[110, 13] Operation: 65-52=13
Moving to Node #0,2,0
Current State: 97:[110, 13], Operations: ['14+96=110', '65-52=13']
Exploring Operation: 110-13=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 0.951389 | hs_4 | mult_heuristic |
[
17,
59,
17,
47
] | 72 | [
"59-17=42",
"47-17=30",
"42+30=72"
] | Current State: 72:[17, 59, 17, 47], Operations: []
Exploring Operation: 59-17=42, Resulting Numbers: [47, 42]
Generated Node #2: [47, 42] from Operation: 59-17=42
Current State: 72:[47, 42], Operations: ['59-17=42']
Exploring Operation: 47-17=30, Resulting Numbers: [42, 30]
Generated Node #3: [42, 30] from Operation: 47-17=30
Current State: 72:[42, 30], Operations: ['59-17=42', '47-17=30']
Exploring Operation: 42+30=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[17, 59, 17, 47], Operations: []
Exploring Operation: 59-47=12, Resulting Numbers: [17, 17, 12]
Generated Node #0,0: 72:[17, 17, 12] Operation: 59-47=12
Exploring Operation: 17+59=76, Resulting Numbers: [17, 47, 76]
Generated Node #0,1: 72:[17, 47, 76] Operation: 17+59=76
Moving to Node #0,0
Current State: 72:[17, 17, 12], Operations: ['59-47=12']
Exploring Operation: 17/17=1, Resulting Numbers: [12, 1]
Generated Node #0,0,0: 72:[12, 1] Operation: 17/17=1
Exploring Operation: 17+17=34, Resulting Numbers: [12, 34]
Generated Node #0,0,1: 72:[12, 34] Operation: 17+17=34
Moving to Node #0,1
Current State: 72:[17, 47, 76], Operations: ['17+59=76']
Exploring Operation: 47-17=30, Resulting Numbers: [76, 30]
Generated Node #0,1,0: 72:[76, 30] Operation: 47-17=30
Exploring Operation: 76-47=29, Resulting Numbers: [17, 29]
Generated Node #0,1,1: 72:[17, 29] Operation: 76-47=29
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 72:[17, 29], Operations: ['17+59=76', '76-47=29']
Exploring Operation: 29-17=12, Resulting Numbers: [12]
12,72 unequal: No Solution
Exploring Operation: 17+29=46, Resulting Numbers: [46]
46,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,0
Current State: 72:[76, 30], Operations: ['17+59=76', '47-17=30']
Exploring Operation: 76-30=46, Resulting Numbers: [46]
46,72 unequal: No Solution
Exploring Operation: 76+30=106, Resulting Numbers: [106]
106,72 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: 72:[12, 1], Operations: ['59-47=12', '17/17=1']
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,72 unequal: No Solution
Exploring Operation: 12*1=12, Resulting Numbers: [12]
12,72 unequal: No Solution
Moving to Node #0,0,1
Current State: 72:[12, 34], Operations: ['59-47=12', '17+17=34']
Exploring Operation: 12+34=46, Resulting Numbers: [46]
46,72 unequal: No Solution
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,72 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
16,
10,
16,
51
] | 93 | [
"16+10=26",
"16+51=67",
"26+67=93"
] | Current State: 93:[16, 10, 16, 51], Operations: []
Exploring Operation: 16+10=26, Resulting Numbers: [51, 26]
Generated Node #2: [51, 26] from Operation: 16+10=26
Current State: 93:[51, 26], Operations: ['16+10=26']
Exploring Operation: 16+51=67, Resulting Numbers: [26, 67]
Generated Node #3: [26, 67] from Operation: 16+51=67
Current State: 93:[26, 67], Operations: ['16+10=26', '16+51=67']
Exploring Operation: 26+67=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[16, 10, 16, 51], Operations: []
Exploring Operation: 16/16=1, Resulting Numbers: [10, 51, 1]
Generated Node #0,0: 93:[10, 51, 1] Operation: 16/16=1
Exploring Operation: 16+16=32, Resulting Numbers: [10, 51, 32]
Generated Node #0,1: 93:[10, 51, 32] Operation: 16+16=32
Exploring Operation: 51-16=35, Resulting Numbers: [16, 10, 35]
Generated Node #0,2: 93:[16, 10, 35] Operation: 51-16=35
Exploring Operation: 51-16=35, Resulting Numbers: [10, 16, 35]
Generated Node #0,3: 93:[10, 16, 35] Operation: 51-16=35
Start Sub Search at level 1: Moving to Node #0,2
Current State: 93:[16, 10, 35], Operations: ['51-16=35']
Exploring Operation: 35-16=19, Resulting Numbers: [10, 19]
Generated Node #0,2,0: 93:[10, 19] Operation: 35-16=19
Exploring Operation: 16-10=6, Resulting Numbers: [35, 6]
Generated Node #0,2,1: 93:[35, 6] Operation: 16-10=6
Exploring Operation: 35-10=25, Resulting Numbers: [16, 25]
Generated Node #0,2,2: 93:[16, 25] Operation: 35-10=25
Exploring Operation: 16+10=26, Resulting Numbers: [35, 26]
Generated Node #0,2,3: 93:[35, 26] Operation: 16+10=26
Moving to Node #0,2,1
Current State: 93:[35, 6], Operations: ['51-16=35', '16-10=6']
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,93 unequal: No Solution
Exploring Operation: 35*6=210, Resulting Numbers: [210]
210,93 unequal: No Solution
Exploring Operation: 35+6=41, Resulting Numbers: [41]
41,93 unequal: No Solution
Moving to Node #0,2,3
Current State: 93:[35, 26], Operations: ['51-16=35', '16+10=26']
Exploring Operation: 35-26=9, Resulting Numbers: [9]
9,93 unequal: No Solution
Exploring Operation: 35+26=61, Resulting Numbers: [61]
61,93 unequal: No Solution
Exploring Operation: 35*26=910, Resulting Numbers: [910]
910,93 unequal: No Solution
Moving to Node #0,2,2
Current State: 93:[16, 25], Operations: ['51-16=35', '35-10=25']
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,93 unequal: No Solution
Exploring Operation: 16*25=400, Resulting Numbers: [400]
400,93 unequal: No Solution
Exploring Operation: 16+25=41, Resulting Numbers: [41]
41,93 unequal: No Solution
Moving to Node #0,2,0
Current State: 93:[10, 19], Operations: ['51-16=35', '35-16=19']
Exploring Operation: 10+19=29, Resulting Numbers: [29]
29,93 unequal: No Solution
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,93 unequal: No Solution
Exploring Operation: 10*19=190, Resulting Numbers: [190]
190,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 93:[10, 16, 35], Operations: ['51-16=35']
Exploring Operation: 35-16=19, Resulting Numbers: [10, 19]
Generated Node #0,3,0: 93:[10, 19] Operation: 35-16=19
Exploring Operation: 10+16=26, Resulting Numbers: [35, 26]
Generated Node #0,3,1: 93:[35, 26] Operation: 10+16=26
Exploring Operation: 16-10=6, Resulting Numbers: [35, 6]
Generated Node #0,3,2: 93:[35, 6] Operation: 16-10=6
Exploring Operation: 35-10=25, Resulting Numbers: [16, 25]
Generated Node #0,3,3: 93:[16, 25] Operation: 35-10=25
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 93:[35, 6], Operations: ['51-16=35', '16-10=6']
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,93 unequal: No Solution
Exploring Operation: 35*6=210, Resulting Numbers: [210]
210,93 unequal: No Solution
Exploring Operation: 35+6=41, Resulting Numbers: [41]
41,93 unequal: No Solution
No 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: 93:[35, 26], Operations: ['51-16=35', '10+16=26']
Exploring Operation: 35+26=61, Resulting Numbers: [61]
61,93 unequal: No Solution
Exploring Operation: 35-26=9, Resulting Numbers: [9]
9,93 unequal: No Solution
Exploring Operation: 35*26=910, Resulting Numbers: [910]
910,93 unequal: No Solution
No 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: 93:[10, 19], Operations: ['51-16=35', '35-16=19']
Exploring Operation: 10*19=190, Resulting Numbers: [190]
190,93 unequal: No Solution
Exploring Operation: 10+19=29, Resulting Numbers: [29]
29,93 unequal: No Solution
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,93 unequal: No Solution
No 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: 93:[16, 25], Operations: ['51-16=35', '35-10=25']
Exploring Operation: 16*25=400, Resulting Numbers: [400]
400,93 unequal: No Solution
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,93 unequal: No Solution
Exploring Operation: 16+25=41, Resulting Numbers: [41]
41,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[10, 51, 32], Operations: ['16+16=32']
Exploring Operation: 51-32=19, Resulting Numbers: [10, 19]
Generated Node #0,1,0: 93:[10, 19] Operation: 51-32=19
Exploring Operation: 51+32=83, Resulting Numbers: [10, 83]
Generated Node #0,1,1: 93:[10, 83] Operation: 51+32=83
Exploring Operation: 51-10=41, Resulting Numbers: [32, 41]
Generated Node #0,1,2: 93:[32, 41] Operation: 51-10=41
Exploring Operation: 32-10=22, Resulting Numbers: [51, 22]
Generated Node #0,1,3: 93:[51, 22] Operation: 32-10=22
Moving to Node #0,1,2
Current State: 93:[32, 41], Operations: ['16+16=32', '51-10=41']
Exploring Operation: 32*41=1312, Resulting Numbers: [1312]
1312,93 unequal: No Solution
Exploring Operation: 41-32=9, Resulting Numbers: [9]
9,93 unequal: No Solution
Exploring Operation: 32+41=73, Resulting Numbers: [73]
73,93 unequal: No Solution
Moving to Node #0,1,1
Current State: 93:[10, 83], Operations: ['16+16=32', '51+32=83']
Exploring Operation: 10*83=830, Resulting Numbers: [830]
830,93 unequal: No Solution
Exploring Operation: 10+83=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[16, 10, 16, 51], Operations: []
Exploring Operation: 16+16=32, Resulting Numbers: [10, 51, 32]
Generated Node #0,1: 93:[10, 51, 32] Operation: 16+16=32
Moving to Node #0,1
Current State: 93:[10, 51, 32], Operations: ['16+16=32']
Exploring Operation: 51+32=83, Resulting Numbers: [10, 83]
Generated Node #0,1,1: 93:[10, 83] Operation: 51+32=83
Moving to Node #0,1,1
Current State: 93:[10, 83], Operations: ['16+16=32', '51+32=83']
Exploring Operation: 10+83=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.957465 | hs_4 | sum_heuristic |
[
50,
82,
75,
12
] | 90 | [
"50*12=600",
"600/75=8",
"82+8=90"
] | Current State: 90:[50, 82, 75, 12], Operations: []
Exploring Operation: 50*12=600, Resulting Numbers: [82, 75, 600]
Generated Node #2: [82, 75, 600] from Operation: 50*12=600
Current State: 90:[82, 75, 600], Operations: ['50*12=600']
Exploring Operation: 600/75=8, Resulting Numbers: [82, 8]
Generated Node #3: [82, 8] from Operation: 600/75=8
Current State: 90:[82, 8], Operations: ['50*12=600', '600/75=8']
Exploring Operation: 82+8=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[50, 82, 75, 12], Operations: []
Exploring Operation: 75+12=87, Resulting Numbers: [50, 82, 87]
Generated Node #0,0: 90:[50, 82, 87] Operation: 75+12=87
Exploring Operation: 82-75=7, Resulting Numbers: [50, 12, 7]
Generated Node #0,1: 90:[50, 12, 7] Operation: 82-75=7
Exploring Operation: 75-50=25, Resulting Numbers: [82, 12, 25]
Generated Node #0,2: 90:[82, 12, 25] Operation: 75-50=25
Moving to Node #0,1
Current State: 90:[50, 12, 7], Operations: ['82-75=7']
Exploring Operation: 12+7=19, Resulting Numbers: [50, 19]
Generated Node #0,1,0: 90:[50, 19] Operation: 12+7=19
Exploring Operation: 50-7=43, Resulting Numbers: [12, 43]
Generated Node #0,1,1: 90:[12, 43] Operation: 50-7=43
Exploring Operation: 12-7=5, Resulting Numbers: [50, 5]
Generated Node #0,1,2: 90:[50, 5] Operation: 12-7=5
Moving to Node #0,2
Current State: 90:[82, 12, 25], Operations: ['75-50=25']
Exploring Operation: 82+12=94, Resulting Numbers: [25, 94]
Generated Node #0,2,0: 90:[25, 94] Operation: 82+12=94
Exploring Operation: 82-25=57, Resulting Numbers: [12, 57]
Generated Node #0,2,1: 90:[12, 57] Operation: 82-25=57
Exploring Operation: 25-12=13, Resulting Numbers: [82, 13]
Generated Node #0,2,2: 90:[82, 13] Operation: 25-12=13
Moving to Node #0,0
Current State: 90:[50, 82, 87], Operations: ['75+12=87']
Exploring Operation: 87-82=5, Resulting Numbers: [50, 5]
Generated Node #0,0,0: 90:[50, 5] Operation: 87-82=5
Exploring Operation: 87-50=37, Resulting Numbers: [82, 37]
Generated Node #0,0,1: 90:[82, 37] Operation: 87-50=37
Exploring Operation: 82-50=32, Resulting Numbers: [87, 32]
Generated Node #0,0,2: 90:[87, 32] Operation: 82-50=32
Moving to Node #0,1,1
Current State: 90:[12, 43], Operations: ['82-75=7', '50-7=43']
Exploring Operation: 12*43=516, Resulting Numbers: [516]
516,90 unequal: No Solution
Exploring Operation: 12+43=55, Resulting Numbers: [55]
55,90 unequal: No Solution
Exploring Operation: 43-12=31, Resulting Numbers: [31]
31,90 unequal: No Solution
Moving to Node #0,0,0
Current State: 90:[50, 5], Operations: ['75+12=87', '87-82=5']
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,90 unequal: No Solution
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,90 unequal: No Solution
Exploring Operation: 50+5=55, Resulting Numbers: [55]
55,90 unequal: No Solution
Moving to Node #0,1,2
Current State: 90:[50, 5], Operations: ['82-75=7', '12-7=5']
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,90 unequal: No Solution
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,90 unequal: No Solution
Exploring Operation: 50+5=55, Resulting Numbers: [55]
55,90 unequal: No Solution
Moving to Node #0,0,2
Current State: 90:[87, 32], Operations: ['75+12=87', '82-50=32']
Exploring Operation: 87*32=2784, Resulting Numbers: [2784]
2784,90 unequal: No Solution
Exploring Operation: 87+32=119, Resulting Numbers: [119]
119,90 unequal: No Solution
Exploring Operation: 87-32=55, Resulting Numbers: [55]
55,90 unequal: No Solution
Moving to Node #0,1,0
Current State: 90:[50, 19], Operations: ['82-75=7', '12+7=19']
Exploring Operation: 50-19=31, Resulting Numbers: [31]
31,90 unequal: No Solution
Exploring Operation: 50*19=950, Resulting Numbers: [950]
950,90 unequal: No Solution
Exploring Operation: 50+19=69, Resulting Numbers: [69]
69,90 unequal: No Solution
Moving to Node #0,2,0
Current State: 90:[25, 94], Operations: ['75-50=25', '82+12=94']
Exploring Operation: 94-25=69, Resulting Numbers: [69]
69,90 unequal: No Solution
Exploring Operation: 25+94=119, Resulting Numbers: [119]
119,90 unequal: No Solution
Exploring Operation: 25*94=2350, Resulting Numbers: [2350]
2350,90 unequal: No Solution
Moving to Node #0,2,2
Current State: 90:[82, 13], Operations: ['75-50=25', '25-12=13']
Exploring Operation: 82*13=1066, Resulting Numbers: [1066]
1066,90 unequal: No Solution
Exploring Operation: 82+13=95, Resulting Numbers: [95]
95,90 unequal: No Solution
Exploring Operation: 82-13=69, Resulting Numbers: [69]
69,90 unequal: No Solution
Moving to Node #0,2,1
Current State: 90:[12, 57], Operations: ['75-50=25', '82-25=57']
Exploring Operation: 12+57=69, Resulting Numbers: [69]
69,90 unequal: No Solution
Exploring Operation: 12*57=684, Resulting Numbers: [684]
684,90 unequal: No Solution
Exploring Operation: 57-12=45, Resulting Numbers: [45]
45,90 unequal: No Solution
Moving to Node #0,0,1
Current State: 90:[82, 37], Operations: ['75+12=87', '87-50=37']
Exploring Operation: 82*37=3034, Resulting Numbers: [3034]
3034,90 unequal: No Solution
Exploring Operation: 82-37=45, Resulting Numbers: [45]
45,90 unequal: No Solution
Exploring Operation: 82+37=119, Resulting Numbers: [119]
119,90 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
99,
38,
98,
63
] | 49 | [
"99-38=61",
"63-61=2",
"98/2=49"
] | Current State: 49:[99, 38, 98, 63], Operations: []
Exploring Operation: 99-38=61, Resulting Numbers: [98, 63, 61]
Generated Node #2: [98, 63, 61] from Operation: 99-38=61
Current State: 49:[98, 63, 61], Operations: ['99-38=61']
Exploring Operation: 63-61=2, Resulting Numbers: [98, 2]
Generated Node #3: [98, 2] from Operation: 63-61=2
Current State: 49:[98, 2], Operations: ['99-38=61', '63-61=2']
Exploring Operation: 98/2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[99, 38, 98, 63], Operations: []
Exploring Operation: 99-98=1, Resulting Numbers: [38, 63, 1]
Generated Node #0,0: 49:[38, 63, 1] Operation: 99-98=1
Moving to Node #0,0
Current State: 49:[38, 63, 1], Operations: ['99-98=1']
Exploring Operation: 63-38=25, Resulting Numbers: [1, 25]
Generated Node #0,0,0: 49:[1, 25] Operation: 63-38=25
Moving to Node #0,0,0
Current State: 49:[1, 25], Operations: ['99-98=1', '63-38=25']
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,49 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
26,
51,
48,
58
] | 28 | [
"26+58=84",
"51-48=3",
"84/3=28"
] | Current State: 28:[26, 51, 48, 58], Operations: []
Exploring Operation: 26+58=84, Resulting Numbers: [51, 48, 84]
Generated Node #2: [51, 48, 84] from Operation: 26+58=84
Current State: 28:[51, 48, 84], Operations: ['26+58=84']
Exploring Operation: 51-48=3, Resulting Numbers: [84, 3]
Generated Node #3: [84, 3] from Operation: 51-48=3
Current State: 28:[84, 3], Operations: ['26+58=84', '51-48=3']
Exploring Operation: 84/3=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[26, 51, 48, 58], Operations: []
Exploring Operation: 58-51=7, Resulting Numbers: [26, 48, 7]
Generated Node #0,0: 28:[26, 48, 7] Operation: 58-51=7
Exploring Operation: 58-48=10, Resulting Numbers: [26, 51, 10]
Generated Node #0,1: 28:[26, 51, 10] Operation: 58-48=10
Moving to Node #0,0
Current State: 28:[26, 48, 7], Operations: ['58-51=7']
Exploring Operation: 48-7=41, Resulting Numbers: [26, 41]
Generated Node #0,0,0: 28:[26, 41] Operation: 48-7=41
Exploring Operation: 48-26=22, Resulting Numbers: [7, 22]
Generated Node #0,0,1: 28:[7, 22] Operation: 48-26=22
Moving to Node #0,1
Current State: 28:[26, 51, 10], Operations: ['58-48=10']
Exploring Operation: 51-26=25, Resulting Numbers: [10, 25]
Generated Node #0,1,0: 28:[10, 25] Operation: 51-26=25
Exploring Operation: 51-10=41, Resulting Numbers: [26, 41]
Generated Node #0,1,1: 28:[26, 41] Operation: 51-10=41
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 28:[10, 25], Operations: ['58-48=10', '51-26=25']
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,28 unequal: No Solution
Exploring Operation: 10+25=35, Resulting Numbers: [35]
35,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 28:[26, 41], Operations: ['58-48=10', '51-10=41']
Exploring Operation: 26+41=67, Resulting Numbers: [67]
67,28 unequal: No Solution
Exploring Operation: 41-26=15, Resulting Numbers: [15]
15,28 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: 28:[7, 22], Operations: ['58-51=7', '48-26=22']
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,28 unequal: No Solution
Exploring Operation: 7+22=29, Resulting Numbers: [29]
29,28 unequal: No Solution
Moving to Node #0,0,0
Current State: 28:[26, 41], Operations: ['58-51=7', '48-7=41']
Exploring Operation: 26+41=67, Resulting Numbers: [67]
67,28 unequal: No Solution
Exploring Operation: 41-26=15, Resulting Numbers: [15]
15,28 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
28,
19,
32,
70
] | 99 | [
"32*70=2240",
"2240/28=80",
"19+80=99"
] | Current State: 99:[28, 19, 32, 70], Operations: []
Exploring Operation: 32*70=2240, Resulting Numbers: [28, 19, 2240]
Generated Node #2: [28, 19, 2240] from Operation: 32*70=2240
Current State: 99:[28, 19, 2240], Operations: ['32*70=2240']
Exploring Operation: 2240/28=80, Resulting Numbers: [19, 80]
Generated Node #3: [19, 80] from Operation: 2240/28=80
Current State: 99:[19, 80], Operations: ['32*70=2240', '2240/28=80']
Exploring Operation: 19+80=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[28, 19, 32, 70], Operations: []
Exploring Operation: 28+70=98, Resulting Numbers: [19, 32, 98]
Generated Node #0,0: 99:[19, 32, 98] Operation: 28+70=98
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[19, 32, 98], Operations: ['28+70=98']
Exploring Operation: 32-19=13, Resulting Numbers: [98, 13]
Generated Node #0,0,0: 99:[98, 13] Operation: 32-19=13
Moving to Node #0,0,0
Current State: 99:[98, 13], Operations: ['28+70=98', '32-19=13']
Exploring Operation: 98+13=111, Resulting Numbers: [111]
111,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
67,
26,
19,
11
] | 57 | [
"67+11=78",
"78/26=3",
"19*3=57"
] | Current State: 57:[67, 26, 19, 11], Operations: []
Exploring Operation: 67+11=78, Resulting Numbers: [26, 19, 78]
Generated Node #2: [26, 19, 78] from Operation: 67+11=78
Current State: 57:[26, 19, 78], Operations: ['67+11=78']
Exploring Operation: 78/26=3, Resulting Numbers: [19, 3]
Generated Node #3: [19, 3] from Operation: 78/26=3
Current State: 57:[19, 3], Operations: ['67+11=78', '78/26=3']
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[67, 26, 19, 11], Operations: []
Exploring Operation: 67-26=41, Resulting Numbers: [19, 11, 41]
Generated Node #0,0: 57:[19, 11, 41] Operation: 67-26=41
Exploring Operation: 26-19=7, Resulting Numbers: [67, 11, 7]
Generated Node #0,1: 57:[67, 11, 7] Operation: 26-19=7
Exploring Operation: 26-11=15, Resulting Numbers: [67, 19, 15]
Generated Node #0,2: 57:[67, 19, 15] Operation: 26-11=15
Exploring Operation: 67-11=56, Resulting Numbers: [26, 19, 56]
Generated Node #0,3: 57:[26, 19, 56] Operation: 67-11=56
Exploring Operation: 19-11=8, Resulting Numbers: [67, 26, 8]
Generated Node #0,4: 57:[67, 26, 8] Operation: 19-11=8
Start Sub Search at level 1: Moving to Node #0,3
Current State: 57:[26, 19, 56], Operations: ['67-11=56']
Exploring Operation: 26+19=45, Resulting Numbers: [56, 45]
Generated Node #0,3,0: 57:[56, 45] Operation: 26+19=45
Exploring Operation: 26+56=82, Resulting Numbers: [19, 82]
Generated Node #0,3,1: 57:[19, 82] Operation: 26+56=82
Exploring Operation: 26-19=7, Resulting Numbers: [56, 7]
Generated Node #0,3,2: 57:[56, 7] Operation: 26-19=7
Exploring Operation: 56-26=30, Resulting Numbers: [19, 30]
Generated Node #0,3,3: 57:[19, 30] Operation: 56-26=30
Exploring Operation: 19+56=75, Resulting Numbers: [26, 75]
Generated Node #0,3,4: 57:[26, 75] Operation: 19+56=75
Moving to Node #0,3,2
Current State: 57:[56, 7], Operations: ['67-11=56', '26-19=7']
Exploring Operation: 56*7=392, Resulting Numbers: [392]
392,57 unequal: No Solution
Exploring Operation: 56/7=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 56+7=63, Resulting Numbers: [63]
63,57 unequal: No Solution
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,57 unequal: No Solution
Moving to Node #0,3,3
Current State: 57:[19, 30], Operations: ['67-11=56', '56-26=30']
Exploring Operation: 19*30=570, Resulting Numbers: [570]
570,57 unequal: No Solution
Exploring Operation: 19+30=49, Resulting Numbers: [49]
49,57 unequal: No Solution
Exploring Operation: 30-19=11, Resulting Numbers: [11]
11,57 unequal: No Solution
Moving to Node #0,3,0
Current State: 57:[56, 45], Operations: ['67-11=56', '26+19=45']
Exploring Operation: 56*45=2520, Resulting Numbers: [2520]
2520,57 unequal: No Solution
Exploring Operation: 56-45=11, Resulting Numbers: [11]
11,57 unequal: No Solution
Exploring Operation: 56+45=101, Resulting Numbers: [101]
101,57 unequal: No Solution
Moving to Node #0,3,1
Current State: 57:[19, 82], Operations: ['67-11=56', '26+56=82']
Exploring Operation: 82-19=63, Resulting Numbers: [63]
63,57 unequal: No Solution
Exploring Operation: 19+82=101, Resulting Numbers: [101]
101,57 unequal: No Solution
Exploring Operation: 19*82=1558, Resulting Numbers: [1558]
1558,57 unequal: No Solution
Moving to Node #0,3,4
Current State: 57:[26, 75], Operations: ['67-11=56', '19+56=75']
Exploring Operation: 26*75=1950, Resulting Numbers: [1950]
1950,57 unequal: No Solution
Exploring Operation: 75-26=49, Resulting Numbers: [49]
49,57 unequal: No Solution
Exploring Operation: 26+75=101, Resulting Numbers: [101]
101,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 57:[67, 19, 15], Operations: ['26-11=15']
Exploring Operation: 67+15=82, Resulting Numbers: [19, 82]
Generated Node #0,2,0: 57:[19, 82] Operation: 67+15=82
Exploring Operation: 19-15=4, Resulting Numbers: [67, 4]
Generated Node #0,2,1: 57:[67, 4] Operation: 19-15=4
Exploring Operation: 67-15=52, Resulting Numbers: [19, 52]
Generated Node #0,2,2: 57:[19, 52] Operation: 67-15=52
Exploring Operation: 19+15=34, Resulting Numbers: [67, 34]
Generated Node #0,2,3: 57:[67, 34] Operation: 19+15=34
Exploring Operation: 67-19=48, Resulting Numbers: [15, 48]
Generated Node #0,2,4: 57:[15, 48] Operation: 67-19=48
Moving to Node #0,2,2
Current State: 57:[19, 52], Operations: ['26-11=15', '67-15=52']
Exploring Operation: 19+52=71, Resulting Numbers: [71]
71,57 unequal: No Solution
Exploring Operation: 52-19=33, Resulting Numbers: [33]
33,57 unequal: No Solution
Exploring Operation: 19*52=988, Resulting Numbers: [988]
988,57 unequal: No Solution
Moving to Node #0,2,1
Current State: 57:[67, 4], Operations: ['26-11=15', '19-15=4']
Exploring Operation: 67*4=268, Resulting Numbers: [268]
268,57 unequal: No Solution
Exploring Operation: 67+4=71, Resulting Numbers: [71]
71,57 unequal: No Solution
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,57 unequal: No Solution
Moving to Node #0,2,4
Current State: 57:[15, 48], Operations: ['26-11=15', '67-19=48']
Exploring Operation: 48-15=33, Resulting Numbers: [33]
33,57 unequal: No Solution
Exploring Operation: 15+48=63, Resulting Numbers: [63]
63,57 unequal: No Solution
Exploring Operation: 15*48=720, Resulting Numbers: [720]
720,57 unequal: No Solution
Moving to Node #0,2,0
Current State: 57:[19, 82], Operations: ['26-11=15', '67+15=82']
Exploring Operation: 19+82=101, Resulting Numbers: [101]
101,57 unequal: No Solution
Exploring Operation: 82-19=63, Resulting Numbers: [63]
63,57 unequal: No Solution
Exploring Operation: 19*82=1558, Resulting Numbers: [1558]
1558,57 unequal: No Solution
Moving to Node #0,2,3
Current State: 57:[67, 34], Operations: ['26-11=15', '19+15=34']
Exploring Operation: 67*34=2278, Resulting Numbers: [2278]
2278,57 unequal: No Solution
Exploring Operation: 67-34=33, Resulting Numbers: [33]
33,57 unequal: No Solution
Exploring Operation: 67+34=101, Resulting Numbers: [101]
101,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 57:[67, 11, 7], Operations: ['26-19=7']
Exploring Operation: 67+11=78, Resulting Numbers: [7, 78]
Generated Node #0,1,0: 57:[7, 78] Operation: 67+11=78
Exploring Operation: 67-11=56, Resulting Numbers: [7, 56]
Generated Node #0,1,1: 57:[7, 56] Operation: 67-11=56
Exploring Operation: 11-7=4, Resulting Numbers: [67, 4]
Generated Node #0,1,2: 57:[67, 4] Operation: 11-7=4
Exploring Operation: 67-7=60, Resulting Numbers: [11, 60]
Generated Node #0,1,3: 57:[11, 60] Operation: 67-7=60
Exploring Operation: 11+7=18, Resulting Numbers: [67, 18]
Generated Node #0,1,4: 57:[67, 18] Operation: 11+7=18
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 57:[7, 56], Operations: ['26-19=7', '67-11=56']
Exploring Operation: 56/7=8, Resulting Numbers: [8]
8,57 unequal: No Solution
Exploring Operation: 7+56=63, Resulting Numbers: [63]
63,57 unequal: No Solution
Exploring Operation: 7*56=392, Resulting Numbers: [392]
392,57 unequal: No Solution
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 57:[67, 4], Operations: ['26-19=7', '11-7=4']
Exploring Operation: 67*4=268, Resulting Numbers: [268]
268,57 unequal: No Solution
Exploring Operation: 67+4=71, Resulting Numbers: [71]
71,57 unequal: No Solution
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 57:[11, 60], Operations: ['26-19=7', '67-7=60']
Exploring Operation: 11+60=71, Resulting Numbers: [71]
71,57 unequal: No Solution
Exploring Operation: 60-11=49, Resulting Numbers: [49]
49,57 unequal: No Solution
Exploring Operation: 11*60=660, Resulting Numbers: [660]
660,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 57:[67, 18], Operations: ['26-19=7', '11+7=18']
Exploring Operation: 67+18=85, Resulting Numbers: [85]
85,57 unequal: No Solution
Exploring Operation: 67*18=1206, Resulting Numbers: [1206]
1206,57 unequal: No Solution
Exploring Operation: 67-18=49, Resulting Numbers: [49]
49,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 57:[7, 78], Operations: ['26-19=7', '67+11=78']
Exploring Operation: 7*78=546, Resulting Numbers: [546]
546,57 unequal: No Solution
Exploring Operation: 78-7=71, Resulting Numbers: [71]
71,57 unequal: No Solution
Exploring Operation: 7+78=85, Resulting Numbers: [85]
85,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 57:[67, 26, 8], Operations: ['19-11=8']
Exploring Operation: 26+8=34, Resulting Numbers: [67, 34]
Generated Node #0,4,0: 57:[67, 34] Operation: 26+8=34
Exploring Operation: 67-26=41, Resulting Numbers: [8, 41]
Generated Node #0,4,1: 57:[8, 41] Operation: 67-26=41
Exploring Operation: 67+8=75, Resulting Numbers: [26, 75]
Generated Node #0,4,2: 57:[26, 75] Operation: 67+8=75
Exploring Operation: 67-8=59, Resulting Numbers: [26, 59]
Generated Node #0,4,3: 57:[26, 59] Operation: 67-8=59
Exploring Operation: 26-8=18, Resulting Numbers: [67, 18]
Generated Node #0,4,4: 57:[67, 18] Operation: 26-8=18
Moving to Node #0,4,3
Current State: 57:[26, 59], Operations: ['19-11=8', '67-8=59']
Exploring Operation: 26*59=1534, Resulting Numbers: [1534]
1534,57 unequal: No Solution
Exploring Operation: 26+59=85, Resulting Numbers: [85]
85,57 unequal: No Solution
Exploring Operation: 59-26=33, Resulting Numbers: [33]
33,57 unequal: No Solution
Moving to Node #0,4,4
Current State: 57:[67, 18], Operations: ['19-11=8', '26-8=18']
Exploring Operation: 67-18=49, Resulting Numbers: [49]
49,57 unequal: No Solution
Exploring Operation: 67+18=85, Resulting Numbers: [85]
85,57 unequal: No Solution
Exploring Operation: 67*18=1206, Resulting Numbers: [1206]
1206,57 unequal: No Solution
Moving to Node #0,4,1
Current State: 57:[8, 41], Operations: ['19-11=8', '67-26=41']
Exploring Operation: 41-8=33, Resulting Numbers: [33]
33,57 unequal: No Solution
Exploring Operation: 8*41=328, Resulting Numbers: [328]
328,57 unequal: No Solution
Exploring Operation: 8+41=49, Resulting Numbers: [49]
49,57 unequal: No Solution
Moving to Node #0,4,0
Current State: 57:[67, 34], Operations: ['19-11=8', '26+8=34']
Exploring Operation: 67*34=2278, Resulting Numbers: [2278]
2278,57 unequal: No Solution
Exploring Operation: 67-34=33, Resulting Numbers: [33]
33,57 unequal: No Solution
Exploring Operation: 67+34=101, Resulting Numbers: [101]
101,57 unequal: No Solution
Moving to Node #0,4,2
Current State: 57:[26, 75], Operations: ['19-11=8', '67+8=75']
Exploring Operation: 26+75=101, Resulting Numbers: [101]
101,57 unequal: No Solution
Exploring Operation: 26*75=1950, Resulting Numbers: [1950]
1950,57 unequal: No Solution
Exploring Operation: 75-26=49, Resulting Numbers: [49]
49,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[19, 11, 41], Operations: ['67-26=41']
Exploring Operation: 41-11=30, Resulting Numbers: [19, 30]
Generated Node #0,0,0: 57:[19, 30] Operation: 41-11=30
Exploring Operation: 19-11=8, Resulting Numbers: [41, 8]
Generated Node #0,0,1: 57:[41, 8] Operation: 19-11=8
Exploring Operation: 41-19=22, Resulting Numbers: [11, 22]
Generated Node #0,0,2: 57:[11, 22] Operation: 41-19=22
Exploring Operation: 19+41=60, Resulting Numbers: [11, 60]
Generated Node #0,0,3: 57:[11, 60] Operation: 19+41=60
Exploring Operation: 11+41=52, Resulting Numbers: [19, 52]
Generated Node #0,0,4: 57:[19, 52] Operation: 11+41=52
Moving to Node #0,0,4
Current State: 57:[19, 52], Operations: ['67-26=41', '11+41=52']
Exploring Operation: 19+52=71, Resulting Numbers: [71]
71,57 unequal: No Solution
Exploring Operation: 52-19=33, Resulting Numbers: [33]
33,57 unequal: No Solution
Exploring Operation: 19*52=988, Resulting Numbers: [988]
988,57 unequal: No Solution
Moving to Node #0,0,2
Current State: 57:[11, 22], Operations: ['67-26=41', '41-19=22']
Exploring Operation: 11*22=242, Resulting Numbers: [242]
242,57 unequal: No Solution
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,57 unequal: No Solution
Exploring Operation: 11+22=33, Resulting Numbers: [33]
33,57 unequal: No Solution
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Moving to Node #0,0,0
Current State: 57:[19, 30], Operations: ['67-26=41', '41-11=30']
Exploring Operation: 30-19=11, Resulting Numbers: [11]
11,57 unequal: No Solution
Exploring Operation: 19*30=570, Resulting Numbers: [570]
570,57 unequal: No Solution
Exploring Operation: 19+30=49, Resulting Numbers: [49]
49,57 unequal: No Solution
Moving to Node #0,0,3
Current State: 57:[11, 60], Operations: ['67-26=41', '19+41=60']
Exploring Operation: 11+60=71, Resulting Numbers: [71]
71,57 unequal: No Solution
Exploring Operation: 60-11=49, Resulting Numbers: [49]
49,57 unequal: No Solution
Exploring Operation: 11*60=660, Resulting Numbers: [660]
660,57 unequal: No Solution
Moving to Node #0,0,1
Current State: 57:[41, 8], Operations: ['67-26=41', '19-11=8']
Exploring Operation: 41-8=33, Resulting Numbers: [33]
33,57 unequal: No Solution
Exploring Operation: 41*8=328, Resulting Numbers: [328]
328,57 unequal: No Solution
Exploring Operation: 41+8=49, Resulting Numbers: [49]
49,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
3,
8,
1,
69
] | 26 | [
"3*69=207",
"1+207=208",
"208/8=26"
] | Current State: 26:[3, 8, 1, 69], Operations: []
Exploring Operation: 3*69=207, Resulting Numbers: [8, 1, 207]
Generated Node #2: [8, 1, 207] from Operation: 3*69=207
Current State: 26:[8, 1, 207], Operations: ['3*69=207']
Exploring Operation: 1+207=208, Resulting Numbers: [8, 208]
Generated Node #3: [8, 208] from Operation: 1+207=208
Current State: 26:[8, 208], Operations: ['3*69=207', '1+207=208']
Exploring Operation: 208/8=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[3, 8, 1, 69], Operations: []
Exploring Operation: 69/3=23, Resulting Numbers: [8, 1, 23]
Generated Node #0,0: 26:[8, 1, 23] Operation: 69/3=23
Exploring Operation: 69-8=61, Resulting Numbers: [3, 1, 61]
Generated Node #0,1: 26:[3, 1, 61] Operation: 69-8=61
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[8, 1, 23], Operations: ['69/3=23']
Exploring Operation: 8+23=31, Resulting Numbers: [1, 31]
Generated Node #0,0,0: 26:[1, 31] Operation: 8+23=31
Exploring Operation: 23-8=15, Resulting Numbers: [1, 15]
Generated Node #0,0,1: 26:[1, 15] Operation: 23-8=15
Moving to Node #0,0,1
Current State: 26:[1, 15], Operations: ['69/3=23', '23-8=15']
Exploring Operation: 1*15=15, Resulting Numbers: [15]
15,26 unequal: No Solution
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,26 unequal: No Solution
Moving to Node #0,0,0
Current State: 26:[1, 31], Operations: ['69/3=23', '8+23=31']
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,26 unequal: No Solution
Exploring Operation: 1*31=31, Resulting Numbers: [31]
31,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 26:[3, 1, 61], Operations: ['69-8=61']
Exploring Operation: 61-3=58, Resulting Numbers: [1, 58]
Generated Node #0,1,0: 26:[1, 58] Operation: 61-3=58
Exploring Operation: 3-1=2, Resulting Numbers: [61, 2]
Generated Node #0,1,1: 26:[61, 2] Operation: 3-1=2
Moving to Node #0,1,0
Current State: 26:[1, 58], Operations: ['69-8=61', '61-3=58']
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,26 unequal: No Solution
Exploring Operation: 1*58=58, Resulting Numbers: [58]
58,26 unequal: No Solution
Moving to Node #0,1,1
Current State: 26:[61, 2], Operations: ['69-8=61', '3-1=2']
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,26 unequal: No Solution
Exploring Operation: 61+2=63, Resulting Numbers: [63]
63,26 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 |
[
88,
83,
76,
35
] | 99 | [
"88-83=5",
"35*5=175",
"175-76=99"
] | Current State: 99:[88, 83, 76, 35], Operations: []
Exploring Operation: 88-83=5, Resulting Numbers: [76, 35, 5]
Generated Node #2: [76, 35, 5] from Operation: 88-83=5
Current State: 99:[76, 35, 5], Operations: ['88-83=5']
Exploring Operation: 35*5=175, Resulting Numbers: [76, 175]
Generated Node #3: [76, 175] from Operation: 35*5=175
Current State: 99:[76, 175], Operations: ['88-83=5', '35*5=175']
Exploring Operation: 175-76=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[88, 83, 76, 35], Operations: []
Exploring Operation: 88-76=12, Resulting Numbers: [83, 35, 12]
Generated Node #0,0: 99:[83, 35, 12] Operation: 88-76=12
Exploring Operation: 83-76=7, Resulting Numbers: [88, 35, 7]
Generated Node #0,1: 99:[88, 35, 7] Operation: 83-76=7
Moving to Node #0,1
Current State: 99:[88, 35, 7], Operations: ['83-76=7']
Exploring Operation: 35/7=5, Resulting Numbers: [88, 5]
Generated Node #0,1,0: 99:[88, 5] Operation: 35/7=5
Exploring Operation: 88+7=95, Resulting Numbers: [35, 95]
Generated Node #0,1,1: 99:[35, 95] Operation: 88+7=95
Moving to Node #0,0
Current State: 99:[83, 35, 12], Operations: ['88-76=12']
Exploring Operation: 83+12=95, Resulting Numbers: [35, 95]
Generated Node #0,0,0: 99:[35, 95] Operation: 83+12=95
Exploring Operation: 83-35=48, Resulting Numbers: [12, 48]
Generated Node #0,0,1: 99:[12, 48] Operation: 83-35=48
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 99:[35, 95], Operations: ['88-76=12', '83+12=95']
Exploring Operation: 35+95=130, Resulting Numbers: [130]
130,99 unequal: No Solution
Exploring Operation: 95-35=60, Resulting Numbers: [60]
60,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 99:[12, 48], Operations: ['88-76=12', '83-35=48']
Exploring Operation: 48/12=4, Resulting Numbers: [4]
4,99 unequal: No Solution
Exploring Operation: 48-12=36, Resulting Numbers: [36]
36,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 99:[35, 95], Operations: ['83-76=7', '88+7=95']
Exploring Operation: 95-35=60, Resulting Numbers: [60]
60,99 unequal: No Solution
Exploring Operation: 35+95=130, Resulting Numbers: [130]
130,99 unequal: No Solution
Moving to Node #0,1,0
Current State: 99:[88, 5], Operations: ['83-76=7', '35/7=5']
Exploring Operation: 88-5=83, Resulting Numbers: [83]
83,99 unequal: No Solution
Exploring Operation: 88+5=93, Resulting Numbers: [93]
93,99 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
46,
89,
89,
44
] | 91 | [
"46+44=90",
"89/89=1",
"90+1=91"
] | Current State: 91:[46, 89, 89, 44], Operations: []
Exploring Operation: 46+44=90, Resulting Numbers: [89, 89, 90]
Generated Node #2: [89, 89, 90] from Operation: 46+44=90
Current State: 91:[89, 89, 90], Operations: ['46+44=90']
Exploring Operation: 89/89=1, Resulting Numbers: [90, 1]
Generated Node #3: [90, 1] from Operation: 89/89=1
Current State: 91:[90, 1], Operations: ['46+44=90', '89/89=1']
Exploring Operation: 90+1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[46, 89, 89, 44], Operations: []
Exploring Operation: 89-46=43, Resulting Numbers: [89, 44, 43]
Generated Node #0,0: 91:[89, 44, 43] Operation: 89-46=43
Exploring Operation: 89-46=43, Resulting Numbers: [89, 44, 43]
Generated Node #0,1: 91:[89, 44, 43] Operation: 89-46=43
Exploring Operation: 46+44=90, Resulting Numbers: [89, 89, 90]
Generated Node #0,2: 91:[89, 89, 90] Operation: 46+44=90
Exploring Operation: 46-44=2, Resulting Numbers: [89, 89, 2]
Generated Node #0,3: 91:[89, 89, 2] Operation: 46-44=2
Moving to Node #0,2
Current State: 91:[89, 89, 90], Operations: ['46+44=90']
Exploring Operation: 89/89=1, Resulting Numbers: [90, 1]
Generated Node #0,2,0: 91:[90, 1] Operation: 89/89=1
Exploring Operation: 89-89=0, Resulting Numbers: [90, 0]
Generated Node #0,2,1: 91:[90, 0] Operation: 89-89=0
Exploring Operation: 90-89=1, Resulting Numbers: [89, 1]
Generated Node #0,2,2: 91:[89, 1] Operation: 90-89=1
Exploring Operation: 90-89=1, Resulting Numbers: [89, 1]
Generated Node #0,2,3: 91:[89, 1] Operation: 90-89=1
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 91:[90, 1], Operations: ['46+44=90', '89/89=1']
Exploring Operation: 90*1=90, Resulting Numbers: [90]
90,91 unequal: No Solution
Exploring Operation: 90-1=89, Resulting Numbers: [89]
89,91 unequal: No Solution
Exploring Operation: 90+1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[46, 89, 89, 44], Operations: []
Exploring Operation: 46+44=90, Resulting Numbers: [89, 89, 90]
Generated Node #0,2: 91:[89, 89, 90] Operation: 46+44=90
Moving to Node #0,2
Current State: 91:[89, 89, 90], Operations: ['46+44=90']
Exploring Operation: 89/89=1, Resulting Numbers: [90, 1]
Generated Node #0,2,0: 91:[90, 1] Operation: 89/89=1
Moving to Node #0,2,0
Current State: 91:[90, 1], Operations: ['46+44=90', '89/89=1']
Exploring Operation: 90+1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
64,
99,
51,
74
] | 12 | [
"99-64=35",
"74-51=23",
"35-23=12"
] | Current State: 12:[64, 99, 51, 74], Operations: []
Exploring Operation: 99-64=35, Resulting Numbers: [51, 74, 35]
Generated Node #2: [51, 74, 35] from Operation: 99-64=35
Current State: 12:[51, 74, 35], Operations: ['99-64=35']
Exploring Operation: 74-51=23, Resulting Numbers: [35, 23]
Generated Node #3: [35, 23] from Operation: 74-51=23
Current State: 12:[35, 23], Operations: ['99-64=35', '74-51=23']
Exploring Operation: 35-23=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[64, 99, 51, 74], Operations: []
Exploring Operation: 74-64=10, Resulting Numbers: [99, 51, 10]
Generated Node #0,0: 12:[99, 51, 10] Operation: 74-64=10
Exploring Operation: 64-51=13, Resulting Numbers: [99, 74, 13]
Generated Node #0,1: 12:[99, 74, 13] Operation: 64-51=13
Exploring Operation: 99-64=35, Resulting Numbers: [51, 74, 35]
Generated Node #0,2: 12:[51, 74, 35] Operation: 99-64=35
Exploring Operation: 99-74=25, Resulting Numbers: [64, 51, 25]
Generated Node #0,3: 12:[64, 51, 25] Operation: 99-74=25
Start Sub Search at level 1: Moving to Node #0,3
Current State: 12:[64, 51, 25], Operations: ['99-74=25']
Exploring Operation: 64+51=115, Resulting Numbers: [25, 115]
Generated Node #0,3,0: 12:[25, 115] Operation: 64+51=115
Exploring Operation: 64-25=39, Resulting Numbers: [51, 39]
Generated Node #0,3,1: 12:[51, 39] Operation: 64-25=39
Exploring Operation: 51-25=26, Resulting Numbers: [64, 26]
Generated Node #0,3,2: 12:[64, 26] Operation: 51-25=26
Exploring Operation: 64-51=13, Resulting Numbers: [25, 13]
Generated Node #0,3,3: 12:[25, 13] Operation: 64-51=13
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 12:[25, 13], Operations: ['99-74=25', '64-51=13']
Exploring Operation: 25*13=325, Resulting Numbers: [325]
325,12 unequal: No Solution
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[64, 99, 51, 74], Operations: []
Exploring Operation: 99-74=25, Resulting Numbers: [64, 51, 25]
Generated Node #0,3: 12:[64, 51, 25] Operation: 99-74=25
Moving to Node #0,3
Current State: 12:[64, 51, 25], Operations: ['99-74=25']
Exploring Operation: 64-51=13, Resulting Numbers: [25, 13]
Generated Node #0,3,3: 12:[25, 13] Operation: 64-51=13
Moving to Node #0,3,3
Current State: 12:[25, 13], Operations: ['99-74=25', '64-51=13']
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
1,
42,
89,
35
] | 83 | [
"42-1=41",
"89+35=124",
"124-41=83"
] | Current State: 83:[1, 42, 89, 35], Operations: []
Exploring Operation: 42-1=41, Resulting Numbers: [89, 35, 41]
Generated Node #2: [89, 35, 41] from Operation: 42-1=41
Current State: 83:[89, 35, 41], Operations: ['42-1=41']
Exploring Operation: 89+35=124, Resulting Numbers: [41, 124]
Generated Node #3: [41, 124] from Operation: 89+35=124
Current State: 83:[41, 124], Operations: ['42-1=41', '89+35=124']
Exploring Operation: 124-41=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[1, 42, 89, 35], Operations: []
Exploring Operation: 1+42=43, Resulting Numbers: [89, 35, 43]
Generated Node #0,0: 83:[89, 35, 43] Operation: 1+42=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[89, 35, 43], Operations: ['1+42=43']
Exploring Operation: 35+43=78, Resulting Numbers: [89, 78]
Generated Node #0,0,0: 83:[89, 78] Operation: 35+43=78
Moving to Node #0,0,0
Current State: 83:[89, 78], Operations: ['1+42=43', '35+43=78']
Exploring Operation: 89-78=11, Resulting Numbers: [11]
11,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 | sum_heuristic |
[
1,
11,
39,
76
] | 49 | [
"1+11=12",
"76-39=37",
"12+37=49"
] | Current State: 49:[1, 11, 39, 76], Operations: []
Exploring Operation: 1+11=12, Resulting Numbers: [39, 76, 12]
Generated Node #2: [39, 76, 12] from Operation: 1+11=12
Current State: 49:[39, 76, 12], Operations: ['1+11=12']
Exploring Operation: 76-39=37, Resulting Numbers: [12, 37]
Generated Node #3: [12, 37] from Operation: 76-39=37
Current State: 49:[12, 37], Operations: ['1+11=12', '76-39=37']
Exploring Operation: 12+37=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[1, 11, 39, 76], Operations: []
Exploring Operation: 11+39=50, Resulting Numbers: [1, 76, 50]
Generated Node #0,0: 49:[1, 76, 50] Operation: 11+39=50
Exploring Operation: 76-11=65, Resulting Numbers: [1, 39, 65]
Generated Node #0,1: 49:[1, 39, 65] Operation: 76-11=65
Exploring Operation: 11-1=10, Resulting Numbers: [39, 76, 10]
Generated Node #0,2: 49:[39, 76, 10] Operation: 11-1=10
Exploring Operation: 76-39=37, Resulting Numbers: [1, 11, 37]
Generated Node #0,3: 49:[1, 11, 37] Operation: 76-39=37
Moving to Node #0,3
Current State: 49:[1, 11, 37], Operations: ['76-39=37']
Exploring Operation: 11-1=10, Resulting Numbers: [37, 10]
Generated Node #0,3,0: 49:[37, 10] Operation: 11-1=10
Exploring Operation: 1+37=38, Resulting Numbers: [11, 38]
Generated Node #0,3,1: 49:[11, 38] Operation: 1+37=38
Exploring Operation: 1*11=11, Resulting Numbers: [37, 11]
Generated Node #0,3,2: 49:[37, 11] Operation: 1*11=11
Exploring Operation: 11+37=48, Resulting Numbers: [1, 48]
Generated Node #0,3,3: 49:[1, 48] Operation: 11+37=48
Moving to Node #0,1
Current State: 49:[1, 39, 65], Operations: ['76-11=65']
Exploring Operation: 65-39=26, Resulting Numbers: [1, 26]
Generated Node #0,1,0: 49:[1, 26] Operation: 65-39=26
Exploring Operation: 1+39=40, Resulting Numbers: [65, 40]
Generated Node #0,1,1: 49:[65, 40] Operation: 1+39=40
Exploring Operation: 1*39=39, Resulting Numbers: [65, 39]
Generated Node #0,1,2: 49:[65, 39] Operation: 1*39=39
Exploring Operation: 65-1=64, Resulting Numbers: [39, 64]
Generated Node #0,1,3: 49:[39, 64] Operation: 65-1=64
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 49:[1, 26], Operations: ['76-11=65', '65-39=26']
Exploring Operation: 26/1=26, Resulting Numbers: [26]
26,49 unequal: No Solution
Exploring Operation: 1+26=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Exploring Operation: 1*26=26, Resulting Numbers: [26]
26,49 unequal: No Solution
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 49:[65, 40], Operations: ['76-11=65', '1+39=40']
Exploring Operation: 65*40=2600, Resulting Numbers: [2600]
2600,49 unequal: No Solution
Exploring Operation: 65+40=105, Resulting Numbers: [105]
105,49 unequal: No Solution
Exploring Operation: 65-40=25, Resulting Numbers: [25]
25,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 49:[39, 64], Operations: ['76-11=65', '65-1=64']
Exploring Operation: 39+64=103, Resulting Numbers: [103]
103,49 unequal: No Solution
Exploring Operation: 39*64=2496, Resulting Numbers: [2496]
2496,49 unequal: No Solution
Exploring Operation: 64-39=25, Resulting Numbers: [25]
25,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 49:[65, 39], Operations: ['76-11=65', '1*39=39']
Exploring Operation: 65*39=2535, Resulting Numbers: [2535]
2535,49 unequal: No Solution
Exploring Operation: 65+39=104, Resulting Numbers: [104]
104,49 unequal: No Solution
Exploring Operation: 65-39=26, Resulting Numbers: [26]
26,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 49:[1, 76, 50], Operations: ['11+39=50']
Exploring Operation: 76-1=75, Resulting Numbers: [50, 75]
Generated Node #0,0,0: 49:[50, 75] Operation: 76-1=75
Exploring Operation: 76-50=26, Resulting Numbers: [1, 26]
Generated Node #0,0,1: 49:[1, 26] Operation: 76-50=26
Exploring Operation: 1*76=76, Resulting Numbers: [50, 76]
Generated Node #0,0,2: 49:[50, 76] Operation: 1*76=76
Exploring Operation: 50-1=49, Resulting Numbers: [76, 49]
Generated Node #0,0,3: 49:[76, 49] Operation: 50-1=49
Moving to Node #0,2
Current State: 49:[39, 76, 10], Operations: ['11-1=10']
Exploring Operation: 39+10=49, Resulting Numbers: [76, 49]
Generated Node #0,2,0: 49:[76, 49] Operation: 39+10=49
Exploring Operation: 39-10=29, Resulting Numbers: [76, 29]
Generated Node #0,2,1: 49:[76, 29] Operation: 39-10=29
Exploring Operation: 76-10=66, Resulting Numbers: [39, 66]
Generated Node #0,2,2: 49:[39, 66] Operation: 76-10=66
Exploring Operation: 76-39=37, Resulting Numbers: [10, 37]
Generated Node #0,2,3: 49:[10, 37] Operation: 76-39=37
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 49:[10, 37], Operations: ['11-1=10', '76-39=37']
Exploring Operation: 37-10=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Exploring Operation: 10*37=370, Resulting Numbers: [370]
370,49 unequal: No Solution
Exploring Operation: 10+37=47, Resulting Numbers: [47]
47,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 49:[76, 49], Operations: ['11-1=10', '39+10=49']
Exploring Operation: 76*49=3724, Resulting Numbers: [3724]
3724,49 unequal: No Solution
Exploring Operation: 76+49=125, Resulting Numbers: [125]
125,49 unequal: No Solution
Exploring Operation: 76-49=27, Resulting Numbers: [27]
27,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 49:[39, 66], Operations: ['11-1=10', '76-10=66']
Exploring Operation: 39+66=105, Resulting Numbers: [105]
105,49 unequal: No Solution
Exploring Operation: 39*66=2574, Resulting Numbers: [2574]
2574,49 unequal: No Solution
Exploring Operation: 66-39=27, Resulting Numbers: [27]
27,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 49:[76, 29], Operations: ['11-1=10', '39-10=29']
Exploring Operation: 76*29=2204, Resulting Numbers: [2204]
2204,49 unequal: No Solution
Exploring Operation: 76+29=105, Resulting Numbers: [105]
105,49 unequal: No Solution
Exploring Operation: 76-29=47, Resulting Numbers: [47]
47,49 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,3
Current State: 49:[1, 48], Operations: ['76-39=37', '11+37=48']
Exploring Operation: 1*48=48, Resulting Numbers: [48]
48,49 unequal: No Solution
Exploring Operation: 48-1=47, Resulting Numbers: [47]
47,49 unequal: No Solution
Exploring Operation: 48/1=48, Resulting Numbers: [48]
48,49 unequal: No Solution
Exploring Operation: 1+48=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[1, 11, 39, 76], Operations: []
Exploring Operation: 76-39=37, Resulting Numbers: [1, 11, 37]
Generated Node #0,3: 49:[1, 11, 37] Operation: 76-39=37
Moving to Node #0,3
Current State: 49:[1, 11, 37], Operations: ['76-39=37']
Exploring Operation: 11+37=48, Resulting Numbers: [1, 48]
Generated Node #0,3,3: 49:[1, 48] Operation: 11+37=48
Moving to Node #0,3,3
Current State: 49:[1, 48], Operations: ['76-39=37', '11+37=48']
Exploring Operation: 1+48=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 0.953993 | hs_4 | sum_heuristic |
[
81,
49,
24,
88
] | 66 | [
"81+49=130",
"88-24=64",
"130-64=66"
] | Current State: 66:[81, 49, 24, 88], Operations: []
Exploring Operation: 81+49=130, Resulting Numbers: [24, 88, 130]
Generated Node #2: [24, 88, 130] from Operation: 81+49=130
Current State: 66:[24, 88, 130], Operations: ['81+49=130']
Exploring Operation: 88-24=64, Resulting Numbers: [130, 64]
Generated Node #3: [130, 64] from Operation: 88-24=64
Current State: 66:[130, 64], Operations: ['81+49=130', '88-24=64']
Exploring Operation: 130-64=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[81, 49, 24, 88], Operations: []
Exploring Operation: 88-81=7, Resulting Numbers: [49, 24, 7]
Generated Node #0,0: 66:[49, 24, 7] Operation: 88-81=7
Exploring Operation: 88-49=39, Resulting Numbers: [81, 24, 39]
Generated Node #0,1: 66:[81, 24, 39] Operation: 88-49=39
Moving to Node #0,0
Current State: 66:[49, 24, 7], Operations: ['88-81=7']
Exploring Operation: 49/7=7, Resulting Numbers: [24, 7]
Generated Node #0,0,0: 66:[24, 7] Operation: 49/7=7
Exploring Operation: 49-24=25, Resulting Numbers: [7, 25]
Generated Node #0,0,1: 66:[7, 25] Operation: 49-24=25
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[24, 7], Operations: ['88-81=7', '49/7=7']
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,66 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,66 unequal: No Solution
No 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: 66:[7, 25], Operations: ['88-81=7', '49-24=25']
Exploring Operation: 7+25=32, Resulting Numbers: [32]
32,66 unequal: No Solution
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,66 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: 66:[81, 24, 39], Operations: ['88-49=39']
Exploring Operation: 81-39=42, Resulting Numbers: [24, 42]
Generated Node #0,1,0: 66:[24, 42] Operation: 81-39=42
Exploring Operation: 81-24=57, Resulting Numbers: [39, 57]
Generated Node #0,1,1: 66:[39, 57] Operation: 81-24=57
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 66:[24, 42], Operations: ['88-49=39', '81-39=42']
Exploring Operation: 42-24=18, Resulting Numbers: [18]
18,66 unequal: No Solution
Exploring Operation: 24+42=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[81, 49, 24, 88], Operations: []
Exploring Operation: 88-49=39, Resulting Numbers: [81, 24, 39]
Generated Node #0,1: 66:[81, 24, 39] Operation: 88-49=39
Moving to Node #0,1
Current State: 66:[81, 24, 39], Operations: ['88-49=39']
Exploring Operation: 81-39=42, Resulting Numbers: [24, 42]
Generated Node #0,1,0: 66:[24, 42] Operation: 81-39=42
Moving to Node #0,1,0
Current State: 66:[24, 42], Operations: ['88-49=39', '81-39=42']
Exploring Operation: 24+42=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | mult_heuristic |
[
68,
17,
84,
73
] | 74 | [
"68+17=85",
"84-73=11",
"85-11=74"
] | Current State: 74:[68, 17, 84, 73], Operations: []
Exploring Operation: 68+17=85, Resulting Numbers: [84, 73, 85]
Generated Node #2: [84, 73, 85] from Operation: 68+17=85
Current State: 74:[84, 73, 85], Operations: ['68+17=85']
Exploring Operation: 84-73=11, Resulting Numbers: [85, 11]
Generated Node #3: [85, 11] from Operation: 84-73=11
Current State: 74:[85, 11], Operations: ['68+17=85', '84-73=11']
Exploring Operation: 85-11=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[68, 17, 84, 73], Operations: []
Exploring Operation: 84-17=67, Resulting Numbers: [68, 73, 67]
Generated Node #0,0: 74:[68, 73, 67] Operation: 84-17=67
Exploring Operation: 68-17=51, Resulting Numbers: [84, 73, 51]
Generated Node #0,1: 74:[84, 73, 51] Operation: 68-17=51
Exploring Operation: 68+17=85, Resulting Numbers: [84, 73, 85]
Generated Node #0,2: 74:[84, 73, 85] Operation: 68+17=85
Exploring Operation: 68/17=4, Resulting Numbers: [84, 73, 4]
Generated Node #0,3: 74:[84, 73, 4] Operation: 68/17=4
Start Sub Search at level 1: Moving to Node #0,3
Current State: 74:[84, 73, 4], Operations: ['68/17=4']
Exploring Operation: 84-4=80, Resulting Numbers: [73, 80]
Generated Node #0,3,0: 74:[73, 80] Operation: 84-4=80
Exploring Operation: 84+4=88, Resulting Numbers: [73, 88]
Generated Node #0,3,1: 74:[73, 88] Operation: 84+4=88
Exploring Operation: 84-73=11, Resulting Numbers: [4, 11]
Generated Node #0,3,2: 74:[4, 11] Operation: 84-73=11
Exploring Operation: 73+4=77, Resulting Numbers: [84, 77]
Generated Node #0,3,3: 74:[84, 77] Operation: 73+4=77
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 74:[73, 80], Operations: ['68/17=4', '84-4=80']
Exploring Operation: 73*80=5840, Resulting Numbers: [5840]
5840,74 unequal: No Solution
Exploring Operation: 73+80=153, Resulting Numbers: [153]
153,74 unequal: No Solution
Exploring Operation: 80-73=7, Resulting Numbers: [7]
7,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,2
Current State: 74:[4, 11], Operations: ['68/17=4', '84-73=11']
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,74 unequal: No Solution
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,74 unequal: No Solution
Exploring Operation: 4+11=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:[84, 77], Operations: ['68/17=4', '73+4=77']
Exploring Operation: 84*77=6468, Resulting Numbers: [6468]
6468,74 unequal: No Solution
Exploring Operation: 84+77=161, Resulting Numbers: [161]
161,74 unequal: No Solution
Exploring Operation: 84-77=7, Resulting Numbers: [7]
7,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:[73, 88], Operations: ['68/17=4', '84+4=88']
Exploring Operation: 88-73=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Exploring Operation: 73*88=6424, Resulting Numbers: [6424]
6424,74 unequal: No Solution
Exploring Operation: 73+88=161, Resulting Numbers: [161]
161,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,0
Current State: 74:[68, 73, 67], Operations: ['84-17=67']
Exploring Operation: 73-67=6, Resulting Numbers: [68, 6]
Generated Node #0,0,0: 74:[68, 6] Operation: 73-67=6
Exploring Operation: 73-68=5, Resulting Numbers: [67, 5]
Generated Node #0,0,1: 74:[67, 5] Operation: 73-68=5
Exploring Operation: 68+67=135, Resulting Numbers: [73, 135]
Generated Node #0,0,2: 74:[73, 135] Operation: 68+67=135
Exploring Operation: 68-67=1, Resulting Numbers: [73, 1]
Generated Node #0,0,3: 74:[73, 1] Operation: 68-67=1
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 74:[73, 1], Operations: ['84-17=67', '68-67=1']
Exploring Operation: 73+1=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[68, 17, 84, 73], Operations: []
Exploring Operation: 84-17=67, Resulting Numbers: [68, 73, 67]
Generated Node #0,0: 74:[68, 73, 67] Operation: 84-17=67
Moving to Node #0,0
Current State: 74:[68, 73, 67], Operations: ['84-17=67']
Exploring Operation: 68-67=1, Resulting Numbers: [73, 1]
Generated Node #0,0,3: 74:[73, 1] Operation: 68-67=1
Moving to Node #0,0,3
Current State: 74:[73, 1], Operations: ['84-17=67', '68-67=1']
Exploring Operation: 73+1=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.974826 | hs_4 | mult_heuristic |
[
67,
30,
63,
69
] | 62 | [
"69-63=6",
"30/6=5",
"67-5=62"
] | Current State: 62:[67, 30, 63, 69], Operations: []
Exploring Operation: 69-63=6, Resulting Numbers: [67, 30, 6]
Generated Node #2: [67, 30, 6] from Operation: 69-63=6
Current State: 62:[67, 30, 6], Operations: ['69-63=6']
Exploring Operation: 30/6=5, Resulting Numbers: [67, 5]
Generated Node #3: [67, 5] from Operation: 30/6=5
Current State: 62:[67, 5], Operations: ['69-63=6', '30/6=5']
Exploring Operation: 67-5=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[67, 30, 63, 69], Operations: []
Exploring Operation: 69-67=2, Resulting Numbers: [30, 63, 2]
Generated Node #0,0: 62:[30, 63, 2] Operation: 69-67=2
Exploring Operation: 67-63=4, Resulting Numbers: [30, 69, 4]
Generated Node #0,1: 62:[30, 69, 4] Operation: 67-63=4
Exploring Operation: 69-63=6, Resulting Numbers: [67, 30, 6]
Generated Node #0,2: 62:[67, 30, 6] Operation: 69-63=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[30, 63, 2], Operations: ['69-67=2']
Exploring Operation: 63-2=61, Resulting Numbers: [30, 61]
Generated Node #0,0,0: 62:[30, 61] Operation: 63-2=61
Exploring Operation: 63-30=33, Resulting Numbers: [2, 33]
Generated Node #0,0,1: 62:[2, 33] Operation: 63-30=33
Exploring Operation: 30+2=32, Resulting Numbers: [63, 32]
Generated Node #0,0,2: 62:[63, 32] Operation: 30+2=32
Moving to Node #0,0,0
Current State: 62:[30, 61], Operations: ['69-67=2', '63-2=61']
Exploring Operation: 30+61=91, Resulting Numbers: [91]
91,62 unequal: No Solution
Exploring Operation: 61-30=31, Resulting Numbers: [31]
31,62 unequal: No Solution
Exploring Operation: 30*61=1830, Resulting Numbers: [1830]
1830,62 unequal: No Solution
Moving to Node #0,0,1
Current State: 62:[2, 33], Operations: ['69-67=2', '63-30=33']
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,62 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,62 unequal: No Solution
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,62 unequal: No Solution
Moving to Node #0,0,2
Current State: 62:[63, 32], Operations: ['69-67=2', '30+2=32']
Exploring Operation: 63-32=31, Resulting Numbers: [31]
31,62 unequal: No Solution
Exploring Operation: 63*32=2016, Resulting Numbers: [2016]
2016,62 unequal: No Solution
Exploring Operation: 63+32=95, Resulting Numbers: [95]
95,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:[30, 69, 4], Operations: ['67-63=4']
Exploring Operation: 69-4=65, Resulting Numbers: [30, 65]
Generated Node #0,1,0: 62:[30, 65] Operation: 69-4=65
Exploring Operation: 30+4=34, Resulting Numbers: [69, 34]
Generated Node #0,1,1: 62:[69, 34] Operation: 30+4=34
Exploring Operation: 69-30=39, Resulting Numbers: [4, 39]
Generated Node #0,1,2: 62:[4, 39] Operation: 69-30=39
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 62:[30, 65], Operations: ['67-63=4', '69-4=65']
Exploring Operation: 65-30=35, Resulting Numbers: [35]
35,62 unequal: No Solution
Exploring Operation: 30+65=95, Resulting Numbers: [95]
95,62 unequal: No Solution
Exploring Operation: 30*65=1950, Resulting Numbers: [1950]
1950,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 62:[69, 34], Operations: ['67-63=4', '30+4=34']
Exploring Operation: 69+34=103, Resulting Numbers: [103]
103,62 unequal: No Solution
Exploring Operation: 69*34=2346, Resulting Numbers: [2346]
2346,62 unequal: No Solution
Exploring Operation: 69-34=35, Resulting Numbers: [35]
35,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 62:[4, 39], Operations: ['67-63=4', '69-30=39']
Exploring Operation: 4+39=43, Resulting Numbers: [43]
43,62 unequal: No Solution
Exploring Operation: 4*39=156, Resulting Numbers: [156]
156,62 unequal: No Solution
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,62 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: 62:[67, 30, 6], Operations: ['69-63=6']
Exploring Operation: 30/6=5, Resulting Numbers: [67, 5]
Generated Node #0,2,0: 62:[67, 5] Operation: 30/6=5
Exploring Operation: 67-6=61, Resulting Numbers: [30, 61]
Generated Node #0,2,1: 62:[30, 61] Operation: 67-6=61
Exploring Operation: 67-30=37, Resulting Numbers: [6, 37]
Generated Node #0,2,2: 62:[6, 37] Operation: 67-30=37
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 62:[30, 61], Operations: ['69-63=6', '67-6=61']
Exploring Operation: 61-30=31, Resulting Numbers: [31]
31,62 unequal: No Solution
Exploring Operation: 30+61=91, Resulting Numbers: [91]
91,62 unequal: No Solution
Exploring Operation: 30*61=1830, Resulting Numbers: [1830]
1830,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 62:[67, 5], Operations: ['69-63=6', '30/6=5']
Exploring Operation: 67+5=72, Resulting Numbers: [72]
72,62 unequal: No Solution
Exploring Operation: 67*5=335, Resulting Numbers: [335]
335,62 unequal: No Solution
Exploring Operation: 67-5=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[67, 30, 63, 69], Operations: []
Exploring Operation: 69-63=6, Resulting Numbers: [67, 30, 6]
Generated Node #0,2: 62:[67, 30, 6] Operation: 69-63=6
Moving to Node #0,2
Current State: 62:[67, 30, 6], Operations: ['69-63=6']
Exploring Operation: 30/6=5, Resulting Numbers: [67, 5]
Generated Node #0,2,0: 62:[67, 5] Operation: 30/6=5
Moving to Node #0,2,0
Current State: 62:[67, 5], Operations: ['69-63=6', '30/6=5']
Exploring Operation: 67-5=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.965278 | hs_3 | mult_heuristic |
[
3,
47,
55,
22
] | 52 | [
"55-22=33",
"3*33=99",
"99-47=52"
] | Current State: 52:[3, 47, 55, 22], Operations: []
Exploring Operation: 55-22=33, Resulting Numbers: [3, 47, 33]
Generated Node #2: [3, 47, 33] from Operation: 55-22=33
Current State: 52:[3, 47, 33], Operations: ['55-22=33']
Exploring Operation: 3*33=99, Resulting Numbers: [47, 99]
Generated Node #3: [47, 99] from Operation: 3*33=99
Current State: 52:[47, 99], Operations: ['55-22=33', '3*33=99']
Exploring Operation: 99-47=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[3, 47, 55, 22], Operations: []
Exploring Operation: 47-22=25, Resulting Numbers: [3, 55, 25]
Generated Node #0,0: 52:[3, 55, 25] Operation: 47-22=25
Exploring Operation: 3+47=50, Resulting Numbers: [55, 22, 50]
Generated Node #0,1: 52:[55, 22, 50] Operation: 3+47=50
Moving to Node #0,0
Current State: 52:[3, 55, 25], Operations: ['47-22=25']
Exploring Operation: 3+25=28, Resulting Numbers: [55, 28]
Generated Node #0,0,0: 52:[55, 28] Operation: 3+25=28
Exploring Operation: 55-3=52, Resulting Numbers: [25, 52]
Generated Node #0,0,1: 52:[25, 52] Operation: 55-3=52
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 52:[25, 52], Operations: ['47-22=25', '55-3=52']
Exploring Operation: 52-25=27, Resulting Numbers: [27]
27,52 unequal: No Solution
Exploring Operation: 25+52=77, Resulting Numbers: [77]
77,52 unequal: No Solution
No 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: 52:[55, 28], Operations: ['47-22=25', '3+25=28']
Exploring Operation: 55+28=83, Resulting Numbers: [83]
83,52 unequal: No Solution
Exploring Operation: 55-28=27, Resulting Numbers: [27]
27,52 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: 52:[55, 22, 50], Operations: ['3+47=50']
Exploring Operation: 55-50=5, Resulting Numbers: [22, 5]
Generated Node #0,1,0: 52:[22, 5] Operation: 55-50=5
Exploring Operation: 50-22=28, Resulting Numbers: [55, 28]
Generated Node #0,1,1: 52:[55, 28] Operation: 50-22=28
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 52:[22, 5], Operations: ['3+47=50', '55-50=5']
Exploring Operation: 22+5=27, Resulting Numbers: [27]
27,52 unequal: No Solution
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,52 unequal: No Solution
No 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: 52:[55, 28], Operations: ['3+47=50', '50-22=28']
Exploring Operation: 55+28=83, Resulting Numbers: [83]
83,52 unequal: No Solution
Exploring Operation: 55-28=27, Resulting Numbers: [27]
27,52 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 |
[
64,
80,
83,
22
] | 39 | [
"64+80=144",
"83+22=105",
"144-105=39"
] | Current State: 39:[64, 80, 83, 22], Operations: []
Exploring Operation: 64+80=144, Resulting Numbers: [83, 22, 144]
Generated Node #2: [83, 22, 144] from Operation: 64+80=144
Current State: 39:[83, 22, 144], Operations: ['64+80=144']
Exploring Operation: 83+22=105, Resulting Numbers: [144, 105]
Generated Node #3: [144, 105] from Operation: 83+22=105
Current State: 39:[144, 105], Operations: ['64+80=144', '83+22=105']
Exploring Operation: 144-105=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[64, 80, 83, 22], Operations: []
Exploring Operation: 80-64=16, Resulting Numbers: [83, 22, 16]
Generated Node #0,0: 39:[83, 22, 16] Operation: 80-64=16
Exploring Operation: 64-22=42, Resulting Numbers: [80, 83, 42]
Generated Node #0,1: 39:[80, 83, 42] Operation: 64-22=42
Exploring Operation: 83-80=3, Resulting Numbers: [64, 22, 3]
Generated Node #0,2: 39:[64, 22, 3] Operation: 83-80=3
Exploring Operation: 83-64=19, Resulting Numbers: [80, 22, 19]
Generated Node #0,3: 39:[80, 22, 19] Operation: 83-64=19
Moving to Node #0,2
Current State: 39:[64, 22, 3], Operations: ['83-80=3']
Exploring Operation: 64-22=42, Resulting Numbers: [3, 42]
Generated Node #0,2,0: 39:[3, 42] Operation: 64-22=42
Exploring Operation: 22-3=19, Resulting Numbers: [64, 19]
Generated Node #0,2,1: 39:[64, 19] Operation: 22-3=19
Exploring Operation: 64-3=61, Resulting Numbers: [22, 61]
Generated Node #0,2,2: 39:[22, 61] Operation: 64-3=61
Exploring Operation: 64+3=67, Resulting Numbers: [22, 67]
Generated Node #0,2,3: 39:[22, 67] Operation: 64+3=67
Moving to Node #0,3
Current State: 39:[80, 22, 19], Operations: ['83-64=19']
Exploring Operation: 22-19=3, Resulting Numbers: [80, 3]
Generated Node #0,3,0: 39:[80, 3] Operation: 22-19=3
Exploring Operation: 80-22=58, Resulting Numbers: [19, 58]
Generated Node #0,3,1: 39:[19, 58] Operation: 80-22=58
Exploring Operation: 80-19=61, Resulting Numbers: [22, 61]
Generated Node #0,3,2: 39:[22, 61] Operation: 80-19=61
Exploring Operation: 22+19=41, Resulting Numbers: [80, 41]
Generated Node #0,3,3: 39:[80, 41] Operation: 22+19=41
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 39:[19, 58], Operations: ['83-64=19', '80-22=58']
Exploring Operation: 19+58=77, Resulting Numbers: [77]
77,39 unequal: No Solution
Exploring Operation: 58-19=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[64, 80, 83, 22], Operations: []
Exploring Operation: 83-64=19, Resulting Numbers: [80, 22, 19]
Generated Node #0,3: 39:[80, 22, 19] Operation: 83-64=19
Moving to Node #0,3
Current State: 39:[80, 22, 19], Operations: ['83-64=19']
Exploring Operation: 80-22=58, Resulting Numbers: [19, 58]
Generated Node #0,3,1: 39:[19, 58] Operation: 80-22=58
Moving to Node #0,3,1
Current State: 39:[19, 58], Operations: ['83-64=19', '80-22=58']
Exploring Operation: 58-19=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
97,
68,
4,
15
] | 40 | [
"97-68=29",
"15-4=11",
"29+11=40"
] | Current State: 40:[97, 68, 4, 15], Operations: []
Exploring Operation: 97-68=29, Resulting Numbers: [4, 15, 29]
Generated Node #2: [4, 15, 29] from Operation: 97-68=29
Current State: 40:[4, 15, 29], Operations: ['97-68=29']
Exploring Operation: 15-4=11, Resulting Numbers: [29, 11]
Generated Node #3: [29, 11] from Operation: 15-4=11
Current State: 40:[29, 11], Operations: ['97-68=29', '15-4=11']
Exploring Operation: 29+11=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[97, 68, 4, 15], Operations: []
Exploring Operation: 97-68=29, Resulting Numbers: [4, 15, 29]
Generated Node #0,0: 40:[4, 15, 29] Operation: 97-68=29
Exploring Operation: 68-15=53, Resulting Numbers: [97, 4, 53]
Generated Node #0,1: 40:[97, 4, 53] Operation: 68-15=53
Exploring Operation: 68/4=17, Resulting Numbers: [97, 15, 17]
Generated Node #0,2: 40:[97, 15, 17] Operation: 68/4=17
Exploring Operation: 97-15=82, Resulting Numbers: [68, 4, 82]
Generated Node #0,3: 40:[68, 4, 82] Operation: 97-15=82
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[4, 15, 29], Operations: ['97-68=29']
Exploring Operation: 4+15=19, Resulting Numbers: [29, 19]
Generated Node #0,0,0: 40:[29, 19] Operation: 4+15=19
Exploring Operation: 15-4=11, Resulting Numbers: [29, 11]
Generated Node #0,0,1: 40:[29, 11] Operation: 15-4=11
Exploring Operation: 15+29=44, Resulting Numbers: [4, 44]
Generated Node #0,0,2: 40:[4, 44] Operation: 15+29=44
Exploring Operation: 29-15=14, Resulting Numbers: [4, 14]
Generated Node #0,0,3: 40:[4, 14] Operation: 29-15=14
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 40:[4, 44], Operations: ['97-68=29', '15+29=44']
Exploring Operation: 4+44=48, Resulting Numbers: [48]
48,40 unequal: No Solution
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,40 unequal: No Solution
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[97, 68, 4, 15], Operations: []
Exploring Operation: 97-68=29, Resulting Numbers: [4, 15, 29]
Generated Node #0,0: 40:[4, 15, 29] Operation: 97-68=29
Moving to Node #0,0
Current State: 40:[4, 15, 29], Operations: ['97-68=29']
Exploring Operation: 15+29=44, Resulting Numbers: [4, 44]
Generated Node #0,0,2: 40:[4, 44] Operation: 15+29=44
Moving to Node #0,0,2
Current State: 40:[4, 44], Operations: ['97-68=29', '15+29=44']
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
3,
71,
67,
12
] | 11 | [
"71-3=68",
"67+12=79",
"79-68=11"
] | Current State: 11:[3, 71, 67, 12], Operations: []
Exploring Operation: 71-3=68, Resulting Numbers: [67, 12, 68]
Generated Node #2: [67, 12, 68] from Operation: 71-3=68
Current State: 11:[67, 12, 68], Operations: ['71-3=68']
Exploring Operation: 67+12=79, Resulting Numbers: [68, 79]
Generated Node #3: [68, 79] from Operation: 67+12=79
Current State: 11:[68, 79], Operations: ['71-3=68', '67+12=79']
Exploring Operation: 79-68=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[3, 71, 67, 12], Operations: []
Exploring Operation: 71-3=68, Resulting Numbers: [67, 12, 68]
Generated Node #0,0: 11:[67, 12, 68] Operation: 71-3=68
Exploring Operation: 71-12=59, Resulting Numbers: [3, 67, 59]
Generated Node #0,1: 11:[3, 67, 59] Operation: 71-12=59
Exploring Operation: 71-67=4, Resulting Numbers: [3, 12, 4]
Generated Node #0,2: 11:[3, 12, 4] Operation: 71-67=4
Exploring Operation: 67-12=55, Resulting Numbers: [3, 71, 55]
Generated Node #0,3: 11:[3, 71, 55] Operation: 67-12=55
Start Sub Search at level 1: Moving to Node #0,2
Current State: 11:[3, 12, 4], Operations: ['71-67=4']
Exploring Operation: 3*4=12, Resulting Numbers: [12, 12]
Generated Node #0,2,0: 11:[12, 12] Operation: 3*4=12
Exploring Operation: 3+12=15, Resulting Numbers: [4, 15]
Generated Node #0,2,1: 11:[4, 15] Operation: 3+12=15
Exploring Operation: 12-3=9, Resulting Numbers: [4, 9]
Generated Node #0,2,2: 11:[4, 9] Operation: 12-3=9
Exploring Operation: 3+4=7, Resulting Numbers: [12, 7]
Generated Node #0,2,3: 11:[12, 7] Operation: 3+4=7
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 11:[12, 12], Operations: ['71-67=4', '3*4=12']
Exploring Operation: 12-12=0, Resulting Numbers: [0]
0,11 unequal: No Solution
Exploring Operation: 12*12=144, Resulting Numbers: [144]
144,11 unequal: No Solution
Exploring Operation: 12+12=24, Resulting Numbers: [24]
24,11 unequal: No Solution
Exploring Operation: 12/12=1, Resulting Numbers: [1]
1,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 11:[12, 7], Operations: ['71-67=4', '3+4=7']
Exploring Operation: 12*7=84, Resulting Numbers: [84]
84,11 unequal: No Solution
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,11 unequal: No Solution
Exploring Operation: 12+7=19, Resulting Numbers: [19]
19,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 11:[4, 9], Operations: ['71-67=4', '12-3=9']
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,11 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,11 unequal: No Solution
Exploring Operation: 4*9=36, Resulting Numbers: [36]
36,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 11:[4, 15], Operations: ['71-67=4', '3+12=15']
Exploring Operation: 4*15=60, Resulting Numbers: [60]
60,11 unequal: No Solution
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,11 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[3, 71, 67, 12], Operations: []
Exploring Operation: 71-67=4, Resulting Numbers: [3, 12, 4]
Generated Node #0,2: 11:[3, 12, 4] Operation: 71-67=4
Moving to Node #0,2
Current State: 11:[3, 12, 4], Operations: ['71-67=4']
Exploring Operation: 3+12=15, Resulting Numbers: [4, 15]
Generated Node #0,2,1: 11:[4, 15] Operation: 3+12=15
Moving to Node #0,2,1
Current State: 11:[4, 15], Operations: ['71-67=4', '3+12=15']
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.978299 | hs_4 | mult_heuristic |
[
70,
7,
4,
52
] | 86 | [
"7-4=3",
"52*3=156",
"156-70=86"
] | Current State: 86:[70, 7, 4, 52], Operations: []
Exploring Operation: 7-4=3, Resulting Numbers: [70, 52, 3]
Generated Node #2: [70, 52, 3] from Operation: 7-4=3
Current State: 86:[70, 52, 3], Operations: ['7-4=3']
Exploring Operation: 52*3=156, Resulting Numbers: [70, 156]
Generated Node #3: [70, 156] from Operation: 52*3=156
Current State: 86:[70, 156], Operations: ['7-4=3', '52*3=156']
Exploring Operation: 156-70=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[70, 7, 4, 52], Operations: []
Exploring Operation: 70/7=10, Resulting Numbers: [4, 52, 10]
Generated Node #0,0: 86:[4, 52, 10] Operation: 70/7=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[4, 52, 10], Operations: ['70/7=10']
Exploring Operation: 52-10=42, Resulting Numbers: [4, 42]
Generated Node #0,0,0: 86:[4, 42] Operation: 52-10=42
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 86:[4, 42], Operations: ['70/7=10', '52-10=42']
Exploring Operation: 4+42=46, Resulting Numbers: [46]
46,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
18,
2,
69,
69
] | 34 | [
"69/69=1",
"18-1=17",
"2*17=34"
] | Current State: 34:[18, 2, 69, 69], Operations: []
Exploring Operation: 69/69=1, Resulting Numbers: [18, 2, 1]
Generated Node #2: [18, 2, 1] from Operation: 69/69=1
Current State: 34:[18, 2, 1], Operations: ['69/69=1']
Exploring Operation: 18-1=17, Resulting Numbers: [2, 17]
Generated Node #3: [2, 17] from Operation: 18-1=17
Current State: 34:[2, 17], Operations: ['69/69=1', '18-1=17']
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[18, 2, 69, 69], Operations: []
Exploring Operation: 69/69=1, Resulting Numbers: [18, 2, 1]
Generated Node #0,0: 34:[18, 2, 1] Operation: 69/69=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[18, 2, 1], Operations: ['69/69=1']
Exploring Operation: 18-1=17, Resulting Numbers: [2, 17]
Generated Node #0,0,0: 34:[2, 17] Operation: 18-1=17
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 34:[2, 17], Operations: ['69/69=1', '18-1=17']
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[18, 2, 69, 69], Operations: []
Exploring Operation: 69/69=1, Resulting Numbers: [18, 2, 1]
Generated Node #0,0: 34:[18, 2, 1] Operation: 69/69=1
Moving to Node #0,0
Current State: 34:[18, 2, 1], Operations: ['69/69=1']
Exploring Operation: 18-1=17, Resulting Numbers: [2, 17]
Generated Node #0,0,0: 34:[2, 17] Operation: 18-1=17
Moving to Node #0,0,0
Current State: 34:[2, 17], Operations: ['69/69=1', '18-1=17']
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
34,
25,
62,
37
] | 34 | [
"34+25=59",
"62-37=25",
"59-25=34"
] | Current State: 34:[34, 25, 62, 37], Operations: []
Exploring Operation: 34+25=59, Resulting Numbers: [62, 37, 59]
Generated Node #2: [62, 37, 59] from Operation: 34+25=59
Current State: 34:[62, 37, 59], Operations: ['34+25=59']
Exploring Operation: 62-37=25, Resulting Numbers: [59, 25]
Generated Node #3: [59, 25] from Operation: 62-37=25
Current State: 34:[59, 25], Operations: ['34+25=59', '62-37=25']
Exploring Operation: 59-25=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[34, 25, 62, 37], Operations: []
Exploring Operation: 62-25=37, Resulting Numbers: [34, 37, 37]
Generated Node #0,0: 34:[34, 37, 37] Operation: 62-25=37
Exploring Operation: 62-37=25, Resulting Numbers: [34, 25, 25]
Generated Node #0,1: 34:[34, 25, 25] Operation: 62-37=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[34, 37, 37], Operations: ['62-25=37']
Exploring Operation: 37/37=1, Resulting Numbers: [34, 1]
Generated Node #0,0,0: 34:[34, 1] Operation: 37/37=1
Exploring Operation: 37-37=0, Resulting Numbers: [34, 0]
Generated Node #0,0,1: 34:[34, 0] Operation: 37-37=0
Moving to Node #0,0,0
Current State: 34:[34, 1], Operations: ['62-25=37', '37/37=1']
Exploring Operation: 34*1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[34, 25, 62, 37], Operations: []
Exploring Operation: 62-25=37, Resulting Numbers: [34, 37, 37]
Generated Node #0,0: 34:[34, 37, 37] Operation: 62-25=37
Moving to Node #0,0
Current State: 34:[34, 37, 37], Operations: ['62-25=37']
Exploring Operation: 37/37=1, Resulting Numbers: [34, 1]
Generated Node #0,0,0: 34:[34, 1] Operation: 37/37=1
Moving to Node #0,0,0
Current State: 34:[34, 1], Operations: ['62-25=37', '37/37=1']
Exploring Operation: 34*1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
39,
37,
6,
45
] | 53 | [
"39-37=2",
"6+45=51",
"2+51=53"
] | Current State: 53:[39, 37, 6, 45], Operations: []
Exploring Operation: 39-37=2, Resulting Numbers: [6, 45, 2]
Generated Node #2: [6, 45, 2] from Operation: 39-37=2
Current State: 53:[6, 45, 2], Operations: ['39-37=2']
Exploring Operation: 6+45=51, Resulting Numbers: [2, 51]
Generated Node #3: [2, 51] from Operation: 6+45=51
Current State: 53:[2, 51], Operations: ['39-37=2', '6+45=51']
Exploring Operation: 2+51=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[39, 37, 6, 45], Operations: []
Exploring Operation: 39+6=45, Resulting Numbers: [37, 45, 45]
Generated Node #0,0: 53:[37, 45, 45] Operation: 39+6=45
Exploring Operation: 37+6=43, Resulting Numbers: [39, 45, 43]
Generated Node #0,1: 53:[39, 45, 43] Operation: 37+6=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[37, 45, 45], Operations: ['39+6=45']
Exploring Operation: 37+45=82, Resulting Numbers: [45, 82]
Generated Node #0,0,0: 53:[45, 82] Operation: 37+45=82
Exploring Operation: 37+45=82, Resulting Numbers: [45, 82]
Generated Node #0,0,1: 53:[45, 82] Operation: 37+45=82
Moving to Node #0,0,0
Current State: 53:[45, 82], Operations: ['39+6=45', '37+45=82']
Exploring Operation: 45+82=127, Resulting Numbers: [127]
127,53 unequal: No Solution
Exploring Operation: 82-45=37, Resulting Numbers: [37]
37,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[45, 82], Operations: ['39+6=45', '37+45=82']
Exploring Operation: 45+82=127, Resulting Numbers: [127]
127,53 unequal: No Solution
Exploring Operation: 82-45=37, Resulting Numbers: [37]
37,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[39, 45, 43], Operations: ['37+6=43']
Exploring Operation: 39+43=82, Resulting Numbers: [45, 82]
Generated Node #0,1,0: 53:[45, 82] Operation: 39+43=82
Exploring Operation: 39+45=84, Resulting Numbers: [43, 84]
Generated Node #0,1,1: 53:[43, 84] Operation: 39+45=84
Moving to Node #0,1,0
Current State: 53:[45, 82], Operations: ['37+6=43', '39+43=82']
Exploring Operation: 82-45=37, Resulting Numbers: [37]
37,53 unequal: No Solution
Exploring Operation: 45+82=127, Resulting Numbers: [127]
127,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[43, 84], Operations: ['37+6=43', '39+45=84']
Exploring Operation: 84-43=41, Resulting Numbers: [41]
41,53 unequal: No Solution
Exploring Operation: 43+84=127, Resulting Numbers: [127]
127,53 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 |
[
8,
42,
91,
14
] | 27 | [
"8+42=50",
"91-14=77",
"77-50=27"
] | Current State: 27:[8, 42, 91, 14], Operations: []
Exploring Operation: 8+42=50, Resulting Numbers: [91, 14, 50]
Generated Node #2: [91, 14, 50] from Operation: 8+42=50
Current State: 27:[91, 14, 50], Operations: ['8+42=50']
Exploring Operation: 91-14=77, Resulting Numbers: [50, 77]
Generated Node #3: [50, 77] from Operation: 91-14=77
Current State: 27:[50, 77], Operations: ['8+42=50', '91-14=77']
Exploring Operation: 77-50=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[8, 42, 91, 14], Operations: []
Exploring Operation: 91-42=49, Resulting Numbers: [8, 14, 49]
Generated Node #0,0: 27:[8, 14, 49] Operation: 91-42=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[8, 14, 49], Operations: ['91-42=49']
Exploring Operation: 49-14=35, Resulting Numbers: [8, 35]
Generated Node #0,0,0: 27:[8, 35] Operation: 49-14=35
Moving to Node #0,0,0
Current State: 27:[8, 35], Operations: ['91-42=49', '49-14=35']
Exploring Operation: 35-8=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[8, 42, 91, 14], Operations: []
Exploring Operation: 91-42=49, Resulting Numbers: [8, 14, 49]
Generated Node #0,0: 27:[8, 14, 49] Operation: 91-42=49
Moving to Node #0,0
Current State: 27:[8, 14, 49], Operations: ['91-42=49']
Exploring Operation: 49-14=35, Resulting Numbers: [8, 35]
Generated Node #0,0,0: 27:[8, 35] Operation: 49-14=35
Moving to Node #0,0,0
Current State: 27:[8, 35], Operations: ['91-42=49', '49-14=35']
Exploring Operation: 35-8=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
57,
6,
52,
11
] | 71 | [
"57-52=5",
"6*11=66",
"5+66=71"
] | Current State: 71:[57, 6, 52, 11], Operations: []
Exploring Operation: 57-52=5, Resulting Numbers: [6, 11, 5]
Generated Node #2: [6, 11, 5] from Operation: 57-52=5
Current State: 71:[6, 11, 5], Operations: ['57-52=5']
Exploring Operation: 6*11=66, Resulting Numbers: [5, 66]
Generated Node #3: [5, 66] from Operation: 6*11=66
Current State: 71:[5, 66], Operations: ['57-52=5', '6*11=66']
Exploring Operation: 5+66=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[57, 6, 52, 11], Operations: []
Exploring Operation: 57+11=68, Resulting Numbers: [6, 52, 68]
Generated Node #0,0: 71:[6, 52, 68] Operation: 57+11=68
Exploring Operation: 57+6=63, Resulting Numbers: [52, 11, 63]
Generated Node #0,1: 71:[52, 11, 63] Operation: 57+6=63
Exploring Operation: 6*11=66, Resulting Numbers: [57, 52, 66]
Generated Node #0,2: 71:[57, 52, 66] Operation: 6*11=66
Start Sub Search at level 1: Moving to Node #0,2
Current State: 71:[57, 52, 66], Operations: ['6*11=66']
Exploring Operation: 57+52=109, Resulting Numbers: [66, 109]
Generated Node #0,2,0: 71:[66, 109] Operation: 57+52=109
Exploring Operation: 57-52=5, Resulting Numbers: [66, 5]
Generated Node #0,2,1: 71:[66, 5] Operation: 57-52=5
Exploring Operation: 52+66=118, Resulting Numbers: [57, 118]
Generated Node #0,2,2: 71:[57, 118] Operation: 52+66=118
Moving to Node #0,2,0
Current State: 71:[66, 109], Operations: ['6*11=66', '57+52=109']
Exploring Operation: 109-66=43, Resulting Numbers: [43]
43,71 unequal: No Solution
Exploring Operation: 66*109=7194, Resulting Numbers: [7194]
7194,71 unequal: No Solution
Exploring Operation: 66+109=175, Resulting Numbers: [175]
175,71 unequal: No Solution
Moving to Node #0,2,2
Current State: 71:[57, 118], Operations: ['6*11=66', '52+66=118']
Exploring Operation: 57*118=6726, Resulting Numbers: [6726]
6726,71 unequal: No Solution
Exploring Operation: 57+118=175, Resulting Numbers: [175]
175,71 unequal: No Solution
Exploring Operation: 118-57=61, Resulting Numbers: [61]
61,71 unequal: No Solution
Moving to Node #0,2,1
Current State: 71:[66, 5], Operations: ['6*11=66', '57-52=5']
Exploring Operation: 66*5=330, Resulting Numbers: [330]
330,71 unequal: No Solution
Exploring Operation: 66+5=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[57, 6, 52, 11], Operations: []
Exploring Operation: 6*11=66, Resulting Numbers: [57, 52, 66]
Generated Node #0,2: 71:[57, 52, 66] Operation: 6*11=66
Moving to Node #0,2
Current State: 71:[57, 52, 66], Operations: ['6*11=66']
Exploring Operation: 57-52=5, Resulting Numbers: [66, 5]
Generated Node #0,2,1: 71:[66, 5] Operation: 57-52=5
Moving to Node #0,2,1
Current State: 71:[66, 5], Operations: ['6*11=66', '57-52=5']
Exploring Operation: 66+5=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | sum_heuristic |
[
84,
78,
10,
57
] | 73 | [
"84-78=6",
"10+57=67",
"6+67=73"
] | Current State: 73:[84, 78, 10, 57], Operations: []
Exploring Operation: 84-78=6, Resulting Numbers: [10, 57, 6]
Generated Node #2: [10, 57, 6] from Operation: 84-78=6
Current State: 73:[10, 57, 6], Operations: ['84-78=6']
Exploring Operation: 10+57=67, Resulting Numbers: [6, 67]
Generated Node #3: [6, 67] from Operation: 10+57=67
Current State: 73:[6, 67], Operations: ['84-78=6', '10+57=67']
Exploring Operation: 6+67=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[84, 78, 10, 57], Operations: []
Exploring Operation: 10+57=67, Resulting Numbers: [84, 78, 67]
Generated Node #0,0: 73:[84, 78, 67] Operation: 10+57=67
Exploring Operation: 78-10=68, Resulting Numbers: [84, 57, 68]
Generated Node #0,1: 73:[84, 57, 68] Operation: 78-10=68
Exploring Operation: 84-10=74, Resulting Numbers: [78, 57, 74]
Generated Node #0,2: 73:[78, 57, 74] Operation: 84-10=74
Exploring Operation: 84+10=94, Resulting Numbers: [78, 57, 94]
Generated Node #0,3: 73:[78, 57, 94] Operation: 84+10=94
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[84, 78, 67], Operations: ['10+57=67']
Exploring Operation: 84+67=151, Resulting Numbers: [78, 151]
Generated Node #0,0,0: 73:[78, 151] Operation: 84+67=151
Exploring Operation: 84-67=17, Resulting Numbers: [78, 17]
Generated Node #0,0,1: 73:[78, 17] Operation: 84-67=17
Exploring Operation: 84-78=6, Resulting Numbers: [67, 6]
Generated Node #0,0,2: 73:[67, 6] Operation: 84-78=6
Exploring Operation: 78-67=11, Resulting Numbers: [84, 11]
Generated Node #0,0,3: 73:[84, 11] Operation: 78-67=11
Moving to Node #0,0,1
Current State: 73:[78, 17], Operations: ['10+57=67', '84-67=17']
Exploring Operation: 78*17=1326, Resulting Numbers: [1326]
1326,73 unequal: No Solution
Exploring Operation: 78-17=61, Resulting Numbers: [61]
61,73 unequal: No Solution
Exploring Operation: 78+17=95, Resulting Numbers: [95]
95,73 unequal: No Solution
Moving to Node #0,0,3
Current State: 73:[84, 11], Operations: ['10+57=67', '78-67=11']
Exploring Operation: 84+11=95, Resulting Numbers: [95]
95,73 unequal: No Solution
Exploring Operation: 84-11=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[84, 78, 10, 57], Operations: []
Exploring Operation: 10+57=67, Resulting Numbers: [84, 78, 67]
Generated Node #0,0: 73:[84, 78, 67] Operation: 10+57=67
Moving to Node #0,0
Current State: 73:[84, 78, 67], Operations: ['10+57=67']
Exploring Operation: 78-67=11, Resulting Numbers: [84, 11]
Generated Node #0,0,3: 73:[84, 11] Operation: 78-67=11
Moving to Node #0,0,3
Current State: 73:[84, 11], Operations: ['10+57=67', '78-67=11']
Exploring Operation: 84-11=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
45,
70,
21,
55
] | 24 | [
"70-55=15",
"45/15=3",
"21+3=24"
] | Current State: 24:[45, 70, 21, 55], Operations: []
Exploring Operation: 70-55=15, Resulting Numbers: [45, 21, 15]
Generated Node #2: [45, 21, 15] from Operation: 70-55=15
Current State: 24:[45, 21, 15], Operations: ['70-55=15']
Exploring Operation: 45/15=3, Resulting Numbers: [21, 3]
Generated Node #3: [21, 3] from Operation: 45/15=3
Current State: 24:[21, 3], Operations: ['70-55=15', '45/15=3']
Exploring Operation: 21+3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[45, 70, 21, 55], Operations: []
Exploring Operation: 70-55=15, Resulting Numbers: [45, 21, 15]
Generated Node #0,0: 24:[45, 21, 15] Operation: 70-55=15
Moving to Node #0,0
Current State: 24:[45, 21, 15], Operations: ['70-55=15']
Exploring Operation: 45-21=24, Resulting Numbers: [15, 24]
Generated Node #0,0,0: 24:[15, 24] Operation: 45-21=24
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[15, 24], Operations: ['70-55=15', '45-21=24']
Exploring Operation: 24-15=9, Resulting Numbers: [9]
9,24 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 |
[
22,
4,
14,
22
] | 19 | [
"22/22=1",
"4+14=18",
"1+18=19"
] | Current State: 19:[22, 4, 14, 22], Operations: []
Exploring Operation: 22/22=1, Resulting Numbers: [4, 14, 1]
Generated Node #2: [4, 14, 1] from Operation: 22/22=1
Current State: 19:[4, 14, 1], Operations: ['22/22=1']
Exploring Operation: 4+14=18, Resulting Numbers: [1, 18]
Generated Node #3: [1, 18] from Operation: 4+14=18
Current State: 19:[1, 18], Operations: ['22/22=1', '4+14=18']
Exploring Operation: 1+18=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[22, 4, 14, 22], Operations: []
Exploring Operation: 4+14=18, Resulting Numbers: [22, 22, 18]
Generated Node #0,0: 19:[22, 22, 18] Operation: 4+14=18
Exploring Operation: 14-4=10, Resulting Numbers: [22, 22, 10]
Generated Node #0,1: 19:[22, 22, 10] Operation: 14-4=10
Exploring Operation: 22+4=26, Resulting Numbers: [14, 22, 26]
Generated Node #0,2: 19:[14, 22, 26] Operation: 22+4=26
Exploring Operation: 22-4=18, Resulting Numbers: [14, 22, 18]
Generated Node #0,3: 19:[14, 22, 18] Operation: 22-4=18
Exploring Operation: 22-4=18, Resulting Numbers: [22, 14, 18]
Generated Node #0,4: 19:[22, 14, 18] Operation: 22-4=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[22, 22, 18], Operations: ['4+14=18']
Exploring Operation: 22+18=40, Resulting Numbers: [22, 40]
Generated Node #0,0,0: 19:[22, 40] Operation: 22+18=40
Exploring Operation: 22-18=4, Resulting Numbers: [22, 4]
Generated Node #0,0,1: 19:[22, 4] Operation: 22-18=4
Exploring Operation: 22-22=0, Resulting Numbers: [18, 0]
Generated Node #0,0,2: 19:[18, 0] Operation: 22-22=0
Exploring Operation: 22-18=4, Resulting Numbers: [22, 4]
Generated Node #0,0,3: 19:[22, 4] Operation: 22-18=4
Exploring Operation: 22/22=1, Resulting Numbers: [18, 1]
Generated Node #0,0,4: 19:[18, 1] Operation: 22/22=1
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 19:[22, 4], Operations: ['4+14=18', '22-18=4']
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,19 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,19 unequal: No Solution
Exploring Operation: 22+4=26, Resulting Numbers: [26]
26,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,0,3
Current State: 19:[22, 4], Operations: ['4+14=18', '22-18=4']
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,19 unequal: No Solution
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,19 unequal: No Solution
Exploring Operation: 22+4=26, Resulting Numbers: [26]
26,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,0,4
Current State: 19:[18, 1], Operations: ['4+14=18', '22/22=1']
Exploring Operation: 18+1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[22, 4, 14, 22], Operations: []
Exploring Operation: 4+14=18, Resulting Numbers: [22, 22, 18]
Generated Node #0,0: 19:[22, 22, 18] Operation: 4+14=18
Moving to Node #0,0
Current State: 19:[22, 22, 18], Operations: ['4+14=18']
Exploring Operation: 22/22=1, Resulting Numbers: [18, 1]
Generated Node #0,0,4: 19:[18, 1] Operation: 22/22=1
Moving to Node #0,0,4
Current State: 19:[18, 1], Operations: ['4+14=18', '22/22=1']
Exploring Operation: 18+1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
62,
21,
47,
54
] | 18 | [
"62+21=83",
"47+54=101",
"101-83=18"
] | Current State: 18:[62, 21, 47, 54], Operations: []
Exploring Operation: 62+21=83, Resulting Numbers: [47, 54, 83]
Generated Node #2: [47, 54, 83] from Operation: 62+21=83
Current State: 18:[47, 54, 83], Operations: ['62+21=83']
Exploring Operation: 47+54=101, Resulting Numbers: [83, 101]
Generated Node #3: [83, 101] from Operation: 47+54=101
Current State: 18:[83, 101], Operations: ['62+21=83', '47+54=101']
Exploring Operation: 101-83=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[62, 21, 47, 54], Operations: []
Exploring Operation: 62-47=15, Resulting Numbers: [21, 54, 15]
Generated Node #0,0: 18:[21, 54, 15] Operation: 62-47=15
Exploring Operation: 62-54=8, Resulting Numbers: [21, 47, 8]
Generated Node #0,1: 18:[21, 47, 8] Operation: 62-54=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[21, 47, 8], Operations: ['62-54=8']
Exploring Operation: 47-8=39, Resulting Numbers: [21, 39]
Generated Node #0,1,0: 18:[21, 39] Operation: 47-8=39
Exploring Operation: 47-21=26, Resulting Numbers: [8, 26]
Generated Node #0,1,1: 18:[8, 26] Operation: 47-21=26
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 18:[8, 26], Operations: ['62-54=8', '47-21=26']
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[62, 21, 47, 54], Operations: []
Exploring Operation: 62-54=8, Resulting Numbers: [21, 47, 8]
Generated Node #0,1: 18:[21, 47, 8] Operation: 62-54=8
Moving to Node #0,1
Current State: 18:[21, 47, 8], Operations: ['62-54=8']
Exploring Operation: 47-21=26, Resulting Numbers: [8, 26]
Generated Node #0,1,1: 18:[8, 26] Operation: 47-21=26
Moving to Node #0,1,1
Current State: 18:[8, 26], Operations: ['62-54=8', '47-21=26']
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
93,
44,
84,
56
] | 18 | [
"93*56=5208",
"5208/84=62",
"62-44=18"
] | Current State: 18:[93, 44, 84, 56], Operations: []
Exploring Operation: 93*56=5208, Resulting Numbers: [44, 84, 5208]
Generated Node #2: [44, 84, 5208] from Operation: 93*56=5208
Current State: 18:[44, 84, 5208], Operations: ['93*56=5208']
Exploring Operation: 5208/84=62, Resulting Numbers: [44, 62]
Generated Node #3: [44, 62] from Operation: 5208/84=62
Current State: 18:[44, 62], Operations: ['93*56=5208', '5208/84=62']
Exploring Operation: 62-44=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[93, 44, 84, 56], Operations: []
Exploring Operation: 93-56=37, Resulting Numbers: [44, 84, 37]
Generated Node #0,0: 18:[44, 84, 37] Operation: 93-56=37
Exploring Operation: 84-56=28, Resulting Numbers: [93, 44, 28]
Generated Node #0,1: 18:[93, 44, 28] Operation: 84-56=28
Exploring Operation: 93-44=49, Resulting Numbers: [84, 56, 49]
Generated Node #0,2: 18:[84, 56, 49] Operation: 93-44=49
Exploring Operation: 93-84=9, Resulting Numbers: [44, 56, 9]
Generated Node #0,3: 18:[44, 56, 9] Operation: 93-84=9
Moving to Node #0,3
Current State: 18:[44, 56, 9], Operations: ['93-84=9']
Exploring Operation: 44-9=35, Resulting Numbers: [56, 35]
Generated Node #0,3,0: 18:[56, 35] Operation: 44-9=35
Exploring Operation: 44+9=53, Resulting Numbers: [56, 53]
Generated Node #0,3,1: 18:[56, 53] Operation: 44+9=53
Exploring Operation: 56-44=12, Resulting Numbers: [9, 12]
Generated Node #0,3,2: 18:[9, 12] Operation: 56-44=12
Exploring Operation: 56-9=47, Resulting Numbers: [44, 47]
Generated Node #0,3,3: 18:[44, 47] Operation: 56-9=47
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 18:[9, 12], Operations: ['93-84=9', '56-44=12']
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 9+12=21, Resulting Numbers: [21]
21,18 unequal: No Solution
Exploring Operation: 9*12=108, Resulting Numbers: [108]
108,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:[56, 35], Operations: ['93-84=9', '44-9=35']
Exploring Operation: 56*35=1960, Resulting Numbers: [1960]
1960,18 unequal: No Solution
Exploring Operation: 56-35=21, Resulting Numbers: [21]
21,18 unequal: No Solution
Exploring Operation: 56+35=91, Resulting Numbers: [91]
91,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,3
Current State: 18:[44, 47], Operations: ['93-84=9', '56-9=47']
Exploring Operation: 47-44=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 44+47=91, Resulting Numbers: [91]
91,18 unequal: No Solution
Exploring Operation: 44*47=2068, Resulting Numbers: [2068]
2068,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:[56, 53], Operations: ['93-84=9', '44+9=53']
Exploring Operation: 56*53=2968, Resulting Numbers: [2968]
2968,18 unequal: No Solution
Exploring Operation: 56-53=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 56+53=109, Resulting Numbers: [109]
109,18 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: 18:[93, 44, 28], Operations: ['84-56=28']
Exploring Operation: 44-28=16, Resulting Numbers: [93, 16]
Generated Node #0,1,0: 18:[93, 16] Operation: 44-28=16
Exploring Operation: 93+44=137, Resulting Numbers: [28, 137]
Generated Node #0,1,1: 18:[28, 137] Operation: 93+44=137
Exploring Operation: 93-44=49, Resulting Numbers: [28, 49]
Generated Node #0,1,2: 18:[28, 49] Operation: 93-44=49
Exploring Operation: 93-28=65, Resulting Numbers: [44, 65]
Generated Node #0,1,3: 18:[44, 65] Operation: 93-28=65
Moving to Node #0,0
Current State: 18:[44, 84, 37], Operations: ['93-56=37']
Exploring Operation: 84-44=40, Resulting Numbers: [37, 40]
Generated Node #0,0,0: 18:[37, 40] Operation: 84-44=40
Exploring Operation: 44-37=7, Resulting Numbers: [84, 7]
Generated Node #0,0,1: 18:[84, 7] Operation: 44-37=7
Exploring Operation: 44+84=128, Resulting Numbers: [37, 128]
Generated Node #0,0,2: 18:[37, 128] Operation: 44+84=128
Exploring Operation: 84-37=47, Resulting Numbers: [44, 47]
Generated Node #0,0,3: 18:[44, 47] Operation: 84-37=47
Moving to Node #0,2
Current State: 18:[84, 56, 49], Operations: ['93-44=49']
Exploring Operation: 56-49=7, Resulting Numbers: [84, 7]
Generated Node #0,2,0: 18:[84, 7] Operation: 56-49=7
Exploring Operation: 84-56=28, Resulting Numbers: [49, 28]
Generated Node #0,2,1: 18:[49, 28] Operation: 84-56=28
Exploring Operation: 84-49=35, Resulting Numbers: [56, 35]
Generated Node #0,2,2: 18:[56, 35] Operation: 84-49=35
Exploring Operation: 84+56=140, Resulting Numbers: [49, 140]
Generated Node #0,2,3: 18:[49, 140] Operation: 84+56=140
Moving to Node #0,1,2
Current State: 18:[28, 49], Operations: ['84-56=28', '93-44=49']
Exploring Operation: 49-28=21, Resulting Numbers: [21]
21,18 unequal: No Solution
Exploring Operation: 28*49=1372, Resulting Numbers: [1372]
1372,18 unequal: No Solution
Exploring Operation: 28+49=77, Resulting Numbers: [77]
77,18 unequal: No Solution
Moving to Node #0,0,0
Current State: 18:[37, 40], Operations: ['93-56=37', '84-44=40']
Exploring Operation: 37+40=77, Resulting Numbers: [77]
77,18 unequal: No Solution
Exploring Operation: 40-37=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 37*40=1480, Resulting Numbers: [1480]
1480,18 unequal: No Solution
Moving to Node #0,2,1
Current State: 18:[49, 28], Operations: ['93-44=49', '84-56=28']
Exploring Operation: 49-28=21, Resulting Numbers: [21]
21,18 unequal: No Solution
Exploring Operation: 49+28=77, Resulting Numbers: [77]
77,18 unequal: No Solution
Exploring Operation: 49*28=1372, Resulting Numbers: [1372]
1372,18 unequal: No Solution
Moving to Node #0,0,3
Current State: 18:[44, 47], Operations: ['93-56=37', '84-37=47']
Exploring Operation: 44*47=2068, Resulting Numbers: [2068]
2068,18 unequal: No Solution
Exploring Operation: 47-44=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 44+47=91, Resulting Numbers: [91]
91,18 unequal: No Solution
Moving to Node #0,2,2
Current State: 18:[56, 35], Operations: ['93-44=49', '84-49=35']
Exploring Operation: 56-35=21, Resulting Numbers: [21]
21,18 unequal: No Solution
Exploring Operation: 56+35=91, Resulting Numbers: [91]
91,18 unequal: No Solution
Exploring Operation: 56*35=1960, Resulting Numbers: [1960]
1960,18 unequal: No Solution
Moving to Node #0,0,1
Current State: 18:[84, 7], Operations: ['93-56=37', '44-37=7']
Exploring Operation: 84+7=91, Resulting Numbers: [91]
91,18 unequal: No Solution
Exploring Operation: 84-7=77, Resulting Numbers: [77]
77,18 unequal: No Solution
Exploring Operation: 84/7=12, Resulting Numbers: [12]
12,18 unequal: No Solution
Exploring Operation: 84*7=588, Resulting Numbers: [588]
588,18 unequal: No Solution
Moving to Node #0,2,0
Current State: 18:[84, 7], Operations: ['93-44=49', '56-49=7']
Exploring Operation: 84/7=12, Resulting Numbers: [12]
12,18 unequal: No Solution
Exploring Operation: 84-7=77, Resulting Numbers: [77]
77,18 unequal: No Solution
Exploring Operation: 84+7=91, Resulting Numbers: [91]
91,18 unequal: No Solution
Exploring Operation: 84*7=588, Resulting Numbers: [588]
588,18 unequal: No Solution
Moving to Node #0,1,3
Current State: 18:[44, 65], Operations: ['84-56=28', '93-28=65']
Exploring Operation: 65-44=21, Resulting Numbers: [21]
21,18 unequal: No Solution
Exploring Operation: 44+65=109, Resulting Numbers: [109]
109,18 unequal: No Solution
Exploring Operation: 44*65=2860, Resulting Numbers: [2860]
2860,18 unequal: No Solution
Moving to Node #0,1,0
Current State: 18:[93, 16], Operations: ['84-56=28', '44-28=16']
Exploring Operation: 93*16=1488, Resulting Numbers: [1488]
1488,18 unequal: No Solution
Exploring Operation: 93+16=109, Resulting Numbers: [109]
109,18 unequal: No Solution
Exploring Operation: 93-16=77, Resulting Numbers: [77]
77,18 unequal: No Solution
Moving to Node #0,1,1
Current State: 18:[28, 137], Operations: ['84-56=28', '93+44=137']
Exploring Operation: 137-28=109, Resulting Numbers: [109]
109,18 unequal: No Solution
Exploring Operation: 28+137=165, Resulting Numbers: [165]
165,18 unequal: No Solution
Exploring Operation: 28*137=3836, Resulting Numbers: [3836]
3836,18 unequal: No Solution
Moving to Node #0,0,2
Current State: 18:[37, 128], Operations: ['93-56=37', '44+84=128']
Exploring Operation: 37+128=165, Resulting Numbers: [165]
165,18 unequal: No Solution
Exploring Operation: 128-37=91, Resulting Numbers: [91]
91,18 unequal: No Solution
Exploring Operation: 37*128=4736, Resulting Numbers: [4736]
4736,18 unequal: No Solution
Moving to Node #0,2,3
Current State: 18:[49, 140], Operations: ['93-44=49', '84+56=140']
Exploring Operation: 49+140=189, Resulting Numbers: [189]
189,18 unequal: No Solution
Exploring Operation: 140-49=91, Resulting Numbers: [91]
91,18 unequal: No Solution
Exploring Operation: 49*140=6860, Resulting Numbers: [6860]
6860,18 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
71,
38,
71,
4
] | 42 | [
"71+38=109",
"71-4=67",
"109-67=42"
] | Current State: 42:[71, 38, 71, 4], Operations: []
Exploring Operation: 71+38=109, Resulting Numbers: [4, 109]
Generated Node #2: [4, 109] from Operation: 71+38=109
Current State: 42:[4, 109], Operations: ['71+38=109']
Exploring Operation: 71-4=67, Resulting Numbers: [109, 67]
Generated Node #3: [109, 67] from Operation: 71-4=67
Current State: 42:[109, 67], Operations: ['71+38=109', '71-4=67']
Exploring Operation: 109-67=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[71, 38, 71, 4], Operations: []
Exploring Operation: 71/71=1, Resulting Numbers: [38, 4, 1]
Generated Node #0,0: 42:[38, 4, 1] Operation: 71/71=1
Moving to Node #0,0
Current State: 42:[38, 4, 1], Operations: ['71/71=1']
Exploring Operation: 38+4=42, Resulting Numbers: [1, 42]
Generated Node #0,0,0: 42:[1, 42] Operation: 38+4=42
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 42:[1, 42], Operations: ['71/71=1', '38+4=42']
Exploring Operation: 1*42=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[71, 38, 71, 4], Operations: []
Exploring Operation: 71/71=1, Resulting Numbers: [38, 4, 1]
Generated Node #0,0: 42:[38, 4, 1] Operation: 71/71=1
Moving to Node #0,0
Current State: 42:[38, 4, 1], Operations: ['71/71=1']
Exploring Operation: 38+4=42, Resulting Numbers: [1, 42]
Generated Node #0,0,0: 42:[1, 42] Operation: 38+4=42
Moving to Node #0,0,0
Current State: 42:[1, 42], Operations: ['71/71=1', '38+4=42']
Exploring Operation: 1*42=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
19,
71,
4,
35
] | 50 | [
"19+71=90",
"4*35=140",
"140-90=50"
] | Current State: 50:[19, 71, 4, 35], Operations: []
Exploring Operation: 19+71=90, Resulting Numbers: [4, 35, 90]
Generated Node #2: [4, 35, 90] from Operation: 19+71=90
Current State: 50:[4, 35, 90], Operations: ['19+71=90']
Exploring Operation: 4*35=140, Resulting Numbers: [90, 140]
Generated Node #3: [90, 140] from Operation: 4*35=140
Current State: 50:[90, 140], Operations: ['19+71=90', '4*35=140']
Exploring Operation: 140-90=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[19, 71, 4, 35], Operations: []
Exploring Operation: 71-35=36, Resulting Numbers: [19, 4, 36]
Generated Node #0,0: 50:[19, 4, 36] Operation: 71-35=36
Exploring Operation: 71-19=52, Resulting Numbers: [4, 35, 52]
Generated Node #0,1: 50:[4, 35, 52] Operation: 71-19=52
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[4, 35, 52], Operations: ['71-19=52']
Exploring Operation: 52-35=17, Resulting Numbers: [4, 17]
Generated Node #0,1,0: 50:[4, 17] Operation: 52-35=17
Exploring Operation: 35-4=31, Resulting Numbers: [52, 31]
Generated Node #0,1,1: 50:[52, 31] Operation: 35-4=31
Moving to Node #0,1,0
Current State: 50:[4, 17], Operations: ['71-19=52', '52-35=17']
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,50 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,50 unequal: No Solution
Moving to Node #0,1,1
Current State: 50:[52, 31], Operations: ['71-19=52', '35-4=31']
Exploring Operation: 52+31=83, Resulting Numbers: [83]
83,50 unequal: No Solution
Exploring Operation: 52-31=21, Resulting Numbers: [21]
21,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
Current State: 50:[19, 4, 36], Operations: ['71-35=36']
Exploring Operation: 36/4=9, Resulting Numbers: [19, 9]
Generated Node #0,0,0: 50:[19, 9] Operation: 36/4=9
Exploring Operation: 19+36=55, Resulting Numbers: [4, 55]
Generated Node #0,0,1: 50:[4, 55] Operation: 19+36=55
Moving to Node #0,0,1
Current State: 50:[4, 55], Operations: ['71-35=36', '19+36=55']
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,50 unequal: No Solution
Exploring Operation: 4+55=59, Resulting Numbers: [59]
59,50 unequal: No Solution
Moving to Node #0,0,0
Current State: 50:[19, 9], Operations: ['71-35=36', '36/4=9']
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,50 unequal: No Solution
Exploring Operation: 19+9=28, Resulting Numbers: [28]
28,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
5,
35,
7,
90
] | 17 | [
"90-5=85",
"35/7=5",
"85/5=17"
] | Current State: 17:[5, 35, 7, 90], Operations: []
Exploring Operation: 90-5=85, Resulting Numbers: [35, 7, 85]
Generated Node #2: [35, 7, 85] from Operation: 90-5=85
Current State: 17:[35, 7, 85], Operations: ['90-5=85']
Exploring Operation: 35/7=5, Resulting Numbers: [85, 5]
Generated Node #3: [85, 5] from Operation: 35/7=5
Current State: 17:[85, 5], Operations: ['90-5=85', '35/7=5']
Exploring Operation: 85/5=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[5, 35, 7, 90], Operations: []
Exploring Operation: 90/5=18, Resulting Numbers: [35, 7, 18]
Generated Node #0,0: 17:[35, 7, 18] Operation: 90/5=18
Moving to Node #0,0
Current State: 17:[35, 7, 18], Operations: ['90/5=18']
Exploring Operation: 35-18=17, Resulting Numbers: [7, 17]
Generated Node #0,0,0: 17:[7, 17] Operation: 35-18=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 17:[7, 17], Operations: ['90/5=18', '35-18=17']
Exploring Operation: 7+17=24, Resulting Numbers: [24]
24,17 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 |
[
16,
67,
29,
92
] | 98 | [
"67+29=96",
"96/16=6",
"92+6=98"
] | Current State: 98:[16, 67, 29, 92], Operations: []
Exploring Operation: 67+29=96, Resulting Numbers: [16, 92, 96]
Generated Node #2: [16, 92, 96] from Operation: 67+29=96
Current State: 98:[16, 92, 96], Operations: ['67+29=96']
Exploring Operation: 96/16=6, Resulting Numbers: [92, 6]
Generated Node #3: [92, 6] from Operation: 96/16=6
Current State: 98:[92, 6], Operations: ['67+29=96', '96/16=6']
Exploring Operation: 92+6=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[16, 67, 29, 92], Operations: []
Exploring Operation: 67+29=96, Resulting Numbers: [16, 92, 96]
Generated Node #0,0: 98:[16, 92, 96] Operation: 67+29=96
Exploring Operation: 67-29=38, Resulting Numbers: [16, 92, 38]
Generated Node #0,1: 98:[16, 92, 38] Operation: 67-29=38
Exploring Operation: 16+29=45, Resulting Numbers: [67, 92, 45]
Generated Node #0,2: 98:[67, 92, 45] Operation: 16+29=45
Exploring Operation: 67-16=51, Resulting Numbers: [29, 92, 51]
Generated Node #0,3: 98:[29, 92, 51] Operation: 67-16=51
Exploring Operation: 29-16=13, Resulting Numbers: [67, 92, 13]
Generated Node #0,4: 98:[67, 92, 13] Operation: 29-16=13
Moving to Node #0,0
Current State: 98:[16, 92, 96], Operations: ['67+29=96']
Exploring Operation: 96/16=6, Resulting Numbers: [92, 6]
Generated Node #0,0,0: 98:[92, 6] Operation: 96/16=6
Exploring Operation: 16+92=108, Resulting Numbers: [96, 108]
Generated Node #0,0,1: 98:[96, 108] Operation: 16+92=108
Exploring Operation: 16+96=112, Resulting Numbers: [92, 112]
Generated Node #0,0,2: 98:[92, 112] Operation: 16+96=112
Exploring Operation: 96-92=4, Resulting Numbers: [16, 4]
Generated Node #0,0,3: 98:[16, 4] Operation: 96-92=4
Exploring Operation: 92-16=76, Resulting Numbers: [96, 76]
Generated Node #0,0,4: 98:[96, 76] Operation: 92-16=76
Moving to Node #0,1
Current State: 98:[16, 92, 38], Operations: ['67-29=38']
Exploring Operation: 92-16=76, Resulting Numbers: [38, 76]
Generated Node #0,1,0: 98:[38, 76] Operation: 92-16=76
Exploring Operation: 16+38=54, Resulting Numbers: [92, 54]
Generated Node #0,1,1: 98:[92, 54] Operation: 16+38=54
Exploring Operation: 38-16=22, Resulting Numbers: [92, 22]
Generated Node #0,1,2: 98:[92, 22] Operation: 38-16=22
Exploring Operation: 92-38=54, Resulting Numbers: [16, 54]
Generated Node #0,1,3: 98:[16, 54] Operation: 92-38=54
Exploring Operation: 16+92=108, Resulting Numbers: [38, 108]
Generated Node #0,1,4: 98:[38, 108] Operation: 16+92=108
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 98:[16, 54], Operations: ['67-29=38', '92-38=54']
Exploring Operation: 16+54=70, Resulting Numbers: [70]
70,98 unequal: No Solution
Exploring Operation: 16*54=864, Resulting Numbers: [864]
864,98 unequal: No Solution
Exploring Operation: 54-16=38, Resulting Numbers: [38]
38,98 unequal: No Solution
No 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: 98:[92, 54], Operations: ['67-29=38', '16+38=54']
Exploring Operation: 92-54=38, Resulting Numbers: [38]
38,98 unequal: No Solution
Exploring Operation: 92*54=4968, Resulting Numbers: [4968]
4968,98 unequal: No Solution
Exploring Operation: 92+54=146, Resulting Numbers: [146]
146,98 unequal: No Solution
No 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: 98:[92, 22], Operations: ['67-29=38', '38-16=22']
Exploring Operation: 92+22=114, Resulting Numbers: [114]
114,98 unequal: No Solution
Exploring Operation: 92*22=2024, Resulting Numbers: [2024]
2024,98 unequal: No Solution
Exploring Operation: 92-22=70, Resulting Numbers: [70]
70,98 unequal: No Solution
No 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: 98:[38, 108], Operations: ['67-29=38', '16+92=108']
Exploring Operation: 38+108=146, Resulting Numbers: [146]
146,98 unequal: No Solution
Exploring Operation: 108-38=70, Resulting Numbers: [70]
70,98 unequal: No Solution
Exploring Operation: 38*108=4104, Resulting Numbers: [4104]
4104,98 unequal: No Solution
No 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: 98:[38, 76], Operations: ['67-29=38', '92-16=76']
Exploring Operation: 38+76=114, Resulting Numbers: [114]
114,98 unequal: No Solution
Exploring Operation: 76-38=38, Resulting Numbers: [38]
38,98 unequal: No Solution
Exploring Operation: 38*76=2888, Resulting Numbers: [2888]
2888,98 unequal: No Solution
Exploring Operation: 76/38=2, Resulting Numbers: [2]
2,98 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: 98:[29, 92, 51], Operations: ['67-16=51']
Exploring Operation: 92-51=41, Resulting Numbers: [29, 41]
Generated Node #0,3,0: 98:[29, 41] Operation: 92-51=41
Exploring Operation: 92-29=63, Resulting Numbers: [51, 63]
Generated Node #0,3,1: 98:[51, 63] Operation: 92-29=63
Exploring Operation: 51-29=22, Resulting Numbers: [92, 22]
Generated Node #0,3,2: 98:[92, 22] Operation: 51-29=22
Exploring Operation: 29+92=121, Resulting Numbers: [51, 121]
Generated Node #0,3,3: 98:[51, 121] Operation: 29+92=121
Exploring Operation: 29+51=80, Resulting Numbers: [92, 80]
Generated Node #0,3,4: 98:[92, 80] Operation: 29+51=80
Moving to Node #0,4
Current State: 98:[67, 92, 13], Operations: ['29-16=13']
Exploring Operation: 67-13=54, Resulting Numbers: [92, 54]
Generated Node #0,4,0: 98:[92, 54] Operation: 67-13=54
Exploring Operation: 67+13=80, Resulting Numbers: [92, 80]
Generated Node #0,4,1: 98:[92, 80] Operation: 67+13=80
Exploring Operation: 92+13=105, Resulting Numbers: [67, 105]
Generated Node #0,4,2: 98:[67, 105] Operation: 92+13=105
Exploring Operation: 92-13=79, Resulting Numbers: [67, 79]
Generated Node #0,4,3: 98:[67, 79] Operation: 92-13=79
Exploring Operation: 92-67=25, Resulting Numbers: [13, 25]
Generated Node #0,4,4: 98:[13, 25] Operation: 92-67=25
Moving to Node #0,2
Current State: 98:[67, 92, 45], Operations: ['16+29=45']
Exploring Operation: 67+45=112, Resulting Numbers: [92, 112]
Generated Node #0,2,0: 98:[92, 112] Operation: 67+45=112
Exploring Operation: 92-67=25, Resulting Numbers: [45, 25]
Generated Node #0,2,1: 98:[45, 25] Operation: 92-67=25
Exploring Operation: 67-45=22, Resulting Numbers: [92, 22]
Generated Node #0,2,2: 98:[92, 22] Operation: 67-45=22
Exploring Operation: 92-45=47, Resulting Numbers: [67, 47]
Generated Node #0,2,3: 98:[67, 47] Operation: 92-45=47
Exploring Operation: 92+45=137, Resulting Numbers: [67, 137]
Generated Node #0,2,4: 98:[67, 137] Operation: 92+45=137
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 98:[92, 22], Operations: ['16+29=45', '67-45=22']
Exploring Operation: 92+22=114, Resulting Numbers: [114]
114,98 unequal: No Solution
Exploring Operation: 92*22=2024, Resulting Numbers: [2024]
2024,98 unequal: No Solution
Exploring Operation: 92-22=70, Resulting Numbers: [70]
70,98 unequal: No Solution
No 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: 98:[45, 25], Operations: ['16+29=45', '92-67=25']
Exploring Operation: 45*25=1125, Resulting Numbers: [1125]
1125,98 unequal: No Solution
Exploring Operation: 45+25=70, Resulting Numbers: [70]
70,98 unequal: No Solution
Exploring Operation: 45-25=20, Resulting Numbers: [20]
20,98 unequal: No Solution
No 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: 98:[92, 112], Operations: ['16+29=45', '67+45=112']
Exploring Operation: 112-92=20, Resulting Numbers: [20]
20,98 unequal: No Solution
Exploring Operation: 92+112=204, Resulting Numbers: [204]
204,98 unequal: No Solution
Exploring Operation: 92*112=10304, Resulting Numbers: [10304]
10304,98 unequal: No Solution
No 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: 98:[67, 47], Operations: ['16+29=45', '92-45=47']
Exploring Operation: 67*47=3149, Resulting Numbers: [3149]
3149,98 unequal: No Solution
Exploring Operation: 67+47=114, Resulting Numbers: [114]
114,98 unequal: No Solution
Exploring Operation: 67-47=20, Resulting Numbers: [20]
20,98 unequal: No Solution
No 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: 98:[67, 137], Operations: ['16+29=45', '92+45=137']
Exploring Operation: 67+137=204, Resulting Numbers: [204]
204,98 unequal: No Solution
Exploring Operation: 67*137=9179, Resulting Numbers: [9179]
9179,98 unequal: No Solution
Exploring Operation: 137-67=70, Resulting Numbers: [70]
70,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,3
Current State: 98:[16, 4], Operations: ['67+29=96', '96-92=4']
Exploring Operation: 16*4=64, Resulting Numbers: [64]
64,98 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,98 unequal: No Solution
Exploring Operation: 16+4=20, Resulting Numbers: [20]
20,98 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,98 unequal: No Solution
Moving to Node #0,0,0
Current State: 98:[92, 6], Operations: ['67+29=96', '96/16=6']
Exploring Operation: 92*6=552, Resulting Numbers: [552]
552,98 unequal: No Solution
Exploring Operation: 92+6=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[16, 67, 29, 92], Operations: []
Exploring Operation: 67+29=96, Resulting Numbers: [16, 92, 96]
Generated Node #0,0: 98:[16, 92, 96] Operation: 67+29=96
Moving to Node #0,0
Current State: 98:[16, 92, 96], Operations: ['67+29=96']
Exploring Operation: 96/16=6, Resulting Numbers: [92, 6]
Generated Node #0,0,0: 98:[92, 6] Operation: 96/16=6
Moving to Node #0,0,0
Current State: 98:[92, 6], Operations: ['67+29=96', '96/16=6']
Exploring Operation: 92+6=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 0.938368 | hs_5 | sum_heuristic |
[
4,
76,
88,
83
] | 95 | [
"76/4=19",
"88-83=5",
"19*5=95"
] | Current State: 95:[4, 76, 88, 83], Operations: []
Exploring Operation: 76/4=19, Resulting Numbers: [88, 83, 19]
Generated Node #2: [88, 83, 19] from Operation: 76/4=19
Current State: 95:[88, 83, 19], Operations: ['76/4=19']
Exploring Operation: 88-83=5, Resulting Numbers: [19, 5]
Generated Node #3: [19, 5] from Operation: 88-83=5
Current State: 95:[19, 5], Operations: ['76/4=19', '88-83=5']
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[4, 76, 88, 83], Operations: []
Exploring Operation: 83-76=7, Resulting Numbers: [4, 88, 7]
Generated Node #0,0: 95:[4, 88, 7] Operation: 83-76=7
Exploring Operation: 76/4=19, Resulting Numbers: [88, 83, 19]
Generated Node #0,1: 95:[88, 83, 19] Operation: 76/4=19
Moving to Node #0,0
Current State: 95:[4, 88, 7], Operations: ['83-76=7']
Exploring Operation: 4+88=92, Resulting Numbers: [7, 92]
Generated Node #0,0,0: 95:[7, 92] Operation: 4+88=92
Exploring Operation: 88+7=95, Resulting Numbers: [4, 95]
Generated Node #0,0,1: 95:[4, 95] Operation: 88+7=95
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 95:[4, 95], Operations: ['83-76=7', '88+7=95']
Exploring Operation: 4+95=99, Resulting Numbers: [99]
99,95 unequal: No Solution
Exploring Operation: 95-4=91, Resulting Numbers: [91]
91,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,0
Current State: 95:[7, 92], Operations: ['83-76=7', '4+88=92']
Exploring Operation: 7+92=99, Resulting Numbers: [99]
99,95 unequal: No Solution
Exploring Operation: 92-7=85, Resulting Numbers: [85]
85,95 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: 95:[88, 83, 19], Operations: ['76/4=19']
Exploring Operation: 88-83=5, Resulting Numbers: [19, 5]
Generated Node #0,1,0: 95:[19, 5] Operation: 88-83=5
Exploring Operation: 83+19=102, Resulting Numbers: [88, 102]
Generated Node #0,1,1: 95:[88, 102] Operation: 83+19=102
Moving to Node #0,1,0
Current State: 95:[19, 5], Operations: ['76/4=19', '88-83=5']
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[4, 76, 88, 83], Operations: []
Exploring Operation: 76/4=19, Resulting Numbers: [88, 83, 19]
Generated Node #0,1: 95:[88, 83, 19] Operation: 76/4=19
Moving to Node #0,1
Current State: 95:[88, 83, 19], Operations: ['76/4=19']
Exploring Operation: 88-83=5, Resulting Numbers: [19, 5]
Generated Node #0,1,0: 95:[19, 5] Operation: 88-83=5
Moving to Node #0,1,0
Current State: 95:[19, 5], Operations: ['76/4=19', '88-83=5']
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
71,
82,
15,
43
] | 69 | [
"82-71=11",
"15+43=58",
"11+58=69"
] | Current State: 69:[71, 82, 15, 43], Operations: []
Exploring Operation: 82-71=11, Resulting Numbers: [15, 43, 11]
Generated Node #2: [15, 43, 11] from Operation: 82-71=11
Current State: 69:[15, 43, 11], Operations: ['82-71=11']
Exploring Operation: 15+43=58, Resulting Numbers: [11, 58]
Generated Node #3: [11, 58] from Operation: 15+43=58
Current State: 69:[11, 58], Operations: ['82-71=11', '15+43=58']
Exploring Operation: 11+58=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[71, 82, 15, 43], Operations: []
Exploring Operation: 43-15=28, Resulting Numbers: [71, 82, 28]
Generated Node #0,0: 69:[71, 82, 28] Operation: 43-15=28
Exploring Operation: 71-43=28, Resulting Numbers: [82, 15, 28]
Generated Node #0,1: 69:[82, 15, 28] Operation: 71-43=28
Exploring Operation: 82-15=67, Resulting Numbers: [71, 43, 67]
Generated Node #0,2: 69:[71, 43, 67] Operation: 82-15=67
Moving to Node #0,0
Current State: 69:[71, 82, 28], Operations: ['43-15=28']
Exploring Operation: 82-71=11, Resulting Numbers: [28, 11]
Generated Node #0,0,0: 69:[28, 11] Operation: 82-71=11
Exploring Operation: 82-28=54, Resulting Numbers: [71, 54]
Generated Node #0,0,1: 69:[71, 54] Operation: 82-28=54
Exploring Operation: 71-28=43, Resulting Numbers: [82, 43]
Generated Node #0,0,2: 69:[82, 43] Operation: 71-28=43
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 69:[28, 11], Operations: ['43-15=28', '82-71=11']
Exploring Operation: 28+11=39, Resulting Numbers: [39]
39,69 unequal: No Solution
Exploring Operation: 28*11=308, Resulting Numbers: [308]
308,69 unequal: No Solution
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 69:[71, 54], Operations: ['43-15=28', '82-28=54']
Exploring Operation: 71-54=17, Resulting Numbers: [17]
17,69 unequal: No Solution
Exploring Operation: 71+54=125, Resulting Numbers: [125]
125,69 unequal: No Solution
Exploring Operation: 71*54=3834, Resulting Numbers: [3834]
3834,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 69:[82, 43], Operations: ['43-15=28', '71-28=43']
Exploring Operation: 82*43=3526, Resulting Numbers: [3526]
3526,69 unequal: No Solution
Exploring Operation: 82+43=125, Resulting Numbers: [125]
125,69 unequal: No Solution
Exploring Operation: 82-43=39, Resulting Numbers: [39]
39,69 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: 69:[71, 43, 67], Operations: ['82-15=67']
Exploring Operation: 71-43=28, Resulting Numbers: [67, 28]
Generated Node #0,2,0: 69:[67, 28] Operation: 71-43=28
Exploring Operation: 67-43=24, Resulting Numbers: [71, 24]
Generated Node #0,2,1: 69:[71, 24] Operation: 67-43=24
Exploring Operation: 71-67=4, Resulting Numbers: [43, 4]
Generated Node #0,2,2: 69:[43, 4] Operation: 71-67=4
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 69:[71, 24], Operations: ['82-15=67', '67-43=24']
Exploring Operation: 71*24=1704, Resulting Numbers: [1704]
1704,69 unequal: No Solution
Exploring Operation: 71-24=47, Resulting Numbers: [47]
47,69 unequal: No Solution
Exploring Operation: 71+24=95, Resulting Numbers: [95]
95,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,2,0
Current State: 69:[67, 28], Operations: ['82-15=67', '71-43=28']
Exploring Operation: 67-28=39, Resulting Numbers: [39]
39,69 unequal: No Solution
Exploring Operation: 67+28=95, Resulting Numbers: [95]
95,69 unequal: No Solution
Exploring Operation: 67*28=1876, Resulting Numbers: [1876]
1876,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,2,2
Current State: 69:[43, 4], Operations: ['82-15=67', '71-67=4']
Exploring Operation: 43+4=47, Resulting Numbers: [47]
47,69 unequal: No Solution
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,69 unequal: No Solution
Exploring Operation: 43*4=172, Resulting Numbers: [172]
172,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 69:[82, 15, 28], Operations: ['71-43=28']
Exploring Operation: 82-15=67, Resulting Numbers: [28, 67]
Generated Node #0,1,0: 69:[28, 67] Operation: 82-15=67
Exploring Operation: 82-28=54, Resulting Numbers: [15, 54]
Generated Node #0,1,1: 69:[15, 54] Operation: 82-28=54
Exploring Operation: 28-15=13, Resulting Numbers: [82, 13]
Generated Node #0,1,2: 69:[82, 13] Operation: 28-15=13
Moving to Node #0,1,0
Current State: 69:[28, 67], Operations: ['71-43=28', '82-15=67']
Exploring Operation: 28+67=95, Resulting Numbers: [95]
95,69 unequal: No Solution
Exploring Operation: 67-28=39, Resulting Numbers: [39]
39,69 unequal: No Solution
Exploring Operation: 28*67=1876, Resulting Numbers: [1876]
1876,69 unequal: No Solution
Moving to Node #0,1,1
Current State: 69:[15, 54], Operations: ['71-43=28', '82-28=54']
Exploring Operation: 15*54=810, Resulting Numbers: [810]
810,69 unequal: No Solution
Exploring Operation: 54-15=39, Resulting Numbers: [39]
39,69 unequal: No Solution
Exploring Operation: 15+54=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[71, 82, 15, 43], Operations: []
Exploring Operation: 71-43=28, Resulting Numbers: [82, 15, 28]
Generated Node #0,1: 69:[82, 15, 28] Operation: 71-43=28
Moving to Node #0,1
Current State: 69:[82, 15, 28], Operations: ['71-43=28']
Exploring Operation: 82-28=54, Resulting Numbers: [15, 54]
Generated Node #0,1,1: 69:[15, 54] Operation: 82-28=54
Moving to Node #0,1,1
Current State: 69:[15, 54], Operations: ['71-43=28', '82-28=54']
Exploring Operation: 15+54=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 0.965278 | hs_3 | sum_heuristic |
[
71,
51,
45,
87
] | 10 | [
"71+51=122",
"45+87=132",
"132-122=10"
] | Current State: 10:[71, 51, 45, 87], Operations: []
Exploring Operation: 71+51=122, Resulting Numbers: [45, 87, 122]
Generated Node #2: [45, 87, 122] from Operation: 71+51=122
Current State: 10:[45, 87, 122], Operations: ['71+51=122']
Exploring Operation: 45+87=132, Resulting Numbers: [122, 132]
Generated Node #3: [122, 132] from Operation: 45+87=132
Current State: 10:[122, 132], Operations: ['71+51=122', '45+87=132']
Exploring Operation: 132-122=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[71, 51, 45, 87], Operations: []
Exploring Operation: 87-71=16, Resulting Numbers: [51, 45, 16]
Generated Node #0,0: 10:[51, 45, 16] Operation: 87-71=16
Exploring Operation: 71-51=20, Resulting Numbers: [45, 87, 20]
Generated Node #0,1: 10:[45, 87, 20] Operation: 71-51=20
Exploring Operation: 87-51=36, Resulting Numbers: [71, 45, 36]
Generated Node #0,2: 10:[71, 45, 36] Operation: 87-51=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[51, 45, 16], Operations: ['87-71=16']
Exploring Operation: 51-16=35, Resulting Numbers: [45, 35]
Generated Node #0,0,0: 10:[45, 35] Operation: 51-16=35
Exploring Operation: 51-45=6, Resulting Numbers: [16, 6]
Generated Node #0,0,1: 10:[16, 6] Operation: 51-45=6
Exploring Operation: 45-16=29, Resulting Numbers: [51, 29]
Generated Node #0,0,2: 10:[51, 29] Operation: 45-16=29
Moving to Node #0,0,1
Current State: 10:[16, 6], Operations: ['87-71=16', '51-45=6']
Exploring Operation: 16+6=22, Resulting Numbers: [22]
22,10 unequal: No Solution
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[71, 51, 45, 87], Operations: []
Exploring Operation: 87-71=16, Resulting Numbers: [51, 45, 16]
Generated Node #0,0: 10:[51, 45, 16] Operation: 87-71=16
Moving to Node #0,0
Current State: 10:[51, 45, 16], Operations: ['87-71=16']
Exploring Operation: 51-45=6, Resulting Numbers: [16, 6]
Generated Node #0,0,1: 10:[16, 6] Operation: 51-45=6
Moving to Node #0,0,1
Current State: 10:[16, 6], Operations: ['87-71=16', '51-45=6']
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
93,
54,
36,
39
] | 85 | [
"39-36=3",
"93/3=31",
"54+31=85"
] | Current State: 85:[93, 54, 36, 39], Operations: []
Exploring Operation: 39-36=3, Resulting Numbers: [93, 54, 3]
Generated Node #2: [93, 54, 3] from Operation: 39-36=3
Current State: 85:[93, 54, 3], Operations: ['39-36=3']
Exploring Operation: 93/3=31, Resulting Numbers: [54, 31]
Generated Node #3: [54, 31] from Operation: 93/3=31
Current State: 85:[54, 31], Operations: ['39-36=3', '93/3=31']
Exploring Operation: 54+31=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[93, 54, 36, 39], Operations: []
Exploring Operation: 54+36=90, Resulting Numbers: [93, 39, 90]
Generated Node #0,0: 85:[93, 39, 90] Operation: 54+36=90
Exploring Operation: 54-36=18, Resulting Numbers: [93, 39, 18]
Generated Node #0,1: 85:[93, 39, 18] Operation: 54-36=18
Exploring Operation: 54-39=15, Resulting Numbers: [93, 36, 15]
Generated Node #0,2: 85:[93, 36, 15] Operation: 54-39=15
Start Sub Search at level 1: Moving to Node #0,2
Current State: 85:[93, 36, 15], Operations: ['54-39=15']
Exploring Operation: 93-15=78, Resulting Numbers: [36, 78]
Generated Node #0,2,0: 85:[36, 78] Operation: 93-15=78
Exploring Operation: 93-36=57, Resulting Numbers: [15, 57]
Generated Node #0,2,1: 85:[15, 57] Operation: 93-36=57
Exploring Operation: 36-15=21, Resulting Numbers: [93, 21]
Generated Node #0,2,2: 85:[93, 21] Operation: 36-15=21
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 85:[93, 21], Operations: ['54-39=15', '36-15=21']
Exploring Operation: 93-21=72, Resulting Numbers: [72]
72,85 unequal: No Solution
Exploring Operation: 93+21=114, Resulting Numbers: [114]
114,85 unequal: No Solution
Exploring Operation: 93*21=1953, Resulting Numbers: [1953]
1953,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 85:[36, 78], Operations: ['54-39=15', '93-15=78']
Exploring Operation: 78-36=42, Resulting Numbers: [42]
42,85 unequal: No Solution
Exploring Operation: 36*78=2808, Resulting Numbers: [2808]
2808,85 unequal: No Solution
Exploring Operation: 36+78=114, Resulting Numbers: [114]
114,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 85:[15, 57], Operations: ['54-39=15', '93-36=57']
Exploring Operation: 57-15=42, Resulting Numbers: [42]
42,85 unequal: No Solution
Exploring Operation: 15+57=72, Resulting Numbers: [72]
72,85 unequal: No Solution
Exploring Operation: 15*57=855, Resulting Numbers: [855]
855,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:[93, 39, 18], Operations: ['54-36=18']
Exploring Operation: 39-18=21, Resulting Numbers: [93, 21]
Generated Node #0,1,0: 85:[93, 21] Operation: 39-18=21
Exploring Operation: 93-39=54, Resulting Numbers: [18, 54]
Generated Node #0,1,1: 85:[18, 54] Operation: 93-39=54
Exploring Operation: 93-18=75, Resulting Numbers: [39, 75]
Generated Node #0,1,2: 85:[39, 75] Operation: 93-18=75
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 85:[93, 21], Operations: ['54-36=18', '39-18=21']
Exploring Operation: 93-21=72, Resulting Numbers: [72]
72,85 unequal: No Solution
Exploring Operation: 93*21=1953, Resulting Numbers: [1953]
1953,85 unequal: No Solution
Exploring Operation: 93+21=114, Resulting Numbers: [114]
114,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:[18, 54], Operations: ['54-36=18', '93-39=54']
Exploring Operation: 54-18=36, Resulting Numbers: [36]
36,85 unequal: No Solution
Exploring Operation: 54/18=3, Resulting Numbers: [3]
3,85 unequal: No Solution
Exploring Operation: 18+54=72, Resulting Numbers: [72]
72,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:[39, 75], Operations: ['54-36=18', '93-18=75']
Exploring Operation: 39*75=2925, Resulting Numbers: [2925]
2925,85 unequal: No Solution
Exploring Operation: 75-39=36, Resulting Numbers: [36]
36,85 unequal: No Solution
Exploring Operation: 39+75=114, Resulting Numbers: [114]
114,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[93, 39, 90], Operations: ['54+36=90']
Exploring Operation: 93-90=3, Resulting Numbers: [39, 3]
Generated Node #0,0,0: 85:[39, 3] Operation: 93-90=3
Exploring Operation: 90-39=51, Resulting Numbers: [93, 51]
Generated Node #0,0,1: 85:[93, 51] Operation: 90-39=51
Exploring Operation: 93-39=54, Resulting Numbers: [90, 54]
Generated Node #0,0,2: 85:[90, 54] Operation: 93-39=54
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 85:[39, 3], Operations: ['54+36=90', '93-90=3']
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,85 unequal: No Solution
Exploring Operation: 39+3=42, Resulting Numbers: [42]
42,85 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,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,2
Current State: 85:[90, 54], Operations: ['54+36=90', '93-39=54']
Exploring Operation: 90+54=144, Resulting Numbers: [144]
144,85 unequal: No Solution
Exploring Operation: 90*54=4860, Resulting Numbers: [4860]
4860,85 unequal: No Solution
Exploring Operation: 90-54=36, Resulting Numbers: [36]
36,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:[93, 51], Operations: ['54+36=90', '90-39=51']
Exploring Operation: 93+51=144, Resulting Numbers: [144]
144,85 unequal: No Solution
Exploring Operation: 93*51=4743, Resulting Numbers: [4743]
4743,85 unequal: No Solution
Exploring Operation: 93-51=42, Resulting Numbers: [42]
42,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
20,
71,
38,
69
] | 16 | [
"20+71=91",
"38+69=107",
"107-91=16"
] | Current State: 16:[20, 71, 38, 69], Operations: []
Exploring Operation: 20+71=91, Resulting Numbers: [38, 69, 91]
Generated Node #2: [38, 69, 91] from Operation: 20+71=91
Current State: 16:[38, 69, 91], Operations: ['20+71=91']
Exploring Operation: 38+69=107, Resulting Numbers: [91, 107]
Generated Node #3: [91, 107] from Operation: 38+69=107
Current State: 16:[91, 107], Operations: ['20+71=91', '38+69=107']
Exploring Operation: 107-91=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[20, 71, 38, 69], Operations: []
Exploring Operation: 71-69=2, Resulting Numbers: [20, 38, 2]
Generated Node #0,0: 16:[20, 38, 2] Operation: 71-69=2
Exploring Operation: 71-38=33, Resulting Numbers: [20, 69, 33]
Generated Node #0,1: 16:[20, 69, 33] Operation: 71-38=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[20, 38, 2], Operations: ['71-69=2']
Exploring Operation: 38-20=18, Resulting Numbers: [2, 18]
Generated Node #0,0,0: 16:[2, 18] Operation: 38-20=18
Exploring Operation: 38/2=19, Resulting Numbers: [20, 19]
Generated Node #0,0,1: 16:[20, 19] Operation: 38/2=19
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 16:[2, 18], Operations: ['71-69=2', '38-20=18']
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,16 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[20, 71, 38, 69], Operations: []
Exploring Operation: 71-69=2, Resulting Numbers: [20, 38, 2]
Generated Node #0,0: 16:[20, 38, 2] Operation: 71-69=2
Moving to Node #0,0
Current State: 16:[20, 38, 2], Operations: ['71-69=2']
Exploring Operation: 38-20=18, Resulting Numbers: [2, 18]
Generated Node #0,0,0: 16:[2, 18] Operation: 38-20=18
Moving to Node #0,0,0
Current State: 16:[2, 18], Operations: ['71-69=2', '38-20=18']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
5,
31,
2,
83
] | 42 | [
"5*2=10",
"83-31=52",
"52-10=42"
] | Current State: 42:[5, 31, 2, 83], Operations: []
Exploring Operation: 5*2=10, Resulting Numbers: [31, 83, 10]
Generated Node #2: [31, 83, 10] from Operation: 5*2=10
Current State: 42:[31, 83, 10], Operations: ['5*2=10']
Exploring Operation: 83-31=52, Resulting Numbers: [10, 52]
Generated Node #3: [10, 52] from Operation: 83-31=52
Current State: 42:[10, 52], Operations: ['5*2=10', '83-31=52']
Exploring Operation: 52-10=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[5, 31, 2, 83], Operations: []
Exploring Operation: 5+31=36, Resulting Numbers: [2, 83, 36]
Generated Node #0,0: 42:[2, 83, 36] Operation: 5+31=36
Exploring Operation: 83-5=78, Resulting Numbers: [31, 2, 78]
Generated Node #0,1: 42:[31, 2, 78] Operation: 83-5=78
Exploring Operation: 31-5=26, Resulting Numbers: [2, 83, 26]
Generated Node #0,2: 42:[2, 83, 26] Operation: 31-5=26
Exploring Operation: 83-31=52, Resulting Numbers: [5, 2, 52]
Generated Node #0,3: 42:[5, 2, 52] Operation: 83-31=52
Exploring Operation: 31-2=29, Resulting Numbers: [5, 83, 29]
Generated Node #0,4: 42:[5, 83, 29] Operation: 31-2=29
Moving to Node #0,3
Current State: 42:[5, 2, 52], Operations: ['83-31=52']
Exploring Operation: 5+2=7, Resulting Numbers: [52, 7]
Generated Node #0,3,0: 42:[52, 7] Operation: 5+2=7
Exploring Operation: 52-2=50, Resulting Numbers: [5, 50]
Generated Node #0,3,1: 42:[5, 50] Operation: 52-2=50
Exploring Operation: 52-5=47, Resulting Numbers: [2, 47]
Generated Node #0,3,2: 42:[2, 47] Operation: 52-5=47
Exploring Operation: 52/2=26, Resulting Numbers: [5, 26]
Generated Node #0,3,3: 42:[5, 26] Operation: 52/2=26
Exploring Operation: 5-2=3, Resulting Numbers: [52, 3]
Generated Node #0,3,4: 42:[52, 3] Operation: 5-2=3
Moving to Node #0,2
Current State: 42:[2, 83, 26], Operations: ['31-5=26']
Exploring Operation: 83-26=57, Resulting Numbers: [2, 57]
Generated Node #0,2,0: 42:[2, 57] Operation: 83-26=57
Exploring Operation: 2+83=85, Resulting Numbers: [26, 85]
Generated Node #0,2,1: 42:[26, 85] Operation: 2+83=85
Exploring Operation: 26/2=13, Resulting Numbers: [83, 13]
Generated Node #0,2,2: 42:[83, 13] Operation: 26/2=13
Exploring Operation: 26-2=24, Resulting Numbers: [83, 24]
Generated Node #0,2,3: 42:[83, 24] Operation: 26-2=24
Exploring Operation: 83-2=81, Resulting Numbers: [26, 81]
Generated Node #0,2,4: 42:[26, 81] Operation: 83-2=81
Moving to Node #0,1
Current State: 42:[31, 2, 78], Operations: ['83-5=78']
Exploring Operation: 78-31=47, Resulting Numbers: [2, 47]
Generated Node #0,1,0: 42:[2, 47] Operation: 78-31=47
Exploring Operation: 78/2=39, Resulting Numbers: [31, 39]
Generated Node #0,1,1: 42:[31, 39] Operation: 78/2=39
Exploring Operation: 31-2=29, Resulting Numbers: [78, 29]
Generated Node #0,1,2: 42:[78, 29] Operation: 31-2=29
Exploring Operation: 78-2=76, Resulting Numbers: [31, 76]
Generated Node #0,1,3: 42:[31, 76] Operation: 78-2=76
Exploring Operation: 31+2=33, Resulting Numbers: [78, 33]
Generated Node #0,1,4: 42:[78, 33] Operation: 31+2=33
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 42:[2, 47], Operations: ['83-5=78', '78-31=47']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,42 unequal: No Solution
Exploring Operation: 2*47=94, Resulting Numbers: [94]
94,42 unequal: No Solution
Exploring Operation: 2+47=49, Resulting Numbers: [49]
49,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 42:[31, 39], Operations: ['83-5=78', '78/2=39']
Exploring Operation: 39-31=8, Resulting Numbers: [8]
8,42 unequal: No Solution
Exploring Operation: 31*39=1209, Resulting Numbers: [1209]
1209,42 unequal: No Solution
Exploring Operation: 31+39=70, Resulting Numbers: [70]
70,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 42:[78, 29], Operations: ['83-5=78', '31-2=29']
Exploring Operation: 78*29=2262, Resulting Numbers: [2262]
2262,42 unequal: No Solution
Exploring Operation: 78+29=107, Resulting Numbers: [107]
107,42 unequal: No Solution
Exploring Operation: 78-29=49, Resulting Numbers: [49]
49,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 42:[31, 76], Operations: ['83-5=78', '78-2=76']
Exploring Operation: 31*76=2356, Resulting Numbers: [2356]
2356,42 unequal: No Solution
Exploring Operation: 31+76=107, Resulting Numbers: [107]
107,42 unequal: No Solution
Exploring Operation: 76-31=45, Resulting Numbers: [45]
45,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 42:[78, 33], Operations: ['83-5=78', '31+2=33']
Exploring Operation: 78*33=2574, Resulting Numbers: [2574]
2574,42 unequal: No Solution
Exploring Operation: 78+33=111, Resulting Numbers: [111]
111,42 unequal: No Solution
Exploring Operation: 78-33=45, Resulting Numbers: [45]
45,42 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: 42:[2, 83, 36], Operations: ['5+31=36']
Exploring Operation: 36/2=18, Resulting Numbers: [83, 18]
Generated Node #0,0,0: 42:[83, 18] Operation: 36/2=18
Exploring Operation: 2+83=85, Resulting Numbers: [36, 85]
Generated Node #0,0,1: 42:[36, 85] Operation: 2+83=85
Exploring Operation: 83-36=47, Resulting Numbers: [2, 47]
Generated Node #0,0,2: 42:[2, 47] Operation: 83-36=47
Exploring Operation: 83-2=81, Resulting Numbers: [36, 81]
Generated Node #0,0,3: 42:[36, 81] Operation: 83-2=81
Exploring Operation: 2+36=38, Resulting Numbers: [83, 38]
Generated Node #0,0,4: 42:[83, 38] Operation: 2+36=38
Moving to Node #0,4
Current State: 42:[5, 83, 29], Operations: ['31-2=29']
Exploring Operation: 5+29=34, Resulting Numbers: [83, 34]
Generated Node #0,4,0: 42:[83, 34] Operation: 5+29=34
Exploring Operation: 83-29=54, Resulting Numbers: [5, 54]
Generated Node #0,4,1: 42:[5, 54] Operation: 83-29=54
Exploring Operation: 29-5=24, Resulting Numbers: [83, 24]
Generated Node #0,4,2: 42:[83, 24] Operation: 29-5=24
Exploring Operation: 5+83=88, Resulting Numbers: [29, 88]
Generated Node #0,4,3: 42:[29, 88] Operation: 5+83=88
Exploring Operation: 83-5=78, Resulting Numbers: [29, 78]
Generated Node #0,4,4: 42:[29, 78] Operation: 83-5=78
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 42:[5, 54], Operations: ['31-2=29', '83-29=54']
Exploring Operation: 5*54=270, Resulting Numbers: [270]
270,42 unequal: No Solution
Exploring Operation: 5+54=59, Resulting Numbers: [59]
59,42 unequal: No Solution
Exploring Operation: 54-5=49, Resulting Numbers: [49]
49,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 42:[83, 24], Operations: ['31-2=29', '29-5=24']
Exploring Operation: 83*24=1992, Resulting Numbers: [1992]
1992,42 unequal: No Solution
Exploring Operation: 83+24=107, Resulting Numbers: [107]
107,42 unequal: No Solution
Exploring Operation: 83-24=59, Resulting Numbers: [59]
59,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 42:[29, 78], Operations: ['31-2=29', '83-5=78']
Exploring Operation: 29+78=107, Resulting Numbers: [107]
107,42 unequal: No Solution
Exploring Operation: 29*78=2262, Resulting Numbers: [2262]
2262,42 unequal: No Solution
Exploring Operation: 78-29=49, Resulting Numbers: [49]
49,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 42:[83, 34], Operations: ['31-2=29', '5+29=34']
Exploring Operation: 83-34=49, Resulting Numbers: [49]
49,42 unequal: No Solution
Exploring Operation: 83+34=117, Resulting Numbers: [117]
117,42 unequal: No Solution
Exploring Operation: 83*34=2822, Resulting Numbers: [2822]
2822,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 42:[29, 88], Operations: ['31-2=29', '5+83=88']
Exploring Operation: 29+88=117, Resulting Numbers: [117]
117,42 unequal: No Solution
Exploring Operation: 88-29=59, Resulting Numbers: [59]
59,42 unequal: No Solution
Exploring Operation: 29*88=2552, Resulting Numbers: [2552]
2552,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,2
Current State: 42:[2, 47], Operations: ['83-31=52', '52-5=47']
Exploring Operation: 2*47=94, Resulting Numbers: [94]
94,42 unequal: No Solution
Exploring Operation: 2+47=49, Resulting Numbers: [49]
49,42 unequal: No Solution
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,42 unequal: No Solution
Moving to Node #0,0,2
Current State: 42:[2, 47], Operations: ['5+31=36', '83-36=47']
Exploring Operation: 2+47=49, Resulting Numbers: [49]
49,42 unequal: No Solution
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,42 unequal: No Solution
Exploring Operation: 2*47=94, Resulting Numbers: [94]
94,42 unequal: No Solution
Moving to Node #0,3,3
Current State: 42:[5, 26], Operations: ['83-31=52', '52/2=26']
Exploring Operation: 5+26=31, Resulting Numbers: [31]
31,42 unequal: No Solution
Exploring Operation: 5*26=130, Resulting Numbers: [130]
130,42 unequal: No Solution
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,42 unequal: No Solution
Moving to Node #0,3,1
Current State: 42:[5, 50], Operations: ['83-31=52', '52-2=50']
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,42 unequal: No Solution
Exploring Operation: 5*50=250, Resulting Numbers: [250]
250,42 unequal: No Solution
Exploring Operation: 5+50=55, Resulting Numbers: [55]
55,42 unequal: No Solution
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,42 unequal: No Solution
Moving to Node #0,3,4
Current State: 42:[52, 3], Operations: ['83-31=52', '5-2=3']
Exploring Operation: 52*3=156, Resulting Numbers: [156]
156,42 unequal: No Solution
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,42 unequal: No Solution
Exploring Operation: 52+3=55, Resulting Numbers: [55]
55,42 unequal: No Solution
Moving to Node #0,3,0
Current State: 42:[52, 7], Operations: ['83-31=52', '5+2=7']
Exploring Operation: 52*7=364, Resulting Numbers: [364]
364,42 unequal: No Solution
Exploring Operation: 52-7=45, Resulting Numbers: [45]
45,42 unequal: No Solution
Exploring Operation: 52+7=59, Resulting Numbers: [59]
59,42 unequal: No Solution
Moving to Node #0,2,0
Current State: 42:[2, 57], Operations: ['31-5=26', '83-26=57']
Exploring Operation: 2+57=59, Resulting Numbers: [59]
59,42 unequal: No Solution
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,42 unequal: No Solution
Exploring Operation: 2*57=114, Resulting Numbers: [114]
114,42 unequal: No Solution
Moving to Node #0,2,2
Current State: 42:[83, 13], Operations: ['31-5=26', '26/2=13']
Exploring Operation: 83*13=1079, Resulting Numbers: [1079]
1079,42 unequal: No Solution
Exploring Operation: 83+13=96, Resulting Numbers: [96]
96,42 unequal: No Solution
Exploring Operation: 83-13=70, Resulting Numbers: [70]
70,42 unequal: No Solution
Moving to Node #0,0,0
Current State: 42:[83, 18], Operations: ['5+31=36', '36/2=18']
Exploring Operation: 83*18=1494, Resulting Numbers: [1494]
1494,42 unequal: No Solution
Exploring Operation: 83-18=65, Resulting Numbers: [65]
65,42 unequal: No Solution
Exploring Operation: 83+18=101, Resulting Numbers: [101]
101,42 unequal: No Solution
Moving to Node #0,2,4
Current State: 42:[26, 81], Operations: ['31-5=26', '83-2=81']
Exploring Operation: 26+81=107, Resulting Numbers: [107]
107,42 unequal: No Solution
Exploring Operation: 81-26=55, Resulting Numbers: [55]
55,42 unequal: No Solution
Exploring Operation: 26*81=2106, Resulting Numbers: [2106]
2106,42 unequal: No Solution
Moving to Node #0,2,3
Current State: 42:[83, 24], Operations: ['31-5=26', '26-2=24']
Exploring Operation: 83*24=1992, Resulting Numbers: [1992]
1992,42 unequal: No Solution
Exploring Operation: 83-24=59, Resulting Numbers: [59]
59,42 unequal: No Solution
Exploring Operation: 83+24=107, Resulting Numbers: [107]
107,42 unequal: No Solution
Moving to Node #0,0,3
Current State: 42:[36, 81], Operations: ['5+31=36', '83-2=81']
Exploring Operation: 81-36=45, Resulting Numbers: [45]
45,42 unequal: No Solution
Exploring Operation: 36*81=2916, Resulting Numbers: [2916]
2916,42 unequal: No Solution
Exploring Operation: 36+81=117, Resulting Numbers: [117]
117,42 unequal: No Solution
Moving to Node #0,0,4
Current State: 42:[83, 38], Operations: ['5+31=36', '2+36=38']
Exploring Operation: 83*38=3154, Resulting Numbers: [3154]
3154,42 unequal: No Solution
Exploring Operation: 83-38=45, Resulting Numbers: [45]
45,42 unequal: No Solution
Exploring Operation: 83+38=121, Resulting Numbers: [121]
121,42 unequal: No Solution
Moving to Node #0,2,1
Current State: 42:[26, 85], Operations: ['31-5=26', '2+83=85']
Exploring Operation: 26+85=111, Resulting Numbers: [111]
111,42 unequal: No Solution
Exploring Operation: 26*85=2210, Resulting Numbers: [2210]
2210,42 unequal: No Solution
Exploring Operation: 85-26=59, Resulting Numbers: [59]
59,42 unequal: No Solution
Moving to Node #0,0,1
Current State: 42:[36, 85], Operations: ['5+31=36', '2+83=85']
Exploring Operation: 36+85=121, Resulting Numbers: [121]
121,42 unequal: No Solution
Exploring Operation: 36*85=3060, Resulting Numbers: [3060]
3060,42 unequal: No Solution
Exploring Operation: 85-36=49, Resulting Numbers: [49]
49,42 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
41,
4,
26,
90
] | 24 | [
"41+4=45",
"90/45=2",
"26-2=24"
] | Current State: 24:[41, 4, 26, 90], Operations: []
Exploring Operation: 41+4=45, Resulting Numbers: [26, 90, 45]
Generated Node #2: [26, 90, 45] from Operation: 41+4=45
Current State: 24:[26, 90, 45], Operations: ['41+4=45']
Exploring Operation: 90/45=2, Resulting Numbers: [26, 2]
Generated Node #3: [26, 2] from Operation: 90/45=2
Current State: 24:[26, 2], Operations: ['41+4=45', '90/45=2']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[41, 4, 26, 90], Operations: []
Exploring Operation: 90-26=64, Resulting Numbers: [41, 4, 64]
Generated Node #0,0: 24:[41, 4, 64] Operation: 90-26=64
Exploring Operation: 90-41=49, Resulting Numbers: [4, 26, 49]
Generated Node #0,1: 24:[4, 26, 49] Operation: 90-41=49
Start Sub Search at level 1: Moving to Node #0,1
Current State: 24:[4, 26, 49], Operations: ['90-41=49']
Exploring Operation: 49-26=23, Resulting Numbers: [4, 23]
Generated Node #0,1,0: 24:[4, 23] Operation: 49-26=23
Exploring Operation: 49-4=45, Resulting Numbers: [26, 45]
Generated Node #0,1,1: 24:[26, 45] Operation: 49-4=45
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 24:[4, 23], Operations: ['90-41=49', '49-26=23']
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,24 unequal: No Solution
Exploring Operation: 4+23=27, Resulting Numbers: [27]
27,24 unequal: No Solution
No 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: 24:[26, 45], Operations: ['90-41=49', '49-4=45']
Exploring Operation: 26+45=71, Resulting Numbers: [71]
71,24 unequal: No Solution
Exploring Operation: 45-26=19, Resulting Numbers: [19]
19,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[41, 4, 64], Operations: ['90-26=64']
Exploring Operation: 64/4=16, Resulting Numbers: [41, 16]
Generated Node #0,0,0: 24:[41, 16] Operation: 64/4=16
Exploring Operation: 64-41=23, Resulting Numbers: [4, 23]
Generated Node #0,0,1: 24:[4, 23] Operation: 64-41=23
Moving to Node #0,0,1
Current State: 24:[4, 23], Operations: ['90-26=64', '64-41=23']
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,24 unequal: No Solution
Exploring Operation: 4+23=27, Resulting Numbers: [27]
27,24 unequal: No Solution
Moving to Node #0,0,0
Current State: 24:[41, 16], Operations: ['90-26=64', '64/4=16']
Exploring Operation: 41+16=57, Resulting Numbers: [57]
57,24 unequal: No Solution
Exploring Operation: 41-16=25, Resulting Numbers: [25]
25,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
35,
46,
57,
88
] | 64 | [
"35+46=81",
"57+88=145",
"145-81=64"
] | Current State: 64:[35, 46, 57, 88], Operations: []
Exploring Operation: 35+46=81, Resulting Numbers: [57, 88, 81]
Generated Node #2: [57, 88, 81] from Operation: 35+46=81
Current State: 64:[57, 88, 81], Operations: ['35+46=81']
Exploring Operation: 57+88=145, Resulting Numbers: [81, 145]
Generated Node #3: [81, 145] from Operation: 57+88=145
Current State: 64:[81, 145], Operations: ['35+46=81', '57+88=145']
Exploring Operation: 145-81=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[35, 46, 57, 88], Operations: []
Exploring Operation: 88-57=31, Resulting Numbers: [35, 46, 31]
Generated Node #0,0: 64:[35, 46, 31] Operation: 88-57=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[35, 46, 31], Operations: ['88-57=31']
Exploring Operation: 46-35=11, Resulting Numbers: [31, 11]
Generated Node #0,0,0: 64:[31, 11] Operation: 46-35=11
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 64:[31, 11], Operations: ['88-57=31', '46-35=11']
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,64 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 |
[
83,
23,
49,
63
] | 92 | [
"83+23=106",
"63-49=14",
"106-14=92"
] | Current State: 92:[83, 23, 49, 63], Operations: []
Exploring Operation: 83+23=106, Resulting Numbers: [49, 63, 106]
Generated Node #2: [49, 63, 106] from Operation: 83+23=106
Current State: 92:[49, 63, 106], Operations: ['83+23=106']
Exploring Operation: 63-49=14, Resulting Numbers: [106, 14]
Generated Node #3: [106, 14] from Operation: 63-49=14
Current State: 92:[106, 14], Operations: ['83+23=106', '63-49=14']
Exploring Operation: 106-14=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[83, 23, 49, 63], Operations: []
Exploring Operation: 23+63=86, Resulting Numbers: [83, 49, 86]
Generated Node #0,0: 92:[83, 49, 86] Operation: 23+63=86
Exploring Operation: 63-23=40, Resulting Numbers: [83, 49, 40]
Generated Node #0,1: 92:[83, 49, 40] Operation: 63-23=40
Exploring Operation: 83-63=20, Resulting Numbers: [23, 49, 20]
Generated Node #0,2: 92:[23, 49, 20] Operation: 83-63=20
Exploring Operation: 63-49=14, Resulting Numbers: [83, 23, 14]
Generated Node #0,3: 92:[83, 23, 14] Operation: 63-49=14
Moving to Node #0,2
Current State: 92:[23, 49, 20], Operations: ['83-63=20']
Exploring Operation: 49-23=26, Resulting Numbers: [20, 26]
Generated Node #0,2,0: 92:[20, 26] Operation: 49-23=26
Exploring Operation: 23+20=43, Resulting Numbers: [49, 43]
Generated Node #0,2,1: 92:[49, 43] Operation: 23+20=43
Exploring Operation: 23-20=3, Resulting Numbers: [49, 3]
Generated Node #0,2,2: 92:[49, 3] Operation: 23-20=3
Exploring Operation: 49-20=29, Resulting Numbers: [23, 29]
Generated Node #0,2,3: 92:[23, 29] Operation: 49-20=29
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 92:[49, 3], Operations: ['83-63=20', '23-20=3']
Exploring Operation: 49+3=52, Resulting Numbers: [52]
52,92 unequal: No Solution
Exploring Operation: 49*3=147, Resulting Numbers: [147]
147,92 unequal: No Solution
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 92:[20, 26], Operations: ['83-63=20', '49-23=26']
Exploring Operation: 20+26=46, Resulting Numbers: [46]
46,92 unequal: No Solution
Exploring Operation: 20*26=520, Resulting Numbers: [520]
520,92 unequal: No Solution
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 92:[49, 43], Operations: ['83-63=20', '23+20=43']
Exploring Operation: 49*43=2107, Resulting Numbers: [2107]
2107,92 unequal: No Solution
Exploring Operation: 49-43=6, Resulting Numbers: [6]
6,92 unequal: No Solution
Exploring Operation: 49+43=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[83, 23, 49, 63], Operations: []
Exploring Operation: 83-63=20, Resulting Numbers: [23, 49, 20]
Generated Node #0,2: 92:[23, 49, 20] Operation: 83-63=20
Moving to Node #0,2
Current State: 92:[23, 49, 20], Operations: ['83-63=20']
Exploring Operation: 23+20=43, Resulting Numbers: [49, 43]
Generated Node #0,2,1: 92:[49, 43] Operation: 23+20=43
Moving to Node #0,2,1
Current State: 92:[49, 43], Operations: ['83-63=20', '23+20=43']
Exploring Operation: 49+43=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_4 | sum_heuristic |
[
6,
98,
95,
16
] | 76 | [
"98+16=114",
"114/6=19",
"95-19=76"
] | Current State: 76:[6, 98, 95, 16], Operations: []
Exploring Operation: 98+16=114, Resulting Numbers: [6, 95, 114]
Generated Node #2: [6, 95, 114] from Operation: 98+16=114
Current State: 76:[6, 95, 114], Operations: ['98+16=114']
Exploring Operation: 114/6=19, Resulting Numbers: [95, 19]
Generated Node #3: [95, 19] from Operation: 114/6=19
Current State: 76:[95, 19], Operations: ['98+16=114', '114/6=19']
Exploring Operation: 95-19=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[6, 98, 95, 16], Operations: []
Exploring Operation: 98-95=3, Resulting Numbers: [6, 16, 3]
Generated Node #0,0: 76:[6, 16, 3] Operation: 98-95=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[6, 16, 3], Operations: ['98-95=3']
Exploring Operation: 16+3=19, Resulting Numbers: [6, 19]
Generated Node #0,0,0: 76:[6, 19] Operation: 16+3=19
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 76:[6, 19], Operations: ['98-95=3', '16+3=19']
Exploring Operation: 6+19=25, Resulting Numbers: [25]
25,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
28,
69,
29,
6
] | 63 | [
"29-28=1",
"69-6=63",
"1*63=63"
] | Current State: 63:[28, 69, 29, 6], Operations: []
Exploring Operation: 29-28=1, Resulting Numbers: [69, 6, 1]
Generated Node #2: [69, 6, 1] from Operation: 29-28=1
Current State: 63:[69, 6, 1], Operations: ['29-28=1']
Exploring Operation: 69-6=63, Resulting Numbers: [1, 63]
Generated Node #3: [1, 63] from Operation: 69-6=63
Current State: 63:[1, 63], Operations: ['29-28=1', '69-6=63']
Exploring Operation: 1*63=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[28, 69, 29, 6], Operations: []
Exploring Operation: 28-6=22, Resulting Numbers: [69, 29, 22]
Generated Node #0,0: 63:[69, 29, 22] Operation: 28-6=22
Exploring Operation: 69-6=63, Resulting Numbers: [28, 29, 63]
Generated Node #0,1: 63:[28, 29, 63] Operation: 69-6=63
Exploring Operation: 28+29=57, Resulting Numbers: [69, 6, 57]
Generated Node #0,2: 63:[69, 6, 57] Operation: 28+29=57
Exploring Operation: 29-28=1, Resulting Numbers: [69, 6, 1]
Generated Node #0,3: 63:[69, 6, 1] Operation: 29-28=1
Start Sub Search at level 1: Moving to Node #0,3
Current State: 63:[69, 6, 1], Operations: ['29-28=1']
Exploring Operation: 69-6=63, Resulting Numbers: [1, 63]
Generated Node #0,3,0: 63:[1, 63] Operation: 69-6=63
Exploring Operation: 69-1=68, Resulting Numbers: [6, 68]
Generated Node #0,3,1: 63:[6, 68] Operation: 69-1=68
Exploring Operation: 6+1=7, Resulting Numbers: [69, 7]
Generated Node #0,3,2: 63:[69, 7] Operation: 6+1=7
Exploring Operation: 69*1=69, Resulting Numbers: [6, 69]
Generated Node #0,3,3: 63:[6, 69] Operation: 69*1=69
Moving to Node #0,3,0
Current State: 63:[1, 63], Operations: ['29-28=1', '69-6=63']
Exploring Operation: 63/1=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[28, 69, 29, 6], Operations: []
Exploring Operation: 29-28=1, Resulting Numbers: [69, 6, 1]
Generated Node #0,3: 63:[69, 6, 1] Operation: 29-28=1
Moving to Node #0,3
Current State: 63:[69, 6, 1], Operations: ['29-28=1']
Exploring Operation: 69-6=63, Resulting Numbers: [1, 63]
Generated Node #0,3,0: 63:[1, 63] Operation: 69-6=63
Moving to Node #0,3,0
Current State: 63:[1, 63], Operations: ['29-28=1', '69-6=63']
Exploring Operation: 63/1=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
77,
28,
81,
24
] | 31 | [
"81-77=4",
"28/4=7",
"24+7=31"
] | Current State: 31:[77, 28, 81, 24], Operations: []
Exploring Operation: 81-77=4, Resulting Numbers: [28, 24, 4]
Generated Node #2: [28, 24, 4] from Operation: 81-77=4
Current State: 31:[28, 24, 4], Operations: ['81-77=4']
Exploring Operation: 28/4=7, Resulting Numbers: [24, 7]
Generated Node #3: [24, 7] from Operation: 28/4=7
Current State: 31:[24, 7], Operations: ['81-77=4', '28/4=7']
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[77, 28, 81, 24], Operations: []
Exploring Operation: 77-28=49, Resulting Numbers: [81, 24, 49]
Generated Node #0,0: 31:[81, 24, 49] Operation: 77-28=49
Exploring Operation: 81-77=4, Resulting Numbers: [28, 24, 4]
Generated Node #0,1: 31:[28, 24, 4] Operation: 81-77=4
Moving to Node #0,1
Current State: 31:[28, 24, 4], Operations: ['81-77=4']
Exploring Operation: 28+4=32, Resulting Numbers: [24, 32]
Generated Node #0,1,0: 31:[24, 32] Operation: 28+4=32
Exploring Operation: 24+4=28, Resulting Numbers: [28, 28]
Generated Node #0,1,1: 31:[28, 28] Operation: 24+4=28
Moving to Node #0,0
Current State: 31:[81, 24, 49], Operations: ['77-28=49']
Exploring Operation: 81-49=32, Resulting Numbers: [24, 32]
Generated Node #0,0,0: 31:[24, 32] Operation: 81-49=32
Exploring Operation: 81-24=57, Resulting Numbers: [49, 57]
Generated Node #0,0,1: 31:[49, 57] Operation: 81-24=57
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 31:[24, 32], Operations: ['77-28=49', '81-49=32']
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,31 unequal: No Solution
Exploring Operation: 24+32=56, Resulting Numbers: [56]
56,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 31:[49, 57], Operations: ['77-28=49', '81-24=57']
Exploring Operation: 49+57=106, Resulting Numbers: [106]
106,31 unequal: No Solution
Exploring Operation: 57-49=8, Resulting Numbers: [8]
8,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 31:[28, 28], Operations: ['81-77=4', '24+4=28']
Exploring Operation: 28+28=56, Resulting Numbers: [56]
56,31 unequal: No Solution
Exploring Operation: 28/28=1, Resulting Numbers: [1]
1,31 unequal: No Solution
Moving to Node #0,1,0
Current State: 31:[24, 32], Operations: ['81-77=4', '28+4=32']
Exploring Operation: 24+32=56, Resulting Numbers: [56]
56,31 unequal: No Solution
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,31 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
60,
89,
40,
80
] | 59 | [
"60*40=2400",
"2400/80=30",
"89-30=59"
] | Current State: 59:[60, 89, 40, 80], Operations: []
Exploring Operation: 60*40=2400, Resulting Numbers: [89, 80, 2400]
Generated Node #2: [89, 80, 2400] from Operation: 60*40=2400
Current State: 59:[89, 80, 2400], Operations: ['60*40=2400']
Exploring Operation: 2400/80=30, Resulting Numbers: [89, 30]
Generated Node #3: [89, 30] from Operation: 2400/80=30
Current State: 59:[89, 30], Operations: ['60*40=2400', '2400/80=30']
Exploring Operation: 89-30=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[60, 89, 40, 80], Operations: []
Exploring Operation: 80-40=40, Resulting Numbers: [60, 89, 40]
Generated Node #0,0: 59:[60, 89, 40] Operation: 80-40=40
Exploring Operation: 89-80=9, Resulting Numbers: [60, 40, 9]
Generated Node #0,1: 59:[60, 40, 9] Operation: 89-80=9
Exploring Operation: 89-40=49, Resulting Numbers: [60, 80, 49]
Generated Node #0,2: 59:[60, 80, 49] Operation: 89-40=49
Exploring Operation: 89-60=29, Resulting Numbers: [40, 80, 29]
Generated Node #0,3: 59:[40, 80, 29] Operation: 89-60=29
Exploring Operation: 80-60=20, Resulting Numbers: [89, 40, 20]
Generated Node #0,4: 59:[89, 40, 20] Operation: 80-60=20
Start Sub Search at level 1: Moving to Node #0,2
Current State: 59:[60, 80, 49], Operations: ['89-40=49']
Exploring Operation: 80-49=31, Resulting Numbers: [60, 31]
Generated Node #0,2,0: 59:[60, 31] Operation: 80-49=31
Exploring Operation: 60-49=11, Resulting Numbers: [80, 11]
Generated Node #0,2,1: 59:[80, 11] Operation: 60-49=11
Exploring Operation: 60+49=109, Resulting Numbers: [80, 109]
Generated Node #0,2,2: 59:[80, 109] Operation: 60+49=109
Exploring Operation: 80-60=20, Resulting Numbers: [49, 20]
Generated Node #0,2,3: 59:[49, 20] Operation: 80-60=20
Exploring Operation: 80+49=129, Resulting Numbers: [60, 129]
Generated Node #0,2,4: 59:[60, 129] Operation: 80+49=129
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 59:[60, 31], Operations: ['89-40=49', '80-49=31']
Exploring Operation: 60-31=29, Resulting Numbers: [29]
29,59 unequal: No Solution
Exploring Operation: 60*31=1860, Resulting Numbers: [1860]
1860,59 unequal: No Solution
Exploring Operation: 60+31=91, Resulting Numbers: [91]
91,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 59:[49, 20], Operations: ['89-40=49', '80-60=20']
Exploring Operation: 49-20=29, Resulting Numbers: [29]
29,59 unequal: No Solution
Exploring Operation: 49*20=980, Resulting Numbers: [980]
980,59 unequal: No Solution
Exploring Operation: 49+20=69, Resulting Numbers: [69]
69,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 59:[80, 11], Operations: ['89-40=49', '60-49=11']
Exploring Operation: 80*11=880, Resulting Numbers: [880]
880,59 unequal: No Solution
Exploring Operation: 80+11=91, Resulting Numbers: [91]
91,59 unequal: No Solution
Exploring Operation: 80-11=69, Resulting Numbers: [69]
69,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 59:[80, 109], Operations: ['89-40=49', '60+49=109']
Exploring Operation: 80+109=189, Resulting Numbers: [189]
189,59 unequal: No Solution
Exploring Operation: 80*109=8720, Resulting Numbers: [8720]
8720,59 unequal: No Solution
Exploring Operation: 109-80=29, Resulting Numbers: [29]
29,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 59:[60, 129], Operations: ['89-40=49', '80+49=129']
Exploring Operation: 60+129=189, Resulting Numbers: [189]
189,59 unequal: No Solution
Exploring Operation: 60*129=7740, Resulting Numbers: [7740]
7740,59 unequal: No Solution
Exploring Operation: 129-60=69, Resulting Numbers: [69]
69,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[60, 89, 40], Operations: ['80-40=40']
Exploring Operation: 60-40=20, Resulting Numbers: [89, 20]
Generated Node #0,0,0: 59:[89, 20] Operation: 60-40=20
Exploring Operation: 89-60=29, Resulting Numbers: [40, 29]
Generated Node #0,0,1: 59:[40, 29] Operation: 89-60=29
Exploring Operation: 89+40=129, Resulting Numbers: [60, 129]
Generated Node #0,0,2: 59:[60, 129] Operation: 89+40=129
Exploring Operation: 89-40=49, Resulting Numbers: [60, 49]
Generated Node #0,0,3: 59:[60, 49] Operation: 89-40=49
Exploring Operation: 60+40=100, Resulting Numbers: [89, 100]
Generated Node #0,0,4: 59:[89, 100] Operation: 60+40=100
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 59:[60, 49], Operations: ['80-40=40', '89-40=49']
Exploring Operation: 60-49=11, Resulting Numbers: [11]
11,59 unequal: No Solution
Exploring Operation: 60+49=109, Resulting Numbers: [109]
109,59 unequal: No Solution
Exploring Operation: 60*49=2940, Resulting Numbers: [2940]
2940,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 59:[40, 29], Operations: ['80-40=40', '89-60=29']
Exploring Operation: 40+29=69, Resulting Numbers: [69]
69,59 unequal: No Solution
Exploring Operation: 40*29=1160, Resulting Numbers: [1160]
1160,59 unequal: No Solution
Exploring Operation: 40-29=11, Resulting Numbers: [11]
11,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 59:[89, 20], Operations: ['80-40=40', '60-40=20']
Exploring Operation: 89+20=109, Resulting Numbers: [109]
109,59 unequal: No Solution
Exploring Operation: 89-20=69, Resulting Numbers: [69]
69,59 unequal: No Solution
Exploring Operation: 89*20=1780, Resulting Numbers: [1780]
1780,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 59:[60, 129], Operations: ['80-40=40', '89+40=129']
Exploring Operation: 129-60=69, Resulting Numbers: [69]
69,59 unequal: No Solution
Exploring Operation: 60*129=7740, Resulting Numbers: [7740]
7740,59 unequal: No Solution
Exploring Operation: 60+129=189, Resulting Numbers: [189]
189,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 59:[89, 100], Operations: ['80-40=40', '60+40=100']
Exploring Operation: 89*100=8900, Resulting Numbers: [8900]
8900,59 unequal: No Solution
Exploring Operation: 100-89=11, Resulting Numbers: [11]
11,59 unequal: No Solution
Exploring Operation: 89+100=189, Resulting Numbers: [189]
189,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[60, 40, 9], Operations: ['89-80=9']
Exploring Operation: 40-9=31, Resulting Numbers: [60, 31]
Generated Node #0,1,0: 59:[60, 31] Operation: 40-9=31
Exploring Operation: 40+9=49, Resulting Numbers: [60, 49]
Generated Node #0,1,1: 59:[60, 49] Operation: 40+9=49
Exploring Operation: 60-40=20, Resulting Numbers: [9, 20]
Generated Node #0,1,2: 59:[9, 20] Operation: 60-40=20
Exploring Operation: 60-9=51, Resulting Numbers: [40, 51]
Generated Node #0,1,3: 59:[40, 51] Operation: 60-9=51
Exploring Operation: 60+9=69, Resulting Numbers: [40, 69]
Generated Node #0,1,4: 59:[40, 69] Operation: 60+9=69
Moving to Node #0,1,1
Current State: 59:[60, 49], Operations: ['89-80=9', '40+9=49']
Exploring Operation: 60-49=11, Resulting Numbers: [11]
11,59 unequal: No Solution
Exploring Operation: 60*49=2940, Resulting Numbers: [2940]
2940,59 unequal: No Solution
Exploring Operation: 60+49=109, Resulting Numbers: [109]
109,59 unequal: No Solution
Moving to Node #0,1,3
Current State: 59:[40, 51], Operations: ['89-80=9', '60-9=51']
Exploring Operation: 40*51=2040, Resulting Numbers: [2040]
2040,59 unequal: No Solution
Exploring Operation: 40+51=91, Resulting Numbers: [91]
91,59 unequal: No Solution
Exploring Operation: 51-40=11, Resulting Numbers: [11]
11,59 unequal: No Solution
Moving to Node #0,1,0
Current State: 59:[60, 31], Operations: ['89-80=9', '40-9=31']
Exploring Operation: 60+31=91, Resulting Numbers: [91]
91,59 unequal: No Solution
Exploring Operation: 60*31=1860, Resulting Numbers: [1860]
1860,59 unequal: No Solution
Exploring Operation: 60-31=29, Resulting Numbers: [29]
29,59 unequal: No Solution
Moving to Node #0,1,4
Current State: 59:[40, 69], Operations: ['89-80=9', '60+9=69']
Exploring Operation: 40+69=109, Resulting Numbers: [109]
109,59 unequal: No Solution
Exploring Operation: 40*69=2760, Resulting Numbers: [2760]
2760,59 unequal: No Solution
Exploring Operation: 69-40=29, Resulting Numbers: [29]
29,59 unequal: No Solution
Moving to Node #0,1,2
Current State: 59:[9, 20], Operations: ['89-80=9', '60-40=20']
Exploring Operation: 9+20=29, Resulting Numbers: [29]
29,59 unequal: No Solution
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,59 unequal: No Solution
Exploring Operation: 9*20=180, Resulting Numbers: [180]
180,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 59:[40, 80, 29], Operations: ['89-60=29']
Exploring Operation: 40+29=69, Resulting Numbers: [80, 69]
Generated Node #0,3,0: 59:[80, 69] Operation: 40+29=69
Exploring Operation: 80-40=40, Resulting Numbers: [29, 40]
Generated Node #0,3,1: 59:[29, 40] Operation: 80-40=40
Exploring Operation: 40-29=11, Resulting Numbers: [80, 11]
Generated Node #0,3,2: 59:[80, 11] Operation: 40-29=11
Exploring Operation: 80+29=109, Resulting Numbers: [40, 109]
Generated Node #0,3,3: 59:[40, 109] Operation: 80+29=109
Exploring Operation: 80-29=51, Resulting Numbers: [40, 51]
Generated Node #0,3,4: 59:[40, 51] Operation: 80-29=51
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 59:[40, 51], Operations: ['89-60=29', '80-29=51']
Exploring Operation: 51-40=11, Resulting Numbers: [11]
11,59 unequal: No Solution
Exploring Operation: 40+51=91, Resulting Numbers: [91]
91,59 unequal: No Solution
Exploring Operation: 40*51=2040, Resulting Numbers: [2040]
2040,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 59:[80, 69], Operations: ['89-60=29', '40+29=69']
Exploring Operation: 80-69=11, Resulting Numbers: [11]
11,59 unequal: No Solution
Exploring Operation: 80*69=5520, Resulting Numbers: [5520]
5520,59 unequal: No Solution
Exploring Operation: 80+69=149, Resulting Numbers: [149]
149,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 59:[29, 40], Operations: ['89-60=29', '80-40=40']
Exploring Operation: 40-29=11, Resulting Numbers: [11]
11,59 unequal: No Solution
Exploring Operation: 29+40=69, Resulting Numbers: [69]
69,59 unequal: No Solution
Exploring Operation: 29*40=1160, Resulting Numbers: [1160]
1160,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 59:[80, 11], Operations: ['89-60=29', '40-29=11']
Exploring Operation: 80+11=91, Resulting Numbers: [91]
91,59 unequal: No Solution
Exploring Operation: 80*11=880, Resulting Numbers: [880]
880,59 unequal: No Solution
Exploring Operation: 80-11=69, Resulting Numbers: [69]
69,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 59:[40, 109], Operations: ['89-60=29', '80+29=109']
Exploring Operation: 109-40=69, Resulting Numbers: [69]
69,59 unequal: No Solution
Exploring Operation: 40*109=4360, Resulting Numbers: [4360]
4360,59 unequal: No Solution
Exploring Operation: 40+109=149, Resulting Numbers: [149]
149,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 59:[89, 40, 20], Operations: ['80-60=20']
Exploring Operation: 89-40=49, Resulting Numbers: [20, 49]
Generated Node #0,4,0: 59:[20, 49] Operation: 89-40=49
Exploring Operation: 89+20=109, Resulting Numbers: [40, 109]
Generated Node #0,4,1: 59:[40, 109] Operation: 89+20=109
Exploring Operation: 89-20=69, Resulting Numbers: [40, 69]
Generated Node #0,4,2: 59:[40, 69] Operation: 89-20=69
Exploring Operation: 40+20=60, Resulting Numbers: [89, 60]
Generated Node #0,4,3: 59:[89, 60] Operation: 40+20=60
Exploring Operation: 40-20=20, Resulting Numbers: [89, 20]
Generated Node #0,4,4: 59:[89, 20] Operation: 40-20=20
Moving to Node #0,4,2
Current State: 59:[40, 69], Operations: ['80-60=20', '89-20=69']
Exploring Operation: 40+69=109, Resulting Numbers: [109]
109,59 unequal: No Solution
Exploring Operation: 40*69=2760, Resulting Numbers: [2760]
2760,59 unequal: No Solution
Exploring Operation: 69-40=29, Resulting Numbers: [29]
29,59 unequal: No Solution
Moving to Node #0,4,3
Current State: 59:[89, 60], Operations: ['80-60=20', '40+20=60']
Exploring Operation: 89-60=29, Resulting Numbers: [29]
29,59 unequal: No Solution
Exploring Operation: 89*60=5340, Resulting Numbers: [5340]
5340,59 unequal: No Solution
Exploring Operation: 89+60=149, Resulting Numbers: [149]
149,59 unequal: No Solution
Moving to Node #0,4,0
Current State: 59:[20, 49], Operations: ['80-60=20', '89-40=49']
Exploring Operation: 20*49=980, Resulting Numbers: [980]
980,59 unequal: No Solution
Exploring Operation: 20+49=69, Resulting Numbers: [69]
69,59 unequal: No Solution
Exploring Operation: 49-20=29, Resulting Numbers: [29]
29,59 unequal: No Solution
Moving to Node #0,4,1
Current State: 59:[40, 109], Operations: ['80-60=20', '89+20=109']
Exploring Operation: 40*109=4360, Resulting Numbers: [4360]
4360,59 unequal: No Solution
Exploring Operation: 109-40=69, Resulting Numbers: [69]
69,59 unequal: No Solution
Exploring Operation: 40+109=149, Resulting Numbers: [149]
149,59 unequal: No Solution
Moving to Node #0,4,4
Current State: 59:[89, 20], Operations: ['80-60=20', '40-20=20']
Exploring Operation: 89*20=1780, Resulting Numbers: [1780]
1780,59 unequal: No Solution
Exploring Operation: 89+20=109, Resulting Numbers: [109]
109,59 unequal: No Solution
Exploring Operation: 89-20=69, Resulting Numbers: [69]
69,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
14,
24,
64,
18
] | 36 | [
"24-14=10",
"64-18=46",
"46-10=36"
] | Current State: 36:[14, 24, 64, 18], Operations: []
Exploring Operation: 24-14=10, Resulting Numbers: [64, 18, 10]
Generated Node #2: [64, 18, 10] from Operation: 24-14=10
Current State: 36:[64, 18, 10], Operations: ['24-14=10']
Exploring Operation: 64-18=46, Resulting Numbers: [10, 46]
Generated Node #3: [10, 46] from Operation: 64-18=46
Current State: 36:[10, 46], Operations: ['24-14=10', '64-18=46']
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[14, 24, 64, 18], Operations: []
Exploring Operation: 64-18=46, Resulting Numbers: [14, 24, 46]
Generated Node #0,0: 36:[14, 24, 46] Operation: 64-18=46
Exploring Operation: 64-14=50, Resulting Numbers: [24, 18, 50]
Generated Node #0,1: 36:[24, 18, 50] Operation: 64-14=50
Exploring Operation: 64-24=40, Resulting Numbers: [14, 18, 40]
Generated Node #0,2: 36:[14, 18, 40] Operation: 64-24=40
Start Sub Search at level 1: Moving to Node #0,2
Current State: 36:[14, 18, 40], Operations: ['64-24=40']
Exploring Operation: 40-18=22, Resulting Numbers: [14, 22]
Generated Node #0,2,0: 36:[14, 22] Operation: 40-18=22
Exploring Operation: 14+18=32, Resulting Numbers: [40, 32]
Generated Node #0,2,1: 36:[40, 32] Operation: 14+18=32
Exploring Operation: 18-14=4, Resulting Numbers: [40, 4]
Generated Node #0,2,2: 36:[40, 4] Operation: 18-14=4
Moving to Node #0,2,2
Current State: 36:[40, 4], Operations: ['64-24=40', '18-14=4']
Exploring Operation: 40+4=44, Resulting Numbers: [44]
44,36 unequal: No Solution
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[14, 24, 64, 18], Operations: []
Exploring Operation: 64-24=40, Resulting Numbers: [14, 18, 40]
Generated Node #0,2: 36:[14, 18, 40] Operation: 64-24=40
Moving to Node #0,2
Current State: 36:[14, 18, 40], Operations: ['64-24=40']
Exploring Operation: 18-14=4, Resulting Numbers: [40, 4]
Generated Node #0,2,2: 36:[40, 4] Operation: 18-14=4
Moving to Node #0,2,2
Current State: 36:[40, 4], Operations: ['64-24=40', '18-14=4']
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
34,
20,
22,
83
] | 93 | [
"22*83=1826",
"34+1826=1860",
"1860/20=93"
] | Current State: 93:[34, 20, 22, 83], Operations: []
Exploring Operation: 22*83=1826, Resulting Numbers: [34, 20, 1826]
Generated Node #2: [34, 20, 1826] from Operation: 22*83=1826
Current State: 93:[34, 20, 1826], Operations: ['22*83=1826']
Exploring Operation: 34+1826=1860, Resulting Numbers: [20, 1860]
Generated Node #3: [20, 1860] from Operation: 34+1826=1860
Current State: 93:[20, 1860], Operations: ['22*83=1826', '34+1826=1860']
Exploring Operation: 1860/20=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[34, 20, 22, 83], Operations: []
Exploring Operation: 20+83=103, Resulting Numbers: [34, 22, 103]
Generated Node #0,0: 93:[34, 22, 103] Operation: 20+83=103
Exploring Operation: 22-20=2, Resulting Numbers: [34, 83, 2]
Generated Node #0,1: 93:[34, 83, 2] Operation: 22-20=2
Exploring Operation: 20+22=42, Resulting Numbers: [34, 83, 42]
Generated Node #0,2: 93:[34, 83, 42] Operation: 20+22=42
Moving to Node #0,1
Current State: 93:[34, 83, 2], Operations: ['22-20=2']
Exploring Operation: 34+2=36, Resulting Numbers: [83, 36]
Generated Node #0,1,0: 93:[83, 36] Operation: 34+2=36
Exploring Operation: 83+2=85, Resulting Numbers: [34, 85]
Generated Node #0,1,1: 93:[34, 85] Operation: 83+2=85
Exploring Operation: 34-2=32, Resulting Numbers: [83, 32]
Generated Node #0,1,2: 93:[83, 32] Operation: 34-2=32
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 93:[34, 85], Operations: ['22-20=2', '83+2=85']
Exploring Operation: 34*85=2890, Resulting Numbers: [2890]
2890,93 unequal: No Solution
Exploring Operation: 34+85=119, Resulting Numbers: [119]
119,93 unequal: No Solution
Exploring Operation: 85-34=51, Resulting Numbers: [51]
51,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 93:[83, 32], Operations: ['22-20=2', '34-2=32']
Exploring Operation: 83+32=115, Resulting Numbers: [115]
115,93 unequal: No Solution
Exploring Operation: 83*32=2656, Resulting Numbers: [2656]
2656,93 unequal: No Solution
Exploring Operation: 83-32=51, Resulting Numbers: [51]
51,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 93:[83, 36], Operations: ['22-20=2', '34+2=36']
Exploring Operation: 83-36=47, Resulting Numbers: [47]
47,93 unequal: No Solution
Exploring Operation: 83+36=119, Resulting Numbers: [119]
119,93 unequal: No Solution
Exploring Operation: 83*36=2988, Resulting Numbers: [2988]
2988,93 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: 93:[34, 22, 103], Operations: ['20+83=103']
Exploring Operation: 103-22=81, Resulting Numbers: [34, 81]
Generated Node #0,0,0: 93:[34, 81] Operation: 103-22=81
Exploring Operation: 34-22=12, Resulting Numbers: [103, 12]
Generated Node #0,0,1: 93:[103, 12] Operation: 34-22=12
Exploring Operation: 103-34=69, Resulting Numbers: [22, 69]
Generated Node #0,0,2: 93:[22, 69] Operation: 103-34=69
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 93:[34, 81], Operations: ['20+83=103', '103-22=81']
Exploring Operation: 34*81=2754, Resulting Numbers: [2754]
2754,93 unequal: No Solution
Exploring Operation: 81-34=47, Resulting Numbers: [47]
47,93 unequal: No Solution
Exploring Operation: 34+81=115, Resulting Numbers: [115]
115,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 93:[103, 12], Operations: ['20+83=103', '34-22=12']
Exploring Operation: 103*12=1236, Resulting Numbers: [1236]
1236,93 unequal: No Solution
Exploring Operation: 103+12=115, Resulting Numbers: [115]
115,93 unequal: No Solution
Exploring Operation: 103-12=91, Resulting Numbers: [91]
91,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 93:[22, 69], Operations: ['20+83=103', '103-34=69']
Exploring Operation: 69-22=47, Resulting Numbers: [47]
47,93 unequal: No Solution
Exploring Operation: 22+69=91, Resulting Numbers: [91]
91,93 unequal: No Solution
Exploring Operation: 22*69=1518, Resulting Numbers: [1518]
1518,93 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: 93:[34, 83, 42], Operations: ['20+22=42']
Exploring Operation: 42-34=8, Resulting Numbers: [83, 8]
Generated Node #0,2,0: 93:[83, 8] Operation: 42-34=8
Exploring Operation: 83-42=41, Resulting Numbers: [34, 41]
Generated Node #0,2,1: 93:[34, 41] Operation: 83-42=41
Exploring Operation: 34+42=76, Resulting Numbers: [83, 76]
Generated Node #0,2,2: 93:[83, 76] Operation: 34+42=76
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 93:[34, 41], Operations: ['20+22=42', '83-42=41']
Exploring Operation: 34*41=1394, Resulting Numbers: [1394]
1394,93 unequal: No Solution
Exploring Operation: 34+41=75, Resulting Numbers: [75]
75,93 unequal: No Solution
Exploring Operation: 41-34=7, Resulting Numbers: [7]
7,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 93:[83, 8], Operations: ['20+22=42', '42-34=8']
Exploring Operation: 83+8=91, Resulting Numbers: [91]
91,93 unequal: No Solution
Exploring Operation: 83*8=664, Resulting Numbers: [664]
664,93 unequal: No Solution
Exploring Operation: 83-8=75, Resulting Numbers: [75]
75,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 93:[83, 76], Operations: ['20+22=42', '34+42=76']
Exploring Operation: 83+76=159, Resulting Numbers: [159]
159,93 unequal: No Solution
Exploring Operation: 83-76=7, Resulting Numbers: [7]
7,93 unequal: No Solution
Exploring Operation: 83*76=6308, Resulting Numbers: [6308]
6308,93 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 |
[
12,
18,
29,
18
] | 26 | [
"18-12=6",
"18/6=3",
"29-3=26"
] | Current State: 26:[12, 18, 29, 18], Operations: []
Exploring Operation: 18-12=6, Resulting Numbers: [29, 6]
Generated Node #2: [29, 6] from Operation: 18-12=6
Current State: 26:[29, 6], Operations: ['18-12=6']
Exploring Operation: 18/6=3, Resulting Numbers: [29, 3]
Generated Node #3: [29, 3] from Operation: 18/6=3
Current State: 26:[29, 3], Operations: ['18-12=6', '18/6=3']
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[12, 18, 29, 18], Operations: []
Exploring Operation: 18-18=0, Resulting Numbers: [12, 29, 0]
Generated Node #0,0: 26:[12, 29, 0] Operation: 18-18=0
Exploring Operation: 18/18=1, Resulting Numbers: [12, 29, 1]
Generated Node #0,1: 26:[12, 29, 1] Operation: 18/18=1
Exploring Operation: 29-18=11, Resulting Numbers: [12, 18, 11]
Generated Node #0,2: 26:[12, 18, 11] Operation: 29-18=11
Moving to Node #0,1
Current State: 26:[12, 29, 1], Operations: ['18/18=1']
Exploring Operation: 12+1=13, Resulting Numbers: [29, 13]
Generated Node #0,1,0: 26:[29, 13] Operation: 12+1=13
Exploring Operation: 29-1=28, Resulting Numbers: [12, 28]
Generated Node #0,1,1: 26:[12, 28] Operation: 29-1=28
Exploring Operation: 12*1=12, Resulting Numbers: [29, 12]
Generated Node #0,1,2: 26:[29, 12] Operation: 12*1=12
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 26:[29, 13], Operations: ['18/18=1', '12+1=13']
Exploring Operation: 29+13=42, Resulting Numbers: [42]
42,26 unequal: No Solution
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,26 unequal: No Solution
Exploring Operation: 29*13=377, Resulting Numbers: [377]
377,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 26:[12, 28], Operations: ['18/18=1', '29-1=28']
Exploring Operation: 12*28=336, Resulting Numbers: [336]
336,26 unequal: No Solution
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,26 unequal: No Solution
Exploring Operation: 12+28=40, Resulting Numbers: [40]
40,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 26:[29, 12], Operations: ['18/18=1', '12*1=12']
Exploring Operation: 29*12=348, Resulting Numbers: [348]
348,26 unequal: No Solution
Exploring Operation: 29+12=41, Resulting Numbers: [41]
41,26 unequal: No Solution
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,26 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: 26:[12, 29, 0], Operations: ['18-18=0']
Exploring Operation: 12+0=12, Resulting Numbers: [29, 12]
Generated Node #0,0,0: 26:[29, 12] Operation: 12+0=12
Exploring Operation: 29*0=0, Resulting Numbers: [12, 0]
Generated Node #0,0,1: 26:[12, 0] Operation: 29*0=0
Exploring Operation: 12-0=12, Resulting Numbers: [29, 12]
Generated Node #0,0,2: 26:[29, 12] Operation: 12-0=12
Moving to Node #0,2
Current State: 26:[12, 18, 11], Operations: ['29-18=11']
Exploring Operation: 18-12=6, Resulting Numbers: [11, 6]
Generated Node #0,2,0: 26:[11, 6] Operation: 18-12=6
Exploring Operation: 18+11=29, Resulting Numbers: [12, 29]
Generated Node #0,2,1: 26:[12, 29] Operation: 18+11=29
Exploring Operation: 12+18=30, Resulting Numbers: [11, 30]
Generated Node #0,2,2: 26:[11, 30] Operation: 12+18=30
Moving to Node #0,0,1
Current State: 26:[12, 0], Operations: ['18-18=0', '29*0=0']
Exploring Operation: 12+0=12, Resulting Numbers: [12]
12,26 unequal: No Solution
Exploring Operation: 12*0=0, Resulting Numbers: [0]
0,26 unequal: No Solution
Exploring Operation: 12-0=12, Resulting Numbers: [12]
12,26 unequal: No Solution
Moving to Node #0,0,2
Current State: 26:[29, 12], Operations: ['18-18=0', '12-0=12']
Exploring Operation: 29+12=41, Resulting Numbers: [41]
41,26 unequal: No Solution
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Exploring Operation: 29*12=348, Resulting Numbers: [348]
348,26 unequal: No Solution
Moving to Node #0,0,0
Current State: 26:[29, 12], Operations: ['18-18=0', '12+0=12']
Exploring Operation: 29+12=41, Resulting Numbers: [41]
41,26 unequal: No Solution
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Exploring Operation: 29*12=348, Resulting Numbers: [348]
348,26 unequal: No Solution
Moving to Node #0,2,1
Current State: 26:[12, 29], Operations: ['29-18=11', '18+11=29']
Exploring Operation: 12*29=348, Resulting Numbers: [348]
348,26 unequal: No Solution
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Exploring Operation: 12+29=41, Resulting Numbers: [41]
41,26 unequal: No Solution
Moving to Node #0,2,0
Current State: 26:[11, 6], Operations: ['29-18=11', '18-12=6']
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,26 unequal: No Solution
Exploring Operation: 11+6=17, Resulting Numbers: [17]
17,26 unequal: No Solution
Exploring Operation: 11*6=66, Resulting Numbers: [66]
66,26 unequal: No Solution
Moving to Node #0,2,2
Current State: 26:[11, 30], Operations: ['29-18=11', '12+18=30']
Exploring Operation: 11*30=330, Resulting Numbers: [330]
330,26 unequal: No Solution
Exploring Operation: 11+30=41, Resulting Numbers: [41]
41,26 unequal: No Solution
Exploring Operation: 30-11=19, Resulting Numbers: [19]
19,26 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
82,
66,
69,
37
] | 73 | [
"82+66=148",
"148/37=4",
"69+4=73"
] | Current State: 73:[82, 66, 69, 37], Operations: []
Exploring Operation: 82+66=148, Resulting Numbers: [69, 37, 148]
Generated Node #2: [69, 37, 148] from Operation: 82+66=148
Current State: 73:[69, 37, 148], Operations: ['82+66=148']
Exploring Operation: 148/37=4, Resulting Numbers: [69, 4]
Generated Node #3: [69, 4] from Operation: 148/37=4
Current State: 73:[69, 4], Operations: ['82+66=148', '148/37=4']
Exploring Operation: 69+4=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[82, 66, 69, 37], Operations: []
Exploring Operation: 66+37=103, Resulting Numbers: [82, 69, 103]
Generated Node #0,0: 73:[82, 69, 103] Operation: 66+37=103
Exploring Operation: 82-37=45, Resulting Numbers: [66, 69, 45]
Generated Node #0,1: 73:[66, 69, 45] Operation: 82-37=45
Exploring Operation: 69+37=106, Resulting Numbers: [82, 66, 106]
Generated Node #0,2: 73:[82, 66, 106] Operation: 69+37=106
Start Sub Search at level 1: Moving to Node #0,1
Current State: 73:[66, 69, 45], Operations: ['82-37=45']
Exploring Operation: 66-45=21, Resulting Numbers: [69, 21]
Generated Node #0,1,0: 73:[69, 21] Operation: 66-45=21
Exploring Operation: 66+45=111, Resulting Numbers: [69, 111]
Generated Node #0,1,1: 73:[69, 111] Operation: 66+45=111
Exploring Operation: 69+45=114, Resulting Numbers: [66, 114]
Generated Node #0,1,2: 73:[66, 114] Operation: 69+45=114
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 73:[69, 111], Operations: ['82-37=45', '66+45=111']
Exploring Operation: 69*111=7659, Resulting Numbers: [7659]
7659,73 unequal: No Solution
Exploring Operation: 111-69=42, Resulting Numbers: [42]
42,73 unequal: No Solution
Exploring Operation: 69+111=180, Resulting Numbers: [180]
180,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 73:[66, 114], Operations: ['82-37=45', '69+45=114']
Exploring Operation: 114-66=48, Resulting Numbers: [48]
48,73 unequal: No Solution
Exploring Operation: 66+114=180, Resulting Numbers: [180]
180,73 unequal: No Solution
Exploring Operation: 66*114=7524, Resulting Numbers: [7524]
7524,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 73:[69, 21], Operations: ['82-37=45', '66-45=21']
Exploring Operation: 69-21=48, Resulting Numbers: [48]
48,73 unequal: No Solution
Exploring Operation: 69*21=1449, Resulting Numbers: [1449]
1449,73 unequal: No Solution
Exploring Operation: 69+21=90, Resulting Numbers: [90]
90,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[82, 69, 103], Operations: ['66+37=103']
Exploring Operation: 103-82=21, Resulting Numbers: [69, 21]
Generated Node #0,0,0: 73:[69, 21] Operation: 103-82=21
Exploring Operation: 82-69=13, Resulting Numbers: [103, 13]
Generated Node #0,0,1: 73:[103, 13] Operation: 82-69=13
Exploring Operation: 103-69=34, Resulting Numbers: [82, 34]
Generated Node #0,0,2: 73:[82, 34] Operation: 103-69=34
Moving to Node #0,0,2
Current State: 73:[82, 34], Operations: ['66+37=103', '103-69=34']
Exploring Operation: 82-34=48, Resulting Numbers: [48]
48,73 unequal: No Solution
Exploring Operation: 82+34=116, Resulting Numbers: [116]
116,73 unequal: No Solution
Exploring Operation: 82*34=2788, Resulting Numbers: [2788]
2788,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[69, 21], Operations: ['66+37=103', '103-82=21']
Exploring Operation: 69+21=90, Resulting Numbers: [90]
90,73 unequal: No Solution
Exploring Operation: 69*21=1449, Resulting Numbers: [1449]
1449,73 unequal: No Solution
Exploring Operation: 69-21=48, Resulting Numbers: [48]
48,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[103, 13], Operations: ['66+37=103', '82-69=13']
Exploring Operation: 103*13=1339, Resulting Numbers: [1339]
1339,73 unequal: No Solution
Exploring Operation: 103-13=90, Resulting Numbers: [90]
90,73 unequal: No Solution
Exploring Operation: 103+13=116, Resulting Numbers: [116]
116,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,2
Current State: 73:[82, 66, 106], Operations: ['69+37=106']
Exploring Operation: 106-82=24, Resulting Numbers: [66, 24]
Generated Node #0,2,0: 73:[66, 24] Operation: 106-82=24
Exploring Operation: 82-66=16, Resulting Numbers: [106, 16]
Generated Node #0,2,1: 73:[106, 16] Operation: 82-66=16
Exploring Operation: 106-66=40, Resulting Numbers: [82, 40]
Generated Node #0,2,2: 73:[82, 40] Operation: 106-66=40
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 73:[82, 40], Operations: ['69+37=106', '106-66=40']
Exploring Operation: 82-40=42, Resulting Numbers: [42]
42,73 unequal: No Solution
Exploring Operation: 82+40=122, Resulting Numbers: [122]
122,73 unequal: No Solution
Exploring Operation: 82*40=3280, Resulting Numbers: [3280]
3280,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 73:[66, 24], Operations: ['69+37=106', '106-82=24']
Exploring Operation: 66*24=1584, Resulting Numbers: [1584]
1584,73 unequal: No Solution
Exploring Operation: 66-24=42, Resulting Numbers: [42]
42,73 unequal: No Solution
Exploring Operation: 66+24=90, Resulting Numbers: [90]
90,73 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 73:[106, 16], Operations: ['69+37=106', '82-66=16']
Exploring Operation: 106+16=122, Resulting Numbers: [122]
122,73 unequal: No Solution
Exploring Operation: 106-16=90, Resulting Numbers: [90]
90,73 unequal: No Solution
Exploring Operation: 106*16=1696, Resulting Numbers: [1696]
1696,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_3 | sum_heuristic |
[
72,
41,
40,
82
] | 73 | [
"72-41=31",
"82-40=42",
"31+42=73"
] | Current State: 73:[72, 41, 40, 82], Operations: []
Exploring Operation: 72-41=31, Resulting Numbers: [40, 82, 31]
Generated Node #2: [40, 82, 31] from Operation: 72-41=31
Current State: 73:[40, 82, 31], Operations: ['72-41=31']
Exploring Operation: 82-40=42, Resulting Numbers: [31, 42]
Generated Node #3: [31, 42] from Operation: 82-40=42
Current State: 73:[31, 42], Operations: ['72-41=31', '82-40=42']
Exploring Operation: 31+42=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[72, 41, 40, 82], Operations: []
Exploring Operation: 41+40=81, Resulting Numbers: [72, 82, 81]
Generated Node #0,0: 73:[72, 82, 81] Operation: 41+40=81
Exploring Operation: 72+40=112, Resulting Numbers: [41, 82, 112]
Generated Node #0,1: 73:[41, 82, 112] Operation: 72+40=112
Exploring Operation: 82-41=41, Resulting Numbers: [72, 40, 41]
Generated Node #0,2: 73:[72, 40, 41] Operation: 82-41=41
Exploring Operation: 82-40=42, Resulting Numbers: [72, 41, 42]
Generated Node #0,3: 73:[72, 41, 42] Operation: 82-40=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[72, 82, 81], Operations: ['41+40=81']
Exploring Operation: 82-72=10, Resulting Numbers: [81, 10]
Generated Node #0,0,0: 73:[81, 10] Operation: 82-72=10
Exploring Operation: 81-72=9, Resulting Numbers: [82, 9]
Generated Node #0,0,1: 73:[82, 9] Operation: 81-72=9
Exploring Operation: 82-81=1, Resulting Numbers: [72, 1]
Generated Node #0,0,2: 73:[72, 1] Operation: 82-81=1
Exploring Operation: 72+82=154, Resulting Numbers: [81, 154]
Generated Node #0,0,3: 73:[81, 154] Operation: 72+82=154
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 73:[81, 10], Operations: ['41+40=81', '82-72=10']
Exploring Operation: 81-10=71, Resulting Numbers: [71]
71,73 unequal: No Solution
Exploring Operation: 81*10=810, Resulting Numbers: [810]
810,73 unequal: No Solution
Exploring Operation: 81+10=91, Resulting Numbers: [91]
91,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,1
Current State: 73:[82, 9], Operations: ['41+40=81', '81-72=9']
Exploring Operation: 82-9=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[72, 41, 40, 82], Operations: []
Exploring Operation: 41+40=81, Resulting Numbers: [72, 82, 81]
Generated Node #0,0: 73:[72, 82, 81] Operation: 41+40=81
Moving to Node #0,0
Current State: 73:[72, 82, 81], Operations: ['41+40=81']
Exploring Operation: 81-72=9, Resulting Numbers: [82, 9]
Generated Node #0,0,1: 73:[82, 9] Operation: 81-72=9
Moving to Node #0,0,1
Current State: 73:[82, 9], Operations: ['41+40=81', '81-72=9']
Exploring Operation: 82-9=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
4,
38,
8,
96
] | 20 | [
"8/4=2",
"38*2=76",
"96-76=20"
] | Current State: 20:[4, 38, 8, 96], Operations: []
Exploring Operation: 8/4=2, Resulting Numbers: [38, 96, 2]
Generated Node #2: [38, 96, 2] from Operation: 8/4=2
Current State: 20:[38, 96, 2], Operations: ['8/4=2']
Exploring Operation: 38*2=76, Resulting Numbers: [96, 76]
Generated Node #3: [96, 76] from Operation: 38*2=76
Current State: 20:[96, 76], Operations: ['8/4=2', '38*2=76']
Exploring Operation: 96-76=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[4, 38, 8, 96], Operations: []
Exploring Operation: 96/4=24, Resulting Numbers: [38, 8, 24]
Generated Node #0,0: 20:[38, 8, 24] Operation: 96/4=24
Exploring Operation: 96/8=12, Resulting Numbers: [4, 38, 12]
Generated Node #0,1: 20:[4, 38, 12] Operation: 96/8=12
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[4, 38, 12], Operations: ['96/8=12']
Exploring Operation: 38-12=26, Resulting Numbers: [4, 26]
Generated Node #0,1,0: 20:[4, 26] Operation: 38-12=26
Exploring Operation: 38-4=34, Resulting Numbers: [12, 34]
Generated Node #0,1,1: 20:[12, 34] Operation: 38-4=34
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 20:[4, 26], Operations: ['96/8=12', '38-12=26']
Exploring Operation: 4+26=30, Resulting Numbers: [30]
30,20 unequal: No Solution
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 20:[12, 34], Operations: ['96/8=12', '38-4=34']
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,20 unequal: No Solution
Exploring Operation: 12+34=46, Resulting Numbers: [46]
46,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:[38, 8, 24], Operations: ['96/4=24']
Exploring Operation: 38-24=14, Resulting Numbers: [8, 14]
Generated Node #0,0,0: 20:[8, 14] Operation: 38-24=14
Exploring Operation: 38-8=30, Resulting Numbers: [24, 30]
Generated Node #0,0,1: 20:[24, 30] Operation: 38-8=30
Moving to Node #0,0,0
Current State: 20:[8, 14], Operations: ['96/4=24', '38-24=14']
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,20 unequal: No Solution
Exploring Operation: 8+14=22, Resulting Numbers: [22]
22,20 unequal: No Solution
Moving to Node #0,0,1
Current State: 20:[24, 30], Operations: ['96/4=24', '38-8=30']
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,20 unequal: No Solution
Exploring Operation: 24+30=54, Resulting Numbers: [54]
54,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
12,
89,
23,
2
] | 68 | [
"89+23=112",
"112/2=56",
"12+56=68"
] | Current State: 68:[12, 89, 23, 2], Operations: []
Exploring Operation: 89+23=112, Resulting Numbers: [12, 2, 112]
Generated Node #2: [12, 2, 112] from Operation: 89+23=112
Current State: 68:[12, 2, 112], Operations: ['89+23=112']
Exploring Operation: 112/2=56, Resulting Numbers: [12, 56]
Generated Node #3: [12, 56] from Operation: 112/2=56
Current State: 68:[12, 56], Operations: ['89+23=112', '112/2=56']
Exploring Operation: 12+56=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[12, 89, 23, 2], Operations: []
Exploring Operation: 89-12=77, Resulting Numbers: [23, 2, 77]
Generated Node #0,0: 68:[23, 2, 77] Operation: 89-12=77
Exploring Operation: 89-23=66, Resulting Numbers: [12, 2, 66]
Generated Node #0,1: 68:[12, 2, 66] Operation: 89-23=66
Exploring Operation: 12+23=35, Resulting Numbers: [89, 2, 35]
Generated Node #0,2: 68:[89, 2, 35] Operation: 12+23=35
Moving to Node #0,1
Current State: 68:[12, 2, 66], Operations: ['89-23=66']
Exploring Operation: 12/2=6, Resulting Numbers: [66, 6]
Generated Node #0,1,0: 68:[66, 6] Operation: 12/2=6
Exploring Operation: 12+2=14, Resulting Numbers: [66, 14]
Generated Node #0,1,1: 68:[66, 14] Operation: 12+2=14
Exploring Operation: 2+66=68, Resulting Numbers: [12, 68]
Generated Node #0,1,2: 68:[12, 68] Operation: 2+66=68
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 68:[66, 6], Operations: ['89-23=66', '12/2=6']
Exploring Operation: 66+6=72, Resulting Numbers: [72]
72,68 unequal: No Solution
Exploring Operation: 66/6=11, Resulting Numbers: [11]
11,68 unequal: No Solution
Exploring Operation: 66-6=60, Resulting Numbers: [60]
60,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 68:[66, 14], Operations: ['89-23=66', '12+2=14']
Exploring Operation: 66-14=52, Resulting Numbers: [52]
52,68 unequal: No Solution
Exploring Operation: 66*14=924, Resulting Numbers: [924]
924,68 unequal: No Solution
Exploring Operation: 66+14=80, Resulting Numbers: [80]
80,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 68:[12, 68], Operations: ['89-23=66', '2+66=68']
Exploring Operation: 12+68=80, Resulting Numbers: [80]
80,68 unequal: No Solution
Exploring Operation: 68-12=56, Resulting Numbers: [56]
56,68 unequal: No Solution
Exploring Operation: 12*68=816, Resulting Numbers: [816]
816,68 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: 68:[23, 2, 77], Operations: ['89-12=77']
Exploring Operation: 23-2=21, Resulting Numbers: [77, 21]
Generated Node #0,0,0: 68:[77, 21] Operation: 23-2=21
Exploring Operation: 77-2=75, Resulting Numbers: [23, 75]
Generated Node #0,0,1: 68:[23, 75] Operation: 77-2=75
Exploring Operation: 77-23=54, Resulting Numbers: [2, 54]
Generated Node #0,0,2: 68:[2, 54] Operation: 77-23=54
Moving to Node #0,2
Current State: 68:[89, 2, 35], Operations: ['12+23=35']
Exploring Operation: 89-35=54, Resulting Numbers: [2, 54]
Generated Node #0,2,0: 68:[2, 54] Operation: 89-35=54
Exploring Operation: 89-2=87, Resulting Numbers: [35, 87]
Generated Node #0,2,1: 68:[35, 87] Operation: 89-2=87
Exploring Operation: 35-2=33, Resulting Numbers: [89, 33]
Generated Node #0,2,2: 68:[89, 33] Operation: 35-2=33
Moving to Node #0,0,0
Current State: 68:[77, 21], Operations: ['89-12=77', '23-2=21']
Exploring Operation: 77-21=56, Resulting Numbers: [56]
56,68 unequal: No Solution
Exploring Operation: 77+21=98, Resulting Numbers: [98]
98,68 unequal: No Solution
Exploring Operation: 77*21=1617, Resulting Numbers: [1617]
1617,68 unequal: No Solution
Moving to Node #0,0,1
Current State: 68:[23, 75], Operations: ['89-12=77', '77-2=75']
Exploring Operation: 23*75=1725, Resulting Numbers: [1725]
1725,68 unequal: No Solution
Exploring Operation: 75-23=52, Resulting Numbers: [52]
52,68 unequal: No Solution
Exploring Operation: 23+75=98, Resulting Numbers: [98]
98,68 unequal: No Solution
Moving to Node #0,0,2
Current State: 68:[2, 54], Operations: ['89-12=77', '77-23=54']
Exploring Operation: 2+54=56, Resulting Numbers: [56]
56,68 unequal: No Solution
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,68 unequal: No Solution
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,68 unequal: No Solution
Moving to Node #0,2,0
Current State: 68:[2, 54], Operations: ['12+23=35', '89-35=54']
Exploring Operation: 2+54=56, Resulting Numbers: [56]
56,68 unequal: No Solution
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,68 unequal: No Solution
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,68 unequal: No Solution
Moving to Node #0,2,1
Current State: 68:[35, 87], Operations: ['12+23=35', '89-2=87']
Exploring Operation: 87-35=52, Resulting Numbers: [52]
52,68 unequal: No Solution
Exploring Operation: 35+87=122, Resulting Numbers: [122]
122,68 unequal: No Solution
Exploring Operation: 35*87=3045, Resulting Numbers: [3045]
3045,68 unequal: No Solution
Moving to Node #0,2,2
Current State: 68:[89, 33], Operations: ['12+23=35', '35-2=33']
Exploring Operation: 89-33=56, Resulting Numbers: [56]
56,68 unequal: No Solution
Exploring Operation: 89+33=122, Resulting Numbers: [122]
122,68 unequal: No Solution
Exploring Operation: 89*33=2937, Resulting Numbers: [2937]
2937,68 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
39,
50,
4,
27
] | 20 | [
"50-39=11",
"4+27=31",
"31-11=20"
] | Current State: 20:[39, 50, 4, 27], Operations: []
Exploring Operation: 50-39=11, Resulting Numbers: [4, 27, 11]
Generated Node #2: [4, 27, 11] from Operation: 50-39=11
Current State: 20:[4, 27, 11], Operations: ['50-39=11']
Exploring Operation: 4+27=31, Resulting Numbers: [11, 31]
Generated Node #3: [11, 31] from Operation: 4+27=31
Current State: 20:[11, 31], Operations: ['50-39=11', '4+27=31']
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[39, 50, 4, 27], Operations: []
Exploring Operation: 50-27=23, Resulting Numbers: [39, 4, 23]
Generated Node #0,0: 20:[39, 4, 23] Operation: 50-27=23
Exploring Operation: 50-39=11, Resulting Numbers: [4, 27, 11]
Generated Node #0,1: 20:[4, 27, 11] Operation: 50-39=11
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[4, 27, 11], Operations: ['50-39=11']
Exploring Operation: 27-11=16, Resulting Numbers: [4, 16]
Generated Node #0,1,0: 20:[4, 16] Operation: 27-11=16
Exploring Operation: 27-4=23, Resulting Numbers: [11, 23]
Generated Node #0,1,1: 20:[11, 23] Operation: 27-4=23
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 20:[4, 16], Operations: ['50-39=11', '27-11=16']
Exploring Operation: 4+16=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[39, 50, 4, 27], Operations: []
Exploring Operation: 50-39=11, Resulting Numbers: [4, 27, 11]
Generated Node #0,1: 20:[4, 27, 11] Operation: 50-39=11
Moving to Node #0,1
Current State: 20:[4, 27, 11], Operations: ['50-39=11']
Exploring Operation: 27-11=16, Resulting Numbers: [4, 16]
Generated Node #0,1,0: 20:[4, 16] Operation: 27-11=16
Moving to Node #0,1,0
Current State: 20:[4, 16], Operations: ['50-39=11', '27-11=16']
Exploring Operation: 4+16=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
19,
50,
49,
4
] | 95 | [
"50-49=1",
"4+1=5",
"19*5=95"
] | Current State: 95:[19, 50, 49, 4], Operations: []
Exploring Operation: 50-49=1, Resulting Numbers: [19, 4, 1]
Generated Node #2: [19, 4, 1] from Operation: 50-49=1
Current State: 95:[19, 4, 1], Operations: ['50-49=1']
Exploring Operation: 4+1=5, Resulting Numbers: [19, 5]
Generated Node #3: [19, 5] from Operation: 4+1=5
Current State: 95:[19, 5], Operations: ['50-49=1', '4+1=5']
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[19, 50, 49, 4], Operations: []
Exploring Operation: 50+49=99, Resulting Numbers: [19, 4, 99]
Generated Node #0,0: 95:[19, 4, 99] Operation: 50+49=99
Exploring Operation: 50-19=31, Resulting Numbers: [49, 4, 31]
Generated Node #0,1: 95:[49, 4, 31] Operation: 50-19=31
Exploring Operation: 49-19=30, Resulting Numbers: [50, 4, 30]
Generated Node #0,2: 95:[50, 4, 30] Operation: 49-19=30
Exploring Operation: 50-49=1, Resulting Numbers: [19, 4, 1]
Generated Node #0,3: 95:[19, 4, 1] Operation: 50-49=1
Moving to Node #0,0
Current State: 95:[19, 4, 99], Operations: ['50+49=99']
Exploring Operation: 4+99=103, Resulting Numbers: [19, 103]
Generated Node #0,0,0: 95:[19, 103] Operation: 4+99=103
Exploring Operation: 19-4=15, Resulting Numbers: [99, 15]
Generated Node #0,0,1: 95:[99, 15] Operation: 19-4=15
Exploring Operation: 99-4=95, Resulting Numbers: [19, 95]
Generated Node #0,0,2: 95:[19, 95] Operation: 99-4=95
Exploring Operation: 19+4=23, Resulting Numbers: [99, 23]
Generated Node #0,0,3: 95:[99, 23] Operation: 19+4=23
Moving to Node #0,3
Current State: 95:[19, 4, 1], Operations: ['50-49=1']
Exploring Operation: 19*1=19, Resulting Numbers: [4, 19]
Generated Node #0,3,0: 95:[4, 19] Operation: 19*1=19
Exploring Operation: 4*1=4, Resulting Numbers: [19, 4]
Generated Node #0,3,1: 95:[19, 4] Operation: 4*1=4
Exploring Operation: 4+1=5, Resulting Numbers: [19, 5]
Generated Node #0,3,2: 95:[19, 5] Operation: 4+1=5
Exploring Operation: 19/1=19, Resulting Numbers: [4, 19]
Generated Node #0,3,3: 95:[4, 19] Operation: 19/1=19
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 95:[19, 5], Operations: ['50-49=1', '4+1=5']
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[19, 50, 49, 4], Operations: []
Exploring Operation: 50-49=1, Resulting Numbers: [19, 4, 1]
Generated Node #0,3: 95:[19, 4, 1] Operation: 50-49=1
Moving to Node #0,3
Current State: 95:[19, 4, 1], Operations: ['50-49=1']
Exploring Operation: 4+1=5, Resulting Numbers: [19, 5]
Generated Node #0,3,2: 95:[19, 5] Operation: 4+1=5
Moving to Node #0,3,2
Current State: 95:[19, 5], Operations: ['50-49=1', '4+1=5']
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
4,
37,
30,
84
] | 16 | [
"37-30=7",
"84/7=12",
"4+12=16"
] | Current State: 16:[4, 37, 30, 84], Operations: []
Exploring Operation: 37-30=7, Resulting Numbers: [4, 84, 7]
Generated Node #2: [4, 84, 7] from Operation: 37-30=7
Current State: 16:[4, 84, 7], Operations: ['37-30=7']
Exploring Operation: 84/7=12, Resulting Numbers: [4, 12]
Generated Node #3: [4, 12] from Operation: 84/7=12
Current State: 16:[4, 12], Operations: ['37-30=7', '84/7=12']
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[4, 37, 30, 84], Operations: []
Exploring Operation: 84-37=47, Resulting Numbers: [4, 30, 47]
Generated Node #0,0: 16:[4, 30, 47] Operation: 84-37=47
Exploring Operation: 84/4=21, Resulting Numbers: [37, 30, 21]
Generated Node #0,1: 16:[37, 30, 21] Operation: 84/4=21
Start Sub Search at level 1: Moving to Node #0,1
Current State: 16:[37, 30, 21], Operations: ['84/4=21']
Exploring Operation: 37-30=7, Resulting Numbers: [21, 7]
Generated Node #0,1,0: 16:[21, 7] Operation: 37-30=7
Exploring Operation: 37-21=16, Resulting Numbers: [30, 16]
Generated Node #0,1,1: 16:[30, 16] Operation: 37-21=16
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 16:[21, 7], Operations: ['84/4=21', '37-30=7']
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,16 unequal: No Solution
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 16:[30, 16], Operations: ['84/4=21', '37-21=16']
Exploring Operation: 30+16=46, Resulting Numbers: [46]
46,16 unequal: No Solution
Exploring Operation: 30-16=14, Resulting Numbers: [14]
14,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[4, 30, 47], Operations: ['84-37=47']
Exploring Operation: 47-30=17, Resulting Numbers: [4, 17]
Generated Node #0,0,0: 16:[4, 17] Operation: 47-30=17
Exploring Operation: 30-4=26, Resulting Numbers: [47, 26]
Generated Node #0,0,1: 16:[47, 26] Operation: 30-4=26
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 16:[4, 17], Operations: ['84-37=47', '47-30=17']
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,16 unequal: No Solution
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 16:[47, 26], Operations: ['84-37=47', '30-4=26']
Exploring Operation: 47+26=73, Resulting Numbers: [73]
73,16 unequal: No Solution
Exploring Operation: 47-26=21, Resulting Numbers: [21]
21,16 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
95,
15,
40,
56
] | 95 | [
"15+40=55",
"56-55=1",
"95*1=95"
] | Current State: 95:[95, 15, 40, 56], Operations: []
Exploring Operation: 15+40=55, Resulting Numbers: [95, 56, 55]
Generated Node #2: [95, 56, 55] from Operation: 15+40=55
Current State: 95:[95, 56, 55], Operations: ['15+40=55']
Exploring Operation: 56-55=1, Resulting Numbers: [95, 1]
Generated Node #3: [95, 1] from Operation: 56-55=1
Current State: 95:[95, 1], Operations: ['15+40=55', '56-55=1']
Exploring Operation: 95*1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[95, 15, 40, 56], Operations: []
Exploring Operation: 56-15=41, Resulting Numbers: [95, 40, 41]
Generated Node #0,0: 95:[95, 40, 41] Operation: 56-15=41
Exploring Operation: 40+56=96, Resulting Numbers: [95, 15, 96]
Generated Node #0,1: 95:[95, 15, 96] Operation: 40+56=96
Exploring Operation: 95-56=39, Resulting Numbers: [15, 40, 39]
Generated Node #0,2: 95:[15, 40, 39] Operation: 95-56=39
Exploring Operation: 56-40=16, Resulting Numbers: [95, 15, 16]
Generated Node #0,3: 95:[95, 15, 16] Operation: 56-40=16
Exploring Operation: 40-15=25, Resulting Numbers: [95, 56, 25]
Generated Node #0,4: 95:[95, 56, 25] Operation: 40-15=25
Moving to Node #0,1
Current State: 95:[95, 15, 96], Operations: ['40+56=96']
Exploring Operation: 15+96=111, Resulting Numbers: [95, 111]
Generated Node #0,1,0: 95:[95, 111] Operation: 15+96=111
Exploring Operation: 95-15=80, Resulting Numbers: [96, 80]
Generated Node #0,1,1: 95:[96, 80] Operation: 95-15=80
Exploring Operation: 96-95=1, Resulting Numbers: [15, 1]
Generated Node #0,1,2: 95:[15, 1] Operation: 96-95=1
Exploring Operation: 96-15=81, Resulting Numbers: [95, 81]
Generated Node #0,1,3: 95:[95, 81] Operation: 96-15=81
Exploring Operation: 95+15=110, Resulting Numbers: [96, 110]
Generated Node #0,1,4: 95:[96, 110] Operation: 95+15=110
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 95:[15, 1], Operations: ['40+56=96', '96-95=1']
Exploring Operation: 15+1=16, Resulting Numbers: [16]
16,95 unequal: No Solution
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,95 unequal: No Solution
Exploring Operation: 15*1=15, Resulting Numbers: [15]
15,95 unequal: No Solution
Exploring Operation: 15/1=15, Resulting Numbers: [15]
15,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,1,3
Current State: 95:[95, 81], Operations: ['40+56=96', '96-15=81']
Exploring Operation: 95*81=7695, Resulting Numbers: [7695]
7695,95 unequal: No Solution
Exploring Operation: 95-81=14, Resulting Numbers: [14]
14,95 unequal: No Solution
Exploring Operation: 95+81=176, Resulting Numbers: [176]
176,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,1,0
Current State: 95:[95, 111], Operations: ['40+56=96', '15+96=111']
Exploring Operation: 95*111=10545, Resulting Numbers: [10545]
10545,95 unequal: No Solution
Exploring Operation: 95+111=206, Resulting Numbers: [206]
206,95 unequal: No Solution
Exploring Operation: 111-95=16, Resulting Numbers: [16]
16,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,1,1
Current State: 95:[96, 80], Operations: ['40+56=96', '95-15=80']
Exploring Operation: 96+80=176, Resulting Numbers: [176]
176,95 unequal: No Solution
Exploring Operation: 96*80=7680, Resulting Numbers: [7680]
7680,95 unequal: No Solution
Exploring Operation: 96-80=16, Resulting Numbers: [16]
16,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,1,4
Current State: 95:[96, 110], Operations: ['40+56=96', '95+15=110']
Exploring Operation: 96+110=206, Resulting Numbers: [206]
206,95 unequal: No Solution
Exploring Operation: 110-96=14, Resulting Numbers: [14]
14,95 unequal: No Solution
Exploring Operation: 96*110=10560, Resulting Numbers: [10560]
10560,95 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: 95:[95, 15, 16], Operations: ['56-40=16']
Exploring Operation: 95-15=80, Resulting Numbers: [16, 80]
Generated Node #0,3,0: 95:[16, 80] Operation: 95-15=80
Exploring Operation: 95+15=110, Resulting Numbers: [16, 110]
Generated Node #0,3,1: 95:[16, 110] Operation: 95+15=110
Exploring Operation: 16-15=1, Resulting Numbers: [95, 1]
Generated Node #0,3,2: 95:[95, 1] Operation: 16-15=1
Exploring Operation: 95+16=111, Resulting Numbers: [15, 111]
Generated Node #0,3,3: 95:[15, 111] Operation: 95+16=111
Exploring Operation: 15+16=31, Resulting Numbers: [95, 31]
Generated Node #0,3,4: 95:[95, 31] Operation: 15+16=31
Moving to Node #0,0
Current State: 95:[95, 40, 41], Operations: ['56-15=41']
Exploring Operation: 95-40=55, Resulting Numbers: [41, 55]
Generated Node #0,0,0: 95:[41, 55] Operation: 95-40=55
Exploring Operation: 95-41=54, Resulting Numbers: [40, 54]
Generated Node #0,0,1: 95:[40, 54] Operation: 95-41=54
Exploring Operation: 41-40=1, Resulting Numbers: [95, 1]
Generated Node #0,0,2: 95:[95, 1] Operation: 41-40=1
Exploring Operation: 40+41=81, Resulting Numbers: [95, 81]
Generated Node #0,0,3: 95:[95, 81] Operation: 40+41=81
Exploring Operation: 95+40=135, Resulting Numbers: [41, 135]
Generated Node #0,0,4: 95:[41, 135] Operation: 95+40=135
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 95:[95, 1], Operations: ['56-15=41', '41-40=1']
Exploring Operation: 95*1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[95, 15, 40, 56], Operations: []
Exploring Operation: 56-15=41, Resulting Numbers: [95, 40, 41]
Generated Node #0,0: 95:[95, 40, 41] Operation: 56-15=41
Moving to Node #0,0
Current State: 95:[95, 40, 41], Operations: ['56-15=41']
Exploring Operation: 41-40=1, Resulting Numbers: [95, 1]
Generated Node #0,0,2: 95:[95, 1] Operation: 41-40=1
Moving to Node #0,0,2
Current State: 95:[95, 1], Operations: ['56-15=41', '41-40=1']
Exploring Operation: 95*1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.96441 | hs_5 | mult_heuristic |
[
7,
70,
28,
31
] | 95 | [
"7*28=196",
"70+31=101",
"196-101=95"
] | Current State: 95:[7, 70, 28, 31], Operations: []
Exploring Operation: 7*28=196, Resulting Numbers: [70, 31, 196]
Generated Node #2: [70, 31, 196] from Operation: 7*28=196
Current State: 95:[70, 31, 196], Operations: ['7*28=196']
Exploring Operation: 70+31=101, Resulting Numbers: [196, 101]
Generated Node #3: [196, 101] from Operation: 70+31=101
Current State: 95:[196, 101], Operations: ['7*28=196', '70+31=101']
Exploring Operation: 196-101=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[7, 70, 28, 31], Operations: []
Exploring Operation: 70+31=101, Resulting Numbers: [7, 28, 101]
Generated Node #0,0: 95:[7, 28, 101] Operation: 70+31=101
Exploring Operation: 70+28=98, Resulting Numbers: [7, 31, 98]
Generated Node #0,1: 95:[7, 31, 98] Operation: 70+28=98
Exploring Operation: 70/7=10, Resulting Numbers: [28, 31, 10]
Generated Node #0,2: 95:[28, 31, 10] Operation: 70/7=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[7, 28, 101], Operations: ['70+31=101']
Exploring Operation: 28-7=21, Resulting Numbers: [101, 21]
Generated Node #0,0,0: 95:[101, 21] Operation: 28-7=21
Exploring Operation: 28/7=4, Resulting Numbers: [101, 4]
Generated Node #0,0,1: 95:[101, 4] Operation: 28/7=4
Exploring Operation: 101-7=94, Resulting Numbers: [28, 94]
Generated Node #0,0,2: 95:[28, 94] Operation: 101-7=94
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 95:[101, 4], Operations: ['70+31=101', '28/7=4']
Exploring Operation: 101+4=105, Resulting Numbers: [105]
105,95 unequal: No Solution
Exploring Operation: 101*4=404, Resulting Numbers: [404]
404,95 unequal: No Solution
Exploring Operation: 101-4=97, Resulting Numbers: [97]
97,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,0
Current State: 95:[101, 21], Operations: ['70+31=101', '28-7=21']
Exploring Operation: 101*21=2121, Resulting Numbers: [2121]
2121,95 unequal: No Solution
Exploring Operation: 101+21=122, Resulting Numbers: [122]
122,95 unequal: No Solution
Exploring Operation: 101-21=80, Resulting Numbers: [80]
80,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:[28, 94], Operations: ['70+31=101', '101-7=94']
Exploring Operation: 28*94=2632, Resulting Numbers: [2632]
2632,95 unequal: No Solution
Exploring Operation: 28+94=122, Resulting Numbers: [122]
122,95 unequal: No Solution
Exploring Operation: 94-28=66, Resulting Numbers: [66]
66,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:[7, 31, 98], Operations: ['70+28=98']
Exploring Operation: 98/7=14, Resulting Numbers: [31, 14]
Generated Node #0,1,0: 95:[31, 14] Operation: 98/7=14
Exploring Operation: 98-7=91, Resulting Numbers: [31, 91]
Generated Node #0,1,1: 95:[31, 91] Operation: 98-7=91
Exploring Operation: 31-7=24, Resulting Numbers: [98, 24]
Generated Node #0,1,2: 95:[98, 24] Operation: 31-7=24
Moving to Node #0,1,2
Current State: 95:[98, 24], Operations: ['70+28=98', '31-7=24']
Exploring Operation: 98*24=2352, Resulting Numbers: [2352]
2352,95 unequal: No Solution
Exploring Operation: 98+24=122, Resulting Numbers: [122]
122,95 unequal: No Solution
Exploring Operation: 98-24=74, Resulting Numbers: [74]
74,95 unequal: No Solution
Moving to Node #0,1,1
Current State: 95:[31, 91], Operations: ['70+28=98', '98-7=91']
Exploring Operation: 31+91=122, Resulting Numbers: [122]
122,95 unequal: No Solution
Exploring Operation: 31*91=2821, Resulting Numbers: [2821]
2821,95 unequal: No Solution
Exploring Operation: 91-31=60, Resulting Numbers: [60]
60,95 unequal: No Solution
Moving to Node #0,1,0
Current State: 95:[31, 14], Operations: ['70+28=98', '98/7=14']
Exploring Operation: 31+14=45, Resulting Numbers: [45]
45,95 unequal: No Solution
Exploring Operation: 31*14=434, Resulting Numbers: [434]
434,95 unequal: No Solution
Exploring Operation: 31-14=17, Resulting Numbers: [17]
17,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:[28, 31, 10], Operations: ['70/7=10']
Exploring Operation: 28-10=18, Resulting Numbers: [31, 18]
Generated Node #0,2,0: 95:[31, 18] Operation: 28-10=18
Exploring Operation: 31-28=3, Resulting Numbers: [10, 3]
Generated Node #0,2,1: 95:[10, 3] Operation: 31-28=3
Exploring Operation: 31-10=21, Resulting Numbers: [28, 21]
Generated Node #0,2,2: 95:[28, 21] Operation: 31-10=21
Moving to Node #0,2,1
Current State: 95:[10, 3], Operations: ['70/7=10', '31-28=3']
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,95 unequal: No Solution
Exploring Operation: 10*3=30, Resulting Numbers: [30]
30,95 unequal: No Solution
Exploring Operation: 10+3=13, Resulting Numbers: [13]
13,95 unequal: No Solution
Moving to Node #0,2,2
Current State: 95:[28, 21], Operations: ['70/7=10', '31-10=21']
Exploring Operation: 28+21=49, Resulting Numbers: [49]
49,95 unequal: No Solution
Exploring Operation: 28*21=588, Resulting Numbers: [588]
588,95 unequal: No Solution
Exploring Operation: 28-21=7, Resulting Numbers: [7]
7,95 unequal: No Solution
Moving to Node #0,2,0
Current State: 95:[31, 18], Operations: ['70/7=10', '28-10=18']
Exploring Operation: 31*18=558, Resulting Numbers: [558]
558,95 unequal: No Solution
Exploring Operation: 31+18=49, Resulting Numbers: [49]
49,95 unequal: No Solution
Exploring Operation: 31-18=13, Resulting Numbers: [13]
13,95 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 |
[
87,
79,
40,
40
] | 87 | [
"79-40=39",
"40-39=1",
"87*1=87"
] | Current State: 87:[87, 79, 40, 40], Operations: []
Exploring Operation: 79-40=39, Resulting Numbers: [87, 39]
Generated Node #2: [87, 39] from Operation: 79-40=39
Current State: 87:[87, 39], Operations: ['79-40=39']
Exploring Operation: 40-39=1, Resulting Numbers: [87, 1]
Generated Node #3: [87, 1] from Operation: 40-39=1
Current State: 87:[87, 1], Operations: ['79-40=39', '40-39=1']
Exploring Operation: 87*1=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[87, 79, 40, 40], Operations: []
Exploring Operation: 40-40=0, Resulting Numbers: [87, 79, 0]
Generated Node #0,0: 87:[87, 79, 0] Operation: 40-40=0
Exploring Operation: 40/40=1, Resulting Numbers: [87, 79, 1]
Generated Node #0,1: 87:[87, 79, 1] Operation: 40/40=1
Start Sub Search at level 1: Moving to Node #0,1
Current State: 87:[87, 79, 1], Operations: ['40/40=1']
Exploring Operation: 79+1=80, Resulting Numbers: [87, 80]
Generated Node #0,1,0: 87:[87, 80] Operation: 79+1=80
Exploring Operation: 87-79=8, Resulting Numbers: [1, 8]
Generated Node #0,1,1: 87:[1, 8] Operation: 87-79=8
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 87:[87, 80], Operations: ['40/40=1', '79+1=80']
Exploring Operation: 87-80=7, Resulting Numbers: [7]
7,87 unequal: No Solution
Exploring Operation: 87+80=167, Resulting Numbers: [167]
167,87 unequal: No Solution
No 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: 87:[1, 8], Operations: ['40/40=1', '87-79=8']
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,87 unequal: No Solution
Exploring Operation: 1*8=8, Resulting Numbers: [8]
8,87 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: 87:[87, 79, 0], Operations: ['40-40=0']
Exploring Operation: 87-79=8, Resulting Numbers: [0, 8]
Generated Node #0,0,0: 87:[0, 8] Operation: 87-79=8
Exploring Operation: 79*0=0, Resulting Numbers: [87, 0]
Generated Node #0,0,1: 87:[87, 0] Operation: 79*0=0
Moving to Node #0,0,1
Current State: 87:[87, 0], Operations: ['40-40=0', '79*0=0']
Exploring Operation: 87-0=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[87, 79, 40, 40], Operations: []
Exploring Operation: 40-40=0, Resulting Numbers: [87, 79, 0]
Generated Node #0,0: 87:[87, 79, 0] Operation: 40-40=0
Moving to Node #0,0
Current State: 87:[87, 79, 0], Operations: ['40-40=0']
Exploring Operation: 79*0=0, Resulting Numbers: [87, 0]
Generated Node #0,0,1: 87:[87, 0] Operation: 79*0=0
Moving to Node #0,0,1
Current State: 87:[87, 0], Operations: ['40-40=0', '79*0=0']
Exploring Operation: 87-0=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
14,
70,
33,
96
] | 45 | [
"14+70=84",
"33+96=129",
"129-84=45"
] | Current State: 45:[14, 70, 33, 96], Operations: []
Exploring Operation: 14+70=84, Resulting Numbers: [33, 96, 84]
Generated Node #2: [33, 96, 84] from Operation: 14+70=84
Current State: 45:[33, 96, 84], Operations: ['14+70=84']
Exploring Operation: 33+96=129, Resulting Numbers: [84, 129]
Generated Node #3: [84, 129] from Operation: 33+96=129
Current State: 45:[84, 129], Operations: ['14+70=84', '33+96=129']
Exploring Operation: 129-84=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[14, 70, 33, 96], Operations: []
Exploring Operation: 96-70=26, Resulting Numbers: [14, 33, 26]
Generated Node #0,0: 45:[14, 33, 26] Operation: 96-70=26
Exploring Operation: 70-33=37, Resulting Numbers: [14, 96, 37]
Generated Node #0,1: 45:[14, 96, 37] Operation: 70-33=37
Exploring Operation: 96-33=63, Resulting Numbers: [14, 70, 63]
Generated Node #0,2: 45:[14, 70, 63] Operation: 96-33=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[14, 33, 26], Operations: ['96-70=26']
Exploring Operation: 33-26=7, Resulting Numbers: [14, 7]
Generated Node #0,0,0: 45:[14, 7] Operation: 33-26=7
Exploring Operation: 14+33=47, Resulting Numbers: [26, 47]
Generated Node #0,0,1: 45:[26, 47] Operation: 14+33=47
Exploring Operation: 33-14=19, Resulting Numbers: [26, 19]
Generated Node #0,0,2: 45:[26, 19] Operation: 33-14=19
Moving to Node #0,0,0
Current State: 45:[14, 7], Operations: ['96-70=26', '33-26=7']
Exploring Operation: 14+7=21, Resulting Numbers: [21]
21,45 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,45 unequal: No Solution
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,45 unequal: No Solution
Moving to Node #0,0,1
Current State: 45:[26, 47], Operations: ['96-70=26', '14+33=47']
Exploring Operation: 26*47=1222, Resulting Numbers: [1222]
1222,45 unequal: No Solution
Exploring Operation: 47-26=21, Resulting Numbers: [21]
21,45 unequal: No Solution
Exploring Operation: 26+47=73, Resulting Numbers: [73]
73,45 unequal: No Solution
Moving to Node #0,0,2
Current State: 45:[26, 19], Operations: ['96-70=26', '33-14=19']
Exploring Operation: 26-19=7, Resulting Numbers: [7]
7,45 unequal: No Solution
Exploring Operation: 26*19=494, Resulting Numbers: [494]
494,45 unequal: No Solution
Exploring Operation: 26+19=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[14, 70, 33, 96], Operations: []
Exploring Operation: 96-70=26, Resulting Numbers: [14, 33, 26]
Generated Node #0,0: 45:[14, 33, 26] Operation: 96-70=26
Moving to Node #0,0
Current State: 45:[14, 33, 26], Operations: ['96-70=26']
Exploring Operation: 33-14=19, Resulting Numbers: [26, 19]
Generated Node #0,0,2: 45:[26, 19] Operation: 33-14=19
Moving to Node #0,0,2
Current State: 45:[26, 19], Operations: ['96-70=26', '33-14=19']
Exploring Operation: 26+19=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | mult_heuristic |
[
36,
94,
32,
92
] | 20 | [
"94-92=2",
"32/2=16",
"36-16=20"
] | Current State: 20:[36, 94, 32, 92], Operations: []
Exploring Operation: 94-92=2, Resulting Numbers: [36, 32, 2]
Generated Node #2: [36, 32, 2] from Operation: 94-92=2
Current State: 20:[36, 32, 2], Operations: ['94-92=2']
Exploring Operation: 32/2=16, Resulting Numbers: [36, 16]
Generated Node #3: [36, 16] from Operation: 32/2=16
Current State: 20:[36, 16], Operations: ['94-92=2', '32/2=16']
Exploring Operation: 36-16=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[36, 94, 32, 92], Operations: []
Exploring Operation: 94-36=58, Resulting Numbers: [32, 92, 58]
Generated Node #0,0: 20:[32, 92, 58] Operation: 94-36=58
Exploring Operation: 94-92=2, Resulting Numbers: [36, 32, 2]
Generated Node #0,1: 20:[36, 32, 2] Operation: 94-92=2
Moving to Node #0,1
Current State: 20:[36, 32, 2], Operations: ['94-92=2']
Exploring Operation: 36-32=4, Resulting Numbers: [2, 4]
Generated Node #0,1,0: 20:[2, 4] Operation: 36-32=4
Exploring Operation: 36/2=18, Resulting Numbers: [32, 18]
Generated Node #0,1,1: 20:[32, 18] Operation: 36/2=18
Moving to Node #0,0
Current State: 20:[32, 92, 58], Operations: ['94-36=58']
Exploring Operation: 92-32=60, Resulting Numbers: [58, 60]
Generated Node #0,0,0: 20:[58, 60] Operation: 92-32=60
Exploring Operation: 92-58=34, Resulting Numbers: [32, 34]
Generated Node #0,0,1: 20:[32, 34] Operation: 92-58=34
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 20:[32, 34], Operations: ['94-36=58', '92-58=34']
Exploring Operation: 34-32=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Exploring Operation: 32+34=66, Resulting Numbers: [66]
66,20 unequal: No Solution
No 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: 20:[58, 60], Operations: ['94-36=58', '92-32=60']
Exploring Operation: 60-58=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Exploring Operation: 58+60=118, Resulting Numbers: [118]
118,20 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: 20:[2, 4], Operations: ['94-92=2', '36-32=4']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Moving to Node #0,1,1
Current State: 20:[32, 18], Operations: ['94-92=2', '36/2=18']
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,20 unequal: No Solution
Exploring Operation: 32+18=50, Resulting Numbers: [50]
50,20 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
62,
92,
90,
32
] | 88 | [
"92-62=30",
"90-32=58",
"30+58=88"
] | Current State: 88:[62, 92, 90, 32], Operations: []
Exploring Operation: 92-62=30, Resulting Numbers: [90, 32, 30]
Generated Node #2: [90, 32, 30] from Operation: 92-62=30
Current State: 88:[90, 32, 30], Operations: ['92-62=30']
Exploring Operation: 90-32=58, Resulting Numbers: [30, 58]
Generated Node #3: [30, 58] from Operation: 90-32=58
Current State: 88:[30, 58], Operations: ['92-62=30', '90-32=58']
Exploring Operation: 30+58=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[62, 92, 90, 32], Operations: []
Exploring Operation: 62+32=94, Resulting Numbers: [92, 90, 94]
Generated Node #0,0: 88:[92, 90, 94] Operation: 62+32=94
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[92, 90, 94], Operations: ['62+32=94']
Exploring Operation: 94-92=2, Resulting Numbers: [90, 2]
Generated Node #0,0,0: 88:[90, 2] Operation: 94-92=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 88:[90, 2], Operations: ['62+32=94', '94-92=2']
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[62, 92, 90, 32], Operations: []
Exploring Operation: 62+32=94, Resulting Numbers: [92, 90, 94]
Generated Node #0,0: 88:[92, 90, 94] Operation: 62+32=94
Moving to Node #0,0
Current State: 88:[92, 90, 94], Operations: ['62+32=94']
Exploring Operation: 94-92=2, Resulting Numbers: [90, 2]
Generated Node #0,0,0: 88:[90, 2] Operation: 94-92=2
Moving to Node #0,0,0
Current State: 88:[90, 2], Operations: ['62+32=94', '94-92=2']
Exploring Operation: 90-2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
5,
92,
49,
88
] | 69 | [
"92-88=4",
"5*4=20",
"49+20=69"
] | Current State: 69:[5, 92, 49, 88], Operations: []
Exploring Operation: 92-88=4, Resulting Numbers: [5, 49, 4]
Generated Node #2: [5, 49, 4] from Operation: 92-88=4
Current State: 69:[5, 49, 4], Operations: ['92-88=4']
Exploring Operation: 5*4=20, Resulting Numbers: [49, 20]
Generated Node #3: [49, 20] from Operation: 5*4=20
Current State: 69:[49, 20], Operations: ['92-88=4', '5*4=20']
Exploring Operation: 49+20=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[5, 92, 49, 88], Operations: []
Exploring Operation: 92-88=4, Resulting Numbers: [5, 49, 4]
Generated Node #0,0: 69:[5, 49, 4] Operation: 92-88=4
Exploring Operation: 92-5=87, Resulting Numbers: [49, 88, 87]
Generated Node #0,1: 69:[49, 88, 87] Operation: 92-5=87
Exploring Operation: 88-49=39, Resulting Numbers: [5, 92, 39]
Generated Node #0,2: 69:[5, 92, 39] Operation: 88-49=39
Exploring Operation: 92-49=43, Resulting Numbers: [5, 88, 43]
Generated Node #0,3: 69:[5, 88, 43] Operation: 92-49=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[5, 49, 4], Operations: ['92-88=4']
Exploring Operation: 49-5=44, Resulting Numbers: [4, 44]
Generated Node #0,0,0: 69:[4, 44] Operation: 49-5=44
Exploring Operation: 49+4=53, Resulting Numbers: [5, 53]
Generated Node #0,0,1: 69:[5, 53] Operation: 49+4=53
Exploring Operation: 5-4=1, Resulting Numbers: [49, 1]
Generated Node #0,0,2: 69:[49, 1] Operation: 5-4=1
Exploring Operation: 5+49=54, Resulting Numbers: [4, 54]
Generated Node #0,0,3: 69:[4, 54] Operation: 5+49=54
Moving to Node #0,0,3
Current State: 69:[4, 54], Operations: ['92-88=4', '5+49=54']
Exploring Operation: 4+54=58, Resulting Numbers: [58]
58,69 unequal: No Solution
Exploring Operation: 4*54=216, Resulting Numbers: [216]
216,69 unequal: No Solution
Exploring Operation: 54-4=50, Resulting Numbers: [50]
50,69 unequal: No Solution
Moving to Node #0,0,1
Current State: 69:[5, 53], Operations: ['92-88=4', '49+4=53']
Exploring Operation: 53-5=48, Resulting Numbers: [48]
48,69 unequal: No Solution
Exploring Operation: 5+53=58, Resulting Numbers: [58]
58,69 unequal: No Solution
Exploring Operation: 5*53=265, Resulting Numbers: [265]
265,69 unequal: No Solution
Moving to Node #0,0,2
Current State: 69:[49, 1], Operations: ['92-88=4', '5-4=1']
Exploring Operation: 49-1=48, Resulting Numbers: [48]
48,69 unequal: No Solution
Exploring Operation: 49/1=49, Resulting Numbers: [49]
49,69 unequal: No Solution
Exploring Operation: 49+1=50, Resulting Numbers: [50]
50,69 unequal: No Solution
Exploring Operation: 49*1=49, Resulting Numbers: [49]
49,69 unequal: No Solution
Moving to Node #0,0,0
Current State: 69:[4, 44], Operations: ['92-88=4', '49-5=44']
Exploring Operation: 4+44=48, Resulting Numbers: [48]
48,69 unequal: No Solution
Exploring Operation: 4*44=176, Resulting Numbers: [176]
176,69 unequal: No Solution
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,69 unequal: No Solution
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,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,2
Current State: 69:[5, 92, 39], Operations: ['88-49=39']
Exploring Operation: 5+92=97, Resulting Numbers: [39, 97]
Generated Node #0,2,0: 69:[39, 97] Operation: 5+92=97
Exploring Operation: 92-5=87, Resulting Numbers: [39, 87]
Generated Node #0,2,1: 69:[39, 87] Operation: 92-5=87
Exploring Operation: 39-5=34, Resulting Numbers: [92, 34]
Generated Node #0,2,2: 69:[92, 34] Operation: 39-5=34
Exploring Operation: 92-39=53, Resulting Numbers: [5, 53]
Generated Node #0,2,3: 69:[5, 53] Operation: 92-39=53
Moving to Node #0,2,3
Current State: 69:[5, 53], Operations: ['88-49=39', '92-39=53']
Exploring Operation: 5*53=265, Resulting Numbers: [265]
265,69 unequal: No Solution
Exploring Operation: 53-5=48, Resulting Numbers: [48]
48,69 unequal: No Solution
Exploring Operation: 5+53=58, Resulting Numbers: [58]
58,69 unequal: No Solution
Moving to Node #0,2,2
Current State: 69:[92, 34], Operations: ['88-49=39', '39-5=34']
Exploring Operation: 92*34=3128, Resulting Numbers: [3128]
3128,69 unequal: No Solution
Exploring Operation: 92+34=126, Resulting Numbers: [126]
126,69 unequal: No Solution
Exploring Operation: 92-34=58, Resulting Numbers: [58]
58,69 unequal: No Solution
Moving to Node #0,2,1
Current State: 69:[39, 87], Operations: ['88-49=39', '92-5=87']
Exploring Operation: 39*87=3393, Resulting Numbers: [3393]
3393,69 unequal: No Solution
Exploring Operation: 39+87=126, Resulting Numbers: [126]
126,69 unequal: No Solution
Exploring Operation: 87-39=48, Resulting Numbers: [48]
48,69 unequal: No Solution
Moving to Node #0,2,0
Current State: 69:[39, 97], Operations: ['88-49=39', '5+92=97']
Exploring Operation: 39+97=136, Resulting Numbers: [136]
136,69 unequal: No Solution
Exploring Operation: 39*97=3783, Resulting Numbers: [3783]
3783,69 unequal: No Solution
Exploring Operation: 97-39=58, Resulting Numbers: [58]
58,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 69:[5, 88, 43], Operations: ['92-49=43']
Exploring Operation: 88-5=83, Resulting Numbers: [43, 83]
Generated Node #0,3,0: 69:[43, 83] Operation: 88-5=83
Exploring Operation: 5+43=48, Resulting Numbers: [88, 48]
Generated Node #0,3,1: 69:[88, 48] Operation: 5+43=48
Exploring Operation: 43-5=38, Resulting Numbers: [88, 38]
Generated Node #0,3,2: 69:[88, 38] Operation: 43-5=38
Exploring Operation: 88-43=45, Resulting Numbers: [5, 45]
Generated Node #0,3,3: 69:[5, 45] Operation: 88-43=45
Moving to Node #0,3,3
Current State: 69:[5, 45], Operations: ['92-49=43', '88-43=45']
Exploring Operation: 45-5=40, Resulting Numbers: [40]
40,69 unequal: No Solution
Exploring Operation: 45/5=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Exploring Operation: 5+45=50, Resulting Numbers: [50]
50,69 unequal: No Solution
Exploring Operation: 5*45=225, Resulting Numbers: [225]
225,69 unequal: No Solution
Moving to Node #0,3,2
Current State: 69:[88, 38], Operations: ['92-49=43', '43-5=38']
Exploring Operation: 88*38=3344, Resulting Numbers: [3344]
3344,69 unequal: No Solution
Exploring Operation: 88+38=126, Resulting Numbers: [126]
126,69 unequal: No Solution
Exploring Operation: 88-38=50, Resulting Numbers: [50]
50,69 unequal: No Solution
Moving to Node #0,3,0
Current State: 69:[43, 83], Operations: ['92-49=43', '88-5=83']
Exploring Operation: 43*83=3569, Resulting Numbers: [3569]
3569,69 unequal: No Solution
Exploring Operation: 43+83=126, Resulting Numbers: [126]
126,69 unequal: No Solution
Exploring Operation: 83-43=40, Resulting Numbers: [40]
40,69 unequal: No Solution
Moving to Node #0,3,1
Current State: 69:[88, 48], Operations: ['92-49=43', '5+43=48']
Exploring Operation: 88-48=40, Resulting Numbers: [40]
40,69 unequal: No Solution
Exploring Operation: 88+48=136, Resulting Numbers: [136]
136,69 unequal: No Solution
Exploring Operation: 88*48=4224, Resulting Numbers: [4224]
4224,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[49, 88, 87], Operations: ['92-5=87']
Exploring Operation: 88-49=39, Resulting Numbers: [87, 39]
Generated Node #0,1,0: 69:[87, 39] Operation: 88-49=39
Exploring Operation: 88-87=1, Resulting Numbers: [49, 1]
Generated Node #0,1,1: 69:[49, 1] Operation: 88-87=1
Exploring Operation: 87-49=38, Resulting Numbers: [88, 38]
Generated Node #0,1,2: 69:[88, 38] Operation: 87-49=38
Exploring Operation: 49+88=137, Resulting Numbers: [87, 137]
Generated Node #0,1,3: 69:[87, 137] Operation: 49+88=137
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 69:[49, 1], Operations: ['92-5=87', '88-87=1']
Exploring Operation: 49-1=48, Resulting Numbers: [48]
48,69 unequal: No Solution
Exploring Operation: 49+1=50, Resulting Numbers: [50]
50,69 unequal: No Solution
Exploring Operation: 49*1=49, Resulting Numbers: [49]
49,69 unequal: No Solution
Exploring Operation: 49/1=49, Resulting Numbers: [49]
49,69 unequal: No Solution
No 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: 69:[87, 39], Operations: ['92-5=87', '88-49=39']
Exploring Operation: 87*39=3393, Resulting Numbers: [3393]
3393,69 unequal: No Solution
Exploring Operation: 87-39=48, Resulting Numbers: [48]
48,69 unequal: No Solution
Exploring Operation: 87+39=126, Resulting Numbers: [126]
126,69 unequal: No Solution
No 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: 69:[88, 38], Operations: ['92-5=87', '87-49=38']
Exploring Operation: 88+38=126, Resulting Numbers: [126]
126,69 unequal: No Solution
Exploring Operation: 88*38=3344, Resulting Numbers: [3344]
3344,69 unequal: No Solution
Exploring Operation: 88-38=50, Resulting Numbers: [50]
50,69 unequal: No Solution
No 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: 69:[87, 137], Operations: ['92-5=87', '49+88=137']
Exploring Operation: 87+137=224, Resulting Numbers: [224]
224,69 unequal: No Solution
Exploring Operation: 87*137=11919, Resulting Numbers: [11919]
11919,69 unequal: No Solution
Exploring Operation: 137-87=50, Resulting Numbers: [50]
50,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
57,
45,
78,
63
] | 15 | [
"78-57=21",
"45*21=945",
"945/63=15"
] | Current State: 15:[57, 45, 78, 63], Operations: []
Exploring Operation: 78-57=21, Resulting Numbers: [45, 63, 21]
Generated Node #2: [45, 63, 21] from Operation: 78-57=21
Current State: 15:[45, 63, 21], Operations: ['78-57=21']
Exploring Operation: 45*21=945, Resulting Numbers: [63, 945]
Generated Node #3: [63, 945] from Operation: 45*21=945
Current State: 15:[63, 945], Operations: ['78-57=21', '45*21=945']
Exploring Operation: 945/63=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[57, 45, 78, 63], Operations: []
Exploring Operation: 78-45=33, Resulting Numbers: [57, 63, 33]
Generated Node #0,0: 15:[57, 63, 33] Operation: 78-45=33
Exploring Operation: 78-63=15, Resulting Numbers: [57, 45, 15]
Generated Node #0,1: 15:[57, 45, 15] Operation: 78-63=15
Exploring Operation: 63-57=6, Resulting Numbers: [45, 78, 6]
Generated Node #0,2: 15:[45, 78, 6] Operation: 63-57=6
Exploring Operation: 78-57=21, Resulting Numbers: [45, 63, 21]
Generated Node #0,3: 15:[45, 63, 21] Operation: 78-57=21
Exploring Operation: 63-45=18, Resulting Numbers: [57, 78, 18]
Generated Node #0,4: 15:[57, 78, 18] Operation: 63-45=18
Start Sub Search at level 1: Moving to Node #0,1
Current State: 15:[57, 45, 15], Operations: ['78-63=15']
Exploring Operation: 45/15=3, Resulting Numbers: [57, 3]
Generated Node #0,1,0: 15:[57, 3] Operation: 45/15=3
Exploring Operation: 57-15=42, Resulting Numbers: [45, 42]
Generated Node #0,1,1: 15:[45, 42] Operation: 57-15=42
Exploring Operation: 57-45=12, Resulting Numbers: [15, 12]
Generated Node #0,1,2: 15:[15, 12] Operation: 57-45=12
Exploring Operation: 45-15=30, Resulting Numbers: [57, 30]
Generated Node #0,1,3: 15:[57, 30] Operation: 45-15=30
Exploring Operation: 57+45=102, Resulting Numbers: [15, 102]
Generated Node #0,1,4: 15:[15, 102] Operation: 57+45=102
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 15:[15, 12], Operations: ['78-63=15', '57-45=12']
Exploring Operation: 15+12=27, Resulting Numbers: [27]
27,15 unequal: No Solution
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Exploring Operation: 15*12=180, Resulting Numbers: [180]
180,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,1,0
Current State: 15:[57, 3], Operations: ['78-63=15', '45/15=3']
Exploring Operation: 57*3=171, Resulting Numbers: [171]
171,15 unequal: No Solution
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,15 unequal: No Solution
Exploring Operation: 57+3=60, Resulting Numbers: [60]
60,15 unequal: No Solution
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,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,1,1
Current State: 15:[45, 42], Operations: ['78-63=15', '57-15=42']
Exploring Operation: 45-42=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Exploring Operation: 45*42=1890, Resulting Numbers: [1890]
1890,15 unequal: No Solution
Exploring Operation: 45+42=87, Resulting Numbers: [87]
87,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,1,3
Current State: 15:[57, 30], Operations: ['78-63=15', '45-15=30']
Exploring Operation: 57+30=87, Resulting Numbers: [87]
87,15 unequal: No Solution
Exploring Operation: 57*30=1710, Resulting Numbers: [1710]
1710,15 unequal: No Solution
Exploring Operation: 57-30=27, Resulting Numbers: [27]
27,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,1,4
Current State: 15:[15, 102], Operations: ['78-63=15', '57+45=102']
Exploring Operation: 15+102=117, Resulting Numbers: [117]
117,15 unequal: No Solution
Exploring Operation: 15*102=1530, Resulting Numbers: [1530]
1530,15 unequal: No Solution
Exploring Operation: 102-15=87, Resulting Numbers: [87]
87,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,3
Current State: 15:[45, 63, 21], Operations: ['78-57=21']
Exploring Operation: 45-21=24, Resulting Numbers: [63, 24]
Generated Node #0,3,0: 15:[63, 24] Operation: 45-21=24
Exploring Operation: 45+63=108, Resulting Numbers: [21, 108]
Generated Node #0,3,1: 15:[21, 108] Operation: 45+63=108
Exploring Operation: 63-21=42, Resulting Numbers: [45, 42]
Generated Node #0,3,2: 15:[45, 42] Operation: 63-21=42
Exploring Operation: 63/21=3, Resulting Numbers: [45, 3]
Generated Node #0,3,3: 15:[45, 3] Operation: 63/21=3
Exploring Operation: 63-45=18, Resulting Numbers: [21, 18]
Generated Node #0,3,4: 15:[21, 18] Operation: 63-45=18
Moving to Node #0,3,4
Current State: 15:[21, 18], Operations: ['78-57=21', '63-45=18']
Exploring Operation: 21+18=39, Resulting Numbers: [39]
39,15 unequal: No Solution
Exploring Operation: 21-18=3, Resulting Numbers: [3]
3,15 unequal: No Solution
Exploring Operation: 21*18=378, Resulting Numbers: [378]
378,15 unequal: No Solution
Moving to Node #0,3,3
Current State: 15:[45, 3], Operations: ['78-57=21', '63/21=3']
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,15 unequal: No Solution
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[57, 45, 78, 63], Operations: []
Exploring Operation: 78-57=21, Resulting Numbers: [45, 63, 21]
Generated Node #0,3: 15:[45, 63, 21] Operation: 78-57=21
Moving to Node #0,3
Current State: 15:[45, 63, 21], Operations: ['78-57=21']
Exploring Operation: 63/21=3, Resulting Numbers: [45, 3]
Generated Node #0,3,3: 15:[45, 3] Operation: 63/21=3
Moving to Node #0,3,3
Current State: 15:[45, 3], Operations: ['78-57=21', '63/21=3']
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.965278 | hs_5 | mult_heuristic |
[
33,
79,
40,
35
] | 99 | [
"35-33=2",
"40/2=20",
"79+20=99"
] | Current State: 99:[33, 79, 40, 35], Operations: []
Exploring Operation: 35-33=2, Resulting Numbers: [79, 40, 2]
Generated Node #2: [79, 40, 2] from Operation: 35-33=2
Current State: 99:[79, 40, 2], Operations: ['35-33=2']
Exploring Operation: 40/2=20, Resulting Numbers: [79, 20]
Generated Node #3: [79, 20] from Operation: 40/2=20
Current State: 99:[79, 20], Operations: ['35-33=2', '40/2=20']
Exploring Operation: 79+20=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[33, 79, 40, 35], Operations: []
Exploring Operation: 79-35=44, Resulting Numbers: [33, 40, 44]
Generated Node #0,0: 99:[33, 40, 44] Operation: 79-35=44
Exploring Operation: 33+79=112, Resulting Numbers: [40, 35, 112]
Generated Node #0,1: 99:[40, 35, 112] Operation: 33+79=112
Exploring Operation: 79-40=39, Resulting Numbers: [33, 35, 39]
Generated Node #0,2: 99:[33, 35, 39] Operation: 79-40=39
Start Sub Search at level 1: Moving to Node #0,2
Current State: 99:[33, 35, 39], Operations: ['79-40=39']
Exploring Operation: 39-33=6, Resulting Numbers: [35, 6]
Generated Node #0,2,0: 99:[35, 6] Operation: 39-33=6
Exploring Operation: 39-35=4, Resulting Numbers: [33, 4]
Generated Node #0,2,1: 99:[33, 4] Operation: 39-35=4
Exploring Operation: 35-33=2, Resulting Numbers: [39, 2]
Generated Node #0,2,2: 99:[39, 2] Operation: 35-33=2
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 99:[33, 4], Operations: ['79-40=39', '39-35=4']
Exploring Operation: 33*4=132, Resulting Numbers: [132]
132,99 unequal: No Solution
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,99 unequal: No Solution
Exploring Operation: 33+4=37, Resulting Numbers: [37]
37,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,2,0
Current State: 99:[35, 6], Operations: ['79-40=39', '39-33=6']
Exploring Operation: 35*6=210, Resulting Numbers: [210]
210,99 unequal: No Solution
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,99 unequal: No Solution
Exploring Operation: 35+6=41, Resulting Numbers: [41]
41,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,2,2
Current State: 99:[39, 2], Operations: ['79-40=39', '35-33=2']
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,99 unequal: No Solution
Exploring Operation: 39*2=78, Resulting Numbers: [78]
78,99 unequal: No Solution
Exploring Operation: 39+2=41, Resulting Numbers: [41]
41,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,0
Current State: 99:[33, 40, 44], Operations: ['79-35=44']
Exploring Operation: 44-33=11, Resulting Numbers: [40, 11]
Generated Node #0,0,0: 99:[40, 11] Operation: 44-33=11
Exploring Operation: 40-33=7, Resulting Numbers: [44, 7]
Generated Node #0,0,1: 99:[44, 7] Operation: 40-33=7
Exploring Operation: 44-40=4, Resulting Numbers: [33, 4]
Generated Node #0,0,2: 99:[33, 4] Operation: 44-40=4
Moving to Node #0,0,2
Current State: 99:[33, 4], Operations: ['79-35=44', '44-40=4']
Exploring Operation: 33*4=132, Resulting Numbers: [132]
132,99 unequal: No Solution
Exploring Operation: 33+4=37, Resulting Numbers: [37]
37,99 unequal: No Solution
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,99 unequal: No Solution
Moving to Node #0,0,0
Current State: 99:[40, 11], Operations: ['79-35=44', '44-33=11']
Exploring Operation: 40+11=51, Resulting Numbers: [51]
51,99 unequal: No Solution
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,99 unequal: No Solution
Exploring Operation: 40*11=440, Resulting Numbers: [440]
440,99 unequal: No Solution
Moving to Node #0,0,1
Current State: 99:[44, 7], Operations: ['79-35=44', '40-33=7']
Exploring Operation: 44*7=308, Resulting Numbers: [308]
308,99 unequal: No Solution
Exploring Operation: 44-7=37, Resulting Numbers: [37]
37,99 unequal: No Solution
Exploring Operation: 44+7=51, Resulting Numbers: [51]
51,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[40, 35, 112], Operations: ['33+79=112']
Exploring Operation: 112-40=72, Resulting Numbers: [35, 72]
Generated Node #0,1,0: 99:[35, 72] Operation: 112-40=72
Exploring Operation: 112-35=77, Resulting Numbers: [40, 77]
Generated Node #0,1,1: 99:[40, 77] Operation: 112-35=77
Exploring Operation: 40-35=5, Resulting Numbers: [112, 5]
Generated Node #0,1,2: 99:[112, 5] Operation: 40-35=5
Moving to Node #0,1,2
Current State: 99:[112, 5], Operations: ['33+79=112', '40-35=5']
Exploring Operation: 112*5=560, Resulting Numbers: [560]
560,99 unequal: No Solution
Exploring Operation: 112-5=107, Resulting Numbers: [107]
107,99 unequal: No Solution
Exploring Operation: 112+5=117, Resulting Numbers: [117]
117,99 unequal: No Solution
Moving to Node #0,1,0
Current State: 99:[35, 72], Operations: ['33+79=112', '112-40=72']
Exploring Operation: 35*72=2520, Resulting Numbers: [2520]
2520,99 unequal: No Solution
Exploring Operation: 72-35=37, Resulting Numbers: [37]
37,99 unequal: No Solution
Exploring Operation: 35+72=107, Resulting Numbers: [107]
107,99 unequal: No Solution
Moving to Node #0,1,1
Current State: 99:[40, 77], Operations: ['33+79=112', '112-35=77']
Exploring Operation: 77-40=37, Resulting Numbers: [37]
37,99 unequal: No Solution
Exploring Operation: 40*77=3080, Resulting Numbers: [3080]
3080,99 unequal: No Solution
Exploring Operation: 40+77=117, Resulting Numbers: [117]
117,99 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 |
[
2,
60,
12,
58
] | 43 | [
"58/2=29",
"60+12=72",
"72-29=43"
] | Current State: 43:[2, 60, 12, 58], Operations: []
Exploring Operation: 58/2=29, Resulting Numbers: [60, 12, 29]
Generated Node #2: [60, 12, 29] from Operation: 58/2=29
Current State: 43:[60, 12, 29], Operations: ['58/2=29']
Exploring Operation: 60+12=72, Resulting Numbers: [29, 72]
Generated Node #3: [29, 72] from Operation: 60+12=72
Current State: 43:[29, 72], Operations: ['58/2=29', '60+12=72']
Exploring Operation: 72-29=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[2, 60, 12, 58], Operations: []
Exploring Operation: 2*12=24, Resulting Numbers: [60, 58, 24]
Generated Node #0,0: 43:[60, 58, 24] Operation: 2*12=24
Exploring Operation: 60-2=58, Resulting Numbers: [12, 58, 58]
Generated Node #0,1: 43:[12, 58, 58] Operation: 60-2=58
Exploring Operation: 60/2=30, Resulting Numbers: [12, 58, 30]
Generated Node #0,2: 43:[12, 58, 30] Operation: 60/2=30
Exploring Operation: 2+12=14, Resulting Numbers: [60, 58, 14]
Generated Node #0,3: 43:[60, 58, 14] Operation: 2+12=14
Exploring Operation: 58-2=56, Resulting Numbers: [60, 12, 56]
Generated Node #0,4: 43:[60, 12, 56] Operation: 58-2=56
Moving to Node #0,0
Current State: 43:[60, 58, 24], Operations: ['2*12=24']
Exploring Operation: 58+24=82, Resulting Numbers: [60, 82]
Generated Node #0,0,0: 43:[60, 82] Operation: 58+24=82
Exploring Operation: 60-58=2, Resulting Numbers: [24, 2]
Generated Node #0,0,1: 43:[24, 2] Operation: 60-58=2
Exploring Operation: 60-24=36, Resulting Numbers: [58, 36]
Generated Node #0,0,2: 43:[58, 36] Operation: 60-24=36
Exploring Operation: 60+24=84, Resulting Numbers: [58, 84]
Generated Node #0,0,3: 43:[58, 84] Operation: 60+24=84
Exploring Operation: 58-24=34, Resulting Numbers: [60, 34]
Generated Node #0,0,4: 43:[60, 34] Operation: 58-24=34
Moving to Node #0,2
Current State: 43:[12, 58, 30], Operations: ['60/2=30']
Exploring Operation: 58-12=46, Resulting Numbers: [30, 46]
Generated Node #0,2,0: 43:[30, 46] Operation: 58-12=46
Exploring Operation: 12+30=42, Resulting Numbers: [58, 42]
Generated Node #0,2,1: 43:[58, 42] Operation: 12+30=42
Exploring Operation: 30-12=18, Resulting Numbers: [58, 18]
Generated Node #0,2,2: 43:[58, 18] Operation: 30-12=18
Exploring Operation: 12+58=70, Resulting Numbers: [30, 70]
Generated Node #0,2,3: 43:[30, 70] Operation: 12+58=70
Exploring Operation: 58-30=28, Resulting Numbers: [12, 28]
Generated Node #0,2,4: 43:[12, 28] Operation: 58-30=28
Moving to Node #0,1
Current State: 43:[12, 58, 58], Operations: ['60-2=58']
Exploring Operation: 58/58=1, Resulting Numbers: [12, 1]
Generated Node #0,1,0: 43:[12, 1] Operation: 58/58=1
Exploring Operation: 58-12=46, Resulting Numbers: [58, 46]
Generated Node #0,1,1: 43:[58, 46] Operation: 58-12=46
Exploring Operation: 58-12=46, Resulting Numbers: [58, 46]
Generated Node #0,1,2: 43:[58, 46] Operation: 58-12=46
Exploring Operation: 12+58=70, Resulting Numbers: [58, 70]
Generated Node #0,1,3: 43:[58, 70] Operation: 12+58=70
Exploring Operation: 12+58=70, Resulting Numbers: [58, 70]
Generated Node #0,1,4: 43:[58, 70] Operation: 12+58=70
Moving to Node #0,3
Current State: 43:[60, 58, 14], Operations: ['2+12=14']
Exploring Operation: 58+14=72, Resulting Numbers: [60, 72]
Generated Node #0,3,0: 43:[60, 72] Operation: 58+14=72
Exploring Operation: 58-14=44, Resulting Numbers: [60, 44]
Generated Node #0,3,1: 43:[60, 44] Operation: 58-14=44
Exploring Operation: 60-14=46, Resulting Numbers: [58, 46]
Generated Node #0,3,2: 43:[58, 46] Operation: 60-14=46
Exploring Operation: 60-58=2, Resulting Numbers: [14, 2]
Generated Node #0,3,3: 43:[14, 2] Operation: 60-58=2
Exploring Operation: 60+14=74, Resulting Numbers: [58, 74]
Generated Node #0,3,4: 43:[58, 74] Operation: 60+14=74
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 43:[60, 44], Operations: ['2+12=14', '58-14=44']
Exploring Operation: 60-44=16, Resulting Numbers: [16]
16,43 unequal: No Solution
Exploring Operation: 60+44=104, Resulting Numbers: [104]
104,43 unequal: No Solution
Exploring Operation: 60*44=2640, Resulting Numbers: [2640]
2640,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 43:[58, 46], Operations: ['2+12=14', '60-14=46']
Exploring Operation: 58+46=104, Resulting Numbers: [104]
104,43 unequal: No Solution
Exploring Operation: 58*46=2668, Resulting Numbers: [2668]
2668,43 unequal: No Solution
Exploring Operation: 58-46=12, Resulting Numbers: [12]
12,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 43:[60, 72], Operations: ['2+12=14', '58+14=72']
Exploring Operation: 60*72=4320, Resulting Numbers: [4320]
4320,43 unequal: No Solution
Exploring Operation: 60+72=132, Resulting Numbers: [132]
132,43 unequal: No Solution
Exploring Operation: 72-60=12, Resulting Numbers: [12]
12,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 43:[58, 74], Operations: ['2+12=14', '60+14=74']
Exploring Operation: 74-58=16, Resulting Numbers: [16]
16,43 unequal: No Solution
Exploring Operation: 58+74=132, Resulting Numbers: [132]
132,43 unequal: No Solution
Exploring Operation: 58*74=4292, Resulting Numbers: [4292]
4292,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 43:[14, 2], Operations: ['2+12=14', '60-58=2']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,43 unequal: No Solution
Exploring Operation: 14*2=28, Resulting Numbers: [28]
28,43 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,43 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: 43:[60, 12, 56], Operations: ['58-2=56']
Exploring Operation: 60/12=5, Resulting Numbers: [56, 5]
Generated Node #0,4,0: 43:[56, 5] Operation: 60/12=5
Exploring Operation: 60+12=72, Resulting Numbers: [56, 72]
Generated Node #0,4,1: 43:[56, 72] Operation: 60+12=72
Exploring Operation: 56-12=44, Resulting Numbers: [60, 44]
Generated Node #0,4,2: 43:[60, 44] Operation: 56-12=44
Exploring Operation: 12+56=68, Resulting Numbers: [60, 68]
Generated Node #0,4,3: 43:[60, 68] Operation: 12+56=68
Exploring Operation: 60-12=48, Resulting Numbers: [56, 48]
Generated Node #0,4,4: 43:[56, 48] Operation: 60-12=48
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 43:[60, 44], Operations: ['58-2=56', '56-12=44']
Exploring Operation: 60*44=2640, Resulting Numbers: [2640]
2640,43 unequal: No Solution
Exploring Operation: 60-44=16, Resulting Numbers: [16]
16,43 unequal: No Solution
Exploring Operation: 60+44=104, Resulting Numbers: [104]
104,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 43:[56, 48], Operations: ['58-2=56', '60-12=48']
Exploring Operation: 56-48=8, Resulting Numbers: [8]
8,43 unequal: No Solution
Exploring Operation: 56+48=104, Resulting Numbers: [104]
104,43 unequal: No Solution
Exploring Operation: 56*48=2688, Resulting Numbers: [2688]
2688,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 43:[56, 72], Operations: ['58-2=56', '60+12=72']
Exploring Operation: 56*72=4032, Resulting Numbers: [4032]
4032,43 unequal: No Solution
Exploring Operation: 72-56=16, Resulting Numbers: [16]
16,43 unequal: No Solution
Exploring Operation: 56+72=128, Resulting Numbers: [128]
128,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 43:[60, 68], Operations: ['58-2=56', '12+56=68']
Exploring Operation: 60+68=128, Resulting Numbers: [128]
128,43 unequal: No Solution
Exploring Operation: 68-60=8, Resulting Numbers: [8]
8,43 unequal: No Solution
Exploring Operation: 60*68=4080, Resulting Numbers: [4080]
4080,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 43:[56, 5], Operations: ['58-2=56', '60/12=5']
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,43 unequal: No Solution
Exploring Operation: 56+5=61, Resulting Numbers: [61]
61,43 unequal: No Solution
Exploring Operation: 56*5=280, Resulting Numbers: [280]
280,43 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: 43:[30, 46], Operations: ['60/2=30', '58-12=46']
Exploring Operation: 30*46=1380, Resulting Numbers: [1380]
1380,43 unequal: No Solution
Exploring Operation: 46-30=16, Resulting Numbers: [16]
16,43 unequal: No Solution
Exploring Operation: 30+46=76, Resulting Numbers: [76]
76,43 unequal: No Solution
Moving to Node #0,2,1
Current State: 43:[58, 42], Operations: ['60/2=30', '12+30=42']
Exploring Operation: 58*42=2436, Resulting Numbers: [2436]
2436,43 unequal: No Solution
Exploring Operation: 58-42=16, Resulting Numbers: [16]
16,43 unequal: No Solution
Exploring Operation: 58+42=100, Resulting Numbers: [100]
100,43 unequal: No Solution
Moving to Node #0,1,2
Current State: 43:[58, 46], Operations: ['60-2=58', '58-12=46']
Exploring Operation: 58+46=104, Resulting Numbers: [104]
104,43 unequal: No Solution
Exploring Operation: 58*46=2668, Resulting Numbers: [2668]
2668,43 unequal: No Solution
Exploring Operation: 58-46=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[58, 46], Operations: ['60-2=58', '58-12=46']
Exploring Operation: 58+46=104, Resulting Numbers: [104]
104,43 unequal: No Solution
Exploring Operation: 58-46=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 58*46=2668, Resulting Numbers: [2668]
2668,43 unequal: No Solution
Moving to Node #0,0,2
Current State: 43:[58, 36], Operations: ['2*12=24', '60-24=36']
Exploring Operation: 58-36=22, Resulting Numbers: [22]
22,43 unequal: No Solution
Exploring Operation: 58+36=94, Resulting Numbers: [94]
94,43 unequal: No Solution
Exploring Operation: 58*36=2088, Resulting Numbers: [2088]
2088,43 unequal: No Solution
Moving to Node #0,0,4
Current State: 43:[60, 34], Operations: ['2*12=24', '58-24=34']
Exploring Operation: 60-34=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 60+34=94, Resulting Numbers: [94]
94,43 unequal: No Solution
Exploring Operation: 60*34=2040, Resulting Numbers: [2040]
2040,43 unequal: No Solution
Moving to Node #0,2,2
Current State: 43:[58, 18], Operations: ['60/2=30', '30-12=18']
Exploring Operation: 58+18=76, Resulting Numbers: [76]
76,43 unequal: No Solution
Exploring Operation: 58-18=40, Resulting Numbers: [40]
40,43 unequal: No Solution
Exploring Operation: 58*18=1044, Resulting Numbers: [1044]
1044,43 unequal: No Solution
Moving to Node #0,2,3
Current State: 43:[30, 70], Operations: ['60/2=30', '12+58=70']
Exploring Operation: 70-30=40, Resulting Numbers: [40]
40,43 unequal: No Solution
Exploring Operation: 30*70=2100, Resulting Numbers: [2100]
2100,43 unequal: No Solution
Exploring Operation: 30+70=100, Resulting Numbers: [100]
100,43 unequal: No Solution
Moving to Node #0,1,4
Current State: 43:[58, 70], Operations: ['60-2=58', '12+58=70']
Exploring Operation: 70-58=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 58+70=128, Resulting Numbers: [128]
128,43 unequal: No Solution
Exploring Operation: 58*70=4060, Resulting Numbers: [4060]
4060,43 unequal: No Solution
Moving to Node #0,1,3
Current State: 43:[58, 70], Operations: ['60-2=58', '12+58=70']
Exploring Operation: 58+70=128, Resulting Numbers: [128]
128,43 unequal: No Solution
Exploring Operation: 70-58=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 58*70=4060, Resulting Numbers: [4060]
4060,43 unequal: No Solution
Moving to Node #0,2,4
Current State: 43:[12, 28], Operations: ['60/2=30', '58-30=28']
Exploring Operation: 12*28=336, Resulting Numbers: [336]
336,43 unequal: No Solution
Exploring Operation: 12+28=40, Resulting Numbers: [40]
40,43 unequal: No Solution
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,43 unequal: No Solution
Moving to Node #0,0,0
Current State: 43:[60, 82], Operations: ['2*12=24', '58+24=82']
Exploring Operation: 60*82=4920, Resulting Numbers: [4920]
4920,43 unequal: No Solution
Exploring Operation: 82-60=22, Resulting Numbers: [22]
22,43 unequal: No Solution
Exploring Operation: 60+82=142, Resulting Numbers: [142]
142,43 unequal: No Solution
Moving to Node #0,0,3
Current State: 43:[58, 84], Operations: ['2*12=24', '60+24=84']
Exploring Operation: 58+84=142, Resulting Numbers: [142]
142,43 unequal: No Solution
Exploring Operation: 58*84=4872, Resulting Numbers: [4872]
4872,43 unequal: No Solution
Exploring Operation: 84-58=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[24, 2], Operations: ['2*12=24', '60-58=2']
Exploring Operation: 24+2=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 24-2=22, Resulting Numbers: [22]
22,43 unequal: No Solution
Exploring Operation: 24*2=48, Resulting Numbers: [48]
48,43 unequal: No Solution
Moving to Node #0,1,0
Current State: 43:[12, 1], Operations: ['60-2=58', '58/58=1']
Exploring Operation: 12+1=13, Resulting Numbers: [13]
13,43 unequal: No Solution
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 12*1=12, Resulting Numbers: [12]
12,43 unequal: No Solution
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,43 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
34,
94,
36,
53
] | 47 | [
"53-36=17",
"34/17=2",
"94/2=47"
] | Current State: 47:[34, 94, 36, 53], Operations: []
Exploring Operation: 53-36=17, Resulting Numbers: [34, 94, 17]
Generated Node #2: [34, 94, 17] from Operation: 53-36=17
Current State: 47:[34, 94, 17], Operations: ['53-36=17']
Exploring Operation: 34/17=2, Resulting Numbers: [94, 2]
Generated Node #3: [94, 2] from Operation: 34/17=2
Current State: 47:[94, 2], Operations: ['53-36=17', '34/17=2']
Exploring Operation: 94/2=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[34, 94, 36, 53], Operations: []
Exploring Operation: 53-34=19, Resulting Numbers: [94, 36, 19]
Generated Node #0,0: 47:[94, 36, 19] Operation: 53-34=19
Exploring Operation: 94-53=41, Resulting Numbers: [34, 36, 41]
Generated Node #0,1: 47:[34, 36, 41] Operation: 94-53=41
Exploring Operation: 94-34=60, Resulting Numbers: [36, 53, 60]
Generated Node #0,2: 47:[36, 53, 60] Operation: 94-34=60
Exploring Operation: 34+36=70, Resulting Numbers: [94, 53, 70]
Generated Node #0,3: 47:[94, 53, 70] Operation: 34+36=70
Exploring Operation: 94-36=58, Resulting Numbers: [34, 53, 58]
Generated Node #0,4: 47:[34, 53, 58] Operation: 94-36=58
Moving to Node #0,1
Current State: 47:[34, 36, 41], Operations: ['94-53=41']
Exploring Operation: 36-34=2, Resulting Numbers: [41, 2]
Generated Node #0,1,0: 47:[41, 2] Operation: 36-34=2
Exploring Operation: 36+41=77, Resulting Numbers: [34, 77]
Generated Node #0,1,1: 47:[34, 77] Operation: 36+41=77
Exploring Operation: 34+41=75, Resulting Numbers: [36, 75]
Generated Node #0,1,2: 47:[36, 75] Operation: 34+41=75
Exploring Operation: 41-34=7, Resulting Numbers: [36, 7]
Generated Node #0,1,3: 47:[36, 7] Operation: 41-34=7
Exploring Operation: 34+36=70, Resulting Numbers: [41, 70]
Generated Node #0,1,4: 47:[41, 70] Operation: 34+36=70
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 47:[41, 70], Operations: ['94-53=41', '34+36=70']
Exploring Operation: 41*70=2870, Resulting Numbers: [2870]
2870,47 unequal: No Solution
Exploring Operation: 41+70=111, Resulting Numbers: [111]
111,47 unequal: No Solution
Exploring Operation: 70-41=29, Resulting Numbers: [29]
29,47 unequal: No Solution
No 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: 47:[36, 75], Operations: ['94-53=41', '34+41=75']
Exploring Operation: 36+75=111, Resulting Numbers: [111]
111,47 unequal: No Solution
Exploring Operation: 75-36=39, Resulting Numbers: [39]
39,47 unequal: No Solution
Exploring Operation: 36*75=2700, Resulting Numbers: [2700]
2700,47 unequal: No Solution
No 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: 47:[34, 77], Operations: ['94-53=41', '36+41=77']
Exploring Operation: 34+77=111, Resulting Numbers: [111]
111,47 unequal: No Solution
Exploring Operation: 77-34=43, Resulting Numbers: [43]
43,47 unequal: No Solution
Exploring Operation: 34*77=2618, Resulting Numbers: [2618]
2618,47 unequal: No Solution
No 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: 47:[41, 2], Operations: ['94-53=41', '36-34=2']
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,47 unequal: No Solution
Exploring Operation: 41+2=43, Resulting Numbers: [43]
43,47 unequal: No Solution
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,47 unequal: No Solution
No 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: 47:[36, 7], Operations: ['94-53=41', '41-34=7']
Exploring Operation: 36+7=43, Resulting Numbers: [43]
43,47 unequal: No Solution
Exploring Operation: 36*7=252, Resulting Numbers: [252]
252,47 unequal: No Solution
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,47 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: 47:[34, 53, 58], Operations: ['94-36=58']
Exploring Operation: 34+53=87, Resulting Numbers: [58, 87]
Generated Node #0,4,0: 47:[58, 87] Operation: 34+53=87
Exploring Operation: 34+58=92, Resulting Numbers: [53, 92]
Generated Node #0,4,1: 47:[53, 92] Operation: 34+58=92
Exploring Operation: 58-34=24, Resulting Numbers: [53, 24]
Generated Node #0,4,2: 47:[53, 24] Operation: 58-34=24
Exploring Operation: 53-34=19, Resulting Numbers: [58, 19]
Generated Node #0,4,3: 47:[58, 19] Operation: 53-34=19
Exploring Operation: 58-53=5, Resulting Numbers: [34, 5]
Generated Node #0,4,4: 47:[34, 5] Operation: 58-53=5
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 47:[53, 24], Operations: ['94-36=58', '58-34=24']
Exploring Operation: 53+24=77, Resulting Numbers: [77]
77,47 unequal: No Solution
Exploring Operation: 53-24=29, Resulting Numbers: [29]
29,47 unequal: No Solution
Exploring Operation: 53*24=1272, Resulting Numbers: [1272]
1272,47 unequal: No Solution
No 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: 47:[58, 19], Operations: ['94-36=58', '53-34=19']
Exploring Operation: 58-19=39, Resulting Numbers: [39]
39,47 unequal: No Solution
Exploring Operation: 58+19=77, Resulting Numbers: [77]
77,47 unequal: No Solution
Exploring Operation: 58*19=1102, Resulting Numbers: [1102]
1102,47 unequal: No Solution
No 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: 47:[58, 87], Operations: ['94-36=58', '34+53=87']
Exploring Operation: 58*87=5046, Resulting Numbers: [5046]
5046,47 unequal: No Solution
Exploring Operation: 58+87=145, Resulting Numbers: [145]
145,47 unequal: No Solution
Exploring Operation: 87-58=29, Resulting Numbers: [29]
29,47 unequal: No Solution
No 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: 47:[53, 92], Operations: ['94-36=58', '34+58=92']
Exploring Operation: 53*92=4876, Resulting Numbers: [4876]
4876,47 unequal: No Solution
Exploring Operation: 53+92=145, Resulting Numbers: [145]
145,47 unequal: No Solution
Exploring Operation: 92-53=39, Resulting Numbers: [39]
39,47 unequal: No Solution
No 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: 47:[34, 5], Operations: ['94-36=58', '58-53=5']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,47 unequal: No Solution
Exploring Operation: 34+5=39, Resulting Numbers: [39]
39,47 unequal: No Solution
Exploring Operation: 34*5=170, Resulting Numbers: [170]
170,47 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: 47:[36, 53, 60], Operations: ['94-34=60']
Exploring Operation: 36+60=96, Resulting Numbers: [53, 96]
Generated Node #0,2,0: 47:[53, 96] Operation: 36+60=96
Exploring Operation: 53-36=17, Resulting Numbers: [60, 17]
Generated Node #0,2,1: 47:[60, 17] Operation: 53-36=17
Exploring Operation: 36+53=89, Resulting Numbers: [60, 89]
Generated Node #0,2,2: 47:[60, 89] Operation: 36+53=89
Exploring Operation: 60-53=7, Resulting Numbers: [36, 7]
Generated Node #0,2,3: 47:[36, 7] Operation: 60-53=7
Exploring Operation: 60-36=24, Resulting Numbers: [53, 24]
Generated Node #0,2,4: 47:[53, 24] Operation: 60-36=24
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 47:[53, 24], Operations: ['94-34=60', '60-36=24']
Exploring Operation: 53-24=29, Resulting Numbers: [29]
29,47 unequal: No Solution
Exploring Operation: 53+24=77, Resulting Numbers: [77]
77,47 unequal: No Solution
Exploring Operation: 53*24=1272, Resulting Numbers: [1272]
1272,47 unequal: No Solution
No 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: 47:[60, 17], Operations: ['94-34=60', '53-36=17']
Exploring Operation: 60+17=77, Resulting Numbers: [77]
77,47 unequal: No Solution
Exploring Operation: 60*17=1020, Resulting Numbers: [1020]
1020,47 unequal: No Solution
Exploring Operation: 60-17=43, Resulting Numbers: [43]
43,47 unequal: No Solution
No 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: 47:[36, 7], Operations: ['94-34=60', '60-53=7']
Exploring Operation: 36+7=43, Resulting Numbers: [43]
43,47 unequal: No Solution
Exploring Operation: 36*7=252, Resulting Numbers: [252]
252,47 unequal: No Solution
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,47 unequal: No Solution
No 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: 47:[53, 96], Operations: ['94-34=60', '36+60=96']
Exploring Operation: 96-53=43, Resulting Numbers: [43]
43,47 unequal: No Solution
Exploring Operation: 53*96=5088, Resulting Numbers: [5088]
5088,47 unequal: No Solution
Exploring Operation: 53+96=149, Resulting Numbers: [149]
149,47 unequal: No Solution
No 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: 47:[60, 89], Operations: ['94-34=60', '36+53=89']
Exploring Operation: 89-60=29, Resulting Numbers: [29]
29,47 unequal: No Solution
Exploring Operation: 60*89=5340, Resulting Numbers: [5340]
5340,47 unequal: No Solution
Exploring Operation: 60+89=149, Resulting Numbers: [149]
149,47 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: 47:[94, 53, 70], Operations: ['34+36=70']
Exploring Operation: 94-70=24, Resulting Numbers: [53, 24]
Generated Node #0,3,0: 47:[53, 24] Operation: 94-70=24
Exploring Operation: 94+53=147, Resulting Numbers: [70, 147]
Generated Node #0,3,1: 47:[70, 147] Operation: 94+53=147
Exploring Operation: 94+70=164, Resulting Numbers: [53, 164]
Generated Node #0,3,2: 47:[53, 164] Operation: 94+70=164
Exploring Operation: 70-53=17, Resulting Numbers: [94, 17]
Generated Node #0,3,3: 47:[94, 17] Operation: 70-53=17
Exploring Operation: 94-53=41, Resulting Numbers: [70, 41]
Generated Node #0,3,4: 47:[70, 41] Operation: 94-53=41
Moving to Node #0,0
Current State: 47:[94, 36, 19], Operations: ['53-34=19']
Exploring Operation: 36+19=55, Resulting Numbers: [94, 55]
Generated Node #0,0,0: 47:[94, 55] Operation: 36+19=55
Exploring Operation: 94-36=58, Resulting Numbers: [19, 58]
Generated Node #0,0,1: 47:[19, 58] Operation: 94-36=58
Exploring Operation: 94+19=113, Resulting Numbers: [36, 113]
Generated Node #0,0,2: 47:[36, 113] Operation: 94+19=113
Exploring Operation: 94-19=75, Resulting Numbers: [36, 75]
Generated Node #0,0,3: 47:[36, 75] Operation: 94-19=75
Exploring Operation: 36-19=17, Resulting Numbers: [94, 17]
Generated Node #0,0,4: 47:[94, 17] Operation: 36-19=17
Moving to Node #0,3,0
Current State: 47:[53, 24], Operations: ['34+36=70', '94-70=24']
Exploring Operation: 53+24=77, Resulting Numbers: [77]
77,47 unequal: No Solution
Exploring Operation: 53-24=29, Resulting Numbers: [29]
29,47 unequal: No Solution
Exploring Operation: 53*24=1272, Resulting Numbers: [1272]
1272,47 unequal: No Solution
Moving to Node #0,3,4
Current State: 47:[70, 41], Operations: ['34+36=70', '94-53=41']
Exploring Operation: 70-41=29, Resulting Numbers: [29]
29,47 unequal: No Solution
Exploring Operation: 70*41=2870, Resulting Numbers: [2870]
2870,47 unequal: No Solution
Exploring Operation: 70+41=111, Resulting Numbers: [111]
111,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[19, 58], Operations: ['53-34=19', '94-36=58']
Exploring Operation: 19+58=77, Resulting Numbers: [77]
77,47 unequal: No Solution
Exploring Operation: 58-19=39, Resulting Numbers: [39]
39,47 unequal: No Solution
Exploring Operation: 19*58=1102, Resulting Numbers: [1102]
1102,47 unequal: No Solution
Moving to Node #0,0,3
Current State: 47:[36, 75], Operations: ['53-34=19', '94-19=75']
Exploring Operation: 75-36=39, Resulting Numbers: [39]
39,47 unequal: No Solution
Exploring Operation: 36*75=2700, Resulting Numbers: [2700]
2700,47 unequal: No Solution
Exploring Operation: 36+75=111, Resulting Numbers: [111]
111,47 unequal: No Solution
Moving to Node #0,0,0
Current State: 47:[94, 55], Operations: ['53-34=19', '36+19=55']
Exploring Operation: 94+55=149, Resulting Numbers: [149]
149,47 unequal: No Solution
Exploring Operation: 94*55=5170, Resulting Numbers: [5170]
5170,47 unequal: No Solution
Exploring Operation: 94-55=39, Resulting Numbers: [39]
39,47 unequal: No Solution
Moving to Node #0,3,3
Current State: 47:[94, 17], Operations: ['34+36=70', '70-53=17']
Exploring Operation: 94*17=1598, Resulting Numbers: [1598]
1598,47 unequal: No Solution
Exploring Operation: 94+17=111, Resulting Numbers: [111]
111,47 unequal: No Solution
Exploring Operation: 94-17=77, Resulting Numbers: [77]
77,47 unequal: No Solution
Moving to Node #0,0,4
Current State: 47:[94, 17], Operations: ['53-34=19', '36-19=17']
Exploring Operation: 94-17=77, Resulting Numbers: [77]
77,47 unequal: No Solution
Exploring Operation: 94+17=111, Resulting Numbers: [111]
111,47 unequal: No Solution
Exploring Operation: 94*17=1598, Resulting Numbers: [1598]
1598,47 unequal: No Solution
Moving to Node #0,0,2
Current State: 47:[36, 113], Operations: ['53-34=19', '94+19=113']
Exploring Operation: 36+113=149, Resulting Numbers: [149]
149,47 unequal: No Solution
Exploring Operation: 113-36=77, Resulting Numbers: [77]
77,47 unequal: No Solution
Exploring Operation: 36*113=4068, Resulting Numbers: [4068]
4068,47 unequal: No Solution
Moving to Node #0,3,2
Current State: 47:[53, 164], Operations: ['34+36=70', '94+70=164']
Exploring Operation: 53+164=217, Resulting Numbers: [217]
217,47 unequal: No Solution
Exploring Operation: 164-53=111, Resulting Numbers: [111]
111,47 unequal: No Solution
Exploring Operation: 53*164=8692, Resulting Numbers: [8692]
8692,47 unequal: No Solution
Moving to Node #0,3,1
Current State: 47:[70, 147], Operations: ['34+36=70', '94+53=147']
Exploring Operation: 147-70=77, Resulting Numbers: [77]
77,47 unequal: No Solution
Exploring Operation: 70+147=217, Resulting Numbers: [217]
217,47 unequal: No Solution
Exploring Operation: 70*147=10290, Resulting Numbers: [10290]
10290,47 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
92,
7,
19,
80
] | 95 | [
"92-7=85",
"85-80=5",
"19*5=95"
] | Current State: 95:[92, 7, 19, 80], Operations: []
Exploring Operation: 92-7=85, Resulting Numbers: [19, 80, 85]
Generated Node #2: [19, 80, 85] from Operation: 92-7=85
Current State: 95:[19, 80, 85], Operations: ['92-7=85']
Exploring Operation: 85-80=5, Resulting Numbers: [19, 5]
Generated Node #3: [19, 5] from Operation: 85-80=5
Current State: 95:[19, 5], Operations: ['92-7=85', '85-80=5']
Exploring Operation: 19*5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[92, 7, 19, 80], Operations: []
Exploring Operation: 92-80=12, Resulting Numbers: [7, 19, 12]
Generated Node #0,0: 95:[7, 19, 12] Operation: 92-80=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[7, 19, 12], Operations: ['92-80=12']
Exploring Operation: 7+12=19, Resulting Numbers: [19, 19]
Generated Node #0,0,0: 95:[19, 19] Operation: 7+12=19
Moving to Node #0,0,0
Current State: 95:[19, 19], Operations: ['92-80=12', '7+12=19']
Exploring Operation: 19/19=1, Resulting Numbers: [1]
1,95 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 |
[
73,
35,
93,
65
] | 10 | [
"73-35=38",
"93-65=28",
"38-28=10"
] | Current State: 10:[73, 35, 93, 65], Operations: []
Exploring Operation: 73-35=38, Resulting Numbers: [93, 65, 38]
Generated Node #2: [93, 65, 38] from Operation: 73-35=38
Current State: 10:[93, 65, 38], Operations: ['73-35=38']
Exploring Operation: 93-65=28, Resulting Numbers: [38, 28]
Generated Node #3: [38, 28] from Operation: 93-65=28
Current State: 10:[38, 28], Operations: ['73-35=38', '93-65=28']
Exploring Operation: 38-28=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[73, 35, 93, 65], Operations: []
Exploring Operation: 73-65=8, Resulting Numbers: [35, 93, 8]
Generated Node #0,0: 10:[35, 93, 8] Operation: 73-65=8
Exploring Operation: 93-73=20, Resulting Numbers: [35, 65, 20]
Generated Node #0,1: 10:[35, 65, 20] Operation: 93-73=20
Exploring Operation: 93-65=28, Resulting Numbers: [73, 35, 28]
Generated Node #0,2: 10:[73, 35, 28] Operation: 93-65=28
Exploring Operation: 93-35=58, Resulting Numbers: [73, 65, 58]
Generated Node #0,3: 10:[73, 65, 58] Operation: 93-35=58
Exploring Operation: 73-35=38, Resulting Numbers: [93, 65, 38]
Generated Node #0,4: 10:[93, 65, 38] Operation: 73-35=38
Moving to Node #0,1
Current State: 10:[35, 65, 20], Operations: ['93-73=20']
Exploring Operation: 35+20=55, Resulting Numbers: [65, 55]
Generated Node #0,1,0: 10:[65, 55] Operation: 35+20=55
Exploring Operation: 35-20=15, Resulting Numbers: [65, 15]
Generated Node #0,1,1: 10:[65, 15] Operation: 35-20=15
Exploring Operation: 65-20=45, Resulting Numbers: [35, 45]
Generated Node #0,1,2: 10:[35, 45] Operation: 65-20=45
Exploring Operation: 65-35=30, Resulting Numbers: [20, 30]
Generated Node #0,1,3: 10:[20, 30] Operation: 65-35=30
Exploring Operation: 35+65=100, Resulting Numbers: [20, 100]
Generated Node #0,1,4: 10:[20, 100] Operation: 35+65=100
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 10:[20, 30], Operations: ['93-73=20', '65-35=30']
Exploring Operation: 20+30=50, Resulting Numbers: [50]
50,10 unequal: No Solution
Exploring Operation: 30-20=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[73, 35, 93, 65], Operations: []
Exploring Operation: 93-73=20, Resulting Numbers: [35, 65, 20]
Generated Node #0,1: 10:[35, 65, 20] Operation: 93-73=20
Moving to Node #0,1
Current State: 10:[35, 65, 20], Operations: ['93-73=20']
Exploring Operation: 65-35=30, Resulting Numbers: [20, 30]
Generated Node #0,1,3: 10:[20, 30] Operation: 65-35=30
Moving to Node #0,1,3
Current State: 10:[20, 30], Operations: ['93-73=20', '65-35=30']
Exploring Operation: 30-20=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
38,
24,
72,
36
] | 12 | [
"38-24=14",
"72/36=2",
"14-2=12"
] | Current State: 12:[38, 24, 72, 36], Operations: []
Exploring Operation: 38-24=14, Resulting Numbers: [72, 36, 14]
Generated Node #2: [72, 36, 14] from Operation: 38-24=14
Current State: 12:[72, 36, 14], Operations: ['38-24=14']
Exploring Operation: 72/36=2, Resulting Numbers: [14, 2]
Generated Node #3: [14, 2] from Operation: 72/36=2
Current State: 12:[14, 2], Operations: ['38-24=14', '72/36=2']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[38, 24, 72, 36], Operations: []
Exploring Operation: 72-38=34, Resulting Numbers: [24, 36, 34]
Generated Node #0,0: 12:[24, 36, 34] Operation: 72-38=34
Exploring Operation: 72/36=2, Resulting Numbers: [38, 24, 2]
Generated Node #0,1: 12:[38, 24, 2] Operation: 72/36=2
Exploring Operation: 72/24=3, Resulting Numbers: [38, 36, 3]
Generated Node #0,2: 12:[38, 36, 3] Operation: 72/24=3
Moving to Node #0,1
Current State: 12:[38, 24, 2], Operations: ['72/36=2']
Exploring Operation: 24/2=12, Resulting Numbers: [38, 12]
Generated Node #0,1,0: 12:[38, 12] Operation: 24/2=12
Exploring Operation: 38-24=14, Resulting Numbers: [2, 14]
Generated Node #0,1,1: 12:[2, 14] Operation: 38-24=14
Exploring Operation: 38/2=19, Resulting Numbers: [24, 19]
Generated Node #0,1,2: 12:[24, 19] Operation: 38/2=19
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 12:[2, 14], Operations: ['72/36=2', '38-24=14']
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,12 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,12 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[38, 24, 72, 36], Operations: []
Exploring Operation: 72/36=2, Resulting Numbers: [38, 24, 2]
Generated Node #0,1: 12:[38, 24, 2] Operation: 72/36=2
Moving to Node #0,1
Current State: 12:[38, 24, 2], Operations: ['72/36=2']
Exploring Operation: 38-24=14, Resulting Numbers: [2, 14]
Generated Node #0,1,1: 12:[2, 14] Operation: 38-24=14
Moving to Node #0,1,1
Current State: 12:[2, 14], Operations: ['72/36=2', '38-24=14']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
56,
14,
30,
22
] | 34 | [
"56-14=42",
"30-22=8",
"42-8=34"
] | Current State: 34:[56, 14, 30, 22], Operations: []
Exploring Operation: 56-14=42, Resulting Numbers: [30, 22, 42]
Generated Node #2: [30, 22, 42] from Operation: 56-14=42
Current State: 34:[30, 22, 42], Operations: ['56-14=42']
Exploring Operation: 30-22=8, Resulting Numbers: [42, 8]
Generated Node #3: [42, 8] from Operation: 30-22=8
Current State: 34:[42, 8], Operations: ['56-14=42', '30-22=8']
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[56, 14, 30, 22], Operations: []
Exploring Operation: 56-22=34, Resulting Numbers: [14, 30, 34]
Generated Node #0,0: 34:[14, 30, 34] Operation: 56-22=34
Moving to Node #0,0
Current State: 34:[14, 30, 34], Operations: ['56-22=34']
Exploring Operation: 30-14=16, Resulting Numbers: [34, 16]
Generated Node #0,0,0: 34:[34, 16] Operation: 30-14=16
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 34:[34, 16], Operations: ['56-22=34', '30-14=16']
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,34 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 |
[
51,
6,
6,
52
] | 30 | [
"51+6=57",
"57-52=5",
"6*5=30"
] | Current State: 30:[51, 6, 6, 52], Operations: []
Exploring Operation: 51+6=57, Resulting Numbers: [52, 57]
Generated Node #2: [52, 57] from Operation: 51+6=57
Current State: 30:[52, 57], Operations: ['51+6=57']
Exploring Operation: 57-52=5, Resulting Numbers: [5]
5,30 equal: Goal Reached
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[51, 6, 6, 52], Operations: []
Exploring Operation: 52-51=1, Resulting Numbers: [6, 6, 1]
Generated Node #0,0: 30:[6, 6, 1] Operation: 52-51=1
Exploring Operation: 52-6=46, Resulting Numbers: [51, 6, 46]
Generated Node #0,1: 30:[51, 6, 46] Operation: 52-6=46
Exploring Operation: 51-6=45, Resulting Numbers: [6, 52, 45]
Generated Node #0,2: 30:[6, 52, 45] Operation: 51-6=45
Exploring Operation: 51-6=45, Resulting Numbers: [6, 52, 45]
Generated Node #0,3: 30:[6, 52, 45] Operation: 51-6=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[6, 6, 1], Operations: ['52-51=1']
Exploring Operation: 6-1=5, Resulting Numbers: [6, 5]
Generated Node #0,0,0: 30:[6, 5] Operation: 6-1=5
Exploring Operation: 6*1=6, Resulting Numbers: [6, 6]
Generated Node #0,0,1: 30:[6, 6] Operation: 6*1=6
Exploring Operation: 6/1=6, Resulting Numbers: [6, 6]
Generated Node #0,0,2: 30:[6, 6] Operation: 6/1=6
Exploring Operation: 6*1=6, Resulting Numbers: [6, 6]
Generated Node #0,0,3: 30:[6, 6] Operation: 6*1=6
Moving to Node #0,0,0
Current State: 30:[6, 5], Operations: ['52-51=1', '6-1=5']
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[51, 6, 6, 52], Operations: []
Exploring Operation: 52-51=1, Resulting Numbers: [6, 6, 1]
Generated Node #0,0: 30:[6, 6, 1] Operation: 52-51=1
Moving to Node #0,0
Current State: 30:[6, 6, 1], Operations: ['52-51=1']
Exploring Operation: 6-1=5, Resulting Numbers: [6, 5]
Generated Node #0,0,0: 30:[6, 5] Operation: 6-1=5
Moving to Node #0,0,0
Current State: 30:[6, 5], Operations: ['52-51=1', '6-1=5']
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
71,
8,
19,
21
] | 22 | [
"71-8=63",
"63/21=3",
"19+3=22"
] | Current State: 22:[71, 8, 19, 21], Operations: []
Exploring Operation: 71-8=63, Resulting Numbers: [19, 21, 63]
Generated Node #2: [19, 21, 63] from Operation: 71-8=63
Current State: 22:[19, 21, 63], Operations: ['71-8=63']
Exploring Operation: 63/21=3, Resulting Numbers: [19, 3]
Generated Node #3: [19, 3] from Operation: 63/21=3
Current State: 22:[19, 3], Operations: ['71-8=63', '63/21=3']
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[71, 8, 19, 21], Operations: []
Exploring Operation: 71-19=52, Resulting Numbers: [8, 21, 52]
Generated Node #0,0: 22:[8, 21, 52] Operation: 71-19=52
Exploring Operation: 19-8=11, Resulting Numbers: [71, 21, 11]
Generated Node #0,1: 22:[71, 21, 11] Operation: 19-8=11
Exploring Operation: 71-21=50, Resulting Numbers: [8, 19, 50]
Generated Node #0,2: 22:[8, 19, 50] Operation: 71-21=50
Exploring Operation: 71-8=63, Resulting Numbers: [19, 21, 63]
Generated Node #0,3: 22:[19, 21, 63] Operation: 71-8=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[8, 21, 52], Operations: ['71-19=52']
Exploring Operation: 52-8=44, Resulting Numbers: [21, 44]
Generated Node #0,0,0: 22:[21, 44] Operation: 52-8=44
Exploring Operation: 52-21=31, Resulting Numbers: [8, 31]
Generated Node #0,0,1: 22:[8, 31] Operation: 52-21=31
Exploring Operation: 21-8=13, Resulting Numbers: [52, 13]
Generated Node #0,0,2: 22:[52, 13] Operation: 21-8=13
Exploring Operation: 8+21=29, Resulting Numbers: [52, 29]
Generated Node #0,0,3: 22:[52, 29] Operation: 8+21=29
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 22:[8, 31], Operations: ['71-19=52', '52-21=31']
Exploring Operation: 8+31=39, Resulting Numbers: [39]
39,22 unequal: No Solution
Exploring Operation: 8*31=248, Resulting Numbers: [248]
248,22 unequal: No Solution
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,22 unequal: No Solution
No 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: 22:[21, 44], Operations: ['71-19=52', '52-8=44']
Exploring Operation: 21*44=924, Resulting Numbers: [924]
924,22 unequal: No Solution
Exploring Operation: 44-21=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 21+44=65, Resulting Numbers: [65]
65,22 unequal: No Solution
No 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: 22:[52, 13], Operations: ['71-19=52', '21-8=13']
Exploring Operation: 52/13=4, Resulting Numbers: [4]
4,22 unequal: No Solution
Exploring Operation: 52+13=65, Resulting Numbers: [65]
65,22 unequal: No Solution
Exploring Operation: 52-13=39, Resulting Numbers: [39]
39,22 unequal: No Solution
Exploring Operation: 52*13=676, Resulting Numbers: [676]
676,22 unequal: No Solution
No 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: 22:[52, 29], Operations: ['71-19=52', '8+21=29']
Exploring Operation: 52-29=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 52+29=81, Resulting Numbers: [81]
81,22 unequal: No Solution
Exploring Operation: 52*29=1508, Resulting Numbers: [1508]
1508,22 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: 22:[8, 19, 50], Operations: ['71-21=50']
Exploring Operation: 19-8=11, Resulting Numbers: [50, 11]
Generated Node #0,2,0: 22:[50, 11] Operation: 19-8=11
Exploring Operation: 50-19=31, Resulting Numbers: [8, 31]
Generated Node #0,2,1: 22:[8, 31] Operation: 50-19=31
Exploring Operation: 8+19=27, Resulting Numbers: [50, 27]
Generated Node #0,2,2: 22:[50, 27] Operation: 8+19=27
Exploring Operation: 50-8=42, Resulting Numbers: [19, 42]
Generated Node #0,2,3: 22:[19, 42] Operation: 50-8=42
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 22:[8, 31], Operations: ['71-21=50', '50-19=31']
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 8*31=248, Resulting Numbers: [248]
248,22 unequal: No Solution
Exploring Operation: 8+31=39, Resulting Numbers: [39]
39,22 unequal: No Solution
No 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: 22:[19, 42], Operations: ['71-21=50', '50-8=42']
Exploring Operation: 42-19=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 19*42=798, Resulting Numbers: [798]
798,22 unequal: No Solution
Exploring Operation: 19+42=61, Resulting Numbers: [61]
61,22 unequal: No Solution
No 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: 22:[50, 11], Operations: ['71-21=50', '19-8=11']
Exploring Operation: 50*11=550, Resulting Numbers: [550]
550,22 unequal: No Solution
Exploring Operation: 50+11=61, Resulting Numbers: [61]
61,22 unequal: No Solution
Exploring Operation: 50-11=39, Resulting Numbers: [39]
39,22 unequal: No Solution
No 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: 22:[50, 27], Operations: ['71-21=50', '8+19=27']
Exploring Operation: 50*27=1350, Resulting Numbers: [1350]
1350,22 unequal: No Solution
Exploring Operation: 50-27=23, Resulting Numbers: [23]
23,22 unequal: No Solution
Exploring Operation: 50+27=77, Resulting Numbers: [77]
77,22 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: 22:[19, 21, 63], Operations: ['71-8=63']
Exploring Operation: 21-19=2, Resulting Numbers: [63, 2]
Generated Node #0,3,0: 22:[63, 2] Operation: 21-19=2
Exploring Operation: 63-21=42, Resulting Numbers: [19, 42]
Generated Node #0,3,1: 22:[19, 42] Operation: 63-21=42
Exploring Operation: 63/21=3, Resulting Numbers: [19, 3]
Generated Node #0,3,2: 22:[19, 3] Operation: 63/21=3
Exploring Operation: 63-19=44, Resulting Numbers: [21, 44]
Generated Node #0,3,3: 22:[21, 44] Operation: 63-19=44
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 22:[19, 3], Operations: ['71-8=63', '63/21=3']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,22 unequal: No Solution
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,22 unequal: No Solution
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[71, 8, 19, 21], Operations: []
Exploring Operation: 71-8=63, Resulting Numbers: [19, 21, 63]
Generated Node #0,3: 22:[19, 21, 63] Operation: 71-8=63
Moving to Node #0,3
Current State: 22:[19, 21, 63], Operations: ['71-8=63']
Exploring Operation: 63/21=3, Resulting Numbers: [19, 3]
Generated Node #0,3,2: 22:[19, 3] Operation: 63/21=3
Moving to Node #0,3,2
Current State: 22:[19, 3], Operations: ['71-8=63', '63/21=3']
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.958333 | hs_4 | sum_heuristic |
[
36,
7,
96,
98
] | 25 | [
"98-96=2",
"36/2=18",
"7+18=25"
] | Current State: 25:[36, 7, 96, 98], Operations: []
Exploring Operation: 98-96=2, Resulting Numbers: [36, 7, 2]
Generated Node #2: [36, 7, 2] from Operation: 98-96=2
Current State: 25:[36, 7, 2], Operations: ['98-96=2']
Exploring Operation: 36/2=18, Resulting Numbers: [7, 18]
Generated Node #3: [7, 18] from Operation: 36/2=18
Current State: 25:[7, 18], Operations: ['98-96=2', '36/2=18']
Exploring Operation: 7+18=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[36, 7, 96, 98], Operations: []
Exploring Operation: 98-96=2, Resulting Numbers: [36, 7, 2]
Generated Node #0,0: 25:[36, 7, 2] Operation: 98-96=2
Exploring Operation: 98/7=14, Resulting Numbers: [36, 96, 14]
Generated Node #0,1: 25:[36, 96, 14] Operation: 98/7=14
Moving to Node #0,0
Current State: 25:[36, 7, 2], Operations: ['98-96=2']
Exploring Operation: 36/2=18, Resulting Numbers: [7, 18]
Generated Node #0,0,0: 25:[7, 18] Operation: 36/2=18
Exploring Operation: 36-7=29, Resulting Numbers: [2, 29]
Generated Node #0,0,1: 25:[2, 29] Operation: 36-7=29
Moving to Node #0,1
Current State: 25:[36, 96, 14], Operations: ['98/7=14']
Exploring Operation: 96-36=60, Resulting Numbers: [14, 60]
Generated Node #0,1,0: 25:[14, 60] Operation: 96-36=60
Exploring Operation: 96-14=82, Resulting Numbers: [36, 82]
Generated Node #0,1,1: 25:[36, 82] Operation: 96-14=82
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 25:[14, 60], Operations: ['98/7=14', '96-36=60']
Exploring Operation: 60-14=46, Resulting Numbers: [46]
46,25 unequal: No Solution
Exploring Operation: 14+60=74, Resulting Numbers: [74]
74,25 unequal: No Solution
No 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: 25:[36, 82], Operations: ['98/7=14', '96-14=82']
Exploring Operation: 36+82=118, Resulting Numbers: [118]
118,25 unequal: No Solution
Exploring Operation: 82-36=46, Resulting Numbers: [46]
46,25 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: 25:[2, 29], Operations: ['98-96=2', '36-7=29']
Exploring Operation: 2+29=31, Resulting Numbers: [31]
31,25 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,25 unequal: No Solution
Moving to Node #0,0,0
Current State: 25:[7, 18], Operations: ['98-96=2', '36/2=18']
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,25 unequal: No Solution
Exploring Operation: 7+18=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[36, 7, 96, 98], Operations: []
Exploring Operation: 98-96=2, Resulting Numbers: [36, 7, 2]
Generated Node #0,0: 25:[36, 7, 2] Operation: 98-96=2
Moving to Node #0,0
Current State: 25:[36, 7, 2], Operations: ['98-96=2']
Exploring Operation: 36/2=18, Resulting Numbers: [7, 18]
Generated Node #0,0,0: 25:[7, 18] Operation: 36/2=18
Moving to Node #0,0,0
Current State: 25:[7, 18], Operations: ['98-96=2', '36/2=18']
Exploring Operation: 7+18=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 0.984375 | hs_2 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.