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 |
|---|---|---|---|---|---|---|---|---|
[
15,
2,
25,
37
] | 72 | [
"37-15=22",
"2*25=50",
"22+50=72"
] | Current State: 72:[15, 2, 25, 37], Operations: []
Exploring Operation: 37-15=22, Resulting Numbers: [2, 25, 22]
Generated Node #2: [2, 25, 22] from Operation: 37-15=22
Current State: 72:[2, 25, 22], Operations: ['37-15=22']
Exploring Operation: 2*25=50, Resulting Numbers: [22, 50]
Generated Node #3: [22, 50] from Operation: 2*25=50
Current State: 72:[22, 50], Operations: ['37-15=22', '2*25=50']
Exploring Operation: 22+50=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[15, 2, 25, 37], Operations: []
Exploring Operation: 15+2=17, Resulting Numbers: [25, 37, 17]
Generated Node #0,0: 72:[25, 37, 17] Operation: 15+2=17
Exploring Operation: 25-15=10, Resulting Numbers: [2, 37, 10]
Generated Node #0,1: 72:[2, 37, 10] Operation: 25-15=10
Moving to Node #0,1
Current State: 72:[2, 37, 10], Operations: ['25-15=10']
Exploring Operation: 10-2=8, Resulting Numbers: [37, 8]
Generated Node #0,1,0: 72:[37, 8] Operation: 10-2=8
Exploring Operation: 2+10=12, Resulting Numbers: [37, 12]
Generated Node #0,1,1: 72:[37, 12] Operation: 2+10=12
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 72:[37, 8], Operations: ['25-15=10', '10-2=8']
Exploring Operation: 37+8=45, Resulting Numbers: [45]
45,72 unequal: No Solution
Exploring Operation: 37-8=29, Resulting Numbers: [29]
29,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,1
Current State: 72:[37, 12], Operations: ['25-15=10', '2+10=12']
Exploring Operation: 37+12=49, Resulting Numbers: [49]
49,72 unequal: No Solution
Exploring Operation: 37-12=25, Resulting Numbers: [25]
25,72 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: 72:[25, 37, 17], Operations: ['15+2=17']
Exploring Operation: 37-25=12, Resulting Numbers: [17, 12]
Generated Node #0,0,0: 72:[17, 12] Operation: 37-25=12
Exploring Operation: 25-17=8, Resulting Numbers: [37, 8]
Generated Node #0,0,1: 72:[37, 8] Operation: 25-17=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 72:[17, 12], Operations: ['15+2=17', '37-25=12']
Exploring Operation: 17-12=5, Resulting Numbers: [5]
5,72 unequal: No Solution
Exploring Operation: 17+12=29, Resulting Numbers: [29]
29,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 72:[37, 8], Operations: ['15+2=17', '25-17=8']
Exploring Operation: 37-8=29, Resulting Numbers: [29]
29,72 unequal: No Solution
Exploring Operation: 37+8=45, Resulting Numbers: [45]
45,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
59,
25,
76,
18
] | 10 | [
"59+25=84",
"76+18=94",
"94-84=10"
] | Current State: 10:[59, 25, 76, 18], Operations: []
Exploring Operation: 59+25=84, Resulting Numbers: [76, 18, 84]
Generated Node #2: [76, 18, 84] from Operation: 59+25=84
Current State: 10:[76, 18, 84], Operations: ['59+25=84']
Exploring Operation: 76+18=94, Resulting Numbers: [84, 94]
Generated Node #3: [84, 94] from Operation: 76+18=94
Current State: 10:[84, 94], Operations: ['59+25=84', '76+18=94']
Exploring Operation: 94-84=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[59, 25, 76, 18], Operations: []
Exploring Operation: 76-59=17, Resulting Numbers: [25, 18, 17]
Generated Node #0,0: 10:[25, 18, 17] Operation: 76-59=17
Exploring Operation: 59-25=34, Resulting Numbers: [76, 18, 34]
Generated Node #0,1: 10:[76, 18, 34] Operation: 59-25=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[25, 18, 17], Operations: ['76-59=17']
Exploring Operation: 25-17=8, Resulting Numbers: [18, 8]
Generated Node #0,0,0: 10:[18, 8] Operation: 25-17=8
Exploring Operation: 25-18=7, Resulting Numbers: [17, 7]
Generated Node #0,0,1: 10:[17, 7] Operation: 25-18=7
Moving to Node #0,0,1
Current State: 10:[17, 7], Operations: ['76-59=17', '25-18=7']
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[59, 25, 76, 18], Operations: []
Exploring Operation: 76-59=17, Resulting Numbers: [25, 18, 17]
Generated Node #0,0: 10:[25, 18, 17] Operation: 76-59=17
Moving to Node #0,0
Current State: 10:[25, 18, 17], Operations: ['76-59=17']
Exploring Operation: 25-18=7, Resulting Numbers: [17, 7]
Generated Node #0,0,1: 10:[17, 7] Operation: 25-18=7
Moving to Node #0,0,1
Current State: 10:[17, 7], Operations: ['76-59=17', '25-18=7']
Exploring Operation: 17-7=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
10,
48,
13,
98
] | 73 | [
"48-10=38",
"13+98=111",
"111-38=73"
] | Current State: 73:[10, 48, 13, 98], Operations: []
Exploring Operation: 48-10=38, Resulting Numbers: [13, 98, 38]
Generated Node #2: [13, 98, 38] from Operation: 48-10=38
Current State: 73:[13, 98, 38], Operations: ['48-10=38']
Exploring Operation: 13+98=111, Resulting Numbers: [38, 111]
Generated Node #3: [38, 111] from Operation: 13+98=111
Current State: 73:[38, 111], Operations: ['48-10=38', '13+98=111']
Exploring Operation: 111-38=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[10, 48, 13, 98], Operations: []
Exploring Operation: 10+48=58, Resulting Numbers: [13, 98, 58]
Generated Node #0,0: 73:[13, 98, 58] Operation: 10+48=58
Exploring Operation: 10+13=23, Resulting Numbers: [48, 98, 23]
Generated Node #0,1: 73:[48, 98, 23] Operation: 10+13=23
Exploring Operation: 98-10=88, Resulting Numbers: [48, 13, 88]
Generated Node #0,2: 73:[48, 13, 88] Operation: 98-10=88
Exploring Operation: 48+13=61, Resulting Numbers: [10, 98, 61]
Generated Node #0,3: 73:[10, 98, 61] Operation: 48+13=61
Moving to Node #0,0
Current State: 73:[13, 98, 58], Operations: ['10+48=58']
Exploring Operation: 13+58=71, Resulting Numbers: [98, 71]
Generated Node #0,0,0: 73:[98, 71] Operation: 13+58=71
Exploring Operation: 98-13=85, Resulting Numbers: [58, 85]
Generated Node #0,0,1: 73:[58, 85] Operation: 98-13=85
Exploring Operation: 13+98=111, Resulting Numbers: [58, 111]
Generated Node #0,0,2: 73:[58, 111] Operation: 13+98=111
Exploring Operation: 58-13=45, Resulting Numbers: [98, 45]
Generated Node #0,0,3: 73:[98, 45] Operation: 58-13=45
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[98, 71], Operations: ['10+48=58', '13+58=71']
Exploring Operation: 98*71=6958, Resulting Numbers: [6958]
6958,73 unequal: No Solution
Exploring Operation: 98+71=169, Resulting Numbers: [169]
169,73 unequal: No Solution
Exploring Operation: 98-71=27, Resulting Numbers: [27]
27,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 73:[58, 85], Operations: ['10+48=58', '98-13=85']
Exploring Operation: 85-58=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Exploring Operation: 58*85=4930, Resulting Numbers: [4930]
4930,73 unequal: No Solution
Exploring Operation: 58+85=143, Resulting Numbers: [143]
143,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 73:[58, 111], Operations: ['10+48=58', '13+98=111']
Exploring Operation: 111-58=53, Resulting Numbers: [53]
53,73 unequal: No Solution
Exploring Operation: 58+111=169, Resulting Numbers: [169]
169,73 unequal: No Solution
Exploring Operation: 58*111=6438, Resulting Numbers: [6438]
6438,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 73:[98, 45], Operations: ['10+48=58', '58-13=45']
Exploring Operation: 98+45=143, Resulting Numbers: [143]
143,73 unequal: No Solution
Exploring Operation: 98-45=53, Resulting Numbers: [53]
53,73 unequal: No Solution
Exploring Operation: 98*45=4410, Resulting Numbers: [4410]
4410,73 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: 73:[48, 13, 88], Operations: ['98-10=88']
Exploring Operation: 48+13=61, Resulting Numbers: [88, 61]
Generated Node #0,2,0: 73:[88, 61] Operation: 48+13=61
Exploring Operation: 13+88=101, Resulting Numbers: [48, 101]
Generated Node #0,2,1: 73:[48, 101] Operation: 13+88=101
Exploring Operation: 48-13=35, Resulting Numbers: [88, 35]
Generated Node #0,2,2: 73:[88, 35] Operation: 48-13=35
Exploring Operation: 88-13=75, Resulting Numbers: [48, 75]
Generated Node #0,2,3: 73:[48, 75] Operation: 88-13=75
Moving to Node #0,1
Current State: 73:[48, 98, 23], Operations: ['10+13=23']
Exploring Operation: 48+23=71, Resulting Numbers: [98, 71]
Generated Node #0,1,0: 73:[98, 71] Operation: 48+23=71
Exploring Operation: 48-23=25, Resulting Numbers: [98, 25]
Generated Node #0,1,1: 73:[98, 25] Operation: 48-23=25
Exploring Operation: 98-23=75, Resulting Numbers: [48, 75]
Generated Node #0,1,2: 73:[48, 75] Operation: 98-23=75
Exploring Operation: 98-48=50, Resulting Numbers: [23, 50]
Generated Node #0,1,3: 73:[23, 50] Operation: 98-48=50
Moving to Node #0,3
Current State: 73:[10, 98, 61], Operations: ['48+13=61']
Exploring Operation: 10+61=71, Resulting Numbers: [98, 71]
Generated Node #0,3,0: 73:[98, 71] Operation: 10+61=71
Exploring Operation: 10+98=108, Resulting Numbers: [61, 108]
Generated Node #0,3,1: 73:[61, 108] Operation: 10+98=108
Exploring Operation: 98-10=88, Resulting Numbers: [61, 88]
Generated Node #0,3,2: 73:[61, 88] Operation: 98-10=88
Exploring Operation: 61-10=51, Resulting Numbers: [98, 51]
Generated Node #0,3,3: 73:[98, 51] Operation: 61-10=51
Moving to Node #0,2,0
Current State: 73:[88, 61], Operations: ['98-10=88', '48+13=61']
Exploring Operation: 88*61=5368, Resulting Numbers: [5368]
5368,73 unequal: No Solution
Exploring Operation: 88+61=149, Resulting Numbers: [149]
149,73 unequal: No Solution
Exploring Operation: 88-61=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Moving to Node #0,1,2
Current State: 73:[48, 75], Operations: ['10+13=23', '98-23=75']
Exploring Operation: 75-48=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Exploring Operation: 48+75=123, Resulting Numbers: [123]
123,73 unequal: No Solution
Exploring Operation: 48*75=3600, Resulting Numbers: [3600]
3600,73 unequal: No Solution
Moving to Node #0,2,3
Current State: 73:[48, 75], Operations: ['98-10=88', '88-13=75']
Exploring Operation: 48*75=3600, Resulting Numbers: [3600]
3600,73 unequal: No Solution
Exploring Operation: 48+75=123, Resulting Numbers: [123]
123,73 unequal: No Solution
Exploring Operation: 75-48=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Moving to Node #0,1,0
Current State: 73:[98, 71], Operations: ['10+13=23', '48+23=71']
Exploring Operation: 98-71=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Exploring Operation: 98+71=169, Resulting Numbers: [169]
169,73 unequal: No Solution
Exploring Operation: 98*71=6958, Resulting Numbers: [6958]
6958,73 unequal: No Solution
Moving to Node #0,3,2
Current State: 73:[61, 88], Operations: ['48+13=61', '98-10=88']
Exploring Operation: 88-61=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Exploring Operation: 61+88=149, Resulting Numbers: [149]
149,73 unequal: No Solution
Exploring Operation: 61*88=5368, Resulting Numbers: [5368]
5368,73 unequal: No Solution
Moving to Node #0,3,0
Current State: 73:[98, 71], Operations: ['48+13=61', '10+61=71']
Exploring Operation: 98-71=27, Resulting Numbers: [27]
27,73 unequal: No Solution
Exploring Operation: 98*71=6958, Resulting Numbers: [6958]
6958,73 unequal: No Solution
Exploring Operation: 98+71=169, Resulting Numbers: [169]
169,73 unequal: No Solution
Moving to Node #0,3,3
Current State: 73:[98, 51], Operations: ['48+13=61', '61-10=51']
Exploring Operation: 98*51=4998, Resulting Numbers: [4998]
4998,73 unequal: No Solution
Exploring Operation: 98-51=47, Resulting Numbers: [47]
47,73 unequal: No Solution
Exploring Operation: 98+51=149, Resulting Numbers: [149]
149,73 unequal: No Solution
Moving to Node #0,3,1
Current State: 73:[61, 108], Operations: ['48+13=61', '10+98=108']
Exploring Operation: 61+108=169, Resulting Numbers: [169]
169,73 unequal: No Solution
Exploring Operation: 61*108=6588, Resulting Numbers: [6588]
6588,73 unequal: No Solution
Exploring Operation: 108-61=47, Resulting Numbers: [47]
47,73 unequal: No Solution
Moving to Node #0,2,1
Current State: 73:[48, 101], Operations: ['98-10=88', '13+88=101']
Exploring Operation: 48*101=4848, Resulting Numbers: [4848]
4848,73 unequal: No Solution
Exploring Operation: 101-48=53, Resulting Numbers: [53]
53,73 unequal: No Solution
Exploring Operation: 48+101=149, Resulting Numbers: [149]
149,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[88, 35], Operations: ['98-10=88', '48-13=35']
Exploring Operation: 88*35=3080, Resulting Numbers: [3080]
3080,73 unequal: No Solution
Exploring Operation: 88-35=53, Resulting Numbers: [53]
53,73 unequal: No Solution
Exploring Operation: 88+35=123, Resulting Numbers: [123]
123,73 unequal: No Solution
Moving to Node #0,1,1
Current State: 73:[98, 25], Operations: ['10+13=23', '48-23=25']
Exploring Operation: 98*25=2450, Resulting Numbers: [2450]
2450,73 unequal: No Solution
Exploring Operation: 98+25=123, Resulting Numbers: [123]
123,73 unequal: No Solution
Exploring Operation: 98-25=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[10, 48, 13, 98], Operations: []
Exploring Operation: 10+13=23, Resulting Numbers: [48, 98, 23]
Generated Node #0,1: 73:[48, 98, 23] Operation: 10+13=23
Moving to Node #0,1
Current State: 73:[48, 98, 23], Operations: ['10+13=23']
Exploring Operation: 48-23=25, Resulting Numbers: [98, 25]
Generated Node #0,1,1: 73:[98, 25] Operation: 48-23=25
Moving to Node #0,1,1
Current State: 73:[98, 25], Operations: ['10+13=23', '48-23=25']
Exploring Operation: 98-25=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 0.940104 | hs_4 | mult_heuristic |
[
31,
53,
16,
33
] | 27 | [
"53-31=22",
"16+33=49",
"49-22=27"
] | Current State: 27:[31, 53, 16, 33], Operations: []
Exploring Operation: 53-31=22, Resulting Numbers: [16, 33, 22]
Generated Node #2: [16, 33, 22] from Operation: 53-31=22
Current State: 27:[16, 33, 22], Operations: ['53-31=22']
Exploring Operation: 16+33=49, Resulting Numbers: [22, 49]
Generated Node #3: [22, 49] from Operation: 16+33=49
Current State: 27:[22, 49], Operations: ['53-31=22', '16+33=49']
Exploring Operation: 49-22=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[31, 53, 16, 33], Operations: []
Exploring Operation: 53-31=22, Resulting Numbers: [16, 33, 22]
Generated Node #0,0: 27:[16, 33, 22] Operation: 53-31=22
Moving to Node #0,0
Current State: 27:[16, 33, 22], Operations: ['53-31=22']
Exploring Operation: 22-16=6, Resulting Numbers: [33, 6]
Generated Node #0,0,0: 27:[33, 6] Operation: 22-16=6
Moving to Node #0,0,0
Current State: 27:[33, 6], Operations: ['53-31=22', '22-16=6']
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[31, 53, 16, 33], Operations: []
Exploring Operation: 53-31=22, Resulting Numbers: [16, 33, 22]
Generated Node #0,0: 27:[16, 33, 22] Operation: 53-31=22
Moving to Node #0,0
Current State: 27:[16, 33, 22], Operations: ['53-31=22']
Exploring Operation: 22-16=6, Resulting Numbers: [33, 6]
Generated Node #0,0,0: 27:[33, 6] Operation: 22-16=6
Moving to Node #0,0,0
Current State: 27:[33, 6], Operations: ['53-31=22', '22-16=6']
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
95,
70,
45,
74
] | 72 | [
"95+45=140",
"140/70=2",
"74-2=72"
] | Current State: 72:[95, 70, 45, 74], Operations: []
Exploring Operation: 95+45=140, Resulting Numbers: [70, 74, 140]
Generated Node #2: [70, 74, 140] from Operation: 95+45=140
Current State: 72:[70, 74, 140], Operations: ['95+45=140']
Exploring Operation: 140/70=2, Resulting Numbers: [74, 2]
Generated Node #3: [74, 2] from Operation: 140/70=2
Current State: 72:[74, 2], Operations: ['95+45=140', '140/70=2']
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[95, 70, 45, 74], Operations: []
Exploring Operation: 95-74=21, Resulting Numbers: [70, 45, 21]
Generated Node #0,0: 72:[70, 45, 21] Operation: 95-74=21
Exploring Operation: 95-45=50, Resulting Numbers: [70, 74, 50]
Generated Node #0,1: 72:[70, 74, 50] Operation: 95-45=50
Exploring Operation: 95-70=25, Resulting Numbers: [45, 74, 25]
Generated Node #0,2: 72:[45, 74, 25] Operation: 95-70=25
Start Sub Search at level 1: Moving to Node #0,2
Current State: 72:[45, 74, 25], Operations: ['95-70=25']
Exploring Operation: 45-25=20, Resulting Numbers: [74, 20]
Generated Node #0,2,0: 72:[74, 20] Operation: 45-25=20
Exploring Operation: 45+25=70, Resulting Numbers: [74, 70]
Generated Node #0,2,1: 72:[74, 70] Operation: 45+25=70
Exploring Operation: 74-45=29, Resulting Numbers: [25, 29]
Generated Node #0,2,2: 72:[25, 29] Operation: 74-45=29
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 72:[74, 20], Operations: ['95-70=25', '45-25=20']
Exploring Operation: 74-20=54, Resulting Numbers: [54]
54,72 unequal: No Solution
Exploring Operation: 74*20=1480, Resulting Numbers: [1480]
1480,72 unequal: No Solution
Exploring Operation: 74+20=94, Resulting Numbers: [94]
94,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 72:[74, 70], Operations: ['95-70=25', '45+25=70']
Exploring Operation: 74+70=144, Resulting Numbers: [144]
144,72 unequal: No Solution
Exploring Operation: 74-70=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 74*70=5180, Resulting Numbers: [5180]
5180,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 72:[25, 29], Operations: ['95-70=25', '74-45=29']
Exploring Operation: 25*29=725, Resulting Numbers: [725]
725,72 unequal: No Solution
Exploring Operation: 25+29=54, Resulting Numbers: [54]
54,72 unequal: No Solution
Exploring Operation: 29-25=4, Resulting Numbers: [4]
4,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[70, 45, 21], Operations: ['95-74=21']
Exploring Operation: 45+21=66, Resulting Numbers: [70, 66]
Generated Node #0,0,0: 72:[70, 66] Operation: 45+21=66
Exploring Operation: 70-45=25, Resulting Numbers: [21, 25]
Generated Node #0,0,1: 72:[21, 25] Operation: 70-45=25
Exploring Operation: 45-21=24, Resulting Numbers: [70, 24]
Generated Node #0,0,2: 72:[70, 24] Operation: 45-21=24
Moving to Node #0,0,2
Current State: 72:[70, 24], Operations: ['95-74=21', '45-21=24']
Exploring Operation: 70-24=46, Resulting Numbers: [46]
46,72 unequal: No Solution
Exploring Operation: 70*24=1680, Resulting Numbers: [1680]
1680,72 unequal: No Solution
Exploring Operation: 70+24=94, Resulting Numbers: [94]
94,72 unequal: No Solution
Moving to Node #0,0,1
Current State: 72:[21, 25], Operations: ['95-74=21', '70-45=25']
Exploring Operation: 21+25=46, Resulting Numbers: [46]
46,72 unequal: No Solution
Exploring Operation: 21*25=525, Resulting Numbers: [525]
525,72 unequal: No Solution
Exploring Operation: 25-21=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Moving to Node #0,0,0
Current State: 72:[70, 66], Operations: ['95-74=21', '45+21=66']
Exploring Operation: 70+66=136, Resulting Numbers: [136]
136,72 unequal: No Solution
Exploring Operation: 70*66=4620, Resulting Numbers: [4620]
4620,72 unequal: No Solution
Exploring Operation: 70-66=4, Resulting Numbers: [4]
4,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[70, 74, 50], Operations: ['95-45=50']
Exploring Operation: 74-70=4, Resulting Numbers: [50, 4]
Generated Node #0,1,0: 72:[50, 4] Operation: 74-70=4
Exploring Operation: 70-50=20, Resulting Numbers: [74, 20]
Generated Node #0,1,1: 72:[74, 20] Operation: 70-50=20
Exploring Operation: 74-50=24, Resulting Numbers: [70, 24]
Generated Node #0,1,2: 72:[70, 24] Operation: 74-50=24
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 72:[70, 24], Operations: ['95-45=50', '74-50=24']
Exploring Operation: 70*24=1680, Resulting Numbers: [1680]
1680,72 unequal: No Solution
Exploring Operation: 70-24=46, Resulting Numbers: [46]
46,72 unequal: No Solution
Exploring Operation: 70+24=94, Resulting Numbers: [94]
94,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 72:[74, 20], Operations: ['95-45=50', '70-50=20']
Exploring Operation: 74-20=54, Resulting Numbers: [54]
54,72 unequal: No Solution
Exploring Operation: 74+20=94, Resulting Numbers: [94]
94,72 unequal: No Solution
Exploring Operation: 74*20=1480, Resulting Numbers: [1480]
1480,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 72:[50, 4], Operations: ['95-45=50', '74-70=4']
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,72 unequal: No Solution
Exploring Operation: 50*4=200, Resulting Numbers: [200]
200,72 unequal: No Solution
Exploring Operation: 50+4=54, Resulting Numbers: [54]
54,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
23,
6,
10,
25
] | 14 | [
"23+6=29",
"25-10=15",
"29-15=14"
] | Current State: 14:[23, 6, 10, 25], Operations: []
Exploring Operation: 23+6=29, Resulting Numbers: [10, 25, 29]
Generated Node #2: [10, 25, 29] from Operation: 23+6=29
Current State: 14:[10, 25, 29], Operations: ['23+6=29']
Exploring Operation: 25-10=15, Resulting Numbers: [29, 15]
Generated Node #3: [29, 15] from Operation: 25-10=15
Current State: 14:[29, 15], Operations: ['23+6=29', '25-10=15']
Exploring Operation: 29-15=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[23, 6, 10, 25], Operations: []
Exploring Operation: 25-23=2, Resulting Numbers: [6, 10, 2]
Generated Node #0,0: 14:[6, 10, 2] Operation: 25-23=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[6, 10, 2], Operations: ['25-23=2']
Exploring Operation: 6+10=16, Resulting Numbers: [2, 16]
Generated Node #0,0,0: 14:[2, 16] Operation: 6+10=16
Moving to Node #0,0,0
Current State: 14:[2, 16], Operations: ['25-23=2', '6+10=16']
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[23, 6, 10, 25], Operations: []
Exploring Operation: 25-23=2, Resulting Numbers: [6, 10, 2]
Generated Node #0,0: 14:[6, 10, 2] Operation: 25-23=2
Moving to Node #0,0
Current State: 14:[6, 10, 2], Operations: ['25-23=2']
Exploring Operation: 6+10=16, Resulting Numbers: [2, 16]
Generated Node #0,0,0: 14:[2, 16] Operation: 6+10=16
Moving to Node #0,0,0
Current State: 14:[2, 16], Operations: ['25-23=2', '6+10=16']
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
78,
69,
34,
2
] | 27 | [
"78-69=9",
"34+2=36",
"36-9=27"
] | Current State: 27:[78, 69, 34, 2], Operations: []
Exploring Operation: 78-69=9, Resulting Numbers: [34, 2, 9]
Generated Node #2: [34, 2, 9] from Operation: 78-69=9
Current State: 27:[34, 2, 9], Operations: ['78-69=9']
Exploring Operation: 34+2=36, Resulting Numbers: [9, 36]
Generated Node #3: [9, 36] from Operation: 34+2=36
Current State: 27:[9, 36], Operations: ['78-69=9', '34+2=36']
Exploring Operation: 36-9=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[78, 69, 34, 2], Operations: []
Exploring Operation: 78-34=44, Resulting Numbers: [69, 2, 44]
Generated Node #0,0: 27:[69, 2, 44] Operation: 78-34=44
Exploring Operation: 78/2=39, Resulting Numbers: [69, 34, 39]
Generated Node #0,1: 27:[69, 34, 39] Operation: 78/2=39
Exploring Operation: 78-69=9, Resulting Numbers: [34, 2, 9]
Generated Node #0,2: 27:[34, 2, 9] Operation: 78-69=9
Exploring Operation: 69-34=35, Resulting Numbers: [78, 2, 35]
Generated Node #0,3: 27:[78, 2, 35] Operation: 69-34=35
Start Sub Search at level 1: Moving to Node #0,2
Current State: 27:[34, 2, 9], Operations: ['78-69=9']
Exploring Operation: 34-2=32, Resulting Numbers: [9, 32]
Generated Node #0,2,0: 27:[9, 32] Operation: 34-2=32
Exploring Operation: 34+2=36, Resulting Numbers: [9, 36]
Generated Node #0,2,1: 27:[9, 36] Operation: 34+2=36
Exploring Operation: 34/2=17, Resulting Numbers: [9, 17]
Generated Node #0,2,2: 27:[9, 17] Operation: 34/2=17
Exploring Operation: 34-9=25, Resulting Numbers: [2, 25]
Generated Node #0,2,3: 27:[2, 25] Operation: 34-9=25
Moving to Node #0,2,3
Current State: 27:[2, 25], Operations: ['78-69=9', '34-9=25']
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[78, 69, 34, 2], Operations: []
Exploring Operation: 78-69=9, Resulting Numbers: [34, 2, 9]
Generated Node #0,2: 27:[34, 2, 9] Operation: 78-69=9
Moving to Node #0,2
Current State: 27:[34, 2, 9], Operations: ['78-69=9']
Exploring Operation: 34-9=25, Resulting Numbers: [2, 25]
Generated Node #0,2,3: 27:[2, 25] Operation: 34-9=25
Moving to Node #0,2,3
Current State: 27:[2, 25], Operations: ['78-69=9', '34-9=25']
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
32,
98,
21,
41
] | 46 | [
"98-32=66",
"41-21=20",
"66-20=46"
] | Current State: 46:[32, 98, 21, 41], Operations: []
Exploring Operation: 98-32=66, Resulting Numbers: [21, 41, 66]
Generated Node #2: [21, 41, 66] from Operation: 98-32=66
Current State: 46:[21, 41, 66], Operations: ['98-32=66']
Exploring Operation: 41-21=20, Resulting Numbers: [66, 20]
Generated Node #3: [66, 20] from Operation: 41-21=20
Current State: 46:[66, 20], Operations: ['98-32=66', '41-21=20']
Exploring Operation: 66-20=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[32, 98, 21, 41], Operations: []
Exploring Operation: 41-32=9, Resulting Numbers: [98, 21, 9]
Generated Node #0,0: 46:[98, 21, 9] Operation: 41-32=9
Exploring Operation: 98-41=57, Resulting Numbers: [32, 21, 57]
Generated Node #0,1: 46:[32, 21, 57] Operation: 98-41=57
Exploring Operation: 98-21=77, Resulting Numbers: [32, 41, 77]
Generated Node #0,2: 46:[32, 41, 77] Operation: 98-21=77
Exploring Operation: 98-32=66, Resulting Numbers: [21, 41, 66]
Generated Node #0,3: 46:[21, 41, 66] Operation: 98-32=66
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[32, 21, 57], Operations: ['98-41=57']
Exploring Operation: 32+21=53, Resulting Numbers: [57, 53]
Generated Node #0,1,0: 46:[57, 53] Operation: 32+21=53
Exploring Operation: 32-21=11, Resulting Numbers: [57, 11]
Generated Node #0,1,1: 46:[57, 11] Operation: 32-21=11
Exploring Operation: 57-21=36, Resulting Numbers: [32, 36]
Generated Node #0,1,2: 46:[32, 36] Operation: 57-21=36
Exploring Operation: 57-32=25, Resulting Numbers: [21, 25]
Generated Node #0,1,3: 46:[21, 25] Operation: 57-32=25
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 46:[21, 25], Operations: ['98-41=57', '57-32=25']
Exploring Operation: 25-21=4, Resulting Numbers: [4]
4,46 unequal: No Solution
Exploring Operation: 21*25=525, Resulting Numbers: [525]
525,46 unequal: No Solution
Exploring Operation: 21+25=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[32, 98, 21, 41], Operations: []
Exploring Operation: 98-41=57, Resulting Numbers: [32, 21, 57]
Generated Node #0,1: 46:[32, 21, 57] Operation: 98-41=57
Moving to Node #0,1
Current State: 46:[32, 21, 57], Operations: ['98-41=57']
Exploring Operation: 57-32=25, Resulting Numbers: [21, 25]
Generated Node #0,1,3: 46:[21, 25] Operation: 57-32=25
Moving to Node #0,1,3
Current State: 46:[21, 25], Operations: ['98-41=57', '57-32=25']
Exploring Operation: 21+25=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
3,
33,
13,
38
] | 50 | [
"13-3=10",
"38-33=5",
"10*5=50"
] | Current State: 50:[3, 33, 13, 38], Operations: []
Exploring Operation: 13-3=10, Resulting Numbers: [33, 38, 10]
Generated Node #2: [33, 38, 10] from Operation: 13-3=10
Current State: 50:[33, 38, 10], Operations: ['13-3=10']
Exploring Operation: 38-33=5, Resulting Numbers: [10, 5]
Generated Node #3: [10, 5] from Operation: 38-33=5
Current State: 50:[10, 5], Operations: ['13-3=10', '38-33=5']
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[3, 33, 13, 38], Operations: []
Exploring Operation: 38-33=5, Resulting Numbers: [3, 13, 5]
Generated Node #0,0: 50:[3, 13, 5] Operation: 38-33=5
Moving to Node #0,0
Current State: 50:[3, 13, 5], Operations: ['38-33=5']
Exploring Operation: 13-3=10, Resulting Numbers: [5, 10]
Generated Node #0,0,0: 50:[5, 10] Operation: 13-3=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 50:[5, 10], Operations: ['38-33=5', '13-3=10']
Exploring Operation: 5*10=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[3, 33, 13, 38], Operations: []
Exploring Operation: 38-33=5, Resulting Numbers: [3, 13, 5]
Generated Node #0,0: 50:[3, 13, 5] Operation: 38-33=5
Moving to Node #0,0
Current State: 50:[3, 13, 5], Operations: ['38-33=5']
Exploring Operation: 13-3=10, Resulting Numbers: [5, 10]
Generated Node #0,0,0: 50:[5, 10] Operation: 13-3=10
Moving to Node #0,0,0
Current State: 50:[5, 10], Operations: ['38-33=5', '13-3=10']
Exploring Operation: 5*10=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
22,
4,
50,
48
] | 11 | [
"50-4=46",
"48-46=2",
"22/2=11"
] | Current State: 11:[22, 4, 50, 48], Operations: []
Exploring Operation: 50-4=46, Resulting Numbers: [22, 48, 46]
Generated Node #2: [22, 48, 46] from Operation: 50-4=46
Current State: 11:[22, 48, 46], Operations: ['50-4=46']
Exploring Operation: 48-46=2, Resulting Numbers: [22, 2]
Generated Node #3: [22, 2] from Operation: 48-46=2
Current State: 11:[22, 2], Operations: ['50-4=46', '48-46=2']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[22, 4, 50, 48], Operations: []
Exploring Operation: 22-4=18, Resulting Numbers: [50, 48, 18]
Generated Node #0,0: 11:[50, 48, 18] Operation: 22-4=18
Exploring Operation: 48/4=12, Resulting Numbers: [22, 50, 12]
Generated Node #0,1: 11:[22, 50, 12] Operation: 48/4=12
Exploring Operation: 50-48=2, Resulting Numbers: [22, 4, 2]
Generated Node #0,2: 11:[22, 4, 2] Operation: 50-48=2
Exploring Operation: 48-22=26, Resulting Numbers: [4, 50, 26]
Generated Node #0,3: 11:[4, 50, 26] Operation: 48-22=26
Exploring Operation: 50-22=28, Resulting Numbers: [4, 48, 28]
Generated Node #0,4: 11:[4, 48, 28] Operation: 50-22=28
Moving to Node #0,2
Current State: 11:[22, 4, 2], Operations: ['50-48=2']
Exploring Operation: 22-4=18, Resulting Numbers: [2, 18]
Generated Node #0,2,0: 11:[2, 18] Operation: 22-4=18
Exploring Operation: 22-2=20, Resulting Numbers: [4, 20]
Generated Node #0,2,1: 11:[4, 20] Operation: 22-2=20
Exploring Operation: 4+2=6, Resulting Numbers: [22, 6]
Generated Node #0,2,2: 11:[22, 6] Operation: 4+2=6
Exploring Operation: 4*2=8, Resulting Numbers: [22, 8]
Generated Node #0,2,3: 11:[22, 8] Operation: 4*2=8
Exploring Operation: 22/2=11, Resulting Numbers: [4, 11]
Generated Node #0,2,4: 11:[4, 11] Operation: 22/2=11
Moving to Node #0,1
Current State: 11:[22, 50, 12], Operations: ['48/4=12']
Exploring Operation: 22+50=72, Resulting Numbers: [12, 72]
Generated Node #0,1,0: 11:[12, 72] Operation: 22+50=72
Exploring Operation: 50-22=28, Resulting Numbers: [12, 28]
Generated Node #0,1,1: 11:[12, 28] Operation: 50-22=28
Exploring Operation: 22-12=10, Resulting Numbers: [50, 10]
Generated Node #0,1,2: 11:[50, 10] Operation: 22-12=10
Exploring Operation: 22+12=34, Resulting Numbers: [50, 34]
Generated Node #0,1,3: 11:[50, 34] Operation: 22+12=34
Exploring Operation: 50-12=38, Resulting Numbers: [22, 38]
Generated Node #0,1,4: 11:[22, 38] Operation: 50-12=38
Moving to Node #0,3
Current State: 11:[4, 50, 26], Operations: ['48-22=26']
Exploring Operation: 4+50=54, Resulting Numbers: [26, 54]
Generated Node #0,3,0: 11:[26, 54] Operation: 4+50=54
Exploring Operation: 26-4=22, Resulting Numbers: [50, 22]
Generated Node #0,3,1: 11:[50, 22] Operation: 26-4=22
Exploring Operation: 50-4=46, Resulting Numbers: [26, 46]
Generated Node #0,3,2: 11:[26, 46] Operation: 50-4=46
Exploring Operation: 4+26=30, Resulting Numbers: [50, 30]
Generated Node #0,3,3: 11:[50, 30] Operation: 4+26=30
Exploring Operation: 50-26=24, Resulting Numbers: [4, 24]
Generated Node #0,3,4: 11:[4, 24] Operation: 50-26=24
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 11:[4, 24], Operations: ['48-22=26', '50-26=24']
Exploring Operation: 4*24=96, Resulting Numbers: [96]
96,11 unequal: No Solution
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Exploring Operation: 4+24=28, Resulting Numbers: [28]
28,11 unequal: No Solution
Exploring Operation: 24/4=6, Resulting Numbers: [6]
6,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 11:[50, 22], Operations: ['48-22=26', '26-4=22']
Exploring Operation: 50*22=1100, Resulting Numbers: [1100]
1100,11 unequal: No Solution
Exploring Operation: 50+22=72, Resulting Numbers: [72]
72,11 unequal: No Solution
Exploring Operation: 50-22=28, Resulting Numbers: [28]
28,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 11:[26, 46], Operations: ['48-22=26', '50-4=46']
Exploring Operation: 26*46=1196, Resulting Numbers: [1196]
1196,11 unequal: No Solution
Exploring Operation: 26+46=72, Resulting Numbers: [72]
72,11 unequal: No Solution
Exploring Operation: 46-26=20, Resulting Numbers: [20]
20,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 11:[26, 54], Operations: ['48-22=26', '4+50=54']
Exploring Operation: 54-26=28, Resulting Numbers: [28]
28,11 unequal: No Solution
Exploring Operation: 26*54=1404, Resulting Numbers: [1404]
1404,11 unequal: No Solution
Exploring Operation: 26+54=80, Resulting Numbers: [80]
80,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 11:[50, 30], Operations: ['48-22=26', '4+26=30']
Exploring Operation: 50+30=80, Resulting Numbers: [80]
80,11 unequal: No Solution
Exploring Operation: 50-30=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Exploring Operation: 50*30=1500, Resulting Numbers: [1500]
1500,11 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: 11:[4, 48, 28], Operations: ['50-22=28']
Exploring Operation: 48-28=20, Resulting Numbers: [4, 20]
Generated Node #0,4,0: 11:[4, 20] Operation: 48-28=20
Exploring Operation: 28/4=7, Resulting Numbers: [48, 7]
Generated Node #0,4,1: 11:[48, 7] Operation: 28/4=7
Exploring Operation: 28-4=24, Resulting Numbers: [48, 24]
Generated Node #0,4,2: 11:[48, 24] Operation: 28-4=24
Exploring Operation: 48/4=12, Resulting Numbers: [28, 12]
Generated Node #0,4,3: 11:[28, 12] Operation: 48/4=12
Exploring Operation: 48-4=44, Resulting Numbers: [28, 44]
Generated Node #0,4,4: 11:[28, 44] Operation: 48-4=44
Moving to Node #0,0
Current State: 11:[50, 48, 18], Operations: ['22-4=18']
Exploring Operation: 48-18=30, Resulting Numbers: [50, 30]
Generated Node #0,0,0: 11:[50, 30] Operation: 48-18=30
Exploring Operation: 50-48=2, Resulting Numbers: [18, 2]
Generated Node #0,0,1: 11:[18, 2] Operation: 50-48=2
Exploring Operation: 50-18=32, Resulting Numbers: [48, 32]
Generated Node #0,0,2: 11:[48, 32] Operation: 50-18=32
Exploring Operation: 50+18=68, Resulting Numbers: [48, 68]
Generated Node #0,0,3: 11:[48, 68] Operation: 50+18=68
Exploring Operation: 50+48=98, Resulting Numbers: [18, 98]
Generated Node #0,0,4: 11:[18, 98] Operation: 50+48=98
Moving to Node #0,2,4
Current State: 11:[4, 11], Operations: ['50-48=2', '22/2=11']
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,11 unequal: No Solution
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,11 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,11 unequal: No Solution
Moving to Node #0,2,3
Current State: 11:[22, 8], Operations: ['50-48=2', '4*2=8']
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,11 unequal: No Solution
Exploring Operation: 22*8=176, Resulting Numbers: [176]
176,11 unequal: No Solution
Exploring Operation: 22+8=30, Resulting Numbers: [30]
30,11 unequal: No Solution
Moving to Node #0,2,0
Current State: 11:[2, 18], Operations: ['50-48=2', '22-4=18']
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,11 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,11 unequal: No Solution
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Moving to Node #0,2,2
Current State: 11:[22, 6], Operations: ['50-48=2', '4+2=6']
Exploring Operation: 22*6=132, Resulting Numbers: [132]
132,11 unequal: No Solution
Exploring Operation: 22+6=28, Resulting Numbers: [28]
28,11 unequal: No Solution
Exploring Operation: 22-6=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Moving to Node #0,4,0
Current State: 11:[4, 20], Operations: ['50-22=28', '48-28=20']
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,11 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Exploring Operation: 4*20=80, Resulting Numbers: [80]
80,11 unequal: No Solution
Exploring Operation: 4+20=24, Resulting Numbers: [24]
24,11 unequal: No Solution
Moving to Node #0,2,1
Current State: 11:[4, 20], Operations: ['50-48=2', '22-2=20']
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,11 unequal: No Solution
Exploring Operation: 4+20=24, Resulting Numbers: [24]
24,11 unequal: No Solution
Exploring Operation: 4*20=80, Resulting Numbers: [80]
80,11 unequal: No Solution
Moving to Node #0,0,1
Current State: 11:[18, 2], Operations: ['22-4=18', '50-48=2']
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,11 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,11 unequal: No Solution
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Moving to Node #0,1,1
Current State: 11:[12, 28], Operations: ['48/4=12', '50-22=28']
Exploring Operation: 12*28=336, Resulting Numbers: [336]
336,11 unequal: No Solution
Exploring Operation: 12+28=40, Resulting Numbers: [40]
40,11 unequal: No Solution
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Moving to Node #0,4,3
Current State: 11:[28, 12], Operations: ['50-22=28', '48/4=12']
Exploring Operation: 28+12=40, Resulting Numbers: [40]
40,11 unequal: No Solution
Exploring Operation: 28*12=336, Resulting Numbers: [336]
336,11 unequal: No Solution
Exploring Operation: 28-12=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Moving to Node #0,1,4
Current State: 11:[22, 38], Operations: ['48/4=12', '50-12=38']
Exploring Operation: 22+38=60, Resulting Numbers: [60]
60,11 unequal: No Solution
Exploring Operation: 22*38=836, Resulting Numbers: [836]
836,11 unequal: No Solution
Exploring Operation: 38-22=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Moving to Node #0,1,2
Current State: 11:[50, 10], Operations: ['48/4=12', '22-12=10']
Exploring Operation: 50*10=500, Resulting Numbers: [500]
500,11 unequal: No Solution
Exploring Operation: 50+10=60, Resulting Numbers: [60]
60,11 unequal: No Solution
Exploring Operation: 50-10=40, Resulting Numbers: [40]
40,11 unequal: No Solution
Exploring Operation: 50/10=5, Resulting Numbers: [5]
5,11 unequal: No Solution
Moving to Node #0,4,1
Current State: 11:[48, 7], Operations: ['50-22=28', '28/4=7']
Exploring Operation: 48*7=336, Resulting Numbers: [336]
336,11 unequal: No Solution
Exploring Operation: 48-7=41, Resulting Numbers: [41]
41,11 unequal: No Solution
Exploring Operation: 48+7=55, Resulting Numbers: [55]
55,11 unequal: No Solution
Moving to Node #0,4,2
Current State: 11:[48, 24], Operations: ['50-22=28', '28-4=24']
Exploring Operation: 48*24=1152, Resulting Numbers: [1152]
1152,11 unequal: No Solution
Exploring Operation: 48+24=72, Resulting Numbers: [72]
72,11 unequal: No Solution
Exploring Operation: 48/24=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Exploring Operation: 48-24=24, Resulting Numbers: [24]
24,11 unequal: No Solution
Moving to Node #0,4,4
Current State: 11:[28, 44], Operations: ['50-22=28', '48-4=44']
Exploring Operation: 28*44=1232, Resulting Numbers: [1232]
1232,11 unequal: No Solution
Exploring Operation: 28+44=72, Resulting Numbers: [72]
72,11 unequal: No Solution
Exploring Operation: 44-28=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Moving to Node #0,0,2
Current State: 11:[48, 32], Operations: ['22-4=18', '50-18=32']
Exploring Operation: 48+32=80, Resulting Numbers: [80]
80,11 unequal: No Solution
Exploring Operation: 48*32=1536, Resulting Numbers: [1536]
1536,11 unequal: No Solution
Exploring Operation: 48-32=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Moving to Node #0,0,0
Current State: 11:[50, 30], Operations: ['22-4=18', '48-18=30']
Exploring Operation: 50*30=1500, Resulting Numbers: [1500]
1500,11 unequal: No Solution
Exploring Operation: 50-30=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Exploring Operation: 50+30=80, Resulting Numbers: [80]
80,11 unequal: No Solution
Moving to Node #0,1,0
Current State: 11:[12, 72], Operations: ['48/4=12', '22+50=72']
Exploring Operation: 72-12=60, Resulting Numbers: [60]
60,11 unequal: No Solution
Exploring Operation: 12*72=864, Resulting Numbers: [864]
864,11 unequal: No Solution
Exploring Operation: 12+72=84, Resulting Numbers: [84]
84,11 unequal: No Solution
Exploring Operation: 72/12=6, Resulting Numbers: [6]
6,11 unequal: No Solution
Moving to Node #0,1,3
Current State: 11:[50, 34], Operations: ['48/4=12', '22+12=34']
Exploring Operation: 50+34=84, Resulting Numbers: [84]
84,11 unequal: No Solution
Exploring Operation: 50-34=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Exploring Operation: 50*34=1700, Resulting Numbers: [1700]
1700,11 unequal: No Solution
Moving to Node #0,0,4
Current State: 11:[18, 98], Operations: ['22-4=18', '50+48=98']
Exploring Operation: 18*98=1764, Resulting Numbers: [1764]
1764,11 unequal: No Solution
Exploring Operation: 98-18=80, Resulting Numbers: [80]
80,11 unequal: No Solution
Exploring Operation: 18+98=116, Resulting Numbers: [116]
116,11 unequal: No Solution
Moving to Node #0,0,3
Current State: 11:[48, 68], Operations: ['22-4=18', '50+18=68']
Exploring Operation: 48+68=116, Resulting Numbers: [116]
116,11 unequal: No Solution
Exploring Operation: 68-48=20, Resulting Numbers: [20]
20,11 unequal: No Solution
Exploring Operation: 48*68=3264, Resulting Numbers: [3264]
3264,11 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
2,
19,
38,
11
] | 44 | [
"19-2=17",
"38-11=27",
"17+27=44"
] | Current State: 44:[2, 19, 38, 11], Operations: []
Exploring Operation: 19-2=17, Resulting Numbers: [38, 11, 17]
Generated Node #2: [38, 11, 17] from Operation: 19-2=17
Current State: 44:[38, 11, 17], Operations: ['19-2=17']
Exploring Operation: 38-11=27, Resulting Numbers: [17, 27]
Generated Node #3: [17, 27] from Operation: 38-11=27
Current State: 44:[17, 27], Operations: ['19-2=17', '38-11=27']
Exploring Operation: 17+27=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[2, 19, 38, 11], Operations: []
Exploring Operation: 2+38=40, Resulting Numbers: [19, 11, 40]
Generated Node #0,0: 44:[19, 11, 40] Operation: 2+38=40
Exploring Operation: 38/2=19, Resulting Numbers: [19, 11, 19]
Generated Node #0,1: 44:[19, 11, 19] Operation: 38/2=19
Exploring Operation: 38/19=2, Resulting Numbers: [2, 11, 2]
Generated Node #0,2: 44:[2, 11, 2] Operation: 38/19=2
Exploring Operation: 2+19=21, Resulting Numbers: [38, 11, 21]
Generated Node #0,3: 44:[38, 11, 21] Operation: 2+19=21
Exploring Operation: 38-19=19, Resulting Numbers: [2, 11, 19]
Generated Node #0,4: 44:[2, 11, 19] Operation: 38-19=19
Moving to Node #0,2
Current State: 44:[2, 11, 2], Operations: ['38/19=2']
Exploring Operation: 2*2=4, Resulting Numbers: [11, 4]
Generated Node #0,2,0: 44:[11, 4] Operation: 2*2=4
Exploring Operation: 2+2=4, Resulting Numbers: [11, 4]
Generated Node #0,2,1: 44:[11, 4] Operation: 2+2=4
Exploring Operation: 2/2=1, Resulting Numbers: [11, 1]
Generated Node #0,2,2: 44:[11, 1] Operation: 2/2=1
Exploring Operation: 2*11=22, Resulting Numbers: [2, 22]
Generated Node #0,2,3: 44:[2, 22] Operation: 2*11=22
Exploring Operation: 11*2=22, Resulting Numbers: [2, 22]
Generated Node #0,2,4: 44:[2, 22] Operation: 11*2=22
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 44:[11, 4], Operations: ['38/19=2', '2*2=4']
Exploring Operation: 11+4=15, Resulting Numbers: [15]
15,44 unequal: No Solution
Exploring Operation: 11*4=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[2, 19, 38, 11], Operations: []
Exploring Operation: 38/19=2, Resulting Numbers: [2, 11, 2]
Generated Node #0,2: 44:[2, 11, 2] Operation: 38/19=2
Moving to Node #0,2
Current State: 44:[2, 11, 2], Operations: ['38/19=2']
Exploring Operation: 2*2=4, Resulting Numbers: [11, 4]
Generated Node #0,2,0: 44:[11, 4] Operation: 2*2=4
Moving to Node #0,2,0
Current State: 44:[11, 4], Operations: ['38/19=2', '2*2=4']
Exploring Operation: 11*4=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
87,
21,
95,
69
] | 56 | [
"87+21=108",
"95+69=164",
"164-108=56"
] | Current State: 56:[87, 21, 95, 69], Operations: []
Exploring Operation: 87+21=108, Resulting Numbers: [95, 69, 108]
Generated Node #2: [95, 69, 108] from Operation: 87+21=108
Current State: 56:[95, 69, 108], Operations: ['87+21=108']
Exploring Operation: 95+69=164, Resulting Numbers: [108, 164]
Generated Node #3: [108, 164] from Operation: 95+69=164
Current State: 56:[108, 164], Operations: ['87+21=108', '95+69=164']
Exploring Operation: 164-108=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[87, 21, 95, 69], Operations: []
Exploring Operation: 95-87=8, Resulting Numbers: [21, 69, 8]
Generated Node #0,0: 56:[21, 69, 8] Operation: 95-87=8
Moving to Node #0,0
Current State: 56:[21, 69, 8], Operations: ['95-87=8']
Exploring Operation: 69-21=48, Resulting Numbers: [8, 48]
Generated Node #0,0,0: 56:[8, 48] Operation: 69-21=48
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 56:[8, 48], Operations: ['95-87=8', '69-21=48']
Exploring Operation: 8+48=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[87, 21, 95, 69], Operations: []
Exploring Operation: 95-87=8, Resulting Numbers: [21, 69, 8]
Generated Node #0,0: 56:[21, 69, 8] Operation: 95-87=8
Moving to Node #0,0
Current State: 56:[21, 69, 8], Operations: ['95-87=8']
Exploring Operation: 69-21=48, Resulting Numbers: [8, 48]
Generated Node #0,0,0: 56:[8, 48] Operation: 69-21=48
Moving to Node #0,0,0
Current State: 56:[8, 48], Operations: ['95-87=8', '69-21=48']
Exploring Operation: 8+48=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
69,
95,
29,
23
] | 78 | [
"95-69=26",
"29+23=52",
"26+52=78"
] | Current State: 78:[69, 95, 29, 23], Operations: []
Exploring Operation: 95-69=26, Resulting Numbers: [29, 23, 26]
Generated Node #2: [29, 23, 26] from Operation: 95-69=26
Current State: 78:[29, 23, 26], Operations: ['95-69=26']
Exploring Operation: 29+23=52, Resulting Numbers: [26, 52]
Generated Node #3: [26, 52] from Operation: 29+23=52
Current State: 78:[26, 52], Operations: ['95-69=26', '29+23=52']
Exploring Operation: 26+52=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[69, 95, 29, 23], Operations: []
Exploring Operation: 95-69=26, Resulting Numbers: [29, 23, 26]
Generated Node #0,0: 78:[29, 23, 26] Operation: 95-69=26
Moving to Node #0,0
Current State: 78:[29, 23, 26], Operations: ['95-69=26']
Exploring Operation: 29-23=6, Resulting Numbers: [26, 6]
Generated Node #0,0,0: 78:[26, 6] Operation: 29-23=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 78:[26, 6], Operations: ['95-69=26', '29-23=6']
Exploring Operation: 26+6=32, Resulting Numbers: [32]
32,78 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 |
[
34,
46,
28,
96
] | 16 | [
"34*46=1564",
"1564-28=1536",
"1536/96=16"
] | Current State: 16:[34, 46, 28, 96], Operations: []
Exploring Operation: 34*46=1564, Resulting Numbers: [28, 96, 1564]
Generated Node #2: [28, 96, 1564] from Operation: 34*46=1564
Current State: 16:[28, 96, 1564], Operations: ['34*46=1564']
Exploring Operation: 1564-28=1536, Resulting Numbers: [96, 1536]
Generated Node #3: [96, 1536] from Operation: 1564-28=1536
Current State: 16:[96, 1536], Operations: ['34*46=1564', '1564-28=1536']
Exploring Operation: 1536/96=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[34, 46, 28, 96], Operations: []
Exploring Operation: 96-34=62, Resulting Numbers: [46, 28, 62]
Generated Node #0,0: 16:[46, 28, 62] Operation: 96-34=62
Exploring Operation: 46-28=18, Resulting Numbers: [34, 96, 18]
Generated Node #0,1: 16:[34, 96, 18] Operation: 46-28=18
Exploring Operation: 46-34=12, Resulting Numbers: [28, 96, 12]
Generated Node #0,2: 16:[28, 96, 12] Operation: 46-34=12
Exploring Operation: 96-46=50, Resulting Numbers: [34, 28, 50]
Generated Node #0,3: 16:[34, 28, 50] Operation: 96-46=50
Moving to Node #0,3
Current State: 16:[34, 28, 50], Operations: ['96-46=50']
Exploring Operation: 50-34=16, Resulting Numbers: [28, 16]
Generated Node #0,3,0: 16:[28, 16] Operation: 50-34=16
Exploring Operation: 34+28=62, Resulting Numbers: [50, 62]
Generated Node #0,3,1: 16:[50, 62] Operation: 34+28=62
Exploring Operation: 50-28=22, Resulting Numbers: [34, 22]
Generated Node #0,3,2: 16:[34, 22] Operation: 50-28=22
Exploring Operation: 34-28=6, Resulting Numbers: [50, 6]
Generated Node #0,3,3: 16:[50, 6] Operation: 34-28=6
Moving to Node #0,0
Current State: 16:[46, 28, 62], Operations: ['96-34=62']
Exploring Operation: 62-28=34, Resulting Numbers: [46, 34]
Generated Node #0,0,0: 16:[46, 34] Operation: 62-28=34
Exploring Operation: 46+28=74, Resulting Numbers: [62, 74]
Generated Node #0,0,1: 16:[62, 74] Operation: 46+28=74
Exploring Operation: 62-46=16, Resulting Numbers: [28, 16]
Generated Node #0,0,2: 16:[28, 16] Operation: 62-46=16
Exploring Operation: 46-28=18, Resulting Numbers: [62, 18]
Generated Node #0,0,3: 16:[62, 18] Operation: 46-28=18
Moving to Node #0,2
Current State: 16:[28, 96, 12], Operations: ['46-34=12']
Exploring Operation: 96/12=8, Resulting Numbers: [28, 8]
Generated Node #0,2,0: 16:[28, 8] Operation: 96/12=8
Exploring Operation: 96-28=68, Resulting Numbers: [12, 68]
Generated Node #0,2,1: 16:[12, 68] Operation: 96-28=68
Exploring Operation: 28-12=16, Resulting Numbers: [96, 16]
Generated Node #0,2,2: 16:[96, 16] Operation: 28-12=16
Exploring Operation: 96-12=84, Resulting Numbers: [28, 84]
Generated Node #0,2,3: 16:[28, 84] Operation: 96-12=84
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 16:[28, 8], Operations: ['46-34=12', '96/12=8']
Exploring Operation: 28+8=36, Resulting Numbers: [36]
36,16 unequal: No Solution
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,16 unequal: No Solution
Exploring Operation: 28*8=224, Resulting Numbers: [224]
224,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 16:[12, 68], Operations: ['46-34=12', '96-28=68']
Exploring Operation: 12*68=816, Resulting Numbers: [816]
816,16 unequal: No Solution
Exploring Operation: 68-12=56, Resulting Numbers: [56]
56,16 unequal: No Solution
Exploring Operation: 12+68=80, Resulting Numbers: [80]
80,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 16:[96, 16], Operations: ['46-34=12', '28-12=16']
Exploring Operation: 96/16=6, Resulting Numbers: [6]
6,16 unequal: No Solution
Exploring Operation: 96+16=112, Resulting Numbers: [112]
112,16 unequal: No Solution
Exploring Operation: 96-16=80, Resulting Numbers: [80]
80,16 unequal: No Solution
Exploring Operation: 96*16=1536, Resulting Numbers: [1536]
1536,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 16:[28, 84], Operations: ['46-34=12', '96-12=84']
Exploring Operation: 84-28=56, Resulting Numbers: [56]
56,16 unequal: No Solution
Exploring Operation: 84/28=3, Resulting Numbers: [3]
3,16 unequal: No Solution
Exploring Operation: 28*84=2352, Resulting Numbers: [2352]
2352,16 unequal: No Solution
Exploring Operation: 28+84=112, Resulting Numbers: [112]
112,16 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: 16:[34, 96, 18], Operations: ['46-28=18']
Exploring Operation: 96-18=78, Resulting Numbers: [34, 78]
Generated Node #0,1,0: 16:[34, 78] Operation: 96-18=78
Exploring Operation: 34-18=16, Resulting Numbers: [96, 16]
Generated Node #0,1,1: 16:[96, 16] Operation: 34-18=16
Exploring Operation: 34+96=130, Resulting Numbers: [18, 130]
Generated Node #0,1,2: 16:[18, 130] Operation: 34+96=130
Exploring Operation: 96-34=62, Resulting Numbers: [18, 62]
Generated Node #0,1,3: 16:[18, 62] Operation: 96-34=62
Moving to Node #0,3,0
Current State: 16:[28, 16], Operations: ['96-46=50', '50-34=16']
Exploring Operation: 28*16=448, Resulting Numbers: [448]
448,16 unequal: No Solution
Exploring Operation: 28+16=44, Resulting Numbers: [44]
44,16 unequal: No Solution
Exploring Operation: 28-16=12, Resulting Numbers: [12]
12,16 unequal: No Solution
Moving to Node #0,0,2
Current State: 16:[28, 16], Operations: ['96-34=62', '62-46=16']
Exploring Operation: 28+16=44, Resulting Numbers: [44]
44,16 unequal: No Solution
Exploring Operation: 28*16=448, Resulting Numbers: [448]
448,16 unequal: No Solution
Exploring Operation: 28-16=12, Resulting Numbers: [12]
12,16 unequal: No Solution
Moving to Node #0,3,2
Current State: 16:[34, 22], Operations: ['96-46=50', '50-28=22']
Exploring Operation: 34*22=748, Resulting Numbers: [748]
748,16 unequal: No Solution
Exploring Operation: 34-22=12, Resulting Numbers: [12]
12,16 unequal: No Solution
Exploring Operation: 34+22=56, Resulting Numbers: [56]
56,16 unequal: No Solution
Moving to Node #0,3,3
Current State: 16:[50, 6], Operations: ['96-46=50', '34-28=6']
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,16 unequal: No Solution
Exploring Operation: 50+6=56, Resulting Numbers: [56]
56,16 unequal: No Solution
Exploring Operation: 50*6=300, Resulting Numbers: [300]
300,16 unequal: No Solution
Moving to Node #0,0,3
Current State: 16:[62, 18], Operations: ['96-34=62', '46-28=18']
Exploring Operation: 62-18=44, Resulting Numbers: [44]
44,16 unequal: No Solution
Exploring Operation: 62+18=80, Resulting Numbers: [80]
80,16 unequal: No Solution
Exploring Operation: 62*18=1116, Resulting Numbers: [1116]
1116,16 unequal: No Solution
Moving to Node #0,0,0
Current State: 16:[46, 34], Operations: ['96-34=62', '62-28=34']
Exploring Operation: 46*34=1564, Resulting Numbers: [1564]
1564,16 unequal: No Solution
Exploring Operation: 46-34=12, Resulting Numbers: [12]
12,16 unequal: No Solution
Exploring Operation: 46+34=80, Resulting Numbers: [80]
80,16 unequal: No Solution
Moving to Node #0,1,3
Current State: 16:[18, 62], Operations: ['46-28=18', '96-34=62']
Exploring Operation: 18+62=80, Resulting Numbers: [80]
80,16 unequal: No Solution
Exploring Operation: 62-18=44, Resulting Numbers: [44]
44,16 unequal: No Solution
Exploring Operation: 18*62=1116, Resulting Numbers: [1116]
1116,16 unequal: No Solution
Moving to Node #0,1,0
Current State: 16:[34, 78], Operations: ['46-28=18', '96-18=78']
Exploring Operation: 34+78=112, Resulting Numbers: [112]
112,16 unequal: No Solution
Exploring Operation: 78-34=44, Resulting Numbers: [44]
44,16 unequal: No Solution
Exploring Operation: 34*78=2652, Resulting Numbers: [2652]
2652,16 unequal: No Solution
Moving to Node #0,1,1
Current State: 16:[96, 16], Operations: ['46-28=18', '34-18=16']
Exploring Operation: 96/16=6, Resulting Numbers: [6]
6,16 unequal: No Solution
Exploring Operation: 96*16=1536, Resulting Numbers: [1536]
1536,16 unequal: No Solution
Exploring Operation: 96+16=112, Resulting Numbers: [112]
112,16 unequal: No Solution
Exploring Operation: 96-16=80, Resulting Numbers: [80]
80,16 unequal: No Solution
Moving to Node #0,3,1
Current State: 16:[50, 62], Operations: ['96-46=50', '34+28=62']
Exploring Operation: 50+62=112, Resulting Numbers: [112]
112,16 unequal: No Solution
Exploring Operation: 62-50=12, Resulting Numbers: [12]
12,16 unequal: No Solution
Exploring Operation: 50*62=3100, Resulting Numbers: [3100]
3100,16 unequal: No Solution
Moving to Node #0,0,1
Current State: 16:[62, 74], Operations: ['96-34=62', '46+28=74']
Exploring Operation: 74-62=12, Resulting Numbers: [12]
12,16 unequal: No Solution
Exploring Operation: 62+74=136, Resulting Numbers: [136]
136,16 unequal: No Solution
Exploring Operation: 62*74=4588, Resulting Numbers: [4588]
4588,16 unequal: No Solution
Moving to Node #0,1,2
Current State: 16:[18, 130], Operations: ['46-28=18', '34+96=130']
Exploring Operation: 18*130=2340, Resulting Numbers: [2340]
2340,16 unequal: No Solution
Exploring Operation: 130-18=112, Resulting Numbers: [112]
112,16 unequal: No Solution
Exploring Operation: 18+130=148, Resulting Numbers: [148]
148,16 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
87,
44,
45,
64
] | 61 | [
"87+45=132",
"132/44=3",
"64-3=61"
] | Current State: 61:[87, 44, 45, 64], Operations: []
Exploring Operation: 87+45=132, Resulting Numbers: [44, 64, 132]
Generated Node #2: [44, 64, 132] from Operation: 87+45=132
Current State: 61:[44, 64, 132], Operations: ['87+45=132']
Exploring Operation: 132/44=3, Resulting Numbers: [64, 3]
Generated Node #3: [64, 3] from Operation: 132/44=3
Current State: 61:[64, 3], Operations: ['87+45=132', '132/44=3']
Exploring Operation: 64-3=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[87, 44, 45, 64], Operations: []
Exploring Operation: 87-45=42, Resulting Numbers: [44, 64, 42]
Generated Node #0,0: 61:[44, 64, 42] Operation: 87-45=42
Exploring Operation: 87-64=23, Resulting Numbers: [44, 45, 23]
Generated Node #0,1: 61:[44, 45, 23] Operation: 87-64=23
Exploring Operation: 44+45=89, Resulting Numbers: [87, 64, 89]
Generated Node #0,2: 61:[87, 64, 89] Operation: 44+45=89
Exploring Operation: 87-44=43, Resulting Numbers: [45, 64, 43]
Generated Node #0,3: 61:[45, 64, 43] Operation: 87-44=43
Moving to Node #0,3
Current State: 61:[45, 64, 43], Operations: ['87-44=43']
Exploring Operation: 64-43=21, Resulting Numbers: [45, 21]
Generated Node #0,3,0: 61:[45, 21] Operation: 64-43=21
Exploring Operation: 45-43=2, Resulting Numbers: [64, 2]
Generated Node #0,3,1: 61:[64, 2] Operation: 45-43=2
Exploring Operation: 64-45=19, Resulting Numbers: [43, 19]
Generated Node #0,3,2: 61:[43, 19] Operation: 64-45=19
Exploring Operation: 45+43=88, Resulting Numbers: [64, 88]
Generated Node #0,3,3: 61:[64, 88] Operation: 45+43=88
Moving to Node #0,0
Current State: 61:[44, 64, 42], Operations: ['87-45=42']
Exploring Operation: 44-42=2, Resulting Numbers: [64, 2]
Generated Node #0,0,0: 61:[64, 2] Operation: 44-42=2
Exploring Operation: 64-42=22, Resulting Numbers: [44, 22]
Generated Node #0,0,1: 61:[44, 22] Operation: 64-42=22
Exploring Operation: 44+42=86, Resulting Numbers: [64, 86]
Generated Node #0,0,2: 61:[64, 86] Operation: 44+42=86
Exploring Operation: 64-44=20, Resulting Numbers: [42, 20]
Generated Node #0,0,3: 61:[42, 20] Operation: 64-44=20
Moving to Node #0,2
Current State: 61:[87, 64, 89], Operations: ['44+45=89']
Exploring Operation: 87-64=23, Resulting Numbers: [89, 23]
Generated Node #0,2,0: 61:[89, 23] Operation: 87-64=23
Exploring Operation: 89-64=25, Resulting Numbers: [87, 25]
Generated Node #0,2,1: 61:[87, 25] Operation: 89-64=25
Exploring Operation: 89-87=2, Resulting Numbers: [64, 2]
Generated Node #0,2,2: 61:[64, 2] Operation: 89-87=2
Exploring Operation: 87+64=151, Resulting Numbers: [89, 151]
Generated Node #0,2,3: 61:[89, 151] Operation: 87+64=151
Moving to Node #0,1
Current State: 61:[44, 45, 23], Operations: ['87-64=23']
Exploring Operation: 44+23=67, Resulting Numbers: [45, 67]
Generated Node #0,1,0: 61:[45, 67] Operation: 44+23=67
Exploring Operation: 44-23=21, Resulting Numbers: [45, 21]
Generated Node #0,1,1: 61:[45, 21] Operation: 44-23=21
Exploring Operation: 45-23=22, Resulting Numbers: [44, 22]
Generated Node #0,1,2: 61:[44, 22] Operation: 45-23=22
Exploring Operation: 45+23=68, Resulting Numbers: [44, 68]
Generated Node #0,1,3: 61:[44, 68] Operation: 45+23=68
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 61:[45, 67], Operations: ['87-64=23', '44+23=67']
Exploring Operation: 45+67=112, Resulting Numbers: [112]
112,61 unequal: No Solution
Exploring Operation: 67-45=22, Resulting Numbers: [22]
22,61 unequal: No Solution
Exploring Operation: 45*67=3015, Resulting Numbers: [3015]
3015,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 61:[44, 68], Operations: ['87-64=23', '45+23=68']
Exploring Operation: 44+68=112, Resulting Numbers: [112]
112,61 unequal: No Solution
Exploring Operation: 68-44=24, Resulting Numbers: [24]
24,61 unequal: No Solution
Exploring Operation: 44*68=2992, Resulting Numbers: [2992]
2992,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 61:[45, 21], Operations: ['87-64=23', '44-23=21']
Exploring Operation: 45-21=24, Resulting Numbers: [24]
24,61 unequal: No Solution
Exploring Operation: 45*21=945, Resulting Numbers: [945]
945,61 unequal: No Solution
Exploring Operation: 45+21=66, Resulting Numbers: [66]
66,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 61:[44, 22], Operations: ['87-64=23', '45-23=22']
Exploring Operation: 44*22=968, Resulting Numbers: [968]
968,61 unequal: No Solution
Exploring Operation: 44-22=22, Resulting Numbers: [22]
22,61 unequal: No Solution
Exploring Operation: 44/22=2, Resulting Numbers: [2]
2,61 unequal: No Solution
Exploring Operation: 44+22=66, Resulting Numbers: [66]
66,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 61:[64, 86], Operations: ['87-45=42', '44+42=86']
Exploring Operation: 86-64=22, Resulting Numbers: [22]
22,61 unequal: No Solution
Exploring Operation: 64*86=5504, Resulting Numbers: [5504]
5504,61 unequal: No Solution
Exploring Operation: 64+86=150, Resulting Numbers: [150]
150,61 unequal: No Solution
Moving to Node #0,3,3
Current State: 61:[64, 88], Operations: ['87-44=43', '45+43=88']
Exploring Operation: 64*88=5632, Resulting Numbers: [5632]
5632,61 unequal: No Solution
Exploring Operation: 64+88=152, Resulting Numbers: [152]
152,61 unequal: No Solution
Exploring Operation: 88-64=24, Resulting Numbers: [24]
24,61 unequal: No Solution
Moving to Node #0,0,1
Current State: 61:[44, 22], Operations: ['87-45=42', '64-42=22']
Exploring Operation: 44-22=22, Resulting Numbers: [22]
22,61 unequal: No Solution
Exploring Operation: 44*22=968, Resulting Numbers: [968]
968,61 unequal: No Solution
Exploring Operation: 44+22=66, Resulting Numbers: [66]
66,61 unequal: No Solution
Exploring Operation: 44/22=2, Resulting Numbers: [2]
2,61 unequal: No Solution
Moving to Node #0,3,0
Current State: 61:[45, 21], Operations: ['87-44=43', '64-43=21']
Exploring Operation: 45*21=945, Resulting Numbers: [945]
945,61 unequal: No Solution
Exploring Operation: 45+21=66, Resulting Numbers: [66]
66,61 unequal: No Solution
Exploring Operation: 45-21=24, Resulting Numbers: [24]
24,61 unequal: No Solution
Moving to Node #0,0,3
Current State: 61:[42, 20], Operations: ['87-45=42', '64-44=20']
Exploring Operation: 42+20=62, Resulting Numbers: [62]
62,61 unequal: No Solution
Exploring Operation: 42*20=840, Resulting Numbers: [840]
840,61 unequal: No Solution
Exploring Operation: 42-20=22, Resulting Numbers: [22]
22,61 unequal: No Solution
Moving to Node #0,3,2
Current State: 61:[43, 19], Operations: ['87-44=43', '64-45=19']
Exploring Operation: 43+19=62, Resulting Numbers: [62]
62,61 unequal: No Solution
Exploring Operation: 43-19=24, Resulting Numbers: [24]
24,61 unequal: No Solution
Exploring Operation: 43*19=817, Resulting Numbers: [817]
817,61 unequal: No Solution
Moving to Node #0,2,1
Current State: 61:[87, 25], Operations: ['44+45=89', '89-64=25']
Exploring Operation: 87*25=2175, Resulting Numbers: [2175]
2175,61 unequal: No Solution
Exploring Operation: 87-25=62, Resulting Numbers: [62]
62,61 unequal: No Solution
Exploring Operation: 87+25=112, Resulting Numbers: [112]
112,61 unequal: No Solution
Moving to Node #0,0,0
Current State: 61:[64, 2], Operations: ['87-45=42', '44-42=2']
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,61 unequal: No Solution
Exploring Operation: 64+2=66, Resulting Numbers: [66]
66,61 unequal: No Solution
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,61 unequal: No Solution
Exploring Operation: 64*2=128, Resulting Numbers: [128]
128,61 unequal: No Solution
Moving to Node #0,2,2
Current State: 61:[64, 2], Operations: ['44+45=89', '89-87=2']
Exploring Operation: 64*2=128, Resulting Numbers: [128]
128,61 unequal: No Solution
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,61 unequal: No Solution
Exploring Operation: 64+2=66, Resulting Numbers: [66]
66,61 unequal: No Solution
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,61 unequal: No Solution
Moving to Node #0,3,1
Current State: 61:[64, 2], Operations: ['87-44=43', '45-43=2']
Exploring Operation: 64*2=128, Resulting Numbers: [128]
128,61 unequal: No Solution
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,61 unequal: No Solution
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,61 unequal: No Solution
Exploring Operation: 64+2=66, Resulting Numbers: [66]
66,61 unequal: No Solution
Moving to Node #0,2,0
Current State: 61:[89, 23], Operations: ['44+45=89', '87-64=23']
Exploring Operation: 89-23=66, Resulting Numbers: [66]
66,61 unequal: No Solution
Exploring Operation: 89*23=2047, Resulting Numbers: [2047]
2047,61 unequal: No Solution
Exploring Operation: 89+23=112, Resulting Numbers: [112]
112,61 unequal: No Solution
Moving to Node #0,2,3
Current State: 61:[89, 151], Operations: ['44+45=89', '87+64=151']
Exploring Operation: 89+151=240, Resulting Numbers: [240]
240,61 unequal: No Solution
Exploring Operation: 89*151=13439, Resulting Numbers: [13439]
13439,61 unequal: No Solution
Exploring Operation: 151-89=62, Resulting Numbers: [62]
62,61 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
84,
14,
56,
67
] | 17 | [
"84/14=6",
"67-56=11",
"6+11=17"
] | Current State: 17:[84, 14, 56, 67], Operations: []
Exploring Operation: 84/14=6, Resulting Numbers: [56, 67, 6]
Generated Node #2: [56, 67, 6] from Operation: 84/14=6
Current State: 17:[56, 67, 6], Operations: ['84/14=6']
Exploring Operation: 67-56=11, Resulting Numbers: [6, 11]
Generated Node #3: [6, 11] from Operation: 67-56=11
Current State: 17:[6, 11], Operations: ['84/14=6', '67-56=11']
Exploring Operation: 6+11=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[84, 14, 56, 67], Operations: []
Exploring Operation: 84-56=28, Resulting Numbers: [14, 67, 28]
Generated Node #0,0: 17:[14, 67, 28] Operation: 84-56=28
Exploring Operation: 67-56=11, Resulting Numbers: [84, 14, 11]
Generated Node #0,1: 17:[84, 14, 11] Operation: 67-56=11
Exploring Operation: 84-67=17, Resulting Numbers: [14, 56, 17]
Generated Node #0,2: 17:[14, 56, 17] Operation: 84-67=17
Moving to Node #0,2
Current State: 17:[14, 56, 17], Operations: ['84-67=17']
Exploring Operation: 56-14=42, Resulting Numbers: [17, 42]
Generated Node #0,2,0: 17:[17, 42] Operation: 56-14=42
Exploring Operation: 56-17=39, Resulting Numbers: [14, 39]
Generated Node #0,2,1: 17:[14, 39] Operation: 56-17=39
Exploring Operation: 56/14=4, Resulting Numbers: [17, 4]
Generated Node #0,2,2: 17:[17, 4] Operation: 56/14=4
Moving to Node #0,0
Current State: 17:[14, 67, 28], Operations: ['84-56=28']
Exploring Operation: 67-28=39, Resulting Numbers: [14, 39]
Generated Node #0,0,0: 17:[14, 39] Operation: 67-28=39
Exploring Operation: 67-14=53, Resulting Numbers: [28, 53]
Generated Node #0,0,1: 17:[28, 53] Operation: 67-14=53
Exploring Operation: 28-14=14, Resulting Numbers: [67, 14]
Generated Node #0,0,2: 17:[67, 14] Operation: 28-14=14
Moving to Node #0,1
Current State: 17:[84, 14, 11], Operations: ['67-56=11']
Exploring Operation: 84/14=6, Resulting Numbers: [11, 6]
Generated Node #0,1,0: 17:[11, 6] Operation: 84/14=6
Exploring Operation: 84-11=73, Resulting Numbers: [14, 73]
Generated Node #0,1,1: 17:[14, 73] Operation: 84-11=73
Exploring Operation: 84-14=70, Resulting Numbers: [11, 70]
Generated Node #0,1,2: 17:[11, 70] Operation: 84-14=70
Moving to Node #0,2,2
Current State: 17:[17, 4], Operations: ['84-67=17', '56/14=4']
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,17 unequal: No Solution
Exploring Operation: 17*4=68, Resulting Numbers: [68]
68,17 unequal: No Solution
Exploring Operation: 17+4=21, Resulting Numbers: [21]
21,17 unequal: No Solution
Moving to Node #0,1,0
Current State: 17:[11, 6], Operations: ['67-56=11', '84/14=6']
Exploring Operation: 11+6=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[84, 14, 56, 67], Operations: []
Exploring Operation: 67-56=11, Resulting Numbers: [84, 14, 11]
Generated Node #0,1: 17:[84, 14, 11] Operation: 67-56=11
Moving to Node #0,1
Current State: 17:[84, 14, 11], Operations: ['67-56=11']
Exploring Operation: 84/14=6, Resulting Numbers: [11, 6]
Generated Node #0,1,0: 17:[11, 6] Operation: 84/14=6
Moving to Node #0,1,0
Current State: 17:[11, 6], Operations: ['67-56=11', '84/14=6']
Exploring Operation: 11+6=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 0.982639 | hs_3 | sum_heuristic |
[
50,
5,
27,
3
] | 25 | [
"50+5=55",
"27+3=30",
"55-30=25"
] | Current State: 25:[50, 5, 27, 3], Operations: []
Exploring Operation: 50+5=55, Resulting Numbers: [27, 3, 55]
Generated Node #2: [27, 3, 55] from Operation: 50+5=55
Current State: 25:[27, 3, 55], Operations: ['50+5=55']
Exploring Operation: 27+3=30, Resulting Numbers: [55, 30]
Generated Node #3: [55, 30] from Operation: 27+3=30
Current State: 25:[55, 30], Operations: ['50+5=55', '27+3=30']
Exploring Operation: 55-30=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[50, 5, 27, 3], Operations: []
Exploring Operation: 50/5=10, Resulting Numbers: [27, 3, 10]
Generated Node #0,0: 25:[27, 3, 10] Operation: 50/5=10
Exploring Operation: 50-27=23, Resulting Numbers: [5, 3, 23]
Generated Node #0,1: 25:[5, 3, 23] Operation: 50-27=23
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[5, 3, 23], Operations: ['50-27=23']
Exploring Operation: 5+3=8, Resulting Numbers: [23, 8]
Generated Node #0,1,0: 25:[23, 8] Operation: 5+3=8
Exploring Operation: 3+23=26, Resulting Numbers: [5, 26]
Generated Node #0,1,1: 25:[5, 26] Operation: 3+23=26
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 25:[5, 26], Operations: ['50-27=23', '3+23=26']
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,25 unequal: No Solution
Exploring Operation: 5+26=31, Resulting Numbers: [31]
31,25 unequal: No Solution
No 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: 25:[23, 8], Operations: ['50-27=23', '5+3=8']
Exploring Operation: 23+8=31, Resulting Numbers: [31]
31,25 unequal: No Solution
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,25 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: 25:[27, 3, 10], Operations: ['50/5=10']
Exploring Operation: 27-3=24, Resulting Numbers: [10, 24]
Generated Node #0,0,0: 25:[10, 24] Operation: 27-3=24
Exploring Operation: 10-3=7, Resulting Numbers: [27, 7]
Generated Node #0,0,1: 25:[27, 7] Operation: 10-3=7
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 25:[27, 7], Operations: ['50/5=10', '10-3=7']
Exploring Operation: 27+7=34, Resulting Numbers: [34]
34,25 unequal: No Solution
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,25 unequal: No Solution
No 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: 25:[10, 24], Operations: ['50/5=10', '27-3=24']
Exploring Operation: 10+24=34, Resulting Numbers: [34]
34,25 unequal: No Solution
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,25 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 |
[
46,
43,
6,
13
] | 81 | [
"46-43=3",
"6*13=78",
"3+78=81"
] | Current State: 81:[46, 43, 6, 13], Operations: []
Exploring Operation: 46-43=3, Resulting Numbers: [6, 13, 3]
Generated Node #2: [6, 13, 3] from Operation: 46-43=3
Current State: 81:[6, 13, 3], Operations: ['46-43=3']
Exploring Operation: 6*13=78, Resulting Numbers: [3, 78]
Generated Node #3: [3, 78] from Operation: 6*13=78
Current State: 81:[3, 78], Operations: ['46-43=3', '6*13=78']
Exploring Operation: 3+78=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[46, 43, 6, 13], Operations: []
Exploring Operation: 46+43=89, Resulting Numbers: [6, 13, 89]
Generated Node #0,0: 81:[6, 13, 89] Operation: 46+43=89
Exploring Operation: 46-43=3, Resulting Numbers: [6, 13, 3]
Generated Node #0,1: 81:[6, 13, 3] Operation: 46-43=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[6, 13, 3], Operations: ['46-43=3']
Exploring Operation: 6*13=78, Resulting Numbers: [3, 78]
Generated Node #0,1,0: 81:[3, 78] Operation: 6*13=78
Exploring Operation: 13-6=7, Resulting Numbers: [3, 7]
Generated Node #0,1,1: 81:[3, 7] Operation: 13-6=7
Moving to Node #0,1,1
Current State: 81:[3, 7], Operations: ['46-43=3', '13-6=7']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,81 unequal: No Solution
Exploring Operation: 3+7=10, Resulting Numbers: [10]
10,81 unequal: No Solution
Moving to Node #0,1,0
Current State: 81:[3, 78], Operations: ['46-43=3', '6*13=78']
Exploring Operation: 3+78=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[46, 43, 6, 13], Operations: []
Exploring Operation: 46-43=3, Resulting Numbers: [6, 13, 3]
Generated Node #0,1: 81:[6, 13, 3] Operation: 46-43=3
Moving to Node #0,1
Current State: 81:[6, 13, 3], Operations: ['46-43=3']
Exploring Operation: 6*13=78, Resulting Numbers: [3, 78]
Generated Node #0,1,0: 81:[3, 78] Operation: 6*13=78
Moving to Node #0,1,0
Current State: 81:[3, 78], Operations: ['46-43=3', '6*13=78']
Exploring Operation: 3+78=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
27,
3,
7,
42
] | 63 | [
"27*7=189",
"3*42=126",
"189-126=63"
] | Current State: 63:[27, 3, 7, 42], Operations: []
Exploring Operation: 27*7=189, Resulting Numbers: [3, 42, 189]
Generated Node #2: [3, 42, 189] from Operation: 27*7=189
Current State: 63:[3, 42, 189], Operations: ['27*7=189']
Exploring Operation: 3*42=126, Resulting Numbers: [189, 126]
Generated Node #3: [189, 126] from Operation: 3*42=126
Current State: 63:[189, 126], Operations: ['27*7=189', '3*42=126']
Exploring Operation: 189-126=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[27, 3, 7, 42], Operations: []
Exploring Operation: 27+42=69, Resulting Numbers: [3, 7, 69]
Generated Node #0,0: 63:[3, 7, 69] Operation: 27+42=69
Exploring Operation: 42/3=14, Resulting Numbers: [27, 7, 14]
Generated Node #0,1: 63:[27, 7, 14] Operation: 42/3=14
Exploring Operation: 42/7=6, Resulting Numbers: [27, 3, 6]
Generated Node #0,2: 63:[27, 3, 6] Operation: 42/7=6
Exploring Operation: 7+42=49, Resulting Numbers: [27, 3, 49]
Generated Node #0,3: 63:[27, 3, 49] Operation: 7+42=49
Exploring Operation: 42-27=15, Resulting Numbers: [3, 7, 15]
Generated Node #0,4: 63:[3, 7, 15] Operation: 42-27=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[3, 7, 69], Operations: ['27+42=69']
Exploring Operation: 3*7=21, Resulting Numbers: [69, 21]
Generated Node #0,0,0: 63:[69, 21] Operation: 3*7=21
Exploring Operation: 69-3=66, Resulting Numbers: [7, 66]
Generated Node #0,0,1: 63:[7, 66] Operation: 69-3=66
Exploring Operation: 69/3=23, Resulting Numbers: [7, 23]
Generated Node #0,0,2: 63:[7, 23] Operation: 69/3=23
Exploring Operation: 69-7=62, Resulting Numbers: [3, 62]
Generated Node #0,0,3: 63:[3, 62] Operation: 69-7=62
Exploring Operation: 3+7=10, Resulting Numbers: [69, 10]
Generated Node #0,0,4: 63:[69, 10] Operation: 3+7=10
Moving to Node #0,0,3
Current State: 63:[3, 62], Operations: ['27+42=69', '69-7=62']
Exploring Operation: 3+62=65, Resulting Numbers: [65]
65,63 unequal: No Solution
Exploring Operation: 3*62=186, Resulting Numbers: [186]
186,63 unequal: No Solution
Exploring Operation: 62-3=59, Resulting Numbers: [59]
59,63 unequal: No Solution
Moving to Node #0,0,2
Current State: 63:[7, 23], Operations: ['27+42=69', '69/3=23']
Exploring Operation: 7*23=161, Resulting Numbers: [161]
161,63 unequal: No Solution
Exploring Operation: 7+23=30, Resulting Numbers: [30]
30,63 unequal: No Solution
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,63 unequal: No Solution
Moving to Node #0,0,1
Current State: 63:[7, 66], Operations: ['27+42=69', '69-3=66']
Exploring Operation: 7*66=462, Resulting Numbers: [462]
462,63 unequal: No Solution
Exploring Operation: 7+66=73, Resulting Numbers: [73]
73,63 unequal: No Solution
Exploring Operation: 66-7=59, Resulting Numbers: [59]
59,63 unequal: No Solution
Moving to Node #0,0,0
Current State: 63:[69, 21], Operations: ['27+42=69', '3*7=21']
Exploring Operation: 69-21=48, Resulting Numbers: [48]
48,63 unequal: No Solution
Exploring Operation: 69+21=90, Resulting Numbers: [90]
90,63 unequal: No Solution
Exploring Operation: 69*21=1449, Resulting Numbers: [1449]
1449,63 unequal: No Solution
Moving to Node #0,0,4
Current State: 63:[69, 10], Operations: ['27+42=69', '3+7=10']
Exploring Operation: 69+10=79, Resulting Numbers: [79]
79,63 unequal: No Solution
Exploring Operation: 69*10=690, Resulting Numbers: [690]
690,63 unequal: No Solution
Exploring Operation: 69-10=59, Resulting Numbers: [59]
59,63 unequal: No Solution
No 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: 63:[3, 7, 15], Operations: ['42-27=15']
Exploring Operation: 7+15=22, Resulting Numbers: [3, 22]
Generated Node #0,4,0: 63:[3, 22] Operation: 7+15=22
Exploring Operation: 15/3=5, Resulting Numbers: [7, 5]
Generated Node #0,4,1: 63:[7, 5] Operation: 15/3=5
Exploring Operation: 15-7=8, Resulting Numbers: [3, 8]
Generated Node #0,4,2: 63:[3, 8] Operation: 15-7=8
Exploring Operation: 3+15=18, Resulting Numbers: [7, 18]
Generated Node #0,4,3: 63:[7, 18] Operation: 3+15=18
Exploring Operation: 15-3=12, Resulting Numbers: [7, 12]
Generated Node #0,4,4: 63:[7, 12] Operation: 15-3=12
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 63:[3, 22], Operations: ['42-27=15', '7+15=22']
Exploring Operation: 3+22=25, Resulting Numbers: [25]
25,63 unequal: No Solution
Exploring Operation: 3*22=66, Resulting Numbers: [66]
66,63 unequal: No Solution
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 63:[3, 8], Operations: ['42-27=15', '15-7=8']
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,63 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,63 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 63:[7, 5], Operations: ['42-27=15', '15/3=5']
Exploring Operation: 7*5=35, Resulting Numbers: [35]
35,63 unequal: No Solution
Exploring Operation: 7+5=12, Resulting Numbers: [12]
12,63 unequal: No Solution
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 63:[7, 18], Operations: ['42-27=15', '3+15=18']
Exploring Operation: 7*18=126, Resulting Numbers: [126]
126,63 unequal: No Solution
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,63 unequal: No Solution
Exploring Operation: 7+18=25, Resulting Numbers: [25]
25,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 63:[7, 12], Operations: ['42-27=15', '15-3=12']
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,63 unequal: No Solution
Exploring Operation: 7*12=84, Resulting Numbers: [84]
84,63 unequal: No Solution
Exploring Operation: 7+12=19, Resulting Numbers: [19]
19,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 63:[27, 3, 6], Operations: ['42/7=6']
Exploring Operation: 6-3=3, Resulting Numbers: [27, 3]
Generated Node #0,2,0: 63:[27, 3] Operation: 6-3=3
Exploring Operation: 27-3=24, Resulting Numbers: [6, 24]
Generated Node #0,2,1: 63:[6, 24] Operation: 27-3=24
Exploring Operation: 27-6=21, Resulting Numbers: [3, 21]
Generated Node #0,2,2: 63:[3, 21] Operation: 27-6=21
Exploring Operation: 3+6=9, Resulting Numbers: [27, 9]
Generated Node #0,2,3: 63:[27, 9] Operation: 3+6=9
Exploring Operation: 27/3=9, Resulting Numbers: [6, 9]
Generated Node #0,2,4: 63:[6, 9] Operation: 27/3=9
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 63:[3, 21], Operations: ['42/7=6', '27-6=21']
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,63 unequal: No Solution
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,63 unequal: No Solution
Exploring Operation: 3*21=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[27, 3, 7, 42], Operations: []
Exploring Operation: 42/7=6, Resulting Numbers: [27, 3, 6]
Generated Node #0,2: 63:[27, 3, 6] Operation: 42/7=6
Moving to Node #0,2
Current State: 63:[27, 3, 6], Operations: ['42/7=6']
Exploring Operation: 27-6=21, Resulting Numbers: [3, 21]
Generated Node #0,2,2: 63:[3, 21] Operation: 27-6=21
Moving to Node #0,2,2
Current State: 63:[3, 21], Operations: ['42/7=6', '27-6=21']
Exploring Operation: 3*21=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.950521 | hs_5 | mult_heuristic |
[
58,
66,
2,
97
] | 85 | [
"58*2=116",
"97-66=31",
"116-31=85"
] | Current State: 85:[58, 66, 2, 97], Operations: []
Exploring Operation: 58*2=116, Resulting Numbers: [66, 97, 116]
Generated Node #2: [66, 97, 116] from Operation: 58*2=116
Current State: 85:[66, 97, 116], Operations: ['58*2=116']
Exploring Operation: 97-66=31, Resulting Numbers: [116, 31]
Generated Node #3: [116, 31] from Operation: 97-66=31
Current State: 85:[116, 31], Operations: ['58*2=116', '97-66=31']
Exploring Operation: 116-31=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[58, 66, 2, 97], Operations: []
Exploring Operation: 66-58=8, Resulting Numbers: [2, 97, 8]
Generated Node #0,0: 85:[2, 97, 8] Operation: 66-58=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[2, 97, 8], Operations: ['66-58=8']
Exploring Operation: 97-8=89, Resulting Numbers: [2, 89]
Generated Node #0,0,0: 85:[2, 89] Operation: 97-8=89
Moving to Node #0,0,0
Current State: 85:[2, 89], Operations: ['66-58=8', '97-8=89']
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
98,
40,
22,
98
] | 17 | [
"98/98=1",
"40-22=18",
"18-1=17"
] | Current State: 17:[98, 40, 22, 98], Operations: []
Exploring Operation: 98/98=1, Resulting Numbers: [40, 22, 1]
Generated Node #2: [40, 22, 1] from Operation: 98/98=1
Current State: 17:[40, 22, 1], Operations: ['98/98=1']
Exploring Operation: 40-22=18, Resulting Numbers: [1, 18]
Generated Node #3: [1, 18] from Operation: 40-22=18
Current State: 17:[1, 18], Operations: ['98/98=1', '40-22=18']
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[98, 40, 22, 98], Operations: []
Exploring Operation: 98/98=1, Resulting Numbers: [40, 22, 1]
Generated Node #0,0: 17:[40, 22, 1] Operation: 98/98=1
Exploring Operation: 98-98=0, Resulting Numbers: [40, 22, 0]
Generated Node #0,1: 17:[40, 22, 0] Operation: 98-98=0
Moving to Node #0,0
Current State: 17:[40, 22, 1], Operations: ['98/98=1']
Exploring Operation: 40-22=18, Resulting Numbers: [1, 18]
Generated Node #0,0,0: 17:[1, 18] Operation: 40-22=18
Exploring Operation: 40-1=39, Resulting Numbers: [22, 39]
Generated Node #0,0,1: 17:[22, 39] Operation: 40-1=39
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 17:[1, 18], Operations: ['98/98=1', '40-22=18']
Exploring Operation: 1*18=18, Resulting Numbers: [18]
18,17 unequal: No Solution
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[98, 40, 22, 98], Operations: []
Exploring Operation: 98/98=1, Resulting Numbers: [40, 22, 1]
Generated Node #0,0: 17:[40, 22, 1] Operation: 98/98=1
Moving to Node #0,0
Current State: 17:[40, 22, 1], Operations: ['98/98=1']
Exploring Operation: 40-22=18, Resulting Numbers: [1, 18]
Generated Node #0,0,0: 17:[1, 18] Operation: 40-22=18
Moving to Node #0,0,0
Current State: 17:[1, 18], Operations: ['98/98=1', '40-22=18']
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
60,
15,
16,
22
] | 86 | [
"60/15=4",
"16*4=64",
"22+64=86"
] | Current State: 86:[60, 15, 16, 22], Operations: []
Exploring Operation: 60/15=4, Resulting Numbers: [16, 22, 4]
Generated Node #2: [16, 22, 4] from Operation: 60/15=4
Current State: 86:[16, 22, 4], Operations: ['60/15=4']
Exploring Operation: 16*4=64, Resulting Numbers: [22, 64]
Generated Node #3: [22, 64] from Operation: 16*4=64
Current State: 86:[22, 64], Operations: ['60/15=4', '16*4=64']
Exploring Operation: 22+64=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[60, 15, 16, 22], Operations: []
Exploring Operation: 60-22=38, Resulting Numbers: [15, 16, 38]
Generated Node #0,0: 86:[15, 16, 38] Operation: 60-22=38
Exploring Operation: 60+22=82, Resulting Numbers: [15, 16, 82]
Generated Node #0,1: 86:[15, 16, 82] Operation: 60+22=82
Exploring Operation: 60-16=44, Resulting Numbers: [15, 22, 44]
Generated Node #0,2: 86:[15, 22, 44] Operation: 60-16=44
Exploring Operation: 22-16=6, Resulting Numbers: [60, 15, 6]
Generated Node #0,3: 86:[60, 15, 6] Operation: 22-16=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[15, 16, 82], Operations: ['60+22=82']
Exploring Operation: 15+16=31, Resulting Numbers: [82, 31]
Generated Node #0,1,0: 86:[82, 31] Operation: 15+16=31
Exploring Operation: 16-15=1, Resulting Numbers: [82, 1]
Generated Node #0,1,1: 86:[82, 1] Operation: 16-15=1
Exploring Operation: 15+82=97, Resulting Numbers: [16, 97]
Generated Node #0,1,2: 86:[16, 97] Operation: 15+82=97
Exploring Operation: 16+82=98, Resulting Numbers: [15, 98]
Generated Node #0,1,3: 86:[15, 98] Operation: 16+82=98
Moving to Node #0,1,1
Current State: 86:[82, 1], Operations: ['60+22=82', '16-15=1']
Exploring Operation: 82/1=82, Resulting Numbers: [82]
82,86 unequal: No Solution
Exploring Operation: 82+1=83, Resulting Numbers: [83]
83,86 unequal: No Solution
Exploring Operation: 82*1=82, Resulting Numbers: [82]
82,86 unequal: No Solution
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,86 unequal: No Solution
Moving to Node #0,1,0
Current State: 86:[82, 31], Operations: ['60+22=82', '15+16=31']
Exploring Operation: 82-31=51, Resulting Numbers: [51]
51,86 unequal: No Solution
Exploring Operation: 82+31=113, Resulting Numbers: [113]
113,86 unequal: No Solution
Exploring Operation: 82*31=2542, Resulting Numbers: [2542]
2542,86 unequal: No Solution
Moving to Node #0,1,3
Current State: 86:[15, 98], Operations: ['60+22=82', '16+82=98']
Exploring Operation: 15*98=1470, Resulting Numbers: [1470]
1470,86 unequal: No Solution
Exploring Operation: 15+98=113, Resulting Numbers: [113]
113,86 unequal: No Solution
Exploring Operation: 98-15=83, Resulting Numbers: [83]
83,86 unequal: No Solution
Moving to Node #0,1,2
Current State: 86:[16, 97], Operations: ['60+22=82', '15+82=97']
Exploring Operation: 97-16=81, Resulting Numbers: [81]
81,86 unequal: No Solution
Exploring Operation: 16*97=1552, Resulting Numbers: [1552]
1552,86 unequal: No Solution
Exploring Operation: 16+97=113, Resulting Numbers: [113]
113,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[15, 16, 38], Operations: ['60-22=38']
Exploring Operation: 15+16=31, Resulting Numbers: [38, 31]
Generated Node #0,0,0: 86:[38, 31] Operation: 15+16=31
Exploring Operation: 15+38=53, Resulting Numbers: [16, 53]
Generated Node #0,0,1: 86:[16, 53] Operation: 15+38=53
Exploring Operation: 16-15=1, Resulting Numbers: [38, 1]
Generated Node #0,0,2: 86:[38, 1] Operation: 16-15=1
Exploring Operation: 16+38=54, Resulting Numbers: [15, 54]
Generated Node #0,0,3: 86:[15, 54] Operation: 16+38=54
Moving to Node #0,0,2
Current State: 86:[38, 1], Operations: ['60-22=38', '16-15=1']
Exploring Operation: 38/1=38, Resulting Numbers: [38]
38,86 unequal: No Solution
Exploring Operation: 38+1=39, Resulting Numbers: [39]
39,86 unequal: No Solution
Exploring Operation: 38*1=38, Resulting Numbers: [38]
38,86 unequal: No Solution
Exploring Operation: 38-1=37, Resulting Numbers: [37]
37,86 unequal: No Solution
Moving to Node #0,0,0
Current State: 86:[38, 31], Operations: ['60-22=38', '15+16=31']
Exploring Operation: 38*31=1178, Resulting Numbers: [1178]
1178,86 unequal: No Solution
Exploring Operation: 38+31=69, Resulting Numbers: [69]
69,86 unequal: No Solution
Exploring Operation: 38-31=7, Resulting Numbers: [7]
7,86 unequal: No Solution
Moving to Node #0,0,3
Current State: 86:[15, 54], Operations: ['60-22=38', '16+38=54']
Exploring Operation: 54-15=39, Resulting Numbers: [39]
39,86 unequal: No Solution
Exploring Operation: 15*54=810, Resulting Numbers: [810]
810,86 unequal: No Solution
Exploring Operation: 15+54=69, Resulting Numbers: [69]
69,86 unequal: No Solution
Moving to Node #0,0,1
Current State: 86:[16, 53], Operations: ['60-22=38', '15+38=53']
Exploring Operation: 53-16=37, Resulting Numbers: [37]
37,86 unequal: No Solution
Exploring Operation: 16*53=848, Resulting Numbers: [848]
848,86 unequal: No Solution
Exploring Operation: 16+53=69, Resulting Numbers: [69]
69,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 86:[15, 22, 44], Operations: ['60-16=44']
Exploring Operation: 44/22=2, Resulting Numbers: [15, 2]
Generated Node #0,2,0: 86:[15, 2] Operation: 44/22=2
Exploring Operation: 15+22=37, Resulting Numbers: [44, 37]
Generated Node #0,2,1: 86:[44, 37] Operation: 15+22=37
Exploring Operation: 22-15=7, Resulting Numbers: [44, 7]
Generated Node #0,2,2: 86:[44, 7] Operation: 22-15=7
Exploring Operation: 22+44=66, Resulting Numbers: [15, 66]
Generated Node #0,2,3: 86:[15, 66] Operation: 22+44=66
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 86:[44, 7], Operations: ['60-16=44', '22-15=7']
Exploring Operation: 44+7=51, Resulting Numbers: [51]
51,86 unequal: No Solution
Exploring Operation: 44*7=308, Resulting Numbers: [308]
308,86 unequal: No Solution
Exploring Operation: 44-7=37, Resulting Numbers: [37]
37,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 86:[44, 37], Operations: ['60-16=44', '15+22=37']
Exploring Operation: 44+37=81, Resulting Numbers: [81]
81,86 unequal: No Solution
Exploring Operation: 44*37=1628, Resulting Numbers: [1628]
1628,86 unequal: No Solution
Exploring Operation: 44-37=7, Resulting Numbers: [7]
7,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 86:[15, 2], Operations: ['60-16=44', '44/22=2']
Exploring Operation: 15*2=30, Resulting Numbers: [30]
30,86 unequal: No Solution
Exploring Operation: 15+2=17, Resulting Numbers: [17]
17,86 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 86:[15, 66], Operations: ['60-16=44', '22+44=66']
Exploring Operation: 66-15=51, Resulting Numbers: [51]
51,86 unequal: No Solution
Exploring Operation: 15+66=81, Resulting Numbers: [81]
81,86 unequal: No Solution
Exploring Operation: 15*66=990, Resulting Numbers: [990]
990,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 86:[60, 15, 6], Operations: ['22-16=6']
Exploring Operation: 60/6=10, Resulting Numbers: [15, 10]
Generated Node #0,3,0: 86:[15, 10] Operation: 60/6=10
Exploring Operation: 60-15=45, Resulting Numbers: [6, 45]
Generated Node #0,3,1: 86:[6, 45] Operation: 60-15=45
Exploring Operation: 60+15=75, Resulting Numbers: [6, 75]
Generated Node #0,3,2: 86:[6, 75] Operation: 60+15=75
Exploring Operation: 60/15=4, Resulting Numbers: [6, 4]
Generated Node #0,3,3: 86:[6, 4] Operation: 60/15=4
Moving to Node #0,3,1
Current State: 86:[6, 45], Operations: ['22-16=6', '60-15=45']
Exploring Operation: 6*45=270, Resulting Numbers: [270]
270,86 unequal: No Solution
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,86 unequal: No Solution
Exploring Operation: 6+45=51, Resulting Numbers: [51]
51,86 unequal: No Solution
Moving to Node #0,3,3
Current State: 86:[6, 4], Operations: ['22-16=6', '60/15=4']
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,86 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,86 unequal: No Solution
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,86 unequal: No Solution
Moving to Node #0,3,2
Current State: 86:[6, 75], Operations: ['22-16=6', '60+15=75']
Exploring Operation: 75-6=69, Resulting Numbers: [69]
69,86 unequal: No Solution
Exploring Operation: 6*75=450, Resulting Numbers: [450]
450,86 unequal: No Solution
Exploring Operation: 6+75=81, Resulting Numbers: [81]
81,86 unequal: No Solution
Moving to Node #0,3,0
Current State: 86:[15, 10], Operations: ['22-16=6', '60/6=10']
Exploring Operation: 15+10=25, Resulting Numbers: [25]
25,86 unequal: No Solution
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,86 unequal: No Solution
Exploring Operation: 15*10=150, Resulting Numbers: [150]
150,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
4,
37,
8,
44
] | 40 | [
"44/4=11",
"37-8=29",
"11+29=40"
] | Current State: 40:[4, 37, 8, 44], Operations: []
Exploring Operation: 44/4=11, Resulting Numbers: [37, 8, 11]
Generated Node #2: [37, 8, 11] from Operation: 44/4=11
Current State: 40:[37, 8, 11], Operations: ['44/4=11']
Exploring Operation: 37-8=29, Resulting Numbers: [11, 29]
Generated Node #3: [11, 29] from Operation: 37-8=29
Current State: 40:[11, 29], Operations: ['44/4=11', '37-8=29']
Exploring Operation: 11+29=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[4, 37, 8, 44], Operations: []
Exploring Operation: 44-37=7, Resulting Numbers: [4, 8, 7]
Generated Node #0,0: 40:[4, 8, 7] Operation: 44-37=7
Exploring Operation: 44-4=40, Resulting Numbers: [37, 8, 40]
Generated Node #0,1: 40:[37, 8, 40] Operation: 44-4=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[4, 8, 7], Operations: ['44-37=7']
Exploring Operation: 8-4=4, Resulting Numbers: [7, 4]
Generated Node #0,0,0: 40:[7, 4] Operation: 8-4=4
Exploring Operation: 8/4=2, Resulting Numbers: [7, 2]
Generated Node #0,0,1: 40:[7, 2] Operation: 8/4=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 40:[7, 4], Operations: ['44-37=7', '8-4=4']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,40 unequal: No Solution
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,40 unequal: No Solution
No 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: 40:[7, 2], Operations: ['44-37=7', '8/4=2']
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,40 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,40 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: 40:[37, 8, 40], Operations: ['44-4=40']
Exploring Operation: 40/8=5, Resulting Numbers: [37, 5]
Generated Node #0,1,0: 40:[37, 5] Operation: 40/8=5
Exploring Operation: 40-37=3, Resulting Numbers: [8, 3]
Generated Node #0,1,1: 40:[8, 3] Operation: 40-37=3
Moving to Node #0,1,1
Current State: 40:[8, 3], Operations: ['44-4=40', '40-37=3']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,40 unequal: No Solution
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,40 unequal: No Solution
Moving to Node #0,1,0
Current State: 40:[37, 5], Operations: ['44-4=40', '40/8=5']
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,40 unequal: No Solution
Exploring Operation: 37+5=42, Resulting Numbers: [42]
42,40 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 |
[
32,
13,
30,
58
] | 10 | [
"32+58=90",
"90/30=3",
"13-3=10"
] | Current State: 10:[32, 13, 30, 58], Operations: []
Exploring Operation: 32+58=90, Resulting Numbers: [13, 30, 90]
Generated Node #2: [13, 30, 90] from Operation: 32+58=90
Current State: 10:[13, 30, 90], Operations: ['32+58=90']
Exploring Operation: 90/30=3, Resulting Numbers: [13, 3]
Generated Node #3: [13, 3] from Operation: 90/30=3
Current State: 10:[13, 3], Operations: ['32+58=90', '90/30=3']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[32, 13, 30, 58], Operations: []
Exploring Operation: 32-30=2, Resulting Numbers: [13, 58, 2]
Generated Node #0,0: 10:[13, 58, 2] Operation: 32-30=2
Exploring Operation: 58-32=26, Resulting Numbers: [13, 30, 26]
Generated Node #0,1: 10:[13, 30, 26] Operation: 58-32=26
Exploring Operation: 32-13=19, Resulting Numbers: [30, 58, 19]
Generated Node #0,2: 10:[30, 58, 19] Operation: 32-13=19
Exploring Operation: 58-30=28, Resulting Numbers: [32, 13, 28]
Generated Node #0,3: 10:[32, 13, 28] Operation: 58-30=28
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[13, 30, 26], Operations: ['58-32=26']
Exploring Operation: 30-13=17, Resulting Numbers: [26, 17]
Generated Node #0,1,0: 10:[26, 17] Operation: 30-13=17
Exploring Operation: 26/13=2, Resulting Numbers: [30, 2]
Generated Node #0,1,1: 10:[30, 2] Operation: 26/13=2
Exploring Operation: 26-13=13, Resulting Numbers: [30, 13]
Generated Node #0,1,2: 10:[30, 13] Operation: 26-13=13
Exploring Operation: 30-26=4, Resulting Numbers: [13, 4]
Generated Node #0,1,3: 10:[13, 4] Operation: 30-26=4
Moving to Node #0,1,3
Current State: 10:[13, 4], Operations: ['58-32=26', '30-26=4']
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,10 unequal: No Solution
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,10 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,10 unequal: No Solution
Moving to Node #0,1,1
Current State: 10:[30, 2], Operations: ['58-32=26', '26/13=2']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,10 unequal: No Solution
Exploring Operation: 30*2=60, Resulting Numbers: [60]
60,10 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,10 unequal: No Solution
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,10 unequal: No Solution
Moving to Node #0,1,2
Current State: 10:[30, 13], Operations: ['58-32=26', '26-13=13']
Exploring Operation: 30*13=390, Resulting Numbers: [390]
390,10 unequal: No Solution
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,10 unequal: No Solution
Exploring Operation: 30+13=43, Resulting Numbers: [43]
43,10 unequal: No Solution
Moving to Node #0,1,0
Current State: 10:[26, 17], Operations: ['58-32=26', '30-13=17']
Exploring Operation: 26+17=43, Resulting Numbers: [43]
43,10 unequal: No Solution
Exploring Operation: 26*17=442, Resulting Numbers: [442]
442,10 unequal: No Solution
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 10:[32, 13, 28], Operations: ['58-30=28']
Exploring Operation: 32-28=4, Resulting Numbers: [13, 4]
Generated Node #0,3,0: 10:[13, 4] Operation: 32-28=4
Exploring Operation: 32+13=45, Resulting Numbers: [28, 45]
Generated Node #0,3,1: 10:[28, 45] Operation: 32+13=45
Exploring Operation: 32-13=19, Resulting Numbers: [28, 19]
Generated Node #0,3,2: 10:[28, 19] Operation: 32-13=19
Exploring Operation: 28-13=15, Resulting Numbers: [32, 15]
Generated Node #0,3,3: 10:[32, 15] Operation: 28-13=15
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 10:[13, 4], Operations: ['58-30=28', '32-28=4']
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,10 unequal: No Solution
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,10 unequal: No Solution
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 10:[28, 19], Operations: ['58-30=28', '32-13=19']
Exploring Operation: 28+19=47, Resulting Numbers: [47]
47,10 unequal: No Solution
Exploring Operation: 28*19=532, Resulting Numbers: [532]
532,10 unequal: No Solution
Exploring Operation: 28-19=9, Resulting Numbers: [9]
9,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 10:[32, 15], Operations: ['58-30=28', '28-13=15']
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,10 unequal: No Solution
Exploring Operation: 32*15=480, Resulting Numbers: [480]
480,10 unequal: No Solution
Exploring Operation: 32+15=47, Resulting Numbers: [47]
47,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 10:[28, 45], Operations: ['58-30=28', '32+13=45']
Exploring Operation: 45-28=17, Resulting Numbers: [17]
17,10 unequal: No Solution
Exploring Operation: 28+45=73, Resulting Numbers: [73]
73,10 unequal: No Solution
Exploring Operation: 28*45=1260, Resulting Numbers: [1260]
1260,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[13, 58, 2], Operations: ['32-30=2']
Exploring Operation: 58/2=29, Resulting Numbers: [13, 29]
Generated Node #0,0,0: 10:[13, 29] Operation: 58/2=29
Exploring Operation: 13-2=11, Resulting Numbers: [58, 11]
Generated Node #0,0,1: 10:[58, 11] Operation: 13-2=11
Exploring Operation: 58-2=56, Resulting Numbers: [13, 56]
Generated Node #0,0,2: 10:[13, 56] Operation: 58-2=56
Exploring Operation: 58-13=45, Resulting Numbers: [2, 45]
Generated Node #0,0,3: 10:[2, 45] Operation: 58-13=45
Moving to Node #0,0,0
Current State: 10:[13, 29], Operations: ['32-30=2', '58/2=29']
Exploring Operation: 13+29=42, Resulting Numbers: [42]
42,10 unequal: No Solution
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,10 unequal: No Solution
Exploring Operation: 13*29=377, Resulting Numbers: [377]
377,10 unequal: No Solution
Moving to Node #0,0,3
Current State: 10:[2, 45], Operations: ['32-30=2', '58-13=45']
Exploring Operation: 2+45=47, Resulting Numbers: [47]
47,10 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,10 unequal: No Solution
Exploring Operation: 2*45=90, Resulting Numbers: [90]
90,10 unequal: No Solution
Moving to Node #0,0,2
Current State: 10:[13, 56], Operations: ['32-30=2', '58-2=56']
Exploring Operation: 56-13=43, Resulting Numbers: [43]
43,10 unequal: No Solution
Exploring Operation: 13*56=728, Resulting Numbers: [728]
728,10 unequal: No Solution
Exploring Operation: 13+56=69, Resulting Numbers: [69]
69,10 unequal: No Solution
Moving to Node #0,0,1
Current State: 10:[58, 11], Operations: ['32-30=2', '13-2=11']
Exploring Operation: 58*11=638, Resulting Numbers: [638]
638,10 unequal: No Solution
Exploring Operation: 58+11=69, Resulting Numbers: [69]
69,10 unequal: No Solution
Exploring Operation: 58-11=47, Resulting Numbers: [47]
47,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 10:[30, 58, 19], Operations: ['32-13=19']
Exploring Operation: 30-19=11, Resulting Numbers: [58, 11]
Generated Node #0,2,0: 10:[58, 11] Operation: 30-19=11
Exploring Operation: 30+58=88, Resulting Numbers: [19, 88]
Generated Node #0,2,1: 10:[19, 88] Operation: 30+58=88
Exploring Operation: 58-30=28, Resulting Numbers: [19, 28]
Generated Node #0,2,2: 10:[19, 28] Operation: 58-30=28
Exploring Operation: 58-19=39, Resulting Numbers: [30, 39]
Generated Node #0,2,3: 10:[30, 39] Operation: 58-19=39
Moving to Node #0,2,2
Current State: 10:[19, 28], Operations: ['32-13=19', '58-30=28']
Exploring Operation: 19*28=532, Resulting Numbers: [532]
532,10 unequal: No Solution
Exploring Operation: 19+28=47, Resulting Numbers: [47]
47,10 unequal: No Solution
Exploring Operation: 28-19=9, Resulting Numbers: [9]
9,10 unequal: No Solution
Moving to Node #0,2,3
Current State: 10:[30, 39], Operations: ['32-13=19', '58-19=39']
Exploring Operation: 39-30=9, Resulting Numbers: [9]
9,10 unequal: No Solution
Exploring Operation: 30+39=69, Resulting Numbers: [69]
69,10 unequal: No Solution
Exploring Operation: 30*39=1170, Resulting Numbers: [1170]
1170,10 unequal: No Solution
Moving to Node #0,2,0
Current State: 10:[58, 11], Operations: ['32-13=19', '30-19=11']
Exploring Operation: 58-11=47, Resulting Numbers: [47]
47,10 unequal: No Solution
Exploring Operation: 58*11=638, Resulting Numbers: [638]
638,10 unequal: No Solution
Exploring Operation: 58+11=69, Resulting Numbers: [69]
69,10 unequal: No Solution
Moving to Node #0,2,1
Current State: 10:[19, 88], Operations: ['32-13=19', '30+58=88']
Exploring Operation: 19*88=1672, Resulting Numbers: [1672]
1672,10 unequal: No Solution
Exploring Operation: 88-19=69, Resulting Numbers: [69]
69,10 unequal: No Solution
Exploring Operation: 19+88=107, Resulting Numbers: [107]
107,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
6,
4,
18,
60
] | 59 | [
"18/6=3",
"60-4=56",
"3+56=59"
] | Current State: 59:[6, 4, 18, 60], Operations: []
Exploring Operation: 18/6=3, Resulting Numbers: [4, 60, 3]
Generated Node #2: [4, 60, 3] from Operation: 18/6=3
Current State: 59:[4, 60, 3], Operations: ['18/6=3']
Exploring Operation: 60-4=56, Resulting Numbers: [3, 56]
Generated Node #3: [3, 56] from Operation: 60-4=56
Current State: 59:[3, 56], Operations: ['18/6=3', '60-4=56']
Exploring Operation: 3+56=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[6, 4, 18, 60], Operations: []
Exploring Operation: 4*18=72, Resulting Numbers: [6, 60, 72]
Generated Node #0,0: 59:[6, 60, 72] Operation: 4*18=72
Moving to Node #0,0
Current State: 59:[6, 60, 72], Operations: ['4*18=72']
Exploring Operation: 72-6=66, Resulting Numbers: [60, 66]
Generated Node #0,0,0: 59:[60, 66] Operation: 72-6=66
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 59:[60, 66], Operations: ['4*18=72', '72-6=66']
Exploring Operation: 66-60=6, Resulting Numbers: [6]
6,59 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 |
[
31,
89,
54,
85
] | 89 | [
"31+89=120",
"85-54=31",
"120-31=89"
] | Current State: 89:[31, 89, 54, 85], Operations: []
Exploring Operation: 31+89=120, Resulting Numbers: [54, 85, 120]
Generated Node #2: [54, 85, 120] from Operation: 31+89=120
Current State: 89:[54, 85, 120], Operations: ['31+89=120']
Exploring Operation: 85-54=31, Resulting Numbers: [120, 31]
Generated Node #3: [120, 31] from Operation: 85-54=31
Current State: 89:[120, 31], Operations: ['31+89=120', '85-54=31']
Exploring Operation: 120-31=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[31, 89, 54, 85], Operations: []
Exploring Operation: 31+89=120, Resulting Numbers: [54, 85, 120]
Generated Node #0,0: 89:[54, 85, 120] Operation: 31+89=120
Exploring Operation: 54-31=23, Resulting Numbers: [89, 85, 23]
Generated Node #0,1: 89:[89, 85, 23] Operation: 54-31=23
Exploring Operation: 31+54=85, Resulting Numbers: [89, 85, 85]
Generated Node #0,2: 89:[89, 85, 85] Operation: 31+54=85
Exploring Operation: 31+85=116, Resulting Numbers: [89, 54, 116]
Generated Node #0,3: 89:[89, 54, 116] Operation: 31+85=116
Exploring Operation: 89-31=58, Resulting Numbers: [54, 85, 58]
Generated Node #0,4: 89:[54, 85, 58] Operation: 89-31=58
Start Sub Search at level 1: Moving to Node #0,2
Current State: 89:[89, 85, 85], Operations: ['31+54=85']
Exploring Operation: 89-85=4, Resulting Numbers: [85, 4]
Generated Node #0,2,0: 89:[85, 4] Operation: 89-85=4
Exploring Operation: 89+85=174, Resulting Numbers: [85, 174]
Generated Node #0,2,1: 89:[85, 174] Operation: 89+85=174
Exploring Operation: 85+85=170, Resulting Numbers: [89, 170]
Generated Node #0,2,2: 89:[89, 170] Operation: 85+85=170
Exploring Operation: 89+85=174, Resulting Numbers: [85, 174]
Generated Node #0,2,3: 89:[85, 174] Operation: 89+85=174
Exploring Operation: 85/85=1, Resulting Numbers: [89, 1]
Generated Node #0,2,4: 89:[89, 1] Operation: 85/85=1
Moving to Node #0,2,2
Current State: 89:[89, 170], Operations: ['31+54=85', '85+85=170']
Exploring Operation: 89*170=15130, Resulting Numbers: [15130]
15130,89 unequal: No Solution
Exploring Operation: 89+170=259, Resulting Numbers: [259]
259,89 unequal: No Solution
Exploring Operation: 170-89=81, Resulting Numbers: [81]
81,89 unequal: No Solution
Moving to Node #0,2,4
Current State: 89:[89, 1], Operations: ['31+54=85', '85/85=1']
Exploring Operation: 89-1=88, Resulting Numbers: [88]
88,89 unequal: No Solution
Exploring Operation: 89/1=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[31, 89, 54, 85], Operations: []
Exploring Operation: 31+54=85, Resulting Numbers: [89, 85, 85]
Generated Node #0,2: 89:[89, 85, 85] Operation: 31+54=85
Moving to Node #0,2
Current State: 89:[89, 85, 85], Operations: ['31+54=85']
Exploring Operation: 85/85=1, Resulting Numbers: [89, 1]
Generated Node #0,2,4: 89:[89, 1] Operation: 85/85=1
Moving to Node #0,2,4
Current State: 89:[89, 1], Operations: ['31+54=85', '85/85=1']
Exploring Operation: 89/1=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_5 | mult_heuristic |
[
71,
6,
18,
24
] | 72 | [
"6+18=24",
"24/24=1",
"71+1=72"
] | Current State: 72:[71, 6, 18, 24], Operations: []
Exploring Operation: 6+18=24, Resulting Numbers: [71, 24, 24]
Generated Node #2: [71, 24, 24] from Operation: 6+18=24
Current State: 72:[71, 24, 24], Operations: ['6+18=24']
Exploring Operation: 24/24=1, Resulting Numbers: [71, 1]
Generated Node #3: [71, 1] from Operation: 24/24=1
Current State: 72:[71, 1], Operations: ['6+18=24', '24/24=1']
Exploring Operation: 71+1=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[71, 6, 18, 24], Operations: []
Exploring Operation: 18/6=3, Resulting Numbers: [71, 24, 3]
Generated Node #0,0: 72:[71, 24, 3] Operation: 18/6=3
Exploring Operation: 18-6=12, Resulting Numbers: [71, 24, 12]
Generated Node #0,1: 72:[71, 24, 12] Operation: 18-6=12
Exploring Operation: 6+18=24, Resulting Numbers: [71, 24, 24]
Generated Node #0,2: 72:[71, 24, 24] Operation: 6+18=24
Moving to Node #0,0
Current State: 72:[71, 24, 3], Operations: ['18/6=3']
Exploring Operation: 24*3=72, Resulting Numbers: [71, 72]
Generated Node #0,0,0: 72:[71, 72] Operation: 24*3=72
Exploring Operation: 24/3=8, Resulting Numbers: [71, 8]
Generated Node #0,0,1: 72:[71, 8] Operation: 24/3=8
Exploring Operation: 71+3=74, Resulting Numbers: [24, 74]
Generated Node #0,0,2: 72:[24, 74] Operation: 71+3=74
Moving to Node #0,1
Current State: 72:[71, 24, 12], Operations: ['18-6=12']
Exploring Operation: 24+12=36, Resulting Numbers: [71, 36]
Generated Node #0,1,0: 72:[71, 36] Operation: 24+12=36
Exploring Operation: 24-12=12, Resulting Numbers: [71, 12]
Generated Node #0,1,1: 72:[71, 12] Operation: 24-12=12
Exploring Operation: 24/12=2, Resulting Numbers: [71, 2]
Generated Node #0,1,2: 72:[71, 2] Operation: 24/12=2
Moving to Node #0,2
Current State: 72:[71, 24, 24], Operations: ['6+18=24']
Exploring Operation: 24-24=0, Resulting Numbers: [71, 0]
Generated Node #0,2,0: 72:[71, 0] Operation: 24-24=0
Exploring Operation: 71-24=47, Resulting Numbers: [24, 47]
Generated Node #0,2,1: 72:[24, 47] Operation: 71-24=47
Exploring Operation: 24/24=1, Resulting Numbers: [71, 1]
Generated Node #0,2,2: 72:[71, 1] Operation: 24/24=1
Moving to Node #0,0,0
Current State: 72:[71, 72], Operations: ['18/6=3', '24*3=72']
Exploring Operation: 71+72=143, Resulting Numbers: [143]
143,72 unequal: No Solution
Exploring Operation: 72-71=1, Resulting Numbers: [1]
1,72 unequal: No Solution
Exploring Operation: 71*72=5112, Resulting Numbers: [5112]
5112,72 unequal: No Solution
Moving to Node #0,1,2
Current State: 72:[71, 2], Operations: ['18-6=12', '24/12=2']
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,72 unequal: No Solution
Exploring Operation: 71+2=73, Resulting Numbers: [73]
73,72 unequal: No Solution
Exploring Operation: 71*2=142, Resulting Numbers: [142]
142,72 unequal: No Solution
Moving to Node #0,0,1
Current State: 72:[71, 8], Operations: ['18/6=3', '24/3=8']
Exploring Operation: 71+8=79, Resulting Numbers: [79]
79,72 unequal: No Solution
Exploring Operation: 71-8=63, Resulting Numbers: [63]
63,72 unequal: No Solution
Exploring Operation: 71*8=568, Resulting Numbers: [568]
568,72 unequal: No Solution
Moving to Node #0,1,1
Current State: 72:[71, 12], Operations: ['18-6=12', '24-12=12']
Exploring Operation: 71-12=59, Resulting Numbers: [59]
59,72 unequal: No Solution
Exploring Operation: 71+12=83, Resulting Numbers: [83]
83,72 unequal: No Solution
Exploring Operation: 71*12=852, Resulting Numbers: [852]
852,72 unequal: No Solution
Moving to Node #0,1,0
Current State: 72:[71, 36], Operations: ['18-6=12', '24+12=36']
Exploring Operation: 71-36=35, Resulting Numbers: [35]
35,72 unequal: No Solution
Exploring Operation: 71*36=2556, Resulting Numbers: [2556]
2556,72 unequal: No Solution
Exploring Operation: 71+36=107, Resulting Numbers: [107]
107,72 unequal: No Solution
Moving to Node #0,2,2
Current State: 72:[71, 1], Operations: ['6+18=24', '24/24=1']
Exploring Operation: 71/1=71, Resulting Numbers: [71]
71,72 unequal: No Solution
Exploring Operation: 71+1=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[71, 6, 18, 24], Operations: []
Exploring Operation: 6+18=24, Resulting Numbers: [71, 24, 24]
Generated Node #0,2: 72:[71, 24, 24] Operation: 6+18=24
Moving to Node #0,2
Current State: 72:[71, 24, 24], Operations: ['6+18=24']
Exploring Operation: 24/24=1, Resulting Numbers: [71, 1]
Generated Node #0,2,2: 72:[71, 1] Operation: 24/24=1
Moving to Node #0,2,2
Current State: 72:[71, 1], Operations: ['6+18=24', '24/24=1']
Exploring Operation: 71+1=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 0.971354 | hs_3 | mult_heuristic |
[
81,
85,
34,
53
] | 70 | [
"81-53=28",
"85*28=2380",
"2380/34=70"
] | Current State: 70:[81, 85, 34, 53], Operations: []
Exploring Operation: 81-53=28, Resulting Numbers: [85, 34, 28]
Generated Node #2: [85, 34, 28] from Operation: 81-53=28
Current State: 70:[85, 34, 28], Operations: ['81-53=28']
Exploring Operation: 85*28=2380, Resulting Numbers: [34, 2380]
Generated Node #3: [34, 2380] from Operation: 85*28=2380
Current State: 70:[34, 2380], Operations: ['81-53=28', '85*28=2380']
Exploring Operation: 2380/34=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[81, 85, 34, 53], Operations: []
Exploring Operation: 85-53=32, Resulting Numbers: [81, 34, 32]
Generated Node #0,0: 70:[81, 34, 32] Operation: 85-53=32
Exploring Operation: 85-81=4, Resulting Numbers: [34, 53, 4]
Generated Node #0,1: 70:[34, 53, 4] Operation: 85-81=4
Exploring Operation: 53-34=19, Resulting Numbers: [81, 85, 19]
Generated Node #0,2: 70:[81, 85, 19] Operation: 53-34=19
Exploring Operation: 81-53=28, Resulting Numbers: [85, 34, 28]
Generated Node #0,3: 70:[85, 34, 28] Operation: 81-53=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[81, 34, 32], Operations: ['85-53=32']
Exploring Operation: 81-34=47, Resulting Numbers: [32, 47]
Generated Node #0,0,0: 70:[32, 47] Operation: 81-34=47
Exploring Operation: 34-32=2, Resulting Numbers: [81, 2]
Generated Node #0,0,1: 70:[81, 2] Operation: 34-32=2
Exploring Operation: 34+32=66, Resulting Numbers: [81, 66]
Generated Node #0,0,2: 70:[81, 66] Operation: 34+32=66
Exploring Operation: 81-32=49, Resulting Numbers: [34, 49]
Generated Node #0,0,3: 70:[34, 49] Operation: 81-32=49
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 70:[81, 2], Operations: ['85-53=32', '34-32=2']
Exploring Operation: 81+2=83, Resulting Numbers: [83]
83,70 unequal: No Solution
Exploring Operation: 81*2=162, Resulting Numbers: [162]
162,70 unequal: No Solution
Exploring Operation: 81-2=79, Resulting Numbers: [79]
79,70 unequal: No Solution
No 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: 70:[32, 47], Operations: ['85-53=32', '81-34=47']
Exploring Operation: 32*47=1504, Resulting Numbers: [1504]
1504,70 unequal: No Solution
Exploring Operation: 32+47=79, Resulting Numbers: [79]
79,70 unequal: No Solution
Exploring Operation: 47-32=15, Resulting Numbers: [15]
15,70 unequal: No Solution
No 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: 70:[81, 66], Operations: ['85-53=32', '34+32=66']
Exploring Operation: 81+66=147, Resulting Numbers: [147]
147,70 unequal: No Solution
Exploring Operation: 81-66=15, Resulting Numbers: [15]
15,70 unequal: No Solution
Exploring Operation: 81*66=5346, Resulting Numbers: [5346]
5346,70 unequal: No Solution
No 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: 70:[34, 49], Operations: ['85-53=32', '81-32=49']
Exploring Operation: 34+49=83, Resulting Numbers: [83]
83,70 unequal: No Solution
Exploring Operation: 34*49=1666, Resulting Numbers: [1666]
1666,70 unequal: No Solution
Exploring Operation: 49-34=15, Resulting Numbers: [15]
15,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 70:[34, 53, 4], Operations: ['85-81=4']
Exploring Operation: 53+4=57, Resulting Numbers: [34, 57]
Generated Node #0,1,0: 70:[34, 57] Operation: 53+4=57
Exploring Operation: 34+53=87, Resulting Numbers: [4, 87]
Generated Node #0,1,1: 70:[4, 87] Operation: 34+53=87
Exploring Operation: 53-34=19, Resulting Numbers: [4, 19]
Generated Node #0,1,2: 70:[4, 19] Operation: 53-34=19
Exploring Operation: 53-4=49, Resulting Numbers: [34, 49]
Generated Node #0,1,3: 70:[34, 49] Operation: 53-4=49
Moving to Node #0,1,2
Current State: 70:[4, 19], Operations: ['85-81=4', '53-34=19']
Exploring Operation: 4*19=76, Resulting Numbers: [76]
76,70 unequal: No Solution
Exploring Operation: 4+19=23, Resulting Numbers: [23]
23,70 unequal: No Solution
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,70 unequal: No Solution
Moving to Node #0,1,0
Current State: 70:[34, 57], Operations: ['85-81=4', '53+4=57']
Exploring Operation: 34+57=91, Resulting Numbers: [91]
91,70 unequal: No Solution
Exploring Operation: 57-34=23, Resulting Numbers: [23]
23,70 unequal: No Solution
Exploring Operation: 34*57=1938, Resulting Numbers: [1938]
1938,70 unequal: No Solution
Moving to Node #0,1,3
Current State: 70:[34, 49], Operations: ['85-81=4', '53-4=49']
Exploring Operation: 34+49=83, Resulting Numbers: [83]
83,70 unequal: No Solution
Exploring Operation: 34*49=1666, Resulting Numbers: [1666]
1666,70 unequal: No Solution
Exploring Operation: 49-34=15, Resulting Numbers: [15]
15,70 unequal: No Solution
Moving to Node #0,1,1
Current State: 70:[4, 87], Operations: ['85-81=4', '34+53=87']
Exploring Operation: 4+87=91, Resulting Numbers: [91]
91,70 unequal: No Solution
Exploring Operation: 87-4=83, Resulting Numbers: [83]
83,70 unequal: No Solution
Exploring Operation: 4*87=348, Resulting Numbers: [348]
348,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 70:[85, 34, 28], Operations: ['81-53=28']
Exploring Operation: 34-28=6, Resulting Numbers: [85, 6]
Generated Node #0,3,0: 70:[85, 6] Operation: 34-28=6
Exploring Operation: 85-28=57, Resulting Numbers: [34, 57]
Generated Node #0,3,1: 70:[34, 57] Operation: 85-28=57
Exploring Operation: 34+28=62, Resulting Numbers: [85, 62]
Generated Node #0,3,2: 70:[85, 62] Operation: 34+28=62
Exploring Operation: 85-34=51, Resulting Numbers: [28, 51]
Generated Node #0,3,3: 70:[28, 51] Operation: 85-34=51
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 70:[34, 57], Operations: ['81-53=28', '85-28=57']
Exploring Operation: 34*57=1938, Resulting Numbers: [1938]
1938,70 unequal: No Solution
Exploring Operation: 34+57=91, Resulting Numbers: [91]
91,70 unequal: No Solution
Exploring Operation: 57-34=23, Resulting Numbers: [23]
23,70 unequal: No Solution
No 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: 70:[85, 6], Operations: ['81-53=28', '34-28=6']
Exploring Operation: 85*6=510, Resulting Numbers: [510]
510,70 unequal: No Solution
Exploring Operation: 85-6=79, Resulting Numbers: [79]
79,70 unequal: No Solution
Exploring Operation: 85+6=91, Resulting Numbers: [91]
91,70 unequal: No Solution
No 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: 70:[85, 62], Operations: ['81-53=28', '34+28=62']
Exploring Operation: 85+62=147, Resulting Numbers: [147]
147,70 unequal: No Solution
Exploring Operation: 85*62=5270, Resulting Numbers: [5270]
5270,70 unequal: No Solution
Exploring Operation: 85-62=23, Resulting Numbers: [23]
23,70 unequal: No Solution
No 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: 70:[28, 51], Operations: ['81-53=28', '85-34=51']
Exploring Operation: 28+51=79, Resulting Numbers: [79]
79,70 unequal: No Solution
Exploring Operation: 51-28=23, Resulting Numbers: [23]
23,70 unequal: No Solution
Exploring Operation: 28*51=1428, Resulting Numbers: [1428]
1428,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 70:[81, 85, 19], Operations: ['53-34=19']
Exploring Operation: 85-81=4, Resulting Numbers: [19, 4]
Generated Node #0,2,0: 70:[19, 4] Operation: 85-81=4
Exploring Operation: 81+19=100, Resulting Numbers: [85, 100]
Generated Node #0,2,1: 70:[85, 100] Operation: 81+19=100
Exploring Operation: 81-19=62, Resulting Numbers: [85, 62]
Generated Node #0,2,2: 70:[85, 62] Operation: 81-19=62
Exploring Operation: 85-19=66, Resulting Numbers: [81, 66]
Generated Node #0,2,3: 70:[81, 66] Operation: 85-19=66
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 70:[19, 4], Operations: ['53-34=19', '85-81=4']
Exploring Operation: 19+4=23, Resulting Numbers: [23]
23,70 unequal: No Solution
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,70 unequal: No Solution
Exploring Operation: 19*4=76, Resulting Numbers: [76]
76,70 unequal: No Solution
No 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: 70:[81, 66], Operations: ['53-34=19', '85-19=66']
Exploring Operation: 81*66=5346, Resulting Numbers: [5346]
5346,70 unequal: No Solution
Exploring Operation: 81-66=15, Resulting Numbers: [15]
15,70 unequal: No Solution
Exploring Operation: 81+66=147, Resulting Numbers: [147]
147,70 unequal: No Solution
No 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: 70:[85, 62], Operations: ['53-34=19', '81-19=62']
Exploring Operation: 85*62=5270, Resulting Numbers: [5270]
5270,70 unequal: No Solution
Exploring Operation: 85-62=23, Resulting Numbers: [23]
23,70 unequal: No Solution
Exploring Operation: 85+62=147, Resulting Numbers: [147]
147,70 unequal: No Solution
No 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: 70:[85, 100], Operations: ['53-34=19', '81+19=100']
Exploring Operation: 85+100=185, Resulting Numbers: [185]
185,70 unequal: No Solution
Exploring Operation: 85*100=8500, Resulting Numbers: [8500]
8500,70 unequal: No Solution
Exploring Operation: 100-85=15, Resulting Numbers: [15]
15,70 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
85,
59,
4,
11
] | 47 | [
"85+59=144",
"144/4=36",
"11+36=47"
] | Current State: 47:[85, 59, 4, 11], Operations: []
Exploring Operation: 85+59=144, Resulting Numbers: [4, 11, 144]
Generated Node #2: [4, 11, 144] from Operation: 85+59=144
Current State: 47:[4, 11, 144], Operations: ['85+59=144']
Exploring Operation: 144/4=36, Resulting Numbers: [11, 36]
Generated Node #3: [11, 36] from Operation: 144/4=36
Current State: 47:[11, 36], Operations: ['85+59=144', '144/4=36']
Exploring Operation: 11+36=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[85, 59, 4, 11], Operations: []
Exploring Operation: 85-4=81, Resulting Numbers: [59, 11, 81]
Generated Node #0,0: 47:[59, 11, 81] Operation: 85-4=81
Exploring Operation: 4*11=44, Resulting Numbers: [85, 59, 44]
Generated Node #0,1: 47:[85, 59, 44] Operation: 4*11=44
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[85, 59, 44], Operations: ['4*11=44']
Exploring Operation: 85-44=41, Resulting Numbers: [59, 41]
Generated Node #0,1,0: 47:[59, 41] Operation: 85-44=41
Exploring Operation: 85-59=26, Resulting Numbers: [44, 26]
Generated Node #0,1,1: 47:[44, 26] Operation: 85-59=26
Moving to Node #0,1,0
Current State: 47:[59, 41], Operations: ['4*11=44', '85-44=41']
Exploring Operation: 59+41=100, Resulting Numbers: [100]
100,47 unequal: No Solution
Exploring Operation: 59-41=18, Resulting Numbers: [18]
18,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[44, 26], Operations: ['4*11=44', '85-59=26']
Exploring Operation: 44+26=70, Resulting Numbers: [70]
70,47 unequal: No Solution
Exploring Operation: 44-26=18, Resulting Numbers: [18]
18,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,0
Current State: 47:[59, 11, 81], Operations: ['85-4=81']
Exploring Operation: 59-11=48, Resulting Numbers: [81, 48]
Generated Node #0,0,0: 47:[81, 48] Operation: 59-11=48
Exploring Operation: 81-11=70, Resulting Numbers: [59, 70]
Generated Node #0,0,1: 47:[59, 70] Operation: 81-11=70
Moving to Node #0,0,0
Current State: 47:[81, 48], Operations: ['85-4=81', '59-11=48']
Exploring Operation: 81-48=33, Resulting Numbers: [33]
33,47 unequal: No Solution
Exploring Operation: 81+48=129, Resulting Numbers: [129]
129,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[59, 70], Operations: ['85-4=81', '81-11=70']
Exploring Operation: 70-59=11, Resulting Numbers: [11]
11,47 unequal: No Solution
Exploring Operation: 59+70=129, Resulting Numbers: [129]
129,47 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 |
[
31,
84,
55,
73
] | 57 | [
"73-31=42",
"84/42=2",
"55+2=57"
] | Current State: 57:[31, 84, 55, 73], Operations: []
Exploring Operation: 73-31=42, Resulting Numbers: [84, 55, 42]
Generated Node #2: [84, 55, 42] from Operation: 73-31=42
Current State: 57:[84, 55, 42], Operations: ['73-31=42']
Exploring Operation: 84/42=2, Resulting Numbers: [55, 2]
Generated Node #3: [55, 2] from Operation: 84/42=2
Current State: 57:[55, 2], Operations: ['73-31=42', '84/42=2']
Exploring Operation: 55+2=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[31, 84, 55, 73], Operations: []
Exploring Operation: 84-31=53, Resulting Numbers: [55, 73, 53]
Generated Node #0,0: 57:[55, 73, 53] Operation: 84-31=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[55, 73, 53], Operations: ['84-31=53']
Exploring Operation: 73-53=20, Resulting Numbers: [55, 20]
Generated Node #0,0,0: 57:[55, 20] Operation: 73-53=20
Moving to Node #0,0,0
Current State: 57:[55, 20], Operations: ['84-31=53', '73-53=20']
Exploring Operation: 55-20=35, Resulting Numbers: [35]
35,57 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 |
[
29,
70,
2,
87
] | 75 | [
"29+70=99",
"2*87=174",
"174-99=75"
] | Current State: 75:[29, 70, 2, 87], Operations: []
Exploring Operation: 29+70=99, Resulting Numbers: [2, 87, 99]
Generated Node #2: [2, 87, 99] from Operation: 29+70=99
Current State: 75:[2, 87, 99], Operations: ['29+70=99']
Exploring Operation: 2*87=174, Resulting Numbers: [99, 174]
Generated Node #3: [99, 174] from Operation: 2*87=174
Current State: 75:[99, 174], Operations: ['29+70=99', '2*87=174']
Exploring Operation: 174-99=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[29, 70, 2, 87], Operations: []
Exploring Operation: 70+2=72, Resulting Numbers: [29, 87, 72]
Generated Node #0,0: 75:[29, 87, 72] Operation: 70+2=72
Exploring Operation: 87/29=3, Resulting Numbers: [70, 2, 3]
Generated Node #0,1: 75:[70, 2, 3] Operation: 87/29=3
Exploring Operation: 29-2=27, Resulting Numbers: [70, 87, 27]
Generated Node #0,2: 75:[70, 87, 27] Operation: 29-2=27
Exploring Operation: 87-70=17, Resulting Numbers: [29, 2, 17]
Generated Node #0,3: 75:[29, 2, 17] Operation: 87-70=17
Exploring Operation: 87-2=85, Resulting Numbers: [29, 70, 85]
Generated Node #0,4: 75:[29, 70, 85] Operation: 87-2=85
Moving to Node #0,1
Current State: 75:[70, 2, 3], Operations: ['87/29=3']
Exploring Operation: 70-2=68, Resulting Numbers: [3, 68]
Generated Node #0,1,0: 75:[3, 68] Operation: 70-2=68
Exploring Operation: 2*3=6, Resulting Numbers: [70, 6]
Generated Node #0,1,1: 75:[70, 6] Operation: 2*3=6
Exploring Operation: 70+2=72, Resulting Numbers: [3, 72]
Generated Node #0,1,2: 75:[3, 72] Operation: 70+2=72
Exploring Operation: 70+3=73, Resulting Numbers: [2, 73]
Generated Node #0,1,3: 75:[2, 73] Operation: 70+3=73
Exploring Operation: 2+3=5, Resulting Numbers: [70, 5]
Generated Node #0,1,4: 75:[70, 5] Operation: 2+3=5
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 75:[3, 72], Operations: ['87/29=3', '70+2=72']
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,75 unequal: No Solution
Exploring Operation: 3*72=216, Resulting Numbers: [216]
216,75 unequal: No Solution
Exploring Operation: 3+72=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[29, 70, 2, 87], Operations: []
Exploring Operation: 87/29=3, Resulting Numbers: [70, 2, 3]
Generated Node #0,1: 75:[70, 2, 3] Operation: 87/29=3
Moving to Node #0,1
Current State: 75:[70, 2, 3], Operations: ['87/29=3']
Exploring Operation: 70+2=72, Resulting Numbers: [3, 72]
Generated Node #0,1,2: 75:[3, 72] Operation: 70+2=72
Moving to Node #0,1,2
Current State: 75:[3, 72], Operations: ['87/29=3', '70+2=72']
Exploring Operation: 3+72=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
14,
2,
4,
59
] | 95 | [
"14+4=18",
"2*18=36",
"59+36=95"
] | Current State: 95:[14, 2, 4, 59], Operations: []
Exploring Operation: 14+4=18, Resulting Numbers: [2, 59, 18]
Generated Node #2: [2, 59, 18] from Operation: 14+4=18
Current State: 95:[2, 59, 18], Operations: ['14+4=18']
Exploring Operation: 2*18=36, Resulting Numbers: [59, 36]
Generated Node #3: [59, 36] from Operation: 2*18=36
Current State: 95:[59, 36], Operations: ['14+4=18', '2*18=36']
Exploring Operation: 59+36=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[14, 2, 4, 59], Operations: []
Exploring Operation: 2*59=118, Resulting Numbers: [14, 4, 118]
Generated Node #0,0: 95:[14, 4, 118] Operation: 2*59=118
Exploring Operation: 14+59=73, Resulting Numbers: [2, 4, 73]
Generated Node #0,1: 95:[2, 4, 73] Operation: 14+59=73
Moving to Node #0,1
Current State: 95:[2, 4, 73], Operations: ['14+59=73']
Exploring Operation: 2+73=75, Resulting Numbers: [4, 75]
Generated Node #0,1,0: 95:[4, 75] Operation: 2+73=75
Exploring Operation: 4+73=77, Resulting Numbers: [2, 77]
Generated Node #0,1,1: 95:[2, 77] Operation: 4+73=77
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 95:[4, 75], Operations: ['14+59=73', '2+73=75']
Exploring Operation: 75-4=71, Resulting Numbers: [71]
71,95 unequal: No Solution
Exploring Operation: 4+75=79, Resulting Numbers: [79]
79,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:[2, 77], Operations: ['14+59=73', '4+73=77']
Exploring Operation: 2+77=79, Resulting Numbers: [79]
79,95 unequal: No Solution
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,95 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: 95:[14, 4, 118], Operations: ['2*59=118']
Exploring Operation: 14+4=18, Resulting Numbers: [118, 18]
Generated Node #0,0,0: 95:[118, 18] Operation: 14+4=18
Exploring Operation: 118-14=104, Resulting Numbers: [4, 104]
Generated Node #0,0,1: 95:[4, 104] Operation: 118-14=104
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 95:[4, 104], Operations: ['2*59=118', '118-14=104']
Exploring Operation: 104/4=26, Resulting Numbers: [26]
26,95 unequal: No Solution
Exploring Operation: 104-4=100, Resulting Numbers: [100]
100,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:[118, 18], Operations: ['2*59=118', '14+4=18']
Exploring Operation: 118+18=136, Resulting Numbers: [136]
136,95 unequal: No Solution
Exploring Operation: 118-18=100, Resulting Numbers: [100]
100,95 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 |
[
49,
41,
6,
30
] | 85 | [
"49+41=90",
"30/6=5",
"90-5=85"
] | Current State: 85:[49, 41, 6, 30], Operations: []
Exploring Operation: 49+41=90, Resulting Numbers: [6, 30, 90]
Generated Node #2: [6, 30, 90] from Operation: 49+41=90
Current State: 85:[6, 30, 90], Operations: ['49+41=90']
Exploring Operation: 30/6=5, Resulting Numbers: [90, 5]
Generated Node #3: [90, 5] from Operation: 30/6=5
Current State: 85:[90, 5], Operations: ['49+41=90', '30/6=5']
Exploring Operation: 90-5=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[49, 41, 6, 30], Operations: []
Exploring Operation: 49-41=8, Resulting Numbers: [6, 30, 8]
Generated Node #0,0: 85:[6, 30, 8] Operation: 49-41=8
Moving to Node #0,0
Current State: 85:[6, 30, 8], Operations: ['49-41=8']
Exploring Operation: 30/6=5, Resulting Numbers: [8, 5]
Generated Node #0,0,0: 85:[8, 5] Operation: 30/6=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[8, 5], Operations: ['49-41=8', '30/6=5']
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
4,
54,
72,
56
] | 38 | [
"4+72=76",
"56-54=2",
"76/2=38"
] | Current State: 38:[4, 54, 72, 56], Operations: []
Exploring Operation: 4+72=76, Resulting Numbers: [54, 56, 76]
Generated Node #2: [54, 56, 76] from Operation: 4+72=76
Current State: 38:[54, 56, 76], Operations: ['4+72=76']
Exploring Operation: 56-54=2, Resulting Numbers: [76, 2]
Generated Node #3: [76, 2] from Operation: 56-54=2
Current State: 38:[76, 2], Operations: ['4+72=76', '56-54=2']
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[4, 54, 72, 56], Operations: []
Exploring Operation: 72-54=18, Resulting Numbers: [4, 56, 18]
Generated Node #0,0: 38:[4, 56, 18] Operation: 72-54=18
Exploring Operation: 72-56=16, Resulting Numbers: [4, 54, 16]
Generated Node #0,1: 38:[4, 54, 16] Operation: 72-56=16
Exploring Operation: 56-54=2, Resulting Numbers: [4, 72, 2]
Generated Node #0,2: 38:[4, 72, 2] Operation: 56-54=2
Exploring Operation: 72/4=18, Resulting Numbers: [54, 56, 18]
Generated Node #0,3: 38:[54, 56, 18] Operation: 72/4=18
Moving to Node #0,0
Current State: 38:[4, 56, 18], Operations: ['72-54=18']
Exploring Operation: 56/4=14, Resulting Numbers: [18, 14]
Generated Node #0,0,0: 38:[18, 14] Operation: 56/4=14
Exploring Operation: 56-4=52, Resulting Numbers: [18, 52]
Generated Node #0,0,1: 38:[18, 52] Operation: 56-4=52
Exploring Operation: 4+18=22, Resulting Numbers: [56, 22]
Generated Node #0,0,2: 38:[56, 22] Operation: 4+18=22
Exploring Operation: 56-18=38, Resulting Numbers: [4, 38]
Generated Node #0,0,3: 38:[4, 38] Operation: 56-18=38
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 38:[4, 38], Operations: ['72-54=18', '56-18=38']
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,38 unequal: No Solution
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,38 unequal: No Solution
Exploring Operation: 4*38=152, Resulting Numbers: [152]
152,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 38:[18, 14], Operations: ['72-54=18', '56/4=14']
Exploring Operation: 18*14=252, Resulting Numbers: [252]
252,38 unequal: No Solution
Exploring Operation: 18+14=32, Resulting Numbers: [32]
32,38 unequal: No Solution
Exploring Operation: 18-14=4, Resulting Numbers: [4]
4,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 38:[18, 52], Operations: ['72-54=18', '56-4=52']
Exploring Operation: 52-18=34, Resulting Numbers: [34]
34,38 unequal: No Solution
Exploring Operation: 18*52=936, Resulting Numbers: [936]
936,38 unequal: No Solution
Exploring Operation: 18+52=70, Resulting Numbers: [70]
70,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 38:[56, 22], Operations: ['72-54=18', '4+18=22']
Exploring Operation: 56*22=1232, Resulting Numbers: [1232]
1232,38 unequal: No Solution
Exploring Operation: 56-22=34, Resulting Numbers: [34]
34,38 unequal: No Solution
Exploring Operation: 56+22=78, Resulting Numbers: [78]
78,38 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: 38:[4, 54, 16], Operations: ['72-56=16']
Exploring Operation: 54-16=38, Resulting Numbers: [4, 38]
Generated Node #0,1,0: 38:[4, 38] Operation: 54-16=38
Exploring Operation: 54-4=50, Resulting Numbers: [16, 50]
Generated Node #0,1,1: 38:[16, 50] Operation: 54-4=50
Exploring Operation: 4+16=20, Resulting Numbers: [54, 20]
Generated Node #0,1,2: 38:[54, 20] Operation: 4+16=20
Exploring Operation: 16/4=4, Resulting Numbers: [54, 4]
Generated Node #0,1,3: 38:[54, 4] Operation: 16/4=4
Moving to Node #0,3
Current State: 38:[54, 56, 18], Operations: ['72/4=18']
Exploring Operation: 56-54=2, Resulting Numbers: [18, 2]
Generated Node #0,3,0: 38:[18, 2] Operation: 56-54=2
Exploring Operation: 56-18=38, Resulting Numbers: [54, 38]
Generated Node #0,3,1: 38:[54, 38] Operation: 56-18=38
Exploring Operation: 54-18=36, Resulting Numbers: [56, 36]
Generated Node #0,3,2: 38:[56, 36] Operation: 54-18=36
Exploring Operation: 54/18=3, Resulting Numbers: [56, 3]
Generated Node #0,3,3: 38:[56, 3] Operation: 54/18=3
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 38:[18, 2], Operations: ['72/4=18', '56-54=2']
Exploring Operation: 18*2=36, Resulting Numbers: [36]
36,38 unequal: No Solution
Exploring Operation: 18+2=20, Resulting Numbers: [20]
20,38 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,38 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 38:[54, 38], Operations: ['72/4=18', '56-18=38']
Exploring Operation: 54*38=2052, Resulting Numbers: [2052]
2052,38 unequal: No Solution
Exploring Operation: 54-38=16, Resulting Numbers: [16]
16,38 unequal: No Solution
Exploring Operation: 54+38=92, Resulting Numbers: [92]
92,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 38:[56, 3], Operations: ['72/4=18', '54/18=3']
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,38 unequal: No Solution
Exploring Operation: 56+3=59, Resulting Numbers: [59]
59,38 unequal: No Solution
Exploring Operation: 56*3=168, Resulting Numbers: [168]
168,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 38:[56, 36], Operations: ['72/4=18', '54-18=36']
Exploring Operation: 56*36=2016, Resulting Numbers: [2016]
2016,38 unequal: No Solution
Exploring Operation: 56+36=92, Resulting Numbers: [92]
92,38 unequal: No Solution
Exploring Operation: 56-36=20, Resulting Numbers: [20]
20,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 38:[4, 72, 2], Operations: ['56-54=2']
Exploring Operation: 72/2=36, Resulting Numbers: [4, 36]
Generated Node #0,2,0: 38:[4, 36] Operation: 72/2=36
Exploring Operation: 72/4=18, Resulting Numbers: [2, 18]
Generated Node #0,2,1: 38:[2, 18] Operation: 72/4=18
Exploring Operation: 72-4=68, Resulting Numbers: [2, 68]
Generated Node #0,2,2: 38:[2, 68] Operation: 72-4=68
Exploring Operation: 4-2=2, Resulting Numbers: [72, 2]
Generated Node #0,2,3: 38:[72, 2] Operation: 4-2=2
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 38:[2, 18], Operations: ['56-54=2', '72/4=18']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,38 unequal: No Solution
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,38 unequal: No Solution
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,38 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 38:[4, 36], Operations: ['56-54=2', '72/2=36']
Exploring Operation: 4*36=144, Resulting Numbers: [144]
144,38 unequal: No Solution
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,38 unequal: No Solution
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,38 unequal: No Solution
Exploring Operation: 4+36=40, Resulting Numbers: [40]
40,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 38:[2, 68], Operations: ['56-54=2', '72-4=68']
Exploring Operation: 68-2=66, Resulting Numbers: [66]
66,38 unequal: No Solution
Exploring Operation: 2*68=136, Resulting Numbers: [136]
136,38 unequal: No Solution
Exploring Operation: 2+68=70, Resulting Numbers: [70]
70,38 unequal: No Solution
Exploring Operation: 68/2=34, Resulting Numbers: [34]
34,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 38:[72, 2], Operations: ['56-54=2', '4-2=2']
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,38 unequal: No Solution
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,38 unequal: No Solution
Exploring Operation: 72+2=74, Resulting Numbers: [74]
74,38 unequal: No Solution
Exploring Operation: 72*2=144, Resulting Numbers: [144]
144,38 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: 38:[4, 38], Operations: ['72-56=16', '54-16=38']
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,38 unequal: No Solution
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,38 unequal: No Solution
Exploring Operation: 4*38=152, Resulting Numbers: [152]
152,38 unequal: No Solution
Moving to Node #0,1,1
Current State: 38:[16, 50], Operations: ['72-56=16', '54-4=50']
Exploring Operation: 16*50=800, Resulting Numbers: [800]
800,38 unequal: No Solution
Exploring Operation: 50-16=34, Resulting Numbers: [34]
34,38 unequal: No Solution
Exploring Operation: 16+50=66, Resulting Numbers: [66]
66,38 unequal: No Solution
Moving to Node #0,1,2
Current State: 38:[54, 20], Operations: ['72-56=16', '4+16=20']
Exploring Operation: 54+20=74, Resulting Numbers: [74]
74,38 unequal: No Solution
Exploring Operation: 54*20=1080, Resulting Numbers: [1080]
1080,38 unequal: No Solution
Exploring Operation: 54-20=34, Resulting Numbers: [34]
34,38 unequal: No Solution
Moving to Node #0,1,3
Current State: 38:[54, 4], Operations: ['72-56=16', '16/4=4']
Exploring Operation: 54*4=216, Resulting Numbers: [216]
216,38 unequal: No Solution
Exploring Operation: 54-4=50, Resulting Numbers: [50]
50,38 unequal: No Solution
Exploring Operation: 54+4=58, Resulting Numbers: [58]
58,38 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
19,
33,
77,
1
] | 42 | [
"19-1=18",
"77*18=1386",
"1386/33=42"
] | Current State: 42:[19, 33, 77, 1], Operations: []
Exploring Operation: 19-1=18, Resulting Numbers: [33, 77, 18]
Generated Node #2: [33, 77, 18] from Operation: 19-1=18
Current State: 42:[33, 77, 18], Operations: ['19-1=18']
Exploring Operation: 77*18=1386, Resulting Numbers: [33, 1386]
Generated Node #3: [33, 1386] from Operation: 77*18=1386
Current State: 42:[33, 1386], Operations: ['19-1=18', '77*18=1386']
Exploring Operation: 1386/33=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[19, 33, 77, 1], Operations: []
Exploring Operation: 77-19=58, Resulting Numbers: [33, 1, 58]
Generated Node #0,0: 42:[33, 1, 58] Operation: 77-19=58
Exploring Operation: 77-33=44, Resulting Numbers: [19, 1, 44]
Generated Node #0,1: 42:[19, 1, 44] Operation: 77-33=44
Moving to Node #0,1
Current State: 42:[19, 1, 44], Operations: ['77-33=44']
Exploring Operation: 44-1=43, Resulting Numbers: [19, 43]
Generated Node #0,1,0: 42:[19, 43] Operation: 44-1=43
Exploring Operation: 19+1=20, Resulting Numbers: [44, 20]
Generated Node #0,1,1: 42:[44, 20] Operation: 19+1=20
Moving to Node #0,0
Current State: 42:[33, 1, 58], Operations: ['77-19=58']
Exploring Operation: 58-33=25, Resulting Numbers: [1, 25]
Generated Node #0,0,0: 42:[1, 25] Operation: 58-33=25
Exploring Operation: 33+1=34, Resulting Numbers: [58, 34]
Generated Node #0,0,1: 42:[58, 34] Operation: 33+1=34
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 42:[1, 25], Operations: ['77-19=58', '58-33=25']
Exploring Operation: 1*25=25, Resulting Numbers: [25]
25,42 unequal: No Solution
Exploring Operation: 25-1=24, Resulting Numbers: [24]
24,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,0,1
Current State: 42:[58, 34], Operations: ['77-19=58', '33+1=34']
Exploring Operation: 58+34=92, Resulting Numbers: [92]
92,42 unequal: No Solution
Exploring Operation: 58-34=24, Resulting Numbers: [24]
24,42 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: 42:[19, 43], Operations: ['77-33=44', '44-1=43']
Exploring Operation: 43-19=24, Resulting Numbers: [24]
24,42 unequal: No Solution
Exploring Operation: 19+43=62, Resulting Numbers: [62]
62,42 unequal: No Solution
Moving to Node #0,1,1
Current State: 42:[44, 20], Operations: ['77-33=44', '19+1=20']
Exploring Operation: 44+20=64, Resulting Numbers: [64]
64,42 unequal: No Solution
Exploring Operation: 44-20=24, Resulting Numbers: [24]
24,42 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
8,
58,
48,
21
] | 93 | [
"8+58=66",
"48-21=27",
"66+27=93"
] | Current State: 93:[8, 58, 48, 21], Operations: []
Exploring Operation: 8+58=66, Resulting Numbers: [48, 21, 66]
Generated Node #2: [48, 21, 66] from Operation: 8+58=66
Current State: 93:[48, 21, 66], Operations: ['8+58=66']
Exploring Operation: 48-21=27, Resulting Numbers: [66, 27]
Generated Node #3: [66, 27] from Operation: 48-21=27
Current State: 93:[66, 27], Operations: ['8+58=66', '48-21=27']
Exploring Operation: 66+27=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[8, 58, 48, 21], Operations: []
Exploring Operation: 58+48=106, Resulting Numbers: [8, 21, 106]
Generated Node #0,0: 93:[8, 21, 106] Operation: 58+48=106
Exploring Operation: 58-48=10, Resulting Numbers: [8, 21, 10]
Generated Node #0,1: 93:[8, 21, 10] Operation: 58-48=10
Exploring Operation: 58-21=37, Resulting Numbers: [8, 48, 37]
Generated Node #0,2: 93:[8, 48, 37] Operation: 58-21=37
Moving to Node #0,1
Current State: 93:[8, 21, 10], Operations: ['58-48=10']
Exploring Operation: 8+21=29, Resulting Numbers: [10, 29]
Generated Node #0,1,0: 93:[10, 29] Operation: 8+21=29
Exploring Operation: 21+10=31, Resulting Numbers: [8, 31]
Generated Node #0,1,1: 93:[8, 31] Operation: 21+10=31
Exploring Operation: 10-8=2, Resulting Numbers: [21, 2]
Generated Node #0,1,2: 93:[21, 2] Operation: 10-8=2
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 93:[8, 31], Operations: ['58-48=10', '21+10=31']
Exploring Operation: 8+31=39, Resulting Numbers: [39]
39,93 unequal: No Solution
Exploring Operation: 8*31=248, Resulting Numbers: [248]
248,93 unequal: No Solution
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,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:[10, 29], Operations: ['58-48=10', '8+21=29']
Exploring Operation: 29-10=19, Resulting Numbers: [19]
19,93 unequal: No Solution
Exploring Operation: 10+29=39, Resulting Numbers: [39]
39,93 unequal: No Solution
Exploring Operation: 10*29=290, Resulting Numbers: [290]
290,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:[21, 2], Operations: ['58-48=10', '10-8=2']
Exploring Operation: 21+2=23, Resulting Numbers: [23]
23,93 unequal: No Solution
Exploring Operation: 21*2=42, Resulting Numbers: [42]
42,93 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,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:[8, 21, 106], Operations: ['58+48=106']
Exploring Operation: 106-8=98, Resulting Numbers: [21, 98]
Generated Node #0,0,0: 93:[21, 98] Operation: 106-8=98
Exploring Operation: 106-21=85, Resulting Numbers: [8, 85]
Generated Node #0,0,1: 93:[8, 85] Operation: 106-21=85
Exploring Operation: 8+21=29, Resulting Numbers: [106, 29]
Generated Node #0,0,2: 93:[106, 29] Operation: 8+21=29
Moving to Node #0,2
Current State: 93:[8, 48, 37], Operations: ['58-21=37']
Exploring Operation: 48+37=85, Resulting Numbers: [8, 85]
Generated Node #0,2,0: 93:[8, 85] Operation: 48+37=85
Exploring Operation: 48-37=11, Resulting Numbers: [8, 11]
Generated Node #0,2,1: 93:[8, 11] Operation: 48-37=11
Exploring Operation: 48/8=6, Resulting Numbers: [37, 6]
Generated Node #0,2,2: 93:[37, 6] Operation: 48/8=6
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 93:[37, 6], Operations: ['58-21=37', '48/8=6']
Exploring Operation: 37+6=43, Resulting Numbers: [43]
43,93 unequal: No Solution
Exploring Operation: 37*6=222, Resulting Numbers: [222]
222,93 unequal: No Solution
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 93:[8, 85], Operations: ['58-21=37', '48+37=85']
Exploring Operation: 8+85=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[8, 58, 48, 21], Operations: []
Exploring Operation: 58-21=37, Resulting Numbers: [8, 48, 37]
Generated Node #0,2: 93:[8, 48, 37] Operation: 58-21=37
Moving to Node #0,2
Current State: 93:[8, 48, 37], Operations: ['58-21=37']
Exploring Operation: 48+37=85, Resulting Numbers: [8, 85]
Generated Node #0,2,0: 93:[8, 85] Operation: 48+37=85
Moving to Node #0,2,0
Current State: 93:[8, 85], Operations: ['58-21=37', '48+37=85']
Exploring Operation: 8+85=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_3 | sum_heuristic |
[
21,
46,
49,
45
] | 28 | [
"49-21=28",
"46-45=1",
"28*1=28"
] | Current State: 28:[21, 46, 49, 45], Operations: []
Exploring Operation: 49-21=28, Resulting Numbers: [46, 45, 28]
Generated Node #2: [46, 45, 28] from Operation: 49-21=28
Current State: 28:[46, 45, 28], Operations: ['49-21=28']
Exploring Operation: 46-45=1, Resulting Numbers: [28, 1]
Generated Node #3: [28, 1] from Operation: 46-45=1
Current State: 28:[28, 1], Operations: ['49-21=28', '46-45=1']
Exploring Operation: 28*1=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[21, 46, 49, 45], Operations: []
Exploring Operation: 49-46=3, Resulting Numbers: [21, 45, 3]
Generated Node #0,0: 28:[21, 45, 3] Operation: 49-46=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[21, 45, 3], Operations: ['49-46=3']
Exploring Operation: 45-21=24, Resulting Numbers: [3, 24]
Generated Node #0,0,0: 28:[3, 24] Operation: 45-21=24
Moving to Node #0,0,0
Current State: 28:[3, 24], Operations: ['49-46=3', '45-21=24']
Exploring Operation: 3+24=27, Resulting Numbers: [27]
27,28 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 |
[
46,
68,
78,
88
] | 32 | [
"68-46=22",
"88-78=10",
"22+10=32"
] | Current State: 32:[46, 68, 78, 88], Operations: []
Exploring Operation: 68-46=22, Resulting Numbers: [78, 88, 22]
Generated Node #2: [78, 88, 22] from Operation: 68-46=22
Current State: 32:[78, 88, 22], Operations: ['68-46=22']
Exploring Operation: 88-78=10, Resulting Numbers: [22, 10]
Generated Node #3: [22, 10] from Operation: 88-78=10
Current State: 32:[22, 10], Operations: ['68-46=22', '88-78=10']
Exploring Operation: 22+10=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[46, 68, 78, 88], Operations: []
Exploring Operation: 88-68=20, Resulting Numbers: [46, 78, 20]
Generated Node #0,0: 32:[46, 78, 20] Operation: 88-68=20
Exploring Operation: 88-46=42, Resulting Numbers: [68, 78, 42]
Generated Node #0,1: 32:[68, 78, 42] Operation: 88-46=42
Exploring Operation: 88-78=10, Resulting Numbers: [46, 68, 10]
Generated Node #0,2: 32:[46, 68, 10] Operation: 88-78=10
Exploring Operation: 78-68=10, Resulting Numbers: [46, 88, 10]
Generated Node #0,3: 32:[46, 88, 10] Operation: 78-68=10
Exploring Operation: 78-46=32, Resulting Numbers: [68, 88, 32]
Generated Node #0,4: 32:[68, 88, 32] Operation: 78-46=32
Start Sub Search at level 1: Moving to Node #0,2
Current State: 32:[46, 68, 10], Operations: ['88-78=10']
Exploring Operation: 46+10=56, Resulting Numbers: [68, 56]
Generated Node #0,2,0: 32:[68, 56] Operation: 46+10=56
Exploring Operation: 68-46=22, Resulting Numbers: [10, 22]
Generated Node #0,2,1: 32:[10, 22] Operation: 68-46=22
Exploring Operation: 46-10=36, Resulting Numbers: [68, 36]
Generated Node #0,2,2: 32:[68, 36] Operation: 46-10=36
Exploring Operation: 68+10=78, Resulting Numbers: [46, 78]
Generated Node #0,2,3: 32:[46, 78] Operation: 68+10=78
Exploring Operation: 68-10=58, Resulting Numbers: [46, 58]
Generated Node #0,2,4: 32:[46, 58] Operation: 68-10=58
Moving to Node #0,2,1
Current State: 32:[10, 22], Operations: ['88-78=10', '68-46=22']
Exploring Operation: 10*22=220, Resulting Numbers: [220]
220,32 unequal: No Solution
Exploring Operation: 10+22=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[46, 68, 78, 88], Operations: []
Exploring Operation: 88-78=10, Resulting Numbers: [46, 68, 10]
Generated Node #0,2: 32:[46, 68, 10] Operation: 88-78=10
Moving to Node #0,2
Current State: 32:[46, 68, 10], Operations: ['88-78=10']
Exploring Operation: 68-46=22, Resulting Numbers: [10, 22]
Generated Node #0,2,1: 32:[10, 22] Operation: 68-46=22
Moving to Node #0,2,1
Current State: 32:[10, 22], Operations: ['88-78=10', '68-46=22']
Exploring Operation: 10+22=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
4,
98,
50,
68
] | 34 | [
"4*50=200",
"98+68=166",
"200-166=34"
] | Current State: 34:[4, 98, 50, 68], Operations: []
Exploring Operation: 4*50=200, Resulting Numbers: [98, 68, 200]
Generated Node #2: [98, 68, 200] from Operation: 4*50=200
Current State: 34:[98, 68, 200], Operations: ['4*50=200']
Exploring Operation: 98+68=166, Resulting Numbers: [200, 166]
Generated Node #3: [200, 166] from Operation: 98+68=166
Current State: 34:[200, 166], Operations: ['4*50=200', '98+68=166']
Exploring Operation: 200-166=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[4, 98, 50, 68], Operations: []
Exploring Operation: 98-50=48, Resulting Numbers: [4, 68, 48]
Generated Node #0,0: 34:[4, 68, 48] Operation: 98-50=48
Exploring Operation: 68-50=18, Resulting Numbers: [4, 98, 18]
Generated Node #0,1: 34:[4, 98, 18] Operation: 68-50=18
Exploring Operation: 98-68=30, Resulting Numbers: [4, 50, 30]
Generated Node #0,2: 34:[4, 50, 30] Operation: 98-68=30
Moving to Node #0,2
Current State: 34:[4, 50, 30], Operations: ['98-68=30']
Exploring Operation: 4+30=34, Resulting Numbers: [50, 34]
Generated Node #0,2,0: 34:[50, 34] Operation: 4+30=34
Exploring Operation: 50-30=20, Resulting Numbers: [4, 20]
Generated Node #0,2,1: 34:[4, 20] Operation: 50-30=20
Exploring Operation: 50-4=46, Resulting Numbers: [30, 46]
Generated Node #0,2,2: 34:[30, 46] Operation: 50-4=46
Moving to Node #0,0
Current State: 34:[4, 68, 48], Operations: ['98-50=48']
Exploring Operation: 68-48=20, Resulting Numbers: [4, 20]
Generated Node #0,0,0: 34:[4, 20] Operation: 68-48=20
Exploring Operation: 68/4=17, Resulting Numbers: [48, 17]
Generated Node #0,0,1: 34:[48, 17] Operation: 68/4=17
Exploring Operation: 48/4=12, Resulting Numbers: [68, 12]
Generated Node #0,0,2: 34:[68, 12] Operation: 48/4=12
Moving to Node #0,1
Current State: 34:[4, 98, 18], Operations: ['68-50=18']
Exploring Operation: 98-4=94, Resulting Numbers: [18, 94]
Generated Node #0,1,0: 34:[18, 94] Operation: 98-4=94
Exploring Operation: 18-4=14, Resulting Numbers: [98, 14]
Generated Node #0,1,1: 34:[98, 14] Operation: 18-4=14
Exploring Operation: 98-18=80, Resulting Numbers: [4, 80]
Generated Node #0,1,2: 34:[4, 80] Operation: 98-18=80
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 34:[4, 80], Operations: ['68-50=18', '98-18=80']
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,34 unequal: No Solution
Exploring Operation: 80-4=76, Resulting Numbers: [76]
76,34 unequal: No Solution
Exploring Operation: 4+80=84, Resulting Numbers: [84]
84,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 34:[18, 94], Operations: ['68-50=18', '98-4=94']
Exploring Operation: 18+94=112, Resulting Numbers: [112]
112,34 unequal: No Solution
Exploring Operation: 94-18=76, Resulting Numbers: [76]
76,34 unequal: No Solution
Exploring Operation: 18*94=1692, Resulting Numbers: [1692]
1692,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 34:[98, 14], Operations: ['68-50=18', '18-4=14']
Exploring Operation: 98+14=112, Resulting Numbers: [112]
112,34 unequal: No Solution
Exploring Operation: 98-14=84, Resulting Numbers: [84]
84,34 unequal: No Solution
Exploring Operation: 98/14=7, Resulting Numbers: [7]
7,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 34:[4, 20], Operations: ['98-68=30', '50-30=20']
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,34 unequal: No Solution
Exploring Operation: 4+20=24, Resulting Numbers: [24]
24,34 unequal: No Solution
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,34 unequal: No Solution
Moving to Node #0,0,0
Current State: 34:[4, 20], Operations: ['98-50=48', '68-48=20']
Exploring Operation: 20/4=5, Resulting Numbers: [5]
5,34 unequal: No Solution
Exploring Operation: 20-4=16, Resulting Numbers: [16]
16,34 unequal: No Solution
Exploring Operation: 4+20=24, Resulting Numbers: [24]
24,34 unequal: No Solution
Moving to Node #0,0,1
Current State: 34:[48, 17], Operations: ['98-50=48', '68/4=17']
Exploring Operation: 48+17=65, Resulting Numbers: [65]
65,34 unequal: No Solution
Exploring Operation: 48-17=31, Resulting Numbers: [31]
31,34 unequal: No Solution
Exploring Operation: 48*17=816, Resulting Numbers: [816]
816,34 unequal: No Solution
Moving to Node #0,2,2
Current State: 34:[30, 46], Operations: ['98-68=30', '50-4=46']
Exploring Operation: 30+46=76, Resulting Numbers: [76]
76,34 unequal: No Solution
Exploring Operation: 30*46=1380, Resulting Numbers: [1380]
1380,34 unequal: No Solution
Exploring Operation: 46-30=16, Resulting Numbers: [16]
16,34 unequal: No Solution
Moving to Node #0,2,0
Current State: 34:[50, 34], Operations: ['98-68=30', '4+30=34']
Exploring Operation: 50+34=84, Resulting Numbers: [84]
84,34 unequal: No Solution
Exploring Operation: 50*34=1700, Resulting Numbers: [1700]
1700,34 unequal: No Solution
Exploring Operation: 50-34=16, Resulting Numbers: [16]
16,34 unequal: No Solution
Moving to Node #0,0,2
Current State: 34:[68, 12], Operations: ['98-50=48', '48/4=12']
Exploring Operation: 68-12=56, Resulting Numbers: [56]
56,34 unequal: No Solution
Exploring Operation: 68*12=816, Resulting Numbers: [816]
816,34 unequal: No Solution
Exploring Operation: 68+12=80, Resulting Numbers: [80]
80,34 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
83,
81,
46,
65
] | 88 | [
"83-81=2",
"46/2=23",
"65+23=88"
] | Current State: 88:[83, 81, 46, 65], Operations: []
Exploring Operation: 83-81=2, Resulting Numbers: [46, 65, 2]
Generated Node #2: [46, 65, 2] from Operation: 83-81=2
Current State: 88:[46, 65, 2], Operations: ['83-81=2']
Exploring Operation: 46/2=23, Resulting Numbers: [65, 23]
Generated Node #3: [65, 23] from Operation: 46/2=23
Current State: 88:[65, 23], Operations: ['83-81=2', '46/2=23']
Exploring Operation: 65+23=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[83, 81, 46, 65], Operations: []
Exploring Operation: 83-46=37, Resulting Numbers: [81, 65, 37]
Generated Node #0,0: 88:[81, 65, 37] Operation: 83-46=37
Exploring Operation: 65-46=19, Resulting Numbers: [83, 81, 19]
Generated Node #0,1: 88:[83, 81, 19] Operation: 65-46=19
Exploring Operation: 83-81=2, Resulting Numbers: [46, 65, 2]
Generated Node #0,2: 88:[46, 65, 2] Operation: 83-81=2
Exploring Operation: 83-65=18, Resulting Numbers: [81, 46, 18]
Generated Node #0,3: 88:[81, 46, 18] Operation: 83-65=18
Exploring Operation: 81-65=16, Resulting Numbers: [83, 46, 16]
Generated Node #0,4: 88:[83, 46, 16] Operation: 81-65=16
Start Sub Search at level 1: Moving to Node #0,4
Current State: 88:[83, 46, 16], Operations: ['81-65=16']
Exploring Operation: 46-16=30, Resulting Numbers: [83, 30]
Generated Node #0,4,0: 88:[83, 30] Operation: 46-16=30
Exploring Operation: 46+16=62, Resulting Numbers: [83, 62]
Generated Node #0,4,1: 88:[83, 62] Operation: 46+16=62
Exploring Operation: 83+16=99, Resulting Numbers: [46, 99]
Generated Node #0,4,2: 88:[46, 99] Operation: 83+16=99
Exploring Operation: 83-16=67, Resulting Numbers: [46, 67]
Generated Node #0,4,3: 88:[46, 67] Operation: 83-16=67
Exploring Operation: 83-46=37, Resulting Numbers: [16, 37]
Generated Node #0,4,4: 88:[16, 37] Operation: 83-46=37
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 88:[16, 37], Operations: ['81-65=16', '83-46=37']
Exploring Operation: 37-16=21, Resulting Numbers: [21]
21,88 unequal: No Solution
Exploring Operation: 16+37=53, Resulting Numbers: [53]
53,88 unequal: No Solution
Exploring Operation: 16*37=592, Resulting Numbers: [592]
592,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 88:[83, 30], Operations: ['81-65=16', '46-16=30']
Exploring Operation: 83+30=113, Resulting Numbers: [113]
113,88 unequal: No Solution
Exploring Operation: 83*30=2490, Resulting Numbers: [2490]
2490,88 unequal: No Solution
Exploring Operation: 83-30=53, Resulting Numbers: [53]
53,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 88:[46, 99], Operations: ['81-65=16', '83+16=99']
Exploring Operation: 46+99=145, Resulting Numbers: [145]
145,88 unequal: No Solution
Exploring Operation: 99-46=53, Resulting Numbers: [53]
53,88 unequal: No Solution
Exploring Operation: 46*99=4554, Resulting Numbers: [4554]
4554,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 88:[83, 62], Operations: ['81-65=16', '46+16=62']
Exploring Operation: 83*62=5146, Resulting Numbers: [5146]
5146,88 unequal: No Solution
Exploring Operation: 83-62=21, Resulting Numbers: [21]
21,88 unequal: No Solution
Exploring Operation: 83+62=145, Resulting Numbers: [145]
145,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 88:[46, 67], Operations: ['81-65=16', '83-16=67']
Exploring Operation: 46+67=113, Resulting Numbers: [113]
113,88 unequal: No Solution
Exploring Operation: 67-46=21, Resulting Numbers: [21]
21,88 unequal: No Solution
Exploring Operation: 46*67=3082, Resulting Numbers: [3082]
3082,88 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: 88:[81, 46, 18], Operations: ['83-65=18']
Exploring Operation: 46-18=28, Resulting Numbers: [81, 28]
Generated Node #0,3,0: 88:[81, 28] Operation: 46-18=28
Exploring Operation: 81-18=63, Resulting Numbers: [46, 63]
Generated Node #0,3,1: 88:[46, 63] Operation: 81-18=63
Exploring Operation: 46+18=64, Resulting Numbers: [81, 64]
Generated Node #0,3,2: 88:[81, 64] Operation: 46+18=64
Exploring Operation: 81-46=35, Resulting Numbers: [18, 35]
Generated Node #0,3,3: 88:[18, 35] Operation: 81-46=35
Exploring Operation: 81+18=99, Resulting Numbers: [46, 99]
Generated Node #0,3,4: 88:[46, 99] Operation: 81+18=99
Moving to Node #0,3,0
Current State: 88:[81, 28], Operations: ['83-65=18', '46-18=28']
Exploring Operation: 81-28=53, Resulting Numbers: [53]
53,88 unequal: No Solution
Exploring Operation: 81*28=2268, Resulting Numbers: [2268]
2268,88 unequal: No Solution
Exploring Operation: 81+28=109, Resulting Numbers: [109]
109,88 unequal: No Solution
Moving to Node #0,3,4
Current State: 88:[46, 99], Operations: ['83-65=18', '81+18=99']
Exploring Operation: 46*99=4554, Resulting Numbers: [4554]
4554,88 unequal: No Solution
Exploring Operation: 46+99=145, Resulting Numbers: [145]
145,88 unequal: No Solution
Exploring Operation: 99-46=53, Resulting Numbers: [53]
53,88 unequal: No Solution
Moving to Node #0,3,3
Current State: 88:[18, 35], Operations: ['83-65=18', '81-46=35']
Exploring Operation: 18*35=630, Resulting Numbers: [630]
630,88 unequal: No Solution
Exploring Operation: 18+35=53, Resulting Numbers: [53]
53,88 unequal: No Solution
Exploring Operation: 35-18=17, Resulting Numbers: [17]
17,88 unequal: No Solution
Moving to Node #0,3,1
Current State: 88:[46, 63], Operations: ['83-65=18', '81-18=63']
Exploring Operation: 46*63=2898, Resulting Numbers: [2898]
2898,88 unequal: No Solution
Exploring Operation: 63-46=17, Resulting Numbers: [17]
17,88 unequal: No Solution
Exploring Operation: 46+63=109, Resulting Numbers: [109]
109,88 unequal: No Solution
Moving to Node #0,3,2
Current State: 88:[81, 64], Operations: ['83-65=18', '46+18=64']
Exploring Operation: 81*64=5184, Resulting Numbers: [5184]
5184,88 unequal: No Solution
Exploring Operation: 81-64=17, Resulting Numbers: [17]
17,88 unequal: No Solution
Exploring Operation: 81+64=145, Resulting Numbers: [145]
145,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
Current State: 88:[83, 81, 19], Operations: ['65-46=19']
Exploring Operation: 83-81=2, Resulting Numbers: [19, 2]
Generated Node #0,1,0: 88:[19, 2] Operation: 83-81=2
Exploring Operation: 83+19=102, Resulting Numbers: [81, 102]
Generated Node #0,1,1: 88:[81, 102] Operation: 83+19=102
Exploring Operation: 81-19=62, Resulting Numbers: [83, 62]
Generated Node #0,1,2: 88:[83, 62] Operation: 81-19=62
Exploring Operation: 83-19=64, Resulting Numbers: [81, 64]
Generated Node #0,1,3: 88:[81, 64] Operation: 83-19=64
Exploring Operation: 81+19=100, Resulting Numbers: [83, 100]
Generated Node #0,1,4: 88:[83, 100] Operation: 81+19=100
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 88:[19, 2], Operations: ['65-46=19', '83-81=2']
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,88 unequal: No Solution
Exploring Operation: 19+2=21, Resulting Numbers: [21]
21,88 unequal: No Solution
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 88:[83, 100], Operations: ['65-46=19', '81+19=100']
Exploring Operation: 100-83=17, Resulting Numbers: [17]
17,88 unequal: No Solution
Exploring Operation: 83*100=8300, Resulting Numbers: [8300]
8300,88 unequal: No Solution
Exploring Operation: 83+100=183, Resulting Numbers: [183]
183,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 88:[81, 102], Operations: ['65-46=19', '83+19=102']
Exploring Operation: 81*102=8262, Resulting Numbers: [8262]
8262,88 unequal: No Solution
Exploring Operation: 81+102=183, Resulting Numbers: [183]
183,88 unequal: No Solution
Exploring Operation: 102-81=21, Resulting Numbers: [21]
21,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 88:[83, 62], Operations: ['65-46=19', '81-19=62']
Exploring Operation: 83*62=5146, Resulting Numbers: [5146]
5146,88 unequal: No Solution
Exploring Operation: 83-62=21, Resulting Numbers: [21]
21,88 unequal: No Solution
Exploring Operation: 83+62=145, Resulting Numbers: [145]
145,88 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 88:[81, 64], Operations: ['65-46=19', '83-19=64']
Exploring Operation: 81+64=145, Resulting Numbers: [145]
145,88 unequal: No Solution
Exploring Operation: 81-64=17, Resulting Numbers: [17]
17,88 unequal: No Solution
Exploring Operation: 81*64=5184, Resulting Numbers: [5184]
5184,88 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: 88:[46, 65, 2], Operations: ['83-81=2']
Exploring Operation: 46+65=111, Resulting Numbers: [2, 111]
Generated Node #0,2,0: 88:[2, 111] Operation: 46+65=111
Exploring Operation: 65-46=19, Resulting Numbers: [2, 19]
Generated Node #0,2,1: 88:[2, 19] Operation: 65-46=19
Exploring Operation: 65-2=63, Resulting Numbers: [46, 63]
Generated Node #0,2,2: 88:[46, 63] Operation: 65-2=63
Exploring Operation: 46-2=44, Resulting Numbers: [65, 44]
Generated Node #0,2,3: 88:[65, 44] Operation: 46-2=44
Exploring Operation: 46/2=23, Resulting Numbers: [65, 23]
Generated Node #0,2,4: 88:[65, 23] Operation: 46/2=23
Moving to Node #0,2,1
Current State: 88:[2, 19], Operations: ['83-81=2', '65-46=19']
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,88 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,88 unequal: No Solution
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,88 unequal: No Solution
Moving to Node #0,2,3
Current State: 88:[65, 44], Operations: ['83-81=2', '46-2=44']
Exploring Operation: 65*44=2860, Resulting Numbers: [2860]
2860,88 unequal: No Solution
Exploring Operation: 65+44=109, Resulting Numbers: [109]
109,88 unequal: No Solution
Exploring Operation: 65-44=21, Resulting Numbers: [21]
21,88 unequal: No Solution
Moving to Node #0,2,2
Current State: 88:[46, 63], Operations: ['83-81=2', '65-2=63']
Exploring Operation: 46*63=2898, Resulting Numbers: [2898]
2898,88 unequal: No Solution
Exploring Operation: 46+63=109, Resulting Numbers: [109]
109,88 unequal: No Solution
Exploring Operation: 63-46=17, Resulting Numbers: [17]
17,88 unequal: No Solution
Moving to Node #0,2,4
Current State: 88:[65, 23], Operations: ['83-81=2', '46/2=23']
Exploring Operation: 65*23=1495, Resulting Numbers: [1495]
1495,88 unequal: No Solution
Exploring Operation: 65-23=42, Resulting Numbers: [42]
42,88 unequal: No Solution
Exploring Operation: 65+23=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[83, 81, 46, 65], Operations: []
Exploring Operation: 83-81=2, Resulting Numbers: [46, 65, 2]
Generated Node #0,2: 88:[46, 65, 2] Operation: 83-81=2
Moving to Node #0,2
Current State: 88:[46, 65, 2], Operations: ['83-81=2']
Exploring Operation: 46/2=23, Resulting Numbers: [65, 23]
Generated Node #0,2,4: 88:[65, 23] Operation: 46/2=23
Moving to Node #0,2,4
Current State: 88:[65, 23], Operations: ['83-81=2', '46/2=23']
Exploring Operation: 65+23=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.925347 | hs_5 | sum_heuristic |
[
83,
41,
97,
12
] | 56 | [
"83+97=180",
"180/12=15",
"41+15=56"
] | Current State: 56:[83, 41, 97, 12], Operations: []
Exploring Operation: 83+97=180, Resulting Numbers: [41, 12, 180]
Generated Node #2: [41, 12, 180] from Operation: 83+97=180
Current State: 56:[41, 12, 180], Operations: ['83+97=180']
Exploring Operation: 180/12=15, Resulting Numbers: [41, 15]
Generated Node #3: [41, 15] from Operation: 180/12=15
Current State: 56:[41, 15], Operations: ['83+97=180', '180/12=15']
Exploring Operation: 41+15=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[83, 41, 97, 12], Operations: []
Exploring Operation: 97-41=56, Resulting Numbers: [83, 12, 56]
Generated Node #0,0: 56:[83, 12, 56] Operation: 97-41=56
Exploring Operation: 97-83=14, Resulting Numbers: [41, 12, 14]
Generated Node #0,1: 56:[41, 12, 14] Operation: 97-83=14
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[41, 12, 14], Operations: ['97-83=14']
Exploring Operation: 41+12=53, Resulting Numbers: [14, 53]
Generated Node #0,1,0: 56:[14, 53] Operation: 41+12=53
Exploring Operation: 41-12=29, Resulting Numbers: [14, 29]
Generated Node #0,1,1: 56:[14, 29] Operation: 41-12=29
Moving to Node #0,1,1
Current State: 56:[14, 29], Operations: ['97-83=14', '41-12=29']
Exploring Operation: 29-14=15, Resulting Numbers: [15]
15,56 unequal: No Solution
Exploring Operation: 14+29=43, Resulting Numbers: [43]
43,56 unequal: No Solution
Moving to Node #0,1,0
Current State: 56:[14, 53], Operations: ['97-83=14', '41+12=53']
Exploring Operation: 14+53=67, Resulting Numbers: [67]
67,56 unequal: No Solution
Exploring Operation: 53-14=39, Resulting Numbers: [39]
39,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[83, 12, 56], Operations: ['97-41=56']
Exploring Operation: 83-56=27, Resulting Numbers: [12, 27]
Generated Node #0,0,0: 56:[12, 27] Operation: 83-56=27
Exploring Operation: 83-12=71, Resulting Numbers: [56, 71]
Generated Node #0,0,1: 56:[56, 71] Operation: 83-12=71
Moving to Node #0,0,0
Current State: 56:[12, 27], Operations: ['97-41=56', '83-56=27']
Exploring Operation: 12+27=39, Resulting Numbers: [39]
39,56 unequal: No Solution
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,56 unequal: No Solution
Moving to Node #0,0,1
Current State: 56:[56, 71], Operations: ['97-41=56', '83-12=71']
Exploring Operation: 71-56=15, Resulting Numbers: [15]
15,56 unequal: No Solution
Exploring Operation: 56+71=127, Resulting Numbers: [127]
127,56 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 |
[
23,
69,
81,
95
] | 78 | [
"23+69=92",
"95-81=14",
"92-14=78"
] | Current State: 78:[23, 69, 81, 95], Operations: []
Exploring Operation: 23+69=92, Resulting Numbers: [81, 95, 92]
Generated Node #2: [81, 95, 92] from Operation: 23+69=92
Current State: 78:[81, 95, 92], Operations: ['23+69=92']
Exploring Operation: 95-81=14, Resulting Numbers: [92, 14]
Generated Node #3: [92, 14] from Operation: 95-81=14
Current State: 78:[92, 14], Operations: ['23+69=92', '95-81=14']
Exploring Operation: 92-14=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[23, 69, 81, 95], Operations: []
Exploring Operation: 95-69=26, Resulting Numbers: [23, 81, 26]
Generated Node #0,0: 78:[23, 81, 26] Operation: 95-69=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[23, 81, 26], Operations: ['95-69=26']
Exploring Operation: 26-23=3, Resulting Numbers: [81, 3]
Generated Node #0,0,0: 78:[81, 3] Operation: 26-23=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 78:[81, 3], Operations: ['95-69=26', '26-23=3']
Exploring Operation: 81-3=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[23, 69, 81, 95], Operations: []
Exploring Operation: 95-69=26, Resulting Numbers: [23, 81, 26]
Generated Node #0,0: 78:[23, 81, 26] Operation: 95-69=26
Moving to Node #0,0
Current State: 78:[23, 81, 26], Operations: ['95-69=26']
Exploring Operation: 26-23=3, Resulting Numbers: [81, 3]
Generated Node #0,0,0: 78:[81, 3] Operation: 26-23=3
Moving to Node #0,0,0
Current State: 78:[81, 3], Operations: ['95-69=26', '26-23=3']
Exploring Operation: 81-3=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
99,
74,
37,
85
] | 92 | [
"99+85=184",
"74/37=2",
"184/2=92"
] | Current State: 92:[99, 74, 37, 85], Operations: []
Exploring Operation: 99+85=184, Resulting Numbers: [74, 37, 184]
Generated Node #2: [74, 37, 184] from Operation: 99+85=184
Current State: 92:[74, 37, 184], Operations: ['99+85=184']
Exploring Operation: 74/37=2, Resulting Numbers: [184, 2]
Generated Node #3: [184, 2] from Operation: 74/37=2
Current State: 92:[184, 2], Operations: ['99+85=184', '74/37=2']
Exploring Operation: 184/2=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[99, 74, 37, 85], Operations: []
Exploring Operation: 74/37=2, Resulting Numbers: [99, 85, 2]
Generated Node #0,0: 92:[99, 85, 2] Operation: 74/37=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[99, 85, 2], Operations: ['74/37=2']
Exploring Operation: 99-85=14, Resulting Numbers: [2, 14]
Generated Node #0,0,0: 92:[2, 14] Operation: 99-85=14
Moving to Node #0,0,0
Current State: 92:[2, 14], Operations: ['74/37=2', '99-85=14']
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
19,
15,
89,
99
] | 40 | [
"19-15=4",
"99-89=10",
"4*10=40"
] | Current State: 40:[19, 15, 89, 99], Operations: []
Exploring Operation: 19-15=4, Resulting Numbers: [89, 99, 4]
Generated Node #2: [89, 99, 4] from Operation: 19-15=4
Current State: 40:[89, 99, 4], Operations: ['19-15=4']
Exploring Operation: 99-89=10, Resulting Numbers: [4, 10]
Generated Node #3: [4, 10] from Operation: 99-89=10
Current State: 40:[4, 10], Operations: ['19-15=4', '99-89=10']
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[19, 15, 89, 99], Operations: []
Exploring Operation: 99-89=10, Resulting Numbers: [19, 15, 10]
Generated Node #0,0: 40:[19, 15, 10] Operation: 99-89=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[19, 15, 10], Operations: ['99-89=10']
Exploring Operation: 19-15=4, Resulting Numbers: [10, 4]
Generated Node #0,0,0: 40:[10, 4] Operation: 19-15=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 40:[10, 4], Operations: ['99-89=10', '19-15=4']
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[19, 15, 89, 99], Operations: []
Exploring Operation: 99-89=10, Resulting Numbers: [19, 15, 10]
Generated Node #0,0: 40:[19, 15, 10] Operation: 99-89=10
Moving to Node #0,0
Current State: 40:[19, 15, 10], Operations: ['99-89=10']
Exploring Operation: 19-15=4, Resulting Numbers: [10, 4]
Generated Node #0,0,0: 40:[10, 4] Operation: 19-15=4
Moving to Node #0,0,0
Current State: 40:[10, 4], Operations: ['99-89=10', '19-15=4']
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
3,
1,
38,
87
] | 30 | [
"1+38=39",
"3*39=117",
"117-87=30"
] | Current State: 30:[3, 1, 38, 87], Operations: []
Exploring Operation: 1+38=39, Resulting Numbers: [3, 87, 39]
Generated Node #2: [3, 87, 39] from Operation: 1+38=39
Current State: 30:[3, 87, 39], Operations: ['1+38=39']
Exploring Operation: 3*39=117, Resulting Numbers: [87, 117]
Generated Node #3: [87, 117] from Operation: 3*39=117
Current State: 30:[87, 117], Operations: ['1+38=39', '3*39=117']
Exploring Operation: 117-87=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[3, 1, 38, 87], Operations: []
Exploring Operation: 87-38=49, Resulting Numbers: [3, 1, 49]
Generated Node #0,0: 30:[3, 1, 49] Operation: 87-38=49
Exploring Operation: 38-3=35, Resulting Numbers: [1, 87, 35]
Generated Node #0,1: 30:[1, 87, 35] Operation: 38-3=35
Exploring Operation: 87/3=29, Resulting Numbers: [1, 38, 29]
Generated Node #0,2: 30:[1, 38, 29] Operation: 87/3=29
Exploring Operation: 87-3=84, Resulting Numbers: [1, 38, 84]
Generated Node #0,3: 30:[1, 38, 84] Operation: 87-3=84
Exploring Operation: 38-1=37, Resulting Numbers: [3, 87, 37]
Generated Node #0,4: 30:[3, 87, 37] Operation: 38-1=37
Moving to Node #0,2
Current State: 30:[1, 38, 29], Operations: ['87/3=29']
Exploring Operation: 38-1=37, Resulting Numbers: [29, 37]
Generated Node #0,2,0: 30:[29, 37] Operation: 38-1=37
Exploring Operation: 38/1=38, Resulting Numbers: [29, 38]
Generated Node #0,2,1: 30:[29, 38] Operation: 38/1=38
Exploring Operation: 1*38=38, Resulting Numbers: [29, 38]
Generated Node #0,2,2: 30:[29, 38] Operation: 1*38=38
Exploring Operation: 38-29=9, Resulting Numbers: [1, 9]
Generated Node #0,2,3: 30:[1, 9] Operation: 38-29=9
Exploring Operation: 1+29=30, Resulting Numbers: [38, 30]
Generated Node #0,2,4: 30:[38, 30] Operation: 1+29=30
Moving to Node #0,0
Current State: 30:[3, 1, 49], Operations: ['87-38=49']
Exploring Operation: 49-1=48, Resulting Numbers: [3, 48]
Generated Node #0,0,0: 30:[3, 48] Operation: 49-1=48
Exploring Operation: 49-3=46, Resulting Numbers: [1, 46]
Generated Node #0,0,1: 30:[1, 46] Operation: 49-3=46
Exploring Operation: 3-1=2, Resulting Numbers: [49, 2]
Generated Node #0,0,2: 30:[49, 2] Operation: 3-1=2
Exploring Operation: 3*1=3, Resulting Numbers: [49, 3]
Generated Node #0,0,3: 30:[49, 3] Operation: 3*1=3
Exploring Operation: 3/1=3, Resulting Numbers: [49, 3]
Generated Node #0,0,4: 30:[49, 3] Operation: 3/1=3
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 30:[1, 46], Operations: ['87-38=49', '49-3=46']
Exploring Operation: 46/1=46, Resulting Numbers: [46]
46,30 unequal: No Solution
Exploring Operation: 46-1=45, Resulting Numbers: [45]
45,30 unequal: No Solution
Exploring Operation: 1*46=46, Resulting Numbers: [46]
46,30 unequal: No Solution
Exploring Operation: 1+46=47, Resulting Numbers: [47]
47,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 30:[3, 48], Operations: ['87-38=49', '49-1=48']
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,30 unequal: No Solution
Exploring Operation: 3*48=144, Resulting Numbers: [144]
144,30 unequal: No Solution
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,30 unequal: No Solution
Exploring Operation: 3+48=51, Resulting Numbers: [51]
51,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 30:[49, 2], Operations: ['87-38=49', '3-1=2']
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,30 unequal: No Solution
Exploring Operation: 49+2=51, Resulting Numbers: [51]
51,30 unequal: No Solution
Exploring Operation: 49*2=98, Resulting Numbers: [98]
98,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 30:[49, 3], Operations: ['87-38=49', '3*1=3']
Exploring Operation: 49+3=52, Resulting Numbers: [52]
52,30 unequal: No Solution
Exploring Operation: 49*3=147, Resulting Numbers: [147]
147,30 unequal: No Solution
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 30:[49, 3], Operations: ['87-38=49', '3/1=3']
Exploring Operation: 49+3=52, Resulting Numbers: [52]
52,30 unequal: No Solution
Exploring Operation: 49-3=46, Resulting Numbers: [46]
46,30 unequal: No Solution
Exploring Operation: 49*3=147, Resulting Numbers: [147]
147,30 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: 30:[1, 87, 35], Operations: ['38-3=35']
Exploring Operation: 1*87=87, Resulting Numbers: [35, 87]
Generated Node #0,1,0: 30:[35, 87] Operation: 1*87=87
Exploring Operation: 87-35=52, Resulting Numbers: [1, 52]
Generated Node #0,1,1: 30:[1, 52] Operation: 87-35=52
Exploring Operation: 87/1=87, Resulting Numbers: [35, 87]
Generated Node #0,1,2: 30:[35, 87] Operation: 87/1=87
Exploring Operation: 87-1=86, Resulting Numbers: [35, 86]
Generated Node #0,1,3: 30:[35, 86] Operation: 87-1=86
Exploring Operation: 35-1=34, Resulting Numbers: [87, 34]
Generated Node #0,1,4: 30:[87, 34] Operation: 35-1=34
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 30:[1, 52], Operations: ['38-3=35', '87-35=52']
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,30 unequal: No Solution
Exploring Operation: 1+52=53, Resulting Numbers: [53]
53,30 unequal: No Solution
Exploring Operation: 52/1=52, Resulting Numbers: [52]
52,30 unequal: No Solution
Exploring Operation: 1*52=52, Resulting Numbers: [52]
52,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 30:[35, 86], Operations: ['38-3=35', '87-1=86']
Exploring Operation: 35+86=121, Resulting Numbers: [121]
121,30 unequal: No Solution
Exploring Operation: 86-35=51, Resulting Numbers: [51]
51,30 unequal: No Solution
Exploring Operation: 35*86=3010, Resulting Numbers: [3010]
3010,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 30:[87, 34], Operations: ['38-3=35', '35-1=34']
Exploring Operation: 87+34=121, Resulting Numbers: [121]
121,30 unequal: No Solution
Exploring Operation: 87*34=2958, Resulting Numbers: [2958]
2958,30 unequal: No Solution
Exploring Operation: 87-34=53, Resulting Numbers: [53]
53,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 30:[35, 87], Operations: ['38-3=35', '1*87=87']
Exploring Operation: 35+87=122, Resulting Numbers: [122]
122,30 unequal: No Solution
Exploring Operation: 35*87=3045, Resulting Numbers: [3045]
3045,30 unequal: No Solution
Exploring Operation: 87-35=52, Resulting Numbers: [52]
52,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 30:[35, 87], Operations: ['38-3=35', '87/1=87']
Exploring Operation: 35+87=122, Resulting Numbers: [122]
122,30 unequal: No Solution
Exploring Operation: 35*87=3045, Resulting Numbers: [3045]
3045,30 unequal: No Solution
Exploring Operation: 87-35=52, Resulting Numbers: [52]
52,30 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: 30:[1, 38, 84], Operations: ['87-3=84']
Exploring Operation: 38/1=38, Resulting Numbers: [84, 38]
Generated Node #0,3,0: 30:[84, 38] Operation: 38/1=38
Exploring Operation: 84-38=46, Resulting Numbers: [1, 46]
Generated Node #0,3,1: 30:[1, 46] Operation: 84-38=46
Exploring Operation: 38-1=37, Resulting Numbers: [84, 37]
Generated Node #0,3,2: 30:[84, 37] Operation: 38-1=37
Exploring Operation: 1*38=38, Resulting Numbers: [84, 38]
Generated Node #0,3,3: 30:[84, 38] Operation: 1*38=38
Exploring Operation: 84-1=83, Resulting Numbers: [38, 83]
Generated Node #0,3,4: 30:[38, 83] Operation: 84-1=83
Moving to Node #0,4
Current State: 30:[3, 87, 37], Operations: ['38-1=37']
Exploring Operation: 87/3=29, Resulting Numbers: [37, 29]
Generated Node #0,4,0: 30:[37, 29] Operation: 87/3=29
Exploring Operation: 87-37=50, Resulting Numbers: [3, 50]
Generated Node #0,4,1: 30:[3, 50] Operation: 87-37=50
Exploring Operation: 87-3=84, Resulting Numbers: [37, 84]
Generated Node #0,4,2: 30:[37, 84] Operation: 87-3=84
Exploring Operation: 3+87=90, Resulting Numbers: [37, 90]
Generated Node #0,4,3: 30:[37, 90] Operation: 3+87=90
Exploring Operation: 37-3=34, Resulting Numbers: [87, 34]
Generated Node #0,4,4: 30:[87, 34] Operation: 37-3=34
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 30:[37, 29], Operations: ['38-1=37', '87/3=29']
Exploring Operation: 37-29=8, Resulting Numbers: [8]
8,30 unequal: No Solution
Exploring Operation: 37+29=66, Resulting Numbers: [66]
66,30 unequal: No Solution
Exploring Operation: 37*29=1073, Resulting Numbers: [1073]
1073,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 30:[3, 50], Operations: ['38-1=37', '87-37=50']
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,30 unequal: No Solution
Exploring Operation: 3*50=150, Resulting Numbers: [150]
150,30 unequal: No Solution
Exploring Operation: 3+50=53, Resulting Numbers: [53]
53,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 30:[37, 84], Operations: ['38-1=37', '87-3=84']
Exploring Operation: 37+84=121, Resulting Numbers: [121]
121,30 unequal: No Solution
Exploring Operation: 84-37=47, Resulting Numbers: [47]
47,30 unequal: No Solution
Exploring Operation: 37*84=3108, Resulting Numbers: [3108]
3108,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 30:[87, 34], Operations: ['38-1=37', '37-3=34']
Exploring Operation: 87-34=53, Resulting Numbers: [53]
53,30 unequal: No Solution
Exploring Operation: 87*34=2958, Resulting Numbers: [2958]
2958,30 unequal: No Solution
Exploring Operation: 87+34=121, Resulting Numbers: [121]
121,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 30:[37, 90], Operations: ['38-1=37', '3+87=90']
Exploring Operation: 37*90=3330, Resulting Numbers: [3330]
3330,30 unequal: No Solution
Exploring Operation: 37+90=127, Resulting Numbers: [127]
127,30 unequal: No Solution
Exploring Operation: 90-37=53, Resulting Numbers: [53]
53,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 30:[1, 9], Operations: ['87/3=29', '38-29=9']
Exploring Operation: 1+9=10, Resulting Numbers: [10]
10,30 unequal: No Solution
Exploring Operation: 1*9=9, Resulting Numbers: [9]
9,30 unequal: No Solution
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,30 unequal: No Solution
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,30 unequal: No Solution
Moving to Node #0,2,4
Current State: 30:[38, 30], Operations: ['87/3=29', '1+29=30']
Exploring Operation: 38+30=68, Resulting Numbers: [68]
68,30 unequal: No Solution
Exploring Operation: 38*30=1140, Resulting Numbers: [1140]
1140,30 unequal: No Solution
Exploring Operation: 38-30=8, Resulting Numbers: [8]
8,30 unequal: No Solution
Moving to Node #0,2,0
Current State: 30:[29, 37], Operations: ['87/3=29', '38-1=37']
Exploring Operation: 37-29=8, Resulting Numbers: [8]
8,30 unequal: No Solution
Exploring Operation: 29+37=66, Resulting Numbers: [66]
66,30 unequal: No Solution
Exploring Operation: 29*37=1073, Resulting Numbers: [1073]
1073,30 unequal: No Solution
Moving to Node #0,2,2
Current State: 30:[29, 38], Operations: ['87/3=29', '1*38=38']
Exploring Operation: 29+38=67, Resulting Numbers: [67]
67,30 unequal: No Solution
Exploring Operation: 38-29=9, Resulting Numbers: [9]
9,30 unequal: No Solution
Exploring Operation: 29*38=1102, Resulting Numbers: [1102]
1102,30 unequal: No Solution
Moving to Node #0,2,1
Current State: 30:[29, 38], Operations: ['87/3=29', '38/1=38']
Exploring Operation: 38-29=9, Resulting Numbers: [9]
9,30 unequal: No Solution
Exploring Operation: 29+38=67, Resulting Numbers: [67]
67,30 unequal: No Solution
Exploring Operation: 29*38=1102, Resulting Numbers: [1102]
1102,30 unequal: No Solution
Moving to Node #0,3,1
Current State: 30:[1, 46], Operations: ['87-3=84', '84-38=46']
Exploring Operation: 1*46=46, Resulting Numbers: [46]
46,30 unequal: No Solution
Exploring Operation: 46-1=45, Resulting Numbers: [45]
45,30 unequal: No Solution
Exploring Operation: 1+46=47, Resulting Numbers: [47]
47,30 unequal: No Solution
Exploring Operation: 46/1=46, Resulting Numbers: [46]
46,30 unequal: No Solution
Moving to Node #0,3,4
Current State: 30:[38, 83], Operations: ['87-3=84', '84-1=83']
Exploring Operation: 83-38=45, Resulting Numbers: [45]
45,30 unequal: No Solution
Exploring Operation: 38+83=121, Resulting Numbers: [121]
121,30 unequal: No Solution
Exploring Operation: 38*83=3154, Resulting Numbers: [3154]
3154,30 unequal: No Solution
Moving to Node #0,3,2
Current State: 30:[84, 37], Operations: ['87-3=84', '38-1=37']
Exploring Operation: 84+37=121, Resulting Numbers: [121]
121,30 unequal: No Solution
Exploring Operation: 84*37=3108, Resulting Numbers: [3108]
3108,30 unequal: No Solution
Exploring Operation: 84-37=47, Resulting Numbers: [47]
47,30 unequal: No Solution
Moving to Node #0,3,0
Current State: 30:[84, 38], Operations: ['87-3=84', '38/1=38']
Exploring Operation: 84-38=46, Resulting Numbers: [46]
46,30 unequal: No Solution
Exploring Operation: 84+38=122, Resulting Numbers: [122]
122,30 unequal: No Solution
Exploring Operation: 84*38=3192, Resulting Numbers: [3192]
3192,30 unequal: No Solution
Moving to Node #0,3,3
Current State: 30:[84, 38], Operations: ['87-3=84', '1*38=38']
Exploring Operation: 84*38=3192, Resulting Numbers: [3192]
3192,30 unequal: No Solution
Exploring Operation: 84-38=46, Resulting Numbers: [46]
46,30 unequal: No Solution
Exploring Operation: 84+38=122, Resulting Numbers: [122]
122,30 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
53,
33,
27,
3
] | 87 | [
"53-33=20",
"3*20=60",
"27+60=87"
] | Current State: 87:[53, 33, 27, 3], Operations: []
Exploring Operation: 53-33=20, Resulting Numbers: [27, 3, 20]
Generated Node #2: [27, 3, 20] from Operation: 53-33=20
Current State: 87:[27, 3, 20], Operations: ['53-33=20']
Exploring Operation: 3*20=60, Resulting Numbers: [27, 60]
Generated Node #3: [27, 60] from Operation: 3*20=60
Current State: 87:[27, 60], Operations: ['53-33=20', '3*20=60']
Exploring Operation: 27+60=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[53, 33, 27, 3], Operations: []
Exploring Operation: 53+33=86, Resulting Numbers: [27, 3, 86]
Generated Node #0,0: 87:[27, 3, 86] Operation: 53+33=86
Moving to Node #0,0
Current State: 87:[27, 3, 86], Operations: ['53+33=86']
Exploring Operation: 27+3=30, Resulting Numbers: [86, 30]
Generated Node #0,0,0: 87:[86, 30] Operation: 27+3=30
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 87:[86, 30], Operations: ['53+33=86', '27+3=30']
Exploring Operation: 86-30=56, Resulting Numbers: [56]
56,87 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 |
[
99,
33,
17,
2
] | 32 | [
"99-33=66",
"17*2=34",
"66-34=32"
] | Current State: 32:[99, 33, 17, 2], Operations: []
Exploring Operation: 99-33=66, Resulting Numbers: [17, 2, 66]
Generated Node #2: [17, 2, 66] from Operation: 99-33=66
Current State: 32:[17, 2, 66], Operations: ['99-33=66']
Exploring Operation: 17*2=34, Resulting Numbers: [66, 34]
Generated Node #3: [66, 34] from Operation: 17*2=34
Current State: 32:[66, 34], Operations: ['99-33=66', '17*2=34']
Exploring Operation: 66-34=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[99, 33, 17, 2], Operations: []
Exploring Operation: 99/33=3, Resulting Numbers: [17, 2, 3]
Generated Node #0,0: 32:[17, 2, 3] Operation: 99/33=3
Exploring Operation: 99-33=66, Resulting Numbers: [17, 2, 66]
Generated Node #0,1: 32:[17, 2, 66] Operation: 99-33=66
Exploring Operation: 99-17=82, Resulting Numbers: [33, 2, 82]
Generated Node #0,2: 32:[33, 2, 82] Operation: 99-17=82
Exploring Operation: 99-2=97, Resulting Numbers: [33, 17, 97]
Generated Node #0,3: 32:[33, 17, 97] Operation: 99-2=97
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[17, 2, 3], Operations: ['99/33=3']
Exploring Operation: 3-2=1, Resulting Numbers: [17, 1]
Generated Node #0,0,0: 32:[17, 1] Operation: 3-2=1
Exploring Operation: 17-2=15, Resulting Numbers: [3, 15]
Generated Node #0,0,1: 32:[3, 15] Operation: 17-2=15
Exploring Operation: 2+3=5, Resulting Numbers: [17, 5]
Generated Node #0,0,2: 32:[17, 5] Operation: 2+3=5
Exploring Operation: 17-3=14, Resulting Numbers: [2, 14]
Generated Node #0,0,3: 32:[2, 14] Operation: 17-3=14
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 32:[17, 1], Operations: ['99/33=3', '3-2=1']
Exploring Operation: 17*1=17, Resulting Numbers: [17]
17,32 unequal: No Solution
Exploring Operation: 17-1=16, Resulting Numbers: [16]
16,32 unequal: No Solution
Exploring Operation: 17/1=17, Resulting Numbers: [17]
17,32 unequal: No Solution
Exploring Operation: 17+1=18, Resulting Numbers: [18]
18,32 unequal: No Solution
No 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: 32:[3, 15], Operations: ['99/33=3', '17-2=15']
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,32 unequal: No Solution
Exploring Operation: 3+15=18, Resulting Numbers: [18]
18,32 unequal: No Solution
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,32 unequal: No Solution
No 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: 32:[17, 5], Operations: ['99/33=3', '2+3=5']
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,32 unequal: No Solution
Exploring Operation: 17*5=85, Resulting Numbers: [85]
85,32 unequal: No Solution
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,32 unequal: No Solution
No 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: 32:[2, 14], Operations: ['99/33=3', '17-3=14']
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,32 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,32 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,32 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,32 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: 32:[17, 2, 66], Operations: ['99-33=66']
Exploring Operation: 17-2=15, Resulting Numbers: [66, 15]
Generated Node #0,1,0: 32:[66, 15] Operation: 17-2=15
Exploring Operation: 66-17=49, Resulting Numbers: [2, 49]
Generated Node #0,1,1: 32:[2, 49] Operation: 66-17=49
Exploring Operation: 66/2=33, Resulting Numbers: [17, 33]
Generated Node #0,1,2: 32:[17, 33] Operation: 66/2=33
Exploring Operation: 66-2=64, Resulting Numbers: [17, 64]
Generated Node #0,1,3: 32:[17, 64] Operation: 66-2=64
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 32:[17, 33], Operations: ['99-33=66', '66/2=33']
Exploring Operation: 17*33=561, Resulting Numbers: [561]
561,32 unequal: No Solution
Exploring Operation: 17+33=50, Resulting Numbers: [50]
50,32 unequal: No Solution
Exploring Operation: 33-17=16, Resulting Numbers: [16]
16,32 unequal: No Solution
No 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: 32:[2, 49], Operations: ['99-33=66', '66-17=49']
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,32 unequal: No Solution
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,32 unequal: No Solution
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,32 unequal: No Solution
No 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: 32:[17, 64], Operations: ['99-33=66', '66-2=64']
Exploring Operation: 64-17=47, Resulting Numbers: [47]
47,32 unequal: No Solution
Exploring Operation: 17+64=81, Resulting Numbers: [81]
81,32 unequal: No Solution
Exploring Operation: 17*64=1088, Resulting Numbers: [1088]
1088,32 unequal: No Solution
No 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: 32:[66, 15], Operations: ['99-33=66', '17-2=15']
Exploring Operation: 66+15=81, Resulting Numbers: [81]
81,32 unequal: No Solution
Exploring Operation: 66-15=51, Resulting Numbers: [51]
51,32 unequal: No Solution
Exploring Operation: 66*15=990, Resulting Numbers: [990]
990,32 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: 32:[33, 2, 82], Operations: ['99-17=82']
Exploring Operation: 82/2=41, Resulting Numbers: [33, 41]
Generated Node #0,2,0: 32:[33, 41] Operation: 82/2=41
Exploring Operation: 33-2=31, Resulting Numbers: [82, 31]
Generated Node #0,2,1: 32:[82, 31] Operation: 33-2=31
Exploring Operation: 82-2=80, Resulting Numbers: [33, 80]
Generated Node #0,2,2: 32:[33, 80] Operation: 82-2=80
Exploring Operation: 82-33=49, Resulting Numbers: [2, 49]
Generated Node #0,2,3: 32:[2, 49] Operation: 82-33=49
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 32:[33, 41], Operations: ['99-17=82', '82/2=41']
Exploring Operation: 33*41=1353, Resulting Numbers: [1353]
1353,32 unequal: No Solution
Exploring Operation: 33+41=74, Resulting Numbers: [74]
74,32 unequal: No Solution
Exploring Operation: 41-33=8, Resulting Numbers: [8]
8,32 unequal: No Solution
No 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: 32:[2, 49], Operations: ['99-17=82', '82-33=49']
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,32 unequal: No Solution
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,32 unequal: No Solution
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,32 unequal: No Solution
No 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: 32:[33, 80], Operations: ['99-17=82', '82-2=80']
Exploring Operation: 33+80=113, Resulting Numbers: [113]
113,32 unequal: No Solution
Exploring Operation: 80-33=47, Resulting Numbers: [47]
47,32 unequal: No Solution
Exploring Operation: 33*80=2640, Resulting Numbers: [2640]
2640,32 unequal: No Solution
No 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: 32:[82, 31], Operations: ['99-17=82', '33-2=31']
Exploring Operation: 82-31=51, Resulting Numbers: [51]
51,32 unequal: No Solution
Exploring Operation: 82+31=113, Resulting Numbers: [113]
113,32 unequal: No Solution
Exploring Operation: 82*31=2542, Resulting Numbers: [2542]
2542,32 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: 32:[33, 17, 97], Operations: ['99-2=97']
Exploring Operation: 33+17=50, Resulting Numbers: [97, 50]
Generated Node #0,3,0: 32:[97, 50] Operation: 33+17=50
Exploring Operation: 97-33=64, Resulting Numbers: [17, 64]
Generated Node #0,3,1: 32:[17, 64] Operation: 97-33=64
Exploring Operation: 33-17=16, Resulting Numbers: [97, 16]
Generated Node #0,3,2: 32:[97, 16] Operation: 33-17=16
Exploring Operation: 97-17=80, Resulting Numbers: [33, 80]
Generated Node #0,3,3: 32:[33, 80] Operation: 97-17=80
Moving to Node #0,3,1
Current State: 32:[17, 64], Operations: ['99-2=97', '97-33=64']
Exploring Operation: 17+64=81, Resulting Numbers: [81]
81,32 unequal: No Solution
Exploring Operation: 64-17=47, Resulting Numbers: [47]
47,32 unequal: No Solution
Exploring Operation: 17*64=1088, Resulting Numbers: [1088]
1088,32 unequal: No Solution
Moving to Node #0,3,3
Current State: 32:[33, 80], Operations: ['99-2=97', '97-17=80']
Exploring Operation: 80-33=47, Resulting Numbers: [47]
47,32 unequal: No Solution
Exploring Operation: 33*80=2640, Resulting Numbers: [2640]
2640,32 unequal: No Solution
Exploring Operation: 33+80=113, Resulting Numbers: [113]
113,32 unequal: No Solution
Moving to Node #0,3,2
Current State: 32:[97, 16], Operations: ['99-2=97', '33-17=16']
Exploring Operation: 97+16=113, Resulting Numbers: [113]
113,32 unequal: No Solution
Exploring Operation: 97-16=81, Resulting Numbers: [81]
81,32 unequal: No Solution
Exploring Operation: 97*16=1552, Resulting Numbers: [1552]
1552,32 unequal: No Solution
Moving to Node #0,3,0
Current State: 32:[97, 50], Operations: ['99-2=97', '33+17=50']
Exploring Operation: 97*50=4850, Resulting Numbers: [4850]
4850,32 unequal: No Solution
Exploring Operation: 97-50=47, Resulting Numbers: [47]
47,32 unequal: No Solution
Exploring Operation: 97+50=147, Resulting Numbers: [147]
147,32 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 |
[
8,
61,
44,
59
] | 60 | [
"61-59=2",
"8*2=16",
"44+16=60"
] | Current State: 60:[8, 61, 44, 59], Operations: []
Exploring Operation: 61-59=2, Resulting Numbers: [8, 44, 2]
Generated Node #2: [8, 44, 2] from Operation: 61-59=2
Current State: 60:[8, 44, 2], Operations: ['61-59=2']
Exploring Operation: 8*2=16, Resulting Numbers: [44, 16]
Generated Node #3: [44, 16] from Operation: 8*2=16
Current State: 60:[44, 16], Operations: ['61-59=2', '8*2=16']
Exploring Operation: 44+16=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[8, 61, 44, 59], Operations: []
Exploring Operation: 44-8=36, Resulting Numbers: [61, 59, 36]
Generated Node #0,0: 60:[61, 59, 36] Operation: 44-8=36
Exploring Operation: 8+44=52, Resulting Numbers: [61, 59, 52]
Generated Node #0,1: 60:[61, 59, 52] Operation: 8+44=52
Exploring Operation: 61-44=17, Resulting Numbers: [8, 59, 17]
Generated Node #0,2: 60:[8, 59, 17] Operation: 61-44=17
Exploring Operation: 61-59=2, Resulting Numbers: [8, 44, 2]
Generated Node #0,3: 60:[8, 44, 2] Operation: 61-59=2
Exploring Operation: 59-44=15, Resulting Numbers: [8, 61, 15]
Generated Node #0,4: 60:[8, 61, 15] Operation: 59-44=15
Start Sub Search at level 1: Moving to Node #0,4
Current State: 60:[8, 61, 15], Operations: ['59-44=15']
Exploring Operation: 61-15=46, Resulting Numbers: [8, 46]
Generated Node #0,4,0: 60:[8, 46] Operation: 61-15=46
Exploring Operation: 8+61=69, Resulting Numbers: [15, 69]
Generated Node #0,4,1: 60:[15, 69] Operation: 8+61=69
Exploring Operation: 15-8=7, Resulting Numbers: [61, 7]
Generated Node #0,4,2: 60:[61, 7] Operation: 15-8=7
Exploring Operation: 8+15=23, Resulting Numbers: [61, 23]
Generated Node #0,4,3: 60:[61, 23] Operation: 8+15=23
Exploring Operation: 61-8=53, Resulting Numbers: [15, 53]
Generated Node #0,4,4: 60:[15, 53] Operation: 61-8=53
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 60:[61, 7], Operations: ['59-44=15', '15-8=7']
Exploring Operation: 61-7=54, Resulting Numbers: [54]
54,60 unequal: No Solution
Exploring Operation: 61+7=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Exploring Operation: 61*7=427, Resulting Numbers: [427]
427,60 unequal: No Solution
No 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: 60:[61, 23], Operations: ['59-44=15', '8+15=23']
Exploring Operation: 61*23=1403, Resulting Numbers: [1403]
1403,60 unequal: No Solution
Exploring Operation: 61-23=38, Resulting Numbers: [38]
38,60 unequal: No Solution
Exploring Operation: 61+23=84, Resulting Numbers: [84]
84,60 unequal: No Solution
No 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: 60:[15, 53], Operations: ['59-44=15', '61-8=53']
Exploring Operation: 53-15=38, Resulting Numbers: [38]
38,60 unequal: No Solution
Exploring Operation: 15+53=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Exploring Operation: 15*53=795, Resulting Numbers: [795]
795,60 unequal: No Solution
No 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: 60:[15, 69], Operations: ['59-44=15', '8+61=69']
Exploring Operation: 15+69=84, Resulting Numbers: [84]
84,60 unequal: No Solution
Exploring Operation: 15*69=1035, Resulting Numbers: [1035]
1035,60 unequal: No Solution
Exploring Operation: 69-15=54, Resulting Numbers: [54]
54,60 unequal: No Solution
No 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: 60:[8, 46], Operations: ['59-44=15', '61-15=46']
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,60 unequal: No Solution
Exploring Operation: 8+46=54, Resulting Numbers: [54]
54,60 unequal: No Solution
Exploring Operation: 8*46=368, Resulting Numbers: [368]
368,60 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: 60:[8, 59, 17], Operations: ['61-44=17']
Exploring Operation: 8+59=67, Resulting Numbers: [17, 67]
Generated Node #0,2,0: 60:[17, 67] Operation: 8+59=67
Exploring Operation: 59-17=42, Resulting Numbers: [8, 42]
Generated Node #0,2,1: 60:[8, 42] Operation: 59-17=42
Exploring Operation: 17-8=9, Resulting Numbers: [59, 9]
Generated Node #0,2,2: 60:[59, 9] Operation: 17-8=9
Exploring Operation: 8+17=25, Resulting Numbers: [59, 25]
Generated Node #0,2,3: 60:[59, 25] Operation: 8+17=25
Exploring Operation: 59-8=51, Resulting Numbers: [17, 51]
Generated Node #0,2,4: 60:[17, 51] Operation: 59-8=51
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 60:[59, 9], Operations: ['61-44=17', '17-8=9']
Exploring Operation: 59-9=50, Resulting Numbers: [50]
50,60 unequal: No Solution
Exploring Operation: 59+9=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Exploring Operation: 59*9=531, Resulting Numbers: [531]
531,60 unequal: No Solution
No 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: 60:[59, 25], Operations: ['61-44=17', '8+17=25']
Exploring Operation: 59+25=84, Resulting Numbers: [84]
84,60 unequal: No Solution
Exploring Operation: 59*25=1475, Resulting Numbers: [1475]
1475,60 unequal: No Solution
Exploring Operation: 59-25=34, Resulting Numbers: [34]
34,60 unequal: No Solution
No 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: 60:[17, 67], Operations: ['61-44=17', '8+59=67']
Exploring Operation: 67-17=50, Resulting Numbers: [50]
50,60 unequal: No Solution
Exploring Operation: 17+67=84, Resulting Numbers: [84]
84,60 unequal: No Solution
Exploring Operation: 17*67=1139, Resulting Numbers: [1139]
1139,60 unequal: No Solution
No 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: 60:[17, 51], Operations: ['61-44=17', '59-8=51']
Exploring Operation: 51-17=34, Resulting Numbers: [34]
34,60 unequal: No Solution
Exploring Operation: 51/17=3, Resulting Numbers: [3]
3,60 unequal: No Solution
Exploring Operation: 17+51=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Exploring Operation: 17*51=867, Resulting Numbers: [867]
867,60 unequal: No Solution
No 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: 60:[8, 42], Operations: ['61-44=17', '59-17=42']
Exploring Operation: 8*42=336, Resulting Numbers: [336]
336,60 unequal: No Solution
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,60 unequal: No Solution
Exploring Operation: 8+42=50, Resulting Numbers: [50]
50,60 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: 60:[61, 59, 36], Operations: ['44-8=36']
Exploring Operation: 59-36=23, Resulting Numbers: [61, 23]
Generated Node #0,0,0: 60:[61, 23] Operation: 59-36=23
Exploring Operation: 61-36=25, Resulting Numbers: [59, 25]
Generated Node #0,0,1: 60:[59, 25] Operation: 61-36=25
Exploring Operation: 61+36=97, Resulting Numbers: [59, 97]
Generated Node #0,0,2: 60:[59, 97] Operation: 61+36=97
Exploring Operation: 61-59=2, Resulting Numbers: [36, 2]
Generated Node #0,0,3: 60:[36, 2] Operation: 61-59=2
Exploring Operation: 59+36=95, Resulting Numbers: [61, 95]
Generated Node #0,0,4: 60:[61, 95] Operation: 59+36=95
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 60:[61, 23], Operations: ['44-8=36', '59-36=23']
Exploring Operation: 61-23=38, Resulting Numbers: [38]
38,60 unequal: No Solution
Exploring Operation: 61*23=1403, Resulting Numbers: [1403]
1403,60 unequal: No Solution
Exploring Operation: 61+23=84, Resulting Numbers: [84]
84,60 unequal: No Solution
No 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: 60:[59, 25], Operations: ['44-8=36', '61-36=25']
Exploring Operation: 59-25=34, Resulting Numbers: [34]
34,60 unequal: No Solution
Exploring Operation: 59*25=1475, Resulting Numbers: [1475]
1475,60 unequal: No Solution
Exploring Operation: 59+25=84, Resulting Numbers: [84]
84,60 unequal: No Solution
No 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: 60:[36, 2], Operations: ['44-8=36', '61-59=2']
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,60 unequal: No Solution
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,60 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,60 unequal: No Solution
Exploring Operation: 36*2=72, Resulting Numbers: [72]
72,60 unequal: No Solution
No 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: 60:[61, 95], Operations: ['44-8=36', '59+36=95']
Exploring Operation: 95-61=34, Resulting Numbers: [34]
34,60 unequal: No Solution
Exploring Operation: 61*95=5795, Resulting Numbers: [5795]
5795,60 unequal: No Solution
Exploring Operation: 61+95=156, Resulting Numbers: [156]
156,60 unequal: No Solution
No 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: 60:[59, 97], Operations: ['44-8=36', '61+36=97']
Exploring Operation: 59*97=5723, Resulting Numbers: [5723]
5723,60 unequal: No Solution
Exploring Operation: 97-59=38, Resulting Numbers: [38]
38,60 unequal: No Solution
Exploring Operation: 59+97=156, Resulting Numbers: [156]
156,60 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: 60:[61, 59, 52], Operations: ['8+44=52']
Exploring Operation: 61+52=113, Resulting Numbers: [59, 113]
Generated Node #0,1,0: 60:[59, 113] Operation: 61+52=113
Exploring Operation: 61-52=9, Resulting Numbers: [59, 9]
Generated Node #0,1,1: 60:[59, 9] Operation: 61-52=9
Exploring Operation: 61-59=2, Resulting Numbers: [52, 2]
Generated Node #0,1,2: 60:[52, 2] Operation: 61-59=2
Exploring Operation: 59+52=111, Resulting Numbers: [61, 111]
Generated Node #0,1,3: 60:[61, 111] Operation: 59+52=111
Exploring Operation: 59-52=7, Resulting Numbers: [61, 7]
Generated Node #0,1,4: 60:[61, 7] Operation: 59-52=7
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 60:[59, 9], Operations: ['8+44=52', '61-52=9']
Exploring Operation: 59-9=50, Resulting Numbers: [50]
50,60 unequal: No Solution
Exploring Operation: 59+9=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Exploring Operation: 59*9=531, Resulting Numbers: [531]
531,60 unequal: No Solution
No 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: 60:[61, 7], Operations: ['8+44=52', '59-52=7']
Exploring Operation: 61+7=68, Resulting Numbers: [68]
68,60 unequal: No Solution
Exploring Operation: 61-7=54, Resulting Numbers: [54]
54,60 unequal: No Solution
Exploring Operation: 61*7=427, Resulting Numbers: [427]
427,60 unequal: No Solution
No 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: 60:[52, 2], Operations: ['8+44=52', '61-59=2']
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,60 unequal: No Solution
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,60 unequal: No Solution
Exploring Operation: 52+2=54, Resulting Numbers: [54]
54,60 unequal: No Solution
Exploring Operation: 52*2=104, Resulting Numbers: [104]
104,60 unequal: No Solution
No 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: 60:[61, 111], Operations: ['8+44=52', '59+52=111']
Exploring Operation: 61*111=6771, Resulting Numbers: [6771]
6771,60 unequal: No Solution
Exploring Operation: 111-61=50, Resulting Numbers: [50]
50,60 unequal: No Solution
Exploring Operation: 61+111=172, Resulting Numbers: [172]
172,60 unequal: No Solution
No 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: 60:[59, 113], Operations: ['8+44=52', '61+52=113']
Exploring Operation: 59*113=6667, Resulting Numbers: [6667]
6667,60 unequal: No Solution
Exploring Operation: 113-59=54, Resulting Numbers: [54]
54,60 unequal: No Solution
Exploring Operation: 59+113=172, Resulting Numbers: [172]
172,60 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: 60:[8, 44, 2], Operations: ['61-59=2']
Exploring Operation: 8+44=52, Resulting Numbers: [2, 52]
Generated Node #0,3,0: 60:[2, 52] Operation: 8+44=52
Exploring Operation: 8+2=10, Resulting Numbers: [44, 10]
Generated Node #0,3,1: 60:[44, 10] Operation: 8+2=10
Exploring Operation: 8-2=6, Resulting Numbers: [44, 6]
Generated Node #0,3,2: 60:[44, 6] Operation: 8-2=6
Exploring Operation: 44-8=36, Resulting Numbers: [2, 36]
Generated Node #0,3,3: 60:[2, 36] Operation: 44-8=36
Exploring Operation: 44/2=22, Resulting Numbers: [8, 22]
Generated Node #0,3,4: 60:[8, 22] Operation: 44/2=22
Moving to Node #0,3,4
Current State: 60:[8, 22], Operations: ['61-59=2', '44/2=22']
Exploring Operation: 8*22=176, Resulting Numbers: [176]
176,60 unequal: No Solution
Exploring Operation: 8+22=30, Resulting Numbers: [30]
30,60 unequal: No Solution
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,60 unequal: No Solution
Moving to Node #0,3,3
Current State: 60:[2, 36], Operations: ['61-59=2', '44-8=36']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,60 unequal: No Solution
Exploring Operation: 2+36=38, Resulting Numbers: [38]
38,60 unequal: No Solution
Exploring Operation: 2*36=72, Resulting Numbers: [72]
72,60 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,60 unequal: No Solution
Moving to Node #0,3,0
Current State: 60:[2, 52], Operations: ['61-59=2', '8+44=52']
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,60 unequal: No Solution
Exploring Operation: 2+52=54, Resulting Numbers: [54]
54,60 unequal: No Solution
Exploring Operation: 2*52=104, Resulting Numbers: [104]
104,60 unequal: No Solution
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,60 unequal: No Solution
Moving to Node #0,3,1
Current State: 60:[44, 10], Operations: ['61-59=2', '8+2=10']
Exploring Operation: 44-10=34, Resulting Numbers: [34]
34,60 unequal: No Solution
Exploring Operation: 44*10=440, Resulting Numbers: [440]
440,60 unequal: No Solution
Exploring Operation: 44+10=54, Resulting Numbers: [54]
54,60 unequal: No Solution
Moving to Node #0,3,2
Current State: 60:[44, 6], Operations: ['61-59=2', '8-2=6']
Exploring Operation: 44*6=264, Resulting Numbers: [264]
264,60 unequal: No Solution
Exploring Operation: 44+6=50, Resulting Numbers: [50]
50,60 unequal: No Solution
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,60 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 |
[
60,
28,
37,
30
] | 23 | [
"60/30=2",
"28/2=14",
"37-14=23"
] | Current State: 23:[60, 28, 37, 30], Operations: []
Exploring Operation: 60/30=2, Resulting Numbers: [28, 37, 2]
Generated Node #2: [28, 37, 2] from Operation: 60/30=2
Current State: 23:[28, 37, 2], Operations: ['60/30=2']
Exploring Operation: 28/2=14, Resulting Numbers: [37, 14]
Generated Node #3: [37, 14] from Operation: 28/2=14
Current State: 23:[37, 14], Operations: ['60/30=2', '28/2=14']
Exploring Operation: 37-14=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[60, 28, 37, 30], Operations: []
Exploring Operation: 60-37=23, Resulting Numbers: [28, 30, 23]
Generated Node #0,0: 23:[28, 30, 23] Operation: 60-37=23
Exploring Operation: 60-30=30, Resulting Numbers: [28, 37, 30]
Generated Node #0,1: 23:[28, 37, 30] Operation: 60-30=30
Moving to Node #0,0
Current State: 23:[28, 30, 23], Operations: ['60-37=23']
Exploring Operation: 30-28=2, Resulting Numbers: [23, 2]
Generated Node #0,0,0: 23:[23, 2] Operation: 30-28=2
Exploring Operation: 30-23=7, Resulting Numbers: [28, 7]
Generated Node #0,0,1: 23:[28, 7] Operation: 30-23=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 23:[23, 2], Operations: ['60-37=23', '30-28=2']
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,23 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,23 unequal: No Solution
No 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: 23:[28, 7], Operations: ['60-37=23', '30-23=7']
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,23 unequal: No Solution
Exploring Operation: 28+7=35, Resulting Numbers: [35]
35,23 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: 23:[28, 37, 30], Operations: ['60-30=30']
Exploring Operation: 37-30=7, Resulting Numbers: [28, 7]
Generated Node #0,1,0: 23:[28, 7] Operation: 37-30=7
Exploring Operation: 37-28=9, Resulting Numbers: [30, 9]
Generated Node #0,1,1: 23:[30, 9] Operation: 37-28=9
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 23:[28, 7], Operations: ['60-30=30', '37-30=7']
Exploring Operation: 28+7=35, Resulting Numbers: [35]
35,23 unequal: No Solution
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,23 unequal: No Solution
No 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: 23:[30, 9], Operations: ['60-30=30', '37-28=9']
Exploring Operation: 30+9=39, Resulting Numbers: [39]
39,23 unequal: No Solution
Exploring Operation: 30-9=21, Resulting Numbers: [21]
21,23 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 |
[
96,
8,
85,
37
] | 16 | [
"96*8=768",
"85-37=48",
"768/48=16"
] | Current State: 16:[96, 8, 85, 37], Operations: []
Exploring Operation: 96*8=768, Resulting Numbers: [85, 37, 768]
Generated Node #2: [85, 37, 768] from Operation: 96*8=768
Current State: 16:[85, 37, 768], Operations: ['96*8=768']
Exploring Operation: 85-37=48, Resulting Numbers: [768, 48]
Generated Node #3: [768, 48] from Operation: 85-37=48
Current State: 16:[768, 48], Operations: ['96*8=768', '85-37=48']
Exploring Operation: 768/48=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[96, 8, 85, 37], Operations: []
Exploring Operation: 96/8=12, Resulting Numbers: [85, 37, 12]
Generated Node #0,0: 16:[85, 37, 12] Operation: 96/8=12
Exploring Operation: 96-85=11, Resulting Numbers: [8, 37, 11]
Generated Node #0,1: 16:[8, 37, 11] Operation: 96-85=11
Exploring Operation: 85-37=48, Resulting Numbers: [96, 8, 48]
Generated Node #0,2: 16:[96, 8, 48] Operation: 85-37=48
Exploring Operation: 96-8=88, Resulting Numbers: [85, 37, 88]
Generated Node #0,3: 16:[85, 37, 88] Operation: 96-8=88
Exploring Operation: 96-37=59, Resulting Numbers: [8, 85, 59]
Generated Node #0,4: 16:[8, 85, 59] Operation: 96-37=59
Start Sub Search at level 1: Moving to Node #0,1
Current State: 16:[8, 37, 11], Operations: ['96-85=11']
Exploring Operation: 11-8=3, Resulting Numbers: [37, 3]
Generated Node #0,1,0: 16:[37, 3] Operation: 11-8=3
Exploring Operation: 37-8=29, Resulting Numbers: [11, 29]
Generated Node #0,1,1: 16:[11, 29] Operation: 37-8=29
Exploring Operation: 8+37=45, Resulting Numbers: [11, 45]
Generated Node #0,1,2: 16:[11, 45] Operation: 8+37=45
Exploring Operation: 37-11=26, Resulting Numbers: [8, 26]
Generated Node #0,1,3: 16:[8, 26] Operation: 37-11=26
Exploring Operation: 8+11=19, Resulting Numbers: [37, 19]
Generated Node #0,1,4: 16:[37, 19] Operation: 8+11=19
Moving to Node #0,1,3
Current State: 16:[8, 26], Operations: ['96-85=11', '37-11=26']
Exploring Operation: 26-8=18, Resulting Numbers: [18]
18,16 unequal: No Solution
Exploring Operation: 8+26=34, Resulting Numbers: [34]
34,16 unequal: No Solution
Exploring Operation: 8*26=208, Resulting Numbers: [208]
208,16 unequal: No Solution
Moving to Node #0,1,1
Current State: 16:[11, 29], Operations: ['96-85=11', '37-8=29']
Exploring Operation: 11*29=319, Resulting Numbers: [319]
319,16 unequal: No Solution
Exploring Operation: 11+29=40, Resulting Numbers: [40]
40,16 unequal: No Solution
Exploring Operation: 29-11=18, Resulting Numbers: [18]
18,16 unequal: No Solution
Moving to Node #0,1,0
Current State: 16:[37, 3], Operations: ['96-85=11', '11-8=3']
Exploring Operation: 37*3=111, Resulting Numbers: [111]
111,16 unequal: No Solution
Exploring Operation: 37+3=40, Resulting Numbers: [40]
40,16 unequal: No Solution
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,16 unequal: No Solution
Moving to Node #0,1,4
Current State: 16:[37, 19], Operations: ['96-85=11', '8+11=19']
Exploring Operation: 37-19=18, Resulting Numbers: [18]
18,16 unequal: No Solution
Exploring Operation: 37+19=56, Resulting Numbers: [56]
56,16 unequal: No Solution
Exploring Operation: 37*19=703, Resulting Numbers: [703]
703,16 unequal: No Solution
Moving to Node #0,1,2
Current State: 16:[11, 45], Operations: ['96-85=11', '8+37=45']
Exploring Operation: 45-11=34, Resulting Numbers: [34]
34,16 unequal: No Solution
Exploring Operation: 11+45=56, Resulting Numbers: [56]
56,16 unequal: No Solution
Exploring Operation: 11*45=495, Resulting Numbers: [495]
495,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,0
Current State: 16:[85, 37, 12], Operations: ['96/8=12']
Exploring Operation: 85-12=73, Resulting Numbers: [37, 73]
Generated Node #0,0,0: 16:[37, 73] Operation: 85-12=73
Exploring Operation: 85-37=48, Resulting Numbers: [12, 48]
Generated Node #0,0,1: 16:[12, 48] Operation: 85-37=48
Exploring Operation: 37+12=49, Resulting Numbers: [85, 49]
Generated Node #0,0,2: 16:[85, 49] Operation: 37+12=49
Exploring Operation: 85+12=97, Resulting Numbers: [37, 97]
Generated Node #0,0,3: 16:[37, 97] Operation: 85+12=97
Exploring Operation: 37-12=25, Resulting Numbers: [85, 25]
Generated Node #0,0,4: 16:[85, 25] Operation: 37-12=25
Moving to Node #0,0,1
Current State: 16:[12, 48], Operations: ['96/8=12', '85-37=48']
Exploring Operation: 12+48=60, Resulting Numbers: [60]
60,16 unequal: No Solution
Exploring Operation: 48-12=36, Resulting Numbers: [36]
36,16 unequal: No Solution
Exploring Operation: 12*48=576, Resulting Numbers: [576]
576,16 unequal: No Solution
Exploring Operation: 48/12=4, Resulting Numbers: [4]
4,16 unequal: No Solution
Moving to Node #0,0,4
Current State: 16:[85, 25], Operations: ['96/8=12', '37-12=25']
Exploring Operation: 85-25=60, Resulting Numbers: [60]
60,16 unequal: No Solution
Exploring Operation: 85*25=2125, Resulting Numbers: [2125]
2125,16 unequal: No Solution
Exploring Operation: 85+25=110, Resulting Numbers: [110]
110,16 unequal: No Solution
Moving to Node #0,0,0
Current State: 16:[37, 73], Operations: ['96/8=12', '85-12=73']
Exploring Operation: 73-37=36, Resulting Numbers: [36]
36,16 unequal: No Solution
Exploring Operation: 37*73=2701, Resulting Numbers: [2701]
2701,16 unequal: No Solution
Exploring Operation: 37+73=110, Resulting Numbers: [110]
110,16 unequal: No Solution
Moving to Node #0,0,2
Current State: 16:[85, 49], Operations: ['96/8=12', '37+12=49']
Exploring Operation: 85+49=134, Resulting Numbers: [134]
134,16 unequal: No Solution
Exploring Operation: 85-49=36, Resulting Numbers: [36]
36,16 unequal: No Solution
Exploring Operation: 85*49=4165, Resulting Numbers: [4165]
4165,16 unequal: No Solution
Moving to Node #0,0,3
Current State: 16:[37, 97], Operations: ['96/8=12', '85+12=97']
Exploring Operation: 97-37=60, Resulting Numbers: [60]
60,16 unequal: No Solution
Exploring Operation: 37+97=134, Resulting Numbers: [134]
134,16 unequal: No Solution
Exploring Operation: 37*97=3589, Resulting Numbers: [3589]
3589,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 16:[96, 8, 48], Operations: ['85-37=48']
Exploring Operation: 96-8=88, Resulting Numbers: [48, 88]
Generated Node #0,2,0: 16:[48, 88] Operation: 96-8=88
Exploring Operation: 96/8=12, Resulting Numbers: [48, 12]
Generated Node #0,2,1: 16:[48, 12] Operation: 96/8=12
Exploring Operation: 48/8=6, Resulting Numbers: [96, 6]
Generated Node #0,2,2: 16:[96, 6] Operation: 48/8=6
Exploring Operation: 96/48=2, Resulting Numbers: [8, 2]
Generated Node #0,2,3: 16:[8, 2] Operation: 96/48=2
Exploring Operation: 96-48=48, Resulting Numbers: [8, 48]
Generated Node #0,2,4: 16:[8, 48] Operation: 96-48=48
Moving to Node #0,2,3
Current State: 16:[8, 2], Operations: ['85-37=48', '96/48=2']
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[96, 8, 85, 37], Operations: []
Exploring Operation: 85-37=48, Resulting Numbers: [96, 8, 48]
Generated Node #0,2: 16:[96, 8, 48] Operation: 85-37=48
Moving to Node #0,2
Current State: 16:[96, 8, 48], Operations: ['85-37=48']
Exploring Operation: 96/48=2, Resulting Numbers: [8, 2]
Generated Node #0,2,3: 16:[8, 2] Operation: 96/48=2
Moving to Node #0,2,3
Current State: 16:[8, 2], Operations: ['85-37=48', '96/48=2']
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.950521 | hs_5 | mult_heuristic |
[
46,
8,
29,
45
] | 91 | [
"46-29=17",
"8*17=136",
"136-45=91"
] | Current State: 91:[46, 8, 29, 45], Operations: []
Exploring Operation: 46-29=17, Resulting Numbers: [8, 45, 17]
Generated Node #2: [8, 45, 17] from Operation: 46-29=17
Current State: 91:[8, 45, 17], Operations: ['46-29=17']
Exploring Operation: 8*17=136, Resulting Numbers: [45, 136]
Generated Node #3: [45, 136] from Operation: 8*17=136
Current State: 91:[45, 136], Operations: ['46-29=17', '8*17=136']
Exploring Operation: 136-45=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[46, 8, 29, 45], Operations: []
Exploring Operation: 46-45=1, Resulting Numbers: [8, 29, 1]
Generated Node #0,0: 91:[8, 29, 1] Operation: 46-45=1
Exploring Operation: 46-29=17, Resulting Numbers: [8, 45, 17]
Generated Node #0,1: 91:[8, 45, 17] Operation: 46-29=17
Exploring Operation: 46+45=91, Resulting Numbers: [8, 29, 91]
Generated Node #0,2: 91:[8, 29, 91] Operation: 46+45=91
Start Sub Search at level 1: Moving to Node #0,2
Current State: 91:[8, 29, 91], Operations: ['46+45=91']
Exploring Operation: 8+91=99, Resulting Numbers: [29, 99]
Generated Node #0,2,0: 91:[29, 99] Operation: 8+91=99
Exploring Operation: 8+29=37, Resulting Numbers: [91, 37]
Generated Node #0,2,1: 91:[91, 37] Operation: 8+29=37
Exploring Operation: 29-8=21, Resulting Numbers: [91, 21]
Generated Node #0,2,2: 91:[91, 21] Operation: 29-8=21
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 91:[91, 21], Operations: ['46+45=91', '29-8=21']
Exploring Operation: 91+21=112, Resulting Numbers: [112]
112,91 unequal: No Solution
Exploring Operation: 91-21=70, Resulting Numbers: [70]
70,91 unequal: No Solution
Exploring Operation: 91*21=1911, Resulting Numbers: [1911]
1911,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:[29, 99], Operations: ['46+45=91', '8+91=99']
Exploring Operation: 99-29=70, Resulting Numbers: [70]
70,91 unequal: No Solution
Exploring Operation: 29*99=2871, Resulting Numbers: [2871]
2871,91 unequal: No Solution
Exploring Operation: 29+99=128, Resulting Numbers: [128]
128,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:[91, 37], Operations: ['46+45=91', '8+29=37']
Exploring Operation: 91+37=128, Resulting Numbers: [128]
128,91 unequal: No Solution
Exploring Operation: 91-37=54, Resulting Numbers: [54]
54,91 unequal: No Solution
Exploring Operation: 91*37=3367, Resulting Numbers: [3367]
3367,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,0
Current State: 91:[8, 29, 1], Operations: ['46-45=1']
Exploring Operation: 29-1=28, Resulting Numbers: [8, 28]
Generated Node #0,0,0: 91:[8, 28] Operation: 29-1=28
Exploring Operation: 29-8=21, Resulting Numbers: [1, 21]
Generated Node #0,0,1: 91:[1, 21] Operation: 29-8=21
Exploring Operation: 8-1=7, Resulting Numbers: [29, 7]
Generated Node #0,0,2: 91:[29, 7] Operation: 8-1=7
Moving to Node #0,0,1
Current State: 91:[1, 21], Operations: ['46-45=1', '29-8=21']
Exploring Operation: 1*21=21, Resulting Numbers: [21]
21,91 unequal: No Solution
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,91 unequal: No Solution
Exploring Operation: 21/1=21, Resulting Numbers: [21]
21,91 unequal: No Solution
Moving to Node #0,0,0
Current State: 91:[8, 28], Operations: ['46-45=1', '29-1=28']
Exploring Operation: 8*28=224, Resulting Numbers: [224]
224,91 unequal: No Solution
Exploring Operation: 8+28=36, Resulting Numbers: [36]
36,91 unequal: No Solution
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,91 unequal: No Solution
Moving to Node #0,0,2
Current State: 91:[29, 7], Operations: ['46-45=1', '8-1=7']
Exploring Operation: 29*7=203, Resulting Numbers: [203]
203,91 unequal: No Solution
Exploring Operation: 29+7=36, Resulting Numbers: [36]
36,91 unequal: No Solution
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 91:[8, 45, 17], Operations: ['46-29=17']
Exploring Operation: 45+17=62, Resulting Numbers: [8, 62]
Generated Node #0,1,0: 91:[8, 62] Operation: 45+17=62
Exploring Operation: 45-17=28, Resulting Numbers: [8, 28]
Generated Node #0,1,1: 91:[8, 28] Operation: 45-17=28
Exploring Operation: 45-8=37, Resulting Numbers: [17, 37]
Generated Node #0,1,2: 91:[17, 37] Operation: 45-8=37
Moving to Node #0,1,1
Current State: 91:[8, 28], Operations: ['46-29=17', '45-17=28']
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,91 unequal: No Solution
Exploring Operation: 8*28=224, Resulting Numbers: [224]
224,91 unequal: No Solution
Exploring Operation: 8+28=36, Resulting Numbers: [36]
36,91 unequal: No Solution
Moving to Node #0,1,2
Current State: 91:[17, 37], Operations: ['46-29=17', '45-8=37']
Exploring Operation: 37-17=20, Resulting Numbers: [20]
20,91 unequal: No Solution
Exploring Operation: 17*37=629, Resulting Numbers: [629]
629,91 unequal: No Solution
Exploring Operation: 17+37=54, Resulting Numbers: [54]
54,91 unequal: No Solution
Moving to Node #0,1,0
Current State: 91:[8, 62], Operations: ['46-29=17', '45+17=62']
Exploring Operation: 8+62=70, Resulting Numbers: [70]
70,91 unequal: No Solution
Exploring Operation: 62-8=54, Resulting Numbers: [54]
54,91 unequal: No Solution
Exploring Operation: 8*62=496, Resulting Numbers: [496]
496,91 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 |
[
81,
2,
44,
7
] | 51 | [
"81-44=37",
"2*7=14",
"37+14=51"
] | Current State: 51:[81, 2, 44, 7], Operations: []
Exploring Operation: 81-44=37, Resulting Numbers: [2, 7, 37]
Generated Node #2: [2, 7, 37] from Operation: 81-44=37
Current State: 51:[2, 7, 37], Operations: ['81-44=37']
Exploring Operation: 2*7=14, Resulting Numbers: [37, 14]
Generated Node #3: [37, 14] from Operation: 2*7=14
Current State: 51:[37, 14], Operations: ['81-44=37', '2*7=14']
Exploring Operation: 37+14=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[81, 2, 44, 7], Operations: []
Exploring Operation: 81-7=74, Resulting Numbers: [2, 44, 74]
Generated Node #0,0: 51:[2, 44, 74] Operation: 81-7=74
Exploring Operation: 81-44=37, Resulting Numbers: [2, 7, 37]
Generated Node #0,1: 51:[2, 7, 37] Operation: 81-44=37
Exploring Operation: 44+7=51, Resulting Numbers: [81, 2, 51]
Generated Node #0,2: 51:[81, 2, 51] Operation: 44+7=51
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[2, 7, 37], Operations: ['81-44=37']
Exploring Operation: 7+37=44, Resulting Numbers: [2, 44]
Generated Node #0,1,0: 51:[2, 44] Operation: 7+37=44
Exploring Operation: 37-7=30, Resulting Numbers: [2, 30]
Generated Node #0,1,1: 51:[2, 30] Operation: 37-7=30
Exploring Operation: 7-2=5, Resulting Numbers: [37, 5]
Generated Node #0,1,2: 51:[37, 5] Operation: 7-2=5
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 51:[2, 44], Operations: ['81-44=37', '7+37=44']
Exploring Operation: 2+44=46, Resulting Numbers: [46]
46,51 unequal: No Solution
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,51 unequal: No Solution
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 51:[2, 30], Operations: ['81-44=37', '37-7=30']
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Exploring Operation: 2*30=60, Resulting Numbers: [60]
60,51 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 51:[37, 5], Operations: ['81-44=37', '7-2=5']
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,51 unequal: No Solution
Exploring Operation: 37*5=185, Resulting Numbers: [185]
185,51 unequal: No Solution
Exploring Operation: 37+5=42, Resulting Numbers: [42]
42,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[2, 44, 74], Operations: ['81-7=74']
Exploring Operation: 74-44=30, Resulting Numbers: [2, 30]
Generated Node #0,0,0: 51:[2, 30] Operation: 74-44=30
Exploring Operation: 74/2=37, Resulting Numbers: [44, 37]
Generated Node #0,0,1: 51:[44, 37] Operation: 74/2=37
Exploring Operation: 2+44=46, Resulting Numbers: [74, 46]
Generated Node #0,0,2: 51:[74, 46] Operation: 2+44=46
Moving to Node #0,0,0
Current State: 51:[2, 30], Operations: ['81-7=74', '74-44=30']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,51 unequal: No Solution
Exploring Operation: 2*30=60, Resulting Numbers: [60]
60,51 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Moving to Node #0,0,1
Current State: 51:[44, 37], Operations: ['81-7=74', '74/2=37']
Exploring Operation: 44*37=1628, Resulting Numbers: [1628]
1628,51 unequal: No Solution
Exploring Operation: 44-37=7, Resulting Numbers: [7]
7,51 unequal: No Solution
Exploring Operation: 44+37=81, Resulting Numbers: [81]
81,51 unequal: No Solution
Moving to Node #0,0,2
Current State: 51:[74, 46], Operations: ['81-7=74', '2+44=46']
Exploring Operation: 74-46=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Exploring Operation: 74+46=120, Resulting Numbers: [120]
120,51 unequal: No Solution
Exploring Operation: 74*46=3404, Resulting Numbers: [3404]
3404,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 51:[81, 2, 51], Operations: ['44+7=51']
Exploring Operation: 81-2=79, Resulting Numbers: [51, 79]
Generated Node #0,2,0: 51:[51, 79] Operation: 81-2=79
Exploring Operation: 81-51=30, Resulting Numbers: [2, 30]
Generated Node #0,2,1: 51:[2, 30] Operation: 81-51=30
Exploring Operation: 81+2=83, Resulting Numbers: [51, 83]
Generated Node #0,2,2: 51:[51, 83] Operation: 81+2=83
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 51:[2, 30], Operations: ['44+7=51', '81-51=30']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,51 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Exploring Operation: 2*30=60, Resulting Numbers: [60]
60,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 51:[51, 79], Operations: ['44+7=51', '81-2=79']
Exploring Operation: 79-51=28, Resulting Numbers: [28]
28,51 unequal: No Solution
Exploring Operation: 51*79=4029, Resulting Numbers: [4029]
4029,51 unequal: No Solution
Exploring Operation: 51+79=130, Resulting Numbers: [130]
130,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 51:[51, 83], Operations: ['44+7=51', '81+2=83']
Exploring Operation: 51+83=134, Resulting Numbers: [134]
134,51 unequal: No Solution
Exploring Operation: 83-51=32, Resulting Numbers: [32]
32,51 unequal: No Solution
Exploring Operation: 51*83=4233, Resulting Numbers: [4233]
4233,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
42,
69,
20,
19
] | 26 | [
"69-42=27",
"20-19=1",
"27-1=26"
] | Current State: 26:[42, 69, 20, 19], Operations: []
Exploring Operation: 69-42=27, Resulting Numbers: [20, 19, 27]
Generated Node #2: [20, 19, 27] from Operation: 69-42=27
Current State: 26:[20, 19, 27], Operations: ['69-42=27']
Exploring Operation: 20-19=1, Resulting Numbers: [27, 1]
Generated Node #3: [27, 1] from Operation: 20-19=1
Current State: 26:[27, 1], Operations: ['69-42=27', '20-19=1']
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[42, 69, 20, 19], Operations: []
Exploring Operation: 69-20=49, Resulting Numbers: [42, 19, 49]
Generated Node #0,0: 26:[42, 19, 49] Operation: 69-20=49
Exploring Operation: 42-19=23, Resulting Numbers: [69, 20, 23]
Generated Node #0,1: 26:[69, 20, 23] Operation: 42-19=23
Exploring Operation: 69-19=50, Resulting Numbers: [42, 20, 50]
Generated Node #0,2: 26:[42, 20, 50] Operation: 69-19=50
Exploring Operation: 42-20=22, Resulting Numbers: [69, 19, 22]
Generated Node #0,3: 26:[69, 19, 22] Operation: 42-20=22
Exploring Operation: 69-42=27, Resulting Numbers: [20, 19, 27]
Generated Node #0,4: 26:[20, 19, 27] Operation: 69-42=27
Start Sub Search at level 1: Moving to Node #0,4
Current State: 26:[20, 19, 27], Operations: ['69-42=27']
Exploring Operation: 20-19=1, Resulting Numbers: [27, 1]
Generated Node #0,4,0: 26:[27, 1] Operation: 20-19=1
Exploring Operation: 20+19=39, Resulting Numbers: [27, 39]
Generated Node #0,4,1: 26:[27, 39] Operation: 20+19=39
Exploring Operation: 27-20=7, Resulting Numbers: [19, 7]
Generated Node #0,4,2: 26:[19, 7] Operation: 27-20=7
Exploring Operation: 19+27=46, Resulting Numbers: [20, 46]
Generated Node #0,4,3: 26:[20, 46] Operation: 19+27=46
Exploring Operation: 27-19=8, Resulting Numbers: [20, 8]
Generated Node #0,4,4: 26:[20, 8] Operation: 27-19=8
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 26:[27, 1], Operations: ['69-42=27', '20-19=1']
Exploring Operation: 27+1=28, Resulting Numbers: [28]
28,26 unequal: No Solution
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[42, 69, 20, 19], Operations: []
Exploring Operation: 69-42=27, Resulting Numbers: [20, 19, 27]
Generated Node #0,4: 26:[20, 19, 27] Operation: 69-42=27
Moving to Node #0,4
Current State: 26:[20, 19, 27], Operations: ['69-42=27']
Exploring Operation: 20-19=1, Resulting Numbers: [27, 1]
Generated Node #0,4,0: 26:[27, 1] Operation: 20-19=1
Moving to Node #0,4,0
Current State: 26:[27, 1], Operations: ['69-42=27', '20-19=1']
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
15,
90,
9,
33
] | 30 | [
"90/15=6",
"33-9=24",
"6+24=30"
] | Current State: 30:[15, 90, 9, 33], Operations: []
Exploring Operation: 90/15=6, Resulting Numbers: [9, 33, 6]
Generated Node #2: [9, 33, 6] from Operation: 90/15=6
Current State: 30:[9, 33, 6], Operations: ['90/15=6']
Exploring Operation: 33-9=24, Resulting Numbers: [6, 24]
Generated Node #3: [6, 24] from Operation: 33-9=24
Current State: 30:[6, 24], Operations: ['90/15=6', '33-9=24']
Exploring Operation: 6+24=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[15, 90, 9, 33], Operations: []
Exploring Operation: 90/15=6, Resulting Numbers: [9, 33, 6]
Generated Node #0,0: 30:[9, 33, 6] Operation: 90/15=6
Exploring Operation: 90-15=75, Resulting Numbers: [9, 33, 75]
Generated Node #0,1: 30:[9, 33, 75] Operation: 90-15=75
Exploring Operation: 90/9=10, Resulting Numbers: [15, 33, 10]
Generated Node #0,2: 30:[15, 33, 10] Operation: 90/9=10
Exploring Operation: 90-33=57, Resulting Numbers: [15, 9, 57]
Generated Node #0,3: 30:[15, 9, 57] Operation: 90-33=57
Moving to Node #0,2
Current State: 30:[15, 33, 10], Operations: ['90/9=10']
Exploring Operation: 33-15=18, Resulting Numbers: [10, 18]
Generated Node #0,2,0: 30:[10, 18] Operation: 33-15=18
Exploring Operation: 15-10=5, Resulting Numbers: [33, 5]
Generated Node #0,2,1: 30:[33, 5] Operation: 15-10=5
Exploring Operation: 33-10=23, Resulting Numbers: [15, 23]
Generated Node #0,2,2: 30:[15, 23] Operation: 33-10=23
Exploring Operation: 15+10=25, Resulting Numbers: [33, 25]
Generated Node #0,2,3: 30:[33, 25] Operation: 15+10=25
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 30:[10, 18], Operations: ['90/9=10', '33-15=18']
Exploring Operation: 10*18=180, Resulting Numbers: [180]
180,30 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,30 unequal: No Solution
Exploring Operation: 10+18=28, Resulting Numbers: [28]
28,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 30:[33, 5], Operations: ['90/9=10', '15-10=5']
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,30 unequal: No Solution
Exploring Operation: 33*5=165, Resulting Numbers: [165]
165,30 unequal: No Solution
Exploring Operation: 33+5=38, Resulting Numbers: [38]
38,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 30:[15, 23], Operations: ['90/9=10', '33-10=23']
Exploring Operation: 15*23=345, Resulting Numbers: [345]
345,30 unequal: No Solution
Exploring Operation: 23-15=8, Resulting Numbers: [8]
8,30 unequal: No Solution
Exploring Operation: 15+23=38, Resulting Numbers: [38]
38,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 30:[33, 25], Operations: ['90/9=10', '15+10=25']
Exploring Operation: 33+25=58, Resulting Numbers: [58]
58,30 unequal: No Solution
Exploring Operation: 33-25=8, Resulting Numbers: [8]
8,30 unequal: No Solution
Exploring Operation: 33*25=825, Resulting Numbers: [825]
825,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 30:[9, 33, 6], Operations: ['90/15=6']
Exploring Operation: 33-9=24, Resulting Numbers: [6, 24]
Generated Node #0,0,0: 30:[6, 24] Operation: 33-9=24
Exploring Operation: 33-6=27, Resulting Numbers: [9, 27]
Generated Node #0,0,1: 30:[9, 27] Operation: 33-6=27
Exploring Operation: 9-6=3, Resulting Numbers: [33, 3]
Generated Node #0,0,2: 30:[33, 3] Operation: 9-6=3
Exploring Operation: 9+6=15, Resulting Numbers: [33, 15]
Generated Node #0,0,3: 30:[33, 15] Operation: 9+6=15
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 30:[33, 3], Operations: ['90/15=6', '9-6=3']
Exploring Operation: 33+3=36, Resulting Numbers: [36]
36,30 unequal: No Solution
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[15, 90, 9, 33], Operations: []
Exploring Operation: 90/15=6, Resulting Numbers: [9, 33, 6]
Generated Node #0,0: 30:[9, 33, 6] Operation: 90/15=6
Moving to Node #0,0
Current State: 30:[9, 33, 6], Operations: ['90/15=6']
Exploring Operation: 9-6=3, Resulting Numbers: [33, 3]
Generated Node #0,0,2: 30:[33, 3] Operation: 9-6=3
Moving to Node #0,0,2
Current State: 30:[33, 3], Operations: ['90/15=6', '9-6=3']
Exploring Operation: 33-3=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_4 | mult_heuristic |
[
26,
69,
89,
77
] | 31 | [
"69-26=43",
"89-77=12",
"43-12=31"
] | Current State: 31:[26, 69, 89, 77], Operations: []
Exploring Operation: 69-26=43, Resulting Numbers: [89, 77, 43]
Generated Node #2: [89, 77, 43] from Operation: 69-26=43
Current State: 31:[89, 77, 43], Operations: ['69-26=43']
Exploring Operation: 89-77=12, Resulting Numbers: [43, 12]
Generated Node #3: [43, 12] from Operation: 89-77=12
Current State: 31:[43, 12], Operations: ['69-26=43', '89-77=12']
Exploring Operation: 43-12=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[26, 69, 89, 77], Operations: []
Exploring Operation: 89-77=12, Resulting Numbers: [26, 69, 12]
Generated Node #0,0: 31:[26, 69, 12] Operation: 89-77=12
Exploring Operation: 89-69=20, Resulting Numbers: [26, 77, 20]
Generated Node #0,1: 31:[26, 77, 20] Operation: 89-69=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[26, 69, 12], Operations: ['89-77=12']
Exploring Operation: 69-12=57, Resulting Numbers: [26, 57]
Generated Node #0,0,0: 31:[26, 57] Operation: 69-12=57
Exploring Operation: 69-26=43, Resulting Numbers: [12, 43]
Generated Node #0,0,1: 31:[12, 43] Operation: 69-26=43
Moving to Node #0,0,0
Current State: 31:[26, 57], Operations: ['89-77=12', '69-12=57']
Exploring Operation: 57-26=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[26, 69, 89, 77], Operations: []
Exploring Operation: 89-77=12, Resulting Numbers: [26, 69, 12]
Generated Node #0,0: 31:[26, 69, 12] Operation: 89-77=12
Moving to Node #0,0
Current State: 31:[26, 69, 12], Operations: ['89-77=12']
Exploring Operation: 69-12=57, Resulting Numbers: [26, 57]
Generated Node #0,0,0: 31:[26, 57] Operation: 69-12=57
Moving to Node #0,0,0
Current State: 31:[26, 57], Operations: ['89-77=12', '69-12=57']
Exploring Operation: 57-26=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
27,
75,
65,
22
] | 59 | [
"27+75=102",
"65-22=43",
"102-43=59"
] | Current State: 59:[27, 75, 65, 22], Operations: []
Exploring Operation: 27+75=102, Resulting Numbers: [65, 22, 102]
Generated Node #2: [65, 22, 102] from Operation: 27+75=102
Current State: 59:[65, 22, 102], Operations: ['27+75=102']
Exploring Operation: 65-22=43, Resulting Numbers: [102, 43]
Generated Node #3: [102, 43] from Operation: 65-22=43
Current State: 59:[102, 43], Operations: ['27+75=102', '65-22=43']
Exploring Operation: 102-43=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[27, 75, 65, 22], Operations: []
Exploring Operation: 75-27=48, Resulting Numbers: [65, 22, 48]
Generated Node #0,0: 59:[65, 22, 48] Operation: 75-27=48
Exploring Operation: 65-22=43, Resulting Numbers: [27, 75, 43]
Generated Node #0,1: 59:[27, 75, 43] Operation: 65-22=43
Exploring Operation: 27+22=49, Resulting Numbers: [75, 65, 49]
Generated Node #0,2: 59:[75, 65, 49] Operation: 27+22=49
Exploring Operation: 65-27=38, Resulting Numbers: [75, 22, 38]
Generated Node #0,3: 59:[75, 22, 38] Operation: 65-27=38
Exploring Operation: 75-22=53, Resulting Numbers: [27, 65, 53]
Generated Node #0,4: 59:[27, 65, 53] Operation: 75-22=53
Moving to Node #0,2
Current State: 59:[75, 65, 49], Operations: ['27+22=49']
Exploring Operation: 75+49=124, Resulting Numbers: [65, 124]
Generated Node #0,2,0: 59:[65, 124] Operation: 75+49=124
Exploring Operation: 75-49=26, Resulting Numbers: [65, 26]
Generated Node #0,2,1: 59:[65, 26] Operation: 75-49=26
Exploring Operation: 75-65=10, Resulting Numbers: [49, 10]
Generated Node #0,2,2: 59:[49, 10] Operation: 75-65=10
Exploring Operation: 65+49=114, Resulting Numbers: [75, 114]
Generated Node #0,2,3: 59:[75, 114] Operation: 65+49=114
Exploring Operation: 65-49=16, Resulting Numbers: [75, 16]
Generated Node #0,2,4: 59:[75, 16] Operation: 65-49=16
Moving to Node #0,4
Current State: 59:[27, 65, 53], Operations: ['75-22=53']
Exploring Operation: 65-27=38, Resulting Numbers: [53, 38]
Generated Node #0,4,0: 59:[53, 38] Operation: 65-27=38
Exploring Operation: 65-53=12, Resulting Numbers: [27, 12]
Generated Node #0,4,1: 59:[27, 12] Operation: 65-53=12
Exploring Operation: 53-27=26, Resulting Numbers: [65, 26]
Generated Node #0,4,2: 59:[65, 26] Operation: 53-27=26
Exploring Operation: 27+53=80, Resulting Numbers: [65, 80]
Generated Node #0,4,3: 59:[65, 80] Operation: 27+53=80
Exploring Operation: 27+65=92, Resulting Numbers: [53, 92]
Generated Node #0,4,4: 59:[53, 92] Operation: 27+65=92
Moving to Node #0,0
Current State: 59:[65, 22, 48], Operations: ['75-27=48']
Exploring Operation: 22+48=70, Resulting Numbers: [65, 70]
Generated Node #0,0,0: 59:[65, 70] Operation: 22+48=70
Exploring Operation: 48-22=26, Resulting Numbers: [65, 26]
Generated Node #0,0,1: 59:[65, 26] Operation: 48-22=26
Exploring Operation: 65-48=17, Resulting Numbers: [22, 17]
Generated Node #0,0,2: 59:[22, 17] Operation: 65-48=17
Exploring Operation: 65-22=43, Resulting Numbers: [48, 43]
Generated Node #0,0,3: 59:[48, 43] Operation: 65-22=43
Exploring Operation: 65+22=87, Resulting Numbers: [48, 87]
Generated Node #0,0,4: 59:[48, 87] Operation: 65+22=87
Moving to Node #0,1
Current State: 59:[27, 75, 43], Operations: ['65-22=43']
Exploring Operation: 75-43=32, Resulting Numbers: [27, 32]
Generated Node #0,1,0: 59:[27, 32] Operation: 75-43=32
Exploring Operation: 43-27=16, Resulting Numbers: [75, 16]
Generated Node #0,1,1: 59:[75, 16] Operation: 43-27=16
Exploring Operation: 75-27=48, Resulting Numbers: [43, 48]
Generated Node #0,1,2: 59:[43, 48] Operation: 75-27=48
Exploring Operation: 27+43=70, Resulting Numbers: [75, 70]
Generated Node #0,1,3: 59:[75, 70] Operation: 27+43=70
Exploring Operation: 27+75=102, Resulting Numbers: [43, 102]
Generated Node #0,1,4: 59:[43, 102] Operation: 27+75=102
Moving to Node #0,3
Current State: 59:[75, 22, 38], Operations: ['65-27=38']
Exploring Operation: 38-22=16, Resulting Numbers: [75, 16]
Generated Node #0,3,0: 59:[75, 16] Operation: 38-22=16
Exploring Operation: 75-38=37, Resulting Numbers: [22, 37]
Generated Node #0,3,1: 59:[22, 37] Operation: 75-38=37
Exploring Operation: 75+22=97, Resulting Numbers: [38, 97]
Generated Node #0,3,2: 59:[38, 97] Operation: 75+22=97
Exploring Operation: 75-22=53, Resulting Numbers: [38, 53]
Generated Node #0,3,3: 59:[38, 53] Operation: 75-22=53
Exploring Operation: 22+38=60, Resulting Numbers: [75, 60]
Generated Node #0,3,4: 59:[75, 60] Operation: 22+38=60
Moving to Node #0,0,0
Current State: 59:[65, 70], Operations: ['75-27=48', '22+48=70']
Exploring Operation: 70-65=5, Resulting Numbers: [5]
5,59 unequal: No Solution
Exploring Operation: 65+70=135, Resulting Numbers: [135]
135,59 unequal: No Solution
Exploring Operation: 65*70=4550, Resulting Numbers: [4550]
4550,59 unequal: No Solution
Moving to Node #0,3,4
Current State: 59:[75, 60], Operations: ['65-27=38', '22+38=60']
Exploring Operation: 75+60=135, Resulting Numbers: [135]
135,59 unequal: No Solution
Exploring Operation: 75*60=4500, Resulting Numbers: [4500]
4500,59 unequal: No Solution
Exploring Operation: 75-60=15, Resulting Numbers: [15]
15,59 unequal: No Solution
Moving to Node #0,4,3
Current State: 59:[65, 80], Operations: ['75-22=53', '27+53=80']
Exploring Operation: 65+80=145, Resulting Numbers: [145]
145,59 unequal: No Solution
Exploring Operation: 65*80=5200, Resulting Numbers: [5200]
5200,59 unequal: No Solution
Exploring Operation: 80-65=15, Resulting Numbers: [15]
15,59 unequal: No Solution
Moving to Node #0,0,3
Current State: 59:[48, 43], Operations: ['75-27=48', '65-22=43']
Exploring Operation: 48+43=91, Resulting Numbers: [91]
91,59 unequal: No Solution
Exploring Operation: 48*43=2064, Resulting Numbers: [2064]
2064,59 unequal: No Solution
Exploring Operation: 48-43=5, Resulting Numbers: [5]
5,59 unequal: No Solution
Moving to Node #0,4,0
Current State: 59:[53, 38], Operations: ['75-22=53', '65-27=38']
Exploring Operation: 53*38=2014, Resulting Numbers: [2014]
2014,59 unequal: No Solution
Exploring Operation: 53+38=91, Resulting Numbers: [91]
91,59 unequal: No Solution
Exploring Operation: 53-38=15, Resulting Numbers: [15]
15,59 unequal: No Solution
Moving to Node #0,3,3
Current State: 59:[38, 53], Operations: ['65-27=38', '75-22=53']
Exploring Operation: 38*53=2014, Resulting Numbers: [2014]
2014,59 unequal: No Solution
Exploring Operation: 53-38=15, Resulting Numbers: [15]
15,59 unequal: No Solution
Exploring Operation: 38+53=91, Resulting Numbers: [91]
91,59 unequal: No Solution
Moving to Node #0,1,2
Current State: 59:[43, 48], Operations: ['65-22=43', '75-27=48']
Exploring Operation: 43*48=2064, Resulting Numbers: [2064]
2064,59 unequal: No Solution
Exploring Operation: 43+48=91, Resulting Numbers: [91]
91,59 unequal: No Solution
Exploring Operation: 48-43=5, Resulting Numbers: [5]
5,59 unequal: No Solution
Moving to Node #0,1,3
Current State: 59:[75, 70], Operations: ['65-22=43', '27+43=70']
Exploring Operation: 75-70=5, Resulting Numbers: [5]
5,59 unequal: No Solution
Exploring Operation: 75*70=5250, Resulting Numbers: [5250]
5250,59 unequal: No Solution
Exploring Operation: 75+70=145, Resulting Numbers: [145]
145,59 unequal: No Solution
Moving to Node #0,2,1
Current State: 59:[65, 26], Operations: ['27+22=49', '75-49=26']
Exploring Operation: 65-26=39, Resulting Numbers: [39]
39,59 unequal: No Solution
Exploring Operation: 65*26=1690, Resulting Numbers: [1690]
1690,59 unequal: No Solution
Exploring Operation: 65+26=91, Resulting Numbers: [91]
91,59 unequal: No Solution
Moving to Node #0,0,4
Current State: 59:[48, 87], Operations: ['75-27=48', '65+22=87']
Exploring Operation: 48*87=4176, Resulting Numbers: [4176]
4176,59 unequal: No Solution
Exploring Operation: 48+87=135, Resulting Numbers: [135]
135,59 unequal: No Solution
Exploring Operation: 87-48=39, Resulting Numbers: [39]
39,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[65, 26], Operations: ['75-27=48', '48-22=26']
Exploring Operation: 65*26=1690, Resulting Numbers: [1690]
1690,59 unequal: No Solution
Exploring Operation: 65+26=91, Resulting Numbers: [91]
91,59 unequal: No Solution
Exploring Operation: 65-26=39, Resulting Numbers: [39]
39,59 unequal: No Solution
Moving to Node #0,4,2
Current State: 59:[65, 26], Operations: ['75-22=53', '53-27=26']
Exploring Operation: 65+26=91, Resulting Numbers: [91]
91,59 unequal: No Solution
Exploring Operation: 65*26=1690, Resulting Numbers: [1690]
1690,59 unequal: No Solution
Exploring Operation: 65-26=39, Resulting Numbers: [39]
39,59 unequal: No Solution
Moving to Node #0,4,4
Current State: 59:[53, 92], Operations: ['75-22=53', '27+65=92']
Exploring Operation: 92-53=39, Resulting Numbers: [39]
39,59 unequal: No Solution
Exploring Operation: 53*92=4876, Resulting Numbers: [4876]
4876,59 unequal: No Solution
Exploring Operation: 53+92=145, Resulting Numbers: [145]
145,59 unequal: No Solution
Moving to Node #0,3,2
Current State: 59:[38, 97], Operations: ['65-27=38', '75+22=97']
Exploring Operation: 38*97=3686, Resulting Numbers: [3686]
3686,59 unequal: No Solution
Exploring Operation: 97-38=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[27, 75, 65, 22], Operations: []
Exploring Operation: 65-27=38, Resulting Numbers: [75, 22, 38]
Generated Node #0,3: 59:[75, 22, 38] Operation: 65-27=38
Moving to Node #0,3
Current State: 59:[75, 22, 38], Operations: ['65-27=38']
Exploring Operation: 75+22=97, Resulting Numbers: [38, 97]
Generated Node #0,3,2: 59:[38, 97] Operation: 75+22=97
Moving to Node #0,3,2
Current State: 59:[38, 97], Operations: ['65-27=38', '75+22=97']
Exploring Operation: 97-38=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 0.934896 | hs_5 | sum_heuristic |
[
82,
50,
96,
48
] | 89 | [
"82+96=178",
"50-48=2",
"178/2=89"
] | Current State: 89:[82, 50, 96, 48], Operations: []
Exploring Operation: 82+96=178, Resulting Numbers: [50, 48, 178]
Generated Node #2: [50, 48, 178] from Operation: 82+96=178
Current State: 89:[50, 48, 178], Operations: ['82+96=178']
Exploring Operation: 50-48=2, Resulting Numbers: [178, 2]
Generated Node #3: [178, 2] from Operation: 50-48=2
Current State: 89:[178, 2], Operations: ['82+96=178', '50-48=2']
Exploring Operation: 178/2=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[82, 50, 96, 48], Operations: []
Exploring Operation: 82+48=130, Resulting Numbers: [50, 96, 130]
Generated Node #0,0: 89:[50, 96, 130] Operation: 82+48=130
Exploring Operation: 50+48=98, Resulting Numbers: [82, 96, 98]
Generated Node #0,1: 89:[82, 96, 98] Operation: 50+48=98
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[82, 96, 98], Operations: ['50+48=98']
Exploring Operation: 96-82=14, Resulting Numbers: [98, 14]
Generated Node #0,1,0: 89:[98, 14] Operation: 96-82=14
Exploring Operation: 98-82=16, Resulting Numbers: [96, 16]
Generated Node #0,1,1: 89:[96, 16] Operation: 98-82=16
Moving to Node #0,1,1
Current State: 89:[96, 16], Operations: ['50+48=98', '98-82=16']
Exploring Operation: 96+16=112, Resulting Numbers: [112]
112,89 unequal: No Solution
Exploring Operation: 96-16=80, Resulting Numbers: [80]
80,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[98, 14], Operations: ['50+48=98', '96-82=14']
Exploring Operation: 98+14=112, Resulting Numbers: [112]
112,89 unequal: No Solution
Exploring Operation: 98-14=84, Resulting Numbers: [84]
84,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[50, 96, 130], Operations: ['82+48=130']
Exploring Operation: 130-50=80, Resulting Numbers: [96, 80]
Generated Node #0,0,0: 89:[96, 80] Operation: 130-50=80
Exploring Operation: 96-50=46, Resulting Numbers: [130, 46]
Generated Node #0,0,1: 89:[130, 46] Operation: 96-50=46
Moving to Node #0,0,0
Current State: 89:[96, 80], Operations: ['82+48=130', '130-50=80']
Exploring Operation: 96-80=16, Resulting Numbers: [16]
16,89 unequal: No Solution
Exploring Operation: 96+80=176, Resulting Numbers: [176]
176,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[130, 46], Operations: ['82+48=130', '96-50=46']
Exploring Operation: 130-46=84, Resulting Numbers: [84]
84,89 unequal: No Solution
Exploring Operation: 130+46=176, Resulting Numbers: [176]
176,89 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 |
[
71,
2,
60,
54
] | 68 | [
"60-54=6",
"6/2=3",
"71-3=68"
] | Current State: 68:[71, 2, 60, 54], Operations: []
Exploring Operation: 60-54=6, Resulting Numbers: [71, 2, 6]
Generated Node #2: [71, 2, 6] from Operation: 60-54=6
Current State: 68:[71, 2, 6], Operations: ['60-54=6']
Exploring Operation: 6/2=3, Resulting Numbers: [71, 3]
Generated Node #3: [71, 3] from Operation: 6/2=3
Current State: 68:[71, 3], Operations: ['60-54=6', '6/2=3']
Exploring Operation: 71-3=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[71, 2, 60, 54], Operations: []
Exploring Operation: 71-54=17, Resulting Numbers: [2, 60, 17]
Generated Node #0,0: 68:[2, 60, 17] Operation: 71-54=17
Exploring Operation: 60-54=6, Resulting Numbers: [71, 2, 6]
Generated Node #0,1: 68:[71, 2, 6] Operation: 60-54=6
Moving to Node #0,1
Current State: 68:[71, 2, 6], Operations: ['60-54=6']
Exploring Operation: 71-2=69, Resulting Numbers: [6, 69]
Generated Node #0,1,0: 68:[6, 69] Operation: 71-2=69
Exploring Operation: 71-6=65, Resulting Numbers: [2, 65]
Generated Node #0,1,1: 68:[2, 65] Operation: 71-6=65
Moving to Node #0,0
Current State: 68:[2, 60, 17], Operations: ['71-54=17']
Exploring Operation: 60/2=30, Resulting Numbers: [17, 30]
Generated Node #0,0,0: 68:[17, 30] Operation: 60/2=30
Exploring Operation: 2+60=62, Resulting Numbers: [17, 62]
Generated Node #0,0,1: 68:[17, 62] Operation: 2+60=62
Moving to Node #0,1,0
Current State: 68:[6, 69], Operations: ['60-54=6', '71-2=69']
Exploring Operation: 69-6=63, Resulting Numbers: [63]
63,68 unequal: No Solution
Exploring Operation: 6+69=75, Resulting Numbers: [75]
75,68 unequal: No Solution
Moving to Node #0,1,1
Current State: 68:[2, 65], Operations: ['60-54=6', '71-6=65']
Exploring Operation: 2+65=67, Resulting Numbers: [67]
67,68 unequal: No Solution
Exploring Operation: 65-2=63, Resulting Numbers: [63]
63,68 unequal: No Solution
Moving to Node #0,0,0
Current State: 68:[17, 30], Operations: ['71-54=17', '60/2=30']
Exploring Operation: 30-17=13, Resulting Numbers: [13]
13,68 unequal: No Solution
Exploring Operation: 17+30=47, Resulting Numbers: [47]
47,68 unequal: No Solution
Moving to Node #0,0,1
Current State: 68:[17, 62], Operations: ['71-54=17', '2+60=62']
Exploring Operation: 62-17=45, Resulting Numbers: [45]
45,68 unequal: No Solution
Exploring Operation: 17+62=79, Resulting Numbers: [79]
79,68 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
37,
78,
34,
90
] | 83 | [
"78-37=41",
"34+90=124",
"124-41=83"
] | Current State: 83:[37, 78, 34, 90], Operations: []
Exploring Operation: 78-37=41, Resulting Numbers: [34, 90, 41]
Generated Node #2: [34, 90, 41] from Operation: 78-37=41
Current State: 83:[34, 90, 41], Operations: ['78-37=41']
Exploring Operation: 34+90=124, Resulting Numbers: [41, 124]
Generated Node #3: [41, 124] from Operation: 34+90=124
Current State: 83:[41, 124], Operations: ['78-37=41', '34+90=124']
Exploring Operation: 124-41=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[37, 78, 34, 90], Operations: []
Exploring Operation: 90-37=53, Resulting Numbers: [78, 34, 53]
Generated Node #0,0: 83:[78, 34, 53] Operation: 90-37=53
Exploring Operation: 78+34=112, Resulting Numbers: [37, 90, 112]
Generated Node #0,1: 83:[37, 90, 112] Operation: 78+34=112
Exploring Operation: 90-34=56, Resulting Numbers: [37, 78, 56]
Generated Node #0,2: 83:[37, 78, 56] Operation: 90-34=56
Exploring Operation: 37+34=71, Resulting Numbers: [78, 90, 71]
Generated Node #0,3: 83:[78, 90, 71] Operation: 37+34=71
Moving to Node #0,3
Current State: 83:[78, 90, 71], Operations: ['37+34=71']
Exploring Operation: 78-71=7, Resulting Numbers: [90, 7]
Generated Node #0,3,0: 83:[90, 7] Operation: 78-71=7
Exploring Operation: 90-71=19, Resulting Numbers: [78, 19]
Generated Node #0,3,1: 83:[78, 19] Operation: 90-71=19
Exploring Operation: 78+71=149, Resulting Numbers: [90, 149]
Generated Node #0,3,2: 83:[90, 149] Operation: 78+71=149
Exploring Operation: 90-78=12, Resulting Numbers: [71, 12]
Generated Node #0,3,3: 83:[71, 12] Operation: 90-78=12
Moving to Node #0,2
Current State: 83:[37, 78, 56], Operations: ['90-34=56']
Exploring Operation: 78-37=41, Resulting Numbers: [56, 41]
Generated Node #0,2,0: 83:[56, 41] Operation: 78-37=41
Exploring Operation: 37+78=115, Resulting Numbers: [56, 115]
Generated Node #0,2,1: 83:[56, 115] Operation: 37+78=115
Exploring Operation: 37+56=93, Resulting Numbers: [78, 93]
Generated Node #0,2,2: 83:[78, 93] Operation: 37+56=93
Exploring Operation: 56-37=19, Resulting Numbers: [78, 19]
Generated Node #0,2,3: 83:[78, 19] Operation: 56-37=19
Moving to Node #0,1
Current State: 83:[37, 90, 112], Operations: ['78+34=112']
Exploring Operation: 90-37=53, Resulting Numbers: [112, 53]
Generated Node #0,1,0: 83:[112, 53] Operation: 90-37=53
Exploring Operation: 37+90=127, Resulting Numbers: [112, 127]
Generated Node #0,1,1: 83:[112, 127] Operation: 37+90=127
Exploring Operation: 37+112=149, Resulting Numbers: [90, 149]
Generated Node #0,1,2: 83:[90, 149] Operation: 37+112=149
Exploring Operation: 112-37=75, Resulting Numbers: [90, 75]
Generated Node #0,1,3: 83:[90, 75] Operation: 112-37=75
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 83:[90, 75], Operations: ['78+34=112', '112-37=75']
Exploring Operation: 90-75=15, Resulting Numbers: [15]
15,83 unequal: No Solution
Exploring Operation: 90*75=6750, Resulting Numbers: [6750]
6750,83 unequal: No Solution
Exploring Operation: 90+75=165, Resulting Numbers: [165]
165,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 83:[112, 53], Operations: ['78+34=112', '90-37=53']
Exploring Operation: 112*53=5936, Resulting Numbers: [5936]
5936,83 unequal: No Solution
Exploring Operation: 112-53=59, Resulting Numbers: [59]
59,83 unequal: No Solution
Exploring Operation: 112+53=165, Resulting Numbers: [165]
165,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 83:[112, 127], Operations: ['78+34=112', '37+90=127']
Exploring Operation: 127-112=15, Resulting Numbers: [15]
15,83 unequal: No Solution
Exploring Operation: 112+127=239, Resulting Numbers: [239]
239,83 unequal: No Solution
Exploring Operation: 112*127=14224, Resulting Numbers: [14224]
14224,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 83:[90, 149], Operations: ['78+34=112', '37+112=149']
Exploring Operation: 90*149=13410, Resulting Numbers: [13410]
13410,83 unequal: No Solution
Exploring Operation: 90+149=239, Resulting Numbers: [239]
239,83 unequal: No Solution
Exploring Operation: 149-90=59, Resulting Numbers: [59]
59,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 83:[78, 34, 53], Operations: ['90-37=53']
Exploring Operation: 34+53=87, Resulting Numbers: [78, 87]
Generated Node #0,0,0: 83:[78, 87] Operation: 34+53=87
Exploring Operation: 78-34=44, Resulting Numbers: [53, 44]
Generated Node #0,0,1: 83:[53, 44] Operation: 78-34=44
Exploring Operation: 53-34=19, Resulting Numbers: [78, 19]
Generated Node #0,0,2: 83:[78, 19] Operation: 53-34=19
Exploring Operation: 78+34=112, Resulting Numbers: [53, 112]
Generated Node #0,0,3: 83:[53, 112] Operation: 78+34=112
Moving to Node #0,0,0
Current State: 83:[78, 87], Operations: ['90-37=53', '34+53=87']
Exploring Operation: 87-78=9, Resulting Numbers: [9]
9,83 unequal: No Solution
Exploring Operation: 78+87=165, Resulting Numbers: [165]
165,83 unequal: No Solution
Exploring Operation: 78*87=6786, Resulting Numbers: [6786]
6786,83 unequal: No Solution
Moving to Node #0,2,2
Current State: 83:[78, 93], Operations: ['90-34=56', '37+56=93']
Exploring Operation: 78*93=7254, Resulting Numbers: [7254]
7254,83 unequal: No Solution
Exploring Operation: 78+93=171, Resulting Numbers: [171]
171,83 unequal: No Solution
Exploring Operation: 93-78=15, Resulting Numbers: [15]
15,83 unequal: No Solution
Moving to Node #0,2,1
Current State: 83:[56, 115], Operations: ['90-34=56', '37+78=115']
Exploring Operation: 56+115=171, Resulting Numbers: [171]
171,83 unequal: No Solution
Exploring Operation: 56*115=6440, Resulting Numbers: [6440]
6440,83 unequal: No Solution
Exploring Operation: 115-56=59, Resulting Numbers: [59]
59,83 unequal: No Solution
Moving to Node #0,0,3
Current State: 83:[53, 112], Operations: ['90-37=53', '78+34=112']
Exploring Operation: 53*112=5936, Resulting Numbers: [5936]
5936,83 unequal: No Solution
Exploring Operation: 112-53=59, Resulting Numbers: [59]
59,83 unequal: No Solution
Exploring Operation: 53+112=165, Resulting Numbers: [165]
165,83 unequal: No Solution
Moving to Node #0,2,0
Current State: 83:[56, 41], Operations: ['90-34=56', '78-37=41']
Exploring Operation: 56+41=97, Resulting Numbers: [97]
97,83 unequal: No Solution
Exploring Operation: 56*41=2296, Resulting Numbers: [2296]
2296,83 unequal: No Solution
Exploring Operation: 56-41=15, Resulting Numbers: [15]
15,83 unequal: No Solution
Moving to Node #0,0,2
Current State: 83:[78, 19], Operations: ['90-37=53', '53-34=19']
Exploring Operation: 78-19=59, Resulting Numbers: [59]
59,83 unequal: No Solution
Exploring Operation: 78*19=1482, Resulting Numbers: [1482]
1482,83 unequal: No Solution
Exploring Operation: 78+19=97, Resulting Numbers: [97]
97,83 unequal: No Solution
Moving to Node #0,2,3
Current State: 83:[78, 19], Operations: ['90-34=56', '56-37=19']
Exploring Operation: 78*19=1482, Resulting Numbers: [1482]
1482,83 unequal: No Solution
Exploring Operation: 78+19=97, Resulting Numbers: [97]
97,83 unequal: No Solution
Exploring Operation: 78-19=59, Resulting Numbers: [59]
59,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[53, 44], Operations: ['90-37=53', '78-34=44']
Exploring Operation: 53+44=97, Resulting Numbers: [97]
97,83 unequal: No Solution
Exploring Operation: 53*44=2332, Resulting Numbers: [2332]
2332,83 unequal: No Solution
Exploring Operation: 53-44=9, Resulting Numbers: [9]
9,83 unequal: No Solution
Moving to Node #0,3,1
Current State: 83:[78, 19], Operations: ['37+34=71', '90-71=19']
Exploring Operation: 78+19=97, Resulting Numbers: [97]
97,83 unequal: No Solution
Exploring Operation: 78*19=1482, Resulting Numbers: [1482]
1482,83 unequal: No Solution
Exploring Operation: 78-19=59, Resulting Numbers: [59]
59,83 unequal: No Solution
Moving to Node #0,3,2
Current State: 83:[90, 149], Operations: ['37+34=71', '78+71=149']
Exploring Operation: 90+149=239, Resulting Numbers: [239]
239,83 unequal: No Solution
Exploring Operation: 149-90=59, Resulting Numbers: [59]
59,83 unequal: No Solution
Exploring Operation: 90*149=13410, Resulting Numbers: [13410]
13410,83 unequal: No Solution
Moving to Node #0,3,0
Current State: 83:[90, 7], Operations: ['37+34=71', '78-71=7']
Exploring Operation: 90*7=630, Resulting Numbers: [630]
630,83 unequal: No Solution
Exploring Operation: 90+7=97, Resulting Numbers: [97]
97,83 unequal: No Solution
Exploring Operation: 90-7=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[37, 78, 34, 90], Operations: []
Exploring Operation: 37+34=71, Resulting Numbers: [78, 90, 71]
Generated Node #0,3: 83:[78, 90, 71] Operation: 37+34=71
Moving to Node #0,3
Current State: 83:[78, 90, 71], Operations: ['37+34=71']
Exploring Operation: 78-71=7, Resulting Numbers: [90, 7]
Generated Node #0,3,0: 83:[90, 7] Operation: 78-71=7
Moving to Node #0,3,0
Current State: 83:[90, 7], Operations: ['37+34=71', '78-71=7']
Exploring Operation: 90-7=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 0.940104 | hs_4 | mult_heuristic |
[
4,
48,
16,
37
] | 41 | [
"48/4=12",
"16+37=53",
"53-12=41"
] | Current State: 41:[4, 48, 16, 37], Operations: []
Exploring Operation: 48/4=12, Resulting Numbers: [16, 37, 12]
Generated Node #2: [16, 37, 12] from Operation: 48/4=12
Current State: 41:[16, 37, 12], Operations: ['48/4=12']
Exploring Operation: 16+37=53, Resulting Numbers: [12, 53]
Generated Node #3: [12, 53] from Operation: 16+37=53
Current State: 41:[12, 53], Operations: ['48/4=12', '16+37=53']
Exploring Operation: 53-12=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[4, 48, 16, 37], Operations: []
Exploring Operation: 4+16=20, Resulting Numbers: [48, 37, 20]
Generated Node #0,0: 41:[48, 37, 20] Operation: 4+16=20
Exploring Operation: 48-4=44, Resulting Numbers: [16, 37, 44]
Generated Node #0,1: 41:[16, 37, 44] Operation: 48-4=44
Exploring Operation: 4+37=41, Resulting Numbers: [48, 16, 41]
Generated Node #0,2: 41:[48, 16, 41] Operation: 4+37=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[48, 37, 20], Operations: ['4+16=20']
Exploring Operation: 48+20=68, Resulting Numbers: [37, 68]
Generated Node #0,0,0: 41:[37, 68] Operation: 48+20=68
Exploring Operation: 48-20=28, Resulting Numbers: [37, 28]
Generated Node #0,0,1: 41:[37, 28] Operation: 48-20=28
Exploring Operation: 37+20=57, Resulting Numbers: [48, 57]
Generated Node #0,0,2: 41:[48, 57] Operation: 37+20=57
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 41:[37, 28], Operations: ['4+16=20', '48-20=28']
Exploring Operation: 37+28=65, Resulting Numbers: [65]
65,41 unequal: No Solution
Exploring Operation: 37-28=9, Resulting Numbers: [9]
9,41 unequal: No Solution
Exploring Operation: 37*28=1036, Resulting Numbers: [1036]
1036,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 41:[48, 57], Operations: ['4+16=20', '37+20=57']
Exploring Operation: 57-48=9, Resulting Numbers: [9]
9,41 unequal: No Solution
Exploring Operation: 48*57=2736, Resulting Numbers: [2736]
2736,41 unequal: No Solution
Exploring Operation: 48+57=105, Resulting Numbers: [105]
105,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 41:[37, 68], Operations: ['4+16=20', '48+20=68']
Exploring Operation: 68-37=31, Resulting Numbers: [31]
31,41 unequal: No Solution
Exploring Operation: 37+68=105, Resulting Numbers: [105]
105,41 unequal: No Solution
Exploring Operation: 37*68=2516, Resulting Numbers: [2516]
2516,41 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: 41:[16, 37, 44], Operations: ['48-4=44']
Exploring Operation: 16+37=53, Resulting Numbers: [44, 53]
Generated Node #0,1,0: 41:[44, 53] Operation: 16+37=53
Exploring Operation: 44-16=28, Resulting Numbers: [37, 28]
Generated Node #0,1,1: 41:[37, 28] Operation: 44-16=28
Exploring Operation: 37-16=21, Resulting Numbers: [44, 21]
Generated Node #0,1,2: 41:[44, 21] Operation: 37-16=21
Moving to Node #0,1,0
Current State: 41:[44, 53], Operations: ['48-4=44', '16+37=53']
Exploring Operation: 44+53=97, Resulting Numbers: [97]
97,41 unequal: No Solution
Exploring Operation: 44*53=2332, Resulting Numbers: [2332]
2332,41 unequal: No Solution
Exploring Operation: 53-44=9, Resulting Numbers: [9]
9,41 unequal: No Solution
Moving to Node #0,1,1
Current State: 41:[37, 28], Operations: ['48-4=44', '44-16=28']
Exploring Operation: 37+28=65, Resulting Numbers: [65]
65,41 unequal: No Solution
Exploring Operation: 37*28=1036, Resulting Numbers: [1036]
1036,41 unequal: No Solution
Exploring Operation: 37-28=9, Resulting Numbers: [9]
9,41 unequal: No Solution
Moving to Node #0,1,2
Current State: 41:[44, 21], Operations: ['48-4=44', '37-16=21']
Exploring Operation: 44*21=924, Resulting Numbers: [924]
924,41 unequal: No Solution
Exploring Operation: 44-21=23, Resulting Numbers: [23]
23,41 unequal: No Solution
Exploring Operation: 44+21=65, Resulting Numbers: [65]
65,41 unequal: No Solution
No 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: 41:[48, 16, 41], Operations: ['4+37=41']
Exploring Operation: 16+41=57, Resulting Numbers: [48, 57]
Generated Node #0,2,0: 41:[48, 57] Operation: 16+41=57
Exploring Operation: 48+16=64, Resulting Numbers: [41, 64]
Generated Node #0,2,1: 41:[41, 64] Operation: 48+16=64
Exploring Operation: 48-16=32, Resulting Numbers: [41, 32]
Generated Node #0,2,2: 41:[41, 32] Operation: 48-16=32
Moving to Node #0,2,2
Current State: 41:[41, 32], Operations: ['4+37=41', '48-16=32']
Exploring Operation: 41-32=9, Resulting Numbers: [9]
9,41 unequal: No Solution
Exploring Operation: 41+32=73, Resulting Numbers: [73]
73,41 unequal: No Solution
Exploring Operation: 41*32=1312, Resulting Numbers: [1312]
1312,41 unequal: No Solution
Moving to Node #0,2,0
Current State: 41:[48, 57], Operations: ['4+37=41', '16+41=57']
Exploring Operation: 48*57=2736, Resulting Numbers: [2736]
2736,41 unequal: No Solution
Exploring Operation: 48+57=105, Resulting Numbers: [105]
105,41 unequal: No Solution
Exploring Operation: 57-48=9, Resulting Numbers: [9]
9,41 unequal: No Solution
Moving to Node #0,2,1
Current State: 41:[41, 64], Operations: ['4+37=41', '48+16=64']
Exploring Operation: 41*64=2624, Resulting Numbers: [2624]
2624,41 unequal: No Solution
Exploring Operation: 64-41=23, Resulting Numbers: [23]
23,41 unequal: No Solution
Exploring Operation: 41+64=105, Resulting Numbers: [105]
105,41 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 |
[
88,
99,
52,
97
] | 72 | [
"88-52=36",
"99-97=2",
"36*2=72"
] | Current State: 72:[88, 99, 52, 97], Operations: []
Exploring Operation: 88-52=36, Resulting Numbers: [99, 97, 36]
Generated Node #2: [99, 97, 36] from Operation: 88-52=36
Current State: 72:[99, 97, 36], Operations: ['88-52=36']
Exploring Operation: 99-97=2, Resulting Numbers: [36, 2]
Generated Node #3: [36, 2] from Operation: 99-97=2
Current State: 72:[36, 2], Operations: ['88-52=36', '99-97=2']
Exploring Operation: 36*2=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[88, 99, 52, 97], Operations: []
Exploring Operation: 97-88=9, Resulting Numbers: [99, 52, 9]
Generated Node #0,0: 72:[99, 52, 9] Operation: 97-88=9
Exploring Operation: 99-97=2, Resulting Numbers: [88, 52, 2]
Generated Node #0,1: 72:[88, 52, 2] Operation: 99-97=2
Exploring Operation: 99-88=11, Resulting Numbers: [52, 97, 11]
Generated Node #0,2: 72:[52, 97, 11] Operation: 99-88=11
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[88, 52, 2], Operations: ['99-97=2']
Exploring Operation: 88/2=44, Resulting Numbers: [52, 44]
Generated Node #0,1,0: 72:[52, 44] Operation: 88/2=44
Exploring Operation: 88-52=36, Resulting Numbers: [2, 36]
Generated Node #0,1,1: 72:[2, 36] Operation: 88-52=36
Exploring Operation: 52/2=26, Resulting Numbers: [88, 26]
Generated Node #0,1,2: 72:[88, 26] Operation: 52/2=26
Moving to Node #0,1,1
Current State: 72:[2, 36], Operations: ['99-97=2', '88-52=36']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Exploring Operation: 2*36=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[88, 99, 52, 97], Operations: []
Exploring Operation: 99-97=2, Resulting Numbers: [88, 52, 2]
Generated Node #0,1: 72:[88, 52, 2] Operation: 99-97=2
Moving to Node #0,1
Current State: 72:[88, 52, 2], Operations: ['99-97=2']
Exploring Operation: 88-52=36, Resulting Numbers: [2, 36]
Generated Node #0,1,1: 72:[2, 36] Operation: 88-52=36
Moving to Node #0,1,1
Current State: 72:[2, 36], Operations: ['99-97=2', '88-52=36']
Exploring Operation: 2*36=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
11,
91,
82,
19
] | 36 | [
"11*19=209",
"91+82=173",
"209-173=36"
] | Current State: 36:[11, 91, 82, 19], Operations: []
Exploring Operation: 11*19=209, Resulting Numbers: [91, 82, 209]
Generated Node #2: [91, 82, 209] from Operation: 11*19=209
Current State: 36:[91, 82, 209], Operations: ['11*19=209']
Exploring Operation: 91+82=173, Resulting Numbers: [209, 173]
Generated Node #3: [209, 173] from Operation: 91+82=173
Current State: 36:[209, 173], Operations: ['11*19=209', '91+82=173']
Exploring Operation: 209-173=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[11, 91, 82, 19], Operations: []
Exploring Operation: 91-82=9, Resulting Numbers: [11, 19, 9]
Generated Node #0,0: 36:[11, 19, 9] Operation: 91-82=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[11, 19, 9], Operations: ['91-82=9']
Exploring Operation: 19-11=8, Resulting Numbers: [9, 8]
Generated Node #0,0,0: 36:[9, 8] Operation: 19-11=8
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 36:[9, 8], Operations: ['91-82=9', '19-11=8']
Exploring Operation: 9+8=17, Resulting Numbers: [17]
17,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
76,
83,
76,
15
] | 99 | [
"76/76=1",
"83+15=98",
"1+98=99"
] | Current State: 99:[76, 83, 76, 15], Operations: []
Exploring Operation: 76/76=1, Resulting Numbers: [83, 15, 1]
Generated Node #2: [83, 15, 1] from Operation: 76/76=1
Current State: 99:[83, 15, 1], Operations: ['76/76=1']
Exploring Operation: 83+15=98, Resulting Numbers: [1, 98]
Generated Node #3: [1, 98] from Operation: 83+15=98
Current State: 99:[1, 98], Operations: ['76/76=1', '83+15=98']
Exploring Operation: 1+98=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[76, 83, 76, 15], Operations: []
Exploring Operation: 76/76=1, Resulting Numbers: [83, 15, 1]
Generated Node #0,0: 99:[83, 15, 1] Operation: 76/76=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[83, 15, 1], Operations: ['76/76=1']
Exploring Operation: 83+15=98, Resulting Numbers: [1, 98]
Generated Node #0,0,0: 99:[1, 98] Operation: 83+15=98
Moving to Node #0,0,0
Current State: 99:[1, 98], Operations: ['76/76=1', '83+15=98']
Exploring Operation: 1+98=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[76, 83, 76, 15], Operations: []
Exploring Operation: 76/76=1, Resulting Numbers: [83, 15, 1]
Generated Node #0,0: 99:[83, 15, 1] Operation: 76/76=1
Moving to Node #0,0
Current State: 99:[83, 15, 1], Operations: ['76/76=1']
Exploring Operation: 83+15=98, Resulting Numbers: [1, 98]
Generated Node #0,0,0: 99:[1, 98] Operation: 83+15=98
Moving to Node #0,0,0
Current State: 99:[1, 98], Operations: ['76/76=1', '83+15=98']
Exploring Operation: 1+98=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
23,
2,
39,
2
] | 15 | [
"39-23=16",
"2/2=1",
"16-1=15"
] | Current State: 15:[23, 2, 39, 2], Operations: []
Exploring Operation: 39-23=16, Resulting Numbers: [2, 2, 16]
Generated Node #2: [2, 2, 16] from Operation: 39-23=16
Current State: 15:[2, 2, 16], Operations: ['39-23=16']
Exploring Operation: 2/2=1, Resulting Numbers: [16, 1]
Generated Node #3: [16, 1] from Operation: 2/2=1
Current State: 15:[16, 1], Operations: ['39-23=16', '2/2=1']
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[23, 2, 39, 2], Operations: []
Exploring Operation: 39-23=16, Resulting Numbers: [2, 2, 16]
Generated Node #0,0: 15:[2, 2, 16] Operation: 39-23=16
Moving to Node #0,0
Current State: 15:[2, 2, 16], Operations: ['39-23=16']
Exploring Operation: 2+2=4, Resulting Numbers: [16, 4]
Generated Node #0,0,0: 15:[16, 4] Operation: 2+2=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 15:[16, 4], Operations: ['39-23=16', '2+2=4']
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
26,
7,
18,
19
] | 67 | [
"26-19=7",
"7*7=49",
"18+49=67"
] | Current State: 67:[26, 7, 18, 19], Operations: []
Exploring Operation: 26-19=7, Resulting Numbers: [7, 18, 7]
Generated Node #2: [7, 18, 7] from Operation: 26-19=7
Current State: 67:[7, 18, 7], Operations: ['26-19=7']
Exploring Operation: 7*7=49, Resulting Numbers: [18, 49]
Generated Node #3: [18, 49] from Operation: 7*7=49
Current State: 67:[18, 49], Operations: ['26-19=7', '7*7=49']
Exploring Operation: 18+49=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[26, 7, 18, 19], Operations: []
Exploring Operation: 26+7=33, Resulting Numbers: [18, 19, 33]
Generated Node #0,0: 67:[18, 19, 33] Operation: 26+7=33
Moving to Node #0,0
Current State: 67:[18, 19, 33], Operations: ['26+7=33']
Exploring Operation: 18+19=37, Resulting Numbers: [33, 37]
Generated Node #0,0,0: 67:[33, 37] Operation: 18+19=37
Moving to Node #0,0,0
Current State: 67:[33, 37], Operations: ['26+7=33', '18+19=37']
Exploring Operation: 33+37=70, Resulting Numbers: [70]
70,67 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
80,
13,
85,
92
] | 21 | [
"85-80=5",
"13+92=105",
"105/5=21"
] | Current State: 21:[80, 13, 85, 92], Operations: []
Exploring Operation: 85-80=5, Resulting Numbers: [13, 92, 5]
Generated Node #2: [13, 92, 5] from Operation: 85-80=5
Current State: 21:[13, 92, 5], Operations: ['85-80=5']
Exploring Operation: 13+92=105, Resulting Numbers: [5, 105]
Generated Node #3: [5, 105] from Operation: 13+92=105
Current State: 21:[5, 105], Operations: ['85-80=5', '13+92=105']
Exploring Operation: 105/5=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[80, 13, 85, 92], Operations: []
Exploring Operation: 92-85=7, Resulting Numbers: [80, 13, 7]
Generated Node #0,0: 21:[80, 13, 7] Operation: 92-85=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[80, 13, 7], Operations: ['92-85=7']
Exploring Operation: 80-13=67, Resulting Numbers: [7, 67]
Generated Node #0,0,0: 21:[7, 67] Operation: 80-13=67
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 21:[7, 67], Operations: ['92-85=7', '80-13=67']
Exploring Operation: 67-7=60, Resulting Numbers: [60]
60,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
6,
36,
46,
52
] | 56 | [
"6+36=42",
"46+52=98",
"98-42=56"
] | Current State: 56:[6, 36, 46, 52], Operations: []
Exploring Operation: 6+36=42, Resulting Numbers: [46, 52, 42]
Generated Node #2: [46, 52, 42] from Operation: 6+36=42
Current State: 56:[46, 52, 42], Operations: ['6+36=42']
Exploring Operation: 46+52=98, Resulting Numbers: [42, 98]
Generated Node #3: [42, 98] from Operation: 46+52=98
Current State: 56:[42, 98], Operations: ['6+36=42', '46+52=98']
Exploring Operation: 98-42=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[6, 36, 46, 52], Operations: []
Exploring Operation: 52-46=6, Resulting Numbers: [6, 36, 6]
Generated Node #0,0: 56:[6, 36, 6] Operation: 52-46=6
Exploring Operation: 46-36=10, Resulting Numbers: [6, 52, 10]
Generated Node #0,1: 56:[6, 52, 10] Operation: 46-36=10
Exploring Operation: 52-36=16, Resulting Numbers: [6, 46, 16]
Generated Node #0,2: 56:[6, 46, 16] Operation: 52-36=16
Exploring Operation: 36-6=30, Resulting Numbers: [46, 52, 30]
Generated Node #0,3: 56:[46, 52, 30] Operation: 36-6=30
Exploring Operation: 36/6=6, Resulting Numbers: [46, 52, 6]
Generated Node #0,4: 56:[46, 52, 6] Operation: 36/6=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[6, 52, 10], Operations: ['46-36=10']
Exploring Operation: 6*10=60, Resulting Numbers: [52, 60]
Generated Node #0,1,0: 56:[52, 60] Operation: 6*10=60
Exploring Operation: 52+10=62, Resulting Numbers: [6, 62]
Generated Node #0,1,1: 56:[6, 62] Operation: 52+10=62
Exploring Operation: 6+10=16, Resulting Numbers: [52, 16]
Generated Node #0,1,2: 56:[52, 16] Operation: 6+10=16
Exploring Operation: 10-6=4, Resulting Numbers: [52, 4]
Generated Node #0,1,3: 56:[52, 4] Operation: 10-6=4
Exploring Operation: 6+52=58, Resulting Numbers: [10, 58]
Generated Node #0,1,4: 56:[10, 58] Operation: 6+52=58
Moving to Node #0,1,3
Current State: 56:[52, 4], Operations: ['46-36=10', '10-6=4']
Exploring Operation: 52+4=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[6, 36, 46, 52], Operations: []
Exploring Operation: 46-36=10, Resulting Numbers: [6, 52, 10]
Generated Node #0,1: 56:[6, 52, 10] Operation: 46-36=10
Moving to Node #0,1
Current State: 56:[6, 52, 10], Operations: ['46-36=10']
Exploring Operation: 10-6=4, Resulting Numbers: [52, 4]
Generated Node #0,1,3: 56:[52, 4] Operation: 10-6=4
Moving to Node #0,1,3
Current State: 56:[52, 4], Operations: ['46-36=10', '10-6=4']
Exploring Operation: 52+4=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
21,
75,
33,
71
] | 51 | [
"75-71=4",
"21*4=84",
"84-33=51"
] | Current State: 51:[21, 75, 33, 71], Operations: []
Exploring Operation: 75-71=4, Resulting Numbers: [21, 33, 4]
Generated Node #2: [21, 33, 4] from Operation: 75-71=4
Current State: 51:[21, 33, 4], Operations: ['75-71=4']
Exploring Operation: 21*4=84, Resulting Numbers: [33, 84]
Generated Node #3: [33, 84] from Operation: 21*4=84
Current State: 51:[33, 84], Operations: ['75-71=4', '21*4=84']
Exploring Operation: 84-33=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[21, 75, 33, 71], Operations: []
Exploring Operation: 75-33=42, Resulting Numbers: [21, 71, 42]
Generated Node #0,0: 51:[21, 71, 42] Operation: 75-33=42
Exploring Operation: 75-71=4, Resulting Numbers: [21, 33, 4]
Generated Node #0,1: 51:[21, 33, 4] Operation: 75-71=4
Exploring Operation: 71-21=50, Resulting Numbers: [75, 33, 50]
Generated Node #0,2: 51:[75, 33, 50] Operation: 71-21=50
Exploring Operation: 75-21=54, Resulting Numbers: [33, 71, 54]
Generated Node #0,3: 51:[33, 71, 54] Operation: 75-21=54
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[21, 33, 4], Operations: ['75-71=4']
Exploring Operation: 33-21=12, Resulting Numbers: [4, 12]
Generated Node #0,1,0: 51:[4, 12] Operation: 33-21=12
Exploring Operation: 21+33=54, Resulting Numbers: [4, 54]
Generated Node #0,1,1: 51:[4, 54] Operation: 21+33=54
Exploring Operation: 21-4=17, Resulting Numbers: [33, 17]
Generated Node #0,1,2: 51:[33, 17] Operation: 21-4=17
Exploring Operation: 33-4=29, Resulting Numbers: [21, 29]
Generated Node #0,1,3: 51:[21, 29] Operation: 33-4=29
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 51:[4, 54], Operations: ['75-71=4', '21+33=54']
Exploring Operation: 4*54=216, Resulting Numbers: [216]
216,51 unequal: No Solution
Exploring Operation: 54-4=50, Resulting Numbers: [50]
50,51 unequal: No Solution
Exploring Operation: 4+54=58, Resulting Numbers: [58]
58,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 51:[4, 12], Operations: ['75-71=4', '33-21=12']
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,51 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,51 unequal: No Solution
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,51 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 51:[33, 17], Operations: ['75-71=4', '21-4=17']
Exploring Operation: 33-17=16, Resulting Numbers: [16]
16,51 unequal: No Solution
Exploring Operation: 33*17=561, Resulting Numbers: [561]
561,51 unequal: No Solution
Exploring Operation: 33+17=50, Resulting Numbers: [50]
50,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 51:[21, 29], Operations: ['75-71=4', '33-4=29']
Exploring Operation: 21+29=50, Resulting Numbers: [50]
50,51 unequal: No Solution
Exploring Operation: 21*29=609, Resulting Numbers: [609]
609,51 unequal: No Solution
Exploring Operation: 29-21=8, Resulting Numbers: [8]
8,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[21, 71, 42], Operations: ['75-33=42']
Exploring Operation: 42/21=2, Resulting Numbers: [71, 2]
Generated Node #0,0,0: 51:[71, 2] Operation: 42/21=2
Exploring Operation: 71-42=29, Resulting Numbers: [21, 29]
Generated Node #0,0,1: 51:[21, 29] Operation: 71-42=29
Exploring Operation: 42-21=21, Resulting Numbers: [71, 21]
Generated Node #0,0,2: 51:[71, 21] Operation: 42-21=21
Exploring Operation: 71-21=50, Resulting Numbers: [42, 50]
Generated Node #0,0,3: 51:[42, 50] Operation: 71-21=50
Moving to Node #0,0,3
Current State: 51:[42, 50], Operations: ['75-33=42', '71-21=50']
Exploring Operation: 42*50=2100, Resulting Numbers: [2100]
2100,51 unequal: No Solution
Exploring Operation: 50-42=8, Resulting Numbers: [8]
8,51 unequal: No Solution
Exploring Operation: 42+50=92, Resulting Numbers: [92]
92,51 unequal: No Solution
Moving to Node #0,0,1
Current State: 51:[21, 29], Operations: ['75-33=42', '71-42=29']
Exploring Operation: 21*29=609, Resulting Numbers: [609]
609,51 unequal: No Solution
Exploring Operation: 29-21=8, Resulting Numbers: [8]
8,51 unequal: No Solution
Exploring Operation: 21+29=50, Resulting Numbers: [50]
50,51 unequal: No Solution
Moving to Node #0,0,0
Current State: 51:[71, 2], Operations: ['75-33=42', '42/21=2']
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,51 unequal: No Solution
Exploring Operation: 71*2=142, Resulting Numbers: [142]
142,51 unequal: No Solution
Exploring Operation: 71+2=73, Resulting Numbers: [73]
73,51 unequal: No Solution
Moving to Node #0,0,2
Current State: 51:[71, 21], Operations: ['75-33=42', '42-21=21']
Exploring Operation: 71+21=92, Resulting Numbers: [92]
92,51 unequal: No Solution
Exploring Operation: 71*21=1491, Resulting Numbers: [1491]
1491,51 unequal: No Solution
Exploring Operation: 71-21=50, Resulting Numbers: [50]
50,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 51:[33, 71, 54], Operations: ['75-21=54']
Exploring Operation: 71-33=38, Resulting Numbers: [54, 38]
Generated Node #0,3,0: 51:[54, 38] Operation: 71-33=38
Exploring Operation: 54-33=21, Resulting Numbers: [71, 21]
Generated Node #0,3,1: 51:[71, 21] Operation: 54-33=21
Exploring Operation: 71-54=17, Resulting Numbers: [33, 17]
Generated Node #0,3,2: 51:[33, 17] Operation: 71-54=17
Exploring Operation: 33+71=104, Resulting Numbers: [54, 104]
Generated Node #0,3,3: 51:[54, 104] Operation: 33+71=104
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 51:[54, 38], Operations: ['75-21=54', '71-33=38']
Exploring Operation: 54*38=2052, Resulting Numbers: [2052]
2052,51 unequal: No Solution
Exploring Operation: 54+38=92, Resulting Numbers: [92]
92,51 unequal: No Solution
Exploring Operation: 54-38=16, Resulting Numbers: [16]
16,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 51:[33, 17], Operations: ['75-21=54', '71-54=17']
Exploring Operation: 33*17=561, Resulting Numbers: [561]
561,51 unequal: No Solution
Exploring Operation: 33+17=50, Resulting Numbers: [50]
50,51 unequal: No Solution
Exploring Operation: 33-17=16, Resulting Numbers: [16]
16,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 51:[71, 21], Operations: ['75-21=54', '54-33=21']
Exploring Operation: 71*21=1491, Resulting Numbers: [1491]
1491,51 unequal: No Solution
Exploring Operation: 71-21=50, Resulting Numbers: [50]
50,51 unequal: No Solution
Exploring Operation: 71+21=92, Resulting Numbers: [92]
92,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 51:[54, 104], Operations: ['75-21=54', '33+71=104']
Exploring Operation: 54*104=5616, Resulting Numbers: [5616]
5616,51 unequal: No Solution
Exploring Operation: 104-54=50, Resulting Numbers: [50]
50,51 unequal: No Solution
Exploring Operation: 54+104=158, Resulting Numbers: [158]
158,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 51:[75, 33, 50], Operations: ['71-21=50']
Exploring Operation: 75-33=42, Resulting Numbers: [50, 42]
Generated Node #0,2,0: 51:[50, 42] Operation: 75-33=42
Exploring Operation: 50-33=17, Resulting Numbers: [75, 17]
Generated Node #0,2,1: 51:[75, 17] Operation: 50-33=17
Exploring Operation: 33+50=83, Resulting Numbers: [75, 83]
Generated Node #0,2,2: 51:[75, 83] Operation: 33+50=83
Exploring Operation: 75-50=25, Resulting Numbers: [33, 25]
Generated Node #0,2,3: 51:[33, 25] Operation: 75-50=25
Moving to Node #0,2,0
Current State: 51:[50, 42], Operations: ['71-21=50', '75-33=42']
Exploring Operation: 50*42=2100, Resulting Numbers: [2100]
2100,51 unequal: No Solution
Exploring Operation: 50-42=8, Resulting Numbers: [8]
8,51 unequal: No Solution
Exploring Operation: 50+42=92, Resulting Numbers: [92]
92,51 unequal: No Solution
Moving to Node #0,2,3
Current State: 51:[33, 25], Operations: ['71-21=50', '75-50=25']
Exploring Operation: 33+25=58, Resulting Numbers: [58]
58,51 unequal: No Solution
Exploring Operation: 33-25=8, Resulting Numbers: [8]
8,51 unequal: No Solution
Exploring Operation: 33*25=825, Resulting Numbers: [825]
825,51 unequal: No Solution
Moving to Node #0,2,1
Current State: 51:[75, 17], Operations: ['71-21=50', '50-33=17']
Exploring Operation: 75+17=92, Resulting Numbers: [92]
92,51 unequal: No Solution
Exploring Operation: 75*17=1275, Resulting Numbers: [1275]
1275,51 unequal: No Solution
Exploring Operation: 75-17=58, Resulting Numbers: [58]
58,51 unequal: No Solution
Moving to Node #0,2,2
Current State: 51:[75, 83], Operations: ['71-21=50', '33+50=83']
Exploring Operation: 75*83=6225, Resulting Numbers: [6225]
6225,51 unequal: No Solution
Exploring Operation: 75+83=158, Resulting Numbers: [158]
158,51 unequal: No Solution
Exploring Operation: 83-75=8, Resulting Numbers: [8]
8,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
41,
90,
5,
11
] | 65 | [
"90-41=49",
"5+11=16",
"49+16=65"
] | Current State: 65:[41, 90, 5, 11], Operations: []
Exploring Operation: 90-41=49, Resulting Numbers: [5, 11, 49]
Generated Node #2: [5, 11, 49] from Operation: 90-41=49
Current State: 65:[5, 11, 49], Operations: ['90-41=49']
Exploring Operation: 5+11=16, Resulting Numbers: [49, 16]
Generated Node #3: [49, 16] from Operation: 5+11=16
Current State: 65:[49, 16], Operations: ['90-41=49', '5+11=16']
Exploring Operation: 49+16=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[41, 90, 5, 11], Operations: []
Exploring Operation: 90-41=49, Resulting Numbers: [5, 11, 49]
Generated Node #0,0: 65:[5, 11, 49] Operation: 90-41=49
Exploring Operation: 90/5=18, Resulting Numbers: [41, 11, 18]
Generated Node #0,1: 65:[41, 11, 18] Operation: 90/5=18
Moving to Node #0,0
Current State: 65:[5, 11, 49], Operations: ['90-41=49']
Exploring Operation: 5+49=54, Resulting Numbers: [11, 54]
Generated Node #0,0,0: 65:[11, 54] Operation: 5+49=54
Exploring Operation: 11+49=60, Resulting Numbers: [5, 60]
Generated Node #0,0,1: 65:[5, 60] Operation: 11+49=60
Moving to Node #0,1
Current State: 65:[41, 11, 18], Operations: ['90/5=18']
Exploring Operation: 41+18=59, Resulting Numbers: [11, 59]
Generated Node #0,1,0: 65:[11, 59] Operation: 41+18=59
Exploring Operation: 41-18=23, Resulting Numbers: [11, 23]
Generated Node #0,1,1: 65:[11, 23] Operation: 41-18=23
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 65:[11, 59], Operations: ['90/5=18', '41+18=59']
Exploring Operation: 59-11=48, Resulting Numbers: [48]
48,65 unequal: No Solution
Exploring Operation: 11+59=70, Resulting Numbers: [70]
70,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 65:[11, 23], Operations: ['90/5=18', '41-18=23']
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Exploring Operation: 11+23=34, Resulting Numbers: [34]
34,65 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: 65:[5, 60], Operations: ['90-41=49', '11+49=60']
Exploring Operation: 5+60=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[41, 90, 5, 11], Operations: []
Exploring Operation: 90-41=49, Resulting Numbers: [5, 11, 49]
Generated Node #0,0: 65:[5, 11, 49] Operation: 90-41=49
Moving to Node #0,0
Current State: 65:[5, 11, 49], Operations: ['90-41=49']
Exploring Operation: 11+49=60, Resulting Numbers: [5, 60]
Generated Node #0,0,1: 65:[5, 60] Operation: 11+49=60
Moving to Node #0,0,1
Current State: 65:[5, 60], Operations: ['90-41=49', '11+49=60']
Exploring Operation: 5+60=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
76,
65,
36,
10
] | 15 | [
"76-65=11",
"36-10=26",
"26-11=15"
] | Current State: 15:[76, 65, 36, 10], Operations: []
Exploring Operation: 76-65=11, Resulting Numbers: [36, 10, 11]
Generated Node #2: [36, 10, 11] from Operation: 76-65=11
Current State: 15:[36, 10, 11], Operations: ['76-65=11']
Exploring Operation: 36-10=26, Resulting Numbers: [11, 26]
Generated Node #3: [11, 26] from Operation: 36-10=26
Current State: 15:[11, 26], Operations: ['76-65=11', '36-10=26']
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[76, 65, 36, 10], Operations: []
Exploring Operation: 76-65=11, Resulting Numbers: [36, 10, 11]
Generated Node #0,0: 15:[36, 10, 11] Operation: 76-65=11
Exploring Operation: 65-36=29, Resulting Numbers: [76, 10, 29]
Generated Node #0,1: 15:[76, 10, 29] Operation: 65-36=29
Exploring Operation: 76-36=40, Resulting Numbers: [65, 10, 40]
Generated Node #0,2: 15:[65, 10, 40] Operation: 76-36=40
Moving to Node #0,0
Current State: 15:[36, 10, 11], Operations: ['76-65=11']
Exploring Operation: 36-10=26, Resulting Numbers: [11, 26]
Generated Node #0,0,0: 15:[11, 26] Operation: 36-10=26
Exploring Operation: 11-10=1, Resulting Numbers: [36, 1]
Generated Node #0,0,1: 15:[36, 1] Operation: 11-10=1
Exploring Operation: 36-11=25, Resulting Numbers: [10, 25]
Generated Node #0,0,2: 15:[10, 25] Operation: 36-11=25
Moving to Node #0,1
Current State: 15:[76, 10, 29], Operations: ['65-36=29']
Exploring Operation: 76-29=47, Resulting Numbers: [10, 47]
Generated Node #0,1,0: 15:[10, 47] Operation: 76-29=47
Exploring Operation: 29-10=19, Resulting Numbers: [76, 19]
Generated Node #0,1,1: 15:[76, 19] Operation: 29-10=19
Exploring Operation: 76-10=66, Resulting Numbers: [29, 66]
Generated Node #0,1,2: 15:[29, 66] Operation: 76-10=66
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 15:[10, 47], Operations: ['65-36=29', '76-29=47']
Exploring Operation: 47-10=37, Resulting Numbers: [37]
37,15 unequal: No Solution
Exploring Operation: 10+47=57, Resulting Numbers: [57]
57,15 unequal: No Solution
Exploring Operation: 10*47=470, Resulting Numbers: [470]
470,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 15:[76, 19], Operations: ['65-36=29', '29-10=19']
Exploring Operation: 76/19=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Exploring Operation: 76-19=57, Resulting Numbers: [57]
57,15 unequal: No Solution
Exploring Operation: 76+19=95, Resulting Numbers: [95]
95,15 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 15:[29, 66], Operations: ['65-36=29', '76-10=66']
Exploring Operation: 29+66=95, Resulting Numbers: [95]
95,15 unequal: No Solution
Exploring Operation: 29*66=1914, Resulting Numbers: [1914]
1914,15 unequal: No Solution
Exploring Operation: 66-29=37, Resulting Numbers: [37]
37,15 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: 15:[65, 10, 40], Operations: ['76-36=40']
Exploring Operation: 65-40=25, Resulting Numbers: [10, 25]
Generated Node #0,2,0: 15:[10, 25] Operation: 65-40=25
Exploring Operation: 65-10=55, Resulting Numbers: [40, 55]
Generated Node #0,2,1: 15:[40, 55] Operation: 65-10=55
Exploring Operation: 40/10=4, Resulting Numbers: [65, 4]
Generated Node #0,2,2: 15:[65, 4] Operation: 40/10=4
Moving to Node #0,0,0
Current State: 15:[11, 26], Operations: ['76-65=11', '36-10=26']
Exploring Operation: 11*26=286, Resulting Numbers: [286]
286,15 unequal: No Solution
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[76, 65, 36, 10], Operations: []
Exploring Operation: 76-65=11, Resulting Numbers: [36, 10, 11]
Generated Node #0,0: 15:[36, 10, 11] Operation: 76-65=11
Moving to Node #0,0
Current State: 15:[36, 10, 11], Operations: ['76-65=11']
Exploring Operation: 36-10=26, Resulting Numbers: [11, 26]
Generated Node #0,0,0: 15:[11, 26] Operation: 36-10=26
Moving to Node #0,0,0
Current State: 15:[11, 26], Operations: ['76-65=11', '36-10=26']
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 0.976563 | hs_3 | mult_heuristic |
[
39,
81,
76,
81
] | 36 | [
"76-39=37",
"81/81=1",
"37-1=36"
] | Current State: 36:[39, 81, 76, 81], Operations: []
Exploring Operation: 76-39=37, Resulting Numbers: [81, 81, 37]
Generated Node #2: [81, 81, 37] from Operation: 76-39=37
Current State: 36:[81, 81, 37], Operations: ['76-39=37']
Exploring Operation: 81/81=1, Resulting Numbers: [37, 1]
Generated Node #3: [37, 1] from Operation: 81/81=1
Current State: 36:[37, 1], Operations: ['76-39=37', '81/81=1']
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[39, 81, 76, 81], Operations: []
Exploring Operation: 81/81=1, Resulting Numbers: [39, 76, 1]
Generated Node #0,0: 36:[39, 76, 1] Operation: 81/81=1
Exploring Operation: 81-76=5, Resulting Numbers: [39, 81, 5]
Generated Node #0,1: 36:[39, 81, 5] Operation: 81-76=5
Exploring Operation: 81-76=5, Resulting Numbers: [39, 81, 5]
Generated Node #0,2: 36:[39, 81, 5] Operation: 81-76=5
Exploring Operation: 81-81=0, Resulting Numbers: [39, 76, 0]
Generated Node #0,3: 36:[39, 76, 0] Operation: 81-81=0
Exploring Operation: 81-39=42, Resulting Numbers: [76, 81, 42]
Generated Node #0,4: 36:[76, 81, 42] Operation: 81-39=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[39, 76, 1], Operations: ['81/81=1']
Exploring Operation: 76-1=75, Resulting Numbers: [39, 75]
Generated Node #0,0,0: 36:[39, 75] Operation: 76-1=75
Exploring Operation: 76-39=37, Resulting Numbers: [1, 37]
Generated Node #0,0,1: 36:[1, 37] Operation: 76-39=37
Exploring Operation: 39*1=39, Resulting Numbers: [76, 39]
Generated Node #0,0,2: 36:[76, 39] Operation: 39*1=39
Exploring Operation: 39/1=39, Resulting Numbers: [76, 39]
Generated Node #0,0,3: 36:[76, 39] Operation: 39/1=39
Exploring Operation: 39-1=38, Resulting Numbers: [76, 38]
Generated Node #0,0,4: 36:[76, 38] Operation: 39-1=38
Moving to Node #0,0,1
Current State: 36:[1, 37], Operations: ['81/81=1', '76-39=37']
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[39, 81, 76, 81], Operations: []
Exploring Operation: 81/81=1, Resulting Numbers: [39, 76, 1]
Generated Node #0,0: 36:[39, 76, 1] Operation: 81/81=1
Moving to Node #0,0
Current State: 36:[39, 76, 1], Operations: ['81/81=1']
Exploring Operation: 76-39=37, Resulting Numbers: [1, 37]
Generated Node #0,0,1: 36:[1, 37] Operation: 76-39=37
Moving to Node #0,0,1
Current State: 36:[1, 37], Operations: ['81/81=1', '76-39=37']
Exploring Operation: 37-1=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
23,
52,
32,
96
] | 25 | [
"23+52=75",
"96/32=3",
"75/3=25"
] | Current State: 25:[23, 52, 32, 96], Operations: []
Exploring Operation: 23+52=75, Resulting Numbers: [32, 96, 75]
Generated Node #2: [32, 96, 75] from Operation: 23+52=75
Current State: 25:[32, 96, 75], Operations: ['23+52=75']
Exploring Operation: 96/32=3, Resulting Numbers: [75, 3]
Generated Node #3: [75, 3] from Operation: 96/32=3
Current State: 25:[75, 3], Operations: ['23+52=75', '96/32=3']
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[23, 52, 32, 96], Operations: []
Exploring Operation: 96-52=44, Resulting Numbers: [23, 32, 44]
Generated Node #0,0: 25:[23, 32, 44] Operation: 96-52=44
Exploring Operation: 96-32=64, Resulting Numbers: [23, 52, 64]
Generated Node #0,1: 25:[23, 52, 64] Operation: 96-32=64
Exploring Operation: 52-32=20, Resulting Numbers: [23, 96, 20]
Generated Node #0,2: 25:[23, 96, 20] Operation: 52-32=20
Exploring Operation: 96/32=3, Resulting Numbers: [23, 52, 3]
Generated Node #0,3: 25:[23, 52, 3] Operation: 96/32=3
Moving to Node #0,0
Current State: 25:[23, 32, 44], Operations: ['96-52=44']
Exploring Operation: 44-32=12, Resulting Numbers: [23, 12]
Generated Node #0,0,0: 25:[23, 12] Operation: 44-32=12
Exploring Operation: 32-23=9, Resulting Numbers: [44, 9]
Generated Node #0,0,1: 25:[44, 9] Operation: 32-23=9
Exploring Operation: 44-23=21, Resulting Numbers: [32, 21]
Generated Node #0,0,2: 25:[32, 21] Operation: 44-23=21
Exploring Operation: 23+32=55, Resulting Numbers: [44, 55]
Generated Node #0,0,3: 25:[44, 55] Operation: 23+32=55
Moving to Node #0,3
Current State: 25:[23, 52, 3], Operations: ['96/32=3']
Exploring Operation: 23-3=20, Resulting Numbers: [52, 20]
Generated Node #0,3,0: 25:[52, 20] Operation: 23-3=20
Exploring Operation: 52-23=29, Resulting Numbers: [3, 29]
Generated Node #0,3,1: 25:[3, 29] Operation: 52-23=29
Exploring Operation: 23+3=26, Resulting Numbers: [52, 26]
Generated Node #0,3,2: 25:[52, 26] Operation: 23+3=26
Exploring Operation: 52-3=49, Resulting Numbers: [23, 49]
Generated Node #0,3,3: 25:[23, 49] Operation: 52-3=49
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 25:[3, 29], Operations: ['96/32=3', '52-23=29']
Exploring Operation: 3+29=32, Resulting Numbers: [32]
32,25 unequal: No Solution
Exploring Operation: 3*29=87, Resulting Numbers: [87]
87,25 unequal: No Solution
Exploring Operation: 29-3=26, Resulting Numbers: [26]
26,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,3,3
Current State: 25:[23, 49], Operations: ['96/32=3', '52-3=49']
Exploring Operation: 23*49=1127, Resulting Numbers: [1127]
1127,25 unequal: No Solution
Exploring Operation: 49-23=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Exploring Operation: 23+49=72, Resulting Numbers: [72]
72,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,3,2
Current State: 25:[52, 26], Operations: ['96/32=3', '23+3=26']
Exploring Operation: 52+26=78, Resulting Numbers: [78]
78,25 unequal: No Solution
Exploring Operation: 52/26=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 52-26=26, Resulting Numbers: [26]
26,25 unequal: No Solution
Exploring Operation: 52*26=1352, Resulting Numbers: [1352]
1352,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,3,0
Current State: 25:[52, 20], Operations: ['96/32=3', '23-3=20']
Exploring Operation: 52+20=72, Resulting Numbers: [72]
72,25 unequal: No Solution
Exploring Operation: 52*20=1040, Resulting Numbers: [1040]
1040,25 unequal: No Solution
Exploring Operation: 52-20=32, Resulting Numbers: [32]
32,25 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: 25:[23, 52, 64], Operations: ['96-32=64']
Exploring Operation: 52-23=29, Resulting Numbers: [64, 29]
Generated Node #0,1,0: 25:[64, 29] Operation: 52-23=29
Exploring Operation: 64-52=12, Resulting Numbers: [23, 12]
Generated Node #0,1,1: 25:[23, 12] Operation: 64-52=12
Exploring Operation: 23+52=75, Resulting Numbers: [64, 75]
Generated Node #0,1,2: 25:[64, 75] Operation: 23+52=75
Exploring Operation: 64-23=41, Resulting Numbers: [52, 41]
Generated Node #0,1,3: 25:[52, 41] Operation: 64-23=41
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 25:[23, 12], Operations: ['96-32=64', '64-52=12']
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,25 unequal: No Solution
Exploring Operation: 23*12=276, Resulting Numbers: [276]
276,25 unequal: No Solution
Exploring Operation: 23+12=35, Resulting Numbers: [35]
35,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,0
Current State: 25:[64, 29], Operations: ['96-32=64', '52-23=29']
Exploring Operation: 64*29=1856, Resulting Numbers: [1856]
1856,25 unequal: No Solution
Exploring Operation: 64-29=35, Resulting Numbers: [35]
35,25 unequal: No Solution
Exploring Operation: 64+29=93, Resulting Numbers: [93]
93,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,3
Current State: 25:[52, 41], Operations: ['96-32=64', '64-23=41']
Exploring Operation: 52+41=93, Resulting Numbers: [93]
93,25 unequal: No Solution
Exploring Operation: 52-41=11, Resulting Numbers: [11]
11,25 unequal: No Solution
Exploring Operation: 52*41=2132, Resulting Numbers: [2132]
2132,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,2
Current State: 25:[64, 75], Operations: ['96-32=64', '23+52=75']
Exploring Operation: 64+75=139, Resulting Numbers: [139]
139,25 unequal: No Solution
Exploring Operation: 64*75=4800, Resulting Numbers: [4800]
4800,25 unequal: No Solution
Exploring Operation: 75-64=11, Resulting Numbers: [11]
11,25 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: 25:[23, 96, 20], Operations: ['52-32=20']
Exploring Operation: 96-23=73, Resulting Numbers: [20, 73]
Generated Node #0,2,0: 25:[20, 73] Operation: 96-23=73
Exploring Operation: 23-20=3, Resulting Numbers: [96, 3]
Generated Node #0,2,1: 25:[96, 3] Operation: 23-20=3
Exploring Operation: 23+20=43, Resulting Numbers: [96, 43]
Generated Node #0,2,2: 25:[96, 43] Operation: 23+20=43
Exploring Operation: 96-20=76, Resulting Numbers: [23, 76]
Generated Node #0,2,3: 25:[23, 76] Operation: 96-20=76
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 25:[20, 73], Operations: ['52-32=20', '96-23=73']
Exploring Operation: 20*73=1460, Resulting Numbers: [1460]
1460,25 unequal: No Solution
Exploring Operation: 73-20=53, Resulting Numbers: [53]
53,25 unequal: No Solution
Exploring Operation: 20+73=93, Resulting Numbers: [93]
93,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,2,3
Current State: 25:[23, 76], Operations: ['52-32=20', '96-20=76']
Exploring Operation: 23*76=1748, Resulting Numbers: [1748]
1748,25 unequal: No Solution
Exploring Operation: 23+76=99, Resulting Numbers: [99]
99,25 unequal: No Solution
Exploring Operation: 76-23=53, Resulting Numbers: [53]
53,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,2,1
Current State: 25:[96, 3], Operations: ['52-32=20', '23-20=3']
Exploring Operation: 96*3=288, Resulting Numbers: [288]
288,25 unequal: No Solution
Exploring Operation: 96-3=93, Resulting Numbers: [93]
93,25 unequal: No Solution
Exploring Operation: 96+3=99, Resulting Numbers: [99]
99,25 unequal: No Solution
Exploring Operation: 96/3=32, Resulting Numbers: [32]
32,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,2,2
Current State: 25:[96, 43], Operations: ['52-32=20', '23+20=43']
Exploring Operation: 96-43=53, Resulting Numbers: [53]
53,25 unequal: No Solution
Exploring Operation: 96*43=4128, Resulting Numbers: [4128]
4128,25 unequal: No Solution
Exploring Operation: 96+43=139, Resulting Numbers: [139]
139,25 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: 25:[23, 12], Operations: ['96-52=44', '44-32=12']
Exploring Operation: 23*12=276, Resulting Numbers: [276]
276,25 unequal: No Solution
Exploring Operation: 23-12=11, Resulting Numbers: [11]
11,25 unequal: No Solution
Exploring Operation: 23+12=35, Resulting Numbers: [35]
35,25 unequal: No Solution
Moving to Node #0,0,2
Current State: 25:[32, 21], Operations: ['96-52=44', '44-23=21']
Exploring Operation: 32+21=53, Resulting Numbers: [53]
53,25 unequal: No Solution
Exploring Operation: 32-21=11, Resulting Numbers: [11]
11,25 unequal: No Solution
Exploring Operation: 32*21=672, Resulting Numbers: [672]
672,25 unequal: No Solution
Moving to Node #0,0,1
Current State: 25:[44, 9], Operations: ['96-52=44', '32-23=9']
Exploring Operation: 44*9=396, Resulting Numbers: [396]
396,25 unequal: No Solution
Exploring Operation: 44+9=53, Resulting Numbers: [53]
53,25 unequal: No Solution
Exploring Operation: 44-9=35, Resulting Numbers: [35]
35,25 unequal: No Solution
Moving to Node #0,0,3
Current State: 25:[44, 55], Operations: ['96-52=44', '23+32=55']
Exploring Operation: 44*55=2420, Resulting Numbers: [2420]
2420,25 unequal: No Solution
Exploring Operation: 44+55=99, Resulting Numbers: [99]
99,25 unequal: No Solution
Exploring Operation: 55-44=11, Resulting Numbers: [11]
11,25 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
7,
49,
4,
17
] | 98 | [
"4+17=21",
"7*21=147",
"147-49=98"
] | Current State: 98:[7, 49, 4, 17], Operations: []
Exploring Operation: 4+17=21, Resulting Numbers: [7, 49, 21]
Generated Node #2: [7, 49, 21] from Operation: 4+17=21
Current State: 98:[7, 49, 21], Operations: ['4+17=21']
Exploring Operation: 7*21=147, Resulting Numbers: [49, 147]
Generated Node #3: [49, 147] from Operation: 7*21=147
Current State: 98:[49, 147], Operations: ['4+17=21', '7*21=147']
Exploring Operation: 147-49=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[7, 49, 4, 17], Operations: []
Exploring Operation: 7+4=11, Resulting Numbers: [49, 17, 11]
Generated Node #0,0: 98:[49, 17, 11] Operation: 7+4=11
Exploring Operation: 17-4=13, Resulting Numbers: [7, 49, 13]
Generated Node #0,1: 98:[7, 49, 13] Operation: 17-4=13
Exploring Operation: 7-4=3, Resulting Numbers: [49, 17, 3]
Generated Node #0,2: 98:[49, 17, 3] Operation: 7-4=3
Exploring Operation: 49/7=7, Resulting Numbers: [4, 17, 7]
Generated Node #0,3: 98:[4, 17, 7] Operation: 49/7=7
Exploring Operation: 17-7=10, Resulting Numbers: [49, 4, 10]
Generated Node #0,4: 98:[49, 4, 10] Operation: 17-7=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[7, 49, 13], Operations: ['17-4=13']
Exploring Operation: 7+49=56, Resulting Numbers: [13, 56]
Generated Node #0,1,0: 98:[13, 56] Operation: 7+49=56
Exploring Operation: 7*13=91, Resulting Numbers: [49, 91]
Generated Node #0,1,1: 98:[49, 91] Operation: 7*13=91
Exploring Operation: 13-7=6, Resulting Numbers: [49, 6]
Generated Node #0,1,2: 98:[49, 6] Operation: 13-7=6
Exploring Operation: 7+13=20, Resulting Numbers: [49, 20]
Generated Node #0,1,3: 98:[49, 20] Operation: 7+13=20
Exploring Operation: 49/7=7, Resulting Numbers: [13, 7]
Generated Node #0,1,4: 98:[13, 7] Operation: 49/7=7
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 98:[49, 6], Operations: ['17-4=13', '13-7=6']
Exploring Operation: 49+6=55, Resulting Numbers: [55]
55,98 unequal: No Solution
Exploring Operation: 49-6=43, Resulting Numbers: [43]
43,98 unequal: No Solution
Exploring Operation: 49*6=294, Resulting Numbers: [294]
294,98 unequal: No Solution
No 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: 98:[13, 7], Operations: ['17-4=13', '49/7=7']
Exploring Operation: 13*7=91, Resulting Numbers: [91]
91,98 unequal: No Solution
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,98 unequal: No Solution
Exploring Operation: 13+7=20, Resulting Numbers: [20]
20,98 unequal: No Solution
No 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: 98:[49, 20], Operations: ['17-4=13', '7+13=20']
Exploring Operation: 49+20=69, Resulting Numbers: [69]
69,98 unequal: No Solution
Exploring Operation: 49*20=980, Resulting Numbers: [980]
980,98 unequal: No Solution
Exploring Operation: 49-20=29, Resulting Numbers: [29]
29,98 unequal: No Solution
No 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: 98:[49, 91], Operations: ['17-4=13', '7*13=91']
Exploring Operation: 91-49=42, Resulting Numbers: [42]
42,98 unequal: No Solution
Exploring Operation: 49+91=140, Resulting Numbers: [140]
140,98 unequal: No Solution
Exploring Operation: 49*91=4459, Resulting Numbers: [4459]
4459,98 unequal: No Solution
No 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: 98:[13, 56], Operations: ['17-4=13', '7+49=56']
Exploring Operation: 56-13=43, Resulting Numbers: [43]
43,98 unequal: No Solution
Exploring Operation: 13*56=728, Resulting Numbers: [728]
728,98 unequal: No Solution
Exploring Operation: 13+56=69, Resulting Numbers: [69]
69,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 98:[49, 17, 3], Operations: ['7-4=3']
Exploring Operation: 17*3=51, Resulting Numbers: [49, 51]
Generated Node #0,2,0: 98:[49, 51] Operation: 17*3=51
Exploring Operation: 49-3=46, Resulting Numbers: [17, 46]
Generated Node #0,2,1: 98:[17, 46] Operation: 49-3=46
Exploring Operation: 49+3=52, Resulting Numbers: [17, 52]
Generated Node #0,2,2: 98:[17, 52] Operation: 49+3=52
Exploring Operation: 17-3=14, Resulting Numbers: [49, 14]
Generated Node #0,2,3: 98:[49, 14] Operation: 17-3=14
Exploring Operation: 17+3=20, Resulting Numbers: [49, 20]
Generated Node #0,2,4: 98:[49, 20] Operation: 17+3=20
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 98:[49, 14], Operations: ['7-4=3', '17-3=14']
Exploring Operation: 49*14=686, Resulting Numbers: [686]
686,98 unequal: No Solution
Exploring Operation: 49-14=35, Resulting Numbers: [35]
35,98 unequal: No Solution
Exploring Operation: 49+14=63, Resulting Numbers: [63]
63,98 unequal: No Solution
No 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: 98:[49, 51], Operations: ['7-4=3', '17*3=51']
Exploring Operation: 51-49=2, Resulting Numbers: [2]
2,98 unequal: No Solution
Exploring Operation: 49+51=100, Resulting Numbers: [100]
100,98 unequal: No Solution
Exploring Operation: 49*51=2499, Resulting Numbers: [2499]
2499,98 unequal: No Solution
No 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: 98:[17, 46], Operations: ['7-4=3', '49-3=46']
Exploring Operation: 17*46=782, Resulting Numbers: [782]
782,98 unequal: No Solution
Exploring Operation: 17+46=63, Resulting Numbers: [63]
63,98 unequal: No Solution
Exploring Operation: 46-17=29, Resulting Numbers: [29]
29,98 unequal: No Solution
No 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: 98:[17, 52], Operations: ['7-4=3', '49+3=52']
Exploring Operation: 17*52=884, Resulting Numbers: [884]
884,98 unequal: No Solution
Exploring Operation: 17+52=69, Resulting Numbers: [69]
69,98 unequal: No Solution
Exploring Operation: 52-17=35, Resulting Numbers: [35]
35,98 unequal: No Solution
No 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: 98:[49, 20], Operations: ['7-4=3', '17+3=20']
Exploring Operation: 49-20=29, Resulting Numbers: [29]
29,98 unequal: No Solution
Exploring Operation: 49*20=980, Resulting Numbers: [980]
980,98 unequal: No Solution
Exploring Operation: 49+20=69, Resulting Numbers: [69]
69,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 98:[4, 17, 7], Operations: ['49/7=7']
Exploring Operation: 7-4=3, Resulting Numbers: [17, 3]
Generated Node #0,3,0: 98:[17, 3] Operation: 7-4=3
Exploring Operation: 4+17=21, Resulting Numbers: [7, 21]
Generated Node #0,3,1: 98:[7, 21] Operation: 4+17=21
Exploring Operation: 17-4=13, Resulting Numbers: [7, 13]
Generated Node #0,3,2: 98:[7, 13] Operation: 17-4=13
Exploring Operation: 4+7=11, Resulting Numbers: [17, 11]
Generated Node #0,3,3: 98:[17, 11] Operation: 4+7=11
Exploring Operation: 17-7=10, Resulting Numbers: [4, 10]
Generated Node #0,3,4: 98:[4, 10] Operation: 17-7=10
Moving to Node #0,3,2
Current State: 98:[7, 13], Operations: ['49/7=7', '17-4=13']
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,98 unequal: No Solution
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,98 unequal: No Solution
Exploring Operation: 7+13=20, Resulting Numbers: [20]
20,98 unequal: No Solution
Moving to Node #0,3,0
Current State: 98:[17, 3], Operations: ['49/7=7', '7-4=3']
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,98 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,98 unequal: No Solution
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,98 unequal: No Solution
Moving to Node #0,3,4
Current State: 98:[4, 10], Operations: ['49/7=7', '17-7=10']
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,98 unequal: No Solution
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,98 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,98 unequal: No Solution
Moving to Node #0,3,3
Current State: 98:[17, 11], Operations: ['49/7=7', '4+7=11']
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,98 unequal: No Solution
Exploring Operation: 17+11=28, Resulting Numbers: [28]
28,98 unequal: No Solution
Exploring Operation: 17*11=187, Resulting Numbers: [187]
187,98 unequal: No Solution
Moving to Node #0,3,1
Current State: 98:[7, 21], Operations: ['49/7=7', '4+17=21']
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,98 unequal: No Solution
Exploring Operation: 7+21=28, Resulting Numbers: [28]
28,98 unequal: No Solution
Exploring Operation: 7*21=147, Resulting Numbers: [147]
147,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,4
Current State: 98:[49, 4, 10], Operations: ['17-7=10']
Exploring Operation: 4+10=14, Resulting Numbers: [49, 14]
Generated Node #0,4,0: 98:[49, 14] Operation: 4+10=14
Exploring Operation: 49+4=53, Resulting Numbers: [10, 53]
Generated Node #0,4,1: 98:[10, 53] Operation: 49+4=53
Exploring Operation: 10-4=6, Resulting Numbers: [49, 6]
Generated Node #0,4,2: 98:[49, 6] Operation: 10-4=6
Exploring Operation: 4*10=40, Resulting Numbers: [49, 40]
Generated Node #0,4,3: 98:[49, 40] Operation: 4*10=40
Exploring Operation: 49-4=45, Resulting Numbers: [10, 45]
Generated Node #0,4,4: 98:[10, 45] Operation: 49-4=45
Moving to Node #0,4,0
Current State: 98:[49, 14], Operations: ['17-7=10', '4+10=14']
Exploring Operation: 49*14=686, Resulting Numbers: [686]
686,98 unequal: No Solution
Exploring Operation: 49+14=63, Resulting Numbers: [63]
63,98 unequal: No Solution
Exploring Operation: 49-14=35, Resulting Numbers: [35]
35,98 unequal: No Solution
Moving to Node #0,4,2
Current State: 98:[49, 6], Operations: ['17-7=10', '10-4=6']
Exploring Operation: 49*6=294, Resulting Numbers: [294]
294,98 unequal: No Solution
Exploring Operation: 49-6=43, Resulting Numbers: [43]
43,98 unequal: No Solution
Exploring Operation: 49+6=55, Resulting Numbers: [55]
55,98 unequal: No Solution
Moving to Node #0,4,1
Current State: 98:[10, 53], Operations: ['17-7=10', '49+4=53']
Exploring Operation: 53-10=43, Resulting Numbers: [43]
43,98 unequal: No Solution
Exploring Operation: 10+53=63, Resulting Numbers: [63]
63,98 unequal: No Solution
Exploring Operation: 10*53=530, Resulting Numbers: [530]
530,98 unequal: No Solution
Moving to Node #0,4,4
Current State: 98:[10, 45], Operations: ['17-7=10', '49-4=45']
Exploring Operation: 10*45=450, Resulting Numbers: [450]
450,98 unequal: No Solution
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,98 unequal: No Solution
Exploring Operation: 10+45=55, Resulting Numbers: [55]
55,98 unequal: No Solution
Moving to Node #0,4,3
Current State: 98:[49, 40], Operations: ['17-7=10', '4*10=40']
Exploring Operation: 49+40=89, Resulting Numbers: [89]
89,98 unequal: No Solution
Exploring Operation: 49*40=1960, Resulting Numbers: [1960]
1960,98 unequal: No Solution
Exploring Operation: 49-40=9, Resulting Numbers: [9]
9,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,0
Current State: 98:[49, 17, 11], Operations: ['7+4=11']
Exploring Operation: 49+11=60, Resulting Numbers: [17, 60]
Generated Node #0,0,0: 98:[17, 60] Operation: 49+11=60
Exploring Operation: 49-11=38, Resulting Numbers: [17, 38]
Generated Node #0,0,1: 98:[17, 38] Operation: 49-11=38
Exploring Operation: 17-11=6, Resulting Numbers: [49, 6]
Generated Node #0,0,2: 98:[49, 6] Operation: 17-11=6
Exploring Operation: 49+17=66, Resulting Numbers: [11, 66]
Generated Node #0,0,3: 98:[11, 66] Operation: 49+17=66
Exploring Operation: 17+11=28, Resulting Numbers: [49, 28]
Generated Node #0,0,4: 98:[49, 28] Operation: 17+11=28
Moving to Node #0,0,2
Current State: 98:[49, 6], Operations: ['7+4=11', '17-11=6']
Exploring Operation: 49+6=55, Resulting Numbers: [55]
55,98 unequal: No Solution
Exploring Operation: 49-6=43, Resulting Numbers: [43]
43,98 unequal: No Solution
Exploring Operation: 49*6=294, Resulting Numbers: [294]
294,98 unequal: No Solution
Moving to Node #0,0,1
Current State: 98:[17, 38], Operations: ['7+4=11', '49-11=38']
Exploring Operation: 17+38=55, Resulting Numbers: [55]
55,98 unequal: No Solution
Exploring Operation: 17*38=646, Resulting Numbers: [646]
646,98 unequal: No Solution
Exploring Operation: 38-17=21, Resulting Numbers: [21]
21,98 unequal: No Solution
Moving to Node #0,0,0
Current State: 98:[17, 60], Operations: ['7+4=11', '49+11=60']
Exploring Operation: 17+60=77, Resulting Numbers: [77]
77,98 unequal: No Solution
Exploring Operation: 17*60=1020, Resulting Numbers: [1020]
1020,98 unequal: No Solution
Exploring Operation: 60-17=43, Resulting Numbers: [43]
43,98 unequal: No Solution
Moving to Node #0,0,4
Current State: 98:[49, 28], Operations: ['7+4=11', '17+11=28']
Exploring Operation: 49*28=1372, Resulting Numbers: [1372]
1372,98 unequal: No Solution
Exploring Operation: 49+28=77, Resulting Numbers: [77]
77,98 unequal: No Solution
Exploring Operation: 49-28=21, Resulting Numbers: [21]
21,98 unequal: No Solution
Moving to Node #0,0,3
Current State: 98:[11, 66], Operations: ['7+4=11', '49+17=66']
Exploring Operation: 11*66=726, Resulting Numbers: [726]
726,98 unequal: No Solution
Exploring Operation: 66/11=6, Resulting Numbers: [6]
6,98 unequal: No Solution
Exploring Operation: 66-11=55, Resulting Numbers: [55]
55,98 unequal: No Solution
Exploring Operation: 11+66=77, Resulting Numbers: [77]
77,98 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 |
[
44,
10,
1,
87
] | 32 | [
"44+10=54",
"87-1=86",
"86-54=32"
] | Current State: 32:[44, 10, 1, 87], Operations: []
Exploring Operation: 44+10=54, Resulting Numbers: [1, 87, 54]
Generated Node #2: [1, 87, 54] from Operation: 44+10=54
Current State: 32:[1, 87, 54], Operations: ['44+10=54']
Exploring Operation: 87-1=86, Resulting Numbers: [54, 86]
Generated Node #3: [54, 86] from Operation: 87-1=86
Current State: 32:[54, 86], Operations: ['44+10=54', '87-1=86']
Exploring Operation: 86-54=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[44, 10, 1, 87], Operations: []
Exploring Operation: 44-1=43, Resulting Numbers: [10, 87, 43]
Generated Node #0,0: 32:[10, 87, 43] Operation: 44-1=43
Exploring Operation: 87-10=77, Resulting Numbers: [44, 1, 77]
Generated Node #0,1: 32:[44, 1, 77] Operation: 87-10=77
Exploring Operation: 87-44=43, Resulting Numbers: [10, 1, 43]
Generated Node #0,2: 32:[10, 1, 43] Operation: 87-44=43
Exploring Operation: 10-1=9, Resulting Numbers: [44, 87, 9]
Generated Node #0,3: 32:[44, 87, 9] Operation: 10-1=9
Exploring Operation: 44-10=34, Resulting Numbers: [1, 87, 34]
Generated Node #0,4: 32:[1, 87, 34] Operation: 44-10=34
Moving to Node #0,2
Current State: 32:[10, 1, 43], Operations: ['87-44=43']
Exploring Operation: 10/1=10, Resulting Numbers: [43, 10]
Generated Node #0,2,0: 32:[43, 10] Operation: 10/1=10
Exploring Operation: 10-1=9, Resulting Numbers: [43, 9]
Generated Node #0,2,1: 32:[43, 9] Operation: 10-1=9
Exploring Operation: 43-10=33, Resulting Numbers: [1, 33]
Generated Node #0,2,2: 32:[1, 33] Operation: 43-10=33
Exploring Operation: 10*1=10, Resulting Numbers: [43, 10]
Generated Node #0,2,3: 32:[43, 10] Operation: 10*1=10
Exploring Operation: 43-1=42, Resulting Numbers: [10, 42]
Generated Node #0,2,4: 32:[10, 42] Operation: 43-1=42
Moving to Node #0,4
Current State: 32:[1, 87, 34], Operations: ['44-10=34']
Exploring Operation: 87/1=87, Resulting Numbers: [34, 87]
Generated Node #0,4,0: 32:[34, 87] Operation: 87/1=87
Exploring Operation: 1*87=87, Resulting Numbers: [34, 87]
Generated Node #0,4,1: 32:[34, 87] Operation: 1*87=87
Exploring Operation: 34-1=33, Resulting Numbers: [87, 33]
Generated Node #0,4,2: 32:[87, 33] Operation: 34-1=33
Exploring Operation: 87-34=53, Resulting Numbers: [1, 53]
Generated Node #0,4,3: 32:[1, 53] Operation: 87-34=53
Exploring Operation: 87-1=86, Resulting Numbers: [34, 86]
Generated Node #0,4,4: 32:[34, 86] Operation: 87-1=86
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 32:[1, 53], Operations: ['44-10=34', '87-34=53']
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,32 unequal: No Solution
Exploring Operation: 1*53=53, Resulting Numbers: [53]
53,32 unequal: No Solution
Exploring Operation: 1+53=54, Resulting Numbers: [54]
54,32 unequal: No Solution
Exploring Operation: 53/1=53, Resulting Numbers: [53]
53,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 32:[87, 33], Operations: ['44-10=34', '34-1=33']
Exploring Operation: 87-33=54, Resulting Numbers: [54]
54,32 unequal: No Solution
Exploring Operation: 87+33=120, Resulting Numbers: [120]
120,32 unequal: No Solution
Exploring Operation: 87*33=2871, Resulting Numbers: [2871]
2871,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 32:[34, 86], Operations: ['44-10=34', '87-1=86']
Exploring Operation: 86-34=52, Resulting Numbers: [52]
52,32 unequal: No Solution
Exploring Operation: 34+86=120, Resulting Numbers: [120]
120,32 unequal: No Solution
Exploring Operation: 34*86=2924, Resulting Numbers: [2924]
2924,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 32:[34, 87], Operations: ['44-10=34', '87/1=87']
Exploring Operation: 34*87=2958, Resulting Numbers: [2958]
2958,32 unequal: No Solution
Exploring Operation: 34+87=121, Resulting Numbers: [121]
121,32 unequal: No Solution
Exploring Operation: 87-34=53, Resulting Numbers: [53]
53,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 32:[34, 87], Operations: ['44-10=34', '1*87=87']
Exploring Operation: 34+87=121, Resulting Numbers: [121]
121,32 unequal: No Solution
Exploring Operation: 34*87=2958, Resulting Numbers: [2958]
2958,32 unequal: No Solution
Exploring Operation: 87-34=53, Resulting Numbers: [53]
53,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 32:[44, 1, 77], Operations: ['87-10=77']
Exploring Operation: 44*1=44, Resulting Numbers: [77, 44]
Generated Node #0,1,0: 32:[77, 44] Operation: 44*1=44
Exploring Operation: 77-44=33, Resulting Numbers: [1, 33]
Generated Node #0,1,1: 32:[1, 33] Operation: 77-44=33
Exploring Operation: 44-1=43, Resulting Numbers: [77, 43]
Generated Node #0,1,2: 32:[77, 43] Operation: 44-1=43
Exploring Operation: 44/1=44, Resulting Numbers: [77, 44]
Generated Node #0,1,3: 32:[77, 44] Operation: 44/1=44
Exploring Operation: 77-1=76, Resulting Numbers: [44, 76]
Generated Node #0,1,4: 32:[44, 76] Operation: 77-1=76
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 32:[1, 33], Operations: ['87-10=77', '77-44=33']
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[44, 10, 1, 87], Operations: []
Exploring Operation: 87-10=77, Resulting Numbers: [44, 1, 77]
Generated Node #0,1: 32:[44, 1, 77] Operation: 87-10=77
Moving to Node #0,1
Current State: 32:[44, 1, 77], Operations: ['87-10=77']
Exploring Operation: 77-44=33, Resulting Numbers: [1, 33]
Generated Node #0,1,1: 32:[1, 33] Operation: 77-44=33
Moving to Node #0,1,1
Current State: 32:[1, 33], Operations: ['87-10=77', '77-44=33']
Exploring Operation: 33-1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.96441 | hs_5 | mult_heuristic |
[
18,
13,
5,
35
] | 20 | [
"18+13=31",
"35-31=4",
"5*4=20"
] | Current State: 20:[18, 13, 5, 35], Operations: []
Exploring Operation: 18+13=31, Resulting Numbers: [5, 35, 31]
Generated Node #2: [5, 35, 31] from Operation: 18+13=31
Current State: 20:[5, 35, 31], Operations: ['18+13=31']
Exploring Operation: 35-31=4, Resulting Numbers: [5, 4]
Generated Node #3: [5, 4] from Operation: 35-31=4
Current State: 20:[5, 4], Operations: ['18+13=31', '35-31=4']
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[18, 13, 5, 35], Operations: []
Exploring Operation: 35/5=7, Resulting Numbers: [18, 13, 7]
Generated Node #0,0: 20:[18, 13, 7] Operation: 35/5=7
Exploring Operation: 35-5=30, Resulting Numbers: [18, 13, 30]
Generated Node #0,1: 20:[18, 13, 30] Operation: 35-5=30
Exploring Operation: 35-18=17, Resulting Numbers: [13, 5, 17]
Generated Node #0,2: 20:[13, 5, 17] Operation: 35-18=17
Exploring Operation: 35-13=22, Resulting Numbers: [18, 5, 22]
Generated Node #0,3: 20:[18, 5, 22] Operation: 35-13=22
Exploring Operation: 18-13=5, Resulting Numbers: [5, 35, 5]
Generated Node #0,4: 20:[5, 35, 5] Operation: 18-13=5
Moving to Node #0,3
Current State: 20:[18, 5, 22], Operations: ['35-13=22']
Exploring Operation: 18-5=13, Resulting Numbers: [22, 13]
Generated Node #0,3,0: 20:[22, 13] Operation: 18-5=13
Exploring Operation: 5+22=27, Resulting Numbers: [18, 27]
Generated Node #0,3,1: 20:[18, 27] Operation: 5+22=27
Exploring Operation: 18+5=23, Resulting Numbers: [22, 23]
Generated Node #0,3,2: 20:[22, 23] Operation: 18+5=23
Exploring Operation: 22-5=17, Resulting Numbers: [18, 17]
Generated Node #0,3,3: 20:[18, 17] Operation: 22-5=17
Exploring Operation: 22-18=4, Resulting Numbers: [5, 4]
Generated Node #0,3,4: 20:[5, 4] Operation: 22-18=4
Moving to Node #0,2
Current State: 20:[13, 5, 17], Operations: ['35-18=17']
Exploring Operation: 5+17=22, Resulting Numbers: [13, 22]
Generated Node #0,2,0: 20:[13, 22] Operation: 5+17=22
Exploring Operation: 17-5=12, Resulting Numbers: [13, 12]
Generated Node #0,2,1: 20:[13, 12] Operation: 17-5=12
Exploring Operation: 17-13=4, Resulting Numbers: [5, 4]
Generated Node #0,2,2: 20:[5, 4] Operation: 17-13=4
Exploring Operation: 13-5=8, Resulting Numbers: [17, 8]
Generated Node #0,2,3: 20:[17, 8] Operation: 13-5=8
Exploring Operation: 13+5=18, Resulting Numbers: [17, 18]
Generated Node #0,2,4: 20:[17, 18] Operation: 13+5=18
Moving to Node #0,0
Current State: 20:[18, 13, 7], Operations: ['35/5=7']
Exploring Operation: 13-7=6, Resulting Numbers: [18, 6]
Generated Node #0,0,0: 20:[18, 6] Operation: 13-7=6
Exploring Operation: 18+7=25, Resulting Numbers: [13, 25]
Generated Node #0,0,1: 20:[13, 25] Operation: 18+7=25
Exploring Operation: 13+7=20, Resulting Numbers: [18, 20]
Generated Node #0,0,2: 20:[18, 20] Operation: 13+7=20
Exploring Operation: 18-7=11, Resulting Numbers: [13, 11]
Generated Node #0,0,3: 20:[13, 11] Operation: 18-7=11
Exploring Operation: 18-13=5, Resulting Numbers: [7, 5]
Generated Node #0,0,4: 20:[7, 5] Operation: 18-13=5
Moving to Node #0,1
Current State: 20:[18, 13, 30], Operations: ['35-5=30']
Exploring Operation: 30-13=17, Resulting Numbers: [18, 17]
Generated Node #0,1,0: 20:[18, 17] Operation: 30-13=17
Exploring Operation: 30-18=12, Resulting Numbers: [13, 12]
Generated Node #0,1,1: 20:[13, 12] Operation: 30-18=12
Exploring Operation: 18-13=5, Resulting Numbers: [30, 5]
Generated Node #0,1,2: 20:[30, 5] Operation: 18-13=5
Exploring Operation: 18+13=31, Resulting Numbers: [30, 31]
Generated Node #0,1,3: 20:[30, 31] Operation: 18+13=31
Exploring Operation: 13+30=43, Resulting Numbers: [18, 43]
Generated Node #0,1,4: 20:[18, 43] Operation: 13+30=43
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 20:[18, 17], Operations: ['35-5=30', '30-13=17']
Exploring Operation: 18*17=306, Resulting Numbers: [306]
306,20 unequal: No Solution
Exploring Operation: 18+17=35, Resulting Numbers: [35]
35,20 unequal: No Solution
Exploring Operation: 18-17=1, Resulting Numbers: [1]
1,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,1,1
Current State: 20:[13, 12], Operations: ['35-5=30', '30-18=12']
Exploring Operation: 13+12=25, Resulting Numbers: [25]
25,20 unequal: No Solution
Exploring Operation: 13-12=1, Resulting Numbers: [1]
1,20 unequal: No Solution
Exploring Operation: 13*12=156, Resulting Numbers: [156]
156,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,1,2
Current State: 20:[30, 5], Operations: ['35-5=30', '18-13=5']
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,20 unequal: No Solution
Exploring Operation: 30+5=35, Resulting Numbers: [35]
35,20 unequal: No Solution
Exploring Operation: 30*5=150, Resulting Numbers: [150]
150,20 unequal: No Solution
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,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,1,3
Current State: 20:[30, 31], Operations: ['35-5=30', '18+13=31']
Exploring Operation: 30*31=930, Resulting Numbers: [930]
930,20 unequal: No Solution
Exploring Operation: 30+31=61, Resulting Numbers: [61]
61,20 unequal: No Solution
Exploring Operation: 31-30=1, Resulting Numbers: [1]
1,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,1,4
Current State: 20:[18, 43], Operations: ['35-5=30', '13+30=43']
Exploring Operation: 18*43=774, Resulting Numbers: [774]
774,20 unequal: No Solution
Exploring Operation: 18+43=61, Resulting Numbers: [61]
61,20 unequal: No Solution
Exploring Operation: 43-18=25, Resulting Numbers: [25]
25,20 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: 20:[5, 35, 5], Operations: ['18-13=5']
Exploring Operation: 35/5=7, Resulting Numbers: [5, 7]
Generated Node #0,4,0: 20:[5, 7] Operation: 35/5=7
Exploring Operation: 35/5=7, Resulting Numbers: [5, 7]
Generated Node #0,4,1: 20:[5, 7] Operation: 35/5=7
Exploring Operation: 5+5=10, Resulting Numbers: [35, 10]
Generated Node #0,4,2: 20:[35, 10] Operation: 5+5=10
Exploring Operation: 35-5=30, Resulting Numbers: [5, 30]
Generated Node #0,4,3: 20:[5, 30] Operation: 35-5=30
Exploring Operation: 35-5=30, Resulting Numbers: [5, 30]
Generated Node #0,4,4: 20:[5, 30] Operation: 35-5=30
Moving to Node #0,3,4
Current State: 20:[5, 4], Operations: ['35-13=22', '22-18=4']
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[18, 13, 5, 35], Operations: []
Exploring Operation: 35-13=22, Resulting Numbers: [18, 5, 22]
Generated Node #0,3: 20:[18, 5, 22] Operation: 35-13=22
Moving to Node #0,3
Current State: 20:[18, 5, 22], Operations: ['35-13=22']
Exploring Operation: 22-18=4, Resulting Numbers: [5, 4]
Generated Node #0,3,4: 20:[5, 4] Operation: 22-18=4
Moving to Node #0,3,4
Current State: 20:[5, 4], Operations: ['35-13=22', '22-18=4']
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 0.955729 | hs_5 | mult_heuristic |
[
32,
44,
4,
7
] | 11 | [
"32-4=28",
"44*7=308",
"308/28=11"
] | Current State: 11:[32, 44, 4, 7], Operations: []
Exploring Operation: 32-4=28, Resulting Numbers: [44, 7, 28]
Generated Node #2: [44, 7, 28] from Operation: 32-4=28
Current State: 11:[44, 7, 28], Operations: ['32-4=28']
Exploring Operation: 44*7=308, Resulting Numbers: [28, 308]
Generated Node #3: [28, 308] from Operation: 44*7=308
Current State: 11:[28, 308], Operations: ['32-4=28', '44*7=308']
Exploring Operation: 308/28=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[32, 44, 4, 7], Operations: []
Exploring Operation: 44/4=11, Resulting Numbers: [32, 7, 11]
Generated Node #0,0: 11:[32, 7, 11] Operation: 44/4=11
Exploring Operation: 32/4=8, Resulting Numbers: [44, 7, 8]
Generated Node #0,1: 11:[44, 7, 8] Operation: 32/4=8
Exploring Operation: 32-4=28, Resulting Numbers: [44, 7, 28]
Generated Node #0,2: 11:[44, 7, 28] Operation: 32-4=28
Exploring Operation: 44-32=12, Resulting Numbers: [4, 7, 12]
Generated Node #0,3: 11:[4, 7, 12] Operation: 44-32=12
Moving to Node #0,3
Current State: 11:[4, 7, 12], Operations: ['44-32=12']
Exploring Operation: 12-4=8, Resulting Numbers: [7, 8]
Generated Node #0,3,0: 11:[7, 8] Operation: 12-4=8
Exploring Operation: 7-4=3, Resulting Numbers: [12, 3]
Generated Node #0,3,1: 11:[12, 3] Operation: 7-4=3
Exploring Operation: 4+7=11, Resulting Numbers: [12, 11]
Generated Node #0,3,2: 11:[12, 11] Operation: 4+7=11
Exploring Operation: 4+12=16, Resulting Numbers: [7, 16]
Generated Node #0,3,3: 11:[7, 16] Operation: 4+12=16
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 11:[12, 11], Operations: ['44-32=12', '4+7=11']
Exploring Operation: 12*11=132, Resulting Numbers: [132]
132,11 unequal: No Solution
Exploring Operation: 12+11=23, Resulting Numbers: [23]
23,11 unequal: No Solution
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 11:[7, 8], Operations: ['44-32=12', '12-4=8']
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,11 unequal: No Solution
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,11 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 11:[12, 3], Operations: ['44-32=12', '7-4=3']
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,11 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,11 unequal: No Solution
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,11 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 11:[7, 16], Operations: ['44-32=12', '4+12=16']
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,11 unequal: No Solution
Exploring Operation: 7+16=23, Resulting Numbers: [23]
23,11 unequal: No Solution
Exploring Operation: 7*16=112, Resulting Numbers: [112]
112,11 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: 11:[32, 7, 11], Operations: ['44/4=11']
Exploring Operation: 32-7=25, Resulting Numbers: [11, 25]
Generated Node #0,0,0: 11:[11, 25] Operation: 32-7=25
Exploring Operation: 7+11=18, Resulting Numbers: [32, 18]
Generated Node #0,0,1: 11:[32, 18] Operation: 7+11=18
Exploring Operation: 32-11=21, Resulting Numbers: [7, 21]
Generated Node #0,0,2: 11:[7, 21] Operation: 32-11=21
Exploring Operation: 32+7=39, Resulting Numbers: [11, 39]
Generated Node #0,0,3: 11:[11, 39] Operation: 32+7=39
Moving to Node #0,1
Current State: 11:[44, 7, 8], Operations: ['32/4=8']
Exploring Operation: 7+8=15, Resulting Numbers: [44, 15]
Generated Node #0,1,0: 11:[44, 15] Operation: 7+8=15
Exploring Operation: 44+7=51, Resulting Numbers: [8, 51]
Generated Node #0,1,1: 11:[8, 51] Operation: 44+7=51
Exploring Operation: 44-8=36, Resulting Numbers: [7, 36]
Generated Node #0,1,2: 11:[7, 36] Operation: 44-8=36
Exploring Operation: 44-7=37, Resulting Numbers: [8, 37]
Generated Node #0,1,3: 11:[8, 37] Operation: 44-7=37
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 11:[7, 36], Operations: ['32/4=8', '44-8=36']
Exploring Operation: 7+36=43, Resulting Numbers: [43]
43,11 unequal: No Solution
Exploring Operation: 7*36=252, Resulting Numbers: [252]
252,11 unequal: No Solution
Exploring Operation: 36-7=29, Resulting Numbers: [29]
29,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 11:[8, 37], Operations: ['32/4=8', '44-7=37']
Exploring Operation: 8*37=296, Resulting Numbers: [296]
296,11 unequal: No Solution
Exploring Operation: 37-8=29, Resulting Numbers: [29]
29,11 unequal: No Solution
Exploring Operation: 8+37=45, Resulting Numbers: [45]
45,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 11:[44, 15], Operations: ['32/4=8', '7+8=15']
Exploring Operation: 44*15=660, Resulting Numbers: [660]
660,11 unequal: No Solution
Exploring Operation: 44+15=59, Resulting Numbers: [59]
59,11 unequal: No Solution
Exploring Operation: 44-15=29, Resulting Numbers: [29]
29,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 11:[8, 51], Operations: ['32/4=8', '44+7=51']
Exploring Operation: 8+51=59, Resulting Numbers: [59]
59,11 unequal: No Solution
Exploring Operation: 51-8=43, Resulting Numbers: [43]
43,11 unequal: No Solution
Exploring Operation: 8*51=408, Resulting Numbers: [408]
408,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 11:[44, 7, 28], Operations: ['32-4=28']
Exploring Operation: 28/7=4, Resulting Numbers: [44, 4]
Generated Node #0,2,0: 11:[44, 4] Operation: 28/7=4
Exploring Operation: 44-28=16, Resulting Numbers: [7, 16]
Generated Node #0,2,1: 11:[7, 16] Operation: 44-28=16
Exploring Operation: 44-7=37, Resulting Numbers: [28, 37]
Generated Node #0,2,2: 11:[28, 37] Operation: 44-7=37
Exploring Operation: 28-7=21, Resulting Numbers: [44, 21]
Generated Node #0,2,3: 11:[44, 21] Operation: 28-7=21
Moving to Node #0,2,1
Current State: 11:[7, 16], Operations: ['32-4=28', '44-28=16']
Exploring Operation: 7*16=112, Resulting Numbers: [112]
112,11 unequal: No Solution
Exploring Operation: 7+16=23, Resulting Numbers: [23]
23,11 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,11 unequal: No Solution
Moving to Node #0,0,0
Current State: 11:[11, 25], Operations: ['44/4=11', '32-7=25']
Exploring Operation: 11*25=275, Resulting Numbers: [275]
275,11 unequal: No Solution
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,11 unequal: No Solution
Exploring Operation: 11+25=36, Resulting Numbers: [36]
36,11 unequal: No Solution
Moving to Node #0,0,2
Current State: 11:[7, 21], Operations: ['44/4=11', '32-11=21']
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,11 unequal: No Solution
Exploring Operation: 7*21=147, Resulting Numbers: [147]
147,11 unequal: No Solution
Exploring Operation: 7+21=28, Resulting Numbers: [28]
28,11 unequal: No Solution
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,11 unequal: No Solution
Moving to Node #0,0,1
Current State: 11:[32, 18], Operations: ['44/4=11', '7+11=18']
Exploring Operation: 32*18=576, Resulting Numbers: [576]
576,11 unequal: No Solution
Exploring Operation: 32-18=14, Resulting Numbers: [14]
14,11 unequal: No Solution
Exploring Operation: 32+18=50, Resulting Numbers: [50]
50,11 unequal: No Solution
Moving to Node #0,0,3
Current State: 11:[11, 39], Operations: ['44/4=11', '32+7=39']
Exploring Operation: 11+39=50, Resulting Numbers: [50]
50,11 unequal: No Solution
Exploring Operation: 11*39=429, Resulting Numbers: [429]
429,11 unequal: No Solution
Exploring Operation: 39-11=28, Resulting Numbers: [28]
28,11 unequal: No Solution
Moving to Node #0,2,0
Current State: 11:[44, 4], Operations: ['32-4=28', '28/7=4']
Exploring Operation: 44+4=48, Resulting Numbers: [48]
48,11 unequal: No Solution
Exploring Operation: 44-4=40, Resulting Numbers: [40]
40,11 unequal: No Solution
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[32, 44, 4, 7], Operations: []
Exploring Operation: 32-4=28, Resulting Numbers: [44, 7, 28]
Generated Node #0,2: 11:[44, 7, 28] Operation: 32-4=28
Moving to Node #0,2
Current State: 11:[44, 7, 28], Operations: ['32-4=28']
Exploring Operation: 28/7=4, Resulting Numbers: [44, 4]
Generated Node #0,2,0: 11:[44, 4] Operation: 28/7=4
Moving to Node #0,2,0
Current State: 11:[44, 4], Operations: ['32-4=28', '28/7=4']
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 0.940972 | hs_4 | mult_heuristic |
[
13,
83,
83,
24
] | 37 | [
"13+83=96",
"83-24=59",
"96-59=37"
] | Current State: 37:[13, 83, 83, 24], Operations: []
Exploring Operation: 13+83=96, Resulting Numbers: [24, 96]
Generated Node #2: [24, 96] from Operation: 13+83=96
Current State: 37:[24, 96], Operations: ['13+83=96']
Exploring Operation: 83-24=59, Resulting Numbers: [96, 59]
Generated Node #3: [96, 59] from Operation: 83-24=59
Current State: 37:[96, 59], Operations: ['13+83=96', '83-24=59']
Exploring Operation: 96-59=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[13, 83, 83, 24], Operations: []
Exploring Operation: 83-13=70, Resulting Numbers: [83, 24, 70]
Generated Node #0,0: 37:[83, 24, 70] Operation: 83-13=70
Exploring Operation: 83-83=0, Resulting Numbers: [13, 24, 0]
Generated Node #0,1: 37:[13, 24, 0] Operation: 83-83=0
Exploring Operation: 83/83=1, Resulting Numbers: [13, 24, 1]
Generated Node #0,2: 37:[13, 24, 1] Operation: 83/83=1
Start Sub Search at level 1: Moving to Node #0,2
Current State: 37:[13, 24, 1], Operations: ['83/83=1']
Exploring Operation: 24+1=25, Resulting Numbers: [13, 25]
Generated Node #0,2,0: 37:[13, 25] Operation: 24+1=25
Exploring Operation: 13+24=37, Resulting Numbers: [1, 37]
Generated Node #0,2,1: 37:[1, 37] Operation: 13+24=37
Exploring Operation: 13+1=14, Resulting Numbers: [24, 14]
Generated Node #0,2,2: 37:[24, 14] Operation: 13+1=14
Moving to Node #0,2,0
Current State: 37:[13, 25], Operations: ['83/83=1', '24+1=25']
Exploring Operation: 13*25=325, Resulting Numbers: [325]
325,37 unequal: No Solution
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,37 unequal: No Solution
Exploring Operation: 13+25=38, Resulting Numbers: [38]
38,37 unequal: No Solution
Moving to Node #0,2,1
Current State: 37:[1, 37], Operations: ['83/83=1', '13+24=37']
Exploring Operation: 37/1=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[13, 83, 83, 24], Operations: []
Exploring Operation: 83/83=1, Resulting Numbers: [13, 24, 1]
Generated Node #0,2: 37:[13, 24, 1] Operation: 83/83=1
Moving to Node #0,2
Current State: 37:[13, 24, 1], Operations: ['83/83=1']
Exploring Operation: 13+24=37, Resulting Numbers: [1, 37]
Generated Node #0,2,1: 37:[1, 37] Operation: 13+24=37
Moving to Node #0,2,1
Current State: 37:[1, 37], Operations: ['83/83=1', '13+24=37']
Exploring Operation: 37/1=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
80,
14,
28,
79
] | 42 | [
"80-79=1",
"14+28=42",
"1*42=42"
] | Current State: 42:[80, 14, 28, 79], Operations: []
Exploring Operation: 80-79=1, Resulting Numbers: [14, 28, 1]
Generated Node #2: [14, 28, 1] from Operation: 80-79=1
Current State: 42:[14, 28, 1], Operations: ['80-79=1']
Exploring Operation: 14+28=42, Resulting Numbers: [1, 42]
Generated Node #3: [1, 42] from Operation: 14+28=42
Current State: 42:[1, 42], Operations: ['80-79=1', '14+28=42']
Exploring Operation: 1*42=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[80, 14, 28, 79], Operations: []
Exploring Operation: 80-79=1, Resulting Numbers: [14, 28, 1]
Generated Node #0,0: 42:[14, 28, 1] Operation: 80-79=1
Exploring Operation: 80-28=52, Resulting Numbers: [14, 79, 52]
Generated Node #0,1: 42:[14, 79, 52] Operation: 80-28=52
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[14, 28, 1], Operations: ['80-79=1']
Exploring Operation: 14+28=42, Resulting Numbers: [1, 42]
Generated Node #0,0,0: 42:[1, 42] Operation: 14+28=42
Exploring Operation: 28-14=14, Resulting Numbers: [1, 14]
Generated Node #0,0,1: 42:[1, 14] Operation: 28-14=14
Moving to Node #0,0,0
Current State: 42:[1, 42], Operations: ['80-79=1', '14+28=42']
Exploring Operation: 42/1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[80, 14, 28, 79], Operations: []
Exploring Operation: 80-79=1, Resulting Numbers: [14, 28, 1]
Generated Node #0,0: 42:[14, 28, 1] Operation: 80-79=1
Moving to Node #0,0
Current State: 42:[14, 28, 1], Operations: ['80-79=1']
Exploring Operation: 14+28=42, Resulting Numbers: [1, 42]
Generated Node #0,0,0: 42:[1, 42] Operation: 14+28=42
Moving to Node #0,0,0
Current State: 42:[1, 42], Operations: ['80-79=1', '14+28=42']
Exploring Operation: 42/1=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
99,
4,
7,
29
] | 12 | [
"7-4=3",
"29*3=87",
"99-87=12"
] | Current State: 12:[99, 4, 7, 29], Operations: []
Exploring Operation: 7-4=3, Resulting Numbers: [99, 29, 3]
Generated Node #2: [99, 29, 3] from Operation: 7-4=3
Current State: 12:[99, 29, 3], Operations: ['7-4=3']
Exploring Operation: 29*3=87, Resulting Numbers: [99, 87]
Generated Node #3: [99, 87] from Operation: 29*3=87
Current State: 12:[99, 87], Operations: ['7-4=3', '29*3=87']
Exploring Operation: 99-87=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[99, 4, 7, 29], Operations: []
Exploring Operation: 29-7=22, Resulting Numbers: [99, 4, 22]
Generated Node #0,0: 12:[99, 4, 22] Operation: 29-7=22
Exploring Operation: 99-7=92, Resulting Numbers: [4, 29, 92]
Generated Node #0,1: 12:[4, 29, 92] Operation: 99-7=92
Exploring Operation: 99-29=70, Resulting Numbers: [4, 7, 70]
Generated Node #0,2: 12:[4, 7, 70] Operation: 99-29=70
Exploring Operation: 99-4=95, Resulting Numbers: [7, 29, 95]
Generated Node #0,3: 12:[7, 29, 95] Operation: 99-4=95
Moving to Node #0,2
Current State: 12:[4, 7, 70], Operations: ['99-29=70']
Exploring Operation: 7-4=3, Resulting Numbers: [70, 3]
Generated Node #0,2,0: 12:[70, 3] Operation: 7-4=3
Exploring Operation: 70-4=66, Resulting Numbers: [7, 66]
Generated Node #0,2,1: 12:[7, 66] Operation: 70-4=66
Exploring Operation: 70/7=10, Resulting Numbers: [4, 10]
Generated Node #0,2,2: 12:[4, 10] Operation: 70/7=10
Exploring Operation: 70-7=63, Resulting Numbers: [4, 63]
Generated Node #0,2,3: 12:[4, 63] Operation: 70-7=63
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 12:[4, 10], Operations: ['99-29=70', '70/7=10']
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,12 unequal: No Solution
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,12 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 12:[4, 63], Operations: ['99-29=70', '70-7=63']
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,12 unequal: No Solution
Exploring Operation: 4+63=67, Resulting Numbers: [67]
67,12 unequal: No Solution
Exploring Operation: 4*63=252, Resulting Numbers: [252]
252,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 12:[7, 66], Operations: ['99-29=70', '70-4=66']
Exploring Operation: 7+66=73, Resulting Numbers: [73]
73,12 unequal: No Solution
Exploring Operation: 7*66=462, Resulting Numbers: [462]
462,12 unequal: No Solution
Exploring Operation: 66-7=59, Resulting Numbers: [59]
59,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 12:[70, 3], Operations: ['99-29=70', '7-4=3']
Exploring Operation: 70-3=67, Resulting Numbers: [67]
67,12 unequal: No Solution
Exploring Operation: 70*3=210, Resulting Numbers: [210]
210,12 unequal: No Solution
Exploring Operation: 70+3=73, Resulting Numbers: [73]
73,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 12:[4, 29, 92], Operations: ['99-7=92']
Exploring Operation: 29-4=25, Resulting Numbers: [92, 25]
Generated Node #0,1,0: 12:[92, 25] Operation: 29-4=25
Exploring Operation: 92/4=23, Resulting Numbers: [29, 23]
Generated Node #0,1,1: 12:[29, 23] Operation: 92/4=23
Exploring Operation: 92-4=88, Resulting Numbers: [29, 88]
Generated Node #0,1,2: 12:[29, 88] Operation: 92-4=88
Exploring Operation: 92-29=63, Resulting Numbers: [4, 63]
Generated Node #0,1,3: 12:[4, 63] Operation: 92-29=63
Moving to Node #0,0
Current State: 12:[99, 4, 22], Operations: ['29-7=22']
Exploring Operation: 99-22=77, Resulting Numbers: [4, 77]
Generated Node #0,0,0: 12:[4, 77] Operation: 99-22=77
Exploring Operation: 22-4=18, Resulting Numbers: [99, 18]
Generated Node #0,0,1: 12:[99, 18] Operation: 22-4=18
Exploring Operation: 99-4=95, Resulting Numbers: [22, 95]
Generated Node #0,0,2: 12:[22, 95] Operation: 99-4=95
Exploring Operation: 99+4=103, Resulting Numbers: [22, 103]
Generated Node #0,0,3: 12:[22, 103] Operation: 99+4=103
Moving to Node #0,3
Current State: 12:[7, 29, 95], Operations: ['99-4=95']
Exploring Operation: 95-7=88, Resulting Numbers: [29, 88]
Generated Node #0,3,0: 12:[29, 88] Operation: 95-7=88
Exploring Operation: 95-29=66, Resulting Numbers: [7, 66]
Generated Node #0,3,1: 12:[7, 66] Operation: 95-29=66
Exploring Operation: 7+29=36, Resulting Numbers: [95, 36]
Generated Node #0,3,2: 12:[95, 36] Operation: 7+29=36
Exploring Operation: 29-7=22, Resulting Numbers: [95, 22]
Generated Node #0,3,3: 12:[95, 22] Operation: 29-7=22
Moving to Node #0,1,1
Current State: 12:[29, 23], Operations: ['99-7=92', '92/4=23']
Exploring Operation: 29*23=667, Resulting Numbers: [667]
667,12 unequal: No Solution
Exploring Operation: 29-23=6, Resulting Numbers: [6]
6,12 unequal: No Solution
Exploring Operation: 29+23=52, Resulting Numbers: [52]
52,12 unequal: No Solution
Moving to Node #0,1,3
Current State: 12:[4, 63], Operations: ['99-7=92', '92-29=63']
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,12 unequal: No Solution
Exploring Operation: 4+63=67, Resulting Numbers: [67]
67,12 unequal: No Solution
Exploring Operation: 4*63=252, Resulting Numbers: [252]
252,12 unequal: No Solution
Moving to Node #0,3,1
Current State: 12:[7, 66], Operations: ['99-4=95', '95-29=66']
Exploring Operation: 66-7=59, Resulting Numbers: [59]
59,12 unequal: No Solution
Exploring Operation: 7*66=462, Resulting Numbers: [462]
462,12 unequal: No Solution
Exploring Operation: 7+66=73, Resulting Numbers: [73]
73,12 unequal: No Solution
Moving to Node #0,0,0
Current State: 12:[4, 77], Operations: ['29-7=22', '99-22=77']
Exploring Operation: 4*77=308, Resulting Numbers: [308]
308,12 unequal: No Solution
Exploring Operation: 4+77=81, Resulting Numbers: [81]
81,12 unequal: No Solution
Exploring Operation: 77-4=73, Resulting Numbers: [73]
73,12 unequal: No Solution
Moving to Node #0,1,0
Current State: 12:[92, 25], Operations: ['99-7=92', '29-4=25']
Exploring Operation: 92+25=117, Resulting Numbers: [117]
117,12 unequal: No Solution
Exploring Operation: 92-25=67, Resulting Numbers: [67]
67,12 unequal: No Solution
Exploring Operation: 92*25=2300, Resulting Numbers: [2300]
2300,12 unequal: No Solution
Moving to Node #0,0,2
Current State: 12:[22, 95], Operations: ['29-7=22', '99-4=95']
Exploring Operation: 22*95=2090, Resulting Numbers: [2090]
2090,12 unequal: No Solution
Exploring Operation: 95-22=73, Resulting Numbers: [73]
73,12 unequal: No Solution
Exploring Operation: 22+95=117, Resulting Numbers: [117]
117,12 unequal: No Solution
Moving to Node #0,0,1
Current State: 12:[99, 18], Operations: ['29-7=22', '22-4=18']
Exploring Operation: 99-18=81, Resulting Numbers: [81]
81,12 unequal: No Solution
Exploring Operation: 99*18=1782, Resulting Numbers: [1782]
1782,12 unequal: No Solution
Exploring Operation: 99+18=117, Resulting Numbers: [117]
117,12 unequal: No Solution
Moving to Node #0,3,0
Current State: 12:[29, 88], Operations: ['99-4=95', '95-7=88']
Exploring Operation: 29+88=117, Resulting Numbers: [117]
117,12 unequal: No Solution
Exploring Operation: 29*88=2552, Resulting Numbers: [2552]
2552,12 unequal: No Solution
Exploring Operation: 88-29=59, Resulting Numbers: [59]
59,12 unequal: No Solution
Moving to Node #0,3,3
Current State: 12:[95, 22], Operations: ['99-4=95', '29-7=22']
Exploring Operation: 95*22=2090, Resulting Numbers: [2090]
2090,12 unequal: No Solution
Exploring Operation: 95-22=73, Resulting Numbers: [73]
73,12 unequal: No Solution
Exploring Operation: 95+22=117, Resulting Numbers: [117]
117,12 unequal: No Solution
Moving to Node #0,1,2
Current State: 12:[29, 88], Operations: ['99-7=92', '92-4=88']
Exploring Operation: 88-29=59, Resulting Numbers: [59]
59,12 unequal: No Solution
Exploring Operation: 29*88=2552, Resulting Numbers: [2552]
2552,12 unequal: No Solution
Exploring Operation: 29+88=117, Resulting Numbers: [117]
117,12 unequal: No Solution
Moving to Node #0,0,3
Current State: 12:[22, 103], Operations: ['29-7=22', '99+4=103']
Exploring Operation: 22+103=125, Resulting Numbers: [125]
125,12 unequal: No Solution
Exploring Operation: 103-22=81, Resulting Numbers: [81]
81,12 unequal: No Solution
Exploring Operation: 22*103=2266, Resulting Numbers: [2266]
2266,12 unequal: No Solution
Moving to Node #0,3,2
Current State: 12:[95, 36], Operations: ['99-4=95', '7+29=36']
Exploring Operation: 95-36=59, Resulting Numbers: [59]
59,12 unequal: No Solution
Exploring Operation: 95+36=131, Resulting Numbers: [131]
131,12 unequal: No Solution
Exploring Operation: 95*36=3420, Resulting Numbers: [3420]
3420,12 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
11,
51,
90,
6
] | 30 | [
"11+6=17",
"51/17=3",
"90/3=30"
] | Current State: 30:[11, 51, 90, 6], Operations: []
Exploring Operation: 11+6=17, Resulting Numbers: [51, 90, 17]
Generated Node #2: [51, 90, 17] from Operation: 11+6=17
Current State: 30:[51, 90, 17], Operations: ['11+6=17']
Exploring Operation: 51/17=3, Resulting Numbers: [90, 3]
Generated Node #3: [90, 3] from Operation: 51/17=3
Current State: 30:[90, 3], Operations: ['11+6=17', '51/17=3']
Exploring Operation: 90/3=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[11, 51, 90, 6], Operations: []
Exploring Operation: 90-51=39, Resulting Numbers: [11, 6, 39]
Generated Node #0,0: 30:[11, 6, 39] Operation: 90-51=39
Exploring Operation: 90/6=15, Resulting Numbers: [11, 51, 15]
Generated Node #0,1: 30:[11, 51, 15] Operation: 90/6=15
Moving to Node #0,0
Current State: 30:[11, 6, 39], Operations: ['90-51=39']
Exploring Operation: 39-11=28, Resulting Numbers: [6, 28]
Generated Node #0,0,0: 30:[6, 28] Operation: 39-11=28
Exploring Operation: 39-6=33, Resulting Numbers: [11, 33]
Generated Node #0,0,1: 30:[11, 33] Operation: 39-6=33
Moving to Node #0,1
Current State: 30:[11, 51, 15], Operations: ['90/6=15']
Exploring Operation: 51-11=40, Resulting Numbers: [15, 40]
Generated Node #0,1,0: 30:[15, 40] Operation: 51-11=40
Exploring Operation: 51-15=36, Resulting Numbers: [11, 36]
Generated Node #0,1,1: 30:[11, 36] Operation: 51-15=36
Moving to Node #0,0,0
Current State: 30:[6, 28], Operations: ['90-51=39', '39-11=28']
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,30 unequal: No Solution
Exploring Operation: 6+28=34, Resulting Numbers: [34]
34,30 unequal: No Solution
Moving to Node #0,0,1
Current State: 30:[11, 33], Operations: ['90-51=39', '39-6=33']
Exploring Operation: 33-11=22, Resulting Numbers: [22]
22,30 unequal: No Solution
Exploring Operation: 33/11=3, Resulting Numbers: [3]
3,30 unequal: No Solution
Moving to Node #0,1,1
Current State: 30:[11, 36], Operations: ['90/6=15', '51-15=36']
Exploring Operation: 36-11=25, Resulting Numbers: [25]
25,30 unequal: No Solution
Exploring Operation: 11+36=47, Resulting Numbers: [47]
47,30 unequal: No Solution
Moving to Node #0,1,0
Current State: 30:[15, 40], Operations: ['90/6=15', '51-11=40']
Exploring Operation: 40-15=25, Resulting Numbers: [25]
25,30 unequal: No Solution
Exploring Operation: 15+40=55, Resulting Numbers: [55]
55,30 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
5,
4,
1,
51
] | 64 | [
"5*51=255",
"1+255=256",
"256/4=64"
] | Current State: 64:[5, 4, 1, 51], Operations: []
Exploring Operation: 5*51=255, Resulting Numbers: [4, 1, 255]
Generated Node #2: [4, 1, 255] from Operation: 5*51=255
Current State: 64:[4, 1, 255], Operations: ['5*51=255']
Exploring Operation: 1+255=256, Resulting Numbers: [4, 256]
Generated Node #3: [4, 256] from Operation: 1+255=256
Current State: 64:[4, 256], Operations: ['5*51=255', '1+255=256']
Exploring Operation: 256/4=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[5, 4, 1, 51], Operations: []
Exploring Operation: 4+51=55, Resulting Numbers: [5, 1, 55]
Generated Node #0,0: 64:[5, 1, 55] Operation: 4+51=55
Exploring Operation: 5*1=5, Resulting Numbers: [4, 51, 5]
Generated Node #0,1: 64:[4, 51, 5] Operation: 5*1=5
Exploring Operation: 1+51=52, Resulting Numbers: [5, 4, 52]
Generated Node #0,2: 64:[5, 4, 52] Operation: 1+51=52
Exploring Operation: 5-1=4, Resulting Numbers: [4, 51, 4]
Generated Node #0,3: 64:[4, 51, 4] Operation: 5-1=4
Exploring Operation: 5+51=56, Resulting Numbers: [4, 1, 56]
Generated Node #0,4: 64:[4, 1, 56] Operation: 5+51=56
Moving to Node #0,4
Current State: 64:[4, 1, 56], Operations: ['5+51=56']
Exploring Operation: 1+56=57, Resulting Numbers: [4, 57]
Generated Node #0,4,0: 64:[4, 57] Operation: 1+56=57
Exploring Operation: 4+56=60, Resulting Numbers: [1, 60]
Generated Node #0,4,1: 64:[1, 60] Operation: 4+56=60
Exploring Operation: 56/4=14, Resulting Numbers: [1, 14]
Generated Node #0,4,2: 64:[1, 14] Operation: 56/4=14
Exploring Operation: 4/1=4, Resulting Numbers: [56, 4]
Generated Node #0,4,3: 64:[56, 4] Operation: 4/1=4
Exploring Operation: 4*1=4, Resulting Numbers: [56, 4]
Generated Node #0,4,4: 64:[56, 4] Operation: 4*1=4
Moving to Node #0,0
Current State: 64:[5, 1, 55], Operations: ['4+51=55']
Exploring Operation: 5+55=60, Resulting Numbers: [1, 60]
Generated Node #0,0,0: 64:[1, 60] Operation: 5+55=60
Exploring Operation: 5*1=5, Resulting Numbers: [55, 5]
Generated Node #0,0,1: 64:[55, 5] Operation: 5*1=5
Exploring Operation: 55/5=11, Resulting Numbers: [1, 11]
Generated Node #0,0,2: 64:[1, 11] Operation: 55/5=11
Exploring Operation: 5-1=4, Resulting Numbers: [55, 4]
Generated Node #0,0,3: 64:[55, 4] Operation: 5-1=4
Exploring Operation: 1+55=56, Resulting Numbers: [5, 56]
Generated Node #0,0,4: 64:[5, 56] Operation: 1+55=56
Moving to Node #0,2
Current State: 64:[5, 4, 52], Operations: ['1+51=52']
Exploring Operation: 5-4=1, Resulting Numbers: [52, 1]
Generated Node #0,2,0: 64:[52, 1] Operation: 5-4=1
Exploring Operation: 5+52=57, Resulting Numbers: [4, 57]
Generated Node #0,2,1: 64:[4, 57] Operation: 5+52=57
Exploring Operation: 4+52=56, Resulting Numbers: [5, 56]
Generated Node #0,2,2: 64:[5, 56] Operation: 4+52=56
Exploring Operation: 5+4=9, Resulting Numbers: [52, 9]
Generated Node #0,2,3: 64:[52, 9] Operation: 5+4=9
Exploring Operation: 52/4=13, Resulting Numbers: [5, 13]
Generated Node #0,2,4: 64:[5, 13] Operation: 52/4=13
Moving to Node #0,3
Current State: 64:[4, 51, 4], Operations: ['5-1=4']
Exploring Operation: 51+4=55, Resulting Numbers: [4, 55]
Generated Node #0,3,0: 64:[4, 55] Operation: 51+4=55
Exploring Operation: 4/4=1, Resulting Numbers: [51, 1]
Generated Node #0,3,1: 64:[51, 1] Operation: 4/4=1
Exploring Operation: 4+51=55, Resulting Numbers: [4, 55]
Generated Node #0,3,2: 64:[4, 55] Operation: 4+51=55
Exploring Operation: 4+4=8, Resulting Numbers: [51, 8]
Generated Node #0,3,3: 64:[51, 8] Operation: 4+4=8
Exploring Operation: 4*4=16, Resulting Numbers: [51, 16]
Generated Node #0,3,4: 64:[51, 16] Operation: 4*4=16
Moving to Node #0,1
Current State: 64:[4, 51, 5], Operations: ['5*1=5']
Exploring Operation: 4+51=55, Resulting Numbers: [5, 55]
Generated Node #0,1,0: 64:[5, 55] Operation: 4+51=55
Exploring Operation: 51-5=46, Resulting Numbers: [4, 46]
Generated Node #0,1,1: 64:[4, 46] Operation: 51-5=46
Exploring Operation: 5-4=1, Resulting Numbers: [51, 1]
Generated Node #0,1,2: 64:[51, 1] Operation: 5-4=1
Exploring Operation: 4+5=9, Resulting Numbers: [51, 9]
Generated Node #0,1,3: 64:[51, 9] Operation: 4+5=9
Exploring Operation: 51+5=56, Resulting Numbers: [4, 56]
Generated Node #0,1,4: 64:[4, 56] Operation: 51+5=56
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 64:[4, 56], Operations: ['5*1=5', '51+5=56']
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,64 unequal: No Solution
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,64 unequal: No Solution
Exploring Operation: 4+56=60, Resulting Numbers: [60]
60,64 unequal: No Solution
Exploring Operation: 4*56=224, Resulting Numbers: [224]
224,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 64:[5, 55], Operations: ['5*1=5', '4+51=55']
Exploring Operation: 55-5=50, Resulting Numbers: [50]
50,64 unequal: No Solution
Exploring Operation: 55/5=11, Resulting Numbers: [11]
11,64 unequal: No Solution
Exploring Operation: 5*55=275, Resulting Numbers: [275]
275,64 unequal: No Solution
Exploring Operation: 5+55=60, Resulting Numbers: [60]
60,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 64:[4, 46], Operations: ['5*1=5', '51-5=46']
Exploring Operation: 4*46=184, Resulting Numbers: [184]
184,64 unequal: No Solution
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,64 unequal: No Solution
Exploring Operation: 4+46=50, Resulting Numbers: [50]
50,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 64:[51, 1], Operations: ['5*1=5', '5-4=1']
Exploring Operation: 51*1=51, Resulting Numbers: [51]
51,64 unequal: No Solution
Exploring Operation: 51/1=51, Resulting Numbers: [51]
51,64 unequal: No Solution
Exploring Operation: 51+1=52, Resulting Numbers: [52]
52,64 unequal: No Solution
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 64:[51, 9], Operations: ['5*1=5', '4+5=9']
Exploring Operation: 51*9=459, Resulting Numbers: [459]
459,64 unequal: No Solution
Exploring Operation: 51+9=60, Resulting Numbers: [60]
60,64 unequal: No Solution
Exploring Operation: 51-9=42, Resulting Numbers: [42]
42,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,2
Current State: 64:[1, 14], Operations: ['5+51=56', '56/4=14']
Exploring Operation: 1*14=14, Resulting Numbers: [14]
14,64 unequal: No Solution
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,64 unequal: No Solution
Exploring Operation: 14/1=14, Resulting Numbers: [14]
14,64 unequal: No Solution
Exploring Operation: 1+14=15, Resulting Numbers: [15]
15,64 unequal: No Solution
Moving to Node #0,0,2
Current State: 64:[1, 11], Operations: ['4+51=55', '55/5=11']
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,64 unequal: No Solution
Exploring Operation: 1+11=12, Resulting Numbers: [12]
12,64 unequal: No Solution
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,64 unequal: No Solution
Exploring Operation: 1*11=11, Resulting Numbers: [11]
11,64 unequal: No Solution
Moving to Node #0,2,4
Current State: 64:[5, 13], Operations: ['1+51=52', '52/4=13']
Exploring Operation: 5+13=18, Resulting Numbers: [18]
18,64 unequal: No Solution
Exploring Operation: 5*13=65, Resulting Numbers: [65]
65,64 unequal: No Solution
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,64 unequal: No Solution
Moving to Node #0,0,0
Current State: 64:[1, 60], Operations: ['4+51=55', '5+55=60']
Exploring Operation: 1*60=60, Resulting Numbers: [60]
60,64 unequal: No Solution
Exploring Operation: 60/1=60, Resulting Numbers: [60]
60,64 unequal: No Solution
Exploring Operation: 60-1=59, Resulting Numbers: [59]
59,64 unequal: No Solution
Exploring Operation: 1+60=61, Resulting Numbers: [61]
61,64 unequal: No Solution
Moving to Node #0,4,1
Current State: 64:[1, 60], Operations: ['5+51=56', '4+56=60']
Exploring Operation: 1*60=60, Resulting Numbers: [60]
60,64 unequal: No Solution
Exploring Operation: 1+60=61, Resulting Numbers: [61]
61,64 unequal: No Solution
Exploring Operation: 60-1=59, Resulting Numbers: [59]
59,64 unequal: No Solution
Exploring Operation: 60/1=60, Resulting Numbers: [60]
60,64 unequal: No Solution
Moving to Node #0,4,0
Current State: 64:[4, 57], Operations: ['5+51=56', '1+56=57']
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,64 unequal: No Solution
Exploring Operation: 4+57=61, Resulting Numbers: [61]
61,64 unequal: No Solution
Exploring Operation: 4*57=228, Resulting Numbers: [228]
228,64 unequal: No Solution
Moving to Node #0,2,1
Current State: 64:[4, 57], Operations: ['1+51=52', '5+52=57']
Exploring Operation: 4*57=228, Resulting Numbers: [228]
228,64 unequal: No Solution
Exploring Operation: 4+57=61, Resulting Numbers: [61]
61,64 unequal: No Solution
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,64 unequal: No Solution
Moving to Node #0,4,4
Current State: 64:[56, 4], Operations: ['5+51=56', '4*1=4']
Exploring Operation: 56+4=60, Resulting Numbers: [60]
60,64 unequal: No Solution
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,64 unequal: No Solution
Exploring Operation: 56*4=224, Resulting Numbers: [224]
224,64 unequal: No Solution
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,64 unequal: No Solution
Moving to Node #0,4,3
Current State: 64:[56, 4], Operations: ['5+51=56', '4/1=4']
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,64 unequal: No Solution
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,64 unequal: No Solution
Exploring Operation: 56*4=224, Resulting Numbers: [224]
224,64 unequal: No Solution
Exploring Operation: 56+4=60, Resulting Numbers: [60]
60,64 unequal: No Solution
Moving to Node #0,2,2
Current State: 64:[5, 56], Operations: ['1+51=52', '4+52=56']
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,64 unequal: No Solution
Exploring Operation: 5*56=280, Resulting Numbers: [280]
280,64 unequal: No Solution
Exploring Operation: 5+56=61, Resulting Numbers: [61]
61,64 unequal: No Solution
Moving to Node #0,3,0
Current State: 64:[4, 55], Operations: ['5-1=4', '51+4=55']
Exploring Operation: 4*55=220, Resulting Numbers: [220]
220,64 unequal: No Solution
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,64 unequal: No Solution
Exploring Operation: 4+55=59, Resulting Numbers: [59]
59,64 unequal: No Solution
Moving to Node #0,3,2
Current State: 64:[4, 55], Operations: ['5-1=4', '4+51=55']
Exploring Operation: 4*55=220, Resulting Numbers: [220]
220,64 unequal: No Solution
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,64 unequal: No Solution
Exploring Operation: 4+55=59, Resulting Numbers: [59]
59,64 unequal: No Solution
Moving to Node #0,0,4
Current State: 64:[5, 56], Operations: ['4+51=55', '1+55=56']
Exploring Operation: 5*56=280, Resulting Numbers: [280]
280,64 unequal: No Solution
Exploring Operation: 5+56=61, Resulting Numbers: [61]
61,64 unequal: No Solution
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,64 unequal: No Solution
Moving to Node #0,0,3
Current State: 64:[55, 4], Operations: ['4+51=55', '5-1=4']
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,64 unequal: No Solution
Exploring Operation: 55+4=59, Resulting Numbers: [59]
59,64 unequal: No Solution
Exploring Operation: 55*4=220, Resulting Numbers: [220]
220,64 unequal: No Solution
Moving to Node #0,0,1
Current State: 64:[55, 5], Operations: ['4+51=55', '5*1=5']
Exploring Operation: 55*5=275, Resulting Numbers: [275]
275,64 unequal: No Solution
Exploring Operation: 55+5=60, Resulting Numbers: [60]
60,64 unequal: No Solution
Exploring Operation: 55-5=50, Resulting Numbers: [50]
50,64 unequal: No Solution
Exploring Operation: 55/5=11, Resulting Numbers: [11]
11,64 unequal: No Solution
Moving to Node #0,2,3
Current State: 64:[52, 9], Operations: ['1+51=52', '5+4=9']
Exploring Operation: 52+9=61, Resulting Numbers: [61]
61,64 unequal: No Solution
Exploring Operation: 52*9=468, Resulting Numbers: [468]
468,64 unequal: No Solution
Exploring Operation: 52-9=43, Resulting Numbers: [43]
43,64 unequal: No Solution
Moving to Node #0,3,3
Current State: 64:[51, 8], Operations: ['5-1=4', '4+4=8']
Exploring Operation: 51+8=59, Resulting Numbers: [59]
59,64 unequal: No Solution
Exploring Operation: 51-8=43, Resulting Numbers: [43]
43,64 unequal: No Solution
Exploring Operation: 51*8=408, Resulting Numbers: [408]
408,64 unequal: No Solution
Moving to Node #0,2,0
Current State: 64:[52, 1], Operations: ['1+51=52', '5-4=1']
Exploring Operation: 52/1=52, Resulting Numbers: [52]
52,64 unequal: No Solution
Exploring Operation: 52*1=52, Resulting Numbers: [52]
52,64 unequal: No Solution
Exploring Operation: 52+1=53, Resulting Numbers: [53]
53,64 unequal: No Solution
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,64 unequal: No Solution
Moving to Node #0,3,4
Current State: 64:[51, 16], Operations: ['5-1=4', '4*4=16']
Exploring Operation: 51+16=67, Resulting Numbers: [67]
67,64 unequal: No Solution
Exploring Operation: 51*16=816, Resulting Numbers: [816]
816,64 unequal: No Solution
Exploring Operation: 51-16=35, Resulting Numbers: [35]
35,64 unequal: No Solution
Moving to Node #0,3,1
Current State: 64:[51, 1], Operations: ['5-1=4', '4/4=1']
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,64 unequal: No Solution
Exploring Operation: 51+1=52, Resulting Numbers: [52]
52,64 unequal: No Solution
Exploring Operation: 51*1=51, Resulting Numbers: [51]
51,64 unequal: No Solution
Exploring Operation: 51/1=51, Resulting Numbers: [51]
51,64 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
12,
20,
46,
10
] | 86 | [
"12-10=2",
"20*2=40",
"46+40=86"
] | Current State: 86:[12, 20, 46, 10], Operations: []
Exploring Operation: 12-10=2, Resulting Numbers: [20, 46, 2]
Generated Node #2: [20, 46, 2] from Operation: 12-10=2
Current State: 86:[20, 46, 2], Operations: ['12-10=2']
Exploring Operation: 20*2=40, Resulting Numbers: [46, 40]
Generated Node #3: [46, 40] from Operation: 20*2=40
Current State: 86:[46, 40], Operations: ['12-10=2', '20*2=40']
Exploring Operation: 46+40=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[12, 20, 46, 10], Operations: []
Exploring Operation: 20-12=8, Resulting Numbers: [46, 10, 8]
Generated Node #0,0: 86:[46, 10, 8] Operation: 20-12=8
Exploring Operation: 20/10=2, Resulting Numbers: [12, 46, 2]
Generated Node #0,1: 86:[12, 46, 2] Operation: 20/10=2
Moving to Node #0,1
Current State: 86:[12, 46, 2], Operations: ['20/10=2']
Exploring Operation: 46-12=34, Resulting Numbers: [2, 34]
Generated Node #0,1,0: 86:[2, 34] Operation: 46-12=34
Exploring Operation: 12/2=6, Resulting Numbers: [46, 6]
Generated Node #0,1,1: 86:[46, 6] Operation: 12/2=6
Moving to Node #0,0
Current State: 86:[46, 10, 8], Operations: ['20-12=8']
Exploring Operation: 10-8=2, Resulting Numbers: [46, 2]
Generated Node #0,0,0: 86:[46, 2] Operation: 10-8=2
Exploring Operation: 10*8=80, Resulting Numbers: [46, 80]
Generated Node #0,0,1: 86:[46, 80] Operation: 10*8=80
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[46, 2], Operations: ['20-12=8', '10-8=2']
Exploring Operation: 46+2=48, Resulting Numbers: [48]
48,86 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 86:[46, 80], Operations: ['20-12=8', '10*8=80']
Exploring Operation: 80-46=34, Resulting Numbers: [34]
34,86 unequal: No Solution
Exploring Operation: 46+80=126, Resulting Numbers: [126]
126,86 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: 86:[46, 6], Operations: ['20/10=2', '12/2=6']
Exploring Operation: 46-6=40, Resulting Numbers: [40]
40,86 unequal: No Solution
Exploring Operation: 46+6=52, Resulting Numbers: [52]
52,86 unequal: No Solution
Moving to Node #0,1,0
Current State: 86:[2, 34], Operations: ['20/10=2', '46-12=34']
Exploring Operation: 2+34=36, Resulting Numbers: [36]
36,86 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,86 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
54,
6,
83,
78
] | 14 | [
"54/6=9",
"83-78=5",
"9+5=14"
] | Current State: 14:[54, 6, 83, 78], Operations: []
Exploring Operation: 54/6=9, Resulting Numbers: [83, 78, 9]
Generated Node #2: [83, 78, 9] from Operation: 54/6=9
Current State: 14:[83, 78, 9], Operations: ['54/6=9']
Exploring Operation: 83-78=5, Resulting Numbers: [9, 5]
Generated Node #3: [9, 5] from Operation: 83-78=5
Current State: 14:[9, 5], Operations: ['54/6=9', '83-78=5']
Exploring Operation: 9+5=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[54, 6, 83, 78], Operations: []
Exploring Operation: 83-78=5, Resulting Numbers: [54, 6, 5]
Generated Node #0,0: 14:[54, 6, 5] Operation: 83-78=5
Moving to Node #0,0
Current State: 14:[54, 6, 5], Operations: ['83-78=5']
Exploring Operation: 54/6=9, Resulting Numbers: [5, 9]
Generated Node #0,0,0: 14:[5, 9] Operation: 54/6=9
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 14:[5, 9], Operations: ['83-78=5', '54/6=9']
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[54, 6, 83, 78], Operations: []
Exploring Operation: 83-78=5, Resulting Numbers: [54, 6, 5]
Generated Node #0,0: 14:[54, 6, 5] Operation: 83-78=5
Moving to Node #0,0
Current State: 14:[54, 6, 5], Operations: ['83-78=5']
Exploring Operation: 54/6=9, Resulting Numbers: [5, 9]
Generated Node #0,0,0: 14:[5, 9] Operation: 54/6=9
Moving to Node #0,0,0
Current State: 14:[5, 9], Operations: ['83-78=5', '54/6=9']
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
56,
11,
54,
15
] | 13 | [
"56-54=2",
"11+15=26",
"26/2=13"
] | Current State: 13:[56, 11, 54, 15], Operations: []
Exploring Operation: 56-54=2, Resulting Numbers: [11, 15, 2]
Generated Node #2: [11, 15, 2] from Operation: 56-54=2
Current State: 13:[11, 15, 2], Operations: ['56-54=2']
Exploring Operation: 11+15=26, Resulting Numbers: [2, 26]
Generated Node #3: [2, 26] from Operation: 11+15=26
Current State: 13:[2, 26], Operations: ['56-54=2', '11+15=26']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[56, 11, 54, 15], Operations: []
Exploring Operation: 56-15=41, Resulting Numbers: [11, 54, 41]
Generated Node #0,0: 13:[11, 54, 41] Operation: 56-15=41
Exploring Operation: 54-15=39, Resulting Numbers: [56, 11, 39]
Generated Node #0,1: 13:[56, 11, 39] Operation: 54-15=39
Exploring Operation: 56-54=2, Resulting Numbers: [11, 15, 2]
Generated Node #0,2: 13:[11, 15, 2] Operation: 56-54=2
Exploring Operation: 56-11=45, Resulting Numbers: [54, 15, 45]
Generated Node #0,3: 13:[54, 15, 45] Operation: 56-11=45
Start Sub Search at level 1: Moving to Node #0,2
Current State: 13:[11, 15, 2], Operations: ['56-54=2']
Exploring Operation: 15-2=13, Resulting Numbers: [11, 13]
Generated Node #0,2,0: 13:[11, 13] Operation: 15-2=13
Exploring Operation: 11+2=13, Resulting Numbers: [15, 13]
Generated Node #0,2,1: 13:[15, 13] Operation: 11+2=13
Exploring Operation: 11-2=9, Resulting Numbers: [15, 9]
Generated Node #0,2,2: 13:[15, 9] Operation: 11-2=9
Exploring Operation: 15+2=17, Resulting Numbers: [11, 17]
Generated Node #0,2,3: 13:[11, 17] Operation: 15+2=17
Moving to Node #0,2,0
Current State: 13:[11, 13], Operations: ['56-54=2', '15-2=13']
Exploring Operation: 11*13=143, Resulting Numbers: [143]
143,13 unequal: No Solution
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,13 unequal: No Solution
Exploring Operation: 11+13=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Moving to Node #0,2,1
Current State: 13:[15, 13], Operations: ['56-54=2', '11+2=13']
Exploring Operation: 15+13=28, Resulting Numbers: [28]
28,13 unequal: No Solution
Exploring Operation: 15*13=195, Resulting Numbers: [195]
195,13 unequal: No Solution
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,13 unequal: No Solution
Moving to Node #0,2,3
Current State: 13:[11, 17], Operations: ['56-54=2', '15+2=17']
Exploring Operation: 11+17=28, Resulting Numbers: [28]
28,13 unequal: No Solution
Exploring Operation: 11*17=187, Resulting Numbers: [187]
187,13 unequal: No Solution
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,13 unequal: No Solution
Moving to Node #0,2,2
Current State: 13:[15, 9], Operations: ['56-54=2', '11-2=9']
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,13 unequal: No Solution
Exploring Operation: 15*9=135, Resulting Numbers: [135]
135,13 unequal: No Solution
Exploring Operation: 15+9=24, Resulting Numbers: [24]
24,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[11, 54, 41], Operations: ['56-15=41']
Exploring Operation: 54-41=13, Resulting Numbers: [11, 13]
Generated Node #0,0,0: 13:[11, 13] Operation: 54-41=13
Exploring Operation: 54-11=43, Resulting Numbers: [41, 43]
Generated Node #0,0,1: 13:[41, 43] Operation: 54-11=43
Exploring Operation: 11+54=65, Resulting Numbers: [41, 65]
Generated Node #0,0,2: 13:[41, 65] Operation: 11+54=65
Exploring Operation: 41-11=30, Resulting Numbers: [54, 30]
Generated Node #0,0,3: 13:[54, 30] Operation: 41-11=30
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 13:[11, 13], Operations: ['56-15=41', '54-41=13']
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,13 unequal: No Solution
Exploring Operation: 11*13=143, Resulting Numbers: [143]
143,13 unequal: No Solution
Exploring Operation: 11+13=24, Resulting Numbers: [24]
24,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 13:[41, 43], Operations: ['56-15=41', '54-11=43']
Exploring Operation: 41*43=1763, Resulting Numbers: [1763]
1763,13 unequal: No Solution
Exploring Operation: 43-41=2, Resulting Numbers: [2]
2,13 unequal: No Solution
Exploring Operation: 41+43=84, Resulting Numbers: [84]
84,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 13:[54, 30], Operations: ['56-15=41', '41-11=30']
Exploring Operation: 54*30=1620, Resulting Numbers: [1620]
1620,13 unequal: No Solution
Exploring Operation: 54-30=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 54+30=84, Resulting Numbers: [84]
84,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 13:[41, 65], Operations: ['56-15=41', '11+54=65']
Exploring Operation: 41*65=2665, Resulting Numbers: [2665]
2665,13 unequal: No Solution
Exploring Operation: 41+65=106, Resulting Numbers: [106]
106,13 unequal: No Solution
Exploring Operation: 65-41=24, Resulting Numbers: [24]
24,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[56, 11, 39], Operations: ['54-15=39']
Exploring Operation: 39-11=28, Resulting Numbers: [56, 28]
Generated Node #0,1,0: 13:[56, 28] Operation: 39-11=28
Exploring Operation: 56-39=17, Resulting Numbers: [11, 17]
Generated Node #0,1,1: 13:[11, 17] Operation: 56-39=17
Exploring Operation: 56-11=45, Resulting Numbers: [39, 45]
Generated Node #0,1,2: 13:[39, 45] Operation: 56-11=45
Exploring Operation: 56+11=67, Resulting Numbers: [39, 67]
Generated Node #0,1,3: 13:[39, 67] Operation: 56+11=67
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 13:[11, 17], Operations: ['54-15=39', '56-39=17']
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,13 unequal: No Solution
Exploring Operation: 11+17=28, Resulting Numbers: [28]
28,13 unequal: No Solution
Exploring Operation: 11*17=187, Resulting Numbers: [187]
187,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 13:[56, 28], Operations: ['54-15=39', '39-11=28']
Exploring Operation: 56+28=84, Resulting Numbers: [84]
84,13 unequal: No Solution
Exploring Operation: 56*28=1568, Resulting Numbers: [1568]
1568,13 unequal: No Solution
Exploring Operation: 56/28=2, Resulting Numbers: [2]
2,13 unequal: No Solution
Exploring Operation: 56-28=28, Resulting Numbers: [28]
28,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 13:[39, 45], Operations: ['54-15=39', '56-11=45']
Exploring Operation: 45-39=6, Resulting Numbers: [6]
6,13 unequal: No Solution
Exploring Operation: 39+45=84, Resulting Numbers: [84]
84,13 unequal: No Solution
Exploring Operation: 39*45=1755, Resulting Numbers: [1755]
1755,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 13:[39, 67], Operations: ['54-15=39', '56+11=67']
Exploring Operation: 39+67=106, Resulting Numbers: [106]
106,13 unequal: No Solution
Exploring Operation: 67-39=28, Resulting Numbers: [28]
28,13 unequal: No Solution
Exploring Operation: 39*67=2613, Resulting Numbers: [2613]
2613,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 13:[54, 15, 45], Operations: ['56-11=45']
Exploring Operation: 54-45=9, Resulting Numbers: [15, 9]
Generated Node #0,3,0: 13:[15, 9] Operation: 54-45=9
Exploring Operation: 45-15=30, Resulting Numbers: [54, 30]
Generated Node #0,3,1: 13:[54, 30] Operation: 45-15=30
Exploring Operation: 54-15=39, Resulting Numbers: [45, 39]
Generated Node #0,3,2: 13:[45, 39] Operation: 54-15=39
Exploring Operation: 45/15=3, Resulting Numbers: [54, 3]
Generated Node #0,3,3: 13:[54, 3] Operation: 45/15=3
Moving to Node #0,3,0
Current State: 13:[15, 9], Operations: ['56-11=45', '54-45=9']
Exploring Operation: 15-9=6, Resulting Numbers: [6]
6,13 unequal: No Solution
Exploring Operation: 15+9=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 15*9=135, Resulting Numbers: [135]
135,13 unequal: No Solution
Moving to Node #0,3,3
Current State: 13:[54, 3], Operations: ['56-11=45', '45/15=3']
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,13 unequal: No Solution
Exploring Operation: 54+3=57, Resulting Numbers: [57]
57,13 unequal: No Solution
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,13 unequal: No Solution
Exploring Operation: 54*3=162, Resulting Numbers: [162]
162,13 unequal: No Solution
Moving to Node #0,3,2
Current State: 13:[45, 39], Operations: ['56-11=45', '54-15=39']
Exploring Operation: 45-39=6, Resulting Numbers: [6]
6,13 unequal: No Solution
Exploring Operation: 45*39=1755, Resulting Numbers: [1755]
1755,13 unequal: No Solution
Exploring Operation: 45+39=84, Resulting Numbers: [84]
84,13 unequal: No Solution
Moving to Node #0,3,1
Current State: 13:[54, 30], Operations: ['56-11=45', '45-15=30']
Exploring Operation: 54-30=24, Resulting Numbers: [24]
24,13 unequal: No Solution
Exploring Operation: 54*30=1620, Resulting Numbers: [1620]
1620,13 unequal: No Solution
Exploring Operation: 54+30=84, Resulting Numbers: [84]
84,13 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 |
[
13,
42,
77,
25
] | 46 | [
"77-25=52",
"52/13=4",
"42+4=46"
] | Current State: 46:[13, 42, 77, 25], Operations: []
Exploring Operation: 77-25=52, Resulting Numbers: [13, 42, 52]
Generated Node #2: [13, 42, 52] from Operation: 77-25=52
Current State: 46:[13, 42, 52], Operations: ['77-25=52']
Exploring Operation: 52/13=4, Resulting Numbers: [42, 4]
Generated Node #3: [42, 4] from Operation: 52/13=4
Current State: 46:[42, 4], Operations: ['77-25=52', '52/13=4']
Exploring Operation: 42+4=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[13, 42, 77, 25], Operations: []
Exploring Operation: 77-25=52, Resulting Numbers: [13, 42, 52]
Generated Node #0,0: 46:[13, 42, 52] Operation: 77-25=52
Exploring Operation: 77-42=35, Resulting Numbers: [13, 25, 35]
Generated Node #0,1: 46:[13, 25, 35] Operation: 77-42=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[13, 42, 52], Operations: ['77-25=52']
Exploring Operation: 52/13=4, Resulting Numbers: [42, 4]
Generated Node #0,0,0: 46:[42, 4] Operation: 52/13=4
Exploring Operation: 52-13=39, Resulting Numbers: [42, 39]
Generated Node #0,0,1: 46:[42, 39] Operation: 52-13=39
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 46:[42, 4], Operations: ['77-25=52', '52/13=4']
Exploring Operation: 42+4=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[13, 42, 77, 25], Operations: []
Exploring Operation: 77-25=52, Resulting Numbers: [13, 42, 52]
Generated Node #0,0: 46:[13, 42, 52] Operation: 77-25=52
Moving to Node #0,0
Current State: 46:[13, 42, 52], Operations: ['77-25=52']
Exploring Operation: 52/13=4, Resulting Numbers: [42, 4]
Generated Node #0,0,0: 46:[42, 4] Operation: 52/13=4
Moving to Node #0,0,0
Current State: 46:[42, 4], Operations: ['77-25=52', '52/13=4']
Exploring Operation: 42+4=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
32,
3,
96,
96
] | 87 | [
"96/32=3",
"3*3=9",
"96-9=87"
] | Current State: 87:[32, 3, 96, 96], Operations: []
Exploring Operation: 96/32=3, Resulting Numbers: [3, 3]
Generated Node #2: [3, 3] from Operation: 96/32=3
Current State: 87:[3, 3], Operations: ['96/32=3']
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,87 equal: Goal Reached
Exploring Operation: 96-9=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[32, 3, 96, 96], Operations: []
Exploring Operation: 96/32=3, Resulting Numbers: [3, 96, 3]
Generated Node #0,0: 87:[3, 96, 3] Operation: 96/32=3
Exploring Operation: 96/96=1, Resulting Numbers: [32, 3, 1]
Generated Node #0,1: 87:[32, 3, 1] Operation: 96/96=1
Exploring Operation: 96/32=3, Resulting Numbers: [3, 96, 3]
Generated Node #0,2: 87:[3, 96, 3] Operation: 96/32=3
Exploring Operation: 96-96=0, Resulting Numbers: [32, 3, 0]
Generated Node #0,3: 87:[32, 3, 0] Operation: 96-96=0
Exploring Operation: 96/3=32, Resulting Numbers: [32, 96, 32]
Generated Node #0,4: 87:[32, 96, 32] Operation: 96/3=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 87:[32, 3, 1], Operations: ['96/96=1']
Exploring Operation: 32-3=29, Resulting Numbers: [1, 29]
Generated Node #0,1,0: 87:[1, 29] Operation: 32-3=29
Exploring Operation: 32-1=31, Resulting Numbers: [3, 31]
Generated Node #0,1,1: 87:[3, 31] Operation: 32-1=31
Exploring Operation: 32/1=32, Resulting Numbers: [3, 32]
Generated Node #0,1,2: 87:[3, 32] Operation: 32/1=32
Exploring Operation: 32*1=32, Resulting Numbers: [3, 32]
Generated Node #0,1,3: 87:[3, 32] Operation: 32*1=32
Exploring Operation: 3*1=3, Resulting Numbers: [32, 3]
Generated Node #0,1,4: 87:[32, 3] Operation: 3*1=3
Moving to Node #0,1,0
Current State: 87:[1, 29], Operations: ['96/96=1', '32-3=29']
Exploring Operation: 1+29=30, Resulting Numbers: [30]
30,87 unequal: No Solution
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,87 unequal: No Solution
Exploring Operation: 1*29=29, Resulting Numbers: [29]
29,87 unequal: No Solution
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,87 unequal: No Solution
Moving to Node #0,1,1
Current State: 87:[3, 31], Operations: ['96/96=1', '32-1=31']
Exploring Operation: 31-3=28, Resulting Numbers: [28]
28,87 unequal: No Solution
Exploring Operation: 3+31=34, Resulting Numbers: [34]
34,87 unequal: No Solution
Exploring Operation: 3*31=93, Resulting Numbers: [93]
93,87 unequal: No Solution
Moving to Node #0,1,2
Current State: 87:[3, 32], Operations: ['96/96=1', '32/1=32']
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,87 unequal: No Solution
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,87 unequal: No Solution
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,87 unequal: No Solution
Moving to Node #0,1,3
Current State: 87:[3, 32], Operations: ['96/96=1', '32*1=32']
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,87 unequal: No Solution
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,87 unequal: No Solution
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,87 unequal: No Solution
Moving to Node #0,1,4
Current State: 87:[32, 3], Operations: ['96/96=1', '3*1=3']
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,87 unequal: No Solution
Exploring Operation: 32+3=35, Resulting Numbers: [35]
35,87 unequal: No Solution
Exploring Operation: 32*3=96, Resulting Numbers: [96]
96,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 87:[32, 3, 0], Operations: ['96-96=0']
Exploring Operation: 32-3=29, Resulting Numbers: [0, 29]
Generated Node #0,3,0: 87:[0, 29] Operation: 32-3=29
Exploring Operation: 32-0=32, Resulting Numbers: [3, 32]
Generated Node #0,3,1: 87:[3, 32] Operation: 32-0=32
Exploring Operation: 3+0=3, Resulting Numbers: [32, 3]
Generated Node #0,3,2: 87:[32, 3] Operation: 3+0=3
Exploring Operation: 32+0=32, Resulting Numbers: [3, 32]
Generated Node #0,3,3: 87:[3, 32] Operation: 32+0=32
Exploring Operation: 32*0=0, Resulting Numbers: [3, 0]
Generated Node #0,3,4: 87:[3, 0] Operation: 32*0=0
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 87:[0, 29], Operations: ['96-96=0', '32-3=29']
Exploring Operation: 29-0=29, Resulting Numbers: [29]
29,87 unequal: No Solution
Exploring Operation: 0+29=29, Resulting Numbers: [29]
29,87 unequal: No Solution
Exploring Operation: 0*29=0, Resulting Numbers: [0]
0,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,3,1
Current State: 87:[3, 32], Operations: ['96-96=0', '32-0=32']
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,87 unequal: No Solution
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,87 unequal: No Solution
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,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,3,2
Current State: 87:[32, 3], Operations: ['96-96=0', '3+0=3']
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,87 unequal: No Solution
Exploring Operation: 32+3=35, Resulting Numbers: [35]
35,87 unequal: No Solution
Exploring Operation: 32*3=96, Resulting Numbers: [96]
96,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,3,3
Current State: 87:[3, 32], Operations: ['96-96=0', '32+0=32']
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,87 unequal: No Solution
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,87 unequal: No Solution
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,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,3,4
Current State: 87:[3, 0], Operations: ['96-96=0', '32*0=0']
Exploring Operation: 3+0=3, Resulting Numbers: [3]
3,87 unequal: No Solution
Exploring Operation: 3-0=3, Resulting Numbers: [3]
3,87 unequal: No Solution
Exploring Operation: 3*0=0, Resulting Numbers: [0]
0,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:[3, 96, 3], Operations: ['96/32=3']
Exploring Operation: 96/3=32, Resulting Numbers: [3, 32]
Generated Node #0,0,0: 87:[3, 32] Operation: 96/3=32
Exploring Operation: 96-3=93, Resulting Numbers: [3, 93]
Generated Node #0,0,1: 87:[3, 93] Operation: 96-3=93
Exploring Operation: 3/3=1, Resulting Numbers: [96, 1]
Generated Node #0,0,2: 87:[96, 1] Operation: 3/3=1
Exploring Operation: 96-3=93, Resulting Numbers: [3, 93]
Generated Node #0,0,3: 87:[3, 93] Operation: 96-3=93
Exploring Operation: 96/3=32, Resulting Numbers: [3, 32]
Generated Node #0,0,4: 87:[3, 32] Operation: 96/3=32
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 87:[3, 32], Operations: ['96/32=3', '96/3=32']
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,87 unequal: No Solution
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,87 unequal: No Solution
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,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,0,4
Current State: 87:[3, 32], Operations: ['96/32=3', '96/3=32']
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,87 unequal: No Solution
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,87 unequal: No Solution
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,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,0,1
Current State: 87:[3, 93], Operations: ['96/32=3', '96-3=93']
Exploring Operation: 3+93=96, Resulting Numbers: [96]
96,87 unequal: No Solution
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,87 unequal: No Solution
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,87 unequal: No Solution
Exploring Operation: 3*93=279, Resulting Numbers: [279]
279,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,0,3
Current State: 87:[3, 93], Operations: ['96/32=3', '96-3=93']
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,87 unequal: No Solution
Exploring Operation: 3*93=279, Resulting Numbers: [279]
279,87 unequal: No Solution
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,87 unequal: No Solution
Exploring Operation: 3+93=96, Resulting Numbers: [96]
96,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,0,2
Current State: 87:[96, 1], Operations: ['96/32=3', '3/3=1']
Exploring Operation: 96*1=96, Resulting Numbers: [96]
96,87 unequal: No Solution
Exploring Operation: 96+1=97, Resulting Numbers: [97]
97,87 unequal: No Solution
Exploring Operation: 96/1=96, Resulting Numbers: [96]
96,87 unequal: No Solution
Exploring Operation: 96-1=95, Resulting Numbers: [95]
95,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,2
Current State: 87:[3, 96, 3], Operations: ['96/32=3']
Exploring Operation: 3/3=1, Resulting Numbers: [96, 1]
Generated Node #0,2,0: 87:[96, 1] Operation: 3/3=1
Exploring Operation: 96-3=93, Resulting Numbers: [3, 93]
Generated Node #0,2,1: 87:[3, 93] Operation: 96-3=93
Exploring Operation: 96-3=93, Resulting Numbers: [3, 93]
Generated Node #0,2,2: 87:[3, 93] Operation: 96-3=93
Exploring Operation: 96/3=32, Resulting Numbers: [3, 32]
Generated Node #0,2,3: 87:[3, 32] Operation: 96/3=32
Exploring Operation: 96/3=32, Resulting Numbers: [3, 32]
Generated Node #0,2,4: 87:[3, 32] Operation: 96/3=32
Moving to Node #0,2,3
Current State: 87:[3, 32], Operations: ['96/32=3', '96/3=32']
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,87 unequal: No Solution
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,87 unequal: No Solution
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,87 unequal: No Solution
Moving to Node #0,2,4
Current State: 87:[3, 32], Operations: ['96/32=3', '96/3=32']
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,87 unequal: No Solution
Exploring Operation: 3+32=35, Resulting Numbers: [35]
35,87 unequal: No Solution
Exploring Operation: 3*32=96, Resulting Numbers: [96]
96,87 unequal: No Solution
Moving to Node #0,2,1
Current State: 87:[3, 93], Operations: ['96/32=3', '96-3=93']
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,87 unequal: No Solution
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,87 unequal: No Solution
Exploring Operation: 3*93=279, Resulting Numbers: [279]
279,87 unequal: No Solution
Exploring Operation: 3+93=96, Resulting Numbers: [96]
96,87 unequal: No Solution
Moving to Node #0,2,2
Current State: 87:[3, 93], Operations: ['96/32=3', '96-3=93']
Exploring Operation: 3+93=96, Resulting Numbers: [96]
96,87 unequal: No Solution
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,87 unequal: No Solution
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,87 unequal: No Solution
Exploring Operation: 3*93=279, Resulting Numbers: [279]
279,87 unequal: No Solution
Moving to Node #0,2,0
Current State: 87:[96, 1], Operations: ['96/32=3', '3/3=1']
Exploring Operation: 96/1=96, Resulting Numbers: [96]
96,87 unequal: No Solution
Exploring Operation: 96-1=95, Resulting Numbers: [95]
95,87 unequal: No Solution
Exploring Operation: 96*1=96, Resulting Numbers: [96]
96,87 unequal: No Solution
Exploring Operation: 96+1=97, Resulting Numbers: [97]
97,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 87:[32, 96, 32], Operations: ['96/3=32']
Exploring Operation: 32-32=0, Resulting Numbers: [96, 0]
Generated Node #0,4,0: 87:[96, 0] Operation: 32-32=0
Exploring Operation: 32/32=1, Resulting Numbers: [96, 1]
Generated Node #0,4,1: 87:[96, 1] Operation: 32/32=1
Exploring Operation: 96-32=64, Resulting Numbers: [32, 64]
Generated Node #0,4,2: 87:[32, 64] Operation: 96-32=64
Exploring Operation: 96/32=3, Resulting Numbers: [32, 3]
Generated Node #0,4,3: 87:[32, 3] Operation: 96/32=3
Exploring Operation: 96/32=3, Resulting Numbers: [32, 3]
Generated Node #0,4,4: 87:[32, 3] Operation: 96/32=3
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 87:[32, 3], Operations: ['96/3=32', '96/32=3']
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,87 unequal: No Solution
Exploring Operation: 32+3=35, Resulting Numbers: [35]
35,87 unequal: No Solution
Exploring Operation: 32*3=96, Resulting Numbers: [96]
96,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,4,4
Current State: 87:[32, 3], Operations: ['96/3=32', '96/32=3']
Exploring Operation: 32+3=35, Resulting Numbers: [35]
35,87 unequal: No Solution
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,87 unequal: No Solution
Exploring Operation: 32*3=96, Resulting Numbers: [96]
96,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,4,1
Current State: 87:[96, 1], Operations: ['96/3=32', '32/32=1']
Exploring Operation: 96-1=95, Resulting Numbers: [95]
95,87 unequal: No Solution
Exploring Operation: 96+1=97, Resulting Numbers: [97]
97,87 unequal: No Solution
Exploring Operation: 96*1=96, Resulting Numbers: [96]
96,87 unequal: No Solution
Exploring Operation: 96/1=96, Resulting Numbers: [96]
96,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,4,0
Current State: 87:[96, 0], Operations: ['96/3=32', '32-32=0']
Exploring Operation: 96*0=0, Resulting Numbers: [0]
0,87 unequal: No Solution
Exploring Operation: 96+0=96, Resulting Numbers: [96]
96,87 unequal: No Solution
Exploring Operation: 96-0=96, Resulting Numbers: [96]
96,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,4,2
Current State: 87:[32, 64], Operations: ['96/3=32', '96-32=64']
Exploring Operation: 64/32=2, Resulting Numbers: [2]
2,87 unequal: No Solution
Exploring Operation: 32*64=2048, Resulting Numbers: [2048]
2048,87 unequal: No Solution
Exploring Operation: 32+64=96, Resulting Numbers: [96]
96,87 unequal: No Solution
Exploring Operation: 64-32=32, Resulting Numbers: [32]
32,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
No solution found.
| 0 | hs_5 | sum_heuristic |
[
2,
58,
56,
22
] | 64 | [
"56/2=28",
"58-22=36",
"28+36=64"
] | Current State: 64:[2, 58, 56, 22], Operations: []
Exploring Operation: 56/2=28, Resulting Numbers: [58, 22, 28]
Generated Node #2: [58, 22, 28] from Operation: 56/2=28
Current State: 64:[58, 22, 28], Operations: ['56/2=28']
Exploring Operation: 58-22=36, Resulting Numbers: [28, 36]
Generated Node #3: [28, 36] from Operation: 58-22=36
Current State: 64:[28, 36], Operations: ['56/2=28', '58-22=36']
Exploring Operation: 28+36=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[2, 58, 56, 22], Operations: []
Exploring Operation: 58-56=2, Resulting Numbers: [2, 22, 2]
Generated Node #0,0: 64:[2, 22, 2] Operation: 58-56=2
Exploring Operation: 56-22=34, Resulting Numbers: [2, 58, 34]
Generated Node #0,1: 64:[2, 58, 34] Operation: 56-22=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[2, 22, 2], Operations: ['58-56=2']
Exploring Operation: 22/2=11, Resulting Numbers: [2, 11]
Generated Node #0,0,0: 64:[2, 11] Operation: 22/2=11
Exploring Operation: 22/2=11, Resulting Numbers: [2, 11]
Generated Node #0,0,1: 64:[2, 11] Operation: 22/2=11
Moving to Node #0,0,0
Current State: 64:[2, 11], Operations: ['58-56=2', '22/2=11']
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,64 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,64 unequal: No Solution
Moving to Node #0,0,1
Current State: 64:[2, 11], Operations: ['58-56=2', '22/2=11']
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,64 unequal: No Solution
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[2, 58, 34], Operations: ['56-22=34']
Exploring Operation: 2+58=60, Resulting Numbers: [34, 60]
Generated Node #0,1,0: 64:[34, 60] Operation: 2+58=60
Exploring Operation: 58/2=29, Resulting Numbers: [34, 29]
Generated Node #0,1,1: 64:[34, 29] Operation: 58/2=29
Moving to Node #0,1,1
Current State: 64:[34, 29], Operations: ['56-22=34', '58/2=29']
Exploring Operation: 34-29=5, Resulting Numbers: [5]
5,64 unequal: No Solution
Exploring Operation: 34+29=63, Resulting Numbers: [63]
63,64 unequal: No Solution
Moving to Node #0,1,0
Current State: 64:[34, 60], Operations: ['56-22=34', '2+58=60']
Exploring Operation: 60-34=26, Resulting Numbers: [26]
26,64 unequal: No Solution
Exploring Operation: 34+60=94, Resulting Numbers: [94]
94,64 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 |
[
85,
23,
32,
95
] | 19 | [
"85+23=108",
"32+95=127",
"127-108=19"
] | Current State: 19:[85, 23, 32, 95], Operations: []
Exploring Operation: 85+23=108, Resulting Numbers: [32, 95, 108]
Generated Node #2: [32, 95, 108] from Operation: 85+23=108
Current State: 19:[32, 95, 108], Operations: ['85+23=108']
Exploring Operation: 32+95=127, Resulting Numbers: [108, 127]
Generated Node #3: [108, 127] from Operation: 32+95=127
Current State: 19:[108, 127], Operations: ['85+23=108', '32+95=127']
Exploring Operation: 127-108=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[85, 23, 32, 95], Operations: []
Exploring Operation: 95-32=63, Resulting Numbers: [85, 23, 63]
Generated Node #0,0: 19:[85, 23, 63] Operation: 95-32=63
Exploring Operation: 95-85=10, Resulting Numbers: [23, 32, 10]
Generated Node #0,1: 19:[23, 32, 10] Operation: 95-85=10
Exploring Operation: 85-32=53, Resulting Numbers: [23, 95, 53]
Generated Node #0,2: 19:[23, 95, 53] Operation: 85-32=53
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[23, 32, 10], Operations: ['95-85=10']
Exploring Operation: 32-10=22, Resulting Numbers: [23, 22]
Generated Node #0,1,0: 19:[23, 22] Operation: 32-10=22
Exploring Operation: 32-23=9, Resulting Numbers: [10, 9]
Generated Node #0,1,1: 19:[10, 9] Operation: 32-23=9
Exploring Operation: 23-10=13, Resulting Numbers: [32, 13]
Generated Node #0,1,2: 19:[32, 13] Operation: 23-10=13
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 19:[23, 22], Operations: ['95-85=10', '32-10=22']
Exploring Operation: 23+22=45, Resulting Numbers: [45]
45,19 unequal: No Solution
Exploring Operation: 23*22=506, Resulting Numbers: [506]
506,19 unequal: No Solution
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 19:[10, 9], Operations: ['95-85=10', '32-23=9']
Exploring Operation: 10*9=90, Resulting Numbers: [90]
90,19 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,19 unequal: No Solution
Exploring Operation: 10+9=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[85, 23, 32, 95], Operations: []
Exploring Operation: 95-85=10, Resulting Numbers: [23, 32, 10]
Generated Node #0,1: 19:[23, 32, 10] Operation: 95-85=10
Moving to Node #0,1
Current State: 19:[23, 32, 10], Operations: ['95-85=10']
Exploring Operation: 32-23=9, Resulting Numbers: [10, 9]
Generated Node #0,1,1: 19:[10, 9] Operation: 32-23=9
Moving to Node #0,1,1
Current State: 19:[10, 9], Operations: ['95-85=10', '32-23=9']
Exploring Operation: 10+9=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_3 | mult_heuristic |
[
36,
6,
3,
25
] | 65 | [
"36-6=30",
"3*30=90",
"90-25=65"
] | Current State: 65:[36, 6, 3, 25], Operations: []
Exploring Operation: 36-6=30, Resulting Numbers: [3, 25, 30]
Generated Node #2: [3, 25, 30] from Operation: 36-6=30
Current State: 65:[3, 25, 30], Operations: ['36-6=30']
Exploring Operation: 3*30=90, Resulting Numbers: [25, 90]
Generated Node #3: [25, 90] from Operation: 3*30=90
Current State: 65:[25, 90], Operations: ['36-6=30', '3*30=90']
Exploring Operation: 90-25=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[36, 6, 3, 25], Operations: []
Exploring Operation: 36-25=11, Resulting Numbers: [6, 3, 11]
Generated Node #0,0: 65:[6, 3, 11] Operation: 36-25=11
Exploring Operation: 36+25=61, Resulting Numbers: [6, 3, 61]
Generated Node #0,1: 65:[6, 3, 61] Operation: 36+25=61
Moving to Node #0,0
Current State: 65:[6, 3, 11], Operations: ['36-25=11']
Exploring Operation: 11-6=5, Resulting Numbers: [3, 5]
Generated Node #0,0,0: 65:[3, 5] Operation: 11-6=5
Exploring Operation: 3+11=14, Resulting Numbers: [6, 14]
Generated Node #0,0,1: 65:[6, 14] Operation: 3+11=14
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 65:[3, 5], Operations: ['36-25=11', '11-6=5']
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 65:[6, 14], Operations: ['36-25=11', '3+11=14']
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Exploring Operation: 6+14=20, Resulting Numbers: [20]
20,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 65:[6, 3, 61], Operations: ['36+25=61']
Exploring Operation: 3+61=64, Resulting Numbers: [6, 64]
Generated Node #0,1,0: 65:[6, 64] Operation: 3+61=64
Exploring Operation: 6+61=67, Resulting Numbers: [3, 67]
Generated Node #0,1,1: 65:[3, 67] Operation: 6+61=67
Moving to Node #0,1,0
Current State: 65:[6, 64], Operations: ['36+25=61', '3+61=64']
Exploring Operation: 64-6=58, Resulting Numbers: [58]
58,65 unequal: No Solution
Exploring Operation: 6+64=70, Resulting Numbers: [70]
70,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[3, 67], Operations: ['36+25=61', '6+61=67']
Exploring Operation: 3+67=70, Resulting Numbers: [70]
70,65 unequal: No Solution
Exploring Operation: 67-3=64, Resulting Numbers: [64]
64,65 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
9,
70,
56,
62
] | 63 | [
"9*56=504",
"70-62=8",
"504/8=63"
] | Current State: 63:[9, 70, 56, 62], Operations: []
Exploring Operation: 9*56=504, Resulting Numbers: [70, 62, 504]
Generated Node #2: [70, 62, 504] from Operation: 9*56=504
Current State: 63:[70, 62, 504], Operations: ['9*56=504']
Exploring Operation: 70-62=8, Resulting Numbers: [504, 8]
Generated Node #3: [504, 8] from Operation: 70-62=8
Current State: 63:[504, 8], Operations: ['9*56=504', '70-62=8']
Exploring Operation: 504/8=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[9, 70, 56, 62], Operations: []
Exploring Operation: 70-56=14, Resulting Numbers: [9, 62, 14]
Generated Node #0,0: 63:[9, 62, 14] Operation: 70-56=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[9, 62, 14], Operations: ['70-56=14']
Exploring Operation: 9+14=23, Resulting Numbers: [62, 23]
Generated Node #0,0,0: 63:[62, 23] Operation: 9+14=23
Moving to Node #0,0,0
Current State: 63:[62, 23], Operations: ['70-56=14', '9+14=23']
Exploring Operation: 62-23=39, Resulting Numbers: [39]
39,63 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 |
[
39,
29,
28,
30
] | 67 | [
"39+28=67",
"30-29=1",
"67*1=67"
] | Current State: 67:[39, 29, 28, 30], Operations: []
Exploring Operation: 39+28=67, Resulting Numbers: [29, 30, 67]
Generated Node #2: [29, 30, 67] from Operation: 39+28=67
Current State: 67:[29, 30, 67], Operations: ['39+28=67']
Exploring Operation: 30-29=1, Resulting Numbers: [67, 1]
Generated Node #3: [67, 1] from Operation: 30-29=1
Current State: 67:[67, 1], Operations: ['39+28=67', '30-29=1']
Exploring Operation: 67*1=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[39, 29, 28, 30], Operations: []
Exploring Operation: 29+28=57, Resulting Numbers: [39, 30, 57]
Generated Node #0,0: 67:[39, 30, 57] Operation: 29+28=57
Exploring Operation: 39+28=67, Resulting Numbers: [29, 30, 67]
Generated Node #0,1: 67:[29, 30, 67] Operation: 39+28=67
Exploring Operation: 29+30=59, Resulting Numbers: [39, 28, 59]
Generated Node #0,2: 67:[39, 28, 59] Operation: 29+30=59
Moving to Node #0,0
Current State: 67:[39, 30, 57], Operations: ['29+28=57']
Exploring Operation: 39+30=69, Resulting Numbers: [57, 69]
Generated Node #0,0,0: 67:[57, 69] Operation: 39+30=69
Exploring Operation: 30+57=87, Resulting Numbers: [39, 87]
Generated Node #0,0,1: 67:[39, 87] Operation: 30+57=87
Exploring Operation: 39+57=96, Resulting Numbers: [30, 96]
Generated Node #0,0,2: 67:[30, 96] Operation: 39+57=96
Moving to Node #0,1
Current State: 67:[29, 30, 67], Operations: ['39+28=67']
Exploring Operation: 30-29=1, Resulting Numbers: [67, 1]
Generated Node #0,1,0: 67:[67, 1] Operation: 30-29=1
Exploring Operation: 29+30=59, Resulting Numbers: [67, 59]
Generated Node #0,1,1: 67:[67, 59] Operation: 29+30=59
Exploring Operation: 29+67=96, Resulting Numbers: [30, 96]
Generated Node #0,1,2: 67:[30, 96] Operation: 29+67=96
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 67:[67, 59], Operations: ['39+28=67', '29+30=59']
Exploring Operation: 67-59=8, Resulting Numbers: [8]
8,67 unequal: No Solution
Exploring Operation: 67+59=126, Resulting Numbers: [126]
126,67 unequal: No Solution
Exploring Operation: 67*59=3953, Resulting Numbers: [3953]
3953,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,0
Current State: 67:[67, 1], Operations: ['39+28=67', '30-29=1']
Exploring Operation: 67*1=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[39, 29, 28, 30], Operations: []
Exploring Operation: 39+28=67, Resulting Numbers: [29, 30, 67]
Generated Node #0,1: 67:[29, 30, 67] Operation: 39+28=67
Moving to Node #0,1
Current State: 67:[29, 30, 67], Operations: ['39+28=67']
Exploring Operation: 30-29=1, Resulting Numbers: [67, 1]
Generated Node #0,1,0: 67:[67, 1] Operation: 30-29=1
Moving to Node #0,1,0
Current State: 67:[67, 1], Operations: ['39+28=67', '30-29=1']
Exploring Operation: 67*1=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | sum_heuristic |
[
89,
79,
41,
86
] | 35 | [
"89-79=10",
"86-41=45",
"45-10=35"
] | Current State: 35:[89, 79, 41, 86], Operations: []
Exploring Operation: 89-79=10, Resulting Numbers: [41, 86, 10]
Generated Node #2: [41, 86, 10] from Operation: 89-79=10
Current State: 35:[41, 86, 10], Operations: ['89-79=10']
Exploring Operation: 86-41=45, Resulting Numbers: [10, 45]
Generated Node #3: [10, 45] from Operation: 86-41=45
Current State: 35:[10, 45], Operations: ['89-79=10', '86-41=45']
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[89, 79, 41, 86], Operations: []
Exploring Operation: 86-79=7, Resulting Numbers: [89, 41, 7]
Generated Node #0,0: 35:[89, 41, 7] Operation: 86-79=7
Exploring Operation: 89-86=3, Resulting Numbers: [79, 41, 3]
Generated Node #0,1: 35:[79, 41, 3] Operation: 89-86=3
Exploring Operation: 89-79=10, Resulting Numbers: [41, 86, 10]
Generated Node #0,2: 35:[41, 86, 10] Operation: 89-79=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 35:[79, 41, 3], Operations: ['89-86=3']
Exploring Operation: 41-3=38, Resulting Numbers: [79, 38]
Generated Node #0,1,0: 35:[79, 38] Operation: 41-3=38
Exploring Operation: 79-41=38, Resulting Numbers: [3, 38]
Generated Node #0,1,1: 35:[3, 38] Operation: 79-41=38
Exploring Operation: 79-3=76, Resulting Numbers: [41, 76]
Generated Node #0,1,2: 35:[41, 76] Operation: 79-3=76
Moving to Node #0,1,1
Current State: 35:[3, 38], Operations: ['89-86=3', '79-41=38']
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[89, 79, 41, 86], Operations: []
Exploring Operation: 89-86=3, Resulting Numbers: [79, 41, 3]
Generated Node #0,1: 35:[79, 41, 3] Operation: 89-86=3
Moving to Node #0,1
Current State: 35:[79, 41, 3], Operations: ['89-86=3']
Exploring Operation: 79-41=38, Resulting Numbers: [3, 38]
Generated Node #0,1,1: 35:[3, 38] Operation: 79-41=38
Moving to Node #0,1,1
Current State: 35:[3, 38], Operations: ['89-86=3', '79-41=38']
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
87,
44,
23,
84
] | 25 | [
"87-84=3",
"23*3=69",
"69-44=25"
] | Current State: 25:[87, 44, 23, 84], Operations: []
Exploring Operation: 87-84=3, Resulting Numbers: [44, 23, 3]
Generated Node #2: [44, 23, 3] from Operation: 87-84=3
Current State: 25:[44, 23, 3], Operations: ['87-84=3']
Exploring Operation: 23*3=69, Resulting Numbers: [44, 69]
Generated Node #3: [44, 69] from Operation: 23*3=69
Current State: 25:[44, 69], Operations: ['87-84=3', '23*3=69']
Exploring Operation: 69-44=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[87, 44, 23, 84], Operations: []
Exploring Operation: 87-44=43, Resulting Numbers: [23, 84, 43]
Generated Node #0,0: 25:[23, 84, 43] Operation: 87-44=43
Exploring Operation: 87-84=3, Resulting Numbers: [44, 23, 3]
Generated Node #0,1: 25:[44, 23, 3] Operation: 87-84=3
Moving to Node #0,1
Current State: 25:[44, 23, 3], Operations: ['87-84=3']
Exploring Operation: 44-3=41, Resulting Numbers: [23, 41]
Generated Node #0,1,0: 25:[23, 41] Operation: 44-3=41
Exploring Operation: 44-23=21, Resulting Numbers: [3, 21]
Generated Node #0,1,1: 25:[3, 21] Operation: 44-23=21
Moving to Node #0,0
Current State: 25:[23, 84, 43], Operations: ['87-44=43']
Exploring Operation: 84-23=61, Resulting Numbers: [43, 61]
Generated Node #0,0,0: 25:[43, 61] Operation: 84-23=61
Exploring Operation: 84-43=41, Resulting Numbers: [23, 41]
Generated Node #0,0,1: 25:[23, 41] Operation: 84-43=41
Moving to Node #0,1,1
Current State: 25:[3, 21], Operations: ['87-84=3', '44-23=21']
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,25 unequal: No Solution
Exploring Operation: 3+21=24, Resulting Numbers: [24]
24,25 unequal: No Solution
Moving to Node #0,0,1
Current State: 25:[23, 41], Operations: ['87-44=43', '84-43=41']
Exploring Operation: 41-23=18, Resulting Numbers: [18]
18,25 unequal: No Solution
Exploring Operation: 23+41=64, Resulting Numbers: [64]
64,25 unequal: No Solution
Moving to Node #0,1,0
Current State: 25:[23, 41], Operations: ['87-84=3', '44-3=41']
Exploring Operation: 23+41=64, Resulting Numbers: [64]
64,25 unequal: No Solution
Exploring Operation: 41-23=18, Resulting Numbers: [18]
18,25 unequal: No Solution
Moving to Node #0,0,0
Current State: 25:[43, 61], Operations: ['87-44=43', '84-23=61']
Exploring Operation: 61-43=18, Resulting Numbers: [18]
18,25 unequal: No Solution
Exploring Operation: 43+61=104, Resulting Numbers: [104]
104,25 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
66,
14,
35,
59
] | 50 | [
"66+59=125",
"14*125=1750",
"1750/35=50"
] | Current State: 50:[66, 14, 35, 59], Operations: []
Exploring Operation: 66+59=125, Resulting Numbers: [14, 35, 125]
Generated Node #2: [14, 35, 125] from Operation: 66+59=125
Current State: 50:[14, 35, 125], Operations: ['66+59=125']
Exploring Operation: 14*125=1750, Resulting Numbers: [35, 1750]
Generated Node #3: [35, 1750] from Operation: 14*125=1750
Current State: 50:[35, 1750], Operations: ['66+59=125', '14*125=1750']
Exploring Operation: 1750/35=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[66, 14, 35, 59], Operations: []
Exploring Operation: 14+35=49, Resulting Numbers: [66, 59, 49]
Generated Node #0,0: 50:[66, 59, 49] Operation: 14+35=49
Exploring Operation: 66-35=31, Resulting Numbers: [14, 59, 31]
Generated Node #0,1: 50:[14, 59, 31] Operation: 66-35=31
Exploring Operation: 66-59=7, Resulting Numbers: [14, 35, 7]
Generated Node #0,2: 50:[14, 35, 7] Operation: 66-59=7
Exploring Operation: 59-35=24, Resulting Numbers: [66, 14, 24]
Generated Node #0,3: 50:[66, 14, 24] Operation: 59-35=24
Exploring Operation: 66-14=52, Resulting Numbers: [35, 59, 52]
Generated Node #0,4: 50:[35, 59, 52] Operation: 66-14=52
Start Sub Search at level 1: Moving to Node #0,2
Current State: 50:[14, 35, 7], Operations: ['66-59=7']
Exploring Operation: 14+35=49, Resulting Numbers: [7, 49]
Generated Node #0,2,0: 50:[7, 49] Operation: 14+35=49
Exploring Operation: 14/7=2, Resulting Numbers: [35, 2]
Generated Node #0,2,1: 50:[35, 2] Operation: 14/7=2
Exploring Operation: 35-7=28, Resulting Numbers: [14, 28]
Generated Node #0,2,2: 50:[14, 28] Operation: 35-7=28
Exploring Operation: 35/7=5, Resulting Numbers: [14, 5]
Generated Node #0,2,3: 50:[14, 5] Operation: 35/7=5
Exploring Operation: 35-14=21, Resulting Numbers: [7, 21]
Generated Node #0,2,4: 50:[7, 21] Operation: 35-14=21
Moving to Node #0,2,0
Current State: 50:[7, 49], Operations: ['66-59=7', '14+35=49']
Exploring Operation: 49/7=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Exploring Operation: 7+49=56, Resulting Numbers: [56]
56,50 unequal: No Solution
Exploring Operation: 49-7=42, Resulting Numbers: [42]
42,50 unequal: No Solution
Exploring Operation: 7*49=343, Resulting Numbers: [343]
343,50 unequal: No Solution
Moving to Node #0,2,3
Current State: 50:[14, 5], Operations: ['66-59=7', '35/7=5']
Exploring Operation: 14*5=70, Resulting Numbers: [70]
70,50 unequal: No Solution
Exploring Operation: 14+5=19, Resulting Numbers: [19]
19,50 unequal: No Solution
Exploring Operation: 14-5=9, Resulting Numbers: [9]
9,50 unequal: No Solution
Moving to Node #0,2,4
Current State: 50:[7, 21], Operations: ['66-59=7', '35-14=21']
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,50 unequal: No Solution
Exploring Operation: 7*21=147, Resulting Numbers: [147]
147,50 unequal: No Solution
Exploring Operation: 7+21=28, Resulting Numbers: [28]
28,50 unequal: No Solution
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,50 unequal: No Solution
Moving to Node #0,2,2
Current State: 50:[14, 28], Operations: ['66-59=7', '35-7=28']
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,50 unequal: No Solution
Exploring Operation: 14+28=42, Resulting Numbers: [42]
42,50 unequal: No Solution
Exploring Operation: 14*28=392, Resulting Numbers: [392]
392,50 unequal: No Solution
Exploring Operation: 28/14=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Moving to Node #0,2,1
Current State: 50:[35, 2], Operations: ['66-59=7', '14/7=2']
Exploring Operation: 35*2=70, Resulting Numbers: [70]
70,50 unequal: No Solution
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,50 unequal: No Solution
Exploring Operation: 35+2=37, Resulting Numbers: [37]
37,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[14, 59, 31], Operations: ['66-35=31']
Exploring Operation: 14+59=73, Resulting Numbers: [31, 73]
Generated Node #0,1,0: 50:[31, 73] Operation: 14+59=73
Exploring Operation: 59-14=45, Resulting Numbers: [31, 45]
Generated Node #0,1,1: 50:[31, 45] Operation: 59-14=45
Exploring Operation: 31-14=17, Resulting Numbers: [59, 17]
Generated Node #0,1,2: 50:[59, 17] Operation: 31-14=17
Exploring Operation: 14+31=45, Resulting Numbers: [59, 45]
Generated Node #0,1,3: 50:[59, 45] Operation: 14+31=45
Exploring Operation: 59-31=28, Resulting Numbers: [14, 28]
Generated Node #0,1,4: 50:[14, 28] Operation: 59-31=28
Moving to Node #0,1,4
Current State: 50:[14, 28], Operations: ['66-35=31', '59-31=28']
Exploring Operation: 28/14=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Exploring Operation: 14+28=42, Resulting Numbers: [42]
42,50 unequal: No Solution
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,50 unequal: No Solution
Exploring Operation: 14*28=392, Resulting Numbers: [392]
392,50 unequal: No Solution
Moving to Node #0,1,1
Current State: 50:[31, 45], Operations: ['66-35=31', '59-14=45']
Exploring Operation: 31+45=76, Resulting Numbers: [76]
76,50 unequal: No Solution
Exploring Operation: 45-31=14, Resulting Numbers: [14]
14,50 unequal: No Solution
Exploring Operation: 31*45=1395, Resulting Numbers: [1395]
1395,50 unequal: No Solution
Moving to Node #0,1,3
Current State: 50:[59, 45], Operations: ['66-35=31', '14+31=45']
Exploring Operation: 59+45=104, Resulting Numbers: [104]
104,50 unequal: No Solution
Exploring Operation: 59*45=2655, Resulting Numbers: [2655]
2655,50 unequal: No Solution
Exploring Operation: 59-45=14, Resulting Numbers: [14]
14,50 unequal: No Solution
Moving to Node #0,1,2
Current State: 50:[59, 17], Operations: ['66-35=31', '31-14=17']
Exploring Operation: 59-17=42, Resulting Numbers: [42]
42,50 unequal: No Solution
Exploring Operation: 59+17=76, Resulting Numbers: [76]
76,50 unequal: No Solution
Exploring Operation: 59*17=1003, Resulting Numbers: [1003]
1003,50 unequal: No Solution
Moving to Node #0,1,0
Current State: 50:[31, 73], Operations: ['66-35=31', '14+59=73']
Exploring Operation: 73-31=42, Resulting Numbers: [42]
42,50 unequal: No Solution
Exploring Operation: 31*73=2263, Resulting Numbers: [2263]
2263,50 unequal: No Solution
Exploring Operation: 31+73=104, Resulting Numbers: [104]
104,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,3
Current State: 50:[66, 14, 24], Operations: ['59-35=24']
Exploring Operation: 66-14=52, Resulting Numbers: [24, 52]
Generated Node #0,3,0: 50:[24, 52] Operation: 66-14=52
Exploring Operation: 66-24=42, Resulting Numbers: [14, 42]
Generated Node #0,3,1: 50:[14, 42] Operation: 66-24=42
Exploring Operation: 66+14=80, Resulting Numbers: [24, 80]
Generated Node #0,3,2: 50:[24, 80] Operation: 66+14=80
Exploring Operation: 24-14=10, Resulting Numbers: [66, 10]
Generated Node #0,3,3: 50:[66, 10] Operation: 24-14=10
Exploring Operation: 14+24=38, Resulting Numbers: [66, 38]
Generated Node #0,3,4: 50:[66, 38] Operation: 14+24=38
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 50:[24, 52], Operations: ['59-35=24', '66-14=52']
Exploring Operation: 52-24=28, Resulting Numbers: [28]
28,50 unequal: No Solution
Exploring Operation: 24*52=1248, Resulting Numbers: [1248]
1248,50 unequal: No Solution
Exploring Operation: 24+52=76, Resulting Numbers: [76]
76,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 50:[14, 42], Operations: ['59-35=24', '66-24=42']
Exploring Operation: 42-14=28, Resulting Numbers: [28]
28,50 unequal: No Solution
Exploring Operation: 42/14=3, Resulting Numbers: [3]
3,50 unequal: No Solution
Exploring Operation: 14*42=588, Resulting Numbers: [588]
588,50 unequal: No Solution
Exploring Operation: 14+42=56, Resulting Numbers: [56]
56,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 50:[66, 10], Operations: ['59-35=24', '24-14=10']
Exploring Operation: 66*10=660, Resulting Numbers: [660]
660,50 unequal: No Solution
Exploring Operation: 66-10=56, Resulting Numbers: [56]
56,50 unequal: No Solution
Exploring Operation: 66+10=76, Resulting Numbers: [76]
76,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 50:[66, 38], Operations: ['59-35=24', '14+24=38']
Exploring Operation: 66*38=2508, Resulting Numbers: [2508]
2508,50 unequal: No Solution
Exploring Operation: 66+38=104, Resulting Numbers: [104]
104,50 unequal: No Solution
Exploring Operation: 66-38=28, Resulting Numbers: [28]
28,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 50:[24, 80], Operations: ['59-35=24', '66+14=80']
Exploring Operation: 24*80=1920, Resulting Numbers: [1920]
1920,50 unequal: No Solution
Exploring Operation: 24+80=104, Resulting Numbers: [104]
104,50 unequal: No Solution
Exploring Operation: 80-24=56, Resulting Numbers: [56]
56,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 50:[35, 59, 52], Operations: ['66-14=52']
Exploring Operation: 35+52=87, Resulting Numbers: [59, 87]
Generated Node #0,4,0: 50:[59, 87] Operation: 35+52=87
Exploring Operation: 35+59=94, Resulting Numbers: [52, 94]
Generated Node #0,4,1: 50:[52, 94] Operation: 35+59=94
Exploring Operation: 59-52=7, Resulting Numbers: [35, 7]
Generated Node #0,4,2: 50:[35, 7] Operation: 59-52=7
Exploring Operation: 52-35=17, Resulting Numbers: [59, 17]
Generated Node #0,4,3: 50:[59, 17] Operation: 52-35=17
Exploring Operation: 59-35=24, Resulting Numbers: [52, 24]
Generated Node #0,4,4: 50:[52, 24] Operation: 59-35=24
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 50:[52, 24], Operations: ['66-14=52', '59-35=24']
Exploring Operation: 52+24=76, Resulting Numbers: [76]
76,50 unequal: No Solution
Exploring Operation: 52*24=1248, Resulting Numbers: [1248]
1248,50 unequal: No Solution
Exploring Operation: 52-24=28, Resulting Numbers: [28]
28,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 50:[35, 7], Operations: ['66-14=52', '59-52=7']
Exploring Operation: 35/7=5, Resulting Numbers: [5]
5,50 unequal: No Solution
Exploring Operation: 35+7=42, Resulting Numbers: [42]
42,50 unequal: No Solution
Exploring Operation: 35-7=28, Resulting Numbers: [28]
28,50 unequal: No Solution
Exploring Operation: 35*7=245, Resulting Numbers: [245]
245,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 50:[59, 17], Operations: ['66-14=52', '52-35=17']
Exploring Operation: 59-17=42, Resulting Numbers: [42]
42,50 unequal: No Solution
Exploring Operation: 59*17=1003, Resulting Numbers: [1003]
1003,50 unequal: No Solution
Exploring Operation: 59+17=76, Resulting Numbers: [76]
76,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 50:[59, 87], Operations: ['66-14=52', '35+52=87']
Exploring Operation: 87-59=28, Resulting Numbers: [28]
28,50 unequal: No Solution
Exploring Operation: 59*87=5133, Resulting Numbers: [5133]
5133,50 unequal: No Solution
Exploring Operation: 59+87=146, Resulting Numbers: [146]
146,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 50:[52, 94], Operations: ['66-14=52', '35+59=94']
Exploring Operation: 52*94=4888, Resulting Numbers: [4888]
4888,50 unequal: No Solution
Exploring Operation: 94-52=42, Resulting Numbers: [42]
42,50 unequal: No Solution
Exploring Operation: 52+94=146, Resulting Numbers: [146]
146,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[66, 59, 49], Operations: ['14+35=49']
Exploring Operation: 66-49=17, Resulting Numbers: [59, 17]
Generated Node #0,0,0: 50:[59, 17] Operation: 66-49=17
Exploring Operation: 66-59=7, Resulting Numbers: [49, 7]
Generated Node #0,0,1: 50:[49, 7] Operation: 66-59=7
Exploring Operation: 59-49=10, Resulting Numbers: [66, 10]
Generated Node #0,0,2: 50:[66, 10] Operation: 59-49=10
Exploring Operation: 59+49=108, Resulting Numbers: [66, 108]
Generated Node #0,0,3: 50:[66, 108] Operation: 59+49=108
Exploring Operation: 66+49=115, Resulting Numbers: [59, 115]
Generated Node #0,0,4: 50:[59, 115] Operation: 66+49=115
Moving to Node #0,0,1
Current State: 50:[49, 7], Operations: ['14+35=49', '66-59=7']
Exploring Operation: 49/7=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Exploring Operation: 49-7=42, Resulting Numbers: [42]
42,50 unequal: No Solution
Exploring Operation: 49+7=56, Resulting Numbers: [56]
56,50 unequal: No Solution
Exploring Operation: 49*7=343, Resulting Numbers: [343]
343,50 unequal: No Solution
Moving to Node #0,0,2
Current State: 50:[66, 10], Operations: ['14+35=49', '59-49=10']
Exploring Operation: 66+10=76, Resulting Numbers: [76]
76,50 unequal: No Solution
Exploring Operation: 66-10=56, Resulting Numbers: [56]
56,50 unequal: No Solution
Exploring Operation: 66*10=660, Resulting Numbers: [660]
660,50 unequal: No Solution
Moving to Node #0,0,0
Current State: 50:[59, 17], Operations: ['14+35=49', '66-49=17']
Exploring Operation: 59*17=1003, Resulting Numbers: [1003]
1003,50 unequal: No Solution
Exploring Operation: 59+17=76, Resulting Numbers: [76]
76,50 unequal: No Solution
Exploring Operation: 59-17=42, Resulting Numbers: [42]
42,50 unequal: No Solution
Moving to Node #0,0,3
Current State: 50:[66, 108], Operations: ['14+35=49', '59+49=108']
Exploring Operation: 66+108=174, Resulting Numbers: [174]
174,50 unequal: No Solution
Exploring Operation: 66*108=7128, Resulting Numbers: [7128]
7128,50 unequal: No Solution
Exploring Operation: 108-66=42, Resulting Numbers: [42]
42,50 unequal: No Solution
Moving to Node #0,0,4
Current State: 50:[59, 115], Operations: ['14+35=49', '66+49=115']
Exploring Operation: 59+115=174, Resulting Numbers: [174]
174,50 unequal: No Solution
Exploring Operation: 59*115=6785, Resulting Numbers: [6785]
6785,50 unequal: No Solution
Exploring Operation: 115-59=56, Resulting Numbers: [56]
56,50 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 |
[
11,
63,
70,
3
] | 60 | [
"11+70=81",
"63/3=21",
"81-21=60"
] | Current State: 60:[11, 63, 70, 3], Operations: []
Exploring Operation: 11+70=81, Resulting Numbers: [63, 3, 81]
Generated Node #2: [63, 3, 81] from Operation: 11+70=81
Current State: 60:[63, 3, 81], Operations: ['11+70=81']
Exploring Operation: 63/3=21, Resulting Numbers: [81, 21]
Generated Node #3: [81, 21] from Operation: 63/3=21
Current State: 60:[81, 21], Operations: ['11+70=81', '63/3=21']
Exploring Operation: 81-21=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[11, 63, 70, 3], Operations: []
Exploring Operation: 63-3=60, Resulting Numbers: [11, 70, 60]
Generated Node #0,0: 60:[11, 70, 60] Operation: 63-3=60
Exploring Operation: 70-63=7, Resulting Numbers: [11, 3, 7]
Generated Node #0,1: 60:[11, 3, 7] Operation: 70-63=7
Exploring Operation: 70-3=67, Resulting Numbers: [11, 63, 67]
Generated Node #0,2: 60:[11, 63, 67] Operation: 70-3=67
Exploring Operation: 63/3=21, Resulting Numbers: [11, 70, 21]
Generated Node #0,3: 60:[11, 70, 21] Operation: 63/3=21
Exploring Operation: 70-11=59, Resulting Numbers: [63, 3, 59]
Generated Node #0,4: 60:[63, 3, 59] Operation: 70-11=59
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[11, 3, 7], Operations: ['70-63=7']
Exploring Operation: 11-7=4, Resulting Numbers: [3, 4]
Generated Node #0,1,0: 60:[3, 4] Operation: 11-7=4
Exploring Operation: 11+7=18, Resulting Numbers: [3, 18]
Generated Node #0,1,1: 60:[3, 18] Operation: 11+7=18
Exploring Operation: 7-3=4, Resulting Numbers: [11, 4]
Generated Node #0,1,2: 60:[11, 4] Operation: 7-3=4
Exploring Operation: 11+3=14, Resulting Numbers: [7, 14]
Generated Node #0,1,3: 60:[7, 14] Operation: 11+3=14
Exploring Operation: 3+7=10, Resulting Numbers: [11, 10]
Generated Node #0,1,4: 60:[11, 10] Operation: 3+7=10
Moving to Node #0,1,0
Current State: 60:[3, 4], Operations: ['70-63=7', '11-7=4']
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Moving to Node #0,1,4
Current State: 60:[11, 10], Operations: ['70-63=7', '3+7=10']
Exploring Operation: 11*10=110, Resulting Numbers: [110]
110,60 unequal: No Solution
Exploring Operation: 11+10=21, Resulting Numbers: [21]
21,60 unequal: No Solution
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Moving to Node #0,1,2
Current State: 60:[11, 4], Operations: ['70-63=7', '7-3=4']
Exploring Operation: 11*4=44, Resulting Numbers: [44]
44,60 unequal: No Solution
Exploring Operation: 11+4=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Moving to Node #0,1,1
Current State: 60:[3, 18], Operations: ['70-63=7', '11+7=18']
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,60 unequal: No Solution
Exploring Operation: 3*18=54, Resulting Numbers: [54]
54,60 unequal: No Solution
Exploring Operation: 3+18=21, Resulting Numbers: [21]
21,60 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Moving to Node #0,1,3
Current State: 60:[7, 14], Operations: ['70-63=7', '11+3=14']
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 7+14=21, Resulting Numbers: [21]
21,60 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 7*14=98, Resulting Numbers: [98]
98,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 60:[63, 3, 59], Operations: ['70-11=59']
Exploring Operation: 63+3=66, Resulting Numbers: [59, 66]
Generated Node #0,4,0: 60:[59, 66] Operation: 63+3=66
Exploring Operation: 3+59=62, Resulting Numbers: [63, 62]
Generated Node #0,4,1: 60:[63, 62] Operation: 3+59=62
Exploring Operation: 63-59=4, Resulting Numbers: [3, 4]
Generated Node #0,4,2: 60:[3, 4] Operation: 63-59=4
Exploring Operation: 63/3=21, Resulting Numbers: [59, 21]
Generated Node #0,4,3: 60:[59, 21] Operation: 63/3=21
Exploring Operation: 63-3=60, Resulting Numbers: [59, 60]
Generated Node #0,4,4: 60:[59, 60] Operation: 63-3=60
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 60:[3, 4], Operations: ['70-11=59', '63-59=4']
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,60 unequal: No Solution
No 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: 60:[59, 60], Operations: ['70-11=59', '63-3=60']
Exploring Operation: 59+60=119, Resulting Numbers: [119]
119,60 unequal: No Solution
Exploring Operation: 60-59=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 59*60=3540, Resulting Numbers: [3540]
3540,60 unequal: No Solution
No 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: 60:[59, 21], Operations: ['70-11=59', '63/3=21']
Exploring Operation: 59-21=38, Resulting Numbers: [38]
38,60 unequal: No Solution
Exploring Operation: 59+21=80, Resulting Numbers: [80]
80,60 unequal: No Solution
Exploring Operation: 59*21=1239, Resulting Numbers: [1239]
1239,60 unequal: No Solution
No 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: 60:[63, 62], Operations: ['70-11=59', '3+59=62']
Exploring Operation: 63+62=125, Resulting Numbers: [125]
125,60 unequal: No Solution
Exploring Operation: 63-62=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 63*62=3906, Resulting Numbers: [3906]
3906,60 unequal: No Solution
No 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: 60:[59, 66], Operations: ['70-11=59', '63+3=66']
Exploring Operation: 59+66=125, Resulting Numbers: [125]
125,60 unequal: No Solution
Exploring Operation: 66-59=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 59*66=3894, Resulting Numbers: [3894]
3894,60 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: 60:[11, 70, 60], Operations: ['63-3=60']
Exploring Operation: 11+70=81, Resulting Numbers: [60, 81]
Generated Node #0,0,0: 60:[60, 81] Operation: 11+70=81
Exploring Operation: 60-11=49, Resulting Numbers: [70, 49]
Generated Node #0,0,1: 60:[70, 49] Operation: 60-11=49
Exploring Operation: 70-11=59, Resulting Numbers: [60, 59]
Generated Node #0,0,2: 60:[60, 59] Operation: 70-11=59
Exploring Operation: 11+60=71, Resulting Numbers: [70, 71]
Generated Node #0,0,3: 60:[70, 71] Operation: 11+60=71
Exploring Operation: 70-60=10, Resulting Numbers: [11, 10]
Generated Node #0,0,4: 60:[11, 10] Operation: 70-60=10
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 60:[60, 59], Operations: ['63-3=60', '70-11=59']
Exploring Operation: 60+59=119, Resulting Numbers: [119]
119,60 unequal: No Solution
Exploring Operation: 60*59=3540, Resulting Numbers: [3540]
3540,60 unequal: No Solution
Exploring Operation: 60-59=1, Resulting Numbers: [1]
1,60 unequal: No Solution
No 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: 60:[11, 10], Operations: ['63-3=60', '70-60=10']
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 11+10=21, Resulting Numbers: [21]
21,60 unequal: No Solution
Exploring Operation: 11*10=110, Resulting Numbers: [110]
110,60 unequal: No Solution
No 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: 60:[60, 81], Operations: ['63-3=60', '11+70=81']
Exploring Operation: 60*81=4860, Resulting Numbers: [4860]
4860,60 unequal: No Solution
Exploring Operation: 81-60=21, Resulting Numbers: [21]
21,60 unequal: No Solution
Exploring Operation: 60+81=141, Resulting Numbers: [141]
141,60 unequal: No Solution
No 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: 60:[70, 49], Operations: ['63-3=60', '60-11=49']
Exploring Operation: 70+49=119, Resulting Numbers: [119]
119,60 unequal: No Solution
Exploring Operation: 70*49=3430, Resulting Numbers: [3430]
3430,60 unequal: No Solution
Exploring Operation: 70-49=21, Resulting Numbers: [21]
21,60 unequal: No Solution
No 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: 60:[70, 71], Operations: ['63-3=60', '11+60=71']
Exploring Operation: 70+71=141, Resulting Numbers: [141]
141,60 unequal: No Solution
Exploring Operation: 70*71=4970, Resulting Numbers: [4970]
4970,60 unequal: No Solution
Exploring Operation: 71-70=1, Resulting Numbers: [1]
1,60 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: 60:[11, 63, 67], Operations: ['70-3=67']
Exploring Operation: 63-11=52, Resulting Numbers: [67, 52]
Generated Node #0,2,0: 60:[67, 52] Operation: 63-11=52
Exploring Operation: 11+63=74, Resulting Numbers: [67, 74]
Generated Node #0,2,1: 60:[67, 74] Operation: 11+63=74
Exploring Operation: 67-63=4, Resulting Numbers: [11, 4]
Generated Node #0,2,2: 60:[11, 4] Operation: 67-63=4
Exploring Operation: 67-11=56, Resulting Numbers: [63, 56]
Generated Node #0,2,3: 60:[63, 56] Operation: 67-11=56
Exploring Operation: 11+67=78, Resulting Numbers: [63, 78]
Generated Node #0,2,4: 60:[63, 78] Operation: 11+67=78
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 60:[11, 4], Operations: ['70-3=67', '67-63=4']
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 11+4=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Exploring Operation: 11*4=44, Resulting Numbers: [44]
44,60 unequal: No Solution
No 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: 60:[63, 56], Operations: ['70-3=67', '67-11=56']
Exploring Operation: 63*56=3528, Resulting Numbers: [3528]
3528,60 unequal: No Solution
Exploring Operation: 63-56=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 63+56=119, Resulting Numbers: [119]
119,60 unequal: No Solution
No 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: 60:[67, 52], Operations: ['70-3=67', '63-11=52']
Exploring Operation: 67-52=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Exploring Operation: 67*52=3484, Resulting Numbers: [3484]
3484,60 unequal: No Solution
Exploring Operation: 67+52=119, Resulting Numbers: [119]
119,60 unequal: No Solution
No 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: 60:[67, 74], Operations: ['70-3=67', '11+63=74']
Exploring Operation: 74-67=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 67*74=4958, Resulting Numbers: [4958]
4958,60 unequal: No Solution
Exploring Operation: 67+74=141, Resulting Numbers: [141]
141,60 unequal: No Solution
No 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: 60:[63, 78], Operations: ['70-3=67', '11+67=78']
Exploring Operation: 78-63=15, Resulting Numbers: [15]
15,60 unequal: No Solution
Exploring Operation: 63*78=4914, Resulting Numbers: [4914]
4914,60 unequal: No Solution
Exploring Operation: 63+78=141, Resulting Numbers: [141]
141,60 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: 60:[11, 70, 21], Operations: ['63/3=21']
Exploring Operation: 70-11=59, Resulting Numbers: [21, 59]
Generated Node #0,3,0: 60:[21, 59] Operation: 70-11=59
Exploring Operation: 21-11=10, Resulting Numbers: [70, 10]
Generated Node #0,3,1: 60:[70, 10] Operation: 21-11=10
Exploring Operation: 70-21=49, Resulting Numbers: [11, 49]
Generated Node #0,3,2: 60:[11, 49] Operation: 70-21=49
Exploring Operation: 11+21=32, Resulting Numbers: [70, 32]
Generated Node #0,3,3: 60:[70, 32] Operation: 11+21=32
Exploring Operation: 11+70=81, Resulting Numbers: [21, 81]
Generated Node #0,3,4: 60:[21, 81] Operation: 11+70=81
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 60:[21, 59], Operations: ['63/3=21', '70-11=59']
Exploring Operation: 21+59=80, Resulting Numbers: [80]
80,60 unequal: No Solution
Exploring Operation: 21*59=1239, Resulting Numbers: [1239]
1239,60 unequal: No Solution
Exploring Operation: 59-21=38, Resulting Numbers: [38]
38,60 unequal: No Solution
No 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: 60:[70, 10], Operations: ['63/3=21', '21-11=10']
Exploring Operation: 70-10=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[11, 63, 70, 3], Operations: []
Exploring Operation: 63/3=21, Resulting Numbers: [11, 70, 21]
Generated Node #0,3: 60:[11, 70, 21] Operation: 63/3=21
Moving to Node #0,3
Current State: 60:[11, 70, 21], Operations: ['63/3=21']
Exploring Operation: 21-11=10, Resulting Numbers: [70, 10]
Generated Node #0,3,1: 60:[70, 10] Operation: 21-11=10
Moving to Node #0,3,1
Current State: 60:[70, 10], Operations: ['63/3=21', '21-11=10']
Exploring Operation: 70-10=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.913194 | hs_5 | sum_heuristic |
[
41,
60,
19,
1
] | 13 | [
"41*19=779",
"1+779=780",
"780/60=13"
] | Current State: 13:[41, 60, 19, 1], Operations: []
Exploring Operation: 41*19=779, Resulting Numbers: [60, 1, 779]
Generated Node #2: [60, 1, 779] from Operation: 41*19=779
Current State: 13:[60, 1, 779], Operations: ['41*19=779']
Exploring Operation: 1+779=780, Resulting Numbers: [60, 780]
Generated Node #3: [60, 780] from Operation: 1+779=780
Current State: 13:[60, 780], Operations: ['41*19=779', '1+779=780']
Exploring Operation: 780/60=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[41, 60, 19, 1], Operations: []
Exploring Operation: 41-19=22, Resulting Numbers: [60, 1, 22]
Generated Node #0,0: 13:[60, 1, 22] Operation: 41-19=22
Exploring Operation: 60-19=41, Resulting Numbers: [41, 1, 41]
Generated Node #0,1: 13:[41, 1, 41] Operation: 60-19=41
Exploring Operation: 60-41=19, Resulting Numbers: [19, 1, 19]
Generated Node #0,2: 13:[19, 1, 19] Operation: 60-41=19
Start Sub Search at level 1: Moving to Node #0,2
Current State: 13:[19, 1, 19], Operations: ['60-41=19']
Exploring Operation: 19*1=19, Resulting Numbers: [19, 19]
Generated Node #0,2,0: 13:[19, 19] Operation: 19*1=19
Exploring Operation: 19-1=18, Resulting Numbers: [19, 18]
Generated Node #0,2,1: 13:[19, 18] Operation: 19-1=18
Exploring Operation: 19-1=18, Resulting Numbers: [19, 18]
Generated Node #0,2,2: 13:[19, 18] Operation: 19-1=18
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 13:[19, 18], Operations: ['60-41=19', '19-1=18']
Exploring Operation: 19*18=342, Resulting Numbers: [342]
342,13 unequal: No Solution
Exploring Operation: 19+18=37, Resulting Numbers: [37]
37,13 unequal: No Solution
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 13:[19, 18], Operations: ['60-41=19', '19-1=18']
Exploring Operation: 19+18=37, Resulting Numbers: [37]
37,13 unequal: No Solution
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,13 unequal: No Solution
Exploring Operation: 19*18=342, Resulting Numbers: [342]
342,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 13:[19, 19], Operations: ['60-41=19', '19*1=19']
Exploring Operation: 19/19=1, Resulting Numbers: [1]
1,13 unequal: No Solution
Exploring Operation: 19-19=0, Resulting Numbers: [0]
0,13 unequal: No Solution
Exploring Operation: 19+19=38, Resulting Numbers: [38]
38,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[60, 1, 22], Operations: ['41-19=22']
Exploring Operation: 22-1=21, Resulting Numbers: [60, 21]
Generated Node #0,0,0: 13:[60, 21] Operation: 22-1=21
Exploring Operation: 60-1=59, Resulting Numbers: [22, 59]
Generated Node #0,0,1: 13:[22, 59] Operation: 60-1=59
Exploring Operation: 60-22=38, Resulting Numbers: [1, 38]
Generated Node #0,0,2: 13:[1, 38] Operation: 60-22=38
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 13:[1, 38], Operations: ['41-19=22', '60-22=38']
Exploring Operation: 38-1=37, Resulting Numbers: [37]
37,13 unequal: No Solution
Exploring Operation: 38/1=38, Resulting Numbers: [38]
38,13 unequal: No Solution
Exploring Operation: 1*38=38, Resulting Numbers: [38]
38,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 13:[60, 21], Operations: ['41-19=22', '22-1=21']
Exploring Operation: 60-21=39, Resulting Numbers: [39]
39,13 unequal: No Solution
Exploring Operation: 60*21=1260, Resulting Numbers: [1260]
1260,13 unequal: No Solution
Exploring Operation: 60+21=81, Resulting Numbers: [81]
81,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 13:[22, 59], Operations: ['41-19=22', '60-1=59']
Exploring Operation: 22*59=1298, Resulting Numbers: [1298]
1298,13 unequal: No Solution
Exploring Operation: 22+59=81, Resulting Numbers: [81]
81,13 unequal: No Solution
Exploring Operation: 59-22=37, Resulting Numbers: [37]
37,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[41, 1, 41], Operations: ['60-19=41']
Exploring Operation: 41/41=1, Resulting Numbers: [1, 1]
Generated Node #0,1,0: 13:[1, 1] Operation: 41/41=1
Exploring Operation: 41-1=40, Resulting Numbers: [41, 40]
Generated Node #0,1,1: 13:[41, 40] Operation: 41-1=40
Exploring Operation: 41-41=0, Resulting Numbers: [1, 0]
Generated Node #0,1,2: 13:[1, 0] Operation: 41-41=0
Moving to Node #0,1,0
Current State: 13:[1, 1], Operations: ['60-19=41', '41/41=1']
Exploring Operation: 1/1=1, Resulting Numbers: [1]
1,13 unequal: No Solution
Exploring Operation: 1+1=2, Resulting Numbers: [2]
2,13 unequal: No Solution
Exploring Operation: 1*1=1, Resulting Numbers: [1]
1,13 unequal: No Solution
Moving to Node #0,1,2
Current State: 13:[1, 0], Operations: ['60-19=41', '41-41=0']
Exploring Operation: 1*0=0, Resulting Numbers: [0]
0,13 unequal: No Solution
Exploring Operation: 1-0=1, Resulting Numbers: [1]
1,13 unequal: No Solution
Exploring Operation: 1+0=1, Resulting Numbers: [1]
1,13 unequal: No Solution
Moving to Node #0,1,1
Current State: 13:[41, 40], Operations: ['60-19=41', '41-1=40']
Exploring Operation: 41-40=1, Resulting Numbers: [1]
1,13 unequal: No Solution
Exploring Operation: 41*40=1640, Resulting Numbers: [1640]
1640,13 unequal: No Solution
Exploring Operation: 41+40=81, Resulting Numbers: [81]
81,13 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
37,
67,
91,
55
] | 67 | [
"91-37=54",
"55-54=1",
"67*1=67"
] | Current State: 67:[37, 67, 91, 55], Operations: []
Exploring Operation: 91-37=54, Resulting Numbers: [67, 55, 54]
Generated Node #2: [67, 55, 54] from Operation: 91-37=54
Current State: 67:[67, 55, 54], Operations: ['91-37=54']
Exploring Operation: 55-54=1, Resulting Numbers: [67, 1]
Generated Node #3: [67, 1] from Operation: 55-54=1
Current State: 67:[67, 1], Operations: ['91-37=54', '55-54=1']
Exploring Operation: 67*1=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[37, 67, 91, 55], Operations: []
Exploring Operation: 37+67=104, Resulting Numbers: [91, 55, 104]
Generated Node #0,0: 67:[91, 55, 104] Operation: 37+67=104
Exploring Operation: 37+55=92, Resulting Numbers: [67, 91, 92]
Generated Node #0,1: 67:[67, 91, 92] Operation: 37+55=92
Exploring Operation: 91-37=54, Resulting Numbers: [67, 55, 54]
Generated Node #0,2: 67:[67, 55, 54] Operation: 91-37=54
Exploring Operation: 91-55=36, Resulting Numbers: [37, 67, 36]
Generated Node #0,3: 67:[37, 67, 36] Operation: 91-55=36
Moving to Node #0,2
Current State: 67:[67, 55, 54], Operations: ['91-37=54']
Exploring Operation: 55-54=1, Resulting Numbers: [67, 1]
Generated Node #0,2,0: 67:[67, 1] Operation: 55-54=1
Exploring Operation: 67-54=13, Resulting Numbers: [55, 13]
Generated Node #0,2,1: 67:[55, 13] Operation: 67-54=13
Exploring Operation: 67+54=121, Resulting Numbers: [55, 121]
Generated Node #0,2,2: 67:[55, 121] Operation: 67+54=121
Exploring Operation: 55+54=109, Resulting Numbers: [67, 109]
Generated Node #0,2,3: 67:[67, 109] Operation: 55+54=109
Moving to Node #0,1
Current State: 67:[67, 91, 92], Operations: ['37+55=92']
Exploring Operation: 92-91=1, Resulting Numbers: [67, 1]
Generated Node #0,1,0: 67:[67, 1] Operation: 92-91=1
Exploring Operation: 92-67=25, Resulting Numbers: [91, 25]
Generated Node #0,1,1: 67:[91, 25] Operation: 92-67=25
Exploring Operation: 67+91=158, Resulting Numbers: [92, 158]
Generated Node #0,1,2: 67:[92, 158] Operation: 67+91=158
Exploring Operation: 91-67=24, Resulting Numbers: [92, 24]
Generated Node #0,1,3: 67:[92, 24] Operation: 91-67=24
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 67:[67, 1], Operations: ['37+55=92', '92-91=1']
Exploring Operation: 67-1=66, Resulting Numbers: [66]
66,67 unequal: No Solution
Exploring Operation: 67/1=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[37, 67, 91, 55], Operations: []
Exploring Operation: 37+55=92, Resulting Numbers: [67, 91, 92]
Generated Node #0,1: 67:[67, 91, 92] Operation: 37+55=92
Moving to Node #0,1
Current State: 67:[67, 91, 92], Operations: ['37+55=92']
Exploring Operation: 92-91=1, Resulting Numbers: [67, 1]
Generated Node #0,1,0: 67:[67, 1] Operation: 92-91=1
Moving to Node #0,1,0
Current State: 67:[67, 1], Operations: ['37+55=92', '92-91=1']
Exploring Operation: 67/1=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | sum_heuristic |
[
31,
98,
88,
84
] | 90 | [
"98+88=186",
"186/31=6",
"84+6=90"
] | Current State: 90:[31, 98, 88, 84], Operations: []
Exploring Operation: 98+88=186, Resulting Numbers: [31, 84, 186]
Generated Node #2: [31, 84, 186] from Operation: 98+88=186
Current State: 90:[31, 84, 186], Operations: ['98+88=186']
Exploring Operation: 186/31=6, Resulting Numbers: [84, 6]
Generated Node #3: [84, 6] from Operation: 186/31=6
Current State: 90:[84, 6], Operations: ['98+88=186', '186/31=6']
Exploring Operation: 84+6=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[31, 98, 88, 84], Operations: []
Exploring Operation: 98-88=10, Resulting Numbers: [31, 84, 10]
Generated Node #0,0: 90:[31, 84, 10] Operation: 98-88=10
Exploring Operation: 98-84=14, Resulting Numbers: [31, 88, 14]
Generated Node #0,1: 90:[31, 88, 14] Operation: 98-84=14
Exploring Operation: 88-84=4, Resulting Numbers: [31, 98, 4]
Generated Node #0,2: 90:[31, 98, 4] Operation: 88-84=4
Moving to Node #0,1
Current State: 90:[31, 88, 14], Operations: ['98-84=14']
Exploring Operation: 88-31=57, Resulting Numbers: [14, 57]
Generated Node #0,1,0: 90:[14, 57] Operation: 88-31=57
Exploring Operation: 31-14=17, Resulting Numbers: [88, 17]
Generated Node #0,1,1: 90:[88, 17] Operation: 31-14=17
Exploring Operation: 31+14=45, Resulting Numbers: [88, 45]
Generated Node #0,1,2: 90:[88, 45] Operation: 31+14=45
Moving to Node #0,0
Current State: 90:[31, 84, 10], Operations: ['98-88=10']
Exploring Operation: 84-31=53, Resulting Numbers: [10, 53]
Generated Node #0,0,0: 90:[10, 53] Operation: 84-31=53
Exploring Operation: 84+10=94, Resulting Numbers: [31, 94]
Generated Node #0,0,1: 90:[31, 94] Operation: 84+10=94
Exploring Operation: 31-10=21, Resulting Numbers: [84, 21]
Generated Node #0,0,2: 90:[84, 21] Operation: 31-10=21
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 90:[31, 94], Operations: ['98-88=10', '84+10=94']
Exploring Operation: 94-31=63, Resulting Numbers: [63]
63,90 unequal: No Solution
Exploring Operation: 31*94=2914, Resulting Numbers: [2914]
2914,90 unequal: No Solution
Exploring Operation: 31+94=125, Resulting Numbers: [125]
125,90 unequal: No Solution
No 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: 90:[10, 53], Operations: ['98-88=10', '84-31=53']
Exploring Operation: 10*53=530, Resulting Numbers: [530]
530,90 unequal: No Solution
Exploring Operation: 53-10=43, Resulting Numbers: [43]
43,90 unequal: No Solution
Exploring Operation: 10+53=63, Resulting Numbers: [63]
63,90 unequal: No Solution
No 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: 90:[84, 21], Operations: ['98-88=10', '31-10=21']
Exploring Operation: 84+21=105, Resulting Numbers: [105]
105,90 unequal: No Solution
Exploring Operation: 84-21=63, Resulting Numbers: [63]
63,90 unequal: No Solution
Exploring Operation: 84/21=4, Resulting Numbers: [4]
4,90 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: 90:[31, 98, 4], Operations: ['88-84=4']
Exploring Operation: 31-4=27, Resulting Numbers: [98, 27]
Generated Node #0,2,0: 90:[98, 27] Operation: 31-4=27
Exploring Operation: 31+4=35, Resulting Numbers: [98, 35]
Generated Node #0,2,1: 90:[98, 35] Operation: 31+4=35
Exploring Operation: 98-4=94, Resulting Numbers: [31, 94]
Generated Node #0,2,2: 90:[31, 94] Operation: 98-4=94
Moving to Node #0,1,2
Current State: 90:[88, 45], Operations: ['98-84=14', '31+14=45']
Exploring Operation: 88-45=43, Resulting Numbers: [43]
43,90 unequal: No Solution
Exploring Operation: 88*45=3960, Resulting Numbers: [3960]
3960,90 unequal: No Solution
Exploring Operation: 88+45=133, Resulting Numbers: [133]
133,90 unequal: No Solution
Moving to Node #0,1,1
Current State: 90:[88, 17], Operations: ['98-84=14', '31-14=17']
Exploring Operation: 88-17=71, Resulting Numbers: [71]
71,90 unequal: No Solution
Exploring Operation: 88+17=105, Resulting Numbers: [105]
105,90 unequal: No Solution
Exploring Operation: 88*17=1496, Resulting Numbers: [1496]
1496,90 unequal: No Solution
Moving to Node #0,2,2
Current State: 90:[31, 94], Operations: ['88-84=4', '98-4=94']
Exploring Operation: 31*94=2914, Resulting Numbers: [2914]
2914,90 unequal: No Solution
Exploring Operation: 31+94=125, Resulting Numbers: [125]
125,90 unequal: No Solution
Exploring Operation: 94-31=63, Resulting Numbers: [63]
63,90 unequal: No Solution
Moving to Node #0,2,0
Current State: 90:[98, 27], Operations: ['88-84=4', '31-4=27']
Exploring Operation: 98+27=125, Resulting Numbers: [125]
125,90 unequal: No Solution
Exploring Operation: 98-27=71, Resulting Numbers: [71]
71,90 unequal: No Solution
Exploring Operation: 98*27=2646, Resulting Numbers: [2646]
2646,90 unequal: No Solution
Moving to Node #0,2,1
Current State: 90:[98, 35], Operations: ['88-84=4', '31+4=35']
Exploring Operation: 98*35=3430, Resulting Numbers: [3430]
3430,90 unequal: No Solution
Exploring Operation: 98+35=133, Resulting Numbers: [133]
133,90 unequal: No Solution
Exploring Operation: 98-35=63, Resulting Numbers: [63]
63,90 unequal: No Solution
Moving to Node #0,1,0
Current State: 90:[14, 57], Operations: ['98-84=14', '88-31=57']
Exploring Operation: 14*57=798, Resulting Numbers: [798]
798,90 unequal: No Solution
Exploring Operation: 14+57=71, Resulting Numbers: [71]
71,90 unequal: No Solution
Exploring Operation: 57-14=43, Resulting Numbers: [43]
43,90 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
70,
61,
81,
30
] | 60 | [
"70-61=9",
"81-30=51",
"9+51=60"
] | Current State: 60:[70, 61, 81, 30], Operations: []
Exploring Operation: 70-61=9, Resulting Numbers: [81, 30, 9]
Generated Node #2: [81, 30, 9] from Operation: 70-61=9
Current State: 60:[81, 30, 9], Operations: ['70-61=9']
Exploring Operation: 81-30=51, Resulting Numbers: [9, 51]
Generated Node #3: [9, 51] from Operation: 81-30=51
Current State: 60:[9, 51], Operations: ['70-61=9', '81-30=51']
Exploring Operation: 9+51=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[70, 61, 81, 30], Operations: []
Exploring Operation: 81-61=20, Resulting Numbers: [70, 30, 20]
Generated Node #0,0: 60:[70, 30, 20] Operation: 81-61=20
Exploring Operation: 81-70=11, Resulting Numbers: [61, 30, 11]
Generated Node #0,1: 60:[61, 30, 11] Operation: 81-70=11
Exploring Operation: 81-30=51, Resulting Numbers: [70, 61, 51]
Generated Node #0,2: 60:[70, 61, 51] Operation: 81-30=51
Moving to Node #0,1
Current State: 60:[61, 30, 11], Operations: ['81-70=11']
Exploring Operation: 30-11=19, Resulting Numbers: [61, 19]
Generated Node #0,1,0: 60:[61, 19] Operation: 30-11=19
Exploring Operation: 61-11=50, Resulting Numbers: [30, 50]
Generated Node #0,1,1: 60:[30, 50] Operation: 61-11=50
Exploring Operation: 61-30=31, Resulting Numbers: [11, 31]
Generated Node #0,1,2: 60:[11, 31] Operation: 61-30=31
Moving to Node #0,0
Current State: 60:[70, 30, 20], Operations: ['81-61=20']
Exploring Operation: 70-20=50, Resulting Numbers: [30, 50]
Generated Node #0,0,0: 60:[30, 50] Operation: 70-20=50
Exploring Operation: 30-20=10, Resulting Numbers: [70, 10]
Generated Node #0,0,1: 60:[70, 10] Operation: 30-20=10
Exploring Operation: 70-30=40, Resulting Numbers: [20, 40]
Generated Node #0,0,2: 60:[20, 40] Operation: 70-30=40
Moving to Node #0,2
Current State: 60:[70, 61, 51], Operations: ['81-30=51']
Exploring Operation: 70-61=9, Resulting Numbers: [51, 9]
Generated Node #0,2,0: 60:[51, 9] Operation: 70-61=9
Exploring Operation: 70-51=19, Resulting Numbers: [61, 19]
Generated Node #0,2,1: 60:[61, 19] Operation: 70-51=19
Exploring Operation: 61-51=10, Resulting Numbers: [70, 10]
Generated Node #0,2,2: 60:[70, 10] Operation: 61-51=10
Moving to Node #0,1,0
Current State: 60:[61, 19], Operations: ['81-70=11', '30-11=19']
Exploring Operation: 61+19=80, Resulting Numbers: [80]
80,60 unequal: No Solution
Exploring Operation: 61-19=42, Resulting Numbers: [42]
42,60 unequal: No Solution
Exploring Operation: 61*19=1159, Resulting Numbers: [1159]
1159,60 unequal: No Solution
Moving to Node #0,2,1
Current State: 60:[61, 19], Operations: ['81-30=51', '70-51=19']
Exploring Operation: 61+19=80, Resulting Numbers: [80]
80,60 unequal: No Solution
Exploring Operation: 61*19=1159, Resulting Numbers: [1159]
1159,60 unequal: No Solution
Exploring Operation: 61-19=42, Resulting Numbers: [42]
42,60 unequal: No Solution
Moving to Node #0,1,2
Current State: 60:[11, 31], Operations: ['81-70=11', '61-30=31']
Exploring Operation: 11+31=42, Resulting Numbers: [42]
42,60 unequal: No Solution
Exploring Operation: 11*31=341, Resulting Numbers: [341]
341,60 unequal: No Solution
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,60 unequal: No Solution
Moving to Node #0,1,1
Current State: 60:[30, 50], Operations: ['81-70=11', '61-11=50']
Exploring Operation: 30+50=80, Resulting Numbers: [80]
80,60 unequal: No Solution
Exploring Operation: 50-30=20, Resulting Numbers: [20]
20,60 unequal: No Solution
Exploring Operation: 30*50=1500, Resulting Numbers: [1500]
1500,60 unequal: No Solution
Moving to Node #0,0,2
Current State: 60:[20, 40], Operations: ['81-61=20', '70-30=40']
Exploring Operation: 40-20=20, Resulting Numbers: [20]
20,60 unequal: No Solution
Exploring Operation: 40/20=2, Resulting Numbers: [2]
2,60 unequal: No Solution
Exploring Operation: 20+40=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[70, 61, 81, 30], Operations: []
Exploring Operation: 81-61=20, Resulting Numbers: [70, 30, 20]
Generated Node #0,0: 60:[70, 30, 20] Operation: 81-61=20
Moving to Node #0,0
Current State: 60:[70, 30, 20], Operations: ['81-61=20']
Exploring Operation: 70-30=40, Resulting Numbers: [20, 40]
Generated Node #0,0,2: 60:[20, 40] Operation: 70-30=40
Moving to Node #0,0,2
Current State: 60:[20, 40], Operations: ['81-61=20', '70-30=40']
Exploring Operation: 20+40=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 0.97309 | hs_3 | sum_heuristic |
[
74,
52,
92,
16
] | 86 | [
"74-52=22",
"92+16=108",
"108-22=86"
] | Current State: 86:[74, 52, 92, 16], Operations: []
Exploring Operation: 74-52=22, Resulting Numbers: [92, 16, 22]
Generated Node #2: [92, 16, 22] from Operation: 74-52=22
Current State: 86:[92, 16, 22], Operations: ['74-52=22']
Exploring Operation: 92+16=108, Resulting Numbers: [22, 108]
Generated Node #3: [22, 108] from Operation: 92+16=108
Current State: 86:[22, 108], Operations: ['74-52=22', '92+16=108']
Exploring Operation: 108-22=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[74, 52, 92, 16], Operations: []
Exploring Operation: 52-16=36, Resulting Numbers: [74, 92, 36]
Generated Node #0,0: 86:[74, 92, 36] Operation: 52-16=36
Exploring Operation: 92-52=40, Resulting Numbers: [74, 16, 40]
Generated Node #0,1: 86:[74, 16, 40] Operation: 92-52=40
Exploring Operation: 74+16=90, Resulting Numbers: [52, 92, 90]
Generated Node #0,2: 86:[52, 92, 90] Operation: 74+16=90
Start Sub Search at level 1: Moving to Node #0,2
Current State: 86:[52, 92, 90], Operations: ['74+16=90']
Exploring Operation: 92-52=40, Resulting Numbers: [90, 40]
Generated Node #0,2,0: 86:[90, 40] Operation: 92-52=40
Exploring Operation: 92-90=2, Resulting Numbers: [52, 2]
Generated Node #0,2,1: 86:[52, 2] Operation: 92-90=2
Exploring Operation: 90-52=38, Resulting Numbers: [92, 38]
Generated Node #0,2,2: 86:[92, 38] Operation: 90-52=38
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 86:[90, 40], Operations: ['74+16=90', '92-52=40']
Exploring Operation: 90-40=50, Resulting Numbers: [50]
50,86 unequal: No Solution
Exploring Operation: 90*40=3600, Resulting Numbers: [3600]
3600,86 unequal: No Solution
Exploring Operation: 90+40=130, Resulting Numbers: [130]
130,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 86:[52, 2], Operations: ['74+16=90', '92-90=2']
Exploring Operation: 52+2=54, Resulting Numbers: [54]
54,86 unequal: No Solution
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,86 unequal: No Solution
Exploring Operation: 52/2=26, Resulting Numbers: [26]
26,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 86:[92, 38], Operations: ['74+16=90', '90-52=38']
Exploring Operation: 92*38=3496, Resulting Numbers: [3496]
3496,86 unequal: No Solution
Exploring Operation: 92+38=130, Resulting Numbers: [130]
130,86 unequal: No Solution
Exploring Operation: 92-38=54, Resulting Numbers: [54]
54,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[74, 92, 36], Operations: ['52-16=36']
Exploring Operation: 74-36=38, Resulting Numbers: [92, 38]
Generated Node #0,0,0: 86:[92, 38] Operation: 74-36=38
Exploring Operation: 92-36=56, Resulting Numbers: [74, 56]
Generated Node #0,0,1: 86:[74, 56] Operation: 92-36=56
Exploring Operation: 92-74=18, Resulting Numbers: [36, 18]
Generated Node #0,0,2: 86:[36, 18] Operation: 92-74=18
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 86:[92, 38], Operations: ['52-16=36', '74-36=38']
Exploring Operation: 92-38=54, Resulting Numbers: [54]
54,86 unequal: No Solution
Exploring Operation: 92+38=130, Resulting Numbers: [130]
130,86 unequal: No Solution
Exploring Operation: 92*38=3496, Resulting Numbers: [3496]
3496,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 86:[36, 18], Operations: ['52-16=36', '92-74=18']
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,86 unequal: No Solution
Exploring Operation: 36/18=2, Resulting Numbers: [2]
2,86 unequal: No Solution
Exploring Operation: 36+18=54, Resulting Numbers: [54]
54,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 86:[74, 56], Operations: ['52-16=36', '92-36=56']
Exploring Operation: 74-56=18, Resulting Numbers: [18]
18,86 unequal: No Solution
Exploring Operation: 74*56=4144, Resulting Numbers: [4144]
4144,86 unequal: No Solution
Exploring Operation: 74+56=130, Resulting Numbers: [130]
130,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[74, 16, 40], Operations: ['92-52=40']
Exploring Operation: 74-40=34, Resulting Numbers: [16, 34]
Generated Node #0,1,0: 86:[16, 34] Operation: 74-40=34
Exploring Operation: 74-16=58, Resulting Numbers: [40, 58]
Generated Node #0,1,1: 86:[40, 58] Operation: 74-16=58
Exploring Operation: 74+16=90, Resulting Numbers: [40, 90]
Generated Node #0,1,2: 86:[40, 90] Operation: 74+16=90
Moving to Node #0,1,2
Current State: 86:[40, 90], Operations: ['92-52=40', '74+16=90']
Exploring Operation: 40*90=3600, Resulting Numbers: [3600]
3600,86 unequal: No Solution
Exploring Operation: 40+90=130, Resulting Numbers: [130]
130,86 unequal: No Solution
Exploring Operation: 90-40=50, Resulting Numbers: [50]
50,86 unequal: No Solution
Moving to Node #0,1,1
Current State: 86:[40, 58], Operations: ['92-52=40', '74-16=58']
Exploring Operation: 58-40=18, Resulting Numbers: [18]
18,86 unequal: No Solution
Exploring Operation: 40+58=98, Resulting Numbers: [98]
98,86 unequal: No Solution
Exploring Operation: 40*58=2320, Resulting Numbers: [2320]
2320,86 unequal: No Solution
Moving to Node #0,1,0
Current State: 86:[16, 34], Operations: ['92-52=40', '74-40=34']
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,86 unequal: No Solution
Exploring Operation: 16+34=50, Resulting Numbers: [50]
50,86 unequal: No Solution
Exploring Operation: 16*34=544, Resulting Numbers: [544]
544,86 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.