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 |
|---|---|---|---|---|---|---|---|---|
[
11,
90,
92,
51
] | 38 | [
"90-11=79",
"92-51=41",
"79-41=38"
] | Current State: 38:[11, 90, 92, 51], Operations: []
Exploring Operation: 90-11=79, Resulting Numbers: [92, 51, 79]
Generated Node #2: [92, 51, 79] from Operation: 90-11=79
Current State: 38:[92, 51, 79], Operations: ['90-11=79']
Exploring Operation: 92-51=41, Resulting Numbers: [79, 41]
Generated Node #3: [79, 41] from Operation: 92-51=41
Current State: 38:[79, 41], Operations: ['90-11=79', '92-51=41']
Exploring Operation: 79-41=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[11, 90, 92, 51], Operations: []
Exploring Operation: 90-51=39, Resulting Numbers: [11, 92, 39]
Generated Node #0,0: 38:[11, 92, 39] Operation: 90-51=39
Exploring Operation: 92-90=2, Resulting Numbers: [11, 51, 2]
Generated Node #0,1: 38:[11, 51, 2] Operation: 92-90=2
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[11, 51, 2], Operations: ['92-90=2']
Exploring Operation: 11*2=22, Resulting Numbers: [51, 22]
Generated Node #0,1,0: 38:[51, 22] Operation: 11*2=22
Exploring Operation: 51-11=40, Resulting Numbers: [2, 40]
Generated Node #0,1,1: 38:[2, 40] Operation: 51-11=40
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 38:[2, 40], Operations: ['92-90=2', '51-11=40']
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[11, 90, 92, 51], Operations: []
Exploring Operation: 92-90=2, Resulting Numbers: [11, 51, 2]
Generated Node #0,1: 38:[11, 51, 2] Operation: 92-90=2
Moving to Node #0,1
Current State: 38:[11, 51, 2], Operations: ['92-90=2']
Exploring Operation: 51-11=40, Resulting Numbers: [2, 40]
Generated Node #0,1,1: 38:[2, 40] Operation: 51-11=40
Moving to Node #0,1,1
Current State: 38:[2, 40], Operations: ['92-90=2', '51-11=40']
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
83,
80,
37,
53
] | 48 | [
"83-80=3",
"53-37=16",
"3*16=48"
] | Current State: 48:[83, 80, 37, 53], Operations: []
Exploring Operation: 83-80=3, Resulting Numbers: [37, 53, 3]
Generated Node #2: [37, 53, 3] from Operation: 83-80=3
Current State: 48:[37, 53, 3], Operations: ['83-80=3']
Exploring Operation: 53-37=16, Resulting Numbers: [3, 16]
Generated Node #3: [3, 16] from Operation: 53-37=16
Current State: 48:[3, 16], Operations: ['83-80=3', '53-37=16']
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[83, 80, 37, 53], Operations: []
Exploring Operation: 83-37=46, Resulting Numbers: [80, 53, 46]
Generated Node #0,0: 48:[80, 53, 46] Operation: 83-37=46
Exploring Operation: 83-80=3, Resulting Numbers: [37, 53, 3]
Generated Node #0,1: 48:[37, 53, 3] Operation: 83-80=3
Exploring Operation: 80-37=43, Resulting Numbers: [83, 53, 43]
Generated Node #0,2: 48:[83, 53, 43] Operation: 80-37=43
Start Sub Search at level 1: Moving to Node #0,1
Current State: 48:[37, 53, 3], Operations: ['83-80=3']
Exploring Operation: 53-3=50, Resulting Numbers: [37, 50]
Generated Node #0,1,0: 48:[37, 50] Operation: 53-3=50
Exploring Operation: 53-37=16, Resulting Numbers: [3, 16]
Generated Node #0,1,1: 48:[3, 16] Operation: 53-37=16
Exploring Operation: 37+3=40, Resulting Numbers: [53, 40]
Generated Node #0,1,2: 48:[53, 40] Operation: 37+3=40
Moving to Node #0,1,1
Current State: 48:[3, 16], Operations: ['83-80=3', '53-37=16']
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,48 unequal: No Solution
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[83, 80, 37, 53], Operations: []
Exploring Operation: 83-80=3, Resulting Numbers: [37, 53, 3]
Generated Node #0,1: 48:[37, 53, 3] Operation: 83-80=3
Moving to Node #0,1
Current State: 48:[37, 53, 3], Operations: ['83-80=3']
Exploring Operation: 53-37=16, Resulting Numbers: [3, 16]
Generated Node #0,1,1: 48:[3, 16] Operation: 53-37=16
Moving to Node #0,1,1
Current State: 48:[3, 16], Operations: ['83-80=3', '53-37=16']
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
18,
99,
83,
13
] | 47 | [
"18+99=117",
"83-13=70",
"117-70=47"
] | Current State: 47:[18, 99, 83, 13], Operations: []
Exploring Operation: 18+99=117, Resulting Numbers: [83, 13, 117]
Generated Node #2: [83, 13, 117] from Operation: 18+99=117
Current State: 47:[83, 13, 117], Operations: ['18+99=117']
Exploring Operation: 83-13=70, Resulting Numbers: [117, 70]
Generated Node #3: [117, 70] from Operation: 83-13=70
Current State: 47:[117, 70], Operations: ['18+99=117', '83-13=70']
Exploring Operation: 117-70=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[18, 99, 83, 13], Operations: []
Exploring Operation: 99-13=86, Resulting Numbers: [18, 83, 86]
Generated Node #0,0: 47:[18, 83, 86] Operation: 99-13=86
Exploring Operation: 99-18=81, Resulting Numbers: [83, 13, 81]
Generated Node #0,1: 47:[83, 13, 81] Operation: 99-18=81
Exploring Operation: 83-18=65, Resulting Numbers: [99, 13, 65]
Generated Node #0,2: 47:[99, 13, 65] Operation: 83-18=65
Exploring Operation: 18+13=31, Resulting Numbers: [99, 83, 31]
Generated Node #0,3: 47:[99, 83, 31] Operation: 18+13=31
Exploring Operation: 99-83=16, Resulting Numbers: [18, 13, 16]
Generated Node #0,4: 47:[18, 13, 16] Operation: 99-83=16
Moving to Node #0,4
Current State: 47:[18, 13, 16], Operations: ['99-83=16']
Exploring Operation: 13+16=29, Resulting Numbers: [18, 29]
Generated Node #0,4,0: 47:[18, 29] Operation: 13+16=29
Exploring Operation: 18+13=31, Resulting Numbers: [16, 31]
Generated Node #0,4,1: 47:[16, 31] Operation: 18+13=31
Exploring Operation: 18-13=5, Resulting Numbers: [16, 5]
Generated Node #0,4,2: 47:[16, 5] Operation: 18-13=5
Exploring Operation: 18+16=34, Resulting Numbers: [13, 34]
Generated Node #0,4,3: 47:[13, 34] Operation: 18+16=34
Exploring Operation: 16-13=3, Resulting Numbers: [18, 3]
Generated Node #0,4,4: 47:[18, 3] Operation: 16-13=3
Moving to Node #0,1
Current State: 47:[83, 13, 81], Operations: ['99-18=81']
Exploring Operation: 13+81=94, Resulting Numbers: [83, 94]
Generated Node #0,1,0: 47:[83, 94] Operation: 13+81=94
Exploring Operation: 81-13=68, Resulting Numbers: [83, 68]
Generated Node #0,1,1: 47:[83, 68] Operation: 81-13=68
Exploring Operation: 83-81=2, Resulting Numbers: [13, 2]
Generated Node #0,1,2: 47:[13, 2] Operation: 83-81=2
Exploring Operation: 83+13=96, Resulting Numbers: [81, 96]
Generated Node #0,1,3: 47:[81, 96] Operation: 83+13=96
Exploring Operation: 83-13=70, Resulting Numbers: [81, 70]
Generated Node #0,1,4: 47:[81, 70] Operation: 83-13=70
Moving to Node #0,3
Current State: 47:[99, 83, 31], Operations: ['18+13=31']
Exploring Operation: 99+31=130, Resulting Numbers: [83, 130]
Generated Node #0,3,0: 47:[83, 130] Operation: 99+31=130
Exploring Operation: 99-31=68, Resulting Numbers: [83, 68]
Generated Node #0,3,1: 47:[83, 68] Operation: 99-31=68
Exploring Operation: 99-83=16, Resulting Numbers: [31, 16]
Generated Node #0,3,2: 47:[31, 16] Operation: 99-83=16
Exploring Operation: 83+31=114, Resulting Numbers: [99, 114]
Generated Node #0,3,3: 47:[99, 114] Operation: 83+31=114
Exploring Operation: 83-31=52, Resulting Numbers: [99, 52]
Generated Node #0,3,4: 47:[99, 52] Operation: 83-31=52
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 47:[31, 16], Operations: ['18+13=31', '99-83=16']
Exploring Operation: 31*16=496, Resulting Numbers: [496]
496,47 unequal: No Solution
Exploring Operation: 31+16=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[18, 99, 83, 13], Operations: []
Exploring Operation: 18+13=31, Resulting Numbers: [99, 83, 31]
Generated Node #0,3: 47:[99, 83, 31] Operation: 18+13=31
Moving to Node #0,3
Current State: 47:[99, 83, 31], Operations: ['18+13=31']
Exploring Operation: 99-83=16, Resulting Numbers: [31, 16]
Generated Node #0,3,2: 47:[31, 16] Operation: 99-83=16
Moving to Node #0,3,2
Current State: 47:[31, 16], Operations: ['18+13=31', '99-83=16']
Exploring Operation: 31+16=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.977431 | hs_5 | mult_heuristic |
[
20,
53,
59,
53
] | 67 | [
"20+53=73",
"59-53=6",
"73-6=67"
] | Current State: 67:[20, 53, 59, 53], Operations: []
Exploring Operation: 20+53=73, Resulting Numbers: [59, 73]
Generated Node #2: [59, 73] from Operation: 20+53=73
Current State: 67:[59, 73], Operations: ['20+53=73']
Exploring Operation: 59-53=6, Resulting Numbers: [73, 6]
Generated Node #3: [73, 6] from Operation: 59-53=6
Current State: 67:[73, 6], Operations: ['20+53=73', '59-53=6']
Exploring Operation: 73-6=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[20, 53, 59, 53], Operations: []
Exploring Operation: 20+53=73, Resulting Numbers: [59, 53, 73]
Generated Node #0,0: 67:[59, 53, 73] Operation: 20+53=73
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[59, 53, 73], Operations: ['20+53=73']
Exploring Operation: 59+53=112, Resulting Numbers: [73, 112]
Generated Node #0,0,0: 67:[73, 112] Operation: 59+53=112
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 67:[73, 112], Operations: ['20+53=73', '59+53=112']
Exploring Operation: 112-73=39, Resulting Numbers: [39]
39,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
71,
91,
36,
13
] | 29 | [
"91-71=20",
"36+13=49",
"49-20=29"
] | Current State: 29:[71, 91, 36, 13], Operations: []
Exploring Operation: 91-71=20, Resulting Numbers: [36, 13, 20]
Generated Node #2: [36, 13, 20] from Operation: 91-71=20
Current State: 29:[36, 13, 20], Operations: ['91-71=20']
Exploring Operation: 36+13=49, Resulting Numbers: [20, 49]
Generated Node #3: [20, 49] from Operation: 36+13=49
Current State: 29:[20, 49], Operations: ['91-71=20', '36+13=49']
Exploring Operation: 49-20=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[71, 91, 36, 13], Operations: []
Exploring Operation: 91-71=20, Resulting Numbers: [36, 13, 20]
Generated Node #0,0: 29:[36, 13, 20] Operation: 91-71=20
Exploring Operation: 71-36=35, Resulting Numbers: [91, 13, 35]
Generated Node #0,1: 29:[91, 13, 35] Operation: 71-36=35
Exploring Operation: 91-36=55, Resulting Numbers: [71, 13, 55]
Generated Node #0,2: 29:[71, 13, 55] Operation: 91-36=55
Exploring Operation: 91/13=7, Resulting Numbers: [71, 36, 7]
Generated Node #0,3: 29:[71, 36, 7] Operation: 91/13=7
Moving to Node #0,0
Current State: 29:[36, 13, 20], Operations: ['91-71=20']
Exploring Operation: 36-13=23, Resulting Numbers: [20, 23]
Generated Node #0,0,0: 29:[20, 23] Operation: 36-13=23
Exploring Operation: 13+20=33, Resulting Numbers: [36, 33]
Generated Node #0,0,1: 29:[36, 33] Operation: 13+20=33
Exploring Operation: 36+13=49, Resulting Numbers: [20, 49]
Generated Node #0,0,2: 29:[20, 49] Operation: 36+13=49
Exploring Operation: 36-20=16, Resulting Numbers: [13, 16]
Generated Node #0,0,3: 29:[13, 16] Operation: 36-20=16
Moving to Node #0,3
Current State: 29:[71, 36, 7], Operations: ['91/13=7']
Exploring Operation: 36-7=29, Resulting Numbers: [71, 29]
Generated Node #0,3,0: 29:[71, 29] Operation: 36-7=29
Exploring Operation: 71-36=35, Resulting Numbers: [7, 35]
Generated Node #0,3,1: 29:[7, 35] Operation: 71-36=35
Exploring Operation: 71-7=64, Resulting Numbers: [36, 64]
Generated Node #0,3,2: 29:[36, 64] Operation: 71-7=64
Exploring Operation: 71+7=78, Resulting Numbers: [36, 78]
Generated Node #0,3,3: 29:[36, 78] Operation: 71+7=78
Moving to Node #0,2
Current State: 29:[71, 13, 55], Operations: ['91-36=55']
Exploring Operation: 55-13=42, Resulting Numbers: [71, 42]
Generated Node #0,2,0: 29:[71, 42] Operation: 55-13=42
Exploring Operation: 71-13=58, Resulting Numbers: [55, 58]
Generated Node #0,2,1: 29:[55, 58] Operation: 71-13=58
Exploring Operation: 71-55=16, Resulting Numbers: [13, 16]
Generated Node #0,2,2: 29:[13, 16] Operation: 71-55=16
Exploring Operation: 71+13=84, Resulting Numbers: [55, 84]
Generated Node #0,2,3: 29:[55, 84] Operation: 71+13=84
Moving to Node #0,1
Current State: 29:[91, 13, 35], Operations: ['71-36=35']
Exploring Operation: 91/13=7, Resulting Numbers: [35, 7]
Generated Node #0,1,0: 29:[35, 7] Operation: 91/13=7
Exploring Operation: 91-13=78, Resulting Numbers: [35, 78]
Generated Node #0,1,1: 29:[35, 78] Operation: 91-13=78
Exploring Operation: 35-13=22, Resulting Numbers: [91, 22]
Generated Node #0,1,2: 29:[91, 22] Operation: 35-13=22
Exploring Operation: 91-35=56, Resulting Numbers: [13, 56]
Generated Node #0,1,3: 29:[13, 56] Operation: 91-35=56
Moving to Node #0,0,1
Current State: 29:[36, 33], Operations: ['91-71=20', '13+20=33']
Exploring Operation: 36*33=1188, Resulting Numbers: [1188]
1188,29 unequal: No Solution
Exploring Operation: 36+33=69, Resulting Numbers: [69]
69,29 unequal: No Solution
Exploring Operation: 36-33=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Moving to Node #0,0,0
Current State: 29:[20, 23], Operations: ['91-71=20', '36-13=23']
Exploring Operation: 20+23=43, Resulting Numbers: [43]
43,29 unequal: No Solution
Exploring Operation: 23-20=3, Resulting Numbers: [3]
3,29 unequal: No Solution
Exploring Operation: 20*23=460, Resulting Numbers: [460]
460,29 unequal: No Solution
Moving to Node #0,1,0
Current State: 29:[35, 7], Operations: ['71-36=35', '91/13=7']
Exploring Operation: 35/7=5, Resulting Numbers: [5]
5,29 unequal: No Solution
Exploring Operation: 35*7=245, Resulting Numbers: [245]
245,29 unequal: No Solution
Exploring Operation: 35-7=28, Resulting Numbers: [28]
28,29 unequal: No Solution
Exploring Operation: 35+7=42, Resulting Numbers: [42]
42,29 unequal: No Solution
Moving to Node #0,3,1
Current State: 29:[7, 35], Operations: ['91/13=7', '71-36=35']
Exploring Operation: 35/7=5, Resulting Numbers: [5]
5,29 unequal: No Solution
Exploring Operation: 7*35=245, Resulting Numbers: [245]
245,29 unequal: No Solution
Exploring Operation: 7+35=42, Resulting Numbers: [42]
42,29 unequal: No Solution
Exploring Operation: 35-7=28, Resulting Numbers: [28]
28,29 unequal: No Solution
Moving to Node #0,0,2
Current State: 29:[20, 49], Operations: ['91-71=20', '36+13=49']
Exploring Operation: 49-20=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[71, 91, 36, 13], Operations: []
Exploring Operation: 91-71=20, Resulting Numbers: [36, 13, 20]
Generated Node #0,0: 29:[36, 13, 20] Operation: 91-71=20
Moving to Node #0,0
Current State: 29:[36, 13, 20], Operations: ['91-71=20']
Exploring Operation: 36+13=49, Resulting Numbers: [20, 49]
Generated Node #0,0,2: 29:[20, 49] Operation: 36+13=49
Moving to Node #0,0,2
Current State: 29:[20, 49], Operations: ['91-71=20', '36+13=49']
Exploring Operation: 49-20=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 0.966146 | hs_4 | mult_heuristic |
[
38,
4,
36,
57
] | 20 | [
"38*36=1368",
"1368/57=24",
"24-4=20"
] | Current State: 20:[38, 4, 36, 57], Operations: []
Exploring Operation: 38*36=1368, Resulting Numbers: [4, 57, 1368]
Generated Node #2: [4, 57, 1368] from Operation: 38*36=1368
Current State: 20:[4, 57, 1368], Operations: ['38*36=1368']
Exploring Operation: 1368/57=24, Resulting Numbers: [4, 24]
Generated Node #3: [4, 24] from Operation: 1368/57=24
Current State: 20:[4, 24], Operations: ['38*36=1368', '1368/57=24']
Exploring Operation: 24-4=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[38, 4, 36, 57], Operations: []
Exploring Operation: 57-38=19, Resulting Numbers: [4, 36, 19]
Generated Node #0,0: 20:[4, 36, 19] Operation: 57-38=19
Exploring Operation: 57-36=21, Resulting Numbers: [38, 4, 21]
Generated Node #0,1: 20:[38, 4, 21] Operation: 57-36=21
Moving to Node #0,0
Current State: 20:[4, 36, 19], Operations: ['57-38=19']
Exploring Operation: 36-19=17, Resulting Numbers: [4, 17]
Generated Node #0,0,0: 20:[4, 17] Operation: 36-19=17
Exploring Operation: 36/4=9, Resulting Numbers: [19, 9]
Generated Node #0,0,1: 20:[19, 9] Operation: 36/4=9
Moving to Node #0,1
Current State: 20:[38, 4, 21], Operations: ['57-36=21']
Exploring Operation: 38-4=34, Resulting Numbers: [21, 34]
Generated Node #0,1,0: 20:[21, 34] Operation: 38-4=34
Exploring Operation: 38-21=17, Resulting Numbers: [4, 17]
Generated Node #0,1,1: 20:[4, 17] Operation: 38-21=17
Moving to Node #0,0,1
Current State: 20:[19, 9], Operations: ['57-38=19', '36/4=9']
Exploring Operation: 19+9=28, Resulting Numbers: [28]
28,20 unequal: No Solution
Exploring Operation: 19-9=10, Resulting Numbers: [10]
10,20 unequal: No Solution
Moving to Node #0,1,1
Current State: 20:[4, 17], Operations: ['57-36=21', '38-21=17']
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,20 unequal: No Solution
Moving to Node #0,0,0
Current State: 20:[4, 17], Operations: ['57-38=19', '36-19=17']
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,20 unequal: No Solution
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,20 unequal: No Solution
Moving to Node #0,1,0
Current State: 20:[21, 34], Operations: ['57-36=21', '38-4=34']
Exploring Operation: 34-21=13, Resulting Numbers: [13]
13,20 unequal: No Solution
Exploring Operation: 21+34=55, Resulting Numbers: [55]
55,20 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
77,
29,
75,
72
] | 70 | [
"77-72=5",
"29*5=145",
"145-75=70"
] | Current State: 70:[77, 29, 75, 72], Operations: []
Exploring Operation: 77-72=5, Resulting Numbers: [29, 75, 5]
Generated Node #2: [29, 75, 5] from Operation: 77-72=5
Current State: 70:[29, 75, 5], Operations: ['77-72=5']
Exploring Operation: 29*5=145, Resulting Numbers: [75, 145]
Generated Node #3: [75, 145] from Operation: 29*5=145
Current State: 70:[75, 145], Operations: ['77-72=5', '29*5=145']
Exploring Operation: 145-75=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[77, 29, 75, 72], Operations: []
Exploring Operation: 77-75=2, Resulting Numbers: [29, 72, 2]
Generated Node #0,0: 70:[29, 72, 2] Operation: 77-75=2
Exploring Operation: 75-72=3, Resulting Numbers: [77, 29, 3]
Generated Node #0,1: 70:[77, 29, 3] Operation: 75-72=3
Exploring Operation: 77-72=5, Resulting Numbers: [29, 75, 5]
Generated Node #0,2: 70:[29, 75, 5] Operation: 77-72=5
Exploring Operation: 77-29=48, Resulting Numbers: [75, 72, 48]
Generated Node #0,3: 70:[75, 72, 48] Operation: 77-29=48
Moving to Node #0,0
Current State: 70:[29, 72, 2], Operations: ['77-75=2']
Exploring Operation: 72-29=43, Resulting Numbers: [2, 43]
Generated Node #0,0,0: 70:[2, 43] Operation: 72-29=43
Exploring Operation: 72-2=70, Resulting Numbers: [29, 70]
Generated Node #0,0,1: 70:[29, 70] Operation: 72-2=70
Exploring Operation: 29+2=31, Resulting Numbers: [72, 31]
Generated Node #0,0,2: 70:[72, 31] Operation: 29+2=31
Exploring Operation: 72/2=36, Resulting Numbers: [29, 36]
Generated Node #0,0,3: 70:[29, 36] Operation: 72/2=36
Moving to Node #0,2
Current State: 70:[29, 75, 5], Operations: ['77-72=5']
Exploring Operation: 29+5=34, Resulting Numbers: [75, 34]
Generated Node #0,2,0: 70:[75, 34] Operation: 29+5=34
Exploring Operation: 75/5=15, Resulting Numbers: [29, 15]
Generated Node #0,2,1: 70:[29, 15] Operation: 75/5=15
Exploring Operation: 75-5=70, Resulting Numbers: [29, 70]
Generated Node #0,2,2: 70:[29, 70] Operation: 75-5=70
Exploring Operation: 75-29=46, Resulting Numbers: [5, 46]
Generated Node #0,2,3: 70:[5, 46] Operation: 75-29=46
Moving to Node #0,1
Current State: 70:[77, 29, 3], Operations: ['75-72=3']
Exploring Operation: 77-3=74, Resulting Numbers: [29, 74]
Generated Node #0,1,0: 70:[29, 74] Operation: 77-3=74
Exploring Operation: 77+3=80, Resulting Numbers: [29, 80]
Generated Node #0,1,1: 70:[29, 80] Operation: 77+3=80
Exploring Operation: 77-29=48, Resulting Numbers: [3, 48]
Generated Node #0,1,2: 70:[3, 48] Operation: 77-29=48
Exploring Operation: 29+3=32, Resulting Numbers: [77, 32]
Generated Node #0,1,3: 70:[77, 32] Operation: 29+3=32
Moving to Node #0,3
Current State: 70:[75, 72, 48], Operations: ['77-29=48']
Exploring Operation: 75-48=27, Resulting Numbers: [72, 27]
Generated Node #0,3,0: 70:[72, 27] Operation: 75-48=27
Exploring Operation: 75+48=123, Resulting Numbers: [72, 123]
Generated Node #0,3,1: 70:[72, 123] Operation: 75+48=123
Exploring Operation: 75-72=3, Resulting Numbers: [48, 3]
Generated Node #0,3,2: 70:[48, 3] Operation: 75-72=3
Exploring Operation: 72-48=24, Resulting Numbers: [75, 24]
Generated Node #0,3,3: 70:[75, 24] Operation: 72-48=24
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 70:[72, 27], Operations: ['77-29=48', '75-48=27']
Exploring Operation: 72-27=45, Resulting Numbers: [45]
45,70 unequal: No Solution
Exploring Operation: 72+27=99, Resulting Numbers: [99]
99,70 unequal: No Solution
Exploring Operation: 72*27=1944, Resulting Numbers: [1944]
1944,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,2
Current State: 70:[48, 3], Operations: ['77-29=48', '75-72=3']
Exploring Operation: 48*3=144, Resulting Numbers: [144]
144,70 unequal: No Solution
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,70 unequal: No Solution
Exploring Operation: 48+3=51, Resulting Numbers: [51]
51,70 unequal: No Solution
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,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:[75, 24], Operations: ['77-29=48', '72-48=24']
Exploring Operation: 75*24=1800, Resulting Numbers: [1800]
1800,70 unequal: No Solution
Exploring Operation: 75+24=99, Resulting Numbers: [99]
99,70 unequal: No Solution
Exploring Operation: 75-24=51, Resulting Numbers: [51]
51,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:[72, 123], Operations: ['77-29=48', '75+48=123']
Exploring Operation: 72*123=8856, Resulting Numbers: [8856]
8856,70 unequal: No Solution
Exploring Operation: 72+123=195, Resulting Numbers: [195]
195,70 unequal: No Solution
Exploring Operation: 123-72=51, Resulting Numbers: [51]
51,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,1
Current State: 70:[29, 70], Operations: ['77-75=2', '72-2=70']
Exploring Operation: 70-29=41, Resulting Numbers: [41]
41,70 unequal: No Solution
Exploring Operation: 29*70=2030, Resulting Numbers: [2030]
2030,70 unequal: No Solution
Exploring Operation: 29+70=99, Resulting Numbers: [99]
99,70 unequal: No Solution
Moving to Node #0,2,2
Current State: 70:[29, 70], Operations: ['77-72=5', '75-5=70']
Exploring Operation: 29*70=2030, Resulting Numbers: [2030]
2030,70 unequal: No Solution
Exploring Operation: 29+70=99, Resulting Numbers: [99]
99,70 unequal: No Solution
Exploring Operation: 70-29=41, Resulting Numbers: [41]
41,70 unequal: No Solution
Moving to Node #0,0,2
Current State: 70:[72, 31], Operations: ['77-75=2', '29+2=31']
Exploring Operation: 72-31=41, Resulting Numbers: [41]
41,70 unequal: No Solution
Exploring Operation: 72*31=2232, Resulting Numbers: [2232]
2232,70 unequal: No Solution
Exploring Operation: 72+31=103, Resulting Numbers: [103]
103,70 unequal: No Solution
Moving to Node #0,2,0
Current State: 70:[75, 34], Operations: ['77-72=5', '29+5=34']
Exploring Operation: 75*34=2550, Resulting Numbers: [2550]
2550,70 unequal: No Solution
Exploring Operation: 75-34=41, Resulting Numbers: [41]
41,70 unequal: No Solution
Exploring Operation: 75+34=109, Resulting Numbers: [109]
109,70 unequal: No Solution
Moving to Node #0,2,1
Current State: 70:[29, 15], Operations: ['77-72=5', '75/5=15']
Exploring Operation: 29+15=44, Resulting Numbers: [44]
44,70 unequal: No Solution
Exploring Operation: 29-15=14, Resulting Numbers: [14]
14,70 unequal: No Solution
Exploring Operation: 29*15=435, Resulting Numbers: [435]
435,70 unequal: No Solution
Moving to Node #0,0,3
Current State: 70:[29, 36], Operations: ['77-75=2', '72/2=36']
Exploring Operation: 36-29=7, Resulting Numbers: [7]
7,70 unequal: No Solution
Exploring Operation: 29*36=1044, Resulting Numbers: [1044]
1044,70 unequal: No Solution
Exploring Operation: 29+36=65, Resulting Numbers: [65]
65,70 unequal: No Solution
Moving to Node #0,0,0
Current State: 70:[2, 43], Operations: ['77-75=2', '72-29=43']
Exploring Operation: 2+43=45, Resulting Numbers: [45]
45,70 unequal: No Solution
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,70 unequal: No Solution
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,70 unequal: No Solution
Moving to Node #0,1,3
Current State: 70:[77, 32], Operations: ['75-72=3', '29+3=32']
Exploring Operation: 77+32=109, Resulting Numbers: [109]
109,70 unequal: No Solution
Exploring Operation: 77*32=2464, Resulting Numbers: [2464]
2464,70 unequal: No Solution
Exploring Operation: 77-32=45, Resulting Numbers: [45]
45,70 unequal: No Solution
Moving to Node #0,1,0
Current State: 70:[29, 74], Operations: ['75-72=3', '77-3=74']
Exploring Operation: 29+74=103, Resulting Numbers: [103]
103,70 unequal: No Solution
Exploring Operation: 74-29=45, Resulting Numbers: [45]
45,70 unequal: No Solution
Exploring Operation: 29*74=2146, Resulting Numbers: [2146]
2146,70 unequal: No Solution
Moving to Node #0,2,3
Current State: 70:[5, 46], Operations: ['77-72=5', '75-29=46']
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,70 unequal: No Solution
Exploring Operation: 5*46=230, Resulting Numbers: [230]
230,70 unequal: No Solution
Exploring Operation: 5+46=51, Resulting Numbers: [51]
51,70 unequal: No Solution
Moving to Node #0,1,2
Current State: 70:[3, 48], Operations: ['75-72=3', '77-29=48']
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,70 unequal: No Solution
Exploring Operation: 3+48=51, Resulting Numbers: [51]
51,70 unequal: No Solution
Exploring Operation: 3*48=144, Resulting Numbers: [144]
144,70 unequal: No Solution
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,70 unequal: No Solution
Moving to Node #0,1,1
Current State: 70:[29, 80], Operations: ['75-72=3', '77+3=80']
Exploring Operation: 29+80=109, Resulting Numbers: [109]
109,70 unequal: No Solution
Exploring Operation: 29*80=2320, Resulting Numbers: [2320]
2320,70 unequal: No Solution
Exploring Operation: 80-29=51, Resulting Numbers: [51]
51,70 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
56,
33,
41,
4
] | 44 | [
"56+33=89",
"41+4=45",
"89-45=44"
] | Current State: 44:[56, 33, 41, 4], Operations: []
Exploring Operation: 56+33=89, Resulting Numbers: [41, 4, 89]
Generated Node #2: [41, 4, 89] from Operation: 56+33=89
Current State: 44:[41, 4, 89], Operations: ['56+33=89']
Exploring Operation: 41+4=45, Resulting Numbers: [89, 45]
Generated Node #3: [89, 45] from Operation: 41+4=45
Current State: 44:[89, 45], Operations: ['56+33=89', '41+4=45']
Exploring Operation: 89-45=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[56, 33, 41, 4], Operations: []
Exploring Operation: 56-33=23, Resulting Numbers: [41, 4, 23]
Generated Node #0,0: 44:[41, 4, 23] Operation: 56-33=23
Moving to Node #0,0
Current State: 44:[41, 4, 23], Operations: ['56-33=23']
Exploring Operation: 41+4=45, Resulting Numbers: [23, 45]
Generated Node #0,0,0: 44:[23, 45] Operation: 41+4=45
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 44:[23, 45], Operations: ['56-33=23', '41+4=45']
Exploring Operation: 45-23=22, Resulting Numbers: [22]
22,44 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 |
[
9,
1,
80,
5
] | 77 | [
"9-1=8",
"80+5=85",
"85-8=77"
] | Current State: 77:[9, 1, 80, 5], Operations: []
Exploring Operation: 9-1=8, Resulting Numbers: [80, 5, 8]
Generated Node #2: [80, 5, 8] from Operation: 9-1=8
Current State: 77:[80, 5, 8], Operations: ['9-1=8']
Exploring Operation: 80+5=85, Resulting Numbers: [8, 85]
Generated Node #3: [8, 85] from Operation: 80+5=85
Current State: 77:[8, 85], Operations: ['9-1=8', '80+5=85']
Exploring Operation: 85-8=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[9, 1, 80, 5], Operations: []
Exploring Operation: 9+1=10, Resulting Numbers: [80, 5, 10]
Generated Node #0,0: 77:[80, 5, 10] Operation: 9+1=10
Exploring Operation: 9-1=8, Resulting Numbers: [80, 5, 8]
Generated Node #0,1: 77:[80, 5, 8] Operation: 9-1=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[80, 5, 10], Operations: ['9+1=10']
Exploring Operation: 80-5=75, Resulting Numbers: [10, 75]
Generated Node #0,0,0: 77:[10, 75] Operation: 80-5=75
Exploring Operation: 80/10=8, Resulting Numbers: [5, 8]
Generated Node #0,0,1: 77:[5, 8] Operation: 80/10=8
Moving to Node #0,0,0
Current State: 77:[10, 75], Operations: ['9+1=10', '80-5=75']
Exploring Operation: 75-10=65, Resulting Numbers: [65]
65,77 unequal: No Solution
Exploring Operation: 10+75=85, Resulting Numbers: [85]
85,77 unequal: No Solution
Moving to Node #0,0,1
Current State: 77:[5, 8], Operations: ['9+1=10', '80/10=8']
Exploring Operation: 5+8=13, Resulting Numbers: [13]
13,77 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,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,1
Current State: 77:[80, 5, 8], Operations: ['9-1=8']
Exploring Operation: 80-5=75, Resulting Numbers: [8, 75]
Generated Node #0,1,0: 77:[8, 75] Operation: 80-5=75
Exploring Operation: 80/8=10, Resulting Numbers: [5, 10]
Generated Node #0,1,1: 77:[5, 10] Operation: 80/8=10
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 77:[8, 75], Operations: ['9-1=8', '80-5=75']
Exploring Operation: 75-8=67, Resulting Numbers: [67]
67,77 unequal: No Solution
Exploring Operation: 8+75=83, Resulting Numbers: [83]
83,77 unequal: No Solution
No 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: 77:[5, 10], Operations: ['9-1=8', '80/8=10']
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,77 unequal: No Solution
Exploring Operation: 5+10=15, Resulting Numbers: [15]
15,77 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 |
[
80,
94,
92,
37
] | 45 | [
"80+94=174",
"92+37=129",
"174-129=45"
] | Current State: 45:[80, 94, 92, 37], Operations: []
Exploring Operation: 80+94=174, Resulting Numbers: [92, 37, 174]
Generated Node #2: [92, 37, 174] from Operation: 80+94=174
Current State: 45:[92, 37, 174], Operations: ['80+94=174']
Exploring Operation: 92+37=129, Resulting Numbers: [174, 129]
Generated Node #3: [174, 129] from Operation: 92+37=129
Current State: 45:[174, 129], Operations: ['80+94=174', '92+37=129']
Exploring Operation: 174-129=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[80, 94, 92, 37], Operations: []
Exploring Operation: 94-92=2, Resulting Numbers: [80, 37, 2]
Generated Node #0,0: 45:[80, 37, 2] Operation: 94-92=2
Exploring Operation: 94-80=14, Resulting Numbers: [92, 37, 14]
Generated Node #0,1: 45:[92, 37, 14] Operation: 94-80=14
Exploring Operation: 92-80=12, Resulting Numbers: [94, 37, 12]
Generated Node #0,2: 45:[94, 37, 12] Operation: 92-80=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[80, 37, 2], Operations: ['94-92=2']
Exploring Operation: 80/2=40, Resulting Numbers: [37, 40]
Generated Node #0,0,0: 45:[37, 40] Operation: 80/2=40
Exploring Operation: 80-37=43, Resulting Numbers: [2, 43]
Generated Node #0,0,1: 45:[2, 43] Operation: 80-37=43
Exploring Operation: 80-2=78, Resulting Numbers: [37, 78]
Generated Node #0,0,2: 45:[37, 78] Operation: 80-2=78
Moving to Node #0,0,1
Current State: 45:[2, 43], Operations: ['94-92=2', '80-37=43']
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,45 unequal: No Solution
Exploring Operation: 2*43=86, Resulting Numbers: [86]
86,45 unequal: No Solution
Exploring Operation: 2+43=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[80, 94, 92, 37], Operations: []
Exploring Operation: 94-92=2, Resulting Numbers: [80, 37, 2]
Generated Node #0,0: 45:[80, 37, 2] Operation: 94-92=2
Moving to Node #0,0
Current State: 45:[80, 37, 2], Operations: ['94-92=2']
Exploring Operation: 80-37=43, Resulting Numbers: [2, 43]
Generated Node #0,0,1: 45:[2, 43] Operation: 80-37=43
Moving to Node #0,0,1
Current State: 45:[2, 43], Operations: ['94-92=2', '80-37=43']
Exploring Operation: 2+43=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
52,
9,
21,
9
] | 13 | [
"52-9=43",
"21+9=30",
"43-30=13"
] | Current State: 13:[52, 9, 21, 9], Operations: []
Exploring Operation: 52-9=43, Resulting Numbers: [21, 43]
Generated Node #2: [21, 43] from Operation: 52-9=43
Current State: 13:[21, 43], Operations: ['52-9=43']
Exploring Operation: 21+9=30, Resulting Numbers: [43, 30]
Generated Node #3: [43, 30] from Operation: 21+9=30
Current State: 13:[43, 30], Operations: ['52-9=43', '21+9=30']
Exploring Operation: 43-30=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[52, 9, 21, 9], Operations: []
Exploring Operation: 21-9=12, Resulting Numbers: [52, 9, 12]
Generated Node #0,0: 13:[52, 9, 12] Operation: 21-9=12
Exploring Operation: 52-21=31, Resulting Numbers: [9, 9, 31]
Generated Node #0,1: 13:[9, 9, 31] Operation: 52-21=31
Exploring Operation: 52-9=43, Resulting Numbers: [21, 9, 43]
Generated Node #0,2: 13:[21, 9, 43] Operation: 52-9=43
Exploring Operation: 52-9=43, Resulting Numbers: [9, 21, 43]
Generated Node #0,3: 13:[9, 21, 43] Operation: 52-9=43
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[9, 9, 31], Operations: ['52-21=31']
Exploring Operation: 9/9=1, Resulting Numbers: [31, 1]
Generated Node #0,1,0: 13:[31, 1] Operation: 9/9=1
Exploring Operation: 31-9=22, Resulting Numbers: [9, 22]
Generated Node #0,1,1: 13:[9, 22] Operation: 31-9=22
Exploring Operation: 9+9=18, Resulting Numbers: [31, 18]
Generated Node #0,1,2: 13:[31, 18] Operation: 9+9=18
Exploring Operation: 31-9=22, Resulting Numbers: [9, 22]
Generated Node #0,1,3: 13:[9, 22] Operation: 31-9=22
Moving to Node #0,1,1
Current State: 13:[9, 22], Operations: ['52-21=31', '31-9=22']
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[52, 9, 21, 9], Operations: []
Exploring Operation: 52-21=31, Resulting Numbers: [9, 9, 31]
Generated Node #0,1: 13:[9, 9, 31] Operation: 52-21=31
Moving to Node #0,1
Current State: 13:[9, 9, 31], Operations: ['52-21=31']
Exploring Operation: 31-9=22, Resulting Numbers: [9, 22]
Generated Node #0,1,1: 13:[9, 22] Operation: 31-9=22
Moving to Node #0,1,1
Current State: 13:[9, 22], Operations: ['52-21=31', '31-9=22']
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
80,
48,
57,
2
] | 91 | [
"80-48=32",
"57+2=59",
"32+59=91"
] | Current State: 91:[80, 48, 57, 2], Operations: []
Exploring Operation: 80-48=32, Resulting Numbers: [57, 2, 32]
Generated Node #2: [57, 2, 32] from Operation: 80-48=32
Current State: 91:[57, 2, 32], Operations: ['80-48=32']
Exploring Operation: 57+2=59, Resulting Numbers: [32, 59]
Generated Node #3: [32, 59] from Operation: 57+2=59
Current State: 91:[32, 59], Operations: ['80-48=32', '57+2=59']
Exploring Operation: 32+59=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[80, 48, 57, 2], Operations: []
Exploring Operation: 48*2=96, Resulting Numbers: [80, 57, 96]
Generated Node #0,0: 91:[80, 57, 96] Operation: 48*2=96
Exploring Operation: 80-57=23, Resulting Numbers: [48, 2, 23]
Generated Node #0,1: 91:[48, 2, 23] Operation: 80-57=23
Exploring Operation: 48+57=105, Resulting Numbers: [80, 2, 105]
Generated Node #0,2: 91:[80, 2, 105] Operation: 48+57=105
Exploring Operation: 57-48=9, Resulting Numbers: [80, 2, 9]
Generated Node #0,3: 91:[80, 2, 9] Operation: 57-48=9
Moving to Node #0,3
Current State: 91:[80, 2, 9], Operations: ['57-48=9']
Exploring Operation: 80+2=82, Resulting Numbers: [9, 82]
Generated Node #0,3,0: 91:[9, 82] Operation: 80+2=82
Exploring Operation: 9-2=7, Resulting Numbers: [80, 7]
Generated Node #0,3,1: 91:[80, 7] Operation: 9-2=7
Exploring Operation: 80+9=89, Resulting Numbers: [2, 89]
Generated Node #0,3,2: 91:[2, 89] Operation: 80+9=89
Exploring Operation: 2+9=11, Resulting Numbers: [80, 11]
Generated Node #0,3,3: 91:[80, 11] Operation: 2+9=11
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 91:[2, 89], Operations: ['57-48=9', '80+9=89']
Exploring Operation: 2*89=178, Resulting Numbers: [178]
178,91 unequal: No Solution
Exploring Operation: 89-2=87, Resulting Numbers: [87]
87,91 unequal: No Solution
Exploring Operation: 2+89=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[80, 48, 57, 2], Operations: []
Exploring Operation: 57-48=9, Resulting Numbers: [80, 2, 9]
Generated Node #0,3: 91:[80, 2, 9] Operation: 57-48=9
Moving to Node #0,3
Current State: 91:[80, 2, 9], Operations: ['57-48=9']
Exploring Operation: 80+9=89, Resulting Numbers: [2, 89]
Generated Node #0,3,2: 91:[2, 89] Operation: 80+9=89
Moving to Node #0,3,2
Current State: 91:[2, 89], Operations: ['57-48=9', '80+9=89']
Exploring Operation: 2+89=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | sum_heuristic |
[
18,
25,
42,
63
] | 72 | [
"25+42=67",
"67-63=4",
"18*4=72"
] | Current State: 72:[18, 25, 42, 63], Operations: []
Exploring Operation: 25+42=67, Resulting Numbers: [18, 63, 67]
Generated Node #2: [18, 63, 67] from Operation: 25+42=67
Current State: 72:[18, 63, 67], Operations: ['25+42=67']
Exploring Operation: 67-63=4, Resulting Numbers: [18, 4]
Generated Node #3: [18, 4] from Operation: 67-63=4
Current State: 72:[18, 4], Operations: ['25+42=67', '67-63=4']
Exploring Operation: 18*4=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[18, 25, 42, 63], Operations: []
Exploring Operation: 42-18=24, Resulting Numbers: [25, 63, 24]
Generated Node #0,0: 72:[25, 63, 24] Operation: 42-18=24
Exploring Operation: 63-25=38, Resulting Numbers: [18, 42, 38]
Generated Node #0,1: 72:[18, 42, 38] Operation: 63-25=38
Exploring Operation: 25+42=67, Resulting Numbers: [18, 63, 67]
Generated Node #0,2: 72:[18, 63, 67] Operation: 25+42=67
Exploring Operation: 42-25=17, Resulting Numbers: [18, 63, 17]
Generated Node #0,3: 72:[18, 63, 17] Operation: 42-25=17
Exploring Operation: 63-42=21, Resulting Numbers: [18, 25, 21]
Generated Node #0,4: 72:[18, 25, 21] Operation: 63-42=21
Moving to Node #0,4
Current State: 72:[18, 25, 21], Operations: ['63-42=21']
Exploring Operation: 21-18=3, Resulting Numbers: [25, 3]
Generated Node #0,4,0: 72:[25, 3] Operation: 21-18=3
Exploring Operation: 18+25=43, Resulting Numbers: [21, 43]
Generated Node #0,4,1: 72:[21, 43] Operation: 18+25=43
Exploring Operation: 25-21=4, Resulting Numbers: [18, 4]
Generated Node #0,4,2: 72:[18, 4] Operation: 25-21=4
Exploring Operation: 25-18=7, Resulting Numbers: [21, 7]
Generated Node #0,4,3: 72:[21, 7] Operation: 25-18=7
Exploring Operation: 18+21=39, Resulting Numbers: [25, 39]
Generated Node #0,4,4: 72:[25, 39] Operation: 18+21=39
Moving to Node #0,1
Current State: 72:[18, 42, 38], Operations: ['63-25=38']
Exploring Operation: 38-18=20, Resulting Numbers: [42, 20]
Generated Node #0,1,0: 72:[42, 20] Operation: 38-18=20
Exploring Operation: 42-18=24, Resulting Numbers: [38, 24]
Generated Node #0,1,1: 72:[38, 24] Operation: 42-18=24
Exploring Operation: 18+42=60, Resulting Numbers: [38, 60]
Generated Node #0,1,2: 72:[38, 60] Operation: 18+42=60
Exploring Operation: 42-38=4, Resulting Numbers: [18, 4]
Generated Node #0,1,3: 72:[18, 4] Operation: 42-38=4
Exploring Operation: 42+38=80, Resulting Numbers: [18, 80]
Generated Node #0,1,4: 72:[18, 80] Operation: 42+38=80
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 72:[18, 4], Operations: ['63-25=38', '42-38=4']
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,72 unequal: No Solution
Exploring Operation: 18+4=22, Resulting Numbers: [22]
22,72 unequal: No Solution
Exploring Operation: 18*4=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[18, 25, 42, 63], Operations: []
Exploring Operation: 63-25=38, Resulting Numbers: [18, 42, 38]
Generated Node #0,1: 72:[18, 42, 38] Operation: 63-25=38
Moving to Node #0,1
Current State: 72:[18, 42, 38], Operations: ['63-25=38']
Exploring Operation: 42-38=4, Resulting Numbers: [18, 4]
Generated Node #0,1,3: 72:[18, 4] Operation: 42-38=4
Moving to Node #0,1,3
Current State: 72:[18, 4], Operations: ['63-25=38', '42-38=4']
Exploring Operation: 18*4=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | mult_heuristic |
[
34,
94,
57,
94
] | 90 | [
"34+57=91",
"94/94=1",
"91-1=90"
] | Current State: 90:[34, 94, 57, 94], Operations: []
Exploring Operation: 34+57=91, Resulting Numbers: [94, 94, 91]
Generated Node #2: [94, 94, 91] from Operation: 34+57=91
Current State: 90:[94, 94, 91], Operations: ['34+57=91']
Exploring Operation: 94/94=1, Resulting Numbers: [91, 1]
Generated Node #3: [91, 1] from Operation: 94/94=1
Current State: 90:[91, 1], Operations: ['34+57=91', '94/94=1']
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[34, 94, 57, 94], Operations: []
Exploring Operation: 57-34=23, Resulting Numbers: [94, 94, 23]
Generated Node #0,0: 90:[94, 94, 23] Operation: 57-34=23
Exploring Operation: 94-57=37, Resulting Numbers: [34, 94, 37]
Generated Node #0,1: 90:[34, 94, 37] Operation: 94-57=37
Exploring Operation: 34+57=91, Resulting Numbers: [94, 94, 91]
Generated Node #0,2: 90:[94, 94, 91] Operation: 34+57=91
Exploring Operation: 94-57=37, Resulting Numbers: [34, 94, 37]
Generated Node #0,3: 90:[34, 94, 37] Operation: 94-57=37
Moving to Node #0,2
Current State: 90:[94, 94, 91], Operations: ['34+57=91']
Exploring Operation: 94-94=0, Resulting Numbers: [91, 0]
Generated Node #0,2,0: 90:[91, 0] Operation: 94-94=0
Exploring Operation: 94-91=3, Resulting Numbers: [94, 3]
Generated Node #0,2,1: 90:[94, 3] Operation: 94-91=3
Exploring Operation: 94/94=1, Resulting Numbers: [91, 1]
Generated Node #0,2,2: 90:[91, 1] Operation: 94/94=1
Exploring Operation: 94-91=3, Resulting Numbers: [94, 3]
Generated Node #0,2,3: 90:[94, 3] Operation: 94-91=3
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 90:[91, 1], Operations: ['34+57=91', '94/94=1']
Exploring Operation: 91+1=92, Resulting Numbers: [92]
92,90 unequal: No Solution
Exploring Operation: 91/1=91, Resulting Numbers: [91]
91,90 unequal: No Solution
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[34, 94, 57, 94], Operations: []
Exploring Operation: 34+57=91, Resulting Numbers: [94, 94, 91]
Generated Node #0,2: 90:[94, 94, 91] Operation: 34+57=91
Moving to Node #0,2
Current State: 90:[94, 94, 91], Operations: ['34+57=91']
Exploring Operation: 94/94=1, Resulting Numbers: [91, 1]
Generated Node #0,2,2: 90:[91, 1] Operation: 94/94=1
Moving to Node #0,2,2
Current State: 90:[91, 1], Operations: ['34+57=91', '94/94=1']
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
42,
19,
99,
75
] | 37 | [
"42+19=61",
"99-75=24",
"61-24=37"
] | Current State: 37:[42, 19, 99, 75], Operations: []
Exploring Operation: 42+19=61, Resulting Numbers: [99, 75, 61]
Generated Node #2: [99, 75, 61] from Operation: 42+19=61
Current State: 37:[99, 75, 61], Operations: ['42+19=61']
Exploring Operation: 99-75=24, Resulting Numbers: [61, 24]
Generated Node #3: [61, 24] from Operation: 99-75=24
Current State: 37:[61, 24], Operations: ['42+19=61', '99-75=24']
Exploring Operation: 61-24=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[42, 19, 99, 75], Operations: []
Exploring Operation: 75-42=33, Resulting Numbers: [19, 99, 33]
Generated Node #0,0: 37:[19, 99, 33] Operation: 75-42=33
Exploring Operation: 99-19=80, Resulting Numbers: [42, 75, 80]
Generated Node #0,1: 37:[42, 75, 80] Operation: 99-19=80
Exploring Operation: 99-42=57, Resulting Numbers: [19, 75, 57]
Generated Node #0,2: 37:[19, 75, 57] Operation: 99-42=57
Exploring Operation: 75-19=56, Resulting Numbers: [42, 99, 56]
Generated Node #0,3: 37:[42, 99, 56] Operation: 75-19=56
Exploring Operation: 99-75=24, Resulting Numbers: [42, 19, 24]
Generated Node #0,4: 37:[42, 19, 24] Operation: 99-75=24
Start Sub Search at level 1: Moving to Node #0,4
Current State: 37:[42, 19, 24], Operations: ['99-75=24']
Exploring Operation: 19+24=43, Resulting Numbers: [42, 43]
Generated Node #0,4,0: 37:[42, 43] Operation: 19+24=43
Exploring Operation: 42+19=61, Resulting Numbers: [24, 61]
Generated Node #0,4,1: 37:[24, 61] Operation: 42+19=61
Exploring Operation: 42-19=23, Resulting Numbers: [24, 23]
Generated Node #0,4,2: 37:[24, 23] Operation: 42-19=23
Exploring Operation: 24-19=5, Resulting Numbers: [42, 5]
Generated Node #0,4,3: 37:[42, 5] Operation: 24-19=5
Exploring Operation: 42-24=18, Resulting Numbers: [19, 18]
Generated Node #0,4,4: 37:[19, 18] Operation: 42-24=18
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 37:[42, 43], Operations: ['99-75=24', '19+24=43']
Exploring Operation: 43-42=1, Resulting Numbers: [1]
1,37 unequal: No Solution
Exploring Operation: 42*43=1806, Resulting Numbers: [1806]
1806,37 unequal: No Solution
Exploring Operation: 42+43=85, Resulting Numbers: [85]
85,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,4,2
Current State: 37:[24, 23], Operations: ['99-75=24', '42-19=23']
Exploring Operation: 24+23=47, Resulting Numbers: [47]
47,37 unequal: No Solution
Exploring Operation: 24*23=552, Resulting Numbers: [552]
552,37 unequal: No Solution
Exploring Operation: 24-23=1, Resulting Numbers: [1]
1,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,4,1
Current State: 37:[24, 61], Operations: ['99-75=24', '42+19=61']
Exploring Operation: 61-24=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[42, 19, 99, 75], Operations: []
Exploring Operation: 99-75=24, Resulting Numbers: [42, 19, 24]
Generated Node #0,4: 37:[42, 19, 24] Operation: 99-75=24
Moving to Node #0,4
Current State: 37:[42, 19, 24], Operations: ['99-75=24']
Exploring Operation: 42+19=61, Resulting Numbers: [24, 61]
Generated Node #0,4,1: 37:[24, 61] Operation: 42+19=61
Moving to Node #0,4,1
Current State: 37:[24, 61], Operations: ['99-75=24', '42+19=61']
Exploring Operation: 61-24=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
16,
91,
4,
41
] | 54 | [
"16/4=4",
"91-41=50",
"4+50=54"
] | Current State: 54:[16, 91, 4, 41], Operations: []
Exploring Operation: 16/4=4, Resulting Numbers: [91, 41, 4]
Generated Node #2: [91, 41, 4] from Operation: 16/4=4
Current State: 54:[91, 41, 4], Operations: ['16/4=4']
Exploring Operation: 91-41=50, Resulting Numbers: [4, 50]
Generated Node #3: [4, 50] from Operation: 91-41=50
Current State: 54:[4, 50], Operations: ['16/4=4', '91-41=50']
Exploring Operation: 4+50=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[16, 91, 4, 41], Operations: []
Exploring Operation: 91-41=50, Resulting Numbers: [16, 4, 50]
Generated Node #0,0: 54:[16, 4, 50] Operation: 91-41=50
Exploring Operation: 91-16=75, Resulting Numbers: [4, 41, 75]
Generated Node #0,1: 54:[4, 41, 75] Operation: 91-16=75
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[16, 4, 50], Operations: ['91-41=50']
Exploring Operation: 4+50=54, Resulting Numbers: [16, 54]
Generated Node #0,0,0: 54:[16, 54] Operation: 4+50=54
Exploring Operation: 16/4=4, Resulting Numbers: [50, 4]
Generated Node #0,0,1: 54:[50, 4] Operation: 16/4=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 54:[16, 54], Operations: ['91-41=50', '4+50=54']
Exploring Operation: 54-16=38, Resulting Numbers: [38]
38,54 unequal: No Solution
Exploring Operation: 16+54=70, Resulting Numbers: [70]
70,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:[50, 4], Operations: ['91-41=50', '16/4=4']
Exploring Operation: 50+4=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[16, 91, 4, 41], Operations: []
Exploring Operation: 91-41=50, Resulting Numbers: [16, 4, 50]
Generated Node #0,0: 54:[16, 4, 50] Operation: 91-41=50
Moving to Node #0,0
Current State: 54:[16, 4, 50], Operations: ['91-41=50']
Exploring Operation: 16/4=4, Resulting Numbers: [50, 4]
Generated Node #0,0,1: 54:[50, 4] Operation: 16/4=4
Moving to Node #0,0,1
Current State: 54:[50, 4], Operations: ['91-41=50', '16/4=4']
Exploring Operation: 50+4=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
84,
65,
39,
52
] | 81 | [
"65+52=117",
"117/39=3",
"84-3=81"
] | Current State: 81:[84, 65, 39, 52], Operations: []
Exploring Operation: 65+52=117, Resulting Numbers: [84, 39, 117]
Generated Node #2: [84, 39, 117] from Operation: 65+52=117
Current State: 81:[84, 39, 117], Operations: ['65+52=117']
Exploring Operation: 117/39=3, Resulting Numbers: [84, 3]
Generated Node #3: [84, 3] from Operation: 117/39=3
Current State: 81:[84, 3], Operations: ['65+52=117', '117/39=3']
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[84, 65, 39, 52], Operations: []
Exploring Operation: 52-39=13, Resulting Numbers: [84, 65, 13]
Generated Node #0,0: 81:[84, 65, 13] Operation: 52-39=13
Exploring Operation: 65-39=26, Resulting Numbers: [84, 52, 26]
Generated Node #0,1: 81:[84, 52, 26] Operation: 65-39=26
Exploring Operation: 65-52=13, Resulting Numbers: [84, 39, 13]
Generated Node #0,2: 81:[84, 39, 13] Operation: 65-52=13
Moving to Node #0,2
Current State: 81:[84, 39, 13], Operations: ['65-52=13']
Exploring Operation: 39-13=26, Resulting Numbers: [84, 26]
Generated Node #0,2,0: 81:[84, 26] Operation: 39-13=26
Exploring Operation: 39/13=3, Resulting Numbers: [84, 3]
Generated Node #0,2,1: 81:[84, 3] Operation: 39/13=3
Exploring Operation: 84-39=45, Resulting Numbers: [13, 45]
Generated Node #0,2,2: 81:[13, 45] Operation: 84-39=45
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 81:[84, 3], Operations: ['65-52=13', '39/13=3']
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[84, 65, 39, 52], Operations: []
Exploring Operation: 65-52=13, Resulting Numbers: [84, 39, 13]
Generated Node #0,2: 81:[84, 39, 13] Operation: 65-52=13
Moving to Node #0,2
Current State: 81:[84, 39, 13], Operations: ['65-52=13']
Exploring Operation: 39/13=3, Resulting Numbers: [84, 3]
Generated Node #0,2,1: 81:[84, 3] Operation: 39/13=3
Moving to Node #0,2,1
Current State: 81:[84, 3], Operations: ['65-52=13', '39/13=3']
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | mult_heuristic |
[
21,
12,
1,
23
] | 11 | [
"21+12=33",
"23-1=22",
"33-22=11"
] | Current State: 11:[21, 12, 1, 23], Operations: []
Exploring Operation: 21+12=33, Resulting Numbers: [1, 23, 33]
Generated Node #2: [1, 23, 33] from Operation: 21+12=33
Current State: 11:[1, 23, 33], Operations: ['21+12=33']
Exploring Operation: 23-1=22, Resulting Numbers: [33, 22]
Generated Node #3: [33, 22] from Operation: 23-1=22
Current State: 11:[33, 22], Operations: ['21+12=33', '23-1=22']
Exploring Operation: 33-22=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[21, 12, 1, 23], Operations: []
Exploring Operation: 21-1=20, Resulting Numbers: [12, 23, 20]
Generated Node #0,0: 11:[12, 23, 20] Operation: 21-1=20
Exploring Operation: 23-1=22, Resulting Numbers: [21, 12, 22]
Generated Node #0,1: 11:[21, 12, 22] Operation: 23-1=22
Exploring Operation: 12-1=11, Resulting Numbers: [21, 23, 11]
Generated Node #0,2: 11:[21, 23, 11] Operation: 12-1=11
Exploring Operation: 23-12=11, Resulting Numbers: [21, 1, 11]
Generated Node #0,3: 11:[21, 1, 11] Operation: 23-12=11
Exploring Operation: 23-21=2, Resulting Numbers: [12, 1, 2]
Generated Node #0,4: 11:[12, 1, 2] Operation: 23-21=2
Moving to Node #0,3
Current State: 11:[21, 1, 11], Operations: ['23-12=11']
Exploring Operation: 21-1=20, Resulting Numbers: [11, 20]
Generated Node #0,3,0: 11:[11, 20] Operation: 21-1=20
Exploring Operation: 21/1=21, Resulting Numbers: [11, 21]
Generated Node #0,3,1: 11:[11, 21] Operation: 21/1=21
Exploring Operation: 11/1=11, Resulting Numbers: [21, 11]
Generated Node #0,3,2: 11:[21, 11] Operation: 11/1=11
Exploring Operation: 1*11=11, Resulting Numbers: [21, 11]
Generated Node #0,3,3: 11:[21, 11] Operation: 1*11=11
Exploring Operation: 21*1=21, Resulting Numbers: [11, 21]
Generated Node #0,3,4: 11:[11, 21] Operation: 21*1=21
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 11:[11, 20], Operations: ['23-12=11', '21-1=20']
Exploring Operation: 11+20=31, Resulting Numbers: [31]
31,11 unequal: No Solution
Exploring Operation: 11*20=220, Resulting Numbers: [220]
220,11 unequal: No Solution
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 11:[11, 21], Operations: ['23-12=11', '21/1=21']
Exploring Operation: 11*21=231, Resulting Numbers: [231]
231,11 unequal: No Solution
Exploring Operation: 11+21=32, Resulting Numbers: [32]
32,11 unequal: No Solution
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 11:[21, 11], Operations: ['23-12=11', '11/1=11']
Exploring Operation: 21*11=231, Resulting Numbers: [231]
231,11 unequal: No Solution
Exploring Operation: 21+11=32, Resulting Numbers: [32]
32,11 unequal: No Solution
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 11:[21, 11], Operations: ['23-12=11', '1*11=11']
Exploring Operation: 21*11=231, Resulting Numbers: [231]
231,11 unequal: No Solution
Exploring Operation: 21+11=32, Resulting Numbers: [32]
32,11 unequal: No Solution
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 11:[11, 21], Operations: ['23-12=11', '21*1=21']
Exploring Operation: 11+21=32, Resulting Numbers: [32]
32,11 unequal: No Solution
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,11 unequal: No Solution
Exploring Operation: 11*21=231, Resulting Numbers: [231]
231,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 11:[12, 1, 2], Operations: ['23-21=2']
Exploring Operation: 12*1=12, Resulting Numbers: [2, 12]
Generated Node #0,4,0: 11:[2, 12] Operation: 12*1=12
Exploring Operation: 1+2=3, Resulting Numbers: [12, 3]
Generated Node #0,4,1: 11:[12, 3] Operation: 1+2=3
Exploring Operation: 12-1=11, Resulting Numbers: [2, 11]
Generated Node #0,4,2: 11:[2, 11] Operation: 12-1=11
Exploring Operation: 12/1=12, Resulting Numbers: [2, 12]
Generated Node #0,4,3: 11:[2, 12] Operation: 12/1=12
Exploring Operation: 1*2=2, Resulting Numbers: [12, 2]
Generated Node #0,4,4: 11:[12, 2] Operation: 1*2=2
Moving to Node #0,0
Current State: 11:[12, 23, 20], Operations: ['21-1=20']
Exploring Operation: 23-20=3, Resulting Numbers: [12, 3]
Generated Node #0,0,0: 11:[12, 3] Operation: 23-20=3
Exploring Operation: 20-12=8, Resulting Numbers: [23, 8]
Generated Node #0,0,1: 11:[23, 8] Operation: 20-12=8
Exploring Operation: 23-12=11, Resulting Numbers: [20, 11]
Generated Node #0,0,2: 11:[20, 11] Operation: 23-12=11
Exploring Operation: 12+23=35, Resulting Numbers: [20, 35]
Generated Node #0,0,3: 11:[20, 35] Operation: 12+23=35
Exploring Operation: 12+20=32, Resulting Numbers: [23, 32]
Generated Node #0,0,4: 11:[23, 32] Operation: 12+20=32
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[12, 3], Operations: ['21-1=20', '23-20=3']
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,11 unequal: No Solution
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,11 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,11 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 11:[20, 11], Operations: ['21-1=20', '23-12=11']
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,11 unequal: No Solution
Exploring Operation: 20+11=31, Resulting Numbers: [31]
31,11 unequal: No Solution
Exploring Operation: 20*11=220, Resulting Numbers: [220]
220,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 11:[23, 8], Operations: ['21-1=20', '20-12=8']
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,11 unequal: No Solution
Exploring Operation: 23+8=31, Resulting Numbers: [31]
31,11 unequal: No Solution
Exploring Operation: 23*8=184, Resulting Numbers: [184]
184,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 11:[20, 35], Operations: ['21-1=20', '12+23=35']
Exploring Operation: 35-20=15, Resulting Numbers: [15]
15,11 unequal: No Solution
Exploring Operation: 20*35=700, Resulting Numbers: [700]
700,11 unequal: No Solution
Exploring Operation: 20+35=55, Resulting Numbers: [55]
55,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 11:[23, 32], Operations: ['21-1=20', '12+20=32']
Exploring Operation: 23+32=55, Resulting Numbers: [55]
55,11 unequal: No Solution
Exploring Operation: 23*32=736, Resulting Numbers: [736]
736,11 unequal: No Solution
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,11 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: 11:[21, 12, 22], Operations: ['23-1=22']
Exploring Operation: 21+22=43, Resulting Numbers: [12, 43]
Generated Node #0,1,0: 11:[12, 43] Operation: 21+22=43
Exploring Operation: 22-12=10, Resulting Numbers: [21, 10]
Generated Node #0,1,1: 11:[21, 10] Operation: 22-12=10
Exploring Operation: 21-12=9, Resulting Numbers: [22, 9]
Generated Node #0,1,2: 11:[22, 9] Operation: 21-12=9
Exploring Operation: 21+12=33, Resulting Numbers: [22, 33]
Generated Node #0,1,3: 11:[22, 33] Operation: 21+12=33
Exploring Operation: 22-21=1, Resulting Numbers: [12, 1]
Generated Node #0,1,4: 11:[12, 1] Operation: 22-21=1
Moving to Node #0,2
Current State: 11:[21, 23, 11], Operations: ['12-1=11']
Exploring Operation: 21+23=44, Resulting Numbers: [11, 44]
Generated Node #0,2,0: 11:[11, 44] Operation: 21+23=44
Exploring Operation: 23-21=2, Resulting Numbers: [11, 2]
Generated Node #0,2,1: 11:[11, 2] Operation: 23-21=2
Exploring Operation: 23-11=12, Resulting Numbers: [21, 12]
Generated Node #0,2,2: 11:[21, 12] Operation: 23-11=12
Exploring Operation: 21+11=32, Resulting Numbers: [23, 32]
Generated Node #0,2,3: 11:[23, 32] Operation: 21+11=32
Exploring Operation: 21-11=10, Resulting Numbers: [23, 10]
Generated Node #0,2,4: 11:[23, 10] Operation: 21-11=10
Moving to Node #0,4,1
Current State: 11:[12, 3], Operations: ['23-21=2', '1+2=3']
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,11 unequal: No Solution
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,11 unequal: No Solution
Exploring Operation: 12+3=15, Resulting Numbers: [15]
15,11 unequal: No Solution
Exploring Operation: 12*3=36, Resulting Numbers: [36]
36,11 unequal: No Solution
Moving to Node #0,4,2
Current State: 11:[2, 11], Operations: ['23-21=2', '12-1=11']
Exploring Operation: 2+11=13, Resulting Numbers: [13]
13,11 unequal: No Solution
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,11 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,11 unequal: No Solution
Moving to Node #0,2,1
Current State: 11:[11, 2], Operations: ['12-1=11', '23-21=2']
Exploring Operation: 11+2=13, Resulting Numbers: [13]
13,11 unequal: No Solution
Exploring Operation: 11-2=9, Resulting Numbers: [9]
9,11 unequal: No Solution
Exploring Operation: 11*2=22, Resulting Numbers: [22]
22,11 unequal: No Solution
Moving to Node #0,4,0
Current State: 11:[2, 12], Operations: ['23-21=2', '12*1=12']
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,11 unequal: No Solution
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,11 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,11 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,11 unequal: No Solution
Moving to Node #0,4,4
Current State: 11:[12, 2], Operations: ['23-21=2', '1*2=2']
Exploring Operation: 12+2=14, Resulting Numbers: [14]
14,11 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,11 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,11 unequal: No Solution
Exploring Operation: 12*2=24, Resulting Numbers: [24]
24,11 unequal: No Solution
Moving to Node #0,4,3
Current State: 11:[2, 12], Operations: ['23-21=2', '12/1=12']
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,11 unequal: No Solution
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,11 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,11 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,11 unequal: No Solution
Moving to Node #0,1,4
Current State: 11:[12, 1], Operations: ['23-1=22', '22-21=1']
Exploring Operation: 12+1=13, Resulting Numbers: [13]
13,11 unequal: No Solution
Exploring Operation: 12/1=12, Resulting Numbers: [12]
12,11 unequal: No Solution
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[21, 12, 1, 23], Operations: []
Exploring Operation: 23-1=22, Resulting Numbers: [21, 12, 22]
Generated Node #0,1: 11:[21, 12, 22] Operation: 23-1=22
Moving to Node #0,1
Current State: 11:[21, 12, 22], Operations: ['23-1=22']
Exploring Operation: 22-21=1, Resulting Numbers: [12, 1]
Generated Node #0,1,4: 11:[12, 1] Operation: 22-21=1
Moving to Node #0,1,4
Current State: 11:[12, 1], Operations: ['23-1=22', '22-21=1']
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 0.921875 | hs_5 | sum_heuristic |
[
95,
67,
65,
82
] | 15 | [
"95+67=162",
"65+82=147",
"162-147=15"
] | Current State: 15:[95, 67, 65, 82], Operations: []
Exploring Operation: 95+67=162, Resulting Numbers: [65, 82, 162]
Generated Node #2: [65, 82, 162] from Operation: 95+67=162
Current State: 15:[65, 82, 162], Operations: ['95+67=162']
Exploring Operation: 65+82=147, Resulting Numbers: [162, 147]
Generated Node #3: [162, 147] from Operation: 65+82=147
Current State: 15:[162, 147], Operations: ['95+67=162', '65+82=147']
Exploring Operation: 162-147=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[95, 67, 65, 82], Operations: []
Exploring Operation: 95-82=13, Resulting Numbers: [67, 65, 13]
Generated Node #0,0: 15:[67, 65, 13] Operation: 95-82=13
Exploring Operation: 95-67=28, Resulting Numbers: [65, 82, 28]
Generated Node #0,1: 15:[65, 82, 28] Operation: 95-67=28
Exploring Operation: 82-65=17, Resulting Numbers: [95, 67, 17]
Generated Node #0,2: 15:[95, 67, 17] Operation: 82-65=17
Exploring Operation: 95-65=30, Resulting Numbers: [67, 82, 30]
Generated Node #0,3: 15:[67, 82, 30] Operation: 95-65=30
Exploring Operation: 82-67=15, Resulting Numbers: [95, 65, 15]
Generated Node #0,4: 15:[95, 65, 15] Operation: 82-67=15
Moving to Node #0,0
Current State: 15:[67, 65, 13], Operations: ['95-82=13']
Exploring Operation: 65/13=5, Resulting Numbers: [67, 5]
Generated Node #0,0,0: 15:[67, 5] Operation: 65/13=5
Exploring Operation: 67+13=80, Resulting Numbers: [65, 80]
Generated Node #0,0,1: 15:[65, 80] Operation: 67+13=80
Exploring Operation: 67-13=54, Resulting Numbers: [65, 54]
Generated Node #0,0,2: 15:[65, 54] Operation: 67-13=54
Exploring Operation: 67-65=2, Resulting Numbers: [13, 2]
Generated Node #0,0,3: 15:[13, 2] Operation: 67-65=2
Exploring Operation: 65-13=52, Resulting Numbers: [67, 52]
Generated Node #0,0,4: 15:[67, 52] Operation: 65-13=52
Moving to Node #0,4
Current State: 15:[95, 65, 15], Operations: ['82-67=15']
Exploring Operation: 95+15=110, Resulting Numbers: [65, 110]
Generated Node #0,4,0: 15:[65, 110] Operation: 95+15=110
Exploring Operation: 65-15=50, Resulting Numbers: [95, 50]
Generated Node #0,4,1: 15:[95, 50] Operation: 65-15=50
Exploring Operation: 95-15=80, Resulting Numbers: [65, 80]
Generated Node #0,4,2: 15:[65, 80] Operation: 95-15=80
Exploring Operation: 95+65=160, Resulting Numbers: [15, 160]
Generated Node #0,4,3: 15:[15, 160] Operation: 95+65=160
Exploring Operation: 95-65=30, Resulting Numbers: [15, 30]
Generated Node #0,4,4: 15:[15, 30] Operation: 95-65=30
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 15:[15, 30], Operations: ['82-67=15', '95-65=30']
Exploring Operation: 30/15=2, Resulting Numbers: [2]
2,15 unequal: No Solution
Exploring Operation: 30-15=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[95, 67, 65, 82], Operations: []
Exploring Operation: 82-67=15, Resulting Numbers: [95, 65, 15]
Generated Node #0,4: 15:[95, 65, 15] Operation: 82-67=15
Moving to Node #0,4
Current State: 15:[95, 65, 15], Operations: ['82-67=15']
Exploring Operation: 95-65=30, Resulting Numbers: [15, 30]
Generated Node #0,4,4: 15:[15, 30] Operation: 95-65=30
Moving to Node #0,4,4
Current State: 15:[15, 30], Operations: ['82-67=15', '95-65=30']
Exploring Operation: 30-15=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
3,
49,
71,
16
] | 56 | [
"49+71=120",
"120/3=40",
"16+40=56"
] | Current State: 56:[3, 49, 71, 16], Operations: []
Exploring Operation: 49+71=120, Resulting Numbers: [3, 16, 120]
Generated Node #2: [3, 16, 120] from Operation: 49+71=120
Current State: 56:[3, 16, 120], Operations: ['49+71=120']
Exploring Operation: 120/3=40, Resulting Numbers: [16, 40]
Generated Node #3: [16, 40] from Operation: 120/3=40
Current State: 56:[16, 40], Operations: ['49+71=120', '120/3=40']
Exploring Operation: 16+40=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[3, 49, 71, 16], Operations: []
Exploring Operation: 3+49=52, Resulting Numbers: [71, 16, 52]
Generated Node #0,0: 56:[71, 16, 52] Operation: 3+49=52
Exploring Operation: 49-16=33, Resulting Numbers: [3, 71, 33]
Generated Node #0,1: 56:[3, 71, 33] Operation: 49-16=33
Exploring Operation: 71-16=55, Resulting Numbers: [3, 49, 55]
Generated Node #0,2: 56:[3, 49, 55] Operation: 71-16=55
Exploring Operation: 71-3=68, Resulting Numbers: [49, 16, 68]
Generated Node #0,3: 56:[49, 16, 68] Operation: 71-3=68
Exploring Operation: 71-49=22, Resulting Numbers: [3, 16, 22]
Generated Node #0,4: 56:[3, 16, 22] Operation: 71-49=22
Moving to Node #0,2
Current State: 56:[3, 49, 55], Operations: ['71-16=55']
Exploring Operation: 55-3=52, Resulting Numbers: [49, 52]
Generated Node #0,2,0: 56:[49, 52] Operation: 55-3=52
Exploring Operation: 49-3=46, Resulting Numbers: [55, 46]
Generated Node #0,2,1: 56:[55, 46] Operation: 49-3=46
Exploring Operation: 3+55=58, Resulting Numbers: [49, 58]
Generated Node #0,2,2: 56:[49, 58] Operation: 3+55=58
Exploring Operation: 55-49=6, Resulting Numbers: [3, 6]
Generated Node #0,2,3: 56:[3, 6] Operation: 55-49=6
Exploring Operation: 3+49=52, Resulting Numbers: [55, 52]
Generated Node #0,2,4: 56:[55, 52] Operation: 3+49=52
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 56:[3, 6], Operations: ['71-16=55', '55-49=6']
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,56 unequal: No Solution
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,56 unequal: No Solution
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,56 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,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,2,4
Current State: 56:[55, 52], Operations: ['71-16=55', '3+49=52']
Exploring Operation: 55*52=2860, Resulting Numbers: [2860]
2860,56 unequal: No Solution
Exploring Operation: 55-52=3, Resulting Numbers: [3]
3,56 unequal: No Solution
Exploring Operation: 55+52=107, Resulting Numbers: [107]
107,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,2,2
Current State: 56:[49, 58], Operations: ['71-16=55', '3+55=58']
Exploring Operation: 49+58=107, Resulting Numbers: [107]
107,56 unequal: No Solution
Exploring Operation: 58-49=9, Resulting Numbers: [9]
9,56 unequal: No Solution
Exploring Operation: 49*58=2842, Resulting Numbers: [2842]
2842,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,2,0
Current State: 56:[49, 52], Operations: ['71-16=55', '55-3=52']
Exploring Operation: 49*52=2548, Resulting Numbers: [2548]
2548,56 unequal: No Solution
Exploring Operation: 49+52=101, Resulting Numbers: [101]
101,56 unequal: No Solution
Exploring Operation: 52-49=3, Resulting Numbers: [3]
3,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,2,1
Current State: 56:[55, 46], Operations: ['71-16=55', '49-3=46']
Exploring Operation: 55+46=101, Resulting Numbers: [101]
101,56 unequal: No Solution
Exploring Operation: 55*46=2530, Resulting Numbers: [2530]
2530,56 unequal: No Solution
Exploring Operation: 55-46=9, Resulting Numbers: [9]
9,56 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: 56:[3, 16, 22], Operations: ['71-49=22']
Exploring Operation: 16-3=13, Resulting Numbers: [22, 13]
Generated Node #0,4,0: 56:[22, 13] Operation: 16-3=13
Exploring Operation: 3+22=25, Resulting Numbers: [16, 25]
Generated Node #0,4,1: 56:[16, 25] Operation: 3+22=25
Exploring Operation: 22-3=19, Resulting Numbers: [16, 19]
Generated Node #0,4,2: 56:[16, 19] Operation: 22-3=19
Exploring Operation: 22-16=6, Resulting Numbers: [3, 6]
Generated Node #0,4,3: 56:[3, 6] Operation: 22-16=6
Exploring Operation: 3+16=19, Resulting Numbers: [22, 19]
Generated Node #0,4,4: 56:[22, 19] Operation: 3+16=19
Moving to Node #0,0
Current State: 56:[71, 16, 52], Operations: ['3+49=52']
Exploring Operation: 16+52=68, Resulting Numbers: [71, 68]
Generated Node #0,0,0: 56:[71, 68] Operation: 16+52=68
Exploring Operation: 71-16=55, Resulting Numbers: [52, 55]
Generated Node #0,0,1: 56:[52, 55] Operation: 71-16=55
Exploring Operation: 71-52=19, Resulting Numbers: [16, 19]
Generated Node #0,0,2: 56:[16, 19] Operation: 71-52=19
Exploring Operation: 71+16=87, Resulting Numbers: [52, 87]
Generated Node #0,0,3: 56:[52, 87] Operation: 71+16=87
Exploring Operation: 52-16=36, Resulting Numbers: [71, 36]
Generated Node #0,0,4: 56:[71, 36] Operation: 52-16=36
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 56:[52, 55], Operations: ['3+49=52', '71-16=55']
Exploring Operation: 55-52=3, Resulting Numbers: [3]
3,56 unequal: No Solution
Exploring Operation: 52*55=2860, Resulting Numbers: [2860]
2860,56 unequal: No Solution
Exploring Operation: 52+55=107, Resulting Numbers: [107]
107,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 56:[16, 19], Operations: ['3+49=52', '71-52=19']
Exploring Operation: 16*19=304, Resulting Numbers: [304]
304,56 unequal: No Solution
Exploring Operation: 19-16=3, Resulting Numbers: [3]
3,56 unequal: No Solution
Exploring Operation: 16+19=35, Resulting Numbers: [35]
35,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 56:[71, 36], Operations: ['3+49=52', '52-16=36']
Exploring Operation: 71+36=107, Resulting Numbers: [107]
107,56 unequal: No Solution
Exploring Operation: 71*36=2556, Resulting Numbers: [2556]
2556,56 unequal: No Solution
Exploring Operation: 71-36=35, Resulting Numbers: [35]
35,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 56:[71, 68], Operations: ['3+49=52', '16+52=68']
Exploring Operation: 71*68=4828, Resulting Numbers: [4828]
4828,56 unequal: No Solution
Exploring Operation: 71+68=139, Resulting Numbers: [139]
139,56 unequal: No Solution
Exploring Operation: 71-68=3, Resulting Numbers: [3]
3,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 56:[52, 87], Operations: ['3+49=52', '71+16=87']
Exploring Operation: 52+87=139, Resulting Numbers: [139]
139,56 unequal: No Solution
Exploring Operation: 87-52=35, Resulting Numbers: [35]
35,56 unequal: No Solution
Exploring Operation: 52*87=4524, Resulting Numbers: [4524]
4524,56 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: 56:[3, 71, 33], Operations: ['49-16=33']
Exploring Operation: 3+71=74, Resulting Numbers: [33, 74]
Generated Node #0,1,0: 56:[33, 74] Operation: 3+71=74
Exploring Operation: 33/3=11, Resulting Numbers: [71, 11]
Generated Node #0,1,1: 56:[71, 11] Operation: 33/3=11
Exploring Operation: 33-3=30, Resulting Numbers: [71, 30]
Generated Node #0,1,2: 56:[71, 30] Operation: 33-3=30
Exploring Operation: 71-33=38, Resulting Numbers: [3, 38]
Generated Node #0,1,3: 56:[3, 38] Operation: 71-33=38
Exploring Operation: 71-3=68, Resulting Numbers: [33, 68]
Generated Node #0,1,4: 56:[33, 68] Operation: 71-3=68
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 56:[3, 38], Operations: ['49-16=33', '71-33=38']
Exploring Operation: 3*38=114, Resulting Numbers: [114]
114,56 unequal: No Solution
Exploring Operation: 3+38=41, Resulting Numbers: [41]
41,56 unequal: No Solution
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,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:[71, 30], Operations: ['49-16=33', '33-3=30']
Exploring Operation: 71*30=2130, Resulting Numbers: [2130]
2130,56 unequal: No Solution
Exploring Operation: 71+30=101, Resulting Numbers: [101]
101,56 unequal: No Solution
Exploring Operation: 71-30=41, Resulting Numbers: [41]
41,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,4
Current State: 56:[33, 68], Operations: ['49-16=33', '71-3=68']
Exploring Operation: 33*68=2244, Resulting Numbers: [2244]
2244,56 unequal: No Solution
Exploring Operation: 68-33=35, Resulting Numbers: [35]
35,56 unequal: No Solution
Exploring Operation: 33+68=101, Resulting Numbers: [101]
101,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,1
Current State: 56:[71, 11], Operations: ['49-16=33', '33/3=11']
Exploring Operation: 71*11=781, Resulting Numbers: [781]
781,56 unequal: No Solution
Exploring Operation: 71+11=82, Resulting Numbers: [82]
82,56 unequal: No Solution
Exploring Operation: 71-11=60, Resulting Numbers: [60]
60,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:[33, 74], Operations: ['49-16=33', '3+71=74']
Exploring Operation: 33*74=2442, Resulting Numbers: [2442]
2442,56 unequal: No Solution
Exploring Operation: 74-33=41, Resulting Numbers: [41]
41,56 unequal: No Solution
Exploring Operation: 33+74=107, Resulting Numbers: [107]
107,56 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: 56:[49, 16, 68], Operations: ['71-3=68']
Exploring Operation: 16+68=84, Resulting Numbers: [49, 84]
Generated Node #0,3,0: 56:[49, 84] Operation: 16+68=84
Exploring Operation: 68-16=52, Resulting Numbers: [49, 52]
Generated Node #0,3,1: 56:[49, 52] Operation: 68-16=52
Exploring Operation: 49-16=33, Resulting Numbers: [68, 33]
Generated Node #0,3,2: 56:[68, 33] Operation: 49-16=33
Exploring Operation: 68-49=19, Resulting Numbers: [16, 19]
Generated Node #0,3,3: 56:[16, 19] Operation: 68-49=19
Exploring Operation: 49+16=65, Resulting Numbers: [68, 65]
Generated Node #0,3,4: 56:[68, 65] Operation: 49+16=65
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 56:[16, 19], Operations: ['71-3=68', '68-49=19']
Exploring Operation: 16+19=35, Resulting Numbers: [35]
35,56 unequal: No Solution
Exploring Operation: 16*19=304, Resulting Numbers: [304]
304,56 unequal: No Solution
Exploring Operation: 19-16=3, Resulting Numbers: [3]
3,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,3,1
Current State: 56:[49, 52], Operations: ['71-3=68', '68-16=52']
Exploring Operation: 49*52=2548, Resulting Numbers: [2548]
2548,56 unequal: No Solution
Exploring Operation: 49+52=101, Resulting Numbers: [101]
101,56 unequal: No Solution
Exploring Operation: 52-49=3, Resulting Numbers: [3]
3,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,3,2
Current State: 56:[68, 33], Operations: ['71-3=68', '49-16=33']
Exploring Operation: 68+33=101, Resulting Numbers: [101]
101,56 unequal: No Solution
Exploring Operation: 68-33=35, Resulting Numbers: [35]
35,56 unequal: No Solution
Exploring Operation: 68*33=2244, Resulting Numbers: [2244]
2244,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,3,4
Current State: 56:[68, 65], Operations: ['71-3=68', '49+16=65']
Exploring Operation: 68-65=3, Resulting Numbers: [3]
3,56 unequal: No Solution
Exploring Operation: 68+65=133, Resulting Numbers: [133]
133,56 unequal: No Solution
Exploring Operation: 68*65=4420, Resulting Numbers: [4420]
4420,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,3,0
Current State: 56:[49, 84], Operations: ['71-3=68', '16+68=84']
Exploring Operation: 84-49=35, Resulting Numbers: [35]
35,56 unequal: No Solution
Exploring Operation: 49*84=4116, Resulting Numbers: [4116]
4116,56 unequal: No Solution
Exploring Operation: 49+84=133, Resulting Numbers: [133]
133,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,3
Current State: 56:[3, 6], Operations: ['71-49=22', '22-16=6']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,56 unequal: No Solution
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,56 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,56 unequal: No Solution
Moving to Node #0,4,1
Current State: 56:[16, 25], Operations: ['71-49=22', '3+22=25']
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,56 unequal: No Solution
Exploring Operation: 16*25=400, Resulting Numbers: [400]
400,56 unequal: No Solution
Exploring Operation: 16+25=41, Resulting Numbers: [41]
41,56 unequal: No Solution
Moving to Node #0,4,0
Current State: 56:[22, 13], Operations: ['71-49=22', '16-3=13']
Exploring Operation: 22-13=9, Resulting Numbers: [9]
9,56 unequal: No Solution
Exploring Operation: 22+13=35, Resulting Numbers: [35]
35,56 unequal: No Solution
Exploring Operation: 22*13=286, Resulting Numbers: [286]
286,56 unequal: No Solution
Moving to Node #0,4,2
Current State: 56:[16, 19], Operations: ['71-49=22', '22-3=19']
Exploring Operation: 16*19=304, Resulting Numbers: [304]
304,56 unequal: No Solution
Exploring Operation: 19-16=3, Resulting Numbers: [3]
3,56 unequal: No Solution
Exploring Operation: 16+19=35, Resulting Numbers: [35]
35,56 unequal: No Solution
Moving to Node #0,4,4
Current State: 56:[22, 19], Operations: ['71-49=22', '3+16=19']
Exploring Operation: 22+19=41, Resulting Numbers: [41]
41,56 unequal: No Solution
Exploring Operation: 22-19=3, Resulting Numbers: [3]
3,56 unequal: No Solution
Exploring Operation: 22*19=418, Resulting Numbers: [418]
418,56 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
82,
18,
73,
45
] | 23 | [
"82-73=9",
"45/9=5",
"18+5=23"
] | Current State: 23:[82, 18, 73, 45], Operations: []
Exploring Operation: 82-73=9, Resulting Numbers: [18, 45, 9]
Generated Node #2: [18, 45, 9] from Operation: 82-73=9
Current State: 23:[18, 45, 9], Operations: ['82-73=9']
Exploring Operation: 45/9=5, Resulting Numbers: [18, 5]
Generated Node #3: [18, 5] from Operation: 45/9=5
Current State: 23:[18, 5], Operations: ['82-73=9', '45/9=5']
Exploring Operation: 18+5=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[82, 18, 73, 45], Operations: []
Exploring Operation: 82-45=37, Resulting Numbers: [18, 73, 37]
Generated Node #0,0: 23:[18, 73, 37] Operation: 82-45=37
Exploring Operation: 82-73=9, Resulting Numbers: [18, 45, 9]
Generated Node #0,1: 23:[18, 45, 9] Operation: 82-73=9
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[18, 45, 9], Operations: ['82-73=9']
Exploring Operation: 45-18=27, Resulting Numbers: [9, 27]
Generated Node #0,1,0: 23:[9, 27] Operation: 45-18=27
Exploring Operation: 45-9=36, Resulting Numbers: [18, 36]
Generated Node #0,1,1: 23:[18, 36] Operation: 45-9=36
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 23:[9, 27], Operations: ['82-73=9', '45-18=27']
Exploring Operation: 27-9=18, Resulting Numbers: [18]
18,23 unequal: No Solution
Exploring Operation: 9+27=36, Resulting Numbers: [36]
36,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 23:[18, 36], Operations: ['82-73=9', '45-9=36']
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,23 unequal: No Solution
Exploring Operation: 36/18=2, Resulting Numbers: [2]
2,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[18, 73, 37], Operations: ['82-45=37']
Exploring Operation: 73-18=55, Resulting Numbers: [37, 55]
Generated Node #0,0,0: 23:[37, 55] Operation: 73-18=55
Exploring Operation: 73-37=36, Resulting Numbers: [18, 36]
Generated Node #0,0,1: 23:[18, 36] Operation: 73-37=36
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 23:[18, 36], Operations: ['82-45=37', '73-37=36']
Exploring Operation: 36/18=2, Resulting Numbers: [2]
2,23 unequal: No Solution
Exploring Operation: 36-18=18, Resulting Numbers: [18]
18,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 23:[37, 55], Operations: ['82-45=37', '73-18=55']
Exploring Operation: 37+55=92, Resulting Numbers: [92]
92,23 unequal: No Solution
Exploring Operation: 55-37=18, Resulting Numbers: [18]
18,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
19,
65,
75,
72
] | 58 | [
"72-65=7",
"19*7=133",
"133-75=58"
] | Current State: 58:[19, 65, 75, 72], Operations: []
Exploring Operation: 72-65=7, Resulting Numbers: [19, 75, 7]
Generated Node #2: [19, 75, 7] from Operation: 72-65=7
Current State: 58:[19, 75, 7], Operations: ['72-65=7']
Exploring Operation: 19*7=133, Resulting Numbers: [75, 133]
Generated Node #3: [75, 133] from Operation: 19*7=133
Current State: 58:[75, 133], Operations: ['72-65=7', '19*7=133']
Exploring Operation: 133-75=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[19, 65, 75, 72], Operations: []
Exploring Operation: 75-72=3, Resulting Numbers: [19, 65, 3]
Generated Node #0,0: 58:[19, 65, 3] Operation: 75-72=3
Exploring Operation: 72-65=7, Resulting Numbers: [19, 75, 7]
Generated Node #0,1: 58:[19, 75, 7] Operation: 72-65=7
Exploring Operation: 75-65=10, Resulting Numbers: [19, 72, 10]
Generated Node #0,2: 58:[19, 72, 10] Operation: 75-65=10
Exploring Operation: 75-19=56, Resulting Numbers: [65, 72, 56]
Generated Node #0,3: 58:[65, 72, 56] Operation: 75-19=56
Exploring Operation: 72-19=53, Resulting Numbers: [65, 75, 53]
Generated Node #0,4: 58:[65, 75, 53] Operation: 72-19=53
Moving to Node #0,0
Current State: 58:[19, 65, 3], Operations: ['75-72=3']
Exploring Operation: 65-19=46, Resulting Numbers: [3, 46]
Generated Node #0,0,0: 58:[3, 46] Operation: 65-19=46
Exploring Operation: 19*3=57, Resulting Numbers: [65, 57]
Generated Node #0,0,1: 58:[65, 57] Operation: 19*3=57
Exploring Operation: 65-3=62, Resulting Numbers: [19, 62]
Generated Node #0,0,2: 58:[19, 62] Operation: 65-3=62
Exploring Operation: 19+3=22, Resulting Numbers: [65, 22]
Generated Node #0,0,3: 58:[65, 22] Operation: 19+3=22
Exploring Operation: 19-3=16, Resulting Numbers: [65, 16]
Generated Node #0,0,4: 58:[65, 16] Operation: 19-3=16
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 58:[65, 57], Operations: ['75-72=3', '19*3=57']
Exploring Operation: 65-57=8, Resulting Numbers: [8]
8,58 unequal: No Solution
Exploring Operation: 65*57=3705, Resulting Numbers: [3705]
3705,58 unequal: No Solution
Exploring Operation: 65+57=122, Resulting Numbers: [122]
122,58 unequal: No Solution
No 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: 58:[3, 46], Operations: ['75-72=3', '65-19=46']
Exploring Operation: 3+46=49, Resulting Numbers: [49]
49,58 unequal: No Solution
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,58 unequal: No Solution
Exploring Operation: 3*46=138, Resulting Numbers: [138]
138,58 unequal: No Solution
No 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: 58:[19, 62], Operations: ['75-72=3', '65-3=62']
Exploring Operation: 62-19=43, Resulting Numbers: [43]
43,58 unequal: No Solution
Exploring Operation: 19*62=1178, Resulting Numbers: [1178]
1178,58 unequal: No Solution
Exploring Operation: 19+62=81, Resulting Numbers: [81]
81,58 unequal: No Solution
No 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: 58:[65, 22], Operations: ['75-72=3', '19+3=22']
Exploring Operation: 65+22=87, Resulting Numbers: [87]
87,58 unequal: No Solution
Exploring Operation: 65-22=43, Resulting Numbers: [43]
43,58 unequal: No Solution
Exploring Operation: 65*22=1430, Resulting Numbers: [1430]
1430,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 58:[65, 16], Operations: ['75-72=3', '19-3=16']
Exploring Operation: 65+16=81, Resulting Numbers: [81]
81,58 unequal: No Solution
Exploring Operation: 65*16=1040, Resulting Numbers: [1040]
1040,58 unequal: No Solution
Exploring Operation: 65-16=49, Resulting Numbers: [49]
49,58 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: 58:[65, 72, 56], Operations: ['75-19=56']
Exploring Operation: 72-65=7, Resulting Numbers: [56, 7]
Generated Node #0,3,0: 58:[56, 7] Operation: 72-65=7
Exploring Operation: 65-56=9, Resulting Numbers: [72, 9]
Generated Node #0,3,1: 58:[72, 9] Operation: 65-56=9
Exploring Operation: 72+56=128, Resulting Numbers: [65, 128]
Generated Node #0,3,2: 58:[65, 128] Operation: 72+56=128
Exploring Operation: 72-56=16, Resulting Numbers: [65, 16]
Generated Node #0,3,3: 58:[65, 16] Operation: 72-56=16
Exploring Operation: 65+56=121, Resulting Numbers: [72, 121]
Generated Node #0,3,4: 58:[72, 121] Operation: 65+56=121
Moving to Node #0,4
Current State: 58:[65, 75, 53], Operations: ['72-19=53']
Exploring Operation: 75-65=10, Resulting Numbers: [53, 10]
Generated Node #0,4,0: 58:[53, 10] Operation: 75-65=10
Exploring Operation: 75+53=128, Resulting Numbers: [65, 128]
Generated Node #0,4,1: 58:[65, 128] Operation: 75+53=128
Exploring Operation: 65-53=12, Resulting Numbers: [75, 12]
Generated Node #0,4,2: 58:[75, 12] Operation: 65-53=12
Exploring Operation: 75-53=22, Resulting Numbers: [65, 22]
Generated Node #0,4,3: 58:[65, 22] Operation: 75-53=22
Exploring Operation: 65+53=118, Resulting Numbers: [75, 118]
Generated Node #0,4,4: 58:[75, 118] Operation: 65+53=118
Moving to Node #0,1
Current State: 58:[19, 75, 7], Operations: ['72-65=7']
Exploring Operation: 19-7=12, Resulting Numbers: [75, 12]
Generated Node #0,1,0: 58:[75, 12] Operation: 19-7=12
Exploring Operation: 19+7=26, Resulting Numbers: [75, 26]
Generated Node #0,1,1: 58:[75, 26] Operation: 19+7=26
Exploring Operation: 75-7=68, Resulting Numbers: [19, 68]
Generated Node #0,1,2: 58:[19, 68] Operation: 75-7=68
Exploring Operation: 75+7=82, Resulting Numbers: [19, 82]
Generated Node #0,1,3: 58:[19, 82] Operation: 75+7=82
Exploring Operation: 75-19=56, Resulting Numbers: [7, 56]
Generated Node #0,1,4: 58:[7, 56] Operation: 75-19=56
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 58:[7, 56], Operations: ['72-65=7', '75-19=56']
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,58 unequal: No Solution
Exploring Operation: 56/7=8, Resulting Numbers: [8]
8,58 unequal: No Solution
Exploring Operation: 7+56=63, Resulting Numbers: [63]
63,58 unequal: No Solution
Exploring Operation: 7*56=392, Resulting Numbers: [392]
392,58 unequal: No Solution
No 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: 58:[75, 26], Operations: ['72-65=7', '19+7=26']
Exploring Operation: 75+26=101, Resulting Numbers: [101]
101,58 unequal: No Solution
Exploring Operation: 75*26=1950, Resulting Numbers: [1950]
1950,58 unequal: No Solution
Exploring Operation: 75-26=49, Resulting Numbers: [49]
49,58 unequal: No Solution
No 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: 58:[19, 68], Operations: ['72-65=7', '75-7=68']
Exploring Operation: 19*68=1292, Resulting Numbers: [1292]
1292,58 unequal: No Solution
Exploring Operation: 19+68=87, Resulting Numbers: [87]
87,58 unequal: No Solution
Exploring Operation: 68-19=49, Resulting Numbers: [49]
49,58 unequal: No Solution
No 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: 58:[75, 12], Operations: ['72-65=7', '19-7=12']
Exploring Operation: 75+12=87, Resulting Numbers: [87]
87,58 unequal: No Solution
Exploring Operation: 75-12=63, Resulting Numbers: [63]
63,58 unequal: No Solution
Exploring Operation: 75*12=900, Resulting Numbers: [900]
900,58 unequal: No Solution
No 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: 58:[19, 82], Operations: ['72-65=7', '75+7=82']
Exploring Operation: 19*82=1558, Resulting Numbers: [1558]
1558,58 unequal: No Solution
Exploring Operation: 82-19=63, Resulting Numbers: [63]
63,58 unequal: No Solution
Exploring Operation: 19+82=101, Resulting Numbers: [101]
101,58 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: 58:[19, 72, 10], Operations: ['75-65=10']
Exploring Operation: 19-10=9, Resulting Numbers: [72, 9]
Generated Node #0,2,0: 58:[72, 9] Operation: 19-10=9
Exploring Operation: 72+10=82, Resulting Numbers: [19, 82]
Generated Node #0,2,1: 58:[19, 82] Operation: 72+10=82
Exploring Operation: 72-10=62, Resulting Numbers: [19, 62]
Generated Node #0,2,2: 58:[19, 62] Operation: 72-10=62
Exploring Operation: 19+10=29, Resulting Numbers: [72, 29]
Generated Node #0,2,3: 58:[72, 29] Operation: 19+10=29
Exploring Operation: 72-19=53, Resulting Numbers: [10, 53]
Generated Node #0,2,4: 58:[10, 53] Operation: 72-19=53
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 58:[10, 53], Operations: ['75-65=10', '72-19=53']
Exploring Operation: 10*53=530, Resulting Numbers: [530]
530,58 unequal: No Solution
Exploring Operation: 53-10=43, Resulting Numbers: [43]
43,58 unequal: No Solution
Exploring Operation: 10+53=63, Resulting Numbers: [63]
63,58 unequal: No Solution
No 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: 58:[19, 62], Operations: ['75-65=10', '72-10=62']
Exploring Operation: 19+62=81, Resulting Numbers: [81]
81,58 unequal: No Solution
Exploring Operation: 62-19=43, Resulting Numbers: [43]
43,58 unequal: No Solution
Exploring Operation: 19*62=1178, Resulting Numbers: [1178]
1178,58 unequal: No Solution
No 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: 58:[72, 29], Operations: ['75-65=10', '19+10=29']
Exploring Operation: 72-29=43, Resulting Numbers: [43]
43,58 unequal: No Solution
Exploring Operation: 72*29=2088, Resulting Numbers: [2088]
2088,58 unequal: No Solution
Exploring Operation: 72+29=101, Resulting Numbers: [101]
101,58 unequal: No Solution
No 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: 58:[72, 9], Operations: ['75-65=10', '19-10=9']
Exploring Operation: 72*9=648, Resulting Numbers: [648]
648,58 unequal: No Solution
Exploring Operation: 72+9=81, Resulting Numbers: [81]
81,58 unequal: No Solution
Exploring Operation: 72/9=8, Resulting Numbers: [8]
8,58 unequal: No Solution
Exploring Operation: 72-9=63, Resulting Numbers: [63]
63,58 unequal: No Solution
No 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: 58:[19, 82], Operations: ['75-65=10', '72+10=82']
Exploring Operation: 82-19=63, Resulting Numbers: [63]
63,58 unequal: No Solution
Exploring Operation: 19*82=1558, Resulting Numbers: [1558]
1558,58 unequal: No Solution
Exploring Operation: 19+82=101, Resulting Numbers: [101]
101,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,0
Current State: 58:[56, 7], Operations: ['75-19=56', '72-65=7']
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,58 unequal: No Solution
Exploring Operation: 56+7=63, Resulting Numbers: [63]
63,58 unequal: No Solution
Exploring Operation: 56*7=392, Resulting Numbers: [392]
392,58 unequal: No Solution
Exploring Operation: 56/7=8, Resulting Numbers: [8]
8,58 unequal: No Solution
Moving to Node #0,4,0
Current State: 58:[53, 10], Operations: ['72-19=53', '75-65=10']
Exploring Operation: 53+10=63, Resulting Numbers: [63]
63,58 unequal: No Solution
Exploring Operation: 53-10=43, Resulting Numbers: [43]
43,58 unequal: No Solution
Exploring Operation: 53*10=530, Resulting Numbers: [530]
530,58 unequal: No Solution
Moving to Node #0,4,3
Current State: 58:[65, 22], Operations: ['72-19=53', '75-53=22']
Exploring Operation: 65*22=1430, Resulting Numbers: [1430]
1430,58 unequal: No Solution
Exploring Operation: 65-22=43, Resulting Numbers: [43]
43,58 unequal: No Solution
Exploring Operation: 65+22=87, Resulting Numbers: [87]
87,58 unequal: No Solution
Moving to Node #0,3,3
Current State: 58:[65, 16], Operations: ['75-19=56', '72-56=16']
Exploring Operation: 65-16=49, Resulting Numbers: [49]
49,58 unequal: No Solution
Exploring Operation: 65*16=1040, Resulting Numbers: [1040]
1040,58 unequal: No Solution
Exploring Operation: 65+16=81, Resulting Numbers: [81]
81,58 unequal: No Solution
Moving to Node #0,3,1
Current State: 58:[72, 9], Operations: ['75-19=56', '65-56=9']
Exploring Operation: 72/9=8, Resulting Numbers: [8]
8,58 unequal: No Solution
Exploring Operation: 72+9=81, Resulting Numbers: [81]
81,58 unequal: No Solution
Exploring Operation: 72*9=648, Resulting Numbers: [648]
648,58 unequal: No Solution
Exploring Operation: 72-9=63, Resulting Numbers: [63]
63,58 unequal: No Solution
Moving to Node #0,4,2
Current State: 58:[75, 12], Operations: ['72-19=53', '65-53=12']
Exploring Operation: 75-12=63, Resulting Numbers: [63]
63,58 unequal: No Solution
Exploring Operation: 75*12=900, Resulting Numbers: [900]
900,58 unequal: No Solution
Exploring Operation: 75+12=87, Resulting Numbers: [87]
87,58 unequal: No Solution
Moving to Node #0,4,1
Current State: 58:[65, 128], Operations: ['72-19=53', '75+53=128']
Exploring Operation: 65*128=8320, Resulting Numbers: [8320]
8320,58 unequal: No Solution
Exploring Operation: 65+128=193, Resulting Numbers: [193]
193,58 unequal: No Solution
Exploring Operation: 128-65=63, Resulting Numbers: [63]
63,58 unequal: No Solution
Moving to Node #0,4,4
Current State: 58:[75, 118], Operations: ['72-19=53', '65+53=118']
Exploring Operation: 75+118=193, Resulting Numbers: [193]
193,58 unequal: No Solution
Exploring Operation: 118-75=43, Resulting Numbers: [43]
43,58 unequal: No Solution
Exploring Operation: 75*118=8850, Resulting Numbers: [8850]
8850,58 unequal: No Solution
Moving to Node #0,3,4
Current State: 58:[72, 121], Operations: ['75-19=56', '65+56=121']
Exploring Operation: 121-72=49, Resulting Numbers: [49]
49,58 unequal: No Solution
Exploring Operation: 72+121=193, Resulting Numbers: [193]
193,58 unequal: No Solution
Exploring Operation: 72*121=8712, Resulting Numbers: [8712]
8712,58 unequal: No Solution
Moving to Node #0,3,2
Current State: 58:[65, 128], Operations: ['75-19=56', '72+56=128']
Exploring Operation: 65*128=8320, Resulting Numbers: [8320]
8320,58 unequal: No Solution
Exploring Operation: 128-65=63, Resulting Numbers: [63]
63,58 unequal: No Solution
Exploring Operation: 65+128=193, Resulting Numbers: [193]
193,58 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
33,
5,
43,
30
] | 80 | [
"43-33=10",
"5*10=50",
"30+50=80"
] | Current State: 80:[33, 5, 43, 30], Operations: []
Exploring Operation: 43-33=10, Resulting Numbers: [5, 30, 10]
Generated Node #2: [5, 30, 10] from Operation: 43-33=10
Current State: 80:[5, 30, 10], Operations: ['43-33=10']
Exploring Operation: 5*10=50, Resulting Numbers: [30, 50]
Generated Node #3: [30, 50] from Operation: 5*10=50
Current State: 80:[30, 50], Operations: ['43-33=10', '5*10=50']
Exploring Operation: 30+50=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[33, 5, 43, 30], Operations: []
Exploring Operation: 33-30=3, Resulting Numbers: [5, 43, 3]
Generated Node #0,0: 80:[5, 43, 3] Operation: 33-30=3
Exploring Operation: 43-30=13, Resulting Numbers: [33, 5, 13]
Generated Node #0,1: 80:[33, 5, 13] Operation: 43-30=13
Exploring Operation: 33+43=76, Resulting Numbers: [5, 30, 76]
Generated Node #0,2: 80:[5, 30, 76] Operation: 33+43=76
Exploring Operation: 43-33=10, Resulting Numbers: [5, 30, 10]
Generated Node #0,3: 80:[5, 30, 10] Operation: 43-33=10
Exploring Operation: 30/5=6, Resulting Numbers: [33, 43, 6]
Generated Node #0,4: 80:[33, 43, 6] Operation: 30/5=6
Moving to Node #0,0
Current State: 80:[5, 43, 3], Operations: ['33-30=3']
Exploring Operation: 43-3=40, Resulting Numbers: [5, 40]
Generated Node #0,0,0: 80:[5, 40] Operation: 43-3=40
Exploring Operation: 43-5=38, Resulting Numbers: [3, 38]
Generated Node #0,0,1: 80:[3, 38] Operation: 43-5=38
Exploring Operation: 5-3=2, Resulting Numbers: [43, 2]
Generated Node #0,0,2: 80:[43, 2] Operation: 5-3=2
Exploring Operation: 5+3=8, Resulting Numbers: [43, 8]
Generated Node #0,0,3: 80:[43, 8] Operation: 5+3=8
Exploring Operation: 5*3=15, Resulting Numbers: [43, 15]
Generated Node #0,0,4: 80:[43, 15] Operation: 5*3=15
Moving to Node #0,3
Current State: 80:[5, 30, 10], Operations: ['43-33=10']
Exploring Operation: 30+10=40, Resulting Numbers: [5, 40]
Generated Node #0,3,0: 80:[5, 40] Operation: 30+10=40
Exploring Operation: 30/10=3, Resulting Numbers: [5, 3]
Generated Node #0,3,1: 80:[5, 3] Operation: 30/10=3
Exploring Operation: 30-10=20, Resulting Numbers: [5, 20]
Generated Node #0,3,2: 80:[5, 20] Operation: 30-10=20
Exploring Operation: 30/5=6, Resulting Numbers: [10, 6]
Generated Node #0,3,3: 80:[10, 6] Operation: 30/5=6
Exploring Operation: 5+30=35, Resulting Numbers: [10, 35]
Generated Node #0,3,4: 80:[10, 35] Operation: 5+30=35
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 80:[5, 40], Operations: ['43-33=10', '30+10=40']
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,80 unequal: No Solution
Exploring Operation: 5+40=45, Resulting Numbers: [45]
45,80 unequal: No Solution
Exploring Operation: 5*40=200, Resulting Numbers: [200]
200,80 unequal: No Solution
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,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,3,2
Current State: 80:[5, 20], Operations: ['43-33=10', '30-10=20']
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,80 unequal: No Solution
Exploring Operation: 5*20=100, Resulting Numbers: [100]
100,80 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,80 unequal: No Solution
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,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,3,1
Current State: 80:[5, 3], Operations: ['43-33=10', '30/10=3']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,80 unequal: No Solution
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,80 unequal: No Solution
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,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,3,3
Current State: 80:[10, 6], Operations: ['43-33=10', '30/5=6']
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,80 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,80 unequal: No Solution
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,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,3,4
Current State: 80:[10, 35], Operations: ['43-33=10', '5+30=35']
Exploring Operation: 10*35=350, Resulting Numbers: [350]
350,80 unequal: No Solution
Exploring Operation: 35-10=25, Resulting Numbers: [25]
25,80 unequal: No Solution
Exploring Operation: 10+35=45, Resulting Numbers: [45]
45,80 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: 80:[33, 5, 13], Operations: ['43-30=13']
Exploring Operation: 5+13=18, Resulting Numbers: [33, 18]
Generated Node #0,1,0: 80:[33, 18] Operation: 5+13=18
Exploring Operation: 33-13=20, Resulting Numbers: [5, 20]
Generated Node #0,1,1: 80:[5, 20] Operation: 33-13=20
Exploring Operation: 13-5=8, Resulting Numbers: [33, 8]
Generated Node #0,1,2: 80:[33, 8] Operation: 13-5=8
Exploring Operation: 33+13=46, Resulting Numbers: [5, 46]
Generated Node #0,1,3: 80:[5, 46] Operation: 33+13=46
Exploring Operation: 33+5=38, Resulting Numbers: [13, 38]
Generated Node #0,1,4: 80:[13, 38] Operation: 33+5=38
Moving to Node #0,4
Current State: 80:[33, 43, 6], Operations: ['30/5=6']
Exploring Operation: 43-33=10, Resulting Numbers: [6, 10]
Generated Node #0,4,0: 80:[6, 10] Operation: 43-33=10
Exploring Operation: 43-6=37, Resulting Numbers: [33, 37]
Generated Node #0,4,1: 80:[33, 37] Operation: 43-6=37
Exploring Operation: 33+43=76, Resulting Numbers: [6, 76]
Generated Node #0,4,2: 80:[6, 76] Operation: 33+43=76
Exploring Operation: 33-6=27, Resulting Numbers: [43, 27]
Generated Node #0,4,3: 80:[43, 27] Operation: 33-6=27
Exploring Operation: 33+6=39, Resulting Numbers: [43, 39]
Generated Node #0,4,4: 80:[43, 39] Operation: 33+6=39
Moving to Node #0,2
Current State: 80:[5, 30, 76], Operations: ['33+43=76']
Exploring Operation: 5+30=35, Resulting Numbers: [76, 35]
Generated Node #0,2,0: 80:[76, 35] Operation: 5+30=35
Exploring Operation: 30-5=25, Resulting Numbers: [76, 25]
Generated Node #0,2,1: 80:[76, 25] Operation: 30-5=25
Exploring Operation: 30/5=6, Resulting Numbers: [76, 6]
Generated Node #0,2,2: 80:[76, 6] Operation: 30/5=6
Exploring Operation: 5+76=81, Resulting Numbers: [30, 81]
Generated Node #0,2,3: 80:[30, 81] Operation: 5+76=81
Exploring Operation: 76-30=46, Resulting Numbers: [5, 46]
Generated Node #0,2,4: 80:[5, 46] Operation: 76-30=46
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 80:[76, 6], Operations: ['33+43=76', '30/5=6']
Exploring Operation: 76*6=456, Resulting Numbers: [456]
456,80 unequal: No Solution
Exploring Operation: 76-6=70, Resulting Numbers: [70]
70,80 unequal: No Solution
Exploring Operation: 76+6=82, Resulting Numbers: [82]
82,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,2,4
Current State: 80:[5, 46], Operations: ['33+43=76', '76-30=46']
Exploring Operation: 5*46=230, Resulting Numbers: [230]
230,80 unequal: No Solution
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,80 unequal: No Solution
Exploring Operation: 5+46=51, Resulting Numbers: [51]
51,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,2,0
Current State: 80:[76, 35], Operations: ['33+43=76', '5+30=35']
Exploring Operation: 76*35=2660, Resulting Numbers: [2660]
2660,80 unequal: No Solution
Exploring Operation: 76+35=111, Resulting Numbers: [111]
111,80 unequal: No Solution
Exploring Operation: 76-35=41, Resulting Numbers: [41]
41,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,2,1
Current State: 80:[76, 25], Operations: ['33+43=76', '30-5=25']
Exploring Operation: 76-25=51, Resulting Numbers: [51]
51,80 unequal: No Solution
Exploring Operation: 76+25=101, Resulting Numbers: [101]
101,80 unequal: No Solution
Exploring Operation: 76*25=1900, Resulting Numbers: [1900]
1900,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,2,3
Current State: 80:[30, 81], Operations: ['33+43=76', '5+76=81']
Exploring Operation: 81-30=51, Resulting Numbers: [51]
51,80 unequal: No Solution
Exploring Operation: 30+81=111, Resulting Numbers: [111]
111,80 unequal: No Solution
Exploring Operation: 30*81=2430, Resulting Numbers: [2430]
2430,80 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: 80:[5, 40], Operations: ['33-30=3', '43-3=40']
Exploring Operation: 40/5=8, Resulting Numbers: [8]
8,80 unequal: No Solution
Exploring Operation: 5*40=200, Resulting Numbers: [200]
200,80 unequal: No Solution
Exploring Operation: 40-5=35, Resulting Numbers: [35]
35,80 unequal: No Solution
Exploring Operation: 5+40=45, Resulting Numbers: [45]
45,80 unequal: No Solution
Moving to Node #0,1,1
Current State: 80:[5, 20], Operations: ['43-30=13', '33-13=20']
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,80 unequal: No Solution
Exploring Operation: 5+20=25, Resulting Numbers: [25]
25,80 unequal: No Solution
Exploring Operation: 20-5=15, Resulting Numbers: [15]
15,80 unequal: No Solution
Exploring Operation: 5*20=100, Resulting Numbers: [100]
100,80 unequal: No Solution
Moving to Node #0,4,0
Current State: 80:[6, 10], Operations: ['30/5=6', '43-33=10']
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,80 unequal: No Solution
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,80 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,80 unequal: No Solution
Moving to Node #0,0,2
Current State: 80:[43, 2], Operations: ['33-30=3', '5-3=2']
Exploring Operation: 43-2=41, Resulting Numbers: [41]
41,80 unequal: No Solution
Exploring Operation: 43*2=86, Resulting Numbers: [86]
86,80 unequal: No Solution
Exploring Operation: 43+2=45, Resulting Numbers: [45]
45,80 unequal: No Solution
Moving to Node #0,0,1
Current State: 80:[3, 38], Operations: ['33-30=3', '43-5=38']
Exploring Operation: 3+38=41, Resulting Numbers: [41]
41,80 unequal: No Solution
Exploring Operation: 38-3=35, Resulting Numbers: [35]
35,80 unequal: No Solution
Exploring Operation: 3*38=114, Resulting Numbers: [114]
114,80 unequal: No Solution
Moving to Node #0,0,3
Current State: 80:[43, 8], Operations: ['33-30=3', '5+3=8']
Exploring Operation: 43*8=344, Resulting Numbers: [344]
344,80 unequal: No Solution
Exploring Operation: 43-8=35, Resulting Numbers: [35]
35,80 unequal: No Solution
Exploring Operation: 43+8=51, Resulting Numbers: [51]
51,80 unequal: No Solution
Moving to Node #0,4,4
Current State: 80:[43, 39], Operations: ['30/5=6', '33+6=39']
Exploring Operation: 43*39=1677, Resulting Numbers: [1677]
1677,80 unequal: No Solution
Exploring Operation: 43-39=4, Resulting Numbers: [4]
4,80 unequal: No Solution
Exploring Operation: 43+39=82, Resulting Numbers: [82]
82,80 unequal: No Solution
Moving to Node #0,0,4
Current State: 80:[43, 15], Operations: ['33-30=3', '5*3=15']
Exploring Operation: 43-15=28, Resulting Numbers: [28]
28,80 unequal: No Solution
Exploring Operation: 43+15=58, Resulting Numbers: [58]
58,80 unequal: No Solution
Exploring Operation: 43*15=645, Resulting Numbers: [645]
645,80 unequal: No Solution
Moving to Node #0,1,4
Current State: 80:[13, 38], Operations: ['43-30=13', '33+5=38']
Exploring Operation: 13*38=494, Resulting Numbers: [494]
494,80 unequal: No Solution
Exploring Operation: 13+38=51, Resulting Numbers: [51]
51,80 unequal: No Solution
Exploring Operation: 38-13=25, Resulting Numbers: [25]
25,80 unequal: No Solution
Moving to Node #0,4,2
Current State: 80:[6, 76], Operations: ['30/5=6', '33+43=76']
Exploring Operation: 6*76=456, Resulting Numbers: [456]
456,80 unequal: No Solution
Exploring Operation: 76-6=70, Resulting Numbers: [70]
70,80 unequal: No Solution
Exploring Operation: 6+76=82, Resulting Numbers: [82]
82,80 unequal: No Solution
Moving to Node #0,1,3
Current State: 80:[5, 46], Operations: ['43-30=13', '33+13=46']
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,80 unequal: No Solution
Exploring Operation: 5+46=51, Resulting Numbers: [51]
51,80 unequal: No Solution
Exploring Operation: 5*46=230, Resulting Numbers: [230]
230,80 unequal: No Solution
Moving to Node #0,1,2
Current State: 80:[33, 8], Operations: ['43-30=13', '13-5=8']
Exploring Operation: 33+8=41, Resulting Numbers: [41]
41,80 unequal: No Solution
Exploring Operation: 33*8=264, Resulting Numbers: [264]
264,80 unequal: No Solution
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,80 unequal: No Solution
Moving to Node #0,1,0
Current State: 80:[33, 18], Operations: ['43-30=13', '5+13=18']
Exploring Operation: 33-18=15, Resulting Numbers: [15]
15,80 unequal: No Solution
Exploring Operation: 33+18=51, Resulting Numbers: [51]
51,80 unequal: No Solution
Exploring Operation: 33*18=594, Resulting Numbers: [594]
594,80 unequal: No Solution
Moving to Node #0,4,1
Current State: 80:[33, 37], Operations: ['30/5=6', '43-6=37']
Exploring Operation: 33+37=70, Resulting Numbers: [70]
70,80 unequal: No Solution
Exploring Operation: 37-33=4, Resulting Numbers: [4]
4,80 unequal: No Solution
Exploring Operation: 33*37=1221, Resulting Numbers: [1221]
1221,80 unequal: No Solution
Moving to Node #0,4,3
Current State: 80:[43, 27], Operations: ['30/5=6', '33-6=27']
Exploring Operation: 43+27=70, Resulting Numbers: [70]
70,80 unequal: No Solution
Exploring Operation: 43*27=1161, Resulting Numbers: [1161]
1161,80 unequal: No Solution
Exploring Operation: 43-27=16, Resulting Numbers: [16]
16,80 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
60,
56,
57,
91
] | 32 | [
"60+56=116",
"57+91=148",
"148-116=32"
] | Current State: 32:[60, 56, 57, 91], Operations: []
Exploring Operation: 60+56=116, Resulting Numbers: [57, 91, 116]
Generated Node #2: [57, 91, 116] from Operation: 60+56=116
Current State: 32:[57, 91, 116], Operations: ['60+56=116']
Exploring Operation: 57+91=148, Resulting Numbers: [116, 148]
Generated Node #3: [116, 148] from Operation: 57+91=148
Current State: 32:[116, 148], Operations: ['60+56=116', '57+91=148']
Exploring Operation: 148-116=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[60, 56, 57, 91], Operations: []
Exploring Operation: 91-60=31, Resulting Numbers: [56, 57, 31]
Generated Node #0,0: 32:[56, 57, 31] Operation: 91-60=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[56, 57, 31], Operations: ['91-60=31']
Exploring Operation: 57-56=1, Resulting Numbers: [31, 1]
Generated Node #0,0,0: 32:[31, 1] Operation: 57-56=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 32:[31, 1], Operations: ['91-60=31', '57-56=1']
Exploring Operation: 31+1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[60, 56, 57, 91], Operations: []
Exploring Operation: 91-60=31, Resulting Numbers: [56, 57, 31]
Generated Node #0,0: 32:[56, 57, 31] Operation: 91-60=31
Moving to Node #0,0
Current State: 32:[56, 57, 31], Operations: ['91-60=31']
Exploring Operation: 57-56=1, Resulting Numbers: [31, 1]
Generated Node #0,0,0: 32:[31, 1] Operation: 57-56=1
Moving to Node #0,0,0
Current State: 32:[31, 1], Operations: ['91-60=31', '57-56=1']
Exploring Operation: 31+1=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
54,
14,
26,
52
] | 33 | [
"54-52=2",
"14/2=7",
"26+7=33"
] | Current State: 33:[54, 14, 26, 52], Operations: []
Exploring Operation: 54-52=2, Resulting Numbers: [14, 26, 2]
Generated Node #2: [14, 26, 2] from Operation: 54-52=2
Current State: 33:[14, 26, 2], Operations: ['54-52=2']
Exploring Operation: 14/2=7, Resulting Numbers: [26, 7]
Generated Node #3: [26, 7] from Operation: 14/2=7
Current State: 33:[26, 7], Operations: ['54-52=2', '14/2=7']
Exploring Operation: 26+7=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[54, 14, 26, 52], Operations: []
Exploring Operation: 54-52=2, Resulting Numbers: [14, 26, 2]
Generated Node #0,0: 33:[14, 26, 2] Operation: 54-52=2
Moving to Node #0,0
Current State: 33:[14, 26, 2], Operations: ['54-52=2']
Exploring Operation: 26-14=12, Resulting Numbers: [2, 12]
Generated Node #0,0,0: 33:[2, 12] Operation: 26-14=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 33:[2, 12], Operations: ['54-52=2', '26-14=12']
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,33 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 |
[
62,
91,
62,
22
] | 69 | [
"62+91=153",
"62+22=84",
"153-84=69"
] | Current State: 69:[62, 91, 62, 22], Operations: []
Exploring Operation: 62+91=153, Resulting Numbers: [22, 153]
Generated Node #2: [22, 153] from Operation: 62+91=153
Current State: 69:[22, 153], Operations: ['62+91=153']
Exploring Operation: 62+22=84, Resulting Numbers: [153, 84]
Generated Node #3: [153, 84] from Operation: 62+22=84
Current State: 69:[153, 84], Operations: ['62+91=153', '62+22=84']
Exploring Operation: 153-84=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[62, 91, 62, 22], Operations: []
Exploring Operation: 91-62=29, Resulting Numbers: [62, 22, 29]
Generated Node #0,0: 69:[62, 22, 29] Operation: 91-62=29
Exploring Operation: 91-62=29, Resulting Numbers: [62, 22, 29]
Generated Node #0,1: 69:[62, 22, 29] Operation: 91-62=29
Moving to Node #0,0
Current State: 69:[62, 22, 29], Operations: ['91-62=29']
Exploring Operation: 29-22=7, Resulting Numbers: [62, 7]
Generated Node #0,0,0: 69:[62, 7] Operation: 29-22=7
Exploring Operation: 62-29=33, Resulting Numbers: [22, 33]
Generated Node #0,0,1: 69:[22, 33] Operation: 62-29=33
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 69:[62, 7], Operations: ['91-62=29', '29-22=7']
Exploring Operation: 62-7=55, Resulting Numbers: [55]
55,69 unequal: No Solution
Exploring Operation: 62+7=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[62, 91, 62, 22], Operations: []
Exploring Operation: 91-62=29, Resulting Numbers: [62, 22, 29]
Generated Node #0,0: 69:[62, 22, 29] Operation: 91-62=29
Moving to Node #0,0
Current State: 69:[62, 22, 29], Operations: ['91-62=29']
Exploring Operation: 29-22=7, Resulting Numbers: [62, 7]
Generated Node #0,0,0: 69:[62, 7] Operation: 29-22=7
Moving to Node #0,0,0
Current State: 69:[62, 7], Operations: ['91-62=29', '29-22=7']
Exploring Operation: 62+7=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
78,
83,
13,
89
] | 60 | [
"89-78=11",
"13*11=143",
"143-83=60"
] | Current State: 60:[78, 83, 13, 89], Operations: []
Exploring Operation: 89-78=11, Resulting Numbers: [83, 13, 11]
Generated Node #2: [83, 13, 11] from Operation: 89-78=11
Current State: 60:[83, 13, 11], Operations: ['89-78=11']
Exploring Operation: 13*11=143, Resulting Numbers: [83, 143]
Generated Node #3: [83, 143] from Operation: 13*11=143
Current State: 60:[83, 143], Operations: ['89-78=11', '13*11=143']
Exploring Operation: 143-83=60, Resulting Numbers: [60]
60,60 equal: Goal Reached
| 4 | Current State: 60:[78, 83, 13, 89], Operations: []
Exploring Operation: 89-83=6, Resulting Numbers: [78, 13, 6]
Generated Node #0,0: 60:[78, 13, 6] Operation: 89-83=6
Exploring Operation: 89-78=11, Resulting Numbers: [83, 13, 11]
Generated Node #0,1: 60:[83, 13, 11] Operation: 89-78=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 60:[78, 13, 6], Operations: ['89-83=6']
Exploring Operation: 78/6=13, Resulting Numbers: [13, 13]
Generated Node #0,0,0: 60:[13, 13] Operation: 78/6=13
Exploring Operation: 78/13=6, Resulting Numbers: [6, 6]
Generated Node #0,0,1: 60:[6, 6] Operation: 78/13=6
Moving to Node #0,0,1
Current State: 60:[6, 6], Operations: ['89-83=6', '78/13=6']
Exploring Operation: 6/6=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 6+6=12, Resulting Numbers: [12]
12,60 unequal: No Solution
Moving to Node #0,0,0
Current State: 60:[13, 13], Operations: ['89-83=6', '78/6=13']
Exploring Operation: 13/13=1, Resulting Numbers: [1]
1,60 unequal: No Solution
Exploring Operation: 13-13=0, Resulting Numbers: [0]
0,60 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 60:[83, 13, 11], Operations: ['89-78=11']
Exploring Operation: 83-11=72, Resulting Numbers: [13, 72]
Generated Node #0,1,0: 60:[13, 72] Operation: 83-11=72
Exploring Operation: 83-13=70, Resulting Numbers: [11, 70]
Generated Node #0,1,1: 60:[11, 70] Operation: 83-13=70
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 60:[11, 70], Operations: ['89-78=11', '83-13=70']
Exploring Operation: 11+70=81, Resulting Numbers: [81]
81,60 unequal: No Solution
Exploring Operation: 70-11=59, Resulting Numbers: [59]
59,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 60:[13, 72], Operations: ['89-78=11', '83-11=72']
Exploring Operation: 72-13=59, Resulting Numbers: [59]
59,60 unequal: No Solution
Exploring Operation: 13+72=85, Resulting Numbers: [85]
85,60 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
9,
71,
62,
19
] | 37 | [
"9+71=80",
"62-19=43",
"80-43=37"
] | Current State: 37:[9, 71, 62, 19], Operations: []
Exploring Operation: 9+71=80, Resulting Numbers: [62, 19, 80]
Generated Node #2: [62, 19, 80] from Operation: 9+71=80
Current State: 37:[62, 19, 80], Operations: ['9+71=80']
Exploring Operation: 62-19=43, Resulting Numbers: [80, 43]
Generated Node #3: [80, 43] from Operation: 62-19=43
Current State: 37:[80, 43], Operations: ['9+71=80', '62-19=43']
Exploring Operation: 80-43=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[9, 71, 62, 19], Operations: []
Exploring Operation: 71-19=52, Resulting Numbers: [9, 62, 52]
Generated Node #0,0: 37:[9, 62, 52] Operation: 71-19=52
Exploring Operation: 62-9=53, Resulting Numbers: [71, 19, 53]
Generated Node #0,1: 37:[71, 19, 53] Operation: 62-9=53
Exploring Operation: 9+19=28, Resulting Numbers: [71, 62, 28]
Generated Node #0,2: 37:[71, 62, 28] Operation: 9+19=28
Exploring Operation: 71-9=62, Resulting Numbers: [62, 19, 62]
Generated Node #0,3: 37:[62, 19, 62] Operation: 71-9=62
Moving to Node #0,0
Current State: 37:[9, 62, 52], Operations: ['71-19=52']
Exploring Operation: 62-9=53, Resulting Numbers: [52, 53]
Generated Node #0,0,0: 37:[52, 53] Operation: 62-9=53
Exploring Operation: 9+62=71, Resulting Numbers: [52, 71]
Generated Node #0,0,1: 37:[52, 71] Operation: 9+62=71
Exploring Operation: 52-9=43, Resulting Numbers: [62, 43]
Generated Node #0,0,2: 37:[62, 43] Operation: 52-9=43
Exploring Operation: 9+52=61, Resulting Numbers: [62, 61]
Generated Node #0,0,3: 37:[62, 61] Operation: 9+52=61
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 37:[52, 53], Operations: ['71-19=52', '62-9=53']
Exploring Operation: 52*53=2756, Resulting Numbers: [2756]
2756,37 unequal: No Solution
Exploring Operation: 52+53=105, Resulting Numbers: [105]
105,37 unequal: No Solution
Exploring Operation: 53-52=1, Resulting Numbers: [1]
1,37 unequal: No Solution
No 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: 37:[62, 43], Operations: ['71-19=52', '52-9=43']
Exploring Operation: 62*43=2666, Resulting Numbers: [2666]
2666,37 unequal: No Solution
Exploring Operation: 62+43=105, Resulting Numbers: [105]
105,37 unequal: No Solution
Exploring Operation: 62-43=19, Resulting Numbers: [19]
19,37 unequal: No Solution
No 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: 37:[52, 71], Operations: ['71-19=52', '9+62=71']
Exploring Operation: 52*71=3692, Resulting Numbers: [3692]
3692,37 unequal: No Solution
Exploring Operation: 52+71=123, Resulting Numbers: [123]
123,37 unequal: No Solution
Exploring Operation: 71-52=19, Resulting Numbers: [19]
19,37 unequal: No Solution
No 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: 37:[62, 61], Operations: ['71-19=52', '9+52=61']
Exploring Operation: 62*61=3782, Resulting Numbers: [3782]
3782,37 unequal: No Solution
Exploring Operation: 62+61=123, Resulting Numbers: [123]
123,37 unequal: No Solution
Exploring Operation: 62-61=1, Resulting Numbers: [1]
1,37 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: 37:[71, 62, 28], Operations: ['9+19=28']
Exploring Operation: 71-28=43, Resulting Numbers: [62, 43]
Generated Node #0,2,0: 37:[62, 43] Operation: 71-28=43
Exploring Operation: 62-28=34, Resulting Numbers: [71, 34]
Generated Node #0,2,1: 37:[71, 34] Operation: 62-28=34
Exploring Operation: 71-62=9, Resulting Numbers: [28, 9]
Generated Node #0,2,2: 37:[28, 9] Operation: 71-62=9
Exploring Operation: 71+28=99, Resulting Numbers: [62, 99]
Generated Node #0,2,3: 37:[62, 99] Operation: 71+28=99
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 37:[62, 43], Operations: ['9+19=28', '71-28=43']
Exploring Operation: 62+43=105, Resulting Numbers: [105]
105,37 unequal: No Solution
Exploring Operation: 62-43=19, Resulting Numbers: [19]
19,37 unequal: No Solution
Exploring Operation: 62*43=2666, Resulting Numbers: [2666]
2666,37 unequal: No Solution
No 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: 37:[71, 34], Operations: ['9+19=28', '62-28=34']
Exploring Operation: 71*34=2414, Resulting Numbers: [2414]
2414,37 unequal: No Solution
Exploring Operation: 71+34=105, Resulting Numbers: [105]
105,37 unequal: No Solution
Exploring Operation: 71-34=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[9, 71, 62, 19], Operations: []
Exploring Operation: 9+19=28, Resulting Numbers: [71, 62, 28]
Generated Node #0,2: 37:[71, 62, 28] Operation: 9+19=28
Moving to Node #0,2
Current State: 37:[71, 62, 28], Operations: ['9+19=28']
Exploring Operation: 62-28=34, Resulting Numbers: [71, 34]
Generated Node #0,2,1: 37:[71, 34] Operation: 62-28=34
Moving to Node #0,2,1
Current State: 37:[71, 34], Operations: ['9+19=28', '62-28=34']
Exploring Operation: 71-34=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.970486 | hs_4 | sum_heuristic |
[
2,
42,
10,
54
] | 59 | [
"54/2=27",
"42-10=32",
"27+32=59"
] | Current State: 59:[2, 42, 10, 54], Operations: []
Exploring Operation: 54/2=27, Resulting Numbers: [42, 10, 27]
Generated Node #2: [42, 10, 27] from Operation: 54/2=27
Current State: 59:[42, 10, 27], Operations: ['54/2=27']
Exploring Operation: 42-10=32, Resulting Numbers: [27, 32]
Generated Node #3: [27, 32] from Operation: 42-10=32
Current State: 59:[27, 32], Operations: ['54/2=27', '42-10=32']
Exploring Operation: 27+32=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[2, 42, 10, 54], Operations: []
Exploring Operation: 2*10=20, Resulting Numbers: [42, 54, 20]
Generated Node #0,0: 59:[42, 54, 20] Operation: 2*10=20
Exploring Operation: 2+42=44, Resulting Numbers: [10, 54, 44]
Generated Node #0,1: 59:[10, 54, 44] Operation: 2+42=44
Exploring Operation: 42+10=52, Resulting Numbers: [2, 54, 52]
Generated Node #0,2: 59:[2, 54, 52] Operation: 42+10=52
Exploring Operation: 2+10=12, Resulting Numbers: [42, 54, 12]
Generated Node #0,3: 59:[42, 54, 12] Operation: 2+10=12
Exploring Operation: 2+54=56, Resulting Numbers: [42, 10, 56]
Generated Node #0,4: 59:[42, 10, 56] Operation: 2+54=56
Moving to Node #0,0
Current State: 59:[42, 54, 20], Operations: ['2*10=20']
Exploring Operation: 42+20=62, Resulting Numbers: [54, 62]
Generated Node #0,0,0: 59:[54, 62] Operation: 42+20=62
Exploring Operation: 42-20=22, Resulting Numbers: [54, 22]
Generated Node #0,0,1: 59:[54, 22] Operation: 42-20=22
Exploring Operation: 54-20=34, Resulting Numbers: [42, 34]
Generated Node #0,0,2: 59:[42, 34] Operation: 54-20=34
Exploring Operation: 54+20=74, Resulting Numbers: [42, 74]
Generated Node #0,0,3: 59:[42, 74] Operation: 54+20=74
Exploring Operation: 42+54=96, Resulting Numbers: [20, 96]
Generated Node #0,0,4: 59:[20, 96] Operation: 42+54=96
Moving to Node #0,2
Current State: 59:[2, 54, 52], Operations: ['42+10=52']
Exploring Operation: 52/2=26, Resulting Numbers: [54, 26]
Generated Node #0,2,0: 59:[54, 26] Operation: 52/2=26
Exploring Operation: 2+52=54, Resulting Numbers: [54, 54]
Generated Node #0,2,1: 59:[54, 54] Operation: 2+52=54
Exploring Operation: 54-2=52, Resulting Numbers: [52, 52]
Generated Node #0,2,2: 59:[52, 52] Operation: 54-2=52
Exploring Operation: 52-2=50, Resulting Numbers: [54, 50]
Generated Node #0,2,3: 59:[54, 50] Operation: 52-2=50
Exploring Operation: 2+54=56, Resulting Numbers: [52, 56]
Generated Node #0,2,4: 59:[52, 56] Operation: 2+54=56
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 59:[54, 54], Operations: ['42+10=52', '2+52=54']
Exploring Operation: 54-54=0, Resulting Numbers: [0]
0,59 unequal: No Solution
Exploring Operation: 54*54=2916, Resulting Numbers: [2916]
2916,59 unequal: No Solution
Exploring Operation: 54+54=108, Resulting Numbers: [108]
108,59 unequal: No Solution
Exploring Operation: 54/54=1, Resulting Numbers: [1]
1,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,2,4
Current State: 59:[52, 56], Operations: ['42+10=52', '2+54=56']
Exploring Operation: 52+56=108, Resulting Numbers: [108]
108,59 unequal: No Solution
Exploring Operation: 52*56=2912, Resulting Numbers: [2912]
2912,59 unequal: No Solution
Exploring Operation: 56-52=4, Resulting Numbers: [4]
4,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,2,2
Current State: 59:[52, 52], Operations: ['42+10=52', '54-2=52']
Exploring Operation: 52/52=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 52*52=2704, Resulting Numbers: [2704]
2704,59 unequal: No Solution
Exploring Operation: 52-52=0, Resulting Numbers: [0]
0,59 unequal: No Solution
Exploring Operation: 52+52=104, Resulting Numbers: [104]
104,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,2,3
Current State: 59:[54, 50], Operations: ['42+10=52', '52-2=50']
Exploring Operation: 54*50=2700, Resulting Numbers: [2700]
2700,59 unequal: No Solution
Exploring Operation: 54-50=4, Resulting Numbers: [4]
4,59 unequal: No Solution
Exploring Operation: 54+50=104, Resulting Numbers: [104]
104,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,2,0
Current State: 59:[54, 26], Operations: ['42+10=52', '52/2=26']
Exploring Operation: 54*26=1404, Resulting Numbers: [1404]
1404,59 unequal: No Solution
Exploring Operation: 54+26=80, Resulting Numbers: [80]
80,59 unequal: No Solution
Exploring Operation: 54-26=28, Resulting Numbers: [28]
28,59 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: 59:[42, 10, 56], Operations: ['2+54=56']
Exploring Operation: 56-10=46, Resulting Numbers: [42, 46]
Generated Node #0,4,0: 59:[42, 46] Operation: 56-10=46
Exploring Operation: 42-10=32, Resulting Numbers: [56, 32]
Generated Node #0,4,1: 59:[56, 32] Operation: 42-10=32
Exploring Operation: 10+56=66, Resulting Numbers: [42, 66]
Generated Node #0,4,2: 59:[42, 66] Operation: 10+56=66
Exploring Operation: 42+56=98, Resulting Numbers: [10, 98]
Generated Node #0,4,3: 59:[10, 98] Operation: 42+56=98
Exploring Operation: 42+10=52, Resulting Numbers: [56, 52]
Generated Node #0,4,4: 59:[56, 52] Operation: 42+10=52
Moving to Node #0,1
Current State: 59:[10, 54, 44], Operations: ['2+42=44']
Exploring Operation: 10+54=64, Resulting Numbers: [44, 64]
Generated Node #0,1,0: 59:[44, 64] Operation: 10+54=64
Exploring Operation: 44-10=34, Resulting Numbers: [54, 34]
Generated Node #0,1,1: 59:[54, 34] Operation: 44-10=34
Exploring Operation: 54-10=44, Resulting Numbers: [44, 44]
Generated Node #0,1,2: 59:[44, 44] Operation: 54-10=44
Exploring Operation: 54+44=98, Resulting Numbers: [10, 98]
Generated Node #0,1,3: 59:[10, 98] Operation: 54+44=98
Exploring Operation: 10+44=54, Resulting Numbers: [54, 54]
Generated Node #0,1,4: 59:[54, 54] Operation: 10+44=54
Moving to Node #0,3
Current State: 59:[42, 54, 12], Operations: ['2+10=12']
Exploring Operation: 42+12=54, Resulting Numbers: [54, 54]
Generated Node #0,3,0: 59:[54, 54] Operation: 42+12=54
Exploring Operation: 54-12=42, Resulting Numbers: [42, 42]
Generated Node #0,3,1: 59:[42, 42] Operation: 54-12=42
Exploring Operation: 42-12=30, Resulting Numbers: [54, 30]
Generated Node #0,3,2: 59:[54, 30] Operation: 42-12=30
Exploring Operation: 54+12=66, Resulting Numbers: [42, 66]
Generated Node #0,3,3: 59:[42, 66] Operation: 54+12=66
Exploring Operation: 42+54=96, Resulting Numbers: [12, 96]
Generated Node #0,3,4: 59:[12, 96] Operation: 42+54=96
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 59:[54, 54], Operations: ['2+10=12', '42+12=54']
Exploring Operation: 54+54=108, Resulting Numbers: [108]
108,59 unequal: No Solution
Exploring Operation: 54-54=0, Resulting Numbers: [0]
0,59 unequal: No Solution
Exploring Operation: 54/54=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 54*54=2916, Resulting Numbers: [2916]
2916,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,3
Current State: 59:[42, 66], Operations: ['2+10=12', '54+12=66']
Exploring Operation: 66-42=24, Resulting Numbers: [24]
24,59 unequal: No Solution
Exploring Operation: 42*66=2772, Resulting Numbers: [2772]
2772,59 unequal: No Solution
Exploring Operation: 42+66=108, Resulting Numbers: [108]
108,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,1
Current State: 59:[42, 42], Operations: ['2+10=12', '54-12=42']
Exploring Operation: 42/42=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 42-42=0, Resulting Numbers: [0]
0,59 unequal: No Solution
Exploring Operation: 42+42=84, Resulting Numbers: [84]
84,59 unequal: No Solution
Exploring Operation: 42*42=1764, Resulting Numbers: [1764]
1764,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,2
Current State: 59:[54, 30], Operations: ['2+10=12', '42-12=30']
Exploring Operation: 54*30=1620, Resulting Numbers: [1620]
1620,59 unequal: No Solution
Exploring Operation: 54+30=84, Resulting Numbers: [84]
84,59 unequal: No Solution
Exploring Operation: 54-30=24, Resulting Numbers: [24]
24,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,4
Current State: 59:[12, 96], Operations: ['2+10=12', '42+54=96']
Exploring Operation: 96/12=8, Resulting Numbers: [8]
8,59 unequal: No Solution
Exploring Operation: 12+96=108, Resulting Numbers: [108]
108,59 unequal: No Solution
Exploring Operation: 96-12=84, Resulting Numbers: [84]
84,59 unequal: No Solution
Exploring Operation: 12*96=1152, Resulting Numbers: [1152]
1152,59 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: 59:[54, 62], Operations: ['2*10=20', '42+20=62']
Exploring Operation: 54+62=116, Resulting Numbers: [116]
116,59 unequal: No Solution
Exploring Operation: 62-54=8, Resulting Numbers: [8]
8,59 unequal: No Solution
Exploring Operation: 54*62=3348, Resulting Numbers: [3348]
3348,59 unequal: No Solution
Moving to Node #0,4,4
Current State: 59:[56, 52], Operations: ['2+54=56', '42+10=52']
Exploring Operation: 56-52=4, Resulting Numbers: [4]
4,59 unequal: No Solution
Exploring Operation: 56*52=2912, Resulting Numbers: [2912]
2912,59 unequal: No Solution
Exploring Operation: 56+52=108, Resulting Numbers: [108]
108,59 unequal: No Solution
Moving to Node #0,1,4
Current State: 59:[54, 54], Operations: ['2+42=44', '10+44=54']
Exploring Operation: 54*54=2916, Resulting Numbers: [2916]
2916,59 unequal: No Solution
Exploring Operation: 54+54=108, Resulting Numbers: [108]
108,59 unequal: No Solution
Exploring Operation: 54-54=0, Resulting Numbers: [0]
0,59 unequal: No Solution
Exploring Operation: 54/54=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Moving to Node #0,1,0
Current State: 59:[44, 64], Operations: ['2+42=44', '10+54=64']
Exploring Operation: 64-44=20, Resulting Numbers: [20]
20,59 unequal: No Solution
Exploring Operation: 44*64=2816, Resulting Numbers: [2816]
2816,59 unequal: No Solution
Exploring Operation: 44+64=108, Resulting Numbers: [108]
108,59 unequal: No Solution
Moving to Node #0,4,2
Current State: 59:[42, 66], Operations: ['2+54=56', '10+56=66']
Exploring Operation: 66-42=24, Resulting Numbers: [24]
24,59 unequal: No Solution
Exploring Operation: 42+66=108, Resulting Numbers: [108]
108,59 unequal: No Solution
Exploring Operation: 42*66=2772, Resulting Numbers: [2772]
2772,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[54, 34], Operations: ['2+42=44', '44-10=34']
Exploring Operation: 54+34=88, Resulting Numbers: [88]
88,59 unequal: No Solution
Exploring Operation: 54*34=1836, Resulting Numbers: [1836]
1836,59 unequal: No Solution
Exploring Operation: 54-34=20, Resulting Numbers: [20]
20,59 unequal: No Solution
Moving to Node #0,4,0
Current State: 59:[42, 46], Operations: ['2+54=56', '56-10=46']
Exploring Operation: 42*46=1932, Resulting Numbers: [1932]
1932,59 unequal: No Solution
Exploring Operation: 46-42=4, Resulting Numbers: [4]
4,59 unequal: No Solution
Exploring Operation: 42+46=88, Resulting Numbers: [88]
88,59 unequal: No Solution
Moving to Node #0,1,2
Current State: 59:[44, 44], Operations: ['2+42=44', '54-10=44']
Exploring Operation: 44/44=1, Resulting Numbers: [1]
1,59 unequal: No Solution
Exploring Operation: 44*44=1936, Resulting Numbers: [1936]
1936,59 unequal: No Solution
Exploring Operation: 44-44=0, Resulting Numbers: [0]
0,59 unequal: No Solution
Exploring Operation: 44+44=88, Resulting Numbers: [88]
88,59 unequal: No Solution
Moving to Node #0,4,1
Current State: 59:[56, 32], Operations: ['2+54=56', '42-10=32']
Exploring Operation: 56*32=1792, Resulting Numbers: [1792]
1792,59 unequal: No Solution
Exploring Operation: 56+32=88, Resulting Numbers: [88]
88,59 unequal: No Solution
Exploring Operation: 56-32=24, Resulting Numbers: [24]
24,59 unequal: No Solution
Moving to Node #0,0,3
Current State: 59:[42, 74], Operations: ['2*10=20', '54+20=74']
Exploring Operation: 42*74=3108, Resulting Numbers: [3108]
3108,59 unequal: No Solution
Exploring Operation: 74-42=32, Resulting Numbers: [32]
32,59 unequal: No Solution
Exploring Operation: 42+74=116, Resulting Numbers: [116]
116,59 unequal: No Solution
Moving to Node #0,0,1
Current State: 59:[54, 22], Operations: ['2*10=20', '42-20=22']
Exploring Operation: 54-22=32, Resulting Numbers: [32]
32,59 unequal: No Solution
Exploring Operation: 54*22=1188, Resulting Numbers: [1188]
1188,59 unequal: No Solution
Exploring Operation: 54+22=76, Resulting Numbers: [76]
76,59 unequal: No Solution
Moving to Node #0,0,2
Current State: 59:[42, 34], Operations: ['2*10=20', '54-20=34']
Exploring Operation: 42-34=8, Resulting Numbers: [8]
8,59 unequal: No Solution
Exploring Operation: 42*34=1428, Resulting Numbers: [1428]
1428,59 unequal: No Solution
Exploring Operation: 42+34=76, Resulting Numbers: [76]
76,59 unequal: No Solution
Moving to Node #0,0,4
Current State: 59:[20, 96], Operations: ['2*10=20', '42+54=96']
Exploring Operation: 96-20=76, Resulting Numbers: [76]
76,59 unequal: No Solution
Exploring Operation: 20*96=1920, Resulting Numbers: [1920]
1920,59 unequal: No Solution
Exploring Operation: 20+96=116, Resulting Numbers: [116]
116,59 unequal: No Solution
Moving to Node #0,1,3
Current State: 59:[10, 98], Operations: ['2+42=44', '54+44=98']
Exploring Operation: 10*98=980, Resulting Numbers: [980]
980,59 unequal: No Solution
Exploring Operation: 10+98=108, Resulting Numbers: [108]
108,59 unequal: No Solution
Exploring Operation: 98-10=88, Resulting Numbers: [88]
88,59 unequal: No Solution
Moving to Node #0,4,3
Current State: 59:[10, 98], Operations: ['2+54=56', '42+56=98']
Exploring Operation: 98-10=88, Resulting Numbers: [88]
88,59 unequal: No Solution
Exploring Operation: 10+98=108, Resulting Numbers: [108]
108,59 unequal: No Solution
Exploring Operation: 10*98=980, Resulting Numbers: [980]
980,59 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
94,
87,
70,
78
] | 68 | [
"94-87=7",
"70/7=10",
"78-10=68"
] | Current State: 68:[94, 87, 70, 78], Operations: []
Exploring Operation: 94-87=7, Resulting Numbers: [70, 78, 7]
Generated Node #2: [70, 78, 7] from Operation: 94-87=7
Current State: 68:[70, 78, 7], Operations: ['94-87=7']
Exploring Operation: 70/7=10, Resulting Numbers: [78, 10]
Generated Node #3: [78, 10] from Operation: 70/7=10
Current State: 68:[78, 10], Operations: ['94-87=7', '70/7=10']
Exploring Operation: 78-10=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[94, 87, 70, 78], Operations: []
Exploring Operation: 94-87=7, Resulting Numbers: [70, 78, 7]
Generated Node #0,0: 68:[70, 78, 7] Operation: 94-87=7
Exploring Operation: 87-78=9, Resulting Numbers: [94, 70, 9]
Generated Node #0,1: 68:[94, 70, 9] Operation: 87-78=9
Exploring Operation: 94-78=16, Resulting Numbers: [87, 70, 16]
Generated Node #0,2: 68:[87, 70, 16] Operation: 94-78=16
Exploring Operation: 87-70=17, Resulting Numbers: [94, 78, 17]
Generated Node #0,3: 68:[94, 78, 17] Operation: 87-70=17
Exploring Operation: 94-70=24, Resulting Numbers: [87, 78, 24]
Generated Node #0,4: 68:[87, 78, 24] Operation: 94-70=24
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[70, 78, 7], Operations: ['94-87=7']
Exploring Operation: 70-7=63, Resulting Numbers: [78, 63]
Generated Node #0,0,0: 68:[78, 63] Operation: 70-7=63
Exploring Operation: 70/7=10, Resulting Numbers: [78, 10]
Generated Node #0,0,1: 68:[78, 10] Operation: 70/7=10
Exploring Operation: 78-70=8, Resulting Numbers: [7, 8]
Generated Node #0,0,2: 68:[7, 8] Operation: 78-70=8
Exploring Operation: 70+7=77, Resulting Numbers: [78, 77]
Generated Node #0,0,3: 68:[78, 77] Operation: 70+7=77
Exploring Operation: 78-7=71, Resulting Numbers: [70, 71]
Generated Node #0,0,4: 68:[70, 71] Operation: 78-7=71
Moving to Node #0,0,4
Current State: 68:[70, 71], Operations: ['94-87=7', '78-7=71']
Exploring Operation: 70*71=4970, Resulting Numbers: [4970]
4970,68 unequal: No Solution
Exploring Operation: 71-70=1, Resulting Numbers: [1]
1,68 unequal: No Solution
Exploring Operation: 70+71=141, Resulting Numbers: [141]
141,68 unequal: No Solution
Moving to Node #0,0,2
Current State: 68:[7, 8], Operations: ['94-87=7', '78-70=8']
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,68 unequal: No Solution
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,68 unequal: No Solution
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,68 unequal: No Solution
Moving to Node #0,0,0
Current State: 68:[78, 63], Operations: ['94-87=7', '70-7=63']
Exploring Operation: 78-63=15, Resulting Numbers: [15]
15,68 unequal: No Solution
Exploring Operation: 78*63=4914, Resulting Numbers: [4914]
4914,68 unequal: No Solution
Exploring Operation: 78+63=141, Resulting Numbers: [141]
141,68 unequal: No Solution
Moving to Node #0,0,1
Current State: 68:[78, 10], Operations: ['94-87=7', '70/7=10']
Exploring Operation: 78-10=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[94, 87, 70, 78], Operations: []
Exploring Operation: 94-87=7, Resulting Numbers: [70, 78, 7]
Generated Node #0,0: 68:[70, 78, 7] Operation: 94-87=7
Moving to Node #0,0
Current State: 68:[70, 78, 7], Operations: ['94-87=7']
Exploring Operation: 70/7=10, Resulting Numbers: [78, 10]
Generated Node #0,0,1: 68:[78, 10] Operation: 70/7=10
Moving to Node #0,0,1
Current State: 68:[78, 10], Operations: ['94-87=7', '70/7=10']
Exploring Operation: 78-10=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_5 | sum_heuristic |
[
72,
70,
8,
10
] | 66 | [
"8+10=18",
"72/18=4",
"70-4=66"
] | Current State: 66:[72, 70, 8, 10], Operations: []
Exploring Operation: 8+10=18, Resulting Numbers: [72, 70, 18]
Generated Node #2: [72, 70, 18] from Operation: 8+10=18
Current State: 66:[72, 70, 18], Operations: ['8+10=18']
Exploring Operation: 72/18=4, Resulting Numbers: [70, 4]
Generated Node #3: [70, 4] from Operation: 72/18=4
Current State: 66:[70, 4], Operations: ['8+10=18', '72/18=4']
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[72, 70, 8, 10], Operations: []
Exploring Operation: 72/8=9, Resulting Numbers: [70, 10, 9]
Generated Node #0,0: 66:[70, 10, 9] Operation: 72/8=9
Exploring Operation: 72-8=64, Resulting Numbers: [70, 10, 64]
Generated Node #0,1: 66:[70, 10, 64] Operation: 72-8=64
Exploring Operation: 72-10=62, Resulting Numbers: [70, 8, 62]
Generated Node #0,2: 66:[70, 8, 62] Operation: 72-10=62
Exploring Operation: 72-70=2, Resulting Numbers: [8, 10, 2]
Generated Node #0,3: 66:[8, 10, 2] Operation: 72-70=2
Exploring Operation: 70/10=7, Resulting Numbers: [72, 8, 7]
Generated Node #0,4: 66:[72, 8, 7] Operation: 70/10=7
Start Sub Search at level 1: Moving to Node #0,3
Current State: 66:[8, 10, 2], Operations: ['72-70=2']
Exploring Operation: 8+2=10, Resulting Numbers: [10, 10]
Generated Node #0,3,0: 66:[10, 10] Operation: 8+2=10
Exploring Operation: 8/2=4, Resulting Numbers: [10, 4]
Generated Node #0,3,1: 66:[10, 4] Operation: 8/2=4
Exploring Operation: 8-2=6, Resulting Numbers: [10, 6]
Generated Node #0,3,2: 66:[10, 6] Operation: 8-2=6
Exploring Operation: 10-8=2, Resulting Numbers: [2, 2]
Generated Node #0,3,3: 66:[2, 2] Operation: 10-8=2
Exploring Operation: 10+2=12, Resulting Numbers: [8, 12]
Generated Node #0,3,4: 66:[8, 12] Operation: 10+2=12
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 66:[2, 2], Operations: ['72-70=2', '10-8=2']
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,66 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,66 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,66 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,66 unequal: No Solution
No 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: 66:[10, 6], Operations: ['72-70=2', '8-2=6']
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,66 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,66 unequal: No Solution
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,66 unequal: No Solution
No 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: 66:[10, 10], Operations: ['72-70=2', '8+2=10']
Exploring Operation: 10-10=0, Resulting Numbers: [0]
0,66 unequal: No Solution
Exploring Operation: 10/10=1, Resulting Numbers: [1]
1,66 unequal: No Solution
Exploring Operation: 10+10=20, Resulting Numbers: [20]
20,66 unequal: No Solution
Exploring Operation: 10*10=100, Resulting Numbers: [100]
100,66 unequal: No Solution
No 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: 66:[10, 4], Operations: ['72-70=2', '8/2=4']
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,66 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,66 unequal: No Solution
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,66 unequal: No Solution
No 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: 66:[8, 12], Operations: ['72-70=2', '10+2=12']
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,66 unequal: No Solution
Exploring Operation: 8*12=96, Resulting Numbers: [96]
96,66 unequal: No Solution
Exploring Operation: 8+12=20, Resulting Numbers: [20]
20,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
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[70, 10, 9], Operations: ['72/8=9']
Exploring Operation: 70-9=61, Resulting Numbers: [10, 61]
Generated Node #0,0,0: 66:[10, 61] Operation: 70-9=61
Exploring Operation: 70-10=60, Resulting Numbers: [9, 60]
Generated Node #0,0,1: 66:[9, 60] Operation: 70-10=60
Exploring Operation: 70/10=7, Resulting Numbers: [9, 7]
Generated Node #0,0,2: 66:[9, 7] Operation: 70/10=7
Exploring Operation: 10+9=19, Resulting Numbers: [70, 19]
Generated Node #0,0,3: 66:[70, 19] Operation: 10+9=19
Exploring Operation: 10-9=1, Resulting Numbers: [70, 1]
Generated Node #0,0,4: 66:[70, 1] Operation: 10-9=1
Moving to Node #0,0,2
Current State: 66:[9, 7], Operations: ['72/8=9', '70/10=7']
Exploring Operation: 9+7=16, Resulting Numbers: [16]
16,66 unequal: No Solution
Exploring Operation: 9*7=63, Resulting Numbers: [63]
63,66 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,66 unequal: No Solution
Moving to Node #0,0,4
Current State: 66:[70, 1], Operations: ['72/8=9', '10-9=1']
Exploring Operation: 70*1=70, Resulting Numbers: [70]
70,66 unequal: No Solution
Exploring Operation: 70-1=69, Resulting Numbers: [69]
69,66 unequal: No Solution
Exploring Operation: 70/1=70, Resulting Numbers: [70]
70,66 unequal: No Solution
Exploring Operation: 70+1=71, Resulting Numbers: [71]
71,66 unequal: No Solution
Moving to Node #0,0,0
Current State: 66:[10, 61], Operations: ['72/8=9', '70-9=61']
Exploring Operation: 10+61=71, Resulting Numbers: [71]
71,66 unequal: No Solution
Exploring Operation: 61-10=51, Resulting Numbers: [51]
51,66 unequal: No Solution
Exploring Operation: 10*61=610, Resulting Numbers: [610]
610,66 unequal: No Solution
Moving to Node #0,0,3
Current State: 66:[70, 19], Operations: ['72/8=9', '10+9=19']
Exploring Operation: 70*19=1330, Resulting Numbers: [1330]
1330,66 unequal: No Solution
Exploring Operation: 70+19=89, Resulting Numbers: [89]
89,66 unequal: No Solution
Exploring Operation: 70-19=51, Resulting Numbers: [51]
51,66 unequal: No Solution
Moving to Node #0,0,1
Current State: 66:[9, 60], Operations: ['72/8=9', '70-10=60']
Exploring Operation: 9*60=540, Resulting Numbers: [540]
540,66 unequal: No Solution
Exploring Operation: 9+60=69, Resulting Numbers: [69]
69,66 unequal: No Solution
Exploring Operation: 60-9=51, Resulting Numbers: [51]
51,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
Current State: 66:[70, 10, 64], Operations: ['72-8=64']
Exploring Operation: 10+64=74, Resulting Numbers: [70, 74]
Generated Node #0,1,0: 66:[70, 74] Operation: 10+64=74
Exploring Operation: 70-10=60, Resulting Numbers: [64, 60]
Generated Node #0,1,1: 66:[64, 60] Operation: 70-10=60
Exploring Operation: 70-64=6, Resulting Numbers: [10, 6]
Generated Node #0,1,2: 66:[10, 6] Operation: 70-64=6
Exploring Operation: 70+10=80, Resulting Numbers: [64, 80]
Generated Node #0,1,3: 66:[64, 80] Operation: 70+10=80
Exploring Operation: 70/10=7, Resulting Numbers: [64, 7]
Generated Node #0,1,4: 66:[64, 7] Operation: 70/10=7
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 66:[10, 6], Operations: ['72-8=64', '70-64=6']
Exploring Operation: 10*6=60, Resulting Numbers: [60]
60,66 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,66 unequal: No Solution
Exploring Operation: 10+6=16, Resulting Numbers: [16]
16,66 unequal: No Solution
No 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: 66:[64, 7], Operations: ['72-8=64', '70/10=7']
Exploring Operation: 64+7=71, Resulting Numbers: [71]
71,66 unequal: No Solution
Exploring Operation: 64*7=448, Resulting Numbers: [448]
448,66 unequal: No Solution
Exploring Operation: 64-7=57, Resulting Numbers: [57]
57,66 unequal: No Solution
No 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: 66:[64, 60], Operations: ['72-8=64', '70-10=60']
Exploring Operation: 64+60=124, Resulting Numbers: [124]
124,66 unequal: No Solution
Exploring Operation: 64-60=4, Resulting Numbers: [4]
4,66 unequal: No Solution
Exploring Operation: 64*60=3840, Resulting Numbers: [3840]
3840,66 unequal: No Solution
No 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: 66:[70, 74], Operations: ['72-8=64', '10+64=74']
Exploring Operation: 70*74=5180, Resulting Numbers: [5180]
5180,66 unequal: No Solution
Exploring Operation: 74-70=4, Resulting Numbers: [4]
4,66 unequal: No Solution
Exploring Operation: 70+74=144, Resulting Numbers: [144]
144,66 unequal: No Solution
No 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: 66:[64, 80], Operations: ['72-8=64', '70+10=80']
Exploring Operation: 80-64=16, Resulting Numbers: [16]
16,66 unequal: No Solution
Exploring Operation: 64+80=144, Resulting Numbers: [144]
144,66 unequal: No Solution
Exploring Operation: 64*80=5120, Resulting Numbers: [5120]
5120,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
Start Sub Search at level 1: Moving to Node #0,4
Current State: 66:[72, 8, 7], Operations: ['70/10=7']
Exploring Operation: 72-7=65, Resulting Numbers: [8, 65]
Generated Node #0,4,0: 66:[8, 65] Operation: 72-7=65
Exploring Operation: 72/8=9, Resulting Numbers: [7, 9]
Generated Node #0,4,1: 66:[7, 9] Operation: 72/8=9
Exploring Operation: 72-8=64, Resulting Numbers: [7, 64]
Generated Node #0,4,2: 66:[7, 64] Operation: 72-8=64
Exploring Operation: 8-7=1, Resulting Numbers: [72, 1]
Generated Node #0,4,3: 66:[72, 1] Operation: 8-7=1
Exploring Operation: 8+7=15, Resulting Numbers: [72, 15]
Generated Node #0,4,4: 66:[72, 15] Operation: 8+7=15
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 66:[8, 65], Operations: ['70/10=7', '72-7=65']
Exploring Operation: 8+65=73, Resulting Numbers: [73]
73,66 unequal: No Solution
Exploring Operation: 8*65=520, Resulting Numbers: [520]
520,66 unequal: No Solution
Exploring Operation: 65-8=57, Resulting Numbers: [57]
57,66 unequal: No Solution
No 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: 66:[7, 9], Operations: ['70/10=7', '72/8=9']
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,66 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,66 unequal: No Solution
Exploring Operation: 7+9=16, Resulting Numbers: [16]
16,66 unequal: No Solution
No 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: 66:[7, 64], Operations: ['70/10=7', '72-8=64']
Exploring Operation: 7*64=448, Resulting Numbers: [448]
448,66 unequal: No Solution
Exploring Operation: 64-7=57, Resulting Numbers: [57]
57,66 unequal: No Solution
Exploring Operation: 7+64=71, Resulting Numbers: [71]
71,66 unequal: No Solution
No 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: 66:[72, 1], Operations: ['70/10=7', '8-7=1']
Exploring Operation: 72-1=71, Resulting Numbers: [71]
71,66 unequal: No Solution
Exploring Operation: 72*1=72, Resulting Numbers: [72]
72,66 unequal: No Solution
Exploring Operation: 72+1=73, Resulting Numbers: [73]
73,66 unequal: No Solution
Exploring Operation: 72/1=72, Resulting Numbers: [72]
72,66 unequal: No Solution
No 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: 66:[72, 15], Operations: ['70/10=7', '8+7=15']
Exploring Operation: 72-15=57, Resulting Numbers: [57]
57,66 unequal: No Solution
Exploring Operation: 72*15=1080, Resulting Numbers: [1080]
1080,66 unequal: No Solution
Exploring Operation: 72+15=87, Resulting Numbers: [87]
87,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
Start Sub Search at level 1: Moving to Node #0,2
Current State: 66:[70, 8, 62], Operations: ['72-10=62']
Exploring Operation: 70+8=78, Resulting Numbers: [62, 78]
Generated Node #0,2,0: 66:[62, 78] Operation: 70+8=78
Exploring Operation: 70-8=62, Resulting Numbers: [62, 62]
Generated Node #0,2,1: 66:[62, 62] Operation: 70-8=62
Exploring Operation: 8+62=70, Resulting Numbers: [70, 70]
Generated Node #0,2,2: 66:[70, 70] Operation: 8+62=70
Exploring Operation: 62-8=54, Resulting Numbers: [70, 54]
Generated Node #0,2,3: 66:[70, 54] Operation: 62-8=54
Exploring Operation: 70-62=8, Resulting Numbers: [8, 8]
Generated Node #0,2,4: 66:[8, 8] Operation: 70-62=8
Moving to Node #0,2,4
Current State: 66:[8, 8], Operations: ['72-10=62', '70-62=8']
Exploring Operation: 8*8=64, Resulting Numbers: [64]
64,66 unequal: No Solution
Exploring Operation: 8+8=16, Resulting Numbers: [16]
16,66 unequal: No Solution
Exploring Operation: 8-8=0, Resulting Numbers: [0]
0,66 unequal: No Solution
Exploring Operation: 8/8=1, Resulting Numbers: [1]
1,66 unequal: No Solution
Moving to Node #0,2,2
Current State: 66:[70, 70], Operations: ['72-10=62', '8+62=70']
Exploring Operation: 70*70=4900, Resulting Numbers: [4900]
4900,66 unequal: No Solution
Exploring Operation: 70/70=1, Resulting Numbers: [1]
1,66 unequal: No Solution
Exploring Operation: 70+70=140, Resulting Numbers: [140]
140,66 unequal: No Solution
Exploring Operation: 70-70=0, Resulting Numbers: [0]
0,66 unequal: No Solution
Moving to Node #0,2,1
Current State: 66:[62, 62], Operations: ['72-10=62', '70-8=62']
Exploring Operation: 62+62=124, Resulting Numbers: [124]
124,66 unequal: No Solution
Exploring Operation: 62/62=1, Resulting Numbers: [1]
1,66 unequal: No Solution
Exploring Operation: 62-62=0, Resulting Numbers: [0]
0,66 unequal: No Solution
Exploring Operation: 62*62=3844, Resulting Numbers: [3844]
3844,66 unequal: No Solution
Moving to Node #0,2,0
Current State: 66:[62, 78], Operations: ['72-10=62', '70+8=78']
Exploring Operation: 78-62=16, Resulting Numbers: [16]
16,66 unequal: No Solution
Exploring Operation: 62*78=4836, Resulting Numbers: [4836]
4836,66 unequal: No Solution
Exploring Operation: 62+78=140, Resulting Numbers: [140]
140,66 unequal: No Solution
Moving to Node #0,2,3
Current State: 66:[70, 54], Operations: ['72-10=62', '62-8=54']
Exploring Operation: 70*54=3780, Resulting Numbers: [3780]
3780,66 unequal: No Solution
Exploring Operation: 70+54=124, Resulting Numbers: [124]
124,66 unequal: No Solution
Exploring Operation: 70-54=16, Resulting Numbers: [16]
16,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
3,
59,
8,
45
] | 19 | [
"59-3=56",
"45-8=37",
"56-37=19"
] | Current State: 19:[3, 59, 8, 45], Operations: []
Exploring Operation: 59-3=56, Resulting Numbers: [8, 45, 56]
Generated Node #2: [8, 45, 56] from Operation: 59-3=56
Current State: 19:[8, 45, 56], Operations: ['59-3=56']
Exploring Operation: 45-8=37, Resulting Numbers: [56, 37]
Generated Node #3: [56, 37] from Operation: 45-8=37
Current State: 19:[56, 37], Operations: ['59-3=56', '45-8=37']
Exploring Operation: 56-37=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[3, 59, 8, 45], Operations: []
Exploring Operation: 45/3=15, Resulting Numbers: [59, 8, 15]
Generated Node #0,0: 19:[59, 8, 15] Operation: 45/3=15
Exploring Operation: 3*8=24, Resulting Numbers: [59, 45, 24]
Generated Node #0,1: 19:[59, 45, 24] Operation: 3*8=24
Exploring Operation: 59-45=14, Resulting Numbers: [3, 8, 14]
Generated Node #0,2: 19:[3, 8, 14] Operation: 59-45=14
Moving to Node #0,2
Current State: 19:[3, 8, 14], Operations: ['59-45=14']
Exploring Operation: 3+14=17, Resulting Numbers: [8, 17]
Generated Node #0,2,0: 19:[8, 17] Operation: 3+14=17
Exploring Operation: 3+8=11, Resulting Numbers: [14, 11]
Generated Node #0,2,1: 19:[14, 11] Operation: 3+8=11
Exploring Operation: 3*8=24, Resulting Numbers: [14, 24]
Generated Node #0,2,2: 19:[14, 24] Operation: 3*8=24
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 19:[14, 24], Operations: ['59-45=14', '3*8=24']
Exploring Operation: 14+24=38, Resulting Numbers: [38]
38,19 unequal: No Solution
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,19 unequal: No Solution
Exploring Operation: 14*24=336, Resulting Numbers: [336]
336,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 19:[8, 17], Operations: ['59-45=14', '3+14=17']
Exploring Operation: 8*17=136, Resulting Numbers: [136]
136,19 unequal: No Solution
Exploring Operation: 17-8=9, Resulting Numbers: [9]
9,19 unequal: No Solution
Exploring Operation: 8+17=25, Resulting Numbers: [25]
25,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 19:[14, 11], Operations: ['59-45=14', '3+8=11']
Exploring Operation: 14*11=154, Resulting Numbers: [154]
154,19 unequal: No Solution
Exploring Operation: 14+11=25, Resulting Numbers: [25]
25,19 unequal: No Solution
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,19 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: 19:[59, 8, 15], Operations: ['45/3=15']
Exploring Operation: 59-8=51, Resulting Numbers: [15, 51]
Generated Node #0,0,0: 19:[15, 51] Operation: 59-8=51
Exploring Operation: 8+15=23, Resulting Numbers: [59, 23]
Generated Node #0,0,1: 19:[59, 23] Operation: 8+15=23
Exploring Operation: 59-15=44, Resulting Numbers: [8, 44]
Generated Node #0,0,2: 19:[8, 44] Operation: 59-15=44
Moving to Node #0,1
Current State: 19:[59, 45, 24], Operations: ['3*8=24']
Exploring Operation: 59-24=35, Resulting Numbers: [45, 35]
Generated Node #0,1,0: 19:[45, 35] Operation: 59-24=35
Exploring Operation: 59-45=14, Resulting Numbers: [24, 14]
Generated Node #0,1,1: 19:[24, 14] Operation: 59-45=14
Exploring Operation: 45-24=21, Resulting Numbers: [59, 21]
Generated Node #0,1,2: 19:[59, 21] Operation: 45-24=21
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 19:[24, 14], Operations: ['3*8=24', '59-45=14']
Exploring Operation: 24+14=38, Resulting Numbers: [38]
38,19 unequal: No Solution
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,19 unequal: No Solution
Exploring Operation: 24*14=336, Resulting Numbers: [336]
336,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 19:[45, 35], Operations: ['3*8=24', '59-24=35']
Exploring Operation: 45*35=1575, Resulting Numbers: [1575]
1575,19 unequal: No Solution
Exploring Operation: 45+35=80, Resulting Numbers: [80]
80,19 unequal: No Solution
Exploring Operation: 45-35=10, Resulting Numbers: [10]
10,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 19:[59, 21], Operations: ['3*8=24', '45-24=21']
Exploring Operation: 59+21=80, Resulting Numbers: [80]
80,19 unequal: No Solution
Exploring Operation: 59-21=38, Resulting Numbers: [38]
38,19 unequal: No Solution
Exploring Operation: 59*21=1239, Resulting Numbers: [1239]
1239,19 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: 19:[15, 51], Operations: ['45/3=15', '59-8=51']
Exploring Operation: 15+51=66, Resulting Numbers: [66]
66,19 unequal: No Solution
Exploring Operation: 15*51=765, Resulting Numbers: [765]
765,19 unequal: No Solution
Exploring Operation: 51-15=36, Resulting Numbers: [36]
36,19 unequal: No Solution
Moving to Node #0,0,2
Current State: 19:[8, 44], Operations: ['45/3=15', '59-15=44']
Exploring Operation: 44-8=36, Resulting Numbers: [36]
36,19 unequal: No Solution
Exploring Operation: 8*44=352, Resulting Numbers: [352]
352,19 unequal: No Solution
Exploring Operation: 8+44=52, Resulting Numbers: [52]
52,19 unequal: No Solution
Moving to Node #0,0,1
Current State: 19:[59, 23], Operations: ['45/3=15', '8+15=23']
Exploring Operation: 59*23=1357, Resulting Numbers: [1357]
1357,19 unequal: No Solution
Exploring Operation: 59+23=82, Resulting Numbers: [82]
82,19 unequal: No Solution
Exploring Operation: 59-23=36, Resulting Numbers: [36]
36,19 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
34,
79,
32,
3
] | 27 | [
"34+79=113",
"113-32=81",
"81/3=27"
] | Current State: 27:[34, 79, 32, 3], Operations: []
Exploring Operation: 34+79=113, Resulting Numbers: [32, 3, 113]
Generated Node #2: [32, 3, 113] from Operation: 34+79=113
Current State: 27:[32, 3, 113], Operations: ['34+79=113']
Exploring Operation: 113-32=81, Resulting Numbers: [3, 81]
Generated Node #3: [3, 81] from Operation: 113-32=81
Current State: 27:[3, 81], Operations: ['34+79=113', '113-32=81']
Exploring Operation: 81/3=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[34, 79, 32, 3], Operations: []
Exploring Operation: 79-34=45, Resulting Numbers: [32, 3, 45]
Generated Node #0,0: 27:[32, 3, 45] Operation: 79-34=45
Exploring Operation: 34-32=2, Resulting Numbers: [79, 3, 2]
Generated Node #0,1: 27:[79, 3, 2] Operation: 34-32=2
Exploring Operation: 79-32=47, Resulting Numbers: [34, 3, 47]
Generated Node #0,2: 27:[34, 3, 47] Operation: 79-32=47
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[32, 3, 45], Operations: ['79-34=45']
Exploring Operation: 45/3=15, Resulting Numbers: [32, 15]
Generated Node #0,0,0: 27:[32, 15] Operation: 45/3=15
Exploring Operation: 32-3=29, Resulting Numbers: [45, 29]
Generated Node #0,0,1: 27:[45, 29] Operation: 32-3=29
Exploring Operation: 45-32=13, Resulting Numbers: [3, 13]
Generated Node #0,0,2: 27:[3, 13] Operation: 45-32=13
Moving to Node #0,0,2
Current State: 27:[3, 13], Operations: ['79-34=45', '45-32=13']
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,27 unequal: No Solution
Moving to Node #0,0,0
Current State: 27:[32, 15], Operations: ['79-34=45', '45/3=15']
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,27 unequal: No Solution
Exploring Operation: 32*15=480, Resulting Numbers: [480]
480,27 unequal: No Solution
Exploring Operation: 32+15=47, Resulting Numbers: [47]
47,27 unequal: No Solution
Moving to Node #0,0,1
Current State: 27:[45, 29], Operations: ['79-34=45', '32-3=29']
Exploring Operation: 45*29=1305, Resulting Numbers: [1305]
1305,27 unequal: No Solution
Exploring Operation: 45+29=74, Resulting Numbers: [74]
74,27 unequal: No Solution
Exploring Operation: 45-29=16, Resulting Numbers: [16]
16,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 27:[34, 3, 47], Operations: ['79-32=47']
Exploring Operation: 47-34=13, Resulting Numbers: [3, 13]
Generated Node #0,2,0: 27:[3, 13] Operation: 47-34=13
Exploring Operation: 47-3=44, Resulting Numbers: [34, 44]
Generated Node #0,2,1: 27:[34, 44] Operation: 47-3=44
Exploring Operation: 34-3=31, Resulting Numbers: [47, 31]
Generated Node #0,2,2: 27:[47, 31] Operation: 34-3=31
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 27:[3, 13], Operations: ['79-32=47', '47-34=13']
Exploring Operation: 3+13=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 3*13=39, Resulting Numbers: [39]
39,27 unequal: No Solution
Exploring Operation: 13-3=10, Resulting Numbers: [10]
10,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,2,1
Current State: 27:[34, 44], Operations: ['79-32=47', '47-3=44']
Exploring Operation: 44-34=10, Resulting Numbers: [10]
10,27 unequal: No Solution
Exploring Operation: 34*44=1496, Resulting Numbers: [1496]
1496,27 unequal: No Solution
Exploring Operation: 34+44=78, Resulting Numbers: [78]
78,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,2,2
Current State: 27:[47, 31], Operations: ['79-32=47', '34-3=31']
Exploring Operation: 47-31=16, Resulting Numbers: [16]
16,27 unequal: No Solution
Exploring Operation: 47+31=78, Resulting Numbers: [78]
78,27 unequal: No Solution
Exploring Operation: 47*31=1457, Resulting Numbers: [1457]
1457,27 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: 27:[79, 3, 2], Operations: ['34-32=2']
Exploring Operation: 79-3=76, Resulting Numbers: [2, 76]
Generated Node #0,1,0: 27:[2, 76] Operation: 79-3=76
Exploring Operation: 79+2=81, Resulting Numbers: [3, 81]
Generated Node #0,1,1: 27:[3, 81] Operation: 79+2=81
Exploring Operation: 79-2=77, Resulting Numbers: [3, 77]
Generated Node #0,1,2: 27:[3, 77] Operation: 79-2=77
Moving to Node #0,1,0
Current State: 27:[2, 76], Operations: ['34-32=2', '79-3=76']
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,27 unequal: No Solution
Exploring Operation: 2+76=78, Resulting Numbers: [78]
78,27 unequal: No Solution
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,27 unequal: No Solution
Moving to Node #0,1,2
Current State: 27:[3, 77], Operations: ['34-32=2', '79-2=77']
Exploring Operation: 3+77=80, Resulting Numbers: [80]
80,27 unequal: No Solution
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,27 unequal: No Solution
Exploring Operation: 3*77=231, Resulting Numbers: [231]
231,27 unequal: No Solution
Moving to Node #0,1,1
Current State: 27:[3, 81], Operations: ['34-32=2', '79+2=81']
Exploring Operation: 81/3=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[34, 79, 32, 3], Operations: []
Exploring Operation: 34-32=2, Resulting Numbers: [79, 3, 2]
Generated Node #0,1: 27:[79, 3, 2] Operation: 34-32=2
Moving to Node #0,1
Current State: 27:[79, 3, 2], Operations: ['34-32=2']
Exploring Operation: 79+2=81, Resulting Numbers: [3, 81]
Generated Node #0,1,1: 27:[3, 81] Operation: 79+2=81
Moving to Node #0,1,1
Current State: 27:[3, 81], Operations: ['34-32=2', '79+2=81']
Exploring Operation: 81/3=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 1
| 0.96441 | hs_3 | sum_heuristic |
[
77,
10,
36,
99
] | 38 | [
"77*36=2772",
"2772/99=28",
"10+28=38"
] | Current State: 38:[77, 10, 36, 99], Operations: []
Exploring Operation: 77*36=2772, Resulting Numbers: [10, 99, 2772]
Generated Node #2: [10, 99, 2772] from Operation: 77*36=2772
Current State: 38:[10, 99, 2772], Operations: ['77*36=2772']
Exploring Operation: 2772/99=28, Resulting Numbers: [10, 28]
Generated Node #3: [10, 28] from Operation: 2772/99=28
Current State: 38:[10, 28], Operations: ['77*36=2772', '2772/99=28']
Exploring Operation: 10+28=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[77, 10, 36, 99], Operations: []
Exploring Operation: 99-77=22, Resulting Numbers: [10, 36, 22]
Generated Node #0,0: 38:[10, 36, 22] Operation: 99-77=22
Exploring Operation: 77-10=67, Resulting Numbers: [36, 99, 67]
Generated Node #0,1: 38:[36, 99, 67] Operation: 77-10=67
Exploring Operation: 99-36=63, Resulting Numbers: [77, 10, 63]
Generated Node #0,2: 38:[77, 10, 63] Operation: 99-36=63
Exploring Operation: 77-36=41, Resulting Numbers: [10, 99, 41]
Generated Node #0,3: 38:[10, 99, 41] Operation: 77-36=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[10, 36, 22], Operations: ['99-77=22']
Exploring Operation: 22-10=12, Resulting Numbers: [36, 12]
Generated Node #0,0,0: 38:[36, 12] Operation: 22-10=12
Exploring Operation: 10+22=32, Resulting Numbers: [36, 32]
Generated Node #0,0,1: 38:[36, 32] Operation: 10+22=32
Exploring Operation: 10+36=46, Resulting Numbers: [22, 46]
Generated Node #0,0,2: 38:[22, 46] Operation: 10+36=46
Exploring Operation: 36-10=26, Resulting Numbers: [22, 26]
Generated Node #0,0,3: 38:[22, 26] Operation: 36-10=26
Moving to Node #0,0,1
Current State: 38:[36, 32], Operations: ['99-77=22', '10+22=32']
Exploring Operation: 36+32=68, Resulting Numbers: [68]
68,38 unequal: No Solution
Exploring Operation: 36-32=4, Resulting Numbers: [4]
4,38 unequal: No Solution
Exploring Operation: 36*32=1152, Resulting Numbers: [1152]
1152,38 unequal: No Solution
Moving to Node #0,0,0
Current State: 38:[36, 12], Operations: ['99-77=22', '22-10=12']
Exploring Operation: 36+12=48, Resulting Numbers: [48]
48,38 unequal: No Solution
Exploring Operation: 36/12=3, Resulting Numbers: [3]
3,38 unequal: No Solution
Exploring Operation: 36-12=24, Resulting Numbers: [24]
24,38 unequal: No Solution
Exploring Operation: 36*12=432, Resulting Numbers: [432]
432,38 unequal: No Solution
Moving to Node #0,0,3
Current State: 38:[22, 26], Operations: ['99-77=22', '36-10=26']
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,38 unequal: No Solution
Exploring Operation: 22+26=48, Resulting Numbers: [48]
48,38 unequal: No Solution
Exploring Operation: 22*26=572, Resulting Numbers: [572]
572,38 unequal: No Solution
Moving to Node #0,0,2
Current State: 38:[22, 46], Operations: ['99-77=22', '10+36=46']
Exploring Operation: 22+46=68, Resulting Numbers: [68]
68,38 unequal: No Solution
Exploring Operation: 46-22=24, Resulting Numbers: [24]
24,38 unequal: No Solution
Exploring Operation: 22*46=1012, Resulting Numbers: [1012]
1012,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 38:[77, 10, 63], Operations: ['99-36=63']
Exploring Operation: 77-10=67, Resulting Numbers: [63, 67]
Generated Node #0,2,0: 38:[63, 67] Operation: 77-10=67
Exploring Operation: 63-10=53, Resulting Numbers: [77, 53]
Generated Node #0,2,1: 38:[77, 53] Operation: 63-10=53
Exploring Operation: 77+10=87, Resulting Numbers: [63, 87]
Generated Node #0,2,2: 38:[63, 87] Operation: 77+10=87
Exploring Operation: 77-63=14, Resulting Numbers: [10, 14]
Generated Node #0,2,3: 38:[10, 14] Operation: 77-63=14
Moving to Node #0,2,3
Current State: 38:[10, 14], Operations: ['99-36=63', '77-63=14']
Exploring Operation: 10+14=24, Resulting Numbers: [24]
24,38 unequal: No Solution
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,38 unequal: No Solution
Exploring Operation: 10*14=140, Resulting Numbers: [140]
140,38 unequal: No Solution
Moving to Node #0,2,1
Current State: 38:[77, 53], Operations: ['99-36=63', '63-10=53']
Exploring Operation: 77-53=24, Resulting Numbers: [24]
24,38 unequal: No Solution
Exploring Operation: 77*53=4081, Resulting Numbers: [4081]
4081,38 unequal: No Solution
Exploring Operation: 77+53=130, Resulting Numbers: [130]
130,38 unequal: No Solution
Moving to Node #0,2,0
Current State: 38:[63, 67], Operations: ['99-36=63', '77-10=67']
Exploring Operation: 67-63=4, Resulting Numbers: [4]
4,38 unequal: No Solution
Exploring Operation: 63+67=130, Resulting Numbers: [130]
130,38 unequal: No Solution
Exploring Operation: 63*67=4221, Resulting Numbers: [4221]
4221,38 unequal: No Solution
Moving to Node #0,2,2
Current State: 38:[63, 87], Operations: ['99-36=63', '77+10=87']
Exploring Operation: 63*87=5481, Resulting Numbers: [5481]
5481,38 unequal: No Solution
Exploring Operation: 87-63=24, Resulting Numbers: [24]
24,38 unequal: No Solution
Exploring Operation: 63+87=150, Resulting Numbers: [150]
150,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 38:[10, 99, 41], Operations: ['77-36=41']
Exploring Operation: 99-41=58, Resulting Numbers: [10, 58]
Generated Node #0,3,0: 38:[10, 58] Operation: 99-41=58
Exploring Operation: 10+99=109, Resulting Numbers: [41, 109]
Generated Node #0,3,1: 38:[41, 109] Operation: 10+99=109
Exploring Operation: 99-10=89, Resulting Numbers: [41, 89]
Generated Node #0,3,2: 38:[41, 89] Operation: 99-10=89
Exploring Operation: 41-10=31, Resulting Numbers: [99, 31]
Generated Node #0,3,3: 38:[99, 31] Operation: 41-10=31
Moving to Node #0,3,0
Current State: 38:[10, 58], Operations: ['77-36=41', '99-41=58']
Exploring Operation: 10+58=68, Resulting Numbers: [68]
68,38 unequal: No Solution
Exploring Operation: 10*58=580, Resulting Numbers: [580]
580,38 unequal: No Solution
Exploring Operation: 58-10=48, Resulting Numbers: [48]
48,38 unequal: No Solution
Moving to Node #0,3,2
Current State: 38:[41, 89], Operations: ['77-36=41', '99-10=89']
Exploring Operation: 41*89=3649, Resulting Numbers: [3649]
3649,38 unequal: No Solution
Exploring Operation: 41+89=130, Resulting Numbers: [130]
130,38 unequal: No Solution
Exploring Operation: 89-41=48, Resulting Numbers: [48]
48,38 unequal: No Solution
Moving to Node #0,3,3
Current State: 38:[99, 31], Operations: ['77-36=41', '41-10=31']
Exploring Operation: 99-31=68, Resulting Numbers: [68]
68,38 unequal: No Solution
Exploring Operation: 99+31=130, Resulting Numbers: [130]
130,38 unequal: No Solution
Exploring Operation: 99*31=3069, Resulting Numbers: [3069]
3069,38 unequal: No Solution
Moving to Node #0,3,1
Current State: 38:[41, 109], Operations: ['77-36=41', '10+99=109']
Exploring Operation: 41+109=150, Resulting Numbers: [150]
150,38 unequal: No Solution
Exploring Operation: 109-41=68, Resulting Numbers: [68]
68,38 unequal: No Solution
Exploring Operation: 41*109=4469, Resulting Numbers: [4469]
4469,38 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[36, 99, 67], Operations: ['77-10=67']
Exploring Operation: 36+99=135, Resulting Numbers: [67, 135]
Generated Node #0,1,0: 38:[67, 135] Operation: 36+99=135
Exploring Operation: 99-36=63, Resulting Numbers: [67, 63]
Generated Node #0,1,1: 38:[67, 63] Operation: 99-36=63
Exploring Operation: 99-67=32, Resulting Numbers: [36, 32]
Generated Node #0,1,2: 38:[36, 32] Operation: 99-67=32
Exploring Operation: 67-36=31, Resulting Numbers: [99, 31]
Generated Node #0,1,3: 38:[99, 31] Operation: 67-36=31
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 38:[36, 32], Operations: ['77-10=67', '99-67=32']
Exploring Operation: 36+32=68, Resulting Numbers: [68]
68,38 unequal: No Solution
Exploring Operation: 36*32=1152, Resulting Numbers: [1152]
1152,38 unequal: No Solution
Exploring Operation: 36-32=4, Resulting Numbers: [4]
4,38 unequal: No Solution
No 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: 38:[67, 63], Operations: ['77-10=67', '99-36=63']
Exploring Operation: 67*63=4221, Resulting Numbers: [4221]
4221,38 unequal: No Solution
Exploring Operation: 67-63=4, Resulting Numbers: [4]
4,38 unequal: No Solution
Exploring Operation: 67+63=130, Resulting Numbers: [130]
130,38 unequal: No Solution
No 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: 38:[99, 31], Operations: ['77-10=67', '67-36=31']
Exploring Operation: 99*31=3069, Resulting Numbers: [3069]
3069,38 unequal: No Solution
Exploring Operation: 99+31=130, Resulting Numbers: [130]
130,38 unequal: No Solution
Exploring Operation: 99-31=68, Resulting Numbers: [68]
68,38 unequal: No Solution
No 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: 38:[67, 135], Operations: ['77-10=67', '36+99=135']
Exploring Operation: 135-67=68, Resulting Numbers: [68]
68,38 unequal: No Solution
Exploring Operation: 67+135=202, Resulting Numbers: [202]
202,38 unequal: No Solution
Exploring Operation: 67*135=9045, Resulting Numbers: [9045]
9045,38 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 |
[
14,
49,
46,
42
] | 44 | [
"49-42=7",
"14/7=2",
"46-2=44"
] | Current State: 44:[14, 49, 46, 42], Operations: []
Exploring Operation: 49-42=7, Resulting Numbers: [14, 46, 7]
Generated Node #2: [14, 46, 7] from Operation: 49-42=7
Current State: 44:[14, 46, 7], Operations: ['49-42=7']
Exploring Operation: 14/7=2, Resulting Numbers: [46, 2]
Generated Node #3: [46, 2] from Operation: 14/7=2
Current State: 44:[46, 2], Operations: ['49-42=7', '14/7=2']
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[14, 49, 46, 42], Operations: []
Exploring Operation: 49-46=3, Resulting Numbers: [14, 42, 3]
Generated Node #0,0: 44:[14, 42, 3] Operation: 49-46=3
Exploring Operation: 49-42=7, Resulting Numbers: [14, 46, 7]
Generated Node #0,1: 44:[14, 46, 7] Operation: 49-42=7
Exploring Operation: 42/14=3, Resulting Numbers: [49, 46, 3]
Generated Node #0,2: 44:[49, 46, 3] Operation: 42/14=3
Moving to Node #0,0
Current State: 44:[14, 42, 3], Operations: ['49-46=3']
Exploring Operation: 14*3=42, Resulting Numbers: [42, 42]
Generated Node #0,0,0: 44:[42, 42] Operation: 14*3=42
Exploring Operation: 42/14=3, Resulting Numbers: [3, 3]
Generated Node #0,0,1: 44:[3, 3] Operation: 42/14=3
Exploring Operation: 14-3=11, Resulting Numbers: [42, 11]
Generated Node #0,0,2: 44:[42, 11] Operation: 14-3=11
Moving to Node #0,1
Current State: 44:[14, 46, 7], Operations: ['49-42=7']
Exploring Operation: 14-7=7, Resulting Numbers: [46, 7]
Generated Node #0,1,0: 44:[46, 7] Operation: 14-7=7
Exploring Operation: 14/7=2, Resulting Numbers: [46, 2]
Generated Node #0,1,1: 44:[46, 2] Operation: 14/7=2
Exploring Operation: 14+7=21, Resulting Numbers: [46, 21]
Generated Node #0,1,2: 44:[46, 21] Operation: 14+7=21
Moving to Node #0,2
Current State: 44:[49, 46, 3], Operations: ['42/14=3']
Exploring Operation: 46-3=43, Resulting Numbers: [49, 43]
Generated Node #0,2,0: 44:[49, 43] Operation: 46-3=43
Exploring Operation: 49-46=3, Resulting Numbers: [3, 3]
Generated Node #0,2,1: 44:[3, 3] Operation: 49-46=3
Exploring Operation: 49-3=46, Resulting Numbers: [46, 46]
Generated Node #0,2,2: 44:[46, 46] Operation: 49-3=46
Moving to Node #0,0,1
Current State: 44:[3, 3], Operations: ['49-46=3', '42/14=3']
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,44 unequal: No Solution
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,44 unequal: No Solution
Moving to Node #0,2,1
Current State: 44:[3, 3], Operations: ['42/14=3', '49-46=3']
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,44 unequal: No Solution
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,44 unequal: No Solution
Moving to Node #0,0,2
Current State: 44:[42, 11], Operations: ['49-46=3', '14-3=11']
Exploring Operation: 42-11=31, Resulting Numbers: [31]
31,44 unequal: No Solution
Exploring Operation: 42+11=53, Resulting Numbers: [53]
53,44 unequal: No Solution
Exploring Operation: 42*11=462, Resulting Numbers: [462]
462,44 unequal: No Solution
Moving to Node #0,1,1
Current State: 44:[46, 2], Operations: ['49-42=7', '14/7=2']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,44 unequal: No Solution
Exploring Operation: 46+2=48, Resulting Numbers: [48]
48,44 unequal: No Solution
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[14, 49, 46, 42], Operations: []
Exploring Operation: 49-42=7, Resulting Numbers: [14, 46, 7]
Generated Node #0,1: 44:[14, 46, 7] Operation: 49-42=7
Moving to Node #0,1
Current State: 44:[14, 46, 7], Operations: ['49-42=7']
Exploring Operation: 14/7=2, Resulting Numbers: [46, 2]
Generated Node #0,1,1: 44:[46, 2] Operation: 14/7=2
Moving to Node #0,1,1
Current State: 44:[46, 2], Operations: ['49-42=7', '14/7=2']
Exploring Operation: 46-2=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 0.975694 | hs_3 | sum_heuristic |
[
28,
6,
94,
16
] | 100 | [
"28-6=22",
"94-16=78",
"22+78=100"
] | Current State: 100:[28, 6, 94, 16], Operations: []
Exploring Operation: 28-6=22, Resulting Numbers: [94, 16, 22]
Generated Node #2: [94, 16, 22] from Operation: 28-6=22
Current State: 100:[94, 16, 22], Operations: ['28-6=22']
Exploring Operation: 94-16=78, Resulting Numbers: [22, 78]
Generated Node #3: [22, 78] from Operation: 94-16=78
Current State: 100:[22, 78], Operations: ['28-6=22', '94-16=78']
Exploring Operation: 22+78=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[28, 6, 94, 16], Operations: []
Exploring Operation: 16-6=10, Resulting Numbers: [28, 94, 10]
Generated Node #0,0: 100:[28, 94, 10] Operation: 16-6=10
Exploring Operation: 28-16=12, Resulting Numbers: [6, 94, 12]
Generated Node #0,1: 100:[6, 94, 12] Operation: 28-16=12
Exploring Operation: 6+16=22, Resulting Numbers: [28, 94, 22]
Generated Node #0,2: 100:[28, 94, 22] Operation: 6+16=22
Exploring Operation: 28-6=22, Resulting Numbers: [94, 16, 22]
Generated Node #0,3: 100:[94, 16, 22] Operation: 28-6=22
Exploring Operation: 6+94=100, Resulting Numbers: [28, 16, 100]
Generated Node #0,4: 100:[28, 16, 100] Operation: 6+94=100
Moving to Node #0,4
Current State: 100:[28, 16, 100], Operations: ['6+94=100']
Exploring Operation: 28+16=44, Resulting Numbers: [100, 44]
Generated Node #0,4,0: 100:[100, 44] Operation: 28+16=44
Exploring Operation: 28-16=12, Resulting Numbers: [100, 12]
Generated Node #0,4,1: 100:[100, 12] Operation: 28-16=12
Exploring Operation: 16+100=116, Resulting Numbers: [28, 116]
Generated Node #0,4,2: 100:[28, 116] Operation: 16+100=116
Exploring Operation: 100-28=72, Resulting Numbers: [16, 72]
Generated Node #0,4,3: 100:[16, 72] Operation: 100-28=72
Exploring Operation: 100-16=84, Resulting Numbers: [28, 84]
Generated Node #0,4,4: 100:[28, 84] Operation: 100-16=84
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 100:[100, 12], Operations: ['6+94=100', '28-16=12']
Exploring Operation: 100-12=88, Resulting Numbers: [88]
88,100 unequal: No Solution
Exploring Operation: 100+12=112, Resulting Numbers: [112]
112,100 unequal: No Solution
Exploring Operation: 100*12=1200, Resulting Numbers: [1200]
1200,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 100:[100, 44], Operations: ['6+94=100', '28+16=44']
Exploring Operation: 100+44=144, Resulting Numbers: [144]
144,100 unequal: No Solution
Exploring Operation: 100*44=4400, Resulting Numbers: [4400]
4400,100 unequal: No Solution
Exploring Operation: 100-44=56, Resulting Numbers: [56]
56,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 100:[28, 116], Operations: ['6+94=100', '16+100=116']
Exploring Operation: 28+116=144, Resulting Numbers: [144]
144,100 unequal: No Solution
Exploring Operation: 28*116=3248, Resulting Numbers: [3248]
3248,100 unequal: No Solution
Exploring Operation: 116-28=88, Resulting Numbers: [88]
88,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 100:[28, 84], Operations: ['6+94=100', '100-16=84']
Exploring Operation: 84/28=3, Resulting Numbers: [3]
3,100 unequal: No Solution
Exploring Operation: 28*84=2352, Resulting Numbers: [2352]
2352,100 unequal: No Solution
Exploring Operation: 84-28=56, Resulting Numbers: [56]
56,100 unequal: No Solution
Exploring Operation: 28+84=112, Resulting Numbers: [112]
112,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 100:[16, 72], Operations: ['6+94=100', '100-28=72']
Exploring Operation: 16+72=88, Resulting Numbers: [88]
88,100 unequal: No Solution
Exploring Operation: 72-16=56, Resulting Numbers: [56]
56,100 unequal: No Solution
Exploring Operation: 16*72=1152, Resulting Numbers: [1152]
1152,100 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: 100:[6, 94, 12], Operations: ['28-16=12']
Exploring Operation: 12/6=2, Resulting Numbers: [94, 2]
Generated Node #0,1,0: 100:[94, 2] Operation: 12/6=2
Exploring Operation: 6+94=100, Resulting Numbers: [12, 100]
Generated Node #0,1,1: 100:[12, 100] Operation: 6+94=100
Exploring Operation: 94+12=106, Resulting Numbers: [6, 106]
Generated Node #0,1,2: 100:[6, 106] Operation: 94+12=106
Exploring Operation: 6+12=18, Resulting Numbers: [94, 18]
Generated Node #0,1,3: 100:[94, 18] Operation: 6+12=18
Exploring Operation: 12-6=6, Resulting Numbers: [94, 6]
Generated Node #0,1,4: 100:[94, 6] Operation: 12-6=6
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 100:[12, 100], Operations: ['28-16=12', '6+94=100']
Exploring Operation: 100-12=88, Resulting Numbers: [88]
88,100 unequal: No Solution
Exploring Operation: 12+100=112, Resulting Numbers: [112]
112,100 unequal: No Solution
Exploring Operation: 12*100=1200, Resulting Numbers: [1200]
1200,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 100:[94, 2], Operations: ['28-16=12', '12/6=2']
Exploring Operation: 94*2=188, Resulting Numbers: [188]
188,100 unequal: No Solution
Exploring Operation: 94/2=47, Resulting Numbers: [47]
47,100 unequal: No Solution
Exploring Operation: 94+2=96, Resulting Numbers: [96]
96,100 unequal: No Solution
Exploring Operation: 94-2=92, Resulting Numbers: [92]
92,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 100:[6, 106], Operations: ['28-16=12', '94+12=106']
Exploring Operation: 6+106=112, Resulting Numbers: [112]
112,100 unequal: No Solution
Exploring Operation: 6*106=636, Resulting Numbers: [636]
636,100 unequal: No Solution
Exploring Operation: 106-6=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[28, 6, 94, 16], Operations: []
Exploring Operation: 28-16=12, Resulting Numbers: [6, 94, 12]
Generated Node #0,1: 100:[6, 94, 12] Operation: 28-16=12
Moving to Node #0,1
Current State: 100:[6, 94, 12], Operations: ['28-16=12']
Exploring Operation: 94+12=106, Resulting Numbers: [6, 106]
Generated Node #0,1,2: 100:[6, 106] Operation: 94+12=106
Moving to Node #0,1,2
Current State: 100:[6, 106], Operations: ['28-16=12', '94+12=106']
Exploring Operation: 106-6=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.960938 | hs_5 | mult_heuristic |
[
14,
60,
21,
13
] | 39 | [
"14-13=1",
"60-21=39",
"1*39=39"
] | Current State: 39:[14, 60, 21, 13], Operations: []
Exploring Operation: 14-13=1, Resulting Numbers: [60, 21, 1]
Generated Node #2: [60, 21, 1] from Operation: 14-13=1
Current State: 39:[60, 21, 1], Operations: ['14-13=1']
Exploring Operation: 60-21=39, Resulting Numbers: [1, 39]
Generated Node #3: [1, 39] from Operation: 60-21=39
Current State: 39:[1, 39], Operations: ['14-13=1', '60-21=39']
Exploring Operation: 1*39=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[14, 60, 21, 13], Operations: []
Exploring Operation: 60-14=46, Resulting Numbers: [21, 13, 46]
Generated Node #0,0: 39:[21, 13, 46] Operation: 60-14=46
Exploring Operation: 60-21=39, Resulting Numbers: [14, 13, 39]
Generated Node #0,1: 39:[14, 13, 39] Operation: 60-21=39
Start Sub Search at level 1: Moving to Node #0,1
Current State: 39:[14, 13, 39], Operations: ['60-21=39']
Exploring Operation: 14-13=1, Resulting Numbers: [39, 1]
Generated Node #0,1,0: 39:[39, 1] Operation: 14-13=1
Exploring Operation: 39/13=3, Resulting Numbers: [14, 3]
Generated Node #0,1,1: 39:[14, 3] Operation: 39/13=3
Moving to Node #0,1,1
Current State: 39:[14, 3], Operations: ['60-21=39', '39/13=3']
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,39 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,39 unequal: No Solution
Moving to Node #0,1,0
Current State: 39:[39, 1], Operations: ['60-21=39', '14-13=1']
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[14, 60, 21, 13], Operations: []
Exploring Operation: 60-21=39, Resulting Numbers: [14, 13, 39]
Generated Node #0,1: 39:[14, 13, 39] Operation: 60-21=39
Moving to Node #0,1
Current State: 39:[14, 13, 39], Operations: ['60-21=39']
Exploring Operation: 14-13=1, Resulting Numbers: [39, 1]
Generated Node #0,1,0: 39:[39, 1] Operation: 14-13=1
Moving to Node #0,1,0
Current State: 39:[39, 1], Operations: ['60-21=39', '14-13=1']
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
68,
27,
30,
33
] | 34 | [
"68*30=2040",
"27+33=60",
"2040/60=34"
] | Current State: 34:[68, 27, 30, 33], Operations: []
Exploring Operation: 68*30=2040, Resulting Numbers: [27, 33, 2040]
Generated Node #2: [27, 33, 2040] from Operation: 68*30=2040
Current State: 34:[27, 33, 2040], Operations: ['68*30=2040']
Exploring Operation: 27+33=60, Resulting Numbers: [2040, 60]
Generated Node #3: [2040, 60] from Operation: 27+33=60
Current State: 34:[2040, 60], Operations: ['68*30=2040', '27+33=60']
Exploring Operation: 2040/60=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[68, 27, 30, 33], Operations: []
Exploring Operation: 68-30=38, Resulting Numbers: [27, 33, 38]
Generated Node #0,0: 34:[27, 33, 38] Operation: 68-30=38
Exploring Operation: 68-27=41, Resulting Numbers: [30, 33, 41]
Generated Node #0,1: 34:[30, 33, 41] Operation: 68-27=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[27, 33, 38], Operations: ['68-30=38']
Exploring Operation: 38-27=11, Resulting Numbers: [33, 11]
Generated Node #0,0,0: 34:[33, 11] Operation: 38-27=11
Exploring Operation: 33-27=6, Resulting Numbers: [38, 6]
Generated Node #0,0,1: 34:[38, 6] Operation: 33-27=6
Moving to Node #0,0,0
Current State: 34:[33, 11], Operations: ['68-30=38', '38-27=11']
Exploring Operation: 33-11=22, Resulting Numbers: [22]
22,34 unequal: No Solution
Exploring Operation: 33/11=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Moving to Node #0,0,1
Current State: 34:[38, 6], Operations: ['68-30=38', '33-27=6']
Exploring Operation: 38+6=44, Resulting Numbers: [44]
44,34 unequal: No Solution
Exploring Operation: 38-6=32, Resulting Numbers: [32]
32,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[30, 33, 41], Operations: ['68-27=41']
Exploring Operation: 41-30=11, Resulting Numbers: [33, 11]
Generated Node #0,1,0: 34:[33, 11] Operation: 41-30=11
Exploring Operation: 33-30=3, Resulting Numbers: [41, 3]
Generated Node #0,1,1: 34:[41, 3] Operation: 33-30=3
Moving to Node #0,1,0
Current State: 34:[33, 11], Operations: ['68-27=41', '41-30=11']
Exploring Operation: 33/11=3, Resulting Numbers: [3]
3,34 unequal: No Solution
Exploring Operation: 33-11=22, Resulting Numbers: [22]
22,34 unequal: No Solution
Moving to Node #0,1,1
Current State: 34:[41, 3], Operations: ['68-27=41', '33-30=3']
Exploring Operation: 41+3=44, Resulting Numbers: [44]
44,34 unequal: No Solution
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
5,
92,
46,
23
] | 14 | [
"5*46=230",
"92+230=322",
"322/23=14"
] | Current State: 14:[5, 92, 46, 23], Operations: []
Exploring Operation: 5*46=230, Resulting Numbers: [92, 23, 230]
Generated Node #2: [92, 23, 230] from Operation: 5*46=230
Current State: 14:[92, 23, 230], Operations: ['5*46=230']
Exploring Operation: 92+230=322, Resulting Numbers: [23, 322]
Generated Node #3: [23, 322] from Operation: 92+230=322
Current State: 14:[23, 322], Operations: ['5*46=230', '92+230=322']
Exploring Operation: 322/23=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[5, 92, 46, 23], Operations: []
Exploring Operation: 92/23=4, Resulting Numbers: [5, 46, 4]
Generated Node #0,0: 14:[5, 46, 4] Operation: 92/23=4
Exploring Operation: 92/46=2, Resulting Numbers: [5, 23, 2]
Generated Node #0,1: 14:[5, 23, 2] Operation: 92/46=2
Moving to Node #0,1
Current State: 14:[5, 23, 2], Operations: ['92/46=2']
Exploring Operation: 23-5=18, Resulting Numbers: [2, 18]
Generated Node #0,1,0: 14:[2, 18] Operation: 23-5=18
Exploring Operation: 5+2=7, Resulting Numbers: [23, 7]
Generated Node #0,1,1: 14:[23, 7] Operation: 5+2=7
Moving to Node #0,0
Current State: 14:[5, 46, 4], Operations: ['92/23=4']
Exploring Operation: 46-4=42, Resulting Numbers: [5, 42]
Generated Node #0,0,0: 14:[5, 42] Operation: 46-4=42
Exploring Operation: 46-5=41, Resulting Numbers: [4, 41]
Generated Node #0,0,1: 14:[4, 41] Operation: 46-5=41
Moving to Node #0,1,0
Current State: 14:[2, 18], Operations: ['92/46=2', '23-5=18']
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,14 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,14 unequal: No Solution
Moving to Node #0,1,1
Current State: 14:[23, 7], Operations: ['92/46=2', '5+2=7']
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,14 unequal: No Solution
Exploring Operation: 23+7=30, Resulting Numbers: [30]
30,14 unequal: No Solution
Moving to Node #0,0,1
Current State: 14:[4, 41], Operations: ['92/23=4', '46-5=41']
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,14 unequal: No Solution
Exploring Operation: 4+41=45, Resulting Numbers: [45]
45,14 unequal: No Solution
Moving to Node #0,0,0
Current State: 14:[5, 42], Operations: ['92/23=4', '46-4=42']
Exploring Operation: 42-5=37, Resulting Numbers: [37]
37,14 unequal: No Solution
Exploring Operation: 5+42=47, Resulting Numbers: [47]
47,14 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
13,
7,
36,
18
] | 25 | [
"13+36=49",
"49/7=7",
"18+7=25"
] | Current State: 25:[13, 7, 36, 18], Operations: []
Exploring Operation: 13+36=49, Resulting Numbers: [7, 18, 49]
Generated Node #2: [7, 18, 49] from Operation: 13+36=49
Current State: 25:[7, 18, 49], Operations: ['13+36=49']
Exploring Operation: 49/7=7, Resulting Numbers: [18, 7]
Generated Node #3: [18, 7] from Operation: 49/7=7
Current State: 25:[18, 7], Operations: ['13+36=49', '49/7=7']
Exploring Operation: 18+7=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[13, 7, 36, 18], Operations: []
Exploring Operation: 36-18=18, Resulting Numbers: [13, 7, 18]
Generated Node #0,0: 25:[13, 7, 18] Operation: 36-18=18
Exploring Operation: 36-13=23, Resulting Numbers: [7, 18, 23]
Generated Node #0,1: 25:[7, 18, 23] Operation: 36-13=23
Exploring Operation: 36/18=2, Resulting Numbers: [13, 7, 2]
Generated Node #0,2: 25:[13, 7, 2] Operation: 36/18=2
Exploring Operation: 18-13=5, Resulting Numbers: [7, 36, 5]
Generated Node #0,3: 25:[7, 36, 5] Operation: 18-13=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[7, 18, 23], Operations: ['36-13=23']
Exploring Operation: 23-18=5, Resulting Numbers: [7, 5]
Generated Node #0,1,0: 25:[7, 5] Operation: 23-18=5
Exploring Operation: 7+23=30, Resulting Numbers: [18, 30]
Generated Node #0,1,1: 25:[18, 30] Operation: 7+23=30
Exploring Operation: 18-7=11, Resulting Numbers: [23, 11]
Generated Node #0,1,2: 25:[23, 11] Operation: 18-7=11
Exploring Operation: 7+18=25, Resulting Numbers: [23, 25]
Generated Node #0,1,3: 25:[23, 25] Operation: 7+18=25
Moving to Node #0,1,0
Current State: 25:[7, 5], Operations: ['36-13=23', '23-18=5']
Exploring Operation: 7+5=12, Resulting Numbers: [12]
12,25 unequal: No Solution
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 7*5=35, Resulting Numbers: [35]
35,25 unequal: No Solution
Moving to Node #0,1,3
Current State: 25:[23, 25], Operations: ['36-13=23', '7+18=25']
Exploring Operation: 23+25=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 23*25=575, Resulting Numbers: [575]
575,25 unequal: No Solution
Exploring Operation: 25-23=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Moving to Node #0,1,2
Current State: 25:[23, 11], Operations: ['36-13=23', '18-7=11']
Exploring Operation: 23*11=253, Resulting Numbers: [253]
253,25 unequal: No Solution
Exploring Operation: 23+11=34, Resulting Numbers: [34]
34,25 unequal: No Solution
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,25 unequal: No Solution
Moving to Node #0,1,1
Current State: 25:[18, 30], Operations: ['36-13=23', '7+23=30']
Exploring Operation: 18*30=540, Resulting Numbers: [540]
540,25 unequal: No Solution
Exploring Operation: 18+30=48, Resulting Numbers: [48]
48,25 unequal: No Solution
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 25:[13, 7, 2], Operations: ['36/18=2']
Exploring Operation: 13-7=6, Resulting Numbers: [2, 6]
Generated Node #0,2,0: 25:[2, 6] Operation: 13-7=6
Exploring Operation: 13*2=26, Resulting Numbers: [7, 26]
Generated Node #0,2,1: 25:[7, 26] Operation: 13*2=26
Exploring Operation: 13-2=11, Resulting Numbers: [7, 11]
Generated Node #0,2,2: 25:[7, 11] Operation: 13-2=11
Exploring Operation: 13+7=20, Resulting Numbers: [2, 20]
Generated Node #0,2,3: 25:[2, 20] Operation: 13+7=20
Moving to Node #0,2,1
Current State: 25:[7, 26], Operations: ['36/18=2', '13*2=26']
Exploring Operation: 26-7=19, Resulting Numbers: [19]
19,25 unequal: No Solution
Exploring Operation: 7+26=33, Resulting Numbers: [33]
33,25 unequal: No Solution
Exploring Operation: 7*26=182, Resulting Numbers: [182]
182,25 unequal: No Solution
Moving to Node #0,2,0
Current State: 25:[2, 6], Operations: ['36/18=2', '13-7=6']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,25 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,25 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Moving to Node #0,2,3
Current State: 25:[2, 20], Operations: ['36/18=2', '13+7=20']
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,25 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,25 unequal: No Solution
Exploring Operation: 2+20=22, Resulting Numbers: [22]
22,25 unequal: No Solution
Exploring Operation: 2*20=40, Resulting Numbers: [40]
40,25 unequal: No Solution
Moving to Node #0,2,2
Current State: 25:[7, 11], Operations: ['36/18=2', '13-2=11']
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,25 unequal: No Solution
Exploring Operation: 7+11=18, Resulting Numbers: [18]
18,25 unequal: No Solution
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 25:[7, 36, 5], Operations: ['18-13=5']
Exploring Operation: 7+36=43, Resulting Numbers: [5, 43]
Generated Node #0,3,0: 25:[5, 43] Operation: 7+36=43
Exploring Operation: 36-5=31, Resulting Numbers: [7, 31]
Generated Node #0,3,1: 25:[7, 31] Operation: 36-5=31
Exploring Operation: 7-5=2, Resulting Numbers: [36, 2]
Generated Node #0,3,2: 25:[36, 2] Operation: 7-5=2
Exploring Operation: 36-7=29, Resulting Numbers: [5, 29]
Generated Node #0,3,3: 25:[5, 29] Operation: 36-7=29
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 25:[5, 29], Operations: ['18-13=5', '36-7=29']
Exploring Operation: 29-5=24, Resulting Numbers: [24]
24,25 unequal: No Solution
Exploring Operation: 5+29=34, Resulting Numbers: [34]
34,25 unequal: No Solution
Exploring Operation: 5*29=145, Resulting Numbers: [145]
145,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 25:[7, 31], Operations: ['18-13=5', '36-5=31']
Exploring Operation: 7*31=217, Resulting Numbers: [217]
217,25 unequal: No Solution
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,25 unequal: No Solution
Exploring Operation: 7+31=38, Resulting Numbers: [38]
38,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 25:[36, 2], Operations: ['18-13=5', '7-5=2']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,25 unequal: No Solution
Exploring Operation: 36*2=72, Resulting Numbers: [72]
72,25 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,25 unequal: No Solution
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 25:[5, 43], Operations: ['18-13=5', '7+36=43']
Exploring Operation: 5*43=215, Resulting Numbers: [215]
215,25 unequal: No Solution
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,25 unequal: No Solution
Exploring Operation: 5+43=48, Resulting Numbers: [48]
48,25 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 25:[13, 7, 18], Operations: ['36-18=18']
Exploring Operation: 7+18=25, Resulting Numbers: [13, 25]
Generated Node #0,0,0: 25:[13, 25] Operation: 7+18=25
Exploring Operation: 18-13=5, Resulting Numbers: [7, 5]
Generated Node #0,0,1: 25:[7, 5] Operation: 18-13=5
Exploring Operation: 13-7=6, Resulting Numbers: [18, 6]
Generated Node #0,0,2: 25:[18, 6] Operation: 13-7=6
Exploring Operation: 13+18=31, Resulting Numbers: [7, 31]
Generated Node #0,0,3: 25:[7, 31] Operation: 13+18=31
Moving to Node #0,0,1
Current State: 25:[7, 5], Operations: ['36-18=18', '18-13=5']
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 7*5=35, Resulting Numbers: [35]
35,25 unequal: No Solution
Exploring Operation: 7+5=12, Resulting Numbers: [12]
12,25 unequal: No Solution
Moving to Node #0,0,2
Current State: 25:[18, 6], Operations: ['36-18=18', '13-7=6']
Exploring Operation: 18-6=12, Resulting Numbers: [12]
12,25 unequal: No Solution
Exploring Operation: 18+6=24, Resulting Numbers: [24]
24,25 unequal: No Solution
Exploring Operation: 18/6=3, Resulting Numbers: [3]
3,25 unequal: No Solution
Exploring Operation: 18*6=108, Resulting Numbers: [108]
108,25 unequal: No Solution
Moving to Node #0,0,0
Current State: 25:[13, 25], Operations: ['36-18=18', '7+18=25']
Exploring Operation: 13*25=325, Resulting Numbers: [325]
325,25 unequal: No Solution
Exploring Operation: 13+25=38, Resulting Numbers: [38]
38,25 unequal: No Solution
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,25 unequal: No Solution
Moving to Node #0,0,3
Current State: 25:[7, 31], Operations: ['36-18=18', '13+18=31']
Exploring Operation: 7*31=217, Resulting Numbers: [217]
217,25 unequal: No Solution
Exploring Operation: 7+31=38, Resulting Numbers: [38]
38,25 unequal: No Solution
Exploring Operation: 31-7=24, Resulting Numbers: [24]
24,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
58,
49,
11,
58
] | 61 | [
"58/58=1",
"49+11=60",
"1+60=61"
] | Current State: 61:[58, 49, 11, 58], Operations: []
Exploring Operation: 58/58=1, Resulting Numbers: [49, 11, 1]
Generated Node #2: [49, 11, 1] from Operation: 58/58=1
Current State: 61:[49, 11, 1], Operations: ['58/58=1']
Exploring Operation: 49+11=60, Resulting Numbers: [1, 60]
Generated Node #3: [1, 60] from Operation: 49+11=60
Current State: 61:[1, 60], Operations: ['58/58=1', '49+11=60']
Exploring Operation: 1+60=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[58, 49, 11, 58], Operations: []
Exploring Operation: 11+58=69, Resulting Numbers: [58, 49, 69]
Generated Node #0,0: 61:[58, 49, 69] Operation: 11+58=69
Exploring Operation: 49+11=60, Resulting Numbers: [58, 58, 60]
Generated Node #0,1: 61:[58, 58, 60] Operation: 49+11=60
Exploring Operation: 58+11=69, Resulting Numbers: [49, 58, 69]
Generated Node #0,2: 61:[49, 58, 69] Operation: 58+11=69
Moving to Node #0,1
Current State: 61:[58, 58, 60], Operations: ['49+11=60']
Exploring Operation: 58+58=116, Resulting Numbers: [60, 116]
Generated Node #0,1,0: 61:[60, 116] Operation: 58+58=116
Exploring Operation: 58+60=118, Resulting Numbers: [58, 118]
Generated Node #0,1,1: 61:[58, 118] Operation: 58+60=118
Exploring Operation: 58+60=118, Resulting Numbers: [58, 118]
Generated Node #0,1,2: 61:[58, 118] Operation: 58+60=118
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 61:[60, 116], Operations: ['49+11=60', '58+58=116']
Exploring Operation: 60*116=6960, Resulting Numbers: [6960]
6960,61 unequal: No Solution
Exploring Operation: 116-60=56, Resulting Numbers: [56]
56,61 unequal: No Solution
Exploring Operation: 60+116=176, Resulting Numbers: [176]
176,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 61:[58, 118], Operations: ['49+11=60', '58+60=118']
Exploring Operation: 118-58=60, Resulting Numbers: [60]
60,61 unequal: No Solution
Exploring Operation: 58*118=6844, Resulting Numbers: [6844]
6844,61 unequal: No Solution
Exploring Operation: 58+118=176, Resulting Numbers: [176]
176,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 61:[58, 118], Operations: ['49+11=60', '58+60=118']
Exploring Operation: 58*118=6844, Resulting Numbers: [6844]
6844,61 unequal: No Solution
Exploring Operation: 118-58=60, Resulting Numbers: [60]
60,61 unequal: No Solution
Exploring Operation: 58+118=176, Resulting Numbers: [176]
176,61 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: 61:[58, 49, 69], Operations: ['11+58=69']
Exploring Operation: 58+49=107, Resulting Numbers: [69, 107]
Generated Node #0,0,0: 61:[69, 107] Operation: 58+49=107
Exploring Operation: 69-49=20, Resulting Numbers: [58, 20]
Generated Node #0,0,1: 61:[58, 20] Operation: 69-49=20
Exploring Operation: 58-49=9, Resulting Numbers: [69, 9]
Generated Node #0,0,2: 61:[69, 9] Operation: 58-49=9
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 61:[58, 20], Operations: ['11+58=69', '69-49=20']
Exploring Operation: 58+20=78, Resulting Numbers: [78]
78,61 unequal: No Solution
Exploring Operation: 58*20=1160, Resulting Numbers: [1160]
1160,61 unequal: No Solution
Exploring Operation: 58-20=38, Resulting Numbers: [38]
38,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[69, 107], Operations: ['11+58=69', '58+49=107']
Exploring Operation: 69+107=176, Resulting Numbers: [176]
176,61 unequal: No Solution
Exploring Operation: 69*107=7383, Resulting Numbers: [7383]
7383,61 unequal: No Solution
Exploring Operation: 107-69=38, Resulting Numbers: [38]
38,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 61:[69, 9], Operations: ['11+58=69', '58-49=9']
Exploring Operation: 69+9=78, Resulting Numbers: [78]
78,61 unequal: No Solution
Exploring Operation: 69*9=621, Resulting Numbers: [621]
621,61 unequal: No Solution
Exploring Operation: 69-9=60, Resulting Numbers: [60]
60,61 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: 61:[49, 58, 69], Operations: ['58+11=69']
Exploring Operation: 49+58=107, Resulting Numbers: [69, 107]
Generated Node #0,2,0: 61:[69, 107] Operation: 49+58=107
Exploring Operation: 69-49=20, Resulting Numbers: [58, 20]
Generated Node #0,2,1: 61:[58, 20] Operation: 69-49=20
Exploring Operation: 58-49=9, Resulting Numbers: [69, 9]
Generated Node #0,2,2: 61:[69, 9] Operation: 58-49=9
Moving to Node #0,2,1
Current State: 61:[58, 20], Operations: ['58+11=69', '69-49=20']
Exploring Operation: 58+20=78, Resulting Numbers: [78]
78,61 unequal: No Solution
Exploring Operation: 58-20=38, Resulting Numbers: [38]
38,61 unequal: No Solution
Exploring Operation: 58*20=1160, Resulting Numbers: [1160]
1160,61 unequal: No Solution
Moving to Node #0,2,0
Current State: 61:[69, 107], Operations: ['58+11=69', '49+58=107']
Exploring Operation: 69*107=7383, Resulting Numbers: [7383]
7383,61 unequal: No Solution
Exploring Operation: 107-69=38, Resulting Numbers: [38]
38,61 unequal: No Solution
Exploring Operation: 69+107=176, Resulting Numbers: [176]
176,61 unequal: No Solution
Moving to Node #0,2,2
Current State: 61:[69, 9], Operations: ['58+11=69', '58-49=9']
Exploring Operation: 69*9=621, Resulting Numbers: [621]
621,61 unequal: No Solution
Exploring Operation: 69-9=60, Resulting Numbers: [60]
60,61 unequal: No Solution
Exploring Operation: 69+9=78, Resulting Numbers: [78]
78,61 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
20,
7,
50,
28
] | 18 | [
"20+50=70",
"70/7=10",
"28-10=18"
] | Current State: 18:[20, 7, 50, 28], Operations: []
Exploring Operation: 20+50=70, Resulting Numbers: [7, 28, 70]
Generated Node #2: [7, 28, 70] from Operation: 20+50=70
Current State: 18:[7, 28, 70], Operations: ['20+50=70']
Exploring Operation: 70/7=10, Resulting Numbers: [28, 10]
Generated Node #3: [28, 10] from Operation: 70/7=10
Current State: 18:[28, 10], Operations: ['20+50=70', '70/7=10']
Exploring Operation: 28-10=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[20, 7, 50, 28], Operations: []
Exploring Operation: 50-28=22, Resulting Numbers: [20, 7, 22]
Generated Node #0,0: 18:[20, 7, 22] Operation: 50-28=22
Exploring Operation: 50-20=30, Resulting Numbers: [7, 28, 30]
Generated Node #0,1: 18:[7, 28, 30] Operation: 50-20=30
Exploring Operation: 28-20=8, Resulting Numbers: [7, 50, 8]
Generated Node #0,2: 18:[7, 50, 8] Operation: 28-20=8
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[20, 7, 22], Operations: ['50-28=22']
Exploring Operation: 22-20=2, Resulting Numbers: [7, 2]
Generated Node #0,0,0: 18:[7, 2] Operation: 22-20=2
Exploring Operation: 20-7=13, Resulting Numbers: [22, 13]
Generated Node #0,0,1: 18:[22, 13] Operation: 20-7=13
Exploring Operation: 22-7=15, Resulting Numbers: [20, 15]
Generated Node #0,0,2: 18:[20, 15] Operation: 22-7=15
Moving to Node #0,0,0
Current State: 18:[7, 2], Operations: ['50-28=22', '22-20=2']
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,18 unequal: No Solution
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,18 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Moving to Node #0,0,2
Current State: 18:[20, 15], Operations: ['50-28=22', '22-7=15']
Exploring Operation: 20*15=300, Resulting Numbers: [300]
300,18 unequal: No Solution
Exploring Operation: 20+15=35, Resulting Numbers: [35]
35,18 unequal: No Solution
Exploring Operation: 20-15=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Moving to Node #0,0,1
Current State: 18:[22, 13], Operations: ['50-28=22', '20-7=13']
Exploring Operation: 22*13=286, Resulting Numbers: [286]
286,18 unequal: No Solution
Exploring Operation: 22-13=9, Resulting Numbers: [9]
9,18 unequal: No Solution
Exploring Operation: 22+13=35, Resulting Numbers: [35]
35,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
Current State: 18:[7, 28, 30], Operations: ['50-20=30']
Exploring Operation: 28-7=21, Resulting Numbers: [30, 21]
Generated Node #0,1,0: 18:[30, 21] Operation: 28-7=21
Exploring Operation: 28/7=4, Resulting Numbers: [30, 4]
Generated Node #0,1,1: 18:[30, 4] Operation: 28/7=4
Exploring Operation: 30-28=2, Resulting Numbers: [7, 2]
Generated Node #0,1,2: 18:[7, 2] Operation: 30-28=2
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 18:[7, 2], Operations: ['50-20=30', '30-28=2']
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,18 unequal: No Solution
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,18 unequal: No Solution
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,18 unequal: No Solution
No 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: 18:[30, 4], Operations: ['50-20=30', '28/7=4']
Exploring Operation: 30-4=26, Resulting Numbers: [26]
26,18 unequal: No Solution
Exploring Operation: 30*4=120, Resulting Numbers: [120]
120,18 unequal: No Solution
Exploring Operation: 30+4=34, Resulting Numbers: [34]
34,18 unequal: No Solution
No 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: 18:[30, 21], Operations: ['50-20=30', '28-7=21']
Exploring Operation: 30+21=51, Resulting Numbers: [51]
51,18 unequal: No Solution
Exploring Operation: 30-21=9, Resulting Numbers: [9]
9,18 unequal: No Solution
Exploring Operation: 30*21=630, Resulting Numbers: [630]
630,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 18:[7, 50, 8], Operations: ['28-20=8']
Exploring Operation: 50-7=43, Resulting Numbers: [8, 43]
Generated Node #0,2,0: 18:[8, 43] Operation: 50-7=43
Exploring Operation: 50-8=42, Resulting Numbers: [7, 42]
Generated Node #0,2,1: 18:[7, 42] Operation: 50-8=42
Exploring Operation: 8-7=1, Resulting Numbers: [50, 1]
Generated Node #0,2,2: 18:[50, 1] Operation: 8-7=1
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 18:[7, 42], Operations: ['28-20=8', '50-8=42']
Exploring Operation: 42-7=35, Resulting Numbers: [35]
35,18 unequal: No Solution
Exploring Operation: 42/7=6, Resulting Numbers: [6]
6,18 unequal: No Solution
Exploring Operation: 7+42=49, Resulting Numbers: [49]
49,18 unequal: No Solution
No 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: 18:[8, 43], Operations: ['28-20=8', '50-7=43']
Exploring Operation: 43-8=35, Resulting Numbers: [35]
35,18 unequal: No Solution
Exploring Operation: 8*43=344, Resulting Numbers: [344]
344,18 unequal: No Solution
Exploring Operation: 8+43=51, Resulting Numbers: [51]
51,18 unequal: No Solution
No 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: 18:[50, 1], Operations: ['28-20=8', '8-7=1']
Exploring Operation: 50-1=49, Resulting Numbers: [49]
49,18 unequal: No Solution
Exploring Operation: 50/1=50, Resulting Numbers: [50]
50,18 unequal: No Solution
Exploring Operation: 50*1=50, Resulting Numbers: [50]
50,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
42,
3,
99,
49
] | 89 | [
"42-3=39",
"99-49=50",
"39+50=89"
] | Current State: 89:[42, 3, 99, 49], Operations: []
Exploring Operation: 42-3=39, Resulting Numbers: [99, 49, 39]
Generated Node #2: [99, 49, 39] from Operation: 42-3=39
Current State: 89:[99, 49, 39], Operations: ['42-3=39']
Exploring Operation: 99-49=50, Resulting Numbers: [39, 50]
Generated Node #3: [39, 50] from Operation: 99-49=50
Current State: 89:[39, 50], Operations: ['42-3=39', '99-49=50']
Exploring Operation: 39+50=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[42, 3, 99, 49], Operations: []
Exploring Operation: 42*3=126, Resulting Numbers: [99, 49, 126]
Generated Node #0,0: 89:[99, 49, 126] Operation: 42*3=126
Exploring Operation: 42+3=45, Resulting Numbers: [99, 49, 45]
Generated Node #0,1: 89:[99, 49, 45] Operation: 42+3=45
Moving to Node #0,0
Current State: 89:[99, 49, 126], Operations: ['42*3=126']
Exploring Operation: 99-49=50, Resulting Numbers: [126, 50]
Generated Node #0,0,0: 89:[126, 50] Operation: 99-49=50
Exploring Operation: 126-49=77, Resulting Numbers: [99, 77]
Generated Node #0,0,1: 89:[99, 77] Operation: 126-49=77
Moving to Node #0,1
Current State: 89:[99, 49, 45], Operations: ['42+3=45']
Exploring Operation: 49+45=94, Resulting Numbers: [99, 94]
Generated Node #0,1,0: 89:[99, 94] Operation: 49+45=94
Exploring Operation: 99-45=54, Resulting Numbers: [49, 54]
Generated Node #0,1,1: 89:[49, 54] Operation: 99-45=54
Moving to Node #0,1,0
Current State: 89:[99, 94], Operations: ['42+3=45', '49+45=94']
Exploring Operation: 99-94=5, Resulting Numbers: [5]
5,89 unequal: No Solution
Exploring Operation: 99+94=193, Resulting Numbers: [193]
193,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[99, 77], Operations: ['42*3=126', '126-49=77']
Exploring Operation: 99-77=22, Resulting Numbers: [22]
22,89 unequal: No Solution
Exploring Operation: 99+77=176, Resulting Numbers: [176]
176,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[49, 54], Operations: ['42+3=45', '99-45=54']
Exploring Operation: 49+54=103, Resulting Numbers: [103]
103,89 unequal: No Solution
Exploring Operation: 54-49=5, Resulting Numbers: [5]
5,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[126, 50], Operations: ['42*3=126', '99-49=50']
Exploring Operation: 126+50=176, Resulting Numbers: [176]
176,89 unequal: No Solution
Exploring Operation: 126-50=76, Resulting Numbers: [76]
76,89 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
49,
14,
7,
94
] | 53 | [
"94-49=45",
"14*7=98",
"98-45=53"
] | Current State: 53:[49, 14, 7, 94], Operations: []
Exploring Operation: 94-49=45, Resulting Numbers: [14, 7, 45]
Generated Node #2: [14, 7, 45] from Operation: 94-49=45
Current State: 53:[14, 7, 45], Operations: ['94-49=45']
Exploring Operation: 14*7=98, Resulting Numbers: [45, 98]
Generated Node #3: [45, 98] from Operation: 14*7=98
Current State: 53:[45, 98], Operations: ['94-49=45', '14*7=98']
Exploring Operation: 98-45=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[49, 14, 7, 94], Operations: []
Exploring Operation: 94-14=80, Resulting Numbers: [49, 7, 80]
Generated Node #0,0: 53:[49, 7, 80] Operation: 94-14=80
Exploring Operation: 94-7=87, Resulting Numbers: [49, 14, 87]
Generated Node #0,1: 53:[49, 14, 87] Operation: 94-7=87
Exploring Operation: 14+7=21, Resulting Numbers: [49, 94, 21]
Generated Node #0,2: 53:[49, 94, 21] Operation: 14+7=21
Moving to Node #0,0
Current State: 53:[49, 7, 80], Operations: ['94-14=80']
Exploring Operation: 80-7=73, Resulting Numbers: [49, 73]
Generated Node #0,0,0: 53:[49, 73] Operation: 80-7=73
Exploring Operation: 49-7=42, Resulting Numbers: [80, 42]
Generated Node #0,0,1: 53:[80, 42] Operation: 49-7=42
Exploring Operation: 49+7=56, Resulting Numbers: [80, 56]
Generated Node #0,0,2: 53:[80, 56] Operation: 49+7=56
Moving to Node #0,1
Current State: 53:[49, 14, 87], Operations: ['94-7=87']
Exploring Operation: 49+14=63, Resulting Numbers: [87, 63]
Generated Node #0,1,0: 53:[87, 63] Operation: 49+14=63
Exploring Operation: 87-14=73, Resulting Numbers: [49, 73]
Generated Node #0,1,1: 53:[49, 73] Operation: 87-14=73
Exploring Operation: 49-14=35, Resulting Numbers: [87, 35]
Generated Node #0,1,2: 53:[87, 35] Operation: 49-14=35
Moving to Node #0,2
Current State: 53:[49, 94, 21], Operations: ['14+7=21']
Exploring Operation: 49+21=70, Resulting Numbers: [94, 70]
Generated Node #0,2,0: 53:[94, 70] Operation: 49+21=70
Exploring Operation: 94-21=73, Resulting Numbers: [49, 73]
Generated Node #0,2,1: 53:[49, 73] Operation: 94-21=73
Exploring Operation: 94-49=45, Resulting Numbers: [21, 45]
Generated Node #0,2,2: 53:[21, 45] Operation: 94-49=45
Moving to Node #0,0,0
Current State: 53:[49, 73], Operations: ['94-14=80', '80-7=73']
Exploring Operation: 73-49=24, Resulting Numbers: [24]
24,53 unequal: No Solution
Exploring Operation: 49+73=122, Resulting Numbers: [122]
122,53 unequal: No Solution
Exploring Operation: 49*73=3577, Resulting Numbers: [3577]
3577,53 unequal: No Solution
Moving to Node #0,2,1
Current State: 53:[49, 73], Operations: ['14+7=21', '94-21=73']
Exploring Operation: 73-49=24, Resulting Numbers: [24]
24,53 unequal: No Solution
Exploring Operation: 49+73=122, Resulting Numbers: [122]
122,53 unequal: No Solution
Exploring Operation: 49*73=3577, Resulting Numbers: [3577]
3577,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[49, 73], Operations: ['94-7=87', '87-14=73']
Exploring Operation: 49+73=122, Resulting Numbers: [122]
122,53 unequal: No Solution
Exploring Operation: 73-49=24, Resulting Numbers: [24]
24,53 unequal: No Solution
Exploring Operation: 49*73=3577, Resulting Numbers: [3577]
3577,53 unequal: No Solution
Moving to Node #0,0,2
Current State: 53:[80, 56], Operations: ['94-14=80', '49+7=56']
Exploring Operation: 80-56=24, Resulting Numbers: [24]
24,53 unequal: No Solution
Exploring Operation: 80*56=4480, Resulting Numbers: [4480]
4480,53 unequal: No Solution
Exploring Operation: 80+56=136, Resulting Numbers: [136]
136,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[80, 42], Operations: ['94-14=80', '49-7=42']
Exploring Operation: 80-42=38, Resulting Numbers: [38]
38,53 unequal: No Solution
Exploring Operation: 80+42=122, Resulting Numbers: [122]
122,53 unequal: No Solution
Exploring Operation: 80*42=3360, Resulting Numbers: [3360]
3360,53 unequal: No Solution
Moving to Node #0,2,2
Current State: 53:[21, 45], Operations: ['14+7=21', '94-49=45']
Exploring Operation: 21*45=945, Resulting Numbers: [945]
945,53 unequal: No Solution
Exploring Operation: 21+45=66, Resulting Numbers: [66]
66,53 unequal: No Solution
Exploring Operation: 45-21=24, Resulting Numbers: [24]
24,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[87, 63], Operations: ['94-7=87', '49+14=63']
Exploring Operation: 87-63=24, Resulting Numbers: [24]
24,53 unequal: No Solution
Exploring Operation: 87*63=5481, Resulting Numbers: [5481]
5481,53 unequal: No Solution
Exploring Operation: 87+63=150, Resulting Numbers: [150]
150,53 unequal: No Solution
Moving to Node #0,1,2
Current State: 53:[87, 35], Operations: ['94-7=87', '49-14=35']
Exploring Operation: 87+35=122, Resulting Numbers: [122]
122,53 unequal: No Solution
Exploring Operation: 87-35=52, Resulting Numbers: [52]
52,53 unequal: No Solution
Exploring Operation: 87*35=3045, Resulting Numbers: [3045]
3045,53 unequal: No Solution
Moving to Node #0,2,0
Current State: 53:[94, 70], Operations: ['14+7=21', '49+21=70']
Exploring Operation: 94+70=164, Resulting Numbers: [164]
164,53 unequal: No Solution
Exploring Operation: 94*70=6580, Resulting Numbers: [6580]
6580,53 unequal: No Solution
Exploring Operation: 94-70=24, Resulting Numbers: [24]
24,53 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
24,
26,
44,
69
] | 50 | [
"26-24=2",
"69-44=25",
"2*25=50"
] | Current State: 50:[24, 26, 44, 69], Operations: []
Exploring Operation: 26-24=2, Resulting Numbers: [44, 69, 2]
Generated Node #2: [44, 69, 2] from Operation: 26-24=2
Current State: 50:[44, 69, 2], Operations: ['26-24=2']
Exploring Operation: 69-44=25, Resulting Numbers: [2, 25]
Generated Node #3: [2, 25] from Operation: 69-44=25
Current State: 50:[2, 25], Operations: ['26-24=2', '69-44=25']
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[24, 26, 44, 69], Operations: []
Exploring Operation: 69-44=25, Resulting Numbers: [24, 26, 25]
Generated Node #0,0: 50:[24, 26, 25] Operation: 69-44=25
Exploring Operation: 69-24=45, Resulting Numbers: [26, 44, 45]
Generated Node #0,1: 50:[26, 44, 45] Operation: 69-24=45
Moving to Node #0,0
Current State: 50:[24, 26, 25], Operations: ['69-44=25']
Exploring Operation: 24+26=50, Resulting Numbers: [25, 50]
Generated Node #0,0,0: 50:[25, 50] Operation: 24+26=50
Exploring Operation: 26-24=2, Resulting Numbers: [25, 2]
Generated Node #0,0,1: 50:[25, 2] Operation: 26-24=2
Moving to Node #0,1
Current State: 50:[26, 44, 45], Operations: ['69-24=45']
Exploring Operation: 44-26=18, Resulting Numbers: [45, 18]
Generated Node #0,1,0: 50:[45, 18] Operation: 44-26=18
Exploring Operation: 45-44=1, Resulting Numbers: [26, 1]
Generated Node #0,1,1: 50:[26, 1] Operation: 45-44=1
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 50:[26, 1], Operations: ['69-24=45', '45-44=1']
Exploring Operation: 26*1=26, Resulting Numbers: [26]
26,50 unequal: No Solution
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 50:[45, 18], Operations: ['69-24=45', '44-26=18']
Exploring Operation: 45+18=63, Resulting Numbers: [63]
63,50 unequal: No Solution
Exploring Operation: 45-18=27, Resulting Numbers: [27]
27,50 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: 50:[25, 50], Operations: ['69-44=25', '24+26=50']
Exploring Operation: 50-25=25, Resulting Numbers: [25]
25,50 unequal: No Solution
Exploring Operation: 50/25=2, Resulting Numbers: [2]
2,50 unequal: No Solution
Moving to Node #0,0,1
Current State: 50:[25, 2], Operations: ['69-44=25', '26-24=2']
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[24, 26, 44, 69], Operations: []
Exploring Operation: 69-44=25, Resulting Numbers: [24, 26, 25]
Generated Node #0,0: 50:[24, 26, 25] Operation: 69-44=25
Moving to Node #0,0
Current State: 50:[24, 26, 25], Operations: ['69-44=25']
Exploring Operation: 26-24=2, Resulting Numbers: [25, 2]
Generated Node #0,0,1: 50:[25, 2] Operation: 26-24=2
Moving to Node #0,0,1
Current State: 50:[25, 2], Operations: ['69-44=25', '26-24=2']
Exploring Operation: 25*2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 0.985243 | hs_2 | sum_heuristic |
[
5,
58,
2,
56
] | 17 | [
"58/2=29",
"56+29=85",
"85/5=17"
] | Current State: 17:[5, 58, 2, 56], Operations: []
Exploring Operation: 58/2=29, Resulting Numbers: [5, 56, 29]
Generated Node #2: [5, 56, 29] from Operation: 58/2=29
Current State: 17:[5, 56, 29], Operations: ['58/2=29']
Exploring Operation: 56+29=85, Resulting Numbers: [5, 85]
Generated Node #3: [5, 85] from Operation: 56+29=85
Current State: 17:[5, 85], Operations: ['58/2=29', '56+29=85']
Exploring Operation: 85/5=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[5, 58, 2, 56], Operations: []
Exploring Operation: 58-56=2, Resulting Numbers: [5, 2, 2]
Generated Node #0,0: 17:[5, 2, 2] Operation: 58-56=2
Moving to Node #0,0
Current State: 17:[5, 2, 2], Operations: ['58-56=2']
Exploring Operation: 5*2=10, Resulting Numbers: [2, 10]
Generated Node #0,0,0: 17:[2, 10] Operation: 5*2=10
Moving to Node #0,0,0
Current State: 17:[2, 10], Operations: ['58-56=2', '5*2=10']
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,17 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
50,
61,
24,
65
] | 30 | [
"61-50=11",
"65-24=41",
"41-11=30"
] | Current State: 30:[50, 61, 24, 65], Operations: []
Exploring Operation: 61-50=11, Resulting Numbers: [24, 65, 11]
Generated Node #2: [24, 65, 11] from Operation: 61-50=11
Current State: 30:[24, 65, 11], Operations: ['61-50=11']
Exploring Operation: 65-24=41, Resulting Numbers: [11, 41]
Generated Node #3: [11, 41] from Operation: 65-24=41
Current State: 30:[11, 41], Operations: ['61-50=11', '65-24=41']
Exploring Operation: 41-11=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[50, 61, 24, 65], Operations: []
Exploring Operation: 65-61=4, Resulting Numbers: [50, 24, 4]
Generated Node #0,0: 30:[50, 24, 4] Operation: 65-61=4
Exploring Operation: 65-50=15, Resulting Numbers: [61, 24, 15]
Generated Node #0,1: 30:[61, 24, 15] Operation: 65-50=15
Exploring Operation: 61-24=37, Resulting Numbers: [50, 65, 37]
Generated Node #0,2: 30:[50, 65, 37] Operation: 61-24=37
Exploring Operation: 61-50=11, Resulting Numbers: [24, 65, 11]
Generated Node #0,3: 30:[24, 65, 11] Operation: 61-50=11
Start Sub Search at level 1: Moving to Node #0,0
Current State: 30:[50, 24, 4], Operations: ['65-61=4']
Exploring Operation: 24+4=28, Resulting Numbers: [50, 28]
Generated Node #0,0,0: 30:[50, 28] Operation: 24+4=28
Exploring Operation: 50-24=26, Resulting Numbers: [4, 26]
Generated Node #0,0,1: 30:[4, 26] Operation: 50-24=26
Exploring Operation: 50-4=46, Resulting Numbers: [24, 46]
Generated Node #0,0,2: 30:[24, 46] Operation: 50-4=46
Exploring Operation: 24/4=6, Resulting Numbers: [50, 6]
Generated Node #0,0,3: 30:[50, 6] Operation: 24/4=6
Moving to Node #0,0,1
Current State: 30:[4, 26], Operations: ['65-61=4', '50-24=26']
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,30 unequal: No Solution
Exploring Operation: 4+26=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[50, 61, 24, 65], Operations: []
Exploring Operation: 65-61=4, Resulting Numbers: [50, 24, 4]
Generated Node #0,0: 30:[50, 24, 4] Operation: 65-61=4
Moving to Node #0,0
Current State: 30:[50, 24, 4], Operations: ['65-61=4']
Exploring Operation: 50-24=26, Resulting Numbers: [4, 26]
Generated Node #0,0,1: 30:[4, 26] Operation: 50-24=26
Moving to Node #0,0,1
Current State: 30:[4, 26], Operations: ['65-61=4', '50-24=26']
Exploring Operation: 4+26=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
2,
85,
6,
16
] | 22 | [
"6*16=96",
"96-85=11",
"2*11=22"
] | Current State: 22:[2, 85, 6, 16], Operations: []
Exploring Operation: 6*16=96, Resulting Numbers: [2, 85, 96]
Generated Node #2: [2, 85, 96] from Operation: 6*16=96
Current State: 22:[2, 85, 96], Operations: ['6*16=96']
Exploring Operation: 96-85=11, Resulting Numbers: [2, 11]
Generated Node #3: [2, 11] from Operation: 96-85=11
Current State: 22:[2, 11], Operations: ['6*16=96', '96-85=11']
Exploring Operation: 2*11=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[2, 85, 6, 16], Operations: []
Exploring Operation: 6+16=22, Resulting Numbers: [2, 85, 22]
Generated Node #0,0: 22:[2, 85, 22] Operation: 6+16=22
Exploring Operation: 85-16=69, Resulting Numbers: [2, 6, 69]
Generated Node #0,1: 22:[2, 6, 69] Operation: 85-16=69
Exploring Operation: 85-6=79, Resulting Numbers: [2, 16, 79]
Generated Node #0,2: 22:[2, 16, 79] Operation: 85-6=79
Start Sub Search at level 1: Moving to Node #0,1
Current State: 22:[2, 6, 69], Operations: ['85-16=69']
Exploring Operation: 69-6=63, Resulting Numbers: [2, 63]
Generated Node #0,1,0: 22:[2, 63] Operation: 69-6=63
Exploring Operation: 2*6=12, Resulting Numbers: [69, 12]
Generated Node #0,1,1: 22:[69, 12] Operation: 2*6=12
Exploring Operation: 6/2=3, Resulting Numbers: [69, 3]
Generated Node #0,1,2: 22:[69, 3] Operation: 6/2=3
Moving to Node #0,1,0
Current State: 22:[2, 63], Operations: ['85-16=69', '69-6=63']
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,22 unequal: No Solution
Exploring Operation: 2+63=65, Resulting Numbers: [65]
65,22 unequal: No Solution
Exploring Operation: 2*63=126, Resulting Numbers: [126]
126,22 unequal: No Solution
Moving to Node #0,1,1
Current State: 22:[69, 12], Operations: ['85-16=69', '2*6=12']
Exploring Operation: 69-12=57, Resulting Numbers: [57]
57,22 unequal: No Solution
Exploring Operation: 69*12=828, Resulting Numbers: [828]
828,22 unequal: No Solution
Exploring Operation: 69+12=81, Resulting Numbers: [81]
81,22 unequal: No Solution
Moving to Node #0,1,2
Current State: 22:[69, 3], Operations: ['85-16=69', '6/2=3']
Exploring Operation: 69+3=72, Resulting Numbers: [72]
72,22 unequal: No Solution
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,22 unequal: No Solution
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 22:[2, 16, 79], Operations: ['85-6=79']
Exploring Operation: 16/2=8, Resulting Numbers: [79, 8]
Generated Node #0,2,0: 22:[79, 8] Operation: 16/2=8
Exploring Operation: 16-2=14, Resulting Numbers: [79, 14]
Generated Node #0,2,1: 22:[79, 14] Operation: 16-2=14
Exploring Operation: 79-16=63, Resulting Numbers: [2, 63]
Generated Node #0,2,2: 22:[2, 63] Operation: 79-16=63
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 22:[2, 63], Operations: ['85-6=79', '79-16=63']
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,22 unequal: No Solution
Exploring Operation: 2*63=126, Resulting Numbers: [126]
126,22 unequal: No Solution
Exploring Operation: 2+63=65, Resulting Numbers: [65]
65,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 22:[79, 8], Operations: ['85-6=79', '16/2=8']
Exploring Operation: 79+8=87, Resulting Numbers: [87]
87,22 unequal: No Solution
Exploring Operation: 79-8=71, Resulting Numbers: [71]
71,22 unequal: No Solution
Exploring Operation: 79*8=632, Resulting Numbers: [632]
632,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 22:[79, 14], Operations: ['85-6=79', '16-2=14']
Exploring Operation: 79-14=65, Resulting Numbers: [65]
65,22 unequal: No Solution
Exploring Operation: 79*14=1106, Resulting Numbers: [1106]
1106,22 unequal: No Solution
Exploring Operation: 79+14=93, Resulting Numbers: [93]
93,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[2, 85, 22], Operations: ['6+16=22']
Exploring Operation: 22/2=11, Resulting Numbers: [85, 11]
Generated Node #0,0,0: 22:[85, 11] Operation: 22/2=11
Exploring Operation: 85-22=63, Resulting Numbers: [2, 63]
Generated Node #0,0,1: 22:[2, 63] Operation: 85-22=63
Exploring Operation: 85-2=83, Resulting Numbers: [22, 83]
Generated Node #0,0,2: 22:[22, 83] Operation: 85-2=83
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 22:[2, 63], Operations: ['6+16=22', '85-22=63']
Exploring Operation: 2*63=126, Resulting Numbers: [126]
126,22 unequal: No Solution
Exploring Operation: 2+63=65, Resulting Numbers: [65]
65,22 unequal: No Solution
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 22:[22, 83], Operations: ['6+16=22', '85-2=83']
Exploring Operation: 22+83=105, Resulting Numbers: [105]
105,22 unequal: No Solution
Exploring Operation: 22*83=1826, Resulting Numbers: [1826]
1826,22 unequal: No Solution
Exploring Operation: 83-22=61, Resulting Numbers: [61]
61,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 22:[85, 11], Operations: ['6+16=22', '22/2=11']
Exploring Operation: 85*11=935, Resulting Numbers: [935]
935,22 unequal: No Solution
Exploring Operation: 85-11=74, Resulting Numbers: [74]
74,22 unequal: No Solution
Exploring Operation: 85+11=96, Resulting Numbers: [96]
96,22 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
47,
51,
38,
56
] | 72 | [
"51-47=4",
"56-38=18",
"4*18=72"
] | Current State: 72:[47, 51, 38, 56], Operations: []
Exploring Operation: 51-47=4, Resulting Numbers: [38, 56, 4]
Generated Node #2: [38, 56, 4] from Operation: 51-47=4
Current State: 72:[38, 56, 4], Operations: ['51-47=4']
Exploring Operation: 56-38=18, Resulting Numbers: [4, 18]
Generated Node #3: [4, 18] from Operation: 56-38=18
Current State: 72:[4, 18], Operations: ['51-47=4', '56-38=18']
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[47, 51, 38, 56], Operations: []
Exploring Operation: 56-51=5, Resulting Numbers: [47, 38, 5]
Generated Node #0,0: 72:[47, 38, 5] Operation: 56-51=5
Exploring Operation: 56-38=18, Resulting Numbers: [47, 51, 18]
Generated Node #0,1: 72:[47, 51, 18] Operation: 56-38=18
Exploring Operation: 51-47=4, Resulting Numbers: [38, 56, 4]
Generated Node #0,2: 72:[38, 56, 4] Operation: 51-47=4
Exploring Operation: 56-47=9, Resulting Numbers: [51, 38, 9]
Generated Node #0,3: 72:[51, 38, 9] Operation: 56-47=9
Moving to Node #0,0
Current State: 72:[47, 38, 5], Operations: ['56-51=5']
Exploring Operation: 47-5=42, Resulting Numbers: [38, 42]
Generated Node #0,0,0: 72:[38, 42] Operation: 47-5=42
Exploring Operation: 38-5=33, Resulting Numbers: [47, 33]
Generated Node #0,0,1: 72:[47, 33] Operation: 38-5=33
Exploring Operation: 47+38=85, Resulting Numbers: [5, 85]
Generated Node #0,0,2: 72:[5, 85] Operation: 47+38=85
Exploring Operation: 47-38=9, Resulting Numbers: [5, 9]
Generated Node #0,0,3: 72:[5, 9] Operation: 47-38=9
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 72:[5, 9], Operations: ['56-51=5', '47-38=9']
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,72 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 5*9=45, Resulting Numbers: [45]
45,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 72:[38, 42], Operations: ['56-51=5', '47-5=42']
Exploring Operation: 42-38=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 38*42=1596, Resulting Numbers: [1596]
1596,72 unequal: No Solution
Exploring Operation: 38+42=80, Resulting Numbers: [80]
80,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 72:[47, 33], Operations: ['56-51=5', '38-5=33']
Exploring Operation: 47+33=80, Resulting Numbers: [80]
80,72 unequal: No Solution
Exploring Operation: 47*33=1551, Resulting Numbers: [1551]
1551,72 unequal: No Solution
Exploring Operation: 47-33=14, Resulting Numbers: [14]
14,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 72:[5, 85], Operations: ['56-51=5', '47+38=85']
Exploring Operation: 85/5=17, Resulting Numbers: [17]
17,72 unequal: No Solution
Exploring Operation: 5*85=425, Resulting Numbers: [425]
425,72 unequal: No Solution
Exploring Operation: 85-5=80, Resulting Numbers: [80]
80,72 unequal: No Solution
Exploring Operation: 5+85=90, Resulting Numbers: [90]
90,72 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: 72:[51, 38, 9], Operations: ['56-47=9']
Exploring Operation: 51+9=60, Resulting Numbers: [38, 60]
Generated Node #0,3,0: 72:[38, 60] Operation: 51+9=60
Exploring Operation: 51-9=42, Resulting Numbers: [38, 42]
Generated Node #0,3,1: 72:[38, 42] Operation: 51-9=42
Exploring Operation: 51-38=13, Resulting Numbers: [9, 13]
Generated Node #0,3,2: 72:[9, 13] Operation: 51-38=13
Exploring Operation: 51+38=89, Resulting Numbers: [9, 89]
Generated Node #0,3,3: 72:[9, 89] Operation: 51+38=89
Moving to Node #0,2
Current State: 72:[38, 56, 4], Operations: ['51-47=4']
Exploring Operation: 38-4=34, Resulting Numbers: [56, 34]
Generated Node #0,2,0: 72:[56, 34] Operation: 38-4=34
Exploring Operation: 56+4=60, Resulting Numbers: [38, 60]
Generated Node #0,2,1: 72:[38, 60] Operation: 56+4=60
Exploring Operation: 56/4=14, Resulting Numbers: [38, 14]
Generated Node #0,2,2: 72:[38, 14] Operation: 56/4=14
Exploring Operation: 56-38=18, Resulting Numbers: [4, 18]
Generated Node #0,2,3: 72:[4, 18] Operation: 56-38=18
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 72:[4, 18], Operations: ['51-47=4', '56-38=18']
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[47, 51, 38, 56], Operations: []
Exploring Operation: 51-47=4, Resulting Numbers: [38, 56, 4]
Generated Node #0,2: 72:[38, 56, 4] Operation: 51-47=4
Moving to Node #0,2
Current State: 72:[38, 56, 4], Operations: ['51-47=4']
Exploring Operation: 56-38=18, Resulting Numbers: [4, 18]
Generated Node #0,2,3: 72:[4, 18] Operation: 56-38=18
Moving to Node #0,2,3
Current State: 72:[4, 18], Operations: ['51-47=4', '56-38=18']
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.970486 | hs_4 | mult_heuristic |
[
29,
7,
54,
63
] | 92 | [
"29+54=83",
"63/7=9",
"83+9=92"
] | Current State: 92:[29, 7, 54, 63], Operations: []
Exploring Operation: 29+54=83, Resulting Numbers: [7, 63, 83]
Generated Node #2: [7, 63, 83] from Operation: 29+54=83
Current State: 92:[7, 63, 83], Operations: ['29+54=83']
Exploring Operation: 63/7=9, Resulting Numbers: [83, 9]
Generated Node #3: [83, 9] from Operation: 63/7=9
Current State: 92:[83, 9], Operations: ['29+54=83', '63/7=9']
Exploring Operation: 83+9=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[29, 7, 54, 63], Operations: []
Exploring Operation: 29+63=92, Resulting Numbers: [7, 54, 92]
Generated Node #0,0: 92:[7, 54, 92] Operation: 29+63=92
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[7, 54, 92], Operations: ['29+63=92']
Exploring Operation: 54-7=47, Resulting Numbers: [92, 47]
Generated Node #0,0,0: 92:[92, 47] Operation: 54-7=47
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 92:[92, 47], Operations: ['29+63=92', '54-7=47']
Exploring Operation: 92-47=45, Resulting Numbers: [45]
45,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
No solution found.
| 0 | hs_1 | mult_heuristic |
[
54,
60,
51,
43
] | 20 | [
"54+60=114",
"51+43=94",
"114-94=20"
] | Current State: 20:[54, 60, 51, 43], Operations: []
Exploring Operation: 54+60=114, Resulting Numbers: [51, 43, 114]
Generated Node #2: [51, 43, 114] from Operation: 54+60=114
Current State: 20:[51, 43, 114], Operations: ['54+60=114']
Exploring Operation: 51+43=94, Resulting Numbers: [114, 94]
Generated Node #3: [114, 94] from Operation: 51+43=94
Current State: 20:[114, 94], Operations: ['54+60=114', '51+43=94']
Exploring Operation: 114-94=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[54, 60, 51, 43], Operations: []
Exploring Operation: 60-54=6, Resulting Numbers: [51, 43, 6]
Generated Node #0,0: 20:[51, 43, 6] Operation: 60-54=6
Exploring Operation: 54-51=3, Resulting Numbers: [60, 43, 3]
Generated Node #0,1: 20:[60, 43, 3] Operation: 54-51=3
Exploring Operation: 60-51=9, Resulting Numbers: [54, 43, 9]
Generated Node #0,2: 20:[54, 43, 9] Operation: 60-51=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[51, 43, 6], Operations: ['60-54=6']
Exploring Operation: 43-6=37, Resulting Numbers: [51, 37]
Generated Node #0,0,0: 20:[51, 37] Operation: 43-6=37
Exploring Operation: 51-43=8, Resulting Numbers: [6, 8]
Generated Node #0,0,1: 20:[6, 8] Operation: 51-43=8
Exploring Operation: 51-6=45, Resulting Numbers: [43, 45]
Generated Node #0,0,2: 20:[43, 45] Operation: 51-6=45
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 20:[6, 8], Operations: ['60-54=6', '51-43=8']
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,20 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,20 unequal: No Solution
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,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:[51, 37], Operations: ['60-54=6', '43-6=37']
Exploring Operation: 51*37=1887, Resulting Numbers: [1887]
1887,20 unequal: No Solution
Exploring Operation: 51-37=14, Resulting Numbers: [14]
14,20 unequal: No Solution
Exploring Operation: 51+37=88, Resulting Numbers: [88]
88,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:[43, 45], Operations: ['60-54=6', '51-6=45']
Exploring Operation: 43*45=1935, Resulting Numbers: [1935]
1935,20 unequal: No Solution
Exploring Operation: 43+45=88, Resulting Numbers: [88]
88,20 unequal: No Solution
Exploring Operation: 45-43=2, Resulting Numbers: [2]
2,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,2
Current State: 20:[54, 43, 9], Operations: ['60-51=9']
Exploring Operation: 54/9=6, Resulting Numbers: [43, 6]
Generated Node #0,2,0: 20:[43, 6] Operation: 54/9=6
Exploring Operation: 54-43=11, Resulting Numbers: [9, 11]
Generated Node #0,2,1: 20:[9, 11] Operation: 54-43=11
Exploring Operation: 54-9=45, Resulting Numbers: [43, 45]
Generated Node #0,2,2: 20:[43, 45] Operation: 54-9=45
Moving to Node #0,2,1
Current State: 20:[9, 11], Operations: ['60-51=9', '54-43=11']
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,20 unequal: No Solution
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[54, 60, 51, 43], Operations: []
Exploring Operation: 60-51=9, Resulting Numbers: [54, 43, 9]
Generated Node #0,2: 20:[54, 43, 9] Operation: 60-51=9
Moving to Node #0,2
Current State: 20:[54, 43, 9], Operations: ['60-51=9']
Exploring Operation: 54-43=11, Resulting Numbers: [9, 11]
Generated Node #0,2,1: 20:[9, 11] Operation: 54-43=11
Moving to Node #0,2,1
Current State: 20:[9, 11], Operations: ['60-51=9', '54-43=11']
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_3 | sum_heuristic |
[
47,
5,
59,
74
] | 57 | [
"47-5=42",
"74-59=15",
"42+15=57"
] | Current State: 57:[47, 5, 59, 74], Operations: []
Exploring Operation: 47-5=42, Resulting Numbers: [59, 74, 42]
Generated Node #2: [59, 74, 42] from Operation: 47-5=42
Current State: 57:[59, 74, 42], Operations: ['47-5=42']
Exploring Operation: 74-59=15, Resulting Numbers: [42, 15]
Generated Node #3: [42, 15] from Operation: 74-59=15
Current State: 57:[42, 15], Operations: ['47-5=42', '74-59=15']
Exploring Operation: 42+15=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[47, 5, 59, 74], Operations: []
Exploring Operation: 74-47=27, Resulting Numbers: [5, 59, 27]
Generated Node #0,0: 57:[5, 59, 27] Operation: 74-47=27
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[5, 59, 27], Operations: ['74-47=27']
Exploring Operation: 27-5=22, Resulting Numbers: [59, 22]
Generated Node #0,0,0: 57:[59, 22] Operation: 27-5=22
Moving to Node #0,0,0
Current State: 57:[59, 22], Operations: ['74-47=27', '27-5=22']
Exploring Operation: 59-22=37, Resulting Numbers: [37]
37,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
4,
57,
95,
83
] | 54 | [
"95-83=12",
"12/4=3",
"57-3=54"
] | Current State: 54:[4, 57, 95, 83], Operations: []
Exploring Operation: 95-83=12, Resulting Numbers: [4, 57, 12]
Generated Node #2: [4, 57, 12] from Operation: 95-83=12
Current State: 54:[4, 57, 12], Operations: ['95-83=12']
Exploring Operation: 12/4=3, Resulting Numbers: [57, 3]
Generated Node #3: [57, 3] from Operation: 12/4=3
Current State: 54:[57, 3], Operations: ['95-83=12', '12/4=3']
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[4, 57, 95, 83], Operations: []
Exploring Operation: 95-83=12, Resulting Numbers: [4, 57, 12]
Generated Node #0,0: 54:[4, 57, 12] Operation: 95-83=12
Exploring Operation: 95-57=38, Resulting Numbers: [4, 83, 38]
Generated Node #0,1: 54:[4, 83, 38] Operation: 95-57=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[4, 57, 12], Operations: ['95-83=12']
Exploring Operation: 12/4=3, Resulting Numbers: [57, 3]
Generated Node #0,0,0: 54:[57, 3] Operation: 12/4=3
Exploring Operation: 57-4=53, Resulting Numbers: [12, 53]
Generated Node #0,0,1: 54:[12, 53] Operation: 57-4=53
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 54:[57, 3], Operations: ['95-83=12', '12/4=3']
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,54 unequal: No Solution
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[4, 57, 95, 83], Operations: []
Exploring Operation: 95-83=12, Resulting Numbers: [4, 57, 12]
Generated Node #0,0: 54:[4, 57, 12] Operation: 95-83=12
Moving to Node #0,0
Current State: 54:[4, 57, 12], Operations: ['95-83=12']
Exploring Operation: 12/4=3, Resulting Numbers: [57, 3]
Generated Node #0,0,0: 54:[57, 3] Operation: 12/4=3
Moving to Node #0,0,0
Current State: 54:[57, 3], Operations: ['95-83=12', '12/4=3']
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
69,
50,
48,
19
] | 100 | [
"69-48=21",
"21-19=2",
"50*2=100"
] | Current State: 100:[69, 50, 48, 19], Operations: []
Exploring Operation: 69-48=21, Resulting Numbers: [50, 19, 21]
Generated Node #2: [50, 19, 21] from Operation: 69-48=21
Current State: 100:[50, 19, 21], Operations: ['69-48=21']
Exploring Operation: 21-19=2, Resulting Numbers: [50, 2]
Generated Node #3: [50, 2] from Operation: 21-19=2
Current State: 100:[50, 2], Operations: ['69-48=21', '21-19=2']
Exploring Operation: 50*2=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[69, 50, 48, 19], Operations: []
Exploring Operation: 69-48=21, Resulting Numbers: [50, 19, 21]
Generated Node #0,0: 100:[50, 19, 21] Operation: 69-48=21
Exploring Operation: 69-19=50, Resulting Numbers: [50, 48, 50]
Generated Node #0,1: 100:[50, 48, 50] Operation: 69-19=50
Exploring Operation: 69-50=19, Resulting Numbers: [48, 19, 19]
Generated Node #0,2: 100:[48, 19, 19] Operation: 69-50=19
Moving to Node #0,0
Current State: 100:[50, 19, 21], Operations: ['69-48=21']
Exploring Operation: 21-19=2, Resulting Numbers: [50, 2]
Generated Node #0,0,0: 100:[50, 2] Operation: 21-19=2
Exploring Operation: 50-21=29, Resulting Numbers: [19, 29]
Generated Node #0,0,1: 100:[19, 29] Operation: 50-21=29
Exploring Operation: 50-19=31, Resulting Numbers: [21, 31]
Generated Node #0,0,2: 100:[21, 31] Operation: 50-19=31
Moving to Node #0,1
Current State: 100:[50, 48, 50], Operations: ['69-19=50']
Exploring Operation: 50-48=2, Resulting Numbers: [50, 2]
Generated Node #0,1,0: 100:[50, 2] Operation: 50-48=2
Exploring Operation: 50-48=2, Resulting Numbers: [50, 2]
Generated Node #0,1,1: 100:[50, 2] Operation: 50-48=2
Exploring Operation: 50+48=98, Resulting Numbers: [50, 98]
Generated Node #0,1,2: 100:[50, 98] Operation: 50+48=98
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 100:[50, 2], Operations: ['69-19=50', '50-48=2']
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,100 unequal: No Solution
Exploring Operation: 50+2=52, Resulting Numbers: [52]
52,100 unequal: No Solution
Exploring Operation: 50*2=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[69, 50, 48, 19], Operations: []
Exploring Operation: 69-19=50, Resulting Numbers: [50, 48, 50]
Generated Node #0,1: 100:[50, 48, 50] Operation: 69-19=50
Moving to Node #0,1
Current State: 100:[50, 48, 50], Operations: ['69-19=50']
Exploring Operation: 50-48=2, Resulting Numbers: [50, 2]
Generated Node #0,1,0: 100:[50, 2] Operation: 50-48=2
Moving to Node #0,1,0
Current State: 100:[50, 2], Operations: ['69-19=50', '50-48=2']
Exploring Operation: 50*2=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | sum_heuristic |
[
28,
56,
60,
14
] | 37 | [
"56/28=2",
"60+14=74",
"74/2=37"
] | Current State: 37:[28, 56, 60, 14], Operations: []
Exploring Operation: 56/28=2, Resulting Numbers: [60, 14, 2]
Generated Node #2: [60, 14, 2] from Operation: 56/28=2
Current State: 37:[60, 14, 2], Operations: ['56/28=2']
Exploring Operation: 60+14=74, Resulting Numbers: [2, 74]
Generated Node #3: [2, 74] from Operation: 60+14=74
Current State: 37:[2, 74], Operations: ['56/28=2', '60+14=74']
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[28, 56, 60, 14], Operations: []
Exploring Operation: 60-28=32, Resulting Numbers: [56, 14, 32]
Generated Node #0,0: 37:[56, 14, 32] Operation: 60-28=32
Exploring Operation: 60-14=46, Resulting Numbers: [28, 56, 46]
Generated Node #0,1: 37:[28, 56, 46] Operation: 60-14=46
Exploring Operation: 56-14=42, Resulting Numbers: [28, 60, 42]
Generated Node #0,2: 37:[28, 60, 42] Operation: 56-14=42
Moving to Node #0,1
Current State: 37:[28, 56, 46], Operations: ['60-14=46']
Exploring Operation: 46-28=18, Resulting Numbers: [56, 18]
Generated Node #0,1,0: 37:[56, 18] Operation: 46-28=18
Exploring Operation: 56-46=10, Resulting Numbers: [28, 10]
Generated Node #0,1,1: 37:[28, 10] Operation: 56-46=10
Exploring Operation: 56-28=28, Resulting Numbers: [46, 28]
Generated Node #0,1,2: 37:[46, 28] Operation: 56-28=28
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 37:[46, 28], Operations: ['60-14=46', '56-28=28']
Exploring Operation: 46+28=74, Resulting Numbers: [74]
74,37 unequal: No Solution
Exploring Operation: 46*28=1288, Resulting Numbers: [1288]
1288,37 unequal: No Solution
Exploring Operation: 46-28=18, Resulting Numbers: [18]
18,37 unequal: No Solution
No 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: 37:[28, 10], Operations: ['60-14=46', '56-46=10']
Exploring Operation: 28*10=280, Resulting Numbers: [280]
280,37 unequal: No Solution
Exploring Operation: 28+10=38, Resulting Numbers: [38]
38,37 unequal: No Solution
Exploring Operation: 28-10=18, Resulting Numbers: [18]
18,37 unequal: No Solution
No 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: 37:[56, 18], Operations: ['60-14=46', '46-28=18']
Exploring Operation: 56*18=1008, Resulting Numbers: [1008]
1008,37 unequal: No Solution
Exploring Operation: 56-18=38, Resulting Numbers: [38]
38,37 unequal: No Solution
Exploring Operation: 56+18=74, Resulting Numbers: [74]
74,37 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: 37:[28, 60, 42], Operations: ['56-14=42']
Exploring Operation: 42-28=14, Resulting Numbers: [60, 14]
Generated Node #0,2,0: 37:[60, 14] Operation: 42-28=14
Exploring Operation: 60-28=32, Resulting Numbers: [42, 32]
Generated Node #0,2,1: 37:[42, 32] Operation: 60-28=32
Exploring Operation: 60-42=18, Resulting Numbers: [28, 18]
Generated Node #0,2,2: 37:[28, 18] Operation: 60-42=18
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 37:[42, 32], Operations: ['56-14=42', '60-28=32']
Exploring Operation: 42-32=10, Resulting Numbers: [10]
10,37 unequal: No Solution
Exploring Operation: 42*32=1344, Resulting Numbers: [1344]
1344,37 unequal: No Solution
Exploring Operation: 42+32=74, Resulting Numbers: [74]
74,37 unequal: No Solution
No 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: 37:[28, 18], Operations: ['56-14=42', '60-42=18']
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,37 unequal: No Solution
Exploring Operation: 28+18=46, Resulting Numbers: [46]
46,37 unequal: No Solution
Exploring Operation: 28*18=504, Resulting Numbers: [504]
504,37 unequal: No Solution
No 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: 37:[60, 14], Operations: ['56-14=42', '42-28=14']
Exploring Operation: 60-14=46, Resulting Numbers: [46]
46,37 unequal: No Solution
Exploring Operation: 60+14=74, Resulting Numbers: [74]
74,37 unequal: No Solution
Exploring Operation: 60*14=840, Resulting Numbers: [840]
840,37 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: 37:[56, 14, 32], Operations: ['60-28=32']
Exploring Operation: 14+32=46, Resulting Numbers: [56, 46]
Generated Node #0,0,0: 37:[56, 46] Operation: 14+32=46
Exploring Operation: 56-32=24, Resulting Numbers: [14, 24]
Generated Node #0,0,1: 37:[14, 24] Operation: 56-32=24
Exploring Operation: 56-14=42, Resulting Numbers: [32, 42]
Generated Node #0,0,2: 37:[32, 42] Operation: 56-14=42
Moving to Node #0,0,2
Current State: 37:[32, 42], Operations: ['60-28=32', '56-14=42']
Exploring Operation: 42-32=10, Resulting Numbers: [10]
10,37 unequal: No Solution
Exploring Operation: 32*42=1344, Resulting Numbers: [1344]
1344,37 unequal: No Solution
Exploring Operation: 32+42=74, Resulting Numbers: [74]
74,37 unequal: No Solution
Moving to Node #0,0,0
Current State: 37:[56, 46], Operations: ['60-28=32', '14+32=46']
Exploring Operation: 56-46=10, Resulting Numbers: [10]
10,37 unequal: No Solution
Exploring Operation: 56+46=102, Resulting Numbers: [102]
102,37 unequal: No Solution
Exploring Operation: 56*46=2576, Resulting Numbers: [2576]
2576,37 unequal: No Solution
Moving to Node #0,0,1
Current State: 37:[14, 24], Operations: ['60-28=32', '56-32=24']
Exploring Operation: 14+24=38, Resulting Numbers: [38]
38,37 unequal: No Solution
Exploring Operation: 14*24=336, Resulting Numbers: [336]
336,37 unequal: No Solution
Exploring Operation: 24-14=10, Resulting Numbers: [10]
10,37 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
6,
92,
90,
90
] | 51 | [
"92-90=2",
"90/2=45",
"6+45=51"
] | Current State: 51:[6, 92, 90, 90], Operations: []
Exploring Operation: 92-90=2, Resulting Numbers: [6, 2]
Generated Node #2: [6, 2] from Operation: 92-90=2
Current State: 51:[6, 2], Operations: ['92-90=2']
Exploring Operation: 90/2=45, Resulting Numbers: [6, 45]
Generated Node #3: [6, 45] from Operation: 90/2=45
Current State: 51:[6, 45], Operations: ['92-90=2', '90/2=45']
Exploring Operation: 6+45=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[6, 92, 90, 90], Operations: []
Exploring Operation: 92-90=2, Resulting Numbers: [6, 90, 2]
Generated Node #0,0: 51:[6, 90, 2] Operation: 92-90=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[6, 90, 2], Operations: ['92-90=2']
Exploring Operation: 90/6=15, Resulting Numbers: [2, 15]
Generated Node #0,0,0: 51:[2, 15] Operation: 90/6=15
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 51:[2, 15], Operations: ['92-90=2', '90/6=15']
Exploring Operation: 2+15=17, Resulting Numbers: [17]
17,51 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
37,
44,
37,
93
] | 29 | [
"37*37=1369",
"1369-93=1276",
"1276/44=29"
] | Current State: 29:[37, 44, 37, 93], Operations: []
Exploring Operation: 37*37=1369, Resulting Numbers: [44, 93, 1369]
Generated Node #2: [44, 93, 1369] from Operation: 37*37=1369
Current State: 29:[44, 93, 1369], Operations: ['37*37=1369']
Exploring Operation: 1369-93=1276, Resulting Numbers: [44, 1276]
Generated Node #3: [44, 1276] from Operation: 1369-93=1276
Current State: 29:[44, 1276], Operations: ['37*37=1369', '1369-93=1276']
Exploring Operation: 1276/44=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[37, 44, 37, 93], Operations: []
Exploring Operation: 44-37=7, Resulting Numbers: [37, 93, 7]
Generated Node #0,0: 29:[37, 93, 7] Operation: 44-37=7
Exploring Operation: 44-37=7, Resulting Numbers: [37, 93, 7]
Generated Node #0,1: 29:[37, 93, 7] Operation: 44-37=7
Exploring Operation: 93-44=49, Resulting Numbers: [37, 37, 49]
Generated Node #0,2: 29:[37, 37, 49] Operation: 93-44=49
Exploring Operation: 93-37=56, Resulting Numbers: [37, 44, 56]
Generated Node #0,3: 29:[37, 44, 56] Operation: 93-37=56
Exploring Operation: 93-37=56, Resulting Numbers: [44, 37, 56]
Generated Node #0,4: 29:[44, 37, 56] Operation: 93-37=56
Start Sub Search at level 1: Moving to Node #0,2
Current State: 29:[37, 37, 49], Operations: ['93-44=49']
Exploring Operation: 49-37=12, Resulting Numbers: [37, 12]
Generated Node #0,2,0: 29:[37, 12] Operation: 49-37=12
Exploring Operation: 37-37=0, Resulting Numbers: [49, 0]
Generated Node #0,2,1: 29:[49, 0] Operation: 37-37=0
Exploring Operation: 49-37=12, Resulting Numbers: [37, 12]
Generated Node #0,2,2: 29:[37, 12] Operation: 49-37=12
Exploring Operation: 37+37=74, Resulting Numbers: [49, 74]
Generated Node #0,2,3: 29:[49, 74] Operation: 37+37=74
Exploring Operation: 37/37=1, Resulting Numbers: [49, 1]
Generated Node #0,2,4: 29:[49, 1] Operation: 37/37=1
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 29:[37, 12], Operations: ['93-44=49', '49-37=12']
Exploring Operation: 37-12=25, Resulting Numbers: [25]
25,29 unequal: No Solution
Exploring Operation: 37+12=49, Resulting Numbers: [49]
49,29 unequal: No Solution
Exploring Operation: 37*12=444, Resulting Numbers: [444]
444,29 unequal: No Solution
No 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: 29:[37, 12], Operations: ['93-44=49', '49-37=12']
Exploring Operation: 37*12=444, Resulting Numbers: [444]
444,29 unequal: No Solution
Exploring Operation: 37+12=49, Resulting Numbers: [49]
49,29 unequal: No Solution
Exploring Operation: 37-12=25, Resulting Numbers: [25]
25,29 unequal: No Solution
No 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: 29:[49, 1], Operations: ['93-44=49', '37/37=1']
Exploring Operation: 49+1=50, Resulting Numbers: [50]
50,29 unequal: No Solution
Exploring Operation: 49*1=49, Resulting Numbers: [49]
49,29 unequal: No Solution
Exploring Operation: 49-1=48, Resulting Numbers: [48]
48,29 unequal: No Solution
Exploring Operation: 49/1=49, Resulting Numbers: [49]
49,29 unequal: No Solution
No 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: 29:[49, 0], Operations: ['93-44=49', '37-37=0']
Exploring Operation: 49*0=0, Resulting Numbers: [0]
0,29 unequal: No Solution
Exploring Operation: 49+0=49, Resulting Numbers: [49]
49,29 unequal: No Solution
Exploring Operation: 49-0=49, Resulting Numbers: [49]
49,29 unequal: No Solution
No 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: 29:[49, 74], Operations: ['93-44=49', '37+37=74']
Exploring Operation: 49+74=123, Resulting Numbers: [123]
123,29 unequal: No Solution
Exploring Operation: 49*74=3626, Resulting Numbers: [3626]
3626,29 unequal: No Solution
Exploring Operation: 74-49=25, Resulting Numbers: [25]
25,29 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: 29:[37, 44, 56], Operations: ['93-37=56']
Exploring Operation: 44-37=7, Resulting Numbers: [56, 7]
Generated Node #0,3,0: 29:[56, 7] Operation: 44-37=7
Exploring Operation: 37+44=81, Resulting Numbers: [56, 81]
Generated Node #0,3,1: 29:[56, 81] Operation: 37+44=81
Exploring Operation: 37+56=93, Resulting Numbers: [44, 93]
Generated Node #0,3,2: 29:[44, 93] Operation: 37+56=93
Exploring Operation: 56-44=12, Resulting Numbers: [37, 12]
Generated Node #0,3,3: 29:[37, 12] Operation: 56-44=12
Exploring Operation: 56-37=19, Resulting Numbers: [44, 19]
Generated Node #0,3,4: 29:[44, 19] Operation: 56-37=19
Moving to Node #0,3,3
Current State: 29:[37, 12], Operations: ['93-37=56', '56-44=12']
Exploring Operation: 37*12=444, Resulting Numbers: [444]
444,29 unequal: No Solution
Exploring Operation: 37+12=49, Resulting Numbers: [49]
49,29 unequal: No Solution
Exploring Operation: 37-12=25, Resulting Numbers: [25]
25,29 unequal: No Solution
Moving to Node #0,3,4
Current State: 29:[44, 19], Operations: ['93-37=56', '56-37=19']
Exploring Operation: 44-19=25, Resulting Numbers: [25]
25,29 unequal: No Solution
Exploring Operation: 44+19=63, Resulting Numbers: [63]
63,29 unequal: No Solution
Exploring Operation: 44*19=836, Resulting Numbers: [836]
836,29 unequal: No Solution
Moving to Node #0,3,0
Current State: 29:[56, 7], Operations: ['93-37=56', '44-37=7']
Exploring Operation: 56+7=63, Resulting Numbers: [63]
63,29 unequal: No Solution
Exploring Operation: 56/7=8, Resulting Numbers: [8]
8,29 unequal: No Solution
Exploring Operation: 56*7=392, Resulting Numbers: [392]
392,29 unequal: No Solution
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,29 unequal: No Solution
Moving to Node #0,3,1
Current State: 29:[56, 81], Operations: ['93-37=56', '37+44=81']
Exploring Operation: 81-56=25, Resulting Numbers: [25]
25,29 unequal: No Solution
Exploring Operation: 56*81=4536, Resulting Numbers: [4536]
4536,29 unequal: No Solution
Exploring Operation: 56+81=137, Resulting Numbers: [137]
137,29 unequal: No Solution
Moving to Node #0,3,2
Current State: 29:[44, 93], Operations: ['93-37=56', '37+56=93']
Exploring Operation: 93-44=49, Resulting Numbers: [49]
49,29 unequal: No Solution
Exploring Operation: 44*93=4092, Resulting Numbers: [4092]
4092,29 unequal: No Solution
Exploring Operation: 44+93=137, Resulting Numbers: [137]
137,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 29:[44, 37, 56], Operations: ['93-37=56']
Exploring Operation: 56-44=12, Resulting Numbers: [37, 12]
Generated Node #0,4,0: 29:[37, 12] Operation: 56-44=12
Exploring Operation: 44-37=7, Resulting Numbers: [56, 7]
Generated Node #0,4,1: 29:[56, 7] Operation: 44-37=7
Exploring Operation: 44+37=81, Resulting Numbers: [56, 81]
Generated Node #0,4,2: 29:[56, 81] Operation: 44+37=81
Exploring Operation: 56-37=19, Resulting Numbers: [44, 19]
Generated Node #0,4,3: 29:[44, 19] Operation: 56-37=19
Exploring Operation: 44+56=100, Resulting Numbers: [37, 100]
Generated Node #0,4,4: 29:[37, 100] Operation: 44+56=100
Moving to Node #0,4,0
Current State: 29:[37, 12], Operations: ['93-37=56', '56-44=12']
Exploring Operation: 37-12=25, Resulting Numbers: [25]
25,29 unequal: No Solution
Exploring Operation: 37*12=444, Resulting Numbers: [444]
444,29 unequal: No Solution
Exploring Operation: 37+12=49, Resulting Numbers: [49]
49,29 unequal: No Solution
Moving to Node #0,4,3
Current State: 29:[44, 19], Operations: ['93-37=56', '56-37=19']
Exploring Operation: 44-19=25, Resulting Numbers: [25]
25,29 unequal: No Solution
Exploring Operation: 44*19=836, Resulting Numbers: [836]
836,29 unequal: No Solution
Exploring Operation: 44+19=63, Resulting Numbers: [63]
63,29 unequal: No Solution
Moving to Node #0,4,1
Current State: 29:[56, 7], Operations: ['93-37=56', '44-37=7']
Exploring Operation: 56+7=63, Resulting Numbers: [63]
63,29 unequal: No Solution
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,29 unequal: No Solution
Exploring Operation: 56*7=392, Resulting Numbers: [392]
392,29 unequal: No Solution
Exploring Operation: 56/7=8, Resulting Numbers: [8]
8,29 unequal: No Solution
Moving to Node #0,4,2
Current State: 29:[56, 81], Operations: ['93-37=56', '44+37=81']
Exploring Operation: 56+81=137, Resulting Numbers: [137]
137,29 unequal: No Solution
Exploring Operation: 81-56=25, Resulting Numbers: [25]
25,29 unequal: No Solution
Exploring Operation: 56*81=4536, Resulting Numbers: [4536]
4536,29 unequal: No Solution
Moving to Node #0,4,4
Current State: 29:[37, 100], Operations: ['93-37=56', '44+56=100']
Exploring Operation: 37*100=3700, Resulting Numbers: [3700]
3700,29 unequal: No Solution
Exploring Operation: 100-37=63, Resulting Numbers: [63]
63,29 unequal: No Solution
Exploring Operation: 37+100=137, Resulting Numbers: [137]
137,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[37, 93, 7], Operations: ['44-37=7']
Exploring Operation: 93+7=100, Resulting Numbers: [37, 100]
Generated Node #0,0,0: 29:[37, 100] Operation: 93+7=100
Exploring Operation: 37+7=44, Resulting Numbers: [93, 44]
Generated Node #0,0,1: 29:[93, 44] Operation: 37+7=44
Exploring Operation: 93-37=56, Resulting Numbers: [7, 56]
Generated Node #0,0,2: 29:[7, 56] Operation: 93-37=56
Exploring Operation: 37-7=30, Resulting Numbers: [93, 30]
Generated Node #0,0,3: 29:[93, 30] Operation: 37-7=30
Exploring Operation: 93-7=86, Resulting Numbers: [37, 86]
Generated Node #0,0,4: 29:[37, 86] Operation: 93-7=86
Moving to Node #0,0,2
Current State: 29:[7, 56], Operations: ['44-37=7', '93-37=56']
Exploring Operation: 7*56=392, Resulting Numbers: [392]
392,29 unequal: No Solution
Exploring Operation: 7+56=63, Resulting Numbers: [63]
63,29 unequal: No Solution
Exploring Operation: 56/7=8, Resulting Numbers: [8]
8,29 unequal: No Solution
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,29 unequal: No Solution
Moving to Node #0,0,4
Current State: 29:[37, 86], Operations: ['44-37=7', '93-7=86']
Exploring Operation: 37*86=3182, Resulting Numbers: [3182]
3182,29 unequal: No Solution
Exploring Operation: 37+86=123, Resulting Numbers: [123]
123,29 unequal: No Solution
Exploring Operation: 86-37=49, Resulting Numbers: [49]
49,29 unequal: No Solution
Moving to Node #0,0,3
Current State: 29:[93, 30], Operations: ['44-37=7', '37-7=30']
Exploring Operation: 93-30=63, Resulting Numbers: [63]
63,29 unequal: No Solution
Exploring Operation: 93+30=123, Resulting Numbers: [123]
123,29 unequal: No Solution
Exploring Operation: 93*30=2790, Resulting Numbers: [2790]
2790,29 unequal: No Solution
Moving to Node #0,0,0
Current State: 29:[37, 100], Operations: ['44-37=7', '93+7=100']
Exploring Operation: 100-37=63, Resulting Numbers: [63]
63,29 unequal: No Solution
Exploring Operation: 37*100=3700, Resulting Numbers: [3700]
3700,29 unequal: No Solution
Exploring Operation: 37+100=137, Resulting Numbers: [137]
137,29 unequal: No Solution
Moving to Node #0,0,1
Current State: 29:[93, 44], Operations: ['44-37=7', '37+7=44']
Exploring Operation: 93*44=4092, Resulting Numbers: [4092]
4092,29 unequal: No Solution
Exploring Operation: 93-44=49, Resulting Numbers: [49]
49,29 unequal: No Solution
Exploring Operation: 93+44=137, Resulting Numbers: [137]
137,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,1
Current State: 29:[37, 93, 7], Operations: ['44-37=7']
Exploring Operation: 37+7=44, Resulting Numbers: [93, 44]
Generated Node #0,1,0: 29:[93, 44] Operation: 37+7=44
Exploring Operation: 37-7=30, Resulting Numbers: [93, 30]
Generated Node #0,1,1: 29:[93, 30] Operation: 37-7=30
Exploring Operation: 93-7=86, Resulting Numbers: [37, 86]
Generated Node #0,1,2: 29:[37, 86] Operation: 93-7=86
Exploring Operation: 93-37=56, Resulting Numbers: [7, 56]
Generated Node #0,1,3: 29:[7, 56] Operation: 93-37=56
Exploring Operation: 93+7=100, Resulting Numbers: [37, 100]
Generated Node #0,1,4: 29:[37, 100] Operation: 93+7=100
Moving to Node #0,1,3
Current State: 29:[7, 56], Operations: ['44-37=7', '93-37=56']
Exploring Operation: 56-7=49, Resulting Numbers: [49]
49,29 unequal: No Solution
Exploring Operation: 56/7=8, Resulting Numbers: [8]
8,29 unequal: No Solution
Exploring Operation: 7+56=63, Resulting Numbers: [63]
63,29 unequal: No Solution
Exploring Operation: 7*56=392, Resulting Numbers: [392]
392,29 unequal: No Solution
Moving to Node #0,1,2
Current State: 29:[37, 86], Operations: ['44-37=7', '93-7=86']
Exploring Operation: 37*86=3182, Resulting Numbers: [3182]
3182,29 unequal: No Solution
Exploring Operation: 37+86=123, Resulting Numbers: [123]
123,29 unequal: No Solution
Exploring Operation: 86-37=49, Resulting Numbers: [49]
49,29 unequal: No Solution
Moving to Node #0,1,1
Current State: 29:[93, 30], Operations: ['44-37=7', '37-7=30']
Exploring Operation: 93-30=63, Resulting Numbers: [63]
63,29 unequal: No Solution
Exploring Operation: 93*30=2790, Resulting Numbers: [2790]
2790,29 unequal: No Solution
Exploring Operation: 93+30=123, Resulting Numbers: [123]
123,29 unequal: No Solution
Moving to Node #0,1,0
Current State: 29:[93, 44], Operations: ['44-37=7', '37+7=44']
Exploring Operation: 93*44=4092, Resulting Numbers: [4092]
4092,29 unequal: No Solution
Exploring Operation: 93+44=137, Resulting Numbers: [137]
137,29 unequal: No Solution
Exploring Operation: 93-44=49, Resulting Numbers: [49]
49,29 unequal: No Solution
Moving to Node #0,1,4
Current State: 29:[37, 100], Operations: ['44-37=7', '93+7=100']
Exploring Operation: 100-37=63, Resulting Numbers: [63]
63,29 unequal: No Solution
Exploring Operation: 37+100=137, Resulting Numbers: [137]
137,29 unequal: No Solution
Exploring Operation: 37*100=3700, Resulting Numbers: [3700]
3700,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
14,
20,
62,
8
] | 12 | [
"14+20=34",
"62+34=96",
"96/8=12"
] | Current State: 12:[14, 20, 62, 8], Operations: []
Exploring Operation: 14+20=34, Resulting Numbers: [62, 8, 34]
Generated Node #2: [62, 8, 34] from Operation: 14+20=34
Current State: 12:[62, 8, 34], Operations: ['14+20=34']
Exploring Operation: 62+34=96, Resulting Numbers: [8, 96]
Generated Node #3: [8, 96] from Operation: 62+34=96
Current State: 12:[8, 96], Operations: ['14+20=34', '62+34=96']
Exploring Operation: 96/8=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[14, 20, 62, 8], Operations: []
Exploring Operation: 62-20=42, Resulting Numbers: [14, 8, 42]
Generated Node #0,0: 12:[14, 8, 42] Operation: 62-20=42
Exploring Operation: 62-14=48, Resulting Numbers: [20, 8, 48]
Generated Node #0,1: 12:[20, 8, 48] Operation: 62-14=48
Exploring Operation: 20-14=6, Resulting Numbers: [62, 8, 6]
Generated Node #0,2: 12:[62, 8, 6] Operation: 20-14=6
Moving to Node #0,0
Current State: 12:[14, 8, 42], Operations: ['62-20=42']
Exploring Operation: 42/14=3, Resulting Numbers: [8, 3]
Generated Node #0,0,0: 12:[8, 3] Operation: 42/14=3
Exploring Operation: 42-14=28, Resulting Numbers: [8, 28]
Generated Node #0,0,1: 12:[8, 28] Operation: 42-14=28
Exploring Operation: 42-8=34, Resulting Numbers: [14, 34]
Generated Node #0,0,2: 12:[14, 34] Operation: 42-8=34
Moving to Node #0,1
Current State: 12:[20, 8, 48], Operations: ['62-14=48']
Exploring Operation: 48/8=6, Resulting Numbers: [20, 6]
Generated Node #0,1,0: 12:[20, 6] Operation: 48/8=6
Exploring Operation: 20-8=12, Resulting Numbers: [48, 12]
Generated Node #0,1,1: 12:[48, 12] Operation: 20-8=12
Exploring Operation: 48-20=28, Resulting Numbers: [8, 28]
Generated Node #0,1,2: 12:[8, 28] Operation: 48-20=28
Moving to Node #0,2
Current State: 12:[62, 8, 6], Operations: ['20-14=6']
Exploring Operation: 62-6=56, Resulting Numbers: [8, 56]
Generated Node #0,2,0: 12:[8, 56] Operation: 62-6=56
Exploring Operation: 62-8=54, Resulting Numbers: [6, 54]
Generated Node #0,2,1: 12:[6, 54] Operation: 62-8=54
Exploring Operation: 8-6=2, Resulting Numbers: [62, 2]
Generated Node #0,2,2: 12:[62, 2] Operation: 8-6=2
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 12:[6, 54], Operations: ['20-14=6', '62-8=54']
Exploring Operation: 54/6=9, Resulting Numbers: [9]
9,12 unequal: No Solution
Exploring Operation: 54-6=48, Resulting Numbers: [48]
48,12 unequal: No Solution
Exploring Operation: 6+54=60, Resulting Numbers: [60]
60,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 12:[8, 56], Operations: ['20-14=6', '62-6=56']
Exploring Operation: 56-8=48, Resulting Numbers: [48]
48,12 unequal: No Solution
Exploring Operation: 8+56=64, Resulting Numbers: [64]
64,12 unequal: No Solution
Exploring Operation: 56/8=7, Resulting Numbers: [7]
7,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 12:[62, 2], Operations: ['20-14=6', '8-6=2']
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,12 unequal: No Solution
Exploring Operation: 62+2=64, Resulting Numbers: [64]
64,12 unequal: No Solution
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,12 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: 12:[8, 3], Operations: ['62-20=42', '42/14=3']
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,12 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,12 unequal: No Solution
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,12 unequal: No Solution
Moving to Node #0,1,0
Current State: 12:[20, 6], Operations: ['62-14=48', '48/8=6']
Exploring Operation: 20+6=26, Resulting Numbers: [26]
26,12 unequal: No Solution
Exploring Operation: 20*6=120, Resulting Numbers: [120]
120,12 unequal: No Solution
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,12 unequal: No Solution
Moving to Node #0,1,2
Current State: 12:[8, 28], Operations: ['62-14=48', '48-20=28']
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,12 unequal: No Solution
Exploring Operation: 8+28=36, Resulting Numbers: [36]
36,12 unequal: No Solution
Exploring Operation: 8*28=224, Resulting Numbers: [224]
224,12 unequal: No Solution
Moving to Node #0,0,1
Current State: 12:[8, 28], Operations: ['62-20=42', '42-14=28']
Exploring Operation: 28-8=20, Resulting Numbers: [20]
20,12 unequal: No Solution
Exploring Operation: 8*28=224, Resulting Numbers: [224]
224,12 unequal: No Solution
Exploring Operation: 8+28=36, Resulting Numbers: [36]
36,12 unequal: No Solution
Moving to Node #0,0,2
Current State: 12:[14, 34], Operations: ['62-20=42', '42-8=34']
Exploring Operation: 14*34=476, Resulting Numbers: [476]
476,12 unequal: No Solution
Exploring Operation: 14+34=48, Resulting Numbers: [48]
48,12 unequal: No Solution
Exploring Operation: 34-14=20, Resulting Numbers: [20]
20,12 unequal: No Solution
Moving to Node #0,1,1
Current State: 12:[48, 12], Operations: ['62-14=48', '20-8=12']
Exploring Operation: 48+12=60, Resulting Numbers: [60]
60,12 unequal: No Solution
Exploring Operation: 48-12=36, Resulting Numbers: [36]
36,12 unequal: No Solution
Exploring Operation: 48/12=4, Resulting Numbers: [4]
4,12 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
58,
61,
22,
38
] | 92 | [
"61-58=3",
"38*3=114",
"114-22=92"
] | Current State: 92:[58, 61, 22, 38], Operations: []
Exploring Operation: 61-58=3, Resulting Numbers: [22, 38, 3]
Generated Node #2: [22, 38, 3] from Operation: 61-58=3
Current State: 92:[22, 38, 3], Operations: ['61-58=3']
Exploring Operation: 38*3=114, Resulting Numbers: [22, 114]
Generated Node #3: [22, 114] from Operation: 38*3=114
Current State: 92:[22, 114], Operations: ['61-58=3', '38*3=114']
Exploring Operation: 114-22=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[58, 61, 22, 38], Operations: []
Exploring Operation: 58+38=96, Resulting Numbers: [61, 22, 96]
Generated Node #0,0: 92:[61, 22, 96] Operation: 58+38=96
Exploring Operation: 61-38=23, Resulting Numbers: [58, 22, 23]
Generated Node #0,1: 92:[58, 22, 23] Operation: 61-38=23
Exploring Operation: 58-38=20, Resulting Numbers: [61, 22, 20]
Generated Node #0,2: 92:[61, 22, 20] Operation: 58-38=20
Exploring Operation: 61-58=3, Resulting Numbers: [22, 38, 3]
Generated Node #0,3: 92:[22, 38, 3] Operation: 61-58=3
Start Sub Search at level 1: Moving to Node #0,3
Current State: 92:[22, 38, 3], Operations: ['61-58=3']
Exploring Operation: 38+3=41, Resulting Numbers: [22, 41]
Generated Node #0,3,0: 92:[22, 41] Operation: 38+3=41
Exploring Operation: 38-22=16, Resulting Numbers: [3, 16]
Generated Node #0,3,1: 92:[3, 16] Operation: 38-22=16
Exploring Operation: 22-3=19, Resulting Numbers: [38, 19]
Generated Node #0,3,2: 92:[38, 19] Operation: 22-3=19
Exploring Operation: 22+3=25, Resulting Numbers: [38, 25]
Generated Node #0,3,3: 92:[38, 25] Operation: 22+3=25
Moving to Node #0,3,0
Current State: 92:[22, 41], Operations: ['61-58=3', '38+3=41']
Exploring Operation: 22+41=63, Resulting Numbers: [63]
63,92 unequal: No Solution
Exploring Operation: 22*41=902, Resulting Numbers: [902]
902,92 unequal: No Solution
Exploring Operation: 41-22=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Moving to Node #0,3,1
Current State: 92:[3, 16], Operations: ['61-58=3', '38-22=16']
Exploring Operation: 3+16=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,92 unequal: No Solution
Exploring Operation: 3*16=48, Resulting Numbers: [48]
48,92 unequal: No Solution
Moving to Node #0,3,3
Current State: 92:[38, 25], Operations: ['61-58=3', '22+3=25']
Exploring Operation: 38-25=13, Resulting Numbers: [13]
13,92 unequal: No Solution
Exploring Operation: 38+25=63, Resulting Numbers: [63]
63,92 unequal: No Solution
Exploring Operation: 38*25=950, Resulting Numbers: [950]
950,92 unequal: No Solution
Moving to Node #0,3,2
Current State: 92:[38, 19], Operations: ['61-58=3', '22-3=19']
Exploring Operation: 38*19=722, Resulting Numbers: [722]
722,92 unequal: No Solution
Exploring Operation: 38+19=57, Resulting Numbers: [57]
57,92 unequal: No Solution
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,92 unequal: No Solution
Exploring Operation: 38/19=2, Resulting Numbers: [2]
2,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 92:[58, 22, 23], Operations: ['61-38=23']
Exploring Operation: 58-22=36, Resulting Numbers: [23, 36]
Generated Node #0,1,0: 92:[23, 36] Operation: 58-22=36
Exploring Operation: 58-23=35, Resulting Numbers: [22, 35]
Generated Node #0,1,1: 92:[22, 35] Operation: 58-23=35
Exploring Operation: 58+22=80, Resulting Numbers: [23, 80]
Generated Node #0,1,2: 92:[23, 80] Operation: 58+22=80
Exploring Operation: 58+23=81, Resulting Numbers: [22, 81]
Generated Node #0,1,3: 92:[22, 81] Operation: 58+23=81
Moving to Node #0,1,0
Current State: 92:[23, 36], Operations: ['61-38=23', '58-22=36']
Exploring Operation: 23*36=828, Resulting Numbers: [828]
828,92 unequal: No Solution
Exploring Operation: 23+36=59, Resulting Numbers: [59]
59,92 unequal: No Solution
Exploring Operation: 36-23=13, Resulting Numbers: [13]
13,92 unequal: No Solution
Moving to Node #0,1,2
Current State: 92:[23, 80], Operations: ['61-38=23', '58+22=80']
Exploring Operation: 23*80=1840, Resulting Numbers: [1840]
1840,92 unequal: No Solution
Exploring Operation: 80-23=57, Resulting Numbers: [57]
57,92 unequal: No Solution
Exploring Operation: 23+80=103, Resulting Numbers: [103]
103,92 unequal: No Solution
Moving to Node #0,1,1
Current State: 92:[22, 35], Operations: ['61-38=23', '58-23=35']
Exploring Operation: 35-22=13, Resulting Numbers: [13]
13,92 unequal: No Solution
Exploring Operation: 22*35=770, Resulting Numbers: [770]
770,92 unequal: No Solution
Exploring Operation: 22+35=57, Resulting Numbers: [57]
57,92 unequal: No Solution
Moving to Node #0,1,3
Current State: 92:[22, 81], Operations: ['61-38=23', '58+23=81']
Exploring Operation: 81-22=59, Resulting Numbers: [59]
59,92 unequal: No Solution
Exploring Operation: 22+81=103, Resulting Numbers: [103]
103,92 unequal: No Solution
Exploring Operation: 22*81=1782, Resulting Numbers: [1782]
1782,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 92:[61, 22, 20], Operations: ['58-38=20']
Exploring Operation: 61+22=83, Resulting Numbers: [20, 83]
Generated Node #0,2,0: 92:[20, 83] Operation: 61+22=83
Exploring Operation: 61-20=41, Resulting Numbers: [22, 41]
Generated Node #0,2,1: 92:[22, 41] Operation: 61-20=41
Exploring Operation: 61+20=81, Resulting Numbers: [22, 81]
Generated Node #0,2,2: 92:[22, 81] Operation: 61+20=81
Exploring Operation: 61-22=39, Resulting Numbers: [20, 39]
Generated Node #0,2,3: 92:[20, 39] Operation: 61-22=39
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 92:[22, 41], Operations: ['58-38=20', '61-20=41']
Exploring Operation: 22*41=902, Resulting Numbers: [902]
902,92 unequal: No Solution
Exploring Operation: 22+41=63, Resulting Numbers: [63]
63,92 unequal: No Solution
Exploring Operation: 41-22=19, Resulting Numbers: [19]
19,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,2,3
Current State: 92:[20, 39], Operations: ['58-38=20', '61-22=39']
Exploring Operation: 20*39=780, Resulting Numbers: [780]
780,92 unequal: No Solution
Exploring Operation: 20+39=59, Resulting Numbers: [59]
59,92 unequal: No Solution
Exploring Operation: 39-20=19, Resulting Numbers: [19]
19,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,2,0
Current State: 92:[20, 83], Operations: ['58-38=20', '61+22=83']
Exploring Operation: 83-20=63, Resulting Numbers: [63]
63,92 unequal: No Solution
Exploring Operation: 20+83=103, Resulting Numbers: [103]
103,92 unequal: No Solution
Exploring Operation: 20*83=1660, Resulting Numbers: [1660]
1660,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,2,2
Current State: 92:[22, 81], Operations: ['58-38=20', '61+20=81']
Exploring Operation: 22*81=1782, Resulting Numbers: [1782]
1782,92 unequal: No Solution
Exploring Operation: 81-22=59, Resulting Numbers: [59]
59,92 unequal: No Solution
Exploring Operation: 22+81=103, Resulting Numbers: [103]
103,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,0
Current State: 92:[61, 22, 96], Operations: ['58+38=96']
Exploring Operation: 61-22=39, Resulting Numbers: [96, 39]
Generated Node #0,0,0: 92:[96, 39] Operation: 61-22=39
Exploring Operation: 96-61=35, Resulting Numbers: [22, 35]
Generated Node #0,0,1: 92:[22, 35] Operation: 96-61=35
Exploring Operation: 61+22=83, Resulting Numbers: [96, 83]
Generated Node #0,0,2: 92:[96, 83] Operation: 61+22=83
Exploring Operation: 96-22=74, Resulting Numbers: [61, 74]
Generated Node #0,0,3: 92:[61, 74] Operation: 96-22=74
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 92:[96, 39], Operations: ['58+38=96', '61-22=39']
Exploring Operation: 96+39=135, Resulting Numbers: [135]
135,92 unequal: No Solution
Exploring Operation: 96*39=3744, Resulting Numbers: [3744]
3744,92 unequal: No Solution
Exploring Operation: 96-39=57, Resulting Numbers: [57]
57,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:[22, 35], Operations: ['58+38=96', '96-61=35']
Exploring Operation: 22+35=57, Resulting Numbers: [57]
57,92 unequal: No Solution
Exploring Operation: 35-22=13, Resulting Numbers: [13]
13,92 unequal: No Solution
Exploring Operation: 22*35=770, Resulting Numbers: [770]
770,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,2
Current State: 92:[96, 83], Operations: ['58+38=96', '61+22=83']
Exploring Operation: 96*83=7968, Resulting Numbers: [7968]
7968,92 unequal: No Solution
Exploring Operation: 96-83=13, Resulting Numbers: [13]
13,92 unequal: No Solution
Exploring Operation: 96+83=179, Resulting Numbers: [179]
179,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,3
Current State: 92:[61, 74], Operations: ['58+38=96', '96-22=74']
Exploring Operation: 61*74=4514, Resulting Numbers: [4514]
4514,92 unequal: No Solution
Exploring Operation: 74-61=13, Resulting Numbers: [13]
13,92 unequal: No Solution
Exploring Operation: 61+74=135, Resulting Numbers: [135]
135,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
No solution found.
| 0 | hs_4 | sum_heuristic |
[
73,
2,
94,
82
] | 63 | [
"73+2=75",
"94-82=12",
"75-12=63"
] | Current State: 63:[73, 2, 94, 82], Operations: []
Exploring Operation: 73+2=75, Resulting Numbers: [94, 82, 75]
Generated Node #2: [94, 82, 75] from Operation: 73+2=75
Current State: 63:[94, 82, 75], Operations: ['73+2=75']
Exploring Operation: 94-82=12, Resulting Numbers: [75, 12]
Generated Node #3: [75, 12] from Operation: 94-82=12
Current State: 63:[75, 12], Operations: ['73+2=75', '94-82=12']
Exploring Operation: 75-12=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[73, 2, 94, 82], Operations: []
Exploring Operation: 94-82=12, Resulting Numbers: [73, 2, 12]
Generated Node #0,0: 63:[73, 2, 12] Operation: 94-82=12
Exploring Operation: 82-73=9, Resulting Numbers: [2, 94, 9]
Generated Node #0,1: 63:[2, 94, 9] Operation: 82-73=9
Exploring Operation: 94-73=21, Resulting Numbers: [2, 82, 21]
Generated Node #0,2: 63:[2, 82, 21] Operation: 94-73=21
Exploring Operation: 94/2=47, Resulting Numbers: [73, 82, 47]
Generated Node #0,3: 63:[73, 82, 47] Operation: 94/2=47
Moving to Node #0,0
Current State: 63:[73, 2, 12], Operations: ['94-82=12']
Exploring Operation: 12/2=6, Resulting Numbers: [73, 6]
Generated Node #0,0,0: 63:[73, 6] Operation: 12/2=6
Exploring Operation: 73-12=61, Resulting Numbers: [2, 61]
Generated Node #0,0,1: 63:[2, 61] Operation: 73-12=61
Exploring Operation: 12-2=10, Resulting Numbers: [73, 10]
Generated Node #0,0,2: 63:[73, 10] Operation: 12-2=10
Exploring Operation: 73-2=71, Resulting Numbers: [12, 71]
Generated Node #0,0,3: 63:[12, 71] Operation: 73-2=71
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 63:[2, 61], Operations: ['94-82=12', '73-12=61']
Exploring Operation: 2+61=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Moving to Node #0
Current State: 63:[73, 2, 94, 82], Operations: []
Exploring Operation: 94-82=12, Resulting Numbers: [73, 2, 12]
Generated Node #0,0: 63:[73, 2, 12] Operation: 94-82=12
Moving to Node #0,0
Current State: 63:[73, 2, 12], Operations: ['94-82=12']
Exploring Operation: 73-12=61, Resulting Numbers: [2, 61]
Generated Node #0,0,1: 63:[2, 61] Operation: 73-12=61
Moving to Node #0,0,1
Current State: 63:[2, 61], Operations: ['94-82=12', '73-12=61']
Exploring Operation: 2+61=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
9,
62,
76,
68
] | 45 | [
"62-9=53",
"76-68=8",
"53-8=45"
] | Current State: 45:[9, 62, 76, 68], Operations: []
Exploring Operation: 62-9=53, Resulting Numbers: [76, 68, 53]
Generated Node #2: [76, 68, 53] from Operation: 62-9=53
Current State: 45:[76, 68, 53], Operations: ['62-9=53']
Exploring Operation: 76-68=8, Resulting Numbers: [53, 8]
Generated Node #3: [53, 8] from Operation: 76-68=8
Current State: 45:[53, 8], Operations: ['62-9=53', '76-68=8']
Exploring Operation: 53-8=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[9, 62, 76, 68], Operations: []
Exploring Operation: 76-62=14, Resulting Numbers: [9, 68, 14]
Generated Node #0,0: 45:[9, 68, 14] Operation: 76-62=14
Exploring Operation: 76-68=8, Resulting Numbers: [9, 62, 8]
Generated Node #0,1: 45:[9, 62, 8] Operation: 76-68=8
Exploring Operation: 68-62=6, Resulting Numbers: [9, 76, 6]
Generated Node #0,2: 45:[9, 76, 6] Operation: 68-62=6
Moving to Node #0,1
Current State: 45:[9, 62, 8], Operations: ['76-68=8']
Exploring Operation: 62-8=54, Resulting Numbers: [9, 54]
Generated Node #0,1,0: 45:[9, 54] Operation: 62-8=54
Exploring Operation: 62-9=53, Resulting Numbers: [8, 53]
Generated Node #0,1,1: 45:[8, 53] Operation: 62-9=53
Exploring Operation: 9+8=17, Resulting Numbers: [62, 17]
Generated Node #0,1,2: 45:[62, 17] Operation: 9+8=17
Moving to Node #0,0
Current State: 45:[9, 68, 14], Operations: ['76-62=14']
Exploring Operation: 68-14=54, Resulting Numbers: [9, 54]
Generated Node #0,0,0: 45:[9, 54] Operation: 68-14=54
Exploring Operation: 68-9=59, Resulting Numbers: [14, 59]
Generated Node #0,0,1: 45:[14, 59] Operation: 68-9=59
Exploring Operation: 14-9=5, Resulting Numbers: [68, 5]
Generated Node #0,0,2: 45:[68, 5] Operation: 14-9=5
Moving to Node #0,2
Current State: 45:[9, 76, 6], Operations: ['68-62=6']
Exploring Operation: 76-6=70, Resulting Numbers: [9, 70]
Generated Node #0,2,0: 45:[9, 70] Operation: 76-6=70
Exploring Operation: 9+6=15, Resulting Numbers: [76, 15]
Generated Node #0,2,1: 45:[76, 15] Operation: 9+6=15
Exploring Operation: 76-9=67, Resulting Numbers: [6, 67]
Generated Node #0,2,2: 45:[6, 67] Operation: 76-9=67
Moving to Node #0,1,0
Current State: 45:[9, 54], Operations: ['76-68=8', '62-8=54']
Exploring Operation: 54-9=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[9, 62, 76, 68], Operations: []
Exploring Operation: 76-68=8, Resulting Numbers: [9, 62, 8]
Generated Node #0,1: 45:[9, 62, 8] Operation: 76-68=8
Moving to Node #0,1
Current State: 45:[9, 62, 8], Operations: ['76-68=8']
Exploring Operation: 62-8=54, Resulting Numbers: [9, 54]
Generated Node #0,1,0: 45:[9, 54] Operation: 62-8=54
Moving to Node #0,1,0
Current State: 45:[9, 54], Operations: ['76-68=8', '62-8=54']
Exploring Operation: 54-9=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 0.985243 | hs_3 | sum_heuristic |
[
26,
37,
15,
2
] | 39 | [
"26+37=63",
"15+63=78",
"78/2=39"
] | Current State: 39:[26, 37, 15, 2], Operations: []
Exploring Operation: 26+37=63, Resulting Numbers: [15, 2, 63]
Generated Node #2: [15, 2, 63] from Operation: 26+37=63
Current State: 39:[15, 2, 63], Operations: ['26+37=63']
Exploring Operation: 15+63=78, Resulting Numbers: [2, 78]
Generated Node #3: [2, 78] from Operation: 15+63=78
Current State: 39:[2, 78], Operations: ['26+37=63', '15+63=78']
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[26, 37, 15, 2], Operations: []
Exploring Operation: 26/2=13, Resulting Numbers: [37, 15, 13]
Generated Node #0,0: 39:[37, 15, 13] Operation: 26/2=13
Exploring Operation: 37-26=11, Resulting Numbers: [15, 2, 11]
Generated Node #0,1: 39:[15, 2, 11] Operation: 37-26=11
Moving to Node #0,0
Current State: 39:[37, 15, 13], Operations: ['26/2=13']
Exploring Operation: 37-15=22, Resulting Numbers: [13, 22]
Generated Node #0,0,0: 39:[13, 22] Operation: 37-15=22
Exploring Operation: 15-13=2, Resulting Numbers: [37, 2]
Generated Node #0,0,1: 39:[37, 2] Operation: 15-13=2
Moving to Node #0,1
Current State: 39:[15, 2, 11], Operations: ['37-26=11']
Exploring Operation: 15-2=13, Resulting Numbers: [11, 13]
Generated Node #0,1,0: 39:[11, 13] Operation: 15-2=13
Exploring Operation: 15-11=4, Resulting Numbers: [2, 4]
Generated Node #0,1,1: 39:[2, 4] Operation: 15-11=4
Moving to Node #0,1,0
Current State: 39:[11, 13], Operations: ['37-26=11', '15-2=13']
Exploring Operation: 13-11=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 11+13=24, Resulting Numbers: [24]
24,39 unequal: No Solution
Moving to Node #0,1,1
Current State: 39:[2, 4], Operations: ['37-26=11', '15-11=4']
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,39 unequal: No Solution
Moving to Node #0,0,1
Current State: 39:[37, 2], Operations: ['26/2=13', '15-13=2']
Exploring Operation: 37-2=35, Resulting Numbers: [35]
35,39 unequal: No Solution
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[26, 37, 15, 2], Operations: []
Exploring Operation: 26/2=13, Resulting Numbers: [37, 15, 13]
Generated Node #0,0: 39:[37, 15, 13] Operation: 26/2=13
Moving to Node #0,0
Current State: 39:[37, 15, 13], Operations: ['26/2=13']
Exploring Operation: 15-13=2, Resulting Numbers: [37, 2]
Generated Node #0,0,1: 39:[37, 2] Operation: 15-13=2
Moving to Node #0,0,1
Current State: 39:[37, 2], Operations: ['26/2=13', '15-13=2']
Exploring Operation: 37+2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 0.986111 | hs_2 | sum_heuristic |
[
75,
3,
85,
20
] | 24 | [
"75+85=160",
"3*160=480",
"480/20=24"
] | Current State: 24:[75, 3, 85, 20], Operations: []
Exploring Operation: 75+85=160, Resulting Numbers: [3, 20, 160]
Generated Node #2: [3, 20, 160] from Operation: 75+85=160
Current State: 24:[3, 20, 160], Operations: ['75+85=160']
Exploring Operation: 3*160=480, Resulting Numbers: [20, 480]
Generated Node #3: [20, 480] from Operation: 3*160=480
Current State: 24:[20, 480], Operations: ['75+85=160', '3*160=480']
Exploring Operation: 480/20=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[75, 3, 85, 20], Operations: []
Exploring Operation: 85-75=10, Resulting Numbers: [3, 20, 10]
Generated Node #0,0: 24:[3, 20, 10] Operation: 85-75=10
Exploring Operation: 75/3=25, Resulting Numbers: [85, 20, 25]
Generated Node #0,1: 24:[85, 20, 25] Operation: 75/3=25
Moving to Node #0,0
Current State: 24:[3, 20, 10], Operations: ['85-75=10']
Exploring Operation: 20/10=2, Resulting Numbers: [3, 2]
Generated Node #0,0,0: 24:[3, 2] Operation: 20/10=2
Exploring Operation: 20-10=10, Resulting Numbers: [3, 10]
Generated Node #0,0,1: 24:[3, 10] Operation: 20-10=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[3, 2], Operations: ['85-75=10', '20/10=2']
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,24 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,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,0,1
Current State: 24:[3, 10], Operations: ['85-75=10', '20-10=10']
Exploring Operation: 3+10=13, Resulting Numbers: [13]
13,24 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,24 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: 24:[85, 20, 25], Operations: ['75/3=25']
Exploring Operation: 85-25=60, Resulting Numbers: [20, 60]
Generated Node #0,1,0: 24:[20, 60] Operation: 85-25=60
Exploring Operation: 85-20=65, Resulting Numbers: [25, 65]
Generated Node #0,1,1: 24:[25, 65] Operation: 85-20=65
Moving to Node #0,1,0
Current State: 24:[20, 60], Operations: ['75/3=25', '85-25=60']
Exploring Operation: 60/20=3, Resulting Numbers: [3]
3,24 unequal: No Solution
Exploring Operation: 60-20=40, Resulting Numbers: [40]
40,24 unequal: No Solution
Moving to Node #0,1,1
Current State: 24:[25, 65], Operations: ['75/3=25', '85-20=65']
Exploring Operation: 25+65=90, Resulting Numbers: [90]
90,24 unequal: No Solution
Exploring Operation: 65-25=40, Resulting Numbers: [40]
40,24 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
88,
3,
6,
90
] | 93 | [
"3*6=18",
"90/18=5",
"88+5=93"
] | Current State: 93:[88, 3, 6, 90], Operations: []
Exploring Operation: 3*6=18, Resulting Numbers: [88, 90, 18]
Generated Node #2: [88, 90, 18] from Operation: 3*6=18
Current State: 93:[88, 90, 18], Operations: ['3*6=18']
Exploring Operation: 90/18=5, Resulting Numbers: [88, 5]
Generated Node #3: [88, 5] from Operation: 90/18=5
Current State: 93:[88, 5], Operations: ['3*6=18', '90/18=5']
Exploring Operation: 88+5=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[88, 3, 6, 90], Operations: []
Exploring Operation: 88+6=94, Resulting Numbers: [3, 90, 94]
Generated Node #0,0: 93:[3, 90, 94] Operation: 88+6=94
Exploring Operation: 90-88=2, Resulting Numbers: [3, 6, 2]
Generated Node #0,1: 93:[3, 6, 2] Operation: 90-88=2
Exploring Operation: 88+3=91, Resulting Numbers: [6, 90, 91]
Generated Node #0,2: 93:[6, 90, 91] Operation: 88+3=91
Exploring Operation: 6-3=3, Resulting Numbers: [88, 90, 3]
Generated Node #0,3: 93:[88, 90, 3] Operation: 6-3=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[3, 90, 94], Operations: ['88+6=94']
Exploring Operation: 90/3=30, Resulting Numbers: [94, 30]
Generated Node #0,0,0: 93:[94, 30] Operation: 90/3=30
Exploring Operation: 94-90=4, Resulting Numbers: [3, 4]
Generated Node #0,0,1: 93:[3, 4] Operation: 94-90=4
Exploring Operation: 94-3=91, Resulting Numbers: [90, 91]
Generated Node #0,0,2: 93:[90, 91] Operation: 94-3=91
Exploring Operation: 3+90=93, Resulting Numbers: [94, 93]
Generated Node #0,0,3: 93:[94, 93] Operation: 3+90=93
Moving to Node #0,0,1
Current State: 93:[3, 4], Operations: ['88+6=94', '94-90=4']
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,93 unequal: No Solution
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,93 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Moving to Node #0,0,3
Current State: 93:[94, 93], Operations: ['88+6=94', '3+90=93']
Exploring Operation: 94-93=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Exploring Operation: 94*93=8742, Resulting Numbers: [8742]
8742,93 unequal: No Solution
Exploring Operation: 94+93=187, Resulting Numbers: [187]
187,93 unequal: No Solution
Moving to Node #0,0,0
Current State: 93:[94, 30], Operations: ['88+6=94', '90/3=30']
Exploring Operation: 94*30=2820, Resulting Numbers: [2820]
2820,93 unequal: No Solution
Exploring Operation: 94+30=124, Resulting Numbers: [124]
124,93 unequal: No Solution
Exploring Operation: 94-30=64, Resulting Numbers: [64]
64,93 unequal: No Solution
Moving to Node #0,0,2
Current State: 93:[90, 91], Operations: ['88+6=94', '94-3=91']
Exploring Operation: 91-90=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Exploring Operation: 90*91=8190, Resulting Numbers: [8190]
8190,93 unequal: No Solution
Exploring Operation: 90+91=181, Resulting Numbers: [181]
181,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[3, 6, 2], Operations: ['90-88=2']
Exploring Operation: 6-3=3, Resulting Numbers: [2, 3]
Generated Node #0,1,0: 93:[2, 3] Operation: 6-3=3
Exploring Operation: 6/2=3, Resulting Numbers: [3, 3]
Generated Node #0,1,1: 93:[3, 3] Operation: 6/2=3
Exploring Operation: 6/3=2, Resulting Numbers: [2, 2]
Generated Node #0,1,2: 93:[2, 2] Operation: 6/3=2
Exploring Operation: 6-2=4, Resulting Numbers: [3, 4]
Generated Node #0,1,3: 93:[3, 4] Operation: 6-2=4
Moving to Node #0,1,1
Current State: 93:[3, 3], Operations: ['90-88=2', '6/2=3']
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,93 unequal: No Solution
Exploring Operation: 3-3=0, Resulting Numbers: [0]
0,93 unequal: No Solution
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,93 unequal: No Solution
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Moving to Node #0,1,3
Current State: 93:[3, 4], Operations: ['90-88=2', '6-2=4']
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,93 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,93 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Moving to Node #0,1,0
Current State: 93:[2, 3], Operations: ['90-88=2', '6-3=3']
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,93 unequal: No Solution
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,93 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Moving to Node #0,1,2
Current State: 93:[2, 2], Operations: ['90-88=2', '6/3=2']
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,93 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,93 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 93:[6, 90, 91], Operations: ['88+3=91']
Exploring Operation: 91-90=1, Resulting Numbers: [6, 1]
Generated Node #0,2,0: 93:[6, 1] Operation: 91-90=1
Exploring Operation: 6+91=97, Resulting Numbers: [90, 97]
Generated Node #0,2,1: 93:[90, 97] Operation: 6+91=97
Exploring Operation: 6+90=96, Resulting Numbers: [91, 96]
Generated Node #0,2,2: 93:[91, 96] Operation: 6+90=96
Exploring Operation: 90-6=84, Resulting Numbers: [91, 84]
Generated Node #0,2,3: 93:[91, 84] Operation: 90-6=84
Moving to Node #0,2,0
Current State: 93:[6, 1], Operations: ['88+3=91', '91-90=1']
Exploring Operation: 6+1=7, Resulting Numbers: [7]
7,93 unequal: No Solution
Exploring Operation: 6*1=6, Resulting Numbers: [6]
6,93 unequal: No Solution
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,93 unequal: No Solution
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,93 unequal: No Solution
Moving to Node #0,2,2
Current State: 93:[91, 96], Operations: ['88+3=91', '6+90=96']
Exploring Operation: 96-91=5, Resulting Numbers: [5]
5,93 unequal: No Solution
Exploring Operation: 91+96=187, Resulting Numbers: [187]
187,93 unequal: No Solution
Exploring Operation: 91*96=8736, Resulting Numbers: [8736]
8736,93 unequal: No Solution
Moving to Node #0,2,1
Current State: 93:[90, 97], Operations: ['88+3=91', '6+91=97']
Exploring Operation: 90*97=8730, Resulting Numbers: [8730]
8730,93 unequal: No Solution
Exploring Operation: 97-90=7, Resulting Numbers: [7]
7,93 unequal: No Solution
Exploring Operation: 90+97=187, Resulting Numbers: [187]
187,93 unequal: No Solution
Moving to Node #0,2,3
Current State: 93:[91, 84], Operations: ['88+3=91', '90-6=84']
Exploring Operation: 91+84=175, Resulting Numbers: [175]
175,93 unequal: No Solution
Exploring Operation: 91*84=7644, Resulting Numbers: [7644]
7644,93 unequal: No Solution
Exploring Operation: 91-84=7, Resulting Numbers: [7]
7,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 93:[88, 90, 3], Operations: ['6-3=3']
Exploring Operation: 90-88=2, Resulting Numbers: [3, 2]
Generated Node #0,3,0: 93:[3, 2] Operation: 90-88=2
Exploring Operation: 90/3=30, Resulting Numbers: [88, 30]
Generated Node #0,3,1: 93:[88, 30] Operation: 90/3=30
Exploring Operation: 88+3=91, Resulting Numbers: [90, 91]
Generated Node #0,3,2: 93:[90, 91] Operation: 88+3=91
Exploring Operation: 90+3=93, Resulting Numbers: [88, 93]
Generated Node #0,3,3: 93:[88, 93] Operation: 90+3=93
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 93:[3, 2], Operations: ['6-3=3', '90-88=2']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,93 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,93 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 93:[90, 91], Operations: ['6-3=3', '88+3=91']
Exploring Operation: 90*91=8190, Resulting Numbers: [8190]
8190,93 unequal: No Solution
Exploring Operation: 90+91=181, Resulting Numbers: [181]
181,93 unequal: No Solution
Exploring Operation: 91-90=1, Resulting Numbers: [1]
1,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 93:[88, 93], Operations: ['6-3=3', '90+3=93']
Exploring Operation: 88+93=181, Resulting Numbers: [181]
181,93 unequal: No Solution
Exploring Operation: 88*93=8184, Resulting Numbers: [8184]
8184,93 unequal: No Solution
Exploring Operation: 93-88=5, Resulting Numbers: [5]
5,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 93:[88, 30], Operations: ['6-3=3', '90/3=30']
Exploring Operation: 88+30=118, Resulting Numbers: [118]
118,93 unequal: No Solution
Exploring Operation: 88-30=58, Resulting Numbers: [58]
58,93 unequal: No Solution
Exploring Operation: 88*30=2640, Resulting Numbers: [2640]
2640,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
81,
66,
41,
7
] | 19 | [
"81-66=15",
"41-7=34",
"34-15=19"
] | Current State: 19:[81, 66, 41, 7], Operations: []
Exploring Operation: 81-66=15, Resulting Numbers: [41, 7, 15]
Generated Node #2: [41, 7, 15] from Operation: 81-66=15
Current State: 19:[41, 7, 15], Operations: ['81-66=15']
Exploring Operation: 41-7=34, Resulting Numbers: [15, 34]
Generated Node #3: [15, 34] from Operation: 41-7=34
Current State: 19:[15, 34], Operations: ['81-66=15', '41-7=34']
Exploring Operation: 34-15=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[81, 66, 41, 7], Operations: []
Exploring Operation: 81-66=15, Resulting Numbers: [41, 7, 15]
Generated Node #0,0: 19:[41, 7, 15] Operation: 81-66=15
Exploring Operation: 81-41=40, Resulting Numbers: [66, 7, 40]
Generated Node #0,1: 19:[66, 7, 40] Operation: 81-41=40
Exploring Operation: 66-41=25, Resulting Numbers: [81, 7, 25]
Generated Node #0,2: 19:[81, 7, 25] Operation: 66-41=25
Exploring Operation: 81-7=74, Resulting Numbers: [66, 41, 74]
Generated Node #0,3: 19:[66, 41, 74] Operation: 81-7=74
Start Sub Search at level 1: Moving to Node #0,0
Current State: 19:[41, 7, 15], Operations: ['81-66=15']
Exploring Operation: 41-7=34, Resulting Numbers: [15, 34]
Generated Node #0,0,0: 19:[15, 34] Operation: 41-7=34
Exploring Operation: 7+15=22, Resulting Numbers: [41, 22]
Generated Node #0,0,1: 19:[41, 22] Operation: 7+15=22
Exploring Operation: 41+7=48, Resulting Numbers: [15, 48]
Generated Node #0,0,2: 19:[15, 48] Operation: 41+7=48
Exploring Operation: 41-15=26, Resulting Numbers: [7, 26]
Generated Node #0,0,3: 19:[7, 26] Operation: 41-15=26
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 19:[15, 34], Operations: ['81-66=15', '41-7=34']
Exploring Operation: 15+34=49, Resulting Numbers: [49]
49,19 unequal: No Solution
Exploring Operation: 15*34=510, Resulting Numbers: [510]
510,19 unequal: No Solution
Exploring Operation: 34-15=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[81, 66, 41, 7], Operations: []
Exploring Operation: 81-66=15, Resulting Numbers: [41, 7, 15]
Generated Node #0,0: 19:[41, 7, 15] Operation: 81-66=15
Moving to Node #0,0
Current State: 19:[41, 7, 15], Operations: ['81-66=15']
Exploring Operation: 41-7=34, Resulting Numbers: [15, 34]
Generated Node #0,0,0: 19:[15, 34] Operation: 41-7=34
Moving to Node #0,0,0
Current State: 19:[15, 34], Operations: ['81-66=15', '41-7=34']
Exploring Operation: 34-15=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
60,
56,
80,
4
] | 91 | [
"60+80=140",
"140/4=35",
"56+35=91"
] | Current State: 91:[60, 56, 80, 4], Operations: []
Exploring Operation: 60+80=140, Resulting Numbers: [56, 4, 140]
Generated Node #2: [56, 4, 140] from Operation: 60+80=140
Current State: 91:[56, 4, 140], Operations: ['60+80=140']
Exploring Operation: 140/4=35, Resulting Numbers: [56, 35]
Generated Node #3: [56, 35] from Operation: 140/4=35
Current State: 91:[56, 35], Operations: ['60+80=140', '140/4=35']
Exploring Operation: 56+35=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[60, 56, 80, 4], Operations: []
Exploring Operation: 60-56=4, Resulting Numbers: [80, 4, 4]
Generated Node #0,0: 91:[80, 4, 4] Operation: 60-56=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[80, 4, 4], Operations: ['60-56=4']
Exploring Operation: 80+4=84, Resulting Numbers: [4, 84]
Generated Node #0,0,0: 91:[4, 84] Operation: 80+4=84
Moving to Node #0,0,0
Current State: 91:[4, 84], Operations: ['60-56=4', '80+4=84']
Exploring Operation: 4+84=88, Resulting Numbers: [88]
88,91 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,
69,
12,
72
] | 14 | [
"72-69=3",
"78/3=26",
"26-12=14"
] | Current State: 14:[78, 69, 12, 72], Operations: []
Exploring Operation: 72-69=3, Resulting Numbers: [78, 12, 3]
Generated Node #2: [78, 12, 3] from Operation: 72-69=3
Current State: 14:[78, 12, 3], Operations: ['72-69=3']
Exploring Operation: 78/3=26, Resulting Numbers: [12, 26]
Generated Node #3: [12, 26] from Operation: 78/3=26
Current State: 14:[12, 26], Operations: ['72-69=3', '78/3=26']
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[78, 69, 12, 72], Operations: []
Exploring Operation: 78-72=6, Resulting Numbers: [69, 12, 6]
Generated Node #0,0: 14:[69, 12, 6] Operation: 78-72=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[69, 12, 6], Operations: ['78-72=6']
Exploring Operation: 69-12=57, Resulting Numbers: [6, 57]
Generated Node #0,0,0: 14:[6, 57] Operation: 69-12=57
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 14:[6, 57], Operations: ['78-72=6', '69-12=57']
Exploring Operation: 57-6=51, Resulting Numbers: [51]
51,14 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 |
[
4,
53,
37,
77
] | 89 | [
"53-4=49",
"77-37=40",
"49+40=89"
] | Current State: 89:[4, 53, 37, 77], Operations: []
Exploring Operation: 53-4=49, Resulting Numbers: [37, 77, 49]
Generated Node #2: [37, 77, 49] from Operation: 53-4=49
Current State: 89:[37, 77, 49], Operations: ['53-4=49']
Exploring Operation: 77-37=40, Resulting Numbers: [49, 40]
Generated Node #3: [49, 40] from Operation: 77-37=40
Current State: 89:[49, 40], Operations: ['53-4=49', '77-37=40']
Exploring Operation: 49+40=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[4, 53, 37, 77], Operations: []
Exploring Operation: 53+37=90, Resulting Numbers: [4, 77, 90]
Generated Node #0,0: 89:[4, 77, 90] Operation: 53+37=90
Exploring Operation: 4+53=57, Resulting Numbers: [37, 77, 57]
Generated Node #0,1: 89:[37, 77, 57] Operation: 4+53=57
Exploring Operation: 4+37=41, Resulting Numbers: [53, 77, 41]
Generated Node #0,2: 89:[53, 77, 41] Operation: 4+37=41
Exploring Operation: 4+77=81, Resulting Numbers: [53, 37, 81]
Generated Node #0,3: 89:[53, 37, 81] Operation: 4+77=81
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[37, 77, 57], Operations: ['4+53=57']
Exploring Operation: 57-37=20, Resulting Numbers: [77, 20]
Generated Node #0,1,0: 89:[77, 20] Operation: 57-37=20
Exploring Operation: 77-37=40, Resulting Numbers: [57, 40]
Generated Node #0,1,1: 89:[57, 40] Operation: 77-37=40
Exploring Operation: 37+57=94, Resulting Numbers: [77, 94]
Generated Node #0,1,2: 89:[77, 94] Operation: 37+57=94
Exploring Operation: 37+77=114, Resulting Numbers: [57, 114]
Generated Node #0,1,3: 89:[57, 114] Operation: 37+77=114
Moving to Node #0,1,2
Current State: 89:[77, 94], Operations: ['4+53=57', '37+57=94']
Exploring Operation: 94-77=17, Resulting Numbers: [17]
17,89 unequal: No Solution
Exploring Operation: 77*94=7238, Resulting Numbers: [7238]
7238,89 unequal: No Solution
Exploring Operation: 77+94=171, Resulting Numbers: [171]
171,89 unequal: No Solution
Moving to Node #0,1,3
Current State: 89:[57, 114], Operations: ['4+53=57', '37+77=114']
Exploring Operation: 114/57=2, Resulting Numbers: [2]
2,89 unequal: No Solution
Exploring Operation: 57+114=171, Resulting Numbers: [171]
171,89 unequal: No Solution
Exploring Operation: 57*114=6498, Resulting Numbers: [6498]
6498,89 unequal: No Solution
Exploring Operation: 114-57=57, Resulting Numbers: [57]
57,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[57, 40], Operations: ['4+53=57', '77-37=40']
Exploring Operation: 57-40=17, Resulting Numbers: [17]
17,89 unequal: No Solution
Exploring Operation: 57+40=97, Resulting Numbers: [97]
97,89 unequal: No Solution
Exploring Operation: 57*40=2280, Resulting Numbers: [2280]
2280,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[77, 20], Operations: ['4+53=57', '57-37=20']
Exploring Operation: 77+20=97, Resulting Numbers: [97]
97,89 unequal: No Solution
Exploring Operation: 77*20=1540, Resulting Numbers: [1540]
1540,89 unequal: No Solution
Exploring Operation: 77-20=57, Resulting Numbers: [57]
57,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,2
Current State: 89:[53, 77, 41], Operations: ['4+37=41']
Exploring Operation: 77+41=118, Resulting Numbers: [53, 118]
Generated Node #0,2,0: 89:[53, 118] Operation: 77+41=118
Exploring Operation: 53+77=130, Resulting Numbers: [41, 130]
Generated Node #0,2,1: 89:[41, 130] Operation: 53+77=130
Exploring Operation: 53+41=94, Resulting Numbers: [77, 94]
Generated Node #0,2,2: 89:[77, 94] Operation: 53+41=94
Exploring Operation: 53-41=12, Resulting Numbers: [77, 12]
Generated Node #0,2,3: 89:[77, 12] Operation: 53-41=12
Moving to Node #0,2,2
Current State: 89:[77, 94], Operations: ['4+37=41', '53+41=94']
Exploring Operation: 77*94=7238, Resulting Numbers: [7238]
7238,89 unequal: No Solution
Exploring Operation: 94-77=17, Resulting Numbers: [17]
17,89 unequal: No Solution
Exploring Operation: 77+94=171, Resulting Numbers: [171]
171,89 unequal: No Solution
Moving to Node #0,2,0
Current State: 89:[53, 118], Operations: ['4+37=41', '77+41=118']
Exploring Operation: 53*118=6254, Resulting Numbers: [6254]
6254,89 unequal: No Solution
Exploring Operation: 53+118=171, Resulting Numbers: [171]
171,89 unequal: No Solution
Exploring Operation: 118-53=65, Resulting Numbers: [65]
65,89 unequal: No Solution
Moving to Node #0,2,3
Current State: 89:[77, 12], Operations: ['4+37=41', '53-41=12']
Exploring Operation: 77*12=924, Resulting Numbers: [924]
924,89 unequal: No Solution
Exploring Operation: 77+12=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[4, 53, 37, 77], Operations: []
Exploring Operation: 4+37=41, Resulting Numbers: [53, 77, 41]
Generated Node #0,2: 89:[53, 77, 41] Operation: 4+37=41
Moving to Node #0,2
Current State: 89:[53, 77, 41], Operations: ['4+37=41']
Exploring Operation: 53-41=12, Resulting Numbers: [77, 12]
Generated Node #0,2,3: 89:[77, 12] Operation: 53-41=12
Moving to Node #0,2,3
Current State: 89:[77, 12], Operations: ['4+37=41', '53-41=12']
Exploring Operation: 77+12=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_4 | mult_heuristic |
[
65,
75,
75,
80
] | 67 | [
"75-65=10",
"80/10=8",
"75-8=67"
] | Current State: 67:[65, 75, 75, 80], Operations: []
Exploring Operation: 75-65=10, Resulting Numbers: [80, 10]
Generated Node #2: [80, 10] from Operation: 75-65=10
Current State: 67:[80, 10], Operations: ['75-65=10']
Exploring Operation: 80/10=8, Resulting Numbers: [8]
8,67 equal: Goal Reached
Exploring Operation: 75-8=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[65, 75, 75, 80], Operations: []
Exploring Operation: 80-75=5, Resulting Numbers: [65, 75, 5]
Generated Node #0,0: 67:[65, 75, 5] Operation: 80-75=5
Exploring Operation: 80-65=15, Resulting Numbers: [75, 75, 15]
Generated Node #0,1: 67:[75, 75, 15] Operation: 80-65=15
Moving to Node #0,1
Current State: 67:[75, 75, 15], Operations: ['80-65=15']
Exploring Operation: 75-15=60, Resulting Numbers: [75, 60]
Generated Node #0,1,0: 67:[75, 60] Operation: 75-15=60
Exploring Operation: 75-15=60, Resulting Numbers: [75, 60]
Generated Node #0,1,1: 67:[75, 60] Operation: 75-15=60
Moving to Node #0,0
Current State: 67:[65, 75, 5], Operations: ['80-75=5']
Exploring Operation: 75-5=70, Resulting Numbers: [65, 70]
Generated Node #0,0,0: 67:[65, 70] Operation: 75-5=70
Exploring Operation: 65+5=70, Resulting Numbers: [75, 70]
Generated Node #0,0,1: 67:[75, 70] Operation: 65+5=70
Moving to Node #0,0,0
Current State: 67:[65, 70], Operations: ['80-75=5', '75-5=70']
Exploring Operation: 70-65=5, Resulting Numbers: [5]
5,67 unequal: No Solution
Exploring Operation: 65+70=135, Resulting Numbers: [135]
135,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[75, 70], Operations: ['80-75=5', '65+5=70']
Exploring Operation: 75-70=5, Resulting Numbers: [5]
5,67 unequal: No Solution
Exploring Operation: 75+70=145, Resulting Numbers: [145]
145,67 unequal: No Solution
Moving to Node #0,1,1
Current State: 67:[75, 60], Operations: ['80-65=15', '75-15=60']
Exploring Operation: 75-60=15, Resulting Numbers: [15]
15,67 unequal: No Solution
Exploring Operation: 75+60=135, Resulting Numbers: [135]
135,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[75, 60], Operations: ['80-65=15', '75-15=60']
Exploring Operation: 75+60=135, Resulting Numbers: [135]
135,67 unequal: No Solution
Exploring Operation: 75-60=15, Resulting Numbers: [15]
15,67 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
60,
7,
3,
34
] | 19 | [
"7-3=4",
"60/4=15",
"34-15=19"
] | Current State: 19:[60, 7, 3, 34], Operations: []
Exploring Operation: 7-3=4, Resulting Numbers: [60, 34, 4]
Generated Node #2: [60, 34, 4] from Operation: 7-3=4
Current State: 19:[60, 34, 4], Operations: ['7-3=4']
Exploring Operation: 60/4=15, Resulting Numbers: [34, 15]
Generated Node #3: [34, 15] from Operation: 60/4=15
Current State: 19:[34, 15], Operations: ['7-3=4', '60/4=15']
Exploring Operation: 34-15=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[60, 7, 3, 34], Operations: []
Exploring Operation: 60/3=20, Resulting Numbers: [7, 34, 20]
Generated Node #0,0: 19:[7, 34, 20] Operation: 60/3=20
Moving to Node #0,0
Current State: 19:[7, 34, 20], Operations: ['60/3=20']
Exploring Operation: 34-7=27, Resulting Numbers: [20, 27]
Generated Node #0,0,0: 19:[20, 27] Operation: 34-7=27
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[20, 27], Operations: ['60/3=20', '34-7=27']
Exploring Operation: 27-20=7, Resulting Numbers: [7]
7,19 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 |
[
44,
77,
55,
74
] | 71 | [
"77+55=132",
"132/44=3",
"74-3=71"
] | Current State: 71:[44, 77, 55, 74], Operations: []
Exploring Operation: 77+55=132, Resulting Numbers: [44, 74, 132]
Generated Node #2: [44, 74, 132] from Operation: 77+55=132
Current State: 71:[44, 74, 132], Operations: ['77+55=132']
Exploring Operation: 132/44=3, Resulting Numbers: [74, 3]
Generated Node #3: [74, 3] from Operation: 132/44=3
Current State: 71:[74, 3], Operations: ['77+55=132', '132/44=3']
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[44, 77, 55, 74], Operations: []
Exploring Operation: 77-44=33, Resulting Numbers: [55, 74, 33]
Generated Node #0,0: 71:[55, 74, 33] Operation: 77-44=33
Exploring Operation: 44+55=99, Resulting Numbers: [77, 74, 99]
Generated Node #0,1: 71:[77, 74, 99] Operation: 44+55=99
Moving to Node #0,1
Current State: 71:[77, 74, 99], Operations: ['44+55=99']
Exploring Operation: 99-74=25, Resulting Numbers: [77, 25]
Generated Node #0,1,0: 71:[77, 25] Operation: 99-74=25
Exploring Operation: 99-77=22, Resulting Numbers: [74, 22]
Generated Node #0,1,1: 71:[74, 22] Operation: 99-77=22
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 71:[77, 25], Operations: ['44+55=99', '99-74=25']
Exploring Operation: 77-25=52, Resulting Numbers: [52]
52,71 unequal: No Solution
Exploring Operation: 77+25=102, Resulting Numbers: [102]
102,71 unequal: No Solution
No 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: 71:[74, 22], Operations: ['44+55=99', '99-77=22']
Exploring Operation: 74+22=96, Resulting Numbers: [96]
96,71 unequal: No Solution
Exploring Operation: 74-22=52, Resulting Numbers: [52]
52,71 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: 71:[55, 74, 33], Operations: ['77-44=33']
Exploring Operation: 55+33=88, Resulting Numbers: [74, 88]
Generated Node #0,0,0: 71:[74, 88] Operation: 55+33=88
Exploring Operation: 74-33=41, Resulting Numbers: [55, 41]
Generated Node #0,0,1: 71:[55, 41] Operation: 74-33=41
Moving to Node #0,0,0
Current State: 71:[74, 88], Operations: ['77-44=33', '55+33=88']
Exploring Operation: 74+88=162, Resulting Numbers: [162]
162,71 unequal: No Solution
Exploring Operation: 88-74=14, Resulting Numbers: [14]
14,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[55, 41], Operations: ['77-44=33', '74-33=41']
Exploring Operation: 55-41=14, Resulting Numbers: [14]
14,71 unequal: No Solution
Exploring Operation: 55+41=96, Resulting Numbers: [96]
96,71 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
63,
13,
58,
2
] | 79 | [
"63-13=50",
"58/2=29",
"50+29=79"
] | Current State: 79:[63, 13, 58, 2], Operations: []
Exploring Operation: 63-13=50, Resulting Numbers: [58, 2, 50]
Generated Node #2: [58, 2, 50] from Operation: 63-13=50
Current State: 79:[58, 2, 50], Operations: ['63-13=50']
Exploring Operation: 58/2=29, Resulting Numbers: [50, 29]
Generated Node #3: [50, 29] from Operation: 58/2=29
Current State: 79:[50, 29], Operations: ['63-13=50', '58/2=29']
Exploring Operation: 50+29=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[63, 13, 58, 2], Operations: []
Exploring Operation: 13*2=26, Resulting Numbers: [63, 58, 26]
Generated Node #0,0: 79:[63, 58, 26] Operation: 13*2=26
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[63, 58, 26], Operations: ['13*2=26']
Exploring Operation: 58+26=84, Resulting Numbers: [63, 84]
Generated Node #0,0,0: 79:[63, 84] Operation: 58+26=84
Moving to Node #0,0,0
Current State: 79:[63, 84], Operations: ['13*2=26', '58+26=84']
Exploring Operation: 84-63=21, Resulting Numbers: [21]
21,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 |
[
51,
17,
44,
64
] | 74 | [
"51-17=34",
"44+64=108",
"108-34=74"
] | Current State: 74:[51, 17, 44, 64], Operations: []
Exploring Operation: 51-17=34, Resulting Numbers: [44, 64, 34]
Generated Node #2: [44, 64, 34] from Operation: 51-17=34
Current State: 74:[44, 64, 34], Operations: ['51-17=34']
Exploring Operation: 44+64=108, Resulting Numbers: [34, 108]
Generated Node #3: [34, 108] from Operation: 44+64=108
Current State: 74:[34, 108], Operations: ['51-17=34', '44+64=108']
Exploring Operation: 108-34=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[51, 17, 44, 64], Operations: []
Exploring Operation: 51/17=3, Resulting Numbers: [44, 64, 3]
Generated Node #0,0: 74:[44, 64, 3] Operation: 51/17=3
Exploring Operation: 51+17=68, Resulting Numbers: [44, 64, 68]
Generated Node #0,1: 74:[44, 64, 68] Operation: 51+17=68
Exploring Operation: 51-17=34, Resulting Numbers: [44, 64, 34]
Generated Node #0,2: 74:[44, 64, 34] Operation: 51-17=34
Moving to Node #0,0
Current State: 74:[44, 64, 3], Operations: ['51/17=3']
Exploring Operation: 44-3=41, Resulting Numbers: [64, 41]
Generated Node #0,0,0: 74:[64, 41] Operation: 44-3=41
Exploring Operation: 64+3=67, Resulting Numbers: [44, 67]
Generated Node #0,0,1: 74:[44, 67] Operation: 64+3=67
Exploring Operation: 64-44=20, Resulting Numbers: [3, 20]
Generated Node #0,0,2: 74:[3, 20] Operation: 64-44=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 74:[64, 41], Operations: ['51/17=3', '44-3=41']
Exploring Operation: 64*41=2624, Resulting Numbers: [2624]
2624,74 unequal: No Solution
Exploring Operation: 64-41=23, Resulting Numbers: [23]
23,74 unequal: No Solution
Exploring Operation: 64+41=105, Resulting Numbers: [105]
105,74 unequal: No Solution
No 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: 74:[44, 67], Operations: ['51/17=3', '64+3=67']
Exploring Operation: 44+67=111, Resulting Numbers: [111]
111,74 unequal: No Solution
Exploring Operation: 67-44=23, Resulting Numbers: [23]
23,74 unequal: No Solution
Exploring Operation: 44*67=2948, Resulting Numbers: [2948]
2948,74 unequal: No Solution
No 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: 74:[3, 20], Operations: ['51/17=3', '64-44=20']
Exploring Operation: 3*20=60, Resulting Numbers: [60]
60,74 unequal: No Solution
Exploring Operation: 3+20=23, Resulting Numbers: [23]
23,74 unequal: No Solution
Exploring Operation: 20-3=17, Resulting Numbers: [17]
17,74 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: 74:[44, 64, 34], Operations: ['51-17=34']
Exploring Operation: 44-34=10, Resulting Numbers: [64, 10]
Generated Node #0,2,0: 74:[64, 10] Operation: 44-34=10
Exploring Operation: 44+34=78, Resulting Numbers: [64, 78]
Generated Node #0,2,1: 74:[64, 78] Operation: 44+34=78
Exploring Operation: 64-34=30, Resulting Numbers: [44, 30]
Generated Node #0,2,2: 74:[44, 30] Operation: 64-34=30
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 74:[64, 78], Operations: ['51-17=34', '44+34=78']
Exploring Operation: 64*78=4992, Resulting Numbers: [4992]
4992,74 unequal: No Solution
Exploring Operation: 78-64=14, Resulting Numbers: [14]
14,74 unequal: No Solution
Exploring Operation: 64+78=142, Resulting Numbers: [142]
142,74 unequal: No Solution
No 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: 74:[44, 30], Operations: ['51-17=34', '64-34=30']
Exploring Operation: 44-30=14, Resulting Numbers: [14]
14,74 unequal: No Solution
Exploring Operation: 44*30=1320, Resulting Numbers: [1320]
1320,74 unequal: No Solution
Exploring Operation: 44+30=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[51, 17, 44, 64], Operations: []
Exploring Operation: 51-17=34, Resulting Numbers: [44, 64, 34]
Generated Node #0,2: 74:[44, 64, 34] Operation: 51-17=34
Moving to Node #0,2
Current State: 74:[44, 64, 34], Operations: ['51-17=34']
Exploring Operation: 64-34=30, Resulting Numbers: [44, 30]
Generated Node #0,2,2: 74:[44, 30] Operation: 64-34=30
Moving to Node #0,2,2
Current State: 74:[44, 30], Operations: ['51-17=34', '64-34=30']
Exploring Operation: 44+30=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 | hs_3 | sum_heuristic |
[
66,
50,
15,
56
] | 57 | [
"66-50=16",
"56-15=41",
"16+41=57"
] | Current State: 57:[66, 50, 15, 56], Operations: []
Exploring Operation: 66-50=16, Resulting Numbers: [15, 56, 16]
Generated Node #2: [15, 56, 16] from Operation: 66-50=16
Current State: 57:[15, 56, 16], Operations: ['66-50=16']
Exploring Operation: 56-15=41, Resulting Numbers: [16, 41]
Generated Node #3: [16, 41] from Operation: 56-15=41
Current State: 57:[16, 41], Operations: ['66-50=16', '56-15=41']
Exploring Operation: 16+41=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[66, 50, 15, 56], Operations: []
Exploring Operation: 66-50=16, Resulting Numbers: [15, 56, 16]
Generated Node #0,0: 57:[15, 56, 16] Operation: 66-50=16
Exploring Operation: 50+15=65, Resulting Numbers: [66, 56, 65]
Generated Node #0,1: 57:[66, 56, 65] Operation: 50+15=65
Exploring Operation: 66-15=51, Resulting Numbers: [50, 56, 51]
Generated Node #0,2: 57:[50, 56, 51] Operation: 66-15=51
Exploring Operation: 56-50=6, Resulting Numbers: [66, 15, 6]
Generated Node #0,3: 57:[66, 15, 6] Operation: 56-50=6
Exploring Operation: 66-56=10, Resulting Numbers: [50, 15, 10]
Generated Node #0,4: 57:[50, 15, 10] Operation: 66-56=10
Moving to Node #0,0
Current State: 57:[15, 56, 16], Operations: ['66-50=16']
Exploring Operation: 56+16=72, Resulting Numbers: [15, 72]
Generated Node #0,0,0: 57:[15, 72] Operation: 56+16=72
Exploring Operation: 15+16=31, Resulting Numbers: [56, 31]
Generated Node #0,0,1: 57:[56, 31] Operation: 15+16=31
Exploring Operation: 16-15=1, Resulting Numbers: [56, 1]
Generated Node #0,0,2: 57:[56, 1] Operation: 16-15=1
Exploring Operation: 15+56=71, Resulting Numbers: [16, 71]
Generated Node #0,0,3: 57:[16, 71] Operation: 15+56=71
Exploring Operation: 56-15=41, Resulting Numbers: [16, 41]
Generated Node #0,0,4: 57:[16, 41] Operation: 56-15=41
Moving to Node #0,2
Current State: 57:[50, 56, 51], Operations: ['66-15=51']
Exploring Operation: 56-51=5, Resulting Numbers: [50, 5]
Generated Node #0,2,0: 57:[50, 5] Operation: 56-51=5
Exploring Operation: 50+51=101, Resulting Numbers: [56, 101]
Generated Node #0,2,1: 57:[56, 101] Operation: 50+51=101
Exploring Operation: 50+56=106, Resulting Numbers: [51, 106]
Generated Node #0,2,2: 57:[51, 106] Operation: 50+56=106
Exploring Operation: 56-50=6, Resulting Numbers: [51, 6]
Generated Node #0,2,3: 57:[51, 6] Operation: 56-50=6
Exploring Operation: 51-50=1, Resulting Numbers: [56, 1]
Generated Node #0,2,4: 57:[56, 1] Operation: 51-50=1
Moving to Node #0,3
Current State: 57:[66, 15, 6], Operations: ['56-50=6']
Exploring Operation: 15-6=9, Resulting Numbers: [66, 9]
Generated Node #0,3,0: 57:[66, 9] Operation: 15-6=9
Exploring Operation: 66-15=51, Resulting Numbers: [6, 51]
Generated Node #0,3,1: 57:[6, 51] Operation: 66-15=51
Exploring Operation: 66-6=60, Resulting Numbers: [15, 60]
Generated Node #0,3,2: 57:[15, 60] Operation: 66-6=60
Exploring Operation: 15+6=21, Resulting Numbers: [66, 21]
Generated Node #0,3,3: 57:[66, 21] Operation: 15+6=21
Exploring Operation: 66/6=11, Resulting Numbers: [15, 11]
Generated Node #0,3,4: 57:[15, 11] Operation: 66/6=11
Moving to Node #0,1
Current State: 57:[66, 56, 65], Operations: ['50+15=65']
Exploring Operation: 66+56=122, Resulting Numbers: [65, 122]
Generated Node #0,1,0: 57:[65, 122] Operation: 66+56=122
Exploring Operation: 66-65=1, Resulting Numbers: [56, 1]
Generated Node #0,1,1: 57:[56, 1] Operation: 66-65=1
Exploring Operation: 56+65=121, Resulting Numbers: [66, 121]
Generated Node #0,1,2: 57:[66, 121] Operation: 56+65=121
Exploring Operation: 65-56=9, Resulting Numbers: [66, 9]
Generated Node #0,1,3: 57:[66, 9] Operation: 65-56=9
Exploring Operation: 66-56=10, Resulting Numbers: [65, 10]
Generated Node #0,1,4: 57:[65, 10] Operation: 66-56=10
Moving to Node #0,4
Current State: 57:[50, 15, 10], Operations: ['66-56=10']
Exploring Operation: 50/10=5, Resulting Numbers: [15, 5]
Generated Node #0,4,0: 57:[15, 5] Operation: 50/10=5
Exploring Operation: 15+10=25, Resulting Numbers: [50, 25]
Generated Node #0,4,1: 57:[50, 25] Operation: 15+10=25
Exploring Operation: 50+10=60, Resulting Numbers: [15, 60]
Generated Node #0,4,2: 57:[15, 60] Operation: 50+10=60
Exploring Operation: 15-10=5, Resulting Numbers: [50, 5]
Generated Node #0,4,3: 57:[50, 5] Operation: 15-10=5
Exploring Operation: 50+15=65, Resulting Numbers: [10, 65]
Generated Node #0,4,4: 57:[10, 65] Operation: 50+15=65
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 57:[15, 5], Operations: ['66-56=10', '50/10=5']
Exploring Operation: 15+5=20, Resulting Numbers: [20]
20,57 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 15*5=75, Resulting Numbers: [75]
75,57 unequal: No Solution
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 57:[15, 60], Operations: ['66-56=10', '50+10=60']
Exploring Operation: 15+60=75, Resulting Numbers: [75]
75,57 unequal: No Solution
Exploring Operation: 60/15=4, Resulting Numbers: [4]
4,57 unequal: No Solution
Exploring Operation: 60-15=45, Resulting Numbers: [45]
45,57 unequal: No Solution
Exploring Operation: 15*60=900, Resulting Numbers: [900]
900,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 57:[50, 5], Operations: ['66-56=10', '15-10=5']
Exploring Operation: 50*5=250, Resulting Numbers: [250]
250,57 unequal: No Solution
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,57 unequal: No Solution
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,57 unequal: No Solution
Exploring Operation: 50+5=55, Resulting Numbers: [55]
55,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 57:[50, 25], Operations: ['66-56=10', '15+10=25']
Exploring Operation: 50+25=75, Resulting Numbers: [75]
75,57 unequal: No Solution
Exploring Operation: 50-25=25, Resulting Numbers: [25]
25,57 unequal: No Solution
Exploring Operation: 50/25=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 50*25=1250, Resulting Numbers: [1250]
1250,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 57:[10, 65], Operations: ['66-56=10', '50+15=65']
Exploring Operation: 10+65=75, Resulting Numbers: [75]
75,57 unequal: No Solution
Exploring Operation: 65-10=55, Resulting Numbers: [55]
55,57 unequal: No Solution
Exploring Operation: 10*65=650, Resulting Numbers: [650]
650,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,2
Current State: 57:[56, 1], Operations: ['66-50=16', '16-15=1']
Exploring Operation: 56+1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[66, 50, 15, 56], Operations: []
Exploring Operation: 66-50=16, Resulting Numbers: [15, 56, 16]
Generated Node #0,0: 57:[15, 56, 16] Operation: 66-50=16
Moving to Node #0,0
Current State: 57:[15, 56, 16], Operations: ['66-50=16']
Exploring Operation: 16-15=1, Resulting Numbers: [56, 1]
Generated Node #0,0,2: 57:[56, 1] Operation: 16-15=1
Moving to Node #0,0,2
Current State: 57:[56, 1], Operations: ['66-50=16', '16-15=1']
Exploring Operation: 56+1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 0.953125 | hs_5 | mult_heuristic |
[
84,
11,
2,
5
] | 36 | [
"84/2=42",
"11-5=6",
"42-6=36"
] | Current State: 36:[84, 11, 2, 5], Operations: []
Exploring Operation: 84/2=42, Resulting Numbers: [11, 5, 42]
Generated Node #2: [11, 5, 42] from Operation: 84/2=42
Current State: 36:[11, 5, 42], Operations: ['84/2=42']
Exploring Operation: 11-5=6, Resulting Numbers: [42, 6]
Generated Node #3: [42, 6] from Operation: 11-5=6
Current State: 36:[42, 6], Operations: ['84/2=42', '11-5=6']
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[84, 11, 2, 5], Operations: []
Exploring Operation: 84/2=42, Resulting Numbers: [11, 5, 42]
Generated Node #0,0: 36:[11, 5, 42] Operation: 84/2=42
Moving to Node #0,0
Current State: 36:[11, 5, 42], Operations: ['84/2=42']
Exploring Operation: 42-5=37, Resulting Numbers: [11, 37]
Generated Node #0,0,0: 36:[11, 37] Operation: 42-5=37
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 36:[11, 37], Operations: ['84/2=42', '42-5=37']
Exploring Operation: 37-11=26, Resulting Numbers: [26]
26,36 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 |
[
13,
37,
1,
32
] | 81 | [
"13+37=50",
"32-1=31",
"50+31=81"
] | Current State: 81:[13, 37, 1, 32], Operations: []
Exploring Operation: 13+37=50, Resulting Numbers: [1, 32, 50]
Generated Node #2: [1, 32, 50] from Operation: 13+37=50
Current State: 81:[1, 32, 50], Operations: ['13+37=50']
Exploring Operation: 32-1=31, Resulting Numbers: [50, 31]
Generated Node #3: [50, 31] from Operation: 32-1=31
Current State: 81:[50, 31], Operations: ['13+37=50', '32-1=31']
Exploring Operation: 50+31=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[13, 37, 1, 32], Operations: []
Exploring Operation: 37-13=24, Resulting Numbers: [1, 32, 24]
Generated Node #0,0: 81:[1, 32, 24] Operation: 37-13=24
Exploring Operation: 13-1=12, Resulting Numbers: [37, 32, 12]
Generated Node #0,1: 81:[37, 32, 12] Operation: 13-1=12
Exploring Operation: 37-1=36, Resulting Numbers: [13, 32, 36]
Generated Node #0,2: 81:[13, 32, 36] Operation: 37-1=36
Exploring Operation: 37-32=5, Resulting Numbers: [13, 1, 5]
Generated Node #0,3: 81:[13, 1, 5] Operation: 37-32=5
Moving to Node #0,3
Current State: 81:[13, 1, 5], Operations: ['37-32=5']
Exploring Operation: 13-1=12, Resulting Numbers: [5, 12]
Generated Node #0,3,0: 81:[5, 12] Operation: 13-1=12
Exploring Operation: 5-1=4, Resulting Numbers: [13, 4]
Generated Node #0,3,1: 81:[13, 4] Operation: 5-1=4
Exploring Operation: 13*1=13, Resulting Numbers: [5, 13]
Generated Node #0,3,2: 81:[5, 13] Operation: 13*1=13
Exploring Operation: 13-5=8, Resulting Numbers: [1, 8]
Generated Node #0,3,3: 81:[1, 8] Operation: 13-5=8
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 81:[1, 8], Operations: ['37-32=5', '13-5=8']
Exploring Operation: 1+8=9, Resulting Numbers: [9]
9,81 unequal: No Solution
Exploring Operation: 1*8=8, Resulting Numbers: [8]
8,81 unequal: No Solution
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,81 unequal: No Solution
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,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,0
Current State: 81:[5, 12], Operations: ['37-32=5', '13-1=12']
Exploring Operation: 5+12=17, Resulting Numbers: [17]
17,81 unequal: No Solution
Exploring Operation: 12-5=7, Resulting Numbers: [7]
7,81 unequal: No Solution
Exploring Operation: 5*12=60, Resulting Numbers: [60]
60,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,1
Current State: 81:[13, 4], Operations: ['37-32=5', '5-1=4']
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,81 unequal: No Solution
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,81 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,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,2
Current State: 81:[5, 13], Operations: ['37-32=5', '13*1=13']
Exploring Operation: 5*13=65, Resulting Numbers: [65]
65,81 unequal: No Solution
Exploring Operation: 5+13=18, Resulting Numbers: [18]
18,81 unequal: No Solution
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,81 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: 81:[1, 32, 24], Operations: ['37-13=24']
Exploring Operation: 1+24=25, Resulting Numbers: [32, 25]
Generated Node #0,0,0: 81:[32, 25] Operation: 1+24=25
Exploring Operation: 32-1=31, Resulting Numbers: [24, 31]
Generated Node #0,0,1: 81:[24, 31] Operation: 32-1=31
Exploring Operation: 32-24=8, Resulting Numbers: [1, 8]
Generated Node #0,0,2: 81:[1, 8] Operation: 32-24=8
Exploring Operation: 1*32=32, Resulting Numbers: [24, 32]
Generated Node #0,0,3: 81:[24, 32] Operation: 1*32=32
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 81:[1, 8], Operations: ['37-13=24', '32-24=8']
Exploring Operation: 1+8=9, Resulting Numbers: [9]
9,81 unequal: No Solution
Exploring Operation: 8-1=7, Resulting Numbers: [7]
7,81 unequal: No Solution
Exploring Operation: 1*8=8, Resulting Numbers: [8]
8,81 unequal: No Solution
Exploring Operation: 8/1=8, Resulting Numbers: [8]
8,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:[32, 25], Operations: ['37-13=24', '1+24=25']
Exploring Operation: 32*25=800, Resulting Numbers: [800]
800,81 unequal: No Solution
Exploring Operation: 32-25=7, Resulting Numbers: [7]
7,81 unequal: No Solution
Exploring Operation: 32+25=57, Resulting Numbers: [57]
57,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:[24, 31], Operations: ['37-13=24', '32-1=31']
Exploring Operation: 24+31=55, Resulting Numbers: [55]
55,81 unequal: No Solution
Exploring Operation: 24*31=744, Resulting Numbers: [744]
744,81 unequal: No Solution
Exploring Operation: 31-24=7, Resulting Numbers: [7]
7,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,3
Current State: 81:[24, 32], Operations: ['37-13=24', '1*32=32']
Exploring Operation: 24+32=56, Resulting Numbers: [56]
56,81 unequal: No Solution
Exploring Operation: 24*32=768, Resulting Numbers: [768]
768,81 unequal: No Solution
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,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:[13, 32, 36], Operations: ['37-1=36']
Exploring Operation: 32-13=19, Resulting Numbers: [36, 19]
Generated Node #0,2,0: 81:[36, 19] Operation: 32-13=19
Exploring Operation: 32+36=68, Resulting Numbers: [13, 68]
Generated Node #0,2,1: 81:[13, 68] Operation: 32+36=68
Exploring Operation: 36-32=4, Resulting Numbers: [13, 4]
Generated Node #0,2,2: 81:[13, 4] Operation: 36-32=4
Exploring Operation: 36-13=23, Resulting Numbers: [32, 23]
Generated Node #0,2,3: 81:[32, 23] Operation: 36-13=23
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 81:[13, 4], Operations: ['37-1=36', '36-32=4']
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,81 unequal: No Solution
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,81 unequal: No Solution
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,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,3
Current State: 81:[32, 23], Operations: ['37-1=36', '36-13=23']
Exploring Operation: 32+23=55, Resulting Numbers: [55]
55,81 unequal: No Solution
Exploring Operation: 32*23=736, Resulting Numbers: [736]
736,81 unequal: No Solution
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,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:[36, 19], Operations: ['37-1=36', '32-13=19']
Exploring Operation: 36*19=684, Resulting Numbers: [684]
684,81 unequal: No Solution
Exploring Operation: 36+19=55, Resulting Numbers: [55]
55,81 unequal: No Solution
Exploring Operation: 36-19=17, Resulting Numbers: [17]
17,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,1
Current State: 81:[13, 68], Operations: ['37-1=36', '32+36=68']
Exploring Operation: 13+68=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[13, 37, 1, 32], Operations: []
Exploring Operation: 37-1=36, Resulting Numbers: [13, 32, 36]
Generated Node #0,2: 81:[13, 32, 36] Operation: 37-1=36
Moving to Node #0,2
Current State: 81:[13, 32, 36], Operations: ['37-1=36']
Exploring Operation: 32+36=68, Resulting Numbers: [13, 68]
Generated Node #0,2,1: 81:[13, 68] Operation: 32+36=68
Moving to Node #0,2,1
Current State: 81:[13, 68], Operations: ['37-1=36', '32+36=68']
Exploring Operation: 13+68=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.951389 | hs_4 | mult_heuristic |
[
13,
14,
78,
18
] | 33 | [
"13+14=27",
"78-18=60",
"60-27=33"
] | Current State: 33:[13, 14, 78, 18], Operations: []
Exploring Operation: 13+14=27, Resulting Numbers: [78, 18, 27]
Generated Node #2: [78, 18, 27] from Operation: 13+14=27
Current State: 33:[78, 18, 27], Operations: ['13+14=27']
Exploring Operation: 78-18=60, Resulting Numbers: [27, 60]
Generated Node #3: [27, 60] from Operation: 78-18=60
Current State: 33:[27, 60], Operations: ['13+14=27', '78-18=60']
Exploring Operation: 60-27=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[13, 14, 78, 18], Operations: []
Exploring Operation: 78-14=64, Resulting Numbers: [13, 18, 64]
Generated Node #0,0: 33:[13, 18, 64] Operation: 78-14=64
Exploring Operation: 78-18=60, Resulting Numbers: [13, 14, 60]
Generated Node #0,1: 33:[13, 14, 60] Operation: 78-18=60
Exploring Operation: 78/13=6, Resulting Numbers: [14, 18, 6]
Generated Node #0,2: 33:[14, 18, 6] Operation: 78/13=6
Start Sub Search at level 1: Moving to Node #0,2
Current State: 33:[14, 18, 6], Operations: ['78/13=6']
Exploring Operation: 14+18=32, Resulting Numbers: [6, 32]
Generated Node #0,2,0: 33:[6, 32] Operation: 14+18=32
Exploring Operation: 18-14=4, Resulting Numbers: [6, 4]
Generated Node #0,2,1: 33:[6, 4] Operation: 18-14=4
Exploring Operation: 18/6=3, Resulting Numbers: [14, 3]
Generated Node #0,2,2: 33:[14, 3] Operation: 18/6=3
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 33:[14, 3], Operations: ['78/13=6', '18/6=3']
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,33 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,33 unequal: No Solution
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,33 unequal: No Solution
No 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: 33:[6, 32], Operations: ['78/13=6', '14+18=32']
Exploring Operation: 6*32=192, Resulting Numbers: [192]
192,33 unequal: No Solution
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,33 unequal: No Solution
Exploring Operation: 6+32=38, Resulting Numbers: [38]
38,33 unequal: No Solution
No 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: 33:[6, 4], Operations: ['78/13=6', '18-14=4']
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,33 unequal: No Solution
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,33 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: 33:[13, 14, 60], Operations: ['78-18=60']
Exploring Operation: 60-14=46, Resulting Numbers: [13, 46]
Generated Node #0,1,0: 33:[13, 46] Operation: 60-14=46
Exploring Operation: 14-13=1, Resulting Numbers: [60, 1]
Generated Node #0,1,1: 33:[60, 1] Operation: 14-13=1
Exploring Operation: 60-13=47, Resulting Numbers: [14, 47]
Generated Node #0,1,2: 33:[14, 47] Operation: 60-13=47
Moving to Node #0,1,0
Current State: 33:[13, 46], Operations: ['78-18=60', '60-14=46']
Exploring Operation: 13+46=59, Resulting Numbers: [59]
59,33 unequal: No Solution
Exploring Operation: 46-13=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[13, 14, 78, 18], Operations: []
Exploring Operation: 78-18=60, Resulting Numbers: [13, 14, 60]
Generated Node #0,1: 33:[13, 14, 60] Operation: 78-18=60
Moving to Node #0,1
Current State: 33:[13, 14, 60], Operations: ['78-18=60']
Exploring Operation: 60-14=46, Resulting Numbers: [13, 46]
Generated Node #0,1,0: 33:[13, 46] Operation: 60-14=46
Moving to Node #0,1,0
Current State: 33:[13, 46], Operations: ['78-18=60', '60-14=46']
Exploring Operation: 46-13=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_3 | mult_heuristic |
[
29,
34,
75,
83
] | 98 | [
"34-29=5",
"75/5=15",
"83+15=98"
] | Current State: 98:[29, 34, 75, 83], Operations: []
Exploring Operation: 34-29=5, Resulting Numbers: [75, 83, 5]
Generated Node #2: [75, 83, 5] from Operation: 34-29=5
Current State: 98:[75, 83, 5], Operations: ['34-29=5']
Exploring Operation: 75/5=15, Resulting Numbers: [83, 15]
Generated Node #3: [83, 15] from Operation: 75/5=15
Current State: 98:[83, 15], Operations: ['34-29=5', '75/5=15']
Exploring Operation: 83+15=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[29, 34, 75, 83], Operations: []
Exploring Operation: 83-75=8, Resulting Numbers: [29, 34, 8]
Generated Node #0,0: 98:[29, 34, 8] Operation: 83-75=8
Exploring Operation: 75-29=46, Resulting Numbers: [34, 83, 46]
Generated Node #0,1: 98:[34, 83, 46] Operation: 75-29=46
Start Sub Search at level 1: Moving to Node #0,0
Current State: 98:[29, 34, 8], Operations: ['83-75=8']
Exploring Operation: 34-29=5, Resulting Numbers: [8, 5]
Generated Node #0,0,0: 98:[8, 5] Operation: 34-29=5
Exploring Operation: 29+34=63, Resulting Numbers: [8, 63]
Generated Node #0,0,1: 98:[8, 63] Operation: 29+34=63
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 98:[8, 5], Operations: ['83-75=8', '34-29=5']
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,98 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 98:[8, 63], Operations: ['83-75=8', '29+34=63']
Exploring Operation: 8+63=71, Resulting Numbers: [71]
71,98 unequal: No Solution
Exploring Operation: 63-8=55, Resulting Numbers: [55]
55,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[34, 83, 46], Operations: ['75-29=46']
Exploring Operation: 46-34=12, Resulting Numbers: [83, 12]
Generated Node #0,1,0: 98:[83, 12] Operation: 46-34=12
Exploring Operation: 83-34=49, Resulting Numbers: [46, 49]
Generated Node #0,1,1: 98:[46, 49] Operation: 83-34=49
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 98:[46, 49], Operations: ['75-29=46', '83-34=49']
Exploring Operation: 46+49=95, Resulting Numbers: [95]
95,98 unequal: No Solution
Exploring Operation: 49-46=3, Resulting Numbers: [3]
3,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 98:[83, 12], Operations: ['75-29=46', '46-34=12']
Exploring Operation: 83-12=71, Resulting Numbers: [71]
71,98 unequal: No Solution
Exploring Operation: 83+12=95, Resulting Numbers: [95]
95,98 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
19,
13,
57,
60
] | 85 | [
"19+13=32",
"57+60=117",
"117-32=85"
] | Current State: 85:[19, 13, 57, 60], Operations: []
Exploring Operation: 19+13=32, Resulting Numbers: [57, 60, 32]
Generated Node #2: [57, 60, 32] from Operation: 19+13=32
Current State: 85:[57, 60, 32], Operations: ['19+13=32']
Exploring Operation: 57+60=117, Resulting Numbers: [32, 117]
Generated Node #3: [32, 117] from Operation: 57+60=117
Current State: 85:[32, 117], Operations: ['19+13=32', '57+60=117']
Exploring Operation: 117-32=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[19, 13, 57, 60], Operations: []
Exploring Operation: 60-57=3, Resulting Numbers: [19, 13, 3]
Generated Node #0,0: 85:[19, 13, 3] Operation: 60-57=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[19, 13, 3], Operations: ['60-57=3']
Exploring Operation: 19-13=6, Resulting Numbers: [3, 6]
Generated Node #0,0,0: 85:[3, 6] Operation: 19-13=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 85:[3, 6], Operations: ['60-57=3', '19-13=6']
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
46,
96,
68,
70
] | 99 | [
"68+70=138",
"138/46=3",
"96+3=99"
] | Current State: 99:[46, 96, 68, 70], Operations: []
Exploring Operation: 68+70=138, Resulting Numbers: [46, 96, 138]
Generated Node #2: [46, 96, 138] from Operation: 68+70=138
Current State: 99:[46, 96, 138], Operations: ['68+70=138']
Exploring Operation: 138/46=3, Resulting Numbers: [96, 3]
Generated Node #3: [96, 3] from Operation: 138/46=3
Current State: 99:[96, 3], Operations: ['68+70=138', '138/46=3']
Exploring Operation: 96+3=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[46, 96, 68, 70], Operations: []
Exploring Operation: 70-68=2, Resulting Numbers: [46, 96, 2]
Generated Node #0,0: 99:[46, 96, 2] Operation: 70-68=2
Moving to Node #0,0
Current State: 99:[46, 96, 2], Operations: ['70-68=2']
Exploring Operation: 46*2=92, Resulting Numbers: [96, 92]
Generated Node #0,0,0: 99:[96, 92] Operation: 46*2=92
Moving to Node #0,0,0
Current State: 99:[96, 92], Operations: ['70-68=2', '46*2=92']
Exploring Operation: 96-92=4, Resulting Numbers: [4]
4,99 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
87,
17,
17,
94
] | 27 | [
"87+17=104",
"94-17=77",
"104-77=27"
] | Current State: 27:[87, 17, 17, 94], Operations: []
Exploring Operation: 87+17=104, Resulting Numbers: [94, 104]
Generated Node #2: [94, 104] from Operation: 87+17=104
Current State: 27:[94, 104], Operations: ['87+17=104']
Exploring Operation: 94-17=77, Resulting Numbers: [104, 77]
Generated Node #3: [104, 77] from Operation: 94-17=77
Current State: 27:[104, 77], Operations: ['87+17=104', '94-17=77']
Exploring Operation: 104-77=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[87, 17, 17, 94], Operations: []
Exploring Operation: 87-17=70, Resulting Numbers: [17, 94, 70]
Generated Node #0,0: 27:[17, 94, 70] Operation: 87-17=70
Exploring Operation: 94-87=7, Resulting Numbers: [17, 17, 7]
Generated Node #0,1: 27:[17, 17, 7] Operation: 94-87=7
Exploring Operation: 94-17=77, Resulting Numbers: [87, 17, 77]
Generated Node #0,2: 27:[87, 17, 77] Operation: 94-17=77
Exploring Operation: 87-17=70, Resulting Numbers: [17, 94, 70]
Generated Node #0,3: 27:[17, 94, 70] Operation: 87-17=70
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[17, 17, 7], Operations: ['94-87=7']
Exploring Operation: 17-7=10, Resulting Numbers: [17, 10]
Generated Node #0,1,0: 27:[17, 10] Operation: 17-7=10
Exploring Operation: 17-17=0, Resulting Numbers: [7, 0]
Generated Node #0,1,1: 27:[7, 0] Operation: 17-17=0
Exploring Operation: 17+17=34, Resulting Numbers: [7, 34]
Generated Node #0,1,2: 27:[7, 34] Operation: 17+17=34
Exploring Operation: 17/17=1, Resulting Numbers: [7, 1]
Generated Node #0,1,3: 27:[7, 1] Operation: 17/17=1
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 27:[7, 1], Operations: ['94-87=7', '17/17=1']
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,27 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Exploring Operation: 7*1=7, Resulting Numbers: [7]
7,27 unequal: No Solution
Exploring Operation: 7+1=8, Resulting Numbers: [8]
8,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,1,1
Current State: 27:[7, 0], Operations: ['94-87=7', '17-17=0']
Exploring Operation: 7*0=0, Resulting Numbers: [0]
0,27 unequal: No Solution
Exploring Operation: 7-0=7, Resulting Numbers: [7]
7,27 unequal: No Solution
Exploring Operation: 7+0=7, Resulting Numbers: [7]
7,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,1,0
Current State: 27:[17, 10], Operations: ['94-87=7', '17-7=10']
Exploring Operation: 17*10=170, Resulting Numbers: [170]
170,27 unequal: No Solution
Exploring Operation: 17+10=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[87, 17, 17, 94], Operations: []
Exploring Operation: 94-87=7, Resulting Numbers: [17, 17, 7]
Generated Node #0,1: 27:[17, 17, 7] Operation: 94-87=7
Moving to Node #0,1
Current State: 27:[17, 17, 7], Operations: ['94-87=7']
Exploring Operation: 17-7=10, Resulting Numbers: [17, 10]
Generated Node #0,1,0: 27:[17, 10] Operation: 17-7=10
Moving to Node #0,1,0
Current State: 27:[17, 10], Operations: ['94-87=7', '17-7=10']
Exploring Operation: 17+10=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.981771 | hs_4 | sum_heuristic |
[
4,
49,
36,
60
] | 25 | [
"36+60=96",
"96/4=24",
"49-24=25"
] | Current State: 25:[4, 49, 36, 60], Operations: []
Exploring Operation: 36+60=96, Resulting Numbers: [4, 49, 96]
Generated Node #2: [4, 49, 96] from Operation: 36+60=96
Current State: 25:[4, 49, 96], Operations: ['36+60=96']
Exploring Operation: 96/4=24, Resulting Numbers: [49, 24]
Generated Node #3: [49, 24] from Operation: 96/4=24
Current State: 25:[49, 24], Operations: ['36+60=96', '96/4=24']
Exploring Operation: 49-24=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[4, 49, 36, 60], Operations: []
Exploring Operation: 60-36=24, Resulting Numbers: [4, 49, 24]
Generated Node #0,0: 25:[4, 49, 24] Operation: 60-36=24
Exploring Operation: 60-49=11, Resulting Numbers: [4, 36, 11]
Generated Node #0,1: 25:[4, 36, 11] Operation: 60-49=11
Moving to Node #0,1
Current State: 25:[4, 36, 11], Operations: ['60-49=11']
Exploring Operation: 36-11=25, Resulting Numbers: [4, 25]
Generated Node #0,1,0: 25:[4, 25] Operation: 36-11=25
Exploring Operation: 36/4=9, Resulting Numbers: [11, 9]
Generated Node #0,1,1: 25:[11, 9] Operation: 36/4=9
Moving to Node #0,0
Current State: 25:[4, 49, 24], Operations: ['60-36=24']
Exploring Operation: 49-24=25, Resulting Numbers: [4, 25]
Generated Node #0,0,0: 25:[4, 25] Operation: 49-24=25
Exploring Operation: 49-4=45, Resulting Numbers: [24, 45]
Generated Node #0,0,1: 25:[24, 45] Operation: 49-4=45
Moving to Node #0,1,0
Current State: 25:[4, 25], Operations: ['60-49=11', '36-11=25']
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,25 unequal: No Solution
Exploring Operation: 4+25=29, Resulting Numbers: [29]
29,25 unequal: No Solution
Moving to Node #0,0,0
Current State: 25:[4, 25], Operations: ['60-36=24', '49-24=25']
Exploring Operation: 4+25=29, Resulting Numbers: [29]
29,25 unequal: No Solution
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,25 unequal: No Solution
Moving to Node #0,1,1
Current State: 25:[11, 9], Operations: ['60-49=11', '36/4=9']
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 11+9=20, Resulting Numbers: [20]
20,25 unequal: No Solution
Moving to Node #0,0,1
Current State: 25:[24, 45], Operations: ['60-36=24', '49-4=45']
Exploring Operation: 45-24=21, Resulting Numbers: [21]
21,25 unequal: No Solution
Exploring Operation: 24+45=69, Resulting Numbers: [69]
69,25 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
24,
39,
29,
26
] | 65 | [
"24*39=936",
"936/26=36",
"29+36=65"
] | Current State: 65:[24, 39, 29, 26], Operations: []
Exploring Operation: 24*39=936, Resulting Numbers: [29, 26, 936]
Generated Node #2: [29, 26, 936] from Operation: 24*39=936
Current State: 65:[29, 26, 936], Operations: ['24*39=936']
Exploring Operation: 936/26=36, Resulting Numbers: [29, 36]
Generated Node #3: [29, 36] from Operation: 936/26=36
Current State: 65:[29, 36], Operations: ['24*39=936', '936/26=36']
Exploring Operation: 29+36=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[24, 39, 29, 26], Operations: []
Exploring Operation: 39-26=13, Resulting Numbers: [24, 29, 13]
Generated Node #0,0: 65:[24, 29, 13] Operation: 39-26=13
Exploring Operation: 39+29=68, Resulting Numbers: [24, 26, 68]
Generated Node #0,1: 65:[24, 26, 68] Operation: 39+29=68
Exploring Operation: 39-29=10, Resulting Numbers: [24, 26, 10]
Generated Node #0,2: 65:[24, 26, 10] Operation: 39-29=10
Exploring Operation: 39+26=65, Resulting Numbers: [24, 29, 65]
Generated Node #0,3: 65:[24, 29, 65] Operation: 39+26=65
Exploring Operation: 24+39=63, Resulting Numbers: [29, 26, 63]
Generated Node #0,4: 65:[29, 26, 63] Operation: 24+39=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[24, 29, 13], Operations: ['39-26=13']
Exploring Operation: 24+29=53, Resulting Numbers: [13, 53]
Generated Node #0,0,0: 65:[13, 53] Operation: 24+29=53
Exploring Operation: 29-13=16, Resulting Numbers: [24, 16]
Generated Node #0,0,1: 65:[24, 16] Operation: 29-13=16
Exploring Operation: 24-13=11, Resulting Numbers: [29, 11]
Generated Node #0,0,2: 65:[29, 11] Operation: 24-13=11
Exploring Operation: 29-24=5, Resulting Numbers: [13, 5]
Generated Node #0,0,3: 65:[13, 5] Operation: 29-24=5
Exploring Operation: 29+13=42, Resulting Numbers: [24, 42]
Generated Node #0,0,4: 65:[24, 42] Operation: 29+13=42
Moving to Node #0,0,3
Current State: 65:[13, 5], Operations: ['39-26=13', '29-24=5']
Exploring Operation: 13-5=8, Resulting Numbers: [8]
8,65 unequal: No Solution
Exploring Operation: 13*5=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[24, 39, 29, 26], Operations: []
Exploring Operation: 39-26=13, Resulting Numbers: [24, 29, 13]
Generated Node #0,0: 65:[24, 29, 13] Operation: 39-26=13
Moving to Node #0,0
Current State: 65:[24, 29, 13], Operations: ['39-26=13']
Exploring Operation: 29-24=5, Resulting Numbers: [13, 5]
Generated Node #0,0,3: 65:[13, 5] Operation: 29-24=5
Moving to Node #0,0,3
Current State: 65:[13, 5], Operations: ['39-26=13', '29-24=5']
Exploring Operation: 13*5=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_5 | mult_heuristic |
[
37,
45,
86,
28
] | 66 | [
"45-37=8",
"86-28=58",
"8+58=66"
] | Current State: 66:[37, 45, 86, 28], Operations: []
Exploring Operation: 45-37=8, Resulting Numbers: [86, 28, 8]
Generated Node #2: [86, 28, 8] from Operation: 45-37=8
Current State: 66:[86, 28, 8], Operations: ['45-37=8']
Exploring Operation: 86-28=58, Resulting Numbers: [8, 58]
Generated Node #3: [8, 58] from Operation: 86-28=58
Current State: 66:[8, 58], Operations: ['45-37=8', '86-28=58']
Exploring Operation: 8+58=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[37, 45, 86, 28], Operations: []
Exploring Operation: 86-28=58, Resulting Numbers: [37, 45, 58]
Generated Node #0,0: 66:[37, 45, 58] Operation: 86-28=58
Exploring Operation: 86-45=41, Resulting Numbers: [37, 28, 41]
Generated Node #0,1: 66:[37, 28, 41] Operation: 86-45=41
Moving to Node #0,1
Current State: 66:[37, 28, 41], Operations: ['86-45=41']
Exploring Operation: 41-37=4, Resulting Numbers: [28, 4]
Generated Node #0,1,0: 66:[28, 4] Operation: 41-37=4
Exploring Operation: 41-28=13, Resulting Numbers: [37, 13]
Generated Node #0,1,1: 66:[37, 13] Operation: 41-28=13
Moving to Node #0,0
Current State: 66:[37, 45, 58], Operations: ['86-28=58']
Exploring Operation: 58-45=13, Resulting Numbers: [37, 13]
Generated Node #0,0,0: 66:[37, 13] Operation: 58-45=13
Exploring Operation: 45-37=8, Resulting Numbers: [58, 8]
Generated Node #0,0,1: 66:[58, 8] Operation: 45-37=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[37, 13], Operations: ['86-28=58', '58-45=13']
Exploring Operation: 37+13=50, Resulting Numbers: [50]
50,66 unequal: No Solution
Exploring Operation: 37-13=24, Resulting Numbers: [24]
24,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:[58, 8], Operations: ['86-28=58', '45-37=8']
Exploring Operation: 58+8=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[37, 45, 86, 28], Operations: []
Exploring Operation: 86-28=58, Resulting Numbers: [37, 45, 58]
Generated Node #0,0: 66:[37, 45, 58] Operation: 86-28=58
Moving to Node #0,0
Current State: 66:[37, 45, 58], Operations: ['86-28=58']
Exploring Operation: 45-37=8, Resulting Numbers: [58, 8]
Generated Node #0,0,1: 66:[58, 8] Operation: 45-37=8
Moving to Node #0,0,1
Current State: 66:[58, 8], Operations: ['86-28=58', '45-37=8']
Exploring Operation: 58+8=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_2 | sum_heuristic |
[
44,
51,
24,
6
] | 18 | [
"51-44=7",
"6*7=42",
"42-24=18"
] | Current State: 18:[44, 51, 24, 6], Operations: []
Exploring Operation: 51-44=7, Resulting Numbers: [24, 6, 7]
Generated Node #2: [24, 6, 7] from Operation: 51-44=7
Current State: 18:[24, 6, 7], Operations: ['51-44=7']
Exploring Operation: 6*7=42, Resulting Numbers: [24, 42]
Generated Node #3: [24, 42] from Operation: 6*7=42
Current State: 18:[24, 42], Operations: ['51-44=7', '6*7=42']
Exploring Operation: 42-24=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[44, 51, 24, 6], Operations: []
Exploring Operation: 51-44=7, Resulting Numbers: [24, 6, 7]
Generated Node #0,0: 18:[24, 6, 7] Operation: 51-44=7
Moving to Node #0,0
Current State: 18:[24, 6, 7], Operations: ['51-44=7']
Exploring Operation: 24-6=18, Resulting Numbers: [7, 18]
Generated Node #0,0,0: 18:[7, 18] Operation: 24-6=18
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 18:[7, 18], Operations: ['51-44=7', '24-6=18']
Exploring Operation: 18-7=11, Resulting Numbers: [11]
11,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 |
[
66,
58,
47,
12
] | 27 | [
"66-58=8",
"47-12=35",
"35-8=27"
] | Current State: 27:[66, 58, 47, 12], Operations: []
Exploring Operation: 66-58=8, Resulting Numbers: [47, 12, 8]
Generated Node #2: [47, 12, 8] from Operation: 66-58=8
Current State: 27:[47, 12, 8], Operations: ['66-58=8']
Exploring Operation: 47-12=35, Resulting Numbers: [8, 35]
Generated Node #3: [8, 35] from Operation: 47-12=35
Current State: 27:[8, 35], Operations: ['66-58=8', '47-12=35']
Exploring Operation: 35-8=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[66, 58, 47, 12], Operations: []
Exploring Operation: 58-47=11, Resulting Numbers: [66, 12, 11]
Generated Node #0,0: 27:[66, 12, 11] Operation: 58-47=11
Exploring Operation: 66-47=19, Resulting Numbers: [58, 12, 19]
Generated Node #0,1: 27:[58, 12, 19] Operation: 66-47=19
Exploring Operation: 66-58=8, Resulting Numbers: [47, 12, 8]
Generated Node #0,2: 27:[47, 12, 8] Operation: 66-58=8
Start Sub Search at level 1: Moving to Node #0,2
Current State: 27:[47, 12, 8], Operations: ['66-58=8']
Exploring Operation: 12-8=4, Resulting Numbers: [47, 4]
Generated Node #0,2,0: 27:[47, 4] Operation: 12-8=4
Exploring Operation: 47-12=35, Resulting Numbers: [8, 35]
Generated Node #0,2,1: 27:[8, 35] Operation: 47-12=35
Exploring Operation: 47-8=39, Resulting Numbers: [12, 39]
Generated Node #0,2,2: 27:[12, 39] Operation: 47-8=39
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 27:[8, 35], Operations: ['66-58=8', '47-12=35']
Exploring Operation: 35-8=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[66, 58, 47, 12], Operations: []
Exploring Operation: 66-58=8, Resulting Numbers: [47, 12, 8]
Generated Node #0,2: 27:[47, 12, 8] Operation: 66-58=8
Moving to Node #0,2
Current State: 27:[47, 12, 8], Operations: ['66-58=8']
Exploring Operation: 47-12=35, Resulting Numbers: [8, 35]
Generated Node #0,2,1: 27:[8, 35] Operation: 47-12=35
Moving to Node #0,2,1
Current State: 27:[8, 35], Operations: ['66-58=8', '47-12=35']
Exploring Operation: 35-8=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
1,
81,
57,
26
] | 51 | [
"1+81=82",
"57-26=31",
"82-31=51"
] | Current State: 51:[1, 81, 57, 26], Operations: []
Exploring Operation: 1+81=82, Resulting Numbers: [57, 26, 82]
Generated Node #2: [57, 26, 82] from Operation: 1+81=82
Current State: 51:[57, 26, 82], Operations: ['1+81=82']
Exploring Operation: 57-26=31, Resulting Numbers: [82, 31]
Generated Node #3: [82, 31] from Operation: 57-26=31
Current State: 51:[82, 31], Operations: ['1+81=82', '57-26=31']
Exploring Operation: 82-31=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[1, 81, 57, 26], Operations: []
Exploring Operation: 81-26=55, Resulting Numbers: [1, 57, 55]
Generated Node #0,0: 51:[1, 57, 55] Operation: 81-26=55
Exploring Operation: 81-1=80, Resulting Numbers: [57, 26, 80]
Generated Node #0,1: 51:[57, 26, 80] Operation: 81-1=80
Exploring Operation: 81-57=24, Resulting Numbers: [1, 26, 24]
Generated Node #0,2: 51:[1, 26, 24] Operation: 81-57=24
Exploring Operation: 57-1=56, Resulting Numbers: [81, 26, 56]
Generated Node #0,3: 51:[81, 26, 56] Operation: 57-1=56
Exploring Operation: 26-1=25, Resulting Numbers: [81, 57, 25]
Generated Node #0,4: 51:[81, 57, 25] Operation: 26-1=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[1, 57, 55], Operations: ['81-26=55']
Exploring Operation: 57-1=56, Resulting Numbers: [55, 56]
Generated Node #0,0,0: 51:[55, 56] Operation: 57-1=56
Exploring Operation: 57-55=2, Resulting Numbers: [1, 2]
Generated Node #0,0,1: 51:[1, 2] Operation: 57-55=2
Exploring Operation: 57/1=57, Resulting Numbers: [55, 57]
Generated Node #0,0,2: 51:[55, 57] Operation: 57/1=57
Exploring Operation: 55-1=54, Resulting Numbers: [57, 54]
Generated Node #0,0,3: 51:[57, 54] Operation: 55-1=54
Exploring Operation: 1*57=57, Resulting Numbers: [55, 57]
Generated Node #0,0,4: 51:[55, 57] Operation: 1*57=57
Moving to Node #0,0,1
Current State: 51:[1, 2], Operations: ['81-26=55', '57-55=2']
Exploring Operation: 2/1=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Exploring Operation: 2-1=1, Resulting Numbers: [1]
1,51 unequal: No Solution
Exploring Operation: 1+2=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Exploring Operation: 1*2=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Moving to Node #0,0,3
Current State: 51:[57, 54], Operations: ['81-26=55', '55-1=54']
Exploring Operation: 57+54=111, Resulting Numbers: [111]
111,51 unequal: No Solution
Exploring Operation: 57-54=3, Resulting Numbers: [3]
3,51 unequal: No Solution
Exploring Operation: 57*54=3078, Resulting Numbers: [3078]
3078,51 unequal: No Solution
Moving to Node #0,0,0
Current State: 51:[55, 56], Operations: ['81-26=55', '57-1=56']
Exploring Operation: 55+56=111, Resulting Numbers: [111]
111,51 unequal: No Solution
Exploring Operation: 55*56=3080, Resulting Numbers: [3080]
3080,51 unequal: No Solution
Exploring Operation: 56-55=1, Resulting Numbers: [1]
1,51 unequal: No Solution
Moving to Node #0,0,2
Current State: 51:[55, 57], Operations: ['81-26=55', '57/1=57']
Exploring Operation: 57-55=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Exploring Operation: 55*57=3135, Resulting Numbers: [3135]
3135,51 unequal: No Solution
Exploring Operation: 55+57=112, Resulting Numbers: [112]
112,51 unequal: No Solution
Moving to Node #0,0,4
Current State: 51:[55, 57], Operations: ['81-26=55', '1*57=57']
Exploring Operation: 57-55=2, Resulting Numbers: [2]
2,51 unequal: No Solution
Exploring Operation: 55*57=3135, Resulting Numbers: [3135]
3135,51 unequal: No Solution
Exploring Operation: 55+57=112, Resulting Numbers: [112]
112,51 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 51:[1, 26, 24], Operations: ['81-57=24']
Exploring Operation: 26+24=50, Resulting Numbers: [1, 50]
Generated Node #0,2,0: 51:[1, 50] Operation: 26+24=50
Exploring Operation: 1*26=26, Resulting Numbers: [24, 26]
Generated Node #0,2,1: 51:[24, 26] Operation: 1*26=26
Exploring Operation: 24-1=23, Resulting Numbers: [26, 23]
Generated Node #0,2,2: 51:[26, 23] Operation: 24-1=23
Exploring Operation: 26-24=2, Resulting Numbers: [1, 2]
Generated Node #0,2,3: 51:[1, 2] Operation: 26-24=2
Exploring Operation: 26-1=25, Resulting Numbers: [24, 25]
Generated Node #0,2,4: 51:[24, 25] Operation: 26-1=25
Moving to Node #0,2,0
Current State: 51:[1, 50], Operations: ['81-57=24', '26+24=50']
Exploring Operation: 1+50=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[1, 81, 57, 26], Operations: []
Exploring Operation: 81-57=24, Resulting Numbers: [1, 26, 24]
Generated Node #0,2: 51:[1, 26, 24] Operation: 81-57=24
Moving to Node #0,2
Current State: 51:[1, 26, 24], Operations: ['81-57=24']
Exploring Operation: 26+24=50, Resulting Numbers: [1, 50]
Generated Node #0,2,0: 51:[1, 50] Operation: 26+24=50
Moving to Node #0,2,0
Current State: 51:[1, 50], Operations: ['81-57=24', '26+24=50']
Exploring Operation: 1+50=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_5 | mult_heuristic |
[
82,
9,
80,
88
] | 53 | [
"82-80=2",
"88/2=44",
"9+44=53"
] | Current State: 53:[82, 9, 80, 88], Operations: []
Exploring Operation: 82-80=2, Resulting Numbers: [9, 88, 2]
Generated Node #2: [9, 88, 2] from Operation: 82-80=2
Current State: 53:[9, 88, 2], Operations: ['82-80=2']
Exploring Operation: 88/2=44, Resulting Numbers: [9, 44]
Generated Node #3: [9, 44] from Operation: 88/2=44
Current State: 53:[9, 44], Operations: ['82-80=2', '88/2=44']
Exploring Operation: 9+44=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[82, 9, 80, 88], Operations: []
Exploring Operation: 80-9=71, Resulting Numbers: [82, 88, 71]
Generated Node #0,0: 53:[82, 88, 71] Operation: 80-9=71
Exploring Operation: 88-9=79, Resulting Numbers: [82, 80, 79]
Generated Node #0,1: 53:[82, 80, 79] Operation: 88-9=79
Exploring Operation: 82-9=73, Resulting Numbers: [80, 88, 73]
Generated Node #0,2: 53:[80, 88, 73] Operation: 82-9=73
Exploring Operation: 9+80=89, Resulting Numbers: [82, 88, 89]
Generated Node #0,3: 53:[82, 88, 89] Operation: 9+80=89
Exploring Operation: 82+9=91, Resulting Numbers: [80, 88, 91]
Generated Node #0,4: 53:[80, 88, 91] Operation: 82+9=91
Moving to Node #0,0
Current State: 53:[82, 88, 71], Operations: ['80-9=71']
Exploring Operation: 82+88=170, Resulting Numbers: [71, 170]
Generated Node #0,0,0: 53:[71, 170] Operation: 82+88=170
Exploring Operation: 82+71=153, Resulting Numbers: [88, 153]
Generated Node #0,0,1: 53:[88, 153] Operation: 82+71=153
Exploring Operation: 88-71=17, Resulting Numbers: [82, 17]
Generated Node #0,0,2: 53:[82, 17] Operation: 88-71=17
Exploring Operation: 82-71=11, Resulting Numbers: [88, 11]
Generated Node #0,0,3: 53:[88, 11] Operation: 82-71=11
Exploring Operation: 88-82=6, Resulting Numbers: [71, 6]
Generated Node #0,0,4: 53:[71, 6] Operation: 88-82=6
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 53:[82, 17], Operations: ['80-9=71', '88-71=17']
Exploring Operation: 82+17=99, Resulting Numbers: [99]
99,53 unequal: No Solution
Exploring Operation: 82*17=1394, Resulting Numbers: [1394]
1394,53 unequal: No Solution
Exploring Operation: 82-17=65, Resulting Numbers: [65]
65,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,4
Current State: 53:[71, 6], Operations: ['80-9=71', '88-82=6']
Exploring Operation: 71*6=426, Resulting Numbers: [426]
426,53 unequal: No Solution
Exploring Operation: 71+6=77, Resulting Numbers: [77]
77,53 unequal: No Solution
Exploring Operation: 71-6=65, Resulting Numbers: [65]
65,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,3
Current State: 53:[88, 11], Operations: ['80-9=71', '82-71=11']
Exploring Operation: 88-11=77, Resulting Numbers: [77]
77,53 unequal: No Solution
Exploring Operation: 88*11=968, Resulting Numbers: [968]
968,53 unequal: No Solution
Exploring Operation: 88+11=99, Resulting Numbers: [99]
99,53 unequal: No Solution
Exploring Operation: 88/11=8, Resulting Numbers: [8]
8,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,0
Current State: 53:[71, 170], Operations: ['80-9=71', '82+88=170']
Exploring Operation: 170-71=99, Resulting Numbers: [99]
99,53 unequal: No Solution
Exploring Operation: 71*170=12070, Resulting Numbers: [12070]
12070,53 unequal: No Solution
Exploring Operation: 71+170=241, Resulting Numbers: [241]
241,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,1
Current State: 53:[88, 153], Operations: ['80-9=71', '82+71=153']
Exploring Operation: 88+153=241, Resulting Numbers: [241]
241,53 unequal: No Solution
Exploring Operation: 88*153=13464, Resulting Numbers: [13464]
13464,53 unequal: No Solution
Exploring Operation: 153-88=65, Resulting Numbers: [65]
65,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 53:[80, 88, 73], Operations: ['82-9=73']
Exploring Operation: 80+88=168, Resulting Numbers: [73, 168]
Generated Node #0,2,0: 53:[73, 168] Operation: 80+88=168
Exploring Operation: 80-73=7, Resulting Numbers: [88, 7]
Generated Node #0,2,1: 53:[88, 7] Operation: 80-73=7
Exploring Operation: 88-80=8, Resulting Numbers: [73, 8]
Generated Node #0,2,2: 53:[73, 8] Operation: 88-80=8
Exploring Operation: 88-73=15, Resulting Numbers: [80, 15]
Generated Node #0,2,3: 53:[80, 15] Operation: 88-73=15
Exploring Operation: 80+73=153, Resulting Numbers: [88, 153]
Generated Node #0,2,4: 53:[88, 153] Operation: 80+73=153
Moving to Node #0,1
Current State: 53:[82, 80, 79], Operations: ['88-9=79']
Exploring Operation: 80-79=1, Resulting Numbers: [82, 1]
Generated Node #0,1,0: 53:[82, 1] Operation: 80-79=1
Exploring Operation: 82+79=161, Resulting Numbers: [80, 161]
Generated Node #0,1,1: 53:[80, 161] Operation: 82+79=161
Exploring Operation: 82-79=3, Resulting Numbers: [80, 3]
Generated Node #0,1,2: 53:[80, 3] Operation: 82-79=3
Exploring Operation: 82-80=2, Resulting Numbers: [79, 2]
Generated Node #0,1,3: 53:[79, 2] Operation: 82-80=2
Exploring Operation: 82+80=162, Resulting Numbers: [79, 162]
Generated Node #0,1,4: 53:[79, 162] Operation: 82+80=162
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 53:[80, 3], Operations: ['88-9=79', '82-79=3']
Exploring Operation: 80+3=83, Resulting Numbers: [83]
83,53 unequal: No Solution
Exploring Operation: 80*3=240, Resulting Numbers: [240]
240,53 unequal: No Solution
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,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,3
Current State: 53:[79, 2], Operations: ['88-9=79', '82-80=2']
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,53 unequal: No Solution
Exploring Operation: 79*2=158, Resulting Numbers: [158]
158,53 unequal: No Solution
Exploring Operation: 79+2=81, Resulting Numbers: [81]
81,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 53:[82, 1], Operations: ['88-9=79', '80-79=1']
Exploring Operation: 82+1=83, Resulting Numbers: [83]
83,53 unequal: No Solution
Exploring Operation: 82*1=82, Resulting Numbers: [82]
82,53 unequal: No Solution
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,53 unequal: No Solution
Exploring Operation: 82/1=82, Resulting Numbers: [82]
82,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,1
Current State: 53:[80, 161], Operations: ['88-9=79', '82+79=161']
Exploring Operation: 80+161=241, Resulting Numbers: [241]
241,53 unequal: No Solution
Exploring Operation: 80*161=12880, Resulting Numbers: [12880]
12880,53 unequal: No Solution
Exploring Operation: 161-80=81, Resulting Numbers: [81]
81,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,4
Current State: 53:[79, 162], Operations: ['88-9=79', '82+80=162']
Exploring Operation: 79+162=241, Resulting Numbers: [241]
241,53 unequal: No Solution
Exploring Operation: 162-79=83, Resulting Numbers: [83]
83,53 unequal: No Solution
Exploring Operation: 79*162=12798, Resulting Numbers: [12798]
12798,53 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: 53:[82, 88, 89], Operations: ['9+80=89']
Exploring Operation: 82+88=170, Resulting Numbers: [89, 170]
Generated Node #0,3,0: 53:[89, 170] Operation: 82+88=170
Exploring Operation: 88-82=6, Resulting Numbers: [89, 6]
Generated Node #0,3,1: 53:[89, 6] Operation: 88-82=6
Exploring Operation: 89-88=1, Resulting Numbers: [82, 1]
Generated Node #0,3,2: 53:[82, 1] Operation: 89-88=1
Exploring Operation: 89-82=7, Resulting Numbers: [88, 7]
Generated Node #0,3,3: 53:[88, 7] Operation: 89-82=7
Exploring Operation: 82+89=171, Resulting Numbers: [88, 171]
Generated Node #0,3,4: 53:[88, 171] Operation: 82+89=171
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 53:[82, 1], Operations: ['9+80=89', '89-88=1']
Exploring Operation: 82/1=82, Resulting Numbers: [82]
82,53 unequal: No Solution
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,53 unequal: No Solution
Exploring Operation: 82*1=82, Resulting Numbers: [82]
82,53 unequal: No Solution
Exploring Operation: 82+1=83, Resulting Numbers: [83]
83,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,3
Current State: 53:[88, 7], Operations: ['9+80=89', '89-82=7']
Exploring Operation: 88+7=95, Resulting Numbers: [95]
95,53 unequal: No Solution
Exploring Operation: 88*7=616, Resulting Numbers: [616]
616,53 unequal: No Solution
Exploring Operation: 88-7=81, Resulting Numbers: [81]
81,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,1
Current State: 53:[89, 6], Operations: ['9+80=89', '88-82=6']
Exploring Operation: 89*6=534, Resulting Numbers: [534]
534,53 unequal: No Solution
Exploring Operation: 89-6=83, Resulting Numbers: [83]
83,53 unequal: No Solution
Exploring Operation: 89+6=95, Resulting Numbers: [95]
95,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,0
Current State: 53:[89, 170], Operations: ['9+80=89', '82+88=170']
Exploring Operation: 89+170=259, Resulting Numbers: [259]
259,53 unequal: No Solution
Exploring Operation: 170-89=81, Resulting Numbers: [81]
81,53 unequal: No Solution
Exploring Operation: 89*170=15130, Resulting Numbers: [15130]
15130,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,4
Current State: 53:[88, 171], Operations: ['9+80=89', '82+89=171']
Exploring Operation: 88*171=15048, Resulting Numbers: [15048]
15048,53 unequal: No Solution
Exploring Operation: 171-88=83, Resulting Numbers: [83]
83,53 unequal: No Solution
Exploring Operation: 88+171=259, Resulting Numbers: [259]
259,53 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: 53:[80, 88, 91], Operations: ['82+9=91']
Exploring Operation: 80+88=168, Resulting Numbers: [91, 168]
Generated Node #0,4,0: 53:[91, 168] Operation: 80+88=168
Exploring Operation: 80+91=171, Resulting Numbers: [88, 171]
Generated Node #0,4,1: 53:[88, 171] Operation: 80+91=171
Exploring Operation: 91-80=11, Resulting Numbers: [88, 11]
Generated Node #0,4,2: 53:[88, 11] Operation: 91-80=11
Exploring Operation: 91-88=3, Resulting Numbers: [80, 3]
Generated Node #0,4,3: 53:[80, 3] Operation: 91-88=3
Exploring Operation: 88-80=8, Resulting Numbers: [91, 8]
Generated Node #0,4,4: 53:[91, 8] Operation: 88-80=8
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 53:[88, 11], Operations: ['82+9=91', '91-80=11']
Exploring Operation: 88+11=99, Resulting Numbers: [99]
99,53 unequal: No Solution
Exploring Operation: 88/11=8, Resulting Numbers: [8]
8,53 unequal: No Solution
Exploring Operation: 88-11=77, Resulting Numbers: [77]
77,53 unequal: No Solution
Exploring Operation: 88*11=968, Resulting Numbers: [968]
968,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,3
Current State: 53:[80, 3], Operations: ['82+9=91', '91-88=3']
Exploring Operation: 80*3=240, Resulting Numbers: [240]
240,53 unequal: No Solution
Exploring Operation: 80-3=77, Resulting Numbers: [77]
77,53 unequal: No Solution
Exploring Operation: 80+3=83, Resulting Numbers: [83]
83,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,4
Current State: 53:[91, 8], Operations: ['82+9=91', '88-80=8']
Exploring Operation: 91*8=728, Resulting Numbers: [728]
728,53 unequal: No Solution
Exploring Operation: 91+8=99, Resulting Numbers: [99]
99,53 unequal: No Solution
Exploring Operation: 91-8=83, Resulting Numbers: [83]
83,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,0
Current State: 53:[91, 168], Operations: ['82+9=91', '80+88=168']
Exploring Operation: 168-91=77, Resulting Numbers: [77]
77,53 unequal: No Solution
Exploring Operation: 91+168=259, Resulting Numbers: [259]
259,53 unequal: No Solution
Exploring Operation: 91*168=15288, Resulting Numbers: [15288]
15288,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,1
Current State: 53:[88, 171], Operations: ['82+9=91', '80+91=171']
Exploring Operation: 171-88=83, Resulting Numbers: [83]
83,53 unequal: No Solution
Exploring Operation: 88+171=259, Resulting Numbers: [259]
259,53 unequal: No Solution
Exploring Operation: 88*171=15048, Resulting Numbers: [15048]
15048,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 53:[73, 8], Operations: ['82-9=73', '88-80=8']
Exploring Operation: 73*8=584, Resulting Numbers: [584]
584,53 unequal: No Solution
Exploring Operation: 73-8=65, Resulting Numbers: [65]
65,53 unequal: No Solution
Exploring Operation: 73+8=81, Resulting Numbers: [81]
81,53 unequal: No Solution
Moving to Node #0,2,3
Current State: 53:[80, 15], Operations: ['82-9=73', '88-73=15']
Exploring Operation: 80+15=95, Resulting Numbers: [95]
95,53 unequal: No Solution
Exploring Operation: 80-15=65, Resulting Numbers: [65]
65,53 unequal: No Solution
Exploring Operation: 80*15=1200, Resulting Numbers: [1200]
1200,53 unequal: No Solution
Moving to Node #0,2,1
Current State: 53:[88, 7], Operations: ['82-9=73', '80-73=7']
Exploring Operation: 88+7=95, Resulting Numbers: [95]
95,53 unequal: No Solution
Exploring Operation: 88*7=616, Resulting Numbers: [616]
616,53 unequal: No Solution
Exploring Operation: 88-7=81, Resulting Numbers: [81]
81,53 unequal: No Solution
Moving to Node #0,2,0
Current State: 53:[73, 168], Operations: ['82-9=73', '80+88=168']
Exploring Operation: 168-73=95, Resulting Numbers: [95]
95,53 unequal: No Solution
Exploring Operation: 73*168=12264, Resulting Numbers: [12264]
12264,53 unequal: No Solution
Exploring Operation: 73+168=241, Resulting Numbers: [241]
241,53 unequal: No Solution
Moving to Node #0,2,4
Current State: 53:[88, 153], Operations: ['82-9=73', '80+73=153']
Exploring Operation: 88+153=241, Resulting Numbers: [241]
241,53 unequal: No Solution
Exploring Operation: 88*153=13464, Resulting Numbers: [13464]
13464,53 unequal: No Solution
Exploring Operation: 153-88=65, Resulting Numbers: [65]
65,53 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
80,
90,
50,
36
] | 76 | [
"90-80=10",
"50+36=86",
"86-10=76"
] | Current State: 76:[80, 90, 50, 36], Operations: []
Exploring Operation: 90-80=10, Resulting Numbers: [50, 36, 10]
Generated Node #2: [50, 36, 10] from Operation: 90-80=10
Current State: 76:[50, 36, 10], Operations: ['90-80=10']
Exploring Operation: 50+36=86, Resulting Numbers: [10, 86]
Generated Node #3: [10, 86] from Operation: 50+36=86
Current State: 76:[10, 86], Operations: ['90-80=10', '50+36=86']
Exploring Operation: 86-10=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[80, 90, 50, 36], Operations: []
Exploring Operation: 90-80=10, Resulting Numbers: [50, 36, 10]
Generated Node #0,0: 76:[50, 36, 10] Operation: 90-80=10
Exploring Operation: 80-50=30, Resulting Numbers: [90, 36, 30]
Generated Node #0,1: 76:[90, 36, 30] Operation: 80-50=30
Exploring Operation: 50+36=86, Resulting Numbers: [80, 90, 86]
Generated Node #0,2: 76:[80, 90, 86] Operation: 50+36=86
Exploring Operation: 50-36=14, Resulting Numbers: [80, 90, 14]
Generated Node #0,3: 76:[80, 90, 14] Operation: 50-36=14
Exploring Operation: 90-50=40, Resulting Numbers: [80, 36, 40]
Generated Node #0,4: 76:[80, 36, 40] Operation: 90-50=40
Start Sub Search at level 1: Moving to Node #0,4
Current State: 76:[80, 36, 40], Operations: ['90-50=40']
Exploring Operation: 80-36=44, Resulting Numbers: [40, 44]
Generated Node #0,4,0: 76:[40, 44] Operation: 80-36=44
Exploring Operation: 80/40=2, Resulting Numbers: [36, 2]
Generated Node #0,4,1: 76:[36, 2] Operation: 80/40=2
Exploring Operation: 36+40=76, Resulting Numbers: [80, 76]
Generated Node #0,4,2: 76:[80, 76] Operation: 36+40=76
Exploring Operation: 80-40=40, Resulting Numbers: [36, 40]
Generated Node #0,4,3: 76:[36, 40] Operation: 80-40=40
Exploring Operation: 40-36=4, Resulting Numbers: [80, 4]
Generated Node #0,4,4: 76:[80, 4] Operation: 40-36=4
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 76:[36, 2], Operations: ['90-50=40', '80/40=2']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,76 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,76 unequal: No Solution
Exploring Operation: 36*2=72, Resulting Numbers: [72]
72,76 unequal: No Solution
Exploring Operation: 36+2=38, Resulting Numbers: [38]
38,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,4,2
Current State: 76:[80, 76], Operations: ['90-50=40', '36+40=76']
Exploring Operation: 80-76=4, Resulting Numbers: [4]
4,76 unequal: No Solution
Exploring Operation: 80+76=156, Resulting Numbers: [156]
156,76 unequal: No Solution
Exploring Operation: 80*76=6080, Resulting Numbers: [6080]
6080,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,4,3
Current State: 76:[36, 40], Operations: ['90-50=40', '80-40=40']
Exploring Operation: 36+40=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[80, 90, 50, 36], Operations: []
Exploring Operation: 90-50=40, Resulting Numbers: [80, 36, 40]
Generated Node #0,4: 76:[80, 36, 40] Operation: 90-50=40
Moving to Node #0,4
Current State: 76:[80, 36, 40], Operations: ['90-50=40']
Exploring Operation: 80-40=40, Resulting Numbers: [36, 40]
Generated Node #0,4,3: 76:[36, 40] Operation: 80-40=40
Moving to Node #0,4,3
Current State: 76:[36, 40], Operations: ['90-50=40', '80-40=40']
Exploring Operation: 36+40=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980903 | hs_5 | mult_heuristic |
[
51,
43,
33,
75
] | 14 | [
"51+43=94",
"33+75=108",
"108-94=14"
] | Current State: 14:[51, 43, 33, 75], Operations: []
Exploring Operation: 51+43=94, Resulting Numbers: [33, 75, 94]
Generated Node #2: [33, 75, 94] from Operation: 51+43=94
Current State: 14:[33, 75, 94], Operations: ['51+43=94']
Exploring Operation: 33+75=108, Resulting Numbers: [94, 108]
Generated Node #3: [94, 108] from Operation: 33+75=108
Current State: 14:[94, 108], Operations: ['51+43=94', '33+75=108']
Exploring Operation: 108-94=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[51, 43, 33, 75], Operations: []
Exploring Operation: 75-51=24, Resulting Numbers: [43, 33, 24]
Generated Node #0,0: 14:[43, 33, 24] Operation: 75-51=24
Exploring Operation: 75-43=32, Resulting Numbers: [51, 33, 32]
Generated Node #0,1: 14:[51, 33, 32] Operation: 75-43=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[43, 33, 24], Operations: ['75-51=24']
Exploring Operation: 43-24=19, Resulting Numbers: [33, 19]
Generated Node #0,0,0: 14:[33, 19] Operation: 43-24=19
Exploring Operation: 43-33=10, Resulting Numbers: [24, 10]
Generated Node #0,0,1: 14:[24, 10] Operation: 43-33=10
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 14:[24, 10], Operations: ['75-51=24', '43-33=10']
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[51, 43, 33, 75], Operations: []
Exploring Operation: 75-51=24, Resulting Numbers: [43, 33, 24]
Generated Node #0,0: 14:[43, 33, 24] Operation: 75-51=24
Moving to Node #0,0
Current State: 14:[43, 33, 24], Operations: ['75-51=24']
Exploring Operation: 43-33=10, Resulting Numbers: [24, 10]
Generated Node #0,0,1: 14:[24, 10] Operation: 43-33=10
Moving to Node #0,0,1
Current State: 14:[24, 10], Operations: ['75-51=24', '43-33=10']
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
68,
7,
64,
14
] | 70 | [
"68-64=4",
"14-4=10",
"7*10=70"
] | Current State: 70:[68, 7, 64, 14], Operations: []
Exploring Operation: 68-64=4, Resulting Numbers: [7, 14, 4]
Generated Node #2: [7, 14, 4] from Operation: 68-64=4
Current State: 70:[7, 14, 4], Operations: ['68-64=4']
Exploring Operation: 14-4=10, Resulting Numbers: [7, 10]
Generated Node #3: [7, 10] from Operation: 14-4=10
Current State: 70:[7, 10], Operations: ['68-64=4', '14-4=10']
Exploring Operation: 7*10=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[68, 7, 64, 14], Operations: []
Exploring Operation: 14-7=7, Resulting Numbers: [68, 64, 7]
Generated Node #0,0: 70:[68, 64, 7] Operation: 14-7=7
Exploring Operation: 7+64=71, Resulting Numbers: [68, 14, 71]
Generated Node #0,1: 70:[68, 14, 71] Operation: 7+64=71
Exploring Operation: 68-64=4, Resulting Numbers: [7, 14, 4]
Generated Node #0,2: 70:[7, 14, 4] Operation: 68-64=4
Moving to Node #0,2
Current State: 70:[7, 14, 4], Operations: ['68-64=4']
Exploring Operation: 14-4=10, Resulting Numbers: [7, 10]
Generated Node #0,2,0: 70:[7, 10] Operation: 14-4=10
Exploring Operation: 14-7=7, Resulting Numbers: [4, 7]
Generated Node #0,2,1: 70:[4, 7] Operation: 14-7=7
Exploring Operation: 14/7=2, Resulting Numbers: [4, 2]
Generated Node #0,2,2: 70:[4, 2] Operation: 14/7=2
Moving to Node #0,1
Current State: 70:[68, 14, 71], Operations: ['7+64=71']
Exploring Operation: 68+14=82, Resulting Numbers: [71, 82]
Generated Node #0,1,0: 70:[71, 82] Operation: 68+14=82
Exploring Operation: 71-14=57, Resulting Numbers: [68, 57]
Generated Node #0,1,1: 70:[68, 57] Operation: 71-14=57
Exploring Operation: 71-68=3, Resulting Numbers: [14, 3]
Generated Node #0,1,2: 70:[14, 3] Operation: 71-68=3
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 70:[14, 3], Operations: ['7+64=71', '71-68=3']
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,70 unequal: No Solution
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,70 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,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,0
Current State: 70:[71, 82], Operations: ['7+64=71', '68+14=82']
Exploring Operation: 71*82=5822, Resulting Numbers: [5822]
5822,70 unequal: No Solution
Exploring Operation: 71+82=153, Resulting Numbers: [153]
153,70 unequal: No Solution
Exploring Operation: 82-71=11, Resulting Numbers: [11]
11,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:[68, 57], Operations: ['7+64=71', '71-14=57']
Exploring Operation: 68+57=125, Resulting Numbers: [125]
125,70 unequal: No Solution
Exploring Operation: 68-57=11, Resulting Numbers: [11]
11,70 unequal: No Solution
Exploring Operation: 68*57=3876, Resulting Numbers: [3876]
3876,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:[68, 64, 7], Operations: ['14-7=7']
Exploring Operation: 64+7=71, Resulting Numbers: [68, 71]
Generated Node #0,0,0: 70:[68, 71] Operation: 64+7=71
Exploring Operation: 68+7=75, Resulting Numbers: [64, 75]
Generated Node #0,0,1: 70:[64, 75] Operation: 68+7=75
Exploring Operation: 68-64=4, Resulting Numbers: [7, 4]
Generated Node #0,0,2: 70:[7, 4] Operation: 68-64=4
Moving to Node #0,2,0
Current State: 70:[7, 10], Operations: ['68-64=4', '14-4=10']
Exploring Operation: 10-7=3, Resulting Numbers: [3]
3,70 unequal: No Solution
Exploring Operation: 7*10=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[68, 7, 64, 14], Operations: []
Exploring Operation: 68-64=4, Resulting Numbers: [7, 14, 4]
Generated Node #0,2: 70:[7, 14, 4] Operation: 68-64=4
Moving to Node #0,2
Current State: 70:[7, 14, 4], Operations: ['68-64=4']
Exploring Operation: 14-4=10, Resulting Numbers: [7, 10]
Generated Node #0,2,0: 70:[7, 10] Operation: 14-4=10
Moving to Node #0,2,0
Current State: 70:[7, 10], Operations: ['68-64=4', '14-4=10']
Exploring Operation: 7*10=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 0.976563 | hs_3 | sum_heuristic |
[
95,
53,
48,
19
] | 71 | [
"95-53=42",
"48-19=29",
"42+29=71"
] | Current State: 71:[95, 53, 48, 19], Operations: []
Exploring Operation: 95-53=42, Resulting Numbers: [48, 19, 42]
Generated Node #2: [48, 19, 42] from Operation: 95-53=42
Current State: 71:[48, 19, 42], Operations: ['95-53=42']
Exploring Operation: 48-19=29, Resulting Numbers: [42, 29]
Generated Node #3: [42, 29] from Operation: 48-19=29
Current State: 71:[42, 29], Operations: ['95-53=42', '48-19=29']
Exploring Operation: 42+29=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[95, 53, 48, 19], Operations: []
Exploring Operation: 53+19=72, Resulting Numbers: [95, 48, 72]
Generated Node #0,0: 71:[95, 48, 72] Operation: 53+19=72
Exploring Operation: 95-19=76, Resulting Numbers: [53, 48, 76]
Generated Node #0,1: 71:[53, 48, 76] Operation: 95-19=76
Exploring Operation: 48+19=67, Resulting Numbers: [95, 53, 67]
Generated Node #0,2: 71:[95, 53, 67] Operation: 48+19=67
Moving to Node #0,1
Current State: 71:[53, 48, 76], Operations: ['95-19=76']
Exploring Operation: 53-48=5, Resulting Numbers: [76, 5]
Generated Node #0,1,0: 71:[76, 5] Operation: 53-48=5
Exploring Operation: 53+48=101, Resulting Numbers: [76, 101]
Generated Node #0,1,1: 71:[76, 101] Operation: 53+48=101
Exploring Operation: 76-48=28, Resulting Numbers: [53, 28]
Generated Node #0,1,2: 71:[53, 28] Operation: 76-48=28
Moving to Node #0,2
Current State: 71:[95, 53, 67], Operations: ['48+19=67']
Exploring Operation: 95-53=42, Resulting Numbers: [67, 42]
Generated Node #0,2,0: 71:[67, 42] Operation: 95-53=42
Exploring Operation: 95-67=28, Resulting Numbers: [53, 28]
Generated Node #0,2,1: 71:[53, 28] Operation: 95-67=28
Exploring Operation: 53+67=120, Resulting Numbers: [95, 120]
Generated Node #0,2,2: 71:[95, 120] Operation: 53+67=120
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 71:[67, 42], Operations: ['48+19=67', '95-53=42']
Exploring Operation: 67*42=2814, Resulting Numbers: [2814]
2814,71 unequal: No Solution
Exploring Operation: 67-42=25, Resulting Numbers: [25]
25,71 unequal: No Solution
Exploring Operation: 67+42=109, Resulting Numbers: [109]
109,71 unequal: No Solution
No 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: 71:[53, 28], Operations: ['48+19=67', '95-67=28']
Exploring Operation: 53*28=1484, Resulting Numbers: [1484]
1484,71 unequal: No Solution
Exploring Operation: 53-28=25, Resulting Numbers: [25]
25,71 unequal: No Solution
Exploring Operation: 53+28=81, Resulting Numbers: [81]
81,71 unequal: No Solution
No 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: 71:[95, 120], Operations: ['48+19=67', '53+67=120']
Exploring Operation: 95*120=11400, Resulting Numbers: [11400]
11400,71 unequal: No Solution
Exploring Operation: 120-95=25, Resulting Numbers: [25]
25,71 unequal: No Solution
Exploring Operation: 95+120=215, Resulting Numbers: [215]
215,71 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: 71:[95, 48, 72], Operations: ['53+19=72']
Exploring Operation: 95-72=23, Resulting Numbers: [48, 23]
Generated Node #0,0,0: 71:[48, 23] Operation: 95-72=23
Exploring Operation: 95-48=47, Resulting Numbers: [72, 47]
Generated Node #0,0,1: 71:[72, 47] Operation: 95-48=47
Exploring Operation: 72-48=24, Resulting Numbers: [95, 24]
Generated Node #0,0,2: 71:[95, 24] Operation: 72-48=24
Moving to Node #0,0,1
Current State: 71:[72, 47], Operations: ['53+19=72', '95-48=47']
Exploring Operation: 72-47=25, Resulting Numbers: [25]
25,71 unequal: No Solution
Exploring Operation: 72+47=119, Resulting Numbers: [119]
119,71 unequal: No Solution
Exploring Operation: 72*47=3384, Resulting Numbers: [3384]
3384,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[76, 101], Operations: ['95-19=76', '53+48=101']
Exploring Operation: 76+101=177, Resulting Numbers: [177]
177,71 unequal: No Solution
Exploring Operation: 76*101=7676, Resulting Numbers: [7676]
7676,71 unequal: No Solution
Exploring Operation: 101-76=25, Resulting Numbers: [25]
25,71 unequal: No Solution
Moving to Node #0,1,2
Current State: 71:[53, 28], Operations: ['95-19=76', '76-48=28']
Exploring Operation: 53*28=1484, Resulting Numbers: [1484]
1484,71 unequal: No Solution
Exploring Operation: 53+28=81, Resulting Numbers: [81]
81,71 unequal: No Solution
Exploring Operation: 53-28=25, Resulting Numbers: [25]
25,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[76, 5], Operations: ['95-19=76', '53-48=5']
Exploring Operation: 76*5=380, Resulting Numbers: [380]
380,71 unequal: No Solution
Exploring Operation: 76-5=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[95, 53, 48, 19], Operations: []
Exploring Operation: 95-19=76, Resulting Numbers: [53, 48, 76]
Generated Node #0,1: 71:[53, 48, 76] Operation: 95-19=76
Moving to Node #0,1
Current State: 71:[53, 48, 76], Operations: ['95-19=76']
Exploring Operation: 53-48=5, Resulting Numbers: [76, 5]
Generated Node #0,1,0: 71:[76, 5] Operation: 53-48=5
Moving to Node #0,1,0
Current State: 71:[76, 5], Operations: ['95-19=76', '53-48=5']
Exploring Operation: 76-5=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 0.96875 | hs_3 | mult_heuristic |
[
48,
5,
10,
12
] | 75 | [
"48+5=53",
"10+12=22",
"53+22=75"
] | Current State: 75:[48, 5, 10, 12], Operations: []
Exploring Operation: 48+5=53, Resulting Numbers: [10, 12, 53]
Generated Node #2: [10, 12, 53] from Operation: 48+5=53
Current State: 75:[10, 12, 53], Operations: ['48+5=53']
Exploring Operation: 10+12=22, Resulting Numbers: [53, 22]
Generated Node #3: [53, 22] from Operation: 10+12=22
Current State: 75:[53, 22], Operations: ['48+5=53', '10+12=22']
Exploring Operation: 53+22=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[48, 5, 10, 12], Operations: []
Exploring Operation: 48/12=4, Resulting Numbers: [5, 10, 4]
Generated Node #0,0: 75:[5, 10, 4] Operation: 48/12=4
Exploring Operation: 48-10=38, Resulting Numbers: [5, 12, 38]
Generated Node #0,1: 75:[5, 12, 38] Operation: 48-10=38
Moving to Node #0,0
Current State: 75:[5, 10, 4], Operations: ['48/12=4']
Exploring Operation: 5+10=15, Resulting Numbers: [4, 15]
Generated Node #0,0,0: 75:[4, 15] Operation: 5+10=15
Exploring Operation: 10-5=5, Resulting Numbers: [4, 5]
Generated Node #0,0,1: 75:[4, 5] Operation: 10-5=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 75:[4, 15], Operations: ['48/12=4', '5+10=15']
Exploring Operation: 4+15=19, Resulting Numbers: [19]
19,75 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 75:[4, 5], Operations: ['48/12=4', '10-5=5']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,75 unequal: No Solution
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,75 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: 75:[5, 12, 38], Operations: ['48-10=38']
Exploring Operation: 38-12=26, Resulting Numbers: [5, 26]
Generated Node #0,1,0: 75:[5, 26] Operation: 38-12=26
Exploring Operation: 38-5=33, Resulting Numbers: [12, 33]
Generated Node #0,1,1: 75:[12, 33] Operation: 38-5=33
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 75:[5, 26], Operations: ['48-10=38', '38-12=26']
Exploring Operation: 5+26=31, Resulting Numbers: [31]
31,75 unequal: No Solution
Exploring Operation: 26-5=21, Resulting Numbers: [21]
21,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,1,1
Current State: 75:[12, 33], Operations: ['48-10=38', '38-5=33']
Exploring Operation: 33-12=21, Resulting Numbers: [21]
21,75 unequal: No Solution
Exploring Operation: 12+33=45, Resulting Numbers: [45]
45,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
2,
6,
42,
2
] | 80 | [
"6-2=4",
"42*2=84",
"84-4=80"
] | Current State: 80:[2, 6, 42, 2], Operations: []
Exploring Operation: 6-2=4, Resulting Numbers: [42, 4]
Generated Node #2: [42, 4] from Operation: 6-2=4
Current State: 80:[42, 4], Operations: ['6-2=4']
Exploring Operation: 42*2=84, Resulting Numbers: [4, 84]
Generated Node #3: [4, 84] from Operation: 42*2=84
Current State: 80:[4, 84], Operations: ['6-2=4', '42*2=84']
Exploring Operation: 84-4=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[2, 6, 42, 2], Operations: []
Exploring Operation: 42/6=7, Resulting Numbers: [2, 2, 7]
Generated Node #0,0: 80:[2, 2, 7] Operation: 42/6=7
Exploring Operation: 42-2=40, Resulting Numbers: [6, 2, 40]
Generated Node #0,1: 80:[6, 2, 40] Operation: 42-2=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[2, 2, 7], Operations: ['42/6=7']
Exploring Operation: 7-2=5, Resulting Numbers: [2, 5]
Generated Node #0,0,0: 80:[2, 5] Operation: 7-2=5
Exploring Operation: 7-2=5, Resulting Numbers: [2, 5]
Generated Node #0,0,1: 80:[2, 5] Operation: 7-2=5
Moving to Node #0,0,0
Current State: 80:[2, 5], Operations: ['42/6=7', '7-2=5']
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,80 unequal: No Solution
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,80 unequal: No Solution
Moving to Node #0,0,1
Current State: 80:[2, 5], Operations: ['42/6=7', '7-2=5']
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,80 unequal: No Solution
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,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,1
Current State: 80:[6, 2, 40], Operations: ['42-2=40']
Exploring Operation: 6+2=8, Resulting Numbers: [40, 8]
Generated Node #0,1,0: 80:[40, 8] Operation: 6+2=8
Exploring Operation: 6-2=4, Resulting Numbers: [40, 4]
Generated Node #0,1,1: 80:[40, 4] Operation: 6-2=4
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 80:[40, 8], Operations: ['42-2=40', '6+2=8']
Exploring Operation: 40/8=5, Resulting Numbers: [5]
5,80 unequal: No Solution
Exploring Operation: 40+8=48, Resulting Numbers: [48]
48,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,1,1
Current State: 80:[40, 4], Operations: ['42-2=40', '6-2=4']
Exploring Operation: 40/4=10, Resulting Numbers: [10]
10,80 unequal: No Solution
Exploring Operation: 40+4=44, Resulting Numbers: [44]
44,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
38,
16,
29,
6
] | 13 | [
"38-16=22",
"29+6=35",
"35-22=13"
] | Current State: 13:[38, 16, 29, 6], Operations: []
Exploring Operation: 38-16=22, Resulting Numbers: [29, 6, 22]
Generated Node #2: [29, 6, 22] from Operation: 38-16=22
Current State: 13:[29, 6, 22], Operations: ['38-16=22']
Exploring Operation: 29+6=35, Resulting Numbers: [22, 35]
Generated Node #3: [22, 35] from Operation: 29+6=35
Current State: 13:[22, 35], Operations: ['38-16=22', '29+6=35']
Exploring Operation: 35-22=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[38, 16, 29, 6], Operations: []
Exploring Operation: 38-29=9, Resulting Numbers: [16, 6, 9]
Generated Node #0,0: 13:[16, 6, 9] Operation: 38-29=9
Exploring Operation: 38-6=32, Resulting Numbers: [16, 29, 32]
Generated Node #0,1: 13:[16, 29, 32] Operation: 38-6=32
Exploring Operation: 38-16=22, Resulting Numbers: [29, 6, 22]
Generated Node #0,2: 13:[29, 6, 22] Operation: 38-16=22
Exploring Operation: 29-16=13, Resulting Numbers: [38, 6, 13]
Generated Node #0,3: 13:[38, 6, 13] Operation: 29-16=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 13:[16, 6, 9], Operations: ['38-29=9']
Exploring Operation: 16-9=7, Resulting Numbers: [6, 7]
Generated Node #0,0,0: 13:[6, 7] Operation: 16-9=7
Exploring Operation: 16-6=10, Resulting Numbers: [9, 10]
Generated Node #0,0,1: 13:[9, 10] Operation: 16-6=10
Exploring Operation: 16+6=22, Resulting Numbers: [9, 22]
Generated Node #0,0,2: 13:[9, 22] Operation: 16+6=22
Exploring Operation: 6+9=15, Resulting Numbers: [16, 15]
Generated Node #0,0,3: 13:[16, 15] Operation: 6+9=15
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 13:[16, 15], Operations: ['38-29=9', '6+9=15']
Exploring Operation: 16*15=240, Resulting Numbers: [240]
240,13 unequal: No Solution
Exploring Operation: 16+15=31, Resulting Numbers: [31]
31,13 unequal: No Solution
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 13:[9, 10], Operations: ['38-29=9', '16-6=10']
Exploring Operation: 9+10=19, Resulting Numbers: [19]
19,13 unequal: No Solution
Exploring Operation: 9*10=90, Resulting Numbers: [90]
90,13 unequal: No Solution
Exploring Operation: 10-9=1, Resulting Numbers: [1]
1,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 13:[6, 7], Operations: ['38-29=9', '16-9=7']
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[38, 16, 29, 6], Operations: []
Exploring Operation: 38-29=9, Resulting Numbers: [16, 6, 9]
Generated Node #0,0: 13:[16, 6, 9] Operation: 38-29=9
Moving to Node #0,0
Current State: 13:[16, 6, 9], Operations: ['38-29=9']
Exploring Operation: 16-9=7, Resulting Numbers: [6, 7]
Generated Node #0,0,0: 13:[6, 7] Operation: 16-9=7
Moving to Node #0,0,0
Current State: 13:[6, 7], Operations: ['38-29=9', '16-9=7']
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.983507 | hs_4 | mult_heuristic |
[
27,
21,
9,
39
] | 81 | [
"27+21=48",
"48-39=9",
"9*9=81"
] | Current State: 81:[27, 21, 9, 39], Operations: []
Exploring Operation: 27+21=48, Resulting Numbers: [9, 39, 48]
Generated Node #2: [9, 39, 48] from Operation: 27+21=48
Current State: 81:[9, 39, 48], Operations: ['27+21=48']
Exploring Operation: 48-39=9, Resulting Numbers: [9, 9]
Generated Node #3: [9, 9] from Operation: 48-39=9
Current State: 81:[9, 9], Operations: ['27+21=48', '48-39=9']
Exploring Operation: 9*9=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[27, 21, 9, 39], Operations: []
Exploring Operation: 39-27=12, Resulting Numbers: [21, 9, 12]
Generated Node #0,0: 81:[21, 9, 12] Operation: 39-27=12
Exploring Operation: 39-21=18, Resulting Numbers: [27, 9, 18]
Generated Node #0,1: 81:[27, 9, 18] Operation: 39-21=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[21, 9, 12], Operations: ['39-27=12']
Exploring Operation: 21-12=9, Resulting Numbers: [9, 9]
Generated Node #0,0,0: 81:[9, 9] Operation: 21-12=9
Exploring Operation: 21+9=30, Resulting Numbers: [12, 30]
Generated Node #0,0,1: 81:[12, 30] Operation: 21+9=30
Moving to Node #0,0,0
Current State: 81:[9, 9], Operations: ['39-27=12', '21-12=9']
Exploring Operation: 9/9=1, Resulting Numbers: [1]
1,81 unequal: No Solution
Exploring Operation: 9*9=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[27, 21, 9, 39], Operations: []
Exploring Operation: 39-27=12, Resulting Numbers: [21, 9, 12]
Generated Node #0,0: 81:[21, 9, 12] Operation: 39-27=12
Moving to Node #0,0
Current State: 81:[21, 9, 12], Operations: ['39-27=12']
Exploring Operation: 21-12=9, Resulting Numbers: [9, 9]
Generated Node #0,0,0: 81:[9, 9] Operation: 21-12=9
Moving to Node #0,0,0
Current State: 81:[9, 9], Operations: ['39-27=12', '21-12=9']
Exploring Operation: 9*9=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
99,
88,
99,
54
] | 33 | [
"99/99=1",
"88-54=34",
"34-1=33"
] | Current State: 33:[99, 88, 99, 54], Operations: []
Exploring Operation: 99/99=1, Resulting Numbers: [88, 54, 1]
Generated Node #2: [88, 54, 1] from Operation: 99/99=1
Current State: 33:[88, 54, 1], Operations: ['99/99=1']
Exploring Operation: 88-54=34, Resulting Numbers: [1, 34]
Generated Node #3: [1, 34] from Operation: 88-54=34
Current State: 33:[1, 34], Operations: ['99/99=1', '88-54=34']
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[99, 88, 99, 54], Operations: []
Exploring Operation: 99-88=11, Resulting Numbers: [99, 54, 11]
Generated Node #0,0: 33:[99, 54, 11] Operation: 99-88=11
Exploring Operation: 99-99=0, Resulting Numbers: [88, 54, 0]
Generated Node #0,1: 33:[88, 54, 0] Operation: 99-99=0
Exploring Operation: 99/99=1, Resulting Numbers: [88, 54, 1]
Generated Node #0,2: 33:[88, 54, 1] Operation: 99/99=1
Start Sub Search at level 1: Moving to Node #0,2
Current State: 33:[88, 54, 1], Operations: ['99/99=1']
Exploring Operation: 54-1=53, Resulting Numbers: [88, 53]
Generated Node #0,2,0: 33:[88, 53] Operation: 54-1=53
Exploring Operation: 88-54=34, Resulting Numbers: [1, 34]
Generated Node #0,2,1: 33:[1, 34] Operation: 88-54=34
Exploring Operation: 88-1=87, Resulting Numbers: [54, 87]
Generated Node #0,2,2: 33:[54, 87] Operation: 88-1=87
Moving to Node #0,2,1
Current State: 33:[1, 34], Operations: ['99/99=1', '88-54=34']
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[99, 88, 99, 54], Operations: []
Exploring Operation: 99/99=1, Resulting Numbers: [88, 54, 1]
Generated Node #0,2: 33:[88, 54, 1] Operation: 99/99=1
Moving to Node #0,2
Current State: 33:[88, 54, 1], Operations: ['99/99=1']
Exploring Operation: 88-54=34, Resulting Numbers: [1, 34]
Generated Node #0,2,1: 33:[1, 34] Operation: 88-54=34
Moving to Node #0,2,1
Current State: 33:[1, 34], Operations: ['99/99=1', '88-54=34']
Exploring Operation: 34-1=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_3 | sum_heuristic |
[
19,
13,
75,
72
] | 35 | [
"19+13=32",
"75-72=3",
"32+3=35"
] | Current State: 35:[19, 13, 75, 72], Operations: []
Exploring Operation: 19+13=32, Resulting Numbers: [75, 72, 32]
Generated Node #2: [75, 72, 32] from Operation: 19+13=32
Current State: 35:[75, 72, 32], Operations: ['19+13=32']
Exploring Operation: 75-72=3, Resulting Numbers: [32, 3]
Generated Node #3: [32, 3] from Operation: 75-72=3
Current State: 35:[32, 3], Operations: ['19+13=32', '75-72=3']
Exploring Operation: 32+3=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[19, 13, 75, 72], Operations: []
Exploring Operation: 75-72=3, Resulting Numbers: [19, 13, 3]
Generated Node #0,0: 35:[19, 13, 3] Operation: 75-72=3
Moving to Node #0,0
Current State: 35:[19, 13, 3], Operations: ['75-72=3']
Exploring Operation: 19-13=6, Resulting Numbers: [3, 6]
Generated Node #0,0,0: 35:[3, 6] Operation: 19-13=6
Moving to Node #0,0,0
Current State: 35:[3, 6], Operations: ['75-72=3', '19-13=6']
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,35 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
6,
74,
34,
30
] | 12 | [
"74+34=108",
"108/6=18",
"30-18=12"
] | Current State: 12:[6, 74, 34, 30], Operations: []
Exploring Operation: 74+34=108, Resulting Numbers: [6, 30, 108]
Generated Node #2: [6, 30, 108] from Operation: 74+34=108
Current State: 12:[6, 30, 108], Operations: ['74+34=108']
Exploring Operation: 108/6=18, Resulting Numbers: [30, 18]
Generated Node #3: [30, 18] from Operation: 108/6=18
Current State: 12:[30, 18], Operations: ['74+34=108', '108/6=18']
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[6, 74, 34, 30], Operations: []
Exploring Operation: 74-34=40, Resulting Numbers: [6, 30, 40]
Generated Node #0,0: 12:[6, 30, 40] Operation: 74-34=40
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[6, 30, 40], Operations: ['74-34=40']
Exploring Operation: 40-30=10, Resulting Numbers: [6, 10]
Generated Node #0,0,0: 12:[6, 10] Operation: 40-30=10
Moving to Node #0,0,0
Current State: 12:[6, 10], Operations: ['74-34=40', '40-30=10']
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,12 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 |
[
85,
56,
17,
56
] | 69 | [
"85-17=68",
"56/56=1",
"68+1=69"
] | Current State: 69:[85, 56, 17, 56], Operations: []
Exploring Operation: 85-17=68, Resulting Numbers: [56, 56, 68]
Generated Node #2: [56, 56, 68] from Operation: 85-17=68
Current State: 69:[56, 56, 68], Operations: ['85-17=68']
Exploring Operation: 56/56=1, Resulting Numbers: [68, 1]
Generated Node #3: [68, 1] from Operation: 56/56=1
Current State: 69:[68, 1], Operations: ['85-17=68', '56/56=1']
Exploring Operation: 68+1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[85, 56, 17, 56], Operations: []
Exploring Operation: 56/56=1, Resulting Numbers: [85, 17, 1]
Generated Node #0,0: 69:[85, 17, 1] Operation: 56/56=1
Exploring Operation: 85-56=29, Resulting Numbers: [17, 56, 29]
Generated Node #0,1: 69:[17, 56, 29] Operation: 85-56=29
Moving to Node #0,0
Current State: 69:[85, 17, 1], Operations: ['56/56=1']
Exploring Operation: 85/17=5, Resulting Numbers: [1, 5]
Generated Node #0,0,0: 69:[1, 5] Operation: 85/17=5
Exploring Operation: 85-17=68, Resulting Numbers: [1, 68]
Generated Node #0,0,1: 69:[1, 68] Operation: 85-17=68
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 69:[1, 68], Operations: ['56/56=1', '85-17=68']
Exploring Operation: 1*68=68, Resulting Numbers: [68]
68,69 unequal: No Solution
Exploring Operation: 1+68=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[85, 56, 17, 56], Operations: []
Exploring Operation: 56/56=1, Resulting Numbers: [85, 17, 1]
Generated Node #0,0: 69:[85, 17, 1] Operation: 56/56=1
Moving to Node #0,0
Current State: 69:[85, 17, 1], Operations: ['56/56=1']
Exploring Operation: 85-17=68, Resulting Numbers: [1, 68]
Generated Node #0,0,1: 69:[1, 68] Operation: 85-17=68
Moving to Node #0,0,1
Current State: 69:[1, 68], Operations: ['56/56=1', '85-17=68']
Exploring Operation: 1+68=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.