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 |
|---|---|---|---|---|---|---|---|---|
[
40,
4,
94,
28
] | 86 | [
"40-4=36",
"94+28=122",
"122-36=86"
] | Current State: 86:[40, 4, 94, 28], Operations: []
Exploring Operation: 40-4=36, Resulting Numbers: [94, 28, 36]
Generated Node #2: [94, 28, 36] from Operation: 40-4=36
Current State: 86:[94, 28, 36], Operations: ['40-4=36']
Exploring Operation: 94+28=122, Resulting Numbers: [36, 122]
Generated Node #3: [36, 122] from Operation: 94+28=122
Current State: 86:[36, 122], Operations: ['40-4=36', '94+28=122']
Exploring Operation: 122-36=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[40, 4, 94, 28], Operations: []
Exploring Operation: 40-28=12, Resulting Numbers: [4, 94, 12]
Generated Node #0,0: 86:[4, 94, 12] Operation: 40-28=12
Exploring Operation: 28/4=7, Resulting Numbers: [40, 94, 7]
Generated Node #0,1: 86:[40, 94, 7] Operation: 28/4=7
Moving to Node #0,1
Current State: 86:[40, 94, 7], Operations: ['28/4=7']
Exploring Operation: 40+7=47, Resulting Numbers: [94, 47]
Generated Node #0,1,0: 86:[94, 47] Operation: 40+7=47
Exploring Operation: 94-7=87, Resulting Numbers: [40, 87]
Generated Node #0,1,1: 86:[40, 87] Operation: 94-7=87
Moving to Node #0,0
Current State: 86:[4, 94, 12], Operations: ['40-28=12']
Exploring Operation: 94-12=82, Resulting Numbers: [4, 82]
Generated Node #0,0,0: 86:[4, 82] Operation: 94-12=82
Exploring Operation: 12/4=3, Resulting Numbers: [94, 3]
Generated Node #0,0,1: 86:[94, 3] Operation: 12/4=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[4, 82], Operations: ['40-28=12', '94-12=82']
Exploring Operation: 4+82=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[40, 4, 94, 28], Operations: []
Exploring Operation: 40-28=12, Resulting Numbers: [4, 94, 12]
Generated Node #0,0: 86:[4, 94, 12] Operation: 40-28=12
Moving to Node #0,0
Current State: 86:[4, 94, 12], Operations: ['40-28=12']
Exploring Operation: 94-12=82, Resulting Numbers: [4, 82]
Generated Node #0,0,0: 86:[4, 82] Operation: 94-12=82
Moving to Node #0,0,0
Current State: 86:[4, 82], Operations: ['40-28=12', '94-12=82']
Exploring Operation: 4+82=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
69,
11,
74,
66
] | 21 | [
"69-66=3",
"74-11=63",
"63/3=21"
] | Current State: 21:[69, 11, 74, 66], Operations: []
Exploring Operation: 69-66=3, Resulting Numbers: [11, 74, 3]
Generated Node #2: [11, 74, 3] from Operation: 69-66=3
Current State: 21:[11, 74, 3], Operations: ['69-66=3']
Exploring Operation: 74-11=63, Resulting Numbers: [3, 63]
Generated Node #3: [3, 63] from Operation: 74-11=63
Current State: 21:[3, 63], Operations: ['69-66=3', '74-11=63']
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[69, 11, 74, 66], Operations: []
Exploring Operation: 69-66=3, Resulting Numbers: [11, 74, 3]
Generated Node #0,0: 21:[11, 74, 3] Operation: 69-66=3
Exploring Operation: 74-66=8, Resulting Numbers: [69, 11, 8]
Generated Node #0,1: 21:[69, 11, 8] Operation: 74-66=8
Exploring Operation: 74-69=5, Resulting Numbers: [11, 66, 5]
Generated Node #0,2: 21:[11, 66, 5] Operation: 74-69=5
Moving to Node #0,2
Current State: 21:[11, 66, 5], Operations: ['74-69=5']
Exploring Operation: 66/11=6, Resulting Numbers: [5, 6]
Generated Node #0,2,0: 21:[5, 6] Operation: 66/11=6
Exploring Operation: 66-5=61, Resulting Numbers: [11, 61]
Generated Node #0,2,1: 21:[11, 61] Operation: 66-5=61
Exploring Operation: 66-11=55, Resulting Numbers: [5, 55]
Generated Node #0,2,2: 21:[5, 55] Operation: 66-11=55
Moving to Node #0,1
Current State: 21:[69, 11, 8], Operations: ['74-66=8']
Exploring Operation: 69-11=58, Resulting Numbers: [8, 58]
Generated Node #0,1,0: 21:[8, 58] Operation: 69-11=58
Exploring Operation: 69-8=61, Resulting Numbers: [11, 61]
Generated Node #0,1,1: 21:[11, 61] Operation: 69-8=61
Exploring Operation: 11-8=3, Resulting Numbers: [69, 3]
Generated Node #0,1,2: 21:[69, 3] Operation: 11-8=3
Moving to Node #0,0
Current State: 21:[11, 74, 3], Operations: ['69-66=3']
Exploring Operation: 74-3=71, Resulting Numbers: [11, 71]
Generated Node #0,0,0: 21:[11, 71] Operation: 74-3=71
Exploring Operation: 11-3=8, Resulting Numbers: [74, 8]
Generated Node #0,0,1: 21:[74, 8] Operation: 11-3=8
Exploring Operation: 74-11=63, Resulting Numbers: [3, 63]
Generated Node #0,0,2: 21:[3, 63] Operation: 74-11=63
Moving to Node #0,2,0
Current State: 21:[5, 6], Operations: ['74-69=5', '66/11=6']
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,21 unequal: No Solution
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,21 unequal: No Solution
Moving to Node #0,2,2
Current State: 21:[5, 55], Operations: ['74-69=5', '66-11=55']
Exploring Operation: 55-5=50, Resulting Numbers: [50]
50,21 unequal: No Solution
Exploring Operation: 55/5=11, Resulting Numbers: [11]
11,21 unequal: No Solution
Exploring Operation: 5+55=60, Resulting Numbers: [60]
60,21 unequal: No Solution
Moving to Node #0,1,0
Current State: 21:[8, 58], Operations: ['74-66=8', '69-11=58']
Exploring Operation: 8+58=66, Resulting Numbers: [66]
66,21 unequal: No Solution
Exploring Operation: 8*58=464, Resulting Numbers: [464]
464,21 unequal: No Solution
Exploring Operation: 58-8=50, Resulting Numbers: [50]
50,21 unequal: No Solution
Moving to Node #0,0,2
Current State: 21:[3, 63], Operations: ['69-66=3', '74-11=63']
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[69, 11, 74, 66], Operations: []
Exploring Operation: 69-66=3, Resulting Numbers: [11, 74, 3]
Generated Node #0,0: 21:[11, 74, 3] Operation: 69-66=3
Moving to Node #0,0
Current State: 21:[11, 74, 3], Operations: ['69-66=3']
Exploring Operation: 74-11=63, Resulting Numbers: [3, 63]
Generated Node #0,0,2: 21:[3, 63] Operation: 74-11=63
Moving to Node #0,0,2
Current State: 21:[3, 63], Operations: ['69-66=3', '74-11=63']
Exploring Operation: 63/3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 0.977431 | hs_3 | mult_heuristic |
[
88,
3,
94,
55
] | 53 | [
"94-88=6",
"6/3=2",
"55-2=53"
] | Current State: 53:[88, 3, 94, 55], Operations: []
Exploring Operation: 94-88=6, Resulting Numbers: [3, 55, 6]
Generated Node #2: [3, 55, 6] from Operation: 94-88=6
Current State: 53:[3, 55, 6], Operations: ['94-88=6']
Exploring Operation: 6/3=2, Resulting Numbers: [55, 2]
Generated Node #3: [55, 2] from Operation: 6/3=2
Current State: 53:[55, 2], Operations: ['94-88=6', '6/3=2']
Exploring Operation: 55-2=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[88, 3, 94, 55], Operations: []
Exploring Operation: 88-3=85, Resulting Numbers: [94, 55, 85]
Generated Node #0,0: 53:[94, 55, 85] Operation: 88-3=85
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[94, 55, 85], Operations: ['88-3=85']
Exploring Operation: 94-55=39, Resulting Numbers: [85, 39]
Generated Node #0,0,0: 53:[85, 39] Operation: 94-55=39
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 53:[85, 39], Operations: ['88-3=85', '94-55=39']
Exploring Operation: 85-39=46, Resulting Numbers: [46]
46,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
89,
7,
59,
33
] | 83 | [
"89+59=148",
"7*33=231",
"231-148=83"
] | Current State: 83:[89, 7, 59, 33], Operations: []
Exploring Operation: 89+59=148, Resulting Numbers: [7, 33, 148]
Generated Node #2: [7, 33, 148] from Operation: 89+59=148
Current State: 83:[7, 33, 148], Operations: ['89+59=148']
Exploring Operation: 7*33=231, Resulting Numbers: [148, 231]
Generated Node #3: [148, 231] from Operation: 7*33=231
Current State: 83:[148, 231], Operations: ['89+59=148', '7*33=231']
Exploring Operation: 231-148=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[89, 7, 59, 33], Operations: []
Exploring Operation: 7+59=66, Resulting Numbers: [89, 33, 66]
Generated Node #0,0: 83:[89, 33, 66] Operation: 7+59=66
Moving to Node #0,0
Current State: 83:[89, 33, 66], Operations: ['7+59=66']
Exploring Operation: 33+66=99, Resulting Numbers: [89, 99]
Generated Node #0,0,0: 83:[89, 99] Operation: 33+66=99
Moving to Node #0,0,0
Current State: 83:[89, 99], Operations: ['7+59=66', '33+66=99']
Exploring Operation: 99-89=10, Resulting Numbers: [10]
10,83 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
69,
43,
93,
7
] | 26 | [
"69+43=112",
"93-7=86",
"112-86=26"
] | Current State: 26:[69, 43, 93, 7], Operations: []
Exploring Operation: 69+43=112, Resulting Numbers: [93, 7, 112]
Generated Node #2: [93, 7, 112] from Operation: 69+43=112
Current State: 26:[93, 7, 112], Operations: ['69+43=112']
Exploring Operation: 93-7=86, Resulting Numbers: [112, 86]
Generated Node #3: [112, 86] from Operation: 93-7=86
Current State: 26:[112, 86], Operations: ['69+43=112', '93-7=86']
Exploring Operation: 112-86=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[69, 43, 93, 7], Operations: []
Exploring Operation: 93-69=24, Resulting Numbers: [43, 7, 24]
Generated Node #0,0: 26:[43, 7, 24] Operation: 93-69=24
Exploring Operation: 69-43=26, Resulting Numbers: [93, 7, 26]
Generated Node #0,1: 26:[93, 7, 26] Operation: 69-43=26
Moving to Node #0,0
Current State: 26:[43, 7, 24], Operations: ['93-69=24']
Exploring Operation: 43-24=19, Resulting Numbers: [7, 19]
Generated Node #0,0,0: 26:[7, 19] Operation: 43-24=19
Exploring Operation: 43-7=36, Resulting Numbers: [24, 36]
Generated Node #0,0,1: 26:[24, 36] Operation: 43-7=36
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 26:[7, 19], Operations: ['93-69=24', '43-24=19']
Exploring Operation: 7+19=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[69, 43, 93, 7], Operations: []
Exploring Operation: 93-69=24, Resulting Numbers: [43, 7, 24]
Generated Node #0,0: 26:[43, 7, 24] Operation: 93-69=24
Moving to Node #0,0
Current State: 26:[43, 7, 24], Operations: ['93-69=24']
Exploring Operation: 43-24=19, Resulting Numbers: [7, 19]
Generated Node #0,0,0: 26:[7, 19] Operation: 43-24=19
Moving to Node #0,0,0
Current State: 26:[7, 19], Operations: ['93-69=24', '43-24=19']
Exploring Operation: 7+19=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
3,
31,
65,
9
] | 90 | [
"3+31=34",
"65-9=56",
"34+56=90"
] | Current State: 90:[3, 31, 65, 9], Operations: []
Exploring Operation: 3+31=34, Resulting Numbers: [65, 9, 34]
Generated Node #2: [65, 9, 34] from Operation: 3+31=34
Current State: 90:[65, 9, 34], Operations: ['3+31=34']
Exploring Operation: 65-9=56, Resulting Numbers: [34, 56]
Generated Node #3: [34, 56] from Operation: 65-9=56
Current State: 90:[34, 56], Operations: ['3+31=34', '65-9=56']
Exploring Operation: 34+56=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[3, 31, 65, 9], Operations: []
Exploring Operation: 65-31=34, Resulting Numbers: [3, 9, 34]
Generated Node #0,0: 90:[3, 9, 34] Operation: 65-31=34
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[3, 9, 34], Operations: ['65-31=34']
Exploring Operation: 34-3=31, Resulting Numbers: [9, 31]
Generated Node #0,0,0: 90:[9, 31] Operation: 34-3=31
Moving to Node #0,0,0
Current State: 90:[9, 31], Operations: ['65-31=34', '34-3=31']
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,90 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,
50,
77,
6
] | 13 | [
"8+50=58",
"77-6=71",
"71-58=13"
] | Current State: 13:[8, 50, 77, 6], Operations: []
Exploring Operation: 8+50=58, Resulting Numbers: [77, 6, 58]
Generated Node #2: [77, 6, 58] from Operation: 8+50=58
Current State: 13:[77, 6, 58], Operations: ['8+50=58']
Exploring Operation: 77-6=71, Resulting Numbers: [58, 71]
Generated Node #3: [58, 71] from Operation: 77-6=71
Current State: 13:[58, 71], Operations: ['8+50=58', '77-6=71']
Exploring Operation: 71-58=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[8, 50, 77, 6], Operations: []
Exploring Operation: 77-8=69, Resulting Numbers: [50, 6, 69]
Generated Node #0,0: 13:[50, 6, 69] Operation: 77-8=69
Exploring Operation: 77-50=27, Resulting Numbers: [8, 6, 27]
Generated Node #0,1: 13:[8, 6, 27] Operation: 77-50=27
Exploring Operation: 50-8=42, Resulting Numbers: [77, 6, 42]
Generated Node #0,2: 13:[77, 6, 42] Operation: 50-8=42
Exploring Operation: 50-6=44, Resulting Numbers: [8, 77, 44]
Generated Node #0,3: 13:[8, 77, 44] Operation: 50-6=44
Moving to Node #0,1
Current State: 13:[8, 6, 27], Operations: ['77-50=27']
Exploring Operation: 27-6=21, Resulting Numbers: [8, 21]
Generated Node #0,1,0: 13:[8, 21] Operation: 27-6=21
Exploring Operation: 27-8=19, Resulting Numbers: [6, 19]
Generated Node #0,1,1: 13:[6, 19] Operation: 27-8=19
Exploring Operation: 8-6=2, Resulting Numbers: [27, 2]
Generated Node #0,1,2: 13:[27, 2] Operation: 8-6=2
Exploring Operation: 8+6=14, Resulting Numbers: [27, 14]
Generated Node #0,1,3: 13:[27, 14] Operation: 8+6=14
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 13:[8, 21], Operations: ['77-50=27', '27-6=21']
Exploring Operation: 8*21=168, Resulting Numbers: [168]
168,13 unequal: No Solution
Exploring Operation: 8+21=29, Resulting Numbers: [29]
29,13 unequal: No Solution
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[8, 50, 77, 6], Operations: []
Exploring Operation: 77-50=27, Resulting Numbers: [8, 6, 27]
Generated Node #0,1: 13:[8, 6, 27] Operation: 77-50=27
Moving to Node #0,1
Current State: 13:[8, 6, 27], Operations: ['77-50=27']
Exploring Operation: 27-6=21, Resulting Numbers: [8, 21]
Generated Node #0,1,0: 13:[8, 21] Operation: 27-6=21
Moving to Node #0,1,0
Current State: 13:[8, 21], Operations: ['77-50=27', '27-6=21']
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
48,
43,
57,
67
] | 33 | [
"48+43=91",
"57+67=124",
"124-91=33"
] | Current State: 33:[48, 43, 57, 67], Operations: []
Exploring Operation: 48+43=91, Resulting Numbers: [57, 67, 91]
Generated Node #2: [57, 67, 91] from Operation: 48+43=91
Current State: 33:[57, 67, 91], Operations: ['48+43=91']
Exploring Operation: 57+67=124, Resulting Numbers: [91, 124]
Generated Node #3: [91, 124] from Operation: 57+67=124
Current State: 33:[91, 124], Operations: ['48+43=91', '57+67=124']
Exploring Operation: 124-91=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[48, 43, 57, 67], Operations: []
Exploring Operation: 57-48=9, Resulting Numbers: [43, 67, 9]
Generated Node #0,0: 33:[43, 67, 9] Operation: 57-48=9
Exploring Operation: 67-48=19, Resulting Numbers: [43, 57, 19]
Generated Node #0,1: 33:[43, 57, 19] Operation: 67-48=19
Exploring Operation: 67-43=24, Resulting Numbers: [48, 57, 24]
Generated Node #0,2: 33:[48, 57, 24] Operation: 67-43=24
Exploring Operation: 57-43=14, Resulting Numbers: [48, 67, 14]
Generated Node #0,3: 33:[48, 67, 14] Operation: 57-43=14
Exploring Operation: 67-57=10, Resulting Numbers: [48, 43, 10]
Generated Node #0,4: 33:[48, 43, 10] Operation: 67-57=10
Start Sub Search at level 1: Moving to Node #0,4
Current State: 33:[48, 43, 10], Operations: ['67-57=10']
Exploring Operation: 43+10=53, Resulting Numbers: [48, 53]
Generated Node #0,4,0: 33:[48, 53] Operation: 43+10=53
Exploring Operation: 43-10=33, Resulting Numbers: [48, 33]
Generated Node #0,4,1: 33:[48, 33] Operation: 43-10=33
Exploring Operation: 48+10=58, Resulting Numbers: [43, 58]
Generated Node #0,4,2: 33:[43, 58] Operation: 48+10=58
Exploring Operation: 48-43=5, Resulting Numbers: [10, 5]
Generated Node #0,4,3: 33:[10, 5] Operation: 48-43=5
Exploring Operation: 48-10=38, Resulting Numbers: [43, 38]
Generated Node #0,4,4: 33:[43, 38] Operation: 48-10=38
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 33:[10, 5], Operations: ['67-57=10', '48-43=5']
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,33 unequal: No Solution
Exploring Operation: 10*5=50, Resulting Numbers: [50]
50,33 unequal: No Solution
Exploring Operation: 10+5=15, Resulting Numbers: [15]
15,33 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,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,4,1
Current State: 33:[48, 33], Operations: ['67-57=10', '43-10=33']
Exploring Operation: 48*33=1584, Resulting Numbers: [1584]
1584,33 unequal: No Solution
Exploring Operation: 48+33=81, Resulting Numbers: [81]
81,33 unequal: No Solution
Exploring Operation: 48-33=15, Resulting Numbers: [15]
15,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,4,4
Current State: 33:[43, 38], Operations: ['67-57=10', '48-10=38']
Exploring Operation: 43+38=81, Resulting Numbers: [81]
81,33 unequal: No Solution
Exploring Operation: 43-38=5, Resulting Numbers: [5]
5,33 unequal: No Solution
Exploring Operation: 43*38=1634, Resulting Numbers: [1634]
1634,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,4,0
Current State: 33:[48, 53], Operations: ['67-57=10', '43+10=53']
Exploring Operation: 53-48=5, Resulting Numbers: [5]
5,33 unequal: No Solution
Exploring Operation: 48*53=2544, Resulting Numbers: [2544]
2544,33 unequal: No Solution
Exploring Operation: 48+53=101, Resulting Numbers: [101]
101,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,4,2
Current State: 33:[43, 58], Operations: ['67-57=10', '48+10=58']
Exploring Operation: 43*58=2494, Resulting Numbers: [2494]
2494,33 unequal: No Solution
Exploring Operation: 43+58=101, Resulting Numbers: [101]
101,33 unequal: No Solution
Exploring Operation: 58-43=15, Resulting Numbers: [15]
15,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:[43, 57, 19], Operations: ['67-48=19']
Exploring Operation: 57/19=3, Resulting Numbers: [43, 3]
Generated Node #0,1,0: 33:[43, 3] Operation: 57/19=3
Exploring Operation: 57-19=38, Resulting Numbers: [43, 38]
Generated Node #0,1,1: 33:[43, 38] Operation: 57-19=38
Exploring Operation: 43-19=24, Resulting Numbers: [57, 24]
Generated Node #0,1,2: 33:[57, 24] Operation: 43-19=24
Exploring Operation: 43+19=62, Resulting Numbers: [57, 62]
Generated Node #0,1,3: 33:[57, 62] Operation: 43+19=62
Exploring Operation: 57-43=14, Resulting Numbers: [19, 14]
Generated Node #0,1,4: 33:[19, 14] Operation: 57-43=14
Moving to Node #0,1,0
Current State: 33:[43, 3], Operations: ['67-48=19', '57/19=3']
Exploring Operation: 43*3=129, Resulting Numbers: [129]
129,33 unequal: No Solution
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,33 unequal: No Solution
Exploring Operation: 43+3=46, Resulting Numbers: [46]
46,33 unequal: No Solution
Moving to Node #0,1,4
Current State: 33:[19, 14], Operations: ['67-48=19', '57-43=14']
Exploring Operation: 19*14=266, Resulting Numbers: [266]
266,33 unequal: No Solution
Exploring Operation: 19+14=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[48, 43, 57, 67], Operations: []
Exploring Operation: 67-48=19, Resulting Numbers: [43, 57, 19]
Generated Node #0,1: 33:[43, 57, 19] Operation: 67-48=19
Moving to Node #0,1
Current State: 33:[43, 57, 19], Operations: ['67-48=19']
Exploring Operation: 57-43=14, Resulting Numbers: [19, 14]
Generated Node #0,1,4: 33:[19, 14] Operation: 57-43=14
Moving to Node #0,1,4
Current State: 33:[19, 14], Operations: ['67-48=19', '57-43=14']
Exploring Operation: 19+14=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.965278 | hs_5 | mult_heuristic |
[
8,
87,
95,
78
] | 79 | [
"8+87=95",
"95/95=1",
"78+1=79"
] | Current State: 79:[8, 87, 95, 78], Operations: []
Exploring Operation: 8+87=95, Resulting Numbers: [95, 78, 95]
Generated Node #2: [95, 78, 95] from Operation: 8+87=95
Current State: 79:[95, 78, 95], Operations: ['8+87=95']
Exploring Operation: 95/95=1, Resulting Numbers: [78, 1]
Generated Node #3: [78, 1] from Operation: 95/95=1
Current State: 79:[78, 1], Operations: ['8+87=95', '95/95=1']
Exploring Operation: 78+1=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[8, 87, 95, 78], Operations: []
Exploring Operation: 8+78=86, Resulting Numbers: [87, 95, 86]
Generated Node #0,0: 79:[87, 95, 86] Operation: 8+78=86
Exploring Operation: 95-8=87, Resulting Numbers: [87, 78, 87]
Generated Node #0,1: 79:[87, 78, 87] Operation: 95-8=87
Exploring Operation: 87-8=79, Resulting Numbers: [95, 78, 79]
Generated Node #0,2: 79:[95, 78, 79] Operation: 87-8=79
Moving to Node #0,1
Current State: 79:[87, 78, 87], Operations: ['95-8=87']
Exploring Operation: 87-78=9, Resulting Numbers: [87, 9]
Generated Node #0,1,0: 79:[87, 9] Operation: 87-78=9
Exploring Operation: 87-78=9, Resulting Numbers: [87, 9]
Generated Node #0,1,1: 79:[87, 9] Operation: 87-78=9
Exploring Operation: 87/87=1, Resulting Numbers: [78, 1]
Generated Node #0,1,2: 79:[78, 1] Operation: 87/87=1
Moving to Node #0,2
Current State: 79:[95, 78, 79], Operations: ['87-8=79']
Exploring Operation: 95-79=16, Resulting Numbers: [78, 16]
Generated Node #0,2,0: 79:[78, 16] Operation: 95-79=16
Exploring Operation: 95+78=173, Resulting Numbers: [79, 173]
Generated Node #0,2,1: 79:[79, 173] Operation: 95+78=173
Exploring Operation: 95-78=17, Resulting Numbers: [79, 17]
Generated Node #0,2,2: 79:[79, 17] Operation: 95-78=17
Moving to Node #0,0
Current State: 79:[87, 95, 86], Operations: ['8+78=86']
Exploring Operation: 95-87=8, Resulting Numbers: [86, 8]
Generated Node #0,0,0: 79:[86, 8] Operation: 95-87=8
Exploring Operation: 95-86=9, Resulting Numbers: [87, 9]
Generated Node #0,0,1: 79:[87, 9] Operation: 95-86=9
Exploring Operation: 87-86=1, Resulting Numbers: [95, 1]
Generated Node #0,0,2: 79:[95, 1] Operation: 87-86=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 79:[86, 8], Operations: ['8+78=86', '95-87=8']
Exploring Operation: 86*8=688, Resulting Numbers: [688]
688,79 unequal: No Solution
Exploring Operation: 86-8=78, Resulting Numbers: [78]
78,79 unequal: No Solution
Exploring Operation: 86+8=94, Resulting Numbers: [94]
94,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 79:[87, 9], Operations: ['8+78=86', '95-86=9']
Exploring Operation: 87*9=783, Resulting Numbers: [783]
783,79 unequal: No Solution
Exploring Operation: 87-9=78, Resulting Numbers: [78]
78,79 unequal: No Solution
Exploring Operation: 87+9=96, Resulting Numbers: [96]
96,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 79:[95, 1], Operations: ['8+78=86', '87-86=1']
Exploring Operation: 95-1=94, Resulting Numbers: [94]
94,79 unequal: No Solution
Exploring Operation: 95*1=95, Resulting Numbers: [95]
95,79 unequal: No Solution
Exploring Operation: 95/1=95, Resulting Numbers: [95]
95,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,2
Current State: 79:[79, 17], Operations: ['87-8=79', '95-78=17']
Exploring Operation: 79-17=62, Resulting Numbers: [62]
62,79 unequal: No Solution
Exploring Operation: 79+17=96, Resulting Numbers: [96]
96,79 unequal: No Solution
Exploring Operation: 79*17=1343, Resulting Numbers: [1343]
1343,79 unequal: No Solution
Moving to Node #0,2,0
Current State: 79:[78, 16], Operations: ['87-8=79', '95-79=16']
Exploring Operation: 78-16=62, Resulting Numbers: [62]
62,79 unequal: No Solution
Exploring Operation: 78*16=1248, Resulting Numbers: [1248]
1248,79 unequal: No Solution
Exploring Operation: 78+16=94, Resulting Numbers: [94]
94,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[87, 9], Operations: ['95-8=87', '87-78=9']
Exploring Operation: 87-9=78, Resulting Numbers: [78]
78,79 unequal: No Solution
Exploring Operation: 87+9=96, Resulting Numbers: [96]
96,79 unequal: No Solution
Exploring Operation: 87*9=783, Resulting Numbers: [783]
783,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[87, 9], Operations: ['95-8=87', '87-78=9']
Exploring Operation: 87-9=78, Resulting Numbers: [78]
78,79 unequal: No Solution
Exploring Operation: 87*9=783, Resulting Numbers: [783]
783,79 unequal: No Solution
Exploring Operation: 87+9=96, Resulting Numbers: [96]
96,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[78, 1], Operations: ['95-8=87', '87/87=1']
Exploring Operation: 78+1=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[8, 87, 95, 78], Operations: []
Exploring Operation: 95-8=87, Resulting Numbers: [87, 78, 87]
Generated Node #0,1: 79:[87, 78, 87] Operation: 95-8=87
Moving to Node #0,1
Current State: 79:[87, 78, 87], Operations: ['95-8=87']
Exploring Operation: 87/87=1, Resulting Numbers: [78, 1]
Generated Node #0,1,2: 79:[78, 1] Operation: 87/87=1
Moving to Node #0,1,2
Current State: 79:[78, 1], Operations: ['95-8=87', '87/87=1']
Exploring Operation: 78+1=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 0.967014 | hs_3 | mult_heuristic |
[
22,
15,
70,
46
] | 38 | [
"22*46=1012",
"15*70=1050",
"1050-1012=38"
] | Current State: 38:[22, 15, 70, 46], Operations: []
Exploring Operation: 22*46=1012, Resulting Numbers: [15, 70, 1012]
Generated Node #2: [15, 70, 1012] from Operation: 22*46=1012
Current State: 38:[15, 70, 1012], Operations: ['22*46=1012']
Exploring Operation: 15*70=1050, Resulting Numbers: [1012, 1050]
Generated Node #3: [1012, 1050] from Operation: 15*70=1050
Current State: 38:[1012, 1050], Operations: ['22*46=1012', '15*70=1050']
Exploring Operation: 1050-1012=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[22, 15, 70, 46], Operations: []
Exploring Operation: 70-46=24, Resulting Numbers: [22, 15, 24]
Generated Node #0,0: 38:[22, 15, 24] Operation: 70-46=24
Exploring Operation: 70-22=48, Resulting Numbers: [15, 46, 48]
Generated Node #0,1: 38:[15, 46, 48] Operation: 70-22=48
Start Sub Search at level 1: Moving to Node #0,0
Current State: 38:[22, 15, 24], Operations: ['70-46=24']
Exploring Operation: 24-22=2, Resulting Numbers: [15, 2]
Generated Node #0,0,0: 38:[15, 2] Operation: 24-22=2
Exploring Operation: 15+24=39, Resulting Numbers: [22, 39]
Generated Node #0,0,1: 38:[22, 39] Operation: 15+24=39
Moving to Node #0,0,0
Current State: 38:[15, 2], Operations: ['70-46=24', '24-22=2']
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,38 unequal: No Solution
Exploring Operation: 15+2=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Moving to Node #0,0,1
Current State: 38:[22, 39], Operations: ['70-46=24', '15+24=39']
Exploring Operation: 22+39=61, Resulting Numbers: [61]
61,38 unequal: No Solution
Exploring Operation: 39-22=17, Resulting Numbers: [17]
17,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:[15, 46, 48], Operations: ['70-22=48']
Exploring Operation: 48-46=2, Resulting Numbers: [15, 2]
Generated Node #0,1,0: 38:[15, 2] Operation: 48-46=2
Exploring Operation: 48-15=33, Resulting Numbers: [46, 33]
Generated Node #0,1,1: 38:[46, 33] Operation: 48-15=33
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 38:[15, 2], Operations: ['70-22=48', '48-46=2']
Exploring Operation: 15+2=17, Resulting Numbers: [17]
17,38 unequal: No Solution
Exploring Operation: 15-2=13, Resulting Numbers: [13]
13,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 38:[46, 33], Operations: ['70-22=48', '48-15=33']
Exploring Operation: 46-33=13, Resulting Numbers: [13]
13,38 unequal: No Solution
Exploring Operation: 46+33=79, Resulting Numbers: [79]
79,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
12,
2,
74,
22
] | 53 | [
"74-12=62",
"62/2=31",
"22+31=53"
] | Current State: 53:[12, 2, 74, 22], Operations: []
Exploring Operation: 74-12=62, Resulting Numbers: [2, 22, 62]
Generated Node #2: [2, 22, 62] from Operation: 74-12=62
Current State: 53:[2, 22, 62], Operations: ['74-12=62']
Exploring Operation: 62/2=31, Resulting Numbers: [22, 31]
Generated Node #3: [22, 31] from Operation: 62/2=31
Current State: 53:[22, 31], Operations: ['74-12=62', '62/2=31']
Exploring Operation: 22+31=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[12, 2, 74, 22], Operations: []
Exploring Operation: 12*2=24, Resulting Numbers: [74, 22, 24]
Generated Node #0,0: 53:[74, 22, 24] Operation: 12*2=24
Exploring Operation: 12+2=14, Resulting Numbers: [74, 22, 14]
Generated Node #0,1: 53:[74, 22, 14] Operation: 12+2=14
Exploring Operation: 74/2=37, Resulting Numbers: [12, 22, 37]
Generated Node #0,2: 53:[12, 22, 37] Operation: 74/2=37
Exploring Operation: 2*22=44, Resulting Numbers: [12, 74, 44]
Generated Node #0,3: 53:[12, 74, 44] Operation: 2*22=44
Moving to Node #0,3
Current State: 53:[12, 74, 44], Operations: ['2*22=44']
Exploring Operation: 12+44=56, Resulting Numbers: [74, 56]
Generated Node #0,3,0: 53:[74, 56] Operation: 12+44=56
Exploring Operation: 12+74=86, Resulting Numbers: [44, 86]
Generated Node #0,3,1: 53:[44, 86] Operation: 12+74=86
Exploring Operation: 74-12=62, Resulting Numbers: [44, 62]
Generated Node #0,3,2: 53:[44, 62] Operation: 74-12=62
Exploring Operation: 44-12=32, Resulting Numbers: [74, 32]
Generated Node #0,3,3: 53:[74, 32] Operation: 44-12=32
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 53:[44, 62], Operations: ['2*22=44', '74-12=62']
Exploring Operation: 44*62=2728, Resulting Numbers: [2728]
2728,53 unequal: No Solution
Exploring Operation: 62-44=18, Resulting Numbers: [18]
18,53 unequal: No Solution
Exploring Operation: 44+62=106, Resulting Numbers: [106]
106,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 53:[74, 56], Operations: ['2*22=44', '12+44=56']
Exploring Operation: 74-56=18, Resulting Numbers: [18]
18,53 unequal: No Solution
Exploring Operation: 74*56=4144, Resulting Numbers: [4144]
4144,53 unequal: No Solution
Exploring Operation: 74+56=130, Resulting Numbers: [130]
130,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 53:[44, 86], Operations: ['2*22=44', '12+74=86']
Exploring Operation: 44+86=130, Resulting Numbers: [130]
130,53 unequal: No Solution
Exploring Operation: 86-44=42, Resulting Numbers: [42]
42,53 unequal: No Solution
Exploring Operation: 44*86=3784, Resulting Numbers: [3784]
3784,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 53:[74, 32], Operations: ['2*22=44', '44-12=32']
Exploring Operation: 74+32=106, Resulting Numbers: [106]
106,53 unequal: No Solution
Exploring Operation: 74*32=2368, Resulting Numbers: [2368]
2368,53 unequal: No Solution
Exploring Operation: 74-32=42, Resulting Numbers: [42]
42,53 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: 53:[74, 22, 24], Operations: ['12*2=24']
Exploring Operation: 74+22=96, Resulting Numbers: [24, 96]
Generated Node #0,0,0: 53:[24, 96] Operation: 74+22=96
Exploring Operation: 74-24=50, Resulting Numbers: [22, 50]
Generated Node #0,0,1: 53:[22, 50] Operation: 74-24=50
Exploring Operation: 22+24=46, Resulting Numbers: [74, 46]
Generated Node #0,0,2: 53:[74, 46] Operation: 22+24=46
Exploring Operation: 74-22=52, Resulting Numbers: [24, 52]
Generated Node #0,0,3: 53:[24, 52] Operation: 74-22=52
Moving to Node #0,2
Current State: 53:[12, 22, 37], Operations: ['74/2=37']
Exploring Operation: 22+37=59, Resulting Numbers: [12, 59]
Generated Node #0,2,0: 53:[12, 59] Operation: 22+37=59
Exploring Operation: 12+22=34, Resulting Numbers: [37, 34]
Generated Node #0,2,1: 53:[37, 34] Operation: 12+22=34
Exploring Operation: 22-12=10, Resulting Numbers: [37, 10]
Generated Node #0,2,2: 53:[37, 10] Operation: 22-12=10
Exploring Operation: 12+37=49, Resulting Numbers: [22, 49]
Generated Node #0,2,3: 53:[22, 49] Operation: 12+37=49
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 53:[37, 34], Operations: ['74/2=37', '12+22=34']
Exploring Operation: 37+34=71, Resulting Numbers: [71]
71,53 unequal: No Solution
Exploring Operation: 37*34=1258, Resulting Numbers: [1258]
1258,53 unequal: No Solution
Exploring Operation: 37-34=3, Resulting Numbers: [3]
3,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 53:[22, 49], Operations: ['74/2=37', '12+37=49']
Exploring Operation: 22*49=1078, Resulting Numbers: [1078]
1078,53 unequal: No Solution
Exploring Operation: 49-22=27, Resulting Numbers: [27]
27,53 unequal: No Solution
Exploring Operation: 22+49=71, Resulting Numbers: [71]
71,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 53:[12, 59], Operations: ['74/2=37', '22+37=59']
Exploring Operation: 12+59=71, Resulting Numbers: [71]
71,53 unequal: No Solution
Exploring Operation: 12*59=708, Resulting Numbers: [708]
708,53 unequal: No Solution
Exploring Operation: 59-12=47, Resulting Numbers: [47]
47,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 53:[37, 10], Operations: ['74/2=37', '22-12=10']
Exploring Operation: 37*10=370, Resulting Numbers: [370]
370,53 unequal: No Solution
Exploring Operation: 37+10=47, Resulting Numbers: [47]
47,53 unequal: No Solution
Exploring Operation: 37-10=27, Resulting Numbers: [27]
27,53 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: 53:[74, 22, 14], Operations: ['12+2=14']
Exploring Operation: 74+14=88, Resulting Numbers: [22, 88]
Generated Node #0,1,0: 53:[22, 88] Operation: 74+14=88
Exploring Operation: 74-22=52, Resulting Numbers: [14, 52]
Generated Node #0,1,1: 53:[14, 52] Operation: 74-22=52
Exploring Operation: 74-14=60, Resulting Numbers: [22, 60]
Generated Node #0,1,2: 53:[22, 60] Operation: 74-14=60
Exploring Operation: 22+14=36, Resulting Numbers: [74, 36]
Generated Node #0,1,3: 53:[74, 36] Operation: 22+14=36
Moving to Node #0,0,2
Current State: 53:[74, 46], Operations: ['12*2=24', '22+24=46']
Exploring Operation: 74-46=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Exploring Operation: 74+46=120, Resulting Numbers: [120]
120,53 unequal: No Solution
Exploring Operation: 74*46=3404, Resulting Numbers: [3404]
3404,53 unequal: No Solution
Moving to Node #0,0,3
Current State: 53:[24, 52], Operations: ['12*2=24', '74-22=52']
Exploring Operation: 24+52=76, Resulting Numbers: [76]
76,53 unequal: No Solution
Exploring Operation: 52-24=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Exploring Operation: 24*52=1248, Resulting Numbers: [1248]
1248,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[22, 50], Operations: ['12*2=24', '74-24=50']
Exploring Operation: 22*50=1100, Resulting Numbers: [1100]
1100,53 unequal: No Solution
Exploring Operation: 50-22=28, Resulting Numbers: [28]
28,53 unequal: No Solution
Exploring Operation: 22+50=72, Resulting Numbers: [72]
72,53 unequal: No Solution
Moving to Node #0,1,3
Current State: 53:[74, 36], Operations: ['12+2=14', '22+14=36']
Exploring Operation: 74*36=2664, Resulting Numbers: [2664]
2664,53 unequal: No Solution
Exploring Operation: 74-36=38, Resulting Numbers: [38]
38,53 unequal: No Solution
Exploring Operation: 74+36=110, Resulting Numbers: [110]
110,53 unequal: No Solution
Moving to Node #0,1,2
Current State: 53:[22, 60], Operations: ['12+2=14', '74-14=60']
Exploring Operation: 22*60=1320, Resulting Numbers: [1320]
1320,53 unequal: No Solution
Exploring Operation: 60-22=38, Resulting Numbers: [38]
38,53 unequal: No Solution
Exploring Operation: 22+60=82, Resulting Numbers: [82]
82,53 unequal: No Solution
Moving to Node #0,1,1
Current State: 53:[14, 52], Operations: ['12+2=14', '74-22=52']
Exploring Operation: 14*52=728, Resulting Numbers: [728]
728,53 unequal: No Solution
Exploring Operation: 52-14=38, Resulting Numbers: [38]
38,53 unequal: No Solution
Exploring Operation: 14+52=66, Resulting Numbers: [66]
66,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[22, 88], Operations: ['12+2=14', '74+14=88']
Exploring Operation: 22*88=1936, Resulting Numbers: [1936]
1936,53 unequal: No Solution
Exploring Operation: 88/22=4, Resulting Numbers: [4]
4,53 unequal: No Solution
Exploring Operation: 22+88=110, Resulting Numbers: [110]
110,53 unequal: No Solution
Exploring Operation: 88-22=66, Resulting Numbers: [66]
66,53 unequal: No Solution
Moving to Node #0,0,0
Current State: 53:[24, 96], Operations: ['12*2=24', '74+22=96']
Exploring Operation: 24*96=2304, Resulting Numbers: [2304]
2304,53 unequal: No Solution
Exploring Operation: 96/24=4, Resulting Numbers: [4]
4,53 unequal: No Solution
Exploring Operation: 96-24=72, Resulting Numbers: [72]
72,53 unequal: No Solution
Exploring Operation: 24+96=120, Resulting Numbers: [120]
120,53 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
34,
20,
39,
57
] | 36 | [
"34+20=54",
"57-39=18",
"54-18=36"
] | Current State: 36:[34, 20, 39, 57], Operations: []
Exploring Operation: 34+20=54, Resulting Numbers: [39, 57, 54]
Generated Node #2: [39, 57, 54] from Operation: 34+20=54
Current State: 36:[39, 57, 54], Operations: ['34+20=54']
Exploring Operation: 57-39=18, Resulting Numbers: [54, 18]
Generated Node #3: [54, 18] from Operation: 57-39=18
Current State: 36:[54, 18], Operations: ['34+20=54', '57-39=18']
Exploring Operation: 54-18=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[34, 20, 39, 57], Operations: []
Exploring Operation: 57-39=18, Resulting Numbers: [34, 20, 18]
Generated Node #0,0: 36:[34, 20, 18] Operation: 57-39=18
Exploring Operation: 39-34=5, Resulting Numbers: [20, 57, 5]
Generated Node #0,1: 36:[20, 57, 5] Operation: 39-34=5
Exploring Operation: 57-34=23, Resulting Numbers: [20, 39, 23]
Generated Node #0,2: 36:[20, 39, 23] Operation: 57-34=23
Exploring Operation: 57-20=37, Resulting Numbers: [34, 39, 37]
Generated Node #0,3: 36:[34, 39, 37] Operation: 57-20=37
Moving to Node #0,0
Current State: 36:[34, 20, 18], Operations: ['57-39=18']
Exploring Operation: 20-18=2, Resulting Numbers: [34, 2]
Generated Node #0,0,0: 36:[34, 2] Operation: 20-18=2
Exploring Operation: 20+18=38, Resulting Numbers: [34, 38]
Generated Node #0,0,1: 36:[34, 38] Operation: 20+18=38
Exploring Operation: 34-20=14, Resulting Numbers: [18, 14]
Generated Node #0,0,2: 36:[18, 14] Operation: 34-20=14
Exploring Operation: 34-18=16, Resulting Numbers: [20, 16]
Generated Node #0,0,3: 36:[20, 16] Operation: 34-18=16
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 36:[34, 2], Operations: ['57-39=18', '20-18=2']
Exploring Operation: 34+2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[34, 20, 39, 57], Operations: []
Exploring Operation: 57-39=18, Resulting Numbers: [34, 20, 18]
Generated Node #0,0: 36:[34, 20, 18] Operation: 57-39=18
Moving to Node #0,0
Current State: 36:[34, 20, 18], Operations: ['57-39=18']
Exploring Operation: 20-18=2, Resulting Numbers: [34, 2]
Generated Node #0,0,0: 36:[34, 2] Operation: 20-18=2
Moving to Node #0,0,0
Current State: 36:[34, 2], Operations: ['57-39=18', '20-18=2']
Exploring Operation: 34+2=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
19,
64,
95,
69
] | 81 | [
"19+64=83",
"95+69=164",
"164-83=81"
] | Current State: 81:[19, 64, 95, 69], Operations: []
Exploring Operation: 19+64=83, Resulting Numbers: [95, 69, 83]
Generated Node #2: [95, 69, 83] from Operation: 19+64=83
Current State: 81:[95, 69, 83], Operations: ['19+64=83']
Exploring Operation: 95+69=164, Resulting Numbers: [83, 164]
Generated Node #3: [83, 164] from Operation: 95+69=164
Current State: 81:[83, 164], Operations: ['19+64=83', '95+69=164']
Exploring Operation: 164-83=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[19, 64, 95, 69], Operations: []
Exploring Operation: 69-64=5, Resulting Numbers: [19, 95, 5]
Generated Node #0,0: 81:[19, 95, 5] Operation: 69-64=5
Exploring Operation: 95-69=26, Resulting Numbers: [19, 64, 26]
Generated Node #0,1: 81:[19, 64, 26] Operation: 95-69=26
Exploring Operation: 95/19=5, Resulting Numbers: [64, 69, 5]
Generated Node #0,2: 81:[64, 69, 5] Operation: 95/19=5
Exploring Operation: 95-64=31, Resulting Numbers: [19, 69, 31]
Generated Node #0,3: 81:[19, 69, 31] Operation: 95-64=31
Exploring Operation: 19+64=83, Resulting Numbers: [95, 69, 83]
Generated Node #0,4: 81:[95, 69, 83] Operation: 19+64=83
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[19, 95, 5], Operations: ['69-64=5']
Exploring Operation: 95/5=19, Resulting Numbers: [19, 19]
Generated Node #0,0,0: 81:[19, 19] Operation: 95/5=19
Exploring Operation: 19+5=24, Resulting Numbers: [95, 24]
Generated Node #0,0,1: 81:[95, 24] Operation: 19+5=24
Exploring Operation: 95-5=90, Resulting Numbers: [19, 90]
Generated Node #0,0,2: 81:[19, 90] Operation: 95-5=90
Exploring Operation: 95-19=76, Resulting Numbers: [5, 76]
Generated Node #0,0,3: 81:[5, 76] Operation: 95-19=76
Exploring Operation: 95/19=5, Resulting Numbers: [5, 5]
Generated Node #0,0,4: 81:[5, 5] Operation: 95/19=5
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 81:[5, 5], Operations: ['69-64=5', '95/19=5']
Exploring Operation: 5*5=25, Resulting Numbers: [25]
25,81 unequal: No Solution
Exploring Operation: 5-5=0, Resulting Numbers: [0]
0,81 unequal: No Solution
Exploring Operation: 5/5=1, Resulting Numbers: [1]
1,81 unequal: No Solution
Exploring Operation: 5+5=10, Resulting Numbers: [10]
10,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 81:[5, 76], Operations: ['69-64=5', '95-19=76']
Exploring Operation: 76-5=71, Resulting Numbers: [71]
71,81 unequal: No Solution
Exploring Operation: 5+76=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[19, 64, 95, 69], Operations: []
Exploring Operation: 69-64=5, Resulting Numbers: [19, 95, 5]
Generated Node #0,0: 81:[19, 95, 5] Operation: 69-64=5
Moving to Node #0,0
Current State: 81:[19, 95, 5], Operations: ['69-64=5']
Exploring Operation: 95-19=76, Resulting Numbers: [5, 76]
Generated Node #0,0,3: 81:[5, 76] Operation: 95-19=76
Moving to Node #0,0,3
Current State: 81:[5, 76], Operations: ['69-64=5', '95-19=76']
Exploring Operation: 5+76=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
62,
33,
65,
44
] | 80 | [
"62-33=29",
"65+44=109",
"109-29=80"
] | Current State: 80:[62, 33, 65, 44], Operations: []
Exploring Operation: 62-33=29, Resulting Numbers: [65, 44, 29]
Generated Node #2: [65, 44, 29] from Operation: 62-33=29
Current State: 80:[65, 44, 29], Operations: ['62-33=29']
Exploring Operation: 65+44=109, Resulting Numbers: [29, 109]
Generated Node #3: [29, 109] from Operation: 65+44=109
Current State: 80:[29, 109], Operations: ['62-33=29', '65+44=109']
Exploring Operation: 109-29=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[62, 33, 65, 44], Operations: []
Exploring Operation: 65-62=3, Resulting Numbers: [33, 44, 3]
Generated Node #0,0: 80:[33, 44, 3] Operation: 65-62=3
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[33, 44, 3], Operations: ['65-62=3']
Exploring Operation: 44-33=11, Resulting Numbers: [3, 11]
Generated Node #0,0,0: 80:[3, 11] Operation: 44-33=11
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 80:[3, 11], Operations: ['65-62=3', '44-33=11']
Exploring Operation: 11-3=8, Resulting Numbers: [8]
8,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
72,
46,
11,
56
] | 72 | [
"46+11=57",
"57-56=1",
"72*1=72"
] | Current State: 72:[72, 46, 11, 56], Operations: []
Exploring Operation: 46+11=57, Resulting Numbers: [72, 56, 57]
Generated Node #2: [72, 56, 57] from Operation: 46+11=57
Current State: 72:[72, 56, 57], Operations: ['46+11=57']
Exploring Operation: 57-56=1, Resulting Numbers: [72, 1]
Generated Node #3: [72, 1] from Operation: 57-56=1
Current State: 72:[72, 1], Operations: ['46+11=57', '57-56=1']
Exploring Operation: 72*1=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[72, 46, 11, 56], Operations: []
Exploring Operation: 56-46=10, Resulting Numbers: [72, 11, 10]
Generated Node #0,0: 72:[72, 11, 10] Operation: 56-46=10
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[72, 11, 10], Operations: ['56-46=10']
Exploring Operation: 11-10=1, Resulting Numbers: [72, 1]
Generated Node #0,0,0: 72:[72, 1] Operation: 11-10=1
Moving to Node #0,0,0
Current State: 72:[72, 1], Operations: ['56-46=10', '11-10=1']
Exploring Operation: 72*1=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Moving to Node #0
Current State: 72:[72, 46, 11, 56], Operations: []
Exploring Operation: 56-46=10, Resulting Numbers: [72, 11, 10]
Generated Node #0,0: 72:[72, 11, 10] Operation: 56-46=10
Moving to Node #0,0
Current State: 72:[72, 11, 10], Operations: ['56-46=10']
Exploring Operation: 11-10=1, Resulting Numbers: [72, 1]
Generated Node #0,0,0: 72:[72, 1] Operation: 11-10=1
Moving to Node #0,0,0
Current State: 72:[72, 1], Operations: ['56-46=10', '11-10=1']
Exploring Operation: 72*1=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
88,
22,
32,
11
] | 76 | [
"88/22=4",
"11*4=44",
"32+44=76"
] | Current State: 76:[88, 22, 32, 11], Operations: []
Exploring Operation: 88/22=4, Resulting Numbers: [32, 11, 4]
Generated Node #2: [32, 11, 4] from Operation: 88/22=4
Current State: 76:[32, 11, 4], Operations: ['88/22=4']
Exploring Operation: 11*4=44, Resulting Numbers: [32, 44]
Generated Node #3: [32, 44] from Operation: 11*4=44
Current State: 76:[32, 44], Operations: ['88/22=4', '11*4=44']
Exploring Operation: 32+44=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[88, 22, 32, 11], Operations: []
Exploring Operation: 88-11=77, Resulting Numbers: [22, 32, 77]
Generated Node #0,0: 76:[22, 32, 77] Operation: 88-11=77
Moving to Node #0,0
Current State: 76:[22, 32, 77], Operations: ['88-11=77']
Exploring Operation: 32-22=10, Resulting Numbers: [77, 10]
Generated Node #0,0,0: 76:[77, 10] Operation: 32-22=10
Moving to Node #0,0,0
Current State: 76:[77, 10], Operations: ['88-11=77', '32-22=10']
Exploring Operation: 77-10=67, Resulting Numbers: [67]
67,76 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
2,
11,
32,
9
] | 44 | [
"2*32=64",
"11+9=20",
"64-20=44"
] | Current State: 44:[2, 11, 32, 9], Operations: []
Exploring Operation: 2*32=64, Resulting Numbers: [11, 9, 64]
Generated Node #2: [11, 9, 64] from Operation: 2*32=64
Current State: 44:[11, 9, 64], Operations: ['2*32=64']
Exploring Operation: 11+9=20, Resulting Numbers: [64, 20]
Generated Node #3: [64, 20] from Operation: 11+9=20
Current State: 44:[64, 20], Operations: ['2*32=64', '11+9=20']
Exploring Operation: 64-20=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[2, 11, 32, 9], Operations: []
Exploring Operation: 32-11=21, Resulting Numbers: [2, 9, 21]
Generated Node #0,0: 44:[2, 9, 21] Operation: 32-11=21
Exploring Operation: 11+32=43, Resulting Numbers: [2, 9, 43]
Generated Node #0,1: 44:[2, 9, 43] Operation: 11+32=43
Exploring Operation: 32-9=23, Resulting Numbers: [2, 11, 23]
Generated Node #0,2: 44:[2, 11, 23] Operation: 32-9=23
Start Sub Search at level 1: Moving to Node #0,2
Current State: 44:[2, 11, 23], Operations: ['32-9=23']
Exploring Operation: 23-11=12, Resulting Numbers: [2, 12]
Generated Node #0,2,0: 44:[2, 12] Operation: 23-11=12
Exploring Operation: 23-2=21, Resulting Numbers: [11, 21]
Generated Node #0,2,1: 44:[11, 21] Operation: 23-2=21
Exploring Operation: 2*11=22, Resulting Numbers: [23, 22]
Generated Node #0,2,2: 44:[23, 22] Operation: 2*11=22
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 44:[2, 12], Operations: ['32-9=23', '23-11=12']
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,44 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,44 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,44 unequal: No Solution
No 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: 44:[11, 21], Operations: ['32-9=23', '23-2=21']
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,44 unequal: No Solution
Exploring Operation: 11*21=231, Resulting Numbers: [231]
231,44 unequal: No Solution
Exploring Operation: 11+21=32, Resulting Numbers: [32]
32,44 unequal: No Solution
No 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: 44:[23, 22], Operations: ['32-9=23', '2*11=22']
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,44 unequal: No Solution
Exploring Operation: 23+22=45, Resulting Numbers: [45]
45,44 unequal: No Solution
Exploring Operation: 23*22=506, Resulting Numbers: [506]
506,44 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: 44:[2, 9, 21], Operations: ['32-11=21']
Exploring Operation: 2+21=23, Resulting Numbers: [9, 23]
Generated Node #0,0,0: 44:[9, 23] Operation: 2+21=23
Exploring Operation: 2+9=11, Resulting Numbers: [21, 11]
Generated Node #0,0,1: 44:[21, 11] Operation: 2+9=11
Exploring Operation: 21-9=12, Resulting Numbers: [2, 12]
Generated Node #0,0,2: 44:[2, 12] Operation: 21-9=12
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 44:[21, 11], Operations: ['32-11=21', '2+9=11']
Exploring Operation: 21+11=32, Resulting Numbers: [32]
32,44 unequal: No Solution
Exploring Operation: 21*11=231, Resulting Numbers: [231]
231,44 unequal: No Solution
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,44 unequal: No Solution
No 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: 44:[2, 12], Operations: ['32-11=21', '21-9=12']
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,44 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,44 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,44 unequal: No Solution
No 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: 44:[9, 23], Operations: ['32-11=21', '2+21=23']
Exploring Operation: 9+23=32, Resulting Numbers: [32]
32,44 unequal: No Solution
Exploring Operation: 23-9=14, Resulting Numbers: [14]
14,44 unequal: No Solution
Exploring Operation: 9*23=207, Resulting Numbers: [207]
207,44 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: 44:[2, 9, 43], Operations: ['11+32=43']
Exploring Operation: 2+9=11, Resulting Numbers: [43, 11]
Generated Node #0,1,0: 44:[43, 11] Operation: 2+9=11
Exploring Operation: 2+43=45, Resulting Numbers: [9, 45]
Generated Node #0,1,1: 44:[9, 45] Operation: 2+43=45
Exploring Operation: 9-2=7, Resulting Numbers: [43, 7]
Generated Node #0,1,2: 44:[43, 7] Operation: 9-2=7
Moving to Node #0,1,0
Current State: 44:[43, 11], Operations: ['11+32=43', '2+9=11']
Exploring Operation: 43*11=473, Resulting Numbers: [473]
473,44 unequal: No Solution
Exploring Operation: 43+11=54, Resulting Numbers: [54]
54,44 unequal: No Solution
Exploring Operation: 43-11=32, Resulting Numbers: [32]
32,44 unequal: No Solution
Moving to Node #0,1,1
Current State: 44:[9, 45], Operations: ['11+32=43', '2+43=45']
Exploring Operation: 45-9=36, Resulting Numbers: [36]
36,44 unequal: No Solution
Exploring Operation: 9+45=54, Resulting Numbers: [54]
54,44 unequal: No Solution
Exploring Operation: 45/9=5, Resulting Numbers: [5]
5,44 unequal: No Solution
Moving to Node #0,1,2
Current State: 44:[43, 7], Operations: ['11+32=43', '9-2=7']
Exploring Operation: 43*7=301, Resulting Numbers: [301]
301,44 unequal: No Solution
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,44 unequal: No Solution
Exploring Operation: 43+7=50, Resulting Numbers: [50]
50,44 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,
43,
23,
76
] | 12 | [
"43-2=41",
"76-23=53",
"53-41=12"
] | Current State: 12:[2, 43, 23, 76], Operations: []
Exploring Operation: 43-2=41, Resulting Numbers: [23, 76, 41]
Generated Node #2: [23, 76, 41] from Operation: 43-2=41
Current State: 12:[23, 76, 41], Operations: ['43-2=41']
Exploring Operation: 76-23=53, Resulting Numbers: [41, 53]
Generated Node #3: [41, 53] from Operation: 76-23=53
Current State: 12:[41, 53], Operations: ['43-2=41', '76-23=53']
Exploring Operation: 53-41=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[2, 43, 23, 76], Operations: []
Exploring Operation: 76-43=33, Resulting Numbers: [2, 23, 33]
Generated Node #0,0: 12:[2, 23, 33] Operation: 76-43=33
Exploring Operation: 76/2=38, Resulting Numbers: [43, 23, 38]
Generated Node #0,1: 12:[43, 23, 38] Operation: 76/2=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[2, 23, 33], Operations: ['76-43=33']
Exploring Operation: 33-23=10, Resulting Numbers: [2, 10]
Generated Node #0,0,0: 12:[2, 10] Operation: 33-23=10
Exploring Operation: 23-2=21, Resulting Numbers: [33, 21]
Generated Node #0,0,1: 12:[33, 21] Operation: 23-2=21
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 12:[2, 10], Operations: ['76-43=33', '33-23=10']
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[2, 43, 23, 76], Operations: []
Exploring Operation: 76-43=33, Resulting Numbers: [2, 23, 33]
Generated Node #0,0: 12:[2, 23, 33] Operation: 76-43=33
Moving to Node #0,0
Current State: 12:[2, 23, 33], Operations: ['76-43=33']
Exploring Operation: 33-23=10, Resulting Numbers: [2, 10]
Generated Node #0,0,0: 12:[2, 10] Operation: 33-23=10
Moving to Node #0,0,0
Current State: 12:[2, 10], Operations: ['76-43=33', '33-23=10']
Exploring Operation: 2+10=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
27,
34,
74,
50
] | 46 | [
"34+74=108",
"108/27=4",
"50-4=46"
] | Current State: 46:[27, 34, 74, 50], Operations: []
Exploring Operation: 34+74=108, Resulting Numbers: [27, 50, 108]
Generated Node #2: [27, 50, 108] from Operation: 34+74=108
Current State: 46:[27, 50, 108], Operations: ['34+74=108']
Exploring Operation: 108/27=4, Resulting Numbers: [50, 4]
Generated Node #3: [50, 4] from Operation: 108/27=4
Current State: 46:[50, 4], Operations: ['34+74=108', '108/27=4']
Exploring Operation: 50-4=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[27, 34, 74, 50], Operations: []
Exploring Operation: 74-50=24, Resulting Numbers: [27, 34, 24]
Generated Node #0,0: 46:[27, 34, 24] Operation: 74-50=24
Exploring Operation: 74-27=47, Resulting Numbers: [34, 50, 47]
Generated Node #0,1: 46:[34, 50, 47] Operation: 74-27=47
Exploring Operation: 74-34=40, Resulting Numbers: [27, 50, 40]
Generated Node #0,2: 46:[27, 50, 40] Operation: 74-34=40
Exploring Operation: 50-27=23, Resulting Numbers: [34, 74, 23]
Generated Node #0,3: 46:[34, 74, 23] Operation: 50-27=23
Exploring Operation: 34-27=7, Resulting Numbers: [74, 50, 7]
Generated Node #0,4: 46:[74, 50, 7] Operation: 34-27=7
Start Sub Search at level 1: Moving to Node #0,2
Current State: 46:[27, 50, 40], Operations: ['74-34=40']
Exploring Operation: 27+50=77, Resulting Numbers: [40, 77]
Generated Node #0,2,0: 46:[40, 77] Operation: 27+50=77
Exploring Operation: 50-40=10, Resulting Numbers: [27, 10]
Generated Node #0,2,1: 46:[27, 10] Operation: 50-40=10
Exploring Operation: 40-27=13, Resulting Numbers: [50, 13]
Generated Node #0,2,2: 46:[50, 13] Operation: 40-27=13
Exploring Operation: 27+40=67, Resulting Numbers: [50, 67]
Generated Node #0,2,3: 46:[50, 67] Operation: 27+40=67
Exploring Operation: 50-27=23, Resulting Numbers: [40, 23]
Generated Node #0,2,4: 46:[40, 23] Operation: 50-27=23
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 46:[40, 23], Operations: ['74-34=40', '50-27=23']
Exploring Operation: 40*23=920, Resulting Numbers: [920]
920,46 unequal: No Solution
Exploring Operation: 40-23=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Exploring Operation: 40+23=63, Resulting Numbers: [63]
63,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:[27, 10], Operations: ['74-34=40', '50-40=10']
Exploring Operation: 27+10=37, Resulting Numbers: [37]
37,46 unequal: No Solution
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Exploring Operation: 27*10=270, Resulting Numbers: [270]
270,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:[50, 13], Operations: ['74-34=40', '40-27=13']
Exploring Operation: 50*13=650, Resulting Numbers: [650]
650,46 unequal: No Solution
Exploring Operation: 50+13=63, Resulting Numbers: [63]
63,46 unequal: No Solution
Exploring Operation: 50-13=37, Resulting Numbers: [37]
37,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,3
Current State: 46:[50, 67], Operations: ['74-34=40', '27+40=67']
Exploring Operation: 50+67=117, Resulting Numbers: [117]
117,46 unequal: No Solution
Exploring Operation: 67-50=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Exploring Operation: 50*67=3350, Resulting Numbers: [3350]
3350,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:[40, 77], Operations: ['74-34=40', '27+50=77']
Exploring Operation: 40*77=3080, Resulting Numbers: [3080]
3080,46 unequal: No Solution
Exploring Operation: 40+77=117, Resulting Numbers: [117]
117,46 unequal: No Solution
Exploring Operation: 77-40=37, Resulting Numbers: [37]
37,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:[27, 34, 24], Operations: ['74-50=24']
Exploring Operation: 34-27=7, Resulting Numbers: [24, 7]
Generated Node #0,0,0: 46:[24, 7] Operation: 34-27=7
Exploring Operation: 27-24=3, Resulting Numbers: [34, 3]
Generated Node #0,0,1: 46:[34, 3] Operation: 27-24=3
Exploring Operation: 27+24=51, Resulting Numbers: [34, 51]
Generated Node #0,0,2: 46:[34, 51] Operation: 27+24=51
Exploring Operation: 34-24=10, Resulting Numbers: [27, 10]
Generated Node #0,0,3: 46:[27, 10] Operation: 34-24=10
Exploring Operation: 27+34=61, Resulting Numbers: [24, 61]
Generated Node #0,0,4: 46:[24, 61] Operation: 27+34=61
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 46:[24, 7], Operations: ['74-50=24', '34-27=7']
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Exploring Operation: 24+7=31, Resulting Numbers: [31]
31,46 unequal: No Solution
Exploring Operation: 24*7=168, Resulting Numbers: [168]
168,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,0,1
Current State: 46:[34, 3], Operations: ['74-50=24', '27-24=3']
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,46 unequal: No Solution
Exploring Operation: 34*3=102, Resulting Numbers: [102]
102,46 unequal: No Solution
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,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,0,3
Current State: 46:[27, 10], Operations: ['74-50=24', '34-24=10']
Exploring Operation: 27+10=37, Resulting Numbers: [37]
37,46 unequal: No Solution
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Exploring Operation: 27*10=270, Resulting Numbers: [270]
270,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,0,2
Current State: 46:[34, 51], Operations: ['74-50=24', '27+24=51']
Exploring Operation: 51-34=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Exploring Operation: 34+51=85, Resulting Numbers: [85]
85,46 unequal: No Solution
Exploring Operation: 34*51=1734, Resulting Numbers: [1734]
1734,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,0,4
Current State: 46:[24, 61], Operations: ['74-50=24', '27+34=61']
Exploring Operation: 24*61=1464, Resulting Numbers: [1464]
1464,46 unequal: No Solution
Exploring Operation: 61-24=37, Resulting Numbers: [37]
37,46 unequal: No Solution
Exploring Operation: 24+61=85, Resulting Numbers: [85]
85,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:[34, 50, 47], Operations: ['74-27=47']
Exploring Operation: 50-34=16, Resulting Numbers: [47, 16]
Generated Node #0,1,0: 46:[47, 16] Operation: 50-34=16
Exploring Operation: 47-34=13, Resulting Numbers: [50, 13]
Generated Node #0,1,1: 46:[50, 13] Operation: 47-34=13
Exploring Operation: 34+50=84, Resulting Numbers: [47, 84]
Generated Node #0,1,2: 46:[47, 84] Operation: 34+50=84
Exploring Operation: 50-47=3, Resulting Numbers: [34, 3]
Generated Node #0,1,3: 46:[34, 3] Operation: 50-47=3
Exploring Operation: 34+47=81, Resulting Numbers: [50, 81]
Generated Node #0,1,4: 46:[50, 81] Operation: 34+47=81
Moving to Node #0,1,0
Current State: 46:[47, 16], Operations: ['74-27=47', '50-34=16']
Exploring Operation: 47*16=752, Resulting Numbers: [752]
752,46 unequal: No Solution
Exploring Operation: 47-16=31, Resulting Numbers: [31]
31,46 unequal: No Solution
Exploring Operation: 47+16=63, Resulting Numbers: [63]
63,46 unequal: No Solution
Moving to Node #0,1,3
Current State: 46:[34, 3], Operations: ['74-27=47', '50-47=3']
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,46 unequal: No Solution
Exploring Operation: 34*3=102, Resulting Numbers: [102]
102,46 unequal: No Solution
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,46 unequal: No Solution
Moving to Node #0,1,1
Current State: 46:[50, 13], Operations: ['74-27=47', '47-34=13']
Exploring Operation: 50-13=37, Resulting Numbers: [37]
37,46 unequal: No Solution
Exploring Operation: 50*13=650, Resulting Numbers: [650]
650,46 unequal: No Solution
Exploring Operation: 50+13=63, Resulting Numbers: [63]
63,46 unequal: No Solution
Moving to Node #0,1,2
Current State: 46:[47, 84], Operations: ['74-27=47', '34+50=84']
Exploring Operation: 47*84=3948, Resulting Numbers: [3948]
3948,46 unequal: No Solution
Exploring Operation: 84-47=37, Resulting Numbers: [37]
37,46 unequal: No Solution
Exploring Operation: 47+84=131, Resulting Numbers: [131]
131,46 unequal: No Solution
Moving to Node #0,1,4
Current State: 46:[50, 81], Operations: ['74-27=47', '34+47=81']
Exploring Operation: 50*81=4050, Resulting Numbers: [4050]
4050,46 unequal: No Solution
Exploring Operation: 50+81=131, Resulting Numbers: [131]
131,46 unequal: No Solution
Exploring Operation: 81-50=31, Resulting Numbers: [31]
31,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,4
Current State: 46:[74, 50, 7], Operations: ['34-27=7']
Exploring Operation: 74-50=24, Resulting Numbers: [7, 24]
Generated Node #0,4,0: 46:[7, 24] Operation: 74-50=24
Exploring Operation: 74+7=81, Resulting Numbers: [50, 81]
Generated Node #0,4,1: 46:[50, 81] Operation: 74+7=81
Exploring Operation: 74-7=67, Resulting Numbers: [50, 67]
Generated Node #0,4,2: 46:[50, 67] Operation: 74-7=67
Exploring Operation: 50-7=43, Resulting Numbers: [74, 43]
Generated Node #0,4,3: 46:[74, 43] Operation: 50-7=43
Exploring Operation: 50+7=57, Resulting Numbers: [74, 57]
Generated Node #0,4,4: 46:[74, 57] Operation: 50+7=57
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 46:[7, 24], Operations: ['34-27=7', '74-50=24']
Exploring Operation: 7+24=31, Resulting Numbers: [31]
31,46 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Exploring Operation: 7*24=168, Resulting Numbers: [168]
168,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,4,2
Current State: 46:[50, 67], Operations: ['34-27=7', '74-7=67']
Exploring Operation: 50+67=117, Resulting Numbers: [117]
117,46 unequal: No Solution
Exploring Operation: 50*67=3350, Resulting Numbers: [3350]
3350,46 unequal: No Solution
Exploring Operation: 67-50=17, Resulting Numbers: [17]
17,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,4,3
Current State: 46:[74, 43], Operations: ['34-27=7', '50-7=43']
Exploring Operation: 74-43=31, Resulting Numbers: [31]
31,46 unequal: No Solution
Exploring Operation: 74*43=3182, Resulting Numbers: [3182]
3182,46 unequal: No Solution
Exploring Operation: 74+43=117, Resulting Numbers: [117]
117,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,4,1
Current State: 46:[50, 81], Operations: ['34-27=7', '74+7=81']
Exploring Operation: 50*81=4050, Resulting Numbers: [4050]
4050,46 unequal: No Solution
Exploring Operation: 50+81=131, Resulting Numbers: [131]
131,46 unequal: No Solution
Exploring Operation: 81-50=31, Resulting Numbers: [31]
31,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,4,4
Current State: 46:[74, 57], Operations: ['34-27=7', '50+7=57']
Exploring Operation: 74-57=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Exploring Operation: 74*57=4218, Resulting Numbers: [4218]
4218,46 unequal: No Solution
Exploring Operation: 74+57=131, Resulting Numbers: [131]
131,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,3
Current State: 46:[34, 74, 23], Operations: ['50-27=23']
Exploring Operation: 74-23=51, Resulting Numbers: [34, 51]
Generated Node #0,3,0: 46:[34, 51] Operation: 74-23=51
Exploring Operation: 74-34=40, Resulting Numbers: [23, 40]
Generated Node #0,3,1: 46:[23, 40] Operation: 74-34=40
Exploring Operation: 34+74=108, Resulting Numbers: [23, 108]
Generated Node #0,3,2: 46:[23, 108] Operation: 34+74=108
Exploring Operation: 34-23=11, Resulting Numbers: [74, 11]
Generated Node #0,3,3: 46:[74, 11] Operation: 34-23=11
Exploring Operation: 34+23=57, Resulting Numbers: [74, 57]
Generated Node #0,3,4: 46:[74, 57] Operation: 34+23=57
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 46:[23, 40], Operations: ['50-27=23', '74-34=40']
Exploring Operation: 23*40=920, Resulting Numbers: [920]
920,46 unequal: No Solution
Exploring Operation: 23+40=63, Resulting Numbers: [63]
63,46 unequal: No Solution
Exploring Operation: 40-23=17, Resulting Numbers: [17]
17,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:[34, 51], Operations: ['50-27=23', '74-23=51']
Exploring Operation: 34+51=85, Resulting Numbers: [85]
85,46 unequal: No Solution
Exploring Operation: 51-34=17, Resulting Numbers: [17]
17,46 unequal: No Solution
Exploring Operation: 34*51=1734, Resulting Numbers: [1734]
1734,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,3
Current State: 46:[74, 11], Operations: ['50-27=23', '34-23=11']
Exploring Operation: 74+11=85, Resulting Numbers: [85]
85,46 unequal: No Solution
Exploring Operation: 74*11=814, Resulting Numbers: [814]
814,46 unequal: No Solution
Exploring Operation: 74-11=63, Resulting Numbers: [63]
63,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,4
Current State: 46:[74, 57], Operations: ['50-27=23', '34+23=57']
Exploring Operation: 74+57=131, Resulting Numbers: [131]
131,46 unequal: No Solution
Exploring Operation: 74*57=4218, Resulting Numbers: [4218]
4218,46 unequal: No Solution
Exploring Operation: 74-57=17, Resulting Numbers: [17]
17,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:[23, 108], Operations: ['50-27=23', '34+74=108']
Exploring Operation: 23+108=131, Resulting Numbers: [131]
131,46 unequal: No Solution
Exploring Operation: 23*108=2484, Resulting Numbers: [2484]
2484,46 unequal: No Solution
Exploring Operation: 108-23=85, Resulting Numbers: [85]
85,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
No solution found.
| 0 | hs_5 | sum_heuristic |
[
52,
8,
5,
2
] | 46 | [
"8*5=40",
"52+40=92",
"92/2=46"
] | Current State: 46:[52, 8, 5, 2], Operations: []
Exploring Operation: 8*5=40, Resulting Numbers: [52, 2, 40]
Generated Node #2: [52, 2, 40] from Operation: 8*5=40
Current State: 46:[52, 2, 40], Operations: ['8*5=40']
Exploring Operation: 52+40=92, Resulting Numbers: [2, 92]
Generated Node #3: [2, 92] from Operation: 52+40=92
Current State: 46:[2, 92], Operations: ['8*5=40', '52+40=92']
Exploring Operation: 92/2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[52, 8, 5, 2], Operations: []
Exploring Operation: 8-5=3, Resulting Numbers: [52, 2, 3]
Generated Node #0,0: 46:[52, 2, 3] Operation: 8-5=3
Exploring Operation: 52-5=47, Resulting Numbers: [8, 2, 47]
Generated Node #0,1: 46:[8, 2, 47] Operation: 52-5=47
Exploring Operation: 52-8=44, Resulting Numbers: [5, 2, 44]
Generated Node #0,2: 46:[5, 2, 44] Operation: 52-8=44
Start Sub Search at level 1: Moving to Node #0,2
Current State: 46:[5, 2, 44], Operations: ['52-8=44']
Exploring Operation: 2+44=46, Resulting Numbers: [5, 46]
Generated Node #0,2,0: 46:[5, 46] Operation: 2+44=46
Exploring Operation: 5+44=49, Resulting Numbers: [2, 49]
Generated Node #0,2,1: 46:[2, 49] Operation: 5+44=49
Exploring Operation: 5-2=3, Resulting Numbers: [44, 3]
Generated Node #0,2,2: 46:[44, 3] Operation: 5-2=3
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 46:[5, 46], Operations: ['52-8=44', '2+44=46']
Exploring Operation: 5+46=51, Resulting Numbers: [51]
51,46 unequal: No Solution
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,46 unequal: No Solution
Exploring Operation: 5*46=230, Resulting Numbers: [230]
230,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:[2, 49], Operations: ['52-8=44', '5+44=49']
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,46 unequal: No Solution
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,46 unequal: No Solution
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,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:[44, 3], Operations: ['52-8=44', '5-2=3']
Exploring Operation: 44-3=41, Resulting Numbers: [41]
41,46 unequal: No Solution
Exploring Operation: 44*3=132, Resulting Numbers: [132]
132,46 unequal: No Solution
Exploring Operation: 44+3=47, Resulting Numbers: [47]
47,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:[52, 2, 3], Operations: ['8-5=3']
Exploring Operation: 52-2=50, Resulting Numbers: [3, 50]
Generated Node #0,0,0: 46:[3, 50] Operation: 52-2=50
Exploring Operation: 52-3=49, Resulting Numbers: [2, 49]
Generated Node #0,0,1: 46:[2, 49] Operation: 52-3=49
Exploring Operation: 52/2=26, Resulting Numbers: [3, 26]
Generated Node #0,0,2: 46:[3, 26] Operation: 52/2=26
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 46:[2, 49], Operations: ['8-5=3', '52-3=49']
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,46 unequal: No Solution
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,46 unequal: No Solution
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,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,0,2
Current State: 46:[3, 26], Operations: ['8-5=3', '52/2=26']
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,46 unequal: No Solution
Exploring Operation: 3+26=29, Resulting Numbers: [29]
29,46 unequal: No Solution
Exploring Operation: 3*26=78, Resulting Numbers: [78]
78,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,0,0
Current State: 46:[3, 50], Operations: ['8-5=3', '52-2=50']
Exploring Operation: 3+50=53, Resulting Numbers: [53]
53,46 unequal: No Solution
Exploring Operation: 3*50=150, Resulting Numbers: [150]
150,46 unequal: No Solution
Exploring Operation: 50-3=47, Resulting Numbers: [47]
47,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:[8, 2, 47], Operations: ['52-5=47']
Exploring Operation: 47-8=39, Resulting Numbers: [2, 39]
Generated Node #0,1,0: 46:[2, 39] Operation: 47-8=39
Exploring Operation: 8/2=4, Resulting Numbers: [47, 4]
Generated Node #0,1,1: 46:[47, 4] Operation: 8/2=4
Exploring Operation: 8-2=6, Resulting Numbers: [47, 6]
Generated Node #0,1,2: 46:[47, 6] Operation: 8-2=6
Moving to Node #0,1,1
Current State: 46:[47, 4], Operations: ['52-5=47', '8/2=4']
Exploring Operation: 47-4=43, Resulting Numbers: [43]
43,46 unequal: No Solution
Exploring Operation: 47+4=51, Resulting Numbers: [51]
51,46 unequal: No Solution
Exploring Operation: 47*4=188, Resulting Numbers: [188]
188,46 unequal: No Solution
Moving to Node #0,1,2
Current State: 46:[47, 6], Operations: ['52-5=47', '8-2=6']
Exploring Operation: 47+6=53, Resulting Numbers: [53]
53,46 unequal: No Solution
Exploring Operation: 47*6=282, Resulting Numbers: [282]
282,46 unequal: No Solution
Exploring Operation: 47-6=41, Resulting Numbers: [41]
41,46 unequal: No Solution
Moving to Node #0,1,0
Current State: 46:[2, 39], Operations: ['52-5=47', '47-8=39']
Exploring Operation: 39-2=37, Resulting Numbers: [37]
37,46 unequal: No Solution
Exploring Operation: 2*39=78, Resulting Numbers: [78]
78,46 unequal: No Solution
Exploring Operation: 2+39=41, Resulting Numbers: [41]
41,46 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 |
[
93,
42,
26,
8
] | 91 | [
"42-26=16",
"16/8=2",
"93-2=91"
] | Current State: 91:[93, 42, 26, 8], Operations: []
Exploring Operation: 42-26=16, Resulting Numbers: [93, 8, 16]
Generated Node #2: [93, 8, 16] from Operation: 42-26=16
Current State: 91:[93, 8, 16], Operations: ['42-26=16']
Exploring Operation: 16/8=2, Resulting Numbers: [93, 2]
Generated Node #3: [93, 2] from Operation: 16/8=2
Current State: 91:[93, 2], Operations: ['42-26=16', '16/8=2']
Exploring Operation: 93-2=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[93, 42, 26, 8], Operations: []
Exploring Operation: 42-8=34, Resulting Numbers: [93, 26, 34]
Generated Node #0,0: 91:[93, 26, 34] Operation: 42-8=34
Exploring Operation: 42+26=68, Resulting Numbers: [93, 8, 68]
Generated Node #0,1: 91:[93, 8, 68] Operation: 42+26=68
Exploring Operation: 42-26=16, Resulting Numbers: [93, 8, 16]
Generated Node #0,2: 91:[93, 8, 16] Operation: 42-26=16
Moving to Node #0,2
Current State: 91:[93, 8, 16], Operations: ['42-26=16']
Exploring Operation: 16-8=8, Resulting Numbers: [93, 8]
Generated Node #0,2,0: 91:[93, 8] Operation: 16-8=8
Exploring Operation: 16/8=2, Resulting Numbers: [93, 2]
Generated Node #0,2,1: 91:[93, 2] Operation: 16/8=2
Exploring Operation: 93-8=85, Resulting Numbers: [16, 85]
Generated Node #0,2,2: 91:[16, 85] Operation: 93-8=85
Moving to Node #0,1
Current State: 91:[93, 8, 68], Operations: ['42+26=68']
Exploring Operation: 93-68=25, Resulting Numbers: [8, 25]
Generated Node #0,1,0: 91:[8, 25] Operation: 93-68=25
Exploring Operation: 8+68=76, Resulting Numbers: [93, 76]
Generated Node #0,1,1: 91:[93, 76] Operation: 8+68=76
Exploring Operation: 93-8=85, Resulting Numbers: [68, 85]
Generated Node #0,1,2: 91:[68, 85] Operation: 93-8=85
Moving to Node #0,0
Current State: 91:[93, 26, 34], Operations: ['42-8=34']
Exploring Operation: 34-26=8, Resulting Numbers: [93, 8]
Generated Node #0,0,0: 91:[93, 8] Operation: 34-26=8
Exploring Operation: 26+34=60, Resulting Numbers: [93, 60]
Generated Node #0,0,1: 91:[93, 60] Operation: 26+34=60
Exploring Operation: 93-26=67, Resulting Numbers: [34, 67]
Generated Node #0,0,2: 91:[34, 67] Operation: 93-26=67
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 91:[93, 8], Operations: ['42-8=34', '34-26=8']
Exploring Operation: 93-8=85, Resulting Numbers: [85]
85,91 unequal: No Solution
Exploring Operation: 93+8=101, Resulting Numbers: [101]
101,91 unequal: No Solution
Exploring Operation: 93*8=744, Resulting Numbers: [744]
744,91 unequal: No Solution
No 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: 91:[93, 60], Operations: ['42-8=34', '26+34=60']
Exploring Operation: 93+60=153, Resulting Numbers: [153]
153,91 unequal: No Solution
Exploring Operation: 93*60=5580, Resulting Numbers: [5580]
5580,91 unequal: No Solution
Exploring Operation: 93-60=33, Resulting Numbers: [33]
33,91 unequal: No Solution
No 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: 91:[34, 67], Operations: ['42-8=34', '93-26=67']
Exploring Operation: 67-34=33, Resulting Numbers: [33]
33,91 unequal: No Solution
Exploring Operation: 34*67=2278, Resulting Numbers: [2278]
2278,91 unequal: No Solution
Exploring Operation: 34+67=101, Resulting Numbers: [101]
101,91 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: 91:[93, 8], Operations: ['42-26=16', '16-8=8']
Exploring Operation: 93-8=85, Resulting Numbers: [85]
85,91 unequal: No Solution
Exploring Operation: 93*8=744, Resulting Numbers: [744]
744,91 unequal: No Solution
Exploring Operation: 93+8=101, Resulting Numbers: [101]
101,91 unequal: No Solution
Moving to Node #0,2,1
Current State: 91:[93, 2], Operations: ['42-26=16', '16/8=2']
Exploring Operation: 93-2=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[93, 42, 26, 8], Operations: []
Exploring Operation: 42-26=16, Resulting Numbers: [93, 8, 16]
Generated Node #0,2: 91:[93, 8, 16] Operation: 42-26=16
Moving to Node #0,2
Current State: 91:[93, 8, 16], Operations: ['42-26=16']
Exploring Operation: 16/8=2, Resulting Numbers: [93, 2]
Generated Node #0,2,1: 91:[93, 2] Operation: 16/8=2
Moving to Node #0,2,1
Current State: 91:[93, 2], Operations: ['42-26=16', '16/8=2']
Exploring Operation: 93-2=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 0.974826 | hs_3 | mult_heuristic |
[
15,
29,
81,
87
] | 86 | [
"15*29=435",
"435/87=5",
"81+5=86"
] | Current State: 86:[15, 29, 81, 87], Operations: []
Exploring Operation: 15*29=435, Resulting Numbers: [81, 87, 435]
Generated Node #2: [81, 87, 435] from Operation: 15*29=435
Current State: 86:[81, 87, 435], Operations: ['15*29=435']
Exploring Operation: 435/87=5, Resulting Numbers: [81, 5]
Generated Node #3: [81, 5] from Operation: 435/87=5
Current State: 86:[81, 5], Operations: ['15*29=435', '435/87=5']
Exploring Operation: 81+5=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[15, 29, 81, 87], Operations: []
Exploring Operation: 29-15=14, Resulting Numbers: [81, 87, 14]
Generated Node #0,0: 86:[81, 87, 14] Operation: 29-15=14
Exploring Operation: 15+29=44, Resulting Numbers: [81, 87, 44]
Generated Node #0,1: 86:[81, 87, 44] Operation: 15+29=44
Exploring Operation: 81-29=52, Resulting Numbers: [15, 87, 52]
Generated Node #0,2: 86:[15, 87, 52] Operation: 81-29=52
Exploring Operation: 87/29=3, Resulting Numbers: [15, 81, 3]
Generated Node #0,3: 86:[15, 81, 3] Operation: 87/29=3
Moving to Node #0,1
Current State: 86:[81, 87, 44], Operations: ['15+29=44']
Exploring Operation: 87-44=43, Resulting Numbers: [81, 43]
Generated Node #0,1,0: 86:[81, 43] Operation: 87-44=43
Exploring Operation: 81+44=125, Resulting Numbers: [87, 125]
Generated Node #0,1,1: 86:[87, 125] Operation: 81+44=125
Exploring Operation: 87-81=6, Resulting Numbers: [44, 6]
Generated Node #0,1,2: 86:[44, 6] Operation: 87-81=6
Exploring Operation: 81-44=37, Resulting Numbers: [87, 37]
Generated Node #0,1,3: 86:[87, 37] Operation: 81-44=37
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 86:[81, 43], Operations: ['15+29=44', '87-44=43']
Exploring Operation: 81-43=38, Resulting Numbers: [38]
38,86 unequal: No Solution
Exploring Operation: 81*43=3483, Resulting Numbers: [3483]
3483,86 unequal: No Solution
Exploring Operation: 81+43=124, Resulting Numbers: [124]
124,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 86:[44, 6], Operations: ['15+29=44', '87-81=6']
Exploring Operation: 44-6=38, Resulting Numbers: [38]
38,86 unequal: No Solution
Exploring Operation: 44*6=264, Resulting Numbers: [264]
264,86 unequal: No Solution
Exploring Operation: 44+6=50, Resulting Numbers: [50]
50,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 86:[87, 37], Operations: ['15+29=44', '81-44=37']
Exploring Operation: 87-37=50, Resulting Numbers: [50]
50,86 unequal: No Solution
Exploring Operation: 87*37=3219, Resulting Numbers: [3219]
3219,86 unequal: No Solution
Exploring Operation: 87+37=124, Resulting Numbers: [124]
124,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 86:[87, 125], Operations: ['15+29=44', '81+44=125']
Exploring Operation: 87*125=10875, Resulting Numbers: [10875]
10875,86 unequal: No Solution
Exploring Operation: 87+125=212, Resulting Numbers: [212]
212,86 unequal: No Solution
Exploring Operation: 125-87=38, Resulting Numbers: [38]
38,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:[81, 87, 14], Operations: ['29-15=14']
Exploring Operation: 87-14=73, Resulting Numbers: [81, 73]
Generated Node #0,0,0: 86:[81, 73] Operation: 87-14=73
Exploring Operation: 81+14=95, Resulting Numbers: [87, 95]
Generated Node #0,0,1: 86:[87, 95] Operation: 81+14=95
Exploring Operation: 81-14=67, Resulting Numbers: [87, 67]
Generated Node #0,0,2: 86:[87, 67] Operation: 81-14=67
Exploring Operation: 87-81=6, Resulting Numbers: [14, 6]
Generated Node #0,0,3: 86:[14, 6] Operation: 87-81=6
Moving to Node #0,3
Current State: 86:[15, 81, 3], Operations: ['87/29=3']
Exploring Operation: 15*3=45, Resulting Numbers: [81, 45]
Generated Node #0,3,0: 86:[81, 45] Operation: 15*3=45
Exploring Operation: 15+81=96, Resulting Numbers: [3, 96]
Generated Node #0,3,1: 86:[3, 96] Operation: 15+81=96
Exploring Operation: 15/3=5, Resulting Numbers: [81, 5]
Generated Node #0,3,2: 86:[81, 5] Operation: 15/3=5
Exploring Operation: 15-3=12, Resulting Numbers: [81, 12]
Generated Node #0,3,3: 86:[81, 12] Operation: 15-3=12
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 86:[81, 45], Operations: ['87/29=3', '15*3=45']
Exploring Operation: 81*45=3645, Resulting Numbers: [3645]
3645,86 unequal: No Solution
Exploring Operation: 81+45=126, Resulting Numbers: [126]
126,86 unequal: No Solution
Exploring Operation: 81-45=36, Resulting Numbers: [36]
36,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:[81, 5], Operations: ['87/29=3', '15/3=5']
Exploring Operation: 81+5=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[15, 29, 81, 87], Operations: []
Exploring Operation: 87/29=3, Resulting Numbers: [15, 81, 3]
Generated Node #0,3: 86:[15, 81, 3] Operation: 87/29=3
Moving to Node #0,3
Current State: 86:[15, 81, 3], Operations: ['87/29=3']
Exploring Operation: 15/3=5, Resulting Numbers: [81, 5]
Generated Node #0,3,2: 86:[81, 5] Operation: 15/3=5
Moving to Node #0,3,2
Current State: 86:[81, 5], Operations: ['87/29=3', '15/3=5']
Exploring Operation: 81+5=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.96875 | hs_4 | mult_heuristic |
[
53,
41,
44,
97
] | 50 | [
"53+97=150",
"44-41=3",
"150/3=50"
] | Current State: 50:[53, 41, 44, 97], Operations: []
Exploring Operation: 53+97=150, Resulting Numbers: [41, 44, 150]
Generated Node #2: [41, 44, 150] from Operation: 53+97=150
Current State: 50:[41, 44, 150], Operations: ['53+97=150']
Exploring Operation: 44-41=3, Resulting Numbers: [150, 3]
Generated Node #3: [150, 3] from Operation: 44-41=3
Current State: 50:[150, 3], Operations: ['53+97=150', '44-41=3']
Exploring Operation: 150/3=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[53, 41, 44, 97], Operations: []
Exploring Operation: 97-41=56, Resulting Numbers: [53, 44, 56]
Generated Node #0,0: 50:[53, 44, 56] Operation: 97-41=56
Start Sub Search at level 1: Moving to Node #0,0
Current State: 50:[53, 44, 56], Operations: ['97-41=56']
Exploring Operation: 56-44=12, Resulting Numbers: [53, 12]
Generated Node #0,0,0: 50:[53, 12] Operation: 56-44=12
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 50:[53, 12], Operations: ['97-41=56', '56-44=12']
Exploring Operation: 53-12=41, Resulting Numbers: [41]
41,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
No solution found.
| 0 | hs_1 | mult_heuristic |
[
74,
73,
54,
38
] | 15 | [
"74-73=1",
"54-38=16",
"16-1=15"
] | Current State: 15:[74, 73, 54, 38], Operations: []
Exploring Operation: 74-73=1, Resulting Numbers: [54, 38, 1]
Generated Node #2: [54, 38, 1] from Operation: 74-73=1
Current State: 15:[54, 38, 1], Operations: ['74-73=1']
Exploring Operation: 54-38=16, Resulting Numbers: [1, 16]
Generated Node #3: [1, 16] from Operation: 54-38=16
Current State: 15:[1, 16], Operations: ['74-73=1', '54-38=16']
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[74, 73, 54, 38], Operations: []
Exploring Operation: 74-73=1, Resulting Numbers: [54, 38, 1]
Generated Node #0,0: 15:[54, 38, 1] Operation: 74-73=1
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[54, 38, 1], Operations: ['74-73=1']
Exploring Operation: 54-38=16, Resulting Numbers: [1, 16]
Generated Node #0,0,0: 15:[1, 16] Operation: 54-38=16
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 15:[1, 16], Operations: ['74-73=1', '54-38=16']
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[74, 73, 54, 38], Operations: []
Exploring Operation: 74-73=1, Resulting Numbers: [54, 38, 1]
Generated Node #0,0: 15:[54, 38, 1] Operation: 74-73=1
Moving to Node #0,0
Current State: 15:[54, 38, 1], Operations: ['74-73=1']
Exploring Operation: 54-38=16, Resulting Numbers: [1, 16]
Generated Node #0,0,0: 15:[1, 16] Operation: 54-38=16
Moving to Node #0,0,0
Current State: 15:[1, 16], Operations: ['74-73=1', '54-38=16']
Exploring Operation: 16-1=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
17,
18,
54,
16
] | 99 | [
"17+16=33",
"54/18=3",
"33*3=99"
] | Current State: 99:[17, 18, 54, 16], Operations: []
Exploring Operation: 17+16=33, Resulting Numbers: [18, 54, 33]
Generated Node #2: [18, 54, 33] from Operation: 17+16=33
Current State: 99:[18, 54, 33], Operations: ['17+16=33']
Exploring Operation: 54/18=3, Resulting Numbers: [33, 3]
Generated Node #3: [33, 3] from Operation: 54/18=3
Current State: 99:[33, 3], Operations: ['17+16=33', '54/18=3']
Exploring Operation: 33*3=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[17, 18, 54, 16], Operations: []
Exploring Operation: 54/18=3, Resulting Numbers: [17, 16, 3]
Generated Node #0,0: 99:[17, 16, 3] Operation: 54/18=3
Exploring Operation: 54-18=36, Resulting Numbers: [17, 16, 36]
Generated Node #0,1: 99:[17, 16, 36] Operation: 54-18=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[17, 16, 3], Operations: ['54/18=3']
Exploring Operation: 17-16=1, Resulting Numbers: [3, 1]
Generated Node #0,0,0: 99:[3, 1] Operation: 17-16=1
Exploring Operation: 17+16=33, Resulting Numbers: [3, 33]
Generated Node #0,0,1: 99:[3, 33] Operation: 17+16=33
Moving to Node #0,0,1
Current State: 99:[3, 33], Operations: ['54/18=3', '17+16=33']
Exploring Operation: 3*33=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Moving to Node #0
Current State: 99:[17, 18, 54, 16], Operations: []
Exploring Operation: 54/18=3, Resulting Numbers: [17, 16, 3]
Generated Node #0,0: 99:[17, 16, 3] Operation: 54/18=3
Moving to Node #0,0
Current State: 99:[17, 16, 3], Operations: ['54/18=3']
Exploring Operation: 17+16=33, Resulting Numbers: [3, 33]
Generated Node #0,0,1: 99:[3, 33] Operation: 17+16=33
Moving to Node #0,0,1
Current State: 99:[3, 33], Operations: ['54/18=3', '17+16=33']
Exploring Operation: 3*33=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
11,
12,
66,
8
] | 80 | [
"66/11=6",
"12*6=72",
"8+72=80"
] | Current State: 80:[11, 12, 66, 8], Operations: []
Exploring Operation: 66/11=6, Resulting Numbers: [12, 8, 6]
Generated Node #2: [12, 8, 6] from Operation: 66/11=6
Current State: 80:[12, 8, 6], Operations: ['66/11=6']
Exploring Operation: 12*6=72, Resulting Numbers: [8, 72]
Generated Node #3: [8, 72] from Operation: 12*6=72
Current State: 80:[8, 72], Operations: ['66/11=6', '12*6=72']
Exploring Operation: 8+72=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[11, 12, 66, 8], Operations: []
Exploring Operation: 11+66=77, Resulting Numbers: [12, 8, 77]
Generated Node #0,0: 80:[12, 8, 77] Operation: 11+66=77
Exploring Operation: 12+66=78, Resulting Numbers: [11, 8, 78]
Generated Node #0,1: 80:[11, 8, 78] Operation: 12+66=78
Exploring Operation: 66+8=74, Resulting Numbers: [11, 12, 74]
Generated Node #0,2: 80:[11, 12, 74] Operation: 66+8=74
Exploring Operation: 12-11=1, Resulting Numbers: [66, 8, 1]
Generated Node #0,3: 80:[66, 8, 1] Operation: 12-11=1
Exploring Operation: 66/11=6, Resulting Numbers: [12, 8, 6]
Generated Node #0,4: 80:[12, 8, 6] Operation: 66/11=6
Moving to Node #0,1
Current State: 80:[11, 8, 78], Operations: ['12+66=78']
Exploring Operation: 11-8=3, Resulting Numbers: [78, 3]
Generated Node #0,1,0: 80:[78, 3] Operation: 11-8=3
Exploring Operation: 11+78=89, Resulting Numbers: [8, 89]
Generated Node #0,1,1: 80:[8, 89] Operation: 11+78=89
Exploring Operation: 11+8=19, Resulting Numbers: [78, 19]
Generated Node #0,1,2: 80:[78, 19] Operation: 11+8=19
Exploring Operation: 8+78=86, Resulting Numbers: [11, 86]
Generated Node #0,1,3: 80:[11, 86] Operation: 8+78=86
Exploring Operation: 11*8=88, Resulting Numbers: [78, 88]
Generated Node #0,1,4: 80:[78, 88] Operation: 11*8=88
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 80:[78, 3], Operations: ['12+66=78', '11-8=3']
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,80 unequal: No Solution
Exploring Operation: 78+3=81, Resulting Numbers: [81]
81,80 unequal: No Solution
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,80 unequal: No Solution
Exploring Operation: 78*3=234, Resulting Numbers: [234]
234,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 80:[78, 19], Operations: ['12+66=78', '11+8=19']
Exploring Operation: 78-19=59, Resulting Numbers: [59]
59,80 unequal: No Solution
Exploring Operation: 78*19=1482, Resulting Numbers: [1482]
1482,80 unequal: No Solution
Exploring Operation: 78+19=97, Resulting Numbers: [97]
97,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 80:[11, 86], Operations: ['12+66=78', '8+78=86']
Exploring Operation: 11+86=97, Resulting Numbers: [97]
97,80 unequal: No Solution
Exploring Operation: 11*86=946, Resulting Numbers: [946]
946,80 unequal: No Solution
Exploring Operation: 86-11=75, Resulting Numbers: [75]
75,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 80:[8, 89], Operations: ['12+66=78', '11+78=89']
Exploring Operation: 8+89=97, Resulting Numbers: [97]
97,80 unequal: No Solution
Exploring Operation: 8*89=712, Resulting Numbers: [712]
712,80 unequal: No Solution
Exploring Operation: 89-8=81, Resulting Numbers: [81]
81,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 80:[78, 88], Operations: ['12+66=78', '11*8=88']
Exploring Operation: 78+88=166, Resulting Numbers: [166]
166,80 unequal: No Solution
Exploring Operation: 88-78=10, Resulting Numbers: [10]
10,80 unequal: No Solution
Exploring Operation: 78*88=6864, Resulting Numbers: [6864]
6864,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 80:[12, 8, 6], Operations: ['66/11=6']
Exploring Operation: 12-6=6, Resulting Numbers: [8, 6]
Generated Node #0,4,0: 80:[8, 6] Operation: 12-6=6
Exploring Operation: 12/6=2, Resulting Numbers: [8, 2]
Generated Node #0,4,1: 80:[8, 2] Operation: 12/6=2
Exploring Operation: 12+6=18, Resulting Numbers: [8, 18]
Generated Node #0,4,2: 80:[8, 18] Operation: 12+6=18
Exploring Operation: 12+8=20, Resulting Numbers: [6, 20]
Generated Node #0,4,3: 80:[6, 20] Operation: 12+8=20
Exploring Operation: 12-8=4, Resulting Numbers: [6, 4]
Generated Node #0,4,4: 80:[6, 4] Operation: 12-8=4
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 80:[8, 2], Operations: ['66/11=6', '12/6=2']
Exploring Operation: 8-2=6, Resulting Numbers: [6]
6,80 unequal: No Solution
Exploring Operation: 8/2=4, Resulting Numbers: [4]
4,80 unequal: No Solution
Exploring Operation: 8+2=10, Resulting Numbers: [10]
10,80 unequal: No Solution
Exploring Operation: 8*2=16, Resulting Numbers: [16]
16,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 80:[8, 6], Operations: ['66/11=6', '12-6=6']
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,80 unequal: No Solution
Exploring Operation: 8+6=14, Resulting Numbers: [14]
14,80 unequal: No Solution
Exploring Operation: 8*6=48, Resulting Numbers: [48]
48,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 80:[6, 20], Operations: ['66/11=6', '12+8=20']
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,80 unequal: No Solution
Exploring Operation: 6*20=120, Resulting Numbers: [120]
120,80 unequal: No Solution
Exploring Operation: 6+20=26, Resulting Numbers: [26]
26,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 80:[6, 4], Operations: ['66/11=6', '12-8=4']
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,80 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,80 unequal: No Solution
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 80:[8, 18], Operations: ['66/11=6', '12+6=18']
Exploring Operation: 8*18=144, Resulting Numbers: [144]
144,80 unequal: No Solution
Exploring Operation: 18-8=10, Resulting Numbers: [10]
10,80 unequal: No Solution
Exploring Operation: 8+18=26, Resulting Numbers: [26]
26,80 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: 80:[12, 8, 77], Operations: ['11+66=77']
Exploring Operation: 12+8=20, Resulting Numbers: [77, 20]
Generated Node #0,0,0: 80:[77, 20] Operation: 12+8=20
Exploring Operation: 77-8=69, Resulting Numbers: [12, 69]
Generated Node #0,0,1: 80:[12, 69] Operation: 77-8=69
Exploring Operation: 12+77=89, Resulting Numbers: [8, 89]
Generated Node #0,0,2: 80:[8, 89] Operation: 12+77=89
Exploring Operation: 8+77=85, Resulting Numbers: [12, 85]
Generated Node #0,0,3: 80:[12, 85] Operation: 8+77=85
Exploring Operation: 12-8=4, Resulting Numbers: [77, 4]
Generated Node #0,0,4: 80:[77, 4] Operation: 12-8=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 80:[77, 20], Operations: ['11+66=77', '12+8=20']
Exploring Operation: 77*20=1540, Resulting Numbers: [1540]
1540,80 unequal: No Solution
Exploring Operation: 77+20=97, Resulting Numbers: [97]
97,80 unequal: No Solution
Exploring Operation: 77-20=57, Resulting Numbers: [57]
57,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 80:[77, 4], Operations: ['11+66=77', '12-8=4']
Exploring Operation: 77*4=308, Resulting Numbers: [308]
308,80 unequal: No Solution
Exploring Operation: 77+4=81, Resulting Numbers: [81]
81,80 unequal: No Solution
Exploring Operation: 77-4=73, Resulting Numbers: [73]
73,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 80:[12, 85], Operations: ['11+66=77', '8+77=85']
Exploring Operation: 85-12=73, Resulting Numbers: [73]
73,80 unequal: No Solution
Exploring Operation: 12+85=97, Resulting Numbers: [97]
97,80 unequal: No Solution
Exploring Operation: 12*85=1020, Resulting Numbers: [1020]
1020,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 80:[8, 89], Operations: ['11+66=77', '12+77=89']
Exploring Operation: 8*89=712, Resulting Numbers: [712]
712,80 unequal: No Solution
Exploring Operation: 89-8=81, Resulting Numbers: [81]
81,80 unequal: No Solution
Exploring Operation: 8+89=97, Resulting Numbers: [97]
97,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 80:[12, 69], Operations: ['11+66=77', '77-8=69']
Exploring Operation: 12+69=81, Resulting Numbers: [81]
81,80 unequal: No Solution
Exploring Operation: 69-12=57, Resulting Numbers: [57]
57,80 unequal: No Solution
Exploring Operation: 12*69=828, Resulting Numbers: [828]
828,80 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: 80:[11, 12, 74], Operations: ['66+8=74']
Exploring Operation: 11+74=85, Resulting Numbers: [12, 85]
Generated Node #0,2,0: 80:[12, 85] Operation: 11+74=85
Exploring Operation: 12+74=86, Resulting Numbers: [11, 86]
Generated Node #0,2,1: 80:[11, 86] Operation: 12+74=86
Exploring Operation: 74-11=63, Resulting Numbers: [12, 63]
Generated Node #0,2,2: 80:[12, 63] Operation: 74-11=63
Exploring Operation: 11+12=23, Resulting Numbers: [74, 23]
Generated Node #0,2,3: 80:[74, 23] Operation: 11+12=23
Exploring Operation: 12-11=1, Resulting Numbers: [74, 1]
Generated Node #0,2,4: 80:[74, 1] Operation: 12-11=1
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 80:[12, 85], Operations: ['66+8=74', '11+74=85']
Exploring Operation: 12+85=97, Resulting Numbers: [97]
97,80 unequal: No Solution
Exploring Operation: 12*85=1020, Resulting Numbers: [1020]
1020,80 unequal: No Solution
Exploring Operation: 85-12=73, Resulting Numbers: [73]
73,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 80:[11, 86], Operations: ['66+8=74', '12+74=86']
Exploring Operation: 11*86=946, Resulting Numbers: [946]
946,80 unequal: No Solution
Exploring Operation: 86-11=75, Resulting Numbers: [75]
75,80 unequal: No Solution
Exploring Operation: 11+86=97, Resulting Numbers: [97]
97,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 80:[74, 1], Operations: ['66+8=74', '12-11=1']
Exploring Operation: 74+1=75, Resulting Numbers: [75]
75,80 unequal: No Solution
Exploring Operation: 74/1=74, Resulting Numbers: [74]
74,80 unequal: No Solution
Exploring Operation: 74*1=74, Resulting Numbers: [74]
74,80 unequal: No Solution
Exploring Operation: 74-1=73, Resulting Numbers: [73]
73,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 80:[74, 23], Operations: ['66+8=74', '11+12=23']
Exploring Operation: 74-23=51, Resulting Numbers: [51]
51,80 unequal: No Solution
Exploring Operation: 74*23=1702, Resulting Numbers: [1702]
1702,80 unequal: No Solution
Exploring Operation: 74+23=97, Resulting Numbers: [97]
97,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 80:[12, 63], Operations: ['66+8=74', '74-11=63']
Exploring Operation: 12*63=756, Resulting Numbers: [756]
756,80 unequal: No Solution
Exploring Operation: 12+63=75, Resulting Numbers: [75]
75,80 unequal: No Solution
Exploring Operation: 63-12=51, Resulting Numbers: [51]
51,80 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: 80:[66, 8, 1], Operations: ['12-11=1']
Exploring Operation: 66/1=66, Resulting Numbers: [8, 66]
Generated Node #0,3,0: 80:[8, 66] Operation: 66/1=66
Exploring Operation: 66*1=66, Resulting Numbers: [8, 66]
Generated Node #0,3,1: 80:[8, 66] Operation: 66*1=66
Exploring Operation: 8*1=8, Resulting Numbers: [66, 8]
Generated Node #0,3,2: 80:[66, 8] Operation: 8*1=8
Exploring Operation: 66+8=74, Resulting Numbers: [1, 74]
Generated Node #0,3,3: 80:[1, 74] Operation: 66+8=74
Exploring Operation: 66+1=67, Resulting Numbers: [8, 67]
Generated Node #0,3,4: 80:[8, 67] Operation: 66+1=67
Moving to Node #0,3,3
Current State: 80:[1, 74], Operations: ['12-11=1', '66+8=74']
Exploring Operation: 74-1=73, Resulting Numbers: [73]
73,80 unequal: No Solution
Exploring Operation: 1+74=75, Resulting Numbers: [75]
75,80 unequal: No Solution
Exploring Operation: 1*74=74, Resulting Numbers: [74]
74,80 unequal: No Solution
Exploring Operation: 74/1=74, Resulting Numbers: [74]
74,80 unequal: No Solution
Moving to Node #0,3,4
Current State: 80:[8, 67], Operations: ['12-11=1', '66+1=67']
Exploring Operation: 8+67=75, Resulting Numbers: [75]
75,80 unequal: No Solution
Exploring Operation: 8*67=536, Resulting Numbers: [536]
536,80 unequal: No Solution
Exploring Operation: 67-8=59, Resulting Numbers: [59]
59,80 unequal: No Solution
Moving to Node #0,3,0
Current State: 80:[8, 66], Operations: ['12-11=1', '66/1=66']
Exploring Operation: 66-8=58, Resulting Numbers: [58]
58,80 unequal: No Solution
Exploring Operation: 8*66=528, Resulting Numbers: [528]
528,80 unequal: No Solution
Exploring Operation: 8+66=74, Resulting Numbers: [74]
74,80 unequal: No Solution
Moving to Node #0,3,1
Current State: 80:[8, 66], Operations: ['12-11=1', '66*1=66']
Exploring Operation: 8*66=528, Resulting Numbers: [528]
528,80 unequal: No Solution
Exploring Operation: 8+66=74, Resulting Numbers: [74]
74,80 unequal: No Solution
Exploring Operation: 66-8=58, Resulting Numbers: [58]
58,80 unequal: No Solution
Moving to Node #0,3,2
Current State: 80:[66, 8], Operations: ['12-11=1', '8*1=8']
Exploring Operation: 66*8=528, Resulting Numbers: [528]
528,80 unequal: No Solution
Exploring Operation: 66+8=74, Resulting Numbers: [74]
74,80 unequal: No Solution
Exploring Operation: 66-8=58, Resulting Numbers: [58]
58,80 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
68,
8,
87,
17
] | 91 | [
"68/17=4",
"8+87=95",
"95-4=91"
] | Current State: 91:[68, 8, 87, 17], Operations: []
Exploring Operation: 68/17=4, Resulting Numbers: [8, 87, 4]
Generated Node #2: [8, 87, 4] from Operation: 68/17=4
Current State: 91:[8, 87, 4], Operations: ['68/17=4']
Exploring Operation: 8+87=95, Resulting Numbers: [4, 95]
Generated Node #3: [4, 95] from Operation: 8+87=95
Current State: 91:[4, 95], Operations: ['68/17=4', '8+87=95']
Exploring Operation: 95-4=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[68, 8, 87, 17], Operations: []
Exploring Operation: 68+17=85, Resulting Numbers: [8, 87, 85]
Generated Node #0,0: 91:[8, 87, 85] Operation: 68+17=85
Exploring Operation: 87-68=19, Resulting Numbers: [8, 17, 19]
Generated Node #0,1: 91:[8, 17, 19] Operation: 87-68=19
Exploring Operation: 68/17=4, Resulting Numbers: [8, 87, 4]
Generated Node #0,2: 91:[8, 87, 4] Operation: 68/17=4
Start Sub Search at level 1: Moving to Node #0,2
Current State: 91:[8, 87, 4], Operations: ['68/17=4']
Exploring Operation: 8+87=95, Resulting Numbers: [4, 95]
Generated Node #0,2,0: 91:[4, 95] Operation: 8+87=95
Exploring Operation: 8+4=12, Resulting Numbers: [87, 12]
Generated Node #0,2,1: 91:[87, 12] Operation: 8+4=12
Exploring Operation: 87+4=91, Resulting Numbers: [8, 91]
Generated Node #0,2,2: 91:[8, 91] Operation: 87+4=91
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 91:[8, 91], Operations: ['68/17=4', '87+4=91']
Exploring Operation: 8*91=728, Resulting Numbers: [728]
728,91 unequal: No Solution
Exploring Operation: 8+91=99, Resulting Numbers: [99]
99,91 unequal: No Solution
Exploring Operation: 91-8=83, Resulting Numbers: [83]
83,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 91:[87, 12], Operations: ['68/17=4', '8+4=12']
Exploring Operation: 87*12=1044, Resulting Numbers: [1044]
1044,91 unequal: No Solution
Exploring Operation: 87-12=75, Resulting Numbers: [75]
75,91 unequal: No Solution
Exploring Operation: 87+12=99, Resulting Numbers: [99]
99,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 91:[4, 95], Operations: ['68/17=4', '8+87=95']
Exploring Operation: 95-4=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[68, 8, 87, 17], Operations: []
Exploring Operation: 68/17=4, Resulting Numbers: [8, 87, 4]
Generated Node #0,2: 91:[8, 87, 4] Operation: 68/17=4
Moving to Node #0,2
Current State: 91:[8, 87, 4], Operations: ['68/17=4']
Exploring Operation: 8+87=95, Resulting Numbers: [4, 95]
Generated Node #0,2,0: 91:[4, 95] Operation: 8+87=95
Moving to Node #0,2,0
Current State: 91:[4, 95], Operations: ['68/17=4', '8+87=95']
Exploring Operation: 95-4=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_3 | mult_heuristic |
[
88,
24,
84,
7
] | 76 | [
"88-24=64",
"84/7=12",
"64+12=76"
] | Current State: 76:[88, 24, 84, 7], Operations: []
Exploring Operation: 88-24=64, Resulting Numbers: [84, 7, 64]
Generated Node #2: [84, 7, 64] from Operation: 88-24=64
Current State: 76:[84, 7, 64], Operations: ['88-24=64']
Exploring Operation: 84/7=12, Resulting Numbers: [64, 12]
Generated Node #3: [64, 12] from Operation: 84/7=12
Current State: 76:[64, 12], Operations: ['88-24=64', '84/7=12']
Exploring Operation: 64+12=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[88, 24, 84, 7], Operations: []
Exploring Operation: 88-84=4, Resulting Numbers: [24, 7, 4]
Generated Node #0,0: 76:[24, 7, 4] Operation: 88-84=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[24, 7, 4], Operations: ['88-84=4']
Exploring Operation: 24-7=17, Resulting Numbers: [4, 17]
Generated Node #0,0,0: 76:[4, 17] Operation: 24-7=17
Moving to Node #0,0,0
Current State: 76:[4, 17], Operations: ['88-84=4', '24-7=17']
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,76 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 |
[
59,
7,
94,
48
] | 17 | [
"59-48=11",
"7*11=77",
"94-77=17"
] | Current State: 17:[59, 7, 94, 48], Operations: []
Exploring Operation: 59-48=11, Resulting Numbers: [7, 94, 11]
Generated Node #2: [7, 94, 11] from Operation: 59-48=11
Current State: 17:[7, 94, 11], Operations: ['59-48=11']
Exploring Operation: 7*11=77, Resulting Numbers: [94, 77]
Generated Node #3: [94, 77] from Operation: 7*11=77
Current State: 17:[94, 77], Operations: ['59-48=11', '7*11=77']
Exploring Operation: 94-77=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[59, 7, 94, 48], Operations: []
Exploring Operation: 94-48=46, Resulting Numbers: [59, 7, 46]
Generated Node #0,0: 17:[59, 7, 46] Operation: 94-48=46
Exploring Operation: 94-59=35, Resulting Numbers: [7, 48, 35]
Generated Node #0,1: 17:[7, 48, 35] Operation: 94-59=35
Start Sub Search at level 1: Moving to Node #0,1
Current State: 17:[7, 48, 35], Operations: ['94-59=35']
Exploring Operation: 48-35=13, Resulting Numbers: [7, 13]
Generated Node #0,1,0: 17:[7, 13] Operation: 48-35=13
Exploring Operation: 48-7=41, Resulting Numbers: [35, 41]
Generated Node #0,1,1: 17:[35, 41] Operation: 48-7=41
Moving to Node #0,1,0
Current State: 17:[7, 13], Operations: ['94-59=35', '48-35=13']
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,17 unequal: No Solution
Exploring Operation: 7+13=20, Resulting Numbers: [20]
20,17 unequal: No Solution
Moving to Node #0,1,1
Current State: 17:[35, 41], Operations: ['94-59=35', '48-7=41']
Exploring Operation: 35+41=76, Resulting Numbers: [76]
76,17 unequal: No Solution
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 17:[59, 7, 46], Operations: ['94-48=46']
Exploring Operation: 59-7=52, Resulting Numbers: [46, 52]
Generated Node #0,0,0: 17:[46, 52] Operation: 59-7=52
Exploring Operation: 59-46=13, Resulting Numbers: [7, 13]
Generated Node #0,0,1: 17:[7, 13] Operation: 59-46=13
Moving to Node #0,0,1
Current State: 17:[7, 13], Operations: ['94-48=46', '59-46=13']
Exploring Operation: 7+13=20, Resulting Numbers: [20]
20,17 unequal: No Solution
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,17 unequal: No Solution
Moving to Node #0,0,0
Current State: 17:[46, 52], Operations: ['94-48=46', '59-7=52']
Exploring Operation: 46+52=98, Resulting Numbers: [98]
98,17 unequal: No Solution
Exploring Operation: 52-46=6, Resulting Numbers: [6]
6,17 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
26,
51,
12,
55
] | 92 | [
"51-26=25",
"12+55=67",
"25+67=92"
] | Current State: 92:[26, 51, 12, 55], Operations: []
Exploring Operation: 51-26=25, Resulting Numbers: [12, 55, 25]
Generated Node #2: [12, 55, 25] from Operation: 51-26=25
Current State: 92:[12, 55, 25], Operations: ['51-26=25']
Exploring Operation: 12+55=67, Resulting Numbers: [25, 67]
Generated Node #3: [25, 67] from Operation: 12+55=67
Current State: 92:[25, 67], Operations: ['51-26=25', '12+55=67']
Exploring Operation: 25+67=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[26, 51, 12, 55], Operations: []
Exploring Operation: 55-51=4, Resulting Numbers: [26, 12, 4]
Generated Node #0,0: 92:[26, 12, 4] Operation: 55-51=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 92:[26, 12, 4], Operations: ['55-51=4']
Exploring Operation: 12/4=3, Resulting Numbers: [26, 3]
Generated Node #0,0,0: 92:[26, 3] Operation: 12/4=3
Moving to Node #0,0,0
Current State: 92:[26, 3], Operations: ['55-51=4', '12/4=3']
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
63,
1,
44,
51
] | 73 | [
"63*51=3213",
"3213-1=3212",
"3212/44=73"
] | Current State: 73:[63, 1, 44, 51], Operations: []
Exploring Operation: 63*51=3213, Resulting Numbers: [1, 44, 3213]
Generated Node #2: [1, 44, 3213] from Operation: 63*51=3213
Current State: 73:[1, 44, 3213], Operations: ['63*51=3213']
Exploring Operation: 3213-1=3212, Resulting Numbers: [44, 3212]
Generated Node #3: [44, 3212] from Operation: 3213-1=3212
Current State: 73:[44, 3212], Operations: ['63*51=3213', '3213-1=3212']
Exploring Operation: 3212/44=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[63, 1, 44, 51], Operations: []
Exploring Operation: 63+1=64, Resulting Numbers: [44, 51, 64]
Generated Node #0,0: 73:[44, 51, 64] Operation: 63+1=64
Exploring Operation: 1+44=45, Resulting Numbers: [63, 51, 45]
Generated Node #0,1: 73:[63, 51, 45] Operation: 1+44=45
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[44, 51, 64], Operations: ['63+1=64']
Exploring Operation: 44+51=95, Resulting Numbers: [64, 95]
Generated Node #0,0,0: 73:[64, 95] Operation: 44+51=95
Exploring Operation: 44+64=108, Resulting Numbers: [51, 108]
Generated Node #0,0,1: 73:[51, 108] Operation: 44+64=108
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 73:[64, 95], Operations: ['63+1=64', '44+51=95']
Exploring Operation: 64+95=159, Resulting Numbers: [159]
159,73 unequal: No Solution
Exploring Operation: 95-64=31, Resulting Numbers: [31]
31,73 unequal: No Solution
No 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: 73:[51, 108], Operations: ['63+1=64', '44+64=108']
Exploring Operation: 108-51=57, Resulting Numbers: [57]
57,73 unequal: No Solution
Exploring Operation: 51+108=159, Resulting Numbers: [159]
159,73 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: 73:[63, 51, 45], Operations: ['1+44=45']
Exploring Operation: 51+45=96, Resulting Numbers: [63, 96]
Generated Node #0,1,0: 73:[63, 96] Operation: 51+45=96
Exploring Operation: 63+45=108, Resulting Numbers: [51, 108]
Generated Node #0,1,1: 73:[51, 108] Operation: 63+45=108
Moving to Node #0,1,0
Current State: 73:[63, 96], Operations: ['1+44=45', '51+45=96']
Exploring Operation: 63+96=159, Resulting Numbers: [159]
159,73 unequal: No Solution
Exploring Operation: 96-63=33, Resulting Numbers: [33]
33,73 unequal: No Solution
Moving to Node #0,1,1
Current State: 73:[51, 108], Operations: ['1+44=45', '63+45=108']
Exploring Operation: 51+108=159, Resulting Numbers: [159]
159,73 unequal: No Solution
Exploring Operation: 108-51=57, Resulting Numbers: [57]
57,73 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 |
[
5,
65,
74,
41
] | 88 | [
"74+41=115",
"115/5=23",
"65+23=88"
] | Current State: 88:[5, 65, 74, 41], Operations: []
Exploring Operation: 74+41=115, Resulting Numbers: [5, 65, 115]
Generated Node #2: [5, 65, 115] from Operation: 74+41=115
Current State: 88:[5, 65, 115], Operations: ['74+41=115']
Exploring Operation: 115/5=23, Resulting Numbers: [65, 23]
Generated Node #3: [65, 23] from Operation: 115/5=23
Current State: 88:[65, 23], Operations: ['74+41=115', '115/5=23']
Exploring Operation: 65+23=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[5, 65, 74, 41], Operations: []
Exploring Operation: 74-65=9, Resulting Numbers: [5, 41, 9]
Generated Node #0,0: 88:[5, 41, 9] Operation: 74-65=9
Moving to Node #0,0
Current State: 88:[5, 41, 9], Operations: ['74-65=9']
Exploring Operation: 5+41=46, Resulting Numbers: [9, 46]
Generated Node #0,0,0: 88:[9, 46] Operation: 5+41=46
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 88:[9, 46], Operations: ['74-65=9', '5+41=46']
Exploring Operation: 46-9=37, Resulting Numbers: [37]
37,88 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 |
[
64,
62,
75,
39
] | 57 | [
"64-62=2",
"75+39=114",
"114/2=57"
] | Current State: 57:[64, 62, 75, 39], Operations: []
Exploring Operation: 64-62=2, Resulting Numbers: [75, 39, 2]
Generated Node #2: [75, 39, 2] from Operation: 64-62=2
Current State: 57:[75, 39, 2], Operations: ['64-62=2']
Exploring Operation: 75+39=114, Resulting Numbers: [2, 114]
Generated Node #3: [2, 114] from Operation: 75+39=114
Current State: 57:[2, 114], Operations: ['64-62=2', '75+39=114']
Exploring Operation: 114/2=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[64, 62, 75, 39], Operations: []
Exploring Operation: 62-39=23, Resulting Numbers: [64, 75, 23]
Generated Node #0,0: 57:[64, 75, 23] Operation: 62-39=23
Exploring Operation: 75-39=36, Resulting Numbers: [64, 62, 36]
Generated Node #0,1: 57:[64, 62, 36] Operation: 75-39=36
Exploring Operation: 64-39=25, Resulting Numbers: [62, 75, 25]
Generated Node #0,2: 57:[62, 75, 25] Operation: 64-39=25
Moving to Node #0,0
Current State: 57:[64, 75, 23], Operations: ['62-39=23']
Exploring Operation: 75-23=52, Resulting Numbers: [64, 52]
Generated Node #0,0,0: 57:[64, 52] Operation: 75-23=52
Exploring Operation: 75-64=11, Resulting Numbers: [23, 11]
Generated Node #0,0,1: 57:[23, 11] Operation: 75-64=11
Exploring Operation: 64-23=41, Resulting Numbers: [75, 41]
Generated Node #0,0,2: 57:[75, 41] Operation: 64-23=41
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 57:[64, 52], Operations: ['62-39=23', '75-23=52']
Exploring Operation: 64-52=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Exploring Operation: 64*52=3328, Resulting Numbers: [3328]
3328,57 unequal: No Solution
Exploring Operation: 64+52=116, Resulting Numbers: [116]
116,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 57:[23, 11], Operations: ['62-39=23', '75-64=11']
Exploring Operation: 23-11=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Exploring Operation: 23*11=253, Resulting Numbers: [253]
253,57 unequal: No Solution
Exploring Operation: 23+11=34, Resulting Numbers: [34]
34,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 57:[75, 41], Operations: ['62-39=23', '64-23=41']
Exploring Operation: 75+41=116, Resulting Numbers: [116]
116,57 unequal: No Solution
Exploring Operation: 75*41=3075, Resulting Numbers: [3075]
3075,57 unequal: No Solution
Exploring Operation: 75-41=34, Resulting Numbers: [34]
34,57 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: 57:[64, 62, 36], Operations: ['75-39=36']
Exploring Operation: 62-36=26, Resulting Numbers: [64, 26]
Generated Node #0,1,0: 57:[64, 26] Operation: 62-36=26
Exploring Operation: 64-36=28, Resulting Numbers: [62, 28]
Generated Node #0,1,1: 57:[62, 28] Operation: 64-36=28
Exploring Operation: 64-62=2, Resulting Numbers: [36, 2]
Generated Node #0,1,2: 57:[36, 2] Operation: 64-62=2
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 57:[64, 26], Operations: ['75-39=36', '62-36=26']
Exploring Operation: 64-26=38, Resulting Numbers: [38]
38,57 unequal: No Solution
Exploring Operation: 64+26=90, Resulting Numbers: [90]
90,57 unequal: No Solution
Exploring Operation: 64*26=1664, Resulting Numbers: [1664]
1664,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 57:[62, 28], Operations: ['75-39=36', '64-36=28']
Exploring Operation: 62+28=90, Resulting Numbers: [90]
90,57 unequal: No Solution
Exploring Operation: 62*28=1736, Resulting Numbers: [1736]
1736,57 unequal: No Solution
Exploring Operation: 62-28=34, Resulting Numbers: [34]
34,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 57:[36, 2], Operations: ['75-39=36', '64-62=2']
Exploring Operation: 36/2=18, Resulting Numbers: [18]
18,57 unequal: No Solution
Exploring Operation: 36*2=72, Resulting Numbers: [72]
72,57 unequal: No Solution
Exploring Operation: 36-2=34, Resulting Numbers: [34]
34,57 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: 57:[62, 75, 25], Operations: ['64-39=25']
Exploring Operation: 75-62=13, Resulting Numbers: [25, 13]
Generated Node #0,2,0: 57:[25, 13] Operation: 75-62=13
Exploring Operation: 75-25=50, Resulting Numbers: [62, 50]
Generated Node #0,2,1: 57:[62, 50] Operation: 75-25=50
Exploring Operation: 75/25=3, Resulting Numbers: [62, 3]
Generated Node #0,2,2: 57:[62, 3] Operation: 75/25=3
Moving to Node #0,2,2
Current State: 57:[62, 3], Operations: ['64-39=25', '75/25=3']
Exploring Operation: 62*3=186, Resulting Numbers: [186]
186,57 unequal: No Solution
Exploring Operation: 62+3=65, Resulting Numbers: [65]
65,57 unequal: No Solution
Exploring Operation: 62-3=59, Resulting Numbers: [59]
59,57 unequal: No Solution
Moving to Node #0,2,0
Current State: 57:[25, 13], Operations: ['64-39=25', '75-62=13']
Exploring Operation: 25-13=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Exploring Operation: 25+13=38, Resulting Numbers: [38]
38,57 unequal: No Solution
Exploring Operation: 25*13=325, Resulting Numbers: [325]
325,57 unequal: No Solution
Moving to Node #0,2,1
Current State: 57:[62, 50], Operations: ['64-39=25', '75-25=50']
Exploring Operation: 62-50=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Exploring Operation: 62*50=3100, Resulting Numbers: [3100]
3100,57 unequal: No Solution
Exploring Operation: 62+50=112, Resulting Numbers: [112]
112,57 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
54,
76,
73,
49
] | 100 | [
"76-54=22",
"73+49=122",
"122-22=100"
] | Current State: 100:[54, 76, 73, 49], Operations: []
Exploring Operation: 76-54=22, Resulting Numbers: [73, 49, 22]
Generated Node #2: [73, 49, 22] from Operation: 76-54=22
Current State: 100:[73, 49, 22], Operations: ['76-54=22']
Exploring Operation: 73+49=122, Resulting Numbers: [22, 122]
Generated Node #3: [22, 122] from Operation: 73+49=122
Current State: 100:[22, 122], Operations: ['76-54=22', '73+49=122']
Exploring Operation: 122-22=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[54, 76, 73, 49], Operations: []
Exploring Operation: 76-54=22, Resulting Numbers: [73, 49, 22]
Generated Node #0,0: 100:[73, 49, 22] Operation: 76-54=22
Exploring Operation: 76-73=3, Resulting Numbers: [54, 49, 3]
Generated Node #0,1: 100:[54, 49, 3] Operation: 76-73=3
Moving to Node #0,1
Current State: 100:[54, 49, 3], Operations: ['76-73=3']
Exploring Operation: 54-3=51, Resulting Numbers: [49, 51]
Generated Node #0,1,0: 100:[49, 51] Operation: 54-3=51
Exploring Operation: 54-49=5, Resulting Numbers: [3, 5]
Generated Node #0,1,1: 100:[3, 5] Operation: 54-49=5
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 100:[3, 5], Operations: ['76-73=3', '54-49=5']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,100 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 100:[49, 51], Operations: ['76-73=3', '54-3=51']
Exploring Operation: 49+51=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Moving to Node #0
Current State: 100:[54, 76, 73, 49], Operations: []
Exploring Operation: 76-73=3, Resulting Numbers: [54, 49, 3]
Generated Node #0,1: 100:[54, 49, 3] Operation: 76-73=3
Moving to Node #0,1
Current State: 100:[54, 49, 3], Operations: ['76-73=3']
Exploring Operation: 54-3=51, Resulting Numbers: [49, 51]
Generated Node #0,1,0: 100:[49, 51] Operation: 54-3=51
Moving to Node #0,1,0
Current State: 100:[49, 51], Operations: ['76-73=3', '54-3=51']
Exploring Operation: 49+51=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | mult_heuristic |
[
62,
55,
4,
75
] | 67 | [
"75-55=20",
"20/4=5",
"62+5=67"
] | Current State: 67:[62, 55, 4, 75], Operations: []
Exploring Operation: 75-55=20, Resulting Numbers: [62, 4, 20]
Generated Node #2: [62, 4, 20] from Operation: 75-55=20
Current State: 67:[62, 4, 20], Operations: ['75-55=20']
Exploring Operation: 20/4=5, Resulting Numbers: [62, 5]
Generated Node #3: [62, 5] from Operation: 20/4=5
Current State: 67:[62, 5], Operations: ['75-55=20', '20/4=5']
Exploring Operation: 62+5=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[62, 55, 4, 75], Operations: []
Exploring Operation: 55+4=59, Resulting Numbers: [62, 75, 59]
Generated Node #0,0: 67:[62, 75, 59] Operation: 55+4=59
Exploring Operation: 75-4=71, Resulting Numbers: [62, 55, 71]
Generated Node #0,1: 67:[62, 55, 71] Operation: 75-4=71
Exploring Operation: 62+4=66, Resulting Numbers: [55, 75, 66]
Generated Node #0,2: 67:[55, 75, 66] Operation: 62+4=66
Exploring Operation: 62-4=58, Resulting Numbers: [55, 75, 58]
Generated Node #0,3: 67:[55, 75, 58] Operation: 62-4=58
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[62, 75, 59], Operations: ['55+4=59']
Exploring Operation: 75-62=13, Resulting Numbers: [59, 13]
Generated Node #0,0,0: 67:[59, 13] Operation: 75-62=13
Exploring Operation: 62+59=121, Resulting Numbers: [75, 121]
Generated Node #0,0,1: 67:[75, 121] Operation: 62+59=121
Exploring Operation: 75-59=16, Resulting Numbers: [62, 16]
Generated Node #0,0,2: 67:[62, 16] Operation: 75-59=16
Exploring Operation: 62-59=3, Resulting Numbers: [75, 3]
Generated Node #0,0,3: 67:[75, 3] Operation: 62-59=3
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 67:[62, 16], Operations: ['55+4=59', '75-59=16']
Exploring Operation: 62*16=992, Resulting Numbers: [992]
992,67 unequal: No Solution
Exploring Operation: 62+16=78, Resulting Numbers: [78]
78,67 unequal: No Solution
Exploring Operation: 62-16=46, Resulting Numbers: [46]
46,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,0
Current State: 67:[59, 13], Operations: ['55+4=59', '75-62=13']
Exploring Operation: 59-13=46, Resulting Numbers: [46]
46,67 unequal: No Solution
Exploring Operation: 59*13=767, Resulting Numbers: [767]
767,67 unequal: No Solution
Exploring Operation: 59+13=72, Resulting Numbers: [72]
72,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:[75, 121], Operations: ['55+4=59', '62+59=121']
Exploring Operation: 121-75=46, Resulting Numbers: [46]
46,67 unequal: No Solution
Exploring Operation: 75*121=9075, Resulting Numbers: [9075]
9075,67 unequal: No Solution
Exploring Operation: 75+121=196, Resulting Numbers: [196]
196,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,3
Current State: 67:[75, 3], Operations: ['55+4=59', '62-59=3']
Exploring Operation: 75*3=225, Resulting Numbers: [225]
225,67 unequal: No Solution
Exploring Operation: 75/3=25, Resulting Numbers: [25]
25,67 unequal: No Solution
Exploring Operation: 75-3=72, Resulting Numbers: [72]
72,67 unequal: No Solution
Exploring Operation: 75+3=78, Resulting Numbers: [78]
78,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:[62, 55, 71], Operations: ['75-4=71']
Exploring Operation: 71-55=16, Resulting Numbers: [62, 16]
Generated Node #0,1,0: 67:[62, 16] Operation: 71-55=16
Exploring Operation: 62-55=7, Resulting Numbers: [71, 7]
Generated Node #0,1,1: 67:[71, 7] Operation: 62-55=7
Exploring Operation: 55+71=126, Resulting Numbers: [62, 126]
Generated Node #0,1,2: 67:[62, 126] Operation: 55+71=126
Exploring Operation: 62+55=117, Resulting Numbers: [71, 117]
Generated Node #0,1,3: 67:[71, 117] Operation: 62+55=117
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 67:[71, 117], Operations: ['75-4=71', '62+55=117']
Exploring Operation: 71+117=188, Resulting Numbers: [188]
188,67 unequal: No Solution
Exploring Operation: 71*117=8307, Resulting Numbers: [8307]
8307,67 unequal: No Solution
Exploring Operation: 117-71=46, Resulting Numbers: [46]
46,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,1,0
Current State: 67:[62, 16], Operations: ['75-4=71', '71-55=16']
Exploring Operation: 62*16=992, Resulting Numbers: [992]
992,67 unequal: No Solution
Exploring Operation: 62+16=78, Resulting Numbers: [78]
78,67 unequal: No Solution
Exploring Operation: 62-16=46, Resulting Numbers: [46]
46,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,1,1
Current State: 67:[71, 7], Operations: ['75-4=71', '62-55=7']
Exploring Operation: 71-7=64, Resulting Numbers: [64]
64,67 unequal: No Solution
Exploring Operation: 71*7=497, Resulting Numbers: [497]
497,67 unequal: No Solution
Exploring Operation: 71+7=78, Resulting Numbers: [78]
78,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,1,2
Current State: 67:[62, 126], Operations: ['75-4=71', '55+71=126']
Exploring Operation: 62+126=188, Resulting Numbers: [188]
188,67 unequal: No Solution
Exploring Operation: 62*126=7812, Resulting Numbers: [7812]
7812,67 unequal: No Solution
Exploring Operation: 126-62=64, Resulting Numbers: [64]
64,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,2
Current State: 67:[55, 75, 66], Operations: ['62+4=66']
Exploring Operation: 55+75=130, Resulting Numbers: [66, 130]
Generated Node #0,2,0: 67:[66, 130] Operation: 55+75=130
Exploring Operation: 66-55=11, Resulting Numbers: [75, 11]
Generated Node #0,2,1: 67:[75, 11] Operation: 66-55=11
Exploring Operation: 75-55=20, Resulting Numbers: [66, 20]
Generated Node #0,2,2: 67:[66, 20] Operation: 75-55=20
Exploring Operation: 55+66=121, Resulting Numbers: [75, 121]
Generated Node #0,2,3: 67:[75, 121] Operation: 55+66=121
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 67:[66, 20], Operations: ['62+4=66', '75-55=20']
Exploring Operation: 66*20=1320, Resulting Numbers: [1320]
1320,67 unequal: No Solution
Exploring Operation: 66-20=46, Resulting Numbers: [46]
46,67 unequal: No Solution
Exploring Operation: 66+20=86, Resulting Numbers: [86]
86,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,3
Current State: 67:[75, 121], Operations: ['62+4=66', '55+66=121']
Exploring Operation: 121-75=46, Resulting Numbers: [46]
46,67 unequal: No Solution
Exploring Operation: 75*121=9075, Resulting Numbers: [9075]
9075,67 unequal: No Solution
Exploring Operation: 75+121=196, Resulting Numbers: [196]
196,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:[66, 130], Operations: ['62+4=66', '55+75=130']
Exploring Operation: 66*130=8580, Resulting Numbers: [8580]
8580,67 unequal: No Solution
Exploring Operation: 130-66=64, Resulting Numbers: [64]
64,67 unequal: No Solution
Exploring Operation: 66+130=196, Resulting Numbers: [196]
196,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:[75, 11], Operations: ['62+4=66', '66-55=11']
Exploring Operation: 75+11=86, Resulting Numbers: [86]
86,67 unequal: No Solution
Exploring Operation: 75-11=64, Resulting Numbers: [64]
64,67 unequal: No Solution
Exploring Operation: 75*11=825, Resulting Numbers: [825]
825,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,3
Current State: 67:[55, 75, 58], Operations: ['62-4=58']
Exploring Operation: 75-55=20, Resulting Numbers: [58, 20]
Generated Node #0,3,0: 67:[58, 20] Operation: 75-55=20
Exploring Operation: 55+75=130, Resulting Numbers: [58, 130]
Generated Node #0,3,1: 67:[58, 130] Operation: 55+75=130
Exploring Operation: 75-58=17, Resulting Numbers: [55, 17]
Generated Node #0,3,2: 67:[55, 17] Operation: 75-58=17
Exploring Operation: 55+58=113, Resulting Numbers: [75, 113]
Generated Node #0,3,3: 67:[75, 113] Operation: 55+58=113
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 67:[75, 113], Operations: ['62-4=58', '55+58=113']
Exploring Operation: 75+113=188, Resulting Numbers: [188]
188,67 unequal: No Solution
Exploring Operation: 75*113=8475, Resulting Numbers: [8475]
8475,67 unequal: No Solution
Exploring Operation: 113-75=38, Resulting Numbers: [38]
38,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,3,0
Current State: 67:[58, 20], Operations: ['62-4=58', '75-55=20']
Exploring Operation: 58-20=38, Resulting Numbers: [38]
38,67 unequal: No Solution
Exploring Operation: 58*20=1160, Resulting Numbers: [1160]
1160,67 unequal: No Solution
Exploring Operation: 58+20=78, Resulting Numbers: [78]
78,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,3,2
Current State: 67:[55, 17], Operations: ['62-4=58', '75-58=17']
Exploring Operation: 55-17=38, Resulting Numbers: [38]
38,67 unequal: No Solution
Exploring Operation: 55+17=72, Resulting Numbers: [72]
72,67 unequal: No Solution
Exploring Operation: 55*17=935, Resulting Numbers: [935]
935,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,3,1
Current State: 67:[58, 130], Operations: ['62-4=58', '55+75=130']
Exploring Operation: 58+130=188, Resulting Numbers: [188]
188,67 unequal: No Solution
Exploring Operation: 130-58=72, Resulting Numbers: [72]
72,67 unequal: No Solution
Exploring Operation: 58*130=7540, Resulting Numbers: [7540]
7540,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
90,
91,
1,
84
] | 86 | [
"91-90=1",
"1+84=85",
"1+85=86"
] | Current State: 86:[90, 91, 1, 84], Operations: []
Exploring Operation: 91-90=1, Resulting Numbers: [1, 84, 1]
Generated Node #2: [1, 84, 1] from Operation: 91-90=1
Current State: 86:[1, 84, 1], Operations: ['91-90=1']
Exploring Operation: 1+84=85, Resulting Numbers: [85]
85,86 equal: Goal Reached
Exploring Operation: 1+85=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[90, 91, 1, 84], Operations: []
Exploring Operation: 91-90=1, Resulting Numbers: [1, 84, 1]
Generated Node #0,0: 86:[1, 84, 1] Operation: 91-90=1
Exploring Operation: 90-1=89, Resulting Numbers: [91, 84, 89]
Generated Node #0,1: 86:[91, 84, 89] Operation: 90-1=89
Exploring Operation: 90-84=6, Resulting Numbers: [91, 1, 6]
Generated Node #0,2: 86:[91, 1, 6] Operation: 90-84=6
Moving to Node #0,0
Current State: 86:[1, 84, 1], Operations: ['91-90=1']
Exploring Operation: 1+1=2, Resulting Numbers: [84, 2]
Generated Node #0,0,0: 86:[84, 2] Operation: 1+1=2
Exploring Operation: 1+84=85, Resulting Numbers: [1, 85]
Generated Node #0,0,1: 86:[1, 85] Operation: 1+84=85
Exploring Operation: 84+1=85, Resulting Numbers: [1, 85]
Generated Node #0,0,2: 86:[1, 85] Operation: 84+1=85
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[84, 2], Operations: ['91-90=1', '1+1=2']
Exploring Operation: 84/2=42, Resulting Numbers: [42]
42,86 unequal: No Solution
Exploring Operation: 84+2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[90, 91, 1, 84], Operations: []
Exploring Operation: 91-90=1, Resulting Numbers: [1, 84, 1]
Generated Node #0,0: 86:[1, 84, 1] Operation: 91-90=1
Moving to Node #0,0
Current State: 86:[1, 84, 1], Operations: ['91-90=1']
Exploring Operation: 1+1=2, Resulting Numbers: [84, 2]
Generated Node #0,0,0: 86:[84, 2] Operation: 1+1=2
Moving to Node #0,0,0
Current State: 86:[84, 2], Operations: ['91-90=1', '1+1=2']
Exploring Operation: 84+2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
60,
9,
45,
88
] | 94 | [
"60-9=51",
"88-45=43",
"51+43=94"
] | Current State: 94:[60, 9, 45, 88], Operations: []
Exploring Operation: 60-9=51, Resulting Numbers: [45, 88, 51]
Generated Node #2: [45, 88, 51] from Operation: 60-9=51
Current State: 94:[45, 88, 51], Operations: ['60-9=51']
Exploring Operation: 88-45=43, Resulting Numbers: [51, 43]
Generated Node #3: [51, 43] from Operation: 88-45=43
Current State: 94:[51, 43], Operations: ['60-9=51', '88-45=43']
Exploring Operation: 51+43=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[60, 9, 45, 88], Operations: []
Exploring Operation: 45/9=5, Resulting Numbers: [60, 88, 5]
Generated Node #0,0: 94:[60, 88, 5] Operation: 45/9=5
Exploring Operation: 9+88=97, Resulting Numbers: [60, 45, 97]
Generated Node #0,1: 94:[60, 45, 97] Operation: 9+88=97
Exploring Operation: 60-9=51, Resulting Numbers: [45, 88, 51]
Generated Node #0,2: 94:[45, 88, 51] Operation: 60-9=51
Exploring Operation: 88-45=43, Resulting Numbers: [60, 9, 43]
Generated Node #0,3: 94:[60, 9, 43] Operation: 88-45=43
Exploring Operation: 60+45=105, Resulting Numbers: [9, 88, 105]
Generated Node #0,4: 94:[9, 88, 105] Operation: 60+45=105
Start Sub Search at level 1: Moving to Node #0,2
Current State: 94:[45, 88, 51], Operations: ['60-9=51']
Exploring Operation: 88-51=37, Resulting Numbers: [45, 37]
Generated Node #0,2,0: 94:[45, 37] Operation: 88-51=37
Exploring Operation: 45+51=96, Resulting Numbers: [88, 96]
Generated Node #0,2,1: 94:[88, 96] Operation: 45+51=96
Exploring Operation: 45+88=133, Resulting Numbers: [51, 133]
Generated Node #0,2,2: 94:[51, 133] Operation: 45+88=133
Exploring Operation: 51-45=6, Resulting Numbers: [88, 6]
Generated Node #0,2,3: 94:[88, 6] Operation: 51-45=6
Exploring Operation: 88-45=43, Resulting Numbers: [51, 43]
Generated Node #0,2,4: 94:[51, 43] Operation: 88-45=43
Moving to Node #0,2,1
Current State: 94:[88, 96], Operations: ['60-9=51', '45+51=96']
Exploring Operation: 96-88=8, Resulting Numbers: [8]
8,94 unequal: No Solution
Exploring Operation: 88*96=8448, Resulting Numbers: [8448]
8448,94 unequal: No Solution
Exploring Operation: 88+96=184, Resulting Numbers: [184]
184,94 unequal: No Solution
Moving to Node #0,2,4
Current State: 94:[51, 43], Operations: ['60-9=51', '88-45=43']
Exploring Operation: 51*43=2193, Resulting Numbers: [2193]
2193,94 unequal: No Solution
Exploring Operation: 51+43=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[60, 9, 45, 88], Operations: []
Exploring Operation: 60-9=51, Resulting Numbers: [45, 88, 51]
Generated Node #0,2: 94:[45, 88, 51] Operation: 60-9=51
Moving to Node #0,2
Current State: 94:[45, 88, 51], Operations: ['60-9=51']
Exploring Operation: 88-45=43, Resulting Numbers: [51, 43]
Generated Node #0,2,4: 94:[51, 43] Operation: 88-45=43
Moving to Node #0,2,4
Current State: 94:[51, 43], Operations: ['60-9=51', '88-45=43']
Exploring Operation: 51+43=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_5 | sum_heuristic |
[
14,
70,
13,
11
] | 88 | [
"70/14=5",
"13-5=8",
"11*8=88"
] | Current State: 88:[14, 70, 13, 11], Operations: []
Exploring Operation: 70/14=5, Resulting Numbers: [13, 11, 5]
Generated Node #2: [13, 11, 5] from Operation: 70/14=5
Current State: 88:[13, 11, 5], Operations: ['70/14=5']
Exploring Operation: 13-5=8, Resulting Numbers: [11, 8]
Generated Node #3: [11, 8] from Operation: 13-5=8
Current State: 88:[11, 8], Operations: ['70/14=5', '13-5=8']
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[14, 70, 13, 11], Operations: []
Exploring Operation: 70/14=5, Resulting Numbers: [13, 11, 5]
Generated Node #0,0: 88:[13, 11, 5] Operation: 70/14=5
Exploring Operation: 14+70=84, Resulting Numbers: [13, 11, 84]
Generated Node #0,1: 88:[13, 11, 84] Operation: 14+70=84
Moving to Node #0,0
Current State: 88:[13, 11, 5], Operations: ['70/14=5']
Exploring Operation: 13-5=8, Resulting Numbers: [11, 8]
Generated Node #0,0,0: 88:[11, 8] Operation: 13-5=8
Exploring Operation: 13-11=2, Resulting Numbers: [5, 2]
Generated Node #0,0,1: 88:[5, 2] Operation: 13-11=2
Moving to Node #0,1
Current State: 88:[13, 11, 84], Operations: ['14+70=84']
Exploring Operation: 13+11=24, Resulting Numbers: [84, 24]
Generated Node #0,1,0: 88:[84, 24] Operation: 13+11=24
Exploring Operation: 13-11=2, Resulting Numbers: [84, 2]
Generated Node #0,1,1: 88:[84, 2] Operation: 13-11=2
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 88:[84, 2], Operations: ['14+70=84', '13-11=2']
Exploring Operation: 84+2=86, Resulting Numbers: [86]
86,88 unequal: No Solution
Exploring Operation: 84/2=42, Resulting Numbers: [42]
42,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:[84, 24], Operations: ['14+70=84', '13+11=24']
Exploring Operation: 84-24=60, Resulting Numbers: [60]
60,88 unequal: No Solution
Exploring Operation: 84+24=108, Resulting Numbers: [108]
108,88 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: 88:[11, 8], Operations: ['70/14=5', '13-5=8']
Exploring Operation: 11-8=3, Resulting Numbers: [3]
3,88 unequal: No Solution
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[14, 70, 13, 11], Operations: []
Exploring Operation: 70/14=5, Resulting Numbers: [13, 11, 5]
Generated Node #0,0: 88:[13, 11, 5] Operation: 70/14=5
Moving to Node #0,0
Current State: 88:[13, 11, 5], Operations: ['70/14=5']
Exploring Operation: 13-5=8, Resulting Numbers: [11, 8]
Generated Node #0,0,0: 88:[11, 8] Operation: 13-5=8
Moving to Node #0,0,0
Current State: 88:[11, 8], Operations: ['70/14=5', '13-5=8']
Exploring Operation: 11*8=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 0.986111 | hs_2 | sum_heuristic |
[
67,
28,
65,
40
] | 14 | [
"67-28=39",
"65-40=25",
"39-25=14"
] | Current State: 14:[67, 28, 65, 40], Operations: []
Exploring Operation: 67-28=39, Resulting Numbers: [65, 40, 39]
Generated Node #2: [65, 40, 39] from Operation: 67-28=39
Current State: 14:[65, 40, 39], Operations: ['67-28=39']
Exploring Operation: 65-40=25, Resulting Numbers: [39, 25]
Generated Node #3: [39, 25] from Operation: 65-40=25
Current State: 14:[39, 25], Operations: ['67-28=39', '65-40=25']
Exploring Operation: 39-25=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[67, 28, 65, 40], Operations: []
Exploring Operation: 67-65=2, Resulting Numbers: [28, 40, 2]
Generated Node #0,0: 14:[28, 40, 2] Operation: 67-65=2
Exploring Operation: 67-40=27, Resulting Numbers: [28, 65, 27]
Generated Node #0,1: 14:[28, 65, 27] Operation: 67-40=27
Exploring Operation: 65-40=25, Resulting Numbers: [67, 28, 25]
Generated Node #0,2: 14:[67, 28, 25] Operation: 65-40=25
Exploring Operation: 67-28=39, Resulting Numbers: [65, 40, 39]
Generated Node #0,3: 14:[65, 40, 39] Operation: 67-28=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 14:[28, 40, 2], Operations: ['67-65=2']
Exploring Operation: 28/2=14, Resulting Numbers: [40, 14]
Generated Node #0,0,0: 14:[40, 14] Operation: 28/2=14
Exploring Operation: 40-28=12, Resulting Numbers: [2, 12]
Generated Node #0,0,1: 14:[2, 12] Operation: 40-28=12
Exploring Operation: 28-2=26, Resulting Numbers: [40, 26]
Generated Node #0,0,2: 14:[40, 26] Operation: 28-2=26
Exploring Operation: 40/2=20, Resulting Numbers: [28, 20]
Generated Node #0,0,3: 14:[28, 20] Operation: 40/2=20
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 14:[2, 12], Operations: ['67-65=2', '40-28=12']
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,14 unequal: No Solution
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[67, 28, 65, 40], Operations: []
Exploring Operation: 67-65=2, Resulting Numbers: [28, 40, 2]
Generated Node #0,0: 14:[28, 40, 2] Operation: 67-65=2
Moving to Node #0,0
Current State: 14:[28, 40, 2], Operations: ['67-65=2']
Exploring Operation: 40-28=12, Resulting Numbers: [2, 12]
Generated Node #0,0,1: 14:[2, 12] Operation: 40-28=12
Moving to Node #0,0,1
Current State: 14:[2, 12], Operations: ['67-65=2', '40-28=12']
Exploring Operation: 2+12=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
94,
77,
4,
48
] | 61 | [
"94-77=17",
"48-4=44",
"17+44=61"
] | Current State: 61:[94, 77, 4, 48], Operations: []
Exploring Operation: 94-77=17, Resulting Numbers: [4, 48, 17]
Generated Node #2: [4, 48, 17] from Operation: 94-77=17
Current State: 61:[4, 48, 17], Operations: ['94-77=17']
Exploring Operation: 48-4=44, Resulting Numbers: [17, 44]
Generated Node #3: [17, 44] from Operation: 48-4=44
Current State: 61:[17, 44], Operations: ['94-77=17', '48-4=44']
Exploring Operation: 17+44=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[94, 77, 4, 48], Operations: []
Exploring Operation: 94-4=90, Resulting Numbers: [77, 48, 90]
Generated Node #0,0: 61:[77, 48, 90] Operation: 94-4=90
Moving to Node #0,0
Current State: 61:[77, 48, 90], Operations: ['94-4=90']
Exploring Operation: 90-48=42, Resulting Numbers: [77, 42]
Generated Node #0,0,0: 61:[77, 42] Operation: 90-48=42
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[77, 42], Operations: ['94-4=90', '90-48=42']
Exploring Operation: 77-42=35, Resulting Numbers: [35]
35,61 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 |
[
9,
5,
49,
5
] | 39 | [
"49-9=40",
"5/5=1",
"40-1=39"
] | Current State: 39:[9, 5, 49, 5], Operations: []
Exploring Operation: 49-9=40, Resulting Numbers: [5, 5, 40]
Generated Node #2: [5, 5, 40] from Operation: 49-9=40
Current State: 39:[5, 5, 40], Operations: ['49-9=40']
Exploring Operation: 5/5=1, Resulting Numbers: [40, 1]
Generated Node #3: [40, 1] from Operation: 5/5=1
Current State: 39:[40, 1], Operations: ['49-9=40', '5/5=1']
Exploring Operation: 40-1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[9, 5, 49, 5], Operations: []
Exploring Operation: 49-9=40, Resulting Numbers: [5, 5, 40]
Generated Node #0,0: 39:[5, 5, 40] Operation: 49-9=40
Exploring Operation: 9+5=14, Resulting Numbers: [49, 5, 14]
Generated Node #0,1: 39:[49, 5, 14] Operation: 9+5=14
Exploring Operation: 49-5=44, Resulting Numbers: [9, 5, 44]
Generated Node #0,2: 39:[9, 5, 44] Operation: 49-5=44
Exploring Operation: 49-5=44, Resulting Numbers: [9, 5, 44]
Generated Node #0,3: 39:[9, 5, 44] Operation: 49-5=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[5, 5, 40], Operations: ['49-9=40']
Exploring Operation: 5+5=10, Resulting Numbers: [40, 10]
Generated Node #0,0,0: 39:[40, 10] Operation: 5+5=10
Exploring Operation: 5-5=0, Resulting Numbers: [40, 0]
Generated Node #0,0,1: 39:[40, 0] Operation: 5-5=0
Exploring Operation: 5/5=1, Resulting Numbers: [40, 1]
Generated Node #0,0,2: 39:[40, 1] Operation: 5/5=1
Exploring Operation: 40-5=35, Resulting Numbers: [5, 35]
Generated Node #0,0,3: 39:[5, 35] Operation: 40-5=35
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 39:[40, 1], Operations: ['49-9=40', '5/5=1']
Exploring Operation: 40-1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[9, 5, 49, 5], Operations: []
Exploring Operation: 49-9=40, Resulting Numbers: [5, 5, 40]
Generated Node #0,0: 39:[5, 5, 40] Operation: 49-9=40
Moving to Node #0,0
Current State: 39:[5, 5, 40], Operations: ['49-9=40']
Exploring Operation: 5/5=1, Resulting Numbers: [40, 1]
Generated Node #0,0,2: 39:[40, 1] Operation: 5/5=1
Moving to Node #0,0,2
Current State: 39:[40, 1], Operations: ['49-9=40', '5/5=1']
Exploring Operation: 40-1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
5,
99,
93,
89
] | 59 | [
"99-93=6",
"5*6=30",
"89-30=59"
] | Current State: 59:[5, 99, 93, 89], Operations: []
Exploring Operation: 99-93=6, Resulting Numbers: [5, 89, 6]
Generated Node #2: [5, 89, 6] from Operation: 99-93=6
Current State: 59:[5, 89, 6], Operations: ['99-93=6']
Exploring Operation: 5*6=30, Resulting Numbers: [89, 30]
Generated Node #3: [89, 30] from Operation: 5*6=30
Current State: 59:[89, 30], Operations: ['99-93=6', '5*6=30']
Exploring Operation: 89-30=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[5, 99, 93, 89], Operations: []
Exploring Operation: 99-5=94, Resulting Numbers: [93, 89, 94]
Generated Node #0,0: 59:[93, 89, 94] Operation: 99-5=94
Exploring Operation: 89-5=84, Resulting Numbers: [99, 93, 84]
Generated Node #0,1: 59:[99, 93, 84] Operation: 89-5=84
Exploring Operation: 93-5=88, Resulting Numbers: [99, 89, 88]
Generated Node #0,2: 59:[99, 89, 88] Operation: 93-5=88
Moving to Node #0,0
Current State: 59:[93, 89, 94], Operations: ['99-5=94']
Exploring Operation: 94-89=5, Resulting Numbers: [93, 5]
Generated Node #0,0,0: 59:[93, 5] Operation: 94-89=5
Exploring Operation: 94-93=1, Resulting Numbers: [89, 1]
Generated Node #0,0,1: 59:[89, 1] Operation: 94-93=1
Exploring Operation: 93-89=4, Resulting Numbers: [94, 4]
Generated Node #0,0,2: 59:[94, 4] Operation: 93-89=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 59:[93, 5], Operations: ['99-5=94', '94-89=5']
Exploring Operation: 93-5=88, Resulting Numbers: [88]
88,59 unequal: No Solution
Exploring Operation: 93+5=98, Resulting Numbers: [98]
98,59 unequal: No Solution
Exploring Operation: 93*5=465, Resulting Numbers: [465]
465,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 59:[89, 1], Operations: ['99-5=94', '94-93=1']
Exploring Operation: 89/1=89, Resulting Numbers: [89]
89,59 unequal: No Solution
Exploring Operation: 89*1=89, Resulting Numbers: [89]
89,59 unequal: No Solution
Exploring Operation: 89-1=88, Resulting Numbers: [88]
88,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 59:[94, 4], Operations: ['99-5=94', '93-89=4']
Exploring Operation: 94-4=90, Resulting Numbers: [90]
90,59 unequal: No Solution
Exploring Operation: 94*4=376, Resulting Numbers: [376]
376,59 unequal: No Solution
Exploring Operation: 94+4=98, Resulting Numbers: [98]
98,59 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: 59:[99, 93, 84], Operations: ['89-5=84']
Exploring Operation: 99-93=6, Resulting Numbers: [84, 6]
Generated Node #0,1,0: 59:[84, 6] Operation: 99-93=6
Exploring Operation: 93-84=9, Resulting Numbers: [99, 9]
Generated Node #0,1,1: 59:[99, 9] Operation: 93-84=9
Exploring Operation: 99-84=15, Resulting Numbers: [93, 15]
Generated Node #0,1,2: 59:[93, 15] Operation: 99-84=15
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 59:[84, 6], Operations: ['89-5=84', '99-93=6']
Exploring Operation: 84+6=90, Resulting Numbers: [90]
90,59 unequal: No Solution
Exploring Operation: 84-6=78, Resulting Numbers: [78]
78,59 unequal: No Solution
Exploring Operation: 84/6=14, Resulting Numbers: [14]
14,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 59:[93, 15], Operations: ['89-5=84', '99-84=15']
Exploring Operation: 93+15=108, Resulting Numbers: [108]
108,59 unequal: No Solution
Exploring Operation: 93-15=78, Resulting Numbers: [78]
78,59 unequal: No Solution
Exploring Operation: 93*15=1395, Resulting Numbers: [1395]
1395,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 59:[99, 9], Operations: ['89-5=84', '93-84=9']
Exploring Operation: 99-9=90, Resulting Numbers: [90]
90,59 unequal: No Solution
Exploring Operation: 99/9=11, Resulting Numbers: [11]
11,59 unequal: No Solution
Exploring Operation: 99+9=108, Resulting Numbers: [108]
108,59 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: 59:[99, 89, 88], Operations: ['93-5=88']
Exploring Operation: 89-88=1, Resulting Numbers: [99, 1]
Generated Node #0,2,0: 59:[99, 1] Operation: 89-88=1
Exploring Operation: 99-89=10, Resulting Numbers: [88, 10]
Generated Node #0,2,1: 59:[88, 10] Operation: 99-89=10
Exploring Operation: 99-88=11, Resulting Numbers: [89, 11]
Generated Node #0,2,2: 59:[89, 11] Operation: 99-88=11
Moving to Node #0,2,1
Current State: 59:[88, 10], Operations: ['93-5=88', '99-89=10']
Exploring Operation: 88*10=880, Resulting Numbers: [880]
880,59 unequal: No Solution
Exploring Operation: 88+10=98, Resulting Numbers: [98]
98,59 unequal: No Solution
Exploring Operation: 88-10=78, Resulting Numbers: [78]
78,59 unequal: No Solution
Moving to Node #0,2,2
Current State: 59:[89, 11], Operations: ['93-5=88', '99-88=11']
Exploring Operation: 89*11=979, Resulting Numbers: [979]
979,59 unequal: No Solution
Exploring Operation: 89-11=78, Resulting Numbers: [78]
78,59 unequal: No Solution
Exploring Operation: 89+11=100, Resulting Numbers: [100]
100,59 unequal: No Solution
Moving to Node #0,2,0
Current State: 59:[99, 1], Operations: ['93-5=88', '89-88=1']
Exploring Operation: 99-1=98, Resulting Numbers: [98]
98,59 unequal: No Solution
Exploring Operation: 99/1=99, Resulting Numbers: [99]
99,59 unequal: No Solution
Exploring Operation: 99*1=99, Resulting Numbers: [99]
99,59 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
97,
49,
11,
98
] | 84 | [
"97-11=86",
"98/49=2",
"86-2=84"
] | Current State: 84:[97, 49, 11, 98], Operations: []
Exploring Operation: 97-11=86, Resulting Numbers: [49, 98, 86]
Generated Node #2: [49, 98, 86] from Operation: 97-11=86
Current State: 84:[49, 98, 86], Operations: ['97-11=86']
Exploring Operation: 98/49=2, Resulting Numbers: [86, 2]
Generated Node #3: [86, 2] from Operation: 98/49=2
Current State: 84:[86, 2], Operations: ['97-11=86', '98/49=2']
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[97, 49, 11, 98], Operations: []
Exploring Operation: 98-97=1, Resulting Numbers: [49, 11, 1]
Generated Node #0,0: 84:[49, 11, 1] Operation: 98-97=1
Exploring Operation: 98-49=49, Resulting Numbers: [97, 11, 49]
Generated Node #0,1: 84:[97, 11, 49] Operation: 98-49=49
Exploring Operation: 98/49=2, Resulting Numbers: [97, 11, 2]
Generated Node #0,2: 84:[97, 11, 2] Operation: 98/49=2
Exploring Operation: 97-49=48, Resulting Numbers: [11, 98, 48]
Generated Node #0,3: 84:[11, 98, 48] Operation: 97-49=48
Moving to Node #0,0
Current State: 84:[49, 11, 1], Operations: ['98-97=1']
Exploring Operation: 49*1=49, Resulting Numbers: [11, 49]
Generated Node #0,0,0: 84:[11, 49] Operation: 49*1=49
Exploring Operation: 11+1=12, Resulting Numbers: [49, 12]
Generated Node #0,0,1: 84:[49, 12] Operation: 11+1=12
Exploring Operation: 49-1=48, Resulting Numbers: [11, 48]
Generated Node #0,0,2: 84:[11, 48] Operation: 49-1=48
Exploring Operation: 49-11=38, Resulting Numbers: [1, 38]
Generated Node #0,0,3: 84:[1, 38] Operation: 49-11=38
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 84:[1, 38], Operations: ['98-97=1', '49-11=38']
Exploring Operation: 38/1=38, Resulting Numbers: [38]
38,84 unequal: No Solution
Exploring Operation: 1*38=38, Resulting Numbers: [38]
38,84 unequal: No Solution
Exploring Operation: 38-1=37, Resulting Numbers: [37]
37,84 unequal: No Solution
Exploring Operation: 1+38=39, Resulting Numbers: [39]
39,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,1
Current State: 84:[49, 12], Operations: ['98-97=1', '11+1=12']
Exploring Operation: 49+12=61, Resulting Numbers: [61]
61,84 unequal: No Solution
Exploring Operation: 49*12=588, Resulting Numbers: [588]
588,84 unequal: No Solution
Exploring Operation: 49-12=37, Resulting Numbers: [37]
37,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,2
Current State: 84:[11, 48], Operations: ['98-97=1', '49-1=48']
Exploring Operation: 48-11=37, Resulting Numbers: [37]
37,84 unequal: No Solution
Exploring Operation: 11+48=59, Resulting Numbers: [59]
59,84 unequal: No Solution
Exploring Operation: 11*48=528, Resulting Numbers: [528]
528,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:[11, 49], Operations: ['98-97=1', '49*1=49']
Exploring Operation: 11+49=60, Resulting Numbers: [60]
60,84 unequal: No Solution
Exploring Operation: 11*49=539, Resulting Numbers: [539]
539,84 unequal: No Solution
Exploring Operation: 49-11=38, Resulting Numbers: [38]
38,84 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 84:[97, 11, 2], Operations: ['98/49=2']
Exploring Operation: 97-11=86, Resulting Numbers: [2, 86]
Generated Node #0,2,0: 84:[2, 86] Operation: 97-11=86
Exploring Operation: 11*2=22, Resulting Numbers: [97, 22]
Generated Node #0,2,1: 84:[97, 22] Operation: 11*2=22
Exploring Operation: 11+2=13, Resulting Numbers: [97, 13]
Generated Node #0,2,2: 84:[97, 13] Operation: 11+2=13
Exploring Operation: 97-2=95, Resulting Numbers: [11, 95]
Generated Node #0,2,3: 84:[11, 95] Operation: 97-2=95
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 84:[2, 86], Operations: ['98/49=2', '97-11=86']
Exploring Operation: 2*86=172, Resulting Numbers: [172]
172,84 unequal: No Solution
Exploring Operation: 2+86=88, Resulting Numbers: [88]
88,84 unequal: No Solution
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[97, 49, 11, 98], Operations: []
Exploring Operation: 98/49=2, Resulting Numbers: [97, 11, 2]
Generated Node #0,2: 84:[97, 11, 2] Operation: 98/49=2
Moving to Node #0,2
Current State: 84:[97, 11, 2], Operations: ['98/49=2']
Exploring Operation: 97-11=86, Resulting Numbers: [2, 86]
Generated Node #0,2,0: 84:[2, 86] Operation: 97-11=86
Moving to Node #0,2,0
Current State: 84:[2, 86], Operations: ['98/49=2', '97-11=86']
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.972222 | hs_4 | mult_heuristic |
[
51,
26,
49,
8
] | 32 | [
"51-26=25",
"49+8=57",
"57-25=32"
] | Current State: 32:[51, 26, 49, 8], Operations: []
Exploring Operation: 51-26=25, Resulting Numbers: [49, 8, 25]
Generated Node #2: [49, 8, 25] from Operation: 51-26=25
Current State: 32:[49, 8, 25], Operations: ['51-26=25']
Exploring Operation: 49+8=57, Resulting Numbers: [25, 57]
Generated Node #3: [25, 57] from Operation: 49+8=57
Current State: 32:[25, 57], Operations: ['51-26=25', '49+8=57']
Exploring Operation: 57-25=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[51, 26, 49, 8], Operations: []
Exploring Operation: 49-26=23, Resulting Numbers: [51, 8, 23]
Generated Node #0,0: 32:[51, 8, 23] Operation: 49-26=23
Exploring Operation: 51-49=2, Resulting Numbers: [26, 8, 2]
Generated Node #0,1: 32:[26, 8, 2] Operation: 51-49=2
Exploring Operation: 51-26=25, Resulting Numbers: [49, 8, 25]
Generated Node #0,2: 32:[49, 8, 25] Operation: 51-26=25
Moving to Node #0,1
Current State: 32:[26, 8, 2], Operations: ['51-49=2']
Exploring Operation: 26+8=34, Resulting Numbers: [2, 34]
Generated Node #0,1,0: 32:[2, 34] Operation: 26+8=34
Exploring Operation: 26/2=13, Resulting Numbers: [8, 13]
Generated Node #0,1,1: 32:[8, 13] Operation: 26/2=13
Exploring Operation: 26-8=18, Resulting Numbers: [2, 18]
Generated Node #0,1,2: 32:[2, 18] Operation: 26-8=18
Moving to Node #0,2
Current State: 32:[49, 8, 25], Operations: ['51-26=25']
Exploring Operation: 49-8=41, Resulting Numbers: [25, 41]
Generated Node #0,2,0: 32:[25, 41] Operation: 49-8=41
Exploring Operation: 8+25=33, Resulting Numbers: [49, 33]
Generated Node #0,2,1: 32:[49, 33] Operation: 8+25=33
Exploring Operation: 49-25=24, Resulting Numbers: [8, 24]
Generated Node #0,2,2: 32:[8, 24] Operation: 49-25=24
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 32:[8, 24], Operations: ['51-26=25', '49-25=24']
Exploring Operation: 8+24=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[51, 26, 49, 8], Operations: []
Exploring Operation: 51-26=25, Resulting Numbers: [49, 8, 25]
Generated Node #0,2: 32:[49, 8, 25] Operation: 51-26=25
Moving to Node #0,2
Current State: 32:[49, 8, 25], Operations: ['51-26=25']
Exploring Operation: 49-25=24, Resulting Numbers: [8, 24]
Generated Node #0,2,2: 32:[8, 24] Operation: 49-25=24
Moving to Node #0,2,2
Current State: 32:[8, 24], Operations: ['51-26=25', '49-25=24']
Exploring Operation: 8+24=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
64,
15,
97,
97
] | 49 | [
"64-15=49",
"97-97=0",
"49+0=49"
] | Current State: 49:[64, 15, 97, 97], Operations: []
Exploring Operation: 64-15=49, Resulting Numbers: [97, 97, 49]
Generated Node #2: [97, 97, 49] from Operation: 64-15=49
Current State: 49:[97, 97, 49], Operations: ['64-15=49']
Exploring Operation: 97-97=0, Resulting Numbers: [49, 0]
Generated Node #3: [49, 0] from Operation: 97-97=0
Current State: 49:[49, 0], Operations: ['64-15=49', '97-97=0']
Exploring Operation: 49+0=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[64, 15, 97, 97], Operations: []
Exploring Operation: 64-15=49, Resulting Numbers: [97, 97, 49]
Generated Node #0,0: 49:[97, 97, 49] Operation: 64-15=49
Exploring Operation: 97-97=0, Resulting Numbers: [64, 15, 0]
Generated Node #0,1: 49:[64, 15, 0] Operation: 97-97=0
Exploring Operation: 97-64=33, Resulting Numbers: [15, 97, 33]
Generated Node #0,2: 49:[15, 97, 33] Operation: 97-64=33
Exploring Operation: 97-64=33, Resulting Numbers: [15, 97, 33]
Generated Node #0,3: 49:[15, 97, 33] Operation: 97-64=33
Exploring Operation: 97/97=1, Resulting Numbers: [64, 15, 1]
Generated Node #0,4: 49:[64, 15, 1] Operation: 97/97=1
Start Sub Search at level 1: Moving to Node #0,4
Current State: 49:[64, 15, 1], Operations: ['97/97=1']
Exploring Operation: 64-1=63, Resulting Numbers: [15, 63]
Generated Node #0,4,0: 49:[15, 63] Operation: 64-1=63
Exploring Operation: 15-1=14, Resulting Numbers: [64, 14]
Generated Node #0,4,1: 49:[64, 14] Operation: 15-1=14
Exploring Operation: 64/1=64, Resulting Numbers: [15, 64]
Generated Node #0,4,2: 49:[15, 64] Operation: 64/1=64
Exploring Operation: 64*1=64, Resulting Numbers: [15, 64]
Generated Node #0,4,3: 49:[15, 64] Operation: 64*1=64
Exploring Operation: 64-15=49, Resulting Numbers: [1, 49]
Generated Node #0,4,4: 49:[1, 49] Operation: 64-15=49
Moving to Node #0,4,4
Current State: 49:[1, 49], Operations: ['97/97=1', '64-15=49']
Exploring Operation: 49/1=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[64, 15, 97, 97], Operations: []
Exploring Operation: 97/97=1, Resulting Numbers: [64, 15, 1]
Generated Node #0,4: 49:[64, 15, 1] Operation: 97/97=1
Moving to Node #0,4
Current State: 49:[64, 15, 1], Operations: ['97/97=1']
Exploring Operation: 64-15=49, Resulting Numbers: [1, 49]
Generated Node #0,4,4: 49:[1, 49] Operation: 64-15=49
Moving to Node #0,4,4
Current State: 49:[1, 49], Operations: ['97/97=1', '64-15=49']
Exploring Operation: 49/1=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
2,
85,
75,
88
] | 96 | [
"85-2=83",
"88-75=13",
"83+13=96"
] | Current State: 96:[2, 85, 75, 88], Operations: []
Exploring Operation: 85-2=83, Resulting Numbers: [75, 88, 83]
Generated Node #2: [75, 88, 83] from Operation: 85-2=83
Current State: 96:[75, 88, 83], Operations: ['85-2=83']
Exploring Operation: 88-75=13, Resulting Numbers: [83, 13]
Generated Node #3: [83, 13] from Operation: 88-75=13
Current State: 96:[83, 13], Operations: ['85-2=83', '88-75=13']
Exploring Operation: 83+13=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[2, 85, 75, 88], Operations: []
Exploring Operation: 85-75=10, Resulting Numbers: [2, 88, 10]
Generated Node #0,0: 96:[2, 88, 10] Operation: 85-75=10
Exploring Operation: 88-75=13, Resulting Numbers: [2, 85, 13]
Generated Node #0,1: 96:[2, 85, 13] Operation: 88-75=13
Moving to Node #0,0
Current State: 96:[2, 88, 10], Operations: ['85-75=10']
Exploring Operation: 88+10=98, Resulting Numbers: [2, 98]
Generated Node #0,0,0: 96:[2, 98] Operation: 88+10=98
Exploring Operation: 88/2=44, Resulting Numbers: [10, 44]
Generated Node #0,0,1: 96:[10, 44] Operation: 88/2=44
Moving to Node #0,1
Current State: 96:[2, 85, 13], Operations: ['88-75=13']
Exploring Operation: 85+13=98, Resulting Numbers: [2, 98]
Generated Node #0,1,0: 96:[2, 98] Operation: 85+13=98
Exploring Operation: 2+85=87, Resulting Numbers: [13, 87]
Generated Node #0,1,1: 96:[13, 87] Operation: 2+85=87
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 96:[2, 98], Operations: ['88-75=13', '85+13=98']
Exploring Operation: 98-2=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[2, 85, 75, 88], Operations: []
Exploring Operation: 88-75=13, Resulting Numbers: [2, 85, 13]
Generated Node #0,1: 96:[2, 85, 13] Operation: 88-75=13
Moving to Node #0,1
Current State: 96:[2, 85, 13], Operations: ['88-75=13']
Exploring Operation: 85+13=98, Resulting Numbers: [2, 98]
Generated Node #0,1,0: 96:[2, 98] Operation: 85+13=98
Moving to Node #0,1,0
Current State: 96:[2, 98], Operations: ['88-75=13', '85+13=98']
Exploring Operation: 98-2=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
84,
47,
68,
85
] | 54 | [
"84-47=37",
"85-68=17",
"37+17=54"
] | Current State: 54:[84, 47, 68, 85], Operations: []
Exploring Operation: 84-47=37, Resulting Numbers: [68, 85, 37]
Generated Node #2: [68, 85, 37] from Operation: 84-47=37
Current State: 54:[68, 85, 37], Operations: ['84-47=37']
Exploring Operation: 85-68=17, Resulting Numbers: [37, 17]
Generated Node #3: [37, 17] from Operation: 85-68=17
Current State: 54:[37, 17], Operations: ['84-47=37', '85-68=17']
Exploring Operation: 37+17=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[84, 47, 68, 85], Operations: []
Exploring Operation: 85-84=1, Resulting Numbers: [47, 68, 1]
Generated Node #0,0: 54:[47, 68, 1] Operation: 85-84=1
Exploring Operation: 85-68=17, Resulting Numbers: [84, 47, 17]
Generated Node #0,1: 54:[84, 47, 17] Operation: 85-68=17
Exploring Operation: 84-68=16, Resulting Numbers: [47, 85, 16]
Generated Node #0,2: 54:[47, 85, 16] Operation: 84-68=16
Exploring Operation: 84-47=37, Resulting Numbers: [68, 85, 37]
Generated Node #0,3: 54:[68, 85, 37] Operation: 84-47=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[47, 68, 1], Operations: ['85-84=1']
Exploring Operation: 68-1=67, Resulting Numbers: [47, 67]
Generated Node #0,0,0: 54:[47, 67] Operation: 68-1=67
Exploring Operation: 47*1=47, Resulting Numbers: [68, 47]
Generated Node #0,0,1: 54:[68, 47] Operation: 47*1=47
Exploring Operation: 68-47=21, Resulting Numbers: [1, 21]
Generated Node #0,0,2: 54:[1, 21] Operation: 68-47=21
Exploring Operation: 47+1=48, Resulting Numbers: [68, 48]
Generated Node #0,0,3: 54:[68, 48] Operation: 47+1=48
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 54:[1, 21], Operations: ['85-84=1', '68-47=21']
Exploring Operation: 21/1=21, Resulting Numbers: [21]
21,54 unequal: No Solution
Exploring Operation: 1*21=21, Resulting Numbers: [21]
21,54 unequal: No Solution
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,54 unequal: No Solution
Exploring Operation: 1+21=22, Resulting Numbers: [22]
22,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 54:[47, 67], Operations: ['85-84=1', '68-1=67']
Exploring Operation: 47*67=3149, Resulting Numbers: [3149]
3149,54 unequal: No Solution
Exploring Operation: 47+67=114, Resulting Numbers: [114]
114,54 unequal: No Solution
Exploring Operation: 67-47=20, Resulting Numbers: [20]
20,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 54:[68, 48], Operations: ['85-84=1', '47+1=48']
Exploring Operation: 68+48=116, Resulting Numbers: [116]
116,54 unequal: No Solution
Exploring Operation: 68*48=3264, Resulting Numbers: [3264]
3264,54 unequal: No Solution
Exploring Operation: 68-48=20, Resulting Numbers: [20]
20,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 54:[68, 47], Operations: ['85-84=1', '47*1=47']
Exploring Operation: 68+47=115, Resulting Numbers: [115]
115,54 unequal: No Solution
Exploring Operation: 68-47=21, Resulting Numbers: [21]
21,54 unequal: No Solution
Exploring Operation: 68*47=3196, Resulting Numbers: [3196]
3196,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 54:[84, 47, 17], Operations: ['85-68=17']
Exploring Operation: 47+17=64, Resulting Numbers: [84, 64]
Generated Node #0,1,0: 54:[84, 64] Operation: 47+17=64
Exploring Operation: 47-17=30, Resulting Numbers: [84, 30]
Generated Node #0,1,1: 54:[84, 30] Operation: 47-17=30
Exploring Operation: 84-47=37, Resulting Numbers: [17, 37]
Generated Node #0,1,2: 54:[17, 37] Operation: 84-47=37
Exploring Operation: 84-17=67, Resulting Numbers: [47, 67]
Generated Node #0,1,3: 54:[47, 67] Operation: 84-17=67
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 54:[17, 37], Operations: ['85-68=17', '84-47=37']
Exploring Operation: 17*37=629, Resulting Numbers: [629]
629,54 unequal: No Solution
Exploring Operation: 17+37=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[84, 47, 68, 85], Operations: []
Exploring Operation: 85-68=17, Resulting Numbers: [84, 47, 17]
Generated Node #0,1: 54:[84, 47, 17] Operation: 85-68=17
Moving to Node #0,1
Current State: 54:[84, 47, 17], Operations: ['85-68=17']
Exploring Operation: 84-47=37, Resulting Numbers: [17, 37]
Generated Node #0,1,2: 54:[17, 37] Operation: 84-47=37
Moving to Node #0,1,2
Current State: 54:[17, 37], Operations: ['85-68=17', '84-47=37']
Exploring Operation: 17+37=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.97309 | hs_4 | sum_heuristic |
[
73,
30,
43,
14
] | 73 | [
"43-30=13",
"14-13=1",
"73*1=73"
] | Current State: 73:[73, 30, 43, 14], Operations: []
Exploring Operation: 43-30=13, Resulting Numbers: [73, 14, 13]
Generated Node #2: [73, 14, 13] from Operation: 43-30=13
Current State: 73:[73, 14, 13], Operations: ['43-30=13']
Exploring Operation: 14-13=1, Resulting Numbers: [73, 1]
Generated Node #3: [73, 1] from Operation: 14-13=1
Current State: 73:[73, 1], Operations: ['43-30=13', '14-13=1']
Exploring Operation: 73*1=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[73, 30, 43, 14], Operations: []
Exploring Operation: 30+43=73, Resulting Numbers: [73, 14, 73]
Generated Node #0,0: 73:[73, 14, 73] Operation: 30+43=73
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[73, 14, 73], Operations: ['30+43=73']
Exploring Operation: 73+14=87, Resulting Numbers: [73, 87]
Generated Node #0,0,0: 73:[73, 87] Operation: 73+14=87
Moving to Node #0,0,0
Current State: 73:[73, 87], Operations: ['30+43=73', '73+14=87']
Exploring Operation: 87-73=14, Resulting Numbers: [14]
14,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
7,
96,
49,
27
] | 81 | [
"7+96=103",
"49-27=22",
"103-22=81"
] | Current State: 81:[7, 96, 49, 27], Operations: []
Exploring Operation: 7+96=103, Resulting Numbers: [49, 27, 103]
Generated Node #2: [49, 27, 103] from Operation: 7+96=103
Current State: 81:[49, 27, 103], Operations: ['7+96=103']
Exploring Operation: 49-27=22, Resulting Numbers: [103, 22]
Generated Node #3: [103, 22] from Operation: 49-27=22
Current State: 81:[103, 22], Operations: ['7+96=103', '49-27=22']
Exploring Operation: 103-22=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[7, 96, 49, 27], Operations: []
Exploring Operation: 96-49=47, Resulting Numbers: [7, 27, 47]
Generated Node #0,0: 81:[7, 27, 47] Operation: 96-49=47
Exploring Operation: 49/7=7, Resulting Numbers: [96, 27, 7]
Generated Node #0,1: 81:[96, 27, 7] Operation: 49/7=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 81:[96, 27, 7], Operations: ['49/7=7']
Exploring Operation: 96-27=69, Resulting Numbers: [7, 69]
Generated Node #0,1,0: 81:[7, 69] Operation: 96-27=69
Exploring Operation: 96-7=89, Resulting Numbers: [27, 89]
Generated Node #0,1,1: 81:[27, 89] Operation: 96-7=89
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 81:[27, 89], Operations: ['49/7=7', '96-7=89']
Exploring Operation: 27+89=116, Resulting Numbers: [116]
116,81 unequal: No Solution
Exploring Operation: 89-27=62, Resulting Numbers: [62]
62,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 81:[7, 69], Operations: ['49/7=7', '96-27=69']
Exploring Operation: 7+69=76, Resulting Numbers: [76]
76,81 unequal: No Solution
Exploring Operation: 69-7=62, Resulting Numbers: [62]
62,81 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[7, 27, 47], Operations: ['96-49=47']
Exploring Operation: 47-27=20, Resulting Numbers: [7, 20]
Generated Node #0,0,0: 81:[7, 20] Operation: 47-27=20
Exploring Operation: 27+47=74, Resulting Numbers: [7, 74]
Generated Node #0,0,1: 81:[7, 74] Operation: 27+47=74
Moving to Node #0,0,0
Current State: 81:[7, 20], Operations: ['96-49=47', '47-27=20']
Exploring Operation: 7+20=27, Resulting Numbers: [27]
27,81 unequal: No Solution
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,81 unequal: No Solution
Moving to Node #0,0,1
Current State: 81:[7, 74], Operations: ['96-49=47', '27+47=74']
Exploring Operation: 74-7=67, Resulting Numbers: [67]
67,81 unequal: No Solution
Exploring Operation: 7+74=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[7, 96, 49, 27], Operations: []
Exploring Operation: 96-49=47, Resulting Numbers: [7, 27, 47]
Generated Node #0,0: 81:[7, 27, 47] Operation: 96-49=47
Moving to Node #0,0
Current State: 81:[7, 27, 47], Operations: ['96-49=47']
Exploring Operation: 27+47=74, Resulting Numbers: [7, 74]
Generated Node #0,0,1: 81:[7, 74] Operation: 27+47=74
Moving to Node #0,0,1
Current State: 81:[7, 74], Operations: ['96-49=47', '27+47=74']
Exploring Operation: 7+74=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_2 | mult_heuristic |
[
24,
49,
79,
2
] | 78 | [
"24*2=48",
"79-49=30",
"48+30=78"
] | Current State: 78:[24, 49, 79, 2], Operations: []
Exploring Operation: 24*2=48, Resulting Numbers: [49, 79, 48]
Generated Node #2: [49, 79, 48] from Operation: 24*2=48
Current State: 78:[49, 79, 48], Operations: ['24*2=48']
Exploring Operation: 79-49=30, Resulting Numbers: [48, 30]
Generated Node #3: [48, 30] from Operation: 79-49=30
Current State: 78:[48, 30], Operations: ['24*2=48', '79-49=30']
Exploring Operation: 48+30=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[24, 49, 79, 2], Operations: []
Exploring Operation: 24+2=26, Resulting Numbers: [49, 79, 26]
Generated Node #0,0: 78:[49, 79, 26] Operation: 24+2=26
Exploring Operation: 79-49=30, Resulting Numbers: [24, 2, 30]
Generated Node #0,1: 78:[24, 2, 30] Operation: 79-49=30
Exploring Operation: 49-2=47, Resulting Numbers: [24, 79, 47]
Generated Node #0,2: 78:[24, 79, 47] Operation: 49-2=47
Exploring Operation: 49-24=25, Resulting Numbers: [79, 2, 25]
Generated Node #0,3: 78:[79, 2, 25] Operation: 49-24=25
Exploring Operation: 24+49=73, Resulting Numbers: [79, 2, 73]
Generated Node #0,4: 78:[79, 2, 73] Operation: 24+49=73
Moving to Node #0,3
Current State: 78:[79, 2, 25], Operations: ['49-24=25']
Exploring Operation: 79+2=81, Resulting Numbers: [25, 81]
Generated Node #0,3,0: 78:[25, 81] Operation: 79+2=81
Exploring Operation: 2+25=27, Resulting Numbers: [79, 27]
Generated Node #0,3,1: 78:[79, 27] Operation: 2+25=27
Exploring Operation: 79-2=77, Resulting Numbers: [25, 77]
Generated Node #0,3,2: 78:[25, 77] Operation: 79-2=77
Exploring Operation: 2*25=50, Resulting Numbers: [79, 50]
Generated Node #0,3,3: 78:[79, 50] Operation: 2*25=50
Exploring Operation: 25-2=23, Resulting Numbers: [79, 23]
Generated Node #0,3,4: 78:[79, 23] Operation: 25-2=23
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 78:[79, 27], Operations: ['49-24=25', '2+25=27']
Exploring Operation: 79*27=2133, Resulting Numbers: [2133]
2133,78 unequal: No Solution
Exploring Operation: 79-27=52, Resulting Numbers: [52]
52,78 unequal: No Solution
Exploring Operation: 79+27=106, Resulting Numbers: [106]
106,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,3,2
Current State: 78:[25, 77], Operations: ['49-24=25', '79-2=77']
Exploring Operation: 77-25=52, Resulting Numbers: [52]
52,78 unequal: No Solution
Exploring Operation: 25*77=1925, Resulting Numbers: [1925]
1925,78 unequal: No Solution
Exploring Operation: 25+77=102, Resulting Numbers: [102]
102,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,3,0
Current State: 78:[25, 81], Operations: ['49-24=25', '79+2=81']
Exploring Operation: 25+81=106, Resulting Numbers: [106]
106,78 unequal: No Solution
Exploring Operation: 25*81=2025, Resulting Numbers: [2025]
2025,78 unequal: No Solution
Exploring Operation: 81-25=56, Resulting Numbers: [56]
56,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,3,4
Current State: 78:[79, 23], Operations: ['49-24=25', '25-2=23']
Exploring Operation: 79+23=102, Resulting Numbers: [102]
102,78 unequal: No Solution
Exploring Operation: 79-23=56, Resulting Numbers: [56]
56,78 unequal: No Solution
Exploring Operation: 79*23=1817, Resulting Numbers: [1817]
1817,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,3,3
Current State: 78:[79, 50], Operations: ['49-24=25', '2*25=50']
Exploring Operation: 79-50=29, Resulting Numbers: [29]
29,78 unequal: No Solution
Exploring Operation: 79+50=129, Resulting Numbers: [129]
129,78 unequal: No Solution
Exploring Operation: 79*50=3950, Resulting Numbers: [3950]
3950,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 78:[79, 2, 73], Operations: ['24+49=73']
Exploring Operation: 2+73=75, Resulting Numbers: [79, 75]
Generated Node #0,4,0: 78:[79, 75] Operation: 2+73=75
Exploring Operation: 79-2=77, Resulting Numbers: [73, 77]
Generated Node #0,4,1: 78:[73, 77] Operation: 79-2=77
Exploring Operation: 79-73=6, Resulting Numbers: [2, 6]
Generated Node #0,4,2: 78:[2, 6] Operation: 79-73=6
Exploring Operation: 73-2=71, Resulting Numbers: [79, 71]
Generated Node #0,4,3: 78:[79, 71] Operation: 73-2=71
Exploring Operation: 79+2=81, Resulting Numbers: [73, 81]
Generated Node #0,4,4: 78:[73, 81] Operation: 79+2=81
Moving to Node #0,1
Current State: 78:[24, 2, 30], Operations: ['79-49=30']
Exploring Operation: 24/2=12, Resulting Numbers: [30, 12]
Generated Node #0,1,0: 78:[30, 12] Operation: 24/2=12
Exploring Operation: 30/2=15, Resulting Numbers: [24, 15]
Generated Node #0,1,1: 78:[24, 15] Operation: 30/2=15
Exploring Operation: 24+2=26, Resulting Numbers: [30, 26]
Generated Node #0,1,2: 78:[30, 26] Operation: 24+2=26
Exploring Operation: 30-24=6, Resulting Numbers: [2, 6]
Generated Node #0,1,3: 78:[2, 6] Operation: 30-24=6
Exploring Operation: 30-2=28, Resulting Numbers: [24, 28]
Generated Node #0,1,4: 78:[24, 28] Operation: 30-2=28
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 78:[2, 6], Operations: ['79-49=30', '30-24=6']
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,78 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,78 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,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,1,1
Current State: 78:[24, 15], Operations: ['79-49=30', '30/2=15']
Exploring Operation: 24-15=9, Resulting Numbers: [9]
9,78 unequal: No Solution
Exploring Operation: 24*15=360, Resulting Numbers: [360]
360,78 unequal: No Solution
Exploring Operation: 24+15=39, Resulting Numbers: [39]
39,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 78:[30, 26], Operations: ['79-49=30', '24+2=26']
Exploring Operation: 30*26=780, Resulting Numbers: [780]
780,78 unequal: No Solution
Exploring Operation: 30+26=56, Resulting Numbers: [56]
56,78 unequal: No Solution
Exploring Operation: 30-26=4, Resulting Numbers: [4]
4,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,1,4
Current State: 78:[24, 28], Operations: ['79-49=30', '30-2=28']
Exploring Operation: 24*28=672, Resulting Numbers: [672]
672,78 unequal: No Solution
Exploring Operation: 28-24=4, Resulting Numbers: [4]
4,78 unequal: No Solution
Exploring Operation: 24+28=52, Resulting Numbers: [52]
52,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,1,0
Current State: 78:[30, 12], Operations: ['79-49=30', '24/2=12']
Exploring Operation: 30*12=360, Resulting Numbers: [360]
360,78 unequal: No Solution
Exploring Operation: 30+12=42, Resulting Numbers: [42]
42,78 unequal: No Solution
Exploring Operation: 30-12=18, Resulting Numbers: [18]
18,78 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: 78:[49, 79, 26], Operations: ['24+2=26']
Exploring Operation: 79-49=30, Resulting Numbers: [26, 30]
Generated Node #0,0,0: 78:[26, 30] Operation: 79-49=30
Exploring Operation: 79-26=53, Resulting Numbers: [49, 53]
Generated Node #0,0,1: 78:[49, 53] Operation: 79-26=53
Exploring Operation: 49+26=75, Resulting Numbers: [79, 75]
Generated Node #0,0,2: 78:[79, 75] Operation: 49+26=75
Exploring Operation: 49-26=23, Resulting Numbers: [79, 23]
Generated Node #0,0,3: 78:[79, 23] Operation: 49-26=23
Exploring Operation: 79+26=105, Resulting Numbers: [49, 105]
Generated Node #0,0,4: 78:[49, 105] Operation: 79+26=105
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 78:[26, 30], Operations: ['24+2=26', '79-49=30']
Exploring Operation: 26+30=56, Resulting Numbers: [56]
56,78 unequal: No Solution
Exploring Operation: 30-26=4, Resulting Numbers: [4]
4,78 unequal: No Solution
Exploring Operation: 26*30=780, Resulting Numbers: [780]
780,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:[79, 75], Operations: ['24+2=26', '49+26=75']
Exploring Operation: 79+75=154, Resulting Numbers: [154]
154,78 unequal: No Solution
Exploring Operation: 79*75=5925, Resulting Numbers: [5925]
5925,78 unequal: No Solution
Exploring Operation: 79-75=4, Resulting Numbers: [4]
4,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,3
Current State: 78:[79, 23], Operations: ['24+2=26', '49-26=23']
Exploring Operation: 79+23=102, Resulting Numbers: [102]
102,78 unequal: No Solution
Exploring Operation: 79-23=56, Resulting Numbers: [56]
56,78 unequal: No Solution
Exploring Operation: 79*23=1817, Resulting Numbers: [1817]
1817,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,1
Current State: 78:[49, 53], Operations: ['24+2=26', '79-26=53']
Exploring Operation: 49*53=2597, Resulting Numbers: [2597]
2597,78 unequal: No Solution
Exploring Operation: 53-49=4, Resulting Numbers: [4]
4,78 unequal: No Solution
Exploring Operation: 49+53=102, Resulting Numbers: [102]
102,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,4
Current State: 78:[49, 105], Operations: ['24+2=26', '79+26=105']
Exploring Operation: 105-49=56, Resulting Numbers: [56]
56,78 unequal: No Solution
Exploring Operation: 49*105=5145, Resulting Numbers: [5145]
5145,78 unequal: No Solution
Exploring Operation: 49+105=154, Resulting Numbers: [154]
154,78 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: 78:[24, 79, 47], Operations: ['49-2=47']
Exploring Operation: 79-47=32, Resulting Numbers: [24, 32]
Generated Node #0,2,0: 78:[24, 32] Operation: 79-47=32
Exploring Operation: 47-24=23, Resulting Numbers: [79, 23]
Generated Node #0,2,1: 78:[79, 23] Operation: 47-24=23
Exploring Operation: 79-24=55, Resulting Numbers: [47, 55]
Generated Node #0,2,2: 78:[47, 55] Operation: 79-24=55
Exploring Operation: 24+79=103, Resulting Numbers: [47, 103]
Generated Node #0,2,3: 78:[47, 103] Operation: 24+79=103
Exploring Operation: 24+47=71, Resulting Numbers: [79, 71]
Generated Node #0,2,4: 78:[79, 71] Operation: 24+47=71
Moving to Node #0,4,2
Current State: 78:[2, 6], Operations: ['24+49=73', '79-73=6']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,78 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,78 unequal: No Solution
Exploring Operation: 2*6=12, Resulting Numbers: [12]
12,78 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,78 unequal: No Solution
Moving to Node #0,2,1
Current State: 78:[79, 23], Operations: ['49-2=47', '47-24=23']
Exploring Operation: 79+23=102, Resulting Numbers: [102]
102,78 unequal: No Solution
Exploring Operation: 79-23=56, Resulting Numbers: [56]
56,78 unequal: No Solution
Exploring Operation: 79*23=1817, Resulting Numbers: [1817]
1817,78 unequal: No Solution
Moving to Node #0,4,0
Current State: 78:[79, 75], Operations: ['24+49=73', '2+73=75']
Exploring Operation: 79-75=4, Resulting Numbers: [4]
4,78 unequal: No Solution
Exploring Operation: 79+75=154, Resulting Numbers: [154]
154,78 unequal: No Solution
Exploring Operation: 79*75=5925, Resulting Numbers: [5925]
5925,78 unequal: No Solution
Moving to Node #0,4,1
Current State: 78:[73, 77], Operations: ['24+49=73', '79-2=77']
Exploring Operation: 73+77=150, Resulting Numbers: [150]
150,78 unequal: No Solution
Exploring Operation: 73*77=5621, Resulting Numbers: [5621]
5621,78 unequal: No Solution
Exploring Operation: 77-73=4, Resulting Numbers: [4]
4,78 unequal: No Solution
Moving to Node #0,2,0
Current State: 78:[24, 32], Operations: ['49-2=47', '79-47=32']
Exploring Operation: 24*32=768, Resulting Numbers: [768]
768,78 unequal: No Solution
Exploring Operation: 24+32=56, Resulting Numbers: [56]
56,78 unequal: No Solution
Exploring Operation: 32-24=8, Resulting Numbers: [8]
8,78 unequal: No Solution
Moving to Node #0,2,4
Current State: 78:[79, 71], Operations: ['49-2=47', '24+47=71']
Exploring Operation: 79*71=5609, Resulting Numbers: [5609]
5609,78 unequal: No Solution
Exploring Operation: 79-71=8, Resulting Numbers: [8]
8,78 unequal: No Solution
Exploring Operation: 79+71=150, Resulting Numbers: [150]
150,78 unequal: No Solution
Moving to Node #0,4,4
Current State: 78:[73, 81], Operations: ['24+49=73', '79+2=81']
Exploring Operation: 73*81=5913, Resulting Numbers: [5913]
5913,78 unequal: No Solution
Exploring Operation: 73+81=154, Resulting Numbers: [154]
154,78 unequal: No Solution
Exploring Operation: 81-73=8, Resulting Numbers: [8]
8,78 unequal: No Solution
Moving to Node #0,4,3
Current State: 78:[79, 71], Operations: ['24+49=73', '73-2=71']
Exploring Operation: 79+71=150, Resulting Numbers: [150]
150,78 unequal: No Solution
Exploring Operation: 79-71=8, Resulting Numbers: [8]
8,78 unequal: No Solution
Exploring Operation: 79*71=5609, Resulting Numbers: [5609]
5609,78 unequal: No Solution
Moving to Node #0,2,2
Current State: 78:[47, 55], Operations: ['49-2=47', '79-24=55']
Exploring Operation: 47+55=102, Resulting Numbers: [102]
102,78 unequal: No Solution
Exploring Operation: 47*55=2585, Resulting Numbers: [2585]
2585,78 unequal: No Solution
Exploring Operation: 55-47=8, Resulting Numbers: [8]
8,78 unequal: No Solution
Moving to Node #0,2,3
Current State: 78:[47, 103], Operations: ['49-2=47', '24+79=103']
Exploring Operation: 47+103=150, Resulting Numbers: [150]
150,78 unequal: No Solution
Exploring Operation: 103-47=56, Resulting Numbers: [56]
56,78 unequal: No Solution
Exploring Operation: 47*103=4841, Resulting Numbers: [4841]
4841,78 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
17,
1,
36,
51
] | 12 | [
"17*1=17",
"36*17=612",
"612/51=12"
] | Current State: 12:[17, 1, 36, 51], Operations: []
Exploring Operation: 17*1=17, Resulting Numbers: [36, 51, 17]
Generated Node #2: [36, 51, 17] from Operation: 17*1=17
Current State: 12:[36, 51, 17], Operations: ['17*1=17']
Exploring Operation: 36*17=612, Resulting Numbers: [51, 612]
Generated Node #3: [51, 612] from Operation: 36*17=612
Current State: 12:[51, 612], Operations: ['17*1=17', '36*17=612']
Exploring Operation: 612/51=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[17, 1, 36, 51], Operations: []
Exploring Operation: 51-36=15, Resulting Numbers: [17, 1, 15]
Generated Node #0,0: 12:[17, 1, 15] Operation: 51-36=15
Moving to Node #0,0
Current State: 12:[17, 1, 15], Operations: ['51-36=15']
Exploring Operation: 17-15=2, Resulting Numbers: [1, 2]
Generated Node #0,0,0: 12:[1, 2] Operation: 17-15=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 12:[1, 2], Operations: ['51-36=15', '17-15=2']
Exploring Operation: 1+2=3, Resulting Numbers: [3]
3,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
92,
57,
23,
12
] | 95 | [
"57+12=69",
"69/23=3",
"92+3=95"
] | Current State: 95:[92, 57, 23, 12], Operations: []
Exploring Operation: 57+12=69, Resulting Numbers: [92, 23, 69]
Generated Node #2: [92, 23, 69] from Operation: 57+12=69
Current State: 95:[92, 23, 69], Operations: ['57+12=69']
Exploring Operation: 69/23=3, Resulting Numbers: [92, 3]
Generated Node #3: [92, 3] from Operation: 69/23=3
Current State: 95:[92, 3], Operations: ['57+12=69', '69/23=3']
Exploring Operation: 92+3=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[92, 57, 23, 12], Operations: []
Exploring Operation: 57+23=80, Resulting Numbers: [92, 12, 80]
Generated Node #0,0: 95:[92, 12, 80] Operation: 57+23=80
Exploring Operation: 57-23=34, Resulting Numbers: [92, 12, 34]
Generated Node #0,1: 95:[92, 12, 34] Operation: 57-23=34
Moving to Node #0,0
Current State: 95:[92, 12, 80], Operations: ['57+23=80']
Exploring Operation: 92-80=12, Resulting Numbers: [12, 12]
Generated Node #0,0,0: 95:[12, 12] Operation: 92-80=12
Exploring Operation: 12+80=92, Resulting Numbers: [92, 92]
Generated Node #0,0,1: 95:[92, 92] Operation: 12+80=92
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 95:[92, 92], Operations: ['57+23=80', '12+80=92']
Exploring Operation: 92/92=1, Resulting Numbers: [1]
1,95 unequal: No Solution
Exploring Operation: 92-92=0, Resulting Numbers: [0]
0,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,0
Current State: 95:[12, 12], Operations: ['57+23=80', '92-80=12']
Exploring Operation: 12+12=24, Resulting Numbers: [24]
24,95 unequal: No Solution
Exploring Operation: 12/12=1, Resulting Numbers: [1]
1,95 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: 95:[92, 12, 34], Operations: ['57-23=34']
Exploring Operation: 34-12=22, Resulting Numbers: [92, 22]
Generated Node #0,1,0: 95:[92, 22] Operation: 34-12=22
Exploring Operation: 92+12=104, Resulting Numbers: [34, 104]
Generated Node #0,1,1: 95:[34, 104] Operation: 92+12=104
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 95:[92, 22], Operations: ['57-23=34', '34-12=22']
Exploring Operation: 92+22=114, Resulting Numbers: [114]
114,95 unequal: No Solution
Exploring Operation: 92-22=70, Resulting Numbers: [70]
70,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,1,1
Current State: 95:[34, 104], Operations: ['57-23=34', '92+12=104']
Exploring Operation: 34+104=138, Resulting Numbers: [138]
138,95 unequal: No Solution
Exploring Operation: 104-34=70, Resulting Numbers: [70]
70,95 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 |
[
12,
21,
3,
55
] | 70 | [
"12*3=36",
"55-21=34",
"36+34=70"
] | Current State: 70:[12, 21, 3, 55], Operations: []
Exploring Operation: 12*3=36, Resulting Numbers: [21, 55, 36]
Generated Node #2: [21, 55, 36] from Operation: 12*3=36
Current State: 70:[21, 55, 36], Operations: ['12*3=36']
Exploring Operation: 55-21=34, Resulting Numbers: [36, 34]
Generated Node #3: [36, 34] from Operation: 55-21=34
Current State: 70:[36, 34], Operations: ['12*3=36', '55-21=34']
Exploring Operation: 36+34=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[12, 21, 3, 55], Operations: []
Exploring Operation: 55-21=34, Resulting Numbers: [12, 3, 34]
Generated Node #0,0: 70:[12, 3, 34] Operation: 55-21=34
Exploring Operation: 21-12=9, Resulting Numbers: [3, 55, 9]
Generated Node #0,1: 70:[3, 55, 9] Operation: 21-12=9
Exploring Operation: 21+55=76, Resulting Numbers: [12, 3, 76]
Generated Node #0,2: 70:[12, 3, 76] Operation: 21+55=76
Exploring Operation: 12+55=67, Resulting Numbers: [21, 3, 67]
Generated Node #0,3: 70:[21, 3, 67] Operation: 12+55=67
Exploring Operation: 55-12=43, Resulting Numbers: [21, 3, 43]
Generated Node #0,4: 70:[21, 3, 43] Operation: 55-12=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 70:[12, 3, 34], Operations: ['55-21=34']
Exploring Operation: 12-3=9, Resulting Numbers: [34, 9]
Generated Node #0,0,0: 70:[34, 9] Operation: 12-3=9
Exploring Operation: 12*3=36, Resulting Numbers: [34, 36]
Generated Node #0,0,1: 70:[34, 36] Operation: 12*3=36
Exploring Operation: 12+3=15, Resulting Numbers: [34, 15]
Generated Node #0,0,2: 70:[34, 15] Operation: 12+3=15
Exploring Operation: 3+34=37, Resulting Numbers: [12, 37]
Generated Node #0,0,3: 70:[12, 37] Operation: 3+34=37
Exploring Operation: 12/3=4, Resulting Numbers: [34, 4]
Generated Node #0,0,4: 70:[34, 4] Operation: 12/3=4
Moving to Node #0,0,0
Current State: 70:[34, 9], Operations: ['55-21=34', '12-3=9']
Exploring Operation: 34*9=306, Resulting Numbers: [306]
306,70 unequal: No Solution
Exploring Operation: 34-9=25, Resulting Numbers: [25]
25,70 unequal: No Solution
Exploring Operation: 34+9=43, Resulting Numbers: [43]
43,70 unequal: No Solution
Moving to Node #0,0,2
Current State: 70:[34, 15], Operations: ['55-21=34', '12+3=15']
Exploring Operation: 34+15=49, Resulting Numbers: [49]
49,70 unequal: No Solution
Exploring Operation: 34-15=19, Resulting Numbers: [19]
19,70 unequal: No Solution
Exploring Operation: 34*15=510, Resulting Numbers: [510]
510,70 unequal: No Solution
Moving to Node #0,0,1
Current State: 70:[34, 36], Operations: ['55-21=34', '12*3=36']
Exploring Operation: 36-34=2, Resulting Numbers: [2]
2,70 unequal: No Solution
Exploring Operation: 34+36=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[12, 21, 3, 55], Operations: []
Exploring Operation: 55-21=34, Resulting Numbers: [12, 3, 34]
Generated Node #0,0: 70:[12, 3, 34] Operation: 55-21=34
Moving to Node #0,0
Current State: 70:[12, 3, 34], Operations: ['55-21=34']
Exploring Operation: 12*3=36, Resulting Numbers: [34, 36]
Generated Node #0,0,1: 70:[34, 36] Operation: 12*3=36
Moving to Node #0,0,1
Current State: 70:[34, 36], Operations: ['55-21=34', '12*3=36']
Exploring Operation: 34+36=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_5 | sum_heuristic |
[
39,
11,
72,
65
] | 38 | [
"72-65=7",
"11*7=77",
"77-39=38"
] | Current State: 38:[39, 11, 72, 65], Operations: []
Exploring Operation: 72-65=7, Resulting Numbers: [39, 11, 7]
Generated Node #2: [39, 11, 7] from Operation: 72-65=7
Current State: 38:[39, 11, 7], Operations: ['72-65=7']
Exploring Operation: 11*7=77, Resulting Numbers: [39, 77]
Generated Node #3: [39, 77] from Operation: 11*7=77
Current State: 38:[39, 77], Operations: ['72-65=7', '11*7=77']
Exploring Operation: 77-39=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[39, 11, 72, 65], Operations: []
Exploring Operation: 72-39=33, Resulting Numbers: [11, 65, 33]
Generated Node #0,0: 38:[11, 65, 33] Operation: 72-39=33
Exploring Operation: 72-65=7, Resulting Numbers: [39, 11, 7]
Generated Node #0,1: 38:[39, 11, 7] Operation: 72-65=7
Exploring Operation: 65-39=26, Resulting Numbers: [11, 72, 26]
Generated Node #0,2: 38:[11, 72, 26] Operation: 65-39=26
Moving to Node #0,1
Current State: 38:[39, 11, 7], Operations: ['72-65=7']
Exploring Operation: 39-11=28, Resulting Numbers: [7, 28]
Generated Node #0,1,0: 38:[7, 28] Operation: 39-11=28
Exploring Operation: 11-7=4, Resulting Numbers: [39, 4]
Generated Node #0,1,1: 38:[39, 4] Operation: 11-7=4
Exploring Operation: 11+7=18, Resulting Numbers: [39, 18]
Generated Node #0,1,2: 38:[39, 18] Operation: 11+7=18
Moving to Node #0,0
Current State: 38:[11, 65, 33], Operations: ['72-39=33']
Exploring Operation: 33/11=3, Resulting Numbers: [65, 3]
Generated Node #0,0,0: 38:[65, 3] Operation: 33/11=3
Exploring Operation: 65-11=54, Resulting Numbers: [33, 54]
Generated Node #0,0,1: 38:[33, 54] Operation: 65-11=54
Exploring Operation: 65-33=32, Resulting Numbers: [11, 32]
Generated Node #0,0,2: 38:[11, 32] Operation: 65-33=32
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 38:[11, 32], Operations: ['72-39=33', '65-33=32']
Exploring Operation: 11*32=352, Resulting Numbers: [352]
352,38 unequal: No Solution
Exploring Operation: 32-11=21, Resulting Numbers: [21]
21,38 unequal: No Solution
Exploring Operation: 11+32=43, Resulting Numbers: [43]
43,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,0,1
Current State: 38:[33, 54], Operations: ['72-39=33', '65-11=54']
Exploring Operation: 33+54=87, Resulting Numbers: [87]
87,38 unequal: No Solution
Exploring Operation: 54-33=21, Resulting Numbers: [21]
21,38 unequal: No Solution
Exploring Operation: 33*54=1782, Resulting Numbers: [1782]
1782,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,0,0
Current State: 38:[65, 3], Operations: ['72-39=33', '33/11=3']
Exploring Operation: 65*3=195, Resulting Numbers: [195]
195,38 unequal: No Solution
Exploring Operation: 65+3=68, Resulting Numbers: [68]
68,38 unequal: No Solution
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,38 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: 38:[11, 72, 26], Operations: ['65-39=26']
Exploring Operation: 72-11=61, Resulting Numbers: [26, 61]
Generated Node #0,2,0: 38:[26, 61] Operation: 72-11=61
Exploring Operation: 72-26=46, Resulting Numbers: [11, 46]
Generated Node #0,2,1: 38:[11, 46] Operation: 72-26=46
Exploring Operation: 11+26=37, Resulting Numbers: [72, 37]
Generated Node #0,2,2: 38:[72, 37] Operation: 11+26=37
Moving to Node #0,1,2
Current State: 38:[39, 18], Operations: ['72-65=7', '11+7=18']
Exploring Operation: 39+18=57, Resulting Numbers: [57]
57,38 unequal: No Solution
Exploring Operation: 39*18=702, Resulting Numbers: [702]
702,38 unequal: No Solution
Exploring Operation: 39-18=21, Resulting Numbers: [21]
21,38 unequal: No Solution
Moving to Node #0,1,1
Current State: 38:[39, 4], Operations: ['72-65=7', '11-7=4']
Exploring Operation: 39*4=156, Resulting Numbers: [156]
156,38 unequal: No Solution
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,38 unequal: No Solution
Exploring Operation: 39+4=43, Resulting Numbers: [43]
43,38 unequal: No Solution
Moving to Node #0,1,0
Current State: 38:[7, 28], Operations: ['72-65=7', '39-11=28']
Exploring Operation: 7+28=35, Resulting Numbers: [35]
35,38 unequal: No Solution
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,38 unequal: No Solution
Exploring Operation: 28-7=21, Resulting Numbers: [21]
21,38 unequal: No Solution
Moving to Node #0,2,1
Current State: 38:[11, 46], Operations: ['65-39=26', '72-26=46']
Exploring Operation: 46-11=35, Resulting Numbers: [35]
35,38 unequal: No Solution
Exploring Operation: 11+46=57, Resulting Numbers: [57]
57,38 unequal: No Solution
Exploring Operation: 11*46=506, Resulting Numbers: [506]
506,38 unequal: No Solution
Moving to Node #0,2,0
Current State: 38:[26, 61], Operations: ['65-39=26', '72-11=61']
Exploring Operation: 61-26=35, Resulting Numbers: [35]
35,38 unequal: No Solution
Exploring Operation: 26*61=1586, Resulting Numbers: [1586]
1586,38 unequal: No Solution
Exploring Operation: 26+61=87, Resulting Numbers: [87]
87,38 unequal: No Solution
Moving to Node #0,2,2
Current State: 38:[72, 37], Operations: ['65-39=26', '11+26=37']
Exploring Operation: 72+37=109, Resulting Numbers: [109]
109,38 unequal: No Solution
Exploring Operation: 72*37=2664, Resulting Numbers: [2664]
2664,38 unequal: No Solution
Exploring Operation: 72-37=35, Resulting Numbers: [35]
35,38 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
15,
9,
9,
41
] | 95 | [
"15-9=6",
"9*6=54",
"41+54=95"
] | Current State: 95:[15, 9, 9, 41], Operations: []
Exploring Operation: 15-9=6, Resulting Numbers: [41, 6]
Generated Node #2: [41, 6] from Operation: 15-9=6
Current State: 95:[41, 6], Operations: ['15-9=6']
Exploring Operation: 9*6=54, Resulting Numbers: [41, 54]
Generated Node #3: [41, 54] from Operation: 9*6=54
Current State: 95:[41, 54], Operations: ['15-9=6', '9*6=54']
Exploring Operation: 41+54=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[15, 9, 9, 41], Operations: []
Exploring Operation: 41-9=32, Resulting Numbers: [15, 9, 32]
Generated Node #0,0: 95:[15, 9, 32] Operation: 41-9=32
Exploring Operation: 41-9=32, Resulting Numbers: [15, 9, 32]
Generated Node #0,1: 95:[15, 9, 32] Operation: 41-9=32
Exploring Operation: 41-15=26, Resulting Numbers: [9, 9, 26]
Generated Node #0,2: 95:[9, 9, 26] Operation: 41-15=26
Moving to Node #0,2
Current State: 95:[9, 9, 26], Operations: ['41-15=26']
Exploring Operation: 9+9=18, Resulting Numbers: [26, 18]
Generated Node #0,2,0: 95:[26, 18] Operation: 9+9=18
Exploring Operation: 26-9=17, Resulting Numbers: [9, 17]
Generated Node #0,2,1: 95:[9, 17] Operation: 26-9=17
Exploring Operation: 26-9=17, Resulting Numbers: [9, 17]
Generated Node #0,2,2: 95:[9, 17] Operation: 26-9=17
Moving to Node #0,0
Current State: 95:[15, 9, 32], Operations: ['41-9=32']
Exploring Operation: 32-15=17, Resulting Numbers: [9, 17]
Generated Node #0,0,0: 95:[9, 17] Operation: 32-15=17
Exploring Operation: 15-9=6, Resulting Numbers: [32, 6]
Generated Node #0,0,1: 95:[32, 6] Operation: 15-9=6
Exploring Operation: 32-9=23, Resulting Numbers: [15, 23]
Generated Node #0,0,2: 95:[15, 23] Operation: 32-9=23
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 95:[9, 17], Operations: ['41-9=32', '32-15=17']
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,95 unequal: No Solution
Exploring Operation: 9+17=26, Resulting Numbers: [26]
26,95 unequal: No Solution
Exploring Operation: 9*17=153, Resulting Numbers: [153]
153,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,2
Current State: 95:[15, 23], Operations: ['41-9=32', '32-9=23']
Exploring Operation: 15*23=345, Resulting Numbers: [345]
345,95 unequal: No Solution
Exploring Operation: 15+23=38, Resulting Numbers: [38]
38,95 unequal: No Solution
Exploring Operation: 23-15=8, Resulting Numbers: [8]
8,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,1
Current State: 95:[32, 6], Operations: ['41-9=32', '15-9=6']
Exploring Operation: 32+6=38, Resulting Numbers: [38]
38,95 unequal: No Solution
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,95 unequal: No Solution
Exploring Operation: 32*6=192, Resulting Numbers: [192]
192,95 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: 95:[15, 9, 32], Operations: ['41-9=32']
Exploring Operation: 32-15=17, Resulting Numbers: [9, 17]
Generated Node #0,1,0: 95:[9, 17] Operation: 32-15=17
Exploring Operation: 15-9=6, Resulting Numbers: [32, 6]
Generated Node #0,1,1: 95:[32, 6] Operation: 15-9=6
Exploring Operation: 32-9=23, Resulting Numbers: [15, 23]
Generated Node #0,1,2: 95:[15, 23] Operation: 32-9=23
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 95:[9, 17], Operations: ['41-9=32', '32-15=17']
Exploring Operation: 9+17=26, Resulting Numbers: [26]
26,95 unequal: No Solution
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,95 unequal: No Solution
Exploring Operation: 9*17=153, Resulting Numbers: [153]
153,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,1,2
Current State: 95:[15, 23], Operations: ['41-9=32', '32-9=23']
Exploring Operation: 23-15=8, Resulting Numbers: [8]
8,95 unequal: No Solution
Exploring Operation: 15+23=38, Resulting Numbers: [38]
38,95 unequal: No Solution
Exploring Operation: 15*23=345, Resulting Numbers: [345]
345,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,1,1
Current State: 95:[32, 6], Operations: ['41-9=32', '15-9=6']
Exploring Operation: 32*6=192, Resulting Numbers: [192]
192,95 unequal: No Solution
Exploring Operation: 32+6=38, Resulting Numbers: [38]
38,95 unequal: No Solution
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 95:[9, 17], Operations: ['41-15=26', '26-9=17']
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,95 unequal: No Solution
Exploring Operation: 9*17=153, Resulting Numbers: [153]
153,95 unequal: No Solution
Exploring Operation: 9+17=26, Resulting Numbers: [26]
26,95 unequal: No Solution
Moving to Node #0,2,2
Current State: 95:[9, 17], Operations: ['41-15=26', '26-9=17']
Exploring Operation: 17-9=8, Resulting Numbers: [8]
8,95 unequal: No Solution
Exploring Operation: 9*17=153, Resulting Numbers: [153]
153,95 unequal: No Solution
Exploring Operation: 9+17=26, Resulting Numbers: [26]
26,95 unequal: No Solution
Moving to Node #0,2,0
Current State: 95:[26, 18], Operations: ['41-15=26', '9+9=18']
Exploring Operation: 26-18=8, Resulting Numbers: [8]
8,95 unequal: No Solution
Exploring Operation: 26*18=468, Resulting Numbers: [468]
468,95 unequal: No Solution
Exploring Operation: 26+18=44, Resulting Numbers: [44]
44,95 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
89,
3,
94,
13
] | 74 | [
"89+94=183",
"183/3=61",
"13+61=74"
] | Current State: 74:[89, 3, 94, 13], Operations: []
Exploring Operation: 89+94=183, Resulting Numbers: [3, 13, 183]
Generated Node #2: [3, 13, 183] from Operation: 89+94=183
Current State: 74:[3, 13, 183], Operations: ['89+94=183']
Exploring Operation: 183/3=61, Resulting Numbers: [13, 61]
Generated Node #3: [13, 61] from Operation: 183/3=61
Current State: 74:[13, 61], Operations: ['89+94=183', '183/3=61']
Exploring Operation: 13+61=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[89, 3, 94, 13], Operations: []
Exploring Operation: 3*13=39, Resulting Numbers: [89, 94, 39]
Generated Node #0,0: 74:[89, 94, 39] Operation: 3*13=39
Exploring Operation: 94-89=5, Resulting Numbers: [3, 13, 5]
Generated Node #0,1: 74:[3, 13, 5] Operation: 94-89=5
Exploring Operation: 94-13=81, Resulting Numbers: [89, 3, 81]
Generated Node #0,2: 74:[89, 3, 81] Operation: 94-13=81
Exploring Operation: 89-13=76, Resulting Numbers: [3, 94, 76]
Generated Node #0,3: 74:[3, 94, 76] Operation: 89-13=76
Exploring Operation: 89-3=86, Resulting Numbers: [94, 13, 86]
Generated Node #0,4: 74:[94, 13, 86] Operation: 89-3=86
Moving to Node #0,1
Current State: 74:[3, 13, 5], Operations: ['94-89=5']
Exploring Operation: 13-3=10, Resulting Numbers: [5, 10]
Generated Node #0,1,0: 74:[5, 10] Operation: 13-3=10
Exploring Operation: 13-5=8, Resulting Numbers: [3, 8]
Generated Node #0,1,1: 74:[3, 8] Operation: 13-5=8
Exploring Operation: 3*13=39, Resulting Numbers: [5, 39]
Generated Node #0,1,2: 74:[5, 39] Operation: 3*13=39
Exploring Operation: 5-3=2, Resulting Numbers: [13, 2]
Generated Node #0,1,3: 74:[13, 2] Operation: 5-3=2
Exploring Operation: 13*5=65, Resulting Numbers: [3, 65]
Generated Node #0,1,4: 74:[3, 65] Operation: 13*5=65
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 74:[5, 39], Operations: ['94-89=5', '3*13=39']
Exploring Operation: 5+39=44, Resulting Numbers: [44]
44,74 unequal: No Solution
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,74 unequal: No Solution
Exploring Operation: 5*39=195, Resulting Numbers: [195]
195,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 74:[3, 8], Operations: ['94-89=5', '13-5=8']
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,74 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 74:[3, 65], Operations: ['94-89=5', '13*5=65']
Exploring Operation: 3+65=68, Resulting Numbers: [68]
68,74 unequal: No Solution
Exploring Operation: 65-3=62, Resulting Numbers: [62]
62,74 unequal: No Solution
Exploring Operation: 3*65=195, Resulting Numbers: [195]
195,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 74:[5, 10], Operations: ['94-89=5', '13-3=10']
Exploring Operation: 5*10=50, Resulting Numbers: [50]
50,74 unequal: No Solution
Exploring Operation: 5+10=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Exploring Operation: 10-5=5, Resulting Numbers: [5]
5,74 unequal: No Solution
Exploring Operation: 10/5=2, Resulting Numbers: [2]
2,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 74:[13, 2], Operations: ['94-89=5', '5-3=2']
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,74 unequal: No Solution
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,74 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: 74:[3, 94, 76], Operations: ['89-13=76']
Exploring Operation: 3+94=97, Resulting Numbers: [76, 97]
Generated Node #0,3,0: 74:[76, 97] Operation: 3+94=97
Exploring Operation: 94-3=91, Resulting Numbers: [76, 91]
Generated Node #0,3,1: 74:[76, 91] Operation: 94-3=91
Exploring Operation: 76-3=73, Resulting Numbers: [94, 73]
Generated Node #0,3,2: 74:[94, 73] Operation: 76-3=73
Exploring Operation: 94-76=18, Resulting Numbers: [3, 18]
Generated Node #0,3,3: 74:[3, 18] Operation: 94-76=18
Exploring Operation: 3+76=79, Resulting Numbers: [94, 79]
Generated Node #0,3,4: 74:[94, 79] Operation: 3+76=79
Moving to Node #0,2
Current State: 74:[89, 3, 81], Operations: ['94-13=81']
Exploring Operation: 3+81=84, Resulting Numbers: [89, 84]
Generated Node #0,2,0: 74:[89, 84] Operation: 3+81=84
Exploring Operation: 89-81=8, Resulting Numbers: [3, 8]
Generated Node #0,2,1: 74:[3, 8] Operation: 89-81=8
Exploring Operation: 89+3=92, Resulting Numbers: [81, 92]
Generated Node #0,2,2: 74:[81, 92] Operation: 89+3=92
Exploring Operation: 81-3=78, Resulting Numbers: [89, 78]
Generated Node #0,2,3: 74:[89, 78] Operation: 81-3=78
Exploring Operation: 89-3=86, Resulting Numbers: [81, 86]
Generated Node #0,2,4: 74:[81, 86] Operation: 89-3=86
Moving to Node #0,0
Current State: 74:[89, 94, 39], Operations: ['3*13=39']
Exploring Operation: 94-89=5, Resulting Numbers: [39, 5]
Generated Node #0,0,0: 74:[39, 5] Operation: 94-89=5
Exploring Operation: 89-39=50, Resulting Numbers: [94, 50]
Generated Node #0,0,1: 74:[94, 50] Operation: 89-39=50
Exploring Operation: 94+39=133, Resulting Numbers: [89, 133]
Generated Node #0,0,2: 74:[89, 133] Operation: 94+39=133
Exploring Operation: 94-39=55, Resulting Numbers: [89, 55]
Generated Node #0,0,3: 74:[89, 55] Operation: 94-39=55
Exploring Operation: 89+39=128, Resulting Numbers: [94, 128]
Generated Node #0,0,4: 74:[94, 128] Operation: 89+39=128
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 74:[39, 5], Operations: ['3*13=39', '94-89=5']
Exploring Operation: 39*5=195, Resulting Numbers: [195]
195,74 unequal: No Solution
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,74 unequal: No Solution
Exploring Operation: 39+5=44, Resulting Numbers: [44]
44,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 74:[94, 50], Operations: ['3*13=39', '89-39=50']
Exploring Operation: 94+50=144, Resulting Numbers: [144]
144,74 unequal: No Solution
Exploring Operation: 94-50=44, Resulting Numbers: [44]
44,74 unequal: No Solution
Exploring Operation: 94*50=4700, Resulting Numbers: [4700]
4700,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 74:[89, 55], Operations: ['3*13=39', '94-39=55']
Exploring Operation: 89-55=34, Resulting Numbers: [34]
34,74 unequal: No Solution
Exploring Operation: 89+55=144, Resulting Numbers: [144]
144,74 unequal: No Solution
Exploring Operation: 89*55=4895, Resulting Numbers: [4895]
4895,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 74:[89, 133], Operations: ['3*13=39', '94+39=133']
Exploring Operation: 133-89=44, Resulting Numbers: [44]
44,74 unequal: No Solution
Exploring Operation: 89*133=11837, Resulting Numbers: [11837]
11837,74 unequal: No Solution
Exploring Operation: 89+133=222, Resulting Numbers: [222]
222,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 74:[94, 128], Operations: ['3*13=39', '89+39=128']
Exploring Operation: 94*128=12032, Resulting Numbers: [12032]
12032,74 unequal: No Solution
Exploring Operation: 94+128=222, Resulting Numbers: [222]
222,74 unequal: No Solution
Exploring Operation: 128-94=34, Resulting Numbers: [34]
34,74 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4
Current State: 74:[94, 13, 86], Operations: ['89-3=86']
Exploring Operation: 94-13=81, Resulting Numbers: [86, 81]
Generated Node #0,4,0: 74:[86, 81] Operation: 94-13=81
Exploring Operation: 94+13=107, Resulting Numbers: [86, 107]
Generated Node #0,4,1: 74:[86, 107] Operation: 94+13=107
Exploring Operation: 86-13=73, Resulting Numbers: [94, 73]
Generated Node #0,4,2: 74:[94, 73] Operation: 86-13=73
Exploring Operation: 13+86=99, Resulting Numbers: [94, 99]
Generated Node #0,4,3: 74:[94, 99] Operation: 13+86=99
Exploring Operation: 94-86=8, Resulting Numbers: [13, 8]
Generated Node #0,4,4: 74:[13, 8] Operation: 94-86=8
Moving to Node #0,2,1
Current State: 74:[3, 8], Operations: ['94-13=81', '89-81=8']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,74 unequal: No Solution
Exploring Operation: 3+8=11, Resulting Numbers: [11]
11,74 unequal: No Solution
Exploring Operation: 3*8=24, Resulting Numbers: [24]
24,74 unequal: No Solution
Moving to Node #0,3,3
Current State: 74:[3, 18], Operations: ['89-13=76', '94-76=18']
Exploring Operation: 18/3=6, Resulting Numbers: [6]
6,74 unequal: No Solution
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Exploring Operation: 3+18=21, Resulting Numbers: [21]
21,74 unequal: No Solution
Exploring Operation: 3*18=54, Resulting Numbers: [54]
54,74 unequal: No Solution
Moving to Node #0,4,4
Current State: 74:[13, 8], Operations: ['89-3=86', '94-86=8']
Exploring Operation: 13+8=21, Resulting Numbers: [21]
21,74 unequal: No Solution
Exploring Operation: 13*8=104, Resulting Numbers: [104]
104,74 unequal: No Solution
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,74 unequal: No Solution
Moving to Node #0,2,3
Current State: 74:[89, 78], Operations: ['94-13=81', '81-3=78']
Exploring Operation: 89*78=6942, Resulting Numbers: [6942]
6942,74 unequal: No Solution
Exploring Operation: 89+78=167, Resulting Numbers: [167]
167,74 unequal: No Solution
Exploring Operation: 89-78=11, Resulting Numbers: [11]
11,74 unequal: No Solution
Moving to Node #0,4,0
Current State: 74:[86, 81], Operations: ['89-3=86', '94-13=81']
Exploring Operation: 86+81=167, Resulting Numbers: [167]
167,74 unequal: No Solution
Exploring Operation: 86*81=6966, Resulting Numbers: [6966]
6966,74 unequal: No Solution
Exploring Operation: 86-81=5, Resulting Numbers: [5]
5,74 unequal: No Solution
Moving to Node #0,3,1
Current State: 74:[76, 91], Operations: ['89-13=76', '94-3=91']
Exploring Operation: 91-76=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Exploring Operation: 76*91=6916, Resulting Numbers: [6916]
6916,74 unequal: No Solution
Exploring Operation: 76+91=167, Resulting Numbers: [167]
167,74 unequal: No Solution
Moving to Node #0,2,4
Current State: 74:[81, 86], Operations: ['94-13=81', '89-3=86']
Exploring Operation: 81+86=167, Resulting Numbers: [167]
167,74 unequal: No Solution
Exploring Operation: 81*86=6966, Resulting Numbers: [6966]
6966,74 unequal: No Solution
Exploring Operation: 86-81=5, Resulting Numbers: [5]
5,74 unequal: No Solution
Moving to Node #0,3,2
Current State: 74:[94, 73], Operations: ['89-13=76', '76-3=73']
Exploring Operation: 94*73=6862, Resulting Numbers: [6862]
6862,74 unequal: No Solution
Exploring Operation: 94-73=21, Resulting Numbers: [21]
21,74 unequal: No Solution
Exploring Operation: 94+73=167, Resulting Numbers: [167]
167,74 unequal: No Solution
Moving to Node #0,4,2
Current State: 74:[94, 73], Operations: ['89-3=86', '86-13=73']
Exploring Operation: 94+73=167, Resulting Numbers: [167]
167,74 unequal: No Solution
Exploring Operation: 94*73=6862, Resulting Numbers: [6862]
6862,74 unequal: No Solution
Exploring Operation: 94-73=21, Resulting Numbers: [21]
21,74 unequal: No Solution
Moving to Node #0,3,0
Current State: 74:[76, 97], Operations: ['89-13=76', '3+94=97']
Exploring Operation: 76+97=173, Resulting Numbers: [173]
173,74 unequal: No Solution
Exploring Operation: 76*97=7372, Resulting Numbers: [7372]
7372,74 unequal: No Solution
Exploring Operation: 97-76=21, Resulting Numbers: [21]
21,74 unequal: No Solution
Moving to Node #0,3,4
Current State: 74:[94, 79], Operations: ['89-13=76', '3+76=79']
Exploring Operation: 94*79=7426, Resulting Numbers: [7426]
7426,74 unequal: No Solution
Exploring Operation: 94+79=173, Resulting Numbers: [173]
173,74 unequal: No Solution
Exploring Operation: 94-79=15, Resulting Numbers: [15]
15,74 unequal: No Solution
Moving to Node #0,2,2
Current State: 74:[81, 92], Operations: ['94-13=81', '89+3=92']
Exploring Operation: 81*92=7452, Resulting Numbers: [7452]
7452,74 unequal: No Solution
Exploring Operation: 81+92=173, Resulting Numbers: [173]
173,74 unequal: No Solution
Exploring Operation: 92-81=11, Resulting Numbers: [11]
11,74 unequal: No Solution
Moving to Node #0,2,0
Current State: 74:[89, 84], Operations: ['94-13=81', '3+81=84']
Exploring Operation: 89+84=173, Resulting Numbers: [173]
173,74 unequal: No Solution
Exploring Operation: 89-84=5, Resulting Numbers: [5]
5,74 unequal: No Solution
Exploring Operation: 89*84=7476, Resulting Numbers: [7476]
7476,74 unequal: No Solution
Moving to Node #0,4,1
Current State: 74:[86, 107], Operations: ['89-3=86', '94+13=107']
Exploring Operation: 107-86=21, Resulting Numbers: [21]
21,74 unequal: No Solution
Exploring Operation: 86+107=193, Resulting Numbers: [193]
193,74 unequal: No Solution
Exploring Operation: 86*107=9202, Resulting Numbers: [9202]
9202,74 unequal: No Solution
Moving to Node #0,4,3
Current State: 74:[94, 99], Operations: ['89-3=86', '13+86=99']
Exploring Operation: 94+99=193, Resulting Numbers: [193]
193,74 unequal: No Solution
Exploring Operation: 99-94=5, Resulting Numbers: [5]
5,74 unequal: No Solution
Exploring Operation: 94*99=9306, Resulting Numbers: [9306]
9306,74 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
40,
78,
54,
99
] | 30 | [
"40*99=3960",
"78+54=132",
"3960/132=30"
] | Current State: 30:[40, 78, 54, 99], Operations: []
Exploring Operation: 40*99=3960, Resulting Numbers: [78, 54, 3960]
Generated Node #2: [78, 54, 3960] from Operation: 40*99=3960
Current State: 30:[78, 54, 3960], Operations: ['40*99=3960']
Exploring Operation: 78+54=132, Resulting Numbers: [3960, 132]
Generated Node #3: [3960, 132] from Operation: 78+54=132
Current State: 30:[3960, 132], Operations: ['40*99=3960', '78+54=132']
Exploring Operation: 3960/132=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[40, 78, 54, 99], Operations: []
Exploring Operation: 99-54=45, Resulting Numbers: [40, 78, 45]
Generated Node #0,0: 30:[40, 78, 45] Operation: 99-54=45
Exploring Operation: 78-54=24, Resulting Numbers: [40, 99, 24]
Generated Node #0,1: 30:[40, 99, 24] Operation: 78-54=24
Exploring Operation: 99-78=21, Resulting Numbers: [40, 54, 21]
Generated Node #0,2: 30:[40, 54, 21] Operation: 99-78=21
Start Sub Search at level 1: Moving to Node #0,2
Current State: 30:[40, 54, 21], Operations: ['99-78=21']
Exploring Operation: 54-40=14, Resulting Numbers: [21, 14]
Generated Node #0,2,0: 30:[21, 14] Operation: 54-40=14
Exploring Operation: 54-21=33, Resulting Numbers: [40, 33]
Generated Node #0,2,1: 30:[40, 33] Operation: 54-21=33
Exploring Operation: 40-21=19, Resulting Numbers: [54, 19]
Generated Node #0,2,2: 30:[54, 19] Operation: 40-21=19
Moving to Node #0,2,0
Current State: 30:[21, 14], Operations: ['99-78=21', '54-40=14']
Exploring Operation: 21-14=7, Resulting Numbers: [7]
7,30 unequal: No Solution
Exploring Operation: 21*14=294, Resulting Numbers: [294]
294,30 unequal: No Solution
Exploring Operation: 21+14=35, Resulting Numbers: [35]
35,30 unequal: No Solution
Moving to Node #0,2,1
Current State: 30:[40, 33], Operations: ['99-78=21', '54-21=33']
Exploring Operation: 40+33=73, Resulting Numbers: [73]
73,30 unequal: No Solution
Exploring Operation: 40*33=1320, Resulting Numbers: [1320]
1320,30 unequal: No Solution
Exploring Operation: 40-33=7, Resulting Numbers: [7]
7,30 unequal: No Solution
Moving to Node #0,2,2
Current State: 30:[54, 19], Operations: ['99-78=21', '40-21=19']
Exploring Operation: 54+19=73, Resulting Numbers: [73]
73,30 unequal: No Solution
Exploring Operation: 54-19=35, Resulting Numbers: [35]
35,30 unequal: No Solution
Exploring Operation: 54*19=1026, Resulting Numbers: [1026]
1026,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,0
Current State: 30:[40, 78, 45], Operations: ['99-54=45']
Exploring Operation: 78-40=38, Resulting Numbers: [45, 38]
Generated Node #0,0,0: 30:[45, 38] Operation: 78-40=38
Exploring Operation: 45-40=5, Resulting Numbers: [78, 5]
Generated Node #0,0,1: 30:[78, 5] Operation: 45-40=5
Exploring Operation: 78-45=33, Resulting Numbers: [40, 33]
Generated Node #0,0,2: 30:[40, 33] Operation: 78-45=33
Moving to Node #0,0,2
Current State: 30:[40, 33], Operations: ['99-54=45', '78-45=33']
Exploring Operation: 40-33=7, Resulting Numbers: [7]
7,30 unequal: No Solution
Exploring Operation: 40*33=1320, Resulting Numbers: [1320]
1320,30 unequal: No Solution
Exploring Operation: 40+33=73, Resulting Numbers: [73]
73,30 unequal: No Solution
Moving to Node #0,0,0
Current State: 30:[45, 38], Operations: ['99-54=45', '78-40=38']
Exploring Operation: 45-38=7, Resulting Numbers: [7]
7,30 unequal: No Solution
Exploring Operation: 45*38=1710, Resulting Numbers: [1710]
1710,30 unequal: No Solution
Exploring Operation: 45+38=83, Resulting Numbers: [83]
83,30 unequal: No Solution
Moving to Node #0,0,1
Current State: 30:[78, 5], Operations: ['99-54=45', '45-40=5']
Exploring Operation: 78-5=73, Resulting Numbers: [73]
73,30 unequal: No Solution
Exploring Operation: 78*5=390, Resulting Numbers: [390]
390,30 unequal: No Solution
Exploring Operation: 78+5=83, Resulting Numbers: [83]
83,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,1
Current State: 30:[40, 99, 24], Operations: ['78-54=24']
Exploring Operation: 99-24=75, Resulting Numbers: [40, 75]
Generated Node #0,1,0: 30:[40, 75] Operation: 99-24=75
Exploring Operation: 40-24=16, Resulting Numbers: [99, 16]
Generated Node #0,1,1: 30:[99, 16] Operation: 40-24=16
Exploring Operation: 99-40=59, Resulting Numbers: [24, 59]
Generated Node #0,1,2: 30:[24, 59] Operation: 99-40=59
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 30:[24, 59], Operations: ['78-54=24', '99-40=59']
Exploring Operation: 59-24=35, Resulting Numbers: [35]
35,30 unequal: No Solution
Exploring Operation: 24+59=83, Resulting Numbers: [83]
83,30 unequal: No Solution
Exploring Operation: 24*59=1416, Resulting Numbers: [1416]
1416,30 unequal: No Solution
No 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: 30:[40, 75], Operations: ['78-54=24', '99-24=75']
Exploring Operation: 40+75=115, Resulting Numbers: [115]
115,30 unequal: No Solution
Exploring Operation: 75-40=35, Resulting Numbers: [35]
35,30 unequal: No Solution
Exploring Operation: 40*75=3000, Resulting Numbers: [3000]
3000,30 unequal: No Solution
No 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: 30:[99, 16], Operations: ['78-54=24', '40-24=16']
Exploring Operation: 99-16=83, Resulting Numbers: [83]
83,30 unequal: No Solution
Exploring Operation: 99+16=115, Resulting Numbers: [115]
115,30 unequal: No Solution
Exploring Operation: 99*16=1584, Resulting Numbers: [1584]
1584,30 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 |
[
3,
89,
34,
56
] | 43 | [
"3*34=102",
"89+56=145",
"145-102=43"
] | Current State: 43:[3, 89, 34, 56], Operations: []
Exploring Operation: 3*34=102, Resulting Numbers: [89, 56, 102]
Generated Node #2: [89, 56, 102] from Operation: 3*34=102
Current State: 43:[89, 56, 102], Operations: ['3*34=102']
Exploring Operation: 89+56=145, Resulting Numbers: [102, 145]
Generated Node #3: [102, 145] from Operation: 89+56=145
Current State: 43:[102, 145], Operations: ['3*34=102', '89+56=145']
Exploring Operation: 145-102=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[3, 89, 34, 56], Operations: []
Exploring Operation: 89-3=86, Resulting Numbers: [34, 56, 86]
Generated Node #0,0: 43:[34, 56, 86] Operation: 89-3=86
Exploring Operation: 89-56=33, Resulting Numbers: [3, 34, 33]
Generated Node #0,1: 43:[3, 34, 33] Operation: 89-56=33
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[3, 34, 33], Operations: ['89-56=33']
Exploring Operation: 3+34=37, Resulting Numbers: [33, 37]
Generated Node #0,1,0: 43:[33, 37] Operation: 3+34=37
Exploring Operation: 3+33=36, Resulting Numbers: [34, 36]
Generated Node #0,1,1: 43:[34, 36] Operation: 3+33=36
Moving to Node #0,1,0
Current State: 43:[33, 37], Operations: ['89-56=33', '3+34=37']
Exploring Operation: 37-33=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Exploring Operation: 33+37=70, Resulting Numbers: [70]
70,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[34, 36], Operations: ['89-56=33', '3+33=36']
Exploring Operation: 36-34=2, Resulting Numbers: [2]
2,43 unequal: No Solution
Exploring Operation: 34+36=70, Resulting Numbers: [70]
70,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[34, 56, 86], Operations: ['89-3=86']
Exploring Operation: 86-34=52, Resulting Numbers: [56, 52]
Generated Node #0,0,0: 43:[56, 52] Operation: 86-34=52
Exploring Operation: 86-56=30, Resulting Numbers: [34, 30]
Generated Node #0,0,1: 43:[34, 30] Operation: 86-56=30
Moving to Node #0,0,0
Current State: 43:[56, 52], Operations: ['89-3=86', '86-34=52']
Exploring Operation: 56+52=108, Resulting Numbers: [108]
108,43 unequal: No Solution
Exploring Operation: 56-52=4, Resulting Numbers: [4]
4,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[34, 30], Operations: ['89-3=86', '86-56=30']
Exploring Operation: 34+30=64, Resulting Numbers: [64]
64,43 unequal: No Solution
Exploring Operation: 34-30=4, Resulting Numbers: [4]
4,43 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,
25,
65,
19
] | 43 | [
"16+25=41",
"65+19=84",
"84-41=43"
] | Current State: 43:[16, 25, 65, 19], Operations: []
Exploring Operation: 16+25=41, Resulting Numbers: [65, 19, 41]
Generated Node #2: [65, 19, 41] from Operation: 16+25=41
Current State: 43:[65, 19, 41], Operations: ['16+25=41']
Exploring Operation: 65+19=84, Resulting Numbers: [41, 84]
Generated Node #3: [41, 84] from Operation: 65+19=84
Current State: 43:[41, 84], Operations: ['16+25=41', '65+19=84']
Exploring Operation: 84-41=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[16, 25, 65, 19], Operations: []
Exploring Operation: 65-16=49, Resulting Numbers: [25, 19, 49]
Generated Node #0,0: 43:[25, 19, 49] Operation: 65-16=49
Exploring Operation: 16+25=41, Resulting Numbers: [65, 19, 41]
Generated Node #0,1: 43:[65, 19, 41] Operation: 16+25=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[25, 19, 49], Operations: ['65-16=49']
Exploring Operation: 49-19=30, Resulting Numbers: [25, 30]
Generated Node #0,0,0: 43:[25, 30] Operation: 49-19=30
Exploring Operation: 25+19=44, Resulting Numbers: [49, 44]
Generated Node #0,0,1: 43:[49, 44] Operation: 25+19=44
Moving to Node #0,0,1
Current State: 43:[49, 44], Operations: ['65-16=49', '25+19=44']
Exploring Operation: 49+44=93, Resulting Numbers: [93]
93,43 unequal: No Solution
Exploring Operation: 49-44=5, Resulting Numbers: [5]
5,43 unequal: No Solution
Moving to Node #0,0,0
Current State: 43:[25, 30], Operations: ['65-16=49', '49-19=30']
Exploring Operation: 25+30=55, Resulting Numbers: [55]
55,43 unequal: No Solution
Exploring Operation: 30-25=5, Resulting Numbers: [5]
5,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[65, 19, 41], Operations: ['16+25=41']
Exploring Operation: 19+41=60, Resulting Numbers: [65, 60]
Generated Node #0,1,0: 43:[65, 60] Operation: 19+41=60
Exploring Operation: 65-19=46, Resulting Numbers: [41, 46]
Generated Node #0,1,1: 43:[41, 46] Operation: 65-19=46
Moving to Node #0,1,1
Current State: 43:[41, 46], Operations: ['16+25=41', '65-19=46']
Exploring Operation: 41+46=87, Resulting Numbers: [87]
87,43 unequal: No Solution
Exploring Operation: 46-41=5, Resulting Numbers: [5]
5,43 unequal: No Solution
Moving to Node #0,1,0
Current State: 43:[65, 60], Operations: ['16+25=41', '19+41=60']
Exploring Operation: 65-60=5, Resulting Numbers: [5]
5,43 unequal: No Solution
Exploring Operation: 65+60=125, Resulting Numbers: [125]
125,43 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 |
[
82,
19,
47,
2
] | 79 | [
"82-19=63",
"2*63=126",
"126-47=79"
] | Current State: 79:[82, 19, 47, 2], Operations: []
Exploring Operation: 82-19=63, Resulting Numbers: [47, 2, 63]
Generated Node #2: [47, 2, 63] from Operation: 82-19=63
Current State: 79:[47, 2, 63], Operations: ['82-19=63']
Exploring Operation: 2*63=126, Resulting Numbers: [47, 126]
Generated Node #3: [47, 126] from Operation: 2*63=126
Current State: 79:[47, 126], Operations: ['82-19=63', '2*63=126']
Exploring Operation: 126-47=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[82, 19, 47, 2], Operations: []
Exploring Operation: 19+47=66, Resulting Numbers: [82, 2, 66]
Generated Node #0,0: 79:[82, 2, 66] Operation: 19+47=66
Exploring Operation: 82-2=80, Resulting Numbers: [19, 47, 80]
Generated Node #0,1: 79:[19, 47, 80] Operation: 82-2=80
Exploring Operation: 19*2=38, Resulting Numbers: [82, 47, 38]
Generated Node #0,2: 79:[82, 47, 38] Operation: 19*2=38
Exploring Operation: 47*2=94, Resulting Numbers: [82, 19, 94]
Generated Node #0,3: 79:[82, 19, 94] Operation: 47*2=94
Exploring Operation: 19+2=21, Resulting Numbers: [82, 47, 21]
Generated Node #0,4: 79:[82, 47, 21] Operation: 19+2=21
Moving to Node #0,2
Current State: 79:[82, 47, 38], Operations: ['19*2=38']
Exploring Operation: 82-38=44, Resulting Numbers: [47, 44]
Generated Node #0,2,0: 79:[47, 44] Operation: 82-38=44
Exploring Operation: 82-47=35, Resulting Numbers: [38, 35]
Generated Node #0,2,1: 79:[38, 35] Operation: 82-47=35
Exploring Operation: 47-38=9, Resulting Numbers: [82, 9]
Generated Node #0,2,2: 79:[82, 9] Operation: 47-38=9
Exploring Operation: 47+38=85, Resulting Numbers: [82, 85]
Generated Node #0,2,3: 79:[82, 85] Operation: 47+38=85
Exploring Operation: 82+38=120, Resulting Numbers: [47, 120]
Generated Node #0,2,4: 79:[47, 120] Operation: 82+38=120
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 79:[82, 85], Operations: ['19*2=38', '47+38=85']
Exploring Operation: 82*85=6970, Resulting Numbers: [6970]
6970,79 unequal: No Solution
Exploring Operation: 82+85=167, Resulting Numbers: [167]
167,79 unequal: No Solution
Exploring Operation: 85-82=3, Resulting Numbers: [3]
3,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 79:[47, 44], Operations: ['19*2=38', '82-38=44']
Exploring Operation: 47-44=3, Resulting Numbers: [3]
3,79 unequal: No Solution
Exploring Operation: 47*44=2068, Resulting Numbers: [2068]
2068,79 unequal: No Solution
Exploring Operation: 47+44=91, Resulting Numbers: [91]
91,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 79:[82, 9], Operations: ['19*2=38', '47-38=9']
Exploring Operation: 82-9=73, Resulting Numbers: [73]
73,79 unequal: No Solution
Exploring Operation: 82+9=91, Resulting Numbers: [91]
91,79 unequal: No Solution
Exploring Operation: 82*9=738, Resulting Numbers: [738]
738,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 79:[47, 120], Operations: ['19*2=38', '82+38=120']
Exploring Operation: 47*120=5640, Resulting Numbers: [5640]
5640,79 unequal: No Solution
Exploring Operation: 47+120=167, Resulting Numbers: [167]
167,79 unequal: No Solution
Exploring Operation: 120-47=73, Resulting Numbers: [73]
73,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 79:[38, 35], Operations: ['19*2=38', '82-47=35']
Exploring Operation: 38+35=73, Resulting Numbers: [73]
73,79 unequal: No Solution
Exploring Operation: 38*35=1330, Resulting Numbers: [1330]
1330,79 unequal: No Solution
Exploring Operation: 38-35=3, Resulting Numbers: [3]
3,79 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: 79:[82, 19, 94], Operations: ['47*2=94']
Exploring Operation: 94-19=75, Resulting Numbers: [82, 75]
Generated Node #0,3,0: 79:[82, 75] Operation: 94-19=75
Exploring Operation: 94-82=12, Resulting Numbers: [19, 12]
Generated Node #0,3,1: 79:[19, 12] Operation: 94-82=12
Exploring Operation: 82-19=63, Resulting Numbers: [94, 63]
Generated Node #0,3,2: 79:[94, 63] Operation: 82-19=63
Exploring Operation: 82+19=101, Resulting Numbers: [94, 101]
Generated Node #0,3,3: 79:[94, 101] Operation: 82+19=101
Exploring Operation: 19+94=113, Resulting Numbers: [82, 113]
Generated Node #0,3,4: 79:[82, 113] Operation: 19+94=113
Moving to Node #0,0
Current State: 79:[82, 2, 66], Operations: ['19+47=66']
Exploring Operation: 82+2=84, Resulting Numbers: [66, 84]
Generated Node #0,0,0: 79:[66, 84] Operation: 82+2=84
Exploring Operation: 66/2=33, Resulting Numbers: [82, 33]
Generated Node #0,0,1: 79:[82, 33] Operation: 66/2=33
Exploring Operation: 82-2=80, Resulting Numbers: [66, 80]
Generated Node #0,0,2: 79:[66, 80] Operation: 82-2=80
Exploring Operation: 2+66=68, Resulting Numbers: [82, 68]
Generated Node #0,0,3: 79:[82, 68] Operation: 2+66=68
Exploring Operation: 66-2=64, Resulting Numbers: [82, 64]
Generated Node #0,0,4: 79:[82, 64] Operation: 66-2=64
Moving to Node #0,1
Current State: 79:[19, 47, 80], Operations: ['82-2=80']
Exploring Operation: 19+80=99, Resulting Numbers: [47, 99]
Generated Node #0,1,0: 79:[47, 99] Operation: 19+80=99
Exploring Operation: 80-19=61, Resulting Numbers: [47, 61]
Generated Node #0,1,1: 79:[47, 61] Operation: 80-19=61
Exploring Operation: 19+47=66, Resulting Numbers: [80, 66]
Generated Node #0,1,2: 79:[80, 66] Operation: 19+47=66
Exploring Operation: 47-19=28, Resulting Numbers: [80, 28]
Generated Node #0,1,3: 79:[80, 28] Operation: 47-19=28
Exploring Operation: 80-47=33, Resulting Numbers: [19, 33]
Generated Node #0,1,4: 79:[19, 33] Operation: 80-47=33
Moving to Node #0,4
Current State: 79:[82, 47, 21], Operations: ['19+2=21']
Exploring Operation: 82+21=103, Resulting Numbers: [47, 103]
Generated Node #0,4,0: 79:[47, 103] Operation: 82+21=103
Exploring Operation: 47-21=26, Resulting Numbers: [82, 26]
Generated Node #0,4,1: 79:[82, 26] Operation: 47-21=26
Exploring Operation: 47+21=68, Resulting Numbers: [82, 68]
Generated Node #0,4,2: 79:[82, 68] Operation: 47+21=68
Exploring Operation: 82-47=35, Resulting Numbers: [21, 35]
Generated Node #0,4,3: 79:[21, 35] Operation: 82-47=35
Exploring Operation: 82-21=61, Resulting Numbers: [47, 61]
Generated Node #0,4,4: 79:[47, 61] Operation: 82-21=61
Moving to Node #0,3,0
Current State: 79:[82, 75], Operations: ['47*2=94', '94-19=75']
Exploring Operation: 82*75=6150, Resulting Numbers: [6150]
6150,79 unequal: No Solution
Exploring Operation: 82-75=7, Resulting Numbers: [7]
7,79 unequal: No Solution
Exploring Operation: 82+75=157, Resulting Numbers: [157]
157,79 unequal: No Solution
Moving to Node #0,0,2
Current State: 79:[66, 80], Operations: ['19+47=66', '82-2=80']
Exploring Operation: 66+80=146, Resulting Numbers: [146]
146,79 unequal: No Solution
Exploring Operation: 80-66=14, Resulting Numbers: [14]
14,79 unequal: No Solution
Exploring Operation: 66*80=5280, Resulting Numbers: [5280]
5280,79 unequal: No Solution
Moving to Node #0,0,3
Current State: 79:[82, 68], Operations: ['19+47=66', '2+66=68']
Exploring Operation: 82-68=14, Resulting Numbers: [14]
14,79 unequal: No Solution
Exploring Operation: 82+68=150, Resulting Numbers: [150]
150,79 unequal: No Solution
Exploring Operation: 82*68=5576, Resulting Numbers: [5576]
5576,79 unequal: No Solution
Moving to Node #0,1,2
Current State: 79:[80, 66], Operations: ['82-2=80', '19+47=66']
Exploring Operation: 80+66=146, Resulting Numbers: [146]
146,79 unequal: No Solution
Exploring Operation: 80*66=5280, Resulting Numbers: [5280]
5280,79 unequal: No Solution
Exploring Operation: 80-66=14, Resulting Numbers: [14]
14,79 unequal: No Solution
Moving to Node #0,4,2
Current State: 79:[82, 68], Operations: ['19+2=21', '47+21=68']
Exploring Operation: 82*68=5576, Resulting Numbers: [5576]
5576,79 unequal: No Solution
Exploring Operation: 82+68=150, Resulting Numbers: [150]
150,79 unequal: No Solution
Exploring Operation: 82-68=14, Resulting Numbers: [14]
14,79 unequal: No Solution
Moving to Node #0,0,0
Current State: 79:[66, 84], Operations: ['19+47=66', '82+2=84']
Exploring Operation: 66+84=150, Resulting Numbers: [150]
150,79 unequal: No Solution
Exploring Operation: 84-66=18, Resulting Numbers: [18]
18,79 unequal: No Solution
Exploring Operation: 66*84=5544, Resulting Numbers: [5544]
5544,79 unequal: No Solution
Moving to Node #0,0,4
Current State: 79:[82, 64], Operations: ['19+47=66', '66-2=64']
Exploring Operation: 82*64=5248, Resulting Numbers: [5248]
5248,79 unequal: No Solution
Exploring Operation: 82-64=18, Resulting Numbers: [18]
18,79 unequal: No Solution
Exploring Operation: 82+64=146, Resulting Numbers: [146]
146,79 unequal: No Solution
Moving to Node #0,3,2
Current State: 79:[94, 63], Operations: ['47*2=94', '82-19=63']
Exploring Operation: 94-63=31, Resulting Numbers: [31]
31,79 unequal: No Solution
Exploring Operation: 94*63=5922, Resulting Numbers: [5922]
5922,79 unequal: No Solution
Exploring Operation: 94+63=157, Resulting Numbers: [157]
157,79 unequal: No Solution
Moving to Node #0,3,3
Current State: 79:[94, 101], Operations: ['47*2=94', '82+19=101']
Exploring Operation: 101-94=7, Resulting Numbers: [7]
7,79 unequal: No Solution
Exploring Operation: 94*101=9494, Resulting Numbers: [9494]
9494,79 unequal: No Solution
Exploring Operation: 94+101=195, Resulting Numbers: [195]
195,79 unequal: No Solution
Moving to Node #0,3,4
Current State: 79:[82, 113], Operations: ['47*2=94', '19+94=113']
Exploring Operation: 82+113=195, Resulting Numbers: [195]
195,79 unequal: No Solution
Exploring Operation: 82*113=9266, Resulting Numbers: [9266]
9266,79 unequal: No Solution
Exploring Operation: 113-82=31, Resulting Numbers: [31]
31,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[82, 33], Operations: ['19+47=66', '66/2=33']
Exploring Operation: 82+33=115, Resulting Numbers: [115]
115,79 unequal: No Solution
Exploring Operation: 82-33=49, Resulting Numbers: [49]
49,79 unequal: No Solution
Exploring Operation: 82*33=2706, Resulting Numbers: [2706]
2706,79 unequal: No Solution
Moving to Node #0,1,1
Current State: 79:[47, 61], Operations: ['82-2=80', '80-19=61']
Exploring Operation: 47*61=2867, Resulting Numbers: [2867]
2867,79 unequal: No Solution
Exploring Operation: 61-47=14, Resulting Numbers: [14]
14,79 unequal: No Solution
Exploring Operation: 47+61=108, Resulting Numbers: [108]
108,79 unequal: No Solution
Moving to Node #0,4,4
Current State: 79:[47, 61], Operations: ['19+2=21', '82-21=61']
Exploring Operation: 47*61=2867, Resulting Numbers: [2867]
2867,79 unequal: No Solution
Exploring Operation: 61-47=14, Resulting Numbers: [14]
14,79 unequal: No Solution
Exploring Operation: 47+61=108, Resulting Numbers: [108]
108,79 unequal: No Solution
Moving to Node #0,1,3
Current State: 79:[80, 28], Operations: ['82-2=80', '47-19=28']
Exploring Operation: 80*28=2240, Resulting Numbers: [2240]
2240,79 unequal: No Solution
Exploring Operation: 80-28=52, Resulting Numbers: [52]
52,79 unequal: No Solution
Exploring Operation: 80+28=108, Resulting Numbers: [108]
108,79 unequal: No Solution
Moving to Node #0,1,0
Current State: 79:[47, 99], Operations: ['82-2=80', '19+80=99']
Exploring Operation: 99-47=52, Resulting Numbers: [52]
52,79 unequal: No Solution
Exploring Operation: 47+99=146, Resulting Numbers: [146]
146,79 unequal: No Solution
Exploring Operation: 47*99=4653, Resulting Numbers: [4653]
4653,79 unequal: No Solution
Moving to Node #0,4,1
Current State: 79:[82, 26], Operations: ['19+2=21', '47-21=26']
Exploring Operation: 82+26=108, Resulting Numbers: [108]
108,79 unequal: No Solution
Exploring Operation: 82*26=2132, Resulting Numbers: [2132]
2132,79 unequal: No Solution
Exploring Operation: 82-26=56, Resulting Numbers: [56]
56,79 unequal: No Solution
Moving to Node #0,4,0
Current State: 79:[47, 103], Operations: ['19+2=21', '82+21=103']
Exploring Operation: 47+103=150, Resulting Numbers: [150]
150,79 unequal: No Solution
Exploring Operation: 103-47=56, Resulting Numbers: [56]
56,79 unequal: No Solution
Exploring Operation: 47*103=4841, Resulting Numbers: [4841]
4841,79 unequal: No Solution
Moving to Node #0,4,3
Current State: 79:[21, 35], Operations: ['19+2=21', '82-47=35']
Exploring Operation: 35-21=14, Resulting Numbers: [14]
14,79 unequal: No Solution
Exploring Operation: 21+35=56, Resulting Numbers: [56]
56,79 unequal: No Solution
Exploring Operation: 21*35=735, Resulting Numbers: [735]
735,79 unequal: No Solution
Moving to Node #0,1,4
Current State: 79:[19, 33], Operations: ['82-2=80', '80-47=33']
Exploring Operation: 19+33=52, Resulting Numbers: [52]
52,79 unequal: No Solution
Exploring Operation: 19*33=627, Resulting Numbers: [627]
627,79 unequal: No Solution
Exploring Operation: 33-19=14, Resulting Numbers: [14]
14,79 unequal: No Solution
Moving to Node #0,3,1
Current State: 79:[19, 12], Operations: ['47*2=94', '94-82=12']
Exploring Operation: 19*12=228, Resulting Numbers: [228]
228,79 unequal: No Solution
Exploring Operation: 19-12=7, Resulting Numbers: [7]
7,79 unequal: No Solution
Exploring Operation: 19+12=31, Resulting Numbers: [31]
31,79 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
94,
71,
10,
60
] | 29 | [
"94-71=23",
"60/10=6",
"23+6=29"
] | Current State: 29:[94, 71, 10, 60], Operations: []
Exploring Operation: 94-71=23, Resulting Numbers: [10, 60, 23]
Generated Node #2: [10, 60, 23] from Operation: 94-71=23
Current State: 29:[10, 60, 23], Operations: ['94-71=23']
Exploring Operation: 60/10=6, Resulting Numbers: [23, 6]
Generated Node #3: [23, 6] from Operation: 60/10=6
Current State: 29:[23, 6], Operations: ['94-71=23', '60/10=6']
Exploring Operation: 23+6=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[94, 71, 10, 60], Operations: []
Exploring Operation: 71-60=11, Resulting Numbers: [94, 10, 11]
Generated Node #0,0: 29:[94, 10, 11] Operation: 71-60=11
Exploring Operation: 71-10=61, Resulting Numbers: [94, 60, 61]
Generated Node #0,1: 29:[94, 60, 61] Operation: 71-10=61
Exploring Operation: 94-71=23, Resulting Numbers: [10, 60, 23]
Generated Node #0,2: 29:[10, 60, 23] Operation: 94-71=23
Exploring Operation: 94-60=34, Resulting Numbers: [71, 10, 34]
Generated Node #0,3: 29:[71, 10, 34] Operation: 94-60=34
Exploring Operation: 94-10=84, Resulting Numbers: [71, 60, 84]
Generated Node #0,4: 29:[71, 60, 84] Operation: 94-10=84
Moving to Node #0,2
Current State: 29:[10, 60, 23], Operations: ['94-71=23']
Exploring Operation: 60-10=50, Resulting Numbers: [23, 50]
Generated Node #0,2,0: 29:[23, 50] Operation: 60-10=50
Exploring Operation: 60-23=37, Resulting Numbers: [10, 37]
Generated Node #0,2,1: 29:[10, 37] Operation: 60-23=37
Exploring Operation: 10+60=70, Resulting Numbers: [23, 70]
Generated Node #0,2,2: 29:[23, 70] Operation: 10+60=70
Exploring Operation: 60/10=6, Resulting Numbers: [23, 6]
Generated Node #0,2,3: 29:[23, 6] Operation: 60/10=6
Exploring Operation: 10+23=33, Resulting Numbers: [60, 33]
Generated Node #0,2,4: 29:[60, 33] Operation: 10+23=33
Moving to Node #0,3
Current State: 29:[71, 10, 34], Operations: ['94-60=34']
Exploring Operation: 10+34=44, Resulting Numbers: [71, 44]
Generated Node #0,3,0: 29:[71, 44] Operation: 10+34=44
Exploring Operation: 71+10=81, Resulting Numbers: [34, 81]
Generated Node #0,3,1: 29:[34, 81] Operation: 71+10=81
Exploring Operation: 34-10=24, Resulting Numbers: [71, 24]
Generated Node #0,3,2: 29:[71, 24] Operation: 34-10=24
Exploring Operation: 71-34=37, Resulting Numbers: [10, 37]
Generated Node #0,3,3: 29:[10, 37] Operation: 71-34=37
Exploring Operation: 71-10=61, Resulting Numbers: [34, 61]
Generated Node #0,3,4: 29:[34, 61] Operation: 71-10=61
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 29:[10, 37], Operations: ['94-60=34', '71-34=37']
Exploring Operation: 10*37=370, Resulting Numbers: [370]
370,29 unequal: No Solution
Exploring Operation: 10+37=47, Resulting Numbers: [47]
47,29 unequal: No Solution
Exploring Operation: 37-10=27, Resulting Numbers: [27]
27,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 29:[34, 61], Operations: ['94-60=34', '71-10=61']
Exploring Operation: 34+61=95, Resulting Numbers: [95]
95,29 unequal: No Solution
Exploring Operation: 34*61=2074, Resulting Numbers: [2074]
2074,29 unequal: No Solution
Exploring Operation: 61-34=27, Resulting Numbers: [27]
27,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,2
Current State: 29:[71, 24], Operations: ['94-60=34', '34-10=24']
Exploring Operation: 71-24=47, Resulting Numbers: [47]
47,29 unequal: No Solution
Exploring Operation: 71+24=95, Resulting Numbers: [95]
95,29 unequal: No Solution
Exploring Operation: 71*24=1704, Resulting Numbers: [1704]
1704,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 29:[71, 44], Operations: ['94-60=34', '10+34=44']
Exploring Operation: 71*44=3124, Resulting Numbers: [3124]
3124,29 unequal: No Solution
Exploring Operation: 71+44=115, Resulting Numbers: [115]
115,29 unequal: No Solution
Exploring Operation: 71-44=27, Resulting Numbers: [27]
27,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 29:[34, 81], Operations: ['94-60=34', '71+10=81']
Exploring Operation: 34+81=115, Resulting Numbers: [115]
115,29 unequal: No Solution
Exploring Operation: 34*81=2754, Resulting Numbers: [2754]
2754,29 unequal: No Solution
Exploring Operation: 81-34=47, Resulting Numbers: [47]
47,29 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: 29:[94, 10, 11], Operations: ['71-60=11']
Exploring Operation: 94+10=104, Resulting Numbers: [11, 104]
Generated Node #0,0,0: 29:[11, 104] Operation: 94+10=104
Exploring Operation: 94-10=84, Resulting Numbers: [11, 84]
Generated Node #0,0,1: 29:[11, 84] Operation: 94-10=84
Exploring Operation: 10+11=21, Resulting Numbers: [94, 21]
Generated Node #0,0,2: 29:[94, 21] Operation: 10+11=21
Exploring Operation: 94-11=83, Resulting Numbers: [10, 83]
Generated Node #0,0,3: 29:[10, 83] Operation: 94-11=83
Exploring Operation: 11-10=1, Resulting Numbers: [94, 1]
Generated Node #0,0,4: 29:[94, 1] Operation: 11-10=1
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 29:[11, 84], Operations: ['71-60=11', '94-10=84']
Exploring Operation: 11*84=924, Resulting Numbers: [924]
924,29 unequal: No Solution
Exploring Operation: 11+84=95, Resulting Numbers: [95]
95,29 unequal: No Solution
Exploring Operation: 84-11=73, Resulting Numbers: [73]
73,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 29:[94, 21], Operations: ['71-60=11', '10+11=21']
Exploring Operation: 94-21=73, Resulting Numbers: [73]
73,29 unequal: No Solution
Exploring Operation: 94+21=115, Resulting Numbers: [115]
115,29 unequal: No Solution
Exploring Operation: 94*21=1974, Resulting Numbers: [1974]
1974,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 29:[10, 83], Operations: ['71-60=11', '94-11=83']
Exploring Operation: 83-10=73, Resulting Numbers: [73]
73,29 unequal: No Solution
Exploring Operation: 10+83=93, Resulting Numbers: [93]
93,29 unequal: No Solution
Exploring Operation: 10*83=830, Resulting Numbers: [830]
830,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 29:[11, 104], Operations: ['71-60=11', '94+10=104']
Exploring Operation: 11*104=1144, Resulting Numbers: [1144]
1144,29 unequal: No Solution
Exploring Operation: 11+104=115, Resulting Numbers: [115]
115,29 unequal: No Solution
Exploring Operation: 104-11=93, Resulting Numbers: [93]
93,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 29:[94, 1], Operations: ['71-60=11', '11-10=1']
Exploring Operation: 94/1=94, Resulting Numbers: [94]
94,29 unequal: No Solution
Exploring Operation: 94*1=94, Resulting Numbers: [94]
94,29 unequal: No Solution
Exploring Operation: 94-1=93, Resulting Numbers: [93]
93,29 unequal: No Solution
Exploring Operation: 94+1=95, Resulting Numbers: [95]
95,29 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 29:[94, 60, 61], Operations: ['71-10=61']
Exploring Operation: 94-61=33, Resulting Numbers: [60, 33]
Generated Node #0,1,0: 29:[60, 33] Operation: 94-61=33
Exploring Operation: 94+60=154, Resulting Numbers: [61, 154]
Generated Node #0,1,1: 29:[61, 154] Operation: 94+60=154
Exploring Operation: 94-60=34, Resulting Numbers: [61, 34]
Generated Node #0,1,2: 29:[61, 34] Operation: 94-60=34
Exploring Operation: 61-60=1, Resulting Numbers: [94, 1]
Generated Node #0,1,3: 29:[94, 1] Operation: 61-60=1
Exploring Operation: 94+61=155, Resulting Numbers: [60, 155]
Generated Node #0,1,4: 29:[60, 155] Operation: 94+61=155
Moving to Node #0,4
Current State: 29:[71, 60, 84], Operations: ['94-10=84']
Exploring Operation: 84-60=24, Resulting Numbers: [71, 24]
Generated Node #0,4,0: 29:[71, 24] Operation: 84-60=24
Exploring Operation: 71+60=131, Resulting Numbers: [84, 131]
Generated Node #0,4,1: 29:[84, 131] Operation: 71+60=131
Exploring Operation: 71-60=11, Resulting Numbers: [84, 11]
Generated Node #0,4,2: 29:[84, 11] Operation: 71-60=11
Exploring Operation: 71+84=155, Resulting Numbers: [60, 155]
Generated Node #0,4,3: 29:[60, 155] Operation: 71+84=155
Exploring Operation: 84-71=13, Resulting Numbers: [60, 13]
Generated Node #0,4,4: 29:[60, 13] Operation: 84-71=13
Moving to Node #0,2,0
Current State: 29:[23, 50], Operations: ['94-71=23', '60-10=50']
Exploring Operation: 23*50=1150, Resulting Numbers: [1150]
1150,29 unequal: No Solution
Exploring Operation: 50-23=27, Resulting Numbers: [27]
27,29 unequal: No Solution
Exploring Operation: 23+50=73, Resulting Numbers: [73]
73,29 unequal: No Solution
Moving to Node #0,2,1
Current State: 29:[10, 37], Operations: ['94-71=23', '60-23=37']
Exploring Operation: 37-10=27, Resulting Numbers: [27]
27,29 unequal: No Solution
Exploring Operation: 10*37=370, Resulting Numbers: [370]
370,29 unequal: No Solution
Exploring Operation: 10+37=47, Resulting Numbers: [47]
47,29 unequal: No Solution
Moving to Node #0,2,3
Current State: 29:[23, 6], Operations: ['94-71=23', '60/10=6']
Exploring Operation: 23*6=138, Resulting Numbers: [138]
138,29 unequal: No Solution
Exploring Operation: 23+6=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
Moving to Node #0
Current State: 29:[94, 71, 10, 60], Operations: []
Exploring Operation: 94-71=23, Resulting Numbers: [10, 60, 23]
Generated Node #0,2: 29:[10, 60, 23] Operation: 94-71=23
Moving to Node #0,2
Current State: 29:[10, 60, 23], Operations: ['94-71=23']
Exploring Operation: 60/10=6, Resulting Numbers: [23, 6]
Generated Node #0,2,3: 29:[23, 6] Operation: 60/10=6
Moving to Node #0,2,3
Current State: 29:[23, 6], Operations: ['94-71=23', '60/10=6']
Exploring Operation: 23+6=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 0.936632 | hs_5 | sum_heuristic |
[
75,
15,
84,
60
] | 36 | [
"75-15=60",
"84-60=24",
"60-24=36"
] | Current State: 36:[75, 15, 84, 60], Operations: []
Exploring Operation: 75-15=60, Resulting Numbers: [84, 60, 60]
Generated Node #2: [84, 60, 60] from Operation: 75-15=60
Current State: 36:[84, 60, 60], Operations: ['75-15=60']
Exploring Operation: 84-60=24, Resulting Numbers: [24]
24,36 equal: Goal Reached
Exploring Operation: 60-24=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[75, 15, 84, 60], Operations: []
Exploring Operation: 84-60=24, Resulting Numbers: [75, 15, 24]
Generated Node #0,0: 36:[75, 15, 24] Operation: 84-60=24
Exploring Operation: 84-75=9, Resulting Numbers: [15, 60, 9]
Generated Node #0,1: 36:[15, 60, 9] Operation: 84-75=9
Exploring Operation: 75-60=15, Resulting Numbers: [15, 84, 15]
Generated Node #0,2: 36:[15, 84, 15] Operation: 75-60=15
Moving to Node #0,1
Current State: 36:[15, 60, 9], Operations: ['84-75=9']
Exploring Operation: 60/15=4, Resulting Numbers: [9, 4]
Generated Node #0,1,0: 36:[9, 4] Operation: 60/15=4
Exploring Operation: 60-9=51, Resulting Numbers: [15, 51]
Generated Node #0,1,1: 36:[15, 51] Operation: 60-9=51
Exploring Operation: 60-15=45, Resulting Numbers: [9, 45]
Generated Node #0,1,2: 36:[9, 45] Operation: 60-15=45
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 36:[9, 4], Operations: ['84-75=9', '60/15=4']
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,36 unequal: No Solution
Exploring Operation: 9*4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[75, 15, 84, 60], Operations: []
Exploring Operation: 84-75=9, Resulting Numbers: [15, 60, 9]
Generated Node #0,1: 36:[15, 60, 9] Operation: 84-75=9
Moving to Node #0,1
Current State: 36:[15, 60, 9], Operations: ['84-75=9']
Exploring Operation: 60/15=4, Resulting Numbers: [9, 4]
Generated Node #0,1,0: 36:[9, 4] Operation: 60/15=4
Moving to Node #0,1,0
Current State: 36:[9, 4], Operations: ['84-75=9', '60/15=4']
Exploring Operation: 9*4=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | mult_heuristic |
[
64,
95,
48,
32
] | 93 | [
"64-48=16",
"32/16=2",
"95-2=93"
] | Current State: 93:[64, 95, 48, 32], Operations: []
Exploring Operation: 64-48=16, Resulting Numbers: [95, 32, 16]
Generated Node #2: [95, 32, 16] from Operation: 64-48=16
Current State: 93:[95, 32, 16], Operations: ['64-48=16']
Exploring Operation: 32/16=2, Resulting Numbers: [95, 2]
Generated Node #3: [95, 2] from Operation: 32/16=2
Current State: 93:[95, 2], Operations: ['64-48=16', '32/16=2']
Exploring Operation: 95-2=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[64, 95, 48, 32], Operations: []
Exploring Operation: 95-64=31, Resulting Numbers: [48, 32, 31]
Generated Node #0,0: 93:[48, 32, 31] Operation: 95-64=31
Exploring Operation: 64-48=16, Resulting Numbers: [95, 32, 16]
Generated Node #0,1: 93:[95, 32, 16] Operation: 64-48=16
Moving to Node #0,1
Current State: 93:[95, 32, 16], Operations: ['64-48=16']
Exploring Operation: 32/16=2, Resulting Numbers: [95, 2]
Generated Node #0,1,0: 93:[95, 2] Operation: 32/16=2
Exploring Operation: 95-16=79, Resulting Numbers: [32, 79]
Generated Node #0,1,1: 93:[32, 79] Operation: 95-16=79
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 93:[95, 2], Operations: ['64-48=16', '32/16=2']
Exploring Operation: 95-2=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[64, 95, 48, 32], Operations: []
Exploring Operation: 64-48=16, Resulting Numbers: [95, 32, 16]
Generated Node #0,1: 93:[95, 32, 16] Operation: 64-48=16
Moving to Node #0,1
Current State: 93:[95, 32, 16], Operations: ['64-48=16']
Exploring Operation: 32/16=2, Resulting Numbers: [95, 2]
Generated Node #0,1,0: 93:[95, 2] Operation: 32/16=2
Moving to Node #0,1,0
Current State: 93:[95, 2], Operations: ['64-48=16', '32/16=2']
Exploring Operation: 95-2=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
67,
56,
93,
57
] | 42 | [
"67+57=124",
"56*93=5208",
"5208/124=42"
] | Current State: 42:[67, 56, 93, 57], Operations: []
Exploring Operation: 67+57=124, Resulting Numbers: [56, 93, 124]
Generated Node #2: [56, 93, 124] from Operation: 67+57=124
Current State: 42:[56, 93, 124], Operations: ['67+57=124']
Exploring Operation: 56*93=5208, Resulting Numbers: [124, 5208]
Generated Node #3: [124, 5208] from Operation: 56*93=5208
Current State: 42:[124, 5208], Operations: ['67+57=124', '56*93=5208']
Exploring Operation: 5208/124=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[67, 56, 93, 57], Operations: []
Exploring Operation: 93-67=26, Resulting Numbers: [56, 57, 26]
Generated Node #0,0: 42:[56, 57, 26] Operation: 93-67=26
Exploring Operation: 93-56=37, Resulting Numbers: [67, 57, 37]
Generated Node #0,1: 42:[67, 57, 37] Operation: 93-56=37
Exploring Operation: 93-57=36, Resulting Numbers: [67, 56, 36]
Generated Node #0,2: 42:[67, 56, 36] Operation: 93-57=36
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[56, 57, 26], Operations: ['93-67=26']
Exploring Operation: 57-56=1, Resulting Numbers: [26, 1]
Generated Node #0,0,0: 42:[26, 1] Operation: 57-56=1
Exploring Operation: 56-26=30, Resulting Numbers: [57, 30]
Generated Node #0,0,1: 42:[57, 30] Operation: 56-26=30
Exploring Operation: 57-26=31, Resulting Numbers: [56, 31]
Generated Node #0,0,2: 42:[56, 31] Operation: 57-26=31
Moving to Node #0,0,0
Current State: 42:[26, 1], Operations: ['93-67=26', '57-56=1']
Exploring Operation: 26/1=26, Resulting Numbers: [26]
26,42 unequal: No Solution
Exploring Operation: 26*1=26, Resulting Numbers: [26]
26,42 unequal: No Solution
Exploring Operation: 26-1=25, Resulting Numbers: [25]
25,42 unequal: No Solution
Moving to Node #0,0,1
Current State: 42:[57, 30], Operations: ['93-67=26', '56-26=30']
Exploring Operation: 57-30=27, Resulting Numbers: [27]
27,42 unequal: No Solution
Exploring Operation: 57*30=1710, Resulting Numbers: [1710]
1710,42 unequal: No Solution
Exploring Operation: 57+30=87, Resulting Numbers: [87]
87,42 unequal: No Solution
Moving to Node #0,0,2
Current State: 42:[56, 31], Operations: ['93-67=26', '57-26=31']
Exploring Operation: 56*31=1736, Resulting Numbers: [1736]
1736,42 unequal: No Solution
Exploring Operation: 56+31=87, Resulting Numbers: [87]
87,42 unequal: No Solution
Exploring Operation: 56-31=25, Resulting Numbers: [25]
25,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 42:[67, 57, 37], Operations: ['93-56=37']
Exploring Operation: 67-37=30, Resulting Numbers: [57, 30]
Generated Node #0,1,0: 42:[57, 30] Operation: 67-37=30
Exploring Operation: 67-57=10, Resulting Numbers: [37, 10]
Generated Node #0,1,1: 42:[37, 10] Operation: 67-57=10
Exploring Operation: 57-37=20, Resulting Numbers: [67, 20]
Generated Node #0,1,2: 42:[67, 20] Operation: 57-37=20
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 42:[37, 10], Operations: ['93-56=37', '67-57=10']
Exploring Operation: 37-10=27, Resulting Numbers: [27]
27,42 unequal: No Solution
Exploring Operation: 37+10=47, Resulting Numbers: [47]
47,42 unequal: No Solution
Exploring Operation: 37*10=370, Resulting Numbers: [370]
370,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,1,0
Current State: 42:[57, 30], Operations: ['93-56=37', '67-37=30']
Exploring Operation: 57-30=27, Resulting Numbers: [27]
27,42 unequal: No Solution
Exploring Operation: 57*30=1710, Resulting Numbers: [1710]
1710,42 unequal: No Solution
Exploring Operation: 57+30=87, Resulting Numbers: [87]
87,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,1,2
Current State: 42:[67, 20], Operations: ['93-56=37', '57-37=20']
Exploring Operation: 67*20=1340, Resulting Numbers: [1340]
1340,42 unequal: No Solution
Exploring Operation: 67-20=47, Resulting Numbers: [47]
47,42 unequal: No Solution
Exploring Operation: 67+20=87, Resulting Numbers: [87]
87,42 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: 42:[67, 56, 36], Operations: ['93-57=36']
Exploring Operation: 67-36=31, Resulting Numbers: [56, 31]
Generated Node #0,2,0: 42:[56, 31] Operation: 67-36=31
Exploring Operation: 67-56=11, Resulting Numbers: [36, 11]
Generated Node #0,2,1: 42:[36, 11] Operation: 67-56=11
Exploring Operation: 56-36=20, Resulting Numbers: [67, 20]
Generated Node #0,2,2: 42:[67, 20] Operation: 56-36=20
Moving to Node #0,2,1
Current State: 42:[36, 11], Operations: ['93-57=36', '67-56=11']
Exploring Operation: 36+11=47, Resulting Numbers: [47]
47,42 unequal: No Solution
Exploring Operation: 36*11=396, Resulting Numbers: [396]
396,42 unequal: No Solution
Exploring Operation: 36-11=25, Resulting Numbers: [25]
25,42 unequal: No Solution
Moving to Node #0,2,0
Current State: 42:[56, 31], Operations: ['93-57=36', '67-36=31']
Exploring Operation: 56-31=25, Resulting Numbers: [25]
25,42 unequal: No Solution
Exploring Operation: 56+31=87, Resulting Numbers: [87]
87,42 unequal: No Solution
Exploring Operation: 56*31=1736, Resulting Numbers: [1736]
1736,42 unequal: No Solution
Moving to Node #0,2,2
Current State: 42:[67, 20], Operations: ['93-57=36', '56-36=20']
Exploring Operation: 67-20=47, Resulting Numbers: [47]
47,42 unequal: No Solution
Exploring Operation: 67+20=87, Resulting Numbers: [87]
87,42 unequal: No Solution
Exploring Operation: 67*20=1340, Resulting Numbers: [1340]
1340,42 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 |
[
87,
37,
39,
56
] | 62 | [
"87-56=31",
"39-37=2",
"31*2=62"
] | Current State: 62:[87, 37, 39, 56], Operations: []
Exploring Operation: 87-56=31, Resulting Numbers: [37, 39, 31]
Generated Node #2: [37, 39, 31] from Operation: 87-56=31
Current State: 62:[37, 39, 31], Operations: ['87-56=31']
Exploring Operation: 39-37=2, Resulting Numbers: [31, 2]
Generated Node #3: [31, 2] from Operation: 39-37=2
Current State: 62:[31, 2], Operations: ['87-56=31', '39-37=2']
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[87, 37, 39, 56], Operations: []
Exploring Operation: 87-37=50, Resulting Numbers: [39, 56, 50]
Generated Node #0,0: 62:[39, 56, 50] Operation: 87-37=50
Exploring Operation: 87-39=48, Resulting Numbers: [37, 56, 48]
Generated Node #0,1: 62:[37, 56, 48] Operation: 87-39=48
Exploring Operation: 87-56=31, Resulting Numbers: [37, 39, 31]
Generated Node #0,2: 62:[37, 39, 31] Operation: 87-56=31
Moving to Node #0,2
Current State: 62:[37, 39, 31], Operations: ['87-56=31']
Exploring Operation: 37-31=6, Resulting Numbers: [39, 6]
Generated Node #0,2,0: 62:[39, 6] Operation: 37-31=6
Exploring Operation: 39-37=2, Resulting Numbers: [31, 2]
Generated Node #0,2,1: 62:[31, 2] Operation: 39-37=2
Exploring Operation: 39-31=8, Resulting Numbers: [37, 8]
Generated Node #0,2,2: 62:[37, 8] Operation: 39-31=8
Moving to Node #0,0
Current State: 62:[39, 56, 50], Operations: ['87-37=50']
Exploring Operation: 56-39=17, Resulting Numbers: [50, 17]
Generated Node #0,0,0: 62:[50, 17] Operation: 56-39=17
Exploring Operation: 50-39=11, Resulting Numbers: [56, 11]
Generated Node #0,0,1: 62:[56, 11] Operation: 50-39=11
Exploring Operation: 56-50=6, Resulting Numbers: [39, 6]
Generated Node #0,0,2: 62:[39, 6] Operation: 56-50=6
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 62:[39, 6], Operations: ['87-37=50', '56-50=6']
Exploring Operation: 39-6=33, Resulting Numbers: [33]
33,62 unequal: No Solution
Exploring Operation: 39+6=45, Resulting Numbers: [45]
45,62 unequal: No Solution
Exploring Operation: 39*6=234, Resulting Numbers: [234]
234,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 62:[56, 11], Operations: ['87-37=50', '50-39=11']
Exploring Operation: 56*11=616, Resulting Numbers: [616]
616,62 unequal: No Solution
Exploring Operation: 56-11=45, Resulting Numbers: [45]
45,62 unequal: No Solution
Exploring Operation: 56+11=67, Resulting Numbers: [67]
67,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[50, 17], Operations: ['87-37=50', '56-39=17']
Exploring Operation: 50*17=850, Resulting Numbers: [850]
850,62 unequal: No Solution
Exploring Operation: 50+17=67, Resulting Numbers: [67]
67,62 unequal: No Solution
Exploring Operation: 50-17=33, Resulting Numbers: [33]
33,62 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: 62:[37, 56, 48], Operations: ['87-39=48']
Exploring Operation: 48-37=11, Resulting Numbers: [56, 11]
Generated Node #0,1,0: 62:[56, 11] Operation: 48-37=11
Exploring Operation: 56-37=19, Resulting Numbers: [48, 19]
Generated Node #0,1,1: 62:[48, 19] Operation: 56-37=19
Exploring Operation: 56-48=8, Resulting Numbers: [37, 8]
Generated Node #0,1,2: 62:[37, 8] Operation: 56-48=8
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 62:[37, 8], Operations: ['87-39=48', '56-48=8']
Exploring Operation: 37*8=296, Resulting Numbers: [296]
296,62 unequal: No Solution
Exploring Operation: 37+8=45, Resulting Numbers: [45]
45,62 unequal: No Solution
Exploring Operation: 37-8=29, Resulting Numbers: [29]
29,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 62:[56, 11], Operations: ['87-39=48', '48-37=11']
Exploring Operation: 56+11=67, Resulting Numbers: [67]
67,62 unequal: No Solution
Exploring Operation: 56-11=45, Resulting Numbers: [45]
45,62 unequal: No Solution
Exploring Operation: 56*11=616, Resulting Numbers: [616]
616,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 62:[48, 19], Operations: ['87-39=48', '56-37=19']
Exploring Operation: 48*19=912, Resulting Numbers: [912]
912,62 unequal: No Solution
Exploring Operation: 48-19=29, Resulting Numbers: [29]
29,62 unequal: No Solution
Exploring Operation: 48+19=67, Resulting Numbers: [67]
67,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,1
Current State: 62:[31, 2], Operations: ['87-56=31', '39-37=2']
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,62 unequal: No Solution
Exploring Operation: 31+2=33, Resulting Numbers: [33]
33,62 unequal: No Solution
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[87, 37, 39, 56], Operations: []
Exploring Operation: 87-56=31, Resulting Numbers: [37, 39, 31]
Generated Node #0,2: 62:[37, 39, 31] Operation: 87-56=31
Moving to Node #0,2
Current State: 62:[37, 39, 31], Operations: ['87-56=31']
Exploring Operation: 39-37=2, Resulting Numbers: [31, 2]
Generated Node #0,2,1: 62:[31, 2] Operation: 39-37=2
Moving to Node #0,2,1
Current State: 62:[31, 2], Operations: ['87-56=31', '39-37=2']
Exploring Operation: 31*2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 0.967882 | hs_3 | mult_heuristic |
[
1,
96,
9,
16
] | 89 | [
"1*96=96",
"16-9=7",
"96-7=89"
] | Current State: 89:[1, 96, 9, 16], Operations: []
Exploring Operation: 1*96=96, Resulting Numbers: [9, 16, 96]
Generated Node #2: [9, 16, 96] from Operation: 1*96=96
Current State: 89:[9, 16, 96], Operations: ['1*96=96']
Exploring Operation: 16-9=7, Resulting Numbers: [96, 7]
Generated Node #3: [96, 7] from Operation: 16-9=7
Current State: 89:[96, 7], Operations: ['1*96=96', '16-9=7']
Exploring Operation: 96-7=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[1, 96, 9, 16], Operations: []
Exploring Operation: 9*16=144, Resulting Numbers: [1, 96, 144]
Generated Node #0,0: 89:[1, 96, 144] Operation: 9*16=144
Moving to Node #0,0
Current State: 89:[1, 96, 144], Operations: ['9*16=144']
Exploring Operation: 96-1=95, Resulting Numbers: [144, 95]
Generated Node #0,0,0: 89:[144, 95] Operation: 96-1=95
Moving to Node #0,0,0
Current State: 89:[144, 95], Operations: ['9*16=144', '96-1=95']
Exploring Operation: 144-95=49, Resulting Numbers: [49]
49,89 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
31,
36,
77,
65
] | 93 | [
"31*36=1116",
"77-65=12",
"1116/12=93"
] | Current State: 93:[31, 36, 77, 65], Operations: []
Exploring Operation: 31*36=1116, Resulting Numbers: [77, 65, 1116]
Generated Node #2: [77, 65, 1116] from Operation: 31*36=1116
Current State: 93:[77, 65, 1116], Operations: ['31*36=1116']
Exploring Operation: 77-65=12, Resulting Numbers: [1116, 12]
Generated Node #3: [1116, 12] from Operation: 77-65=12
Current State: 93:[1116, 12], Operations: ['31*36=1116', '77-65=12']
Exploring Operation: 1116/12=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[31, 36, 77, 65], Operations: []
Exploring Operation: 77-65=12, Resulting Numbers: [31, 36, 12]
Generated Node #0,0: 93:[31, 36, 12] Operation: 77-65=12
Exploring Operation: 65-36=29, Resulting Numbers: [31, 77, 29]
Generated Node #0,1: 93:[31, 77, 29] Operation: 65-36=29
Moving to Node #0,0
Current State: 93:[31, 36, 12], Operations: ['77-65=12']
Exploring Operation: 36-12=24, Resulting Numbers: [31, 24]
Generated Node #0,0,0: 93:[31, 24] Operation: 36-12=24
Exploring Operation: 36/12=3, Resulting Numbers: [31, 3]
Generated Node #0,0,1: 93:[31, 3] Operation: 36/12=3
Moving to Node #0,1
Current State: 93:[31, 77, 29], Operations: ['65-36=29']
Exploring Operation: 77+29=106, Resulting Numbers: [31, 106]
Generated Node #0,1,0: 93:[31, 106] Operation: 77+29=106
Exploring Operation: 31+77=108, Resulting Numbers: [29, 108]
Generated Node #0,1,1: 93:[29, 108] Operation: 31+77=108
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 93:[31, 106], Operations: ['65-36=29', '77+29=106']
Exploring Operation: 106-31=75, Resulting Numbers: [75]
75,93 unequal: No Solution
Exploring Operation: 31+106=137, Resulting Numbers: [137]
137,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 93:[29, 108], Operations: ['65-36=29', '31+77=108']
Exploring Operation: 29+108=137, Resulting Numbers: [137]
137,93 unequal: No Solution
Exploring Operation: 108-29=79, Resulting Numbers: [79]
79,93 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: 93:[31, 3], Operations: ['77-65=12', '36/12=3']
Exploring Operation: 31+3=34, Resulting Numbers: [34]
34,93 unequal: No Solution
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[31, 36, 77, 65], Operations: []
Exploring Operation: 77-65=12, Resulting Numbers: [31, 36, 12]
Generated Node #0,0: 93:[31, 36, 12] Operation: 77-65=12
Moving to Node #0,0
Current State: 93:[31, 36, 12], Operations: ['77-65=12']
Exploring Operation: 36/12=3, Resulting Numbers: [31, 3]
Generated Node #0,0,1: 93:[31, 3] Operation: 36/12=3
Moving to Node #0,0,1
Current State: 93:[31, 3], Operations: ['77-65=12', '36/12=3']
Exploring Operation: 31*3=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 0.986111 | hs_2 | mult_heuristic |
[
37,
77,
9,
62
] | 93 | [
"77-37=40",
"62-9=53",
"40+53=93"
] | Current State: 93:[37, 77, 9, 62], Operations: []
Exploring Operation: 77-37=40, Resulting Numbers: [9, 62, 40]
Generated Node #2: [9, 62, 40] from Operation: 77-37=40
Current State: 93:[9, 62, 40], Operations: ['77-37=40']
Exploring Operation: 62-9=53, Resulting Numbers: [40, 53]
Generated Node #3: [40, 53] from Operation: 62-9=53
Current State: 93:[40, 53], Operations: ['77-37=40', '62-9=53']
Exploring Operation: 40+53=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[37, 77, 9, 62], Operations: []
Exploring Operation: 62-37=25, Resulting Numbers: [77, 9, 25]
Generated Node #0,0: 93:[77, 9, 25] Operation: 62-37=25
Exploring Operation: 37+62=99, Resulting Numbers: [77, 9, 99]
Generated Node #0,1: 93:[77, 9, 99] Operation: 37+62=99
Exploring Operation: 77+9=86, Resulting Numbers: [37, 62, 86]
Generated Node #0,2: 93:[37, 62, 86] Operation: 77+9=86
Exploring Operation: 77-62=15, Resulting Numbers: [37, 9, 15]
Generated Node #0,3: 93:[37, 9, 15] Operation: 77-62=15
Exploring Operation: 9+62=71, Resulting Numbers: [37, 77, 71]
Generated Node #0,4: 93:[37, 77, 71] Operation: 9+62=71
Start Sub Search at level 1: Moving to Node #0,3
Current State: 93:[37, 9, 15], Operations: ['77-62=15']
Exploring Operation: 15-9=6, Resulting Numbers: [37, 6]
Generated Node #0,3,0: 93:[37, 6] Operation: 15-9=6
Exploring Operation: 37-9=28, Resulting Numbers: [15, 28]
Generated Node #0,3,1: 93:[15, 28] Operation: 37-9=28
Exploring Operation: 37+9=46, Resulting Numbers: [15, 46]
Generated Node #0,3,2: 93:[15, 46] Operation: 37+9=46
Exploring Operation: 37-15=22, Resulting Numbers: [9, 22]
Generated Node #0,3,3: 93:[9, 22] Operation: 37-15=22
Exploring Operation: 9+15=24, Resulting Numbers: [37, 24]
Generated Node #0,3,4: 93:[37, 24] Operation: 9+15=24
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 93:[37, 6], Operations: ['77-62=15', '15-9=6']
Exploring Operation: 37+6=43, Resulting Numbers: [43]
43,93 unequal: No Solution
Exploring Operation: 37*6=222, Resulting Numbers: [222]
222,93 unequal: No Solution
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 93:[37, 24], Operations: ['77-62=15', '9+15=24']
Exploring Operation: 37*24=888, Resulting Numbers: [888]
888,93 unequal: No Solution
Exploring Operation: 37+24=61, Resulting Numbers: [61]
61,93 unequal: No Solution
Exploring Operation: 37-24=13, Resulting Numbers: [13]
13,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 93:[15, 28], Operations: ['77-62=15', '37-9=28']
Exploring Operation: 15*28=420, Resulting Numbers: [420]
420,93 unequal: No Solution
Exploring Operation: 28-15=13, Resulting Numbers: [13]
13,93 unequal: No Solution
Exploring Operation: 15+28=43, Resulting Numbers: [43]
43,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 93:[9, 22], Operations: ['77-62=15', '37-15=22']
Exploring Operation: 9*22=198, Resulting Numbers: [198]
198,93 unequal: No Solution
Exploring Operation: 22-9=13, Resulting Numbers: [13]
13,93 unequal: No Solution
Exploring Operation: 9+22=31, Resulting Numbers: [31]
31,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 93:[15, 46], Operations: ['77-62=15', '37+9=46']
Exploring Operation: 15+46=61, Resulting Numbers: [61]
61,93 unequal: No Solution
Exploring Operation: 46-15=31, Resulting Numbers: [31]
31,93 unequal: No Solution
Exploring Operation: 15*46=690, Resulting Numbers: [690]
690,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 93:[77, 9, 25], Operations: ['62-37=25']
Exploring Operation: 77+25=102, Resulting Numbers: [9, 102]
Generated Node #0,0,0: 93:[9, 102] Operation: 77+25=102
Exploring Operation: 77-25=52, Resulting Numbers: [9, 52]
Generated Node #0,0,1: 93:[9, 52] Operation: 77-25=52
Exploring Operation: 25-9=16, Resulting Numbers: [77, 16]
Generated Node #0,0,2: 93:[77, 16] Operation: 25-9=16
Exploring Operation: 9+25=34, Resulting Numbers: [77, 34]
Generated Node #0,0,3: 93:[77, 34] Operation: 9+25=34
Exploring Operation: 77+9=86, Resulting Numbers: [25, 86]
Generated Node #0,0,4: 93:[25, 86] Operation: 77+9=86
Moving to Node #0,0,4
Current State: 93:[25, 86], Operations: ['62-37=25', '77+9=86']
Exploring Operation: 86-25=61, Resulting Numbers: [61]
61,93 unequal: No Solution
Exploring Operation: 25*86=2150, Resulting Numbers: [2150]
2150,93 unequal: No Solution
Exploring Operation: 25+86=111, Resulting Numbers: [111]
111,93 unequal: No Solution
Moving to Node #0,0,0
Current State: 93:[9, 102], Operations: ['62-37=25', '77+25=102']
Exploring Operation: 9*102=918, Resulting Numbers: [918]
918,93 unequal: No Solution
Exploring Operation: 102-9=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[37, 77, 9, 62], Operations: []
Exploring Operation: 62-37=25, Resulting Numbers: [77, 9, 25]
Generated Node #0,0: 93:[77, 9, 25] Operation: 62-37=25
Moving to Node #0,0
Current State: 93:[77, 9, 25], Operations: ['62-37=25']
Exploring Operation: 77+25=102, Resulting Numbers: [9, 102]
Generated Node #0,0,0: 93:[9, 102] Operation: 77+25=102
Moving to Node #0,0,0
Current State: 93:[9, 102], Operations: ['62-37=25', '77+25=102']
Exploring Operation: 102-9=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.966146 | hs_5 | mult_heuristic |
[
51,
6,
24,
78
] | 68 | [
"24+78=102",
"102/6=17",
"51+17=68"
] | Current State: 68:[51, 6, 24, 78], Operations: []
Exploring Operation: 24+78=102, Resulting Numbers: [51, 6, 102]
Generated Node #2: [51, 6, 102] from Operation: 24+78=102
Current State: 68:[51, 6, 102], Operations: ['24+78=102']
Exploring Operation: 102/6=17, Resulting Numbers: [51, 17]
Generated Node #3: [51, 17] from Operation: 102/6=17
Current State: 68:[51, 17], Operations: ['24+78=102', '102/6=17']
Exploring Operation: 51+17=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[51, 6, 24, 78], Operations: []
Exploring Operation: 78-51=27, Resulting Numbers: [6, 24, 27]
Generated Node #0,0: 68:[6, 24, 27] Operation: 78-51=27
Moving to Node #0,0
Current State: 68:[6, 24, 27], Operations: ['78-51=27']
Exploring Operation: 27-24=3, Resulting Numbers: [6, 3]
Generated Node #0,0,0: 68:[6, 3] Operation: 27-24=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 68:[6, 3], Operations: ['78-51=27', '27-24=3']
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,68 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 |
[
11,
14,
78,
73
] | 72 | [
"11+73=84",
"84/14=6",
"78-6=72"
] | Current State: 72:[11, 14, 78, 73], Operations: []
Exploring Operation: 11+73=84, Resulting Numbers: [14, 78, 84]
Generated Node #2: [14, 78, 84] from Operation: 11+73=84
Current State: 72:[14, 78, 84], Operations: ['11+73=84']
Exploring Operation: 84/14=6, Resulting Numbers: [78, 6]
Generated Node #3: [78, 6] from Operation: 84/14=6
Current State: 72:[78, 6], Operations: ['11+73=84', '84/14=6']
Exploring Operation: 78-6=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[11, 14, 78, 73], Operations: []
Exploring Operation: 14-11=3, Resulting Numbers: [78, 73, 3]
Generated Node #0,0: 72:[78, 73, 3] Operation: 14-11=3
Exploring Operation: 11+14=25, Resulting Numbers: [78, 73, 25]
Generated Node #0,1: 72:[78, 73, 25] Operation: 11+14=25
Exploring Operation: 78-73=5, Resulting Numbers: [11, 14, 5]
Generated Node #0,2: 72:[11, 14, 5] Operation: 78-73=5
Start Sub Search at level 1: Moving to Node #0,2
Current State: 72:[11, 14, 5], Operations: ['78-73=5']
Exploring Operation: 11+14=25, Resulting Numbers: [5, 25]
Generated Node #0,2,0: 72:[5, 25] Operation: 11+14=25
Exploring Operation: 14-11=3, Resulting Numbers: [5, 3]
Generated Node #0,2,1: 72:[5, 3] Operation: 14-11=3
Exploring Operation: 14-5=9, Resulting Numbers: [11, 9]
Generated Node #0,2,2: 72:[11, 9] Operation: 14-5=9
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 72:[5, 3], Operations: ['78-73=5', '14-11=3']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 5*3=15, Resulting Numbers: [15]
15,72 unequal: No Solution
Exploring Operation: 5+3=8, Resulting Numbers: [8]
8,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 72:[11, 9], Operations: ['78-73=5', '14-5=9']
Exploring Operation: 11*9=99, Resulting Numbers: [99]
99,72 unequal: No Solution
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 11+9=20, Resulting Numbers: [20]
20,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 72:[5, 25], Operations: ['78-73=5', '11+14=25']
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,72 unequal: No Solution
Exploring Operation: 5+25=30, Resulting Numbers: [30]
30,72 unequal: No Solution
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,72 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 72:[78, 73, 3], Operations: ['14-11=3']
Exploring Operation: 78-3=75, Resulting Numbers: [73, 75]
Generated Node #0,0,0: 72:[73, 75] Operation: 78-3=75
Exploring Operation: 78/3=26, Resulting Numbers: [73, 26]
Generated Node #0,0,1: 72:[73, 26] Operation: 78/3=26
Exploring Operation: 78-73=5, Resulting Numbers: [3, 5]
Generated Node #0,0,2: 72:[3, 5] Operation: 78-73=5
Moving to Node #0,0,2
Current State: 72:[3, 5], Operations: ['14-11=3', '78-73=5']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,72 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,72 unequal: No Solution
Moving to Node #0,0,1
Current State: 72:[73, 26], Operations: ['14-11=3', '78/3=26']
Exploring Operation: 73*26=1898, Resulting Numbers: [1898]
1898,72 unequal: No Solution
Exploring Operation: 73+26=99, Resulting Numbers: [99]
99,72 unequal: No Solution
Exploring Operation: 73-26=47, Resulting Numbers: [47]
47,72 unequal: No Solution
Moving to Node #0,0,0
Current State: 72:[73, 75], Operations: ['14-11=3', '78-3=75']
Exploring Operation: 73*75=5475, Resulting Numbers: [5475]
5475,72 unequal: No Solution
Exploring Operation: 73+75=148, Resulting Numbers: [148]
148,72 unequal: No Solution
Exploring Operation: 75-73=2, Resulting Numbers: [2]
2,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 72:[78, 73, 25], Operations: ['11+14=25']
Exploring Operation: 73-25=48, Resulting Numbers: [78, 48]
Generated Node #0,1,0: 72:[78, 48] Operation: 73-25=48
Exploring Operation: 78-25=53, Resulting Numbers: [73, 53]
Generated Node #0,1,1: 72:[73, 53] Operation: 78-25=53
Exploring Operation: 78-73=5, Resulting Numbers: [25, 5]
Generated Node #0,1,2: 72:[25, 5] Operation: 78-73=5
Moving to Node #0,1,2
Current State: 72:[25, 5], Operations: ['11+14=25', '78-73=5']
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,72 unequal: No Solution
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,72 unequal: No Solution
Exploring Operation: 25+5=30, Resulting Numbers: [30]
30,72 unequal: No Solution
Moving to Node #0,1,0
Current State: 72:[78, 48], Operations: ['11+14=25', '73-25=48']
Exploring Operation: 78-48=30, Resulting Numbers: [30]
30,72 unequal: No Solution
Exploring Operation: 78*48=3744, Resulting Numbers: [3744]
3744,72 unequal: No Solution
Exploring Operation: 78+48=126, Resulting Numbers: [126]
126,72 unequal: No Solution
Moving to Node #0,1,1
Current State: 72:[73, 53], Operations: ['11+14=25', '78-25=53']
Exploring Operation: 73-53=20, Resulting Numbers: [20]
20,72 unequal: No Solution
Exploring Operation: 73*53=3869, Resulting Numbers: [3869]
3869,72 unequal: No Solution
Exploring Operation: 73+53=126, Resulting Numbers: [126]
126,72 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 |
[
7,
10,
1,
86
] | 88 | [
"10-7=3",
"86-1=85",
"3+85=88"
] | Current State: 88:[7, 10, 1, 86], Operations: []
Exploring Operation: 10-7=3, Resulting Numbers: [1, 86, 3]
Generated Node #2: [1, 86, 3] from Operation: 10-7=3
Current State: 88:[1, 86, 3], Operations: ['10-7=3']
Exploring Operation: 86-1=85, Resulting Numbers: [3, 85]
Generated Node #3: [3, 85] from Operation: 86-1=85
Current State: 88:[3, 85], Operations: ['10-7=3', '86-1=85']
Exploring Operation: 3+85=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[7, 10, 1, 86], Operations: []
Exploring Operation: 10-7=3, Resulting Numbers: [1, 86, 3]
Generated Node #0,0: 88:[1, 86, 3] Operation: 10-7=3
Exploring Operation: 1+86=87, Resulting Numbers: [7, 10, 87]
Generated Node #0,1: 88:[7, 10, 87] Operation: 1+86=87
Exploring Operation: 10+1=11, Resulting Numbers: [7, 86, 11]
Generated Node #0,2: 88:[7, 86, 11] Operation: 10+1=11
Exploring Operation: 7+1=8, Resulting Numbers: [10, 86, 8]
Generated Node #0,3: 88:[10, 86, 8] Operation: 7+1=8
Moving to Node #0,1
Current State: 88:[7, 10, 87], Operations: ['1+86=87']
Exploring Operation: 87-7=80, Resulting Numbers: [10, 80]
Generated Node #0,1,0: 88:[10, 80] Operation: 87-7=80
Exploring Operation: 10-7=3, Resulting Numbers: [87, 3]
Generated Node #0,1,1: 88:[87, 3] Operation: 10-7=3
Exploring Operation: 7+87=94, Resulting Numbers: [10, 94]
Generated Node #0,1,2: 88:[10, 94] Operation: 7+87=94
Exploring Operation: 7+10=17, Resulting Numbers: [87, 17]
Generated Node #0,1,3: 88:[87, 17] Operation: 7+10=17
Moving to Node #0,3
Current State: 88:[10, 86, 8], Operations: ['7+1=8']
Exploring Operation: 10+86=96, Resulting Numbers: [8, 96]
Generated Node #0,3,0: 88:[8, 96] Operation: 10+86=96
Exploring Operation: 10-8=2, Resulting Numbers: [86, 2]
Generated Node #0,3,1: 88:[86, 2] Operation: 10-8=2
Exploring Operation: 10+8=18, Resulting Numbers: [86, 18]
Generated Node #0,3,2: 88:[86, 18] Operation: 10+8=18
Exploring Operation: 86+8=94, Resulting Numbers: [10, 94]
Generated Node #0,3,3: 88:[10, 94] Operation: 86+8=94
Moving to Node #0,2
Current State: 88:[7, 86, 11], Operations: ['10+1=11']
Exploring Operation: 7+11=18, Resulting Numbers: [86, 18]
Generated Node #0,2,0: 88:[86, 18] Operation: 7+11=18
Exploring Operation: 86-7=79, Resulting Numbers: [11, 79]
Generated Node #0,2,1: 88:[11, 79] Operation: 86-7=79
Exploring Operation: 7+86=93, Resulting Numbers: [11, 93]
Generated Node #0,2,2: 88:[11, 93] Operation: 7+86=93
Exploring Operation: 11-7=4, Resulting Numbers: [86, 4]
Generated Node #0,2,3: 88:[86, 4] Operation: 11-7=4
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 88:[86, 4], Operations: ['10+1=11', '11-7=4']
Exploring Operation: 86+4=90, Resulting Numbers: [90]
90,88 unequal: No Solution
Exploring Operation: 86-4=82, Resulting Numbers: [82]
82,88 unequal: No Solution
Exploring Operation: 86*4=344, Resulting Numbers: [344]
344,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 88:[11, 93], Operations: ['10+1=11', '7+86=93']
Exploring Operation: 93-11=82, Resulting Numbers: [82]
82,88 unequal: No Solution
Exploring Operation: 11+93=104, Resulting Numbers: [104]
104,88 unequal: No Solution
Exploring Operation: 11*93=1023, Resulting Numbers: [1023]
1023,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 88:[86, 18], Operations: ['10+1=11', '7+11=18']
Exploring Operation: 86+18=104, Resulting Numbers: [104]
104,88 unequal: No Solution
Exploring Operation: 86*18=1548, Resulting Numbers: [1548]
1548,88 unequal: No Solution
Exploring Operation: 86-18=68, Resulting Numbers: [68]
68,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 88:[11, 79], Operations: ['10+1=11', '86-7=79']
Exploring Operation: 11+79=90, Resulting Numbers: [90]
90,88 unequal: No Solution
Exploring Operation: 79-11=68, Resulting Numbers: [68]
68,88 unequal: No Solution
Exploring Operation: 11*79=869, Resulting Numbers: [869]
869,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 88:[1, 86, 3], Operations: ['10-7=3']
Exploring Operation: 3-1=2, Resulting Numbers: [86, 2]
Generated Node #0,0,0: 88:[86, 2] Operation: 3-1=2
Exploring Operation: 86+3=89, Resulting Numbers: [1, 89]
Generated Node #0,0,1: 88:[1, 89] Operation: 86+3=89
Exploring Operation: 1+86=87, Resulting Numbers: [3, 87]
Generated Node #0,0,2: 88:[3, 87] Operation: 1+86=87
Exploring Operation: 1+3=4, Resulting Numbers: [86, 4]
Generated Node #0,0,3: 88:[86, 4] Operation: 1+3=4
Moving to Node #0,1,1
Current State: 88:[87, 3], Operations: ['1+86=87', '10-7=3']
Exploring Operation: 87+3=90, Resulting Numbers: [90]
90,88 unequal: No Solution
Exploring Operation: 87*3=261, Resulting Numbers: [261]
261,88 unequal: No Solution
Exploring Operation: 87/3=29, Resulting Numbers: [29]
29,88 unequal: No Solution
Exploring Operation: 87-3=84, Resulting Numbers: [84]
84,88 unequal: No Solution
Moving to Node #0,0,3
Current State: 88:[86, 4], Operations: ['10-7=3', '1+3=4']
Exploring Operation: 86-4=82, Resulting Numbers: [82]
82,88 unequal: No Solution
Exploring Operation: 86+4=90, Resulting Numbers: [90]
90,88 unequal: No Solution
Exploring Operation: 86*4=344, Resulting Numbers: [344]
344,88 unequal: No Solution
Moving to Node #0,3,1
Current State: 88:[86, 2], Operations: ['7+1=8', '10-8=2']
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,88 unequal: No Solution
Exploring Operation: 86*2=172, Resulting Numbers: [172]
172,88 unequal: No Solution
Exploring Operation: 86+2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[7, 10, 1, 86], Operations: []
Exploring Operation: 7+1=8, Resulting Numbers: [10, 86, 8]
Generated Node #0,3: 88:[10, 86, 8] Operation: 7+1=8
Moving to Node #0,3
Current State: 88:[10, 86, 8], Operations: ['7+1=8']
Exploring Operation: 10-8=2, Resulting Numbers: [86, 2]
Generated Node #0,3,1: 88:[86, 2] Operation: 10-8=2
Moving to Node #0,3,1
Current State: 88:[86, 2], Operations: ['7+1=8', '10-8=2']
Exploring Operation: 86+2=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 0.960069 | hs_4 | sum_heuristic |
[
71,
35,
89,
6
] | 32 | [
"89-71=18",
"18/6=3",
"35-3=32"
] | Current State: 32:[71, 35, 89, 6], Operations: []
Exploring Operation: 89-71=18, Resulting Numbers: [35, 6, 18]
Generated Node #2: [35, 6, 18] from Operation: 89-71=18
Current State: 32:[35, 6, 18], Operations: ['89-71=18']
Exploring Operation: 18/6=3, Resulting Numbers: [35, 3]
Generated Node #3: [35, 3] from Operation: 18/6=3
Current State: 32:[35, 3], Operations: ['89-71=18', '18/6=3']
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[71, 35, 89, 6], Operations: []
Exploring Operation: 71-35=36, Resulting Numbers: [89, 6, 36]
Generated Node #0,0: 32:[89, 6, 36] Operation: 71-35=36
Exploring Operation: 89-71=18, Resulting Numbers: [35, 6, 18]
Generated Node #0,1: 32:[35, 6, 18] Operation: 89-71=18
Moving to Node #0,1
Current State: 32:[35, 6, 18], Operations: ['89-71=18']
Exploring Operation: 35-18=17, Resulting Numbers: [6, 17]
Generated Node #0,1,0: 32:[6, 17] Operation: 35-18=17
Exploring Operation: 18/6=3, Resulting Numbers: [35, 3]
Generated Node #0,1,1: 32:[35, 3] Operation: 18/6=3
Moving to Node #0,0
Current State: 32:[89, 6, 36], Operations: ['71-35=36']
Exploring Operation: 89-36=53, Resulting Numbers: [6, 53]
Generated Node #0,0,0: 32:[6, 53] Operation: 89-36=53
Exploring Operation: 89-6=83, Resulting Numbers: [36, 83]
Generated Node #0,0,1: 32:[36, 83] Operation: 89-6=83
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[6, 53], Operations: ['71-35=36', '89-36=53']
Exploring Operation: 53-6=47, Resulting Numbers: [47]
47,32 unequal: No Solution
Exploring Operation: 6+53=59, Resulting Numbers: [59]
59,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,1
Current State: 32:[36, 83], Operations: ['71-35=36', '89-6=83']
Exploring Operation: 83-36=47, Resulting Numbers: [47]
47,32 unequal: No Solution
Exploring Operation: 36+83=119, Resulting Numbers: [119]
119,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 32:[6, 17], Operations: ['89-71=18', '35-18=17']
Exploring Operation: 6+17=23, Resulting Numbers: [23]
23,32 unequal: No Solution
Exploring Operation: 17-6=11, Resulting Numbers: [11]
11,32 unequal: No Solution
Moving to Node #0,1,1
Current State: 32:[35, 3], Operations: ['89-71=18', '18/6=3']
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[71, 35, 89, 6], Operations: []
Exploring Operation: 89-71=18, Resulting Numbers: [35, 6, 18]
Generated Node #0,1: 32:[35, 6, 18] Operation: 89-71=18
Moving to Node #0,1
Current State: 32:[35, 6, 18], Operations: ['89-71=18']
Exploring Operation: 18/6=3, Resulting Numbers: [35, 3]
Generated Node #0,1,1: 32:[35, 3] Operation: 18/6=3
Moving to Node #0,1,1
Current State: 32:[35, 3], Operations: ['89-71=18', '18/6=3']
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 0.985243 | hs_2 | sum_heuristic |
[
67,
57,
98,
79
] | 53 | [
"67+57=124",
"98+79=177",
"177-124=53"
] | Current State: 53:[67, 57, 98, 79], Operations: []
Exploring Operation: 67+57=124, Resulting Numbers: [98, 79, 124]
Generated Node #2: [98, 79, 124] from Operation: 67+57=124
Current State: 53:[98, 79, 124], Operations: ['67+57=124']
Exploring Operation: 98+79=177, Resulting Numbers: [124, 177]
Generated Node #3: [124, 177] from Operation: 98+79=177
Current State: 53:[124, 177], Operations: ['67+57=124', '98+79=177']
Exploring Operation: 177-124=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[67, 57, 98, 79], Operations: []
Exploring Operation: 98-67=31, Resulting Numbers: [57, 79, 31]
Generated Node #0,0: 53:[57, 79, 31] Operation: 98-67=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[57, 79, 31], Operations: ['98-67=31']
Exploring Operation: 79-31=48, Resulting Numbers: [57, 48]
Generated Node #0,0,0: 53:[57, 48] Operation: 79-31=48
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 53:[57, 48], Operations: ['98-67=31', '79-31=48']
Exploring Operation: 57-48=9, Resulting Numbers: [9]
9,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
16,
17,
11,
39
] | 57 | [
"17-11=6",
"16*6=96",
"96-39=57"
] | Current State: 57:[16, 17, 11, 39], Operations: []
Exploring Operation: 17-11=6, Resulting Numbers: [16, 39, 6]
Generated Node #2: [16, 39, 6] from Operation: 17-11=6
Current State: 57:[16, 39, 6], Operations: ['17-11=6']
Exploring Operation: 16*6=96, Resulting Numbers: [39, 96]
Generated Node #3: [39, 96] from Operation: 16*6=96
Current State: 57:[39, 96], Operations: ['17-11=6', '16*6=96']
Exploring Operation: 96-39=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[16, 17, 11, 39], Operations: []
Exploring Operation: 17+39=56, Resulting Numbers: [16, 11, 56]
Generated Node #0,0: 57:[16, 11, 56] Operation: 17+39=56
Exploring Operation: 16+39=55, Resulting Numbers: [17, 11, 55]
Generated Node #0,1: 57:[17, 11, 55] Operation: 16+39=55
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[16, 11, 56], Operations: ['17+39=56']
Exploring Operation: 16+11=27, Resulting Numbers: [56, 27]
Generated Node #0,0,0: 57:[56, 27] Operation: 16+11=27
Exploring Operation: 16-11=5, Resulting Numbers: [56, 5]
Generated Node #0,0,1: 57:[56, 5] Operation: 16-11=5
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 57:[56, 5], Operations: ['17+39=56', '16-11=5']
Exploring Operation: 56+5=61, Resulting Numbers: [61]
61,57 unequal: No Solution
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,57 unequal: No Solution
No 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: 57:[56, 27], Operations: ['17+39=56', '16+11=27']
Exploring Operation: 56-27=29, Resulting Numbers: [29]
29,57 unequal: No Solution
Exploring Operation: 56+27=83, Resulting Numbers: [83]
83,57 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: 57:[17, 11, 55], Operations: ['16+39=55']
Exploring Operation: 55/11=5, Resulting Numbers: [17, 5]
Generated Node #0,1,0: 57:[17, 5] Operation: 55/11=5
Exploring Operation: 17-11=6, Resulting Numbers: [55, 6]
Generated Node #0,1,1: 57:[55, 6] Operation: 17-11=6
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 57:[17, 5], Operations: ['16+39=55', '55/11=5']
Exploring Operation: 17+5=22, Resulting Numbers: [22]
22,57 unequal: No Solution
Exploring Operation: 17-5=12, Resulting Numbers: [12]
12,57 unequal: No Solution
No 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: 57:[55, 6], Operations: ['16+39=55', '17-11=6']
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,57 unequal: No Solution
Exploring Operation: 55+6=61, Resulting Numbers: [61]
61,57 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
80,
49,
2,
18
] | 45 | [
"2+18=20",
"80/20=4",
"49-4=45"
] | Current State: 45:[80, 49, 2, 18], Operations: []
Exploring Operation: 2+18=20, Resulting Numbers: [80, 49, 20]
Generated Node #2: [80, 49, 20] from Operation: 2+18=20
Current State: 45:[80, 49, 20], Operations: ['2+18=20']
Exploring Operation: 80/20=4, Resulting Numbers: [49, 4]
Generated Node #3: [49, 4] from Operation: 80/20=4
Current State: 45:[49, 4], Operations: ['2+18=20', '80/20=4']
Exploring Operation: 49-4=45, Resulting Numbers: [45]
45,45 equal: Goal Reached
| 4 | Current State: 45:[80, 49, 2, 18], Operations: []
Exploring Operation: 80-18=62, Resulting Numbers: [49, 2, 62]
Generated Node #0,0: 45:[49, 2, 62] Operation: 80-18=62
Exploring Operation: 80/2=40, Resulting Numbers: [49, 18, 40]
Generated Node #0,1: 45:[49, 18, 40] Operation: 80/2=40
Exploring Operation: 80-49=31, Resulting Numbers: [2, 18, 31]
Generated Node #0,2: 45:[2, 18, 31] Operation: 80-49=31
Start Sub Search at level 1: Moving to Node #0,1
Current State: 45:[49, 18, 40], Operations: ['80/2=40']
Exploring Operation: 18+40=58, Resulting Numbers: [49, 58]
Generated Node #0,1,0: 45:[49, 58] Operation: 18+40=58
Exploring Operation: 49-40=9, Resulting Numbers: [18, 9]
Generated Node #0,1,1: 45:[18, 9] Operation: 49-40=9
Exploring Operation: 40-18=22, Resulting Numbers: [49, 22]
Generated Node #0,1,2: 45:[49, 22] Operation: 40-18=22
Moving to Node #0,1,1
Current State: 45:[18, 9], Operations: ['80/2=40', '49-40=9']
Exploring Operation: 18+9=27, Resulting Numbers: [27]
27,45 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,45 unequal: No Solution
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,45 unequal: No Solution
Moving to Node #0,1,2
Current State: 45:[49, 22], Operations: ['80/2=40', '40-18=22']
Exploring Operation: 49+22=71, Resulting Numbers: [71]
71,45 unequal: No Solution
Exploring Operation: 49*22=1078, Resulting Numbers: [1078]
1078,45 unequal: No Solution
Exploring Operation: 49-22=27, Resulting Numbers: [27]
27,45 unequal: No Solution
Moving to Node #0,1,0
Current State: 45:[49, 58], Operations: ['80/2=40', '18+40=58']
Exploring Operation: 49*58=2842, Resulting Numbers: [2842]
2842,45 unequal: No Solution
Exploring Operation: 58-49=9, Resulting Numbers: [9]
9,45 unequal: No Solution
Exploring Operation: 49+58=107, Resulting Numbers: [107]
107,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 45:[2, 18, 31], Operations: ['80-49=31']
Exploring Operation: 31-18=13, Resulting Numbers: [2, 13]
Generated Node #0,2,0: 45:[2, 13] Operation: 31-18=13
Exploring Operation: 18+31=49, Resulting Numbers: [2, 49]
Generated Node #0,2,1: 45:[2, 49] Operation: 18+31=49
Exploring Operation: 18/2=9, Resulting Numbers: [31, 9]
Generated Node #0,2,2: 45:[31, 9] Operation: 18/2=9
Moving to Node #0,2,0
Current State: 45:[2, 13], Operations: ['80-49=31', '31-18=13']
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,45 unequal: No Solution
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,45 unequal: No Solution
Moving to Node #0,2,1
Current State: 45:[2, 49], Operations: ['80-49=31', '18+31=49']
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,45 unequal: No Solution
Exploring Operation: 2+49=51, Resulting Numbers: [51]
51,45 unequal: No Solution
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,45 unequal: No Solution
Moving to Node #0,2,2
Current State: 45:[31, 9], Operations: ['80-49=31', '18/2=9']
Exploring Operation: 31+9=40, Resulting Numbers: [40]
40,45 unequal: No Solution
Exploring Operation: 31*9=279, Resulting Numbers: [279]
279,45 unequal: No Solution
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,45 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 45:[49, 2, 62], Operations: ['80-18=62']
Exploring Operation: 62/2=31, Resulting Numbers: [49, 31]
Generated Node #0,0,0: 45:[49, 31] Operation: 62/2=31
Exploring Operation: 62-49=13, Resulting Numbers: [2, 13]
Generated Node #0,0,1: 45:[2, 13] Operation: 62-49=13
Exploring Operation: 49-2=47, Resulting Numbers: [62, 47]
Generated Node #0,0,2: 45:[62, 47] Operation: 49-2=47
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 45:[2, 13], Operations: ['80-18=62', '62-49=13']
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,45 unequal: No Solution
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 45:[49, 31], Operations: ['80-18=62', '62/2=31']
Exploring Operation: 49-31=18, Resulting Numbers: [18]
18,45 unequal: No Solution
Exploring Operation: 49+31=80, Resulting Numbers: [80]
80,45 unequal: No Solution
Exploring Operation: 49*31=1519, Resulting Numbers: [1519]
1519,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 45:[62, 47], Operations: ['80-18=62', '49-2=47']
Exploring Operation: 62*47=2914, Resulting Numbers: [2914]
2914,45 unequal: No Solution
Exploring Operation: 62-47=15, Resulting Numbers: [15]
15,45 unequal: No Solution
Exploring Operation: 62+47=109, Resulting Numbers: [109]
109,45 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
4,
40,
53,
42
] | 98 | [
"53-4=49",
"42-40=2",
"49*2=98"
] | Current State: 98:[4, 40, 53, 42], Operations: []
Exploring Operation: 53-4=49, Resulting Numbers: [40, 42, 49]
Generated Node #2: [40, 42, 49] from Operation: 53-4=49
Current State: 98:[40, 42, 49], Operations: ['53-4=49']
Exploring Operation: 42-40=2, Resulting Numbers: [49, 2]
Generated Node #3: [49, 2] from Operation: 42-40=2
Current State: 98:[49, 2], Operations: ['53-4=49', '42-40=2']
Exploring Operation: 49*2=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[4, 40, 53, 42], Operations: []
Exploring Operation: 40+53=93, Resulting Numbers: [4, 42, 93]
Generated Node #0,0: 98:[4, 42, 93] Operation: 40+53=93
Exploring Operation: 42-40=2, Resulting Numbers: [4, 53, 2]
Generated Node #0,1: 98:[4, 53, 2] Operation: 42-40=2
Exploring Operation: 40/4=10, Resulting Numbers: [53, 42, 10]
Generated Node #0,2: 98:[53, 42, 10] Operation: 40/4=10
Exploring Operation: 53-40=13, Resulting Numbers: [4, 42, 13]
Generated Node #0,3: 98:[4, 42, 13] Operation: 53-40=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 98:[4, 53, 2], Operations: ['42-40=2']
Exploring Operation: 53-4=49, Resulting Numbers: [2, 49]
Generated Node #0,1,0: 98:[2, 49] Operation: 53-4=49
Exploring Operation: 4/2=2, Resulting Numbers: [53, 2]
Generated Node #0,1,1: 98:[53, 2] Operation: 4/2=2
Exploring Operation: 53-2=51, Resulting Numbers: [4, 51]
Generated Node #0,1,2: 98:[4, 51] Operation: 53-2=51
Exploring Operation: 4-2=2, Resulting Numbers: [53, 2]
Generated Node #0,1,3: 98:[53, 2] Operation: 4-2=2
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 98:[2, 49], Operations: ['42-40=2', '53-4=49']
Exploring Operation: 49-2=47, Resulting Numbers: [47]
47,98 unequal: No Solution
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Moving to Node #0
Current State: 98:[4, 40, 53, 42], Operations: []
Exploring Operation: 42-40=2, Resulting Numbers: [4, 53, 2]
Generated Node #0,1: 98:[4, 53, 2] Operation: 42-40=2
Moving to Node #0,1
Current State: 98:[4, 53, 2], Operations: ['42-40=2']
Exploring Operation: 53-4=49, Resulting Numbers: [2, 49]
Generated Node #0,1,0: 98:[2, 49] Operation: 53-4=49
Moving to Node #0,1,0
Current State: 98:[2, 49], Operations: ['42-40=2', '53-4=49']
Exploring Operation: 2*49=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | sum_heuristic |
[
41,
11,
77,
68
] | 39 | [
"41-11=30",
"77-68=9",
"30+9=39"
] | Current State: 39:[41, 11, 77, 68], Operations: []
Exploring Operation: 41-11=30, Resulting Numbers: [77, 68, 30]
Generated Node #2: [77, 68, 30] from Operation: 41-11=30
Current State: 39:[77, 68, 30], Operations: ['41-11=30']
Exploring Operation: 77-68=9, Resulting Numbers: [30, 9]
Generated Node #3: [30, 9] from Operation: 77-68=9
Current State: 39:[30, 9], Operations: ['41-11=30', '77-68=9']
Exploring Operation: 30+9=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[41, 11, 77, 68], Operations: []
Exploring Operation: 77-41=36, Resulting Numbers: [11, 68, 36]
Generated Node #0,0: 39:[11, 68, 36] Operation: 77-41=36
Exploring Operation: 77-68=9, Resulting Numbers: [41, 11, 9]
Generated Node #0,1: 39:[41, 11, 9] Operation: 77-68=9
Moving to Node #0,1
Current State: 39:[41, 11, 9], Operations: ['77-68=9']
Exploring Operation: 41-9=32, Resulting Numbers: [11, 32]
Generated Node #0,1,0: 39:[11, 32] Operation: 41-9=32
Exploring Operation: 11-9=2, Resulting Numbers: [41, 2]
Generated Node #0,1,1: 39:[41, 2] Operation: 11-9=2
Moving to Node #0,0
Current State: 39:[11, 68, 36], Operations: ['77-41=36']
Exploring Operation: 68-36=32, Resulting Numbers: [11, 32]
Generated Node #0,0,0: 39:[11, 32] Operation: 68-36=32
Exploring Operation: 68-11=57, Resulting Numbers: [36, 57]
Generated Node #0,0,1: 39:[36, 57] Operation: 68-11=57
Moving to Node #0,1,1
Current State: 39:[41, 2], Operations: ['77-68=9', '11-9=2']
Exploring Operation: 41+2=43, Resulting Numbers: [43]
43,39 unequal: No Solution
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[41, 11, 77, 68], Operations: []
Exploring Operation: 77-68=9, Resulting Numbers: [41, 11, 9]
Generated Node #0,1: 39:[41, 11, 9] Operation: 77-68=9
Moving to Node #0,1
Current State: 39:[41, 11, 9], Operations: ['77-68=9']
Exploring Operation: 11-9=2, Resulting Numbers: [41, 2]
Generated Node #0,1,1: 39:[41, 2] Operation: 11-9=2
Moving to Node #0,1,1
Current State: 39:[41, 2], Operations: ['77-68=9', '11-9=2']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 0.989583 | hs_2 | sum_heuristic |
[
22,
84,
15,
67
] | 20 | [
"84-22=62",
"15+67=82",
"82-62=20"
] | Current State: 20:[22, 84, 15, 67], Operations: []
Exploring Operation: 84-22=62, Resulting Numbers: [15, 67, 62]
Generated Node #2: [15, 67, 62] from Operation: 84-22=62
Current State: 20:[15, 67, 62], Operations: ['84-22=62']
Exploring Operation: 15+67=82, Resulting Numbers: [62, 82]
Generated Node #3: [62, 82] from Operation: 15+67=82
Current State: 20:[62, 82], Operations: ['84-22=62', '15+67=82']
Exploring Operation: 82-62=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[22, 84, 15, 67], Operations: []
Exploring Operation: 84-67=17, Resulting Numbers: [22, 15, 17]
Generated Node #0,0: 20:[22, 15, 17] Operation: 84-67=17
Moving to Node #0,0
Current State: 20:[22, 15, 17], Operations: ['84-67=17']
Exploring Operation: 17-15=2, Resulting Numbers: [22, 2]
Generated Node #0,0,0: 20:[22, 2] Operation: 17-15=2
Moving to Node #0,0,0
Current State: 20:[22, 2], Operations: ['84-67=17', '17-15=2']
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[22, 84, 15, 67], Operations: []
Exploring Operation: 84-67=17, Resulting Numbers: [22, 15, 17]
Generated Node #0,0: 20:[22, 15, 17] Operation: 84-67=17
Moving to Node #0,0
Current State: 20:[22, 15, 17], Operations: ['84-67=17']
Exploring Operation: 17-15=2, Resulting Numbers: [22, 2]
Generated Node #0,0,0: 20:[22, 2] Operation: 17-15=2
Moving to Node #0,0,0
Current State: 20:[22, 2], Operations: ['84-67=17', '17-15=2']
Exploring Operation: 22-2=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
38,
84,
35,
8
] | 95 | [
"38+84=122",
"35-8=27",
"122-27=95"
] | Current State: 95:[38, 84, 35, 8], Operations: []
Exploring Operation: 38+84=122, Resulting Numbers: [35, 8, 122]
Generated Node #2: [35, 8, 122] from Operation: 38+84=122
Current State: 95:[35, 8, 122], Operations: ['38+84=122']
Exploring Operation: 35-8=27, Resulting Numbers: [122, 27]
Generated Node #3: [122, 27] from Operation: 35-8=27
Current State: 95:[122, 27], Operations: ['38+84=122', '35-8=27']
Exploring Operation: 122-27=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[38, 84, 35, 8], Operations: []
Exploring Operation: 84+8=92, Resulting Numbers: [38, 35, 92]
Generated Node #0,0: 95:[38, 35, 92] Operation: 84+8=92
Exploring Operation: 38-8=30, Resulting Numbers: [84, 35, 30]
Generated Node #0,1: 95:[84, 35, 30] Operation: 38-8=30
Exploring Operation: 35-8=27, Resulting Numbers: [38, 84, 27]
Generated Node #0,2: 95:[38, 84, 27] Operation: 35-8=27
Exploring Operation: 38+35=73, Resulting Numbers: [84, 8, 73]
Generated Node #0,3: 95:[84, 8, 73] Operation: 38+35=73
Exploring Operation: 38-35=3, Resulting Numbers: [84, 8, 3]
Generated Node #0,4: 95:[84, 8, 3] Operation: 38-35=3
Start Sub Search at level 1: Moving to Node #0,4
Current State: 95:[84, 8, 3], Operations: ['38-35=3']
Exploring Operation: 84+3=87, Resulting Numbers: [8, 87]
Generated Node #0,4,0: 95:[8, 87] Operation: 84+3=87
Exploring Operation: 84/3=28, Resulting Numbers: [8, 28]
Generated Node #0,4,1: 95:[8, 28] Operation: 84/3=28
Exploring Operation: 8-3=5, Resulting Numbers: [84, 5]
Generated Node #0,4,2: 95:[84, 5] Operation: 8-3=5
Exploring Operation: 84+8=92, Resulting Numbers: [3, 92]
Generated Node #0,4,3: 95:[3, 92] Operation: 84+8=92
Exploring Operation: 8*3=24, Resulting Numbers: [84, 24]
Generated Node #0,4,4: 95:[84, 24] Operation: 8*3=24
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 95:[3, 92], Operations: ['38-35=3', '84+8=92']
Exploring Operation: 3*92=276, Resulting Numbers: [276]
276,95 unequal: No Solution
Exploring Operation: 92-3=89, Resulting Numbers: [89]
89,95 unequal: No Solution
Exploring Operation: 3+92=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[38, 84, 35, 8], Operations: []
Exploring Operation: 38-35=3, Resulting Numbers: [84, 8, 3]
Generated Node #0,4: 95:[84, 8, 3] Operation: 38-35=3
Moving to Node #0,4
Current State: 95:[84, 8, 3], Operations: ['38-35=3']
Exploring Operation: 84+8=92, Resulting Numbers: [3, 92]
Generated Node #0,4,3: 95:[3, 92] Operation: 84+8=92
Moving to Node #0,4,3
Current State: 95:[3, 92], Operations: ['38-35=3', '84+8=92']
Exploring Operation: 3+92=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
50,
87,
31,
49
] | 57 | [
"50+87=137",
"31+49=80",
"137-80=57"
] | Current State: 57:[50, 87, 31, 49], Operations: []
Exploring Operation: 50+87=137, Resulting Numbers: [31, 49, 137]
Generated Node #2: [31, 49, 137] from Operation: 50+87=137
Current State: 57:[31, 49, 137], Operations: ['50+87=137']
Exploring Operation: 31+49=80, Resulting Numbers: [137, 80]
Generated Node #3: [137, 80] from Operation: 31+49=80
Current State: 57:[137, 80], Operations: ['50+87=137', '31+49=80']
Exploring Operation: 137-80=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[50, 87, 31, 49], Operations: []
Exploring Operation: 87-31=56, Resulting Numbers: [50, 49, 56]
Generated Node #0,0: 57:[50, 49, 56] Operation: 87-31=56
Exploring Operation: 87-50=37, Resulting Numbers: [31, 49, 37]
Generated Node #0,1: 57:[31, 49, 37] Operation: 87-50=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[50, 49, 56], Operations: ['87-31=56']
Exploring Operation: 50-49=1, Resulting Numbers: [56, 1]
Generated Node #0,0,0: 57:[56, 1] Operation: 50-49=1
Exploring Operation: 56-50=6, Resulting Numbers: [49, 6]
Generated Node #0,0,1: 57:[49, 6] Operation: 56-50=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 57:[56, 1], Operations: ['87-31=56', '50-49=1']
Exploring Operation: 56*1=56, Resulting Numbers: [56]
56,57 unequal: No Solution
Exploring Operation: 56+1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[50, 87, 31, 49], Operations: []
Exploring Operation: 87-31=56, Resulting Numbers: [50, 49, 56]
Generated Node #0,0: 57:[50, 49, 56] Operation: 87-31=56
Moving to Node #0,0
Current State: 57:[50, 49, 56], Operations: ['87-31=56']
Exploring Operation: 50-49=1, Resulting Numbers: [56, 1]
Generated Node #0,0,0: 57:[56, 1] Operation: 50-49=1
Moving to Node #0,0,0
Current State: 57:[56, 1], Operations: ['87-31=56', '50-49=1']
Exploring Operation: 56+1=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
49,
49,
99,
18
] | 17 | [
"49+49=98",
"99-18=81",
"98-81=17"
] | Current State: 17:[49, 49, 99, 18], Operations: []
Exploring Operation: 49+49=98, Resulting Numbers: [99, 18, 98]
Generated Node #2: [99, 18, 98] from Operation: 49+49=98
Current State: 17:[99, 18, 98], Operations: ['49+49=98']
Exploring Operation: 99-18=81, Resulting Numbers: [98, 81]
Generated Node #3: [98, 81] from Operation: 99-18=81
Current State: 17:[98, 81], Operations: ['49+49=98', '99-18=81']
Exploring Operation: 98-81=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[49, 49, 99, 18], Operations: []
Exploring Operation: 99-49=50, Resulting Numbers: [49, 18, 50]
Generated Node #0,0: 17:[49, 18, 50] Operation: 99-49=50
Exploring Operation: 49/49=1, Resulting Numbers: [99, 18, 1]
Generated Node #0,1: 17:[99, 18, 1] Operation: 49/49=1
Exploring Operation: 99-49=50, Resulting Numbers: [49, 18, 50]
Generated Node #0,2: 17:[49, 18, 50] Operation: 99-49=50
Moving to Node #0,0
Current State: 17:[49, 18, 50], Operations: ['99-49=50']
Exploring Operation: 50-18=32, Resulting Numbers: [49, 32]
Generated Node #0,0,0: 17:[49, 32] Operation: 50-18=32
Exploring Operation: 49-18=31, Resulting Numbers: [50, 31]
Generated Node #0,0,1: 17:[50, 31] Operation: 49-18=31
Exploring Operation: 50-49=1, Resulting Numbers: [18, 1]
Generated Node #0,0,2: 17:[18, 1] Operation: 50-49=1
Moving to Node #0,2
Current State: 17:[49, 18, 50], Operations: ['99-49=50']
Exploring Operation: 49-18=31, Resulting Numbers: [50, 31]
Generated Node #0,2,0: 17:[50, 31] Operation: 49-18=31
Exploring Operation: 50-18=32, Resulting Numbers: [49, 32]
Generated Node #0,2,1: 17:[49, 32] Operation: 50-18=32
Exploring Operation: 50-49=1, Resulting Numbers: [18, 1]
Generated Node #0,2,2: 17:[18, 1] Operation: 50-49=1
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 17:[18, 1], Operations: ['99-49=50', '50-49=1']
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Moving to Node #0
Current State: 17:[49, 49, 99, 18], Operations: []
Exploring Operation: 99-49=50, Resulting Numbers: [49, 18, 50]
Generated Node #0,2: 17:[49, 18, 50] Operation: 99-49=50
Moving to Node #0,2
Current State: 17:[49, 18, 50], Operations: ['99-49=50']
Exploring Operation: 50-49=1, Resulting Numbers: [18, 1]
Generated Node #0,2,2: 17:[18, 1] Operation: 50-49=1
Moving to Node #0,2,2
Current State: 17:[18, 1], Operations: ['99-49=50', '50-49=1']
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
24,
31,
42,
58
] | 93 | [
"31-24=7",
"42+58=100",
"100-7=93"
] | Current State: 93:[24, 31, 42, 58], Operations: []
Exploring Operation: 31-24=7, Resulting Numbers: [42, 58, 7]
Generated Node #2: [42, 58, 7] from Operation: 31-24=7
Current State: 93:[42, 58, 7], Operations: ['31-24=7']
Exploring Operation: 42+58=100, Resulting Numbers: [7, 100]
Generated Node #3: [7, 100] from Operation: 42+58=100
Current State: 93:[7, 100], Operations: ['31-24=7', '42+58=100']
Exploring Operation: 100-7=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[24, 31, 42, 58], Operations: []
Exploring Operation: 24+58=82, Resulting Numbers: [31, 42, 82]
Generated Node #0,0: 93:[31, 42, 82] Operation: 24+58=82
Exploring Operation: 58-42=16, Resulting Numbers: [24, 31, 16]
Generated Node #0,1: 93:[24, 31, 16] Operation: 58-42=16
Exploring Operation: 31+58=89, Resulting Numbers: [24, 42, 89]
Generated Node #0,2: 93:[24, 42, 89] Operation: 31+58=89
Exploring Operation: 58-24=34, Resulting Numbers: [31, 42, 34]
Generated Node #0,3: 93:[31, 42, 34] Operation: 58-24=34
Exploring Operation: 42+58=100, Resulting Numbers: [24, 31, 100]
Generated Node #0,4: 93:[24, 31, 100] Operation: 42+58=100
Start Sub Search at level 1: Moving to Node #0,3
Current State: 93:[31, 42, 34], Operations: ['58-24=34']
Exploring Operation: 34-31=3, Resulting Numbers: [42, 3]
Generated Node #0,3,0: 93:[42, 3] Operation: 34-31=3
Exploring Operation: 42+34=76, Resulting Numbers: [31, 76]
Generated Node #0,3,1: 93:[31, 76] Operation: 42+34=76
Exploring Operation: 42-34=8, Resulting Numbers: [31, 8]
Generated Node #0,3,2: 93:[31, 8] Operation: 42-34=8
Exploring Operation: 31+42=73, Resulting Numbers: [34, 73]
Generated Node #0,3,3: 93:[34, 73] Operation: 31+42=73
Exploring Operation: 42-31=11, Resulting Numbers: [34, 11]
Generated Node #0,3,4: 93:[34, 11] Operation: 42-31=11
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 93:[31, 8], Operations: ['58-24=34', '42-34=8']
Exploring Operation: 31*8=248, Resulting Numbers: [248]
248,93 unequal: No Solution
Exploring Operation: 31-8=23, Resulting Numbers: [23]
23,93 unequal: No Solution
Exploring Operation: 31+8=39, Resulting Numbers: [39]
39,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 93:[42, 3], Operations: ['58-24=34', '34-31=3']
Exploring Operation: 42-3=39, Resulting Numbers: [39]
39,93 unequal: No Solution
Exploring Operation: 42*3=126, Resulting Numbers: [126]
126,93 unequal: No Solution
Exploring Operation: 42+3=45, Resulting Numbers: [45]
45,93 unequal: No Solution
Exploring Operation: 42/3=14, Resulting Numbers: [14]
14,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 93:[34, 11], Operations: ['58-24=34', '42-31=11']
Exploring Operation: 34+11=45, Resulting Numbers: [45]
45,93 unequal: No Solution
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,93 unequal: No Solution
Exploring Operation: 34*11=374, Resulting Numbers: [374]
374,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 93:[31, 76], Operations: ['58-24=34', '42+34=76']
Exploring Operation: 31+76=107, Resulting Numbers: [107]
107,93 unequal: No Solution
Exploring Operation: 31*76=2356, Resulting Numbers: [2356]
2356,93 unequal: No Solution
Exploring Operation: 76-31=45, Resulting Numbers: [45]
45,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 93:[34, 73], Operations: ['58-24=34', '31+42=73']
Exploring Operation: 34*73=2482, Resulting Numbers: [2482]
2482,93 unequal: No Solution
Exploring Operation: 73-34=39, Resulting Numbers: [39]
39,93 unequal: No Solution
Exploring Operation: 34+73=107, Resulting Numbers: [107]
107,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 93:[24, 31, 100], Operations: ['42+58=100']
Exploring Operation: 31-24=7, Resulting Numbers: [100, 7]
Generated Node #0,4,0: 93:[100, 7] Operation: 31-24=7
Exploring Operation: 100-24=76, Resulting Numbers: [31, 76]
Generated Node #0,4,1: 93:[31, 76] Operation: 100-24=76
Exploring Operation: 100-31=69, Resulting Numbers: [24, 69]
Generated Node #0,4,2: 93:[24, 69] Operation: 100-31=69
Exploring Operation: 24+100=124, Resulting Numbers: [31, 124]
Generated Node #0,4,3: 93:[31, 124] Operation: 24+100=124
Exploring Operation: 24+31=55, Resulting Numbers: [100, 55]
Generated Node #0,4,4: 93:[100, 55] Operation: 24+31=55
Moving to Node #0,4,0
Current State: 93:[100, 7], Operations: ['42+58=100', '31-24=7']
Exploring Operation: 100*7=700, Resulting Numbers: [700]
700,93 unequal: No Solution
Exploring Operation: 100+7=107, Resulting Numbers: [107]
107,93 unequal: No Solution
Exploring Operation: 100-7=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[24, 31, 42, 58], Operations: []
Exploring Operation: 42+58=100, Resulting Numbers: [24, 31, 100]
Generated Node #0,4: 93:[24, 31, 100] Operation: 42+58=100
Moving to Node #0,4
Current State: 93:[24, 31, 100], Operations: ['42+58=100']
Exploring Operation: 31-24=7, Resulting Numbers: [100, 7]
Generated Node #0,4,0: 93:[100, 7] Operation: 31-24=7
Moving to Node #0,4,0
Current State: 93:[100, 7], Operations: ['42+58=100', '31-24=7']
Exploring Operation: 100-7=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_5 | sum_heuristic |
[
14,
23,
95,
7
] | 74 | [
"14/7=2",
"95-23=72",
"2+72=74"
] | Current State: 74:[14, 23, 95, 7], Operations: []
Exploring Operation: 14/7=2, Resulting Numbers: [23, 95, 2]
Generated Node #2: [23, 95, 2] from Operation: 14/7=2
Current State: 74:[23, 95, 2], Operations: ['14/7=2']
Exploring Operation: 95-23=72, Resulting Numbers: [2, 72]
Generated Node #3: [2, 72] from Operation: 95-23=72
Current State: 74:[2, 72], Operations: ['14/7=2', '95-23=72']
Exploring Operation: 2+72=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[14, 23, 95, 7], Operations: []
Exploring Operation: 95-14=81, Resulting Numbers: [23, 7, 81]
Generated Node #0,0: 74:[23, 7, 81] Operation: 95-14=81
Exploring Operation: 14+23=37, Resulting Numbers: [95, 7, 37]
Generated Node #0,1: 74:[95, 7, 37] Operation: 14+23=37
Exploring Operation: 23-14=9, Resulting Numbers: [95, 7, 9]
Generated Node #0,2: 74:[95, 7, 9] Operation: 23-14=9
Exploring Operation: 95-23=72, Resulting Numbers: [14, 7, 72]
Generated Node #0,3: 74:[14, 7, 72] Operation: 95-23=72
Start Sub Search at level 1: Moving to Node #0,3
Current State: 74:[14, 7, 72], Operations: ['95-23=72']
Exploring Operation: 7+72=79, Resulting Numbers: [14, 79]
Generated Node #0,3,0: 74:[14, 79] Operation: 7+72=79
Exploring Operation: 14/7=2, Resulting Numbers: [72, 2]
Generated Node #0,3,1: 74:[72, 2] Operation: 14/7=2
Exploring Operation: 14+72=86, Resulting Numbers: [7, 86]
Generated Node #0,3,2: 74:[7, 86] Operation: 14+72=86
Exploring Operation: 14-7=7, Resulting Numbers: [72, 7]
Generated Node #0,3,3: 74:[72, 7] Operation: 14-7=7
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 74:[72, 2], Operations: ['95-23=72', '14/7=2']
Exploring Operation: 72-2=70, Resulting Numbers: [70]
70,74 unequal: No Solution
Exploring Operation: 72/2=36, Resulting Numbers: [36]
36,74 unequal: No Solution
Exploring Operation: 72*2=144, Resulting Numbers: [144]
144,74 unequal: No Solution
Exploring Operation: 72+2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[14, 23, 95, 7], Operations: []
Exploring Operation: 95-23=72, Resulting Numbers: [14, 7, 72]
Generated Node #0,3: 74:[14, 7, 72] Operation: 95-23=72
Moving to Node #0,3
Current State: 74:[14, 7, 72], Operations: ['95-23=72']
Exploring Operation: 14/7=2, Resulting Numbers: [72, 2]
Generated Node #0,3,1: 74:[72, 2] Operation: 14/7=2
Moving to Node #0,3,1
Current State: 74:[72, 2], Operations: ['95-23=72', '14/7=2']
Exploring Operation: 72+2=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
19,
23,
81,
76
] | 20 | [
"23-19=4",
"81-76=5",
"4*5=20"
] | Current State: 20:[19, 23, 81, 76], Operations: []
Exploring Operation: 23-19=4, Resulting Numbers: [81, 76, 4]
Generated Node #2: [81, 76, 4] from Operation: 23-19=4
Current State: 20:[81, 76, 4], Operations: ['23-19=4']
Exploring Operation: 81-76=5, Resulting Numbers: [4, 5]
Generated Node #3: [4, 5] from Operation: 81-76=5
Current State: 20:[4, 5], Operations: ['23-19=4', '81-76=5']
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[19, 23, 81, 76], Operations: []
Exploring Operation: 81-76=5, Resulting Numbers: [19, 23, 5]
Generated Node #0,0: 20:[19, 23, 5] Operation: 81-76=5
Exploring Operation: 76/19=4, Resulting Numbers: [23, 81, 4]
Generated Node #0,1: 20:[23, 81, 4] Operation: 76/19=4
Exploring Operation: 81-23=58, Resulting Numbers: [19, 76, 58]
Generated Node #0,2: 20:[19, 76, 58] Operation: 81-23=58
Moving to Node #0,0
Current State: 20:[19, 23, 5], Operations: ['81-76=5']
Exploring Operation: 19+5=24, Resulting Numbers: [23, 24]
Generated Node #0,0,0: 20:[23, 24] Operation: 19+5=24
Exploring Operation: 23-5=18, Resulting Numbers: [19, 18]
Generated Node #0,0,1: 20:[19, 18] Operation: 23-5=18
Exploring Operation: 23-19=4, Resulting Numbers: [5, 4]
Generated Node #0,0,2: 20:[5, 4] Operation: 23-19=4
Moving to Node #0,1
Current State: 20:[23, 81, 4], Operations: ['76/19=4']
Exploring Operation: 81-23=58, Resulting Numbers: [4, 58]
Generated Node #0,1,0: 20:[4, 58] Operation: 81-23=58
Exploring Operation: 23-4=19, Resulting Numbers: [81, 19]
Generated Node #0,1,1: 20:[81, 19] Operation: 23-4=19
Exploring Operation: 81-4=77, Resulting Numbers: [23, 77]
Generated Node #0,1,2: 20:[23, 77] Operation: 81-4=77
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 20:[4, 58], Operations: ['76/19=4', '81-23=58']
Exploring Operation: 4+58=62, Resulting Numbers: [62]
62,20 unequal: No Solution
Exploring Operation: 4*58=232, Resulting Numbers: [232]
232,20 unequal: No Solution
Exploring Operation: 58-4=54, Resulting Numbers: [54]
54,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:[23, 77], Operations: ['76/19=4', '81-4=77']
Exploring Operation: 23+77=100, Resulting Numbers: [100]
100,20 unequal: No Solution
Exploring Operation: 23*77=1771, Resulting Numbers: [1771]
1771,20 unequal: No Solution
Exploring Operation: 77-23=54, Resulting Numbers: [54]
54,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:[81, 19], Operations: ['76/19=4', '23-4=19']
Exploring Operation: 81*19=1539, Resulting Numbers: [1539]
1539,20 unequal: No Solution
Exploring Operation: 81-19=62, Resulting Numbers: [62]
62,20 unequal: No Solution
Exploring Operation: 81+19=100, Resulting Numbers: [100]
100,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:[19, 76, 58], Operations: ['81-23=58']
Exploring Operation: 76/19=4, Resulting Numbers: [58, 4]
Generated Node #0,2,0: 20:[58, 4] Operation: 76/19=4
Exploring Operation: 76-19=57, Resulting Numbers: [58, 57]
Generated Node #0,2,1: 20:[58, 57] Operation: 76-19=57
Exploring Operation: 76-58=18, Resulting Numbers: [19, 18]
Generated Node #0,2,2: 20:[19, 18] Operation: 76-58=18
Moving to Node #0,0,2
Current State: 20:[5, 4], Operations: ['81-76=5', '23-19=4']
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[19, 23, 81, 76], Operations: []
Exploring Operation: 81-76=5, Resulting Numbers: [19, 23, 5]
Generated Node #0,0: 20:[19, 23, 5] Operation: 81-76=5
Moving to Node #0,0
Current State: 20:[19, 23, 5], Operations: ['81-76=5']
Exploring Operation: 23-19=4, Resulting Numbers: [5, 4]
Generated Node #0,0,2: 20:[5, 4] Operation: 23-19=4
Moving to Node #0,0,2
Current State: 20:[5, 4], Operations: ['81-76=5', '23-19=4']
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 0.977431 | hs_3 | sum_heuristic |
[
7,
61,
69,
89
] | 89 | [
"7+61=68",
"69-68=1",
"89*1=89"
] | Current State: 89:[7, 61, 69, 89], Operations: []
Exploring Operation: 7+61=68, Resulting Numbers: [69, 89, 68]
Generated Node #2: [69, 89, 68] from Operation: 7+61=68
Current State: 89:[69, 89, 68], Operations: ['7+61=68']
Exploring Operation: 69-68=1, Resulting Numbers: [89, 1]
Generated Node #3: [89, 1] from Operation: 69-68=1
Current State: 89:[89, 1], Operations: ['7+61=68', '69-68=1']
Exploring Operation: 89*1=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[7, 61, 69, 89], Operations: []
Exploring Operation: 7+61=68, Resulting Numbers: [69, 89, 68]
Generated Node #0,0: 89:[69, 89, 68] Operation: 7+61=68
Exploring Operation: 69-7=62, Resulting Numbers: [61, 89, 62]
Generated Node #0,1: 89:[61, 89, 62] Operation: 69-7=62
Exploring Operation: 61-7=54, Resulting Numbers: [69, 89, 54]
Generated Node #0,2: 89:[69, 89, 54] Operation: 61-7=54
Exploring Operation: 7+69=76, Resulting Numbers: [61, 89, 76]
Generated Node #0,3: 89:[61, 89, 76] Operation: 7+69=76
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[69, 89, 68], Operations: ['7+61=68']
Exploring Operation: 69+68=137, Resulting Numbers: [89, 137]
Generated Node #0,0,0: 89:[89, 137] Operation: 69+68=137
Exploring Operation: 89-68=21, Resulting Numbers: [69, 21]
Generated Node #0,0,1: 89:[69, 21] Operation: 89-68=21
Exploring Operation: 69-68=1, Resulting Numbers: [89, 1]
Generated Node #0,0,2: 89:[89, 1] Operation: 69-68=1
Exploring Operation: 89+68=157, Resulting Numbers: [69, 157]
Generated Node #0,0,3: 89:[69, 157] Operation: 89+68=157
Moving to Node #0,0,0
Current State: 89:[89, 137], Operations: ['7+61=68', '69+68=137']
Exploring Operation: 89*137=12193, Resulting Numbers: [12193]
12193,89 unequal: No Solution
Exploring Operation: 137-89=48, Resulting Numbers: [48]
48,89 unequal: No Solution
Exploring Operation: 89+137=226, Resulting Numbers: [226]
226,89 unequal: No Solution
Moving to Node #0,0,2
Current State: 89:[89, 1], Operations: ['7+61=68', '69-68=1']
Exploring Operation: 89-1=88, Resulting Numbers: [88]
88,89 unequal: No Solution
Exploring Operation: 89+1=90, Resulting Numbers: [90]
90,89 unequal: No Solution
Exploring Operation: 89/1=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[7, 61, 69, 89], Operations: []
Exploring Operation: 7+61=68, Resulting Numbers: [69, 89, 68]
Generated Node #0,0: 89:[69, 89, 68] Operation: 7+61=68
Moving to Node #0,0
Current State: 89:[69, 89, 68], Operations: ['7+61=68']
Exploring Operation: 69-68=1, Resulting Numbers: [89, 1]
Generated Node #0,0,2: 89:[89, 1] Operation: 69-68=1
Moving to Node #0,0,2
Current State: 89:[89, 1], Operations: ['7+61=68', '69-68=1']
Exploring Operation: 89/1=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | sum_heuristic |
[
18,
63,
23,
5
] | 26 | [
"63-23=40",
"40/5=8",
"18+8=26"
] | Current State: 26:[18, 63, 23, 5], Operations: []
Exploring Operation: 63-23=40, Resulting Numbers: [18, 5, 40]
Generated Node #2: [18, 5, 40] from Operation: 63-23=40
Current State: 26:[18, 5, 40], Operations: ['63-23=40']
Exploring Operation: 40/5=8, Resulting Numbers: [18, 8]
Generated Node #3: [18, 8] from Operation: 40/5=8
Current State: 26:[18, 8], Operations: ['63-23=40', '40/5=8']
Exploring Operation: 18+8=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[18, 63, 23, 5], Operations: []
Exploring Operation: 63-23=40, Resulting Numbers: [18, 5, 40]
Generated Node #0,0: 26:[18, 5, 40] Operation: 63-23=40
Moving to Node #0,0
Current State: 26:[18, 5, 40], Operations: ['63-23=40']
Exploring Operation: 40-18=22, Resulting Numbers: [5, 22]
Generated Node #0,0,0: 26:[5, 22] Operation: 40-18=22
Moving to Node #0,0,0
Current State: 26:[5, 22], Operations: ['63-23=40', '40-18=22']
Exploring Operation: 5+22=27, Resulting Numbers: [27]
27,26 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
30,
22,
3,
26
] | 94 | [
"30*3=90",
"26-22=4",
"90+4=94"
] | Current State: 94:[30, 22, 3, 26], Operations: []
Exploring Operation: 30*3=90, Resulting Numbers: [22, 26, 90]
Generated Node #2: [22, 26, 90] from Operation: 30*3=90
Current State: 94:[22, 26, 90], Operations: ['30*3=90']
Exploring Operation: 26-22=4, Resulting Numbers: [90, 4]
Generated Node #3: [90, 4] from Operation: 26-22=4
Current State: 94:[90, 4], Operations: ['30*3=90', '26-22=4']
Exploring Operation: 90+4=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[30, 22, 3, 26], Operations: []
Exploring Operation: 22+26=48, Resulting Numbers: [30, 3, 48]
Generated Node #0,0: 94:[30, 3, 48] Operation: 22+26=48
Exploring Operation: 26-22=4, Resulting Numbers: [30, 3, 4]
Generated Node #0,1: 94:[30, 3, 4] Operation: 26-22=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[30, 3, 48], Operations: ['22+26=48']
Exploring Operation: 30/3=10, Resulting Numbers: [48, 10]
Generated Node #0,0,0: 94:[48, 10] Operation: 30/3=10
Exploring Operation: 30*3=90, Resulting Numbers: [48, 90]
Generated Node #0,0,1: 94:[48, 90] Operation: 30*3=90
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 94:[48, 90], Operations: ['22+26=48', '30*3=90']
Exploring Operation: 48+90=138, Resulting Numbers: [138]
138,94 unequal: No Solution
Exploring Operation: 90-48=42, Resulting Numbers: [42]
42,94 unequal: No Solution
No 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: 94:[48, 10], Operations: ['22+26=48', '30/3=10']
Exploring Operation: 48+10=58, Resulting Numbers: [58]
58,94 unequal: No Solution
Exploring Operation: 48-10=38, Resulting Numbers: [38]
38,94 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: 94:[30, 3, 4], Operations: ['26-22=4']
Exploring Operation: 30*3=90, Resulting Numbers: [4, 90]
Generated Node #0,1,0: 94:[4, 90] Operation: 30*3=90
Exploring Operation: 30/3=10, Resulting Numbers: [4, 10]
Generated Node #0,1,1: 94:[4, 10] Operation: 30/3=10
Moving to Node #0,1,0
Current State: 94:[4, 90], Operations: ['26-22=4', '30*3=90']
Exploring Operation: 90-4=86, Resulting Numbers: [86]
86,94 unequal: No Solution
Exploring Operation: 4+90=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[30, 22, 3, 26], Operations: []
Exploring Operation: 26-22=4, Resulting Numbers: [30, 3, 4]
Generated Node #0,1: 94:[30, 3, 4] Operation: 26-22=4
Moving to Node #0,1
Current State: 94:[30, 3, 4], Operations: ['26-22=4']
Exploring Operation: 30*3=90, Resulting Numbers: [4, 90]
Generated Node #0,1,0: 94:[4, 90] Operation: 30*3=90
Moving to Node #0,1,0
Current State: 94:[4, 90], Operations: ['26-22=4', '30*3=90']
Exploring Operation: 4+90=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_2 | sum_heuristic |
[
69,
63,
7,
55
] | 97 | [
"69-63=6",
"7*6=42",
"55+42=97"
] | Current State: 97:[69, 63, 7, 55], Operations: []
Exploring Operation: 69-63=6, Resulting Numbers: [7, 55, 6]
Generated Node #2: [7, 55, 6] from Operation: 69-63=6
Current State: 97:[7, 55, 6], Operations: ['69-63=6']
Exploring Operation: 7*6=42, Resulting Numbers: [55, 42]
Generated Node #3: [55, 42] from Operation: 7*6=42
Current State: 97:[55, 42], Operations: ['69-63=6', '7*6=42']
Exploring Operation: 55+42=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[69, 63, 7, 55], Operations: []
Exploring Operation: 69+7=76, Resulting Numbers: [63, 55, 76]
Generated Node #0,0: 97:[63, 55, 76] Operation: 69+7=76
Exploring Operation: 63+7=70, Resulting Numbers: [69, 55, 70]
Generated Node #0,1: 97:[69, 55, 70] Operation: 63+7=70
Exploring Operation: 69-7=62, Resulting Numbers: [63, 55, 62]
Generated Node #0,2: 97:[63, 55, 62] Operation: 69-7=62
Exploring Operation: 7+55=62, Resulting Numbers: [69, 63, 62]
Generated Node #0,3: 97:[69, 63, 62] Operation: 7+55=62
Moving to Node #0,0
Current State: 97:[63, 55, 76], Operations: ['69+7=76']
Exploring Operation: 63+55=118, Resulting Numbers: [76, 118]
Generated Node #0,0,0: 97:[76, 118] Operation: 63+55=118
Exploring Operation: 63-55=8, Resulting Numbers: [76, 8]
Generated Node #0,0,1: 97:[76, 8] Operation: 63-55=8
Exploring Operation: 63+76=139, Resulting Numbers: [55, 139]
Generated Node #0,0,2: 97:[55, 139] Operation: 63+76=139
Exploring Operation: 55+76=131, Resulting Numbers: [63, 131]
Generated Node #0,0,3: 97:[63, 131] Operation: 55+76=131
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 97:[76, 118], Operations: ['69+7=76', '63+55=118']
Exploring Operation: 118-76=42, Resulting Numbers: [42]
42,97 unequal: No Solution
Exploring Operation: 76+118=194, Resulting Numbers: [194]
194,97 unequal: No Solution
Exploring Operation: 76*118=8968, Resulting Numbers: [8968]
8968,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 97:[63, 131], Operations: ['69+7=76', '55+76=131']
Exploring Operation: 63+131=194, Resulting Numbers: [194]
194,97 unequal: No Solution
Exploring Operation: 63*131=8253, Resulting Numbers: [8253]
8253,97 unequal: No Solution
Exploring Operation: 131-63=68, Resulting Numbers: [68]
68,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 97:[55, 139], Operations: ['69+7=76', '63+76=139']
Exploring Operation: 55+139=194, Resulting Numbers: [194]
194,97 unequal: No Solution
Exploring Operation: 139-55=84, Resulting Numbers: [84]
84,97 unequal: No Solution
Exploring Operation: 55*139=7645, Resulting Numbers: [7645]
7645,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 97:[76, 8], Operations: ['69+7=76', '63-55=8']
Exploring Operation: 76*8=608, Resulting Numbers: [608]
608,97 unequal: No Solution
Exploring Operation: 76+8=84, Resulting Numbers: [84]
84,97 unequal: No Solution
Exploring Operation: 76-8=68, Resulting Numbers: [68]
68,97 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: 97:[69, 63, 62], Operations: ['7+55=62']
Exploring Operation: 69-62=7, Resulting Numbers: [63, 7]
Generated Node #0,3,0: 97:[63, 7] Operation: 69-62=7
Exploring Operation: 69+62=131, Resulting Numbers: [63, 131]
Generated Node #0,3,1: 97:[63, 131] Operation: 69+62=131
Exploring Operation: 63+62=125, Resulting Numbers: [69, 125]
Generated Node #0,3,2: 97:[69, 125] Operation: 63+62=125
Exploring Operation: 69+63=132, Resulting Numbers: [62, 132]
Generated Node #0,3,3: 97:[62, 132] Operation: 69+63=132
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 97:[69, 125], Operations: ['7+55=62', '63+62=125']
Exploring Operation: 69+125=194, Resulting Numbers: [194]
194,97 unequal: No Solution
Exploring Operation: 125-69=56, Resulting Numbers: [56]
56,97 unequal: No Solution
Exploring Operation: 69*125=8625, Resulting Numbers: [8625]
8625,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 97:[63, 131], Operations: ['7+55=62', '69+62=131']
Exploring Operation: 131-63=68, Resulting Numbers: [68]
68,97 unequal: No Solution
Exploring Operation: 63*131=8253, Resulting Numbers: [8253]
8253,97 unequal: No Solution
Exploring Operation: 63+131=194, Resulting Numbers: [194]
194,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 97:[62, 132], Operations: ['7+55=62', '69+63=132']
Exploring Operation: 62+132=194, Resulting Numbers: [194]
194,97 unequal: No Solution
Exploring Operation: 132-62=70, Resulting Numbers: [70]
70,97 unequal: No Solution
Exploring Operation: 62*132=8184, Resulting Numbers: [8184]
8184,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 97:[63, 7], Operations: ['7+55=62', '69-62=7']
Exploring Operation: 63+7=70, Resulting Numbers: [70]
70,97 unequal: No Solution
Exploring Operation: 63-7=56, Resulting Numbers: [56]
56,97 unequal: No Solution
Exploring Operation: 63*7=441, Resulting Numbers: [441]
441,97 unequal: No Solution
Exploring Operation: 63/7=9, Resulting Numbers: [9]
9,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 97:[69, 55, 70], Operations: ['63+7=70']
Exploring Operation: 69+55=124, Resulting Numbers: [70, 124]
Generated Node #0,1,0: 97:[70, 124] Operation: 69+55=124
Exploring Operation: 69-55=14, Resulting Numbers: [70, 14]
Generated Node #0,1,1: 97:[70, 14] Operation: 69-55=14
Exploring Operation: 55+70=125, Resulting Numbers: [69, 125]
Generated Node #0,1,2: 97:[69, 125] Operation: 55+70=125
Exploring Operation: 69+70=139, Resulting Numbers: [55, 139]
Generated Node #0,1,3: 97:[55, 139] Operation: 69+70=139
Moving to Node #0,2
Current State: 97:[63, 55, 62], Operations: ['69-7=62']
Exploring Operation: 55+62=117, Resulting Numbers: [63, 117]
Generated Node #0,2,0: 97:[63, 117] Operation: 55+62=117
Exploring Operation: 63-55=8, Resulting Numbers: [62, 8]
Generated Node #0,2,1: 97:[62, 8] Operation: 63-55=8
Exploring Operation: 63+62=125, Resulting Numbers: [55, 125]
Generated Node #0,2,2: 97:[55, 125] Operation: 63+62=125
Exploring Operation: 63+55=118, Resulting Numbers: [62, 118]
Generated Node #0,2,3: 97:[62, 118] Operation: 63+55=118
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 97:[63, 117], Operations: ['69-7=62', '55+62=117']
Exploring Operation: 63+117=180, Resulting Numbers: [180]
180,97 unequal: No Solution
Exploring Operation: 117-63=54, Resulting Numbers: [54]
54,97 unequal: No Solution
Exploring Operation: 63*117=7371, Resulting Numbers: [7371]
7371,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 97:[62, 118], Operations: ['69-7=62', '63+55=118']
Exploring Operation: 62*118=7316, Resulting Numbers: [7316]
7316,97 unequal: No Solution
Exploring Operation: 62+118=180, Resulting Numbers: [180]
180,97 unequal: No Solution
Exploring Operation: 118-62=56, Resulting Numbers: [56]
56,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 97:[55, 125], Operations: ['69-7=62', '63+62=125']
Exploring Operation: 55*125=6875, Resulting Numbers: [6875]
6875,97 unequal: No Solution
Exploring Operation: 125-55=70, Resulting Numbers: [70]
70,97 unequal: No Solution
Exploring Operation: 55+125=180, Resulting Numbers: [180]
180,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 97:[62, 8], Operations: ['69-7=62', '63-55=8']
Exploring Operation: 62+8=70, Resulting Numbers: [70]
70,97 unequal: No Solution
Exploring Operation: 62-8=54, Resulting Numbers: [54]
54,97 unequal: No Solution
Exploring Operation: 62*8=496, Resulting Numbers: [496]
496,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,0
Current State: 97:[70, 124], Operations: ['63+7=70', '69+55=124']
Exploring Operation: 70+124=194, Resulting Numbers: [194]
194,97 unequal: No Solution
Exploring Operation: 70*124=8680, Resulting Numbers: [8680]
8680,97 unequal: No Solution
Exploring Operation: 124-70=54, Resulting Numbers: [54]
54,97 unequal: No Solution
Moving to Node #0,1,2
Current State: 97:[69, 125], Operations: ['63+7=70', '55+70=125']
Exploring Operation: 69*125=8625, Resulting Numbers: [8625]
8625,97 unequal: No Solution
Exploring Operation: 125-69=56, Resulting Numbers: [56]
56,97 unequal: No Solution
Exploring Operation: 69+125=194, Resulting Numbers: [194]
194,97 unequal: No Solution
Moving to Node #0,1,3
Current State: 97:[55, 139], Operations: ['63+7=70', '69+70=139']
Exploring Operation: 55+139=194, Resulting Numbers: [194]
194,97 unequal: No Solution
Exploring Operation: 55*139=7645, Resulting Numbers: [7645]
7645,97 unequal: No Solution
Exploring Operation: 139-55=84, Resulting Numbers: [84]
84,97 unequal: No Solution
Moving to Node #0,1,1
Current State: 97:[70, 14], Operations: ['63+7=70', '69-55=14']
Exploring Operation: 70+14=84, Resulting Numbers: [84]
84,97 unequal: No Solution
Exploring Operation: 70*14=980, Resulting Numbers: [980]
980,97 unequal: No Solution
Exploring Operation: 70/14=5, Resulting Numbers: [5]
5,97 unequal: No Solution
Exploring Operation: 70-14=56, Resulting Numbers: [56]
56,97 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
69,
56,
5,
1
] | 17 | [
"69-56=13",
"5-1=4",
"13+4=17"
] | Current State: 17:[69, 56, 5, 1], Operations: []
Exploring Operation: 69-56=13, Resulting Numbers: [5, 1, 13]
Generated Node #2: [5, 1, 13] from Operation: 69-56=13
Current State: 17:[5, 1, 13], Operations: ['69-56=13']
Exploring Operation: 5-1=4, Resulting Numbers: [13, 4]
Generated Node #3: [13, 4] from Operation: 5-1=4
Current State: 17:[13, 4], Operations: ['69-56=13', '5-1=4']
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,17 equal: Goal Reached
| 4 | Current State: 17:[69, 56, 5, 1], Operations: []
Exploring Operation: 69-56=13, Resulting Numbers: [5, 1, 13]
Generated Node #0,0: 17:[5, 1, 13] Operation: 69-56=13
Moving to Node #0,0
Current State: 17:[5, 1, 13], Operations: ['69-56=13']
Exploring Operation: 5+1=6, Resulting Numbers: [13, 6]
Generated Node #0,0,0: 17:[13, 6] Operation: 5+1=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 17:[13, 6], Operations: ['69-56=13', '5+1=6']
Exploring Operation: 13+6=19, Resulting Numbers: [19]
19,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 | sum_heuristic |
[
36,
18,
74,
68
] | 62 | [
"36/18=2",
"68*2=136",
"136-74=62"
] | Current State: 62:[36, 18, 74, 68], Operations: []
Exploring Operation: 36/18=2, Resulting Numbers: [74, 68, 2]
Generated Node #2: [74, 68, 2] from Operation: 36/18=2
Current State: 62:[74, 68, 2], Operations: ['36/18=2']
Exploring Operation: 68*2=136, Resulting Numbers: [74, 136]
Generated Node #3: [74, 136] from Operation: 68*2=136
Current State: 62:[74, 136], Operations: ['36/18=2', '68*2=136']
Exploring Operation: 136-74=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[36, 18, 74, 68], Operations: []
Exploring Operation: 74-18=56, Resulting Numbers: [36, 68, 56]
Generated Node #0,0: 62:[36, 68, 56] Operation: 74-18=56
Exploring Operation: 36/18=2, Resulting Numbers: [74, 68, 2]
Generated Node #0,1: 62:[74, 68, 2] Operation: 36/18=2
Moving to Node #0,0
Current State: 62:[36, 68, 56], Operations: ['74-18=56']
Exploring Operation: 68-56=12, Resulting Numbers: [36, 12]
Generated Node #0,0,0: 62:[36, 12] Operation: 68-56=12
Exploring Operation: 68-36=32, Resulting Numbers: [56, 32]
Generated Node #0,0,1: 62:[56, 32] Operation: 68-36=32
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 62:[56, 32], Operations: ['74-18=56', '68-36=32']
Exploring Operation: 56-32=24, Resulting Numbers: [24]
24,62 unequal: No Solution
Exploring Operation: 56+32=88, Resulting Numbers: [88]
88,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[36, 12], Operations: ['74-18=56', '68-56=12']
Exploring Operation: 36-12=24, Resulting Numbers: [24]
24,62 unequal: No Solution
Exploring Operation: 36/12=3, Resulting Numbers: [3]
3,62 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: 62:[74, 68, 2], Operations: ['36/18=2']
Exploring Operation: 74/2=37, Resulting Numbers: [68, 37]
Generated Node #0,1,0: 62:[68, 37] Operation: 74/2=37
Exploring Operation: 74-68=6, Resulting Numbers: [2, 6]
Generated Node #0,1,1: 62:[2, 6] Operation: 74-68=6
Moving to Node #0,1,1
Current State: 62:[2, 6], Operations: ['36/18=2', '74-68=6']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,62 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,62 unequal: No Solution
Moving to Node #0,1,0
Current State: 62:[68, 37], Operations: ['36/18=2', '74/2=37']
Exploring Operation: 68+37=105, Resulting Numbers: [105]
105,62 unequal: No Solution
Exploring Operation: 68-37=31, Resulting Numbers: [31]
31,62 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
7,
21,
13,
82
] | 66 | [
"21/7=3",
"82-13=69",
"69-3=66"
] | Current State: 66:[7, 21, 13, 82], Operations: []
Exploring Operation: 21/7=3, Resulting Numbers: [13, 82, 3]
Generated Node #2: [13, 82, 3] from Operation: 21/7=3
Current State: 66:[13, 82, 3], Operations: ['21/7=3']
Exploring Operation: 82-13=69, Resulting Numbers: [3, 69]
Generated Node #3: [3, 69] from Operation: 82-13=69
Current State: 66:[3, 69], Operations: ['21/7=3', '82-13=69']
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[7, 21, 13, 82], Operations: []
Exploring Operation: 82-21=61, Resulting Numbers: [7, 13, 61]
Generated Node #0,0: 66:[7, 13, 61] Operation: 82-21=61
Exploring Operation: 82-13=69, Resulting Numbers: [7, 21, 69]
Generated Node #0,1: 66:[7, 21, 69] Operation: 82-13=69
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[7, 21, 69], Operations: ['82-13=69']
Exploring Operation: 21/7=3, Resulting Numbers: [69, 3]
Generated Node #0,1,0: 66:[69, 3] Operation: 21/7=3
Exploring Operation: 69-7=62, Resulting Numbers: [21, 62]
Generated Node #0,1,1: 66:[21, 62] Operation: 69-7=62
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 66:[69, 3], Operations: ['82-13=69', '21/7=3']
Exploring Operation: 69/3=23, Resulting Numbers: [23]
23,66 unequal: No Solution
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[7, 21, 13, 82], Operations: []
Exploring Operation: 82-13=69, Resulting Numbers: [7, 21, 69]
Generated Node #0,1: 66:[7, 21, 69] Operation: 82-13=69
Moving to Node #0,1
Current State: 66:[7, 21, 69], Operations: ['82-13=69']
Exploring Operation: 21/7=3, Resulting Numbers: [69, 3]
Generated Node #0,1,0: 66:[69, 3] Operation: 21/7=3
Moving to Node #0,1,0
Current State: 66:[69, 3], Operations: ['82-13=69', '21/7=3']
Exploring Operation: 69-3=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
65,
29,
98,
54
] | 80 | [
"65-29=36",
"98-54=44",
"36+44=80"
] | Current State: 80:[65, 29, 98, 54], Operations: []
Exploring Operation: 65-29=36, Resulting Numbers: [98, 54, 36]
Generated Node #2: [98, 54, 36] from Operation: 65-29=36
Current State: 80:[98, 54, 36], Operations: ['65-29=36']
Exploring Operation: 98-54=44, Resulting Numbers: [36, 44]
Generated Node #3: [36, 44] from Operation: 98-54=44
Current State: 80:[36, 44], Operations: ['65-29=36', '98-54=44']
Exploring Operation: 36+44=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[65, 29, 98, 54], Operations: []
Exploring Operation: 65-54=11, Resulting Numbers: [29, 98, 11]
Generated Node #0,0: 80:[29, 98, 11] Operation: 65-54=11
Exploring Operation: 98-54=44, Resulting Numbers: [65, 29, 44]
Generated Node #0,1: 80:[65, 29, 44] Operation: 98-54=44
Moving to Node #0,0
Current State: 80:[29, 98, 11], Operations: ['65-54=11']
Exploring Operation: 98-29=69, Resulting Numbers: [11, 69]
Generated Node #0,0,0: 80:[11, 69] Operation: 98-29=69
Exploring Operation: 98-11=87, Resulting Numbers: [29, 87]
Generated Node #0,0,1: 80:[29, 87] Operation: 98-11=87
Moving to Node #0,1
Current State: 80:[65, 29, 44], Operations: ['98-54=44']
Exploring Operation: 65-44=21, Resulting Numbers: [29, 21]
Generated Node #0,1,0: 80:[29, 21] Operation: 65-44=21
Exploring Operation: 65-29=36, Resulting Numbers: [44, 36]
Generated Node #0,1,1: 80:[44, 36] Operation: 65-29=36
Moving to Node #0,1,1
Current State: 80:[44, 36], Operations: ['98-54=44', '65-29=36']
Exploring Operation: 44-36=8, Resulting Numbers: [8]
8,80 unequal: No Solution
Exploring Operation: 44+36=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[65, 29, 98, 54], Operations: []
Exploring Operation: 98-54=44, Resulting Numbers: [65, 29, 44]
Generated Node #0,1: 80:[65, 29, 44] Operation: 98-54=44
Moving to Node #0,1
Current State: 80:[65, 29, 44], Operations: ['98-54=44']
Exploring Operation: 65-29=36, Resulting Numbers: [44, 36]
Generated Node #0,1,1: 80:[44, 36] Operation: 65-29=36
Moving to Node #0,1,1
Current State: 80:[44, 36], Operations: ['98-54=44', '65-29=36']
Exploring Operation: 44+36=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 0.989583 | hs_2 | sum_heuristic |
[
36,
92,
51,
56
] | 51 | [
"92-36=56",
"51+56=107",
"107-56=51"
] | Current State: 51:[36, 92, 51, 56], Operations: []
Exploring Operation: 92-36=56, Resulting Numbers: [51, 56, 56]
Generated Node #2: [51, 56, 56] from Operation: 92-36=56
Current State: 51:[51, 56, 56], Operations: ['92-36=56']
Exploring Operation: 51+56=107, Resulting Numbers: [107]
107,51 equal: Goal Reached
Exploring Operation: 107-56=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
| 4 | Current State: 51:[36, 92, 51, 56], Operations: []
Exploring Operation: 92-56=36, Resulting Numbers: [36, 51, 36]
Generated Node #0,0: 51:[36, 51, 36] Operation: 92-56=36
Exploring Operation: 92-51=41, Resulting Numbers: [36, 56, 41]
Generated Node #0,1: 51:[36, 56, 41] Operation: 92-51=41
Exploring Operation: 56-36=20, Resulting Numbers: [92, 51, 20]
Generated Node #0,2: 51:[92, 51, 20] Operation: 56-36=20
Exploring Operation: 51-36=15, Resulting Numbers: [92, 56, 15]
Generated Node #0,3: 51:[92, 56, 15] Operation: 51-36=15
Exploring Operation: 92-36=56, Resulting Numbers: [51, 56, 56]
Generated Node #0,4: 51:[51, 56, 56] Operation: 92-36=56
Start Sub Search at level 1: Moving to Node #0,4
Current State: 51:[51, 56, 56], Operations: ['92-36=56']
Exploring Operation: 51+56=107, Resulting Numbers: [56, 107]
Generated Node #0,4,0: 51:[56, 107] Operation: 51+56=107
Exploring Operation: 56-56=0, Resulting Numbers: [51, 0]
Generated Node #0,4,1: 51:[51, 0] Operation: 56-56=0
Exploring Operation: 56/56=1, Resulting Numbers: [51, 1]
Generated Node #0,4,2: 51:[51, 1] Operation: 56/56=1
Exploring Operation: 56-51=5, Resulting Numbers: [56, 5]
Generated Node #0,4,3: 51:[56, 5] Operation: 56-51=5
Exploring Operation: 56-51=5, Resulting Numbers: [56, 5]
Generated Node #0,4,4: 51:[56, 5] Operation: 56-51=5
Moving to Node #0,4,2
Current State: 51:[51, 1], Operations: ['92-36=56', '56/56=1']
Exploring Operation: 51+1=52, Resulting Numbers: [52]
52,51 unequal: No Solution
Exploring Operation: 51-1=50, Resulting Numbers: [50]
50,51 unequal: No Solution
Exploring Operation: 51*1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Moving to Node #0
Current State: 51:[36, 92, 51, 56], Operations: []
Exploring Operation: 92-36=56, Resulting Numbers: [51, 56, 56]
Generated Node #0,4: 51:[51, 56, 56] Operation: 92-36=56
Moving to Node #0,4
Current State: 51:[51, 56, 56], Operations: ['92-36=56']
Exploring Operation: 56/56=1, Resulting Numbers: [51, 1]
Generated Node #0,4,2: 51:[51, 1] Operation: 56/56=1
Moving to Node #0,4,2
Current State: 51:[51, 1], Operations: ['92-36=56', '56/56=1']
Exploring Operation: 51*1=51, Resulting Numbers: [51]
51,51 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | mult_heuristic |
[
20,
75,
27,
86
] | 77 | [
"27-20=7",
"86-75=11",
"7*11=77"
] | Current State: 77:[20, 75, 27, 86], Operations: []
Exploring Operation: 27-20=7, Resulting Numbers: [75, 86, 7]
Generated Node #2: [75, 86, 7] from Operation: 27-20=7
Current State: 77:[75, 86, 7], Operations: ['27-20=7']
Exploring Operation: 86-75=11, Resulting Numbers: [7, 11]
Generated Node #3: [7, 11] from Operation: 86-75=11
Current State: 77:[7, 11], Operations: ['27-20=7', '86-75=11']
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[20, 75, 27, 86], Operations: []
Exploring Operation: 27-20=7, Resulting Numbers: [75, 86, 7]
Generated Node #0,0: 77:[75, 86, 7] Operation: 27-20=7
Exploring Operation: 86-75=11, Resulting Numbers: [20, 27, 11]
Generated Node #0,1: 77:[20, 27, 11] Operation: 86-75=11
Exploring Operation: 86-20=66, Resulting Numbers: [75, 27, 66]
Generated Node #0,2: 77:[75, 27, 66] Operation: 86-20=66
Moving to Node #0,0
Current State: 77:[75, 86, 7], Operations: ['27-20=7']
Exploring Operation: 75+7=82, Resulting Numbers: [86, 82]
Generated Node #0,0,0: 77:[86, 82] Operation: 75+7=82
Exploring Operation: 86-7=79, Resulting Numbers: [75, 79]
Generated Node #0,0,1: 77:[75, 79] Operation: 86-7=79
Exploring Operation: 86-75=11, Resulting Numbers: [7, 11]
Generated Node #0,0,2: 77:[7, 11] Operation: 86-75=11
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 77:[7, 11], Operations: ['27-20=7', '86-75=11']
Exploring Operation: 7+11=18, Resulting Numbers: [18]
18,77 unequal: No Solution
Exploring Operation: 11-7=4, Resulting Numbers: [4]
4,77 unequal: No Solution
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[20, 75, 27, 86], Operations: []
Exploring Operation: 27-20=7, Resulting Numbers: [75, 86, 7]
Generated Node #0,0: 77:[75, 86, 7] Operation: 27-20=7
Moving to Node #0,0
Current State: 77:[75, 86, 7], Operations: ['27-20=7']
Exploring Operation: 86-75=11, Resulting Numbers: [7, 11]
Generated Node #0,0,2: 77:[7, 11] Operation: 86-75=11
Moving to Node #0,0,2
Current State: 77:[7, 11], Operations: ['27-20=7', '86-75=11']
Exploring Operation: 7*11=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
21,
21,
99,
44
] | 54 | [
"21/21=1",
"99-44=55",
"55-1=54"
] | Current State: 54:[21, 21, 99, 44], Operations: []
Exploring Operation: 21/21=1, Resulting Numbers: [99, 44, 1]
Generated Node #2: [99, 44, 1] from Operation: 21/21=1
Current State: 54:[99, 44, 1], Operations: ['21/21=1']
Exploring Operation: 99-44=55, Resulting Numbers: [1, 55]
Generated Node #3: [1, 55] from Operation: 99-44=55
Current State: 54:[1, 55], Operations: ['21/21=1', '99-44=55']
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[21, 21, 99, 44], Operations: []
Exploring Operation: 44-21=23, Resulting Numbers: [21, 99, 23]
Generated Node #0,0: 54:[21, 99, 23] Operation: 44-21=23
Exploring Operation: 99-44=55, Resulting Numbers: [21, 21, 55]
Generated Node #0,1: 54:[21, 21, 55] Operation: 99-44=55
Exploring Operation: 44-21=23, Resulting Numbers: [21, 99, 23]
Generated Node #0,2: 54:[21, 99, 23] Operation: 44-21=23
Exploring Operation: 99-21=78, Resulting Numbers: [21, 44, 78]
Generated Node #0,3: 54:[21, 44, 78] Operation: 99-21=78
Exploring Operation: 99-21=78, Resulting Numbers: [21, 44, 78]
Generated Node #0,4: 54:[21, 44, 78] Operation: 99-21=78
Moving to Node #0,1
Current State: 54:[21, 21, 55], Operations: ['99-44=55']
Exploring Operation: 55-21=34, Resulting Numbers: [21, 34]
Generated Node #0,1,0: 54:[21, 34] Operation: 55-21=34
Exploring Operation: 55-21=34, Resulting Numbers: [21, 34]
Generated Node #0,1,1: 54:[21, 34] Operation: 55-21=34
Exploring Operation: 21+21=42, Resulting Numbers: [55, 42]
Generated Node #0,1,2: 54:[55, 42] Operation: 21+21=42
Exploring Operation: 21-21=0, Resulting Numbers: [55, 0]
Generated Node #0,1,3: 54:[55, 0] Operation: 21-21=0
Exploring Operation: 21/21=1, Resulting Numbers: [55, 1]
Generated Node #0,1,4: 54:[55, 1] Operation: 21/21=1
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 54:[55, 1], Operations: ['99-44=55', '21/21=1']
Exploring Operation: 55+1=56, Resulting Numbers: [56]
56,54 unequal: No Solution
Exploring Operation: 55*1=55, Resulting Numbers: [55]
55,54 unequal: No Solution
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Moving to Node #0
Current State: 54:[21, 21, 99, 44], Operations: []
Exploring Operation: 99-44=55, Resulting Numbers: [21, 21, 55]
Generated Node #0,1: 54:[21, 21, 55] Operation: 99-44=55
Moving to Node #0,1
Current State: 54:[21, 21, 55], Operations: ['99-44=55']
Exploring Operation: 21/21=1, Resulting Numbers: [55, 1]
Generated Node #0,1,4: 54:[55, 1] Operation: 21/21=1
Moving to Node #0,1,4
Current State: 54:[55, 1], Operations: ['99-44=55', '21/21=1']
Exploring Operation: 55-1=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
42,
29,
15,
35
] | 33 | [
"42-29=13",
"35-15=20",
"13+20=33"
] | Current State: 33:[42, 29, 15, 35], Operations: []
Exploring Operation: 42-29=13, Resulting Numbers: [15, 35, 13]
Generated Node #2: [15, 35, 13] from Operation: 42-29=13
Current State: 33:[15, 35, 13], Operations: ['42-29=13']
Exploring Operation: 35-15=20, Resulting Numbers: [13, 20]
Generated Node #3: [13, 20] from Operation: 35-15=20
Current State: 33:[13, 20], Operations: ['42-29=13', '35-15=20']
Exploring Operation: 13+20=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[42, 29, 15, 35], Operations: []
Exploring Operation: 42-29=13, Resulting Numbers: [15, 35, 13]
Generated Node #0,0: 33:[15, 35, 13] Operation: 42-29=13
Exploring Operation: 42-15=27, Resulting Numbers: [29, 35, 27]
Generated Node #0,1: 33:[29, 35, 27] Operation: 42-15=27
Moving to Node #0,0
Current State: 33:[15, 35, 13], Operations: ['42-29=13']
Exploring Operation: 15-13=2, Resulting Numbers: [35, 2]
Generated Node #0,0,0: 33:[35, 2] Operation: 15-13=2
Exploring Operation: 15+13=28, Resulting Numbers: [35, 28]
Generated Node #0,0,1: 33:[35, 28] Operation: 15+13=28
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 33:[35, 2], Operations: ['42-29=13', '15-13=2']
Exploring Operation: 35+2=37, Resulting Numbers: [37]
37,33 unequal: No Solution
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[42, 29, 15, 35], Operations: []
Exploring Operation: 42-29=13, Resulting Numbers: [15, 35, 13]
Generated Node #0,0: 33:[15, 35, 13] Operation: 42-29=13
Moving to Node #0,0
Current State: 33:[15, 35, 13], Operations: ['42-29=13']
Exploring Operation: 15-13=2, Resulting Numbers: [35, 2]
Generated Node #0,0,0: 33:[35, 2] Operation: 15-13=2
Moving to Node #0,0,0
Current State: 33:[35, 2], Operations: ['42-29=13', '15-13=2']
Exploring Operation: 35-2=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
45,
16,
32,
65
] | 40 | [
"65-45=20",
"32/16=2",
"20*2=40"
] | Current State: 40:[45, 16, 32, 65], Operations: []
Exploring Operation: 65-45=20, Resulting Numbers: [16, 32, 20]
Generated Node #2: [16, 32, 20] from Operation: 65-45=20
Current State: 40:[16, 32, 20], Operations: ['65-45=20']
Exploring Operation: 32/16=2, Resulting Numbers: [20, 2]
Generated Node #3: [20, 2] from Operation: 32/16=2
Current State: 40:[20, 2], Operations: ['65-45=20', '32/16=2']
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[45, 16, 32, 65], Operations: []
Exploring Operation: 65-32=33, Resulting Numbers: [45, 16, 33]
Generated Node #0,0: 40:[45, 16, 33] Operation: 65-32=33
Exploring Operation: 65-45=20, Resulting Numbers: [16, 32, 20]
Generated Node #0,1: 40:[16, 32, 20] Operation: 65-45=20
Start Sub Search at level 1: Moving to Node #0,1
Current State: 40:[16, 32, 20], Operations: ['65-45=20']
Exploring Operation: 32/16=2, Resulting Numbers: [20, 2]
Generated Node #0,1,0: 40:[20, 2] Operation: 32/16=2
Exploring Operation: 32-16=16, Resulting Numbers: [20, 16]
Generated Node #0,1,1: 40:[20, 16] Operation: 32-16=16
Moving to Node #0,1,0
Current State: 40:[20, 2], Operations: ['65-45=20', '32/16=2']
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[45, 16, 32, 65], Operations: []
Exploring Operation: 65-45=20, Resulting Numbers: [16, 32, 20]
Generated Node #0,1: 40:[16, 32, 20] Operation: 65-45=20
Moving to Node #0,1
Current State: 40:[16, 32, 20], Operations: ['65-45=20']
Exploring Operation: 32/16=2, Resulting Numbers: [20, 2]
Generated Node #0,1,0: 40:[20, 2] Operation: 32/16=2
Moving to Node #0,1,0
Current State: 40:[20, 2], Operations: ['65-45=20', '32/16=2']
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
68,
61,
83,
90
] | 94 | [
"68*83=5644",
"90+5644=5734",
"5734/61=94"
] | Current State: 94:[68, 61, 83, 90], Operations: []
Exploring Operation: 68*83=5644, Resulting Numbers: [61, 90, 5644]
Generated Node #2: [61, 90, 5644] from Operation: 68*83=5644
Current State: 94:[61, 90, 5644], Operations: ['68*83=5644']
Exploring Operation: 90+5644=5734, Resulting Numbers: [61, 5734]
Generated Node #3: [61, 5734] from Operation: 90+5644=5734
Current State: 94:[61, 5734], Operations: ['68*83=5644', '90+5644=5734']
Exploring Operation: 5734/61=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[68, 61, 83, 90], Operations: []
Exploring Operation: 90-83=7, Resulting Numbers: [68, 61, 7]
Generated Node #0,0: 94:[68, 61, 7] Operation: 90-83=7
Exploring Operation: 83-68=15, Resulting Numbers: [61, 90, 15]
Generated Node #0,1: 94:[61, 90, 15] Operation: 83-68=15
Exploring Operation: 68-61=7, Resulting Numbers: [83, 90, 7]
Generated Node #0,2: 94:[83, 90, 7] Operation: 68-61=7
Moving to Node #0,2
Current State: 94:[83, 90, 7], Operations: ['68-61=7']
Exploring Operation: 83+7=90, Resulting Numbers: [90, 90]
Generated Node #0,2,0: 94:[90, 90] Operation: 83+7=90
Exploring Operation: 90-83=7, Resulting Numbers: [7, 7]
Generated Node #0,2,1: 94:[7, 7] Operation: 90-83=7
Exploring Operation: 90+7=97, Resulting Numbers: [83, 97]
Generated Node #0,2,2: 94:[83, 97] Operation: 90+7=97
Moving to Node #0,1
Current State: 94:[61, 90, 15], Operations: ['83-68=15']
Exploring Operation: 90/15=6, Resulting Numbers: [61, 6]
Generated Node #0,1,0: 94:[61, 6] Operation: 90/15=6
Exploring Operation: 61+15=76, Resulting Numbers: [90, 76]
Generated Node #0,1,1: 94:[90, 76] Operation: 61+15=76
Exploring Operation: 61-15=46, Resulting Numbers: [90, 46]
Generated Node #0,1,2: 94:[90, 46] Operation: 61-15=46
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 94:[90, 46], Operations: ['83-68=15', '61-15=46']
Exploring Operation: 90+46=136, Resulting Numbers: [136]
136,94 unequal: No Solution
Exploring Operation: 90-46=44, Resulting Numbers: [44]
44,94 unequal: No Solution
Exploring Operation: 90*46=4140, Resulting Numbers: [4140]
4140,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 94:[61, 6], Operations: ['83-68=15', '90/15=6']
Exploring Operation: 61+6=67, Resulting Numbers: [67]
67,94 unequal: No Solution
Exploring Operation: 61*6=366, Resulting Numbers: [366]
366,94 unequal: No Solution
Exploring Operation: 61-6=55, Resulting Numbers: [55]
55,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 94:[90, 76], Operations: ['83-68=15', '61+15=76']
Exploring Operation: 90-76=14, Resulting Numbers: [14]
14,94 unequal: No Solution
Exploring Operation: 90+76=166, Resulting Numbers: [166]
166,94 unequal: No Solution
Exploring Operation: 90*76=6840, Resulting Numbers: [6840]
6840,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 94:[68, 61, 7], Operations: ['90-83=7']
Exploring Operation: 68-7=61, Resulting Numbers: [61, 61]
Generated Node #0,0,0: 94:[61, 61] Operation: 68-7=61
Exploring Operation: 61-7=54, Resulting Numbers: [68, 54]
Generated Node #0,0,1: 94:[68, 54] Operation: 61-7=54
Exploring Operation: 68-61=7, Resulting Numbers: [7, 7]
Generated Node #0,0,2: 94:[7, 7] Operation: 68-61=7
Moving to Node #0,2,0
Current State: 94:[90, 90], Operations: ['68-61=7', '83+7=90']
Exploring Operation: 90-90=0, Resulting Numbers: [0]
0,94 unequal: No Solution
Exploring Operation: 90/90=1, Resulting Numbers: [1]
1,94 unequal: No Solution
Exploring Operation: 90+90=180, Resulting Numbers: [180]
180,94 unequal: No Solution
Moving to Node #0,2,1
Current State: 94:[7, 7], Operations: ['68-61=7', '90-83=7']
Exploring Operation: 7*7=49, Resulting Numbers: [49]
49,94 unequal: No Solution
Exploring Operation: 7-7=0, Resulting Numbers: [0]
0,94 unequal: No Solution
Exploring Operation: 7/7=1, Resulting Numbers: [1]
1,94 unequal: No Solution
Moving to Node #0,0,2
Current State: 94:[7, 7], Operations: ['90-83=7', '68-61=7']
Exploring Operation: 7-7=0, Resulting Numbers: [0]
0,94 unequal: No Solution
Exploring Operation: 7/7=1, Resulting Numbers: [1]
1,94 unequal: No Solution
Exploring Operation: 7*7=49, Resulting Numbers: [49]
49,94 unequal: No Solution
Moving to Node #0,2,2
Current State: 94:[83, 97], Operations: ['68-61=7', '90+7=97']
Exploring Operation: 83*97=8051, Resulting Numbers: [8051]
8051,94 unequal: No Solution
Exploring Operation: 83+97=180, Resulting Numbers: [180]
180,94 unequal: No Solution
Exploring Operation: 97-83=14, Resulting Numbers: [14]
14,94 unequal: No Solution
Moving to Node #0,0,1
Current State: 94:[68, 54], Operations: ['90-83=7', '61-7=54']
Exploring Operation: 68*54=3672, Resulting Numbers: [3672]
3672,94 unequal: No Solution
Exploring Operation: 68-54=14, Resulting Numbers: [14]
14,94 unequal: No Solution
Exploring Operation: 68+54=122, Resulting Numbers: [122]
122,94 unequal: No Solution
Moving to Node #0,0,0
Current State: 94:[61, 61], Operations: ['90-83=7', '68-7=61']
Exploring Operation: 61-61=0, Resulting Numbers: [0]
0,94 unequal: No Solution
Exploring Operation: 61/61=1, Resulting Numbers: [1]
1,94 unequal: No Solution
Exploring Operation: 61+61=122, Resulting Numbers: [122]
122,94 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
68,
17,
51,
86
] | 16 | [
"68-17=51",
"86-51=35",
"51-35=16"
] | Current State: 16:[68, 17, 51, 86], Operations: []
Exploring Operation: 68-17=51, Resulting Numbers: [51, 86, 51]
Generated Node #2: [51, 86, 51] from Operation: 68-17=51
Current State: 16:[51, 86, 51], Operations: ['68-17=51']
Exploring Operation: 86-51=35, Resulting Numbers: [35]
35,16 equal: Goal Reached
Exploring Operation: 51-35=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[68, 17, 51, 86], Operations: []
Exploring Operation: 86-68=18, Resulting Numbers: [17, 51, 18]
Generated Node #0,0: 16:[17, 51, 18] Operation: 86-68=18
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[17, 51, 18], Operations: ['86-68=18']
Exploring Operation: 51/17=3, Resulting Numbers: [18, 3]
Generated Node #0,0,0: 16:[18, 3] Operation: 51/17=3
Moving to Node #0,0,0
Current State: 16:[18, 3], Operations: ['86-68=18', '51/17=3']
Exploring Operation: 18-3=15, Resulting Numbers: [15]
15,16 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 |
[
15,
75,
45,
82
] | 73 | [
"75/15=5",
"45/5=9",
"82-9=73"
] | Current State: 73:[15, 75, 45, 82], Operations: []
Exploring Operation: 75/15=5, Resulting Numbers: [45, 82, 5]
Generated Node #2: [45, 82, 5] from Operation: 75/15=5
Current State: 73:[45, 82, 5], Operations: ['75/15=5']
Exploring Operation: 45/5=9, Resulting Numbers: [82, 9]
Generated Node #3: [82, 9] from Operation: 45/5=9
Current State: 73:[82, 9], Operations: ['75/15=5', '45/5=9']
Exploring Operation: 82-9=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[15, 75, 45, 82], Operations: []
Exploring Operation: 82-15=67, Resulting Numbers: [75, 45, 67]
Generated Node #0,0: 73:[75, 45, 67] Operation: 82-15=67
Exploring Operation: 15+75=90, Resulting Numbers: [45, 82, 90]
Generated Node #0,1: 73:[45, 82, 90] Operation: 15+75=90
Exploring Operation: 75-15=60, Resulting Numbers: [45, 82, 60]
Generated Node #0,2: 73:[45, 82, 60] Operation: 75-15=60
Exploring Operation: 45-15=30, Resulting Numbers: [75, 82, 30]
Generated Node #0,3: 73:[75, 82, 30] Operation: 45-15=30
Exploring Operation: 15+45=60, Resulting Numbers: [75, 82, 60]
Generated Node #0,4: 73:[75, 82, 60] Operation: 15+45=60
Moving to Node #0,4
Current State: 73:[75, 82, 60], Operations: ['15+45=60']
Exploring Operation: 82-75=7, Resulting Numbers: [60, 7]
Generated Node #0,4,0: 73:[60, 7] Operation: 82-75=7
Exploring Operation: 75-60=15, Resulting Numbers: [82, 15]
Generated Node #0,4,1: 73:[82, 15] Operation: 75-60=15
Exploring Operation: 82+60=142, Resulting Numbers: [75, 142]
Generated Node #0,4,2: 73:[75, 142] Operation: 82+60=142
Exploring Operation: 75+60=135, Resulting Numbers: [82, 135]
Generated Node #0,4,3: 73:[82, 135] Operation: 75+60=135
Exploring Operation: 82-60=22, Resulting Numbers: [75, 22]
Generated Node #0,4,4: 73:[75, 22] Operation: 82-60=22
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 73:[75, 22], Operations: ['15+45=60', '82-60=22']
Exploring Operation: 75*22=1650, Resulting Numbers: [1650]
1650,73 unequal: No Solution
Exploring Operation: 75-22=53, Resulting Numbers: [53]
53,73 unequal: No Solution
Exploring Operation: 75+22=97, Resulting Numbers: [97]
97,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 73:[82, 15], Operations: ['15+45=60', '75-60=15']
Exploring Operation: 82*15=1230, Resulting Numbers: [1230]
1230,73 unequal: No Solution
Exploring Operation: 82-15=67, Resulting Numbers: [67]
67,73 unequal: No Solution
Exploring Operation: 82+15=97, Resulting Numbers: [97]
97,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 73:[75, 142], Operations: ['15+45=60', '82+60=142']
Exploring Operation: 142-75=67, Resulting Numbers: [67]
67,73 unequal: No Solution
Exploring Operation: 75+142=217, Resulting Numbers: [217]
217,73 unequal: No Solution
Exploring Operation: 75*142=10650, Resulting Numbers: [10650]
10650,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 73:[82, 135], Operations: ['15+45=60', '75+60=135']
Exploring Operation: 135-82=53, Resulting Numbers: [53]
53,73 unequal: No Solution
Exploring Operation: 82+135=217, Resulting Numbers: [217]
217,73 unequal: No Solution
Exploring Operation: 82*135=11070, Resulting Numbers: [11070]
11070,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 73:[60, 7], Operations: ['15+45=60', '82-75=7']
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,73 unequal: No Solution
Exploring Operation: 60*7=420, Resulting Numbers: [420]
420,73 unequal: No Solution
Exploring Operation: 60+7=67, Resulting Numbers: [67]
67,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 73:[75, 45, 67], Operations: ['82-15=67']
Exploring Operation: 75-67=8, Resulting Numbers: [45, 8]
Generated Node #0,0,0: 73:[45, 8] Operation: 75-67=8
Exploring Operation: 75+45=120, Resulting Numbers: [67, 120]
Generated Node #0,0,1: 73:[67, 120] Operation: 75+45=120
Exploring Operation: 75-45=30, Resulting Numbers: [67, 30]
Generated Node #0,0,2: 73:[67, 30] Operation: 75-45=30
Exploring Operation: 45+67=112, Resulting Numbers: [75, 112]
Generated Node #0,0,3: 73:[75, 112] Operation: 45+67=112
Exploring Operation: 67-45=22, Resulting Numbers: [75, 22]
Generated Node #0,0,4: 73:[75, 22] Operation: 67-45=22
Moving to Node #0,2
Current State: 73:[45, 82, 60], Operations: ['75-15=60']
Exploring Operation: 82-45=37, Resulting Numbers: [60, 37]
Generated Node #0,2,0: 73:[60, 37] Operation: 82-45=37
Exploring Operation: 60-45=15, Resulting Numbers: [82, 15]
Generated Node #0,2,1: 73:[82, 15] Operation: 60-45=15
Exploring Operation: 45+60=105, Resulting Numbers: [82, 105]
Generated Node #0,2,2: 73:[82, 105] Operation: 45+60=105
Exploring Operation: 45+82=127, Resulting Numbers: [60, 127]
Generated Node #0,2,3: 73:[60, 127] Operation: 45+82=127
Exploring Operation: 82-60=22, Resulting Numbers: [45, 22]
Generated Node #0,2,4: 73:[45, 22] Operation: 82-60=22
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 73:[82, 105], Operations: ['75-15=60', '45+60=105']
Exploring Operation: 82*105=8610, Resulting Numbers: [8610]
8610,73 unequal: No Solution
Exploring Operation: 105-82=23, Resulting Numbers: [23]
23,73 unequal: No Solution
Exploring Operation: 82+105=187, Resulting Numbers: [187]
187,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 73:[60, 37], Operations: ['75-15=60', '82-45=37']
Exploring Operation: 60-37=23, Resulting Numbers: [23]
23,73 unequal: No Solution
Exploring Operation: 60*37=2220, Resulting Numbers: [2220]
2220,73 unequal: No Solution
Exploring Operation: 60+37=97, Resulting Numbers: [97]
97,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 73:[82, 15], Operations: ['75-15=60', '60-45=15']
Exploring Operation: 82*15=1230, Resulting Numbers: [1230]
1230,73 unequal: No Solution
Exploring Operation: 82+15=97, Resulting Numbers: [97]
97,73 unequal: No Solution
Exploring Operation: 82-15=67, Resulting Numbers: [67]
67,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 73:[60, 127], Operations: ['75-15=60', '45+82=127']
Exploring Operation: 127-60=67, Resulting Numbers: [67]
67,73 unequal: No Solution
Exploring Operation: 60*127=7620, Resulting Numbers: [7620]
7620,73 unequal: No Solution
Exploring Operation: 60+127=187, Resulting Numbers: [187]
187,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 73:[45, 22], Operations: ['75-15=60', '82-60=22']
Exploring Operation: 45-22=23, Resulting Numbers: [23]
23,73 unequal: No Solution
Exploring Operation: 45*22=990, Resulting Numbers: [990]
990,73 unequal: No Solution
Exploring Operation: 45+22=67, Resulting Numbers: [67]
67,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 73:[45, 82, 90], Operations: ['15+75=90']
Exploring Operation: 45+90=135, Resulting Numbers: [82, 135]
Generated Node #0,1,0: 73:[82, 135] Operation: 45+90=135
Exploring Operation: 82-45=37, Resulting Numbers: [90, 37]
Generated Node #0,1,1: 73:[90, 37] Operation: 82-45=37
Exploring Operation: 45+82=127, Resulting Numbers: [90, 127]
Generated Node #0,1,2: 73:[90, 127] Operation: 45+82=127
Exploring Operation: 90/45=2, Resulting Numbers: [82, 2]
Generated Node #0,1,3: 73:[82, 2] Operation: 90/45=2
Exploring Operation: 90-45=45, Resulting Numbers: [82, 45]
Generated Node #0,1,4: 73:[82, 45] Operation: 90-45=45
Moving to Node #0,3
Current State: 73:[75, 82, 30], Operations: ['45-15=30']
Exploring Operation: 82-75=7, Resulting Numbers: [30, 7]
Generated Node #0,3,0: 73:[30, 7] Operation: 82-75=7
Exploring Operation: 82+30=112, Resulting Numbers: [75, 112]
Generated Node #0,3,1: 73:[75, 112] Operation: 82+30=112
Exploring Operation: 75-30=45, Resulting Numbers: [82, 45]
Generated Node #0,3,2: 73:[82, 45] Operation: 75-30=45
Exploring Operation: 75+30=105, Resulting Numbers: [82, 105]
Generated Node #0,3,3: 73:[82, 105] Operation: 75+30=105
Exploring Operation: 82-30=52, Resulting Numbers: [75, 52]
Generated Node #0,3,4: 73:[75, 52] Operation: 82-30=52
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 73:[75, 52], Operations: ['45-15=30', '82-30=52']
Exploring Operation: 75-52=23, Resulting Numbers: [23]
23,73 unequal: No Solution
Exploring Operation: 75+52=127, Resulting Numbers: [127]
127,73 unequal: No Solution
Exploring Operation: 75*52=3900, Resulting Numbers: [3900]
3900,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 73:[82, 45], Operations: ['45-15=30', '75-30=45']
Exploring Operation: 82+45=127, Resulting Numbers: [127]
127,73 unequal: No Solution
Exploring Operation: 82*45=3690, Resulting Numbers: [3690]
3690,73 unequal: No Solution
Exploring Operation: 82-45=37, Resulting Numbers: [37]
37,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 73:[75, 112], Operations: ['45-15=30', '82+30=112']
Exploring Operation: 75+112=187, Resulting Numbers: [187]
187,73 unequal: No Solution
Exploring Operation: 75*112=8400, Resulting Numbers: [8400]
8400,73 unequal: No Solution
Exploring Operation: 112-75=37, Resulting Numbers: [37]
37,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 73:[82, 105], Operations: ['45-15=30', '75+30=105']
Exploring Operation: 82+105=187, Resulting Numbers: [187]
187,73 unequal: No Solution
Exploring Operation: 105-82=23, Resulting Numbers: [23]
23,73 unequal: No Solution
Exploring Operation: 82*105=8610, Resulting Numbers: [8610]
8610,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 73:[30, 7], Operations: ['45-15=30', '82-75=7']
Exploring Operation: 30*7=210, Resulting Numbers: [210]
210,73 unequal: No Solution
Exploring Operation: 30+7=37, Resulting Numbers: [37]
37,73 unequal: No Solution
Exploring Operation: 30-7=23, Resulting Numbers: [23]
23,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,4
Current State: 73:[82, 45], Operations: ['15+75=90', '90-45=45']
Exploring Operation: 82*45=3690, Resulting Numbers: [3690]
3690,73 unequal: No Solution
Exploring Operation: 82+45=127, Resulting Numbers: [127]
127,73 unequal: No Solution
Exploring Operation: 82-45=37, Resulting Numbers: [37]
37,73 unequal: No Solution
Moving to Node #0,0,3
Current State: 73:[75, 112], Operations: ['82-15=67', '45+67=112']
Exploring Operation: 75*112=8400, Resulting Numbers: [8400]
8400,73 unequal: No Solution
Exploring Operation: 75+112=187, Resulting Numbers: [187]
187,73 unequal: No Solution
Exploring Operation: 112-75=37, Resulting Numbers: [37]
37,73 unequal: No Solution
Moving to Node #0,0,2
Current State: 73:[67, 30], Operations: ['82-15=67', '75-45=30']
Exploring Operation: 67-30=37, Resulting Numbers: [37]
37,73 unequal: No Solution
Exploring Operation: 67*30=2010, Resulting Numbers: [2010]
2010,73 unequal: No Solution
Exploring Operation: 67+30=97, Resulting Numbers: [97]
97,73 unequal: No Solution
Moving to Node #0,1,1
Current State: 73:[90, 37], Operations: ['15+75=90', '82-45=37']
Exploring Operation: 90+37=127, Resulting Numbers: [127]
127,73 unequal: No Solution
Exploring Operation: 90-37=53, Resulting Numbers: [53]
53,73 unequal: No Solution
Exploring Operation: 90*37=3330, Resulting Numbers: [3330]
3330,73 unequal: No Solution
Moving to Node #0,0,1
Current State: 73:[67, 120], Operations: ['82-15=67', '75+45=120']
Exploring Operation: 67+120=187, Resulting Numbers: [187]
187,73 unequal: No Solution
Exploring Operation: 67*120=8040, Resulting Numbers: [8040]
8040,73 unequal: No Solution
Exploring Operation: 120-67=53, Resulting Numbers: [53]
53,73 unequal: No Solution
Moving to Node #0,0,4
Current State: 73:[75, 22], Operations: ['82-15=67', '67-45=22']
Exploring Operation: 75+22=97, Resulting Numbers: [97]
97,73 unequal: No Solution
Exploring Operation: 75*22=1650, Resulting Numbers: [1650]
1650,73 unequal: No Solution
Exploring Operation: 75-22=53, Resulting Numbers: [53]
53,73 unequal: No Solution
Moving to Node #0,1,2
Current State: 73:[90, 127], Operations: ['15+75=90', '45+82=127']
Exploring Operation: 90+127=217, Resulting Numbers: [217]
217,73 unequal: No Solution
Exploring Operation: 127-90=37, Resulting Numbers: [37]
37,73 unequal: No Solution
Exploring Operation: 90*127=11430, Resulting Numbers: [11430]
11430,73 unequal: No Solution
Moving to Node #0,1,0
Current State: 73:[82, 135], Operations: ['15+75=90', '45+90=135']
Exploring Operation: 82+135=217, Resulting Numbers: [217]
217,73 unequal: No Solution
Exploring Operation: 82*135=11070, Resulting Numbers: [11070]
11070,73 unequal: No Solution
Exploring Operation: 135-82=53, Resulting Numbers: [53]
53,73 unequal: No Solution
Moving to Node #0,1,3
Current State: 73:[82, 2], Operations: ['15+75=90', '90/45=2']
Exploring Operation: 82-2=80, Resulting Numbers: [80]
80,73 unequal: No Solution
Exploring Operation: 82/2=41, Resulting Numbers: [41]
41,73 unequal: No Solution
Exploring Operation: 82*2=164, Resulting Numbers: [164]
164,73 unequal: No Solution
Exploring Operation: 82+2=84, Resulting Numbers: [84]
84,73 unequal: No Solution
Moving to Node #0,0,0
Current State: 73:[45, 8], Operations: ['82-15=67', '75-67=8']
Exploring Operation: 45-8=37, Resulting Numbers: [37]
37,73 unequal: No Solution
Exploring Operation: 45*8=360, Resulting Numbers: [360]
360,73 unequal: No Solution
Exploring Operation: 45+8=53, Resulting Numbers: [53]
53,73 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.