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 |
|---|---|---|---|---|---|---|---|---|
[
73,
72,
70,
42
] | 86 | [
"73-70=3",
"42/3=14",
"72+14=86"
] | Current State: 86:[73, 72, 70, 42], Operations: []
Exploring Operation: 73-70=3, Resulting Numbers: [72, 42, 3]
Generated Node #2: [72, 42, 3] from Operation: 73-70=3
Current State: 86:[72, 42, 3], Operations: ['73-70=3']
Exploring Operation: 42/3=14, Resulting Numbers: [72, 14]
Generated Node #3: [72, 14] from Operation: 42/3=14
Current State: 86:[72, 14], Operations: ['73-70=3', '42/3=14']
Exploring Operation: 72+14=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[73, 72, 70, 42], Operations: []
Exploring Operation: 73-42=31, Resulting Numbers: [72, 70, 31]
Generated Node #0,0: 86:[72, 70, 31] Operation: 73-42=31
Exploring Operation: 73-70=3, Resulting Numbers: [72, 42, 3]
Generated Node #0,1: 86:[72, 42, 3] Operation: 73-70=3
Exploring Operation: 73-72=1, Resulting Numbers: [70, 42, 1]
Generated Node #0,2: 86:[70, 42, 1] Operation: 73-72=1
Exploring Operation: 72-42=30, Resulting Numbers: [73, 70, 30]
Generated Node #0,3: 86:[73, 70, 30] Operation: 72-42=30
Exploring Operation: 72-70=2, Resulting Numbers: [73, 42, 2]
Generated Node #0,4: 86:[73, 42, 2] Operation: 72-70=2
Start Sub Search at level 1: Moving to Node #0,4
Current State: 86:[73, 42, 2], Operations: ['72-70=2']
Exploring Operation: 73+2=75, Resulting Numbers: [42, 75]
Generated Node #0,4,0: 86:[42, 75] Operation: 73+2=75
Exploring Operation: 73-42=31, Resulting Numbers: [2, 31]
Generated Node #0,4,1: 86:[2, 31] Operation: 73-42=31
Exploring Operation: 42*2=84, Resulting Numbers: [73, 84]
Generated Node #0,4,2: 86:[73, 84] Operation: 42*2=84
Exploring Operation: 42+2=44, Resulting Numbers: [73, 44]
Generated Node #0,4,3: 86:[73, 44] Operation: 42+2=44
Exploring Operation: 73-2=71, Resulting Numbers: [42, 71]
Generated Node #0,4,4: 86:[42, 71] Operation: 73-2=71
Moving to Node #0,4,0
Current State: 86:[42, 75], Operations: ['72-70=2', '73+2=75']
Exploring Operation: 42+75=117, Resulting Numbers: [117]
117,86 unequal: No Solution
Exploring Operation: 42*75=3150, Resulting Numbers: [3150]
3150,86 unequal: No Solution
Exploring Operation: 75-42=33, Resulting Numbers: [33]
33,86 unequal: No Solution
Moving to Node #0,4,1
Current State: 86:[2, 31], Operations: ['72-70=2', '73-42=31']
Exploring Operation: 2*31=62, Resulting Numbers: [62]
62,86 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,86 unequal: No Solution
Exploring Operation: 2+31=33, Resulting Numbers: [33]
33,86 unequal: No Solution
Moving to Node #0,4,3
Current State: 86:[73, 44], Operations: ['72-70=2', '42+2=44']
Exploring Operation: 73-44=29, Resulting Numbers: [29]
29,86 unequal: No Solution
Exploring Operation: 73*44=3212, Resulting Numbers: [3212]
3212,86 unequal: No Solution
Exploring Operation: 73+44=117, Resulting Numbers: [117]
117,86 unequal: No Solution
Moving to Node #0,4,2
Current State: 86:[73, 84], Operations: ['72-70=2', '42*2=84']
Exploring Operation: 84-73=11, Resulting Numbers: [11]
11,86 unequal: No Solution
Exploring Operation: 73*84=6132, Resulting Numbers: [6132]
6132,86 unequal: No Solution
Exploring Operation: 73+84=157, Resulting Numbers: [157]
157,86 unequal: No Solution
Moving to Node #0,4,4
Current State: 86:[42, 71], Operations: ['72-70=2', '73-2=71']
Exploring Operation: 42*71=2982, Resulting Numbers: [2982]
2982,86 unequal: No Solution
Exploring Operation: 42+71=113, Resulting Numbers: [113]
113,86 unequal: No Solution
Exploring Operation: 71-42=29, Resulting Numbers: [29]
29,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[72, 42, 3], Operations: ['73-70=3']
Exploring Operation: 42+3=45, Resulting Numbers: [72, 45]
Generated Node #0,1,0: 86:[72, 45] Operation: 42+3=45
Exploring Operation: 72+3=75, Resulting Numbers: [42, 75]
Generated Node #0,1,1: 86:[42, 75] Operation: 72+3=75
Exploring Operation: 72-42=30, Resulting Numbers: [3, 30]
Generated Node #0,1,2: 86:[3, 30] Operation: 72-42=30
Exploring Operation: 42-3=39, Resulting Numbers: [72, 39]
Generated Node #0,1,3: 86:[72, 39] Operation: 42-3=39
Exploring Operation: 72-3=69, Resulting Numbers: [42, 69]
Generated Node #0,1,4: 86:[42, 69] Operation: 72-3=69
Moving to Node #0,1,1
Current State: 86:[42, 75], Operations: ['73-70=3', '72+3=75']
Exploring Operation: 42+75=117, Resulting Numbers: [117]
117,86 unequal: No Solution
Exploring Operation: 42*75=3150, Resulting Numbers: [3150]
3150,86 unequal: No Solution
Exploring Operation: 75-42=33, Resulting Numbers: [33]
33,86 unequal: No Solution
Moving to Node #0,1,2
Current State: 86:[3, 30], Operations: ['73-70=3', '72-42=30']
Exploring Operation: 3+30=33, Resulting Numbers: [33]
33,86 unequal: No Solution
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,86 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,86 unequal: No Solution
Exploring Operation: 3*30=90, Resulting Numbers: [90]
90,86 unequal: No Solution
Moving to Node #0,1,0
Current State: 86:[72, 45], Operations: ['73-70=3', '42+3=45']
Exploring Operation: 72+45=117, Resulting Numbers: [117]
117,86 unequal: No Solution
Exploring Operation: 72-45=27, Resulting Numbers: [27]
27,86 unequal: No Solution
Exploring Operation: 72*45=3240, Resulting Numbers: [3240]
3240,86 unequal: No Solution
Moving to Node #0,1,3
Current State: 86:[72, 39], Operations: ['73-70=3', '42-3=39']
Exploring Operation: 72+39=111, Resulting Numbers: [111]
111,86 unequal: No Solution
Exploring Operation: 72*39=2808, Resulting Numbers: [2808]
2808,86 unequal: No Solution
Exploring Operation: 72-39=33, Resulting Numbers: [33]
33,86 unequal: No Solution
Moving to Node #0,1,4
Current State: 86:[42, 69], Operations: ['73-70=3', '72-3=69']
Exploring Operation: 42*69=2898, Resulting Numbers: [2898]
2898,86 unequal: No Solution
Exploring Operation: 69-42=27, Resulting Numbers: [27]
27,86 unequal: No Solution
Exploring Operation: 42+69=111, Resulting Numbers: [111]
111,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 86:[70, 42, 1], Operations: ['73-72=1']
Exploring Operation: 42+1=43, Resulting Numbers: [70, 43]
Generated Node #0,2,0: 86:[70, 43] Operation: 42+1=43
Exploring Operation: 70-42=28, Resulting Numbers: [1, 28]
Generated Node #0,2,1: 86:[1, 28] Operation: 70-42=28
Exploring Operation: 70*1=70, Resulting Numbers: [42, 70]
Generated Node #0,2,2: 86:[42, 70] Operation: 70*1=70
Exploring Operation: 70+1=71, Resulting Numbers: [42, 71]
Generated Node #0,2,3: 86:[42, 71] Operation: 70+1=71
Exploring Operation: 70/1=70, Resulting Numbers: [42, 70]
Generated Node #0,2,4: 86:[42, 70] Operation: 70/1=70
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 86:[70, 43], Operations: ['73-72=1', '42+1=43']
Exploring Operation: 70+43=113, Resulting Numbers: [113]
113,86 unequal: No Solution
Exploring Operation: 70-43=27, Resulting Numbers: [27]
27,86 unequal: No Solution
Exploring Operation: 70*43=3010, Resulting Numbers: [3010]
3010,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 86:[1, 28], Operations: ['73-72=1', '70-42=28']
Exploring Operation: 1*28=28, Resulting Numbers: [28]
28,86 unequal: No Solution
Exploring Operation: 28/1=28, Resulting Numbers: [28]
28,86 unequal: No Solution
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,86 unequal: No Solution
Exploring Operation: 1+28=29, Resulting Numbers: [29]
29,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 86:[42, 71], Operations: ['73-72=1', '70+1=71']
Exploring Operation: 71-42=29, Resulting Numbers: [29]
29,86 unequal: No Solution
Exploring Operation: 42*71=2982, Resulting Numbers: [2982]
2982,86 unequal: No Solution
Exploring Operation: 42+71=113, Resulting Numbers: [113]
113,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 86:[42, 70], Operations: ['73-72=1', '70*1=70']
Exploring Operation: 42+70=112, Resulting Numbers: [112]
112,86 unequal: No Solution
Exploring Operation: 42*70=2940, Resulting Numbers: [2940]
2940,86 unequal: No Solution
Exploring Operation: 70-42=28, Resulting Numbers: [28]
28,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 86:[42, 70], Operations: ['73-72=1', '70/1=70']
Exploring Operation: 42+70=112, Resulting Numbers: [112]
112,86 unequal: No Solution
Exploring Operation: 42*70=2940, Resulting Numbers: [2940]
2940,86 unequal: No Solution
Exploring Operation: 70-42=28, Resulting Numbers: [28]
28,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[72, 70, 31], Operations: ['73-42=31']
Exploring Operation: 72+31=103, Resulting Numbers: [70, 103]
Generated Node #0,0,0: 86:[70, 103] Operation: 72+31=103
Exploring Operation: 72-31=41, Resulting Numbers: [70, 41]
Generated Node #0,0,1: 86:[70, 41] Operation: 72-31=41
Exploring Operation: 70+31=101, Resulting Numbers: [72, 101]
Generated Node #0,0,2: 86:[72, 101] Operation: 70+31=101
Exploring Operation: 70-31=39, Resulting Numbers: [72, 39]
Generated Node #0,0,3: 86:[72, 39] Operation: 70-31=39
Exploring Operation: 72-70=2, Resulting Numbers: [31, 2]
Generated Node #0,0,4: 86:[31, 2] Operation: 72-70=2
Moving to Node #0,0,4
Current State: 86:[31, 2], Operations: ['73-42=31', '72-70=2']
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,86 unequal: No Solution
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,86 unequal: No Solution
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,86 unequal: No Solution
Moving to Node #0,0,3
Current State: 86:[72, 39], Operations: ['73-42=31', '70-31=39']
Exploring Operation: 72*39=2808, Resulting Numbers: [2808]
2808,86 unequal: No Solution
Exploring Operation: 72-39=33, Resulting Numbers: [33]
33,86 unequal: No Solution
Exploring Operation: 72+39=111, Resulting Numbers: [111]
111,86 unequal: No Solution
Moving to Node #0,0,1
Current State: 86:[70, 41], Operations: ['73-42=31', '72-31=41']
Exploring Operation: 70-41=29, Resulting Numbers: [29]
29,86 unequal: No Solution
Exploring Operation: 70*41=2870, Resulting Numbers: [2870]
2870,86 unequal: No Solution
Exploring Operation: 70+41=111, Resulting Numbers: [111]
111,86 unequal: No Solution
Moving to Node #0,0,2
Current State: 86:[72, 101], Operations: ['73-42=31', '70+31=101']
Exploring Operation: 101-72=29, Resulting Numbers: [29]
29,86 unequal: No Solution
Exploring Operation: 72*101=7272, Resulting Numbers: [7272]
7272,86 unequal: No Solution
Exploring Operation: 72+101=173, Resulting Numbers: [173]
173,86 unequal: No Solution
Moving to Node #0,0,0
Current State: 86:[70, 103], Operations: ['73-42=31', '72+31=103']
Exploring Operation: 70+103=173, Resulting Numbers: [173]
173,86 unequal: No Solution
Exploring Operation: 103-70=33, Resulting Numbers: [33]
33,86 unequal: No Solution
Exploring Operation: 70*103=7210, Resulting Numbers: [7210]
7210,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 86:[73, 70, 30], Operations: ['72-42=30']
Exploring Operation: 70+30=100, Resulting Numbers: [73, 100]
Generated Node #0,3,0: 86:[73, 100] Operation: 70+30=100
Exploring Operation: 73-70=3, Resulting Numbers: [30, 3]
Generated Node #0,3,1: 86:[30, 3] Operation: 73-70=3
Exploring Operation: 73-30=43, Resulting Numbers: [70, 43]
Generated Node #0,3,2: 86:[70, 43] Operation: 73-30=43
Exploring Operation: 73+30=103, Resulting Numbers: [70, 103]
Generated Node #0,3,3: 86:[70, 103] Operation: 73+30=103
Exploring Operation: 70-30=40, Resulting Numbers: [73, 40]
Generated Node #0,3,4: 86:[73, 40] Operation: 70-30=40
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 86:[30, 3], Operations: ['72-42=30', '73-70=3']
Exploring Operation: 30-3=27, Resulting Numbers: [27]
27,86 unequal: No Solution
Exploring Operation: 30*3=90, Resulting Numbers: [90]
90,86 unequal: No Solution
Exploring Operation: 30/3=10, Resulting Numbers: [10]
10,86 unequal: No Solution
Exploring Operation: 30+3=33, Resulting Numbers: [33]
33,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 86:[70, 43], Operations: ['72-42=30', '73-30=43']
Exploring Operation: 70*43=3010, Resulting Numbers: [3010]
3010,86 unequal: No Solution
Exploring Operation: 70-43=27, Resulting Numbers: [27]
27,86 unequal: No Solution
Exploring Operation: 70+43=113, Resulting Numbers: [113]
113,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 86:[73, 40], Operations: ['72-42=30', '70-30=40']
Exploring Operation: 73+40=113, Resulting Numbers: [113]
113,86 unequal: No Solution
Exploring Operation: 73-40=33, Resulting Numbers: [33]
33,86 unequal: No Solution
Exploring Operation: 73*40=2920, Resulting Numbers: [2920]
2920,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 86:[73, 100], Operations: ['72-42=30', '70+30=100']
Exploring Operation: 73+100=173, Resulting Numbers: [173]
173,86 unequal: No Solution
Exploring Operation: 100-73=27, Resulting Numbers: [27]
27,86 unequal: No Solution
Exploring Operation: 73*100=7300, Resulting Numbers: [7300]
7300,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 86:[70, 103], Operations: ['72-42=30', '73+30=103']
Exploring Operation: 70*103=7210, Resulting Numbers: [7210]
7210,86 unequal: No Solution
Exploring Operation: 70+103=173, Resulting Numbers: [173]
173,86 unequal: No Solution
Exploring Operation: 103-70=33, Resulting Numbers: [33]
33,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
23,
37,
96,
97
] | 94 | [
"97-23=74",
"74/37=2",
"96-2=94"
] | Current State: 94:[23, 37, 96, 97], Operations: []
Exploring Operation: 97-23=74, Resulting Numbers: [37, 96, 74]
Generated Node #2: [37, 96, 74] from Operation: 97-23=74
Current State: 94:[37, 96, 74], Operations: ['97-23=74']
Exploring Operation: 74/37=2, Resulting Numbers: [96, 2]
Generated Node #3: [96, 2] from Operation: 74/37=2
Current State: 94:[96, 2], Operations: ['97-23=74', '74/37=2']
Exploring Operation: 96-2=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[23, 37, 96, 97], Operations: []
Exploring Operation: 37-23=14, Resulting Numbers: [96, 97, 14]
Generated Node #0,0: 94:[96, 97, 14] Operation: 37-23=14
Exploring Operation: 23+37=60, Resulting Numbers: [96, 97, 60]
Generated Node #0,1: 94:[96, 97, 60] Operation: 23+37=60
Moving to Node #0,0
Current State: 94:[96, 97, 14], Operations: ['37-23=14']
Exploring Operation: 97-96=1, Resulting Numbers: [14, 1]
Generated Node #0,0,0: 94:[14, 1] Operation: 97-96=1
Exploring Operation: 97-14=83, Resulting Numbers: [96, 83]
Generated Node #0,0,1: 94:[96, 83] Operation: 97-14=83
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 94:[14, 1], Operations: ['37-23=14', '97-96=1']
Exploring Operation: 14-1=13, Resulting Numbers: [13]
13,94 unequal: No Solution
Exploring Operation: 14*1=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,0,1
Current State: 94:[96, 83], Operations: ['37-23=14', '97-14=83']
Exploring Operation: 96+83=179, Resulting Numbers: [179]
179,94 unequal: No Solution
Exploring Operation: 96-83=13, Resulting Numbers: [13]
13,94 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: 94:[96, 97, 60], Operations: ['23+37=60']
Exploring Operation: 97-96=1, Resulting Numbers: [60, 1]
Generated Node #0,1,0: 94:[60, 1] Operation: 97-96=1
Exploring Operation: 97-60=37, Resulting Numbers: [96, 37]
Generated Node #0,1,1: 94:[96, 37] Operation: 97-60=37
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 94:[96, 37], Operations: ['23+37=60', '97-60=37']
Exploring Operation: 96+37=133, Resulting Numbers: [133]
133,94 unequal: No Solution
Exploring Operation: 96-37=59, Resulting Numbers: [59]
59,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:[60, 1], Operations: ['23+37=60', '97-96=1']
Exploring Operation: 60*1=60, Resulting Numbers: [60]
60,94 unequal: No Solution
Exploring Operation: 60-1=59, Resulting Numbers: [59]
59,94 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 |
[
6,
2,
78,
34
] | 70 | [
"78-6=72",
"72/2=36",
"34+36=70"
] | Current State: 70:[6, 2, 78, 34], Operations: []
Exploring Operation: 78-6=72, Resulting Numbers: [2, 34, 72]
Generated Node #2: [2, 34, 72] from Operation: 78-6=72
Current State: 70:[2, 34, 72], Operations: ['78-6=72']
Exploring Operation: 72/2=36, Resulting Numbers: [34, 36]
Generated Node #3: [34, 36] from Operation: 72/2=36
Current State: 70:[34, 36], Operations: ['78-6=72', '72/2=36']
Exploring Operation: 34+36=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[6, 2, 78, 34], Operations: []
Exploring Operation: 78-2=76, Resulting Numbers: [6, 34, 76]
Generated Node #0,0: 70:[6, 34, 76] Operation: 78-2=76
Exploring Operation: 78/2=39, Resulting Numbers: [6, 34, 39]
Generated Node #0,1: 70:[6, 34, 39] Operation: 78/2=39
Exploring Operation: 6+2=8, Resulting Numbers: [78, 34, 8]
Generated Node #0,2: 70:[78, 34, 8] Operation: 6+2=8
Exploring Operation: 78/6=13, Resulting Numbers: [2, 34, 13]
Generated Node #0,3: 70:[2, 34, 13] Operation: 78/6=13
Exploring Operation: 78-6=72, Resulting Numbers: [2, 34, 72]
Generated Node #0,4: 70:[2, 34, 72] Operation: 78-6=72
Moving to Node #0,3
Current State: 70:[2, 34, 13], Operations: ['78/6=13']
Exploring Operation: 2*34=68, Resulting Numbers: [13, 68]
Generated Node #0,3,0: 70:[13, 68] Operation: 2*34=68
Exploring Operation: 13-2=11, Resulting Numbers: [34, 11]
Generated Node #0,3,1: 70:[34, 11] Operation: 13-2=11
Exploring Operation: 2+34=36, Resulting Numbers: [13, 36]
Generated Node #0,3,2: 70:[13, 36] Operation: 2+34=36
Exploring Operation: 2+13=15, Resulting Numbers: [34, 15]
Generated Node #0,3,3: 70:[34, 15] Operation: 2+13=15
Exploring Operation: 34-2=32, Resulting Numbers: [13, 32]
Generated Node #0,3,4: 70:[13, 32] Operation: 34-2=32
Moving to Node #0,4
Current State: 70:[2, 34, 72], Operations: ['78-6=72']
Exploring Operation: 72-34=38, Resulting Numbers: [2, 38]
Generated Node #0,4,0: 70:[2, 38] Operation: 72-34=38
Exploring Operation: 72/2=36, Resulting Numbers: [34, 36]
Generated Node #0,4,1: 70:[34, 36] Operation: 72/2=36
Exploring Operation: 2*34=68, Resulting Numbers: [72, 68]
Generated Node #0,4,2: 70:[72, 68] Operation: 2*34=68
Exploring Operation: 2+34=36, Resulting Numbers: [72, 36]
Generated Node #0,4,3: 70:[72, 36] Operation: 2+34=36
Exploring Operation: 72-2=70, Resulting Numbers: [34, 70]
Generated Node #0,4,4: 70:[34, 70] Operation: 72-2=70
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 70:[34, 70], Operations: ['78-6=72', '72-2=70']
Exploring Operation: 70-34=36, Resulting Numbers: [36]
36,70 unequal: No Solution
Exploring Operation: 34+70=104, Resulting Numbers: [104]
104,70 unequal: No Solution
Exploring Operation: 34*70=2380, Resulting Numbers: [2380]
2380,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 70:[34, 36], Operations: ['78-6=72', '72/2=36']
Exploring Operation: 34+36=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[6, 2, 78, 34], Operations: []
Exploring Operation: 78-6=72, Resulting Numbers: [2, 34, 72]
Generated Node #0,4: 70:[2, 34, 72] Operation: 78-6=72
Moving to Node #0,4
Current State: 70:[2, 34, 72], Operations: ['78-6=72']
Exploring Operation: 72/2=36, Resulting Numbers: [34, 36]
Generated Node #0,4,1: 70:[34, 36] Operation: 72/2=36
Moving to Node #0,4,1
Current State: 70:[34, 36], Operations: ['78-6=72', '72/2=36']
Exploring Operation: 34+36=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_5 | sum_heuristic |
[
28,
26,
70,
45
] | 27 | [
"28-26=2",
"70-45=25",
"2+25=27"
] | Current State: 27:[28, 26, 70, 45], Operations: []
Exploring Operation: 28-26=2, Resulting Numbers: [70, 45, 2]
Generated Node #2: [70, 45, 2] from Operation: 28-26=2
Current State: 27:[70, 45, 2], Operations: ['28-26=2']
Exploring Operation: 70-45=25, Resulting Numbers: [2, 25]
Generated Node #3: [2, 25] from Operation: 70-45=25
Current State: 27:[2, 25], Operations: ['28-26=2', '70-45=25']
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[28, 26, 70, 45], Operations: []
Exploring Operation: 70-45=25, Resulting Numbers: [28, 26, 25]
Generated Node #0,0: 27:[28, 26, 25] Operation: 70-45=25
Exploring Operation: 70-26=44, Resulting Numbers: [28, 45, 44]
Generated Node #0,1: 27:[28, 45, 44] Operation: 70-26=44
Exploring Operation: 70-28=42, Resulting Numbers: [26, 45, 42]
Generated Node #0,2: 27:[26, 45, 42] Operation: 70-28=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[28, 26, 25], Operations: ['70-45=25']
Exploring Operation: 26-25=1, Resulting Numbers: [28, 1]
Generated Node #0,0,0: 27:[28, 1] Operation: 26-25=1
Exploring Operation: 28-26=2, Resulting Numbers: [25, 2]
Generated Node #0,0,1: 27:[25, 2] Operation: 28-26=2
Exploring Operation: 28-25=3, Resulting Numbers: [26, 3]
Generated Node #0,0,2: 27:[26, 3] Operation: 28-25=3
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 27:[26, 3], Operations: ['70-45=25', '28-25=3']
Exploring Operation: 26*3=78, Resulting Numbers: [78]
78,27 unequal: No Solution
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,27 unequal: No Solution
Exploring Operation: 26+3=29, Resulting Numbers: [29]
29,27 unequal: No Solution
No 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: 27:[28, 1], Operations: ['70-45=25', '26-25=1']
Exploring Operation: 28*1=28, Resulting Numbers: [28]
28,27 unequal: No Solution
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[28, 26, 70, 45], Operations: []
Exploring Operation: 70-45=25, Resulting Numbers: [28, 26, 25]
Generated Node #0,0: 27:[28, 26, 25] Operation: 70-45=25
Moving to Node #0,0
Current State: 27:[28, 26, 25], Operations: ['70-45=25']
Exploring Operation: 26-25=1, Resulting Numbers: [28, 1]
Generated Node #0,0,0: 27:[28, 1] Operation: 26-25=1
Moving to Node #0,0,0
Current State: 27:[28, 1], Operations: ['70-45=25', '26-25=1']
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
10,
27,
6,
13
] | 30 | [
"10+27=37",
"13-6=7",
"37-7=30"
] | Current State: 30:[10, 27, 6, 13], Operations: []
Exploring Operation: 10+27=37, Resulting Numbers: [6, 13, 37]
Generated Node #2: [6, 13, 37] from Operation: 10+27=37
Current State: 30:[6, 13, 37], Operations: ['10+27=37']
Exploring Operation: 13-6=7, Resulting Numbers: [37, 7]
Generated Node #3: [37, 7] from Operation: 13-6=7
Current State: 30:[37, 7], Operations: ['10+27=37', '13-6=7']
Exploring Operation: 37-7=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[10, 27, 6, 13], Operations: []
Exploring Operation: 27-10=17, Resulting Numbers: [6, 13, 17]
Generated Node #0,0: 30:[6, 13, 17] Operation: 27-10=17
Exploring Operation: 13-6=7, Resulting Numbers: [10, 27, 7]
Generated Node #0,1: 30:[10, 27, 7] Operation: 13-6=7
Exploring Operation: 13-10=3, Resulting Numbers: [27, 6, 3]
Generated Node #0,2: 30:[27, 6, 3] Operation: 13-10=3
Exploring Operation: 27-13=14, Resulting Numbers: [10, 6, 14]
Generated Node #0,3: 30:[10, 6, 14] Operation: 27-13=14
Exploring Operation: 27+6=33, Resulting Numbers: [10, 13, 33]
Generated Node #0,4: 30:[10, 13, 33] Operation: 27+6=33
Moving to Node #0,3
Current State: 30:[10, 6, 14], Operations: ['27-13=14']
Exploring Operation: 10+6=16, Resulting Numbers: [14, 16]
Generated Node #0,3,0: 30:[14, 16] Operation: 10+6=16
Exploring Operation: 6+14=20, Resulting Numbers: [10, 20]
Generated Node #0,3,1: 30:[10, 20] Operation: 6+14=20
Exploring Operation: 10-6=4, Resulting Numbers: [14, 4]
Generated Node #0,3,2: 30:[14, 4] Operation: 10-6=4
Exploring Operation: 14-10=4, Resulting Numbers: [6, 4]
Generated Node #0,3,3: 30:[6, 4] Operation: 14-10=4
Exploring Operation: 14-6=8, Resulting Numbers: [10, 8]
Generated Node #0,3,4: 30:[10, 8] Operation: 14-6=8
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 30:[6, 4], Operations: ['27-13=14', '14-10=4']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,30 unequal: No Solution
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,30 unequal: No Solution
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 30:[14, 16], Operations: ['27-13=14', '10+6=16']
Exploring Operation: 14*16=224, Resulting Numbers: [224]
224,30 unequal: No Solution
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,30 unequal: No Solution
Exploring Operation: 14+16=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[10, 27, 6, 13], Operations: []
Exploring Operation: 27-13=14, Resulting Numbers: [10, 6, 14]
Generated Node #0,3: 30:[10, 6, 14] Operation: 27-13=14
Moving to Node #0,3
Current State: 30:[10, 6, 14], Operations: ['27-13=14']
Exploring Operation: 10+6=16, Resulting Numbers: [14, 16]
Generated Node #0,3,0: 30:[14, 16] Operation: 10+6=16
Moving to Node #0,3,0
Current State: 30:[14, 16], Operations: ['27-13=14', '10+6=16']
Exploring Operation: 14+16=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | sum_heuristic |
[
44,
26,
3,
48
] | 92 | [
"48-44=4",
"26-3=23",
"4*23=92"
] | Current State: 92:[44, 26, 3, 48], Operations: []
Exploring Operation: 48-44=4, Resulting Numbers: [26, 3, 4]
Generated Node #2: [26, 3, 4] from Operation: 48-44=4
Current State: 92:[26, 3, 4], Operations: ['48-44=4']
Exploring Operation: 26-3=23, Resulting Numbers: [4, 23]
Generated Node #3: [4, 23] from Operation: 26-3=23
Current State: 92:[4, 23], Operations: ['48-44=4', '26-3=23']
Exploring Operation: 4*23=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[44, 26, 3, 48], Operations: []
Exploring Operation: 44+48=92, Resulting Numbers: [26, 3, 92]
Generated Node #0,0: 92:[26, 3, 92] Operation: 44+48=92
Exploring Operation: 48-44=4, Resulting Numbers: [26, 3, 4]
Generated Node #0,1: 92:[26, 3, 4] Operation: 48-44=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[26, 3, 92], Operations: ['44+48=92']
Exploring Operation: 26-3=23, Resulting Numbers: [92, 23]
Generated Node #0,0,0: 92:[92, 23] Operation: 26-3=23
Exploring Operation: 26+3=29, Resulting Numbers: [92, 29]
Generated Node #0,0,1: 92:[92, 29] Operation: 26+3=29
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 92:[92, 23], Operations: ['44+48=92', '26-3=23']
Exploring Operation: 92/23=4, Resulting Numbers: [4]
4,92 unequal: No Solution
Exploring Operation: 92+23=115, Resulting Numbers: [115]
115,92 unequal: No Solution
No 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: 92:[92, 29], Operations: ['44+48=92', '26+3=29']
Exploring Operation: 92-29=63, Resulting Numbers: [63]
63,92 unequal: No Solution
Exploring Operation: 92+29=121, Resulting Numbers: [121]
121,92 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[26, 3, 4], Operations: ['48-44=4']
Exploring Operation: 26-3=23, Resulting Numbers: [4, 23]
Generated Node #0,1,0: 92:[4, 23] Operation: 26-3=23
Exploring Operation: 26-4=22, Resulting Numbers: [3, 22]
Generated Node #0,1,1: 92:[3, 22] Operation: 26-4=22
Moving to Node #0,1,0
Current State: 92:[4, 23], Operations: ['48-44=4', '26-3=23']
Exploring Operation: 4*23=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[44, 26, 3, 48], Operations: []
Exploring Operation: 48-44=4, Resulting Numbers: [26, 3, 4]
Generated Node #0,1: 92:[26, 3, 4] Operation: 48-44=4
Moving to Node #0,1
Current State: 92:[26, 3, 4], Operations: ['48-44=4']
Exploring Operation: 26-3=23, Resulting Numbers: [4, 23]
Generated Node #0,1,0: 92:[4, 23] Operation: 26-3=23
Moving to Node #0,1,0
Current State: 92:[4, 23], Operations: ['48-44=4', '26-3=23']
Exploring Operation: 4*23=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
82,
37,
8,
68
] | 31 | [
"82-37=45",
"8+68=76",
"76-45=31"
] | Current State: 31:[82, 37, 8, 68], Operations: []
Exploring Operation: 82-37=45, Resulting Numbers: [8, 68, 45]
Generated Node #2: [8, 68, 45] from Operation: 82-37=45
Current State: 31:[8, 68, 45], Operations: ['82-37=45']
Exploring Operation: 8+68=76, Resulting Numbers: [45, 76]
Generated Node #3: [45, 76] from Operation: 8+68=76
Current State: 31:[45, 76], Operations: ['82-37=45', '8+68=76']
Exploring Operation: 76-45=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[82, 37, 8, 68], Operations: []
Exploring Operation: 68-8=60, Resulting Numbers: [82, 37, 60]
Generated Node #0,0: 31:[82, 37, 60] Operation: 68-8=60
Exploring Operation: 82-37=45, Resulting Numbers: [8, 68, 45]
Generated Node #0,1: 31:[8, 68, 45] Operation: 82-37=45
Exploring Operation: 82-8=74, Resulting Numbers: [37, 68, 74]
Generated Node #0,2: 31:[37, 68, 74] Operation: 82-8=74
Exploring Operation: 68-37=31, Resulting Numbers: [82, 8, 31]
Generated Node #0,3: 31:[82, 8, 31] Operation: 68-37=31
Exploring Operation: 82-68=14, Resulting Numbers: [37, 8, 14]
Generated Node #0,4: 31:[37, 8, 14] Operation: 82-68=14
Moving to Node #0,4
Current State: 31:[37, 8, 14], Operations: ['82-68=14']
Exploring Operation: 37-14=23, Resulting Numbers: [8, 23]
Generated Node #0,4,0: 31:[8, 23] Operation: 37-14=23
Exploring Operation: 37+8=45, Resulting Numbers: [14, 45]
Generated Node #0,4,1: 31:[14, 45] Operation: 37+8=45
Exploring Operation: 8+14=22, Resulting Numbers: [37, 22]
Generated Node #0,4,2: 31:[37, 22] Operation: 8+14=22
Exploring Operation: 14-8=6, Resulting Numbers: [37, 6]
Generated Node #0,4,3: 31:[37, 6] Operation: 14-8=6
Exploring Operation: 37-8=29, Resulting Numbers: [14, 29]
Generated Node #0,4,4: 31:[14, 29] Operation: 37-8=29
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 31:[37, 22], Operations: ['82-68=14', '8+14=22']
Exploring Operation: 37*22=814, Resulting Numbers: [814]
814,31 unequal: No Solution
Exploring Operation: 37+22=59, Resulting Numbers: [59]
59,31 unequal: No Solution
Exploring Operation: 37-22=15, Resulting Numbers: [15]
15,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 31:[14, 29], Operations: ['82-68=14', '37-8=29']
Exploring Operation: 14+29=43, Resulting Numbers: [43]
43,31 unequal: No Solution
Exploring Operation: 14*29=406, Resulting Numbers: [406]
406,31 unequal: No Solution
Exploring Operation: 29-14=15, Resulting Numbers: [15]
15,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 31:[8, 23], Operations: ['82-68=14', '37-14=23']
Exploring Operation: 8+23=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[82, 37, 8, 68], Operations: []
Exploring Operation: 82-68=14, Resulting Numbers: [37, 8, 14]
Generated Node #0,4: 31:[37, 8, 14] Operation: 82-68=14
Moving to Node #0,4
Current State: 31:[37, 8, 14], Operations: ['82-68=14']
Exploring Operation: 37-14=23, Resulting Numbers: [8, 23]
Generated Node #0,4,0: 31:[8, 23] Operation: 37-14=23
Moving to Node #0,4,0
Current State: 31:[8, 23], Operations: ['82-68=14', '37-14=23']
Exploring Operation: 8+23=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
60,
2,
73,
86
] | 21 | [
"86-60=26",
"2*26=52",
"73-52=21"
] | Current State: 21:[60, 2, 73, 86], Operations: []
Exploring Operation: 86-60=26, Resulting Numbers: [2, 73, 26]
Generated Node #2: [2, 73, 26] from Operation: 86-60=26
Current State: 21:[2, 73, 26], Operations: ['86-60=26']
Exploring Operation: 2*26=52, Resulting Numbers: [73, 52]
Generated Node #3: [73, 52] from Operation: 2*26=52
Current State: 21:[73, 52], Operations: ['86-60=26', '2*26=52']
Exploring Operation: 73-52=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[60, 2, 73, 86], Operations: []
Exploring Operation: 86-73=13, Resulting Numbers: [60, 2, 13]
Generated Node #0,0: 21:[60, 2, 13] Operation: 86-73=13
Exploring Operation: 86-60=26, Resulting Numbers: [2, 73, 26]
Generated Node #0,1: 21:[2, 73, 26] Operation: 86-60=26
Moving to Node #0,0
Current State: 21:[60, 2, 13], Operations: ['86-73=13']
Exploring Operation: 60/2=30, Resulting Numbers: [13, 30]
Generated Node #0,0,0: 21:[13, 30] Operation: 60/2=30
Exploring Operation: 60-13=47, Resulting Numbers: [2, 47]
Generated Node #0,0,1: 21:[2, 47] Operation: 60-13=47
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 21:[13, 30], Operations: ['86-73=13', '60/2=30']
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Exploring Operation: 13+30=43, Resulting Numbers: [43]
43,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 21:[2, 47], Operations: ['86-73=13', '60-13=47']
Exploring Operation: 2+47=49, Resulting Numbers: [49]
49,21 unequal: No Solution
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,21 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: 21:[2, 73, 26], Operations: ['86-60=26']
Exploring Operation: 73-2=71, Resulting Numbers: [26, 71]
Generated Node #0,1,0: 21:[26, 71] Operation: 73-2=71
Exploring Operation: 73-26=47, Resulting Numbers: [2, 47]
Generated Node #0,1,1: 21:[2, 47] Operation: 73-26=47
Moving to Node #0,1,1
Current State: 21:[2, 47], Operations: ['86-60=26', '73-26=47']
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,21 unequal: No Solution
Exploring Operation: 2+47=49, Resulting Numbers: [49]
49,21 unequal: No Solution
Moving to Node #0,1,0
Current State: 21:[26, 71], Operations: ['86-60=26', '73-2=71']
Exploring Operation: 26+71=97, Resulting Numbers: [97]
97,21 unequal: No Solution
Exploring Operation: 71-26=45, Resulting Numbers: [45]
45,21 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
57,
7,
82,
29
] | 64 | [
"57+82=139",
"7*29=203",
"203-139=64"
] | Current State: 64:[57, 7, 82, 29], Operations: []
Exploring Operation: 57+82=139, Resulting Numbers: [7, 29, 139]
Generated Node #2: [7, 29, 139] from Operation: 57+82=139
Current State: 64:[7, 29, 139], Operations: ['57+82=139']
Exploring Operation: 7*29=203, Resulting Numbers: [139, 203]
Generated Node #3: [139, 203] from Operation: 7*29=203
Current State: 64:[139, 203], Operations: ['57+82=139', '7*29=203']
Exploring Operation: 203-139=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[57, 7, 82, 29], Operations: []
Exploring Operation: 82-29=53, Resulting Numbers: [57, 7, 53]
Generated Node #0,0: 64:[57, 7, 53] Operation: 82-29=53
Exploring Operation: 57+7=64, Resulting Numbers: [82, 29, 64]
Generated Node #0,1: 64:[82, 29, 64] Operation: 57+7=64
Exploring Operation: 82-7=75, Resulting Numbers: [57, 29, 75]
Generated Node #0,2: 64:[57, 29, 75] Operation: 82-7=75
Exploring Operation: 57-29=28, Resulting Numbers: [7, 82, 28]
Generated Node #0,3: 64:[7, 82, 28] Operation: 57-29=28
Exploring Operation: 82-57=25, Resulting Numbers: [7, 29, 25]
Generated Node #0,4: 64:[7, 29, 25] Operation: 82-57=25
Start Sub Search at level 1: Moving to Node #0,4
Current State: 64:[7, 29, 25], Operations: ['82-57=25']
Exploring Operation: 25-7=18, Resulting Numbers: [29, 18]
Generated Node #0,4,0: 64:[29, 18] Operation: 25-7=18
Exploring Operation: 7+25=32, Resulting Numbers: [29, 32]
Generated Node #0,4,1: 64:[29, 32] Operation: 7+25=32
Exploring Operation: 29-25=4, Resulting Numbers: [7, 4]
Generated Node #0,4,2: 64:[7, 4] Operation: 29-25=4
Exploring Operation: 29+25=54, Resulting Numbers: [7, 54]
Generated Node #0,4,3: 64:[7, 54] Operation: 29+25=54
Exploring Operation: 7+29=36, Resulting Numbers: [25, 36]
Generated Node #0,4,4: 64:[25, 36] Operation: 7+29=36
Moving to Node #0,4,2
Current State: 64:[7, 4], Operations: ['82-57=25', '29-25=4']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,64 unequal: No Solution
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,64 unequal: No Solution
Moving to Node #0,4,1
Current State: 64:[29, 32], Operations: ['82-57=25', '7+25=32']
Exploring Operation: 29+32=61, Resulting Numbers: [61]
61,64 unequal: No Solution
Exploring Operation: 32-29=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 29*32=928, Resulting Numbers: [928]
928,64 unequal: No Solution
Moving to Node #0,4,0
Current State: 64:[29, 18], Operations: ['82-57=25', '25-7=18']
Exploring Operation: 29*18=522, Resulting Numbers: [522]
522,64 unequal: No Solution
Exploring Operation: 29+18=47, Resulting Numbers: [47]
47,64 unequal: No Solution
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,64 unequal: No Solution
Moving to Node #0,4,3
Current State: 64:[7, 54], Operations: ['82-57=25', '29+25=54']
Exploring Operation: 7+54=61, Resulting Numbers: [61]
61,64 unequal: No Solution
Exploring Operation: 54-7=47, Resulting Numbers: [47]
47,64 unequal: No Solution
Exploring Operation: 7*54=378, Resulting Numbers: [378]
378,64 unequal: No Solution
Moving to Node #0,4,4
Current State: 64:[25, 36], Operations: ['82-57=25', '7+29=36']
Exploring Operation: 25+36=61, Resulting Numbers: [61]
61,64 unequal: No Solution
Exploring Operation: 25*36=900, Resulting Numbers: [900]
900,64 unequal: No Solution
Exploring Operation: 36-25=11, Resulting Numbers: [11]
11,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[57, 7, 53], Operations: ['82-29=53']
Exploring Operation: 7+53=60, Resulting Numbers: [57, 60]
Generated Node #0,0,0: 64:[57, 60] Operation: 7+53=60
Exploring Operation: 57-53=4, Resulting Numbers: [7, 4]
Generated Node #0,0,1: 64:[7, 4] Operation: 57-53=4
Exploring Operation: 53-7=46, Resulting Numbers: [57, 46]
Generated Node #0,0,2: 64:[57, 46] Operation: 53-7=46
Exploring Operation: 57-7=50, Resulting Numbers: [53, 50]
Generated Node #0,0,3: 64:[53, 50] Operation: 57-7=50
Exploring Operation: 57+7=64, Resulting Numbers: [53, 64]
Generated Node #0,0,4: 64:[53, 64] Operation: 57+7=64
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 64:[7, 4], Operations: ['82-29=53', '57-53=4']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,64 unequal: No Solution
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,64 unequal: No Solution
No 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: 64:[57, 60], Operations: ['82-29=53', '7+53=60']
Exploring Operation: 60-57=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 57+60=117, Resulting Numbers: [117]
117,64 unequal: No Solution
Exploring Operation: 57*60=3420, Resulting Numbers: [3420]
3420,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 64:[53, 64], Operations: ['82-29=53', '57+7=64']
Exploring Operation: 64-53=11, Resulting Numbers: [11]
11,64 unequal: No Solution
Exploring Operation: 53+64=117, Resulting Numbers: [117]
117,64 unequal: No Solution
Exploring Operation: 53*64=3392, Resulting Numbers: [3392]
3392,64 unequal: No Solution
No 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: 64:[57, 46], Operations: ['82-29=53', '53-7=46']
Exploring Operation: 57+46=103, Resulting Numbers: [103]
103,64 unequal: No Solution
Exploring Operation: 57-46=11, Resulting Numbers: [11]
11,64 unequal: No Solution
Exploring Operation: 57*46=2622, Resulting Numbers: [2622]
2622,64 unequal: No Solution
No 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: 64:[53, 50], Operations: ['82-29=53', '57-7=50']
Exploring Operation: 53*50=2650, Resulting Numbers: [2650]
2650,64 unequal: No Solution
Exploring Operation: 53-50=3, Resulting Numbers: [3]
3,64 unequal: No Solution
Exploring Operation: 53+50=103, Resulting Numbers: [103]
103,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[82, 29, 64], Operations: ['57+7=64']
Exploring Operation: 82-64=18, Resulting Numbers: [29, 18]
Generated Node #0,1,0: 64:[29, 18] Operation: 82-64=18
Exploring Operation: 29+64=93, Resulting Numbers: [82, 93]
Generated Node #0,1,1: 64:[82, 93] Operation: 29+64=93
Exploring Operation: 64-29=35, Resulting Numbers: [82, 35]
Generated Node #0,1,2: 64:[82, 35] Operation: 64-29=35
Exploring Operation: 82+29=111, Resulting Numbers: [64, 111]
Generated Node #0,1,3: 64:[64, 111] Operation: 82+29=111
Exploring Operation: 82-29=53, Resulting Numbers: [64, 53]
Generated Node #0,1,4: 64:[64, 53] Operation: 82-29=53
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 64:[29, 18], Operations: ['57+7=64', '82-64=18']
Exploring Operation: 29*18=522, Resulting Numbers: [522]
522,64 unequal: No Solution
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,64 unequal: No Solution
Exploring Operation: 29+18=47, Resulting Numbers: [47]
47,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 64:[64, 53], Operations: ['57+7=64', '82-29=53']
Exploring Operation: 64+53=117, Resulting Numbers: [117]
117,64 unequal: No Solution
Exploring Operation: 64*53=3392, Resulting Numbers: [3392]
3392,64 unequal: No Solution
Exploring Operation: 64-53=11, Resulting Numbers: [11]
11,64 unequal: No Solution
No 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: 64:[82, 35], Operations: ['57+7=64', '64-29=35']
Exploring Operation: 82*35=2870, Resulting Numbers: [2870]
2870,64 unequal: No Solution
Exploring Operation: 82+35=117, Resulting Numbers: [117]
117,64 unequal: No Solution
Exploring Operation: 82-35=47, Resulting Numbers: [47]
47,64 unequal: No Solution
No 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: 64:[82, 93], Operations: ['57+7=64', '29+64=93']
Exploring Operation: 82+93=175, Resulting Numbers: [175]
175,64 unequal: No Solution
Exploring Operation: 82*93=7626, Resulting Numbers: [7626]
7626,64 unequal: No Solution
Exploring Operation: 93-82=11, Resulting Numbers: [11]
11,64 unequal: No Solution
No 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: 64:[64, 111], Operations: ['57+7=64', '82+29=111']
Exploring Operation: 64+111=175, Resulting Numbers: [175]
175,64 unequal: No Solution
Exploring Operation: 64*111=7104, Resulting Numbers: [7104]
7104,64 unequal: No Solution
Exploring Operation: 111-64=47, Resulting Numbers: [47]
47,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 64:[57, 29, 75], Operations: ['82-7=75']
Exploring Operation: 57-29=28, Resulting Numbers: [75, 28]
Generated Node #0,2,0: 64:[75, 28] Operation: 57-29=28
Exploring Operation: 75-29=46, Resulting Numbers: [57, 46]
Generated Node #0,2,1: 64:[57, 46] Operation: 75-29=46
Exploring Operation: 29+75=104, Resulting Numbers: [57, 104]
Generated Node #0,2,2: 64:[57, 104] Operation: 29+75=104
Exploring Operation: 75-57=18, Resulting Numbers: [29, 18]
Generated Node #0,2,3: 64:[29, 18] Operation: 75-57=18
Exploring Operation: 57+29=86, Resulting Numbers: [75, 86]
Generated Node #0,2,4: 64:[75, 86] Operation: 57+29=86
Moving to Node #0,2,3
Current State: 64:[29, 18], Operations: ['82-7=75', '75-57=18']
Exploring Operation: 29*18=522, Resulting Numbers: [522]
522,64 unequal: No Solution
Exploring Operation: 29+18=47, Resulting Numbers: [47]
47,64 unequal: No Solution
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,64 unequal: No Solution
Moving to Node #0,2,0
Current State: 64:[75, 28], Operations: ['82-7=75', '57-29=28']
Exploring Operation: 75*28=2100, Resulting Numbers: [2100]
2100,64 unequal: No Solution
Exploring Operation: 75-28=47, Resulting Numbers: [47]
47,64 unequal: No Solution
Exploring Operation: 75+28=103, Resulting Numbers: [103]
103,64 unequal: No Solution
Moving to Node #0,2,1
Current State: 64:[57, 46], Operations: ['82-7=75', '75-29=46']
Exploring Operation: 57*46=2622, Resulting Numbers: [2622]
2622,64 unequal: No Solution
Exploring Operation: 57+46=103, Resulting Numbers: [103]
103,64 unequal: No Solution
Exploring Operation: 57-46=11, Resulting Numbers: [11]
11,64 unequal: No Solution
Moving to Node #0,2,4
Current State: 64:[75, 86], Operations: ['82-7=75', '57+29=86']
Exploring Operation: 86-75=11, Resulting Numbers: [11]
11,64 unequal: No Solution
Exploring Operation: 75*86=6450, Resulting Numbers: [6450]
6450,64 unequal: No Solution
Exploring Operation: 75+86=161, Resulting Numbers: [161]
161,64 unequal: No Solution
Moving to Node #0,2,2
Current State: 64:[57, 104], Operations: ['82-7=75', '29+75=104']
Exploring Operation: 57*104=5928, Resulting Numbers: [5928]
5928,64 unequal: No Solution
Exploring Operation: 104-57=47, Resulting Numbers: [47]
47,64 unequal: No Solution
Exploring Operation: 57+104=161, Resulting Numbers: [161]
161,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 64:[7, 82, 28], Operations: ['57-29=28']
Exploring Operation: 28/7=4, Resulting Numbers: [82, 4]
Generated Node #0,3,0: 64:[82, 4] Operation: 28/7=4
Exploring Operation: 7+28=35, Resulting Numbers: [82, 35]
Generated Node #0,3,1: 64:[82, 35] Operation: 7+28=35
Exploring Operation: 82-7=75, Resulting Numbers: [28, 75]
Generated Node #0,3,2: 64:[28, 75] Operation: 82-7=75
Exploring Operation: 82-28=54, Resulting Numbers: [7, 54]
Generated Node #0,3,3: 64:[7, 54] Operation: 82-28=54
Exploring Operation: 28-7=21, Resulting Numbers: [82, 21]
Generated Node #0,3,4: 64:[82, 21] Operation: 28-7=21
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 64:[7, 54], Operations: ['57-29=28', '82-28=54']
Exploring Operation: 7*54=378, Resulting Numbers: [378]
378,64 unequal: No Solution
Exploring Operation: 7+54=61, Resulting Numbers: [61]
61,64 unequal: No Solution
Exploring Operation: 54-7=47, Resulting Numbers: [47]
47,64 unequal: No Solution
No 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: 64:[28, 75], Operations: ['57-29=28', '82-7=75']
Exploring Operation: 75-28=47, Resulting Numbers: [47]
47,64 unequal: No Solution
Exploring Operation: 28+75=103, Resulting Numbers: [103]
103,64 unequal: No Solution
Exploring Operation: 28*75=2100, Resulting Numbers: [2100]
2100,64 unequal: No Solution
No 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: 64:[82, 4], Operations: ['57-29=28', '28/7=4']
Exploring Operation: 82+4=86, Resulting Numbers: [86]
86,64 unequal: No Solution
Exploring Operation: 82-4=78, Resulting Numbers: [78]
78,64 unequal: No Solution
Exploring Operation: 82*4=328, Resulting Numbers: [328]
328,64 unequal: No Solution
No 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: 64:[82, 35], Operations: ['57-29=28', '7+28=35']
Exploring Operation: 82-35=47, Resulting Numbers: [47]
47,64 unequal: No Solution
Exploring Operation: 82+35=117, Resulting Numbers: [117]
117,64 unequal: No Solution
Exploring Operation: 82*35=2870, Resulting Numbers: [2870]
2870,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 64:[82, 21], Operations: ['57-29=28', '28-7=21']
Exploring Operation: 82*21=1722, Resulting Numbers: [1722]
1722,64 unequal: No Solution
Exploring Operation: 82-21=61, Resulting Numbers: [61]
61,64 unequal: No Solution
Exploring Operation: 82+21=103, Resulting Numbers: [103]
103,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
10,
2,
47,
46
] | 19 | [
"10*2=20",
"47-46=1",
"20-1=19"
] | Current State: 19:[10, 2, 47, 46], Operations: []
Exploring Operation: 10*2=20, Resulting Numbers: [47, 46, 20]
Generated Node #2: [47, 46, 20] from Operation: 10*2=20
Current State: 19:[47, 46, 20], Operations: ['10*2=20']
Exploring Operation: 47-46=1, Resulting Numbers: [20, 1]
Generated Node #3: [20, 1] from Operation: 47-46=1
Current State: 19:[20, 1], Operations: ['10*2=20', '47-46=1']
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[10, 2, 47, 46], Operations: []
Exploring Operation: 47-46=1, Resulting Numbers: [10, 2, 1]
Generated Node #0,0: 19:[10, 2, 1] Operation: 47-46=1
Exploring Operation: 10*2=20, Resulting Numbers: [47, 46, 20]
Generated Node #0,1: 19:[47, 46, 20] Operation: 10*2=20
Exploring Operation: 46/2=23, Resulting Numbers: [10, 47, 23]
Generated Node #0,2: 19:[10, 47, 23] Operation: 46/2=23
Moving to Node #0,2
Current State: 19:[10, 47, 23], Operations: ['46/2=23']
Exploring Operation: 23-10=13, Resulting Numbers: [47, 13]
Generated Node #0,2,0: 19:[47, 13] Operation: 23-10=13
Exploring Operation: 47-10=37, Resulting Numbers: [23, 37]
Generated Node #0,2,1: 19:[23, 37] Operation: 47-10=37
Exploring Operation: 47-23=24, Resulting Numbers: [10, 24]
Generated Node #0,2,2: 19:[10, 24] Operation: 47-23=24
Moving to Node #0,0
Current State: 19:[10, 2, 1], Operations: ['47-46=1']
Exploring Operation: 10*2=20, Resulting Numbers: [1, 20]
Generated Node #0,0,0: 19:[1, 20] Operation: 10*2=20
Exploring Operation: 10+2=12, Resulting Numbers: [1, 12]
Generated Node #0,0,1: 19:[1, 12] Operation: 10+2=12
Exploring Operation: 10+1=11, Resulting Numbers: [2, 11]
Generated Node #0,0,2: 19:[2, 11] Operation: 10+1=11
Moving to Node #0,1
Current State: 19:[47, 46, 20], Operations: ['10*2=20']
Exploring Operation: 47-20=27, Resulting Numbers: [46, 27]
Generated Node #0,1,0: 19:[46, 27] Operation: 47-20=27
Exploring Operation: 47-46=1, Resulting Numbers: [20, 1]
Generated Node #0,1,1: 19:[20, 1] Operation: 47-46=1
Exploring Operation: 46-20=26, Resulting Numbers: [47, 26]
Generated Node #0,1,2: 19:[47, 26] Operation: 46-20=26
Moving to Node #0,2,2
Current State: 19:[10, 24], Operations: ['46/2=23', '47-23=24']
Exploring Operation: 10*24=240, Resulting Numbers: [240]
240,19 unequal: No Solution
Exploring Operation: 10+24=34, Resulting Numbers: [34]
34,19 unequal: No Solution
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[20, 1], Operations: ['10*2=20', '47-46=1']
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,19 unequal: No Solution
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[10, 2, 47, 46], Operations: []
Exploring Operation: 10*2=20, Resulting Numbers: [47, 46, 20]
Generated Node #0,1: 19:[47, 46, 20] Operation: 10*2=20
Moving to Node #0,1
Current State: 19:[47, 46, 20], Operations: ['10*2=20']
Exploring Operation: 47-46=1, Resulting Numbers: [20, 1]
Generated Node #0,1,1: 19:[20, 1] Operation: 47-46=1
Moving to Node #0,1,1
Current State: 19:[20, 1], Operations: ['10*2=20', '47-46=1']
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 0.981771 | hs_3 | mult_heuristic |
[
13,
56,
33,
8
] | 81 | [
"13*8=104",
"56-33=23",
"104-23=81"
] | Current State: 81:[13, 56, 33, 8], Operations: []
Exploring Operation: 13*8=104, Resulting Numbers: [56, 33, 104]
Generated Node #2: [56, 33, 104] from Operation: 13*8=104
Current State: 81:[56, 33, 104], Operations: ['13*8=104']
Exploring Operation: 56-33=23, Resulting Numbers: [104, 23]
Generated Node #3: [104, 23] from Operation: 56-33=23
Current State: 81:[104, 23], Operations: ['13*8=104', '56-33=23']
Exploring Operation: 104-23=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[13, 56, 33, 8], Operations: []
Exploring Operation: 56-33=23, Resulting Numbers: [13, 8, 23]
Generated Node #0,0: 81:[13, 8, 23] Operation: 56-33=23
Exploring Operation: 56+33=89, Resulting Numbers: [13, 8, 89]
Generated Node #0,1: 81:[13, 8, 89] Operation: 56+33=89
Exploring Operation: 13+56=69, Resulting Numbers: [33, 8, 69]
Generated Node #0,2: 81:[33, 8, 69] Operation: 13+56=69
Exploring Operation: 56/8=7, Resulting Numbers: [13, 33, 7]
Generated Node #0,3: 81:[13, 33, 7] Operation: 56/8=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[13, 8, 23], Operations: ['56-33=23']
Exploring Operation: 13-8=5, Resulting Numbers: [23, 5]
Generated Node #0,0,0: 81:[23, 5] Operation: 13-8=5
Exploring Operation: 8+23=31, Resulting Numbers: [13, 31]
Generated Node #0,0,1: 81:[13, 31] Operation: 8+23=31
Exploring Operation: 23-13=10, Resulting Numbers: [8, 10]
Generated Node #0,0,2: 81:[8, 10] Operation: 23-13=10
Exploring Operation: 13+8=21, Resulting Numbers: [23, 21]
Generated Node #0,0,3: 81:[23, 21] Operation: 13+8=21
Moving to Node #0,0,2
Current State: 81:[8, 10], Operations: ['56-33=23', '23-13=10']
Exploring Operation: 8*10=80, Resulting Numbers: [80]
80,81 unequal: No Solution
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Exploring Operation: 8+10=18, Resulting Numbers: [18]
18,81 unequal: No Solution
Moving to Node #0,0,0
Current State: 81:[23, 5], Operations: ['56-33=23', '13-8=5']
Exploring Operation: 23+5=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,81 unequal: No Solution
Exploring Operation: 23*5=115, Resulting Numbers: [115]
115,81 unequal: No Solution
Moving to Node #0,0,1
Current State: 81:[13, 31], Operations: ['56-33=23', '8+23=31']
Exploring Operation: 13*31=403, Resulting Numbers: [403]
403,81 unequal: No Solution
Exploring Operation: 13+31=44, Resulting Numbers: [44]
44,81 unequal: No Solution
Exploring Operation: 31-13=18, Resulting Numbers: [18]
18,81 unequal: No Solution
Moving to Node #0,0,3
Current State: 81:[23, 21], Operations: ['56-33=23', '13+8=21']
Exploring Operation: 23*21=483, Resulting Numbers: [483]
483,81 unequal: No Solution
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Exploring Operation: 23+21=44, Resulting Numbers: [44]
44,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,3
Current State: 81:[13, 33, 7], Operations: ['56/8=7']
Exploring Operation: 13+7=20, Resulting Numbers: [33, 20]
Generated Node #0,3,0: 81:[33, 20] Operation: 13+7=20
Exploring Operation: 13-7=6, Resulting Numbers: [33, 6]
Generated Node #0,3,1: 81:[33, 6] Operation: 13-7=6
Exploring Operation: 33-7=26, Resulting Numbers: [13, 26]
Generated Node #0,3,2: 81:[13, 26] Operation: 33-7=26
Exploring Operation: 33-13=20, Resulting Numbers: [7, 20]
Generated Node #0,3,3: 81:[7, 20] Operation: 33-13=20
Moving to Node #0,3,2
Current State: 81:[13, 26], Operations: ['56/8=7', '33-7=26']
Exploring Operation: 26-13=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Exploring Operation: 26/13=2, Resulting Numbers: [2]
2,81 unequal: No Solution
Exploring Operation: 13+26=39, Resulting Numbers: [39]
39,81 unequal: No Solution
Exploring Operation: 13*26=338, Resulting Numbers: [338]
338,81 unequal: No Solution
Moving to Node #0,3,3
Current State: 81:[7, 20], Operations: ['56/8=7', '33-13=20']
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Exploring Operation: 7+20=27, Resulting Numbers: [27]
27,81 unequal: No Solution
Exploring Operation: 7*20=140, Resulting Numbers: [140]
140,81 unequal: No Solution
Moving to Node #0,3,1
Current State: 81:[33, 6], Operations: ['56/8=7', '13-7=6']
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,81 unequal: No Solution
Exploring Operation: 33*6=198, Resulting Numbers: [198]
198,81 unequal: No Solution
Exploring Operation: 33+6=39, Resulting Numbers: [39]
39,81 unequal: No Solution
Moving to Node #0,3,0
Current State: 81:[33, 20], Operations: ['56/8=7', '13+7=20']
Exploring Operation: 33*20=660, Resulting Numbers: [660]
660,81 unequal: No Solution
Exploring Operation: 33+20=53, Resulting Numbers: [53]
53,81 unequal: No Solution
Exploring Operation: 33-20=13, Resulting Numbers: [13]
13,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
Current State: 81:[13, 8, 89], Operations: ['56+33=89']
Exploring Operation: 89-8=81, Resulting Numbers: [13, 81]
Generated Node #0,1,0: 81:[13, 81] Operation: 89-8=81
Exploring Operation: 89-13=76, Resulting Numbers: [8, 76]
Generated Node #0,1,1: 81:[8, 76] Operation: 89-13=76
Exploring Operation: 13+8=21, Resulting Numbers: [89, 21]
Generated Node #0,1,2: 81:[89, 21] Operation: 13+8=21
Exploring Operation: 13-8=5, Resulting Numbers: [89, 5]
Generated Node #0,1,3: 81:[89, 5] Operation: 13-8=5
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 81:[13, 81], Operations: ['56+33=89', '89-8=81']
Exploring Operation: 13*81=1053, Resulting Numbers: [1053]
1053,81 unequal: No Solution
Exploring Operation: 13+81=94, Resulting Numbers: [94]
94,81 unequal: No Solution
Exploring Operation: 81-13=68, Resulting Numbers: [68]
68,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 81:[8, 76], Operations: ['56+33=89', '89-13=76']
Exploring Operation: 76-8=68, Resulting Numbers: [68]
68,81 unequal: No Solution
Exploring Operation: 8+76=84, Resulting Numbers: [84]
84,81 unequal: No Solution
Exploring Operation: 8*76=608, Resulting Numbers: [608]
608,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,3
Current State: 81:[89, 5], Operations: ['56+33=89', '13-8=5']
Exploring Operation: 89-5=84, Resulting Numbers: [84]
84,81 unequal: No Solution
Exploring Operation: 89*5=445, Resulting Numbers: [445]
445,81 unequal: No Solution
Exploring Operation: 89+5=94, Resulting Numbers: [94]
94,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:[89, 21], Operations: ['56+33=89', '13+8=21']
Exploring Operation: 89*21=1869, Resulting Numbers: [1869]
1869,81 unequal: No Solution
Exploring Operation: 89+21=110, Resulting Numbers: [110]
110,81 unequal: No Solution
Exploring Operation: 89-21=68, Resulting Numbers: [68]
68,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:[33, 8, 69], Operations: ['13+56=69']
Exploring Operation: 69-33=36, Resulting Numbers: [8, 36]
Generated Node #0,2,0: 81:[8, 36] Operation: 69-33=36
Exploring Operation: 33-8=25, Resulting Numbers: [69, 25]
Generated Node #0,2,1: 81:[69, 25] Operation: 33-8=25
Exploring Operation: 8+69=77, Resulting Numbers: [33, 77]
Generated Node #0,2,2: 81:[33, 77] Operation: 8+69=77
Exploring Operation: 33+69=102, Resulting Numbers: [8, 102]
Generated Node #0,2,3: 81:[8, 102] Operation: 33+69=102
Moving to Node #0,2,0
Current State: 81:[8, 36], Operations: ['13+56=69', '69-33=36']
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,81 unequal: No Solution
Exploring Operation: 8+36=44, Resulting Numbers: [44]
44,81 unequal: No Solution
Exploring Operation: 8*36=288, Resulting Numbers: [288]
288,81 unequal: No Solution
Moving to Node #0,2,2
Current State: 81:[33, 77], Operations: ['13+56=69', '8+69=77']
Exploring Operation: 33+77=110, Resulting Numbers: [110]
110,81 unequal: No Solution
Exploring Operation: 33*77=2541, Resulting Numbers: [2541]
2541,81 unequal: No Solution
Exploring Operation: 77-33=44, Resulting Numbers: [44]
44,81 unequal: No Solution
Moving to Node #0,2,1
Current State: 81:[69, 25], Operations: ['13+56=69', '33-8=25']
Exploring Operation: 69*25=1725, Resulting Numbers: [1725]
1725,81 unequal: No Solution
Exploring Operation: 69+25=94, Resulting Numbers: [94]
94,81 unequal: No Solution
Exploring Operation: 69-25=44, Resulting Numbers: [44]
44,81 unequal: No Solution
Moving to Node #0,2,3
Current State: 81:[8, 102], Operations: ['13+56=69', '33+69=102']
Exploring Operation: 8+102=110, Resulting Numbers: [110]
110,81 unequal: No Solution
Exploring Operation: 8*102=816, Resulting Numbers: [816]
816,81 unequal: No Solution
Exploring Operation: 102-8=94, Resulting Numbers: [94]
94,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
33,
80,
37,
84
] | 66 | [
"33+80=113",
"84-37=47",
"113-47=66"
] | Current State: 66:[33, 80, 37, 84], Operations: []
Exploring Operation: 33+80=113, Resulting Numbers: [37, 84, 113]
Generated Node #2: [37, 84, 113] from Operation: 33+80=113
Current State: 66:[37, 84, 113], Operations: ['33+80=113']
Exploring Operation: 84-37=47, Resulting Numbers: [113, 47]
Generated Node #3: [113, 47] from Operation: 84-37=47
Current State: 66:[113, 47], Operations: ['33+80=113', '84-37=47']
Exploring Operation: 113-47=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[33, 80, 37, 84], Operations: []
Exploring Operation: 80-37=43, Resulting Numbers: [33, 84, 43]
Generated Node #0,0: 66:[33, 84, 43] Operation: 80-37=43
Exploring Operation: 37-33=4, Resulting Numbers: [80, 84, 4]
Generated Node #0,1: 66:[80, 84, 4] Operation: 37-33=4
Exploring Operation: 84-80=4, Resulting Numbers: [33, 37, 4]
Generated Node #0,2: 66:[33, 37, 4] Operation: 84-80=4
Exploring Operation: 84-37=47, Resulting Numbers: [33, 80, 47]
Generated Node #0,3: 66:[33, 80, 47] Operation: 84-37=47
Moving to Node #0,2
Current State: 66:[33, 37, 4], Operations: ['84-80=4']
Exploring Operation: 37-4=33, Resulting Numbers: [33, 33]
Generated Node #0,2,0: 66:[33, 33] Operation: 37-4=33
Exploring Operation: 37-33=4, Resulting Numbers: [4, 4]
Generated Node #0,2,1: 66:[4, 4] Operation: 37-33=4
Exploring Operation: 33+37=70, Resulting Numbers: [4, 70]
Generated Node #0,2,2: 66:[4, 70] Operation: 33+37=70
Exploring Operation: 33+4=37, Resulting Numbers: [37, 37]
Generated Node #0,2,3: 66:[37, 37] Operation: 33+4=37
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 66:[33, 33], Operations: ['84-80=4', '37-4=33']
Exploring Operation: 33+33=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[33, 80, 37, 84], Operations: []
Exploring Operation: 84-80=4, Resulting Numbers: [33, 37, 4]
Generated Node #0,2: 66:[33, 37, 4] Operation: 84-80=4
Moving to Node #0,2
Current State: 66:[33, 37, 4], Operations: ['84-80=4']
Exploring Operation: 37-4=33, Resulting Numbers: [33, 33]
Generated Node #0,2,0: 66:[33, 33] Operation: 37-4=33
Moving to Node #0,2,0
Current State: 66:[33, 33], Operations: ['84-80=4', '37-4=33']
Exploring Operation: 33+33=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
48,
24,
59,
65
] | 52 | [
"48+24=72",
"59+65=124",
"124-72=52"
] | Current State: 52:[48, 24, 59, 65], Operations: []
Exploring Operation: 48+24=72, Resulting Numbers: [59, 65, 72]
Generated Node #2: [59, 65, 72] from Operation: 48+24=72
Current State: 52:[59, 65, 72], Operations: ['48+24=72']
Exploring Operation: 59+65=124, Resulting Numbers: [72, 124]
Generated Node #3: [72, 124] from Operation: 59+65=124
Current State: 52:[72, 124], Operations: ['48+24=72', '59+65=124']
Exploring Operation: 124-72=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[48, 24, 59, 65], Operations: []
Exploring Operation: 65-48=17, Resulting Numbers: [24, 59, 17]
Generated Node #0,0: 52:[24, 59, 17] Operation: 65-48=17
Exploring Operation: 48-24=24, Resulting Numbers: [59, 65, 24]
Generated Node #0,1: 52:[59, 65, 24] Operation: 48-24=24
Exploring Operation: 59-48=11, Resulting Numbers: [24, 65, 11]
Generated Node #0,2: 52:[24, 65, 11] Operation: 59-48=11
Exploring Operation: 48/24=2, Resulting Numbers: [59, 65, 2]
Generated Node #0,3: 52:[59, 65, 2] Operation: 48/24=2
Exploring Operation: 65-59=6, Resulting Numbers: [48, 24, 6]
Generated Node #0,4: 52:[48, 24, 6] Operation: 65-59=6
Moving to Node #0,4
Current State: 52:[48, 24, 6], Operations: ['65-59=6']
Exploring Operation: 48/24=2, Resulting Numbers: [6, 2]
Generated Node #0,4,0: 52:[6, 2] Operation: 48/24=2
Exploring Operation: 48/6=8, Resulting Numbers: [24, 8]
Generated Node #0,4,1: 52:[24, 8] Operation: 48/6=8
Exploring Operation: 48-24=24, Resulting Numbers: [6, 24]
Generated Node #0,4,2: 52:[6, 24] Operation: 48-24=24
Exploring Operation: 24/6=4, Resulting Numbers: [48, 4]
Generated Node #0,4,3: 52:[48, 4] Operation: 24/6=4
Exploring Operation: 48+6=54, Resulting Numbers: [24, 54]
Generated Node #0,4,4: 52:[24, 54] Operation: 48+6=54
Moving to Node #0,0
Current State: 52:[24, 59, 17], Operations: ['65-48=17']
Exploring Operation: 59-17=42, Resulting Numbers: [24, 42]
Generated Node #0,0,0: 52:[24, 42] Operation: 59-17=42
Exploring Operation: 59+17=76, Resulting Numbers: [24, 76]
Generated Node #0,0,1: 52:[24, 76] Operation: 59+17=76
Exploring Operation: 24-17=7, Resulting Numbers: [59, 7]
Generated Node #0,0,2: 52:[59, 7] Operation: 24-17=7
Exploring Operation: 24+17=41, Resulting Numbers: [59, 41]
Generated Node #0,0,3: 52:[59, 41] Operation: 24+17=41
Exploring Operation: 59-24=35, Resulting Numbers: [17, 35]
Generated Node #0,0,4: 52:[17, 35] Operation: 59-24=35
Moving to Node #0,2
Current State: 52:[24, 65, 11], Operations: ['59-48=11']
Exploring Operation: 24+11=35, Resulting Numbers: [65, 35]
Generated Node #0,2,0: 52:[65, 35] Operation: 24+11=35
Exploring Operation: 65+11=76, Resulting Numbers: [24, 76]
Generated Node #0,2,1: 52:[24, 76] Operation: 65+11=76
Exploring Operation: 65-11=54, Resulting Numbers: [24, 54]
Generated Node #0,2,2: 52:[24, 54] Operation: 65-11=54
Exploring Operation: 65-24=41, Resulting Numbers: [11, 41]
Generated Node #0,2,3: 52:[11, 41] Operation: 65-24=41
Exploring Operation: 24-11=13, Resulting Numbers: [65, 13]
Generated Node #0,2,4: 52:[65, 13] Operation: 24-11=13
Moving to Node #0,3
Current State: 52:[59, 65, 2], Operations: ['48/24=2']
Exploring Operation: 65-2=63, Resulting Numbers: [59, 63]
Generated Node #0,3,0: 52:[59, 63] Operation: 65-2=63
Exploring Operation: 59-2=57, Resulting Numbers: [65, 57]
Generated Node #0,3,1: 52:[65, 57] Operation: 59-2=57
Exploring Operation: 65+2=67, Resulting Numbers: [59, 67]
Generated Node #0,3,2: 52:[59, 67] Operation: 65+2=67
Exploring Operation: 59+2=61, Resulting Numbers: [65, 61]
Generated Node #0,3,3: 52:[65, 61] Operation: 59+2=61
Exploring Operation: 65-59=6, Resulting Numbers: [2, 6]
Generated Node #0,3,4: 52:[2, 6] Operation: 65-59=6
Moving to Node #0,1
Current State: 52:[59, 65, 24], Operations: ['48-24=24']
Exploring Operation: 65+24=89, Resulting Numbers: [59, 89]
Generated Node #0,1,0: 52:[59, 89] Operation: 65+24=89
Exploring Operation: 65-24=41, Resulting Numbers: [59, 41]
Generated Node #0,1,1: 52:[59, 41] Operation: 65-24=41
Exploring Operation: 65-59=6, Resulting Numbers: [24, 6]
Generated Node #0,1,2: 52:[24, 6] Operation: 65-59=6
Exploring Operation: 59-24=35, Resulting Numbers: [65, 35]
Generated Node #0,1,3: 52:[65, 35] Operation: 59-24=35
Exploring Operation: 59+24=83, Resulting Numbers: [65, 83]
Generated Node #0,1,4: 52:[65, 83] Operation: 59+24=83
Moving to Node #0,4,0
Current State: 52:[6, 2], Operations: ['65-59=6', '48/24=2']
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,52 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 6*2=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Moving to Node #0,3,4
Current State: 52:[2, 6], Operations: ['48/24=2', '65-59=6']
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,52 unequal: No Solution
Moving to Node #0,4,3
Current State: 52:[48, 4], Operations: ['65-59=6', '24/6=4']
Exploring Operation: 48+4=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[48, 24, 59, 65], Operations: []
Exploring Operation: 65-59=6, Resulting Numbers: [48, 24, 6]
Generated Node #0,4: 52:[48, 24, 6] Operation: 65-59=6
Moving to Node #0,4
Current State: 52:[48, 24, 6], Operations: ['65-59=6']
Exploring Operation: 24/6=4, Resulting Numbers: [48, 4]
Generated Node #0,4,3: 52:[48, 4] Operation: 24/6=4
Moving to Node #0,4,3
Current State: 52:[48, 4], Operations: ['65-59=6', '24/6=4']
Exploring Operation: 48+4=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 0.962674 | hs_5 | mult_heuristic |
[
48,
31,
38,
47
] | 69 | [
"48-47=1",
"31+38=69",
"1*69=69"
] | Current State: 69:[48, 31, 38, 47], Operations: []
Exploring Operation: 48-47=1, Resulting Numbers: [31, 38, 1]
Generated Node #2: [31, 38, 1] from Operation: 48-47=1
Current State: 69:[31, 38, 1], Operations: ['48-47=1']
Exploring Operation: 31+38=69, Resulting Numbers: [1, 69]
Generated Node #3: [1, 69] from Operation: 31+38=69
Current State: 69:[1, 69], Operations: ['48-47=1', '31+38=69']
Exploring Operation: 1*69=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[48, 31, 38, 47], Operations: []
Exploring Operation: 48-38=10, Resulting Numbers: [31, 47, 10]
Generated Node #0,0: 69:[31, 47, 10] Operation: 48-38=10
Exploring Operation: 48-31=17, Resulting Numbers: [38, 47, 17]
Generated Node #0,1: 69:[38, 47, 17] Operation: 48-31=17
Exploring Operation: 48-47=1, Resulting Numbers: [31, 38, 1]
Generated Node #0,2: 69:[31, 38, 1] Operation: 48-47=1
Exploring Operation: 47-38=9, Resulting Numbers: [48, 31, 9]
Generated Node #0,3: 69:[48, 31, 9] Operation: 47-38=9
Moving to Node #0,2
Current State: 69:[31, 38, 1], Operations: ['48-47=1']
Exploring Operation: 31+38=69, Resulting Numbers: [1, 69]
Generated Node #0,2,0: 69:[1, 69] Operation: 31+38=69
Exploring Operation: 38-31=7, Resulting Numbers: [1, 7]
Generated Node #0,2,1: 69:[1, 7] Operation: 38-31=7
Exploring Operation: 38-1=37, Resulting Numbers: [31, 37]
Generated Node #0,2,2: 69:[31, 37] Operation: 38-1=37
Exploring Operation: 31-1=30, Resulting Numbers: [38, 30]
Generated Node #0,2,3: 69:[38, 30] Operation: 31-1=30
Moving to Node #0,3
Current State: 69:[48, 31, 9], Operations: ['47-38=9']
Exploring Operation: 31-9=22, Resulting Numbers: [48, 22]
Generated Node #0,3,0: 69:[48, 22] Operation: 31-9=22
Exploring Operation: 48+9=57, Resulting Numbers: [31, 57]
Generated Node #0,3,1: 69:[31, 57] Operation: 48+9=57
Exploring Operation: 48+31=79, Resulting Numbers: [9, 79]
Generated Node #0,3,2: 69:[9, 79] Operation: 48+31=79
Exploring Operation: 48-31=17, Resulting Numbers: [9, 17]
Generated Node #0,3,3: 69:[9, 17] Operation: 48-31=17
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 69:[9, 17], Operations: ['47-38=9', '48-31=17']
Exploring Operation: 9+17=26, Resulting Numbers: [26]
26,69 unequal: No Solution
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,69 unequal: No Solution
Exploring Operation: 9*17=153, Resulting Numbers: [153]
153,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 69:[9, 79], Operations: ['47-38=9', '48+31=79']
Exploring Operation: 9*79=711, Resulting Numbers: [711]
711,69 unequal: No Solution
Exploring Operation: 79-9=70, Resulting Numbers: [70]
70,69 unequal: No Solution
Exploring Operation: 9+79=88, Resulting Numbers: [88]
88,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 69:[31, 57], Operations: ['47-38=9', '48+9=57']
Exploring Operation: 57-31=26, Resulting Numbers: [26]
26,69 unequal: No Solution
Exploring Operation: 31+57=88, Resulting Numbers: [88]
88,69 unequal: No Solution
Exploring Operation: 31*57=1767, Resulting Numbers: [1767]
1767,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 69:[48, 22], Operations: ['47-38=9', '31-9=22']
Exploring Operation: 48-22=26, Resulting Numbers: [26]
26,69 unequal: No Solution
Exploring Operation: 48*22=1056, Resulting Numbers: [1056]
1056,69 unequal: No Solution
Exploring Operation: 48+22=70, Resulting Numbers: [70]
70,69 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: 69:[31, 47, 10], Operations: ['48-38=10']
Exploring Operation: 47-31=16, Resulting Numbers: [10, 16]
Generated Node #0,0,0: 69:[10, 16] Operation: 47-31=16
Exploring Operation: 47-10=37, Resulting Numbers: [31, 37]
Generated Node #0,0,1: 69:[31, 37] Operation: 47-10=37
Exploring Operation: 47+10=57, Resulting Numbers: [31, 57]
Generated Node #0,0,2: 69:[31, 57] Operation: 47+10=57
Exploring Operation: 31+47=78, Resulting Numbers: [10, 78]
Generated Node #0,0,3: 69:[10, 78] Operation: 31+47=78
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 69:[10, 16], Operations: ['48-38=10', '47-31=16']
Exploring Operation: 16-10=6, Resulting Numbers: [6]
6,69 unequal: No Solution
Exploring Operation: 10+16=26, Resulting Numbers: [26]
26,69 unequal: No Solution
Exploring Operation: 10*16=160, Resulting Numbers: [160]
160,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 69:[10, 78], Operations: ['48-38=10', '31+47=78']
Exploring Operation: 10+78=88, Resulting Numbers: [88]
88,69 unequal: No Solution
Exploring Operation: 10*78=780, Resulting Numbers: [780]
780,69 unequal: No Solution
Exploring Operation: 78-10=68, Resulting Numbers: [68]
68,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 69:[31, 57], Operations: ['48-38=10', '47+10=57']
Exploring Operation: 57-31=26, Resulting Numbers: [26]
26,69 unequal: No Solution
Exploring Operation: 31*57=1767, Resulting Numbers: [1767]
1767,69 unequal: No Solution
Exploring Operation: 31+57=88, Resulting Numbers: [88]
88,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 69:[31, 37], Operations: ['48-38=10', '47-10=37']
Exploring Operation: 37-31=6, Resulting Numbers: [6]
6,69 unequal: No Solution
Exploring Operation: 31+37=68, Resulting Numbers: [68]
68,69 unequal: No Solution
Exploring Operation: 31*37=1147, Resulting Numbers: [1147]
1147,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 69:[38, 47, 17], Operations: ['48-31=17']
Exploring Operation: 38+47=85, Resulting Numbers: [17, 85]
Generated Node #0,1,0: 69:[17, 85] Operation: 38+47=85
Exploring Operation: 47-17=30, Resulting Numbers: [38, 30]
Generated Node #0,1,1: 69:[38, 30] Operation: 47-17=30
Exploring Operation: 47+17=64, Resulting Numbers: [38, 64]
Generated Node #0,1,2: 69:[38, 64] Operation: 47+17=64
Exploring Operation: 47-38=9, Resulting Numbers: [17, 9]
Generated Node #0,1,3: 69:[17, 9] Operation: 47-38=9
Moving to Node #0,2,0
Current State: 69:[1, 69], Operations: ['48-47=1', '31+38=69']
Exploring Operation: 1+69=70, Resulting Numbers: [70]
70,69 unequal: No Solution
Exploring Operation: 1*69=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[48, 31, 38, 47], Operations: []
Exploring Operation: 48-47=1, Resulting Numbers: [31, 38, 1]
Generated Node #0,2: 69:[31, 38, 1] Operation: 48-47=1
Moving to Node #0,2
Current State: 69:[31, 38, 1], Operations: ['48-47=1']
Exploring Operation: 31+38=69, Resulting Numbers: [1, 69]
Generated Node #0,2,0: 69:[1, 69] Operation: 31+38=69
Moving to Node #0,2,0
Current State: 69:[1, 69], Operations: ['48-47=1', '31+38=69']
Exploring Operation: 1*69=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 0.956597 | hs_4 | mult_heuristic |
[
74,
13,
23,
48
] | 36 | [
"74-13=61",
"48-23=25",
"61-25=36"
] | Current State: 36:[74, 13, 23, 48], Operations: []
Exploring Operation: 74-13=61, Resulting Numbers: [23, 48, 61]
Generated Node #2: [23, 48, 61] from Operation: 74-13=61
Current State: 36:[23, 48, 61], Operations: ['74-13=61']
Exploring Operation: 48-23=25, Resulting Numbers: [61, 25]
Generated Node #3: [61, 25] from Operation: 48-23=25
Current State: 36:[61, 25], Operations: ['74-13=61', '48-23=25']
Exploring Operation: 61-25=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[74, 13, 23, 48], Operations: []
Exploring Operation: 74-48=26, Resulting Numbers: [13, 23, 26]
Generated Node #0,0: 36:[13, 23, 26] Operation: 74-48=26
Exploring Operation: 74-23=51, Resulting Numbers: [13, 48, 51]
Generated Node #0,1: 36:[13, 48, 51] Operation: 74-23=51
Start Sub Search at level 1: Moving to Node #0,0
Current State: 36:[13, 23, 26], Operations: ['74-48=26']
Exploring Operation: 26/13=2, Resulting Numbers: [23, 2]
Generated Node #0,0,0: 36:[23, 2] Operation: 26/13=2
Exploring Operation: 26-23=3, Resulting Numbers: [13, 3]
Generated Node #0,0,1: 36:[13, 3] Operation: 26-23=3
Moving to Node #0,0,1
Current State: 36:[13, 3], Operations: ['74-48=26', '26-23=3']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 13+3=16, Resulting Numbers: [16]
16,36 unequal: No Solution
Moving to Node #0,0,0
Current State: 36:[23, 2], Operations: ['74-48=26', '26/13=2']
Exploring Operation: 23+2=25, Resulting Numbers: [25]
25,36 unequal: No Solution
Exploring Operation: 23-2=21, Resulting Numbers: [21]
21,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 36:[13, 48, 51], Operations: ['74-23=51']
Exploring Operation: 51-48=3, Resulting Numbers: [13, 3]
Generated Node #0,1,0: 36:[13, 3] Operation: 51-48=3
Exploring Operation: 51-13=38, Resulting Numbers: [48, 38]
Generated Node #0,1,1: 36:[48, 38] Operation: 51-13=38
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 36:[13, 3], Operations: ['74-23=51', '51-48=3']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,36 unequal: No Solution
Exploring Operation: 13+3=16, Resulting Numbers: [16]
16,36 unequal: No Solution
No 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: 36:[48, 38], Operations: ['74-23=51', '51-13=38']
Exploring Operation: 48+38=86, Resulting Numbers: [86]
86,36 unequal: No Solution
Exploring Operation: 48-38=10, Resulting Numbers: [10]
10,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
19,
98,
22,
4
] | 80 | [
"19*22=418",
"418-98=320",
"320/4=80"
] | Current State: 80:[19, 98, 22, 4], Operations: []
Exploring Operation: 19*22=418, Resulting Numbers: [98, 4, 418]
Generated Node #2: [98, 4, 418] from Operation: 19*22=418
Current State: 80:[98, 4, 418], Operations: ['19*22=418']
Exploring Operation: 418-98=320, Resulting Numbers: [4, 320]
Generated Node #3: [4, 320] from Operation: 418-98=320
Current State: 80:[4, 320], Operations: ['19*22=418', '418-98=320']
Exploring Operation: 320/4=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[19, 98, 22, 4], Operations: []
Exploring Operation: 98-4=94, Resulting Numbers: [19, 22, 94]
Generated Node #0,0: 80:[19, 22, 94] Operation: 98-4=94
Exploring Operation: 98-22=76, Resulting Numbers: [19, 4, 76]
Generated Node #0,1: 80:[19, 4, 76] Operation: 98-22=76
Exploring Operation: 98-19=79, Resulting Numbers: [22, 4, 79]
Generated Node #0,2: 80:[22, 4, 79] Operation: 98-19=79
Exploring Operation: 19+22=41, Resulting Numbers: [98, 4, 41]
Generated Node #0,3: 80:[98, 4, 41] Operation: 19+22=41
Start Sub Search at level 1: Moving to Node #0,2
Current State: 80:[22, 4, 79], Operations: ['98-19=79']
Exploring Operation: 4+79=83, Resulting Numbers: [22, 83]
Generated Node #0,2,0: 80:[22, 83] Operation: 4+79=83
Exploring Operation: 22-4=18, Resulting Numbers: [79, 18]
Generated Node #0,2,1: 80:[79, 18] Operation: 22-4=18
Exploring Operation: 79-4=75, Resulting Numbers: [22, 75]
Generated Node #0,2,2: 80:[22, 75] Operation: 79-4=75
Exploring Operation: 22+4=26, Resulting Numbers: [79, 26]
Generated Node #0,2,3: 80:[79, 26] Operation: 22+4=26
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 80:[79, 18], Operations: ['98-19=79', '22-4=18']
Exploring Operation: 79+18=97, Resulting Numbers: [97]
97,80 unequal: No Solution
Exploring Operation: 79-18=61, Resulting Numbers: [61]
61,80 unequal: No Solution
Exploring Operation: 79*18=1422, Resulting Numbers: [1422]
1422,80 unequal: No Solution
No 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: 80:[22, 83], Operations: ['98-19=79', '4+79=83']
Exploring Operation: 83-22=61, Resulting Numbers: [61]
61,80 unequal: No Solution
Exploring Operation: 22+83=105, Resulting Numbers: [105]
105,80 unequal: No Solution
Exploring Operation: 22*83=1826, Resulting Numbers: [1826]
1826,80 unequal: No Solution
No 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: 80:[22, 75], Operations: ['98-19=79', '79-4=75']
Exploring Operation: 22+75=97, Resulting Numbers: [97]
97,80 unequal: No Solution
Exploring Operation: 22*75=1650, Resulting Numbers: [1650]
1650,80 unequal: No Solution
Exploring Operation: 75-22=53, Resulting Numbers: [53]
53,80 unequal: No Solution
No 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: 80:[79, 26], Operations: ['98-19=79', '22+4=26']
Exploring Operation: 79+26=105, Resulting Numbers: [105]
105,80 unequal: No Solution
Exploring Operation: 79-26=53, Resulting Numbers: [53]
53,80 unequal: No Solution
Exploring Operation: 79*26=2054, Resulting Numbers: [2054]
2054,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[19, 4, 76], Operations: ['98-22=76']
Exploring Operation: 19-4=15, Resulting Numbers: [76, 15]
Generated Node #0,1,0: 80:[76, 15] Operation: 19-4=15
Exploring Operation: 76/19=4, Resulting Numbers: [4, 4]
Generated Node #0,1,1: 80:[4, 4] Operation: 76/19=4
Exploring Operation: 76/4=19, Resulting Numbers: [19, 19]
Generated Node #0,1,2: 80:[19, 19] Operation: 76/4=19
Exploring Operation: 4+76=80, Resulting Numbers: [19, 80]
Generated Node #0,1,3: 80:[19, 80] Operation: 4+76=80
Moving to Node #0,1,1
Current State: 80:[4, 4], Operations: ['98-22=76', '76/19=4']
Exploring Operation: 4*4=16, Resulting Numbers: [16]
16,80 unequal: No Solution
Exploring Operation: 4+4=8, Resulting Numbers: [8]
8,80 unequal: No Solution
Exploring Operation: 4/4=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Exploring Operation: 4-4=0, Resulting Numbers: [0]
0,80 unequal: No Solution
Moving to Node #0,1,3
Current State: 80:[19, 80], Operations: ['98-22=76', '4+76=80']
Exploring Operation: 19*80=1520, Resulting Numbers: [1520]
1520,80 unequal: No Solution
Exploring Operation: 80-19=61, Resulting Numbers: [61]
61,80 unequal: No Solution
Exploring Operation: 19+80=99, Resulting Numbers: [99]
99,80 unequal: No Solution
Moving to Node #0,1,2
Current State: 80:[19, 19], Operations: ['98-22=76', '76/4=19']
Exploring Operation: 19*19=361, Resulting Numbers: [361]
361,80 unequal: No Solution
Exploring Operation: 19/19=1, Resulting Numbers: [1]
1,80 unequal: No Solution
Exploring Operation: 19+19=38, Resulting Numbers: [38]
38,80 unequal: No Solution
Exploring Operation: 19-19=0, Resulting Numbers: [0]
0,80 unequal: No Solution
Moving to Node #0,1,0
Current State: 80:[76, 15], Operations: ['98-22=76', '19-4=15']
Exploring Operation: 76*15=1140, Resulting Numbers: [1140]
1140,80 unequal: No Solution
Exploring Operation: 76-15=61, Resulting Numbers: [61]
61,80 unequal: No Solution
Exploring Operation: 76+15=91, Resulting Numbers: [91]
91,80 unequal: No Solution
No 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: 80:[19, 22, 94], Operations: ['98-4=94']
Exploring Operation: 94-19=75, Resulting Numbers: [22, 75]
Generated Node #0,0,0: 80:[22, 75] Operation: 94-19=75
Exploring Operation: 19+22=41, Resulting Numbers: [94, 41]
Generated Node #0,0,1: 80:[94, 41] Operation: 19+22=41
Exploring Operation: 22-19=3, Resulting Numbers: [94, 3]
Generated Node #0,0,2: 80:[94, 3] Operation: 22-19=3
Exploring Operation: 94-22=72, Resulting Numbers: [19, 72]
Generated Node #0,0,3: 80:[19, 72] Operation: 94-22=72
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 80:[22, 75], Operations: ['98-4=94', '94-19=75']
Exploring Operation: 75-22=53, Resulting Numbers: [53]
53,80 unequal: No Solution
Exploring Operation: 22+75=97, Resulting Numbers: [97]
97,80 unequal: No Solution
Exploring Operation: 22*75=1650, Resulting Numbers: [1650]
1650,80 unequal: No Solution
No 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: 80:[19, 72], Operations: ['98-4=94', '94-22=72']
Exploring Operation: 72-19=53, Resulting Numbers: [53]
53,80 unequal: No Solution
Exploring Operation: 19*72=1368, Resulting Numbers: [1368]
1368,80 unequal: No Solution
Exploring Operation: 19+72=91, Resulting Numbers: [91]
91,80 unequal: No Solution
No 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: 80:[94, 41], Operations: ['98-4=94', '19+22=41']
Exploring Operation: 94*41=3854, Resulting Numbers: [3854]
3854,80 unequal: No Solution
Exploring Operation: 94+41=135, Resulting Numbers: [135]
135,80 unequal: No Solution
Exploring Operation: 94-41=53, Resulting Numbers: [53]
53,80 unequal: No Solution
No 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: 80:[94, 3], Operations: ['98-4=94', '22-19=3']
Exploring Operation: 94+3=97, Resulting Numbers: [97]
97,80 unequal: No Solution
Exploring Operation: 94-3=91, Resulting Numbers: [91]
91,80 unequal: No Solution
Exploring Operation: 94*3=282, Resulting Numbers: [282]
282,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
Start Sub Search at level 1: Moving to Node #0,3
Current State: 80:[98, 4, 41], Operations: ['19+22=41']
Exploring Operation: 98-4=94, Resulting Numbers: [41, 94]
Generated Node #0,3,0: 80:[41, 94] Operation: 98-4=94
Exploring Operation: 41-4=37, Resulting Numbers: [98, 37]
Generated Node #0,3,1: 80:[98, 37] Operation: 41-4=37
Exploring Operation: 98+4=102, Resulting Numbers: [41, 102]
Generated Node #0,3,2: 80:[41, 102] Operation: 98+4=102
Exploring Operation: 98-41=57, Resulting Numbers: [4, 57]
Generated Node #0,3,3: 80:[4, 57] Operation: 98-41=57
Moving to Node #0,3,0
Current State: 80:[41, 94], Operations: ['19+22=41', '98-4=94']
Exploring Operation: 41+94=135, Resulting Numbers: [135]
135,80 unequal: No Solution
Exploring Operation: 94-41=53, Resulting Numbers: [53]
53,80 unequal: No Solution
Exploring Operation: 41*94=3854, Resulting Numbers: [3854]
3854,80 unequal: No Solution
Moving to Node #0,3,3
Current State: 80:[4, 57], Operations: ['19+22=41', '98-41=57']
Exploring Operation: 4*57=228, Resulting Numbers: [228]
228,80 unequal: No Solution
Exploring Operation: 4+57=61, Resulting Numbers: [61]
61,80 unequal: No Solution
Exploring Operation: 57-4=53, Resulting Numbers: [53]
53,80 unequal: No Solution
Moving to Node #0,3,1
Current State: 80:[98, 37], Operations: ['19+22=41', '41-4=37']
Exploring Operation: 98+37=135, Resulting Numbers: [135]
135,80 unequal: No Solution
Exploring Operation: 98*37=3626, Resulting Numbers: [3626]
3626,80 unequal: No Solution
Exploring Operation: 98-37=61, Resulting Numbers: [61]
61,80 unequal: No Solution
Moving to Node #0,3,2
Current State: 80:[41, 102], Operations: ['19+22=41', '98+4=102']
Exploring Operation: 41+102=143, Resulting Numbers: [143]
143,80 unequal: No Solution
Exploring Operation: 41*102=4182, Resulting Numbers: [4182]
4182,80 unequal: No Solution
Exploring Operation: 102-41=61, Resulting Numbers: [61]
61,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
31,
30,
56,
8
] | 65 | [
"31-30=1",
"56+8=64",
"1+64=65"
] | Current State: 65:[31, 30, 56, 8], Operations: []
Exploring Operation: 31-30=1, Resulting Numbers: [56, 8, 1]
Generated Node #2: [56, 8, 1] from Operation: 31-30=1
Current State: 65:[56, 8, 1], Operations: ['31-30=1']
Exploring Operation: 56+8=64, Resulting Numbers: [1, 64]
Generated Node #3: [1, 64] from Operation: 56+8=64
Current State: 65:[1, 64], Operations: ['31-30=1', '56+8=64']
Exploring Operation: 1+64=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[31, 30, 56, 8], Operations: []
Exploring Operation: 31+30=61, Resulting Numbers: [56, 8, 61]
Generated Node #0,0: 65:[56, 8, 61] Operation: 31+30=61
Exploring Operation: 31-30=1, Resulting Numbers: [56, 8, 1]
Generated Node #0,1: 65:[56, 8, 1] Operation: 31-30=1
Exploring Operation: 56-31=25, Resulting Numbers: [30, 8, 25]
Generated Node #0,2: 65:[30, 8, 25] Operation: 56-31=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[56, 8, 61], Operations: ['31+30=61']
Exploring Operation: 56/8=7, Resulting Numbers: [61, 7]
Generated Node #0,0,0: 65:[61, 7] Operation: 56/8=7
Exploring Operation: 56+8=64, Resulting Numbers: [61, 64]
Generated Node #0,0,1: 65:[61, 64] Operation: 56+8=64
Exploring Operation: 61-56=5, Resulting Numbers: [8, 5]
Generated Node #0,0,2: 65:[8, 5] Operation: 61-56=5
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 65:[8, 5], Operations: ['31+30=61', '61-56=5']
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,65 unequal: No Solution
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,65 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,65 unequal: No Solution
No 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: 65:[61, 64], Operations: ['31+30=61', '56+8=64']
Exploring Operation: 61+64=125, Resulting Numbers: [125]
125,65 unequal: No Solution
Exploring Operation: 64-61=3, Resulting Numbers: [3]
3,65 unequal: No Solution
Exploring Operation: 61*64=3904, Resulting Numbers: [3904]
3904,65 unequal: No Solution
No 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: 65:[61, 7], Operations: ['31+30=61', '56/8=7']
Exploring Operation: 61-7=54, Resulting Numbers: [54]
54,65 unequal: No Solution
Exploring Operation: 61*7=427, Resulting Numbers: [427]
427,65 unequal: No Solution
Exploring Operation: 61+7=68, Resulting Numbers: [68]
68,65 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: 65:[56, 8, 1], Operations: ['31-30=1']
Exploring Operation: 56+8=64, Resulting Numbers: [1, 64]
Generated Node #0,1,0: 65:[1, 64] Operation: 56+8=64
Exploring Operation: 56/8=7, Resulting Numbers: [1, 7]
Generated Node #0,1,1: 65:[1, 7] Operation: 56/8=7
Exploring Operation: 56+1=57, Resulting Numbers: [8, 57]
Generated Node #0,1,2: 65:[8, 57] Operation: 56+1=57
Moving to Node #0,1,0
Current State: 65:[1, 64], Operations: ['31-30=1', '56+8=64']
Exploring Operation: 1*64=64, Resulting Numbers: [64]
64,65 unequal: No Solution
Exploring Operation: 1+64=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[31, 30, 56, 8], Operations: []
Exploring Operation: 31-30=1, Resulting Numbers: [56, 8, 1]
Generated Node #0,1: 65:[56, 8, 1] Operation: 31-30=1
Moving to Node #0,1
Current State: 65:[56, 8, 1], Operations: ['31-30=1']
Exploring Operation: 56+8=64, Resulting Numbers: [1, 64]
Generated Node #0,1,0: 65:[1, 64] Operation: 56+8=64
Moving to Node #0,1,0
Current State: 65:[1, 64], Operations: ['31-30=1', '56+8=64']
Exploring Operation: 1+64=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_3 | mult_heuristic |
[
54,
8,
2,
9
] | 52 | [
"54-2=52",
"9-8=1",
"52*1=52"
] | Current State: 52:[54, 8, 2, 9], Operations: []
Exploring Operation: 54-2=52, Resulting Numbers: [8, 9, 52]
Generated Node #2: [8, 9, 52] from Operation: 54-2=52
Current State: 52:[8, 9, 52], Operations: ['54-2=52']
Exploring Operation: 9-8=1, Resulting Numbers: [52, 1]
Generated Node #3: [52, 1] from Operation: 9-8=1
Current State: 52:[52, 1], Operations: ['54-2=52', '9-8=1']
Exploring Operation: 52*1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[54, 8, 2, 9], Operations: []
Exploring Operation: 54/9=6, Resulting Numbers: [8, 2, 6]
Generated Node #0,0: 52:[8, 2, 6] Operation: 54/9=6
Exploring Operation: 9-8=1, Resulting Numbers: [54, 2, 1]
Generated Node #0,1: 52:[54, 2, 1] Operation: 9-8=1
Moving to Node #0,1
Current State: 52:[54, 2, 1], Operations: ['9-8=1']
Exploring Operation: 54-1=53, Resulting Numbers: [2, 53]
Generated Node #0,1,0: 52:[2, 53] Operation: 54-1=53
Exploring Operation: 54-2=52, Resulting Numbers: [1, 52]
Generated Node #0,1,1: 52:[1, 52] Operation: 54-2=52
Moving to Node #0,0
Current State: 52:[8, 2, 6], Operations: ['54/9=6']
Exploring Operation: 8+6=14, Resulting Numbers: [2, 14]
Generated Node #0,0,0: 52:[2, 14] Operation: 8+6=14
Exploring Operation: 8-6=2, Resulting Numbers: [2, 2]
Generated Node #0,0,1: 52:[2, 2] Operation: 8-6=2
Moving to Node #0,0,1
Current State: 52:[2, 2], Operations: ['54/9=6', '8-6=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Moving to Node #0,1,0
Current State: 52:[2, 53], Operations: ['9-8=1', '54-1=53']
Exploring Operation: 2+53=55, Resulting Numbers: [55]
55,52 unequal: No Solution
Exploring Operation: 53-2=51, Resulting Numbers: [51]
51,52 unequal: No Solution
Moving to Node #0,1,1
Current State: 52:[1, 52], Operations: ['9-8=1', '54-2=52']
Exploring Operation: 52/1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[54, 8, 2, 9], Operations: []
Exploring Operation: 9-8=1, Resulting Numbers: [54, 2, 1]
Generated Node #0,1: 52:[54, 2, 1] Operation: 9-8=1
Moving to Node #0,1
Current State: 52:[54, 2, 1], Operations: ['9-8=1']
Exploring Operation: 54-2=52, Resulting Numbers: [1, 52]
Generated Node #0,1,1: 52:[1, 52] Operation: 54-2=52
Moving to Node #0,1,1
Current State: 52:[1, 52], Operations: ['9-8=1', '54-2=52']
Exploring Operation: 52/1=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
43,
87,
53,
40
] | 37 | [
"43+87=130",
"53+40=93",
"130-93=37"
] | Current State: 37:[43, 87, 53, 40], Operations: []
Exploring Operation: 43+87=130, Resulting Numbers: [53, 40, 130]
Generated Node #2: [53, 40, 130] from Operation: 43+87=130
Current State: 37:[53, 40, 130], Operations: ['43+87=130']
Exploring Operation: 53+40=93, Resulting Numbers: [130, 93]
Generated Node #3: [130, 93] from Operation: 53+40=93
Current State: 37:[130, 93], Operations: ['43+87=130', '53+40=93']
Exploring Operation: 130-93=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[43, 87, 53, 40], Operations: []
Exploring Operation: 87-43=44, Resulting Numbers: [53, 40, 44]
Generated Node #0,0: 37:[53, 40, 44] Operation: 87-43=44
Exploring Operation: 87-53=34, Resulting Numbers: [43, 40, 34]
Generated Node #0,1: 37:[43, 40, 34] Operation: 87-53=34
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[43, 40, 34], Operations: ['87-53=34']
Exploring Operation: 43-34=9, Resulting Numbers: [40, 9]
Generated Node #0,1,0: 37:[40, 9] Operation: 43-34=9
Exploring Operation: 43-40=3, Resulting Numbers: [34, 3]
Generated Node #0,1,1: 37:[34, 3] Operation: 43-40=3
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 37:[40, 9], Operations: ['87-53=34', '43-34=9']
Exploring Operation: 40+9=49, Resulting Numbers: [49]
49,37 unequal: No Solution
Exploring Operation: 40-9=31, Resulting Numbers: [31]
31,37 unequal: No Solution
No 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: 37:[34, 3], Operations: ['87-53=34', '43-40=3']
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,37 unequal: No Solution
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[43, 87, 53, 40], Operations: []
Exploring Operation: 87-53=34, Resulting Numbers: [43, 40, 34]
Generated Node #0,1: 37:[43, 40, 34] Operation: 87-53=34
Moving to Node #0,1
Current State: 37:[43, 40, 34], Operations: ['87-53=34']
Exploring Operation: 43-40=3, Resulting Numbers: [34, 3]
Generated Node #0,1,1: 37:[34, 3] Operation: 43-40=3
Moving to Node #0,1,1
Current State: 37:[34, 3], Operations: ['87-53=34', '43-40=3']
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
10,
99,
76,
54
] | 41 | [
"99-10=89",
"76+54=130",
"130-89=41"
] | Current State: 41:[10, 99, 76, 54], Operations: []
Exploring Operation: 99-10=89, Resulting Numbers: [76, 54, 89]
Generated Node #2: [76, 54, 89] from Operation: 99-10=89
Current State: 41:[76, 54, 89], Operations: ['99-10=89']
Exploring Operation: 76+54=130, Resulting Numbers: [89, 130]
Generated Node #3: [89, 130] from Operation: 76+54=130
Current State: 41:[89, 130], Operations: ['99-10=89', '76+54=130']
Exploring Operation: 130-89=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[10, 99, 76, 54], Operations: []
Exploring Operation: 99-76=23, Resulting Numbers: [10, 54, 23]
Generated Node #0,0: 41:[10, 54, 23] Operation: 99-76=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[10, 54, 23], Operations: ['99-76=23']
Exploring Operation: 54-10=44, Resulting Numbers: [23, 44]
Generated Node #0,0,0: 41:[23, 44] Operation: 54-10=44
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 41:[23, 44], Operations: ['99-76=23', '54-10=44']
Exploring Operation: 44-23=21, Resulting Numbers: [21]
21,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
75,
76,
34,
5
] | 53 | [
"76+34=110",
"110/5=22",
"75-22=53"
] | Current State: 53:[75, 76, 34, 5], Operations: []
Exploring Operation: 76+34=110, Resulting Numbers: [75, 5, 110]
Generated Node #2: [75, 5, 110] from Operation: 76+34=110
Current State: 53:[75, 5, 110], Operations: ['76+34=110']
Exploring Operation: 110/5=22, Resulting Numbers: [75, 22]
Generated Node #3: [75, 22] from Operation: 110/5=22
Current State: 53:[75, 22], Operations: ['76+34=110', '110/5=22']
Exploring Operation: 75-22=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[75, 76, 34, 5], Operations: []
Exploring Operation: 75-5=70, Resulting Numbers: [76, 34, 70]
Generated Node #0,0: 53:[76, 34, 70] Operation: 75-5=70
Exploring Operation: 34+5=39, Resulting Numbers: [75, 76, 39]
Generated Node #0,1: 53:[75, 76, 39] Operation: 34+5=39
Exploring Operation: 76-5=71, Resulting Numbers: [75, 34, 71]
Generated Node #0,2: 53:[75, 34, 71] Operation: 76-5=71
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[76, 34, 70], Operations: ['75-5=70']
Exploring Operation: 76-34=42, Resulting Numbers: [70, 42]
Generated Node #0,0,0: 53:[70, 42] Operation: 76-34=42
Exploring Operation: 70-34=36, Resulting Numbers: [76, 36]
Generated Node #0,0,1: 53:[76, 36] Operation: 70-34=36
Exploring Operation: 76-70=6, Resulting Numbers: [34, 6]
Generated Node #0,0,2: 53:[34, 6] Operation: 76-70=6
Moving to Node #0,0,0
Current State: 53:[70, 42], Operations: ['75-5=70', '76-34=42']
Exploring Operation: 70-42=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Exploring Operation: 70+42=112, Resulting Numbers: [112]
112,53 unequal: No Solution
Exploring Operation: 70*42=2940, Resulting Numbers: [2940]
2940,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[76, 36], Operations: ['75-5=70', '70-34=36']
Exploring Operation: 76-36=40, Resulting Numbers: [40]
40,53 unequal: No Solution
Exploring Operation: 76+36=112, Resulting Numbers: [112]
112,53 unequal: No Solution
Exploring Operation: 76*36=2736, Resulting Numbers: [2736]
2736,53 unequal: No Solution
Moving to Node #0,0,2
Current State: 53:[34, 6], Operations: ['75-5=70', '76-70=6']
Exploring Operation: 34-6=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Exploring Operation: 34+6=40, Resulting Numbers: [40]
40,53 unequal: No Solution
Exploring Operation: 34*6=204, Resulting Numbers: [204]
204,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[75, 76, 39], Operations: ['34+5=39']
Exploring Operation: 76-75=1, Resulting Numbers: [39, 1]
Generated Node #0,1,0: 53:[39, 1] Operation: 76-75=1
Exploring Operation: 75-39=36, Resulting Numbers: [76, 36]
Generated Node #0,1,1: 53:[76, 36] Operation: 75-39=36
Exploring Operation: 76-39=37, Resulting Numbers: [75, 37]
Generated Node #0,1,2: 53:[75, 37] Operation: 76-39=37
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 53:[75, 37], Operations: ['34+5=39', '76-39=37']
Exploring Operation: 75+37=112, Resulting Numbers: [112]
112,53 unequal: No Solution
Exploring Operation: 75*37=2775, Resulting Numbers: [2775]
2775,53 unequal: No Solution
Exploring Operation: 75-37=38, Resulting Numbers: [38]
38,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 53:[76, 36], Operations: ['34+5=39', '75-39=36']
Exploring Operation: 76+36=112, Resulting Numbers: [112]
112,53 unequal: No Solution
Exploring Operation: 76*36=2736, Resulting Numbers: [2736]
2736,53 unequal: No Solution
Exploring Operation: 76-36=40, Resulting Numbers: [40]
40,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 53:[39, 1], Operations: ['34+5=39', '76-75=1']
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,53 unequal: No Solution
Exploring Operation: 39+1=40, Resulting Numbers: [40]
40,53 unequal: No Solution
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 53:[75, 34, 71], Operations: ['76-5=71']
Exploring Operation: 75-71=4, Resulting Numbers: [34, 4]
Generated Node #0,2,0: 53:[34, 4] Operation: 75-71=4
Exploring Operation: 71-34=37, Resulting Numbers: [75, 37]
Generated Node #0,2,1: 53:[75, 37] Operation: 71-34=37
Exploring Operation: 75-34=41, Resulting Numbers: [71, 41]
Generated Node #0,2,2: 53:[71, 41] Operation: 75-34=41
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 53:[71, 41], Operations: ['76-5=71', '75-34=41']
Exploring Operation: 71-41=30, Resulting Numbers: [30]
30,53 unequal: No Solution
Exploring Operation: 71+41=112, Resulting Numbers: [112]
112,53 unequal: No Solution
Exploring Operation: 71*41=2911, Resulting Numbers: [2911]
2911,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 53:[75, 37], Operations: ['76-5=71', '71-34=37']
Exploring Operation: 75-37=38, Resulting Numbers: [38]
38,53 unequal: No Solution
Exploring Operation: 75+37=112, Resulting Numbers: [112]
112,53 unequal: No Solution
Exploring Operation: 75*37=2775, Resulting Numbers: [2775]
2775,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 53:[34, 4], Operations: ['76-5=71', '75-71=4']
Exploring Operation: 34+4=38, Resulting Numbers: [38]
38,53 unequal: No Solution
Exploring Operation: 34*4=136, Resulting Numbers: [136]
136,53 unequal: No Solution
Exploring Operation: 34-4=30, Resulting Numbers: [30]
30,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
2,
16,
97,
10
] | 84 | [
"16+10=26",
"26/2=13",
"97-13=84"
] | Current State: 84:[2, 16, 97, 10], Operations: []
Exploring Operation: 16+10=26, Resulting Numbers: [2, 97, 26]
Generated Node #2: [2, 97, 26] from Operation: 16+10=26
Current State: 84:[2, 97, 26], Operations: ['16+10=26']
Exploring Operation: 26/2=13, Resulting Numbers: [97, 13]
Generated Node #3: [97, 13] from Operation: 26/2=13
Current State: 84:[97, 13], Operations: ['16+10=26', '26/2=13']
Exploring Operation: 97-13=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[2, 16, 97, 10], Operations: []
Exploring Operation: 97-2=95, Resulting Numbers: [16, 10, 95]
Generated Node #0,0: 84:[16, 10, 95] Operation: 97-2=95
Exploring Operation: 97-16=81, Resulting Numbers: [2, 10, 81]
Generated Node #0,1: 84:[2, 10, 81] Operation: 97-16=81
Exploring Operation: 97-10=87, Resulting Numbers: [2, 16, 87]
Generated Node #0,2: 84:[2, 16, 87] Operation: 97-10=87
Exploring Operation: 16-2=14, Resulting Numbers: [97, 10, 14]
Generated Node #0,3: 84:[97, 10, 14] Operation: 16-2=14
Exploring Operation: 16-10=6, Resulting Numbers: [2, 97, 6]
Generated Node #0,4: 84:[2, 97, 6] Operation: 16-10=6
Moving to Node #0,1
Current State: 84:[2, 10, 81], Operations: ['97-16=81']
Exploring Operation: 2+81=83, Resulting Numbers: [10, 83]
Generated Node #0,1,0: 84:[10, 83] Operation: 2+81=83
Exploring Operation: 10/2=5, Resulting Numbers: [81, 5]
Generated Node #0,1,1: 84:[81, 5] Operation: 10/2=5
Exploring Operation: 2*10=20, Resulting Numbers: [81, 20]
Generated Node #0,1,2: 84:[81, 20] Operation: 2*10=20
Exploring Operation: 10-2=8, Resulting Numbers: [81, 8]
Generated Node #0,1,3: 84:[81, 8] Operation: 10-2=8
Exploring Operation: 2+10=12, Resulting Numbers: [81, 12]
Generated Node #0,1,4: 84:[81, 12] Operation: 2+10=12
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 84:[10, 83], Operations: ['97-16=81', '2+81=83']
Exploring Operation: 10*83=830, Resulting Numbers: [830]
830,84 unequal: No Solution
Exploring Operation: 83-10=73, Resulting Numbers: [73]
73,84 unequal: No Solution
Exploring Operation: 10+83=93, Resulting Numbers: [93]
93,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,4
Current State: 84:[81, 12], Operations: ['97-16=81', '2+10=12']
Exploring Operation: 81-12=69, Resulting Numbers: [69]
69,84 unequal: No Solution
Exploring Operation: 81+12=93, Resulting Numbers: [93]
93,84 unequal: No Solution
Exploring Operation: 81*12=972, Resulting Numbers: [972]
972,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,1
Current State: 84:[81, 5], Operations: ['97-16=81', '10/2=5']
Exploring Operation: 81+5=86, Resulting Numbers: [86]
86,84 unequal: No Solution
Exploring Operation: 81-5=76, Resulting Numbers: [76]
76,84 unequal: No Solution
Exploring Operation: 81*5=405, Resulting Numbers: [405]
405,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,2
Current State: 84:[81, 20], Operations: ['97-16=81', '2*10=20']
Exploring Operation: 81+20=101, Resulting Numbers: [101]
101,84 unequal: No Solution
Exploring Operation: 81*20=1620, Resulting Numbers: [1620]
1620,84 unequal: No Solution
Exploring Operation: 81-20=61, Resulting Numbers: [61]
61,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,3
Current State: 84:[81, 8], Operations: ['97-16=81', '10-2=8']
Exploring Operation: 81*8=648, Resulting Numbers: [648]
648,84 unequal: No Solution
Exploring Operation: 81-8=73, Resulting Numbers: [73]
73,84 unequal: No Solution
Exploring Operation: 81+8=89, Resulting Numbers: [89]
89,84 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: 84:[2, 16, 87], Operations: ['97-10=87']
Exploring Operation: 87-2=85, Resulting Numbers: [16, 85]
Generated Node #0,2,0: 84:[16, 85] Operation: 87-2=85
Exploring Operation: 2*16=32, Resulting Numbers: [87, 32]
Generated Node #0,2,1: 84:[87, 32] Operation: 2*16=32
Exploring Operation: 16-2=14, Resulting Numbers: [87, 14]
Generated Node #0,2,2: 84:[87, 14] Operation: 16-2=14
Exploring Operation: 16/2=8, Resulting Numbers: [87, 8]
Generated Node #0,2,3: 84:[87, 8] Operation: 16/2=8
Exploring Operation: 2+16=18, Resulting Numbers: [87, 18]
Generated Node #0,2,4: 84:[87, 18] Operation: 2+16=18
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 84:[16, 85], Operations: ['97-10=87', '87-2=85']
Exploring Operation: 16*85=1360, Resulting Numbers: [1360]
1360,84 unequal: No Solution
Exploring Operation: 16+85=101, Resulting Numbers: [101]
101,84 unequal: No Solution
Exploring Operation: 85-16=69, Resulting Numbers: [69]
69,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,2,2
Current State: 84:[87, 14], Operations: ['97-10=87', '16-2=14']
Exploring Operation: 87+14=101, Resulting Numbers: [101]
101,84 unequal: No Solution
Exploring Operation: 87*14=1218, Resulting Numbers: [1218]
1218,84 unequal: No Solution
Exploring Operation: 87-14=73, Resulting Numbers: [73]
73,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,2,3
Current State: 84:[87, 8], Operations: ['97-10=87', '16/2=8']
Exploring Operation: 87*8=696, Resulting Numbers: [696]
696,84 unequal: No Solution
Exploring Operation: 87+8=95, Resulting Numbers: [95]
95,84 unequal: No Solution
Exploring Operation: 87-8=79, Resulting Numbers: [79]
79,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,2,4
Current State: 84:[87, 18], Operations: ['97-10=87', '2+16=18']
Exploring Operation: 87*18=1566, Resulting Numbers: [1566]
1566,84 unequal: No Solution
Exploring Operation: 87-18=69, Resulting Numbers: [69]
69,84 unequal: No Solution
Exploring Operation: 87+18=105, Resulting Numbers: [105]
105,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,2,1
Current State: 84:[87, 32], Operations: ['97-10=87', '2*16=32']
Exploring Operation: 87*32=2784, Resulting Numbers: [2784]
2784,84 unequal: No Solution
Exploring Operation: 87-32=55, Resulting Numbers: [55]
55,84 unequal: No Solution
Exploring Operation: 87+32=119, Resulting Numbers: [119]
119,84 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: 84:[2, 97, 6], Operations: ['16-10=6']
Exploring Operation: 6/2=3, Resulting Numbers: [97, 3]
Generated Node #0,4,0: 84:[97, 3] Operation: 6/2=3
Exploring Operation: 2*6=12, Resulting Numbers: [97, 12]
Generated Node #0,4,1: 84:[97, 12] Operation: 2*6=12
Exploring Operation: 97-2=95, Resulting Numbers: [6, 95]
Generated Node #0,4,2: 84:[6, 95] Operation: 97-2=95
Exploring Operation: 97-6=91, Resulting Numbers: [2, 91]
Generated Node #0,4,3: 84:[2, 91] Operation: 97-6=91
Exploring Operation: 6-2=4, Resulting Numbers: [97, 4]
Generated Node #0,4,4: 84:[97, 4] Operation: 6-2=4
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 84:[2, 91], Operations: ['16-10=6', '97-6=91']
Exploring Operation: 91-2=89, Resulting Numbers: [89]
89,84 unequal: No Solution
Exploring Operation: 2*91=182, Resulting Numbers: [182]
182,84 unequal: No Solution
Exploring Operation: 2+91=93, Resulting Numbers: [93]
93,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,4,2
Current State: 84:[6, 95], Operations: ['16-10=6', '97-2=95']
Exploring Operation: 6*95=570, Resulting Numbers: [570]
570,84 unequal: No Solution
Exploring Operation: 95-6=89, Resulting Numbers: [89]
89,84 unequal: No Solution
Exploring Operation: 6+95=101, Resulting Numbers: [101]
101,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,4,0
Current State: 84:[97, 3], Operations: ['16-10=6', '6/2=3']
Exploring Operation: 97+3=100, Resulting Numbers: [100]
100,84 unequal: No Solution
Exploring Operation: 97*3=291, Resulting Numbers: [291]
291,84 unequal: No Solution
Exploring Operation: 97-3=94, Resulting Numbers: [94]
94,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,4,1
Current State: 84:[97, 12], Operations: ['16-10=6', '2*6=12']
Exploring Operation: 97-12=85, Resulting Numbers: [85]
85,84 unequal: No Solution
Exploring Operation: 97*12=1164, Resulting Numbers: [1164]
1164,84 unequal: No Solution
Exploring Operation: 97+12=109, Resulting Numbers: [109]
109,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,4,4
Current State: 84:[97, 4], Operations: ['16-10=6', '6-2=4']
Exploring Operation: 97-4=93, Resulting Numbers: [93]
93,84 unequal: No Solution
Exploring Operation: 97*4=388, Resulting Numbers: [388]
388,84 unequal: No Solution
Exploring Operation: 97+4=101, Resulting Numbers: [101]
101,84 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: 84:[16, 10, 95], Operations: ['97-2=95']
Exploring Operation: 95-10=85, Resulting Numbers: [16, 85]
Generated Node #0,0,0: 84:[16, 85] Operation: 95-10=85
Exploring Operation: 95-16=79, Resulting Numbers: [10, 79]
Generated Node #0,0,1: 84:[10, 79] Operation: 95-16=79
Exploring Operation: 16-10=6, Resulting Numbers: [95, 6]
Generated Node #0,0,2: 84:[95, 6] Operation: 16-10=6
Exploring Operation: 16+10=26, Resulting Numbers: [95, 26]
Generated Node #0,0,3: 84:[95, 26] Operation: 16+10=26
Exploring Operation: 10+95=105, Resulting Numbers: [16, 105]
Generated Node #0,0,4: 84:[16, 105] Operation: 10+95=105
Moving to Node #0,3
Current State: 84:[97, 10, 14], Operations: ['16-2=14']
Exploring Operation: 97+10=107, Resulting Numbers: [14, 107]
Generated Node #0,3,0: 84:[14, 107] Operation: 97+10=107
Exploring Operation: 10+14=24, Resulting Numbers: [97, 24]
Generated Node #0,3,1: 84:[97, 24] Operation: 10+14=24
Exploring Operation: 97-10=87, Resulting Numbers: [14, 87]
Generated Node #0,3,2: 84:[14, 87] Operation: 97-10=87
Exploring Operation: 14-10=4, Resulting Numbers: [97, 4]
Generated Node #0,3,3: 84:[97, 4] Operation: 14-10=4
Exploring Operation: 97-14=83, Resulting Numbers: [10, 83]
Generated Node #0,3,4: 84:[10, 83] Operation: 97-14=83
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 84:[14, 87], Operations: ['16-2=14', '97-10=87']
Exploring Operation: 87-14=73, Resulting Numbers: [73]
73,84 unequal: No Solution
Exploring Operation: 14*87=1218, Resulting Numbers: [1218]
1218,84 unequal: No Solution
Exploring Operation: 14+87=101, Resulting Numbers: [101]
101,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,3,4
Current State: 84:[10, 83], Operations: ['16-2=14', '97-14=83']
Exploring Operation: 10*83=830, Resulting Numbers: [830]
830,84 unequal: No Solution
Exploring Operation: 83-10=73, Resulting Numbers: [73]
73,84 unequal: No Solution
Exploring Operation: 10+83=93, Resulting Numbers: [93]
93,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,3,3
Current State: 84:[97, 4], Operations: ['16-2=14', '14-10=4']
Exploring Operation: 97-4=93, Resulting Numbers: [93]
93,84 unequal: No Solution
Exploring Operation: 97*4=388, Resulting Numbers: [388]
388,84 unequal: No Solution
Exploring Operation: 97+4=101, Resulting Numbers: [101]
101,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,3,1
Current State: 84:[97, 24], Operations: ['16-2=14', '10+14=24']
Exploring Operation: 97*24=2328, Resulting Numbers: [2328]
2328,84 unequal: No Solution
Exploring Operation: 97+24=121, Resulting Numbers: [121]
121,84 unequal: No Solution
Exploring Operation: 97-24=73, Resulting Numbers: [73]
73,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,3,0
Current State: 84:[14, 107], Operations: ['16-2=14', '97+10=107']
Exploring Operation: 14+107=121, Resulting Numbers: [121]
121,84 unequal: No Solution
Exploring Operation: 107-14=93, Resulting Numbers: [93]
93,84 unequal: No Solution
Exploring Operation: 14*107=1498, Resulting Numbers: [1498]
1498,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 84:[16, 85], Operations: ['97-2=95', '95-10=85']
Exploring Operation: 16+85=101, Resulting Numbers: [101]
101,84 unequal: No Solution
Exploring Operation: 16*85=1360, Resulting Numbers: [1360]
1360,84 unequal: No Solution
Exploring Operation: 85-16=69, Resulting Numbers: [69]
69,84 unequal: No Solution
Moving to Node #0,0,1
Current State: 84:[10, 79], Operations: ['97-2=95', '95-16=79']
Exploring Operation: 10*79=790, Resulting Numbers: [790]
790,84 unequal: No Solution
Exploring Operation: 79-10=69, Resulting Numbers: [69]
69,84 unequal: No Solution
Exploring Operation: 10+79=89, Resulting Numbers: [89]
89,84 unequal: No Solution
Moving to Node #0,0,2
Current State: 84:[95, 6], Operations: ['97-2=95', '16-10=6']
Exploring Operation: 95*6=570, Resulting Numbers: [570]
570,84 unequal: No Solution
Exploring Operation: 95+6=101, Resulting Numbers: [101]
101,84 unequal: No Solution
Exploring Operation: 95-6=89, Resulting Numbers: [89]
89,84 unequal: No Solution
Moving to Node #0,0,3
Current State: 84:[95, 26], Operations: ['97-2=95', '16+10=26']
Exploring Operation: 95+26=121, Resulting Numbers: [121]
121,84 unequal: No Solution
Exploring Operation: 95*26=2470, Resulting Numbers: [2470]
2470,84 unequal: No Solution
Exploring Operation: 95-26=69, Resulting Numbers: [69]
69,84 unequal: No Solution
Moving to Node #0,0,4
Current State: 84:[16, 105], Operations: ['97-2=95', '10+95=105']
Exploring Operation: 16+105=121, Resulting Numbers: [121]
121,84 unequal: No Solution
Exploring Operation: 105-16=89, Resulting Numbers: [89]
89,84 unequal: No Solution
Exploring Operation: 16*105=1680, Resulting Numbers: [1680]
1680,84 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
81,
30,
11,
43
] | 20 | [
"11+43=54",
"30*54=1620",
"1620/81=20"
] | Current State: 20:[81, 30, 11, 43], Operations: []
Exploring Operation: 11+43=54, Resulting Numbers: [81, 30, 54]
Generated Node #2: [81, 30, 54] from Operation: 11+43=54
Current State: 20:[81, 30, 54], Operations: ['11+43=54']
Exploring Operation: 30*54=1620, Resulting Numbers: [81, 1620]
Generated Node #3: [81, 1620] from Operation: 30*54=1620
Current State: 20:[81, 1620], Operations: ['11+43=54', '30*54=1620']
Exploring Operation: 1620/81=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[81, 30, 11, 43], Operations: []
Exploring Operation: 43-30=13, Resulting Numbers: [81, 11, 13]
Generated Node #0,0: 20:[81, 11, 13] Operation: 43-30=13
Exploring Operation: 81-11=70, Resulting Numbers: [30, 43, 70]
Generated Node #0,1: 20:[30, 43, 70] Operation: 81-11=70
Exploring Operation: 81-30=51, Resulting Numbers: [11, 43, 51]
Generated Node #0,2: 20:[11, 43, 51] Operation: 81-30=51
Exploring Operation: 81-43=38, Resulting Numbers: [30, 11, 38]
Generated Node #0,3: 20:[30, 11, 38] Operation: 81-43=38
Exploring Operation: 43-11=32, Resulting Numbers: [81, 30, 32]
Generated Node #0,4: 20:[81, 30, 32] Operation: 43-11=32
Start Sub Search at level 1: Moving to Node #0,3
Current State: 20:[30, 11, 38], Operations: ['81-43=38']
Exploring Operation: 38-11=27, Resulting Numbers: [30, 27]
Generated Node #0,3,0: 20:[30, 27] Operation: 38-11=27
Exploring Operation: 11+38=49, Resulting Numbers: [30, 49]
Generated Node #0,3,1: 20:[30, 49] Operation: 11+38=49
Exploring Operation: 30-11=19, Resulting Numbers: [38, 19]
Generated Node #0,3,2: 20:[38, 19] Operation: 30-11=19
Exploring Operation: 30+11=41, Resulting Numbers: [38, 41]
Generated Node #0,3,3: 20:[38, 41] Operation: 30+11=41
Exploring Operation: 38-30=8, Resulting Numbers: [11, 8]
Generated Node #0,3,4: 20:[11, 8] Operation: 38-30=8
Moving to Node #0,3,4
Current State: 20:[11, 8], Operations: ['81-43=38', '38-30=8']
Exploring Operation: 11+8=19, Resulting Numbers: [19]
19,20 unequal: No Solution
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,20 unequal: No Solution
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,20 unequal: No Solution
Moving to Node #0,3,0
Current State: 20:[30, 27], Operations: ['81-43=38', '38-11=27']
Exploring Operation: 30*27=810, Resulting Numbers: [810]
810,20 unequal: No Solution
Exploring Operation: 30-27=3, Resulting Numbers: [3]
3,20 unequal: No Solution
Exploring Operation: 30+27=57, Resulting Numbers: [57]
57,20 unequal: No Solution
Moving to Node #0,3,2
Current State: 20:[38, 19], Operations: ['81-43=38', '30-11=19']
Exploring Operation: 38/19=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Exploring Operation: 38*19=722, Resulting Numbers: [722]
722,20 unequal: No Solution
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,20 unequal: No Solution
Exploring Operation: 38+19=57, Resulting Numbers: [57]
57,20 unequal: No Solution
Moving to Node #0,3,1
Current State: 20:[30, 49], Operations: ['81-43=38', '11+38=49']
Exploring Operation: 30+49=79, Resulting Numbers: [79]
79,20 unequal: No Solution
Exploring Operation: 30*49=1470, Resulting Numbers: [1470]
1470,20 unequal: No Solution
Exploring Operation: 49-30=19, Resulting Numbers: [19]
19,20 unequal: No Solution
Moving to Node #0,3,3
Current State: 20:[38, 41], Operations: ['81-43=38', '30+11=41']
Exploring Operation: 38*41=1558, Resulting Numbers: [1558]
1558,20 unequal: No Solution
Exploring Operation: 41-38=3, Resulting Numbers: [3]
3,20 unequal: No Solution
Exploring Operation: 38+41=79, Resulting Numbers: [79]
79,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 20:[11, 43, 51], Operations: ['81-30=51']
Exploring Operation: 11+43=54, Resulting Numbers: [51, 54]
Generated Node #0,2,0: 20:[51, 54] Operation: 11+43=54
Exploring Operation: 51-11=40, Resulting Numbers: [43, 40]
Generated Node #0,2,1: 20:[43, 40] Operation: 51-11=40
Exploring Operation: 11+51=62, Resulting Numbers: [43, 62]
Generated Node #0,2,2: 20:[43, 62] Operation: 11+51=62
Exploring Operation: 51-43=8, Resulting Numbers: [11, 8]
Generated Node #0,2,3: 20:[11, 8] Operation: 51-43=8
Exploring Operation: 43-11=32, Resulting Numbers: [51, 32]
Generated Node #0,2,4: 20:[51, 32] Operation: 43-11=32
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 20:[11, 8], Operations: ['81-30=51', '51-43=8']
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,20 unequal: No Solution
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,20 unequal: No Solution
Exploring Operation: 11+8=19, Resulting Numbers: [19]
19,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 20:[43, 40], Operations: ['81-30=51', '51-11=40']
Exploring Operation: 43*40=1720, Resulting Numbers: [1720]
1720,20 unequal: No Solution
Exploring Operation: 43+40=83, Resulting Numbers: [83]
83,20 unequal: No Solution
Exploring Operation: 43-40=3, Resulting Numbers: [3]
3,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 20:[51, 32], Operations: ['81-30=51', '43-11=32']
Exploring Operation: 51+32=83, Resulting Numbers: [83]
83,20 unequal: No Solution
Exploring Operation: 51-32=19, Resulting Numbers: [19]
19,20 unequal: No Solution
Exploring Operation: 51*32=1632, Resulting Numbers: [1632]
1632,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 20:[51, 54], Operations: ['81-30=51', '11+43=54']
Exploring Operation: 54-51=3, Resulting Numbers: [3]
3,20 unequal: No Solution
Exploring Operation: 51*54=2754, Resulting Numbers: [2754]
2754,20 unequal: No Solution
Exploring Operation: 51+54=105, Resulting Numbers: [105]
105,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 20:[43, 62], Operations: ['81-30=51', '11+51=62']
Exploring Operation: 62-43=19, Resulting Numbers: [19]
19,20 unequal: No Solution
Exploring Operation: 43*62=2666, Resulting Numbers: [2666]
2666,20 unequal: No Solution
Exploring Operation: 43+62=105, Resulting Numbers: [105]
105,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[81, 11, 13], Operations: ['43-30=13']
Exploring Operation: 11+13=24, Resulting Numbers: [81, 24]
Generated Node #0,0,0: 20:[81, 24] Operation: 11+13=24
Exploring Operation: 81-13=68, Resulting Numbers: [11, 68]
Generated Node #0,0,1: 20:[11, 68] Operation: 81-13=68
Exploring Operation: 81+11=92, Resulting Numbers: [13, 92]
Generated Node #0,0,2: 20:[13, 92] Operation: 81+11=92
Exploring Operation: 13-11=2, Resulting Numbers: [81, 2]
Generated Node #0,0,3: 20:[81, 2] Operation: 13-11=2
Exploring Operation: 81-11=70, Resulting Numbers: [13, 70]
Generated Node #0,0,4: 20:[13, 70] Operation: 81-11=70
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 20:[11, 68], Operations: ['43-30=13', '81-13=68']
Exploring Operation: 11*68=748, Resulting Numbers: [748]
748,20 unequal: No Solution
Exploring Operation: 11+68=79, Resulting Numbers: [79]
79,20 unequal: No Solution
Exploring Operation: 68-11=57, Resulting Numbers: [57]
57,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 20:[13, 70], Operations: ['43-30=13', '81-11=70']
Exploring Operation: 70-13=57, Resulting Numbers: [57]
57,20 unequal: No Solution
Exploring Operation: 13*70=910, Resulting Numbers: [910]
910,20 unequal: No Solution
Exploring Operation: 13+70=83, Resulting Numbers: [83]
83,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 20:[81, 2], Operations: ['43-30=13', '13-11=2']
Exploring Operation: 81-2=79, Resulting Numbers: [79]
79,20 unequal: No Solution
Exploring Operation: 81+2=83, Resulting Numbers: [83]
83,20 unequal: No Solution
Exploring Operation: 81*2=162, Resulting Numbers: [162]
162,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 20:[81, 24], Operations: ['43-30=13', '11+13=24']
Exploring Operation: 81-24=57, Resulting Numbers: [57]
57,20 unequal: No Solution
Exploring Operation: 81+24=105, Resulting Numbers: [105]
105,20 unequal: No Solution
Exploring Operation: 81*24=1944, Resulting Numbers: [1944]
1944,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 20:[13, 92], Operations: ['43-30=13', '81+11=92']
Exploring Operation: 13+92=105, Resulting Numbers: [105]
105,20 unequal: No Solution
Exploring Operation: 13*92=1196, Resulting Numbers: [1196]
1196,20 unequal: No Solution
Exploring Operation: 92-13=79, Resulting Numbers: [79]
79,20 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[30, 43, 70], Operations: ['81-11=70']
Exploring Operation: 30+70=100, Resulting Numbers: [43, 100]
Generated Node #0,1,0: 20:[43, 100] Operation: 30+70=100
Exploring Operation: 70-43=27, Resulting Numbers: [30, 27]
Generated Node #0,1,1: 20:[30, 27] Operation: 70-43=27
Exploring Operation: 30+43=73, Resulting Numbers: [70, 73]
Generated Node #0,1,2: 20:[70, 73] Operation: 30+43=73
Exploring Operation: 70-30=40, Resulting Numbers: [43, 40]
Generated Node #0,1,3: 20:[43, 40] Operation: 70-30=40
Exploring Operation: 43-30=13, Resulting Numbers: [70, 13]
Generated Node #0,1,4: 20:[70, 13] Operation: 43-30=13
Moving to Node #0,1,1
Current State: 20:[30, 27], Operations: ['81-11=70', '70-43=27']
Exploring Operation: 30+27=57, Resulting Numbers: [57]
57,20 unequal: No Solution
Exploring Operation: 30-27=3, Resulting Numbers: [3]
3,20 unequal: No Solution
Exploring Operation: 30*27=810, Resulting Numbers: [810]
810,20 unequal: No Solution
Moving to Node #0,1,3
Current State: 20:[43, 40], Operations: ['81-11=70', '70-30=40']
Exploring Operation: 43+40=83, Resulting Numbers: [83]
83,20 unequal: No Solution
Exploring Operation: 43-40=3, Resulting Numbers: [3]
3,20 unequal: No Solution
Exploring Operation: 43*40=1720, Resulting Numbers: [1720]
1720,20 unequal: No Solution
Moving to Node #0,1,4
Current State: 20:[70, 13], Operations: ['81-11=70', '43-30=13']
Exploring Operation: 70-13=57, Resulting Numbers: [57]
57,20 unequal: No Solution
Exploring Operation: 70+13=83, Resulting Numbers: [83]
83,20 unequal: No Solution
Exploring Operation: 70*13=910, Resulting Numbers: [910]
910,20 unequal: No Solution
Moving to Node #0,1,0
Current State: 20:[43, 100], Operations: ['81-11=70', '30+70=100']
Exploring Operation: 43*100=4300, Resulting Numbers: [4300]
4300,20 unequal: No Solution
Exploring Operation: 43+100=143, Resulting Numbers: [143]
143,20 unequal: No Solution
Exploring Operation: 100-43=57, Resulting Numbers: [57]
57,20 unequal: No Solution
Moving to Node #0,1,2
Current State: 20:[70, 73], Operations: ['81-11=70', '30+43=73']
Exploring Operation: 70+73=143, Resulting Numbers: [143]
143,20 unequal: No Solution
Exploring Operation: 70*73=5110, Resulting Numbers: [5110]
5110,20 unequal: No Solution
Exploring Operation: 73-70=3, Resulting Numbers: [3]
3,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 20:[81, 30, 32], Operations: ['43-11=32']
Exploring Operation: 81+32=113, Resulting Numbers: [30, 113]
Generated Node #0,4,0: 20:[30, 113] Operation: 81+32=113
Exploring Operation: 81+30=111, Resulting Numbers: [32, 111]
Generated Node #0,4,1: 20:[32, 111] Operation: 81+30=111
Exploring Operation: 81-30=51, Resulting Numbers: [32, 51]
Generated Node #0,4,2: 20:[32, 51] Operation: 81-30=51
Exploring Operation: 32-30=2, Resulting Numbers: [81, 2]
Generated Node #0,4,3: 20:[81, 2] Operation: 32-30=2
Exploring Operation: 81-32=49, Resulting Numbers: [30, 49]
Generated Node #0,4,4: 20:[30, 49] Operation: 81-32=49
Moving to Node #0,4,4
Current State: 20:[30, 49], Operations: ['43-11=32', '81-32=49']
Exploring Operation: 30+49=79, Resulting Numbers: [79]
79,20 unequal: No Solution
Exploring Operation: 30*49=1470, Resulting Numbers: [1470]
1470,20 unequal: No Solution
Exploring Operation: 49-30=19, Resulting Numbers: [19]
19,20 unequal: No Solution
Moving to Node #0,4,2
Current State: 20:[32, 51], Operations: ['43-11=32', '81-30=51']
Exploring Operation: 51-32=19, Resulting Numbers: [19]
19,20 unequal: No Solution
Exploring Operation: 32+51=83, Resulting Numbers: [83]
83,20 unequal: No Solution
Exploring Operation: 32*51=1632, Resulting Numbers: [1632]
1632,20 unequal: No Solution
Moving to Node #0,4,3
Current State: 20:[81, 2], Operations: ['43-11=32', '32-30=2']
Exploring Operation: 81*2=162, Resulting Numbers: [162]
162,20 unequal: No Solution
Exploring Operation: 81-2=79, Resulting Numbers: [79]
79,20 unequal: No Solution
Exploring Operation: 81+2=83, Resulting Numbers: [83]
83,20 unequal: No Solution
Moving to Node #0,4,0
Current State: 20:[30, 113], Operations: ['43-11=32', '81+32=113']
Exploring Operation: 30+113=143, Resulting Numbers: [143]
143,20 unequal: No Solution
Exploring Operation: 30*113=3390, Resulting Numbers: [3390]
3390,20 unequal: No Solution
Exploring Operation: 113-30=83, Resulting Numbers: [83]
83,20 unequal: No Solution
Moving to Node #0,4,1
Current State: 20:[32, 111], Operations: ['43-11=32', '81+30=111']
Exploring Operation: 32+111=143, Resulting Numbers: [143]
143,20 unequal: No Solution
Exploring Operation: 111-32=79, Resulting Numbers: [79]
79,20 unequal: No Solution
Exploring Operation: 32*111=3552, Resulting Numbers: [3552]
3552,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
24,
58,
22,
30
] | 30 | [
"24+58=82",
"22+30=52",
"82-52=30"
] | Current State: 30:[24, 58, 22, 30], Operations: []
Exploring Operation: 24+58=82, Resulting Numbers: [22, 30, 82]
Generated Node #2: [22, 30, 82] from Operation: 24+58=82
Current State: 30:[22, 30, 82], Operations: ['24+58=82']
Exploring Operation: 22+30=52, Resulting Numbers: [82, 52]
Generated Node #3: [82, 52] from Operation: 22+30=52
Current State: 30:[82, 52], Operations: ['24+58=82', '22+30=52']
Exploring Operation: 82-52=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[24, 58, 22, 30], Operations: []
Exploring Operation: 58-24=34, Resulting Numbers: [22, 30, 34]
Generated Node #0,0: 30:[22, 30, 34] Operation: 58-24=34
Exploring Operation: 58-30=28, Resulting Numbers: [24, 22, 28]
Generated Node #0,1: 30:[24, 22, 28] Operation: 58-30=28
Exploring Operation: 58-22=36, Resulting Numbers: [24, 30, 36]
Generated Node #0,2: 30:[24, 30, 36] Operation: 58-22=36
Moving to Node #0,0
Current State: 30:[22, 30, 34], Operations: ['58-24=34']
Exploring Operation: 34-22=12, Resulting Numbers: [30, 12]
Generated Node #0,0,0: 30:[30, 12] Operation: 34-22=12
Exploring Operation: 34-30=4, Resulting Numbers: [22, 4]
Generated Node #0,0,1: 30:[22, 4] Operation: 34-30=4
Exploring Operation: 30-22=8, Resulting Numbers: [34, 8]
Generated Node #0,0,2: 30:[34, 8] Operation: 30-22=8
Moving to Node #0,2
Current State: 30:[24, 30, 36], Operations: ['58-22=36']
Exploring Operation: 36-24=12, Resulting Numbers: [30, 12]
Generated Node #0,2,0: 30:[30, 12] Operation: 36-24=12
Exploring Operation: 36-30=6, Resulting Numbers: [24, 6]
Generated Node #0,2,1: 30:[24, 6] Operation: 36-30=6
Exploring Operation: 30-24=6, Resulting Numbers: [36, 6]
Generated Node #0,2,2: 30:[36, 6] Operation: 30-24=6
Moving to Node #0,1
Current State: 30:[24, 22, 28], Operations: ['58-30=28']
Exploring Operation: 24-22=2, Resulting Numbers: [28, 2]
Generated Node #0,1,0: 30:[28, 2] Operation: 24-22=2
Exploring Operation: 28-24=4, Resulting Numbers: [22, 4]
Generated Node #0,1,1: 30:[22, 4] Operation: 28-24=4
Exploring Operation: 28-22=6, Resulting Numbers: [24, 6]
Generated Node #0,1,2: 30:[24, 6] Operation: 28-22=6
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 30:[28, 2], Operations: ['58-30=28', '24-22=2']
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,30 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,30 unequal: No Solution
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[24, 58, 22, 30], Operations: []
Exploring Operation: 58-30=28, Resulting Numbers: [24, 22, 28]
Generated Node #0,1: 30:[24, 22, 28] Operation: 58-30=28
Moving to Node #0,1
Current State: 30:[24, 22, 28], Operations: ['58-30=28']
Exploring Operation: 24-22=2, Resulting Numbers: [28, 2]
Generated Node #0,1,0: 30:[28, 2] Operation: 24-22=2
Moving to Node #0,1,0
Current State: 30:[28, 2], Operations: ['58-30=28', '24-22=2']
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_3 | sum_heuristic |
[
34,
11,
75,
51
] | 81 | [
"34+11=45",
"75+51=126",
"126-45=81"
] | Current State: 81:[34, 11, 75, 51], Operations: []
Exploring Operation: 34+11=45, Resulting Numbers: [75, 51, 45]
Generated Node #2: [75, 51, 45] from Operation: 34+11=45
Current State: 81:[75, 51, 45], Operations: ['34+11=45']
Exploring Operation: 75+51=126, Resulting Numbers: [45, 126]
Generated Node #3: [45, 126] from Operation: 75+51=126
Current State: 81:[45, 126], Operations: ['34+11=45', '75+51=126']
Exploring Operation: 126-45=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[34, 11, 75, 51], Operations: []
Exploring Operation: 34+51=85, Resulting Numbers: [11, 75, 85]
Generated Node #0,0: 81:[11, 75, 85] Operation: 34+51=85
Exploring Operation: 51-34=17, Resulting Numbers: [11, 75, 17]
Generated Node #0,1: 81:[11, 75, 17] Operation: 51-34=17
Exploring Operation: 75-51=24, Resulting Numbers: [34, 11, 24]
Generated Node #0,2: 81:[34, 11, 24] Operation: 75-51=24
Moving to Node #0,0
Current State: 81:[11, 75, 85], Operations: ['34+51=85']
Exploring Operation: 11+75=86, Resulting Numbers: [85, 86]
Generated Node #0,0,0: 81:[85, 86] Operation: 11+75=86
Exploring Operation: 85-11=74, Resulting Numbers: [75, 74]
Generated Node #0,0,1: 81:[75, 74] Operation: 85-11=74
Exploring Operation: 85-75=10, Resulting Numbers: [11, 10]
Generated Node #0,0,2: 81:[11, 10] Operation: 85-75=10
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 81:[11, 10], Operations: ['34+51=85', '85-75=10']
Exploring Operation: 11*10=110, Resulting Numbers: [110]
110,81 unequal: No Solution
Exploring Operation: 11+10=21, Resulting Numbers: [21]
21,81 unequal: No Solution
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,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,0
Current State: 81:[85, 86], Operations: ['34+51=85', '11+75=86']
Exploring Operation: 85*86=7310, Resulting Numbers: [7310]
7310,81 unequal: No Solution
Exploring Operation: 85+86=171, Resulting Numbers: [171]
171,81 unequal: No Solution
Exploring Operation: 86-85=1, Resulting Numbers: [1]
1,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:[75, 74], Operations: ['34+51=85', '85-11=74']
Exploring Operation: 75*74=5550, Resulting Numbers: [5550]
5550,81 unequal: No Solution
Exploring Operation: 75-74=1, Resulting Numbers: [1]
1,81 unequal: No Solution
Exploring Operation: 75+74=149, Resulting Numbers: [149]
149,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:[34, 11, 24], Operations: ['75-51=24']
Exploring Operation: 24-11=13, Resulting Numbers: [34, 13]
Generated Node #0,2,0: 81:[34, 13] Operation: 24-11=13
Exploring Operation: 34-24=10, Resulting Numbers: [11, 10]
Generated Node #0,2,1: 81:[11, 10] Operation: 34-24=10
Exploring Operation: 34-11=23, Resulting Numbers: [24, 23]
Generated Node #0,2,2: 81:[24, 23] Operation: 34-11=23
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 81:[11, 10], Operations: ['75-51=24', '34-24=10']
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,81 unequal: No Solution
Exploring Operation: 11+10=21, Resulting Numbers: [21]
21,81 unequal: No Solution
Exploring Operation: 11*10=110, Resulting Numbers: [110]
110,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,2,2
Current State: 81:[24, 23], Operations: ['75-51=24', '34-11=23']
Exploring Operation: 24-23=1, Resulting Numbers: [1]
1,81 unequal: No Solution
Exploring Operation: 24+23=47, Resulting Numbers: [47]
47,81 unequal: No Solution
Exploring Operation: 24*23=552, Resulting Numbers: [552]
552,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,2,0
Current State: 81:[34, 13], Operations: ['75-51=24', '24-11=13']
Exploring Operation: 34-13=21, Resulting Numbers: [21]
21,81 unequal: No Solution
Exploring Operation: 34*13=442, Resulting Numbers: [442]
442,81 unequal: No Solution
Exploring Operation: 34+13=47, Resulting Numbers: [47]
47,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:[11, 75, 17], Operations: ['51-34=17']
Exploring Operation: 11+17=28, Resulting Numbers: [75, 28]
Generated Node #0,1,0: 81:[75, 28] Operation: 11+17=28
Exploring Operation: 11+75=86, Resulting Numbers: [17, 86]
Generated Node #0,1,1: 81:[17, 86] Operation: 11+75=86
Exploring Operation: 17-11=6, Resulting Numbers: [75, 6]
Generated Node #0,1,2: 81:[75, 6] Operation: 17-11=6
Moving to Node #0,1,0
Current State: 81:[75, 28], Operations: ['51-34=17', '11+17=28']
Exploring Operation: 75-28=47, Resulting Numbers: [47]
47,81 unequal: No Solution
Exploring Operation: 75+28=103, Resulting Numbers: [103]
103,81 unequal: No Solution
Exploring Operation: 75*28=2100, Resulting Numbers: [2100]
2100,81 unequal: No Solution
Moving to Node #0,1,2
Current State: 81:[75, 6], Operations: ['51-34=17', '17-11=6']
Exploring Operation: 75*6=450, Resulting Numbers: [450]
450,81 unequal: No Solution
Exploring Operation: 75+6=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[34, 11, 75, 51], Operations: []
Exploring Operation: 51-34=17, Resulting Numbers: [11, 75, 17]
Generated Node #0,1: 81:[11, 75, 17] Operation: 51-34=17
Moving to Node #0,1
Current State: 81:[11, 75, 17], Operations: ['51-34=17']
Exploring Operation: 17-11=6, Resulting Numbers: [75, 6]
Generated Node #0,1,2: 81:[75, 6] Operation: 17-11=6
Moving to Node #0,1,2
Current State: 81:[75, 6], Operations: ['51-34=17', '17-11=6']
Exploring Operation: 75+6=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 0.966146 | hs_3 | sum_heuristic |
[
59,
64,
90,
37
] | 48 | [
"64-59=5",
"90-37=53",
"53-5=48"
] | Current State: 48:[59, 64, 90, 37], Operations: []
Exploring Operation: 64-59=5, Resulting Numbers: [90, 37, 5]
Generated Node #2: [90, 37, 5] from Operation: 64-59=5
Current State: 48:[90, 37, 5], Operations: ['64-59=5']
Exploring Operation: 90-37=53, Resulting Numbers: [5, 53]
Generated Node #3: [5, 53] from Operation: 90-37=53
Current State: 48:[5, 53], Operations: ['64-59=5', '90-37=53']
Exploring Operation: 53-5=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[59, 64, 90, 37], Operations: []
Exploring Operation: 90-64=26, Resulting Numbers: [59, 37, 26]
Generated Node #0,0: 48:[59, 37, 26] Operation: 90-64=26
Exploring Operation: 90-37=53, Resulting Numbers: [59, 64, 53]
Generated Node #0,1: 48:[59, 64, 53] Operation: 90-37=53
Exploring Operation: 90-59=31, Resulting Numbers: [64, 37, 31]
Generated Node #0,2: 48:[64, 37, 31] Operation: 90-59=31
Exploring Operation: 64-37=27, Resulting Numbers: [59, 90, 27]
Generated Node #0,3: 48:[59, 90, 27] Operation: 64-37=27
Exploring Operation: 64-59=5, Resulting Numbers: [90, 37, 5]
Generated Node #0,4: 48:[90, 37, 5] Operation: 64-59=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[59, 37, 26], Operations: ['90-64=26']
Exploring Operation: 59-37=22, Resulting Numbers: [26, 22]
Generated Node #0,0,0: 48:[26, 22] Operation: 59-37=22
Exploring Operation: 37+26=63, Resulting Numbers: [59, 63]
Generated Node #0,0,1: 48:[59, 63] Operation: 37+26=63
Exploring Operation: 37-26=11, Resulting Numbers: [59, 11]
Generated Node #0,0,2: 48:[59, 11] Operation: 37-26=11
Exploring Operation: 59-26=33, Resulting Numbers: [37, 33]
Generated Node #0,0,3: 48:[37, 33] Operation: 59-26=33
Exploring Operation: 59+26=85, Resulting Numbers: [37, 85]
Generated Node #0,0,4: 48:[37, 85] Operation: 59+26=85
Moving to Node #0,0,0
Current State: 48:[26, 22], Operations: ['90-64=26', '59-37=22']
Exploring Operation: 26*22=572, Resulting Numbers: [572]
572,48 unequal: No Solution
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,48 unequal: No Solution
Exploring Operation: 26+22=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[59, 64, 90, 37], Operations: []
Exploring Operation: 90-64=26, Resulting Numbers: [59, 37, 26]
Generated Node #0,0: 48:[59, 37, 26] Operation: 90-64=26
Moving to Node #0,0
Current State: 48:[59, 37, 26], Operations: ['90-64=26']
Exploring Operation: 59-37=22, Resulting Numbers: [26, 22]
Generated Node #0,0,0: 48:[26, 22] Operation: 59-37=22
Moving to Node #0,0,0
Current State: 48:[26, 22], Operations: ['90-64=26', '59-37=22']
Exploring Operation: 26+22=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
10,
6,
97,
94
] | 42 | [
"97-10=87",
"94-87=7",
"6*7=42"
] | Current State: 42:[10, 6, 97, 94], Operations: []
Exploring Operation: 97-10=87, Resulting Numbers: [6, 94, 87]
Generated Node #2: [6, 94, 87] from Operation: 97-10=87
Current State: 42:[6, 94, 87], Operations: ['97-10=87']
Exploring Operation: 94-87=7, Resulting Numbers: [6, 7]
Generated Node #3: [6, 7] from Operation: 94-87=7
Current State: 42:[6, 7], Operations: ['97-10=87', '94-87=7']
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[10, 6, 97, 94], Operations: []
Exploring Operation: 97-10=87, Resulting Numbers: [6, 94, 87]
Generated Node #0,0: 42:[6, 94, 87] Operation: 97-10=87
Exploring Operation: 97-94=3, Resulting Numbers: [10, 6, 3]
Generated Node #0,1: 42:[10, 6, 3] Operation: 97-94=3
Moving to Node #0,1
Current State: 42:[10, 6, 3], Operations: ['97-94=3']
Exploring Operation: 10-3=7, Resulting Numbers: [6, 7]
Generated Node #0,1,0: 42:[6, 7] Operation: 10-3=7
Exploring Operation: 10-6=4, Resulting Numbers: [3, 4]
Generated Node #0,1,1: 42:[3, 4] Operation: 10-6=4
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 42:[6, 7], Operations: ['97-94=3', '10-3=7']
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[10, 6, 97, 94], Operations: []
Exploring Operation: 97-94=3, Resulting Numbers: [10, 6, 3]
Generated Node #0,1: 42:[10, 6, 3] Operation: 97-94=3
Moving to Node #0,1
Current State: 42:[10, 6, 3], Operations: ['97-94=3']
Exploring Operation: 10-3=7, Resulting Numbers: [6, 7]
Generated Node #0,1,0: 42:[6, 7] Operation: 10-3=7
Moving to Node #0,1,0
Current State: 42:[6, 7], Operations: ['97-94=3', '10-3=7']
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
15,
5,
13,
93
] | 18 | [
"15/5=3",
"93/3=31",
"31-13=18"
] | Current State: 18:[15, 5, 13, 93], Operations: []
Exploring Operation: 15/5=3, Resulting Numbers: [13, 93, 3]
Generated Node #2: [13, 93, 3] from Operation: 15/5=3
Current State: 18:[13, 93, 3], Operations: ['15/5=3']
Exploring Operation: 93/3=31, Resulting Numbers: [13, 31]
Generated Node #3: [13, 31] from Operation: 93/3=31
Current State: 18:[13, 31], Operations: ['15/5=3', '93/3=31']
Exploring Operation: 31-13=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[15, 5, 13, 93], Operations: []
Exploring Operation: 93-13=80, Resulting Numbers: [15, 5, 80]
Generated Node #0,0: 18:[15, 5, 80] Operation: 93-13=80
Exploring Operation: 93-15=78, Resulting Numbers: [5, 13, 78]
Generated Node #0,1: 18:[5, 13, 78] Operation: 93-15=78
Exploring Operation: 15-13=2, Resulting Numbers: [5, 93, 2]
Generated Node #0,2: 18:[5, 93, 2] Operation: 15-13=2
Moving to Node #0,1
Current State: 18:[5, 13, 78], Operations: ['93-15=78']
Exploring Operation: 78-13=65, Resulting Numbers: [5, 65]
Generated Node #0,1,0: 18:[5, 65] Operation: 78-13=65
Exploring Operation: 78-5=73, Resulting Numbers: [13, 73]
Generated Node #0,1,1: 18:[13, 73] Operation: 78-5=73
Exploring Operation: 78/13=6, Resulting Numbers: [5, 6]
Generated Node #0,1,2: 18:[5, 6] Operation: 78/13=6
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 18:[5, 6], Operations: ['93-15=78', '78/13=6']
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,18 unequal: No Solution
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,18 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 18:[5, 65], Operations: ['93-15=78', '78-13=65']
Exploring Operation: 65/5=13, Resulting Numbers: [13]
13,18 unequal: No Solution
Exploring Operation: 5+65=70, Resulting Numbers: [70]
70,18 unequal: No Solution
Exploring Operation: 65-5=60, Resulting Numbers: [60]
60,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 18:[13, 73], Operations: ['93-15=78', '78-5=73']
Exploring Operation: 13+73=86, Resulting Numbers: [86]
86,18 unequal: No Solution
Exploring Operation: 73-13=60, Resulting Numbers: [60]
60,18 unequal: No Solution
Exploring Operation: 13*73=949, Resulting Numbers: [949]
949,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 18:[15, 5, 80], Operations: ['93-13=80']
Exploring Operation: 80-5=75, Resulting Numbers: [15, 75]
Generated Node #0,0,0: 18:[15, 75] Operation: 80-5=75
Exploring Operation: 80-15=65, Resulting Numbers: [5, 65]
Generated Node #0,0,1: 18:[5, 65] Operation: 80-15=65
Exploring Operation: 80/5=16, Resulting Numbers: [15, 16]
Generated Node #0,0,2: 18:[15, 16] Operation: 80/5=16
Moving to Node #0,2
Current State: 18:[5, 93, 2], Operations: ['15-13=2']
Exploring Operation: 93-2=91, Resulting Numbers: [5, 91]
Generated Node #0,2,0: 18:[5, 91] Operation: 93-2=91
Exploring Operation: 5-2=3, Resulting Numbers: [93, 3]
Generated Node #0,2,1: 18:[93, 3] Operation: 5-2=3
Exploring Operation: 93-5=88, Resulting Numbers: [2, 88]
Generated Node #0,2,2: 18:[2, 88] Operation: 93-5=88
Moving to Node #0,0,2
Current State: 18:[15, 16], Operations: ['93-13=80', '80/5=16']
Exploring Operation: 15*16=240, Resulting Numbers: [240]
240,18 unequal: No Solution
Exploring Operation: 15+16=31, Resulting Numbers: [31]
31,18 unequal: No Solution
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,18 unequal: No Solution
Moving to Node #0,0,1
Current State: 18:[5, 65], Operations: ['93-13=80', '80-15=65']
Exploring Operation: 65-5=60, Resulting Numbers: [60]
60,18 unequal: No Solution
Exploring Operation: 5+65=70, Resulting Numbers: [70]
70,18 unequal: No Solution
Exploring Operation: 65/5=13, Resulting Numbers: [13]
13,18 unequal: No Solution
Moving to Node #0,0,0
Current State: 18:[15, 75], Operations: ['93-13=80', '80-5=75']
Exploring Operation: 75-15=60, Resulting Numbers: [60]
60,18 unequal: No Solution
Exploring Operation: 75/15=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 15+75=90, Resulting Numbers: [90]
90,18 unequal: No Solution
Moving to Node #0,2,2
Current State: 18:[2, 88], Operations: ['15-13=2', '93-5=88']
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,18 unequal: No Solution
Exploring Operation: 2+88=90, Resulting Numbers: [90]
90,18 unequal: No Solution
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,18 unequal: No Solution
Moving to Node #0,2,0
Current State: 18:[5, 91], Operations: ['15-13=2', '93-2=91']
Exploring Operation: 5+91=96, Resulting Numbers: [96]
96,18 unequal: No Solution
Exploring Operation: 91-5=86, Resulting Numbers: [86]
86,18 unequal: No Solution
Exploring Operation: 5*91=455, Resulting Numbers: [455]
455,18 unequal: No Solution
Moving to Node #0,2,1
Current State: 18:[93, 3], Operations: ['15-13=2', '5-2=3']
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,18 unequal: No Solution
Exploring Operation: 93-3=90, Resulting Numbers: [90]
90,18 unequal: No Solution
Exploring Operation: 93+3=96, Resulting Numbers: [96]
96,18 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
70,
11,
30,
37
] | 66 | [
"70-11=59",
"37-30=7",
"59+7=66"
] | Current State: 66:[70, 11, 30, 37], Operations: []
Exploring Operation: 70-11=59, Resulting Numbers: [30, 37, 59]
Generated Node #2: [30, 37, 59] from Operation: 70-11=59
Current State: 66:[30, 37, 59], Operations: ['70-11=59']
Exploring Operation: 37-30=7, Resulting Numbers: [59, 7]
Generated Node #3: [59, 7] from Operation: 37-30=7
Current State: 66:[59, 7], Operations: ['70-11=59', '37-30=7']
Exploring Operation: 59+7=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[70, 11, 30, 37], Operations: []
Exploring Operation: 70-37=33, Resulting Numbers: [11, 30, 33]
Generated Node #0,0: 66:[11, 30, 33] Operation: 70-37=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[11, 30, 33], Operations: ['70-37=33']
Exploring Operation: 33-30=3, Resulting Numbers: [11, 3]
Generated Node #0,0,0: 66:[11, 3] Operation: 33-30=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 66:[11, 3], Operations: ['70-37=33', '33-30=3']
Exploring Operation: 11*3=33, Resulting Numbers: [33]
33,66 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 |
[
33,
61,
68,
46
] | 86 | [
"61-33=28",
"68+46=114",
"114-28=86"
] | Current State: 86:[33, 61, 68, 46], Operations: []
Exploring Operation: 61-33=28, Resulting Numbers: [68, 46, 28]
Generated Node #2: [68, 46, 28] from Operation: 61-33=28
Current State: 86:[68, 46, 28], Operations: ['61-33=28']
Exploring Operation: 68+46=114, Resulting Numbers: [28, 114]
Generated Node #3: [28, 114] from Operation: 68+46=114
Current State: 86:[28, 114], Operations: ['61-33=28', '68+46=114']
Exploring Operation: 114-28=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[33, 61, 68, 46], Operations: []
Exploring Operation: 68-61=7, Resulting Numbers: [33, 46, 7]
Generated Node #0,0: 86:[33, 46, 7] Operation: 68-61=7
Exploring Operation: 33+61=94, Resulting Numbers: [68, 46, 94]
Generated Node #0,1: 86:[68, 46, 94] Operation: 33+61=94
Moving to Node #0,0
Current State: 86:[33, 46, 7], Operations: ['68-61=7']
Exploring Operation: 33+7=40, Resulting Numbers: [46, 40]
Generated Node #0,0,0: 86:[46, 40] Operation: 33+7=40
Exploring Operation: 33+46=79, Resulting Numbers: [7, 79]
Generated Node #0,0,1: 86:[7, 79] Operation: 33+46=79
Moving to Node #0,1
Current State: 86:[68, 46, 94], Operations: ['33+61=94']
Exploring Operation: 94-68=26, Resulting Numbers: [46, 26]
Generated Node #0,1,0: 86:[46, 26] Operation: 94-68=26
Exploring Operation: 94-46=48, Resulting Numbers: [68, 48]
Generated Node #0,1,1: 86:[68, 48] Operation: 94-46=48
Moving to Node #0,0,0
Current State: 86:[46, 40], Operations: ['68-61=7', '33+7=40']
Exploring Operation: 46-40=6, Resulting Numbers: [6]
6,86 unequal: No Solution
Exploring Operation: 46+40=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[33, 61, 68, 46], Operations: []
Exploring Operation: 68-61=7, Resulting Numbers: [33, 46, 7]
Generated Node #0,0: 86:[33, 46, 7] Operation: 68-61=7
Moving to Node #0,0
Current State: 86:[33, 46, 7], Operations: ['68-61=7']
Exploring Operation: 33+7=40, Resulting Numbers: [46, 40]
Generated Node #0,0,0: 86:[46, 40] Operation: 33+7=40
Moving to Node #0,0,0
Current State: 86:[46, 40], Operations: ['68-61=7', '33+7=40']
Exploring Operation: 46+40=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 0.989583 | hs_2 | mult_heuristic |
[
7,
19,
91,
40
] | 56 | [
"40-19=21",
"7*21=147",
"147-91=56"
] | Current State: 56:[7, 19, 91, 40], Operations: []
Exploring Operation: 40-19=21, Resulting Numbers: [7, 91, 21]
Generated Node #2: [7, 91, 21] from Operation: 40-19=21
Current State: 56:[7, 91, 21], Operations: ['40-19=21']
Exploring Operation: 7*21=147, Resulting Numbers: [91, 147]
Generated Node #3: [91, 147] from Operation: 7*21=147
Current State: 56:[91, 147], Operations: ['40-19=21', '7*21=147']
Exploring Operation: 147-91=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[7, 19, 91, 40], Operations: []
Exploring Operation: 91/7=13, Resulting Numbers: [19, 40, 13]
Generated Node #0,0: 56:[19, 40, 13] Operation: 91/7=13
Exploring Operation: 19+40=59, Resulting Numbers: [7, 91, 59]
Generated Node #0,1: 56:[7, 91, 59] Operation: 19+40=59
Exploring Operation: 91-40=51, Resulting Numbers: [7, 19, 51]
Generated Node #0,2: 56:[7, 19, 51] Operation: 91-40=51
Exploring Operation: 91-19=72, Resulting Numbers: [7, 40, 72]
Generated Node #0,3: 56:[7, 40, 72] Operation: 91-19=72
Moving to Node #0,2
Current State: 56:[7, 19, 51], Operations: ['91-40=51']
Exploring Operation: 19-7=12, Resulting Numbers: [51, 12]
Generated Node #0,2,0: 56:[51, 12] Operation: 19-7=12
Exploring Operation: 7+19=26, Resulting Numbers: [51, 26]
Generated Node #0,2,1: 56:[51, 26] Operation: 7+19=26
Exploring Operation: 7+51=58, Resulting Numbers: [19, 58]
Generated Node #0,2,2: 56:[19, 58] Operation: 7+51=58
Exploring Operation: 51-19=32, Resulting Numbers: [7, 32]
Generated Node #0,2,3: 56:[7, 32] Operation: 51-19=32
Moving to Node #0,0
Current State: 56:[19, 40, 13], Operations: ['91/7=13']
Exploring Operation: 40-13=27, Resulting Numbers: [19, 27]
Generated Node #0,0,0: 56:[19, 27] Operation: 40-13=27
Exploring Operation: 40-19=21, Resulting Numbers: [13, 21]
Generated Node #0,0,1: 56:[13, 21] Operation: 40-19=21
Exploring Operation: 40+13=53, Resulting Numbers: [19, 53]
Generated Node #0,0,2: 56:[19, 53] Operation: 40+13=53
Exploring Operation: 19+40=59, Resulting Numbers: [13, 59]
Generated Node #0,0,3: 56:[13, 59] Operation: 19+40=59
Moving to Node #0,3
Current State: 56:[7, 40, 72], Operations: ['91-19=72']
Exploring Operation: 72-7=65, Resulting Numbers: [40, 65]
Generated Node #0,3,0: 56:[40, 65] Operation: 72-7=65
Exploring Operation: 40-7=33, Resulting Numbers: [72, 33]
Generated Node #0,3,1: 56:[72, 33] Operation: 40-7=33
Exploring Operation: 72-40=32, Resulting Numbers: [7, 32]
Generated Node #0,3,2: 56:[7, 32] Operation: 72-40=32
Exploring Operation: 7+40=47, Resulting Numbers: [72, 47]
Generated Node #0,3,3: 56:[72, 47] Operation: 7+40=47
Moving to Node #0,1
Current State: 56:[7, 91, 59], Operations: ['19+40=59']
Exploring Operation: 91-7=84, Resulting Numbers: [59, 84]
Generated Node #0,1,0: 56:[59, 84] Operation: 91-7=84
Exploring Operation: 91/7=13, Resulting Numbers: [59, 13]
Generated Node #0,1,1: 56:[59, 13] Operation: 91/7=13
Exploring Operation: 91-59=32, Resulting Numbers: [7, 32]
Generated Node #0,1,2: 56:[7, 32] Operation: 91-59=32
Exploring Operation: 59-7=52, Resulting Numbers: [91, 52]
Generated Node #0,1,3: 56:[91, 52] Operation: 59-7=52
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 56:[59, 13], Operations: ['19+40=59', '91/7=13']
Exploring Operation: 59+13=72, Resulting Numbers: [72]
72,56 unequal: No Solution
Exploring Operation: 59*13=767, Resulting Numbers: [767]
767,56 unequal: No Solution
Exploring Operation: 59-13=46, Resulting Numbers: [46]
46,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 56:[7, 32], Operations: ['19+40=59', '91-59=32']
Exploring Operation: 7+32=39, Resulting Numbers: [39]
39,56 unequal: No Solution
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,56 unequal: No Solution
Exploring Operation: 7*32=224, Resulting Numbers: [224]
224,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 56:[59, 84], Operations: ['19+40=59', '91-7=84']
Exploring Operation: 84-59=25, Resulting Numbers: [25]
25,56 unequal: No Solution
Exploring Operation: 59*84=4956, Resulting Numbers: [4956]
4956,56 unequal: No Solution
Exploring Operation: 59+84=143, Resulting Numbers: [143]
143,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 56:[91, 52], Operations: ['19+40=59', '59-7=52']
Exploring Operation: 91-52=39, Resulting Numbers: [39]
39,56 unequal: No Solution
Exploring Operation: 91*52=4732, Resulting Numbers: [4732]
4732,56 unequal: No Solution
Exploring Operation: 91+52=143, Resulting Numbers: [143]
143,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 56:[7, 32], Operations: ['91-40=51', '51-19=32']
Exploring Operation: 7*32=224, Resulting Numbers: [224]
224,56 unequal: No Solution
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,56 unequal: No Solution
Exploring Operation: 7+32=39, Resulting Numbers: [39]
39,56 unequal: No Solution
Moving to Node #0,0,3
Current State: 56:[13, 59], Operations: ['91/7=13', '19+40=59']
Exploring Operation: 13+59=72, Resulting Numbers: [72]
72,56 unequal: No Solution
Exploring Operation: 59-13=46, Resulting Numbers: [46]
46,56 unequal: No Solution
Exploring Operation: 13*59=767, Resulting Numbers: [767]
767,56 unequal: No Solution
Moving to Node #0,3,2
Current State: 56:[7, 32], Operations: ['91-19=72', '72-40=32']
Exploring Operation: 7+32=39, Resulting Numbers: [39]
39,56 unequal: No Solution
Exploring Operation: 7*32=224, Resulting Numbers: [224]
224,56 unequal: No Solution
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,56 unequal: No Solution
Moving to Node #0,0,0
Current State: 56:[19, 27], Operations: ['91/7=13', '40-13=27']
Exploring Operation: 19+27=46, Resulting Numbers: [46]
46,56 unequal: No Solution
Exploring Operation: 27-19=8, Resulting Numbers: [8]
8,56 unequal: No Solution
Exploring Operation: 19*27=513, Resulting Numbers: [513]
513,56 unequal: No Solution
Moving to Node #0,2,1
Current State: 56:[51, 26], Operations: ['91-40=51', '7+19=26']
Exploring Operation: 51*26=1326, Resulting Numbers: [1326]
1326,56 unequal: No Solution
Exploring Operation: 51-26=25, Resulting Numbers: [25]
25,56 unequal: No Solution
Exploring Operation: 51+26=77, Resulting Numbers: [77]
77,56 unequal: No Solution
Moving to Node #0,2,0
Current State: 56:[51, 12], Operations: ['91-40=51', '19-7=12']
Exploring Operation: 51-12=39, Resulting Numbers: [39]
39,56 unequal: No Solution
Exploring Operation: 51*12=612, Resulting Numbers: [612]
612,56 unequal: No Solution
Exploring Operation: 51+12=63, Resulting Numbers: [63]
63,56 unequal: No Solution
Moving to Node #0,2,2
Current State: 56:[19, 58], Operations: ['91-40=51', '7+51=58']
Exploring Operation: 19+58=77, Resulting Numbers: [77]
77,56 unequal: No Solution
Exploring Operation: 19*58=1102, Resulting Numbers: [1102]
1102,56 unequal: No Solution
Exploring Operation: 58-19=39, Resulting Numbers: [39]
39,56 unequal: No Solution
Moving to Node #0,0,1
Current State: 56:[13, 21], Operations: ['91/7=13', '40-19=21']
Exploring Operation: 13+21=34, Resulting Numbers: [34]
34,56 unequal: No Solution
Exploring Operation: 21-13=8, Resulting Numbers: [8]
8,56 unequal: No Solution
Exploring Operation: 13*21=273, Resulting Numbers: [273]
273,56 unequal: No Solution
Moving to Node #0,0,2
Current State: 56:[19, 53], Operations: ['91/7=13', '40+13=53']
Exploring Operation: 19+53=72, Resulting Numbers: [72]
72,56 unequal: No Solution
Exploring Operation: 53-19=34, Resulting Numbers: [34]
34,56 unequal: No Solution
Exploring Operation: 19*53=1007, Resulting Numbers: [1007]
1007,56 unequal: No Solution
Moving to Node #0,3,1
Current State: 56:[72, 33], Operations: ['91-19=72', '40-7=33']
Exploring Operation: 72-33=39, Resulting Numbers: [39]
39,56 unequal: No Solution
Exploring Operation: 72*33=2376, Resulting Numbers: [2376]
2376,56 unequal: No Solution
Exploring Operation: 72+33=105, Resulting Numbers: [105]
105,56 unequal: No Solution
Moving to Node #0,3,0
Current State: 56:[40, 65], Operations: ['91-19=72', '72-7=65']
Exploring Operation: 65-40=25, Resulting Numbers: [25]
25,56 unequal: No Solution
Exploring Operation: 40+65=105, Resulting Numbers: [105]
105,56 unequal: No Solution
Exploring Operation: 40*65=2600, Resulting Numbers: [2600]
2600,56 unequal: No Solution
Moving to Node #0,3,3
Current State: 56:[72, 47], Operations: ['91-19=72', '7+40=47']
Exploring Operation: 72*47=3384, Resulting Numbers: [3384]
3384,56 unequal: No Solution
Exploring Operation: 72+47=119, Resulting Numbers: [119]
119,56 unequal: No Solution
Exploring Operation: 72-47=25, Resulting Numbers: [25]
25,56 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
82,
17,
32,
14
] | 53 | [
"82+17=99",
"32+14=46",
"99-46=53"
] | Current State: 53:[82, 17, 32, 14], Operations: []
Exploring Operation: 82+17=99, Resulting Numbers: [32, 14, 99]
Generated Node #2: [32, 14, 99] from Operation: 82+17=99
Current State: 53:[32, 14, 99], Operations: ['82+17=99']
Exploring Operation: 32+14=46, Resulting Numbers: [99, 46]
Generated Node #3: [99, 46] from Operation: 32+14=46
Current State: 53:[99, 46], Operations: ['82+17=99', '32+14=46']
Exploring Operation: 99-46=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[82, 17, 32, 14], Operations: []
Exploring Operation: 82-17=65, Resulting Numbers: [32, 14, 65]
Generated Node #0,0: 53:[32, 14, 65] Operation: 82-17=65
Moving to Node #0,0
Current State: 53:[32, 14, 65], Operations: ['82-17=65']
Exploring Operation: 32+14=46, Resulting Numbers: [65, 46]
Generated Node #0,0,0: 53:[65, 46] Operation: 32+14=46
Moving to Node #0,0,0
Current State: 53:[65, 46], Operations: ['82-17=65', '32+14=46']
Exploring Operation: 65-46=19, Resulting Numbers: [19]
19,53 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
50,
83,
55,
48
] | 70 | [
"83-50=33",
"55+48=103",
"103-33=70"
] | Current State: 70:[50, 83, 55, 48], Operations: []
Exploring Operation: 83-50=33, Resulting Numbers: [55, 48, 33]
Generated Node #2: [55, 48, 33] from Operation: 83-50=33
Current State: 70:[55, 48, 33], Operations: ['83-50=33']
Exploring Operation: 55+48=103, Resulting Numbers: [33, 103]
Generated Node #3: [33, 103] from Operation: 55+48=103
Current State: 70:[33, 103], Operations: ['83-50=33', '55+48=103']
Exploring Operation: 103-33=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[50, 83, 55, 48], Operations: []
Exploring Operation: 83-50=33, Resulting Numbers: [55, 48, 33]
Generated Node #0,0: 70:[55, 48, 33] Operation: 83-50=33
Exploring Operation: 55-48=7, Resulting Numbers: [50, 83, 7]
Generated Node #0,1: 70:[50, 83, 7] Operation: 55-48=7
Exploring Operation: 50-48=2, Resulting Numbers: [83, 55, 2]
Generated Node #0,2: 70:[83, 55, 2] Operation: 50-48=2
Exploring Operation: 55-50=5, Resulting Numbers: [83, 48, 5]
Generated Node #0,3: 70:[83, 48, 5] Operation: 55-50=5
Moving to Node #0,3
Current State: 70:[83, 48, 5], Operations: ['55-50=5']
Exploring Operation: 48-5=43, Resulting Numbers: [83, 43]
Generated Node #0,3,0: 70:[83, 43] Operation: 48-5=43
Exploring Operation: 48+5=53, Resulting Numbers: [83, 53]
Generated Node #0,3,1: 70:[83, 53] Operation: 48+5=53
Exploring Operation: 83-48=35, Resulting Numbers: [5, 35]
Generated Node #0,3,2: 70:[5, 35] Operation: 83-48=35
Exploring Operation: 83-5=78, Resulting Numbers: [48, 78]
Generated Node #0,3,3: 70:[48, 78] Operation: 83-5=78
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 70:[5, 35], Operations: ['55-50=5', '83-48=35']
Exploring Operation: 5*35=175, Resulting Numbers: [175]
175,70 unequal: No Solution
Exploring Operation: 35/5=7, Resulting Numbers: [7]
7,70 unequal: No Solution
Exploring Operation: 35-5=30, Resulting Numbers: [30]
30,70 unequal: No Solution
Exploring Operation: 5+35=40, Resulting Numbers: [40]
40,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 70:[83, 43], Operations: ['55-50=5', '48-5=43']
Exploring Operation: 83*43=3569, Resulting Numbers: [3569]
3569,70 unequal: No Solution
Exploring Operation: 83-43=40, Resulting Numbers: [40]
40,70 unequal: No Solution
Exploring Operation: 83+43=126, Resulting Numbers: [126]
126,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 70:[48, 78], Operations: ['55-50=5', '83-5=78']
Exploring Operation: 48*78=3744, Resulting Numbers: [3744]
3744,70 unequal: No Solution
Exploring Operation: 48+78=126, Resulting Numbers: [126]
126,70 unequal: No Solution
Exploring Operation: 78-48=30, Resulting Numbers: [30]
30,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 70:[83, 53], Operations: ['55-50=5', '48+5=53']
Exploring Operation: 83+53=136, Resulting Numbers: [136]
136,70 unequal: No Solution
Exploring Operation: 83-53=30, Resulting Numbers: [30]
30,70 unequal: No Solution
Exploring Operation: 83*53=4399, Resulting Numbers: [4399]
4399,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 70:[83, 55, 2], Operations: ['50-48=2']
Exploring Operation: 83-2=81, Resulting Numbers: [55, 81]
Generated Node #0,2,0: 70:[55, 81] Operation: 83-2=81
Exploring Operation: 55+2=57, Resulting Numbers: [83, 57]
Generated Node #0,2,1: 70:[83, 57] Operation: 55+2=57
Exploring Operation: 83+2=85, Resulting Numbers: [55, 85]
Generated Node #0,2,2: 70:[55, 85] Operation: 83+2=85
Exploring Operation: 83-55=28, Resulting Numbers: [2, 28]
Generated Node #0,2,3: 70:[2, 28] Operation: 83-55=28
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 70:[2, 28], Operations: ['50-48=2', '83-55=28']
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,70 unequal: No Solution
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,70 unequal: No Solution
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,70 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 70:[55, 81], Operations: ['50-48=2', '83-2=81']
Exploring Operation: 55+81=136, Resulting Numbers: [136]
136,70 unequal: No Solution
Exploring Operation: 55*81=4455, Resulting Numbers: [4455]
4455,70 unequal: No Solution
Exploring Operation: 81-55=26, Resulting Numbers: [26]
26,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 70:[83, 57], Operations: ['50-48=2', '55+2=57']
Exploring Operation: 83-57=26, Resulting Numbers: [26]
26,70 unequal: No Solution
Exploring Operation: 83*57=4731, Resulting Numbers: [4731]
4731,70 unequal: No Solution
Exploring Operation: 83+57=140, Resulting Numbers: [140]
140,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 70:[55, 85], Operations: ['50-48=2', '83+2=85']
Exploring Operation: 55+85=140, Resulting Numbers: [140]
140,70 unequal: No Solution
Exploring Operation: 55*85=4675, Resulting Numbers: [4675]
4675,70 unequal: No Solution
Exploring Operation: 85-55=30, Resulting Numbers: [30]
30,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 70:[50, 83, 7], Operations: ['55-48=7']
Exploring Operation: 83-50=33, Resulting Numbers: [7, 33]
Generated Node #0,1,0: 70:[7, 33] Operation: 83-50=33
Exploring Operation: 50-7=43, Resulting Numbers: [83, 43]
Generated Node #0,1,1: 70:[83, 43] Operation: 50-7=43
Exploring Operation: 83-7=76, Resulting Numbers: [50, 76]
Generated Node #0,1,2: 70:[50, 76] Operation: 83-7=76
Exploring Operation: 50+7=57, Resulting Numbers: [83, 57]
Generated Node #0,1,3: 70:[83, 57] Operation: 50+7=57
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 70:[7, 33], Operations: ['55-48=7', '83-50=33']
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,70 unequal: No Solution
Exploring Operation: 7+33=40, Resulting Numbers: [40]
40,70 unequal: No Solution
Exploring Operation: 7*33=231, Resulting Numbers: [231]
231,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 70:[83, 43], Operations: ['55-48=7', '50-7=43']
Exploring Operation: 83*43=3569, Resulting Numbers: [3569]
3569,70 unequal: No Solution
Exploring Operation: 83-43=40, Resulting Numbers: [40]
40,70 unequal: No Solution
Exploring Operation: 83+43=126, Resulting Numbers: [126]
126,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 70:[50, 76], Operations: ['55-48=7', '83-7=76']
Exploring Operation: 50*76=3800, Resulting Numbers: [3800]
3800,70 unequal: No Solution
Exploring Operation: 50+76=126, Resulting Numbers: [126]
126,70 unequal: No Solution
Exploring Operation: 76-50=26, Resulting Numbers: [26]
26,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 70:[83, 57], Operations: ['55-48=7', '50+7=57']
Exploring Operation: 83+57=140, Resulting Numbers: [140]
140,70 unequal: No Solution
Exploring Operation: 83-57=26, Resulting Numbers: [26]
26,70 unequal: No Solution
Exploring Operation: 83*57=4731, Resulting Numbers: [4731]
4731,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 70:[55, 48, 33], Operations: ['83-50=33']
Exploring Operation: 55-48=7, Resulting Numbers: [33, 7]
Generated Node #0,0,0: 70:[33, 7] Operation: 55-48=7
Exploring Operation: 48-33=15, Resulting Numbers: [55, 15]
Generated Node #0,0,1: 70:[55, 15] Operation: 48-33=15
Exploring Operation: 55-33=22, Resulting Numbers: [48, 22]
Generated Node #0,0,2: 70:[48, 22] Operation: 55-33=22
Exploring Operation: 48+33=81, Resulting Numbers: [55, 81]
Generated Node #0,0,3: 70:[55, 81] Operation: 48+33=81
Moving to Node #0,0,0
Current State: 70:[33, 7], Operations: ['83-50=33', '55-48=7']
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,70 unequal: No Solution
Exploring Operation: 33+7=40, Resulting Numbers: [40]
40,70 unequal: No Solution
Exploring Operation: 33*7=231, Resulting Numbers: [231]
231,70 unequal: No Solution
Moving to Node #0,0,1
Current State: 70:[55, 15], Operations: ['83-50=33', '48-33=15']
Exploring Operation: 55+15=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[50, 83, 55, 48], Operations: []
Exploring Operation: 83-50=33, Resulting Numbers: [55, 48, 33]
Generated Node #0,0: 70:[55, 48, 33] Operation: 83-50=33
Moving to Node #0,0
Current State: 70:[55, 48, 33], Operations: ['83-50=33']
Exploring Operation: 48-33=15, Resulting Numbers: [55, 15]
Generated Node #0,0,1: 70:[55, 15] Operation: 48-33=15
Moving to Node #0,0,1
Current State: 70:[55, 15], Operations: ['83-50=33', '48-33=15']
Exploring Operation: 55+15=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 0.942708 | hs_4 | mult_heuristic |
[
92,
98,
60,
78
] | 73 | [
"98-92=6",
"78/6=13",
"60+13=73"
] | Current State: 73:[92, 98, 60, 78], Operations: []
Exploring Operation: 98-92=6, Resulting Numbers: [60, 78, 6]
Generated Node #2: [60, 78, 6] from Operation: 98-92=6
Current State: 73:[60, 78, 6], Operations: ['98-92=6']
Exploring Operation: 78/6=13, Resulting Numbers: [60, 13]
Generated Node #3: [60, 13] from Operation: 78/6=13
Current State: 73:[60, 13], Operations: ['98-92=6', '78/6=13']
Exploring Operation: 60+13=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[92, 98, 60, 78], Operations: []
Exploring Operation: 98-92=6, Resulting Numbers: [60, 78, 6]
Generated Node #0,0: 73:[60, 78, 6] Operation: 98-92=6
Exploring Operation: 92-60=32, Resulting Numbers: [98, 78, 32]
Generated Node #0,1: 73:[98, 78, 32] Operation: 92-60=32
Exploring Operation: 98-60=38, Resulting Numbers: [92, 78, 38]
Generated Node #0,2: 73:[92, 78, 38] Operation: 98-60=38
Moving to Node #0,2
Current State: 73:[92, 78, 38], Operations: ['98-60=38']
Exploring Operation: 92+38=130, Resulting Numbers: [78, 130]
Generated Node #0,2,0: 73:[78, 130] Operation: 92+38=130
Exploring Operation: 78-38=40, Resulting Numbers: [92, 40]
Generated Node #0,2,1: 73:[92, 40] Operation: 78-38=40
Exploring Operation: 92-38=54, Resulting Numbers: [78, 54]
Generated Node #0,2,2: 73:[78, 54] Operation: 92-38=54
Moving to Node #0,1
Current State: 73:[98, 78, 32], Operations: ['92-60=32']
Exploring Operation: 98-32=66, Resulting Numbers: [78, 66]
Generated Node #0,1,0: 73:[78, 66] Operation: 98-32=66
Exploring Operation: 98+32=130, Resulting Numbers: [78, 130]
Generated Node #0,1,1: 73:[78, 130] Operation: 98+32=130
Exploring Operation: 78-32=46, Resulting Numbers: [98, 46]
Generated Node #0,1,2: 73:[98, 46] Operation: 78-32=46
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 73:[78, 66], Operations: ['92-60=32', '98-32=66']
Exploring Operation: 78+66=144, Resulting Numbers: [144]
144,73 unequal: No Solution
Exploring Operation: 78-66=12, Resulting Numbers: [12]
12,73 unequal: No Solution
Exploring Operation: 78*66=5148, Resulting Numbers: [5148]
5148,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 73:[98, 46], Operations: ['92-60=32', '78-32=46']
Exploring Operation: 98-46=52, Resulting Numbers: [52]
52,73 unequal: No Solution
Exploring Operation: 98+46=144, Resulting Numbers: [144]
144,73 unequal: No Solution
Exploring Operation: 98*46=4508, Resulting Numbers: [4508]
4508,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 73:[78, 130], Operations: ['92-60=32', '98+32=130']
Exploring Operation: 78*130=10140, Resulting Numbers: [10140]
10140,73 unequal: No Solution
Exploring Operation: 130-78=52, Resulting Numbers: [52]
52,73 unequal: No Solution
Exploring Operation: 78+130=208, Resulting Numbers: [208]
208,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 73:[60, 78, 6], Operations: ['98-92=6']
Exploring Operation: 60+6=66, Resulting Numbers: [78, 66]
Generated Node #0,0,0: 73:[78, 66] Operation: 60+6=66
Exploring Operation: 60-6=54, Resulting Numbers: [78, 54]
Generated Node #0,0,1: 73:[78, 54] Operation: 60-6=54
Exploring Operation: 78-6=72, Resulting Numbers: [60, 72]
Generated Node #0,0,2: 73:[60, 72] Operation: 78-6=72
Moving to Node #0,0,0
Current State: 73:[78, 66], Operations: ['98-92=6', '60+6=66']
Exploring Operation: 78+66=144, Resulting Numbers: [144]
144,73 unequal: No Solution
Exploring Operation: 78*66=5148, Resulting Numbers: [5148]
5148,73 unequal: No Solution
Exploring Operation: 78-66=12, Resulting Numbers: [12]
12,73 unequal: No Solution
Moving to Node #0,0,2
Current State: 73:[60, 72], Operations: ['98-92=6', '78-6=72']
Exploring Operation: 60+72=132, Resulting Numbers: [132]
132,73 unequal: No Solution
Exploring Operation: 72-60=12, Resulting Numbers: [12]
12,73 unequal: No Solution
Exploring Operation: 60*72=4320, Resulting Numbers: [4320]
4320,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[78, 54], Operations: ['98-92=6', '60-6=54']
Exploring Operation: 78*54=4212, Resulting Numbers: [4212]
4212,73 unequal: No Solution
Exploring Operation: 78+54=132, Resulting Numbers: [132]
132,73 unequal: No Solution
Exploring Operation: 78-54=24, Resulting Numbers: [24]
24,73 unequal: No Solution
Moving to Node #0,2,2
Current State: 73:[78, 54], Operations: ['98-60=38', '92-38=54']
Exploring Operation: 78*54=4212, Resulting Numbers: [4212]
4212,73 unequal: No Solution
Exploring Operation: 78+54=132, Resulting Numbers: [132]
132,73 unequal: No Solution
Exploring Operation: 78-54=24, Resulting Numbers: [24]
24,73 unequal: No Solution
Moving to Node #0,2,1
Current State: 73:[92, 40], Operations: ['98-60=38', '78-38=40']
Exploring Operation: 92+40=132, Resulting Numbers: [132]
132,73 unequal: No Solution
Exploring Operation: 92-40=52, Resulting Numbers: [52]
52,73 unequal: No Solution
Exploring Operation: 92*40=3680, Resulting Numbers: [3680]
3680,73 unequal: No Solution
Moving to Node #0,2,0
Current State: 73:[78, 130], Operations: ['98-60=38', '92+38=130']
Exploring Operation: 130-78=52, Resulting Numbers: [52]
52,73 unequal: No Solution
Exploring Operation: 78*130=10140, Resulting Numbers: [10140]
10140,73 unequal: No Solution
Exploring Operation: 78+130=208, Resulting Numbers: [208]
208,73 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
30,
18,
36,
43
] | 41 | [
"30+18=48",
"43-36=7",
"48-7=41"
] | Current State: 41:[30, 18, 36, 43], Operations: []
Exploring Operation: 30+18=48, Resulting Numbers: [36, 43, 48]
Generated Node #2: [36, 43, 48] from Operation: 30+18=48
Current State: 41:[36, 43, 48], Operations: ['30+18=48']
Exploring Operation: 43-36=7, Resulting Numbers: [48, 7]
Generated Node #3: [48, 7] from Operation: 43-36=7
Current State: 41:[48, 7], Operations: ['30+18=48', '43-36=7']
Exploring Operation: 48-7=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[30, 18, 36, 43], Operations: []
Exploring Operation: 30+18=48, Resulting Numbers: [36, 43, 48]
Generated Node #0,0: 41:[36, 43, 48] Operation: 30+18=48
Exploring Operation: 43-18=25, Resulting Numbers: [30, 36, 25]
Generated Node #0,1: 41:[30, 36, 25] Operation: 43-18=25
Exploring Operation: 18+36=54, Resulting Numbers: [30, 43, 54]
Generated Node #0,2: 41:[30, 43, 54] Operation: 18+36=54
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[36, 43, 48], Operations: ['30+18=48']
Exploring Operation: 48-36=12, Resulting Numbers: [43, 12]
Generated Node #0,0,0: 41:[43, 12] Operation: 48-36=12
Exploring Operation: 48-43=5, Resulting Numbers: [36, 5]
Generated Node #0,0,1: 41:[36, 5] Operation: 48-43=5
Exploring Operation: 43-36=7, Resulting Numbers: [48, 7]
Generated Node #0,0,2: 41:[48, 7] Operation: 43-36=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 41:[43, 12], Operations: ['30+18=48', '48-36=12']
Exploring Operation: 43+12=55, Resulting Numbers: [55]
55,41 unequal: No Solution
Exploring Operation: 43*12=516, Resulting Numbers: [516]
516,41 unequal: No Solution
Exploring Operation: 43-12=31, Resulting Numbers: [31]
31,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 41:[36, 5], Operations: ['30+18=48', '48-43=5']
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,41 unequal: No Solution
Exploring Operation: 36+5=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[30, 18, 36, 43], Operations: []
Exploring Operation: 30+18=48, Resulting Numbers: [36, 43, 48]
Generated Node #0,0: 41:[36, 43, 48] Operation: 30+18=48
Moving to Node #0,0
Current State: 41:[36, 43, 48], Operations: ['30+18=48']
Exploring Operation: 48-43=5, Resulting Numbers: [36, 5]
Generated Node #0,0,1: 41:[36, 5] Operation: 48-43=5
Moving to Node #0,0,1
Current State: 41:[36, 5], Operations: ['30+18=48', '48-43=5']
Exploring Operation: 36+5=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
94,
72,
28,
25
] | 75 | [
"94-72=22",
"28+25=53",
"22+53=75"
] | Current State: 75:[94, 72, 28, 25], Operations: []
Exploring Operation: 94-72=22, Resulting Numbers: [28, 25, 22]
Generated Node #2: [28, 25, 22] from Operation: 94-72=22
Current State: 75:[28, 25, 22], Operations: ['94-72=22']
Exploring Operation: 28+25=53, Resulting Numbers: [22, 53]
Generated Node #3: [22, 53] from Operation: 28+25=53
Current State: 75:[22, 53], Operations: ['94-72=22', '28+25=53']
Exploring Operation: 22+53=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[94, 72, 28, 25], Operations: []
Exploring Operation: 94-72=22, Resulting Numbers: [28, 25, 22]
Generated Node #0,0: 75:[28, 25, 22] Operation: 94-72=22
Exploring Operation: 94-25=69, Resulting Numbers: [72, 28, 69]
Generated Node #0,1: 75:[72, 28, 69] Operation: 94-25=69
Exploring Operation: 94-28=66, Resulting Numbers: [72, 25, 66]
Generated Node #0,2: 75:[72, 25, 66] Operation: 94-28=66
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[28, 25, 22], Operations: ['94-72=22']
Exploring Operation: 25-22=3, Resulting Numbers: [28, 3]
Generated Node #0,0,0: 75:[28, 3] Operation: 25-22=3
Exploring Operation: 28-22=6, Resulting Numbers: [25, 6]
Generated Node #0,0,1: 75:[25, 6] Operation: 28-22=6
Exploring Operation: 28-25=3, Resulting Numbers: [22, 3]
Generated Node #0,0,2: 75:[22, 3] Operation: 28-25=3
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 75:[25, 6], Operations: ['94-72=22', '28-22=6']
Exploring Operation: 25+6=31, Resulting Numbers: [31]
31,75 unequal: No Solution
Exploring Operation: 25*6=150, Resulting Numbers: [150]
150,75 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,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:[28, 3], Operations: ['94-72=22', '25-22=3']
Exploring Operation: 28*3=84, Resulting Numbers: [84]
84,75 unequal: No Solution
Exploring Operation: 28+3=31, Resulting Numbers: [31]
31,75 unequal: No Solution
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,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:[22, 3], Operations: ['94-72=22', '28-25=3']
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,75 unequal: No Solution
Exploring Operation: 22+3=25, Resulting Numbers: [25]
25,75 unequal: No Solution
Exploring Operation: 22*3=66, Resulting Numbers: [66]
66,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[72, 28, 69], Operations: ['94-25=69']
Exploring Operation: 72-28=44, Resulting Numbers: [69, 44]
Generated Node #0,1,0: 75:[69, 44] Operation: 72-28=44
Exploring Operation: 72-69=3, Resulting Numbers: [28, 3]
Generated Node #0,1,1: 75:[28, 3] Operation: 72-69=3
Exploring Operation: 69-28=41, Resulting Numbers: [72, 41]
Generated Node #0,1,2: 75:[72, 41] Operation: 69-28=41
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 75:[28, 3], Operations: ['94-25=69', '72-69=3']
Exploring Operation: 28+3=31, Resulting Numbers: [31]
31,75 unequal: No Solution
Exploring Operation: 28*3=84, Resulting Numbers: [84]
84,75 unequal: No Solution
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,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,1,2
Current State: 75:[72, 41], Operations: ['94-25=69', '69-28=41']
Exploring Operation: 72*41=2952, Resulting Numbers: [2952]
2952,75 unequal: No Solution
Exploring Operation: 72+41=113, Resulting Numbers: [113]
113,75 unequal: No Solution
Exploring Operation: 72-41=31, Resulting Numbers: [31]
31,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,1,0
Current State: 75:[69, 44], Operations: ['94-25=69', '72-28=44']
Exploring Operation: 69-44=25, Resulting Numbers: [25]
25,75 unequal: No Solution
Exploring Operation: 69*44=3036, Resulting Numbers: [3036]
3036,75 unequal: No Solution
Exploring Operation: 69+44=113, Resulting Numbers: [113]
113,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
Start Sub Search at level 1: Moving to Node #0,2
Current State: 75:[72, 25, 66], Operations: ['94-28=66']
Exploring Operation: 66-25=41, Resulting Numbers: [72, 41]
Generated Node #0,2,0: 75:[72, 41] Operation: 66-25=41
Exploring Operation: 72-66=6, Resulting Numbers: [25, 6]
Generated Node #0,2,1: 75:[25, 6] Operation: 72-66=6
Exploring Operation: 25+66=91, Resulting Numbers: [72, 91]
Generated Node #0,2,2: 75:[72, 91] Operation: 25+66=91
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 75:[25, 6], Operations: ['94-28=66', '72-66=6']
Exploring Operation: 25*6=150, Resulting Numbers: [150]
150,75 unequal: No Solution
Exploring Operation: 25+6=31, Resulting Numbers: [31]
31,75 unequal: No Solution
Exploring Operation: 25-6=19, Resulting Numbers: [19]
19,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,2,0
Current State: 75:[72, 41], Operations: ['94-28=66', '66-25=41']
Exploring Operation: 72+41=113, Resulting Numbers: [113]
113,75 unequal: No Solution
Exploring Operation: 72*41=2952, Resulting Numbers: [2952]
2952,75 unequal: No Solution
Exploring Operation: 72-41=31, Resulting Numbers: [31]
31,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,2,2
Current State: 75:[72, 91], Operations: ['94-28=66', '25+66=91']
Exploring Operation: 72*91=6552, Resulting Numbers: [6552]
6552,75 unequal: No Solution
Exploring Operation: 91-72=19, Resulting Numbers: [19]
19,75 unequal: No Solution
Exploring Operation: 72+91=163, Resulting Numbers: [163]
163,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_3 | mult_heuristic |
[
96,
50,
90,
23
] | 21 | [
"96-50=46",
"90-23=67",
"67-46=21"
] | Current State: 21:[96, 50, 90, 23], Operations: []
Exploring Operation: 96-50=46, Resulting Numbers: [90, 23, 46]
Generated Node #2: [90, 23, 46] from Operation: 96-50=46
Current State: 21:[90, 23, 46], Operations: ['96-50=46']
Exploring Operation: 90-23=67, Resulting Numbers: [46, 67]
Generated Node #3: [46, 67] from Operation: 90-23=67
Current State: 21:[46, 67], Operations: ['96-50=46', '90-23=67']
Exploring Operation: 67-46=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[96, 50, 90, 23], Operations: []
Exploring Operation: 50-23=27, Resulting Numbers: [96, 90, 27]
Generated Node #0,0: 21:[96, 90, 27] Operation: 50-23=27
Exploring Operation: 96-50=46, Resulting Numbers: [90, 23, 46]
Generated Node #0,1: 21:[90, 23, 46] Operation: 96-50=46
Exploring Operation: 90-50=40, Resulting Numbers: [96, 23, 40]
Generated Node #0,2: 21:[96, 23, 40] Operation: 90-50=40
Exploring Operation: 96-90=6, Resulting Numbers: [50, 23, 6]
Generated Node #0,3: 21:[50, 23, 6] Operation: 96-90=6
Exploring Operation: 96-23=73, Resulting Numbers: [50, 90, 73]
Generated Node #0,4: 21:[50, 90, 73] Operation: 96-23=73
Moving to Node #0,3
Current State: 21:[50, 23, 6], Operations: ['96-90=6']
Exploring Operation: 50+6=56, Resulting Numbers: [23, 56]
Generated Node #0,3,0: 21:[23, 56] Operation: 50+6=56
Exploring Operation: 50-23=27, Resulting Numbers: [6, 27]
Generated Node #0,3,1: 21:[6, 27] Operation: 50-23=27
Exploring Operation: 23+6=29, Resulting Numbers: [50, 29]
Generated Node #0,3,2: 21:[50, 29] Operation: 23+6=29
Exploring Operation: 23-6=17, Resulting Numbers: [50, 17]
Generated Node #0,3,3: 21:[50, 17] Operation: 23-6=17
Exploring Operation: 50-6=44, Resulting Numbers: [23, 44]
Generated Node #0,3,4: 21:[23, 44] Operation: 50-6=44
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 21:[6, 27], Operations: ['96-90=6', '50-23=27']
Exploring Operation: 6*27=162, Resulting Numbers: [162]
162,21 unequal: No Solution
Exploring Operation: 6+27=33, Resulting Numbers: [33]
33,21 unequal: No Solution
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[96, 50, 90, 23], Operations: []
Exploring Operation: 96-90=6, Resulting Numbers: [50, 23, 6]
Generated Node #0,3: 21:[50, 23, 6] Operation: 96-90=6
Moving to Node #0,3
Current State: 21:[50, 23, 6], Operations: ['96-90=6']
Exploring Operation: 50-23=27, Resulting Numbers: [6, 27]
Generated Node #0,3,1: 21:[6, 27] Operation: 50-23=27
Moving to Node #0,3,1
Current State: 21:[6, 27], Operations: ['96-90=6', '50-23=27']
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
44,
7,
40,
82
] | 94 | [
"44+40=84",
"84/7=12",
"82+12=94"
] | Current State: 94:[44, 7, 40, 82], Operations: []
Exploring Operation: 44+40=84, Resulting Numbers: [7, 82, 84]
Generated Node #2: [7, 82, 84] from Operation: 44+40=84
Current State: 94:[7, 82, 84], Operations: ['44+40=84']
Exploring Operation: 84/7=12, Resulting Numbers: [82, 12]
Generated Node #3: [82, 12] from Operation: 84/7=12
Current State: 94:[82, 12], Operations: ['44+40=84', '84/7=12']
Exploring Operation: 82+12=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[44, 7, 40, 82], Operations: []
Exploring Operation: 82-40=42, Resulting Numbers: [44, 7, 42]
Generated Node #0,0: 94:[44, 7, 42] Operation: 82-40=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[44, 7, 42], Operations: ['82-40=42']
Exploring Operation: 44-42=2, Resulting Numbers: [7, 2]
Generated Node #0,0,0: 94:[7, 2] Operation: 44-42=2
Moving to Node #0,0,0
Current State: 94:[7, 2], Operations: ['82-40=42', '44-42=2']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,94 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 |
[
58,
66,
41,
52
] | 19 | [
"66-58=8",
"52-41=11",
"8+11=19"
] | Current State: 19:[58, 66, 41, 52], Operations: []
Exploring Operation: 66-58=8, Resulting Numbers: [41, 52, 8]
Generated Node #2: [41, 52, 8] from Operation: 66-58=8
Current State: 19:[41, 52, 8], Operations: ['66-58=8']
Exploring Operation: 52-41=11, Resulting Numbers: [8, 11]
Generated Node #3: [8, 11] from Operation: 52-41=11
Current State: 19:[8, 11], Operations: ['66-58=8', '52-41=11']
Exploring Operation: 8+11=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[58, 66, 41, 52], Operations: []
Exploring Operation: 66-52=14, Resulting Numbers: [58, 41, 14]
Generated Node #0,0: 19:[58, 41, 14] Operation: 66-52=14
Exploring Operation: 66-41=25, Resulting Numbers: [58, 52, 25]
Generated Node #0,1: 19:[58, 52, 25] Operation: 66-41=25
Exploring Operation: 66-58=8, Resulting Numbers: [41, 52, 8]
Generated Node #0,2: 19:[41, 52, 8] Operation: 66-58=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[58, 41, 14], Operations: ['66-52=14']
Exploring Operation: 58-14=44, Resulting Numbers: [41, 44]
Generated Node #0,0,0: 19:[41, 44] Operation: 58-14=44
Exploring Operation: 41-14=27, Resulting Numbers: [58, 27]
Generated Node #0,0,1: 19:[58, 27] Operation: 41-14=27
Exploring Operation: 58-41=17, Resulting Numbers: [14, 17]
Generated Node #0,0,2: 19:[14, 17] Operation: 58-41=17
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 19:[14, 17], Operations: ['66-52=14', '58-41=17']
Exploring Operation: 14+17=31, Resulting Numbers: [31]
31,19 unequal: No Solution
Exploring Operation: 14*17=238, Resulting Numbers: [238]
238,19 unequal: No Solution
Exploring Operation: 17-14=3, Resulting Numbers: [3]
3,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 19:[41, 44], Operations: ['66-52=14', '58-14=44']
Exploring Operation: 44-41=3, Resulting Numbers: [3]
3,19 unequal: No Solution
Exploring Operation: 41+44=85, Resulting Numbers: [85]
85,19 unequal: No Solution
Exploring Operation: 41*44=1804, Resulting Numbers: [1804]
1804,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 19:[58, 27], Operations: ['66-52=14', '41-14=27']
Exploring Operation: 58+27=85, Resulting Numbers: [85]
85,19 unequal: No Solution
Exploring Operation: 58-27=31, Resulting Numbers: [31]
31,19 unequal: No Solution
Exploring Operation: 58*27=1566, Resulting Numbers: [1566]
1566,19 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 19:[41, 52, 8], Operations: ['66-58=8']
Exploring Operation: 52-41=11, Resulting Numbers: [8, 11]
Generated Node #0,2,0: 19:[8, 11] Operation: 52-41=11
Exploring Operation: 41-8=33, Resulting Numbers: [52, 33]
Generated Node #0,2,1: 19:[52, 33] Operation: 41-8=33
Exploring Operation: 52-8=44, Resulting Numbers: [41, 44]
Generated Node #0,2,2: 19:[41, 44] Operation: 52-8=44
Moving to Node #0,2,0
Current State: 19:[8, 11], Operations: ['66-58=8', '52-41=11']
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,19 unequal: No Solution
Exploring Operation: 8*11=88, Resulting Numbers: [88]
88,19 unequal: No Solution
Exploring Operation: 8+11=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[58, 66, 41, 52], Operations: []
Exploring Operation: 66-58=8, Resulting Numbers: [41, 52, 8]
Generated Node #0,2: 19:[41, 52, 8] Operation: 66-58=8
Moving to Node #0,2
Current State: 19:[41, 52, 8], Operations: ['66-58=8']
Exploring Operation: 52-41=11, Resulting Numbers: [8, 11]
Generated Node #0,2,0: 19:[8, 11] Operation: 52-41=11
Moving to Node #0,2,0
Current State: 19:[8, 11], Operations: ['66-58=8', '52-41=11']
Exploring Operation: 8+11=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_3 | sum_heuristic |
[
6,
6,
21,
9
] | 81 | [
"6+6=12",
"21-12=9",
"9*9=81"
] | Current State: 81:[6, 6, 21, 9], Operations: []
Exploring Operation: 6+6=12, Resulting Numbers: [21, 9, 12]
Generated Node #2: [21, 9, 12] from Operation: 6+6=12
Current State: 81:[21, 9, 12], Operations: ['6+6=12']
Exploring Operation: 21-12=9, Resulting Numbers: [9, 9]
Generated Node #3: [9, 9] from Operation: 21-12=9
Current State: 81:[9, 9], Operations: ['6+6=12', '21-12=9']
Exploring Operation: 9*9=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[6, 6, 21, 9], Operations: []
Exploring Operation: 6+21=27, Resulting Numbers: [6, 9, 27]
Generated Node #0,0: 81:[6, 9, 27] Operation: 6+21=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[6, 9, 27], Operations: ['6+21=27']
Exploring Operation: 9-6=3, Resulting Numbers: [27, 3]
Generated Node #0,0,0: 81:[27, 3] Operation: 9-6=3
Moving to Node #0,0,0
Current State: 81:[27, 3], Operations: ['6+21=27', '9-6=3']
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[6, 6, 21, 9], Operations: []
Exploring Operation: 6+21=27, Resulting Numbers: [6, 9, 27]
Generated Node #0,0: 81:[6, 9, 27] Operation: 6+21=27
Moving to Node #0,0
Current State: 81:[6, 9, 27], Operations: ['6+21=27']
Exploring Operation: 9-6=3, Resulting Numbers: [27, 3]
Generated Node #0,0,0: 81:[27, 3] Operation: 9-6=3
Moving to Node #0,0,0
Current State: 81:[27, 3], Operations: ['6+21=27', '9-6=3']
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
97,
22,
26,
8
] | 29 | [
"97*8=776",
"776-22=754",
"754/26=29"
] | Current State: 29:[97, 22, 26, 8], Operations: []
Exploring Operation: 97*8=776, Resulting Numbers: [22, 26, 776]
Generated Node #2: [22, 26, 776] from Operation: 97*8=776
Current State: 29:[22, 26, 776], Operations: ['97*8=776']
Exploring Operation: 776-22=754, Resulting Numbers: [26, 754]
Generated Node #3: [26, 754] from Operation: 776-22=754
Current State: 29:[26, 754], Operations: ['97*8=776', '776-22=754']
Exploring Operation: 754/26=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[97, 22, 26, 8], Operations: []
Exploring Operation: 26+8=34, Resulting Numbers: [97, 22, 34]
Generated Node #0,0: 29:[97, 22, 34] Operation: 26+8=34
Exploring Operation: 22+8=30, Resulting Numbers: [97, 26, 30]
Generated Node #0,1: 29:[97, 26, 30] Operation: 22+8=30
Exploring Operation: 97-26=71, Resulting Numbers: [22, 8, 71]
Generated Node #0,2: 29:[22, 8, 71] Operation: 97-26=71
Exploring Operation: 97-8=89, Resulting Numbers: [22, 26, 89]
Generated Node #0,3: 29:[22, 26, 89] Operation: 97-8=89
Exploring Operation: 97-22=75, Resulting Numbers: [26, 8, 75]
Generated Node #0,4: 29:[26, 8, 75] Operation: 97-22=75
Moving to Node #0,2
Current State: 29:[22, 8, 71], Operations: ['97-26=71']
Exploring Operation: 22-8=14, Resulting Numbers: [71, 14]
Generated Node #0,2,0: 29:[71, 14] Operation: 22-8=14
Exploring Operation: 22+8=30, Resulting Numbers: [71, 30]
Generated Node #0,2,1: 29:[71, 30] Operation: 22+8=30
Exploring Operation: 71-8=63, Resulting Numbers: [22, 63]
Generated Node #0,2,2: 29:[22, 63] Operation: 71-8=63
Exploring Operation: 8+71=79, Resulting Numbers: [22, 79]
Generated Node #0,2,3: 29:[22, 79] Operation: 8+71=79
Exploring Operation: 71-22=49, Resulting Numbers: [8, 49]
Generated Node #0,2,4: 29:[8, 49] Operation: 71-22=49
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 29:[22, 63], Operations: ['97-26=71', '71-8=63']
Exploring Operation: 22+63=85, Resulting Numbers: [85]
85,29 unequal: No Solution
Exploring Operation: 63-22=41, Resulting Numbers: [41]
41,29 unequal: No Solution
Exploring Operation: 22*63=1386, Resulting Numbers: [1386]
1386,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:[8, 49], Operations: ['97-26=71', '71-22=49']
Exploring Operation: 8+49=57, Resulting Numbers: [57]
57,29 unequal: No Solution
Exploring Operation: 49-8=41, Resulting Numbers: [41]
41,29 unequal: No Solution
Exploring Operation: 8*49=392, Resulting Numbers: [392]
392,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 29:[71, 30], Operations: ['97-26=71', '22+8=30']
Exploring Operation: 71*30=2130, Resulting Numbers: [2130]
2130,29 unequal: No Solution
Exploring Operation: 71+30=101, Resulting Numbers: [101]
101,29 unequal: No Solution
Exploring Operation: 71-30=41, Resulting Numbers: [41]
41,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:[71, 14], Operations: ['97-26=71', '22-8=14']
Exploring Operation: 71*14=994, Resulting Numbers: [994]
994,29 unequal: No Solution
Exploring Operation: 71+14=85, Resulting Numbers: [85]
85,29 unequal: No Solution
Exploring Operation: 71-14=57, Resulting Numbers: [57]
57,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:[22, 79], Operations: ['97-26=71', '8+71=79']
Exploring Operation: 22+79=101, Resulting Numbers: [101]
101,29 unequal: No Solution
Exploring Operation: 22*79=1738, Resulting Numbers: [1738]
1738,29 unequal: No Solution
Exploring Operation: 79-22=57, Resulting Numbers: [57]
57,29 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: 29:[26, 8, 75], Operations: ['97-22=75']
Exploring Operation: 75-26=49, Resulting Numbers: [8, 49]
Generated Node #0,4,0: 29:[8, 49] Operation: 75-26=49
Exploring Operation: 8+75=83, Resulting Numbers: [26, 83]
Generated Node #0,4,1: 29:[26, 83] Operation: 8+75=83
Exploring Operation: 75-8=67, Resulting Numbers: [26, 67]
Generated Node #0,4,2: 29:[26, 67] Operation: 75-8=67
Exploring Operation: 26-8=18, Resulting Numbers: [75, 18]
Generated Node #0,4,3: 29:[75, 18] Operation: 26-8=18
Exploring Operation: 26+8=34, Resulting Numbers: [75, 34]
Generated Node #0,4,4: 29:[75, 34] Operation: 26+8=34
Moving to Node #0,3
Current State: 29:[22, 26, 89], Operations: ['97-8=89']
Exploring Operation: 26-22=4, Resulting Numbers: [89, 4]
Generated Node #0,3,0: 29:[89, 4] Operation: 26-22=4
Exploring Operation: 22+89=111, Resulting Numbers: [26, 111]
Generated Node #0,3,1: 29:[26, 111] Operation: 22+89=111
Exploring Operation: 89-26=63, Resulting Numbers: [22, 63]
Generated Node #0,3,2: 29:[22, 63] Operation: 89-26=63
Exploring Operation: 89-22=67, Resulting Numbers: [26, 67]
Generated Node #0,3,3: 29:[26, 67] Operation: 89-22=67
Exploring Operation: 22+26=48, Resulting Numbers: [89, 48]
Generated Node #0,3,4: 29:[89, 48] Operation: 22+26=48
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 29:[22, 63], Operations: ['97-8=89', '89-26=63']
Exploring Operation: 63-22=41, Resulting Numbers: [41]
41,29 unequal: No Solution
Exploring Operation: 22*63=1386, Resulting Numbers: [1386]
1386,29 unequal: No Solution
Exploring Operation: 22+63=85, Resulting Numbers: [85]
85,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,3,3
Current State: 29:[26, 67], Operations: ['97-8=89', '89-22=67']
Exploring Operation: 26*67=1742, Resulting Numbers: [1742]
1742,29 unequal: No Solution
Exploring Operation: 26+67=93, Resulting Numbers: [93]
93,29 unequal: No Solution
Exploring Operation: 67-26=41, Resulting Numbers: [41]
41,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,3,4
Current State: 29:[89, 48], Operations: ['97-8=89', '22+26=48']
Exploring Operation: 89+48=137, Resulting Numbers: [137]
137,29 unequal: No Solution
Exploring Operation: 89*48=4272, Resulting Numbers: [4272]
4272,29 unequal: No Solution
Exploring Operation: 89-48=41, Resulting Numbers: [41]
41,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,3,0
Current State: 29:[89, 4], Operations: ['97-8=89', '26-22=4']
Exploring Operation: 89-4=85, Resulting Numbers: [85]
85,29 unequal: No Solution
Exploring Operation: 89*4=356, Resulting Numbers: [356]
356,29 unequal: No Solution
Exploring Operation: 89+4=93, Resulting Numbers: [93]
93,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,3,1
Current State: 29:[26, 111], Operations: ['97-8=89', '22+89=111']
Exploring Operation: 26*111=2886, Resulting Numbers: [2886]
2886,29 unequal: No Solution
Exploring Operation: 26+111=137, Resulting Numbers: [137]
137,29 unequal: No Solution
Exploring Operation: 111-26=85, Resulting Numbers: [85]
85,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 29:[97, 26, 30], Operations: ['22+8=30']
Exploring Operation: 97-26=71, Resulting Numbers: [30, 71]
Generated Node #0,1,0: 29:[30, 71] Operation: 97-26=71
Exploring Operation: 30-26=4, Resulting Numbers: [97, 4]
Generated Node #0,1,1: 29:[97, 4] Operation: 30-26=4
Exploring Operation: 97+26=123, Resulting Numbers: [30, 123]
Generated Node #0,1,2: 29:[30, 123] Operation: 97+26=123
Exploring Operation: 26+30=56, Resulting Numbers: [97, 56]
Generated Node #0,1,3: 29:[97, 56] Operation: 26+30=56
Exploring Operation: 97-30=67, Resulting Numbers: [26, 67]
Generated Node #0,1,4: 29:[26, 67] Operation: 97-30=67
Moving to Node #0,0
Current State: 29:[97, 22, 34], Operations: ['26+8=34']
Exploring Operation: 97-22=75, Resulting Numbers: [34, 75]
Generated Node #0,0,0: 29:[34, 75] Operation: 97-22=75
Exploring Operation: 97-34=63, Resulting Numbers: [22, 63]
Generated Node #0,0,1: 29:[22, 63] Operation: 97-34=63
Exploring Operation: 22+34=56, Resulting Numbers: [97, 56]
Generated Node #0,0,2: 29:[97, 56] Operation: 22+34=56
Exploring Operation: 34-22=12, Resulting Numbers: [97, 12]
Generated Node #0,0,3: 29:[97, 12] Operation: 34-22=12
Exploring Operation: 97+22=119, Resulting Numbers: [34, 119]
Generated Node #0,0,4: 29:[34, 119] Operation: 97+22=119
Moving to Node #0,4,0
Current State: 29:[8, 49], Operations: ['97-22=75', '75-26=49']
Exploring Operation: 49-8=41, Resulting Numbers: [41]
41,29 unequal: No Solution
Exploring Operation: 8*49=392, Resulting Numbers: [392]
392,29 unequal: No Solution
Exploring Operation: 8+49=57, Resulting Numbers: [57]
57,29 unequal: No Solution
Moving to Node #0,1,4
Current State: 29:[26, 67], Operations: ['22+8=30', '97-30=67']
Exploring Operation: 26*67=1742, Resulting Numbers: [1742]
1742,29 unequal: No Solution
Exploring Operation: 26+67=93, Resulting Numbers: [93]
93,29 unequal: No Solution
Exploring Operation: 67-26=41, Resulting Numbers: [41]
41,29 unequal: No Solution
Moving to Node #0,4,2
Current State: 29:[26, 67], Operations: ['97-22=75', '75-8=67']
Exploring Operation: 26*67=1742, Resulting Numbers: [1742]
1742,29 unequal: No Solution
Exploring Operation: 67-26=41, Resulting Numbers: [41]
41,29 unequal: No Solution
Exploring Operation: 26+67=93, Resulting Numbers: [93]
93,29 unequal: No Solution
Moving to Node #0,0,1
Current State: 29:[22, 63], Operations: ['26+8=34', '97-34=63']
Exploring Operation: 22*63=1386, Resulting Numbers: [1386]
1386,29 unequal: No Solution
Exploring Operation: 63-22=41, Resulting Numbers: [41]
41,29 unequal: No Solution
Exploring Operation: 22+63=85, Resulting Numbers: [85]
85,29 unequal: No Solution
Moving to Node #0,1,0
Current State: 29:[30, 71], Operations: ['22+8=30', '97-26=71']
Exploring Operation: 30+71=101, Resulting Numbers: [101]
101,29 unequal: No Solution
Exploring Operation: 71-30=41, Resulting Numbers: [41]
41,29 unequal: No Solution
Exploring Operation: 30*71=2130, Resulting Numbers: [2130]
2130,29 unequal: No Solution
Moving to Node #0,4,4
Current State: 29:[75, 34], Operations: ['97-22=75', '26+8=34']
Exploring Operation: 75-34=41, Resulting Numbers: [41]
41,29 unequal: No Solution
Exploring Operation: 75*34=2550, Resulting Numbers: [2550]
2550,29 unequal: No Solution
Exploring Operation: 75+34=109, Resulting Numbers: [109]
109,29 unequal: No Solution
Moving to Node #0,0,0
Current State: 29:[34, 75], Operations: ['26+8=34', '97-22=75']
Exploring Operation: 75-34=41, Resulting Numbers: [41]
41,29 unequal: No Solution
Exploring Operation: 34*75=2550, Resulting Numbers: [2550]
2550,29 unequal: No Solution
Exploring Operation: 34+75=109, Resulting Numbers: [109]
109,29 unequal: No Solution
Moving to Node #0,4,3
Current State: 29:[75, 18], Operations: ['97-22=75', '26-8=18']
Exploring Operation: 75*18=1350, Resulting Numbers: [1350]
1350,29 unequal: No Solution
Exploring Operation: 75-18=57, Resulting Numbers: [57]
57,29 unequal: No Solution
Exploring Operation: 75+18=93, Resulting Numbers: [93]
93,29 unequal: No Solution
Moving to Node #0,4,1
Current State: 29:[26, 83], Operations: ['97-22=75', '8+75=83']
Exploring Operation: 26+83=109, Resulting Numbers: [109]
109,29 unequal: No Solution
Exploring Operation: 83-26=57, Resulting Numbers: [57]
57,29 unequal: No Solution
Exploring Operation: 26*83=2158, Resulting Numbers: [2158]
2158,29 unequal: No Solution
Moving to Node #0,0,3
Current State: 29:[97, 12], Operations: ['26+8=34', '34-22=12']
Exploring Operation: 97*12=1164, Resulting Numbers: [1164]
1164,29 unequal: No Solution
Exploring Operation: 97+12=109, Resulting Numbers: [109]
109,29 unequal: No Solution
Exploring Operation: 97-12=85, Resulting Numbers: [85]
85,29 unequal: No Solution
Moving to Node #0,1,1
Current State: 29:[97, 4], Operations: ['22+8=30', '30-26=4']
Exploring Operation: 97-4=93, Resulting Numbers: [93]
93,29 unequal: No Solution
Exploring Operation: 97*4=388, Resulting Numbers: [388]
388,29 unequal: No Solution
Exploring Operation: 97+4=101, Resulting Numbers: [101]
101,29 unequal: No Solution
Moving to Node #0,0,2
Current State: 29:[97, 56], Operations: ['26+8=34', '22+34=56']
Exploring Operation: 97*56=5432, Resulting Numbers: [5432]
5432,29 unequal: No Solution
Exploring Operation: 97+56=153, Resulting Numbers: [153]
153,29 unequal: No Solution
Exploring Operation: 97-56=41, Resulting Numbers: [41]
41,29 unequal: No Solution
Moving to Node #0,0,4
Current State: 29:[34, 119], Operations: ['26+8=34', '97+22=119']
Exploring Operation: 119-34=85, Resulting Numbers: [85]
85,29 unequal: No Solution
Exploring Operation: 34+119=153, Resulting Numbers: [153]
153,29 unequal: No Solution
Exploring Operation: 34*119=4046, Resulting Numbers: [4046]
4046,29 unequal: No Solution
Moving to Node #0,1,2
Current State: 29:[30, 123], Operations: ['22+8=30', '97+26=123']
Exploring Operation: 30*123=3690, Resulting Numbers: [3690]
3690,29 unequal: No Solution
Exploring Operation: 123-30=93, Resulting Numbers: [93]
93,29 unequal: No Solution
Exploring Operation: 30+123=153, Resulting Numbers: [153]
153,29 unequal: No Solution
Moving to Node #0,1,3
Current State: 29:[97, 56], Operations: ['22+8=30', '26+30=56']
Exploring Operation: 97*56=5432, Resulting Numbers: [5432]
5432,29 unequal: No Solution
Exploring Operation: 97-56=41, Resulting Numbers: [41]
41,29 unequal: No Solution
Exploring Operation: 97+56=153, Resulting Numbers: [153]
153,29 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
7,
98,
56,
16
] | 58 | [
"98/7=14",
"56+16=72",
"72-14=58"
] | Current State: 58:[7, 98, 56, 16], Operations: []
Exploring Operation: 98/7=14, Resulting Numbers: [56, 16, 14]
Generated Node #2: [56, 16, 14] from Operation: 98/7=14
Current State: 58:[56, 16, 14], Operations: ['98/7=14']
Exploring Operation: 56+16=72, Resulting Numbers: [14, 72]
Generated Node #3: [14, 72] from Operation: 56+16=72
Current State: 58:[14, 72], Operations: ['98/7=14', '56+16=72']
Exploring Operation: 72-14=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[7, 98, 56, 16], Operations: []
Exploring Operation: 98-16=82, Resulting Numbers: [7, 56, 82]
Generated Node #0,0: 58:[7, 56, 82] Operation: 98-16=82
Exploring Operation: 98-56=42, Resulting Numbers: [7, 16, 42]
Generated Node #0,1: 58:[7, 16, 42] Operation: 98-56=42
Exploring Operation: 7+16=23, Resulting Numbers: [98, 56, 23]
Generated Node #0,2: 58:[98, 56, 23] Operation: 7+16=23
Exploring Operation: 98/7=14, Resulting Numbers: [56, 16, 14]
Generated Node #0,3: 58:[56, 16, 14] Operation: 98/7=14
Exploring Operation: 98-7=91, Resulting Numbers: [56, 16, 91]
Generated Node #0,4: 58:[56, 16, 91] Operation: 98-7=91
Moving to Node #0,3
Current State: 58:[56, 16, 14], Operations: ['98/7=14']
Exploring Operation: 56-16=40, Resulting Numbers: [14, 40]
Generated Node #0,3,0: 58:[14, 40] Operation: 56-16=40
Exploring Operation: 16-14=2, Resulting Numbers: [56, 2]
Generated Node #0,3,1: 58:[56, 2] Operation: 16-14=2
Exploring Operation: 56+14=70, Resulting Numbers: [16, 70]
Generated Node #0,3,2: 58:[16, 70] Operation: 56+14=70
Exploring Operation: 56/14=4, Resulting Numbers: [16, 4]
Generated Node #0,3,3: 58:[16, 4] Operation: 56/14=4
Exploring Operation: 16+14=30, Resulting Numbers: [56, 30]
Generated Node #0,3,4: 58:[56, 30] Operation: 16+14=30
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 58:[56, 2], Operations: ['98/7=14', '16-14=2']
Exploring Operation: 56/2=28, Resulting Numbers: [28]
28,58 unequal: No Solution
Exploring Operation: 56+2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Moving to Node #0
Current State: 58:[7, 98, 56, 16], Operations: []
Exploring Operation: 98/7=14, Resulting Numbers: [56, 16, 14]
Generated Node #0,3: 58:[56, 16, 14] Operation: 98/7=14
Moving to Node #0,3
Current State: 58:[56, 16, 14], Operations: ['98/7=14']
Exploring Operation: 16-14=2, Resulting Numbers: [56, 2]
Generated Node #0,3,1: 58:[56, 2] Operation: 16-14=2
Moving to Node #0,3,1
Current State: 58:[56, 2], Operations: ['98/7=14', '16-14=2']
Exploring Operation: 56+2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
14,
13,
95,
29
] | 66 | [
"14-13=1",
"95-29=66",
"1*66=66"
] | Current State: 66:[14, 13, 95, 29], Operations: []
Exploring Operation: 14-13=1, Resulting Numbers: [95, 29, 1]
Generated Node #2: [95, 29, 1] from Operation: 14-13=1
Current State: 66:[95, 29, 1], Operations: ['14-13=1']
Exploring Operation: 95-29=66, Resulting Numbers: [1, 66]
Generated Node #3: [1, 66] from Operation: 95-29=66
Current State: 66:[1, 66], Operations: ['14-13=1', '95-29=66']
Exploring Operation: 1*66=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[14, 13, 95, 29], Operations: []
Exploring Operation: 95-14=81, Resulting Numbers: [13, 29, 81]
Generated Node #0,0: 66:[13, 29, 81] Operation: 95-14=81
Exploring Operation: 95-13=82, Resulting Numbers: [14, 29, 82]
Generated Node #0,1: 66:[14, 29, 82] Operation: 95-13=82
Exploring Operation: 95-29=66, Resulting Numbers: [14, 13, 66]
Generated Node #0,2: 66:[14, 13, 66] Operation: 95-29=66
Exploring Operation: 14-13=1, Resulting Numbers: [95, 29, 1]
Generated Node #0,3: 66:[95, 29, 1] Operation: 14-13=1
Moving to Node #0,2
Current State: 66:[14, 13, 66], Operations: ['95-29=66']
Exploring Operation: 14-13=1, Resulting Numbers: [66, 1]
Generated Node #0,2,0: 66:[66, 1] Operation: 14-13=1
Exploring Operation: 14+13=27, Resulting Numbers: [66, 27]
Generated Node #0,2,1: 66:[66, 27] Operation: 14+13=27
Exploring Operation: 14+66=80, Resulting Numbers: [13, 80]
Generated Node #0,2,2: 66:[13, 80] Operation: 14+66=80
Exploring Operation: 66-14=52, Resulting Numbers: [13, 52]
Generated Node #0,2,3: 66:[13, 52] Operation: 66-14=52
Moving to Node #0,0
Current State: 66:[13, 29, 81], Operations: ['95-14=81']
Exploring Operation: 13+29=42, Resulting Numbers: [81, 42]
Generated Node #0,0,0: 66:[81, 42] Operation: 13+29=42
Exploring Operation: 81-29=52, Resulting Numbers: [13, 52]
Generated Node #0,0,1: 66:[13, 52] Operation: 81-29=52
Exploring Operation: 81-13=68, Resulting Numbers: [29, 68]
Generated Node #0,0,2: 66:[29, 68] Operation: 81-13=68
Exploring Operation: 29-13=16, Resulting Numbers: [81, 16]
Generated Node #0,0,3: 66:[81, 16] Operation: 29-13=16
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 66:[29, 68], Operations: ['95-14=81', '81-13=68']
Exploring Operation: 29*68=1972, Resulting Numbers: [1972]
1972,66 unequal: No Solution
Exploring Operation: 68-29=39, Resulting Numbers: [39]
39,66 unequal: No Solution
Exploring Operation: 29+68=97, Resulting Numbers: [97]
97,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 66:[13, 52], Operations: ['95-14=81', '81-29=52']
Exploring Operation: 13*52=676, Resulting Numbers: [676]
676,66 unequal: No Solution
Exploring Operation: 52-13=39, Resulting Numbers: [39]
39,66 unequal: No Solution
Exploring Operation: 52/13=4, Resulting Numbers: [4]
4,66 unequal: No Solution
Exploring Operation: 13+52=65, Resulting Numbers: [65]
65,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 66:[81, 16], Operations: ['95-14=81', '29-13=16']
Exploring Operation: 81-16=65, Resulting Numbers: [65]
65,66 unequal: No Solution
Exploring Operation: 81+16=97, Resulting Numbers: [97]
97,66 unequal: No Solution
Exploring Operation: 81*16=1296, Resulting Numbers: [1296]
1296,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[81, 42], Operations: ['95-14=81', '13+29=42']
Exploring Operation: 81*42=3402, Resulting Numbers: [3402]
3402,66 unequal: No Solution
Exploring Operation: 81-42=39, Resulting Numbers: [39]
39,66 unequal: No Solution
Exploring Operation: 81+42=123, Resulting Numbers: [123]
123,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 66:[14, 29, 82], Operations: ['95-13=82']
Exploring Operation: 14+29=43, Resulting Numbers: [82, 43]
Generated Node #0,1,0: 66:[82, 43] Operation: 14+29=43
Exploring Operation: 82-14=68, Resulting Numbers: [29, 68]
Generated Node #0,1,1: 66:[29, 68] Operation: 82-14=68
Exploring Operation: 82-29=53, Resulting Numbers: [14, 53]
Generated Node #0,1,2: 66:[14, 53] Operation: 82-29=53
Exploring Operation: 29-14=15, Resulting Numbers: [82, 15]
Generated Node #0,1,3: 66:[82, 15] Operation: 29-14=15
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 66:[29, 68], Operations: ['95-13=82', '82-14=68']
Exploring Operation: 29+68=97, Resulting Numbers: [97]
97,66 unequal: No Solution
Exploring Operation: 68-29=39, Resulting Numbers: [39]
39,66 unequal: No Solution
Exploring Operation: 29*68=1972, Resulting Numbers: [1972]
1972,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 66:[14, 53], Operations: ['95-13=82', '82-29=53']
Exploring Operation: 14*53=742, Resulting Numbers: [742]
742,66 unequal: No Solution
Exploring Operation: 14+53=67, Resulting Numbers: [67]
67,66 unequal: No Solution
Exploring Operation: 53-14=39, Resulting Numbers: [39]
39,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 66:[82, 15], Operations: ['95-13=82', '29-14=15']
Exploring Operation: 82-15=67, Resulting Numbers: [67]
67,66 unequal: No Solution
Exploring Operation: 82*15=1230, Resulting Numbers: [1230]
1230,66 unequal: No Solution
Exploring Operation: 82+15=97, Resulting Numbers: [97]
97,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 66:[82, 43], Operations: ['95-13=82', '14+29=43']
Exploring Operation: 82-43=39, Resulting Numbers: [39]
39,66 unequal: No Solution
Exploring Operation: 82+43=125, Resulting Numbers: [125]
125,66 unequal: No Solution
Exploring Operation: 82*43=3526, Resulting Numbers: [3526]
3526,66 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: 66:[95, 29, 1], Operations: ['14-13=1']
Exploring Operation: 29+1=30, Resulting Numbers: [95, 30]
Generated Node #0,3,0: 66:[95, 30] Operation: 29+1=30
Exploring Operation: 95-29=66, Resulting Numbers: [1, 66]
Generated Node #0,3,1: 66:[1, 66] Operation: 95-29=66
Exploring Operation: 95*1=95, Resulting Numbers: [29, 95]
Generated Node #0,3,2: 66:[29, 95] Operation: 95*1=95
Exploring Operation: 95-1=94, Resulting Numbers: [29, 94]
Generated Node #0,3,3: 66:[29, 94] Operation: 95-1=94
Moving to Node #0,2,0
Current State: 66:[66, 1], Operations: ['95-29=66', '14-13=1']
Exploring Operation: 66/1=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[14, 13, 95, 29], Operations: []
Exploring Operation: 95-29=66, Resulting Numbers: [14, 13, 66]
Generated Node #0,2: 66:[14, 13, 66] Operation: 95-29=66
Moving to Node #0,2
Current State: 66:[14, 13, 66], Operations: ['95-29=66']
Exploring Operation: 14-13=1, Resulting Numbers: [66, 1]
Generated Node #0,2,0: 66:[66, 1] Operation: 14-13=1
Moving to Node #0,2,0
Current State: 66:[66, 1], Operations: ['95-29=66', '14-13=1']
Exploring Operation: 66/1=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 0.956597 | hs_4 | mult_heuristic |
[
88,
21,
59,
69
] | 57 | [
"88-21=67",
"69-59=10",
"67-10=57"
] | Current State: 57:[88, 21, 59, 69], Operations: []
Exploring Operation: 88-21=67, Resulting Numbers: [59, 69, 67]
Generated Node #2: [59, 69, 67] from Operation: 88-21=67
Current State: 57:[59, 69, 67], Operations: ['88-21=67']
Exploring Operation: 69-59=10, Resulting Numbers: [67, 10]
Generated Node #3: [67, 10] from Operation: 69-59=10
Current State: 57:[67, 10], Operations: ['88-21=67', '69-59=10']
Exploring Operation: 67-10=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[88, 21, 59, 69], Operations: []
Exploring Operation: 88-21=67, Resulting Numbers: [59, 69, 67]
Generated Node #0,0: 57:[59, 69, 67] Operation: 88-21=67
Exploring Operation: 88-69=19, Resulting Numbers: [21, 59, 19]
Generated Node #0,1: 57:[21, 59, 19] Operation: 88-69=19
Moving to Node #0,1
Current State: 57:[21, 59, 19], Operations: ['88-69=19']
Exploring Operation: 59-21=38, Resulting Numbers: [19, 38]
Generated Node #0,1,0: 57:[19, 38] Operation: 59-21=38
Exploring Operation: 21-19=2, Resulting Numbers: [59, 2]
Generated Node #0,1,1: 57:[59, 2] Operation: 21-19=2
Moving to Node #0,0
Current State: 57:[59, 69, 67], Operations: ['88-21=67']
Exploring Operation: 69-67=2, Resulting Numbers: [59, 2]
Generated Node #0,0,0: 57:[59, 2] Operation: 69-67=2
Exploring Operation: 69-59=10, Resulting Numbers: [67, 10]
Generated Node #0,0,1: 57:[67, 10] Operation: 69-59=10
Moving to Node #0,1,1
Current State: 57:[59, 2], Operations: ['88-69=19', '21-19=2']
Exploring Operation: 59+2=61, Resulting Numbers: [61]
61,57 unequal: No Solution
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[88, 21, 59, 69], Operations: []
Exploring Operation: 88-69=19, Resulting Numbers: [21, 59, 19]
Generated Node #0,1: 57:[21, 59, 19] Operation: 88-69=19
Moving to Node #0,1
Current State: 57:[21, 59, 19], Operations: ['88-69=19']
Exploring Operation: 21-19=2, Resulting Numbers: [59, 2]
Generated Node #0,1,1: 57:[59, 2] Operation: 21-19=2
Moving to Node #0,1,1
Current State: 57:[59, 2], Operations: ['88-69=19', '21-19=2']
Exploring Operation: 59-2=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 0.989583 | hs_2 | mult_heuristic |
[
10,
19,
97,
60
] | 66 | [
"10+19=29",
"97-60=37",
"29+37=66"
] | Current State: 66:[10, 19, 97, 60], Operations: []
Exploring Operation: 10+19=29, Resulting Numbers: [97, 60, 29]
Generated Node #2: [97, 60, 29] from Operation: 10+19=29
Current State: 66:[97, 60, 29], Operations: ['10+19=29']
Exploring Operation: 97-60=37, Resulting Numbers: [29, 37]
Generated Node #3: [29, 37] from Operation: 97-60=37
Current State: 66:[29, 37], Operations: ['10+19=29', '97-60=37']
Exploring Operation: 29+37=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[10, 19, 97, 60], Operations: []
Exploring Operation: 97-19=78, Resulting Numbers: [10, 60, 78]
Generated Node #0,0: 66:[10, 60, 78] Operation: 97-19=78
Exploring Operation: 97-60=37, Resulting Numbers: [10, 19, 37]
Generated Node #0,1: 66:[10, 19, 37] Operation: 97-60=37
Exploring Operation: 97-10=87, Resulting Numbers: [19, 60, 87]
Generated Node #0,2: 66:[19, 60, 87] Operation: 97-10=87
Exploring Operation: 10+60=70, Resulting Numbers: [19, 97, 70]
Generated Node #0,3: 66:[19, 97, 70] Operation: 10+60=70
Exploring Operation: 60/10=6, Resulting Numbers: [19, 97, 6]
Generated Node #0,4: 66:[19, 97, 6] Operation: 60/10=6
Moving to Node #0,1
Current State: 66:[10, 19, 37], Operations: ['97-60=37']
Exploring Operation: 10+19=29, Resulting Numbers: [37, 29]
Generated Node #0,1,0: 66:[37, 29] Operation: 10+19=29
Exploring Operation: 37-10=27, Resulting Numbers: [19, 27]
Generated Node #0,1,1: 66:[19, 27] Operation: 37-10=27
Exploring Operation: 37-19=18, Resulting Numbers: [10, 18]
Generated Node #0,1,2: 66:[10, 18] Operation: 37-19=18
Exploring Operation: 19+37=56, Resulting Numbers: [10, 56]
Generated Node #0,1,3: 66:[10, 56] Operation: 19+37=56
Exploring Operation: 19-10=9, Resulting Numbers: [37, 9]
Generated Node #0,1,4: 66:[37, 9] Operation: 19-10=9
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 66:[10, 18], Operations: ['97-60=37', '37-19=18']
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,66 unequal: No Solution
Exploring Operation: 10*18=180, Resulting Numbers: [180]
180,66 unequal: No Solution
Exploring Operation: 10+18=28, Resulting Numbers: [28]
28,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 66:[37, 9], Operations: ['97-60=37', '19-10=9']
Exploring Operation: 37*9=333, Resulting Numbers: [333]
333,66 unequal: No Solution
Exploring Operation: 37+9=46, Resulting Numbers: [46]
46,66 unequal: No Solution
Exploring Operation: 37-9=28, Resulting Numbers: [28]
28,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 66:[37, 29], Operations: ['97-60=37', '10+19=29']
Exploring Operation: 37-29=8, Resulting Numbers: [8]
8,66 unequal: No Solution
Exploring Operation: 37+29=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[10, 19, 97, 60], Operations: []
Exploring Operation: 97-60=37, Resulting Numbers: [10, 19, 37]
Generated Node #0,1: 66:[10, 19, 37] Operation: 97-60=37
Moving to Node #0,1
Current State: 66:[10, 19, 37], Operations: ['97-60=37']
Exploring Operation: 10+19=29, Resulting Numbers: [37, 29]
Generated Node #0,1,0: 66:[37, 29] Operation: 10+19=29
Moving to Node #0,1,0
Current State: 66:[37, 29], Operations: ['97-60=37', '10+19=29']
Exploring Operation: 37+29=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | sum_heuristic |
[
21,
54,
92,
3
] | 51 | [
"21+54=75",
"92-75=17",
"3*17=51"
] | Current State: 51:[21, 54, 92, 3], Operations: []
Exploring Operation: 21+54=75, Resulting Numbers: [92, 3, 75]
Generated Node #2: [92, 3, 75] from Operation: 21+54=75
Current State: 51:[92, 3, 75], Operations: ['21+54=75']
Exploring Operation: 92-75=17, Resulting Numbers: [3, 17]
Generated Node #3: [3, 17] from Operation: 92-75=17
Current State: 51:[3, 17], Operations: ['21+54=75', '92-75=17']
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[21, 54, 92, 3], Operations: []
Exploring Operation: 21-3=18, Resulting Numbers: [54, 92, 18]
Generated Node #0,0: 51:[54, 92, 18] Operation: 21-3=18
Exploring Operation: 92-3=89, Resulting Numbers: [21, 54, 89]
Generated Node #0,1: 51:[21, 54, 89] Operation: 92-3=89
Exploring Operation: 54-3=51, Resulting Numbers: [21, 92, 51]
Generated Node #0,2: 51:[21, 92, 51] Operation: 54-3=51
Exploring Operation: 92-54=38, Resulting Numbers: [21, 3, 38]
Generated Node #0,3: 51:[21, 3, 38] Operation: 92-54=38
Exploring Operation: 92-21=71, Resulting Numbers: [54, 3, 71]
Generated Node #0,4: 51:[54, 3, 71] Operation: 92-21=71
Start Sub Search at level 1: Moving to Node #0,3
Current State: 51:[21, 3, 38], Operations: ['92-54=38']
Exploring Operation: 38-21=17, Resulting Numbers: [3, 17]
Generated Node #0,3,0: 51:[3, 17] Operation: 38-21=17
Exploring Operation: 21/3=7, Resulting Numbers: [38, 7]
Generated Node #0,3,1: 51:[38, 7] Operation: 21/3=7
Exploring Operation: 21-3=18, Resulting Numbers: [38, 18]
Generated Node #0,3,2: 51:[38, 18] Operation: 21-3=18
Exploring Operation: 21+38=59, Resulting Numbers: [3, 59]
Generated Node #0,3,3: 51:[3, 59] Operation: 21+38=59
Exploring Operation: 3+38=41, Resulting Numbers: [21, 41]
Generated Node #0,3,4: 51:[21, 41] Operation: 3+38=41
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 51:[3, 17], Operations: ['92-54=38', '38-21=17']
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[21, 54, 92, 3], Operations: []
Exploring Operation: 92-54=38, Resulting Numbers: [21, 3, 38]
Generated Node #0,3: 51:[21, 3, 38] Operation: 92-54=38
Moving to Node #0,3
Current State: 51:[21, 3, 38], Operations: ['92-54=38']
Exploring Operation: 38-21=17, Resulting Numbers: [3, 17]
Generated Node #0,3,0: 51:[3, 17] Operation: 38-21=17
Moving to Node #0,3,0
Current State: 51:[3, 17], Operations: ['92-54=38', '38-21=17']
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
14,
11,
69,
24
] | 47 | [
"14-11=3",
"69/3=23",
"24+23=47"
] | Current State: 47:[14, 11, 69, 24], Operations: []
Exploring Operation: 14-11=3, Resulting Numbers: [69, 24, 3]
Generated Node #2: [69, 24, 3] from Operation: 14-11=3
Current State: 47:[69, 24, 3], Operations: ['14-11=3']
Exploring Operation: 69/3=23, Resulting Numbers: [24, 23]
Generated Node #3: [24, 23] from Operation: 69/3=23
Current State: 47:[24, 23], Operations: ['14-11=3', '69/3=23']
Exploring Operation: 24+23=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[14, 11, 69, 24], Operations: []
Exploring Operation: 14+11=25, Resulting Numbers: [69, 24, 25]
Generated Node #0,0: 47:[69, 24, 25] Operation: 14+11=25
Exploring Operation: 14+24=38, Resulting Numbers: [11, 69, 38]
Generated Node #0,1: 47:[11, 69, 38] Operation: 14+24=38
Exploring Operation: 69-14=55, Resulting Numbers: [11, 24, 55]
Generated Node #0,2: 47:[11, 24, 55] Operation: 69-14=55
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[69, 24, 25], Operations: ['14+11=25']
Exploring Operation: 69-25=44, Resulting Numbers: [24, 44]
Generated Node #0,0,0: 47:[24, 44] Operation: 69-25=44
Exploring Operation: 69-24=45, Resulting Numbers: [25, 45]
Generated Node #0,0,1: 47:[25, 45] Operation: 69-24=45
Exploring Operation: 24+25=49, Resulting Numbers: [69, 49]
Generated Node #0,0,2: 47:[69, 49] Operation: 24+25=49
Moving to Node #0,0,1
Current State: 47:[25, 45], Operations: ['14+11=25', '69-24=45']
Exploring Operation: 45-25=20, Resulting Numbers: [20]
20,47 unequal: No Solution
Exploring Operation: 25+45=70, Resulting Numbers: [70]
70,47 unequal: No Solution
Exploring Operation: 25*45=1125, Resulting Numbers: [1125]
1125,47 unequal: No Solution
Moving to Node #0,0,2
Current State: 47:[69, 49], Operations: ['14+11=25', '24+25=49']
Exploring Operation: 69+49=118, Resulting Numbers: [118]
118,47 unequal: No Solution
Exploring Operation: 69-49=20, Resulting Numbers: [20]
20,47 unequal: No Solution
Exploring Operation: 69*49=3381, Resulting Numbers: [3381]
3381,47 unequal: No Solution
Moving to Node #0,0,0
Current State: 47:[24, 44], Operations: ['14+11=25', '69-25=44']
Exploring Operation: 24+44=68, Resulting Numbers: [68]
68,47 unequal: No Solution
Exploring Operation: 24*44=1056, Resulting Numbers: [1056]
1056,47 unequal: No Solution
Exploring Operation: 44-24=20, Resulting Numbers: [20]
20,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[11, 69, 38], Operations: ['14+24=38']
Exploring Operation: 11+69=80, Resulting Numbers: [38, 80]
Generated Node #0,1,0: 47:[38, 80] Operation: 11+69=80
Exploring Operation: 69-11=58, Resulting Numbers: [38, 58]
Generated Node #0,1,1: 47:[38, 58] Operation: 69-11=58
Exploring Operation: 11+38=49, Resulting Numbers: [69, 49]
Generated Node #0,1,2: 47:[69, 49] Operation: 11+38=49
Moving to Node #0,1,1
Current State: 47:[38, 58], Operations: ['14+24=38', '69-11=58']
Exploring Operation: 38*58=2204, Resulting Numbers: [2204]
2204,47 unequal: No Solution
Exploring Operation: 38+58=96, Resulting Numbers: [96]
96,47 unequal: No Solution
Exploring Operation: 58-38=20, Resulting Numbers: [20]
20,47 unequal: No Solution
Moving to Node #0,1,2
Current State: 47:[69, 49], Operations: ['14+24=38', '11+38=49']
Exploring Operation: 69*49=3381, Resulting Numbers: [3381]
3381,47 unequal: No Solution
Exploring Operation: 69+49=118, Resulting Numbers: [118]
118,47 unequal: No Solution
Exploring Operation: 69-49=20, Resulting Numbers: [20]
20,47 unequal: No Solution
Moving to Node #0,1,0
Current State: 47:[38, 80], Operations: ['14+24=38', '11+69=80']
Exploring Operation: 38+80=118, Resulting Numbers: [118]
118,47 unequal: No Solution
Exploring Operation: 38*80=3040, Resulting Numbers: [3040]
3040,47 unequal: No Solution
Exploring Operation: 80-38=42, Resulting Numbers: [42]
42,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 47:[11, 24, 55], Operations: ['69-14=55']
Exploring Operation: 24-11=13, Resulting Numbers: [55, 13]
Generated Node #0,2,0: 47:[55, 13] Operation: 24-11=13
Exploring Operation: 11+24=35, Resulting Numbers: [55, 35]
Generated Node #0,2,1: 47:[55, 35] Operation: 11+24=35
Exploring Operation: 55-11=44, Resulting Numbers: [24, 44]
Generated Node #0,2,2: 47:[24, 44] Operation: 55-11=44
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 47:[55, 35], Operations: ['69-14=55', '11+24=35']
Exploring Operation: 55-35=20, Resulting Numbers: [20]
20,47 unequal: No Solution
Exploring Operation: 55+35=90, Resulting Numbers: [90]
90,47 unequal: No Solution
Exploring Operation: 55*35=1925, Resulting Numbers: [1925]
1925,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,2,2
Current State: 47:[24, 44], Operations: ['69-14=55', '55-11=44']
Exploring Operation: 24*44=1056, Resulting Numbers: [1056]
1056,47 unequal: No Solution
Exploring Operation: 24+44=68, Resulting Numbers: [68]
68,47 unequal: No Solution
Exploring Operation: 44-24=20, Resulting Numbers: [20]
20,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,2,0
Current State: 47:[55, 13], Operations: ['69-14=55', '24-11=13']
Exploring Operation: 55*13=715, Resulting Numbers: [715]
715,47 unequal: No Solution
Exploring Operation: 55-13=42, Resulting Numbers: [42]
42,47 unequal: No Solution
Exploring Operation: 55+13=68, Resulting Numbers: [68]
68,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
No solution found.
| 0 | hs_3 | mult_heuristic |
[
44,
35,
83,
12
] | 16 | [
"44+35=79",
"83+12=95",
"95-79=16"
] | Current State: 16:[44, 35, 83, 12], Operations: []
Exploring Operation: 44+35=79, Resulting Numbers: [83, 12, 79]
Generated Node #2: [83, 12, 79] from Operation: 44+35=79
Current State: 16:[83, 12, 79], Operations: ['44+35=79']
Exploring Operation: 83+12=95, Resulting Numbers: [79, 95]
Generated Node #3: [79, 95] from Operation: 83+12=95
Current State: 16:[79, 95], Operations: ['44+35=79', '83+12=95']
Exploring Operation: 95-79=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[44, 35, 83, 12], Operations: []
Exploring Operation: 83-44=39, Resulting Numbers: [35, 12, 39]
Generated Node #0,0: 16:[35, 12, 39] Operation: 83-44=39
Exploring Operation: 83-35=48, Resulting Numbers: [44, 12, 48]
Generated Node #0,1: 16:[44, 12, 48] Operation: 83-35=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[35, 12, 39], Operations: ['83-44=39']
Exploring Operation: 39-35=4, Resulting Numbers: [12, 4]
Generated Node #0,0,0: 16:[12, 4] Operation: 39-35=4
Exploring Operation: 35-12=23, Resulting Numbers: [39, 23]
Generated Node #0,0,1: 16:[39, 23] Operation: 35-12=23
Moving to Node #0,0,0
Current State: 16:[12, 4], Operations: ['83-44=39', '39-35=4']
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,16 unequal: No Solution
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Moving to Node #0
Current State: 16:[44, 35, 83, 12], Operations: []
Exploring Operation: 83-44=39, Resulting Numbers: [35, 12, 39]
Generated Node #0,0: 16:[35, 12, 39] Operation: 83-44=39
Moving to Node #0,0
Current State: 16:[35, 12, 39], Operations: ['83-44=39']
Exploring Operation: 39-35=4, Resulting Numbers: [12, 4]
Generated Node #0,0,0: 16:[12, 4] Operation: 39-35=4
Moving to Node #0,0,0
Current State: 16:[12, 4], Operations: ['83-44=39', '39-35=4']
Exploring Operation: 12+4=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
8,
90,
84,
34
] | 17 | [
"90-8=82",
"84-82=2",
"34/2=17"
] | Current State: 17:[8, 90, 84, 34], Operations: []
Exploring Operation: 90-8=82, Resulting Numbers: [84, 34, 82]
Generated Node #2: [84, 34, 82] from Operation: 90-8=82
Current State: 17:[84, 34, 82], Operations: ['90-8=82']
Exploring Operation: 84-82=2, Resulting Numbers: [34, 2]
Generated Node #3: [34, 2] from Operation: 84-82=2
Current State: 17:[34, 2], Operations: ['90-8=82', '84-82=2']
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[8, 90, 84, 34], Operations: []
Exploring Operation: 90-34=56, Resulting Numbers: [8, 84, 56]
Generated Node #0,0: 17:[8, 84, 56] Operation: 90-34=56
Exploring Operation: 84-34=50, Resulting Numbers: [8, 90, 50]
Generated Node #0,1: 17:[8, 90, 50] Operation: 84-34=50
Exploring Operation: 90-84=6, Resulting Numbers: [8, 34, 6]
Generated Node #0,2: 17:[8, 34, 6] Operation: 90-84=6
Start Sub Search at level 1: Moving to Node #0,2
Current State: 17:[8, 34, 6], Operations: ['90-84=6']
Exploring Operation: 34-6=28, Resulting Numbers: [8, 28]
Generated Node #0,2,0: 17:[8, 28] Operation: 34-6=28
Exploring Operation: 8+6=14, Resulting Numbers: [34, 14]
Generated Node #0,2,1: 17:[34, 14] Operation: 8+6=14
Exploring Operation: 34-8=26, Resulting Numbers: [6, 26]
Generated Node #0,2,2: 17:[6, 26] Operation: 34-8=26
Moving to Node #0,2,0
Current State: 17:[8, 28], Operations: ['90-84=6', '34-6=28']
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,17 unequal: No Solution
Exploring Operation: 8*28=224, Resulting Numbers: [224]
224,17 unequal: No Solution
Exploring Operation: 8+28=36, Resulting Numbers: [36]
36,17 unequal: No Solution
Moving to Node #0,2,1
Current State: 17:[34, 14], Operations: ['90-84=6', '8+6=14']
Exploring Operation: 34+14=48, Resulting Numbers: [48]
48,17 unequal: No Solution
Exploring Operation: 34*14=476, Resulting Numbers: [476]
476,17 unequal: No Solution
Exploring Operation: 34-14=20, Resulting Numbers: [20]
20,17 unequal: No Solution
Moving to Node #0,2,2
Current State: 17:[6, 26], Operations: ['90-84=6', '34-8=26']
Exploring Operation: 6*26=156, Resulting Numbers: [156]
156,17 unequal: No Solution
Exploring Operation: 6+26=32, Resulting Numbers: [32]
32,17 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[8, 84, 56], Operations: ['90-34=56']
Exploring Operation: 84-8=76, Resulting Numbers: [56, 76]
Generated Node #0,0,0: 17:[56, 76] Operation: 84-8=76
Exploring Operation: 84-56=28, Resulting Numbers: [8, 28]
Generated Node #0,0,1: 17:[8, 28] Operation: 84-56=28
Exploring Operation: 56/8=7, Resulting Numbers: [84, 7]
Generated Node #0,0,2: 17:[84, 7] Operation: 56/8=7
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 17:[8, 28], Operations: ['90-34=56', '84-56=28']
Exploring Operation: 8*28=224, Resulting Numbers: [224]
224,17 unequal: No Solution
Exploring Operation: 8+28=36, Resulting Numbers: [36]
36,17 unequal: No Solution
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 17:[84, 7], Operations: ['90-34=56', '56/8=7']
Exploring Operation: 84/7=12, Resulting Numbers: [12]
12,17 unequal: No Solution
Exploring Operation: 84+7=91, Resulting Numbers: [91]
91,17 unequal: No Solution
Exploring Operation: 84-7=77, Resulting Numbers: [77]
77,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 17:[56, 76], Operations: ['90-34=56', '84-8=76']
Exploring Operation: 56+76=132, Resulting Numbers: [132]
132,17 unequal: No Solution
Exploring Operation: 76-56=20, Resulting Numbers: [20]
20,17 unequal: No Solution
Exploring Operation: 56*76=4256, Resulting Numbers: [4256]
4256,17 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 17:[8, 90, 50], Operations: ['84-34=50']
Exploring Operation: 90-50=40, Resulting Numbers: [8, 40]
Generated Node #0,1,0: 17:[8, 40] Operation: 90-50=40
Exploring Operation: 90-8=82, Resulting Numbers: [50, 82]
Generated Node #0,1,1: 17:[50, 82] Operation: 90-8=82
Exploring Operation: 50-8=42, Resulting Numbers: [90, 42]
Generated Node #0,1,2: 17:[90, 42] Operation: 50-8=42
Moving to Node #0,1,0
Current State: 17:[8, 40], Operations: ['84-34=50', '90-50=40']
Exploring Operation: 40-8=32, Resulting Numbers: [32]
32,17 unequal: No Solution
Exploring Operation: 40/8=5, Resulting Numbers: [5]
5,17 unequal: No Solution
Exploring Operation: 8+40=48, Resulting Numbers: [48]
48,17 unequal: No Solution
Moving to Node #0,1,1
Current State: 17:[50, 82], Operations: ['84-34=50', '90-8=82']
Exploring Operation: 50+82=132, Resulting Numbers: [132]
132,17 unequal: No Solution
Exploring Operation: 82-50=32, Resulting Numbers: [32]
32,17 unequal: No Solution
Exploring Operation: 50*82=4100, Resulting Numbers: [4100]
4100,17 unequal: No Solution
Moving to Node #0,1,2
Current State: 17:[90, 42], Operations: ['84-34=50', '50-8=42']
Exploring Operation: 90*42=3780, Resulting Numbers: [3780]
3780,17 unequal: No Solution
Exploring Operation: 90-42=48, Resulting Numbers: [48]
48,17 unequal: No Solution
Exploring Operation: 90+42=132, Resulting Numbers: [132]
132,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
81,
41,
3,
32
] | 84 | [
"41-32=9",
"9/3=3",
"81+3=84"
] | Current State: 84:[81, 41, 3, 32], Operations: []
Exploring Operation: 41-32=9, Resulting Numbers: [81, 3, 9]
Generated Node #2: [81, 3, 9] from Operation: 41-32=9
Current State: 84:[81, 3, 9], Operations: ['41-32=9']
Exploring Operation: 9/3=3, Resulting Numbers: [81, 3]
Generated Node #3: [81, 3] from Operation: 9/3=3
Current State: 84:[81, 3], Operations: ['41-32=9', '9/3=3']
Exploring Operation: 81+3=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[81, 41, 3, 32], Operations: []
Exploring Operation: 81/3=27, Resulting Numbers: [41, 32, 27]
Generated Node #0,0: 84:[41, 32, 27] Operation: 81/3=27
Exploring Operation: 81-41=40, Resulting Numbers: [3, 32, 40]
Generated Node #0,1: 84:[3, 32, 40] Operation: 81-41=40
Exploring Operation: 32-3=29, Resulting Numbers: [81, 41, 29]
Generated Node #0,2: 84:[81, 41, 29] Operation: 32-3=29
Exploring Operation: 41-32=9, Resulting Numbers: [81, 3, 9]
Generated Node #0,3: 84:[81, 3, 9] Operation: 41-32=9
Exploring Operation: 81+3=84, Resulting Numbers: [41, 32, 84]
Generated Node #0,4: 84:[41, 32, 84] Operation: 81+3=84
Moving to Node #0,2
Current State: 84:[81, 41, 29], Operations: ['32-3=29']
Exploring Operation: 41-29=12, Resulting Numbers: [81, 12]
Generated Node #0,2,0: 84:[81, 12] Operation: 41-29=12
Exploring Operation: 41+29=70, Resulting Numbers: [81, 70]
Generated Node #0,2,1: 84:[81, 70] Operation: 41+29=70
Exploring Operation: 81+29=110, Resulting Numbers: [41, 110]
Generated Node #0,2,2: 84:[41, 110] Operation: 81+29=110
Exploring Operation: 81-41=40, Resulting Numbers: [29, 40]
Generated Node #0,2,3: 84:[29, 40] Operation: 81-41=40
Exploring Operation: 81-29=52, Resulting Numbers: [41, 52]
Generated Node #0,2,4: 84:[41, 52] Operation: 81-29=52
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 84:[81, 12], Operations: ['32-3=29', '41-29=12']
Exploring Operation: 81*12=972, Resulting Numbers: [972]
972,84 unequal: No Solution
Exploring Operation: 81+12=93, Resulting Numbers: [93]
93,84 unequal: No Solution
Exploring Operation: 81-12=69, Resulting Numbers: [69]
69,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,2,3
Current State: 84:[29, 40], Operations: ['32-3=29', '81-41=40']
Exploring Operation: 40-29=11, Resulting Numbers: [11]
11,84 unequal: No Solution
Exploring Operation: 29+40=69, Resulting Numbers: [69]
69,84 unequal: No Solution
Exploring Operation: 29*40=1160, Resulting Numbers: [1160]
1160,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,2,4
Current State: 84:[41, 52], Operations: ['32-3=29', '81-29=52']
Exploring Operation: 41+52=93, Resulting Numbers: [93]
93,84 unequal: No Solution
Exploring Operation: 52-41=11, Resulting Numbers: [11]
11,84 unequal: No Solution
Exploring Operation: 41*52=2132, Resulting Numbers: [2132]
2132,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,2,1
Current State: 84:[81, 70], Operations: ['32-3=29', '41+29=70']
Exploring Operation: 81*70=5670, Resulting Numbers: [5670]
5670,84 unequal: No Solution
Exploring Operation: 81+70=151, Resulting Numbers: [151]
151,84 unequal: No Solution
Exploring Operation: 81-70=11, Resulting Numbers: [11]
11,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,2,2
Current State: 84:[41, 110], Operations: ['32-3=29', '81+29=110']
Exploring Operation: 41+110=151, Resulting Numbers: [151]
151,84 unequal: No Solution
Exploring Operation: 110-41=69, Resulting Numbers: [69]
69,84 unequal: No Solution
Exploring Operation: 41*110=4510, Resulting Numbers: [4510]
4510,84 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: 84:[41, 32, 84], Operations: ['81+3=84']
Exploring Operation: 84-32=52, Resulting Numbers: [41, 52]
Generated Node #0,4,0: 84:[41, 52] Operation: 84-32=52
Exploring Operation: 84-41=43, Resulting Numbers: [32, 43]
Generated Node #0,4,1: 84:[32, 43] Operation: 84-41=43
Exploring Operation: 41-32=9, Resulting Numbers: [84, 9]
Generated Node #0,4,2: 84:[84, 9] Operation: 41-32=9
Exploring Operation: 41+32=73, Resulting Numbers: [84, 73]
Generated Node #0,4,3: 84:[84, 73] Operation: 41+32=73
Exploring Operation: 32+84=116, Resulting Numbers: [41, 116]
Generated Node #0,4,4: 84:[41, 116] Operation: 32+84=116
Moving to Node #0,3
Current State: 84:[81, 3, 9], Operations: ['41-32=9']
Exploring Operation: 81+3=84, Resulting Numbers: [9, 84]
Generated Node #0,3,0: 84:[9, 84] Operation: 81+3=84
Exploring Operation: 3+9=12, Resulting Numbers: [81, 12]
Generated Node #0,3,1: 84:[81, 12] Operation: 3+9=12
Exploring Operation: 81/3=27, Resulting Numbers: [9, 27]
Generated Node #0,3,2: 84:[9, 27] Operation: 81/3=27
Exploring Operation: 81/9=9, Resulting Numbers: [3, 9]
Generated Node #0,3,3: 84:[3, 9] Operation: 81/9=9
Exploring Operation: 9-3=6, Resulting Numbers: [81, 6]
Generated Node #0,3,4: 84:[81, 6] Operation: 9-3=6
Moving to Node #0,0
Current State: 84:[41, 32, 27], Operations: ['81/3=27']
Exploring Operation: 41-32=9, Resulting Numbers: [27, 9]
Generated Node #0,0,0: 84:[27, 9] Operation: 41-32=9
Exploring Operation: 41+32=73, Resulting Numbers: [27, 73]
Generated Node #0,0,1: 84:[27, 73] Operation: 41+32=73
Exploring Operation: 41-27=14, Resulting Numbers: [32, 14]
Generated Node #0,0,2: 84:[32, 14] Operation: 41-27=14
Exploring Operation: 32-27=5, Resulting Numbers: [41, 5]
Generated Node #0,0,3: 84:[41, 5] Operation: 32-27=5
Exploring Operation: 32+27=59, Resulting Numbers: [41, 59]
Generated Node #0,0,4: 84:[41, 59] Operation: 32+27=59
Moving to Node #0,1
Current State: 84:[3, 32, 40], Operations: ['81-41=40']
Exploring Operation: 32-3=29, Resulting Numbers: [40, 29]
Generated Node #0,1,0: 84:[40, 29] Operation: 32-3=29
Exploring Operation: 3+32=35, Resulting Numbers: [40, 35]
Generated Node #0,1,1: 84:[40, 35] Operation: 3+32=35
Exploring Operation: 3+40=43, Resulting Numbers: [32, 43]
Generated Node #0,1,2: 84:[32, 43] Operation: 3+40=43
Exploring Operation: 40-3=37, Resulting Numbers: [32, 37]
Generated Node #0,1,3: 84:[32, 37] Operation: 40-3=37
Exploring Operation: 40-32=8, Resulting Numbers: [3, 8]
Generated Node #0,1,4: 84:[3, 8] Operation: 40-32=8
Moving to Node #0,1,4
Current State: 84:[3, 8], Operations: ['81-41=40', '40-32=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,84 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,84 unequal: No Solution
Moving to Node #0,3,0
Current State: 84:[9, 84], Operations: ['41-32=9', '81+3=84']
Exploring Operation: 9*84=756, Resulting Numbers: [756]
756,84 unequal: No Solution
Exploring Operation: 84-9=75, Resulting Numbers: [75]
75,84 unequal: No Solution
Exploring Operation: 9+84=93, Resulting Numbers: [93]
93,84 unequal: No Solution
Moving to Node #0,3,3
Current State: 84:[3, 9], Operations: ['41-32=9', '81/9=9']
Exploring Operation: 3+9=12, Resulting Numbers: [12]
12,84 unequal: No Solution
Exploring Operation: 9-3=6, Resulting Numbers: [6]
6,84 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,84 unequal: No Solution
Exploring Operation: 3*9=27, Resulting Numbers: [27]
27,84 unequal: No Solution
Moving to Node #0,4,2
Current State: 84:[84, 9], Operations: ['81+3=84', '41-32=9']
Exploring Operation: 84*9=756, Resulting Numbers: [756]
756,84 unequal: No Solution
Exploring Operation: 84+9=93, Resulting Numbers: [93]
93,84 unequal: No Solution
Exploring Operation: 84-9=75, Resulting Numbers: [75]
75,84 unequal: No Solution
Moving to Node #0,0,3
Current State: 84:[41, 5], Operations: ['81/3=27', '32-27=5']
Exploring Operation: 41+5=46, Resulting Numbers: [46]
46,84 unequal: No Solution
Exploring Operation: 41-5=36, Resulting Numbers: [36]
36,84 unequal: No Solution
Exploring Operation: 41*5=205, Resulting Numbers: [205]
205,84 unequal: No Solution
Moving to Node #0,0,0
Current State: 84:[27, 9], Operations: ['81/3=27', '41-32=9']
Exploring Operation: 27*9=243, Resulting Numbers: [243]
243,84 unequal: No Solution
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,84 unequal: No Solution
Exploring Operation: 27+9=36, Resulting Numbers: [36]
36,84 unequal: No Solution
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,84 unequal: No Solution
Moving to Node #0,3,1
Current State: 84:[81, 12], Operations: ['41-32=9', '3+9=12']
Exploring Operation: 81-12=69, Resulting Numbers: [69]
69,84 unequal: No Solution
Exploring Operation: 81*12=972, Resulting Numbers: [972]
972,84 unequal: No Solution
Exploring Operation: 81+12=93, Resulting Numbers: [93]
93,84 unequal: No Solution
Moving to Node #0,3,4
Current State: 84:[81, 6], Operations: ['41-32=9', '9-3=6']
Exploring Operation: 81*6=486, Resulting Numbers: [486]
486,84 unequal: No Solution
Exploring Operation: 81+6=87, Resulting Numbers: [87]
87,84 unequal: No Solution
Exploring Operation: 81-6=75, Resulting Numbers: [75]
75,84 unequal: No Solution
Moving to Node #0,3,2
Current State: 84:[9, 27], Operations: ['41-32=9', '81/3=27']
Exploring Operation: 9+27=36, Resulting Numbers: [36]
36,84 unequal: No Solution
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,84 unequal: No Solution
Exploring Operation: 27/9=3, Resulting Numbers: [3]
3,84 unequal: No Solution
Exploring Operation: 9*27=243, Resulting Numbers: [243]
243,84 unequal: No Solution
Moving to Node #0,1,0
Current State: 84:[40, 29], Operations: ['81-41=40', '32-3=29']
Exploring Operation: 40+29=69, Resulting Numbers: [69]
69,84 unequal: No Solution
Exploring Operation: 40*29=1160, Resulting Numbers: [1160]
1160,84 unequal: No Solution
Exploring Operation: 40-29=11, Resulting Numbers: [11]
11,84 unequal: No Solution
Moving to Node #0,0,2
Current State: 84:[32, 14], Operations: ['81/3=27', '41-27=14']
Exploring Operation: 32-14=18, Resulting Numbers: [18]
18,84 unequal: No Solution
Exploring Operation: 32+14=46, Resulting Numbers: [46]
46,84 unequal: No Solution
Exploring Operation: 32*14=448, Resulting Numbers: [448]
448,84 unequal: No Solution
Moving to Node #0,1,2
Current State: 84:[32, 43], Operations: ['81-41=40', '3+40=43']
Exploring Operation: 32+43=75, Resulting Numbers: [75]
75,84 unequal: No Solution
Exploring Operation: 32*43=1376, Resulting Numbers: [1376]
1376,84 unequal: No Solution
Exploring Operation: 43-32=11, Resulting Numbers: [11]
11,84 unequal: No Solution
Moving to Node #0,4,1
Current State: 84:[32, 43], Operations: ['81+3=84', '84-41=43']
Exploring Operation: 32+43=75, Resulting Numbers: [75]
75,84 unequal: No Solution
Exploring Operation: 32*43=1376, Resulting Numbers: [1376]
1376,84 unequal: No Solution
Exploring Operation: 43-32=11, Resulting Numbers: [11]
11,84 unequal: No Solution
Moving to Node #0,1,1
Current State: 84:[40, 35], Operations: ['81-41=40', '3+32=35']
Exploring Operation: 40-35=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 40+35=75, Resulting Numbers: [75]
75,84 unequal: No Solution
Exploring Operation: 40*35=1400, Resulting Numbers: [1400]
1400,84 unequal: No Solution
Moving to Node #0,1,3
Current State: 84:[32, 37], Operations: ['81-41=40', '40-3=37']
Exploring Operation: 32*37=1184, Resulting Numbers: [1184]
1184,84 unequal: No Solution
Exploring Operation: 32+37=69, Resulting Numbers: [69]
69,84 unequal: No Solution
Exploring Operation: 37-32=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Moving to Node #0,4,0
Current State: 84:[41, 52], Operations: ['81+3=84', '84-32=52']
Exploring Operation: 52-41=11, Resulting Numbers: [11]
11,84 unequal: No Solution
Exploring Operation: 41+52=93, Resulting Numbers: [93]
93,84 unequal: No Solution
Exploring Operation: 41*52=2132, Resulting Numbers: [2132]
2132,84 unequal: No Solution
Moving to Node #0,4,3
Current State: 84:[84, 73], Operations: ['81+3=84', '41+32=73']
Exploring Operation: 84*73=6132, Resulting Numbers: [6132]
6132,84 unequal: No Solution
Exploring Operation: 84+73=157, Resulting Numbers: [157]
157,84 unequal: No Solution
Exploring Operation: 84-73=11, Resulting Numbers: [11]
11,84 unequal: No Solution
Moving to Node #0,0,1
Current State: 84:[27, 73], Operations: ['81/3=27', '41+32=73']
Exploring Operation: 27*73=1971, Resulting Numbers: [1971]
1971,84 unequal: No Solution
Exploring Operation: 27+73=100, Resulting Numbers: [100]
100,84 unequal: No Solution
Exploring Operation: 73-27=46, Resulting Numbers: [46]
46,84 unequal: No Solution
Moving to Node #0,0,4
Current State: 84:[41, 59], Operations: ['81/3=27', '32+27=59']
Exploring Operation: 41*59=2419, Resulting Numbers: [2419]
2419,84 unequal: No Solution
Exploring Operation: 59-41=18, Resulting Numbers: [18]
18,84 unequal: No Solution
Exploring Operation: 41+59=100, Resulting Numbers: [100]
100,84 unequal: No Solution
Moving to Node #0,4,4
Current State: 84:[41, 116], Operations: ['81+3=84', '32+84=116']
Exploring Operation: 41+116=157, Resulting Numbers: [157]
157,84 unequal: No Solution
Exploring Operation: 116-41=75, Resulting Numbers: [75]
75,84 unequal: No Solution
Exploring Operation: 41*116=4756, Resulting Numbers: [4756]
4756,84 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
11,
10,
15,
55
] | 77 | [
"11+10=21",
"55*21=1155",
"1155/15=77"
] | Current State: 77:[11, 10, 15, 55], Operations: []
Exploring Operation: 11+10=21, Resulting Numbers: [15, 55, 21]
Generated Node #2: [15, 55, 21] from Operation: 11+10=21
Current State: 77:[15, 55, 21], Operations: ['11+10=21']
Exploring Operation: 55*21=1155, Resulting Numbers: [15, 1155]
Generated Node #3: [15, 1155] from Operation: 55*21=1155
Current State: 77:[15, 1155], Operations: ['11+10=21', '55*21=1155']
Exploring Operation: 1155/15=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[11, 10, 15, 55], Operations: []
Exploring Operation: 55/11=5, Resulting Numbers: [10, 15, 5]
Generated Node #0,0: 77:[10, 15, 5] Operation: 55/11=5
Exploring Operation: 11+55=66, Resulting Numbers: [10, 15, 66]
Generated Node #0,1: 77:[10, 15, 66] Operation: 11+55=66
Exploring Operation: 15+55=70, Resulting Numbers: [11, 10, 70]
Generated Node #0,2: 77:[11, 10, 70] Operation: 15+55=70
Exploring Operation: 10+55=65, Resulting Numbers: [11, 15, 65]
Generated Node #0,3: 77:[11, 15, 65] Operation: 10+55=65
Moving to Node #0,0
Current State: 77:[10, 15, 5], Operations: ['55/11=5']
Exploring Operation: 15-10=5, Resulting Numbers: [5, 5]
Generated Node #0,0,0: 77:[5, 5] Operation: 15-10=5
Exploring Operation: 15-5=10, Resulting Numbers: [10, 10]
Generated Node #0,0,1: 77:[10, 10] Operation: 15-5=10
Exploring Operation: 15/5=3, Resulting Numbers: [10, 3]
Generated Node #0,0,2: 77:[10, 3] Operation: 15/5=3
Exploring Operation: 15*5=75, Resulting Numbers: [10, 75]
Generated Node #0,0,3: 77:[10, 75] Operation: 15*5=75
Moving to Node #0,2
Current State: 77:[11, 10, 70], Operations: ['15+55=70']
Exploring Operation: 10+70=80, Resulting Numbers: [11, 80]
Generated Node #0,2,0: 77:[11, 80] Operation: 10+70=80
Exploring Operation: 70/10=7, Resulting Numbers: [11, 7]
Generated Node #0,2,1: 77:[11, 7] Operation: 70/10=7
Exploring Operation: 11+70=81, Resulting Numbers: [10, 81]
Generated Node #0,2,2: 77:[10, 81] Operation: 11+70=81
Exploring Operation: 11-10=1, Resulting Numbers: [70, 1]
Generated Node #0,2,3: 77:[70, 1] Operation: 11-10=1
Moving to Node #0,3
Current State: 77:[11, 15, 65], Operations: ['10+55=65']
Exploring Operation: 11+15=26, Resulting Numbers: [65, 26]
Generated Node #0,3,0: 77:[65, 26] Operation: 11+15=26
Exploring Operation: 11+65=76, Resulting Numbers: [15, 76]
Generated Node #0,3,1: 77:[15, 76] Operation: 11+65=76
Exploring Operation: 15-11=4, Resulting Numbers: [65, 4]
Generated Node #0,3,2: 77:[65, 4] Operation: 15-11=4
Exploring Operation: 15+65=80, Resulting Numbers: [11, 80]
Generated Node #0,3,3: 77:[11, 80] Operation: 15+65=80
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 77:[11, 80], Operations: ['10+55=65', '15+65=80']
Exploring Operation: 11*80=880, Resulting Numbers: [880]
880,77 unequal: No Solution
Exploring Operation: 11+80=91, Resulting Numbers: [91]
91,77 unequal: No Solution
Exploring Operation: 80-11=69, Resulting Numbers: [69]
69,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 77:[15, 76], Operations: ['10+55=65', '11+65=76']
Exploring Operation: 15+76=91, Resulting Numbers: [91]
91,77 unequal: No Solution
Exploring Operation: 76-15=61, Resulting Numbers: [61]
61,77 unequal: No Solution
Exploring Operation: 15*76=1140, Resulting Numbers: [1140]
1140,77 unequal: No Solution
No 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: 77:[65, 4], Operations: ['10+55=65', '15-11=4']
Exploring Operation: 65*4=260, Resulting Numbers: [260]
260,77 unequal: No Solution
Exploring Operation: 65+4=69, Resulting Numbers: [69]
69,77 unequal: No Solution
Exploring Operation: 65-4=61, Resulting Numbers: [61]
61,77 unequal: No Solution
No 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: 77:[65, 26], Operations: ['10+55=65', '11+15=26']
Exploring Operation: 65*26=1690, Resulting Numbers: [1690]
1690,77 unequal: No Solution
Exploring Operation: 65-26=39, Resulting Numbers: [39]
39,77 unequal: No Solution
Exploring Operation: 65+26=91, Resulting Numbers: [91]
91,77 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: 77:[10, 15, 66], Operations: ['11+55=66']
Exploring Operation: 15-10=5, Resulting Numbers: [66, 5]
Generated Node #0,1,0: 77:[66, 5] Operation: 15-10=5
Exploring Operation: 10+66=76, Resulting Numbers: [15, 76]
Generated Node #0,1,1: 77:[15, 76] Operation: 10+66=76
Exploring Operation: 10+15=25, Resulting Numbers: [66, 25]
Generated Node #0,1,2: 77:[66, 25] Operation: 10+15=25
Exploring Operation: 15+66=81, Resulting Numbers: [10, 81]
Generated Node #0,1,3: 77:[10, 81] Operation: 15+66=81
Moving to Node #0,2,1
Current State: 77:[11, 7], Operations: ['15+55=70', '70/10=7']
Exploring Operation: 11*7=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[11, 10, 15, 55], Operations: []
Exploring Operation: 15+55=70, Resulting Numbers: [11, 10, 70]
Generated Node #0,2: 77:[11, 10, 70] Operation: 15+55=70
Moving to Node #0,2
Current State: 77:[11, 10, 70], Operations: ['15+55=70']
Exploring Operation: 70/10=7, Resulting Numbers: [11, 7]
Generated Node #0,2,1: 77:[11, 7] Operation: 70/10=7
Moving to Node #0,2,1
Current State: 77:[11, 7], Operations: ['15+55=70', '70/10=7']
Exploring Operation: 11*7=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 0.967882 | hs_4 | mult_heuristic |
[
42,
74,
4,
68
] | 76 | [
"74-42=32",
"32/4=8",
"68+8=76"
] | Current State: 76:[42, 74, 4, 68], Operations: []
Exploring Operation: 74-42=32, Resulting Numbers: [4, 68, 32]
Generated Node #2: [4, 68, 32] from Operation: 74-42=32
Current State: 76:[4, 68, 32], Operations: ['74-42=32']
Exploring Operation: 32/4=8, Resulting Numbers: [68, 8]
Generated Node #3: [68, 8] from Operation: 32/4=8
Current State: 76:[68, 8], Operations: ['74-42=32', '32/4=8']
Exploring Operation: 68+8=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[42, 74, 4, 68], Operations: []
Exploring Operation: 68/4=17, Resulting Numbers: [42, 74, 17]
Generated Node #0,0: 76:[42, 74, 17] Operation: 68/4=17
Exploring Operation: 68-42=26, Resulting Numbers: [74, 4, 26]
Generated Node #0,1: 76:[74, 4, 26] Operation: 68-42=26
Exploring Operation: 74-68=6, Resulting Numbers: [42, 4, 6]
Generated Node #0,2: 76:[42, 4, 6] Operation: 74-68=6
Start Sub Search at level 1: Moving to Node #0,2
Current State: 76:[42, 4, 6], Operations: ['74-68=6']
Exploring Operation: 42/6=7, Resulting Numbers: [4, 7]
Generated Node #0,2,0: 76:[4, 7] Operation: 42/6=7
Exploring Operation: 42-4=38, Resulting Numbers: [6, 38]
Generated Node #0,2,1: 76:[6, 38] Operation: 42-4=38
Exploring Operation: 42-6=36, Resulting Numbers: [4, 36]
Generated Node #0,2,2: 76:[4, 36] Operation: 42-6=36
Moving to Node #0,2,1
Current State: 76:[6, 38], Operations: ['74-68=6', '42-4=38']
Exploring Operation: 6*38=228, Resulting Numbers: [228]
228,76 unequal: No Solution
Exploring Operation: 6+38=44, Resulting Numbers: [44]
44,76 unequal: No Solution
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,76 unequal: No Solution
Moving to Node #0,2,2
Current State: 76:[4, 36], Operations: ['74-68=6', '42-6=36']
Exploring Operation: 36/4=9, Resulting Numbers: [9]
9,76 unequal: No Solution
Exploring Operation: 4+36=40, Resulting Numbers: [40]
40,76 unequal: No Solution
Exploring Operation: 36-4=32, Resulting Numbers: [32]
32,76 unequal: No Solution
Moving to Node #0,2,0
Current State: 76:[4, 7], Operations: ['74-68=6', '42/6=7']
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,76 unequal: No Solution
Exploring Operation: 4*7=28, Resulting Numbers: [28]
28,76 unequal: No Solution
Exploring Operation: 4+7=11, Resulting Numbers: [11]
11,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[42, 74, 17], Operations: ['68/4=17']
Exploring Operation: 42+17=59, Resulting Numbers: [74, 59]
Generated Node #0,0,0: 76:[74, 59] Operation: 42+17=59
Exploring Operation: 42-17=25, Resulting Numbers: [74, 25]
Generated Node #0,0,1: 76:[74, 25] Operation: 42-17=25
Exploring Operation: 74-42=32, Resulting Numbers: [17, 32]
Generated Node #0,0,2: 76:[17, 32] Operation: 74-42=32
Moving to Node #0,0,1
Current State: 76:[74, 25], Operations: ['68/4=17', '42-17=25']
Exploring Operation: 74-25=49, Resulting Numbers: [49]
49,76 unequal: No Solution
Exploring Operation: 74+25=99, Resulting Numbers: [99]
99,76 unequal: No Solution
Exploring Operation: 74*25=1850, Resulting Numbers: [1850]
1850,76 unequal: No Solution
Moving to Node #0,0,2
Current State: 76:[17, 32], Operations: ['68/4=17', '74-42=32']
Exploring Operation: 17*32=544, Resulting Numbers: [544]
544,76 unequal: No Solution
Exploring Operation: 17+32=49, Resulting Numbers: [49]
49,76 unequal: No Solution
Exploring Operation: 32-17=15, Resulting Numbers: [15]
15,76 unequal: No Solution
Moving to Node #0,0,0
Current State: 76:[74, 59], Operations: ['68/4=17', '42+17=59']
Exploring Operation: 74*59=4366, Resulting Numbers: [4366]
4366,76 unequal: No Solution
Exploring Operation: 74+59=133, Resulting Numbers: [133]
133,76 unequal: No Solution
Exploring Operation: 74-59=15, Resulting Numbers: [15]
15,76 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 76:[74, 4, 26], Operations: ['68-42=26']
Exploring Operation: 26-4=22, Resulting Numbers: [74, 22]
Generated Node #0,1,0: 76:[74, 22] Operation: 26-4=22
Exploring Operation: 74-26=48, Resulting Numbers: [4, 48]
Generated Node #0,1,1: 76:[4, 48] Operation: 74-26=48
Exploring Operation: 74+4=78, Resulting Numbers: [26, 78]
Generated Node #0,1,2: 76:[26, 78] Operation: 74+4=78
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 76:[74, 22], Operations: ['68-42=26', '26-4=22']
Exploring Operation: 74-22=52, Resulting Numbers: [52]
52,76 unequal: No Solution
Exploring Operation: 74*22=1628, Resulting Numbers: [1628]
1628,76 unequal: No Solution
Exploring Operation: 74+22=96, Resulting Numbers: [96]
96,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 76:[26, 78], Operations: ['68-42=26', '74+4=78']
Exploring Operation: 78-26=52, Resulting Numbers: [52]
52,76 unequal: No Solution
Exploring Operation: 26+78=104, Resulting Numbers: [104]
104,76 unequal: No Solution
Exploring Operation: 78/26=3, Resulting Numbers: [3]
3,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 76:[4, 48], Operations: ['68-42=26', '74-26=48']
Exploring Operation: 48-4=44, Resulting Numbers: [44]
44,76 unequal: No Solution
Exploring Operation: 4+48=52, Resulting Numbers: [52]
52,76 unequal: No Solution
Exploring Operation: 48/4=12, Resulting Numbers: [12]
12,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
69,
47,
20,
2
] | 68 | [
"69+47=116",
"20+116=136",
"136/2=68"
] | Current State: 68:[69, 47, 20, 2], Operations: []
Exploring Operation: 69+47=116, Resulting Numbers: [20, 2, 116]
Generated Node #2: [20, 2, 116] from Operation: 69+47=116
Current State: 68:[20, 2, 116], Operations: ['69+47=116']
Exploring Operation: 20+116=136, Resulting Numbers: [2, 136]
Generated Node #3: [2, 136] from Operation: 20+116=136
Current State: 68:[2, 136], Operations: ['69+47=116', '20+116=136']
Exploring Operation: 136/2=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[69, 47, 20, 2], Operations: []
Exploring Operation: 47+20=67, Resulting Numbers: [69, 2, 67]
Generated Node #0,0: 68:[69, 2, 67] Operation: 47+20=67
Exploring Operation: 69-47=22, Resulting Numbers: [20, 2, 22]
Generated Node #0,1: 68:[20, 2, 22] Operation: 69-47=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[69, 2, 67], Operations: ['47+20=67']
Exploring Operation: 69-2=67, Resulting Numbers: [67, 67]
Generated Node #0,0,0: 68:[67, 67] Operation: 69-2=67
Exploring Operation: 69-67=2, Resulting Numbers: [2, 2]
Generated Node #0,0,1: 68:[2, 2] Operation: 69-67=2
Moving to Node #0,0,1
Current State: 68:[2, 2], Operations: ['47+20=67', '69-67=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,68 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,68 unequal: No Solution
Moving to Node #0,0,0
Current State: 68:[67, 67], Operations: ['47+20=67', '69-2=67']
Exploring Operation: 67-67=0, Resulting Numbers: [0]
0,68 unequal: No Solution
Exploring Operation: 67/67=1, Resulting Numbers: [1]
1,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:[20, 2, 22], Operations: ['69-47=22']
Exploring Operation: 22-20=2, Resulting Numbers: [2, 2]
Generated Node #0,1,0: 68:[2, 2] Operation: 22-20=2
Exploring Operation: 20-2=18, Resulting Numbers: [22, 18]
Generated Node #0,1,1: 68:[22, 18] Operation: 20-2=18
Moving to Node #0,1,0
Current State: 68:[2, 2], Operations: ['69-47=22', '22-20=2']
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,68 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,68 unequal: No Solution
Moving to Node #0,1,1
Current State: 68:[22, 18], Operations: ['69-47=22', '20-2=18']
Exploring Operation: 22+18=40, Resulting Numbers: [40]
40,68 unequal: No Solution
Exploring Operation: 22-18=4, Resulting Numbers: [4]
4,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
13,
69,
68,
41
] | 34 | [
"13+69=82",
"68*41=2788",
"2788/82=34"
] | Current State: 34:[13, 69, 68, 41], Operations: []
Exploring Operation: 13+69=82, Resulting Numbers: [68, 41, 82]
Generated Node #2: [68, 41, 82] from Operation: 13+69=82
Current State: 34:[68, 41, 82], Operations: ['13+69=82']
Exploring Operation: 68*41=2788, Resulting Numbers: [82, 2788]
Generated Node #3: [82, 2788] from Operation: 68*41=2788
Current State: 34:[82, 2788], Operations: ['13+69=82', '68*41=2788']
Exploring Operation: 2788/82=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[13, 69, 68, 41], Operations: []
Exploring Operation: 69-13=56, Resulting Numbers: [68, 41, 56]
Generated Node #0,0: 34:[68, 41, 56] Operation: 69-13=56
Exploring Operation: 68-41=27, Resulting Numbers: [13, 69, 27]
Generated Node #0,1: 34:[13, 69, 27] Operation: 68-41=27
Exploring Operation: 69-41=28, Resulting Numbers: [13, 68, 28]
Generated Node #0,2: 34:[13, 68, 28] Operation: 69-41=28
Exploring Operation: 69-68=1, Resulting Numbers: [13, 41, 1]
Generated Node #0,3: 34:[13, 41, 1] Operation: 69-68=1
Moving to Node #0,3
Current State: 34:[13, 41, 1], Operations: ['69-68=1']
Exploring Operation: 13*1=13, Resulting Numbers: [41, 13]
Generated Node #0,3,0: 34:[41, 13] Operation: 13*1=13
Exploring Operation: 41-13=28, Resulting Numbers: [1, 28]
Generated Node #0,3,1: 34:[1, 28] Operation: 41-13=28
Exploring Operation: 13+1=14, Resulting Numbers: [41, 14]
Generated Node #0,3,2: 34:[41, 14] Operation: 13+1=14
Exploring Operation: 41-1=40, Resulting Numbers: [13, 40]
Generated Node #0,3,3: 34:[13, 40] Operation: 41-1=40
Moving to Node #0,2
Current State: 34:[13, 68, 28], Operations: ['69-41=28']
Exploring Operation: 68-28=40, Resulting Numbers: [13, 40]
Generated Node #0,2,0: 34:[13, 40] Operation: 68-28=40
Exploring Operation: 28-13=15, Resulting Numbers: [68, 15]
Generated Node #0,2,1: 34:[68, 15] Operation: 28-13=15
Exploring Operation: 13+28=41, Resulting Numbers: [68, 41]
Generated Node #0,2,2: 34:[68, 41] Operation: 13+28=41
Exploring Operation: 68-13=55, Resulting Numbers: [28, 55]
Generated Node #0,2,3: 34:[28, 55] Operation: 68-13=55
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 34:[13, 40], Operations: ['69-41=28', '68-28=40']
Exploring Operation: 13*40=520, Resulting Numbers: [520]
520,34 unequal: No Solution
Exploring Operation: 13+40=53, Resulting Numbers: [53]
53,34 unequal: No Solution
Exploring Operation: 40-13=27, Resulting Numbers: [27]
27,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 34:[28, 55], Operations: ['69-41=28', '68-13=55']
Exploring Operation: 28+55=83, Resulting Numbers: [83]
83,34 unequal: No Solution
Exploring Operation: 28*55=1540, Resulting Numbers: [1540]
1540,34 unequal: No Solution
Exploring Operation: 55-28=27, Resulting Numbers: [27]
27,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 34:[68, 15], Operations: ['69-41=28', '28-13=15']
Exploring Operation: 68+15=83, Resulting Numbers: [83]
83,34 unequal: No Solution
Exploring Operation: 68-15=53, Resulting Numbers: [53]
53,34 unequal: No Solution
Exploring Operation: 68*15=1020, Resulting Numbers: [1020]
1020,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 34:[68, 41], Operations: ['69-41=28', '13+28=41']
Exploring Operation: 68*41=2788, Resulting Numbers: [2788]
2788,34 unequal: No Solution
Exploring Operation: 68+41=109, Resulting Numbers: [109]
109,34 unequal: No Solution
Exploring Operation: 68-41=27, Resulting Numbers: [27]
27,34 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: 34:[13, 69, 27], Operations: ['68-41=27']
Exploring Operation: 69-27=42, Resulting Numbers: [13, 42]
Generated Node #0,1,0: 34:[13, 42] Operation: 69-27=42
Exploring Operation: 69-13=56, Resulting Numbers: [27, 56]
Generated Node #0,1,1: 34:[27, 56] Operation: 69-13=56
Exploring Operation: 13+27=40, Resulting Numbers: [69, 40]
Generated Node #0,1,2: 34:[69, 40] Operation: 13+27=40
Exploring Operation: 27-13=14, Resulting Numbers: [69, 14]
Generated Node #0,1,3: 34:[69, 14] Operation: 27-13=14
Moving to Node #0,0
Current State: 34:[68, 41, 56], Operations: ['69-13=56']
Exploring Operation: 56-41=15, Resulting Numbers: [68, 15]
Generated Node #0,0,0: 34:[68, 15] Operation: 56-41=15
Exploring Operation: 68-41=27, Resulting Numbers: [56, 27]
Generated Node #0,0,1: 34:[56, 27] Operation: 68-41=27
Exploring Operation: 68+41=109, Resulting Numbers: [56, 109]
Generated Node #0,0,2: 34:[56, 109] Operation: 68+41=109
Exploring Operation: 68-56=12, Resulting Numbers: [41, 12]
Generated Node #0,0,3: 34:[41, 12] Operation: 68-56=12
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 34:[41, 12], Operations: ['69-13=56', '68-56=12']
Exploring Operation: 41+12=53, Resulting Numbers: [53]
53,34 unequal: No Solution
Exploring Operation: 41-12=29, Resulting Numbers: [29]
29,34 unequal: No Solution
Exploring Operation: 41*12=492, Resulting Numbers: [492]
492,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 34:[56, 27], Operations: ['69-13=56', '68-41=27']
Exploring Operation: 56+27=83, Resulting Numbers: [83]
83,34 unequal: No Solution
Exploring Operation: 56*27=1512, Resulting Numbers: [1512]
1512,34 unequal: No Solution
Exploring Operation: 56-27=29, Resulting Numbers: [29]
29,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 34:[68, 15], Operations: ['69-13=56', '56-41=15']
Exploring Operation: 68*15=1020, Resulting Numbers: [1020]
1020,34 unequal: No Solution
Exploring Operation: 68+15=83, Resulting Numbers: [83]
83,34 unequal: No Solution
Exploring Operation: 68-15=53, Resulting Numbers: [53]
53,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 34:[56, 109], Operations: ['69-13=56', '68+41=109']
Exploring Operation: 109-56=53, Resulting Numbers: [53]
53,34 unequal: No Solution
Exploring Operation: 56*109=6104, Resulting Numbers: [6104]
6104,34 unequal: No Solution
Exploring Operation: 56+109=165, Resulting Numbers: [165]
165,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,1
Current State: 34:[1, 28], Operations: ['69-68=1', '41-13=28']
Exploring Operation: 1+28=29, Resulting Numbers: [29]
29,34 unequal: No Solution
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,34 unequal: No Solution
Exploring Operation: 1*28=28, Resulting Numbers: [28]
28,34 unequal: No Solution
Exploring Operation: 28/1=28, Resulting Numbers: [28]
28,34 unequal: No Solution
Moving to Node #0,3,3
Current State: 34:[13, 40], Operations: ['69-68=1', '41-1=40']
Exploring Operation: 13+40=53, Resulting Numbers: [53]
53,34 unequal: No Solution
Exploring Operation: 40-13=27, Resulting Numbers: [27]
27,34 unequal: No Solution
Exploring Operation: 13*40=520, Resulting Numbers: [520]
520,34 unequal: No Solution
Moving to Node #0,3,2
Current State: 34:[41, 14], Operations: ['69-68=1', '13+1=14']
Exploring Operation: 41+14=55, Resulting Numbers: [55]
55,34 unequal: No Solution
Exploring Operation: 41*14=574, Resulting Numbers: [574]
574,34 unequal: No Solution
Exploring Operation: 41-14=27, Resulting Numbers: [27]
27,34 unequal: No Solution
Moving to Node #0,3,0
Current State: 34:[41, 13], Operations: ['69-68=1', '13*1=13']
Exploring Operation: 41+13=54, Resulting Numbers: [54]
54,34 unequal: No Solution
Exploring Operation: 41-13=28, Resulting Numbers: [28]
28,34 unequal: No Solution
Exploring Operation: 41*13=533, Resulting Numbers: [533]
533,34 unequal: No Solution
Moving to Node #0,1,0
Current State: 34:[13, 42], Operations: ['68-41=27', '69-27=42']
Exploring Operation: 13*42=546, Resulting Numbers: [546]
546,34 unequal: No Solution
Exploring Operation: 42-13=29, Resulting Numbers: [29]
29,34 unequal: No Solution
Exploring Operation: 13+42=55, Resulting Numbers: [55]
55,34 unequal: No Solution
Moving to Node #0,1,1
Current State: 34:[27, 56], Operations: ['68-41=27', '69-13=56']
Exploring Operation: 56-27=29, Resulting Numbers: [29]
29,34 unequal: No Solution
Exploring Operation: 27+56=83, Resulting Numbers: [83]
83,34 unequal: No Solution
Exploring Operation: 27*56=1512, Resulting Numbers: [1512]
1512,34 unequal: No Solution
Moving to Node #0,1,3
Current State: 34:[69, 14], Operations: ['68-41=27', '27-13=14']
Exploring Operation: 69+14=83, Resulting Numbers: [83]
83,34 unequal: No Solution
Exploring Operation: 69-14=55, Resulting Numbers: [55]
55,34 unequal: No Solution
Exploring Operation: 69*14=966, Resulting Numbers: [966]
966,34 unequal: No Solution
Moving to Node #0,1,2
Current State: 34:[69, 40], Operations: ['68-41=27', '13+27=40']
Exploring Operation: 69+40=109, Resulting Numbers: [109]
109,34 unequal: No Solution
Exploring Operation: 69*40=2760, Resulting Numbers: [2760]
2760,34 unequal: No Solution
Exploring Operation: 69-40=29, Resulting Numbers: [29]
29,34 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
42,
33,
31,
40
] | 22 | [
"33-31=2",
"40/2=20",
"42-20=22"
] | Current State: 22:[42, 33, 31, 40], Operations: []
Exploring Operation: 33-31=2, Resulting Numbers: [42, 40, 2]
Generated Node #2: [42, 40, 2] from Operation: 33-31=2
Current State: 22:[42, 40, 2], Operations: ['33-31=2']
Exploring Operation: 40/2=20, Resulting Numbers: [42, 20]
Generated Node #3: [42, 20] from Operation: 40/2=20
Current State: 22:[42, 20], Operations: ['33-31=2', '40/2=20']
Exploring Operation: 42-20=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[42, 33, 31, 40], Operations: []
Exploring Operation: 42-40=2, Resulting Numbers: [33, 31, 2]
Generated Node #0,0: 22:[33, 31, 2] Operation: 42-40=2
Moving to Node #0,0
Current State: 22:[33, 31, 2], Operations: ['42-40=2']
Exploring Operation: 33-31=2, Resulting Numbers: [2, 2]
Generated Node #0,0,0: 22:[2, 2] Operation: 33-31=2
Moving to Node #0,0,0
Current State: 22:[2, 2], Operations: ['42-40=2', '33-31=2']
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,22 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
20,
46,
62,
8
] | 52 | [
"20*8=160",
"46+62=108",
"160-108=52"
] | Current State: 52:[20, 46, 62, 8], Operations: []
Exploring Operation: 20*8=160, Resulting Numbers: [46, 62, 160]
Generated Node #2: [46, 62, 160] from Operation: 20*8=160
Current State: 52:[46, 62, 160], Operations: ['20*8=160']
Exploring Operation: 46+62=108, Resulting Numbers: [160, 108]
Generated Node #3: [160, 108] from Operation: 46+62=108
Current State: 52:[160, 108], Operations: ['20*8=160', '46+62=108']
Exploring Operation: 160-108=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[20, 46, 62, 8], Operations: []
Exploring Operation: 46-20=26, Resulting Numbers: [62, 8, 26]
Generated Node #0,0: 52:[62, 8, 26] Operation: 46-20=26
Exploring Operation: 20-8=12, Resulting Numbers: [46, 62, 12]
Generated Node #0,1: 52:[46, 62, 12] Operation: 20-8=12
Exploring Operation: 62-46=16, Resulting Numbers: [20, 8, 16]
Generated Node #0,2: 52:[20, 8, 16] Operation: 62-46=16
Exploring Operation: 20+8=28, Resulting Numbers: [46, 62, 28]
Generated Node #0,3: 52:[46, 62, 28] Operation: 20+8=28
Exploring Operation: 62-8=54, Resulting Numbers: [20, 46, 54]
Generated Node #0,4: 52:[20, 46, 54] Operation: 62-8=54
Start Sub Search at level 1: Moving to Node #0,2
Current State: 52:[20, 8, 16], Operations: ['62-46=16']
Exploring Operation: 16/8=2, Resulting Numbers: [20, 2]
Generated Node #0,2,0: 52:[20, 2] Operation: 16/8=2
Exploring Operation: 8+16=24, Resulting Numbers: [20, 24]
Generated Node #0,2,1: 52:[20, 24] Operation: 8+16=24
Exploring Operation: 20-8=12, Resulting Numbers: [16, 12]
Generated Node #0,2,2: 52:[16, 12] Operation: 20-8=12
Exploring Operation: 20+8=28, Resulting Numbers: [16, 28]
Generated Node #0,2,3: 52:[16, 28] Operation: 20+8=28
Exploring Operation: 20-16=4, Resulting Numbers: [8, 4]
Generated Node #0,2,4: 52:[8, 4] Operation: 20-16=4
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 52:[16, 12], Operations: ['62-46=16', '20-8=12']
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 16+12=28, Resulting Numbers: [28]
28,52 unequal: No Solution
Exploring Operation: 16*12=192, Resulting Numbers: [192]
192,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 52:[8, 4], Operations: ['62-46=16', '20-16=4']
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 8+4=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,52 unequal: No Solution
Exploring Operation: 8*4=32, Resulting Numbers: [32]
32,52 unequal: No Solution
No 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: 52:[16, 28], Operations: ['62-46=16', '20+8=28']
Exploring Operation: 16*28=448, Resulting Numbers: [448]
448,52 unequal: No Solution
Exploring Operation: 16+28=44, Resulting Numbers: [44]
44,52 unequal: No Solution
Exploring Operation: 28-16=12, Resulting Numbers: [12]
12,52 unequal: No Solution
No 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: 52:[20, 2], Operations: ['62-46=16', '16/8=2']
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,52 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,52 unequal: No Solution
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,52 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,52 unequal: No Solution
No 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: 52:[20, 24], Operations: ['62-46=16', '8+16=24']
Exploring Operation: 20*24=480, Resulting Numbers: [480]
480,52 unequal: No Solution
Exploring Operation: 20+24=44, Resulting Numbers: [44]
44,52 unequal: No Solution
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[62, 8, 26], Operations: ['46-20=26']
Exploring Operation: 26-8=18, Resulting Numbers: [62, 18]
Generated Node #0,0,0: 52:[62, 18] Operation: 26-8=18
Exploring Operation: 62+8=70, Resulting Numbers: [26, 70]
Generated Node #0,0,1: 52:[26, 70] Operation: 62+8=70
Exploring Operation: 62-8=54, Resulting Numbers: [26, 54]
Generated Node #0,0,2: 52:[26, 54] Operation: 62-8=54
Exploring Operation: 62-26=36, Resulting Numbers: [8, 36]
Generated Node #0,0,3: 52:[8, 36] Operation: 62-26=36
Exploring Operation: 8+26=34, Resulting Numbers: [62, 34]
Generated Node #0,0,4: 52:[62, 34] Operation: 8+26=34
Moving to Node #0,0,2
Current State: 52:[26, 54], Operations: ['46-20=26', '62-8=54']
Exploring Operation: 26*54=1404, Resulting Numbers: [1404]
1404,52 unequal: No Solution
Exploring Operation: 26+54=80, Resulting Numbers: [80]
80,52 unequal: No Solution
Exploring Operation: 54-26=28, Resulting Numbers: [28]
28,52 unequal: No Solution
Moving to Node #0,0,3
Current State: 52:[8, 36], Operations: ['46-20=26', '62-26=36']
Exploring Operation: 8*36=288, Resulting Numbers: [288]
288,52 unequal: No Solution
Exploring Operation: 8+36=44, Resulting Numbers: [44]
44,52 unequal: No Solution
Exploring Operation: 36-8=28, Resulting Numbers: [28]
28,52 unequal: No Solution
Moving to Node #0,0,0
Current State: 52:[62, 18], Operations: ['46-20=26', '26-8=18']
Exploring Operation: 62-18=44, Resulting Numbers: [44]
44,52 unequal: No Solution
Exploring Operation: 62*18=1116, Resulting Numbers: [1116]
1116,52 unequal: No Solution
Exploring Operation: 62+18=80, Resulting Numbers: [80]
80,52 unequal: No Solution
Moving to Node #0,0,1
Current State: 52:[26, 70], Operations: ['46-20=26', '62+8=70']
Exploring Operation: 70-26=44, Resulting Numbers: [44]
44,52 unequal: No Solution
Exploring Operation: 26*70=1820, Resulting Numbers: [1820]
1820,52 unequal: No Solution
Exploring Operation: 26+70=96, Resulting Numbers: [96]
96,52 unequal: No Solution
Moving to Node #0,0,4
Current State: 52:[62, 34], Operations: ['46-20=26', '8+26=34']
Exploring Operation: 62+34=96, Resulting Numbers: [96]
96,52 unequal: No Solution
Exploring Operation: 62*34=2108, Resulting Numbers: [2108]
2108,52 unequal: No Solution
Exploring Operation: 62-34=28, Resulting Numbers: [28]
28,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,4
Current State: 52:[20, 46, 54], Operations: ['62-8=54']
Exploring Operation: 20+54=74, Resulting Numbers: [46, 74]
Generated Node #0,4,0: 52:[46, 74] Operation: 20+54=74
Exploring Operation: 20+46=66, Resulting Numbers: [54, 66]
Generated Node #0,4,1: 52:[54, 66] Operation: 20+46=66
Exploring Operation: 54-20=34, Resulting Numbers: [46, 34]
Generated Node #0,4,2: 52:[46, 34] Operation: 54-20=34
Exploring Operation: 46-20=26, Resulting Numbers: [54, 26]
Generated Node #0,4,3: 52:[54, 26] Operation: 46-20=26
Exploring Operation: 54-46=8, Resulting Numbers: [20, 8]
Generated Node #0,4,4: 52:[20, 8] Operation: 54-46=8
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 52:[54, 26], Operations: ['62-8=54', '46-20=26']
Exploring Operation: 54+26=80, Resulting Numbers: [80]
80,52 unequal: No Solution
Exploring Operation: 54-26=28, Resulting Numbers: [28]
28,52 unequal: No Solution
Exploring Operation: 54*26=1404, Resulting Numbers: [1404]
1404,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 52:[20, 8], Operations: ['62-8=54', '54-46=8']
Exploring Operation: 20*8=160, Resulting Numbers: [160]
160,52 unequal: No Solution
Exploring Operation: 20+8=28, Resulting Numbers: [28]
28,52 unequal: No Solution
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 52:[46, 34], Operations: ['62-8=54', '54-20=34']
Exploring Operation: 46*34=1564, Resulting Numbers: [1564]
1564,52 unequal: No Solution
Exploring Operation: 46-34=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 46+34=80, Resulting Numbers: [80]
80,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 52:[54, 66], Operations: ['62-8=54', '20+46=66']
Exploring Operation: 66-54=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 54*66=3564, Resulting Numbers: [3564]
3564,52 unequal: No Solution
Exploring Operation: 54+66=120, Resulting Numbers: [120]
120,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 52:[46, 74], Operations: ['62-8=54', '20+54=74']
Exploring Operation: 46*74=3404, Resulting Numbers: [3404]
3404,52 unequal: No Solution
Exploring Operation: 74-46=28, Resulting Numbers: [28]
28,52 unequal: No Solution
Exploring Operation: 46+74=120, Resulting Numbers: [120]
120,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[46, 62, 12], Operations: ['20-8=12']
Exploring Operation: 46+12=58, Resulting Numbers: [62, 58]
Generated Node #0,1,0: 52:[62, 58] Operation: 46+12=58
Exploring Operation: 62-12=50, Resulting Numbers: [46, 50]
Generated Node #0,1,1: 52:[46, 50] Operation: 62-12=50
Exploring Operation: 46-12=34, Resulting Numbers: [62, 34]
Generated Node #0,1,2: 52:[62, 34] Operation: 46-12=34
Exploring Operation: 62+12=74, Resulting Numbers: [46, 74]
Generated Node #0,1,3: 52:[46, 74] Operation: 62+12=74
Exploring Operation: 62-46=16, Resulting Numbers: [12, 16]
Generated Node #0,1,4: 52:[12, 16] Operation: 62-46=16
Moving to Node #0,1,4
Current State: 52:[12, 16], Operations: ['20-8=12', '62-46=16']
Exploring Operation: 12*16=192, Resulting Numbers: [192]
192,52 unequal: No Solution
Exploring Operation: 12+16=28, Resulting Numbers: [28]
28,52 unequal: No Solution
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Moving to Node #0,1,1
Current State: 52:[46, 50], Operations: ['20-8=12', '62-12=50']
Exploring Operation: 46+50=96, Resulting Numbers: [96]
96,52 unequal: No Solution
Exploring Operation: 50-46=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 46*50=2300, Resulting Numbers: [2300]
2300,52 unequal: No Solution
Moving to Node #0,1,0
Current State: 52:[62, 58], Operations: ['20-8=12', '46+12=58']
Exploring Operation: 62*58=3596, Resulting Numbers: [3596]
3596,52 unequal: No Solution
Exploring Operation: 62-58=4, Resulting Numbers: [4]
4,52 unequal: No Solution
Exploring Operation: 62+58=120, Resulting Numbers: [120]
120,52 unequal: No Solution
Moving to Node #0,1,2
Current State: 52:[62, 34], Operations: ['20-8=12', '46-12=34']
Exploring Operation: 62*34=2108, Resulting Numbers: [2108]
2108,52 unequal: No Solution
Exploring Operation: 62+34=96, Resulting Numbers: [96]
96,52 unequal: No Solution
Exploring Operation: 62-34=28, Resulting Numbers: [28]
28,52 unequal: No Solution
Moving to Node #0,1,3
Current State: 52:[46, 74], Operations: ['20-8=12', '62+12=74']
Exploring Operation: 74-46=28, Resulting Numbers: [28]
28,52 unequal: No Solution
Exploring Operation: 46+74=120, Resulting Numbers: [120]
120,52 unequal: No Solution
Exploring Operation: 46*74=3404, Resulting Numbers: [3404]
3404,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,3
Current State: 52:[46, 62, 28], Operations: ['20+8=28']
Exploring Operation: 46+28=74, Resulting Numbers: [62, 74]
Generated Node #0,3,0: 52:[62, 74] Operation: 46+28=74
Exploring Operation: 62-28=34, Resulting Numbers: [46, 34]
Generated Node #0,3,1: 52:[46, 34] Operation: 62-28=34
Exploring Operation: 46-28=18, Resulting Numbers: [62, 18]
Generated Node #0,3,2: 52:[62, 18] Operation: 46-28=18
Exploring Operation: 62+28=90, Resulting Numbers: [46, 90]
Generated Node #0,3,3: 52:[46, 90] Operation: 62+28=90
Exploring Operation: 62-46=16, Resulting Numbers: [28, 16]
Generated Node #0,3,4: 52:[28, 16] Operation: 62-46=16
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 52:[28, 16], Operations: ['20+8=28', '62-46=16']
Exploring Operation: 28*16=448, Resulting Numbers: [448]
448,52 unequal: No Solution
Exploring Operation: 28+16=44, Resulting Numbers: [44]
44,52 unequal: No Solution
Exploring Operation: 28-16=12, Resulting Numbers: [12]
12,52 unequal: No Solution
No 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: 52:[46, 34], Operations: ['20+8=28', '62-28=34']
Exploring Operation: 46*34=1564, Resulting Numbers: [1564]
1564,52 unequal: No Solution
Exploring Operation: 46-34=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 46+34=80, Resulting Numbers: [80]
80,52 unequal: No Solution
No 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: 52:[62, 18], Operations: ['20+8=28', '46-28=18']
Exploring Operation: 62+18=80, Resulting Numbers: [80]
80,52 unequal: No Solution
Exploring Operation: 62-18=44, Resulting Numbers: [44]
44,52 unequal: No Solution
Exploring Operation: 62*18=1116, Resulting Numbers: [1116]
1116,52 unequal: No Solution
No 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: 52:[62, 74], Operations: ['20+8=28', '46+28=74']
Exploring Operation: 62*74=4588, Resulting Numbers: [4588]
4588,52 unequal: No Solution
Exploring Operation: 74-62=12, Resulting Numbers: [12]
12,52 unequal: No Solution
Exploring Operation: 62+74=136, Resulting Numbers: [136]
136,52 unequal: No Solution
No 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: 52:[46, 90], Operations: ['20+8=28', '62+28=90']
Exploring Operation: 46+90=136, Resulting Numbers: [136]
136,52 unequal: No Solution
Exploring Operation: 46*90=4140, Resulting Numbers: [4140]
4140,52 unequal: No Solution
Exploring Operation: 90-46=44, Resulting Numbers: [44]
44,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
79,
81,
1,
39
] | 39 | [
"81-79=2",
"2-1=1",
"39*1=39"
] | Current State: 39:[79, 81, 1, 39], Operations: []
Exploring Operation: 81-79=2, Resulting Numbers: [1, 39, 2]
Generated Node #2: [1, 39, 2] from Operation: 81-79=2
Current State: 39:[1, 39, 2], Operations: ['81-79=2']
Exploring Operation: 2-1=1, Resulting Numbers: [39, 1]
Generated Node #3: [39, 1] from Operation: 2-1=1
Current State: 39:[39, 1], Operations: ['81-79=2', '2-1=1']
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[79, 81, 1, 39], Operations: []
Exploring Operation: 79-39=40, Resulting Numbers: [81, 1, 40]
Generated Node #0,0: 39:[81, 1, 40] Operation: 79-39=40
Exploring Operation: 81-79=2, Resulting Numbers: [1, 39, 2]
Generated Node #0,1: 39:[1, 39, 2] Operation: 81-79=2
Moving to Node #0,1
Current State: 39:[1, 39, 2], Operations: ['81-79=2']
Exploring Operation: 1+2=3, Resulting Numbers: [39, 3]
Generated Node #0,1,0: 39:[39, 3] Operation: 1+2=3
Exploring Operation: 1*39=39, Resulting Numbers: [2, 39]
Generated Node #0,1,1: 39:[2, 39] Operation: 1*39=39
Moving to Node #0,0
Current State: 39:[81, 1, 40], Operations: ['79-39=40']
Exploring Operation: 81-40=41, Resulting Numbers: [1, 41]
Generated Node #0,0,0: 39:[1, 41] Operation: 81-40=41
Exploring Operation: 81-1=80, Resulting Numbers: [40, 80]
Generated Node #0,0,1: 39:[40, 80] Operation: 81-1=80
Moving to Node #0,1,0
Current State: 39:[39, 3], Operations: ['81-79=2', '1+2=3']
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,39 unequal: No Solution
Exploring Operation: 39+3=42, Resulting Numbers: [42]
42,39 unequal: No Solution
Moving to Node #0,1,1
Current State: 39:[2, 39], Operations: ['81-79=2', '1*39=39']
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,39 unequal: No Solution
Exploring Operation: 2+39=41, Resulting Numbers: [41]
41,39 unequal: No Solution
Moving to Node #0,0,0
Current State: 39:[1, 41], Operations: ['79-39=40', '81-40=41']
Exploring Operation: 1*41=41, Resulting Numbers: [41]
41,39 unequal: No Solution
Exploring Operation: 41-1=40, Resulting Numbers: [40]
40,39 unequal: No Solution
Moving to Node #0,0,1
Current State: 39:[40, 80], Operations: ['79-39=40', '81-1=80']
Exploring Operation: 80/40=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 80-40=40, Resulting Numbers: [40]
40,39 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
97,
23,
74,
33
] | 79 | [
"97+23=120",
"74-33=41",
"120-41=79"
] | Current State: 79:[97, 23, 74, 33], Operations: []
Exploring Operation: 97+23=120, Resulting Numbers: [74, 33, 120]
Generated Node #2: [74, 33, 120] from Operation: 97+23=120
Current State: 79:[74, 33, 120], Operations: ['97+23=120']
Exploring Operation: 74-33=41, Resulting Numbers: [120, 41]
Generated Node #3: [120, 41] from Operation: 74-33=41
Current State: 79:[120, 41], Operations: ['97+23=120', '74-33=41']
Exploring Operation: 120-41=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[97, 23, 74, 33], Operations: []
Exploring Operation: 23+33=56, Resulting Numbers: [97, 74, 56]
Generated Node #0,0: 79:[97, 74, 56] Operation: 23+33=56
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[97, 74, 56], Operations: ['23+33=56']
Exploring Operation: 97-56=41, Resulting Numbers: [74, 41]
Generated Node #0,0,0: 79:[74, 41] Operation: 97-56=41
Moving to Node #0,0,0
Current State: 79:[74, 41], Operations: ['23+33=56', '97-56=41']
Exploring Operation: 74+41=115, Resulting Numbers: [115]
115,79 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 |
[
38,
54,
39,
3
] | 52 | [
"54-38=16",
"39-3=36",
"16+36=52"
] | Current State: 52:[38, 54, 39, 3], Operations: []
Exploring Operation: 54-38=16, Resulting Numbers: [39, 3, 16]
Generated Node #2: [39, 3, 16] from Operation: 54-38=16
Current State: 52:[39, 3, 16], Operations: ['54-38=16']
Exploring Operation: 39-3=36, Resulting Numbers: [16, 36]
Generated Node #3: [16, 36] from Operation: 39-3=36
Current State: 52:[16, 36], Operations: ['54-38=16', '39-3=36']
Exploring Operation: 16+36=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[38, 54, 39, 3], Operations: []
Exploring Operation: 54-39=15, Resulting Numbers: [38, 3, 15]
Generated Node #0,0: 52:[38, 3, 15] Operation: 54-39=15
Exploring Operation: 39/3=13, Resulting Numbers: [38, 54, 13]
Generated Node #0,1: 52:[38, 54, 13] Operation: 39/3=13
Exploring Operation: 39-38=1, Resulting Numbers: [54, 3, 1]
Generated Node #0,2: 52:[54, 3, 1] Operation: 39-38=1
Exploring Operation: 54-38=16, Resulting Numbers: [39, 3, 16]
Generated Node #0,3: 52:[39, 3, 16] Operation: 54-38=16
Start Sub Search at level 1: Moving to Node #0,2
Current State: 52:[54, 3, 1], Operations: ['39-38=1']
Exploring Operation: 3-1=2, Resulting Numbers: [54, 2]
Generated Node #0,2,0: 52:[54, 2] Operation: 3-1=2
Exploring Operation: 3+1=4, Resulting Numbers: [54, 4]
Generated Node #0,2,1: 52:[54, 4] Operation: 3+1=4
Exploring Operation: 54-3=51, Resulting Numbers: [1, 51]
Generated Node #0,2,2: 52:[1, 51] Operation: 54-3=51
Exploring Operation: 54-1=53, Resulting Numbers: [3, 53]
Generated Node #0,2,3: 52:[3, 53] Operation: 54-1=53
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 52:[54, 2], Operations: ['39-38=1', '3-1=2']
Exploring Operation: 54+2=56, Resulting Numbers: [56]
56,52 unequal: No Solution
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,52 unequal: No Solution
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[38, 54, 39, 3], Operations: []
Exploring Operation: 39-38=1, Resulting Numbers: [54, 3, 1]
Generated Node #0,2: 52:[54, 3, 1] Operation: 39-38=1
Moving to Node #0,2
Current State: 52:[54, 3, 1], Operations: ['39-38=1']
Exploring Operation: 3-1=2, Resulting Numbers: [54, 2]
Generated Node #0,2,0: 52:[54, 2] Operation: 3-1=2
Moving to Node #0,2,0
Current State: 52:[54, 2], Operations: ['39-38=1', '3-1=2']
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
17,
67,
2,
81
] | 18 | [
"17+81=98",
"98/2=49",
"67-49=18"
] | Current State: 18:[17, 67, 2, 81], Operations: []
Exploring Operation: 17+81=98, Resulting Numbers: [67, 2, 98]
Generated Node #2: [67, 2, 98] from Operation: 17+81=98
Current State: 18:[67, 2, 98], Operations: ['17+81=98']
Exploring Operation: 98/2=49, Resulting Numbers: [67, 49]
Generated Node #3: [67, 49] from Operation: 98/2=49
Current State: 18:[67, 49], Operations: ['17+81=98', '98/2=49']
Exploring Operation: 67-49=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[17, 67, 2, 81], Operations: []
Exploring Operation: 81-67=14, Resulting Numbers: [17, 2, 14]
Generated Node #0,0: 18:[17, 2, 14] Operation: 81-67=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[17, 2, 14], Operations: ['81-67=14']
Exploring Operation: 17-14=3, Resulting Numbers: [2, 3]
Generated Node #0,0,0: 18:[2, 3] Operation: 17-14=3
Moving to Node #0,0,0
Current State: 18:[2, 3], Operations: ['81-67=14', '17-14=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,18 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 |
[
78,
3,
82,
28
] | 100 | [
"82-78=4",
"28-3=25",
"4*25=100"
] | Current State: 100:[78, 3, 82, 28], Operations: []
Exploring Operation: 82-78=4, Resulting Numbers: [3, 28, 4]
Generated Node #2: [3, 28, 4] from Operation: 82-78=4
Current State: 100:[3, 28, 4], Operations: ['82-78=4']
Exploring Operation: 28-3=25, Resulting Numbers: [4, 25]
Generated Node #3: [4, 25] from Operation: 28-3=25
Current State: 100:[4, 25], Operations: ['82-78=4', '28-3=25']
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[78, 3, 82, 28], Operations: []
Exploring Operation: 82-78=4, Resulting Numbers: [3, 28, 4]
Generated Node #0,0: 100:[3, 28, 4] Operation: 82-78=4
Moving to Node #0,0
Current State: 100:[3, 28, 4], Operations: ['82-78=4']
Exploring Operation: 28-3=25, Resulting Numbers: [4, 25]
Generated Node #0,0,0: 100:[4, 25] Operation: 28-3=25
Moving to Node #0,0,0
Current State: 100:[4, 25], Operations: ['82-78=4', '28-3=25']
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[78, 3, 82, 28], Operations: []
Exploring Operation: 82-78=4, Resulting Numbers: [3, 28, 4]
Generated Node #0,0: 100:[3, 28, 4] Operation: 82-78=4
Moving to Node #0,0
Current State: 100:[3, 28, 4], Operations: ['82-78=4']
Exploring Operation: 28-3=25, Resulting Numbers: [4, 25]
Generated Node #0,0,0: 100:[4, 25] Operation: 28-3=25
Moving to Node #0,0,0
Current State: 100:[4, 25], Operations: ['82-78=4', '28-3=25']
Exploring Operation: 4*25=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
50,
62,
4,
27
] | 89 | [
"50+62=112",
"27-4=23",
"112-23=89"
] | Current State: 89:[50, 62, 4, 27], Operations: []
Exploring Operation: 50+62=112, Resulting Numbers: [4, 27, 112]
Generated Node #2: [4, 27, 112] from Operation: 50+62=112
Current State: 89:[4, 27, 112], Operations: ['50+62=112']
Exploring Operation: 27-4=23, Resulting Numbers: [112, 23]
Generated Node #3: [112, 23] from Operation: 27-4=23
Current State: 89:[112, 23], Operations: ['50+62=112', '27-4=23']
Exploring Operation: 112-23=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[50, 62, 4, 27], Operations: []
Exploring Operation: 4*27=108, Resulting Numbers: [50, 62, 108]
Generated Node #0,0: 89:[50, 62, 108] Operation: 4*27=108
Exploring Operation: 50+4=54, Resulting Numbers: [62, 27, 54]
Generated Node #0,1: 89:[62, 27, 54] Operation: 50+4=54
Moving to Node #0,0
Current State: 89:[50, 62, 108], Operations: ['4*27=108']
Exploring Operation: 108-50=58, Resulting Numbers: [62, 58]
Generated Node #0,0,0: 89:[62, 58] Operation: 108-50=58
Exploring Operation: 50+62=112, Resulting Numbers: [108, 112]
Generated Node #0,0,1: 89:[108, 112] Operation: 50+62=112
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 89:[108, 112], Operations: ['4*27=108', '50+62=112']
Exploring Operation: 108+112=220, Resulting Numbers: [220]
220,89 unequal: No Solution
Exploring Operation: 112-108=4, Resulting Numbers: [4]
4,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[62, 58], Operations: ['4*27=108', '108-50=58']
Exploring Operation: 62+58=120, Resulting Numbers: [120]
120,89 unequal: No Solution
Exploring Operation: 62-58=4, Resulting Numbers: [4]
4,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 89:[62, 27, 54], Operations: ['50+4=54']
Exploring Operation: 62+27=89, Resulting Numbers: [54, 89]
Generated Node #0,1,0: 89:[54, 89] Operation: 62+27=89
Exploring Operation: 27+54=81, Resulting Numbers: [62, 81]
Generated Node #0,1,1: 89:[62, 81] Operation: 27+54=81
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 89:[54, 89], Operations: ['50+4=54', '62+27=89']
Exploring Operation: 54+89=143, Resulting Numbers: [143]
143,89 unequal: No Solution
Exploring Operation: 89-54=35, Resulting Numbers: [35]
35,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 89:[62, 81], Operations: ['50+4=54', '27+54=81']
Exploring Operation: 62+81=143, Resulting Numbers: [143]
143,89 unequal: No Solution
Exploring Operation: 81-62=19, Resulting Numbers: [19]
19,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 |
[
72,
9,
56,
61
] | 86 | [
"72+9=81",
"61-56=5",
"81+5=86"
] | Current State: 86:[72, 9, 56, 61], Operations: []
Exploring Operation: 72+9=81, Resulting Numbers: [56, 61, 81]
Generated Node #2: [56, 61, 81] from Operation: 72+9=81
Current State: 86:[56, 61, 81], Operations: ['72+9=81']
Exploring Operation: 61-56=5, Resulting Numbers: [81, 5]
Generated Node #3: [81, 5] from Operation: 61-56=5
Current State: 86:[81, 5], Operations: ['72+9=81', '61-56=5']
Exploring Operation: 81+5=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[72, 9, 56, 61], Operations: []
Exploring Operation: 56-9=47, Resulting Numbers: [72, 61, 47]
Generated Node #0,0: 86:[72, 61, 47] Operation: 56-9=47
Exploring Operation: 61-56=5, Resulting Numbers: [72, 9, 5]
Generated Node #0,1: 86:[72, 9, 5] Operation: 61-56=5
Exploring Operation: 72+9=81, Resulting Numbers: [56, 61, 81]
Generated Node #0,2: 86:[56, 61, 81] Operation: 72+9=81
Exploring Operation: 72-61=11, Resulting Numbers: [9, 56, 11]
Generated Node #0,3: 86:[9, 56, 11] Operation: 72-61=11
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[72, 9, 5], Operations: ['61-56=5']
Exploring Operation: 9*5=45, Resulting Numbers: [72, 45]
Generated Node #0,1,0: 86:[72, 45] Operation: 9*5=45
Exploring Operation: 72/9=8, Resulting Numbers: [5, 8]
Generated Node #0,1,1: 86:[5, 8] Operation: 72/9=8
Exploring Operation: 72+5=77, Resulting Numbers: [9, 77]
Generated Node #0,1,2: 86:[9, 77] Operation: 72+5=77
Exploring Operation: 72+9=81, Resulting Numbers: [5, 81]
Generated Node #0,1,3: 86:[5, 81] Operation: 72+9=81
Moving to Node #0,1,3
Current State: 86:[5, 81], Operations: ['61-56=5', '72+9=81']
Exploring Operation: 81-5=76, Resulting Numbers: [76]
76,86 unequal: No Solution
Exploring Operation: 5+81=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[72, 9, 56, 61], Operations: []
Exploring Operation: 61-56=5, Resulting Numbers: [72, 9, 5]
Generated Node #0,1: 86:[72, 9, 5] Operation: 61-56=5
Moving to Node #0,1
Current State: 86:[72, 9, 5], Operations: ['61-56=5']
Exploring Operation: 72+9=81, Resulting Numbers: [5, 81]
Generated Node #0,1,3: 86:[5, 81] Operation: 72+9=81
Moving to Node #0,1,3
Current State: 86:[5, 81], Operations: ['61-56=5', '72+9=81']
Exploring Operation: 5+81=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
10,
19,
53,
49
] | 59 | [
"53-49=4",
"10*4=40",
"19+40=59"
] | Current State: 59:[10, 19, 53, 49], Operations: []
Exploring Operation: 53-49=4, Resulting Numbers: [10, 19, 4]
Generated Node #2: [10, 19, 4] from Operation: 53-49=4
Current State: 59:[10, 19, 4], Operations: ['53-49=4']
Exploring Operation: 10*4=40, Resulting Numbers: [19, 40]
Generated Node #3: [19, 40] from Operation: 10*4=40
Current State: 59:[19, 40], Operations: ['53-49=4', '10*4=40']
Exploring Operation: 19+40=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[10, 19, 53, 49], Operations: []
Exploring Operation: 10+49=59, Resulting Numbers: [19, 53, 59]
Generated Node #0,0: 59:[19, 53, 59] Operation: 10+49=59
Exploring Operation: 10+19=29, Resulting Numbers: [53, 49, 29]
Generated Node #0,1: 59:[53, 49, 29] Operation: 10+19=29
Exploring Operation: 10+53=63, Resulting Numbers: [19, 49, 63]
Generated Node #0,2: 59:[19, 49, 63] Operation: 10+53=63
Exploring Operation: 19-10=9, Resulting Numbers: [53, 49, 9]
Generated Node #0,3: 59:[53, 49, 9] Operation: 19-10=9
Exploring Operation: 19+49=68, Resulting Numbers: [10, 53, 68]
Generated Node #0,4: 59:[10, 53, 68] Operation: 19+49=68
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[19, 53, 59], Operations: ['10+49=59']
Exploring Operation: 53+59=112, Resulting Numbers: [19, 112]
Generated Node #0,0,0: 59:[19, 112] Operation: 53+59=112
Exploring Operation: 59-19=40, Resulting Numbers: [53, 40]
Generated Node #0,0,1: 59:[53, 40] Operation: 59-19=40
Exploring Operation: 19+59=78, Resulting Numbers: [53, 78]
Generated Node #0,0,2: 59:[53, 78] Operation: 19+59=78
Exploring Operation: 19+53=72, Resulting Numbers: [59, 72]
Generated Node #0,0,3: 59:[59, 72] Operation: 19+53=72
Exploring Operation: 53-19=34, Resulting Numbers: [59, 34]
Generated Node #0,0,4: 59:[59, 34] Operation: 53-19=34
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 59:[59, 72], Operations: ['10+49=59', '19+53=72']
Exploring Operation: 59*72=4248, Resulting Numbers: [4248]
4248,59 unequal: No Solution
Exploring Operation: 72-59=13, Resulting Numbers: [13]
13,59 unequal: No Solution
Exploring Operation: 59+72=131, Resulting Numbers: [131]
131,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 59:[53, 40], Operations: ['10+49=59', '59-19=40']
Exploring Operation: 53*40=2120, Resulting Numbers: [2120]
2120,59 unequal: No Solution
Exploring Operation: 53-40=13, Resulting Numbers: [13]
13,59 unequal: No Solution
Exploring Operation: 53+40=93, Resulting Numbers: [93]
93,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 59:[53, 78], Operations: ['10+49=59', '19+59=78']
Exploring Operation: 78-53=25, Resulting Numbers: [25]
25,59 unequal: No Solution
Exploring Operation: 53*78=4134, Resulting Numbers: [4134]
4134,59 unequal: No Solution
Exploring Operation: 53+78=131, Resulting Numbers: [131]
131,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 59:[59, 34], Operations: ['10+49=59', '53-19=34']
Exploring Operation: 59-34=25, Resulting Numbers: [25]
25,59 unequal: No Solution
Exploring Operation: 59*34=2006, Resulting Numbers: [2006]
2006,59 unequal: No Solution
Exploring Operation: 59+34=93, Resulting Numbers: [93]
93,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 59:[19, 112], Operations: ['10+49=59', '53+59=112']
Exploring Operation: 19*112=2128, Resulting Numbers: [2128]
2128,59 unequal: No Solution
Exploring Operation: 19+112=131, Resulting Numbers: [131]
131,59 unequal: No Solution
Exploring Operation: 112-19=93, Resulting Numbers: [93]
93,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[53, 49, 29], Operations: ['10+19=29']
Exploring Operation: 53+49=102, Resulting Numbers: [29, 102]
Generated Node #0,1,0: 59:[29, 102] Operation: 53+49=102
Exploring Operation: 49+29=78, Resulting Numbers: [53, 78]
Generated Node #0,1,1: 59:[53, 78] Operation: 49+29=78
Exploring Operation: 53+29=82, Resulting Numbers: [49, 82]
Generated Node #0,1,2: 59:[49, 82] Operation: 53+29=82
Exploring Operation: 53-29=24, Resulting Numbers: [49, 24]
Generated Node #0,1,3: 59:[49, 24] Operation: 53-29=24
Exploring Operation: 49-29=20, Resulting Numbers: [53, 20]
Generated Node #0,1,4: 59:[53, 20] Operation: 49-29=20
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 59:[53, 78], Operations: ['10+19=29', '49+29=78']
Exploring Operation: 53+78=131, Resulting Numbers: [131]
131,59 unequal: No Solution
Exploring Operation: 53*78=4134, Resulting Numbers: [4134]
4134,59 unequal: No Solution
Exploring Operation: 78-53=25, Resulting Numbers: [25]
25,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:[49, 82], Operations: ['10+19=29', '53+29=82']
Exploring Operation: 49*82=4018, Resulting Numbers: [4018]
4018,59 unequal: No Solution
Exploring Operation: 82-49=33, Resulting Numbers: [33]
33,59 unequal: No Solution
Exploring Operation: 49+82=131, Resulting Numbers: [131]
131,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:[49, 24], Operations: ['10+19=29', '53-29=24']
Exploring Operation: 49+24=73, Resulting Numbers: [73]
73,59 unequal: No Solution
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,59 unequal: No Solution
Exploring Operation: 49*24=1176, Resulting Numbers: [1176]
1176,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,4
Current State: 59:[53, 20], Operations: ['10+19=29', '49-29=20']
Exploring Operation: 53-20=33, Resulting Numbers: [33]
33,59 unequal: No Solution
Exploring Operation: 53*20=1060, Resulting Numbers: [1060]
1060,59 unequal: No Solution
Exploring Operation: 53+20=73, Resulting Numbers: [73]
73,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:[29, 102], Operations: ['10+19=29', '53+49=102']
Exploring Operation: 29*102=2958, Resulting Numbers: [2958]
2958,59 unequal: No Solution
Exploring Operation: 102-29=73, Resulting Numbers: [73]
73,59 unequal: No Solution
Exploring Operation: 29+102=131, Resulting Numbers: [131]
131,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:[19, 49, 63], Operations: ['10+53=63']
Exploring Operation: 63-49=14, Resulting Numbers: [19, 14]
Generated Node #0,2,0: 59:[19, 14] Operation: 63-49=14
Exploring Operation: 63-19=44, Resulting Numbers: [49, 44]
Generated Node #0,2,1: 59:[49, 44] Operation: 63-19=44
Exploring Operation: 19+63=82, Resulting Numbers: [49, 82]
Generated Node #0,2,2: 59:[49, 82] Operation: 19+63=82
Exploring Operation: 49-19=30, Resulting Numbers: [63, 30]
Generated Node #0,2,3: 59:[63, 30] Operation: 49-19=30
Exploring Operation: 19+49=68, Resulting Numbers: [63, 68]
Generated Node #0,2,4: 59:[63, 68] Operation: 19+49=68
Moving to Node #0,2,4
Current State: 59:[63, 68], Operations: ['10+53=63', '19+49=68']
Exploring Operation: 63*68=4284, Resulting Numbers: [4284]
4284,59 unequal: No Solution
Exploring Operation: 63+68=131, Resulting Numbers: [131]
131,59 unequal: No Solution
Exploring Operation: 68-63=5, Resulting Numbers: [5]
5,59 unequal: No Solution
Moving to Node #0,2,1
Current State: 59:[49, 44], Operations: ['10+53=63', '63-19=44']
Exploring Operation: 49*44=2156, Resulting Numbers: [2156]
2156,59 unequal: No Solution
Exploring Operation: 49-44=5, Resulting Numbers: [5]
5,59 unequal: No Solution
Exploring Operation: 49+44=93, Resulting Numbers: [93]
93,59 unequal: No Solution
Moving to Node #0,2,2
Current State: 59:[49, 82], Operations: ['10+53=63', '19+63=82']
Exploring Operation: 49*82=4018, Resulting Numbers: [4018]
4018,59 unequal: No Solution
Exploring Operation: 82-49=33, Resulting Numbers: [33]
33,59 unequal: No Solution
Exploring Operation: 49+82=131, Resulting Numbers: [131]
131,59 unequal: No Solution
Moving to Node #0,2,3
Current State: 59:[63, 30], Operations: ['10+53=63', '49-19=30']
Exploring Operation: 63-30=33, Resulting Numbers: [33]
33,59 unequal: No Solution
Exploring Operation: 63*30=1890, Resulting Numbers: [1890]
1890,59 unequal: No Solution
Exploring Operation: 63+30=93, Resulting Numbers: [93]
93,59 unequal: No Solution
Moving to Node #0,2,0
Current State: 59:[19, 14], Operations: ['10+53=63', '63-49=14']
Exploring Operation: 19*14=266, Resulting Numbers: [266]
266,59 unequal: No Solution
Exploring Operation: 19+14=33, Resulting Numbers: [33]
33,59 unequal: No Solution
Exploring Operation: 19-14=5, Resulting Numbers: [5]
5,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,4
Current State: 59:[10, 53, 68], Operations: ['19+49=68']
Exploring Operation: 10+68=78, Resulting Numbers: [53, 78]
Generated Node #0,4,0: 59:[53, 78] Operation: 10+68=78
Exploring Operation: 68-10=58, Resulting Numbers: [53, 58]
Generated Node #0,4,1: 59:[53, 58] Operation: 68-10=58
Exploring Operation: 68-53=15, Resulting Numbers: [10, 15]
Generated Node #0,4,2: 59:[10, 15] Operation: 68-53=15
Exploring Operation: 53-10=43, Resulting Numbers: [68, 43]
Generated Node #0,4,3: 59:[68, 43] Operation: 53-10=43
Exploring Operation: 10+53=63, Resulting Numbers: [68, 63]
Generated Node #0,4,4: 59:[68, 63] Operation: 10+53=63
Moving to Node #0,4,1
Current State: 59:[53, 58], Operations: ['19+49=68', '68-10=58']
Exploring Operation: 53*58=3074, Resulting Numbers: [3074]
3074,59 unequal: No Solution
Exploring Operation: 58-53=5, Resulting Numbers: [5]
5,59 unequal: No Solution
Exploring Operation: 53+58=111, Resulting Numbers: [111]
111,59 unequal: No Solution
Moving to Node #0,4,4
Current State: 59:[68, 63], Operations: ['19+49=68', '10+53=63']
Exploring Operation: 68*63=4284, Resulting Numbers: [4284]
4284,59 unequal: No Solution
Exploring Operation: 68+63=131, Resulting Numbers: [131]
131,59 unequal: No Solution
Exploring Operation: 68-63=5, Resulting Numbers: [5]
5,59 unequal: No Solution
Moving to Node #0,4,0
Current State: 59:[53, 78], Operations: ['19+49=68', '10+68=78']
Exploring Operation: 53*78=4134, Resulting Numbers: [4134]
4134,59 unequal: No Solution
Exploring Operation: 53+78=131, Resulting Numbers: [131]
131,59 unequal: No Solution
Exploring Operation: 78-53=25, Resulting Numbers: [25]
25,59 unequal: No Solution
Moving to Node #0,4,3
Current State: 59:[68, 43], Operations: ['19+49=68', '53-10=43']
Exploring Operation: 68-43=25, Resulting Numbers: [25]
25,59 unequal: No Solution
Exploring Operation: 68+43=111, Resulting Numbers: [111]
111,59 unequal: No Solution
Exploring Operation: 68*43=2924, Resulting Numbers: [2924]
2924,59 unequal: No Solution
Moving to Node #0,4,2
Current State: 59:[10, 15], Operations: ['19+49=68', '68-53=15']
Exploring Operation: 10+15=25, Resulting Numbers: [25]
25,59 unequal: No Solution
Exploring Operation: 15-10=5, Resulting Numbers: [5]
5,59 unequal: No Solution
Exploring Operation: 10*15=150, Resulting Numbers: [150]
150,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 59:[53, 49, 9], Operations: ['19-10=9']
Exploring Operation: 49-9=40, Resulting Numbers: [53, 40]
Generated Node #0,3,0: 59:[53, 40] Operation: 49-9=40
Exploring Operation: 53+9=62, Resulting Numbers: [49, 62]
Generated Node #0,3,1: 59:[49, 62] Operation: 53+9=62
Exploring Operation: 53+49=102, Resulting Numbers: [9, 102]
Generated Node #0,3,2: 59:[9, 102] Operation: 53+49=102
Exploring Operation: 53-9=44, Resulting Numbers: [49, 44]
Generated Node #0,3,3: 59:[49, 44] Operation: 53-9=44
Exploring Operation: 49+9=58, Resulting Numbers: [53, 58]
Generated Node #0,3,4: 59:[53, 58] Operation: 49+9=58
Moving to Node #0,3,4
Current State: 59:[53, 58], Operations: ['19-10=9', '49+9=58']
Exploring Operation: 53+58=111, Resulting Numbers: [111]
111,59 unequal: No Solution
Exploring Operation: 58-53=5, Resulting Numbers: [5]
5,59 unequal: No Solution
Exploring Operation: 53*58=3074, Resulting Numbers: [3074]
3074,59 unequal: No Solution
Moving to Node #0,3,1
Current State: 59:[49, 62], Operations: ['19-10=9', '53+9=62']
Exploring Operation: 49*62=3038, Resulting Numbers: [3038]
3038,59 unequal: No Solution
Exploring Operation: 62-49=13, Resulting Numbers: [13]
13,59 unequal: No Solution
Exploring Operation: 49+62=111, Resulting Numbers: [111]
111,59 unequal: No Solution
Moving to Node #0,3,0
Current State: 59:[53, 40], Operations: ['19-10=9', '49-9=40']
Exploring Operation: 53+40=93, Resulting Numbers: [93]
93,59 unequal: No Solution
Exploring Operation: 53*40=2120, Resulting Numbers: [2120]
2120,59 unequal: No Solution
Exploring Operation: 53-40=13, Resulting Numbers: [13]
13,59 unequal: No Solution
Moving to Node #0,3,3
Current State: 59:[49, 44], Operations: ['19-10=9', '53-9=44']
Exploring Operation: 49-44=5, Resulting Numbers: [5]
5,59 unequal: No Solution
Exploring Operation: 49+44=93, Resulting Numbers: [93]
93,59 unequal: No Solution
Exploring Operation: 49*44=2156, Resulting Numbers: [2156]
2156,59 unequal: No Solution
Moving to Node #0,3,2
Current State: 59:[9, 102], Operations: ['19-10=9', '53+49=102']
Exploring Operation: 9+102=111, Resulting Numbers: [111]
111,59 unequal: No Solution
Exploring Operation: 9*102=918, Resulting Numbers: [918]
918,59 unequal: No Solution
Exploring Operation: 102-9=93, Resulting Numbers: [93]
93,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
11,
32,
58,
46
] | 61 | [
"11+32=43",
"58+46=104",
"104-43=61"
] | Current State: 61:[11, 32, 58, 46], Operations: []
Exploring Operation: 11+32=43, Resulting Numbers: [58, 46, 43]
Generated Node #2: [58, 46, 43] from Operation: 11+32=43
Current State: 61:[58, 46, 43], Operations: ['11+32=43']
Exploring Operation: 58+46=104, Resulting Numbers: [43, 104]
Generated Node #3: [43, 104] from Operation: 58+46=104
Current State: 61:[43, 104], Operations: ['11+32=43', '58+46=104']
Exploring Operation: 104-43=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[11, 32, 58, 46], Operations: []
Exploring Operation: 11+32=43, Resulting Numbers: [58, 46, 43]
Generated Node #0,0: 61:[58, 46, 43] Operation: 11+32=43
Exploring Operation: 11+58=69, Resulting Numbers: [32, 46, 69]
Generated Node #0,1: 61:[32, 46, 69] Operation: 11+58=69
Exploring Operation: 11+46=57, Resulting Numbers: [32, 58, 57]
Generated Node #0,2: 61:[32, 58, 57] Operation: 11+46=57
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[58, 46, 43], Operations: ['11+32=43']
Exploring Operation: 46+43=89, Resulting Numbers: [58, 89]
Generated Node #0,0,0: 61:[58, 89] Operation: 46+43=89
Exploring Operation: 58+43=101, Resulting Numbers: [46, 101]
Generated Node #0,0,1: 61:[46, 101] Operation: 58+43=101
Exploring Operation: 58+46=104, Resulting Numbers: [43, 104]
Generated Node #0,0,2: 61:[43, 104] Operation: 58+46=104
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 61:[58, 89], Operations: ['11+32=43', '46+43=89']
Exploring Operation: 89-58=31, Resulting Numbers: [31]
31,61 unequal: No Solution
Exploring Operation: 58*89=5162, Resulting Numbers: [5162]
5162,61 unequal: No Solution
Exploring Operation: 58+89=147, Resulting Numbers: [147]
147,61 unequal: No Solution
No 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: 61:[46, 101], Operations: ['11+32=43', '58+43=101']
Exploring Operation: 46*101=4646, Resulting Numbers: [4646]
4646,61 unequal: No Solution
Exploring Operation: 101-46=55, Resulting Numbers: [55]
55,61 unequal: No Solution
Exploring Operation: 46+101=147, Resulting Numbers: [147]
147,61 unequal: No Solution
No 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: 61:[43, 104], Operations: ['11+32=43', '58+46=104']
Exploring Operation: 43*104=4472, Resulting Numbers: [4472]
4472,61 unequal: No Solution
Exploring Operation: 43+104=147, Resulting Numbers: [147]
147,61 unequal: No Solution
Exploring Operation: 104-43=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Moving to Node #0
Current State: 61:[11, 32, 58, 46], Operations: []
Exploring Operation: 11+32=43, Resulting Numbers: [58, 46, 43]
Generated Node #0,0: 61:[58, 46, 43] Operation: 11+32=43
Moving to Node #0,0
Current State: 61:[58, 46, 43], Operations: ['11+32=43']
Exploring Operation: 58+46=104, Resulting Numbers: [43, 104]
Generated Node #0,0,2: 61:[43, 104] Operation: 58+46=104
Moving to Node #0,0,2
Current State: 61:[43, 104], Operations: ['11+32=43', '58+46=104']
Exploring Operation: 104-43=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_3 | mult_heuristic |
[
93,
87,
87,
52
] | 52 | [
"87-87=0",
"93*0=0",
"52+0=52"
] | Current State: 52:[93, 87, 87, 52], Operations: []
Exploring Operation: 87-87=0, Resulting Numbers: [93, 52, 0]
Generated Node #2: [93, 52, 0] from Operation: 87-87=0
Current State: 52:[93, 52, 0], Operations: ['87-87=0']
Exploring Operation: 93*0=0, Resulting Numbers: [52, 0]
Generated Node #3: [52, 0] from Operation: 93*0=0
Current State: 52:[52, 0], Operations: ['87-87=0', '93*0=0']
Exploring Operation: 52+0=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[93, 87, 87, 52], Operations: []
Exploring Operation: 93-87=6, Resulting Numbers: [87, 52, 6]
Generated Node #0,0: 52:[87, 52, 6] Operation: 93-87=6
Exploring Operation: 87/87=1, Resulting Numbers: [93, 52, 1]
Generated Node #0,1: 52:[93, 52, 1] Operation: 87/87=1
Exploring Operation: 93-87=6, Resulting Numbers: [87, 52, 6]
Generated Node #0,2: 52:[87, 52, 6] Operation: 93-87=6
Exploring Operation: 87-87=0, Resulting Numbers: [93, 52, 0]
Generated Node #0,3: 52:[93, 52, 0] Operation: 87-87=0
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[87, 52, 6], Operations: ['93-87=6']
Exploring Operation: 87-6=81, Resulting Numbers: [52, 81]
Generated Node #0,0,0: 52:[52, 81] Operation: 87-6=81
Exploring Operation: 87+6=93, Resulting Numbers: [52, 93]
Generated Node #0,0,1: 52:[52, 93] Operation: 87+6=93
Exploring Operation: 87-52=35, Resulting Numbers: [6, 35]
Generated Node #0,0,2: 52:[6, 35] Operation: 87-52=35
Exploring Operation: 52+6=58, Resulting Numbers: [87, 58]
Generated Node #0,0,3: 52:[87, 58] Operation: 52+6=58
Moving to Node #0,0,2
Current State: 52:[6, 35], Operations: ['93-87=6', '87-52=35']
Exploring Operation: 6+35=41, Resulting Numbers: [41]
41,52 unequal: No Solution
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,52 unequal: No Solution
Exploring Operation: 6*35=210, Resulting Numbers: [210]
210,52 unequal: No Solution
Moving to Node #0,0,0
Current State: 52:[52, 81], Operations: ['93-87=6', '87-6=81']
Exploring Operation: 52+81=133, Resulting Numbers: [133]
133,52 unequal: No Solution
Exploring Operation: 81-52=29, Resulting Numbers: [29]
29,52 unequal: No Solution
Exploring Operation: 52*81=4212, Resulting Numbers: [4212]
4212,52 unequal: No Solution
Moving to Node #0,0,3
Current State: 52:[87, 58], Operations: ['93-87=6', '52+6=58']
Exploring Operation: 87-58=29, Resulting Numbers: [29]
29,52 unequal: No Solution
Exploring Operation: 87+58=145, Resulting Numbers: [145]
145,52 unequal: No Solution
Exploring Operation: 87*58=5046, Resulting Numbers: [5046]
5046,52 unequal: No Solution
Moving to Node #0,0,1
Current State: 52:[52, 93], Operations: ['93-87=6', '87+6=93']
Exploring Operation: 52+93=145, Resulting Numbers: [145]
145,52 unequal: No Solution
Exploring Operation: 93-52=41, Resulting Numbers: [41]
41,52 unequal: No Solution
Exploring Operation: 52*93=4836, Resulting Numbers: [4836]
4836,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,2
Current State: 52:[87, 52, 6], Operations: ['93-87=6']
Exploring Operation: 87+6=93, Resulting Numbers: [52, 93]
Generated Node #0,2,0: 52:[52, 93] Operation: 87+6=93
Exploring Operation: 87-52=35, Resulting Numbers: [6, 35]
Generated Node #0,2,1: 52:[6, 35] Operation: 87-52=35
Exploring Operation: 87-6=81, Resulting Numbers: [52, 81]
Generated Node #0,2,2: 52:[52, 81] Operation: 87-6=81
Exploring Operation: 52+6=58, Resulting Numbers: [87, 58]
Generated Node #0,2,3: 52:[87, 58] Operation: 52+6=58
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 52:[6, 35], Operations: ['93-87=6', '87-52=35']
Exploring Operation: 6+35=41, Resulting Numbers: [41]
41,52 unequal: No Solution
Exploring Operation: 6*35=210, Resulting Numbers: [210]
210,52 unequal: No Solution
Exploring Operation: 35-6=29, Resulting Numbers: [29]
29,52 unequal: No Solution
No 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: 52:[52, 81], Operations: ['93-87=6', '87-6=81']
Exploring Operation: 52*81=4212, Resulting Numbers: [4212]
4212,52 unequal: No Solution
Exploring Operation: 81-52=29, Resulting Numbers: [29]
29,52 unequal: No Solution
Exploring Operation: 52+81=133, Resulting Numbers: [133]
133,52 unequal: No Solution
No 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: 52:[52, 93], Operations: ['93-87=6', '87+6=93']
Exploring Operation: 52*93=4836, Resulting Numbers: [4836]
4836,52 unequal: No Solution
Exploring Operation: 52+93=145, Resulting Numbers: [145]
145,52 unequal: No Solution
Exploring Operation: 93-52=41, Resulting Numbers: [41]
41,52 unequal: No Solution
No 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: 52:[87, 58], Operations: ['93-87=6', '52+6=58']
Exploring Operation: 87*58=5046, Resulting Numbers: [5046]
5046,52 unequal: No Solution
Exploring Operation: 87+58=145, Resulting Numbers: [145]
145,52 unequal: No Solution
Exploring Operation: 87-58=29, Resulting Numbers: [29]
29,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[93, 52, 1], Operations: ['87/87=1']
Exploring Operation: 93-1=92, Resulting Numbers: [52, 92]
Generated Node #0,1,0: 52:[52, 92] Operation: 93-1=92
Exploring Operation: 93*1=93, Resulting Numbers: [52, 93]
Generated Node #0,1,1: 52:[52, 93] Operation: 93*1=93
Exploring Operation: 93/1=93, Resulting Numbers: [52, 93]
Generated Node #0,1,2: 52:[52, 93] Operation: 93/1=93
Exploring Operation: 93-52=41, Resulting Numbers: [1, 41]
Generated Node #0,1,3: 52:[1, 41] Operation: 93-52=41
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 52:[1, 41], Operations: ['87/87=1', '93-52=41']
Exploring Operation: 1*41=41, Resulting Numbers: [41]
41,52 unequal: No Solution
Exploring Operation: 41-1=40, Resulting Numbers: [40]
40,52 unequal: No Solution
Exploring Operation: 41/1=41, Resulting Numbers: [41]
41,52 unequal: No Solution
Exploring Operation: 1+41=42, Resulting Numbers: [42]
42,52 unequal: No Solution
No 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: 52:[52, 92], Operations: ['87/87=1', '93-1=92']
Exploring Operation: 92-52=40, Resulting Numbers: [40]
40,52 unequal: No Solution
Exploring Operation: 52*92=4784, Resulting Numbers: [4784]
4784,52 unequal: No Solution
Exploring Operation: 52+92=144, Resulting Numbers: [144]
144,52 unequal: No Solution
No 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: 52:[52, 93], Operations: ['87/87=1', '93*1=93']
Exploring Operation: 52+93=145, Resulting Numbers: [145]
145,52 unequal: No Solution
Exploring Operation: 93-52=41, Resulting Numbers: [41]
41,52 unequal: No Solution
Exploring Operation: 52*93=4836, Resulting Numbers: [4836]
4836,52 unequal: No Solution
No 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: 52:[52, 93], Operations: ['87/87=1', '93/1=93']
Exploring Operation: 93-52=41, Resulting Numbers: [41]
41,52 unequal: No Solution
Exploring Operation: 52+93=145, Resulting Numbers: [145]
145,52 unequal: No Solution
Exploring Operation: 52*93=4836, Resulting Numbers: [4836]
4836,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 52:[93, 52, 0], Operations: ['87-87=0']
Exploring Operation: 93-52=41, Resulting Numbers: [0, 41]
Generated Node #0,3,0: 52:[0, 41] Operation: 93-52=41
Exploring Operation: 93*0=0, Resulting Numbers: [52, 0]
Generated Node #0,3,1: 52:[52, 0] Operation: 93*0=0
Exploring Operation: 93+0=93, Resulting Numbers: [52, 93]
Generated Node #0,3,2: 52:[52, 93] Operation: 93+0=93
Exploring Operation: 93-0=93, Resulting Numbers: [52, 93]
Generated Node #0,3,3: 52:[52, 93] Operation: 93-0=93
Moving to Node #0,3,1
Current State: 52:[52, 0], Operations: ['87-87=0', '93*0=0']
Exploring Operation: 52+0=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[93, 87, 87, 52], Operations: []
Exploring Operation: 87-87=0, Resulting Numbers: [93, 52, 0]
Generated Node #0,3: 52:[93, 52, 0] Operation: 87-87=0
Moving to Node #0,3
Current State: 52:[93, 52, 0], Operations: ['87-87=0']
Exploring Operation: 93*0=0, Resulting Numbers: [52, 0]
Generated Node #0,3,1: 52:[52, 0] Operation: 93*0=0
Moving to Node #0,3,1
Current State: 52:[52, 0], Operations: ['87-87=0', '93*0=0']
Exploring Operation: 52+0=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.946181 | hs_4 | mult_heuristic |
[
52,
87,
51,
75
] | 91 | [
"87-52=35",
"51+75=126",
"126-35=91"
] | Current State: 91:[52, 87, 51, 75], Operations: []
Exploring Operation: 87-52=35, Resulting Numbers: [51, 75, 35]
Generated Node #2: [51, 75, 35] from Operation: 87-52=35
Current State: 91:[51, 75, 35], Operations: ['87-52=35']
Exploring Operation: 51+75=126, Resulting Numbers: [35, 126]
Generated Node #3: [35, 126] from Operation: 51+75=126
Current State: 91:[35, 126], Operations: ['87-52=35', '51+75=126']
Exploring Operation: 126-35=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[52, 87, 51, 75], Operations: []
Exploring Operation: 52-51=1, Resulting Numbers: [87, 75, 1]
Generated Node #0,0: 91:[87, 75, 1] Operation: 52-51=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[87, 75, 1], Operations: ['52-51=1']
Exploring Operation: 87-75=12, Resulting Numbers: [1, 12]
Generated Node #0,0,0: 91:[1, 12] Operation: 87-75=12
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 91:[1, 12], Operations: ['52-51=1', '87-75=12']
Exploring Operation: 1+12=13, Resulting Numbers: [13]
13,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
2,
56,
27,
79
] | 75 | [
"2*79=158",
"56+27=83",
"158-83=75"
] | Current State: 75:[2, 56, 27, 79], Operations: []
Exploring Operation: 2*79=158, Resulting Numbers: [56, 27, 158]
Generated Node #2: [56, 27, 158] from Operation: 2*79=158
Current State: 75:[56, 27, 158], Operations: ['2*79=158']
Exploring Operation: 56+27=83, Resulting Numbers: [158, 83]
Generated Node #3: [158, 83] from Operation: 56+27=83
Current State: 75:[158, 83], Operations: ['2*79=158', '56+27=83']
Exploring Operation: 158-83=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[2, 56, 27, 79], Operations: []
Exploring Operation: 79-56=23, Resulting Numbers: [2, 27, 23]
Generated Node #0,0: 75:[2, 27, 23] Operation: 79-56=23
Exploring Operation: 56/2=28, Resulting Numbers: [27, 79, 28]
Generated Node #0,1: 75:[27, 79, 28] Operation: 56/2=28
Exploring Operation: 56-27=29, Resulting Numbers: [2, 79, 29]
Generated Node #0,2: 75:[2, 79, 29] Operation: 56-27=29
Exploring Operation: 56+27=83, Resulting Numbers: [2, 79, 83]
Generated Node #0,3: 75:[2, 79, 83] Operation: 56+27=83
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[2, 27, 23], Operations: ['79-56=23']
Exploring Operation: 27-23=4, Resulting Numbers: [2, 4]
Generated Node #0,0,0: 75:[2, 4] Operation: 27-23=4
Exploring Operation: 2+27=29, Resulting Numbers: [23, 29]
Generated Node #0,0,1: 75:[23, 29] Operation: 2+27=29
Exploring Operation: 27-2=25, Resulting Numbers: [23, 25]
Generated Node #0,0,2: 75:[23, 25] Operation: 27-2=25
Exploring Operation: 2+23=25, Resulting Numbers: [27, 25]
Generated Node #0,0,3: 75:[27, 25] Operation: 2+23=25
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[2, 4], Operations: ['79-56=23', '27-23=4']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,75 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,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:[23, 25], Operations: ['79-56=23', '27-2=25']
Exploring Operation: 23+25=48, Resulting Numbers: [48]
48,75 unequal: No Solution
Exploring Operation: 23*25=575, Resulting Numbers: [575]
575,75 unequal: No Solution
Exploring Operation: 25-23=2, Resulting Numbers: [2]
2,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,3
Current State: 75:[27, 25], Operations: ['79-56=23', '2+23=25']
Exploring Operation: 27*25=675, Resulting Numbers: [675]
675,75 unequal: No Solution
Exploring Operation: 27+25=52, Resulting Numbers: [52]
52,75 unequal: No Solution
Exploring Operation: 27-25=2, Resulting Numbers: [2]
2,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:[23, 29], Operations: ['79-56=23', '2+27=29']
Exploring Operation: 29-23=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Exploring Operation: 23*29=667, Resulting Numbers: [667]
667,75 unequal: No Solution
Exploring Operation: 23+29=52, Resulting Numbers: [52]
52,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[27, 79, 28], Operations: ['56/2=28']
Exploring Operation: 28-27=1, Resulting Numbers: [79, 1]
Generated Node #0,1,0: 75:[79, 1] Operation: 28-27=1
Exploring Operation: 79-28=51, Resulting Numbers: [27, 51]
Generated Node #0,1,1: 75:[27, 51] Operation: 79-28=51
Exploring Operation: 79-27=52, Resulting Numbers: [28, 52]
Generated Node #0,1,2: 75:[28, 52] Operation: 79-27=52
Exploring Operation: 27+28=55, Resulting Numbers: [79, 55]
Generated Node #0,1,3: 75:[79, 55] Operation: 27+28=55
Moving to Node #0,1,0
Current State: 75:[79, 1], Operations: ['56/2=28', '28-27=1']
Exploring Operation: 79*1=79, Resulting Numbers: [79]
79,75 unequal: No Solution
Exploring Operation: 79+1=80, Resulting Numbers: [80]
80,75 unequal: No Solution
Exploring Operation: 79-1=78, Resulting Numbers: [78]
78,75 unequal: No Solution
Exploring Operation: 79/1=79, Resulting Numbers: [79]
79,75 unequal: No Solution
Moving to Node #0,1,3
Current State: 75:[79, 55], Operations: ['56/2=28', '27+28=55']
Exploring Operation: 79*55=4345, Resulting Numbers: [4345]
4345,75 unequal: No Solution
Exploring Operation: 79-55=24, Resulting Numbers: [24]
24,75 unequal: No Solution
Exploring Operation: 79+55=134, Resulting Numbers: [134]
134,75 unequal: No Solution
Moving to Node #0,1,2
Current State: 75:[28, 52], Operations: ['56/2=28', '79-27=52']
Exploring Operation: 28+52=80, Resulting Numbers: [80]
80,75 unequal: No Solution
Exploring Operation: 52-28=24, Resulting Numbers: [24]
24,75 unequal: No Solution
Exploring Operation: 28*52=1456, Resulting Numbers: [1456]
1456,75 unequal: No Solution
Moving to Node #0,1,1
Current State: 75:[27, 51], Operations: ['56/2=28', '79-28=51']
Exploring Operation: 27+51=78, Resulting Numbers: [78]
78,75 unequal: No Solution
Exploring Operation: 27*51=1377, Resulting Numbers: [1377]
1377,75 unequal: No Solution
Exploring Operation: 51-27=24, Resulting Numbers: [24]
24,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:[2, 79, 29], Operations: ['56-27=29']
Exploring Operation: 2+79=81, Resulting Numbers: [29, 81]
Generated Node #0,2,0: 75:[29, 81] Operation: 2+79=81
Exploring Operation: 2+29=31, Resulting Numbers: [79, 31]
Generated Node #0,2,1: 75:[79, 31] Operation: 2+29=31
Exploring Operation: 79-2=77, Resulting Numbers: [29, 77]
Generated Node #0,2,2: 75:[29, 77] Operation: 79-2=77
Exploring Operation: 29-2=27, Resulting Numbers: [79, 27]
Generated Node #0,2,3: 75:[79, 27] Operation: 29-2=27
Moving to Node #0,2,2
Current State: 75:[29, 77], Operations: ['56-27=29', '79-2=77']
Exploring Operation: 29+77=106, Resulting Numbers: [106]
106,75 unequal: No Solution
Exploring Operation: 77-29=48, Resulting Numbers: [48]
48,75 unequal: No Solution
Exploring Operation: 29*77=2233, Resulting Numbers: [2233]
2233,75 unequal: No Solution
Moving to Node #0,2,3
Current State: 75:[79, 27], Operations: ['56-27=29', '29-2=27']
Exploring Operation: 79+27=106, Resulting Numbers: [106]
106,75 unequal: No Solution
Exploring Operation: 79-27=52, Resulting Numbers: [52]
52,75 unequal: No Solution
Exploring Operation: 79*27=2133, Resulting Numbers: [2133]
2133,75 unequal: No Solution
Moving to Node #0,2,1
Current State: 75:[79, 31], Operations: ['56-27=29', '2+29=31']
Exploring Operation: 79-31=48, Resulting Numbers: [48]
48,75 unequal: No Solution
Exploring Operation: 79*31=2449, Resulting Numbers: [2449]
2449,75 unequal: No Solution
Exploring Operation: 79+31=110, Resulting Numbers: [110]
110,75 unequal: No Solution
Moving to Node #0,2,0
Current State: 75:[29, 81], Operations: ['56-27=29', '2+79=81']
Exploring Operation: 29*81=2349, Resulting Numbers: [2349]
2349,75 unequal: No Solution
Exploring Operation: 81-29=52, Resulting Numbers: [52]
52,75 unequal: No Solution
Exploring Operation: 29+81=110, Resulting Numbers: [110]
110,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:[2, 79, 83], Operations: ['56+27=83']
Exploring Operation: 79-2=77, Resulting Numbers: [83, 77]
Generated Node #0,3,0: 75:[83, 77] Operation: 79-2=77
Exploring Operation: 2+79=81, Resulting Numbers: [83, 81]
Generated Node #0,3,1: 75:[83, 81] Operation: 2+79=81
Exploring Operation: 83-2=81, Resulting Numbers: [79, 81]
Generated Node #0,3,2: 75:[79, 81] Operation: 83-2=81
Exploring Operation: 83-79=4, Resulting Numbers: [2, 4]
Generated Node #0,3,3: 75:[2, 4] Operation: 83-79=4
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 75:[2, 4], Operations: ['56+27=83', '83-79=4']
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,75 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,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,3,0
Current State: 75:[83, 77], Operations: ['56+27=83', '79-2=77']
Exploring Operation: 83-77=6, Resulting Numbers: [6]
6,75 unequal: No Solution
Exploring Operation: 83*77=6391, Resulting Numbers: [6391]
6391,75 unequal: No Solution
Exploring Operation: 83+77=160, Resulting Numbers: [160]
160,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,3,2
Current State: 75:[79, 81], Operations: ['56+27=83', '83-2=81']
Exploring Operation: 79*81=6399, Resulting Numbers: [6399]
6399,75 unequal: No Solution
Exploring Operation: 79+81=160, Resulting Numbers: [160]
160,75 unequal: No Solution
Exploring Operation: 81-79=2, Resulting Numbers: [2]
2,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,3,1
Current State: 75:[83, 81], Operations: ['56+27=83', '2+79=81']
Exploring Operation: 83-81=2, Resulting Numbers: [2]
2,75 unequal: No Solution
Exploring Operation: 83+81=164, Resulting Numbers: [164]
164,75 unequal: No Solution
Exploring Operation: 83*81=6723, Resulting Numbers: [6723]
6723,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 | mult_heuristic |
[
69,
58,
96,
15
] | 24 | [
"69-58=11",
"15-11=4",
"96/4=24"
] | Current State: 24:[69, 58, 96, 15], Operations: []
Exploring Operation: 69-58=11, Resulting Numbers: [96, 15, 11]
Generated Node #2: [96, 15, 11] from Operation: 69-58=11
Current State: 24:[96, 15, 11], Operations: ['69-58=11']
Exploring Operation: 15-11=4, Resulting Numbers: [96, 4]
Generated Node #3: [96, 4] from Operation: 15-11=4
Current State: 24:[96, 4], Operations: ['69-58=11', '15-11=4']
Exploring Operation: 96/4=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[69, 58, 96, 15], Operations: []
Exploring Operation: 69-58=11, Resulting Numbers: [96, 15, 11]
Generated Node #0,0: 24:[96, 15, 11] Operation: 69-58=11
Exploring Operation: 96-58=38, Resulting Numbers: [69, 15, 38]
Generated Node #0,1: 24:[69, 15, 38] Operation: 96-58=38
Exploring Operation: 96-69=27, Resulting Numbers: [58, 15, 27]
Generated Node #0,2: 24:[58, 15, 27] Operation: 96-69=27
Exploring Operation: 69-15=54, Resulting Numbers: [58, 96, 54]
Generated Node #0,3: 24:[58, 96, 54] Operation: 69-15=54
Moving to Node #0,2
Current State: 24:[58, 15, 27], Operations: ['96-69=27']
Exploring Operation: 58-15=43, Resulting Numbers: [27, 43]
Generated Node #0,2,0: 24:[27, 43] Operation: 58-15=43
Exploring Operation: 58-27=31, Resulting Numbers: [15, 31]
Generated Node #0,2,1: 24:[15, 31] Operation: 58-27=31
Exploring Operation: 58+15=73, Resulting Numbers: [27, 73]
Generated Node #0,2,2: 24:[27, 73] Operation: 58+15=73
Exploring Operation: 27-15=12, Resulting Numbers: [58, 12]
Generated Node #0,2,3: 24:[58, 12] Operation: 27-15=12
Moving to Node #0,1
Current State: 24:[69, 15, 38], Operations: ['96-58=38']
Exploring Operation: 69+15=84, Resulting Numbers: [38, 84]
Generated Node #0,1,0: 24:[38, 84] Operation: 69+15=84
Exploring Operation: 38-15=23, Resulting Numbers: [69, 23]
Generated Node #0,1,1: 24:[69, 23] Operation: 38-15=23
Exploring Operation: 69-15=54, Resulting Numbers: [38, 54]
Generated Node #0,1,2: 24:[38, 54] Operation: 69-15=54
Exploring Operation: 69-38=31, Resulting Numbers: [15, 31]
Generated Node #0,1,3: 24:[15, 31] Operation: 69-38=31
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 24:[15, 31], Operations: ['96-58=38', '69-38=31']
Exploring Operation: 31-15=16, Resulting Numbers: [16]
16,24 unequal: No Solution
Exploring Operation: 15+31=46, Resulting Numbers: [46]
46,24 unequal: No Solution
Exploring Operation: 15*31=465, Resulting Numbers: [465]
465,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 24:[38, 54], Operations: ['96-58=38', '69-15=54']
Exploring Operation: 38+54=92, Resulting Numbers: [92]
92,24 unequal: No Solution
Exploring Operation: 38*54=2052, Resulting Numbers: [2052]
2052,24 unequal: No Solution
Exploring Operation: 54-38=16, Resulting Numbers: [16]
16,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 24:[69, 23], Operations: ['96-58=38', '38-15=23']
Exploring Operation: 69-23=46, Resulting Numbers: [46]
46,24 unequal: No Solution
Exploring Operation: 69/23=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 69+23=92, Resulting Numbers: [92]
92,24 unequal: No Solution
Exploring Operation: 69*23=1587, Resulting Numbers: [1587]
1587,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 24:[38, 84], Operations: ['96-58=38', '69+15=84']
Exploring Operation: 38+84=122, Resulting Numbers: [122]
122,24 unequal: No Solution
Exploring Operation: 84-38=46, Resulting Numbers: [46]
46,24 unequal: No Solution
Exploring Operation: 38*84=3192, Resulting Numbers: [3192]
3192,24 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: 24:[96, 15, 11], Operations: ['69-58=11']
Exploring Operation: 15+11=26, Resulting Numbers: [96, 26]
Generated Node #0,0,0: 24:[96, 26] Operation: 15+11=26
Exploring Operation: 15-11=4, Resulting Numbers: [96, 4]
Generated Node #0,0,1: 24:[96, 4] Operation: 15-11=4
Exploring Operation: 96-15=81, Resulting Numbers: [11, 81]
Generated Node #0,0,2: 24:[11, 81] Operation: 96-15=81
Exploring Operation: 96-11=85, Resulting Numbers: [15, 85]
Generated Node #0,0,3: 24:[15, 85] Operation: 96-11=85
Moving to Node #0,3
Current State: 24:[58, 96, 54], Operations: ['69-15=54']
Exploring Operation: 96-54=42, Resulting Numbers: [58, 42]
Generated Node #0,3,0: 24:[58, 42] Operation: 96-54=42
Exploring Operation: 58+96=154, Resulting Numbers: [54, 154]
Generated Node #0,3,1: 24:[54, 154] Operation: 58+96=154
Exploring Operation: 58-54=4, Resulting Numbers: [96, 4]
Generated Node #0,3,2: 24:[96, 4] Operation: 58-54=4
Exploring Operation: 96-58=38, Resulting Numbers: [54, 38]
Generated Node #0,3,3: 24:[54, 38] Operation: 96-58=38
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 24:[54, 38], Operations: ['69-15=54', '96-58=38']
Exploring Operation: 54+38=92, Resulting Numbers: [92]
92,24 unequal: No Solution
Exploring Operation: 54*38=2052, Resulting Numbers: [2052]
2052,24 unequal: No Solution
Exploring Operation: 54-38=16, Resulting Numbers: [16]
16,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 24:[58, 42], Operations: ['69-15=54', '96-54=42']
Exploring Operation: 58+42=100, Resulting Numbers: [100]
100,24 unequal: No Solution
Exploring Operation: 58-42=16, Resulting Numbers: [16]
16,24 unequal: No Solution
Exploring Operation: 58*42=2436, Resulting Numbers: [2436]
2436,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 24:[96, 4], Operations: ['69-15=54', '58-54=4']
Exploring Operation: 96*4=384, Resulting Numbers: [384]
384,24 unequal: No Solution
Exploring Operation: 96+4=100, Resulting Numbers: [100]
100,24 unequal: No Solution
Exploring Operation: 96/4=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[69, 58, 96, 15], Operations: []
Exploring Operation: 69-15=54, Resulting Numbers: [58, 96, 54]
Generated Node #0,3: 24:[58, 96, 54] Operation: 69-15=54
Moving to Node #0,3
Current State: 24:[58, 96, 54], Operations: ['69-15=54']
Exploring Operation: 58-54=4, Resulting Numbers: [96, 4]
Generated Node #0,3,2: 24:[96, 4] Operation: 58-54=4
Moving to Node #0,3,2
Current State: 24:[96, 4], Operations: ['69-15=54', '58-54=4']
Exploring Operation: 96/4=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Exit Sub Search at level 1
| 0.960069 | hs_4 | mult_heuristic |
[
89,
30,
71,
18
] | 96 | [
"89+71=160",
"18*160=2880",
"2880/30=96"
] | Current State: 96:[89, 30, 71, 18], Operations: []
Exploring Operation: 89+71=160, Resulting Numbers: [30, 18, 160]
Generated Node #2: [30, 18, 160] from Operation: 89+71=160
Current State: 96:[30, 18, 160], Operations: ['89+71=160']
Exploring Operation: 18*160=2880, Resulting Numbers: [30, 2880]
Generated Node #3: [30, 2880] from Operation: 18*160=2880
Current State: 96:[30, 2880], Operations: ['89+71=160', '18*160=2880']
Exploring Operation: 2880/30=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[89, 30, 71, 18], Operations: []
Exploring Operation: 89-71=18, Resulting Numbers: [30, 18, 18]
Generated Node #0,0: 96:[30, 18, 18] Operation: 89-71=18
Exploring Operation: 71-18=53, Resulting Numbers: [89, 30, 53]
Generated Node #0,1: 96:[89, 30, 53] Operation: 71-18=53
Exploring Operation: 30+71=101, Resulting Numbers: [89, 18, 101]
Generated Node #0,2: 96:[89, 18, 101] Operation: 30+71=101
Moving to Node #0,0
Current State: 96:[30, 18, 18], Operations: ['89-71=18']
Exploring Operation: 30+18=48, Resulting Numbers: [18, 48]
Generated Node #0,0,0: 96:[18, 48] Operation: 30+18=48
Exploring Operation: 30-18=12, Resulting Numbers: [18, 12]
Generated Node #0,0,1: 96:[18, 12] Operation: 30-18=12
Exploring Operation: 30+18=48, Resulting Numbers: [18, 48]
Generated Node #0,0,2: 96:[18, 48] Operation: 30+18=48
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 96:[18, 48], Operations: ['89-71=18', '30+18=48']
Exploring Operation: 18*48=864, Resulting Numbers: [864]
864,96 unequal: No Solution
Exploring Operation: 48-18=30, Resulting Numbers: [30]
30,96 unequal: No Solution
Exploring Operation: 18+48=66, Resulting Numbers: [66]
66,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,0,1
Current State: 96:[18, 12], Operations: ['89-71=18', '30-18=12']
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Exploring Operation: 18+12=30, Resulting Numbers: [30]
30,96 unequal: No Solution
Exploring Operation: 18*12=216, Resulting Numbers: [216]
216,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,0,2
Current State: 96:[18, 48], Operations: ['89-71=18', '30+18=48']
Exploring Operation: 18+48=66, Resulting Numbers: [66]
66,96 unequal: No Solution
Exploring Operation: 18*48=864, Resulting Numbers: [864]
864,96 unequal: No Solution
Exploring Operation: 48-18=30, Resulting Numbers: [30]
30,96 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: 96:[89, 30, 53], Operations: ['71-18=53']
Exploring Operation: 53-30=23, Resulting Numbers: [89, 23]
Generated Node #0,1,0: 96:[89, 23] Operation: 53-30=23
Exploring Operation: 89-53=36, Resulting Numbers: [30, 36]
Generated Node #0,1,1: 96:[30, 36] Operation: 89-53=36
Exploring Operation: 89-30=59, Resulting Numbers: [53, 59]
Generated Node #0,1,2: 96:[53, 59] Operation: 89-30=59
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 96:[30, 36], Operations: ['71-18=53', '89-53=36']
Exploring Operation: 30*36=1080, Resulting Numbers: [1080]
1080,96 unequal: No Solution
Exploring Operation: 30+36=66, Resulting Numbers: [66]
66,96 unequal: No Solution
Exploring Operation: 36-30=6, Resulting Numbers: [6]
6,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 96:[89, 23], Operations: ['71-18=53', '53-30=23']
Exploring Operation: 89*23=2047, Resulting Numbers: [2047]
2047,96 unequal: No Solution
Exploring Operation: 89-23=66, Resulting Numbers: [66]
66,96 unequal: No Solution
Exploring Operation: 89+23=112, Resulting Numbers: [112]
112,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 96:[53, 59], Operations: ['71-18=53', '89-30=59']
Exploring Operation: 59-53=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Exploring Operation: 53*59=3127, Resulting Numbers: [3127]
3127,96 unequal: No Solution
Exploring Operation: 53+59=112, Resulting Numbers: [112]
112,96 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: 96:[89, 18, 101], Operations: ['30+71=101']
Exploring Operation: 89+18=107, Resulting Numbers: [101, 107]
Generated Node #0,2,0: 96:[101, 107] Operation: 89+18=107
Exploring Operation: 101-89=12, Resulting Numbers: [18, 12]
Generated Node #0,2,1: 96:[18, 12] Operation: 101-89=12
Exploring Operation: 101-18=83, Resulting Numbers: [89, 83]
Generated Node #0,2,2: 96:[89, 83] Operation: 101-18=83
Moving to Node #0,2,1
Current State: 96:[18, 12], Operations: ['30+71=101', '101-89=12']
Exploring Operation: 18*12=216, Resulting Numbers: [216]
216,96 unequal: No Solution
Exploring Operation: 18+12=30, Resulting Numbers: [30]
30,96 unequal: No Solution
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Moving to Node #0,2,0
Current State: 96:[101, 107], Operations: ['30+71=101', '89+18=107']
Exploring Operation: 107-101=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Exploring Operation: 101*107=10807, Resulting Numbers: [10807]
10807,96 unequal: No Solution
Exploring Operation: 101+107=208, Resulting Numbers: [208]
208,96 unequal: No Solution
Moving to Node #0,2,2
Current State: 96:[89, 83], Operations: ['30+71=101', '101-18=83']
Exploring Operation: 89*83=7387, Resulting Numbers: [7387]
7387,96 unequal: No Solution
Exploring Operation: 89-83=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Exploring Operation: 89+83=172, Resulting Numbers: [172]
172,96 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
66,
43,
65,
37
] | 51 | [
"66-43=23",
"65-37=28",
"23+28=51"
] | Current State: 51:[66, 43, 65, 37], Operations: []
Exploring Operation: 66-43=23, Resulting Numbers: [65, 37, 23]
Generated Node #2: [65, 37, 23] from Operation: 66-43=23
Current State: 51:[65, 37, 23], Operations: ['66-43=23']
Exploring Operation: 65-37=28, Resulting Numbers: [23, 28]
Generated Node #3: [23, 28] from Operation: 65-37=28
Current State: 51:[23, 28], Operations: ['66-43=23', '65-37=28']
Exploring Operation: 23+28=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[66, 43, 65, 37], Operations: []
Exploring Operation: 43-37=6, Resulting Numbers: [66, 65, 6]
Generated Node #0,0: 51:[66, 65, 6] Operation: 43-37=6
Exploring Operation: 66-43=23, Resulting Numbers: [65, 37, 23]
Generated Node #0,1: 51:[65, 37, 23] Operation: 66-43=23
Exploring Operation: 66-65=1, Resulting Numbers: [43, 37, 1]
Generated Node #0,2: 51:[43, 37, 1] Operation: 66-65=1
Exploring Operation: 66-37=29, Resulting Numbers: [43, 65, 29]
Generated Node #0,3: 51:[43, 65, 29] Operation: 66-37=29
Exploring Operation: 65-43=22, Resulting Numbers: [66, 37, 22]
Generated Node #0,4: 51:[66, 37, 22] Operation: 65-43=22
Start Sub Search at level 1: Moving to Node #0,2
Current State: 51:[43, 37, 1], Operations: ['66-65=1']
Exploring Operation: 43*1=43, Resulting Numbers: [37, 43]
Generated Node #0,2,0: 51:[37, 43] Operation: 43*1=43
Exploring Operation: 43-37=6, Resulting Numbers: [1, 6]
Generated Node #0,2,1: 51:[1, 6] Operation: 43-37=6
Exploring Operation: 37+1=38, Resulting Numbers: [43, 38]
Generated Node #0,2,2: 51:[43, 38] Operation: 37+1=38
Exploring Operation: 43+1=44, Resulting Numbers: [37, 44]
Generated Node #0,2,3: 51:[37, 44] Operation: 43+1=44
Exploring Operation: 43/1=43, Resulting Numbers: [37, 43]
Generated Node #0,2,4: 51:[37, 43] Operation: 43/1=43
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 51:[1, 6], Operations: ['66-65=1', '43-37=6']
Exploring Operation: 1*6=6, Resulting Numbers: [6]
6,51 unequal: No Solution
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,51 unequal: No Solution
Exploring Operation: 1+6=7, Resulting Numbers: [7]
7,51 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 51:[43, 38], Operations: ['66-65=1', '37+1=38']
Exploring Operation: 43+38=81, Resulting Numbers: [81]
81,51 unequal: No Solution
Exploring Operation: 43*38=1634, Resulting Numbers: [1634]
1634,51 unequal: No Solution
Exploring Operation: 43-38=5, Resulting Numbers: [5]
5,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 51:[37, 44], Operations: ['66-65=1', '43+1=44']
Exploring Operation: 37*44=1628, Resulting Numbers: [1628]
1628,51 unequal: No Solution
Exploring Operation: 37+44=81, Resulting Numbers: [81]
81,51 unequal: No Solution
Exploring Operation: 44-37=7, Resulting Numbers: [7]
7,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 51:[37, 43], Operations: ['66-65=1', '43*1=43']
Exploring Operation: 43-37=6, Resulting Numbers: [6]
6,51 unequal: No Solution
Exploring Operation: 37*43=1591, Resulting Numbers: [1591]
1591,51 unequal: No Solution
Exploring Operation: 37+43=80, Resulting Numbers: [80]
80,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 51:[37, 43], Operations: ['66-65=1', '43/1=43']
Exploring Operation: 37+43=80, Resulting Numbers: [80]
80,51 unequal: No Solution
Exploring Operation: 43-37=6, Resulting Numbers: [6]
6,51 unequal: No Solution
Exploring Operation: 37*43=1591, Resulting Numbers: [1591]
1591,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[66, 65, 6], Operations: ['43-37=6']
Exploring Operation: 66-65=1, Resulting Numbers: [6, 1]
Generated Node #0,0,0: 51:[6, 1] Operation: 66-65=1
Exploring Operation: 66/6=11, Resulting Numbers: [65, 11]
Generated Node #0,0,1: 51:[65, 11] Operation: 66/6=11
Exploring Operation: 66+6=72, Resulting Numbers: [65, 72]
Generated Node #0,0,2: 51:[65, 72] Operation: 66+6=72
Exploring Operation: 66-6=60, Resulting Numbers: [65, 60]
Generated Node #0,0,3: 51:[65, 60] Operation: 66-6=60
Exploring Operation: 65-6=59, Resulting Numbers: [66, 59]
Generated Node #0,0,4: 51:[66, 59] Operation: 65-6=59
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 51:[6, 1], Operations: ['43-37=6', '66-65=1']
Exploring Operation: 6+1=7, Resulting Numbers: [7]
7,51 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,51 unequal: No Solution
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,51 unequal: No Solution
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 51:[65, 11], Operations: ['43-37=6', '66/6=11']
Exploring Operation: 65-11=54, Resulting Numbers: [54]
54,51 unequal: No Solution
Exploring Operation: 65*11=715, Resulting Numbers: [715]
715,51 unequal: No Solution
Exploring Operation: 65+11=76, Resulting Numbers: [76]
76,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 51:[65, 60], Operations: ['43-37=6', '66-6=60']
Exploring Operation: 65-60=5, Resulting Numbers: [5]
5,51 unequal: No Solution
Exploring Operation: 65+60=125, Resulting Numbers: [125]
125,51 unequal: No Solution
Exploring Operation: 65*60=3900, Resulting Numbers: [3900]
3900,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 51:[66, 59], Operations: ['43-37=6', '65-6=59']
Exploring Operation: 66+59=125, Resulting Numbers: [125]
125,51 unequal: No Solution
Exploring Operation: 66*59=3894, Resulting Numbers: [3894]
3894,51 unequal: No Solution
Exploring Operation: 66-59=7, Resulting Numbers: [7]
7,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 51:[65, 72], Operations: ['43-37=6', '66+6=72']
Exploring Operation: 65*72=4680, Resulting Numbers: [4680]
4680,51 unequal: No Solution
Exploring Operation: 72-65=7, Resulting Numbers: [7]
7,51 unequal: No Solution
Exploring Operation: 65+72=137, Resulting Numbers: [137]
137,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 51:[65, 37, 23], Operations: ['66-43=23']
Exploring Operation: 65-37=28, Resulting Numbers: [23, 28]
Generated Node #0,1,0: 51:[23, 28] Operation: 65-37=28
Exploring Operation: 65-23=42, Resulting Numbers: [37, 42]
Generated Node #0,1,1: 51:[37, 42] Operation: 65-23=42
Exploring Operation: 37+23=60, Resulting Numbers: [65, 60]
Generated Node #0,1,2: 51:[65, 60] Operation: 37+23=60
Exploring Operation: 65+23=88, Resulting Numbers: [37, 88]
Generated Node #0,1,3: 51:[37, 88] Operation: 65+23=88
Exploring Operation: 37-23=14, Resulting Numbers: [65, 14]
Generated Node #0,1,4: 51:[65, 14] Operation: 37-23=14
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 51:[23, 28], Operations: ['66-43=23', '65-37=28']
Exploring Operation: 28-23=5, Resulting Numbers: [5]
5,51 unequal: No Solution
Exploring Operation: 23*28=644, Resulting Numbers: [644]
644,51 unequal: No Solution
Exploring Operation: 23+28=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[66, 43, 65, 37], Operations: []
Exploring Operation: 66-43=23, Resulting Numbers: [65, 37, 23]
Generated Node #0,1: 51:[65, 37, 23] Operation: 66-43=23
Moving to Node #0,1
Current State: 51:[65, 37, 23], Operations: ['66-43=23']
Exploring Operation: 65-37=28, Resulting Numbers: [23, 28]
Generated Node #0,1,0: 51:[23, 28] Operation: 65-37=28
Moving to Node #0,1,0
Current State: 51:[23, 28], Operations: ['66-43=23', '65-37=28']
Exploring Operation: 23+28=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.948785 | hs_5 | mult_heuristic |
[
22,
3,
93,
60
] | 73 | [
"93+60=153",
"153/3=51",
"22+51=73"
] | Current State: 73:[22, 3, 93, 60], Operations: []
Exploring Operation: 93+60=153, Resulting Numbers: [22, 3, 153]
Generated Node #2: [22, 3, 153] from Operation: 93+60=153
Current State: 73:[22, 3, 153], Operations: ['93+60=153']
Exploring Operation: 153/3=51, Resulting Numbers: [22, 51]
Generated Node #3: [22, 51] from Operation: 153/3=51
Current State: 73:[22, 51], Operations: ['93+60=153', '153/3=51']
Exploring Operation: 22+51=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[22, 3, 93, 60], Operations: []
Exploring Operation: 22*3=66, Resulting Numbers: [93, 60, 66]
Generated Node #0,0: 73:[93, 60, 66] Operation: 22*3=66
Moving to Node #0,0
Current State: 73:[93, 60, 66], Operations: ['22*3=66']
Exploring Operation: 93-60=33, Resulting Numbers: [66, 33]
Generated Node #0,0,0: 73:[66, 33] Operation: 93-60=33
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[66, 33], Operations: ['22*3=66', '93-60=33']
Exploring Operation: 66+33=99, Resulting Numbers: [99]
99,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 |
[
57,
28,
82,
30
] | 82 | [
"57-28=29",
"30-29=1",
"82*1=82"
] | Current State: 82:[57, 28, 82, 30], Operations: []
Exploring Operation: 57-28=29, Resulting Numbers: [82, 30, 29]
Generated Node #2: [82, 30, 29] from Operation: 57-28=29
Current State: 82:[82, 30, 29], Operations: ['57-28=29']
Exploring Operation: 30-29=1, Resulting Numbers: [82, 1]
Generated Node #3: [82, 1] from Operation: 30-29=1
Current State: 82:[82, 1], Operations: ['57-28=29', '30-29=1']
Exploring Operation: 82*1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[57, 28, 82, 30], Operations: []
Exploring Operation: 57+28=85, Resulting Numbers: [82, 30, 85]
Generated Node #0,0: 82:[82, 30, 85] Operation: 57+28=85
Exploring Operation: 30-28=2, Resulting Numbers: [57, 82, 2]
Generated Node #0,1: 82:[57, 82, 2] Operation: 30-28=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 82:[82, 30, 85], Operations: ['57+28=85']
Exploring Operation: 85-82=3, Resulting Numbers: [30, 3]
Generated Node #0,0,0: 82:[30, 3] Operation: 85-82=3
Exploring Operation: 82-30=52, Resulting Numbers: [85, 52]
Generated Node #0,0,1: 82:[85, 52] Operation: 82-30=52
Moving to Node #0,0,0
Current State: 82:[30, 3], Operations: ['57+28=85', '85-82=3']
Exploring Operation: 30+3=33, Resulting Numbers: [33]
33,82 unequal: No Solution
Exploring Operation: 30*3=90, Resulting Numbers: [90]
90,82 unequal: No Solution
Moving to Node #0,0,1
Current State: 82:[85, 52], Operations: ['57+28=85', '82-30=52']
Exploring Operation: 85+52=137, Resulting Numbers: [137]
137,82 unequal: No Solution
Exploring Operation: 85-52=33, Resulting Numbers: [33]
33,82 unequal: No Solution
No 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: 82:[57, 82, 2], Operations: ['30-28=2']
Exploring Operation: 57-2=55, Resulting Numbers: [82, 55]
Generated Node #0,1,0: 82:[82, 55] Operation: 57-2=55
Exploring Operation: 82-57=25, Resulting Numbers: [2, 25]
Generated Node #0,1,1: 82:[2, 25] Operation: 82-57=25
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 82:[82, 55], Operations: ['30-28=2', '57-2=55']
Exploring Operation: 82+55=137, Resulting Numbers: [137]
137,82 unequal: No Solution
Exploring Operation: 82-55=27, Resulting Numbers: [27]
27,82 unequal: No Solution
No 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: 82:[2, 25], Operations: ['30-28=2', '82-57=25']
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,82 unequal: No Solution
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,82 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 |
[
8,
58,
17,
93
] | 21 | [
"58+17=75",
"93+75=168",
"168/8=21"
] | Current State: 21:[8, 58, 17, 93], Operations: []
Exploring Operation: 58+17=75, Resulting Numbers: [8, 93, 75]
Generated Node #2: [8, 93, 75] from Operation: 58+17=75
Current State: 21:[8, 93, 75], Operations: ['58+17=75']
Exploring Operation: 93+75=168, Resulting Numbers: [8, 168]
Generated Node #3: [8, 168] from Operation: 93+75=168
Current State: 21:[8, 168], Operations: ['58+17=75', '93+75=168']
Exploring Operation: 168/8=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[8, 58, 17, 93], Operations: []
Exploring Operation: 58-8=50, Resulting Numbers: [17, 93, 50]
Generated Node #0,0: 21:[17, 93, 50] Operation: 58-8=50
Exploring Operation: 93-17=76, Resulting Numbers: [8, 58, 76]
Generated Node #0,1: 21:[8, 58, 76] Operation: 93-17=76
Exploring Operation: 93-58=35, Resulting Numbers: [8, 17, 35]
Generated Node #0,2: 21:[8, 17, 35] Operation: 93-58=35
Exploring Operation: 58-17=41, Resulting Numbers: [8, 93, 41]
Generated Node #0,3: 21:[8, 93, 41] Operation: 58-17=41
Moving to Node #0,2
Current State: 21:[8, 17, 35], Operations: ['93-58=35']
Exploring Operation: 8+17=25, Resulting Numbers: [35, 25]
Generated Node #0,2,0: 21:[35, 25] Operation: 8+17=25
Exploring Operation: 35-8=27, Resulting Numbers: [17, 27]
Generated Node #0,2,1: 21:[17, 27] Operation: 35-8=27
Exploring Operation: 35-17=18, Resulting Numbers: [8, 18]
Generated Node #0,2,2: 21:[8, 18] Operation: 35-17=18
Exploring Operation: 17-8=9, Resulting Numbers: [35, 9]
Generated Node #0,2,3: 21:[35, 9] Operation: 17-8=9
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 21:[8, 18], Operations: ['93-58=35', '35-17=18']
Exploring Operation: 8*18=144, Resulting Numbers: [144]
144,21 unequal: No Solution
Exploring Operation: 8+18=26, Resulting Numbers: [26]
26,21 unequal: No Solution
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,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:[17, 27], Operations: ['93-58=35', '35-8=27']
Exploring Operation: 17+27=44, Resulting Numbers: [44]
44,21 unequal: No Solution
Exploring Operation: 17*27=459, Resulting Numbers: [459]
459,21 unequal: No Solution
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 21:[35, 9], Operations: ['93-58=35', '17-8=9']
Exploring Operation: 35+9=44, Resulting Numbers: [44]
44,21 unequal: No Solution
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,21 unequal: No Solution
Exploring Operation: 35*9=315, Resulting Numbers: [315]
315,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:[35, 25], Operations: ['93-58=35', '8+17=25']
Exploring Operation: 35-25=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Exploring Operation: 35+25=60, Resulting Numbers: [60]
60,21 unequal: No Solution
Exploring Operation: 35*25=875, Resulting Numbers: [875]
875,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 21:[8, 93, 41], Operations: ['58-17=41']
Exploring Operation: 93-41=52, Resulting Numbers: [8, 52]
Generated Node #0,3,0: 21:[8, 52] Operation: 93-41=52
Exploring Operation: 41-8=33, Resulting Numbers: [93, 33]
Generated Node #0,3,1: 21:[93, 33] Operation: 41-8=33
Exploring Operation: 8+93=101, Resulting Numbers: [41, 101]
Generated Node #0,3,2: 21:[41, 101] Operation: 8+93=101
Exploring Operation: 93-8=85, Resulting Numbers: [41, 85]
Generated Node #0,3,3: 21:[41, 85] Operation: 93-8=85
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 21:[8, 52], Operations: ['58-17=41', '93-41=52']
Exploring Operation: 8+52=60, Resulting Numbers: [60]
60,21 unequal: No Solution
Exploring Operation: 52-8=44, Resulting Numbers: [44]
44,21 unequal: No Solution
Exploring Operation: 8*52=416, Resulting Numbers: [416]
416,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,3,1
Current State: 21:[93, 33], Operations: ['58-17=41', '41-8=33']
Exploring Operation: 93*33=3069, Resulting Numbers: [3069]
3069,21 unequal: No Solution
Exploring Operation: 93-33=60, Resulting Numbers: [60]
60,21 unequal: No Solution
Exploring Operation: 93+33=126, Resulting Numbers: [126]
126,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,3,3
Current State: 21:[41, 85], Operations: ['58-17=41', '93-8=85']
Exploring Operation: 41*85=3485, Resulting Numbers: [3485]
3485,21 unequal: No Solution
Exploring Operation: 85-41=44, Resulting Numbers: [44]
44,21 unequal: No Solution
Exploring Operation: 41+85=126, Resulting Numbers: [126]
126,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,3,2
Current State: 21:[41, 101], Operations: ['58-17=41', '8+93=101']
Exploring Operation: 41*101=4141, Resulting Numbers: [4141]
4141,21 unequal: No Solution
Exploring Operation: 41+101=142, Resulting Numbers: [142]
142,21 unequal: No Solution
Exploring Operation: 101-41=60, Resulting Numbers: [60]
60,21 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: 21:[8, 58, 76], Operations: ['93-17=76']
Exploring Operation: 76-8=68, Resulting Numbers: [58, 68]
Generated Node #0,1,0: 21:[58, 68] Operation: 76-8=68
Exploring Operation: 58-8=50, Resulting Numbers: [76, 50]
Generated Node #0,1,1: 21:[76, 50] Operation: 58-8=50
Exploring Operation: 8+58=66, Resulting Numbers: [76, 66]
Generated Node #0,1,2: 21:[76, 66] Operation: 8+58=66
Exploring Operation: 76-58=18, Resulting Numbers: [8, 18]
Generated Node #0,1,3: 21:[8, 18] Operation: 76-58=18
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 21:[8, 18], Operations: ['93-17=76', '76-58=18']
Exploring Operation: 8*18=144, Resulting Numbers: [144]
144,21 unequal: No Solution
Exploring Operation: 8+18=26, Resulting Numbers: [26]
26,21 unequal: No Solution
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,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,1,0
Current State: 21:[58, 68], Operations: ['93-17=76', '76-8=68']
Exploring Operation: 58+68=126, Resulting Numbers: [126]
126,21 unequal: No Solution
Exploring Operation: 68-58=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Exploring Operation: 58*68=3944, Resulting Numbers: [3944]
3944,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,1,1
Current State: 21:[76, 50], Operations: ['93-17=76', '58-8=50']
Exploring Operation: 76-50=26, Resulting Numbers: [26]
26,21 unequal: No Solution
Exploring Operation: 76*50=3800, Resulting Numbers: [3800]
3800,21 unequal: No Solution
Exploring Operation: 76+50=126, Resulting Numbers: [126]
126,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,1,2
Current State: 21:[76, 66], Operations: ['93-17=76', '8+58=66']
Exploring Operation: 76-66=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Exploring Operation: 76*66=5016, Resulting Numbers: [5016]
5016,21 unequal: No Solution
Exploring Operation: 76+66=142, Resulting Numbers: [142]
142,21 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: 21:[17, 93, 50], Operations: ['58-8=50']
Exploring Operation: 50-17=33, Resulting Numbers: [93, 33]
Generated Node #0,0,0: 21:[93, 33] Operation: 50-17=33
Exploring Operation: 93-50=43, Resulting Numbers: [17, 43]
Generated Node #0,0,1: 21:[17, 43] Operation: 93-50=43
Exploring Operation: 93-17=76, Resulting Numbers: [50, 76]
Generated Node #0,0,2: 21:[50, 76] Operation: 93-17=76
Exploring Operation: 17+93=110, Resulting Numbers: [50, 110]
Generated Node #0,0,3: 21:[50, 110] Operation: 17+93=110
Moving to Node #0,0,1
Current State: 21:[17, 43], Operations: ['58-8=50', '93-50=43']
Exploring Operation: 43-17=26, Resulting Numbers: [26]
26,21 unequal: No Solution
Exploring Operation: 17*43=731, Resulting Numbers: [731]
731,21 unequal: No Solution
Exploring Operation: 17+43=60, Resulting Numbers: [60]
60,21 unequal: No Solution
Moving to Node #0,0,2
Current State: 21:[50, 76], Operations: ['58-8=50', '93-17=76']
Exploring Operation: 50+76=126, Resulting Numbers: [126]
126,21 unequal: No Solution
Exploring Operation: 50*76=3800, Resulting Numbers: [3800]
3800,21 unequal: No Solution
Exploring Operation: 76-50=26, Resulting Numbers: [26]
26,21 unequal: No Solution
Moving to Node #0,0,0
Current State: 21:[93, 33], Operations: ['58-8=50', '50-17=33']
Exploring Operation: 93+33=126, Resulting Numbers: [126]
126,21 unequal: No Solution
Exploring Operation: 93*33=3069, Resulting Numbers: [3069]
3069,21 unequal: No Solution
Exploring Operation: 93-33=60, Resulting Numbers: [60]
60,21 unequal: No Solution
Moving to Node #0,0,3
Current State: 21:[50, 110], Operations: ['58-8=50', '17+93=110']
Exploring Operation: 110-50=60, Resulting Numbers: [60]
60,21 unequal: No Solution
Exploring Operation: 50*110=5500, Resulting Numbers: [5500]
5500,21 unequal: No Solution
Exploring Operation: 50+110=160, Resulting Numbers: [160]
160,21 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
5,
19,
14,
70
] | 47 | [
"70/5=14",
"19+14=33",
"14+33=47"
] | Current State: 47:[5, 19, 14, 70], Operations: []
Exploring Operation: 70/5=14, Resulting Numbers: [19, 14, 14]
Generated Node #2: [19, 14, 14] from Operation: 70/5=14
Current State: 47:[19, 14, 14], Operations: ['70/5=14']
Exploring Operation: 19+14=33, Resulting Numbers: [33]
33,47 equal: Goal Reached
Exploring Operation: 14+33=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[5, 19, 14, 70], Operations: []
Exploring Operation: 5+14=19, Resulting Numbers: [19, 70, 19]
Generated Node #0,0: 47:[19, 70, 19] Operation: 5+14=19
Exploring Operation: 5*14=70, Resulting Numbers: [19, 70, 70]
Generated Node #0,1: 47:[19, 70, 70] Operation: 5*14=70
Exploring Operation: 70-5=65, Resulting Numbers: [19, 14, 65]
Generated Node #0,2: 47:[19, 14, 65] Operation: 70-5=65
Exploring Operation: 5+19=24, Resulting Numbers: [14, 70, 24]
Generated Node #0,3: 47:[14, 70, 24] Operation: 5+19=24
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[19, 70, 70], Operations: ['5*14=70']
Exploring Operation: 70-19=51, Resulting Numbers: [70, 51]
Generated Node #0,1,0: 47:[70, 51] Operation: 70-19=51
Exploring Operation: 19+70=89, Resulting Numbers: [70, 89]
Generated Node #0,1,1: 47:[70, 89] Operation: 19+70=89
Exploring Operation: 19+70=89, Resulting Numbers: [70, 89]
Generated Node #0,1,2: 47:[70, 89] Operation: 19+70=89
Exploring Operation: 70-19=51, Resulting Numbers: [70, 51]
Generated Node #0,1,3: 47:[70, 51] Operation: 70-19=51
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 47:[70, 51], Operations: ['5*14=70', '70-19=51']
Exploring Operation: 70-51=19, Resulting Numbers: [19]
19,47 unequal: No Solution
Exploring Operation: 70+51=121, Resulting Numbers: [121]
121,47 unequal: No Solution
Exploring Operation: 70*51=3570, Resulting Numbers: [3570]
3570,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 47:[70, 51], Operations: ['5*14=70', '70-19=51']
Exploring Operation: 70+51=121, Resulting Numbers: [121]
121,47 unequal: No Solution
Exploring Operation: 70-51=19, Resulting Numbers: [19]
19,47 unequal: No Solution
Exploring Operation: 70*51=3570, Resulting Numbers: [3570]
3570,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 47:[70, 89], Operations: ['5*14=70', '19+70=89']
Exploring Operation: 70+89=159, Resulting Numbers: [159]
159,47 unequal: No Solution
Exploring Operation: 70*89=6230, Resulting Numbers: [6230]
6230,47 unequal: No Solution
Exploring Operation: 89-70=19, Resulting Numbers: [19]
19,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 47:[70, 89], Operations: ['5*14=70', '19+70=89']
Exploring Operation: 89-70=19, Resulting Numbers: [19]
19,47 unequal: No Solution
Exploring Operation: 70*89=6230, Resulting Numbers: [6230]
6230,47 unequal: No Solution
Exploring Operation: 70+89=159, Resulting Numbers: [159]
159,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,0
Current State: 47:[19, 70, 19], Operations: ['5+14=19']
Exploring Operation: 70-19=51, Resulting Numbers: [19, 51]
Generated Node #0,0,0: 47:[19, 51] Operation: 70-19=51
Exploring Operation: 19+19=38, Resulting Numbers: [70, 38]
Generated Node #0,0,1: 47:[70, 38] Operation: 19+19=38
Exploring Operation: 19/19=1, Resulting Numbers: [70, 1]
Generated Node #0,0,2: 47:[70, 1] Operation: 19/19=1
Exploring Operation: 70-19=51, Resulting Numbers: [19, 51]
Generated Node #0,0,3: 47:[19, 51] Operation: 70-19=51
Moving to Node #0,0,0
Current State: 47:[19, 51], Operations: ['5+14=19', '70-19=51']
Exploring Operation: 51-19=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Exploring Operation: 19*51=969, Resulting Numbers: [969]
969,47 unequal: No Solution
Exploring Operation: 19+51=70, Resulting Numbers: [70]
70,47 unequal: No Solution
Moving to Node #0,0,3
Current State: 47:[19, 51], Operations: ['5+14=19', '70-19=51']
Exploring Operation: 19*51=969, Resulting Numbers: [969]
969,47 unequal: No Solution
Exploring Operation: 51-19=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Exploring Operation: 19+51=70, Resulting Numbers: [70]
70,47 unequal: No Solution
Moving to Node #0,0,1
Current State: 47:[70, 38], Operations: ['5+14=19', '19+19=38']
Exploring Operation: 70+38=108, Resulting Numbers: [108]
108,47 unequal: No Solution
Exploring Operation: 70*38=2660, Resulting Numbers: [2660]
2660,47 unequal: No Solution
Exploring Operation: 70-38=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Moving to Node #0,0,2
Current State: 47:[70, 1], Operations: ['5+14=19', '19/19=1']
Exploring Operation: 70*1=70, Resulting Numbers: [70]
70,47 unequal: No Solution
Exploring Operation: 70/1=70, Resulting Numbers: [70]
70,47 unequal: No Solution
Exploring Operation: 70+1=71, Resulting Numbers: [71]
71,47 unequal: No Solution
Exploring Operation: 70-1=69, Resulting Numbers: [69]
69,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 47:[19, 14, 65], Operations: ['70-5=65']
Exploring Operation: 65-14=51, Resulting Numbers: [19, 51]
Generated Node #0,2,0: 47:[19, 51] Operation: 65-14=51
Exploring Operation: 19-14=5, Resulting Numbers: [65, 5]
Generated Node #0,2,1: 47:[65, 5] Operation: 19-14=5
Exploring Operation: 65-19=46, Resulting Numbers: [14, 46]
Generated Node #0,2,2: 47:[14, 46] Operation: 65-19=46
Exploring Operation: 19+14=33, Resulting Numbers: [65, 33]
Generated Node #0,2,3: 47:[65, 33] Operation: 19+14=33
Moving to Node #0,2,0
Current State: 47:[19, 51], Operations: ['70-5=65', '65-14=51']
Exploring Operation: 51-19=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Exploring Operation: 19+51=70, Resulting Numbers: [70]
70,47 unequal: No Solution
Exploring Operation: 19*51=969, Resulting Numbers: [969]
969,47 unequal: No Solution
Moving to Node #0,2,3
Current State: 47:[65, 33], Operations: ['70-5=65', '19+14=33']
Exploring Operation: 65*33=2145, Resulting Numbers: [2145]
2145,47 unequal: No Solution
Exploring Operation: 65+33=98, Resulting Numbers: [98]
98,47 unequal: No Solution
Exploring Operation: 65-33=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Moving to Node #0,2,2
Current State: 47:[14, 46], Operations: ['70-5=65', '65-19=46']
Exploring Operation: 14*46=644, Resulting Numbers: [644]
644,47 unequal: No Solution
Exploring Operation: 14+46=60, Resulting Numbers: [60]
60,47 unequal: No Solution
Exploring Operation: 46-14=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Moving to Node #0,2,1
Current State: 47:[65, 5], Operations: ['70-5=65', '19-14=5']
Exploring Operation: 65/5=13, Resulting Numbers: [13]
13,47 unequal: No Solution
Exploring Operation: 65+5=70, Resulting Numbers: [70]
70,47 unequal: No Solution
Exploring Operation: 65*5=325, Resulting Numbers: [325]
325,47 unequal: No Solution
Exploring Operation: 65-5=60, Resulting Numbers: [60]
60,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 47:[14, 70, 24], Operations: ['5+19=24']
Exploring Operation: 14+70=84, Resulting Numbers: [24, 84]
Generated Node #0,3,0: 47:[24, 84] Operation: 14+70=84
Exploring Operation: 14+24=38, Resulting Numbers: [70, 38]
Generated Node #0,3,1: 47:[70, 38] Operation: 14+24=38
Exploring Operation: 70-24=46, Resulting Numbers: [14, 46]
Generated Node #0,3,2: 47:[14, 46] Operation: 70-24=46
Exploring Operation: 70-14=56, Resulting Numbers: [24, 56]
Generated Node #0,3,3: 47:[24, 56] Operation: 70-14=56
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 47:[70, 38], Operations: ['5+19=24', '14+24=38']
Exploring Operation: 70*38=2660, Resulting Numbers: [2660]
2660,47 unequal: No Solution
Exploring Operation: 70+38=108, Resulting Numbers: [108]
108,47 unequal: No Solution
Exploring Operation: 70-38=32, Resulting Numbers: [32]
32,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,3,3
Current State: 47:[24, 56], Operations: ['5+19=24', '70-14=56']
Exploring Operation: 56-24=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Exploring Operation: 24+56=80, Resulting Numbers: [80]
80,47 unequal: No Solution
Exploring Operation: 24*56=1344, Resulting Numbers: [1344]
1344,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,3,2
Current State: 47:[14, 46], Operations: ['5+19=24', '70-24=46']
Exploring Operation: 46-14=32, Resulting Numbers: [32]
32,47 unequal: No Solution
Exploring Operation: 14*46=644, Resulting Numbers: [644]
644,47 unequal: No Solution
Exploring Operation: 14+46=60, Resulting Numbers: [60]
60,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,3,0
Current State: 47:[24, 84], Operations: ['5+19=24', '14+70=84']
Exploring Operation: 84-24=60, Resulting Numbers: [60]
60,47 unequal: No Solution
Exploring Operation: 24*84=2016, Resulting Numbers: [2016]
2016,47 unequal: No Solution
Exploring Operation: 24+84=108, Resulting Numbers: [108]
108,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
No solution found.
| 0 | hs_4 | mult_heuristic |
[
84,
23,
38,
36
] | 24 | [
"23*36=828",
"84+828=912",
"912/38=24"
] | Current State: 24:[84, 23, 38, 36], Operations: []
Exploring Operation: 23*36=828, Resulting Numbers: [84, 38, 828]
Generated Node #2: [84, 38, 828] from Operation: 23*36=828
Current State: 24:[84, 38, 828], Operations: ['23*36=828']
Exploring Operation: 84+828=912, Resulting Numbers: [38, 912]
Generated Node #3: [38, 912] from Operation: 84+828=912
Current State: 24:[38, 912], Operations: ['23*36=828', '84+828=912']
Exploring Operation: 912/38=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[84, 23, 38, 36], Operations: []
Exploring Operation: 84-38=46, Resulting Numbers: [23, 36, 46]
Generated Node #0,0: 24:[23, 36, 46] Operation: 84-38=46
Exploring Operation: 84-36=48, Resulting Numbers: [23, 38, 48]
Generated Node #0,1: 24:[23, 38, 48] Operation: 84-36=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 24:[23, 36, 46], Operations: ['84-38=46']
Exploring Operation: 46/23=2, Resulting Numbers: [36, 2]
Generated Node #0,0,0: 24:[36, 2] Operation: 46/23=2
Exploring Operation: 46-36=10, Resulting Numbers: [23, 10]
Generated Node #0,0,1: 24:[23, 10] Operation: 46-36=10
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 24:[23, 10], Operations: ['84-38=46', '46-36=10']
Exploring Operation: 23+10=33, Resulting Numbers: [33]
33,24 unequal: No Solution
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 24:[36, 2], Operations: ['84-38=46', '46/23=2']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,24 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,24 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 24:[23, 38, 48], Operations: ['84-36=48']
Exploring Operation: 48-23=25, Resulting Numbers: [38, 25]
Generated Node #0,1,0: 24:[38, 25] Operation: 48-23=25
Exploring Operation: 48-38=10, Resulting Numbers: [23, 10]
Generated Node #0,1,1: 24:[23, 10] Operation: 48-38=10
Moving to Node #0,1,1
Current State: 24:[23, 10], Operations: ['84-36=48', '48-38=10']
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,24 unequal: No Solution
Exploring Operation: 23+10=33, Resulting Numbers: [33]
33,24 unequal: No Solution
Moving to Node #0,1,0
Current State: 24:[38, 25], Operations: ['84-36=48', '48-23=25']
Exploring Operation: 38-25=13, Resulting Numbers: [13]
13,24 unequal: No Solution
Exploring Operation: 38+25=63, Resulting Numbers: [63]
63,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
7,
5,
53,
6
] | 71 | [
"7+5=12",
"53+6=59",
"12+59=71"
] | Current State: 71:[7, 5, 53, 6], Operations: []
Exploring Operation: 7+5=12, Resulting Numbers: [53, 6, 12]
Generated Node #2: [53, 6, 12] from Operation: 7+5=12
Current State: 71:[53, 6, 12], Operations: ['7+5=12']
Exploring Operation: 53+6=59, Resulting Numbers: [12, 59]
Generated Node #3: [12, 59] from Operation: 53+6=59
Current State: 71:[12, 59], Operations: ['7+5=12', '53+6=59']
Exploring Operation: 12+59=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[7, 5, 53, 6], Operations: []
Exploring Operation: 7*6=42, Resulting Numbers: [5, 53, 42]
Generated Node #0,0: 71:[5, 53, 42] Operation: 7*6=42
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[5, 53, 42], Operations: ['7*6=42']
Exploring Operation: 5+53=58, Resulting Numbers: [42, 58]
Generated Node #0,0,0: 71:[42, 58] Operation: 5+53=58
Moving to Node #0,0,0
Current State: 71:[42, 58], Operations: ['7*6=42', '5+53=58']
Exploring Operation: 42+58=100, Resulting Numbers: [100]
100,71 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 |
[
71,
17,
48,
60
] | 53 | [
"71+48=119",
"119/17=7",
"60-7=53"
] | Current State: 53:[71, 17, 48, 60], Operations: []
Exploring Operation: 71+48=119, Resulting Numbers: [17, 60, 119]
Generated Node #2: [17, 60, 119] from Operation: 71+48=119
Current State: 53:[17, 60, 119], Operations: ['71+48=119']
Exploring Operation: 119/17=7, Resulting Numbers: [60, 7]
Generated Node #3: [60, 7] from Operation: 119/17=7
Current State: 53:[60, 7], Operations: ['71+48=119', '119/17=7']
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[71, 17, 48, 60], Operations: []
Exploring Operation: 48-17=31, Resulting Numbers: [71, 60, 31]
Generated Node #0,0: 53:[71, 60, 31] Operation: 48-17=31
Exploring Operation: 71-17=54, Resulting Numbers: [48, 60, 54]
Generated Node #0,1: 53:[48, 60, 54] Operation: 71-17=54
Exploring Operation: 60-17=43, Resulting Numbers: [71, 48, 43]
Generated Node #0,2: 53:[71, 48, 43] Operation: 60-17=43
Exploring Operation: 17+48=65, Resulting Numbers: [71, 60, 65]
Generated Node #0,3: 53:[71, 60, 65] Operation: 17+48=65
Exploring Operation: 71+17=88, Resulting Numbers: [48, 60, 88]
Generated Node #0,4: 53:[48, 60, 88] Operation: 71+17=88
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[48, 60, 54], Operations: ['71-17=54']
Exploring Operation: 60-48=12, Resulting Numbers: [54, 12]
Generated Node #0,1,0: 53:[54, 12] Operation: 60-48=12
Exploring Operation: 54-48=6, Resulting Numbers: [60, 6]
Generated Node #0,1,1: 53:[60, 6] Operation: 54-48=6
Exploring Operation: 48+60=108, Resulting Numbers: [54, 108]
Generated Node #0,1,2: 53:[54, 108] Operation: 48+60=108
Exploring Operation: 48+54=102, Resulting Numbers: [60, 102]
Generated Node #0,1,3: 53:[60, 102] Operation: 48+54=102
Exploring Operation: 60-54=6, Resulting Numbers: [48, 6]
Generated Node #0,1,4: 53:[48, 6] Operation: 60-54=6
Moving to Node #0,1,0
Current State: 53:[54, 12], Operations: ['71-17=54', '60-48=12']
Exploring Operation: 54-12=42, Resulting Numbers: [42]
42,53 unequal: No Solution
Exploring Operation: 54+12=66, Resulting Numbers: [66]
66,53 unequal: No Solution
Exploring Operation: 54*12=648, Resulting Numbers: [648]
648,53 unequal: No Solution
Moving to Node #0,1,4
Current State: 53:[48, 6], Operations: ['71-17=54', '60-54=6']
Exploring Operation: 48/6=8, Resulting Numbers: [8]
8,53 unequal: No Solution
Exploring Operation: 48-6=42, Resulting Numbers: [42]
42,53 unequal: No Solution
Exploring Operation: 48+6=54, Resulting Numbers: [54]
54,53 unequal: No Solution
Exploring Operation: 48*6=288, Resulting Numbers: [288]
288,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[60, 6], Operations: ['71-17=54', '54-48=6']
Exploring Operation: 60+6=66, Resulting Numbers: [66]
66,53 unequal: No Solution
Exploring Operation: 60-6=54, Resulting Numbers: [54]
54,53 unequal: No Solution
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,53 unequal: No Solution
Exploring Operation: 60*6=360, Resulting Numbers: [360]
360,53 unequal: No Solution
Moving to Node #0,1,2
Current State: 53:[54, 108], Operations: ['71-17=54', '48+60=108']
Exploring Operation: 54+108=162, Resulting Numbers: [162]
162,53 unequal: No Solution
Exploring Operation: 54*108=5832, Resulting Numbers: [5832]
5832,53 unequal: No Solution
Exploring Operation: 108-54=54, Resulting Numbers: [54]
54,53 unequal: No Solution
Exploring Operation: 108/54=2, Resulting Numbers: [2]
2,53 unequal: No Solution
Moving to Node #0,1,3
Current State: 53:[60, 102], Operations: ['71-17=54', '48+54=102']
Exploring Operation: 102-60=42, Resulting Numbers: [42]
42,53 unequal: No Solution
Exploring Operation: 60*102=6120, Resulting Numbers: [6120]
6120,53 unequal: No Solution
Exploring Operation: 60+102=162, Resulting Numbers: [162]
162,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 53:[71, 48, 43], Operations: ['60-17=43']
Exploring Operation: 71-43=28, Resulting Numbers: [48, 28]
Generated Node #0,2,0: 53:[48, 28] Operation: 71-43=28
Exploring Operation: 48+43=91, Resulting Numbers: [71, 91]
Generated Node #0,2,1: 53:[71, 91] Operation: 48+43=91
Exploring Operation: 48-43=5, Resulting Numbers: [71, 5]
Generated Node #0,2,2: 53:[71, 5] Operation: 48-43=5
Exploring Operation: 71-48=23, Resulting Numbers: [43, 23]
Generated Node #0,2,3: 53:[43, 23] Operation: 71-48=23
Exploring Operation: 71+43=114, Resulting Numbers: [48, 114]
Generated Node #0,2,4: 53:[48, 114] Operation: 71+43=114
Moving to Node #0,2,0
Current State: 53:[48, 28], Operations: ['60-17=43', '71-43=28']
Exploring Operation: 48*28=1344, Resulting Numbers: [1344]
1344,53 unequal: No Solution
Exploring Operation: 48-28=20, Resulting Numbers: [20]
20,53 unequal: No Solution
Exploring Operation: 48+28=76, Resulting Numbers: [76]
76,53 unequal: No Solution
Moving to Node #0,2,3
Current State: 53:[43, 23], Operations: ['60-17=43', '71-48=23']
Exploring Operation: 43+23=66, Resulting Numbers: [66]
66,53 unequal: No Solution
Exploring Operation: 43-23=20, Resulting Numbers: [20]
20,53 unequal: No Solution
Exploring Operation: 43*23=989, Resulting Numbers: [989]
989,53 unequal: No Solution
Moving to Node #0,2,1
Current State: 53:[71, 91], Operations: ['60-17=43', '48+43=91']
Exploring Operation: 71+91=162, Resulting Numbers: [162]
162,53 unequal: No Solution
Exploring Operation: 91-71=20, Resulting Numbers: [20]
20,53 unequal: No Solution
Exploring Operation: 71*91=6461, Resulting Numbers: [6461]
6461,53 unequal: No Solution
Moving to Node #0,2,2
Current State: 53:[71, 5], Operations: ['60-17=43', '48-43=5']
Exploring Operation: 71+5=76, Resulting Numbers: [76]
76,53 unequal: No Solution
Exploring Operation: 71*5=355, Resulting Numbers: [355]
355,53 unequal: No Solution
Exploring Operation: 71-5=66, Resulting Numbers: [66]
66,53 unequal: No Solution
Moving to Node #0,2,4
Current State: 53:[48, 114], Operations: ['60-17=43', '71+43=114']
Exploring Operation: 48+114=162, Resulting Numbers: [162]
162,53 unequal: No Solution
Exploring Operation: 114-48=66, Resulting Numbers: [66]
66,53 unequal: No Solution
Exploring Operation: 48*114=5472, Resulting Numbers: [5472]
5472,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 53:[71, 60, 65], Operations: ['17+48=65']
Exploring Operation: 71+60=131, Resulting Numbers: [65, 131]
Generated Node #0,3,0: 53:[65, 131] Operation: 71+60=131
Exploring Operation: 71-65=6, Resulting Numbers: [60, 6]
Generated Node #0,3,1: 53:[60, 6] Operation: 71-65=6
Exploring Operation: 65-60=5, Resulting Numbers: [71, 5]
Generated Node #0,3,2: 53:[71, 5] Operation: 65-60=5
Exploring Operation: 71+65=136, Resulting Numbers: [60, 136]
Generated Node #0,3,3: 53:[60, 136] Operation: 71+65=136
Exploring Operation: 71-60=11, Resulting Numbers: [65, 11]
Generated Node #0,3,4: 53:[65, 11] Operation: 71-60=11
Moving to Node #0,3,1
Current State: 53:[60, 6], Operations: ['17+48=65', '71-65=6']
Exploring Operation: 60+6=66, Resulting Numbers: [66]
66,53 unequal: No Solution
Exploring Operation: 60-6=54, Resulting Numbers: [54]
54,53 unequal: No Solution
Exploring Operation: 60/6=10, Resulting Numbers: [10]
10,53 unequal: No Solution
Exploring Operation: 60*6=360, Resulting Numbers: [360]
360,53 unequal: No Solution
Moving to Node #0,3,4
Current State: 53:[65, 11], Operations: ['17+48=65', '71-60=11']
Exploring Operation: 65*11=715, Resulting Numbers: [715]
715,53 unequal: No Solution
Exploring Operation: 65-11=54, Resulting Numbers: [54]
54,53 unequal: No Solution
Exploring Operation: 65+11=76, Resulting Numbers: [76]
76,53 unequal: No Solution
Moving to Node #0,3,2
Current State: 53:[71, 5], Operations: ['17+48=65', '65-60=5']
Exploring Operation: 71*5=355, Resulting Numbers: [355]
355,53 unequal: No Solution
Exploring Operation: 71-5=66, Resulting Numbers: [66]
66,53 unequal: No Solution
Exploring Operation: 71+5=76, Resulting Numbers: [76]
76,53 unequal: No Solution
Moving to Node #0,3,0
Current State: 53:[65, 131], Operations: ['17+48=65', '71+60=131']
Exploring Operation: 131-65=66, Resulting Numbers: [66]
66,53 unequal: No Solution
Exploring Operation: 65*131=8515, Resulting Numbers: [8515]
8515,53 unequal: No Solution
Exploring Operation: 65+131=196, Resulting Numbers: [196]
196,53 unequal: No Solution
Moving to Node #0,3,3
Current State: 53:[60, 136], Operations: ['17+48=65', '71+65=136']
Exploring Operation: 60*136=8160, Resulting Numbers: [8160]
8160,53 unequal: No Solution
Exploring Operation: 60+136=196, Resulting Numbers: [196]
196,53 unequal: No Solution
Exploring Operation: 136-60=76, Resulting Numbers: [76]
76,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[71, 60, 31], Operations: ['48-17=31']
Exploring Operation: 60+31=91, Resulting Numbers: [71, 91]
Generated Node #0,0,0: 53:[71, 91] Operation: 60+31=91
Exploring Operation: 71-60=11, Resulting Numbers: [31, 11]
Generated Node #0,0,1: 53:[31, 11] Operation: 71-60=11
Exploring Operation: 71+31=102, Resulting Numbers: [60, 102]
Generated Node #0,0,2: 53:[60, 102] Operation: 71+31=102
Exploring Operation: 60-31=29, Resulting Numbers: [71, 29]
Generated Node #0,0,3: 53:[71, 29] Operation: 60-31=29
Exploring Operation: 71-31=40, Resulting Numbers: [60, 40]
Generated Node #0,0,4: 53:[60, 40] Operation: 71-31=40
Moving to Node #0,0,4
Current State: 53:[60, 40], Operations: ['48-17=31', '71-31=40']
Exploring Operation: 60*40=2400, Resulting Numbers: [2400]
2400,53 unequal: No Solution
Exploring Operation: 60+40=100, Resulting Numbers: [100]
100,53 unequal: No Solution
Exploring Operation: 60-40=20, Resulting Numbers: [20]
20,53 unequal: No Solution
Moving to Node #0,0,3
Current State: 53:[71, 29], Operations: ['48-17=31', '60-31=29']
Exploring Operation: 71-29=42, Resulting Numbers: [42]
42,53 unequal: No Solution
Exploring Operation: 71+29=100, Resulting Numbers: [100]
100,53 unequal: No Solution
Exploring Operation: 71*29=2059, Resulting Numbers: [2059]
2059,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[71, 91], Operations: ['48-17=31', '60+31=91']
Exploring Operation: 71*91=6461, Resulting Numbers: [6461]
6461,53 unequal: No Solution
Exploring Operation: 71+91=162, Resulting Numbers: [162]
162,53 unequal: No Solution
Exploring Operation: 91-71=20, Resulting Numbers: [20]
20,53 unequal: No Solution
Moving to Node #0,0,2
Current State: 53:[60, 102], Operations: ['48-17=31', '71+31=102']
Exploring Operation: 102-60=42, Resulting Numbers: [42]
42,53 unequal: No Solution
Exploring Operation: 60+102=162, Resulting Numbers: [162]
162,53 unequal: No Solution
Exploring Operation: 60*102=6120, Resulting Numbers: [6120]
6120,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[31, 11], Operations: ['48-17=31', '71-60=11']
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,53 unequal: No Solution
Exploring Operation: 31+11=42, Resulting Numbers: [42]
42,53 unequal: No Solution
Exploring Operation: 31*11=341, Resulting Numbers: [341]
341,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 53:[48, 60, 88], Operations: ['71+17=88']
Exploring Operation: 88-60=28, Resulting Numbers: [48, 28]
Generated Node #0,4,0: 53:[48, 28] Operation: 88-60=28
Exploring Operation: 48+60=108, Resulting Numbers: [88, 108]
Generated Node #0,4,1: 53:[88, 108] Operation: 48+60=108
Exploring Operation: 48+88=136, Resulting Numbers: [60, 136]
Generated Node #0,4,2: 53:[60, 136] Operation: 48+88=136
Exploring Operation: 60-48=12, Resulting Numbers: [88, 12]
Generated Node #0,4,3: 53:[88, 12] Operation: 60-48=12
Exploring Operation: 88-48=40, Resulting Numbers: [60, 40]
Generated Node #0,4,4: 53:[60, 40] Operation: 88-48=40
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 53:[60, 40], Operations: ['71+17=88', '88-48=40']
Exploring Operation: 60+40=100, Resulting Numbers: [100]
100,53 unequal: No Solution
Exploring Operation: 60*40=2400, Resulting Numbers: [2400]
2400,53 unequal: No Solution
Exploring Operation: 60-40=20, Resulting Numbers: [20]
20,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 53:[48, 28], Operations: ['71+17=88', '88-60=28']
Exploring Operation: 48*28=1344, Resulting Numbers: [1344]
1344,53 unequal: No Solution
Exploring Operation: 48+28=76, Resulting Numbers: [76]
76,53 unequal: No Solution
Exploring Operation: 48-28=20, Resulting Numbers: [20]
20,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 53:[88, 12], Operations: ['71+17=88', '60-48=12']
Exploring Operation: 88+12=100, Resulting Numbers: [100]
100,53 unequal: No Solution
Exploring Operation: 88*12=1056, Resulting Numbers: [1056]
1056,53 unequal: No Solution
Exploring Operation: 88-12=76, Resulting Numbers: [76]
76,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 53:[88, 108], Operations: ['71+17=88', '48+60=108']
Exploring Operation: 88*108=9504, Resulting Numbers: [9504]
9504,53 unequal: No Solution
Exploring Operation: 108-88=20, Resulting Numbers: [20]
20,53 unequal: No Solution
Exploring Operation: 88+108=196, Resulting Numbers: [196]
196,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 53:[60, 136], Operations: ['71+17=88', '48+88=136']
Exploring Operation: 60*136=8160, Resulting Numbers: [8160]
8160,53 unequal: No Solution
Exploring Operation: 60+136=196, Resulting Numbers: [196]
196,53 unequal: No Solution
Exploring Operation: 136-60=76, Resulting Numbers: [76]
76,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
7,
67,
10,
67
] | 73 | [
"67-7=60",
"60/10=6",
"67+6=73"
] | Current State: 73:[7, 67, 10, 67], Operations: []
Exploring Operation: 67-7=60, Resulting Numbers: [10, 60]
Generated Node #2: [10, 60] from Operation: 67-7=60
Current State: 73:[10, 60], Operations: ['67-7=60']
Exploring Operation: 60/10=6, Resulting Numbers: [6]
6,73 equal: Goal Reached
Exploring Operation: 67+6=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[7, 67, 10, 67], Operations: []
Exploring Operation: 7*10=70, Resulting Numbers: [67, 67, 70]
Generated Node #0,0: 73:[67, 67, 70] Operation: 7*10=70
Exploring Operation: 7+10=17, Resulting Numbers: [67, 67, 17]
Generated Node #0,1: 73:[67, 67, 17] Operation: 7+10=17
Exploring Operation: 7+67=74, Resulting Numbers: [10, 67, 74]
Generated Node #0,2: 73:[10, 67, 74] Operation: 7+67=74
Exploring Operation: 7+67=74, Resulting Numbers: [67, 10, 74]
Generated Node #0,3: 73:[67, 10, 74] Operation: 7+67=74
Moving to Node #0,0
Current State: 73:[67, 67, 70], Operations: ['7*10=70']
Exploring Operation: 67/67=1, Resulting Numbers: [70, 1]
Generated Node #0,0,0: 73:[70, 1] Operation: 67/67=1
Exploring Operation: 67+70=137, Resulting Numbers: [67, 137]
Generated Node #0,0,1: 73:[67, 137] Operation: 67+70=137
Exploring Operation: 67+67=134, Resulting Numbers: [70, 134]
Generated Node #0,0,2: 73:[70, 134] Operation: 67+67=134
Exploring Operation: 67+70=137, Resulting Numbers: [67, 137]
Generated Node #0,0,3: 73:[67, 137] Operation: 67+70=137
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 73:[70, 134], Operations: ['7*10=70', '67+67=134']
Exploring Operation: 134-70=64, Resulting Numbers: [64]
64,73 unequal: No Solution
Exploring Operation: 70+134=204, Resulting Numbers: [204]
204,73 unequal: No Solution
Exploring Operation: 70*134=9380, Resulting Numbers: [9380]
9380,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 73:[67, 137], Operations: ['7*10=70', '67+70=137']
Exploring Operation: 137-67=70, Resulting Numbers: [70]
70,73 unequal: No Solution
Exploring Operation: 67*137=9179, Resulting Numbers: [9179]
9179,73 unequal: No Solution
Exploring Operation: 67+137=204, Resulting Numbers: [204]
204,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 73:[67, 137], Operations: ['7*10=70', '67+70=137']
Exploring Operation: 67*137=9179, Resulting Numbers: [9179]
9179,73 unequal: No Solution
Exploring Operation: 137-67=70, Resulting Numbers: [70]
70,73 unequal: No Solution
Exploring Operation: 67+137=204, Resulting Numbers: [204]
204,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[70, 1], Operations: ['7*10=70', '67/67=1']
Exploring Operation: 70+1=71, Resulting Numbers: [71]
71,73 unequal: No Solution
Exploring Operation: 70-1=69, Resulting Numbers: [69]
69,73 unequal: No Solution
Exploring Operation: 70/1=70, Resulting Numbers: [70]
70,73 unequal: No Solution
Exploring Operation: 70*1=70, Resulting Numbers: [70]
70,73 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: 73:[67, 67, 17], Operations: ['7+10=17']
Exploring Operation: 67+17=84, Resulting Numbers: [67, 84]
Generated Node #0,1,0: 73:[67, 84] Operation: 67+17=84
Exploring Operation: 67+17=84, Resulting Numbers: [67, 84]
Generated Node #0,1,1: 73:[67, 84] Operation: 67+17=84
Exploring Operation: 67-17=50, Resulting Numbers: [67, 50]
Generated Node #0,1,2: 73:[67, 50] Operation: 67-17=50
Exploring Operation: 67-17=50, Resulting Numbers: [67, 50]
Generated Node #0,1,3: 73:[67, 50] Operation: 67-17=50
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 73:[67, 84], Operations: ['7+10=17', '67+17=84']
Exploring Operation: 67+84=151, Resulting Numbers: [151]
151,73 unequal: No Solution
Exploring Operation: 84-67=17, Resulting Numbers: [17]
17,73 unequal: No Solution
Exploring Operation: 67*84=5628, Resulting Numbers: [5628]
5628,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 73:[67, 84], Operations: ['7+10=17', '67+17=84']
Exploring Operation: 67*84=5628, Resulting Numbers: [5628]
5628,73 unequal: No Solution
Exploring Operation: 67+84=151, Resulting Numbers: [151]
151,73 unequal: No Solution
Exploring Operation: 84-67=17, Resulting Numbers: [17]
17,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 73:[67, 50], Operations: ['7+10=17', '67-17=50']
Exploring Operation: 67*50=3350, Resulting Numbers: [3350]
3350,73 unequal: No Solution
Exploring Operation: 67-50=17, Resulting Numbers: [17]
17,73 unequal: No Solution
Exploring Operation: 67+50=117, Resulting Numbers: [117]
117,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 73:[67, 50], Operations: ['7+10=17', '67-17=50']
Exploring Operation: 67*50=3350, Resulting Numbers: [3350]
3350,73 unequal: No Solution
Exploring Operation: 67+50=117, Resulting Numbers: [117]
117,73 unequal: No Solution
Exploring Operation: 67-50=17, Resulting Numbers: [17]
17,73 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: 73:[67, 10, 74], Operations: ['7+67=74']
Exploring Operation: 67-10=57, Resulting Numbers: [74, 57]
Generated Node #0,3,0: 73:[74, 57] Operation: 67-10=57
Exploring Operation: 10+74=84, Resulting Numbers: [67, 84]
Generated Node #0,3,1: 73:[67, 84] Operation: 10+74=84
Exploring Operation: 67+10=77, Resulting Numbers: [74, 77]
Generated Node #0,3,2: 73:[74, 77] Operation: 67+10=77
Exploring Operation: 74-10=64, Resulting Numbers: [67, 64]
Generated Node #0,3,3: 73:[67, 64] Operation: 74-10=64
Moving to Node #0,2
Current State: 73:[10, 67, 74], Operations: ['7+67=74']
Exploring Operation: 10+74=84, Resulting Numbers: [67, 84]
Generated Node #0,2,0: 73:[67, 84] Operation: 10+74=84
Exploring Operation: 74-10=64, Resulting Numbers: [67, 64]
Generated Node #0,2,1: 73:[67, 64] Operation: 74-10=64
Exploring Operation: 67-10=57, Resulting Numbers: [74, 57]
Generated Node #0,2,2: 73:[74, 57] Operation: 67-10=57
Exploring Operation: 10+67=77, Resulting Numbers: [74, 77]
Generated Node #0,2,3: 73:[74, 77] Operation: 10+67=77
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 73:[74, 77], Operations: ['7+67=74', '10+67=77']
Exploring Operation: 74+77=151, Resulting Numbers: [151]
151,73 unequal: No Solution
Exploring Operation: 74*77=5698, Resulting Numbers: [5698]
5698,73 unequal: No Solution
Exploring Operation: 77-74=3, Resulting Numbers: [3]
3,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 73:[67, 64], Operations: ['7+67=74', '74-10=64']
Exploring Operation: 67*64=4288, Resulting Numbers: [4288]
4288,73 unequal: No Solution
Exploring Operation: 67-64=3, Resulting Numbers: [3]
3,73 unequal: No Solution
Exploring Operation: 67+64=131, Resulting Numbers: [131]
131,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 73:[67, 84], Operations: ['7+67=74', '10+74=84']
Exploring Operation: 67*84=5628, Resulting Numbers: [5628]
5628,73 unequal: No Solution
Exploring Operation: 67+84=151, Resulting Numbers: [151]
151,73 unequal: No Solution
Exploring Operation: 84-67=17, Resulting Numbers: [17]
17,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 73:[74, 57], Operations: ['7+67=74', '67-10=57']
Exploring Operation: 74+57=131, Resulting Numbers: [131]
131,73 unequal: No Solution
Exploring Operation: 74-57=17, Resulting Numbers: [17]
17,73 unequal: No Solution
Exploring Operation: 74*57=4218, Resulting Numbers: [4218]
4218,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,2
Current State: 73:[74, 77], Operations: ['7+67=74', '67+10=77']
Exploring Operation: 74*77=5698, Resulting Numbers: [5698]
5698,73 unequal: No Solution
Exploring Operation: 77-74=3, Resulting Numbers: [3]
3,73 unequal: No Solution
Exploring Operation: 74+77=151, Resulting Numbers: [151]
151,73 unequal: No Solution
Moving to Node #0,3,3
Current State: 73:[67, 64], Operations: ['7+67=74', '74-10=64']
Exploring Operation: 67+64=131, Resulting Numbers: [131]
131,73 unequal: No Solution
Exploring Operation: 67*64=4288, Resulting Numbers: [4288]
4288,73 unequal: No Solution
Exploring Operation: 67-64=3, Resulting Numbers: [3]
3,73 unequal: No Solution
Moving to Node #0,3,1
Current State: 73:[67, 84], Operations: ['7+67=74', '10+74=84']
Exploring Operation: 67*84=5628, Resulting Numbers: [5628]
5628,73 unequal: No Solution
Exploring Operation: 84-67=17, Resulting Numbers: [17]
17,73 unequal: No Solution
Exploring Operation: 67+84=151, Resulting Numbers: [151]
151,73 unequal: No Solution
Moving to Node #0,3,0
Current State: 73:[74, 57], Operations: ['7+67=74', '67-10=57']
Exploring Operation: 74*57=4218, Resulting Numbers: [4218]
4218,73 unequal: No Solution
Exploring Operation: 74+57=131, Resulting Numbers: [131]
131,73 unequal: No Solution
Exploring Operation: 74-57=17, Resulting Numbers: [17]
17,73 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
14,
11,
3,
16
] | 66 | [
"16-14=2",
"11*3=33",
"2*33=66"
] | Current State: 66:[14, 11, 3, 16], Operations: []
Exploring Operation: 16-14=2, Resulting Numbers: [11, 3, 2]
Generated Node #2: [11, 3, 2] from Operation: 16-14=2
Current State: 66:[11, 3, 2], Operations: ['16-14=2']
Exploring Operation: 11*3=33, Resulting Numbers: [2, 33]
Generated Node #3: [2, 33] from Operation: 11*3=33
Current State: 66:[2, 33], Operations: ['16-14=2', '11*3=33']
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[14, 11, 3, 16], Operations: []
Exploring Operation: 16-14=2, Resulting Numbers: [11, 3, 2]
Generated Node #0,0: 66:[11, 3, 2] Operation: 16-14=2
Exploring Operation: 14+16=30, Resulting Numbers: [11, 3, 30]
Generated Node #0,1: 66:[11, 3, 30] Operation: 14+16=30
Exploring Operation: 16-11=5, Resulting Numbers: [14, 3, 5]
Generated Node #0,2: 66:[14, 3, 5] Operation: 16-11=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[11, 3, 2], Operations: ['16-14=2']
Exploring Operation: 11*2=22, Resulting Numbers: [3, 22]
Generated Node #0,0,0: 66:[3, 22] Operation: 11*2=22
Exploring Operation: 3*2=6, Resulting Numbers: [11, 6]
Generated Node #0,0,1: 66:[11, 6] Operation: 3*2=6
Exploring Operation: 11*3=33, Resulting Numbers: [2, 33]
Generated Node #0,0,2: 66:[2, 33] Operation: 11*3=33
Moving to Node #0,0,0
Current State: 66:[3, 22], Operations: ['16-14=2', '11*2=22']
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,66 unequal: No Solution
Exploring Operation: 3*22=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[14, 11, 3, 16], Operations: []
Exploring Operation: 16-14=2, Resulting Numbers: [11, 3, 2]
Generated Node #0,0: 66:[11, 3, 2] Operation: 16-14=2
Moving to Node #0,0
Current State: 66:[11, 3, 2], Operations: ['16-14=2']
Exploring Operation: 11*2=22, Resulting Numbers: [3, 22]
Generated Node #0,0,0: 66:[3, 22] Operation: 11*2=22
Moving to Node #0,0,0
Current State: 66:[3, 22], Operations: ['16-14=2', '11*2=22']
Exploring Operation: 3*22=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
39,
50,
97,
3
] | 78 | [
"97+3=100",
"39*100=3900",
"3900/50=78"
] | Current State: 78:[39, 50, 97, 3], Operations: []
Exploring Operation: 97+3=100, Resulting Numbers: [39, 50, 100]
Generated Node #2: [39, 50, 100] from Operation: 97+3=100
Current State: 78:[39, 50, 100], Operations: ['97+3=100']
Exploring Operation: 39*100=3900, Resulting Numbers: [50, 3900]
Generated Node #3: [50, 3900] from Operation: 39*100=3900
Current State: 78:[50, 3900], Operations: ['97+3=100', '39*100=3900']
Exploring Operation: 3900/50=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[39, 50, 97, 3], Operations: []
Exploring Operation: 97-50=47, Resulting Numbers: [39, 3, 47]
Generated Node #0,0: 78:[39, 3, 47] Operation: 97-50=47
Moving to Node #0,0
Current State: 78:[39, 3, 47], Operations: ['97-50=47']
Exploring Operation: 47-39=8, Resulting Numbers: [3, 8]
Generated Node #0,0,0: 78:[3, 8] Operation: 47-39=8
Moving to Node #0,0,0
Current State: 78:[3, 8], Operations: ['97-50=47', '47-39=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,78 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
98,
20,
57,
26
] | 54 | [
"98-20=78",
"78/26=3",
"57-3=54"
] | Current State: 54:[98, 20, 57, 26], Operations: []
Exploring Operation: 98-20=78, Resulting Numbers: [57, 26, 78]
Generated Node #2: [57, 26, 78] from Operation: 98-20=78
Current State: 54:[57, 26, 78], Operations: ['98-20=78']
Exploring Operation: 78/26=3, Resulting Numbers: [57, 3]
Generated Node #3: [57, 3] from Operation: 78/26=3
Current State: 54:[57, 3], Operations: ['98-20=78', '78/26=3']
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[98, 20, 57, 26], Operations: []
Exploring Operation: 98-57=41, Resulting Numbers: [20, 26, 41]
Generated Node #0,0: 54:[20, 26, 41] Operation: 98-57=41
Exploring Operation: 98-26=72, Resulting Numbers: [20, 57, 72]
Generated Node #0,1: 54:[20, 57, 72] Operation: 98-26=72
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[20, 26, 41], Operations: ['98-57=41']
Exploring Operation: 41-20=21, Resulting Numbers: [26, 21]
Generated Node #0,0,0: 54:[26, 21] Operation: 41-20=21
Exploring Operation: 41-26=15, Resulting Numbers: [20, 15]
Generated Node #0,0,1: 54:[20, 15] Operation: 41-26=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 54:[26, 21], Operations: ['98-57=41', '41-20=21']
Exploring Operation: 26-21=5, Resulting Numbers: [5]
5,54 unequal: No Solution
Exploring Operation: 26+21=47, Resulting Numbers: [47]
47,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 54:[20, 15], Operations: ['98-57=41', '41-26=15']
Exploring Operation: 20+15=35, Resulting Numbers: [35]
35,54 unequal: No Solution
Exploring Operation: 20-15=5, Resulting Numbers: [5]
5,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 54:[20, 57, 72], Operations: ['98-26=72']
Exploring Operation: 72-57=15, Resulting Numbers: [20, 15]
Generated Node #0,1,0: 54:[20, 15] Operation: 72-57=15
Exploring Operation: 72-20=52, Resulting Numbers: [57, 52]
Generated Node #0,1,1: 54:[57, 52] Operation: 72-20=52
Moving to Node #0,1,0
Current State: 54:[20, 15], Operations: ['98-26=72', '72-57=15']
Exploring Operation: 20-15=5, Resulting Numbers: [5]
5,54 unequal: No Solution
Exploring Operation: 20+15=35, Resulting Numbers: [35]
35,54 unequal: No Solution
Moving to Node #0,1,1
Current State: 54:[57, 52], Operations: ['98-26=72', '72-20=52']
Exploring Operation: 57+52=109, Resulting Numbers: [109]
109,54 unequal: No Solution
Exploring Operation: 57-52=5, Resulting Numbers: [5]
5,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
35,
42,
98,
21
] | 61 | [
"98-35=63",
"42/21=2",
"63-2=61"
] | Current State: 61:[35, 42, 98, 21], Operations: []
Exploring Operation: 98-35=63, Resulting Numbers: [42, 21, 63]
Generated Node #2: [42, 21, 63] from Operation: 98-35=63
Current State: 61:[42, 21, 63], Operations: ['98-35=63']
Exploring Operation: 42/21=2, Resulting Numbers: [63, 2]
Generated Node #3: [63, 2] from Operation: 42/21=2
Current State: 61:[63, 2], Operations: ['98-35=63', '42/21=2']
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[35, 42, 98, 21], Operations: []
Exploring Operation: 98-35=63, Resulting Numbers: [42, 21, 63]
Generated Node #0,0: 61:[42, 21, 63] Operation: 98-35=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[42, 21, 63], Operations: ['98-35=63']
Exploring Operation: 42+21=63, Resulting Numbers: [63, 63]
Generated Node #0,0,0: 61:[63, 63] Operation: 42+21=63
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 61:[63, 63], Operations: ['98-35=63', '42+21=63']
Exploring Operation: 63/63=1, Resulting Numbers: [1]
1,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 |
[
96,
31,
17,
37
] | 100 | [
"31+37=68",
"68/17=4",
"96+4=100"
] | Current State: 100:[96, 31, 17, 37], Operations: []
Exploring Operation: 31+37=68, Resulting Numbers: [96, 17, 68]
Generated Node #2: [96, 17, 68] from Operation: 31+37=68
Current State: 100:[96, 17, 68], Operations: ['31+37=68']
Exploring Operation: 68/17=4, Resulting Numbers: [96, 4]
Generated Node #3: [96, 4] from Operation: 68/17=4
Current State: 100:[96, 4], Operations: ['31+37=68', '68/17=4']
Exploring Operation: 96+4=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[96, 31, 17, 37], Operations: []
Exploring Operation: 17+37=54, Resulting Numbers: [96, 31, 54]
Generated Node #0,0: 100:[96, 31, 54] Operation: 17+37=54
Exploring Operation: 96-37=59, Resulting Numbers: [31, 17, 59]
Generated Node #0,1: 100:[31, 17, 59] Operation: 96-37=59
Exploring Operation: 37-31=6, Resulting Numbers: [96, 17, 6]
Generated Node #0,2: 100:[96, 17, 6] Operation: 37-31=6
Exploring Operation: 37-17=20, Resulting Numbers: [96, 31, 20]
Generated Node #0,3: 100:[96, 31, 20] Operation: 37-17=20
Start Sub Search at level 1: Moving to Node #0,2
Current State: 100:[96, 17, 6], Operations: ['37-31=6']
Exploring Operation: 17+6=23, Resulting Numbers: [96, 23]
Generated Node #0,2,0: 100:[96, 23] Operation: 17+6=23
Exploring Operation: 96+6=102, Resulting Numbers: [17, 102]
Generated Node #0,2,1: 100:[17, 102] Operation: 96+6=102
Exploring Operation: 17*6=102, Resulting Numbers: [96, 102]
Generated Node #0,2,2: 100:[96, 102] Operation: 17*6=102
Exploring Operation: 17-6=11, Resulting Numbers: [96, 11]
Generated Node #0,2,3: 100:[96, 11] Operation: 17-6=11
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 100:[17, 102], Operations: ['37-31=6', '96+6=102']
Exploring Operation: 17+102=119, Resulting Numbers: [119]
119,100 unequal: No Solution
Exploring Operation: 102-17=85, Resulting Numbers: [85]
85,100 unequal: No Solution
Exploring Operation: 17*102=1734, Resulting Numbers: [1734]
1734,100 unequal: No Solution
Exploring Operation: 102/17=6, Resulting Numbers: [6]
6,100 unequal: No Solution
No 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: 100:[96, 11], Operations: ['37-31=6', '17-6=11']
Exploring Operation: 96*11=1056, Resulting Numbers: [1056]
1056,100 unequal: No Solution
Exploring Operation: 96-11=85, Resulting Numbers: [85]
85,100 unequal: No Solution
Exploring Operation: 96+11=107, Resulting Numbers: [107]
107,100 unequal: No Solution
No 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: 100:[96, 23], Operations: ['37-31=6', '17+6=23']
Exploring Operation: 96+23=119, Resulting Numbers: [119]
119,100 unequal: No Solution
Exploring Operation: 96-23=73, Resulting Numbers: [73]
73,100 unequal: No Solution
Exploring Operation: 96*23=2208, Resulting Numbers: [2208]
2208,100 unequal: No Solution
No 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: 100:[96, 102], Operations: ['37-31=6', '17*6=102']
Exploring Operation: 96+102=198, Resulting Numbers: [198]
198,100 unequal: No Solution
Exploring Operation: 102-96=6, Resulting Numbers: [6]
6,100 unequal: No Solution
Exploring Operation: 96*102=9792, Resulting Numbers: [9792]
9792,100 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: 100:[96, 31, 20], Operations: ['37-17=20']
Exploring Operation: 96-31=65, Resulting Numbers: [20, 65]
Generated Node #0,3,0: 100:[20, 65] Operation: 96-31=65
Exploring Operation: 31-20=11, Resulting Numbers: [96, 11]
Generated Node #0,3,1: 100:[96, 11] Operation: 31-20=11
Exploring Operation: 96+20=116, Resulting Numbers: [31, 116]
Generated Node #0,3,2: 100:[31, 116] Operation: 96+20=116
Exploring Operation: 31+20=51, Resulting Numbers: [96, 51]
Generated Node #0,3,3: 100:[96, 51] Operation: 31+20=51
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 100:[96, 11], Operations: ['37-17=20', '31-20=11']
Exploring Operation: 96+11=107, Resulting Numbers: [107]
107,100 unequal: No Solution
Exploring Operation: 96*11=1056, Resulting Numbers: [1056]
1056,100 unequal: No Solution
Exploring Operation: 96-11=85, Resulting Numbers: [85]
85,100 unequal: No Solution
No 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: 100:[96, 51], Operations: ['37-17=20', '31+20=51']
Exploring Operation: 96+51=147, Resulting Numbers: [147]
147,100 unequal: No Solution
Exploring Operation: 96-51=45, Resulting Numbers: [45]
45,100 unequal: No Solution
Exploring Operation: 96*51=4896, Resulting Numbers: [4896]
4896,100 unequal: No Solution
No 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: 100:[20, 65], Operations: ['37-17=20', '96-31=65']
Exploring Operation: 20+65=85, Resulting Numbers: [85]
85,100 unequal: No Solution
Exploring Operation: 20*65=1300, Resulting Numbers: [1300]
1300,100 unequal: No Solution
Exploring Operation: 65-20=45, Resulting Numbers: [45]
45,100 unequal: No Solution
No 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: 100:[31, 116], Operations: ['37-17=20', '96+20=116']
Exploring Operation: 116-31=85, Resulting Numbers: [85]
85,100 unequal: No Solution
Exploring Operation: 31+116=147, Resulting Numbers: [147]
147,100 unequal: No Solution
Exploring Operation: 31*116=3596, Resulting Numbers: [3596]
3596,100 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: 100:[96, 31, 54], Operations: ['17+37=54']
Exploring Operation: 54-31=23, Resulting Numbers: [96, 23]
Generated Node #0,0,0: 100:[96, 23] Operation: 54-31=23
Exploring Operation: 96-31=65, Resulting Numbers: [54, 65]
Generated Node #0,0,1: 100:[54, 65] Operation: 96-31=65
Exploring Operation: 31+54=85, Resulting Numbers: [96, 85]
Generated Node #0,0,2: 100:[96, 85] Operation: 31+54=85
Exploring Operation: 96-54=42, Resulting Numbers: [31, 42]
Generated Node #0,0,3: 100:[31, 42] Operation: 96-54=42
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 100:[96, 23], Operations: ['17+37=54', '54-31=23']
Exploring Operation: 96-23=73, Resulting Numbers: [73]
73,100 unequal: No Solution
Exploring Operation: 96*23=2208, Resulting Numbers: [2208]
2208,100 unequal: No Solution
Exploring Operation: 96+23=119, Resulting Numbers: [119]
119,100 unequal: No Solution
No 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: 100:[31, 42], Operations: ['17+37=54', '96-54=42']
Exploring Operation: 31*42=1302, Resulting Numbers: [1302]
1302,100 unequal: No Solution
Exploring Operation: 31+42=73, Resulting Numbers: [73]
73,100 unequal: No Solution
Exploring Operation: 42-31=11, Resulting Numbers: [11]
11,100 unequal: No Solution
No 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: 100:[54, 65], Operations: ['17+37=54', '96-31=65']
Exploring Operation: 54+65=119, Resulting Numbers: [119]
119,100 unequal: No Solution
Exploring Operation: 54*65=3510, Resulting Numbers: [3510]
3510,100 unequal: No Solution
Exploring Operation: 65-54=11, Resulting Numbers: [11]
11,100 unequal: No Solution
No 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: 100:[96, 85], Operations: ['17+37=54', '31+54=85']
Exploring Operation: 96+85=181, Resulting Numbers: [181]
181,100 unequal: No Solution
Exploring Operation: 96*85=8160, Resulting Numbers: [8160]
8160,100 unequal: No Solution
Exploring Operation: 96-85=11, Resulting Numbers: [11]
11,100 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: 100:[31, 17, 59], Operations: ['96-37=59']
Exploring Operation: 31+59=90, Resulting Numbers: [17, 90]
Generated Node #0,1,0: 100:[17, 90] Operation: 31+59=90
Exploring Operation: 31-17=14, Resulting Numbers: [59, 14]
Generated Node #0,1,1: 100:[59, 14] Operation: 31-17=14
Exploring Operation: 59-31=28, Resulting Numbers: [17, 28]
Generated Node #0,1,2: 100:[17, 28] Operation: 59-31=28
Exploring Operation: 31+17=48, Resulting Numbers: [59, 48]
Generated Node #0,1,3: 100:[59, 48] Operation: 31+17=48
Moving to Node #0,1,2
Current State: 100:[17, 28], Operations: ['96-37=59', '59-31=28']
Exploring Operation: 17*28=476, Resulting Numbers: [476]
476,100 unequal: No Solution
Exploring Operation: 28-17=11, Resulting Numbers: [11]
11,100 unequal: No Solution
Exploring Operation: 17+28=45, Resulting Numbers: [45]
45,100 unequal: No Solution
Moving to Node #0,1,3
Current State: 100:[59, 48], Operations: ['96-37=59', '31+17=48']
Exploring Operation: 59+48=107, Resulting Numbers: [107]
107,100 unequal: No Solution
Exploring Operation: 59-48=11, Resulting Numbers: [11]
11,100 unequal: No Solution
Exploring Operation: 59*48=2832, Resulting Numbers: [2832]
2832,100 unequal: No Solution
Moving to Node #0,1,1
Current State: 100:[59, 14], Operations: ['96-37=59', '31-17=14']
Exploring Operation: 59-14=45, Resulting Numbers: [45]
45,100 unequal: No Solution
Exploring Operation: 59*14=826, Resulting Numbers: [826]
826,100 unequal: No Solution
Exploring Operation: 59+14=73, Resulting Numbers: [73]
73,100 unequal: No Solution
Moving to Node #0,1,0
Current State: 100:[17, 90], Operations: ['96-37=59', '31+59=90']
Exploring Operation: 90-17=73, Resulting Numbers: [73]
73,100 unequal: No Solution
Exploring Operation: 17+90=107, Resulting Numbers: [107]
107,100 unequal: No Solution
Exploring Operation: 17*90=1530, Resulting Numbers: [1530]
1530,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
58,
29,
81,
90
] | 36 | [
"58/29=2",
"90/2=45",
"81-45=36"
] | Current State: 36:[58, 29, 81, 90], Operations: []
Exploring Operation: 58/29=2, Resulting Numbers: [81, 90, 2]
Generated Node #2: [81, 90, 2] from Operation: 58/29=2
Current State: 36:[81, 90, 2], Operations: ['58/29=2']
Exploring Operation: 90/2=45, Resulting Numbers: [81, 45]
Generated Node #3: [81, 45] from Operation: 90/2=45
Current State: 36:[81, 45], Operations: ['58/29=2', '90/2=45']
Exploring Operation: 81-45=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[58, 29, 81, 90], Operations: []
Exploring Operation: 90-81=9, Resulting Numbers: [58, 29, 9]
Generated Node #0,0: 36:[58, 29, 9] Operation: 90-81=9
Moving to Node #0,0
Current State: 36:[58, 29, 9], Operations: ['90-81=9']
Exploring Operation: 58/29=2, Resulting Numbers: [9, 2]
Generated Node #0,0,0: 36:[9, 2] Operation: 58/29=2
Moving to Node #0,0,0
Current State: 36:[9, 2], Operations: ['90-81=9', '58/29=2']
Exploring Operation: 9*2=18, Resulting Numbers: [18]
18,36 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
73,
36,
77,
18
] | 72 | [
"77-73=4",
"36-18=18",
"4*18=72"
] | Current State: 72:[73, 36, 77, 18], Operations: []
Exploring Operation: 77-73=4, Resulting Numbers: [36, 18, 4]
Generated Node #2: [36, 18, 4] from Operation: 77-73=4
Current State: 72:[36, 18, 4], Operations: ['77-73=4']
Exploring Operation: 36-18=18, Resulting Numbers: [4, 18]
Generated Node #3: [4, 18] from Operation: 36-18=18
Current State: 72:[4, 18], Operations: ['77-73=4', '36-18=18']
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[73, 36, 77, 18], Operations: []
Exploring Operation: 73-36=37, Resulting Numbers: [77, 18, 37]
Generated Node #0,0: 72:[77, 18, 37] Operation: 73-36=37
Exploring Operation: 77-73=4, Resulting Numbers: [36, 18, 4]
Generated Node #0,1: 72:[36, 18, 4] Operation: 77-73=4
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[36, 18, 4], Operations: ['77-73=4']
Exploring Operation: 36-18=18, Resulting Numbers: [4, 18]
Generated Node #0,1,0: 72:[4, 18] Operation: 36-18=18
Exploring Operation: 36/18=2, Resulting Numbers: [4, 2]
Generated Node #0,1,1: 72:[4, 2] Operation: 36/18=2
Moving to Node #0,1,0
Current State: 72:[4, 18], Operations: ['77-73=4', '36-18=18']
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,72 unequal: No Solution
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[73, 36, 77, 18], Operations: []
Exploring Operation: 77-73=4, Resulting Numbers: [36, 18, 4]
Generated Node #0,1: 72:[36, 18, 4] Operation: 77-73=4
Moving to Node #0,1
Current State: 72:[36, 18, 4], Operations: ['77-73=4']
Exploring Operation: 36-18=18, Resulting Numbers: [4, 18]
Generated Node #0,1,0: 72:[4, 18] Operation: 36-18=18
Moving to Node #0,1,0
Current State: 72:[4, 18], Operations: ['77-73=4', '36-18=18']
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
12,
13,
57,
54
] | 86 | [
"12+13=25",
"57+54=111",
"111-25=86"
] | Current State: 86:[12, 13, 57, 54], Operations: []
Exploring Operation: 12+13=25, Resulting Numbers: [57, 54, 25]
Generated Node #2: [57, 54, 25] from Operation: 12+13=25
Current State: 86:[57, 54, 25], Operations: ['12+13=25']
Exploring Operation: 57+54=111, Resulting Numbers: [25, 111]
Generated Node #3: [25, 111] from Operation: 57+54=111
Current State: 86:[25, 111], Operations: ['12+13=25', '57+54=111']
Exploring Operation: 111-25=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[12, 13, 57, 54], Operations: []
Exploring Operation: 57-12=45, Resulting Numbers: [13, 54, 45]
Generated Node #0,0: 86:[13, 54, 45] Operation: 57-12=45
Exploring Operation: 57-54=3, Resulting Numbers: [12, 13, 3]
Generated Node #0,1: 86:[12, 13, 3] Operation: 57-54=3
Exploring Operation: 57-13=44, Resulting Numbers: [12, 54, 44]
Generated Node #0,2: 86:[12, 54, 44] Operation: 57-13=44
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[12, 13, 3], Operations: ['57-54=3']
Exploring Operation: 13*3=39, Resulting Numbers: [12, 39]
Generated Node #0,1,0: 86:[12, 39] Operation: 13*3=39
Exploring Operation: 13-12=1, Resulting Numbers: [3, 1]
Generated Node #0,1,1: 86:[3, 1] Operation: 13-12=1
Exploring Operation: 12/3=4, Resulting Numbers: [13, 4]
Generated Node #0,1,2: 86:[13, 4] Operation: 12/3=4
Moving to Node #0,1,1
Current State: 86:[3, 1], Operations: ['57-54=3', '13-12=1']
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,86 unequal: No Solution
Exploring Operation: 3-1=2, Resulting Numbers: [2]
2,86 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,86 unequal: No Solution
Moving to Node #0,1,2
Current State: 86:[13, 4], Operations: ['57-54=3', '12/3=4']
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,86 unequal: No Solution
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,86 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,86 unequal: No Solution
Moving to Node #0,1,0
Current State: 86:[12, 39], Operations: ['57-54=3', '13*3=39']
Exploring Operation: 12+39=51, Resulting Numbers: [51]
51,86 unequal: No Solution
Exploring Operation: 12*39=468, Resulting Numbers: [468]
468,86 unequal: No Solution
Exploring Operation: 39-12=27, Resulting Numbers: [27]
27,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 86:[12, 54, 44], Operations: ['57-13=44']
Exploring Operation: 54-44=10, Resulting Numbers: [12, 10]
Generated Node #0,2,0: 86:[12, 10] Operation: 54-44=10
Exploring Operation: 54-12=42, Resulting Numbers: [44, 42]
Generated Node #0,2,1: 86:[44, 42] Operation: 54-12=42
Exploring Operation: 12+54=66, Resulting Numbers: [44, 66]
Generated Node #0,2,2: 86:[44, 66] Operation: 12+54=66
Moving to Node #0,2,1
Current State: 86:[44, 42], Operations: ['57-13=44', '54-12=42']
Exploring Operation: 44-42=2, Resulting Numbers: [2]
2,86 unequal: No Solution
Exploring Operation: 44+42=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[12, 13, 57, 54], Operations: []
Exploring Operation: 57-13=44, Resulting Numbers: [12, 54, 44]
Generated Node #0,2: 86:[12, 54, 44] Operation: 57-13=44
Moving to Node #0,2
Current State: 86:[12, 54, 44], Operations: ['57-13=44']
Exploring Operation: 54-12=42, Resulting Numbers: [44, 42]
Generated Node #0,2,1: 86:[44, 42] Operation: 54-12=42
Moving to Node #0,2,1
Current State: 86:[44, 42], Operations: ['57-13=44', '54-12=42']
Exploring Operation: 44+42=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_3 | mult_heuristic |
[
21,
71,
13,
92
] | 88 | [
"71+13=84",
"84/21=4",
"92-4=88"
] | Current State: 88:[21, 71, 13, 92], Operations: []
Exploring Operation: 71+13=84, Resulting Numbers: [21, 92, 84]
Generated Node #2: [21, 92, 84] from Operation: 71+13=84
Current State: 88:[21, 92, 84], Operations: ['71+13=84']
Exploring Operation: 84/21=4, Resulting Numbers: [92, 4]
Generated Node #3: [92, 4] from Operation: 84/21=4
Current State: 88:[92, 4], Operations: ['71+13=84', '84/21=4']
Exploring Operation: 92-4=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[21, 71, 13, 92], Operations: []
Exploring Operation: 21+71=92, Resulting Numbers: [13, 92, 92]
Generated Node #0,0: 88:[13, 92, 92] Operation: 21+71=92
Exploring Operation: 92-71=21, Resulting Numbers: [21, 13, 21]
Generated Node #0,1: 88:[21, 13, 21] Operation: 92-71=21
Exploring Operation: 71-21=50, Resulting Numbers: [13, 92, 50]
Generated Node #0,2: 88:[13, 92, 50] Operation: 71-21=50
Exploring Operation: 71+13=84, Resulting Numbers: [21, 92, 84]
Generated Node #0,3: 88:[21, 92, 84] Operation: 71+13=84
Moving to Node #0,1
Current State: 88:[21, 13, 21], Operations: ['92-71=21']
Exploring Operation: 21-13=8, Resulting Numbers: [21, 8]
Generated Node #0,1,0: 88:[21, 8] Operation: 21-13=8
Exploring Operation: 21/21=1, Resulting Numbers: [13, 1]
Generated Node #0,1,1: 88:[13, 1] Operation: 21/21=1
Exploring Operation: 21-13=8, Resulting Numbers: [21, 8]
Generated Node #0,1,2: 88:[21, 8] Operation: 21-13=8
Exploring Operation: 21+21=42, Resulting Numbers: [13, 42]
Generated Node #0,1,3: 88:[13, 42] Operation: 21+21=42
Moving to Node #0,3
Current State: 88:[21, 92, 84], Operations: ['71+13=84']
Exploring Operation: 92-21=71, Resulting Numbers: [84, 71]
Generated Node #0,3,0: 88:[84, 71] Operation: 92-21=71
Exploring Operation: 92-84=8, Resulting Numbers: [21, 8]
Generated Node #0,3,1: 88:[21, 8] Operation: 92-84=8
Exploring Operation: 84/21=4, Resulting Numbers: [92, 4]
Generated Node #0,3,2: 88:[92, 4] Operation: 84/21=4
Exploring Operation: 21+84=105, Resulting Numbers: [92, 105]
Generated Node #0,3,3: 88:[92, 105] Operation: 21+84=105
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 88:[21, 8], Operations: ['71+13=84', '92-84=8']
Exploring Operation: 21+8=29, Resulting Numbers: [29]
29,88 unequal: No Solution
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,88 unequal: No Solution
Exploring Operation: 21*8=168, Resulting Numbers: [168]
168,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,3,2
Current State: 88:[92, 4], Operations: ['71+13=84', '84/21=4']
Exploring Operation: 92*4=368, Resulting Numbers: [368]
368,88 unequal: No Solution
Exploring Operation: 92/4=23, Resulting Numbers: [23]
23,88 unequal: No Solution
Exploring Operation: 92-4=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[21, 71, 13, 92], Operations: []
Exploring Operation: 71+13=84, Resulting Numbers: [21, 92, 84]
Generated Node #0,3: 88:[21, 92, 84] Operation: 71+13=84
Moving to Node #0,3
Current State: 88:[21, 92, 84], Operations: ['71+13=84']
Exploring Operation: 84/21=4, Resulting Numbers: [92, 4]
Generated Node #0,3,2: 88:[92, 4] Operation: 84/21=4
Moving to Node #0,3,2
Current State: 88:[92, 4], Operations: ['71+13=84', '84/21=4']
Exploring Operation: 92-4=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_4 | sum_heuristic |
[
17,
11,
12,
8
] | 93 | [
"17-12=5",
"11*8=88",
"5+88=93"
] | Current State: 93:[17, 11, 12, 8], Operations: []
Exploring Operation: 17-12=5, Resulting Numbers: [11, 8, 5]
Generated Node #2: [11, 8, 5] from Operation: 17-12=5
Current State: 93:[11, 8, 5], Operations: ['17-12=5']
Exploring Operation: 11*8=88, Resulting Numbers: [5, 88]
Generated Node #3: [5, 88] from Operation: 11*8=88
Current State: 93:[5, 88], Operations: ['17-12=5', '11*8=88']
Exploring Operation: 5+88=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[17, 11, 12, 8], Operations: []
Exploring Operation: 17-12=5, Resulting Numbers: [11, 8, 5]
Generated Node #0,0: 93:[11, 8, 5] Operation: 17-12=5
Exploring Operation: 17+12=29, Resulting Numbers: [11, 8, 29]
Generated Node #0,1: 93:[11, 8, 29] Operation: 17+12=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[11, 8, 5], Operations: ['17-12=5']
Exploring Operation: 11-8=3, Resulting Numbers: [5, 3]
Generated Node #0,0,0: 93:[5, 3] Operation: 11-8=3
Exploring Operation: 11*8=88, Resulting Numbers: [5, 88]
Generated Node #0,0,1: 93:[5, 88] Operation: 11*8=88
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 93:[5, 3], Operations: ['17-12=5', '11-8=3']
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,93 unequal: No Solution
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 93:[5, 88], Operations: ['17-12=5', '11*8=88']
Exploring Operation: 5+88=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[17, 11, 12, 8], Operations: []
Exploring Operation: 17-12=5, Resulting Numbers: [11, 8, 5]
Generated Node #0,0: 93:[11, 8, 5] Operation: 17-12=5
Moving to Node #0,0
Current State: 93:[11, 8, 5], Operations: ['17-12=5']
Exploring Operation: 11*8=88, Resulting Numbers: [5, 88]
Generated Node #0,0,1: 93:[5, 88] Operation: 11*8=88
Moving to Node #0,0,1
Current State: 93:[5, 88], Operations: ['17-12=5', '11*8=88']
Exploring Operation: 5+88=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
29,
36,
66,
31
] | 90 | [
"36-29=7",
"66+31=97",
"97-7=90"
] | Current State: 90:[29, 36, 66, 31], Operations: []
Exploring Operation: 36-29=7, Resulting Numbers: [66, 31, 7]
Generated Node #2: [66, 31, 7] from Operation: 36-29=7
Current State: 90:[66, 31, 7], Operations: ['36-29=7']
Exploring Operation: 66+31=97, Resulting Numbers: [7, 97]
Generated Node #3: [7, 97] from Operation: 66+31=97
Current State: 90:[7, 97], Operations: ['36-29=7', '66+31=97']
Exploring Operation: 97-7=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[29, 36, 66, 31], Operations: []
Exploring Operation: 29+66=95, Resulting Numbers: [36, 31, 95]
Generated Node #0,0: 90:[36, 31, 95] Operation: 29+66=95
Exploring Operation: 66-36=30, Resulting Numbers: [29, 31, 30]
Generated Node #0,1: 90:[29, 31, 30] Operation: 66-36=30
Start Sub Search at level 1: Moving to Node #0,1
Current State: 90:[29, 31, 30], Operations: ['66-36=30']
Exploring Operation: 31-29=2, Resulting Numbers: [30, 2]
Generated Node #0,1,0: 90:[30, 2] Operation: 31-29=2
Exploring Operation: 30-29=1, Resulting Numbers: [31, 1]
Generated Node #0,1,1: 90:[31, 1] Operation: 30-29=1
Moving to Node #0,1,0
Current State: 90:[30, 2], Operations: ['66-36=30', '31-29=2']
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,90 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,90 unequal: No Solution
Moving to Node #0,1,1
Current State: 90:[31, 1], Operations: ['66-36=30', '30-29=1']
Exploring Operation: 31*1=31, Resulting Numbers: [31]
31,90 unequal: No Solution
Exploring Operation: 31-1=30, Resulting Numbers: [30]
30,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:[36, 31, 95], Operations: ['29+66=95']
Exploring Operation: 36-31=5, Resulting Numbers: [95, 5]
Generated Node #0,0,0: 90:[95, 5] Operation: 36-31=5
Exploring Operation: 95-36=59, Resulting Numbers: [31, 59]
Generated Node #0,0,1: 90:[31, 59] Operation: 95-36=59
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 90:[95, 5], Operations: ['29+66=95', '36-31=5']
Exploring Operation: 95-5=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[29, 36, 66, 31], Operations: []
Exploring Operation: 29+66=95, Resulting Numbers: [36, 31, 95]
Generated Node #0,0: 90:[36, 31, 95] Operation: 29+66=95
Moving to Node #0,0
Current State: 90:[36, 31, 95], Operations: ['29+66=95']
Exploring Operation: 36-31=5, Resulting Numbers: [95, 5]
Generated Node #0,0,0: 90:[95, 5] Operation: 36-31=5
Moving to Node #0,0,0
Current State: 90:[95, 5], Operations: ['29+66=95', '36-31=5']
Exploring Operation: 95-5=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
92,
37,
60,
23
] | 28 | [
"92-37=55",
"60+23=83",
"83-55=28"
] | Current State: 28:[92, 37, 60, 23], Operations: []
Exploring Operation: 92-37=55, Resulting Numbers: [60, 23, 55]
Generated Node #2: [60, 23, 55] from Operation: 92-37=55
Current State: 28:[60, 23, 55], Operations: ['92-37=55']
Exploring Operation: 60+23=83, Resulting Numbers: [55, 83]
Generated Node #3: [55, 83] from Operation: 60+23=83
Current State: 28:[55, 83], Operations: ['92-37=55', '60+23=83']
Exploring Operation: 83-55=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[92, 37, 60, 23], Operations: []
Exploring Operation: 92/23=4, Resulting Numbers: [37, 60, 4]
Generated Node #0,0: 28:[37, 60, 4] Operation: 92/23=4
Exploring Operation: 92-60=32, Resulting Numbers: [37, 23, 32]
Generated Node #0,1: 28:[37, 23, 32] Operation: 92-60=32
Moving to Node #0,1
Current State: 28:[37, 23, 32], Operations: ['92-60=32']
Exploring Operation: 37-23=14, Resulting Numbers: [32, 14]
Generated Node #0,1,0: 28:[32, 14] Operation: 37-23=14
Exploring Operation: 37-32=5, Resulting Numbers: [23, 5]
Generated Node #0,1,1: 28:[23, 5] Operation: 37-32=5
Moving to Node #0,0
Current State: 28:[37, 60, 4], Operations: ['92/23=4']
Exploring Operation: 60-37=23, Resulting Numbers: [4, 23]
Generated Node #0,0,0: 28:[4, 23] Operation: 60-37=23
Exploring Operation: 60/4=15, Resulting Numbers: [37, 15]
Generated Node #0,0,1: 28:[37, 15] Operation: 60/4=15
Moving to Node #0,1,0
Current State: 28:[32, 14], Operations: ['92-60=32', '37-23=14']
Exploring Operation: 32-14=18, Resulting Numbers: [18]
18,28 unequal: No Solution
Exploring Operation: 32+14=46, Resulting Numbers: [46]
46,28 unequal: No Solution
Moving to Node #0,0,0
Current State: 28:[4, 23], Operations: ['92/23=4', '60-37=23']
Exploring Operation: 4+23=27, Resulting Numbers: [27]
27,28 unequal: No Solution
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,28 unequal: No Solution
Moving to Node #0,1,1
Current State: 28:[23, 5], Operations: ['92-60=32', '37-32=5']
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,28 unequal: No Solution
Exploring Operation: 23+5=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[92, 37, 60, 23], Operations: []
Exploring Operation: 92-60=32, Resulting Numbers: [37, 23, 32]
Generated Node #0,1: 28:[37, 23, 32] Operation: 92-60=32
Moving to Node #0,1
Current State: 28:[37, 23, 32], Operations: ['92-60=32']
Exploring Operation: 37-32=5, Resulting Numbers: [23, 5]
Generated Node #0,1,1: 28:[23, 5] Operation: 37-32=5
Moving to Node #0,1,1
Current State: 28:[23, 5], Operations: ['92-60=32', '37-32=5']
Exploring Operation: 23+5=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 0.986111 | hs_2 | sum_heuristic |
[
3,
11,
1,
48
] | 78 | [
"11-1=10",
"3*10=30",
"48+30=78"
] | Current State: 78:[3, 11, 1, 48], Operations: []
Exploring Operation: 11-1=10, Resulting Numbers: [3, 48, 10]
Generated Node #2: [3, 48, 10] from Operation: 11-1=10
Current State: 78:[3, 48, 10], Operations: ['11-1=10']
Exploring Operation: 3*10=30, Resulting Numbers: [48, 30]
Generated Node #3: [48, 30] from Operation: 3*10=30
Current State: 78:[48, 30], Operations: ['11-1=10', '3*10=30']
Exploring Operation: 48+30=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[3, 11, 1, 48], Operations: []
Exploring Operation: 48-1=47, Resulting Numbers: [3, 11, 47]
Generated Node #0,0: 78:[3, 11, 47] Operation: 48-1=47
Exploring Operation: 48-3=45, Resulting Numbers: [11, 1, 45]
Generated Node #0,1: 78:[11, 1, 45] Operation: 48-3=45
Exploring Operation: 48/3=16, Resulting Numbers: [11, 1, 16]
Generated Node #0,2: 78:[11, 1, 16] Operation: 48/3=16
Exploring Operation: 48-11=37, Resulting Numbers: [3, 1, 37]
Generated Node #0,3: 78:[3, 1, 37] Operation: 48-11=37
Exploring Operation: 11+1=12, Resulting Numbers: [3, 48, 12]
Generated Node #0,4: 78:[3, 48, 12] Operation: 11+1=12
Start Sub Search at level 1: Moving to Node #0,3
Current State: 78:[3, 1, 37], Operations: ['48-11=37']
Exploring Operation: 3+37=40, Resulting Numbers: [1, 40]
Generated Node #0,3,0: 78:[1, 40] Operation: 3+37=40
Exploring Operation: 3/1=3, Resulting Numbers: [37, 3]
Generated Node #0,3,1: 78:[37, 3] Operation: 3/1=3
Exploring Operation: 3*1=3, Resulting Numbers: [37, 3]
Generated Node #0,3,2: 78:[37, 3] Operation: 3*1=3
Exploring Operation: 3-1=2, Resulting Numbers: [37, 2]
Generated Node #0,3,3: 78:[37, 2] Operation: 3-1=2
Exploring Operation: 1+37=38, Resulting Numbers: [3, 38]
Generated Node #0,3,4: 78:[3, 38] Operation: 1+37=38
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 78:[3, 38], Operations: ['48-11=37', '1+37=38']
Exploring Operation: 3+38=41, Resulting Numbers: [41]
41,78 unequal: No Solution
Exploring Operation: 3*38=114, Resulting Numbers: [114]
114,78 unequal: No Solution
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,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,3,0
Current State: 78:[1, 40], Operations: ['48-11=37', '3+37=40']
Exploring Operation: 40/1=40, Resulting Numbers: [40]
40,78 unequal: No Solution
Exploring Operation: 1*40=40, Resulting Numbers: [40]
40,78 unequal: No Solution
Exploring Operation: 40-1=39, Resulting Numbers: [39]
39,78 unequal: No Solution
Exploring Operation: 1+40=41, Resulting Numbers: [41]
41,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,3,1
Current State: 78:[37, 3], Operations: ['48-11=37', '3/1=3']
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,78 unequal: No Solution
Exploring Operation: 37+3=40, Resulting Numbers: [40]
40,78 unequal: No Solution
Exploring Operation: 37*3=111, Resulting Numbers: [111]
111,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,3,2
Current State: 78:[37, 3], Operations: ['48-11=37', '3*1=3']
Exploring Operation: 37+3=40, Resulting Numbers: [40]
40,78 unequal: No Solution
Exploring Operation: 37-3=34, Resulting Numbers: [34]
34,78 unequal: No Solution
Exploring Operation: 37*3=111, Resulting Numbers: [111]
111,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,3,3
Current State: 78:[37, 2], Operations: ['48-11=37', '3-1=2']
Exploring Operation: 37*2=74, Resulting Numbers: [74]
74,78 unequal: No Solution
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,78 unequal: No Solution
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,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:[11, 1, 16], Operations: ['48/3=16']
Exploring Operation: 11+16=27, Resulting Numbers: [1, 27]
Generated Node #0,2,0: 78:[1, 27] Operation: 11+16=27
Exploring Operation: 16-11=5, Resulting Numbers: [1, 5]
Generated Node #0,2,1: 78:[1, 5] Operation: 16-11=5
Exploring Operation: 11*1=11, Resulting Numbers: [16, 11]
Generated Node #0,2,2: 78:[16, 11] Operation: 11*1=11
Exploring Operation: 11+1=12, Resulting Numbers: [16, 12]
Generated Node #0,2,3: 78:[16, 12] Operation: 11+1=12
Exploring Operation: 16-1=15, Resulting Numbers: [11, 15]
Generated Node #0,2,4: 78:[11, 15] Operation: 16-1=15
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 78:[1, 27], Operations: ['48/3=16', '11+16=27']
Exploring Operation: 1+27=28, Resulting Numbers: [28]
28,78 unequal: No Solution
Exploring Operation: 27-1=26, Resulting Numbers: [26]
26,78 unequal: No Solution
Exploring Operation: 1*27=27, Resulting Numbers: [27]
27,78 unequal: No Solution
Exploring Operation: 27/1=27, Resulting Numbers: [27]
27,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,2,1
Current State: 78:[1, 5], Operations: ['48/3=16', '16-11=5']
Exploring Operation: 1+5=6, Resulting Numbers: [6]
6,78 unequal: No Solution
Exploring Operation: 5/1=5, Resulting Numbers: [5]
5,78 unequal: No Solution
Exploring Operation: 1*5=5, Resulting Numbers: [5]
5,78 unequal: No Solution
Exploring Operation: 5-1=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,2,3
Current State: 78:[16, 12], Operations: ['48/3=16', '11+1=12']
Exploring Operation: 16+12=28, Resulting Numbers: [28]
28,78 unequal: No Solution
Exploring Operation: 16*12=192, Resulting Numbers: [192]
192,78 unequal: No Solution
Exploring Operation: 16-12=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,2,4
Current State: 78:[11, 15], Operations: ['48/3=16', '16-1=15']
Exploring Operation: 11+15=26, Resulting Numbers: [26]
26,78 unequal: No Solution
Exploring Operation: 11*15=165, Resulting Numbers: [165]
165,78 unequal: No Solution
Exploring Operation: 15-11=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,2,2
Current State: 78:[16, 11], Operations: ['48/3=16', '11*1=11']
Exploring Operation: 16*11=176, Resulting Numbers: [176]
176,78 unequal: No Solution
Exploring Operation: 16+11=27, Resulting Numbers: [27]
27,78 unequal: No Solution
Exploring Operation: 16-11=5, Resulting Numbers: [5]
5,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,1
Current State: 78:[11, 1, 45], Operations: ['48-3=45']
Exploring Operation: 11/1=11, Resulting Numbers: [45, 11]
Generated Node #0,1,0: 78:[45, 11] Operation: 11/1=11
Exploring Operation: 45-11=34, Resulting Numbers: [1, 34]
Generated Node #0,1,1: 78:[1, 34] Operation: 45-11=34
Exploring Operation: 11*1=11, Resulting Numbers: [45, 11]
Generated Node #0,1,2: 78:[45, 11] Operation: 11*1=11
Exploring Operation: 45-1=44, Resulting Numbers: [11, 44]
Generated Node #0,1,3: 78:[11, 44] Operation: 45-1=44
Exploring Operation: 11+1=12, Resulting Numbers: [45, 12]
Generated Node #0,1,4: 78:[45, 12] Operation: 11+1=12
Moving to Node #0,1,1
Current State: 78:[1, 34], Operations: ['48-3=45', '45-11=34']
Exploring Operation: 1*34=34, Resulting Numbers: [34]
34,78 unequal: No Solution
Exploring Operation: 34/1=34, Resulting Numbers: [34]
34,78 unequal: No Solution
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,78 unequal: No Solution
Exploring Operation: 1+34=35, Resulting Numbers: [35]
35,78 unequal: No Solution
Moving to Node #0,1,4
Current State: 78:[45, 12], Operations: ['48-3=45', '11+1=12']
Exploring Operation: 45-12=33, Resulting Numbers: [33]
33,78 unequal: No Solution
Exploring Operation: 45+12=57, Resulting Numbers: [57]
57,78 unequal: No Solution
Exploring Operation: 45*12=540, Resulting Numbers: [540]
540,78 unequal: No Solution
Moving to Node #0,1,3
Current State: 78:[11, 44], Operations: ['48-3=45', '45-1=44']
Exploring Operation: 44-11=33, Resulting Numbers: [33]
33,78 unequal: No Solution
Exploring Operation: 11*44=484, Resulting Numbers: [484]
484,78 unequal: No Solution
Exploring Operation: 44/11=4, Resulting Numbers: [4]
4,78 unequal: No Solution
Exploring Operation: 11+44=55, Resulting Numbers: [55]
55,78 unequal: No Solution
Moving to Node #0,1,0
Current State: 78:[45, 11], Operations: ['48-3=45', '11/1=11']
Exploring Operation: 45*11=495, Resulting Numbers: [495]
495,78 unequal: No Solution
Exploring Operation: 45-11=34, Resulting Numbers: [34]
34,78 unequal: No Solution
Exploring Operation: 45+11=56, Resulting Numbers: [56]
56,78 unequal: No Solution
Moving to Node #0,1,2
Current State: 78:[45, 11], Operations: ['48-3=45', '11*1=11']
Exploring Operation: 45+11=56, Resulting Numbers: [56]
56,78 unequal: No Solution
Exploring Operation: 45*11=495, Resulting Numbers: [495]
495,78 unequal: No Solution
Exploring Operation: 45-11=34, Resulting Numbers: [34]
34,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[3, 11, 47], Operations: ['48-1=47']
Exploring Operation: 3+11=14, Resulting Numbers: [47, 14]
Generated Node #0,0,0: 78:[47, 14] Operation: 3+11=14
Exploring Operation: 11-3=8, Resulting Numbers: [47, 8]
Generated Node #0,0,1: 78:[47, 8] Operation: 11-3=8
Exploring Operation: 47-11=36, Resulting Numbers: [3, 36]
Generated Node #0,0,2: 78:[3, 36] Operation: 47-11=36
Exploring Operation: 47-3=44, Resulting Numbers: [11, 44]
Generated Node #0,0,3: 78:[11, 44] Operation: 47-3=44
Exploring Operation: 3+47=50, Resulting Numbers: [11, 50]
Generated Node #0,0,4: 78:[11, 50] Operation: 3+47=50
Moving to Node #0,0,2
Current State: 78:[3, 36], Operations: ['48-1=47', '47-11=36']
Exploring Operation: 3*36=108, Resulting Numbers: [108]
108,78 unequal: No Solution
Exploring Operation: 3+36=39, Resulting Numbers: [39]
39,78 unequal: No Solution
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,78 unequal: No Solution
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,78 unequal: No Solution
Moving to Node #0,0,3
Current State: 78:[11, 44], Operations: ['48-1=47', '47-3=44']
Exploring Operation: 44/11=4, Resulting Numbers: [4]
4,78 unequal: No Solution
Exploring Operation: 44-11=33, Resulting Numbers: [33]
33,78 unequal: No Solution
Exploring Operation: 11+44=55, Resulting Numbers: [55]
55,78 unequal: No Solution
Exploring Operation: 11*44=484, Resulting Numbers: [484]
484,78 unequal: No Solution
Moving to Node #0,0,0
Current State: 78:[47, 14], Operations: ['48-1=47', '3+11=14']
Exploring Operation: 47+14=61, Resulting Numbers: [61]
61,78 unequal: No Solution
Exploring Operation: 47-14=33, Resulting Numbers: [33]
33,78 unequal: No Solution
Exploring Operation: 47*14=658, Resulting Numbers: [658]
658,78 unequal: No Solution
Moving to Node #0,0,1
Current State: 78:[47, 8], Operations: ['48-1=47', '11-3=8']
Exploring Operation: 47-8=39, Resulting Numbers: [39]
39,78 unequal: No Solution
Exploring Operation: 47*8=376, Resulting Numbers: [376]
376,78 unequal: No Solution
Exploring Operation: 47+8=55, Resulting Numbers: [55]
55,78 unequal: No Solution
Moving to Node #0,0,4
Current State: 78:[11, 50], Operations: ['48-1=47', '3+47=50']
Exploring Operation: 11+50=61, Resulting Numbers: [61]
61,78 unequal: No Solution
Exploring Operation: 11*50=550, Resulting Numbers: [550]
550,78 unequal: No Solution
Exploring Operation: 50-11=39, Resulting Numbers: [39]
39,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 78:[3, 48, 12], Operations: ['11+1=12']
Exploring Operation: 48/12=4, Resulting Numbers: [3, 4]
Generated Node #0,4,0: 78:[3, 4] Operation: 48/12=4
Exploring Operation: 48-3=45, Resulting Numbers: [12, 45]
Generated Node #0,4,1: 78:[12, 45] Operation: 48-3=45
Exploring Operation: 12/3=4, Resulting Numbers: [48, 4]
Generated Node #0,4,2: 78:[48, 4] Operation: 12/3=4
Exploring Operation: 48-12=36, Resulting Numbers: [3, 36]
Generated Node #0,4,3: 78:[3, 36] Operation: 48-12=36
Exploring Operation: 48/3=16, Resulting Numbers: [12, 16]
Generated Node #0,4,4: 78:[12, 16] Operation: 48/3=16
Moving to Node #0,4,0
Current State: 78:[3, 4], Operations: ['11+1=12', '48/12=4']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,78 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,78 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,78 unequal: No Solution
Moving to Node #0,4,3
Current State: 78:[3, 36], Operations: ['11+1=12', '48-12=36']
Exploring Operation: 3+36=39, Resulting Numbers: [39]
39,78 unequal: No Solution
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,78 unequal: No Solution
Exploring Operation: 3*36=108, Resulting Numbers: [108]
108,78 unequal: No Solution
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,78 unequal: No Solution
Moving to Node #0,4,4
Current State: 78:[12, 16], Operations: ['11+1=12', '48/3=16']
Exploring Operation: 16-12=4, Resulting Numbers: [4]
4,78 unequal: No Solution
Exploring Operation: 12+16=28, Resulting Numbers: [28]
28,78 unequal: No Solution
Exploring Operation: 12*16=192, Resulting Numbers: [192]
192,78 unequal: No Solution
Moving to Node #0,4,1
Current State: 78:[12, 45], Operations: ['11+1=12', '48-3=45']
Exploring Operation: 12*45=540, Resulting Numbers: [540]
540,78 unequal: No Solution
Exploring Operation: 12+45=57, Resulting Numbers: [57]
57,78 unequal: No Solution
Exploring Operation: 45-12=33, Resulting Numbers: [33]
33,78 unequal: No Solution
Moving to Node #0,4,2
Current State: 78:[48, 4], Operations: ['11+1=12', '12/3=4']
Exploring Operation: 48/4=12, Resulting Numbers: [12]
12,78 unequal: No Solution
Exploring Operation: 48+4=52, Resulting Numbers: [52]
52,78 unequal: No Solution
Exploring Operation: 48-4=44, Resulting Numbers: [44]
44,78 unequal: No Solution
Exploring Operation: 48*4=192, Resulting Numbers: [192]
192,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
75,
81,
84,
39
] | 25 | [
"81-75=6",
"84/6=14",
"39-14=25"
] | Current State: 25:[75, 81, 84, 39], Operations: []
Exploring Operation: 81-75=6, Resulting Numbers: [84, 39, 6]
Generated Node #2: [84, 39, 6] from Operation: 81-75=6
Current State: 25:[84, 39, 6], Operations: ['81-75=6']
Exploring Operation: 84/6=14, Resulting Numbers: [39, 14]
Generated Node #3: [39, 14] from Operation: 84/6=14
Current State: 25:[39, 14], Operations: ['81-75=6', '84/6=14']
Exploring Operation: 39-14=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[75, 81, 84, 39], Operations: []
Exploring Operation: 84-81=3, Resulting Numbers: [75, 39, 3]
Generated Node #0,0: 25:[75, 39, 3] Operation: 84-81=3
Exploring Operation: 84-75=9, Resulting Numbers: [81, 39, 9]
Generated Node #0,1: 25:[81, 39, 9] Operation: 84-75=9
Exploring Operation: 81-75=6, Resulting Numbers: [84, 39, 6]
Generated Node #0,2: 25:[84, 39, 6] Operation: 81-75=6
Moving to Node #0,0
Current State: 25:[75, 39, 3], Operations: ['84-81=3']
Exploring Operation: 75-39=36, Resulting Numbers: [3, 36]
Generated Node #0,0,0: 25:[3, 36] Operation: 75-39=36
Exploring Operation: 75/3=25, Resulting Numbers: [39, 25]
Generated Node #0,0,1: 25:[39, 25] Operation: 75/3=25
Exploring Operation: 39/3=13, Resulting Numbers: [75, 13]
Generated Node #0,0,2: 25:[75, 13] Operation: 39/3=13
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 25:[3, 36], Operations: ['84-81=3', '75-39=36']
Exploring Operation: 36-3=33, Resulting Numbers: [33]
33,25 unequal: No Solution
Exploring Operation: 36/3=12, Resulting Numbers: [12]
12,25 unequal: No Solution
Exploring Operation: 3+36=39, Resulting Numbers: [39]
39,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 25:[39, 25], Operations: ['84-81=3', '75/3=25']
Exploring Operation: 39*25=975, Resulting Numbers: [975]
975,25 unequal: No Solution
Exploring Operation: 39+25=64, Resulting Numbers: [64]
64,25 unequal: No Solution
Exploring Operation: 39-25=14, Resulting Numbers: [14]
14,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 25:[75, 13], Operations: ['84-81=3', '39/3=13']
Exploring Operation: 75-13=62, Resulting Numbers: [62]
62,25 unequal: No Solution
Exploring Operation: 75+13=88, Resulting Numbers: [88]
88,25 unequal: No Solution
Exploring Operation: 75*13=975, Resulting Numbers: [975]
975,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 25:[81, 39, 9], Operations: ['84-75=9']
Exploring Operation: 81-39=42, Resulting Numbers: [9, 42]
Generated Node #0,1,0: 25:[9, 42] Operation: 81-39=42
Exploring Operation: 81-9=72, Resulting Numbers: [39, 72]
Generated Node #0,1,1: 25:[39, 72] Operation: 81-9=72
Exploring Operation: 81/9=9, Resulting Numbers: [39, 9]
Generated Node #0,1,2: 25:[39, 9] Operation: 81/9=9
Moving to Node #0,2
Current State: 25:[84, 39, 6], Operations: ['81-75=6']
Exploring Operation: 84-39=45, Resulting Numbers: [6, 45]
Generated Node #0,2,0: 25:[6, 45] Operation: 84-39=45
Exploring Operation: 84/6=14, Resulting Numbers: [39, 14]
Generated Node #0,2,1: 25:[39, 14] Operation: 84/6=14
Exploring Operation: 84-6=78, Resulting Numbers: [39, 78]
Generated Node #0,2,2: 25:[39, 78] Operation: 84-6=78
Moving to Node #0,1,2
Current State: 25:[39, 9], Operations: ['84-75=9', '81/9=9']
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,25 unequal: No Solution
Exploring Operation: 39+9=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 39*9=351, Resulting Numbers: [351]
351,25 unequal: No Solution
Moving to Node #0,1,0
Current State: 25:[9, 42], Operations: ['84-75=9', '81-39=42']
Exploring Operation: 9*42=378, Resulting Numbers: [378]
378,25 unequal: No Solution
Exploring Operation: 9+42=51, Resulting Numbers: [51]
51,25 unequal: No Solution
Exploring Operation: 42-9=33, Resulting Numbers: [33]
33,25 unequal: No Solution
Moving to Node #0,2,0
Current State: 25:[6, 45], Operations: ['81-75=6', '84-39=45']
Exploring Operation: 6*45=270, Resulting Numbers: [270]
270,25 unequal: No Solution
Exploring Operation: 6+45=51, Resulting Numbers: [51]
51,25 unequal: No Solution
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,25 unequal: No Solution
Moving to Node #0,2,1
Current State: 25:[39, 14], Operations: ['81-75=6', '84/6=14']
Exploring Operation: 39*14=546, Resulting Numbers: [546]
546,25 unequal: No Solution
Exploring Operation: 39+14=53, Resulting Numbers: [53]
53,25 unequal: No Solution
Exploring Operation: 39-14=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[75, 81, 84, 39], Operations: []
Exploring Operation: 81-75=6, Resulting Numbers: [84, 39, 6]
Generated Node #0,2: 25:[84, 39, 6] Operation: 81-75=6
Moving to Node #0,2
Current State: 25:[84, 39, 6], Operations: ['81-75=6']
Exploring Operation: 84/6=14, Resulting Numbers: [39, 14]
Generated Node #0,2,1: 25:[39, 14] Operation: 84/6=14
Moving to Node #0,2,1
Current State: 25:[39, 14], Operations: ['81-75=6', '84/6=14']
Exploring Operation: 39-14=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 0.967882 | hs_3 | sum_heuristic |
[
37,
58,
23,
12
] | 10 | [
"58-37=21",
"23-12=11",
"21-11=10"
] | Current State: 10:[37, 58, 23, 12], Operations: []
Exploring Operation: 58-37=21, Resulting Numbers: [23, 12, 21]
Generated Node #2: [23, 12, 21] from Operation: 58-37=21
Current State: 10:[23, 12, 21], Operations: ['58-37=21']
Exploring Operation: 23-12=11, Resulting Numbers: [21, 11]
Generated Node #3: [21, 11] from Operation: 23-12=11
Current State: 10:[21, 11], Operations: ['58-37=21', '23-12=11']
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[37, 58, 23, 12], Operations: []
Exploring Operation: 37-23=14, Resulting Numbers: [58, 12, 14]
Generated Node #0,0: 10:[58, 12, 14] Operation: 37-23=14
Exploring Operation: 58-37=21, Resulting Numbers: [23, 12, 21]
Generated Node #0,1: 10:[23, 12, 21] Operation: 58-37=21
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[23, 12, 21], Operations: ['58-37=21']
Exploring Operation: 23-12=11, Resulting Numbers: [21, 11]
Generated Node #0,1,0: 10:[21, 11] Operation: 23-12=11
Exploring Operation: 23-21=2, Resulting Numbers: [12, 2]
Generated Node #0,1,1: 10:[12, 2] Operation: 23-21=2
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 10:[12, 2], Operations: ['58-37=21', '23-21=2']
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[37, 58, 23, 12], Operations: []
Exploring Operation: 58-37=21, Resulting Numbers: [23, 12, 21]
Generated Node #0,1: 10:[23, 12, 21] Operation: 58-37=21
Moving to Node #0,1
Current State: 10:[23, 12, 21], Operations: ['58-37=21']
Exploring Operation: 23-21=2, Resulting Numbers: [12, 2]
Generated Node #0,1,1: 10:[12, 2] Operation: 23-21=2
Moving to Node #0,1,1
Current State: 10:[12, 2], Operations: ['58-37=21', '23-21=2']
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
61,
3,
32,
16
] | 21 | [
"32/16=2",
"61+2=63",
"63/3=21"
] | Current State: 21:[61, 3, 32, 16], Operations: []
Exploring Operation: 32/16=2, Resulting Numbers: [61, 3, 2]
Generated Node #2: [61, 3, 2] from Operation: 32/16=2
Current State: 21:[61, 3, 2], Operations: ['32/16=2']
Exploring Operation: 61+2=63, Resulting Numbers: [3, 63]
Generated Node #3: [3, 63] from Operation: 61+2=63
Current State: 21:[3, 63], Operations: ['32/16=2', '61+2=63']
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[61, 3, 32, 16], Operations: []
Exploring Operation: 32/16=2, Resulting Numbers: [61, 3, 2]
Generated Node #0,0: 21:[61, 3, 2] Operation: 32/16=2
Exploring Operation: 61-16=45, Resulting Numbers: [3, 32, 45]
Generated Node #0,1: 21:[3, 32, 45] Operation: 61-16=45
Exploring Operation: 61-32=29, Resulting Numbers: [3, 16, 29]
Generated Node #0,2: 21:[3, 16, 29] Operation: 61-32=29
Moving to Node #0,2
Current State: 21:[3, 16, 29], Operations: ['61-32=29']
Exploring Operation: 29-16=13, Resulting Numbers: [3, 13]
Generated Node #0,2,0: 21:[3, 13] Operation: 29-16=13
Exploring Operation: 3+16=19, Resulting Numbers: [29, 19]
Generated Node #0,2,1: 21:[29, 19] Operation: 3+16=19
Exploring Operation: 29-3=26, Resulting Numbers: [16, 26]
Generated Node #0,2,2: 21:[16, 26] Operation: 29-3=26
Moving to Node #0,1
Current State: 21:[3, 32, 45], Operations: ['61-16=45']
Exploring Operation: 45-32=13, Resulting Numbers: [3, 13]
Generated Node #0,1,0: 21:[3, 13] Operation: 45-32=13
Exploring Operation: 32-3=29, Resulting Numbers: [45, 29]
Generated Node #0,1,1: 21:[45, 29] Operation: 32-3=29
Exploring Operation: 45/3=15, Resulting Numbers: [32, 15]
Generated Node #0,1,2: 21:[32, 15] Operation: 45/3=15
Moving to Node #0,0
Current State: 21:[61, 3, 2], Operations: ['32/16=2']
Exploring Operation: 61-2=59, Resulting Numbers: [3, 59]
Generated Node #0,0,0: 21:[3, 59] Operation: 61-2=59
Exploring Operation: 61-3=58, Resulting Numbers: [2, 58]
Generated Node #0,0,1: 21:[2, 58] Operation: 61-3=58
Exploring Operation: 3*2=6, Resulting Numbers: [61, 6]
Generated Node #0,0,2: 21:[61, 6] Operation: 3*2=6
Moving to Node #0,2,0
Current State: 21:[3, 13], Operations: ['61-32=29', '29-16=13']
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,21 unequal: No Solution
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,21 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Moving to Node #0,1,0
Current State: 21:[3, 13], Operations: ['61-16=45', '45-32=13']
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,21 unequal: No Solution
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,21 unequal: No Solution
Moving to Node #0,2,2
Current State: 21:[16, 26], Operations: ['61-32=29', '29-3=26']
Exploring Operation: 26-16=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Exploring Operation: 16+26=42, Resulting Numbers: [42]
42,21 unequal: No Solution
Exploring Operation: 16*26=416, Resulting Numbers: [416]
416,21 unequal: No Solution
Moving to Node #0,2,1
Current State: 21:[29, 19], Operations: ['61-32=29', '3+16=19']
Exploring Operation: 29*19=551, Resulting Numbers: [551]
551,21 unequal: No Solution
Exploring Operation: 29+19=48, Resulting Numbers: [48]
48,21 unequal: No Solution
Exploring Operation: 29-19=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Moving to Node #0,1,2
Current State: 21:[32, 15], Operations: ['61-16=45', '45/3=15']
Exploring Operation: 32+15=47, Resulting Numbers: [47]
47,21 unequal: No Solution
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,21 unequal: No Solution
Exploring Operation: 32*15=480, Resulting Numbers: [480]
480,21 unequal: No Solution
Moving to Node #0,1,1
Current State: 21:[45, 29], Operations: ['61-16=45', '32-3=29']
Exploring Operation: 45-29=16, Resulting Numbers: [16]
16,21 unequal: No Solution
Exploring Operation: 45*29=1305, Resulting Numbers: [1305]
1305,21 unequal: No Solution
Exploring Operation: 45+29=74, Resulting Numbers: [74]
74,21 unequal: No Solution
Moving to Node #0,0,0
Current State: 21:[3, 59], Operations: ['32/16=2', '61-2=59']
Exploring Operation: 3*59=177, Resulting Numbers: [177]
177,21 unequal: No Solution
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,21 unequal: No Solution
Exploring Operation: 3+59=62, Resulting Numbers: [62]
62,21 unequal: No Solution
Moving to Node #0,0,1
Current State: 21:[2, 58], Operations: ['32/16=2', '61-3=58']
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,21 unequal: No Solution
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,21 unequal: No Solution
Exploring Operation: 2+58=60, Resulting Numbers: [60]
60,21 unequal: No Solution
Moving to Node #0,0,2
Current State: 21:[61, 6], Operations: ['32/16=2', '3*2=6']
Exploring Operation: 61+6=67, Resulting Numbers: [67]
67,21 unequal: No Solution
Exploring Operation: 61*6=366, Resulting Numbers: [366]
366,21 unequal: No Solution
Exploring Operation: 61-6=55, Resulting Numbers: [55]
55,21 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
67,
7,
12,
57
] | 82 | [
"67-57=10",
"7*10=70",
"12+70=82"
] | Current State: 82:[67, 7, 12, 57], Operations: []
Exploring Operation: 67-57=10, Resulting Numbers: [7, 12, 10]
Generated Node #2: [7, 12, 10] from Operation: 67-57=10
Current State: 82:[7, 12, 10], Operations: ['67-57=10']
Exploring Operation: 7*10=70, Resulting Numbers: [12, 70]
Generated Node #3: [12, 70] from Operation: 7*10=70
Current State: 82:[12, 70], Operations: ['67-57=10', '7*10=70']
Exploring Operation: 12+70=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[67, 7, 12, 57], Operations: []
Exploring Operation: 67-57=10, Resulting Numbers: [7, 12, 10]
Generated Node #0,0: 82:[7, 12, 10] Operation: 67-57=10
Exploring Operation: 67+12=79, Resulting Numbers: [7, 57, 79]
Generated Node #0,1: 82:[7, 57, 79] Operation: 67+12=79
Exploring Operation: 12+57=69, Resulting Numbers: [67, 7, 69]
Generated Node #0,2: 82:[67, 7, 69] Operation: 12+57=69
Exploring Operation: 57-12=45, Resulting Numbers: [67, 7, 45]
Generated Node #0,3: 82:[67, 7, 45] Operation: 57-12=45
Exploring Operation: 7*12=84, Resulting Numbers: [67, 57, 84]
Generated Node #0,4: 82:[67, 57, 84] Operation: 7*12=84
Moving to Node #0,0
Current State: 82:[7, 12, 10], Operations: ['67-57=10']
Exploring Operation: 7*10=70, Resulting Numbers: [12, 70]
Generated Node #0,0,0: 82:[12, 70] Operation: 7*10=70
Exploring Operation: 7*12=84, Resulting Numbers: [10, 84]
Generated Node #0,0,1: 82:[10, 84] Operation: 7*12=84
Exploring Operation: 12-7=5, Resulting Numbers: [10, 5]
Generated Node #0,0,2: 82:[10, 5] Operation: 12-7=5
Exploring Operation: 10-7=3, Resulting Numbers: [12, 3]
Generated Node #0,0,3: 82:[12, 3] Operation: 10-7=3
Exploring Operation: 12-10=2, Resulting Numbers: [7, 2]
Generated Node #0,0,4: 82:[7, 2] Operation: 12-10=2
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 82:[7, 2], Operations: ['67-57=10', '12-10=2']
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,82 unequal: No Solution
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,82 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,82 unequal: No Solution
No 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: 82:[10, 84], Operations: ['67-57=10', '7*12=84']
Exploring Operation: 84-10=74, Resulting Numbers: [74]
74,82 unequal: No Solution
Exploring Operation: 10*84=840, Resulting Numbers: [840]
840,82 unequal: No Solution
Exploring Operation: 10+84=94, Resulting Numbers: [94]
94,82 unequal: No Solution
No 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: 82:[10, 5], Operations: ['67-57=10', '12-7=5']
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,82 unequal: No Solution
Exploring Operation: 10+5=15, Resulting Numbers: [15]
15,82 unequal: No Solution
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,82 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,82 unequal: No Solution
No 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: 82:[12, 3], Operations: ['67-57=10', '10-7=3']
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,82 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,82 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,82 unequal: No Solution
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,82 unequal: No Solution
No 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: 82:[12, 70], Operations: ['67-57=10', '7*10=70']
Exploring Operation: 12*70=840, Resulting Numbers: [840]
840,82 unequal: No Solution
Exploring Operation: 70-12=58, Resulting Numbers: [58]
58,82 unequal: No Solution
Exploring Operation: 12+70=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[67, 7, 12, 57], Operations: []
Exploring Operation: 67-57=10, Resulting Numbers: [7, 12, 10]
Generated Node #0,0: 82:[7, 12, 10] Operation: 67-57=10
Moving to Node #0,0
Current State: 82:[7, 12, 10], Operations: ['67-57=10']
Exploring Operation: 7*10=70, Resulting Numbers: [12, 70]
Generated Node #0,0,0: 82:[12, 70] Operation: 7*10=70
Moving to Node #0,0,0
Current State: 82:[12, 70], Operations: ['67-57=10', '7*10=70']
Exploring Operation: 12+70=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.97309 | hs_5 | mult_heuristic |
[
41,
25,
4,
46
] | 43 | [
"46-25=21",
"4*21=84",
"84-41=43"
] | Current State: 43:[41, 25, 4, 46], Operations: []
Exploring Operation: 46-25=21, Resulting Numbers: [41, 4, 21]
Generated Node #2: [41, 4, 21] from Operation: 46-25=21
Current State: 43:[41, 4, 21], Operations: ['46-25=21']
Exploring Operation: 4*21=84, Resulting Numbers: [41, 84]
Generated Node #3: [41, 84] from Operation: 4*21=84
Current State: 43:[41, 84], Operations: ['46-25=21', '4*21=84']
Exploring Operation: 84-41=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[41, 25, 4, 46], Operations: []
Exploring Operation: 25+4=29, Resulting Numbers: [41, 46, 29]
Generated Node #0,0: 43:[41, 46, 29] Operation: 25+4=29
Exploring Operation: 46-4=42, Resulting Numbers: [41, 25, 42]
Generated Node #0,1: 43:[41, 25, 42] Operation: 46-4=42
Exploring Operation: 41+4=45, Resulting Numbers: [25, 46, 45]
Generated Node #0,2: 43:[25, 46, 45] Operation: 41+4=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[41, 46, 29], Operations: ['25+4=29']
Exploring Operation: 41+29=70, Resulting Numbers: [46, 70]
Generated Node #0,0,0: 43:[46, 70] Operation: 41+29=70
Exploring Operation: 41-29=12, Resulting Numbers: [46, 12]
Generated Node #0,0,1: 43:[46, 12] Operation: 41-29=12
Exploring Operation: 46-29=17, Resulting Numbers: [41, 17]
Generated Node #0,0,2: 43:[41, 17] Operation: 46-29=17
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 43:[41, 17], Operations: ['25+4=29', '46-29=17']
Exploring Operation: 41*17=697, Resulting Numbers: [697]
697,43 unequal: No Solution
Exploring Operation: 41-17=24, Resulting Numbers: [24]
24,43 unequal: No Solution
Exploring Operation: 41+17=58, Resulting Numbers: [58]
58,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 43:[46, 70], Operations: ['25+4=29', '41+29=70']
Exploring Operation: 70-46=24, Resulting Numbers: [24]
24,43 unequal: No Solution
Exploring Operation: 46+70=116, Resulting Numbers: [116]
116,43 unequal: No Solution
Exploring Operation: 46*70=3220, Resulting Numbers: [3220]
3220,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 43:[46, 12], Operations: ['25+4=29', '41-29=12']
Exploring Operation: 46-12=34, Resulting Numbers: [34]
34,43 unequal: No Solution
Exploring Operation: 46+12=58, Resulting Numbers: [58]
58,43 unequal: No Solution
Exploring Operation: 46*12=552, Resulting Numbers: [552]
552,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[41, 25, 42], Operations: ['46-4=42']
Exploring Operation: 41-25=16, Resulting Numbers: [42, 16]
Generated Node #0,1,0: 43:[42, 16] Operation: 41-25=16
Exploring Operation: 25+42=67, Resulting Numbers: [41, 67]
Generated Node #0,1,1: 43:[41, 67] Operation: 25+42=67
Exploring Operation: 41+25=66, Resulting Numbers: [42, 66]
Generated Node #0,1,2: 43:[42, 66] Operation: 41+25=66
Moving to Node #0,1,2
Current State: 43:[42, 66], Operations: ['46-4=42', '41+25=66']
Exploring Operation: 42*66=2772, Resulting Numbers: [2772]
2772,43 unequal: No Solution
Exploring Operation: 42+66=108, Resulting Numbers: [108]
108,43 unequal: No Solution
Exploring Operation: 66-42=24, Resulting Numbers: [24]
24,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[41, 67], Operations: ['46-4=42', '25+42=67']
Exploring Operation: 67-41=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 41*67=2747, Resulting Numbers: [2747]
2747,43 unequal: No Solution
Exploring Operation: 41+67=108, Resulting Numbers: [108]
108,43 unequal: No Solution
Moving to Node #0,1,0
Current State: 43:[42, 16], Operations: ['46-4=42', '41-25=16']
Exploring Operation: 42*16=672, Resulting Numbers: [672]
672,43 unequal: No Solution
Exploring Operation: 42-16=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 42+16=58, Resulting Numbers: [58]
58,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 43:[25, 46, 45], Operations: ['41+4=45']
Exploring Operation: 46-25=21, Resulting Numbers: [45, 21]
Generated Node #0,2,0: 43:[45, 21] Operation: 46-25=21
Exploring Operation: 45-25=20, Resulting Numbers: [46, 20]
Generated Node #0,2,1: 43:[46, 20] Operation: 45-25=20
Exploring Operation: 25+46=71, Resulting Numbers: [45, 71]
Generated Node #0,2,2: 43:[45, 71] Operation: 25+46=71
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 43:[45, 21], Operations: ['41+4=45', '46-25=21']
Exploring Operation: 45-21=24, Resulting Numbers: [24]
24,43 unequal: No Solution
Exploring Operation: 45+21=66, Resulting Numbers: [66]
66,43 unequal: No Solution
Exploring Operation: 45*21=945, Resulting Numbers: [945]
945,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 43:[46, 20], Operations: ['41+4=45', '45-25=20']
Exploring Operation: 46*20=920, Resulting Numbers: [920]
920,43 unequal: No Solution
Exploring Operation: 46-20=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 46+20=66, Resulting Numbers: [66]
66,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 43:[45, 71], Operations: ['41+4=45', '25+46=71']
Exploring Operation: 45*71=3195, Resulting Numbers: [3195]
3195,43 unequal: No Solution
Exploring Operation: 71-45=26, Resulting Numbers: [26]
26,43 unequal: No Solution
Exploring Operation: 45+71=116, Resulting Numbers: [116]
116,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
25,
72,
99,
39
] | 41 | [
"25+72=97",
"99+39=138",
"138-97=41"
] | Current State: 41:[25, 72, 99, 39], Operations: []
Exploring Operation: 25+72=97, Resulting Numbers: [99, 39, 97]
Generated Node #2: [99, 39, 97] from Operation: 25+72=97
Current State: 41:[99, 39, 97], Operations: ['25+72=97']
Exploring Operation: 99+39=138, Resulting Numbers: [97, 138]
Generated Node #3: [97, 138] from Operation: 99+39=138
Current State: 41:[97, 138], Operations: ['25+72=97', '99+39=138']
Exploring Operation: 138-97=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[25, 72, 99, 39], Operations: []
Exploring Operation: 99-72=27, Resulting Numbers: [25, 39, 27]
Generated Node #0,0: 41:[25, 39, 27] Operation: 99-72=27
Exploring Operation: 99-25=74, Resulting Numbers: [72, 39, 74]
Generated Node #0,1: 41:[72, 39, 74] Operation: 99-25=74
Exploring Operation: 99-39=60, Resulting Numbers: [25, 72, 60]
Generated Node #0,2: 41:[25, 72, 60] Operation: 99-39=60
Exploring Operation: 72-25=47, Resulting Numbers: [99, 39, 47]
Generated Node #0,3: 41:[99, 39, 47] Operation: 72-25=47
Exploring Operation: 72-39=33, Resulting Numbers: [25, 99, 33]
Generated Node #0,4: 41:[25, 99, 33] Operation: 72-39=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[25, 39, 27], Operations: ['99-72=27']
Exploring Operation: 25+27=52, Resulting Numbers: [39, 52]
Generated Node #0,0,0: 41:[39, 52] Operation: 25+27=52
Exploring Operation: 39+27=66, Resulting Numbers: [25, 66]
Generated Node #0,0,1: 41:[25, 66] Operation: 39+27=66
Exploring Operation: 27-25=2, Resulting Numbers: [39, 2]
Generated Node #0,0,2: 41:[39, 2] Operation: 27-25=2
Exploring Operation: 25+39=64, Resulting Numbers: [27, 64]
Generated Node #0,0,3: 41:[27, 64] Operation: 25+39=64
Exploring Operation: 39-25=14, Resulting Numbers: [27, 14]
Generated Node #0,0,4: 41:[27, 14] Operation: 39-25=14
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 41:[39, 52], Operations: ['99-72=27', '25+27=52']
Exploring Operation: 39*52=2028, Resulting Numbers: [2028]
2028,41 unequal: No Solution
Exploring Operation: 39+52=91, Resulting Numbers: [91]
91,41 unequal: No Solution
Exploring Operation: 52-39=13, Resulting Numbers: [13]
13,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 41:[27, 64], Operations: ['99-72=27', '25+39=64']
Exploring Operation: 27+64=91, Resulting Numbers: [91]
91,41 unequal: No Solution
Exploring Operation: 27*64=1728, Resulting Numbers: [1728]
1728,41 unequal: No Solution
Exploring Operation: 64-27=37, Resulting Numbers: [37]
37,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 41:[25, 66], Operations: ['99-72=27', '39+27=66']
Exploring Operation: 66-25=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[25, 72, 99, 39], Operations: []
Exploring Operation: 99-72=27, Resulting Numbers: [25, 39, 27]
Generated Node #0,0: 41:[25, 39, 27] Operation: 99-72=27
Moving to Node #0,0
Current State: 41:[25, 39, 27], Operations: ['99-72=27']
Exploring Operation: 39+27=66, Resulting Numbers: [25, 66]
Generated Node #0,0,1: 41:[25, 66] Operation: 39+27=66
Moving to Node #0,0,1
Current State: 41:[25, 66], Operations: ['99-72=27', '39+27=66']
Exploring Operation: 66-25=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771 | hs_5 | mult_heuristic |
[
70,
77,
50,
15
] | 79 | [
"50-15=35",
"70/35=2",
"77+2=79"
] | Current State: 79:[70, 77, 50, 15], Operations: []
Exploring Operation: 50-15=35, Resulting Numbers: [70, 77, 35]
Generated Node #2: [70, 77, 35] from Operation: 50-15=35
Current State: 79:[70, 77, 35], Operations: ['50-15=35']
Exploring Operation: 70/35=2, Resulting Numbers: [77, 2]
Generated Node #3: [77, 2] from Operation: 70/35=2
Current State: 79:[77, 2], Operations: ['50-15=35', '70/35=2']
Exploring Operation: 77+2=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[70, 77, 50, 15], Operations: []
Exploring Operation: 70-15=55, Resulting Numbers: [77, 50, 55]
Generated Node #0,0: 79:[77, 50, 55] Operation: 70-15=55
Exploring Operation: 50+15=65, Resulting Numbers: [70, 77, 65]
Generated Node #0,1: 79:[70, 77, 65] Operation: 50+15=65
Exploring Operation: 70+15=85, Resulting Numbers: [77, 50, 85]
Generated Node #0,2: 79:[77, 50, 85] Operation: 70+15=85
Exploring Operation: 77+15=92, Resulting Numbers: [70, 50, 92]
Generated Node #0,3: 79:[70, 50, 92] Operation: 77+15=92
Start Sub Search at level 1: Moving to Node #0,1
Current State: 79:[70, 77, 65], Operations: ['50+15=65']
Exploring Operation: 70+65=135, Resulting Numbers: [77, 135]
Generated Node #0,1,0: 79:[77, 135] Operation: 70+65=135
Exploring Operation: 77+65=142, Resulting Numbers: [70, 142]
Generated Node #0,1,1: 79:[70, 142] Operation: 77+65=142
Exploring Operation: 77-65=12, Resulting Numbers: [70, 12]
Generated Node #0,1,2: 79:[70, 12] Operation: 77-65=12
Exploring Operation: 70-65=5, Resulting Numbers: [77, 5]
Generated Node #0,1,3: 79:[77, 5] Operation: 70-65=5
Moving to Node #0,1,0
Current State: 79:[77, 135], Operations: ['50+15=65', '70+65=135']
Exploring Operation: 77+135=212, Resulting Numbers: [212]
212,79 unequal: No Solution
Exploring Operation: 77*135=10395, Resulting Numbers: [10395]
10395,79 unequal: No Solution
Exploring Operation: 135-77=58, Resulting Numbers: [58]
58,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[70, 142], Operations: ['50+15=65', '77+65=142']
Exploring Operation: 70+142=212, Resulting Numbers: [212]
212,79 unequal: No Solution
Exploring Operation: 70*142=9940, Resulting Numbers: [9940]
9940,79 unequal: No Solution
Exploring Operation: 142-70=72, Resulting Numbers: [72]
72,79 unequal: No Solution
Moving to Node #0,1,3
Current State: 79:[77, 5], Operations: ['50+15=65', '70-65=5']
Exploring Operation: 77-5=72, Resulting Numbers: [72]
72,79 unequal: No Solution
Exploring Operation: 77*5=385, Resulting Numbers: [385]
385,79 unequal: No Solution
Exploring Operation: 77+5=82, Resulting Numbers: [82]
82,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[70, 12], Operations: ['50+15=65', '77-65=12']
Exploring Operation: 70+12=82, Resulting Numbers: [82]
82,79 unequal: No Solution
Exploring Operation: 70-12=58, Resulting Numbers: [58]
58,79 unequal: No Solution
Exploring Operation: 70*12=840, Resulting Numbers: [840]
840,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[77, 50, 85], Operations: ['70+15=85']
Exploring Operation: 50+85=135, Resulting Numbers: [77, 135]
Generated Node #0,2,0: 79:[77, 135] Operation: 50+85=135
Exploring Operation: 85-50=35, Resulting Numbers: [77, 35]
Generated Node #0,2,1: 79:[77, 35] Operation: 85-50=35
Exploring Operation: 77+50=127, Resulting Numbers: [85, 127]
Generated Node #0,2,2: 79:[85, 127] Operation: 77+50=127
Exploring Operation: 77-50=27, Resulting Numbers: [85, 27]
Generated Node #0,2,3: 79:[85, 27] Operation: 77-50=27
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 79:[77, 35], Operations: ['70+15=85', '85-50=35']
Exploring Operation: 77*35=2695, Resulting Numbers: [2695]
2695,79 unequal: No Solution
Exploring Operation: 77+35=112, Resulting Numbers: [112]
112,79 unequal: No Solution
Exploring Operation: 77-35=42, Resulting Numbers: [42]
42,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 79:[85, 127], Operations: ['70+15=85', '77+50=127']
Exploring Operation: 127-85=42, Resulting Numbers: [42]
42,79 unequal: No Solution
Exploring Operation: 85+127=212, Resulting Numbers: [212]
212,79 unequal: No Solution
Exploring Operation: 85*127=10795, Resulting Numbers: [10795]
10795,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 79:[77, 135], Operations: ['70+15=85', '50+85=135']
Exploring Operation: 77+135=212, Resulting Numbers: [212]
212,79 unequal: No Solution
Exploring Operation: 77*135=10395, Resulting Numbers: [10395]
10395,79 unequal: No Solution
Exploring Operation: 135-77=58, Resulting Numbers: [58]
58,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 79:[85, 27], Operations: ['70+15=85', '77-50=27']
Exploring Operation: 85*27=2295, Resulting Numbers: [2295]
2295,79 unequal: No Solution
Exploring Operation: 85+27=112, Resulting Numbers: [112]
112,79 unequal: No Solution
Exploring Operation: 85-27=58, Resulting Numbers: [58]
58,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 79:[70, 50, 92], Operations: ['77+15=92']
Exploring Operation: 70-50=20, Resulting Numbers: [92, 20]
Generated Node #0,3,0: 79:[92, 20] Operation: 70-50=20
Exploring Operation: 50+92=142, Resulting Numbers: [70, 142]
Generated Node #0,3,1: 79:[70, 142] Operation: 50+92=142
Exploring Operation: 92-50=42, Resulting Numbers: [70, 42]
Generated Node #0,3,2: 79:[70, 42] Operation: 92-50=42
Exploring Operation: 70+50=120, Resulting Numbers: [92, 120]
Generated Node #0,3,3: 79:[92, 120] Operation: 70+50=120
Moving to Node #0,3,2
Current State: 79:[70, 42], Operations: ['77+15=92', '92-50=42']
Exploring Operation: 70+42=112, Resulting Numbers: [112]
112,79 unequal: No Solution
Exploring Operation: 70-42=28, Resulting Numbers: [28]
28,79 unequal: No Solution
Exploring Operation: 70*42=2940, Resulting Numbers: [2940]
2940,79 unequal: No Solution
Moving to Node #0,3,3
Current State: 79:[92, 120], Operations: ['77+15=92', '70+50=120']
Exploring Operation: 92+120=212, Resulting Numbers: [212]
212,79 unequal: No Solution
Exploring Operation: 92*120=11040, Resulting Numbers: [11040]
11040,79 unequal: No Solution
Exploring Operation: 120-92=28, Resulting Numbers: [28]
28,79 unequal: No Solution
Moving to Node #0,3,1
Current State: 79:[70, 142], Operations: ['77+15=92', '50+92=142']
Exploring Operation: 70+142=212, Resulting Numbers: [212]
212,79 unequal: No Solution
Exploring Operation: 70*142=9940, Resulting Numbers: [9940]
9940,79 unequal: No Solution
Exploring Operation: 142-70=72, Resulting Numbers: [72]
72,79 unequal: No Solution
Moving to Node #0,3,0
Current State: 79:[92, 20], Operations: ['77+15=92', '70-50=20']
Exploring Operation: 92*20=1840, Resulting Numbers: [1840]
1840,79 unequal: No Solution
Exploring Operation: 92-20=72, Resulting Numbers: [72]
72,79 unequal: No Solution
Exploring Operation: 92+20=112, Resulting Numbers: [112]
112,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[77, 50, 55], Operations: ['70-15=55']
Exploring Operation: 50+55=105, Resulting Numbers: [77, 105]
Generated Node #0,0,0: 79:[77, 105] Operation: 50+55=105
Exploring Operation: 55-50=5, Resulting Numbers: [77, 5]
Generated Node #0,0,1: 79:[77, 5] Operation: 55-50=5
Exploring Operation: 77+50=127, Resulting Numbers: [55, 127]
Generated Node #0,0,2: 79:[55, 127] Operation: 77+50=127
Exploring Operation: 77-50=27, Resulting Numbers: [55, 27]
Generated Node #0,0,3: 79:[55, 27] Operation: 77-50=27
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 79:[77, 105], Operations: ['70-15=55', '50+55=105']
Exploring Operation: 77*105=8085, Resulting Numbers: [8085]
8085,79 unequal: No Solution
Exploring Operation: 105-77=28, Resulting Numbers: [28]
28,79 unequal: No Solution
Exploring Operation: 77+105=182, Resulting Numbers: [182]
182,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 79:[55, 127], Operations: ['70-15=55', '77+50=127']
Exploring Operation: 55+127=182, Resulting Numbers: [182]
182,79 unequal: No Solution
Exploring Operation: 55*127=6985, Resulting Numbers: [6985]
6985,79 unequal: No Solution
Exploring Operation: 127-55=72, Resulting Numbers: [72]
72,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 79:[77, 5], Operations: ['70-15=55', '55-50=5']
Exploring Operation: 77*5=385, Resulting Numbers: [385]
385,79 unequal: No Solution
Exploring Operation: 77-5=72, Resulting Numbers: [72]
72,79 unequal: No Solution
Exploring Operation: 77+5=82, Resulting Numbers: [82]
82,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 79:[55, 27], Operations: ['70-15=55', '77-50=27']
Exploring Operation: 55+27=82, Resulting Numbers: [82]
82,79 unequal: No Solution
Exploring Operation: 55-27=28, Resulting Numbers: [28]
28,79 unequal: No Solution
Exploring Operation: 55*27=1485, Resulting Numbers: [1485]
1485,79 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
78,
78,
40,
23
] | 17 | [
"78-78=0",
"40-23=17",
"0+17=17"
] | Current State: 17:[78, 78, 40, 23], Operations: []
Exploring Operation: 78-78=0, Resulting Numbers: [40, 23, 0]
Generated Node #2: [40, 23, 0] from Operation: 78-78=0
Current State: 17:[40, 23, 0], Operations: ['78-78=0']
Exploring Operation: 40-23=17, Resulting Numbers: [0, 17]
Generated Node #3: [0, 17] from Operation: 40-23=17
Current State: 17:[0, 17], Operations: ['78-78=0', '40-23=17']
Exploring Operation: 0+17=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[78, 78, 40, 23], Operations: []
Exploring Operation: 78/78=1, Resulting Numbers: [40, 23, 1]
Generated Node #0,0: 17:[40, 23, 1] Operation: 78/78=1
Moving to Node #0,0
Current State: 17:[40, 23, 1], Operations: ['78/78=1']
Exploring Operation: 40-23=17, Resulting Numbers: [1, 17]
Generated Node #0,0,0: 17:[1, 17] Operation: 40-23=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 17:[1, 17], Operations: ['78/78=1', '40-23=17']
Exploring Operation: 1*17=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[78, 78, 40, 23], Operations: []
Exploring Operation: 78/78=1, Resulting Numbers: [40, 23, 1]
Generated Node #0,0: 17:[40, 23, 1] Operation: 78/78=1
Moving to Node #0,0
Current State: 17:[40, 23, 1], Operations: ['78/78=1']
Exploring Operation: 40-23=17, Resulting Numbers: [1, 17]
Generated Node #0,0,0: 17:[1, 17] Operation: 40-23=17
Moving to Node #0,0,0
Current State: 17:[1, 17], Operations: ['78/78=1', '40-23=17']
Exploring Operation: 1*17=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.