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 |
|---|---|---|---|---|---|---|---|---|
[
48,
20,
98,
92
] | 12 | [
"98-92=6",
"48/6=8",
"20-8=12"
] | Current State: 12:[48, 20, 98, 92], Operations: []
Exploring Operation: 98-92=6, Resulting Numbers: [48, 20, 6]
Generated Node #2: [48, 20, 6] from Operation: 98-92=6
Current State: 12:[48, 20, 6], Operations: ['98-92=6']
Exploring Operation: 48/6=8, Resulting Numbers: [20, 8]
Generated Node #3: [20, 8] from Operation: 48/6=8
Current State: 12:[20, 8], Operations: ['98-92=6', '48/6=8']
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[48, 20, 98, 92], Operations: []
Exploring Operation: 98-20=78, Resulting Numbers: [48, 92, 78]
Generated Node #0,0: 12:[48, 92, 78] Operation: 98-20=78
Exploring Operation: 48-20=28, Resulting Numbers: [98, 92, 28]
Generated Node #0,1: 12:[98, 92, 28] Operation: 48-20=28
Exploring Operation: 98-92=6, Resulting Numbers: [48, 20, 6]
Generated Node #0,2: 12:[48, 20, 6] Operation: 98-92=6
Exploring Operation: 92-48=44, Resulting Numbers: [20, 98, 44]
Generated Node #0,3: 12:[20, 98, 44] Operation: 92-48=44
Exploring Operation: 98-48=50, Resulting Numbers: [20, 92, 50]
Generated Node #0,4: 12:[20, 92, 50] Operation: 98-48=50
Moving to Node #0,2
Current State: 12:[48, 20, 6], Operations: ['98-92=6']
Exploring Operation: 48-6=42, Resulting Numbers: [20, 42]
Generated Node #0,2,0: 12:[20, 42] Operation: 48-6=42
Exploring Operation: 48+6=54, Resulting Numbers: [20, 54]
Generated Node #0,2,1: 12:[20, 54] Operation: 48+6=54
Exploring Operation: 20-6=14, Resulting Numbers: [48, 14]
Generated Node #0,2,2: 12:[48, 14] Operation: 20-6=14
Exploring Operation: 48/6=8, Resulting Numbers: [20, 8]
Generated Node #0,2,3: 12:[20, 8] Operation: 48/6=8
Exploring Operation: 48-20=28, Resulting Numbers: [6, 28]
Generated Node #0,2,4: 12:[6, 28] Operation: 48-20=28
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 12:[20, 8], Operations: ['98-92=6', '48/6=8']
Exploring Operation: 20+8=28, Resulting Numbers: [28]
28,12 unequal: No Solution
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[48, 20, 98, 92], Operations: []
Exploring Operation: 98-92=6, Resulting Numbers: [48, 20, 6]
Generated Node #0,2: 12:[48, 20, 6] Operation: 98-92=6
Moving to Node #0,2
Current State: 12:[48, 20, 6], Operations: ['98-92=6']
Exploring Operation: 48/6=8, Resulting Numbers: [20, 8]
Generated Node #0,2,3: 12:[20, 8] Operation: 48/6=8
Moving to Node #0,2,3
Current State: 12:[20, 8], Operations: ['98-92=6', '48/6=8']
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
26,
15,
97,
15
] | 26 | [
"15-15=0",
"97*0=0",
"26+0=26"
] | Current State: 26:[26, 15, 97, 15], Operations: []
Exploring Operation: 15-15=0, Resulting Numbers: [26, 97, 0]
Generated Node #2: [26, 97, 0] from Operation: 15-15=0
Current State: 26:[26, 97, 0], Operations: ['15-15=0']
Exploring Operation: 97*0=0, Resulting Numbers: [26, 0]
Generated Node #3: [26, 0] from Operation: 97*0=0
Current State: 26:[26, 0], Operations: ['15-15=0', '97*0=0']
Exploring Operation: 26+0=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[26, 15, 97, 15], Operations: []
Exploring Operation: 97-26=71, Resulting Numbers: [15, 15, 71]
Generated Node #0,0: 26:[15, 15, 71] Operation: 97-26=71
Exploring Operation: 97-15=82, Resulting Numbers: [26, 15, 82]
Generated Node #0,1: 26:[26, 15, 82] Operation: 97-15=82
Exploring Operation: 97-15=82, Resulting Numbers: [26, 15, 82]
Generated Node #0,2: 26:[26, 15, 82] Operation: 97-15=82
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[15, 15, 71], Operations: ['97-26=71']
Exploring Operation: 71-15=56, Resulting Numbers: [15, 56]
Generated Node #0,0,0: 26:[15, 56] Operation: 71-15=56
Exploring Operation: 71-15=56, Resulting Numbers: [15, 56]
Generated Node #0,0,1: 26:[15, 56] Operation: 71-15=56
Exploring Operation: 15/15=1, Resulting Numbers: [71, 1]
Generated Node #0,0,2: 26:[71, 1] Operation: 15/15=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 26:[15, 56], Operations: ['97-26=71', '71-15=56']
Exploring Operation: 15*56=840, Resulting Numbers: [840]
840,26 unequal: No Solution
Exploring Operation: 15+56=71, Resulting Numbers: [71]
71,26 unequal: No Solution
Exploring Operation: 56-15=41, Resulting Numbers: [41]
41,26 unequal: No Solution
No 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: 26:[15, 56], Operations: ['97-26=71', '71-15=56']
Exploring Operation: 15*56=840, Resulting Numbers: [840]
840,26 unequal: No Solution
Exploring Operation: 15+56=71, Resulting Numbers: [71]
71,26 unequal: No Solution
Exploring Operation: 56-15=41, Resulting Numbers: [41]
41,26 unequal: No Solution
No 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: 26:[71, 1], Operations: ['97-26=71', '15/15=1']
Exploring Operation: 71-1=70, Resulting Numbers: [70]
70,26 unequal: No Solution
Exploring Operation: 71*1=71, Resulting Numbers: [71]
71,26 unequal: No Solution
Exploring Operation: 71/1=71, Resulting Numbers: [71]
71,26 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: 26:[26, 15, 82], Operations: ['97-15=82']
Exploring Operation: 82-15=67, Resulting Numbers: [26, 67]
Generated Node #0,1,0: 26:[26, 67] Operation: 82-15=67
Exploring Operation: 26-15=11, Resulting Numbers: [82, 11]
Generated Node #0,1,1: 26:[82, 11] Operation: 26-15=11
Exploring Operation: 82-26=56, Resulting Numbers: [15, 56]
Generated Node #0,1,2: 26:[15, 56] Operation: 82-26=56
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 26:[15, 56], Operations: ['97-15=82', '82-26=56']
Exploring Operation: 56-15=41, Resulting Numbers: [41]
41,26 unequal: No Solution
Exploring Operation: 15+56=71, Resulting Numbers: [71]
71,26 unequal: No Solution
Exploring Operation: 15*56=840, Resulting Numbers: [840]
840,26 unequal: No Solution
No 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: 26:[26, 67], Operations: ['97-15=82', '82-15=67']
Exploring Operation: 26*67=1742, Resulting Numbers: [1742]
1742,26 unequal: No Solution
Exploring Operation: 26+67=93, Resulting Numbers: [93]
93,26 unequal: No Solution
Exploring Operation: 67-26=41, Resulting Numbers: [41]
41,26 unequal: No Solution
No 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: 26:[82, 11], Operations: ['97-15=82', '26-15=11']
Exploring Operation: 82+11=93, Resulting Numbers: [93]
93,26 unequal: No Solution
Exploring Operation: 82-11=71, Resulting Numbers: [71]
71,26 unequal: No Solution
Exploring Operation: 82*11=902, Resulting Numbers: [902]
902,26 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: 26:[26, 15, 82], Operations: ['97-15=82']
Exploring Operation: 26-15=11, Resulting Numbers: [82, 11]
Generated Node #0,2,0: 26:[82, 11] Operation: 26-15=11
Exploring Operation: 82-15=67, Resulting Numbers: [26, 67]
Generated Node #0,2,1: 26:[26, 67] Operation: 82-15=67
Exploring Operation: 82-26=56, Resulting Numbers: [15, 56]
Generated Node #0,2,2: 26:[15, 56] Operation: 82-26=56
Moving to Node #0,2,2
Current State: 26:[15, 56], Operations: ['97-15=82', '82-26=56']
Exploring Operation: 56-15=41, Resulting Numbers: [41]
41,26 unequal: No Solution
Exploring Operation: 15*56=840, Resulting Numbers: [840]
840,26 unequal: No Solution
Exploring Operation: 15+56=71, Resulting Numbers: [71]
71,26 unequal: No Solution
Moving to Node #0,2,1
Current State: 26:[26, 67], Operations: ['97-15=82', '82-15=67']
Exploring Operation: 26+67=93, Resulting Numbers: [93]
93,26 unequal: No Solution
Exploring Operation: 26*67=1742, Resulting Numbers: [1742]
1742,26 unequal: No Solution
Exploring Operation: 67-26=41, Resulting Numbers: [41]
41,26 unequal: No Solution
Moving to Node #0,2,0
Current State: 26:[82, 11], Operations: ['97-15=82', '26-15=11']
Exploring Operation: 82*11=902, Resulting Numbers: [902]
902,26 unequal: No Solution
Exploring Operation: 82+11=93, Resulting Numbers: [93]
93,26 unequal: No Solution
Exploring Operation: 82-11=71, Resulting Numbers: [71]
71,26 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 |
[
3,
16,
71,
46
] | 55 | [
"71+46=117",
"117/3=39",
"16+39=55"
] | Current State: 55:[3, 16, 71, 46], Operations: []
Exploring Operation: 71+46=117, Resulting Numbers: [3, 16, 117]
Generated Node #2: [3, 16, 117] from Operation: 71+46=117
Current State: 55:[3, 16, 117], Operations: ['71+46=117']
Exploring Operation: 117/3=39, Resulting Numbers: [16, 39]
Generated Node #3: [16, 39] from Operation: 117/3=39
Current State: 55:[16, 39], Operations: ['71+46=117', '117/3=39']
Exploring Operation: 16+39=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[3, 16, 71, 46], Operations: []
Exploring Operation: 71-46=25, Resulting Numbers: [3, 16, 25]
Generated Node #0,0: 55:[3, 16, 25] Operation: 71-46=25
Exploring Operation: 16-3=13, Resulting Numbers: [71, 46, 13]
Generated Node #0,1: 55:[71, 46, 13] Operation: 16-3=13
Exploring Operation: 71-16=55, Resulting Numbers: [3, 46, 55]
Generated Node #0,2: 55:[3, 46, 55] Operation: 71-16=55
Exploring Operation: 16+46=62, Resulting Numbers: [3, 71, 62]
Generated Node #0,3: 55:[3, 71, 62] Operation: 16+46=62
Moving to Node #0,2
Current State: 55:[3, 46, 55], Operations: ['71-16=55']
Exploring Operation: 3+55=58, Resulting Numbers: [46, 58]
Generated Node #0,2,0: 55:[46, 58] Operation: 3+55=58
Exploring Operation: 3+46=49, Resulting Numbers: [55, 49]
Generated Node #0,2,1: 55:[55, 49] Operation: 3+46=49
Exploring Operation: 55-46=9, Resulting Numbers: [3, 9]
Generated Node #0,2,2: 55:[3, 9] Operation: 55-46=9
Exploring Operation: 46-3=43, Resulting Numbers: [55, 43]
Generated Node #0,2,3: 55:[55, 43] Operation: 46-3=43
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 55:[3, 9], Operations: ['71-16=55', '55-46=9']
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,55 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,55 unequal: No Solution
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,55 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 55:[55, 49], Operations: ['71-16=55', '3+46=49']
Exploring Operation: 55+49=104, Resulting Numbers: [104]
104,55 unequal: No Solution
Exploring Operation: 55*49=2695, Resulting Numbers: [2695]
2695,55 unequal: No Solution
Exploring Operation: 55-49=6, Resulting Numbers: [6]
6,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 55:[46, 58], Operations: ['71-16=55', '3+55=58']
Exploring Operation: 46*58=2668, Resulting Numbers: [2668]
2668,55 unequal: No Solution
Exploring Operation: 46+58=104, Resulting Numbers: [104]
104,55 unequal: No Solution
Exploring Operation: 58-46=12, Resulting Numbers: [12]
12,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 55:[55, 43], Operations: ['71-16=55', '46-3=43']
Exploring Operation: 55-43=12, Resulting Numbers: [12]
12,55 unequal: No Solution
Exploring Operation: 55*43=2365, Resulting Numbers: [2365]
2365,55 unequal: No Solution
Exploring Operation: 55+43=98, Resulting Numbers: [98]
98,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 55:[3, 16, 25], Operations: ['71-46=25']
Exploring Operation: 16-3=13, Resulting Numbers: [25, 13]
Generated Node #0,0,0: 55:[25, 13] Operation: 16-3=13
Exploring Operation: 25-3=22, Resulting Numbers: [16, 22]
Generated Node #0,0,1: 55:[16, 22] Operation: 25-3=22
Exploring Operation: 16+25=41, Resulting Numbers: [3, 41]
Generated Node #0,0,2: 55:[3, 41] Operation: 16+25=41
Exploring Operation: 25-16=9, Resulting Numbers: [3, 9]
Generated Node #0,0,3: 55:[3, 9] Operation: 25-16=9
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 55:[3, 9], Operations: ['71-46=25', '25-16=9']
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,55 unequal: No Solution
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,55 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,55 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 55:[25, 13], Operations: ['71-46=25', '16-3=13']
Exploring Operation: 25*13=325, Resulting Numbers: [325]
325,55 unequal: No Solution
Exploring Operation: 25+13=38, Resulting Numbers: [38]
38,55 unequal: No Solution
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 55:[16, 22], Operations: ['71-46=25', '25-3=22']
Exploring Operation: 16+22=38, Resulting Numbers: [38]
38,55 unequal: No Solution
Exploring Operation: 22-16=6, Resulting Numbers: [6]
6,55 unequal: No Solution
Exploring Operation: 16*22=352, Resulting Numbers: [352]
352,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 55:[3, 41], Operations: ['71-46=25', '16+25=41']
Exploring Operation: 3*41=123, Resulting Numbers: [123]
123,55 unequal: No Solution
Exploring Operation: 3+41=44, Resulting Numbers: [44]
44,55 unequal: No Solution
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 55:[3, 71, 62], Operations: ['16+46=62']
Exploring Operation: 71-3=68, Resulting Numbers: [62, 68]
Generated Node #0,3,0: 55:[62, 68] Operation: 71-3=68
Exploring Operation: 71-62=9, Resulting Numbers: [3, 9]
Generated Node #0,3,1: 55:[3, 9] Operation: 71-62=9
Exploring Operation: 3+71=74, Resulting Numbers: [62, 74]
Generated Node #0,3,2: 55:[62, 74] Operation: 3+71=74
Exploring Operation: 62-3=59, Resulting Numbers: [71, 59]
Generated Node #0,3,3: 55:[71, 59] Operation: 62-3=59
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 55:[3, 9], Operations: ['16+46=62', '71-62=9']
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,55 unequal: No Solution
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,55 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,55 unequal: No Solution
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 55:[62, 68], Operations: ['16+46=62', '71-3=68']
Exploring Operation: 62*68=4216, Resulting Numbers: [4216]
4216,55 unequal: No Solution
Exploring Operation: 62+68=130, Resulting Numbers: [130]
130,55 unequal: No Solution
Exploring Operation: 68-62=6, Resulting Numbers: [6]
6,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 55:[71, 59], Operations: ['16+46=62', '62-3=59']
Exploring Operation: 71-59=12, Resulting Numbers: [12]
12,55 unequal: No Solution
Exploring Operation: 71+59=130, Resulting Numbers: [130]
130,55 unequal: No Solution
Exploring Operation: 71*59=4189, Resulting Numbers: [4189]
4189,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 55:[62, 74], Operations: ['16+46=62', '3+71=74']
Exploring Operation: 62+74=136, Resulting Numbers: [136]
136,55 unequal: No Solution
Exploring Operation: 62*74=4588, Resulting Numbers: [4588]
4588,55 unequal: No Solution
Exploring Operation: 74-62=12, Resulting Numbers: [12]
12,55 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: 55:[71, 46, 13], Operations: ['16-3=13']
Exploring Operation: 46+13=59, Resulting Numbers: [71, 59]
Generated Node #0,1,0: 55:[71, 59] Operation: 46+13=59
Exploring Operation: 71-46=25, Resulting Numbers: [13, 25]
Generated Node #0,1,1: 55:[13, 25] Operation: 71-46=25
Exploring Operation: 71+13=84, Resulting Numbers: [46, 84]
Generated Node #0,1,2: 55:[46, 84] Operation: 71+13=84
Exploring Operation: 71-13=58, Resulting Numbers: [46, 58]
Generated Node #0,1,3: 55:[46, 58] Operation: 71-13=58
Moving to Node #0,1,3
Current State: 55:[46, 58], Operations: ['16-3=13', '71-13=58']
Exploring Operation: 58-46=12, Resulting Numbers: [12]
12,55 unequal: No Solution
Exploring Operation: 46+58=104, Resulting Numbers: [104]
104,55 unequal: No Solution
Exploring Operation: 46*58=2668, Resulting Numbers: [2668]
2668,55 unequal: No Solution
Moving to Node #0,1,1
Current State: 55:[13, 25], Operations: ['16-3=13', '71-46=25']
Exploring Operation: 13*25=325, Resulting Numbers: [325]
325,55 unequal: No Solution
Exploring Operation: 13+25=38, Resulting Numbers: [38]
38,55 unequal: No Solution
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,55 unequal: No Solution
Moving to Node #0,1,0
Current State: 55:[71, 59], Operations: ['16-3=13', '46+13=59']
Exploring Operation: 71*59=4189, Resulting Numbers: [4189]
4189,55 unequal: No Solution
Exploring Operation: 71-59=12, Resulting Numbers: [12]
12,55 unequal: No Solution
Exploring Operation: 71+59=130, Resulting Numbers: [130]
130,55 unequal: No Solution
Moving to Node #0,1,2
Current State: 55:[46, 84], Operations: ['16-3=13', '71+13=84']
Exploring Operation: 46*84=3864, Resulting Numbers: [3864]
3864,55 unequal: No Solution
Exploring Operation: 46+84=130, Resulting Numbers: [130]
130,55 unequal: No Solution
Exploring Operation: 84-46=38, Resulting Numbers: [38]
38,55 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
46,
72,
94,
95
] | 47 | [
"95-72=23",
"46/23=2",
"94/2=47"
] | Current State: 47:[46, 72, 94, 95], Operations: []
Exploring Operation: 95-72=23, Resulting Numbers: [46, 94, 23]
Generated Node #2: [46, 94, 23] from Operation: 95-72=23
Current State: 47:[46, 94, 23], Operations: ['95-72=23']
Exploring Operation: 46/23=2, Resulting Numbers: [94, 2]
Generated Node #3: [94, 2] from Operation: 46/23=2
Current State: 47:[94, 2], Operations: ['95-72=23', '46/23=2']
Exploring Operation: 94/2=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[46, 72, 94, 95], Operations: []
Exploring Operation: 95-72=23, Resulting Numbers: [46, 94, 23]
Generated Node #0,0: 47:[46, 94, 23] Operation: 95-72=23
Exploring Operation: 95-94=1, Resulting Numbers: [46, 72, 1]
Generated Node #0,1: 47:[46, 72, 1] Operation: 95-94=1
Moving to Node #0,0
Current State: 47:[46, 94, 23], Operations: ['95-72=23']
Exploring Operation: 94-46=48, Resulting Numbers: [23, 48]
Generated Node #0,0,0: 47:[23, 48] Operation: 94-46=48
Exploring Operation: 94-23=71, Resulting Numbers: [46, 71]
Generated Node #0,0,1: 47:[46, 71] Operation: 94-23=71
Moving to Node #0,1
Current State: 47:[46, 72, 1], Operations: ['95-94=1']
Exploring Operation: 46+1=47, Resulting Numbers: [72, 47]
Generated Node #0,1,0: 47:[72, 47] Operation: 46+1=47
Exploring Operation: 72-1=71, Resulting Numbers: [46, 71]
Generated Node #0,1,1: 47:[46, 71] Operation: 72-1=71
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 47:[72, 47], Operations: ['95-94=1', '46+1=47']
Exploring Operation: 72-47=25, Resulting Numbers: [25]
25,47 unequal: No Solution
Exploring Operation: 72+47=119, Resulting Numbers: [119]
119,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 47:[46, 71], Operations: ['95-94=1', '72-1=71']
Exploring Operation: 71-46=25, Resulting Numbers: [25]
25,47 unequal: No Solution
Exploring Operation: 46+71=117, Resulting Numbers: [117]
117,47 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: 47:[23, 48], Operations: ['95-72=23', '94-46=48']
Exploring Operation: 23+48=71, Resulting Numbers: [71]
71,47 unequal: No Solution
Exploring Operation: 48-23=25, Resulting Numbers: [25]
25,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[46, 71], Operations: ['95-72=23', '94-23=71']
Exploring Operation: 46+71=117, Resulting Numbers: [117]
117,47 unequal: No Solution
Exploring Operation: 71-46=25, Resulting Numbers: [25]
25,47 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
2,
9,
33,
63
] | 89 | [
"9-2=7",
"33+63=96",
"96-7=89"
] | Current State: 89:[2, 9, 33, 63], Operations: []
Exploring Operation: 9-2=7, Resulting Numbers: [33, 63, 7]
Generated Node #2: [33, 63, 7] from Operation: 9-2=7
Current State: 89:[33, 63, 7], Operations: ['9-2=7']
Exploring Operation: 33+63=96, Resulting Numbers: [7, 96]
Generated Node #3: [7, 96] from Operation: 33+63=96
Current State: 89:[7, 96], Operations: ['9-2=7', '33+63=96']
Exploring Operation: 96-7=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[2, 9, 33, 63], Operations: []
Exploring Operation: 2*33=66, Resulting Numbers: [9, 63, 66]
Generated Node #0,0: 89:[9, 63, 66] Operation: 2*33=66
Exploring Operation: 2*9=18, Resulting Numbers: [33, 63, 18]
Generated Node #0,1: 89:[33, 63, 18] Operation: 2*9=18
Exploring Operation: 2+33=35, Resulting Numbers: [9, 63, 35]
Generated Node #0,2: 89:[9, 63, 35] Operation: 2+33=35
Exploring Operation: 2+63=65, Resulting Numbers: [9, 33, 65]
Generated Node #0,3: 89:[9, 33, 65] Operation: 2+63=65
Exploring Operation: 2+9=11, Resulting Numbers: [33, 63, 11]
Generated Node #0,4: 89:[33, 63, 11] Operation: 2+9=11
Moving to Node #0,0
Current State: 89:[9, 63, 66], Operations: ['2*33=66']
Exploring Operation: 66-9=57, Resulting Numbers: [63, 57]
Generated Node #0,0,0: 89:[63, 57] Operation: 66-9=57
Exploring Operation: 63/9=7, Resulting Numbers: [66, 7]
Generated Node #0,0,1: 89:[66, 7] Operation: 63/9=7
Exploring Operation: 9+63=72, Resulting Numbers: [66, 72]
Generated Node #0,0,2: 89:[66, 72] Operation: 9+63=72
Exploring Operation: 63-9=54, Resulting Numbers: [66, 54]
Generated Node #0,0,3: 89:[66, 54] Operation: 63-9=54
Exploring Operation: 9+66=75, Resulting Numbers: [63, 75]
Generated Node #0,0,4: 89:[63, 75] Operation: 9+66=75
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 89:[66, 72], Operations: ['2*33=66', '9+63=72']
Exploring Operation: 72-66=6, Resulting Numbers: [6]
6,89 unequal: No Solution
Exploring Operation: 66*72=4752, Resulting Numbers: [4752]
4752,89 unequal: No Solution
Exploring Operation: 66+72=138, Resulting Numbers: [138]
138,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,4
Current State: 89:[63, 75], Operations: ['2*33=66', '9+66=75']
Exploring Operation: 75-63=12, Resulting Numbers: [12]
12,89 unequal: No Solution
Exploring Operation: 63*75=4725, Resulting Numbers: [4725]
4725,89 unequal: No Solution
Exploring Operation: 63+75=138, Resulting Numbers: [138]
138,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,0
Current State: 89:[63, 57], Operations: ['2*33=66', '66-9=57']
Exploring Operation: 63-57=6, Resulting Numbers: [6]
6,89 unequal: No Solution
Exploring Operation: 63+57=120, Resulting Numbers: [120]
120,89 unequal: No Solution
Exploring Operation: 63*57=3591, Resulting Numbers: [3591]
3591,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,3
Current State: 89:[66, 54], Operations: ['2*33=66', '63-9=54']
Exploring Operation: 66*54=3564, Resulting Numbers: [3564]
3564,89 unequal: No Solution
Exploring Operation: 66+54=120, Resulting Numbers: [120]
120,89 unequal: No Solution
Exploring Operation: 66-54=12, Resulting Numbers: [12]
12,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,1
Current State: 89:[66, 7], Operations: ['2*33=66', '63/9=7']
Exploring Operation: 66-7=59, Resulting Numbers: [59]
59,89 unequal: No Solution
Exploring Operation: 66*7=462, Resulting Numbers: [462]
462,89 unequal: No Solution
Exploring Operation: 66+7=73, Resulting Numbers: [73]
73,89 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: 89:[33, 63, 18], Operations: ['2*9=18']
Exploring Operation: 33+18=51, Resulting Numbers: [63, 51]
Generated Node #0,1,0: 89:[63, 51] Operation: 33+18=51
Exploring Operation: 33+63=96, Resulting Numbers: [18, 96]
Generated Node #0,1,1: 89:[18, 96] Operation: 33+63=96
Exploring Operation: 63-18=45, Resulting Numbers: [33, 45]
Generated Node #0,1,2: 89:[33, 45] Operation: 63-18=45
Exploring Operation: 63+18=81, Resulting Numbers: [33, 81]
Generated Node #0,1,3: 89:[33, 81] Operation: 63+18=81
Exploring Operation: 33-18=15, Resulting Numbers: [63, 15]
Generated Node #0,1,4: 89:[63, 15] Operation: 33-18=15
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 89:[63, 51], Operations: ['2*9=18', '33+18=51']
Exploring Operation: 63+51=114, Resulting Numbers: [114]
114,89 unequal: No Solution
Exploring Operation: 63-51=12, Resulting Numbers: [12]
12,89 unequal: No Solution
Exploring Operation: 63*51=3213, Resulting Numbers: [3213]
3213,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 89:[33, 81], Operations: ['2*9=18', '63+18=81']
Exploring Operation: 33+81=114, Resulting Numbers: [114]
114,89 unequal: No Solution
Exploring Operation: 33*81=2673, Resulting Numbers: [2673]
2673,89 unequal: No Solution
Exploring Operation: 81-33=48, Resulting Numbers: [48]
48,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 89:[18, 96], Operations: ['2*9=18', '33+63=96']
Exploring Operation: 96-18=78, Resulting Numbers: [78]
78,89 unequal: No Solution
Exploring Operation: 18+96=114, Resulting Numbers: [114]
114,89 unequal: No Solution
Exploring Operation: 18*96=1728, Resulting Numbers: [1728]
1728,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 89:[33, 45], Operations: ['2*9=18', '63-18=45']
Exploring Operation: 33+45=78, Resulting Numbers: [78]
78,89 unequal: No Solution
Exploring Operation: 45-33=12, Resulting Numbers: [12]
12,89 unequal: No Solution
Exploring Operation: 33*45=1485, Resulting Numbers: [1485]
1485,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 89:[63, 15], Operations: ['2*9=18', '33-18=15']
Exploring Operation: 63-15=48, Resulting Numbers: [48]
48,89 unequal: No Solution
Exploring Operation: 63*15=945, Resulting Numbers: [945]
945,89 unequal: No Solution
Exploring Operation: 63+15=78, Resulting Numbers: [78]
78,89 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: 89:[9, 63, 35], Operations: ['2+33=35']
Exploring Operation: 63+35=98, Resulting Numbers: [9, 98]
Generated Node #0,2,0: 89:[9, 98] Operation: 63+35=98
Exploring Operation: 9+63=72, Resulting Numbers: [35, 72]
Generated Node #0,2,1: 89:[35, 72] Operation: 9+63=72
Exploring Operation: 63-9=54, Resulting Numbers: [35, 54]
Generated Node #0,2,2: 89:[35, 54] Operation: 63-9=54
Exploring Operation: 35-9=26, Resulting Numbers: [63, 26]
Generated Node #0,2,3: 89:[63, 26] Operation: 35-9=26
Exploring Operation: 9+35=44, Resulting Numbers: [63, 44]
Generated Node #0,2,4: 89:[63, 44] Operation: 9+35=44
Moving to Node #0,3
Current State: 89:[9, 33, 65], Operations: ['2+63=65']
Exploring Operation: 9+65=74, Resulting Numbers: [33, 74]
Generated Node #0,3,0: 89:[33, 74] Operation: 9+65=74
Exploring Operation: 33+65=98, Resulting Numbers: [9, 98]
Generated Node #0,3,1: 89:[9, 98] Operation: 33+65=98
Exploring Operation: 33-9=24, Resulting Numbers: [65, 24]
Generated Node #0,3,2: 89:[65, 24] Operation: 33-9=24
Exploring Operation: 65-9=56, Resulting Numbers: [33, 56]
Generated Node #0,3,3: 89:[33, 56] Operation: 65-9=56
Exploring Operation: 9+33=42, Resulting Numbers: [65, 42]
Generated Node #0,3,4: 89:[65, 42] Operation: 9+33=42
Moving to Node #0,4
Current State: 89:[33, 63, 11], Operations: ['2+9=11']
Exploring Operation: 33-11=22, Resulting Numbers: [63, 22]
Generated Node #0,4,0: 89:[63, 22] Operation: 33-11=22
Exploring Operation: 33+63=96, Resulting Numbers: [11, 96]
Generated Node #0,4,1: 89:[11, 96] Operation: 33+63=96
Exploring Operation: 63+11=74, Resulting Numbers: [33, 74]
Generated Node #0,4,2: 89:[33, 74] Operation: 63+11=74
Exploring Operation: 33+11=44, Resulting Numbers: [63, 44]
Generated Node #0,4,3: 89:[63, 44] Operation: 33+11=44
Exploring Operation: 63-11=52, Resulting Numbers: [33, 52]
Generated Node #0,4,4: 89:[33, 52] Operation: 63-11=52
Moving to Node #0,2,1
Current State: 89:[35, 72], Operations: ['2+33=35', '9+63=72']
Exploring Operation: 35+72=107, Resulting Numbers: [107]
107,89 unequal: No Solution
Exploring Operation: 72-35=37, Resulting Numbers: [37]
37,89 unequal: No Solution
Exploring Operation: 35*72=2520, Resulting Numbers: [2520]
2520,89 unequal: No Solution
Moving to Node #0,3,0
Current State: 89:[33, 74], Operations: ['2+63=65', '9+65=74']
Exploring Operation: 74-33=41, Resulting Numbers: [41]
41,89 unequal: No Solution
Exploring Operation: 33*74=2442, Resulting Numbers: [2442]
2442,89 unequal: No Solution
Exploring Operation: 33+74=107, Resulting Numbers: [107]
107,89 unequal: No Solution
Moving to Node #0,3,4
Current State: 89:[65, 42], Operations: ['2+63=65', '9+33=42']
Exploring Operation: 65-42=23, Resulting Numbers: [23]
23,89 unequal: No Solution
Exploring Operation: 65*42=2730, Resulting Numbers: [2730]
2730,89 unequal: No Solution
Exploring Operation: 65+42=107, Resulting Numbers: [107]
107,89 unequal: No Solution
Moving to Node #0,4,3
Current State: 89:[63, 44], Operations: ['2+9=11', '33+11=44']
Exploring Operation: 63+44=107, Resulting Numbers: [107]
107,89 unequal: No Solution
Exploring Operation: 63-44=19, Resulting Numbers: [19]
19,89 unequal: No Solution
Exploring Operation: 63*44=2772, Resulting Numbers: [2772]
2772,89 unequal: No Solution
Moving to Node #0,2,4
Current State: 89:[63, 44], Operations: ['2+33=35', '9+35=44']
Exploring Operation: 63+44=107, Resulting Numbers: [107]
107,89 unequal: No Solution
Exploring Operation: 63-44=19, Resulting Numbers: [19]
19,89 unequal: No Solution
Exploring Operation: 63*44=2772, Resulting Numbers: [2772]
2772,89 unequal: No Solution
Moving to Node #0,4,2
Current State: 89:[33, 74], Operations: ['2+9=11', '63+11=74']
Exploring Operation: 33+74=107, Resulting Numbers: [107]
107,89 unequal: No Solution
Exploring Operation: 33*74=2442, Resulting Numbers: [2442]
2442,89 unequal: No Solution
Exploring Operation: 74-33=41, Resulting Numbers: [41]
41,89 unequal: No Solution
Moving to Node #0,4,1
Current State: 89:[11, 96], Operations: ['2+9=11', '33+63=96']
Exploring Operation: 11*96=1056, Resulting Numbers: [1056]
1056,89 unequal: No Solution
Exploring Operation: 11+96=107, Resulting Numbers: [107]
107,89 unequal: No Solution
Exploring Operation: 96-11=85, Resulting Numbers: [85]
85,89 unequal: No Solution
Moving to Node #0,2,0
Current State: 89:[9, 98], Operations: ['2+33=35', '63+35=98']
Exploring Operation: 9*98=882, Resulting Numbers: [882]
882,89 unequal: No Solution
Exploring Operation: 9+98=107, Resulting Numbers: [107]
107,89 unequal: No Solution
Exploring Operation: 98-9=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[2, 9, 33, 63], Operations: []
Exploring Operation: 2+33=35, Resulting Numbers: [9, 63, 35]
Generated Node #0,2: 89:[9, 63, 35] Operation: 2+33=35
Moving to Node #0,2
Current State: 89:[9, 63, 35], Operations: ['2+33=35']
Exploring Operation: 63+35=98, Resulting Numbers: [9, 98]
Generated Node #0,2,0: 89:[9, 98] Operation: 63+35=98
Moving to Node #0,2,0
Current State: 89:[9, 98], Operations: ['2+33=35', '63+35=98']
Exploring Operation: 98-9=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 0.923611 | hs_5 | sum_heuristic |
[
35,
6,
23,
4
] | 18 | [
"35-23=12",
"6*12=72",
"72/4=18"
] | Current State: 18:[35, 6, 23, 4], Operations: []
Exploring Operation: 35-23=12, Resulting Numbers: [6, 4, 12]
Generated Node #2: [6, 4, 12] from Operation: 35-23=12
Current State: 18:[6, 4, 12], Operations: ['35-23=12']
Exploring Operation: 6*12=72, Resulting Numbers: [4, 72]
Generated Node #3: [4, 72] from Operation: 6*12=72
Current State: 18:[4, 72], Operations: ['35-23=12', '6*12=72']
Exploring Operation: 72/4=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[35, 6, 23, 4], Operations: []
Exploring Operation: 35-4=31, Resulting Numbers: [6, 23, 31]
Generated Node #0,0: 18:[6, 23, 31] Operation: 35-4=31
Exploring Operation: 35-23=12, Resulting Numbers: [6, 4, 12]
Generated Node #0,1: 18:[6, 4, 12] Operation: 35-23=12
Exploring Operation: 35-6=29, Resulting Numbers: [23, 4, 29]
Generated Node #0,2: 18:[23, 4, 29] Operation: 35-6=29
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[6, 4, 12], Operations: ['35-23=12']
Exploring Operation: 6+12=18, Resulting Numbers: [4, 18]
Generated Node #0,1,0: 18:[4, 18] Operation: 6+12=18
Exploring Operation: 12/4=3, Resulting Numbers: [6, 3]
Generated Node #0,1,1: 18:[6, 3] Operation: 12/4=3
Exploring Operation: 12-6=6, Resulting Numbers: [4, 6]
Generated Node #0,1,2: 18:[4, 6] Operation: 12-6=6
Moving to Node #0,1,1
Current State: 18:[6, 3], Operations: ['35-23=12', '12/4=3']
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,18 unequal: No Solution
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,18 unequal: No Solution
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[35, 6, 23, 4], Operations: []
Exploring Operation: 35-23=12, Resulting Numbers: [6, 4, 12]
Generated Node #0,1: 18:[6, 4, 12] Operation: 35-23=12
Moving to Node #0,1
Current State: 18:[6, 4, 12], Operations: ['35-23=12']
Exploring Operation: 12/4=3, Resulting Numbers: [6, 3]
Generated Node #0,1,1: 18:[6, 3] Operation: 12/4=3
Moving to Node #0,1,1
Current State: 18:[6, 3], Operations: ['35-23=12', '12/4=3']
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
33,
2,
90,
95
] | 76 | [
"90-33=57",
"95+57=152",
"152/2=76"
] | Current State: 76:[33, 2, 90, 95], Operations: []
Exploring Operation: 90-33=57, Resulting Numbers: [2, 95, 57]
Generated Node #2: [2, 95, 57] from Operation: 90-33=57
Current State: 76:[2, 95, 57], Operations: ['90-33=57']
Exploring Operation: 95+57=152, Resulting Numbers: [2, 152]
Generated Node #3: [2, 152] from Operation: 95+57=152
Current State: 76:[2, 152], Operations: ['90-33=57', '95+57=152']
Exploring Operation: 152/2=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[33, 2, 90, 95], Operations: []
Exploring Operation: 90-2=88, Resulting Numbers: [33, 95, 88]
Generated Node #0,0: 76:[33, 95, 88] Operation: 90-2=88
Exploring Operation: 90/2=45, Resulting Numbers: [33, 95, 45]
Generated Node #0,1: 76:[33, 95, 45] Operation: 90/2=45
Exploring Operation: 33+2=35, Resulting Numbers: [90, 95, 35]
Generated Node #0,2: 76:[90, 95, 35] Operation: 33+2=35
Exploring Operation: 95-90=5, Resulting Numbers: [33, 2, 5]
Generated Node #0,3: 76:[33, 2, 5] Operation: 95-90=5
Exploring Operation: 95-33=62, Resulting Numbers: [2, 90, 62]
Generated Node #0,4: 76:[2, 90, 62] Operation: 95-33=62
Moving to Node #0,3
Current State: 76:[33, 2, 5], Operations: ['95-90=5']
Exploring Operation: 33+2=35, Resulting Numbers: [5, 35]
Generated Node #0,3,0: 76:[5, 35] Operation: 33+2=35
Exploring Operation: 2+5=7, Resulting Numbers: [33, 7]
Generated Node #0,3,1: 76:[33, 7] Operation: 2+5=7
Exploring Operation: 33+5=38, Resulting Numbers: [2, 38]
Generated Node #0,3,2: 76:[2, 38] Operation: 33+5=38
Exploring Operation: 5-2=3, Resulting Numbers: [33, 3]
Generated Node #0,3,3: 76:[33, 3] Operation: 5-2=3
Exploring Operation: 33-2=31, Resulting Numbers: [5, 31]
Generated Node #0,3,4: 76:[5, 31] Operation: 33-2=31
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 76:[2, 38], Operations: ['95-90=5', '33+5=38']
Exploring Operation: 2+38=40, Resulting Numbers: [40]
40,76 unequal: No Solution
Exploring Operation: 2*38=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[33, 2, 90, 95], Operations: []
Exploring Operation: 95-90=5, Resulting Numbers: [33, 2, 5]
Generated Node #0,3: 76:[33, 2, 5] Operation: 95-90=5
Moving to Node #0,3
Current State: 76:[33, 2, 5], Operations: ['95-90=5']
Exploring Operation: 33+5=38, Resulting Numbers: [2, 38]
Generated Node #0,3,2: 76:[2, 38] Operation: 33+5=38
Moving to Node #0,3,2
Current State: 76:[2, 38], Operations: ['95-90=5', '33+5=38']
Exploring Operation: 2*38=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
54,
89,
44,
99
] | 65 | [
"54*44=2376",
"2376/99=24",
"89-24=65"
] | Current State: 65:[54, 89, 44, 99], Operations: []
Exploring Operation: 54*44=2376, Resulting Numbers: [89, 99, 2376]
Generated Node #2: [89, 99, 2376] from Operation: 54*44=2376
Current State: 65:[89, 99, 2376], Operations: ['54*44=2376']
Exploring Operation: 2376/99=24, Resulting Numbers: [89, 24]
Generated Node #3: [89, 24] from Operation: 2376/99=24
Current State: 65:[89, 24], Operations: ['54*44=2376', '2376/99=24']
Exploring Operation: 89-24=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[54, 89, 44, 99], Operations: []
Exploring Operation: 99-89=10, Resulting Numbers: [54, 44, 10]
Generated Node #0,0: 65:[54, 44, 10] Operation: 99-89=10
Exploring Operation: 99-44=55, Resulting Numbers: [54, 89, 55]
Generated Node #0,1: 65:[54, 89, 55] Operation: 99-44=55
Exploring Operation: 54-44=10, Resulting Numbers: [89, 99, 10]
Generated Node #0,2: 65:[89, 99, 10] Operation: 54-44=10
Moving to Node #0,0
Current State: 65:[54, 44, 10], Operations: ['99-89=10']
Exploring Operation: 54+10=64, Resulting Numbers: [44, 64]
Generated Node #0,0,0: 65:[44, 64] Operation: 54+10=64
Exploring Operation: 44+10=54, Resulting Numbers: [54, 54]
Generated Node #0,0,1: 65:[54, 54] Operation: 44+10=54
Exploring Operation: 54-44=10, Resulting Numbers: [10, 10]
Generated Node #0,0,2: 65:[10, 10] Operation: 54-44=10
Moving to Node #0,1
Current State: 65:[54, 89, 55], Operations: ['99-44=55']
Exploring Operation: 89-55=34, Resulting Numbers: [54, 34]
Generated Node #0,1,0: 65:[54, 34] Operation: 89-55=34
Exploring Operation: 55-54=1, Resulting Numbers: [89, 1]
Generated Node #0,1,1: 65:[89, 1] Operation: 55-54=1
Exploring Operation: 89-54=35, Resulting Numbers: [55, 35]
Generated Node #0,1,2: 65:[55, 35] Operation: 89-54=35
Moving to Node #0,2
Current State: 65:[89, 99, 10], Operations: ['54-44=10']
Exploring Operation: 99-10=89, Resulting Numbers: [89, 89]
Generated Node #0,2,0: 65:[89, 89] Operation: 99-10=89
Exploring Operation: 99-89=10, Resulting Numbers: [10, 10]
Generated Node #0,2,1: 65:[10, 10] Operation: 99-89=10
Exploring Operation: 89-10=79, Resulting Numbers: [99, 79]
Generated Node #0,2,2: 65:[99, 79] Operation: 89-10=79
Moving to Node #0,0,2
Current State: 65:[10, 10], Operations: ['99-89=10', '54-44=10']
Exploring Operation: 10-10=0, Resulting Numbers: [0]
0,65 unequal: No Solution
Exploring Operation: 10/10=1, Resulting Numbers: [1]
1,65 unequal: No Solution
Exploring Operation: 10+10=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Moving to Node #0,2,1
Current State: 65:[10, 10], Operations: ['54-44=10', '99-89=10']
Exploring Operation: 10/10=1, Resulting Numbers: [1]
1,65 unequal: No Solution
Exploring Operation: 10-10=0, Resulting Numbers: [0]
0,65 unequal: No Solution
Exploring Operation: 10+10=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Moving to Node #0,0,1
Current State: 65:[54, 54], Operations: ['99-89=10', '44+10=54']
Exploring Operation: 54-54=0, Resulting Numbers: [0]
0,65 unequal: No Solution
Exploring Operation: 54/54=1, Resulting Numbers: [1]
1,65 unequal: No Solution
Exploring Operation: 54+54=108, Resulting Numbers: [108]
108,65 unequal: No Solution
Moving to Node #0,0,0
Current State: 65:[44, 64], Operations: ['99-89=10', '54+10=64']
Exploring Operation: 44*64=2816, Resulting Numbers: [2816]
2816,65 unequal: No Solution
Exploring Operation: 64-44=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Exploring Operation: 44+64=108, Resulting Numbers: [108]
108,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[89, 1], Operations: ['99-44=55', '55-54=1']
Exploring Operation: 89/1=89, Resulting Numbers: [89]
89,65 unequal: No Solution
Exploring Operation: 89-1=88, Resulting Numbers: [88]
88,65 unequal: No Solution
Exploring Operation: 89*1=89, Resulting Numbers: [89]
89,65 unequal: No Solution
Moving to Node #0,1,2
Current State: 65:[55, 35], Operations: ['99-44=55', '89-54=35']
Exploring Operation: 55+35=90, Resulting Numbers: [90]
90,65 unequal: No Solution
Exploring Operation: 55-35=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Exploring Operation: 55*35=1925, Resulting Numbers: [1925]
1925,65 unequal: No Solution
Moving to Node #0,1,0
Current State: 65:[54, 34], Operations: ['99-44=55', '89-55=34']
Exploring Operation: 54*34=1836, Resulting Numbers: [1836]
1836,65 unequal: No Solution
Exploring Operation: 54-34=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Exploring Operation: 54+34=88, Resulting Numbers: [88]
88,65 unequal: No Solution
Moving to Node #0,2,2
Current State: 65:[99, 79], Operations: ['54-44=10', '89-10=79']
Exploring Operation: 99+79=178, Resulting Numbers: [178]
178,65 unequal: No Solution
Exploring Operation: 99-79=20, Resulting Numbers: [20]
20,65 unequal: No Solution
Exploring Operation: 99*79=7821, Resulting Numbers: [7821]
7821,65 unequal: No Solution
Moving to Node #0,2,0
Current State: 65:[89, 89], Operations: ['54-44=10', '99-10=89']
Exploring Operation: 89-89=0, Resulting Numbers: [0]
0,65 unequal: No Solution
Exploring Operation: 89+89=178, Resulting Numbers: [178]
178,65 unequal: No Solution
Exploring Operation: 89/89=1, Resulting Numbers: [1]
1,65 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
3,
38,
28,
46
] | 76 | [
"3*28=84",
"46-38=8",
"84-8=76"
] | Current State: 76:[3, 38, 28, 46], Operations: []
Exploring Operation: 3*28=84, Resulting Numbers: [38, 46, 84]
Generated Node #2: [38, 46, 84] from Operation: 3*28=84
Current State: 76:[38, 46, 84], Operations: ['3*28=84']
Exploring Operation: 46-38=8, Resulting Numbers: [84, 8]
Generated Node #3: [84, 8] from Operation: 46-38=8
Current State: 76:[84, 8], Operations: ['3*28=84', '46-38=8']
Exploring Operation: 84-8=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[3, 38, 28, 46], Operations: []
Exploring Operation: 46-28=18, Resulting Numbers: [3, 38, 18]
Generated Node #0,0: 76:[3, 38, 18] Operation: 46-28=18
Exploring Operation: 28+46=74, Resulting Numbers: [3, 38, 74]
Generated Node #0,1: 76:[3, 38, 74] Operation: 28+46=74
Exploring Operation: 28-3=25, Resulting Numbers: [38, 46, 25]
Generated Node #0,2: 76:[38, 46, 25] Operation: 28-3=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[3, 38, 18], Operations: ['46-28=18']
Exploring Operation: 18/3=6, Resulting Numbers: [38, 6]
Generated Node #0,0,0: 76:[38, 6] Operation: 18/3=6
Exploring Operation: 3+18=21, Resulting Numbers: [38, 21]
Generated Node #0,0,1: 76:[38, 21] Operation: 3+18=21
Exploring Operation: 38-18=20, Resulting Numbers: [3, 20]
Generated Node #0,0,2: 76:[3, 20] Operation: 38-18=20
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 76:[38, 6], Operations: ['46-28=18', '18/3=6']
Exploring Operation: 38*6=228, Resulting Numbers: [228]
228,76 unequal: No Solution
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,76 unequal: No Solution
Exploring Operation: 38+6=44, Resulting Numbers: [44]
44,76 unequal: No Solution
No 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: 76:[38, 21], Operations: ['46-28=18', '3+18=21']
Exploring Operation: 38+21=59, Resulting Numbers: [59]
59,76 unequal: No Solution
Exploring Operation: 38*21=798, Resulting Numbers: [798]
798,76 unequal: No Solution
Exploring Operation: 38-21=17, Resulting Numbers: [17]
17,76 unequal: No Solution
No 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: 76:[3, 20], Operations: ['46-28=18', '38-18=20']
Exploring Operation: 3*20=60, Resulting Numbers: [60]
60,76 unequal: No Solution
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,76 unequal: No Solution
Exploring Operation: 3+20=23, Resulting Numbers: [23]
23,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[3, 38, 74], Operations: ['28+46=74']
Exploring Operation: 3+74=77, Resulting Numbers: [38, 77]
Generated Node #0,1,0: 76:[38, 77] Operation: 3+74=77
Exploring Operation: 3+38=41, Resulting Numbers: [74, 41]
Generated Node #0,1,1: 76:[74, 41] Operation: 3+38=41
Exploring Operation: 74-38=36, Resulting Numbers: [3, 36]
Generated Node #0,1,2: 76:[3, 36] Operation: 74-38=36
Moving to Node #0,1,0
Current State: 76:[38, 77], Operations: ['28+46=74', '3+74=77']
Exploring Operation: 38+77=115, Resulting Numbers: [115]
115,76 unequal: No Solution
Exploring Operation: 38*77=2926, Resulting Numbers: [2926]
2926,76 unequal: No Solution
Exploring Operation: 77-38=39, Resulting Numbers: [39]
39,76 unequal: No Solution
Moving to Node #0,1,2
Current State: 76:[3, 36], Operations: ['28+46=74', '74-38=36']
Exploring Operation: 3+36=39, Resulting Numbers: [39]
39,76 unequal: No Solution
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,76 unequal: No Solution
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,76 unequal: No Solution
Moving to Node #0,1,1
Current State: 76:[74, 41], Operations: ['28+46=74', '3+38=41']
Exploring Operation: 74+41=115, Resulting Numbers: [115]
115,76 unequal: No Solution
Exploring Operation: 74-41=33, Resulting Numbers: [33]
33,76 unequal: No Solution
Exploring Operation: 74*41=3034, Resulting Numbers: [3034]
3034,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 76:[38, 46, 25], Operations: ['28-3=25']
Exploring Operation: 46-25=21, Resulting Numbers: [38, 21]
Generated Node #0,2,0: 76:[38, 21] Operation: 46-25=21
Exploring Operation: 46+25=71, Resulting Numbers: [38, 71]
Generated Node #0,2,1: 76:[38, 71] Operation: 46+25=71
Exploring Operation: 46-38=8, Resulting Numbers: [25, 8]
Generated Node #0,2,2: 76:[25, 8] Operation: 46-38=8
Moving to Node #0,2,0
Current State: 76:[38, 21], Operations: ['28-3=25', '46-25=21']
Exploring Operation: 38+21=59, Resulting Numbers: [59]
59,76 unequal: No Solution
Exploring Operation: 38*21=798, Resulting Numbers: [798]
798,76 unequal: No Solution
Exploring Operation: 38-21=17, Resulting Numbers: [17]
17,76 unequal: No Solution
Moving to Node #0,2,1
Current State: 76:[38, 71], Operations: ['28-3=25', '46+25=71']
Exploring Operation: 38*71=2698, Resulting Numbers: [2698]
2698,76 unequal: No Solution
Exploring Operation: 71-38=33, Resulting Numbers: [33]
33,76 unequal: No Solution
Exploring Operation: 38+71=109, Resulting Numbers: [109]
109,76 unequal: No Solution
Moving to Node #0,2,2
Current State: 76:[25, 8], Operations: ['28-3=25', '46-38=8']
Exploring Operation: 25+8=33, Resulting Numbers: [33]
33,76 unequal: No Solution
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,76 unequal: No Solution
Exploring Operation: 25*8=200, Resulting Numbers: [200]
200,76 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 |
[
37,
80,
30,
10
] | 48 | [
"80+30=110",
"110/10=11",
"37+11=48"
] | Current State: 48:[37, 80, 30, 10], Operations: []
Exploring Operation: 80+30=110, Resulting Numbers: [37, 10, 110]
Generated Node #2: [37, 10, 110] from Operation: 80+30=110
Current State: 48:[37, 10, 110], Operations: ['80+30=110']
Exploring Operation: 110/10=11, Resulting Numbers: [37, 11]
Generated Node #3: [37, 11] from Operation: 110/10=11
Current State: 48:[37, 11], Operations: ['80+30=110', '110/10=11']
Exploring Operation: 37+11=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[37, 80, 30, 10], Operations: []
Exploring Operation: 80-30=50, Resulting Numbers: [37, 10, 50]
Generated Node #0,0: 48:[37, 10, 50] Operation: 80-30=50
Exploring Operation: 80-37=43, Resulting Numbers: [30, 10, 43]
Generated Node #0,1: 48:[30, 10, 43] Operation: 80-37=43
Exploring Operation: 80/10=8, Resulting Numbers: [37, 30, 8]
Generated Node #0,2: 48:[37, 30, 8] Operation: 80/10=8
Moving to Node #0,1
Current State: 48:[30, 10, 43], Operations: ['80-37=43']
Exploring Operation: 30-10=20, Resulting Numbers: [43, 20]
Generated Node #0,1,0: 48:[43, 20] Operation: 30-10=20
Exploring Operation: 43-30=13, Resulting Numbers: [10, 13]
Generated Node #0,1,1: 48:[10, 13] Operation: 43-30=13
Exploring Operation: 30/10=3, Resulting Numbers: [43, 3]
Generated Node #0,1,2: 48:[43, 3] Operation: 30/10=3
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 48:[10, 13], Operations: ['80-37=43', '43-30=13']
Exploring Operation: 10*13=130, Resulting Numbers: [130]
130,48 unequal: No Solution
Exploring Operation: 10+13=23, Resulting Numbers: [23]
23,48 unequal: No Solution
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 48:[43, 3], Operations: ['80-37=43', '30/10=3']
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,48 unequal: No Solution
Exploring Operation: 43+3=46, Resulting Numbers: [46]
46,48 unequal: No Solution
Exploring Operation: 43*3=129, Resulting Numbers: [129]
129,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 48:[43, 20], Operations: ['80-37=43', '30-10=20']
Exploring Operation: 43-20=23, Resulting Numbers: [23]
23,48 unequal: No Solution
Exploring Operation: 43*20=860, Resulting Numbers: [860]
860,48 unequal: No Solution
Exploring Operation: 43+20=63, Resulting Numbers: [63]
63,48 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: 48:[37, 10, 50], Operations: ['80-30=50']
Exploring Operation: 37-10=27, Resulting Numbers: [50, 27]
Generated Node #0,0,0: 48:[50, 27] Operation: 37-10=27
Exploring Operation: 50-37=13, Resulting Numbers: [10, 13]
Generated Node #0,0,1: 48:[10, 13] Operation: 50-37=13
Exploring Operation: 37+10=47, Resulting Numbers: [50, 47]
Generated Node #0,0,2: 48:[50, 47] Operation: 37+10=47
Moving to Node #0,2
Current State: 48:[37, 30, 8], Operations: ['80/10=8']
Exploring Operation: 37+8=45, Resulting Numbers: [30, 45]
Generated Node #0,2,0: 48:[30, 45] Operation: 37+8=45
Exploring Operation: 37-30=7, Resulting Numbers: [8, 7]
Generated Node #0,2,1: 48:[8, 7] Operation: 37-30=7
Exploring Operation: 37-8=29, Resulting Numbers: [30, 29]
Generated Node #0,2,2: 48:[30, 29] Operation: 37-8=29
Moving to Node #0,2,1
Current State: 48:[8, 7], Operations: ['80/10=8', '37-30=7']
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,48 unequal: No Solution
Exploring Operation: 8+7=15, Resulting Numbers: [15]
15,48 unequal: No Solution
Exploring Operation: 8*7=56, Resulting Numbers: [56]
56,48 unequal: No Solution
Moving to Node #0,0,1
Current State: 48:[10, 13], Operations: ['80-30=50', '50-37=13']
Exploring Operation: 10+13=23, Resulting Numbers: [23]
23,48 unequal: No Solution
Exploring Operation: 13-10=3, Resulting Numbers: [3]
3,48 unequal: No Solution
Exploring Operation: 10*13=130, Resulting Numbers: [130]
130,48 unequal: No Solution
Moving to Node #0,0,2
Current State: 48:[50, 47], Operations: ['80-30=50', '37+10=47']
Exploring Operation: 50-47=3, Resulting Numbers: [3]
3,48 unequal: No Solution
Exploring Operation: 50+47=97, Resulting Numbers: [97]
97,48 unequal: No Solution
Exploring Operation: 50*47=2350, Resulting Numbers: [2350]
2350,48 unequal: No Solution
Moving to Node #0,0,0
Current State: 48:[50, 27], Operations: ['80-30=50', '37-10=27']
Exploring Operation: 50+27=77, Resulting Numbers: [77]
77,48 unequal: No Solution
Exploring Operation: 50*27=1350, Resulting Numbers: [1350]
1350,48 unequal: No Solution
Exploring Operation: 50-27=23, Resulting Numbers: [23]
23,48 unequal: No Solution
Moving to Node #0,2,0
Current State: 48:[30, 45], Operations: ['80/10=8', '37+8=45']
Exploring Operation: 30+45=75, Resulting Numbers: [75]
75,48 unequal: No Solution
Exploring Operation: 45-30=15, Resulting Numbers: [15]
15,48 unequal: No Solution
Exploring Operation: 30*45=1350, Resulting Numbers: [1350]
1350,48 unequal: No Solution
Moving to Node #0,2,2
Current State: 48:[30, 29], Operations: ['80/10=8', '37-8=29']
Exploring Operation: 30*29=870, Resulting Numbers: [870]
870,48 unequal: No Solution
Exploring Operation: 30+29=59, Resulting Numbers: [59]
59,48 unequal: No Solution
Exploring Operation: 30-29=1, Resulting Numbers: [1]
1,48 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
89,
34,
30,
5
] | 88 | [
"89+34=123",
"30+5=35",
"123-35=88"
] | Current State: 88:[89, 34, 30, 5], Operations: []
Exploring Operation: 89+34=123, Resulting Numbers: [30, 5, 123]
Generated Node #2: [30, 5, 123] from Operation: 89+34=123
Current State: 88:[30, 5, 123], Operations: ['89+34=123']
Exploring Operation: 30+5=35, Resulting Numbers: [123, 35]
Generated Node #3: [123, 35] from Operation: 30+5=35
Current State: 88:[123, 35], Operations: ['89+34=123', '30+5=35']
Exploring Operation: 123-35=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[89, 34, 30, 5], Operations: []
Exploring Operation: 30/5=6, Resulting Numbers: [89, 34, 6]
Generated Node #0,0: 88:[89, 34, 6] Operation: 30/5=6
Exploring Operation: 34-30=4, Resulting Numbers: [89, 5, 4]
Generated Node #0,1: 88:[89, 5, 4] Operation: 34-30=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 88:[89, 5, 4], Operations: ['34-30=4']
Exploring Operation: 5+4=9, Resulting Numbers: [89, 9]
Generated Node #0,1,0: 88:[89, 9] Operation: 5+4=9
Exploring Operation: 5-4=1, Resulting Numbers: [89, 1]
Generated Node #0,1,1: 88:[89, 1] Operation: 5-4=1
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 88:[89, 9], Operations: ['34-30=4', '5+4=9']
Exploring Operation: 89-9=80, Resulting Numbers: [80]
80,88 unequal: No Solution
Exploring Operation: 89+9=98, Resulting Numbers: [98]
98,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:[89, 1], Operations: ['34-30=4', '5-4=1']
Exploring Operation: 89-1=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[89, 34, 30, 5], Operations: []
Exploring Operation: 34-30=4, Resulting Numbers: [89, 5, 4]
Generated Node #0,1: 88:[89, 5, 4] Operation: 34-30=4
Moving to Node #0,1
Current State: 88:[89, 5, 4], Operations: ['34-30=4']
Exploring Operation: 5-4=1, Resulting Numbers: [89, 1]
Generated Node #0,1,1: 88:[89, 1] Operation: 5-4=1
Moving to Node #0,1,1
Current State: 88:[89, 1], Operations: ['34-30=4', '5-4=1']
Exploring Operation: 89-1=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
2,
35,
18,
56
] | 100 | [
"18/2=9",
"35+56=91",
"9+91=100"
] | Current State: 100:[2, 35, 18, 56], Operations: []
Exploring Operation: 18/2=9, Resulting Numbers: [35, 56, 9]
Generated Node #2: [35, 56, 9] from Operation: 18/2=9
Current State: 100:[35, 56, 9], Operations: ['18/2=9']
Exploring Operation: 35+56=91, Resulting Numbers: [9, 91]
Generated Node #3: [9, 91] from Operation: 35+56=91
Current State: 100:[9, 91], Operations: ['18/2=9', '35+56=91']
Exploring Operation: 9+91=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[2, 35, 18, 56], Operations: []
Exploring Operation: 35-18=17, Resulting Numbers: [2, 56, 17]
Generated Node #0,0: 100:[2, 56, 17] Operation: 35-18=17
Exploring Operation: 35+56=91, Resulting Numbers: [2, 18, 91]
Generated Node #0,1: 100:[2, 18, 91] Operation: 35+56=91
Exploring Operation: 56-35=21, Resulting Numbers: [2, 18, 21]
Generated Node #0,2: 100:[2, 18, 21] Operation: 56-35=21
Exploring Operation: 35+18=53, Resulting Numbers: [2, 56, 53]
Generated Node #0,3: 100:[2, 56, 53] Operation: 35+18=53
Moving to Node #0,2
Current State: 100:[2, 18, 21], Operations: ['56-35=21']
Exploring Operation: 2+18=20, Resulting Numbers: [21, 20]
Generated Node #0,2,0: 100:[21, 20] Operation: 2+18=20
Exploring Operation: 21-18=3, Resulting Numbers: [2, 3]
Generated Node #0,2,1: 100:[2, 3] Operation: 21-18=3
Exploring Operation: 18/2=9, Resulting Numbers: [21, 9]
Generated Node #0,2,2: 100:[21, 9] Operation: 18/2=9
Exploring Operation: 21-2=19, Resulting Numbers: [18, 19]
Generated Node #0,2,3: 100:[18, 19] Operation: 21-2=19
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 100:[21, 20], Operations: ['56-35=21', '2+18=20']
Exploring Operation: 21*20=420, Resulting Numbers: [420]
420,100 unequal: No Solution
Exploring Operation: 21-20=1, Resulting Numbers: [1]
1,100 unequal: No Solution
Exploring Operation: 21+20=41, Resulting Numbers: [41]
41,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 100:[2, 3], Operations: ['56-35=21', '21-18=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,100 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,100 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 100:[21, 9], Operations: ['56-35=21', '18/2=9']
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,100 unequal: No Solution
Exploring Operation: 21*9=189, Resulting Numbers: [189]
189,100 unequal: No Solution
Exploring Operation: 21+9=30, Resulting Numbers: [30]
30,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 100:[18, 19], Operations: ['56-35=21', '21-2=19']
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,100 unequal: No Solution
Exploring Operation: 18+19=37, Resulting Numbers: [37]
37,100 unequal: No Solution
Exploring Operation: 18*19=342, Resulting Numbers: [342]
342,100 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: 100:[2, 56, 53], Operations: ['35+18=53']
Exploring Operation: 53-2=51, Resulting Numbers: [56, 51]
Generated Node #0,3,0: 100:[56, 51] Operation: 53-2=51
Exploring Operation: 56/2=28, Resulting Numbers: [53, 28]
Generated Node #0,3,1: 100:[53, 28] Operation: 56/2=28
Exploring Operation: 56-53=3, Resulting Numbers: [2, 3]
Generated Node #0,3,2: 100:[2, 3] Operation: 56-53=3
Exploring Operation: 56-2=54, Resulting Numbers: [53, 54]
Generated Node #0,3,3: 100:[53, 54] Operation: 56-2=54
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 100:[2, 3], Operations: ['35+18=53', '56-53=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,100 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,100 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 100:[53, 28], Operations: ['35+18=53', '56/2=28']
Exploring Operation: 53*28=1484, Resulting Numbers: [1484]
1484,100 unequal: No Solution
Exploring Operation: 53+28=81, Resulting Numbers: [81]
81,100 unequal: No Solution
Exploring Operation: 53-28=25, Resulting Numbers: [25]
25,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 100:[56, 51], Operations: ['35+18=53', '53-2=51']
Exploring Operation: 56-51=5, Resulting Numbers: [5]
5,100 unequal: No Solution
Exploring Operation: 56*51=2856, Resulting Numbers: [2856]
2856,100 unequal: No Solution
Exploring Operation: 56+51=107, Resulting Numbers: [107]
107,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 100:[53, 54], Operations: ['35+18=53', '56-2=54']
Exploring Operation: 54-53=1, Resulting Numbers: [1]
1,100 unequal: No Solution
Exploring Operation: 53+54=107, Resulting Numbers: [107]
107,100 unequal: No Solution
Exploring Operation: 53*54=2862, Resulting Numbers: [2862]
2862,100 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: 100:[2, 56, 17], Operations: ['35-18=17']
Exploring Operation: 2+56=58, Resulting Numbers: [17, 58]
Generated Node #0,0,0: 100:[17, 58] Operation: 2+56=58
Exploring Operation: 56/2=28, Resulting Numbers: [17, 28]
Generated Node #0,0,1: 100:[17, 28] Operation: 56/2=28
Exploring Operation: 2+17=19, Resulting Numbers: [56, 19]
Generated Node #0,0,2: 100:[56, 19] Operation: 2+17=19
Exploring Operation: 56-2=54, Resulting Numbers: [17, 54]
Generated Node #0,0,3: 100:[17, 54] Operation: 56-2=54
Moving to Node #0,1
Current State: 100:[2, 18, 91], Operations: ['35+56=91']
Exploring Operation: 18/2=9, Resulting Numbers: [91, 9]
Generated Node #0,1,0: 100:[91, 9] Operation: 18/2=9
Exploring Operation: 18+91=109, Resulting Numbers: [2, 109]
Generated Node #0,1,1: 100:[2, 109] Operation: 18+91=109
Exploring Operation: 2+91=93, Resulting Numbers: [18, 93]
Generated Node #0,1,2: 100:[18, 93] Operation: 2+91=93
Exploring Operation: 2+18=20, Resulting Numbers: [91, 20]
Generated Node #0,1,3: 100:[91, 20] Operation: 2+18=20
Moving to Node #0,0,1
Current State: 100:[17, 28], Operations: ['35-18=17', '56/2=28']
Exploring Operation: 17+28=45, Resulting Numbers: [45]
45,100 unequal: No Solution
Exploring Operation: 17*28=476, Resulting Numbers: [476]
476,100 unequal: No Solution
Exploring Operation: 28-17=11, Resulting Numbers: [11]
11,100 unequal: No Solution
Moving to Node #0,0,3
Current State: 100:[17, 54], Operations: ['35-18=17', '56-2=54']
Exploring Operation: 54-17=37, Resulting Numbers: [37]
37,100 unequal: No Solution
Exploring Operation: 17*54=918, Resulting Numbers: [918]
918,100 unequal: No Solution
Exploring Operation: 17+54=71, Resulting Numbers: [71]
71,100 unequal: No Solution
Moving to Node #0,0,2
Current State: 100:[56, 19], Operations: ['35-18=17', '2+17=19']
Exploring Operation: 56*19=1064, Resulting Numbers: [1064]
1064,100 unequal: No Solution
Exploring Operation: 56+19=75, Resulting Numbers: [75]
75,100 unequal: No Solution
Exploring Operation: 56-19=37, Resulting Numbers: [37]
37,100 unequal: No Solution
Moving to Node #0,1,3
Current State: 100:[91, 20], Operations: ['35+56=91', '2+18=20']
Exploring Operation: 91-20=71, Resulting Numbers: [71]
71,100 unequal: No Solution
Exploring Operation: 91*20=1820, Resulting Numbers: [1820]
1820,100 unequal: No Solution
Exploring Operation: 91+20=111, Resulting Numbers: [111]
111,100 unequal: No Solution
Moving to Node #0,1,2
Current State: 100:[18, 93], Operations: ['35+56=91', '2+91=93']
Exploring Operation: 18*93=1674, Resulting Numbers: [1674]
1674,100 unequal: No Solution
Exploring Operation: 18+93=111, Resulting Numbers: [111]
111,100 unequal: No Solution
Exploring Operation: 93-18=75, Resulting Numbers: [75]
75,100 unequal: No Solution
Moving to Node #0,1,1
Current State: 100:[2, 109], Operations: ['35+56=91', '18+91=109']
Exploring Operation: 2*109=218, Resulting Numbers: [218]
218,100 unequal: No Solution
Exploring Operation: 2+109=111, Resulting Numbers: [111]
111,100 unequal: No Solution
Exploring Operation: 109-2=107, Resulting Numbers: [107]
107,100 unequal: No Solution
Moving to Node #0,1,0
Current State: 100:[91, 9], Operations: ['35+56=91', '18/2=9']
Exploring Operation: 91-9=82, Resulting Numbers: [82]
82,100 unequal: No Solution
Exploring Operation: 91+9=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[2, 35, 18, 56], Operations: []
Exploring Operation: 35+56=91, Resulting Numbers: [2, 18, 91]
Generated Node #0,1: 100:[2, 18, 91] Operation: 35+56=91
Moving to Node #0,1
Current State: 100:[2, 18, 91], Operations: ['35+56=91']
Exploring Operation: 18/2=9, Resulting Numbers: [91, 9]
Generated Node #0,1,0: 100:[91, 9] Operation: 18/2=9
Moving to Node #0,1,0
Current State: 100:[91, 9], Operations: ['35+56=91', '18/2=9']
Exploring Operation: 91+9=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 0.940972 | hs_4 | sum_heuristic |
[
12,
96,
98,
8
] | 34 | [
"96/12=8",
"8*8=64",
"98-64=34"
] | Current State: 34:[12, 96, 98, 8], Operations: []
Exploring Operation: 96/12=8, Resulting Numbers: [98, 8, 8]
Generated Node #2: [98, 8, 8] from Operation: 96/12=8
Current State: 34:[98, 8, 8], Operations: ['96/12=8']
Exploring Operation: 8*8=64, Resulting Numbers: [98, 64]
Generated Node #3: [98, 64] from Operation: 8*8=64
Current State: 34:[98, 64], Operations: ['96/12=8', '8*8=64']
Exploring Operation: 98-64=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[12, 96, 98, 8], Operations: []
Exploring Operation: 98-96=2, Resulting Numbers: [12, 8, 2]
Generated Node #0,0: 34:[12, 8, 2] Operation: 98-96=2
Exploring Operation: 96/12=8, Resulting Numbers: [98, 8, 8]
Generated Node #0,1: 34:[98, 8, 8] Operation: 96/12=8
Exploring Operation: 96/8=12, Resulting Numbers: [12, 98, 12]
Generated Node #0,2: 34:[12, 98, 12] Operation: 96/8=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[12, 8, 2], Operations: ['98-96=2']
Exploring Operation: 12-8=4, Resulting Numbers: [2, 4]
Generated Node #0,0,0: 34:[2, 4] Operation: 12-8=4
Exploring Operation: 12+8=20, Resulting Numbers: [2, 20]
Generated Node #0,0,1: 34:[2, 20] Operation: 12+8=20
Exploring Operation: 8*2=16, Resulting Numbers: [12, 16]
Generated Node #0,0,2: 34:[12, 16] Operation: 8*2=16
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 34:[2, 4], Operations: ['98-96=2', '12-8=4']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,34 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,34 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,34 unequal: No Solution
No 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: 34:[2, 20], Operations: ['98-96=2', '12+8=20']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,34 unequal: No Solution
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,34 unequal: No Solution
No 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: 34:[12, 16], Operations: ['98-96=2', '8*2=16']
Exploring Operation: 12+16=28, Resulting Numbers: [28]
28,34 unequal: No Solution
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,34 unequal: No Solution
Exploring Operation: 12*16=192, Resulting Numbers: [192]
192,34 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 34:[12, 98, 12], Operations: ['96/8=12']
Exploring Operation: 98-12=86, Resulting Numbers: [12, 86]
Generated Node #0,2,0: 34:[12, 86] Operation: 98-12=86
Exploring Operation: 12/12=1, Resulting Numbers: [98, 1]
Generated Node #0,2,1: 34:[98, 1] Operation: 12/12=1
Exploring Operation: 98-12=86, Resulting Numbers: [12, 86]
Generated Node #0,2,2: 34:[12, 86] Operation: 98-12=86
Moving to Node #0,2,0
Current State: 34:[12, 86], Operations: ['96/8=12', '98-12=86']
Exploring Operation: 12*86=1032, Resulting Numbers: [1032]
1032,34 unequal: No Solution
Exploring Operation: 12+86=98, Resulting Numbers: [98]
98,34 unequal: No Solution
Exploring Operation: 86-12=74, Resulting Numbers: [74]
74,34 unequal: No Solution
Moving to Node #0,2,2
Current State: 34:[12, 86], Operations: ['96/8=12', '98-12=86']
Exploring Operation: 86-12=74, Resulting Numbers: [74]
74,34 unequal: No Solution
Exploring Operation: 12*86=1032, Resulting Numbers: [1032]
1032,34 unequal: No Solution
Exploring Operation: 12+86=98, Resulting Numbers: [98]
98,34 unequal: No Solution
Moving to Node #0,2,1
Current State: 34:[98, 1], Operations: ['96/8=12', '12/12=1']
Exploring Operation: 98/1=98, Resulting Numbers: [98]
98,34 unequal: No Solution
Exploring Operation: 98-1=97, Resulting Numbers: [97]
97,34 unequal: No Solution
Exploring Operation: 98*1=98, Resulting Numbers: [98]
98,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
Current State: 34:[98, 8, 8], Operations: ['96/12=8']
Exploring Operation: 98-8=90, Resulting Numbers: [8, 90]
Generated Node #0,1,0: 34:[8, 90] Operation: 98-8=90
Exploring Operation: 98-8=90, Resulting Numbers: [8, 90]
Generated Node #0,1,1: 34:[8, 90] Operation: 98-8=90
Exploring Operation: 8+8=16, Resulting Numbers: [98, 16]
Generated Node #0,1,2: 34:[98, 16] Operation: 8+8=16
Moving to Node #0,1,0
Current State: 34:[8, 90], Operations: ['96/12=8', '98-8=90']
Exploring Operation: 90-8=82, Resulting Numbers: [82]
82,34 unequal: No Solution
Exploring Operation: 8*90=720, Resulting Numbers: [720]
720,34 unequal: No Solution
Exploring Operation: 8+90=98, Resulting Numbers: [98]
98,34 unequal: No Solution
Moving to Node #0,1,1
Current State: 34:[8, 90], Operations: ['96/12=8', '98-8=90']
Exploring Operation: 90-8=82, Resulting Numbers: [82]
82,34 unequal: No Solution
Exploring Operation: 8*90=720, Resulting Numbers: [720]
720,34 unequal: No Solution
Exploring Operation: 8+90=98, Resulting Numbers: [98]
98,34 unequal: No Solution
Moving to Node #0,1,2
Current State: 34:[98, 16], Operations: ['96/12=8', '8+8=16']
Exploring Operation: 98-16=82, Resulting Numbers: [82]
82,34 unequal: No Solution
Exploring Operation: 98+16=114, Resulting Numbers: [114]
114,34 unequal: No Solution
Exploring Operation: 98*16=1568, Resulting Numbers: [1568]
1568,34 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 |
[
76,
84,
3,
43
] | 91 | [
"76+43=119",
"84/3=28",
"119-28=91"
] | Current State: 91:[76, 84, 3, 43], Operations: []
Exploring Operation: 76+43=119, Resulting Numbers: [84, 3, 119]
Generated Node #2: [84, 3, 119] from Operation: 76+43=119
Current State: 91:[84, 3, 119], Operations: ['76+43=119']
Exploring Operation: 84/3=28, Resulting Numbers: [119, 28]
Generated Node #3: [119, 28] from Operation: 84/3=28
Current State: 91:[119, 28], Operations: ['76+43=119', '84/3=28']
Exploring Operation: 119-28=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[76, 84, 3, 43], Operations: []
Exploring Operation: 84-76=8, Resulting Numbers: [3, 43, 8]
Generated Node #0,0: 91:[3, 43, 8] Operation: 84-76=8
Exploring Operation: 76-43=33, Resulting Numbers: [84, 3, 33]
Generated Node #0,1: 91:[84, 3, 33] Operation: 76-43=33
Start Sub Search at level 1: Moving to Node #0,1
Current State: 91:[84, 3, 33], Operations: ['76-43=33']
Exploring Operation: 33/3=11, Resulting Numbers: [84, 11]
Generated Node #0,1,0: 91:[84, 11] Operation: 33/3=11
Exploring Operation: 3*33=99, Resulting Numbers: [84, 99]
Generated Node #0,1,1: 91:[84, 99] Operation: 3*33=99
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 91:[84, 11], Operations: ['76-43=33', '33/3=11']
Exploring Operation: 84-11=73, Resulting Numbers: [73]
73,91 unequal: No Solution
Exploring Operation: 84+11=95, Resulting Numbers: [95]
95,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 91:[84, 99], Operations: ['76-43=33', '3*33=99']
Exploring Operation: 84+99=183, Resulting Numbers: [183]
183,91 unequal: No Solution
Exploring Operation: 99-84=15, Resulting Numbers: [15]
15,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:[3, 43, 8], Operations: ['84-76=8']
Exploring Operation: 43-3=40, Resulting Numbers: [8, 40]
Generated Node #0,0,0: 91:[8, 40] Operation: 43-3=40
Exploring Operation: 43-8=35, Resulting Numbers: [3, 35]
Generated Node #0,0,1: 91:[3, 35] Operation: 43-8=35
Moving to Node #0,0,1
Current State: 91:[3, 35], Operations: ['84-76=8', '43-8=35']
Exploring Operation: 3*35=105, Resulting Numbers: [105]
105,91 unequal: No Solution
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,91 unequal: No Solution
Moving to Node #0,0,0
Current State: 91:[8, 40], Operations: ['84-76=8', '43-3=40']
Exploring Operation: 40-8=32, Resulting Numbers: [32]
32,91 unequal: No Solution
Exploring Operation: 40/8=5, Resulting Numbers: [5]
5,91 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 |
[
48,
7,
10,
98
] | 52 | [
"48-10=38",
"98/7=14",
"38+14=52"
] | Current State: 52:[48, 7, 10, 98], Operations: []
Exploring Operation: 48-10=38, Resulting Numbers: [7, 98, 38]
Generated Node #2: [7, 98, 38] from Operation: 48-10=38
Current State: 52:[7, 98, 38], Operations: ['48-10=38']
Exploring Operation: 98/7=14, Resulting Numbers: [38, 14]
Generated Node #3: [38, 14] from Operation: 98/7=14
Current State: 52:[38, 14], Operations: ['48-10=38', '98/7=14']
Exploring Operation: 38+14=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[48, 7, 10, 98], Operations: []
Exploring Operation: 98-48=50, Resulting Numbers: [7, 10, 50]
Generated Node #0,0: 52:[7, 10, 50] Operation: 98-48=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[7, 10, 50], Operations: ['98-48=50']
Exploring Operation: 10-7=3, Resulting Numbers: [50, 3]
Generated Node #0,0,0: 52:[50, 3] Operation: 10-7=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 52:[50, 3], Operations: ['98-48=50', '10-7=3']
Exploring Operation: 50+3=53, Resulting Numbers: [53]
53,52 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 |
[
19,
29,
66,
72
] | 85 | [
"72-66=6",
"19*6=114",
"114-29=85"
] | Current State: 85:[19, 29, 66, 72], Operations: []
Exploring Operation: 72-66=6, Resulting Numbers: [19, 29, 6]
Generated Node #2: [19, 29, 6] from Operation: 72-66=6
Current State: 85:[19, 29, 6], Operations: ['72-66=6']
Exploring Operation: 19*6=114, Resulting Numbers: [29, 114]
Generated Node #3: [29, 114] from Operation: 19*6=114
Current State: 85:[29, 114], Operations: ['72-66=6', '19*6=114']
Exploring Operation: 114-29=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[19, 29, 66, 72], Operations: []
Exploring Operation: 19+66=85, Resulting Numbers: [29, 72, 85]
Generated Node #0,0: 85:[29, 72, 85] Operation: 19+66=85
Exploring Operation: 72-66=6, Resulting Numbers: [19, 29, 6]
Generated Node #0,1: 85:[19, 29, 6] Operation: 72-66=6
Moving to Node #0,1
Current State: 85:[19, 29, 6], Operations: ['72-66=6']
Exploring Operation: 29-6=23, Resulting Numbers: [19, 23]
Generated Node #0,1,0: 85:[19, 23] Operation: 29-6=23
Exploring Operation: 29-19=10, Resulting Numbers: [6, 10]
Generated Node #0,1,1: 85:[6, 10] Operation: 29-19=10
Moving to Node #0,0
Current State: 85:[29, 72, 85], Operations: ['19+66=85']
Exploring Operation: 85-72=13, Resulting Numbers: [29, 13]
Generated Node #0,0,0: 85:[29, 13] Operation: 85-72=13
Exploring Operation: 29+72=101, Resulting Numbers: [85, 101]
Generated Node #0,0,1: 85:[85, 101] Operation: 29+72=101
Moving to Node #0,1,1
Current State: 85:[6, 10], Operations: ['72-66=6', '29-19=10']
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,85 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,85 unequal: No Solution
Moving to Node #0,1,0
Current State: 85:[19, 23], Operations: ['72-66=6', '29-6=23']
Exploring Operation: 19+23=42, Resulting Numbers: [42]
42,85 unequal: No Solution
Exploring Operation: 23-19=4, Resulting Numbers: [4]
4,85 unequal: No Solution
Moving to Node #0,0,1
Current State: 85:[85, 101], Operations: ['19+66=85', '29+72=101']
Exploring Operation: 85+101=186, Resulting Numbers: [186]
186,85 unequal: No Solution
Exploring Operation: 101-85=16, Resulting Numbers: [16]
16,85 unequal: No Solution
Moving to Node #0,0,0
Current State: 85:[29, 13], Operations: ['19+66=85', '85-72=13']
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,85 unequal: No Solution
Exploring Operation: 29+13=42, Resulting Numbers: [42]
42,85 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
91,
6,
74,
82
] | 43 | [
"82-74=8",
"6*8=48",
"91-48=43"
] | Current State: 43:[91, 6, 74, 82], Operations: []
Exploring Operation: 82-74=8, Resulting Numbers: [91, 6, 8]
Generated Node #2: [91, 6, 8] from Operation: 82-74=8
Current State: 43:[91, 6, 8], Operations: ['82-74=8']
Exploring Operation: 6*8=48, Resulting Numbers: [91, 48]
Generated Node #3: [91, 48] from Operation: 6*8=48
Current State: 43:[91, 48], Operations: ['82-74=8', '6*8=48']
Exploring Operation: 91-48=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[91, 6, 74, 82], Operations: []
Exploring Operation: 91-74=17, Resulting Numbers: [6, 82, 17]
Generated Node #0,0: 43:[6, 82, 17] Operation: 91-74=17
Exploring Operation: 91-82=9, Resulting Numbers: [6, 74, 9]
Generated Node #0,1: 43:[6, 74, 9] Operation: 91-82=9
Exploring Operation: 74-6=68, Resulting Numbers: [91, 82, 68]
Generated Node #0,2: 43:[91, 82, 68] Operation: 74-6=68
Exploring Operation: 91-6=85, Resulting Numbers: [74, 82, 85]
Generated Node #0,3: 43:[74, 82, 85] Operation: 91-6=85
Exploring Operation: 82-6=76, Resulting Numbers: [91, 74, 76]
Generated Node #0,4: 43:[91, 74, 76] Operation: 82-6=76
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[6, 82, 17], Operations: ['91-74=17']
Exploring Operation: 82-17=65, Resulting Numbers: [6, 65]
Generated Node #0,0,0: 43:[6, 65] Operation: 82-17=65
Exploring Operation: 82-6=76, Resulting Numbers: [17, 76]
Generated Node #0,0,1: 43:[17, 76] Operation: 82-6=76
Exploring Operation: 17-6=11, Resulting Numbers: [82, 11]
Generated Node #0,0,2: 43:[82, 11] Operation: 17-6=11
Exploring Operation: 6+82=88, Resulting Numbers: [17, 88]
Generated Node #0,0,3: 43:[17, 88] Operation: 6+82=88
Exploring Operation: 6+17=23, Resulting Numbers: [82, 23]
Generated Node #0,0,4: 43:[82, 23] Operation: 6+17=23
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 43:[6, 65], Operations: ['91-74=17', '82-17=65']
Exploring Operation: 6*65=390, Resulting Numbers: [390]
390,43 unequal: No Solution
Exploring Operation: 6+65=71, Resulting Numbers: [71]
71,43 unequal: No Solution
Exploring Operation: 65-6=59, Resulting Numbers: [59]
59,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 43:[17, 76], Operations: ['91-74=17', '82-6=76']
Exploring Operation: 17*76=1292, Resulting Numbers: [1292]
1292,43 unequal: No Solution
Exploring Operation: 17+76=93, Resulting Numbers: [93]
93,43 unequal: No Solution
Exploring Operation: 76-17=59, Resulting Numbers: [59]
59,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 43:[82, 23], Operations: ['91-74=17', '6+17=23']
Exploring Operation: 82+23=105, Resulting Numbers: [105]
105,43 unequal: No Solution
Exploring Operation: 82*23=1886, Resulting Numbers: [1886]
1886,43 unequal: No Solution
Exploring Operation: 82-23=59, Resulting Numbers: [59]
59,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 43:[82, 11], Operations: ['91-74=17', '17-6=11']
Exploring Operation: 82+11=93, Resulting Numbers: [93]
93,43 unequal: No Solution
Exploring Operation: 82*11=902, Resulting Numbers: [902]
902,43 unequal: No Solution
Exploring Operation: 82-11=71, Resulting Numbers: [71]
71,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 43:[17, 88], Operations: ['91-74=17', '6+82=88']
Exploring Operation: 17+88=105, Resulting Numbers: [105]
105,43 unequal: No Solution
Exploring Operation: 88-17=71, Resulting Numbers: [71]
71,43 unequal: No Solution
Exploring Operation: 17*88=1496, Resulting Numbers: [1496]
1496,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[6, 74, 9], Operations: ['91-82=9']
Exploring Operation: 6*9=54, Resulting Numbers: [74, 54]
Generated Node #0,1,0: 43:[74, 54] Operation: 6*9=54
Exploring Operation: 6+74=80, Resulting Numbers: [9, 80]
Generated Node #0,1,1: 43:[9, 80] Operation: 6+74=80
Exploring Operation: 74-9=65, Resulting Numbers: [6, 65]
Generated Node #0,1,2: 43:[6, 65] Operation: 74-9=65
Exploring Operation: 6+9=15, Resulting Numbers: [74, 15]
Generated Node #0,1,3: 43:[74, 15] Operation: 6+9=15
Exploring Operation: 74-6=68, Resulting Numbers: [9, 68]
Generated Node #0,1,4: 43:[9, 68] Operation: 74-6=68
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 43:[74, 54], Operations: ['91-82=9', '6*9=54']
Exploring Operation: 74+54=128, Resulting Numbers: [128]
128,43 unequal: No Solution
Exploring Operation: 74-54=20, Resulting Numbers: [20]
20,43 unequal: No Solution
Exploring Operation: 74*54=3996, Resulting Numbers: [3996]
3996,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 43:[6, 65], Operations: ['91-82=9', '74-9=65']
Exploring Operation: 65-6=59, Resulting Numbers: [59]
59,43 unequal: No Solution
Exploring Operation: 6*65=390, Resulting Numbers: [390]
390,43 unequal: No Solution
Exploring Operation: 6+65=71, Resulting Numbers: [71]
71,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 43:[74, 15], Operations: ['91-82=9', '6+9=15']
Exploring Operation: 74-15=59, Resulting Numbers: [59]
59,43 unequal: No Solution
Exploring Operation: 74*15=1110, Resulting Numbers: [1110]
1110,43 unequal: No Solution
Exploring Operation: 74+15=89, Resulting Numbers: [89]
89,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 43:[9, 68], Operations: ['91-82=9', '74-6=68']
Exploring Operation: 68-9=59, Resulting Numbers: [59]
59,43 unequal: No Solution
Exploring Operation: 9*68=612, Resulting Numbers: [612]
612,43 unequal: No Solution
Exploring Operation: 9+68=77, Resulting Numbers: [77]
77,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 43:[9, 80], Operations: ['91-82=9', '6+74=80']
Exploring Operation: 80-9=71, Resulting Numbers: [71]
71,43 unequal: No Solution
Exploring Operation: 9+80=89, Resulting Numbers: [89]
89,43 unequal: No Solution
Exploring Operation: 9*80=720, Resulting Numbers: [720]
720,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 43:[91, 82, 68], Operations: ['74-6=68']
Exploring Operation: 91+82=173, Resulting Numbers: [68, 173]
Generated Node #0,2,0: 43:[68, 173] Operation: 91+82=173
Exploring Operation: 91+68=159, Resulting Numbers: [82, 159]
Generated Node #0,2,1: 43:[82, 159] Operation: 91+68=159
Exploring Operation: 91-82=9, Resulting Numbers: [68, 9]
Generated Node #0,2,2: 43:[68, 9] Operation: 91-82=9
Exploring Operation: 82-68=14, Resulting Numbers: [91, 14]
Generated Node #0,2,3: 43:[91, 14] Operation: 82-68=14
Exploring Operation: 91-68=23, Resulting Numbers: [82, 23]
Generated Node #0,2,4: 43:[82, 23] Operation: 91-68=23
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 43:[68, 9], Operations: ['74-6=68', '91-82=9']
Exploring Operation: 68-9=59, Resulting Numbers: [59]
59,43 unequal: No Solution
Exploring Operation: 68*9=612, Resulting Numbers: [612]
612,43 unequal: No Solution
Exploring Operation: 68+9=77, Resulting Numbers: [77]
77,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 43:[82, 23], Operations: ['74-6=68', '91-68=23']
Exploring Operation: 82*23=1886, Resulting Numbers: [1886]
1886,43 unequal: No Solution
Exploring Operation: 82-23=59, Resulting Numbers: [59]
59,43 unequal: No Solution
Exploring Operation: 82+23=105, Resulting Numbers: [105]
105,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 43:[91, 14], Operations: ['74-6=68', '82-68=14']
Exploring Operation: 91-14=77, Resulting Numbers: [77]
77,43 unequal: No Solution
Exploring Operation: 91+14=105, Resulting Numbers: [105]
105,43 unequal: No Solution
Exploring Operation: 91*14=1274, Resulting Numbers: [1274]
1274,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 43:[68, 173], Operations: ['74-6=68', '91+82=173']
Exploring Operation: 68*173=11764, Resulting Numbers: [11764]
11764,43 unequal: No Solution
Exploring Operation: 68+173=241, Resulting Numbers: [241]
241,43 unequal: No Solution
Exploring Operation: 173-68=105, Resulting Numbers: [105]
105,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 43:[82, 159], Operations: ['74-6=68', '91+68=159']
Exploring Operation: 82+159=241, Resulting Numbers: [241]
241,43 unequal: No Solution
Exploring Operation: 159-82=77, Resulting Numbers: [77]
77,43 unequal: No Solution
Exploring Operation: 82*159=13038, Resulting Numbers: [13038]
13038,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 43:[74, 82, 85], Operations: ['91-6=85']
Exploring Operation: 74+85=159, Resulting Numbers: [82, 159]
Generated Node #0,3,0: 43:[82, 159] Operation: 74+85=159
Exploring Operation: 74+82=156, Resulting Numbers: [85, 156]
Generated Node #0,3,1: 43:[85, 156] Operation: 74+82=156
Exploring Operation: 85-82=3, Resulting Numbers: [74, 3]
Generated Node #0,3,2: 43:[74, 3] Operation: 85-82=3
Exploring Operation: 82-74=8, Resulting Numbers: [85, 8]
Generated Node #0,3,3: 43:[85, 8] Operation: 82-74=8
Exploring Operation: 85-74=11, Resulting Numbers: [82, 11]
Generated Node #0,3,4: 43:[82, 11] Operation: 85-74=11
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 43:[74, 3], Operations: ['91-6=85', '85-82=3']
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,43 unequal: No Solution
Exploring Operation: 74*3=222, Resulting Numbers: [222]
222,43 unequal: No Solution
Exploring Operation: 74+3=77, Resulting Numbers: [77]
77,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 43:[82, 11], Operations: ['91-6=85', '85-74=11']
Exploring Operation: 82+11=93, Resulting Numbers: [93]
93,43 unequal: No Solution
Exploring Operation: 82*11=902, Resulting Numbers: [902]
902,43 unequal: No Solution
Exploring Operation: 82-11=71, Resulting Numbers: [71]
71,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 43:[85, 8], Operations: ['91-6=85', '82-74=8']
Exploring Operation: 85-8=77, Resulting Numbers: [77]
77,43 unequal: No Solution
Exploring Operation: 85+8=93, Resulting Numbers: [93]
93,43 unequal: No Solution
Exploring Operation: 85*8=680, Resulting Numbers: [680]
680,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 43:[82, 159], Operations: ['91-6=85', '74+85=159']
Exploring Operation: 82+159=241, Resulting Numbers: [241]
241,43 unequal: No Solution
Exploring Operation: 159-82=77, Resulting Numbers: [77]
77,43 unequal: No Solution
Exploring Operation: 82*159=13038, Resulting Numbers: [13038]
13038,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 43:[85, 156], Operations: ['91-6=85', '74+82=156']
Exploring Operation: 85*156=13260, Resulting Numbers: [13260]
13260,43 unequal: No Solution
Exploring Operation: 85+156=241, Resulting Numbers: [241]
241,43 unequal: No Solution
Exploring Operation: 156-85=71, Resulting Numbers: [71]
71,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 43:[91, 74, 76], Operations: ['82-6=76']
Exploring Operation: 91+74=165, Resulting Numbers: [76, 165]
Generated Node #0,4,0: 43:[76, 165] Operation: 91+74=165
Exploring Operation: 91-76=15, Resulting Numbers: [74, 15]
Generated Node #0,4,1: 43:[74, 15] Operation: 91-76=15
Exploring Operation: 91+76=167, Resulting Numbers: [74, 167]
Generated Node #0,4,2: 43:[74, 167] Operation: 91+76=167
Exploring Operation: 91-74=17, Resulting Numbers: [76, 17]
Generated Node #0,4,3: 43:[76, 17] Operation: 91-74=17
Exploring Operation: 76-74=2, Resulting Numbers: [91, 2]
Generated Node #0,4,4: 43:[91, 2] Operation: 76-74=2
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 43:[74, 15], Operations: ['82-6=76', '91-76=15']
Exploring Operation: 74+15=89, Resulting Numbers: [89]
89,43 unequal: No Solution
Exploring Operation: 74*15=1110, Resulting Numbers: [1110]
1110,43 unequal: No Solution
Exploring Operation: 74-15=59, Resulting Numbers: [59]
59,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 43:[76, 17], Operations: ['82-6=76', '91-74=17']
Exploring Operation: 76+17=93, Resulting Numbers: [93]
93,43 unequal: No Solution
Exploring Operation: 76-17=59, Resulting Numbers: [59]
59,43 unequal: No Solution
Exploring Operation: 76*17=1292, Resulting Numbers: [1292]
1292,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 43:[91, 2], Operations: ['82-6=76', '76-74=2']
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,43 unequal: No Solution
Exploring Operation: 91*2=182, Resulting Numbers: [182]
182,43 unequal: No Solution
Exploring Operation: 91+2=93, Resulting Numbers: [93]
93,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 43:[76, 165], Operations: ['82-6=76', '91+74=165']
Exploring Operation: 165-76=89, Resulting Numbers: [89]
89,43 unequal: No Solution
Exploring Operation: 76+165=241, Resulting Numbers: [241]
241,43 unequal: No Solution
Exploring Operation: 76*165=12540, Resulting Numbers: [12540]
12540,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 43:[74, 167], Operations: ['82-6=76', '91+76=167']
Exploring Operation: 167-74=93, Resulting Numbers: [93]
93,43 unequal: No Solution
Exploring Operation: 74+167=241, Resulting Numbers: [241]
241,43 unequal: No Solution
Exploring Operation: 74*167=12358, Resulting Numbers: [12358]
12358,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
5,
80,
28,
40
] | 100 | [
"5*28=140",
"80-40=40",
"140-40=100"
] | Current State: 100:[5, 80, 28, 40], Operations: []
Exploring Operation: 5*28=140, Resulting Numbers: [80, 40, 140]
Generated Node #2: [80, 40, 140] from Operation: 5*28=140
Current State: 100:[80, 40, 140], Operations: ['5*28=140']
Exploring Operation: 80-40=40, Resulting Numbers: [140, 40]
Generated Node #3: [140, 40] from Operation: 80-40=40
Current State: 100:[140, 40], Operations: ['5*28=140', '80-40=40']
Exploring Operation: 140-40=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[5, 80, 28, 40], Operations: []
Exploring Operation: 80/40=2, Resulting Numbers: [5, 28, 2]
Generated Node #0,0: 100:[5, 28, 2] Operation: 80/40=2
Moving to Node #0,0
Current State: 100:[5, 28, 2], Operations: ['80/40=2']
Exploring Operation: 28-2=26, Resulting Numbers: [5, 26]
Generated Node #0,0,0: 100:[5, 26] Operation: 28-2=26
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 100:[5, 26], Operations: ['80/40=2', '28-2=26']
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,100 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 |
[
86,
67,
6,
65
] | 98 | [
"67-65=2",
"6*2=12",
"86+12=98"
] | Current State: 98:[86, 67, 6, 65], Operations: []
Exploring Operation: 67-65=2, Resulting Numbers: [86, 6, 2]
Generated Node #2: [86, 6, 2] from Operation: 67-65=2
Current State: 98:[86, 6, 2], Operations: ['67-65=2']
Exploring Operation: 6*2=12, Resulting Numbers: [86, 12]
Generated Node #3: [86, 12] from Operation: 6*2=12
Current State: 98:[86, 12], Operations: ['67-65=2', '6*2=12']
Exploring Operation: 86+12=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[86, 67, 6, 65], Operations: []
Exploring Operation: 67-65=2, Resulting Numbers: [86, 6, 2]
Generated Node #0,0: 98:[86, 6, 2] Operation: 67-65=2
Exploring Operation: 86-65=21, Resulting Numbers: [67, 6, 21]
Generated Node #0,1: 98:[67, 6, 21] Operation: 86-65=21
Exploring Operation: 86-67=19, Resulting Numbers: [6, 65, 19]
Generated Node #0,2: 98:[6, 65, 19] Operation: 86-67=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[86, 6, 2], Operations: ['67-65=2']
Exploring Operation: 86+2=88, Resulting Numbers: [6, 88]
Generated Node #0,0,0: 98:[6, 88] Operation: 86+2=88
Exploring Operation: 86+6=92, Resulting Numbers: [2, 92]
Generated Node #0,0,1: 98:[2, 92] Operation: 86+6=92
Exploring Operation: 86/2=43, Resulting Numbers: [6, 43]
Generated Node #0,0,2: 98:[6, 43] Operation: 86/2=43
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 98:[2, 92], Operations: ['67-65=2', '86+6=92']
Exploring Operation: 92/2=46, Resulting Numbers: [46]
46,98 unequal: No Solution
Exploring Operation: 92-2=90, Resulting Numbers: [90]
90,98 unequal: No Solution
Exploring Operation: 2+92=94, Resulting Numbers: [94]
94,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,0,2
Current State: 98:[6, 43], Operations: ['67-65=2', '86/2=43']
Exploring Operation: 6+43=49, Resulting Numbers: [49]
49,98 unequal: No Solution
Exploring Operation: 6*43=258, Resulting Numbers: [258]
258,98 unequal: No Solution
Exploring Operation: 43-6=37, Resulting Numbers: [37]
37,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,0,0
Current State: 98:[6, 88], Operations: ['67-65=2', '86+2=88']
Exploring Operation: 6*88=528, Resulting Numbers: [528]
528,98 unequal: No Solution
Exploring Operation: 88-6=82, Resulting Numbers: [82]
82,98 unequal: No Solution
Exploring Operation: 6+88=94, Resulting Numbers: [94]
94,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:[6, 65, 19], Operations: ['86-67=19']
Exploring Operation: 65-6=59, Resulting Numbers: [19, 59]
Generated Node #0,2,0: 98:[19, 59] Operation: 65-6=59
Exploring Operation: 65+19=84, Resulting Numbers: [6, 84]
Generated Node #0,2,1: 98:[6, 84] Operation: 65+19=84
Exploring Operation: 65-19=46, Resulting Numbers: [6, 46]
Generated Node #0,2,2: 98:[6, 46] Operation: 65-19=46
Moving to Node #0,2,2
Current State: 98:[6, 46], Operations: ['86-67=19', '65-19=46']
Exploring Operation: 6+46=52, Resulting Numbers: [52]
52,98 unequal: No Solution
Exploring Operation: 46-6=40, Resulting Numbers: [40]
40,98 unequal: No Solution
Exploring Operation: 6*46=276, Resulting Numbers: [276]
276,98 unequal: No Solution
Moving to Node #0,2,0
Current State: 98:[19, 59], Operations: ['86-67=19', '65-6=59']
Exploring Operation: 19+59=78, Resulting Numbers: [78]
78,98 unequal: No Solution
Exploring Operation: 59-19=40, Resulting Numbers: [40]
40,98 unequal: No Solution
Exploring Operation: 19*59=1121, Resulting Numbers: [1121]
1121,98 unequal: No Solution
Moving to Node #0,2,1
Current State: 98:[6, 84], Operations: ['86-67=19', '65+19=84']
Exploring Operation: 6+84=90, Resulting Numbers: [90]
90,98 unequal: No Solution
Exploring Operation: 84/6=14, Resulting Numbers: [14]
14,98 unequal: No Solution
Exploring Operation: 84-6=78, Resulting Numbers: [78]
78,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[67, 6, 21], Operations: ['86-65=21']
Exploring Operation: 67-21=46, Resulting Numbers: [6, 46]
Generated Node #0,1,0: 98:[6, 46] Operation: 67-21=46
Exploring Operation: 67-6=61, Resulting Numbers: [21, 61]
Generated Node #0,1,1: 98:[21, 61] Operation: 67-6=61
Exploring Operation: 67+21=88, Resulting Numbers: [6, 88]
Generated Node #0,1,2: 98:[6, 88] Operation: 67+21=88
Moving to Node #0,1,0
Current State: 98:[6, 46], Operations: ['86-65=21', '67-21=46']
Exploring Operation: 6*46=276, Resulting Numbers: [276]
276,98 unequal: No Solution
Exploring Operation: 6+46=52, Resulting Numbers: [52]
52,98 unequal: No Solution
Exploring Operation: 46-6=40, Resulting Numbers: [40]
40,98 unequal: No Solution
Moving to Node #0,1,2
Current State: 98:[6, 88], Operations: ['86-65=21', '67+21=88']
Exploring Operation: 6+88=94, Resulting Numbers: [94]
94,98 unequal: No Solution
Exploring Operation: 6*88=528, Resulting Numbers: [528]
528,98 unequal: No Solution
Exploring Operation: 88-6=82, Resulting Numbers: [82]
82,98 unequal: No Solution
Moving to Node #0,1,1
Current State: 98:[21, 61], Operations: ['86-65=21', '67-6=61']
Exploring Operation: 61-21=40, Resulting Numbers: [40]
40,98 unequal: No Solution
Exploring Operation: 21*61=1281, Resulting Numbers: [1281]
1281,98 unequal: No Solution
Exploring Operation: 21+61=82, Resulting Numbers: [82]
82,98 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 |
[
36,
30,
9,
42
] | 11 | [
"30+42=72",
"72/36=2",
"9+2=11"
] | Current State: 11:[36, 30, 9, 42], Operations: []
Exploring Operation: 30+42=72, Resulting Numbers: [36, 9, 72]
Generated Node #2: [36, 9, 72] from Operation: 30+42=72
Current State: 11:[36, 9, 72], Operations: ['30+42=72']
Exploring Operation: 72/36=2, Resulting Numbers: [9, 2]
Generated Node #3: [9, 2] from Operation: 72/36=2
Current State: 11:[9, 2], Operations: ['30+42=72', '72/36=2']
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[36, 30, 9, 42], Operations: []
Exploring Operation: 42-30=12, Resulting Numbers: [36, 9, 12]
Generated Node #0,0: 11:[36, 9, 12] Operation: 42-30=12
Exploring Operation: 42-36=6, Resulting Numbers: [30, 9, 6]
Generated Node #0,1: 11:[30, 9, 6] Operation: 42-36=6
Exploring Operation: 36-30=6, Resulting Numbers: [9, 42, 6]
Generated Node #0,2: 11:[9, 42, 6] Operation: 36-30=6
Start Sub Search at level 1: Moving to Node #0,1
Current State: 11:[30, 9, 6], Operations: ['42-36=6']
Exploring Operation: 30/6=5, Resulting Numbers: [9, 5]
Generated Node #0,1,0: 11:[9, 5] Operation: 30/6=5
Exploring Operation: 30-9=21, Resulting Numbers: [6, 21]
Generated Node #0,1,1: 11:[6, 21] Operation: 30-9=21
Exploring Operation: 30-6=24, Resulting Numbers: [9, 24]
Generated Node #0,1,2: 11:[9, 24] Operation: 30-6=24
Moving to Node #0,1,0
Current State: 11:[9, 5], Operations: ['42-36=6', '30/6=5']
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,11 unequal: No Solution
Exploring Operation: 9*5=45, Resulting Numbers: [45]
45,11 unequal: No Solution
Exploring Operation: 9+5=14, Resulting Numbers: [14]
14,11 unequal: No Solution
Moving to Node #0,1,1
Current State: 11:[6, 21], Operations: ['42-36=6', '30-9=21']
Exploring Operation: 6+21=27, Resulting Numbers: [27]
27,11 unequal: No Solution
Exploring Operation: 6*21=126, Resulting Numbers: [126]
126,11 unequal: No Solution
Exploring Operation: 21-6=15, Resulting Numbers: [15]
15,11 unequal: No Solution
Moving to Node #0,1,2
Current State: 11:[9, 24], Operations: ['42-36=6', '30-6=24']
Exploring Operation: 9+24=33, Resulting Numbers: [33]
33,11 unequal: No Solution
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,11 unequal: No Solution
Exploring Operation: 9*24=216, Resulting Numbers: [216]
216,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[36, 9, 12], Operations: ['42-30=12']
Exploring Operation: 36/9=4, Resulting Numbers: [12, 4]
Generated Node #0,0,0: 11:[12, 4] Operation: 36/9=4
Exploring Operation: 36-12=24, Resulting Numbers: [9, 24]
Generated Node #0,0,1: 11:[9, 24] Operation: 36-12=24
Exploring Operation: 36/12=3, Resulting Numbers: [9, 3]
Generated Node #0,0,2: 11:[9, 3] Operation: 36/12=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 11:[12, 4], Operations: ['42-30=12', '36/9=4']
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,11 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,11 unequal: No Solution
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,11 unequal: No Solution
No 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: 11:[9, 3], Operations: ['42-30=12', '36/12=3']
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,11 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,11 unequal: No Solution
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 11:[9, 24], Operations: ['42-30=12', '36-12=24']
Exploring Operation: 9+24=33, Resulting Numbers: [33]
33,11 unequal: No Solution
Exploring Operation: 9*24=216, Resulting Numbers: [216]
216,11 unequal: No Solution
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 11:[9, 42, 6], Operations: ['36-30=6']
Exploring Operation: 42/6=7, Resulting Numbers: [9, 7]
Generated Node #0,2,0: 11:[9, 7] Operation: 42/6=7
Exploring Operation: 42-9=33, Resulting Numbers: [6, 33]
Generated Node #0,2,1: 11:[6, 33] Operation: 42-9=33
Exploring Operation: 42-6=36, Resulting Numbers: [9, 36]
Generated Node #0,2,2: 11:[9, 36] Operation: 42-6=36
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 11:[9, 7], Operations: ['36-30=6', '42/6=7']
Exploring Operation: 9+7=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Exploring Operation: 9*7=63, Resulting Numbers: [63]
63,11 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 11:[6, 33], Operations: ['36-30=6', '42-9=33']
Exploring Operation: 6+33=39, Resulting Numbers: [39]
39,11 unequal: No Solution
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,11 unequal: No Solution
Exploring Operation: 6*33=198, Resulting Numbers: [198]
198,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 11:[9, 36], Operations: ['36-30=6', '42-6=36']
Exploring Operation: 36-9=27, Resulting Numbers: [27]
27,11 unequal: No Solution
Exploring Operation: 36/9=4, Resulting Numbers: [4]
4,11 unequal: No Solution
Exploring Operation: 9+36=45, Resulting Numbers: [45]
45,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
99,
8,
33,
11
] | 48 | [
"99-33=66",
"8*66=528",
"528/11=48"
] | Current State: 48:[99, 8, 33, 11], Operations: []
Exploring Operation: 99-33=66, Resulting Numbers: [8, 11, 66]
Generated Node #2: [8, 11, 66] from Operation: 99-33=66
Current State: 48:[8, 11, 66], Operations: ['99-33=66']
Exploring Operation: 8*66=528, Resulting Numbers: [11, 528]
Generated Node #3: [11, 528] from Operation: 8*66=528
Current State: 48:[11, 528], Operations: ['99-33=66', '8*66=528']
Exploring Operation: 528/11=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[99, 8, 33, 11], Operations: []
Exploring Operation: 99/11=9, Resulting Numbers: [8, 33, 9]
Generated Node #0,0: 48:[8, 33, 9] Operation: 99/11=9
Exploring Operation: 99/33=3, Resulting Numbers: [8, 11, 3]
Generated Node #0,1: 48:[8, 11, 3] Operation: 99/33=3
Exploring Operation: 99-33=66, Resulting Numbers: [8, 11, 66]
Generated Node #0,2: 48:[8, 11, 66] Operation: 99-33=66
Start Sub Search at level 1: Moving to Node #0,1
Current State: 48:[8, 11, 3], Operations: ['99/33=3']
Exploring Operation: 8*3=24, Resulting Numbers: [11, 24]
Generated Node #0,1,0: 48:[11, 24] Operation: 8*3=24
Exploring Operation: 11-8=3, Resulting Numbers: [3, 3]
Generated Node #0,1,1: 48:[3, 3] Operation: 11-8=3
Exploring Operation: 11-3=8, Resulting Numbers: [8, 8]
Generated Node #0,1,2: 48:[8, 8] Operation: 11-3=8
Moving to Node #0,1,1
Current State: 48:[3, 3], Operations: ['99/33=3', '11-8=3']
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,48 unequal: No Solution
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,48 unequal: No Solution
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,48 unequal: No Solution
Moving to Node #0,1,2
Current State: 48:[8, 8], Operations: ['99/33=3', '11-3=8']
Exploring Operation: 8+8=16, Resulting Numbers: [16]
16,48 unequal: No Solution
Exploring Operation: 8-8=0, Resulting Numbers: [0]
0,48 unequal: No Solution
Exploring Operation: 8/8=1, Resulting Numbers: [1]
1,48 unequal: No Solution
Moving to Node #0,1,0
Current State: 48:[11, 24], Operations: ['99/33=3', '8*3=24']
Exploring Operation: 11*24=264, Resulting Numbers: [264]
264,48 unequal: No Solution
Exploring Operation: 24-11=13, Resulting Numbers: [13]
13,48 unequal: No Solution
Exploring Operation: 11+24=35, Resulting Numbers: [35]
35,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[8, 33, 9], Operations: ['99/11=9']
Exploring Operation: 33+9=42, Resulting Numbers: [8, 42]
Generated Node #0,0,0: 48:[8, 42] Operation: 33+9=42
Exploring Operation: 33-8=25, Resulting Numbers: [9, 25]
Generated Node #0,0,1: 48:[9, 25] Operation: 33-8=25
Exploring Operation: 33-9=24, Resulting Numbers: [8, 24]
Generated Node #0,0,2: 48:[8, 24] Operation: 33-9=24
Moving to Node #0,0,2
Current State: 48:[8, 24], Operations: ['99/11=9', '33-9=24']
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,48 unequal: No Solution
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,48 unequal: No Solution
Exploring Operation: 8+24=32, Resulting Numbers: [32]
32,48 unequal: No Solution
Moving to Node #0,0,1
Current State: 48:[9, 25], Operations: ['99/11=9', '33-8=25']
Exploring Operation: 9*25=225, Resulting Numbers: [225]
225,48 unequal: No Solution
Exploring Operation: 9+25=34, Resulting Numbers: [34]
34,48 unequal: No Solution
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,48 unequal: No Solution
Moving to Node #0,0,0
Current State: 48:[8, 42], Operations: ['99/11=9', '33+9=42']
Exploring Operation: 8+42=50, Resulting Numbers: [50]
50,48 unequal: No Solution
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,48 unequal: No Solution
Exploring Operation: 8*42=336, Resulting Numbers: [336]
336,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 48:[8, 11, 66], Operations: ['99-33=66']
Exploring Operation: 66-8=58, Resulting Numbers: [11, 58]
Generated Node #0,2,0: 48:[11, 58] Operation: 66-8=58
Exploring Operation: 66-11=55, Resulting Numbers: [8, 55]
Generated Node #0,2,1: 48:[8, 55] Operation: 66-11=55
Exploring Operation: 66/11=6, Resulting Numbers: [8, 6]
Generated Node #0,2,2: 48:[8, 6] Operation: 66/11=6
Moving to Node #0,2,2
Current State: 48:[8, 6], Operations: ['99-33=66', '66/11=6']
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,48 unequal: No Solution
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[99, 8, 33, 11], Operations: []
Exploring Operation: 99-33=66, Resulting Numbers: [8, 11, 66]
Generated Node #0,2: 48:[8, 11, 66] Operation: 99-33=66
Moving to Node #0,2
Current State: 48:[8, 11, 66], Operations: ['99-33=66']
Exploring Operation: 66/11=6, Resulting Numbers: [8, 6]
Generated Node #0,2,2: 48:[8, 6] Operation: 66/11=6
Moving to Node #0,2,2
Current State: 48:[8, 6], Operations: ['99-33=66', '66/11=6']
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_3 | mult_heuristic |
[
52,
21,
91,
23
] | 41 | [
"52+21=73",
"91+23=114",
"114-73=41"
] | Current State: 41:[52, 21, 91, 23], Operations: []
Exploring Operation: 52+21=73, Resulting Numbers: [91, 23, 73]
Generated Node #2: [91, 23, 73] from Operation: 52+21=73
Current State: 41:[91, 23, 73], Operations: ['52+21=73']
Exploring Operation: 91+23=114, Resulting Numbers: [73, 114]
Generated Node #3: [73, 114] from Operation: 91+23=114
Current State: 41:[73, 114], Operations: ['52+21=73', '91+23=114']
Exploring Operation: 114-73=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[52, 21, 91, 23], Operations: []
Exploring Operation: 91-52=39, Resulting Numbers: [21, 23, 39]
Generated Node #0,0: 41:[21, 23, 39] Operation: 91-52=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[21, 23, 39], Operations: ['91-52=39']
Exploring Operation: 21+23=44, Resulting Numbers: [39, 44]
Generated Node #0,0,0: 41:[39, 44] Operation: 21+23=44
Moving to Node #0,0,0
Current State: 41:[39, 44], Operations: ['91-52=39', '21+23=44']
Exploring Operation: 44-39=5, Resulting Numbers: [5]
5,41 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 |
[
81,
49,
90,
42
] | 81 | [
"90-49=41",
"42-41=1",
"81*1=81"
] | Current State: 81:[81, 49, 90, 42], Operations: []
Exploring Operation: 90-49=41, Resulting Numbers: [81, 42, 41]
Generated Node #2: [81, 42, 41] from Operation: 90-49=41
Current State: 81:[81, 42, 41], Operations: ['90-49=41']
Exploring Operation: 42-41=1, Resulting Numbers: [81, 1]
Generated Node #3: [81, 1] from Operation: 42-41=1
Current State: 81:[81, 1], Operations: ['90-49=41', '42-41=1']
Exploring Operation: 81*1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[81, 49, 90, 42], Operations: []
Exploring Operation: 49-42=7, Resulting Numbers: [81, 90, 7]
Generated Node #0,0: 81:[81, 90, 7] Operation: 49-42=7
Exploring Operation: 49+42=91, Resulting Numbers: [81, 90, 91]
Generated Node #0,1: 81:[81, 90, 91] Operation: 49+42=91
Moving to Node #0,0
Current State: 81:[81, 90, 7], Operations: ['49-42=7']
Exploring Operation: 90-7=83, Resulting Numbers: [81, 83]
Generated Node #0,0,0: 81:[81, 83] Operation: 90-7=83
Exploring Operation: 90-81=9, Resulting Numbers: [7, 9]
Generated Node #0,0,1: 81:[7, 9] Operation: 90-81=9
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[81, 83], Operations: ['49-42=7', '90-7=83']
Exploring Operation: 81+83=164, Resulting Numbers: [164]
164,81 unequal: No Solution
Exploring Operation: 83-81=2, Resulting Numbers: [2]
2,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 81:[7, 9], Operations: ['49-42=7', '90-81=9']
Exploring Operation: 7+9=16, Resulting Numbers: [16]
16,81 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,81 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: 81:[81, 90, 91], Operations: ['49+42=91']
Exploring Operation: 91-90=1, Resulting Numbers: [81, 1]
Generated Node #0,1,0: 81:[81, 1] Operation: 91-90=1
Exploring Operation: 90-81=9, Resulting Numbers: [91, 9]
Generated Node #0,1,1: 81:[91, 9] Operation: 90-81=9
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 81:[81, 1], Operations: ['49+42=91', '91-90=1']
Exploring Operation: 81*1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[81, 49, 90, 42], Operations: []
Exploring Operation: 49+42=91, Resulting Numbers: [81, 90, 91]
Generated Node #0,1: 81:[81, 90, 91] Operation: 49+42=91
Moving to Node #0,1
Current State: 81:[81, 90, 91], Operations: ['49+42=91']
Exploring Operation: 91-90=1, Resulting Numbers: [81, 1]
Generated Node #0,1,0: 81:[81, 1] Operation: 91-90=1
Moving to Node #0,1,0
Current State: 81:[81, 1], Operations: ['49+42=91', '91-90=1']
Exploring Operation: 81*1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
2,
80,
89,
5
] | 88 | [
"89-5=84",
"2*84=168",
"168-80=88"
] | Current State: 88:[2, 80, 89, 5], Operations: []
Exploring Operation: 89-5=84, Resulting Numbers: [2, 80, 84]
Generated Node #2: [2, 80, 84] from Operation: 89-5=84
Current State: 88:[2, 80, 84], Operations: ['89-5=84']
Exploring Operation: 2*84=168, Resulting Numbers: [80, 168]
Generated Node #3: [80, 168] from Operation: 2*84=168
Current State: 88:[80, 168], Operations: ['89-5=84', '2*84=168']
Exploring Operation: 168-80=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[2, 80, 89, 5], Operations: []
Exploring Operation: 89-80=9, Resulting Numbers: [2, 5, 9]
Generated Node #0,0: 88:[2, 5, 9] Operation: 89-80=9
Exploring Operation: 80/2=40, Resulting Numbers: [89, 5, 40]
Generated Node #0,1: 88:[89, 5, 40] Operation: 80/2=40
Exploring Operation: 80/5=16, Resulting Numbers: [2, 89, 16]
Generated Node #0,2: 88:[2, 89, 16] Operation: 80/5=16
Exploring Operation: 80+5=85, Resulting Numbers: [2, 89, 85]
Generated Node #0,3: 88:[2, 89, 85] Operation: 80+5=85
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[2, 5, 9], Operations: ['89-80=9']
Exploring Operation: 2+5=7, Resulting Numbers: [9, 7]
Generated Node #0,0,0: 88:[9, 7] Operation: 2+5=7
Exploring Operation: 2+9=11, Resulting Numbers: [5, 11]
Generated Node #0,0,1: 88:[5, 11] Operation: 2+9=11
Exploring Operation: 5*9=45, Resulting Numbers: [2, 45]
Generated Node #0,0,2: 88:[2, 45] Operation: 5*9=45
Exploring Operation: 9-5=4, Resulting Numbers: [2, 4]
Generated Node #0,0,3: 88:[2, 4] Operation: 9-5=4
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 88:[2, 4], Operations: ['89-80=9', '9-5=4']
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,88 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,88 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,88 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,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,0,1
Current State: 88:[5, 11], Operations: ['89-80=9', '2+9=11']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,88 unequal: No Solution
Exploring Operation: 5+11=16, Resulting Numbers: [16]
16,88 unequal: No Solution
Exploring Operation: 5*11=55, Resulting Numbers: [55]
55,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,0,2
Current State: 88:[2, 45], Operations: ['89-80=9', '5*9=45']
Exploring Operation: 2+45=47, Resulting Numbers: [47]
47,88 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,88 unequal: No Solution
Exploring Operation: 2*45=90, Resulting Numbers: [90]
90,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,0,0
Current State: 88:[9, 7], Operations: ['89-80=9', '2+5=7']
Exploring Operation: 9+7=16, Resulting Numbers: [16]
16,88 unequal: No Solution
Exploring Operation: 9*7=63, Resulting Numbers: [63]
63,88 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,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:[2, 89, 85], Operations: ['80+5=85']
Exploring Operation: 89-2=87, Resulting Numbers: [85, 87]
Generated Node #0,3,0: 88:[85, 87] Operation: 89-2=87
Exploring Operation: 2+85=87, Resulting Numbers: [89, 87]
Generated Node #0,3,1: 88:[89, 87] Operation: 2+85=87
Exploring Operation: 89-85=4, Resulting Numbers: [2, 4]
Generated Node #0,3,2: 88:[2, 4] Operation: 89-85=4
Exploring Operation: 2+89=91, Resulting Numbers: [85, 91]
Generated Node #0,3,3: 88:[85, 91] Operation: 2+89=91
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 88:[2, 4], Operations: ['80+5=85', '89-85=4']
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,88 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,88 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,88 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,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,3,1
Current State: 88:[89, 87], Operations: ['80+5=85', '2+85=87']
Exploring Operation: 89-87=2, Resulting Numbers: [2]
2,88 unequal: No Solution
Exploring Operation: 89*87=7743, Resulting Numbers: [7743]
7743,88 unequal: No Solution
Exploring Operation: 89+87=176, Resulting Numbers: [176]
176,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,3,0
Current State: 88:[85, 87], Operations: ['80+5=85', '89-2=87']
Exploring Operation: 85*87=7395, Resulting Numbers: [7395]
7395,88 unequal: No Solution
Exploring Operation: 85+87=172, Resulting Numbers: [172]
172,88 unequal: No Solution
Exploring Operation: 87-85=2, Resulting Numbers: [2]
2,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,3,3
Current State: 88:[85, 91], Operations: ['80+5=85', '2+89=91']
Exploring Operation: 91-85=6, Resulting Numbers: [6]
6,88 unequal: No Solution
Exploring Operation: 85*91=7735, Resulting Numbers: [7735]
7735,88 unequal: No Solution
Exploring Operation: 85+91=176, Resulting Numbers: [176]
176,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,1
Current State: 88:[89, 5, 40], Operations: ['80/2=40']
Exploring Operation: 89-40=49, Resulting Numbers: [5, 49]
Generated Node #0,1,0: 88:[5, 49] Operation: 89-40=49
Exploring Operation: 89-5=84, Resulting Numbers: [40, 84]
Generated Node #0,1,1: 88:[40, 84] Operation: 89-5=84
Exploring Operation: 5+40=45, Resulting Numbers: [89, 45]
Generated Node #0,1,2: 88:[89, 45] Operation: 5+40=45
Exploring Operation: 40/5=8, Resulting Numbers: [89, 8]
Generated Node #0,1,3: 88:[89, 8] Operation: 40/5=8
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 88:[89, 8], Operations: ['80/2=40', '40/5=8']
Exploring Operation: 89-8=81, Resulting Numbers: [81]
81,88 unequal: No Solution
Exploring Operation: 89+8=97, Resulting Numbers: [97]
97,88 unequal: No Solution
Exploring Operation: 89*8=712, Resulting Numbers: [712]
712,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:[89, 45], Operations: ['80/2=40', '5+40=45']
Exploring Operation: 89-45=44, Resulting Numbers: [44]
44,88 unequal: No Solution
Exploring Operation: 89*45=4005, Resulting Numbers: [4005]
4005,88 unequal: No Solution
Exploring Operation: 89+45=134, Resulting Numbers: [134]
134,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,0
Current State: 88:[5, 49], Operations: ['80/2=40', '89-40=49']
Exploring Operation: 5+49=54, Resulting Numbers: [54]
54,88 unequal: No Solution
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,88 unequal: No Solution
Exploring Operation: 5*49=245, Resulting Numbers: [245]
245,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:[40, 84], Operations: ['80/2=40', '89-5=84']
Exploring Operation: 40*84=3360, Resulting Numbers: [3360]
3360,88 unequal: No Solution
Exploring Operation: 84-40=44, Resulting Numbers: [44]
44,88 unequal: No Solution
Exploring Operation: 40+84=124, Resulting Numbers: [124]
124,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:[2, 89, 16], Operations: ['80/5=16']
Exploring Operation: 89-2=87, Resulting Numbers: [16, 87]
Generated Node #0,2,0: 88:[16, 87] Operation: 89-2=87
Exploring Operation: 16-2=14, Resulting Numbers: [89, 14]
Generated Node #0,2,1: 88:[89, 14] Operation: 16-2=14
Exploring Operation: 2+16=18, Resulting Numbers: [89, 18]
Generated Node #0,2,2: 88:[89, 18] Operation: 2+16=18
Exploring Operation: 16/2=8, Resulting Numbers: [89, 8]
Generated Node #0,2,3: 88:[89, 8] Operation: 16/2=8
Moving to Node #0,2,3
Current State: 88:[89, 8], Operations: ['80/5=16', '16/2=8']
Exploring Operation: 89*8=712, Resulting Numbers: [712]
712,88 unequal: No Solution
Exploring Operation: 89-8=81, Resulting Numbers: [81]
81,88 unequal: No Solution
Exploring Operation: 89+8=97, Resulting Numbers: [97]
97,88 unequal: No Solution
Moving to Node #0,2,1
Current State: 88:[89, 14], Operations: ['80/5=16', '16-2=14']
Exploring Operation: 89-14=75, Resulting Numbers: [75]
75,88 unequal: No Solution
Exploring Operation: 89+14=103, Resulting Numbers: [103]
103,88 unequal: No Solution
Exploring Operation: 89*14=1246, Resulting Numbers: [1246]
1246,88 unequal: No Solution
Moving to Node #0,2,2
Current State: 88:[89, 18], Operations: ['80/5=16', '2+16=18']
Exploring Operation: 89*18=1602, Resulting Numbers: [1602]
1602,88 unequal: No Solution
Exploring Operation: 89-18=71, Resulting Numbers: [71]
71,88 unequal: No Solution
Exploring Operation: 89+18=107, Resulting Numbers: [107]
107,88 unequal: No Solution
Moving to Node #0,2,0
Current State: 88:[16, 87], Operations: ['80/5=16', '89-2=87']
Exploring Operation: 87-16=71, Resulting Numbers: [71]
71,88 unequal: No Solution
Exploring Operation: 16+87=103, Resulting Numbers: [103]
103,88 unequal: No Solution
Exploring Operation: 16*87=1392, Resulting Numbers: [1392]
1392,88 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 |
[
49,
28,
46,
20
] | 46 | [
"49-28=21",
"21-20=1",
"46*1=46"
] | Current State: 46:[49, 28, 46, 20], Operations: []
Exploring Operation: 49-28=21, Resulting Numbers: [46, 20, 21]
Generated Node #2: [46, 20, 21] from Operation: 49-28=21
Current State: 46:[46, 20, 21], Operations: ['49-28=21']
Exploring Operation: 21-20=1, Resulting Numbers: [46, 1]
Generated Node #3: [46, 1] from Operation: 21-20=1
Current State: 46:[46, 1], Operations: ['49-28=21', '21-20=1']
Exploring Operation: 46*1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[49, 28, 46, 20], Operations: []
Exploring Operation: 49-28=21, Resulting Numbers: [46, 20, 21]
Generated Node #0,0: 46:[46, 20, 21] Operation: 49-28=21
Exploring Operation: 28+20=48, Resulting Numbers: [49, 46, 48]
Generated Node #0,1: 46:[49, 46, 48] Operation: 28+20=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[46, 20, 21], Operations: ['49-28=21']
Exploring Operation: 21-20=1, Resulting Numbers: [46, 1]
Generated Node #0,0,0: 46:[46, 1] Operation: 21-20=1
Exploring Operation: 46-20=26, Resulting Numbers: [21, 26]
Generated Node #0,0,1: 46:[21, 26] Operation: 46-20=26
Moving to Node #0,0,0
Current State: 46:[46, 1], Operations: ['49-28=21', '21-20=1']
Exploring Operation: 46*1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[49, 28, 46, 20], Operations: []
Exploring Operation: 49-28=21, Resulting Numbers: [46, 20, 21]
Generated Node #0,0: 46:[46, 20, 21] Operation: 49-28=21
Moving to Node #0,0
Current State: 46:[46, 20, 21], Operations: ['49-28=21']
Exploring Operation: 21-20=1, Resulting Numbers: [46, 1]
Generated Node #0,0,0: 46:[46, 1] Operation: 21-20=1
Moving to Node #0,0,0
Current State: 46:[46, 1], Operations: ['49-28=21', '21-20=1']
Exploring Operation: 46*1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
21,
16,
24,
57
] | 76 | [
"21-16=5",
"24+57=81",
"81-5=76"
] | Current State: 76:[21, 16, 24, 57], Operations: []
Exploring Operation: 21-16=5, Resulting Numbers: [24, 57, 5]
Generated Node #2: [24, 57, 5] from Operation: 21-16=5
Current State: 76:[24, 57, 5], Operations: ['21-16=5']
Exploring Operation: 24+57=81, Resulting Numbers: [5, 81]
Generated Node #3: [5, 81] from Operation: 24+57=81
Current State: 76:[5, 81], Operations: ['21-16=5', '24+57=81']
Exploring Operation: 81-5=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[21, 16, 24, 57], Operations: []
Exploring Operation: 21+57=78, Resulting Numbers: [16, 24, 78]
Generated Node #0,0: 76:[16, 24, 78] Operation: 21+57=78
Exploring Operation: 16+57=73, Resulting Numbers: [21, 24, 73]
Generated Node #0,1: 76:[21, 24, 73] Operation: 16+57=73
Exploring Operation: 57-21=36, Resulting Numbers: [16, 24, 36]
Generated Node #0,2: 76:[16, 24, 36] Operation: 57-21=36
Exploring Operation: 24+57=81, Resulting Numbers: [21, 16, 81]
Generated Node #0,3: 76:[21, 16, 81] Operation: 24+57=81
Exploring Operation: 57-16=41, Resulting Numbers: [21, 24, 41]
Generated Node #0,4: 76:[21, 24, 41] Operation: 57-16=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[16, 24, 78], Operations: ['21+57=78']
Exploring Operation: 78-24=54, Resulting Numbers: [16, 54]
Generated Node #0,0,0: 76:[16, 54] Operation: 78-24=54
Exploring Operation: 16+78=94, Resulting Numbers: [24, 94]
Generated Node #0,0,1: 76:[24, 94] Operation: 16+78=94
Exploring Operation: 78-16=62, Resulting Numbers: [24, 62]
Generated Node #0,0,2: 76:[24, 62] Operation: 78-16=62
Exploring Operation: 24-16=8, Resulting Numbers: [78, 8]
Generated Node #0,0,3: 76:[78, 8] Operation: 24-16=8
Exploring Operation: 16+24=40, Resulting Numbers: [78, 40]
Generated Node #0,0,4: 76:[78, 40] Operation: 16+24=40
Moving to Node #0,0,4
Current State: 76:[78, 40], Operations: ['21+57=78', '16+24=40']
Exploring Operation: 78*40=3120, Resulting Numbers: [3120]
3120,76 unequal: No Solution
Exploring Operation: 78-40=38, Resulting Numbers: [38]
38,76 unequal: No Solution
Exploring Operation: 78+40=118, Resulting Numbers: [118]
118,76 unequal: No Solution
Moving to Node #0,0,3
Current State: 76:[78, 8], Operations: ['21+57=78', '24-16=8']
Exploring Operation: 78*8=624, Resulting Numbers: [624]
624,76 unequal: No Solution
Exploring Operation: 78+8=86, Resulting Numbers: [86]
86,76 unequal: No Solution
Exploring Operation: 78-8=70, Resulting Numbers: [70]
70,76 unequal: No Solution
Moving to Node #0,0,0
Current State: 76:[16, 54], Operations: ['21+57=78', '78-24=54']
Exploring Operation: 16+54=70, Resulting Numbers: [70]
70,76 unequal: No Solution
Exploring Operation: 16*54=864, Resulting Numbers: [864]
864,76 unequal: No Solution
Exploring Operation: 54-16=38, Resulting Numbers: [38]
38,76 unequal: No Solution
Moving to Node #0,0,2
Current State: 76:[24, 62], Operations: ['21+57=78', '78-16=62']
Exploring Operation: 62-24=38, Resulting Numbers: [38]
38,76 unequal: No Solution
Exploring Operation: 24+62=86, Resulting Numbers: [86]
86,76 unequal: No Solution
Exploring Operation: 24*62=1488, Resulting Numbers: [1488]
1488,76 unequal: No Solution
Moving to Node #0,0,1
Current State: 76:[24, 94], Operations: ['21+57=78', '16+78=94']
Exploring Operation: 94-24=70, Resulting Numbers: [70]
70,76 unequal: No Solution
Exploring Operation: 24+94=118, Resulting Numbers: [118]
118,76 unequal: No Solution
Exploring Operation: 24*94=2256, Resulting Numbers: [2256]
2256,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[21, 24, 73], Operations: ['16+57=73']
Exploring Operation: 21+24=45, Resulting Numbers: [73, 45]
Generated Node #0,1,0: 76:[73, 45] Operation: 21+24=45
Exploring Operation: 73-24=49, Resulting Numbers: [21, 49]
Generated Node #0,1,1: 76:[21, 49] Operation: 73-24=49
Exploring Operation: 24-21=3, Resulting Numbers: [73, 3]
Generated Node #0,1,2: 76:[73, 3] Operation: 24-21=3
Exploring Operation: 73-21=52, Resulting Numbers: [24, 52]
Generated Node #0,1,3: 76:[24, 52] Operation: 73-21=52
Exploring Operation: 21+73=94, Resulting Numbers: [24, 94]
Generated Node #0,1,4: 76:[24, 94] Operation: 21+73=94
Moving to Node #0,1,2
Current State: 76:[73, 3], Operations: ['16+57=73', '24-21=3']
Exploring Operation: 73+3=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[21, 16, 24, 57], Operations: []
Exploring Operation: 16+57=73, Resulting Numbers: [21, 24, 73]
Generated Node #0,1: 76:[21, 24, 73] Operation: 16+57=73
Moving to Node #0,1
Current State: 76:[21, 24, 73], Operations: ['16+57=73']
Exploring Operation: 24-21=3, Resulting Numbers: [73, 3]
Generated Node #0,1,2: 76:[73, 3] Operation: 24-21=3
Moving to Node #0,1,2
Current State: 76:[73, 3], Operations: ['16+57=73', '24-21=3']
Exploring Operation: 73+3=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_5 | mult_heuristic |
[
83,
96,
68,
66
] | 24 | [
"83-66=17",
"96*17=1632",
"1632/68=24"
] | Current State: 24:[83, 96, 68, 66], Operations: []
Exploring Operation: 83-66=17, Resulting Numbers: [96, 68, 17]
Generated Node #2: [96, 68, 17] from Operation: 83-66=17
Current State: 24:[96, 68, 17], Operations: ['83-66=17']
Exploring Operation: 96*17=1632, Resulting Numbers: [68, 1632]
Generated Node #3: [68, 1632] from Operation: 96*17=1632
Current State: 24:[68, 1632], Operations: ['83-66=17', '96*17=1632']
Exploring Operation: 1632/68=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[83, 96, 68, 66], Operations: []
Exploring Operation: 96-83=13, Resulting Numbers: [68, 66, 13]
Generated Node #0,0: 24:[68, 66, 13] Operation: 96-83=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[68, 66, 13], Operations: ['96-83=13']
Exploring Operation: 68-66=2, Resulting Numbers: [13, 2]
Generated Node #0,0,0: 24:[13, 2] Operation: 68-66=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 24:[13, 2], Operations: ['96-83=13', '68-66=2']
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
56,
27,
81,
25
] | 23 | [
"56+27=83",
"81+25=106",
"106-83=23"
] | Current State: 23:[56, 27, 81, 25], Operations: []
Exploring Operation: 56+27=83, Resulting Numbers: [81, 25, 83]
Generated Node #2: [81, 25, 83] from Operation: 56+27=83
Current State: 23:[81, 25, 83], Operations: ['56+27=83']
Exploring Operation: 81+25=106, Resulting Numbers: [83, 106]
Generated Node #3: [83, 106] from Operation: 81+25=106
Current State: 23:[83, 106], Operations: ['56+27=83', '81+25=106']
Exploring Operation: 106-83=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[56, 27, 81, 25], Operations: []
Exploring Operation: 81-56=25, Resulting Numbers: [27, 25, 25]
Generated Node #0,0: 23:[27, 25, 25] Operation: 81-56=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[27, 25, 25], Operations: ['81-56=25']
Exploring Operation: 27-25=2, Resulting Numbers: [25, 2]
Generated Node #0,0,0: 23:[25, 2] Operation: 27-25=2
Moving to Node #0,0,0
Current State: 23:[25, 2], Operations: ['81-56=25', '27-25=2']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[56, 27, 81, 25], Operations: []
Exploring Operation: 81-56=25, Resulting Numbers: [27, 25, 25]
Generated Node #0,0: 23:[27, 25, 25] Operation: 81-56=25
Moving to Node #0,0
Current State: 23:[27, 25, 25], Operations: ['81-56=25']
Exploring Operation: 27-25=2, Resulting Numbers: [25, 2]
Generated Node #0,0,0: 23:[25, 2] Operation: 27-25=2
Moving to Node #0,0,0
Current State: 23:[25, 2], Operations: ['81-56=25', '27-25=2']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
3,
41,
55,
22
] | 76 | [
"41+22=63",
"63/3=21",
"55+21=76"
] | Current State: 76:[3, 41, 55, 22], Operations: []
Exploring Operation: 41+22=63, Resulting Numbers: [3, 55, 63]
Generated Node #2: [3, 55, 63] from Operation: 41+22=63
Current State: 76:[3, 55, 63], Operations: ['41+22=63']
Exploring Operation: 63/3=21, Resulting Numbers: [55, 21]
Generated Node #3: [55, 21] from Operation: 63/3=21
Current State: 76:[55, 21], Operations: ['41+22=63', '63/3=21']
Exploring Operation: 55+21=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[3, 41, 55, 22], Operations: []
Exploring Operation: 55-22=33, Resulting Numbers: [3, 41, 33]
Generated Node #0,0: 76:[3, 41, 33] Operation: 55-22=33
Exploring Operation: 55-41=14, Resulting Numbers: [3, 22, 14]
Generated Node #0,1: 76:[3, 22, 14] Operation: 55-41=14
Exploring Operation: 55+22=77, Resulting Numbers: [3, 41, 77]
Generated Node #0,2: 76:[3, 41, 77] Operation: 55+22=77
Exploring Operation: 41-22=19, Resulting Numbers: [3, 55, 19]
Generated Node #0,3: 76:[3, 55, 19] Operation: 41-22=19
Moving to Node #0,2
Current State: 76:[3, 41, 77], Operations: ['55+22=77']
Exploring Operation: 41-3=38, Resulting Numbers: [77, 38]
Generated Node #0,2,0: 76:[77, 38] Operation: 41-3=38
Exploring Operation: 77-3=74, Resulting Numbers: [41, 74]
Generated Node #0,2,1: 76:[41, 74] Operation: 77-3=74
Exploring Operation: 77-41=36, Resulting Numbers: [3, 36]
Generated Node #0,2,2: 76:[3, 36] Operation: 77-41=36
Exploring Operation: 3+41=44, Resulting Numbers: [77, 44]
Generated Node #0,2,3: 76:[77, 44] Operation: 3+41=44
Moving to Node #0,1
Current State: 76:[3, 22, 14], Operations: ['55-41=14']
Exploring Operation: 22-14=8, Resulting Numbers: [3, 8]
Generated Node #0,1,0: 76:[3, 8] Operation: 22-14=8
Exploring Operation: 22+14=36, Resulting Numbers: [3, 36]
Generated Node #0,1,1: 76:[3, 36] Operation: 22+14=36
Exploring Operation: 22-3=19, Resulting Numbers: [14, 19]
Generated Node #0,1,2: 76:[14, 19] Operation: 22-3=19
Exploring Operation: 3+14=17, Resulting Numbers: [22, 17]
Generated Node #0,1,3: 76:[22, 17] Operation: 3+14=17
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 76:[3, 36], Operations: ['55-41=14', '22+14=36']
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,76 unequal: No Solution
Exploring Operation: 3*36=108, Resulting Numbers: [108]
108,76 unequal: No Solution
Exploring Operation: 3+36=39, Resulting Numbers: [39]
39,76 unequal: No Solution
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 76:[3, 8], Operations: ['55-41=14', '22-14=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,76 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,76 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 76:[14, 19], Operations: ['55-41=14', '22-3=19']
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,76 unequal: No Solution
Exploring Operation: 14*19=266, Resulting Numbers: [266]
266,76 unequal: No Solution
Exploring Operation: 14+19=33, Resulting Numbers: [33]
33,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 76:[22, 17], Operations: ['55-41=14', '3+14=17']
Exploring Operation: 22*17=374, Resulting Numbers: [374]
374,76 unequal: No Solution
Exploring Operation: 22+17=39, Resulting Numbers: [39]
39,76 unequal: No Solution
Exploring Operation: 22-17=5, Resulting Numbers: [5]
5,76 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: 76:[3, 41, 33], Operations: ['55-22=33']
Exploring Operation: 41-3=38, Resulting Numbers: [33, 38]
Generated Node #0,0,0: 76:[33, 38] Operation: 41-3=38
Exploring Operation: 41-33=8, Resulting Numbers: [3, 8]
Generated Node #0,0,1: 76:[3, 8] Operation: 41-33=8
Exploring Operation: 41+33=74, Resulting Numbers: [3, 74]
Generated Node #0,0,2: 76:[3, 74] Operation: 41+33=74
Exploring Operation: 3+33=36, Resulting Numbers: [41, 36]
Generated Node #0,0,3: 76:[41, 36] Operation: 3+33=36
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 76:[3, 74], Operations: ['55-22=33', '41+33=74']
Exploring Operation: 3+74=77, Resulting Numbers: [77]
77,76 unequal: No Solution
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,76 unequal: No Solution
Exploring Operation: 3*74=222, Resulting Numbers: [222]
222,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 76:[33, 38], Operations: ['55-22=33', '41-3=38']
Exploring Operation: 33*38=1254, Resulting Numbers: [1254]
1254,76 unequal: No Solution
Exploring Operation: 33+38=71, Resulting Numbers: [71]
71,76 unequal: No Solution
Exploring Operation: 38-33=5, Resulting Numbers: [5]
5,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 76:[3, 8], Operations: ['55-22=33', '41-33=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,76 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,76 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 76:[41, 36], Operations: ['55-22=33', '3+33=36']
Exploring Operation: 41-36=5, Resulting Numbers: [5]
5,76 unequal: No Solution
Exploring Operation: 41*36=1476, Resulting Numbers: [1476]
1476,76 unequal: No Solution
Exploring Operation: 41+36=77, Resulting Numbers: [77]
77,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 76:[3, 55, 19], Operations: ['41-22=19']
Exploring Operation: 3+55=58, Resulting Numbers: [19, 58]
Generated Node #0,3,0: 76:[19, 58] Operation: 3+55=58
Exploring Operation: 55-19=36, Resulting Numbers: [3, 36]
Generated Node #0,3,1: 76:[3, 36] Operation: 55-19=36
Exploring Operation: 55-3=52, Resulting Numbers: [19, 52]
Generated Node #0,3,2: 76:[19, 52] Operation: 55-3=52
Exploring Operation: 55+19=74, Resulting Numbers: [3, 74]
Generated Node #0,3,3: 76:[3, 74] Operation: 55+19=74
Moving to Node #0,2,0
Current State: 76:[77, 38], Operations: ['55+22=77', '41-3=38']
Exploring Operation: 77+38=115, Resulting Numbers: [115]
115,76 unequal: No Solution
Exploring Operation: 77-38=39, Resulting Numbers: [39]
39,76 unequal: No Solution
Exploring Operation: 77*38=2926, Resulting Numbers: [2926]
2926,76 unequal: No Solution
Moving to Node #0,3,3
Current State: 76:[3, 74], Operations: ['41-22=19', '55+19=74']
Exploring Operation: 3+74=77, Resulting Numbers: [77]
77,76 unequal: No Solution
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,76 unequal: No Solution
Exploring Operation: 3*74=222, Resulting Numbers: [222]
222,76 unequal: No Solution
Moving to Node #0,2,2
Current State: 76:[3, 36], Operations: ['55+22=77', '77-41=36']
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,76 unequal: No Solution
Exploring Operation: 3*36=108, Resulting Numbers: [108]
108,76 unequal: No Solution
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,76 unequal: No Solution
Exploring Operation: 3+36=39, Resulting Numbers: [39]
39,76 unequal: No Solution
Moving to Node #0,3,1
Current State: 76:[3, 36], Operations: ['41-22=19', '55-19=36']
Exploring Operation: 3+36=39, Resulting Numbers: [39]
39,76 unequal: No Solution
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,76 unequal: No Solution
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,76 unequal: No Solution
Exploring Operation: 3*36=108, Resulting Numbers: [108]
108,76 unequal: No Solution
Moving to Node #0,2,1
Current State: 76:[41, 74], Operations: ['55+22=77', '77-3=74']
Exploring Operation: 41+74=115, Resulting Numbers: [115]
115,76 unequal: No Solution
Exploring Operation: 74-41=33, Resulting Numbers: [33]
33,76 unequal: No Solution
Exploring Operation: 41*74=3034, Resulting Numbers: [3034]
3034,76 unequal: No Solution
Moving to Node #0,2,3
Current State: 76:[77, 44], Operations: ['55+22=77', '3+41=44']
Exploring Operation: 77*44=3388, Resulting Numbers: [3388]
3388,76 unequal: No Solution
Exploring Operation: 77+44=121, Resulting Numbers: [121]
121,76 unequal: No Solution
Exploring Operation: 77-44=33, Resulting Numbers: [33]
33,76 unequal: No Solution
Moving to Node #0,3,2
Current State: 76:[19, 52], Operations: ['41-22=19', '55-3=52']
Exploring Operation: 52-19=33, Resulting Numbers: [33]
33,76 unequal: No Solution
Exploring Operation: 19*52=988, Resulting Numbers: [988]
988,76 unequal: No Solution
Exploring Operation: 19+52=71, Resulting Numbers: [71]
71,76 unequal: No Solution
Moving to Node #0,3,0
Current State: 76:[19, 58], Operations: ['41-22=19', '3+55=58']
Exploring Operation: 19+58=77, Resulting Numbers: [77]
77,76 unequal: No Solution
Exploring Operation: 19*58=1102, Resulting Numbers: [1102]
1102,76 unequal: No Solution
Exploring Operation: 58-19=39, Resulting Numbers: [39]
39,76 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
49,
79,
10,
15
] | 25 | [
"79-49=30",
"15-10=5",
"30-5=25"
] | Current State: 25:[49, 79, 10, 15], Operations: []
Exploring Operation: 79-49=30, Resulting Numbers: [10, 15, 30]
Generated Node #2: [10, 15, 30] from Operation: 79-49=30
Current State: 25:[10, 15, 30], Operations: ['79-49=30']
Exploring Operation: 15-10=5, Resulting Numbers: [30, 5]
Generated Node #3: [30, 5] from Operation: 15-10=5
Current State: 25:[30, 5], Operations: ['79-49=30', '15-10=5']
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[49, 79, 10, 15], Operations: []
Exploring Operation: 49-15=34, Resulting Numbers: [79, 10, 34]
Generated Node #0,0: 25:[79, 10, 34] Operation: 49-15=34
Exploring Operation: 79-15=64, Resulting Numbers: [49, 10, 64]
Generated Node #0,1: 25:[49, 10, 64] Operation: 79-15=64
Exploring Operation: 79-49=30, Resulting Numbers: [10, 15, 30]
Generated Node #0,2: 25:[10, 15, 30] Operation: 79-49=30
Exploring Operation: 49-10=39, Resulting Numbers: [79, 15, 39]
Generated Node #0,3: 25:[79, 15, 39] Operation: 49-10=39
Exploring Operation: 79-10=69, Resulting Numbers: [49, 15, 69]
Generated Node #0,4: 25:[49, 15, 69] Operation: 79-10=69
Moving to Node #0,2
Current State: 25:[10, 15, 30], Operations: ['79-49=30']
Exploring Operation: 30-10=20, Resulting Numbers: [15, 20]
Generated Node #0,2,0: 25:[15, 20] Operation: 30-10=20
Exploring Operation: 15-10=5, Resulting Numbers: [30, 5]
Generated Node #0,2,1: 25:[30, 5] Operation: 15-10=5
Exploring Operation: 10+15=25, Resulting Numbers: [30, 25]
Generated Node #0,2,2: 25:[30, 25] Operation: 10+15=25
Exploring Operation: 30/10=3, Resulting Numbers: [15, 3]
Generated Node #0,2,3: 25:[15, 3] Operation: 30/10=3
Exploring Operation: 30/15=2, Resulting Numbers: [10, 2]
Generated Node #0,2,4: 25:[10, 2] Operation: 30/15=2
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 25:[30, 5], Operations: ['79-49=30', '15-10=5']
Exploring Operation: 30+5=35, Resulting Numbers: [35]
35,25 unequal: No Solution
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,25 unequal: No Solution
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[49, 79, 10, 15], Operations: []
Exploring Operation: 79-49=30, Resulting Numbers: [10, 15, 30]
Generated Node #0,2: 25:[10, 15, 30] Operation: 79-49=30
Moving to Node #0,2
Current State: 25:[10, 15, 30], Operations: ['79-49=30']
Exploring Operation: 15-10=5, Resulting Numbers: [30, 5]
Generated Node #0,2,1: 25:[30, 5] Operation: 15-10=5
Moving to Node #0,2,1
Current State: 25:[30, 5], Operations: ['79-49=30', '15-10=5']
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
30,
57,
74,
69
] | 51 | [
"74-69=5",
"30/5=6",
"57-6=51"
] | Current State: 51:[30, 57, 74, 69], Operations: []
Exploring Operation: 74-69=5, Resulting Numbers: [30, 57, 5]
Generated Node #2: [30, 57, 5] from Operation: 74-69=5
Current State: 51:[30, 57, 5], Operations: ['74-69=5']
Exploring Operation: 30/5=6, Resulting Numbers: [57, 6]
Generated Node #3: [57, 6] from Operation: 30/5=6
Current State: 51:[57, 6], Operations: ['74-69=5', '30/5=6']
Exploring Operation: 57-6=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[30, 57, 74, 69], Operations: []
Exploring Operation: 69-57=12, Resulting Numbers: [30, 74, 12]
Generated Node #0,0: 51:[30, 74, 12] Operation: 69-57=12
Exploring Operation: 74-30=44, Resulting Numbers: [57, 69, 44]
Generated Node #0,1: 51:[57, 69, 44] Operation: 74-30=44
Exploring Operation: 69-30=39, Resulting Numbers: [57, 74, 39]
Generated Node #0,2: 51:[57, 74, 39] Operation: 69-30=39
Exploring Operation: 74-69=5, Resulting Numbers: [30, 57, 5]
Generated Node #0,3: 51:[30, 57, 5] Operation: 74-69=5
Exploring Operation: 74-57=17, Resulting Numbers: [30, 69, 17]
Generated Node #0,4: 51:[30, 69, 17] Operation: 74-57=17
Moving to Node #0,3
Current State: 51:[30, 57, 5], Operations: ['74-69=5']
Exploring Operation: 57-5=52, Resulting Numbers: [30, 52]
Generated Node #0,3,0: 51:[30, 52] Operation: 57-5=52
Exploring Operation: 30-5=25, Resulting Numbers: [57, 25]
Generated Node #0,3,1: 51:[57, 25] Operation: 30-5=25
Exploring Operation: 30/5=6, Resulting Numbers: [57, 6]
Generated Node #0,3,2: 51:[57, 6] Operation: 30/5=6
Exploring Operation: 30+5=35, Resulting Numbers: [57, 35]
Generated Node #0,3,3: 51:[57, 35] Operation: 30+5=35
Exploring Operation: 57-30=27, Resulting Numbers: [5, 27]
Generated Node #0,3,4: 51:[5, 27] Operation: 57-30=27
Moving to Node #0,4
Current State: 51:[30, 69, 17], Operations: ['74-57=17']
Exploring Operation: 69-30=39, Resulting Numbers: [17, 39]
Generated Node #0,4,0: 51:[17, 39] Operation: 69-30=39
Exploring Operation: 30+17=47, Resulting Numbers: [69, 47]
Generated Node #0,4,1: 51:[69, 47] Operation: 30+17=47
Exploring Operation: 30-17=13, Resulting Numbers: [69, 13]
Generated Node #0,4,2: 51:[69, 13] Operation: 30-17=13
Exploring Operation: 69-17=52, Resulting Numbers: [30, 52]
Generated Node #0,4,3: 51:[30, 52] Operation: 69-17=52
Exploring Operation: 30+69=99, Resulting Numbers: [17, 99]
Generated Node #0,4,4: 51:[17, 99] Operation: 30+69=99
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 51:[17, 39], Operations: ['74-57=17', '69-30=39']
Exploring Operation: 17+39=56, Resulting Numbers: [56]
56,51 unequal: No Solution
Exploring Operation: 17*39=663, Resulting Numbers: [663]
663,51 unequal: No Solution
Exploring Operation: 39-17=22, Resulting Numbers: [22]
22,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 51:[30, 52], Operations: ['74-57=17', '69-17=52']
Exploring Operation: 30*52=1560, Resulting Numbers: [1560]
1560,51 unequal: No Solution
Exploring Operation: 52-30=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 30+52=82, Resulting Numbers: [82]
82,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 51:[69, 47], Operations: ['74-57=17', '30+17=47']
Exploring Operation: 69*47=3243, Resulting Numbers: [3243]
3243,51 unequal: No Solution
Exploring Operation: 69-47=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 69+47=116, Resulting Numbers: [116]
116,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 51:[69, 13], Operations: ['74-57=17', '30-17=13']
Exploring Operation: 69*13=897, Resulting Numbers: [897]
897,51 unequal: No Solution
Exploring Operation: 69+13=82, Resulting Numbers: [82]
82,51 unequal: No Solution
Exploring Operation: 69-13=56, Resulting Numbers: [56]
56,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 51:[17, 99], Operations: ['74-57=17', '30+69=99']
Exploring Operation: 17+99=116, Resulting Numbers: [116]
116,51 unequal: No Solution
Exploring Operation: 17*99=1683, Resulting Numbers: [1683]
1683,51 unequal: No Solution
Exploring Operation: 99-17=82, Resulting Numbers: [82]
82,51 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: 51:[57, 69, 44], Operations: ['74-30=44']
Exploring Operation: 69-44=25, Resulting Numbers: [57, 25]
Generated Node #0,1,0: 51:[57, 25] Operation: 69-44=25
Exploring Operation: 69-57=12, Resulting Numbers: [44, 12]
Generated Node #0,1,1: 51:[44, 12] Operation: 69-57=12
Exploring Operation: 57-44=13, Resulting Numbers: [69, 13]
Generated Node #0,1,2: 51:[69, 13] Operation: 57-44=13
Exploring Operation: 57+44=101, Resulting Numbers: [69, 101]
Generated Node #0,1,3: 51:[69, 101] Operation: 57+44=101
Exploring Operation: 69+44=113, Resulting Numbers: [57, 113]
Generated Node #0,1,4: 51:[57, 113] Operation: 69+44=113
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 51:[44, 12], Operations: ['74-30=44', '69-57=12']
Exploring Operation: 44+12=56, Resulting Numbers: [56]
56,51 unequal: No Solution
Exploring Operation: 44-12=32, Resulting Numbers: [32]
32,51 unequal: No Solution
Exploring Operation: 44*12=528, Resulting Numbers: [528]
528,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 51:[57, 25], Operations: ['74-30=44', '69-44=25']
Exploring Operation: 57-25=32, Resulting Numbers: [32]
32,51 unequal: No Solution
Exploring Operation: 57+25=82, Resulting Numbers: [82]
82,51 unequal: No Solution
Exploring Operation: 57*25=1425, Resulting Numbers: [1425]
1425,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 51:[69, 13], Operations: ['74-30=44', '57-44=13']
Exploring Operation: 69-13=56, Resulting Numbers: [56]
56,51 unequal: No Solution
Exploring Operation: 69*13=897, Resulting Numbers: [897]
897,51 unequal: No Solution
Exploring Operation: 69+13=82, Resulting Numbers: [82]
82,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 51:[69, 101], Operations: ['74-30=44', '57+44=101']
Exploring Operation: 69*101=6969, Resulting Numbers: [6969]
6969,51 unequal: No Solution
Exploring Operation: 101-69=32, Resulting Numbers: [32]
32,51 unequal: No Solution
Exploring Operation: 69+101=170, Resulting Numbers: [170]
170,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 51:[57, 113], Operations: ['74-30=44', '69+44=113']
Exploring Operation: 57+113=170, Resulting Numbers: [170]
170,51 unequal: No Solution
Exploring Operation: 57*113=6441, Resulting Numbers: [6441]
6441,51 unequal: No Solution
Exploring Operation: 113-57=56, Resulting Numbers: [56]
56,51 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: 51:[30, 74, 12], Operations: ['69-57=12']
Exploring Operation: 74-12=62, Resulting Numbers: [30, 62]
Generated Node #0,0,0: 51:[30, 62] Operation: 74-12=62
Exploring Operation: 74+12=86, Resulting Numbers: [30, 86]
Generated Node #0,0,1: 51:[30, 86] Operation: 74+12=86
Exploring Operation: 30+12=42, Resulting Numbers: [74, 42]
Generated Node #0,0,2: 51:[74, 42] Operation: 30+12=42
Exploring Operation: 74-30=44, Resulting Numbers: [12, 44]
Generated Node #0,0,3: 51:[12, 44] Operation: 74-30=44
Exploring Operation: 30-12=18, Resulting Numbers: [74, 18]
Generated Node #0,0,4: 51:[74, 18] Operation: 30-12=18
Moving to Node #0,2
Current State: 51:[57, 74, 39], Operations: ['69-30=39']
Exploring Operation: 74-57=17, Resulting Numbers: [39, 17]
Generated Node #0,2,0: 51:[39, 17] Operation: 74-57=17
Exploring Operation: 57-39=18, Resulting Numbers: [74, 18]
Generated Node #0,2,1: 51:[74, 18] Operation: 57-39=18
Exploring Operation: 57+39=96, Resulting Numbers: [74, 96]
Generated Node #0,2,2: 51:[74, 96] Operation: 57+39=96
Exploring Operation: 74-39=35, Resulting Numbers: [57, 35]
Generated Node #0,2,3: 51:[57, 35] Operation: 74-39=35
Exploring Operation: 74+39=113, Resulting Numbers: [57, 113]
Generated Node #0,2,4: 51:[57, 113] Operation: 74+39=113
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 51:[39, 17], Operations: ['69-30=39', '74-57=17']
Exploring Operation: 39*17=663, Resulting Numbers: [663]
663,51 unequal: No Solution
Exploring Operation: 39-17=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 39+17=56, Resulting Numbers: [56]
56,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,3
Current State: 51:[57, 35], Operations: ['69-30=39', '74-39=35']
Exploring Operation: 57-35=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 57+35=92, Resulting Numbers: [92]
92,51 unequal: No Solution
Exploring Operation: 57*35=1995, Resulting Numbers: [1995]
1995,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,1
Current State: 51:[74, 18], Operations: ['69-30=39', '57-39=18']
Exploring Operation: 74-18=56, Resulting Numbers: [56]
56,51 unequal: No Solution
Exploring Operation: 74*18=1332, Resulting Numbers: [1332]
1332,51 unequal: No Solution
Exploring Operation: 74+18=92, Resulting Numbers: [92]
92,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 51:[74, 96], Operations: ['69-30=39', '57+39=96']
Exploring Operation: 96-74=22, Resulting Numbers: [22]
22,51 unequal: No Solution
Exploring Operation: 74*96=7104, Resulting Numbers: [7104]
7104,51 unequal: No Solution
Exploring Operation: 74+96=170, Resulting Numbers: [170]
170,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,4
Current State: 51:[57, 113], Operations: ['69-30=39', '74+39=113']
Exploring Operation: 113-57=56, Resulting Numbers: [56]
56,51 unequal: No Solution
Exploring Operation: 57+113=170, Resulting Numbers: [170]
170,51 unequal: No Solution
Exploring Operation: 57*113=6441, Resulting Numbers: [6441]
6441,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,2
Current State: 51:[57, 6], Operations: ['74-69=5', '30/5=6']
Exploring Operation: 57*6=342, Resulting Numbers: [342]
342,51 unequal: No Solution
Exploring Operation: 57-6=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[30, 57, 74, 69], Operations: []
Exploring Operation: 74-69=5, Resulting Numbers: [30, 57, 5]
Generated Node #0,3: 51:[30, 57, 5] Operation: 74-69=5
Moving to Node #0,3
Current State: 51:[30, 57, 5], Operations: ['74-69=5']
Exploring Operation: 30/5=6, Resulting Numbers: [57, 6]
Generated Node #0,3,2: 51:[57, 6] Operation: 30/5=6
Moving to Node #0,3,2
Current State: 51:[57, 6], Operations: ['74-69=5', '30/5=6']
Exploring Operation: 57-6=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 0.929688 | hs_5 | sum_heuristic |
[
84,
54,
41,
86
] | 26 | [
"86-84=2",
"54-41=13",
"2*13=26"
] | Current State: 26:[84, 54, 41, 86], Operations: []
Exploring Operation: 86-84=2, Resulting Numbers: [54, 41, 2]
Generated Node #2: [54, 41, 2] from Operation: 86-84=2
Current State: 26:[54, 41, 2], Operations: ['86-84=2']
Exploring Operation: 54-41=13, Resulting Numbers: [2, 13]
Generated Node #3: [2, 13] from Operation: 54-41=13
Current State: 26:[2, 13], Operations: ['86-84=2', '54-41=13']
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[84, 54, 41, 86], Operations: []
Exploring Operation: 84-54=30, Resulting Numbers: [41, 86, 30]
Generated Node #0,0: 26:[41, 86, 30] Operation: 84-54=30
Exploring Operation: 84-41=43, Resulting Numbers: [54, 86, 43]
Generated Node #0,1: 26:[54, 86, 43] Operation: 84-41=43
Exploring Operation: 86-84=2, Resulting Numbers: [54, 41, 2]
Generated Node #0,2: 26:[54, 41, 2] Operation: 86-84=2
Exploring Operation: 86-54=32, Resulting Numbers: [84, 41, 32]
Generated Node #0,3: 26:[84, 41, 32] Operation: 86-54=32
Exploring Operation: 86-41=45, Resulting Numbers: [84, 54, 45]
Generated Node #0,4: 26:[84, 54, 45] Operation: 86-41=45
Moving to Node #0,2
Current State: 26:[54, 41, 2], Operations: ['86-84=2']
Exploring Operation: 54/2=27, Resulting Numbers: [41, 27]
Generated Node #0,2,0: 26:[41, 27] Operation: 54/2=27
Exploring Operation: 54+2=56, Resulting Numbers: [41, 56]
Generated Node #0,2,1: 26:[41, 56] Operation: 54+2=56
Exploring Operation: 54-41=13, Resulting Numbers: [2, 13]
Generated Node #0,2,2: 26:[2, 13] Operation: 54-41=13
Exploring Operation: 54-2=52, Resulting Numbers: [41, 52]
Generated Node #0,2,3: 26:[41, 52] Operation: 54-2=52
Exploring Operation: 41-2=39, Resulting Numbers: [54, 39]
Generated Node #0,2,4: 26:[54, 39] Operation: 41-2=39
Moving to Node #0,3
Current State: 26:[84, 41, 32], Operations: ['86-54=32']
Exploring Operation: 84+41=125, Resulting Numbers: [32, 125]
Generated Node #0,3,0: 26:[32, 125] Operation: 84+41=125
Exploring Operation: 84+32=116, Resulting Numbers: [41, 116]
Generated Node #0,3,1: 26:[41, 116] Operation: 84+32=116
Exploring Operation: 84-41=43, Resulting Numbers: [32, 43]
Generated Node #0,3,2: 26:[32, 43] Operation: 84-41=43
Exploring Operation: 84-32=52, Resulting Numbers: [41, 52]
Generated Node #0,3,3: 26:[41, 52] Operation: 84-32=52
Exploring Operation: 41-32=9, Resulting Numbers: [84, 9]
Generated Node #0,3,4: 26:[84, 9] Operation: 41-32=9
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 26:[32, 43], Operations: ['86-54=32', '84-41=43']
Exploring Operation: 43-32=11, Resulting Numbers: [11]
11,26 unequal: No Solution
Exploring Operation: 32+43=75, Resulting Numbers: [75]
75,26 unequal: No Solution
Exploring Operation: 32*43=1376, Resulting Numbers: [1376]
1376,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 26:[41, 52], Operations: ['86-54=32', '84-32=52']
Exploring Operation: 52-41=11, Resulting Numbers: [11]
11,26 unequal: No Solution
Exploring Operation: 41+52=93, Resulting Numbers: [93]
93,26 unequal: No Solution
Exploring Operation: 41*52=2132, Resulting Numbers: [2132]
2132,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 26:[84, 9], Operations: ['86-54=32', '41-32=9']
Exploring Operation: 84*9=756, Resulting Numbers: [756]
756,26 unequal: No Solution
Exploring Operation: 84+9=93, Resulting Numbers: [93]
93,26 unequal: No Solution
Exploring Operation: 84-9=75, Resulting Numbers: [75]
75,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 26:[32, 125], Operations: ['86-54=32', '84+41=125']
Exploring Operation: 32+125=157, Resulting Numbers: [157]
157,26 unequal: No Solution
Exploring Operation: 32*125=4000, Resulting Numbers: [4000]
4000,26 unequal: No Solution
Exploring Operation: 125-32=93, Resulting Numbers: [93]
93,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 26:[41, 116], Operations: ['86-54=32', '84+32=116']
Exploring Operation: 116-41=75, Resulting Numbers: [75]
75,26 unequal: No Solution
Exploring Operation: 41*116=4756, Resulting Numbers: [4756]
4756,26 unequal: No Solution
Exploring Operation: 41+116=157, Resulting Numbers: [157]
157,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 26:[41, 86, 30], Operations: ['84-54=30']
Exploring Operation: 41-30=11, Resulting Numbers: [86, 11]
Generated Node #0,0,0: 26:[86, 11] Operation: 41-30=11
Exploring Operation: 86-41=45, Resulting Numbers: [30, 45]
Generated Node #0,0,1: 26:[30, 45] Operation: 86-41=45
Exploring Operation: 86-30=56, Resulting Numbers: [41, 56]
Generated Node #0,0,2: 26:[41, 56] Operation: 86-30=56
Exploring Operation: 41+30=71, Resulting Numbers: [86, 71]
Generated Node #0,0,3: 26:[86, 71] Operation: 41+30=71
Exploring Operation: 41+86=127, Resulting Numbers: [30, 127]
Generated Node #0,0,4: 26:[30, 127] Operation: 41+86=127
Moving to Node #0,1
Current State: 26:[54, 86, 43], Operations: ['84-41=43']
Exploring Operation: 54+86=140, Resulting Numbers: [43, 140]
Generated Node #0,1,0: 26:[43, 140] Operation: 54+86=140
Exploring Operation: 86-43=43, Resulting Numbers: [54, 43]
Generated Node #0,1,1: 26:[54, 43] Operation: 86-43=43
Exploring Operation: 54-43=11, Resulting Numbers: [86, 11]
Generated Node #0,1,2: 26:[86, 11] Operation: 54-43=11
Exploring Operation: 86-54=32, Resulting Numbers: [43, 32]
Generated Node #0,1,3: 26:[43, 32] Operation: 86-54=32
Exploring Operation: 86/43=2, Resulting Numbers: [54, 2]
Generated Node #0,1,4: 26:[54, 2] Operation: 86/43=2
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 26:[43, 32], Operations: ['84-41=43', '86-54=32']
Exploring Operation: 43-32=11, Resulting Numbers: [11]
11,26 unequal: No Solution
Exploring Operation: 43+32=75, Resulting Numbers: [75]
75,26 unequal: No Solution
Exploring Operation: 43*32=1376, Resulting Numbers: [1376]
1376,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 26:[54, 2], Operations: ['84-41=43', '86/43=2']
Exploring Operation: 54+2=56, Resulting Numbers: [56]
56,26 unequal: No Solution
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,26 unequal: No Solution
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,26 unequal: No Solution
Exploring Operation: 54*2=108, Resulting Numbers: [108]
108,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 26:[54, 43], Operations: ['84-41=43', '86-43=43']
Exploring Operation: 54+43=97, Resulting Numbers: [97]
97,26 unequal: No Solution
Exploring Operation: 54-43=11, Resulting Numbers: [11]
11,26 unequal: No Solution
Exploring Operation: 54*43=2322, Resulting Numbers: [2322]
2322,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 26:[86, 11], Operations: ['84-41=43', '54-43=11']
Exploring Operation: 86*11=946, Resulting Numbers: [946]
946,26 unequal: No Solution
Exploring Operation: 86+11=97, Resulting Numbers: [97]
97,26 unequal: No Solution
Exploring Operation: 86-11=75, Resulting Numbers: [75]
75,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 26:[43, 140], Operations: ['84-41=43', '54+86=140']
Exploring Operation: 43+140=183, Resulting Numbers: [183]
183,26 unequal: No Solution
Exploring Operation: 140-43=97, Resulting Numbers: [97]
97,26 unequal: No Solution
Exploring Operation: 43*140=6020, Resulting Numbers: [6020]
6020,26 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: 26:[84, 54, 45], Operations: ['86-41=45']
Exploring Operation: 84-45=39, Resulting Numbers: [54, 39]
Generated Node #0,4,0: 26:[54, 39] Operation: 84-45=39
Exploring Operation: 84+45=129, Resulting Numbers: [54, 129]
Generated Node #0,4,1: 26:[54, 129] Operation: 84+45=129
Exploring Operation: 54-45=9, Resulting Numbers: [84, 9]
Generated Node #0,4,2: 26:[84, 9] Operation: 54-45=9
Exploring Operation: 84+54=138, Resulting Numbers: [45, 138]
Generated Node #0,4,3: 26:[45, 138] Operation: 84+54=138
Exploring Operation: 84-54=30, Resulting Numbers: [45, 30]
Generated Node #0,4,4: 26:[45, 30] Operation: 84-54=30
Moving to Node #0,2,2
Current State: 26:[2, 13], Operations: ['86-84=2', '54-41=13']
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,26 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,26 unequal: No Solution
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[84, 54, 41, 86], Operations: []
Exploring Operation: 86-84=2, Resulting Numbers: [54, 41, 2]
Generated Node #0,2: 26:[54, 41, 2] Operation: 86-84=2
Moving to Node #0,2
Current State: 26:[54, 41, 2], Operations: ['86-84=2']
Exploring Operation: 54-41=13, Resulting Numbers: [2, 13]
Generated Node #0,2,2: 26:[2, 13] Operation: 54-41=13
Moving to Node #0,2,2
Current State: 26:[2, 13], Operations: ['86-84=2', '54-41=13']
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 0.940972 | hs_5 | sum_heuristic |
[
15,
89,
86,
38
] | 20 | [
"15+89=104",
"86+38=124",
"124-104=20"
] | Current State: 20:[15, 89, 86, 38], Operations: []
Exploring Operation: 15+89=104, Resulting Numbers: [86, 38, 104]
Generated Node #2: [86, 38, 104] from Operation: 15+89=104
Current State: 20:[86, 38, 104], Operations: ['15+89=104']
Exploring Operation: 86+38=124, Resulting Numbers: [104, 124]
Generated Node #3: [104, 124] from Operation: 86+38=124
Current State: 20:[104, 124], Operations: ['15+89=104', '86+38=124']
Exploring Operation: 124-104=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[15, 89, 86, 38], Operations: []
Exploring Operation: 86-38=48, Resulting Numbers: [15, 89, 48]
Generated Node #0,0: 20:[15, 89, 48] Operation: 86-38=48
Exploring Operation: 89-86=3, Resulting Numbers: [15, 38, 3]
Generated Node #0,1: 20:[15, 38, 3] Operation: 89-86=3
Exploring Operation: 89-38=51, Resulting Numbers: [15, 86, 51]
Generated Node #0,2: 20:[15, 86, 51] Operation: 89-38=51
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[15, 38, 3], Operations: ['89-86=3']
Exploring Operation: 15+3=18, Resulting Numbers: [38, 18]
Generated Node #0,1,0: 20:[38, 18] Operation: 15+3=18
Exploring Operation: 38-15=23, Resulting Numbers: [3, 23]
Generated Node #0,1,1: 20:[3, 23] Operation: 38-15=23
Exploring Operation: 15/3=5, Resulting Numbers: [38, 5]
Generated Node #0,1,2: 20:[38, 5] Operation: 15/3=5
Moving to Node #0,1,1
Current State: 20:[3, 23], Operations: ['89-86=3', '38-15=23']
Exploring Operation: 3*23=69, Resulting Numbers: [69]
69,20 unequal: No Solution
Exploring Operation: 3+23=26, Resulting Numbers: [26]
26,20 unequal: No Solution
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[15, 89, 86, 38], Operations: []
Exploring Operation: 89-86=3, Resulting Numbers: [15, 38, 3]
Generated Node #0,1: 20:[15, 38, 3] Operation: 89-86=3
Moving to Node #0,1
Current State: 20:[15, 38, 3], Operations: ['89-86=3']
Exploring Operation: 38-15=23, Resulting Numbers: [3, 23]
Generated Node #0,1,1: 20:[3, 23] Operation: 38-15=23
Moving to Node #0,1,1
Current State: 20:[3, 23], Operations: ['89-86=3', '38-15=23']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
28,
4,
14,
38
] | 45 | [
"28/4=7",
"14+38=52",
"52-7=45"
] | Current State: 45:[28, 4, 14, 38], Operations: []
Exploring Operation: 28/4=7, Resulting Numbers: [14, 38, 7]
Generated Node #2: [14, 38, 7] from Operation: 28/4=7
Current State: 45:[14, 38, 7], Operations: ['28/4=7']
Exploring Operation: 14+38=52, Resulting Numbers: [7, 52]
Generated Node #3: [7, 52] from Operation: 14+38=52
Current State: 45:[7, 52], Operations: ['28/4=7', '14+38=52']
Exploring Operation: 52-7=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[28, 4, 14, 38], Operations: []
Exploring Operation: 28-14=14, Resulting Numbers: [4, 38, 14]
Generated Node #0,0: 45:[4, 38, 14] Operation: 28-14=14
Exploring Operation: 38-28=10, Resulting Numbers: [4, 14, 10]
Generated Node #0,1: 45:[4, 14, 10] Operation: 38-28=10
Moving to Node #0,1
Current State: 45:[4, 14, 10], Operations: ['38-28=10']
Exploring Operation: 14-4=10, Resulting Numbers: [10, 10]
Generated Node #0,1,0: 45:[10, 10] Operation: 14-4=10
Exploring Operation: 4+10=14, Resulting Numbers: [14, 14]
Generated Node #0,1,1: 45:[14, 14] Operation: 4+10=14
Moving to Node #0,0
Current State: 45:[4, 38, 14], Operations: ['28-14=14']
Exploring Operation: 4+38=42, Resulting Numbers: [14, 42]
Generated Node #0,0,0: 45:[14, 42] Operation: 4+38=42
Exploring Operation: 14-4=10, Resulting Numbers: [38, 10]
Generated Node #0,0,1: 45:[38, 10] Operation: 14-4=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 45:[14, 42], Operations: ['28-14=14', '4+38=42']
Exploring Operation: 14+42=56, Resulting Numbers: [56]
56,45 unequal: No Solution
Exploring Operation: 42/14=3, Resulting Numbers: [3]
3,45 unequal: No Solution
No 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: 45:[38, 10], Operations: ['28-14=14', '14-4=10']
Exploring Operation: 38-10=28, Resulting Numbers: [28]
28,45 unequal: No Solution
Exploring Operation: 38+10=48, Resulting Numbers: [48]
48,45 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: 45:[10, 10], Operations: ['38-28=10', '14-4=10']
Exploring Operation: 10/10=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Exploring Operation: 10-10=0, Resulting Numbers: [0]
0,45 unequal: No Solution
Moving to Node #0,1,1
Current State: 45:[14, 14], Operations: ['38-28=10', '4+10=14']
Exploring Operation: 14/14=1, Resulting Numbers: [1]
1,45 unequal: No Solution
Exploring Operation: 14-14=0, Resulting Numbers: [0]
0,45 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
37,
59,
27,
57
] | 32 | [
"37+27=64",
"59-57=2",
"64/2=32"
] | Current State: 32:[37, 59, 27, 57], Operations: []
Exploring Operation: 37+27=64, Resulting Numbers: [59, 57, 64]
Generated Node #2: [59, 57, 64] from Operation: 37+27=64
Current State: 32:[59, 57, 64], Operations: ['37+27=64']
Exploring Operation: 59-57=2, Resulting Numbers: [64, 2]
Generated Node #3: [64, 2] from Operation: 59-57=2
Current State: 32:[64, 2], Operations: ['37+27=64', '59-57=2']
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[37, 59, 27, 57], Operations: []
Exploring Operation: 59-27=32, Resulting Numbers: [37, 57, 32]
Generated Node #0,0: 32:[37, 57, 32] Operation: 59-27=32
Exploring Operation: 59-57=2, Resulting Numbers: [37, 27, 2]
Generated Node #0,1: 32:[37, 27, 2] Operation: 59-57=2
Exploring Operation: 57-27=30, Resulting Numbers: [37, 59, 30]
Generated Node #0,2: 32:[37, 59, 30] Operation: 57-27=30
Moving to Node #0,1
Current State: 32:[37, 27, 2], Operations: ['59-57=2']
Exploring Operation: 27+2=29, Resulting Numbers: [37, 29]
Generated Node #0,1,0: 32:[37, 29] Operation: 27+2=29
Exploring Operation: 37-2=35, Resulting Numbers: [27, 35]
Generated Node #0,1,1: 32:[27, 35] Operation: 37-2=35
Exploring Operation: 37-27=10, Resulting Numbers: [2, 10]
Generated Node #0,1,2: 32:[2, 10] Operation: 37-27=10
Moving to Node #0,0
Current State: 32:[37, 57, 32], Operations: ['59-27=32']
Exploring Operation: 57-32=25, Resulting Numbers: [37, 25]
Generated Node #0,0,0: 32:[37, 25] Operation: 57-32=25
Exploring Operation: 37-32=5, Resulting Numbers: [57, 5]
Generated Node #0,0,1: 32:[57, 5] Operation: 37-32=5
Exploring Operation: 57-37=20, Resulting Numbers: [32, 20]
Generated Node #0,0,2: 32:[32, 20] Operation: 57-37=20
Moving to Node #0,2
Current State: 32:[37, 59, 30], Operations: ['57-27=30']
Exploring Operation: 59-30=29, Resulting Numbers: [37, 29]
Generated Node #0,2,0: 32:[37, 29] Operation: 59-30=29
Exploring Operation: 37-30=7, Resulting Numbers: [59, 7]
Generated Node #0,2,1: 32:[59, 7] Operation: 37-30=7
Exploring Operation: 59-37=22, Resulting Numbers: [30, 22]
Generated Node #0,2,2: 32:[30, 22] Operation: 59-37=22
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 32:[37, 29], Operations: ['57-27=30', '59-30=29']
Exploring Operation: 37+29=66, Resulting Numbers: [66]
66,32 unequal: No Solution
Exploring Operation: 37*29=1073, Resulting Numbers: [1073]
1073,32 unequal: No Solution
Exploring Operation: 37-29=8, Resulting Numbers: [8]
8,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,2,2
Current State: 32:[30, 22], Operations: ['57-27=30', '59-37=22']
Exploring Operation: 30-22=8, Resulting Numbers: [8]
8,32 unequal: No Solution
Exploring Operation: 30*22=660, Resulting Numbers: [660]
660,32 unequal: No Solution
Exploring Operation: 30+22=52, Resulting Numbers: [52]
52,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,2,1
Current State: 32:[59, 7], Operations: ['57-27=30', '37-30=7']
Exploring Operation: 59*7=413, Resulting Numbers: [413]
413,32 unequal: No Solution
Exploring Operation: 59-7=52, Resulting Numbers: [52]
52,32 unequal: No Solution
Exploring Operation: 59+7=66, Resulting Numbers: [66]
66,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 32:[2, 10], Operations: ['59-57=2', '37-27=10']
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,32 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,32 unequal: No Solution
Moving to Node #0,0,2
Current State: 32:[32, 20], Operations: ['59-27=32', '57-37=20']
Exploring Operation: 32+20=52, Resulting Numbers: [52]
52,32 unequal: No Solution
Exploring Operation: 32-20=12, Resulting Numbers: [12]
12,32 unequal: No Solution
Exploring Operation: 32*20=640, Resulting Numbers: [640]
640,32 unequal: No Solution
Moving to Node #0,1,1
Current State: 32:[27, 35], Operations: ['59-57=2', '37-2=35']
Exploring Operation: 27*35=945, Resulting Numbers: [945]
945,32 unequal: No Solution
Exploring Operation: 27+35=62, Resulting Numbers: [62]
62,32 unequal: No Solution
Exploring Operation: 35-27=8, Resulting Numbers: [8]
8,32 unequal: No Solution
Moving to Node #0,1,0
Current State: 32:[37, 29], Operations: ['59-57=2', '27+2=29']
Exploring Operation: 37-29=8, Resulting Numbers: [8]
8,32 unequal: No Solution
Exploring Operation: 37+29=66, Resulting Numbers: [66]
66,32 unequal: No Solution
Exploring Operation: 37*29=1073, Resulting Numbers: [1073]
1073,32 unequal: No Solution
Moving to Node #0,0,0
Current State: 32:[37, 25], Operations: ['59-27=32', '57-32=25']
Exploring Operation: 37*25=925, Resulting Numbers: [925]
925,32 unequal: No Solution
Exploring Operation: 37-25=12, Resulting Numbers: [12]
12,32 unequal: No Solution
Exploring Operation: 37+25=62, Resulting Numbers: [62]
62,32 unequal: No Solution
Moving to Node #0,0,1
Current State: 32:[57, 5], Operations: ['59-27=32', '37-32=5']
Exploring Operation: 57-5=52, Resulting Numbers: [52]
52,32 unequal: No Solution
Exploring Operation: 57+5=62, Resulting Numbers: [62]
62,32 unequal: No Solution
Exploring Operation: 57*5=285, Resulting Numbers: [285]
285,32 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
63,
11,
1,
3
] | 99 | [
"11+1=12",
"3*12=36",
"63+36=99"
] | Current State: 99:[63, 11, 1, 3], Operations: []
Exploring Operation: 11+1=12, Resulting Numbers: [63, 3, 12]
Generated Node #2: [63, 3, 12] from Operation: 11+1=12
Current State: 99:[63, 3, 12], Operations: ['11+1=12']
Exploring Operation: 3*12=36, Resulting Numbers: [63, 36]
Generated Node #3: [63, 36] from Operation: 3*12=36
Current State: 99:[63, 36], Operations: ['11+1=12', '3*12=36']
Exploring Operation: 63+36=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[63, 11, 1, 3], Operations: []
Exploring Operation: 63-11=52, Resulting Numbers: [1, 3, 52]
Generated Node #0,0: 99:[1, 3, 52] Operation: 63-11=52
Exploring Operation: 63-3=60, Resulting Numbers: [11, 1, 60]
Generated Node #0,1: 99:[11, 1, 60] Operation: 63-3=60
Exploring Operation: 63-1=62, Resulting Numbers: [11, 3, 62]
Generated Node #0,2: 99:[11, 3, 62] Operation: 63-1=62
Exploring Operation: 63+11=74, Resulting Numbers: [1, 3, 74]
Generated Node #0,3: 99:[1, 3, 74] Operation: 63+11=74
Exploring Operation: 63/3=21, Resulting Numbers: [11, 1, 21]
Generated Node #0,4: 99:[11, 1, 21] Operation: 63/3=21
Start Sub Search at level 1: Moving to Node #0,4
Current State: 99:[11, 1, 21], Operations: ['63/3=21']
Exploring Operation: 11+21=32, Resulting Numbers: [1, 32]
Generated Node #0,4,0: 99:[1, 32] Operation: 11+21=32
Exploring Operation: 21-1=20, Resulting Numbers: [11, 20]
Generated Node #0,4,1: 99:[11, 20] Operation: 21-1=20
Exploring Operation: 11/1=11, Resulting Numbers: [21, 11]
Generated Node #0,4,2: 99:[21, 11] Operation: 11/1=11
Exploring Operation: 21-11=10, Resulting Numbers: [1, 10]
Generated Node #0,4,3: 99:[1, 10] Operation: 21-11=10
Exploring Operation: 11*1=11, Resulting Numbers: [21, 11]
Generated Node #0,4,4: 99:[21, 11] Operation: 11*1=11
Moving to Node #0,4,0
Current State: 99:[1, 32], Operations: ['63/3=21', '11+21=32']
Exploring Operation: 32-1=31, Resulting Numbers: [31]
31,99 unequal: No Solution
Exploring Operation: 1+32=33, Resulting Numbers: [33]
33,99 unequal: No Solution
Exploring Operation: 32/1=32, Resulting Numbers: [32]
32,99 unequal: No Solution
Exploring Operation: 1*32=32, Resulting Numbers: [32]
32,99 unequal: No Solution
Moving to Node #0,4,3
Current State: 99:[1, 10], Operations: ['63/3=21', '21-11=10']
Exploring Operation: 1+10=11, Resulting Numbers: [11]
11,99 unequal: No Solution
Exploring Operation: 1*10=10, Resulting Numbers: [10]
10,99 unequal: No Solution
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,99 unequal: No Solution
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,99 unequal: No Solution
Moving to Node #0,4,1
Current State: 99:[11, 20], Operations: ['63/3=21', '21-1=20']
Exploring Operation: 11*20=220, Resulting Numbers: [220]
220,99 unequal: No Solution
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,99 unequal: No Solution
Exploring Operation: 11+20=31, Resulting Numbers: [31]
31,99 unequal: No Solution
Moving to Node #0,4,2
Current State: 99:[21, 11], Operations: ['63/3=21', '11/1=11']
Exploring Operation: 21*11=231, Resulting Numbers: [231]
231,99 unequal: No Solution
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,99 unequal: No Solution
Exploring Operation: 21+11=32, Resulting Numbers: [32]
32,99 unequal: No Solution
Moving to Node #0,4,4
Current State: 99:[21, 11], Operations: ['63/3=21', '11*1=11']
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,99 unequal: No Solution
Exploring Operation: 21+11=32, Resulting Numbers: [32]
32,99 unequal: No Solution
Exploring Operation: 21*11=231, Resulting Numbers: [231]
231,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[1, 3, 52], Operations: ['63-11=52']
Exploring Operation: 52-3=49, Resulting Numbers: [1, 49]
Generated Node #0,0,0: 99:[1, 49] Operation: 52-3=49
Exploring Operation: 3/1=3, Resulting Numbers: [52, 3]
Generated Node #0,0,1: 99:[52, 3] Operation: 3/1=3
Exploring Operation: 1*52=52, Resulting Numbers: [3, 52]
Generated Node #0,0,2: 99:[3, 52] Operation: 1*52=52
Exploring Operation: 1*3=3, Resulting Numbers: [52, 3]
Generated Node #0,0,3: 99:[52, 3] Operation: 1*3=3
Exploring Operation: 52-1=51, Resulting Numbers: [3, 51]
Generated Node #0,0,4: 99:[3, 51] Operation: 52-1=51
Moving to Node #0,0,0
Current State: 99:[1, 49], Operations: ['63-11=52', '52-3=49']
Exploring Operation: 1*49=49, Resulting Numbers: [49]
49,99 unequal: No Solution
Exploring Operation: 1+49=50, Resulting Numbers: [50]
50,99 unequal: No Solution
Exploring Operation: 49-1=48, Resulting Numbers: [48]
48,99 unequal: No Solution
Exploring Operation: 49/1=49, Resulting Numbers: [49]
49,99 unequal: No Solution
Moving to Node #0,0,4
Current State: 99:[3, 51], Operations: ['63-11=52', '52-1=51']
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,99 unequal: No Solution
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,99 unequal: No Solution
Exploring Operation: 3+51=54, Resulting Numbers: [54]
54,99 unequal: No Solution
Exploring Operation: 3*51=153, Resulting Numbers: [153]
153,99 unequal: No Solution
Moving to Node #0,0,1
Current State: 99:[52, 3], Operations: ['63-11=52', '3/1=3']
Exploring Operation: 52+3=55, Resulting Numbers: [55]
55,99 unequal: No Solution
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,99 unequal: No Solution
Exploring Operation: 52*3=156, Resulting Numbers: [156]
156,99 unequal: No Solution
Moving to Node #0,0,2
Current State: 99:[3, 52], Operations: ['63-11=52', '1*52=52']
Exploring Operation: 3+52=55, Resulting Numbers: [55]
55,99 unequal: No Solution
Exploring Operation: 3*52=156, Resulting Numbers: [156]
156,99 unequal: No Solution
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,99 unequal: No Solution
Moving to Node #0,0,3
Current State: 99:[52, 3], Operations: ['63-11=52', '1*3=3']
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,99 unequal: No Solution
Exploring Operation: 52+3=55, Resulting Numbers: [55]
55,99 unequal: No Solution
Exploring Operation: 52*3=156, Resulting Numbers: [156]
156,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 99:[1, 3, 74], Operations: ['63+11=74']
Exploring Operation: 3+74=77, Resulting Numbers: [1, 77]
Generated Node #0,3,0: 99:[1, 77] Operation: 3+74=77
Exploring Operation: 1*3=3, Resulting Numbers: [74, 3]
Generated Node #0,3,1: 99:[74, 3] Operation: 1*3=3
Exploring Operation: 1*74=74, Resulting Numbers: [3, 74]
Generated Node #0,3,2: 99:[3, 74] Operation: 1*74=74
Exploring Operation: 1+74=75, Resulting Numbers: [3, 75]
Generated Node #0,3,3: 99:[3, 75] Operation: 1+74=75
Exploring Operation: 3/1=3, Resulting Numbers: [74, 3]
Generated Node #0,3,4: 99:[74, 3] Operation: 3/1=3
Moving to Node #0,3,0
Current State: 99:[1, 77], Operations: ['63+11=74', '3+74=77']
Exploring Operation: 77-1=76, Resulting Numbers: [76]
76,99 unequal: No Solution
Exploring Operation: 1+77=78, Resulting Numbers: [78]
78,99 unequal: No Solution
Exploring Operation: 77/1=77, Resulting Numbers: [77]
77,99 unequal: No Solution
Exploring Operation: 1*77=77, Resulting Numbers: [77]
77,99 unequal: No Solution
Moving to Node #0,3,3
Current State: 99:[3, 75], Operations: ['63+11=74', '1+74=75']
Exploring Operation: 3+75=78, Resulting Numbers: [78]
78,99 unequal: No Solution
Exploring Operation: 75-3=72, Resulting Numbers: [72]
72,99 unequal: No Solution
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,99 unequal: No Solution
Exploring Operation: 3*75=225, Resulting Numbers: [225]
225,99 unequal: No Solution
Moving to Node #0,3,1
Current State: 99:[74, 3], Operations: ['63+11=74', '1*3=3']
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,99 unequal: No Solution
Exploring Operation: 74*3=222, Resulting Numbers: [222]
222,99 unequal: No Solution
Exploring Operation: 74+3=77, Resulting Numbers: [77]
77,99 unequal: No Solution
Moving to Node #0,3,2
Current State: 99:[3, 74], Operations: ['63+11=74', '1*74=74']
Exploring Operation: 3+74=77, Resulting Numbers: [77]
77,99 unequal: No Solution
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,99 unequal: No Solution
Exploring Operation: 3*74=222, Resulting Numbers: [222]
222,99 unequal: No Solution
Moving to Node #0,3,4
Current State: 99:[74, 3], Operations: ['63+11=74', '3/1=3']
Exploring Operation: 74*3=222, Resulting Numbers: [222]
222,99 unequal: No Solution
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,99 unequal: No Solution
Exploring Operation: 74+3=77, Resulting Numbers: [77]
77,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 99:[11, 1, 60], Operations: ['63-3=60']
Exploring Operation: 60-11=49, Resulting Numbers: [1, 49]
Generated Node #0,1,0: 99:[1, 49] Operation: 60-11=49
Exploring Operation: 11/1=11, Resulting Numbers: [60, 11]
Generated Node #0,1,1: 99:[60, 11] Operation: 11/1=11
Exploring Operation: 11*1=11, Resulting Numbers: [60, 11]
Generated Node #0,1,2: 99:[60, 11] Operation: 11*1=11
Exploring Operation: 60-1=59, Resulting Numbers: [11, 59]
Generated Node #0,1,3: 99:[11, 59] Operation: 60-1=59
Exploring Operation: 1*60=60, Resulting Numbers: [11, 60]
Generated Node #0,1,4: 99:[11, 60] Operation: 1*60=60
Moving to Node #0,1,0
Current State: 99:[1, 49], Operations: ['63-3=60', '60-11=49']
Exploring Operation: 49/1=49, Resulting Numbers: [49]
49,99 unequal: No Solution
Exploring Operation: 49-1=48, Resulting Numbers: [48]
48,99 unequal: No Solution
Exploring Operation: 1*49=49, Resulting Numbers: [49]
49,99 unequal: No Solution
Exploring Operation: 1+49=50, Resulting Numbers: [50]
50,99 unequal: No Solution
Moving to Node #0,1,3
Current State: 99:[11, 59], Operations: ['63-3=60', '60-1=59']
Exploring Operation: 11+59=70, Resulting Numbers: [70]
70,99 unequal: No Solution
Exploring Operation: 11*59=649, Resulting Numbers: [649]
649,99 unequal: No Solution
Exploring Operation: 59-11=48, Resulting Numbers: [48]
48,99 unequal: No Solution
Moving to Node #0,1,1
Current State: 99:[60, 11], Operations: ['63-3=60', '11/1=11']
Exploring Operation: 60+11=71, Resulting Numbers: [71]
71,99 unequal: No Solution
Exploring Operation: 60-11=49, Resulting Numbers: [49]
49,99 unequal: No Solution
Exploring Operation: 60*11=660, Resulting Numbers: [660]
660,99 unequal: No Solution
Moving to Node #0,1,2
Current State: 99:[60, 11], Operations: ['63-3=60', '11*1=11']
Exploring Operation: 60-11=49, Resulting Numbers: [49]
49,99 unequal: No Solution
Exploring Operation: 60+11=71, Resulting Numbers: [71]
71,99 unequal: No Solution
Exploring Operation: 60*11=660, Resulting Numbers: [660]
660,99 unequal: No Solution
Moving to Node #0,1,4
Current State: 99:[11, 60], Operations: ['63-3=60', '1*60=60']
Exploring Operation: 60-11=49, Resulting Numbers: [49]
49,99 unequal: No Solution
Exploring Operation: 11*60=660, Resulting Numbers: [660]
660,99 unequal: No Solution
Exploring Operation: 11+60=71, Resulting Numbers: [71]
71,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 99:[11, 3, 62], Operations: ['63-1=62']
Exploring Operation: 62-11=51, Resulting Numbers: [3, 51]
Generated Node #0,2,0: 99:[3, 51] Operation: 62-11=51
Exploring Operation: 11-3=8, Resulting Numbers: [62, 8]
Generated Node #0,2,1: 99:[62, 8] Operation: 11-3=8
Exploring Operation: 11*3=33, Resulting Numbers: [62, 33]
Generated Node #0,2,2: 99:[62, 33] Operation: 11*3=33
Exploring Operation: 62-3=59, Resulting Numbers: [11, 59]
Generated Node #0,2,3: 99:[11, 59] Operation: 62-3=59
Exploring Operation: 11+62=73, Resulting Numbers: [3, 73]
Generated Node #0,2,4: 99:[3, 73] Operation: 11+62=73
Moving to Node #0,2,0
Current State: 99:[3, 51], Operations: ['63-1=62', '62-11=51']
Exploring Operation: 3*51=153, Resulting Numbers: [153]
153,99 unequal: No Solution
Exploring Operation: 3+51=54, Resulting Numbers: [54]
54,99 unequal: No Solution
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,99 unequal: No Solution
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,99 unequal: No Solution
Moving to Node #0,2,4
Current State: 99:[3, 73], Operations: ['63-1=62', '11+62=73']
Exploring Operation: 3+73=76, Resulting Numbers: [76]
76,99 unequal: No Solution
Exploring Operation: 3*73=219, Resulting Numbers: [219]
219,99 unequal: No Solution
Exploring Operation: 73-3=70, Resulting Numbers: [70]
70,99 unequal: No Solution
Moving to Node #0,2,3
Current State: 99:[11, 59], Operations: ['63-1=62', '62-3=59']
Exploring Operation: 59-11=48, Resulting Numbers: [48]
48,99 unequal: No Solution
Exploring Operation: 11+59=70, Resulting Numbers: [70]
70,99 unequal: No Solution
Exploring Operation: 11*59=649, Resulting Numbers: [649]
649,99 unequal: No Solution
Moving to Node #0,2,2
Current State: 99:[62, 33], Operations: ['63-1=62', '11*3=33']
Exploring Operation: 62+33=95, Resulting Numbers: [95]
95,99 unequal: No Solution
Exploring Operation: 62*33=2046, Resulting Numbers: [2046]
2046,99 unequal: No Solution
Exploring Operation: 62-33=29, Resulting Numbers: [29]
29,99 unequal: No Solution
Moving to Node #0,2,1
Current State: 99:[62, 8], Operations: ['63-1=62', '11-3=8']
Exploring Operation: 62-8=54, Resulting Numbers: [54]
54,99 unequal: No Solution
Exploring Operation: 62+8=70, Resulting Numbers: [70]
70,99 unequal: No Solution
Exploring Operation: 62*8=496, Resulting Numbers: [496]
496,99 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
27,
53,
84,
42
] | 40 | [
"27+53=80",
"84/42=2",
"80/2=40"
] | Current State: 40:[27, 53, 84, 42], Operations: []
Exploring Operation: 27+53=80, Resulting Numbers: [84, 42, 80]
Generated Node #2: [84, 42, 80] from Operation: 27+53=80
Current State: 40:[84, 42, 80], Operations: ['27+53=80']
Exploring Operation: 84/42=2, Resulting Numbers: [80, 2]
Generated Node #3: [80, 2] from Operation: 84/42=2
Current State: 40:[80, 2], Operations: ['27+53=80', '84/42=2']
Exploring Operation: 80/2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[27, 53, 84, 42], Operations: []
Exploring Operation: 84-42=42, Resulting Numbers: [27, 53, 42]
Generated Node #0,0: 40:[27, 53, 42] Operation: 84-42=42
Exploring Operation: 84-53=31, Resulting Numbers: [27, 42, 31]
Generated Node #0,1: 40:[27, 42, 31] Operation: 84-53=31
Exploring Operation: 84/42=2, Resulting Numbers: [27, 53, 2]
Generated Node #0,2: 40:[27, 53, 2] Operation: 84/42=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 40:[27, 42, 31], Operations: ['84-53=31']
Exploring Operation: 42-27=15, Resulting Numbers: [31, 15]
Generated Node #0,1,0: 40:[31, 15] Operation: 42-27=15
Exploring Operation: 42-31=11, Resulting Numbers: [27, 11]
Generated Node #0,1,1: 40:[27, 11] Operation: 42-31=11
Exploring Operation: 31-27=4, Resulting Numbers: [42, 4]
Generated Node #0,1,2: 40:[42, 4] Operation: 31-27=4
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 40:[42, 4], Operations: ['84-53=31', '31-27=4']
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,40 unequal: No Solution
Exploring Operation: 42+4=46, Resulting Numbers: [46]
46,40 unequal: No Solution
Exploring Operation: 42*4=168, Resulting Numbers: [168]
168,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,1,1
Current State: 40:[27, 11], Operations: ['84-53=31', '42-31=11']
Exploring Operation: 27+11=38, Resulting Numbers: [38]
38,40 unequal: No Solution
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,40 unequal: No Solution
Exploring Operation: 27*11=297, Resulting Numbers: [297]
297,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,1,0
Current State: 40:[31, 15], Operations: ['84-53=31', '42-27=15']
Exploring Operation: 31-15=16, Resulting Numbers: [16]
16,40 unequal: No Solution
Exploring Operation: 31+15=46, Resulting Numbers: [46]
46,40 unequal: No Solution
Exploring Operation: 31*15=465, Resulting Numbers: [465]
465,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,2
Current State: 40:[27, 53, 2], Operations: ['84/42=2']
Exploring Operation: 27-2=25, Resulting Numbers: [53, 25]
Generated Node #0,2,0: 40:[53, 25] Operation: 27-2=25
Exploring Operation: 53-27=26, Resulting Numbers: [2, 26]
Generated Node #0,2,1: 40:[2, 26] Operation: 53-27=26
Exploring Operation: 53-2=51, Resulting Numbers: [27, 51]
Generated Node #0,2,2: 40:[27, 51] Operation: 53-2=51
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 40:[2, 26], Operations: ['84/42=2', '53-27=26']
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,40 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,40 unequal: No Solution
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,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,2,0
Current State: 40:[53, 25], Operations: ['84/42=2', '27-2=25']
Exploring Operation: 53+25=78, Resulting Numbers: [78]
78,40 unequal: No Solution
Exploring Operation: 53*25=1325, Resulting Numbers: [1325]
1325,40 unequal: No Solution
Exploring Operation: 53-25=28, Resulting Numbers: [28]
28,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,2,2
Current State: 40:[27, 51], Operations: ['84/42=2', '53-2=51']
Exploring Operation: 27*51=1377, Resulting Numbers: [1377]
1377,40 unequal: No Solution
Exploring Operation: 51-27=24, Resulting Numbers: [24]
24,40 unequal: No Solution
Exploring Operation: 27+51=78, Resulting Numbers: [78]
78,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,0
Current State: 40:[27, 53, 42], Operations: ['84-42=42']
Exploring Operation: 53-27=26, Resulting Numbers: [42, 26]
Generated Node #0,0,0: 40:[42, 26] Operation: 53-27=26
Exploring Operation: 42-27=15, Resulting Numbers: [53, 15]
Generated Node #0,0,1: 40:[53, 15] Operation: 42-27=15
Exploring Operation: 53-42=11, Resulting Numbers: [27, 11]
Generated Node #0,0,2: 40:[27, 11] Operation: 53-42=11
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 40:[42, 26], Operations: ['84-42=42', '53-27=26']
Exploring Operation: 42-26=16, Resulting Numbers: [16]
16,40 unequal: No Solution
Exploring Operation: 42*26=1092, Resulting Numbers: [1092]
1092,40 unequal: No Solution
Exploring Operation: 42+26=68, Resulting Numbers: [68]
68,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,2
Current State: 40:[27, 11], Operations: ['84-42=42', '53-42=11']
Exploring Operation: 27+11=38, Resulting Numbers: [38]
38,40 unequal: No Solution
Exploring Operation: 27*11=297, Resulting Numbers: [297]
297,40 unequal: No Solution
Exploring Operation: 27-11=16, Resulting Numbers: [16]
16,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:[53, 15], Operations: ['84-42=42', '42-27=15']
Exploring Operation: 53-15=38, Resulting Numbers: [38]
38,40 unequal: No Solution
Exploring Operation: 53+15=68, Resulting Numbers: [68]
68,40 unequal: No Solution
Exploring Operation: 53*15=795, Resulting Numbers: [795]
795,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
No solution found.
| 0 | hs_3 | sum_heuristic |
[
7,
25,
64,
35
] | 34 | [
"35/7=5",
"64-25=39",
"39-5=34"
] | Current State: 34:[7, 25, 64, 35], Operations: []
Exploring Operation: 35/7=5, Resulting Numbers: [25, 64, 5]
Generated Node #2: [25, 64, 5] from Operation: 35/7=5
Current State: 34:[25, 64, 5], Operations: ['35/7=5']
Exploring Operation: 64-25=39, Resulting Numbers: [5, 39]
Generated Node #3: [5, 39] from Operation: 64-25=39
Current State: 34:[5, 39], Operations: ['35/7=5', '64-25=39']
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[7, 25, 64, 35], Operations: []
Exploring Operation: 7+25=32, Resulting Numbers: [64, 35, 32]
Generated Node #0,0: 34:[64, 35, 32] Operation: 7+25=32
Exploring Operation: 64-35=29, Resulting Numbers: [7, 25, 29]
Generated Node #0,1: 34:[7, 25, 29] Operation: 64-35=29
Exploring Operation: 25-7=18, Resulting Numbers: [64, 35, 18]
Generated Node #0,2: 34:[64, 35, 18] Operation: 25-7=18
Exploring Operation: 64-7=57, Resulting Numbers: [25, 35, 57]
Generated Node #0,3: 34:[25, 35, 57] Operation: 64-7=57
Exploring Operation: 64-25=39, Resulting Numbers: [7, 35, 39]
Generated Node #0,4: 34:[7, 35, 39] Operation: 64-25=39
Start Sub Search at level 1: Moving to Node #0,4
Current State: 34:[7, 35, 39], Operations: ['64-25=39']
Exploring Operation: 39-7=32, Resulting Numbers: [35, 32]
Generated Node #0,4,0: 34:[35, 32] Operation: 39-7=32
Exploring Operation: 7+35=42, Resulting Numbers: [39, 42]
Generated Node #0,4,1: 34:[39, 42] Operation: 7+35=42
Exploring Operation: 39-35=4, Resulting Numbers: [7, 4]
Generated Node #0,4,2: 34:[7, 4] Operation: 39-35=4
Exploring Operation: 35-7=28, Resulting Numbers: [39, 28]
Generated Node #0,4,3: 34:[39, 28] Operation: 35-7=28
Exploring Operation: 35/7=5, Resulting Numbers: [39, 5]
Generated Node #0,4,4: 34:[39, 5] Operation: 35/7=5
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 34:[35, 32], Operations: ['64-25=39', '39-7=32']
Exploring Operation: 35+32=67, Resulting Numbers: [67]
67,34 unequal: No Solution
Exploring Operation: 35*32=1120, Resulting Numbers: [1120]
1120,34 unequal: No Solution
Exploring Operation: 35-32=3, Resulting Numbers: [3]
3,34 unequal: No Solution
No 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: 34:[7, 4], Operations: ['64-25=39', '39-35=4']
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,34 unequal: No Solution
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,34 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,34 unequal: No Solution
No 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: 34:[39, 5], Operations: ['64-25=39', '35/7=5']
Exploring Operation: 39+5=44, Resulting Numbers: [44]
44,34 unequal: No Solution
Exploring Operation: 39*5=195, Resulting Numbers: [195]
195,34 unequal: No Solution
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[7, 25, 64, 35], Operations: []
Exploring Operation: 64-25=39, Resulting Numbers: [7, 35, 39]
Generated Node #0,4: 34:[7, 35, 39] Operation: 64-25=39
Moving to Node #0,4
Current State: 34:[7, 35, 39], Operations: ['64-25=39']
Exploring Operation: 35/7=5, Resulting Numbers: [39, 5]
Generated Node #0,4,4: 34:[39, 5] Operation: 35/7=5
Moving to Node #0,4,4
Current State: 34:[39, 5], Operations: ['64-25=39', '35/7=5']
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 | hs_5 | sum_heuristic |
[
13,
29,
64,
59
] | 81 | [
"13+29=42",
"64+59=123",
"123-42=81"
] | Current State: 81:[13, 29, 64, 59], Operations: []
Exploring Operation: 13+29=42, Resulting Numbers: [64, 59, 42]
Generated Node #2: [64, 59, 42] from Operation: 13+29=42
Current State: 81:[64, 59, 42], Operations: ['13+29=42']
Exploring Operation: 64+59=123, Resulting Numbers: [42, 123]
Generated Node #3: [42, 123] from Operation: 64+59=123
Current State: 81:[42, 123], Operations: ['13+29=42', '64+59=123']
Exploring Operation: 123-42=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[13, 29, 64, 59], Operations: []
Exploring Operation: 59-29=30, Resulting Numbers: [13, 64, 30]
Generated Node #0,0: 81:[13, 64, 30] Operation: 59-29=30
Exploring Operation: 64-59=5, Resulting Numbers: [13, 29, 5]
Generated Node #0,1: 81:[13, 29, 5] Operation: 64-59=5
Exploring Operation: 13+64=77, Resulting Numbers: [29, 59, 77]
Generated Node #0,2: 81:[29, 59, 77] Operation: 13+64=77
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[13, 29, 5], Operations: ['64-59=5']
Exploring Operation: 29-13=16, Resulting Numbers: [5, 16]
Generated Node #0,1,0: 81:[5, 16] Operation: 29-13=16
Exploring Operation: 29-5=24, Resulting Numbers: [13, 24]
Generated Node #0,1,1: 81:[13, 24] Operation: 29-5=24
Exploring Operation: 13-5=8, Resulting Numbers: [29, 8]
Generated Node #0,1,2: 81:[29, 8] Operation: 13-5=8
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 81:[29, 8], Operations: ['64-59=5', '13-5=8']
Exploring Operation: 29+8=37, Resulting Numbers: [37]
37,81 unequal: No Solution
Exploring Operation: 29*8=232, Resulting Numbers: [232]
232,81 unequal: No Solution
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 81:[13, 24], Operations: ['64-59=5', '29-5=24']
Exploring Operation: 13+24=37, Resulting Numbers: [37]
37,81 unequal: No Solution
Exploring Operation: 13*24=312, Resulting Numbers: [312]
312,81 unequal: No Solution
Exploring Operation: 24-13=11, Resulting Numbers: [11]
11,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 81:[5, 16], Operations: ['64-59=5', '29-13=16']
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,81 unequal: No Solution
Exploring Operation: 5+16=21, Resulting Numbers: [21]
21,81 unequal: No Solution
Exploring Operation: 5*16=80, Resulting Numbers: [80]
80,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[13, 64, 30], Operations: ['59-29=30']
Exploring Operation: 64-30=34, Resulting Numbers: [13, 34]
Generated Node #0,0,0: 81:[13, 34] Operation: 64-30=34
Exploring Operation: 64+30=94, Resulting Numbers: [13, 94]
Generated Node #0,0,1: 81:[13, 94] Operation: 64+30=94
Exploring Operation: 13+64=77, Resulting Numbers: [30, 77]
Generated Node #0,0,2: 81:[30, 77] Operation: 13+64=77
Moving to Node #0,0,2
Current State: 81:[30, 77], Operations: ['59-29=30', '13+64=77']
Exploring Operation: 77-30=47, Resulting Numbers: [47]
47,81 unequal: No Solution
Exploring Operation: 30*77=2310, Resulting Numbers: [2310]
2310,81 unequal: No Solution
Exploring Operation: 30+77=107, Resulting Numbers: [107]
107,81 unequal: No Solution
Moving to Node #0,0,0
Current State: 81:[13, 34], Operations: ['59-29=30', '64-30=34']
Exploring Operation: 13*34=442, Resulting Numbers: [442]
442,81 unequal: No Solution
Exploring Operation: 13+34=47, Resulting Numbers: [47]
47,81 unequal: No Solution
Exploring Operation: 34-13=21, Resulting Numbers: [21]
21,81 unequal: No Solution
Moving to Node #0,0,1
Current State: 81:[13, 94], Operations: ['59-29=30', '64+30=94']
Exploring Operation: 94-13=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[13, 29, 64, 59], Operations: []
Exploring Operation: 59-29=30, Resulting Numbers: [13, 64, 30]
Generated Node #0,0: 81:[13, 64, 30] Operation: 59-29=30
Moving to Node #0,0
Current State: 81:[13, 64, 30], Operations: ['59-29=30']
Exploring Operation: 64+30=94, Resulting Numbers: [13, 94]
Generated Node #0,0,1: 81:[13, 94] Operation: 64+30=94
Moving to Node #0,0,1
Current State: 81:[13, 94], Operations: ['59-29=30', '64+30=94']
Exploring Operation: 94-13=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_3 | sum_heuristic |
[
73,
4,
23,
95
] | 68 | [
"23-4=19",
"95/19=5",
"73-5=68"
] | Current State: 68:[73, 4, 23, 95], Operations: []
Exploring Operation: 23-4=19, Resulting Numbers: [73, 95, 19]
Generated Node #2: [73, 95, 19] from Operation: 23-4=19
Current State: 68:[73, 95, 19], Operations: ['23-4=19']
Exploring Operation: 95/19=5, Resulting Numbers: [73, 5]
Generated Node #3: [73, 5] from Operation: 95/19=5
Current State: 68:[73, 5], Operations: ['23-4=19', '95/19=5']
Exploring Operation: 73-5=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[73, 4, 23, 95], Operations: []
Exploring Operation: 95-73=22, Resulting Numbers: [4, 23, 22]
Generated Node #0,0: 68:[4, 23, 22] Operation: 95-73=22
Exploring Operation: 95-23=72, Resulting Numbers: [73, 4, 72]
Generated Node #0,1: 68:[73, 4, 72] Operation: 95-23=72
Start Sub Search at level 1: Moving to Node #0,1
Current State: 68:[73, 4, 72], Operations: ['95-23=72']
Exploring Operation: 73-72=1, Resulting Numbers: [4, 1]
Generated Node #0,1,0: 68:[4, 1] Operation: 73-72=1
Exploring Operation: 73-4=69, Resulting Numbers: [72, 69]
Generated Node #0,1,1: 68:[72, 69] Operation: 73-4=69
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 68:[4, 1], Operations: ['95-23=72', '73-72=1']
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,68 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 68:[72, 69], Operations: ['95-23=72', '73-4=69']
Exploring Operation: 72-69=3, Resulting Numbers: [3]
3,68 unequal: No Solution
Exploring Operation: 72+69=141, Resulting Numbers: [141]
141,68 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: 68:[4, 23, 22], Operations: ['95-73=22']
Exploring Operation: 23-4=19, Resulting Numbers: [22, 19]
Generated Node #0,0,0: 68:[22, 19] Operation: 23-4=19
Exploring Operation: 23-22=1, Resulting Numbers: [4, 1]
Generated Node #0,0,1: 68:[4, 1] Operation: 23-22=1
Moving to Node #0,0,1
Current State: 68:[4, 1], Operations: ['95-73=22', '23-22=1']
Exploring Operation: 4*1=4, Resulting Numbers: [4]
4,68 unequal: No Solution
Exploring Operation: 4/1=4, Resulting Numbers: [4]
4,68 unequal: No Solution
Moving to Node #0,0,0
Current State: 68:[22, 19], Operations: ['95-73=22', '23-4=19']
Exploring Operation: 22+19=41, Resulting Numbers: [41]
41,68 unequal: No Solution
Exploring Operation: 22-19=3, Resulting Numbers: [3]
3,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
26,
90,
70,
91
] | 95 | [
"26+90=116",
"91-70=21",
"116-21=95"
] | Current State: 95:[26, 90, 70, 91], Operations: []
Exploring Operation: 26+90=116, Resulting Numbers: [70, 91, 116]
Generated Node #2: [70, 91, 116] from Operation: 26+90=116
Current State: 95:[70, 91, 116], Operations: ['26+90=116']
Exploring Operation: 91-70=21, Resulting Numbers: [116, 21]
Generated Node #3: [116, 21] from Operation: 91-70=21
Current State: 95:[116, 21], Operations: ['26+90=116', '91-70=21']
Exploring Operation: 116-21=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[26, 90, 70, 91], Operations: []
Exploring Operation: 26+70=96, Resulting Numbers: [90, 91, 96]
Generated Node #0,0: 95:[90, 91, 96] Operation: 26+70=96
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[90, 91, 96], Operations: ['26+70=96']
Exploring Operation: 91-90=1, Resulting Numbers: [96, 1]
Generated Node #0,0,0: 95:[96, 1] Operation: 91-90=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 95:[96, 1], Operations: ['26+70=96', '91-90=1']
Exploring Operation: 96-1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[26, 90, 70, 91], Operations: []
Exploring Operation: 26+70=96, Resulting Numbers: [90, 91, 96]
Generated Node #0,0: 95:[90, 91, 96] Operation: 26+70=96
Moving to Node #0,0
Current State: 95:[90, 91, 96], Operations: ['26+70=96']
Exploring Operation: 91-90=1, Resulting Numbers: [96, 1]
Generated Node #0,0,0: 95:[96, 1] Operation: 91-90=1
Moving to Node #0,0,0
Current State: 95:[96, 1], Operations: ['26+70=96', '91-90=1']
Exploring Operation: 96-1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
32,
91,
83,
87
] | 99 | [
"87-83=4",
"32/4=8",
"91+8=99"
] | Current State: 99:[32, 91, 83, 87], Operations: []
Exploring Operation: 87-83=4, Resulting Numbers: [32, 91, 4]
Generated Node #2: [32, 91, 4] from Operation: 87-83=4
Current State: 99:[32, 91, 4], Operations: ['87-83=4']
Exploring Operation: 32/4=8, Resulting Numbers: [91, 8]
Generated Node #3: [91, 8] from Operation: 32/4=8
Current State: 99:[91, 8], Operations: ['87-83=4', '32/4=8']
Exploring Operation: 91+8=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[32, 91, 83, 87], Operations: []
Exploring Operation: 91-87=4, Resulting Numbers: [32, 83, 4]
Generated Node #0,0: 99:[32, 83, 4] Operation: 91-87=4
Exploring Operation: 32+83=115, Resulting Numbers: [91, 87, 115]
Generated Node #0,1: 99:[91, 87, 115] Operation: 32+83=115
Exploring Operation: 91-83=8, Resulting Numbers: [32, 87, 8]
Generated Node #0,2: 99:[32, 87, 8] Operation: 91-83=8
Exploring Operation: 87-83=4, Resulting Numbers: [32, 91, 4]
Generated Node #0,3: 99:[32, 91, 4] Operation: 87-83=4
Start Sub Search at level 1: Moving to Node #0,3
Current State: 99:[32, 91, 4], Operations: ['87-83=4']
Exploring Operation: 32/4=8, Resulting Numbers: [91, 8]
Generated Node #0,3,0: 99:[91, 8] Operation: 32/4=8
Exploring Operation: 32-4=28, Resulting Numbers: [91, 28]
Generated Node #0,3,1: 99:[91, 28] Operation: 32-4=28
Exploring Operation: 91+4=95, Resulting Numbers: [32, 95]
Generated Node #0,3,2: 99:[32, 95] Operation: 91+4=95
Exploring Operation: 32+4=36, Resulting Numbers: [91, 36]
Generated Node #0,3,3: 99:[91, 36] Operation: 32+4=36
Moving to Node #0,3,2
Current State: 99:[32, 95], Operations: ['87-83=4', '91+4=95']
Exploring Operation: 95-32=63, Resulting Numbers: [63]
63,99 unequal: No Solution
Exploring Operation: 32+95=127, Resulting Numbers: [127]
127,99 unequal: No Solution
Exploring Operation: 32*95=3040, Resulting Numbers: [3040]
3040,99 unequal: No Solution
Moving to Node #0,3,0
Current State: 99:[91, 8], Operations: ['87-83=4', '32/4=8']
Exploring Operation: 91+8=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[32, 91, 83, 87], Operations: []
Exploring Operation: 87-83=4, Resulting Numbers: [32, 91, 4]
Generated Node #0,3: 99:[32, 91, 4] Operation: 87-83=4
Moving to Node #0,3
Current State: 99:[32, 91, 4], Operations: ['87-83=4']
Exploring Operation: 32/4=8, Resulting Numbers: [91, 8]
Generated Node #0,3,0: 99:[91, 8] Operation: 32/4=8
Moving to Node #0,3,0
Current State: 99:[91, 8], Operations: ['87-83=4', '32/4=8']
Exploring Operation: 91+8=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
43,
36,
35,
51
] | 46 | [
"43-36=7",
"35/7=5",
"51-5=46"
] | Current State: 46:[43, 36, 35, 51], Operations: []
Exploring Operation: 43-36=7, Resulting Numbers: [35, 51, 7]
Generated Node #2: [35, 51, 7] from Operation: 43-36=7
Current State: 46:[35, 51, 7], Operations: ['43-36=7']
Exploring Operation: 35/7=5, Resulting Numbers: [51, 5]
Generated Node #3: [51, 5] from Operation: 35/7=5
Current State: 46:[51, 5], Operations: ['43-36=7', '35/7=5']
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[43, 36, 35, 51], Operations: []
Exploring Operation: 51-35=16, Resulting Numbers: [43, 36, 16]
Generated Node #0,0: 46:[43, 36, 16] Operation: 51-35=16
Exploring Operation: 51-36=15, Resulting Numbers: [43, 35, 15]
Generated Node #0,1: 46:[43, 35, 15] Operation: 51-36=15
Exploring Operation: 43-36=7, Resulting Numbers: [35, 51, 7]
Generated Node #0,2: 46:[35, 51, 7] Operation: 43-36=7
Exploring Operation: 36-35=1, Resulting Numbers: [43, 51, 1]
Generated Node #0,3: 46:[43, 51, 1] Operation: 36-35=1
Exploring Operation: 43-35=8, Resulting Numbers: [36, 51, 8]
Generated Node #0,4: 46:[36, 51, 8] Operation: 43-35=8
Moving to Node #0,3
Current State: 46:[43, 51, 1], Operations: ['36-35=1']
Exploring Operation: 43/1=43, Resulting Numbers: [51, 43]
Generated Node #0,3,0: 46:[51, 43] Operation: 43/1=43
Exploring Operation: 43+1=44, Resulting Numbers: [51, 44]
Generated Node #0,3,1: 46:[51, 44] Operation: 43+1=44
Exploring Operation: 51-1=50, Resulting Numbers: [43, 50]
Generated Node #0,3,2: 46:[43, 50] Operation: 51-1=50
Exploring Operation: 43*1=43, Resulting Numbers: [51, 43]
Generated Node #0,3,3: 46:[51, 43] Operation: 43*1=43
Exploring Operation: 51-43=8, Resulting Numbers: [1, 8]
Generated Node #0,3,4: 46:[1, 8] Operation: 51-43=8
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 46:[51, 44], Operations: ['36-35=1', '43+1=44']
Exploring Operation: 51-44=7, Resulting Numbers: [7]
7,46 unequal: No Solution
Exploring Operation: 51*44=2244, Resulting Numbers: [2244]
2244,46 unequal: No Solution
Exploring Operation: 51+44=95, Resulting Numbers: [95]
95,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 46:[43, 50], Operations: ['36-35=1', '51-1=50']
Exploring Operation: 43+50=93, Resulting Numbers: [93]
93,46 unequal: No Solution
Exploring Operation: 50-43=7, Resulting Numbers: [7]
7,46 unequal: No Solution
Exploring Operation: 43*50=2150, Resulting Numbers: [2150]
2150,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 46:[1, 8], Operations: ['36-35=1', '51-43=8']
Exploring Operation: 1*8=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Exploring Operation: 1+8=9, Resulting Numbers: [9]
9,46 unequal: No Solution
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,46 unequal: No Solution
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 46:[51, 43], Operations: ['36-35=1', '43/1=43']
Exploring Operation: 51*43=2193, Resulting Numbers: [2193]
2193,46 unequal: No Solution
Exploring Operation: 51-43=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Exploring Operation: 51+43=94, Resulting Numbers: [94]
94,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 46:[51, 43], Operations: ['36-35=1', '43*1=43']
Exploring Operation: 51+43=94, Resulting Numbers: [94]
94,46 unequal: No Solution
Exploring Operation: 51-43=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Exploring Operation: 51*43=2193, Resulting Numbers: [2193]
2193,46 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: 46:[43, 36, 16], Operations: ['51-35=16']
Exploring Operation: 36+16=52, Resulting Numbers: [43, 52]
Generated Node #0,0,0: 46:[43, 52] Operation: 36+16=52
Exploring Operation: 36-16=20, Resulting Numbers: [43, 20]
Generated Node #0,0,1: 46:[43, 20] Operation: 36-16=20
Exploring Operation: 43-36=7, Resulting Numbers: [16, 7]
Generated Node #0,0,2: 46:[16, 7] Operation: 43-36=7
Exploring Operation: 43+16=59, Resulting Numbers: [36, 59]
Generated Node #0,0,3: 46:[36, 59] Operation: 43+16=59
Exploring Operation: 43-16=27, Resulting Numbers: [36, 27]
Generated Node #0,0,4: 46:[36, 27] Operation: 43-16=27
Moving to Node #0,2
Current State: 46:[35, 51, 7], Operations: ['43-36=7']
Exploring Operation: 51-35=16, Resulting Numbers: [7, 16]
Generated Node #0,2,0: 46:[7, 16] Operation: 51-35=16
Exploring Operation: 35+7=42, Resulting Numbers: [51, 42]
Generated Node #0,2,1: 46:[51, 42] Operation: 35+7=42
Exploring Operation: 35-7=28, Resulting Numbers: [51, 28]
Generated Node #0,2,2: 46:[51, 28] Operation: 35-7=28
Exploring Operation: 51-7=44, Resulting Numbers: [35, 44]
Generated Node #0,2,3: 46:[35, 44] Operation: 51-7=44
Exploring Operation: 35/7=5, Resulting Numbers: [51, 5]
Generated Node #0,2,4: 46:[51, 5] Operation: 35/7=5
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 46:[51, 5], Operations: ['43-36=7', '35/7=5']
Exploring Operation: 51*5=255, Resulting Numbers: [255]
255,46 unequal: No Solution
Exploring Operation: 51+5=56, Resulting Numbers: [56]
56,46 unequal: No Solution
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[43, 36, 35, 51], Operations: []
Exploring Operation: 43-36=7, Resulting Numbers: [35, 51, 7]
Generated Node #0,2: 46:[35, 51, 7] Operation: 43-36=7
Moving to Node #0,2
Current State: 46:[35, 51, 7], Operations: ['43-36=7']
Exploring Operation: 35/7=5, Resulting Numbers: [51, 5]
Generated Node #0,2,4: 46:[51, 5] Operation: 35/7=5
Moving to Node #0,2,4
Current State: 46:[51, 5], Operations: ['43-36=7', '35/7=5']
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.962674 | hs_5 | sum_heuristic |
[
5,
94,
95,
57
] | 18 | [
"95/5=19",
"94-57=37",
"37-19=18"
] | Current State: 18:[5, 94, 95, 57], Operations: []
Exploring Operation: 95/5=19, Resulting Numbers: [94, 57, 19]
Generated Node #2: [94, 57, 19] from Operation: 95/5=19
Current State: 18:[94, 57, 19], Operations: ['95/5=19']
Exploring Operation: 94-57=37, Resulting Numbers: [19, 37]
Generated Node #3: [19, 37] from Operation: 94-57=37
Current State: 18:[19, 37], Operations: ['95/5=19', '94-57=37']
Exploring Operation: 37-19=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[5, 94, 95, 57], Operations: []
Exploring Operation: 95-94=1, Resulting Numbers: [5, 57, 1]
Generated Node #0,0: 18:[5, 57, 1] Operation: 95-94=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[5, 57, 1], Operations: ['95-94=1']
Exploring Operation: 57-5=52, Resulting Numbers: [1, 52]
Generated Node #0,0,0: 18:[1, 52] Operation: 57-5=52
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 18:[1, 52], Operations: ['95-94=1', '57-5=52']
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,18 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 |
[
37,
93,
6,
16
] | 13 | [
"37+93=130",
"16-6=10",
"130/10=13"
] | Current State: 13:[37, 93, 6, 16], Operations: []
Exploring Operation: 37+93=130, Resulting Numbers: [6, 16, 130]
Generated Node #2: [6, 16, 130] from Operation: 37+93=130
Current State: 13:[6, 16, 130], Operations: ['37+93=130']
Exploring Operation: 16-6=10, Resulting Numbers: [130, 10]
Generated Node #3: [130, 10] from Operation: 16-6=10
Current State: 13:[130, 10], Operations: ['37+93=130', '16-6=10']
Exploring Operation: 130/10=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[37, 93, 6, 16], Operations: []
Exploring Operation: 93-16=77, Resulting Numbers: [37, 6, 77]
Generated Node #0,0: 13:[37, 6, 77] Operation: 93-16=77
Exploring Operation: 93-37=56, Resulting Numbers: [6, 16, 56]
Generated Node #0,1: 13:[6, 16, 56] Operation: 93-37=56
Exploring Operation: 37-16=21, Resulting Numbers: [93, 6, 21]
Generated Node #0,2: 13:[93, 6, 21] Operation: 37-16=21
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[6, 16, 56], Operations: ['93-37=56']
Exploring Operation: 56-6=50, Resulting Numbers: [16, 50]
Generated Node #0,1,0: 13:[16, 50] Operation: 56-6=50
Exploring Operation: 56-16=40, Resulting Numbers: [6, 40]
Generated Node #0,1,1: 13:[6, 40] Operation: 56-16=40
Exploring Operation: 16-6=10, Resulting Numbers: [56, 10]
Generated Node #0,1,2: 13:[56, 10] Operation: 16-6=10
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 13:[6, 40], Operations: ['93-37=56', '56-16=40']
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,13 unequal: No Solution
Exploring Operation: 6*40=240, Resulting Numbers: [240]
240,13 unequal: No Solution
Exploring Operation: 6+40=46, Resulting Numbers: [46]
46,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:[16, 50], Operations: ['93-37=56', '56-6=50']
Exploring Operation: 16+50=66, Resulting Numbers: [66]
66,13 unequal: No Solution
Exploring Operation: 16*50=800, Resulting Numbers: [800]
800,13 unequal: No Solution
Exploring Operation: 50-16=34, Resulting Numbers: [34]
34,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:[56, 10], Operations: ['93-37=56', '16-6=10']
Exploring Operation: 56+10=66, Resulting Numbers: [66]
66,13 unequal: No Solution
Exploring Operation: 56-10=46, Resulting Numbers: [46]
46,13 unequal: No Solution
Exploring Operation: 56*10=560, Resulting Numbers: [560]
560,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:[37, 6, 77], Operations: ['93-16=77']
Exploring Operation: 77-37=40, Resulting Numbers: [6, 40]
Generated Node #0,0,0: 13:[6, 40] Operation: 77-37=40
Exploring Operation: 37-6=31, Resulting Numbers: [77, 31]
Generated Node #0,0,1: 13:[77, 31] Operation: 37-6=31
Exploring Operation: 77-6=71, Resulting Numbers: [37, 71]
Generated Node #0,0,2: 13:[37, 71] Operation: 77-6=71
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 13:[6, 40], Operations: ['93-16=77', '77-37=40']
Exploring Operation: 6*40=240, Resulting Numbers: [240]
240,13 unequal: No Solution
Exploring Operation: 6+40=46, Resulting Numbers: [46]
46,13 unequal: No Solution
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,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:[77, 31], Operations: ['93-16=77', '37-6=31']
Exploring Operation: 77+31=108, Resulting Numbers: [108]
108,13 unequal: No Solution
Exploring Operation: 77*31=2387, Resulting Numbers: [2387]
2387,13 unequal: No Solution
Exploring Operation: 77-31=46, Resulting Numbers: [46]
46,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:[37, 71], Operations: ['93-16=77', '77-6=71']
Exploring Operation: 37*71=2627, Resulting Numbers: [2627]
2627,13 unequal: No Solution
Exploring Operation: 37+71=108, Resulting Numbers: [108]
108,13 unequal: No Solution
Exploring Operation: 71-37=34, Resulting Numbers: [34]
34,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,2
Current State: 13:[93, 6, 21], Operations: ['37-16=21']
Exploring Operation: 93-21=72, Resulting Numbers: [6, 72]
Generated Node #0,2,0: 13:[6, 72] Operation: 93-21=72
Exploring Operation: 93-6=87, Resulting Numbers: [21, 87]
Generated Node #0,2,1: 13:[21, 87] Operation: 93-6=87
Exploring Operation: 21-6=15, Resulting Numbers: [93, 15]
Generated Node #0,2,2: 13:[93, 15] Operation: 21-6=15
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 13:[6, 72], Operations: ['37-16=21', '93-21=72']
Exploring Operation: 6+72=78, Resulting Numbers: [78]
78,13 unequal: No Solution
Exploring Operation: 72-6=66, Resulting Numbers: [66]
66,13 unequal: No Solution
Exploring Operation: 72/6=12, Resulting Numbers: [12]
12,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 13:[21, 87], Operations: ['37-16=21', '93-6=87']
Exploring Operation: 21+87=108, Resulting Numbers: [108]
108,13 unequal: No Solution
Exploring Operation: 21*87=1827, Resulting Numbers: [1827]
1827,13 unequal: No Solution
Exploring Operation: 87-21=66, Resulting Numbers: [66]
66,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:[93, 15], Operations: ['37-16=21', '21-6=15']
Exploring Operation: 93*15=1395, Resulting Numbers: [1395]
1395,13 unequal: No Solution
Exploring Operation: 93-15=78, Resulting Numbers: [78]
78,13 unequal: No Solution
Exploring Operation: 93+15=108, Resulting Numbers: [108]
108,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
66,
80,
57,
10
] | 83 | [
"80-66=14",
"10*14=140",
"140-57=83"
] | Current State: 83:[66, 80, 57, 10], Operations: []
Exploring Operation: 80-66=14, Resulting Numbers: [57, 10, 14]
Generated Node #2: [57, 10, 14] from Operation: 80-66=14
Current State: 83:[57, 10, 14], Operations: ['80-66=14']
Exploring Operation: 10*14=140, Resulting Numbers: [57, 140]
Generated Node #3: [57, 140] from Operation: 10*14=140
Current State: 83:[57, 140], Operations: ['80-66=14', '10*14=140']
Exploring Operation: 140-57=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[66, 80, 57, 10], Operations: []
Exploring Operation: 57+10=67, Resulting Numbers: [66, 80, 67]
Generated Node #0,0: 83:[66, 80, 67] Operation: 57+10=67
Exploring Operation: 66+10=76, Resulting Numbers: [80, 57, 76]
Generated Node #0,1: 83:[80, 57, 76] Operation: 66+10=76
Exploring Operation: 80+10=90, Resulting Numbers: [66, 57, 90]
Generated Node #0,2: 83:[66, 57, 90] Operation: 80+10=90
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[66, 80, 67], Operations: ['57+10=67']
Exploring Operation: 66+80=146, Resulting Numbers: [67, 146]
Generated Node #0,0,0: 83:[67, 146] Operation: 66+80=146
Exploring Operation: 66+67=133, Resulting Numbers: [80, 133]
Generated Node #0,0,1: 83:[80, 133] Operation: 66+67=133
Exploring Operation: 80+67=147, Resulting Numbers: [66, 147]
Generated Node #0,0,2: 83:[66, 147] Operation: 80+67=147
Moving to Node #0,0,1
Current State: 83:[80, 133], Operations: ['57+10=67', '66+67=133']
Exploring Operation: 80*133=10640, Resulting Numbers: [10640]
10640,83 unequal: No Solution
Exploring Operation: 80+133=213, Resulting Numbers: [213]
213,83 unequal: No Solution
Exploring Operation: 133-80=53, Resulting Numbers: [53]
53,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[67, 146], Operations: ['57+10=67', '66+80=146']
Exploring Operation: 67+146=213, Resulting Numbers: [213]
213,83 unequal: No Solution
Exploring Operation: 67*146=9782, Resulting Numbers: [9782]
9782,83 unequal: No Solution
Exploring Operation: 146-67=79, Resulting Numbers: [79]
79,83 unequal: No Solution
Moving to Node #0,0,2
Current State: 83:[66, 147], Operations: ['57+10=67', '80+67=147']
Exploring Operation: 147-66=81, Resulting Numbers: [81]
81,83 unequal: No Solution
Exploring Operation: 66*147=9702, Resulting Numbers: [9702]
9702,83 unequal: No Solution
Exploring Operation: 66+147=213, Resulting Numbers: [213]
213,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 83:[80, 57, 76], Operations: ['66+10=76']
Exploring Operation: 57+76=133, Resulting Numbers: [80, 133]
Generated Node #0,1,0: 83:[80, 133] Operation: 57+76=133
Exploring Operation: 80-57=23, Resulting Numbers: [76, 23]
Generated Node #0,1,1: 83:[76, 23] Operation: 80-57=23
Exploring Operation: 80+57=137, Resulting Numbers: [76, 137]
Generated Node #0,1,2: 83:[76, 137] Operation: 80+57=137
Moving to Node #0,1,0
Current State: 83:[80, 133], Operations: ['66+10=76', '57+76=133']
Exploring Operation: 133-80=53, Resulting Numbers: [53]
53,83 unequal: No Solution
Exploring Operation: 80+133=213, Resulting Numbers: [213]
213,83 unequal: No Solution
Exploring Operation: 80*133=10640, Resulting Numbers: [10640]
10640,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[76, 137], Operations: ['66+10=76', '80+57=137']
Exploring Operation: 76*137=10412, Resulting Numbers: [10412]
10412,83 unequal: No Solution
Exploring Operation: 137-76=61, Resulting Numbers: [61]
61,83 unequal: No Solution
Exploring Operation: 76+137=213, Resulting Numbers: [213]
213,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[76, 23], Operations: ['66+10=76', '80-57=23']
Exploring Operation: 76+23=99, Resulting Numbers: [99]
99,83 unequal: No Solution
Exploring Operation: 76-23=53, Resulting Numbers: [53]
53,83 unequal: No Solution
Exploring Operation: 76*23=1748, Resulting Numbers: [1748]
1748,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 83:[66, 57, 90], Operations: ['80+10=90']
Exploring Operation: 90-57=33, Resulting Numbers: [66, 33]
Generated Node #0,2,0: 83:[66, 33] Operation: 90-57=33
Exploring Operation: 66-57=9, Resulting Numbers: [90, 9]
Generated Node #0,2,1: 83:[90, 9] Operation: 66-57=9
Exploring Operation: 66+57=123, Resulting Numbers: [90, 123]
Generated Node #0,2,2: 83:[90, 123] Operation: 66+57=123
Moving to Node #0,2,2
Current State: 83:[90, 123], Operations: ['80+10=90', '66+57=123']
Exploring Operation: 123-90=33, Resulting Numbers: [33]
33,83 unequal: No Solution
Exploring Operation: 90+123=213, Resulting Numbers: [213]
213,83 unequal: No Solution
Exploring Operation: 90*123=11070, Resulting Numbers: [11070]
11070,83 unequal: No Solution
Moving to Node #0,2,0
Current State: 83:[66, 33], Operations: ['80+10=90', '90-57=33']
Exploring Operation: 66/33=2, Resulting Numbers: [2]
2,83 unequal: No Solution
Exploring Operation: 66+33=99, Resulting Numbers: [99]
99,83 unequal: No Solution
Exploring Operation: 66-33=33, Resulting Numbers: [33]
33,83 unequal: No Solution
Moving to Node #0,2,1
Current State: 83:[90, 9], Operations: ['80+10=90', '66-57=9']
Exploring Operation: 90+9=99, Resulting Numbers: [99]
99,83 unequal: No Solution
Exploring Operation: 90/9=10, Resulting Numbers: [10]
10,83 unequal: No Solution
Exploring Operation: 90-9=81, Resulting Numbers: [81]
81,83 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 |
[
76,
22,
83,
19
] | 53 | [
"76+83=159",
"22-19=3",
"159/3=53"
] | Current State: 53:[76, 22, 83, 19], Operations: []
Exploring Operation: 76+83=159, Resulting Numbers: [22, 19, 159]
Generated Node #2: [22, 19, 159] from Operation: 76+83=159
Current State: 53:[22, 19, 159], Operations: ['76+83=159']
Exploring Operation: 22-19=3, Resulting Numbers: [159, 3]
Generated Node #3: [159, 3] from Operation: 22-19=3
Current State: 53:[159, 3], Operations: ['76+83=159', '22-19=3']
Exploring Operation: 159/3=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[76, 22, 83, 19], Operations: []
Exploring Operation: 83-22=61, Resulting Numbers: [76, 19, 61]
Generated Node #0,0: 53:[76, 19, 61] Operation: 83-22=61
Exploring Operation: 76-19=57, Resulting Numbers: [22, 83, 57]
Generated Node #0,1: 53:[22, 83, 57] Operation: 76-19=57
Exploring Operation: 83-19=64, Resulting Numbers: [76, 22, 64]
Generated Node #0,2: 53:[76, 22, 64] Operation: 83-19=64
Exploring Operation: 22+19=41, Resulting Numbers: [76, 83, 41]
Generated Node #0,3: 53:[76, 83, 41] Operation: 22+19=41
Exploring Operation: 76-22=54, Resulting Numbers: [83, 19, 54]
Generated Node #0,4: 53:[83, 19, 54] Operation: 76-22=54
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[76, 19, 61], Operations: ['83-22=61']
Exploring Operation: 76-19=57, Resulting Numbers: [61, 57]
Generated Node #0,0,0: 53:[61, 57] Operation: 76-19=57
Exploring Operation: 19+61=80, Resulting Numbers: [76, 80]
Generated Node #0,0,1: 53:[76, 80] Operation: 19+61=80
Exploring Operation: 76+19=95, Resulting Numbers: [61, 95]
Generated Node #0,0,2: 53:[61, 95] Operation: 76+19=95
Exploring Operation: 76/19=4, Resulting Numbers: [61, 4]
Generated Node #0,0,3: 53:[61, 4] Operation: 76/19=4
Exploring Operation: 61-19=42, Resulting Numbers: [76, 42]
Generated Node #0,0,4: 53:[76, 42] Operation: 61-19=42
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 53:[61, 57], Operations: ['83-22=61', '76-19=57']
Exploring Operation: 61+57=118, Resulting Numbers: [118]
118,53 unequal: No Solution
Exploring Operation: 61*57=3477, Resulting Numbers: [3477]
3477,53 unequal: No Solution
Exploring Operation: 61-57=4, Resulting Numbers: [4]
4,53 unequal: No Solution
No 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: 53:[76, 42], Operations: ['83-22=61', '61-19=42']
Exploring Operation: 76-42=34, Resulting Numbers: [34]
34,53 unequal: No Solution
Exploring Operation: 76+42=118, Resulting Numbers: [118]
118,53 unequal: No Solution
Exploring Operation: 76*42=3192, Resulting Numbers: [3192]
3192,53 unequal: No Solution
No 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: 53:[76, 80], Operations: ['83-22=61', '19+61=80']
Exploring Operation: 80-76=4, Resulting Numbers: [4]
4,53 unequal: No Solution
Exploring Operation: 76+80=156, Resulting Numbers: [156]
156,53 unequal: No Solution
Exploring Operation: 76*80=6080, Resulting Numbers: [6080]
6080,53 unequal: No Solution
No 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: 53:[61, 95], Operations: ['83-22=61', '76+19=95']
Exploring Operation: 61*95=5795, Resulting Numbers: [5795]
5795,53 unequal: No Solution
Exploring Operation: 61+95=156, Resulting Numbers: [156]
156,53 unequal: No Solution
Exploring Operation: 95-61=34, Resulting Numbers: [34]
34,53 unequal: No Solution
No 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: 53:[61, 4], Operations: ['83-22=61', '76/19=4']
Exploring Operation: 61*4=244, Resulting Numbers: [244]
244,53 unequal: No Solution
Exploring Operation: 61+4=65, Resulting Numbers: [65]
65,53 unequal: No Solution
Exploring Operation: 61-4=57, Resulting Numbers: [57]
57,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[22, 83, 57], Operations: ['76-19=57']
Exploring Operation: 83-22=61, Resulting Numbers: [57, 61]
Generated Node #0,1,0: 53:[57, 61] Operation: 83-22=61
Exploring Operation: 22+83=105, Resulting Numbers: [57, 105]
Generated Node #0,1,1: 53:[57, 105] Operation: 22+83=105
Exploring Operation: 57-22=35, Resulting Numbers: [83, 35]
Generated Node #0,1,2: 53:[83, 35] Operation: 57-22=35
Exploring Operation: 22+57=79, Resulting Numbers: [83, 79]
Generated Node #0,1,3: 53:[83, 79] Operation: 22+57=79
Exploring Operation: 83-57=26, Resulting Numbers: [22, 26]
Generated Node #0,1,4: 53:[22, 26] Operation: 83-57=26
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 53:[57, 61], Operations: ['76-19=57', '83-22=61']
Exploring Operation: 57*61=3477, Resulting Numbers: [3477]
3477,53 unequal: No Solution
Exploring Operation: 57+61=118, Resulting Numbers: [118]
118,53 unequal: No Solution
Exploring Operation: 61-57=4, Resulting Numbers: [4]
4,53 unequal: No Solution
No 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: 53:[83, 35], Operations: ['76-19=57', '57-22=35']
Exploring Operation: 83-35=48, Resulting Numbers: [48]
48,53 unequal: No Solution
Exploring Operation: 83*35=2905, Resulting Numbers: [2905]
2905,53 unequal: No Solution
Exploring Operation: 83+35=118, Resulting Numbers: [118]
118,53 unequal: No Solution
No 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: 53:[57, 105], Operations: ['76-19=57', '22+83=105']
Exploring Operation: 105-57=48, Resulting Numbers: [48]
48,53 unequal: No Solution
Exploring Operation: 57*105=5985, Resulting Numbers: [5985]
5985,53 unequal: No Solution
Exploring Operation: 57+105=162, Resulting Numbers: [162]
162,53 unequal: No Solution
No 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: 53:[83, 79], Operations: ['76-19=57', '22+57=79']
Exploring Operation: 83-79=4, Resulting Numbers: [4]
4,53 unequal: No Solution
Exploring Operation: 83+79=162, Resulting Numbers: [162]
162,53 unequal: No Solution
Exploring Operation: 83*79=6557, Resulting Numbers: [6557]
6557,53 unequal: No Solution
No 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: 53:[22, 26], Operations: ['76-19=57', '83-57=26']
Exploring Operation: 22*26=572, Resulting Numbers: [572]
572,53 unequal: No Solution
Exploring Operation: 22+26=48, Resulting Numbers: [48]
48,53 unequal: No Solution
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 53:[76, 22, 64], Operations: ['83-19=64']
Exploring Operation: 76+22=98, Resulting Numbers: [64, 98]
Generated Node #0,2,0: 53:[64, 98] Operation: 76+22=98
Exploring Operation: 76-22=54, Resulting Numbers: [64, 54]
Generated Node #0,2,1: 53:[64, 54] Operation: 76-22=54
Exploring Operation: 64-22=42, Resulting Numbers: [76, 42]
Generated Node #0,2,2: 53:[76, 42] Operation: 64-22=42
Exploring Operation: 76-64=12, Resulting Numbers: [22, 12]
Generated Node #0,2,3: 53:[22, 12] Operation: 76-64=12
Exploring Operation: 22+64=86, Resulting Numbers: [76, 86]
Generated Node #0,2,4: 53:[76, 86] Operation: 22+64=86
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 53:[64, 54], Operations: ['83-19=64', '76-22=54']
Exploring Operation: 64*54=3456, Resulting Numbers: [3456]
3456,53 unequal: No Solution
Exploring Operation: 64-54=10, Resulting Numbers: [10]
10,53 unequal: No Solution
Exploring Operation: 64+54=118, Resulting Numbers: [118]
118,53 unequal: No Solution
No 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: 53:[76, 42], Operations: ['83-19=64', '64-22=42']
Exploring Operation: 76*42=3192, Resulting Numbers: [3192]
3192,53 unequal: No Solution
Exploring Operation: 76+42=118, Resulting Numbers: [118]
118,53 unequal: No Solution
Exploring Operation: 76-42=34, Resulting Numbers: [34]
34,53 unequal: No Solution
No 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: 53:[64, 98], Operations: ['83-19=64', '76+22=98']
Exploring Operation: 64+98=162, Resulting Numbers: [162]
162,53 unequal: No Solution
Exploring Operation: 98-64=34, Resulting Numbers: [34]
34,53 unequal: No Solution
Exploring Operation: 64*98=6272, Resulting Numbers: [6272]
6272,53 unequal: No Solution
No 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: 53:[76, 86], Operations: ['83-19=64', '22+64=86']
Exploring Operation: 86-76=10, Resulting Numbers: [10]
10,53 unequal: No Solution
Exploring Operation: 76*86=6536, Resulting Numbers: [6536]
6536,53 unequal: No Solution
Exploring Operation: 76+86=162, Resulting Numbers: [162]
162,53 unequal: No Solution
No 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: 53:[22, 12], Operations: ['83-19=64', '76-64=12']
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,53 unequal: No Solution
Exploring Operation: 22+12=34, Resulting Numbers: [34]
34,53 unequal: No Solution
Exploring Operation: 22*12=264, Resulting Numbers: [264]
264,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 53:[76, 83, 41], Operations: ['22+19=41']
Exploring Operation: 76+41=117, Resulting Numbers: [83, 117]
Generated Node #0,3,0: 53:[83, 117] Operation: 76+41=117
Exploring Operation: 83-76=7, Resulting Numbers: [41, 7]
Generated Node #0,3,1: 53:[41, 7] Operation: 83-76=7
Exploring Operation: 83-41=42, Resulting Numbers: [76, 42]
Generated Node #0,3,2: 53:[76, 42] Operation: 83-41=42
Exploring Operation: 83+41=124, Resulting Numbers: [76, 124]
Generated Node #0,3,3: 53:[76, 124] Operation: 83+41=124
Exploring Operation: 76-41=35, Resulting Numbers: [83, 35]
Generated Node #0,3,4: 53:[83, 35] Operation: 76-41=35
Moving to Node #0,3,2
Current State: 53:[76, 42], Operations: ['22+19=41', '83-41=42']
Exploring Operation: 76-42=34, Resulting Numbers: [34]
34,53 unequal: No Solution
Exploring Operation: 76*42=3192, Resulting Numbers: [3192]
3192,53 unequal: No Solution
Exploring Operation: 76+42=118, Resulting Numbers: [118]
118,53 unequal: No Solution
Moving to Node #0,3,4
Current State: 53:[83, 35], Operations: ['22+19=41', '76-41=35']
Exploring Operation: 83*35=2905, Resulting Numbers: [2905]
2905,53 unequal: No Solution
Exploring Operation: 83+35=118, Resulting Numbers: [118]
118,53 unequal: No Solution
Exploring Operation: 83-35=48, Resulting Numbers: [48]
48,53 unequal: No Solution
Moving to Node #0,3,1
Current State: 53:[41, 7], Operations: ['22+19=41', '83-76=7']
Exploring Operation: 41+7=48, Resulting Numbers: [48]
48,53 unequal: No Solution
Exploring Operation: 41-7=34, Resulting Numbers: [34]
34,53 unequal: No Solution
Exploring Operation: 41*7=287, Resulting Numbers: [287]
287,53 unequal: No Solution
Moving to Node #0,3,0
Current State: 53:[83, 117], Operations: ['22+19=41', '76+41=117']
Exploring Operation: 83*117=9711, Resulting Numbers: [9711]
9711,53 unequal: No Solution
Exploring Operation: 117-83=34, Resulting Numbers: [34]
34,53 unequal: No Solution
Exploring Operation: 83+117=200, Resulting Numbers: [200]
200,53 unequal: No Solution
Moving to Node #0,3,3
Current State: 53:[76, 124], Operations: ['22+19=41', '83+41=124']
Exploring Operation: 124-76=48, Resulting Numbers: [48]
48,53 unequal: No Solution
Exploring Operation: 76+124=200, Resulting Numbers: [200]
200,53 unequal: No Solution
Exploring Operation: 76*124=9424, Resulting Numbers: [9424]
9424,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 53:[83, 19, 54], Operations: ['76-22=54']
Exploring Operation: 54-19=35, Resulting Numbers: [83, 35]
Generated Node #0,4,0: 53:[83, 35] Operation: 54-19=35
Exploring Operation: 19+54=73, Resulting Numbers: [83, 73]
Generated Node #0,4,1: 53:[83, 73] Operation: 19+54=73
Exploring Operation: 83-19=64, Resulting Numbers: [54, 64]
Generated Node #0,4,2: 53:[54, 64] Operation: 83-19=64
Exploring Operation: 83-54=29, Resulting Numbers: [19, 29]
Generated Node #0,4,3: 53:[19, 29] Operation: 83-54=29
Exploring Operation: 83+19=102, Resulting Numbers: [54, 102]
Generated Node #0,4,4: 53:[54, 102] Operation: 83+19=102
Moving to Node #0,4,2
Current State: 53:[54, 64], Operations: ['76-22=54', '83-19=64']
Exploring Operation: 54+64=118, Resulting Numbers: [118]
118,53 unequal: No Solution
Exploring Operation: 54*64=3456, Resulting Numbers: [3456]
3456,53 unequal: No Solution
Exploring Operation: 64-54=10, Resulting Numbers: [10]
10,53 unequal: No Solution
Moving to Node #0,4,0
Current State: 53:[83, 35], Operations: ['76-22=54', '54-19=35']
Exploring Operation: 83*35=2905, Resulting Numbers: [2905]
2905,53 unequal: No Solution
Exploring Operation: 83-35=48, Resulting Numbers: [48]
48,53 unequal: No Solution
Exploring Operation: 83+35=118, Resulting Numbers: [118]
118,53 unequal: No Solution
Moving to Node #0,4,1
Current State: 53:[83, 73], Operations: ['76-22=54', '19+54=73']
Exploring Operation: 83-73=10, Resulting Numbers: [10]
10,53 unequal: No Solution
Exploring Operation: 83*73=6059, Resulting Numbers: [6059]
6059,53 unequal: No Solution
Exploring Operation: 83+73=156, Resulting Numbers: [156]
156,53 unequal: No Solution
Moving to Node #0,4,4
Current State: 53:[54, 102], Operations: ['76-22=54', '83+19=102']
Exploring Operation: 54*102=5508, Resulting Numbers: [5508]
5508,53 unequal: No Solution
Exploring Operation: 54+102=156, Resulting Numbers: [156]
156,53 unequal: No Solution
Exploring Operation: 102-54=48, Resulting Numbers: [48]
48,53 unequal: No Solution
Moving to Node #0,4,3
Current State: 53:[19, 29], Operations: ['76-22=54', '83-54=29']
Exploring Operation: 19+29=48, Resulting Numbers: [48]
48,53 unequal: No Solution
Exploring Operation: 29-19=10, Resulting Numbers: [10]
10,53 unequal: No Solution
Exploring Operation: 19*29=551, Resulting Numbers: [551]
551,53 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 |
[
4,
79,
41,
9
] | 33 | [
"4+79=83",
"41+9=50",
"83-50=33"
] | Current State: 33:[4, 79, 41, 9], Operations: []
Exploring Operation: 4+79=83, Resulting Numbers: [41, 9, 83]
Generated Node #2: [41, 9, 83] from Operation: 4+79=83
Current State: 33:[41, 9, 83], Operations: ['4+79=83']
Exploring Operation: 41+9=50, Resulting Numbers: [83, 50]
Generated Node #3: [83, 50] from Operation: 41+9=50
Current State: 33:[83, 50], Operations: ['4+79=83', '41+9=50']
Exploring Operation: 83-50=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[4, 79, 41, 9], Operations: []
Exploring Operation: 79-9=70, Resulting Numbers: [4, 41, 70]
Generated Node #0,0: 33:[4, 41, 70] Operation: 79-9=70
Exploring Operation: 41-9=32, Resulting Numbers: [4, 79, 32]
Generated Node #0,1: 33:[4, 79, 32] Operation: 41-9=32
Exploring Operation: 79-41=38, Resulting Numbers: [4, 9, 38]
Generated Node #0,2: 33:[4, 9, 38] Operation: 79-41=38
Exploring Operation: 79-4=75, Resulting Numbers: [41, 9, 75]
Generated Node #0,3: 33:[41, 9, 75] Operation: 79-4=75
Start Sub Search at level 1: Moving to Node #0,2
Current State: 33:[4, 9, 38], Operations: ['79-41=38']
Exploring Operation: 4+9=13, Resulting Numbers: [38, 13]
Generated Node #0,2,0: 33:[38, 13] Operation: 4+9=13
Exploring Operation: 9-4=5, Resulting Numbers: [38, 5]
Generated Node #0,2,1: 33:[38, 5] Operation: 9-4=5
Exploring Operation: 38-9=29, Resulting Numbers: [4, 29]
Generated Node #0,2,2: 33:[4, 29] Operation: 38-9=29
Exploring Operation: 38-4=34, Resulting Numbers: [9, 34]
Generated Node #0,2,3: 33:[9, 34] Operation: 38-4=34
Moving to Node #0,2,3
Current State: 33:[9, 34], Operations: ['79-41=38', '38-4=34']
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,33 unequal: No Solution
Exploring Operation: 9+34=43, Resulting Numbers: [43]
43,33 unequal: No Solution
Exploring Operation: 9*34=306, Resulting Numbers: [306]
306,33 unequal: No Solution
Moving to Node #0,2,2
Current State: 33:[4, 29], Operations: ['79-41=38', '38-9=29']
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,33 unequal: No Solution
Exploring Operation: 4*29=116, Resulting Numbers: [116]
116,33 unequal: No Solution
Exploring Operation: 4+29=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[4, 79, 41, 9], Operations: []
Exploring Operation: 79-41=38, Resulting Numbers: [4, 9, 38]
Generated Node #0,2: 33:[4, 9, 38] Operation: 79-41=38
Moving to Node #0,2
Current State: 33:[4, 9, 38], Operations: ['79-41=38']
Exploring Operation: 38-9=29, Resulting Numbers: [4, 29]
Generated Node #0,2,2: 33:[4, 29] Operation: 38-9=29
Moving to Node #0,2,2
Current State: 33:[4, 29], Operations: ['79-41=38', '38-9=29']
Exploring Operation: 4+29=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
14,
2,
74,
74
] | 97 | [
"74-14=60",
"74/2=37",
"60+37=97"
] | Current State: 97:[14, 2, 74, 74], Operations: []
Exploring Operation: 74-14=60, Resulting Numbers: [2, 60]
Generated Node #2: [2, 60] from Operation: 74-14=60
Current State: 97:[2, 60], Operations: ['74-14=60']
Exploring Operation: 74/2=37, Resulting Numbers: [60, 37]
Generated Node #3: [60, 37] from Operation: 74/2=37
Current State: 97:[60, 37], Operations: ['74-14=60', '74/2=37']
Exploring Operation: 60+37=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[14, 2, 74, 74], Operations: []
Exploring Operation: 14*2=28, Resulting Numbers: [74, 74, 28]
Generated Node #0,0: 97:[74, 74, 28] Operation: 14*2=28
Exploring Operation: 14+74=88, Resulting Numbers: [2, 74, 88]
Generated Node #0,1: 97:[2, 74, 88] Operation: 14+74=88
Exploring Operation: 14+2=16, Resulting Numbers: [74, 74, 16]
Generated Node #0,2: 97:[74, 74, 16] Operation: 14+2=16
Exploring Operation: 14+74=88, Resulting Numbers: [2, 74, 88]
Generated Node #0,3: 97:[2, 74, 88] Operation: 14+74=88
Moving to Node #0,0
Current State: 97:[74, 74, 28], Operations: ['14*2=28']
Exploring Operation: 74+28=102, Resulting Numbers: [74, 102]
Generated Node #0,0,0: 97:[74, 102] Operation: 74+28=102
Exploring Operation: 74-28=46, Resulting Numbers: [74, 46]
Generated Node #0,0,1: 97:[74, 46] Operation: 74-28=46
Exploring Operation: 74-28=46, Resulting Numbers: [74, 46]
Generated Node #0,0,2: 97:[74, 46] Operation: 74-28=46
Exploring Operation: 74+28=102, Resulting Numbers: [74, 102]
Generated Node #0,0,3: 97:[74, 102] Operation: 74+28=102
Moving to Node #0,2
Current State: 97:[74, 74, 16], Operations: ['14+2=16']
Exploring Operation: 74+16=90, Resulting Numbers: [74, 90]
Generated Node #0,2,0: 97:[74, 90] Operation: 74+16=90
Exploring Operation: 74+16=90, Resulting Numbers: [74, 90]
Generated Node #0,2,1: 97:[74, 90] Operation: 74+16=90
Exploring Operation: 74-16=58, Resulting Numbers: [74, 58]
Generated Node #0,2,2: 97:[74, 58] Operation: 74-16=58
Exploring Operation: 74-16=58, Resulting Numbers: [74, 58]
Generated Node #0,2,3: 97:[74, 58] Operation: 74-16=58
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 97:[74, 90], Operations: ['14+2=16', '74+16=90']
Exploring Operation: 74+90=164, Resulting Numbers: [164]
164,97 unequal: No Solution
Exploring Operation: 74*90=6660, Resulting Numbers: [6660]
6660,97 unequal: No Solution
Exploring Operation: 90-74=16, Resulting Numbers: [16]
16,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 97:[74, 90], Operations: ['14+2=16', '74+16=90']
Exploring Operation: 74*90=6660, Resulting Numbers: [6660]
6660,97 unequal: No Solution
Exploring Operation: 90-74=16, Resulting Numbers: [16]
16,97 unequal: No Solution
Exploring Operation: 74+90=164, Resulting Numbers: [164]
164,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 97:[74, 58], Operations: ['14+2=16', '74-16=58']
Exploring Operation: 74-58=16, Resulting Numbers: [16]
16,97 unequal: No Solution
Exploring Operation: 74+58=132, Resulting Numbers: [132]
132,97 unequal: No Solution
Exploring Operation: 74*58=4292, Resulting Numbers: [4292]
4292,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 97:[74, 58], Operations: ['14+2=16', '74-16=58']
Exploring Operation: 74+58=132, Resulting Numbers: [132]
132,97 unequal: No Solution
Exploring Operation: 74-58=16, Resulting Numbers: [16]
16,97 unequal: No Solution
Exploring Operation: 74*58=4292, Resulting Numbers: [4292]
4292,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 97:[2, 74, 88], Operations: ['14+74=88']
Exploring Operation: 74-2=72, Resulting Numbers: [88, 72]
Generated Node #0,1,0: 97:[88, 72] Operation: 74-2=72
Exploring Operation: 88-2=86, Resulting Numbers: [74, 86]
Generated Node #0,1,1: 97:[74, 86] Operation: 88-2=86
Exploring Operation: 2+74=76, Resulting Numbers: [88, 76]
Generated Node #0,1,2: 97:[88, 76] Operation: 2+74=76
Exploring Operation: 2+88=90, Resulting Numbers: [74, 90]
Generated Node #0,1,3: 97:[74, 90] Operation: 2+88=90
Moving to Node #0,3
Current State: 97:[2, 74, 88], Operations: ['14+74=88']
Exploring Operation: 2+74=76, Resulting Numbers: [88, 76]
Generated Node #0,3,0: 97:[88, 76] Operation: 2+74=76
Exploring Operation: 74-2=72, Resulting Numbers: [88, 72]
Generated Node #0,3,1: 97:[88, 72] Operation: 74-2=72
Exploring Operation: 2+88=90, Resulting Numbers: [74, 90]
Generated Node #0,3,2: 97:[74, 90] Operation: 2+88=90
Exploring Operation: 88-2=86, Resulting Numbers: [74, 86]
Generated Node #0,3,3: 97:[74, 86] Operation: 88-2=86
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 97:[88, 76], Operations: ['14+74=88', '2+74=76']
Exploring Operation: 88*76=6688, Resulting Numbers: [6688]
6688,97 unequal: No Solution
Exploring Operation: 88+76=164, Resulting Numbers: [164]
164,97 unequal: No Solution
Exploring Operation: 88-76=12, Resulting Numbers: [12]
12,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 97:[74, 90], Operations: ['14+74=88', '2+88=90']
Exploring Operation: 74+90=164, Resulting Numbers: [164]
164,97 unequal: No Solution
Exploring Operation: 74*90=6660, Resulting Numbers: [6660]
6660,97 unequal: No Solution
Exploring Operation: 90-74=16, Resulting Numbers: [16]
16,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 97:[88, 72], Operations: ['14+74=88', '74-2=72']
Exploring Operation: 88+72=160, Resulting Numbers: [160]
160,97 unequal: No Solution
Exploring Operation: 88*72=6336, Resulting Numbers: [6336]
6336,97 unequal: No Solution
Exploring Operation: 88-72=16, Resulting Numbers: [16]
16,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 97:[74, 86], Operations: ['14+74=88', '88-2=86']
Exploring Operation: 74+86=160, Resulting Numbers: [160]
160,97 unequal: No Solution
Exploring Operation: 86-74=12, Resulting Numbers: [12]
12,97 unequal: No Solution
Exploring Operation: 74*86=6364, Resulting Numbers: [6364]
6364,97 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: 97:[74, 102], Operations: ['14*2=28', '74+28=102']
Exploring Operation: 74+102=176, Resulting Numbers: [176]
176,97 unequal: No Solution
Exploring Operation: 102-74=28, Resulting Numbers: [28]
28,97 unequal: No Solution
Exploring Operation: 74*102=7548, Resulting Numbers: [7548]
7548,97 unequal: No Solution
Moving to Node #0,0,3
Current State: 97:[74, 102], Operations: ['14*2=28', '74+28=102']
Exploring Operation: 102-74=28, Resulting Numbers: [28]
28,97 unequal: No Solution
Exploring Operation: 74+102=176, Resulting Numbers: [176]
176,97 unequal: No Solution
Exploring Operation: 74*102=7548, Resulting Numbers: [7548]
7548,97 unequal: No Solution
Moving to Node #0,1,3
Current State: 97:[74, 90], Operations: ['14+74=88', '2+88=90']
Exploring Operation: 90-74=16, Resulting Numbers: [16]
16,97 unequal: No Solution
Exploring Operation: 74*90=6660, Resulting Numbers: [6660]
6660,97 unequal: No Solution
Exploring Operation: 74+90=164, Resulting Numbers: [164]
164,97 unequal: No Solution
Moving to Node #0,1,2
Current State: 97:[88, 76], Operations: ['14+74=88', '2+74=76']
Exploring Operation: 88-76=12, Resulting Numbers: [12]
12,97 unequal: No Solution
Exploring Operation: 88*76=6688, Resulting Numbers: [6688]
6688,97 unequal: No Solution
Exploring Operation: 88+76=164, Resulting Numbers: [164]
164,97 unequal: No Solution
Moving to Node #0,1,0
Current State: 97:[88, 72], Operations: ['14+74=88', '74-2=72']
Exploring Operation: 88+72=160, Resulting Numbers: [160]
160,97 unequal: No Solution
Exploring Operation: 88-72=16, Resulting Numbers: [16]
16,97 unequal: No Solution
Exploring Operation: 88*72=6336, Resulting Numbers: [6336]
6336,97 unequal: No Solution
Moving to Node #0,1,1
Current State: 97:[74, 86], Operations: ['14+74=88', '88-2=86']
Exploring Operation: 74+86=160, Resulting Numbers: [160]
160,97 unequal: No Solution
Exploring Operation: 74*86=6364, Resulting Numbers: [6364]
6364,97 unequal: No Solution
Exploring Operation: 86-74=12, Resulting Numbers: [12]
12,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[74, 46], Operations: ['14*2=28', '74-28=46']
Exploring Operation: 74-46=28, Resulting Numbers: [28]
28,97 unequal: No Solution
Exploring Operation: 74+46=120, Resulting Numbers: [120]
120,97 unequal: No Solution
Exploring Operation: 74*46=3404, Resulting Numbers: [3404]
3404,97 unequal: No Solution
Moving to Node #0,0,2
Current State: 97:[74, 46], Operations: ['14*2=28', '74-28=46']
Exploring Operation: 74+46=120, Resulting Numbers: [120]
120,97 unequal: No Solution
Exploring Operation: 74*46=3404, Resulting Numbers: [3404]
3404,97 unequal: No Solution
Exploring Operation: 74-46=28, Resulting Numbers: [28]
28,97 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
8,
44,
6,
53
] | 35 | [
"8-6=2",
"44*2=88",
"88-53=35"
] | Current State: 35:[8, 44, 6, 53], Operations: []
Exploring Operation: 8-6=2, Resulting Numbers: [44, 53, 2]
Generated Node #2: [44, 53, 2] from Operation: 8-6=2
Current State: 35:[44, 53, 2], Operations: ['8-6=2']
Exploring Operation: 44*2=88, Resulting Numbers: [53, 88]
Generated Node #3: [53, 88] from Operation: 44*2=88
Current State: 35:[53, 88], Operations: ['8-6=2', '44*2=88']
Exploring Operation: 88-53=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[8, 44, 6, 53], Operations: []
Exploring Operation: 53-6=47, Resulting Numbers: [8, 44, 47]
Generated Node #0,0: 35:[8, 44, 47] Operation: 53-6=47
Exploring Operation: 53-8=45, Resulting Numbers: [44, 6, 45]
Generated Node #0,1: 35:[44, 6, 45] Operation: 53-8=45
Exploring Operation: 44-6=38, Resulting Numbers: [8, 53, 38]
Generated Node #0,2: 35:[8, 53, 38] Operation: 44-6=38
Exploring Operation: 53-44=9, Resulting Numbers: [8, 6, 9]
Generated Node #0,3: 35:[8, 6, 9] Operation: 53-44=9
Exploring Operation: 44-8=36, Resulting Numbers: [6, 53, 36]
Generated Node #0,4: 35:[6, 53, 36] Operation: 44-8=36
Moving to Node #0,3
Current State: 35:[8, 6, 9], Operations: ['53-44=9']
Exploring Operation: 9-8=1, Resulting Numbers: [6, 1]
Generated Node #0,3,0: 35:[6, 1] Operation: 9-8=1
Exploring Operation: 9-6=3, Resulting Numbers: [8, 3]
Generated Node #0,3,1: 35:[8, 3] Operation: 9-6=3
Exploring Operation: 6+9=15, Resulting Numbers: [8, 15]
Generated Node #0,3,2: 35:[8, 15] Operation: 6+9=15
Exploring Operation: 8+6=14, Resulting Numbers: [9, 14]
Generated Node #0,3,3: 35:[9, 14] Operation: 8+6=14
Exploring Operation: 8-6=2, Resulting Numbers: [9, 2]
Generated Node #0,3,4: 35:[9, 2] Operation: 8-6=2
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 35:[8, 3], Operations: ['53-44=9', '9-6=3']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,35 unequal: No Solution
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 35:[6, 1], Operations: ['53-44=9', '9-8=1']
Exploring Operation: 6+1=7, Resulting Numbers: [7]
7,35 unequal: No Solution
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 35:[9, 2], Operations: ['53-44=9', '8-6=2']
Exploring Operation: 9+2=11, Resulting Numbers: [11]
11,35 unequal: No Solution
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,35 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 35:[8, 15], Operations: ['53-44=9', '6+9=15']
Exploring Operation: 8+15=23, Resulting Numbers: [23]
23,35 unequal: No Solution
Exploring Operation: 8*15=120, Resulting Numbers: [120]
120,35 unequal: No Solution
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 35:[9, 14], Operations: ['53-44=9', '8+6=14']
Exploring Operation: 9+14=23, Resulting Numbers: [23]
23,35 unequal: No Solution
Exploring Operation: 9*14=126, Resulting Numbers: [126]
126,35 unequal: No Solution
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 35:[6, 53, 36], Operations: ['44-8=36']
Exploring Operation: 53-6=47, Resulting Numbers: [36, 47]
Generated Node #0,4,0: 35:[36, 47] Operation: 53-6=47
Exploring Operation: 36-6=30, Resulting Numbers: [53, 30]
Generated Node #0,4,1: 35:[53, 30] Operation: 36-6=30
Exploring Operation: 6+53=59, Resulting Numbers: [36, 59]
Generated Node #0,4,2: 35:[36, 59] Operation: 6+53=59
Exploring Operation: 53-36=17, Resulting Numbers: [6, 17]
Generated Node #0,4,3: 35:[6, 17] Operation: 53-36=17
Exploring Operation: 36/6=6, Resulting Numbers: [53, 6]
Generated Node #0,4,4: 35:[53, 6] Operation: 36/6=6
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 35:[6, 17], Operations: ['44-8=36', '53-36=17']
Exploring Operation: 6*17=102, Resulting Numbers: [102]
102,35 unequal: No Solution
Exploring Operation: 6+17=23, Resulting Numbers: [23]
23,35 unequal: No Solution
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 35:[36, 47], Operations: ['44-8=36', '53-6=47']
Exploring Operation: 36+47=83, Resulting Numbers: [83]
83,35 unequal: No Solution
Exploring Operation: 36*47=1692, Resulting Numbers: [1692]
1692,35 unequal: No Solution
Exploring Operation: 47-36=11, Resulting Numbers: [11]
11,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 35:[53, 6], Operations: ['44-8=36', '36/6=6']
Exploring Operation: 53*6=318, Resulting Numbers: [318]
318,35 unequal: No Solution
Exploring Operation: 53+6=59, Resulting Numbers: [59]
59,35 unequal: No Solution
Exploring Operation: 53-6=47, Resulting Numbers: [47]
47,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 35:[53, 30], Operations: ['44-8=36', '36-6=30']
Exploring Operation: 53+30=83, Resulting Numbers: [83]
83,35 unequal: No Solution
Exploring Operation: 53-30=23, Resulting Numbers: [23]
23,35 unequal: No Solution
Exploring Operation: 53*30=1590, Resulting Numbers: [1590]
1590,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 35:[36, 59], Operations: ['44-8=36', '6+53=59']
Exploring Operation: 36+59=95, Resulting Numbers: [95]
95,35 unequal: No Solution
Exploring Operation: 59-36=23, Resulting Numbers: [23]
23,35 unequal: No Solution
Exploring Operation: 36*59=2124, Resulting Numbers: [2124]
2124,35 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: 35:[44, 6, 45], Operations: ['53-8=45']
Exploring Operation: 45-6=39, Resulting Numbers: [44, 39]
Generated Node #0,1,0: 35:[44, 39] Operation: 45-6=39
Exploring Operation: 45-44=1, Resulting Numbers: [6, 1]
Generated Node #0,1,1: 35:[6, 1] Operation: 45-44=1
Exploring Operation: 6+45=51, Resulting Numbers: [44, 51]
Generated Node #0,1,2: 35:[44, 51] Operation: 6+45=51
Exploring Operation: 44-6=38, Resulting Numbers: [45, 38]
Generated Node #0,1,3: 35:[45, 38] Operation: 44-6=38
Exploring Operation: 44+6=50, Resulting Numbers: [45, 50]
Generated Node #0,1,4: 35:[45, 50] Operation: 44+6=50
Moving to Node #0,0
Current State: 35:[8, 44, 47], Operations: ['53-6=47']
Exploring Operation: 44-8=36, Resulting Numbers: [47, 36]
Generated Node #0,0,0: 35:[47, 36] Operation: 44-8=36
Exploring Operation: 8+44=52, Resulting Numbers: [47, 52]
Generated Node #0,0,1: 35:[47, 52] Operation: 8+44=52
Exploring Operation: 8+47=55, Resulting Numbers: [44, 55]
Generated Node #0,0,2: 35:[44, 55] Operation: 8+47=55
Exploring Operation: 47-8=39, Resulting Numbers: [44, 39]
Generated Node #0,0,3: 35:[44, 39] Operation: 47-8=39
Exploring Operation: 47-44=3, Resulting Numbers: [8, 3]
Generated Node #0,0,4: 35:[8, 3] Operation: 47-44=3
Moving to Node #0,2
Current State: 35:[8, 53, 38], Operations: ['44-6=38']
Exploring Operation: 8+38=46, Resulting Numbers: [53, 46]
Generated Node #0,2,0: 35:[53, 46] Operation: 8+38=46
Exploring Operation: 8+53=61, Resulting Numbers: [38, 61]
Generated Node #0,2,1: 35:[38, 61] Operation: 8+53=61
Exploring Operation: 53-8=45, Resulting Numbers: [38, 45]
Generated Node #0,2,2: 35:[38, 45] Operation: 53-8=45
Exploring Operation: 38-8=30, Resulting Numbers: [53, 30]
Generated Node #0,2,3: 35:[53, 30] Operation: 38-8=30
Exploring Operation: 53-38=15, Resulting Numbers: [8, 15]
Generated Node #0,2,4: 35:[8, 15] Operation: 53-38=15
Moving to Node #0,0,4
Current State: 35:[8, 3], Operations: ['53-6=47', '47-44=3']
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,35 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,35 unequal: No Solution
Moving to Node #0,1,1
Current State: 35:[6, 1], Operations: ['53-8=45', '45-44=1']
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,35 unequal: No Solution
Exploring Operation: 6+1=7, Resulting Numbers: [7]
7,35 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Moving to Node #0,2,4
Current State: 35:[8, 15], Operations: ['44-6=38', '53-38=15']
Exploring Operation: 8*15=120, Resulting Numbers: [120]
120,35 unequal: No Solution
Exploring Operation: 8+15=23, Resulting Numbers: [23]
23,35 unequal: No Solution
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,35 unequal: No Solution
Moving to Node #0,0,0
Current State: 35:[47, 36], Operations: ['53-6=47', '44-8=36']
Exploring Operation: 47*36=1692, Resulting Numbers: [1692]
1692,35 unequal: No Solution
Exploring Operation: 47+36=83, Resulting Numbers: [83]
83,35 unequal: No Solution
Exploring Operation: 47-36=11, Resulting Numbers: [11]
11,35 unequal: No Solution
Moving to Node #0,1,3
Current State: 35:[45, 38], Operations: ['53-8=45', '44-6=38']
Exploring Operation: 45-38=7, Resulting Numbers: [7]
7,35 unequal: No Solution
Exploring Operation: 45*38=1710, Resulting Numbers: [1710]
1710,35 unequal: No Solution
Exploring Operation: 45+38=83, Resulting Numbers: [83]
83,35 unequal: No Solution
Moving to Node #0,2,2
Current State: 35:[38, 45], Operations: ['44-6=38', '53-8=45']
Exploring Operation: 45-38=7, Resulting Numbers: [7]
7,35 unequal: No Solution
Exploring Operation: 38*45=1710, Resulting Numbers: [1710]
1710,35 unequal: No Solution
Exploring Operation: 38+45=83, Resulting Numbers: [83]
83,35 unequal: No Solution
Moving to Node #0,1,0
Current State: 35:[44, 39], Operations: ['53-8=45', '45-6=39']
Exploring Operation: 44-39=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Exploring Operation: 44+39=83, Resulting Numbers: [83]
83,35 unequal: No Solution
Exploring Operation: 44*39=1716, Resulting Numbers: [1716]
1716,35 unequal: No Solution
Moving to Node #0,0,3
Current State: 35:[44, 39], Operations: ['53-6=47', '47-8=39']
Exploring Operation: 44+39=83, Resulting Numbers: [83]
83,35 unequal: No Solution
Exploring Operation: 44-39=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Exploring Operation: 44*39=1716, Resulting Numbers: [1716]
1716,35 unequal: No Solution
Moving to Node #0,2,3
Current State: 35:[53, 30], Operations: ['44-6=38', '38-8=30']
Exploring Operation: 53-30=23, Resulting Numbers: [23]
23,35 unequal: No Solution
Exploring Operation: 53*30=1590, Resulting Numbers: [1590]
1590,35 unequal: No Solution
Exploring Operation: 53+30=83, Resulting Numbers: [83]
83,35 unequal: No Solution
Moving to Node #0,1,4
Current State: 35:[45, 50], Operations: ['53-8=45', '44+6=50']
Exploring Operation: 50-45=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Exploring Operation: 45+50=95, Resulting Numbers: [95]
95,35 unequal: No Solution
Exploring Operation: 45*50=2250, Resulting Numbers: [2250]
2250,35 unequal: No Solution
Moving to Node #0,1,2
Current State: 35:[44, 51], Operations: ['53-8=45', '6+45=51']
Exploring Operation: 51-44=7, Resulting Numbers: [7]
7,35 unequal: No Solution
Exploring Operation: 44*51=2244, Resulting Numbers: [2244]
2244,35 unequal: No Solution
Exploring Operation: 44+51=95, Resulting Numbers: [95]
95,35 unequal: No Solution
Moving to Node #0,2,0
Current State: 35:[53, 46], Operations: ['44-6=38', '8+38=46']
Exploring Operation: 53*46=2438, Resulting Numbers: [2438]
2438,35 unequal: No Solution
Exploring Operation: 53+46=99, Resulting Numbers: [99]
99,35 unequal: No Solution
Exploring Operation: 53-46=7, Resulting Numbers: [7]
7,35 unequal: No Solution
Moving to Node #0,2,1
Current State: 35:[38, 61], Operations: ['44-6=38', '8+53=61']
Exploring Operation: 38*61=2318, Resulting Numbers: [2318]
2318,35 unequal: No Solution
Exploring Operation: 38+61=99, Resulting Numbers: [99]
99,35 unequal: No Solution
Exploring Operation: 61-38=23, Resulting Numbers: [23]
23,35 unequal: No Solution
Moving to Node #0,0,1
Current State: 35:[47, 52], Operations: ['53-6=47', '8+44=52']
Exploring Operation: 52-47=5, Resulting Numbers: [5]
5,35 unequal: No Solution
Exploring Operation: 47*52=2444, Resulting Numbers: [2444]
2444,35 unequal: No Solution
Exploring Operation: 47+52=99, Resulting Numbers: [99]
99,35 unequal: No Solution
Moving to Node #0,0,2
Current State: 35:[44, 55], Operations: ['53-6=47', '8+47=55']
Exploring Operation: 55-44=11, Resulting Numbers: [11]
11,35 unequal: No Solution
Exploring Operation: 44*55=2420, Resulting Numbers: [2420]
2420,35 unequal: No Solution
Exploring Operation: 44+55=99, Resulting Numbers: [99]
99,35 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
35,
59,
73,
3
] | 69 | [
"35+73=108",
"59*3=177",
"177-108=69"
] | Current State: 69:[35, 59, 73, 3], Operations: []
Exploring Operation: 35+73=108, Resulting Numbers: [59, 3, 108]
Generated Node #2: [59, 3, 108] from Operation: 35+73=108
Current State: 69:[59, 3, 108], Operations: ['35+73=108']
Exploring Operation: 59*3=177, Resulting Numbers: [108, 177]
Generated Node #3: [108, 177] from Operation: 59*3=177
Current State: 69:[108, 177], Operations: ['35+73=108', '59*3=177']
Exploring Operation: 177-108=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[35, 59, 73, 3], Operations: []
Exploring Operation: 73-59=14, Resulting Numbers: [35, 3, 14]
Generated Node #0,0: 69:[35, 3, 14] Operation: 73-59=14
Exploring Operation: 59-35=24, Resulting Numbers: [73, 3, 24]
Generated Node #0,1: 69:[73, 3, 24] Operation: 59-35=24
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[73, 3, 24], Operations: ['59-35=24']
Exploring Operation: 73-3=70, Resulting Numbers: [24, 70]
Generated Node #0,1,0: 69:[24, 70] Operation: 73-3=70
Exploring Operation: 24-3=21, Resulting Numbers: [73, 21]
Generated Node #0,1,1: 69:[73, 21] Operation: 24-3=21
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 69:[24, 70], Operations: ['59-35=24', '73-3=70']
Exploring Operation: 24+70=94, Resulting Numbers: [94]
94,69 unequal: No Solution
Exploring Operation: 70-24=46, Resulting Numbers: [46]
46,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 69:[73, 21], Operations: ['59-35=24', '24-3=21']
Exploring Operation: 73-21=52, Resulting Numbers: [52]
52,69 unequal: No Solution
Exploring Operation: 73+21=94, Resulting Numbers: [94]
94,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[35, 3, 14], Operations: ['73-59=14']
Exploring Operation: 35-14=21, Resulting Numbers: [3, 21]
Generated Node #0,0,0: 69:[3, 21] Operation: 35-14=21
Exploring Operation: 35-3=32, Resulting Numbers: [14, 32]
Generated Node #0,0,1: 69:[14, 32] Operation: 35-3=32
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 69:[3, 21], Operations: ['73-59=14', '35-14=21']
Exploring Operation: 3+21=24, Resulting Numbers: [24]
24,69 unequal: No Solution
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 69:[14, 32], Operations: ['73-59=14', '35-3=32']
Exploring Operation: 32-14=18, Resulting Numbers: [18]
18,69 unequal: No Solution
Exploring Operation: 14+32=46, Resulting Numbers: [46]
46,69 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
74,
40,
31,
30
] | 34 | [
"74-40=34",
"31-30=1",
"34*1=34"
] | Current State: 34:[74, 40, 31, 30], Operations: []
Exploring Operation: 74-40=34, Resulting Numbers: [31, 30, 34]
Generated Node #2: [31, 30, 34] from Operation: 74-40=34
Current State: 34:[31, 30, 34], Operations: ['74-40=34']
Exploring Operation: 31-30=1, Resulting Numbers: [34, 1]
Generated Node #3: [34, 1] from Operation: 31-30=1
Current State: 34:[34, 1], Operations: ['74-40=34', '31-30=1']
Exploring Operation: 34*1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[74, 40, 31, 30], Operations: []
Exploring Operation: 74-31=43, Resulting Numbers: [40, 30, 43]
Generated Node #0,0: 34:[40, 30, 43] Operation: 74-31=43
Exploring Operation: 74-40=34, Resulting Numbers: [31, 30, 34]
Generated Node #0,1: 34:[31, 30, 34] Operation: 74-40=34
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[31, 30, 34], Operations: ['74-40=34']
Exploring Operation: 34-31=3, Resulting Numbers: [30, 3]
Generated Node #0,1,0: 34:[30, 3] Operation: 34-31=3
Exploring Operation: 31-30=1, Resulting Numbers: [34, 1]
Generated Node #0,1,1: 34:[34, 1] Operation: 31-30=1
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 34:[34, 1], Operations: ['74-40=34', '31-30=1']
Exploring Operation: 34/1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[74, 40, 31, 30], Operations: []
Exploring Operation: 74-40=34, Resulting Numbers: [31, 30, 34]
Generated Node #0,1: 34:[31, 30, 34] Operation: 74-40=34
Moving to Node #0,1
Current State: 34:[31, 30, 34], Operations: ['74-40=34']
Exploring Operation: 31-30=1, Resulting Numbers: [34, 1]
Generated Node #0,1,1: 34:[34, 1] Operation: 31-30=1
Moving to Node #0,1,1
Current State: 34:[34, 1], Operations: ['74-40=34', '31-30=1']
Exploring Operation: 34/1=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
70,
98,
94,
35
] | 96 | [
"70/35=2",
"98+94=192",
"192/2=96"
] | Current State: 96:[70, 98, 94, 35], Operations: []
Exploring Operation: 70/35=2, Resulting Numbers: [98, 94, 2]
Generated Node #2: [98, 94, 2] from Operation: 70/35=2
Current State: 96:[98, 94, 2], Operations: ['70/35=2']
Exploring Operation: 98+94=192, Resulting Numbers: [2, 192]
Generated Node #3: [2, 192] from Operation: 98+94=192
Current State: 96:[2, 192], Operations: ['70/35=2', '98+94=192']
Exploring Operation: 192/2=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[70, 98, 94, 35], Operations: []
Exploring Operation: 70/35=2, Resulting Numbers: [98, 94, 2]
Generated Node #0,0: 96:[98, 94, 2] Operation: 70/35=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[98, 94, 2], Operations: ['70/35=2']
Exploring Operation: 98-94=4, Resulting Numbers: [2, 4]
Generated Node #0,0,0: 96:[2, 4] Operation: 98-94=4
Moving to Node #0,0,0
Current State: 96:[2, 4], Operations: ['70/35=2', '98-94=4']
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,96 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 |
[
58,
31,
3,
46
] | 22 | [
"58-31=27",
"3+46=49",
"49-27=22"
] | Current State: 22:[58, 31, 3, 46], Operations: []
Exploring Operation: 58-31=27, Resulting Numbers: [3, 46, 27]
Generated Node #2: [3, 46, 27] from Operation: 58-31=27
Current State: 22:[3, 46, 27], Operations: ['58-31=27']
Exploring Operation: 3+46=49, Resulting Numbers: [27, 49]
Generated Node #3: [27, 49] from Operation: 3+46=49
Current State: 22:[27, 49], Operations: ['58-31=27', '3+46=49']
Exploring Operation: 49-27=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[58, 31, 3, 46], Operations: []
Exploring Operation: 58-46=12, Resulting Numbers: [31, 3, 12]
Generated Node #0,0: 22:[31, 3, 12] Operation: 58-46=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[31, 3, 12], Operations: ['58-46=12']
Exploring Operation: 31-12=19, Resulting Numbers: [3, 19]
Generated Node #0,0,0: 22:[3, 19] Operation: 31-12=19
Moving to Node #0,0,0
Current State: 22:[3, 19], Operations: ['58-46=12', '31-12=19']
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[58, 31, 3, 46], Operations: []
Exploring Operation: 58-46=12, Resulting Numbers: [31, 3, 12]
Generated Node #0,0: 22:[31, 3, 12] Operation: 58-46=12
Moving to Node #0,0
Current State: 22:[31, 3, 12], Operations: ['58-46=12']
Exploring Operation: 31-12=19, Resulting Numbers: [3, 19]
Generated Node #0,0,0: 22:[3, 19] Operation: 31-12=19
Moving to Node #0,0,0
Current State: 22:[3, 19], Operations: ['58-46=12', '31-12=19']
Exploring Operation: 3+19=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
16,
50,
31,
78
] | 75 | [
"50-16=34",
"31+78=109",
"109-34=75"
] | Current State: 75:[16, 50, 31, 78], Operations: []
Exploring Operation: 50-16=34, Resulting Numbers: [31, 78, 34]
Generated Node #2: [31, 78, 34] from Operation: 50-16=34
Current State: 75:[31, 78, 34], Operations: ['50-16=34']
Exploring Operation: 31+78=109, Resulting Numbers: [34, 109]
Generated Node #3: [34, 109] from Operation: 31+78=109
Current State: 75:[34, 109], Operations: ['50-16=34', '31+78=109']
Exploring Operation: 109-34=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[16, 50, 31, 78], Operations: []
Exploring Operation: 16+50=66, Resulting Numbers: [31, 78, 66]
Generated Node #0,0: 75:[31, 78, 66] Operation: 16+50=66
Exploring Operation: 50-16=34, Resulting Numbers: [31, 78, 34]
Generated Node #0,1: 75:[31, 78, 34] Operation: 50-16=34
Exploring Operation: 78-50=28, Resulting Numbers: [16, 31, 28]
Generated Node #0,2: 75:[16, 31, 28] Operation: 78-50=28
Exploring Operation: 50+31=81, Resulting Numbers: [16, 78, 81]
Generated Node #0,3: 75:[16, 78, 81] Operation: 50+31=81
Exploring Operation: 50-31=19, Resulting Numbers: [16, 78, 19]
Generated Node #0,4: 75:[16, 78, 19] Operation: 50-31=19
Start Sub Search at level 1: Moving to Node #0,4
Current State: 75:[16, 78, 19], Operations: ['50-31=19']
Exploring Operation: 19-16=3, Resulting Numbers: [78, 3]
Generated Node #0,4,0: 75:[78, 3] Operation: 19-16=3
Exploring Operation: 16+78=94, Resulting Numbers: [19, 94]
Generated Node #0,4,1: 75:[19, 94] Operation: 16+78=94
Exploring Operation: 78-16=62, Resulting Numbers: [19, 62]
Generated Node #0,4,2: 75:[19, 62] Operation: 78-16=62
Exploring Operation: 16+19=35, Resulting Numbers: [78, 35]
Generated Node #0,4,3: 75:[78, 35] Operation: 16+19=35
Exploring Operation: 78-19=59, Resulting Numbers: [16, 59]
Generated Node #0,4,4: 75:[16, 59] Operation: 78-19=59
Moving to Node #0,4,0
Current State: 75:[78, 3], Operations: ['50-31=19', '19-16=3']
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,75 unequal: No Solution
Exploring Operation: 78+3=81, Resulting Numbers: [81]
81,75 unequal: No Solution
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[16, 50, 31, 78], Operations: []
Exploring Operation: 50-31=19, Resulting Numbers: [16, 78, 19]
Generated Node #0,4: 75:[16, 78, 19] Operation: 50-31=19
Moving to Node #0,4
Current State: 75:[16, 78, 19], Operations: ['50-31=19']
Exploring Operation: 19-16=3, Resulting Numbers: [78, 3]
Generated Node #0,4,0: 75:[78, 3] Operation: 19-16=3
Moving to Node #0,4,0
Current State: 75:[78, 3], Operations: ['50-31=19', '19-16=3']
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
43,
62,
32,
15
] | 86 | [
"62-32=30",
"43*30=1290",
"1290/15=86"
] | Current State: 86:[43, 62, 32, 15], Operations: []
Exploring Operation: 62-32=30, Resulting Numbers: [43, 15, 30]
Generated Node #2: [43, 15, 30] from Operation: 62-32=30
Current State: 86:[43, 15, 30], Operations: ['62-32=30']
Exploring Operation: 43*30=1290, Resulting Numbers: [15, 1290]
Generated Node #3: [15, 1290] from Operation: 43*30=1290
Current State: 86:[15, 1290], Operations: ['62-32=30', '43*30=1290']
Exploring Operation: 1290/15=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[43, 62, 32, 15], Operations: []
Exploring Operation: 62+15=77, Resulting Numbers: [43, 32, 77]
Generated Node #0,0: 86:[43, 32, 77] Operation: 62+15=77
Exploring Operation: 62-15=47, Resulting Numbers: [43, 32, 47]
Generated Node #0,1: 86:[43, 32, 47] Operation: 62-15=47
Moving to Node #0,1
Current State: 86:[43, 32, 47], Operations: ['62-15=47']
Exploring Operation: 32+47=79, Resulting Numbers: [43, 79]
Generated Node #0,1,0: 86:[43, 79] Operation: 32+47=79
Exploring Operation: 43-32=11, Resulting Numbers: [47, 11]
Generated Node #0,1,1: 86:[47, 11] Operation: 43-32=11
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 86:[43, 79], Operations: ['62-15=47', '32+47=79']
Exploring Operation: 79-43=36, Resulting Numbers: [36]
36,86 unequal: No Solution
Exploring Operation: 43+79=122, Resulting Numbers: [122]
122,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 86:[47, 11], Operations: ['62-15=47', '43-32=11']
Exploring Operation: 47+11=58, Resulting Numbers: [58]
58,86 unequal: No Solution
Exploring Operation: 47-11=36, Resulting Numbers: [36]
36,86 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: 86:[43, 32, 77], Operations: ['62+15=77']
Exploring Operation: 77-32=45, Resulting Numbers: [43, 45]
Generated Node #0,0,0: 86:[43, 45] Operation: 77-32=45
Exploring Operation: 43-32=11, Resulting Numbers: [77, 11]
Generated Node #0,0,1: 86:[77, 11] Operation: 43-32=11
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[43, 45], Operations: ['62+15=77', '77-32=45']
Exploring Operation: 45-43=2, Resulting Numbers: [2]
2,86 unequal: No Solution
Exploring Operation: 43+45=88, Resulting Numbers: [88]
88,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:[77, 11], Operations: ['62+15=77', '43-32=11']
Exploring Operation: 77+11=88, Resulting Numbers: [88]
88,86 unequal: No Solution
Exploring Operation: 77/11=7, Resulting Numbers: [7]
7,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
91,
70,
74,
26
] | 69 | [
"91-70=21",
"74-26=48",
"21+48=69"
] | Current State: 69:[91, 70, 74, 26], Operations: []
Exploring Operation: 91-70=21, Resulting Numbers: [74, 26, 21]
Generated Node #2: [74, 26, 21] from Operation: 91-70=21
Current State: 69:[74, 26, 21], Operations: ['91-70=21']
Exploring Operation: 74-26=48, Resulting Numbers: [21, 48]
Generated Node #3: [21, 48] from Operation: 74-26=48
Current State: 69:[21, 48], Operations: ['91-70=21', '74-26=48']
Exploring Operation: 21+48=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[91, 70, 74, 26], Operations: []
Exploring Operation: 91-70=21, Resulting Numbers: [74, 26, 21]
Generated Node #0,0: 69:[74, 26, 21] Operation: 91-70=21
Exploring Operation: 91-74=17, Resulting Numbers: [70, 26, 17]
Generated Node #0,1: 69:[70, 26, 17] Operation: 91-74=17
Moving to Node #0,0
Current State: 69:[74, 26, 21], Operations: ['91-70=21']
Exploring Operation: 26-21=5, Resulting Numbers: [74, 5]
Generated Node #0,0,0: 69:[74, 5] Operation: 26-21=5
Exploring Operation: 74-21=53, Resulting Numbers: [26, 53]
Generated Node #0,0,1: 69:[26, 53] Operation: 74-21=53
Moving to Node #0,1
Current State: 69:[70, 26, 17], Operations: ['91-74=17']
Exploring Operation: 70-17=53, Resulting Numbers: [26, 53]
Generated Node #0,1,0: 69:[26, 53] Operation: 70-17=53
Exploring Operation: 26-17=9, Resulting Numbers: [70, 9]
Generated Node #0,1,1: 69:[70, 9] Operation: 26-17=9
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 69:[70, 9], Operations: ['91-74=17', '26-17=9']
Exploring Operation: 70-9=61, Resulting Numbers: [61]
61,69 unequal: No Solution
Exploring Operation: 70+9=79, Resulting Numbers: [79]
79,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 69:[26, 53], Operations: ['91-74=17', '70-17=53']
Exploring Operation: 53-26=27, Resulting Numbers: [27]
27,69 unequal: No Solution
Exploring Operation: 26+53=79, Resulting Numbers: [79]
79,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 69:[74, 5], Operations: ['91-70=21', '26-21=5']
Exploring Operation: 74-5=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[91, 70, 74, 26], Operations: []
Exploring Operation: 91-70=21, Resulting Numbers: [74, 26, 21]
Generated Node #0,0: 69:[74, 26, 21] Operation: 91-70=21
Moving to Node #0,0
Current State: 69:[74, 26, 21], Operations: ['91-70=21']
Exploring Operation: 26-21=5, Resulting Numbers: [74, 5]
Generated Node #0,0,0: 69:[74, 5] Operation: 26-21=5
Moving to Node #0,0,0
Current State: 69:[74, 5], Operations: ['91-70=21', '26-21=5']
Exploring Operation: 74-5=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
21,
79,
79,
42
] | 42 | [
"79-79=0",
"21*0=0",
"42+0=42"
] | Current State: 42:[21, 79, 79, 42], Operations: []
Exploring Operation: 79-79=0, Resulting Numbers: [21, 42, 0]
Generated Node #2: [21, 42, 0] from Operation: 79-79=0
Current State: 42:[21, 42, 0], Operations: ['79-79=0']
Exploring Operation: 21*0=0, Resulting Numbers: [42, 0]
Generated Node #3: [42, 0] from Operation: 21*0=0
Current State: 42:[42, 0], Operations: ['79-79=0', '21*0=0']
Exploring Operation: 42+0=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[21, 79, 79, 42], Operations: []
Exploring Operation: 79/79=1, Resulting Numbers: [21, 42, 1]
Generated Node #0,0: 42:[21, 42, 1] Operation: 79/79=1
Exploring Operation: 79-79=0, Resulting Numbers: [21, 42, 0]
Generated Node #0,1: 42:[21, 42, 0] Operation: 79-79=0
Moving to Node #0,0
Current State: 42:[21, 42, 1], Operations: ['79/79=1']
Exploring Operation: 21/1=21, Resulting Numbers: [42, 21]
Generated Node #0,0,0: 42:[42, 21] Operation: 21/1=21
Exploring Operation: 21*1=21, Resulting Numbers: [42, 21]
Generated Node #0,0,1: 42:[42, 21] Operation: 21*1=21
Moving to Node #0,1
Current State: 42:[21, 42, 0], Operations: ['79-79=0']
Exploring Operation: 21+0=21, Resulting Numbers: [42, 21]
Generated Node #0,1,0: 42:[42, 21] Operation: 21+0=21
Exploring Operation: 21-0=21, Resulting Numbers: [42, 21]
Generated Node #0,1,1: 42:[42, 21] Operation: 21-0=21
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 42:[42, 21], Operations: ['79-79=0', '21+0=21']
Exploring Operation: 42-21=21, Resulting Numbers: [21]
21,42 unequal: No Solution
Exploring Operation: 42/21=2, Resulting Numbers: [2]
2,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 42:[42, 21], Operations: ['79-79=0', '21-0=21']
Exploring Operation: 42/21=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 42-21=21, Resulting Numbers: [21]
21,42 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: 42:[42, 21], Operations: ['79/79=1', '21/1=21']
Exploring Operation: 42-21=21, Resulting Numbers: [21]
21,42 unequal: No Solution
Exploring Operation: 42/21=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Moving to Node #0,0,1
Current State: 42:[42, 21], Operations: ['79/79=1', '21*1=21']
Exploring Operation: 42/21=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 42-21=21, Resulting Numbers: [21]
21,42 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
94,
36,
46,
47
] | 59 | [
"94-36=58",
"47-46=1",
"58+1=59"
] | Current State: 59:[94, 36, 46, 47], Operations: []
Exploring Operation: 94-36=58, Resulting Numbers: [46, 47, 58]
Generated Node #2: [46, 47, 58] from Operation: 94-36=58
Current State: 59:[46, 47, 58], Operations: ['94-36=58']
Exploring Operation: 47-46=1, Resulting Numbers: [58, 1]
Generated Node #3: [58, 1] from Operation: 47-46=1
Current State: 59:[58, 1], Operations: ['94-36=58', '47-46=1']
Exploring Operation: 58+1=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[94, 36, 46, 47], Operations: []
Exploring Operation: 94-36=58, Resulting Numbers: [46, 47, 58]
Generated Node #0,0: 59:[46, 47, 58] Operation: 94-36=58
Exploring Operation: 94-46=48, Resulting Numbers: [36, 47, 48]
Generated Node #0,1: 59:[36, 47, 48] Operation: 94-46=48
Exploring Operation: 36+47=83, Resulting Numbers: [94, 46, 83]
Generated Node #0,2: 59:[94, 46, 83] Operation: 36+47=83
Exploring Operation: 94-47=47, Resulting Numbers: [36, 46, 47]
Generated Node #0,3: 59:[36, 46, 47] Operation: 94-47=47
Exploring Operation: 36+46=82, Resulting Numbers: [94, 47, 82]
Generated Node #0,4: 59:[94, 47, 82] Operation: 36+46=82
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[46, 47, 58], Operations: ['94-36=58']
Exploring Operation: 46+47=93, Resulting Numbers: [58, 93]
Generated Node #0,0,0: 59:[58, 93] Operation: 46+47=93
Exploring Operation: 46+58=104, Resulting Numbers: [47, 104]
Generated Node #0,0,1: 59:[47, 104] Operation: 46+58=104
Exploring Operation: 47-46=1, Resulting Numbers: [58, 1]
Generated Node #0,0,2: 59:[58, 1] Operation: 47-46=1
Exploring Operation: 47+58=105, Resulting Numbers: [46, 105]
Generated Node #0,0,3: 59:[46, 105] Operation: 47+58=105
Exploring Operation: 58-46=12, Resulting Numbers: [47, 12]
Generated Node #0,0,4: 59:[47, 12] Operation: 58-46=12
Moving to Node #0,0,0
Current State: 59:[58, 93], Operations: ['94-36=58', '46+47=93']
Exploring Operation: 93-58=35, Resulting Numbers: [35]
35,59 unequal: No Solution
Exploring Operation: 58*93=5394, Resulting Numbers: [5394]
5394,59 unequal: No Solution
Exploring Operation: 58+93=151, Resulting Numbers: [151]
151,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[47, 104], Operations: ['94-36=58', '46+58=104']
Exploring Operation: 47*104=4888, Resulting Numbers: [4888]
4888,59 unequal: No Solution
Exploring Operation: 104-47=57, Resulting Numbers: [57]
57,59 unequal: No Solution
Exploring Operation: 47+104=151, Resulting Numbers: [151]
151,59 unequal: No Solution
Moving to Node #0,0,2
Current State: 59:[58, 1], Operations: ['94-36=58', '47-46=1']
Exploring Operation: 58*1=58, Resulting Numbers: [58]
58,59 unequal: No Solution
Exploring Operation: 58+1=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Moving to Node #0
Current State: 59:[94, 36, 46, 47], Operations: []
Exploring Operation: 94-36=58, Resulting Numbers: [46, 47, 58]
Generated Node #0,0: 59:[46, 47, 58] Operation: 94-36=58
Moving to Node #0,0
Current State: 59:[46, 47, 58], Operations: ['94-36=58']
Exploring Operation: 47-46=1, Resulting Numbers: [58, 1]
Generated Node #0,0,2: 59:[58, 1] Operation: 47-46=1
Moving to Node #0,0,2
Current State: 59:[58, 1], Operations: ['94-36=58', '47-46=1']
Exploring Operation: 58+1=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | mult_heuristic |
[
26,
11,
41,
99
] | 95 | [
"26+11=37",
"99-41=58",
"37+58=95"
] | Current State: 95:[26, 11, 41, 99], Operations: []
Exploring Operation: 26+11=37, Resulting Numbers: [41, 99, 37]
Generated Node #2: [41, 99, 37] from Operation: 26+11=37
Current State: 95:[41, 99, 37], Operations: ['26+11=37']
Exploring Operation: 99-41=58, Resulting Numbers: [37, 58]
Generated Node #3: [37, 58] from Operation: 99-41=58
Current State: 95:[37, 58], Operations: ['26+11=37', '99-41=58']
Exploring Operation: 37+58=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[26, 11, 41, 99], Operations: []
Exploring Operation: 26-11=15, Resulting Numbers: [41, 99, 15]
Generated Node #0,0: 95:[41, 99, 15] Operation: 26-11=15
Exploring Operation: 41-11=30, Resulting Numbers: [26, 99, 30]
Generated Node #0,1: 95:[26, 99, 30] Operation: 41-11=30
Exploring Operation: 99-11=88, Resulting Numbers: [26, 41, 88]
Generated Node #0,2: 95:[26, 41, 88] Operation: 99-11=88
Exploring Operation: 99/11=9, Resulting Numbers: [26, 41, 9]
Generated Node #0,3: 95:[26, 41, 9] Operation: 99/11=9
Exploring Operation: 41-26=15, Resulting Numbers: [11, 99, 15]
Generated Node #0,4: 95:[11, 99, 15] Operation: 41-26=15
Start Sub Search at level 1: Moving to Node #0,4
Current State: 95:[11, 99, 15], Operations: ['41-26=15']
Exploring Operation: 11+15=26, Resulting Numbers: [99, 26]
Generated Node #0,4,0: 95:[99, 26] Operation: 11+15=26
Exploring Operation: 99-15=84, Resulting Numbers: [11, 84]
Generated Node #0,4,1: 95:[11, 84] Operation: 99-15=84
Exploring Operation: 15-11=4, Resulting Numbers: [99, 4]
Generated Node #0,4,2: 95:[99, 4] Operation: 15-11=4
Exploring Operation: 99/11=9, Resulting Numbers: [15, 9]
Generated Node #0,4,3: 95:[15, 9] Operation: 99/11=9
Exploring Operation: 99-11=88, Resulting Numbers: [15, 88]
Generated Node #0,4,4: 95:[15, 88] Operation: 99-11=88
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 95:[99, 4], Operations: ['41-26=15', '15-11=4']
Exploring Operation: 99-4=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[26, 11, 41, 99], Operations: []
Exploring Operation: 41-26=15, Resulting Numbers: [11, 99, 15]
Generated Node #0,4: 95:[11, 99, 15] Operation: 41-26=15
Moving to Node #0,4
Current State: 95:[11, 99, 15], Operations: ['41-26=15']
Exploring Operation: 15-11=4, Resulting Numbers: [99, 4]
Generated Node #0,4,2: 95:[99, 4] Operation: 15-11=4
Moving to Node #0,4,2
Current State: 95:[99, 4], Operations: ['41-26=15', '15-11=4']
Exploring Operation: 99-4=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
97,
73,
2,
19
] | 83 | [
"97-19=78",
"2*78=156",
"156-73=83"
] | Current State: 83:[97, 73, 2, 19], Operations: []
Exploring Operation: 97-19=78, Resulting Numbers: [73, 2, 78]
Generated Node #2: [73, 2, 78] from Operation: 97-19=78
Current State: 83:[73, 2, 78], Operations: ['97-19=78']
Exploring Operation: 2*78=156, Resulting Numbers: [73, 156]
Generated Node #3: [73, 156] from Operation: 2*78=156
Current State: 83:[73, 156], Operations: ['97-19=78', '2*78=156']
Exploring Operation: 156-73=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[97, 73, 2, 19], Operations: []
Exploring Operation: 2*19=38, Resulting Numbers: [97, 73, 38]
Generated Node #0,0: 83:[97, 73, 38] Operation: 2*19=38
Exploring Operation: 97-2=95, Resulting Numbers: [73, 19, 95]
Generated Node #0,1: 83:[73, 19, 95] Operation: 97-2=95
Moving to Node #0,0
Current State: 83:[97, 73, 38], Operations: ['2*19=38']
Exploring Operation: 97-38=59, Resulting Numbers: [73, 59]
Generated Node #0,0,0: 83:[73, 59] Operation: 97-38=59
Exploring Operation: 73+38=111, Resulting Numbers: [97, 111]
Generated Node #0,0,1: 83:[97, 111] Operation: 73+38=111
Moving to Node #0,1
Current State: 83:[73, 19, 95], Operations: ['97-2=95']
Exploring Operation: 95-19=76, Resulting Numbers: [73, 76]
Generated Node #0,1,0: 83:[73, 76] Operation: 95-19=76
Exploring Operation: 73+19=92, Resulting Numbers: [95, 92]
Generated Node #0,1,1: 83:[95, 92] Operation: 73+19=92
Moving to Node #0,1,0
Current State: 83:[73, 76], Operations: ['97-2=95', '95-19=76']
Exploring Operation: 76-73=3, Resulting Numbers: [3]
3,83 unequal: No Solution
Exploring Operation: 73+76=149, Resulting Numbers: [149]
149,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[95, 92], Operations: ['97-2=95', '73+19=92']
Exploring Operation: 95-92=3, Resulting Numbers: [3]
3,83 unequal: No Solution
Exploring Operation: 95+92=187, Resulting Numbers: [187]
187,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[73, 59], Operations: ['2*19=38', '97-38=59']
Exploring Operation: 73-59=14, Resulting Numbers: [14]
14,83 unequal: No Solution
Exploring Operation: 73+59=132, Resulting Numbers: [132]
132,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[97, 111], Operations: ['2*19=38', '73+38=111']
Exploring Operation: 97+111=208, Resulting Numbers: [208]
208,83 unequal: No Solution
Exploring Operation: 111-97=14, Resulting Numbers: [14]
14,83 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
24,
30,
65,
6
] | 37 | [
"30/6=5",
"65/5=13",
"24+13=37"
] | Current State: 37:[24, 30, 65, 6], Operations: []
Exploring Operation: 30/6=5, Resulting Numbers: [24, 65, 5]
Generated Node #2: [24, 65, 5] from Operation: 30/6=5
Current State: 37:[24, 65, 5], Operations: ['30/6=5']
Exploring Operation: 65/5=13, Resulting Numbers: [24, 13]
Generated Node #3: [24, 13] from Operation: 65/5=13
Current State: 37:[24, 13], Operations: ['30/6=5', '65/5=13']
Exploring Operation: 24+13=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[24, 30, 65, 6], Operations: []
Exploring Operation: 65-24=41, Resulting Numbers: [30, 6, 41]
Generated Node #0,0: 37:[30, 6, 41] Operation: 65-24=41
Exploring Operation: 24+6=30, Resulting Numbers: [30, 65, 30]
Generated Node #0,1: 37:[30, 65, 30] Operation: 24+6=30
Exploring Operation: 30+6=36, Resulting Numbers: [24, 65, 36]
Generated Node #0,2: 37:[24, 65, 36] Operation: 30+6=36
Moving to Node #0,0
Current State: 37:[30, 6, 41], Operations: ['65-24=41']
Exploring Operation: 30+6=36, Resulting Numbers: [41, 36]
Generated Node #0,0,0: 37:[41, 36] Operation: 30+6=36
Exploring Operation: 30-6=24, Resulting Numbers: [41, 24]
Generated Node #0,0,1: 37:[41, 24] Operation: 30-6=24
Exploring Operation: 41-6=35, Resulting Numbers: [30, 35]
Generated Node #0,0,2: 37:[30, 35] Operation: 41-6=35
Moving to Node #0,1
Current State: 37:[30, 65, 30], Operations: ['24+6=30']
Exploring Operation: 65-30=35, Resulting Numbers: [30, 35]
Generated Node #0,1,0: 37:[30, 35] Operation: 65-30=35
Exploring Operation: 65-30=35, Resulting Numbers: [30, 35]
Generated Node #0,1,1: 37:[30, 35] Operation: 65-30=35
Exploring Operation: 30+30=60, Resulting Numbers: [65, 60]
Generated Node #0,1,2: 37:[65, 60] Operation: 30+30=60
Moving to Node #0,2
Current State: 37:[24, 65, 36], Operations: ['30+6=36']
Exploring Operation: 24+36=60, Resulting Numbers: [65, 60]
Generated Node #0,2,0: 37:[65, 60] Operation: 24+36=60
Exploring Operation: 65-24=41, Resulting Numbers: [36, 41]
Generated Node #0,2,1: 37:[36, 41] Operation: 65-24=41
Exploring Operation: 65-36=29, Resulting Numbers: [24, 29]
Generated Node #0,2,2: 37:[24, 29] Operation: 65-36=29
Moving to Node #0,0,0
Current State: 37:[41, 36], Operations: ['65-24=41', '30+6=36']
Exploring Operation: 41+36=77, Resulting Numbers: [77]
77,37 unequal: No Solution
Exploring Operation: 41*36=1476, Resulting Numbers: [1476]
1476,37 unequal: No Solution
Exploring Operation: 41-36=5, Resulting Numbers: [5]
5,37 unequal: No Solution
Moving to Node #0,2,1
Current State: 37:[36, 41], Operations: ['30+6=36', '65-24=41']
Exploring Operation: 36*41=1476, Resulting Numbers: [1476]
1476,37 unequal: No Solution
Exploring Operation: 41-36=5, Resulting Numbers: [5]
5,37 unequal: No Solution
Exploring Operation: 36+41=77, Resulting Numbers: [77]
77,37 unequal: No Solution
Moving to Node #0,0,2
Current State: 37:[30, 35], Operations: ['65-24=41', '41-6=35']
Exploring Operation: 35-30=5, Resulting Numbers: [5]
5,37 unequal: No Solution
Exploring Operation: 30+35=65, Resulting Numbers: [65]
65,37 unequal: No Solution
Exploring Operation: 30*35=1050, Resulting Numbers: [1050]
1050,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[30, 35], Operations: ['24+6=30', '65-30=35']
Exploring Operation: 35-30=5, Resulting Numbers: [5]
5,37 unequal: No Solution
Exploring Operation: 30*35=1050, Resulting Numbers: [1050]
1050,37 unequal: No Solution
Exploring Operation: 30+35=65, Resulting Numbers: [65]
65,37 unequal: No Solution
Moving to Node #0,1,0
Current State: 37:[30, 35], Operations: ['24+6=30', '65-30=35']
Exploring Operation: 30*35=1050, Resulting Numbers: [1050]
1050,37 unequal: No Solution
Exploring Operation: 30+35=65, Resulting Numbers: [65]
65,37 unequal: No Solution
Exploring Operation: 35-30=5, Resulting Numbers: [5]
5,37 unequal: No Solution
Moving to Node #0,0,1
Current State: 37:[41, 24], Operations: ['65-24=41', '30-6=24']
Exploring Operation: 41*24=984, Resulting Numbers: [984]
984,37 unequal: No Solution
Exploring Operation: 41-24=17, Resulting Numbers: [17]
17,37 unequal: No Solution
Exploring Operation: 41+24=65, Resulting Numbers: [65]
65,37 unequal: No Solution
Moving to Node #0,2,2
Current State: 37:[24, 29], Operations: ['30+6=36', '65-36=29']
Exploring Operation: 24+29=53, Resulting Numbers: [53]
53,37 unequal: No Solution
Exploring Operation: 24*29=696, Resulting Numbers: [696]
696,37 unequal: No Solution
Exploring Operation: 29-24=5, Resulting Numbers: [5]
5,37 unequal: No Solution
Moving to Node #0,2,0
Current State: 37:[65, 60], Operations: ['30+6=36', '24+36=60']
Exploring Operation: 65*60=3900, Resulting Numbers: [3900]
3900,37 unequal: No Solution
Exploring Operation: 65+60=125, Resulting Numbers: [125]
125,37 unequal: No Solution
Exploring Operation: 65-60=5, Resulting Numbers: [5]
5,37 unequal: No Solution
Moving to Node #0,1,2
Current State: 37:[65, 60], Operations: ['24+6=30', '30+30=60']
Exploring Operation: 65-60=5, Resulting Numbers: [5]
5,37 unequal: No Solution
Exploring Operation: 65*60=3900, Resulting Numbers: [3900]
3900,37 unequal: No Solution
Exploring Operation: 65+60=125, Resulting Numbers: [125]
125,37 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
44,
40,
61,
72
] | 44 | [
"44-40=4",
"72-61=11",
"4*11=44"
] | Current State: 44:[44, 40, 61, 72], Operations: []
Exploring Operation: 44-40=4, Resulting Numbers: [61, 72, 4]
Generated Node #2: [61, 72, 4] from Operation: 44-40=4
Current State: 44:[61, 72, 4], Operations: ['44-40=4']
Exploring Operation: 72-61=11, Resulting Numbers: [4, 11]
Generated Node #3: [4, 11] from Operation: 72-61=11
Current State: 44:[4, 11], Operations: ['44-40=4', '72-61=11']
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[44, 40, 61, 72], Operations: []
Exploring Operation: 72-44=28, Resulting Numbers: [40, 61, 28]
Generated Node #0,0: 44:[40, 61, 28] Operation: 72-44=28
Exploring Operation: 72-61=11, Resulting Numbers: [44, 40, 11]
Generated Node #0,1: 44:[44, 40, 11] Operation: 72-61=11
Moving to Node #0,1
Current State: 44:[44, 40, 11], Operations: ['72-61=11']
Exploring Operation: 44-40=4, Resulting Numbers: [11, 4]
Generated Node #0,1,0: 44:[11, 4] Operation: 44-40=4
Exploring Operation: 44/11=4, Resulting Numbers: [40, 4]
Generated Node #0,1,1: 44:[40, 4] Operation: 44/11=4
Moving to Node #0,0
Current State: 44:[40, 61, 28], Operations: ['72-44=28']
Exploring Operation: 61-40=21, Resulting Numbers: [28, 21]
Generated Node #0,0,0: 44:[28, 21] Operation: 61-40=21
Exploring Operation: 61-28=33, Resulting Numbers: [40, 33]
Generated Node #0,0,1: 44:[40, 33] Operation: 61-28=33
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 44:[28, 21], Operations: ['72-44=28', '61-40=21']
Exploring Operation: 28+21=49, Resulting Numbers: [49]
49,44 unequal: No Solution
Exploring Operation: 28-21=7, Resulting Numbers: [7]
7,44 unequal: No Solution
No 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: 44:[40, 33], Operations: ['72-44=28', '61-28=33']
Exploring Operation: 40+33=73, Resulting Numbers: [73]
73,44 unequal: No Solution
Exploring Operation: 40-33=7, Resulting Numbers: [7]
7,44 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: 44:[11, 4], Operations: ['72-61=11', '44-40=4']
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,44 unequal: No Solution
Exploring Operation: 11*4=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[44, 40, 61, 72], Operations: []
Exploring Operation: 72-61=11, Resulting Numbers: [44, 40, 11]
Generated Node #0,1: 44:[44, 40, 11] Operation: 72-61=11
Moving to Node #0,1
Current State: 44:[44, 40, 11], Operations: ['72-61=11']
Exploring Operation: 44-40=4, Resulting Numbers: [11, 4]
Generated Node #0,1,0: 44:[11, 4] Operation: 44-40=4
Moving to Node #0,1,0
Current State: 44:[11, 4], Operations: ['72-61=11', '44-40=4']
Exploring Operation: 11*4=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 0.986111 | hs_2 | mult_heuristic |
[
46,
34,
46,
78
] | 78 | [
"46-46=0",
"34*0=0",
"78+0=78"
] | Current State: 78:[46, 34, 46, 78], Operations: []
Exploring Operation: 46-46=0, Resulting Numbers: [34, 78, 0]
Generated Node #2: [34, 78, 0] from Operation: 46-46=0
Current State: 78:[34, 78, 0], Operations: ['46-46=0']
Exploring Operation: 34*0=0, Resulting Numbers: [78, 0]
Generated Node #3: [78, 0] from Operation: 34*0=0
Current State: 78:[78, 0], Operations: ['46-46=0', '34*0=0']
Exploring Operation: 78+0=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[46, 34, 46, 78], Operations: []
Exploring Operation: 46-46=0, Resulting Numbers: [34, 78, 0]
Generated Node #0,0: 78:[34, 78, 0] Operation: 46-46=0
Exploring Operation: 46-34=12, Resulting Numbers: [46, 78, 12]
Generated Node #0,1: 78:[46, 78, 12] Operation: 46-34=12
Exploring Operation: 46/46=1, Resulting Numbers: [34, 78, 1]
Generated Node #0,2: 78:[34, 78, 1] Operation: 46/46=1
Exploring Operation: 46-34=12, Resulting Numbers: [46, 78, 12]
Generated Node #0,3: 78:[46, 78, 12] Operation: 46-34=12
Moving to Node #0,2
Current State: 78:[34, 78, 1], Operations: ['46/46=1']
Exploring Operation: 34/1=34, Resulting Numbers: [78, 34]
Generated Node #0,2,0: 78:[78, 34] Operation: 34/1=34
Exploring Operation: 34*1=34, Resulting Numbers: [78, 34]
Generated Node #0,2,1: 78:[78, 34] Operation: 34*1=34
Exploring Operation: 78*1=78, Resulting Numbers: [34, 78]
Generated Node #0,2,2: 78:[34, 78] Operation: 78*1=78
Exploring Operation: 34+1=35, Resulting Numbers: [78, 35]
Generated Node #0,2,3: 78:[78, 35] Operation: 34+1=35
Moving to Node #0,0
Current State: 78:[34, 78, 0], Operations: ['46-46=0']
Exploring Operation: 34*0=0, Resulting Numbers: [78, 0]
Generated Node #0,0,0: 78:[78, 0] Operation: 34*0=0
Exploring Operation: 34-0=34, Resulting Numbers: [78, 34]
Generated Node #0,0,1: 78:[78, 34] Operation: 34-0=34
Exploring Operation: 78+0=78, Resulting Numbers: [34, 78]
Generated Node #0,0,2: 78:[34, 78] Operation: 78+0=78
Exploring Operation: 34+0=34, Resulting Numbers: [78, 34]
Generated Node #0,0,3: 78:[78, 34] Operation: 34+0=34
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 78:[78, 0], Operations: ['46-46=0', '34*0=0']
Exploring Operation: 78-0=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[46, 34, 46, 78], Operations: []
Exploring Operation: 46-46=0, Resulting Numbers: [34, 78, 0]
Generated Node #0,0: 78:[34, 78, 0] Operation: 46-46=0
Moving to Node #0,0
Current State: 78:[34, 78, 0], Operations: ['46-46=0']
Exploring Operation: 34*0=0, Resulting Numbers: [78, 0]
Generated Node #0,0,0: 78:[78, 0] Operation: 34*0=0
Moving to Node #0,0,0
Current State: 78:[78, 0], Operations: ['46-46=0', '34*0=0']
Exploring Operation: 78-0=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
81,
74,
61,
87
] | 78 | [
"87-81=6",
"74-61=13",
"6*13=78"
] | Current State: 78:[81, 74, 61, 87], Operations: []
Exploring Operation: 87-81=6, Resulting Numbers: [74, 61, 6]
Generated Node #2: [74, 61, 6] from Operation: 87-81=6
Current State: 78:[74, 61, 6], Operations: ['87-81=6']
Exploring Operation: 74-61=13, Resulting Numbers: [6, 13]
Generated Node #3: [6, 13] from Operation: 74-61=13
Current State: 78:[6, 13], Operations: ['87-81=6', '74-61=13']
Exploring Operation: 6*13=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[81, 74, 61, 87], Operations: []
Exploring Operation: 81-61=20, Resulting Numbers: [74, 87, 20]
Generated Node #0,0: 78:[74, 87, 20] Operation: 81-61=20
Exploring Operation: 87-81=6, Resulting Numbers: [74, 61, 6]
Generated Node #0,1: 78:[74, 61, 6] Operation: 87-81=6
Exploring Operation: 87-74=13, Resulting Numbers: [81, 61, 13]
Generated Node #0,2: 78:[81, 61, 13] Operation: 87-74=13
Exploring Operation: 87-61=26, Resulting Numbers: [81, 74, 26]
Generated Node #0,3: 78:[81, 74, 26] Operation: 87-61=26
Exploring Operation: 74-61=13, Resulting Numbers: [81, 87, 13]
Generated Node #0,4: 78:[81, 87, 13] Operation: 74-61=13
Start Sub Search at level 1: Moving to Node #0,3
Current State: 78:[81, 74, 26], Operations: ['87-61=26']
Exploring Operation: 81+26=107, Resulting Numbers: [74, 107]
Generated Node #0,3,0: 78:[74, 107] Operation: 81+26=107
Exploring Operation: 81-26=55, Resulting Numbers: [74, 55]
Generated Node #0,3,1: 78:[74, 55] Operation: 81-26=55
Exploring Operation: 81-74=7, Resulting Numbers: [26, 7]
Generated Node #0,3,2: 78:[26, 7] Operation: 81-74=7
Exploring Operation: 74+26=100, Resulting Numbers: [81, 100]
Generated Node #0,3,3: 78:[81, 100] Operation: 74+26=100
Exploring Operation: 74-26=48, Resulting Numbers: [81, 48]
Generated Node #0,3,4: 78:[81, 48] Operation: 74-26=48
Moving to Node #0,3,2
Current State: 78:[26, 7], Operations: ['87-61=26', '81-74=7']
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,78 unequal: No Solution
Exploring Operation: 26+7=33, Resulting Numbers: [33]
33,78 unequal: No Solution
Exploring Operation: 26*7=182, Resulting Numbers: [182]
182,78 unequal: No Solution
Moving to Node #0,3,4
Current State: 78:[81, 48], Operations: ['87-61=26', '74-26=48']
Exploring Operation: 81-48=33, Resulting Numbers: [33]
33,78 unequal: No Solution
Exploring Operation: 81+48=129, Resulting Numbers: [129]
129,78 unequal: No Solution
Exploring Operation: 81*48=3888, Resulting Numbers: [3888]
3888,78 unequal: No Solution
Moving to Node #0,3,1
Current State: 78:[74, 55], Operations: ['87-61=26', '81-26=55']
Exploring Operation: 74-55=19, Resulting Numbers: [19]
19,78 unequal: No Solution
Exploring Operation: 74*55=4070, Resulting Numbers: [4070]
4070,78 unequal: No Solution
Exploring Operation: 74+55=129, Resulting Numbers: [129]
129,78 unequal: No Solution
Moving to Node #0,3,3
Current State: 78:[81, 100], Operations: ['87-61=26', '74+26=100']
Exploring Operation: 81*100=8100, Resulting Numbers: [8100]
8100,78 unequal: No Solution
Exploring Operation: 81+100=181, Resulting Numbers: [181]
181,78 unequal: No Solution
Exploring Operation: 100-81=19, Resulting Numbers: [19]
19,78 unequal: No Solution
Moving to Node #0,3,0
Current State: 78:[74, 107], Operations: ['87-61=26', '81+26=107']
Exploring Operation: 74+107=181, Resulting Numbers: [181]
181,78 unequal: No Solution
Exploring Operation: 107-74=33, Resulting Numbers: [33]
33,78 unequal: No Solution
Exploring Operation: 74*107=7918, Resulting Numbers: [7918]
7918,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 78:[81, 87, 13], Operations: ['74-61=13']
Exploring Operation: 81-13=68, Resulting Numbers: [87, 68]
Generated Node #0,4,0: 78:[87, 68] Operation: 81-13=68
Exploring Operation: 81+13=94, Resulting Numbers: [87, 94]
Generated Node #0,4,1: 78:[87, 94] Operation: 81+13=94
Exploring Operation: 87-81=6, Resulting Numbers: [13, 6]
Generated Node #0,4,2: 78:[13, 6] Operation: 87-81=6
Exploring Operation: 87-13=74, Resulting Numbers: [81, 74]
Generated Node #0,4,3: 78:[81, 74] Operation: 87-13=74
Exploring Operation: 87+13=100, Resulting Numbers: [81, 100]
Generated Node #0,4,4: 78:[81, 100] Operation: 87+13=100
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 78:[13, 6], Operations: ['74-61=13', '87-81=6']
Exploring Operation: 13+6=19, Resulting Numbers: [19]
19,78 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,78 unequal: No Solution
Exploring Operation: 13*6=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[81, 74, 61, 87], Operations: []
Exploring Operation: 74-61=13, Resulting Numbers: [81, 87, 13]
Generated Node #0,4: 78:[81, 87, 13] Operation: 74-61=13
Moving to Node #0,4
Current State: 78:[81, 87, 13], Operations: ['74-61=13']
Exploring Operation: 87-81=6, Resulting Numbers: [13, 6]
Generated Node #0,4,2: 78:[13, 6] Operation: 87-81=6
Moving to Node #0,4,2
Current State: 78:[13, 6], Operations: ['74-61=13', '87-81=6']
Exploring Operation: 13*6=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967882 | hs_5 | sum_heuristic |
[
91,
75,
57,
18
] | 59 | [
"91-75=16",
"57+18=75",
"75-16=59"
] | Current State: 59:[91, 75, 57, 18], Operations: []
Exploring Operation: 91-75=16, Resulting Numbers: [57, 18, 16]
Generated Node #2: [57, 18, 16] from Operation: 91-75=16
Current State: 59:[57, 18, 16], Operations: ['91-75=16']
Exploring Operation: 57+18=75, Resulting Numbers: [16, 75]
Generated Node #3: [16, 75] from Operation: 57+18=75
Current State: 59:[16, 75], Operations: ['91-75=16', '57+18=75']
Exploring Operation: 75-16=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[91, 75, 57, 18], Operations: []
Exploring Operation: 91-18=73, Resulting Numbers: [75, 57, 73]
Generated Node #0,0: 59:[75, 57, 73] Operation: 91-18=73
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[75, 57, 73], Operations: ['91-18=73']
Exploring Operation: 75-57=18, Resulting Numbers: [73, 18]
Generated Node #0,0,0: 59:[73, 18] Operation: 75-57=18
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 59:[73, 18], Operations: ['91-18=73', '75-57=18']
Exploring Operation: 73-18=55, Resulting Numbers: [55]
55,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
2,
13,
50,
18
] | 43 | [
"13-2=11",
"50-18=32",
"11+32=43"
] | Current State: 43:[2, 13, 50, 18], Operations: []
Exploring Operation: 13-2=11, Resulting Numbers: [50, 18, 11]
Generated Node #2: [50, 18, 11] from Operation: 13-2=11
Current State: 43:[50, 18, 11], Operations: ['13-2=11']
Exploring Operation: 50-18=32, Resulting Numbers: [11, 32]
Generated Node #3: [11, 32] from Operation: 50-18=32
Current State: 43:[11, 32], Operations: ['13-2=11', '50-18=32']
Exploring Operation: 11+32=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[2, 13, 50, 18], Operations: []
Exploring Operation: 2*13=26, Resulting Numbers: [50, 18, 26]
Generated Node #0,0: 43:[50, 18, 26] Operation: 2*13=26
Exploring Operation: 2*18=36, Resulting Numbers: [13, 50, 36]
Generated Node #0,1: 43:[13, 50, 36] Operation: 2*18=36
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[13, 50, 36], Operations: ['2*18=36']
Exploring Operation: 13+36=49, Resulting Numbers: [50, 49]
Generated Node #0,1,0: 43:[50, 49] Operation: 13+36=49
Exploring Operation: 50-13=37, Resulting Numbers: [36, 37]
Generated Node #0,1,1: 43:[36, 37] Operation: 50-13=37
Moving to Node #0,1,0
Current State: 43:[50, 49], Operations: ['2*18=36', '13+36=49']
Exploring Operation: 50+49=99, Resulting Numbers: [99]
99,43 unequal: No Solution
Exploring Operation: 50-49=1, Resulting Numbers: [1]
1,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[36, 37], Operations: ['2*18=36', '50-13=37']
Exploring Operation: 36+37=73, Resulting Numbers: [73]
73,43 unequal: No Solution
Exploring Operation: 37-36=1, Resulting Numbers: [1]
1,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[50, 18, 26], Operations: ['2*13=26']
Exploring Operation: 50-18=32, Resulting Numbers: [26, 32]
Generated Node #0,0,0: 43:[26, 32] Operation: 50-18=32
Exploring Operation: 18+26=44, Resulting Numbers: [50, 44]
Generated Node #0,0,1: 43:[50, 44] Operation: 18+26=44
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 43:[50, 44], Operations: ['2*13=26', '18+26=44']
Exploring Operation: 50+44=94, Resulting Numbers: [94]
94,43 unequal: No Solution
Exploring Operation: 50-44=6, Resulting Numbers: [6]
6,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 43:[26, 32], Operations: ['2*13=26', '50-18=32']
Exploring Operation: 32-26=6, Resulting Numbers: [6]
6,43 unequal: No Solution
Exploring Operation: 26+32=58, Resulting Numbers: [58]
58,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
13,
80,
97,
80
] | 83 | [
"97-13=84",
"80/80=1",
"84-1=83"
] | Current State: 83:[13, 80, 97, 80], Operations: []
Exploring Operation: 97-13=84, Resulting Numbers: [80, 80, 84]
Generated Node #2: [80, 80, 84] from Operation: 97-13=84
Current State: 83:[80, 80, 84], Operations: ['97-13=84']
Exploring Operation: 80/80=1, Resulting Numbers: [84, 1]
Generated Node #3: [84, 1] from Operation: 80/80=1
Current State: 83:[84, 1], Operations: ['97-13=84', '80/80=1']
Exploring Operation: 84-1=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[13, 80, 97, 80], Operations: []
Exploring Operation: 13+80=93, Resulting Numbers: [97, 80, 93]
Generated Node #0,0: 83:[97, 80, 93] Operation: 13+80=93
Exploring Operation: 97-13=84, Resulting Numbers: [80, 80, 84]
Generated Node #0,1: 83:[80, 80, 84] Operation: 97-13=84
Exploring Operation: 13+80=93, Resulting Numbers: [80, 97, 93]
Generated Node #0,2: 83:[80, 97, 93] Operation: 13+80=93
Exploring Operation: 80-13=67, Resulting Numbers: [97, 80, 67]
Generated Node #0,3: 83:[97, 80, 67] Operation: 80-13=67
Moving to Node #0,1
Current State: 83:[80, 80, 84], Operations: ['97-13=84']
Exploring Operation: 84-80=4, Resulting Numbers: [80, 4]
Generated Node #0,1,0: 83:[80, 4] Operation: 84-80=4
Exploring Operation: 84-80=4, Resulting Numbers: [80, 4]
Generated Node #0,1,1: 83:[80, 4] Operation: 84-80=4
Exploring Operation: 80+80=160, Resulting Numbers: [84, 160]
Generated Node #0,1,2: 83:[84, 160] Operation: 80+80=160
Exploring Operation: 80/80=1, Resulting Numbers: [84, 1]
Generated Node #0,1,3: 83:[84, 1] Operation: 80/80=1
Moving to Node #0,2
Current State: 83:[80, 97, 93], Operations: ['13+80=93']
Exploring Operation: 93-80=13, Resulting Numbers: [97, 13]
Generated Node #0,2,0: 83:[97, 13] Operation: 93-80=13
Exploring Operation: 97-80=17, Resulting Numbers: [93, 17]
Generated Node #0,2,1: 83:[93, 17] Operation: 97-80=17
Exploring Operation: 97-93=4, Resulting Numbers: [80, 4]
Generated Node #0,2,2: 83:[80, 4] Operation: 97-93=4
Exploring Operation: 80+97=177, Resulting Numbers: [93, 177]
Generated Node #0,2,3: 83:[93, 177] Operation: 80+97=177
Moving to Node #0,0
Current State: 83:[97, 80, 93], Operations: ['13+80=93']
Exploring Operation: 93-80=13, Resulting Numbers: [97, 13]
Generated Node #0,0,0: 83:[97, 13] Operation: 93-80=13
Exploring Operation: 97+80=177, Resulting Numbers: [93, 177]
Generated Node #0,0,1: 83:[93, 177] Operation: 97+80=177
Exploring Operation: 97-80=17, Resulting Numbers: [93, 17]
Generated Node #0,0,2: 83:[93, 17] Operation: 97-80=17
Exploring Operation: 97-93=4, Resulting Numbers: [80, 4]
Generated Node #0,0,3: 83:[80, 4] Operation: 97-93=4
Moving to Node #0,3
Current State: 83:[97, 80, 67], Operations: ['80-13=67']
Exploring Operation: 97-80=17, Resulting Numbers: [67, 17]
Generated Node #0,3,0: 83:[67, 17] Operation: 97-80=17
Exploring Operation: 80+67=147, Resulting Numbers: [97, 147]
Generated Node #0,3,1: 83:[97, 147] Operation: 80+67=147
Exploring Operation: 97+67=164, Resulting Numbers: [80, 164]
Generated Node #0,3,2: 83:[80, 164] Operation: 97+67=164
Exploring Operation: 97-67=30, Resulting Numbers: [80, 30]
Generated Node #0,3,3: 83:[80, 30] Operation: 97-67=30
Moving to Node #0,3,3
Current State: 83:[80, 30], Operations: ['80-13=67', '97-67=30']
Exploring Operation: 80*30=2400, Resulting Numbers: [2400]
2400,83 unequal: No Solution
Exploring Operation: 80+30=110, Resulting Numbers: [110]
110,83 unequal: No Solution
Exploring Operation: 80-30=50, Resulting Numbers: [50]
50,83 unequal: No Solution
Moving to Node #0,2,1
Current State: 83:[93, 17], Operations: ['13+80=93', '97-80=17']
Exploring Operation: 93+17=110, Resulting Numbers: [110]
110,83 unequal: No Solution
Exploring Operation: 93-17=76, Resulting Numbers: [76]
76,83 unequal: No Solution
Exploring Operation: 93*17=1581, Resulting Numbers: [1581]
1581,83 unequal: No Solution
Moving to Node #0,0,2
Current State: 83:[93, 17], Operations: ['13+80=93', '97-80=17']
Exploring Operation: 93+17=110, Resulting Numbers: [110]
110,83 unequal: No Solution
Exploring Operation: 93-17=76, Resulting Numbers: [76]
76,83 unequal: No Solution
Exploring Operation: 93*17=1581, Resulting Numbers: [1581]
1581,83 unequal: No Solution
Moving to Node #0,3,1
Current State: 83:[97, 147], Operations: ['80-13=67', '80+67=147']
Exploring Operation: 97*147=14259, Resulting Numbers: [14259]
14259,83 unequal: No Solution
Exploring Operation: 97+147=244, Resulting Numbers: [244]
244,83 unequal: No Solution
Exploring Operation: 147-97=50, Resulting Numbers: [50]
50,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[84, 160], Operations: ['97-13=84', '80+80=160']
Exploring Operation: 84+160=244, Resulting Numbers: [244]
244,83 unequal: No Solution
Exploring Operation: 160-84=76, Resulting Numbers: [76]
76,83 unequal: No Solution
Exploring Operation: 84*160=13440, Resulting Numbers: [13440]
13440,83 unequal: No Solution
Moving to Node #0,3,0
Current State: 83:[67, 17], Operations: ['80-13=67', '97-80=17']
Exploring Operation: 67-17=50, Resulting Numbers: [50]
50,83 unequal: No Solution
Exploring Operation: 67+17=84, Resulting Numbers: [84]
84,83 unequal: No Solution
Exploring Operation: 67*17=1139, Resulting Numbers: [1139]
1139,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[80, 4], Operations: ['97-13=84', '84-80=4']
Exploring Operation: 80+4=84, Resulting Numbers: [84]
84,83 unequal: No Solution
Exploring Operation: 80*4=320, Resulting Numbers: [320]
320,83 unequal: No Solution
Exploring Operation: 80-4=76, Resulting Numbers: [76]
76,83 unequal: No Solution
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,83 unequal: No Solution
Moving to Node #0,1,0
Current State: 83:[80, 4], Operations: ['97-13=84', '84-80=4']
Exploring Operation: 80*4=320, Resulting Numbers: [320]
320,83 unequal: No Solution
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,83 unequal: No Solution
Exploring Operation: 80-4=76, Resulting Numbers: [76]
76,83 unequal: No Solution
Exploring Operation: 80+4=84, Resulting Numbers: [84]
84,83 unequal: No Solution
Moving to Node #0,0,3
Current State: 83:[80, 4], Operations: ['13+80=93', '97-93=4']
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,83 unequal: No Solution
Exploring Operation: 80-4=76, Resulting Numbers: [76]
76,83 unequal: No Solution
Exploring Operation: 80+4=84, Resulting Numbers: [84]
84,83 unequal: No Solution
Exploring Operation: 80*4=320, Resulting Numbers: [320]
320,83 unequal: No Solution
Moving to Node #0,2,2
Current State: 83:[80, 4], Operations: ['13+80=93', '97-93=4']
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,83 unequal: No Solution
Exploring Operation: 80+4=84, Resulting Numbers: [84]
84,83 unequal: No Solution
Exploring Operation: 80-4=76, Resulting Numbers: [76]
76,83 unequal: No Solution
Exploring Operation: 80*4=320, Resulting Numbers: [320]
320,83 unequal: No Solution
Moving to Node #0,1,3
Current State: 83:[84, 1], Operations: ['97-13=84', '80/80=1']
Exploring Operation: 84*1=84, Resulting Numbers: [84]
84,83 unequal: No Solution
Exploring Operation: 84-1=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[13, 80, 97, 80], Operations: []
Exploring Operation: 97-13=84, Resulting Numbers: [80, 80, 84]
Generated Node #0,1: 83:[80, 80, 84] Operation: 97-13=84
Moving to Node #0,1
Current State: 83:[80, 80, 84], Operations: ['97-13=84']
Exploring Operation: 80/80=1, Resulting Numbers: [84, 1]
Generated Node #0,1,3: 83:[84, 1] Operation: 80/80=1
Moving to Node #0,1,3
Current State: 83:[84, 1], Operations: ['97-13=84', '80/80=1']
Exploring Operation: 84-1=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 0.947917 | hs_4 | sum_heuristic |
[
40,
92,
10,
37
] | 56 | [
"40/10=4",
"37*4=148",
"148-92=56"
] | Current State: 56:[40, 92, 10, 37], Operations: []
Exploring Operation: 40/10=4, Resulting Numbers: [92, 37, 4]
Generated Node #2: [92, 37, 4] from Operation: 40/10=4
Current State: 56:[92, 37, 4], Operations: ['40/10=4']
Exploring Operation: 37*4=148, Resulting Numbers: [92, 148]
Generated Node #3: [92, 148] from Operation: 37*4=148
Current State: 56:[92, 148], Operations: ['40/10=4', '37*4=148']
Exploring Operation: 148-92=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[40, 92, 10, 37], Operations: []
Exploring Operation: 92-40=52, Resulting Numbers: [10, 37, 52]
Generated Node #0,0: 56:[10, 37, 52] Operation: 92-40=52
Moving to Node #0,0
Current State: 56:[10, 37, 52], Operations: ['92-40=52']
Exploring Operation: 52-37=15, Resulting Numbers: [10, 15]
Generated Node #0,0,0: 56:[10, 15] Operation: 52-37=15
Moving to Node #0,0,0
Current State: 56:[10, 15], Operations: ['92-40=52', '52-37=15']
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,56 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
45,
25,
52,
37
] | 55 | [
"45+25=70",
"52-37=15",
"70-15=55"
] | Current State: 55:[45, 25, 52, 37], Operations: []
Exploring Operation: 45+25=70, Resulting Numbers: [52, 37, 70]
Generated Node #2: [52, 37, 70] from Operation: 45+25=70
Current State: 55:[52, 37, 70], Operations: ['45+25=70']
Exploring Operation: 52-37=15, Resulting Numbers: [70, 15]
Generated Node #3: [70, 15] from Operation: 52-37=15
Current State: 55:[70, 15], Operations: ['45+25=70', '52-37=15']
Exploring Operation: 70-15=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[45, 25, 52, 37], Operations: []
Exploring Operation: 37-25=12, Resulting Numbers: [45, 52, 12]
Generated Node #0,0: 55:[45, 52, 12] Operation: 37-25=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[45, 52, 12], Operations: ['37-25=12']
Exploring Operation: 52-45=7, Resulting Numbers: [12, 7]
Generated Node #0,0,0: 55:[12, 7] Operation: 52-45=7
Moving to Node #0,0,0
Current State: 55:[12, 7], Operations: ['37-25=12', '52-45=7']
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,55 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 |
[
23,
15,
54,
80
] | 34 | [
"23-15=8",
"80-54=26",
"8+26=34"
] | Current State: 34:[23, 15, 54, 80], Operations: []
Exploring Operation: 23-15=8, Resulting Numbers: [54, 80, 8]
Generated Node #2: [54, 80, 8] from Operation: 23-15=8
Current State: 34:[54, 80, 8], Operations: ['23-15=8']
Exploring Operation: 80-54=26, Resulting Numbers: [8, 26]
Generated Node #3: [8, 26] from Operation: 80-54=26
Current State: 34:[8, 26], Operations: ['23-15=8', '80-54=26']
Exploring Operation: 8+26=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[23, 15, 54, 80], Operations: []
Exploring Operation: 80-23=57, Resulting Numbers: [15, 54, 57]
Generated Node #0,0: 34:[15, 54, 57] Operation: 80-23=57
Exploring Operation: 54-15=39, Resulting Numbers: [23, 80, 39]
Generated Node #0,1: 34:[23, 80, 39] Operation: 54-15=39
Exploring Operation: 80-54=26, Resulting Numbers: [23, 15, 26]
Generated Node #0,2: 34:[23, 15, 26] Operation: 80-54=26
Exploring Operation: 80-15=65, Resulting Numbers: [23, 54, 65]
Generated Node #0,3: 34:[23, 54, 65] Operation: 80-15=65
Exploring Operation: 54-23=31, Resulting Numbers: [15, 80, 31]
Generated Node #0,4: 34:[15, 80, 31] Operation: 54-23=31
Start Sub Search at level 1: Moving to Node #0,2
Current State: 34:[23, 15, 26], Operations: ['80-54=26']
Exploring Operation: 26-15=11, Resulting Numbers: [23, 11]
Generated Node #0,2,0: 34:[23, 11] Operation: 26-15=11
Exploring Operation: 26-23=3, Resulting Numbers: [15, 3]
Generated Node #0,2,1: 34:[15, 3] Operation: 26-23=3
Exploring Operation: 23+15=38, Resulting Numbers: [26, 38]
Generated Node #0,2,2: 34:[26, 38] Operation: 23+15=38
Exploring Operation: 23-15=8, Resulting Numbers: [26, 8]
Generated Node #0,2,3: 34:[26, 8] Operation: 23-15=8
Exploring Operation: 15+26=41, Resulting Numbers: [23, 41]
Generated Node #0,2,4: 34:[23, 41] Operation: 15+26=41
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 34:[15, 3], Operations: ['80-54=26', '26-23=3']
Exploring Operation: 15-3=12, Resulting Numbers: [12]
12,34 unequal: No Solution
Exploring Operation: 15*3=45, Resulting Numbers: [45]
45,34 unequal: No Solution
Exploring Operation: 15+3=18, Resulting Numbers: [18]
18,34 unequal: No Solution
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,34 unequal: No Solution
No 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: 34:[23, 11], Operations: ['80-54=26', '26-15=11']
Exploring Operation: 23*11=253, Resulting Numbers: [253]
253,34 unequal: No Solution
Exploring Operation: 23+11=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[23, 15, 54, 80], Operations: []
Exploring Operation: 80-54=26, Resulting Numbers: [23, 15, 26]
Generated Node #0,2: 34:[23, 15, 26] Operation: 80-54=26
Moving to Node #0,2
Current State: 34:[23, 15, 26], Operations: ['80-54=26']
Exploring Operation: 26-15=11, Resulting Numbers: [23, 11]
Generated Node #0,2,0: 34:[23, 11] Operation: 26-15=11
Moving to Node #0,2,0
Current State: 34:[23, 11], Operations: ['80-54=26', '26-15=11']
Exploring Operation: 23+11=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
69,
60,
3,
66
] | 60 | [
"69+60=129",
"3+66=69",
"129-69=60"
] | Current State: 60:[69, 60, 3, 66], Operations: []
Exploring Operation: 69+60=129, Resulting Numbers: [3, 66, 129]
Generated Node #2: [3, 66, 129] from Operation: 69+60=129
Current State: 60:[3, 66, 129], Operations: ['69+60=129']
Exploring Operation: 3+66=69, Resulting Numbers: [129, 69]
Generated Node #3: [129, 69] from Operation: 3+66=69
Current State: 60:[129, 69], Operations: ['69+60=129', '3+66=69']
Exploring Operation: 129-69=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[69, 60, 3, 66], Operations: []
Exploring Operation: 66/3=22, Resulting Numbers: [69, 60, 22]
Generated Node #0,0: 60:[69, 60, 22] Operation: 66/3=22
Exploring Operation: 69-60=9, Resulting Numbers: [3, 66, 9]
Generated Node #0,1: 60:[3, 66, 9] Operation: 69-60=9
Exploring Operation: 69-66=3, Resulting Numbers: [60, 3, 3]
Generated Node #0,2: 60:[60, 3, 3] Operation: 69-66=3
Exploring Operation: 66-60=6, Resulting Numbers: [69, 3, 6]
Generated Node #0,3: 60:[69, 3, 6] Operation: 66-60=6
Exploring Operation: 69/3=23, Resulting Numbers: [60, 66, 23]
Generated Node #0,4: 60:[60, 66, 23] Operation: 69/3=23
Start Sub Search at level 1: Moving to Node #0,2
Current State: 60:[60, 3, 3], Operations: ['69-66=3']
Exploring Operation: 60/3=20, Resulting Numbers: [3, 20]
Generated Node #0,2,0: 60:[3, 20] Operation: 60/3=20
Exploring Operation: 3+3=6, Resulting Numbers: [60, 6]
Generated Node #0,2,1: 60:[60, 6] Operation: 3+3=6
Exploring Operation: 3*3=9, Resulting Numbers: [60, 9]
Generated Node #0,2,2: 60:[60, 9] Operation: 3*3=9
Exploring Operation: 60/3=20, Resulting Numbers: [3, 20]
Generated Node #0,2,3: 60:[3, 20] Operation: 60/3=20
Exploring Operation: 3/3=1, Resulting Numbers: [60, 1]
Generated Node #0,2,4: 60:[60, 1] Operation: 3/3=1
Moving to Node #0,2,0
Current State: 60:[3, 20], Operations: ['69-66=3', '60/3=20']
Exploring Operation: 3+20=23, Resulting Numbers: [23]
23,60 unequal: No Solution
Exploring Operation: 3*20=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[69, 60, 3, 66], Operations: []
Exploring Operation: 69-66=3, Resulting Numbers: [60, 3, 3]
Generated Node #0,2: 60:[60, 3, 3] Operation: 69-66=3
Moving to Node #0,2
Current State: 60:[60, 3, 3], Operations: ['69-66=3']
Exploring Operation: 60/3=20, Resulting Numbers: [3, 20]
Generated Node #0,2,0: 60:[3, 20] Operation: 60/3=20
Moving to Node #0,2,0
Current State: 60:[3, 20], Operations: ['69-66=3', '60/3=20']
Exploring Operation: 3*20=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
5,
61,
59,
85
] | 45 | [
"5+85=90",
"61-59=2",
"90/2=45"
] | Current State: 45:[5, 61, 59, 85], Operations: []
Exploring Operation: 5+85=90, Resulting Numbers: [61, 59, 90]
Generated Node #2: [61, 59, 90] from Operation: 5+85=90
Current State: 45:[61, 59, 90], Operations: ['5+85=90']
Exploring Operation: 61-59=2, Resulting Numbers: [90, 2]
Generated Node #3: [90, 2] from Operation: 61-59=2
Current State: 45:[90, 2], Operations: ['5+85=90', '61-59=2']
Exploring Operation: 90/2=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[5, 61, 59, 85], Operations: []
Exploring Operation: 85/5=17, Resulting Numbers: [61, 59, 17]
Generated Node #0,0: 45:[61, 59, 17] Operation: 85/5=17
Exploring Operation: 61-59=2, Resulting Numbers: [5, 85, 2]
Generated Node #0,1: 45:[5, 85, 2] Operation: 61-59=2
Exploring Operation: 85-61=24, Resulting Numbers: [5, 59, 24]
Generated Node #0,2: 45:[5, 59, 24] Operation: 85-61=24
Exploring Operation: 85-59=26, Resulting Numbers: [5, 61, 26]
Generated Node #0,3: 45:[5, 61, 26] Operation: 85-59=26
Exploring Operation: 61-5=56, Resulting Numbers: [59, 85, 56]
Generated Node #0,4: 45:[59, 85, 56] Operation: 61-5=56
Start Sub Search at level 1: Moving to Node #0,2
Current State: 45:[5, 59, 24], Operations: ['85-61=24']
Exploring Operation: 5+24=29, Resulting Numbers: [59, 29]
Generated Node #0,2,0: 45:[59, 29] Operation: 5+24=29
Exploring Operation: 24-5=19, Resulting Numbers: [59, 19]
Generated Node #0,2,1: 45:[59, 19] Operation: 24-5=19
Exploring Operation: 59-5=54, Resulting Numbers: [24, 54]
Generated Node #0,2,2: 45:[24, 54] Operation: 59-5=54
Exploring Operation: 59-24=35, Resulting Numbers: [5, 35]
Generated Node #0,2,3: 45:[5, 35] Operation: 59-24=35
Exploring Operation: 5+59=64, Resulting Numbers: [24, 64]
Generated Node #0,2,4: 45:[24, 64] Operation: 5+59=64
Moving to Node #0,2,3
Current State: 45:[5, 35], Operations: ['85-61=24', '59-24=35']
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,45 unequal: No Solution
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,45 unequal: No Solution
Exploring Operation: 5+35=40, Resulting Numbers: [40]
40,45 unequal: No Solution
Exploring Operation: 5*35=175, Resulting Numbers: [175]
175,45 unequal: No Solution
Moving to Node #0,2,2
Current State: 45:[24, 54], Operations: ['85-61=24', '59-5=54']
Exploring Operation: 24+54=78, Resulting Numbers: [78]
78,45 unequal: No Solution
Exploring Operation: 24*54=1296, Resulting Numbers: [1296]
1296,45 unequal: No Solution
Exploring Operation: 54-24=30, Resulting Numbers: [30]
30,45 unequal: No Solution
Moving to Node #0,2,1
Current State: 45:[59, 19], Operations: ['85-61=24', '24-5=19']
Exploring Operation: 59+19=78, Resulting Numbers: [78]
78,45 unequal: No Solution
Exploring Operation: 59*19=1121, Resulting Numbers: [1121]
1121,45 unequal: No Solution
Exploring Operation: 59-19=40, Resulting Numbers: [40]
40,45 unequal: No Solution
Moving to Node #0,2,0
Current State: 45:[59, 29], Operations: ['85-61=24', '5+24=29']
Exploring Operation: 59-29=30, Resulting Numbers: [30]
30,45 unequal: No Solution
Exploring Operation: 59*29=1711, Resulting Numbers: [1711]
1711,45 unequal: No Solution
Exploring Operation: 59+29=88, Resulting Numbers: [88]
88,45 unequal: No Solution
Moving to Node #0,2,4
Current State: 45:[24, 64], Operations: ['85-61=24', '5+59=64']
Exploring Operation: 24+64=88, Resulting Numbers: [88]
88,45 unequal: No Solution
Exploring Operation: 24*64=1536, Resulting Numbers: [1536]
1536,45 unequal: No Solution
Exploring Operation: 64-24=40, Resulting Numbers: [40]
40,45 unequal: No Solution
No 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: 45:[5, 61, 26], Operations: ['85-59=26']
Exploring Operation: 5+26=31, Resulting Numbers: [61, 31]
Generated Node #0,3,0: 45:[61, 31] Operation: 5+26=31
Exploring Operation: 5+61=66, Resulting Numbers: [26, 66]
Generated Node #0,3,1: 45:[26, 66] Operation: 5+61=66
Exploring Operation: 61-5=56, Resulting Numbers: [26, 56]
Generated Node #0,3,2: 45:[26, 56] Operation: 61-5=56
Exploring Operation: 26-5=21, Resulting Numbers: [61, 21]
Generated Node #0,3,3: 45:[61, 21] Operation: 26-5=21
Exploring Operation: 61-26=35, Resulting Numbers: [5, 35]
Generated Node #0,3,4: 45:[5, 35] Operation: 61-26=35
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 45:[5, 35], Operations: ['85-59=26', '61-26=35']
Exploring Operation: 5*35=175, Resulting Numbers: [175]
175,45 unequal: No Solution
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,45 unequal: No Solution
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,45 unequal: No Solution
Exploring Operation: 5+35=40, Resulting Numbers: [40]
40,45 unequal: No Solution
No 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: 45:[26, 56], Operations: ['85-59=26', '61-5=56']
Exploring Operation: 56-26=30, Resulting Numbers: [30]
30,45 unequal: No Solution
Exploring Operation: 26*56=1456, Resulting Numbers: [1456]
1456,45 unequal: No Solution
Exploring Operation: 26+56=82, Resulting Numbers: [82]
82,45 unequal: No Solution
No 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: 45:[61, 21], Operations: ['85-59=26', '26-5=21']
Exploring Operation: 61-21=40, Resulting Numbers: [40]
40,45 unequal: No Solution
Exploring Operation: 61*21=1281, Resulting Numbers: [1281]
1281,45 unequal: No Solution
Exploring Operation: 61+21=82, Resulting Numbers: [82]
82,45 unequal: No Solution
No 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: 45:[61, 31], Operations: ['85-59=26', '5+26=31']
Exploring Operation: 61+31=92, Resulting Numbers: [92]
92,45 unequal: No Solution
Exploring Operation: 61-31=30, Resulting Numbers: [30]
30,45 unequal: No Solution
Exploring Operation: 61*31=1891, Resulting Numbers: [1891]
1891,45 unequal: No Solution
No 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: 45:[26, 66], Operations: ['85-59=26', '5+61=66']
Exploring Operation: 26+66=92, Resulting Numbers: [92]
92,45 unequal: No Solution
Exploring Operation: 66-26=40, Resulting Numbers: [40]
40,45 unequal: No Solution
Exploring Operation: 26*66=1716, Resulting Numbers: [1716]
1716,45 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: 45:[61, 59, 17], Operations: ['85/5=17']
Exploring Operation: 59-17=42, Resulting Numbers: [61, 42]
Generated Node #0,0,0: 45:[61, 42] Operation: 59-17=42
Exploring Operation: 59+17=76, Resulting Numbers: [61, 76]
Generated Node #0,0,1: 45:[61, 76] Operation: 59+17=76
Exploring Operation: 61-17=44, Resulting Numbers: [59, 44]
Generated Node #0,0,2: 45:[59, 44] Operation: 61-17=44
Exploring Operation: 61-59=2, Resulting Numbers: [17, 2]
Generated Node #0,0,3: 45:[17, 2] Operation: 61-59=2
Exploring Operation: 61+17=78, Resulting Numbers: [59, 78]
Generated Node #0,0,4: 45:[59, 78] Operation: 61+17=78
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 45:[17, 2], Operations: ['85/5=17', '61-59=2']
Exploring Operation: 17+2=19, Resulting Numbers: [19]
19,45 unequal: No Solution
Exploring Operation: 17*2=34, Resulting Numbers: [34]
34,45 unequal: No Solution
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,45 unequal: No Solution
No 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: 45:[59, 44], Operations: ['85/5=17', '61-17=44']
Exploring Operation: 59-44=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 59*44=2596, Resulting Numbers: [2596]
2596,45 unequal: No Solution
Exploring Operation: 59+44=103, Resulting Numbers: [103]
103,45 unequal: No Solution
No 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: 45:[61, 42], Operations: ['85/5=17', '59-17=42']
Exploring Operation: 61-42=19, Resulting Numbers: [19]
19,45 unequal: No Solution
Exploring Operation: 61+42=103, Resulting Numbers: [103]
103,45 unequal: No Solution
Exploring Operation: 61*42=2562, Resulting Numbers: [2562]
2562,45 unequal: No Solution
No 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: 45:[61, 76], Operations: ['85/5=17', '59+17=76']
Exploring Operation: 76-61=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 61*76=4636, Resulting Numbers: [4636]
4636,45 unequal: No Solution
Exploring Operation: 61+76=137, Resulting Numbers: [137]
137,45 unequal: No Solution
No 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: 45:[59, 78], Operations: ['85/5=17', '61+17=78']
Exploring Operation: 59*78=4602, Resulting Numbers: [4602]
4602,45 unequal: No Solution
Exploring Operation: 59+78=137, Resulting Numbers: [137]
137,45 unequal: No Solution
Exploring Operation: 78-59=19, Resulting Numbers: [19]
19,45 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: 45:[5, 85, 2], Operations: ['61-59=2']
Exploring Operation: 5*2=10, Resulting Numbers: [85, 10]
Generated Node #0,1,0: 45:[85, 10] Operation: 5*2=10
Exploring Operation: 85-2=83, Resulting Numbers: [5, 83]
Generated Node #0,1,1: 45:[5, 83] Operation: 85-2=83
Exploring Operation: 85/5=17, Resulting Numbers: [2, 17]
Generated Node #0,1,2: 45:[2, 17] Operation: 85/5=17
Exploring Operation: 85-5=80, Resulting Numbers: [2, 80]
Generated Node #0,1,3: 45:[2, 80] Operation: 85-5=80
Exploring Operation: 5-2=3, Resulting Numbers: [85, 3]
Generated Node #0,1,4: 45:[85, 3] Operation: 5-2=3
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 45:[2, 17], Operations: ['61-59=2', '85/5=17']
Exploring Operation: 17-2=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 2*17=34, Resulting Numbers: [34]
34,45 unequal: No Solution
Exploring Operation: 2+17=19, Resulting Numbers: [19]
19,45 unequal: No Solution
No 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: 45:[2, 80], Operations: ['61-59=2', '85-5=80']
Exploring Operation: 2*80=160, Resulting Numbers: [160]
160,45 unequal: No Solution
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,45 unequal: No Solution
Exploring Operation: 80/2=40, Resulting Numbers: [40]
40,45 unequal: No Solution
Exploring Operation: 2+80=82, Resulting Numbers: [82]
82,45 unequal: No Solution
No 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: 45:[5, 83], Operations: ['61-59=2', '85-2=83']
Exploring Operation: 5*83=415, Resulting Numbers: [415]
415,45 unequal: No Solution
Exploring Operation: 83-5=78, Resulting Numbers: [78]
78,45 unequal: No Solution
Exploring Operation: 5+83=88, Resulting Numbers: [88]
88,45 unequal: No Solution
No 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: 45:[85, 3], Operations: ['61-59=2', '5-2=3']
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,45 unequal: No Solution
Exploring Operation: 85+3=88, Resulting Numbers: [88]
88,45 unequal: No Solution
Exploring Operation: 85*3=255, Resulting Numbers: [255]
255,45 unequal: No Solution
No 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: 45:[85, 10], Operations: ['61-59=2', '5*2=10']
Exploring Operation: 85+10=95, Resulting Numbers: [95]
95,45 unequal: No Solution
Exploring Operation: 85*10=850, Resulting Numbers: [850]
850,45 unequal: No Solution
Exploring Operation: 85-10=75, Resulting Numbers: [75]
75,45 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: 45:[59, 85, 56], Operations: ['61-5=56']
Exploring Operation: 85-56=29, Resulting Numbers: [59, 29]
Generated Node #0,4,0: 45:[59, 29] Operation: 85-56=29
Exploring Operation: 59-56=3, Resulting Numbers: [85, 3]
Generated Node #0,4,1: 45:[85, 3] Operation: 59-56=3
Exploring Operation: 59+85=144, Resulting Numbers: [56, 144]
Generated Node #0,4,2: 45:[56, 144] Operation: 59+85=144
Exploring Operation: 59+56=115, Resulting Numbers: [85, 115]
Generated Node #0,4,3: 45:[85, 115] Operation: 59+56=115
Exploring Operation: 85-59=26, Resulting Numbers: [56, 26]
Generated Node #0,4,4: 45:[56, 26] Operation: 85-59=26
Moving to Node #0,4,4
Current State: 45:[56, 26], Operations: ['61-5=56', '85-59=26']
Exploring Operation: 56*26=1456, Resulting Numbers: [1456]
1456,45 unequal: No Solution
Exploring Operation: 56+26=82, Resulting Numbers: [82]
82,45 unequal: No Solution
Exploring Operation: 56-26=30, Resulting Numbers: [30]
30,45 unequal: No Solution
Moving to Node #0,4,0
Current State: 45:[59, 29], Operations: ['61-5=56', '85-56=29']
Exploring Operation: 59+29=88, Resulting Numbers: [88]
88,45 unequal: No Solution
Exploring Operation: 59*29=1711, Resulting Numbers: [1711]
1711,45 unequal: No Solution
Exploring Operation: 59-29=30, Resulting Numbers: [30]
30,45 unequal: No Solution
Moving to Node #0,4,1
Current State: 45:[85, 3], Operations: ['61-5=56', '59-56=3']
Exploring Operation: 85*3=255, Resulting Numbers: [255]
255,45 unequal: No Solution
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,45 unequal: No Solution
Exploring Operation: 85+3=88, Resulting Numbers: [88]
88,45 unequal: No Solution
Moving to Node #0,4,2
Current State: 45:[56, 144], Operations: ['61-5=56', '59+85=144']
Exploring Operation: 144-56=88, Resulting Numbers: [88]
88,45 unequal: No Solution
Exploring Operation: 56*144=8064, Resulting Numbers: [8064]
8064,45 unequal: No Solution
Exploring Operation: 56+144=200, Resulting Numbers: [200]
200,45 unequal: No Solution
Moving to Node #0,4,3
Current State: 45:[85, 115], Operations: ['61-5=56', '59+56=115']
Exploring Operation: 85*115=9775, Resulting Numbers: [9775]
9775,45 unequal: No Solution
Exploring Operation: 115-85=30, Resulting Numbers: [30]
30,45 unequal: No Solution
Exploring Operation: 85+115=200, Resulting Numbers: [200]
200,45 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 |
[
52,
31,
99,
3
] | 92 | [
"52-31=21",
"21/3=7",
"99-7=92"
] | Current State: 92:[52, 31, 99, 3], Operations: []
Exploring Operation: 52-31=21, Resulting Numbers: [99, 3, 21]
Generated Node #2: [99, 3, 21] from Operation: 52-31=21
Current State: 92:[99, 3, 21], Operations: ['52-31=21']
Exploring Operation: 21/3=7, Resulting Numbers: [99, 7]
Generated Node #3: [99, 7] from Operation: 21/3=7
Current State: 92:[99, 7], Operations: ['52-31=21', '21/3=7']
Exploring Operation: 99-7=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[52, 31, 99, 3], Operations: []
Exploring Operation: 52-31=21, Resulting Numbers: [99, 3, 21]
Generated Node #0,0: 92:[99, 3, 21] Operation: 52-31=21
Moving to Node #0,0
Current State: 92:[99, 3, 21], Operations: ['52-31=21']
Exploring Operation: 99-3=96, Resulting Numbers: [21, 96]
Generated Node #0,0,0: 92:[21, 96] Operation: 99-3=96
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 92:[21, 96], Operations: ['52-31=21', '99-3=96']
Exploring Operation: 96-21=75, Resulting Numbers: [75]
75,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 |
[
1,
72,
24,
26
] | 64 | [
"1+26=27",
"72*24=1728",
"1728/27=64"
] | Current State: 64:[1, 72, 24, 26], Operations: []
Exploring Operation: 1+26=27, Resulting Numbers: [72, 24, 27]
Generated Node #2: [72, 24, 27] from Operation: 1+26=27
Current State: 64:[72, 24, 27], Operations: ['1+26=27']
Exploring Operation: 72*24=1728, Resulting Numbers: [27, 1728]
Generated Node #3: [27, 1728] from Operation: 72*24=1728
Current State: 64:[27, 1728], Operations: ['1+26=27', '72*24=1728']
Exploring Operation: 1728/27=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[1, 72, 24, 26], Operations: []
Exploring Operation: 24-1=23, Resulting Numbers: [72, 26, 23]
Generated Node #0,0: 64:[72, 26, 23] Operation: 24-1=23
Exploring Operation: 72-1=71, Resulting Numbers: [24, 26, 71]
Generated Node #0,1: 64:[24, 26, 71] Operation: 72-1=71
Exploring Operation: 72/24=3, Resulting Numbers: [1, 26, 3]
Generated Node #0,2: 64:[1, 26, 3] Operation: 72/24=3
Exploring Operation: 26-24=2, Resulting Numbers: [1, 72, 2]
Generated Node #0,3: 64:[1, 72, 2] Operation: 26-24=2
Exploring Operation: 1+24=25, Resulting Numbers: [72, 26, 25]
Generated Node #0,4: 64:[72, 26, 25] Operation: 1+24=25
Moving to Node #0,2
Current State: 64:[1, 26, 3], Operations: ['72/24=3']
Exploring Operation: 1*26=26, Resulting Numbers: [3, 26]
Generated Node #0,2,0: 64:[3, 26] Operation: 1*26=26
Exploring Operation: 26+3=29, Resulting Numbers: [1, 29]
Generated Node #0,2,1: 64:[1, 29] Operation: 26+3=29
Exploring Operation: 1+26=27, Resulting Numbers: [3, 27]
Generated Node #0,2,2: 64:[3, 27] Operation: 1+26=27
Exploring Operation: 1+3=4, Resulting Numbers: [26, 4]
Generated Node #0,2,3: 64:[26, 4] Operation: 1+3=4
Exploring Operation: 3-1=2, Resulting Numbers: [26, 2]
Generated Node #0,2,4: 64:[26, 2] Operation: 3-1=2
Moving to Node #0,3
Current State: 64:[1, 72, 2], Operations: ['26-24=2']
Exploring Operation: 72/2=36, Resulting Numbers: [1, 36]
Generated Node #0,3,0: 64:[1, 36] Operation: 72/2=36
Exploring Operation: 72-1=71, Resulting Numbers: [2, 71]
Generated Node #0,3,1: 64:[2, 71] Operation: 72-1=71
Exploring Operation: 72/1=72, Resulting Numbers: [2, 72]
Generated Node #0,3,2: 64:[2, 72] Operation: 72/1=72
Exploring Operation: 72-2=70, Resulting Numbers: [1, 70]
Generated Node #0,3,3: 64:[1, 70] Operation: 72-2=70
Exploring Operation: 1*72=72, Resulting Numbers: [2, 72]
Generated Node #0,3,4: 64:[2, 72] Operation: 1*72=72
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 64:[1, 36], Operations: ['26-24=2', '72/2=36']
Exploring Operation: 36-1=35, Resulting Numbers: [35]
35,64 unequal: No Solution
Exploring Operation: 1*36=36, Resulting Numbers: [36]
36,64 unequal: No Solution
Exploring Operation: 1+36=37, Resulting Numbers: [37]
37,64 unequal: No Solution
Exploring Operation: 36/1=36, Resulting Numbers: [36]
36,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,3,1
Current State: 64:[2, 71], Operations: ['26-24=2', '72-1=71']
Exploring Operation: 2+71=73, Resulting Numbers: [73]
73,64 unequal: No Solution
Exploring Operation: 2*71=142, Resulting Numbers: [142]
142,64 unequal: No Solution
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,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,3,3
Current State: 64:[1, 70], Operations: ['26-24=2', '72-2=70']
Exploring Operation: 1*70=70, Resulting Numbers: [70]
70,64 unequal: No Solution
Exploring Operation: 1+70=71, Resulting Numbers: [71]
71,64 unequal: No Solution
Exploring Operation: 70/1=70, Resulting Numbers: [70]
70,64 unequal: No Solution
Exploring Operation: 70-1=69, Resulting Numbers: [69]
69,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,3,2
Current State: 64:[2, 72], Operations: ['26-24=2', '72/1=72']
Exploring Operation: 2*72=144, Resulting Numbers: [144]
144,64 unequal: No Solution
Exploring Operation: 2+72=74, Resulting Numbers: [74]
74,64 unequal: No Solution
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,64 unequal: No Solution
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,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,3,4
Current State: 64:[2, 72], Operations: ['26-24=2', '1*72=72']
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,64 unequal: No Solution
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,64 unequal: No Solution
Exploring Operation: 2+72=74, Resulting Numbers: [74]
74,64 unequal: No Solution
Exploring Operation: 2*72=144, Resulting Numbers: [144]
144,64 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: 64:[72, 26, 23], Operations: ['24-1=23']
Exploring Operation: 72+23=95, Resulting Numbers: [26, 95]
Generated Node #0,0,0: 64:[26, 95] Operation: 72+23=95
Exploring Operation: 72-26=46, Resulting Numbers: [23, 46]
Generated Node #0,0,1: 64:[23, 46] Operation: 72-26=46
Exploring Operation: 26+23=49, Resulting Numbers: [72, 49]
Generated Node #0,0,2: 64:[72, 49] Operation: 26+23=49
Exploring Operation: 72-23=49, Resulting Numbers: [26, 49]
Generated Node #0,0,3: 64:[26, 49] Operation: 72-23=49
Exploring Operation: 26-23=3, Resulting Numbers: [72, 3]
Generated Node #0,0,4: 64:[72, 3] Operation: 26-23=3
Moving to Node #0,1
Current State: 64:[24, 26, 71], Operations: ['72-1=71']
Exploring Operation: 24+71=95, Resulting Numbers: [26, 95]
Generated Node #0,1,0: 64:[26, 95] Operation: 24+71=95
Exploring Operation: 24+26=50, Resulting Numbers: [71, 50]
Generated Node #0,1,1: 64:[71, 50] Operation: 24+26=50
Exploring Operation: 71-26=45, Resulting Numbers: [24, 45]
Generated Node #0,1,2: 64:[24, 45] Operation: 71-26=45
Exploring Operation: 26-24=2, Resulting Numbers: [71, 2]
Generated Node #0,1,3: 64:[71, 2] Operation: 26-24=2
Exploring Operation: 71-24=47, Resulting Numbers: [26, 47]
Generated Node #0,1,4: 64:[26, 47] Operation: 71-24=47
Moving to Node #0,4
Current State: 64:[72, 26, 25], Operations: ['1+24=25']
Exploring Operation: 72-25=47, Resulting Numbers: [26, 47]
Generated Node #0,4,0: 64:[26, 47] Operation: 72-25=47
Exploring Operation: 26+25=51, Resulting Numbers: [72, 51]
Generated Node #0,4,1: 64:[72, 51] Operation: 26+25=51
Exploring Operation: 72-26=46, Resulting Numbers: [25, 46]
Generated Node #0,4,2: 64:[25, 46] Operation: 72-26=46
Exploring Operation: 72+25=97, Resulting Numbers: [26, 97]
Generated Node #0,4,3: 64:[26, 97] Operation: 72+25=97
Exploring Operation: 26-25=1, Resulting Numbers: [72, 1]
Generated Node #0,4,4: 64:[72, 1] Operation: 26-25=1
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 64:[72, 1], Operations: ['1+24=25', '26-25=1']
Exploring Operation: 72-1=71, Resulting Numbers: [71]
71,64 unequal: No Solution
Exploring Operation: 72+1=73, Resulting Numbers: [73]
73,64 unequal: No Solution
Exploring Operation: 72*1=72, Resulting Numbers: [72]
72,64 unequal: No Solution
Exploring Operation: 72/1=72, Resulting Numbers: [72]
72,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,4,0
Current State: 64:[26, 47], Operations: ['1+24=25', '72-25=47']
Exploring Operation: 26+47=73, Resulting Numbers: [73]
73,64 unequal: No Solution
Exploring Operation: 26*47=1222, Resulting Numbers: [1222]
1222,64 unequal: No Solution
Exploring Operation: 47-26=21, Resulting Numbers: [21]
21,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,4,1
Current State: 64:[72, 51], Operations: ['1+24=25', '26+25=51']
Exploring Operation: 72*51=3672, Resulting Numbers: [3672]
3672,64 unequal: No Solution
Exploring Operation: 72+51=123, Resulting Numbers: [123]
123,64 unequal: No Solution
Exploring Operation: 72-51=21, Resulting Numbers: [21]
21,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,4,2
Current State: 64:[25, 46], Operations: ['1+24=25', '72-26=46']
Exploring Operation: 46-25=21, Resulting Numbers: [21]
21,64 unequal: No Solution
Exploring Operation: 25+46=71, Resulting Numbers: [71]
71,64 unequal: No Solution
Exploring Operation: 25*46=1150, Resulting Numbers: [1150]
1150,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,4,3
Current State: 64:[26, 97], Operations: ['1+24=25', '72+25=97']
Exploring Operation: 97-26=71, Resulting Numbers: [71]
71,64 unequal: No Solution
Exploring Operation: 26*97=2522, Resulting Numbers: [2522]
2522,64 unequal: No Solution
Exploring Operation: 26+97=123, Resulting Numbers: [123]
123,64 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: 64:[1, 29], Operations: ['72/24=3', '26+3=29']
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,64 unequal: No Solution
Exploring Operation: 1+29=30, Resulting Numbers: [30]
30,64 unequal: No Solution
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,64 unequal: No Solution
Exploring Operation: 1*29=29, Resulting Numbers: [29]
29,64 unequal: No Solution
Moving to Node #0,2,3
Current State: 64:[26, 4], Operations: ['72/24=3', '1+3=4']
Exploring Operation: 26*4=104, Resulting Numbers: [104]
104,64 unequal: No Solution
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,64 unequal: No Solution
Exploring Operation: 26+4=30, Resulting Numbers: [30]
30,64 unequal: No Solution
Moving to Node #0,2,2
Current State: 64:[3, 27], Operations: ['72/24=3', '1+26=27']
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,64 unequal: No Solution
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,64 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,64 unequal: No Solution
Exploring Operation: 3+27=30, Resulting Numbers: [30]
30,64 unequal: No Solution
Moving to Node #0,2,4
Current State: 64:[26, 2], Operations: ['72/24=3', '3-1=2']
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,64 unequal: No Solution
Exploring Operation: 26*2=52, Resulting Numbers: [52]
52,64 unequal: No Solution
Exploring Operation: 26+2=28, Resulting Numbers: [28]
28,64 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,64 unequal: No Solution
Moving to Node #0,2,0
Current State: 64:[3, 26], Operations: ['72/24=3', '1*26=26']
Exploring Operation: 3*26=78, Resulting Numbers: [78]
78,64 unequal: No Solution
Exploring Operation: 3+26=29, Resulting Numbers: [29]
29,64 unequal: No Solution
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,64 unequal: No Solution
Moving to Node #0,1,3
Current State: 64:[71, 2], Operations: ['72-1=71', '26-24=2']
Exploring Operation: 71+2=73, Resulting Numbers: [73]
73,64 unequal: No Solution
Exploring Operation: 71*2=142, Resulting Numbers: [142]
142,64 unequal: No Solution
Exploring Operation: 71-2=69, Resulting Numbers: [69]
69,64 unequal: No Solution
Moving to Node #0,0,4
Current State: 64:[72, 3], Operations: ['24-1=23', '26-23=3']
Exploring Operation: 72*3=216, Resulting Numbers: [216]
216,64 unequal: No Solution
Exploring Operation: 72/3=24, Resulting Numbers: [24]
24,64 unequal: No Solution
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,64 unequal: No Solution
Exploring Operation: 72+3=75, Resulting Numbers: [75]
75,64 unequal: No Solution
Moving to Node #0,0,1
Current State: 64:[23, 46], Operations: ['24-1=23', '72-26=46']
Exploring Operation: 23+46=69, Resulting Numbers: [69]
69,64 unequal: No Solution
Exploring Operation: 23*46=1058, Resulting Numbers: [1058]
1058,64 unequal: No Solution
Exploring Operation: 46-23=23, Resulting Numbers: [23]
23,64 unequal: No Solution
Exploring Operation: 46/23=2, Resulting Numbers: [2]
2,64 unequal: No Solution
Moving to Node #0,1,2
Current State: 64:[24, 45], Operations: ['72-1=71', '71-26=45']
Exploring Operation: 45-24=21, Resulting Numbers: [21]
21,64 unequal: No Solution
Exploring Operation: 24+45=69, Resulting Numbers: [69]
69,64 unequal: No Solution
Exploring Operation: 24*45=1080, Resulting Numbers: [1080]
1080,64 unequal: No Solution
Moving to Node #0,1,4
Current State: 64:[26, 47], Operations: ['72-1=71', '71-24=47']
Exploring Operation: 47-26=21, Resulting Numbers: [21]
21,64 unequal: No Solution
Exploring Operation: 26+47=73, Resulting Numbers: [73]
73,64 unequal: No Solution
Exploring Operation: 26*47=1222, Resulting Numbers: [1222]
1222,64 unequal: No Solution
Moving to Node #0,1,1
Current State: 64:[71, 50], Operations: ['72-1=71', '24+26=50']
Exploring Operation: 71*50=3550, Resulting Numbers: [3550]
3550,64 unequal: No Solution
Exploring Operation: 71+50=121, Resulting Numbers: [121]
121,64 unequal: No Solution
Exploring Operation: 71-50=21, Resulting Numbers: [21]
21,64 unequal: No Solution
Moving to Node #0,0,3
Current State: 64:[26, 49], Operations: ['24-1=23', '72-23=49']
Exploring Operation: 26+49=75, Resulting Numbers: [75]
75,64 unequal: No Solution
Exploring Operation: 49-26=23, Resulting Numbers: [23]
23,64 unequal: No Solution
Exploring Operation: 26*49=1274, Resulting Numbers: [1274]
1274,64 unequal: No Solution
Moving to Node #0,0,2
Current State: 64:[72, 49], Operations: ['24-1=23', '26+23=49']
Exploring Operation: 72*49=3528, Resulting Numbers: [3528]
3528,64 unequal: No Solution
Exploring Operation: 72-49=23, Resulting Numbers: [23]
23,64 unequal: No Solution
Exploring Operation: 72+49=121, Resulting Numbers: [121]
121,64 unequal: No Solution
Moving to Node #0,1,0
Current State: 64:[26, 95], Operations: ['72-1=71', '24+71=95']
Exploring Operation: 26*95=2470, Resulting Numbers: [2470]
2470,64 unequal: No Solution
Exploring Operation: 26+95=121, Resulting Numbers: [121]
121,64 unequal: No Solution
Exploring Operation: 95-26=69, Resulting Numbers: [69]
69,64 unequal: No Solution
Moving to Node #0,0,0
Current State: 64:[26, 95], Operations: ['24-1=23', '72+23=95']
Exploring Operation: 95-26=69, Resulting Numbers: [69]
69,64 unequal: No Solution
Exploring Operation: 26+95=121, Resulting Numbers: [121]
121,64 unequal: No Solution
Exploring Operation: 26*95=2470, Resulting Numbers: [2470]
2470,64 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
12,
23,
93,
97
] | 15 | [
"23-12=11",
"97-93=4",
"11+4=15"
] | Current State: 15:[12, 23, 93, 97], Operations: []
Exploring Operation: 23-12=11, Resulting Numbers: [93, 97, 11]
Generated Node #2: [93, 97, 11] from Operation: 23-12=11
Current State: 15:[93, 97, 11], Operations: ['23-12=11']
Exploring Operation: 97-93=4, Resulting Numbers: [11, 4]
Generated Node #3: [11, 4] from Operation: 97-93=4
Current State: 15:[11, 4], Operations: ['23-12=11', '97-93=4']
Exploring Operation: 11+4=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[12, 23, 93, 97], Operations: []
Exploring Operation: 97-12=85, Resulting Numbers: [23, 93, 85]
Generated Node #0,0: 15:[23, 93, 85] Operation: 97-12=85
Exploring Operation: 97-23=74, Resulting Numbers: [12, 93, 74]
Generated Node #0,1: 15:[12, 93, 74] Operation: 97-23=74
Exploring Operation: 93-23=70, Resulting Numbers: [12, 97, 70]
Generated Node #0,2: 15:[12, 97, 70] Operation: 93-23=70
Exploring Operation: 93-12=81, Resulting Numbers: [23, 97, 81]
Generated Node #0,3: 15:[23, 97, 81] Operation: 93-12=81
Exploring Operation: 97-93=4, Resulting Numbers: [12, 23, 4]
Generated Node #0,4: 15:[12, 23, 4] Operation: 97-93=4
Start Sub Search at level 1: Moving to Node #0,4
Current State: 15:[12, 23, 4], Operations: ['97-93=4']
Exploring Operation: 12+4=16, Resulting Numbers: [23, 16]
Generated Node #0,4,0: 15:[23, 16] Operation: 12+4=16
Exploring Operation: 23-4=19, Resulting Numbers: [12, 19]
Generated Node #0,4,1: 15:[12, 19] Operation: 23-4=19
Exploring Operation: 12-4=8, Resulting Numbers: [23, 8]
Generated Node #0,4,2: 15:[23, 8] Operation: 12-4=8
Exploring Operation: 23-12=11, Resulting Numbers: [4, 11]
Generated Node #0,4,3: 15:[4, 11] Operation: 23-12=11
Exploring Operation: 12/4=3, Resulting Numbers: [23, 3]
Generated Node #0,4,4: 15:[23, 3] Operation: 12/4=3
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 15:[4, 11], Operations: ['97-93=4', '23-12=11']
Exploring Operation: 4*11=44, Resulting Numbers: [44]
44,15 unequal: No Solution
Exploring Operation: 11-4=7, Resulting Numbers: [7]
7,15 unequal: No Solution
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[12, 23, 93, 97], Operations: []
Exploring Operation: 97-93=4, Resulting Numbers: [12, 23, 4]
Generated Node #0,4: 15:[12, 23, 4] Operation: 97-93=4
Moving to Node #0,4
Current State: 15:[12, 23, 4], Operations: ['97-93=4']
Exploring Operation: 23-12=11, Resulting Numbers: [4, 11]
Generated Node #0,4,3: 15:[4, 11] Operation: 23-12=11
Moving to Node #0,4,3
Current State: 15:[4, 11], Operations: ['97-93=4', '23-12=11']
Exploring Operation: 4+11=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
67,
66,
3,
18
] | 21 | [
"67-66=1",
"3+18=21",
"1*21=21"
] | Current State: 21:[67, 66, 3, 18], Operations: []
Exploring Operation: 67-66=1, Resulting Numbers: [3, 18, 1]
Generated Node #2: [3, 18, 1] from Operation: 67-66=1
Current State: 21:[3, 18, 1], Operations: ['67-66=1']
Exploring Operation: 3+18=21, Resulting Numbers: [1, 21]
Generated Node #3: [1, 21] from Operation: 3+18=21
Current State: 21:[1, 21], Operations: ['67-66=1', '3+18=21']
Exploring Operation: 1*21=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[67, 66, 3, 18], Operations: []
Exploring Operation: 67-18=49, Resulting Numbers: [66, 3, 49]
Generated Node #0,0: 21:[66, 3, 49] Operation: 67-18=49
Exploring Operation: 67-66=1, Resulting Numbers: [3, 18, 1]
Generated Node #0,1: 21:[3, 18, 1] Operation: 67-66=1
Exploring Operation: 66/3=22, Resulting Numbers: [67, 18, 22]
Generated Node #0,2: 21:[67, 18, 22] Operation: 66/3=22
Exploring Operation: 66-18=48, Resulting Numbers: [67, 3, 48]
Generated Node #0,3: 21:[67, 3, 48] Operation: 66-18=48
Moving to Node #0,1
Current State: 21:[3, 18, 1], Operations: ['67-66=1']
Exploring Operation: 3*1=3, Resulting Numbers: [18, 3]
Generated Node #0,1,0: 21:[18, 3] Operation: 3*1=3
Exploring Operation: 3+18=21, Resulting Numbers: [1, 21]
Generated Node #0,1,1: 21:[1, 21] Operation: 3+18=21
Exploring Operation: 18+1=19, Resulting Numbers: [3, 19]
Generated Node #0,1,2: 21:[3, 19] Operation: 18+1=19
Exploring Operation: 18/3=6, Resulting Numbers: [1, 6]
Generated Node #0,1,3: 21:[1, 6] Operation: 18/3=6
Moving to Node #0,2
Current State: 21:[67, 18, 22], Operations: ['66/3=22']
Exploring Operation: 67+18=85, Resulting Numbers: [22, 85]
Generated Node #0,2,0: 21:[22, 85] Operation: 67+18=85
Exploring Operation: 67-18=49, Resulting Numbers: [22, 49]
Generated Node #0,2,1: 21:[22, 49] Operation: 67-18=49
Exploring Operation: 67-22=45, Resulting Numbers: [18, 45]
Generated Node #0,2,2: 21:[18, 45] Operation: 67-22=45
Exploring Operation: 22-18=4, Resulting Numbers: [67, 4]
Generated Node #0,2,3: 21:[67, 4] Operation: 22-18=4
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 21:[18, 45], Operations: ['66/3=22', '67-22=45']
Exploring Operation: 18*45=810, Resulting Numbers: [810]
810,21 unequal: No Solution
Exploring Operation: 45-18=27, Resulting Numbers: [27]
27,21 unequal: No Solution
Exploring Operation: 18+45=63, Resulting Numbers: [63]
63,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 21:[22, 49], Operations: ['66/3=22', '67-18=49']
Exploring Operation: 49-22=27, Resulting Numbers: [27]
27,21 unequal: No Solution
Exploring Operation: 22+49=71, Resulting Numbers: [71]
71,21 unequal: No Solution
Exploring Operation: 22*49=1078, Resulting Numbers: [1078]
1078,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 21:[67, 4], Operations: ['66/3=22', '22-18=4']
Exploring Operation: 67*4=268, Resulting Numbers: [268]
268,21 unequal: No Solution
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,21 unequal: No Solution
Exploring Operation: 67+4=71, Resulting Numbers: [71]
71,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 21:[22, 85], Operations: ['66/3=22', '67+18=85']
Exploring Operation: 85-22=63, Resulting Numbers: [63]
63,21 unequal: No Solution
Exploring Operation: 22*85=1870, Resulting Numbers: [1870]
1870,21 unequal: No Solution
Exploring Operation: 22+85=107, Resulting Numbers: [107]
107,21 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: 21:[67, 3, 48], Operations: ['66-18=48']
Exploring Operation: 48-3=45, Resulting Numbers: [67, 45]
Generated Node #0,3,0: 21:[67, 45] Operation: 48-3=45
Exploring Operation: 67-3=64, Resulting Numbers: [48, 64]
Generated Node #0,3,1: 21:[48, 64] Operation: 67-3=64
Exploring Operation: 48/3=16, Resulting Numbers: [67, 16]
Generated Node #0,3,2: 21:[67, 16] Operation: 48/3=16
Exploring Operation: 67-48=19, Resulting Numbers: [3, 19]
Generated Node #0,3,3: 21:[3, 19] Operation: 67-48=19
Moving to Node #0,0
Current State: 21:[66, 3, 49], Operations: ['67-18=49']
Exploring Operation: 66/3=22, Resulting Numbers: [49, 22]
Generated Node #0,0,0: 21:[49, 22] Operation: 66/3=22
Exploring Operation: 66-3=63, Resulting Numbers: [49, 63]
Generated Node #0,0,1: 21:[49, 63] Operation: 66-3=63
Exploring Operation: 49-3=46, Resulting Numbers: [66, 46]
Generated Node #0,0,2: 21:[66, 46] Operation: 49-3=46
Exploring Operation: 66-49=17, Resulting Numbers: [3, 17]
Generated Node #0,0,3: 21:[3, 17] Operation: 66-49=17
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 21:[3, 17], Operations: ['67-18=49', '66-49=17']
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,21 unequal: No Solution
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,21 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 21:[49, 22], Operations: ['67-18=49', '66/3=22']
Exploring Operation: 49*22=1078, Resulting Numbers: [1078]
1078,21 unequal: No Solution
Exploring Operation: 49-22=27, Resulting Numbers: [27]
27,21 unequal: No Solution
Exploring Operation: 49+22=71, Resulting Numbers: [71]
71,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 21:[49, 63], Operations: ['67-18=49', '66-3=63']
Exploring Operation: 63-49=14, Resulting Numbers: [14]
14,21 unequal: No Solution
Exploring Operation: 49*63=3087, Resulting Numbers: [3087]
3087,21 unequal: No Solution
Exploring Operation: 49+63=112, Resulting Numbers: [112]
112,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 21:[66, 46], Operations: ['67-18=49', '49-3=46']
Exploring Operation: 66-46=20, Resulting Numbers: [20]
20,21 unequal: No Solution
Exploring Operation: 66+46=112, Resulting Numbers: [112]
112,21 unequal: No Solution
Exploring Operation: 66*46=3036, Resulting Numbers: [3036]
3036,21 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: 21:[1, 21], Operations: ['67-66=1', '3+18=21']
Exploring Operation: 21/1=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[67, 66, 3, 18], Operations: []
Exploring Operation: 67-66=1, Resulting Numbers: [3, 18, 1]
Generated Node #0,1: 21:[3, 18, 1] Operation: 67-66=1
Moving to Node #0,1
Current State: 21:[3, 18, 1], Operations: ['67-66=1']
Exploring Operation: 3+18=21, Resulting Numbers: [1, 21]
Generated Node #0,1,1: 21:[1, 21] Operation: 3+18=21
Moving to Node #0,1,1
Current State: 21:[1, 21], Operations: ['67-66=1', '3+18=21']
Exploring Operation: 21/1=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 0.957465 | hs_4 | sum_heuristic |
[
62,
4,
45,
4
] | 52 | [
"62-4=58",
"58-45=13",
"4*13=52"
] | Current State: 52:[62, 4, 45, 4], Operations: []
Exploring Operation: 62-4=58, Resulting Numbers: [45, 58]
Generated Node #2: [45, 58] from Operation: 62-4=58
Current State: 52:[45, 58], Operations: ['62-4=58']
Exploring Operation: 58-45=13, Resulting Numbers: [13]
13,52 equal: Goal Reached
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[62, 4, 45, 4], Operations: []
Exploring Operation: 62-45=17, Resulting Numbers: [4, 4, 17]
Generated Node #0,0: 52:[4, 4, 17] Operation: 62-45=17
Exploring Operation: 62-4=58, Resulting Numbers: [45, 4, 58]
Generated Node #0,1: 52:[45, 4, 58] Operation: 62-4=58
Moving to Node #0,0
Current State: 52:[4, 4, 17], Operations: ['62-45=17']
Exploring Operation: 17-4=13, Resulting Numbers: [4, 13]
Generated Node #0,0,0: 52:[4, 13] Operation: 17-4=13
Exploring Operation: 17-4=13, Resulting Numbers: [4, 13]
Generated Node #0,0,1: 52:[4, 13] Operation: 17-4=13
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[4, 13], Operations: ['62-45=17', '17-4=13']
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[62, 4, 45, 4], Operations: []
Exploring Operation: 62-45=17, Resulting Numbers: [4, 4, 17]
Generated Node #0,0: 52:[4, 4, 17] Operation: 62-45=17
Moving to Node #0,0
Current State: 52:[4, 4, 17], Operations: ['62-45=17']
Exploring Operation: 17-4=13, Resulting Numbers: [4, 13]
Generated Node #0,0,0: 52:[4, 13] Operation: 17-4=13
Moving to Node #0,0,0
Current State: 52:[4, 13], Operations: ['62-45=17', '17-4=13']
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
13,
69,
22,
80
] | 44 | [
"13+69=82",
"82-80=2",
"22*2=44"
] | Current State: 44:[13, 69, 22, 80], Operations: []
Exploring Operation: 13+69=82, Resulting Numbers: [22, 80, 82]
Generated Node #2: [22, 80, 82] from Operation: 13+69=82
Current State: 44:[22, 80, 82], Operations: ['13+69=82']
Exploring Operation: 82-80=2, Resulting Numbers: [22, 2]
Generated Node #3: [22, 2] from Operation: 82-80=2
Current State: 44:[22, 2], Operations: ['13+69=82', '82-80=2']
Exploring Operation: 22*2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[13, 69, 22, 80], Operations: []
Exploring Operation: 80-22=58, Resulting Numbers: [13, 69, 58]
Generated Node #0,0: 44:[13, 69, 58] Operation: 80-22=58
Exploring Operation: 69-22=47, Resulting Numbers: [13, 80, 47]
Generated Node #0,1: 44:[13, 80, 47] Operation: 69-22=47
Exploring Operation: 69-13=56, Resulting Numbers: [22, 80, 56]
Generated Node #0,2: 44:[22, 80, 56] Operation: 69-13=56
Exploring Operation: 80-69=11, Resulting Numbers: [13, 22, 11]
Generated Node #0,3: 44:[13, 22, 11] Operation: 80-69=11
Moving to Node #0,3
Current State: 44:[13, 22, 11], Operations: ['80-69=11']
Exploring Operation: 13+11=24, Resulting Numbers: [22, 24]
Generated Node #0,3,0: 44:[22, 24] Operation: 13+11=24
Exploring Operation: 22-11=11, Resulting Numbers: [13, 11]
Generated Node #0,3,1: 44:[13, 11] Operation: 22-11=11
Exploring Operation: 22-13=9, Resulting Numbers: [11, 9]
Generated Node #0,3,2: 44:[11, 9] Operation: 22-13=9
Exploring Operation: 13-11=2, Resulting Numbers: [22, 2]
Generated Node #0,3,3: 44:[22, 2] Operation: 13-11=2
Moving to Node #0,1
Current State: 44:[13, 80, 47], Operations: ['69-22=47']
Exploring Operation: 47-13=34, Resulting Numbers: [80, 34]
Generated Node #0,1,0: 44:[80, 34] Operation: 47-13=34
Exploring Operation: 80-47=33, Resulting Numbers: [13, 33]
Generated Node #0,1,1: 44:[13, 33] Operation: 80-47=33
Exploring Operation: 13+80=93, Resulting Numbers: [47, 93]
Generated Node #0,1,2: 44:[47, 93] Operation: 13+80=93
Exploring Operation: 80-13=67, Resulting Numbers: [47, 67]
Generated Node #0,1,3: 44:[47, 67] Operation: 80-13=67
Moving to Node #0,0
Current State: 44:[13, 69, 58], Operations: ['80-22=58']
Exploring Operation: 69-58=11, Resulting Numbers: [13, 11]
Generated Node #0,0,0: 44:[13, 11] Operation: 69-58=11
Exploring Operation: 13+69=82, Resulting Numbers: [58, 82]
Generated Node #0,0,1: 44:[58, 82] Operation: 13+69=82
Exploring Operation: 58-13=45, Resulting Numbers: [69, 45]
Generated Node #0,0,2: 44:[69, 45] Operation: 58-13=45
Exploring Operation: 69-13=56, Resulting Numbers: [58, 56]
Generated Node #0,0,3: 44:[58, 56] Operation: 69-13=56
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 44:[13, 11], Operations: ['80-22=58', '69-58=11']
Exploring Operation: 13*11=143, Resulting Numbers: [143]
143,44 unequal: No Solution
Exploring Operation: 13+11=24, Resulting Numbers: [24]
24,44 unequal: No Solution
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,44 unequal: No Solution
No 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: 44:[69, 45], Operations: ['80-22=58', '58-13=45']
Exploring Operation: 69+45=114, Resulting Numbers: [114]
114,44 unequal: No Solution
Exploring Operation: 69*45=3105, Resulting Numbers: [3105]
3105,44 unequal: No Solution
Exploring Operation: 69-45=24, Resulting Numbers: [24]
24,44 unequal: No Solution
No 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: 44:[58, 56], Operations: ['80-22=58', '69-13=56']
Exploring Operation: 58+56=114, Resulting Numbers: [114]
114,44 unequal: No Solution
Exploring Operation: 58*56=3248, Resulting Numbers: [3248]
3248,44 unequal: No Solution
Exploring Operation: 58-56=2, Resulting Numbers: [2]
2,44 unequal: No Solution
No 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: 44:[58, 82], Operations: ['80-22=58', '13+69=82']
Exploring Operation: 82-58=24, Resulting Numbers: [24]
24,44 unequal: No Solution
Exploring Operation: 58+82=140, Resulting Numbers: [140]
140,44 unequal: No Solution
Exploring Operation: 58*82=4756, Resulting Numbers: [4756]
4756,44 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: 44:[22, 80, 56], Operations: ['69-13=56']
Exploring Operation: 56-22=34, Resulting Numbers: [80, 34]
Generated Node #0,2,0: 44:[80, 34] Operation: 56-22=34
Exploring Operation: 22+80=102, Resulting Numbers: [56, 102]
Generated Node #0,2,1: 44:[56, 102] Operation: 22+80=102
Exploring Operation: 80-56=24, Resulting Numbers: [22, 24]
Generated Node #0,2,2: 44:[22, 24] Operation: 80-56=24
Exploring Operation: 80-22=58, Resulting Numbers: [56, 58]
Generated Node #0,2,3: 44:[56, 58] Operation: 80-22=58
Moving to Node #0,3,3
Current State: 44:[22, 2], Operations: ['80-69=11', '13-11=2']
Exploring Operation: 22/2=11, Resulting Numbers: [11]
11,44 unequal: No Solution
Exploring Operation: 22*2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[13, 69, 22, 80], Operations: []
Exploring Operation: 80-69=11, Resulting Numbers: [13, 22, 11]
Generated Node #0,3: 44:[13, 22, 11] Operation: 80-69=11
Moving to Node #0,3
Current State: 44:[13, 22, 11], Operations: ['80-69=11']
Exploring Operation: 13-11=2, Resulting Numbers: [22, 2]
Generated Node #0,3,3: 44:[22, 2] Operation: 13-11=2
Moving to Node #0,3,3
Current State: 44:[22, 2], Operations: ['80-69=11', '13-11=2']
Exploring Operation: 22*2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 0.967014 | hs_4 | sum_heuristic |
[
19,
7,
43,
87
] | 70 | [
"19+7=26",
"87-43=44",
"26+44=70"
] | Current State: 70:[19, 7, 43, 87], Operations: []
Exploring Operation: 19+7=26, Resulting Numbers: [43, 87, 26]
Generated Node #2: [43, 87, 26] from Operation: 19+7=26
Current State: 70:[43, 87, 26], Operations: ['19+7=26']
Exploring Operation: 87-43=44, Resulting Numbers: [26, 44]
Generated Node #3: [26, 44] from Operation: 87-43=44
Current State: 70:[26, 44], Operations: ['19+7=26', '87-43=44']
Exploring Operation: 26+44=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[19, 7, 43, 87], Operations: []
Exploring Operation: 87-43=44, Resulting Numbers: [19, 7, 44]
Generated Node #0,0: 70:[19, 7, 44] Operation: 87-43=44
Exploring Operation: 43-7=36, Resulting Numbers: [19, 87, 36]
Generated Node #0,1: 70:[19, 87, 36] Operation: 43-7=36
Exploring Operation: 87-19=68, Resulting Numbers: [7, 43, 68]
Generated Node #0,2: 70:[7, 43, 68] Operation: 87-19=68
Exploring Operation: 19+43=62, Resulting Numbers: [7, 87, 62]
Generated Node #0,3: 70:[7, 87, 62] Operation: 19+43=62
Exploring Operation: 87-7=80, Resulting Numbers: [19, 43, 80]
Generated Node #0,4: 70:[19, 43, 80] Operation: 87-7=80
Start Sub Search at level 1: Moving to Node #0,2
Current State: 70:[7, 43, 68], Operations: ['87-19=68']
Exploring Operation: 43-7=36, Resulting Numbers: [68, 36]
Generated Node #0,2,0: 70:[68, 36] Operation: 43-7=36
Exploring Operation: 68-7=61, Resulting Numbers: [43, 61]
Generated Node #0,2,1: 70:[43, 61] Operation: 68-7=61
Exploring Operation: 7+43=50, Resulting Numbers: [68, 50]
Generated Node #0,2,2: 70:[68, 50] Operation: 7+43=50
Exploring Operation: 68-43=25, Resulting Numbers: [7, 25]
Generated Node #0,2,3: 70:[7, 25] Operation: 68-43=25
Exploring Operation: 7+68=75, Resulting Numbers: [43, 75]
Generated Node #0,2,4: 70:[43, 75] Operation: 7+68=75
Moving to Node #0,2,0
Current State: 70:[68, 36], Operations: ['87-19=68', '43-7=36']
Exploring Operation: 68*36=2448, Resulting Numbers: [2448]
2448,70 unequal: No Solution
Exploring Operation: 68-36=32, Resulting Numbers: [32]
32,70 unequal: No Solution
Exploring Operation: 68+36=104, Resulting Numbers: [104]
104,70 unequal: No Solution
Moving to Node #0,2,3
Current State: 70:[7, 25], Operations: ['87-19=68', '68-43=25']
Exploring Operation: 7*25=175, Resulting Numbers: [175]
175,70 unequal: No Solution
Exploring Operation: 7+25=32, Resulting Numbers: [32]
32,70 unequal: No Solution
Exploring Operation: 25-7=18, Resulting Numbers: [18]
18,70 unequal: No Solution
Moving to Node #0,2,4
Current State: 70:[43, 75], Operations: ['87-19=68', '7+68=75']
Exploring Operation: 43*75=3225, Resulting Numbers: [3225]
3225,70 unequal: No Solution
Exploring Operation: 75-43=32, Resulting Numbers: [32]
32,70 unequal: No Solution
Exploring Operation: 43+75=118, Resulting Numbers: [118]
118,70 unequal: No Solution
Moving to Node #0,2,1
Current State: 70:[43, 61], Operations: ['87-19=68', '68-7=61']
Exploring Operation: 43*61=2623, Resulting Numbers: [2623]
2623,70 unequal: No Solution
Exploring Operation: 61-43=18, Resulting Numbers: [18]
18,70 unequal: No Solution
Exploring Operation: 43+61=104, Resulting Numbers: [104]
104,70 unequal: No Solution
Moving to Node #0,2,2
Current State: 70:[68, 50], Operations: ['87-19=68', '7+43=50']
Exploring Operation: 68*50=3400, Resulting Numbers: [3400]
3400,70 unequal: No Solution
Exploring Operation: 68+50=118, Resulting Numbers: [118]
118,70 unequal: No Solution
Exploring Operation: 68-50=18, Resulting Numbers: [18]
18,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[19, 7, 44], Operations: ['87-43=44']
Exploring Operation: 19-7=12, Resulting Numbers: [44, 12]
Generated Node #0,0,0: 70:[44, 12] Operation: 19-7=12
Exploring Operation: 19+7=26, Resulting Numbers: [44, 26]
Generated Node #0,0,1: 70:[44, 26] Operation: 19+7=26
Exploring Operation: 19+44=63, Resulting Numbers: [7, 63]
Generated Node #0,0,2: 70:[7, 63] Operation: 19+44=63
Exploring Operation: 44-19=25, Resulting Numbers: [7, 25]
Generated Node #0,0,3: 70:[7, 25] Operation: 44-19=25
Exploring Operation: 44-7=37, Resulting Numbers: [19, 37]
Generated Node #0,0,4: 70:[19, 37] Operation: 44-7=37
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 70:[7, 63], Operations: ['87-43=44', '19+44=63']
Exploring Operation: 63-7=56, Resulting Numbers: [56]
56,70 unequal: No Solution
Exploring Operation: 7+63=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[19, 7, 43, 87], Operations: []
Exploring Operation: 87-43=44, Resulting Numbers: [19, 7, 44]
Generated Node #0,0: 70:[19, 7, 44] Operation: 87-43=44
Moving to Node #0,0
Current State: 70:[19, 7, 44], Operations: ['87-43=44']
Exploring Operation: 19+44=63, Resulting Numbers: [7, 63]
Generated Node #0,0,2: 70:[7, 63] Operation: 19+44=63
Moving to Node #0,0,2
Current State: 70:[7, 63], Operations: ['87-43=44', '19+44=63']
Exploring Operation: 7+63=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96875 | hs_5 | sum_heuristic |
[
99,
46,
78,
2
] | 37 | [
"46+78=124",
"124/2=62",
"99-62=37"
] | Current State: 37:[99, 46, 78, 2], Operations: []
Exploring Operation: 46+78=124, Resulting Numbers: [99, 2, 124]
Generated Node #2: [99, 2, 124] from Operation: 46+78=124
Current State: 37:[99, 2, 124], Operations: ['46+78=124']
Exploring Operation: 124/2=62, Resulting Numbers: [99, 62]
Generated Node #3: [99, 62] from Operation: 124/2=62
Current State: 37:[99, 62], Operations: ['46+78=124', '124/2=62']
Exploring Operation: 99-62=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[99, 46, 78, 2], Operations: []
Exploring Operation: 99-78=21, Resulting Numbers: [46, 2, 21]
Generated Node #0,0: 37:[46, 2, 21] Operation: 99-78=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[46, 2, 21], Operations: ['99-78=21']
Exploring Operation: 2*21=42, Resulting Numbers: [46, 42]
Generated Node #0,0,0: 37:[46, 42] Operation: 2*21=42
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 37:[46, 42], Operations: ['99-78=21', '2*21=42']
Exploring Operation: 46-42=4, Resulting Numbers: [4]
4,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
6,
44,
65,
45
] | 59 | [
"65-6=59",
"45-44=1",
"59*1=59"
] | Current State: 59:[6, 44, 65, 45], Operations: []
Exploring Operation: 65-6=59, Resulting Numbers: [44, 45, 59]
Generated Node #2: [44, 45, 59] from Operation: 65-6=59
Current State: 59:[44, 45, 59], Operations: ['65-6=59']
Exploring Operation: 45-44=1, Resulting Numbers: [59, 1]
Generated Node #3: [59, 1] from Operation: 45-44=1
Current State: 59:[59, 1], Operations: ['65-6=59', '45-44=1']
Exploring Operation: 59*1=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[6, 44, 65, 45], Operations: []
Exploring Operation: 6+44=50, Resulting Numbers: [65, 45, 50]
Generated Node #0,0: 59:[65, 45, 50] Operation: 6+44=50
Moving to Node #0,0
Current State: 59:[65, 45, 50], Operations: ['6+44=50']
Exploring Operation: 45+50=95, Resulting Numbers: [65, 95]
Generated Node #0,0,0: 59:[65, 95] Operation: 45+50=95
Moving to Node #0,0,0
Current State: 59:[65, 95], Operations: ['6+44=50', '45+50=95']
Exploring Operation: 95-65=30, Resulting Numbers: [30]
30,59 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
15,
38,
45,
26
] | 77 | [
"26-15=11",
"45-38=7",
"11*7=77"
] | Current State: 77:[15, 38, 45, 26], Operations: []
Exploring Operation: 26-15=11, Resulting Numbers: [38, 45, 11]
Generated Node #2: [38, 45, 11] from Operation: 26-15=11
Current State: 77:[38, 45, 11], Operations: ['26-15=11']
Exploring Operation: 45-38=7, Resulting Numbers: [11, 7]
Generated Node #3: [11, 7] from Operation: 45-38=7
Current State: 77:[11, 7], Operations: ['26-15=11', '45-38=7']
Exploring Operation: 11*7=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[15, 38, 45, 26], Operations: []
Exploring Operation: 45-38=7, Resulting Numbers: [15, 26, 7]
Generated Node #0,0: 77:[15, 26, 7] Operation: 45-38=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[15, 26, 7], Operations: ['45-38=7']
Exploring Operation: 26-15=11, Resulting Numbers: [7, 11]
Generated Node #0,0,0: 77:[7, 11] Operation: 26-15=11
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 77:[7, 11], Operations: ['45-38=7', '26-15=11']
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[15, 38, 45, 26], Operations: []
Exploring Operation: 45-38=7, Resulting Numbers: [15, 26, 7]
Generated Node #0,0: 77:[15, 26, 7] Operation: 45-38=7
Moving to Node #0,0
Current State: 77:[15, 26, 7], Operations: ['45-38=7']
Exploring Operation: 26-15=11, Resulting Numbers: [7, 11]
Generated Node #0,0,0: 77:[7, 11] Operation: 26-15=11
Moving to Node #0,0,0
Current State: 77:[7, 11], Operations: ['45-38=7', '26-15=11']
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
54,
66,
59,
6
] | 53 | [
"66-54=12",
"59+6=65",
"65-12=53"
] | Current State: 53:[54, 66, 59, 6], Operations: []
Exploring Operation: 66-54=12, Resulting Numbers: [59, 6, 12]
Generated Node #2: [59, 6, 12] from Operation: 66-54=12
Current State: 53:[59, 6, 12], Operations: ['66-54=12']
Exploring Operation: 59+6=65, Resulting Numbers: [12, 65]
Generated Node #3: [12, 65] from Operation: 59+6=65
Current State: 53:[12, 65], Operations: ['66-54=12', '59+6=65']
Exploring Operation: 65-12=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[54, 66, 59, 6], Operations: []
Exploring Operation: 66-6=60, Resulting Numbers: [54, 59, 60]
Generated Node #0,0: 53:[54, 59, 60] Operation: 66-6=60
Exploring Operation: 54-6=48, Resulting Numbers: [66, 59, 48]
Generated Node #0,1: 53:[66, 59, 48] Operation: 54-6=48
Exploring Operation: 59-6=53, Resulting Numbers: [54, 66, 53]
Generated Node #0,2: 53:[54, 66, 53] Operation: 59-6=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[54, 59, 60], Operations: ['66-6=60']
Exploring Operation: 60-59=1, Resulting Numbers: [54, 1]
Generated Node #0,0,0: 53:[54, 1] Operation: 60-59=1
Exploring Operation: 60-54=6, Resulting Numbers: [59, 6]
Generated Node #0,0,1: 53:[59, 6] Operation: 60-54=6
Exploring Operation: 59-54=5, Resulting Numbers: [60, 5]
Generated Node #0,0,2: 53:[60, 5] Operation: 59-54=5
Moving to Node #0,0,0
Current State: 53:[54, 1], Operations: ['66-6=60', '60-59=1']
Exploring Operation: 54*1=54, Resulting Numbers: [54]
54,53 unequal: No Solution
Exploring Operation: 54-1=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[54, 66, 59, 6], Operations: []
Exploring Operation: 66-6=60, Resulting Numbers: [54, 59, 60]
Generated Node #0,0: 53:[54, 59, 60] Operation: 66-6=60
Moving to Node #0,0
Current State: 53:[54, 59, 60], Operations: ['66-6=60']
Exploring Operation: 60-59=1, Resulting Numbers: [54, 1]
Generated Node #0,0,0: 53:[54, 1] Operation: 60-59=1
Moving to Node #0,0,0
Current State: 53:[54, 1], Operations: ['66-6=60', '60-59=1']
Exploring Operation: 54-1=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
20,
67,
5,
17
] | 52 | [
"20-17=3",
"5*3=15",
"67-15=52"
] | Current State: 52:[20, 67, 5, 17], Operations: []
Exploring Operation: 20-17=3, Resulting Numbers: [67, 5, 3]
Generated Node #2: [67, 5, 3] from Operation: 20-17=3
Current State: 52:[67, 5, 3], Operations: ['20-17=3']
Exploring Operation: 5*3=15, Resulting Numbers: [67, 15]
Generated Node #3: [67, 15] from Operation: 5*3=15
Current State: 52:[67, 15], Operations: ['20-17=3', '5*3=15']
Exploring Operation: 67-15=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[20, 67, 5, 17], Operations: []
Exploring Operation: 67-20=47, Resulting Numbers: [5, 17, 47]
Generated Node #0,0: 52:[5, 17, 47] Operation: 67-20=47
Exploring Operation: 67-17=50, Resulting Numbers: [20, 5, 50]
Generated Node #0,1: 52:[20, 5, 50] Operation: 67-17=50
Moving to Node #0,1
Current State: 52:[20, 5, 50], Operations: ['67-17=50']
Exploring Operation: 20/5=4, Resulting Numbers: [50, 4]
Generated Node #0,1,0: 52:[50, 4] Operation: 20/5=4
Exploring Operation: 20+5=25, Resulting Numbers: [50, 25]
Generated Node #0,1,1: 52:[50, 25] Operation: 20+5=25
Moving to Node #0,0
Current State: 52:[5, 17, 47], Operations: ['67-20=47']
Exploring Operation: 47-17=30, Resulting Numbers: [5, 30]
Generated Node #0,0,0: 52:[5, 30] Operation: 47-17=30
Exploring Operation: 5+47=52, Resulting Numbers: [17, 52]
Generated Node #0,0,1: 52:[17, 52] Operation: 5+47=52
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 52:[17, 52], Operations: ['67-20=47', '5+47=52']
Exploring Operation: 17+52=69, Resulting Numbers: [69]
69,52 unequal: No Solution
Exploring Operation: 52-17=35, Resulting Numbers: [35]
35,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[5, 30], Operations: ['67-20=47', '47-17=30']
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,52 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: 52:[50, 4], Operations: ['67-17=50', '20/5=4']
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,52 unequal: No Solution
Exploring Operation: 50+4=54, Resulting Numbers: [54]
54,52 unequal: No Solution
Moving to Node #0,1,1
Current State: 52:[50, 25], Operations: ['67-17=50', '20+5=25']
Exploring Operation: 50-25=25, Resulting Numbers: [25]
25,52 unequal: No Solution
Exploring Operation: 50/25=2, Resulting Numbers: [2]
2,52 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
49,
36,
59,
7
] | 16 | [
"49/7=7",
"59-36=23",
"23-7=16"
] | Current State: 16:[49, 36, 59, 7], Operations: []
Exploring Operation: 49/7=7, Resulting Numbers: [36, 59, 7]
Generated Node #2: [36, 59, 7] from Operation: 49/7=7
Current State: 16:[36, 59, 7], Operations: ['49/7=7']
Exploring Operation: 59-36=23, Resulting Numbers: [7, 23]
Generated Node #3: [7, 23] from Operation: 59-36=23
Current State: 16:[7, 23], Operations: ['49/7=7', '59-36=23']
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[49, 36, 59, 7], Operations: []
Exploring Operation: 59-36=23, Resulting Numbers: [49, 7, 23]
Generated Node #0,0: 16:[49, 7, 23] Operation: 59-36=23
Exploring Operation: 49-36=13, Resulting Numbers: [59, 7, 13]
Generated Node #0,1: 16:[59, 7, 13] Operation: 49-36=13
Exploring Operation: 49-7=42, Resulting Numbers: [36, 59, 42]
Generated Node #0,2: 16:[36, 59, 42] Operation: 49-7=42
Exploring Operation: 49/7=7, Resulting Numbers: [36, 59, 7]
Generated Node #0,3: 16:[36, 59, 7] Operation: 49/7=7
Exploring Operation: 59-49=10, Resulting Numbers: [36, 7, 10]
Generated Node #0,4: 16:[36, 7, 10] Operation: 59-49=10
Start Sub Search at level 1: Moving to Node #0,4
Current State: 16:[36, 7, 10], Operations: ['59-49=10']
Exploring Operation: 36-10=26, Resulting Numbers: [7, 26]
Generated Node #0,4,0: 16:[7, 26] Operation: 36-10=26
Exploring Operation: 7+10=17, Resulting Numbers: [36, 17]
Generated Node #0,4,1: 16:[36, 17] Operation: 7+10=17
Exploring Operation: 36+7=43, Resulting Numbers: [10, 43]
Generated Node #0,4,2: 16:[10, 43] Operation: 36+7=43
Exploring Operation: 10-7=3, Resulting Numbers: [36, 3]
Generated Node #0,4,3: 16:[36, 3] Operation: 10-7=3
Exploring Operation: 36-7=29, Resulting Numbers: [10, 29]
Generated Node #0,4,4: 16:[10, 29] Operation: 36-7=29
Moving to Node #0,4,0
Current State: 16:[7, 26], Operations: ['59-49=10', '36-10=26']
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,16 unequal: No Solution
Exploring Operation: 7+26=33, Resulting Numbers: [33]
33,16 unequal: No Solution
Exploring Operation: 7*26=182, Resulting Numbers: [182]
182,16 unequal: No Solution
Moving to Node #0,4,4
Current State: 16:[10, 29], Operations: ['59-49=10', '36-7=29']
Exploring Operation: 29-10=19, Resulting Numbers: [19]
19,16 unequal: No Solution
Exploring Operation: 10+29=39, Resulting Numbers: [39]
39,16 unequal: No Solution
Exploring Operation: 10*29=290, Resulting Numbers: [290]
290,16 unequal: No Solution
Moving to Node #0,4,1
Current State: 16:[36, 17], Operations: ['59-49=10', '7+10=17']
Exploring Operation: 36*17=612, Resulting Numbers: [612]
612,16 unequal: No Solution
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,16 unequal: No Solution
Exploring Operation: 36+17=53, Resulting Numbers: [53]
53,16 unequal: No Solution
Moving to Node #0,4,3
Current State: 16:[36, 3], Operations: ['59-49=10', '10-7=3']
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,16 unequal: No Solution
Exploring Operation: 36+3=39, Resulting Numbers: [39]
39,16 unequal: No Solution
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,16 unequal: No Solution
Exploring Operation: 36*3=108, Resulting Numbers: [108]
108,16 unequal: No Solution
Moving to Node #0,4,2
Current State: 16:[10, 43], Operations: ['59-49=10', '36+7=43']
Exploring Operation: 10*43=430, Resulting Numbers: [430]
430,16 unequal: No Solution
Exploring Operation: 10+43=53, Resulting Numbers: [53]
53,16 unequal: No Solution
Exploring Operation: 43-10=33, Resulting Numbers: [33]
33,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:[49, 7, 23], Operations: ['59-36=23']
Exploring Operation: 49/7=7, Resulting Numbers: [23, 7]
Generated Node #0,0,0: 16:[23, 7] Operation: 49/7=7
Exploring Operation: 23-7=16, Resulting Numbers: [49, 16]
Generated Node #0,0,1: 16:[49, 16] Operation: 23-7=16
Exploring Operation: 49-7=42, Resulting Numbers: [23, 42]
Generated Node #0,0,2: 16:[23, 42] Operation: 49-7=42
Exploring Operation: 49+7=56, Resulting Numbers: [23, 56]
Generated Node #0,0,3: 16:[23, 56] Operation: 49+7=56
Exploring Operation: 49-23=26, Resulting Numbers: [7, 26]
Generated Node #0,0,4: 16:[7, 26] Operation: 49-23=26
Moving to Node #0,0,0
Current State: 16:[23, 7], Operations: ['59-36=23', '49/7=7']
Exploring Operation: 23*7=161, Resulting Numbers: [161]
161,16 unequal: No Solution
Exploring Operation: 23+7=30, Resulting Numbers: [30]
30,16 unequal: No Solution
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[49, 36, 59, 7], Operations: []
Exploring Operation: 59-36=23, Resulting Numbers: [49, 7, 23]
Generated Node #0,0: 16:[49, 7, 23] Operation: 59-36=23
Moving to Node #0,0
Current State: 16:[49, 7, 23], Operations: ['59-36=23']
Exploring Operation: 49/7=7, Resulting Numbers: [23, 7]
Generated Node #0,0,0: 16:[23, 7] Operation: 49/7=7
Moving to Node #0,0,0
Current State: 16:[23, 7], Operations: ['59-36=23', '49/7=7']
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_5 | mult_heuristic |
[
43,
9,
44,
38
] | 53 | [
"43+38=81",
"81/9=9",
"44+9=53"
] | Current State: 53:[43, 9, 44, 38], Operations: []
Exploring Operation: 43+38=81, Resulting Numbers: [9, 44, 81]
Generated Node #2: [9, 44, 81] from Operation: 43+38=81
Current State: 53:[9, 44, 81], Operations: ['43+38=81']
Exploring Operation: 81/9=9, Resulting Numbers: [44, 9]
Generated Node #3: [44, 9] from Operation: 81/9=9
Current State: 53:[44, 9], Operations: ['43+38=81', '81/9=9']
Exploring Operation: 44+9=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[43, 9, 44, 38], Operations: []
Exploring Operation: 43+9=52, Resulting Numbers: [44, 38, 52]
Generated Node #0,0: 53:[44, 38, 52] Operation: 43+9=52
Exploring Operation: 9+38=47, Resulting Numbers: [43, 44, 47]
Generated Node #0,1: 53:[43, 44, 47] Operation: 9+38=47
Exploring Operation: 9+44=53, Resulting Numbers: [43, 38, 53]
Generated Node #0,2: 53:[43, 38, 53] Operation: 9+44=53
Moving to Node #0,0
Current State: 53:[44, 38, 52], Operations: ['43+9=52']
Exploring Operation: 44-38=6, Resulting Numbers: [52, 6]
Generated Node #0,0,0: 53:[52, 6] Operation: 44-38=6
Exploring Operation: 44+38=82, Resulting Numbers: [52, 82]
Generated Node #0,0,1: 53:[52, 82] Operation: 44+38=82
Exploring Operation: 38+52=90, Resulting Numbers: [44, 90]
Generated Node #0,0,2: 53:[44, 90] Operation: 38+52=90
Moving to Node #0,1
Current State: 53:[43, 44, 47], Operations: ['9+38=47']
Exploring Operation: 44+47=91, Resulting Numbers: [43, 91]
Generated Node #0,1,0: 53:[43, 91] Operation: 44+47=91
Exploring Operation: 43+44=87, Resulting Numbers: [47, 87]
Generated Node #0,1,1: 53:[47, 87] Operation: 43+44=87
Exploring Operation: 43+47=90, Resulting Numbers: [44, 90]
Generated Node #0,1,2: 53:[44, 90] Operation: 43+47=90
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 53:[47, 87], Operations: ['9+38=47', '43+44=87']
Exploring Operation: 47*87=4089, Resulting Numbers: [4089]
4089,53 unequal: No Solution
Exploring Operation: 47+87=134, Resulting Numbers: [134]
134,53 unequal: No Solution
Exploring Operation: 87-47=40, Resulting Numbers: [40]
40,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 53:[44, 90], Operations: ['9+38=47', '43+47=90']
Exploring Operation: 44+90=134, Resulting Numbers: [134]
134,53 unequal: No Solution
Exploring Operation: 90-44=46, Resulting Numbers: [46]
46,53 unequal: No Solution
Exploring Operation: 44*90=3960, Resulting Numbers: [3960]
3960,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 53:[43, 91], Operations: ['9+38=47', '44+47=91']
Exploring Operation: 43*91=3913, Resulting Numbers: [3913]
3913,53 unequal: No Solution
Exploring Operation: 91-43=48, Resulting Numbers: [48]
48,53 unequal: No Solution
Exploring Operation: 43+91=134, Resulting Numbers: [134]
134,53 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: 53:[43, 38, 53], Operations: ['9+44=53']
Exploring Operation: 38+53=91, Resulting Numbers: [43, 91]
Generated Node #0,2,0: 53:[43, 91] Operation: 38+53=91
Exploring Operation: 43+38=81, Resulting Numbers: [53, 81]
Generated Node #0,2,1: 53:[53, 81] Operation: 43+38=81
Exploring Operation: 43-38=5, Resulting Numbers: [53, 5]
Generated Node #0,2,2: 53:[53, 5] Operation: 43-38=5
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 53:[53, 81], Operations: ['9+44=53', '43+38=81']
Exploring Operation: 53+81=134, Resulting Numbers: [134]
134,53 unequal: No Solution
Exploring Operation: 81-53=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Exploring Operation: 53*81=4293, Resulting Numbers: [4293]
4293,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 53:[43, 91], Operations: ['9+44=53', '38+53=91']
Exploring Operation: 91-43=48, Resulting Numbers: [48]
48,53 unequal: No Solution
Exploring Operation: 43*91=3913, Resulting Numbers: [3913]
3913,53 unequal: No Solution
Exploring Operation: 43+91=134, Resulting Numbers: [134]
134,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 53:[53, 5], Operations: ['9+44=53', '43-38=5']
Exploring Operation: 53-5=48, Resulting Numbers: [48]
48,53 unequal: No Solution
Exploring Operation: 53*5=265, Resulting Numbers: [265]
265,53 unequal: No Solution
Exploring Operation: 53+5=58, Resulting Numbers: [58]
58,53 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: 53:[52, 82], Operations: ['43+9=52', '44+38=82']
Exploring Operation: 52+82=134, Resulting Numbers: [134]
134,53 unequal: No Solution
Exploring Operation: 52*82=4264, Resulting Numbers: [4264]
4264,53 unequal: No Solution
Exploring Operation: 82-52=30, Resulting Numbers: [30]
30,53 unequal: No Solution
Moving to Node #0,0,2
Current State: 53:[44, 90], Operations: ['43+9=52', '38+52=90']
Exploring Operation: 90-44=46, Resulting Numbers: [46]
46,53 unequal: No Solution
Exploring Operation: 44+90=134, Resulting Numbers: [134]
134,53 unequal: No Solution
Exploring Operation: 44*90=3960, Resulting Numbers: [3960]
3960,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[52, 6], Operations: ['43+9=52', '44-38=6']
Exploring Operation: 52+6=58, Resulting Numbers: [58]
58,53 unequal: No Solution
Exploring Operation: 52*6=312, Resulting Numbers: [312]
312,53 unequal: No Solution
Exploring Operation: 52-6=46, Resulting Numbers: [46]
46,53 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
32,
28,
16,
69
] | 43 | [
"32/16=2",
"69-28=41",
"2+41=43"
] | Current State: 43:[32, 28, 16, 69], Operations: []
Exploring Operation: 32/16=2, Resulting Numbers: [28, 69, 2]
Generated Node #2: [28, 69, 2] from Operation: 32/16=2
Current State: 43:[28, 69, 2], Operations: ['32/16=2']
Exploring Operation: 69-28=41, Resulting Numbers: [2, 41]
Generated Node #3: [2, 41] from Operation: 69-28=41
Current State: 43:[2, 41], Operations: ['32/16=2', '69-28=41']
Exploring Operation: 2+41=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[32, 28, 16, 69], Operations: []
Exploring Operation: 69-16=53, Resulting Numbers: [32, 28, 53]
Generated Node #0,0: 43:[32, 28, 53] Operation: 69-16=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[32, 28, 53], Operations: ['69-16=53']
Exploring Operation: 32+28=60, Resulting Numbers: [53, 60]
Generated Node #0,0,0: 43:[53, 60] Operation: 32+28=60
Moving to Node #0,0,0
Current State: 43:[53, 60], Operations: ['69-16=53', '32+28=60']
Exploring Operation: 60-53=7, Resulting Numbers: [7]
7,43 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 |
[
8,
5,
6,
26
] | 17 | [
"8-5=3",
"26-6=20",
"20-3=17"
] | Current State: 17:[8, 5, 6, 26], Operations: []
Exploring Operation: 8-5=3, Resulting Numbers: [6, 26, 3]
Generated Node #2: [6, 26, 3] from Operation: 8-5=3
Current State: 17:[6, 26, 3], Operations: ['8-5=3']
Exploring Operation: 26-6=20, Resulting Numbers: [3, 20]
Generated Node #3: [3, 20] from Operation: 26-6=20
Current State: 17:[3, 20], Operations: ['8-5=3', '26-6=20']
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[8, 5, 6, 26], Operations: []
Exploring Operation: 26-8=18, Resulting Numbers: [5, 6, 18]
Generated Node #0,0: 17:[5, 6, 18] Operation: 26-8=18
Exploring Operation: 8+5=13, Resulting Numbers: [6, 26, 13]
Generated Node #0,1: 17:[6, 26, 13] Operation: 8+5=13
Exploring Operation: 5+6=11, Resulting Numbers: [8, 26, 11]
Generated Node #0,2: 17:[8, 26, 11] Operation: 5+6=11
Exploring Operation: 8+6=14, Resulting Numbers: [5, 26, 14]
Generated Node #0,3: 17:[5, 26, 14] Operation: 8+6=14
Moving to Node #0,0
Current State: 17:[5, 6, 18], Operations: ['26-8=18']
Exploring Operation: 5+6=11, Resulting Numbers: [18, 11]
Generated Node #0,0,0: 17:[18, 11] Operation: 5+6=11
Exploring Operation: 6-5=1, Resulting Numbers: [18, 1]
Generated Node #0,0,1: 17:[18, 1] Operation: 6-5=1
Exploring Operation: 5*6=30, Resulting Numbers: [18, 30]
Generated Node #0,0,2: 17:[18, 30] Operation: 5*6=30
Exploring Operation: 18-5=13, Resulting Numbers: [6, 13]
Generated Node #0,0,3: 17:[6, 13] Operation: 18-5=13
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 17:[18, 11], Operations: ['26-8=18', '5+6=11']
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,17 unequal: No Solution
Exploring Operation: 18+11=29, Resulting Numbers: [29]
29,17 unequal: No Solution
Exploring Operation: 18*11=198, Resulting Numbers: [198]
198,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 17:[18, 30], Operations: ['26-8=18', '5*6=30']
Exploring Operation: 18+30=48, Resulting Numbers: [48]
48,17 unequal: No Solution
Exploring Operation: 18*30=540, Resulting Numbers: [540]
540,17 unequal: No Solution
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 17:[6, 13], Operations: ['26-8=18', '18-5=13']
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,17 unequal: No Solution
Exploring Operation: 6*13=78, Resulting Numbers: [78]
78,17 unequal: No Solution
Exploring Operation: 6+13=19, Resulting Numbers: [19]
19,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 17:[18, 1], Operations: ['26-8=18', '6-5=1']
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,17 unequal: No Solution
Exploring Operation: 18+1=19, Resulting Numbers: [19]
19,17 unequal: No Solution
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[8, 5, 6, 26], Operations: []
Exploring Operation: 26-8=18, Resulting Numbers: [5, 6, 18]
Generated Node #0,0: 17:[5, 6, 18] Operation: 26-8=18
Moving to Node #0,0
Current State: 17:[5, 6, 18], Operations: ['26-8=18']
Exploring Operation: 6-5=1, Resulting Numbers: [18, 1]
Generated Node #0,0,1: 17:[18, 1] Operation: 6-5=1
Moving to Node #0,0,1
Current State: 17:[18, 1], Operations: ['26-8=18', '6-5=1']
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_4 | sum_heuristic |
[
56,
70,
80,
17
] | 62 | [
"56+80=136",
"136/17=8",
"70-8=62"
] | Current State: 62:[56, 70, 80, 17], Operations: []
Exploring Operation: 56+80=136, Resulting Numbers: [70, 17, 136]
Generated Node #2: [70, 17, 136] from Operation: 56+80=136
Current State: 62:[70, 17, 136], Operations: ['56+80=136']
Exploring Operation: 136/17=8, Resulting Numbers: [70, 8]
Generated Node #3: [70, 8] from Operation: 136/17=8
Current State: 62:[70, 8], Operations: ['56+80=136', '136/17=8']
Exploring Operation: 70-8=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[56, 70, 80, 17], Operations: []
Exploring Operation: 56-17=39, Resulting Numbers: [70, 80, 39]
Generated Node #0,0: 62:[70, 80, 39] Operation: 56-17=39
Exploring Operation: 80-17=63, Resulting Numbers: [56, 70, 63]
Generated Node #0,1: 62:[56, 70, 63] Operation: 80-17=63
Exploring Operation: 70-17=53, Resulting Numbers: [56, 80, 53]
Generated Node #0,2: 62:[56, 80, 53] Operation: 70-17=53
Exploring Operation: 80-70=10, Resulting Numbers: [56, 17, 10]
Generated Node #0,3: 62:[56, 17, 10] Operation: 80-70=10
Exploring Operation: 80-56=24, Resulting Numbers: [70, 17, 24]
Generated Node #0,4: 62:[70, 17, 24] Operation: 80-56=24
Moving to Node #0,1
Current State: 62:[56, 70, 63], Operations: ['80-17=63']
Exploring Operation: 63-56=7, Resulting Numbers: [70, 7]
Generated Node #0,1,0: 62:[70, 7] Operation: 63-56=7
Exploring Operation: 56+70=126, Resulting Numbers: [63, 126]
Generated Node #0,1,1: 62:[63, 126] Operation: 56+70=126
Exploring Operation: 56+63=119, Resulting Numbers: [70, 119]
Generated Node #0,1,2: 62:[70, 119] Operation: 56+63=119
Exploring Operation: 70-63=7, Resulting Numbers: [56, 7]
Generated Node #0,1,3: 62:[56, 7] Operation: 70-63=7
Exploring Operation: 70-56=14, Resulting Numbers: [63, 14]
Generated Node #0,1,4: 62:[63, 14] Operation: 70-56=14
Moving to Node #0,3
Current State: 62:[56, 17, 10], Operations: ['80-70=10']
Exploring Operation: 56-17=39, Resulting Numbers: [10, 39]
Generated Node #0,3,0: 62:[10, 39] Operation: 56-17=39
Exploring Operation: 56+10=66, Resulting Numbers: [17, 66]
Generated Node #0,3,1: 62:[17, 66] Operation: 56+10=66
Exploring Operation: 56+17=73, Resulting Numbers: [10, 73]
Generated Node #0,3,2: 62:[10, 73] Operation: 56+17=73
Exploring Operation: 17-10=7, Resulting Numbers: [56, 7]
Generated Node #0,3,3: 62:[56, 7] Operation: 17-10=7
Exploring Operation: 17+10=27, Resulting Numbers: [56, 27]
Generated Node #0,3,4: 62:[56, 27] Operation: 17+10=27
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 62:[56, 27], Operations: ['80-70=10', '17+10=27']
Exploring Operation: 56+27=83, Resulting Numbers: [83]
83,62 unequal: No Solution
Exploring Operation: 56-27=29, Resulting Numbers: [29]
29,62 unequal: No Solution
Exploring Operation: 56*27=1512, Resulting Numbers: [1512]
1512,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 62:[56, 7], Operations: ['80-70=10', '17-10=7']
Exploring Operation: 56*7=392, Resulting Numbers: [392]
392,62 unequal: No Solution
Exploring Operation: 56/7=8, Resulting Numbers: [8]
8,62 unequal: No Solution
Exploring Operation: 56+7=63, Resulting Numbers: [63]
63,62 unequal: No Solution
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 62:[10, 39], Operations: ['80-70=10', '56-17=39']
Exploring Operation: 39-10=29, Resulting Numbers: [29]
29,62 unequal: No Solution
Exploring Operation: 10*39=390, Resulting Numbers: [390]
390,62 unequal: No Solution
Exploring Operation: 10+39=49, Resulting Numbers: [49]
49,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 62:[17, 66], Operations: ['80-70=10', '56+10=66']
Exploring Operation: 17*66=1122, Resulting Numbers: [1122]
1122,62 unequal: No Solution
Exploring Operation: 66-17=49, Resulting Numbers: [49]
49,62 unequal: No Solution
Exploring Operation: 17+66=83, Resulting Numbers: [83]
83,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 62:[10, 73], Operations: ['80-70=10', '56+17=73']
Exploring Operation: 73-10=63, Resulting Numbers: [63]
63,62 unequal: No Solution
Exploring Operation: 10*73=730, Resulting Numbers: [730]
730,62 unequal: No Solution
Exploring Operation: 10+73=83, Resulting Numbers: [83]
83,62 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: 62:[70, 17, 24], Operations: ['80-56=24']
Exploring Operation: 70+17=87, Resulting Numbers: [24, 87]
Generated Node #0,4,0: 62:[24, 87] Operation: 70+17=87
Exploring Operation: 17+24=41, Resulting Numbers: [70, 41]
Generated Node #0,4,1: 62:[70, 41] Operation: 17+24=41
Exploring Operation: 24-17=7, Resulting Numbers: [70, 7]
Generated Node #0,4,2: 62:[70, 7] Operation: 24-17=7
Exploring Operation: 70-24=46, Resulting Numbers: [17, 46]
Generated Node #0,4,3: 62:[17, 46] Operation: 70-24=46
Exploring Operation: 70-17=53, Resulting Numbers: [24, 53]
Generated Node #0,4,4: 62:[24, 53] Operation: 70-17=53
Moving to Node #0,2
Current State: 62:[56, 80, 53], Operations: ['70-17=53']
Exploring Operation: 80-56=24, Resulting Numbers: [53, 24]
Generated Node #0,2,0: 62:[53, 24] Operation: 80-56=24
Exploring Operation: 80+53=133, Resulting Numbers: [56, 133]
Generated Node #0,2,1: 62:[56, 133] Operation: 80+53=133
Exploring Operation: 56-53=3, Resulting Numbers: [80, 3]
Generated Node #0,2,2: 62:[80, 3] Operation: 56-53=3
Exploring Operation: 56+53=109, Resulting Numbers: [80, 109]
Generated Node #0,2,3: 62:[80, 109] Operation: 56+53=109
Exploring Operation: 80-53=27, Resulting Numbers: [56, 27]
Generated Node #0,2,4: 62:[56, 27] Operation: 80-53=27
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 62:[56, 27], Operations: ['70-17=53', '80-53=27']
Exploring Operation: 56+27=83, Resulting Numbers: [83]
83,62 unequal: No Solution
Exploring Operation: 56*27=1512, Resulting Numbers: [1512]
1512,62 unequal: No Solution
Exploring Operation: 56-27=29, Resulting Numbers: [29]
29,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 62:[53, 24], Operations: ['70-17=53', '80-56=24']
Exploring Operation: 53*24=1272, Resulting Numbers: [1272]
1272,62 unequal: No Solution
Exploring Operation: 53-24=29, Resulting Numbers: [29]
29,62 unequal: No Solution
Exploring Operation: 53+24=77, Resulting Numbers: [77]
77,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 62:[80, 3], Operations: ['70-17=53', '56-53=3']
Exploring Operation: 80*3=240, Resulting Numbers: [240]
240,62 unequal: No Solution
Exploring Operation: 80+3=83, Resulting Numbers: [83]
83,62 unequal: No Solution
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 62:[80, 109], Operations: ['70-17=53', '56+53=109']
Exploring Operation: 80+109=189, Resulting Numbers: [189]
189,62 unequal: No Solution
Exploring Operation: 80*109=8720, Resulting Numbers: [8720]
8720,62 unequal: No Solution
Exploring Operation: 109-80=29, Resulting Numbers: [29]
29,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 62:[56, 133], Operations: ['70-17=53', '80+53=133']
Exploring Operation: 56*133=7448, Resulting Numbers: [7448]
7448,62 unequal: No Solution
Exploring Operation: 56+133=189, Resulting Numbers: [189]
189,62 unequal: No Solution
Exploring Operation: 133-56=77, Resulting Numbers: [77]
77,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 62:[70, 80, 39], Operations: ['56-17=39']
Exploring Operation: 80-70=10, Resulting Numbers: [39, 10]
Generated Node #0,0,0: 62:[39, 10] Operation: 80-70=10
Exploring Operation: 80-39=41, Resulting Numbers: [70, 41]
Generated Node #0,0,1: 62:[70, 41] Operation: 80-39=41
Exploring Operation: 70-39=31, Resulting Numbers: [80, 31]
Generated Node #0,0,2: 62:[80, 31] Operation: 70-39=31
Exploring Operation: 70+39=109, Resulting Numbers: [80, 109]
Generated Node #0,0,3: 62:[80, 109] Operation: 70+39=109
Exploring Operation: 80+39=119, Resulting Numbers: [70, 119]
Generated Node #0,0,4: 62:[70, 119] Operation: 80+39=119
Moving to Node #0,1,3
Current State: 62:[56, 7], Operations: ['80-17=63', '70-63=7']
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,62 unequal: No Solution
Exploring Operation: 56/7=8, Resulting Numbers: [8]
8,62 unequal: No Solution
Exploring Operation: 56*7=392, Resulting Numbers: [392]
392,62 unequal: No Solution
Exploring Operation: 56+7=63, Resulting Numbers: [63]
63,62 unequal: No Solution
Moving to Node #0,1,4
Current State: 62:[63, 14], Operations: ['80-17=63', '70-56=14']
Exploring Operation: 63+14=77, Resulting Numbers: [77]
77,62 unequal: No Solution
Exploring Operation: 63-14=49, Resulting Numbers: [49]
49,62 unequal: No Solution
Exploring Operation: 63*14=882, Resulting Numbers: [882]
882,62 unequal: No Solution
Moving to Node #0,4,2
Current State: 62:[70, 7], Operations: ['80-56=24', '24-17=7']
Exploring Operation: 70/7=10, Resulting Numbers: [10]
10,62 unequal: No Solution
Exploring Operation: 70+7=77, Resulting Numbers: [77]
77,62 unequal: No Solution
Exploring Operation: 70-7=63, Resulting Numbers: [63]
63,62 unequal: No Solution
Exploring Operation: 70*7=490, Resulting Numbers: [490]
490,62 unequal: No Solution
Moving to Node #0,1,0
Current State: 62:[70, 7], Operations: ['80-17=63', '63-56=7']
Exploring Operation: 70*7=490, Resulting Numbers: [490]
490,62 unequal: No Solution
Exploring Operation: 70/7=10, Resulting Numbers: [10]
10,62 unequal: No Solution
Exploring Operation: 70+7=77, Resulting Numbers: [77]
77,62 unequal: No Solution
Exploring Operation: 70-7=63, Resulting Numbers: [63]
63,62 unequal: No Solution
Moving to Node #0,4,4
Current State: 62:[24, 53], Operations: ['80-56=24', '70-17=53']
Exploring Operation: 24*53=1272, Resulting Numbers: [1272]
1272,62 unequal: No Solution
Exploring Operation: 53-24=29, Resulting Numbers: [29]
29,62 unequal: No Solution
Exploring Operation: 24+53=77, Resulting Numbers: [77]
77,62 unequal: No Solution
Moving to Node #0,0,0
Current State: 62:[39, 10], Operations: ['56-17=39', '80-70=10']
Exploring Operation: 39-10=29, Resulting Numbers: [29]
29,62 unequal: No Solution
Exploring Operation: 39+10=49, Resulting Numbers: [49]
49,62 unequal: No Solution
Exploring Operation: 39*10=390, Resulting Numbers: [390]
390,62 unequal: No Solution
Moving to Node #0,0,2
Current State: 62:[80, 31], Operations: ['56-17=39', '70-39=31']
Exploring Operation: 80*31=2480, Resulting Numbers: [2480]
2480,62 unequal: No Solution
Exploring Operation: 80+31=111, Resulting Numbers: [111]
111,62 unequal: No Solution
Exploring Operation: 80-31=49, Resulting Numbers: [49]
49,62 unequal: No Solution
Moving to Node #0,0,1
Current State: 62:[70, 41], Operations: ['56-17=39', '80-39=41']
Exploring Operation: 70*41=2870, Resulting Numbers: [2870]
2870,62 unequal: No Solution
Exploring Operation: 70+41=111, Resulting Numbers: [111]
111,62 unequal: No Solution
Exploring Operation: 70-41=29, Resulting Numbers: [29]
29,62 unequal: No Solution
Moving to Node #0,4,1
Current State: 62:[70, 41], Operations: ['80-56=24', '17+24=41']
Exploring Operation: 70*41=2870, Resulting Numbers: [2870]
2870,62 unequal: No Solution
Exploring Operation: 70-41=29, Resulting Numbers: [29]
29,62 unequal: No Solution
Exploring Operation: 70+41=111, Resulting Numbers: [111]
111,62 unequal: No Solution
Moving to Node #0,4,3
Current State: 62:[17, 46], Operations: ['80-56=24', '70-24=46']
Exploring Operation: 46-17=29, Resulting Numbers: [29]
29,62 unequal: No Solution
Exploring Operation: 17+46=63, Resulting Numbers: [63]
63,62 unequal: No Solution
Exploring Operation: 17*46=782, Resulting Numbers: [782]
782,62 unequal: No Solution
Moving to Node #0,4,0
Current State: 62:[24, 87], Operations: ['80-56=24', '70+17=87']
Exploring Operation: 24+87=111, Resulting Numbers: [111]
111,62 unequal: No Solution
Exploring Operation: 24*87=2088, Resulting Numbers: [2088]
2088,62 unequal: No Solution
Exploring Operation: 87-24=63, Resulting Numbers: [63]
63,62 unequal: No Solution
Moving to Node #0,0,3
Current State: 62:[80, 109], Operations: ['56-17=39', '70+39=109']
Exploring Operation: 80*109=8720, Resulting Numbers: [8720]
8720,62 unequal: No Solution
Exploring Operation: 109-80=29, Resulting Numbers: [29]
29,62 unequal: No Solution
Exploring Operation: 80+109=189, Resulting Numbers: [189]
189,62 unequal: No Solution
Moving to Node #0,1,2
Current State: 62:[70, 119], Operations: ['80-17=63', '56+63=119']
Exploring Operation: 119-70=49, Resulting Numbers: [49]
49,62 unequal: No Solution
Exploring Operation: 70*119=8330, Resulting Numbers: [8330]
8330,62 unequal: No Solution
Exploring Operation: 70+119=189, Resulting Numbers: [189]
189,62 unequal: No Solution
Moving to Node #0,0,4
Current State: 62:[70, 119], Operations: ['56-17=39', '80+39=119']
Exploring Operation: 70+119=189, Resulting Numbers: [189]
189,62 unequal: No Solution
Exploring Operation: 70*119=8330, Resulting Numbers: [8330]
8330,62 unequal: No Solution
Exploring Operation: 119-70=49, Resulting Numbers: [49]
49,62 unequal: No Solution
Moving to Node #0,1,1
Current State: 62:[63, 126], Operations: ['80-17=63', '56+70=126']
Exploring Operation: 126/63=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Exploring Operation: 63+126=189, Resulting Numbers: [189]
189,62 unequal: No Solution
Exploring Operation: 63*126=7938, Resulting Numbers: [7938]
7938,62 unequal: No Solution
Exploring Operation: 126-63=63, Resulting Numbers: [63]
63,62 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
86,
42,
28,
2
] | 100 | [
"86-42=44",
"28*2=56",
"44+56=100"
] | Current State: 100:[86, 42, 28, 2], Operations: []
Exploring Operation: 86-42=44, Resulting Numbers: [28, 2, 44]
Generated Node #2: [28, 2, 44] from Operation: 86-42=44
Current State: 100:[28, 2, 44], Operations: ['86-42=44']
Exploring Operation: 28*2=56, Resulting Numbers: [44, 56]
Generated Node #3: [44, 56] from Operation: 28*2=56
Current State: 100:[44, 56], Operations: ['86-42=44', '28*2=56']
Exploring Operation: 44+56=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[86, 42, 28, 2], Operations: []
Exploring Operation: 86-42=44, Resulting Numbers: [28, 2, 44]
Generated Node #0,0: 100:[28, 2, 44] Operation: 86-42=44
Exploring Operation: 86-28=58, Resulting Numbers: [42, 2, 58]
Generated Node #0,1: 100:[42, 2, 58] Operation: 86-28=58
Moving to Node #0,0
Current State: 100:[28, 2, 44], Operations: ['86-42=44']
Exploring Operation: 44/2=22, Resulting Numbers: [28, 22]
Generated Node #0,0,0: 100:[28, 22] Operation: 44/2=22
Exploring Operation: 44-28=16, Resulting Numbers: [2, 16]
Generated Node #0,0,1: 100:[2, 16] Operation: 44-28=16
Moving to Node #0,1
Current State: 100:[42, 2, 58], Operations: ['86-28=58']
Exploring Operation: 58-42=16, Resulting Numbers: [2, 16]
Generated Node #0,1,0: 100:[2, 16] Operation: 58-42=16
Exploring Operation: 42+58=100, Resulting Numbers: [2, 100]
Generated Node #0,1,1: 100:[2, 100] Operation: 42+58=100
Moving to Node #0,1,1
Current State: 100:[2, 100], Operations: ['86-28=58', '42+58=100']
Exploring Operation: 2+100=102, Resulting Numbers: [102]
102,100 unequal: No Solution
Exploring Operation: 100/2=50, Resulting Numbers: [50]
50,100 unequal: No Solution
Moving to Node #0,0,1
Current State: 100:[2, 16], Operations: ['86-42=44', '44-28=16']
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,100 unequal: No Solution
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,100 unequal: No Solution
Moving to Node #0,1,0
Current State: 100:[2, 16], Operations: ['86-28=58', '58-42=16']
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,100 unequal: No Solution
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,100 unequal: No Solution
Moving to Node #0,0,0
Current State: 100:[28, 22], Operations: ['86-42=44', '44/2=22']
Exploring Operation: 28-22=6, Resulting Numbers: [6]
6,100 unequal: No Solution
Exploring Operation: 28+22=50, Resulting Numbers: [50]
50,100 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
72,
94,
66,
97
] | 42 | [
"97-94=3",
"72/3=24",
"66-24=42"
] | Current State: 42:[72, 94, 66, 97], Operations: []
Exploring Operation: 97-94=3, Resulting Numbers: [72, 66, 3]
Generated Node #2: [72, 66, 3] from Operation: 97-94=3
Current State: 42:[72, 66, 3], Operations: ['97-94=3']
Exploring Operation: 72/3=24, Resulting Numbers: [66, 24]
Generated Node #3: [66, 24] from Operation: 72/3=24
Current State: 42:[66, 24], Operations: ['97-94=3', '72/3=24']
Exploring Operation: 66-24=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[72, 94, 66, 97], Operations: []
Exploring Operation: 97-94=3, Resulting Numbers: [72, 66, 3]
Generated Node #0,0: 42:[72, 66, 3] Operation: 97-94=3
Exploring Operation: 94-72=22, Resulting Numbers: [66, 97, 22]
Generated Node #0,1: 42:[66, 97, 22] Operation: 94-72=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[72, 66, 3], Operations: ['97-94=3']
Exploring Operation: 72-66=6, Resulting Numbers: [3, 6]
Generated Node #0,0,0: 42:[3, 6] Operation: 72-66=6
Exploring Operation: 72/3=24, Resulting Numbers: [66, 24]
Generated Node #0,0,1: 42:[66, 24] Operation: 72/3=24
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 42:[3, 6], Operations: ['97-94=3', '72-66=6']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,42 unequal: No Solution
No 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: 42:[66, 24], Operations: ['97-94=3', '72/3=24']
Exploring Operation: 66+24=90, Resulting Numbers: [90]
90,42 unequal: No Solution
Exploring Operation: 66-24=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[72, 94, 66, 97], Operations: []
Exploring Operation: 97-94=3, Resulting Numbers: [72, 66, 3]
Generated Node #0,0: 42:[72, 66, 3] Operation: 97-94=3
Moving to Node #0,0
Current State: 42:[72, 66, 3], Operations: ['97-94=3']
Exploring Operation: 72/3=24, Resulting Numbers: [66, 24]
Generated Node #0,0,1: 42:[66, 24] Operation: 72/3=24
Moving to Node #0,0,1
Current State: 42:[66, 24], Operations: ['97-94=3', '72/3=24']
Exploring Operation: 66-24=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
72,
50,
9,
23
] | 90 | [
"72+50=122",
"9+23=32",
"122-32=90"
] | Current State: 90:[72, 50, 9, 23], Operations: []
Exploring Operation: 72+50=122, Resulting Numbers: [9, 23, 122]
Generated Node #2: [9, 23, 122] from Operation: 72+50=122
Current State: 90:[9, 23, 122], Operations: ['72+50=122']
Exploring Operation: 9+23=32, Resulting Numbers: [122, 32]
Generated Node #3: [122, 32] from Operation: 9+23=32
Current State: 90:[122, 32], Operations: ['72+50=122', '9+23=32']
Exploring Operation: 122-32=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[72, 50, 9, 23], Operations: []
Exploring Operation: 72-23=49, Resulting Numbers: [50, 9, 49]
Generated Node #0,0: 90:[50, 9, 49] Operation: 72-23=49
Exploring Operation: 72+23=95, Resulting Numbers: [50, 9, 95]
Generated Node #0,1: 90:[50, 9, 95] Operation: 72+23=95
Exploring Operation: 72-50=22, Resulting Numbers: [9, 23, 22]
Generated Node #0,2: 90:[9, 23, 22] Operation: 72-50=22
Exploring Operation: 72/9=8, Resulting Numbers: [50, 23, 8]
Generated Node #0,3: 90:[50, 23, 8] Operation: 72/9=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[50, 9, 49], Operations: ['72-23=49']
Exploring Operation: 50-49=1, Resulting Numbers: [9, 1]
Generated Node #0,0,0: 90:[9, 1] Operation: 50-49=1
Exploring Operation: 50-9=41, Resulting Numbers: [49, 41]
Generated Node #0,0,1: 90:[49, 41] Operation: 50-9=41
Exploring Operation: 50+49=99, Resulting Numbers: [9, 99]
Generated Node #0,0,2: 90:[9, 99] Operation: 50+49=99
Exploring Operation: 49-9=40, Resulting Numbers: [50, 40]
Generated Node #0,0,3: 90:[50, 40] Operation: 49-9=40
Moving to Node #0,0,0
Current State: 90:[9, 1], Operations: ['72-23=49', '50-49=1']
Exploring Operation: 9+1=10, Resulting Numbers: [10]
10,90 unequal: No Solution
Exploring Operation: 9*1=9, Resulting Numbers: [9]
9,90 unequal: No Solution
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,90 unequal: No Solution
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,90 unequal: No Solution
Moving to Node #0,0,1
Current State: 90:[49, 41], Operations: ['72-23=49', '50-9=41']
Exploring Operation: 49+41=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[72, 50, 9, 23], Operations: []
Exploring Operation: 72-23=49, Resulting Numbers: [50, 9, 49]
Generated Node #0,0: 90:[50, 9, 49] Operation: 72-23=49
Moving to Node #0,0
Current State: 90:[50, 9, 49], Operations: ['72-23=49']
Exploring Operation: 50-9=41, Resulting Numbers: [49, 41]
Generated Node #0,0,1: 90:[49, 41] Operation: 50-9=41
Moving to Node #0,0,1
Current State: 90:[49, 41], Operations: ['72-23=49', '50-9=41']
Exploring Operation: 49+41=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
19,
35,
4,
12
] | 73 | [
"35-12=23",
"4*23=92",
"92-19=73"
] | Current State: 73:[19, 35, 4, 12], Operations: []
Exploring Operation: 35-12=23, Resulting Numbers: [19, 4, 23]
Generated Node #2: [19, 4, 23] from Operation: 35-12=23
Current State: 73:[19, 4, 23], Operations: ['35-12=23']
Exploring Operation: 4*23=92, Resulting Numbers: [19, 92]
Generated Node #3: [19, 92] from Operation: 4*23=92
Current State: 73:[19, 92], Operations: ['35-12=23', '4*23=92']
Exploring Operation: 92-19=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[19, 35, 4, 12], Operations: []
Exploring Operation: 4*12=48, Resulting Numbers: [19, 35, 48]
Generated Node #0,0: 73:[19, 35, 48] Operation: 4*12=48
Exploring Operation: 19*4=76, Resulting Numbers: [35, 12, 76]
Generated Node #0,1: 73:[35, 12, 76] Operation: 19*4=76
Exploring Operation: 19+35=54, Resulting Numbers: [4, 12, 54]
Generated Node #0,2: 73:[4, 12, 54] Operation: 19+35=54
Moving to Node #0,1
Current State: 73:[35, 12, 76], Operations: ['19*4=76']
Exploring Operation: 35+12=47, Resulting Numbers: [76, 47]
Generated Node #0,1,0: 73:[76, 47] Operation: 35+12=47
Exploring Operation: 35-12=23, Resulting Numbers: [76, 23]
Generated Node #0,1,1: 73:[76, 23] Operation: 35-12=23
Exploring Operation: 76-12=64, Resulting Numbers: [35, 64]
Generated Node #0,1,2: 73:[35, 64] Operation: 76-12=64
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 73:[76, 47], Operations: ['19*4=76', '35+12=47']
Exploring Operation: 76+47=123, Resulting Numbers: [123]
123,73 unequal: No Solution
Exploring Operation: 76-47=29, Resulting Numbers: [29]
29,73 unequal: No Solution
Exploring Operation: 76*47=3572, Resulting Numbers: [3572]
3572,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 73:[35, 64], Operations: ['19*4=76', '76-12=64']
Exploring Operation: 35*64=2240, Resulting Numbers: [2240]
2240,73 unequal: No Solution
Exploring Operation: 35+64=99, Resulting Numbers: [99]
99,73 unequal: No Solution
Exploring Operation: 64-35=29, Resulting Numbers: [29]
29,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 73:[76, 23], Operations: ['19*4=76', '35-12=23']
Exploring Operation: 76-23=53, Resulting Numbers: [53]
53,73 unequal: No Solution
Exploring Operation: 76*23=1748, Resulting Numbers: [1748]
1748,73 unequal: No Solution
Exploring Operation: 76+23=99, Resulting Numbers: [99]
99,73 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: 73:[19, 35, 48], Operations: ['4*12=48']
Exploring Operation: 19+48=67, Resulting Numbers: [35, 67]
Generated Node #0,0,0: 73:[35, 67] Operation: 19+48=67
Exploring Operation: 19+35=54, Resulting Numbers: [48, 54]
Generated Node #0,0,1: 73:[48, 54] Operation: 19+35=54
Exploring Operation: 35+48=83, Resulting Numbers: [19, 83]
Generated Node #0,0,2: 73:[19, 83] Operation: 35+48=83
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[35, 67], Operations: ['4*12=48', '19+48=67']
Exploring Operation: 35*67=2345, Resulting Numbers: [2345]
2345,73 unequal: No Solution
Exploring Operation: 67-35=32, Resulting Numbers: [32]
32,73 unequal: No Solution
Exploring Operation: 35+67=102, Resulting Numbers: [102]
102,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:[48, 54], Operations: ['4*12=48', '19+35=54']
Exploring Operation: 48*54=2592, Resulting Numbers: [2592]
2592,73 unequal: No Solution
Exploring Operation: 48+54=102, Resulting Numbers: [102]
102,73 unequal: No Solution
Exploring Operation: 54-48=6, Resulting Numbers: [6]
6,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:[19, 83], Operations: ['4*12=48', '35+48=83']
Exploring Operation: 19*83=1577, Resulting Numbers: [1577]
1577,73 unequal: No Solution
Exploring Operation: 19+83=102, Resulting Numbers: [102]
102,73 unequal: No Solution
Exploring Operation: 83-19=64, Resulting Numbers: [64]
64,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:[4, 12, 54], Operations: ['19+35=54']
Exploring Operation: 4*12=48, Resulting Numbers: [54, 48]
Generated Node #0,2,0: 73:[54, 48] Operation: 4*12=48
Exploring Operation: 4+54=58, Resulting Numbers: [12, 58]
Generated Node #0,2,1: 73:[12, 58] Operation: 4+54=58
Exploring Operation: 4+12=16, Resulting Numbers: [54, 16]
Generated Node #0,2,2: 73:[54, 16] Operation: 4+12=16
Moving to Node #0,2,0
Current State: 73:[54, 48], Operations: ['19+35=54', '4*12=48']
Exploring Operation: 54+48=102, Resulting Numbers: [102]
102,73 unequal: No Solution
Exploring Operation: 54-48=6, Resulting Numbers: [6]
6,73 unequal: No Solution
Exploring Operation: 54*48=2592, Resulting Numbers: [2592]
2592,73 unequal: No Solution
Moving to Node #0,2,1
Current State: 73:[12, 58], Operations: ['19+35=54', '4+54=58']
Exploring Operation: 12*58=696, Resulting Numbers: [696]
696,73 unequal: No Solution
Exploring Operation: 58-12=46, Resulting Numbers: [46]
46,73 unequal: No Solution
Exploring Operation: 12+58=70, Resulting Numbers: [70]
70,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[54, 16], Operations: ['19+35=54', '4+12=16']
Exploring Operation: 54+16=70, Resulting Numbers: [70]
70,73 unequal: No Solution
Exploring Operation: 54-16=38, Resulting Numbers: [38]
38,73 unequal: No Solution
Exploring Operation: 54*16=864, Resulting Numbers: [864]
864,73 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
25,
27,
29,
67
] | 36 | [
"27-25=2",
"67-29=38",
"38-2=36"
] | Current State: 36:[25, 27, 29, 67], Operations: []
Exploring Operation: 27-25=2, Resulting Numbers: [29, 67, 2]
Generated Node #2: [29, 67, 2] from Operation: 27-25=2
Current State: 36:[29, 67, 2], Operations: ['27-25=2']
Exploring Operation: 67-29=38, Resulting Numbers: [2, 38]
Generated Node #3: [2, 38] from Operation: 67-29=38
Current State: 36:[2, 38], Operations: ['27-25=2', '67-29=38']
Exploring Operation: 38-2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[25, 27, 29, 67], Operations: []
Exploring Operation: 67-27=40, Resulting Numbers: [25, 29, 40]
Generated Node #0,0: 36:[25, 29, 40] Operation: 67-27=40
Moving to Node #0,0
Current State: 36:[25, 29, 40], Operations: ['67-27=40']
Exploring Operation: 29-25=4, Resulting Numbers: [40, 4]
Generated Node #0,0,0: 36:[40, 4] Operation: 29-25=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 36:[40, 4], Operations: ['67-27=40', '29-25=4']
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[25, 27, 29, 67], Operations: []
Exploring Operation: 67-27=40, Resulting Numbers: [25, 29, 40]
Generated Node #0,0: 36:[25, 29, 40] Operation: 67-27=40
Moving to Node #0,0
Current State: 36:[25, 29, 40], Operations: ['67-27=40']
Exploring Operation: 29-25=4, Resulting Numbers: [40, 4]
Generated Node #0,0,0: 36:[40, 4] Operation: 29-25=4
Moving to Node #0,0,0
Current State: 36:[40, 4], Operations: ['67-27=40', '29-25=4']
Exploring Operation: 40-4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
43,
90,
16,
87
] | 56 | [
"90-43=47",
"16+87=103",
"103-47=56"
] | Current State: 56:[43, 90, 16, 87], Operations: []
Exploring Operation: 90-43=47, Resulting Numbers: [16, 87, 47]
Generated Node #2: [16, 87, 47] from Operation: 90-43=47
Current State: 56:[16, 87, 47], Operations: ['90-43=47']
Exploring Operation: 16+87=103, Resulting Numbers: [47, 103]
Generated Node #3: [47, 103] from Operation: 16+87=103
Current State: 56:[47, 103], Operations: ['90-43=47', '16+87=103']
Exploring Operation: 103-47=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[43, 90, 16, 87], Operations: []
Exploring Operation: 90-16=74, Resulting Numbers: [43, 87, 74]
Generated Node #0,0: 56:[43, 87, 74] Operation: 90-16=74
Exploring Operation: 90-87=3, Resulting Numbers: [43, 16, 3]
Generated Node #0,1: 56:[43, 16, 3] Operation: 90-87=3
Exploring Operation: 87-43=44, Resulting Numbers: [90, 16, 44]
Generated Node #0,2: 56:[90, 16, 44] Operation: 87-43=44
Exploring Operation: 90-43=47, Resulting Numbers: [16, 87, 47]
Generated Node #0,3: 56:[16, 87, 47] Operation: 90-43=47
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[43, 16, 3], Operations: ['90-87=3']
Exploring Operation: 43+3=46, Resulting Numbers: [16, 46]
Generated Node #0,1,0: 56:[16, 46] Operation: 43+3=46
Exploring Operation: 43+16=59, Resulting Numbers: [3, 59]
Generated Node #0,1,1: 56:[3, 59] Operation: 43+16=59
Exploring Operation: 43-16=27, Resulting Numbers: [3, 27]
Generated Node #0,1,2: 56:[3, 27] Operation: 43-16=27
Exploring Operation: 43-3=40, Resulting Numbers: [16, 40]
Generated Node #0,1,3: 56:[16, 40] Operation: 43-3=40
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 56:[3, 27], Operations: ['90-87=3', '43-16=27']
Exploring Operation: 3+27=30, Resulting Numbers: [30]
30,56 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,56 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,56 unequal: No Solution
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,56 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 56:[3, 59], Operations: ['90-87=3', '43+16=59']
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[43, 90, 16, 87], Operations: []
Exploring Operation: 90-87=3, Resulting Numbers: [43, 16, 3]
Generated Node #0,1: 56:[43, 16, 3] Operation: 90-87=3
Moving to Node #0,1
Current State: 56:[43, 16, 3], Operations: ['90-87=3']
Exploring Operation: 43+16=59, Resulting Numbers: [3, 59]
Generated Node #0,1,1: 56:[3, 59] Operation: 43+16=59
Moving to Node #0,1,1
Current State: 56:[3, 59], Operations: ['90-87=3', '43+16=59']
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
84,
87,
4,
47
] | 40 | [
"87-84=3",
"47-4=43",
"43-3=40"
] | Current State: 40:[84, 87, 4, 47], Operations: []
Exploring Operation: 87-84=3, Resulting Numbers: [4, 47, 3]
Generated Node #2: [4, 47, 3] from Operation: 87-84=3
Current State: 40:[4, 47, 3], Operations: ['87-84=3']
Exploring Operation: 47-4=43, Resulting Numbers: [3, 43]
Generated Node #3: [3, 43] from Operation: 47-4=43
Current State: 40:[3, 43], Operations: ['87-84=3', '47-4=43']
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[84, 87, 4, 47], Operations: []
Exploring Operation: 87-84=3, Resulting Numbers: [4, 47, 3]
Generated Node #0,0: 40:[4, 47, 3] Operation: 87-84=3
Exploring Operation: 87-47=40, Resulting Numbers: [84, 4, 40]
Generated Node #0,1: 40:[84, 4, 40] Operation: 87-47=40
Exploring Operation: 84-47=37, Resulting Numbers: [87, 4, 37]
Generated Node #0,2: 40:[87, 4, 37] Operation: 84-47=37
Moving to Node #0,0
Current State: 40:[4, 47, 3], Operations: ['87-84=3']
Exploring Operation: 47-4=43, Resulting Numbers: [3, 43]
Generated Node #0,0,0: 40:[3, 43] Operation: 47-4=43
Exploring Operation: 4+3=7, Resulting Numbers: [47, 7]
Generated Node #0,0,1: 40:[47, 7] Operation: 4+3=7
Exploring Operation: 47-3=44, Resulting Numbers: [4, 44]
Generated Node #0,0,2: 40:[4, 44] Operation: 47-3=44
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 40:[3, 43], Operations: ['87-84=3', '47-4=43']
Exploring Operation: 3+43=46, Resulting Numbers: [46]
46,40 unequal: No Solution
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[84, 87, 4, 47], Operations: []
Exploring Operation: 87-84=3, Resulting Numbers: [4, 47, 3]
Generated Node #0,0: 40:[4, 47, 3] Operation: 87-84=3
Moving to Node #0,0
Current State: 40:[4, 47, 3], Operations: ['87-84=3']
Exploring Operation: 47-4=43, Resulting Numbers: [3, 43]
Generated Node #0,0,0: 40:[3, 43] Operation: 47-4=43
Moving to Node #0,0,0
Current State: 40:[3, 43], Operations: ['87-84=3', '47-4=43']
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
72,
63,
40,
42
] | 81 | [
"42-40=2",
"72*2=144",
"144-63=81"
] | Current State: 81:[72, 63, 40, 42], Operations: []
Exploring Operation: 42-40=2, Resulting Numbers: [72, 63, 2]
Generated Node #2: [72, 63, 2] from Operation: 42-40=2
Current State: 81:[72, 63, 2], Operations: ['42-40=2']
Exploring Operation: 72*2=144, Resulting Numbers: [63, 144]
Generated Node #3: [63, 144] from Operation: 72*2=144
Current State: 81:[63, 144], Operations: ['42-40=2', '72*2=144']
Exploring Operation: 144-63=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[72, 63, 40, 42], Operations: []
Exploring Operation: 72-63=9, Resulting Numbers: [40, 42, 9]
Generated Node #0,0: 81:[40, 42, 9] Operation: 72-63=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[40, 42, 9], Operations: ['72-63=9']
Exploring Operation: 40+42=82, Resulting Numbers: [9, 82]
Generated Node #0,0,0: 81:[9, 82] Operation: 40+42=82
Moving to Node #0,0,0
Current State: 81:[9, 82], Operations: ['72-63=9', '40+42=82']
Exploring Operation: 82-9=73, Resulting Numbers: [73]
73,81 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 |
[
96,
78,
73,
90
] | 83 | [
"73*90=6570",
"6570-96=6474",
"6474/78=83"
] | Current State: 83:[96, 78, 73, 90], Operations: []
Exploring Operation: 73*90=6570, Resulting Numbers: [96, 78, 6570]
Generated Node #2: [96, 78, 6570] from Operation: 73*90=6570
Current State: 83:[96, 78, 6570], Operations: ['73*90=6570']
Exploring Operation: 6570-96=6474, Resulting Numbers: [78, 6474]
Generated Node #3: [78, 6474] from Operation: 6570-96=6474
Current State: 83:[78, 6474], Operations: ['73*90=6570', '6570-96=6474']
Exploring Operation: 6474/78=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[96, 78, 73, 90], Operations: []
Exploring Operation: 96-73=23, Resulting Numbers: [78, 90, 23]
Generated Node #0,0: 83:[78, 90, 23] Operation: 96-73=23
Moving to Node #0,0
Current State: 83:[78, 90, 23], Operations: ['96-73=23']
Exploring Operation: 90-23=67, Resulting Numbers: [78, 67]
Generated Node #0,0,0: 83:[78, 67] Operation: 90-23=67
Moving to Node #0,0,0
Current State: 83:[78, 67], Operations: ['96-73=23', '90-23=67']
Exploring Operation: 78+67=145, Resulting Numbers: [145]
145,83 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
28,
59,
1,
34
] | 54 | [
"28+59=87",
"34-1=33",
"87-33=54"
] | Current State: 54:[28, 59, 1, 34], Operations: []
Exploring Operation: 28+59=87, Resulting Numbers: [1, 34, 87]
Generated Node #2: [1, 34, 87] from Operation: 28+59=87
Current State: 54:[1, 34, 87], Operations: ['28+59=87']
Exploring Operation: 34-1=33, Resulting Numbers: [87, 33]
Generated Node #3: [87, 33] from Operation: 34-1=33
Current State: 54:[87, 33], Operations: ['28+59=87', '34-1=33']
Exploring Operation: 87-33=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[28, 59, 1, 34], Operations: []
Exploring Operation: 59-34=25, Resulting Numbers: [28, 1, 25]
Generated Node #0,0: 54:[28, 1, 25] Operation: 59-34=25
Moving to Node #0,0
Current State: 54:[28, 1, 25], Operations: ['59-34=25']
Exploring Operation: 28-25=3, Resulting Numbers: [1, 3]
Generated Node #0,0,0: 54:[1, 3] Operation: 28-25=3
Moving to Node #0,0,0
Current State: 54:[1, 3], Operations: ['59-34=25', '28-25=3']
Exploring Operation: 1*3=3, Resulting Numbers: [3]
3,54 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.