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,
51,
4,
55
] | 48 | [
"48+51=99",
"55-4=51",
"99-51=48"
] | Current State: 48:[48, 51, 4, 55], Operations: []
Exploring Operation: 48+51=99, Resulting Numbers: [4, 55, 99]
Generated Node #2: [4, 55, 99] from Operation: 48+51=99
Current State: 48:[4, 55, 99], Operations: ['48+51=99']
Exploring Operation: 55-4=51, Resulting Numbers: [99, 51]
Generated Node #3: [99, 51] from Operation: 55-4=51
Current State: 48:[99, 51], Operations: ['48+51=99', '55-4=51']
Exploring Operation: 99-51=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[48, 51, 4, 55], Operations: []
Exploring Operation: 55-51=4, Resulting Numbers: [48, 4, 4]
Generated Node #0,0: 48:[48, 4, 4] Operation: 55-51=4
Moving to Node #0,0
Current State: 48:[48, 4, 4], Operations: ['55-51=4']
Exploring Operation: 48/4=12, Resulting Numbers: [4, 12]
Generated Node #0,0,0: 48:[4, 12] Operation: 48/4=12
Moving to Node #0,0,0
Current State: 48:[4, 12], Operations: ['55-51=4', '48/4=12']
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,48 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
15,
82,
98,
85
] | 84 | [
"15+82=97",
"98-85=13",
"97-13=84"
] | Current State: 84:[15, 82, 98, 85], Operations: []
Exploring Operation: 15+82=97, Resulting Numbers: [98, 85, 97]
Generated Node #2: [98, 85, 97] from Operation: 15+82=97
Current State: 84:[98, 85, 97], Operations: ['15+82=97']
Exploring Operation: 98-85=13, Resulting Numbers: [97, 13]
Generated Node #3: [97, 13] from Operation: 98-85=13
Current State: 84:[97, 13], Operations: ['15+82=97', '98-85=13']
Exploring Operation: 97-13=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[15, 82, 98, 85], Operations: []
Exploring Operation: 98-15=83, Resulting Numbers: [82, 85, 83]
Generated Node #0,0: 84:[82, 85, 83] Operation: 98-15=83
Exploring Operation: 98-82=16, Resulting Numbers: [15, 85, 16]
Generated Node #0,1: 84:[15, 85, 16] Operation: 98-82=16
Exploring Operation: 98-85=13, Resulting Numbers: [15, 82, 13]
Generated Node #0,2: 84:[15, 82, 13] Operation: 98-85=13
Exploring Operation: 85-82=3, Resulting Numbers: [15, 98, 3]
Generated Node #0,3: 84:[15, 98, 3] Operation: 85-82=3
Exploring Operation: 15+82=97, Resulting Numbers: [98, 85, 97]
Generated Node #0,4: 84:[98, 85, 97] Operation: 15+82=97
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[82, 85, 83], Operations: ['98-15=83']
Exploring Operation: 82+83=165, Resulting Numbers: [85, 165]
Generated Node #0,0,0: 84:[85, 165] Operation: 82+83=165
Exploring Operation: 85-82=3, Resulting Numbers: [83, 3]
Generated Node #0,0,1: 84:[83, 3] Operation: 85-82=3
Exploring Operation: 85-83=2, Resulting Numbers: [82, 2]
Generated Node #0,0,2: 84:[82, 2] Operation: 85-83=2
Exploring Operation: 83-82=1, Resulting Numbers: [85, 1]
Generated Node #0,0,3: 84:[85, 1] Operation: 83-82=1
Exploring Operation: 82+85=167, Resulting Numbers: [83, 167]
Generated Node #0,0,4: 84:[83, 167] Operation: 82+85=167
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 84:[83, 3], Operations: ['98-15=83', '85-82=3']
Exploring Operation: 83-3=80, Resulting Numbers: [80]
80,84 unequal: No Solution
Exploring Operation: 83*3=249, Resulting Numbers: [249]
249,84 unequal: No Solution
Exploring Operation: 83+3=86, Resulting Numbers: [86]
86,84 unequal: No Solution
No 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: 84:[82, 2], Operations: ['98-15=83', '85-83=2']
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,84 unequal: No Solution
Exploring Operation: 82+2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[15, 82, 98, 85], Operations: []
Exploring Operation: 98-15=83, Resulting Numbers: [82, 85, 83]
Generated Node #0,0: 84:[82, 85, 83] Operation: 98-15=83
Moving to Node #0,0
Current State: 84:[82, 85, 83], Operations: ['98-15=83']
Exploring Operation: 85-83=2, Resulting Numbers: [82, 2]
Generated Node #0,0,2: 84:[82, 2] Operation: 85-83=2
Moving to Node #0,0,2
Current State: 84:[82, 2], Operations: ['98-15=83', '85-83=2']
Exploring Operation: 82+2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_5 | mult_heuristic |
[
76,
78,
90,
46
] | 68 | [
"78-76=2",
"90+46=136",
"136/2=68"
] | Current State: 68:[76, 78, 90, 46], Operations: []
Exploring Operation: 78-76=2, Resulting Numbers: [90, 46, 2]
Generated Node #2: [90, 46, 2] from Operation: 78-76=2
Current State: 68:[90, 46, 2], Operations: ['78-76=2']
Exploring Operation: 90+46=136, Resulting Numbers: [2, 136]
Generated Node #3: [2, 136] from Operation: 90+46=136
Current State: 68:[2, 136], Operations: ['78-76=2', '90+46=136']
Exploring Operation: 136/2=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[76, 78, 90, 46], Operations: []
Exploring Operation: 90-76=14, Resulting Numbers: [78, 46, 14]
Generated Node #0,0: 68:[78, 46, 14] Operation: 90-76=14
Exploring Operation: 90-78=12, Resulting Numbers: [76, 46, 12]
Generated Node #0,1: 68:[76, 46, 12] Operation: 90-78=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[78, 46, 14], Operations: ['90-76=14']
Exploring Operation: 46-14=32, Resulting Numbers: [78, 32]
Generated Node #0,0,0: 68:[78, 32] Operation: 46-14=32
Exploring Operation: 78-46=32, Resulting Numbers: [14, 32]
Generated Node #0,0,1: 68:[14, 32] Operation: 78-46=32
Moving to Node #0,0,1
Current State: 68:[14, 32], Operations: ['90-76=14', '78-46=32']
Exploring Operation: 32-14=18, Resulting Numbers: [18]
18,68 unequal: No Solution
Exploring Operation: 14+32=46, Resulting Numbers: [46]
46,68 unequal: No Solution
Moving to Node #0,0,0
Current State: 68:[78, 32], Operations: ['90-76=14', '46-14=32']
Exploring Operation: 78-32=46, Resulting Numbers: [46]
46,68 unequal: No Solution
Exploring Operation: 78+32=110, Resulting Numbers: [110]
110,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 68:[76, 46, 12], Operations: ['90-78=12']
Exploring Operation: 76-46=30, Resulting Numbers: [12, 30]
Generated Node #0,1,0: 68:[12, 30] Operation: 76-46=30
Exploring Operation: 46-12=34, Resulting Numbers: [76, 34]
Generated Node #0,1,1: 68:[76, 34] Operation: 46-12=34
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 68:[76, 34], Operations: ['90-78=12', '46-12=34']
Exploring Operation: 76+34=110, Resulting Numbers: [110]
110,68 unequal: No Solution
Exploring Operation: 76-34=42, Resulting Numbers: [42]
42,68 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 68:[12, 30], Operations: ['90-78=12', '76-46=30']
Exploring Operation: 30-12=18, Resulting Numbers: [18]
18,68 unequal: No Solution
Exploring Operation: 12+30=42, Resulting Numbers: [42]
42,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
No solution found.
| 0 | hs_2 | mult_heuristic |
[
31,
91,
49,
13
] | 73 | [
"31+49=80",
"91/13=7",
"80-7=73"
] | Current State: 73:[31, 91, 49, 13], Operations: []
Exploring Operation: 31+49=80, Resulting Numbers: [91, 13, 80]
Generated Node #2: [91, 13, 80] from Operation: 31+49=80
Current State: 73:[91, 13, 80], Operations: ['31+49=80']
Exploring Operation: 91/13=7, Resulting Numbers: [80, 7]
Generated Node #3: [80, 7] from Operation: 91/13=7
Current State: 73:[80, 7], Operations: ['31+49=80', '91/13=7']
Exploring Operation: 80-7=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[31, 91, 49, 13], Operations: []
Exploring Operation: 31+13=44, Resulting Numbers: [91, 49, 44]
Generated Node #0,0: 73:[91, 49, 44] Operation: 31+13=44
Moving to Node #0,0
Current State: 73:[91, 49, 44], Operations: ['31+13=44']
Exploring Operation: 49+44=93, Resulting Numbers: [91, 93]
Generated Node #0,0,0: 73:[91, 93] Operation: 49+44=93
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[91, 93], Operations: ['31+13=44', '49+44=93']
Exploring Operation: 93-91=2, Resulting Numbers: [2]
2,73 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 |
[
72,
68,
17,
15
] | 12 | [
"68/17=4",
"15*4=60",
"72-60=12"
] | Current State: 12:[72, 68, 17, 15], Operations: []
Exploring Operation: 68/17=4, Resulting Numbers: [72, 15, 4]
Generated Node #2: [72, 15, 4] from Operation: 68/17=4
Current State: 12:[72, 15, 4], Operations: ['68/17=4']
Exploring Operation: 15*4=60, Resulting Numbers: [72, 60]
Generated Node #3: [72, 60] from Operation: 15*4=60
Current State: 12:[72, 60], Operations: ['68/17=4', '15*4=60']
Exploring Operation: 72-60=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[72, 68, 17, 15], Operations: []
Exploring Operation: 72-68=4, Resulting Numbers: [17, 15, 4]
Generated Node #0,0: 12:[17, 15, 4] Operation: 72-68=4
Exploring Operation: 68/17=4, Resulting Numbers: [72, 15, 4]
Generated Node #0,1: 12:[72, 15, 4] Operation: 68/17=4
Exploring Operation: 72-17=55, Resulting Numbers: [68, 15, 55]
Generated Node #0,2: 12:[68, 15, 55] Operation: 72-17=55
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[17, 15, 4], Operations: ['72-68=4']
Exploring Operation: 15-4=11, Resulting Numbers: [17, 11]
Generated Node #0,0,0: 12:[17, 11] Operation: 15-4=11
Exploring Operation: 17-4=13, Resulting Numbers: [15, 13]
Generated Node #0,0,1: 12:[15, 13] Operation: 17-4=13
Exploring Operation: 17-15=2, Resulting Numbers: [4, 2]
Generated Node #0,0,2: 12:[4, 2] Operation: 17-15=2
Moving to Node #0,0,2
Current State: 12:[4, 2], Operations: ['72-68=4', '17-15=2']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,12 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Moving to Node #0,0,1
Current State: 12:[15, 13], Operations: ['72-68=4', '17-4=13']
Exploring Operation: 15+13=28, Resulting Numbers: [28]
28,12 unequal: No Solution
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Exploring Operation: 15*13=195, Resulting Numbers: [195]
195,12 unequal: No Solution
Moving to Node #0,0,0
Current State: 12:[17, 11], Operations: ['72-68=4', '15-4=11']
Exploring Operation: 17+11=28, Resulting Numbers: [28]
28,12 unequal: No Solution
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,12 unequal: No Solution
Exploring Operation: 17*11=187, Resulting Numbers: [187]
187,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 12:[72, 15, 4], Operations: ['68/17=4']
Exploring Operation: 72/4=18, Resulting Numbers: [15, 18]
Generated Node #0,1,0: 12:[15, 18] Operation: 72/4=18
Exploring Operation: 72-15=57, Resulting Numbers: [4, 57]
Generated Node #0,1,1: 12:[4, 57] Operation: 72-15=57
Exploring Operation: 72-4=68, Resulting Numbers: [15, 68]
Generated Node #0,1,2: 12:[15, 68] Operation: 72-4=68
Moving to Node #0,1,0
Current State: 12:[15, 18], Operations: ['68/17=4', '72/4=18']
Exploring Operation: 18-15=3, Resulting Numbers: [3]
3,12 unequal: No Solution
Exploring Operation: 15+18=33, Resulting Numbers: [33]
33,12 unequal: No Solution
Exploring Operation: 15*18=270, Resulting Numbers: [270]
270,12 unequal: No Solution
Moving to Node #0,1,1
Current State: 12:[4, 57], Operations: ['68/17=4', '72-15=57']
Exploring Operation: 4+57=61, Resulting Numbers: [61]
61,12 unequal: No Solution
Exploring Operation: 4*57=228, Resulting Numbers: [228]
228,12 unequal: No Solution
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,12 unequal: No Solution
Moving to Node #0,1,2
Current State: 12:[15, 68], Operations: ['68/17=4', '72-4=68']
Exploring Operation: 68-15=53, Resulting Numbers: [53]
53,12 unequal: No Solution
Exploring Operation: 15+68=83, Resulting Numbers: [83]
83,12 unequal: No Solution
Exploring Operation: 15*68=1020, Resulting Numbers: [1020]
1020,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 12:[68, 15, 55], Operations: ['72-17=55']
Exploring Operation: 68-55=13, Resulting Numbers: [15, 13]
Generated Node #0,2,0: 12:[15, 13] Operation: 68-55=13
Exploring Operation: 55-15=40, Resulting Numbers: [68, 40]
Generated Node #0,2,1: 12:[68, 40] Operation: 55-15=40
Exploring Operation: 68-15=53, Resulting Numbers: [55, 53]
Generated Node #0,2,2: 12:[55, 53] Operation: 68-15=53
Moving to Node #0,2,0
Current State: 12:[15, 13], Operations: ['72-17=55', '68-55=13']
Exploring Operation: 15+13=28, Resulting Numbers: [28]
28,12 unequal: No Solution
Exploring Operation: 15-13=2, Resulting Numbers: [2]
2,12 unequal: No Solution
Exploring Operation: 15*13=195, Resulting Numbers: [195]
195,12 unequal: No Solution
Moving to Node #0,2,1
Current State: 12:[68, 40], Operations: ['72-17=55', '55-15=40']
Exploring Operation: 68*40=2720, Resulting Numbers: [2720]
2720,12 unequal: No Solution
Exploring Operation: 68-40=28, Resulting Numbers: [28]
28,12 unequal: No Solution
Exploring Operation: 68+40=108, Resulting Numbers: [108]
108,12 unequal: No Solution
Moving to Node #0,2,2
Current State: 12:[55, 53], Operations: ['72-17=55', '68-15=53']
Exploring Operation: 55+53=108, Resulting Numbers: [108]
108,12 unequal: No Solution
Exploring Operation: 55*53=2915, Resulting Numbers: [2915]
2915,12 unequal: No Solution
Exploring Operation: 55-53=2, Resulting Numbers: [2]
2,12 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 |
[
35,
75,
80,
70
] | 100 | [
"35+75=110",
"80-70=10",
"110-10=100"
] | Current State: 100:[35, 75, 80, 70], Operations: []
Exploring Operation: 35+75=110, Resulting Numbers: [80, 70, 110]
Generated Node #2: [80, 70, 110] from Operation: 35+75=110
Current State: 100:[80, 70, 110], Operations: ['35+75=110']
Exploring Operation: 80-70=10, Resulting Numbers: [110, 10]
Generated Node #3: [110, 10] from Operation: 80-70=10
Current State: 100:[110, 10], Operations: ['35+75=110', '80-70=10']
Exploring Operation: 110-10=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[35, 75, 80, 70], Operations: []
Exploring Operation: 80-70=10, Resulting Numbers: [35, 75, 10]
Generated Node #0,0: 100:[35, 75, 10] Operation: 80-70=10
Exploring Operation: 75-70=5, Resulting Numbers: [35, 80, 5]
Generated Node #0,1: 100:[35, 80, 5] Operation: 75-70=5
Exploring Operation: 80-75=5, Resulting Numbers: [35, 70, 5]
Generated Node #0,2: 100:[35, 70, 5] Operation: 80-75=5
Moving to Node #0,1
Current State: 100:[35, 80, 5], Operations: ['75-70=5']
Exploring Operation: 80/5=16, Resulting Numbers: [35, 16]
Generated Node #0,1,0: 100:[35, 16] Operation: 80/5=16
Exploring Operation: 80-35=45, Resulting Numbers: [5, 45]
Generated Node #0,1,1: 100:[5, 45] Operation: 80-35=45
Exploring Operation: 35+80=115, Resulting Numbers: [5, 115]
Generated Node #0,1,2: 100:[5, 115] Operation: 35+80=115
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 100:[5, 45], Operations: ['75-70=5', '80-35=45']
Exploring Operation: 5+45=50, Resulting Numbers: [50]
50,100 unequal: No Solution
Exploring Operation: 45/5=9, Resulting Numbers: [9]
9,100 unequal: No Solution
Exploring Operation: 45-5=40, Resulting Numbers: [40]
40,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,1,0
Current State: 100:[35, 16], Operations: ['75-70=5', '80/5=16']
Exploring Operation: 35-16=19, Resulting Numbers: [19]
19,100 unequal: No Solution
Exploring Operation: 35*16=560, Resulting Numbers: [560]
560,100 unequal: No Solution
Exploring Operation: 35+16=51, Resulting Numbers: [51]
51,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,1,2
Current State: 100:[5, 115], Operations: ['75-70=5', '35+80=115']
Exploring Operation: 115-5=110, Resulting Numbers: [110]
110,100 unequal: No Solution
Exploring Operation: 5+115=120, Resulting Numbers: [120]
120,100 unequal: No Solution
Exploring Operation: 115/5=23, Resulting Numbers: [23]
23,100 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: 100:[35, 70, 5], Operations: ['80-75=5']
Exploring Operation: 70-35=35, Resulting Numbers: [5, 35]
Generated Node #0,2,0: 100:[5, 35] Operation: 70-35=35
Exploring Operation: 35+70=105, Resulting Numbers: [5, 105]
Generated Node #0,2,1: 100:[5, 105] Operation: 35+70=105
Exploring Operation: 70/35=2, Resulting Numbers: [5, 2]
Generated Node #0,2,2: 100:[5, 2] Operation: 70/35=2
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 100:[5, 2], Operations: ['80-75=5', '70/35=2']
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,100 unequal: No Solution
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,100 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,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:[5, 105], Operations: ['80-75=5', '35+70=105']
Exploring Operation: 5+105=110, Resulting Numbers: [110]
110,100 unequal: No Solution
Exploring Operation: 105-5=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[35, 75, 80, 70], Operations: []
Exploring Operation: 80-75=5, Resulting Numbers: [35, 70, 5]
Generated Node #0,2: 100:[35, 70, 5] Operation: 80-75=5
Moving to Node #0,2
Current State: 100:[35, 70, 5], Operations: ['80-75=5']
Exploring Operation: 35+70=105, Resulting Numbers: [5, 105]
Generated Node #0,2,1: 100:[5, 105] Operation: 35+70=105
Moving to Node #0,2,1
Current State: 100:[5, 105], Operations: ['80-75=5', '35+70=105']
Exploring Operation: 105-5=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 | hs_3 | mult_heuristic |
[
19,
57,
95,
42
] | 84 | [
"19+95=114",
"114/57=2",
"42*2=84"
] | Current State: 84:[19, 57, 95, 42], Operations: []
Exploring Operation: 19+95=114, Resulting Numbers: [57, 42, 114]
Generated Node #2: [57, 42, 114] from Operation: 19+95=114
Current State: 84:[57, 42, 114], Operations: ['19+95=114']
Exploring Operation: 114/57=2, Resulting Numbers: [42, 2]
Generated Node #3: [42, 2] from Operation: 114/57=2
Current State: 84:[42, 2], Operations: ['19+95=114', '114/57=2']
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[19, 57, 95, 42], Operations: []
Exploring Operation: 95-57=38, Resulting Numbers: [19, 42, 38]
Generated Node #0,0: 84:[19, 42, 38] Operation: 95-57=38
Moving to Node #0,0
Current State: 84:[19, 42, 38], Operations: ['95-57=38']
Exploring Operation: 38/19=2, Resulting Numbers: [42, 2]
Generated Node #0,0,0: 84:[42, 2] Operation: 38/19=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 84:[42, 2], Operations: ['95-57=38', '38/19=2']
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[19, 57, 95, 42], Operations: []
Exploring Operation: 95-57=38, Resulting Numbers: [19, 42, 38]
Generated Node #0,0: 84:[19, 42, 38] Operation: 95-57=38
Moving to Node #0,0
Current State: 84:[19, 42, 38], Operations: ['95-57=38']
Exploring Operation: 38/19=2, Resulting Numbers: [42, 2]
Generated Node #0,0,0: 84:[42, 2] Operation: 38/19=2
Moving to Node #0,0,0
Current State: 84:[42, 2], Operations: ['95-57=38', '38/19=2']
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
24,
29,
91,
57
] | 78 | [
"24*91=2184",
"57-29=28",
"2184/28=78"
] | Current State: 78:[24, 29, 91, 57], Operations: []
Exploring Operation: 24*91=2184, Resulting Numbers: [29, 57, 2184]
Generated Node #2: [29, 57, 2184] from Operation: 24*91=2184
Current State: 78:[29, 57, 2184], Operations: ['24*91=2184']
Exploring Operation: 57-29=28, Resulting Numbers: [2184, 28]
Generated Node #3: [2184, 28] from Operation: 57-29=28
Current State: 78:[2184, 28], Operations: ['24*91=2184', '57-29=28']
Exploring Operation: 2184/28=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[24, 29, 91, 57], Operations: []
Exploring Operation: 91-57=34, Resulting Numbers: [24, 29, 34]
Generated Node #0,0: 78:[24, 29, 34] Operation: 91-57=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[24, 29, 34], Operations: ['91-57=34']
Exploring Operation: 34-29=5, Resulting Numbers: [24, 5]
Generated Node #0,0,0: 78:[24, 5] Operation: 34-29=5
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 78:[24, 5], Operations: ['91-57=34', '34-29=5']
Exploring Operation: 24+5=29, Resulting Numbers: [29]
29,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
3,
26,
46,
62
] | 94 | [
"3*26=78",
"62-46=16",
"78+16=94"
] | Current State: 94:[3, 26, 46, 62], Operations: []
Exploring Operation: 3*26=78, Resulting Numbers: [46, 62, 78]
Generated Node #2: [46, 62, 78] from Operation: 3*26=78
Current State: 94:[46, 62, 78], Operations: ['3*26=78']
Exploring Operation: 62-46=16, Resulting Numbers: [78, 16]
Generated Node #3: [78, 16] from Operation: 62-46=16
Current State: 94:[78, 16], Operations: ['3*26=78', '62-46=16']
Exploring Operation: 78+16=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[3, 26, 46, 62], Operations: []
Exploring Operation: 62-26=36, Resulting Numbers: [3, 46, 36]
Generated Node #0,0: 94:[3, 46, 36] Operation: 62-26=36
Exploring Operation: 26+62=88, Resulting Numbers: [3, 46, 88]
Generated Node #0,1: 94:[3, 46, 88] Operation: 26+62=88
Exploring Operation: 3*26=78, Resulting Numbers: [46, 62, 78]
Generated Node #0,2: 94:[46, 62, 78] Operation: 3*26=78
Moving to Node #0,1
Current State: 94:[3, 46, 88], Operations: ['26+62=88']
Exploring Operation: 88-46=42, Resulting Numbers: [3, 42]
Generated Node #0,1,0: 94:[3, 42] Operation: 88-46=42
Exploring Operation: 3+88=91, Resulting Numbers: [46, 91]
Generated Node #0,1,1: 94:[46, 91] Operation: 3+88=91
Exploring Operation: 3+46=49, Resulting Numbers: [88, 49]
Generated Node #0,1,2: 94:[88, 49] Operation: 3+46=49
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 94:[46, 91], Operations: ['26+62=88', '3+88=91']
Exploring Operation: 46*91=4186, Resulting Numbers: [4186]
4186,94 unequal: No Solution
Exploring Operation: 91-46=45, Resulting Numbers: [45]
45,94 unequal: No Solution
Exploring Operation: 46+91=137, Resulting Numbers: [137]
137,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 94:[3, 42], Operations: ['26+62=88', '88-46=42']
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,94 unequal: No Solution
Exploring Operation: 3+42=45, Resulting Numbers: [45]
45,94 unequal: No Solution
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 94:[88, 49], Operations: ['26+62=88', '3+46=49']
Exploring Operation: 88+49=137, Resulting Numbers: [137]
137,94 unequal: No Solution
Exploring Operation: 88*49=4312, Resulting Numbers: [4312]
4312,94 unequal: No Solution
Exploring Operation: 88-49=39, Resulting Numbers: [39]
39,94 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: 94:[3, 46, 36], Operations: ['62-26=36']
Exploring Operation: 36/3=12, Resulting Numbers: [46, 12]
Generated Node #0,0,0: 94:[46, 12] Operation: 36/3=12
Exploring Operation: 46-36=10, Resulting Numbers: [3, 10]
Generated Node #0,0,1: 94:[3, 10] Operation: 46-36=10
Exploring Operation: 3+36=39, Resulting Numbers: [46, 39]
Generated Node #0,0,2: 94:[46, 39] Operation: 3+36=39
Moving to Node #0,2
Current State: 94:[46, 62, 78], Operations: ['3*26=78']
Exploring Operation: 46+62=108, Resulting Numbers: [78, 108]
Generated Node #0,2,0: 94:[78, 108] Operation: 46+62=108
Exploring Operation: 62-46=16, Resulting Numbers: [78, 16]
Generated Node #0,2,1: 94:[78, 16] Operation: 62-46=16
Exploring Operation: 78-62=16, Resulting Numbers: [46, 16]
Generated Node #0,2,2: 94:[46, 16] Operation: 78-62=16
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 94:[46, 16], Operations: ['3*26=78', '78-62=16']
Exploring Operation: 46+16=62, Resulting Numbers: [62]
62,94 unequal: No Solution
Exploring Operation: 46*16=736, Resulting Numbers: [736]
736,94 unequal: No Solution
Exploring Operation: 46-16=30, Resulting Numbers: [30]
30,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 94:[78, 108], Operations: ['3*26=78', '46+62=108']
Exploring Operation: 78+108=186, Resulting Numbers: [186]
186,94 unequal: No Solution
Exploring Operation: 108-78=30, Resulting Numbers: [30]
30,94 unequal: No Solution
Exploring Operation: 78*108=8424, Resulting Numbers: [8424]
8424,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 94:[78, 16], Operations: ['3*26=78', '62-46=16']
Exploring Operation: 78-16=62, Resulting Numbers: [62]
62,94 unequal: No Solution
Exploring Operation: 78+16=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[3, 26, 46, 62], Operations: []
Exploring Operation: 3*26=78, Resulting Numbers: [46, 62, 78]
Generated Node #0,2: 94:[46, 62, 78] Operation: 3*26=78
Moving to Node #0,2
Current State: 94:[46, 62, 78], Operations: ['3*26=78']
Exploring Operation: 62-46=16, Resulting Numbers: [78, 16]
Generated Node #0,2,1: 94:[78, 16] Operation: 62-46=16
Moving to Node #0,2,1
Current State: 94:[78, 16], Operations: ['3*26=78', '62-46=16']
Exploring Operation: 78+16=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.971354 | hs_3 | mult_heuristic |
[
30,
26,
4,
81
] | 67 | [
"30+26=56",
"56/4=14",
"81-14=67"
] | Current State: 67:[30, 26, 4, 81], Operations: []
Exploring Operation: 30+26=56, Resulting Numbers: [4, 81, 56]
Generated Node #2: [4, 81, 56] from Operation: 30+26=56
Current State: 67:[4, 81, 56], Operations: ['30+26=56']
Exploring Operation: 56/4=14, Resulting Numbers: [81, 14]
Generated Node #3: [81, 14] from Operation: 56/4=14
Current State: 67:[81, 14], Operations: ['30+26=56', '56/4=14']
Exploring Operation: 81-14=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[30, 26, 4, 81], Operations: []
Exploring Operation: 30+26=56, Resulting Numbers: [4, 81, 56]
Generated Node #0,0: 67:[4, 81, 56] Operation: 30+26=56
Moving to Node #0,0
Current State: 67:[4, 81, 56], Operations: ['30+26=56']
Exploring Operation: 81-4=77, Resulting Numbers: [56, 77]
Generated Node #0,0,0: 67:[56, 77] Operation: 81-4=77
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 67:[56, 77], Operations: ['30+26=56', '81-4=77']
Exploring Operation: 77-56=21, Resulting Numbers: [21]
21,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
4,
97,
18,
82
] | 81 | [
"82-18=64",
"64/4=16",
"97-16=81"
] | Current State: 81:[4, 97, 18, 82], Operations: []
Exploring Operation: 82-18=64, Resulting Numbers: [4, 97, 64]
Generated Node #2: [4, 97, 64] from Operation: 82-18=64
Current State: 81:[4, 97, 64], Operations: ['82-18=64']
Exploring Operation: 64/4=16, Resulting Numbers: [97, 16]
Generated Node #3: [97, 16] from Operation: 64/4=16
Current State: 81:[97, 16], Operations: ['82-18=64', '64/4=16']
Exploring Operation: 97-16=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[4, 97, 18, 82], Operations: []
Exploring Operation: 97-18=79, Resulting Numbers: [4, 82, 79]
Generated Node #0,0: 81:[4, 82, 79] Operation: 97-18=79
Exploring Operation: 97-4=93, Resulting Numbers: [18, 82, 93]
Generated Node #0,1: 81:[18, 82, 93] Operation: 97-4=93
Exploring Operation: 97-82=15, Resulting Numbers: [4, 18, 15]
Generated Node #0,2: 81:[4, 18, 15] Operation: 97-82=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[4, 82, 79], Operations: ['97-18=79']
Exploring Operation: 4+79=83, Resulting Numbers: [82, 83]
Generated Node #0,0,0: 81:[82, 83] Operation: 4+79=83
Exploring Operation: 82-79=3, Resulting Numbers: [4, 3]
Generated Node #0,0,1: 81:[4, 3] Operation: 82-79=3
Exploring Operation: 82-4=78, Resulting Numbers: [79, 78]
Generated Node #0,0,2: 81:[79, 78] Operation: 82-4=78
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 81:[4, 3], Operations: ['97-18=79', '82-79=3']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,81 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,81 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,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,0,0
Current State: 81:[82, 83], Operations: ['97-18=79', '4+79=83']
Exploring Operation: 82+83=165, Resulting Numbers: [165]
165,81 unequal: No Solution
Exploring Operation: 83-82=1, Resulting Numbers: [1]
1,81 unequal: No Solution
Exploring Operation: 82*83=6806, Resulting Numbers: [6806]
6806,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,0,2
Current State: 81:[79, 78], Operations: ['97-18=79', '82-4=78']
Exploring Operation: 79*78=6162, Resulting Numbers: [6162]
6162,81 unequal: No Solution
Exploring Operation: 79-78=1, Resulting Numbers: [1]
1,81 unequal: No Solution
Exploring Operation: 79+78=157, Resulting Numbers: [157]
157,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,2
Current State: 81:[4, 18, 15], Operations: ['97-82=15']
Exploring Operation: 4+18=22, Resulting Numbers: [15, 22]
Generated Node #0,2,0: 81:[15, 22] Operation: 4+18=22
Exploring Operation: 18+15=33, Resulting Numbers: [4, 33]
Generated Node #0,2,1: 81:[4, 33] Operation: 18+15=33
Exploring Operation: 18-15=3, Resulting Numbers: [4, 3]
Generated Node #0,2,2: 81:[4, 3] Operation: 18-15=3
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 81:[4, 3], Operations: ['97-82=15', '18-15=3']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,81 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,81 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,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,2,1
Current State: 81:[4, 33], Operations: ['97-82=15', '18+15=33']
Exploring Operation: 33-4=29, Resulting Numbers: [29]
29,81 unequal: No Solution
Exploring Operation: 4*33=132, Resulting Numbers: [132]
132,81 unequal: No Solution
Exploring Operation: 4+33=37, Resulting Numbers: [37]
37,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,2,0
Current State: 81:[15, 22], Operations: ['97-82=15', '4+18=22']
Exploring Operation: 22-15=7, Resulting Numbers: [7]
7,81 unequal: No Solution
Exploring Operation: 15+22=37, Resulting Numbers: [37]
37,81 unequal: No Solution
Exploring Operation: 15*22=330, Resulting Numbers: [330]
330,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,1
Current State: 81:[18, 82, 93], Operations: ['97-4=93']
Exploring Operation: 93-82=11, Resulting Numbers: [18, 11]
Generated Node #0,1,0: 81:[18, 11] Operation: 93-82=11
Exploring Operation: 93-18=75, Resulting Numbers: [82, 75]
Generated Node #0,1,1: 81:[82, 75] Operation: 93-18=75
Exploring Operation: 82-18=64, Resulting Numbers: [93, 64]
Generated Node #0,1,2: 81:[93, 64] Operation: 82-18=64
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 81:[82, 75], Operations: ['97-4=93', '93-18=75']
Exploring Operation: 82-75=7, Resulting Numbers: [7]
7,81 unequal: No Solution
Exploring Operation: 82+75=157, Resulting Numbers: [157]
157,81 unequal: No Solution
Exploring Operation: 82*75=6150, Resulting Numbers: [6150]
6150,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:[18, 11], Operations: ['97-4=93', '93-82=11']
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,81 unequal: No Solution
Exploring Operation: 18+11=29, Resulting Numbers: [29]
29,81 unequal: No Solution
Exploring Operation: 18*11=198, Resulting Numbers: [198]
198,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,2
Current State: 81:[93, 64], Operations: ['97-4=93', '82-18=64']
Exploring Operation: 93*64=5952, Resulting Numbers: [5952]
5952,81 unequal: No Solution
Exploring Operation: 93+64=157, Resulting Numbers: [157]
157,81 unequal: No Solution
Exploring Operation: 93-64=29, Resulting Numbers: [29]
29,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
No solution found.
| 0 | hs_3 | mult_heuristic |
[
32,
35,
20,
98
] | 81 | [
"35-32=3",
"98-20=78",
"3+78=81"
] | Current State: 81:[32, 35, 20, 98], Operations: []
Exploring Operation: 35-32=3, Resulting Numbers: [20, 98, 3]
Generated Node #2: [20, 98, 3] from Operation: 35-32=3
Current State: 81:[20, 98, 3], Operations: ['35-32=3']
Exploring Operation: 98-20=78, Resulting Numbers: [3, 78]
Generated Node #3: [3, 78] from Operation: 98-20=78
Current State: 81:[3, 78], Operations: ['35-32=3', '98-20=78']
Exploring Operation: 3+78=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[32, 35, 20, 98], Operations: []
Exploring Operation: 35-32=3, Resulting Numbers: [20, 98, 3]
Generated Node #0,0: 81:[20, 98, 3] Operation: 35-32=3
Exploring Operation: 98-20=78, Resulting Numbers: [32, 35, 78]
Generated Node #0,1: 81:[32, 35, 78] Operation: 98-20=78
Moving to Node #0,1
Current State: 81:[32, 35, 78], Operations: ['98-20=78']
Exploring Operation: 32+35=67, Resulting Numbers: [78, 67]
Generated Node #0,1,0: 81:[78, 67] Operation: 32+35=67
Exploring Operation: 35-32=3, Resulting Numbers: [78, 3]
Generated Node #0,1,1: 81:[78, 3] Operation: 35-32=3
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 81:[78, 3], Operations: ['98-20=78', '35-32=3']
Exploring Operation: 78+3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[32, 35, 20, 98], Operations: []
Exploring Operation: 98-20=78, Resulting Numbers: [32, 35, 78]
Generated Node #0,1: 81:[32, 35, 78] Operation: 98-20=78
Moving to Node #0,1
Current State: 81:[32, 35, 78], Operations: ['98-20=78']
Exploring Operation: 35-32=3, Resulting Numbers: [78, 3]
Generated Node #0,1,1: 81:[78, 3] Operation: 35-32=3
Moving to Node #0,1,1
Current State: 81:[78, 3], Operations: ['98-20=78', '35-32=3']
Exploring Operation: 78+3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
1,
35,
70,
61
] | 96 | [
"1*35=35",
"70+61=131",
"131-35=96"
] | Current State: 96:[1, 35, 70, 61], Operations: []
Exploring Operation: 1*35=35, Resulting Numbers: [70, 61, 35]
Generated Node #2: [70, 61, 35] from Operation: 1*35=35
Current State: 96:[70, 61, 35], Operations: ['1*35=35']
Exploring Operation: 70+61=131, Resulting Numbers: [35, 131]
Generated Node #3: [35, 131] from Operation: 70+61=131
Current State: 96:[35, 131], Operations: ['1*35=35', '70+61=131']
Exploring Operation: 131-35=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[1, 35, 70, 61], Operations: []
Exploring Operation: 70-35=35, Resulting Numbers: [1, 61, 35]
Generated Node #0,0: 96:[1, 61, 35] Operation: 70-35=35
Exploring Operation: 70-61=9, Resulting Numbers: [1, 35, 9]
Generated Node #0,1: 96:[1, 35, 9] Operation: 70-61=9
Exploring Operation: 70/35=2, Resulting Numbers: [1, 61, 2]
Generated Node #0,2: 96:[1, 61, 2] Operation: 70/35=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[1, 35, 9], Operations: ['70-61=9']
Exploring Operation: 35-9=26, Resulting Numbers: [1, 26]
Generated Node #0,1,0: 96:[1, 26] Operation: 35-9=26
Exploring Operation: 9-1=8, Resulting Numbers: [35, 8]
Generated Node #0,1,1: 96:[35, 8] Operation: 9-1=8
Exploring Operation: 35-1=34, Resulting Numbers: [9, 34]
Generated Node #0,1,2: 96:[9, 34] Operation: 35-1=34
Moving to Node #0,1,0
Current State: 96:[1, 26], Operations: ['70-61=9', '35-9=26']
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,96 unequal: No Solution
Exploring Operation: 1*26=26, Resulting Numbers: [26]
26,96 unequal: No Solution
Exploring Operation: 26/1=26, Resulting Numbers: [26]
26,96 unequal: No Solution
Moving to Node #0,1,1
Current State: 96:[35, 8], Operations: ['70-61=9', '9-1=8']
Exploring Operation: 35-8=27, Resulting Numbers: [27]
27,96 unequal: No Solution
Exploring Operation: 35*8=280, Resulting Numbers: [280]
280,96 unequal: No Solution
Exploring Operation: 35+8=43, Resulting Numbers: [43]
43,96 unequal: No Solution
Moving to Node #0,1,2
Current State: 96:[9, 34], Operations: ['70-61=9', '35-1=34']
Exploring Operation: 9*34=306, Resulting Numbers: [306]
306,96 unequal: No Solution
Exploring Operation: 9+34=43, Resulting Numbers: [43]
43,96 unequal: No Solution
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 96:[1, 61, 2], Operations: ['70/35=2']
Exploring Operation: 61-1=60, Resulting Numbers: [2, 60]
Generated Node #0,2,0: 96:[2, 60] Operation: 61-1=60
Exploring Operation: 61-2=59, Resulting Numbers: [1, 59]
Generated Node #0,2,1: 96:[1, 59] Operation: 61-2=59
Exploring Operation: 1*61=61, Resulting Numbers: [2, 61]
Generated Node #0,2,2: 96:[2, 61] Operation: 1*61=61
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 96:[2, 60], Operations: ['70/35=2', '61-1=60']
Exploring Operation: 2+60=62, Resulting Numbers: [62]
62,96 unequal: No Solution
Exploring Operation: 60/2=30, Resulting Numbers: [30]
30,96 unequal: No Solution
Exploring Operation: 60-2=58, Resulting Numbers: [58]
58,96 unequal: No Solution
No 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: 96:[1, 59], Operations: ['70/35=2', '61-2=59']
Exploring Operation: 59/1=59, Resulting Numbers: [59]
59,96 unequal: No Solution
Exploring Operation: 59-1=58, Resulting Numbers: [58]
58,96 unequal: No Solution
Exploring Operation: 1*59=59, Resulting Numbers: [59]
59,96 unequal: No Solution
No 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: 96:[2, 61], Operations: ['70/35=2', '1*61=61']
Exploring Operation: 2*61=122, Resulting Numbers: [122]
122,96 unequal: No Solution
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,96 unequal: No Solution
Exploring Operation: 2+61=63, Resulting Numbers: [63]
63,96 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: 96:[1, 61, 35], Operations: ['70-35=35']
Exploring Operation: 61-35=26, Resulting Numbers: [1, 26]
Generated Node #0,0,0: 96:[1, 26] Operation: 61-35=26
Exploring Operation: 61+35=96, Resulting Numbers: [1, 96]
Generated Node #0,0,1: 96:[1, 96] Operation: 61+35=96
Exploring Operation: 61-1=60, Resulting Numbers: [35, 60]
Generated Node #0,0,2: 96:[35, 60] Operation: 61-1=60
Moving to Node #0,0,1
Current State: 96:[1, 96], Operations: ['70-35=35', '61+35=96']
Exploring Operation: 96/1=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[1, 35, 70, 61], Operations: []
Exploring Operation: 70-35=35, Resulting Numbers: [1, 61, 35]
Generated Node #0,0: 96:[1, 61, 35] Operation: 70-35=35
Moving to Node #0,0
Current State: 96:[1, 61, 35], Operations: ['70-35=35']
Exploring Operation: 61+35=96, Resulting Numbers: [1, 96]
Generated Node #0,0,1: 96:[1, 96] Operation: 61+35=96
Moving to Node #0,0,1
Current State: 96:[1, 96], Operations: ['70-35=35', '61+35=96']
Exploring Operation: 96/1=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_3 | mult_heuristic |
[
38,
90,
82,
79
] | 55 | [
"90-38=52",
"82-79=3",
"52+3=55"
] | Current State: 55:[38, 90, 82, 79], Operations: []
Exploring Operation: 90-38=52, Resulting Numbers: [82, 79, 52]
Generated Node #2: [82, 79, 52] from Operation: 90-38=52
Current State: 55:[82, 79, 52], Operations: ['90-38=52']
Exploring Operation: 82-79=3, Resulting Numbers: [52, 3]
Generated Node #3: [52, 3] from Operation: 82-79=3
Current State: 55:[52, 3], Operations: ['90-38=52', '82-79=3']
Exploring Operation: 52+3=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[38, 90, 82, 79], Operations: []
Exploring Operation: 82-79=3, Resulting Numbers: [38, 90, 3]
Generated Node #0,0: 55:[38, 90, 3] Operation: 82-79=3
Exploring Operation: 90-38=52, Resulting Numbers: [82, 79, 52]
Generated Node #0,1: 55:[82, 79, 52] Operation: 90-38=52
Exploring Operation: 90-82=8, Resulting Numbers: [38, 79, 8]
Generated Node #0,2: 55:[38, 79, 8] Operation: 90-82=8
Exploring Operation: 90-79=11, Resulting Numbers: [38, 82, 11]
Generated Node #0,3: 55:[38, 82, 11] Operation: 90-79=11
Exploring Operation: 82-38=44, Resulting Numbers: [90, 79, 44]
Generated Node #0,4: 55:[90, 79, 44] Operation: 82-38=44
Start Sub Search at level 1: Moving to Node #0,2
Current State: 55:[38, 79, 8], Operations: ['90-82=8']
Exploring Operation: 79-8=71, Resulting Numbers: [38, 71]
Generated Node #0,2,0: 55:[38, 71] Operation: 79-8=71
Exploring Operation: 79+8=87, Resulting Numbers: [38, 87]
Generated Node #0,2,1: 55:[38, 87] Operation: 79+8=87
Exploring Operation: 38+8=46, Resulting Numbers: [79, 46]
Generated Node #0,2,2: 55:[79, 46] Operation: 38+8=46
Exploring Operation: 79-38=41, Resulting Numbers: [8, 41]
Generated Node #0,2,3: 55:[8, 41] Operation: 79-38=41
Exploring Operation: 38-8=30, Resulting Numbers: [79, 30]
Generated Node #0,2,4: 55:[79, 30] Operation: 38-8=30
Moving to Node #0,2,3
Current State: 55:[8, 41], Operations: ['90-82=8', '79-38=41']
Exploring Operation: 8+41=49, Resulting Numbers: [49]
49,55 unequal: No Solution
Exploring Operation: 8*41=328, Resulting Numbers: [328]
328,55 unequal: No Solution
Exploring Operation: 41-8=33, Resulting Numbers: [33]
33,55 unequal: No Solution
Moving to Node #0,2,2
Current State: 55:[79, 46], Operations: ['90-82=8', '38+8=46']
Exploring Operation: 79-46=33, Resulting Numbers: [33]
33,55 unequal: No Solution
Exploring Operation: 79*46=3634, Resulting Numbers: [3634]
3634,55 unequal: No Solution
Exploring Operation: 79+46=125, Resulting Numbers: [125]
125,55 unequal: No Solution
Moving to Node #0,2,0
Current State: 55:[38, 71], Operations: ['90-82=8', '79-8=71']
Exploring Operation: 38+71=109, Resulting Numbers: [109]
109,55 unequal: No Solution
Exploring Operation: 38*71=2698, Resulting Numbers: [2698]
2698,55 unequal: No Solution
Exploring Operation: 71-38=33, Resulting Numbers: [33]
33,55 unequal: No Solution
Moving to Node #0,2,4
Current State: 55:[79, 30], Operations: ['90-82=8', '38-8=30']
Exploring Operation: 79+30=109, Resulting Numbers: [109]
109,55 unequal: No Solution
Exploring Operation: 79*30=2370, Resulting Numbers: [2370]
2370,55 unequal: No Solution
Exploring Operation: 79-30=49, Resulting Numbers: [49]
49,55 unequal: No Solution
Moving to Node #0,2,1
Current State: 55:[38, 87], Operations: ['90-82=8', '79+8=87']
Exploring Operation: 87-38=49, Resulting Numbers: [49]
49,55 unequal: No Solution
Exploring Operation: 38+87=125, Resulting Numbers: [125]
125,55 unequal: No Solution
Exploring Operation: 38*87=3306, Resulting Numbers: [3306]
3306,55 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 55:[38, 82, 11], Operations: ['90-79=11']
Exploring Operation: 82-38=44, Resulting Numbers: [11, 44]
Generated Node #0,3,0: 55:[11, 44] Operation: 82-38=44
Exploring Operation: 38+11=49, Resulting Numbers: [82, 49]
Generated Node #0,3,1: 55:[82, 49] Operation: 38+11=49
Exploring Operation: 82+11=93, Resulting Numbers: [38, 93]
Generated Node #0,3,2: 55:[38, 93] Operation: 82+11=93
Exploring Operation: 82-11=71, Resulting Numbers: [38, 71]
Generated Node #0,3,3: 55:[38, 71] Operation: 82-11=71
Exploring Operation: 38-11=27, Resulting Numbers: [82, 27]
Generated Node #0,3,4: 55:[82, 27] Operation: 38-11=27
Moving to Node #0,3,0
Current State: 55:[11, 44], Operations: ['90-79=11', '82-38=44']
Exploring Operation: 11*44=484, Resulting Numbers: [484]
484,55 unequal: No Solution
Exploring Operation: 44-11=33, Resulting Numbers: [33]
33,55 unequal: No Solution
Exploring Operation: 44/11=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 11+44=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[38, 90, 82, 79], Operations: []
Exploring Operation: 90-79=11, Resulting Numbers: [38, 82, 11]
Generated Node #0,3: 55:[38, 82, 11] Operation: 90-79=11
Moving to Node #0,3
Current State: 55:[38, 82, 11], Operations: ['90-79=11']
Exploring Operation: 82-38=44, Resulting Numbers: [11, 44]
Generated Node #0,3,0: 55:[11, 44] Operation: 82-38=44
Moving to Node #0,3,0
Current State: 55:[11, 44], Operations: ['90-79=11', '82-38=44']
Exploring Operation: 11+44=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_5 | sum_heuristic |
[
88,
63,
59,
13
] | 97 | [
"88-63=25",
"59+13=72",
"25+72=97"
] | Current State: 97:[88, 63, 59, 13], Operations: []
Exploring Operation: 88-63=25, Resulting Numbers: [59, 13, 25]
Generated Node #2: [59, 13, 25] from Operation: 88-63=25
Current State: 97:[59, 13, 25], Operations: ['88-63=25']
Exploring Operation: 59+13=72, Resulting Numbers: [25, 72]
Generated Node #3: [25, 72] from Operation: 59+13=72
Current State: 97:[25, 72], Operations: ['88-63=25', '59+13=72']
Exploring Operation: 25+72=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[88, 63, 59, 13], Operations: []
Exploring Operation: 63+13=76, Resulting Numbers: [88, 59, 76]
Generated Node #0,0: 97:[88, 59, 76] Operation: 63+13=76
Moving to Node #0,0
Current State: 97:[88, 59, 76], Operations: ['63+13=76']
Exploring Operation: 59+76=135, Resulting Numbers: [88, 135]
Generated Node #0,0,0: 97:[88, 135] Operation: 59+76=135
Moving to Node #0,0,0
Current State: 97:[88, 135], Operations: ['63+13=76', '59+76=135']
Exploring Operation: 135-88=47, Resulting Numbers: [47]
47,97 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
34,
39,
6,
69
] | 52 | [
"39+69=108",
"108/6=18",
"34+18=52"
] | Current State: 52:[34, 39, 6, 69], Operations: []
Exploring Operation: 39+69=108, Resulting Numbers: [34, 6, 108]
Generated Node #2: [34, 6, 108] from Operation: 39+69=108
Current State: 52:[34, 6, 108], Operations: ['39+69=108']
Exploring Operation: 108/6=18, Resulting Numbers: [34, 18]
Generated Node #3: [34, 18] from Operation: 108/6=18
Current State: 52:[34, 18], Operations: ['39+69=108', '108/6=18']
Exploring Operation: 34+18=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[34, 39, 6, 69], Operations: []
Exploring Operation: 39-34=5, Resulting Numbers: [6, 69, 5]
Generated Node #0,0: 52:[6, 69, 5] Operation: 39-34=5
Exploring Operation: 69-39=30, Resulting Numbers: [34, 6, 30]
Generated Node #0,1: 52:[34, 6, 30] Operation: 69-39=30
Moving to Node #0,1
Current State: 52:[34, 6, 30], Operations: ['69-39=30']
Exploring Operation: 34-30=4, Resulting Numbers: [6, 4]
Generated Node #0,1,0: 52:[6, 4] Operation: 34-30=4
Exploring Operation: 34-6=28, Resulting Numbers: [30, 28]
Generated Node #0,1,1: 52:[30, 28] Operation: 34-6=28
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 52:[6, 4], Operations: ['69-39=30', '34-30=4']
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,52 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 52:[30, 28], Operations: ['69-39=30', '34-6=28']
Exploring Operation: 30-28=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 30+28=58, Resulting Numbers: [58]
58,52 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: 52:[6, 69, 5], Operations: ['39-34=5']
Exploring Operation: 69-6=63, Resulting Numbers: [5, 63]
Generated Node #0,0,0: 52:[5, 63] Operation: 69-6=63
Exploring Operation: 69-5=64, Resulting Numbers: [6, 64]
Generated Node #0,0,1: 52:[6, 64] Operation: 69-5=64
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[5, 63], Operations: ['39-34=5', '69-6=63']
Exploring Operation: 63-5=58, Resulting Numbers: [58]
58,52 unequal: No Solution
Exploring Operation: 5+63=68, Resulting Numbers: [68]
68,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,1
Current State: 52:[6, 64], Operations: ['39-34=5', '69-5=64']
Exploring Operation: 64-6=58, Resulting Numbers: [58]
58,52 unequal: No Solution
Exploring Operation: 6+64=70, Resulting Numbers: [70]
70,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
38,
82,
32,
32
] | 29 | [
"82+32=114",
"114/38=3",
"32-3=29"
] | Current State: 29:[38, 82, 32, 32], Operations: []
Exploring Operation: 82+32=114, Resulting Numbers: [38, 114]
Generated Node #2: [38, 114] from Operation: 82+32=114
Current State: 29:[38, 114], Operations: ['82+32=114']
Exploring Operation: 114/38=3, Resulting Numbers: [3]
3,29 equal: Goal Reached
Exploring Operation: 32-3=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[38, 82, 32, 32], Operations: []
Exploring Operation: 38-32=6, Resulting Numbers: [82, 32, 6]
Generated Node #0,0: 29:[82, 32, 6] Operation: 38-32=6
Exploring Operation: 82-32=50, Resulting Numbers: [38, 32, 50]
Generated Node #0,1: 29:[38, 32, 50] Operation: 82-32=50
Exploring Operation: 38-32=6, Resulting Numbers: [82, 32, 6]
Generated Node #0,2: 29:[82, 32, 6] Operation: 38-32=6
Exploring Operation: 82-32=50, Resulting Numbers: [38, 32, 50]
Generated Node #0,3: 29:[38, 32, 50] Operation: 82-32=50
Exploring Operation: 82-38=44, Resulting Numbers: [32, 32, 44]
Generated Node #0,4: 29:[32, 32, 44] Operation: 82-38=44
Moving to Node #0,4
Current State: 29:[32, 32, 44], Operations: ['82-38=44']
Exploring Operation: 32+32=64, Resulting Numbers: [44, 64]
Generated Node #0,4,0: 29:[44, 64] Operation: 32+32=64
Exploring Operation: 44-32=12, Resulting Numbers: [32, 12]
Generated Node #0,4,1: 29:[32, 12] Operation: 44-32=12
Exploring Operation: 32-32=0, Resulting Numbers: [44, 0]
Generated Node #0,4,2: 29:[44, 0] Operation: 32-32=0
Exploring Operation: 32/32=1, Resulting Numbers: [44, 1]
Generated Node #0,4,3: 29:[44, 1] Operation: 32/32=1
Exploring Operation: 44-32=12, Resulting Numbers: [32, 12]
Generated Node #0,4,4: 29:[32, 12] Operation: 44-32=12
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 29:[32, 12], Operations: ['82-38=44', '44-32=12']
Exploring Operation: 32+12=44, Resulting Numbers: [44]
44,29 unequal: No Solution
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,29 unequal: No Solution
Exploring Operation: 32*12=384, Resulting Numbers: [384]
384,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 29:[32, 12], Operations: ['82-38=44', '44-32=12']
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,29 unequal: No Solution
Exploring Operation: 32*12=384, Resulting Numbers: [384]
384,29 unequal: No Solution
Exploring Operation: 32+12=44, Resulting Numbers: [44]
44,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 29:[44, 1], Operations: ['82-38=44', '32/32=1']
Exploring Operation: 44*1=44, Resulting Numbers: [44]
44,29 unequal: No Solution
Exploring Operation: 44-1=43, Resulting Numbers: [43]
43,29 unequal: No Solution
Exploring Operation: 44+1=45, Resulting Numbers: [45]
45,29 unequal: No Solution
Exploring Operation: 44/1=44, Resulting Numbers: [44]
44,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 29:[44, 0], Operations: ['82-38=44', '32-32=0']
Exploring Operation: 44*0=0, Resulting Numbers: [0]
0,29 unequal: No Solution
Exploring Operation: 44-0=44, Resulting Numbers: [44]
44,29 unequal: No Solution
Exploring Operation: 44+0=44, Resulting Numbers: [44]
44,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 29:[44, 64], Operations: ['82-38=44', '32+32=64']
Exploring Operation: 44+64=108, Resulting Numbers: [108]
108,29 unequal: No Solution
Exploring Operation: 44*64=2816, Resulting Numbers: [2816]
2816,29 unequal: No Solution
Exploring Operation: 64-44=20, Resulting Numbers: [20]
20,29 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: 29:[38, 32, 50], Operations: ['82-32=50']
Exploring Operation: 50-38=12, Resulting Numbers: [32, 12]
Generated Node #0,3,0: 29:[32, 12] Operation: 50-38=12
Exploring Operation: 38+32=70, Resulting Numbers: [50, 70]
Generated Node #0,3,1: 29:[50, 70] Operation: 38+32=70
Exploring Operation: 38-32=6, Resulting Numbers: [50, 6]
Generated Node #0,3,2: 29:[50, 6] Operation: 38-32=6
Exploring Operation: 38+50=88, Resulting Numbers: [32, 88]
Generated Node #0,3,3: 29:[32, 88] Operation: 38+50=88
Exploring Operation: 50-32=18, Resulting Numbers: [38, 18]
Generated Node #0,3,4: 29:[38, 18] Operation: 50-32=18
Moving to Node #0,1
Current State: 29:[38, 32, 50], Operations: ['82-32=50']
Exploring Operation: 38+32=70, Resulting Numbers: [50, 70]
Generated Node #0,1,0: 29:[50, 70] Operation: 38+32=70
Exploring Operation: 50-32=18, Resulting Numbers: [38, 18]
Generated Node #0,1,1: 29:[38, 18] Operation: 50-32=18
Exploring Operation: 50-38=12, Resulting Numbers: [32, 12]
Generated Node #0,1,2: 29:[32, 12] Operation: 50-38=12
Exploring Operation: 38-32=6, Resulting Numbers: [50, 6]
Generated Node #0,1,3: 29:[50, 6] Operation: 38-32=6
Exploring Operation: 38+50=88, Resulting Numbers: [32, 88]
Generated Node #0,1,4: 29:[32, 88] Operation: 38+50=88
Moving to Node #0,0
Current State: 29:[82, 32, 6], Operations: ['38-32=6']
Exploring Operation: 82+6=88, Resulting Numbers: [32, 88]
Generated Node #0,0,0: 29:[32, 88] Operation: 82+6=88
Exploring Operation: 82-6=76, Resulting Numbers: [32, 76]
Generated Node #0,0,1: 29:[32, 76] Operation: 82-6=76
Exploring Operation: 32-6=26, Resulting Numbers: [82, 26]
Generated Node #0,0,2: 29:[82, 26] Operation: 32-6=26
Exploring Operation: 82-32=50, Resulting Numbers: [6, 50]
Generated Node #0,0,3: 29:[6, 50] Operation: 82-32=50
Exploring Operation: 32+6=38, Resulting Numbers: [82, 38]
Generated Node #0,0,4: 29:[82, 38] Operation: 32+6=38
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 29:[6, 50], Operations: ['38-32=6', '82-32=50']
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,29 unequal: No Solution
Exploring Operation: 6+50=56, Resulting Numbers: [56]
56,29 unequal: No Solution
Exploring Operation: 6*50=300, Resulting Numbers: [300]
300,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 29:[32, 76], Operations: ['38-32=6', '82-6=76']
Exploring Operation: 32*76=2432, Resulting Numbers: [2432]
2432,29 unequal: No Solution
Exploring Operation: 76-32=44, Resulting Numbers: [44]
44,29 unequal: No Solution
Exploring Operation: 32+76=108, Resulting Numbers: [108]
108,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 29:[82, 26], Operations: ['38-32=6', '32-6=26']
Exploring Operation: 82*26=2132, Resulting Numbers: [2132]
2132,29 unequal: No Solution
Exploring Operation: 82-26=56, Resulting Numbers: [56]
56,29 unequal: No Solution
Exploring Operation: 82+26=108, Resulting Numbers: [108]
108,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 29:[32, 88], Operations: ['38-32=6', '82+6=88']
Exploring Operation: 88-32=56, Resulting Numbers: [56]
56,29 unequal: No Solution
Exploring Operation: 32*88=2816, Resulting Numbers: [2816]
2816,29 unequal: No Solution
Exploring Operation: 32+88=120, Resulting Numbers: [120]
120,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 29:[82, 38], Operations: ['38-32=6', '32+6=38']
Exploring Operation: 82+38=120, Resulting Numbers: [120]
120,29 unequal: No Solution
Exploring Operation: 82*38=3116, Resulting Numbers: [3116]
3116,29 unequal: No Solution
Exploring Operation: 82-38=44, Resulting Numbers: [44]
44,29 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: 29:[82, 32, 6], Operations: ['38-32=6']
Exploring Operation: 32+6=38, Resulting Numbers: [82, 38]
Generated Node #0,2,0: 29:[82, 38] Operation: 32+6=38
Exploring Operation: 82-32=50, Resulting Numbers: [6, 50]
Generated Node #0,2,1: 29:[6, 50] Operation: 82-32=50
Exploring Operation: 82-6=76, Resulting Numbers: [32, 76]
Generated Node #0,2,2: 29:[32, 76] Operation: 82-6=76
Exploring Operation: 82+6=88, Resulting Numbers: [32, 88]
Generated Node #0,2,3: 29:[32, 88] Operation: 82+6=88
Exploring Operation: 32-6=26, Resulting Numbers: [82, 26]
Generated Node #0,2,4: 29:[82, 26] Operation: 32-6=26
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 29:[6, 50], Operations: ['38-32=6', '82-32=50']
Exploring Operation: 6*50=300, Resulting Numbers: [300]
300,29 unequal: No Solution
Exploring Operation: 6+50=56, Resulting Numbers: [56]
56,29 unequal: No Solution
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 29:[32, 76], Operations: ['38-32=6', '82-6=76']
Exploring Operation: 32+76=108, Resulting Numbers: [108]
108,29 unequal: No Solution
Exploring Operation: 76-32=44, Resulting Numbers: [44]
44,29 unequal: No Solution
Exploring Operation: 32*76=2432, Resulting Numbers: [2432]
2432,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 29:[82, 26], Operations: ['38-32=6', '32-6=26']
Exploring Operation: 82*26=2132, Resulting Numbers: [2132]
2132,29 unequal: No Solution
Exploring Operation: 82-26=56, Resulting Numbers: [56]
56,29 unequal: No Solution
Exploring Operation: 82+26=108, Resulting Numbers: [108]
108,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 29:[82, 38], Operations: ['38-32=6', '32+6=38']
Exploring Operation: 82*38=3116, Resulting Numbers: [3116]
3116,29 unequal: No Solution
Exploring Operation: 82+38=120, Resulting Numbers: [120]
120,29 unequal: No Solution
Exploring Operation: 82-38=44, Resulting Numbers: [44]
44,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 29:[32, 88], Operations: ['38-32=6', '82+6=88']
Exploring Operation: 32*88=2816, Resulting Numbers: [2816]
2816,29 unequal: No Solution
Exploring Operation: 88-32=56, Resulting Numbers: [56]
56,29 unequal: No Solution
Exploring Operation: 32+88=120, Resulting Numbers: [120]
120,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,0
Current State: 29:[32, 12], Operations: ['82-32=50', '50-38=12']
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,29 unequal: No Solution
Exploring Operation: 32*12=384, Resulting Numbers: [384]
384,29 unequal: No Solution
Exploring Operation: 32+12=44, Resulting Numbers: [44]
44,29 unequal: No Solution
Moving to Node #0,1,1
Current State: 29:[38, 18], Operations: ['82-32=50', '50-32=18']
Exploring Operation: 38*18=684, Resulting Numbers: [684]
684,29 unequal: No Solution
Exploring Operation: 38+18=56, Resulting Numbers: [56]
56,29 unequal: No Solution
Exploring Operation: 38-18=20, Resulting Numbers: [20]
20,29 unequal: No Solution
Moving to Node #0,1,2
Current State: 29:[32, 12], Operations: ['82-32=50', '50-38=12']
Exploring Operation: 32+12=44, Resulting Numbers: [44]
44,29 unequal: No Solution
Exploring Operation: 32*12=384, Resulting Numbers: [384]
384,29 unequal: No Solution
Exploring Operation: 32-12=20, Resulting Numbers: [20]
20,29 unequal: No Solution
Moving to Node #0,3,4
Current State: 29:[38, 18], Operations: ['82-32=50', '50-32=18']
Exploring Operation: 38-18=20, Resulting Numbers: [20]
20,29 unequal: No Solution
Exploring Operation: 38+18=56, Resulting Numbers: [56]
56,29 unequal: No Solution
Exploring Operation: 38*18=684, Resulting Numbers: [684]
684,29 unequal: No Solution
Moving to Node #0,3,2
Current State: 29:[50, 6], Operations: ['82-32=50', '38-32=6']
Exploring Operation: 50+6=56, Resulting Numbers: [56]
56,29 unequal: No Solution
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,29 unequal: No Solution
Exploring Operation: 50*6=300, Resulting Numbers: [300]
300,29 unequal: No Solution
Moving to Node #0,1,3
Current State: 29:[50, 6], Operations: ['82-32=50', '38-32=6']
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,29 unequal: No Solution
Exploring Operation: 50*6=300, Resulting Numbers: [300]
300,29 unequal: No Solution
Exploring Operation: 50+6=56, Resulting Numbers: [56]
56,29 unequal: No Solution
Moving to Node #0,1,0
Current State: 29:[50, 70], Operations: ['82-32=50', '38+32=70']
Exploring Operation: 50*70=3500, Resulting Numbers: [3500]
3500,29 unequal: No Solution
Exploring Operation: 50+70=120, Resulting Numbers: [120]
120,29 unequal: No Solution
Exploring Operation: 70-50=20, Resulting Numbers: [20]
20,29 unequal: No Solution
Moving to Node #0,1,4
Current State: 29:[32, 88], Operations: ['82-32=50', '38+50=88']
Exploring Operation: 32*88=2816, Resulting Numbers: [2816]
2816,29 unequal: No Solution
Exploring Operation: 32+88=120, Resulting Numbers: [120]
120,29 unequal: No Solution
Exploring Operation: 88-32=56, Resulting Numbers: [56]
56,29 unequal: No Solution
Moving to Node #0,3,3
Current State: 29:[32, 88], Operations: ['82-32=50', '38+50=88']
Exploring Operation: 88-32=56, Resulting Numbers: [56]
56,29 unequal: No Solution
Exploring Operation: 32+88=120, Resulting Numbers: [120]
120,29 unequal: No Solution
Exploring Operation: 32*88=2816, Resulting Numbers: [2816]
2816,29 unequal: No Solution
Moving to Node #0,3,1
Current State: 29:[50, 70], Operations: ['82-32=50', '38+32=70']
Exploring Operation: 50+70=120, Resulting Numbers: [120]
120,29 unequal: No Solution
Exploring Operation: 70-50=20, Resulting Numbers: [20]
20,29 unequal: No Solution
Exploring Operation: 50*70=3500, Resulting Numbers: [3500]
3500,29 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
43,
42,
19,
20
] | 35 | [
"43-19=24",
"42*20=840",
"840/24=35"
] | Current State: 35:[43, 42, 19, 20], Operations: []
Exploring Operation: 43-19=24, Resulting Numbers: [42, 20, 24]
Generated Node #2: [42, 20, 24] from Operation: 43-19=24
Current State: 35:[42, 20, 24], Operations: ['43-19=24']
Exploring Operation: 42*20=840, Resulting Numbers: [24, 840]
Generated Node #3: [24, 840] from Operation: 42*20=840
Current State: 35:[24, 840], Operations: ['43-19=24', '42*20=840']
Exploring Operation: 840/24=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[43, 42, 19, 20], Operations: []
Exploring Operation: 43-42=1, Resulting Numbers: [19, 20, 1]
Generated Node #0,0: 35:[19, 20, 1] Operation: 43-42=1
Exploring Operation: 20-19=1, Resulting Numbers: [43, 42, 1]
Generated Node #0,1: 35:[43, 42, 1] Operation: 20-19=1
Exploring Operation: 19+20=39, Resulting Numbers: [43, 42, 39]
Generated Node #0,2: 35:[43, 42, 39] Operation: 19+20=39
Start Sub Search at level 1: Moving to Node #0,1
Current State: 35:[43, 42, 1], Operations: ['20-19=1']
Exploring Operation: 43-1=42, Resulting Numbers: [42, 42]
Generated Node #0,1,0: 35:[42, 42] Operation: 43-1=42
Exploring Operation: 43-42=1, Resulting Numbers: [1, 1]
Generated Node #0,1,1: 35:[1, 1] Operation: 43-42=1
Exploring Operation: 42-1=41, Resulting Numbers: [43, 41]
Generated Node #0,1,2: 35:[43, 41] Operation: 42-1=41
Moving to Node #0,1,1
Current State: 35:[1, 1], Operations: ['20-19=1', '43-42=1']
Exploring Operation: 1+1=2, Resulting Numbers: [2]
2,35 unequal: No Solution
Exploring Operation: 1/1=1, Resulting Numbers: [1]
1,35 unequal: No Solution
Exploring Operation: 1*1=1, Resulting Numbers: [1]
1,35 unequal: No Solution
Moving to Node #0,1,0
Current State: 35:[42, 42], Operations: ['20-19=1', '43-1=42']
Exploring Operation: 42/42=1, Resulting Numbers: [1]
1,35 unequal: No Solution
Exploring Operation: 42+42=84, Resulting Numbers: [84]
84,35 unequal: No Solution
Exploring Operation: 42-42=0, Resulting Numbers: [0]
0,35 unequal: No Solution
Moving to Node #0,1,2
Current State: 35:[43, 41], Operations: ['20-19=1', '42-1=41']
Exploring Operation: 43+41=84, Resulting Numbers: [84]
84,35 unequal: No Solution
Exploring Operation: 43*41=1763, Resulting Numbers: [1763]
1763,35 unequal: No Solution
Exploring Operation: 43-41=2, Resulting Numbers: [2]
2,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,2
Current State: 35:[43, 42, 39], Operations: ['19+20=39']
Exploring Operation: 43-42=1, Resulting Numbers: [39, 1]
Generated Node #0,2,0: 35:[39, 1] Operation: 43-42=1
Exploring Operation: 43-39=4, Resulting Numbers: [42, 4]
Generated Node #0,2,1: 35:[42, 4] Operation: 43-39=4
Exploring Operation: 42-39=3, Resulting Numbers: [43, 3]
Generated Node #0,2,2: 35:[43, 3] Operation: 42-39=3
Moving to Node #0,2,0
Current State: 35:[39, 1], Operations: ['19+20=39', '43-42=1']
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,35 unequal: No Solution
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,35 unequal: No Solution
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,35 unequal: No Solution
Moving to Node #0,2,1
Current State: 35:[42, 4], Operations: ['19+20=39', '43-39=4']
Exploring Operation: 42*4=168, Resulting Numbers: [168]
168,35 unequal: No Solution
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,35 unequal: No Solution
Exploring Operation: 42+4=46, Resulting Numbers: [46]
46,35 unequal: No Solution
Moving to Node #0,2,2
Current State: 35:[43, 3], Operations: ['19+20=39', '42-39=3']
Exploring Operation: 43*3=129, Resulting Numbers: [129]
129,35 unequal: No Solution
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,35 unequal: No Solution
Exploring Operation: 43+3=46, Resulting Numbers: [46]
46,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,0
Current State: 35:[19, 20, 1], Operations: ['43-42=1']
Exploring Operation: 19+20=39, Resulting Numbers: [1, 39]
Generated Node #0,0,0: 35:[1, 39] Operation: 19+20=39
Exploring Operation: 20-19=1, Resulting Numbers: [1, 1]
Generated Node #0,0,1: 35:[1, 1] Operation: 20-19=1
Exploring Operation: 19-1=18, Resulting Numbers: [20, 18]
Generated Node #0,0,2: 35:[20, 18] Operation: 19-1=18
Moving to Node #0,0,0
Current State: 35:[1, 39], Operations: ['43-42=1', '19+20=39']
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,35 unequal: No Solution
Exploring Operation: 1*39=39, Resulting Numbers: [39]
39,35 unequal: No Solution
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,35 unequal: No Solution
Moving to Node #0,0,1
Current State: 35:[1, 1], Operations: ['43-42=1', '20-19=1']
Exploring Operation: 1+1=2, Resulting Numbers: [2]
2,35 unequal: No Solution
Exploring Operation: 1*1=1, Resulting Numbers: [1]
1,35 unequal: No Solution
Exploring Operation: 1/1=1, Resulting Numbers: [1]
1,35 unequal: No Solution
Moving to Node #0,0,2
Current State: 35:[20, 18], Operations: ['43-42=1', '19-1=18']
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,35 unequal: No Solution
Exploring Operation: 20+18=38, Resulting Numbers: [38]
38,35 unequal: No Solution
Exploring Operation: 20*18=360, Resulting Numbers: [360]
360,35 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
80,
14,
13,
27
] | 80 | [
"80+14=94",
"27-13=14",
"94-14=80"
] | Current State: 80:[80, 14, 13, 27], Operations: []
Exploring Operation: 80+14=94, Resulting Numbers: [13, 27, 94]
Generated Node #2: [13, 27, 94] from Operation: 80+14=94
Current State: 80:[13, 27, 94], Operations: ['80+14=94']
Exploring Operation: 27-13=14, Resulting Numbers: [94, 14]
Generated Node #3: [94, 14] from Operation: 27-13=14
Current State: 80:[94, 14], Operations: ['80+14=94', '27-13=14']
Exploring Operation: 94-14=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[80, 14, 13, 27], Operations: []
Exploring Operation: 13+27=40, Resulting Numbers: [80, 14, 40]
Generated Node #0,0: 80:[80, 14, 40] Operation: 13+27=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[80, 14, 40], Operations: ['13+27=40']
Exploring Operation: 80-40=40, Resulting Numbers: [14, 40]
Generated Node #0,0,0: 80:[14, 40] Operation: 80-40=40
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 80:[14, 40], Operations: ['13+27=40', '80-40=40']
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,80 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 |
[
3,
75,
98,
59
] | 10 | [
"98-75=23",
"3*23=69",
"69-59=10"
] | Current State: 10:[3, 75, 98, 59], Operations: []
Exploring Operation: 98-75=23, Resulting Numbers: [3, 59, 23]
Generated Node #2: [3, 59, 23] from Operation: 98-75=23
Current State: 10:[3, 59, 23], Operations: ['98-75=23']
Exploring Operation: 3*23=69, Resulting Numbers: [59, 69]
Generated Node #3: [59, 69] from Operation: 3*23=69
Current State: 10:[59, 69], Operations: ['98-75=23', '3*23=69']
Exploring Operation: 69-59=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[3, 75, 98, 59], Operations: []
Exploring Operation: 98-75=23, Resulting Numbers: [3, 59, 23]
Generated Node #0,0: 10:[3, 59, 23] Operation: 98-75=23
Exploring Operation: 75-59=16, Resulting Numbers: [3, 98, 16]
Generated Node #0,1: 10:[3, 98, 16] Operation: 75-59=16
Moving to Node #0,0
Current State: 10:[3, 59, 23], Operations: ['98-75=23']
Exploring Operation: 59-23=36, Resulting Numbers: [3, 36]
Generated Node #0,0,0: 10:[3, 36] Operation: 59-23=36
Exploring Operation: 59-3=56, Resulting Numbers: [23, 56]
Generated Node #0,0,1: 10:[23, 56] Operation: 59-3=56
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 10:[3, 36], Operations: ['98-75=23', '59-23=36']
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,10 unequal: No Solution
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 10:[23, 56], Operations: ['98-75=23', '59-3=56']
Exploring Operation: 23+56=79, Resulting Numbers: [79]
79,10 unequal: No Solution
Exploring Operation: 56-23=33, Resulting Numbers: [33]
33,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 10:[3, 98, 16], Operations: ['75-59=16']
Exploring Operation: 98-3=95, Resulting Numbers: [16, 95]
Generated Node #0,1,0: 10:[16, 95] Operation: 98-3=95
Exploring Operation: 98-16=82, Resulting Numbers: [3, 82]
Generated Node #0,1,1: 10:[3, 82] Operation: 98-16=82
Moving to Node #0,1,1
Current State: 10:[3, 82], Operations: ['75-59=16', '98-16=82']
Exploring Operation: 82-3=79, Resulting Numbers: [79]
79,10 unequal: No Solution
Exploring Operation: 3+82=85, Resulting Numbers: [85]
85,10 unequal: No Solution
Moving to Node #0,1,0
Current State: 10:[16, 95], Operations: ['75-59=16', '98-3=95']
Exploring Operation: 16+95=111, Resulting Numbers: [111]
111,10 unequal: No Solution
Exploring Operation: 95-16=79, Resulting Numbers: [79]
79,10 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
76,
89,
57,
21
] | 61 | [
"76*21=1596",
"1596/57=28",
"89-28=61"
] | Current State: 61:[76, 89, 57, 21], Operations: []
Exploring Operation: 76*21=1596, Resulting Numbers: [89, 57, 1596]
Generated Node #2: [89, 57, 1596] from Operation: 76*21=1596
Current State: 61:[89, 57, 1596], Operations: ['76*21=1596']
Exploring Operation: 1596/57=28, Resulting Numbers: [89, 28]
Generated Node #3: [89, 28] from Operation: 1596/57=28
Current State: 61:[89, 28], Operations: ['76*21=1596', '1596/57=28']
Exploring Operation: 89-28=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[76, 89, 57, 21], Operations: []
Exploring Operation: 76-21=55, Resulting Numbers: [89, 57, 55]
Generated Node #0,0: 61:[89, 57, 55] Operation: 76-21=55
Exploring Operation: 89-21=68, Resulting Numbers: [76, 57, 68]
Generated Node #0,1: 61:[76, 57, 68] Operation: 89-21=68
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[76, 57, 68], Operations: ['89-21=68']
Exploring Operation: 76-68=8, Resulting Numbers: [57, 8]
Generated Node #0,1,0: 61:[57, 8] Operation: 76-68=8
Exploring Operation: 76-57=19, Resulting Numbers: [68, 19]
Generated Node #0,1,1: 61:[68, 19] Operation: 76-57=19
Moving to Node #0,1,1
Current State: 61:[68, 19], Operations: ['89-21=68', '76-57=19']
Exploring Operation: 68+19=87, Resulting Numbers: [87]
87,61 unequal: No Solution
Exploring Operation: 68-19=49, Resulting Numbers: [49]
49,61 unequal: No Solution
Moving to Node #0,1,0
Current State: 61:[57, 8], Operations: ['89-21=68', '76-68=8']
Exploring Operation: 57-8=49, Resulting Numbers: [49]
49,61 unequal: No Solution
Exploring Operation: 57+8=65, Resulting Numbers: [65]
65,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[89, 57, 55], Operations: ['76-21=55']
Exploring Operation: 89-57=32, Resulting Numbers: [55, 32]
Generated Node #0,0,0: 61:[55, 32] Operation: 89-57=32
Exploring Operation: 89-55=34, Resulting Numbers: [57, 34]
Generated Node #0,0,1: 61:[57, 34] Operation: 89-55=34
Moving to Node #0,0,1
Current State: 61:[57, 34], Operations: ['76-21=55', '89-55=34']
Exploring Operation: 57+34=91, Resulting Numbers: [91]
91,61 unequal: No Solution
Exploring Operation: 57-34=23, Resulting Numbers: [23]
23,61 unequal: No Solution
Moving to Node #0,0,0
Current State: 61:[55, 32], Operations: ['76-21=55', '89-57=32']
Exploring Operation: 55-32=23, Resulting Numbers: [23]
23,61 unequal: No Solution
Exploring Operation: 55+32=87, Resulting Numbers: [87]
87,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
2,
39,
3,
7
] | 48 | [
"39-7=32",
"32/2=16",
"3*16=48"
] | Current State: 48:[2, 39, 3, 7], Operations: []
Exploring Operation: 39-7=32, Resulting Numbers: [2, 3, 32]
Generated Node #2: [2, 3, 32] from Operation: 39-7=32
Current State: 48:[2, 3, 32], Operations: ['39-7=32']
Exploring Operation: 32/2=16, Resulting Numbers: [3, 16]
Generated Node #3: [3, 16] from Operation: 32/2=16
Current State: 48:[3, 16], Operations: ['39-7=32', '32/2=16']
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[2, 39, 3, 7], Operations: []
Exploring Operation: 39/3=13, Resulting Numbers: [2, 7, 13]
Generated Node #0,0: 48:[2, 7, 13] Operation: 39/3=13
Exploring Operation: 39+7=46, Resulting Numbers: [2, 3, 46]
Generated Node #0,1: 48:[2, 3, 46] Operation: 39+7=46
Moving to Node #0,0
Current State: 48:[2, 7, 13], Operations: ['39/3=13']
Exploring Operation: 13-7=6, Resulting Numbers: [2, 6]
Generated Node #0,0,0: 48:[2, 6] Operation: 13-7=6
Exploring Operation: 2+7=9, Resulting Numbers: [13, 9]
Generated Node #0,0,1: 48:[13, 9] Operation: 2+7=9
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 48:[2, 6], Operations: ['39/3=13', '13-7=6']
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,48 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,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,1
Current State: 48:[13, 9], Operations: ['39/3=13', '2+7=9']
Exploring Operation: 13+9=22, Resulting Numbers: [22]
22,48 unequal: No Solution
Exploring Operation: 13-9=4, Resulting Numbers: [4]
4,48 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: 48:[2, 3, 46], Operations: ['39+7=46']
Exploring Operation: 2+46=48, Resulting Numbers: [3, 48]
Generated Node #0,1,0: 48:[3, 48] Operation: 2+46=48
Exploring Operation: 46/2=23, Resulting Numbers: [3, 23]
Generated Node #0,1,1: 48:[3, 23] Operation: 46/2=23
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 48:[3, 48], Operations: ['39+7=46', '2+46=48']
Exploring Operation: 3+48=51, Resulting Numbers: [51]
51,48 unequal: No Solution
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,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,1
Current State: 48:[3, 23], Operations: ['39+7=46', '46/2=23']
Exploring Operation: 23-3=20, Resulting Numbers: [20]
20,48 unequal: No Solution
Exploring Operation: 3+23=26, Resulting Numbers: [26]
26,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
39,
29,
97,
58
] | 49 | [
"39-29=10",
"97-58=39",
"10+39=49"
] | Current State: 49:[39, 29, 97, 58], Operations: []
Exploring Operation: 39-29=10, Resulting Numbers: [97, 58, 10]
Generated Node #2: [97, 58, 10] from Operation: 39-29=10
Current State: 49:[97, 58, 10], Operations: ['39-29=10']
Exploring Operation: 97-58=39, Resulting Numbers: [10, 39]
Generated Node #3: [10, 39] from Operation: 97-58=39
Current State: 49:[10, 39], Operations: ['39-29=10', '97-58=39']
Exploring Operation: 10+39=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[39, 29, 97, 58], Operations: []
Exploring Operation: 97-39=58, Resulting Numbers: [29, 58, 58]
Generated Node #0,0: 49:[29, 58, 58] Operation: 97-39=58
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[29, 58, 58], Operations: ['97-39=58']
Exploring Operation: 58/29=2, Resulting Numbers: [58, 2]
Generated Node #0,0,0: 49:[58, 2] Operation: 58/29=2
Moving to Node #0,0,0
Current State: 49:[58, 2], Operations: ['97-39=58', '58/29=2']
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,49 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 |
[
7,
45,
52,
85
] | 86 | [
"7+45=52",
"52/52=1",
"85+1=86"
] | Current State: 86:[7, 45, 52, 85], Operations: []
Exploring Operation: 7+45=52, Resulting Numbers: [52, 85, 52]
Generated Node #2: [52, 85, 52] from Operation: 7+45=52
Current State: 86:[52, 85, 52], Operations: ['7+45=52']
Exploring Operation: 52/52=1, Resulting Numbers: [85, 1]
Generated Node #3: [85, 1] from Operation: 52/52=1
Current State: 86:[85, 1], Operations: ['7+45=52', '52/52=1']
Exploring Operation: 85+1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[7, 45, 52, 85], Operations: []
Exploring Operation: 52-7=45, Resulting Numbers: [45, 85, 45]
Generated Node #0,0: 86:[45, 85, 45] Operation: 52-7=45
Exploring Operation: 52-45=7, Resulting Numbers: [7, 85, 7]
Generated Node #0,1: 86:[7, 85, 7] Operation: 52-45=7
Moving to Node #0,0
Current State: 86:[45, 85, 45], Operations: ['52-7=45']
Exploring Operation: 45-45=0, Resulting Numbers: [85, 0]
Generated Node #0,0,0: 86:[85, 0] Operation: 45-45=0
Exploring Operation: 45/45=1, Resulting Numbers: [85, 1]
Generated Node #0,0,1: 86:[85, 1] Operation: 45/45=1
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 86:[85, 1], Operations: ['52-7=45', '45/45=1']
Exploring Operation: 85*1=85, Resulting Numbers: [85]
85,86 unequal: No Solution
Exploring Operation: 85+1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[7, 45, 52, 85], Operations: []
Exploring Operation: 52-7=45, Resulting Numbers: [45, 85, 45]
Generated Node #0,0: 86:[45, 85, 45] Operation: 52-7=45
Moving to Node #0,0
Current State: 86:[45, 85, 45], Operations: ['52-7=45']
Exploring Operation: 45/45=1, Resulting Numbers: [85, 1]
Generated Node #0,0,1: 86:[85, 1] Operation: 45/45=1
Moving to Node #0,0,1
Current State: 86:[85, 1], Operations: ['52-7=45', '45/45=1']
Exploring Operation: 85+1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
53,
31,
51,
22
] | 18 | [
"53-51=2",
"31-22=9",
"2*9=18"
] | Current State: 18:[53, 31, 51, 22], Operations: []
Exploring Operation: 53-51=2, Resulting Numbers: [31, 22, 2]
Generated Node #2: [31, 22, 2] from Operation: 53-51=2
Current State: 18:[31, 22, 2], Operations: ['53-51=2']
Exploring Operation: 31-22=9, Resulting Numbers: [2, 9]
Generated Node #3: [2, 9] from Operation: 31-22=9
Current State: 18:[2, 9], Operations: ['53-51=2', '31-22=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[53, 31, 51, 22], Operations: []
Exploring Operation: 53-31=22, Resulting Numbers: [51, 22, 22]
Generated Node #0,0: 18:[51, 22, 22] Operation: 53-31=22
Exploring Operation: 53-51=2, Resulting Numbers: [31, 22, 2]
Generated Node #0,1: 18:[31, 22, 2] Operation: 53-51=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[31, 22, 2], Operations: ['53-51=2']
Exploring Operation: 31-22=9, Resulting Numbers: [2, 9]
Generated Node #0,1,0: 18:[2, 9] Operation: 31-22=9
Exploring Operation: 31-2=29, Resulting Numbers: [22, 29]
Generated Node #0,1,1: 18:[22, 29] Operation: 31-2=29
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 18:[2, 9], Operations: ['53-51=2', '31-22=9']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,18 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[53, 31, 51, 22], Operations: []
Exploring Operation: 53-51=2, Resulting Numbers: [31, 22, 2]
Generated Node #0,1: 18:[31, 22, 2] Operation: 53-51=2
Moving to Node #0,1
Current State: 18:[31, 22, 2], Operations: ['53-51=2']
Exploring Operation: 31-22=9, Resulting Numbers: [2, 9]
Generated Node #0,1,0: 18:[2, 9] Operation: 31-22=9
Moving to Node #0,1,0
Current State: 18:[2, 9], Operations: ['53-51=2', '31-22=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
45,
38,
51,
49
] | 81 | [
"45+38=83",
"51-49=2",
"83-2=81"
] | Current State: 81:[45, 38, 51, 49], Operations: []
Exploring Operation: 45+38=83, Resulting Numbers: [51, 49, 83]
Generated Node #2: [51, 49, 83] from Operation: 45+38=83
Current State: 81:[51, 49, 83], Operations: ['45+38=83']
Exploring Operation: 51-49=2, Resulting Numbers: [83, 2]
Generated Node #3: [83, 2] from Operation: 51-49=2
Current State: 81:[83, 2], Operations: ['45+38=83', '51-49=2']
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[45, 38, 51, 49], Operations: []
Exploring Operation: 51-49=2, Resulting Numbers: [45, 38, 2]
Generated Node #0,0: 81:[45, 38, 2] Operation: 51-49=2
Exploring Operation: 51-45=6, Resulting Numbers: [38, 49, 6]
Generated Node #0,1: 81:[38, 49, 6] Operation: 51-45=6
Exploring Operation: 49-45=4, Resulting Numbers: [38, 51, 4]
Generated Node #0,2: 81:[38, 51, 4] Operation: 49-45=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[45, 38, 2], Operations: ['51-49=2']
Exploring Operation: 45-38=7, Resulting Numbers: [2, 7]
Generated Node #0,0,0: 81:[2, 7] Operation: 45-38=7
Exploring Operation: 45+38=83, Resulting Numbers: [2, 83]
Generated Node #0,0,1: 81:[2, 83] Operation: 45+38=83
Exploring Operation: 45*2=90, Resulting Numbers: [38, 90]
Generated Node #0,0,2: 81:[38, 90] Operation: 45*2=90
Moving to Node #0,0,0
Current State: 81:[2, 7], Operations: ['51-49=2', '45-38=7']
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,81 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,81 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,81 unequal: No Solution
Moving to Node #0,0,1
Current State: 81:[2, 83], Operations: ['51-49=2', '45+38=83']
Exploring Operation: 2+83=85, Resulting Numbers: [85]
85,81 unequal: No Solution
Exploring Operation: 2*83=166, Resulting Numbers: [166]
166,81 unequal: No Solution
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[45, 38, 51, 49], Operations: []
Exploring Operation: 51-49=2, Resulting Numbers: [45, 38, 2]
Generated Node #0,0: 81:[45, 38, 2] Operation: 51-49=2
Moving to Node #0,0
Current State: 81:[45, 38, 2], Operations: ['51-49=2']
Exploring Operation: 45+38=83, Resulting Numbers: [2, 83]
Generated Node #0,0,1: 81:[2, 83] Operation: 45+38=83
Moving to Node #0,0,1
Current State: 81:[2, 83], Operations: ['51-49=2', '45+38=83']
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | mult_heuristic |
[
70,
64,
88,
11
] | 62 | [
"64*11=704",
"704/88=8",
"70-8=62"
] | Current State: 62:[70, 64, 88, 11], Operations: []
Exploring Operation: 64*11=704, Resulting Numbers: [70, 88, 704]
Generated Node #2: [70, 88, 704] from Operation: 64*11=704
Current State: 62:[70, 88, 704], Operations: ['64*11=704']
Exploring Operation: 704/88=8, Resulting Numbers: [70, 8]
Generated Node #3: [70, 8] from Operation: 704/88=8
Current State: 62:[70, 8], Operations: ['64*11=704', '704/88=8']
Exploring Operation: 70-8=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[70, 64, 88, 11], Operations: []
Exploring Operation: 88/11=8, Resulting Numbers: [70, 64, 8]
Generated Node #0,0: 62:[70, 64, 8] Operation: 88/11=8
Exploring Operation: 88-70=18, Resulting Numbers: [64, 11, 18]
Generated Node #0,1: 62:[64, 11, 18] Operation: 88-70=18
Exploring Operation: 88-64=24, Resulting Numbers: [70, 11, 24]
Generated Node #0,2: 62:[70, 11, 24] Operation: 88-64=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[70, 64, 8], Operations: ['88/11=8']
Exploring Operation: 70-64=6, Resulting Numbers: [8, 6]
Generated Node #0,0,0: 62:[8, 6] Operation: 70-64=6
Exploring Operation: 70-8=62, Resulting Numbers: [64, 62]
Generated Node #0,0,1: 62:[64, 62] Operation: 70-8=62
Exploring Operation: 64-8=56, Resulting Numbers: [70, 56]
Generated Node #0,0,2: 62:[70, 56] Operation: 64-8=56
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 62:[64, 62], Operations: ['88/11=8', '70-8=62']
Exploring Operation: 64-62=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Exploring Operation: 64+62=126, Resulting Numbers: [126]
126,62 unequal: No Solution
Exploring Operation: 64*62=3968, Resulting Numbers: [3968]
3968,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 62:[8, 6], Operations: ['88/11=8', '70-64=6']
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,62 unequal: No Solution
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,62 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 62:[70, 56], Operations: ['88/11=8', '64-8=56']
Exploring Operation: 70+56=126, Resulting Numbers: [126]
126,62 unequal: No Solution
Exploring Operation: 70-56=14, Resulting Numbers: [14]
14,62 unequal: No Solution
Exploring Operation: 70*56=3920, Resulting Numbers: [3920]
3920,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 62:[64, 11, 18], Operations: ['88-70=18']
Exploring Operation: 18-11=7, Resulting Numbers: [64, 7]
Generated Node #0,1,0: 62:[64, 7] Operation: 18-11=7
Exploring Operation: 64-11=53, Resulting Numbers: [18, 53]
Generated Node #0,1,1: 62:[18, 53] Operation: 64-11=53
Exploring Operation: 11+18=29, Resulting Numbers: [64, 29]
Generated Node #0,1,2: 62:[64, 29] Operation: 11+18=29
Moving to Node #0,1,2
Current State: 62:[64, 29], Operations: ['88-70=18', '11+18=29']
Exploring Operation: 64-29=35, Resulting Numbers: [35]
35,62 unequal: No Solution
Exploring Operation: 64+29=93, Resulting Numbers: [93]
93,62 unequal: No Solution
Exploring Operation: 64*29=1856, Resulting Numbers: [1856]
1856,62 unequal: No Solution
Moving to Node #0,1,0
Current State: 62:[64, 7], Operations: ['88-70=18', '18-11=7']
Exploring Operation: 64+7=71, Resulting Numbers: [71]
71,62 unequal: No Solution
Exploring Operation: 64*7=448, Resulting Numbers: [448]
448,62 unequal: No Solution
Exploring Operation: 64-7=57, Resulting Numbers: [57]
57,62 unequal: No Solution
Moving to Node #0,1,1
Current State: 62:[18, 53], Operations: ['88-70=18', '64-11=53']
Exploring Operation: 18*53=954, Resulting Numbers: [954]
954,62 unequal: No Solution
Exploring Operation: 53-18=35, Resulting Numbers: [35]
35,62 unequal: No Solution
Exploring Operation: 18+53=71, Resulting Numbers: [71]
71,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
Current State: 62:[70, 11, 24], Operations: ['88-64=24']
Exploring Operation: 24-11=13, Resulting Numbers: [70, 13]
Generated Node #0,2,0: 62:[70, 13] Operation: 24-11=13
Exploring Operation: 11+24=35, Resulting Numbers: [70, 35]
Generated Node #0,2,1: 62:[70, 35] Operation: 11+24=35
Exploring Operation: 70-11=59, Resulting Numbers: [24, 59]
Generated Node #0,2,2: 62:[24, 59] Operation: 70-11=59
Moving to Node #0,2,2
Current State: 62:[24, 59], Operations: ['88-64=24', '70-11=59']
Exploring Operation: 24*59=1416, Resulting Numbers: [1416]
1416,62 unequal: No Solution
Exploring Operation: 59-24=35, Resulting Numbers: [35]
35,62 unequal: No Solution
Exploring Operation: 24+59=83, Resulting Numbers: [83]
83,62 unequal: No Solution
Moving to Node #0,2,1
Current State: 62:[70, 35], Operations: ['88-64=24', '11+24=35']
Exploring Operation: 70+35=105, Resulting Numbers: [105]
105,62 unequal: No Solution
Exploring Operation: 70/35=2, Resulting Numbers: [2]
2,62 unequal: No Solution
Exploring Operation: 70-35=35, Resulting Numbers: [35]
35,62 unequal: No Solution
Moving to Node #0,2,0
Current State: 62:[70, 13], Operations: ['88-64=24', '24-11=13']
Exploring Operation: 70-13=57, Resulting Numbers: [57]
57,62 unequal: No Solution
Exploring Operation: 70*13=910, Resulting Numbers: [910]
910,62 unequal: No Solution
Exploring Operation: 70+13=83, Resulting Numbers: [83]
83,62 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 |
[
53,
72,
30,
10
] | 21 | [
"72-53=19",
"30+10=40",
"40-19=21"
] | Current State: 21:[53, 72, 30, 10], Operations: []
Exploring Operation: 72-53=19, Resulting Numbers: [30, 10, 19]
Generated Node #2: [30, 10, 19] from Operation: 72-53=19
Current State: 21:[30, 10, 19], Operations: ['72-53=19']
Exploring Operation: 30+10=40, Resulting Numbers: [19, 40]
Generated Node #3: [19, 40] from Operation: 30+10=40
Current State: 21:[19, 40], Operations: ['72-53=19', '30+10=40']
Exploring Operation: 40-19=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[53, 72, 30, 10], Operations: []
Exploring Operation: 53-30=23, Resulting Numbers: [72, 10, 23]
Generated Node #0,0: 21:[72, 10, 23] Operation: 53-30=23
Exploring Operation: 72-30=42, Resulting Numbers: [53, 10, 42]
Generated Node #0,1: 21:[53, 10, 42] Operation: 72-30=42
Exploring Operation: 72-53=19, Resulting Numbers: [30, 10, 19]
Generated Node #0,2: 21:[30, 10, 19] Operation: 72-53=19
Moving to Node #0,2
Current State: 21:[30, 10, 19], Operations: ['72-53=19']
Exploring Operation: 30-19=11, Resulting Numbers: [10, 11]
Generated Node #0,2,0: 21:[10, 11] Operation: 30-19=11
Exploring Operation: 30-10=20, Resulting Numbers: [19, 20]
Generated Node #0,2,1: 21:[19, 20] Operation: 30-10=20
Exploring Operation: 30/10=3, Resulting Numbers: [19, 3]
Generated Node #0,2,2: 21:[19, 3] Operation: 30/10=3
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 21:[19, 3], Operations: ['72-53=19', '30/10=3']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,21 unequal: No Solution
Exploring Operation: 19+3=22, Resulting Numbers: [22]
22,21 unequal: No Solution
Exploring Operation: 19*3=57, Resulting Numbers: [57]
57,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:[19, 20], Operations: ['72-53=19', '30-10=20']
Exploring Operation: 19*20=380, Resulting Numbers: [380]
380,21 unequal: No Solution
Exploring Operation: 20-19=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 19+20=39, Resulting Numbers: [39]
39,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:[10, 11], Operations: ['72-53=19', '30-19=11']
Exploring Operation: 10*11=110, Resulting Numbers: [110]
110,21 unequal: No Solution
Exploring Operation: 10+11=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[53, 72, 30, 10], Operations: []
Exploring Operation: 72-53=19, Resulting Numbers: [30, 10, 19]
Generated Node #0,2: 21:[30, 10, 19] Operation: 72-53=19
Moving to Node #0,2
Current State: 21:[30, 10, 19], Operations: ['72-53=19']
Exploring Operation: 30-19=11, Resulting Numbers: [10, 11]
Generated Node #0,2,0: 21:[10, 11] Operation: 30-19=11
Moving to Node #0,2,0
Current State: 21:[10, 11], Operations: ['72-53=19', '30-19=11']
Exploring Operation: 10+11=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | mult_heuristic |
[
93,
33,
13,
14
] | 33 | [
"93-33=60",
"13+14=27",
"60-27=33"
] | Current State: 33:[93, 33, 13, 14], Operations: []
Exploring Operation: 93-33=60, Resulting Numbers: [13, 14, 60]
Generated Node #2: [13, 14, 60] from Operation: 93-33=60
Current State: 33:[13, 14, 60], Operations: ['93-33=60']
Exploring Operation: 13+14=27, Resulting Numbers: [60, 27]
Generated Node #3: [60, 27] from Operation: 13+14=27
Current State: 33:[60, 27], Operations: ['93-33=60', '13+14=27']
Exploring Operation: 60-27=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[93, 33, 13, 14], Operations: []
Exploring Operation: 93-33=60, Resulting Numbers: [13, 14, 60]
Generated Node #0,0: 33:[13, 14, 60] Operation: 93-33=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[13, 14, 60], Operations: ['93-33=60']
Exploring Operation: 60-14=46, Resulting Numbers: [13, 46]
Generated Node #0,0,0: 33:[13, 46] Operation: 60-14=46
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 33:[13, 46], Operations: ['93-33=60', '60-14=46']
Exploring Operation: 46-13=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[93, 33, 13, 14], Operations: []
Exploring Operation: 93-33=60, Resulting Numbers: [13, 14, 60]
Generated Node #0,0: 33:[13, 14, 60] Operation: 93-33=60
Moving to Node #0,0
Current State: 33:[13, 14, 60], Operations: ['93-33=60']
Exploring Operation: 60-14=46, Resulting Numbers: [13, 46]
Generated Node #0,0,0: 33:[13, 46] Operation: 60-14=46
Moving to Node #0,0,0
Current State: 33:[13, 46], Operations: ['93-33=60', '60-14=46']
Exploring Operation: 46-13=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
75,
40,
29,
83
] | 89 | [
"75-40=35",
"83-29=54",
"35+54=89"
] | Current State: 89:[75, 40, 29, 83], Operations: []
Exploring Operation: 75-40=35, Resulting Numbers: [29, 83, 35]
Generated Node #2: [29, 83, 35] from Operation: 75-40=35
Current State: 89:[29, 83, 35], Operations: ['75-40=35']
Exploring Operation: 83-29=54, Resulting Numbers: [35, 54]
Generated Node #3: [35, 54] from Operation: 83-29=54
Current State: 89:[35, 54], Operations: ['75-40=35', '83-29=54']
Exploring Operation: 35+54=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[75, 40, 29, 83], Operations: []
Exploring Operation: 75+40=115, Resulting Numbers: [29, 83, 115]
Generated Node #0,0: 89:[29, 83, 115] Operation: 75+40=115
Exploring Operation: 40+29=69, Resulting Numbers: [75, 83, 69]
Generated Node #0,1: 89:[75, 83, 69] Operation: 40+29=69
Exploring Operation: 29+83=112, Resulting Numbers: [75, 40, 112]
Generated Node #0,2: 89:[75, 40, 112] Operation: 29+83=112
Exploring Operation: 75+29=104, Resulting Numbers: [40, 83, 104]
Generated Node #0,3: 89:[40, 83, 104] Operation: 75+29=104
Moving to Node #0,1
Current State: 89:[75, 83, 69], Operations: ['40+29=69']
Exploring Operation: 83+69=152, Resulting Numbers: [75, 152]
Generated Node #0,1,0: 89:[75, 152] Operation: 83+69=152
Exploring Operation: 75+69=144, Resulting Numbers: [83, 144]
Generated Node #0,1,1: 89:[83, 144] Operation: 75+69=144
Exploring Operation: 75-69=6, Resulting Numbers: [83, 6]
Generated Node #0,1,2: 89:[83, 6] Operation: 75-69=6
Exploring Operation: 75+83=158, Resulting Numbers: [69, 158]
Generated Node #0,1,3: 89:[69, 158] Operation: 75+83=158
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 89:[83, 144], Operations: ['40+29=69', '75+69=144']
Exploring Operation: 83+144=227, Resulting Numbers: [227]
227,89 unequal: No Solution
Exploring Operation: 144-83=61, Resulting Numbers: [61]
61,89 unequal: No Solution
Exploring Operation: 83*144=11952, Resulting Numbers: [11952]
11952,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,0
Current State: 89:[75, 152], Operations: ['40+29=69', '83+69=152']
Exploring Operation: 152-75=77, Resulting Numbers: [77]
77,89 unequal: No Solution
Exploring Operation: 75*152=11400, Resulting Numbers: [11400]
11400,89 unequal: No Solution
Exploring Operation: 75+152=227, Resulting Numbers: [227]
227,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:[83, 6], Operations: ['40+29=69', '75-69=6']
Exploring Operation: 83+6=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[75, 40, 29, 83], Operations: []
Exploring Operation: 40+29=69, Resulting Numbers: [75, 83, 69]
Generated Node #0,1: 89:[75, 83, 69] Operation: 40+29=69
Moving to Node #0,1
Current State: 89:[75, 83, 69], Operations: ['40+29=69']
Exploring Operation: 75-69=6, Resulting Numbers: [83, 6]
Generated Node #0,1,2: 89:[83, 6] Operation: 75-69=6
Moving to Node #0,1,2
Current State: 89:[83, 6], Operations: ['40+29=69', '75-69=6']
Exploring Operation: 83+6=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | mult_heuristic |
[
91,
5,
88,
67
] | 65 | [
"91-5=86",
"88-67=21",
"86-21=65"
] | Current State: 65:[91, 5, 88, 67], Operations: []
Exploring Operation: 91-5=86, Resulting Numbers: [88, 67, 86]
Generated Node #2: [88, 67, 86] from Operation: 91-5=86
Current State: 65:[88, 67, 86], Operations: ['91-5=86']
Exploring Operation: 88-67=21, Resulting Numbers: [86, 21]
Generated Node #3: [86, 21] from Operation: 88-67=21
Current State: 65:[86, 21], Operations: ['91-5=86', '88-67=21']
Exploring Operation: 86-21=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[91, 5, 88, 67], Operations: []
Exploring Operation: 88-67=21, Resulting Numbers: [91, 5, 21]
Generated Node #0,0: 65:[91, 5, 21] Operation: 88-67=21
Exploring Operation: 91-5=86, Resulting Numbers: [88, 67, 86]
Generated Node #0,1: 65:[88, 67, 86] Operation: 91-5=86
Exploring Operation: 91-88=3, Resulting Numbers: [5, 67, 3]
Generated Node #0,2: 65:[5, 67, 3] Operation: 91-88=3
Exploring Operation: 91-67=24, Resulting Numbers: [5, 88, 24]
Generated Node #0,3: 65:[5, 88, 24] Operation: 91-67=24
Exploring Operation: 88-5=83, Resulting Numbers: [91, 67, 83]
Generated Node #0,4: 65:[91, 67, 83] Operation: 88-5=83
Start Sub Search at level 1: Moving to Node #0,2
Current State: 65:[5, 67, 3], Operations: ['91-88=3']
Exploring Operation: 5-3=2, Resulting Numbers: [67, 2]
Generated Node #0,2,0: 65:[67, 2] Operation: 5-3=2
Exploring Operation: 5+3=8, Resulting Numbers: [67, 8]
Generated Node #0,2,1: 65:[67, 8] Operation: 5+3=8
Exploring Operation: 67-3=64, Resulting Numbers: [5, 64]
Generated Node #0,2,2: 65:[5, 64] Operation: 67-3=64
Exploring Operation: 5*3=15, Resulting Numbers: [67, 15]
Generated Node #0,2,3: 65:[67, 15] Operation: 5*3=15
Exploring Operation: 67-5=62, Resulting Numbers: [3, 62]
Generated Node #0,2,4: 65:[3, 62] Operation: 67-5=62
Moving to Node #0,2,2
Current State: 65:[5, 64], Operations: ['91-88=3', '67-3=64']
Exploring Operation: 5*64=320, Resulting Numbers: [320]
320,65 unequal: No Solution
Exploring Operation: 64-5=59, Resulting Numbers: [59]
59,65 unequal: No Solution
Exploring Operation: 5+64=69, Resulting Numbers: [69]
69,65 unequal: No Solution
Moving to Node #0,2,3
Current State: 65:[67, 15], Operations: ['91-88=3', '5*3=15']
Exploring Operation: 67+15=82, Resulting Numbers: [82]
82,65 unequal: No Solution
Exploring Operation: 67-15=52, Resulting Numbers: [52]
52,65 unequal: No Solution
Exploring Operation: 67*15=1005, Resulting Numbers: [1005]
1005,65 unequal: No Solution
Moving to Node #0,2,0
Current State: 65:[67, 2], Operations: ['91-88=3', '5-3=2']
Exploring Operation: 67+2=69, Resulting Numbers: [69]
69,65 unequal: No Solution
Exploring Operation: 67*2=134, Resulting Numbers: [134]
134,65 unequal: No Solution
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[91, 5, 88, 67], Operations: []
Exploring Operation: 91-88=3, Resulting Numbers: [5, 67, 3]
Generated Node #0,2: 65:[5, 67, 3] Operation: 91-88=3
Moving to Node #0,2
Current State: 65:[5, 67, 3], Operations: ['91-88=3']
Exploring Operation: 5-3=2, Resulting Numbers: [67, 2]
Generated Node #0,2,0: 65:[67, 2] Operation: 5-3=2
Moving to Node #0,2,0
Current State: 65:[67, 2], Operations: ['91-88=3', '5-3=2']
Exploring Operation: 67-2=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_5 | sum_heuristic |
[
66,
90,
29,
28
] | 81 | [
"90-66=24",
"29+28=57",
"24+57=81"
] | Current State: 81:[66, 90, 29, 28], Operations: []
Exploring Operation: 90-66=24, Resulting Numbers: [29, 28, 24]
Generated Node #2: [29, 28, 24] from Operation: 90-66=24
Current State: 81:[29, 28, 24], Operations: ['90-66=24']
Exploring Operation: 29+28=57, Resulting Numbers: [24, 57]
Generated Node #3: [24, 57] from Operation: 29+28=57
Current State: 81:[24, 57], Operations: ['90-66=24', '29+28=57']
Exploring Operation: 24+57=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[66, 90, 29, 28], Operations: []
Exploring Operation: 66-28=38, Resulting Numbers: [90, 29, 38]
Generated Node #0,0: 81:[90, 29, 38] Operation: 66-28=38
Exploring Operation: 90-66=24, Resulting Numbers: [29, 28, 24]
Generated Node #0,1: 81:[29, 28, 24] Operation: 90-66=24
Exploring Operation: 66-29=37, Resulting Numbers: [90, 28, 37]
Generated Node #0,2: 81:[90, 28, 37] Operation: 66-29=37
Moving to Node #0,1
Current State: 81:[29, 28, 24], Operations: ['90-66=24']
Exploring Operation: 29-24=5, Resulting Numbers: [28, 5]
Generated Node #0,1,0: 81:[28, 5] Operation: 29-24=5
Exploring Operation: 29-28=1, Resulting Numbers: [24, 1]
Generated Node #0,1,1: 81:[24, 1] Operation: 29-28=1
Exploring Operation: 28-24=4, Resulting Numbers: [29, 4]
Generated Node #0,1,2: 81:[29, 4] Operation: 28-24=4
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 81:[28, 5], Operations: ['90-66=24', '29-24=5']
Exploring Operation: 28*5=140, Resulting Numbers: [140]
140,81 unequal: No Solution
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,81 unequal: No Solution
Exploring Operation: 28+5=33, Resulting Numbers: [33]
33,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 81:[29, 4], Operations: ['90-66=24', '28-24=4']
Exploring Operation: 29*4=116, Resulting Numbers: [116]
116,81 unequal: No Solution
Exploring Operation: 29+4=33, Resulting Numbers: [33]
33,81 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 81:[24, 1], Operations: ['90-66=24', '29-28=1']
Exploring Operation: 24+1=25, Resulting Numbers: [25]
25,81 unequal: No Solution
Exploring Operation: 24*1=24, Resulting Numbers: [24]
24,81 unequal: No Solution
Exploring Operation: 24/1=24, Resulting Numbers: [24]
24,81 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: 81:[90, 28, 37], Operations: ['66-29=37']
Exploring Operation: 37-28=9, Resulting Numbers: [90, 9]
Generated Node #0,2,0: 81:[90, 9] Operation: 37-28=9
Exploring Operation: 28+37=65, Resulting Numbers: [90, 65]
Generated Node #0,2,1: 81:[90, 65] Operation: 28+37=65
Exploring Operation: 90-37=53, Resulting Numbers: [28, 53]
Generated Node #0,2,2: 81:[28, 53] Operation: 90-37=53
Moving to Node #0,0
Current State: 81:[90, 29, 38], Operations: ['66-28=38']
Exploring Operation: 38-29=9, Resulting Numbers: [90, 9]
Generated Node #0,0,0: 81:[90, 9] Operation: 38-29=9
Exploring Operation: 29+38=67, Resulting Numbers: [90, 67]
Generated Node #0,0,1: 81:[90, 67] Operation: 29+38=67
Exploring Operation: 90-38=52, Resulting Numbers: [29, 52]
Generated Node #0,0,2: 81:[29, 52] Operation: 90-38=52
Moving to Node #0,2,0
Current State: 81:[90, 9], Operations: ['66-29=37', '37-28=9']
Exploring Operation: 90-9=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[66, 90, 29, 28], Operations: []
Exploring Operation: 66-29=37, Resulting Numbers: [90, 28, 37]
Generated Node #0,2: 81:[90, 28, 37] Operation: 66-29=37
Moving to Node #0,2
Current State: 81:[90, 28, 37], Operations: ['66-29=37']
Exploring Operation: 37-28=9, Resulting Numbers: [90, 9]
Generated Node #0,2,0: 81:[90, 9] Operation: 37-28=9
Moving to Node #0,2,0
Current State: 81:[90, 9], Operations: ['66-29=37', '37-28=9']
Exploring Operation: 90-9=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 0.977431 | hs_3 | mult_heuristic |
[
96,
90,
9,
55
] | 52 | [
"96-90=6",
"55-9=46",
"6+46=52"
] | Current State: 52:[96, 90, 9, 55], Operations: []
Exploring Operation: 96-90=6, Resulting Numbers: [9, 55, 6]
Generated Node #2: [9, 55, 6] from Operation: 96-90=6
Current State: 52:[9, 55, 6], Operations: ['96-90=6']
Exploring Operation: 55-9=46, Resulting Numbers: [6, 46]
Generated Node #3: [6, 46] from Operation: 55-9=46
Current State: 52:[6, 46], Operations: ['96-90=6', '55-9=46']
Exploring Operation: 6+46=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[96, 90, 9, 55], Operations: []
Exploring Operation: 96-55=41, Resulting Numbers: [90, 9, 41]
Generated Node #0,0: 52:[90, 9, 41] Operation: 96-55=41
Exploring Operation: 90/9=10, Resulting Numbers: [96, 55, 10]
Generated Node #0,1: 52:[96, 55, 10] Operation: 90/9=10
Exploring Operation: 96-90=6, Resulting Numbers: [9, 55, 6]
Generated Node #0,2: 52:[9, 55, 6] Operation: 96-90=6
Exploring Operation: 90-55=35, Resulting Numbers: [96, 9, 35]
Generated Node #0,3: 52:[96, 9, 35] Operation: 90-55=35
Start Sub Search at level 1: Moving to Node #0,2
Current State: 52:[9, 55, 6], Operations: ['96-90=6']
Exploring Operation: 9-6=3, Resulting Numbers: [55, 3]
Generated Node #0,2,0: 52:[55, 3] Operation: 9-6=3
Exploring Operation: 9*6=54, Resulting Numbers: [55, 54]
Generated Node #0,2,1: 52:[55, 54] Operation: 9*6=54
Exploring Operation: 55-6=49, Resulting Numbers: [9, 49]
Generated Node #0,2,2: 52:[9, 49] Operation: 55-6=49
Exploring Operation: 9+6=15, Resulting Numbers: [55, 15]
Generated Node #0,2,3: 52:[55, 15] Operation: 9+6=15
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 52:[55, 3], Operations: ['96-90=6', '9-6=3']
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[96, 90, 9, 55], Operations: []
Exploring Operation: 96-90=6, Resulting Numbers: [9, 55, 6]
Generated Node #0,2: 52:[9, 55, 6] Operation: 96-90=6
Moving to Node #0,2
Current State: 52:[9, 55, 6], Operations: ['96-90=6']
Exploring Operation: 9-6=3, Resulting Numbers: [55, 3]
Generated Node #0,2,0: 52:[55, 3] Operation: 9-6=3
Moving to Node #0,2,0
Current State: 52:[55, 3], Operations: ['96-90=6', '9-6=3']
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
2,
32,
86,
62
] | 23 | [
"62/2=31",
"86-32=54",
"54-31=23"
] | Current State: 23:[2, 32, 86, 62], Operations: []
Exploring Operation: 62/2=31, Resulting Numbers: [32, 86, 31]
Generated Node #2: [32, 86, 31] from Operation: 62/2=31
Current State: 23:[32, 86, 31], Operations: ['62/2=31']
Exploring Operation: 86-32=54, Resulting Numbers: [31, 54]
Generated Node #3: [31, 54] from Operation: 86-32=54
Current State: 23:[31, 54], Operations: ['62/2=31', '86-32=54']
Exploring Operation: 54-31=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[2, 32, 86, 62], Operations: []
Exploring Operation: 86/2=43, Resulting Numbers: [32, 62, 43]
Generated Node #0,0: 23:[32, 62, 43] Operation: 86/2=43
Exploring Operation: 62/2=31, Resulting Numbers: [32, 86, 31]
Generated Node #0,1: 23:[32, 86, 31] Operation: 62/2=31
Exploring Operation: 86-62=24, Resulting Numbers: [2, 32, 24]
Generated Node #0,2: 23:[2, 32, 24] Operation: 86-62=24
Moving to Node #0,2
Current State: 23:[2, 32, 24], Operations: ['86-62=24']
Exploring Operation: 32-2=30, Resulting Numbers: [24, 30]
Generated Node #0,2,0: 23:[24, 30] Operation: 32-2=30
Exploring Operation: 24-2=22, Resulting Numbers: [32, 22]
Generated Node #0,2,1: 23:[32, 22] Operation: 24-2=22
Exploring Operation: 32/2=16, Resulting Numbers: [24, 16]
Generated Node #0,2,2: 23:[24, 16] Operation: 32/2=16
Moving to Node #0,0
Current State: 23:[32, 62, 43], Operations: ['86/2=43']
Exploring Operation: 43-32=11, Resulting Numbers: [62, 11]
Generated Node #0,0,0: 23:[62, 11] Operation: 43-32=11
Exploring Operation: 62-43=19, Resulting Numbers: [32, 19]
Generated Node #0,0,1: 23:[32, 19] Operation: 62-43=19
Exploring Operation: 62-32=30, Resulting Numbers: [43, 30]
Generated Node #0,0,2: 23:[43, 30] Operation: 62-32=30
Moving to Node #0,1
Current State: 23:[32, 86, 31], Operations: ['62/2=31']
Exploring Operation: 32-31=1, Resulting Numbers: [86, 1]
Generated Node #0,1,0: 23:[86, 1] Operation: 32-31=1
Exploring Operation: 86-32=54, Resulting Numbers: [31, 54]
Generated Node #0,1,1: 23:[31, 54] Operation: 86-32=54
Exploring Operation: 86-31=55, Resulting Numbers: [32, 55]
Generated Node #0,1,2: 23:[32, 55] Operation: 86-31=55
Moving to Node #0,2,0
Current State: 23:[24, 30], Operations: ['86-62=24', '32-2=30']
Exploring Operation: 24+30=54, Resulting Numbers: [54]
54,23 unequal: No Solution
Exploring Operation: 30-24=6, Resulting Numbers: [6]
6,23 unequal: No Solution
Exploring Operation: 24*30=720, Resulting Numbers: [720]
720,23 unequal: No Solution
Moving to Node #0,2,2
Current State: 23:[24, 16], Operations: ['86-62=24', '32/2=16']
Exploring Operation: 24+16=40, Resulting Numbers: [40]
40,23 unequal: No Solution
Exploring Operation: 24-16=8, Resulting Numbers: [8]
8,23 unequal: No Solution
Exploring Operation: 24*16=384, Resulting Numbers: [384]
384,23 unequal: No Solution
Moving to Node #0,2,1
Current State: 23:[32, 22], Operations: ['86-62=24', '24-2=22']
Exploring Operation: 32+22=54, Resulting Numbers: [54]
54,23 unequal: No Solution
Exploring Operation: 32*22=704, Resulting Numbers: [704]
704,23 unequal: No Solution
Exploring Operation: 32-22=10, Resulting Numbers: [10]
10,23 unequal: No Solution
Moving to Node #0,0,1
Current State: 23:[32, 19], Operations: ['86/2=43', '62-43=19']
Exploring Operation: 32+19=51, Resulting Numbers: [51]
51,23 unequal: No Solution
Exploring Operation: 32-19=13, Resulting Numbers: [13]
13,23 unequal: No Solution
Exploring Operation: 32*19=608, Resulting Numbers: [608]
608,23 unequal: No Solution
Moving to Node #0,0,2
Current State: 23:[43, 30], Operations: ['86/2=43', '62-32=30']
Exploring Operation: 43*30=1290, Resulting Numbers: [1290]
1290,23 unequal: No Solution
Exploring Operation: 43+30=73, Resulting Numbers: [73]
73,23 unequal: No Solution
Exploring Operation: 43-30=13, Resulting Numbers: [13]
13,23 unequal: No Solution
Moving to Node #0,1,1
Current State: 23:[31, 54], Operations: ['62/2=31', '86-32=54']
Exploring Operation: 31+54=85, Resulting Numbers: [85]
85,23 unequal: No Solution
Exploring Operation: 54-31=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[2, 32, 86, 62], Operations: []
Exploring Operation: 62/2=31, Resulting Numbers: [32, 86, 31]
Generated Node #0,1: 23:[32, 86, 31] Operation: 62/2=31
Moving to Node #0,1
Current State: 23:[32, 86, 31], Operations: ['62/2=31']
Exploring Operation: 86-32=54, Resulting Numbers: [31, 54]
Generated Node #0,1,1: 23:[31, 54] Operation: 86-32=54
Moving to Node #0,1,1
Current State: 23:[31, 54], Operations: ['62/2=31', '86-32=54']
Exploring Operation: 54-31=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 0.971354 | hs_3 | sum_heuristic |
[
89,
87,
16,
99
] | 67 | [
"89-87=2",
"16*2=32",
"99-32=67"
] | Current State: 67:[89, 87, 16, 99], Operations: []
Exploring Operation: 89-87=2, Resulting Numbers: [16, 99, 2]
Generated Node #2: [16, 99, 2] from Operation: 89-87=2
Current State: 67:[16, 99, 2], Operations: ['89-87=2']
Exploring Operation: 16*2=32, Resulting Numbers: [99, 32]
Generated Node #3: [99, 32] from Operation: 16*2=32
Current State: 67:[99, 32], Operations: ['89-87=2', '16*2=32']
Exploring Operation: 99-32=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[89, 87, 16, 99], Operations: []
Exploring Operation: 89-16=73, Resulting Numbers: [87, 99, 73]
Generated Node #0,0: 67:[87, 99, 73] Operation: 89-16=73
Moving to Node #0,0
Current State: 67:[87, 99, 73], Operations: ['89-16=73']
Exploring Operation: 99-87=12, Resulting Numbers: [73, 12]
Generated Node #0,0,0: 67:[73, 12] Operation: 99-87=12
Moving to Node #0,0,0
Current State: 67:[73, 12], Operations: ['89-16=73', '99-87=12']
Exploring Operation: 73-12=61, Resulting Numbers: [61]
61,67 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
27,
48,
71,
29
] | 47 | [
"29-27=2",
"48/2=24",
"71-24=47"
] | Current State: 47:[27, 48, 71, 29], Operations: []
Exploring Operation: 29-27=2, Resulting Numbers: [48, 71, 2]
Generated Node #2: [48, 71, 2] from Operation: 29-27=2
Current State: 47:[48, 71, 2], Operations: ['29-27=2']
Exploring Operation: 48/2=24, Resulting Numbers: [71, 24]
Generated Node #3: [71, 24] from Operation: 48/2=24
Current State: 47:[71, 24], Operations: ['29-27=2', '48/2=24']
Exploring Operation: 71-24=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[27, 48, 71, 29], Operations: []
Exploring Operation: 71-27=44, Resulting Numbers: [48, 29, 44]
Generated Node #0,0: 47:[48, 29, 44] Operation: 71-27=44
Exploring Operation: 71-29=42, Resulting Numbers: [27, 48, 42]
Generated Node #0,1: 47:[27, 48, 42] Operation: 71-29=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[48, 29, 44], Operations: ['71-27=44']
Exploring Operation: 29+44=73, Resulting Numbers: [48, 73]
Generated Node #0,0,0: 47:[48, 73] Operation: 29+44=73
Exploring Operation: 48-29=19, Resulting Numbers: [44, 19]
Generated Node #0,0,1: 47:[44, 19] Operation: 48-29=19
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[48, 73], Operations: ['71-27=44', '29+44=73']
Exploring Operation: 48+73=121, Resulting Numbers: [121]
121,47 unequal: No Solution
Exploring Operation: 73-48=25, Resulting Numbers: [25]
25,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 47:[44, 19], Operations: ['71-27=44', '48-29=19']
Exploring Operation: 44-19=25, Resulting Numbers: [25]
25,47 unequal: No Solution
Exploring Operation: 44+19=63, Resulting Numbers: [63]
63,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[27, 48, 42], Operations: ['71-29=42']
Exploring Operation: 27+42=69, Resulting Numbers: [48, 69]
Generated Node #0,1,0: 47:[48, 69] Operation: 27+42=69
Exploring Operation: 48-27=21, Resulting Numbers: [42, 21]
Generated Node #0,1,1: 47:[42, 21] Operation: 48-27=21
Moving to Node #0,1,0
Current State: 47:[48, 69], Operations: ['71-29=42', '27+42=69']
Exploring Operation: 69-48=21, Resulting Numbers: [21]
21,47 unequal: No Solution
Exploring Operation: 48+69=117, Resulting Numbers: [117]
117,47 unequal: No Solution
Moving to Node #0,1,1
Current State: 47:[42, 21], Operations: ['71-29=42', '48-27=21']
Exploring Operation: 42+21=63, Resulting Numbers: [63]
63,47 unequal: No Solution
Exploring Operation: 42-21=21, Resulting Numbers: [21]
21,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
27,
3,
37,
35
] | 81 | [
"27/3=9",
"37+35=72",
"9+72=81"
] | Current State: 81:[27, 3, 37, 35], Operations: []
Exploring Operation: 27/3=9, Resulting Numbers: [37, 35, 9]
Generated Node #2: [37, 35, 9] from Operation: 27/3=9
Current State: 81:[37, 35, 9], Operations: ['27/3=9']
Exploring Operation: 37+35=72, Resulting Numbers: [9, 72]
Generated Node #3: [9, 72] from Operation: 37+35=72
Current State: 81:[9, 72], Operations: ['27/3=9', '37+35=72']
Exploring Operation: 9+72=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[27, 3, 37, 35], Operations: []
Exploring Operation: 37-35=2, Resulting Numbers: [27, 3, 2]
Generated Node #0,0: 81:[27, 3, 2] Operation: 37-35=2
Exploring Operation: 37-27=10, Resulting Numbers: [3, 35, 10]
Generated Node #0,1: 81:[3, 35, 10] Operation: 37-27=10
Moving to Node #0,0
Current State: 81:[27, 3, 2], Operations: ['37-35=2']
Exploring Operation: 27*3=81, Resulting Numbers: [2, 81]
Generated Node #0,0,0: 81:[2, 81] Operation: 27*3=81
Exploring Operation: 27/3=9, Resulting Numbers: [2, 9]
Generated Node #0,0,1: 81:[2, 9] Operation: 27/3=9
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[2, 81], Operations: ['37-35=2', '27*3=81']
Exploring Operation: 2+81=83, Resulting Numbers: [83]
83,81 unequal: No Solution
Exploring Operation: 81-2=79, Resulting Numbers: [79]
79,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:[2, 9], Operations: ['37-35=2', '27/3=9']
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,81 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,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:[3, 35, 10], Operations: ['37-27=10']
Exploring Operation: 35-10=25, Resulting Numbers: [3, 25]
Generated Node #0,1,0: 81:[3, 25] Operation: 35-10=25
Exploring Operation: 35-3=32, Resulting Numbers: [10, 32]
Generated Node #0,1,1: 81:[10, 32] Operation: 35-3=32
Moving to Node #0,1,0
Current State: 81:[3, 25], Operations: ['37-27=10', '35-10=25']
Exploring Operation: 3+25=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[10, 32], Operations: ['37-27=10', '35-3=32']
Exploring Operation: 10+32=42, Resulting Numbers: [42]
42,81 unequal: No Solution
Exploring Operation: 32-10=22, Resulting Numbers: [22]
22,81 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
76,
28,
2,
36
] | 54 | [
"76-36=40",
"28/2=14",
"40+14=54"
] | Current State: 54:[76, 28, 2, 36], Operations: []
Exploring Operation: 76-36=40, Resulting Numbers: [28, 2, 40]
Generated Node #2: [28, 2, 40] from Operation: 76-36=40
Current State: 54:[28, 2, 40], Operations: ['76-36=40']
Exploring Operation: 28/2=14, Resulting Numbers: [40, 14]
Generated Node #3: [40, 14] from Operation: 28/2=14
Current State: 54:[40, 14], Operations: ['76-36=40', '28/2=14']
Exploring Operation: 40+14=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[76, 28, 2, 36], Operations: []
Exploring Operation: 76-36=40, Resulting Numbers: [28, 2, 40]
Generated Node #0,0: 54:[28, 2, 40] Operation: 76-36=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[28, 2, 40], Operations: ['76-36=40']
Exploring Operation: 40-28=12, Resulting Numbers: [2, 12]
Generated Node #0,0,0: 54:[2, 12] Operation: 40-28=12
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 54:[2, 12], Operations: ['76-36=40', '40-28=12']
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,54 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 |
[
49,
23,
4,
84
] | 66 | [
"49+23=72",
"72/4=18",
"84-18=66"
] | Current State: 66:[49, 23, 4, 84], Operations: []
Exploring Operation: 49+23=72, Resulting Numbers: [4, 84, 72]
Generated Node #2: [4, 84, 72] from Operation: 49+23=72
Current State: 66:[4, 84, 72], Operations: ['49+23=72']
Exploring Operation: 72/4=18, Resulting Numbers: [84, 18]
Generated Node #3: [84, 18] from Operation: 72/4=18
Current State: 66:[84, 18], Operations: ['49+23=72', '72/4=18']
Exploring Operation: 84-18=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[49, 23, 4, 84], Operations: []
Exploring Operation: 84-49=35, Resulting Numbers: [23, 4, 35]
Generated Node #0,0: 66:[23, 4, 35] Operation: 84-49=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[23, 4, 35], Operations: ['84-49=35']
Exploring Operation: 35-23=12, Resulting Numbers: [4, 12]
Generated Node #0,0,0: 66:[4, 12] Operation: 35-23=12
Moving to Node #0,0,0
Current State: 66:[4, 12], Operations: ['84-49=35', '35-23=12']
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,66 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 |
[
34,
19,
87,
35
] | 69 | [
"34+19=53",
"87+35=122",
"122-53=69"
] | Current State: 69:[34, 19, 87, 35], Operations: []
Exploring Operation: 34+19=53, Resulting Numbers: [87, 35, 53]
Generated Node #2: [87, 35, 53] from Operation: 34+19=53
Current State: 69:[87, 35, 53], Operations: ['34+19=53']
Exploring Operation: 87+35=122, Resulting Numbers: [53, 122]
Generated Node #3: [53, 122] from Operation: 87+35=122
Current State: 69:[53, 122], Operations: ['34+19=53', '87+35=122']
Exploring Operation: 122-53=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[34, 19, 87, 35], Operations: []
Exploring Operation: 35-34=1, Resulting Numbers: [19, 87, 1]
Generated Node #0,0: 69:[19, 87, 1] Operation: 35-34=1
Exploring Operation: 34+35=69, Resulting Numbers: [19, 87, 69]
Generated Node #0,1: 69:[19, 87, 69] Operation: 34+35=69
Moving to Node #0,1
Current State: 69:[19, 87, 69], Operations: ['34+35=69']
Exploring Operation: 87-19=68, Resulting Numbers: [69, 68]
Generated Node #0,1,0: 69:[69, 68] Operation: 87-19=68
Exploring Operation: 87-69=18, Resulting Numbers: [19, 18]
Generated Node #0,1,1: 69:[19, 18] Operation: 87-69=18
Moving to Node #0,0
Current State: 69:[19, 87, 1], Operations: ['35-34=1']
Exploring Operation: 87-19=68, Resulting Numbers: [1, 68]
Generated Node #0,0,0: 69:[1, 68] Operation: 87-19=68
Exploring Operation: 19+1=20, Resulting Numbers: [87, 20]
Generated Node #0,0,1: 69:[87, 20] Operation: 19+1=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 69:[1, 68], Operations: ['35-34=1', '87-19=68']
Exploring Operation: 1*68=68, Resulting Numbers: [68]
68,69 unequal: No Solution
Exploring Operation: 1+68=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[34, 19, 87, 35], Operations: []
Exploring Operation: 35-34=1, Resulting Numbers: [19, 87, 1]
Generated Node #0,0: 69:[19, 87, 1] Operation: 35-34=1
Moving to Node #0,0
Current State: 69:[19, 87, 1], Operations: ['35-34=1']
Exploring Operation: 87-19=68, Resulting Numbers: [1, 68]
Generated Node #0,0,0: 69:[1, 68] Operation: 87-19=68
Moving to Node #0,0,0
Current State: 69:[1, 68], Operations: ['35-34=1', '87-19=68']
Exploring Operation: 1+68=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
87,
37,
62,
22
] | 29 | [
"62-37=25",
"25-22=3",
"87/3=29"
] | Current State: 29:[87, 37, 62, 22], Operations: []
Exploring Operation: 62-37=25, Resulting Numbers: [87, 22, 25]
Generated Node #2: [87, 22, 25] from Operation: 62-37=25
Current State: 29:[87, 22, 25], Operations: ['62-37=25']
Exploring Operation: 25-22=3, Resulting Numbers: [87, 3]
Generated Node #3: [87, 3] from Operation: 25-22=3
Current State: 29:[87, 3], Operations: ['62-37=25', '25-22=3']
Exploring Operation: 87/3=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[87, 37, 62, 22], Operations: []
Exploring Operation: 87-62=25, Resulting Numbers: [37, 22, 25]
Generated Node #0,0: 29:[37, 22, 25] Operation: 87-62=25
Moving to Node #0,0
Current State: 29:[37, 22, 25], Operations: ['87-62=25']
Exploring Operation: 37-22=15, Resulting Numbers: [25, 15]
Generated Node #0,0,0: 29:[25, 15] Operation: 37-22=15
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 29:[25, 15], Operations: ['87-62=25', '37-22=15']
Exploring Operation: 25+15=40, Resulting Numbers: [40]
40,29 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 |
[
13,
10,
69,
17
] | 88 | [
"13+69=82",
"10*17=170",
"170-82=88"
] | Current State: 88:[13, 10, 69, 17], Operations: []
Exploring Operation: 13+69=82, Resulting Numbers: [10, 17, 82]
Generated Node #2: [10, 17, 82] from Operation: 13+69=82
Current State: 88:[10, 17, 82], Operations: ['13+69=82']
Exploring Operation: 10*17=170, Resulting Numbers: [82, 170]
Generated Node #3: [82, 170] from Operation: 10*17=170
Current State: 88:[82, 170], Operations: ['13+69=82', '10*17=170']
Exploring Operation: 170-82=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[13, 10, 69, 17], Operations: []
Exploring Operation: 69-13=56, Resulting Numbers: [10, 17, 56]
Generated Node #0,0: 88:[10, 17, 56] Operation: 69-13=56
Exploring Operation: 13+69=82, Resulting Numbers: [10, 17, 82]
Generated Node #0,1: 88:[10, 17, 82] Operation: 13+69=82
Exploring Operation: 10+69=79, Resulting Numbers: [13, 17, 79]
Generated Node #0,2: 88:[13, 17, 79] Operation: 10+69=79
Exploring Operation: 69+17=86, Resulting Numbers: [13, 10, 86]
Generated Node #0,3: 88:[13, 10, 86] Operation: 69+17=86
Exploring Operation: 69-17=52, Resulting Numbers: [13, 10, 52]
Generated Node #0,4: 88:[13, 10, 52] Operation: 69-17=52
Moving to Node #0,3
Current State: 88:[13, 10, 86], Operations: ['69+17=86']
Exploring Operation: 13+86=99, Resulting Numbers: [10, 99]
Generated Node #0,3,0: 88:[10, 99] Operation: 13+86=99
Exploring Operation: 86-10=76, Resulting Numbers: [13, 76]
Generated Node #0,3,1: 88:[13, 76] Operation: 86-10=76
Exploring Operation: 13-10=3, Resulting Numbers: [86, 3]
Generated Node #0,3,2: 88:[86, 3] Operation: 13-10=3
Exploring Operation: 10+86=96, Resulting Numbers: [13, 96]
Generated Node #0,3,3: 88:[13, 96] Operation: 10+86=96
Exploring Operation: 13+10=23, Resulting Numbers: [86, 23]
Generated Node #0,3,4: 88:[86, 23] Operation: 13+10=23
Moving to Node #0,4
Current State: 88:[13, 10, 52], Operations: ['69-17=52']
Exploring Operation: 52-10=42, Resulting Numbers: [13, 42]
Generated Node #0,4,0: 88:[13, 42] Operation: 52-10=42
Exploring Operation: 52/13=4, Resulting Numbers: [10, 4]
Generated Node #0,4,1: 88:[10, 4] Operation: 52/13=4
Exploring Operation: 52-13=39, Resulting Numbers: [10, 39]
Generated Node #0,4,2: 88:[10, 39] Operation: 52-13=39
Exploring Operation: 13+10=23, Resulting Numbers: [52, 23]
Generated Node #0,4,3: 88:[52, 23] Operation: 13+10=23
Exploring Operation: 13-10=3, Resulting Numbers: [52, 3]
Generated Node #0,4,4: 88:[52, 3] Operation: 13-10=3
Moving to Node #0,1
Current State: 88:[10, 17, 82], Operations: ['13+69=82']
Exploring Operation: 17+82=99, Resulting Numbers: [10, 99]
Generated Node #0,1,0: 88:[10, 99] Operation: 17+82=99
Exploring Operation: 17-10=7, Resulting Numbers: [82, 7]
Generated Node #0,1,1: 88:[82, 7] Operation: 17-10=7
Exploring Operation: 82-10=72, Resulting Numbers: [17, 72]
Generated Node #0,1,2: 88:[17, 72] Operation: 82-10=72
Exploring Operation: 10+82=92, Resulting Numbers: [17, 92]
Generated Node #0,1,3: 88:[17, 92] Operation: 10+82=92
Exploring Operation: 10+17=27, Resulting Numbers: [82, 27]
Generated Node #0,1,4: 88:[82, 27] Operation: 10+17=27
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 88:[82, 7], Operations: ['13+69=82', '17-10=7']
Exploring Operation: 82-7=75, Resulting Numbers: [75]
75,88 unequal: No Solution
Exploring Operation: 82*7=574, Resulting Numbers: [574]
574,88 unequal: No Solution
Exploring Operation: 82+7=89, Resulting Numbers: [89]
89,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 88:[17, 92], Operations: ['13+69=82', '10+82=92']
Exploring Operation: 92-17=75, Resulting Numbers: [75]
75,88 unequal: No Solution
Exploring Operation: 17+92=109, Resulting Numbers: [109]
109,88 unequal: No Solution
Exploring Operation: 17*92=1564, Resulting Numbers: [1564]
1564,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 88:[82, 27], Operations: ['13+69=82', '10+17=27']
Exploring Operation: 82*27=2214, Resulting Numbers: [2214]
2214,88 unequal: No Solution
Exploring Operation: 82+27=109, Resulting Numbers: [109]
109,88 unequal: No Solution
Exploring Operation: 82-27=55, Resulting Numbers: [55]
55,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 88:[10, 99], Operations: ['13+69=82', '17+82=99']
Exploring Operation: 10+99=109, Resulting Numbers: [109]
109,88 unequal: No Solution
Exploring Operation: 99-10=89, Resulting Numbers: [89]
89,88 unequal: No Solution
Exploring Operation: 10*99=990, Resulting Numbers: [990]
990,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 88:[17, 72], Operations: ['13+69=82', '82-10=72']
Exploring Operation: 17+72=89, Resulting Numbers: [89]
89,88 unequal: No Solution
Exploring Operation: 72-17=55, Resulting Numbers: [55]
55,88 unequal: No Solution
Exploring Operation: 17*72=1224, Resulting Numbers: [1224]
1224,88 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: 88:[13, 17, 79], Operations: ['10+69=79']
Exploring Operation: 79-17=62, Resulting Numbers: [13, 62]
Generated Node #0,2,0: 88:[13, 62] Operation: 79-17=62
Exploring Operation: 17+79=96, Resulting Numbers: [13, 96]
Generated Node #0,2,1: 88:[13, 96] Operation: 17+79=96
Exploring Operation: 17-13=4, Resulting Numbers: [79, 4]
Generated Node #0,2,2: 88:[79, 4] Operation: 17-13=4
Exploring Operation: 13+17=30, Resulting Numbers: [79, 30]
Generated Node #0,2,3: 88:[79, 30] Operation: 13+17=30
Exploring Operation: 13+79=92, Resulting Numbers: [17, 92]
Generated Node #0,2,4: 88:[17, 92] Operation: 13+79=92
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 88:[79, 4], Operations: ['10+69=79', '17-13=4']
Exploring Operation: 79-4=75, Resulting Numbers: [75]
75,88 unequal: No Solution
Exploring Operation: 79*4=316, Resulting Numbers: [316]
316,88 unequal: No Solution
Exploring Operation: 79+4=83, Resulting Numbers: [83]
83,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 88:[17, 92], Operations: ['10+69=79', '13+79=92']
Exploring Operation: 92-17=75, Resulting Numbers: [75]
75,88 unequal: No Solution
Exploring Operation: 17*92=1564, Resulting Numbers: [1564]
1564,88 unequal: No Solution
Exploring Operation: 17+92=109, Resulting Numbers: [109]
109,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 88:[13, 96], Operations: ['10+69=79', '17+79=96']
Exploring Operation: 13*96=1248, Resulting Numbers: [1248]
1248,88 unequal: No Solution
Exploring Operation: 96-13=83, Resulting Numbers: [83]
83,88 unequal: No Solution
Exploring Operation: 13+96=109, Resulting Numbers: [109]
109,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 88:[79, 30], Operations: ['10+69=79', '13+17=30']
Exploring Operation: 79+30=109, Resulting Numbers: [109]
109,88 unequal: No Solution
Exploring Operation: 79*30=2370, Resulting Numbers: [2370]
2370,88 unequal: No Solution
Exploring Operation: 79-30=49, Resulting Numbers: [49]
49,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 88:[13, 62], Operations: ['10+69=79', '79-17=62']
Exploring Operation: 62-13=49, Resulting Numbers: [49]
49,88 unequal: No Solution
Exploring Operation: 13*62=806, Resulting Numbers: [806]
806,88 unequal: No Solution
Exploring Operation: 13+62=75, Resulting Numbers: [75]
75,88 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: 88:[10, 17, 56], Operations: ['69-13=56']
Exploring Operation: 10+17=27, Resulting Numbers: [56, 27]
Generated Node #0,0,0: 88:[56, 27] Operation: 10+17=27
Exploring Operation: 56-17=39, Resulting Numbers: [10, 39]
Generated Node #0,0,1: 88:[10, 39] Operation: 56-17=39
Exploring Operation: 17+56=73, Resulting Numbers: [10, 73]
Generated Node #0,0,2: 88:[10, 73] Operation: 17+56=73
Exploring Operation: 56-10=46, Resulting Numbers: [17, 46]
Generated Node #0,0,3: 88:[17, 46] Operation: 56-10=46
Exploring Operation: 17-10=7, Resulting Numbers: [56, 7]
Generated Node #0,0,4: 88:[56, 7] Operation: 17-10=7
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 88:[10, 39], Operations: ['69-13=56', '56-17=39']
Exploring Operation: 10+39=49, Resulting Numbers: [49]
49,88 unequal: No Solution
Exploring Operation: 10*39=390, Resulting Numbers: [390]
390,88 unequal: No Solution
Exploring Operation: 39-10=29, Resulting Numbers: [29]
29,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 88:[17, 46], Operations: ['69-13=56', '56-10=46']
Exploring Operation: 46-17=29, Resulting Numbers: [29]
29,88 unequal: No Solution
Exploring Operation: 17*46=782, Resulting Numbers: [782]
782,88 unequal: No Solution
Exploring Operation: 17+46=63, Resulting Numbers: [63]
63,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 88:[56, 7], Operations: ['69-13=56', '17-10=7']
Exploring Operation: 56+7=63, Resulting Numbers: [63]
63,88 unequal: No Solution
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,88 unequal: No Solution
Exploring Operation: 56*7=392, Resulting Numbers: [392]
392,88 unequal: No Solution
Exploring Operation: 56/7=8, Resulting Numbers: [8]
8,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 88:[10, 73], Operations: ['69-13=56', '17+56=73']
Exploring Operation: 10*73=730, Resulting Numbers: [730]
730,88 unequal: No Solution
Exploring Operation: 73-10=63, Resulting Numbers: [63]
63,88 unequal: No Solution
Exploring Operation: 10+73=83, Resulting Numbers: [83]
83,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 88:[56, 27], Operations: ['69-13=56', '10+17=27']
Exploring Operation: 56+27=83, Resulting Numbers: [83]
83,88 unequal: No Solution
Exploring Operation: 56-27=29, Resulting Numbers: [29]
29,88 unequal: No Solution
Exploring Operation: 56*27=1512, Resulting Numbers: [1512]
1512,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,1
Current State: 88:[10, 4], Operations: ['69-17=52', '52/13=4']
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,88 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,88 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,88 unequal: No Solution
Moving to Node #0,3,2
Current State: 88:[86, 3], Operations: ['69+17=86', '13-10=3']
Exploring Operation: 86-3=83, Resulting Numbers: [83]
83,88 unequal: No Solution
Exploring Operation: 86+3=89, Resulting Numbers: [89]
89,88 unequal: No Solution
Exploring Operation: 86*3=258, Resulting Numbers: [258]
258,88 unequal: No Solution
Moving to Node #0,3,4
Current State: 88:[86, 23], Operations: ['69+17=86', '13+10=23']
Exploring Operation: 86+23=109, Resulting Numbers: [109]
109,88 unequal: No Solution
Exploring Operation: 86*23=1978, Resulting Numbers: [1978]
1978,88 unequal: No Solution
Exploring Operation: 86-23=63, Resulting Numbers: [63]
63,88 unequal: No Solution
Moving to Node #0,4,0
Current State: 88:[13, 42], Operations: ['69-17=52', '52-10=42']
Exploring Operation: 42-13=29, Resulting Numbers: [29]
29,88 unequal: No Solution
Exploring Operation: 13*42=546, Resulting Numbers: [546]
546,88 unequal: No Solution
Exploring Operation: 13+42=55, Resulting Numbers: [55]
55,88 unequal: No Solution
Moving to Node #0,4,2
Current State: 88:[10, 39], Operations: ['69-17=52', '52-13=39']
Exploring Operation: 10*39=390, Resulting Numbers: [390]
390,88 unequal: No Solution
Exploring Operation: 39-10=29, Resulting Numbers: [29]
29,88 unequal: No Solution
Exploring Operation: 10+39=49, Resulting Numbers: [49]
49,88 unequal: No Solution
Moving to Node #0,4,4
Current State: 88:[52, 3], Operations: ['69-17=52', '13-10=3']
Exploring Operation: 52-3=49, Resulting Numbers: [49]
49,88 unequal: No Solution
Exploring Operation: 52+3=55, Resulting Numbers: [55]
55,88 unequal: No Solution
Exploring Operation: 52*3=156, Resulting Numbers: [156]
156,88 unequal: No Solution
Moving to Node #0,4,3
Current State: 88:[52, 23], Operations: ['69-17=52', '13+10=23']
Exploring Operation: 52+23=75, Resulting Numbers: [75]
75,88 unequal: No Solution
Exploring Operation: 52*23=1196, Resulting Numbers: [1196]
1196,88 unequal: No Solution
Exploring Operation: 52-23=29, Resulting Numbers: [29]
29,88 unequal: No Solution
Moving to Node #0,3,3
Current State: 88:[13, 96], Operations: ['69+17=86', '10+86=96']
Exploring Operation: 96-13=83, Resulting Numbers: [83]
83,88 unequal: No Solution
Exploring Operation: 13*96=1248, Resulting Numbers: [1248]
1248,88 unequal: No Solution
Exploring Operation: 13+96=109, Resulting Numbers: [109]
109,88 unequal: No Solution
Moving to Node #0,3,0
Current State: 88:[10, 99], Operations: ['69+17=86', '13+86=99']
Exploring Operation: 99-10=89, Resulting Numbers: [89]
89,88 unequal: No Solution
Exploring Operation: 10*99=990, Resulting Numbers: [990]
990,88 unequal: No Solution
Exploring Operation: 10+99=109, Resulting Numbers: [109]
109,88 unequal: No Solution
Moving to Node #0,3,1
Current State: 88:[13, 76], Operations: ['69+17=86', '86-10=76']
Exploring Operation: 76-13=63, Resulting Numbers: [63]
63,88 unequal: No Solution
Exploring Operation: 13*76=988, Resulting Numbers: [988]
988,88 unequal: No Solution
Exploring Operation: 13+76=89, Resulting Numbers: [89]
89,88 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
78,
73,
74,
29
] | 11 | [
"78-74=4",
"73-29=44",
"44/4=11"
] | Current State: 11:[78, 73, 74, 29], Operations: []
Exploring Operation: 78-74=4, Resulting Numbers: [73, 29, 4]
Generated Node #2: [73, 29, 4] from Operation: 78-74=4
Current State: 11:[73, 29, 4], Operations: ['78-74=4']
Exploring Operation: 73-29=44, Resulting Numbers: [4, 44]
Generated Node #3: [4, 44] from Operation: 73-29=44
Current State: 11:[4, 44], Operations: ['78-74=4', '73-29=44']
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[78, 73, 74, 29], Operations: []
Exploring Operation: 78-74=4, Resulting Numbers: [73, 29, 4]
Generated Node #0,0: 11:[73, 29, 4] Operation: 78-74=4
Exploring Operation: 74-73=1, Resulting Numbers: [78, 29, 1]
Generated Node #0,1: 11:[78, 29, 1] Operation: 74-73=1
Exploring Operation: 78-29=49, Resulting Numbers: [73, 74, 49]
Generated Node #0,2: 11:[73, 74, 49] Operation: 78-29=49
Exploring Operation: 78-73=5, Resulting Numbers: [74, 29, 5]
Generated Node #0,3: 11:[74, 29, 5] Operation: 78-73=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[73, 29, 4], Operations: ['78-74=4']
Exploring Operation: 73-4=69, Resulting Numbers: [29, 69]
Generated Node #0,0,0: 11:[29, 69] Operation: 73-4=69
Exploring Operation: 73+4=77, Resulting Numbers: [29, 77]
Generated Node #0,0,1: 11:[29, 77] Operation: 73+4=77
Exploring Operation: 73-29=44, Resulting Numbers: [4, 44]
Generated Node #0,0,2: 11:[4, 44] Operation: 73-29=44
Exploring Operation: 29-4=25, Resulting Numbers: [73, 25]
Generated Node #0,0,3: 11:[73, 25] Operation: 29-4=25
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 11:[4, 44], Operations: ['78-74=4', '73-29=44']
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[78, 73, 74, 29], Operations: []
Exploring Operation: 78-74=4, Resulting Numbers: [73, 29, 4]
Generated Node #0,0: 11:[73, 29, 4] Operation: 78-74=4
Moving to Node #0,0
Current State: 11:[73, 29, 4], Operations: ['78-74=4']
Exploring Operation: 73-29=44, Resulting Numbers: [4, 44]
Generated Node #0,0,2: 11:[4, 44] Operation: 73-29=44
Moving to Node #0,0,2
Current State: 11:[4, 44], Operations: ['78-74=4', '73-29=44']
Exploring Operation: 44/4=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
78,
76,
91,
5
] | 58 | [
"78+76=154",
"91+5=96",
"154-96=58"
] | Current State: 58:[78, 76, 91, 5], Operations: []
Exploring Operation: 78+76=154, Resulting Numbers: [91, 5, 154]
Generated Node #2: [91, 5, 154] from Operation: 78+76=154
Current State: 58:[91, 5, 154], Operations: ['78+76=154']
Exploring Operation: 91+5=96, Resulting Numbers: [154, 96]
Generated Node #3: [154, 96] from Operation: 91+5=96
Current State: 58:[154, 96], Operations: ['78+76=154', '91+5=96']
Exploring Operation: 154-96=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[78, 76, 91, 5], Operations: []
Exploring Operation: 78-5=73, Resulting Numbers: [76, 91, 73]
Generated Node #0,0: 58:[76, 91, 73] Operation: 78-5=73
Exploring Operation: 78-76=2, Resulting Numbers: [91, 5, 2]
Generated Node #0,1: 58:[91, 5, 2] Operation: 78-76=2
Exploring Operation: 91-76=15, Resulting Numbers: [78, 5, 15]
Generated Node #0,2: 58:[78, 5, 15] Operation: 91-76=15
Exploring Operation: 91-78=13, Resulting Numbers: [76, 5, 13]
Generated Node #0,3: 58:[76, 5, 13] Operation: 91-78=13
Exploring Operation: 76-5=71, Resulting Numbers: [78, 91, 71]
Generated Node #0,4: 58:[78, 91, 71] Operation: 76-5=71
Start Sub Search at level 1: Moving to Node #0,3
Current State: 58:[76, 5, 13], Operations: ['91-78=13']
Exploring Operation: 76-5=71, Resulting Numbers: [13, 71]
Generated Node #0,3,0: 58:[13, 71] Operation: 76-5=71
Exploring Operation: 5+13=18, Resulting Numbers: [76, 18]
Generated Node #0,3,1: 58:[76, 18] Operation: 5+13=18
Exploring Operation: 13-5=8, Resulting Numbers: [76, 8]
Generated Node #0,3,2: 58:[76, 8] Operation: 13-5=8
Exploring Operation: 5*13=65, Resulting Numbers: [76, 65]
Generated Node #0,3,3: 58:[76, 65] Operation: 5*13=65
Exploring Operation: 76-13=63, Resulting Numbers: [5, 63]
Generated Node #0,3,4: 58:[5, 63] Operation: 76-13=63
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 58:[5, 63], Operations: ['91-78=13', '76-13=63']
Exploring Operation: 63-5=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[78, 76, 91, 5], Operations: []
Exploring Operation: 91-78=13, Resulting Numbers: [76, 5, 13]
Generated Node #0,3: 58:[76, 5, 13] Operation: 91-78=13
Moving to Node #0,3
Current State: 58:[76, 5, 13], Operations: ['91-78=13']
Exploring Operation: 76-13=63, Resulting Numbers: [5, 63]
Generated Node #0,3,4: 58:[5, 63] Operation: 76-13=63
Moving to Node #0,3,4
Current State: 58:[5, 63], Operations: ['91-78=13', '76-13=63']
Exploring Operation: 63-5=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
98,
58,
26,
71
] | 57 | [
"98-58=40",
"26+71=97",
"97-40=57"
] | Current State: 57:[98, 58, 26, 71], Operations: []
Exploring Operation: 98-58=40, Resulting Numbers: [26, 71, 40]
Generated Node #2: [26, 71, 40] from Operation: 98-58=40
Current State: 57:[26, 71, 40], Operations: ['98-58=40']
Exploring Operation: 26+71=97, Resulting Numbers: [40, 97]
Generated Node #3: [40, 97] from Operation: 26+71=97
Current State: 57:[40, 97], Operations: ['98-58=40', '26+71=97']
Exploring Operation: 97-40=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[98, 58, 26, 71], Operations: []
Exploring Operation: 98-58=40, Resulting Numbers: [26, 71, 40]
Generated Node #0,0: 57:[26, 71, 40] Operation: 98-58=40
Exploring Operation: 98-26=72, Resulting Numbers: [58, 71, 72]
Generated Node #0,1: 57:[58, 71, 72] Operation: 98-26=72
Exploring Operation: 71-26=45, Resulting Numbers: [98, 58, 45]
Generated Node #0,2: 57:[98, 58, 45] Operation: 71-26=45
Exploring Operation: 98-71=27, Resulting Numbers: [58, 26, 27]
Generated Node #0,3: 57:[58, 26, 27] Operation: 98-71=27
Exploring Operation: 71-58=13, Resulting Numbers: [98, 26, 13]
Generated Node #0,4: 57:[98, 26, 13] Operation: 71-58=13
Start Sub Search at level 1: Moving to Node #0,3
Current State: 57:[58, 26, 27], Operations: ['98-71=27']
Exploring Operation: 26+27=53, Resulting Numbers: [58, 53]
Generated Node #0,3,0: 57:[58, 53] Operation: 26+27=53
Exploring Operation: 58+26=84, Resulting Numbers: [27, 84]
Generated Node #0,3,1: 57:[27, 84] Operation: 58+26=84
Exploring Operation: 58-27=31, Resulting Numbers: [26, 31]
Generated Node #0,3,2: 57:[26, 31] Operation: 58-27=31
Exploring Operation: 58-26=32, Resulting Numbers: [27, 32]
Generated Node #0,3,3: 57:[27, 32] Operation: 58-26=32
Exploring Operation: 27-26=1, Resulting Numbers: [58, 1]
Generated Node #0,3,4: 57:[58, 1] Operation: 27-26=1
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 57:[58, 1], Operations: ['98-71=27', '27-26=1']
Exploring Operation: 58/1=58, Resulting Numbers: [58]
58,57 unequal: No Solution
Exploring Operation: 58+1=59, Resulting Numbers: [59]
59,57 unequal: No Solution
Exploring Operation: 58*1=58, Resulting Numbers: [58]
58,57 unequal: No Solution
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[98, 58, 26, 71], Operations: []
Exploring Operation: 98-71=27, Resulting Numbers: [58, 26, 27]
Generated Node #0,3: 57:[58, 26, 27] Operation: 98-71=27
Moving to Node #0,3
Current State: 57:[58, 26, 27], Operations: ['98-71=27']
Exploring Operation: 27-26=1, Resulting Numbers: [58, 1]
Generated Node #0,3,4: 57:[58, 1] Operation: 27-26=1
Moving to Node #0,3,4
Current State: 57:[58, 1], Operations: ['98-71=27', '27-26=1']
Exploring Operation: 58-1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | sum_heuristic |
[
86,
23,
56,
29
] | 22 | [
"86-23=63",
"56+29=85",
"85-63=22"
] | Current State: 22:[86, 23, 56, 29], Operations: []
Exploring Operation: 86-23=63, Resulting Numbers: [56, 29, 63]
Generated Node #2: [56, 29, 63] from Operation: 86-23=63
Current State: 22:[56, 29, 63], Operations: ['86-23=63']
Exploring Operation: 56+29=85, Resulting Numbers: [63, 85]
Generated Node #3: [63, 85] from Operation: 56+29=85
Current State: 22:[63, 85], Operations: ['86-23=63', '56+29=85']
Exploring Operation: 85-63=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[86, 23, 56, 29], Operations: []
Exploring Operation: 86-56=30, Resulting Numbers: [23, 29, 30]
Generated Node #0,0: 22:[23, 29, 30] Operation: 86-56=30
Moving to Node #0,0
Current State: 22:[23, 29, 30], Operations: ['86-56=30']
Exploring Operation: 30-29=1, Resulting Numbers: [23, 1]
Generated Node #0,0,0: 22:[23, 1] Operation: 30-29=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 22:[23, 1], Operations: ['86-56=30', '30-29=1']
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[86, 23, 56, 29], Operations: []
Exploring Operation: 86-56=30, Resulting Numbers: [23, 29, 30]
Generated Node #0,0: 22:[23, 29, 30] Operation: 86-56=30
Moving to Node #0,0
Current State: 22:[23, 29, 30], Operations: ['86-56=30']
Exploring Operation: 30-29=1, Resulting Numbers: [23, 1]
Generated Node #0,0,0: 22:[23, 1] Operation: 30-29=1
Moving to Node #0,0,0
Current State: 22:[23, 1], Operations: ['86-56=30', '30-29=1']
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
48,
72,
8,
21
] | 60 | [
"48+21=69",
"72/8=9",
"69-9=60"
] | Current State: 60:[48, 72, 8, 21], Operations: []
Exploring Operation: 48+21=69, Resulting Numbers: [72, 8, 69]
Generated Node #2: [72, 8, 69] from Operation: 48+21=69
Current State: 60:[72, 8, 69], Operations: ['48+21=69']
Exploring Operation: 72/8=9, Resulting Numbers: [69, 9]
Generated Node #3: [69, 9] from Operation: 72/8=9
Current State: 60:[69, 9], Operations: ['48+21=69', '72/8=9']
Exploring Operation: 69-9=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[48, 72, 8, 21], Operations: []
Exploring Operation: 48+8=56, Resulting Numbers: [72, 21, 56]
Generated Node #0,0: 60:[72, 21, 56] Operation: 48+8=56
Exploring Operation: 72-48=24, Resulting Numbers: [8, 21, 24]
Generated Node #0,1: 60:[8, 21, 24] Operation: 72-48=24
Exploring Operation: 48/8=6, Resulting Numbers: [72, 21, 6]
Generated Node #0,2: 60:[72, 21, 6] Operation: 48/8=6
Exploring Operation: 72/8=9, Resulting Numbers: [48, 21, 9]
Generated Node #0,3: 60:[48, 21, 9] Operation: 72/8=9
Exploring Operation: 48-21=27, Resulting Numbers: [72, 8, 27]
Generated Node #0,4: 60:[72, 8, 27] Operation: 48-21=27
Moving to Node #0,1
Current State: 60:[8, 21, 24], Operations: ['72-48=24']
Exploring Operation: 24-8=16, Resulting Numbers: [21, 16]
Generated Node #0,1,0: 60:[21, 16] Operation: 24-8=16
Exploring Operation: 8+21=29, Resulting Numbers: [24, 29]
Generated Node #0,1,1: 60:[24, 29] Operation: 8+21=29
Exploring Operation: 24/8=3, Resulting Numbers: [21, 3]
Generated Node #0,1,2: 60:[21, 3] Operation: 24/8=3
Exploring Operation: 24-21=3, Resulting Numbers: [8, 3]
Generated Node #0,1,3: 60:[8, 3] Operation: 24-21=3
Exploring Operation: 8+24=32, Resulting Numbers: [21, 32]
Generated Node #0,1,4: 60:[21, 32] Operation: 8+24=32
Moving to Node #0,2
Current State: 60:[72, 21, 6], Operations: ['48/8=6']
Exploring Operation: 21-6=15, Resulting Numbers: [72, 15]
Generated Node #0,2,0: 60:[72, 15] Operation: 21-6=15
Exploring Operation: 21+6=27, Resulting Numbers: [72, 27]
Generated Node #0,2,1: 60:[72, 27] Operation: 21+6=27
Exploring Operation: 72-6=66, Resulting Numbers: [21, 66]
Generated Node #0,2,2: 60:[21, 66] Operation: 72-6=66
Exploring Operation: 72-21=51, Resulting Numbers: [6, 51]
Generated Node #0,2,3: 60:[6, 51] Operation: 72-21=51
Exploring Operation: 72/6=12, Resulting Numbers: [21, 12]
Generated Node #0,2,4: 60:[21, 12] Operation: 72/6=12
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 60:[21, 12], Operations: ['48/8=6', '72/6=12']
Exploring Operation: 21*12=252, Resulting Numbers: [252]
252,60 unequal: No Solution
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,60 unequal: No Solution
Exploring Operation: 21+12=33, Resulting Numbers: [33]
33,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 60:[21, 66], Operations: ['48/8=6', '72-6=66']
Exploring Operation: 21*66=1386, Resulting Numbers: [1386]
1386,60 unequal: No Solution
Exploring Operation: 66-21=45, Resulting Numbers: [45]
45,60 unequal: No Solution
Exploring Operation: 21+66=87, Resulting Numbers: [87]
87,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 60:[6, 51], Operations: ['48/8=6', '72-21=51']
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,60 unequal: No Solution
Exploring Operation: 6*51=306, Resulting Numbers: [306]
306,60 unequal: No Solution
Exploring Operation: 6+51=57, Resulting Numbers: [57]
57,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 60:[72, 15], Operations: ['48/8=6', '21-6=15']
Exploring Operation: 72+15=87, Resulting Numbers: [87]
87,60 unequal: No Solution
Exploring Operation: 72-15=57, Resulting Numbers: [57]
57,60 unequal: No Solution
Exploring Operation: 72*15=1080, Resulting Numbers: [1080]
1080,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 60:[72, 27], Operations: ['48/8=6', '21+6=27']
Exploring Operation: 72*27=1944, Resulting Numbers: [1944]
1944,60 unequal: No Solution
Exploring Operation: 72+27=99, Resulting Numbers: [99]
99,60 unequal: No Solution
Exploring Operation: 72-27=45, Resulting Numbers: [45]
45,60 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: 60:[48, 21, 9], Operations: ['72/8=9']
Exploring Operation: 48-21=27, Resulting Numbers: [9, 27]
Generated Node #0,3,0: 60:[9, 27] Operation: 48-21=27
Exploring Operation: 48+21=69, Resulting Numbers: [9, 69]
Generated Node #0,3,1: 60:[9, 69] Operation: 48+21=69
Exploring Operation: 21+9=30, Resulting Numbers: [48, 30]
Generated Node #0,3,2: 60:[48, 30] Operation: 21+9=30
Exploring Operation: 48+9=57, Resulting Numbers: [21, 57]
Generated Node #0,3,3: 60:[21, 57] Operation: 48+9=57
Exploring Operation: 48-9=39, Resulting Numbers: [21, 39]
Generated Node #0,3,4: 60:[21, 39] Operation: 48-9=39
Moving to Node #0,0
Current State: 60:[72, 21, 56], Operations: ['48+8=56']
Exploring Operation: 72-21=51, Resulting Numbers: [56, 51]
Generated Node #0,0,0: 60:[56, 51] Operation: 72-21=51
Exploring Operation: 72+21=93, Resulting Numbers: [56, 93]
Generated Node #0,0,1: 60:[56, 93] Operation: 72+21=93
Exploring Operation: 56-21=35, Resulting Numbers: [72, 35]
Generated Node #0,0,2: 60:[72, 35] Operation: 56-21=35
Exploring Operation: 72-56=16, Resulting Numbers: [21, 16]
Generated Node #0,0,3: 60:[21, 16] Operation: 72-56=16
Exploring Operation: 21+56=77, Resulting Numbers: [72, 77]
Generated Node #0,0,4: 60:[72, 77] Operation: 21+56=77
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 60:[21, 16], Operations: ['48+8=56', '72-56=16']
Exploring Operation: 21-16=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 21*16=336, Resulting Numbers: [336]
336,60 unequal: No Solution
Exploring Operation: 21+16=37, Resulting Numbers: [37]
37,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 60:[56, 51], Operations: ['48+8=56', '72-21=51']
Exploring Operation: 56+51=107, Resulting Numbers: [107]
107,60 unequal: No Solution
Exploring Operation: 56*51=2856, Resulting Numbers: [2856]
2856,60 unequal: No Solution
Exploring Operation: 56-51=5, Resulting Numbers: [5]
5,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 60:[72, 35], Operations: ['48+8=56', '56-21=35']
Exploring Operation: 72+35=107, Resulting Numbers: [107]
107,60 unequal: No Solution
Exploring Operation: 72*35=2520, Resulting Numbers: [2520]
2520,60 unequal: No Solution
Exploring Operation: 72-35=37, Resulting Numbers: [37]
37,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 60:[72, 77], Operations: ['48+8=56', '21+56=77']
Exploring Operation: 72+77=149, Resulting Numbers: [149]
149,60 unequal: No Solution
Exploring Operation: 77-72=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 72*77=5544, Resulting Numbers: [5544]
5544,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 60:[56, 93], Operations: ['48+8=56', '72+21=93']
Exploring Operation: 56+93=149, Resulting Numbers: [149]
149,60 unequal: No Solution
Exploring Operation: 93-56=37, Resulting Numbers: [37]
37,60 unequal: No Solution
Exploring Operation: 56*93=5208, Resulting Numbers: [5208]
5208,60 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: 60:[72, 8, 27], Operations: ['48-21=27']
Exploring Operation: 72-27=45, Resulting Numbers: [8, 45]
Generated Node #0,4,0: 60:[8, 45] Operation: 72-27=45
Exploring Operation: 72/8=9, Resulting Numbers: [27, 9]
Generated Node #0,4,1: 60:[27, 9] Operation: 72/8=9
Exploring Operation: 27-8=19, Resulting Numbers: [72, 19]
Generated Node #0,4,2: 60:[72, 19] Operation: 27-8=19
Exploring Operation: 72-8=64, Resulting Numbers: [27, 64]
Generated Node #0,4,3: 60:[27, 64] Operation: 72-8=64
Exploring Operation: 8+27=35, Resulting Numbers: [72, 35]
Generated Node #0,4,4: 60:[72, 35] Operation: 8+27=35
Moving to Node #0,1,2
Current State: 60:[21, 3], Operations: ['72-48=24', '24/8=3']
Exploring Operation: 21+3=24, Resulting Numbers: [24]
24,60 unequal: No Solution
Exploring Operation: 21-3=18, Resulting Numbers: [18]
18,60 unequal: No Solution
Exploring Operation: 21/3=7, Resulting Numbers: [7]
7,60 unequal: No Solution
Exploring Operation: 21*3=63, Resulting Numbers: [63]
63,60 unequal: No Solution
Moving to Node #0,1,3
Current State: 60:[8, 3], Operations: ['72-48=24', '24-21=3']
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,60 unequal: No Solution
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Moving to Node #0,1,0
Current State: 60:[21, 16], Operations: ['72-48=24', '24-8=16']
Exploring Operation: 21-16=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 21+16=37, Resulting Numbers: [37]
37,60 unequal: No Solution
Exploring Operation: 21*16=336, Resulting Numbers: [336]
336,60 unequal: No Solution
Moving to Node #0,1,4
Current State: 60:[21, 32], Operations: ['72-48=24', '8+24=32']
Exploring Operation: 21*32=672, Resulting Numbers: [672]
672,60 unequal: No Solution
Exploring Operation: 32-21=11, Resulting Numbers: [11]
11,60 unequal: No Solution
Exploring Operation: 21+32=53, Resulting Numbers: [53]
53,60 unequal: No Solution
Moving to Node #0,3,3
Current State: 60:[21, 57], Operations: ['72/8=9', '48+9=57']
Exploring Operation: 57-21=36, Resulting Numbers: [36]
36,60 unequal: No Solution
Exploring Operation: 21+57=78, Resulting Numbers: [78]
78,60 unequal: No Solution
Exploring Operation: 21*57=1197, Resulting Numbers: [1197]
1197,60 unequal: No Solution
Moving to Node #0,3,0
Current State: 60:[9, 27], Operations: ['72/8=9', '48-21=27']
Exploring Operation: 9*27=243, Resulting Numbers: [243]
243,60 unequal: No Solution
Exploring Operation: 9+27=36, Resulting Numbers: [36]
36,60 unequal: No Solution
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,60 unequal: No Solution
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,60 unequal: No Solution
Moving to Node #0,4,1
Current State: 60:[27, 9], Operations: ['48-21=27', '72/8=9']
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,60 unequal: No Solution
Exploring Operation: 27+9=36, Resulting Numbers: [36]
36,60 unequal: No Solution
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,60 unequal: No Solution
Exploring Operation: 27*9=243, Resulting Numbers: [243]
243,60 unequal: No Solution
Moving to Node #0,1,1
Current State: 60:[24, 29], Operations: ['72-48=24', '8+21=29']
Exploring Operation: 29-24=5, Resulting Numbers: [5]
5,60 unequal: No Solution
Exploring Operation: 24*29=696, Resulting Numbers: [696]
696,60 unequal: No Solution
Exploring Operation: 24+29=53, Resulting Numbers: [53]
53,60 unequal: No Solution
Moving to Node #0,4,3
Current State: 60:[27, 64], Operations: ['48-21=27', '72-8=64']
Exploring Operation: 27+64=91, Resulting Numbers: [91]
91,60 unequal: No Solution
Exploring Operation: 27*64=1728, Resulting Numbers: [1728]
1728,60 unequal: No Solution
Exploring Operation: 64-27=37, Resulting Numbers: [37]
37,60 unequal: No Solution
Moving to Node #0,3,4
Current State: 60:[21, 39], Operations: ['72/8=9', '48-9=39']
Exploring Operation: 39-21=18, Resulting Numbers: [18]
18,60 unequal: No Solution
Exploring Operation: 21*39=819, Resulting Numbers: [819]
819,60 unequal: No Solution
Exploring Operation: 21+39=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
Moving to Node #0
Current State: 60:[48, 72, 8, 21], Operations: []
Exploring Operation: 72/8=9, Resulting Numbers: [48, 21, 9]
Generated Node #0,3: 60:[48, 21, 9] Operation: 72/8=9
Moving to Node #0,3
Current State: 60:[48, 21, 9], Operations: ['72/8=9']
Exploring Operation: 48-9=39, Resulting Numbers: [21, 39]
Generated Node #0,3,4: 60:[21, 39] Operation: 48-9=39
Moving to Node #0,3,4
Current State: 60:[21, 39], Operations: ['72/8=9', '48-9=39']
Exploring Operation: 21+39=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 0.915799 | hs_5 | mult_heuristic |
[
82,
47,
80,
39
] | 92 | [
"47-39=8",
"80/8=10",
"82+10=92"
] | Current State: 92:[82, 47, 80, 39], Operations: []
Exploring Operation: 47-39=8, Resulting Numbers: [82, 80, 8]
Generated Node #2: [82, 80, 8] from Operation: 47-39=8
Current State: 92:[82, 80, 8], Operations: ['47-39=8']
Exploring Operation: 80/8=10, Resulting Numbers: [82, 10]
Generated Node #3: [82, 10] from Operation: 80/8=10
Current State: 92:[82, 10], Operations: ['47-39=8', '80/8=10']
Exploring Operation: 82+10=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[82, 47, 80, 39], Operations: []
Exploring Operation: 82-39=43, Resulting Numbers: [47, 80, 43]
Generated Node #0,0: 92:[47, 80, 43] Operation: 82-39=43
Exploring Operation: 82-80=2, Resulting Numbers: [47, 39, 2]
Generated Node #0,1: 92:[47, 39, 2] Operation: 82-80=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[47, 39, 2], Operations: ['82-80=2']
Exploring Operation: 47-39=8, Resulting Numbers: [2, 8]
Generated Node #0,1,0: 92:[2, 8] Operation: 47-39=8
Exploring Operation: 47+39=86, Resulting Numbers: [2, 86]
Generated Node #0,1,1: 92:[2, 86] Operation: 47+39=86
Moving to Node #0,1,0
Current State: 92:[2, 8], Operations: ['82-80=2', '47-39=8']
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,92 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,92 unequal: No Solution
Moving to Node #0,1,1
Current State: 92:[2, 86], Operations: ['82-80=2', '47+39=86']
Exploring Operation: 2+86=88, Resulting Numbers: [88]
88,92 unequal: No Solution
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[47, 80, 43], Operations: ['82-39=43']
Exploring Operation: 80-43=37, Resulting Numbers: [47, 37]
Generated Node #0,0,0: 92:[47, 37] Operation: 80-43=37
Exploring Operation: 47-43=4, Resulting Numbers: [80, 4]
Generated Node #0,0,1: 92:[80, 4] Operation: 47-43=4
Moving to Node #0,0,0
Current State: 92:[47, 37], Operations: ['82-39=43', '80-43=37']
Exploring Operation: 47-37=10, Resulting Numbers: [10]
10,92 unequal: No Solution
Exploring Operation: 47+37=84, Resulting Numbers: [84]
84,92 unequal: No Solution
Moving to Node #0,0,1
Current State: 92:[80, 4], Operations: ['82-39=43', '47-43=4']
Exploring Operation: 80+4=84, Resulting Numbers: [84]
84,92 unequal: No Solution
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
84,
63,
63,
59
] | 56 | [
"84-63=21",
"63/21=3",
"59-3=56"
] | Current State: 56:[84, 63, 63, 59], Operations: []
Exploring Operation: 84-63=21, Resulting Numbers: [59, 21]
Generated Node #2: [59, 21] from Operation: 84-63=21
Current State: 56:[59, 21], Operations: ['84-63=21']
Exploring Operation: 63/21=3, Resulting Numbers: [59, 3]
Generated Node #3: [59, 3] from Operation: 63/21=3
Current State: 56:[59, 3], Operations: ['84-63=21', '63/21=3']
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[84, 63, 63, 59], Operations: []
Exploring Operation: 84-63=21, Resulting Numbers: [63, 59, 21]
Generated Node #0,0: 56:[63, 59, 21] Operation: 84-63=21
Exploring Operation: 84-59=25, Resulting Numbers: [63, 63, 25]
Generated Node #0,1: 56:[63, 63, 25] Operation: 84-59=25
Exploring Operation: 63-63=0, Resulting Numbers: [84, 59, 0]
Generated Node #0,2: 56:[84, 59, 0] Operation: 63-63=0
Exploring Operation: 84-63=21, Resulting Numbers: [63, 59, 21]
Generated Node #0,3: 56:[63, 59, 21] Operation: 84-63=21
Exploring Operation: 63/63=1, Resulting Numbers: [84, 59, 1]
Generated Node #0,4: 56:[84, 59, 1] Operation: 63/63=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[63, 59, 21], Operations: ['84-63=21']
Exploring Operation: 63-59=4, Resulting Numbers: [21, 4]
Generated Node #0,0,0: 56:[21, 4] Operation: 63-59=4
Exploring Operation: 63/21=3, Resulting Numbers: [59, 3]
Generated Node #0,0,1: 56:[59, 3] Operation: 63/21=3
Exploring Operation: 63-21=42, Resulting Numbers: [59, 42]
Generated Node #0,0,2: 56:[59, 42] Operation: 63-21=42
Exploring Operation: 59-21=38, Resulting Numbers: [63, 38]
Generated Node #0,0,3: 56:[63, 38] Operation: 59-21=38
Exploring Operation: 63+21=84, Resulting Numbers: [59, 84]
Generated Node #0,0,4: 56:[59, 84] Operation: 63+21=84
Moving to Node #0,0,1
Current State: 56:[59, 3], Operations: ['84-63=21', '63/21=3']
Exploring Operation: 59+3=62, Resulting Numbers: [62]
62,56 unequal: No Solution
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[84, 63, 63, 59], Operations: []
Exploring Operation: 84-63=21, Resulting Numbers: [63, 59, 21]
Generated Node #0,0: 56:[63, 59, 21] Operation: 84-63=21
Moving to Node #0,0
Current State: 56:[63, 59, 21], Operations: ['84-63=21']
Exploring Operation: 63/21=3, Resulting Numbers: [59, 3]
Generated Node #0,0,1: 56:[59, 3] Operation: 63/21=3
Moving to Node #0,0,1
Current State: 56:[59, 3], Operations: ['84-63=21', '63/21=3']
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | sum_heuristic |
[
43,
2,
4,
91
] | 50 | [
"43+2=45",
"4+91=95",
"95-45=50"
] | Current State: 50:[43, 2, 4, 91], Operations: []
Exploring Operation: 43+2=45, Resulting Numbers: [4, 91, 45]
Generated Node #2: [4, 91, 45] from Operation: 43+2=45
Current State: 50:[4, 91, 45], Operations: ['43+2=45']
Exploring Operation: 4+91=95, Resulting Numbers: [45, 95]
Generated Node #3: [45, 95] from Operation: 4+91=95
Current State: 50:[45, 95], Operations: ['43+2=45', '4+91=95']
Exploring Operation: 95-45=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[43, 2, 4, 91], Operations: []
Exploring Operation: 43+4=47, Resulting Numbers: [2, 91, 47]
Generated Node #0,0: 50:[2, 91, 47] Operation: 43+4=47
Exploring Operation: 91-43=48, Resulting Numbers: [2, 4, 48]
Generated Node #0,1: 50:[2, 4, 48] Operation: 91-43=48
Moving to Node #0,1
Current State: 50:[2, 4, 48], Operations: ['91-43=48']
Exploring Operation: 4-2=2, Resulting Numbers: [48, 2]
Generated Node #0,1,0: 50:[48, 2] Operation: 4-2=2
Exploring Operation: 2+48=50, Resulting Numbers: [4, 50]
Generated Node #0,1,1: 50:[4, 50] Operation: 2+48=50
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 50:[4, 50], Operations: ['91-43=48', '2+48=50']
Exploring Operation: 4+50=54, Resulting Numbers: [54]
54,50 unequal: No Solution
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 50:[48, 2], Operations: ['91-43=48', '4-2=2']
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,50 unequal: No Solution
Exploring Operation: 48+2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[43, 2, 4, 91], Operations: []
Exploring Operation: 91-43=48, Resulting Numbers: [2, 4, 48]
Generated Node #0,1: 50:[2, 4, 48] Operation: 91-43=48
Moving to Node #0,1
Current State: 50:[2, 4, 48], Operations: ['91-43=48']
Exploring Operation: 4-2=2, Resulting Numbers: [48, 2]
Generated Node #0,1,0: 50:[48, 2] Operation: 4-2=2
Moving to Node #0,1,0
Current State: 50:[48, 2], Operations: ['91-43=48', '4-2=2']
Exploring Operation: 48+2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
38,
47,
4,
92
] | 28 | [
"38+47=85",
"92-85=7",
"4*7=28"
] | Current State: 28:[38, 47, 4, 92], Operations: []
Exploring Operation: 38+47=85, Resulting Numbers: [4, 92, 85]
Generated Node #2: [4, 92, 85] from Operation: 38+47=85
Current State: 28:[4, 92, 85], Operations: ['38+47=85']
Exploring Operation: 92-85=7, Resulting Numbers: [4, 7]
Generated Node #3: [4, 7] from Operation: 92-85=7
Current State: 28:[4, 7], Operations: ['38+47=85', '92-85=7']
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[38, 47, 4, 92], Operations: []
Exploring Operation: 92/4=23, Resulting Numbers: [38, 47, 23]
Generated Node #0,0: 28:[38, 47, 23] Operation: 92/4=23
Exploring Operation: 47-38=9, Resulting Numbers: [4, 92, 9]
Generated Node #0,1: 28:[4, 92, 9] Operation: 47-38=9
Exploring Operation: 92-38=54, Resulting Numbers: [47, 4, 54]
Generated Node #0,2: 28:[47, 4, 54] Operation: 92-38=54
Exploring Operation: 92-47=45, Resulting Numbers: [38, 4, 45]
Generated Node #0,3: 28:[38, 4, 45] Operation: 92-47=45
Start Sub Search at level 1: Moving to Node #0,3
Current State: 28:[38, 4, 45], Operations: ['92-47=45']
Exploring Operation: 45-38=7, Resulting Numbers: [4, 7]
Generated Node #0,3,0: 28:[4, 7] Operation: 45-38=7
Exploring Operation: 45-4=41, Resulting Numbers: [38, 41]
Generated Node #0,3,1: 28:[38, 41] Operation: 45-4=41
Exploring Operation: 38-4=34, Resulting Numbers: [45, 34]
Generated Node #0,3,2: 28:[45, 34] Operation: 38-4=34
Exploring Operation: 38+4=42, Resulting Numbers: [45, 42]
Generated Node #0,3,3: 28:[45, 42] Operation: 38+4=42
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 28:[4, 7], Operations: ['92-47=45', '45-38=7']
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,28 unequal: No Solution
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[38, 47, 4, 92], Operations: []
Exploring Operation: 92-47=45, Resulting Numbers: [38, 4, 45]
Generated Node #0,3: 28:[38, 4, 45] Operation: 92-47=45
Moving to Node #0,3
Current State: 28:[38, 4, 45], Operations: ['92-47=45']
Exploring Operation: 45-38=7, Resulting Numbers: [4, 7]
Generated Node #0,3,0: 28:[4, 7] Operation: 45-38=7
Moving to Node #0,3,0
Current State: 28:[4, 7], Operations: ['92-47=45', '45-38=7']
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
95,
43,
55,
46
] | 49 | [
"95-43=52",
"55+46=101",
"101-52=49"
] | Current State: 49:[95, 43, 55, 46], Operations: []
Exploring Operation: 95-43=52, Resulting Numbers: [55, 46, 52]
Generated Node #2: [55, 46, 52] from Operation: 95-43=52
Current State: 49:[55, 46, 52], Operations: ['95-43=52']
Exploring Operation: 55+46=101, Resulting Numbers: [52, 101]
Generated Node #3: [52, 101] from Operation: 55+46=101
Current State: 49:[52, 101], Operations: ['95-43=52', '55+46=101']
Exploring Operation: 101-52=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[95, 43, 55, 46], Operations: []
Exploring Operation: 55-43=12, Resulting Numbers: [95, 46, 12]
Generated Node #0,0: 49:[95, 46, 12] Operation: 55-43=12
Exploring Operation: 95-46=49, Resulting Numbers: [43, 55, 49]
Generated Node #0,1: 49:[43, 55, 49] Operation: 95-46=49
Exploring Operation: 95-43=52, Resulting Numbers: [55, 46, 52]
Generated Node #0,2: 49:[55, 46, 52] Operation: 95-43=52
Exploring Operation: 55-46=9, Resulting Numbers: [95, 43, 9]
Generated Node #0,3: 49:[95, 43, 9] Operation: 55-46=9
Exploring Operation: 95-55=40, Resulting Numbers: [43, 46, 40]
Generated Node #0,4: 49:[43, 46, 40] Operation: 95-55=40
Start Sub Search at level 1: Moving to Node #0,1
Current State: 49:[43, 55, 49], Operations: ['95-46=49']
Exploring Operation: 43+55=98, Resulting Numbers: [49, 98]
Generated Node #0,1,0: 49:[49, 98] Operation: 43+55=98
Exploring Operation: 49-43=6, Resulting Numbers: [55, 6]
Generated Node #0,1,1: 49:[55, 6] Operation: 49-43=6
Exploring Operation: 55-43=12, Resulting Numbers: [49, 12]
Generated Node #0,1,2: 49:[49, 12] Operation: 55-43=12
Exploring Operation: 55-49=6, Resulting Numbers: [43, 6]
Generated Node #0,1,3: 49:[43, 6] Operation: 55-49=6
Exploring Operation: 43+49=92, Resulting Numbers: [55, 92]
Generated Node #0,1,4: 49:[55, 92] Operation: 43+49=92
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 49:[49, 12], Operations: ['95-46=49', '55-43=12']
Exploring Operation: 49+12=61, Resulting Numbers: [61]
61,49 unequal: No Solution
Exploring Operation: 49-12=37, Resulting Numbers: [37]
37,49 unequal: No Solution
Exploring Operation: 49*12=588, Resulting Numbers: [588]
588,49 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 49:[55, 6], Operations: ['95-46=49', '49-43=6']
Exploring Operation: 55+6=61, Resulting Numbers: [61]
61,49 unequal: No Solution
Exploring Operation: 55*6=330, Resulting Numbers: [330]
330,49 unequal: No Solution
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[95, 43, 55, 46], Operations: []
Exploring Operation: 95-46=49, Resulting Numbers: [43, 55, 49]
Generated Node #0,1: 49:[43, 55, 49] Operation: 95-46=49
Moving to Node #0,1
Current State: 49:[43, 55, 49], Operations: ['95-46=49']
Exploring Operation: 49-43=6, Resulting Numbers: [55, 6]
Generated Node #0,1,1: 49:[55, 6] Operation: 49-43=6
Moving to Node #0,1,1
Current State: 49:[55, 6], Operations: ['95-46=49', '49-43=6']
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.982639 | hs_5 | sum_heuristic |
[
65,
72,
8,
52
] | 52 | [
"72-65=7",
"8-7=1",
"52*1=52"
] | Current State: 52:[65, 72, 8, 52], Operations: []
Exploring Operation: 72-65=7, Resulting Numbers: [8, 52, 7]
Generated Node #2: [8, 52, 7] from Operation: 72-65=7
Current State: 52:[8, 52, 7], Operations: ['72-65=7']
Exploring Operation: 8-7=1, Resulting Numbers: [52, 1]
Generated Node #3: [52, 1] from Operation: 8-7=1
Current State: 52:[52, 1], Operations: ['72-65=7', '8-7=1']
Exploring Operation: 52*1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[65, 72, 8, 52], Operations: []
Exploring Operation: 72-52=20, Resulting Numbers: [65, 8, 20]
Generated Node #0,0: 52:[65, 8, 20] Operation: 72-52=20
Exploring Operation: 65-52=13, Resulting Numbers: [72, 8, 13]
Generated Node #0,1: 52:[72, 8, 13] Operation: 65-52=13
Exploring Operation: 72-65=7, Resulting Numbers: [8, 52, 7]
Generated Node #0,2: 52:[8, 52, 7] Operation: 72-65=7
Exploring Operation: 65-8=57, Resulting Numbers: [72, 52, 57]
Generated Node #0,3: 52:[72, 52, 57] Operation: 65-8=57
Exploring Operation: 72/8=9, Resulting Numbers: [65, 52, 9]
Generated Node #0,4: 52:[65, 52, 9] Operation: 72/8=9
Moving to Node #0,2
Current State: 52:[8, 52, 7], Operations: ['72-65=7']
Exploring Operation: 8*7=56, Resulting Numbers: [52, 56]
Generated Node #0,2,0: 52:[52, 56] Operation: 8*7=56
Exploring Operation: 8+52=60, Resulting Numbers: [7, 60]
Generated Node #0,2,1: 52:[7, 60] Operation: 8+52=60
Exploring Operation: 52-8=44, Resulting Numbers: [7, 44]
Generated Node #0,2,2: 52:[7, 44] Operation: 52-8=44
Exploring Operation: 8+7=15, Resulting Numbers: [52, 15]
Generated Node #0,2,3: 52:[52, 15] Operation: 8+7=15
Exploring Operation: 8-7=1, Resulting Numbers: [52, 1]
Generated Node #0,2,4: 52:[52, 1] Operation: 8-7=1
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 52:[52, 1], Operations: ['72-65=7', '8-7=1']
Exploring Operation: 52-1=51, Resulting Numbers: [51]
51,52 unequal: No Solution
Exploring Operation: 52/1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[65, 72, 8, 52], Operations: []
Exploring Operation: 72-65=7, Resulting Numbers: [8, 52, 7]
Generated Node #0,2: 52:[8, 52, 7] Operation: 72-65=7
Moving to Node #0,2
Current State: 52:[8, 52, 7], Operations: ['72-65=7']
Exploring Operation: 8-7=1, Resulting Numbers: [52, 1]
Generated Node #0,2,4: 52:[52, 1] Operation: 8-7=1
Moving to Node #0,2,4
Current State: 52:[52, 1], Operations: ['72-65=7', '8-7=1']
Exploring Operation: 52/1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
72,
46,
27,
38
] | 53 | [
"72+46=118",
"27+38=65",
"118-65=53"
] | Current State: 53:[72, 46, 27, 38], Operations: []
Exploring Operation: 72+46=118, Resulting Numbers: [27, 38, 118]
Generated Node #2: [27, 38, 118] from Operation: 72+46=118
Current State: 53:[27, 38, 118], Operations: ['72+46=118']
Exploring Operation: 27+38=65, Resulting Numbers: [118, 65]
Generated Node #3: [118, 65] from Operation: 27+38=65
Current State: 53:[118, 65], Operations: ['72+46=118', '27+38=65']
Exploring Operation: 118-65=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[72, 46, 27, 38], Operations: []
Exploring Operation: 72-27=45, Resulting Numbers: [46, 38, 45]
Generated Node #0,0: 53:[46, 38, 45] Operation: 72-27=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[46, 38, 45], Operations: ['72-27=45']
Exploring Operation: 38+45=83, Resulting Numbers: [46, 83]
Generated Node #0,0,0: 53:[46, 83] Operation: 38+45=83
Moving to Node #0,0,0
Current State: 53:[46, 83], Operations: ['72-27=45', '38+45=83']
Exploring Operation: 83-46=37, Resulting Numbers: [37]
37,53 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 |
[
83,
7,
2,
4
] | 22 | [
"83+7=90",
"90-2=88",
"88/4=22"
] | Current State: 22:[83, 7, 2, 4], Operations: []
Exploring Operation: 83+7=90, Resulting Numbers: [2, 4, 90]
Generated Node #2: [2, 4, 90] from Operation: 83+7=90
Current State: 22:[2, 4, 90], Operations: ['83+7=90']
Exploring Operation: 90-2=88, Resulting Numbers: [4, 88]
Generated Node #3: [4, 88] from Operation: 90-2=88
Current State: 22:[4, 88], Operations: ['83+7=90', '90-2=88']
Exploring Operation: 88/4=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[83, 7, 2, 4], Operations: []
Exploring Operation: 7-4=3, Resulting Numbers: [83, 2, 3]
Generated Node #0,0: 22:[83, 2, 3] Operation: 7-4=3
Exploring Operation: 83-7=76, Resulting Numbers: [2, 4, 76]
Generated Node #0,1: 22:[2, 4, 76] Operation: 83-7=76
Exploring Operation: 83-4=79, Resulting Numbers: [7, 2, 79]
Generated Node #0,2: 22:[7, 2, 79] Operation: 83-4=79
Exploring Operation: 7+4=11, Resulting Numbers: [83, 2, 11]
Generated Node #0,3: 22:[83, 2, 11] Operation: 7+4=11
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[2, 4, 76], Operations: ['83-7=76']
Exploring Operation: 76/2=38, Resulting Numbers: [4, 38]
Generated Node #0,1,0: 22:[4, 38] Operation: 76/2=38
Exploring Operation: 4-2=2, Resulting Numbers: [76, 2]
Generated Node #0,1,1: 22:[76, 2] Operation: 4-2=2
Exploring Operation: 76-4=72, Resulting Numbers: [2, 72]
Generated Node #0,1,2: 22:[2, 72] Operation: 76-4=72
Exploring Operation: 76/4=19, Resulting Numbers: [2, 19]
Generated Node #0,1,3: 22:[2, 19] Operation: 76/4=19
Moving to Node #0,1,3
Current State: 22:[2, 19], Operations: ['83-7=76', '76/4=19']
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,22 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,22 unequal: No Solution
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,22 unequal: No Solution
Moving to Node #0,1,0
Current State: 22:[4, 38], Operations: ['83-7=76', '76/2=38']
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,22 unequal: No Solution
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,22 unequal: No Solution
Exploring Operation: 4*38=152, Resulting Numbers: [152]
152,22 unequal: No Solution
Moving to Node #0,1,2
Current State: 22:[2, 72], Operations: ['83-7=76', '76-4=72']
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,22 unequal: No Solution
Exploring Operation: 2+72=74, Resulting Numbers: [74]
74,22 unequal: No Solution
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,22 unequal: No Solution
Exploring Operation: 2*72=144, Resulting Numbers: [144]
144,22 unequal: No Solution
Moving to Node #0,1,1
Current State: 22:[76, 2], Operations: ['83-7=76', '4-2=2']
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,22 unequal: No Solution
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,22 unequal: No Solution
Exploring Operation: 76+2=78, Resulting Numbers: [78]
78,22 unequal: No Solution
Exploring Operation: 76*2=152, Resulting Numbers: [152]
152,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 22:[7, 2, 79], Operations: ['83-4=79']
Exploring Operation: 79-7=72, Resulting Numbers: [2, 72]
Generated Node #0,2,0: 22:[2, 72] Operation: 79-7=72
Exploring Operation: 79-2=77, Resulting Numbers: [7, 77]
Generated Node #0,2,1: 22:[7, 77] Operation: 79-2=77
Exploring Operation: 7+2=9, Resulting Numbers: [79, 9]
Generated Node #0,2,2: 22:[79, 9] Operation: 7+2=9
Exploring Operation: 7*2=14, Resulting Numbers: [79, 14]
Generated Node #0,2,3: 22:[79, 14] Operation: 7*2=14
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 22:[2, 72], Operations: ['83-4=79', '79-7=72']
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,22 unequal: No Solution
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,22 unequal: No Solution
Exploring Operation: 2*72=144, Resulting Numbers: [144]
144,22 unequal: No Solution
Exploring Operation: 2+72=74, Resulting Numbers: [74]
74,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 22:[7, 77], Operations: ['83-4=79', '79-2=77']
Exploring Operation: 7*77=539, Resulting Numbers: [539]
539,22 unequal: No Solution
Exploring Operation: 7+77=84, Resulting Numbers: [84]
84,22 unequal: No Solution
Exploring Operation: 77-7=70, Resulting Numbers: [70]
70,22 unequal: No Solution
Exploring Operation: 77/7=11, Resulting Numbers: [11]
11,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 22:[79, 9], Operations: ['83-4=79', '7+2=9']
Exploring Operation: 79-9=70, Resulting Numbers: [70]
70,22 unequal: No Solution
Exploring Operation: 79*9=711, Resulting Numbers: [711]
711,22 unequal: No Solution
Exploring Operation: 79+9=88, Resulting Numbers: [88]
88,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 22:[79, 14], Operations: ['83-4=79', '7*2=14']
Exploring Operation: 79+14=93, Resulting Numbers: [93]
93,22 unequal: No Solution
Exploring Operation: 79*14=1106, Resulting Numbers: [1106]
1106,22 unequal: No Solution
Exploring Operation: 79-14=65, Resulting Numbers: [65]
65,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 22:[83, 2, 11], Operations: ['7+4=11']
Exploring Operation: 2*11=22, Resulting Numbers: [83, 22]
Generated Node #0,3,0: 22:[83, 22] Operation: 2*11=22
Exploring Operation: 83-2=81, Resulting Numbers: [11, 81]
Generated Node #0,3,1: 22:[11, 81] Operation: 83-2=81
Exploring Operation: 83-11=72, Resulting Numbers: [2, 72]
Generated Node #0,3,2: 22:[2, 72] Operation: 83-11=72
Exploring Operation: 83+2=85, Resulting Numbers: [11, 85]
Generated Node #0,3,3: 22:[11, 85] Operation: 83+2=85
Moving to Node #0,3,2
Current State: 22:[2, 72], Operations: ['7+4=11', '83-11=72']
Exploring Operation: 2+72=74, Resulting Numbers: [74]
74,22 unequal: No Solution
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,22 unequal: No Solution
Exploring Operation: 2*72=144, Resulting Numbers: [144]
144,22 unequal: No Solution
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,22 unequal: No Solution
Moving to Node #0,3,1
Current State: 22:[11, 81], Operations: ['7+4=11', '83-2=81']
Exploring Operation: 11+81=92, Resulting Numbers: [92]
92,22 unequal: No Solution
Exploring Operation: 11*81=891, Resulting Numbers: [891]
891,22 unequal: No Solution
Exploring Operation: 81-11=70, Resulting Numbers: [70]
70,22 unequal: No Solution
Moving to Node #0,3,0
Current State: 22:[83, 22], Operations: ['7+4=11', '2*11=22']
Exploring Operation: 83-22=61, Resulting Numbers: [61]
61,22 unequal: No Solution
Exploring Operation: 83*22=1826, Resulting Numbers: [1826]
1826,22 unequal: No Solution
Exploring Operation: 83+22=105, Resulting Numbers: [105]
105,22 unequal: No Solution
Moving to Node #0,3,3
Current State: 22:[11, 85], Operations: ['7+4=11', '83+2=85']
Exploring Operation: 11+85=96, Resulting Numbers: [96]
96,22 unequal: No Solution
Exploring Operation: 11*85=935, Resulting Numbers: [935]
935,22 unequal: No Solution
Exploring Operation: 85-11=74, Resulting Numbers: [74]
74,22 unequal: No Solution
No 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: 22:[83, 2, 3], Operations: ['7-4=3']
Exploring Operation: 3-2=1, Resulting Numbers: [83, 1]
Generated Node #0,0,0: 22:[83, 1] Operation: 3-2=1
Exploring Operation: 83-3=80, Resulting Numbers: [2, 80]
Generated Node #0,0,1: 22:[2, 80] Operation: 83-3=80
Exploring Operation: 83+2=85, Resulting Numbers: [3, 85]
Generated Node #0,0,2: 22:[3, 85] Operation: 83+2=85
Exploring Operation: 83-2=81, Resulting Numbers: [3, 81]
Generated Node #0,0,3: 22:[3, 81] Operation: 83-2=81
Moving to Node #0,0,1
Current State: 22:[2, 80], Operations: ['7-4=3', '83-3=80']
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,22 unequal: No Solution
Exploring Operation: 2+80=82, Resulting Numbers: [82]
82,22 unequal: No Solution
Exploring Operation: 80/2=40, Resulting Numbers: [40]
40,22 unequal: No Solution
Exploring Operation: 2*80=160, Resulting Numbers: [160]
160,22 unequal: No Solution
Moving to Node #0,0,3
Current State: 22:[3, 81], Operations: ['7-4=3', '83-2=81']
Exploring Operation: 81-3=78, Resulting Numbers: [78]
78,22 unequal: No Solution
Exploring Operation: 3+81=84, Resulting Numbers: [84]
84,22 unequal: No Solution
Exploring Operation: 81/3=27, Resulting Numbers: [27]
27,22 unequal: No Solution
Exploring Operation: 3*81=243, Resulting Numbers: [243]
243,22 unequal: No Solution
Moving to Node #0,0,0
Current State: 22:[83, 1], Operations: ['7-4=3', '3-2=1']
Exploring Operation: 83+1=84, Resulting Numbers: [84]
84,22 unequal: No Solution
Exploring Operation: 83-1=82, Resulting Numbers: [82]
82,22 unequal: No Solution
Exploring Operation: 83/1=83, Resulting Numbers: [83]
83,22 unequal: No Solution
Exploring Operation: 83*1=83, Resulting Numbers: [83]
83,22 unequal: No Solution
Moving to Node #0,0,2
Current State: 22:[3, 85], Operations: ['7-4=3', '83+2=85']
Exploring Operation: 3+85=88, Resulting Numbers: [88]
88,22 unequal: No Solution
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,22 unequal: No Solution
Exploring Operation: 3*85=255, Resulting Numbers: [255]
255,22 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 |
[
3,
17,
53,
11
] | 84 | [
"3+17=20",
"53+11=64",
"20+64=84"
] | Current State: 84:[3, 17, 53, 11], Operations: []
Exploring Operation: 3+17=20, Resulting Numbers: [53, 11, 20]
Generated Node #2: [53, 11, 20] from Operation: 3+17=20
Current State: 84:[53, 11, 20], Operations: ['3+17=20']
Exploring Operation: 53+11=64, Resulting Numbers: [20, 64]
Generated Node #3: [20, 64] from Operation: 53+11=64
Current State: 84:[20, 64], Operations: ['3+17=20', '53+11=64']
Exploring Operation: 20+64=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[3, 17, 53, 11], Operations: []
Exploring Operation: 53-11=42, Resulting Numbers: [3, 17, 42]
Generated Node #0,0: 84:[3, 17, 42] Operation: 53-11=42
Exploring Operation: 53-17=36, Resulting Numbers: [3, 11, 36]
Generated Node #0,1: 84:[3, 11, 36] Operation: 53-17=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[3, 17, 42], Operations: ['53-11=42']
Exploring Operation: 3+17=20, Resulting Numbers: [42, 20]
Generated Node #0,0,0: 84:[42, 20] Operation: 3+17=20
Exploring Operation: 17-3=14, Resulting Numbers: [42, 14]
Generated Node #0,0,1: 84:[42, 14] Operation: 17-3=14
Moving to Node #0,0,1
Current State: 84:[42, 14], Operations: ['53-11=42', '17-3=14']
Exploring Operation: 42-14=28, Resulting Numbers: [28]
28,84 unequal: No Solution
Exploring Operation: 42/14=3, Resulting Numbers: [3]
3,84 unequal: No Solution
Moving to Node #0,0,0
Current State: 84:[42, 20], Operations: ['53-11=42', '3+17=20']
Exploring Operation: 42+20=62, Resulting Numbers: [62]
62,84 unequal: No Solution
Exploring Operation: 42-20=22, Resulting Numbers: [22]
22,84 unequal: No Solution
No 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: 84:[3, 11, 36], Operations: ['53-17=36']
Exploring Operation: 36/3=12, Resulting Numbers: [11, 12]
Generated Node #0,1,0: 84:[11, 12] Operation: 36/3=12
Exploring Operation: 36-11=25, Resulting Numbers: [3, 25]
Generated Node #0,1,1: 84:[3, 25] Operation: 36-11=25
Moving to Node #0,1,0
Current State: 84:[11, 12], Operations: ['53-17=36', '36/3=12']
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,84 unequal: No Solution
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,84 unequal: No Solution
Moving to Node #0,1,1
Current State: 84:[3, 25], Operations: ['53-17=36', '36-11=25']
Exploring Operation: 3+25=28, Resulting Numbers: [28]
28,84 unequal: No Solution
Exploring Operation: 25-3=22, Resulting Numbers: [22]
22,84 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 |
[
51,
96,
69,
66
] | 15 | [
"96-51=45",
"69-66=3",
"45/3=15"
] | Current State: 15:[51, 96, 69, 66], Operations: []
Exploring Operation: 96-51=45, Resulting Numbers: [69, 66, 45]
Generated Node #2: [69, 66, 45] from Operation: 96-51=45
Current State: 15:[69, 66, 45], Operations: ['96-51=45']
Exploring Operation: 69-66=3, Resulting Numbers: [45, 3]
Generated Node #3: [45, 3] from Operation: 69-66=3
Current State: 15:[45, 3], Operations: ['96-51=45', '69-66=3']
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[51, 96, 69, 66], Operations: []
Exploring Operation: 96-69=27, Resulting Numbers: [51, 66, 27]
Generated Node #0,0: 15:[51, 66, 27] Operation: 96-69=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[51, 66, 27], Operations: ['96-69=27']
Exploring Operation: 66-51=15, Resulting Numbers: [27, 15]
Generated Node #0,0,0: 15:[27, 15] Operation: 66-51=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 15:[27, 15], Operations: ['96-69=27', '66-51=15']
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,15 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
90,
7,
62,
21
] | 17 | [
"90-62=28",
"28/7=4",
"21-4=17"
] | Current State: 17:[90, 7, 62, 21], Operations: []
Exploring Operation: 90-62=28, Resulting Numbers: [7, 21, 28]
Generated Node #2: [7, 21, 28] from Operation: 90-62=28
Current State: 17:[7, 21, 28], Operations: ['90-62=28']
Exploring Operation: 28/7=4, Resulting Numbers: [21, 4]
Generated Node #3: [21, 4] from Operation: 28/7=4
Current State: 17:[21, 4], Operations: ['90-62=28', '28/7=4']
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[90, 7, 62, 21], Operations: []
Exploring Operation: 90-62=28, Resulting Numbers: [7, 21, 28]
Generated Node #0,0: 17:[7, 21, 28] Operation: 90-62=28
Exploring Operation: 62-21=41, Resulting Numbers: [90, 7, 41]
Generated Node #0,1: 17:[90, 7, 41] Operation: 62-21=41
Exploring Operation: 90-21=69, Resulting Numbers: [7, 62, 69]
Generated Node #0,2: 17:[7, 62, 69] Operation: 90-21=69
Moving to Node #0,0
Current State: 17:[7, 21, 28], Operations: ['90-62=28']
Exploring Operation: 28-7=21, Resulting Numbers: [21, 21]
Generated Node #0,0,0: 17:[21, 21] Operation: 28-7=21
Exploring Operation: 28/7=4, Resulting Numbers: [21, 4]
Generated Node #0,0,1: 17:[21, 4] Operation: 28/7=4
Exploring Operation: 21-7=14, Resulting Numbers: [28, 14]
Generated Node #0,0,2: 17:[28, 14] Operation: 21-7=14
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 17:[21, 21], Operations: ['90-62=28', '28-7=21']
Exploring Operation: 21/21=1, Resulting Numbers: [1]
1,17 unequal: No Solution
Exploring Operation: 21+21=42, Resulting Numbers: [42]
42,17 unequal: No Solution
Exploring Operation: 21-21=0, Resulting Numbers: [0]
0,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:[28, 14], Operations: ['90-62=28', '21-7=14']
Exploring Operation: 28-14=14, Resulting Numbers: [14]
14,17 unequal: No Solution
Exploring Operation: 28/14=2, Resulting Numbers: [2]
2,17 unequal: No Solution
Exploring Operation: 28+14=42, Resulting Numbers: [42]
42,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:[21, 4], Operations: ['90-62=28', '28/7=4']
Exploring Operation: 21*4=84, Resulting Numbers: [84]
84,17 unequal: No Solution
Exploring Operation: 21+4=25, Resulting Numbers: [25]
25,17 unequal: No Solution
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[90, 7, 62, 21], Operations: []
Exploring Operation: 90-62=28, Resulting Numbers: [7, 21, 28]
Generated Node #0,0: 17:[7, 21, 28] Operation: 90-62=28
Moving to Node #0,0
Current State: 17:[7, 21, 28], Operations: ['90-62=28']
Exploring Operation: 28/7=4, Resulting Numbers: [21, 4]
Generated Node #0,0,1: 17:[21, 4] Operation: 28/7=4
Moving to Node #0,0,1
Current State: 17:[21, 4], Operations: ['90-62=28', '28/7=4']
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | sum_heuristic |
[
32,
44,
1,
56
] | 20 | [
"32+44=76",
"1*56=56",
"76-56=20"
] | Current State: 20:[32, 44, 1, 56], Operations: []
Exploring Operation: 32+44=76, Resulting Numbers: [1, 56, 76]
Generated Node #2: [1, 56, 76] from Operation: 32+44=76
Current State: 20:[1, 56, 76], Operations: ['32+44=76']
Exploring Operation: 1*56=56, Resulting Numbers: [76, 56]
Generated Node #3: [76, 56] from Operation: 1*56=56
Current State: 20:[76, 56], Operations: ['32+44=76', '1*56=56']
Exploring Operation: 76-56=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[32, 44, 1, 56], Operations: []
Exploring Operation: 32-1=31, Resulting Numbers: [44, 56, 31]
Generated Node #0,0: 20:[44, 56, 31] Operation: 32-1=31
Exploring Operation: 56-32=24, Resulting Numbers: [44, 1, 24]
Generated Node #0,1: 20:[44, 1, 24] Operation: 56-32=24
Exploring Operation: 56-44=12, Resulting Numbers: [32, 1, 12]
Generated Node #0,2: 20:[32, 1, 12] Operation: 56-44=12
Exploring Operation: 44-32=12, Resulting Numbers: [1, 56, 12]
Generated Node #0,3: 20:[1, 56, 12] Operation: 44-32=12
Start Sub Search at level 1: Moving to Node #0,2
Current State: 20:[32, 1, 12], Operations: ['56-44=12']
Exploring Operation: 32*1=32, Resulting Numbers: [12, 32]
Generated Node #0,2,0: 20:[12, 32] Operation: 32*1=32
Exploring Operation: 32-12=20, Resulting Numbers: [1, 20]
Generated Node #0,2,1: 20:[1, 20] Operation: 32-12=20
Exploring Operation: 32-1=31, Resulting Numbers: [12, 31]
Generated Node #0,2,2: 20:[12, 31] Operation: 32-1=31
Exploring Operation: 12-1=11, Resulting Numbers: [32, 11]
Generated Node #0,2,3: 20:[32, 11] Operation: 12-1=11
Moving to Node #0,2,1
Current State: 20:[1, 20], Operations: ['56-44=12', '32-12=20']
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[32, 44, 1, 56], Operations: []
Exploring Operation: 56-44=12, Resulting Numbers: [32, 1, 12]
Generated Node #0,2: 20:[32, 1, 12] Operation: 56-44=12
Moving to Node #0,2
Current State: 20:[32, 1, 12], Operations: ['56-44=12']
Exploring Operation: 32-12=20, Resulting Numbers: [1, 20]
Generated Node #0,2,1: 20:[1, 20] Operation: 32-12=20
Moving to Node #0,2,1
Current State: 20:[1, 20], Operations: ['56-44=12', '32-12=20']
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
4,
70,
60,
88
] | 45 | [
"70-4=66",
"60*66=3960",
"3960/88=45"
] | Current State: 45:[4, 70, 60, 88], Operations: []
Exploring Operation: 70-4=66, Resulting Numbers: [60, 88, 66]
Generated Node #2: [60, 88, 66] from Operation: 70-4=66
Current State: 45:[60, 88, 66], Operations: ['70-4=66']
Exploring Operation: 60*66=3960, Resulting Numbers: [88, 3960]
Generated Node #3: [88, 3960] from Operation: 60*66=3960
Current State: 45:[88, 3960], Operations: ['70-4=66', '60*66=3960']
Exploring Operation: 3960/88=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[4, 70, 60, 88], Operations: []
Exploring Operation: 88-70=18, Resulting Numbers: [4, 60, 18]
Generated Node #0,0: 45:[4, 60, 18] Operation: 88-70=18
Moving to Node #0,0
Current State: 45:[4, 60, 18], Operations: ['88-70=18']
Exploring Operation: 60/4=15, Resulting Numbers: [18, 15]
Generated Node #0,0,0: 45:[18, 15] Operation: 60/4=15
Moving to Node #0,0,0
Current State: 45:[18, 15], Operations: ['88-70=18', '60/4=15']
Exploring Operation: 18-15=3, Resulting Numbers: [3]
3,45 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
2,
51,
23,
80
] | 50 | [
"2+51=53",
"23+80=103",
"103-53=50"
] | Current State: 50:[2, 51, 23, 80], Operations: []
Exploring Operation: 2+51=53, Resulting Numbers: [23, 80, 53]
Generated Node #2: [23, 80, 53] from Operation: 2+51=53
Current State: 50:[23, 80, 53], Operations: ['2+51=53']
Exploring Operation: 23+80=103, Resulting Numbers: [53, 103]
Generated Node #3: [53, 103] from Operation: 23+80=103
Current State: 50:[53, 103], Operations: ['2+51=53', '23+80=103']
Exploring Operation: 103-53=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[2, 51, 23, 80], Operations: []
Exploring Operation: 80-51=29, Resulting Numbers: [2, 23, 29]
Generated Node #0,0: 50:[2, 23, 29] Operation: 80-51=29
Exploring Operation: 80/2=40, Resulting Numbers: [51, 23, 40]
Generated Node #0,1: 50:[51, 23, 40] Operation: 80/2=40
Exploring Operation: 80-23=57, Resulting Numbers: [2, 51, 57]
Generated Node #0,2: 50:[2, 51, 57] Operation: 80-23=57
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[2, 23, 29], Operations: ['80-51=29']
Exploring Operation: 2+23=25, Resulting Numbers: [29, 25]
Generated Node #0,0,0: 50:[29, 25] Operation: 2+23=25
Exploring Operation: 29-23=6, Resulting Numbers: [2, 6]
Generated Node #0,0,1: 50:[2, 6] Operation: 29-23=6
Exploring Operation: 23+29=52, Resulting Numbers: [2, 52]
Generated Node #0,0,2: 50:[2, 52] Operation: 23+29=52
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 50:[2, 6], Operations: ['80-51=29', '29-23=6']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,50 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,50 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 50:[2, 52], Operations: ['80-51=29', '23+29=52']
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[2, 51, 23, 80], Operations: []
Exploring Operation: 80-51=29, Resulting Numbers: [2, 23, 29]
Generated Node #0,0: 50:[2, 23, 29] Operation: 80-51=29
Moving to Node #0,0
Current State: 50:[2, 23, 29], Operations: ['80-51=29']
Exploring Operation: 23+29=52, Resulting Numbers: [2, 52]
Generated Node #0,0,2: 50:[2, 52] Operation: 23+29=52
Moving to Node #0,0,2
Current State: 50:[2, 52], Operations: ['80-51=29', '23+29=52']
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_3 | mult_heuristic |
[
9,
52,
34,
11
] | 13 | [
"9*11=99",
"52+34=86",
"99-86=13"
] | Current State: 13:[9, 52, 34, 11], Operations: []
Exploring Operation: 9*11=99, Resulting Numbers: [52, 34, 99]
Generated Node #2: [52, 34, 99] from Operation: 9*11=99
Current State: 13:[52, 34, 99], Operations: ['9*11=99']
Exploring Operation: 52+34=86, Resulting Numbers: [99, 86]
Generated Node #3: [99, 86] from Operation: 52+34=86
Current State: 13:[99, 86], Operations: ['9*11=99', '52+34=86']
Exploring Operation: 99-86=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[9, 52, 34, 11], Operations: []
Exploring Operation: 52-34=18, Resulting Numbers: [9, 11, 18]
Generated Node #0,0: 13:[9, 11, 18] Operation: 52-34=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[9, 11, 18], Operations: ['52-34=18']
Exploring Operation: 18-9=9, Resulting Numbers: [11, 9]
Generated Node #0,0,0: 13:[11, 9] Operation: 18-9=9
Moving to Node #0,0,0
Current State: 13:[11, 9], Operations: ['52-34=18', '18-9=9']
Exploring Operation: 11+9=20, Resulting Numbers: [20]
20,13 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 |
[
57,
51,
37,
97
] | 61 | [
"51+97=148",
"148/37=4",
"57+4=61"
] | Current State: 61:[57, 51, 37, 97], Operations: []
Exploring Operation: 51+97=148, Resulting Numbers: [57, 37, 148]
Generated Node #2: [57, 37, 148] from Operation: 51+97=148
Current State: 61:[57, 37, 148], Operations: ['51+97=148']
Exploring Operation: 148/37=4, Resulting Numbers: [57, 4]
Generated Node #3: [57, 4] from Operation: 148/37=4
Current State: 61:[57, 4], Operations: ['51+97=148', '148/37=4']
Exploring Operation: 57+4=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[57, 51, 37, 97], Operations: []
Exploring Operation: 97-37=60, Resulting Numbers: [57, 51, 60]
Generated Node #0,0: 61:[57, 51, 60] Operation: 97-37=60
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[57, 51, 60], Operations: ['97-37=60']
Exploring Operation: 57+51=108, Resulting Numbers: [60, 108]
Generated Node #0,0,0: 61:[60, 108] Operation: 57+51=108
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 61:[60, 108], Operations: ['97-37=60', '57+51=108']
Exploring Operation: 108-60=48, Resulting Numbers: [48]
48,61 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 |
[
48,
15,
36,
93
] | 96 | [
"48-15=33",
"36+93=129",
"129-33=96"
] | Current State: 96:[48, 15, 36, 93], Operations: []
Exploring Operation: 48-15=33, Resulting Numbers: [36, 93, 33]
Generated Node #2: [36, 93, 33] from Operation: 48-15=33
Current State: 96:[36, 93, 33], Operations: ['48-15=33']
Exploring Operation: 36+93=129, Resulting Numbers: [33, 129]
Generated Node #3: [33, 129] from Operation: 36+93=129
Current State: 96:[33, 129], Operations: ['48-15=33', '36+93=129']
Exploring Operation: 129-33=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[48, 15, 36, 93], Operations: []
Exploring Operation: 48-36=12, Resulting Numbers: [15, 93, 12]
Generated Node #0,0: 96:[15, 93, 12] Operation: 48-36=12
Exploring Operation: 15+36=51, Resulting Numbers: [48, 93, 51]
Generated Node #0,1: 96:[48, 93, 51] Operation: 15+36=51
Exploring Operation: 36-15=21, Resulting Numbers: [48, 93, 21]
Generated Node #0,2: 96:[48, 93, 21] Operation: 36-15=21
Exploring Operation: 48-15=33, Resulting Numbers: [36, 93, 33]
Generated Node #0,3: 96:[36, 93, 33] Operation: 48-15=33
Exploring Operation: 93-48=45, Resulting Numbers: [15, 36, 45]
Generated Node #0,4: 96:[15, 36, 45] Operation: 93-48=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[15, 93, 12], Operations: ['48-36=12']
Exploring Operation: 93-12=81, Resulting Numbers: [15, 81]
Generated Node #0,0,0: 96:[15, 81] Operation: 93-12=81
Exploring Operation: 15-12=3, Resulting Numbers: [93, 3]
Generated Node #0,0,1: 96:[93, 3] Operation: 15-12=3
Exploring Operation: 15+12=27, Resulting Numbers: [93, 27]
Generated Node #0,0,2: 96:[93, 27] Operation: 15+12=27
Exploring Operation: 15+93=108, Resulting Numbers: [12, 108]
Generated Node #0,0,3: 96:[12, 108] Operation: 15+93=108
Exploring Operation: 93+12=105, Resulting Numbers: [15, 105]
Generated Node #0,0,4: 96:[15, 105] Operation: 93+12=105
Moving to Node #0,0,1
Current State: 96:[93, 3], Operations: ['48-36=12', '15-12=3']
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,96 unequal: No Solution
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,96 unequal: No Solution
Exploring Operation: 93+3=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[48, 15, 36, 93], Operations: []
Exploring Operation: 48-36=12, Resulting Numbers: [15, 93, 12]
Generated Node #0,0: 96:[15, 93, 12] Operation: 48-36=12
Moving to Node #0,0
Current State: 96:[15, 93, 12], Operations: ['48-36=12']
Exploring Operation: 15-12=3, Resulting Numbers: [93, 3]
Generated Node #0,0,1: 96:[93, 3] Operation: 15-12=3
Moving to Node #0,0,1
Current State: 96:[93, 3], Operations: ['48-36=12', '15-12=3']
Exploring Operation: 93+3=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
13,
60,
84,
73
] | 84 | [
"13+60=73",
"84+73=157",
"157-73=84"
] | Current State: 84:[13, 60, 84, 73], Operations: []
Exploring Operation: 13+60=73, Resulting Numbers: [84, 73, 73]
Generated Node #2: [84, 73, 73] from Operation: 13+60=73
Current State: 84:[84, 73, 73], Operations: ['13+60=73']
Exploring Operation: 84+73=157, Resulting Numbers: [157]
157,84 equal: Goal Reached
Exploring Operation: 157-73=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[13, 60, 84, 73], Operations: []
Exploring Operation: 73-60=13, Resulting Numbers: [13, 84, 13]
Generated Node #0,0: 84:[13, 84, 13] Operation: 73-60=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[13, 84, 13], Operations: ['73-60=13']
Exploring Operation: 13/13=1, Resulting Numbers: [84, 1]
Generated Node #0,0,0: 84:[84, 1] Operation: 13/13=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 84:[84, 1], Operations: ['73-60=13', '13/13=1']
Exploring Operation: 84*1=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[13, 60, 84, 73], Operations: []
Exploring Operation: 73-60=13, Resulting Numbers: [13, 84, 13]
Generated Node #0,0: 84:[13, 84, 13] Operation: 73-60=13
Moving to Node #0,0
Current State: 84:[13, 84, 13], Operations: ['73-60=13']
Exploring Operation: 13/13=1, Resulting Numbers: [84, 1]
Generated Node #0,0,0: 84:[84, 1] Operation: 13/13=1
Moving to Node #0,0,0
Current State: 84:[84, 1], Operations: ['73-60=13', '13/13=1']
Exploring Operation: 84*1=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
38,
60,
36,
14
] | 44 | [
"60-38=22",
"36-14=22",
"22+22=44"
] | Current State: 44:[38, 60, 36, 14], Operations: []
Exploring Operation: 60-38=22, Resulting Numbers: [36, 14, 22]
Generated Node #2: [36, 14, 22] from Operation: 60-38=22
Current State: 44:[36, 14, 22], Operations: ['60-38=22']
Exploring Operation: 36-14=22, Resulting Numbers: [22, 22]
Generated Node #3: [22, 22] from Operation: 36-14=22
Current State: 44:[22, 22], Operations: ['60-38=22', '36-14=22']
Exploring Operation: 22+22=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[38, 60, 36, 14], Operations: []
Exploring Operation: 38-36=2, Resulting Numbers: [60, 14, 2]
Generated Node #0,0: 44:[60, 14, 2] Operation: 38-36=2
Exploring Operation: 60-38=22, Resulting Numbers: [36, 14, 22]
Generated Node #0,1: 44:[36, 14, 22] Operation: 60-38=22
Exploring Operation: 60-14=46, Resulting Numbers: [38, 36, 46]
Generated Node #0,2: 44:[38, 36, 46] Operation: 60-14=46
Exploring Operation: 60-36=24, Resulting Numbers: [38, 14, 24]
Generated Node #0,3: 44:[38, 14, 24] Operation: 60-36=24
Moving to Node #0,1
Current State: 44:[36, 14, 22], Operations: ['60-38=22']
Exploring Operation: 22-14=8, Resulting Numbers: [36, 8]
Generated Node #0,1,0: 44:[36, 8] Operation: 22-14=8
Exploring Operation: 36-14=22, Resulting Numbers: [22, 22]
Generated Node #0,1,1: 44:[22, 22] Operation: 36-14=22
Exploring Operation: 36-22=14, Resulting Numbers: [14, 14]
Generated Node #0,1,2: 44:[14, 14] Operation: 36-22=14
Exploring Operation: 36+14=50, Resulting Numbers: [22, 50]
Generated Node #0,1,3: 44:[22, 50] Operation: 36+14=50
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 44:[22, 22], Operations: ['60-38=22', '36-14=22']
Exploring Operation: 22-22=0, Resulting Numbers: [0]
0,44 unequal: No Solution
Exploring Operation: 22/22=1, Resulting Numbers: [1]
1,44 unequal: No Solution
Exploring Operation: 22*22=484, Resulting Numbers: [484]
484,44 unequal: No Solution
Exploring Operation: 22+22=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[38, 60, 36, 14], Operations: []
Exploring Operation: 60-38=22, Resulting Numbers: [36, 14, 22]
Generated Node #0,1: 44:[36, 14, 22] Operation: 60-38=22
Moving to Node #0,1
Current State: 44:[36, 14, 22], Operations: ['60-38=22']
Exploring Operation: 36-14=22, Resulting Numbers: [22, 22]
Generated Node #0,1,1: 44:[22, 22] Operation: 36-14=22
Moving to Node #0,1,1
Current State: 44:[22, 22], Operations: ['60-38=22', '36-14=22']
Exploring Operation: 22+22=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
72,
11,
52,
17
] | 96 | [
"72-11=61",
"52-17=35",
"61+35=96"
] | Current State: 96:[72, 11, 52, 17], Operations: []
Exploring Operation: 72-11=61, Resulting Numbers: [52, 17, 61]
Generated Node #2: [52, 17, 61] from Operation: 72-11=61
Current State: 96:[52, 17, 61], Operations: ['72-11=61']
Exploring Operation: 52-17=35, Resulting Numbers: [61, 35]
Generated Node #3: [61, 35] from Operation: 52-17=35
Current State: 96:[61, 35], Operations: ['72-11=61', '52-17=35']
Exploring Operation: 61+35=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[72, 11, 52, 17], Operations: []
Exploring Operation: 72-52=20, Resulting Numbers: [11, 17, 20]
Generated Node #0,0: 96:[11, 17, 20] Operation: 72-52=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[11, 17, 20], Operations: ['72-52=20']
Exploring Operation: 20-17=3, Resulting Numbers: [11, 3]
Generated Node #0,0,0: 96:[11, 3] Operation: 20-17=3
Moving to Node #0,0,0
Current State: 96:[11, 3], Operations: ['72-52=20', '20-17=3']
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,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 |
[
88,
64,
50,
39
] | 72 | [
"50-39=11",
"88/11=8",
"64+8=72"
] | Current State: 72:[88, 64, 50, 39], Operations: []
Exploring Operation: 50-39=11, Resulting Numbers: [88, 64, 11]
Generated Node #2: [88, 64, 11] from Operation: 50-39=11
Current State: 72:[88, 64, 11], Operations: ['50-39=11']
Exploring Operation: 88/11=8, Resulting Numbers: [64, 8]
Generated Node #3: [64, 8] from Operation: 88/11=8
Current State: 72:[64, 8], Operations: ['50-39=11', '88/11=8']
Exploring Operation: 64+8=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[88, 64, 50, 39], Operations: []
Exploring Operation: 88-50=38, Resulting Numbers: [64, 39, 38]
Generated Node #0,0: 72:[64, 39, 38] Operation: 88-50=38
Exploring Operation: 88-64=24, Resulting Numbers: [50, 39, 24]
Generated Node #0,1: 72:[50, 39, 24] Operation: 88-64=24
Exploring Operation: 64-50=14, Resulting Numbers: [88, 39, 14]
Generated Node #0,2: 72:[88, 39, 14] Operation: 64-50=14
Exploring Operation: 50-39=11, Resulting Numbers: [88, 64, 11]
Generated Node #0,3: 72:[88, 64, 11] Operation: 50-39=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[64, 39, 38], Operations: ['88-50=38']
Exploring Operation: 64-38=26, Resulting Numbers: [39, 26]
Generated Node #0,0,0: 72:[39, 26] Operation: 64-38=26
Exploring Operation: 64-39=25, Resulting Numbers: [38, 25]
Generated Node #0,0,1: 72:[38, 25] Operation: 64-39=25
Exploring Operation: 39+38=77, Resulting Numbers: [64, 77]
Generated Node #0,0,2: 72:[64, 77] Operation: 39+38=77
Exploring Operation: 39-38=1, Resulting Numbers: [64, 1]
Generated Node #0,0,3: 72:[64, 1] Operation: 39-38=1
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 72:[38, 25], Operations: ['88-50=38', '64-39=25']
Exploring Operation: 38*25=950, Resulting Numbers: [950]
950,72 unequal: No Solution
Exploring Operation: 38+25=63, Resulting Numbers: [63]
63,72 unequal: No Solution
Exploring Operation: 38-25=13, Resulting Numbers: [13]
13,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 72:[39, 26], Operations: ['88-50=38', '64-38=26']
Exploring Operation: 39-26=13, Resulting Numbers: [13]
13,72 unequal: No Solution
Exploring Operation: 39*26=1014, Resulting Numbers: [1014]
1014,72 unequal: No Solution
Exploring Operation: 39+26=65, Resulting Numbers: [65]
65,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 72:[64, 1], Operations: ['88-50=38', '39-38=1']
Exploring Operation: 64*1=64, Resulting Numbers: [64]
64,72 unequal: No Solution
Exploring Operation: 64+1=65, Resulting Numbers: [65]
65,72 unequal: No Solution
Exploring Operation: 64-1=63, Resulting Numbers: [63]
63,72 unequal: No Solution
Exploring Operation: 64/1=64, Resulting Numbers: [64]
64,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 72:[64, 77], Operations: ['88-50=38', '39+38=77']
Exploring Operation: 64*77=4928, Resulting Numbers: [4928]
4928,72 unequal: No Solution
Exploring Operation: 64+77=141, Resulting Numbers: [141]
141,72 unequal: No Solution
Exploring Operation: 77-64=13, Resulting Numbers: [13]
13,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[50, 39, 24], Operations: ['88-64=24']
Exploring Operation: 50-39=11, Resulting Numbers: [24, 11]
Generated Node #0,1,0: 72:[24, 11] Operation: 50-39=11
Exploring Operation: 50+39=89, Resulting Numbers: [24, 89]
Generated Node #0,1,1: 72:[24, 89] Operation: 50+39=89
Exploring Operation: 50-24=26, Resulting Numbers: [39, 26]
Generated Node #0,1,2: 72:[39, 26] Operation: 50-24=26
Exploring Operation: 50+24=74, Resulting Numbers: [39, 74]
Generated Node #0,1,3: 72:[39, 74] Operation: 50+24=74
Moving to Node #0,1,0
Current State: 72:[24, 11], Operations: ['88-64=24', '50-39=11']
Exploring Operation: 24*11=264, Resulting Numbers: [264]
264,72 unequal: No Solution
Exploring Operation: 24-11=13, Resulting Numbers: [13]
13,72 unequal: No Solution
Exploring Operation: 24+11=35, Resulting Numbers: [35]
35,72 unequal: No Solution
Moving to Node #0,1,3
Current State: 72:[39, 74], Operations: ['88-64=24', '50+24=74']
Exploring Operation: 39+74=113, Resulting Numbers: [113]
113,72 unequal: No Solution
Exploring Operation: 39*74=2886, Resulting Numbers: [2886]
2886,72 unequal: No Solution
Exploring Operation: 74-39=35, Resulting Numbers: [35]
35,72 unequal: No Solution
Moving to Node #0,1,2
Current State: 72:[39, 26], Operations: ['88-64=24', '50-24=26']
Exploring Operation: 39*26=1014, Resulting Numbers: [1014]
1014,72 unequal: No Solution
Exploring Operation: 39+26=65, Resulting Numbers: [65]
65,72 unequal: No Solution
Exploring Operation: 39-26=13, Resulting Numbers: [13]
13,72 unequal: No Solution
Moving to Node #0,1,1
Current State: 72:[24, 89], Operations: ['88-64=24', '50+39=89']
Exploring Operation: 24+89=113, Resulting Numbers: [113]
113,72 unequal: No Solution
Exploring Operation: 24*89=2136, Resulting Numbers: [2136]
2136,72 unequal: No Solution
Exploring Operation: 89-24=65, Resulting Numbers: [65]
65,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 72:[88, 39, 14], Operations: ['64-50=14']
Exploring Operation: 88-14=74, Resulting Numbers: [39, 74]
Generated Node #0,2,0: 72:[39, 74] Operation: 88-14=74
Exploring Operation: 88+14=102, Resulting Numbers: [39, 102]
Generated Node #0,2,1: 72:[39, 102] Operation: 88+14=102
Exploring Operation: 88-39=49, Resulting Numbers: [14, 49]
Generated Node #0,2,2: 72:[14, 49] Operation: 88-39=49
Exploring Operation: 39-14=25, Resulting Numbers: [88, 25]
Generated Node #0,2,3: 72:[88, 25] Operation: 39-14=25
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 72:[39, 74], Operations: ['64-50=14', '88-14=74']
Exploring Operation: 39+74=113, Resulting Numbers: [113]
113,72 unequal: No Solution
Exploring Operation: 39*74=2886, Resulting Numbers: [2886]
2886,72 unequal: No Solution
Exploring Operation: 74-39=35, Resulting Numbers: [35]
35,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 72:[14, 49], Operations: ['64-50=14', '88-39=49']
Exploring Operation: 14+49=63, Resulting Numbers: [63]
63,72 unequal: No Solution
Exploring Operation: 49-14=35, Resulting Numbers: [35]
35,72 unequal: No Solution
Exploring Operation: 14*49=686, Resulting Numbers: [686]
686,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 72:[88, 25], Operations: ['64-50=14', '39-14=25']
Exploring Operation: 88*25=2200, Resulting Numbers: [2200]
2200,72 unequal: No Solution
Exploring Operation: 88-25=63, Resulting Numbers: [63]
63,72 unequal: No Solution
Exploring Operation: 88+25=113, Resulting Numbers: [113]
113,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 72:[39, 102], Operations: ['64-50=14', '88+14=102']
Exploring Operation: 102-39=63, Resulting Numbers: [63]
63,72 unequal: No Solution
Exploring Operation: 39+102=141, Resulting Numbers: [141]
141,72 unequal: No Solution
Exploring Operation: 39*102=3978, Resulting Numbers: [3978]
3978,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 72:[88, 64, 11], Operations: ['50-39=11']
Exploring Operation: 88/11=8, Resulting Numbers: [64, 8]
Generated Node #0,3,0: 72:[64, 8] Operation: 88/11=8
Exploring Operation: 64+11=75, Resulting Numbers: [88, 75]
Generated Node #0,3,1: 72:[88, 75] Operation: 64+11=75
Exploring Operation: 88-11=77, Resulting Numbers: [64, 77]
Generated Node #0,3,2: 72:[64, 77] Operation: 88-11=77
Exploring Operation: 88-64=24, Resulting Numbers: [11, 24]
Generated Node #0,3,3: 72:[11, 24] Operation: 88-64=24
Moving to Node #0,3,3
Current State: 72:[11, 24], Operations: ['50-39=11', '88-64=24']
Exploring Operation: 24-11=13, Resulting Numbers: [13]
13,72 unequal: No Solution
Exploring Operation: 11*24=264, Resulting Numbers: [264]
264,72 unequal: No Solution
Exploring Operation: 11+24=35, Resulting Numbers: [35]
35,72 unequal: No Solution
Moving to Node #0,3,0
Current State: 72:[64, 8], Operations: ['50-39=11', '88/11=8']
Exploring Operation: 64-8=56, Resulting Numbers: [56]
56,72 unequal: No Solution
Exploring Operation: 64*8=512, Resulting Numbers: [512]
512,72 unequal: No Solution
Exploring Operation: 64+8=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[88, 64, 50, 39], Operations: []
Exploring Operation: 50-39=11, Resulting Numbers: [88, 64, 11]
Generated Node #0,3: 72:[88, 64, 11] Operation: 50-39=11
Moving to Node #0,3
Current State: 72:[88, 64, 11], Operations: ['50-39=11']
Exploring Operation: 88/11=8, Resulting Numbers: [64, 8]
Generated Node #0,3,0: 72:[64, 8] Operation: 88/11=8
Moving to Node #0,3,0
Current State: 72:[64, 8], Operations: ['50-39=11', '88/11=8']
Exploring Operation: 64+8=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.94184 | hs_4 | sum_heuristic |
[
50,
87,
77,
40
] | 46 | [
"87-77=10",
"40/10=4",
"50-4=46"
] | Current State: 46:[50, 87, 77, 40], Operations: []
Exploring Operation: 87-77=10, Resulting Numbers: [50, 40, 10]
Generated Node #2: [50, 40, 10] from Operation: 87-77=10
Current State: 46:[50, 40, 10], Operations: ['87-77=10']
Exploring Operation: 40/10=4, Resulting Numbers: [50, 4]
Generated Node #3: [50, 4] from Operation: 40/10=4
Current State: 46:[50, 4], Operations: ['87-77=10', '40/10=4']
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[50, 87, 77, 40], Operations: []
Exploring Operation: 87-40=47, Resulting Numbers: [50, 77, 47]
Generated Node #0,0: 46:[50, 77, 47] Operation: 87-40=47
Exploring Operation: 87-77=10, Resulting Numbers: [50, 40, 10]
Generated Node #0,1: 46:[50, 40, 10] Operation: 87-77=10
Moving to Node #0,1
Current State: 46:[50, 40, 10], Operations: ['87-77=10']
Exploring Operation: 40/10=4, Resulting Numbers: [50, 4]
Generated Node #0,1,0: 46:[50, 4] Operation: 40/10=4
Exploring Operation: 40+10=50, Resulting Numbers: [50, 50]
Generated Node #0,1,1: 46:[50, 50] Operation: 40+10=50
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 46:[50, 4], Operations: ['87-77=10', '40/10=4']
Exploring Operation: 50+4=54, Resulting Numbers: [54]
54,46 unequal: No Solution
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[50, 87, 77, 40], Operations: []
Exploring Operation: 87-77=10, Resulting Numbers: [50, 40, 10]
Generated Node #0,1: 46:[50, 40, 10] Operation: 87-77=10
Moving to Node #0,1
Current State: 46:[50, 40, 10], Operations: ['87-77=10']
Exploring Operation: 40/10=4, Resulting Numbers: [50, 4]
Generated Node #0,1,0: 46:[50, 4] Operation: 40/10=4
Moving to Node #0,1,0
Current State: 46:[50, 4], Operations: ['87-77=10', '40/10=4']
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
52,
49,
23,
77
] | 51 | [
"52-49=3",
"77-23=54",
"54-3=51"
] | Current State: 51:[52, 49, 23, 77], Operations: []
Exploring Operation: 52-49=3, Resulting Numbers: [23, 77, 3]
Generated Node #2: [23, 77, 3] from Operation: 52-49=3
Current State: 51:[23, 77, 3], Operations: ['52-49=3']
Exploring Operation: 77-23=54, Resulting Numbers: [3, 54]
Generated Node #3: [3, 54] from Operation: 77-23=54
Current State: 51:[3, 54], Operations: ['52-49=3', '77-23=54']
Exploring Operation: 54-3=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[52, 49, 23, 77], Operations: []
Exploring Operation: 77-49=28, Resulting Numbers: [52, 23, 28]
Generated Node #0,0: 51:[52, 23, 28] Operation: 77-49=28
Exploring Operation: 77-23=54, Resulting Numbers: [52, 49, 54]
Generated Node #0,1: 51:[52, 49, 54] Operation: 77-23=54
Exploring Operation: 77-52=25, Resulting Numbers: [49, 23, 25]
Generated Node #0,2: 51:[49, 23, 25] Operation: 77-52=25
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[52, 49, 54], Operations: ['77-23=54']
Exploring Operation: 54-52=2, Resulting Numbers: [49, 2]
Generated Node #0,1,0: 51:[49, 2] Operation: 54-52=2
Exploring Operation: 54-49=5, Resulting Numbers: [52, 5]
Generated Node #0,1,1: 51:[52, 5] Operation: 54-49=5
Exploring Operation: 52-49=3, Resulting Numbers: [54, 3]
Generated Node #0,1,2: 51:[54, 3] Operation: 52-49=3
Moving to Node #0,1,0
Current State: 51:[49, 2], Operations: ['77-23=54', '54-52=2']
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,51 unequal: No Solution
Exploring Operation: 49*2=98, Resulting Numbers: [98]
98,51 unequal: No Solution
Exploring Operation: 49+2=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[52, 49, 23, 77], Operations: []
Exploring Operation: 77-23=54, Resulting Numbers: [52, 49, 54]
Generated Node #0,1: 51:[52, 49, 54] Operation: 77-23=54
Moving to Node #0,1
Current State: 51:[52, 49, 54], Operations: ['77-23=54']
Exploring Operation: 54-52=2, Resulting Numbers: [49, 2]
Generated Node #0,1,0: 51:[49, 2] Operation: 54-52=2
Moving to Node #0,1,0
Current State: 51:[49, 2], Operations: ['77-23=54', '54-52=2']
Exploring Operation: 49+2=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
62,
29,
52,
33
] | 75 | [
"33-29=4",
"52/4=13",
"62+13=75"
] | Current State: 75:[62, 29, 52, 33], Operations: []
Exploring Operation: 33-29=4, Resulting Numbers: [62, 52, 4]
Generated Node #2: [62, 52, 4] from Operation: 33-29=4
Current State: 75:[62, 52, 4], Operations: ['33-29=4']
Exploring Operation: 52/4=13, Resulting Numbers: [62, 13]
Generated Node #3: [62, 13] from Operation: 52/4=13
Current State: 75:[62, 13], Operations: ['33-29=4', '52/4=13']
Exploring Operation: 62+13=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[62, 29, 52, 33], Operations: []
Exploring Operation: 29+52=81, Resulting Numbers: [62, 33, 81]
Generated Node #0,0: 75:[62, 33, 81] Operation: 29+52=81
Exploring Operation: 62-52=10, Resulting Numbers: [29, 33, 10]
Generated Node #0,1: 75:[29, 33, 10] Operation: 62-52=10
Exploring Operation: 52-33=19, Resulting Numbers: [62, 29, 19]
Generated Node #0,2: 75:[62, 29, 19] Operation: 52-33=19
Exploring Operation: 52-29=23, Resulting Numbers: [62, 33, 23]
Generated Node #0,3: 75:[62, 33, 23] Operation: 52-29=23
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[29, 33, 10], Operations: ['62-52=10']
Exploring Operation: 29-10=19, Resulting Numbers: [33, 19]
Generated Node #0,1,0: 75:[33, 19] Operation: 29-10=19
Exploring Operation: 33-10=23, Resulting Numbers: [29, 23]
Generated Node #0,1,1: 75:[29, 23] Operation: 33-10=23
Exploring Operation: 29+33=62, Resulting Numbers: [10, 62]
Generated Node #0,1,2: 75:[10, 62] Operation: 29+33=62
Exploring Operation: 33-29=4, Resulting Numbers: [10, 4]
Generated Node #0,1,3: 75:[10, 4] Operation: 33-29=4
Moving to Node #0,1,1
Current State: 75:[29, 23], Operations: ['62-52=10', '33-10=23']
Exploring Operation: 29*23=667, Resulting Numbers: [667]
667,75 unequal: No Solution
Exploring Operation: 29-23=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Exploring Operation: 29+23=52, Resulting Numbers: [52]
52,75 unequal: No Solution
Moving to Node #0,1,3
Current State: 75:[10, 4], Operations: ['62-52=10', '33-29=4']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,75 unequal: No Solution
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,75 unequal: No Solution
Moving to Node #0,1,0
Current State: 75:[33, 19], Operations: ['62-52=10', '29-10=19']
Exploring Operation: 33*19=627, Resulting Numbers: [627]
627,75 unequal: No Solution
Exploring Operation: 33+19=52, Resulting Numbers: [52]
52,75 unequal: No Solution
Exploring Operation: 33-19=14, Resulting Numbers: [14]
14,75 unequal: No Solution
Moving to Node #0,1,2
Current State: 75:[10, 62], Operations: ['62-52=10', '29+33=62']
Exploring Operation: 10*62=620, Resulting Numbers: [620]
620,75 unequal: No Solution
Exploring Operation: 62-10=52, Resulting Numbers: [52]
52,75 unequal: No Solution
Exploring Operation: 10+62=72, Resulting Numbers: [72]
72,75 unequal: No Solution
No 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: 75:[62, 29, 19], Operations: ['52-33=19']
Exploring Operation: 29-19=10, Resulting Numbers: [62, 10]
Generated Node #0,2,0: 75:[62, 10] Operation: 29-19=10
Exploring Operation: 62-29=33, Resulting Numbers: [19, 33]
Generated Node #0,2,1: 75:[19, 33] Operation: 62-29=33
Exploring Operation: 62+19=81, Resulting Numbers: [29, 81]
Generated Node #0,2,2: 75:[29, 81] Operation: 62+19=81
Exploring Operation: 62+29=91, Resulting Numbers: [19, 91]
Generated Node #0,2,3: 75:[19, 91] Operation: 62+29=91
Moving to Node #0,2,2
Current State: 75:[29, 81], Operations: ['52-33=19', '62+19=81']
Exploring Operation: 81-29=52, Resulting Numbers: [52]
52,75 unequal: No Solution
Exploring Operation: 29*81=2349, Resulting Numbers: [2349]
2349,75 unequal: No Solution
Exploring Operation: 29+81=110, Resulting Numbers: [110]
110,75 unequal: No Solution
Moving to Node #0,2,1
Current State: 75:[19, 33], Operations: ['52-33=19', '62-29=33']
Exploring Operation: 19*33=627, Resulting Numbers: [627]
627,75 unequal: No Solution
Exploring Operation: 19+33=52, Resulting Numbers: [52]
52,75 unequal: No Solution
Exploring Operation: 33-19=14, Resulting Numbers: [14]
14,75 unequal: No Solution
Moving to Node #0,2,0
Current State: 75:[62, 10], Operations: ['52-33=19', '29-19=10']
Exploring Operation: 62-10=52, Resulting Numbers: [52]
52,75 unequal: No Solution
Exploring Operation: 62*10=620, Resulting Numbers: [620]
620,75 unequal: No Solution
Exploring Operation: 62+10=72, Resulting Numbers: [72]
72,75 unequal: No Solution
Moving to Node #0,2,3
Current State: 75:[19, 91], Operations: ['52-33=19', '62+29=91']
Exploring Operation: 91-19=72, Resulting Numbers: [72]
72,75 unequal: No Solution
Exploring Operation: 19+91=110, Resulting Numbers: [110]
110,75 unequal: No Solution
Exploring Operation: 19*91=1729, Resulting Numbers: [1729]
1729,75 unequal: No Solution
No 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: 75:[62, 33, 23], Operations: ['52-29=23']
Exploring Operation: 33-23=10, Resulting Numbers: [62, 10]
Generated Node #0,3,0: 75:[62, 10] Operation: 33-23=10
Exploring Operation: 62+33=95, Resulting Numbers: [23, 95]
Generated Node #0,3,1: 75:[23, 95] Operation: 62+33=95
Exploring Operation: 62+23=85, Resulting Numbers: [33, 85]
Generated Node #0,3,2: 75:[33, 85] Operation: 62+23=85
Exploring Operation: 62-33=29, Resulting Numbers: [23, 29]
Generated Node #0,3,3: 75:[23, 29] Operation: 62-33=29
Moving to Node #0,3,3
Current State: 75:[23, 29], Operations: ['52-29=23', '62-33=29']
Exploring Operation: 23+29=52, Resulting Numbers: [52]
52,75 unequal: No Solution
Exploring Operation: 23*29=667, Resulting Numbers: [667]
667,75 unequal: No Solution
Exploring Operation: 29-23=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Moving to Node #0,3,2
Current State: 75:[33, 85], Operations: ['52-29=23', '62+23=85']
Exploring Operation: 33+85=118, Resulting Numbers: [118]
118,75 unequal: No Solution
Exploring Operation: 33*85=2805, Resulting Numbers: [2805]
2805,75 unequal: No Solution
Exploring Operation: 85-33=52, Resulting Numbers: [52]
52,75 unequal: No Solution
Moving to Node #0,3,0
Current State: 75:[62, 10], Operations: ['52-29=23', '33-23=10']
Exploring Operation: 62+10=72, Resulting Numbers: [72]
72,75 unequal: No Solution
Exploring Operation: 62-10=52, Resulting Numbers: [52]
52,75 unequal: No Solution
Exploring Operation: 62*10=620, Resulting Numbers: [620]
620,75 unequal: No Solution
Moving to Node #0,3,1
Current State: 75:[23, 95], Operations: ['52-29=23', '62+33=95']
Exploring Operation: 23+95=118, Resulting Numbers: [118]
118,75 unequal: No Solution
Exploring Operation: 23*95=2185, Resulting Numbers: [2185]
2185,75 unequal: No Solution
Exploring Operation: 95-23=72, Resulting Numbers: [72]
72,75 unequal: No Solution
No 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: 75:[62, 33, 81], Operations: ['29+52=81']
Exploring Operation: 81-62=19, Resulting Numbers: [33, 19]
Generated Node #0,0,0: 75:[33, 19] Operation: 81-62=19
Exploring Operation: 81-33=48, Resulting Numbers: [62, 48]
Generated Node #0,0,1: 75:[62, 48] Operation: 81-33=48
Exploring Operation: 62+33=95, Resulting Numbers: [81, 95]
Generated Node #0,0,2: 75:[81, 95] Operation: 62+33=95
Exploring Operation: 62-33=29, Resulting Numbers: [81, 29]
Generated Node #0,0,3: 75:[81, 29] Operation: 62-33=29
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 75:[81, 29], Operations: ['29+52=81', '62-33=29']
Exploring Operation: 81*29=2349, Resulting Numbers: [2349]
2349,75 unequal: No Solution
Exploring Operation: 81-29=52, Resulting Numbers: [52]
52,75 unequal: No Solution
Exploring Operation: 81+29=110, Resulting Numbers: [110]
110,75 unequal: No Solution
No 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: 75:[33, 19], Operations: ['29+52=81', '81-62=19']
Exploring Operation: 33*19=627, Resulting Numbers: [627]
627,75 unequal: No Solution
Exploring Operation: 33+19=52, Resulting Numbers: [52]
52,75 unequal: No Solution
Exploring Operation: 33-19=14, Resulting Numbers: [14]
14,75 unequal: No Solution
No 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: 75:[81, 95], Operations: ['29+52=81', '62+33=95']
Exploring Operation: 81+95=176, Resulting Numbers: [176]
176,75 unequal: No Solution
Exploring Operation: 81*95=7695, Resulting Numbers: [7695]
7695,75 unequal: No Solution
Exploring Operation: 95-81=14, Resulting Numbers: [14]
14,75 unequal: No Solution
No 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: 75:[62, 48], Operations: ['29+52=81', '81-33=48']
Exploring Operation: 62*48=2976, Resulting Numbers: [2976]
2976,75 unequal: No Solution
Exploring Operation: 62-48=14, Resulting Numbers: [14]
14,75 unequal: No Solution
Exploring Operation: 62+48=110, Resulting Numbers: [110]
110,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
7,
62,
68,
72
] | 90 | [
"72-68=4",
"7*4=28",
"62+28=90"
] | Current State: 90:[7, 62, 68, 72], Operations: []
Exploring Operation: 72-68=4, Resulting Numbers: [7, 62, 4]
Generated Node #2: [7, 62, 4] from Operation: 72-68=4
Current State: 90:[7, 62, 4], Operations: ['72-68=4']
Exploring Operation: 7*4=28, Resulting Numbers: [62, 28]
Generated Node #3: [62, 28] from Operation: 7*4=28
Current State: 90:[62, 28], Operations: ['72-68=4', '7*4=28']
Exploring Operation: 62+28=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[7, 62, 68, 72], Operations: []
Exploring Operation: 72-62=10, Resulting Numbers: [7, 68, 10]
Generated Node #0,0: 90:[7, 68, 10] Operation: 72-62=10
Exploring Operation: 72-68=4, Resulting Numbers: [7, 62, 4]
Generated Node #0,1: 90:[7, 62, 4] Operation: 72-68=4
Exploring Operation: 68-62=6, Resulting Numbers: [7, 72, 6]
Generated Node #0,2: 90:[7, 72, 6] Operation: 68-62=6
Exploring Operation: 62-7=55, Resulting Numbers: [68, 72, 55]
Generated Node #0,3: 90:[68, 72, 55] Operation: 62-7=55
Start Sub Search at level 1: Moving to Node #0,1
Current State: 90:[7, 62, 4], Operations: ['72-68=4']
Exploring Operation: 7+4=11, Resulting Numbers: [62, 11]
Generated Node #0,1,0: 90:[62, 11] Operation: 7+4=11
Exploring Operation: 62-4=58, Resulting Numbers: [7, 58]
Generated Node #0,1,1: 90:[7, 58] Operation: 62-4=58
Exploring Operation: 62-7=55, Resulting Numbers: [4, 55]
Generated Node #0,1,2: 90:[4, 55] Operation: 62-7=55
Exploring Operation: 7-4=3, Resulting Numbers: [62, 3]
Generated Node #0,1,3: 90:[62, 3] Operation: 7-4=3
Moving to Node #0,1,2
Current State: 90:[4, 55], Operations: ['72-68=4', '62-7=55']
Exploring Operation: 4*55=220, Resulting Numbers: [220]
220,90 unequal: No Solution
Exploring Operation: 4+55=59, Resulting Numbers: [59]
59,90 unequal: No Solution
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,90 unequal: No Solution
Moving to Node #0,1,1
Current State: 90:[7, 58], Operations: ['72-68=4', '62-4=58']
Exploring Operation: 7*58=406, Resulting Numbers: [406]
406,90 unequal: No Solution
Exploring Operation: 58-7=51, Resulting Numbers: [51]
51,90 unequal: No Solution
Exploring Operation: 7+58=65, Resulting Numbers: [65]
65,90 unequal: No Solution
Moving to Node #0,1,3
Current State: 90:[62, 3], Operations: ['72-68=4', '7-4=3']
Exploring Operation: 62-3=59, Resulting Numbers: [59]
59,90 unequal: No Solution
Exploring Operation: 62+3=65, Resulting Numbers: [65]
65,90 unequal: No Solution
Exploring Operation: 62*3=186, Resulting Numbers: [186]
186,90 unequal: No Solution
Moving to Node #0,1,0
Current State: 90:[62, 11], Operations: ['72-68=4', '7+4=11']
Exploring Operation: 62+11=73, Resulting Numbers: [73]
73,90 unequal: No Solution
Exploring Operation: 62-11=51, Resulting Numbers: [51]
51,90 unequal: No Solution
Exploring Operation: 62*11=682, Resulting Numbers: [682]
682,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 90:[7, 72, 6], Operations: ['68-62=6']
Exploring Operation: 7-6=1, Resulting Numbers: [72, 1]
Generated Node #0,2,0: 90:[72, 1] Operation: 7-6=1
Exploring Operation: 72+6=78, Resulting Numbers: [7, 78]
Generated Node #0,2,1: 90:[7, 78] Operation: 72+6=78
Exploring Operation: 72/6=12, Resulting Numbers: [7, 12]
Generated Node #0,2,2: 90:[7, 12] Operation: 72/6=12
Exploring Operation: 7+72=79, Resulting Numbers: [6, 79]
Generated Node #0,2,3: 90:[6, 79] Operation: 7+72=79
Moving to Node #0,2,2
Current State: 90:[7, 12], Operations: ['68-62=6', '72/6=12']
Exploring Operation: 7+12=19, Resulting Numbers: [19]
19,90 unequal: No Solution
Exploring Operation: 7*12=84, Resulting Numbers: [84]
84,90 unequal: No Solution
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,90 unequal: No Solution
Moving to Node #0,2,3
Current State: 90:[6, 79], Operations: ['68-62=6', '7+72=79']
Exploring Operation: 6+79=85, Resulting Numbers: [85]
85,90 unequal: No Solution
Exploring Operation: 6*79=474, Resulting Numbers: [474]
474,90 unequal: No Solution
Exploring Operation: 79-6=73, Resulting Numbers: [73]
73,90 unequal: No Solution
Moving to Node #0,2,1
Current State: 90:[7, 78], Operations: ['68-62=6', '72+6=78']
Exploring Operation: 7*78=546, Resulting Numbers: [546]
546,90 unequal: No Solution
Exploring Operation: 78-7=71, Resulting Numbers: [71]
71,90 unequal: No Solution
Exploring Operation: 7+78=85, Resulting Numbers: [85]
85,90 unequal: No Solution
Moving to Node #0,2,0
Current State: 90:[72, 1], Operations: ['68-62=6', '7-6=1']
Exploring Operation: 72+1=73, Resulting Numbers: [73]
73,90 unequal: No Solution
Exploring Operation: 72-1=71, Resulting Numbers: [71]
71,90 unequal: No Solution
Exploring Operation: 72/1=72, Resulting Numbers: [72]
72,90 unequal: No Solution
Exploring Operation: 72*1=72, Resulting Numbers: [72]
72,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[7, 68, 10], Operations: ['72-62=10']
Exploring Operation: 68-10=58, Resulting Numbers: [7, 58]
Generated Node #0,0,0: 90:[7, 58] Operation: 68-10=58
Exploring Operation: 7+68=75, Resulting Numbers: [10, 75]
Generated Node #0,0,1: 90:[10, 75] Operation: 7+68=75
Exploring Operation: 68+10=78, Resulting Numbers: [7, 78]
Generated Node #0,0,2: 90:[7, 78] Operation: 68+10=78
Exploring Operation: 68-7=61, Resulting Numbers: [10, 61]
Generated Node #0,0,3: 90:[10, 61] Operation: 68-7=61
Moving to Node #0,0,2
Current State: 90:[7, 78], Operations: ['72-62=10', '68+10=78']
Exploring Operation: 7*78=546, Resulting Numbers: [546]
546,90 unequal: No Solution
Exploring Operation: 7+78=85, Resulting Numbers: [85]
85,90 unequal: No Solution
Exploring Operation: 78-7=71, Resulting Numbers: [71]
71,90 unequal: No Solution
Moving to Node #0,0,0
Current State: 90:[7, 58], Operations: ['72-62=10', '68-10=58']
Exploring Operation: 7*58=406, Resulting Numbers: [406]
406,90 unequal: No Solution
Exploring Operation: 7+58=65, Resulting Numbers: [65]
65,90 unequal: No Solution
Exploring Operation: 58-7=51, Resulting Numbers: [51]
51,90 unequal: No Solution
Moving to Node #0,0,1
Current State: 90:[10, 75], Operations: ['72-62=10', '7+68=75']
Exploring Operation: 10+75=85, Resulting Numbers: [85]
85,90 unequal: No Solution
Exploring Operation: 10*75=750, Resulting Numbers: [750]
750,90 unequal: No Solution
Exploring Operation: 75-10=65, Resulting Numbers: [65]
65,90 unequal: No Solution
Moving to Node #0,0,3
Current State: 90:[10, 61], Operations: ['72-62=10', '68-7=61']
Exploring Operation: 10+61=71, Resulting Numbers: [71]
71,90 unequal: No Solution
Exploring Operation: 61-10=51, Resulting Numbers: [51]
51,90 unequal: No Solution
Exploring Operation: 10*61=610, Resulting Numbers: [610]
610,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 90:[68, 72, 55], Operations: ['62-7=55']
Exploring Operation: 72-55=17, Resulting Numbers: [68, 17]
Generated Node #0,3,0: 90:[68, 17] Operation: 72-55=17
Exploring Operation: 72-68=4, Resulting Numbers: [55, 4]
Generated Node #0,3,1: 90:[55, 4] Operation: 72-68=4
Exploring Operation: 68-55=13, Resulting Numbers: [72, 13]
Generated Node #0,3,2: 90:[72, 13] Operation: 68-55=13
Exploring Operation: 68+55=123, Resulting Numbers: [72, 123]
Generated Node #0,3,3: 90:[72, 123] Operation: 68+55=123
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 90:[55, 4], Operations: ['62-7=55', '72-68=4']
Exploring Operation: 55*4=220, Resulting Numbers: [220]
220,90 unequal: No Solution
Exploring Operation: 55+4=59, Resulting Numbers: [59]
59,90 unequal: No Solution
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,90 unequal: No Solution
No 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: 90:[72, 13], Operations: ['62-7=55', '68-55=13']
Exploring Operation: 72+13=85, Resulting Numbers: [85]
85,90 unequal: No Solution
Exploring Operation: 72-13=59, Resulting Numbers: [59]
59,90 unequal: No Solution
Exploring Operation: 72*13=936, Resulting Numbers: [936]
936,90 unequal: No Solution
No 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: 90:[68, 17], Operations: ['62-7=55', '72-55=17']
Exploring Operation: 68/17=4, Resulting Numbers: [4]
4,90 unequal: No Solution
Exploring Operation: 68*17=1156, Resulting Numbers: [1156]
1156,90 unequal: No Solution
Exploring Operation: 68-17=51, Resulting Numbers: [51]
51,90 unequal: No Solution
Exploring Operation: 68+17=85, Resulting Numbers: [85]
85,90 unequal: No Solution
No 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: 90:[72, 123], Operations: ['62-7=55', '68+55=123']
Exploring Operation: 123-72=51, Resulting Numbers: [51]
51,90 unequal: No Solution
Exploring Operation: 72+123=195, Resulting Numbers: [195]
195,90 unequal: No Solution
Exploring Operation: 72*123=8856, Resulting Numbers: [8856]
8856,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
87,
19,
57,
48
] | 16 | [
"87+57=144",
"144/48=3",
"19-3=16"
] | Current State: 16:[87, 19, 57, 48], Operations: []
Exploring Operation: 87+57=144, Resulting Numbers: [19, 48, 144]
Generated Node #2: [19, 48, 144] from Operation: 87+57=144
Current State: 16:[19, 48, 144], Operations: ['87+57=144']
Exploring Operation: 144/48=3, Resulting Numbers: [19, 3]
Generated Node #3: [19, 3] from Operation: 144/48=3
Current State: 16:[19, 3], Operations: ['87+57=144', '144/48=3']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[87, 19, 57, 48], Operations: []
Exploring Operation: 87-57=30, Resulting Numbers: [19, 48, 30]
Generated Node #0,0: 16:[19, 48, 30] Operation: 87-57=30
Exploring Operation: 87-48=39, Resulting Numbers: [19, 57, 39]
Generated Node #0,1: 16:[19, 57, 39] Operation: 87-48=39
Moving to Node #0,0
Current State: 16:[19, 48, 30], Operations: ['87-57=30']
Exploring Operation: 48-30=18, Resulting Numbers: [19, 18]
Generated Node #0,0,0: 16:[19, 18] Operation: 48-30=18
Exploring Operation: 48-19=29, Resulting Numbers: [30, 29]
Generated Node #0,0,1: 16:[30, 29] Operation: 48-19=29
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 16:[19, 18], Operations: ['87-57=30', '48-30=18']
Exploring Operation: 19+18=37, Resulting Numbers: [37]
37,16 unequal: No Solution
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,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,1
Current State: 16:[30, 29], Operations: ['87-57=30', '48-19=29']
Exploring Operation: 30-29=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 30+29=59, Resulting Numbers: [59]
59,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 16:[19, 57, 39], Operations: ['87-48=39']
Exploring Operation: 57-39=18, Resulting Numbers: [19, 18]
Generated Node #0,1,0: 16:[19, 18] Operation: 57-39=18
Exploring Operation: 57/19=3, Resulting Numbers: [39, 3]
Generated Node #0,1,1: 16:[39, 3] Operation: 57/19=3
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 16:[19, 18], Operations: ['87-48=39', '57-39=18']
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,16 unequal: No Solution
Exploring Operation: 19+18=37, Resulting Numbers: [37]
37,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 16:[39, 3], Operations: ['87-48=39', '57/19=3']
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,16 unequal: No Solution
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,16 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 |
[
54,
66,
3,
65
] | 50 | [
"66-54=12",
"65-3=62",
"62-12=50"
] | Current State: 50:[54, 66, 3, 65], Operations: []
Exploring Operation: 66-54=12, Resulting Numbers: [3, 65, 12]
Generated Node #2: [3, 65, 12] from Operation: 66-54=12
Current State: 50:[3, 65, 12], Operations: ['66-54=12']
Exploring Operation: 65-3=62, Resulting Numbers: [12, 62]
Generated Node #3: [12, 62] from Operation: 65-3=62
Current State: 50:[12, 62], Operations: ['66-54=12', '65-3=62']
Exploring Operation: 62-12=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[54, 66, 3, 65], Operations: []
Exploring Operation: 66-65=1, Resulting Numbers: [54, 3, 1]
Generated Node #0,0: 50:[54, 3, 1] Operation: 66-65=1
Exploring Operation: 66/3=22, Resulting Numbers: [54, 65, 22]
Generated Node #0,1: 50:[54, 65, 22] Operation: 66/3=22
Exploring Operation: 65-54=11, Resulting Numbers: [66, 3, 11]
Generated Node #0,2: 50:[66, 3, 11] Operation: 65-54=11
Exploring Operation: 66-54=12, Resulting Numbers: [3, 65, 12]
Generated Node #0,3: 50:[3, 65, 12] Operation: 66-54=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[54, 3, 1], Operations: ['66-65=1']
Exploring Operation: 3-1=2, Resulting Numbers: [54, 2]
Generated Node #0,0,0: 50:[54, 2] Operation: 3-1=2
Exploring Operation: 54-3=51, Resulting Numbers: [1, 51]
Generated Node #0,0,1: 50:[1, 51] Operation: 54-3=51
Exploring Operation: 54*1=54, Resulting Numbers: [3, 54]
Generated Node #0,0,2: 50:[3, 54] Operation: 54*1=54
Exploring Operation: 54-1=53, Resulting Numbers: [3, 53]
Generated Node #0,0,3: 50:[3, 53] Operation: 54-1=53
Moving to Node #0,0,1
Current State: 50:[1, 51], Operations: ['66-65=1', '54-3=51']
Exploring Operation: 1*51=51, Resulting Numbers: [51]
51,50 unequal: No Solution
Exploring Operation: 1+51=52, Resulting Numbers: [52]
52,50 unequal: No Solution
Exploring Operation: 51/1=51, Resulting Numbers: [51]
51,50 unequal: No Solution
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[54, 66, 3, 65], Operations: []
Exploring Operation: 66-65=1, Resulting Numbers: [54, 3, 1]
Generated Node #0,0: 50:[54, 3, 1] Operation: 66-65=1
Moving to Node #0,0
Current State: 50:[54, 3, 1], Operations: ['66-65=1']
Exploring Operation: 54-3=51, Resulting Numbers: [1, 51]
Generated Node #0,0,1: 50:[1, 51] Operation: 54-3=51
Moving to Node #0,0,1
Current State: 50:[1, 51], Operations: ['66-65=1', '54-3=51']
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
37,
84,
33,
76
] | 78 | [
"37+84=121",
"76-33=43",
"121-43=78"
] | Current State: 78:[37, 84, 33, 76], Operations: []
Exploring Operation: 37+84=121, Resulting Numbers: [33, 76, 121]
Generated Node #2: [33, 76, 121] from Operation: 37+84=121
Current State: 78:[33, 76, 121], Operations: ['37+84=121']
Exploring Operation: 76-33=43, Resulting Numbers: [121, 43]
Generated Node #3: [121, 43] from Operation: 76-33=43
Current State: 78:[121, 43], Operations: ['37+84=121', '76-33=43']
Exploring Operation: 121-43=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[37, 84, 33, 76], Operations: []
Exploring Operation: 37-33=4, Resulting Numbers: [84, 76, 4]
Generated Node #0,0: 78:[84, 76, 4] Operation: 37-33=4
Exploring Operation: 76-37=39, Resulting Numbers: [84, 33, 39]
Generated Node #0,1: 78:[84, 33, 39] Operation: 76-37=39
Exploring Operation: 84-76=8, Resulting Numbers: [37, 33, 8]
Generated Node #0,2: 78:[37, 33, 8] Operation: 84-76=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[84, 76, 4], Operations: ['37-33=4']
Exploring Operation: 84-76=8, Resulting Numbers: [4, 8]
Generated Node #0,0,0: 78:[4, 8] Operation: 84-76=8
Exploring Operation: 84/4=21, Resulting Numbers: [76, 21]
Generated Node #0,0,1: 78:[76, 21] Operation: 84/4=21
Exploring Operation: 84-4=80, Resulting Numbers: [76, 80]
Generated Node #0,0,2: 78:[76, 80] Operation: 84-4=80
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 78:[4, 8], Operations: ['37-33=4', '84-76=8']
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,78 unequal: No Solution
Exploring Operation: 4+8=12, Resulting Numbers: [12]
12,78 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 78:[76, 80], Operations: ['37-33=4', '84-4=80']
Exploring Operation: 76+80=156, Resulting Numbers: [156]
156,78 unequal: No Solution
Exploring Operation: 76*80=6080, Resulting Numbers: [6080]
6080,78 unequal: No Solution
Exploring Operation: 80-76=4, Resulting Numbers: [4]
4,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 78:[76, 21], Operations: ['37-33=4', '84/4=21']
Exploring Operation: 76-21=55, Resulting Numbers: [55]
55,78 unequal: No Solution
Exploring Operation: 76+21=97, Resulting Numbers: [97]
97,78 unequal: No Solution
Exploring Operation: 76*21=1596, Resulting Numbers: [1596]
1596,78 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 78:[37, 33, 8], Operations: ['84-76=8']
Exploring Operation: 33+8=41, Resulting Numbers: [37, 41]
Generated Node #0,2,0: 78:[37, 41] Operation: 33+8=41
Exploring Operation: 33-8=25, Resulting Numbers: [37, 25]
Generated Node #0,2,1: 78:[37, 25] Operation: 33-8=25
Exploring Operation: 37-33=4, Resulting Numbers: [8, 4]
Generated Node #0,2,2: 78:[8, 4] Operation: 37-33=4
Moving to Node #0,2,1
Current State: 78:[37, 25], Operations: ['84-76=8', '33-8=25']
Exploring Operation: 37*25=925, Resulting Numbers: [925]
925,78 unequal: No Solution
Exploring Operation: 37-25=12, Resulting Numbers: [12]
12,78 unequal: No Solution
Exploring Operation: 37+25=62, Resulting Numbers: [62]
62,78 unequal: No Solution
Moving to Node #0,2,2
Current State: 78:[8, 4], Operations: ['84-76=8', '37-33=4']
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,78 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,78 unequal: No Solution
Exploring Operation: 8+4=12, Resulting Numbers: [12]
12,78 unequal: No Solution
Moving to Node #0,2,0
Current State: 78:[37, 41], Operations: ['84-76=8', '33+8=41']
Exploring Operation: 41-37=4, Resulting Numbers: [4]
4,78 unequal: No Solution
Exploring Operation: 37+41=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[37, 84, 33, 76], Operations: []
Exploring Operation: 84-76=8, Resulting Numbers: [37, 33, 8]
Generated Node #0,2: 78:[37, 33, 8] Operation: 84-76=8
Moving to Node #0,2
Current State: 78:[37, 33, 8], Operations: ['84-76=8']
Exploring Operation: 33+8=41, Resulting Numbers: [37, 41]
Generated Node #0,2,0: 78:[37, 41] Operation: 33+8=41
Moving to Node #0,2,0
Current State: 78:[37, 41], Operations: ['84-76=8', '33+8=41']
Exploring Operation: 37+41=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_3 | mult_heuristic |
[
67,
35,
65,
89
] | 27 | [
"67-65=2",
"89-35=54",
"54/2=27"
] | Current State: 27:[67, 35, 65, 89], Operations: []
Exploring Operation: 67-65=2, Resulting Numbers: [35, 89, 2]
Generated Node #2: [35, 89, 2] from Operation: 67-65=2
Current State: 27:[35, 89, 2], Operations: ['67-65=2']
Exploring Operation: 89-35=54, Resulting Numbers: [2, 54]
Generated Node #3: [2, 54] from Operation: 89-35=54
Current State: 27:[2, 54], Operations: ['67-65=2', '89-35=54']
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[67, 35, 65, 89], Operations: []
Exploring Operation: 67-35=32, Resulting Numbers: [65, 89, 32]
Generated Node #0,0: 27:[65, 89, 32] Operation: 67-35=32
Exploring Operation: 89-65=24, Resulting Numbers: [67, 35, 24]
Generated Node #0,1: 27:[67, 35, 24] Operation: 89-65=24
Exploring Operation: 67-65=2, Resulting Numbers: [35, 89, 2]
Generated Node #0,2: 27:[35, 89, 2] Operation: 67-65=2
Exploring Operation: 89-67=22, Resulting Numbers: [35, 65, 22]
Generated Node #0,3: 27:[35, 65, 22] Operation: 89-67=22
Moving to Node #0,1
Current State: 27:[67, 35, 24], Operations: ['89-65=24']
Exploring Operation: 67+24=91, Resulting Numbers: [35, 91]
Generated Node #0,1,0: 27:[35, 91] Operation: 67+24=91
Exploring Operation: 67-24=43, Resulting Numbers: [35, 43]
Generated Node #0,1,1: 27:[35, 43] Operation: 67-24=43
Exploring Operation: 35-24=11, Resulting Numbers: [67, 11]
Generated Node #0,1,2: 27:[67, 11] Operation: 35-24=11
Exploring Operation: 67-35=32, Resulting Numbers: [24, 32]
Generated Node #0,1,3: 27:[24, 32] Operation: 67-35=32
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 27:[24, 32], Operations: ['89-65=24', '67-35=32']
Exploring Operation: 24*32=768, Resulting Numbers: [768]
768,27 unequal: No Solution
Exploring Operation: 24+32=56, Resulting Numbers: [56]
56,27 unequal: No Solution
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,27 unequal: No Solution
No 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: 27:[35, 43], Operations: ['89-65=24', '67-24=43']
Exploring Operation: 35*43=1505, Resulting Numbers: [1505]
1505,27 unequal: No Solution
Exploring Operation: 43-35=8, Resulting Numbers: [8]
8,27 unequal: No Solution
Exploring Operation: 35+43=78, Resulting Numbers: [78]
78,27 unequal: No Solution
No 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: 27:[67, 11], Operations: ['89-65=24', '35-24=11']
Exploring Operation: 67*11=737, Resulting Numbers: [737]
737,27 unequal: No Solution
Exploring Operation: 67+11=78, Resulting Numbers: [78]
78,27 unequal: No Solution
Exploring Operation: 67-11=56, Resulting Numbers: [56]
56,27 unequal: No Solution
No 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: 27:[35, 91], Operations: ['89-65=24', '67+24=91']
Exploring Operation: 91-35=56, Resulting Numbers: [56]
56,27 unequal: No Solution
Exploring Operation: 35+91=126, Resulting Numbers: [126]
126,27 unequal: No Solution
Exploring Operation: 35*91=3185, Resulting Numbers: [3185]
3185,27 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: 27:[35, 65, 22], Operations: ['89-67=22']
Exploring Operation: 65-22=43, Resulting Numbers: [35, 43]
Generated Node #0,3,0: 27:[35, 43] Operation: 65-22=43
Exploring Operation: 65-35=30, Resulting Numbers: [22, 30]
Generated Node #0,3,1: 27:[22, 30] Operation: 65-35=30
Exploring Operation: 35-22=13, Resulting Numbers: [65, 13]
Generated Node #0,3,2: 27:[65, 13] Operation: 35-22=13
Exploring Operation: 35+22=57, Resulting Numbers: [65, 57]
Generated Node #0,3,3: 27:[65, 57] Operation: 35+22=57
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 27:[22, 30], Operations: ['89-67=22', '65-35=30']
Exploring Operation: 30-22=8, Resulting Numbers: [8]
8,27 unequal: No Solution
Exploring Operation: 22+30=52, Resulting Numbers: [52]
52,27 unequal: No Solution
Exploring Operation: 22*30=660, Resulting Numbers: [660]
660,27 unequal: No Solution
No 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: 27:[35, 43], Operations: ['89-67=22', '65-22=43']
Exploring Operation: 43-35=8, Resulting Numbers: [8]
8,27 unequal: No Solution
Exploring Operation: 35+43=78, Resulting Numbers: [78]
78,27 unequal: No Solution
Exploring Operation: 35*43=1505, Resulting Numbers: [1505]
1505,27 unequal: No Solution
No 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: 27:[65, 13], Operations: ['89-67=22', '35-22=13']
Exploring Operation: 65*13=845, Resulting Numbers: [845]
845,27 unequal: No Solution
Exploring Operation: 65+13=78, Resulting Numbers: [78]
78,27 unequal: No Solution
Exploring Operation: 65/13=5, Resulting Numbers: [5]
5,27 unequal: No Solution
Exploring Operation: 65-13=52, Resulting Numbers: [52]
52,27 unequal: No Solution
No 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: 27:[65, 57], Operations: ['89-67=22', '35+22=57']
Exploring Operation: 65+57=122, Resulting Numbers: [122]
122,27 unequal: No Solution
Exploring Operation: 65*57=3705, Resulting Numbers: [3705]
3705,27 unequal: No Solution
Exploring Operation: 65-57=8, Resulting Numbers: [8]
8,27 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: 27:[35, 89, 2], Operations: ['67-65=2']
Exploring Operation: 35+2=37, Resulting Numbers: [89, 37]
Generated Node #0,2,0: 27:[89, 37] Operation: 35+2=37
Exploring Operation: 89-35=54, Resulting Numbers: [2, 54]
Generated Node #0,2,1: 27:[2, 54] Operation: 89-35=54
Exploring Operation: 89-2=87, Resulting Numbers: [35, 87]
Generated Node #0,2,2: 27:[35, 87] Operation: 89-2=87
Exploring Operation: 35-2=33, Resulting Numbers: [89, 33]
Generated Node #0,2,3: 27:[89, 33] Operation: 35-2=33
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 27:[2, 54], Operations: ['67-65=2', '89-35=54']
Exploring Operation: 2+54=56, Resulting Numbers: [56]
56,27 unequal: No Solution
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,27 unequal: No Solution
Exploring Operation: 2*54=108, Resulting Numbers: [108]
108,27 unequal: No Solution
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[67, 35, 65, 89], Operations: []
Exploring Operation: 67-65=2, Resulting Numbers: [35, 89, 2]
Generated Node #0,2: 27:[35, 89, 2] Operation: 67-65=2
Moving to Node #0,2
Current State: 27:[35, 89, 2], Operations: ['67-65=2']
Exploring Operation: 89-35=54, Resulting Numbers: [2, 54]
Generated Node #0,2,1: 27:[2, 54] Operation: 89-35=54
Moving to Node #0,2,1
Current State: 27:[2, 54], Operations: ['67-65=2', '89-35=54']
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.957465 | hs_4 | sum_heuristic |
[
63,
74,
56,
16
] | 83 | [
"74-63=11",
"56+16=72",
"11+72=83"
] | Current State: 83:[63, 74, 56, 16], Operations: []
Exploring Operation: 74-63=11, Resulting Numbers: [56, 16, 11]
Generated Node #2: [56, 16, 11] from Operation: 74-63=11
Current State: 83:[56, 16, 11], Operations: ['74-63=11']
Exploring Operation: 56+16=72, Resulting Numbers: [11, 72]
Generated Node #3: [11, 72] from Operation: 56+16=72
Current State: 83:[11, 72], Operations: ['74-63=11', '56+16=72']
Exploring Operation: 11+72=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[63, 74, 56, 16], Operations: []
Exploring Operation: 56+16=72, Resulting Numbers: [63, 74, 72]
Generated Node #0,0: 83:[63, 74, 72] Operation: 56+16=72
Exploring Operation: 63-16=47, Resulting Numbers: [74, 56, 47]
Generated Node #0,1: 83:[74, 56, 47] Operation: 63-16=47
Exploring Operation: 63+16=79, Resulting Numbers: [74, 56, 79]
Generated Node #0,2: 83:[74, 56, 79] Operation: 63+16=79
Exploring Operation: 74+16=90, Resulting Numbers: [63, 56, 90]
Generated Node #0,3: 83:[63, 56, 90] Operation: 74+16=90
Start Sub Search at level 1: Moving to Node #0,0
Current State: 83:[63, 74, 72], Operations: ['56+16=72']
Exploring Operation: 63+74=137, Resulting Numbers: [72, 137]
Generated Node #0,0,0: 83:[72, 137] Operation: 63+74=137
Exploring Operation: 72-63=9, Resulting Numbers: [74, 9]
Generated Node #0,0,1: 83:[74, 9] Operation: 72-63=9
Exploring Operation: 63+72=135, Resulting Numbers: [74, 135]
Generated Node #0,0,2: 83:[74, 135] Operation: 63+72=135
Exploring Operation: 74-63=11, Resulting Numbers: [72, 11]
Generated Node #0,0,3: 83:[72, 11] Operation: 74-63=11
Moving to Node #0,0,2
Current State: 83:[74, 135], Operations: ['56+16=72', '63+72=135']
Exploring Operation: 74+135=209, Resulting Numbers: [209]
209,83 unequal: No Solution
Exploring Operation: 135-74=61, Resulting Numbers: [61]
61,83 unequal: No Solution
Exploring Operation: 74*135=9990, Resulting Numbers: [9990]
9990,83 unequal: No Solution
Moving to Node #0,0,0
Current State: 83:[72, 137], Operations: ['56+16=72', '63+74=137']
Exploring Operation: 72*137=9864, Resulting Numbers: [9864]
9864,83 unequal: No Solution
Exploring Operation: 72+137=209, Resulting Numbers: [209]
209,83 unequal: No Solution
Exploring Operation: 137-72=65, Resulting Numbers: [65]
65,83 unequal: No Solution
Moving to Node #0,0,3
Current State: 83:[72, 11], Operations: ['56+16=72', '74-63=11']
Exploring Operation: 72+11=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Moving to Node #0
Current State: 83:[63, 74, 56, 16], Operations: []
Exploring Operation: 56+16=72, Resulting Numbers: [63, 74, 72]
Generated Node #0,0: 83:[63, 74, 72] Operation: 56+16=72
Moving to Node #0,0
Current State: 83:[63, 74, 72], Operations: ['56+16=72']
Exploring Operation: 74-63=11, Resulting Numbers: [72, 11]
Generated Node #0,0,3: 83:[72, 11] Operation: 74-63=11
Moving to Node #0,0,3
Current State: 83:[72, 11], Operations: ['56+16=72', '74-63=11']
Exploring Operation: 72+11=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | sum_heuristic |
[
81,
1,
44,
40
] | 76 | [
"81-1=80",
"44-40=4",
"80-4=76"
] | Current State: 76:[81, 1, 44, 40], Operations: []
Exploring Operation: 81-1=80, Resulting Numbers: [44, 40, 80]
Generated Node #2: [44, 40, 80] from Operation: 81-1=80
Current State: 76:[44, 40, 80], Operations: ['81-1=80']
Exploring Operation: 44-40=4, Resulting Numbers: [80, 4]
Generated Node #3: [80, 4] from Operation: 44-40=4
Current State: 76:[80, 4], Operations: ['81-1=80', '44-40=4']
Exploring Operation: 80-4=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[81, 1, 44, 40], Operations: []
Exploring Operation: 44-1=43, Resulting Numbers: [81, 40, 43]
Generated Node #0,0: 76:[81, 40, 43] Operation: 44-1=43
Exploring Operation: 44-40=4, Resulting Numbers: [81, 1, 4]
Generated Node #0,1: 76:[81, 1, 4] Operation: 44-40=4
Exploring Operation: 81-1=80, Resulting Numbers: [44, 40, 80]
Generated Node #0,2: 76:[44, 40, 80] Operation: 81-1=80
Exploring Operation: 81-40=41, Resulting Numbers: [1, 44, 41]
Generated Node #0,3: 76:[1, 44, 41] Operation: 81-40=41
Exploring Operation: 81-44=37, Resulting Numbers: [1, 40, 37]
Generated Node #0,4: 76:[1, 40, 37] Operation: 81-44=37
Moving to Node #0,4
Current State: 76:[1, 40, 37], Operations: ['81-44=37']
Exploring Operation: 1+37=38, Resulting Numbers: [40, 38]
Generated Node #0,4,0: 76:[40, 38] Operation: 1+37=38
Exploring Operation: 40-1=39, Resulting Numbers: [37, 39]
Generated Node #0,4,1: 76:[37, 39] Operation: 40-1=39
Exploring Operation: 1*40=40, Resulting Numbers: [37, 40]
Generated Node #0,4,2: 76:[37, 40] Operation: 1*40=40
Exploring Operation: 40-37=3, Resulting Numbers: [1, 3]
Generated Node #0,4,3: 76:[1, 3] Operation: 40-37=3
Exploring Operation: 40+37=77, Resulting Numbers: [1, 77]
Generated Node #0,4,4: 76:[1, 77] Operation: 40+37=77
Moving to Node #0,1
Current State: 76:[81, 1, 4], Operations: ['44-40=4']
Exploring Operation: 81-1=80, Resulting Numbers: [4, 80]
Generated Node #0,1,0: 76:[4, 80] Operation: 81-1=80
Exploring Operation: 81/1=81, Resulting Numbers: [4, 81]
Generated Node #0,1,1: 76:[4, 81] Operation: 81/1=81
Exploring Operation: 81-4=77, Resulting Numbers: [1, 77]
Generated Node #0,1,2: 76:[1, 77] Operation: 81-4=77
Exploring Operation: 81*1=81, Resulting Numbers: [4, 81]
Generated Node #0,1,3: 76:[4, 81] Operation: 81*1=81
Exploring Operation: 1*4=4, Resulting Numbers: [81, 4]
Generated Node #0,1,4: 76:[81, 4] Operation: 1*4=4
Moving to Node #0,3
Current State: 76:[1, 44, 41], Operations: ['81-40=41']
Exploring Operation: 44/1=44, Resulting Numbers: [41, 44]
Generated Node #0,3,0: 76:[41, 44] Operation: 44/1=44
Exploring Operation: 44-1=43, Resulting Numbers: [41, 43]
Generated Node #0,3,1: 76:[41, 43] Operation: 44-1=43
Exploring Operation: 41-1=40, Resulting Numbers: [44, 40]
Generated Node #0,3,2: 76:[44, 40] Operation: 41-1=40
Exploring Operation: 44-41=3, Resulting Numbers: [1, 3]
Generated Node #0,3,3: 76:[1, 3] Operation: 44-41=3
Exploring Operation: 1*44=44, Resulting Numbers: [41, 44]
Generated Node #0,3,4: 76:[41, 44] Operation: 1*44=44
Moving to Node #0,0
Current State: 76:[81, 40, 43], Operations: ['44-1=43']
Exploring Operation: 81+40=121, Resulting Numbers: [43, 121]
Generated Node #0,0,0: 76:[43, 121] Operation: 81+40=121
Exploring Operation: 43-40=3, Resulting Numbers: [81, 3]
Generated Node #0,0,1: 76:[81, 3] Operation: 43-40=3
Exploring Operation: 81-43=38, Resulting Numbers: [40, 38]
Generated Node #0,0,2: 76:[40, 38] Operation: 81-43=38
Exploring Operation: 81-40=41, Resulting Numbers: [43, 41]
Generated Node #0,0,3: 76:[43, 41] Operation: 81-40=41
Exploring Operation: 40+43=83, Resulting Numbers: [81, 83]
Generated Node #0,0,4: 76:[81, 83] Operation: 40+43=83
Moving to Node #0,2
Current State: 76:[44, 40, 80], Operations: ['81-1=80']
Exploring Operation: 80-44=36, Resulting Numbers: [40, 36]
Generated Node #0,2,0: 76:[40, 36] Operation: 80-44=36
Exploring Operation: 44+40=84, Resulting Numbers: [80, 84]
Generated Node #0,2,1: 76:[80, 84] Operation: 44+40=84
Exploring Operation: 80/40=2, Resulting Numbers: [44, 2]
Generated Node #0,2,2: 76:[44, 2] Operation: 80/40=2
Exploring Operation: 80-40=40, Resulting Numbers: [44, 40]
Generated Node #0,2,3: 76:[44, 40] Operation: 80-40=40
Exploring Operation: 44-40=4, Resulting Numbers: [80, 4]
Generated Node #0,2,4: 76:[80, 4] Operation: 44-40=4
Moving to Node #0,4,0
Current State: 76:[40, 38], Operations: ['81-44=37', '1+37=38']
Exploring Operation: 40-38=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 40*38=1520, Resulting Numbers: [1520]
1520,76 unequal: No Solution
Exploring Operation: 40+38=78, Resulting Numbers: [78]
78,76 unequal: No Solution
Moving to Node #0,4,3
Current State: 76:[1, 3], Operations: ['81-44=37', '40-37=3']
Exploring Operation: 1+3=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Exploring Operation: 1*3=3, Resulting Numbers: [3]
3,76 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,76 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,76 unequal: No Solution
Moving to Node #0,1,2
Current State: 76:[1, 77], Operations: ['44-40=4', '81-4=77']
Exploring Operation: 77-1=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[81, 1, 44, 40], Operations: []
Exploring Operation: 44-40=4, Resulting Numbers: [81, 1, 4]
Generated Node #0,1: 76:[81, 1, 4] Operation: 44-40=4
Moving to Node #0,1
Current State: 76:[81, 1, 4], Operations: ['44-40=4']
Exploring Operation: 81-4=77, Resulting Numbers: [1, 77]
Generated Node #0,1,2: 76:[1, 77] Operation: 81-4=77
Moving to Node #0,1,2
Current State: 76:[1, 77], Operations: ['44-40=4', '81-4=77']
Exploring Operation: 77-1=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 0.963542 | hs_5 | mult_heuristic |
[
30,
16,
80,
38
] | 63 | [
"30+38=68",
"80/16=5",
"68-5=63"
] | Current State: 63:[30, 16, 80, 38], Operations: []
Exploring Operation: 30+38=68, Resulting Numbers: [16, 80, 68]
Generated Node #2: [16, 80, 68] from Operation: 30+38=68
Current State: 63:[16, 80, 68], Operations: ['30+38=68']
Exploring Operation: 80/16=5, Resulting Numbers: [68, 5]
Generated Node #3: [68, 5] from Operation: 80/16=5
Current State: 63:[68, 5], Operations: ['30+38=68', '80/16=5']
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[30, 16, 80, 38], Operations: []
Exploring Operation: 30+38=68, Resulting Numbers: [16, 80, 68]
Generated Node #0,0: 63:[16, 80, 68] Operation: 30+38=68
Exploring Operation: 80-16=64, Resulting Numbers: [30, 38, 64]
Generated Node #0,1: 63:[30, 38, 64] Operation: 80-16=64
Exploring Operation: 38-16=22, Resulting Numbers: [30, 80, 22]
Generated Node #0,2: 63:[30, 80, 22] Operation: 38-16=22
Exploring Operation: 38-30=8, Resulting Numbers: [16, 80, 8]
Generated Node #0,3: 63:[16, 80, 8] Operation: 38-30=8
Start Sub Search at level 1: Moving to Node #0,3
Current State: 63:[16, 80, 8], Operations: ['38-30=8']
Exploring Operation: 80/8=10, Resulting Numbers: [16, 10]
Generated Node #0,3,0: 63:[16, 10] Operation: 80/8=10
Exploring Operation: 80/16=5, Resulting Numbers: [8, 5]
Generated Node #0,3,1: 63:[8, 5] Operation: 80/16=5
Exploring Operation: 80-16=64, Resulting Numbers: [8, 64]
Generated Node #0,3,2: 63:[8, 64] Operation: 80-16=64
Exploring Operation: 80-8=72, Resulting Numbers: [16, 72]
Generated Node #0,3,3: 63:[16, 72] Operation: 80-8=72
Moving to Node #0,3,2
Current State: 63:[8, 64], Operations: ['38-30=8', '80-16=64']
Exploring Operation: 64/8=8, Resulting Numbers: [8]
8,63 unequal: No Solution
Exploring Operation: 64-8=56, Resulting Numbers: [56]
56,63 unequal: No Solution
Exploring Operation: 8*64=512, Resulting Numbers: [512]
512,63 unequal: No Solution
Exploring Operation: 8+64=72, Resulting Numbers: [72]
72,63 unequal: No Solution
Moving to Node #0,3,1
Current State: 63:[8, 5], Operations: ['38-30=8', '80/16=5']
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,63 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,63 unequal: No Solution
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,63 unequal: No Solution
Moving to Node #0,3,0
Current State: 63:[16, 10], Operations: ['38-30=8', '80/8=10']
Exploring Operation: 16+10=26, Resulting Numbers: [26]
26,63 unequal: No Solution
Exploring Operation: 16*10=160, Resulting Numbers: [160]
160,63 unequal: No Solution
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,63 unequal: No Solution
Moving to Node #0,3,3
Current State: 63:[16, 72], Operations: ['38-30=8', '80-8=72']
Exploring Operation: 16+72=88, Resulting Numbers: [88]
88,63 unequal: No Solution
Exploring Operation: 72-16=56, Resulting Numbers: [56]
56,63 unequal: No Solution
Exploring Operation: 16*72=1152, Resulting Numbers: [1152]
1152,63 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[16, 80, 68], Operations: ['30+38=68']
Exploring Operation: 80-68=12, Resulting Numbers: [16, 12]
Generated Node #0,0,0: 63:[16, 12] Operation: 80-68=12
Exploring Operation: 68-16=52, Resulting Numbers: [80, 52]
Generated Node #0,0,1: 63:[80, 52] Operation: 68-16=52
Exploring Operation: 80-16=64, Resulting Numbers: [68, 64]
Generated Node #0,0,2: 63:[68, 64] Operation: 80-16=64
Exploring Operation: 80/16=5, Resulting Numbers: [68, 5]
Generated Node #0,0,3: 63:[68, 5] Operation: 80/16=5
Moving to Node #0,0,2
Current State: 63:[68, 64], Operations: ['30+38=68', '80-16=64']
Exploring Operation: 68-64=4, Resulting Numbers: [4]
4,63 unequal: No Solution
Exploring Operation: 68+64=132, Resulting Numbers: [132]
132,63 unequal: No Solution
Exploring Operation: 68*64=4352, Resulting Numbers: [4352]
4352,63 unequal: No Solution
Moving to Node #0,0,3
Current State: 63:[68, 5], Operations: ['30+38=68', '80/16=5']
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[30, 16, 80, 38], Operations: []
Exploring Operation: 30+38=68, Resulting Numbers: [16, 80, 68]
Generated Node #0,0: 63:[16, 80, 68] Operation: 30+38=68
Moving to Node #0,0
Current State: 63:[16, 80, 68], Operations: ['30+38=68']
Exploring Operation: 80/16=5, Resulting Numbers: [68, 5]
Generated Node #0,0,3: 63:[68, 5] Operation: 80/16=5
Moving to Node #0,0,3
Current State: 63:[68, 5], Operations: ['30+38=68', '80/16=5']
Exploring Operation: 68-5=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.971354 | hs_4 | sum_heuristic |
[
13,
75,
8,
43
] | 68 | [
"13+43=56",
"56/8=7",
"75-7=68"
] | Current State: 68:[13, 75, 8, 43], Operations: []
Exploring Operation: 13+43=56, Resulting Numbers: [75, 8, 56]
Generated Node #2: [75, 8, 56] from Operation: 13+43=56
Current State: 68:[75, 8, 56], Operations: ['13+43=56']
Exploring Operation: 56/8=7, Resulting Numbers: [75, 7]
Generated Node #3: [75, 7] from Operation: 56/8=7
Current State: 68:[75, 7], Operations: ['13+43=56', '56/8=7']
Exploring Operation: 75-7=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[13, 75, 8, 43], Operations: []
Exploring Operation: 75-43=32, Resulting Numbers: [13, 8, 32]
Generated Node #0,0: 68:[13, 8, 32] Operation: 75-43=32
Exploring Operation: 43-8=35, Resulting Numbers: [13, 75, 35]
Generated Node #0,1: 68:[13, 75, 35] Operation: 43-8=35
Moving to Node #0,0
Current State: 68:[13, 8, 32], Operations: ['75-43=32']
Exploring Operation: 32/8=4, Resulting Numbers: [13, 4]
Generated Node #0,0,0: 68:[13, 4] Operation: 32/8=4
Exploring Operation: 13-8=5, Resulting Numbers: [32, 5]
Generated Node #0,0,1: 68:[32, 5] Operation: 13-8=5
Moving to Node #0,1
Current State: 68:[13, 75, 35], Operations: ['43-8=35']
Exploring Operation: 75-35=40, Resulting Numbers: [13, 40]
Generated Node #0,1,0: 68:[13, 40] Operation: 75-35=40
Exploring Operation: 75-13=62, Resulting Numbers: [35, 62]
Generated Node #0,1,1: 68:[35, 62] Operation: 75-13=62
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 68:[35, 62], Operations: ['43-8=35', '75-13=62']
Exploring Operation: 62-35=27, Resulting Numbers: [27]
27,68 unequal: No Solution
Exploring Operation: 35+62=97, Resulting Numbers: [97]
97,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 68:[13, 40], Operations: ['43-8=35', '75-35=40']
Exploring Operation: 13+40=53, Resulting Numbers: [53]
53,68 unequal: No Solution
Exploring Operation: 40-13=27, Resulting Numbers: [27]
27,68 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: 68:[32, 5], Operations: ['75-43=32', '13-8=5']
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,68 unequal: No Solution
Exploring Operation: 32+5=37, Resulting Numbers: [37]
37,68 unequal: No Solution
Moving to Node #0,0,0
Current State: 68:[13, 4], Operations: ['75-43=32', '32/8=4']
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,68 unequal: No Solution
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,68 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
38,
73,
2,
10
] | 44 | [
"38/2=19",
"73-10=63",
"63-19=44"
] | Current State: 44:[38, 73, 2, 10], Operations: []
Exploring Operation: 38/2=19, Resulting Numbers: [73, 10, 19]
Generated Node #2: [73, 10, 19] from Operation: 38/2=19
Current State: 44:[73, 10, 19], Operations: ['38/2=19']
Exploring Operation: 73-10=63, Resulting Numbers: [19, 63]
Generated Node #3: [19, 63] from Operation: 73-10=63
Current State: 44:[19, 63], Operations: ['38/2=19', '73-10=63']
Exploring Operation: 63-19=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[38, 73, 2, 10], Operations: []
Exploring Operation: 73-38=35, Resulting Numbers: [2, 10, 35]
Generated Node #0,0: 44:[2, 10, 35] Operation: 73-38=35
Exploring Operation: 73-10=63, Resulting Numbers: [38, 2, 63]
Generated Node #0,1: 44:[38, 2, 63] Operation: 73-10=63
Moving to Node #0,0
Current State: 44:[2, 10, 35], Operations: ['73-38=35']
Exploring Operation: 10+35=45, Resulting Numbers: [2, 45]
Generated Node #0,0,0: 44:[2, 45] Operation: 10+35=45
Exploring Operation: 35-10=25, Resulting Numbers: [2, 25]
Generated Node #0,0,1: 44:[2, 25] Operation: 35-10=25
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 44:[2, 45], Operations: ['73-38=35', '10+35=45']
Exploring Operation: 2+45=47, Resulting Numbers: [47]
47,44 unequal: No Solution
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,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:[2, 25], Operations: ['73-38=35', '35-10=25']
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,44 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,44 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: 44:[38, 2, 63], Operations: ['73-10=63']
Exploring Operation: 38/2=19, Resulting Numbers: [63, 19]
Generated Node #0,1,0: 44:[63, 19] Operation: 38/2=19
Exploring Operation: 63-38=25, Resulting Numbers: [2, 25]
Generated Node #0,1,1: 44:[2, 25] Operation: 63-38=25
Moving to Node #0,1,1
Current State: 44:[2, 25], Operations: ['73-10=63', '63-38=25']
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,44 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,44 unequal: No Solution
Moving to Node #0,1,0
Current State: 44:[63, 19], Operations: ['73-10=63', '38/2=19']
Exploring Operation: 63+19=82, Resulting Numbers: [82]
82,44 unequal: No Solution
Exploring Operation: 63-19=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[38, 73, 2, 10], Operations: []
Exploring Operation: 73-10=63, Resulting Numbers: [38, 2, 63]
Generated Node #0,1: 44:[38, 2, 63] Operation: 73-10=63
Moving to Node #0,1
Current State: 44:[38, 2, 63], Operations: ['73-10=63']
Exploring Operation: 38/2=19, Resulting Numbers: [63, 19]
Generated Node #0,1,0: 44:[63, 19] Operation: 38/2=19
Moving to Node #0,1,0
Current State: 44:[63, 19], Operations: ['73-10=63', '38/2=19']
Exploring Operation: 63-19=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 0.984375 | hs_2 | sum_heuristic |
[
57,
45,
78,
14
] | 38 | [
"57+45=102",
"78-14=64",
"102-64=38"
] | Current State: 38:[57, 45, 78, 14], Operations: []
Exploring Operation: 57+45=102, Resulting Numbers: [78, 14, 102]
Generated Node #2: [78, 14, 102] from Operation: 57+45=102
Current State: 38:[78, 14, 102], Operations: ['57+45=102']
Exploring Operation: 78-14=64, Resulting Numbers: [102, 64]
Generated Node #3: [102, 64] from Operation: 78-14=64
Current State: 38:[102, 64], Operations: ['57+45=102', '78-14=64']
Exploring Operation: 102-64=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[57, 45, 78, 14], Operations: []
Exploring Operation: 78-45=33, Resulting Numbers: [57, 14, 33]
Generated Node #0,0: 38:[57, 14, 33] Operation: 78-45=33
Exploring Operation: 57-45=12, Resulting Numbers: [78, 14, 12]
Generated Node #0,1: 38:[78, 14, 12] Operation: 57-45=12
Exploring Operation: 78-57=21, Resulting Numbers: [45, 14, 21]
Generated Node #0,2: 38:[45, 14, 21] Operation: 78-57=21
Start Sub Search at level 1: Moving to Node #0,2
Current State: 38:[45, 14, 21], Operations: ['78-57=21']
Exploring Operation: 45-21=24, Resulting Numbers: [14, 24]
Generated Node #0,2,0: 38:[14, 24] Operation: 45-21=24
Exploring Operation: 45-14=31, Resulting Numbers: [21, 31]
Generated Node #0,2,1: 38:[21, 31] Operation: 45-14=31
Exploring Operation: 14+21=35, Resulting Numbers: [45, 35]
Generated Node #0,2,2: 38:[45, 35] Operation: 14+21=35
Moving to Node #0,2,1
Current State: 38:[21, 31], Operations: ['78-57=21', '45-14=31']
Exploring Operation: 31-21=10, Resulting Numbers: [10]
10,38 unequal: No Solution
Exploring Operation: 21*31=651, Resulting Numbers: [651]
651,38 unequal: No Solution
Exploring Operation: 21+31=52, Resulting Numbers: [52]
52,38 unequal: No Solution
Moving to Node #0,2,0
Current State: 38:[14, 24], Operations: ['78-57=21', '45-21=24']
Exploring Operation: 14*24=336, Resulting Numbers: [336]
336,38 unequal: No Solution
Exploring Operation: 14+24=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[57, 45, 78, 14], Operations: []
Exploring Operation: 78-57=21, Resulting Numbers: [45, 14, 21]
Generated Node #0,2: 38:[45, 14, 21] Operation: 78-57=21
Moving to Node #0,2
Current State: 38:[45, 14, 21], Operations: ['78-57=21']
Exploring Operation: 45-21=24, Resulting Numbers: [14, 24]
Generated Node #0,2,0: 38:[14, 24] Operation: 45-21=24
Moving to Node #0,2,0
Current State: 38:[14, 24], Operations: ['78-57=21', '45-21=24']
Exploring Operation: 14+24=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | sum_heuristic |
[
2,
36,
38,
48
] | 12 | [
"36-2=34",
"38-34=4",
"48/4=12"
] | Current State: 12:[2, 36, 38, 48], Operations: []
Exploring Operation: 36-2=34, Resulting Numbers: [38, 48, 34]
Generated Node #2: [38, 48, 34] from Operation: 36-2=34
Current State: 12:[38, 48, 34], Operations: ['36-2=34']
Exploring Operation: 38-34=4, Resulting Numbers: [48, 4]
Generated Node #3: [48, 4] from Operation: 38-34=4
Current State: 12:[48, 4], Operations: ['36-2=34', '38-34=4']
Exploring Operation: 48/4=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[2, 36, 38, 48], Operations: []
Exploring Operation: 48-36=12, Resulting Numbers: [2, 38, 12]
Generated Node #0,0: 12:[2, 38, 12] Operation: 48-36=12
Exploring Operation: 38-36=2, Resulting Numbers: [2, 48, 2]
Generated Node #0,1: 12:[2, 48, 2] Operation: 38-36=2
Exploring Operation: 48-38=10, Resulting Numbers: [2, 36, 10]
Generated Node #0,2: 12:[2, 36, 10] Operation: 48-38=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[2, 38, 12], Operations: ['48-36=12']
Exploring Operation: 38-12=26, Resulting Numbers: [2, 26]
Generated Node #0,0,0: 12:[2, 26] Operation: 38-12=26
Exploring Operation: 38/2=19, Resulting Numbers: [12, 19]
Generated Node #0,0,1: 12:[12, 19] Operation: 38/2=19
Exploring Operation: 38-2=36, Resulting Numbers: [12, 36]
Generated Node #0,0,2: 12:[12, 36] Operation: 38-2=36
Moving to Node #0,0,1
Current State: 12:[12, 19], Operations: ['48-36=12', '38/2=19']
Exploring Operation: 19-12=7, Resulting Numbers: [7]
7,12 unequal: No Solution
Exploring Operation: 12*19=228, Resulting Numbers: [228]
228,12 unequal: No Solution
Exploring Operation: 12+19=31, Resulting Numbers: [31]
31,12 unequal: No Solution
Moving to Node #0,0,0
Current State: 12:[2, 26], Operations: ['48-36=12', '38-12=26']
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,12 unequal: No Solution
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,12 unequal: No Solution
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,12 unequal: No Solution
Moving to Node #0,0,2
Current State: 12:[12, 36], Operations: ['48-36=12', '38-2=36']
Exploring Operation: 12+36=48, Resulting Numbers: [48]
48,12 unequal: No Solution
Exploring Operation: 36-12=24, Resulting Numbers: [24]
24,12 unequal: No Solution
Exploring Operation: 36/12=3, Resulting Numbers: [3]
3,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 12:[2, 36, 10], Operations: ['48-38=10']
Exploring Operation: 36-10=26, Resulting Numbers: [2, 26]
Generated Node #0,2,0: 12:[2, 26] Operation: 36-10=26
Exploring Operation: 36-2=34, Resulting Numbers: [10, 34]
Generated Node #0,2,1: 12:[10, 34] Operation: 36-2=34
Exploring Operation: 36/2=18, Resulting Numbers: [10, 18]
Generated Node #0,2,2: 12:[10, 18] Operation: 36/2=18
Moving to Node #0,2,2
Current State: 12:[10, 18], Operations: ['48-38=10', '36/2=18']
Exploring Operation: 10+18=28, Resulting Numbers: [28]
28,12 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,12 unequal: No Solution
Exploring Operation: 10*18=180, Resulting Numbers: [180]
180,12 unequal: No Solution
Moving to Node #0,2,0
Current State: 12:[2, 26], Operations: ['48-38=10', '36-10=26']
Exploring Operation: 26-2=24, Resulting Numbers: [24]
24,12 unequal: No Solution
Exploring Operation: 26/2=13, Resulting Numbers: [13]
13,12 unequal: No Solution
Exploring Operation: 2+26=28, Resulting Numbers: [28]
28,12 unequal: No Solution
Moving to Node #0,2,1
Current State: 12:[10, 34], Operations: ['48-38=10', '36-2=34']
Exploring Operation: 10*34=340, Resulting Numbers: [340]
340,12 unequal: No Solution
Exploring Operation: 34-10=24, Resulting Numbers: [24]
24,12 unequal: No Solution
Exploring Operation: 10+34=44, Resulting Numbers: [44]
44,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 12:[2, 48, 2], Operations: ['38-36=2']
Exploring Operation: 48/2=24, Resulting Numbers: [2, 24]
Generated Node #0,1,0: 12:[2, 24] Operation: 48/2=24
Exploring Operation: 48-2=46, Resulting Numbers: [2, 46]
Generated Node #0,1,1: 12:[2, 46] Operation: 48-2=46
Exploring Operation: 48/2=24, Resulting Numbers: [2, 24]
Generated Node #0,1,2: 12:[2, 24] Operation: 48/2=24
Moving to Node #0,1,0
Current State: 12:[2, 24], Operations: ['38-36=2', '48/2=24']
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[2, 36, 38, 48], Operations: []
Exploring Operation: 38-36=2, Resulting Numbers: [2, 48, 2]
Generated Node #0,1: 12:[2, 48, 2] Operation: 38-36=2
Moving to Node #0,1
Current State: 12:[2, 48, 2], Operations: ['38-36=2']
Exploring Operation: 48/2=24, Resulting Numbers: [2, 24]
Generated Node #0,1,0: 12:[2, 24] Operation: 48/2=24
Moving to Node #0,1,0
Current State: 12:[2, 24], Operations: ['38-36=2', '48/2=24']
Exploring Operation: 24/2=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_3 | sum_heuristic |
[
97,
9,
32,
40
] | 89 | [
"32+40=72",
"72/9=8",
"97-8=89"
] | Current State: 89:[97, 9, 32, 40], Operations: []
Exploring Operation: 32+40=72, Resulting Numbers: [97, 9, 72]
Generated Node #2: [97, 9, 72] from Operation: 32+40=72
Current State: 89:[97, 9, 72], Operations: ['32+40=72']
Exploring Operation: 72/9=8, Resulting Numbers: [97, 8]
Generated Node #3: [97, 8] from Operation: 72/9=8
Current State: 89:[97, 8], Operations: ['32+40=72', '72/9=8']
Exploring Operation: 97-8=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[97, 9, 32, 40], Operations: []
Exploring Operation: 9+32=41, Resulting Numbers: [97, 40, 41]
Generated Node #0,0: 89:[97, 40, 41] Operation: 9+32=41
Exploring Operation: 9+40=49, Resulting Numbers: [97, 32, 49]
Generated Node #0,1: 89:[97, 32, 49] Operation: 9+40=49
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[97, 40, 41], Operations: ['9+32=41']
Exploring Operation: 97-40=57, Resulting Numbers: [41, 57]
Generated Node #0,0,0: 89:[41, 57] Operation: 97-40=57
Exploring Operation: 40+41=81, Resulting Numbers: [97, 81]
Generated Node #0,0,1: 89:[97, 81] Operation: 40+41=81
Moving to Node #0,0,1
Current State: 89:[97, 81], Operations: ['9+32=41', '40+41=81']
Exploring Operation: 97-81=16, Resulting Numbers: [16]
16,89 unequal: No Solution
Exploring Operation: 97+81=178, Resulting Numbers: [178]
178,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[41, 57], Operations: ['9+32=41', '97-40=57']
Exploring Operation: 41+57=98, Resulting Numbers: [98]
98,89 unequal: No Solution
Exploring Operation: 57-41=16, Resulting Numbers: [16]
16,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
Current State: 89:[97, 32, 49], Operations: ['9+40=49']
Exploring Operation: 97-32=65, Resulting Numbers: [49, 65]
Generated Node #0,1,0: 89:[49, 65] Operation: 97-32=65
Exploring Operation: 32+49=81, Resulting Numbers: [97, 81]
Generated Node #0,1,1: 89:[97, 81] Operation: 32+49=81
Moving to Node #0,1,1
Current State: 89:[97, 81], Operations: ['9+40=49', '32+49=81']
Exploring Operation: 97-81=16, Resulting Numbers: [16]
16,89 unequal: No Solution
Exploring Operation: 97+81=178, Resulting Numbers: [178]
178,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[49, 65], Operations: ['9+40=49', '97-32=65']
Exploring Operation: 49+65=114, Resulting Numbers: [114]
114,89 unequal: No Solution
Exploring Operation: 65-49=16, Resulting Numbers: [16]
16,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
2,
66,
53,
19
] | 59 | [
"2*53=106",
"66-19=47",
"106-47=59"
] | Current State: 59:[2, 66, 53, 19], Operations: []
Exploring Operation: 2*53=106, Resulting Numbers: [66, 19, 106]
Generated Node #2: [66, 19, 106] from Operation: 2*53=106
Current State: 59:[66, 19, 106], Operations: ['2*53=106']
Exploring Operation: 66-19=47, Resulting Numbers: [106, 47]
Generated Node #3: [106, 47] from Operation: 66-19=47
Current State: 59:[106, 47], Operations: ['2*53=106', '66-19=47']
Exploring Operation: 106-47=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[2, 66, 53, 19], Operations: []
Exploring Operation: 2+19=21, Resulting Numbers: [66, 53, 21]
Generated Node #0,0: 59:[66, 53, 21] Operation: 2+19=21
Exploring Operation: 2+53=55, Resulting Numbers: [66, 19, 55]
Generated Node #0,1: 59:[66, 19, 55] Operation: 2+53=55
Exploring Operation: 66-2=64, Resulting Numbers: [53, 19, 64]
Generated Node #0,2: 59:[53, 19, 64] Operation: 66-2=64
Exploring Operation: 2*19=38, Resulting Numbers: [66, 53, 38]
Generated Node #0,3: 59:[66, 53, 38] Operation: 2*19=38
Start Sub Search at level 1: Moving to Node #0,3
Current State: 59:[66, 53, 38], Operations: ['2*19=38']
Exploring Operation: 66+38=104, Resulting Numbers: [53, 104]
Generated Node #0,3,0: 59:[53, 104] Operation: 66+38=104
Exploring Operation: 53+38=91, Resulting Numbers: [66, 91]
Generated Node #0,3,1: 59:[66, 91] Operation: 53+38=91
Exploring Operation: 66-38=28, Resulting Numbers: [53, 28]
Generated Node #0,3,2: 59:[53, 28] Operation: 66-38=28
Exploring Operation: 53-38=15, Resulting Numbers: [66, 15]
Generated Node #0,3,3: 59:[66, 15] Operation: 53-38=15
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 59:[53, 28], Operations: ['2*19=38', '66-38=28']
Exploring Operation: 53*28=1484, Resulting Numbers: [1484]
1484,59 unequal: No Solution
Exploring Operation: 53-28=25, Resulting Numbers: [25]
25,59 unequal: No Solution
Exploring Operation: 53+28=81, Resulting Numbers: [81]
81,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 59:[66, 91], Operations: ['2*19=38', '53+38=91']
Exploring Operation: 66*91=6006, Resulting Numbers: [6006]
6006,59 unequal: No Solution
Exploring Operation: 91-66=25, Resulting Numbers: [25]
25,59 unequal: No Solution
Exploring Operation: 66+91=157, Resulting Numbers: [157]
157,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 59:[53, 104], Operations: ['2*19=38', '66+38=104']
Exploring Operation: 104-53=51, Resulting Numbers: [51]
51,59 unequal: No Solution
Exploring Operation: 53*104=5512, Resulting Numbers: [5512]
5512,59 unequal: No Solution
Exploring Operation: 53+104=157, Resulting Numbers: [157]
157,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 59:[66, 15], Operations: ['2*19=38', '53-38=15']
Exploring Operation: 66+15=81, Resulting Numbers: [81]
81,59 unequal: No Solution
Exploring Operation: 66-15=51, Resulting Numbers: [51]
51,59 unequal: No Solution
Exploring Operation: 66*15=990, Resulting Numbers: [990]
990,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[66, 53, 21], Operations: ['2+19=21']
Exploring Operation: 66-21=45, Resulting Numbers: [53, 45]
Generated Node #0,0,0: 59:[53, 45] Operation: 66-21=45
Exploring Operation: 53+21=74, Resulting Numbers: [66, 74]
Generated Node #0,0,1: 59:[66, 74] Operation: 53+21=74
Exploring Operation: 66+21=87, Resulting Numbers: [53, 87]
Generated Node #0,0,2: 59:[53, 87] Operation: 66+21=87
Exploring Operation: 53-21=32, Resulting Numbers: [66, 32]
Generated Node #0,0,3: 59:[66, 32] Operation: 53-21=32
Moving to Node #0,0,0
Current State: 59:[53, 45], Operations: ['2+19=21', '66-21=45']
Exploring Operation: 53-45=8, Resulting Numbers: [8]
8,59 unequal: No Solution
Exploring Operation: 53*45=2385, Resulting Numbers: [2385]
2385,59 unequal: No Solution
Exploring Operation: 53+45=98, Resulting Numbers: [98]
98,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[66, 74], Operations: ['2+19=21', '53+21=74']
Exploring Operation: 66*74=4884, Resulting Numbers: [4884]
4884,59 unequal: No Solution
Exploring Operation: 66+74=140, Resulting Numbers: [140]
140,59 unequal: No Solution
Exploring Operation: 74-66=8, Resulting Numbers: [8]
8,59 unequal: No Solution
Moving to Node #0,0,3
Current State: 59:[66, 32], Operations: ['2+19=21', '53-21=32']
Exploring Operation: 66*32=2112, Resulting Numbers: [2112]
2112,59 unequal: No Solution
Exploring Operation: 66+32=98, Resulting Numbers: [98]
98,59 unequal: No Solution
Exploring Operation: 66-32=34, Resulting Numbers: [34]
34,59 unequal: No Solution
Moving to Node #0,0,2
Current State: 59:[53, 87], Operations: ['2+19=21', '66+21=87']
Exploring Operation: 53*87=4611, Resulting Numbers: [4611]
4611,59 unequal: No Solution
Exploring Operation: 87-53=34, Resulting Numbers: [34]
34,59 unequal: No Solution
Exploring Operation: 53+87=140, Resulting Numbers: [140]
140,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[66, 19, 55], Operations: ['2+53=55']
Exploring Operation: 55-19=36, Resulting Numbers: [66, 36]
Generated Node #0,1,0: 59:[66, 36] Operation: 55-19=36
Exploring Operation: 66-19=47, Resulting Numbers: [55, 47]
Generated Node #0,1,1: 59:[55, 47] Operation: 66-19=47
Exploring Operation: 66+19=85, Resulting Numbers: [55, 85]
Generated Node #0,1,2: 59:[55, 85] Operation: 66+19=85
Exploring Operation: 19+55=74, Resulting Numbers: [66, 74]
Generated Node #0,1,3: 59:[66, 74] Operation: 19+55=74
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 59:[55, 47], Operations: ['2+53=55', '66-19=47']
Exploring Operation: 55-47=8, Resulting Numbers: [8]
8,59 unequal: No Solution
Exploring Operation: 55+47=102, Resulting Numbers: [102]
102,59 unequal: No Solution
Exploring Operation: 55*47=2585, Resulting Numbers: [2585]
2585,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 59:[66, 74], Operations: ['2+53=55', '19+55=74']
Exploring Operation: 74-66=8, Resulting Numbers: [8]
8,59 unequal: No Solution
Exploring Operation: 66+74=140, Resulting Numbers: [140]
140,59 unequal: No Solution
Exploring Operation: 66*74=4884, Resulting Numbers: [4884]
4884,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 59:[66, 36], Operations: ['2+53=55', '55-19=36']
Exploring Operation: 66*36=2376, Resulting Numbers: [2376]
2376,59 unequal: No Solution
Exploring Operation: 66+36=102, Resulting Numbers: [102]
102,59 unequal: No Solution
Exploring Operation: 66-36=30, Resulting Numbers: [30]
30,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 59:[55, 85], Operations: ['2+53=55', '66+19=85']
Exploring Operation: 55*85=4675, Resulting Numbers: [4675]
4675,59 unequal: No Solution
Exploring Operation: 85-55=30, Resulting Numbers: [30]
30,59 unequal: No Solution
Exploring Operation: 55+85=140, Resulting Numbers: [140]
140,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 59:[53, 19, 64], Operations: ['66-2=64']
Exploring Operation: 19+64=83, Resulting Numbers: [53, 83]
Generated Node #0,2,0: 59:[53, 83] Operation: 19+64=83
Exploring Operation: 64-19=45, Resulting Numbers: [53, 45]
Generated Node #0,2,1: 59:[53, 45] Operation: 64-19=45
Exploring Operation: 53-19=34, Resulting Numbers: [64, 34]
Generated Node #0,2,2: 59:[64, 34] Operation: 53-19=34
Exploring Operation: 53+19=72, Resulting Numbers: [64, 72]
Generated Node #0,2,3: 59:[64, 72] Operation: 53+19=72
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 59:[64, 72], Operations: ['66-2=64', '53+19=72']
Exploring Operation: 64*72=4608, Resulting Numbers: [4608]
4608,59 unequal: No Solution
Exploring Operation: 72-64=8, Resulting Numbers: [8]
8,59 unequal: No Solution
Exploring Operation: 64+72=136, Resulting Numbers: [136]
136,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 59:[53, 45], Operations: ['66-2=64', '64-19=45']
Exploring Operation: 53-45=8, Resulting Numbers: [8]
8,59 unequal: No Solution
Exploring Operation: 53*45=2385, Resulting Numbers: [2385]
2385,59 unequal: No Solution
Exploring Operation: 53+45=98, Resulting Numbers: [98]
98,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 59:[53, 83], Operations: ['66-2=64', '19+64=83']
Exploring Operation: 53*83=4399, Resulting Numbers: [4399]
4399,59 unequal: No Solution
Exploring Operation: 83-53=30, Resulting Numbers: [30]
30,59 unequal: No Solution
Exploring Operation: 53+83=136, Resulting Numbers: [136]
136,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 59:[64, 34], Operations: ['66-2=64', '53-19=34']
Exploring Operation: 64*34=2176, Resulting Numbers: [2176]
2176,59 unequal: No Solution
Exploring Operation: 64-34=30, Resulting Numbers: [30]
30,59 unequal: No Solution
Exploring Operation: 64+34=98, Resulting Numbers: [98]
98,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_4 | sum_heuristic |
[
10,
94,
70,
20
] | 98 | [
"10+70=80",
"80/20=4",
"94+4=98"
] | Current State: 98:[10, 94, 70, 20], Operations: []
Exploring Operation: 10+70=80, Resulting Numbers: [94, 20, 80]
Generated Node #2: [94, 20, 80] from Operation: 10+70=80
Current State: 98:[94, 20, 80], Operations: ['10+70=80']
Exploring Operation: 80/20=4, Resulting Numbers: [94, 4]
Generated Node #3: [94, 4] from Operation: 80/20=4
Current State: 98:[94, 4], Operations: ['10+70=80', '80/20=4']
Exploring Operation: 94+4=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[10, 94, 70, 20], Operations: []
Exploring Operation: 70/10=7, Resulting Numbers: [94, 20, 7]
Generated Node #0,0: 98:[94, 20, 7] Operation: 70/10=7
Exploring Operation: 70-20=50, Resulting Numbers: [10, 94, 50]
Generated Node #0,1: 98:[10, 94, 50] Operation: 70-20=50
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[10, 94, 50], Operations: ['70-20=50']
Exploring Operation: 10+94=104, Resulting Numbers: [50, 104]
Generated Node #0,1,0: 98:[50, 104] Operation: 10+94=104
Exploring Operation: 50/10=5, Resulting Numbers: [94, 5]
Generated Node #0,1,1: 98:[94, 5] Operation: 50/10=5
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 98:[94, 5], Operations: ['70-20=50', '50/10=5']
Exploring Operation: 94+5=99, Resulting Numbers: [99]
99,98 unequal: No Solution
Exploring Operation: 94-5=89, Resulting Numbers: [89]
89,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 98:[50, 104], Operations: ['70-20=50', '10+94=104']
Exploring Operation: 50+104=154, Resulting Numbers: [154]
154,98 unequal: No Solution
Exploring Operation: 104-50=54, Resulting Numbers: [54]
54,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,0
Current State: 98:[94, 20, 7], Operations: ['70/10=7']
Exploring Operation: 94+7=101, Resulting Numbers: [20, 101]
Generated Node #0,0,0: 98:[20, 101] Operation: 94+7=101
Exploring Operation: 20-7=13, Resulting Numbers: [94, 13]
Generated Node #0,0,1: 98:[94, 13] Operation: 20-7=13
Moving to Node #0,0,1
Current State: 98:[94, 13], Operations: ['70/10=7', '20-7=13']
Exploring Operation: 94-13=81, Resulting Numbers: [81]
81,98 unequal: No Solution
Exploring Operation: 94+13=107, Resulting Numbers: [107]
107,98 unequal: No Solution
Moving to Node #0,0,0
Current State: 98:[20, 101], Operations: ['70/10=7', '94+7=101']
Exploring Operation: 20+101=121, Resulting Numbers: [121]
121,98 unequal: No Solution
Exploring Operation: 101-20=81, Resulting Numbers: [81]
81,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
55,
85,
11,
10
] | 19 | [
"55/11=5",
"85+10=95",
"95/5=19"
] | Current State: 19:[55, 85, 11, 10], Operations: []
Exploring Operation: 55/11=5, Resulting Numbers: [85, 10, 5]
Generated Node #2: [85, 10, 5] from Operation: 55/11=5
Current State: 19:[85, 10, 5], Operations: ['55/11=5']
Exploring Operation: 85+10=95, Resulting Numbers: [5, 95]
Generated Node #3: [5, 95] from Operation: 85+10=95
Current State: 19:[5, 95], Operations: ['55/11=5', '85+10=95']
Exploring Operation: 95/5=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[55, 85, 11, 10], Operations: []
Exploring Operation: 85-55=30, Resulting Numbers: [11, 10, 30]
Generated Node #0,0: 19:[11, 10, 30] Operation: 85-55=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[11, 10, 30], Operations: ['85-55=30']
Exploring Operation: 30-11=19, Resulting Numbers: [10, 19]
Generated Node #0,0,0: 19:[10, 19] Operation: 30-11=19
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 19:[10, 19], Operations: ['85-55=30', '30-11=19']
Exploring Operation: 10+19=29, Resulting Numbers: [29]
29,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
9,
51,
33,
85
] | 87 | [
"51-33=18",
"18/9=2",
"85+2=87"
] | Current State: 87:[9, 51, 33, 85], Operations: []
Exploring Operation: 51-33=18, Resulting Numbers: [9, 85, 18]
Generated Node #2: [9, 85, 18] from Operation: 51-33=18
Current State: 87:[9, 85, 18], Operations: ['51-33=18']
Exploring Operation: 18/9=2, Resulting Numbers: [85, 2]
Generated Node #3: [85, 2] from Operation: 18/9=2
Current State: 87:[85, 2], Operations: ['51-33=18', '18/9=2']
Exploring Operation: 85+2=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[9, 51, 33, 85], Operations: []
Exploring Operation: 51-9=42, Resulting Numbers: [33, 85, 42]
Generated Node #0,0: 87:[33, 85, 42] Operation: 51-9=42
Exploring Operation: 51+33=84, Resulting Numbers: [9, 85, 84]
Generated Node #0,1: 87:[9, 85, 84] Operation: 51+33=84
Exploring Operation: 85-51=34, Resulting Numbers: [9, 33, 34]
Generated Node #0,2: 87:[9, 33, 34] Operation: 85-51=34
Start Sub Search at level 1: Moving to Node #0,1
Current State: 87:[9, 85, 84], Operations: ['51+33=84']
Exploring Operation: 9+85=94, Resulting Numbers: [84, 94]
Generated Node #0,1,0: 87:[84, 94] Operation: 9+85=94
Exploring Operation: 85-84=1, Resulting Numbers: [9, 1]
Generated Node #0,1,1: 87:[9, 1] Operation: 85-84=1
Exploring Operation: 9+84=93, Resulting Numbers: [85, 93]
Generated Node #0,1,2: 87:[85, 93] Operation: 9+84=93
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 87:[9, 1], Operations: ['51+33=84', '85-84=1']
Exploring Operation: 9*1=9, Resulting Numbers: [9]
9,87 unequal: No Solution
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,87 unequal: No Solution
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 87:[85, 93], Operations: ['51+33=84', '9+84=93']
Exploring Operation: 85+93=178, Resulting Numbers: [178]
178,87 unequal: No Solution
Exploring Operation: 85*93=7905, Resulting Numbers: [7905]
7905,87 unequal: No Solution
Exploring Operation: 93-85=8, Resulting Numbers: [8]
8,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 87:[84, 94], Operations: ['51+33=84', '9+85=94']
Exploring Operation: 84*94=7896, Resulting Numbers: [7896]
7896,87 unequal: No Solution
Exploring Operation: 84+94=178, Resulting Numbers: [178]
178,87 unequal: No Solution
Exploring Operation: 94-84=10, Resulting Numbers: [10]
10,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 87:[9, 33, 34], Operations: ['85-51=34']
Exploring Operation: 33-9=24, Resulting Numbers: [34, 24]
Generated Node #0,2,0: 87:[34, 24] Operation: 33-9=24
Exploring Operation: 34-33=1, Resulting Numbers: [9, 1]
Generated Node #0,2,1: 87:[9, 1] Operation: 34-33=1
Exploring Operation: 34-9=25, Resulting Numbers: [33, 25]
Generated Node #0,2,2: 87:[33, 25] Operation: 34-9=25
Moving to Node #0,2,1
Current State: 87:[9, 1], Operations: ['85-51=34', '34-33=1']
Exploring Operation: 9/1=9, Resulting Numbers: [9]
9,87 unequal: No Solution
Exploring Operation: 9-1=8, Resulting Numbers: [8]
8,87 unequal: No Solution
Exploring Operation: 9*1=9, Resulting Numbers: [9]
9,87 unequal: No Solution
Moving to Node #0,2,2
Current State: 87:[33, 25], Operations: ['85-51=34', '34-9=25']
Exploring Operation: 33*25=825, Resulting Numbers: [825]
825,87 unequal: No Solution
Exploring Operation: 33-25=8, Resulting Numbers: [8]
8,87 unequal: No Solution
Exploring Operation: 33+25=58, Resulting Numbers: [58]
58,87 unequal: No Solution
Moving to Node #0,2,0
Current State: 87:[34, 24], Operations: ['85-51=34', '33-9=24']
Exploring Operation: 34*24=816, Resulting Numbers: [816]
816,87 unequal: No Solution
Exploring Operation: 34-24=10, Resulting Numbers: [10]
10,87 unequal: No Solution
Exploring Operation: 34+24=58, Resulting Numbers: [58]
58,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[33, 85, 42], Operations: ['51-9=42']
Exploring Operation: 85-42=43, Resulting Numbers: [33, 43]
Generated Node #0,0,0: 87:[33, 43] Operation: 85-42=43
Exploring Operation: 33+42=75, Resulting Numbers: [85, 75]
Generated Node #0,0,1: 87:[85, 75] Operation: 33+42=75
Exploring Operation: 42-33=9, Resulting Numbers: [85, 9]
Generated Node #0,0,2: 87:[85, 9] Operation: 42-33=9
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 87:[85, 9], Operations: ['51-9=42', '42-33=9']
Exploring Operation: 85*9=765, Resulting Numbers: [765]
765,87 unequal: No Solution
Exploring Operation: 85-9=76, Resulting Numbers: [76]
76,87 unequal: No Solution
Exploring Operation: 85+9=94, Resulting Numbers: [94]
94,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 87:[85, 75], Operations: ['51-9=42', '33+42=75']
Exploring Operation: 85*75=6375, Resulting Numbers: [6375]
6375,87 unequal: No Solution
Exploring Operation: 85-75=10, Resulting Numbers: [10]
10,87 unequal: No Solution
Exploring Operation: 85+75=160, Resulting Numbers: [160]
160,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 87:[33, 43], Operations: ['51-9=42', '85-42=43']
Exploring Operation: 33*43=1419, Resulting Numbers: [1419]
1419,87 unequal: No Solution
Exploring Operation: 43-33=10, Resulting Numbers: [10]
10,87 unequal: No Solution
Exploring Operation: 33+43=76, Resulting Numbers: [76]
76,87 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
72,
21,
7,
77
] | 70 | [
"77-72=5",
"21-7=14",
"5*14=70"
] | Current State: 70:[72, 21, 7, 77], Operations: []
Exploring Operation: 77-72=5, Resulting Numbers: [21, 7, 5]
Generated Node #2: [21, 7, 5] from Operation: 77-72=5
Current State: 70:[21, 7, 5], Operations: ['77-72=5']
Exploring Operation: 21-7=14, Resulting Numbers: [5, 14]
Generated Node #3: [5, 14] from Operation: 21-7=14
Current State: 70:[5, 14], Operations: ['77-72=5', '21-7=14']
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[72, 21, 7, 77], Operations: []
Exploring Operation: 77-7=70, Resulting Numbers: [72, 21, 70]
Generated Node #0,0: 70:[72, 21, 70] Operation: 77-7=70
Exploring Operation: 21/7=3, Resulting Numbers: [72, 77, 3]
Generated Node #0,1: 70:[72, 77, 3] Operation: 21/7=3
Exploring Operation: 77-72=5, Resulting Numbers: [21, 7, 5]
Generated Node #0,2: 70:[21, 7, 5] Operation: 77-72=5
Exploring Operation: 21-7=14, Resulting Numbers: [72, 77, 14]
Generated Node #0,3: 70:[72, 77, 14] Operation: 21-7=14
Start Sub Search at level 1: Moving to Node #0,2
Current State: 70:[21, 7, 5], Operations: ['77-72=5']
Exploring Operation: 21/7=3, Resulting Numbers: [5, 3]
Generated Node #0,2,0: 70:[5, 3] Operation: 21/7=3
Exploring Operation: 21-5=16, Resulting Numbers: [7, 16]
Generated Node #0,2,1: 70:[7, 16] Operation: 21-5=16
Exploring Operation: 21+7=28, Resulting Numbers: [5, 28]
Generated Node #0,2,2: 70:[5, 28] Operation: 21+7=28
Exploring Operation: 21-7=14, Resulting Numbers: [5, 14]
Generated Node #0,2,3: 70:[5, 14] Operation: 21-7=14
Moving to Node #0,2,3
Current State: 70:[5, 14], Operations: ['77-72=5', '21-7=14']
Exploring Operation: 5+14=19, Resulting Numbers: [19]
19,70 unequal: No Solution
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[72, 21, 7, 77], Operations: []
Exploring Operation: 77-72=5, Resulting Numbers: [21, 7, 5]
Generated Node #0,2: 70:[21, 7, 5] Operation: 77-72=5
Moving to Node #0,2
Current State: 70:[21, 7, 5], Operations: ['77-72=5']
Exploring Operation: 21-7=14, Resulting Numbers: [5, 14]
Generated Node #0,2,3: 70:[5, 14] Operation: 21-7=14
Moving to Node #0,2,3
Current State: 70:[5, 14], Operations: ['77-72=5', '21-7=14']
Exploring Operation: 5*14=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
6,
2,
69,
2
] | 85 | [
"6+2=8",
"2*8=16",
"69+16=85"
] | Current State: 85:[6, 2, 69, 2], Operations: []
Exploring Operation: 6+2=8, Resulting Numbers: [69, 8]
Generated Node #2: [69, 8] from Operation: 6+2=8
Current State: 85:[69, 8], Operations: ['6+2=8']
Exploring Operation: 2*8=16, Resulting Numbers: [69, 16]
Generated Node #3: [69, 16] from Operation: 2*8=16
Current State: 85:[69, 16], Operations: ['6+2=8', '2*8=16']
Exploring Operation: 69+16=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[6, 2, 69, 2], Operations: []
Exploring Operation: 2*2=4, Resulting Numbers: [6, 69, 4]
Generated Node #0,0: 85:[6, 69, 4] Operation: 2*2=4
Exploring Operation: 69+2=71, Resulting Numbers: [6, 2, 71]
Generated Node #0,1: 85:[6, 2, 71] Operation: 69+2=71
Exploring Operation: 2+2=4, Resulting Numbers: [6, 69, 4]
Generated Node #0,2: 85:[6, 69, 4] Operation: 2+2=4
Exploring Operation: 6+69=75, Resulting Numbers: [2, 2, 75]
Generated Node #0,3: 85:[2, 2, 75] Operation: 6+69=75
Exploring Operation: 2+69=71, Resulting Numbers: [6, 2, 71]
Generated Node #0,4: 85:[6, 2, 71] Operation: 2+69=71
Start Sub Search at level 1: Moving to Node #0,3
Current State: 85:[2, 2, 75], Operations: ['6+69=75']
Exploring Operation: 2+2=4, Resulting Numbers: [75, 4]
Generated Node #0,3,0: 85:[75, 4] Operation: 2+2=4
Exploring Operation: 2+75=77, Resulting Numbers: [2, 77]
Generated Node #0,3,1: 85:[2, 77] Operation: 2+75=77
Exploring Operation: 2/2=1, Resulting Numbers: [75, 1]
Generated Node #0,3,2: 85:[75, 1] Operation: 2/2=1
Exploring Operation: 2*2=4, Resulting Numbers: [75, 4]
Generated Node #0,3,3: 85:[75, 4] Operation: 2*2=4
Exploring Operation: 2+75=77, Resulting Numbers: [2, 77]
Generated Node #0,3,4: 85:[2, 77] Operation: 2+75=77
Moving to Node #0,3,0
Current State: 85:[75, 4], Operations: ['6+69=75', '2+2=4']
Exploring Operation: 75-4=71, Resulting Numbers: [71]
71,85 unequal: No Solution
Exploring Operation: 75+4=79, Resulting Numbers: [79]
79,85 unequal: No Solution
Exploring Operation: 75*4=300, Resulting Numbers: [300]
300,85 unequal: No Solution
Moving to Node #0,3,3
Current State: 85:[75, 4], Operations: ['6+69=75', '2*2=4']
Exploring Operation: 75+4=79, Resulting Numbers: [79]
79,85 unequal: No Solution
Exploring Operation: 75*4=300, Resulting Numbers: [300]
300,85 unequal: No Solution
Exploring Operation: 75-4=71, Resulting Numbers: [71]
71,85 unequal: No Solution
Moving to Node #0,3,1
Current State: 85:[2, 77], Operations: ['6+69=75', '2+75=77']
Exploring Operation: 2+77=79, Resulting Numbers: [79]
79,85 unequal: No Solution
Exploring Operation: 2*77=154, Resulting Numbers: [154]
154,85 unequal: No Solution
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,85 unequal: No Solution
Moving to Node #0,3,4
Current State: 85:[2, 77], Operations: ['6+69=75', '2+75=77']
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,85 unequal: No Solution
Exploring Operation: 2*77=154, Resulting Numbers: [154]
154,85 unequal: No Solution
Exploring Operation: 2+77=79, Resulting Numbers: [79]
79,85 unequal: No Solution
Moving to Node #0,3,2
Current State: 85:[75, 1], Operations: ['6+69=75', '2/2=1']
Exploring Operation: 75/1=75, Resulting Numbers: [75]
75,85 unequal: No Solution
Exploring Operation: 75-1=74, Resulting Numbers: [74]
74,85 unequal: No Solution
Exploring Operation: 75+1=76, Resulting Numbers: [76]
76,85 unequal: No Solution
Exploring Operation: 75*1=75, Resulting Numbers: [75]
75,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[6, 69, 4], Operations: ['2*2=4']
Exploring Operation: 6+4=10, Resulting Numbers: [69, 10]
Generated Node #0,0,0: 85:[69, 10] Operation: 6+4=10
Exploring Operation: 6+69=75, Resulting Numbers: [4, 75]
Generated Node #0,0,1: 85:[4, 75] Operation: 6+69=75
Exploring Operation: 6-4=2, Resulting Numbers: [69, 2]
Generated Node #0,0,2: 85:[69, 2] Operation: 6-4=2
Exploring Operation: 69+4=73, Resulting Numbers: [6, 73]
Generated Node #0,0,3: 85:[6, 73] Operation: 69+4=73
Exploring Operation: 69-4=65, Resulting Numbers: [6, 65]
Generated Node #0,0,4: 85:[6, 65] Operation: 69-4=65
Moving to Node #0,0,1
Current State: 85:[4, 75], Operations: ['2*2=4', '6+69=75']
Exploring Operation: 4*75=300, Resulting Numbers: [300]
300,85 unequal: No Solution
Exploring Operation: 4+75=79, Resulting Numbers: [79]
79,85 unequal: No Solution
Exploring Operation: 75-4=71, Resulting Numbers: [71]
71,85 unequal: No Solution
Moving to Node #0,0,3
Current State: 85:[6, 73], Operations: ['2*2=4', '69+4=73']
Exploring Operation: 73-6=67, Resulting Numbers: [67]
67,85 unequal: No Solution
Exploring Operation: 6*73=438, Resulting Numbers: [438]
438,85 unequal: No Solution
Exploring Operation: 6+73=79, Resulting Numbers: [79]
79,85 unequal: No Solution
Moving to Node #0,0,2
Current State: 85:[69, 2], Operations: ['2*2=4', '6-4=2']
Exploring Operation: 69+2=71, Resulting Numbers: [71]
71,85 unequal: No Solution
Exploring Operation: 69*2=138, Resulting Numbers: [138]
138,85 unequal: No Solution
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,85 unequal: No Solution
Moving to Node #0,0,0
Current State: 85:[69, 10], Operations: ['2*2=4', '6+4=10']
Exploring Operation: 69+10=79, Resulting Numbers: [79]
79,85 unequal: No Solution
Exploring Operation: 69-10=59, Resulting Numbers: [59]
59,85 unequal: No Solution
Exploring Operation: 69*10=690, Resulting Numbers: [690]
690,85 unequal: No Solution
Moving to Node #0,0,4
Current State: 85:[6, 65], Operations: ['2*2=4', '69-4=65']
Exploring Operation: 6*65=390, Resulting Numbers: [390]
390,85 unequal: No Solution
Exploring Operation: 65-6=59, Resulting Numbers: [59]
59,85 unequal: No Solution
Exploring Operation: 6+65=71, Resulting Numbers: [71]
71,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[6, 2, 71], Operations: ['69+2=71']
Exploring Operation: 6-2=4, Resulting Numbers: [71, 4]
Generated Node #0,1,0: 85:[71, 4] Operation: 6-2=4
Exploring Operation: 2+71=73, Resulting Numbers: [6, 73]
Generated Node #0,1,1: 85:[6, 73] Operation: 2+71=73
Exploring Operation: 6+71=77, Resulting Numbers: [2, 77]
Generated Node #0,1,2: 85:[2, 77] Operation: 6+71=77
Exploring Operation: 6+2=8, Resulting Numbers: [71, 8]
Generated Node #0,1,3: 85:[71, 8] Operation: 6+2=8
Exploring Operation: 6/2=3, Resulting Numbers: [71, 3]
Generated Node #0,1,4: 85:[71, 3] Operation: 6/2=3
Moving to Node #0,1,2
Current State: 85:[2, 77], Operations: ['69+2=71', '6+71=77']
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,85 unequal: No Solution
Exploring Operation: 2*77=154, Resulting Numbers: [154]
154,85 unequal: No Solution
Exploring Operation: 2+77=79, Resulting Numbers: [79]
79,85 unequal: No Solution
Moving to Node #0,1,1
Current State: 85:[6, 73], Operations: ['69+2=71', '2+71=73']
Exploring Operation: 73-6=67, Resulting Numbers: [67]
67,85 unequal: No Solution
Exploring Operation: 6*73=438, Resulting Numbers: [438]
438,85 unequal: No Solution
Exploring Operation: 6+73=79, Resulting Numbers: [79]
79,85 unequal: No Solution
Moving to Node #0,1,0
Current State: 85:[71, 4], Operations: ['69+2=71', '6-2=4']
Exploring Operation: 71+4=75, Resulting Numbers: [75]
75,85 unequal: No Solution
Exploring Operation: 71-4=67, Resulting Numbers: [67]
67,85 unequal: No Solution
Exploring Operation: 71*4=284, Resulting Numbers: [284]
284,85 unequal: No Solution
Moving to Node #0,1,4
Current State: 85:[71, 3], Operations: ['69+2=71', '6/2=3']
Exploring Operation: 71+3=74, Resulting Numbers: [74]
74,85 unequal: No Solution
Exploring Operation: 71*3=213, Resulting Numbers: [213]
213,85 unequal: No Solution
Exploring Operation: 71-3=68, Resulting Numbers: [68]
68,85 unequal: No Solution
Moving to Node #0,1,3
Current State: 85:[71, 8], Operations: ['69+2=71', '6+2=8']
Exploring Operation: 71+8=79, Resulting Numbers: [79]
79,85 unequal: No Solution
Exploring Operation: 71*8=568, Resulting Numbers: [568]
568,85 unequal: No Solution
Exploring Operation: 71-8=63, Resulting Numbers: [63]
63,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 85:[6, 69, 4], Operations: ['2+2=4']
Exploring Operation: 6+69=75, Resulting Numbers: [4, 75]
Generated Node #0,2,0: 85:[4, 75] Operation: 6+69=75
Exploring Operation: 69-4=65, Resulting Numbers: [6, 65]
Generated Node #0,2,1: 85:[6, 65] Operation: 69-4=65
Exploring Operation: 6+4=10, Resulting Numbers: [69, 10]
Generated Node #0,2,2: 85:[69, 10] Operation: 6+4=10
Exploring Operation: 69+4=73, Resulting Numbers: [6, 73]
Generated Node #0,2,3: 85:[6, 73] Operation: 69+4=73
Exploring Operation: 6-4=2, Resulting Numbers: [69, 2]
Generated Node #0,2,4: 85:[69, 2] Operation: 6-4=2
Moving to Node #0,2,0
Current State: 85:[4, 75], Operations: ['2+2=4', '6+69=75']
Exploring Operation: 75-4=71, Resulting Numbers: [71]
71,85 unequal: No Solution
Exploring Operation: 4*75=300, Resulting Numbers: [300]
300,85 unequal: No Solution
Exploring Operation: 4+75=79, Resulting Numbers: [79]
79,85 unequal: No Solution
Moving to Node #0,2,3
Current State: 85:[6, 73], Operations: ['2+2=4', '69+4=73']
Exploring Operation: 73-6=67, Resulting Numbers: [67]
67,85 unequal: No Solution
Exploring Operation: 6+73=79, Resulting Numbers: [79]
79,85 unequal: No Solution
Exploring Operation: 6*73=438, Resulting Numbers: [438]
438,85 unequal: No Solution
Moving to Node #0,2,4
Current State: 85:[69, 2], Operations: ['2+2=4', '6-4=2']
Exploring Operation: 69*2=138, Resulting Numbers: [138]
138,85 unequal: No Solution
Exploring Operation: 69+2=71, Resulting Numbers: [71]
71,85 unequal: No Solution
Exploring Operation: 69-2=67, Resulting Numbers: [67]
67,85 unequal: No Solution
Moving to Node #0,2,1
Current State: 85:[6, 65], Operations: ['2+2=4', '69-4=65']
Exploring Operation: 65-6=59, Resulting Numbers: [59]
59,85 unequal: No Solution
Exploring Operation: 6*65=390, Resulting Numbers: [390]
390,85 unequal: No Solution
Exploring Operation: 6+65=71, Resulting Numbers: [71]
71,85 unequal: No Solution
Moving to Node #0,2,2
Current State: 85:[69, 10], Operations: ['2+2=4', '6+4=10']
Exploring Operation: 69-10=59, Resulting Numbers: [59]
59,85 unequal: No Solution
Exploring Operation: 69+10=79, Resulting Numbers: [79]
79,85 unequal: No Solution
Exploring Operation: 69*10=690, Resulting Numbers: [690]
690,85 unequal: No Solution
No 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: 85:[6, 2, 71], Operations: ['2+69=71']
Exploring Operation: 2+71=73, Resulting Numbers: [6, 73]
Generated Node #0,4,0: 85:[6, 73] Operation: 2+71=73
Exploring Operation: 6+2=8, Resulting Numbers: [71, 8]
Generated Node #0,4,1: 85:[71, 8] Operation: 6+2=8
Exploring Operation: 6/2=3, Resulting Numbers: [71, 3]
Generated Node #0,4,2: 85:[71, 3] Operation: 6/2=3
Exploring Operation: 6-2=4, Resulting Numbers: [71, 4]
Generated Node #0,4,3: 85:[71, 4] Operation: 6-2=4
Exploring Operation: 6+71=77, Resulting Numbers: [2, 77]
Generated Node #0,4,4: 85:[2, 77] Operation: 6+71=77
Moving to Node #0,4,4
Current State: 85:[2, 77], Operations: ['2+69=71', '6+71=77']
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,85 unequal: No Solution
Exploring Operation: 2*77=154, Resulting Numbers: [154]
154,85 unequal: No Solution
Exploring Operation: 2+77=79, Resulting Numbers: [79]
79,85 unequal: No Solution
Moving to Node #0,4,0
Current State: 85:[6, 73], Operations: ['2+69=71', '2+71=73']
Exploring Operation: 6*73=438, Resulting Numbers: [438]
438,85 unequal: No Solution
Exploring Operation: 73-6=67, Resulting Numbers: [67]
67,85 unequal: No Solution
Exploring Operation: 6+73=79, Resulting Numbers: [79]
79,85 unequal: No Solution
Moving to Node #0,4,3
Current State: 85:[71, 4], Operations: ['2+69=71', '6-2=4']
Exploring Operation: 71*4=284, Resulting Numbers: [284]
284,85 unequal: No Solution
Exploring Operation: 71-4=67, Resulting Numbers: [67]
67,85 unequal: No Solution
Exploring Operation: 71+4=75, Resulting Numbers: [75]
75,85 unequal: No Solution
Moving to Node #0,4,2
Current State: 85:[71, 3], Operations: ['2+69=71', '6/2=3']
Exploring Operation: 71+3=74, Resulting Numbers: [74]
74,85 unequal: No Solution
Exploring Operation: 71-3=68, Resulting Numbers: [68]
68,85 unequal: No Solution
Exploring Operation: 71*3=213, Resulting Numbers: [213]
213,85 unequal: No Solution
Moving to Node #0,4,1
Current State: 85:[71, 8], Operations: ['2+69=71', '6+2=8']
Exploring Operation: 71*8=568, Resulting Numbers: [568]
568,85 unequal: No Solution
Exploring Operation: 71-8=63, Resulting Numbers: [63]
63,85 unequal: No Solution
Exploring Operation: 71+8=79, Resulting Numbers: [79]
79,85 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 |
[
79,
56,
19,
49
] | 28 | [
"79+19=98",
"56*49=2744",
"2744/98=28"
] | Current State: 28:[79, 56, 19, 49], Operations: []
Exploring Operation: 79+19=98, Resulting Numbers: [56, 49, 98]
Generated Node #2: [56, 49, 98] from Operation: 79+19=98
Current State: 28:[56, 49, 98], Operations: ['79+19=98']
Exploring Operation: 56*49=2744, Resulting Numbers: [98, 2744]
Generated Node #3: [98, 2744] from Operation: 56*49=2744
Current State: 28:[98, 2744], Operations: ['79+19=98', '56*49=2744']
Exploring Operation: 2744/98=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[79, 56, 19, 49], Operations: []
Exploring Operation: 56-49=7, Resulting Numbers: [79, 19, 7]
Generated Node #0,0: 28:[79, 19, 7] Operation: 56-49=7
Exploring Operation: 79-49=30, Resulting Numbers: [56, 19, 30]
Generated Node #0,1: 28:[56, 19, 30] Operation: 79-49=30
Exploring Operation: 79-56=23, Resulting Numbers: [19, 49, 23]
Generated Node #0,2: 28:[19, 49, 23] Operation: 79-56=23
Exploring Operation: 79-19=60, Resulting Numbers: [56, 49, 60]
Generated Node #0,3: 28:[56, 49, 60] Operation: 79-19=60
Start Sub Search at level 1: Moving to Node #0,2
Current State: 28:[19, 49, 23], Operations: ['79-56=23']
Exploring Operation: 19+23=42, Resulting Numbers: [49, 42]
Generated Node #0,2,0: 28:[49, 42] Operation: 19+23=42
Exploring Operation: 49-23=26, Resulting Numbers: [19, 26]
Generated Node #0,2,1: 28:[19, 26] Operation: 49-23=26
Exploring Operation: 23-19=4, Resulting Numbers: [49, 4]
Generated Node #0,2,2: 28:[49, 4] Operation: 23-19=4
Exploring Operation: 49-19=30, Resulting Numbers: [23, 30]
Generated Node #0,2,3: 28:[23, 30] Operation: 49-19=30
Moving to Node #0,2,1
Current State: 28:[19, 26], Operations: ['79-56=23', '49-23=26']
Exploring Operation: 19*26=494, Resulting Numbers: [494]
494,28 unequal: No Solution
Exploring Operation: 19+26=45, Resulting Numbers: [45]
45,28 unequal: No Solution
Exploring Operation: 26-19=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Moving to Node #0,2,3
Current State: 28:[23, 30], Operations: ['79-56=23', '49-19=30']
Exploring Operation: 23+30=53, Resulting Numbers: [53]
53,28 unequal: No Solution
Exploring Operation: 30-23=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Exploring Operation: 23*30=690, Resulting Numbers: [690]
690,28 unequal: No Solution
Moving to Node #0,2,2
Current State: 28:[49, 4], Operations: ['79-56=23', '23-19=4']
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,28 unequal: No Solution
Exploring Operation: 49*4=196, Resulting Numbers: [196]
196,28 unequal: No Solution
Exploring Operation: 49+4=53, Resulting Numbers: [53]
53,28 unequal: No Solution
Moving to Node #0,2,0
Current State: 28:[49, 42], Operations: ['79-56=23', '19+23=42']
Exploring Operation: 49*42=2058, Resulting Numbers: [2058]
2058,28 unequal: No Solution
Exploring Operation: 49-42=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Exploring Operation: 49+42=91, Resulting Numbers: [91]
91,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 28:[56, 19, 30], Operations: ['79-49=30']
Exploring Operation: 30-19=11, Resulting Numbers: [56, 11]
Generated Node #0,1,0: 28:[56, 11] Operation: 30-19=11
Exploring Operation: 56-30=26, Resulting Numbers: [19, 26]
Generated Node #0,1,1: 28:[19, 26] Operation: 56-30=26
Exploring Operation: 56-19=37, Resulting Numbers: [30, 37]
Generated Node #0,1,2: 28:[30, 37] Operation: 56-19=37
Exploring Operation: 56+19=75, Resulting Numbers: [30, 75]
Generated Node #0,1,3: 28:[30, 75] Operation: 56+19=75
Moving to Node #0,1,1
Current State: 28:[19, 26], Operations: ['79-49=30', '56-30=26']
Exploring Operation: 26-19=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Exploring Operation: 19*26=494, Resulting Numbers: [494]
494,28 unequal: No Solution
Exploring Operation: 19+26=45, Resulting Numbers: [45]
45,28 unequal: No Solution
Moving to Node #0,1,2
Current State: 28:[30, 37], Operations: ['79-49=30', '56-19=37']
Exploring Operation: 30+37=67, Resulting Numbers: [67]
67,28 unequal: No Solution
Exploring Operation: 37-30=7, Resulting Numbers: [7]
7,28 unequal: No Solution
Exploring Operation: 30*37=1110, Resulting Numbers: [1110]
1110,28 unequal: No Solution
Moving to Node #0,1,0
Current State: 28:[56, 11], Operations: ['79-49=30', '30-19=11']
Exploring Operation: 56*11=616, Resulting Numbers: [616]
616,28 unequal: No Solution
Exploring Operation: 56+11=67, Resulting Numbers: [67]
67,28 unequal: No Solution
Exploring Operation: 56-11=45, Resulting Numbers: [45]
45,28 unequal: No Solution
Moving to Node #0,1,3
Current State: 28:[30, 75], Operations: ['79-49=30', '56+19=75']
Exploring Operation: 75-30=45, Resulting Numbers: [45]
45,28 unequal: No Solution
Exploring Operation: 30+75=105, Resulting Numbers: [105]
105,28 unequal: No Solution
Exploring Operation: 30*75=2250, Resulting Numbers: [2250]
2250,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 28:[79, 19, 7], Operations: ['56-49=7']
Exploring Operation: 79-19=60, Resulting Numbers: [7, 60]
Generated Node #0,0,0: 28:[7, 60] Operation: 79-19=60
Exploring Operation: 79-7=72, Resulting Numbers: [19, 72]
Generated Node #0,0,1: 28:[19, 72] Operation: 79-7=72
Exploring Operation: 19-7=12, Resulting Numbers: [79, 12]
Generated Node #0,0,2: 28:[79, 12] Operation: 19-7=12
Exploring Operation: 19+7=26, Resulting Numbers: [79, 26]
Generated Node #0,0,3: 28:[79, 26] Operation: 19+7=26
Moving to Node #0,0,0
Current State: 28:[7, 60], Operations: ['56-49=7', '79-19=60']
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,28 unequal: No Solution
Exploring Operation: 7+60=67, Resulting Numbers: [67]
67,28 unequal: No Solution
Exploring Operation: 7*60=420, Resulting Numbers: [420]
420,28 unequal: No Solution
Moving to Node #0,0,1
Current State: 28:[19, 72], Operations: ['56-49=7', '79-7=72']
Exploring Operation: 19+72=91, Resulting Numbers: [91]
91,28 unequal: No Solution
Exploring Operation: 19*72=1368, Resulting Numbers: [1368]
1368,28 unequal: No Solution
Exploring Operation: 72-19=53, Resulting Numbers: [53]
53,28 unequal: No Solution
Moving to Node #0,0,3
Current State: 28:[79, 26], Operations: ['56-49=7', '19+7=26']
Exploring Operation: 79-26=53, Resulting Numbers: [53]
53,28 unequal: No Solution
Exploring Operation: 79+26=105, Resulting Numbers: [105]
105,28 unequal: No Solution
Exploring Operation: 79*26=2054, Resulting Numbers: [2054]
2054,28 unequal: No Solution
Moving to Node #0,0,2
Current State: 28:[79, 12], Operations: ['56-49=7', '19-7=12']
Exploring Operation: 79+12=91, Resulting Numbers: [91]
91,28 unequal: No Solution
Exploring Operation: 79*12=948, Resulting Numbers: [948]
948,28 unequal: No Solution
Exploring Operation: 79-12=67, Resulting Numbers: [67]
67,28 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 28:[56, 49, 60], Operations: ['79-19=60']
Exploring Operation: 56+49=105, Resulting Numbers: [60, 105]
Generated Node #0,3,0: 28:[60, 105] Operation: 56+49=105
Exploring Operation: 60-56=4, Resulting Numbers: [49, 4]
Generated Node #0,3,1: 28:[49, 4] Operation: 60-56=4
Exploring Operation: 60-49=11, Resulting Numbers: [56, 11]
Generated Node #0,3,2: 28:[56, 11] Operation: 60-49=11
Exploring Operation: 56-49=7, Resulting Numbers: [60, 7]
Generated Node #0,3,3: 28:[60, 7] Operation: 56-49=7
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 28:[49, 4], Operations: ['79-19=60', '60-56=4']
Exploring Operation: 49+4=53, Resulting Numbers: [53]
53,28 unequal: No Solution
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,28 unequal: No Solution
Exploring Operation: 49*4=196, Resulting Numbers: [196]
196,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 28:[56, 11], Operations: ['79-19=60', '60-49=11']
Exploring Operation: 56-11=45, Resulting Numbers: [45]
45,28 unequal: No Solution
Exploring Operation: 56*11=616, Resulting Numbers: [616]
616,28 unequal: No Solution
Exploring Operation: 56+11=67, Resulting Numbers: [67]
67,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 28:[60, 7], Operations: ['79-19=60', '56-49=7']
Exploring Operation: 60+7=67, Resulting Numbers: [67]
67,28 unequal: No Solution
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,28 unequal: No Solution
Exploring Operation: 60*7=420, Resulting Numbers: [420]
420,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 28:[60, 105], Operations: ['79-19=60', '56+49=105']
Exploring Operation: 60+105=165, Resulting Numbers: [165]
165,28 unequal: No Solution
Exploring Operation: 60*105=6300, Resulting Numbers: [6300]
6300,28 unequal: No Solution
Exploring Operation: 105-60=45, Resulting Numbers: [45]
45,28 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
95,
28,
32,
71
] | 96 | [
"95-71=24",
"32-28=4",
"24*4=96"
] | Current State: 96:[95, 28, 32, 71], Operations: []
Exploring Operation: 95-71=24, Resulting Numbers: [28, 32, 24]
Generated Node #2: [28, 32, 24] from Operation: 95-71=24
Current State: 96:[28, 32, 24], Operations: ['95-71=24']
Exploring Operation: 32-28=4, Resulting Numbers: [24, 4]
Generated Node #3: [24, 4] from Operation: 32-28=4
Current State: 96:[24, 4], Operations: ['95-71=24', '32-28=4']
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[95, 28, 32, 71], Operations: []
Exploring Operation: 95-71=24, Resulting Numbers: [28, 32, 24]
Generated Node #0,0: 96:[28, 32, 24] Operation: 95-71=24
Exploring Operation: 28+71=99, Resulting Numbers: [95, 32, 99]
Generated Node #0,1: 96:[95, 32, 99] Operation: 28+71=99
Moving to Node #0,0
Current State: 96:[28, 32, 24], Operations: ['95-71=24']
Exploring Operation: 32-28=4, Resulting Numbers: [24, 4]
Generated Node #0,0,0: 96:[24, 4] Operation: 32-28=4
Exploring Operation: 28-24=4, Resulting Numbers: [32, 4]
Generated Node #0,0,1: 96:[32, 4] Operation: 28-24=4
Moving to Node #0,1
Current State: 96:[95, 32, 99], Operations: ['28+71=99']
Exploring Operation: 95-32=63, Resulting Numbers: [99, 63]
Generated Node #0,1,0: 96:[99, 63] Operation: 95-32=63
Exploring Operation: 99-95=4, Resulting Numbers: [32, 4]
Generated Node #0,1,1: 96:[32, 4] Operation: 99-95=4
Moving to Node #0,0,0
Current State: 96:[24, 4], Operations: ['95-71=24', '32-28=4']
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[95, 28, 32, 71], Operations: []
Exploring Operation: 95-71=24, Resulting Numbers: [28, 32, 24]
Generated Node #0,0: 96:[28, 32, 24] Operation: 95-71=24
Moving to Node #0,0
Current State: 96:[28, 32, 24], Operations: ['95-71=24']
Exploring Operation: 32-28=4, Resulting Numbers: [24, 4]
Generated Node #0,0,0: 96:[24, 4] Operation: 32-28=4
Moving to Node #0,0,0
Current State: 96:[24, 4], Operations: ['95-71=24', '32-28=4']
Exploring Operation: 24*4=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 0.990451 | hs_2 | mult_heuristic |
[
11,
26,
22,
7
] | 31 | [
"22/11=2",
"26+7=33",
"33-2=31"
] | Current State: 31:[11, 26, 22, 7], Operations: []
Exploring Operation: 22/11=2, Resulting Numbers: [26, 7, 2]
Generated Node #2: [26, 7, 2] from Operation: 22/11=2
Current State: 31:[26, 7, 2], Operations: ['22/11=2']
Exploring Operation: 26+7=33, Resulting Numbers: [2, 33]
Generated Node #3: [2, 33] from Operation: 26+7=33
Current State: 31:[2, 33], Operations: ['22/11=2', '26+7=33']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[11, 26, 22, 7], Operations: []
Exploring Operation: 11+7=18, Resulting Numbers: [26, 22, 18]
Generated Node #0,0: 31:[26, 22, 18] Operation: 11+7=18
Exploring Operation: 22+7=29, Resulting Numbers: [11, 26, 29]
Generated Node #0,1: 31:[11, 26, 29] Operation: 22+7=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[26, 22, 18], Operations: ['11+7=18']
Exploring Operation: 22+18=40, Resulting Numbers: [26, 40]
Generated Node #0,0,0: 31:[26, 40] Operation: 22+18=40
Exploring Operation: 26+18=44, Resulting Numbers: [22, 44]
Generated Node #0,0,1: 31:[22, 44] Operation: 26+18=44
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 31:[26, 40], Operations: ['11+7=18', '22+18=40']
Exploring Operation: 26+40=66, Resulting Numbers: [66]
66,31 unequal: No Solution
Exploring Operation: 40-26=14, Resulting Numbers: [14]
14,31 unequal: No Solution
No 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: 31:[22, 44], Operations: ['11+7=18', '26+18=44']
Exploring Operation: 44/22=2, Resulting Numbers: [2]
2,31 unequal: No Solution
Exploring Operation: 44-22=22, Resulting Numbers: [22]
22,31 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: 31:[11, 26, 29], Operations: ['22+7=29']
Exploring Operation: 11+29=40, Resulting Numbers: [26, 40]
Generated Node #0,1,0: 31:[26, 40] Operation: 11+29=40
Exploring Operation: 11+26=37, Resulting Numbers: [29, 37]
Generated Node #0,1,1: 31:[29, 37] Operation: 11+26=37
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 31:[29, 37], Operations: ['22+7=29', '11+26=37']
Exploring Operation: 29+37=66, Resulting Numbers: [66]
66,31 unequal: No Solution
Exploring Operation: 37-29=8, Resulting Numbers: [8]
8,31 unequal: No Solution
No 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: 31:[26, 40], Operations: ['22+7=29', '11+29=40']
Exploring Operation: 26+40=66, Resulting Numbers: [66]
66,31 unequal: No Solution
Exploring Operation: 40-26=14, Resulting Numbers: [14]
14,31 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 |
[
82,
73,
10,
97
] | 96 | [
"82-73=9",
"97-10=87",
"9+87=96"
] | Current State: 96:[82, 73, 10, 97], Operations: []
Exploring Operation: 82-73=9, Resulting Numbers: [10, 97, 9]
Generated Node #2: [10, 97, 9] from Operation: 82-73=9
Current State: 96:[10, 97, 9], Operations: ['82-73=9']
Exploring Operation: 97-10=87, Resulting Numbers: [9, 87]
Generated Node #3: [9, 87] from Operation: 97-10=87
Current State: 96:[9, 87], Operations: ['82-73=9', '97-10=87']
Exploring Operation: 9+87=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[82, 73, 10, 97], Operations: []
Exploring Operation: 82-73=9, Resulting Numbers: [10, 97, 9]
Generated Node #0,0: 96:[10, 97, 9] Operation: 82-73=9
Exploring Operation: 97-82=15, Resulting Numbers: [73, 10, 15]
Generated Node #0,1: 96:[73, 10, 15] Operation: 97-82=15
Exploring Operation: 97-73=24, Resulting Numbers: [82, 10, 24]
Generated Node #0,2: 96:[82, 10, 24] Operation: 97-73=24
Moving to Node #0,0
Current State: 96:[10, 97, 9], Operations: ['82-73=9']
Exploring Operation: 10-9=1, Resulting Numbers: [97, 1]
Generated Node #0,0,0: 96:[97, 1] Operation: 10-9=1
Exploring Operation: 10+9=19, Resulting Numbers: [97, 19]
Generated Node #0,0,1: 96:[97, 19] Operation: 10+9=19
Exploring Operation: 10*9=90, Resulting Numbers: [97, 90]
Generated Node #0,0,2: 96:[97, 90] Operation: 10*9=90
Moving to Node #0,2
Current State: 96:[82, 10, 24], Operations: ['97-73=24']
Exploring Operation: 82-24=58, Resulting Numbers: [10, 58]
Generated Node #0,2,0: 96:[10, 58] Operation: 82-24=58
Exploring Operation: 82+10=92, Resulting Numbers: [24, 92]
Generated Node #0,2,1: 96:[24, 92] Operation: 82+10=92
Exploring Operation: 82+24=106, Resulting Numbers: [10, 106]
Generated Node #0,2,2: 96:[10, 106] Operation: 82+24=106
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 96:[24, 92], Operations: ['97-73=24', '82+10=92']
Exploring Operation: 24+92=116, Resulting Numbers: [116]
116,96 unequal: No Solution
Exploring Operation: 24*92=2208, Resulting Numbers: [2208]
2208,96 unequal: No Solution
Exploring Operation: 92-24=68, Resulting Numbers: [68]
68,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 96:[10, 58], Operations: ['97-73=24', '82-24=58']
Exploring Operation: 10*58=580, Resulting Numbers: [580]
580,96 unequal: No Solution
Exploring Operation: 58-10=48, Resulting Numbers: [48]
48,96 unequal: No Solution
Exploring Operation: 10+58=68, Resulting Numbers: [68]
68,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 96:[10, 106], Operations: ['97-73=24', '82+24=106']
Exploring Operation: 10+106=116, Resulting Numbers: [116]
116,96 unequal: No Solution
Exploring Operation: 10*106=1060, Resulting Numbers: [1060]
1060,96 unequal: No Solution
Exploring Operation: 106-10=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[82, 73, 10, 97], Operations: []
Exploring Operation: 97-73=24, Resulting Numbers: [82, 10, 24]
Generated Node #0,2: 96:[82, 10, 24] Operation: 97-73=24
Moving to Node #0,2
Current State: 96:[82, 10, 24], Operations: ['97-73=24']
Exploring Operation: 82+24=106, Resulting Numbers: [10, 106]
Generated Node #0,2,2: 96:[10, 106] Operation: 82+24=106
Moving to Node #0,2,2
Current State: 96:[10, 106], Operations: ['97-73=24', '82+24=106']
Exploring Operation: 106-10=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_3 | sum_heuristic |
[
7,
22,
53,
27
] | 41 | [
"22-7=15",
"53-27=26",
"15+26=41"
] | Current State: 41:[7, 22, 53, 27], Operations: []
Exploring Operation: 22-7=15, Resulting Numbers: [53, 27, 15]
Generated Node #2: [53, 27, 15] from Operation: 22-7=15
Current State: 41:[53, 27, 15], Operations: ['22-7=15']
Exploring Operation: 53-27=26, Resulting Numbers: [15, 26]
Generated Node #3: [15, 26] from Operation: 53-27=26
Current State: 41:[15, 26], Operations: ['22-7=15', '53-27=26']
Exploring Operation: 15+26=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[7, 22, 53, 27], Operations: []
Exploring Operation: 53-7=46, Resulting Numbers: [22, 27, 46]
Generated Node #0,0: 41:[22, 27, 46] Operation: 53-7=46
Exploring Operation: 7+22=29, Resulting Numbers: [53, 27, 29]
Generated Node #0,1: 41:[53, 27, 29] Operation: 7+22=29
Moving to Node #0,0
Current State: 41:[22, 27, 46], Operations: ['53-7=46']
Exploring Operation: 46-22=24, Resulting Numbers: [27, 24]
Generated Node #0,0,0: 41:[27, 24] Operation: 46-22=24
Exploring Operation: 22+27=49, Resulting Numbers: [46, 49]
Generated Node #0,0,1: 41:[46, 49] Operation: 22+27=49
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 41:[46, 49], Operations: ['53-7=46', '22+27=49']
Exploring Operation: 49-46=3, Resulting Numbers: [3]
3,41 unequal: No Solution
Exploring Operation: 46+49=95, Resulting Numbers: [95]
95,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 41:[27, 24], Operations: ['53-7=46', '46-22=24']
Exploring Operation: 27+24=51, Resulting Numbers: [51]
51,41 unequal: No Solution
Exploring Operation: 27-24=3, Resulting Numbers: [3]
3,41 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: 41:[53, 27, 29], Operations: ['7+22=29']
Exploring Operation: 27+29=56, Resulting Numbers: [53, 56]
Generated Node #0,1,0: 41:[53, 56] Operation: 27+29=56
Exploring Operation: 53-27=26, Resulting Numbers: [29, 26]
Generated Node #0,1,1: 41:[29, 26] Operation: 53-27=26
Moving to Node #0,1,0
Current State: 41:[53, 56], Operations: ['7+22=29', '27+29=56']
Exploring Operation: 56-53=3, Resulting Numbers: [3]
3,41 unequal: No Solution
Exploring Operation: 53+56=109, Resulting Numbers: [109]
109,41 unequal: No Solution
Moving to Node #0,1,1
Current State: 41:[29, 26], Operations: ['7+22=29', '53-27=26']
Exploring Operation: 29-26=3, Resulting Numbers: [3]
3,41 unequal: No Solution
Exploring Operation: 29+26=55, Resulting Numbers: [55]
55,41 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
14,
9,
7,
67
] | 49 | [
"14*9=126",
"126/7=18",
"67-18=49"
] | Current State: 49:[14, 9, 7, 67], Operations: []
Exploring Operation: 14*9=126, Resulting Numbers: [7, 67, 126]
Generated Node #2: [7, 67, 126] from Operation: 14*9=126
Current State: 49:[7, 67, 126], Operations: ['14*9=126']
Exploring Operation: 126/7=18, Resulting Numbers: [67, 18]
Generated Node #3: [67, 18] from Operation: 126/7=18
Current State: 49:[67, 18], Operations: ['14*9=126', '126/7=18']
Exploring Operation: 67-18=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[14, 9, 7, 67], Operations: []
Exploring Operation: 67-9=58, Resulting Numbers: [14, 7, 58]
Generated Node #0,0: 49:[14, 7, 58] Operation: 67-9=58
Exploring Operation: 14-9=5, Resulting Numbers: [7, 67, 5]
Generated Node #0,1: 49:[7, 67, 5] Operation: 14-9=5
Exploring Operation: 67-14=53, Resulting Numbers: [9, 7, 53]
Generated Node #0,2: 49:[9, 7, 53] Operation: 67-14=53
Moving to Node #0,2
Current State: 49:[9, 7, 53], Operations: ['67-14=53']
Exploring Operation: 53-7=46, Resulting Numbers: [9, 46]
Generated Node #0,2,0: 49:[9, 46] Operation: 53-7=46
Exploring Operation: 53-9=44, Resulting Numbers: [7, 44]
Generated Node #0,2,1: 49:[7, 44] Operation: 53-9=44
Exploring Operation: 9-7=2, Resulting Numbers: [53, 2]
Generated Node #0,2,2: 49:[53, 2] Operation: 9-7=2
Moving to Node #0,0
Current State: 49:[14, 7, 58], Operations: ['67-9=58']
Exploring Operation: 14-7=7, Resulting Numbers: [58, 7]
Generated Node #0,0,0: 49:[58, 7] Operation: 14-7=7
Exploring Operation: 58-14=44, Resulting Numbers: [7, 44]
Generated Node #0,0,1: 49:[7, 44] Operation: 58-14=44
Exploring Operation: 58-7=51, Resulting Numbers: [14, 51]
Generated Node #0,0,2: 49:[14, 51] Operation: 58-7=51
Moving to Node #0,1
Current State: 49:[7, 67, 5], Operations: ['14-9=5']
Exploring Operation: 67-5=62, Resulting Numbers: [7, 62]
Generated Node #0,1,0: 49:[7, 62] Operation: 67-5=62
Exploring Operation: 7+5=12, Resulting Numbers: [67, 12]
Generated Node #0,1,1: 49:[67, 12] Operation: 7+5=12
Exploring Operation: 67-7=60, Resulting Numbers: [5, 60]
Generated Node #0,1,2: 49:[5, 60] Operation: 67-7=60
Moving to Node #0,2,0
Current State: 49:[9, 46], Operations: ['67-14=53', '53-7=46']
Exploring Operation: 9+46=55, Resulting Numbers: [55]
55,49 unequal: No Solution
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,49 unequal: No Solution
Exploring Operation: 9*46=414, Resulting Numbers: [414]
414,49 unequal: No Solution
Moving to Node #0,2,1
Current State: 49:[7, 44], Operations: ['67-14=53', '53-9=44']
Exploring Operation: 7+44=51, Resulting Numbers: [51]
51,49 unequal: No Solution
Exploring Operation: 44-7=37, Resulting Numbers: [37]
37,49 unequal: No Solution
Exploring Operation: 7*44=308, Resulting Numbers: [308]
308,49 unequal: No Solution
Moving to Node #0,0,1
Current State: 49:[7, 44], Operations: ['67-9=58', '58-14=44']
Exploring Operation: 7+44=51, Resulting Numbers: [51]
51,49 unequal: No Solution
Exploring Operation: 7*44=308, Resulting Numbers: [308]
308,49 unequal: No Solution
Exploring Operation: 44-7=37, Resulting Numbers: [37]
37,49 unequal: No Solution
Moving to Node #0,2,2
Current State: 49:[53, 2], Operations: ['67-14=53', '9-7=2']
Exploring Operation: 53*2=106, Resulting Numbers: [106]
106,49 unequal: No Solution
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,49 unequal: No Solution
Exploring Operation: 53+2=55, Resulting Numbers: [55]
55,49 unequal: No Solution
Moving to Node #0,0,2
Current State: 49:[14, 51], Operations: ['67-9=58', '58-7=51']
Exploring Operation: 51-14=37, Resulting Numbers: [37]
37,49 unequal: No Solution
Exploring Operation: 14+51=65, Resulting Numbers: [65]
65,49 unequal: No Solution
Exploring Operation: 14*51=714, Resulting Numbers: [714]
714,49 unequal: No Solution
Moving to Node #0,0,0
Current State: 49:[58, 7], Operations: ['67-9=58', '14-7=7']
Exploring Operation: 58+7=65, Resulting Numbers: [65]
65,49 unequal: No Solution
Exploring Operation: 58-7=51, Resulting Numbers: [51]
51,49 unequal: No Solution
Exploring Operation: 58*7=406, Resulting Numbers: [406]
406,49 unequal: No Solution
Moving to Node #0,1,0
Current State: 49:[7, 62], Operations: ['14-9=5', '67-5=62']
Exploring Operation: 7+62=69, Resulting Numbers: [69]
69,49 unequal: No Solution
Exploring Operation: 7*62=434, Resulting Numbers: [434]
434,49 unequal: No Solution
Exploring Operation: 62-7=55, Resulting Numbers: [55]
55,49 unequal: No Solution
Moving to Node #0,1,2
Current State: 49:[5, 60], Operations: ['14-9=5', '67-7=60']
Exploring Operation: 60-5=55, Resulting Numbers: [55]
55,49 unequal: No Solution
Exploring Operation: 60/5=12, Resulting Numbers: [12]
12,49 unequal: No Solution
Exploring Operation: 5+60=65, Resulting Numbers: [65]
65,49 unequal: No Solution
Moving to Node #0,1,1
Current State: 49:[67, 12], Operations: ['14-9=5', '7+5=12']
Exploring Operation: 67+12=79, Resulting Numbers: [79]
79,49 unequal: No Solution
Exploring Operation: 67-12=55, Resulting Numbers: [55]
55,49 unequal: No Solution
Exploring Operation: 67*12=804, Resulting Numbers: [804]
804,49 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
16,
57,
20,
87
] | 11 | [
"57+87=144",
"144/16=9",
"20-9=11"
] | Current State: 11:[16, 57, 20, 87], Operations: []
Exploring Operation: 57+87=144, Resulting Numbers: [16, 20, 144]
Generated Node #2: [16, 20, 144] from Operation: 57+87=144
Current State: 11:[16, 20, 144], Operations: ['57+87=144']
Exploring Operation: 144/16=9, Resulting Numbers: [20, 9]
Generated Node #3: [20, 9] from Operation: 144/16=9
Current State: 11:[20, 9], Operations: ['57+87=144', '144/16=9']
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[16, 57, 20, 87], Operations: []
Exploring Operation: 87-57=30, Resulting Numbers: [16, 20, 30]
Generated Node #0,0: 11:[16, 20, 30] Operation: 87-57=30
Exploring Operation: 87-20=67, Resulting Numbers: [16, 57, 67]
Generated Node #0,1: 11:[16, 57, 67] Operation: 87-20=67
Exploring Operation: 57-20=37, Resulting Numbers: [16, 87, 37]
Generated Node #0,2: 11:[16, 87, 37] Operation: 57-20=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[16, 20, 30], Operations: ['87-57=30']
Exploring Operation: 30-16=14, Resulting Numbers: [20, 14]
Generated Node #0,0,0: 11:[20, 14] Operation: 30-16=14
Exploring Operation: 20-16=4, Resulting Numbers: [30, 4]
Generated Node #0,0,1: 11:[30, 4] Operation: 20-16=4
Exploring Operation: 30-20=10, Resulting Numbers: [16, 10]
Generated Node #0,0,2: 11:[16, 10] Operation: 30-20=10
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 11:[16, 10], Operations: ['87-57=30', '30-20=10']
Exploring Operation: 16+10=26, Resulting Numbers: [26]
26,11 unequal: No Solution
Exploring Operation: 16*10=160, Resulting Numbers: [160]
160,11 unequal: No Solution
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,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,0
Current State: 11:[20, 14], Operations: ['87-57=30', '30-16=14']
Exploring Operation: 20+14=34, Resulting Numbers: [34]
34,11 unequal: No Solution
Exploring Operation: 20*14=280, Resulting Numbers: [280]
280,11 unequal: No Solution
Exploring Operation: 20-14=6, Resulting Numbers: [6]
6,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:[30, 4], Operations: ['87-57=30', '20-16=4']
Exploring Operation: 30*4=120, Resulting Numbers: [120]
120,11 unequal: No Solution
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,11 unequal: No Solution
Exploring Operation: 30+4=34, Resulting Numbers: [34]
34,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,1
Current State: 11:[16, 57, 67], Operations: ['87-20=67']
Exploring Operation: 67-57=10, Resulting Numbers: [16, 10]
Generated Node #0,1,0: 11:[16, 10] Operation: 67-57=10
Exploring Operation: 57-16=41, Resulting Numbers: [67, 41]
Generated Node #0,1,1: 11:[67, 41] Operation: 57-16=41
Exploring Operation: 67-16=51, Resulting Numbers: [57, 51]
Generated Node #0,1,2: 11:[57, 51] Operation: 67-16=51
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 11:[16, 10], Operations: ['87-20=67', '67-57=10']
Exploring Operation: 16+10=26, Resulting Numbers: [26]
26,11 unequal: No Solution
Exploring Operation: 16*10=160, Resulting Numbers: [160]
160,11 unequal: No Solution
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,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,1,1
Current State: 11:[67, 41], Operations: ['87-20=67', '57-16=41']
Exploring Operation: 67-41=26, Resulting Numbers: [26]
26,11 unequal: No Solution
Exploring Operation: 67*41=2747, Resulting Numbers: [2747]
2747,11 unequal: No Solution
Exploring Operation: 67+41=108, Resulting Numbers: [108]
108,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,1,2
Current State: 11:[57, 51], Operations: ['87-20=67', '67-16=51']
Exploring Operation: 57-51=6, Resulting Numbers: [6]
6,11 unequal: No Solution
Exploring Operation: 57+51=108, Resulting Numbers: [108]
108,11 unequal: No Solution
Exploring Operation: 57*51=2907, Resulting Numbers: [2907]
2907,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:[16, 87, 37], Operations: ['57-20=37']
Exploring Operation: 37-16=21, Resulting Numbers: [87, 21]
Generated Node #0,2,0: 11:[87, 21] Operation: 37-16=21
Exploring Operation: 87-37=50, Resulting Numbers: [16, 50]
Generated Node #0,2,1: 11:[16, 50] Operation: 87-37=50
Exploring Operation: 87-16=71, Resulting Numbers: [37, 71]
Generated Node #0,2,2: 11:[37, 71] Operation: 87-16=71
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 11:[16, 50], Operations: ['57-20=37', '87-37=50']
Exploring Operation: 16+50=66, Resulting Numbers: [66]
66,11 unequal: No Solution
Exploring Operation: 16*50=800, Resulting Numbers: [800]
800,11 unequal: No Solution
Exploring Operation: 50-16=34, Resulting Numbers: [34]
34,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,0
Current State: 11:[87, 21], Operations: ['57-20=37', '37-16=21']
Exploring Operation: 87*21=1827, Resulting Numbers: [1827]
1827,11 unequal: No Solution
Exploring Operation: 87-21=66, Resulting Numbers: [66]
66,11 unequal: No Solution
Exploring Operation: 87+21=108, Resulting Numbers: [108]
108,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:[37, 71], Operations: ['57-20=37', '87-16=71']
Exploring Operation: 37+71=108, Resulting Numbers: [108]
108,11 unequal: No Solution
Exploring Operation: 37*71=2627, Resulting Numbers: [2627]
2627,11 unequal: No Solution
Exploring Operation: 71-37=34, Resulting Numbers: [34]
34,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 |
[
84,
73,
20,
12
] | 19 | [
"84-73=11",
"20-12=8",
"11+8=19"
] | Current State: 19:[84, 73, 20, 12], Operations: []
Exploring Operation: 84-73=11, Resulting Numbers: [20, 12, 11]
Generated Node #2: [20, 12, 11] from Operation: 84-73=11
Current State: 19:[20, 12, 11], Operations: ['84-73=11']
Exploring Operation: 20-12=8, Resulting Numbers: [11, 8]
Generated Node #3: [11, 8] from Operation: 20-12=8
Current State: 19:[11, 8], Operations: ['84-73=11', '20-12=8']
Exploring Operation: 11+8=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[84, 73, 20, 12], Operations: []
Exploring Operation: 84/12=7, Resulting Numbers: [73, 20, 7]
Generated Node #0,0: 19:[73, 20, 7] Operation: 84/12=7
Exploring Operation: 84-20=64, Resulting Numbers: [73, 12, 64]
Generated Node #0,1: 19:[73, 12, 64] Operation: 84-20=64
Exploring Operation: 84-73=11, Resulting Numbers: [20, 12, 11]
Generated Node #0,2: 19:[20, 12, 11] Operation: 84-73=11
Moving to Node #0,2
Current State: 19:[20, 12, 11], Operations: ['84-73=11']
Exploring Operation: 20-12=8, Resulting Numbers: [11, 8]
Generated Node #0,2,0: 19:[11, 8] Operation: 20-12=8
Exploring Operation: 12+11=23, Resulting Numbers: [20, 23]
Generated Node #0,2,1: 19:[20, 23] Operation: 12+11=23
Exploring Operation: 20-11=9, Resulting Numbers: [12, 9]
Generated Node #0,2,2: 19:[12, 9] Operation: 20-11=9
Moving to Node #0,0
Current State: 19:[73, 20, 7], Operations: ['84/12=7']
Exploring Operation: 20-7=13, Resulting Numbers: [73, 13]
Generated Node #0,0,0: 19:[73, 13] Operation: 20-7=13
Exploring Operation: 73-20=53, Resulting Numbers: [7, 53]
Generated Node #0,0,1: 19:[7, 53] Operation: 73-20=53
Exploring Operation: 73-7=66, Resulting Numbers: [20, 66]
Generated Node #0,0,2: 19:[20, 66] Operation: 73-7=66
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 19:[7, 53], Operations: ['84/12=7', '73-20=53']
Exploring Operation: 53-7=46, Resulting Numbers: [46]
46,19 unequal: No Solution
Exploring Operation: 7+53=60, Resulting Numbers: [60]
60,19 unequal: No Solution
Exploring Operation: 7*53=371, Resulting Numbers: [371]
371,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 19:[20, 66], Operations: ['84/12=7', '73-7=66']
Exploring Operation: 66-20=46, Resulting Numbers: [46]
46,19 unequal: No Solution
Exploring Operation: 20*66=1320, Resulting Numbers: [1320]
1320,19 unequal: No Solution
Exploring Operation: 20+66=86, Resulting Numbers: [86]
86,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[73, 13], Operations: ['84/12=7', '20-7=13']
Exploring Operation: 73-13=60, Resulting Numbers: [60]
60,19 unequal: No Solution
Exploring Operation: 73+13=86, Resulting Numbers: [86]
86,19 unequal: No Solution
Exploring Operation: 73*13=949, Resulting Numbers: [949]
949,19 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: 19:[73, 12, 64], Operations: ['84-20=64']
Exploring Operation: 64-12=52, Resulting Numbers: [73, 52]
Generated Node #0,1,0: 19:[73, 52] Operation: 64-12=52
Exploring Operation: 73-12=61, Resulting Numbers: [64, 61]
Generated Node #0,1,1: 19:[64, 61] Operation: 73-12=61
Exploring Operation: 73-64=9, Resulting Numbers: [12, 9]
Generated Node #0,1,2: 19:[12, 9] Operation: 73-64=9
Moving to Node #0,2,1
Current State: 19:[20, 23], Operations: ['84-73=11', '12+11=23']
Exploring Operation: 20+23=43, Resulting Numbers: [43]
43,19 unequal: No Solution
Exploring Operation: 20*23=460, Resulting Numbers: [460]
460,19 unequal: No Solution
Exploring Operation: 23-20=3, Resulting Numbers: [3]
3,19 unequal: No Solution
Moving to Node #0,2,2
Current State: 19:[12, 9], Operations: ['84-73=11', '20-11=9']
Exploring Operation: 12*9=108, Resulting Numbers: [108]
108,19 unequal: No Solution
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,19 unequal: No Solution
Exploring Operation: 12+9=21, Resulting Numbers: [21]
21,19 unequal: No Solution
Moving to Node #0,1,2
Current State: 19:[12, 9], Operations: ['84-20=64', '73-64=9']
Exploring Operation: 12*9=108, Resulting Numbers: [108]
108,19 unequal: No Solution
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,19 unequal: No Solution
Exploring Operation: 12+9=21, Resulting Numbers: [21]
21,19 unequal: No Solution
Moving to Node #0,2,0
Current State: 19:[11, 8], Operations: ['84-73=11', '20-12=8']
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,19 unequal: No Solution
Exploring Operation: 11+8=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[84, 73, 20, 12], Operations: []
Exploring Operation: 84-73=11, Resulting Numbers: [20, 12, 11]
Generated Node #0,2: 19:[20, 12, 11] Operation: 84-73=11
Moving to Node #0,2
Current State: 19:[20, 12, 11], Operations: ['84-73=11']
Exploring Operation: 20-12=8, Resulting Numbers: [11, 8]
Generated Node #0,2,0: 19:[11, 8] Operation: 20-12=8
Moving to Node #0,2,0
Current State: 19:[11, 8], Operations: ['84-73=11', '20-12=8']
Exploring Operation: 11+8=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 0.96875 | hs_3 | sum_heuristic |
[
18,
88,
11,
15
] | 17 | [
"18-11=7",
"15*7=105",
"105-88=17"
] | Current State: 17:[18, 88, 11, 15], Operations: []
Exploring Operation: 18-11=7, Resulting Numbers: [88, 15, 7]
Generated Node #2: [88, 15, 7] from Operation: 18-11=7
Current State: 17:[88, 15, 7], Operations: ['18-11=7']
Exploring Operation: 15*7=105, Resulting Numbers: [88, 105]
Generated Node #3: [88, 105] from Operation: 15*7=105
Current State: 17:[88, 105], Operations: ['18-11=7', '15*7=105']
Exploring Operation: 105-88=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[18, 88, 11, 15], Operations: []
Exploring Operation: 88/11=8, Resulting Numbers: [18, 15, 8]
Generated Node #0,0: 17:[18, 15, 8] Operation: 88/11=8
Exploring Operation: 88-18=70, Resulting Numbers: [11, 15, 70]
Generated Node #0,1: 17:[11, 15, 70] Operation: 88-18=70
Exploring Operation: 88-11=77, Resulting Numbers: [18, 15, 77]
Generated Node #0,2: 17:[18, 15, 77] Operation: 88-11=77
Moving to Node #0,0
Current State: 17:[18, 15, 8], Operations: ['88/11=8']
Exploring Operation: 15+8=23, Resulting Numbers: [18, 23]
Generated Node #0,0,0: 17:[18, 23] Operation: 15+8=23
Exploring Operation: 18-8=10, Resulting Numbers: [15, 10]
Generated Node #0,0,1: 17:[15, 10] Operation: 18-8=10
Exploring Operation: 18+8=26, Resulting Numbers: [15, 26]
Generated Node #0,0,2: 17:[15, 26] Operation: 18+8=26
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 17:[18, 23], Operations: ['88/11=8', '15+8=23']
Exploring Operation: 23-18=5, Resulting Numbers: [5]
5,17 unequal: No Solution
Exploring Operation: 18+23=41, Resulting Numbers: [41]
41,17 unequal: No Solution
Exploring Operation: 18*23=414, Resulting Numbers: [414]
414,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:[15, 10], Operations: ['88/11=8', '18-8=10']
Exploring Operation: 15+10=25, Resulting Numbers: [25]
25,17 unequal: No Solution
Exploring Operation: 15*10=150, Resulting Numbers: [150]
150,17 unequal: No Solution
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,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:[15, 26], Operations: ['88/11=8', '18+8=26']
Exploring Operation: 15+26=41, Resulting Numbers: [41]
41,17 unequal: No Solution
Exploring Operation: 15*26=390, Resulting Numbers: [390]
390,17 unequal: No Solution
Exploring Operation: 26-15=11, Resulting Numbers: [11]
11,17 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: 17:[11, 15, 70], Operations: ['88-18=70']
Exploring Operation: 70-11=59, Resulting Numbers: [15, 59]
Generated Node #0,1,0: 17:[15, 59] Operation: 70-11=59
Exploring Operation: 11+15=26, Resulting Numbers: [70, 26]
Generated Node #0,1,1: 17:[70, 26] Operation: 11+15=26
Exploring Operation: 70-15=55, Resulting Numbers: [11, 55]
Generated Node #0,1,2: 17:[11, 55] Operation: 70-15=55
Moving to Node #0,2
Current State: 17:[18, 15, 77], Operations: ['88-11=77']
Exploring Operation: 77-18=59, Resulting Numbers: [15, 59]
Generated Node #0,2,0: 17:[15, 59] Operation: 77-18=59
Exploring Operation: 18-15=3, Resulting Numbers: [77, 3]
Generated Node #0,2,1: 17:[77, 3] Operation: 18-15=3
Exploring Operation: 77-15=62, Resulting Numbers: [18, 62]
Generated Node #0,2,2: 17:[18, 62] Operation: 77-15=62
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 17:[15, 59], Operations: ['88-11=77', '77-18=59']
Exploring Operation: 15*59=885, Resulting Numbers: [885]
885,17 unequal: No Solution
Exploring Operation: 59-15=44, Resulting Numbers: [44]
44,17 unequal: No Solution
Exploring Operation: 15+59=74, Resulting Numbers: [74]
74,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 17:[18, 62], Operations: ['88-11=77', '77-15=62']
Exploring Operation: 18*62=1116, Resulting Numbers: [1116]
1116,17 unequal: No Solution
Exploring Operation: 62-18=44, Resulting Numbers: [44]
44,17 unequal: No Solution
Exploring Operation: 18+62=80, Resulting Numbers: [80]
80,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 17:[77, 3], Operations: ['88-11=77', '18-15=3']
Exploring Operation: 77+3=80, Resulting Numbers: [80]
80,17 unequal: No Solution
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,17 unequal: No Solution
Exploring Operation: 77*3=231, Resulting Numbers: [231]
231,17 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: 17:[15, 59], Operations: ['88-18=70', '70-11=59']
Exploring Operation: 15*59=885, Resulting Numbers: [885]
885,17 unequal: No Solution
Exploring Operation: 15+59=74, Resulting Numbers: [74]
74,17 unequal: No Solution
Exploring Operation: 59-15=44, Resulting Numbers: [44]
44,17 unequal: No Solution
Moving to Node #0,1,2
Current State: 17:[11, 55], Operations: ['88-18=70', '70-15=55']
Exploring Operation: 11+55=66, Resulting Numbers: [66]
66,17 unequal: No Solution
Exploring Operation: 55/11=5, Resulting Numbers: [5]
5,17 unequal: No Solution
Exploring Operation: 55-11=44, Resulting Numbers: [44]
44,17 unequal: No Solution
Moving to Node #0,1,1
Current State: 17:[70, 26], Operations: ['88-18=70', '11+15=26']
Exploring Operation: 70-26=44, Resulting Numbers: [44]
44,17 unequal: No Solution
Exploring Operation: 70*26=1820, Resulting Numbers: [1820]
1820,17 unequal: No Solution
Exploring Operation: 70+26=96, Resulting Numbers: [96]
96,17 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
38,
75,
73,
7
] | 47 | [
"38+75=113",
"73-7=66",
"113-66=47"
] | Current State: 47:[38, 75, 73, 7], Operations: []
Exploring Operation: 38+75=113, Resulting Numbers: [73, 7, 113]
Generated Node #2: [73, 7, 113] from Operation: 38+75=113
Current State: 47:[73, 7, 113], Operations: ['38+75=113']
Exploring Operation: 73-7=66, Resulting Numbers: [113, 66]
Generated Node #3: [113, 66] from Operation: 73-7=66
Current State: 47:[113, 66], Operations: ['38+75=113', '73-7=66']
Exploring Operation: 113-66=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[38, 75, 73, 7], Operations: []
Exploring Operation: 73-7=66, Resulting Numbers: [38, 75, 66]
Generated Node #0,0: 47:[38, 75, 66] Operation: 73-7=66
Exploring Operation: 75-7=68, Resulting Numbers: [38, 73, 68]
Generated Node #0,1: 47:[38, 73, 68] Operation: 75-7=68
Exploring Operation: 38+7=45, Resulting Numbers: [75, 73, 45]
Generated Node #0,2: 47:[75, 73, 45] Operation: 38+7=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[38, 75, 66], Operations: ['73-7=66']
Exploring Operation: 75-66=9, Resulting Numbers: [38, 9]
Generated Node #0,0,0: 47:[38, 9] Operation: 75-66=9
Exploring Operation: 75-38=37, Resulting Numbers: [66, 37]
Generated Node #0,0,1: 47:[66, 37] Operation: 75-38=37
Exploring Operation: 66-38=28, Resulting Numbers: [75, 28]
Generated Node #0,0,2: 47:[75, 28] Operation: 66-38=28
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 47:[66, 37], Operations: ['73-7=66', '75-38=37']
Exploring Operation: 66*37=2442, Resulting Numbers: [2442]
2442,47 unequal: No Solution
Exploring Operation: 66-37=29, Resulting Numbers: [29]
29,47 unequal: No Solution
Exploring Operation: 66+37=103, Resulting Numbers: [103]
103,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[38, 9], Operations: ['73-7=66', '75-66=9']
Exploring Operation: 38+9=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[38, 75, 73, 7], Operations: []
Exploring Operation: 73-7=66, Resulting Numbers: [38, 75, 66]
Generated Node #0,0: 47:[38, 75, 66] Operation: 73-7=66
Moving to Node #0,0
Current State: 47:[38, 75, 66], Operations: ['73-7=66']
Exploring Operation: 75-66=9, Resulting Numbers: [38, 9]
Generated Node #0,0,0: 47:[38, 9] Operation: 75-66=9
Moving to Node #0,0,0
Current State: 47:[38, 9], Operations: ['73-7=66', '75-66=9']
Exploring Operation: 38+9=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.