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 |
---|---|---|---|---|---|---|---|---|
[
17,
52,
29,
61
] | 21 |
[
"17+52=69",
"29+61=90",
"90-69=21"
] |
Current State: 21:[17, 52, 29, 61], Operations: []
Exploring Operation: 17+52=69, Resulting Numbers: [29, 61, 69]
Generated Node #2: [29, 61, 69] from Operation: 17+52=69
Current State: 21:[29, 61, 69], Operations: ['17+52=69']
Exploring Operation: 29+61=90, Resulting Numbers: [69, 90]
Generated Node #3: [69, 90] from Operation: 29+61=90
Current State: 21:[69, 90], Operations: ['17+52=69', '29+61=90']
Exploring Operation: 90-69=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 |
Current State: 21:[17, 52, 29, 61], Operations: []
Exploring Operation: 52-17=35, Resulting Numbers: [29, 61, 35]
Generated Node #0,0: 21:[29, 61, 35] Operation: 52-17=35
Exploring Operation: 61-29=32, Resulting Numbers: [17, 52, 32]
Generated Node #0,1: 21:[17, 52, 32] Operation: 61-29=32
Exploring Operation: 52-29=23, Resulting Numbers: [17, 61, 23]
Generated Node #0,2: 21:[17, 61, 23] Operation: 52-29=23
Exploring Operation: 61-52=9, Resulting Numbers: [17, 29, 9]
Generated Node #0,3: 21:[17, 29, 9] Operation: 61-52=9
Moving to Node #0,3
Current State: 21:[17, 29, 9], Operations: ['61-52=9']
Exploring Operation: 29-17=12, Resulting Numbers: [9, 12]
Generated Node #0,3,0: 21:[9, 12] Operation: 29-17=12
Exploring Operation: 17+9=26, Resulting Numbers: [29, 26]
Generated Node #0,3,1: 21:[29, 26] Operation: 17+9=26
Exploring Operation: 29-9=20, Resulting Numbers: [17, 20]
Generated Node #0,3,2: 21:[17, 20] Operation: 29-9=20
Exploring Operation: 17-9=8, Resulting Numbers: [29, 8]
Generated Node #0,3,3: 21:[29, 8] Operation: 17-9=8
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 21:[17, 20], Operations: ['61-52=9', '29-9=20']
Exploring Operation: 20-17=3, Resulting Numbers: [3]
3,21 unequal: No Solution
Exploring Operation: 17+20=37, Resulting Numbers: [37]
37,21 unequal: No Solution
Exploring Operation: 17*20=340, Resulting Numbers: [340]
340,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 21:[9, 12], Operations: ['61-52=9', '29-17=12']
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,21 unequal: No Solution
Exploring Operation: 9+12=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[17, 52, 29, 61], Operations: []
Exploring Operation: 61-52=9, Resulting Numbers: [17, 29, 9]
Generated Node #0,3: 21:[17, 29, 9] Operation: 61-52=9
Moving to Node #0,3
Current State: 21:[17, 29, 9], Operations: ['61-52=9']
Exploring Operation: 29-17=12, Resulting Numbers: [9, 12]
Generated Node #0,3,0: 21:[9, 12] Operation: 29-17=12
Moving to Node #0,3,0
Current State: 21:[9, 12], Operations: ['61-52=9', '29-17=12']
Exploring Operation: 9+12=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 |
hs_4
|
mult_heuristic
|
[
55,
28,
12,
7
] | 78 |
[
"55+28=83",
"12-7=5",
"83-5=78"
] |
Current State: 78:[55, 28, 12, 7], Operations: []
Exploring Operation: 55+28=83, Resulting Numbers: [12, 7, 83]
Generated Node #2: [12, 7, 83] from Operation: 55+28=83
Current State: 78:[12, 7, 83], Operations: ['55+28=83']
Exploring Operation: 12-7=5, Resulting Numbers: [83, 5]
Generated Node #3: [83, 5] from Operation: 12-7=5
Current State: 78:[83, 5], Operations: ['55+28=83', '12-7=5']
Exploring Operation: 83-5=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 |
Current State: 78:[55, 28, 12, 7], Operations: []
Exploring Operation: 55+28=83, Resulting Numbers: [12, 7, 83]
Generated Node #0,0: 78:[12, 7, 83] Operation: 55+28=83
Exploring Operation: 55-12=43, Resulting Numbers: [28, 7, 43]
Generated Node #0,1: 78:[28, 7, 43] Operation: 55-12=43
Exploring Operation: 55-7=48, Resulting Numbers: [28, 12, 48]
Generated Node #0,2: 78:[28, 12, 48] Operation: 55-7=48
Exploring Operation: 55+12=67, Resulting Numbers: [28, 7, 67]
Generated Node #0,3: 78:[28, 7, 67] Operation: 55+12=67
Exploring Operation: 55-28=27, Resulting Numbers: [12, 7, 27]
Generated Node #0,4: 78:[12, 7, 27] Operation: 55-28=27
Moving to Node #0,4
Current State: 78:[12, 7, 27], Operations: ['55-28=27']
Exploring Operation: 7+27=34, Resulting Numbers: [12, 34]
Generated Node #0,4,0: 78:[12, 34] Operation: 7+27=34
Exploring Operation: 12+7=19, Resulting Numbers: [27, 19]
Generated Node #0,4,1: 78:[27, 19] Operation: 12+7=19
Exploring Operation: 12-7=5, Resulting Numbers: [27, 5]
Generated Node #0,4,2: 78:[27, 5] Operation: 12-7=5
Exploring Operation: 27-12=15, Resulting Numbers: [7, 15]
Generated Node #0,4,3: 78:[7, 15] Operation: 27-12=15
Exploring Operation: 12+27=39, Resulting Numbers: [7, 39]
Generated Node #0,4,4: 78:[7, 39] Operation: 12+27=39
Moving to Node #0,1
Current State: 78:[28, 7, 43], Operations: ['55-12=43']
Exploring Operation: 28/7=4, Resulting Numbers: [43, 4]
Generated Node #0,1,0: 78:[43, 4] Operation: 28/7=4
Exploring Operation: 28+7=35, Resulting Numbers: [43, 35]
Generated Node #0,1,1: 78:[43, 35] Operation: 28+7=35
Exploring Operation: 43-28=15, Resulting Numbers: [7, 15]
Generated Node #0,1,2: 78:[7, 15] Operation: 43-28=15
Exploring Operation: 28+43=71, Resulting Numbers: [7, 71]
Generated Node #0,1,3: 78:[7, 71] Operation: 28+43=71
Exploring Operation: 43-7=36, Resulting Numbers: [28, 36]
Generated Node #0,1,4: 78:[28, 36] Operation: 43-7=36
Moving to Node #0,0
Current State: 78:[12, 7, 83], Operations: ['55+28=83']
Exploring Operation: 83-7=76, Resulting Numbers: [12, 76]
Generated Node #0,0,0: 78:[12, 76] Operation: 83-7=76
Exploring Operation: 12+7=19, Resulting Numbers: [83, 19]
Generated Node #0,0,1: 78:[83, 19] Operation: 12+7=19
Exploring Operation: 12-7=5, Resulting Numbers: [83, 5]
Generated Node #0,0,2: 78:[83, 5] Operation: 12-7=5
Exploring Operation: 83-12=71, Resulting Numbers: [7, 71]
Generated Node #0,0,3: 78:[7, 71] Operation: 83-12=71
Exploring Operation: 12*7=84, Resulting Numbers: [83, 84]
Generated Node #0,0,4: 78:[83, 84] Operation: 12*7=84
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 78:[12, 76], Operations: ['55+28=83', '83-7=76']
Exploring Operation: 12+76=88, Resulting Numbers: [88]
88,78 unequal: No Solution
Exploring Operation: 12*76=912, Resulting Numbers: [912]
912,78 unequal: No Solution
Exploring Operation: 76-12=64, Resulting Numbers: [64]
64,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 78:[83, 5], Operations: ['55+28=83', '12-7=5']
Exploring Operation: 83+5=88, Resulting Numbers: [88]
88,78 unequal: No Solution
Exploring Operation: 83-5=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[55, 28, 12, 7], Operations: []
Exploring Operation: 55+28=83, Resulting Numbers: [12, 7, 83]
Generated Node #0,0: 78:[12, 7, 83] Operation: 55+28=83
Moving to Node #0,0
Current State: 78:[12, 7, 83], Operations: ['55+28=83']
Exploring Operation: 12-7=5, Resulting Numbers: [83, 5]
Generated Node #0,0,2: 78:[83, 5] Operation: 12-7=5
Moving to Node #0,0,2
Current State: 78:[83, 5], Operations: ['55+28=83', '12-7=5']
Exploring Operation: 83-5=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 |
hs_5
|
sum_heuristic
|
[
85,
70,
88,
84
] | 19 |
[
"85-70=15",
"88-84=4",
"15+4=19"
] |
Current State: 19:[85, 70, 88, 84], Operations: []
Exploring Operation: 85-70=15, Resulting Numbers: [88, 84, 15]
Generated Node #2: [88, 84, 15] from Operation: 85-70=15
Current State: 19:[88, 84, 15], Operations: ['85-70=15']
Exploring Operation: 88-84=4, Resulting Numbers: [15, 4]
Generated Node #3: [15, 4] from Operation: 88-84=4
Current State: 19:[15, 4], Operations: ['85-70=15', '88-84=4']
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 |
Current State: 19:[85, 70, 88, 84], Operations: []
Exploring Operation: 88-85=3, Resulting Numbers: [70, 84, 3]
Generated Node #0,0: 19:[70, 84, 3] Operation: 88-85=3
Exploring Operation: 88-84=4, Resulting Numbers: [85, 70, 4]
Generated Node #0,1: 19:[85, 70, 4] Operation: 88-84=4
Exploring Operation: 88-70=18, Resulting Numbers: [85, 84, 18]
Generated Node #0,2: 19:[85, 84, 18] Operation: 88-70=18
Moving to Node #0,0
Current State: 19:[70, 84, 3], Operations: ['88-85=3']
Exploring Operation: 70-3=67, Resulting Numbers: [84, 67]
Generated Node #0,0,0: 19:[84, 67] Operation: 70-3=67
Exploring Operation: 84-70=14, Resulting Numbers: [3, 14]
Generated Node #0,0,1: 19:[3, 14] Operation: 84-70=14
Exploring Operation: 84/3=28, Resulting Numbers: [70, 28]
Generated Node #0,0,2: 19:[70, 28] Operation: 84/3=28
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 19:[3, 14], Operations: ['88-85=3', '84-70=14']
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,19 unequal: No Solution
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,19 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 19:[70, 28], Operations: ['88-85=3', '84/3=28']
Exploring Operation: 70+28=98, Resulting Numbers: [98]
98,19 unequal: No Solution
Exploring Operation: 70-28=42, Resulting Numbers: [42]
42,19 unequal: No Solution
Exploring Operation: 70*28=1960, Resulting Numbers: [1960]
1960,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[84, 67], Operations: ['88-85=3', '70-3=67']
Exploring Operation: 84*67=5628, Resulting Numbers: [5628]
5628,19 unequal: No Solution
Exploring Operation: 84+67=151, Resulting Numbers: [151]
151,19 unequal: No Solution
Exploring Operation: 84-67=17, Resulting Numbers: [17]
17,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 19:[85, 70, 4], Operations: ['88-84=4']
Exploring Operation: 85-70=15, Resulting Numbers: [4, 15]
Generated Node #0,1,0: 19:[4, 15] Operation: 85-70=15
Exploring Operation: 85-4=81, Resulting Numbers: [70, 81]
Generated Node #0,1,1: 19:[70, 81] Operation: 85-4=81
Exploring Operation: 70-4=66, Resulting Numbers: [85, 66]
Generated Node #0,1,2: 19:[85, 66] Operation: 70-4=66
Moving to Node #0,2
Current State: 19:[85, 84, 18], Operations: ['88-70=18']
Exploring Operation: 85-18=67, Resulting Numbers: [84, 67]
Generated Node #0,2,0: 19:[84, 67] Operation: 85-18=67
Exploring Operation: 85-84=1, Resulting Numbers: [18, 1]
Generated Node #0,2,1: 19:[18, 1] Operation: 85-84=1
Exploring Operation: 84-18=66, Resulting Numbers: [85, 66]
Generated Node #0,2,2: 19:[85, 66] Operation: 84-18=66
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 19:[18, 1], Operations: ['88-70=18', '85-84=1']
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,19 unequal: No Solution
Exploring Operation: 18*1=18, Resulting Numbers: [18]
18,19 unequal: No Solution
Exploring Operation: 18+1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[85, 70, 88, 84], Operations: []
Exploring Operation: 88-70=18, Resulting Numbers: [85, 84, 18]
Generated Node #0,2: 19:[85, 84, 18] Operation: 88-70=18
Moving to Node #0,2
Current State: 19:[85, 84, 18], Operations: ['88-70=18']
Exploring Operation: 85-84=1, Resulting Numbers: [18, 1]
Generated Node #0,2,1: 19:[18, 1] Operation: 85-84=1
Moving to Node #0,2,1
Current State: 19:[18, 1], Operations: ['88-70=18', '85-84=1']
Exploring Operation: 18+1=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.975694 |
hs_3
|
mult_heuristic
|
[
52,
74,
26,
11
] | 61 |
[
"52/26=2",
"74-11=63",
"63-2=61"
] |
Current State: 61:[52, 74, 26, 11], Operations: []
Exploring Operation: 52/26=2, Resulting Numbers: [74, 11, 2]
Generated Node #2: [74, 11, 2] from Operation: 52/26=2
Current State: 61:[74, 11, 2], Operations: ['52/26=2']
Exploring Operation: 74-11=63, Resulting Numbers: [2, 63]
Generated Node #3: [2, 63] from Operation: 74-11=63
Current State: 61:[2, 63], Operations: ['52/26=2', '74-11=63']
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 |
Current State: 61:[52, 74, 26, 11], Operations: []
Exploring Operation: 74-11=63, Resulting Numbers: [52, 26, 63]
Generated Node #0,0: 61:[52, 26, 63] Operation: 74-11=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[52, 26, 63], Operations: ['74-11=63']
Exploring Operation: 52+26=78, Resulting Numbers: [63, 78]
Generated Node #0,0,0: 61:[63, 78] Operation: 52+26=78
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 61:[63, 78], Operations: ['74-11=63', '52+26=78']
Exploring Operation: 78-63=15, Resulting Numbers: [15]
15,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
65,
56,
41,
17
] | 49 |
[
"65-56=9",
"41+17=58",
"58-9=49"
] |
Current State: 49:[65, 56, 41, 17], Operations: []
Exploring Operation: 65-56=9, Resulting Numbers: [41, 17, 9]
Generated Node #2: [41, 17, 9] from Operation: 65-56=9
Current State: 49:[41, 17, 9], Operations: ['65-56=9']
Exploring Operation: 41+17=58, Resulting Numbers: [9, 58]
Generated Node #3: [9, 58] from Operation: 41+17=58
Current State: 49:[9, 58], Operations: ['65-56=9', '41+17=58']
Exploring Operation: 58-9=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 |
Current State: 49:[65, 56, 41, 17], Operations: []
Exploring Operation: 65-17=48, Resulting Numbers: [56, 41, 48]
Generated Node #0,0: 49:[56, 41, 48] Operation: 65-17=48
Exploring Operation: 56-41=15, Resulting Numbers: [65, 17, 15]
Generated Node #0,1: 49:[65, 17, 15] Operation: 56-41=15
Exploring Operation: 65-41=24, Resulting Numbers: [56, 17, 24]
Generated Node #0,2: 49:[56, 17, 24] Operation: 65-41=24
Exploring Operation: 65-56=9, Resulting Numbers: [41, 17, 9]
Generated Node #0,3: 49:[41, 17, 9] Operation: 65-56=9
Exploring Operation: 41+17=58, Resulting Numbers: [65, 56, 58]
Generated Node #0,4: 49:[65, 56, 58] Operation: 41+17=58
Moving to Node #0,0
Current State: 49:[56, 41, 48], Operations: ['65-17=48']
Exploring Operation: 41+48=89, Resulting Numbers: [56, 89]
Generated Node #0,0,0: 49:[56, 89] Operation: 41+48=89
Exploring Operation: 48-41=7, Resulting Numbers: [56, 7]
Generated Node #0,0,1: 49:[56, 7] Operation: 48-41=7
Exploring Operation: 56-41=15, Resulting Numbers: [48, 15]
Generated Node #0,0,2: 49:[48, 15] Operation: 56-41=15
Exploring Operation: 56+41=97, Resulting Numbers: [48, 97]
Generated Node #0,0,3: 49:[48, 97] Operation: 56+41=97
Exploring Operation: 56-48=8, Resulting Numbers: [41, 8]
Generated Node #0,0,4: 49:[41, 8] Operation: 56-48=8
Moving to Node #0,3
Current State: 49:[41, 17, 9], Operations: ['65-56=9']
Exploring Operation: 17-9=8, Resulting Numbers: [41, 8]
Generated Node #0,3,0: 49:[41, 8] Operation: 17-9=8
Exploring Operation: 41+17=58, Resulting Numbers: [9, 58]
Generated Node #0,3,1: 49:[9, 58] Operation: 41+17=58
Exploring Operation: 41+9=50, Resulting Numbers: [17, 50]
Generated Node #0,3,2: 49:[17, 50] Operation: 41+9=50
Exploring Operation: 41-17=24, Resulting Numbers: [9, 24]
Generated Node #0,3,3: 49:[9, 24] Operation: 41-17=24
Exploring Operation: 41-9=32, Resulting Numbers: [17, 32]
Generated Node #0,3,4: 49:[17, 32] Operation: 41-9=32
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 49:[41, 8], Operations: ['65-56=9', '17-9=8']
Exploring Operation: 41-8=33, Resulting Numbers: [33]
33,49 unequal: No Solution
Exploring Operation: 41+8=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[65, 56, 41, 17], Operations: []
Exploring Operation: 65-56=9, Resulting Numbers: [41, 17, 9]
Generated Node #0,3: 49:[41, 17, 9] Operation: 65-56=9
Moving to Node #0,3
Current State: 49:[41, 17, 9], Operations: ['65-56=9']
Exploring Operation: 17-9=8, Resulting Numbers: [41, 8]
Generated Node #0,3,0: 49:[41, 8] Operation: 17-9=8
Moving to Node #0,3,0
Current State: 49:[41, 8], Operations: ['65-56=9', '17-9=8']
Exploring Operation: 41+8=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 |
hs_5
|
sum_heuristic
|
[
86,
31,
83,
51
] | 48 |
[
"86-83=3",
"51/3=17",
"31+17=48"
] |
Current State: 48:[86, 31, 83, 51], Operations: []
Exploring Operation: 86-83=3, Resulting Numbers: [31, 51, 3]
Generated Node #2: [31, 51, 3] from Operation: 86-83=3
Current State: 48:[31, 51, 3], Operations: ['86-83=3']
Exploring Operation: 51/3=17, Resulting Numbers: [31, 17]
Generated Node #3: [31, 17] from Operation: 51/3=17
Current State: 48:[31, 17], Operations: ['86-83=3', '51/3=17']
Exploring Operation: 31+17=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 |
Current State: 48:[86, 31, 83, 51], Operations: []
Exploring Operation: 86-83=3, Resulting Numbers: [31, 51, 3]
Generated Node #0,0: 48:[31, 51, 3] Operation: 86-83=3
Moving to Node #0,0
Current State: 48:[31, 51, 3], Operations: ['86-83=3']
Exploring Operation: 51-31=20, Resulting Numbers: [3, 20]
Generated Node #0,0,0: 48:[3, 20] Operation: 51-31=20
Moving to Node #0,0,0
Current State: 48:[3, 20], Operations: ['86-83=3', '51-31=20']
Exploring Operation: 3+20=23, Resulting Numbers: [23]
23,48 unequal: No Solution
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
66,
4,
54,
66
] | 51 |
[
"66/66=1",
"54-4=50",
"1+50=51"
] |
Current State: 51:[66, 4, 54, 66], Operations: []
Exploring Operation: 66/66=1, Resulting Numbers: [4, 54, 1]
Generated Node #2: [4, 54, 1] from Operation: 66/66=1
Current State: 51:[4, 54, 1], Operations: ['66/66=1']
Exploring Operation: 54-4=50, Resulting Numbers: [1, 50]
Generated Node #3: [1, 50] from Operation: 54-4=50
Current State: 51:[1, 50], Operations: ['66/66=1', '54-4=50']
Exploring Operation: 1+50=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 |
Current State: 51:[66, 4, 54, 66], Operations: []
Exploring Operation: 66/66=1, Resulting Numbers: [4, 54, 1]
Generated Node #0,0: 51:[4, 54, 1] Operation: 66/66=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 51:[4, 54, 1], Operations: ['66/66=1']
Exploring Operation: 54-4=50, Resulting Numbers: [1, 50]
Generated Node #0,0,0: 51:[1, 50] Operation: 54-4=50
Moving to Node #0,0,0
Current State: 51:[1, 50], Operations: ['66/66=1', '54-4=50']
Exploring Operation: 1+50=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[66, 4, 54, 66], Operations: []
Exploring Operation: 66/66=1, Resulting Numbers: [4, 54, 1]
Generated Node #0,0: 51:[4, 54, 1] Operation: 66/66=1
Moving to Node #0,0
Current State: 51:[4, 54, 1], Operations: ['66/66=1']
Exploring Operation: 54-4=50, Resulting Numbers: [1, 50]
Generated Node #0,0,0: 51:[1, 50] Operation: 54-4=50
Moving to Node #0,0,0
Current State: 51:[1, 50], Operations: ['66/66=1', '54-4=50']
Exploring Operation: 1+50=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 |
hs_1
|
sum_heuristic
|
[
63,
9,
11,
92
] | 27 |
[
"63-9=54",
"92-11=81",
"81-54=27"
] |
Current State: 27:[63, 9, 11, 92], Operations: []
Exploring Operation: 63-9=54, Resulting Numbers: [11, 92, 54]
Generated Node #2: [11, 92, 54] from Operation: 63-9=54
Current State: 27:[11, 92, 54], Operations: ['63-9=54']
Exploring Operation: 92-11=81, Resulting Numbers: [54, 81]
Generated Node #3: [54, 81] from Operation: 92-11=81
Current State: 27:[54, 81], Operations: ['63-9=54', '92-11=81']
Exploring Operation: 81-54=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 |
Current State: 27:[63, 9, 11, 92], Operations: []
Exploring Operation: 63/9=7, Resulting Numbers: [11, 92, 7]
Generated Node #0,0: 27:[11, 92, 7] Operation: 63/9=7
Exploring Operation: 92-63=29, Resulting Numbers: [9, 11, 29]
Generated Node #0,1: 27:[9, 11, 29] Operation: 92-63=29
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[9, 11, 29], Operations: ['92-63=29']
Exploring Operation: 9+11=20, Resulting Numbers: [29, 20]
Generated Node #0,1,0: 27:[29, 20] Operation: 9+11=20
Exploring Operation: 11-9=2, Resulting Numbers: [29, 2]
Generated Node #0,1,1: 27:[29, 2] Operation: 11-9=2
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 27:[29, 2], Operations: ['92-63=29', '11-9=2']
Exploring Operation: 29+2=31, Resulting Numbers: [31]
31,27 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[63, 9, 11, 92], Operations: []
Exploring Operation: 92-63=29, Resulting Numbers: [9, 11, 29]
Generated Node #0,1: 27:[9, 11, 29] Operation: 92-63=29
Moving to Node #0,1
Current State: 27:[9, 11, 29], Operations: ['92-63=29']
Exploring Operation: 11-9=2, Resulting Numbers: [29, 2]
Generated Node #0,1,1: 27:[29, 2] Operation: 11-9=2
Moving to Node #0,1,1
Current State: 27:[29, 2], Operations: ['92-63=29', '11-9=2']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 |
hs_2
|
mult_heuristic
|
[
3,
65,
6,
2
] | 37 |
[
"3+65=68",
"6+68=74",
"74/2=37"
] |
Current State: 37:[3, 65, 6, 2], Operations: []
Exploring Operation: 3+65=68, Resulting Numbers: [6, 2, 68]
Generated Node #2: [6, 2, 68] from Operation: 3+65=68
Current State: 37:[6, 2, 68], Operations: ['3+65=68']
Exploring Operation: 6+68=74, Resulting Numbers: [2, 74]
Generated Node #3: [2, 74] from Operation: 6+68=74
Current State: 37:[2, 74], Operations: ['3+65=68', '6+68=74']
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 |
Current State: 37:[3, 65, 6, 2], Operations: []
Exploring Operation: 3*2=6, Resulting Numbers: [65, 6, 6]
Generated Node #0,0: 37:[65, 6, 6] Operation: 3*2=6
Exploring Operation: 65-3=62, Resulting Numbers: [6, 2, 62]
Generated Node #0,1: 37:[6, 2, 62] Operation: 65-3=62
Exploring Operation: 3*6=18, Resulting Numbers: [65, 2, 18]
Generated Node #0,2: 37:[65, 2, 18] Operation: 3*6=18
Exploring Operation: 6*2=12, Resulting Numbers: [3, 65, 12]
Generated Node #0,3: 37:[3, 65, 12] Operation: 6*2=12
Exploring Operation: 3+6=9, Resulting Numbers: [65, 2, 9]
Generated Node #0,4: 37:[65, 2, 9] Operation: 3+6=9
Start Sub Search at level 1: Moving to Node #0,2
Current State: 37:[65, 2, 18], Operations: ['3*6=18']
Exploring Operation: 65+2=67, Resulting Numbers: [18, 67]
Generated Node #0,2,0: 37:[18, 67] Operation: 65+2=67
Exploring Operation: 65-2=63, Resulting Numbers: [18, 63]
Generated Node #0,2,1: 37:[18, 63] Operation: 65-2=63
Exploring Operation: 65-18=47, Resulting Numbers: [2, 47]
Generated Node #0,2,2: 37:[2, 47] Operation: 65-18=47
Exploring Operation: 2*18=36, Resulting Numbers: [65, 36]
Generated Node #0,2,3: 37:[65, 36] Operation: 2*18=36
Exploring Operation: 2+18=20, Resulting Numbers: [65, 20]
Generated Node #0,2,4: 37:[65, 20] Operation: 2+18=20
Moving to Node #0,2,3
Current State: 37:[65, 36], Operations: ['3*6=18', '2*18=36']
Exploring Operation: 65-36=29, Resulting Numbers: [29]
29,37 unequal: No Solution
Exploring Operation: 65+36=101, Resulting Numbers: [101]
101,37 unequal: No Solution
Exploring Operation: 65*36=2340, Resulting Numbers: [2340]
2340,37 unequal: No Solution
Moving to Node #0,2,2
Current State: 37:[2, 47], Operations: ['3*6=18', '65-18=47']
Exploring Operation: 2*47=94, Resulting Numbers: [94]
94,37 unequal: No Solution
Exploring Operation: 2+47=49, Resulting Numbers: [49]
49,37 unequal: No Solution
Exploring Operation: 47-2=45, Resulting Numbers: [45]
45,37 unequal: No Solution
Moving to Node #0,2,1
Current State: 37:[18, 63], Operations: ['3*6=18', '65-2=63']
Exploring Operation: 18+63=81, Resulting Numbers: [81]
81,37 unequal: No Solution
Exploring Operation: 18*63=1134, Resulting Numbers: [1134]
1134,37 unequal: No Solution
Exploring Operation: 63-18=45, Resulting Numbers: [45]
45,37 unequal: No Solution
Moving to Node #0,2,4
Current State: 37:[65, 20], Operations: ['3*6=18', '2+18=20']
Exploring Operation: 65+20=85, Resulting Numbers: [85]
85,37 unequal: No Solution
Exploring Operation: 65*20=1300, Resulting Numbers: [1300]
1300,37 unequal: No Solution
Exploring Operation: 65-20=45, Resulting Numbers: [45]
45,37 unequal: No Solution
Moving to Node #0,2,0
Current State: 37:[18, 67], Operations: ['3*6=18', '65+2=67']
Exploring Operation: 18*67=1206, Resulting Numbers: [1206]
1206,37 unequal: No Solution
Exploring Operation: 67-18=49, Resulting Numbers: [49]
49,37 unequal: No Solution
Exploring Operation: 18+67=85, Resulting Numbers: [85]
85,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,3
Current State: 37:[3, 65, 12], Operations: ['6*2=12']
Exploring Operation: 65-12=53, Resulting Numbers: [3, 53]
Generated Node #0,3,0: 37:[3, 53] Operation: 65-12=53
Exploring Operation: 3+65=68, Resulting Numbers: [12, 68]
Generated Node #0,3,1: 37:[12, 68] Operation: 3+65=68
Exploring Operation: 3*12=36, Resulting Numbers: [65, 36]
Generated Node #0,3,2: 37:[65, 36] Operation: 3*12=36
Exploring Operation: 3+12=15, Resulting Numbers: [65, 15]
Generated Node #0,3,3: 37:[65, 15] Operation: 3+12=15
Exploring Operation: 65-3=62, Resulting Numbers: [12, 62]
Generated Node #0,3,4: 37:[12, 62] Operation: 65-3=62
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 37:[65, 36], Operations: ['6*2=12', '3*12=36']
Exploring Operation: 65+36=101, Resulting Numbers: [101]
101,37 unequal: No Solution
Exploring Operation: 65*36=2340, Resulting Numbers: [2340]
2340,37 unequal: No Solution
Exploring Operation: 65-36=29, Resulting Numbers: [29]
29,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,3,0
Current State: 37:[3, 53], Operations: ['6*2=12', '65-12=53']
Exploring Operation: 53-3=50, Resulting Numbers: [50]
50,37 unequal: No Solution
Exploring Operation: 3+53=56, Resulting Numbers: [56]
56,37 unequal: No Solution
Exploring Operation: 3*53=159, Resulting Numbers: [159]
159,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,3,3
Current State: 37:[65, 15], Operations: ['6*2=12', '3+12=15']
Exploring Operation: 65+15=80, Resulting Numbers: [80]
80,37 unequal: No Solution
Exploring Operation: 65-15=50, Resulting Numbers: [50]
50,37 unequal: No Solution
Exploring Operation: 65*15=975, Resulting Numbers: [975]
975,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,3,4
Current State: 37:[12, 62], Operations: ['6*2=12', '65-3=62']
Exploring Operation: 12+62=74, Resulting Numbers: [74]
74,37 unequal: No Solution
Exploring Operation: 62-12=50, Resulting Numbers: [50]
50,37 unequal: No Solution
Exploring Operation: 12*62=744, Resulting Numbers: [744]
744,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,3,1
Current State: 37:[12, 68], Operations: ['6*2=12', '3+65=68']
Exploring Operation: 12*68=816, Resulting Numbers: [816]
816,37 unequal: No Solution
Exploring Operation: 68-12=56, Resulting Numbers: [56]
56,37 unequal: No Solution
Exploring Operation: 12+68=80, Resulting Numbers: [80]
80,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[65, 6, 6], Operations: ['3*2=6']
Exploring Operation: 6+6=12, Resulting Numbers: [65, 12]
Generated Node #0,0,0: 37:[65, 12] Operation: 6+6=12
Exploring Operation: 6*6=36, Resulting Numbers: [65, 36]
Generated Node #0,0,1: 37:[65, 36] Operation: 6*6=36
Exploring Operation: 65-6=59, Resulting Numbers: [6, 59]
Generated Node #0,0,2: 37:[6, 59] Operation: 65-6=59
Exploring Operation: 65-6=59, Resulting Numbers: [6, 59]
Generated Node #0,0,3: 37:[6, 59] Operation: 65-6=59
Exploring Operation: 6/6=1, Resulting Numbers: [65, 1]
Generated Node #0,0,4: 37:[65, 1] Operation: 6/6=1
Moving to Node #0,0,1
Current State: 37:[65, 36], Operations: ['3*2=6', '6*6=36']
Exploring Operation: 65-36=29, Resulting Numbers: [29]
29,37 unequal: No Solution
Exploring Operation: 65+36=101, Resulting Numbers: [101]
101,37 unequal: No Solution
Exploring Operation: 65*36=2340, Resulting Numbers: [2340]
2340,37 unequal: No Solution
Moving to Node #0,0,2
Current State: 37:[6, 59], Operations: ['3*2=6', '65-6=59']
Exploring Operation: 6+59=65, Resulting Numbers: [65]
65,37 unequal: No Solution
Exploring Operation: 6*59=354, Resulting Numbers: [354]
354,37 unequal: No Solution
Exploring Operation: 59-6=53, Resulting Numbers: [53]
53,37 unequal: No Solution
Moving to Node #0,0,0
Current State: 37:[65, 12], Operations: ['3*2=6', '6+6=12']
Exploring Operation: 65*12=780, Resulting Numbers: [780]
780,37 unequal: No Solution
Exploring Operation: 65+12=77, Resulting Numbers: [77]
77,37 unequal: No Solution
Exploring Operation: 65-12=53, Resulting Numbers: [53]
53,37 unequal: No Solution
Moving to Node #0,0,3
Current State: 37:[6, 59], Operations: ['3*2=6', '65-6=59']
Exploring Operation: 6+59=65, Resulting Numbers: [65]
65,37 unequal: No Solution
Exploring Operation: 59-6=53, Resulting Numbers: [53]
53,37 unequal: No Solution
Exploring Operation: 6*59=354, Resulting Numbers: [354]
354,37 unequal: No Solution
Moving to Node #0,0,4
Current State: 37:[65, 1], Operations: ['3*2=6', '6/6=1']
Exploring Operation: 65/1=65, Resulting Numbers: [65]
65,37 unequal: No Solution
Exploring Operation: 65*1=65, Resulting Numbers: [65]
65,37 unequal: No Solution
Exploring Operation: 65+1=66, Resulting Numbers: [66]
66,37 unequal: No Solution
Exploring Operation: 65-1=64, Resulting Numbers: [64]
64,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
Current State: 37:[6, 2, 62], Operations: ['65-3=62']
Exploring Operation: 62/2=31, Resulting Numbers: [6, 31]
Generated Node #0,1,0: 37:[6, 31] Operation: 62/2=31
Exploring Operation: 6*2=12, Resulting Numbers: [62, 12]
Generated Node #0,1,1: 37:[62, 12] Operation: 6*2=12
Exploring Operation: 62-6=56, Resulting Numbers: [2, 56]
Generated Node #0,1,2: 37:[2, 56] Operation: 62-6=56
Exploring Operation: 6+2=8, Resulting Numbers: [62, 8]
Generated Node #0,1,3: 37:[62, 8] Operation: 6+2=8
Exploring Operation: 62-2=60, Resulting Numbers: [6, 60]
Generated Node #0,1,4: 37:[6, 60] Operation: 62-2=60
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 37:[6, 31], Operations: ['65-3=62', '62/2=31']
Exploring Operation: 6*31=186, Resulting Numbers: [186]
186,37 unequal: No Solution
Exploring Operation: 6+31=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[3, 65, 6, 2], Operations: []
Exploring Operation: 65-3=62, Resulting Numbers: [6, 2, 62]
Generated Node #0,1: 37:[6, 2, 62] Operation: 65-3=62
Moving to Node #0,1
Current State: 37:[6, 2, 62], Operations: ['65-3=62']
Exploring Operation: 62/2=31, Resulting Numbers: [6, 31]
Generated Node #0,1,0: 37:[6, 31] Operation: 62/2=31
Moving to Node #0,1,0
Current State: 37:[6, 31], Operations: ['65-3=62', '62/2=31']
Exploring Operation: 6+31=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.93316 |
hs_5
|
sum_heuristic
|
[
27,
14,
13,
7
] | 42 |
[
"27+13=40",
"14/7=2",
"40+2=42"
] |
Current State: 42:[27, 14, 13, 7], Operations: []
Exploring Operation: 27+13=40, Resulting Numbers: [14, 7, 40]
Generated Node #2: [14, 7, 40] from Operation: 27+13=40
Current State: 42:[14, 7, 40], Operations: ['27+13=40']
Exploring Operation: 14/7=2, Resulting Numbers: [40, 2]
Generated Node #3: [40, 2] from Operation: 14/7=2
Current State: 42:[40, 2], Operations: ['27+13=40', '14/7=2']
Exploring Operation: 40+2=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 |
Current State: 42:[27, 14, 13, 7], Operations: []
Exploring Operation: 27-13=14, Resulting Numbers: [14, 7, 14]
Generated Node #0,0: 42:[14, 7, 14] Operation: 27-13=14
Exploring Operation: 27+14=41, Resulting Numbers: [13, 7, 41]
Generated Node #0,1: 42:[13, 7, 41] Operation: 27+14=41
Exploring Operation: 27-14=13, Resulting Numbers: [13, 7, 13]
Generated Node #0,2: 42:[13, 7, 13] Operation: 27-14=13
Moving to Node #0,0
Current State: 42:[14, 7, 14], Operations: ['27-13=14']
Exploring Operation: 14/7=2, Resulting Numbers: [14, 2]
Generated Node #0,0,0: 42:[14, 2] Operation: 14/7=2
Exploring Operation: 14+7=21, Resulting Numbers: [14, 21]
Generated Node #0,0,1: 42:[14, 21] Operation: 14+7=21
Exploring Operation: 14-7=7, Resulting Numbers: [14, 7]
Generated Node #0,0,2: 42:[14, 7] Operation: 14-7=7
Moving to Node #0,1
Current State: 42:[13, 7, 41], Operations: ['27+14=41']
Exploring Operation: 13-7=6, Resulting Numbers: [41, 6]
Generated Node #0,1,0: 42:[41, 6] Operation: 13-7=6
Exploring Operation: 41-13=28, Resulting Numbers: [7, 28]
Generated Node #0,1,1: 42:[7, 28] Operation: 41-13=28
Exploring Operation: 13+7=20, Resulting Numbers: [41, 20]
Generated Node #0,1,2: 42:[41, 20] Operation: 13+7=20
Moving to Node #0,2
Current State: 42:[13, 7, 13], Operations: ['27-14=13']
Exploring Operation: 13/13=1, Resulting Numbers: [7, 1]
Generated Node #0,2,0: 42:[7, 1] Operation: 13/13=1
Exploring Operation: 13-7=6, Resulting Numbers: [13, 6]
Generated Node #0,2,1: 42:[13, 6] Operation: 13-7=6
Exploring Operation: 13-7=6, Resulting Numbers: [13, 6]
Generated Node #0,2,2: 42:[13, 6] Operation: 13-7=6
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 42:[7, 1], Operations: ['27-14=13', '13/13=1']
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,42 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,42 unequal: No Solution
Exploring Operation: 7*1=7, Resulting Numbers: [7]
7,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 42:[13, 6], Operations: ['27-14=13', '13-7=6']
Exploring Operation: 13+6=19, Resulting Numbers: [19]
19,42 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,42 unequal: No Solution
Exploring Operation: 13*6=78, Resulting Numbers: [78]
78,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 42:[13, 6], Operations: ['27-14=13', '13-7=6']
Exploring Operation: 13+6=19, Resulting Numbers: [19]
19,42 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,42 unequal: No Solution
Exploring Operation: 13*6=78, Resulting Numbers: [78]
78,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0,0
Current State: 42:[14, 2], Operations: ['27-13=14', '14/7=2']
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,42 unequal: No Solution
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,42 unequal: No Solution
Exploring Operation: 14+2=16, Resulting Numbers: [16]
16,42 unequal: No Solution
Moving to Node #0,0,2
Current State: 42:[14, 7], Operations: ['27-13=14', '14-7=7']
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,42 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 14+7=21, Resulting Numbers: [21]
21,42 unequal: No Solution
Moving to Node #0,0,1
Current State: 42:[14, 21], Operations: ['27-13=14', '14+7=21']
Exploring Operation: 21-14=7, Resulting Numbers: [7]
7,42 unequal: No Solution
Exploring Operation: 14*21=294, Resulting Numbers: [294]
294,42 unequal: No Solution
Exploring Operation: 14+21=35, Resulting Numbers: [35]
35,42 unequal: No Solution
Moving to Node #0,1,0
Current State: 42:[41, 6], Operations: ['27+14=41', '13-7=6']
Exploring Operation: 41+6=47, Resulting Numbers: [47]
47,42 unequal: No Solution
Exploring Operation: 41*6=246, Resulting Numbers: [246]
246,42 unequal: No Solution
Exploring Operation: 41-6=35, Resulting Numbers: [35]
35,42 unequal: No Solution
Moving to Node #0,1,2
Current State: 42:[41, 20], Operations: ['27+14=41', '13+7=20']
Exploring Operation: 41*20=820, Resulting Numbers: [820]
820,42 unequal: No Solution
Exploring Operation: 41-20=21, Resulting Numbers: [21]
21,42 unequal: No Solution
Exploring Operation: 41+20=61, Resulting Numbers: [61]
61,42 unequal: No Solution
Moving to Node #0,1,1
Current State: 42:[7, 28], Operations: ['27+14=41', '41-13=28']
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 7+28=35, Resulting Numbers: [35]
35,42 unequal: No Solution
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,42 unequal: No Solution
No solution found.
| 0 |
hs_3
|
sum_heuristic
|
[
11,
24,
39,
15
] | 91 |
[
"11+24=35",
"39*35=1365",
"1365/15=91"
] |
Current State: 91:[11, 24, 39, 15], Operations: []
Exploring Operation: 11+24=35, Resulting Numbers: [39, 15, 35]
Generated Node #2: [39, 15, 35] from Operation: 11+24=35
Current State: 91:[39, 15, 35], Operations: ['11+24=35']
Exploring Operation: 39*35=1365, Resulting Numbers: [15, 1365]
Generated Node #3: [15, 1365] from Operation: 39*35=1365
Current State: 91:[15, 1365], Operations: ['11+24=35', '39*35=1365']
Exploring Operation: 1365/15=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 |
Current State: 91:[11, 24, 39, 15], Operations: []
Exploring Operation: 39-24=15, Resulting Numbers: [11, 15, 15]
Generated Node #0,0: 91:[11, 15, 15] Operation: 39-24=15
Moving to Node #0,0
Current State: 91:[11, 15, 15], Operations: ['39-24=15']
Exploring Operation: 15-11=4, Resulting Numbers: [15, 4]
Generated Node #0,0,0: 91:[15, 4] Operation: 15-11=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 91:[15, 4], Operations: ['39-24=15', '15-11=4']
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,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
|
[
8,
33,
45,
23
] | 90 |
[
"33-8=25",
"25-23=2",
"45*2=90"
] |
Current State: 90:[8, 33, 45, 23], Operations: []
Exploring Operation: 33-8=25, Resulting Numbers: [45, 23, 25]
Generated Node #2: [45, 23, 25] from Operation: 33-8=25
Current State: 90:[45, 23, 25], Operations: ['33-8=25']
Exploring Operation: 25-23=2, Resulting Numbers: [45, 2]
Generated Node #3: [45, 2] from Operation: 25-23=2
Current State: 90:[45, 2], Operations: ['33-8=25', '25-23=2']
Exploring Operation: 45*2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 |
Current State: 90:[8, 33, 45, 23], Operations: []
Exploring Operation: 23-8=15, Resulting Numbers: [33, 45, 15]
Generated Node #0,0: 90:[33, 45, 15] Operation: 23-8=15
Exploring Operation: 33-23=10, Resulting Numbers: [8, 45, 10]
Generated Node #0,1: 90:[8, 45, 10] Operation: 33-23=10
Start Sub Search at level 1: Moving to Node #0,1
Current State: 90:[8, 45, 10], Operations: ['33-23=10']
Exploring Operation: 8+10=18, Resulting Numbers: [45, 18]
Generated Node #0,1,0: 90:[45, 18] Operation: 8+10=18
Exploring Operation: 10-8=2, Resulting Numbers: [45, 2]
Generated Node #0,1,1: 90:[45, 2] Operation: 10-8=2
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 90:[45, 18], Operations: ['33-23=10', '8+10=18']
Exploring Operation: 45-18=27, Resulting Numbers: [27]
27,90 unequal: No Solution
Exploring Operation: 45+18=63, Resulting Numbers: [63]
63,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 90:[45, 2], Operations: ['33-23=10', '10-8=2']
Exploring Operation: 45+2=47, Resulting Numbers: [47]
47,90 unequal: No Solution
Exploring Operation: 45*2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[8, 33, 45, 23], Operations: []
Exploring Operation: 33-23=10, Resulting Numbers: [8, 45, 10]
Generated Node #0,1: 90:[8, 45, 10] Operation: 33-23=10
Moving to Node #0,1
Current State: 90:[8, 45, 10], Operations: ['33-23=10']
Exploring Operation: 10-8=2, Resulting Numbers: [45, 2]
Generated Node #0,1,1: 90:[45, 2] Operation: 10-8=2
Moving to Node #0,1,1
Current State: 90:[45, 2], Operations: ['33-23=10', '10-8=2']
Exploring Operation: 45*2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 |
hs_2
|
mult_heuristic
|
[
22,
39,
60,
3
] | 33 |
[
"22*3=66",
"39+60=99",
"99-66=33"
] |
Current State: 33:[22, 39, 60, 3], Operations: []
Exploring Operation: 22*3=66, Resulting Numbers: [39, 60, 66]
Generated Node #2: [39, 60, 66] from Operation: 22*3=66
Current State: 33:[39, 60, 66], Operations: ['22*3=66']
Exploring Operation: 39+60=99, Resulting Numbers: [66, 99]
Generated Node #3: [66, 99] from Operation: 39+60=99
Current State: 33:[66, 99], Operations: ['22*3=66', '39+60=99']
Exploring Operation: 99-66=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 |
Current State: 33:[22, 39, 60, 3], Operations: []
Exploring Operation: 60/3=20, Resulting Numbers: [22, 39, 20]
Generated Node #0,0: 33:[22, 39, 20] Operation: 60/3=20
Exploring Operation: 60-39=21, Resulting Numbers: [22, 3, 21]
Generated Node #0,1: 33:[22, 3, 21] Operation: 60-39=21
Exploring Operation: 60-22=38, Resulting Numbers: [39, 3, 38]
Generated Node #0,2: 33:[39, 3, 38] Operation: 60-22=38
Start Sub Search at level 1: Moving to Node #0,2
Current State: 33:[39, 3, 38], Operations: ['60-22=38']
Exploring Operation: 39-38=1, Resulting Numbers: [3, 1]
Generated Node #0,2,0: 33:[3, 1] Operation: 39-38=1
Exploring Operation: 39-3=36, Resulting Numbers: [38, 36]
Generated Node #0,2,1: 33:[38, 36] Operation: 39-3=36
Exploring Operation: 39/3=13, Resulting Numbers: [38, 13]
Generated Node #0,2,2: 33:[38, 13] Operation: 39/3=13
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 33:[3, 1], Operations: ['60-22=38', '39-38=1']
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,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,2
Current State: 33:[38, 13], Operations: ['60-22=38', '39/3=13']
Exploring Operation: 38-13=25, Resulting Numbers: [25]
25,33 unequal: No Solution
Exploring Operation: 38+13=51, Resulting Numbers: [51]
51,33 unequal: No Solution
Exploring Operation: 38*13=494, Resulting Numbers: [494]
494,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:[38, 36], Operations: ['60-22=38', '39-3=36']
Exploring Operation: 38*36=1368, Resulting Numbers: [1368]
1368,33 unequal: No Solution
Exploring Operation: 38-36=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Exploring Operation: 38+36=74, Resulting Numbers: [74]
74,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:[22, 3, 21], Operations: ['60-39=21']
Exploring Operation: 22+21=43, Resulting Numbers: [3, 43]
Generated Node #0,1,0: 33:[3, 43] Operation: 22+21=43
Exploring Operation: 21/3=7, Resulting Numbers: [22, 7]
Generated Node #0,1,1: 33:[22, 7] Operation: 21/3=7
Exploring Operation: 22-21=1, Resulting Numbers: [3, 1]
Generated Node #0,1,2: 33:[3, 1] Operation: 22-21=1
Moving to Node #0,1,2
Current State: 33:[3, 1], Operations: ['60-39=21', '22-21=1']
Exploring Operation: 3+1=4, Resulting Numbers: [4]
4,33 unequal: No Solution
Exploring Operation: 3/1=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Exploring Operation: 3*1=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Moving to Node #0,1,0
Current State: 33:[3, 43], Operations: ['60-39=21', '22+21=43']
Exploring Operation: 3+43=46, Resulting Numbers: [46]
46,33 unequal: No Solution
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,33 unequal: No Solution
Exploring Operation: 3*43=129, Resulting Numbers: [129]
129,33 unequal: No Solution
Moving to Node #0,1,1
Current State: 33:[22, 7], Operations: ['60-39=21', '21/3=7']
Exploring Operation: 22*7=154, Resulting Numbers: [154]
154,33 unequal: No Solution
Exploring Operation: 22+7=29, Resulting Numbers: [29]
29,33 unequal: No Solution
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,33 unequal: No Solution
No 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: 33:[22, 39, 20], Operations: ['60/3=20']
Exploring Operation: 39-22=17, Resulting Numbers: [20, 17]
Generated Node #0,0,0: 33:[20, 17] Operation: 39-22=17
Exploring Operation: 22-20=2, Resulting Numbers: [39, 2]
Generated Node #0,0,1: 33:[39, 2] Operation: 22-20=2
Exploring Operation: 22+20=42, Resulting Numbers: [39, 42]
Generated Node #0,0,2: 33:[39, 42] Operation: 22+20=42
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 33:[39, 2], Operations: ['60/3=20', '22-20=2']
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,33 unequal: No Solution
Exploring Operation: 39*2=78, Resulting Numbers: [78]
78,33 unequal: No Solution
Exploring Operation: 39+2=41, Resulting Numbers: [41]
41,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,0,0
Current State: 33:[20, 17], Operations: ['60/3=20', '39-22=17']
Exploring Operation: 20-17=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Exploring Operation: 20*17=340, Resulting Numbers: [340]
340,33 unequal: No Solution
Exploring Operation: 20+17=37, Resulting Numbers: [37]
37,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,0,2
Current State: 33:[39, 42], Operations: ['60/3=20', '22+20=42']
Exploring Operation: 39+42=81, Resulting Numbers: [81]
81,33 unequal: No Solution
Exploring Operation: 42-39=3, Resulting Numbers: [3]
3,33 unequal: No Solution
Exploring Operation: 39*42=1638, Resulting Numbers: [1638]
1638,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
No solution found.
| 0 |
hs_3
|
mult_heuristic
|
[
8,
24,
14,
32
] | 54 |
[
"24/8=3",
"32-14=18",
"3*18=54"
] |
Current State: 54:[8, 24, 14, 32], Operations: []
Exploring Operation: 24/8=3, Resulting Numbers: [14, 32, 3]
Generated Node #2: [14, 32, 3] from Operation: 24/8=3
Current State: 54:[14, 32, 3], Operations: ['24/8=3']
Exploring Operation: 32-14=18, Resulting Numbers: [3, 18]
Generated Node #3: [3, 18] from Operation: 32-14=18
Current State: 54:[3, 18], Operations: ['24/8=3', '32-14=18']
Exploring Operation: 3*18=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 |
Current State: 54:[8, 24, 14, 32], Operations: []
Exploring Operation: 32-14=18, Resulting Numbers: [8, 24, 18]
Generated Node #0,0: 54:[8, 24, 18] Operation: 32-14=18
Exploring Operation: 24-14=10, Resulting Numbers: [8, 32, 10]
Generated Node #0,1: 54:[8, 32, 10] Operation: 24-14=10
Exploring Operation: 32-24=8, Resulting Numbers: [8, 14, 8]
Generated Node #0,2: 54:[8, 14, 8] Operation: 32-24=8
Moving to Node #0,0
Current State: 54:[8, 24, 18], Operations: ['32-14=18']
Exploring Operation: 24-8=16, Resulting Numbers: [18, 16]
Generated Node #0,0,0: 54:[18, 16] Operation: 24-8=16
Exploring Operation: 24/8=3, Resulting Numbers: [18, 3]
Generated Node #0,0,1: 54:[18, 3] Operation: 24/8=3
Exploring Operation: 24-18=6, Resulting Numbers: [8, 6]
Generated Node #0,0,2: 54:[8, 6] Operation: 24-18=6
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 54:[18, 3], Operations: ['32-14=18', '24/8=3']
Exploring Operation: 18+3=21, Resulting Numbers: [21]
21,54 unequal: No Solution
Exploring Operation: 18*3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[8, 24, 14, 32], Operations: []
Exploring Operation: 32-14=18, Resulting Numbers: [8, 24, 18]
Generated Node #0,0: 54:[8, 24, 18] Operation: 32-14=18
Moving to Node #0,0
Current State: 54:[8, 24, 18], Operations: ['32-14=18']
Exploring Operation: 24/8=3, Resulting Numbers: [18, 3]
Generated Node #0,0,1: 54:[18, 3] Operation: 24/8=3
Moving to Node #0,0,1
Current State: 54:[18, 3], Operations: ['32-14=18', '24/8=3']
Exploring Operation: 18*3=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 |
hs_3
|
sum_heuristic
|
[
69,
8,
92,
62
] | 93 |
[
"69-8=61",
"92+62=154",
"154-61=93"
] |
Current State: 93:[69, 8, 92, 62], Operations: []
Exploring Operation: 69-8=61, Resulting Numbers: [92, 62, 61]
Generated Node #2: [92, 62, 61] from Operation: 69-8=61
Current State: 93:[92, 62, 61], Operations: ['69-8=61']
Exploring Operation: 92+62=154, Resulting Numbers: [61, 154]
Generated Node #3: [61, 154] from Operation: 92+62=154
Current State: 93:[61, 154], Operations: ['69-8=61', '92+62=154']
Exploring Operation: 154-61=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 |
Current State: 93:[69, 8, 92, 62], Operations: []
Exploring Operation: 92-62=30, Resulting Numbers: [69, 8, 30]
Generated Node #0,0: 93:[69, 8, 30] Operation: 92-62=30
Exploring Operation: 69-62=7, Resulting Numbers: [8, 92, 7]
Generated Node #0,1: 93:[8, 92, 7] Operation: 69-62=7
Exploring Operation: 92-69=23, Resulting Numbers: [8, 62, 23]
Generated Node #0,2: 93:[8, 62, 23] Operation: 92-69=23
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[8, 92, 7], Operations: ['69-62=7']
Exploring Operation: 92+7=99, Resulting Numbers: [8, 99]
Generated Node #0,1,0: 93:[8, 99] Operation: 92+7=99
Exploring Operation: 8-7=1, Resulting Numbers: [92, 1]
Generated Node #0,1,1: 93:[92, 1] Operation: 8-7=1
Exploring Operation: 8+92=100, Resulting Numbers: [7, 100]
Generated Node #0,1,2: 93:[7, 100] Operation: 8+92=100
Moving to Node #0,1,1
Current State: 93:[92, 1], Operations: ['69-62=7', '8-7=1']
Exploring Operation: 92/1=92, Resulting Numbers: [92]
92,93 unequal: No Solution
Exploring Operation: 92*1=92, Resulting Numbers: [92]
92,93 unequal: No Solution
Exploring Operation: 92+1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[69, 8, 92, 62], Operations: []
Exploring Operation: 69-62=7, Resulting Numbers: [8, 92, 7]
Generated Node #0,1: 93:[8, 92, 7] Operation: 69-62=7
Moving to Node #0,1
Current State: 93:[8, 92, 7], Operations: ['69-62=7']
Exploring Operation: 8-7=1, Resulting Numbers: [92, 1]
Generated Node #0,1,1: 93:[92, 1] Operation: 8-7=1
Moving to Node #0,1,1
Current State: 93:[92, 1], Operations: ['69-62=7', '8-7=1']
Exploring Operation: 92+1=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 |
hs_3
|
mult_heuristic
|
[
4,
12,
65,
18
] | 67 |
[
"4+12=16",
"65+18=83",
"83-16=67"
] |
Current State: 67:[4, 12, 65, 18], Operations: []
Exploring Operation: 4+12=16, Resulting Numbers: [65, 18, 16]
Generated Node #2: [65, 18, 16] from Operation: 4+12=16
Current State: 67:[65, 18, 16], Operations: ['4+12=16']
Exploring Operation: 65+18=83, Resulting Numbers: [16, 83]
Generated Node #3: [16, 83] from Operation: 65+18=83
Current State: 67:[16, 83], Operations: ['4+12=16', '65+18=83']
Exploring Operation: 83-16=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 |
Current State: 67:[4, 12, 65, 18], Operations: []
Exploring Operation: 4+12=16, Resulting Numbers: [65, 18, 16]
Generated Node #0,0: 67:[65, 18, 16] Operation: 4+12=16
Exploring Operation: 4*12=48, Resulting Numbers: [65, 18, 48]
Generated Node #0,1: 67:[65, 18, 48] Operation: 4*12=48
Exploring Operation: 4*18=72, Resulting Numbers: [12, 65, 72]
Generated Node #0,2: 67:[12, 65, 72] Operation: 4*18=72
Start Sub Search at level 1: Moving to Node #0,2
Current State: 67:[12, 65, 72], Operations: ['4*18=72']
Exploring Operation: 65-12=53, Resulting Numbers: [72, 53]
Generated Node #0,2,0: 67:[72, 53] Operation: 65-12=53
Exploring Operation: 12+65=77, Resulting Numbers: [72, 77]
Generated Node #0,2,1: 67:[72, 77] Operation: 12+65=77
Exploring Operation: 72-12=60, Resulting Numbers: [65, 60]
Generated Node #0,2,2: 67:[65, 60] Operation: 72-12=60
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 67:[65, 60], Operations: ['4*18=72', '72-12=60']
Exploring Operation: 65+60=125, Resulting Numbers: [125]
125,67 unequal: No Solution
Exploring Operation: 65-60=5, Resulting Numbers: [5]
5,67 unequal: No Solution
Exploring Operation: 65*60=3900, Resulting Numbers: [3900]
3900,67 unequal: No Solution
No 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: 67:[72, 77], Operations: ['4*18=72', '12+65=77']
Exploring Operation: 72+77=149, Resulting Numbers: [149]
149,67 unequal: No Solution
Exploring Operation: 72*77=5544, Resulting Numbers: [5544]
5544,67 unequal: No Solution
Exploring Operation: 77-72=5, Resulting Numbers: [5]
5,67 unequal: No Solution
No 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: 67:[72, 53], Operations: ['4*18=72', '65-12=53']
Exploring Operation: 72*53=3816, Resulting Numbers: [3816]
3816,67 unequal: No Solution
Exploring Operation: 72+53=125, Resulting Numbers: [125]
125,67 unequal: No Solution
Exploring Operation: 72-53=19, Resulting Numbers: [19]
19,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
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[65, 18, 48], Operations: ['4*12=48']
Exploring Operation: 18+48=66, Resulting Numbers: [65, 66]
Generated Node #0,1,0: 67:[65, 66] Operation: 18+48=66
Exploring Operation: 65+18=83, Resulting Numbers: [48, 83]
Generated Node #0,1,1: 67:[48, 83] Operation: 65+18=83
Exploring Operation: 65-18=47, Resulting Numbers: [48, 47]
Generated Node #0,1,2: 67:[48, 47] Operation: 65-18=47
Moving to Node #0,1,0
Current State: 67:[65, 66], Operations: ['4*12=48', '18+48=66']
Exploring Operation: 65*66=4290, Resulting Numbers: [4290]
4290,67 unequal: No Solution
Exploring Operation: 66-65=1, Resulting Numbers: [1]
1,67 unequal: No Solution
Exploring Operation: 65+66=131, Resulting Numbers: [131]
131,67 unequal: No Solution
Moving to Node #0,1,1
Current State: 67:[48, 83], Operations: ['4*12=48', '65+18=83']
Exploring Operation: 83-48=35, Resulting Numbers: [35]
35,67 unequal: No Solution
Exploring Operation: 48+83=131, Resulting Numbers: [131]
131,67 unequal: No Solution
Exploring Operation: 48*83=3984, Resulting Numbers: [3984]
3984,67 unequal: No Solution
Moving to Node #0,1,2
Current State: 67:[48, 47], Operations: ['4*12=48', '65-18=47']
Exploring Operation: 48*47=2256, Resulting Numbers: [2256]
2256,67 unequal: No Solution
Exploring Operation: 48+47=95, Resulting Numbers: [95]
95,67 unequal: No Solution
Exploring Operation: 48-47=1, Resulting Numbers: [1]
1,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[65, 18, 16], Operations: ['4+12=16']
Exploring Operation: 18+16=34, Resulting Numbers: [65, 34]
Generated Node #0,0,0: 67:[65, 34] Operation: 18+16=34
Exploring Operation: 65+16=81, Resulting Numbers: [18, 81]
Generated Node #0,0,1: 67:[18, 81] Operation: 65+16=81
Exploring Operation: 65+18=83, Resulting Numbers: [16, 83]
Generated Node #0,0,2: 67:[16, 83] Operation: 65+18=83
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 67:[65, 34], Operations: ['4+12=16', '18+16=34']
Exploring Operation: 65*34=2210, Resulting Numbers: [2210]
2210,67 unequal: No Solution
Exploring Operation: 65+34=99, Resulting Numbers: [99]
99,67 unequal: No Solution
Exploring Operation: 65-34=31, Resulting Numbers: [31]
31,67 unequal: No Solution
No 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: 67:[18, 81], Operations: ['4+12=16', '65+16=81']
Exploring Operation: 18+81=99, Resulting Numbers: [99]
99,67 unequal: No Solution
Exploring Operation: 81-18=63, Resulting Numbers: [63]
63,67 unequal: No Solution
Exploring Operation: 18*81=1458, Resulting Numbers: [1458]
1458,67 unequal: No Solution
No 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: 67:[16, 83], Operations: ['4+12=16', '65+18=83']
Exploring Operation: 16+83=99, Resulting Numbers: [99]
99,67 unequal: No Solution
Exploring Operation: 16*83=1328, Resulting Numbers: [1328]
1328,67 unequal: No Solution
Exploring Operation: 83-16=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[4, 12, 65, 18], Operations: []
Exploring Operation: 4+12=16, Resulting Numbers: [65, 18, 16]
Generated Node #0,0: 67:[65, 18, 16] Operation: 4+12=16
Moving to Node #0,0
Current State: 67:[65, 18, 16], Operations: ['4+12=16']
Exploring Operation: 65+18=83, Resulting Numbers: [16, 83]
Generated Node #0,0,2: 67:[16, 83] Operation: 65+18=83
Moving to Node #0,0,2
Current State: 67:[16, 83], Operations: ['4+12=16', '65+18=83']
Exploring Operation: 83-16=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.962674 |
hs_3
|
mult_heuristic
|
[
69,
22,
3,
29
] | 59 |
[
"69+22=91",
"3+29=32",
"91-32=59"
] |
Current State: 59:[69, 22, 3, 29], Operations: []
Exploring Operation: 69+22=91, Resulting Numbers: [3, 29, 91]
Generated Node #2: [3, 29, 91] from Operation: 69+22=91
Current State: 59:[3, 29, 91], Operations: ['69+22=91']
Exploring Operation: 3+29=32, Resulting Numbers: [91, 32]
Generated Node #3: [91, 32] from Operation: 3+29=32
Current State: 59:[91, 32], Operations: ['69+22=91', '3+29=32']
Exploring Operation: 91-32=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 |
Current State: 59:[69, 22, 3, 29], Operations: []
Exploring Operation: 22*3=66, Resulting Numbers: [69, 29, 66]
Generated Node #0,0: 59:[69, 29, 66] Operation: 22*3=66
Moving to Node #0,0
Current State: 59:[69, 29, 66], Operations: ['22*3=66']
Exploring Operation: 69-29=40, Resulting Numbers: [66, 40]
Generated Node #0,0,0: 59:[66, 40] Operation: 69-29=40
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 59:[66, 40], Operations: ['22*3=66', '69-29=40']
Exploring Operation: 66-40=26, Resulting Numbers: [26]
26,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
30,
81,
6,
31
] | 10 |
[
"30/6=5",
"81-31=50",
"50/5=10"
] |
Current State: 10:[30, 81, 6, 31], Operations: []
Exploring Operation: 30/6=5, Resulting Numbers: [81, 31, 5]
Generated Node #2: [81, 31, 5] from Operation: 30/6=5
Current State: 10:[81, 31, 5], Operations: ['30/6=5']
Exploring Operation: 81-31=50, Resulting Numbers: [5, 50]
Generated Node #3: [5, 50] from Operation: 81-31=50
Current State: 10:[5, 50], Operations: ['30/6=5', '81-31=50']
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 |
Current State: 10:[30, 81, 6, 31], Operations: []
Exploring Operation: 81-30=51, Resulting Numbers: [6, 31, 51]
Generated Node #0,0: 10:[6, 31, 51] Operation: 81-30=51
Exploring Operation: 81-31=50, Resulting Numbers: [30, 6, 50]
Generated Node #0,1: 10:[30, 6, 50] Operation: 81-31=50
Moving to Node #0,1
Current State: 10:[30, 6, 50], Operations: ['81-31=50']
Exploring Operation: 30/6=5, Resulting Numbers: [50, 5]
Generated Node #0,1,0: 10:[50, 5] Operation: 30/6=5
Exploring Operation: 50-30=20, Resulting Numbers: [6, 20]
Generated Node #0,1,1: 10:[6, 20] Operation: 50-30=20
Moving to Node #0,0
Current State: 10:[6, 31, 51], Operations: ['81-30=51']
Exploring Operation: 51-31=20, Resulting Numbers: [6, 20]
Generated Node #0,0,0: 10:[6, 20] Operation: 51-31=20
Exploring Operation: 31-6=25, Resulting Numbers: [51, 25]
Generated Node #0,0,1: 10:[51, 25] Operation: 31-6=25
Moving to Node #0,1,1
Current State: 10:[6, 20], Operations: ['81-31=50', '50-30=20']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,10 unequal: No Solution
Exploring Operation: 6+20=26, Resulting Numbers: [26]
26,10 unequal: No Solution
Moving to Node #0,0,0
Current State: 10:[6, 20], Operations: ['81-30=51', '51-31=20']
Exploring Operation: 6+20=26, Resulting Numbers: [26]
26,10 unequal: No Solution
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,10 unequal: No Solution
Moving to Node #0,1,0
Current State: 10:[50, 5], Operations: ['81-31=50', '30/6=5']
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[30, 81, 6, 31], Operations: []
Exploring Operation: 81-31=50, Resulting Numbers: [30, 6, 50]
Generated Node #0,1: 10:[30, 6, 50] Operation: 81-31=50
Moving to Node #0,1
Current State: 10:[30, 6, 50], Operations: ['81-31=50']
Exploring Operation: 30/6=5, Resulting Numbers: [50, 5]
Generated Node #0,1,0: 10:[50, 5] Operation: 30/6=5
Moving to Node #0,1,0
Current State: 10:[50, 5], Operations: ['81-31=50', '30/6=5']
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 0.986979 |
hs_2
|
mult_heuristic
|
[
4,
18,
90,
13
] | 69 |
[
"90/18=5",
"13*5=65",
"4+65=69"
] |
Current State: 69:[4, 18, 90, 13], Operations: []
Exploring Operation: 90/18=5, Resulting Numbers: [4, 13, 5]
Generated Node #2: [4, 13, 5] from Operation: 90/18=5
Current State: 69:[4, 13, 5], Operations: ['90/18=5']
Exploring Operation: 13*5=65, Resulting Numbers: [4, 65]
Generated Node #3: [4, 65] from Operation: 13*5=65
Current State: 69:[4, 65], Operations: ['90/18=5', '13*5=65']
Exploring Operation: 4+65=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 |
Current State: 69:[4, 18, 90, 13], Operations: []
Exploring Operation: 90/18=5, Resulting Numbers: [4, 13, 5]
Generated Node #0,0: 69:[4, 13, 5] Operation: 90/18=5
Exploring Operation: 18-13=5, Resulting Numbers: [4, 90, 5]
Generated Node #0,1: 69:[4, 90, 5] Operation: 18-13=5
Exploring Operation: 90-13=77, Resulting Numbers: [4, 18, 77]
Generated Node #0,2: 69:[4, 18, 77] Operation: 90-13=77
Exploring Operation: 90-18=72, Resulting Numbers: [4, 13, 72]
Generated Node #0,3: 69:[4, 13, 72] Operation: 90-18=72
Exploring Operation: 18+13=31, Resulting Numbers: [4, 90, 31]
Generated Node #0,4: 69:[4, 90, 31] Operation: 18+13=31
Moving to Node #0,0
Current State: 69:[4, 13, 5], Operations: ['90/18=5']
Exploring Operation: 13-5=8, Resulting Numbers: [4, 8]
Generated Node #0,0,0: 69:[4, 8] Operation: 13-5=8
Exploring Operation: 13*5=65, Resulting Numbers: [4, 65]
Generated Node #0,0,1: 69:[4, 65] Operation: 13*5=65
Exploring Operation: 4+13=17, Resulting Numbers: [5, 17]
Generated Node #0,0,2: 69:[5, 17] Operation: 4+13=17
Exploring Operation: 13+5=18, Resulting Numbers: [4, 18]
Generated Node #0,0,3: 69:[4, 18] Operation: 13+5=18
Exploring Operation: 13-4=9, Resulting Numbers: [5, 9]
Generated Node #0,0,4: 69:[5, 9] Operation: 13-4=9
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 69:[4, 65], Operations: ['90/18=5', '13*5=65']
Exploring Operation: 4*65=260, Resulting Numbers: [260]
260,69 unequal: No Solution
Exploring Operation: 4+65=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[4, 18, 90, 13], Operations: []
Exploring Operation: 90/18=5, Resulting Numbers: [4, 13, 5]
Generated Node #0,0: 69:[4, 13, 5] Operation: 90/18=5
Moving to Node #0,0
Current State: 69:[4, 13, 5], Operations: ['90/18=5']
Exploring Operation: 13*5=65, Resulting Numbers: [4, 65]
Generated Node #0,0,1: 69:[4, 65] Operation: 13*5=65
Moving to Node #0,0,1
Current State: 69:[4, 65], Operations: ['90/18=5', '13*5=65']
Exploring Operation: 4+65=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 |
hs_5
|
mult_heuristic
|
[
6,
42,
72,
3
] | 96 |
[
"6*3=18",
"42+72=114",
"114-18=96"
] |
Current State: 96:[6, 42, 72, 3], Operations: []
Exploring Operation: 6*3=18, Resulting Numbers: [42, 72, 18]
Generated Node #2: [42, 72, 18] from Operation: 6*3=18
Current State: 96:[42, 72, 18], Operations: ['6*3=18']
Exploring Operation: 42+72=114, Resulting Numbers: [18, 114]
Generated Node #3: [18, 114] from Operation: 42+72=114
Current State: 96:[18, 114], Operations: ['6*3=18', '42+72=114']
Exploring Operation: 114-18=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 |
Current State: 96:[6, 42, 72, 3], Operations: []
Exploring Operation: 72-42=30, Resulting Numbers: [6, 3, 30]
Generated Node #0,0: 96:[6, 3, 30] Operation: 72-42=30
Moving to Node #0,0
Current State: 96:[6, 3, 30], Operations: ['72-42=30']
Exploring Operation: 30-6=24, Resulting Numbers: [3, 24]
Generated Node #0,0,0: 96:[3, 24] Operation: 30-6=24
Moving to Node #0,0,0
Current State: 96:[3, 24], Operations: ['72-42=30', '30-6=24']
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,96 unequal: No Solution
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
45,
72,
22,
32
] | 37 |
[
"72-45=27",
"32-22=10",
"27+10=37"
] |
Current State: 37:[45, 72, 22, 32], Operations: []
Exploring Operation: 72-45=27, Resulting Numbers: [22, 32, 27]
Generated Node #2: [22, 32, 27] from Operation: 72-45=27
Current State: 37:[22, 32, 27], Operations: ['72-45=27']
Exploring Operation: 32-22=10, Resulting Numbers: [27, 10]
Generated Node #3: [27, 10] from Operation: 32-22=10
Current State: 37:[27, 10], Operations: ['72-45=27', '32-22=10']
Exploring Operation: 27+10=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 |
Current State: 37:[45, 72, 22, 32], Operations: []
Exploring Operation: 45-22=23, Resulting Numbers: [72, 32, 23]
Generated Node #0,0: 37:[72, 32, 23] Operation: 45-22=23
Exploring Operation: 72-45=27, Resulting Numbers: [22, 32, 27]
Generated Node #0,1: 37:[22, 32, 27] Operation: 72-45=27
Exploring Operation: 22+32=54, Resulting Numbers: [45, 72, 54]
Generated Node #0,2: 37:[45, 72, 54] Operation: 22+32=54
Exploring Operation: 72-32=40, Resulting Numbers: [45, 22, 40]
Generated Node #0,3: 37:[45, 22, 40] Operation: 72-32=40
Exploring Operation: 72-22=50, Resulting Numbers: [45, 32, 50]
Generated Node #0,4: 37:[45, 32, 50] Operation: 72-22=50
Start Sub Search at level 1: Moving to Node #0,3
Current State: 37:[45, 22, 40], Operations: ['72-32=40']
Exploring Operation: 45+22=67, Resulting Numbers: [40, 67]
Generated Node #0,3,0: 37:[40, 67] Operation: 45+22=67
Exploring Operation: 40-22=18, Resulting Numbers: [45, 18]
Generated Node #0,3,1: 37:[45, 18] Operation: 40-22=18
Exploring Operation: 45-22=23, Resulting Numbers: [40, 23]
Generated Node #0,3,2: 37:[40, 23] Operation: 45-22=23
Exploring Operation: 45-40=5, Resulting Numbers: [22, 5]
Generated Node #0,3,3: 37:[22, 5] Operation: 45-40=5
Exploring Operation: 22+40=62, Resulting Numbers: [45, 62]
Generated Node #0,3,4: 37:[45, 62] Operation: 22+40=62
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 37:[40, 23], Operations: ['72-32=40', '45-22=23']
Exploring Operation: 40+23=63, Resulting Numbers: [63]
63,37 unequal: No Solution
Exploring Operation: 40*23=920, Resulting Numbers: [920]
920,37 unequal: No Solution
Exploring Operation: 40-23=17, Resulting Numbers: [17]
17,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,3,1
Current State: 37:[45, 18], Operations: ['72-32=40', '40-22=18']
Exploring Operation: 45+18=63, Resulting Numbers: [63]
63,37 unequal: No Solution
Exploring Operation: 45-18=27, Resulting Numbers: [27]
27,37 unequal: No Solution
Exploring Operation: 45*18=810, Resulting Numbers: [810]
810,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,3,0
Current State: 37:[40, 67], Operations: ['72-32=40', '45+22=67']
Exploring Operation: 67-40=27, Resulting Numbers: [27]
27,37 unequal: No Solution
Exploring Operation: 40+67=107, Resulting Numbers: [107]
107,37 unequal: No Solution
Exploring Operation: 40*67=2680, Resulting Numbers: [2680]
2680,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,3,4
Current State: 37:[45, 62], Operations: ['72-32=40', '22+40=62']
Exploring Operation: 45+62=107, Resulting Numbers: [107]
107,37 unequal: No Solution
Exploring Operation: 62-45=17, Resulting Numbers: [17]
17,37 unequal: No Solution
Exploring Operation: 45*62=2790, Resulting Numbers: [2790]
2790,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,3,3
Current State: 37:[22, 5], Operations: ['72-32=40', '45-40=5']
Exploring Operation: 22+5=27, Resulting Numbers: [27]
27,37 unequal: No Solution
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,37 unequal: No Solution
Exploring Operation: 22*5=110, Resulting Numbers: [110]
110,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 37:[45, 32, 50], Operations: ['72-22=50']
Exploring Operation: 45+32=77, Resulting Numbers: [50, 77]
Generated Node #0,4,0: 37:[50, 77] Operation: 45+32=77
Exploring Operation: 50-45=5, Resulting Numbers: [32, 5]
Generated Node #0,4,1: 37:[32, 5] Operation: 50-45=5
Exploring Operation: 32+50=82, Resulting Numbers: [45, 82]
Generated Node #0,4,2: 37:[45, 82] Operation: 32+50=82
Exploring Operation: 45-32=13, Resulting Numbers: [50, 13]
Generated Node #0,4,3: 37:[50, 13] Operation: 45-32=13
Exploring Operation: 50-32=18, Resulting Numbers: [45, 18]
Generated Node #0,4,4: 37:[45, 18] Operation: 50-32=18
Moving to Node #0,4,4
Current State: 37:[45, 18], Operations: ['72-22=50', '50-32=18']
Exploring Operation: 45+18=63, Resulting Numbers: [63]
63,37 unequal: No Solution
Exploring Operation: 45-18=27, Resulting Numbers: [27]
27,37 unequal: No Solution
Exploring Operation: 45*18=810, Resulting Numbers: [810]
810,37 unequal: No Solution
Moving to Node #0,4,3
Current State: 37:[50, 13], Operations: ['72-22=50', '45-32=13']
Exploring Operation: 50+13=63, Resulting Numbers: [63]
63,37 unequal: No Solution
Exploring Operation: 50-13=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[45, 72, 22, 32], Operations: []
Exploring Operation: 72-22=50, Resulting Numbers: [45, 32, 50]
Generated Node #0,4: 37:[45, 32, 50] Operation: 72-22=50
Moving to Node #0,4
Current State: 37:[45, 32, 50], Operations: ['72-22=50']
Exploring Operation: 45-32=13, Resulting Numbers: [50, 13]
Generated Node #0,4,3: 37:[50, 13] Operation: 45-32=13
Moving to Node #0,4,3
Current State: 37:[50, 13], Operations: ['72-22=50', '45-32=13']
Exploring Operation: 50-13=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 |
hs_5
|
sum_heuristic
|
[
47,
48,
70,
93
] | 67 |
[
"48+93=141",
"141/47=3",
"70-3=67"
] |
Current State: 67:[47, 48, 70, 93], Operations: []
Exploring Operation: 48+93=141, Resulting Numbers: [47, 70, 141]
Generated Node #2: [47, 70, 141] from Operation: 48+93=141
Current State: 67:[47, 70, 141], Operations: ['48+93=141']
Exploring Operation: 141/47=3, Resulting Numbers: [70, 3]
Generated Node #3: [70, 3] from Operation: 141/47=3
Current State: 67:[70, 3], Operations: ['48+93=141', '141/47=3']
Exploring Operation: 70-3=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 |
Current State: 67:[47, 48, 70, 93], Operations: []
Exploring Operation: 93-48=45, Resulting Numbers: [47, 70, 45]
Generated Node #0,0: 67:[47, 70, 45] Operation: 93-48=45
Exploring Operation: 93-47=46, Resulting Numbers: [48, 70, 46]
Generated Node #0,1: 67:[48, 70, 46] Operation: 93-47=46
Start Sub Search at level 1: Moving to Node #0,1
Current State: 67:[48, 70, 46], Operations: ['93-47=46']
Exploring Operation: 70-46=24, Resulting Numbers: [48, 24]
Generated Node #0,1,0: 67:[48, 24] Operation: 70-46=24
Exploring Operation: 48+46=94, Resulting Numbers: [70, 94]
Generated Node #0,1,1: 67:[70, 94] Operation: 48+46=94
Moving to Node #0,1,1
Current State: 67:[70, 94], Operations: ['93-47=46', '48+46=94']
Exploring Operation: 70+94=164, Resulting Numbers: [164]
164,67 unequal: No Solution
Exploring Operation: 94-70=24, Resulting Numbers: [24]
24,67 unequal: No Solution
Moving to Node #0,1,0
Current State: 67:[48, 24], Operations: ['93-47=46', '70-46=24']
Exploring Operation: 48-24=24, Resulting Numbers: [24]
24,67 unequal: No Solution
Exploring Operation: 48+24=72, Resulting Numbers: [72]
72,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[47, 70, 45], Operations: ['93-48=45']
Exploring Operation: 47+45=92, Resulting Numbers: [70, 92]
Generated Node #0,0,0: 67:[70, 92] Operation: 47+45=92
Exploring Operation: 70-45=25, Resulting Numbers: [47, 25]
Generated Node #0,0,1: 67:[47, 25] Operation: 70-45=25
Moving to Node #0,0,0
Current State: 67:[70, 92], Operations: ['93-48=45', '47+45=92']
Exploring Operation: 70+92=162, Resulting Numbers: [162]
162,67 unequal: No Solution
Exploring Operation: 92-70=22, Resulting Numbers: [22]
22,67 unequal: No Solution
Moving to Node #0,0,1
Current State: 67:[47, 25], Operations: ['93-48=45', '70-45=25']
Exploring Operation: 47-25=22, Resulting Numbers: [22]
22,67 unequal: No Solution
Exploring Operation: 47+25=72, Resulting Numbers: [72]
72,67 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
|
[
95,
9,
78,
80
] | 52 |
[
"95+9=104",
"80-78=2",
"104/2=52"
] |
Current State: 52:[95, 9, 78, 80], Operations: []
Exploring Operation: 95+9=104, Resulting Numbers: [78, 80, 104]
Generated Node #2: [78, 80, 104] from Operation: 95+9=104
Current State: 52:[78, 80, 104], Operations: ['95+9=104']
Exploring Operation: 80-78=2, Resulting Numbers: [104, 2]
Generated Node #3: [104, 2] from Operation: 80-78=2
Current State: 52:[104, 2], Operations: ['95+9=104', '80-78=2']
Exploring Operation: 104/2=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 |
Current State: 52:[95, 9, 78, 80], Operations: []
Exploring Operation: 95-78=17, Resulting Numbers: [9, 80, 17]
Generated Node #0,0: 52:[9, 80, 17] Operation: 95-78=17
Exploring Operation: 95-80=15, Resulting Numbers: [9, 78, 15]
Generated Node #0,1: 52:[9, 78, 15] Operation: 95-80=15
Moving to Node #0,1
Current State: 52:[9, 78, 15], Operations: ['95-80=15']
Exploring Operation: 78-9=69, Resulting Numbers: [15, 69]
Generated Node #0,1,0: 52:[15, 69] Operation: 78-9=69
Exploring Operation: 78-15=63, Resulting Numbers: [9, 63]
Generated Node #0,1,1: 52:[9, 63] Operation: 78-15=63
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 52:[9, 63], Operations: ['95-80=15', '78-15=63']
Exploring Operation: 63-9=54, Resulting Numbers: [54]
54,52 unequal: No Solution
Exploring Operation: 63/9=7, Resulting Numbers: [7]
7,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 52:[15, 69], Operations: ['95-80=15', '78-9=69']
Exploring Operation: 15+69=84, Resulting Numbers: [84]
84,52 unequal: No Solution
Exploring Operation: 69-15=54, Resulting Numbers: [54]
54,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 52:[9, 80, 17], Operations: ['95-78=17']
Exploring Operation: 80-17=63, Resulting Numbers: [9, 63]
Generated Node #0,0,0: 52:[9, 63] Operation: 80-17=63
Exploring Operation: 80-9=71, Resulting Numbers: [17, 71]
Generated Node #0,0,1: 52:[17, 71] Operation: 80-9=71
Moving to Node #0,0,0
Current State: 52:[9, 63], Operations: ['95-78=17', '80-17=63']
Exploring Operation: 63/9=7, Resulting Numbers: [7]
7,52 unequal: No Solution
Exploring Operation: 63-9=54, Resulting Numbers: [54]
54,52 unequal: No Solution
Moving to Node #0,0,1
Current State: 52:[17, 71], Operations: ['95-78=17', '80-9=71']
Exploring Operation: 17+71=88, Resulting Numbers: [88]
88,52 unequal: No Solution
Exploring Operation: 71-17=54, Resulting Numbers: [54]
54,52 unequal: No Solution
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
34,
3,
74,
30
] | 73 |
[
"34-3=31",
"74+30=104",
"104-31=73"
] |
Current State: 73:[34, 3, 74, 30], Operations: []
Exploring Operation: 34-3=31, Resulting Numbers: [74, 30, 31]
Generated Node #2: [74, 30, 31] from Operation: 34-3=31
Current State: 73:[74, 30, 31], Operations: ['34-3=31']
Exploring Operation: 74+30=104, Resulting Numbers: [31, 104]
Generated Node #3: [31, 104] from Operation: 74+30=104
Current State: 73:[31, 104], Operations: ['34-3=31', '74+30=104']
Exploring Operation: 104-31=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 |
Current State: 73:[34, 3, 74, 30], Operations: []
Exploring Operation: 3*30=90, Resulting Numbers: [34, 74, 90]
Generated Node #0,0: 73:[34, 74, 90] Operation: 3*30=90
Moving to Node #0,0
Current State: 73:[34, 74, 90], Operations: ['3*30=90']
Exploring Operation: 90-34=56, Resulting Numbers: [74, 56]
Generated Node #0,0,0: 73:[74, 56] Operation: 90-34=56
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[74, 56], Operations: ['3*30=90', '90-34=56']
Exploring Operation: 74-56=18, Resulting Numbers: [18]
18,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
71,
3,
53,
4
] | 42 |
[
"71-53=18",
"18-4=14",
"3*14=42"
] |
Current State: 42:[71, 3, 53, 4], Operations: []
Exploring Operation: 71-53=18, Resulting Numbers: [3, 4, 18]
Generated Node #2: [3, 4, 18] from Operation: 71-53=18
Current State: 42:[3, 4, 18], Operations: ['71-53=18']
Exploring Operation: 18-4=14, Resulting Numbers: [3, 14]
Generated Node #3: [3, 14] from Operation: 18-4=14
Current State: 42:[3, 14], Operations: ['71-53=18', '18-4=14']
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 |
Current State: 42:[71, 3, 53, 4], Operations: []
Exploring Operation: 71-53=18, Resulting Numbers: [3, 4, 18]
Generated Node #0,0: 42:[3, 4, 18] Operation: 71-53=18
Exploring Operation: 71-4=67, Resulting Numbers: [3, 53, 67]
Generated Node #0,1: 42:[3, 53, 67] Operation: 71-4=67
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[3, 4, 18], Operations: ['71-53=18']
Exploring Operation: 18-4=14, Resulting Numbers: [3, 14]
Generated Node #0,0,0: 42:[3, 14] Operation: 18-4=14
Exploring Operation: 3+18=21, Resulting Numbers: [4, 21]
Generated Node #0,0,1: 42:[4, 21] Operation: 3+18=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 42:[3, 14], Operations: ['71-53=18', '18-4=14']
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[71, 3, 53, 4], Operations: []
Exploring Operation: 71-53=18, Resulting Numbers: [3, 4, 18]
Generated Node #0,0: 42:[3, 4, 18] Operation: 71-53=18
Moving to Node #0,0
Current State: 42:[3, 4, 18], Operations: ['71-53=18']
Exploring Operation: 18-4=14, Resulting Numbers: [3, 14]
Generated Node #0,0,0: 42:[3, 14] Operation: 18-4=14
Moving to Node #0,0,0
Current State: 42:[3, 14], Operations: ['71-53=18', '18-4=14']
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 |
hs_2
|
mult_heuristic
|
[
62,
77,
88,
19
] | 84 |
[
"77-62=15",
"88-19=69",
"15+69=84"
] |
Current State: 84:[62, 77, 88, 19], Operations: []
Exploring Operation: 77-62=15, Resulting Numbers: [88, 19, 15]
Generated Node #2: [88, 19, 15] from Operation: 77-62=15
Current State: 84:[88, 19, 15], Operations: ['77-62=15']
Exploring Operation: 88-19=69, Resulting Numbers: [15, 69]
Generated Node #3: [15, 69] from Operation: 88-19=69
Current State: 84:[15, 69], Operations: ['77-62=15', '88-19=69']
Exploring Operation: 15+69=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 |
Current State: 84:[62, 77, 88, 19], Operations: []
Exploring Operation: 62-19=43, Resulting Numbers: [77, 88, 43]
Generated Node #0,0: 84:[77, 88, 43] Operation: 62-19=43
Exploring Operation: 62+19=81, Resulting Numbers: [77, 88, 81]
Generated Node #0,1: 84:[77, 88, 81] Operation: 62+19=81
Exploring Operation: 77-62=15, Resulting Numbers: [88, 19, 15]
Generated Node #0,2: 84:[88, 19, 15] Operation: 77-62=15
Exploring Operation: 88-62=26, Resulting Numbers: [77, 19, 26]
Generated Node #0,3: 84:[77, 19, 26] Operation: 88-62=26
Start Sub Search at level 1: Moving to Node #0,2
Current State: 84:[88, 19, 15], Operations: ['77-62=15']
Exploring Operation: 88-19=69, Resulting Numbers: [15, 69]
Generated Node #0,2,0: 84:[15, 69] Operation: 88-19=69
Exploring Operation: 19+15=34, Resulting Numbers: [88, 34]
Generated Node #0,2,1: 84:[88, 34] Operation: 19+15=34
Exploring Operation: 19-15=4, Resulting Numbers: [88, 4]
Generated Node #0,2,2: 84:[88, 4] Operation: 19-15=4
Exploring Operation: 88-15=73, Resulting Numbers: [19, 73]
Generated Node #0,2,3: 84:[19, 73] Operation: 88-15=73
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 84:[88, 4], Operations: ['77-62=15', '19-15=4']
Exploring Operation: 88*4=352, Resulting Numbers: [352]
352,84 unequal: No Solution
Exploring Operation: 88-4=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[62, 77, 88, 19], Operations: []
Exploring Operation: 77-62=15, Resulting Numbers: [88, 19, 15]
Generated Node #0,2: 84:[88, 19, 15] Operation: 77-62=15
Moving to Node #0,2
Current State: 84:[88, 19, 15], Operations: ['77-62=15']
Exploring Operation: 19-15=4, Resulting Numbers: [88, 4]
Generated Node #0,2,2: 84:[88, 4] Operation: 19-15=4
Moving to Node #0,2,2
Current State: 84:[88, 4], Operations: ['77-62=15', '19-15=4']
Exploring Operation: 88-4=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 |
hs_4
|
mult_heuristic
|
[
48,
64,
76,
17
] | 68 |
[
"48*17=816",
"76-64=12",
"816/12=68"
] |
Current State: 68:[48, 64, 76, 17], Operations: []
Exploring Operation: 48*17=816, Resulting Numbers: [64, 76, 816]
Generated Node #2: [64, 76, 816] from Operation: 48*17=816
Current State: 68:[64, 76, 816], Operations: ['48*17=816']
Exploring Operation: 76-64=12, Resulting Numbers: [816, 12]
Generated Node #3: [816, 12] from Operation: 76-64=12
Current State: 68:[816, 12], Operations: ['48*17=816', '76-64=12']
Exploring Operation: 816/12=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 |
Current State: 68:[48, 64, 76, 17], Operations: []
Exploring Operation: 76-48=28, Resulting Numbers: [64, 17, 28]
Generated Node #0,0: 68:[64, 17, 28] Operation: 76-48=28
Exploring Operation: 64-48=16, Resulting Numbers: [76, 17, 16]
Generated Node #0,1: 68:[76, 17, 16] Operation: 64-48=16
Moving to Node #0,1
Current State: 68:[76, 17, 16], Operations: ['64-48=16']
Exploring Operation: 17+16=33, Resulting Numbers: [76, 33]
Generated Node #0,1,0: 68:[76, 33] Operation: 17+16=33
Exploring Operation: 76-16=60, Resulting Numbers: [17, 60]
Generated Node #0,1,1: 68:[17, 60] Operation: 76-16=60
Moving to Node #0,0
Current State: 68:[64, 17, 28], Operations: ['76-48=28']
Exploring Operation: 64-28=36, Resulting Numbers: [17, 36]
Generated Node #0,0,0: 68:[17, 36] Operation: 64-28=36
Exploring Operation: 28-17=11, Resulting Numbers: [64, 11]
Generated Node #0,0,1: 68:[64, 11] Operation: 28-17=11
Moving to Node #0,0,0
Current State: 68:[17, 36], Operations: ['76-48=28', '64-28=36']
Exploring Operation: 17+36=53, Resulting Numbers: [53]
53,68 unequal: No Solution
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,68 unequal: No Solution
Moving to Node #0,1,1
Current State: 68:[17, 60], Operations: ['64-48=16', '76-16=60']
Exploring Operation: 17+60=77, Resulting Numbers: [77]
77,68 unequal: No Solution
Exploring Operation: 60-17=43, Resulting Numbers: [43]
43,68 unequal: No Solution
Moving to Node #0,1,0
Current State: 68:[76, 33], Operations: ['64-48=16', '17+16=33']
Exploring Operation: 76+33=109, Resulting Numbers: [109]
109,68 unequal: No Solution
Exploring Operation: 76-33=43, Resulting Numbers: [43]
43,68 unequal: No Solution
Moving to Node #0,0,1
Current State: 68:[64, 11], Operations: ['76-48=28', '28-17=11']
Exploring Operation: 64-11=53, Resulting Numbers: [53]
53,68 unequal: No Solution
Exploring Operation: 64+11=75, Resulting Numbers: [75]
75,68 unequal: No Solution
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
4,
39,
9,
2
] | 96 |
[
"4-2=2",
"39+9=48",
"2*48=96"
] |
Current State: 96:[4, 39, 9, 2], Operations: []
Exploring Operation: 4-2=2, Resulting Numbers: [39, 9, 2]
Generated Node #2: [39, 9, 2] from Operation: 4-2=2
Current State: 96:[39, 9, 2], Operations: ['4-2=2']
Exploring Operation: 39+9=48, Resulting Numbers: [2, 48]
Generated Node #3: [2, 48] from Operation: 39+9=48
Current State: 96:[2, 48], Operations: ['4-2=2', '39+9=48']
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 |
Current State: 96:[4, 39, 9, 2], Operations: []
Exploring Operation: 39+9=48, Resulting Numbers: [4, 2, 48]
Generated Node #0,0: 96:[4, 2, 48] Operation: 39+9=48
Exploring Operation: 39-2=37, Resulting Numbers: [4, 9, 37]
Generated Node #0,1: 96:[4, 9, 37] Operation: 39-2=37
Exploring Operation: 39-4=35, Resulting Numbers: [9, 2, 35]
Generated Node #0,2: 96:[9, 2, 35] Operation: 39-4=35
Exploring Operation: 4+39=43, Resulting Numbers: [9, 2, 43]
Generated Node #0,3: 96:[9, 2, 43] Operation: 4+39=43
Exploring Operation: 39-9=30, Resulting Numbers: [4, 2, 30]
Generated Node #0,4: 96:[4, 2, 30] Operation: 39-9=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[4, 2, 48], Operations: ['39+9=48']
Exploring Operation: 4*2=8, Resulting Numbers: [48, 8]
Generated Node #0,0,0: 96:[48, 8] Operation: 4*2=8
Exploring Operation: 48/4=12, Resulting Numbers: [2, 12]
Generated Node #0,0,1: 96:[2, 12] Operation: 48/4=12
Exploring Operation: 4+2=6, Resulting Numbers: [48, 6]
Generated Node #0,0,2: 96:[48, 6] Operation: 4+2=6
Exploring Operation: 4/2=2, Resulting Numbers: [48, 2]
Generated Node #0,0,3: 96:[48, 2] Operation: 4/2=2
Exploring Operation: 4-2=2, Resulting Numbers: [48, 2]
Generated Node #0,0,4: 96:[48, 2] Operation: 4-2=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 96:[48, 8], Operations: ['39+9=48', '4*2=8']
Exploring Operation: 48/8=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Exploring Operation: 48-8=40, Resulting Numbers: [40]
40,96 unequal: No Solution
Exploring Operation: 48+8=56, Resulting Numbers: [56]
56,96 unequal: No Solution
Exploring Operation: 48*8=384, Resulting Numbers: [384]
384,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 96:[2, 12], Operations: ['39+9=48', '48/4=12']
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,96 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 96:[48, 6], Operations: ['39+9=48', '4+2=6']
Exploring Operation: 48*6=288, Resulting Numbers: [288]
288,96 unequal: No Solution
Exploring Operation: 48+6=54, Resulting Numbers: [54]
54,96 unequal: No Solution
Exploring Operation: 48/6=8, Resulting Numbers: [8]
8,96 unequal: No Solution
Exploring Operation: 48-6=42, Resulting Numbers: [42]
42,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 96:[48, 2], Operations: ['39+9=48', '4/2=2']
Exploring Operation: 48/2=24, Resulting Numbers: [24]
24,96 unequal: No Solution
Exploring Operation: 48+2=50, Resulting Numbers: [50]
50,96 unequal: No Solution
Exploring Operation: 48-2=46, Resulting Numbers: [46]
46,96 unequal: No Solution
Exploring Operation: 48*2=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[4, 39, 9, 2], Operations: []
Exploring Operation: 39+9=48, Resulting Numbers: [4, 2, 48]
Generated Node #0,0: 96:[4, 2, 48] Operation: 39+9=48
Moving to Node #0,0
Current State: 96:[4, 2, 48], Operations: ['39+9=48']
Exploring Operation: 4/2=2, Resulting Numbers: [48, 2]
Generated Node #0,0,3: 96:[48, 2] Operation: 4/2=2
Moving to Node #0,0,3
Current State: 96:[48, 2], Operations: ['39+9=48', '4/2=2']
Exploring Operation: 48*2=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.973958 |
hs_5
|
mult_heuristic
|
[
71,
96,
63,
72
] | 21 |
[
"71-63=8",
"96+72=168",
"168/8=21"
] |
Current State: 21:[71, 96, 63, 72], Operations: []
Exploring Operation: 71-63=8, Resulting Numbers: [96, 72, 8]
Generated Node #2: [96, 72, 8] from Operation: 71-63=8
Current State: 21:[96, 72, 8], Operations: ['71-63=8']
Exploring Operation: 96+72=168, Resulting Numbers: [8, 168]
Generated Node #3: [8, 168] from Operation: 96+72=168
Current State: 21:[8, 168], Operations: ['71-63=8', '96+72=168']
Exploring Operation: 168/8=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 |
Current State: 21:[71, 96, 63, 72], Operations: []
Exploring Operation: 96-71=25, Resulting Numbers: [63, 72, 25]
Generated Node #0,0: 21:[63, 72, 25] Operation: 96-71=25
Exploring Operation: 96-72=24, Resulting Numbers: [71, 63, 24]
Generated Node #0,1: 21:[71, 63, 24] Operation: 96-72=24
Moving to Node #0,1
Current State: 21:[71, 63, 24], Operations: ['96-72=24']
Exploring Operation: 71-24=47, Resulting Numbers: [63, 47]
Generated Node #0,1,0: 21:[63, 47] Operation: 71-24=47
Exploring Operation: 71-63=8, Resulting Numbers: [24, 8]
Generated Node #0,1,1: 21:[24, 8] Operation: 71-63=8
Moving to Node #0,0
Current State: 21:[63, 72, 25], Operations: ['96-71=25']
Exploring Operation: 72-63=9, Resulting Numbers: [25, 9]
Generated Node #0,0,0: 21:[25, 9] Operation: 72-63=9
Exploring Operation: 63-25=38, Resulting Numbers: [72, 38]
Generated Node #0,0,1: 21:[72, 38] Operation: 63-25=38
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 21:[25, 9], Operations: ['96-71=25', '72-63=9']
Exploring Operation: 25+9=34, Resulting Numbers: [34]
34,21 unequal: No Solution
Exploring Operation: 25-9=16, Resulting Numbers: [16]
16,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 21:[72, 38], Operations: ['96-71=25', '63-25=38']
Exploring Operation: 72+38=110, Resulting Numbers: [110]
110,21 unequal: No Solution
Exploring Operation: 72-38=34, Resulting Numbers: [34]
34,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 21:[24, 8], Operations: ['96-72=24', '71-63=8']
Exploring Operation: 24-8=16, Resulting Numbers: [16]
16,21 unequal: No Solution
Exploring Operation: 24/8=3, Resulting Numbers: [3]
3,21 unequal: No Solution
Moving to Node #0,1,0
Current State: 21:[63, 47], Operations: ['96-72=24', '71-24=47']
Exploring Operation: 63-47=16, Resulting Numbers: [16]
16,21 unequal: No Solution
Exploring Operation: 63+47=110, Resulting Numbers: [110]
110,21 unequal: No Solution
No solution found.
| 0 |
hs_2
|
sum_heuristic
|
[
72,
22,
75,
34
] | 69 |
[
"34-22=12",
"72/12=6",
"75-6=69"
] |
Current State: 69:[72, 22, 75, 34], Operations: []
Exploring Operation: 34-22=12, Resulting Numbers: [72, 75, 12]
Generated Node #2: [72, 75, 12] from Operation: 34-22=12
Current State: 69:[72, 75, 12], Operations: ['34-22=12']
Exploring Operation: 72/12=6, Resulting Numbers: [75, 6]
Generated Node #3: [75, 6] from Operation: 72/12=6
Current State: 69:[75, 6], Operations: ['34-22=12', '72/12=6']
Exploring Operation: 75-6=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 |
Current State: 69:[72, 22, 75, 34], Operations: []
Exploring Operation: 75-72=3, Resulting Numbers: [22, 34, 3]
Generated Node #0,0: 69:[22, 34, 3] Operation: 75-72=3
Exploring Operation: 34-22=12, Resulting Numbers: [72, 75, 12]
Generated Node #0,1: 69:[72, 75, 12] Operation: 34-22=12
Start Sub Search at level 1: Moving to Node #0,0
Current State: 69:[22, 34, 3], Operations: ['75-72=3']
Exploring Operation: 34-3=31, Resulting Numbers: [22, 31]
Generated Node #0,0,0: 69:[22, 31] Operation: 34-3=31
Exploring Operation: 34-22=12, Resulting Numbers: [3, 12]
Generated Node #0,0,1: 69:[3, 12] Operation: 34-22=12
Moving to Node #0,0,0
Current State: 69:[22, 31], Operations: ['75-72=3', '34-3=31']
Exploring Operation: 31-22=9, Resulting Numbers: [9]
9,69 unequal: No Solution
Exploring Operation: 22+31=53, Resulting Numbers: [53]
53,69 unequal: No Solution
Moving to Node #0,0,1
Current State: 69:[3, 12], Operations: ['75-72=3', '34-22=12']
Exploring Operation: 12/3=4, Resulting Numbers: [4]
4,69 unequal: No Solution
Exploring Operation: 12-3=9, Resulting Numbers: [9]
9,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[72, 75, 12], Operations: ['34-22=12']
Exploring Operation: 72/12=6, Resulting Numbers: [75, 6]
Generated Node #0,1,0: 69:[75, 6] Operation: 72/12=6
Exploring Operation: 75-72=3, Resulting Numbers: [12, 3]
Generated Node #0,1,1: 69:[12, 3] Operation: 75-72=3
Moving to Node #0,1,0
Current State: 69:[75, 6], Operations: ['34-22=12', '72/12=6']
Exploring Operation: 75-6=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[72, 22, 75, 34], Operations: []
Exploring Operation: 34-22=12, Resulting Numbers: [72, 75, 12]
Generated Node #0,1: 69:[72, 75, 12] Operation: 34-22=12
Moving to Node #0,1
Current State: 69:[72, 75, 12], Operations: ['34-22=12']
Exploring Operation: 72/12=6, Resulting Numbers: [75, 6]
Generated Node #0,1,0: 69:[75, 6] Operation: 72/12=6
Moving to Node #0,1,0
Current State: 69:[75, 6], Operations: ['34-22=12', '72/12=6']
Exploring Operation: 75-6=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 |
hs_2
|
mult_heuristic
|
[
44,
6,
44,
62
] | 69 |
[
"44/44=1",
"6+62=68",
"1+68=69"
] |
Current State: 69:[44, 6, 44, 62], Operations: []
Exploring Operation: 44/44=1, Resulting Numbers: [6, 62, 1]
Generated Node #2: [6, 62, 1] from Operation: 44/44=1
Current State: 69:[6, 62, 1], Operations: ['44/44=1']
Exploring Operation: 6+62=68, Resulting Numbers: [1, 68]
Generated Node #3: [1, 68] from Operation: 6+62=68
Current State: 69:[1, 68], Operations: ['44/44=1', '6+62=68']
Exploring Operation: 1+68=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 |
Current State: 69:[44, 6, 44, 62], Operations: []
Exploring Operation: 44-44=0, Resulting Numbers: [6, 62, 0]
Generated Node #0,0: 69:[6, 62, 0] Operation: 44-44=0
Exploring Operation: 62-44=18, Resulting Numbers: [6, 44, 18]
Generated Node #0,1: 69:[6, 44, 18] Operation: 62-44=18
Exploring Operation: 44+44=88, Resulting Numbers: [6, 62, 88]
Generated Node #0,2: 69:[6, 62, 88] Operation: 44+44=88
Exploring Operation: 44/44=1, Resulting Numbers: [6, 62, 1]
Generated Node #0,3: 69:[6, 62, 1] Operation: 44/44=1
Start Sub Search at level 1: Moving to Node #0,3
Current State: 69:[6, 62, 1], Operations: ['44/44=1']
Exploring Operation: 62+1=63, Resulting Numbers: [6, 63]
Generated Node #0,3,0: 69:[6, 63] Operation: 62+1=63
Exploring Operation: 6-1=5, Resulting Numbers: [62, 5]
Generated Node #0,3,1: 69:[62, 5] Operation: 6-1=5
Exploring Operation: 6*1=6, Resulting Numbers: [62, 6]
Generated Node #0,3,2: 69:[62, 6] Operation: 6*1=6
Exploring Operation: 6+62=68, Resulting Numbers: [1, 68]
Generated Node #0,3,3: 69:[1, 68] Operation: 6+62=68
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 69:[1, 68], Operations: ['44/44=1', '6+62=68']
Exploring Operation: 68-1=67, Resulting Numbers: [67]
67,69 unequal: No Solution
Exploring Operation: 1+68=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[44, 6, 44, 62], Operations: []
Exploring Operation: 44/44=1, Resulting Numbers: [6, 62, 1]
Generated Node #0,3: 69:[6, 62, 1] Operation: 44/44=1
Moving to Node #0,3
Current State: 69:[6, 62, 1], Operations: ['44/44=1']
Exploring Operation: 6+62=68, Resulting Numbers: [1, 68]
Generated Node #0,3,3: 69:[1, 68] Operation: 6+62=68
Moving to Node #0,3,3
Current State: 69:[1, 68], Operations: ['44/44=1', '6+62=68']
Exploring Operation: 1+68=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 |
hs_4
|
mult_heuristic
|
[
1,
73,
16,
86
] | 30 |
[
"73-1=72",
"16+86=102",
"102-72=30"
] |
Current State: 30:[1, 73, 16, 86], Operations: []
Exploring Operation: 73-1=72, Resulting Numbers: [16, 86, 72]
Generated Node #2: [16, 86, 72] from Operation: 73-1=72
Current State: 30:[16, 86, 72], Operations: ['73-1=72']
Exploring Operation: 16+86=102, Resulting Numbers: [72, 102]
Generated Node #3: [72, 102] from Operation: 16+86=102
Current State: 30:[72, 102], Operations: ['73-1=72', '16+86=102']
Exploring Operation: 102-72=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 |
Current State: 30:[1, 73, 16, 86], Operations: []
Exploring Operation: 86-73=13, Resulting Numbers: [1, 16, 13]
Generated Node #0,0: 30:[1, 16, 13] Operation: 86-73=13
Moving to Node #0,0
Current State: 30:[1, 16, 13], Operations: ['86-73=13']
Exploring Operation: 16-13=3, Resulting Numbers: [1, 3]
Generated Node #0,0,0: 30:[1, 3] Operation: 16-13=3
Moving to Node #0,0,0
Current State: 30:[1, 3], Operations: ['86-73=13', '16-13=3']
Exploring Operation: 1*3=3, Resulting Numbers: [3]
3,30 unequal: No Solution
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
66,
58,
76,
6
] | 42 |
[
"66+58=124",
"76+6=82",
"124-82=42"
] |
Current State: 42:[66, 58, 76, 6], Operations: []
Exploring Operation: 66+58=124, Resulting Numbers: [76, 6, 124]
Generated Node #2: [76, 6, 124] from Operation: 66+58=124
Current State: 42:[76, 6, 124], Operations: ['66+58=124']
Exploring Operation: 76+6=82, Resulting Numbers: [124, 82]
Generated Node #3: [124, 82] from Operation: 76+6=82
Current State: 42:[124, 82], Operations: ['66+58=124', '76+6=82']
Exploring Operation: 124-82=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 |
Current State: 42:[66, 58, 76, 6], Operations: []
Exploring Operation: 66-58=8, Resulting Numbers: [76, 6, 8]
Generated Node #0,0: 42:[76, 6, 8] Operation: 66-58=8
Exploring Operation: 76-58=18, Resulting Numbers: [66, 6, 18]
Generated Node #0,1: 42:[66, 6, 18] Operation: 76-58=18
Exploring Operation: 66/6=11, Resulting Numbers: [58, 76, 11]
Generated Node #0,2: 42:[58, 76, 11] Operation: 66/6=11
Exploring Operation: 76-66=10, Resulting Numbers: [58, 6, 10]
Generated Node #0,3: 42:[58, 6, 10] Operation: 76-66=10
Moving to Node #0,3
Current State: 42:[58, 6, 10], Operations: ['76-66=10']
Exploring Operation: 58-6=52, Resulting Numbers: [10, 52]
Generated Node #0,3,0: 42:[10, 52] Operation: 58-6=52
Exploring Operation: 10-6=4, Resulting Numbers: [58, 4]
Generated Node #0,3,1: 42:[58, 4] Operation: 10-6=4
Exploring Operation: 58-10=48, Resulting Numbers: [6, 48]
Generated Node #0,3,2: 42:[6, 48] Operation: 58-10=48
Exploring Operation: 6+10=16, Resulting Numbers: [58, 16]
Generated Node #0,3,3: 42:[58, 16] Operation: 6+10=16
Moving to Node #0,1
Current State: 42:[66, 6, 18], Operations: ['76-58=18']
Exploring Operation: 66/6=11, Resulting Numbers: [18, 11]
Generated Node #0,1,0: 42:[18, 11] Operation: 66/6=11
Exploring Operation: 66-18=48, Resulting Numbers: [6, 48]
Generated Node #0,1,1: 42:[6, 48] Operation: 66-18=48
Exploring Operation: 66-6=60, Resulting Numbers: [18, 60]
Generated Node #0,1,2: 42:[18, 60] Operation: 66-6=60
Exploring Operation: 18/6=3, Resulting Numbers: [66, 3]
Generated Node #0,1,3: 42:[66, 3] Operation: 18/6=3
Moving to Node #0,0
Current State: 42:[76, 6, 8], Operations: ['66-58=8']
Exploring Operation: 8-6=2, Resulting Numbers: [76, 2]
Generated Node #0,0,0: 42:[76, 2] Operation: 8-6=2
Exploring Operation: 76-8=68, Resulting Numbers: [6, 68]
Generated Node #0,0,1: 42:[6, 68] Operation: 76-8=68
Exploring Operation: 6+8=14, Resulting Numbers: [76, 14]
Generated Node #0,0,2: 42:[76, 14] Operation: 6+8=14
Exploring Operation: 76-6=70, Resulting Numbers: [8, 70]
Generated Node #0,0,3: 42:[8, 70] Operation: 76-6=70
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 42:[6, 68], Operations: ['66-58=8', '76-8=68']
Exploring Operation: 6*68=408, Resulting Numbers: [408]
408,42 unequal: No Solution
Exploring Operation: 68-6=62, Resulting Numbers: [62]
62,42 unequal: No Solution
Exploring Operation: 6+68=74, Resulting Numbers: [74]
74,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 42:[8, 70], Operations: ['66-58=8', '76-6=70']
Exploring Operation: 8*70=560, Resulting Numbers: [560]
560,42 unequal: No Solution
Exploring Operation: 8+70=78, Resulting Numbers: [78]
78,42 unequal: No Solution
Exploring Operation: 70-8=62, Resulting Numbers: [62]
62,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 42:[76, 2], Operations: ['66-58=8', '8-6=2']
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,42 unequal: No Solution
Exploring Operation: 76*2=152, Resulting Numbers: [152]
152,42 unequal: No Solution
Exploring Operation: 76+2=78, Resulting Numbers: [78]
78,42 unequal: No Solution
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 42:[76, 14], Operations: ['66-58=8', '6+8=14']
Exploring Operation: 76-14=62, Resulting Numbers: [62]
62,42 unequal: No Solution
Exploring Operation: 76+14=90, Resulting Numbers: [90]
90,42 unequal: No Solution
Exploring Operation: 76*14=1064, Resulting Numbers: [1064]
1064,42 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: 42:[58, 76, 11], Operations: ['66/6=11']
Exploring Operation: 58+11=69, Resulting Numbers: [76, 69]
Generated Node #0,2,0: 42:[76, 69] Operation: 58+11=69
Exploring Operation: 58-11=47, Resulting Numbers: [76, 47]
Generated Node #0,2,1: 42:[76, 47] Operation: 58-11=47
Exploring Operation: 76-11=65, Resulting Numbers: [58, 65]
Generated Node #0,2,2: 42:[58, 65] Operation: 76-11=65
Exploring Operation: 76-58=18, Resulting Numbers: [11, 18]
Generated Node #0,2,3: 42:[11, 18] Operation: 76-58=18
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 42:[11, 18], Operations: ['66/6=11', '76-58=18']
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,42 unequal: No Solution
Exploring Operation: 11*18=198, Resulting Numbers: [198]
198,42 unequal: No Solution
Exploring Operation: 11+18=29, Resulting Numbers: [29]
29,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 42:[76, 47], Operations: ['66/6=11', '58-11=47']
Exploring Operation: 76+47=123, Resulting Numbers: [123]
123,42 unequal: No Solution
Exploring Operation: 76*47=3572, Resulting Numbers: [3572]
3572,42 unequal: No Solution
Exploring Operation: 76-47=29, Resulting Numbers: [29]
29,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 42:[58, 65], Operations: ['66/6=11', '76-11=65']
Exploring Operation: 58+65=123, Resulting Numbers: [123]
123,42 unequal: No Solution
Exploring Operation: 58*65=3770, Resulting Numbers: [3770]
3770,42 unequal: No Solution
Exploring Operation: 65-58=7, Resulting Numbers: [7]
7,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 42:[76, 69], Operations: ['66/6=11', '58+11=69']
Exploring Operation: 76-69=7, Resulting Numbers: [7]
7,42 unequal: No Solution
Exploring Operation: 76*69=5244, Resulting Numbers: [5244]
5244,42 unequal: No Solution
Exploring Operation: 76+69=145, Resulting Numbers: [145]
145,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,2
Current State: 42:[6, 48], Operations: ['76-66=10', '58-10=48']
Exploring Operation: 6*48=288, Resulting Numbers: [288]
288,42 unequal: No Solution
Exploring Operation: 6+48=54, Resulting Numbers: [54]
54,42 unequal: No Solution
Exploring Operation: 48/6=8, Resulting Numbers: [8]
8,42 unequal: No Solution
Exploring Operation: 48-6=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[66, 58, 76, 6], Operations: []
Exploring Operation: 76-66=10, Resulting Numbers: [58, 6, 10]
Generated Node #0,3: 42:[58, 6, 10] Operation: 76-66=10
Moving to Node #0,3
Current State: 42:[58, 6, 10], Operations: ['76-66=10']
Exploring Operation: 58-10=48, Resulting Numbers: [6, 48]
Generated Node #0,3,2: 42:[6, 48] Operation: 58-10=48
Moving to Node #0,3,2
Current State: 42:[6, 48], Operations: ['76-66=10', '58-10=48']
Exploring Operation: 48-6=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 0.953993 |
hs_4
|
sum_heuristic
|
[
75,
17,
65,
6
] | 42 |
[
"75-17=58",
"65-58=7",
"6*7=42"
] |
Current State: 42:[75, 17, 65, 6], Operations: []
Exploring Operation: 75-17=58, Resulting Numbers: [65, 6, 58]
Generated Node #2: [65, 6, 58] from Operation: 75-17=58
Current State: 42:[65, 6, 58], Operations: ['75-17=58']
Exploring Operation: 65-58=7, Resulting Numbers: [6, 7]
Generated Node #3: [6, 7] from Operation: 65-58=7
Current State: 42:[6, 7], Operations: ['75-17=58', '65-58=7']
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 |
Current State: 42:[75, 17, 65, 6], Operations: []
Exploring Operation: 75-65=10, Resulting Numbers: [17, 6, 10]
Generated Node #0,0: 42:[17, 6, 10] Operation: 75-65=10
Exploring Operation: 75-17=58, Resulting Numbers: [65, 6, 58]
Generated Node #0,1: 42:[65, 6, 58] Operation: 75-17=58
Exploring Operation: 65-17=48, Resulting Numbers: [75, 6, 48]
Generated Node #0,2: 42:[75, 6, 48] Operation: 65-17=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[17, 6, 10], Operations: ['75-65=10']
Exploring Operation: 17-10=7, Resulting Numbers: [6, 7]
Generated Node #0,0,0: 42:[6, 7] Operation: 17-10=7
Exploring Operation: 17+6=23, Resulting Numbers: [10, 23]
Generated Node #0,0,1: 42:[10, 23] Operation: 17+6=23
Exploring Operation: 10-6=4, Resulting Numbers: [17, 4]
Generated Node #0,0,2: 42:[17, 4] Operation: 10-6=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 42:[6, 7], Operations: ['75-65=10', '17-10=7']
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,42 unequal: No Solution
Exploring Operation: 6+7=13, Resulting Numbers: [13]
13,42 unequal: No Solution
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[75, 17, 65, 6], Operations: []
Exploring Operation: 75-65=10, Resulting Numbers: [17, 6, 10]
Generated Node #0,0: 42:[17, 6, 10] Operation: 75-65=10
Moving to Node #0,0
Current State: 42:[17, 6, 10], Operations: ['75-65=10']
Exploring Operation: 17-10=7, Resulting Numbers: [6, 7]
Generated Node #0,0,0: 42:[6, 7] Operation: 17-10=7
Moving to Node #0,0,0
Current State: 42:[6, 7], Operations: ['75-65=10', '17-10=7']
Exploring Operation: 6*7=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 |
hs_3
|
mult_heuristic
|
[
4,
77,
44,
83
] | 20 |
[
"83-77=6",
"4*6=24",
"44-24=20"
] |
Current State: 20:[4, 77, 44, 83], Operations: []
Exploring Operation: 83-77=6, Resulting Numbers: [4, 44, 6]
Generated Node #2: [4, 44, 6] from Operation: 83-77=6
Current State: 20:[4, 44, 6], Operations: ['83-77=6']
Exploring Operation: 4*6=24, Resulting Numbers: [44, 24]
Generated Node #3: [44, 24] from Operation: 4*6=24
Current State: 20:[44, 24], Operations: ['83-77=6', '4*6=24']
Exploring Operation: 44-24=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 |
Current State: 20:[4, 77, 44, 83], Operations: []
Exploring Operation: 83-77=6, Resulting Numbers: [4, 44, 6]
Generated Node #0,0: 20:[4, 44, 6] Operation: 83-77=6
Exploring Operation: 83-44=39, Resulting Numbers: [4, 77, 39]
Generated Node #0,1: 20:[4, 77, 39] Operation: 83-44=39
Exploring Operation: 77-44=33, Resulting Numbers: [4, 83, 33]
Generated Node #0,2: 20:[4, 83, 33] Operation: 77-44=33
Moving to Node #0,0
Current State: 20:[4, 44, 6], Operations: ['83-77=6']
Exploring Operation: 44/4=11, Resulting Numbers: [6, 11]
Generated Node #0,0,0: 20:[6, 11] Operation: 44/4=11
Exploring Operation: 44-6=38, Resulting Numbers: [4, 38]
Generated Node #0,0,1: 20:[4, 38] Operation: 44-6=38
Exploring Operation: 44-4=40, Resulting Numbers: [6, 40]
Generated Node #0,0,2: 20:[6, 40] Operation: 44-4=40
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 20:[6, 11], Operations: ['83-77=6', '44/4=11']
Exploring Operation: 11-6=5, Resulting Numbers: [5]
5,20 unequal: No Solution
Exploring Operation: 6+11=17, Resulting Numbers: [17]
17,20 unequal: No Solution
Exploring Operation: 6*11=66, Resulting Numbers: [66]
66,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 20:[4, 38], Operations: ['83-77=6', '44-6=38']
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,20 unequal: No Solution
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,20 unequal: No Solution
Exploring Operation: 4*38=152, Resulting Numbers: [152]
152,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 20:[6, 40], Operations: ['83-77=6', '44-4=40']
Exploring Operation: 6*40=240, Resulting Numbers: [240]
240,20 unequal: No Solution
Exploring Operation: 6+40=46, Resulting Numbers: [46]
46,20 unequal: No Solution
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,20 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: 20:[4, 77, 39], Operations: ['83-44=39']
Exploring Operation: 77-39=38, Resulting Numbers: [4, 38]
Generated Node #0,1,0: 20:[4, 38] Operation: 77-39=38
Exploring Operation: 39-4=35, Resulting Numbers: [77, 35]
Generated Node #0,1,1: 20:[77, 35] Operation: 39-4=35
Exploring Operation: 77-4=73, Resulting Numbers: [39, 73]
Generated Node #0,1,2: 20:[39, 73] Operation: 77-4=73
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 20:[4, 38], Operations: ['83-44=39', '77-39=38']
Exploring Operation: 4*38=152, Resulting Numbers: [152]
152,20 unequal: No Solution
Exploring Operation: 4+38=42, Resulting Numbers: [42]
42,20 unequal: No Solution
Exploring Operation: 38-4=34, Resulting Numbers: [34]
34,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 20:[77, 35], Operations: ['83-44=39', '39-4=35']
Exploring Operation: 77*35=2695, Resulting Numbers: [2695]
2695,20 unequal: No Solution
Exploring Operation: 77+35=112, Resulting Numbers: [112]
112,20 unequal: No Solution
Exploring Operation: 77-35=42, Resulting Numbers: [42]
42,20 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 20:[39, 73], Operations: ['83-44=39', '77-4=73']
Exploring Operation: 39*73=2847, Resulting Numbers: [2847]
2847,20 unequal: No Solution
Exploring Operation: 73-39=34, Resulting Numbers: [34]
34,20 unequal: No Solution
Exploring Operation: 39+73=112, Resulting Numbers: [112]
112,20 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: 20:[4, 83, 33], Operations: ['77-44=33']
Exploring Operation: 83-33=50, Resulting Numbers: [4, 50]
Generated Node #0,2,0: 20:[4, 50] Operation: 83-33=50
Exploring Operation: 83-4=79, Resulting Numbers: [33, 79]
Generated Node #0,2,1: 20:[33, 79] Operation: 83-4=79
Exploring Operation: 33-4=29, Resulting Numbers: [83, 29]
Generated Node #0,2,2: 20:[83, 29] Operation: 33-4=29
Moving to Node #0,2,0
Current State: 20:[4, 50], Operations: ['77-44=33', '83-33=50']
Exploring Operation: 4+50=54, Resulting Numbers: [54]
54,20 unequal: No Solution
Exploring Operation: 4*50=200, Resulting Numbers: [200]
200,20 unequal: No Solution
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,20 unequal: No Solution
Moving to Node #0,2,1
Current State: 20:[33, 79], Operations: ['77-44=33', '83-4=79']
Exploring Operation: 33*79=2607, Resulting Numbers: [2607]
2607,20 unequal: No Solution
Exploring Operation: 33+79=112, Resulting Numbers: [112]
112,20 unequal: No Solution
Exploring Operation: 79-33=46, Resulting Numbers: [46]
46,20 unequal: No Solution
Moving to Node #0,2,2
Current State: 20:[83, 29], Operations: ['77-44=33', '33-4=29']
Exploring Operation: 83+29=112, Resulting Numbers: [112]
112,20 unequal: No Solution
Exploring Operation: 83*29=2407, Resulting Numbers: [2407]
2407,20 unequal: No Solution
Exploring Operation: 83-29=54, Resulting Numbers: [54]
54,20 unequal: No Solution
No solution found.
| 0 |
hs_3
|
mult_heuristic
|
[
21,
4,
87,
14
] | 17 |
[
"21*4=84",
"87+14=101",
"101-84=17"
] |
Current State: 17:[21, 4, 87, 14], Operations: []
Exploring Operation: 21*4=84, Resulting Numbers: [87, 14, 84]
Generated Node #2: [87, 14, 84] from Operation: 21*4=84
Current State: 17:[87, 14, 84], Operations: ['21*4=84']
Exploring Operation: 87+14=101, Resulting Numbers: [84, 101]
Generated Node #3: [84, 101] from Operation: 87+14=101
Current State: 17:[84, 101], Operations: ['21*4=84', '87+14=101']
Exploring Operation: 101-84=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 |
Current State: 17:[21, 4, 87, 14], Operations: []
Exploring Operation: 87-21=66, Resulting Numbers: [4, 14, 66]
Generated Node #0,0: 17:[4, 14, 66] Operation: 87-21=66
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[4, 14, 66], Operations: ['87-21=66']
Exploring Operation: 66-4=62, Resulting Numbers: [14, 62]
Generated Node #0,0,0: 17:[14, 62] Operation: 66-4=62
Moving to Node #0,0,0
Current State: 17:[14, 62], Operations: ['87-21=66', '66-4=62']
Exploring Operation: 62-14=48, Resulting Numbers: [48]
48,17 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
|
[
64,
6,
3,
39
] | 85 |
[
"64+39=103",
"6*3=18",
"103-18=85"
] |
Current State: 85:[64, 6, 3, 39], Operations: []
Exploring Operation: 64+39=103, Resulting Numbers: [6, 3, 103]
Generated Node #2: [6, 3, 103] from Operation: 64+39=103
Current State: 85:[6, 3, 103], Operations: ['64+39=103']
Exploring Operation: 6*3=18, Resulting Numbers: [103, 18]
Generated Node #3: [103, 18] from Operation: 6*3=18
Current State: 85:[103, 18], Operations: ['64+39=103', '6*3=18']
Exploring Operation: 103-18=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 |
Current State: 85:[64, 6, 3, 39], Operations: []
Exploring Operation: 64-39=25, Resulting Numbers: [6, 3, 25]
Generated Node #0,0: 85:[6, 3, 25] Operation: 64-39=25
Moving to Node #0,0
Current State: 85:[6, 3, 25], Operations: ['64-39=25']
Exploring Operation: 25-6=19, Resulting Numbers: [3, 19]
Generated Node #0,0,0: 85:[3, 19] Operation: 25-6=19
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[3, 19], Operations: ['64-39=25', '25-6=19']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
46,
74,
6,
12
] | 14 |
[
"74-46=28",
"12/6=2",
"28/2=14"
] |
Current State: 14:[46, 74, 6, 12], Operations: []
Exploring Operation: 74-46=28, Resulting Numbers: [6, 12, 28]
Generated Node #2: [6, 12, 28] from Operation: 74-46=28
Current State: 14:[6, 12, 28], Operations: ['74-46=28']
Exploring Operation: 12/6=2, Resulting Numbers: [28, 2]
Generated Node #3: [28, 2] from Operation: 12/6=2
Current State: 14:[28, 2], Operations: ['74-46=28', '12/6=2']
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 |
Current State: 14:[46, 74, 6, 12], Operations: []
Exploring Operation: 74-46=28, Resulting Numbers: [6, 12, 28]
Generated Node #0,0: 14:[6, 12, 28] Operation: 74-46=28
Moving to Node #0,0
Current State: 14:[6, 12, 28], Operations: ['74-46=28']
Exploring Operation: 28-12=16, Resulting Numbers: [6, 16]
Generated Node #0,0,0: 14:[6, 16] Operation: 28-12=16
Moving to Node #0,0,0
Current State: 14:[6, 16], Operations: ['74-46=28', '28-12=16']
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,14 unequal: No Solution
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
90,
34,
77,
61
] | 72 |
[
"90-34=56",
"77-61=16",
"56+16=72"
] |
Current State: 72:[90, 34, 77, 61], Operations: []
Exploring Operation: 90-34=56, Resulting Numbers: [77, 61, 56]
Generated Node #2: [77, 61, 56] from Operation: 90-34=56
Current State: 72:[77, 61, 56], Operations: ['90-34=56']
Exploring Operation: 77-61=16, Resulting Numbers: [56, 16]
Generated Node #3: [56, 16] from Operation: 77-61=16
Current State: 72:[56, 16], Operations: ['90-34=56', '77-61=16']
Exploring Operation: 56+16=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 |
Current State: 72:[90, 34, 77, 61], Operations: []
Exploring Operation: 90-77=13, Resulting Numbers: [34, 61, 13]
Generated Node #0,0: 72:[34, 61, 13] Operation: 90-77=13
Exploring Operation: 77-61=16, Resulting Numbers: [90, 34, 16]
Generated Node #0,1: 72:[90, 34, 16] Operation: 77-61=16
Exploring Operation: 61-34=27, Resulting Numbers: [90, 77, 27]
Generated Node #0,2: 72:[90, 77, 27] Operation: 61-34=27
Exploring Operation: 90-61=29, Resulting Numbers: [34, 77, 29]
Generated Node #0,3: 72:[34, 77, 29] Operation: 90-61=29
Exploring Operation: 90-34=56, Resulting Numbers: [77, 61, 56]
Generated Node #0,4: 72:[77, 61, 56] Operation: 90-34=56
Start Sub Search at level 1: Moving to Node #0,3
Current State: 72:[34, 77, 29], Operations: ['90-61=29']
Exploring Operation: 77+29=106, Resulting Numbers: [34, 106]
Generated Node #0,3,0: 72:[34, 106] Operation: 77+29=106
Exploring Operation: 34-29=5, Resulting Numbers: [77, 5]
Generated Node #0,3,1: 72:[77, 5] Operation: 34-29=5
Exploring Operation: 77-34=43, Resulting Numbers: [29, 43]
Generated Node #0,3,2: 72:[29, 43] Operation: 77-34=43
Exploring Operation: 34+29=63, Resulting Numbers: [77, 63]
Generated Node #0,3,3: 72:[77, 63] Operation: 34+29=63
Exploring Operation: 77-29=48, Resulting Numbers: [34, 48]
Generated Node #0,3,4: 72:[34, 48] Operation: 77-29=48
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 72:[77, 5], Operations: ['90-61=29', '34-29=5']
Exploring Operation: 77+5=82, Resulting Numbers: [82]
82,72 unequal: No Solution
Exploring Operation: 77*5=385, Resulting Numbers: [385]
385,72 unequal: No Solution
Exploring Operation: 77-5=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[90, 34, 77, 61], Operations: []
Exploring Operation: 90-61=29, Resulting Numbers: [34, 77, 29]
Generated Node #0,3: 72:[34, 77, 29] Operation: 90-61=29
Moving to Node #0,3
Current State: 72:[34, 77, 29], Operations: ['90-61=29']
Exploring Operation: 34-29=5, Resulting Numbers: [77, 5]
Generated Node #0,3,1: 72:[77, 5] Operation: 34-29=5
Moving to Node #0,3,1
Current State: 72:[77, 5], Operations: ['90-61=29', '34-29=5']
Exploring Operation: 77-5=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 |
hs_5
|
sum_heuristic
|
[
15,
99,
29,
3
] | 25 |
[
"15*3=45",
"99-29=70",
"70-45=25"
] |
Current State: 25:[15, 99, 29, 3], Operations: []
Exploring Operation: 15*3=45, Resulting Numbers: [99, 29, 45]
Generated Node #2: [99, 29, 45] from Operation: 15*3=45
Current State: 25:[99, 29, 45], Operations: ['15*3=45']
Exploring Operation: 99-29=70, Resulting Numbers: [45, 70]
Generated Node #3: [45, 70] from Operation: 99-29=70
Current State: 25:[45, 70], Operations: ['15*3=45', '99-29=70']
Exploring Operation: 70-45=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 |
Current State: 25:[15, 99, 29, 3], Operations: []
Exploring Operation: 99/3=33, Resulting Numbers: [15, 29, 33]
Generated Node #0,0: 25:[15, 29, 33] Operation: 99/3=33
Exploring Operation: 99-15=84, Resulting Numbers: [29, 3, 84]
Generated Node #0,1: 25:[29, 3, 84] Operation: 99-15=84
Exploring Operation: 99-29=70, Resulting Numbers: [15, 3, 70]
Generated Node #0,2: 25:[15, 3, 70] Operation: 99-29=70
Moving to Node #0,0
Current State: 25:[15, 29, 33], Operations: ['99/3=33']
Exploring Operation: 33-29=4, Resulting Numbers: [15, 4]
Generated Node #0,0,0: 25:[15, 4] Operation: 33-29=4
Exploring Operation: 29-15=14, Resulting Numbers: [33, 14]
Generated Node #0,0,1: 25:[33, 14] Operation: 29-15=14
Exploring Operation: 33-15=18, Resulting Numbers: [29, 18]
Generated Node #0,0,2: 25:[29, 18] Operation: 33-15=18
Moving to Node #0,2
Current State: 25:[15, 3, 70], Operations: ['99-29=70']
Exploring Operation: 15+3=18, Resulting Numbers: [70, 18]
Generated Node #0,2,0: 25:[70, 18] Operation: 15+3=18
Exploring Operation: 15/3=5, Resulting Numbers: [70, 5]
Generated Node #0,2,1: 25:[70, 5] Operation: 15/3=5
Exploring Operation: 70-15=55, Resulting Numbers: [3, 55]
Generated Node #0,2,2: 25:[3, 55] Operation: 70-15=55
Moving to Node #0,1
Current State: 25:[29, 3, 84], Operations: ['99-15=84']
Exploring Operation: 84-29=55, Resulting Numbers: [3, 55]
Generated Node #0,1,0: 25:[3, 55] Operation: 84-29=55
Exploring Operation: 84/3=28, Resulting Numbers: [29, 28]
Generated Node #0,1,1: 25:[29, 28] Operation: 84/3=28
Exploring Operation: 29-3=26, Resulting Numbers: [84, 26]
Generated Node #0,1,2: 25:[84, 26] Operation: 29-3=26
Moving to Node #0,1,1
Current State: 25:[29, 28], Operations: ['99-15=84', '84/3=28']
Exploring Operation: 29*28=812, Resulting Numbers: [812]
812,25 unequal: No Solution
Exploring Operation: 29-28=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 29+28=57, Resulting Numbers: [57]
57,25 unequal: No Solution
Moving to Node #0,0,0
Current State: 25:[15, 4], Operations: ['99/3=33', '33-29=4']
Exploring Operation: 15+4=19, Resulting Numbers: [19]
19,25 unequal: No Solution
Exploring Operation: 15*4=60, Resulting Numbers: [60]
60,25 unequal: No Solution
Exploring Operation: 15-4=11, Resulting Numbers: [11]
11,25 unequal: No Solution
Moving to Node #0,0,2
Current State: 25:[29, 18], Operations: ['99/3=33', '33-15=18']
Exploring Operation: 29*18=522, Resulting Numbers: [522]
522,25 unequal: No Solution
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,25 unequal: No Solution
Exploring Operation: 29+18=47, Resulting Numbers: [47]
47,25 unequal: No Solution
Moving to Node #0,0,1
Current State: 25:[33, 14], Operations: ['99/3=33', '29-15=14']
Exploring Operation: 33-14=19, Resulting Numbers: [19]
19,25 unequal: No Solution
Exploring Operation: 33+14=47, Resulting Numbers: [47]
47,25 unequal: No Solution
Exploring Operation: 33*14=462, Resulting Numbers: [462]
462,25 unequal: No Solution
Moving to Node #0,2,2
Current State: 25:[3, 55], Operations: ['99-29=70', '70-15=55']
Exploring Operation: 3*55=165, Resulting Numbers: [165]
165,25 unequal: No Solution
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,25 unequal: No Solution
Exploring Operation: 3+55=58, Resulting Numbers: [58]
58,25 unequal: No Solution
Moving to Node #0,1,0
Current State: 25:[3, 55], Operations: ['99-15=84', '84-29=55']
Exploring Operation: 55-3=52, Resulting Numbers: [52]
52,25 unequal: No Solution
Exploring Operation: 3*55=165, Resulting Numbers: [165]
165,25 unequal: No Solution
Exploring Operation: 3+55=58, Resulting Numbers: [58]
58,25 unequal: No Solution
Moving to Node #0,2,1
Current State: 25:[70, 5], Operations: ['99-29=70', '15/3=5']
Exploring Operation: 70/5=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Exploring Operation: 70-5=65, Resulting Numbers: [65]
65,25 unequal: No Solution
Exploring Operation: 70+5=75, Resulting Numbers: [75]
75,25 unequal: No Solution
Moving to Node #0,2,0
Current State: 25:[70, 18], Operations: ['99-29=70', '15+3=18']
Exploring Operation: 70+18=88, Resulting Numbers: [88]
88,25 unequal: No Solution
Exploring Operation: 70-18=52, Resulting Numbers: [52]
52,25 unequal: No Solution
Exploring Operation: 70*18=1260, Resulting Numbers: [1260]
1260,25 unequal: No Solution
Moving to Node #0,1,2
Current State: 25:[84, 26], Operations: ['99-15=84', '29-3=26']
Exploring Operation: 84+26=110, Resulting Numbers: [110]
110,25 unequal: No Solution
Exploring Operation: 84-26=58, Resulting Numbers: [58]
58,25 unequal: No Solution
Exploring Operation: 84*26=2184, Resulting Numbers: [2184]
2184,25 unequal: No Solution
No solution found.
| 0 |
hs_3
|
sum_heuristic
|
[
4,
3,
13,
99
] | 19 |
[
"4*13=52",
"99/3=33",
"52-33=19"
] |
Current State: 19:[4, 3, 13, 99], Operations: []
Exploring Operation: 4*13=52, Resulting Numbers: [3, 99, 52]
Generated Node #2: [3, 99, 52] from Operation: 4*13=52
Current State: 19:[3, 99, 52], Operations: ['4*13=52']
Exploring Operation: 99/3=33, Resulting Numbers: [52, 33]
Generated Node #3: [52, 33] from Operation: 99/3=33
Current State: 19:[52, 33], Operations: ['4*13=52', '99/3=33']
Exploring Operation: 52-33=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 |
Current State: 19:[4, 3, 13, 99], Operations: []
Exploring Operation: 99/3=33, Resulting Numbers: [4, 13, 33]
Generated Node #0,0: 19:[4, 13, 33] Operation: 99/3=33
Moving to Node #0,0
Current State: 19:[4, 13, 33], Operations: ['99/3=33']
Exploring Operation: 4+13=17, Resulting Numbers: [33, 17]
Generated Node #0,0,0: 19:[33, 17] Operation: 4+13=17
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[33, 17], Operations: ['99/3=33', '4+13=17']
Exploring Operation: 33-17=16, Resulting Numbers: [16]
16,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
|
[
40,
40,
63,
13
] | 49 |
[
"40/40=1",
"63-13=50",
"50-1=49"
] |
Current State: 49:[40, 40, 63, 13], Operations: []
Exploring Operation: 40/40=1, Resulting Numbers: [63, 13, 1]
Generated Node #2: [63, 13, 1] from Operation: 40/40=1
Current State: 49:[63, 13, 1], Operations: ['40/40=1']
Exploring Operation: 63-13=50, Resulting Numbers: [1, 50]
Generated Node #3: [1, 50] from Operation: 63-13=50
Current State: 49:[1, 50], Operations: ['40/40=1', '63-13=50']
Exploring Operation: 50-1=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 |
Current State: 49:[40, 40, 63, 13], Operations: []
Exploring Operation: 63-13=50, Resulting Numbers: [40, 40, 50]
Generated Node #0,0: 49:[40, 40, 50] Operation: 63-13=50
Exploring Operation: 40/40=1, Resulting Numbers: [63, 13, 1]
Generated Node #0,1: 49:[63, 13, 1] Operation: 40/40=1
Moving to Node #0,0
Current State: 49:[40, 40, 50], Operations: ['63-13=50']
Exploring Operation: 40/40=1, Resulting Numbers: [50, 1]
Generated Node #0,0,0: 49:[50, 1] Operation: 40/40=1
Exploring Operation: 40-40=0, Resulting Numbers: [50, 0]
Generated Node #0,0,1: 49:[50, 0] Operation: 40-40=0
Moving to Node #0,1
Current State: 49:[63, 13, 1], Operations: ['40/40=1']
Exploring Operation: 63-1=62, Resulting Numbers: [13, 62]
Generated Node #0,1,0: 49:[13, 62] Operation: 63-1=62
Exploring Operation: 63-13=50, Resulting Numbers: [1, 50]
Generated Node #0,1,1: 49:[1, 50] Operation: 63-13=50
Moving to Node #0,0,0
Current State: 49:[50, 1], Operations: ['63-13=50', '40/40=1']
Exploring Operation: 50*1=50, Resulting Numbers: [50]
50,49 unequal: No Solution
Exploring Operation: 50-1=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[40, 40, 63, 13], Operations: []
Exploring Operation: 63-13=50, Resulting Numbers: [40, 40, 50]
Generated Node #0,0: 49:[40, 40, 50] Operation: 63-13=50
Moving to Node #0,0
Current State: 49:[40, 40, 50], Operations: ['63-13=50']
Exploring Operation: 40/40=1, Resulting Numbers: [50, 1]
Generated Node #0,0,0: 49:[50, 1] Operation: 40/40=1
Moving to Node #0,0,0
Current State: 49:[50, 1], Operations: ['63-13=50', '40/40=1']
Exploring Operation: 50-1=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 0.989583 |
hs_2
|
mult_heuristic
|
[
2,
7,
77,
88
] | 40 |
[
"88/2=44",
"7+77=84",
"84-44=40"
] |
Current State: 40:[2, 7, 77, 88], Operations: []
Exploring Operation: 88/2=44, Resulting Numbers: [7, 77, 44]
Generated Node #2: [7, 77, 44] from Operation: 88/2=44
Current State: 40:[7, 77, 44], Operations: ['88/2=44']
Exploring Operation: 7+77=84, Resulting Numbers: [44, 84]
Generated Node #3: [44, 84] from Operation: 7+77=84
Current State: 40:[44, 84], Operations: ['88/2=44', '7+77=84']
Exploring Operation: 84-44=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 |
Current State: 40:[2, 7, 77, 88], Operations: []
Exploring Operation: 88-77=11, Resulting Numbers: [2, 7, 11]
Generated Node #0,0: 40:[2, 7, 11] Operation: 88-77=11
Exploring Operation: 77/7=11, Resulting Numbers: [2, 88, 11]
Generated Node #0,1: 40:[2, 88, 11] Operation: 77/7=11
Exploring Operation: 88/2=44, Resulting Numbers: [7, 77, 44]
Generated Node #0,2: 40:[7, 77, 44] Operation: 88/2=44
Exploring Operation: 77-7=70, Resulting Numbers: [2, 88, 70]
Generated Node #0,3: 40:[2, 88, 70] Operation: 77-7=70
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[2, 7, 11], Operations: ['88-77=11']
Exploring Operation: 7-2=5, Resulting Numbers: [11, 5]
Generated Node #0,0,0: 40:[11, 5] Operation: 7-2=5
Exploring Operation: 11-7=4, Resulting Numbers: [2, 4]
Generated Node #0,0,1: 40:[2, 4] Operation: 11-7=4
Exploring Operation: 2+7=9, Resulting Numbers: [11, 9]
Generated Node #0,0,2: 40:[11, 9] Operation: 2+7=9
Exploring Operation: 11-2=9, Resulting Numbers: [7, 9]
Generated Node #0,0,3: 40:[7, 9] Operation: 11-2=9
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 40:[2, 4], Operations: ['88-77=11', '11-7=4']
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,40 unequal: No Solution
Exploring Operation: 2*4=8, Resulting Numbers: [8]
8,40 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,40 unequal: No Solution
Exploring Operation: 2+4=6, Resulting Numbers: [6]
6,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 40:[11, 5], Operations: ['88-77=11', '7-2=5']
Exploring Operation: 11-5=6, Resulting Numbers: [6]
6,40 unequal: No Solution
Exploring Operation: 11*5=55, Resulting Numbers: [55]
55,40 unequal: No Solution
Exploring Operation: 11+5=16, Resulting Numbers: [16]
16,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 40:[11, 9], Operations: ['88-77=11', '2+7=9']
Exploring Operation: 11*9=99, Resulting Numbers: [99]
99,40 unequal: No Solution
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,40 unequal: No Solution
Exploring Operation: 11+9=20, Resulting Numbers: [20]
20,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 40:[7, 9], Operations: ['88-77=11', '11-2=9']
Exploring Operation: 7+9=16, Resulting Numbers: [16]
16,40 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,40 unequal: No Solution
Exploring Operation: 7*9=63, Resulting Numbers: [63]
63,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 40:[7, 77, 44], Operations: ['88/2=44']
Exploring Operation: 77-44=33, Resulting Numbers: [7, 33]
Generated Node #0,2,0: 40:[7, 33] Operation: 77-44=33
Exploring Operation: 77-7=70, Resulting Numbers: [44, 70]
Generated Node #0,2,1: 40:[44, 70] Operation: 77-7=70
Exploring Operation: 77/7=11, Resulting Numbers: [44, 11]
Generated Node #0,2,2: 40:[44, 11] Operation: 77/7=11
Exploring Operation: 44-7=37, Resulting Numbers: [77, 37]
Generated Node #0,2,3: 40:[77, 37] Operation: 44-7=37
Moving to Node #0,2,2
Current State: 40:[44, 11], Operations: ['88/2=44', '77/7=11']
Exploring Operation: 44*11=484, Resulting Numbers: [484]
484,40 unequal: No Solution
Exploring Operation: 44/11=4, Resulting Numbers: [4]
4,40 unequal: No Solution
Exploring Operation: 44+11=55, Resulting Numbers: [55]
55,40 unequal: No Solution
Exploring Operation: 44-11=33, Resulting Numbers: [33]
33,40 unequal: No Solution
Moving to Node #0,2,0
Current State: 40:[7, 33], Operations: ['88/2=44', '77-44=33']
Exploring Operation: 7*33=231, Resulting Numbers: [231]
231,40 unequal: No Solution
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,40 unequal: No Solution
Exploring Operation: 7+33=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[2, 7, 77, 88], Operations: []
Exploring Operation: 88/2=44, Resulting Numbers: [7, 77, 44]
Generated Node #0,2: 40:[7, 77, 44] Operation: 88/2=44
Moving to Node #0,2
Current State: 40:[7, 77, 44], Operations: ['88/2=44']
Exploring Operation: 77-44=33, Resulting Numbers: [7, 33]
Generated Node #0,2,0: 40:[7, 33] Operation: 77-44=33
Moving to Node #0,2,0
Current State: 40:[7, 33], Operations: ['88/2=44', '77-44=33']
Exploring Operation: 7+33=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 |
hs_4
|
sum_heuristic
|
[
23,
53,
12,
44
] | 69 |
[
"53-12=41",
"44-41=3",
"23*3=69"
] |
Current State: 69:[23, 53, 12, 44], Operations: []
Exploring Operation: 53-12=41, Resulting Numbers: [23, 44, 41]
Generated Node #2: [23, 44, 41] from Operation: 53-12=41
Current State: 69:[23, 44, 41], Operations: ['53-12=41']
Exploring Operation: 44-41=3, Resulting Numbers: [23, 3]
Generated Node #3: [23, 3] from Operation: 44-41=3
Current State: 69:[23, 3], Operations: ['53-12=41', '44-41=3']
Exploring Operation: 23*3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 |
Current State: 69:[23, 53, 12, 44], Operations: []
Exploring Operation: 53-44=9, Resulting Numbers: [23, 12, 9]
Generated Node #0,0: 69:[23, 12, 9] Operation: 53-44=9
Moving to Node #0,0
Current State: 69:[23, 12, 9], Operations: ['53-44=9']
Exploring Operation: 12-9=3, Resulting Numbers: [23, 3]
Generated Node #0,0,0: 69:[23, 3] Operation: 12-9=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 69:[23, 3], Operations: ['53-44=9', '12-9=3']
Exploring Operation: 23*3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[23, 53, 12, 44], Operations: []
Exploring Operation: 53-44=9, Resulting Numbers: [23, 12, 9]
Generated Node #0,0: 69:[23, 12, 9] Operation: 53-44=9
Moving to Node #0,0
Current State: 69:[23, 12, 9], Operations: ['53-44=9']
Exploring Operation: 12-9=3, Resulting Numbers: [23, 3]
Generated Node #0,0,0: 69:[23, 3] Operation: 12-9=3
Moving to Node #0,0,0
Current State: 69:[23, 3], Operations: ['53-44=9', '12-9=3']
Exploring Operation: 23*3=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 |
hs_1
|
mult_heuristic
|
[
85,
1,
70,
35
] | 85 |
[
"70/35=2",
"2-1=1",
"85*1=85"
] |
Current State: 85:[85, 1, 70, 35], Operations: []
Exploring Operation: 70/35=2, Resulting Numbers: [85, 1, 2]
Generated Node #2: [85, 1, 2] from Operation: 70/35=2
Current State: 85:[85, 1, 2], Operations: ['70/35=2']
Exploring Operation: 2-1=1, Resulting Numbers: [85, 1]
Generated Node #3: [85, 1] from Operation: 2-1=1
Current State: 85:[85, 1], Operations: ['70/35=2', '2-1=1']
Exploring Operation: 85*1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 |
Current State: 85:[85, 1, 70, 35], Operations: []
Exploring Operation: 70-35=35, Resulting Numbers: [85, 1, 35]
Generated Node #0,0: 85:[85, 1, 35] Operation: 70-35=35
Exploring Operation: 70+35=105, Resulting Numbers: [85, 1, 105]
Generated Node #0,1: 85:[85, 1, 105] Operation: 70+35=105
Exploring Operation: 85-70=15, Resulting Numbers: [1, 35, 15]
Generated Node #0,2: 85:[1, 35, 15] Operation: 85-70=15
Exploring Operation: 70/35=2, Resulting Numbers: [85, 1, 2]
Generated Node #0,3: 85:[85, 1, 2] Operation: 70/35=2
Moving to Node #0,3
Current State: 85:[85, 1, 2], Operations: ['70/35=2']
Exploring Operation: 1+2=3, Resulting Numbers: [85, 3]
Generated Node #0,3,0: 85:[85, 3] Operation: 1+2=3
Exploring Operation: 85*1=85, Resulting Numbers: [2, 85]
Generated Node #0,3,1: 85:[2, 85] Operation: 85*1=85
Exploring Operation: 1*2=2, Resulting Numbers: [85, 2]
Generated Node #0,3,2: 85:[85, 2] Operation: 1*2=2
Exploring Operation: 85/1=85, Resulting Numbers: [2, 85]
Generated Node #0,3,3: 85:[2, 85] Operation: 85/1=85
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 85:[85, 3], Operations: ['70/35=2', '1+2=3']
Exploring Operation: 85+3=88, Resulting Numbers: [88]
88,85 unequal: No Solution
Exploring Operation: 85*3=255, Resulting Numbers: [255]
255,85 unequal: No Solution
Exploring Operation: 85-3=82, Resulting Numbers: [82]
82,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 85:[2, 85], Operations: ['70/35=2', '85*1=85']
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,85 unequal: No Solution
Exploring Operation: 2+85=87, Resulting Numbers: [87]
87,85 unequal: No Solution
Exploring Operation: 2*85=170, Resulting Numbers: [170]
170,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 85:[85, 2], Operations: ['70/35=2', '1*2=2']
Exploring Operation: 85+2=87, Resulting Numbers: [87]
87,85 unequal: No Solution
Exploring Operation: 85*2=170, Resulting Numbers: [170]
170,85 unequal: No Solution
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 85:[2, 85], Operations: ['70/35=2', '85/1=85']
Exploring Operation: 85-2=83, Resulting Numbers: [83]
83,85 unequal: No Solution
Exploring Operation: 2+85=87, Resulting Numbers: [87]
87,85 unequal: No Solution
Exploring Operation: 2*85=170, Resulting Numbers: [170]
170,85 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: 85:[85, 1, 35], Operations: ['70-35=35']
Exploring Operation: 35-1=34, Resulting Numbers: [85, 34]
Generated Node #0,0,0: 85:[85, 34] Operation: 35-1=34
Exploring Operation: 1*35=35, Resulting Numbers: [85, 35]
Generated Node #0,0,1: 85:[85, 35] Operation: 1*35=35
Exploring Operation: 85/1=85, Resulting Numbers: [35, 85]
Generated Node #0,0,2: 85:[35, 85] Operation: 85/1=85
Exploring Operation: 85*1=85, Resulting Numbers: [35, 85]
Generated Node #0,0,3: 85:[35, 85] Operation: 85*1=85
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[85, 34], Operations: ['70-35=35', '35-1=34']
Exploring Operation: 85+34=119, Resulting Numbers: [119]
119,85 unequal: No Solution
Exploring Operation: 85-34=51, Resulting Numbers: [51]
51,85 unequal: No Solution
Exploring Operation: 85*34=2890, Resulting Numbers: [2890]
2890,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 85:[85, 35], Operations: ['70-35=35', '1*35=35']
Exploring Operation: 85+35=120, Resulting Numbers: [120]
120,85 unequal: No Solution
Exploring Operation: 85*35=2975, Resulting Numbers: [2975]
2975,85 unequal: No Solution
Exploring Operation: 85-35=50, Resulting Numbers: [50]
50,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 85:[35, 85], Operations: ['70-35=35', '85/1=85']
Exploring Operation: 85-35=50, Resulting Numbers: [50]
50,85 unequal: No Solution
Exploring Operation: 35+85=120, Resulting Numbers: [120]
120,85 unequal: No Solution
Exploring Operation: 35*85=2975, Resulting Numbers: [2975]
2975,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 85:[35, 85], Operations: ['70-35=35', '85*1=85']
Exploring Operation: 85-35=50, Resulting Numbers: [50]
50,85 unequal: No Solution
Exploring Operation: 35+85=120, Resulting Numbers: [120]
120,85 unequal: No Solution
Exploring Operation: 35*85=2975, Resulting Numbers: [2975]
2975,85 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: 85:[1, 35, 15], Operations: ['85-70=15']
Exploring Operation: 35-1=34, Resulting Numbers: [15, 34]
Generated Node #0,2,0: 85:[15, 34] Operation: 35-1=34
Exploring Operation: 1*35=35, Resulting Numbers: [15, 35]
Generated Node #0,2,1: 85:[15, 35] Operation: 1*35=35
Exploring Operation: 1+15=16, Resulting Numbers: [35, 16]
Generated Node #0,2,2: 85:[35, 16] Operation: 1+15=16
Exploring Operation: 35-15=20, Resulting Numbers: [1, 20]
Generated Node #0,2,3: 85:[1, 20] Operation: 35-15=20
Moving to Node #0,1
Current State: 85:[85, 1, 105], Operations: ['70+35=105']
Exploring Operation: 105-1=104, Resulting Numbers: [85, 104]
Generated Node #0,1,0: 85:[85, 104] Operation: 105-1=104
Exploring Operation: 105-85=20, Resulting Numbers: [1, 20]
Generated Node #0,1,1: 85:[1, 20] Operation: 105-85=20
Exploring Operation: 85/1=85, Resulting Numbers: [105, 85]
Generated Node #0,1,2: 85:[105, 85] Operation: 85/1=85
Exploring Operation: 85*1=85, Resulting Numbers: [105, 85]
Generated Node #0,1,3: 85:[105, 85] Operation: 85*1=85
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 85:[1, 20], Operations: ['70+35=105', '105-85=20']
Exploring Operation: 1*20=20, Resulting Numbers: [20]
20,85 unequal: No Solution
Exploring Operation: 1+20=21, Resulting Numbers: [21]
21,85 unequal: No Solution
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,85 unequal: No Solution
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 85:[85, 104], Operations: ['70+35=105', '105-1=104']
Exploring Operation: 85*104=8840, Resulting Numbers: [8840]
8840,85 unequal: No Solution
Exploring Operation: 85+104=189, Resulting Numbers: [189]
189,85 unequal: No Solution
Exploring Operation: 104-85=19, Resulting Numbers: [19]
19,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 85:[105, 85], Operations: ['70+35=105', '85/1=85']
Exploring Operation: 105-85=20, Resulting Numbers: [20]
20,85 unequal: No Solution
Exploring Operation: 105*85=8925, Resulting Numbers: [8925]
8925,85 unequal: No Solution
Exploring Operation: 105+85=190, Resulting Numbers: [190]
190,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 85:[105, 85], Operations: ['70+35=105', '85*1=85']
Exploring Operation: 105-85=20, Resulting Numbers: [20]
20,85 unequal: No Solution
Exploring Operation: 105+85=190, Resulting Numbers: [190]
190,85 unequal: No Solution
Exploring Operation: 105*85=8925, Resulting Numbers: [8925]
8925,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 85:[1, 20], Operations: ['85-70=15', '35-15=20']
Exploring Operation: 1*20=20, Resulting Numbers: [20]
20,85 unequal: No Solution
Exploring Operation: 20/1=20, Resulting Numbers: [20]
20,85 unequal: No Solution
Exploring Operation: 20-1=19, Resulting Numbers: [19]
19,85 unequal: No Solution
Exploring Operation: 1+20=21, Resulting Numbers: [21]
21,85 unequal: No Solution
Moving to Node #0,2,2
Current State: 85:[35, 16], Operations: ['85-70=15', '1+15=16']
Exploring Operation: 35*16=560, Resulting Numbers: [560]
560,85 unequal: No Solution
Exploring Operation: 35-16=19, Resulting Numbers: [19]
19,85 unequal: No Solution
Exploring Operation: 35+16=51, Resulting Numbers: [51]
51,85 unequal: No Solution
Moving to Node #0,2,0
Current State: 85:[15, 34], Operations: ['85-70=15', '35-1=34']
Exploring Operation: 34-15=19, Resulting Numbers: [19]
19,85 unequal: No Solution
Exploring Operation: 15*34=510, Resulting Numbers: [510]
510,85 unequal: No Solution
Exploring Operation: 15+34=49, Resulting Numbers: [49]
49,85 unequal: No Solution
Moving to Node #0,2,1
Current State: 85:[15, 35], Operations: ['85-70=15', '1*35=35']
Exploring Operation: 15*35=525, Resulting Numbers: [525]
525,85 unequal: No Solution
Exploring Operation: 15+35=50, Resulting Numbers: [50]
50,85 unequal: No Solution
Exploring Operation: 35-15=20, Resulting Numbers: [20]
20,85 unequal: No Solution
No solution found.
| 0 |
hs_4
|
mult_heuristic
|
[
2,
44,
20,
56
] | 88 |
[
"2*56=112",
"44-20=24",
"112-24=88"
] |
Current State: 88:[2, 44, 20, 56], Operations: []
Exploring Operation: 2*56=112, Resulting Numbers: [44, 20, 112]
Generated Node #2: [44, 20, 112] from Operation: 2*56=112
Current State: 88:[44, 20, 112], Operations: ['2*56=112']
Exploring Operation: 44-20=24, Resulting Numbers: [112, 24]
Generated Node #3: [112, 24] from Operation: 44-20=24
Current State: 88:[112, 24], Operations: ['2*56=112', '44-20=24']
Exploring Operation: 112-24=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 |
Current State: 88:[2, 44, 20, 56], Operations: []
Exploring Operation: 56-44=12, Resulting Numbers: [2, 20, 12]
Generated Node #0,0: 88:[2, 20, 12] Operation: 56-44=12
Exploring Operation: 56/2=28, Resulting Numbers: [44, 20, 28]
Generated Node #0,1: 88:[44, 20, 28] Operation: 56/2=28
Exploring Operation: 56-20=36, Resulting Numbers: [2, 44, 36]
Generated Node #0,2: 88:[2, 44, 36] Operation: 56-20=36
Exploring Operation: 2+20=22, Resulting Numbers: [44, 56, 22]
Generated Node #0,3: 88:[44, 56, 22] Operation: 2+20=22
Moving to Node #0,0
Current State: 88:[2, 20, 12], Operations: ['56-44=12']
Exploring Operation: 2+20=22, Resulting Numbers: [12, 22]
Generated Node #0,0,0: 88:[12, 22] Operation: 2+20=22
Exploring Operation: 20-12=8, Resulting Numbers: [2, 8]
Generated Node #0,0,1: 88:[2, 8] Operation: 20-12=8
Exploring Operation: 12-2=10, Resulting Numbers: [20, 10]
Generated Node #0,0,2: 88:[20, 10] Operation: 12-2=10
Exploring Operation: 20/2=10, Resulting Numbers: [12, 10]
Generated Node #0,0,3: 88:[12, 10] Operation: 20/2=10
Moving to Node #0,2
Current State: 88:[2, 44, 36], Operations: ['56-20=36']
Exploring Operation: 2*44=88, Resulting Numbers: [36, 88]
Generated Node #0,2,0: 88:[36, 88] Operation: 2*44=88
Exploring Operation: 44-36=8, Resulting Numbers: [2, 8]
Generated Node #0,2,1: 88:[2, 8] Operation: 44-36=8
Exploring Operation: 36/2=18, Resulting Numbers: [44, 18]
Generated Node #0,2,2: 88:[44, 18] Operation: 36/2=18
Exploring Operation: 2+36=38, Resulting Numbers: [44, 38]
Generated Node #0,2,3: 88:[44, 38] Operation: 2+36=38
Moving to Node #0,1
Current State: 88:[44, 20, 28], Operations: ['56/2=28']
Exploring Operation: 44-20=24, Resulting Numbers: [28, 24]
Generated Node #0,1,0: 88:[28, 24] Operation: 44-20=24
Exploring Operation: 44-28=16, Resulting Numbers: [20, 16]
Generated Node #0,1,1: 88:[20, 16] Operation: 44-28=16
Exploring Operation: 20+28=48, Resulting Numbers: [44, 48]
Generated Node #0,1,2: 88:[44, 48] Operation: 20+28=48
Exploring Operation: 28-20=8, Resulting Numbers: [44, 8]
Generated Node #0,1,3: 88:[44, 8] Operation: 28-20=8
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 88:[44, 8], Operations: ['56/2=28', '28-20=8']
Exploring Operation: 44+8=52, Resulting Numbers: [52]
52,88 unequal: No Solution
Exploring Operation: 44-8=36, Resulting Numbers: [36]
36,88 unequal: No Solution
Exploring Operation: 44*8=352, Resulting Numbers: [352]
352,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 88:[44, 48], Operations: ['56/2=28', '20+28=48']
Exploring Operation: 48-44=4, Resulting Numbers: [4]
4,88 unequal: No Solution
Exploring Operation: 44+48=92, Resulting Numbers: [92]
92,88 unequal: No Solution
Exploring Operation: 44*48=2112, Resulting Numbers: [2112]
2112,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 88:[20, 16], Operations: ['56/2=28', '44-28=16']
Exploring Operation: 20*16=320, Resulting Numbers: [320]
320,88 unequal: No Solution
Exploring Operation: 20+16=36, Resulting Numbers: [36]
36,88 unequal: No Solution
Exploring Operation: 20-16=4, Resulting Numbers: [4]
4,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 88:[28, 24], Operations: ['56/2=28', '44-20=24']
Exploring Operation: 28*24=672, Resulting Numbers: [672]
672,88 unequal: No Solution
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,88 unequal: No Solution
Exploring Operation: 28+24=52, Resulting Numbers: [52]
52,88 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: 88:[44, 56, 22], Operations: ['2+20=22']
Exploring Operation: 56-22=34, Resulting Numbers: [44, 34]
Generated Node #0,3,0: 88:[44, 34] Operation: 56-22=34
Exploring Operation: 44+56=100, Resulting Numbers: [22, 100]
Generated Node #0,3,1: 88:[22, 100] Operation: 44+56=100
Exploring Operation: 56+22=78, Resulting Numbers: [44, 78]
Generated Node #0,3,2: 88:[44, 78] Operation: 56+22=78
Exploring Operation: 56-44=12, Resulting Numbers: [22, 12]
Generated Node #0,3,3: 88:[22, 12] Operation: 56-44=12
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 88:[22, 12], Operations: ['2+20=22', '56-44=12']
Exploring Operation: 22*12=264, Resulting Numbers: [264]
264,88 unequal: No Solution
Exploring Operation: 22+12=34, Resulting Numbers: [34]
34,88 unequal: No Solution
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 88:[44, 34], Operations: ['2+20=22', '56-22=34']
Exploring Operation: 44+34=78, Resulting Numbers: [78]
78,88 unequal: No Solution
Exploring Operation: 44*34=1496, Resulting Numbers: [1496]
1496,88 unequal: No Solution
Exploring Operation: 44-34=10, Resulting Numbers: [10]
10,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 88:[44, 78], Operations: ['2+20=22', '56+22=78']
Exploring Operation: 44*78=3432, Resulting Numbers: [3432]
3432,88 unequal: No Solution
Exploring Operation: 44+78=122, Resulting Numbers: [122]
122,88 unequal: No Solution
Exploring Operation: 78-44=34, Resulting Numbers: [34]
34,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 88:[22, 100], Operations: ['2+20=22', '44+56=100']
Exploring Operation: 22+100=122, Resulting Numbers: [122]
122,88 unequal: No Solution
Exploring Operation: 100-22=78, Resulting Numbers: [78]
78,88 unequal: No Solution
Exploring Operation: 22*100=2200, Resulting Numbers: [2200]
2200,88 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: 88:[2, 8], Operations: ['56-44=12', '20-12=8']
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,88 unequal: No Solution
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,88 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,88 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,88 unequal: No Solution
Moving to Node #0,2,1
Current State: 88:[2, 8], Operations: ['56-20=36', '44-36=8']
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,88 unequal: No Solution
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,88 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,88 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,88 unequal: No Solution
Moving to Node #0,0,0
Current State: 88:[12, 22], Operations: ['56-44=12', '2+20=22']
Exploring Operation: 12*22=264, Resulting Numbers: [264]
264,88 unequal: No Solution
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,88 unequal: No Solution
Exploring Operation: 12+22=34, Resulting Numbers: [34]
34,88 unequal: No Solution
Moving to Node #0,0,3
Current State: 88:[12, 10], Operations: ['56-44=12', '20/2=10']
Exploring Operation: 12-10=2, Resulting Numbers: [2]
2,88 unequal: No Solution
Exploring Operation: 12*10=120, Resulting Numbers: [120]
120,88 unequal: No Solution
Exploring Operation: 12+10=22, Resulting Numbers: [22]
22,88 unequal: No Solution
Moving to Node #0,0,2
Current State: 88:[20, 10], Operations: ['56-44=12', '12-2=10']
Exploring Operation: 20+10=30, Resulting Numbers: [30]
30,88 unequal: No Solution
Exploring Operation: 20-10=10, Resulting Numbers: [10]
10,88 unequal: No Solution
Exploring Operation: 20/10=2, Resulting Numbers: [2]
2,88 unequal: No Solution
Exploring Operation: 20*10=200, Resulting Numbers: [200]
200,88 unequal: No Solution
Moving to Node #0,2,2
Current State: 88:[44, 18], Operations: ['56-20=36', '36/2=18']
Exploring Operation: 44-18=26, Resulting Numbers: [26]
26,88 unequal: No Solution
Exploring Operation: 44*18=792, Resulting Numbers: [792]
792,88 unequal: No Solution
Exploring Operation: 44+18=62, Resulting Numbers: [62]
62,88 unequal: No Solution
Moving to Node #0,2,3
Current State: 88:[44, 38], Operations: ['56-20=36', '2+36=38']
Exploring Operation: 44-38=6, Resulting Numbers: [6]
6,88 unequal: No Solution
Exploring Operation: 44+38=82, Resulting Numbers: [82]
82,88 unequal: No Solution
Exploring Operation: 44*38=1672, Resulting Numbers: [1672]
1672,88 unequal: No Solution
Moving to Node #0,2,0
Current State: 88:[36, 88], Operations: ['56-20=36', '2*44=88']
Exploring Operation: 88-36=52, Resulting Numbers: [52]
52,88 unequal: No Solution
Exploring Operation: 36*88=3168, Resulting Numbers: [3168]
3168,88 unequal: No Solution
Exploring Operation: 36+88=124, Resulting Numbers: [124]
124,88 unequal: No Solution
No solution found.
| 0 |
hs_4
|
sum_heuristic
|
[
28,
25,
19,
60
] | 38 |
[
"28-25=3",
"60-19=41",
"41-3=38"
] |
Current State: 38:[28, 25, 19, 60], Operations: []
Exploring Operation: 28-25=3, Resulting Numbers: [19, 60, 3]
Generated Node #2: [19, 60, 3] from Operation: 28-25=3
Current State: 38:[19, 60, 3], Operations: ['28-25=3']
Exploring Operation: 60-19=41, Resulting Numbers: [3, 41]
Generated Node #3: [3, 41] from Operation: 60-19=41
Current State: 38:[3, 41], Operations: ['28-25=3', '60-19=41']
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 |
Current State: 38:[28, 25, 19, 60], Operations: []
Exploring Operation: 60-25=35, Resulting Numbers: [28, 19, 35]
Generated Node #0,0: 38:[28, 19, 35] Operation: 60-25=35
Exploring Operation: 60-28=32, Resulting Numbers: [25, 19, 32]
Generated Node #0,1: 38:[25, 19, 32] Operation: 60-28=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[28, 19, 35], Operations: ['60-25=35']
Exploring Operation: 35-28=7, Resulting Numbers: [19, 7]
Generated Node #0,0,0: 38:[19, 7] Operation: 35-28=7
Exploring Operation: 28-19=9, Resulting Numbers: [35, 9]
Generated Node #0,0,1: 38:[35, 9] Operation: 28-19=9
Moving to Node #0,0,0
Current State: 38:[19, 7], Operations: ['60-25=35', '35-28=7']
Exploring Operation: 19+7=26, Resulting Numbers: [26]
26,38 unequal: No Solution
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,38 unequal: No Solution
Moving to Node #0,0,1
Current State: 38:[35, 9], Operations: ['60-25=35', '28-19=9']
Exploring Operation: 35+9=44, Resulting Numbers: [44]
44,38 unequal: No Solution
Exploring Operation: 35-9=26, Resulting Numbers: [26]
26,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:[25, 19, 32], Operations: ['60-28=32']
Exploring Operation: 32-25=7, Resulting Numbers: [19, 7]
Generated Node #0,1,0: 38:[19, 7] Operation: 32-25=7
Exploring Operation: 25-19=6, Resulting Numbers: [32, 6]
Generated Node #0,1,1: 38:[32, 6] Operation: 25-19=6
Moving to Node #0,1,0
Current State: 38:[19, 7], Operations: ['60-28=32', '32-25=7']
Exploring Operation: 19+7=26, Resulting Numbers: [26]
26,38 unequal: No Solution
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,38 unequal: No Solution
Moving to Node #0,1,1
Current State: 38:[32, 6], Operations: ['60-28=32', '25-19=6']
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,38 unequal: No Solution
Exploring Operation: 32+6=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[28, 25, 19, 60], Operations: []
Exploring Operation: 60-28=32, Resulting Numbers: [25, 19, 32]
Generated Node #0,1: 38:[25, 19, 32] Operation: 60-28=32
Moving to Node #0,1
Current State: 38:[25, 19, 32], Operations: ['60-28=32']
Exploring Operation: 25-19=6, Resulting Numbers: [32, 6]
Generated Node #0,1,1: 38:[32, 6] Operation: 25-19=6
Moving to Node #0,1,1
Current State: 38:[32, 6], Operations: ['60-28=32', '25-19=6']
Exploring Operation: 32+6=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 |
hs_2
|
sum_heuristic
|
[
38,
20,
69,
74
] | 53 |
[
"38+20=58",
"74-69=5",
"58-5=53"
] |
Current State: 53:[38, 20, 69, 74], Operations: []
Exploring Operation: 38+20=58, Resulting Numbers: [69, 74, 58]
Generated Node #2: [69, 74, 58] from Operation: 38+20=58
Current State: 53:[69, 74, 58], Operations: ['38+20=58']
Exploring Operation: 74-69=5, Resulting Numbers: [58, 5]
Generated Node #3: [58, 5] from Operation: 74-69=5
Current State: 53:[58, 5], Operations: ['38+20=58', '74-69=5']
Exploring Operation: 58-5=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 |
Current State: 53:[38, 20, 69, 74], Operations: []
Exploring Operation: 38+20=58, Resulting Numbers: [69, 74, 58]
Generated Node #0,0: 53:[69, 74, 58] Operation: 38+20=58
Exploring Operation: 69-20=49, Resulting Numbers: [38, 74, 49]
Generated Node #0,1: 53:[38, 74, 49] Operation: 69-20=49
Exploring Operation: 74-20=54, Resulting Numbers: [38, 69, 54]
Generated Node #0,2: 53:[38, 69, 54] Operation: 74-20=54
Start Sub Search at level 1: Moving to Node #0,2
Current State: 53:[38, 69, 54], Operations: ['74-20=54']
Exploring Operation: 69-54=15, Resulting Numbers: [38, 15]
Generated Node #0,2,0: 53:[38, 15] Operation: 69-54=15
Exploring Operation: 69-38=31, Resulting Numbers: [54, 31]
Generated Node #0,2,1: 53:[54, 31] Operation: 69-38=31
Exploring Operation: 54-38=16, Resulting Numbers: [69, 16]
Generated Node #0,2,2: 53:[69, 16] Operation: 54-38=16
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 53:[54, 31], Operations: ['74-20=54', '69-38=31']
Exploring Operation: 54-31=23, Resulting Numbers: [23]
23,53 unequal: No Solution
Exploring Operation: 54+31=85, Resulting Numbers: [85]
85,53 unequal: No Solution
Exploring Operation: 54*31=1674, Resulting Numbers: [1674]
1674,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 53:[38, 15], Operations: ['74-20=54', '69-54=15']
Exploring Operation: 38*15=570, Resulting Numbers: [570]
570,53 unequal: No Solution
Exploring Operation: 38-15=23, Resulting Numbers: [23]
23,53 unequal: No Solution
Exploring Operation: 38+15=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[38, 20, 69, 74], Operations: []
Exploring Operation: 74-20=54, Resulting Numbers: [38, 69, 54]
Generated Node #0,2: 53:[38, 69, 54] Operation: 74-20=54
Moving to Node #0,2
Current State: 53:[38, 69, 54], Operations: ['74-20=54']
Exploring Operation: 69-54=15, Resulting Numbers: [38, 15]
Generated Node #0,2,0: 53:[38, 15] Operation: 69-54=15
Moving to Node #0,2,0
Current State: 53:[38, 15], Operations: ['74-20=54', '69-54=15']
Exploring Operation: 38+15=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 |
hs_3
|
sum_heuristic
|
[
40,
60,
52,
66
] | 86 |
[
"40+60=100",
"66-52=14",
"100-14=86"
] |
Current State: 86:[40, 60, 52, 66], Operations: []
Exploring Operation: 40+60=100, Resulting Numbers: [52, 66, 100]
Generated Node #2: [52, 66, 100] from Operation: 40+60=100
Current State: 86:[52, 66, 100], Operations: ['40+60=100']
Exploring Operation: 66-52=14, Resulting Numbers: [100, 14]
Generated Node #3: [100, 14] from Operation: 66-52=14
Current State: 86:[100, 14], Operations: ['40+60=100', '66-52=14']
Exploring Operation: 100-14=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 |
Current State: 86:[40, 60, 52, 66], Operations: []
Exploring Operation: 66-60=6, Resulting Numbers: [40, 52, 6]
Generated Node #0,0: 86:[40, 52, 6] Operation: 66-60=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[40, 52, 6], Operations: ['66-60=6']
Exploring Operation: 52-6=46, Resulting Numbers: [40, 46]
Generated Node #0,0,0: 86:[40, 46] Operation: 52-6=46
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 86:[40, 46], Operations: ['66-60=6', '52-6=46']
Exploring Operation: 40+46=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[40, 60, 52, 66], Operations: []
Exploring Operation: 66-60=6, Resulting Numbers: [40, 52, 6]
Generated Node #0,0: 86:[40, 52, 6] Operation: 66-60=6
Moving to Node #0,0
Current State: 86:[40, 52, 6], Operations: ['66-60=6']
Exploring Operation: 52-6=46, Resulting Numbers: [40, 46]
Generated Node #0,0,0: 86:[40, 46] Operation: 52-6=46
Moving to Node #0,0,0
Current State: 86:[40, 46], Operations: ['66-60=6', '52-6=46']
Exploring Operation: 40+46=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 |
hs_1
|
sum_heuristic
|
[
64,
32,
24,
69
] | 81 |
[
"64/32=2",
"24/2=12",
"69+12=81"
] |
Current State: 81:[64, 32, 24, 69], Operations: []
Exploring Operation: 64/32=2, Resulting Numbers: [24, 69, 2]
Generated Node #2: [24, 69, 2] from Operation: 64/32=2
Current State: 81:[24, 69, 2], Operations: ['64/32=2']
Exploring Operation: 24/2=12, Resulting Numbers: [69, 12]
Generated Node #3: [69, 12] from Operation: 24/2=12
Current State: 81:[69, 12], Operations: ['64/32=2', '24/2=12']
Exploring Operation: 69+12=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 |
Current State: 81:[64, 32, 24, 69], Operations: []
Exploring Operation: 64+24=88, Resulting Numbers: [32, 69, 88]
Generated Node #0,0: 81:[32, 69, 88] Operation: 64+24=88
Exploring Operation: 64/32=2, Resulting Numbers: [24, 69, 2]
Generated Node #0,1: 81:[24, 69, 2] Operation: 64/32=2
Exploring Operation: 69-64=5, Resulting Numbers: [32, 24, 5]
Generated Node #0,2: 81:[32, 24, 5] Operation: 69-64=5
Exploring Operation: 64-32=32, Resulting Numbers: [24, 69, 32]
Generated Node #0,3: 81:[24, 69, 32] Operation: 64-32=32
Moving to Node #0,2
Current State: 81:[32, 24, 5], Operations: ['69-64=5']
Exploring Operation: 32-24=8, Resulting Numbers: [5, 8]
Generated Node #0,2,0: 81:[5, 8] Operation: 32-24=8
Exploring Operation: 32-5=27, Resulting Numbers: [24, 27]
Generated Node #0,2,1: 81:[24, 27] Operation: 32-5=27
Exploring Operation: 32+5=37, Resulting Numbers: [24, 37]
Generated Node #0,2,2: 81:[24, 37] Operation: 32+5=37
Exploring Operation: 24+5=29, Resulting Numbers: [32, 29]
Generated Node #0,2,3: 81:[32, 29] Operation: 24+5=29
Moving to Node #0,1
Current State: 81:[24, 69, 2], Operations: ['64/32=2']
Exploring Operation: 24/2=12, Resulting Numbers: [69, 12]
Generated Node #0,1,0: 81:[69, 12] Operation: 24/2=12
Exploring Operation: 24+69=93, Resulting Numbers: [2, 93]
Generated Node #0,1,1: 81:[2, 93] Operation: 24+69=93
Exploring Operation: 69+2=71, Resulting Numbers: [24, 71]
Generated Node #0,1,2: 81:[24, 71] Operation: 69+2=71
Exploring Operation: 24+2=26, Resulting Numbers: [69, 26]
Generated Node #0,1,3: 81:[69, 26] Operation: 24+2=26
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 81:[2, 93], Operations: ['64/32=2', '24+69=93']
Exploring Operation: 93-2=91, Resulting Numbers: [91]
91,81 unequal: No Solution
Exploring Operation: 2+93=95, Resulting Numbers: [95]
95,81 unequal: No Solution
Exploring Operation: 2*93=186, Resulting Numbers: [186]
186,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 81:[24, 71], Operations: ['64/32=2', '69+2=71']
Exploring Operation: 71-24=47, Resulting Numbers: [47]
47,81 unequal: No Solution
Exploring Operation: 24+71=95, Resulting Numbers: [95]
95,81 unequal: No Solution
Exploring Operation: 24*71=1704, Resulting Numbers: [1704]
1704,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 81:[69, 26], Operations: ['64/32=2', '24+2=26']
Exploring Operation: 69-26=43, Resulting Numbers: [43]
43,81 unequal: No Solution
Exploring Operation: 69+26=95, Resulting Numbers: [95]
95,81 unequal: No Solution
Exploring Operation: 69*26=1794, Resulting Numbers: [1794]
1794,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 81:[69, 12], Operations: ['64/32=2', '24/2=12']
Exploring Operation: 69*12=828, Resulting Numbers: [828]
828,81 unequal: No Solution
Exploring Operation: 69+12=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[64, 32, 24, 69], Operations: []
Exploring Operation: 64/32=2, Resulting Numbers: [24, 69, 2]
Generated Node #0,1: 81:[24, 69, 2] Operation: 64/32=2
Moving to Node #0,1
Current State: 81:[24, 69, 2], Operations: ['64/32=2']
Exploring Operation: 24/2=12, Resulting Numbers: [69, 12]
Generated Node #0,1,0: 81:[69, 12] Operation: 24/2=12
Moving to Node #0,1,0
Current State: 81:[69, 12], Operations: ['64/32=2', '24/2=12']
Exploring Operation: 69+12=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 |
hs_4
|
sum_heuristic
|
[
68,
17,
49,
80
] | 78 |
[
"68-17=51",
"49+80=129",
"129-51=78"
] |
Current State: 78:[68, 17, 49, 80], Operations: []
Exploring Operation: 68-17=51, Resulting Numbers: [49, 80, 51]
Generated Node #2: [49, 80, 51] from Operation: 68-17=51
Current State: 78:[49, 80, 51], Operations: ['68-17=51']
Exploring Operation: 49+80=129, Resulting Numbers: [51, 129]
Generated Node #3: [51, 129] from Operation: 49+80=129
Current State: 78:[51, 129], Operations: ['68-17=51', '49+80=129']
Exploring Operation: 129-51=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 |
Current State: 78:[68, 17, 49, 80], Operations: []
Exploring Operation: 68-49=19, Resulting Numbers: [17, 80, 19]
Generated Node #0,0: 78:[17, 80, 19] Operation: 68-49=19
Exploring Operation: 68/17=4, Resulting Numbers: [49, 80, 4]
Generated Node #0,1: 78:[49, 80, 4] Operation: 68/17=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[17, 80, 19], Operations: ['68-49=19']
Exploring Operation: 19-17=2, Resulting Numbers: [80, 2]
Generated Node #0,0,0: 78:[80, 2] Operation: 19-17=2
Exploring Operation: 17+19=36, Resulting Numbers: [80, 36]
Generated Node #0,0,1: 78:[80, 36] Operation: 17+19=36
Moving to Node #0,0,0
Current State: 78:[80, 2], Operations: ['68-49=19', '19-17=2']
Exploring Operation: 80/2=40, Resulting Numbers: [40]
40,78 unequal: No Solution
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[68, 17, 49, 80], Operations: []
Exploring Operation: 68-49=19, Resulting Numbers: [17, 80, 19]
Generated Node #0,0: 78:[17, 80, 19] Operation: 68-49=19
Moving to Node #0,0
Current State: 78:[17, 80, 19], Operations: ['68-49=19']
Exploring Operation: 19-17=2, Resulting Numbers: [80, 2]
Generated Node #0,0,0: 78:[80, 2] Operation: 19-17=2
Moving to Node #0,0,0
Current State: 78:[80, 2], Operations: ['68-49=19', '19-17=2']
Exploring Operation: 80-2=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 |
hs_2
|
sum_heuristic
|
[
87,
23,
44,
88
] | 21 |
[
"88-87=1",
"44-23=21",
"1*21=21"
] |
Current State: 21:[87, 23, 44, 88], Operations: []
Exploring Operation: 88-87=1, Resulting Numbers: [23, 44, 1]
Generated Node #2: [23, 44, 1] from Operation: 88-87=1
Current State: 21:[23, 44, 1], Operations: ['88-87=1']
Exploring Operation: 44-23=21, Resulting Numbers: [1, 21]
Generated Node #3: [1, 21] from Operation: 44-23=21
Current State: 21:[1, 21], Operations: ['88-87=1', '44-23=21']
Exploring Operation: 1*21=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 |
Current State: 21:[87, 23, 44, 88], Operations: []
Exploring Operation: 88-87=1, Resulting Numbers: [23, 44, 1]
Generated Node #0,0: 21:[23, 44, 1] Operation: 88-87=1
Exploring Operation: 87-44=43, Resulting Numbers: [23, 88, 43]
Generated Node #0,1: 21:[23, 88, 43] Operation: 87-44=43
Exploring Operation: 88/44=2, Resulting Numbers: [87, 23, 2]
Generated Node #0,2: 21:[87, 23, 2] Operation: 88/44=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[23, 44, 1], Operations: ['88-87=1']
Exploring Operation: 44-23=21, Resulting Numbers: [1, 21]
Generated Node #0,0,0: 21:[1, 21] Operation: 44-23=21
Exploring Operation: 23-1=22, Resulting Numbers: [44, 22]
Generated Node #0,0,1: 21:[44, 22] Operation: 23-1=22
Exploring Operation: 44-1=43, Resulting Numbers: [23, 43]
Generated Node #0,0,2: 21:[23, 43] Operation: 44-1=43
Moving to Node #0,0,0
Current State: 21:[1, 21], Operations: ['88-87=1', '44-23=21']
Exploring Operation: 1*21=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[87, 23, 44, 88], Operations: []
Exploring Operation: 88-87=1, Resulting Numbers: [23, 44, 1]
Generated Node #0,0: 21:[23, 44, 1] Operation: 88-87=1
Moving to Node #0,0
Current State: 21:[23, 44, 1], Operations: ['88-87=1']
Exploring Operation: 44-23=21, Resulting Numbers: [1, 21]
Generated Node #0,0,0: 21:[1, 21] Operation: 44-23=21
Moving to Node #0,0,0
Current State: 21:[1, 21], Operations: ['88-87=1', '44-23=21']
Exploring Operation: 1*21=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 |
hs_3
|
sum_heuristic
|
[
95,
75,
78,
22
] | 29 |
[
"78-75=3",
"22*3=66",
"95-66=29"
] |
Current State: 29:[95, 75, 78, 22], Operations: []
Exploring Operation: 78-75=3, Resulting Numbers: [95, 22, 3]
Generated Node #2: [95, 22, 3] from Operation: 78-75=3
Current State: 29:[95, 22, 3], Operations: ['78-75=3']
Exploring Operation: 22*3=66, Resulting Numbers: [95, 66]
Generated Node #3: [95, 66] from Operation: 22*3=66
Current State: 29:[95, 66], Operations: ['78-75=3', '22*3=66']
Exploring Operation: 95-66=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 |
Current State: 29:[95, 75, 78, 22], Operations: []
Exploring Operation: 95-78=17, Resulting Numbers: [75, 22, 17]
Generated Node #0,0: 29:[75, 22, 17] Operation: 95-78=17
Exploring Operation: 95-75=20, Resulting Numbers: [78, 22, 20]
Generated Node #0,1: 29:[78, 22, 20] Operation: 95-75=20
Exploring Operation: 78-75=3, Resulting Numbers: [95, 22, 3]
Generated Node #0,2: 29:[95, 22, 3] Operation: 78-75=3
Exploring Operation: 95-22=73, Resulting Numbers: [75, 78, 73]
Generated Node #0,3: 29:[75, 78, 73] Operation: 95-22=73
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[75, 22, 17], Operations: ['95-78=17']
Exploring Operation: 22+17=39, Resulting Numbers: [75, 39]
Generated Node #0,0,0: 29:[75, 39] Operation: 22+17=39
Exploring Operation: 75-17=58, Resulting Numbers: [22, 58]
Generated Node #0,0,1: 29:[22, 58] Operation: 75-17=58
Exploring Operation: 75-22=53, Resulting Numbers: [17, 53]
Generated Node #0,0,2: 29:[17, 53] Operation: 75-22=53
Exploring Operation: 75+17=92, Resulting Numbers: [22, 92]
Generated Node #0,0,3: 29:[22, 92] Operation: 75+17=92
Moving to Node #0,0,1
Current State: 29:[22, 58], Operations: ['95-78=17', '75-17=58']
Exploring Operation: 58-22=36, Resulting Numbers: [36]
36,29 unequal: No Solution
Exploring Operation: 22*58=1276, Resulting Numbers: [1276]
1276,29 unequal: No Solution
Exploring Operation: 22+58=80, Resulting Numbers: [80]
80,29 unequal: No Solution
Moving to Node #0,0,2
Current State: 29:[17, 53], Operations: ['95-78=17', '75-22=53']
Exploring Operation: 17*53=901, Resulting Numbers: [901]
901,29 unequal: No Solution
Exploring Operation: 17+53=70, Resulting Numbers: [70]
70,29 unequal: No Solution
Exploring Operation: 53-17=36, Resulting Numbers: [36]
36,29 unequal: No Solution
Moving to Node #0,0,0
Current State: 29:[75, 39], Operations: ['95-78=17', '22+17=39']
Exploring Operation: 75-39=36, Resulting Numbers: [36]
36,29 unequal: No Solution
Exploring Operation: 75+39=114, Resulting Numbers: [114]
114,29 unequal: No Solution
Exploring Operation: 75*39=2925, Resulting Numbers: [2925]
2925,29 unequal: No Solution
Moving to Node #0,0,3
Current State: 29:[22, 92], Operations: ['95-78=17', '75+17=92']
Exploring Operation: 22*92=2024, Resulting Numbers: [2024]
2024,29 unequal: No Solution
Exploring Operation: 92-22=70, Resulting Numbers: [70]
70,29 unequal: No Solution
Exploring Operation: 22+92=114, Resulting Numbers: [114]
114,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:[78, 22, 20], Operations: ['95-75=20']
Exploring Operation: 78-20=58, Resulting Numbers: [22, 58]
Generated Node #0,1,0: 29:[22, 58] Operation: 78-20=58
Exploring Operation: 78+20=98, Resulting Numbers: [22, 98]
Generated Node #0,1,1: 29:[22, 98] Operation: 78+20=98
Exploring Operation: 78-22=56, Resulting Numbers: [20, 56]
Generated Node #0,1,2: 29:[20, 56] Operation: 78-22=56
Exploring Operation: 22+20=42, Resulting Numbers: [78, 42]
Generated Node #0,1,3: 29:[78, 42] Operation: 22+20=42
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 29:[22, 58], Operations: ['95-75=20', '78-20=58']
Exploring Operation: 58-22=36, Resulting Numbers: [36]
36,29 unequal: No Solution
Exploring Operation: 22*58=1276, Resulting Numbers: [1276]
1276,29 unequal: No Solution
Exploring Operation: 22+58=80, Resulting Numbers: [80]
80,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,1,2
Current State: 29:[20, 56], Operations: ['95-75=20', '78-22=56']
Exploring Operation: 56-20=36, Resulting Numbers: [36]
36,29 unequal: No Solution
Exploring Operation: 20+56=76, Resulting Numbers: [76]
76,29 unequal: No Solution
Exploring Operation: 20*56=1120, Resulting Numbers: [1120]
1120,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,1,3
Current State: 29:[78, 42], Operations: ['95-75=20', '22+20=42']
Exploring Operation: 78-42=36, Resulting Numbers: [36]
36,29 unequal: No Solution
Exploring Operation: 78+42=120, Resulting Numbers: [120]
120,29 unequal: No Solution
Exploring Operation: 78*42=3276, Resulting Numbers: [3276]
3276,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,1,1
Current State: 29:[22, 98], Operations: ['95-75=20', '78+20=98']
Exploring Operation: 22+98=120, Resulting Numbers: [120]
120,29 unequal: No Solution
Exploring Operation: 22*98=2156, Resulting Numbers: [2156]
2156,29 unequal: No Solution
Exploring Operation: 98-22=76, Resulting Numbers: [76]
76,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,2
Current State: 29:[95, 22, 3], Operations: ['78-75=3']
Exploring Operation: 22+3=25, Resulting Numbers: [95, 25]
Generated Node #0,2,0: 29:[95, 25] Operation: 22+3=25
Exploring Operation: 95-3=92, Resulting Numbers: [22, 92]
Generated Node #0,2,1: 29:[22, 92] Operation: 95-3=92
Exploring Operation: 95-22=73, Resulting Numbers: [3, 73]
Generated Node #0,2,2: 29:[3, 73] Operation: 95-22=73
Exploring Operation: 95+3=98, Resulting Numbers: [22, 98]
Generated Node #0,2,3: 29:[22, 98] Operation: 95+3=98
Moving to Node #0,2,0
Current State: 29:[95, 25], Operations: ['78-75=3', '22+3=25']
Exploring Operation: 95+25=120, Resulting Numbers: [120]
120,29 unequal: No Solution
Exploring Operation: 95-25=70, Resulting Numbers: [70]
70,29 unequal: No Solution
Exploring Operation: 95*25=2375, Resulting Numbers: [2375]
2375,29 unequal: No Solution
Moving to Node #0,2,2
Current State: 29:[3, 73], Operations: ['78-75=3', '95-22=73']
Exploring Operation: 3*73=219, Resulting Numbers: [219]
219,29 unequal: No Solution
Exploring Operation: 73-3=70, Resulting Numbers: [70]
70,29 unequal: No Solution
Exploring Operation: 3+73=76, Resulting Numbers: [76]
76,29 unequal: No Solution
Moving to Node #0,2,1
Current State: 29:[22, 92], Operations: ['78-75=3', '95-3=92']
Exploring Operation: 22*92=2024, Resulting Numbers: [2024]
2024,29 unequal: No Solution
Exploring Operation: 92-22=70, Resulting Numbers: [70]
70,29 unequal: No Solution
Exploring Operation: 22+92=114, Resulting Numbers: [114]
114,29 unequal: No Solution
Moving to Node #0,2,3
Current State: 29:[22, 98], Operations: ['78-75=3', '95+3=98']
Exploring Operation: 98-22=76, Resulting Numbers: [76]
76,29 unequal: No Solution
Exploring Operation: 22*98=2156, Resulting Numbers: [2156]
2156,29 unequal: No Solution
Exploring Operation: 22+98=120, Resulting Numbers: [120]
120,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 29:[75, 78, 73], Operations: ['95-22=73']
Exploring Operation: 75-73=2, Resulting Numbers: [78, 2]
Generated Node #0,3,0: 29:[78, 2] Operation: 75-73=2
Exploring Operation: 78-75=3, Resulting Numbers: [73, 3]
Generated Node #0,3,1: 29:[73, 3] Operation: 78-75=3
Exploring Operation: 75+78=153, Resulting Numbers: [73, 153]
Generated Node #0,3,2: 29:[73, 153] Operation: 75+78=153
Exploring Operation: 78-73=5, Resulting Numbers: [75, 5]
Generated Node #0,3,3: 29:[75, 5] Operation: 78-73=5
Moving to Node #0,3,1
Current State: 29:[73, 3], Operations: ['95-22=73', '78-75=3']
Exploring Operation: 73-3=70, Resulting Numbers: [70]
70,29 unequal: No Solution
Exploring Operation: 73+3=76, Resulting Numbers: [76]
76,29 unequal: No Solution
Exploring Operation: 73*3=219, Resulting Numbers: [219]
219,29 unequal: No Solution
Moving to Node #0,3,3
Current State: 29:[75, 5], Operations: ['95-22=73', '78-73=5']
Exploring Operation: 75-5=70, Resulting Numbers: [70]
70,29 unequal: No Solution
Exploring Operation: 75/5=15, Resulting Numbers: [15]
15,29 unequal: No Solution
Exploring Operation: 75+5=80, Resulting Numbers: [80]
80,29 unequal: No Solution
Exploring Operation: 75*5=375, Resulting Numbers: [375]
375,29 unequal: No Solution
Moving to Node #0,3,0
Current State: 29:[78, 2], Operations: ['95-22=73', '75-73=2']
Exploring Operation: 78/2=39, Resulting Numbers: [39]
39,29 unequal: No Solution
Exploring Operation: 78*2=156, Resulting Numbers: [156]
156,29 unequal: No Solution
Exploring Operation: 78-2=76, Resulting Numbers: [76]
76,29 unequal: No Solution
Exploring Operation: 78+2=80, Resulting Numbers: [80]
80,29 unequal: No Solution
Moving to Node #0,3,2
Current State: 29:[73, 153], Operations: ['95-22=73', '75+78=153']
Exploring Operation: 73*153=11169, Resulting Numbers: [11169]
11169,29 unequal: No Solution
Exploring Operation: 73+153=226, Resulting Numbers: [226]
226,29 unequal: No Solution
Exploring Operation: 153-73=80, Resulting Numbers: [80]
80,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_4
|
mult_heuristic
|
[
3,
90,
9,
25
] | 45 |
[
"3*90=270",
"9*25=225",
"270-225=45"
] |
Current State: 45:[3, 90, 9, 25], Operations: []
Exploring Operation: 3*90=270, Resulting Numbers: [9, 25, 270]
Generated Node #2: [9, 25, 270] from Operation: 3*90=270
Current State: 45:[9, 25, 270], Operations: ['3*90=270']
Exploring Operation: 9*25=225, Resulting Numbers: [270, 225]
Generated Node #3: [270, 225] from Operation: 9*25=225
Current State: 45:[270, 225], Operations: ['3*90=270', '9*25=225']
Exploring Operation: 270-225=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 |
Current State: 45:[3, 90, 9, 25], Operations: []
Exploring Operation: 90-9=81, Resulting Numbers: [3, 25, 81]
Generated Node #0,0: 45:[3, 25, 81] Operation: 90-9=81
Exploring Operation: 90/3=30, Resulting Numbers: [9, 25, 30]
Generated Node #0,1: 45:[9, 25, 30] Operation: 90/3=30
Exploring Operation: 90/9=10, Resulting Numbers: [3, 25, 10]
Generated Node #0,2: 45:[3, 25, 10] Operation: 90/9=10
Exploring Operation: 90-25=65, Resulting Numbers: [3, 9, 65]
Generated Node #0,3: 45:[3, 9, 65] Operation: 90-25=65
Moving to Node #0,2
Current State: 45:[3, 25, 10], Operations: ['90/9=10']
Exploring Operation: 25-10=15, Resulting Numbers: [3, 15]
Generated Node #0,2,0: 45:[3, 15] Operation: 25-10=15
Exploring Operation: 25-3=22, Resulting Numbers: [10, 22]
Generated Node #0,2,1: 45:[10, 22] Operation: 25-3=22
Exploring Operation: 25+10=35, Resulting Numbers: [3, 35]
Generated Node #0,2,2: 45:[3, 35] Operation: 25+10=35
Exploring Operation: 3+10=13, Resulting Numbers: [25, 13]
Generated Node #0,2,3: 45:[25, 13] Operation: 3+10=13
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 45:[3, 15], Operations: ['90/9=10', '25-10=15']
Exploring Operation: 15/3=5, Resulting Numbers: [5]
5,45 unequal: No Solution
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Moving to Node #0
Current State: 45:[3, 90, 9, 25], Operations: []
Exploring Operation: 90/9=10, Resulting Numbers: [3, 25, 10]
Generated Node #0,2: 45:[3, 25, 10] Operation: 90/9=10
Moving to Node #0,2
Current State: 45:[3, 25, 10], Operations: ['90/9=10']
Exploring Operation: 25-10=15, Resulting Numbers: [3, 15]
Generated Node #0,2,0: 45:[3, 15] Operation: 25-10=15
Moving to Node #0,2,0
Current State: 45:[3, 15], Operations: ['90/9=10', '25-10=15']
Exploring Operation: 3*15=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 |
hs_4
|
mult_heuristic
|
[
2,
50,
56,
96
] | 32 |
[
"2*96=192",
"56-50=6",
"192/6=32"
] |
Current State: 32:[2, 50, 56, 96], Operations: []
Exploring Operation: 2*96=192, Resulting Numbers: [50, 56, 192]
Generated Node #2: [50, 56, 192] from Operation: 2*96=192
Current State: 32:[50, 56, 192], Operations: ['2*96=192']
Exploring Operation: 56-50=6, Resulting Numbers: [192, 6]
Generated Node #3: [192, 6] from Operation: 56-50=6
Current State: 32:[192, 6], Operations: ['2*96=192', '56-50=6']
Exploring Operation: 192/6=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 |
Current State: 32:[2, 50, 56, 96], Operations: []
Exploring Operation: 96-56=40, Resulting Numbers: [2, 50, 40]
Generated Node #0,0: 32:[2, 50, 40] Operation: 96-56=40
Exploring Operation: 96/2=48, Resulting Numbers: [50, 56, 48]
Generated Node #0,1: 32:[50, 56, 48] Operation: 96/2=48
Exploring Operation: 96-50=46, Resulting Numbers: [2, 56, 46]
Generated Node #0,2: 32:[2, 56, 46] Operation: 96-50=46
Exploring Operation: 56-50=6, Resulting Numbers: [2, 96, 6]
Generated Node #0,3: 32:[2, 96, 6] Operation: 56-50=6
Moving to Node #0,0
Current State: 32:[2, 50, 40], Operations: ['96-56=40']
Exploring Operation: 50-2=48, Resulting Numbers: [40, 48]
Generated Node #0,0,0: 32:[40, 48] Operation: 50-2=48
Exploring Operation: 50-40=10, Resulting Numbers: [2, 10]
Generated Node #0,0,1: 32:[2, 10] Operation: 50-40=10
Exploring Operation: 50/2=25, Resulting Numbers: [40, 25]
Generated Node #0,0,2: 32:[40, 25] Operation: 50/2=25
Exploring Operation: 40/2=20, Resulting Numbers: [50, 20]
Generated Node #0,0,3: 32:[50, 20] Operation: 40/2=20
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 32:[2, 10], Operations: ['96-56=40', '50-40=10']
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,32 unequal: No Solution
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,32 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,32 unequal: No Solution
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 32:[40, 25], Operations: ['96-56=40', '50/2=25']
Exploring Operation: 40*25=1000, Resulting Numbers: [1000]
1000,32 unequal: No Solution
Exploring Operation: 40-25=15, Resulting Numbers: [15]
15,32 unequal: No Solution
Exploring Operation: 40+25=65, Resulting Numbers: [65]
65,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 32:[50, 20], Operations: ['96-56=40', '40/2=20']
Exploring Operation: 50*20=1000, Resulting Numbers: [1000]
1000,32 unequal: No Solution
Exploring Operation: 50+20=70, Resulting Numbers: [70]
70,32 unequal: No Solution
Exploring Operation: 50-20=30, Resulting Numbers: [30]
30,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[40, 48], Operations: ['96-56=40', '50-2=48']
Exploring Operation: 40+48=88, Resulting Numbers: [88]
88,32 unequal: No Solution
Exploring Operation: 48-40=8, Resulting Numbers: [8]
8,32 unequal: No Solution
Exploring Operation: 40*48=1920, Resulting Numbers: [1920]
1920,32 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: 32:[2, 56, 46], Operations: ['96-50=46']
Exploring Operation: 56-46=10, Resulting Numbers: [2, 10]
Generated Node #0,2,0: 32:[2, 10] Operation: 56-46=10
Exploring Operation: 56/2=28, Resulting Numbers: [46, 28]
Generated Node #0,2,1: 32:[46, 28] Operation: 56/2=28
Exploring Operation: 46/2=23, Resulting Numbers: [56, 23]
Generated Node #0,2,2: 32:[56, 23] Operation: 46/2=23
Exploring Operation: 56-2=54, Resulting Numbers: [46, 54]
Generated Node #0,2,3: 32:[46, 54] Operation: 56-2=54
Moving to Node #0,1
Current State: 32:[50, 56, 48], Operations: ['96/2=48']
Exploring Operation: 50+56=106, Resulting Numbers: [48, 106]
Generated Node #0,1,0: 32:[48, 106] Operation: 50+56=106
Exploring Operation: 56-50=6, Resulting Numbers: [48, 6]
Generated Node #0,1,1: 32:[48, 6] Operation: 56-50=6
Exploring Operation: 56-48=8, Resulting Numbers: [50, 8]
Generated Node #0,1,2: 32:[50, 8] Operation: 56-48=8
Exploring Operation: 50-48=2, Resulting Numbers: [56, 2]
Generated Node #0,1,3: 32:[56, 2] Operation: 50-48=2
Moving to Node #0,3
Current State: 32:[2, 96, 6], Operations: ['56-50=6']
Exploring Operation: 96/6=16, Resulting Numbers: [2, 16]
Generated Node #0,3,0: 32:[2, 16] Operation: 96/6=16
Exploring Operation: 96-6=90, Resulting Numbers: [2, 90]
Generated Node #0,3,1: 32:[2, 90] Operation: 96-6=90
Exploring Operation: 96-2=94, Resulting Numbers: [6, 94]
Generated Node #0,3,2: 32:[6, 94] Operation: 96-2=94
Exploring Operation: 96/2=48, Resulting Numbers: [6, 48]
Generated Node #0,3,3: 32:[6, 48] Operation: 96/2=48
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 32:[2, 16], Operations: ['56-50=6', '96/6=16']
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,32 unequal: No Solution
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[2, 50, 56, 96], Operations: []
Exploring Operation: 56-50=6, Resulting Numbers: [2, 96, 6]
Generated Node #0,3: 32:[2, 96, 6] Operation: 56-50=6
Moving to Node #0,3
Current State: 32:[2, 96, 6], Operations: ['56-50=6']
Exploring Operation: 96/6=16, Resulting Numbers: [2, 16]
Generated Node #0,3,0: 32:[2, 16] Operation: 96/6=16
Moving to Node #0,3,0
Current State: 32:[2, 16], Operations: ['56-50=6', '96/6=16']
Exploring Operation: 2*16=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 |
hs_4
|
mult_heuristic
|
[
37,
19,
39,
10
] | 27 |
[
"37+19=56",
"39-10=29",
"56-29=27"
] |
Current State: 27:[37, 19, 39, 10], Operations: []
Exploring Operation: 37+19=56, Resulting Numbers: [39, 10, 56]
Generated Node #2: [39, 10, 56] from Operation: 37+19=56
Current State: 27:[39, 10, 56], Operations: ['37+19=56']
Exploring Operation: 39-10=29, Resulting Numbers: [56, 29]
Generated Node #3: [56, 29] from Operation: 39-10=29
Current State: 27:[56, 29], Operations: ['37+19=56', '39-10=29']
Exploring Operation: 56-29=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 |
Current State: 27:[37, 19, 39, 10], Operations: []
Exploring Operation: 39-37=2, Resulting Numbers: [19, 10, 2]
Generated Node #0,0: 27:[19, 10, 2] Operation: 39-37=2
Exploring Operation: 39-10=29, Resulting Numbers: [37, 19, 29]
Generated Node #0,1: 27:[37, 19, 29] Operation: 39-10=29
Exploring Operation: 37-10=27, Resulting Numbers: [19, 39, 27]
Generated Node #0,2: 27:[19, 39, 27] Operation: 37-10=27
Exploring Operation: 39-19=20, Resulting Numbers: [37, 10, 20]
Generated Node #0,3: 27:[37, 10, 20] Operation: 39-19=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[19, 10, 2], Operations: ['39-37=2']
Exploring Operation: 19+10=29, Resulting Numbers: [2, 29]
Generated Node #0,0,0: 27:[2, 29] Operation: 19+10=29
Exploring Operation: 19-2=17, Resulting Numbers: [10, 17]
Generated Node #0,0,1: 27:[10, 17] Operation: 19-2=17
Exploring Operation: 19+2=21, Resulting Numbers: [10, 21]
Generated Node #0,0,2: 27:[10, 21] Operation: 19+2=21
Exploring Operation: 19-10=9, Resulting Numbers: [2, 9]
Generated Node #0,0,3: 27:[2, 9] Operation: 19-10=9
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 27:[2, 9], Operations: ['39-37=2', '19-10=9']
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,27 unequal: No Solution
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,27 unequal: No Solution
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 27:[2, 29], Operations: ['39-37=2', '19+10=29']
Exploring Operation: 2*29=58, Resulting Numbers: [58]
58,27 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[37, 19, 39, 10], Operations: []
Exploring Operation: 39-37=2, Resulting Numbers: [19, 10, 2]
Generated Node #0,0: 27:[19, 10, 2] Operation: 39-37=2
Moving to Node #0,0
Current State: 27:[19, 10, 2], Operations: ['39-37=2']
Exploring Operation: 19+10=29, Resulting Numbers: [2, 29]
Generated Node #0,0,0: 27:[2, 29] Operation: 19+10=29
Moving to Node #0,0,0
Current State: 27:[2, 29], Operations: ['39-37=2', '19+10=29']
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 |
hs_4
|
mult_heuristic
|
[
6,
30,
2,
14
] | 48 |
[
"6+30=36",
"14-2=12",
"36+12=48"
] |
Current State: 48:[6, 30, 2, 14], Operations: []
Exploring Operation: 6+30=36, Resulting Numbers: [2, 14, 36]
Generated Node #2: [2, 14, 36] from Operation: 6+30=36
Current State: 48:[2, 14, 36], Operations: ['6+30=36']
Exploring Operation: 14-2=12, Resulting Numbers: [36, 12]
Generated Node #3: [36, 12] from Operation: 14-2=12
Current State: 48:[36, 12], Operations: ['6+30=36', '14-2=12']
Exploring Operation: 36+12=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 |
Current State: 48:[6, 30, 2, 14], Operations: []
Exploring Operation: 30-6=24, Resulting Numbers: [2, 14, 24]
Generated Node #0,0: 48:[2, 14, 24] Operation: 30-6=24
Exploring Operation: 30/6=5, Resulting Numbers: [2, 14, 5]
Generated Node #0,1: 48:[2, 14, 5] Operation: 30/6=5
Exploring Operation: 30/2=15, Resulting Numbers: [6, 14, 15]
Generated Node #0,2: 48:[6, 14, 15] Operation: 30/2=15
Exploring Operation: 30-14=16, Resulting Numbers: [6, 2, 16]
Generated Node #0,3: 48:[6, 2, 16] Operation: 30-14=16
Exploring Operation: 30+14=44, Resulting Numbers: [6, 2, 44]
Generated Node #0,4: 48:[6, 2, 44] Operation: 30+14=44
Moving to Node #0,3
Current State: 48:[6, 2, 16], Operations: ['30-14=16']
Exploring Operation: 6-2=4, Resulting Numbers: [16, 4]
Generated Node #0,3,0: 48:[16, 4] Operation: 6-2=4
Exploring Operation: 16/2=8, Resulting Numbers: [6, 8]
Generated Node #0,3,1: 48:[6, 8] Operation: 16/2=8
Exploring Operation: 6+2=8, Resulting Numbers: [16, 8]
Generated Node #0,3,2: 48:[16, 8] Operation: 6+2=8
Exploring Operation: 6/2=3, Resulting Numbers: [16, 3]
Generated Node #0,3,3: 48:[16, 3] Operation: 6/2=3
Exploring Operation: 6*2=12, Resulting Numbers: [16, 12]
Generated Node #0,3,4: 48:[16, 12] Operation: 6*2=12
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 48:[16, 4], Operations: ['30-14=16', '6-2=4']
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,48 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,48 unequal: No Solution
Exploring Operation: 16*4=64, Resulting Numbers: [64]
64,48 unequal: No Solution
Exploring Operation: 16+4=20, Resulting Numbers: [20]
20,48 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 48:[6, 8], Operations: ['30-14=16', '16/2=8']
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,48 unequal: No Solution
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[6, 30, 2, 14], Operations: []
Exploring Operation: 30-14=16, Resulting Numbers: [6, 2, 16]
Generated Node #0,3: 48:[6, 2, 16] Operation: 30-14=16
Moving to Node #0,3
Current State: 48:[6, 2, 16], Operations: ['30-14=16']
Exploring Operation: 16/2=8, Resulting Numbers: [6, 8]
Generated Node #0,3,1: 48:[6, 8] Operation: 16/2=8
Moving to Node #0,3,1
Current State: 48:[6, 8], Operations: ['30-14=16', '16/2=8']
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 |
hs_5
|
sum_heuristic
|
[
25,
68,
84,
51
] | 10 |
[
"68-25=43",
"84-51=33",
"43-33=10"
] |
Current State: 10:[25, 68, 84, 51], Operations: []
Exploring Operation: 68-25=43, Resulting Numbers: [84, 51, 43]
Generated Node #2: [84, 51, 43] from Operation: 68-25=43
Current State: 10:[84, 51, 43], Operations: ['68-25=43']
Exploring Operation: 84-51=33, Resulting Numbers: [43, 33]
Generated Node #3: [43, 33] from Operation: 84-51=33
Current State: 10:[43, 33], Operations: ['68-25=43', '84-51=33']
Exploring Operation: 43-33=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 |
Current State: 10:[25, 68, 84, 51], Operations: []
Exploring Operation: 68-51=17, Resulting Numbers: [25, 84, 17]
Generated Node #0,0: 10:[25, 84, 17] Operation: 68-51=17
Exploring Operation: 84-68=16, Resulting Numbers: [25, 51, 16]
Generated Node #0,1: 10:[25, 51, 16] Operation: 84-68=16
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[25, 51, 16], Operations: ['84-68=16']
Exploring Operation: 51-25=26, Resulting Numbers: [16, 26]
Generated Node #0,1,0: 10:[16, 26] Operation: 51-25=26
Exploring Operation: 51-16=35, Resulting Numbers: [25, 35]
Generated Node #0,1,1: 10:[25, 35] Operation: 51-16=35
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 10:[16, 26], Operations: ['84-68=16', '51-25=26']
Exploring Operation: 16+26=42, Resulting Numbers: [42]
42,10 unequal: No Solution
Exploring Operation: 26-16=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[25, 68, 84, 51], Operations: []
Exploring Operation: 84-68=16, Resulting Numbers: [25, 51, 16]
Generated Node #0,1: 10:[25, 51, 16] Operation: 84-68=16
Moving to Node #0,1
Current State: 10:[25, 51, 16], Operations: ['84-68=16']
Exploring Operation: 51-25=26, Resulting Numbers: [16, 26]
Generated Node #0,1,0: 10:[16, 26] Operation: 51-25=26
Moving to Node #0,1,0
Current State: 10:[16, 26], Operations: ['84-68=16', '51-25=26']
Exploring Operation: 26-16=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 |
hs_2
|
mult_heuristic
|
[
3,
59,
84,
36
] | 24 |
[
"59-3=56",
"36*56=2016",
"2016/84=24"
] |
Current State: 24:[3, 59, 84, 36], Operations: []
Exploring Operation: 59-3=56, Resulting Numbers: [84, 36, 56]
Generated Node #2: [84, 36, 56] from Operation: 59-3=56
Current State: 24:[84, 36, 56], Operations: ['59-3=56']
Exploring Operation: 36*56=2016, Resulting Numbers: [84, 2016]
Generated Node #3: [84, 2016] from Operation: 36*56=2016
Current State: 24:[84, 2016], Operations: ['59-3=56', '36*56=2016']
Exploring Operation: 2016/84=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 |
Current State: 24:[3, 59, 84, 36], Operations: []
Exploring Operation: 84-59=25, Resulting Numbers: [3, 36, 25]
Generated Node #0,0: 24:[3, 36, 25] Operation: 84-59=25
Exploring Operation: 59-36=23, Resulting Numbers: [3, 84, 23]
Generated Node #0,1: 24:[3, 84, 23] Operation: 59-36=23
Exploring Operation: 84-36=48, Resulting Numbers: [3, 59, 48]
Generated Node #0,2: 24:[3, 59, 48] Operation: 84-36=48
Exploring Operation: 84/3=28, Resulting Numbers: [59, 36, 28]
Generated Node #0,3: 24:[59, 36, 28] Operation: 84/3=28
Moving to Node #0,0
Current State: 24:[3, 36, 25], Operations: ['84-59=25']
Exploring Operation: 36/3=12, Resulting Numbers: [25, 12]
Generated Node #0,0,0: 24:[25, 12] Operation: 36/3=12
Exploring Operation: 36-3=33, Resulting Numbers: [25, 33]
Generated Node #0,0,1: 24:[25, 33] Operation: 36-3=33
Exploring Operation: 36-25=11, Resulting Numbers: [3, 11]
Generated Node #0,0,2: 24:[3, 11] Operation: 36-25=11
Exploring Operation: 25-3=22, Resulting Numbers: [36, 22]
Generated Node #0,0,3: 24:[36, 22] Operation: 25-3=22
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[25, 12], Operations: ['84-59=25', '36/3=12']
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,24 unequal: No Solution
Exploring Operation: 25+12=37, Resulting Numbers: [37]
37,24 unequal: No Solution
Exploring Operation: 25*12=300, Resulting Numbers: [300]
300,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,2
Current State: 24:[3, 11], Operations: ['84-59=25', '36-25=11']
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,24 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,24 unequal: No Solution
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,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:[25, 33], Operations: ['84-59=25', '36-3=33']
Exploring Operation: 25*33=825, Resulting Numbers: [825]
825,24 unequal: No Solution
Exploring Operation: 25+33=58, Resulting Numbers: [58]
58,24 unequal: No Solution
Exploring Operation: 33-25=8, Resulting Numbers: [8]
8,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,3
Current State: 24:[36, 22], Operations: ['84-59=25', '25-3=22']
Exploring Operation: 36*22=792, Resulting Numbers: [792]
792,24 unequal: No Solution
Exploring Operation: 36+22=58, Resulting Numbers: [58]
58,24 unequal: No Solution
Exploring Operation: 36-22=14, Resulting Numbers: [14]
14,24 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: 24:[59, 36, 28], Operations: ['84/3=28']
Exploring Operation: 59-36=23, Resulting Numbers: [28, 23]
Generated Node #0,3,0: 24:[28, 23] Operation: 59-36=23
Exploring Operation: 36-28=8, Resulting Numbers: [59, 8]
Generated Node #0,3,1: 24:[59, 8] Operation: 36-28=8
Exploring Operation: 59+36=95, Resulting Numbers: [28, 95]
Generated Node #0,3,2: 24:[28, 95] Operation: 59+36=95
Exploring Operation: 59-28=31, Resulting Numbers: [36, 31]
Generated Node #0,3,3: 24:[36, 31] Operation: 59-28=31
Moving to Node #0,2
Current State: 24:[3, 59, 48], Operations: ['84-36=48']
Exploring Operation: 59-48=11, Resulting Numbers: [3, 11]
Generated Node #0,2,0: 24:[3, 11] Operation: 59-48=11
Exploring Operation: 48-3=45, Resulting Numbers: [59, 45]
Generated Node #0,2,1: 24:[59, 45] Operation: 48-3=45
Exploring Operation: 59-3=56, Resulting Numbers: [48, 56]
Generated Node #0,2,2: 24:[48, 56] Operation: 59-3=56
Exploring Operation: 48/3=16, Resulting Numbers: [59, 16]
Generated Node #0,2,3: 24:[59, 16] Operation: 48/3=16
Moving to Node #0,1
Current State: 24:[3, 84, 23], Operations: ['59-36=23']
Exploring Operation: 84-23=61, Resulting Numbers: [3, 61]
Generated Node #0,1,0: 24:[3, 61] Operation: 84-23=61
Exploring Operation: 84/3=28, Resulting Numbers: [23, 28]
Generated Node #0,1,1: 24:[23, 28] Operation: 84/3=28
Exploring Operation: 84-3=81, Resulting Numbers: [23, 81]
Generated Node #0,1,2: 24:[23, 81] Operation: 84-3=81
Exploring Operation: 3+23=26, Resulting Numbers: [84, 26]
Generated Node #0,1,3: 24:[84, 26] Operation: 3+23=26
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 24:[23, 28], Operations: ['59-36=23', '84/3=28']
Exploring Operation: 23*28=644, Resulting Numbers: [644]
644,24 unequal: No Solution
Exploring Operation: 23+28=51, Resulting Numbers: [51]
51,24 unequal: No Solution
Exploring Operation: 28-23=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,1,0
Current State: 24:[3, 61], Operations: ['59-36=23', '84-23=61']
Exploring Operation: 3+61=64, Resulting Numbers: [64]
64,24 unequal: No Solution
Exploring Operation: 3*61=183, Resulting Numbers: [183]
183,24 unequal: No Solution
Exploring Operation: 61-3=58, Resulting Numbers: [58]
58,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 24:[23, 81], Operations: ['59-36=23', '84-3=81']
Exploring Operation: 81-23=58, Resulting Numbers: [58]
58,24 unequal: No Solution
Exploring Operation: 23+81=104, Resulting Numbers: [104]
104,24 unequal: No Solution
Exploring Operation: 23*81=1863, Resulting Numbers: [1863]
1863,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 24:[84, 26], Operations: ['59-36=23', '3+23=26']
Exploring Operation: 84+26=110, Resulting Numbers: [110]
110,24 unequal: No Solution
Exploring Operation: 84-26=58, Resulting Numbers: [58]
58,24 unequal: No Solution
Exploring Operation: 84*26=2184, Resulting Numbers: [2184]
2184,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 24:[3, 11], Operations: ['84-36=48', '59-48=11']
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,24 unequal: No Solution
Exploring Operation: 3+11=14, Resulting Numbers: [14]
14,24 unequal: No Solution
Exploring Operation: 3*11=33, Resulting Numbers: [33]
33,24 unequal: No Solution
Moving to Node #0,3,0
Current State: 24:[28, 23], Operations: ['84/3=28', '59-36=23']
Exploring Operation: 28*23=644, Resulting Numbers: [644]
644,24 unequal: No Solution
Exploring Operation: 28-23=5, Resulting Numbers: [5]
5,24 unequal: No Solution
Exploring Operation: 28+23=51, Resulting Numbers: [51]
51,24 unequal: No Solution
Moving to Node #0,3,3
Current State: 24:[36, 31], Operations: ['84/3=28', '59-28=31']
Exploring Operation: 36-31=5, Resulting Numbers: [5]
5,24 unequal: No Solution
Exploring Operation: 36+31=67, Resulting Numbers: [67]
67,24 unequal: No Solution
Exploring Operation: 36*31=1116, Resulting Numbers: [1116]
1116,24 unequal: No Solution
Moving to Node #0,3,1
Current State: 24:[59, 8], Operations: ['84/3=28', '36-28=8']
Exploring Operation: 59+8=67, Resulting Numbers: [67]
67,24 unequal: No Solution
Exploring Operation: 59-8=51, Resulting Numbers: [51]
51,24 unequal: No Solution
Exploring Operation: 59*8=472, Resulting Numbers: [472]
472,24 unequal: No Solution
Moving to Node #0,2,3
Current State: 24:[59, 16], Operations: ['84-36=48', '48/3=16']
Exploring Operation: 59*16=944, Resulting Numbers: [944]
944,24 unequal: No Solution
Exploring Operation: 59+16=75, Resulting Numbers: [75]
75,24 unequal: No Solution
Exploring Operation: 59-16=43, Resulting Numbers: [43]
43,24 unequal: No Solution
Moving to Node #0,2,2
Current State: 24:[48, 56], Operations: ['84-36=48', '59-3=56']
Exploring Operation: 48+56=104, Resulting Numbers: [104]
104,24 unequal: No Solution
Exploring Operation: 48*56=2688, Resulting Numbers: [2688]
2688,24 unequal: No Solution
Exploring Operation: 56-48=8, Resulting Numbers: [8]
8,24 unequal: No Solution
Moving to Node #0,2,1
Current State: 24:[59, 45], Operations: ['84-36=48', '48-3=45']
Exploring Operation: 59+45=104, Resulting Numbers: [104]
104,24 unequal: No Solution
Exploring Operation: 59-45=14, Resulting Numbers: [14]
14,24 unequal: No Solution
Exploring Operation: 59*45=2655, Resulting Numbers: [2655]
2655,24 unequal: No Solution
Moving to Node #0,3,2
Current State: 24:[28, 95], Operations: ['84/3=28', '59+36=95']
Exploring Operation: 28+95=123, Resulting Numbers: [123]
123,24 unequal: No Solution
Exploring Operation: 28*95=2660, Resulting Numbers: [2660]
2660,24 unequal: No Solution
Exploring Operation: 95-28=67, Resulting Numbers: [67]
67,24 unequal: No Solution
No solution found.
| 0 |
hs_4
|
sum_heuristic
|
[
57,
55,
53,
67
] | 81 |
[
"57-55=2",
"67*2=134",
"134-53=81"
] |
Current State: 81:[57, 55, 53, 67], Operations: []
Exploring Operation: 57-55=2, Resulting Numbers: [53, 67, 2]
Generated Node #2: [53, 67, 2] from Operation: 57-55=2
Current State: 81:[53, 67, 2], Operations: ['57-55=2']
Exploring Operation: 67*2=134, Resulting Numbers: [53, 134]
Generated Node #3: [53, 134] from Operation: 67*2=134
Current State: 81:[53, 134], Operations: ['57-55=2', '67*2=134']
Exploring Operation: 134-53=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 |
Current State: 81:[57, 55, 53, 67], Operations: []
Exploring Operation: 57-55=2, Resulting Numbers: [53, 67, 2]
Generated Node #0,0: 81:[53, 67, 2] Operation: 57-55=2
Exploring Operation: 67-57=10, Resulting Numbers: [55, 53, 10]
Generated Node #0,1: 81:[55, 53, 10] Operation: 67-57=10
Exploring Operation: 57-53=4, Resulting Numbers: [55, 67, 4]
Generated Node #0,2: 81:[55, 67, 4] Operation: 57-53=4
Exploring Operation: 55-53=2, Resulting Numbers: [57, 67, 2]
Generated Node #0,3: 81:[57, 67, 2] Operation: 55-53=2
Moving to Node #0,3
Current State: 81:[57, 67, 2], Operations: ['55-53=2']
Exploring Operation: 67-57=10, Resulting Numbers: [2, 10]
Generated Node #0,3,0: 81:[2, 10] Operation: 67-57=10
Exploring Operation: 57-2=55, Resulting Numbers: [67, 55]
Generated Node #0,3,1: 81:[67, 55] Operation: 57-2=55
Exploring Operation: 57+2=59, Resulting Numbers: [67, 59]
Generated Node #0,3,2: 81:[67, 59] Operation: 57+2=59
Exploring Operation: 67+2=69, Resulting Numbers: [57, 69]
Generated Node #0,3,3: 81:[57, 69] Operation: 67+2=69
Moving to Node #0,2
Current State: 81:[55, 67, 4], Operations: ['57-53=4']
Exploring Operation: 55-4=51, Resulting Numbers: [67, 51]
Generated Node #0,2,0: 81:[67, 51] Operation: 55-4=51
Exploring Operation: 55+4=59, Resulting Numbers: [67, 59]
Generated Node #0,2,1: 81:[67, 59] Operation: 55+4=59
Exploring Operation: 67-55=12, Resulting Numbers: [4, 12]
Generated Node #0,2,2: 81:[4, 12] Operation: 67-55=12
Exploring Operation: 67+4=71, Resulting Numbers: [55, 71]
Generated Node #0,2,3: 81:[55, 71] Operation: 67+4=71
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 81:[4, 12], Operations: ['57-53=4', '67-55=12']
Exploring Operation: 4+12=16, Resulting Numbers: [16]
16,81 unequal: No Solution
Exploring Operation: 12-4=8, Resulting Numbers: [8]
8,81 unequal: No Solution
Exploring Operation: 4*12=48, Resulting Numbers: [48]
48,81 unequal: No Solution
Exploring Operation: 12/4=3, Resulting Numbers: [3]
3,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:[67, 59], Operations: ['57-53=4', '55+4=59']
Exploring Operation: 67+59=126, Resulting Numbers: [126]
126,81 unequal: No Solution
Exploring Operation: 67-59=8, Resulting Numbers: [8]
8,81 unequal: No Solution
Exploring Operation: 67*59=3953, Resulting Numbers: [3953]
3953,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:[55, 71], Operations: ['57-53=4', '67+4=71']
Exploring Operation: 55*71=3905, Resulting Numbers: [3905]
3905,81 unequal: No Solution
Exploring Operation: 71-55=16, Resulting Numbers: [16]
16,81 unequal: No Solution
Exploring Operation: 55+71=126, Resulting Numbers: [126]
126,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:[67, 51], Operations: ['57-53=4', '55-4=51']
Exploring Operation: 67-51=16, Resulting Numbers: [16]
16,81 unequal: No Solution
Exploring Operation: 67+51=118, Resulting Numbers: [118]
118,81 unequal: No Solution
Exploring Operation: 67*51=3417, Resulting Numbers: [3417]
3417,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:[53, 67, 2], Operations: ['57-55=2']
Exploring Operation: 67-53=14, Resulting Numbers: [2, 14]
Generated Node #0,0,0: 81:[2, 14] Operation: 67-53=14
Exploring Operation: 53*2=106, Resulting Numbers: [67, 106]
Generated Node #0,0,1: 81:[67, 106] Operation: 53*2=106
Exploring Operation: 53-2=51, Resulting Numbers: [67, 51]
Generated Node #0,0,2: 81:[67, 51] Operation: 53-2=51
Exploring Operation: 67+2=69, Resulting Numbers: [53, 69]
Generated Node #0,0,3: 81:[53, 69] Operation: 67+2=69
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[2, 14], Operations: ['57-55=2', '67-53=14']
Exploring Operation: 14-2=12, Resulting Numbers: [12]
12,81 unequal: No Solution
Exploring Operation: 14/2=7, Resulting Numbers: [7]
7,81 unequal: No Solution
Exploring Operation: 2+14=16, Resulting Numbers: [16]
16,81 unequal: No Solution
Exploring Operation: 2*14=28, Resulting Numbers: [28]
28,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,2
Current State: 81:[67, 51], Operations: ['57-55=2', '53-2=51']
Exploring Operation: 67-51=16, Resulting Numbers: [16]
16,81 unequal: No Solution
Exploring Operation: 67+51=118, Resulting Numbers: [118]
118,81 unequal: No Solution
Exploring Operation: 67*51=3417, Resulting Numbers: [3417]
3417,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:[53, 69], Operations: ['57-55=2', '67+2=69']
Exploring Operation: 53*69=3657, Resulting Numbers: [3657]
3657,81 unequal: No Solution
Exploring Operation: 53+69=122, Resulting Numbers: [122]
122,81 unequal: No Solution
Exploring Operation: 69-53=16, Resulting Numbers: [16]
16,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:[67, 106], Operations: ['57-55=2', '53*2=106']
Exploring Operation: 106-67=39, Resulting Numbers: [39]
39,81 unequal: No Solution
Exploring Operation: 67*106=7102, Resulting Numbers: [7102]
7102,81 unequal: No Solution
Exploring Operation: 67+106=173, Resulting Numbers: [173]
173,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 81:[55, 53, 10], Operations: ['67-57=10']
Exploring Operation: 53-10=43, Resulting Numbers: [55, 43]
Generated Node #0,1,0: 81:[55, 43] Operation: 53-10=43
Exploring Operation: 55+53=108, Resulting Numbers: [10, 108]
Generated Node #0,1,1: 81:[10, 108] Operation: 55+53=108
Exploring Operation: 55-53=2, Resulting Numbers: [10, 2]
Generated Node #0,1,2: 81:[10, 2] Operation: 55-53=2
Exploring Operation: 55+10=65, Resulting Numbers: [53, 65]
Generated Node #0,1,3: 81:[53, 65] Operation: 55+10=65
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 81:[10, 2], Operations: ['67-57=10', '55-53=2']
Exploring Operation: 10+2=12, Resulting Numbers: [12]
12,81 unequal: No Solution
Exploring Operation: 10*2=20, Resulting Numbers: [20]
20,81 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,81 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 81:[10, 108], Operations: ['67-57=10', '55+53=108']
Exploring Operation: 10+108=118, Resulting Numbers: [118]
118,81 unequal: No Solution
Exploring Operation: 108-10=98, Resulting Numbers: [98]
98,81 unequal: No Solution
Exploring Operation: 10*108=1080, Resulting Numbers: [1080]
1080,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 81:[55, 43], Operations: ['67-57=10', '53-10=43']
Exploring Operation: 55*43=2365, Resulting Numbers: [2365]
2365,81 unequal: No Solution
Exploring Operation: 55+43=98, Resulting Numbers: [98]
98,81 unequal: No Solution
Exploring Operation: 55-43=12, Resulting Numbers: [12]
12,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 81:[53, 65], Operations: ['67-57=10', '55+10=65']
Exploring Operation: 53*65=3445, Resulting Numbers: [3445]
3445,81 unequal: No Solution
Exploring Operation: 53+65=118, Resulting Numbers: [118]
118,81 unequal: No Solution
Exploring Operation: 65-53=12, Resulting Numbers: [12]
12,81 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: 81:[2, 10], Operations: ['55-53=2', '67-57=10']
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,81 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,81 unequal: No Solution
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,81 unequal: No Solution
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,81 unequal: No Solution
Moving to Node #0,3,3
Current State: 81:[57, 69], Operations: ['55-53=2', '67+2=69']
Exploring Operation: 57*69=3933, Resulting Numbers: [3933]
3933,81 unequal: No Solution
Exploring Operation: 69-57=12, Resulting Numbers: [12]
12,81 unequal: No Solution
Exploring Operation: 57+69=126, Resulting Numbers: [126]
126,81 unequal: No Solution
Moving to Node #0,3,2
Current State: 81:[67, 59], Operations: ['55-53=2', '57+2=59']
Exploring Operation: 67-59=8, Resulting Numbers: [8]
8,81 unequal: No Solution
Exploring Operation: 67+59=126, Resulting Numbers: [126]
126,81 unequal: No Solution
Exploring Operation: 67*59=3953, Resulting Numbers: [3953]
3953,81 unequal: No Solution
Moving to Node #0,3,1
Current State: 81:[67, 55], Operations: ['55-53=2', '57-2=55']
Exploring Operation: 67*55=3685, Resulting Numbers: [3685]
3685,81 unequal: No Solution
Exploring Operation: 67+55=122, Resulting Numbers: [122]
122,81 unequal: No Solution
Exploring Operation: 67-55=12, Resulting Numbers: [12]
12,81 unequal: No Solution
No solution found.
| 0 |
hs_4
|
mult_heuristic
|
[
8,
7,
41,
14
] | 65 |
[
"41-8=33",
"7*14=98",
"98-33=65"
] |
Current State: 65:[8, 7, 41, 14], Operations: []
Exploring Operation: 41-8=33, Resulting Numbers: [7, 14, 33]
Generated Node #2: [7, 14, 33] from Operation: 41-8=33
Current State: 65:[7, 14, 33], Operations: ['41-8=33']
Exploring Operation: 7*14=98, Resulting Numbers: [33, 98]
Generated Node #3: [33, 98] from Operation: 7*14=98
Current State: 65:[33, 98], Operations: ['41-8=33', '7*14=98']
Exploring Operation: 98-33=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 |
Current State: 65:[8, 7, 41, 14], Operations: []
Exploring Operation: 41-14=27, Resulting Numbers: [8, 7, 27]
Generated Node #0,0: 65:[8, 7, 27] Operation: 41-14=27
Exploring Operation: 8+41=49, Resulting Numbers: [7, 14, 49]
Generated Node #0,1: 65:[7, 14, 49] Operation: 8+41=49
Exploring Operation: 41+14=55, Resulting Numbers: [8, 7, 55]
Generated Node #0,2: 65:[8, 7, 55] Operation: 41+14=55
Start Sub Search at level 1: Moving to Node #0,2
Current State: 65:[8, 7, 55], Operations: ['41+14=55']
Exploring Operation: 8+55=63, Resulting Numbers: [7, 63]
Generated Node #0,2,0: 65:[7, 63] Operation: 8+55=63
Exploring Operation: 7+55=62, Resulting Numbers: [8, 62]
Generated Node #0,2,1: 65:[8, 62] Operation: 7+55=62
Exploring Operation: 8+7=15, Resulting Numbers: [55, 15]
Generated Node #0,2,2: 65:[55, 15] Operation: 8+7=15
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 65:[7, 63], Operations: ['41+14=55', '8+55=63']
Exploring Operation: 7+63=70, Resulting Numbers: [70]
70,65 unequal: No Solution
Exploring Operation: 63-7=56, Resulting Numbers: [56]
56,65 unequal: No Solution
Exploring Operation: 63/7=9, Resulting Numbers: [9]
9,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 65:[8, 62], Operations: ['41+14=55', '7+55=62']
Exploring Operation: 8+62=70, Resulting Numbers: [70]
70,65 unequal: No Solution
Exploring Operation: 8*62=496, Resulting Numbers: [496]
496,65 unequal: No Solution
Exploring Operation: 62-8=54, Resulting Numbers: [54]
54,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 65:[55, 15], Operations: ['41+14=55', '8+7=15']
Exploring Operation: 55-15=40, Resulting Numbers: [40]
40,65 unequal: No Solution
Exploring Operation: 55+15=70, Resulting Numbers: [70]
70,65 unequal: No Solution
Exploring Operation: 55*15=825, Resulting Numbers: [825]
825,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[8, 7, 27], Operations: ['41-14=27']
Exploring Operation: 27-7=20, Resulting Numbers: [8, 20]
Generated Node #0,0,0: 65:[8, 20] Operation: 27-7=20
Exploring Operation: 27-8=19, Resulting Numbers: [7, 19]
Generated Node #0,0,1: 65:[7, 19] Operation: 27-8=19
Exploring Operation: 8+7=15, Resulting Numbers: [27, 15]
Generated Node #0,0,2: 65:[27, 15] Operation: 8+7=15
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 65:[7, 19], Operations: ['41-14=27', '27-8=19']
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Exploring Operation: 7*19=133, Resulting Numbers: [133]
133,65 unequal: No Solution
Exploring Operation: 7+19=26, Resulting Numbers: [26]
26,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 65:[8, 20], Operations: ['41-14=27', '27-7=20']
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Exploring Operation: 8+20=28, Resulting Numbers: [28]
28,65 unequal: No Solution
Exploring Operation: 8*20=160, Resulting Numbers: [160]
160,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 65:[27, 15], Operations: ['41-14=27', '8+7=15']
Exploring Operation: 27+15=42, Resulting Numbers: [42]
42,65 unequal: No Solution
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Exploring Operation: 27*15=405, Resulting Numbers: [405]
405,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 65:[7, 14, 49], Operations: ['8+41=49']
Exploring Operation: 14+49=63, Resulting Numbers: [7, 63]
Generated Node #0,1,0: 65:[7, 63] Operation: 14+49=63
Exploring Operation: 7+49=56, Resulting Numbers: [14, 56]
Generated Node #0,1,1: 65:[14, 56] Operation: 7+49=56
Exploring Operation: 49/7=7, Resulting Numbers: [14, 7]
Generated Node #0,1,2: 65:[14, 7] Operation: 49/7=7
Moving to Node #0,1,2
Current State: 65:[14, 7], Operations: ['8+41=49', '49/7=7']
Exploring Operation: 14-7=7, Resulting Numbers: [7]
7,65 unequal: No Solution
Exploring Operation: 14/7=2, Resulting Numbers: [2]
2,65 unequal: No Solution
Exploring Operation: 14+7=21, Resulting Numbers: [21]
21,65 unequal: No Solution
Moving to Node #0,1,0
Current State: 65:[7, 63], Operations: ['8+41=49', '14+49=63']
Exploring Operation: 63/7=9, Resulting Numbers: [9]
9,65 unequal: No Solution
Exploring Operation: 63-7=56, Resulting Numbers: [56]
56,65 unequal: No Solution
Exploring Operation: 7+63=70, Resulting Numbers: [70]
70,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[14, 56], Operations: ['8+41=49', '7+49=56']
Exploring Operation: 56/14=4, Resulting Numbers: [4]
4,65 unequal: No Solution
Exploring Operation: 56-14=42, Resulting Numbers: [42]
42,65 unequal: No Solution
Exploring Operation: 14+56=70, Resulting Numbers: [70]
70,65 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_3
|
mult_heuristic
|
[
62,
34,
70,
15
] | 86 |
[
"70-62=8",
"15*8=120",
"120-34=86"
] |
Current State: 86:[62, 34, 70, 15], Operations: []
Exploring Operation: 70-62=8, Resulting Numbers: [34, 15, 8]
Generated Node #2: [34, 15, 8] from Operation: 70-62=8
Current State: 86:[34, 15, 8], Operations: ['70-62=8']
Exploring Operation: 15*8=120, Resulting Numbers: [34, 120]
Generated Node #3: [34, 120] from Operation: 15*8=120
Current State: 86:[34, 120], Operations: ['70-62=8', '15*8=120']
Exploring Operation: 120-34=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 |
Current State: 86:[62, 34, 70, 15], Operations: []
Exploring Operation: 70+15=85, Resulting Numbers: [62, 34, 85]
Generated Node #0,0: 86:[62, 34, 85] Operation: 70+15=85
Exploring Operation: 70-62=8, Resulting Numbers: [34, 15, 8]
Generated Node #0,1: 86:[34, 15, 8] Operation: 70-62=8
Exploring Operation: 62+15=77, Resulting Numbers: [34, 70, 77]
Generated Node #0,2: 86:[34, 70, 77] Operation: 62+15=77
Exploring Operation: 62-15=47, Resulting Numbers: [34, 70, 47]
Generated Node #0,3: 86:[34, 70, 47] Operation: 62-15=47
Moving to Node #0,1
Current State: 86:[34, 15, 8], Operations: ['70-62=8']
Exploring Operation: 34-15=19, Resulting Numbers: [8, 19]
Generated Node #0,1,0: 86:[8, 19] Operation: 34-15=19
Exploring Operation: 34+15=49, Resulting Numbers: [8, 49]
Generated Node #0,1,1: 86:[8, 49] Operation: 34+15=49
Exploring Operation: 15-8=7, Resulting Numbers: [34, 7]
Generated Node #0,1,2: 86:[34, 7] Operation: 15-8=7
Exploring Operation: 34+8=42, Resulting Numbers: [15, 42]
Generated Node #0,1,3: 86:[15, 42] Operation: 34+8=42
Moving to Node #0,3
Current State: 86:[34, 70, 47], Operations: ['62-15=47']
Exploring Operation: 34+47=81, Resulting Numbers: [70, 81]
Generated Node #0,3,0: 86:[70, 81] Operation: 34+47=81
Exploring Operation: 47-34=13, Resulting Numbers: [70, 13]
Generated Node #0,3,1: 86:[70, 13] Operation: 47-34=13
Exploring Operation: 34+70=104, Resulting Numbers: [47, 104]
Generated Node #0,3,2: 86:[47, 104] Operation: 34+70=104
Exploring Operation: 70-34=36, Resulting Numbers: [47, 36]
Generated Node #0,3,3: 86:[47, 36] Operation: 70-34=36
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 86:[47, 36], Operations: ['62-15=47', '70-34=36']
Exploring Operation: 47*36=1692, Resulting Numbers: [1692]
1692,86 unequal: No Solution
Exploring Operation: 47+36=83, Resulting Numbers: [83]
83,86 unequal: No Solution
Exploring Operation: 47-36=11, Resulting Numbers: [11]
11,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 86:[70, 81], Operations: ['62-15=47', '34+47=81']
Exploring Operation: 70+81=151, Resulting Numbers: [151]
151,86 unequal: No Solution
Exploring Operation: 81-70=11, Resulting Numbers: [11]
11,86 unequal: No Solution
Exploring Operation: 70*81=5670, Resulting Numbers: [5670]
5670,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 86:[47, 104], Operations: ['62-15=47', '34+70=104']
Exploring Operation: 47+104=151, Resulting Numbers: [151]
151,86 unequal: No Solution
Exploring Operation: 47*104=4888, Resulting Numbers: [4888]
4888,86 unequal: No Solution
Exploring Operation: 104-47=57, Resulting Numbers: [57]
57,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 86:[70, 13], Operations: ['62-15=47', '47-34=13']
Exploring Operation: 70*13=910, Resulting Numbers: [910]
910,86 unequal: No Solution
Exploring Operation: 70+13=83, Resulting Numbers: [83]
83,86 unequal: No Solution
Exploring Operation: 70-13=57, Resulting Numbers: [57]
57,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 86:[62, 34, 85], Operations: ['70+15=85']
Exploring Operation: 62-34=28, Resulting Numbers: [85, 28]
Generated Node #0,0,0: 86:[85, 28] Operation: 62-34=28
Exploring Operation: 62+34=96, Resulting Numbers: [85, 96]
Generated Node #0,0,1: 86:[85, 96] Operation: 62+34=96
Exploring Operation: 85-62=23, Resulting Numbers: [34, 23]
Generated Node #0,0,2: 86:[34, 23] Operation: 85-62=23
Exploring Operation: 85-34=51, Resulting Numbers: [62, 51]
Generated Node #0,0,3: 86:[62, 51] Operation: 85-34=51
Moving to Node #0,2
Current State: 86:[34, 70, 77], Operations: ['62+15=77']
Exploring Operation: 34+70=104, Resulting Numbers: [77, 104]
Generated Node #0,2,0: 86:[77, 104] Operation: 34+70=104
Exploring Operation: 77-70=7, Resulting Numbers: [34, 7]
Generated Node #0,2,1: 86:[34, 7] Operation: 77-70=7
Exploring Operation: 77-34=43, Resulting Numbers: [70, 43]
Generated Node #0,2,2: 86:[70, 43] Operation: 77-34=43
Exploring Operation: 70-34=36, Resulting Numbers: [77, 36]
Generated Node #0,2,3: 86:[77, 36] Operation: 70-34=36
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 86:[34, 7], Operations: ['62+15=77', '77-70=7']
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,86 unequal: No Solution
Exploring Operation: 34+7=41, Resulting Numbers: [41]
41,86 unequal: No Solution
Exploring Operation: 34*7=238, Resulting Numbers: [238]
238,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 86:[70, 43], Operations: ['62+15=77', '77-34=43']
Exploring Operation: 70+43=113, Resulting Numbers: [113]
113,86 unequal: No Solution
Exploring Operation: 70-43=27, Resulting Numbers: [27]
27,86 unequal: No Solution
Exploring Operation: 70*43=3010, Resulting Numbers: [3010]
3010,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 86:[77, 36], Operations: ['62+15=77', '70-34=36']
Exploring Operation: 77*36=2772, Resulting Numbers: [2772]
2772,86 unequal: No Solution
Exploring Operation: 77+36=113, Resulting Numbers: [113]
113,86 unequal: No Solution
Exploring Operation: 77-36=41, Resulting Numbers: [41]
41,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 86:[77, 104], Operations: ['62+15=77', '34+70=104']
Exploring Operation: 104-77=27, Resulting Numbers: [27]
27,86 unequal: No Solution
Exploring Operation: 77*104=8008, Resulting Numbers: [8008]
8008,86 unequal: No Solution
Exploring Operation: 77+104=181, Resulting Numbers: [181]
181,86 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: 86:[85, 96], Operations: ['70+15=85', '62+34=96']
Exploring Operation: 85*96=8160, Resulting Numbers: [8160]
8160,86 unequal: No Solution
Exploring Operation: 96-85=11, Resulting Numbers: [11]
11,86 unequal: No Solution
Exploring Operation: 85+96=181, Resulting Numbers: [181]
181,86 unequal: No Solution
Moving to Node #0,1,1
Current State: 86:[8, 49], Operations: ['70-62=8', '34+15=49']
Exploring Operation: 8*49=392, Resulting Numbers: [392]
392,86 unequal: No Solution
Exploring Operation: 49-8=41, Resulting Numbers: [41]
41,86 unequal: No Solution
Exploring Operation: 8+49=57, Resulting Numbers: [57]
57,86 unequal: No Solution
Moving to Node #0,1,3
Current State: 86:[15, 42], Operations: ['70-62=8', '34+8=42']
Exploring Operation: 15+42=57, Resulting Numbers: [57]
57,86 unequal: No Solution
Exploring Operation: 15*42=630, Resulting Numbers: [630]
630,86 unequal: No Solution
Exploring Operation: 42-15=27, Resulting Numbers: [27]
27,86 unequal: No Solution
Moving to Node #0,1,2
Current State: 86:[34, 7], Operations: ['70-62=8', '15-8=7']
Exploring Operation: 34*7=238, Resulting Numbers: [238]
238,86 unequal: No Solution
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,86 unequal: No Solution
Exploring Operation: 34+7=41, Resulting Numbers: [41]
41,86 unequal: No Solution
Moving to Node #0,0,0
Current State: 86:[85, 28], Operations: ['70+15=85', '62-34=28']
Exploring Operation: 85-28=57, Resulting Numbers: [57]
57,86 unequal: No Solution
Exploring Operation: 85*28=2380, Resulting Numbers: [2380]
2380,86 unequal: No Solution
Exploring Operation: 85+28=113, Resulting Numbers: [113]
113,86 unequal: No Solution
Moving to Node #0,1,0
Current State: 86:[8, 19], Operations: ['70-62=8', '34-15=19']
Exploring Operation: 8*19=152, Resulting Numbers: [152]
152,86 unequal: No Solution
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,86 unequal: No Solution
Exploring Operation: 8+19=27, Resulting Numbers: [27]
27,86 unequal: No Solution
Moving to Node #0,0,3
Current State: 86:[62, 51], Operations: ['70+15=85', '85-34=51']
Exploring Operation: 62-51=11, Resulting Numbers: [11]
11,86 unequal: No Solution
Exploring Operation: 62+51=113, Resulting Numbers: [113]
113,86 unequal: No Solution
Exploring Operation: 62*51=3162, Resulting Numbers: [3162]
3162,86 unequal: No Solution
Moving to Node #0,0,2
Current State: 86:[34, 23], Operations: ['70+15=85', '85-62=23']
Exploring Operation: 34-23=11, Resulting Numbers: [11]
11,86 unequal: No Solution
Exploring Operation: 34*23=782, Resulting Numbers: [782]
782,86 unequal: No Solution
Exploring Operation: 34+23=57, Resulting Numbers: [57]
57,86 unequal: No Solution
No solution found.
| 0 |
hs_4
|
sum_heuristic
|
[
81,
64,
9,
94
] | 68 |
[
"81-64=17",
"94-9=85",
"85-17=68"
] |
Current State: 68:[81, 64, 9, 94], Operations: []
Exploring Operation: 81-64=17, Resulting Numbers: [9, 94, 17]
Generated Node #2: [9, 94, 17] from Operation: 81-64=17
Current State: 68:[9, 94, 17], Operations: ['81-64=17']
Exploring Operation: 94-9=85, Resulting Numbers: [17, 85]
Generated Node #3: [17, 85] from Operation: 94-9=85
Current State: 68:[17, 85], Operations: ['81-64=17', '94-9=85']
Exploring Operation: 85-17=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 |
Current State: 68:[81, 64, 9, 94], Operations: []
Exploring Operation: 94-81=13, Resulting Numbers: [64, 9, 13]
Generated Node #0,0: 68:[64, 9, 13] Operation: 94-81=13
Moving to Node #0,0
Current State: 68:[64, 9, 13], Operations: ['94-81=13']
Exploring Operation: 13-9=4, Resulting Numbers: [64, 4]
Generated Node #0,0,0: 68:[64, 4] Operation: 13-9=4
Moving to Node #0,0,0
Current State: 68:[64, 4], Operations: ['94-81=13', '13-9=4']
Exploring Operation: 64+4=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[81, 64, 9, 94], Operations: []
Exploring Operation: 94-81=13, Resulting Numbers: [64, 9, 13]
Generated Node #0,0: 68:[64, 9, 13] Operation: 94-81=13
Moving to Node #0,0
Current State: 68:[64, 9, 13], Operations: ['94-81=13']
Exploring Operation: 13-9=4, Resulting Numbers: [64, 4]
Generated Node #0,0,0: 68:[64, 4] Operation: 13-9=4
Moving to Node #0,0,0
Current State: 68:[64, 4], Operations: ['94-81=13', '13-9=4']
Exploring Operation: 64+4=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 0.993924 |
hs_1
|
mult_heuristic
|
[
38,
2,
41,
6
] | 50 |
[
"38-6=32",
"2*41=82",
"82-32=50"
] |
Current State: 50:[38, 2, 41, 6], Operations: []
Exploring Operation: 38-6=32, Resulting Numbers: [2, 41, 32]
Generated Node #2: [2, 41, 32] from Operation: 38-6=32
Current State: 50:[2, 41, 32], Operations: ['38-6=32']
Exploring Operation: 2*41=82, Resulting Numbers: [32, 82]
Generated Node #3: [32, 82] from Operation: 2*41=82
Current State: 50:[32, 82], Operations: ['38-6=32', '2*41=82']
Exploring Operation: 82-32=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 |
Current State: 50:[38, 2, 41, 6], Operations: []
Exploring Operation: 41+6=47, Resulting Numbers: [38, 2, 47]
Generated Node #0,0: 50:[38, 2, 47] Operation: 41+6=47
Exploring Operation: 41-38=3, Resulting Numbers: [2, 6, 3]
Generated Node #0,1: 50:[2, 6, 3] Operation: 41-38=3
Exploring Operation: 38+6=44, Resulting Numbers: [2, 41, 44]
Generated Node #0,2: 50:[2, 41, 44] Operation: 38+6=44
Start Sub Search at level 1: Moving to Node #0,1
Current State: 50:[2, 6, 3], Operations: ['41-38=3']
Exploring Operation: 6+3=9, Resulting Numbers: [2, 9]
Generated Node #0,1,0: 50:[2, 9] Operation: 6+3=9
Exploring Operation: 6/3=2, Resulting Numbers: [2, 2]
Generated Node #0,1,1: 50:[2, 2] Operation: 6/3=2
Exploring Operation: 2+3=5, Resulting Numbers: [6, 5]
Generated Node #0,1,2: 50:[6, 5] Operation: 2+3=5
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 50:[2, 2], Operations: ['41-38=3', '6/3=2']
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,50 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 50:[2, 9], Operations: ['41-38=3', '6+3=9']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,50 unequal: No Solution
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 50:[6, 5], Operations: ['41-38=3', '2+3=5']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,50 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[38, 2, 47], Operations: ['41+6=47']
Exploring Operation: 47-38=9, Resulting Numbers: [2, 9]
Generated Node #0,0,0: 50:[2, 9] Operation: 47-38=9
Exploring Operation: 38+2=40, Resulting Numbers: [47, 40]
Generated Node #0,0,1: 50:[47, 40] Operation: 38+2=40
Exploring Operation: 38/2=19, Resulting Numbers: [47, 19]
Generated Node #0,0,2: 50:[47, 19] Operation: 38/2=19
Moving to Node #0,0,0
Current State: 50:[2, 9], Operations: ['41+6=47', '47-38=9']
Exploring Operation: 9-2=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Exploring Operation: 2*9=18, Resulting Numbers: [18]
18,50 unequal: No Solution
Exploring Operation: 2+9=11, Resulting Numbers: [11]
11,50 unequal: No Solution
Moving to Node #0,0,2
Current State: 50:[47, 19], Operations: ['41+6=47', '38/2=19']
Exploring Operation: 47*19=893, Resulting Numbers: [893]
893,50 unequal: No Solution
Exploring Operation: 47+19=66, Resulting Numbers: [66]
66,50 unequal: No Solution
Exploring Operation: 47-19=28, Resulting Numbers: [28]
28,50 unequal: No Solution
Moving to Node #0,0,1
Current State: 50:[47, 40], Operations: ['41+6=47', '38+2=40']
Exploring Operation: 47-40=7, Resulting Numbers: [7]
7,50 unequal: No Solution
Exploring Operation: 47+40=87, Resulting Numbers: [87]
87,50 unequal: No Solution
Exploring Operation: 47*40=1880, Resulting Numbers: [1880]
1880,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,2
Current State: 50:[2, 41, 44], Operations: ['38+6=44']
Exploring Operation: 44-41=3, Resulting Numbers: [2, 3]
Generated Node #0,2,0: 50:[2, 3] Operation: 44-41=3
Exploring Operation: 44/2=22, Resulting Numbers: [41, 22]
Generated Node #0,2,1: 50:[41, 22] Operation: 44/2=22
Exploring Operation: 2+41=43, Resulting Numbers: [44, 43]
Generated Node #0,2,2: 50:[44, 43] Operation: 2+41=43
Moving to Node #0,2,0
Current State: 50:[2, 3], Operations: ['38+6=44', '44-41=3']
Exploring Operation: 2*3=6, Resulting Numbers: [6]
6,50 unequal: No Solution
Exploring Operation: 2+3=5, Resulting Numbers: [5]
5,50 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Moving to Node #0,2,1
Current State: 50:[41, 22], Operations: ['38+6=44', '44/2=22']
Exploring Operation: 41-22=19, Resulting Numbers: [19]
19,50 unequal: No Solution
Exploring Operation: 41+22=63, Resulting Numbers: [63]
63,50 unequal: No Solution
Exploring Operation: 41*22=902, Resulting Numbers: [902]
902,50 unequal: No Solution
Moving to Node #0,2,2
Current State: 50:[44, 43], Operations: ['38+6=44', '2+41=43']
Exploring Operation: 44+43=87, Resulting Numbers: [87]
87,50 unequal: No Solution
Exploring Operation: 44-43=1, Resulting Numbers: [1]
1,50 unequal: No Solution
Exploring Operation: 44*43=1892, Resulting Numbers: [1892]
1892,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_3
|
mult_heuristic
|
[
51,
27,
6,
45
] | 49 |
[
"51-27=24",
"24/6=4",
"45+4=49"
] |
Current State: 49:[51, 27, 6, 45], Operations: []
Exploring Operation: 51-27=24, Resulting Numbers: [6, 45, 24]
Generated Node #2: [6, 45, 24] from Operation: 51-27=24
Current State: 49:[6, 45, 24], Operations: ['51-27=24']
Exploring Operation: 24/6=4, Resulting Numbers: [45, 4]
Generated Node #3: [45, 4] from Operation: 24/6=4
Current State: 49:[45, 4], Operations: ['51-27=24', '24/6=4']
Exploring Operation: 45+4=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 |
Current State: 49:[51, 27, 6, 45], Operations: []
Exploring Operation: 51-27=24, Resulting Numbers: [6, 45, 24]
Generated Node #0,0: 49:[6, 45, 24] Operation: 51-27=24
Exploring Operation: 51-45=6, Resulting Numbers: [27, 6, 6]
Generated Node #0,1: 49:[27, 6, 6] Operation: 51-45=6
Exploring Operation: 27-6=21, Resulting Numbers: [51, 45, 21]
Generated Node #0,2: 49:[51, 45, 21] Operation: 27-6=21
Exploring Operation: 45-27=18, Resulting Numbers: [51, 6, 18]
Generated Node #0,3: 49:[51, 6, 18] Operation: 45-27=18
Moving to Node #0,3
Current State: 49:[51, 6, 18], Operations: ['45-27=18']
Exploring Operation: 51-6=45, Resulting Numbers: [18, 45]
Generated Node #0,3,0: 49:[18, 45] Operation: 51-6=45
Exploring Operation: 51-18=33, Resulting Numbers: [6, 33]
Generated Node #0,3,1: 49:[6, 33] Operation: 51-18=33
Exploring Operation: 18-6=12, Resulting Numbers: [51, 12]
Generated Node #0,3,2: 49:[51, 12] Operation: 18-6=12
Exploring Operation: 18/6=3, Resulting Numbers: [51, 3]
Generated Node #0,3,3: 49:[51, 3] Operation: 18/6=3
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 49:[51, 3], Operations: ['45-27=18', '18/6=3']
Exploring Operation: 51*3=153, Resulting Numbers: [153]
153,49 unequal: No Solution
Exploring Operation: 51-3=48, Resulting Numbers: [48]
48,49 unequal: No Solution
Exploring Operation: 51/3=17, Resulting Numbers: [17]
17,49 unequal: No Solution
Exploring Operation: 51+3=54, Resulting Numbers: [54]
54,49 unequal: No Solution
No 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: 49:[51, 12], Operations: ['45-27=18', '18-6=12']
Exploring Operation: 51*12=612, Resulting Numbers: [612]
612,49 unequal: No Solution
Exploring Operation: 51-12=39, Resulting Numbers: [39]
39,49 unequal: No Solution
Exploring Operation: 51+12=63, Resulting Numbers: [63]
63,49 unequal: No Solution
No 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: 49:[18, 45], Operations: ['45-27=18', '51-6=45']
Exploring Operation: 18+45=63, Resulting Numbers: [63]
63,49 unequal: No Solution
Exploring Operation: 18*45=810, Resulting Numbers: [810]
810,49 unequal: No Solution
Exploring Operation: 45-18=27, Resulting Numbers: [27]
27,49 unequal: No Solution
No 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: 49:[6, 33], Operations: ['45-27=18', '51-18=33']
Exploring Operation: 6+33=39, Resulting Numbers: [39]
39,49 unequal: No Solution
Exploring Operation: 33-6=27, Resulting Numbers: [27]
27,49 unequal: No Solution
Exploring Operation: 6*33=198, Resulting Numbers: [198]
198,49 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: 49:[51, 45, 21], Operations: ['27-6=21']
Exploring Operation: 51-21=30, Resulting Numbers: [45, 30]
Generated Node #0,2,0: 49:[45, 30] Operation: 51-21=30
Exploring Operation: 45-21=24, Resulting Numbers: [51, 24]
Generated Node #0,2,1: 49:[51, 24] Operation: 45-21=24
Exploring Operation: 51-45=6, Resulting Numbers: [21, 6]
Generated Node #0,2,2: 49:[21, 6] Operation: 51-45=6
Exploring Operation: 45+21=66, Resulting Numbers: [51, 66]
Generated Node #0,2,3: 49:[51, 66] Operation: 45+21=66
Moving to Node #0,1
Current State: 49:[27, 6, 6], Operations: ['51-45=6']
Exploring Operation: 27-6=21, Resulting Numbers: [6, 21]
Generated Node #0,1,0: 49:[6, 21] Operation: 27-6=21
Exploring Operation: 27+6=33, Resulting Numbers: [6, 33]
Generated Node #0,1,1: 49:[6, 33] Operation: 27+6=33
Exploring Operation: 27+6=33, Resulting Numbers: [6, 33]
Generated Node #0,1,2: 49:[6, 33] Operation: 27+6=33
Exploring Operation: 27-6=21, Resulting Numbers: [6, 21]
Generated Node #0,1,3: 49:[6, 21] Operation: 27-6=21
Moving to Node #0,0
Current State: 49:[6, 45, 24], Operations: ['51-27=24']
Exploring Operation: 6+45=51, Resulting Numbers: [24, 51]
Generated Node #0,0,0: 49:[24, 51] Operation: 6+45=51
Exploring Operation: 45-24=21, Resulting Numbers: [6, 21]
Generated Node #0,0,1: 49:[6, 21] Operation: 45-24=21
Exploring Operation: 24-6=18, Resulting Numbers: [45, 18]
Generated Node #0,0,2: 49:[45, 18] Operation: 24-6=18
Exploring Operation: 24/6=4, Resulting Numbers: [45, 4]
Generated Node #0,0,3: 49:[45, 4] Operation: 24/6=4
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 49:[45, 4], Operations: ['51-27=24', '24/6=4']
Exploring Operation: 45*4=180, Resulting Numbers: [180]
180,49 unequal: No Solution
Exploring Operation: 45-4=41, Resulting Numbers: [41]
41,49 unequal: No Solution
Exploring Operation: 45+4=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[51, 27, 6, 45], Operations: []
Exploring Operation: 51-27=24, Resulting Numbers: [6, 45, 24]
Generated Node #0,0: 49:[6, 45, 24] Operation: 51-27=24
Moving to Node #0,0
Current State: 49:[6, 45, 24], Operations: ['51-27=24']
Exploring Operation: 24/6=4, Resulting Numbers: [45, 4]
Generated Node #0,0,3: 49:[45, 4] Operation: 24/6=4
Moving to Node #0,0,3
Current State: 49:[45, 4], Operations: ['51-27=24', '24/6=4']
Exploring Operation: 45+4=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.965278 |
hs_4
|
mult_heuristic
|
[
93,
78,
90,
13
] | 94 |
[
"93+78=171",
"90-13=77",
"171-77=94"
] |
Current State: 94:[93, 78, 90, 13], Operations: []
Exploring Operation: 93+78=171, Resulting Numbers: [90, 13, 171]
Generated Node #2: [90, 13, 171] from Operation: 93+78=171
Current State: 94:[90, 13, 171], Operations: ['93+78=171']
Exploring Operation: 90-13=77, Resulting Numbers: [171, 77]
Generated Node #3: [171, 77] from Operation: 90-13=77
Current State: 94:[171, 77], Operations: ['93+78=171', '90-13=77']
Exploring Operation: 171-77=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 |
Current State: 94:[93, 78, 90, 13], Operations: []
Exploring Operation: 78+13=91, Resulting Numbers: [93, 90, 91]
Generated Node #0,0: 94:[93, 90, 91] Operation: 78+13=91
Exploring Operation: 78/13=6, Resulting Numbers: [93, 90, 6]
Generated Node #0,1: 94:[93, 90, 6] Operation: 78/13=6
Moving to Node #0,0
Current State: 94:[93, 90, 91], Operations: ['78+13=91']
Exploring Operation: 91-90=1, Resulting Numbers: [93, 1]
Generated Node #0,0,0: 94:[93, 1] Operation: 91-90=1
Exploring Operation: 93-90=3, Resulting Numbers: [91, 3]
Generated Node #0,0,1: 94:[91, 3] Operation: 93-90=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 94:[93, 1], Operations: ['78+13=91', '91-90=1']
Exploring Operation: 93+1=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[93, 78, 90, 13], Operations: []
Exploring Operation: 78+13=91, Resulting Numbers: [93, 90, 91]
Generated Node #0,0: 94:[93, 90, 91] Operation: 78+13=91
Moving to Node #0,0
Current State: 94:[93, 90, 91], Operations: ['78+13=91']
Exploring Operation: 91-90=1, Resulting Numbers: [93, 1]
Generated Node #0,0,0: 94:[93, 1] Operation: 91-90=1
Moving to Node #0,0,0
Current State: 94:[93, 1], Operations: ['78+13=91', '91-90=1']
Exploring Operation: 93+1=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 |
hs_2
|
sum_heuristic
|
[
72,
12,
53,
75
] | 17 |
[
"75-72=3",
"12*3=36",
"53-36=17"
] |
Current State: 17:[72, 12, 53, 75], Operations: []
Exploring Operation: 75-72=3, Resulting Numbers: [12, 53, 3]
Generated Node #2: [12, 53, 3] from Operation: 75-72=3
Current State: 17:[12, 53, 3], Operations: ['75-72=3']
Exploring Operation: 12*3=36, Resulting Numbers: [53, 36]
Generated Node #3: [53, 36] from Operation: 12*3=36
Current State: 17:[53, 36], Operations: ['75-72=3', '12*3=36']
Exploring Operation: 53-36=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 |
Current State: 17:[72, 12, 53, 75], Operations: []
Exploring Operation: 75-72=3, Resulting Numbers: [12, 53, 3]
Generated Node #0,0: 17:[12, 53, 3] Operation: 75-72=3
Exploring Operation: 72-53=19, Resulting Numbers: [12, 75, 19]
Generated Node #0,1: 17:[12, 75, 19] Operation: 72-53=19
Moving to Node #0,0
Current State: 17:[12, 53, 3], Operations: ['75-72=3']
Exploring Operation: 53-12=41, Resulting Numbers: [3, 41]
Generated Node #0,0,0: 17:[3, 41] Operation: 53-12=41
Exploring Operation: 12+3=15, Resulting Numbers: [53, 15]
Generated Node #0,0,1: 17:[53, 15] Operation: 12+3=15
Moving to Node #0,1
Current State: 17:[12, 75, 19], Operations: ['72-53=19']
Exploring Operation: 75-12=63, Resulting Numbers: [19, 63]
Generated Node #0,1,0: 17:[19, 63] Operation: 75-12=63
Exploring Operation: 75-19=56, Resulting Numbers: [12, 56]
Generated Node #0,1,1: 17:[12, 56] Operation: 75-19=56
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 17:[12, 56], Operations: ['72-53=19', '75-19=56']
Exploring Operation: 12+56=68, Resulting Numbers: [68]
68,17 unequal: No Solution
Exploring Operation: 56-12=44, Resulting Numbers: [44]
44,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 17:[19, 63], Operations: ['72-53=19', '75-12=63']
Exploring Operation: 19+63=82, Resulting Numbers: [82]
82,17 unequal: No Solution
Exploring Operation: 63-19=44, Resulting Numbers: [44]
44,17 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: 17:[3, 41], Operations: ['75-72=3', '53-12=41']
Exploring Operation: 3+41=44, Resulting Numbers: [44]
44,17 unequal: No Solution
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,17 unequal: No Solution
Moving to Node #0,0,1
Current State: 17:[53, 15], Operations: ['75-72=3', '12+3=15']
Exploring Operation: 53-15=38, Resulting Numbers: [38]
38,17 unequal: No Solution
Exploring Operation: 53+15=68, Resulting Numbers: [68]
68,17 unequal: No Solution
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
35,
20,
95,
48
] | 32 |
[
"35-20=15",
"95-48=47",
"47-15=32"
] |
Current State: 32:[35, 20, 95, 48], Operations: []
Exploring Operation: 35-20=15, Resulting Numbers: [95, 48, 15]
Generated Node #2: [95, 48, 15] from Operation: 35-20=15
Current State: 32:[95, 48, 15], Operations: ['35-20=15']
Exploring Operation: 95-48=47, Resulting Numbers: [15, 47]
Generated Node #3: [15, 47] from Operation: 95-48=47
Current State: 32:[15, 47], Operations: ['35-20=15', '95-48=47']
Exploring Operation: 47-15=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 |
Current State: 32:[35, 20, 95, 48], Operations: []
Exploring Operation: 95-48=47, Resulting Numbers: [35, 20, 47]
Generated Node #0,0: 32:[35, 20, 47] Operation: 95-48=47
Exploring Operation: 95-35=60, Resulting Numbers: [20, 48, 60]
Generated Node #0,1: 32:[20, 48, 60] Operation: 95-35=60
Moving to Node #0,0
Current State: 32:[35, 20, 47], Operations: ['95-48=47']
Exploring Operation: 47-35=12, Resulting Numbers: [20, 12]
Generated Node #0,0,0: 32:[20, 12] Operation: 47-35=12
Exploring Operation: 47-20=27, Resulting Numbers: [35, 27]
Generated Node #0,0,1: 32:[35, 27] Operation: 47-20=27
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[20, 12], Operations: ['95-48=47', '47-35=12']
Exploring Operation: 20-12=8, Resulting Numbers: [8]
8,32 unequal: No Solution
Exploring Operation: 20+12=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[35, 20, 95, 48], Operations: []
Exploring Operation: 95-48=47, Resulting Numbers: [35, 20, 47]
Generated Node #0,0: 32:[35, 20, 47] Operation: 95-48=47
Moving to Node #0,0
Current State: 32:[35, 20, 47], Operations: ['95-48=47']
Exploring Operation: 47-35=12, Resulting Numbers: [20, 12]
Generated Node #0,0,0: 32:[20, 12] Operation: 47-35=12
Moving to Node #0,0,0
Current State: 32:[20, 12], Operations: ['95-48=47', '47-35=12']
Exploring Operation: 20+12=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 |
hs_2
|
sum_heuristic
|
[
25,
57,
27,
62
] | 98 |
[
"62-57=5",
"25*5=125",
"125-27=98"
] |
Current State: 98:[25, 57, 27, 62], Operations: []
Exploring Operation: 62-57=5, Resulting Numbers: [25, 27, 5]
Generated Node #2: [25, 27, 5] from Operation: 62-57=5
Current State: 98:[25, 27, 5], Operations: ['62-57=5']
Exploring Operation: 25*5=125, Resulting Numbers: [27, 125]
Generated Node #3: [27, 125] from Operation: 25*5=125
Current State: 98:[27, 125], Operations: ['62-57=5', '25*5=125']
Exploring Operation: 125-27=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 |
Current State: 98:[25, 57, 27, 62], Operations: []
Exploring Operation: 25+27=52, Resulting Numbers: [57, 62, 52]
Generated Node #0,0: 98:[57, 62, 52] Operation: 25+27=52
Exploring Operation: 62-57=5, Resulting Numbers: [25, 27, 5]
Generated Node #0,1: 98:[25, 27, 5] Operation: 62-57=5
Exploring Operation: 27-25=2, Resulting Numbers: [57, 62, 2]
Generated Node #0,2: 98:[57, 62, 2] Operation: 27-25=2
Moving to Node #0,2
Current State: 98:[57, 62, 2], Operations: ['27-25=2']
Exploring Operation: 62-57=5, Resulting Numbers: [2, 5]
Generated Node #0,2,0: 98:[2, 5] Operation: 62-57=5
Exploring Operation: 57-2=55, Resulting Numbers: [62, 55]
Generated Node #0,2,1: 98:[62, 55] Operation: 57-2=55
Exploring Operation: 62-2=60, Resulting Numbers: [57, 60]
Generated Node #0,2,2: 98:[57, 60] Operation: 62-2=60
Moving to Node #0,0
Current State: 98:[57, 62, 52], Operations: ['25+27=52']
Exploring Operation: 62-57=5, Resulting Numbers: [52, 5]
Generated Node #0,0,0: 98:[52, 5] Operation: 62-57=5
Exploring Operation: 62-52=10, Resulting Numbers: [57, 10]
Generated Node #0,0,1: 98:[57, 10] Operation: 62-52=10
Exploring Operation: 57-52=5, Resulting Numbers: [62, 5]
Generated Node #0,0,2: 98:[62, 5] Operation: 57-52=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 98:[52, 5], Operations: ['25+27=52', '62-57=5']
Exploring Operation: 52*5=260, Resulting Numbers: [260]
260,98 unequal: No Solution
Exploring Operation: 52+5=57, Resulting Numbers: [57]
57,98 unequal: No Solution
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 98:[57, 10], Operations: ['25+27=52', '62-52=10']
Exploring Operation: 57-10=47, Resulting Numbers: [47]
47,98 unequal: No Solution
Exploring Operation: 57*10=570, Resulting Numbers: [570]
570,98 unequal: No Solution
Exploring Operation: 57+10=67, Resulting Numbers: [67]
67,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 98:[62, 5], Operations: ['25+27=52', '57-52=5']
Exploring Operation: 62+5=67, Resulting Numbers: [67]
67,98 unequal: No Solution
Exploring Operation: 62-5=57, Resulting Numbers: [57]
57,98 unequal: No Solution
Exploring Operation: 62*5=310, Resulting Numbers: [310]
310,98 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: 98:[25, 27, 5], Operations: ['62-57=5']
Exploring Operation: 25/5=5, Resulting Numbers: [27, 5]
Generated Node #0,1,0: 98:[27, 5] Operation: 25/5=5
Exploring Operation: 25+27=52, Resulting Numbers: [5, 52]
Generated Node #0,1,1: 98:[5, 52] Operation: 25+27=52
Exploring Operation: 27-25=2, Resulting Numbers: [5, 2]
Generated Node #0,1,2: 98:[5, 2] Operation: 27-25=2
Moving to Node #0,2,0
Current State: 98:[2, 5], Operations: ['27-25=2', '62-57=5']
Exploring Operation: 2+5=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,98 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Moving to Node #0,1,2
Current State: 98:[5, 2], Operations: ['62-57=5', '27-25=2']
Exploring Operation: 5*2=10, Resulting Numbers: [10]
10,98 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,98 unequal: No Solution
Exploring Operation: 5+2=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Moving to Node #0,1,1
Current State: 98:[5, 52], Operations: ['62-57=5', '25+27=52']
Exploring Operation: 5*52=260, Resulting Numbers: [260]
260,98 unequal: No Solution
Exploring Operation: 5+52=57, Resulting Numbers: [57]
57,98 unequal: No Solution
Exploring Operation: 52-5=47, Resulting Numbers: [47]
47,98 unequal: No Solution
Moving to Node #0,1,0
Current State: 98:[27, 5], Operations: ['62-57=5', '25/5=5']
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,98 unequal: No Solution
Exploring Operation: 27*5=135, Resulting Numbers: [135]
135,98 unequal: No Solution
Exploring Operation: 27+5=32, Resulting Numbers: [32]
32,98 unequal: No Solution
Moving to Node #0,2,1
Current State: 98:[62, 55], Operations: ['27-25=2', '57-2=55']
Exploring Operation: 62-55=7, Resulting Numbers: [7]
7,98 unequal: No Solution
Exploring Operation: 62+55=117, Resulting Numbers: [117]
117,98 unequal: No Solution
Exploring Operation: 62*55=3410, Resulting Numbers: [3410]
3410,98 unequal: No Solution
Moving to Node #0,2,2
Current State: 98:[57, 60], Operations: ['27-25=2', '62-2=60']
Exploring Operation: 57*60=3420, Resulting Numbers: [3420]
3420,98 unequal: No Solution
Exploring Operation: 57+60=117, Resulting Numbers: [117]
117,98 unequal: No Solution
Exploring Operation: 60-57=3, Resulting Numbers: [3]
3,98 unequal: No Solution
No solution found.
| 0 |
hs_3
|
sum_heuristic
|
[
76,
2,
56,
62
] | 44 |
[
"76-2=74",
"56+62=118",
"118-74=44"
] |
Current State: 44:[76, 2, 56, 62], Operations: []
Exploring Operation: 76-2=74, Resulting Numbers: [56, 62, 74]
Generated Node #2: [56, 62, 74] from Operation: 76-2=74
Current State: 44:[56, 62, 74], Operations: ['76-2=74']
Exploring Operation: 56+62=118, Resulting Numbers: [74, 118]
Generated Node #3: [74, 118] from Operation: 56+62=118
Current State: 44:[74, 118], Operations: ['76-2=74', '56+62=118']
Exploring Operation: 118-74=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 |
Current State: 44:[76, 2, 56, 62], Operations: []
Exploring Operation: 76-62=14, Resulting Numbers: [2, 56, 14]
Generated Node #0,0: 44:[2, 56, 14] Operation: 76-62=14
Start Sub Search at level 1: Moving to Node #0,0
Current State: 44:[2, 56, 14], Operations: ['76-62=14']
Exploring Operation: 56/14=4, Resulting Numbers: [2, 4]
Generated Node #0,0,0: 44:[2, 4] Operation: 56/14=4
Moving to Node #0,0,0
Current State: 44:[2, 4], Operations: ['76-62=14', '56/14=4']
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,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
|
[
42,
80,
26,
64
] | 85 |
[
"42+26=68",
"80*68=5440",
"5440/64=85"
] |
Current State: 85:[42, 80, 26, 64], Operations: []
Exploring Operation: 42+26=68, Resulting Numbers: [80, 64, 68]
Generated Node #2: [80, 64, 68] from Operation: 42+26=68
Current State: 85:[80, 64, 68], Operations: ['42+26=68']
Exploring Operation: 80*68=5440, Resulting Numbers: [64, 5440]
Generated Node #3: [64, 5440] from Operation: 80*68=5440
Current State: 85:[64, 5440], Operations: ['42+26=68', '80*68=5440']
Exploring Operation: 5440/64=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 |
Current State: 85:[42, 80, 26, 64], Operations: []
Exploring Operation: 64-42=22, Resulting Numbers: [80, 26, 22]
Generated Node #0,0: 85:[80, 26, 22] Operation: 64-42=22
Moving to Node #0,0
Current State: 85:[80, 26, 22], Operations: ['64-42=22']
Exploring Operation: 26-22=4, Resulting Numbers: [80, 4]
Generated Node #0,0,0: 85:[80, 4] Operation: 26-22=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[80, 4], Operations: ['64-42=22', '26-22=4']
Exploring Operation: 80+4=84, Resulting Numbers: [84]
84,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
22,
40,
92,
43
] | 37 |
[
"40+92=132",
"132/22=6",
"43-6=37"
] |
Current State: 37:[22, 40, 92, 43], Operations: []
Exploring Operation: 40+92=132, Resulting Numbers: [22, 43, 132]
Generated Node #2: [22, 43, 132] from Operation: 40+92=132
Current State: 37:[22, 43, 132], Operations: ['40+92=132']
Exploring Operation: 132/22=6, Resulting Numbers: [43, 6]
Generated Node #3: [43, 6] from Operation: 132/22=6
Current State: 37:[43, 6], Operations: ['40+92=132', '132/22=6']
Exploring Operation: 43-6=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 |
Current State: 37:[22, 40, 92, 43], Operations: []
Exploring Operation: 92-40=52, Resulting Numbers: [22, 43, 52]
Generated Node #0,0: 37:[22, 43, 52] Operation: 92-40=52
Exploring Operation: 43-22=21, Resulting Numbers: [40, 92, 21]
Generated Node #0,1: 37:[40, 92, 21] Operation: 43-22=21
Exploring Operation: 92-22=70, Resulting Numbers: [40, 43, 70]
Generated Node #0,2: 37:[40, 43, 70] Operation: 92-22=70
Exploring Operation: 92-43=49, Resulting Numbers: [22, 40, 49]
Generated Node #0,3: 37:[22, 40, 49] Operation: 92-43=49
Moving to Node #0,3
Current State: 37:[22, 40, 49], Operations: ['92-43=49']
Exploring Operation: 40-22=18, Resulting Numbers: [49, 18]
Generated Node #0,3,0: 37:[49, 18] Operation: 40-22=18
Exploring Operation: 49-22=27, Resulting Numbers: [40, 27]
Generated Node #0,3,1: 37:[40, 27] Operation: 49-22=27
Exploring Operation: 22+40=62, Resulting Numbers: [49, 62]
Generated Node #0,3,2: 37:[49, 62] Operation: 22+40=62
Exploring Operation: 22+49=71, Resulting Numbers: [40, 71]
Generated Node #0,3,3: 37:[40, 71] Operation: 22+49=71
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 37:[40, 27], Operations: ['92-43=49', '49-22=27']
Exploring Operation: 40*27=1080, Resulting Numbers: [1080]
1080,37 unequal: No Solution
Exploring Operation: 40-27=13, Resulting Numbers: [13]
13,37 unequal: No Solution
Exploring Operation: 40+27=67, Resulting Numbers: [67]
67,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,3,0
Current State: 37:[49, 18], Operations: ['92-43=49', '40-22=18']
Exploring Operation: 49-18=31, Resulting Numbers: [31]
31,37 unequal: No Solution
Exploring Operation: 49+18=67, Resulting Numbers: [67]
67,37 unequal: No Solution
Exploring Operation: 49*18=882, Resulting Numbers: [882]
882,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,3,2
Current State: 37:[49, 62], Operations: ['92-43=49', '22+40=62']
Exploring Operation: 49+62=111, Resulting Numbers: [111]
111,37 unequal: No Solution
Exploring Operation: 62-49=13, Resulting Numbers: [13]
13,37 unequal: No Solution
Exploring Operation: 49*62=3038, Resulting Numbers: [3038]
3038,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,3,3
Current State: 37:[40, 71], Operations: ['92-43=49', '22+49=71']
Exploring Operation: 40+71=111, Resulting Numbers: [111]
111,37 unequal: No Solution
Exploring Operation: 71-40=31, Resulting Numbers: [31]
31,37 unequal: No Solution
Exploring Operation: 40*71=2840, Resulting Numbers: [2840]
2840,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:[22, 43, 52], Operations: ['92-40=52']
Exploring Operation: 22+52=74, Resulting Numbers: [43, 74]
Generated Node #0,0,0: 37:[43, 74] Operation: 22+52=74
Exploring Operation: 52-22=30, Resulting Numbers: [43, 30]
Generated Node #0,0,1: 37:[43, 30] Operation: 52-22=30
Exploring Operation: 43-22=21, Resulting Numbers: [52, 21]
Generated Node #0,0,2: 37:[52, 21] Operation: 43-22=21
Exploring Operation: 22+43=65, Resulting Numbers: [52, 65]
Generated Node #0,0,3: 37:[52, 65] Operation: 22+43=65
Moving to Node #0,2
Current State: 37:[40, 43, 70], Operations: ['92-22=70']
Exploring Operation: 70-43=27, Resulting Numbers: [40, 27]
Generated Node #0,2,0: 37:[40, 27] Operation: 70-43=27
Exploring Operation: 43-40=3, Resulting Numbers: [70, 3]
Generated Node #0,2,1: 37:[70, 3] Operation: 43-40=3
Exploring Operation: 70-40=30, Resulting Numbers: [43, 30]
Generated Node #0,2,2: 37:[43, 30] Operation: 70-40=30
Exploring Operation: 40+43=83, Resulting Numbers: [70, 83]
Generated Node #0,2,3: 37:[70, 83] Operation: 40+43=83
Moving to Node #0,1
Current State: 37:[40, 92, 21], Operations: ['43-22=21']
Exploring Operation: 92-40=52, Resulting Numbers: [21, 52]
Generated Node #0,1,0: 37:[21, 52] Operation: 92-40=52
Exploring Operation: 92-21=71, Resulting Numbers: [40, 71]
Generated Node #0,1,1: 37:[40, 71] Operation: 92-21=71
Exploring Operation: 40+21=61, Resulting Numbers: [92, 61]
Generated Node #0,1,2: 37:[92, 61] Operation: 40+21=61
Exploring Operation: 40-21=19, Resulting Numbers: [92, 19]
Generated Node #0,1,3: 37:[92, 19] Operation: 40-21=19
Moving to Node #0,0,1
Current State: 37:[43, 30], Operations: ['92-40=52', '52-22=30']
Exploring Operation: 43-30=13, Resulting Numbers: [13]
13,37 unequal: No Solution
Exploring Operation: 43+30=73, Resulting Numbers: [73]
73,37 unequal: No Solution
Exploring Operation: 43*30=1290, Resulting Numbers: [1290]
1290,37 unequal: No Solution
Moving to Node #0,2,2
Current State: 37:[43, 30], Operations: ['92-22=70', '70-40=30']
Exploring Operation: 43-30=13, Resulting Numbers: [13]
13,37 unequal: No Solution
Exploring Operation: 43*30=1290, Resulting Numbers: [1290]
1290,37 unequal: No Solution
Exploring Operation: 43+30=73, Resulting Numbers: [73]
73,37 unequal: No Solution
Moving to Node #0,2,0
Current State: 37:[40, 27], Operations: ['92-22=70', '70-43=27']
Exploring Operation: 40+27=67, Resulting Numbers: [67]
67,37 unequal: No Solution
Exploring Operation: 40*27=1080, Resulting Numbers: [1080]
1080,37 unequal: No Solution
Exploring Operation: 40-27=13, Resulting Numbers: [13]
13,37 unequal: No Solution
Moving to Node #0,0,2
Current State: 37:[52, 21], Operations: ['92-40=52', '43-22=21']
Exploring Operation: 52-21=31, Resulting Numbers: [31]
31,37 unequal: No Solution
Exploring Operation: 52*21=1092, Resulting Numbers: [1092]
1092,37 unequal: No Solution
Exploring Operation: 52+21=73, Resulting Numbers: [73]
73,37 unequal: No Solution
Moving to Node #0,1,0
Current State: 37:[21, 52], Operations: ['43-22=21', '92-40=52']
Exploring Operation: 52-21=31, Resulting Numbers: [31]
31,37 unequal: No Solution
Exploring Operation: 21*52=1092, Resulting Numbers: [1092]
1092,37 unequal: No Solution
Exploring Operation: 21+52=73, Resulting Numbers: [73]
73,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[40, 71], Operations: ['43-22=21', '92-21=71']
Exploring Operation: 40*71=2840, Resulting Numbers: [2840]
2840,37 unequal: No Solution
Exploring Operation: 71-40=31, Resulting Numbers: [31]
31,37 unequal: No Solution
Exploring Operation: 40+71=111, Resulting Numbers: [111]
111,37 unequal: No Solution
Moving to Node #0,0,0
Current State: 37:[43, 74], Operations: ['92-40=52', '22+52=74']
Exploring Operation: 43*74=3182, Resulting Numbers: [3182]
3182,37 unequal: No Solution
Exploring Operation: 74-43=31, Resulting Numbers: [31]
31,37 unequal: No Solution
Exploring Operation: 43+74=117, Resulting Numbers: [117]
117,37 unequal: No Solution
Moving to Node #0,0,3
Current State: 37:[52, 65], Operations: ['92-40=52', '22+43=65']
Exploring Operation: 52*65=3380, Resulting Numbers: [3380]
3380,37 unequal: No Solution
Exploring Operation: 52+65=117, Resulting Numbers: [117]
117,37 unequal: No Solution
Exploring Operation: 65-52=13, Resulting Numbers: [13]
13,37 unequal: No Solution
Moving to Node #0,2,1
Current State: 37:[70, 3], Operations: ['92-22=70', '43-40=3']
Exploring Operation: 70+3=73, Resulting Numbers: [73]
73,37 unequal: No Solution
Exploring Operation: 70*3=210, Resulting Numbers: [210]
210,37 unequal: No Solution
Exploring Operation: 70-3=67, Resulting Numbers: [67]
67,37 unequal: No Solution
Moving to Node #0,1,3
Current State: 37:[92, 19], Operations: ['43-22=21', '40-21=19']
Exploring Operation: 92+19=111, Resulting Numbers: [111]
111,37 unequal: No Solution
Exploring Operation: 92-19=73, Resulting Numbers: [73]
73,37 unequal: No Solution
Exploring Operation: 92*19=1748, Resulting Numbers: [1748]
1748,37 unequal: No Solution
Moving to Node #0,2,3
Current State: 37:[70, 83], Operations: ['92-22=70', '40+43=83']
Exploring Operation: 70+83=153, Resulting Numbers: [153]
153,37 unequal: No Solution
Exploring Operation: 83-70=13, Resulting Numbers: [13]
13,37 unequal: No Solution
Exploring Operation: 70*83=5810, Resulting Numbers: [5810]
5810,37 unequal: No Solution
Moving to Node #0,1,2
Current State: 37:[92, 61], Operations: ['43-22=21', '40+21=61']
Exploring Operation: 92*61=5612, Resulting Numbers: [5612]
5612,37 unequal: No Solution
Exploring Operation: 92+61=153, Resulting Numbers: [153]
153,37 unequal: No Solution
Exploring Operation: 92-61=31, Resulting Numbers: [31]
31,37 unequal: No Solution
No solution found.
| 0 |
hs_4
|
sum_heuristic
|
[
21,
76,
11,
6
] | 61 |
[
"21*6=126",
"76-11=65",
"126-65=61"
] |
Current State: 61:[21, 76, 11, 6], Operations: []
Exploring Operation: 21*6=126, Resulting Numbers: [76, 11, 126]
Generated Node #2: [76, 11, 126] from Operation: 21*6=126
Current State: 61:[76, 11, 126], Operations: ['21*6=126']
Exploring Operation: 76-11=65, Resulting Numbers: [126, 65]
Generated Node #3: [126, 65] from Operation: 76-11=65
Current State: 61:[126, 65], Operations: ['21*6=126', '76-11=65']
Exploring Operation: 126-65=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 |
Current State: 61:[21, 76, 11, 6], Operations: []
Exploring Operation: 11*6=66, Resulting Numbers: [21, 76, 66]
Generated Node #0,0: 61:[21, 76, 66] Operation: 11*6=66
Exploring Operation: 21+6=27, Resulting Numbers: [76, 11, 27]
Generated Node #0,1: 61:[76, 11, 27] Operation: 21+6=27
Exploring Operation: 21+11=32, Resulting Numbers: [76, 6, 32]
Generated Node #0,2: 61:[76, 6, 32] Operation: 21+11=32
Moving to Node #0,0
Current State: 61:[21, 76, 66], Operations: ['11*6=66']
Exploring Operation: 76-21=55, Resulting Numbers: [66, 55]
Generated Node #0,0,0: 61:[66, 55] Operation: 76-21=55
Exploring Operation: 66-21=45, Resulting Numbers: [76, 45]
Generated Node #0,0,1: 61:[76, 45] Operation: 66-21=45
Exploring Operation: 21+76=97, Resulting Numbers: [66, 97]
Generated Node #0,0,2: 61:[66, 97] Operation: 21+76=97
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[66, 55], Operations: ['11*6=66', '76-21=55']
Exploring Operation: 66+55=121, Resulting Numbers: [121]
121,61 unequal: No Solution
Exploring Operation: 66*55=3630, Resulting Numbers: [3630]
3630,61 unequal: No Solution
Exploring Operation: 66-55=11, Resulting Numbers: [11]
11,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,1
Current State: 61:[76, 45], Operations: ['11*6=66', '66-21=45']
Exploring Operation: 76*45=3420, Resulting Numbers: [3420]
3420,61 unequal: No Solution
Exploring Operation: 76-45=31, Resulting Numbers: [31]
31,61 unequal: No Solution
Exploring Operation: 76+45=121, Resulting Numbers: [121]
121,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:[66, 97], Operations: ['11*6=66', '21+76=97']
Exploring Operation: 66+97=163, Resulting Numbers: [163]
163,61 unequal: No Solution
Exploring Operation: 97-66=31, Resulting Numbers: [31]
31,61 unequal: No Solution
Exploring Operation: 66*97=6402, Resulting Numbers: [6402]
6402,61 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: 61:[76, 11, 27], Operations: ['21+6=27']
Exploring Operation: 11+27=38, Resulting Numbers: [76, 38]
Generated Node #0,1,0: 61:[76, 38] Operation: 11+27=38
Exploring Operation: 76-11=65, Resulting Numbers: [27, 65]
Generated Node #0,1,1: 61:[27, 65] Operation: 76-11=65
Exploring Operation: 76+11=87, Resulting Numbers: [27, 87]
Generated Node #0,1,2: 61:[27, 87] Operation: 76+11=87
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 61:[76, 38], Operations: ['21+6=27', '11+27=38']
Exploring Operation: 76+38=114, Resulting Numbers: [114]
114,61 unequal: No Solution
Exploring Operation: 76/38=2, Resulting Numbers: [2]
2,61 unequal: No Solution
Exploring Operation: 76-38=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,1,1
Current State: 61:[27, 65], Operations: ['21+6=27', '76-11=65']
Exploring Operation: 27*65=1755, Resulting Numbers: [1755]
1755,61 unequal: No Solution
Exploring Operation: 27+65=92, Resulting Numbers: [92]
92,61 unequal: No Solution
Exploring Operation: 65-27=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,1,2
Current State: 61:[27, 87], Operations: ['21+6=27', '76+11=87']
Exploring Operation: 27+87=114, Resulting Numbers: [114]
114,61 unequal: No Solution
Exploring Operation: 27*87=2349, Resulting Numbers: [2349]
2349,61 unequal: No Solution
Exploring Operation: 87-27=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:[76, 6, 32], Operations: ['21+11=32']
Exploring Operation: 76-6=70, Resulting Numbers: [32, 70]
Generated Node #0,2,0: 61:[32, 70] Operation: 76-6=70
Exploring Operation: 76+6=82, Resulting Numbers: [32, 82]
Generated Node #0,2,1: 61:[32, 82] Operation: 76+6=82
Exploring Operation: 6+32=38, Resulting Numbers: [76, 38]
Generated Node #0,2,2: 61:[76, 38] Operation: 6+32=38
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 61:[32, 70], Operations: ['21+11=32', '76-6=70']
Exploring Operation: 32+70=102, Resulting Numbers: [102]
102,61 unequal: No Solution
Exploring Operation: 70-32=38, Resulting Numbers: [38]
38,61 unequal: No Solution
Exploring Operation: 32*70=2240, Resulting Numbers: [2240]
2240,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,2,2
Current State: 61:[76, 38], Operations: ['21+11=32', '6+32=38']
Exploring Operation: 76/38=2, Resulting Numbers: [2]
2,61 unequal: No Solution
Exploring Operation: 76-38=38, Resulting Numbers: [38]
38,61 unequal: No Solution
Exploring Operation: 76+38=114, Resulting Numbers: [114]
114,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,2,1
Current State: 61:[32, 82], Operations: ['21+11=32', '76+6=82']
Exploring Operation: 32+82=114, Resulting Numbers: [114]
114,61 unequal: No Solution
Exploring Operation: 82-32=50, Resulting Numbers: [50]
50,61 unequal: No Solution
Exploring Operation: 32*82=2624, Resulting Numbers: [2624]
2624,61 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_3
|
mult_heuristic
|
[
2,
27,
25,
82
] | 81 |
[
"27-2=25",
"25/25=1",
"82-1=81"
] |
Current State: 81:[2, 27, 25, 82], Operations: []
Exploring Operation: 27-2=25, Resulting Numbers: [25, 82, 25]
Generated Node #2: [25, 82, 25] from Operation: 27-2=25
Current State: 81:[25, 82, 25], Operations: ['27-2=25']
Exploring Operation: 25/25=1, Resulting Numbers: [82, 1]
Generated Node #3: [82, 1] from Operation: 25/25=1
Current State: 81:[82, 1], Operations: ['27-2=25', '25/25=1']
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 |
Current State: 81:[2, 27, 25, 82], Operations: []
Exploring Operation: 27-25=2, Resulting Numbers: [2, 82, 2]
Generated Node #0,0: 81:[2, 82, 2] Operation: 27-25=2
Exploring Operation: 82-2=80, Resulting Numbers: [27, 25, 80]
Generated Node #0,1: 81:[27, 25, 80] Operation: 82-2=80
Exploring Operation: 2+25=27, Resulting Numbers: [27, 82, 27]
Generated Node #0,2: 81:[27, 82, 27] Operation: 2+25=27
Start Sub Search at level 1: Moving to Node #0,2
Current State: 81:[27, 82, 27], Operations: ['2+25=27']
Exploring Operation: 27/27=1, Resulting Numbers: [82, 1]
Generated Node #0,2,0: 81:[82, 1] Operation: 27/27=1
Exploring Operation: 27-27=0, Resulting Numbers: [82, 0]
Generated Node #0,2,1: 81:[82, 0] Operation: 27-27=0
Exploring Operation: 82-27=55, Resulting Numbers: [27, 55]
Generated Node #0,2,2: 81:[27, 55] Operation: 82-27=55
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 81:[82, 1], Operations: ['2+25=27', '27/27=1']
Exploring Operation: 82/1=82, Resulting Numbers: [82]
82,81 unequal: No Solution
Exploring Operation: 82*1=82, Resulting Numbers: [82]
82,81 unequal: No Solution
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[2, 27, 25, 82], Operations: []
Exploring Operation: 2+25=27, Resulting Numbers: [27, 82, 27]
Generated Node #0,2: 81:[27, 82, 27] Operation: 2+25=27
Moving to Node #0,2
Current State: 81:[27, 82, 27], Operations: ['2+25=27']
Exploring Operation: 27/27=1, Resulting Numbers: [82, 1]
Generated Node #0,2,0: 81:[82, 1] Operation: 27/27=1
Moving to Node #0,2,0
Current State: 81:[82, 1], Operations: ['2+25=27', '27/27=1']
Exploring Operation: 82-1=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 |
hs_3
|
mult_heuristic
|
[
14,
34,
27,
18
] | 30 |
[
"34-14=20",
"27*20=540",
"540/18=30"
] |
Current State: 30:[14, 34, 27, 18], Operations: []
Exploring Operation: 34-14=20, Resulting Numbers: [27, 18, 20]
Generated Node #2: [27, 18, 20] from Operation: 34-14=20
Current State: 30:[27, 18, 20], Operations: ['34-14=20']
Exploring Operation: 27*20=540, Resulting Numbers: [18, 540]
Generated Node #3: [18, 540] from Operation: 27*20=540
Current State: 30:[18, 540], Operations: ['34-14=20', '27*20=540']
Exploring Operation: 540/18=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 |
Current State: 30:[14, 34, 27, 18], Operations: []
Exploring Operation: 34-18=16, Resulting Numbers: [14, 27, 16]
Generated Node #0,0: 30:[14, 27, 16] Operation: 34-18=16
Exploring Operation: 34-27=7, Resulting Numbers: [14, 18, 7]
Generated Node #0,1: 30:[14, 18, 7] Operation: 34-27=7
Exploring Operation: 27-18=9, Resulting Numbers: [14, 34, 9]
Generated Node #0,2: 30:[14, 34, 9] Operation: 27-18=9
Moving to Node #0,0
Current State: 30:[14, 27, 16], Operations: ['34-18=16']
Exploring Operation: 14+16=30, Resulting Numbers: [27, 30]
Generated Node #0,0,0: 30:[27, 30] Operation: 14+16=30
Exploring Operation: 27-14=13, Resulting Numbers: [16, 13]
Generated Node #0,0,1: 30:[16, 13] Operation: 27-14=13
Exploring Operation: 27-16=11, Resulting Numbers: [14, 11]
Generated Node #0,0,2: 30:[14, 11] Operation: 27-16=11
Moving to Node #0,1
Current State: 30:[14, 18, 7], Operations: ['34-27=7']
Exploring Operation: 18-7=11, Resulting Numbers: [14, 11]
Generated Node #0,1,0: 30:[14, 11] Operation: 18-7=11
Exploring Operation: 14+18=32, Resulting Numbers: [7, 32]
Generated Node #0,1,1: 30:[7, 32] Operation: 14+18=32
Exploring Operation: 18-14=4, Resulting Numbers: [7, 4]
Generated Node #0,1,2: 30:[7, 4] Operation: 18-14=4
Moving to Node #0,2
Current State: 30:[14, 34, 9], Operations: ['27-18=9']
Exploring Operation: 34-14=20, Resulting Numbers: [9, 20]
Generated Node #0,2,0: 30:[9, 20] Operation: 34-14=20
Exploring Operation: 34-9=25, Resulting Numbers: [14, 25]
Generated Node #0,2,1: 30:[14, 25] Operation: 34-9=25
Exploring Operation: 14-9=5, Resulting Numbers: [34, 5]
Generated Node #0,2,2: 30:[34, 5] Operation: 14-9=5
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 30:[34, 5], Operations: ['27-18=9', '14-9=5']
Exploring Operation: 34-5=29, Resulting Numbers: [29]
29,30 unequal: No Solution
Exploring Operation: 34+5=39, Resulting Numbers: [39]
39,30 unequal: No Solution
Exploring Operation: 34*5=170, Resulting Numbers: [170]
170,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 30:[9, 20], Operations: ['27-18=9', '34-14=20']
Exploring Operation: 20-9=11, Resulting Numbers: [11]
11,30 unequal: No Solution
Exploring Operation: 9+20=29, Resulting Numbers: [29]
29,30 unequal: No Solution
Exploring Operation: 9*20=180, Resulting Numbers: [180]
180,30 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 30:[14, 25], Operations: ['27-18=9', '34-9=25']
Exploring Operation: 25-14=11, Resulting Numbers: [11]
11,30 unequal: No Solution
Exploring Operation: 14+25=39, Resulting Numbers: [39]
39,30 unequal: No Solution
Exploring Operation: 14*25=350, Resulting Numbers: [350]
350,30 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: 30:[14, 11], Operations: ['34-18=16', '27-16=11']
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,30 unequal: No Solution
Exploring Operation: 14+11=25, Resulting Numbers: [25]
25,30 unequal: No Solution
Exploring Operation: 14*11=154, Resulting Numbers: [154]
154,30 unequal: No Solution
Moving to Node #0,1,0
Current State: 30:[14, 11], Operations: ['34-27=7', '18-7=11']
Exploring Operation: 14+11=25, Resulting Numbers: [25]
25,30 unequal: No Solution
Exploring Operation: 14*11=154, Resulting Numbers: [154]
154,30 unequal: No Solution
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,30 unequal: No Solution
Moving to Node #0,1,2
Current State: 30:[7, 4], Operations: ['34-27=7', '18-14=4']
Exploring Operation: 7+4=11, Resulting Numbers: [11]
11,30 unequal: No Solution
Exploring Operation: 7-4=3, Resulting Numbers: [3]
3,30 unequal: No Solution
Exploring Operation: 7*4=28, Resulting Numbers: [28]
28,30 unequal: No Solution
Moving to Node #0,0,1
Current State: 30:[16, 13], Operations: ['34-18=16', '27-14=13']
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,30 unequal: No Solution
Exploring Operation: 16*13=208, Resulting Numbers: [208]
208,30 unequal: No Solution
Exploring Operation: 16+13=29, Resulting Numbers: [29]
29,30 unequal: No Solution
Moving to Node #0,0,0
Current State: 30:[27, 30], Operations: ['34-18=16', '14+16=30']
Exploring Operation: 27*30=810, Resulting Numbers: [810]
810,30 unequal: No Solution
Exploring Operation: 30-27=3, Resulting Numbers: [3]
3,30 unequal: No Solution
Exploring Operation: 27+30=57, Resulting Numbers: [57]
57,30 unequal: No Solution
Moving to Node #0,1,1
Current State: 30:[7, 32], Operations: ['34-27=7', '14+18=32']
Exploring Operation: 7+32=39, Resulting Numbers: [39]
39,30 unequal: No Solution
Exploring Operation: 7*32=224, Resulting Numbers: [224]
224,30 unequal: No Solution
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,30 unequal: No Solution
No solution found.
| 0 |
hs_3
|
mult_heuristic
|
[
8,
21,
42,
58
] | 48 |
[
"58-8=50",
"42/21=2",
"50-2=48"
] |
Current State: 48:[8, 21, 42, 58], Operations: []
Exploring Operation: 58-8=50, Resulting Numbers: [21, 42, 50]
Generated Node #2: [21, 42, 50] from Operation: 58-8=50
Current State: 48:[21, 42, 50], Operations: ['58-8=50']
Exploring Operation: 42/21=2, Resulting Numbers: [50, 2]
Generated Node #3: [50, 2] from Operation: 42/21=2
Current State: 48:[50, 2], Operations: ['58-8=50', '42/21=2']
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 |
Current State: 48:[8, 21, 42, 58], Operations: []
Exploring Operation: 58-42=16, Resulting Numbers: [8, 21, 16]
Generated Node #0,0: 48:[8, 21, 16] Operation: 58-42=16
Start Sub Search at level 1: Moving to Node #0,0
Current State: 48:[8, 21, 16], Operations: ['58-42=16']
Exploring Operation: 21-8=13, Resulting Numbers: [16, 13]
Generated Node #0,0,0: 48:[16, 13] Operation: 21-8=13
Moving to Node #0,0,0
Current State: 48:[16, 13], Operations: ['58-42=16', '21-8=13']
Exploring Operation: 16-13=3, Resulting Numbers: [3]
3,48 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
|
[
39,
11,
10,
61
] | 66 |
[
"39+11=50",
"50/10=5",
"61+5=66"
] |
Current State: 66:[39, 11, 10, 61], Operations: []
Exploring Operation: 39+11=50, Resulting Numbers: [10, 61, 50]
Generated Node #2: [10, 61, 50] from Operation: 39+11=50
Current State: 66:[10, 61, 50], Operations: ['39+11=50']
Exploring Operation: 50/10=5, Resulting Numbers: [61, 5]
Generated Node #3: [61, 5] from Operation: 50/10=5
Current State: 66:[61, 5], Operations: ['39+11=50', '50/10=5']
Exploring Operation: 61+5=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 |
Current State: 66:[39, 11, 10, 61], Operations: []
Exploring Operation: 39-10=29, Resulting Numbers: [11, 61, 29]
Generated Node #0,0: 66:[11, 61, 29] Operation: 39-10=29
Exploring Operation: 10+61=71, Resulting Numbers: [39, 11, 71]
Generated Node #0,1: 66:[39, 11, 71] Operation: 10+61=71
Exploring Operation: 39-11=28, Resulting Numbers: [10, 61, 28]
Generated Node #0,2: 66:[10, 61, 28] Operation: 39-11=28
Exploring Operation: 61-39=22, Resulting Numbers: [11, 10, 22]
Generated Node #0,3: 66:[11, 10, 22] Operation: 61-39=22
Moving to Node #0,3
Current State: 66:[11, 10, 22], Operations: ['61-39=22']
Exploring Operation: 11+10=21, Resulting Numbers: [22, 21]
Generated Node #0,3,0: 66:[22, 21] Operation: 11+10=21
Exploring Operation: 22-11=11, Resulting Numbers: [10, 11]
Generated Node #0,3,1: 66:[10, 11] Operation: 22-11=11
Exploring Operation: 11+22=33, Resulting Numbers: [10, 33]
Generated Node #0,3,2: 66:[10, 33] Operation: 11+22=33
Exploring Operation: 11-10=1, Resulting Numbers: [22, 1]
Generated Node #0,3,3: 66:[22, 1] Operation: 11-10=1
Moving to Node #0,0
Current State: 66:[11, 61, 29], Operations: ['39-10=29']
Exploring Operation: 61-29=32, Resulting Numbers: [11, 32]
Generated Node #0,0,0: 66:[11, 32] Operation: 61-29=32
Exploring Operation: 11+29=40, Resulting Numbers: [61, 40]
Generated Node #0,0,1: 66:[61, 40] Operation: 11+29=40
Exploring Operation: 29-11=18, Resulting Numbers: [61, 18]
Generated Node #0,0,2: 66:[61, 18] Operation: 29-11=18
Exploring Operation: 11+61=72, Resulting Numbers: [29, 72]
Generated Node #0,0,3: 66:[29, 72] Operation: 11+61=72
Moving to Node #0,2
Current State: 66:[10, 61, 28], Operations: ['39-11=28']
Exploring Operation: 10+28=38, Resulting Numbers: [61, 38]
Generated Node #0,2,0: 66:[61, 38] Operation: 10+28=38
Exploring Operation: 10+61=71, Resulting Numbers: [28, 71]
Generated Node #0,2,1: 66:[28, 71] Operation: 10+61=71
Exploring Operation: 61-28=33, Resulting Numbers: [10, 33]
Generated Node #0,2,2: 66:[10, 33] Operation: 61-28=33
Exploring Operation: 28-10=18, Resulting Numbers: [61, 18]
Generated Node #0,2,3: 66:[61, 18] Operation: 28-10=18
Moving to Node #0,1
Current State: 66:[39, 11, 71], Operations: ['10+61=71']
Exploring Operation: 39-11=28, Resulting Numbers: [71, 28]
Generated Node #0,1,0: 66:[71, 28] Operation: 39-11=28
Exploring Operation: 39+11=50, Resulting Numbers: [71, 50]
Generated Node #0,1,1: 66:[71, 50] Operation: 39+11=50
Exploring Operation: 71-11=60, Resulting Numbers: [39, 60]
Generated Node #0,1,2: 66:[39, 60] Operation: 71-11=60
Exploring Operation: 71-39=32, Resulting Numbers: [11, 32]
Generated Node #0,1,3: 66:[11, 32] Operation: 71-39=32
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 66:[11, 32], Operations: ['10+61=71', '71-39=32']
Exploring Operation: 11*32=352, Resulting Numbers: [352]
352,66 unequal: No Solution
Exploring Operation: 11+32=43, Resulting Numbers: [43]
43,66 unequal: No Solution
Exploring Operation: 32-11=21, Resulting Numbers: [21]
21,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 66:[71, 28], Operations: ['10+61=71', '39-11=28']
Exploring Operation: 71-28=43, Resulting Numbers: [43]
43,66 unequal: No Solution
Exploring Operation: 71*28=1988, Resulting Numbers: [1988]
1988,66 unequal: No Solution
Exploring Operation: 71+28=99, Resulting Numbers: [99]
99,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 66:[39, 60], Operations: ['10+61=71', '71-11=60']
Exploring Operation: 60-39=21, Resulting Numbers: [21]
21,66 unequal: No Solution
Exploring Operation: 39*60=2340, Resulting Numbers: [2340]
2340,66 unequal: No Solution
Exploring Operation: 39+60=99, Resulting Numbers: [99]
99,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,1
Current State: 66:[71, 50], Operations: ['10+61=71', '39+11=50']
Exploring Operation: 71-50=21, Resulting Numbers: [21]
21,66 unequal: No Solution
Exploring Operation: 71+50=121, Resulting Numbers: [121]
121,66 unequal: No Solution
Exploring Operation: 71*50=3550, Resulting Numbers: [3550]
3550,66 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: 66:[22, 21], Operations: ['61-39=22', '11+10=21']
Exploring Operation: 22+21=43, Resulting Numbers: [43]
43,66 unequal: No Solution
Exploring Operation: 22*21=462, Resulting Numbers: [462]
462,66 unequal: No Solution
Exploring Operation: 22-21=1, Resulting Numbers: [1]
1,66 unequal: No Solution
Moving to Node #0,3,2
Current State: 66:[10, 33], Operations: ['61-39=22', '11+22=33']
Exploring Operation: 10*33=330, Resulting Numbers: [330]
330,66 unequal: No Solution
Exploring Operation: 10+33=43, Resulting Numbers: [43]
43,66 unequal: No Solution
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,66 unequal: No Solution
Moving to Node #0,3,1
Current State: 66:[10, 11], Operations: ['61-39=22', '22-11=11']
Exploring Operation: 11-10=1, Resulting Numbers: [1]
1,66 unequal: No Solution
Exploring Operation: 10*11=110, Resulting Numbers: [110]
110,66 unequal: No Solution
Exploring Operation: 10+11=21, Resulting Numbers: [21]
21,66 unequal: No Solution
Moving to Node #0,0,0
Current State: 66:[11, 32], Operations: ['39-10=29', '61-29=32']
Exploring Operation: 32-11=21, Resulting Numbers: [21]
21,66 unequal: No Solution
Exploring Operation: 11+32=43, Resulting Numbers: [43]
43,66 unequal: No Solution
Exploring Operation: 11*32=352, Resulting Numbers: [352]
352,66 unequal: No Solution
Moving to Node #0,3,3
Current State: 66:[22, 1], Operations: ['61-39=22', '11-10=1']
Exploring Operation: 22*1=22, Resulting Numbers: [22]
22,66 unequal: No Solution
Exploring Operation: 22-1=21, Resulting Numbers: [21]
21,66 unequal: No Solution
Exploring Operation: 22/1=22, Resulting Numbers: [22]
22,66 unequal: No Solution
Exploring Operation: 22+1=23, Resulting Numbers: [23]
23,66 unequal: No Solution
Moving to Node #0,2,2
Current State: 66:[10, 33], Operations: ['39-11=28', '61-28=33']
Exploring Operation: 10*33=330, Resulting Numbers: [330]
330,66 unequal: No Solution
Exploring Operation: 33-10=23, Resulting Numbers: [23]
23,66 unequal: No Solution
Exploring Operation: 10+33=43, Resulting Numbers: [43]
43,66 unequal: No Solution
Moving to Node #0,0,2
Current State: 66:[61, 18], Operations: ['39-10=29', '29-11=18']
Exploring Operation: 61-18=43, Resulting Numbers: [43]
43,66 unequal: No Solution
Exploring Operation: 61*18=1098, Resulting Numbers: [1098]
1098,66 unequal: No Solution
Exploring Operation: 61+18=79, Resulting Numbers: [79]
79,66 unequal: No Solution
Moving to Node #0,2,3
Current State: 66:[61, 18], Operations: ['39-11=28', '28-10=18']
Exploring Operation: 61-18=43, Resulting Numbers: [43]
43,66 unequal: No Solution
Exploring Operation: 61*18=1098, Resulting Numbers: [1098]
1098,66 unequal: No Solution
Exploring Operation: 61+18=79, Resulting Numbers: [79]
79,66 unequal: No Solution
Moving to Node #0,2,1
Current State: 66:[28, 71], Operations: ['39-11=28', '10+61=71']
Exploring Operation: 28+71=99, Resulting Numbers: [99]
99,66 unequal: No Solution
Exploring Operation: 71-28=43, Resulting Numbers: [43]
43,66 unequal: No Solution
Exploring Operation: 28*71=1988, Resulting Numbers: [1988]
1988,66 unequal: No Solution
Moving to Node #0,2,0
Current State: 66:[61, 38], Operations: ['39-11=28', '10+28=38']
Exploring Operation: 61+38=99, Resulting Numbers: [99]
99,66 unequal: No Solution
Exploring Operation: 61-38=23, Resulting Numbers: [23]
23,66 unequal: No Solution
Exploring Operation: 61*38=2318, Resulting Numbers: [2318]
2318,66 unequal: No Solution
Moving to Node #0,0,3
Current State: 66:[29, 72], Operations: ['39-10=29', '11+61=72']
Exploring Operation: 29*72=2088, Resulting Numbers: [2088]
2088,66 unequal: No Solution
Exploring Operation: 29+72=101, Resulting Numbers: [101]
101,66 unequal: No Solution
Exploring Operation: 72-29=43, Resulting Numbers: [43]
43,66 unequal: No Solution
Moving to Node #0,0,1
Current State: 66:[61, 40], Operations: ['39-10=29', '11+29=40']
Exploring Operation: 61+40=101, Resulting Numbers: [101]
101,66 unequal: No Solution
Exploring Operation: 61-40=21, Resulting Numbers: [21]
21,66 unequal: No Solution
Exploring Operation: 61*40=2440, Resulting Numbers: [2440]
2440,66 unequal: No Solution
No solution found.
| 0 |
hs_4
|
sum_heuristic
|
[
67,
56,
10,
53
] | 68 |
[
"67+53=120",
"120/10=12",
"56+12=68"
] |
Current State: 68:[67, 56, 10, 53], Operations: []
Exploring Operation: 67+53=120, Resulting Numbers: [56, 10, 120]
Generated Node #2: [56, 10, 120] from Operation: 67+53=120
Current State: 68:[56, 10, 120], Operations: ['67+53=120']
Exploring Operation: 120/10=12, Resulting Numbers: [56, 12]
Generated Node #3: [56, 12] from Operation: 120/10=12
Current State: 68:[56, 12], Operations: ['67+53=120', '120/10=12']
Exploring Operation: 56+12=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 |
Current State: 68:[67, 56, 10, 53], Operations: []
Exploring Operation: 56-53=3, Resulting Numbers: [67, 10, 3]
Generated Node #0,0: 68:[67, 10, 3] Operation: 56-53=3
Exploring Operation: 67-53=14, Resulting Numbers: [56, 10, 14]
Generated Node #0,1: 68:[56, 10, 14] Operation: 67-53=14
Exploring Operation: 56+10=66, Resulting Numbers: [67, 53, 66]
Generated Node #0,2: 68:[67, 53, 66] Operation: 56+10=66
Exploring Operation: 10+53=63, Resulting Numbers: [67, 56, 63]
Generated Node #0,3: 68:[67, 56, 63] Operation: 10+53=63
Moving to Node #0,0
Current State: 68:[67, 10, 3], Operations: ['56-53=3']
Exploring Operation: 10-3=7, Resulting Numbers: [67, 7]
Generated Node #0,0,0: 68:[67, 7] Operation: 10-3=7
Exploring Operation: 67+3=70, Resulting Numbers: [10, 70]
Generated Node #0,0,1: 68:[10, 70] Operation: 67+3=70
Exploring Operation: 10*3=30, Resulting Numbers: [67, 30]
Generated Node #0,0,2: 68:[67, 30] Operation: 10*3=30
Exploring Operation: 10+3=13, Resulting Numbers: [67, 13]
Generated Node #0,0,3: 68:[67, 13] Operation: 10+3=13
Moving to Node #0,3
Current State: 68:[67, 56, 63], Operations: ['10+53=63']
Exploring Operation: 56+63=119, Resulting Numbers: [67, 119]
Generated Node #0,3,0: 68:[67, 119] Operation: 56+63=119
Exploring Operation: 63-56=7, Resulting Numbers: [67, 7]
Generated Node #0,3,1: 68:[67, 7] Operation: 63-56=7
Exploring Operation: 67-63=4, Resulting Numbers: [56, 4]
Generated Node #0,3,2: 68:[56, 4] Operation: 67-63=4
Exploring Operation: 67-56=11, Resulting Numbers: [63, 11]
Generated Node #0,3,3: 68:[63, 11] Operation: 67-56=11
Moving to Node #0,2
Current State: 68:[67, 53, 66], Operations: ['56+10=66']
Exploring Operation: 66-53=13, Resulting Numbers: [67, 13]
Generated Node #0,2,0: 68:[67, 13] Operation: 66-53=13
Exploring Operation: 67-53=14, Resulting Numbers: [66, 14]
Generated Node #0,2,1: 68:[66, 14] Operation: 67-53=14
Exploring Operation: 53+66=119, Resulting Numbers: [67, 119]
Generated Node #0,2,2: 68:[67, 119] Operation: 53+66=119
Exploring Operation: 67-66=1, Resulting Numbers: [53, 1]
Generated Node #0,2,3: 68:[53, 1] Operation: 67-66=1
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 68:[67, 13], Operations: ['56+10=66', '66-53=13']
Exploring Operation: 67-13=54, Resulting Numbers: [54]
54,68 unequal: No Solution
Exploring Operation: 67*13=871, Resulting Numbers: [871]
871,68 unequal: No Solution
Exploring Operation: 67+13=80, Resulting Numbers: [80]
80,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 68:[66, 14], Operations: ['56+10=66', '67-53=14']
Exploring Operation: 66-14=52, Resulting Numbers: [52]
52,68 unequal: No Solution
Exploring Operation: 66*14=924, Resulting Numbers: [924]
924,68 unequal: No Solution
Exploring Operation: 66+14=80, Resulting Numbers: [80]
80,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 68:[53, 1], Operations: ['56+10=66', '67-66=1']
Exploring Operation: 53*1=53, Resulting Numbers: [53]
53,68 unequal: No Solution
Exploring Operation: 53/1=53, Resulting Numbers: [53]
53,68 unequal: No Solution
Exploring Operation: 53+1=54, Resulting Numbers: [54]
54,68 unequal: No Solution
Exploring Operation: 53-1=52, Resulting Numbers: [52]
52,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 68:[67, 119], Operations: ['56+10=66', '53+66=119']
Exploring Operation: 119-67=52, Resulting Numbers: [52]
52,68 unequal: No Solution
Exploring Operation: 67+119=186, Resulting Numbers: [186]
186,68 unequal: No Solution
Exploring Operation: 67*119=7973, Resulting Numbers: [7973]
7973,68 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: 68:[56, 10, 14], Operations: ['67-53=14']
Exploring Operation: 56/14=4, Resulting Numbers: [10, 4]
Generated Node #0,1,0: 68:[10, 4] Operation: 56/14=4
Exploring Operation: 56+10=66, Resulting Numbers: [14, 66]
Generated Node #0,1,1: 68:[14, 66] Operation: 56+10=66
Exploring Operation: 14-10=4, Resulting Numbers: [56, 4]
Generated Node #0,1,2: 68:[56, 4] Operation: 14-10=4
Exploring Operation: 56+14=70, Resulting Numbers: [10, 70]
Generated Node #0,1,3: 68:[10, 70] Operation: 56+14=70
Moving to Node #0,0,0
Current State: 68:[67, 7], Operations: ['56-53=3', '10-3=7']
Exploring Operation: 67-7=60, Resulting Numbers: [60]
60,68 unequal: No Solution
Exploring Operation: 67+7=74, Resulting Numbers: [74]
74,68 unequal: No Solution
Exploring Operation: 67*7=469, Resulting Numbers: [469]
469,68 unequal: No Solution
Moving to Node #0,3,1
Current State: 68:[67, 7], Operations: ['10+53=63', '63-56=7']
Exploring Operation: 67*7=469, Resulting Numbers: [469]
469,68 unequal: No Solution
Exploring Operation: 67+7=74, Resulting Numbers: [74]
74,68 unequal: No Solution
Exploring Operation: 67-7=60, Resulting Numbers: [60]
60,68 unequal: No Solution
Moving to Node #0,0,3
Current State: 68:[67, 13], Operations: ['56-53=3', '10+3=13']
Exploring Operation: 67-13=54, Resulting Numbers: [54]
54,68 unequal: No Solution
Exploring Operation: 67+13=80, Resulting Numbers: [80]
80,68 unequal: No Solution
Exploring Operation: 67*13=871, Resulting Numbers: [871]
871,68 unequal: No Solution
Moving to Node #0,0,2
Current State: 68:[67, 30], Operations: ['56-53=3', '10*3=30']
Exploring Operation: 67*30=2010, Resulting Numbers: [2010]
2010,68 unequal: No Solution
Exploring Operation: 67+30=97, Resulting Numbers: [97]
97,68 unequal: No Solution
Exploring Operation: 67-30=37, Resulting Numbers: [37]
37,68 unequal: No Solution
Moving to Node #0,1,1
Current State: 68:[14, 66], Operations: ['67-53=14', '56+10=66']
Exploring Operation: 14+66=80, Resulting Numbers: [80]
80,68 unequal: No Solution
Exploring Operation: 14*66=924, Resulting Numbers: [924]
924,68 unequal: No Solution
Exploring Operation: 66-14=52, Resulting Numbers: [52]
52,68 unequal: No Solution
Moving to Node #0,1,0
Current State: 68:[10, 4], Operations: ['67-53=14', '56/14=4']
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,68 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,68 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,68 unequal: No Solution
Moving to Node #0,1,3
Current State: 68:[10, 70], Operations: ['67-53=14', '56+14=70']
Exploring Operation: 70/10=7, Resulting Numbers: [7]
7,68 unequal: No Solution
Exploring Operation: 10*70=700, Resulting Numbers: [700]
700,68 unequal: No Solution
Exploring Operation: 70-10=60, Resulting Numbers: [60]
60,68 unequal: No Solution
Exploring Operation: 10+70=80, Resulting Numbers: [80]
80,68 unequal: No Solution
Moving to Node #0,0,1
Current State: 68:[10, 70], Operations: ['56-53=3', '67+3=70']
Exploring Operation: 10*70=700, Resulting Numbers: [700]
700,68 unequal: No Solution
Exploring Operation: 70/10=7, Resulting Numbers: [7]
7,68 unequal: No Solution
Exploring Operation: 10+70=80, Resulting Numbers: [80]
80,68 unequal: No Solution
Exploring Operation: 70-10=60, Resulting Numbers: [60]
60,68 unequal: No Solution
Moving to Node #0,3,3
Current State: 68:[63, 11], Operations: ['10+53=63', '67-56=11']
Exploring Operation: 63+11=74, Resulting Numbers: [74]
74,68 unequal: No Solution
Exploring Operation: 63*11=693, Resulting Numbers: [693]
693,68 unequal: No Solution
Exploring Operation: 63-11=52, Resulting Numbers: [52]
52,68 unequal: No Solution
Moving to Node #0,3,2
Current State: 68:[56, 4], Operations: ['10+53=63', '67-63=4']
Exploring Operation: 56*4=224, Resulting Numbers: [224]
224,68 unequal: No Solution
Exploring Operation: 56+4=60, Resulting Numbers: [60]
60,68 unequal: No Solution
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,68 unequal: No Solution
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,68 unequal: No Solution
Moving to Node #0,1,2
Current State: 68:[56, 4], Operations: ['67-53=14', '14-10=4']
Exploring Operation: 56+4=60, Resulting Numbers: [60]
60,68 unequal: No Solution
Exploring Operation: 56/4=14, Resulting Numbers: [14]
14,68 unequal: No Solution
Exploring Operation: 56*4=224, Resulting Numbers: [224]
224,68 unequal: No Solution
Exploring Operation: 56-4=52, Resulting Numbers: [52]
52,68 unequal: No Solution
Moving to Node #0,3,0
Current State: 68:[67, 119], Operations: ['10+53=63', '56+63=119']
Exploring Operation: 119-67=52, Resulting Numbers: [52]
52,68 unequal: No Solution
Exploring Operation: 67+119=186, Resulting Numbers: [186]
186,68 unequal: No Solution
Exploring Operation: 67*119=7973, Resulting Numbers: [7973]
7973,68 unequal: No Solution
No solution found.
| 0 |
hs_4
|
mult_heuristic
|
[
68,
3,
76,
6
] | 46 |
[
"68+76=144",
"144-6=138",
"138/3=46"
] |
Current State: 46:[68, 3, 76, 6], Operations: []
Exploring Operation: 68+76=144, Resulting Numbers: [3, 6, 144]
Generated Node #2: [3, 6, 144] from Operation: 68+76=144
Current State: 46:[3, 6, 144], Operations: ['68+76=144']
Exploring Operation: 144-6=138, Resulting Numbers: [3, 138]
Generated Node #3: [3, 138] from Operation: 144-6=138
Current State: 46:[3, 138], Operations: ['68+76=144', '144-6=138']
Exploring Operation: 138/3=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 |
Current State: 46:[68, 3, 76, 6], Operations: []
Exploring Operation: 68-6=62, Resulting Numbers: [3, 76, 62]
Generated Node #0,0: 46:[3, 76, 62] Operation: 68-6=62
Exploring Operation: 6/3=2, Resulting Numbers: [68, 76, 2]
Generated Node #0,1: 46:[68, 76, 2] Operation: 6/3=2
Exploring Operation: 76-68=8, Resulting Numbers: [3, 6, 8]
Generated Node #0,2: 46:[3, 6, 8] Operation: 76-68=8
Exploring Operation: 76-6=70, Resulting Numbers: [68, 3, 70]
Generated Node #0,3: 46:[68, 3, 70] Operation: 76-6=70
Start Sub Search at level 1: Moving to Node #0,2
Current State: 46:[3, 6, 8], Operations: ['76-68=8']
Exploring Operation: 6*8=48, Resulting Numbers: [3, 48]
Generated Node #0,2,0: 46:[3, 48] Operation: 6*8=48
Exploring Operation: 3*8=24, Resulting Numbers: [6, 24]
Generated Node #0,2,1: 46:[6, 24] Operation: 3*8=24
Exploring Operation: 6/3=2, Resulting Numbers: [8, 2]
Generated Node #0,2,2: 46:[8, 2] Operation: 6/3=2
Exploring Operation: 8-6=2, Resulting Numbers: [3, 2]
Generated Node #0,2,3: 46:[3, 2] Operation: 8-6=2
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 46:[3, 2], Operations: ['76-68=8', '8-6=2']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,46 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,46 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,46 unequal: No Solution
No 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: 46:[3, 48], Operations: ['76-68=8', '6*8=48']
Exploring Operation: 48-3=45, Resulting Numbers: [45]
45,46 unequal: No Solution
Exploring Operation: 3*48=144, Resulting Numbers: [144]
144,46 unequal: No Solution
Exploring Operation: 48/3=16, Resulting Numbers: [16]
16,46 unequal: No Solution
Exploring Operation: 3+48=51, Resulting Numbers: [51]
51,46 unequal: No Solution
No 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: 46:[6, 24], Operations: ['76-68=8', '3*8=24']
Exploring Operation: 6+24=30, Resulting Numbers: [30]
30,46 unequal: No Solution
Exploring Operation: 6*24=144, Resulting Numbers: [144]
144,46 unequal: No Solution
Exploring Operation: 24/6=4, Resulting Numbers: [4]
4,46 unequal: No Solution
Exploring Operation: 24-6=18, Resulting Numbers: [18]
18,46 unequal: No Solution
No 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: 46:[8, 2], Operations: ['76-68=8', '6/3=2']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,46 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,46 unequal: No Solution
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,46 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,46 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: 46:[3, 76, 62], Operations: ['68-6=62']
Exploring Operation: 62-3=59, Resulting Numbers: [76, 59]
Generated Node #0,0,0: 46:[76, 59] Operation: 62-3=59
Exploring Operation: 76-3=73, Resulting Numbers: [62, 73]
Generated Node #0,0,1: 46:[62, 73] Operation: 76-3=73
Exploring Operation: 76-62=14, Resulting Numbers: [3, 14]
Generated Node #0,0,2: 46:[3, 14] Operation: 76-62=14
Exploring Operation: 3+76=79, Resulting Numbers: [62, 79]
Generated Node #0,0,3: 46:[62, 79] Operation: 3+76=79
Moving to Node #0,0,2
Current State: 46:[3, 14], Operations: ['68-6=62', '76-62=14']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,46 unequal: No Solution
Exploring Operation: 3+14=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Exploring Operation: 3*14=42, Resulting Numbers: [42]
42,46 unequal: No Solution
Moving to Node #0,0,1
Current State: 46:[62, 73], Operations: ['68-6=62', '76-3=73']
Exploring Operation: 73-62=11, Resulting Numbers: [11]
11,46 unequal: No Solution
Exploring Operation: 62*73=4526, Resulting Numbers: [4526]
4526,46 unequal: No Solution
Exploring Operation: 62+73=135, Resulting Numbers: [135]
135,46 unequal: No Solution
Moving to Node #0,0,0
Current State: 46:[76, 59], Operations: ['68-6=62', '62-3=59']
Exploring Operation: 76*59=4484, Resulting Numbers: [4484]
4484,46 unequal: No Solution
Exploring Operation: 76+59=135, Resulting Numbers: [135]
135,46 unequal: No Solution
Exploring Operation: 76-59=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Moving to Node #0,0,3
Current State: 46:[62, 79], Operations: ['68-6=62', '3+76=79']
Exploring Operation: 79-62=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Exploring Operation: 62*79=4898, Resulting Numbers: [4898]
4898,46 unequal: No Solution
Exploring Operation: 62+79=141, Resulting Numbers: [141]
141,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 46:[68, 3, 70], Operations: ['76-6=70']
Exploring Operation: 70-3=67, Resulting Numbers: [68, 67]
Generated Node #0,3,0: 46:[68, 67] Operation: 70-3=67
Exploring Operation: 68+3=71, Resulting Numbers: [70, 71]
Generated Node #0,3,1: 46:[70, 71] Operation: 68+3=71
Exploring Operation: 68-3=65, Resulting Numbers: [70, 65]
Generated Node #0,3,2: 46:[70, 65] Operation: 68-3=65
Exploring Operation: 70-68=2, Resulting Numbers: [3, 2]
Generated Node #0,3,3: 46:[3, 2] Operation: 70-68=2
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 46:[3, 2], Operations: ['76-6=70', '70-68=2']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,46 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,46 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,46 unequal: No Solution
No 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: 46:[68, 67], Operations: ['76-6=70', '70-3=67']
Exploring Operation: 68-67=1, Resulting Numbers: [1]
1,46 unequal: No Solution
Exploring Operation: 68*67=4556, Resulting Numbers: [4556]
4556,46 unequal: No Solution
Exploring Operation: 68+67=135, Resulting Numbers: [135]
135,46 unequal: No Solution
No 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: 46:[70, 65], Operations: ['76-6=70', '68-3=65']
Exploring Operation: 70-65=5, Resulting Numbers: [5]
5,46 unequal: No Solution
Exploring Operation: 70+65=135, Resulting Numbers: [135]
135,46 unequal: No Solution
Exploring Operation: 70*65=4550, Resulting Numbers: [4550]
4550,46 unequal: No Solution
No 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: 46:[70, 71], Operations: ['76-6=70', '68+3=71']
Exploring Operation: 71-70=1, Resulting Numbers: [1]
1,46 unequal: No Solution
Exploring Operation: 70*71=4970, Resulting Numbers: [4970]
4970,46 unequal: No Solution
Exploring Operation: 70+71=141, Resulting Numbers: [141]
141,46 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: 46:[68, 76, 2], Operations: ['6/3=2']
Exploring Operation: 68/2=34, Resulting Numbers: [76, 34]
Generated Node #0,1,0: 46:[76, 34] Operation: 68/2=34
Exploring Operation: 68-2=66, Resulting Numbers: [76, 66]
Generated Node #0,1,1: 46:[76, 66] Operation: 68-2=66
Exploring Operation: 76/2=38, Resulting Numbers: [68, 38]
Generated Node #0,1,2: 46:[68, 38] Operation: 76/2=38
Exploring Operation: 76-68=8, Resulting Numbers: [2, 8]
Generated Node #0,1,3: 46:[2, 8] Operation: 76-68=8
Moving to Node #0,1,3
Current State: 46:[2, 8], Operations: ['6/3=2', '76-68=8']
Exploring Operation: 2*8=16, Resulting Numbers: [16]
16,46 unequal: No Solution
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,46 unequal: No Solution
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,46 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,46 unequal: No Solution
Moving to Node #0,1,2
Current State: 46:[68, 38], Operations: ['6/3=2', '76/2=38']
Exploring Operation: 68*38=2584, Resulting Numbers: [2584]
2584,46 unequal: No Solution
Exploring Operation: 68+38=106, Resulting Numbers: [106]
106,46 unequal: No Solution
Exploring Operation: 68-38=30, Resulting Numbers: [30]
30,46 unequal: No Solution
Moving to Node #0,1,0
Current State: 46:[76, 34], Operations: ['6/3=2', '68/2=34']
Exploring Operation: 76-34=42, Resulting Numbers: [42]
42,46 unequal: No Solution
Exploring Operation: 76*34=2584, Resulting Numbers: [2584]
2584,46 unequal: No Solution
Exploring Operation: 76+34=110, Resulting Numbers: [110]
110,46 unequal: No Solution
Moving to Node #0,1,1
Current State: 46:[76, 66], Operations: ['6/3=2', '68-2=66']
Exploring Operation: 76-66=10, Resulting Numbers: [10]
10,46 unequal: No Solution
Exploring Operation: 76*66=5016, Resulting Numbers: [5016]
5016,46 unequal: No Solution
Exploring Operation: 76+66=142, Resulting Numbers: [142]
142,46 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
|
[
28,
78,
5,
76
] | 46 |
[
"28-5=23",
"78-76=2",
"23*2=46"
] |
Current State: 46:[28, 78, 5, 76], Operations: []
Exploring Operation: 28-5=23, Resulting Numbers: [78, 76, 23]
Generated Node #2: [78, 76, 23] from Operation: 28-5=23
Current State: 46:[78, 76, 23], Operations: ['28-5=23']
Exploring Operation: 78-76=2, Resulting Numbers: [23, 2]
Generated Node #3: [23, 2] from Operation: 78-76=2
Current State: 46:[23, 2], Operations: ['28-5=23', '78-76=2']
Exploring Operation: 23*2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 |
Current State: 46:[28, 78, 5, 76], Operations: []
Exploring Operation: 78-28=50, Resulting Numbers: [5, 76, 50]
Generated Node #0,0: 46:[5, 76, 50] Operation: 78-28=50
Exploring Operation: 28-5=23, Resulting Numbers: [78, 76, 23]
Generated Node #0,1: 46:[78, 76, 23] Operation: 28-5=23
Exploring Operation: 76-28=48, Resulting Numbers: [78, 5, 48]
Generated Node #0,2: 46:[78, 5, 48] Operation: 76-28=48
Exploring Operation: 78-76=2, Resulting Numbers: [28, 5, 2]
Generated Node #0,3: 46:[28, 5, 2] Operation: 78-76=2
Moving to Node #0,3
Current State: 46:[28, 5, 2], Operations: ['78-76=2']
Exploring Operation: 28-5=23, Resulting Numbers: [2, 23]
Generated Node #0,3,0: 46:[2, 23] Operation: 28-5=23
Exploring Operation: 28-2=26, Resulting Numbers: [5, 26]
Generated Node #0,3,1: 46:[5, 26] Operation: 28-2=26
Exploring Operation: 5-2=3, Resulting Numbers: [28, 3]
Generated Node #0,3,2: 46:[28, 3] Operation: 5-2=3
Exploring Operation: 28+5=33, Resulting Numbers: [2, 33]
Generated Node #0,3,3: 46:[2, 33] Operation: 28+5=33
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 46:[2, 23], Operations: ['78-76=2', '28-5=23']
Exploring Operation: 2*23=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[28, 78, 5, 76], Operations: []
Exploring Operation: 78-76=2, Resulting Numbers: [28, 5, 2]
Generated Node #0,3: 46:[28, 5, 2] Operation: 78-76=2
Moving to Node #0,3
Current State: 46:[28, 5, 2], Operations: ['78-76=2']
Exploring Operation: 28-5=23, Resulting Numbers: [2, 23]
Generated Node #0,3,0: 46:[2, 23] Operation: 28-5=23
Moving to Node #0,3,0
Current State: 46:[2, 23], Operations: ['78-76=2', '28-5=23']
Exploring Operation: 2*23=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 |
hs_4
|
mult_heuristic
|
[
10,
83,
22,
96
] | 86 |
[
"10+22=32",
"96/32=3",
"83+3=86"
] |
Current State: 86:[10, 83, 22, 96], Operations: []
Exploring Operation: 10+22=32, Resulting Numbers: [83, 96, 32]
Generated Node #2: [83, 96, 32] from Operation: 10+22=32
Current State: 86:[83, 96, 32], Operations: ['10+22=32']
Exploring Operation: 96/32=3, Resulting Numbers: [83, 3]
Generated Node #3: [83, 3] from Operation: 96/32=3
Current State: 86:[83, 3], Operations: ['10+22=32', '96/32=3']
Exploring Operation: 83+3=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 |
Current State: 86:[10, 83, 22, 96], Operations: []
Exploring Operation: 22-10=12, Resulting Numbers: [83, 96, 12]
Generated Node #0,0: 86:[83, 96, 12] Operation: 22-10=12
Exploring Operation: 96-10=86, Resulting Numbers: [83, 22, 86]
Generated Node #0,1: 86:[83, 22, 86] Operation: 96-10=86
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[83, 96, 12], Operations: ['22-10=12']
Exploring Operation: 96/12=8, Resulting Numbers: [83, 8]
Generated Node #0,0,0: 86:[83, 8] Operation: 96/12=8
Exploring Operation: 96-12=84, Resulting Numbers: [83, 84]
Generated Node #0,0,1: 86:[83, 84] Operation: 96-12=84
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 86:[83, 84], Operations: ['22-10=12', '96-12=84']
Exploring Operation: 83+84=167, Resulting Numbers: [167]
167,86 unequal: No Solution
Exploring Operation: 84-83=1, Resulting Numbers: [1]
1,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 86:[83, 8], Operations: ['22-10=12', '96/12=8']
Exploring Operation: 83+8=91, Resulting Numbers: [91]
91,86 unequal: No Solution
Exploring Operation: 83-8=75, Resulting Numbers: [75]
75,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[83, 22, 86], Operations: ['96-10=86']
Exploring Operation: 83+22=105, Resulting Numbers: [86, 105]
Generated Node #0,1,0: 86:[86, 105] Operation: 83+22=105
Exploring Operation: 83-22=61, Resulting Numbers: [86, 61]
Generated Node #0,1,1: 86:[86, 61] Operation: 83-22=61
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 86:[86, 61], Operations: ['96-10=86', '83-22=61']
Exploring Operation: 86-61=25, Resulting Numbers: [25]
25,86 unequal: No Solution
Exploring Operation: 86+61=147, Resulting Numbers: [147]
147,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 86:[86, 105], Operations: ['96-10=86', '83+22=105']
Exploring Operation: 105-86=19, Resulting Numbers: [19]
19,86 unequal: No Solution
Exploring Operation: 86+105=191, Resulting Numbers: [191]
191,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
4,
47,
21,
63
] | 35 |
[
"4*63=252",
"252/21=12",
"47-12=35"
] |
Current State: 35:[4, 47, 21, 63], Operations: []
Exploring Operation: 4*63=252, Resulting Numbers: [47, 21, 252]
Generated Node #2: [47, 21, 252] from Operation: 4*63=252
Current State: 35:[47, 21, 252], Operations: ['4*63=252']
Exploring Operation: 252/21=12, Resulting Numbers: [47, 12]
Generated Node #3: [47, 12] from Operation: 252/21=12
Current State: 35:[47, 12], Operations: ['4*63=252', '252/21=12']
Exploring Operation: 47-12=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 |
Current State: 35:[4, 47, 21, 63], Operations: []
Exploring Operation: 63/21=3, Resulting Numbers: [4, 47, 3]
Generated Node #0,0: 35:[4, 47, 3] Operation: 63/21=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[4, 47, 3], Operations: ['63/21=3']
Exploring Operation: 47-4=43, Resulting Numbers: [3, 43]
Generated Node #0,0,0: 35:[3, 43] Operation: 47-4=43
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 35:[3, 43], Operations: ['63/21=3', '47-4=43']
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,35 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
|
[
7,
43,
94,
78
] | 52 |
[
"43-7=36",
"94-78=16",
"36+16=52"
] |
Current State: 52:[7, 43, 94, 78], Operations: []
Exploring Operation: 43-7=36, Resulting Numbers: [94, 78, 36]
Generated Node #2: [94, 78, 36] from Operation: 43-7=36
Current State: 52:[94, 78, 36], Operations: ['43-7=36']
Exploring Operation: 94-78=16, Resulting Numbers: [36, 16]
Generated Node #3: [36, 16] from Operation: 94-78=16
Current State: 52:[36, 16], Operations: ['43-7=36', '94-78=16']
Exploring Operation: 36+16=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 |
Current State: 52:[7, 43, 94, 78], Operations: []
Exploring Operation: 78-43=35, Resulting Numbers: [7, 94, 35]
Generated Node #0,0: 52:[7, 94, 35] Operation: 78-43=35
Exploring Operation: 94-43=51, Resulting Numbers: [7, 78, 51]
Generated Node #0,1: 52:[7, 78, 51] Operation: 94-43=51
Exploring Operation: 94-78=16, Resulting Numbers: [7, 43, 16]
Generated Node #0,2: 52:[7, 43, 16] Operation: 94-78=16
Start Sub Search at level 1: Moving to Node #0,2
Current State: 52:[7, 43, 16], Operations: ['94-78=16']
Exploring Operation: 7+43=50, Resulting Numbers: [16, 50]
Generated Node #0,2,0: 52:[16, 50] Operation: 7+43=50
Exploring Operation: 43-16=27, Resulting Numbers: [7, 27]
Generated Node #0,2,1: 52:[7, 27] Operation: 43-16=27
Exploring Operation: 43+16=59, Resulting Numbers: [7, 59]
Generated Node #0,2,2: 52:[7, 59] Operation: 43+16=59
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 52:[7, 27], Operations: ['94-78=16', '43-16=27']
Exploring Operation: 7+27=34, Resulting Numbers: [34]
34,52 unequal: No Solution
Exploring Operation: 7*27=189, Resulting Numbers: [189]
189,52 unequal: No Solution
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 52:[16, 50], Operations: ['94-78=16', '7+43=50']
Exploring Operation: 16*50=800, Resulting Numbers: [800]
800,52 unequal: No Solution
Exploring Operation: 16+50=66, Resulting Numbers: [66]
66,52 unequal: No Solution
Exploring Operation: 50-16=34, Resulting Numbers: [34]
34,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 52:[7, 59], Operations: ['94-78=16', '43+16=59']
Exploring Operation: 59-7=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[7, 43, 94, 78], Operations: []
Exploring Operation: 94-78=16, Resulting Numbers: [7, 43, 16]
Generated Node #0,2: 52:[7, 43, 16] Operation: 94-78=16
Moving to Node #0,2
Current State: 52:[7, 43, 16], Operations: ['94-78=16']
Exploring Operation: 43+16=59, Resulting Numbers: [7, 59]
Generated Node #0,2,2: 52:[7, 59] Operation: 43+16=59
Moving to Node #0,2,2
Current State: 52:[7, 59], Operations: ['94-78=16', '43+16=59']
Exploring Operation: 59-7=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 |
hs_3
|
mult_heuristic
|
[
41,
39,
71,
68
] | 84 |
[
"71-68=3",
"41*3=123",
"123-39=84"
] |
Current State: 84:[41, 39, 71, 68], Operations: []
Exploring Operation: 71-68=3, Resulting Numbers: [41, 39, 3]
Generated Node #2: [41, 39, 3] from Operation: 71-68=3
Current State: 84:[41, 39, 3], Operations: ['71-68=3']
Exploring Operation: 41*3=123, Resulting Numbers: [39, 123]
Generated Node #3: [39, 123] from Operation: 41*3=123
Current State: 84:[39, 123], Operations: ['71-68=3', '41*3=123']
Exploring Operation: 123-39=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 |
Current State: 84:[41, 39, 71, 68], Operations: []
Exploring Operation: 68-39=29, Resulting Numbers: [41, 71, 29]
Generated Node #0,0: 84:[41, 71, 29] Operation: 68-39=29
Exploring Operation: 71-68=3, Resulting Numbers: [41, 39, 3]
Generated Node #0,1: 84:[41, 39, 3] Operation: 71-68=3
Moving to Node #0,1
Current State: 84:[41, 39, 3], Operations: ['71-68=3']
Exploring Operation: 39+3=42, Resulting Numbers: [41, 42]
Generated Node #0,1,0: 84:[41, 42] Operation: 39+3=42
Exploring Operation: 41-39=2, Resulting Numbers: [3, 2]
Generated Node #0,1,1: 84:[3, 2] Operation: 41-39=2
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 84:[3, 2], Operations: ['71-68=3', '41-39=2']
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,84 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 84:[41, 42], Operations: ['71-68=3', '39+3=42']
Exploring Operation: 41+42=83, Resulting Numbers: [83]
83,84 unequal: No Solution
Exploring Operation: 42-41=1, Resulting Numbers: [1]
1,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 84:[41, 71, 29], Operations: ['68-39=29']
Exploring Operation: 71-41=30, Resulting Numbers: [29, 30]
Generated Node #0,0,0: 84:[29, 30] Operation: 71-41=30
Exploring Operation: 71-29=42, Resulting Numbers: [41, 42]
Generated Node #0,0,1: 84:[41, 42] Operation: 71-29=42
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 84:[41, 42], Operations: ['68-39=29', '71-29=42']
Exploring Operation: 42-41=1, Resulting Numbers: [1]
1,84 unequal: No Solution
Exploring Operation: 41+42=83, Resulting Numbers: [83]
83,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 84:[29, 30], Operations: ['68-39=29', '71-41=30']
Exploring Operation: 30-29=1, Resulting Numbers: [1]
1,84 unequal: No Solution
Exploring Operation: 29+30=59, Resulting Numbers: [59]
59,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_2
|
mult_heuristic
|
[
16,
72,
60,
98
] | 70 |
[
"16+72=88",
"60+98=158",
"158-88=70"
] |
Current State: 70:[16, 72, 60, 98], Operations: []
Exploring Operation: 16+72=88, Resulting Numbers: [60, 98, 88]
Generated Node #2: [60, 98, 88] from Operation: 16+72=88
Current State: 70:[60, 98, 88], Operations: ['16+72=88']
Exploring Operation: 60+98=158, Resulting Numbers: [88, 158]
Generated Node #3: [88, 158] from Operation: 60+98=158
Current State: 70:[88, 158], Operations: ['16+72=88', '60+98=158']
Exploring Operation: 158-88=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 |
Current State: 70:[16, 72, 60, 98], Operations: []
Exploring Operation: 98-60=38, Resulting Numbers: [16, 72, 38]
Generated Node #0,0: 70:[16, 72, 38] Operation: 98-60=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[16, 72, 38], Operations: ['98-60=38']
Exploring Operation: 72-38=34, Resulting Numbers: [16, 34]
Generated Node #0,0,0: 70:[16, 34] Operation: 72-38=34
Moving to Node #0,0,0
Current State: 70:[16, 34], Operations: ['98-60=38', '72-38=34']
Exploring Operation: 34-16=18, Resulting Numbers: [18]
18,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
58,
53,
43,
61
] | 90 |
[
"58-53=5",
"61-43=18",
"5*18=90"
] |
Current State: 90:[58, 53, 43, 61], Operations: []
Exploring Operation: 58-53=5, Resulting Numbers: [43, 61, 5]
Generated Node #2: [43, 61, 5] from Operation: 58-53=5
Current State: 90:[43, 61, 5], Operations: ['58-53=5']
Exploring Operation: 61-43=18, Resulting Numbers: [5, 18]
Generated Node #3: [5, 18] from Operation: 61-43=18
Current State: 90:[5, 18], Operations: ['58-53=5', '61-43=18']
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 |
Current State: 90:[58, 53, 43, 61], Operations: []
Exploring Operation: 58-53=5, Resulting Numbers: [43, 61, 5]
Generated Node #0,0: 90:[43, 61, 5] Operation: 58-53=5
Exploring Operation: 61-58=3, Resulting Numbers: [53, 43, 3]
Generated Node #0,1: 90:[53, 43, 3] Operation: 61-58=3
Exploring Operation: 61-53=8, Resulting Numbers: [58, 43, 8]
Generated Node #0,2: 90:[58, 43, 8] Operation: 61-53=8
Moving to Node #0,1
Current State: 90:[53, 43, 3], Operations: ['61-58=3']
Exploring Operation: 53+43=96, Resulting Numbers: [3, 96]
Generated Node #0,1,0: 90:[3, 96] Operation: 53+43=96
Exploring Operation: 53-43=10, Resulting Numbers: [3, 10]
Generated Node #0,1,1: 90:[3, 10] Operation: 53-43=10
Exploring Operation: 53-3=50, Resulting Numbers: [43, 50]
Generated Node #0,1,2: 90:[43, 50] Operation: 53-3=50
Moving to Node #0,2
Current State: 90:[58, 43, 8], Operations: ['61-53=8']
Exploring Operation: 58-43=15, Resulting Numbers: [8, 15]
Generated Node #0,2,0: 90:[8, 15] Operation: 58-43=15
Exploring Operation: 58+43=101, Resulting Numbers: [8, 101]
Generated Node #0,2,1: 90:[8, 101] Operation: 58+43=101
Exploring Operation: 58-8=50, Resulting Numbers: [43, 50]
Generated Node #0,2,2: 90:[43, 50] Operation: 58-8=50
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 90:[8, 15], Operations: ['61-53=8', '58-43=15']
Exploring Operation: 8*15=120, Resulting Numbers: [120]
120,90 unequal: No Solution
Exploring Operation: 15-8=7, Resulting Numbers: [7]
7,90 unequal: No Solution
Exploring Operation: 8+15=23, Resulting Numbers: [23]
23,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 90:[43, 50], Operations: ['61-53=8', '58-8=50']
Exploring Operation: 50-43=7, Resulting Numbers: [7]
7,90 unequal: No Solution
Exploring Operation: 43+50=93, Resulting Numbers: [93]
93,90 unequal: No Solution
Exploring Operation: 43*50=2150, Resulting Numbers: [2150]
2150,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 90:[8, 101], Operations: ['61-53=8', '58+43=101']
Exploring Operation: 8+101=109, Resulting Numbers: [109]
109,90 unequal: No Solution
Exploring Operation: 101-8=93, Resulting Numbers: [93]
93,90 unequal: No Solution
Exploring Operation: 8*101=808, Resulting Numbers: [808]
808,90 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: 90:[43, 61, 5], Operations: ['58-53=5']
Exploring Operation: 61-43=18, Resulting Numbers: [5, 18]
Generated Node #0,0,0: 90:[5, 18] Operation: 61-43=18
Exploring Operation: 61-5=56, Resulting Numbers: [43, 56]
Generated Node #0,0,1: 90:[43, 56] Operation: 61-5=56
Exploring Operation: 43+61=104, Resulting Numbers: [5, 104]
Generated Node #0,0,2: 90:[5, 104] Operation: 43+61=104
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 90:[5, 18], Operations: ['58-53=5', '61-43=18']
Exploring Operation: 5+18=23, Resulting Numbers: [23]
23,90 unequal: No Solution
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[58, 53, 43, 61], Operations: []
Exploring Operation: 58-53=5, Resulting Numbers: [43, 61, 5]
Generated Node #0,0: 90:[43, 61, 5] Operation: 58-53=5
Moving to Node #0,0
Current State: 90:[43, 61, 5], Operations: ['58-53=5']
Exploring Operation: 61-43=18, Resulting Numbers: [5, 18]
Generated Node #0,0,0: 90:[5, 18] Operation: 61-43=18
Moving to Node #0,0,0
Current State: 90:[5, 18], Operations: ['58-53=5', '61-43=18']
Exploring Operation: 5*18=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.976563 |
hs_3
|
sum_heuristic
|
[
94,
51,
97,
15
] | 32 |
[
"97-94=3",
"51/3=17",
"15+17=32"
] |
Current State: 32:[94, 51, 97, 15], Operations: []
Exploring Operation: 97-94=3, Resulting Numbers: [51, 15, 3]
Generated Node #2: [51, 15, 3] from Operation: 97-94=3
Current State: 32:[51, 15, 3], Operations: ['97-94=3']
Exploring Operation: 51/3=17, Resulting Numbers: [15, 17]
Generated Node #3: [15, 17] from Operation: 51/3=17
Current State: 32:[15, 17], Operations: ['97-94=3', '51/3=17']
Exploring Operation: 15+17=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 |
Current State: 32:[94, 51, 97, 15], Operations: []
Exploring Operation: 94-51=43, Resulting Numbers: [97, 15, 43]
Generated Node #0,0: 32:[97, 15, 43] Operation: 94-51=43
Exploring Operation: 97-51=46, Resulting Numbers: [94, 15, 46]
Generated Node #0,1: 32:[94, 15, 46] Operation: 97-51=46
Exploring Operation: 97-94=3, Resulting Numbers: [51, 15, 3]
Generated Node #0,2: 32:[51, 15, 3] Operation: 97-94=3
Exploring Operation: 94-15=79, Resulting Numbers: [51, 97, 79]
Generated Node #0,3: 32:[51, 97, 79] Operation: 94-15=79
Moving to Node #0,2
Current State: 32:[51, 15, 3], Operations: ['97-94=3']
Exploring Operation: 51-3=48, Resulting Numbers: [15, 48]
Generated Node #0,2,0: 32:[15, 48] Operation: 51-3=48
Exploring Operation: 15/3=5, Resulting Numbers: [51, 5]
Generated Node #0,2,1: 32:[51, 5] Operation: 15/3=5
Exploring Operation: 51-15=36, Resulting Numbers: [3, 36]
Generated Node #0,2,2: 32:[3, 36] Operation: 51-15=36
Exploring Operation: 51/3=17, Resulting Numbers: [15, 17]
Generated Node #0,2,3: 32:[15, 17] Operation: 51/3=17
Moving to Node #0,1
Current State: 32:[94, 15, 46], Operations: ['97-51=46']
Exploring Operation: 94+15=109, Resulting Numbers: [46, 109]
Generated Node #0,1,0: 32:[46, 109] Operation: 94+15=109
Exploring Operation: 46-15=31, Resulting Numbers: [94, 31]
Generated Node #0,1,1: 32:[94, 31] Operation: 46-15=31
Exploring Operation: 94-15=79, Resulting Numbers: [46, 79]
Generated Node #0,1,2: 32:[46, 79] Operation: 94-15=79
Exploring Operation: 94-46=48, Resulting Numbers: [15, 48]
Generated Node #0,1,3: 32:[15, 48] Operation: 94-46=48
Moving to Node #0,0
Current State: 32:[97, 15, 43], Operations: ['94-51=43']
Exploring Operation: 97-43=54, Resulting Numbers: [15, 54]
Generated Node #0,0,0: 32:[15, 54] Operation: 97-43=54
Exploring Operation: 97+15=112, Resulting Numbers: [43, 112]
Generated Node #0,0,1: 32:[43, 112] Operation: 97+15=112
Exploring Operation: 97-15=82, Resulting Numbers: [43, 82]
Generated Node #0,0,2: 32:[43, 82] Operation: 97-15=82
Exploring Operation: 43-15=28, Resulting Numbers: [97, 28]
Generated Node #0,0,3: 32:[97, 28] Operation: 43-15=28
Moving to Node #0,3
Current State: 32:[51, 97, 79], Operations: ['94-15=79']
Exploring Operation: 51+97=148, Resulting Numbers: [79, 148]
Generated Node #0,3,0: 32:[79, 148] Operation: 51+97=148
Exploring Operation: 97-79=18, Resulting Numbers: [51, 18]
Generated Node #0,3,1: 32:[51, 18] Operation: 97-79=18
Exploring Operation: 97-51=46, Resulting Numbers: [79, 46]
Generated Node #0,3,2: 32:[79, 46] Operation: 97-51=46
Exploring Operation: 79-51=28, Resulting Numbers: [97, 28]
Generated Node #0,3,3: 32:[97, 28] Operation: 79-51=28
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 32:[51, 18], Operations: ['94-15=79', '97-79=18']
Exploring Operation: 51-18=33, Resulting Numbers: [33]
33,32 unequal: No Solution
Exploring Operation: 51+18=69, Resulting Numbers: [69]
69,32 unequal: No Solution
Exploring Operation: 51*18=918, Resulting Numbers: [918]
918,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 32:[79, 46], Operations: ['94-15=79', '97-51=46']
Exploring Operation: 79-46=33, Resulting Numbers: [33]
33,32 unequal: No Solution
Exploring Operation: 79+46=125, Resulting Numbers: [125]
125,32 unequal: No Solution
Exploring Operation: 79*46=3634, Resulting Numbers: [3634]
3634,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 32:[97, 28], Operations: ['94-15=79', '79-51=28']
Exploring Operation: 97+28=125, Resulting Numbers: [125]
125,32 unequal: No Solution
Exploring Operation: 97*28=2716, Resulting Numbers: [2716]
2716,32 unequal: No Solution
Exploring Operation: 97-28=69, Resulting Numbers: [69]
69,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 32:[79, 148], Operations: ['94-15=79', '51+97=148']
Exploring Operation: 148-79=69, Resulting Numbers: [69]
69,32 unequal: No Solution
Exploring Operation: 79*148=11692, Resulting Numbers: [11692]
11692,32 unequal: No Solution
Exploring Operation: 79+148=227, Resulting Numbers: [227]
227,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 32:[15, 17], Operations: ['97-94=3', '51/3=17']
Exploring Operation: 17-15=2, Resulting Numbers: [2]
2,32 unequal: No Solution
Exploring Operation: 15+17=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[94, 51, 97, 15], Operations: []
Exploring Operation: 97-94=3, Resulting Numbers: [51, 15, 3]
Generated Node #0,2: 32:[51, 15, 3] Operation: 97-94=3
Moving to Node #0,2
Current State: 32:[51, 15, 3], Operations: ['97-94=3']
Exploring Operation: 51/3=17, Resulting Numbers: [15, 17]
Generated Node #0,2,3: 32:[15, 17] Operation: 51/3=17
Moving to Node #0,2,3
Current State: 32:[15, 17], Operations: ['97-94=3', '51/3=17']
Exploring Operation: 15+17=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 0.967014 |
hs_4
|
sum_heuristic
|
[
48,
66,
36,
46
] | 23 |
[
"66-48=18",
"36/18=2",
"46/2=23"
] |
Current State: 23:[48, 66, 36, 46], Operations: []
Exploring Operation: 66-48=18, Resulting Numbers: [36, 46, 18]
Generated Node #2: [36, 46, 18] from Operation: 66-48=18
Current State: 23:[36, 46, 18], Operations: ['66-48=18']
Exploring Operation: 36/18=2, Resulting Numbers: [46, 2]
Generated Node #3: [46, 2] from Operation: 36/18=2
Current State: 23:[46, 2], Operations: ['66-48=18', '36/18=2']
Exploring Operation: 46/2=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 |
Current State: 23:[48, 66, 36, 46], Operations: []
Exploring Operation: 66-36=30, Resulting Numbers: [48, 46, 30]
Generated Node #0,0: 23:[48, 46, 30] Operation: 66-36=30
Exploring Operation: 66-48=18, Resulting Numbers: [36, 46, 18]
Generated Node #0,1: 23:[36, 46, 18] Operation: 66-48=18
Exploring Operation: 66-46=20, Resulting Numbers: [48, 36, 20]
Generated Node #0,2: 23:[48, 36, 20] Operation: 66-46=20
Moving to Node #0,1
Current State: 23:[36, 46, 18], Operations: ['66-48=18']
Exploring Operation: 46-18=28, Resulting Numbers: [36, 28]
Generated Node #0,1,0: 23:[36, 28] Operation: 46-18=28
Exploring Operation: 36-18=18, Resulting Numbers: [46, 18]
Generated Node #0,1,1: 23:[46, 18] Operation: 36-18=18
Exploring Operation: 46-36=10, Resulting Numbers: [18, 10]
Generated Node #0,1,2: 23:[18, 10] Operation: 46-36=10
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 23:[36, 28], Operations: ['66-48=18', '46-18=28']
Exploring Operation: 36*28=1008, Resulting Numbers: [1008]
1008,23 unequal: No Solution
Exploring Operation: 36-28=8, Resulting Numbers: [8]
8,23 unequal: No Solution
Exploring Operation: 36+28=64, Resulting Numbers: [64]
64,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 23:[18, 10], Operations: ['66-48=18', '46-36=10']
Exploring Operation: 18+10=28, Resulting Numbers: [28]
28,23 unequal: No Solution
Exploring Operation: 18*10=180, Resulting Numbers: [180]
180,23 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 23:[46, 18], Operations: ['66-48=18', '36-18=18']
Exploring Operation: 46-18=28, Resulting Numbers: [28]
28,23 unequal: No Solution
Exploring Operation: 46+18=64, Resulting Numbers: [64]
64,23 unequal: No Solution
Exploring Operation: 46*18=828, Resulting Numbers: [828]
828,23 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: 23:[48, 36, 20], Operations: ['66-46=20']
Exploring Operation: 48-36=12, Resulting Numbers: [20, 12]
Generated Node #0,2,0: 23:[20, 12] Operation: 48-36=12
Exploring Operation: 36-20=16, Resulting Numbers: [48, 16]
Generated Node #0,2,1: 23:[48, 16] Operation: 36-20=16
Exploring Operation: 48-20=28, Resulting Numbers: [36, 28]
Generated Node #0,2,2: 23:[36, 28] Operation: 48-20=28
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 23:[20, 12], Operations: ['66-46=20', '48-36=12']
Exploring Operation: 20+12=32, Resulting Numbers: [32]
32,23 unequal: No Solution
Exploring Operation: 20*12=240, Resulting Numbers: [240]
240,23 unequal: No Solution
Exploring Operation: 20-12=8, Resulting Numbers: [8]
8,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 23:[36, 28], Operations: ['66-46=20', '48-20=28']
Exploring Operation: 36+28=64, Resulting Numbers: [64]
64,23 unequal: No Solution
Exploring Operation: 36-28=8, Resulting Numbers: [8]
8,23 unequal: No Solution
Exploring Operation: 36*28=1008, Resulting Numbers: [1008]
1008,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 23:[48, 16], Operations: ['66-46=20', '36-20=16']
Exploring Operation: 48+16=64, Resulting Numbers: [64]
64,23 unequal: No Solution
Exploring Operation: 48/16=3, Resulting Numbers: [3]
3,23 unequal: No Solution
Exploring Operation: 48-16=32, Resulting Numbers: [32]
32,23 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: 23:[48, 46, 30], Operations: ['66-36=30']
Exploring Operation: 48-46=2, Resulting Numbers: [30, 2]
Generated Node #0,0,0: 23:[30, 2] Operation: 48-46=2
Exploring Operation: 48-30=18, Resulting Numbers: [46, 18]
Generated Node #0,0,1: 23:[46, 18] Operation: 48-30=18
Exploring Operation: 46-30=16, Resulting Numbers: [48, 16]
Generated Node #0,0,2: 23:[48, 16] Operation: 46-30=16
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 23:[30, 2], Operations: ['66-36=30', '48-46=2']
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,23 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,23 unequal: No Solution
Exploring Operation: 30+2=32, Resulting Numbers: [32]
32,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 23:[46, 18], Operations: ['66-36=30', '48-30=18']
Exploring Operation: 46-18=28, Resulting Numbers: [28]
28,23 unequal: No Solution
Exploring Operation: 46+18=64, Resulting Numbers: [64]
64,23 unequal: No Solution
Exploring Operation: 46*18=828, Resulting Numbers: [828]
828,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 23:[48, 16], Operations: ['66-36=30', '46-30=16']
Exploring Operation: 48+16=64, Resulting Numbers: [64]
64,23 unequal: No Solution
Exploring Operation: 48/16=3, Resulting Numbers: [3]
3,23 unequal: No Solution
Exploring Operation: 48-16=32, Resulting Numbers: [32]
32,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_3
|
sum_heuristic
|
[
2,
23,
73,
14
] | 39 |
[
"73-23=50",
"50/2=25",
"14+25=39"
] |
Current State: 39:[2, 23, 73, 14], Operations: []
Exploring Operation: 73-23=50, Resulting Numbers: [2, 14, 50]
Generated Node #2: [2, 14, 50] from Operation: 73-23=50
Current State: 39:[2, 14, 50], Operations: ['73-23=50']
Exploring Operation: 50/2=25, Resulting Numbers: [14, 25]
Generated Node #3: [14, 25] from Operation: 50/2=25
Current State: 39:[14, 25], Operations: ['73-23=50', '50/2=25']
Exploring Operation: 14+25=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 |
Current State: 39:[2, 23, 73, 14], Operations: []
Exploring Operation: 73-14=59, Resulting Numbers: [2, 23, 59]
Generated Node #0,0: 39:[2, 23, 59] Operation: 73-14=59
Exploring Operation: 23+14=37, Resulting Numbers: [2, 73, 37]
Generated Node #0,1: 39:[2, 73, 37] Operation: 23+14=37
Exploring Operation: 73-23=50, Resulting Numbers: [2, 14, 50]
Generated Node #0,2: 39:[2, 14, 50] Operation: 73-23=50
Exploring Operation: 23-14=9, Resulting Numbers: [2, 73, 9]
Generated Node #0,3: 39:[2, 73, 9] Operation: 23-14=9
Moving to Node #0,2
Current State: 39:[2, 14, 50], Operations: ['73-23=50']
Exploring Operation: 50/2=25, Resulting Numbers: [14, 25]
Generated Node #0,2,0: 39:[14, 25] Operation: 50/2=25
Exploring Operation: 14-2=12, Resulting Numbers: [50, 12]
Generated Node #0,2,1: 39:[50, 12] Operation: 14-2=12
Exploring Operation: 50-14=36, Resulting Numbers: [2, 36]
Generated Node #0,2,2: 39:[2, 36] Operation: 50-14=36
Exploring Operation: 50-2=48, Resulting Numbers: [14, 48]
Generated Node #0,2,3: 39:[14, 48] Operation: 50-2=48
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 39:[2, 36], Operations: ['73-23=50', '50-14=36']
Exploring Operation: 2*36=72, Resulting Numbers: [72]
72,39 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,39 unequal: No Solution
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,39 unequal: No Solution
Exploring Operation: 2+36=38, Resulting Numbers: [38]
38,39 unequal: No Solution
No 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: 39:[14, 48], Operations: ['73-23=50', '50-2=48']
Exploring Operation: 14*48=672, Resulting Numbers: [672]
672,39 unequal: No Solution
Exploring Operation: 48-14=34, Resulting Numbers: [34]
34,39 unequal: No Solution
Exploring Operation: 14+48=62, Resulting Numbers: [62]
62,39 unequal: No Solution
No 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: 39:[50, 12], Operations: ['73-23=50', '14-2=12']
Exploring Operation: 50+12=62, Resulting Numbers: [62]
62,39 unequal: No Solution
Exploring Operation: 50-12=38, Resulting Numbers: [38]
38,39 unequal: No Solution
Exploring Operation: 50*12=600, Resulting Numbers: [600]
600,39 unequal: No Solution
No 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: 39:[14, 25], Operations: ['73-23=50', '50/2=25']
Exploring Operation: 25-14=11, Resulting Numbers: [11]
11,39 unequal: No Solution
Exploring Operation: 14*25=350, Resulting Numbers: [350]
350,39 unequal: No Solution
Exploring Operation: 14+25=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[2, 23, 73, 14], Operations: []
Exploring Operation: 73-23=50, Resulting Numbers: [2, 14, 50]
Generated Node #0,2: 39:[2, 14, 50] Operation: 73-23=50
Moving to Node #0,2
Current State: 39:[2, 14, 50], Operations: ['73-23=50']
Exploring Operation: 50/2=25, Resulting Numbers: [14, 25]
Generated Node #0,2,0: 39:[14, 25] Operation: 50/2=25
Moving to Node #0,2,0
Current State: 39:[14, 25], Operations: ['73-23=50', '50/2=25']
Exploring Operation: 14+25=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 |
hs_4
|
sum_heuristic
|
[
6,
22,
35,
49
] | 42 |
[
"6+22=28",
"49-35=14",
"28+14=42"
] |
Current State: 42:[6, 22, 35, 49], Operations: []
Exploring Operation: 6+22=28, Resulting Numbers: [35, 49, 28]
Generated Node #2: [35, 49, 28] from Operation: 6+22=28
Current State: 42:[35, 49, 28], Operations: ['6+22=28']
Exploring Operation: 49-35=14, Resulting Numbers: [28, 14]
Generated Node #3: [28, 14] from Operation: 49-35=14
Current State: 42:[28, 14], Operations: ['6+22=28', '49-35=14']
Exploring Operation: 28+14=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 |
Current State: 42:[6, 22, 35, 49], Operations: []
Exploring Operation: 49-6=43, Resulting Numbers: [22, 35, 43]
Generated Node #0,0: 42:[22, 35, 43] Operation: 49-6=43
Exploring Operation: 6+35=41, Resulting Numbers: [22, 49, 41]
Generated Node #0,1: 42:[22, 49, 41] Operation: 6+35=41
Exploring Operation: 49-35=14, Resulting Numbers: [6, 22, 14]
Generated Node #0,2: 42:[6, 22, 14] Operation: 49-35=14
Exploring Operation: 35-22=13, Resulting Numbers: [6, 49, 13]
Generated Node #0,3: 42:[6, 49, 13] Operation: 35-22=13
Start Sub Search at level 1: Moving to Node #0,2
Current State: 42:[6, 22, 14], Operations: ['49-35=14']
Exploring Operation: 14-6=8, Resulting Numbers: [22, 8]
Generated Node #0,2,0: 42:[22, 8] Operation: 14-6=8
Exploring Operation: 22-6=16, Resulting Numbers: [14, 16]
Generated Node #0,2,1: 42:[14, 16] Operation: 22-6=16
Exploring Operation: 22-14=8, Resulting Numbers: [6, 8]
Generated Node #0,2,2: 42:[6, 8] Operation: 22-14=8
Exploring Operation: 6+14=20, Resulting Numbers: [22, 20]
Generated Node #0,2,3: 42:[22, 20] Operation: 6+14=20
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 42:[6, 8], Operations: ['49-35=14', '22-14=8']
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,42 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 42:[22, 8], Operations: ['49-35=14', '14-6=8']
Exploring Operation: 22+8=30, Resulting Numbers: [30]
30,42 unequal: No Solution
Exploring Operation: 22*8=176, Resulting Numbers: [176]
176,42 unequal: No Solution
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 42:[14, 16], Operations: ['49-35=14', '22-6=16']
Exploring Operation: 14+16=30, Resulting Numbers: [30]
30,42 unequal: No Solution
Exploring Operation: 14*16=224, Resulting Numbers: [224]
224,42 unequal: No Solution
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,42 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 42:[22, 20], Operations: ['49-35=14', '6+14=20']
Exploring Operation: 22-20=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 22+20=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[6, 22, 35, 49], Operations: []
Exploring Operation: 49-35=14, Resulting Numbers: [6, 22, 14]
Generated Node #0,2: 42:[6, 22, 14] Operation: 49-35=14
Moving to Node #0,2
Current State: 42:[6, 22, 14], Operations: ['49-35=14']
Exploring Operation: 6+14=20, Resulting Numbers: [22, 20]
Generated Node #0,2,3: 42:[22, 20] Operation: 6+14=20
Moving to Node #0,2,3
Current State: 42:[22, 20], Operations: ['49-35=14', '6+14=20']
Exploring Operation: 22+20=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 |
hs_4
|
sum_heuristic
|
[
90,
21,
41,
95
] | 57 |
[
"90+21=111",
"95-41=54",
"111-54=57"
] |
Current State: 57:[90, 21, 41, 95], Operations: []
Exploring Operation: 90+21=111, Resulting Numbers: [41, 95, 111]
Generated Node #2: [41, 95, 111] from Operation: 90+21=111
Current State: 57:[41, 95, 111], Operations: ['90+21=111']
Exploring Operation: 95-41=54, Resulting Numbers: [111, 54]
Generated Node #3: [111, 54] from Operation: 95-41=54
Current State: 57:[111, 54], Operations: ['90+21=111', '95-41=54']
Exploring Operation: 111-54=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 |
Current State: 57:[90, 21, 41, 95], Operations: []
Exploring Operation: 95-90=5, Resulting Numbers: [21, 41, 5]
Generated Node #0,0: 57:[21, 41, 5] Operation: 95-90=5
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[21, 41, 5], Operations: ['95-90=5']
Exploring Operation: 41-21=20, Resulting Numbers: [5, 20]
Generated Node #0,0,0: 57:[5, 20] Operation: 41-21=20
Moving to Node #0,0,0
Current State: 57:[5, 20], Operations: ['95-90=5', '41-21=20']
Exploring Operation: 20/5=4, Resulting Numbers: [4]
4,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
sum_heuristic
|
[
53,
68,
34,
8
] | 37 |
[
"68/34=2",
"8*2=16",
"53-16=37"
] |
Current State: 37:[53, 68, 34, 8], Operations: []
Exploring Operation: 68/34=2, Resulting Numbers: [53, 8, 2]
Generated Node #2: [53, 8, 2] from Operation: 68/34=2
Current State: 37:[53, 8, 2], Operations: ['68/34=2']
Exploring Operation: 8*2=16, Resulting Numbers: [53, 16]
Generated Node #3: [53, 16] from Operation: 8*2=16
Current State: 37:[53, 16], Operations: ['68/34=2', '8*2=16']
Exploring Operation: 53-16=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 |
Current State: 37:[53, 68, 34, 8], Operations: []
Exploring Operation: 68-8=60, Resulting Numbers: [53, 34, 60]
Generated Node #0,0: 37:[53, 34, 60] Operation: 68-8=60
Exploring Operation: 53-8=45, Resulting Numbers: [68, 34, 45]
Generated Node #0,1: 37:[68, 34, 45] Operation: 53-8=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[53, 34, 60], Operations: ['68-8=60']
Exploring Operation: 60-34=26, Resulting Numbers: [53, 26]
Generated Node #0,0,0: 37:[53, 26] Operation: 60-34=26
Exploring Operation: 60-53=7, Resulting Numbers: [34, 7]
Generated Node #0,0,1: 37:[34, 7] Operation: 60-53=7
Moving to Node #0,0,0
Current State: 37:[53, 26], Operations: ['68-8=60', '60-34=26']
Exploring Operation: 53+26=79, Resulting Numbers: [79]
79,37 unequal: No Solution
Exploring Operation: 53-26=27, Resulting Numbers: [27]
27,37 unequal: No Solution
Moving to Node #0,0,1
Current State: 37:[34, 7], Operations: ['68-8=60', '60-53=7']
Exploring Operation: 34+7=41, Resulting Numbers: [41]
41,37 unequal: No Solution
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,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
Current State: 37:[68, 34, 45], Operations: ['53-8=45']
Exploring Operation: 68-45=23, Resulting Numbers: [34, 23]
Generated Node #0,1,0: 37:[34, 23] Operation: 68-45=23
Exploring Operation: 68-34=34, Resulting Numbers: [45, 34]
Generated Node #0,1,1: 37:[45, 34] Operation: 68-34=34
Moving to Node #0,1,1
Current State: 37:[45, 34], Operations: ['53-8=45', '68-34=34']
Exploring Operation: 45-34=11, Resulting Numbers: [11]
11,37 unequal: No Solution
Exploring Operation: 45+34=79, Resulting Numbers: [79]
79,37 unequal: No Solution
Moving to Node #0,1,0
Current State: 37:[34, 23], Operations: ['53-8=45', '68-45=23']
Exploring Operation: 34+23=57, Resulting Numbers: [57]
57,37 unequal: No Solution
Exploring Operation: 34-23=11, Resulting Numbers: [11]
11,37 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
|
[
13,
5,
72,
74
] | 81 |
[
"13*5=65",
"72+74=146",
"146-65=81"
] |
Current State: 81:[13, 5, 72, 74], Operations: []
Exploring Operation: 13*5=65, Resulting Numbers: [72, 74, 65]
Generated Node #2: [72, 74, 65] from Operation: 13*5=65
Current State: 81:[72, 74, 65], Operations: ['13*5=65']
Exploring Operation: 72+74=146, Resulting Numbers: [65, 146]
Generated Node #3: [65, 146] from Operation: 72+74=146
Current State: 81:[65, 146], Operations: ['13*5=65', '72+74=146']
Exploring Operation: 146-65=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 |
Current State: 81:[13, 5, 72, 74], Operations: []
Exploring Operation: 74-72=2, Resulting Numbers: [13, 5, 2]
Generated Node #0,0: 81:[13, 5, 2] Operation: 74-72=2
Moving to Node #0,0
Current State: 81:[13, 5, 2], Operations: ['74-72=2']
Exploring Operation: 13-5=8, Resulting Numbers: [2, 8]
Generated Node #0,0,0: 81:[2, 8] Operation: 13-5=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[2, 8], Operations: ['74-72=2', '13-5=8']
Exploring Operation: 2+8=10, Resulting Numbers: [10]
10,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 |
hs_1
|
mult_heuristic
|
[
62,
7,
97,
84
] | 56 |
[
"62+7=69",
"97-84=13",
"69-13=56"
] |
Current State: 56:[62, 7, 97, 84], Operations: []
Exploring Operation: 62+7=69, Resulting Numbers: [97, 84, 69]
Generated Node #2: [97, 84, 69] from Operation: 62+7=69
Current State: 56:[97, 84, 69], Operations: ['62+7=69']
Exploring Operation: 97-84=13, Resulting Numbers: [69, 13]
Generated Node #3: [69, 13] from Operation: 97-84=13
Current State: 56:[69, 13], Operations: ['62+7=69', '97-84=13']
Exploring Operation: 69-13=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 |
Current State: 56:[62, 7, 97, 84], Operations: []
Exploring Operation: 84-62=22, Resulting Numbers: [7, 97, 22]
Generated Node #0,0: 56:[7, 97, 22] Operation: 84-62=22
Exploring Operation: 97-62=35, Resulting Numbers: [7, 84, 35]
Generated Node #0,1: 56:[7, 84, 35] Operation: 97-62=35
Exploring Operation: 97-84=13, Resulting Numbers: [62, 7, 13]
Generated Node #0,2: 56:[62, 7, 13] Operation: 97-84=13
Start Sub Search at level 1: Moving to Node #0,2
Current State: 56:[62, 7, 13], Operations: ['97-84=13']
Exploring Operation: 13-7=6, Resulting Numbers: [62, 6]
Generated Node #0,2,0: 56:[62, 6] Operation: 13-7=6
Exploring Operation: 62-7=55, Resulting Numbers: [13, 55]
Generated Node #0,2,1: 56:[13, 55] Operation: 62-7=55
Exploring Operation: 62-13=49, Resulting Numbers: [7, 49]
Generated Node #0,2,2: 56:[7, 49] Operation: 62-13=49
Moving to Node #0,2,1
Current State: 56:[13, 55], Operations: ['97-84=13', '62-7=55']
Exploring Operation: 13+55=68, Resulting Numbers: [68]
68,56 unequal: No Solution
Exploring Operation: 13*55=715, Resulting Numbers: [715]
715,56 unequal: No Solution
Exploring Operation: 55-13=42, Resulting Numbers: [42]
42,56 unequal: No Solution
Moving to Node #0,2,0
Current State: 56:[62, 6], Operations: ['97-84=13', '13-7=6']
Exploring Operation: 62+6=68, Resulting Numbers: [68]
68,56 unequal: No Solution
Exploring Operation: 62-6=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[62, 7, 97, 84], Operations: []
Exploring Operation: 97-84=13, Resulting Numbers: [62, 7, 13]
Generated Node #0,2: 56:[62, 7, 13] Operation: 97-84=13
Moving to Node #0,2
Current State: 56:[62, 7, 13], Operations: ['97-84=13']
Exploring Operation: 13-7=6, Resulting Numbers: [62, 6]
Generated Node #0,2,0: 56:[62, 6] Operation: 13-7=6
Moving to Node #0,2,0
Current State: 56:[62, 6], Operations: ['97-84=13', '13-7=6']
Exploring Operation: 62-6=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 |
hs_3
|
sum_heuristic
|
[
22,
5,
22,
6
] | 31 |
[
"22/22=1",
"5*6=30",
"1+30=31"
] |
Current State: 31:[22, 5, 22, 6], Operations: []
Exploring Operation: 22/22=1, Resulting Numbers: [5, 6, 1]
Generated Node #2: [5, 6, 1] from Operation: 22/22=1
Current State: 31:[5, 6, 1], Operations: ['22/22=1']
Exploring Operation: 5*6=30, Resulting Numbers: [1, 30]
Generated Node #3: [1, 30] from Operation: 5*6=30
Current State: 31:[1, 30], Operations: ['22/22=1', '5*6=30']
Exploring Operation: 1+30=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 |
Current State: 31:[22, 5, 22, 6], Operations: []
Exploring Operation: 22+6=28, Resulting Numbers: [5, 22, 28]
Generated Node #0,0: 31:[5, 22, 28] Operation: 22+6=28
Exploring Operation: 5*6=30, Resulting Numbers: [22, 22, 30]
Generated Node #0,1: 31:[22, 22, 30] Operation: 5*6=30
Exploring Operation: 22+5=27, Resulting Numbers: [22, 6, 27]
Generated Node #0,2: 31:[22, 6, 27] Operation: 22+5=27
Moving to Node #0,1
Current State: 31:[22, 22, 30], Operations: ['5*6=30']
Exploring Operation: 22+30=52, Resulting Numbers: [22, 52]
Generated Node #0,1,0: 31:[22, 52] Operation: 22+30=52
Exploring Operation: 22+22=44, Resulting Numbers: [30, 44]
Generated Node #0,1,1: 31:[30, 44] Operation: 22+22=44
Exploring Operation: 22+30=52, Resulting Numbers: [22, 52]
Generated Node #0,1,2: 31:[22, 52] Operation: 22+30=52
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 31:[30, 44], Operations: ['5*6=30', '22+22=44']
Exploring Operation: 30*44=1320, Resulting Numbers: [1320]
1320,31 unequal: No Solution
Exploring Operation: 44-30=14, Resulting Numbers: [14]
14,31 unequal: No Solution
Exploring Operation: 30+44=74, Resulting Numbers: [74]
74,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 31:[22, 52], Operations: ['5*6=30', '22+30=52']
Exploring Operation: 22+52=74, Resulting Numbers: [74]
74,31 unequal: No Solution
Exploring Operation: 52-22=30, Resulting Numbers: [30]
30,31 unequal: No Solution
Exploring Operation: 22*52=1144, Resulting Numbers: [1144]
1144,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 31:[22, 52], Operations: ['5*6=30', '22+30=52']
Exploring Operation: 52-22=30, Resulting Numbers: [30]
30,31 unequal: No Solution
Exploring Operation: 22*52=1144, Resulting Numbers: [1144]
1144,31 unequal: No Solution
Exploring Operation: 22+52=74, Resulting Numbers: [74]
74,31 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: 31:[5, 22, 28], Operations: ['22+6=28']
Exploring Operation: 5+28=33, Resulting Numbers: [22, 33]
Generated Node #0,0,0: 31:[22, 33] Operation: 5+28=33
Exploring Operation: 5+22=27, Resulting Numbers: [28, 27]
Generated Node #0,0,1: 31:[28, 27] Operation: 5+22=27
Exploring Operation: 22-5=17, Resulting Numbers: [28, 17]
Generated Node #0,0,2: 31:[28, 17] Operation: 22-5=17
Moving to Node #0,2
Current State: 31:[22, 6, 27], Operations: ['22+5=27']
Exploring Operation: 22+6=28, Resulting Numbers: [27, 28]
Generated Node #0,2,0: 31:[27, 28] Operation: 22+6=28
Exploring Operation: 22-6=16, Resulting Numbers: [27, 16]
Generated Node #0,2,1: 31:[27, 16] Operation: 22-6=16
Exploring Operation: 6+27=33, Resulting Numbers: [22, 33]
Generated Node #0,2,2: 31:[22, 33] Operation: 6+27=33
Moving to Node #0,0,1
Current State: 31:[28, 27], Operations: ['22+6=28', '5+22=27']
Exploring Operation: 28+27=55, Resulting Numbers: [55]
55,31 unequal: No Solution
Exploring Operation: 28*27=756, Resulting Numbers: [756]
756,31 unequal: No Solution
Exploring Operation: 28-27=1, Resulting Numbers: [1]
1,31 unequal: No Solution
Moving to Node #0,2,0
Current State: 31:[27, 28], Operations: ['22+5=27', '22+6=28']
Exploring Operation: 28-27=1, Resulting Numbers: [1]
1,31 unequal: No Solution
Exploring Operation: 27*28=756, Resulting Numbers: [756]
756,31 unequal: No Solution
Exploring Operation: 27+28=55, Resulting Numbers: [55]
55,31 unequal: No Solution
Moving to Node #0,2,2
Current State: 31:[22, 33], Operations: ['22+5=27', '6+27=33']
Exploring Operation: 22+33=55, Resulting Numbers: [55]
55,31 unequal: No Solution
Exploring Operation: 22*33=726, Resulting Numbers: [726]
726,31 unequal: No Solution
Exploring Operation: 33-22=11, Resulting Numbers: [11]
11,31 unequal: No Solution
Moving to Node #0,0,0
Current State: 31:[22, 33], Operations: ['22+6=28', '5+28=33']
Exploring Operation: 22*33=726, Resulting Numbers: [726]
726,31 unequal: No Solution
Exploring Operation: 33-22=11, Resulting Numbers: [11]
11,31 unequal: No Solution
Exploring Operation: 22+33=55, Resulting Numbers: [55]
55,31 unequal: No Solution
Moving to Node #0,0,2
Current State: 31:[28, 17], Operations: ['22+6=28', '22-5=17']
Exploring Operation: 28-17=11, Resulting Numbers: [11]
11,31 unequal: No Solution
Exploring Operation: 28+17=45, Resulting Numbers: [45]
45,31 unequal: No Solution
Exploring Operation: 28*17=476, Resulting Numbers: [476]
476,31 unequal: No Solution
Moving to Node #0,2,1
Current State: 31:[27, 16], Operations: ['22+5=27', '22-6=16']
Exploring Operation: 27*16=432, Resulting Numbers: [432]
432,31 unequal: No Solution
Exploring Operation: 27-16=11, Resulting Numbers: [11]
11,31 unequal: No Solution
Exploring Operation: 27+16=43, Resulting Numbers: [43]
43,31 unequal: No Solution
No solution found.
| 0 |
hs_3
|
sum_heuristic
|
[
43,
73,
39,
7
] | 11 |
[
"43+73=116",
"116-39=77",
"77/7=11"
] |
Current State: 11:[43, 73, 39, 7], Operations: []
Exploring Operation: 43+73=116, Resulting Numbers: [39, 7, 116]
Generated Node #2: [39, 7, 116] from Operation: 43+73=116
Current State: 11:[39, 7, 116], Operations: ['43+73=116']
Exploring Operation: 116-39=77, Resulting Numbers: [7, 77]
Generated Node #3: [7, 77] from Operation: 116-39=77
Current State: 11:[7, 77], Operations: ['43+73=116', '116-39=77']
Exploring Operation: 77/7=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 |
Current State: 11:[43, 73, 39, 7], Operations: []
Exploring Operation: 73-43=30, Resulting Numbers: [39, 7, 30]
Generated Node #0,0: 11:[39, 7, 30] Operation: 73-43=30
Exploring Operation: 73-39=34, Resulting Numbers: [43, 7, 34]
Generated Node #0,1: 11:[43, 7, 34] Operation: 73-39=34
Moving to Node #0,0
Current State: 11:[39, 7, 30], Operations: ['73-43=30']
Exploring Operation: 39-30=9, Resulting Numbers: [7, 9]
Generated Node #0,0,0: 11:[7, 9] Operation: 39-30=9
Exploring Operation: 39-7=32, Resulting Numbers: [30, 32]
Generated Node #0,0,1: 11:[30, 32] Operation: 39-7=32
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 11:[7, 9], Operations: ['73-43=30', '39-30=9']
Exploring Operation: 7+9=16, Resulting Numbers: [16]
16,11 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 11:[30, 32], Operations: ['73-43=30', '39-7=32']
Exploring Operation: 30+32=62, Resulting Numbers: [62]
62,11 unequal: No Solution
Exploring Operation: 32-30=2, Resulting Numbers: [2]
2,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:[43, 7, 34], Operations: ['73-39=34']
Exploring Operation: 43-7=36, Resulting Numbers: [34, 36]
Generated Node #0,1,0: 11:[34, 36] Operation: 43-7=36
Exploring Operation: 43-34=9, Resulting Numbers: [7, 9]
Generated Node #0,1,1: 11:[7, 9] Operation: 43-34=9
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 11:[7, 9], Operations: ['73-39=34', '43-34=9']
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Exploring Operation: 7+9=16, Resulting Numbers: [16]
16,11 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 11:[34, 36], Operations: ['73-39=34', '43-7=36']
Exploring Operation: 36-34=2, Resulting Numbers: [2]
2,11 unequal: No Solution
Exploring Operation: 34+36=70, Resulting Numbers: [70]
70,11 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
|
[
49,
50,
6,
16
] | 95 |
[
"50-49=1",
"6*16=96",
"96-1=95"
] |
Current State: 95:[49, 50, 6, 16], Operations: []
Exploring Operation: 50-49=1, Resulting Numbers: [6, 16, 1]
Generated Node #2: [6, 16, 1] from Operation: 50-49=1
Current State: 95:[6, 16, 1], Operations: ['50-49=1']
Exploring Operation: 6*16=96, Resulting Numbers: [1, 96]
Generated Node #3: [1, 96] from Operation: 6*16=96
Current State: 95:[1, 96], Operations: ['50-49=1', '6*16=96']
Exploring Operation: 96-1=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 |
Current State: 95:[49, 50, 6, 16], Operations: []
Exploring Operation: 49-6=43, Resulting Numbers: [50, 16, 43]
Generated Node #0,0: 95:[50, 16, 43] Operation: 49-6=43
Exploring Operation: 49+50=99, Resulting Numbers: [6, 16, 99]
Generated Node #0,1: 95:[6, 16, 99] Operation: 49+50=99
Exploring Operation: 50-49=1, Resulting Numbers: [6, 16, 1]
Generated Node #0,2: 95:[6, 16, 1] Operation: 50-49=1
Exploring Operation: 50-16=34, Resulting Numbers: [49, 6, 34]
Generated Node #0,3: 95:[49, 6, 34] Operation: 50-16=34
Exploring Operation: 49-16=33, Resulting Numbers: [50, 6, 33]
Generated Node #0,4: 95:[50, 6, 33] Operation: 49-16=33
Start Sub Search at level 1: Moving to Node #0,1
Current State: 95:[6, 16, 99], Operations: ['49+50=99']
Exploring Operation: 6+16=22, Resulting Numbers: [99, 22]
Generated Node #0,1,0: 95:[99, 22] Operation: 6+16=22
Exploring Operation: 99-6=93, Resulting Numbers: [16, 93]
Generated Node #0,1,1: 95:[16, 93] Operation: 99-6=93
Exploring Operation: 16-6=10, Resulting Numbers: [99, 10]
Generated Node #0,1,2: 95:[99, 10] Operation: 16-6=10
Exploring Operation: 6+99=105, Resulting Numbers: [16, 105]
Generated Node #0,1,3: 95:[16, 105] Operation: 6+99=105
Exploring Operation: 6*16=96, Resulting Numbers: [99, 96]
Generated Node #0,1,4: 95:[99, 96] Operation: 6*16=96
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 95:[16, 93], Operations: ['49+50=99', '99-6=93']
Exploring Operation: 16+93=109, Resulting Numbers: [109]
109,95 unequal: No Solution
Exploring Operation: 93-16=77, Resulting Numbers: [77]
77,95 unequal: No Solution
Exploring Operation: 16*93=1488, Resulting Numbers: [1488]
1488,95 unequal: No Solution
No 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: 95:[99, 96], Operations: ['49+50=99', '6*16=96']
Exploring Operation: 99-96=3, Resulting Numbers: [3]
3,95 unequal: No Solution
Exploring Operation: 99+96=195, Resulting Numbers: [195]
195,95 unequal: No Solution
Exploring Operation: 99*96=9504, Resulting Numbers: [9504]
9504,95 unequal: No Solution
No 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: 95:[99, 22], Operations: ['49+50=99', '6+16=22']
Exploring Operation: 99+22=121, Resulting Numbers: [121]
121,95 unequal: No Solution
Exploring Operation: 99*22=2178, Resulting Numbers: [2178]
2178,95 unequal: No Solution
Exploring Operation: 99-22=77, Resulting Numbers: [77]
77,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 95:[99, 10], Operations: ['49+50=99', '16-6=10']
Exploring Operation: 99-10=89, Resulting Numbers: [89]
89,95 unequal: No Solution
Exploring Operation: 99+10=109, Resulting Numbers: [109]
109,95 unequal: No Solution
Exploring Operation: 99*10=990, Resulting Numbers: [990]
990,95 unequal: No Solution
No 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: 95:[16, 105], Operations: ['49+50=99', '6+99=105']
Exploring Operation: 16+105=121, Resulting Numbers: [121]
121,95 unequal: No Solution
Exploring Operation: 16*105=1680, Resulting Numbers: [1680]
1680,95 unequal: No Solution
Exploring Operation: 105-16=89, Resulting Numbers: [89]
89,95 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: 95:[6, 16, 1], Operations: ['50-49=1']
Exploring Operation: 6/1=6, Resulting Numbers: [16, 6]
Generated Node #0,2,0: 95:[16, 6] Operation: 6/1=6
Exploring Operation: 6-1=5, Resulting Numbers: [16, 5]
Generated Node #0,2,1: 95:[16, 5] Operation: 6-1=5
Exploring Operation: 16+1=17, Resulting Numbers: [6, 17]
Generated Node #0,2,2: 95:[6, 17] Operation: 16+1=17
Exploring Operation: 16*1=16, Resulting Numbers: [6, 16]
Generated Node #0,2,3: 95:[6, 16] Operation: 16*1=16
Exploring Operation: 6*1=6, Resulting Numbers: [16, 6]
Generated Node #0,2,4: 95:[16, 6] Operation: 6*1=6
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 95:[16, 5], Operations: ['50-49=1', '6-1=5']
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,95 unequal: No Solution
Exploring Operation: 16+5=21, Resulting Numbers: [21]
21,95 unequal: No Solution
Exploring Operation: 16*5=80, Resulting Numbers: [80]
80,95 unequal: No Solution
No 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: 95:[6, 17], Operations: ['50-49=1', '16+1=17']
Exploring Operation: 6+17=23, Resulting Numbers: [23]
23,95 unequal: No Solution
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,95 unequal: No Solution
Exploring Operation: 6*17=102, Resulting Numbers: [102]
102,95 unequal: No Solution
No 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: 95:[16, 6], Operations: ['50-49=1', '6/1=6']
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,95 unequal: No Solution
Exploring Operation: 16*6=96, Resulting Numbers: [96]
96,95 unequal: No Solution
Exploring Operation: 16+6=22, Resulting Numbers: [22]
22,95 unequal: No Solution
No 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: 95:[6, 16], Operations: ['50-49=1', '16*1=16']
Exploring Operation: 6+16=22, Resulting Numbers: [22]
22,95 unequal: No Solution
Exploring Operation: 6*16=96, Resulting Numbers: [96]
96,95 unequal: No Solution
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,95 unequal: No Solution
No 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: 95:[16, 6], Operations: ['50-49=1', '6*1=6']
Exploring Operation: 16*6=96, Resulting Numbers: [96]
96,95 unequal: No Solution
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,95 unequal: No Solution
Exploring Operation: 16+6=22, Resulting Numbers: [22]
22,95 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: 95:[49, 6, 34], Operations: ['50-16=34']
Exploring Operation: 34-6=28, Resulting Numbers: [49, 28]
Generated Node #0,3,0: 95:[49, 28] Operation: 34-6=28
Exploring Operation: 49+6=55, Resulting Numbers: [34, 55]
Generated Node #0,3,1: 95:[34, 55] Operation: 49+6=55
Exploring Operation: 49-34=15, Resulting Numbers: [6, 15]
Generated Node #0,3,2: 95:[6, 15] Operation: 49-34=15
Exploring Operation: 49+34=83, Resulting Numbers: [6, 83]
Generated Node #0,3,3: 95:[6, 83] Operation: 49+34=83
Exploring Operation: 49-6=43, Resulting Numbers: [34, 43]
Generated Node #0,3,4: 95:[34, 43] Operation: 49-6=43
Moving to Node #0,3,2
Current State: 95:[6, 15], Operations: ['50-16=34', '49-34=15']
Exploring Operation: 6+15=21, Resulting Numbers: [21]
21,95 unequal: No Solution
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,95 unequal: No Solution
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,95 unequal: No Solution
Moving to Node #0,3,3
Current State: 95:[6, 83], Operations: ['50-16=34', '49+34=83']
Exploring Operation: 6+83=89, Resulting Numbers: [89]
89,95 unequal: No Solution
Exploring Operation: 6*83=498, Resulting Numbers: [498]
498,95 unequal: No Solution
Exploring Operation: 83-6=77, Resulting Numbers: [77]
77,95 unequal: No Solution
Moving to Node #0,3,0
Current State: 95:[49, 28], Operations: ['50-16=34', '34-6=28']
Exploring Operation: 49+28=77, Resulting Numbers: [77]
77,95 unequal: No Solution
Exploring Operation: 49*28=1372, Resulting Numbers: [1372]
1372,95 unequal: No Solution
Exploring Operation: 49-28=21, Resulting Numbers: [21]
21,95 unequal: No Solution
Moving to Node #0,3,4
Current State: 95:[34, 43], Operations: ['50-16=34', '49-6=43']
Exploring Operation: 34*43=1462, Resulting Numbers: [1462]
1462,95 unequal: No Solution
Exploring Operation: 43-34=9, Resulting Numbers: [9]
9,95 unequal: No Solution
Exploring Operation: 34+43=77, Resulting Numbers: [77]
77,95 unequal: No Solution
Moving to Node #0,3,1
Current State: 95:[34, 55], Operations: ['50-16=34', '49+6=55']
Exploring Operation: 34*55=1870, Resulting Numbers: [1870]
1870,95 unequal: No Solution
Exploring Operation: 55-34=21, Resulting Numbers: [21]
21,95 unequal: No Solution
Exploring Operation: 34+55=89, Resulting Numbers: [89]
89,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 95:[50, 6, 33], Operations: ['49-16=33']
Exploring Operation: 50-33=17, Resulting Numbers: [6, 17]
Generated Node #0,4,0: 95:[6, 17] Operation: 50-33=17
Exploring Operation: 50+33=83, Resulting Numbers: [6, 83]
Generated Node #0,4,1: 95:[6, 83] Operation: 50+33=83
Exploring Operation: 50+6=56, Resulting Numbers: [33, 56]
Generated Node #0,4,2: 95:[33, 56] Operation: 50+6=56
Exploring Operation: 50-6=44, Resulting Numbers: [33, 44]
Generated Node #0,4,3: 95:[33, 44] Operation: 50-6=44
Exploring Operation: 33-6=27, Resulting Numbers: [50, 27]
Generated Node #0,4,4: 95:[50, 27] Operation: 33-6=27
Moving to Node #0,4,0
Current State: 95:[6, 17], Operations: ['49-16=33', '50-33=17']
Exploring Operation: 6*17=102, Resulting Numbers: [102]
102,95 unequal: No Solution
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,95 unequal: No Solution
Exploring Operation: 6+17=23, Resulting Numbers: [23]
23,95 unequal: No Solution
Moving to Node #0,4,1
Current State: 95:[6, 83], Operations: ['49-16=33', '50+33=83']
Exploring Operation: 6*83=498, Resulting Numbers: [498]
498,95 unequal: No Solution
Exploring Operation: 83-6=77, Resulting Numbers: [77]
77,95 unequal: No Solution
Exploring Operation: 6+83=89, Resulting Numbers: [89]
89,95 unequal: No Solution
Moving to Node #0,4,3
Current State: 95:[33, 44], Operations: ['49-16=33', '50-6=44']
Exploring Operation: 33+44=77, Resulting Numbers: [77]
77,95 unequal: No Solution
Exploring Operation: 33*44=1452, Resulting Numbers: [1452]
1452,95 unequal: No Solution
Exploring Operation: 44-33=11, Resulting Numbers: [11]
11,95 unequal: No Solution
Moving to Node #0,4,4
Current State: 95:[50, 27], Operations: ['49-16=33', '33-6=27']
Exploring Operation: 50-27=23, Resulting Numbers: [23]
23,95 unequal: No Solution
Exploring Operation: 50*27=1350, Resulting Numbers: [1350]
1350,95 unequal: No Solution
Exploring Operation: 50+27=77, Resulting Numbers: [77]
77,95 unequal: No Solution
Moving to Node #0,4,2
Current State: 95:[33, 56], Operations: ['49-16=33', '50+6=56']
Exploring Operation: 56-33=23, Resulting Numbers: [23]
23,95 unequal: No Solution
Exploring Operation: 33+56=89, Resulting Numbers: [89]
89,95 unequal: No Solution
Exploring Operation: 33*56=1848, Resulting Numbers: [1848]
1848,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[50, 16, 43], Operations: ['49-6=43']
Exploring Operation: 43-16=27, Resulting Numbers: [50, 27]
Generated Node #0,0,0: 95:[50, 27] Operation: 43-16=27
Exploring Operation: 50-43=7, Resulting Numbers: [16, 7]
Generated Node #0,0,1: 95:[16, 7] Operation: 50-43=7
Exploring Operation: 50+16=66, Resulting Numbers: [43, 66]
Generated Node #0,0,2: 95:[43, 66] Operation: 50+16=66
Exploring Operation: 50-16=34, Resulting Numbers: [43, 34]
Generated Node #0,0,3: 95:[43, 34] Operation: 50-16=34
Exploring Operation: 50+43=93, Resulting Numbers: [16, 93]
Generated Node #0,0,4: 95:[16, 93] Operation: 50+43=93
Moving to Node #0,0,1
Current State: 95:[16, 7], Operations: ['49-6=43', '50-43=7']
Exploring Operation: 16+7=23, Resulting Numbers: [23]
23,95 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,95 unequal: No Solution
Exploring Operation: 16*7=112, Resulting Numbers: [112]
112,95 unequal: No Solution
Moving to Node #0,0,4
Current State: 95:[16, 93], Operations: ['49-6=43', '50+43=93']
Exploring Operation: 16*93=1488, Resulting Numbers: [1488]
1488,95 unequal: No Solution
Exploring Operation: 93-16=77, Resulting Numbers: [77]
77,95 unequal: No Solution
Exploring Operation: 16+93=109, Resulting Numbers: [109]
109,95 unequal: No Solution
Moving to Node #0,0,0
Current State: 95:[50, 27], Operations: ['49-6=43', '43-16=27']
Exploring Operation: 50+27=77, Resulting Numbers: [77]
77,95 unequal: No Solution
Exploring Operation: 50*27=1350, Resulting Numbers: [1350]
1350,95 unequal: No Solution
Exploring Operation: 50-27=23, Resulting Numbers: [23]
23,95 unequal: No Solution
Moving to Node #0,0,3
Current State: 95:[43, 34], Operations: ['49-6=43', '50-16=34']
Exploring Operation: 43-34=9, Resulting Numbers: [9]
9,95 unequal: No Solution
Exploring Operation: 43+34=77, Resulting Numbers: [77]
77,95 unequal: No Solution
Exploring Operation: 43*34=1462, Resulting Numbers: [1462]
1462,95 unequal: No Solution
Moving to Node #0,0,2
Current State: 95:[43, 66], Operations: ['49-6=43', '50+16=66']
Exploring Operation: 43*66=2838, Resulting Numbers: [2838]
2838,95 unequal: No Solution
Exploring Operation: 66-43=23, Resulting Numbers: [23]
23,95 unequal: No Solution
Exploring Operation: 43+66=109, Resulting Numbers: [109]
109,95 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
|
[
47,
20,
2,
38
] | 83 |
[
"38-20=18",
"2*18=36",
"47+36=83"
] |
Current State: 83:[47, 20, 2, 38], Operations: []
Exploring Operation: 38-20=18, Resulting Numbers: [47, 2, 18]
Generated Node #2: [47, 2, 18] from Operation: 38-20=18
Current State: 83:[47, 2, 18], Operations: ['38-20=18']
Exploring Operation: 2*18=36, Resulting Numbers: [47, 36]
Generated Node #3: [47, 36] from Operation: 2*18=36
Current State: 83:[47, 36], Operations: ['38-20=18', '2*18=36']
Exploring Operation: 47+36=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 |
Current State: 83:[47, 20, 2, 38], Operations: []
Exploring Operation: 47*2=94, Resulting Numbers: [20, 38, 94]
Generated Node #0,0: 83:[20, 38, 94] Operation: 47*2=94
Exploring Operation: 20*2=40, Resulting Numbers: [47, 38, 40]
Generated Node #0,1: 83:[47, 38, 40] Operation: 20*2=40
Exploring Operation: 2*38=76, Resulting Numbers: [47, 20, 76]
Generated Node #0,2: 83:[47, 20, 76] Operation: 2*38=76
Moving to Node #0,2
Current State: 83:[47, 20, 76], Operations: ['2*38=76']
Exploring Operation: 47+20=67, Resulting Numbers: [76, 67]
Generated Node #0,2,0: 83:[76, 67] Operation: 47+20=67
Exploring Operation: 47-20=27, Resulting Numbers: [76, 27]
Generated Node #0,2,1: 83:[76, 27] Operation: 47-20=27
Exploring Operation: 20+76=96, Resulting Numbers: [47, 96]
Generated Node #0,2,2: 83:[47, 96] Operation: 20+76=96
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 83:[76, 67], Operations: ['2*38=76', '47+20=67']
Exploring Operation: 76*67=5092, Resulting Numbers: [5092]
5092,83 unequal: No Solution
Exploring Operation: 76-67=9, Resulting Numbers: [9]
9,83 unequal: No Solution
Exploring Operation: 76+67=143, Resulting Numbers: [143]
143,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 83:[47, 96], Operations: ['2*38=76', '20+76=96']
Exploring Operation: 96-47=49, Resulting Numbers: [49]
49,83 unequal: No Solution
Exploring Operation: 47+96=143, Resulting Numbers: [143]
143,83 unequal: No Solution
Exploring Operation: 47*96=4512, Resulting Numbers: [4512]
4512,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 83:[76, 27], Operations: ['2*38=76', '47-20=27']
Exploring Operation: 76+27=103, Resulting Numbers: [103]
103,83 unequal: No Solution
Exploring Operation: 76-27=49, Resulting Numbers: [49]
49,83 unequal: No Solution
Exploring Operation: 76*27=2052, Resulting Numbers: [2052]
2052,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 83:[20, 38, 94], Operations: ['47*2=94']
Exploring Operation: 38-20=18, Resulting Numbers: [94, 18]
Generated Node #0,0,0: 83:[94, 18] Operation: 38-20=18
Exploring Operation: 20+38=58, Resulting Numbers: [94, 58]
Generated Node #0,0,1: 83:[94, 58] Operation: 20+38=58
Exploring Operation: 94-20=74, Resulting Numbers: [38, 74]
Generated Node #0,0,2: 83:[38, 74] Operation: 94-20=74
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 83:[94, 58], Operations: ['47*2=94', '20+38=58']
Exploring Operation: 94-58=36, Resulting Numbers: [36]
36,83 unequal: No Solution
Exploring Operation: 94*58=5452, Resulting Numbers: [5452]
5452,83 unequal: No Solution
Exploring Operation: 94+58=152, Resulting Numbers: [152]
152,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 83:[38, 74], Operations: ['47*2=94', '94-20=74']
Exploring Operation: 38+74=112, Resulting Numbers: [112]
112,83 unequal: No Solution
Exploring Operation: 38*74=2812, Resulting Numbers: [2812]
2812,83 unequal: No Solution
Exploring Operation: 74-38=36, Resulting Numbers: [36]
36,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[94, 18], Operations: ['47*2=94', '38-20=18']
Exploring Operation: 94+18=112, Resulting Numbers: [112]
112,83 unequal: No Solution
Exploring Operation: 94*18=1692, Resulting Numbers: [1692]
1692,83 unequal: No Solution
Exploring Operation: 94-18=76, Resulting Numbers: [76]
76,83 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: 83:[47, 38, 40], Operations: ['20*2=40']
Exploring Operation: 38+40=78, Resulting Numbers: [47, 78]
Generated Node #0,1,0: 83:[47, 78] Operation: 38+40=78
Exploring Operation: 47+38=85, Resulting Numbers: [40, 85]
Generated Node #0,1,1: 83:[40, 85] Operation: 47+38=85
Exploring Operation: 47+40=87, Resulting Numbers: [38, 87]
Generated Node #0,1,2: 83:[38, 87] Operation: 47+40=87
Moving to Node #0,1,0
Current State: 83:[47, 78], Operations: ['20*2=40', '38+40=78']
Exploring Operation: 78-47=31, Resulting Numbers: [31]
31,83 unequal: No Solution
Exploring Operation: 47+78=125, Resulting Numbers: [125]
125,83 unequal: No Solution
Exploring Operation: 47*78=3666, Resulting Numbers: [3666]
3666,83 unequal: No Solution
Moving to Node #0,1,1
Current State: 83:[40, 85], Operations: ['20*2=40', '47+38=85']
Exploring Operation: 85-40=45, Resulting Numbers: [45]
45,83 unequal: No Solution
Exploring Operation: 40*85=3400, Resulting Numbers: [3400]
3400,83 unequal: No Solution
Exploring Operation: 40+85=125, Resulting Numbers: [125]
125,83 unequal: No Solution
Moving to Node #0,1,2
Current State: 83:[38, 87], Operations: ['20*2=40', '47+40=87']
Exploring Operation: 87-38=49, Resulting Numbers: [49]
49,83 unequal: No Solution
Exploring Operation: 38*87=3306, Resulting Numbers: [3306]
3306,83 unequal: No Solution
Exploring Operation: 38+87=125, Resulting Numbers: [125]
125,83 unequal: No Solution
No solution found.
| 0 |
hs_3
|
mult_heuristic
|
[
91,
45,
76,
69
] | 23 |
[
"91-76=15",
"45/15=3",
"69/3=23"
] |
Current State: 23:[91, 45, 76, 69], Operations: []
Exploring Operation: 91-76=15, Resulting Numbers: [45, 69, 15]
Generated Node #2: [45, 69, 15] from Operation: 91-76=15
Current State: 23:[45, 69, 15], Operations: ['91-76=15']
Exploring Operation: 45/15=3, Resulting Numbers: [69, 3]
Generated Node #3: [69, 3] from Operation: 45/15=3
Current State: 23:[69, 3], Operations: ['91-76=15', '45/15=3']
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 |
Current State: 23:[91, 45, 76, 69], Operations: []
Exploring Operation: 91-76=15, Resulting Numbers: [45, 69, 15]
Generated Node #0,0: 23:[45, 69, 15] Operation: 91-76=15
Exploring Operation: 76-69=7, Resulting Numbers: [91, 45, 7]
Generated Node #0,1: 23:[91, 45, 7] Operation: 76-69=7
Exploring Operation: 91-69=22, Resulting Numbers: [45, 76, 22]
Generated Node #0,2: 23:[45, 76, 22] Operation: 91-69=22
Moving to Node #0,0
Current State: 23:[45, 69, 15], Operations: ['91-76=15']
Exploring Operation: 69-15=54, Resulting Numbers: [45, 54]
Generated Node #0,0,0: 23:[45, 54] Operation: 69-15=54
Exploring Operation: 69-45=24, Resulting Numbers: [15, 24]
Generated Node #0,0,1: 23:[15, 24] Operation: 69-45=24
Exploring Operation: 45-15=30, Resulting Numbers: [69, 30]
Generated Node #0,0,2: 23:[69, 30] Operation: 45-15=30
Moving to Node #0,2
Current State: 23:[45, 76, 22], Operations: ['91-69=22']
Exploring Operation: 76-22=54, Resulting Numbers: [45, 54]
Generated Node #0,2,0: 23:[45, 54] Operation: 76-22=54
Exploring Operation: 45-22=23, Resulting Numbers: [76, 23]
Generated Node #0,2,1: 23:[76, 23] Operation: 45-22=23
Exploring Operation: 76-45=31, Resulting Numbers: [22, 31]
Generated Node #0,2,2: 23:[22, 31] Operation: 76-45=31
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 23:[22, 31], Operations: ['91-69=22', '76-45=31']
Exploring Operation: 31-22=9, Resulting Numbers: [9]
9,23 unequal: No Solution
Exploring Operation: 22*31=682, Resulting Numbers: [682]
682,23 unequal: No Solution
Exploring Operation: 22+31=53, Resulting Numbers: [53]
53,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 23:[45, 54], Operations: ['91-69=22', '76-22=54']
Exploring Operation: 45+54=99, Resulting Numbers: [99]
99,23 unequal: No Solution
Exploring Operation: 45*54=2430, Resulting Numbers: [2430]
2430,23 unequal: No Solution
Exploring Operation: 54-45=9, Resulting Numbers: [9]
9,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 23:[76, 23], Operations: ['91-69=22', '45-22=23']
Exploring Operation: 76-23=53, Resulting Numbers: [53]
53,23 unequal: No Solution
Exploring Operation: 76*23=1748, Resulting Numbers: [1748]
1748,23 unequal: No Solution
Exploring Operation: 76+23=99, Resulting Numbers: [99]
99,23 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 23:[91, 45, 7], Operations: ['76-69=7']
Exploring Operation: 91-7=84, Resulting Numbers: [45, 84]
Generated Node #0,1,0: 23:[45, 84] Operation: 91-7=84
Exploring Operation: 91/7=13, Resulting Numbers: [45, 13]
Generated Node #0,1,1: 23:[45, 13] Operation: 91/7=13
Exploring Operation: 91-45=46, Resulting Numbers: [7, 46]
Generated Node #0,1,2: 23:[7, 46] Operation: 91-45=46
Moving to Node #0,0,1
Current State: 23:[15, 24], Operations: ['91-76=15', '69-45=24']
Exploring Operation: 15*24=360, Resulting Numbers: [360]
360,23 unequal: No Solution
Exploring Operation: 24-15=9, Resulting Numbers: [9]
9,23 unequal: No Solution
Exploring Operation: 15+24=39, Resulting Numbers: [39]
39,23 unequal: No Solution
Moving to Node #0,1,1
Current State: 23:[45, 13], Operations: ['76-69=7', '91/7=13']
Exploring Operation: 45*13=585, Resulting Numbers: [585]
585,23 unequal: No Solution
Exploring Operation: 45+13=58, Resulting Numbers: [58]
58,23 unequal: No Solution
Exploring Operation: 45-13=32, Resulting Numbers: [32]
32,23 unequal: No Solution
Moving to Node #0,1,2
Current State: 23:[7, 46], Operations: ['76-69=7', '91-45=46']
Exploring Operation: 7+46=53, Resulting Numbers: [53]
53,23 unequal: No Solution
Exploring Operation: 7*46=322, Resulting Numbers: [322]
322,23 unequal: No Solution
Exploring Operation: 46-7=39, Resulting Numbers: [39]
39,23 unequal: No Solution
Moving to Node #0,0,2
Current State: 23:[69, 30], Operations: ['91-76=15', '45-15=30']
Exploring Operation: 69*30=2070, Resulting Numbers: [2070]
2070,23 unequal: No Solution
Exploring Operation: 69-30=39, Resulting Numbers: [39]
39,23 unequal: No Solution
Exploring Operation: 69+30=99, Resulting Numbers: [99]
99,23 unequal: No Solution
Moving to Node #0,0,0
Current State: 23:[45, 54], Operations: ['91-76=15', '69-15=54']
Exploring Operation: 45+54=99, Resulting Numbers: [99]
99,23 unequal: No Solution
Exploring Operation: 54-45=9, Resulting Numbers: [9]
9,23 unequal: No Solution
Exploring Operation: 45*54=2430, Resulting Numbers: [2430]
2430,23 unequal: No Solution
Moving to Node #0,1,0
Current State: 23:[45, 84], Operations: ['76-69=7', '91-7=84']
Exploring Operation: 45+84=129, Resulting Numbers: [129]
129,23 unequal: No Solution
Exploring Operation: 84-45=39, Resulting Numbers: [39]
39,23 unequal: No Solution
Exploring Operation: 45*84=3780, Resulting Numbers: [3780]
3780,23 unequal: No Solution
No solution found.
| 0 |
hs_3
|
sum_heuristic
|
[
53,
27,
6,
4
] | 31 |
[
"27-6=21",
"4*21=84",
"84-53=31"
] |
Current State: 31:[53, 27, 6, 4], Operations: []
Exploring Operation: 27-6=21, Resulting Numbers: [53, 4, 21]
Generated Node #2: [53, 4, 21] from Operation: 27-6=21
Current State: 31:[53, 4, 21], Operations: ['27-6=21']
Exploring Operation: 4*21=84, Resulting Numbers: [53, 84]
Generated Node #3: [53, 84] from Operation: 4*21=84
Current State: 31:[53, 84], Operations: ['27-6=21', '4*21=84']
Exploring Operation: 84-53=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 |
Current State: 31:[53, 27, 6, 4], Operations: []
Exploring Operation: 6*4=24, Resulting Numbers: [53, 27, 24]
Generated Node #0,0: 31:[53, 27, 24] Operation: 6*4=24
Moving to Node #0,0
Current State: 31:[53, 27, 24], Operations: ['6*4=24']
Exploring Operation: 53-24=29, Resulting Numbers: [27, 29]
Generated Node #0,0,0: 31:[27, 29] Operation: 53-24=29
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 31:[27, 29], Operations: ['6*4=24', '53-24=29']
Exploring Operation: 27+29=56, Resulting Numbers: [56]
56,31 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
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.