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 |
|---|---|---|---|---|---|---|---|---|
[
69,
45,
33,
72
] | 81 | [
"69-45=24",
"33+72=105",
"105-24=81"
] | Current State: 81:[69, 45, 33, 72], Operations: []
Exploring Operation: 69-45=24, Resulting Numbers: [33, 72, 24]
Generated Node #2: [33, 72, 24] from Operation: 69-45=24
Current State: 81:[33, 72, 24], Operations: ['69-45=24']
Exploring Operation: 33+72=105, Resulting Numbers: [24, 105]
Generated Node #3: [24, 105] from Operation: 33+72=105
Current State: 81:[24, 105], Operations: ['69-45=24', '33+72=105']
Exploring Operation: 105-24=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[69, 45, 33, 72], Operations: []
Exploring Operation: 69-45=24, Resulting Numbers: [33, 72, 24]
Generated Node #0,0: 81:[33, 72, 24] Operation: 69-45=24
Moving to Node #0,0
Current State: 81:[33, 72, 24], Operations: ['69-45=24']
Exploring Operation: 72/24=3, Resulting Numbers: [33, 3]
Generated Node #0,0,0: 81:[33, 3] Operation: 72/24=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 81:[33, 3], Operations: ['69-45=24', '72/24=3']
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
81,
27,
58,
71
] | 21 | [
"81+27=108",
"58+71=129",
"129-108=21"
] | Current State: 21:[81, 27, 58, 71], Operations: []
Exploring Operation: 81+27=108, Resulting Numbers: [58, 71, 108]
Generated Node #2: [58, 71, 108] from Operation: 81+27=108
Current State: 21:[58, 71, 108], Operations: ['81+27=108']
Exploring Operation: 58+71=129, Resulting Numbers: [108, 129]
Generated Node #3: [108, 129] from Operation: 58+71=129
Current State: 21:[108, 129], Operations: ['81+27=108', '58+71=129']
Exploring Operation: 129-108=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[81, 27, 58, 71], Operations: []
Exploring Operation: 71-58=13, Resulting Numbers: [81, 27, 13]
Generated Node #0,0: 21:[81, 27, 13] Operation: 71-58=13
Exploring Operation: 81-71=10, Resulting Numbers: [27, 58, 10]
Generated Node #0,1: 21:[27, 58, 10] Operation: 81-71=10
Exploring Operation: 81-58=23, Resulting Numbers: [27, 71, 23]
Generated Node #0,2: 21:[27, 71, 23] Operation: 81-58=23
Exploring Operation: 81/27=3, Resulting Numbers: [58, 71, 3]
Generated Node #0,3: 21:[58, 71, 3] Operation: 81/27=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[27, 58, 10], Operations: ['81-71=10']
Exploring Operation: 58-27=31, Resulting Numbers: [10, 31]
Generated Node #0,1,0: 21:[10, 31] Operation: 58-27=31
Exploring Operation: 58-10=48, Resulting Numbers: [27, 48]
Generated Node #0,1,1: 21:[27, 48] Operation: 58-10=48
Exploring Operation: 27-10=17, Resulting Numbers: [58, 17]
Generated Node #0,1,2: 21:[58, 17] Operation: 27-10=17
Exploring Operation: 27+10=37, Resulting Numbers: [58, 37]
Generated Node #0,1,3: 21:[58, 37] Operation: 27+10=37
Moving to Node #0,1,0
Current State: 21:[10, 31], Operations: ['81-71=10', '58-27=31']
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[81, 27, 58, 71], Operations: []
Exploring Operation: 81-71=10, Resulting Numbers: [27, 58, 10]
Generated Node #0,1: 21:[27, 58, 10] Operation: 81-71=10
Moving to Node #0,1
Current State: 21:[27, 58, 10], Operations: ['81-71=10']
Exploring Operation: 58-27=31, Resulting Numbers: [10, 31]
Generated Node #0,1,0: 21:[10, 31] Operation: 58-27=31
Moving to Node #0,1,0
Current State: 21:[10, 31], Operations: ['81-71=10', '58-27=31']
Exploring Operation: 31-10=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
7,
84,
3,
25
] | 87 | [
"84/7=12",
"3*25=75",
"12+75=87"
] | Current State: 87:[7, 84, 3, 25], Operations: []
Exploring Operation: 84/7=12, Resulting Numbers: [3, 25, 12]
Generated Node #2: [3, 25, 12] from Operation: 84/7=12
Current State: 87:[3, 25, 12], Operations: ['84/7=12']
Exploring Operation: 3*25=75, Resulting Numbers: [12, 75]
Generated Node #3: [12, 75] from Operation: 3*25=75
Current State: 87:[12, 75], Operations: ['84/7=12', '3*25=75']
Exploring Operation: 12+75=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[7, 84, 3, 25], Operations: []
Exploring Operation: 7+25=32, Resulting Numbers: [84, 3, 32]
Generated Node #0,0: 87:[84, 3, 32] Operation: 7+25=32
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[84, 3, 32], Operations: ['7+25=32']
Exploring Operation: 84+3=87, Resulting Numbers: [32, 87]
Generated Node #0,0,0: 87:[32, 87] Operation: 84+3=87
Moving to Node #0,0,0
Current State: 87:[32, 87], Operations: ['7+25=32', '84+3=87']
Exploring Operation: 87-32=55, Resulting Numbers: [55]
55,87 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 |
[
5,
4,
77,
20
] | 37 | [
"5*4=20",
"77-20=57",
"57-20=37"
] | Current State: 37:[5, 4, 77, 20], Operations: []
Exploring Operation: 5*4=20, Resulting Numbers: [77, 20, 20]
Generated Node #2: [77, 20, 20] from Operation: 5*4=20
Current State: 37:[77, 20, 20], Operations: ['5*4=20']
Exploring Operation: 77-20=57, Resulting Numbers: [57]
57,37 equal: Goal Reached
Exploring Operation: 57-20=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[5, 4, 77, 20], Operations: []
Exploring Operation: 77-5=72, Resulting Numbers: [4, 20, 72]
Generated Node #0,0: 37:[4, 20, 72] Operation: 77-5=72
Exploring Operation: 5*4=20, Resulting Numbers: [77, 20, 20]
Generated Node #0,1: 37:[77, 20, 20] Operation: 5*4=20
Exploring Operation: 5+4=9, Resulting Numbers: [77, 20, 9]
Generated Node #0,2: 37:[77, 20, 9] Operation: 5+4=9
Moving to Node #0,1
Current State: 37:[77, 20, 20], Operations: ['5*4=20']
Exploring Operation: 77-20=57, Resulting Numbers: [20, 57]
Generated Node #0,1,0: 37:[20, 57] Operation: 77-20=57
Exploring Operation: 77-20=57, Resulting Numbers: [20, 57]
Generated Node #0,1,1: 37:[20, 57] Operation: 77-20=57
Exploring Operation: 20+20=40, Resulting Numbers: [77, 40]
Generated Node #0,1,2: 37:[77, 40] Operation: 20+20=40
Moving to Node #0,0
Current State: 37:[4, 20, 72], Operations: ['77-5=72']
Exploring Operation: 4+20=24, Resulting Numbers: [72, 24]
Generated Node #0,0,0: 37:[72, 24] Operation: 4+20=24
Exploring Operation: 72/4=18, Resulting Numbers: [20, 18]
Generated Node #0,0,1: 37:[20, 18] Operation: 72/4=18
Exploring Operation: 72-4=68, Resulting Numbers: [20, 68]
Generated Node #0,0,2: 37:[20, 68] Operation: 72-4=68
Moving to Node #0,2
Current State: 37:[77, 20, 9], Operations: ['5+4=9']
Exploring Operation: 77-20=57, Resulting Numbers: [9, 57]
Generated Node #0,2,0: 37:[9, 57] Operation: 77-20=57
Exploring Operation: 77-9=68, Resulting Numbers: [20, 68]
Generated Node #0,2,1: 37:[20, 68] Operation: 77-9=68
Exploring Operation: 20+9=29, Resulting Numbers: [77, 29]
Generated Node #0,2,2: 37:[77, 29] Operation: 20+9=29
Moving to Node #0,0,1
Current State: 37:[20, 18], Operations: ['77-5=72', '72/4=18']
Exploring Operation: 20*18=360, Resulting Numbers: [360]
360,37 unequal: No Solution
Exploring Operation: 20-18=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Exploring Operation: 20+18=38, Resulting Numbers: [38]
38,37 unequal: No Solution
Moving to Node #0,1,0
Current State: 37:[20, 57], Operations: ['5*4=20', '77-20=57']
Exploring Operation: 20*57=1140, Resulting Numbers: [1140]
1140,37 unequal: No Solution
Exploring Operation: 57-20=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
Moving to Node #0
Current State: 37:[5, 4, 77, 20], Operations: []
Exploring Operation: 5*4=20, Resulting Numbers: [77, 20, 20]
Generated Node #0,1: 37:[77, 20, 20] Operation: 5*4=20
Moving to Node #0,1
Current State: 37:[77, 20, 20], Operations: ['5*4=20']
Exploring Operation: 77-20=57, Resulting Numbers: [20, 57]
Generated Node #0,1,0: 37:[20, 57] Operation: 77-20=57
Moving to Node #0,1,0
Current State: 37:[20, 57], Operations: ['5*4=20', '77-20=57']
Exploring Operation: 57-20=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 0.981771 | hs_3 | sum_heuristic |
[
99,
17,
95,
80
] | 67 | [
"99-17=82",
"95-80=15",
"82-15=67"
] | Current State: 67:[99, 17, 95, 80], Operations: []
Exploring Operation: 99-17=82, Resulting Numbers: [95, 80, 82]
Generated Node #2: [95, 80, 82] from Operation: 99-17=82
Current State: 67:[95, 80, 82], Operations: ['99-17=82']
Exploring Operation: 95-80=15, Resulting Numbers: [82, 15]
Generated Node #3: [82, 15] from Operation: 95-80=15
Current State: 67:[82, 15], Operations: ['99-17=82', '95-80=15']
Exploring Operation: 82-15=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[99, 17, 95, 80], Operations: []
Exploring Operation: 95-17=78, Resulting Numbers: [99, 80, 78]
Generated Node #0,0: 67:[99, 80, 78] Operation: 95-17=78
Exploring Operation: 99-17=82, Resulting Numbers: [95, 80, 82]
Generated Node #0,1: 67:[95, 80, 82] Operation: 99-17=82
Moving to Node #0,0
Current State: 67:[99, 80, 78], Operations: ['95-17=78']
Exploring Operation: 99-80=19, Resulting Numbers: [78, 19]
Generated Node #0,0,0: 67:[78, 19] Operation: 99-80=19
Exploring Operation: 99-78=21, Resulting Numbers: [80, 21]
Generated Node #0,0,1: 67:[80, 21] Operation: 99-78=21
Moving to Node #0,1
Current State: 67:[95, 80, 82], Operations: ['99-17=82']
Exploring Operation: 95-80=15, Resulting Numbers: [82, 15]
Generated Node #0,1,0: 67:[82, 15] Operation: 95-80=15
Exploring Operation: 95-82=13, Resulting Numbers: [80, 13]
Generated Node #0,1,1: 67:[80, 13] Operation: 95-82=13
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 67:[82, 15], Operations: ['99-17=82', '95-80=15']
Exploring Operation: 82+15=97, Resulting Numbers: [97]
97,67 unequal: No Solution
Exploring Operation: 82-15=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[99, 17, 95, 80], Operations: []
Exploring Operation: 99-17=82, Resulting Numbers: [95, 80, 82]
Generated Node #0,1: 67:[95, 80, 82] Operation: 99-17=82
Moving to Node #0,1
Current State: 67:[95, 80, 82], Operations: ['99-17=82']
Exploring Operation: 95-80=15, Resulting Numbers: [82, 15]
Generated Node #0,1,0: 67:[82, 15] Operation: 95-80=15
Moving to Node #0,1,0
Current State: 67:[82, 15], Operations: ['99-17=82', '95-80=15']
Exploring Operation: 82-15=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
15,
11,
69,
66
] | 23 | [
"15+11=26",
"69-66=3",
"26-3=23"
] | Current State: 23:[15, 11, 69, 66], Operations: []
Exploring Operation: 15+11=26, Resulting Numbers: [69, 66, 26]
Generated Node #2: [69, 66, 26] from Operation: 15+11=26
Current State: 23:[69, 66, 26], Operations: ['15+11=26']
Exploring Operation: 69-66=3, Resulting Numbers: [26, 3]
Generated Node #3: [26, 3] from Operation: 69-66=3
Current State: 23:[26, 3], Operations: ['15+11=26', '69-66=3']
Exploring Operation: 26-3=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[15, 11, 69, 66], Operations: []
Exploring Operation: 69-66=3, Resulting Numbers: [15, 11, 3]
Generated Node #0,0: 23:[15, 11, 3] Operation: 69-66=3
Exploring Operation: 69-15=54, Resulting Numbers: [11, 66, 54]
Generated Node #0,1: 23:[11, 66, 54] Operation: 69-15=54
Exploring Operation: 66/11=6, Resulting Numbers: [15, 69, 6]
Generated Node #0,2: 23:[15, 69, 6] Operation: 66/11=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 23:[15, 11, 3], Operations: ['69-66=3']
Exploring Operation: 11*3=33, Resulting Numbers: [15, 33]
Generated Node #0,0,0: 23:[15, 33] Operation: 11*3=33
Exploring Operation: 11+3=14, Resulting Numbers: [15, 14]
Generated Node #0,0,1: 23:[15, 14] Operation: 11+3=14
Exploring Operation: 15+3=18, Resulting Numbers: [11, 18]
Generated Node #0,0,2: 23:[11, 18] Operation: 15+3=18
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 23:[15, 14], Operations: ['69-66=3', '11+3=14']
Exploring Operation: 15*14=210, Resulting Numbers: [210]
210,23 unequal: No Solution
Exploring Operation: 15+14=29, Resulting Numbers: [29]
29,23 unequal: No Solution
Exploring Operation: 15-14=1, Resulting Numbers: [1]
1,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 23:[11, 18], Operations: ['69-66=3', '15+3=18']
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,23 unequal: No Solution
Exploring Operation: 11*18=198, Resulting Numbers: [198]
198,23 unequal: No Solution
Exploring Operation: 11+18=29, Resulting Numbers: [29]
29,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 23:[15, 33], Operations: ['69-66=3', '11*3=33']
Exploring Operation: 33-15=18, Resulting Numbers: [18]
18,23 unequal: No Solution
Exploring Operation: 15*33=495, Resulting Numbers: [495]
495,23 unequal: No Solution
Exploring Operation: 15+33=48, Resulting Numbers: [48]
48,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 23:[15, 69, 6], Operations: ['66/11=6']
Exploring Operation: 69-15=54, Resulting Numbers: [6, 54]
Generated Node #0,2,0: 23:[6, 54] Operation: 69-15=54
Exploring Operation: 69-6=63, Resulting Numbers: [15, 63]
Generated Node #0,2,1: 23:[15, 63] Operation: 69-6=63
Exploring Operation: 15+6=21, Resulting Numbers: [69, 21]
Generated Node #0,2,2: 23:[69, 21] Operation: 15+6=21
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 23:[6, 54], Operations: ['66/11=6', '69-15=54']
Exploring Operation: 54-6=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Exploring Operation: 6+54=60, Resulting Numbers: [60]
60,23 unequal: No Solution
Exploring Operation: 54/6=9, Resulting Numbers: [9]
9,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 23:[15, 63], Operations: ['66/11=6', '69-6=63']
Exploring Operation: 63-15=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Exploring Operation: 15*63=945, Resulting Numbers: [945]
945,23 unequal: No Solution
Exploring Operation: 15+63=78, Resulting Numbers: [78]
78,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 23:[69, 21], Operations: ['66/11=6', '15+6=21']
Exploring Operation: 69-21=48, Resulting Numbers: [48]
48,23 unequal: No Solution
Exploring Operation: 69*21=1449, Resulting Numbers: [1449]
1449,23 unequal: No Solution
Exploring Operation: 69+21=90, Resulting Numbers: [90]
90,23 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 23:[11, 66, 54], Operations: ['69-15=54']
Exploring Operation: 66/11=6, Resulting Numbers: [54, 6]
Generated Node #0,1,0: 23:[54, 6] Operation: 66/11=6
Exploring Operation: 66-54=12, Resulting Numbers: [11, 12]
Generated Node #0,1,1: 23:[11, 12] Operation: 66-54=12
Exploring Operation: 66-11=55, Resulting Numbers: [54, 55]
Generated Node #0,1,2: 23:[54, 55] Operation: 66-11=55
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 23:[11, 12], Operations: ['69-15=54', '66-54=12']
Exploring Operation: 12-11=1, Resulting Numbers: [1]
1,23 unequal: No Solution
Exploring Operation: 11*12=132, Resulting Numbers: [132]
132,23 unequal: No Solution
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[15, 11, 69, 66], Operations: []
Exploring Operation: 69-15=54, Resulting Numbers: [11, 66, 54]
Generated Node #0,1: 23:[11, 66, 54] Operation: 69-15=54
Moving to Node #0,1
Current State: 23:[11, 66, 54], Operations: ['69-15=54']
Exploring Operation: 66-54=12, Resulting Numbers: [11, 12]
Generated Node #0,1,1: 23:[11, 12] Operation: 66-54=12
Moving to Node #0,1,1
Current State: 23:[11, 12], Operations: ['69-15=54', '66-54=12']
Exploring Operation: 11+12=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967882 | hs_3 | mult_heuristic |
[
78,
46,
1,
3
] | 71 | [
"78/3=26",
"46-1=45",
"26+45=71"
] | Current State: 71:[78, 46, 1, 3], Operations: []
Exploring Operation: 78/3=26, Resulting Numbers: [46, 1, 26]
Generated Node #2: [46, 1, 26] from Operation: 78/3=26
Current State: 71:[46, 1, 26], Operations: ['78/3=26']
Exploring Operation: 46-1=45, Resulting Numbers: [26, 45]
Generated Node #3: [26, 45] from Operation: 46-1=45
Current State: 71:[26, 45], Operations: ['78/3=26', '46-1=45']
Exploring Operation: 26+45=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[78, 46, 1, 3], Operations: []
Exploring Operation: 78-1=77, Resulting Numbers: [46, 3, 77]
Generated Node #0,0: 71:[46, 3, 77] Operation: 78-1=77
Exploring Operation: 78-3=75, Resulting Numbers: [46, 1, 75]
Generated Node #0,1: 71:[46, 1, 75] Operation: 78-3=75
Exploring Operation: 46+3=49, Resulting Numbers: [78, 1, 49]
Generated Node #0,2: 71:[78, 1, 49] Operation: 46+3=49
Exploring Operation: 46+1=47, Resulting Numbers: [78, 3, 47]
Generated Node #0,3: 71:[78, 3, 47] Operation: 46+1=47
Exploring Operation: 1+3=4, Resulting Numbers: [78, 46, 4]
Generated Node #0,4: 71:[78, 46, 4] Operation: 1+3=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[46, 3, 77], Operations: ['78-1=77']
Exploring Operation: 46-3=43, Resulting Numbers: [77, 43]
Generated Node #0,0,0: 71:[77, 43] Operation: 46-3=43
Exploring Operation: 46*3=138, Resulting Numbers: [77, 138]
Generated Node #0,0,1: 71:[77, 138] Operation: 46*3=138
Exploring Operation: 3+77=80, Resulting Numbers: [46, 80]
Generated Node #0,0,2: 71:[46, 80] Operation: 3+77=80
Exploring Operation: 46+3=49, Resulting Numbers: [77, 49]
Generated Node #0,0,3: 71:[77, 49] Operation: 46+3=49
Exploring Operation: 77-3=74, Resulting Numbers: [46, 74]
Generated Node #0,0,4: 71:[46, 74] Operation: 77-3=74
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 71:[77, 49], Operations: ['78-1=77', '46+3=49']
Exploring Operation: 77*49=3773, Resulting Numbers: [3773]
3773,71 unequal: No Solution
Exploring Operation: 77-49=28, Resulting Numbers: [28]
28,71 unequal: No Solution
Exploring Operation: 77+49=126, Resulting Numbers: [126]
126,71 unequal: No Solution
No 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: 71:[46, 74], Operations: ['78-1=77', '77-3=74']
Exploring Operation: 46+74=120, Resulting Numbers: [120]
120,71 unequal: No Solution
Exploring Operation: 74-46=28, Resulting Numbers: [28]
28,71 unequal: No Solution
Exploring Operation: 46*74=3404, Resulting Numbers: [3404]
3404,71 unequal: No Solution
No 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: 71:[77, 43], Operations: ['78-1=77', '46-3=43']
Exploring Operation: 77*43=3311, Resulting Numbers: [3311]
3311,71 unequal: No Solution
Exploring Operation: 77+43=120, Resulting Numbers: [120]
120,71 unequal: No Solution
Exploring Operation: 77-43=34, Resulting Numbers: [34]
34,71 unequal: No Solution
No 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: 71:[46, 80], Operations: ['78-1=77', '3+77=80']
Exploring Operation: 46*80=3680, Resulting Numbers: [3680]
3680,71 unequal: No Solution
Exploring Operation: 80-46=34, Resulting Numbers: [34]
34,71 unequal: No Solution
Exploring Operation: 46+80=126, Resulting Numbers: [126]
126,71 unequal: No Solution
No 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: 71:[77, 138], Operations: ['78-1=77', '46*3=138']
Exploring Operation: 77+138=215, Resulting Numbers: [215]
215,71 unequal: No Solution
Exploring Operation: 77*138=10626, Resulting Numbers: [10626]
10626,71 unequal: No Solution
Exploring Operation: 138-77=61, Resulting Numbers: [61]
61,71 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: 71:[46, 1, 75], Operations: ['78-3=75']
Exploring Operation: 46/1=46, Resulting Numbers: [75, 46]
Generated Node #0,1,0: 71:[75, 46] Operation: 46/1=46
Exploring Operation: 1*75=75, Resulting Numbers: [46, 75]
Generated Node #0,1,1: 71:[46, 75] Operation: 1*75=75
Exploring Operation: 46*1=46, Resulting Numbers: [75, 46]
Generated Node #0,1,2: 71:[75, 46] Operation: 46*1=46
Exploring Operation: 75-1=74, Resulting Numbers: [46, 74]
Generated Node #0,1,3: 71:[46, 74] Operation: 75-1=74
Exploring Operation: 46+1=47, Resulting Numbers: [75, 47]
Generated Node #0,1,4: 71:[75, 47] Operation: 46+1=47
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 71:[46, 74], Operations: ['78-3=75', '75-1=74']
Exploring Operation: 46+74=120, Resulting Numbers: [120]
120,71 unequal: No Solution
Exploring Operation: 46*74=3404, Resulting Numbers: [3404]
3404,71 unequal: No Solution
Exploring Operation: 74-46=28, Resulting Numbers: [28]
28,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 71:[75, 47], Operations: ['78-3=75', '46+1=47']
Exploring Operation: 75-47=28, Resulting Numbers: [28]
28,71 unequal: No Solution
Exploring Operation: 75+47=122, Resulting Numbers: [122]
122,71 unequal: No Solution
Exploring Operation: 75*47=3525, Resulting Numbers: [3525]
3525,71 unequal: No Solution
No 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: 71:[75, 46], Operations: ['78-3=75', '46/1=46']
Exploring Operation: 75*46=3450, Resulting Numbers: [3450]
3450,71 unequal: No Solution
Exploring Operation: 75+46=121, Resulting Numbers: [121]
121,71 unequal: No Solution
Exploring Operation: 75-46=29, Resulting Numbers: [29]
29,71 unequal: No Solution
No 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: 71:[46, 75], Operations: ['78-3=75', '1*75=75']
Exploring Operation: 46*75=3450, Resulting Numbers: [3450]
3450,71 unequal: No Solution
Exploring Operation: 46+75=121, Resulting Numbers: [121]
121,71 unequal: No Solution
Exploring Operation: 75-46=29, Resulting Numbers: [29]
29,71 unequal: No Solution
No 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: 71:[75, 46], Operations: ['78-3=75', '46*1=46']
Exploring Operation: 75+46=121, Resulting Numbers: [121]
121,71 unequal: No Solution
Exploring Operation: 75-46=29, Resulting Numbers: [29]
29,71 unequal: No Solution
Exploring Operation: 75*46=3450, Resulting Numbers: [3450]
3450,71 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: 71:[78, 1, 49], Operations: ['46+3=49']
Exploring Operation: 78-1=77, Resulting Numbers: [49, 77]
Generated Node #0,2,0: 71:[49, 77] Operation: 78-1=77
Exploring Operation: 78*1=78, Resulting Numbers: [49, 78]
Generated Node #0,2,1: 71:[49, 78] Operation: 78*1=78
Exploring Operation: 1+49=50, Resulting Numbers: [78, 50]
Generated Node #0,2,2: 71:[78, 50] Operation: 1+49=50
Exploring Operation: 1*49=49, Resulting Numbers: [78, 49]
Generated Node #0,2,3: 71:[78, 49] Operation: 1*49=49
Exploring Operation: 78/1=78, Resulting Numbers: [49, 78]
Generated Node #0,2,4: 71:[49, 78] Operation: 78/1=78
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 71:[49, 77], Operations: ['46+3=49', '78-1=77']
Exploring Operation: 49*77=3773, Resulting Numbers: [3773]
3773,71 unequal: No Solution
Exploring Operation: 77-49=28, Resulting Numbers: [28]
28,71 unequal: No Solution
Exploring Operation: 49+77=126, Resulting Numbers: [126]
126,71 unequal: No Solution
No 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: 71:[78, 50], Operations: ['46+3=49', '1+49=50']
Exploring Operation: 78-50=28, Resulting Numbers: [28]
28,71 unequal: No Solution
Exploring Operation: 78*50=3900, Resulting Numbers: [3900]
3900,71 unequal: No Solution
Exploring Operation: 78+50=128, Resulting Numbers: [128]
128,71 unequal: No Solution
No 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: 71:[49, 78], Operations: ['46+3=49', '78*1=78']
Exploring Operation: 78-49=29, Resulting Numbers: [29]
29,71 unequal: No Solution
Exploring Operation: 49+78=127, Resulting Numbers: [127]
127,71 unequal: No Solution
Exploring Operation: 49*78=3822, Resulting Numbers: [3822]
3822,71 unequal: No Solution
No 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: 71:[78, 49], Operations: ['46+3=49', '1*49=49']
Exploring Operation: 78+49=127, Resulting Numbers: [127]
127,71 unequal: No Solution
Exploring Operation: 78*49=3822, Resulting Numbers: [3822]
3822,71 unequal: No Solution
Exploring Operation: 78-49=29, Resulting Numbers: [29]
29,71 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 71:[49, 78], Operations: ['46+3=49', '78/1=78']
Exploring Operation: 49+78=127, Resulting Numbers: [127]
127,71 unequal: No Solution
Exploring Operation: 78-49=29, Resulting Numbers: [29]
29,71 unequal: No Solution
Exploring Operation: 49*78=3822, Resulting Numbers: [3822]
3822,71 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: 71:[78, 3, 47], Operations: ['46+1=47']
Exploring Operation: 78+3=81, Resulting Numbers: [47, 81]
Generated Node #0,3,0: 71:[47, 81] Operation: 78+3=81
Exploring Operation: 3+47=50, Resulting Numbers: [78, 50]
Generated Node #0,3,1: 71:[78, 50] Operation: 3+47=50
Exploring Operation: 78/3=26, Resulting Numbers: [47, 26]
Generated Node #0,3,2: 71:[47, 26] Operation: 78/3=26
Exploring Operation: 47-3=44, Resulting Numbers: [78, 44]
Generated Node #0,3,3: 71:[78, 44] Operation: 47-3=44
Exploring Operation: 78-3=75, Resulting Numbers: [47, 75]
Generated Node #0,3,4: 71:[47, 75] Operation: 78-3=75
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 71:[78, 50], Operations: ['46+1=47', '3+47=50']
Exploring Operation: 78-50=28, Resulting Numbers: [28]
28,71 unequal: No Solution
Exploring Operation: 78+50=128, Resulting Numbers: [128]
128,71 unequal: No Solution
Exploring Operation: 78*50=3900, Resulting Numbers: [3900]
3900,71 unequal: No Solution
No 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: 71:[47, 75], Operations: ['46+1=47', '78-3=75']
Exploring Operation: 75-47=28, Resulting Numbers: [28]
28,71 unequal: No Solution
Exploring Operation: 47+75=122, Resulting Numbers: [122]
122,71 unequal: No Solution
Exploring Operation: 47*75=3525, Resulting Numbers: [3525]
3525,71 unequal: No Solution
No 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: 71:[47, 81], Operations: ['46+1=47', '78+3=81']
Exploring Operation: 47*81=3807, Resulting Numbers: [3807]
3807,71 unequal: No Solution
Exploring Operation: 47+81=128, Resulting Numbers: [128]
128,71 unequal: No Solution
Exploring Operation: 81-47=34, Resulting Numbers: [34]
34,71 unequal: No Solution
No 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: 71:[78, 44], Operations: ['46+1=47', '47-3=44']
Exploring Operation: 78-44=34, Resulting Numbers: [34]
34,71 unequal: No Solution
Exploring Operation: 78*44=3432, Resulting Numbers: [3432]
3432,71 unequal: No Solution
Exploring Operation: 78+44=122, Resulting Numbers: [122]
122,71 unequal: No Solution
No 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: 71:[47, 26], Operations: ['46+1=47', '78/3=26']
Exploring Operation: 47*26=1222, Resulting Numbers: [1222]
1222,71 unequal: No Solution
Exploring Operation: 47-26=21, Resulting Numbers: [21]
21,71 unequal: No Solution
Exploring Operation: 47+26=73, Resulting Numbers: [73]
73,71 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: 71:[78, 46, 4], Operations: ['1+3=4']
Exploring Operation: 78+4=82, Resulting Numbers: [46, 82]
Generated Node #0,4,0: 71:[46, 82] Operation: 78+4=82
Exploring Operation: 46-4=42, Resulting Numbers: [78, 42]
Generated Node #0,4,1: 71:[78, 42] Operation: 46-4=42
Exploring Operation: 46+4=50, Resulting Numbers: [78, 50]
Generated Node #0,4,2: 71:[78, 50] Operation: 46+4=50
Exploring Operation: 78-46=32, Resulting Numbers: [4, 32]
Generated Node #0,4,3: 71:[4, 32] Operation: 78-46=32
Exploring Operation: 78-4=74, Resulting Numbers: [46, 74]
Generated Node #0,4,4: 71:[46, 74] Operation: 78-4=74
Moving to Node #0,4,2
Current State: 71:[78, 50], Operations: ['1+3=4', '46+4=50']
Exploring Operation: 78+50=128, Resulting Numbers: [128]
128,71 unequal: No Solution
Exploring Operation: 78-50=28, Resulting Numbers: [28]
28,71 unequal: No Solution
Exploring Operation: 78*50=3900, Resulting Numbers: [3900]
3900,71 unequal: No Solution
Moving to Node #0,4,4
Current State: 71:[46, 74], Operations: ['1+3=4', '78-4=74']
Exploring Operation: 46+74=120, Resulting Numbers: [120]
120,71 unequal: No Solution
Exploring Operation: 46*74=3404, Resulting Numbers: [3404]
3404,71 unequal: No Solution
Exploring Operation: 74-46=28, Resulting Numbers: [28]
28,71 unequal: No Solution
Moving to Node #0,4,0
Current State: 71:[46, 82], Operations: ['1+3=4', '78+4=82']
Exploring Operation: 46*82=3772, Resulting Numbers: [3772]
3772,71 unequal: No Solution
Exploring Operation: 46+82=128, Resulting Numbers: [128]
128,71 unequal: No Solution
Exploring Operation: 82-46=36, Resulting Numbers: [36]
36,71 unequal: No Solution
Moving to Node #0,4,1
Current State: 71:[78, 42], Operations: ['1+3=4', '46-4=42']
Exploring Operation: 78*42=3276, Resulting Numbers: [3276]
3276,71 unequal: No Solution
Exploring Operation: 78-42=36, Resulting Numbers: [36]
36,71 unequal: No Solution
Exploring Operation: 78+42=120, Resulting Numbers: [120]
120,71 unequal: No Solution
Moving to Node #0,4,3
Current State: 71:[4, 32], Operations: ['1+3=4', '78-46=32']
Exploring Operation: 4+32=36, Resulting Numbers: [36]
36,71 unequal: No Solution
Exploring Operation: 32/4=8, Resulting Numbers: [8]
8,71 unequal: No Solution
Exploring Operation: 4*32=128, Resulting Numbers: [128]
128,71 unequal: No Solution
Exploring Operation: 32-4=28, Resulting Numbers: [28]
28,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
32,
27,
16,
28
] | 41 | [
"32/16=2",
"28/2=14",
"27+14=41"
] | Current State: 41:[32, 27, 16, 28], Operations: []
Exploring Operation: 32/16=2, Resulting Numbers: [27, 28, 2]
Generated Node #2: [27, 28, 2] from Operation: 32/16=2
Current State: 41:[27, 28, 2], Operations: ['32/16=2']
Exploring Operation: 28/2=14, Resulting Numbers: [27, 14]
Generated Node #3: [27, 14] from Operation: 28/2=14
Current State: 41:[27, 14], Operations: ['32/16=2', '28/2=14']
Exploring Operation: 27+14=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[32, 27, 16, 28], Operations: []
Exploring Operation: 32+16=48, Resulting Numbers: [27, 28, 48]
Generated Node #0,0: 41:[27, 28, 48] Operation: 32+16=48
Exploring Operation: 32-16=16, Resulting Numbers: [27, 28, 16]
Generated Node #0,1: 41:[27, 28, 16] Operation: 32-16=16
Exploring Operation: 16+28=44, Resulting Numbers: [32, 27, 44]
Generated Node #0,2: 41:[32, 27, 44] Operation: 16+28=44
Exploring Operation: 27+16=43, Resulting Numbers: [32, 28, 43]
Generated Node #0,3: 41:[32, 28, 43] Operation: 27+16=43
Exploring Operation: 27+28=55, Resulting Numbers: [32, 16, 55]
Generated Node #0,4: 41:[32, 16, 55] Operation: 27+28=55
Moving to Node #0,3
Current State: 41:[32, 28, 43], Operations: ['27+16=43']
Exploring Operation: 43-28=15, Resulting Numbers: [32, 15]
Generated Node #0,3,0: 41:[32, 15] Operation: 43-28=15
Exploring Operation: 28+43=71, Resulting Numbers: [32, 71]
Generated Node #0,3,1: 41:[32, 71] Operation: 28+43=71
Exploring Operation: 32+28=60, Resulting Numbers: [43, 60]
Generated Node #0,3,2: 41:[43, 60] Operation: 32+28=60
Exploring Operation: 32-28=4, Resulting Numbers: [43, 4]
Generated Node #0,3,3: 41:[43, 4] Operation: 32-28=4
Exploring Operation: 43-32=11, Resulting Numbers: [28, 11]
Generated Node #0,3,4: 41:[28, 11] Operation: 43-32=11
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 41:[43, 60], Operations: ['27+16=43', '32+28=60']
Exploring Operation: 43+60=103, Resulting Numbers: [103]
103,41 unequal: No Solution
Exploring Operation: 43*60=2580, Resulting Numbers: [2580]
2580,41 unequal: No Solution
Exploring Operation: 60-43=17, Resulting Numbers: [17]
17,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 41:[32, 15], Operations: ['27+16=43', '43-28=15']
Exploring Operation: 32+15=47, Resulting Numbers: [47]
47,41 unequal: No Solution
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,41 unequal: No Solution
Exploring Operation: 32*15=480, Resulting Numbers: [480]
480,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 41:[32, 71], Operations: ['27+16=43', '28+43=71']
Exploring Operation: 71-32=39, Resulting Numbers: [39]
39,41 unequal: No Solution
Exploring Operation: 32*71=2272, Resulting Numbers: [2272]
2272,41 unequal: No Solution
Exploring Operation: 32+71=103, Resulting Numbers: [103]
103,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 41:[43, 4], Operations: ['27+16=43', '32-28=4']
Exploring Operation: 43-4=39, Resulting Numbers: [39]
39,41 unequal: No Solution
Exploring Operation: 43+4=47, Resulting Numbers: [47]
47,41 unequal: No Solution
Exploring Operation: 43*4=172, Resulting Numbers: [172]
172,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 41:[28, 11], Operations: ['27+16=43', '43-32=11']
Exploring Operation: 28*11=308, Resulting Numbers: [308]
308,41 unequal: No Solution
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,41 unequal: No Solution
Exploring Operation: 28+11=39, Resulting Numbers: [39]
39,41 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: 41:[32, 27, 44], Operations: ['16+28=44']
Exploring Operation: 44-27=17, Resulting Numbers: [32, 17]
Generated Node #0,2,0: 41:[32, 17] Operation: 44-27=17
Exploring Operation: 27+44=71, Resulting Numbers: [32, 71]
Generated Node #0,2,1: 41:[32, 71] Operation: 27+44=71
Exploring Operation: 44-32=12, Resulting Numbers: [27, 12]
Generated Node #0,2,2: 41:[27, 12] Operation: 44-32=12
Exploring Operation: 32+27=59, Resulting Numbers: [44, 59]
Generated Node #0,2,3: 41:[44, 59] Operation: 32+27=59
Exploring Operation: 32-27=5, Resulting Numbers: [44, 5]
Generated Node #0,2,4: 41:[44, 5] Operation: 32-27=5
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 41:[44, 59], Operations: ['16+28=44', '32+27=59']
Exploring Operation: 59-44=15, Resulting Numbers: [15]
15,41 unequal: No Solution
Exploring Operation: 44+59=103, Resulting Numbers: [103]
103,41 unequal: No Solution
Exploring Operation: 44*59=2596, Resulting Numbers: [2596]
2596,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 41:[32, 17], Operations: ['16+28=44', '44-27=17']
Exploring Operation: 32*17=544, Resulting Numbers: [544]
544,41 unequal: No Solution
Exploring Operation: 32+17=49, Resulting Numbers: [49]
49,41 unequal: No Solution
Exploring Operation: 32-17=15, Resulting Numbers: [15]
15,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 41:[32, 71], Operations: ['16+28=44', '27+44=71']
Exploring Operation: 32+71=103, Resulting Numbers: [103]
103,41 unequal: No Solution
Exploring Operation: 71-32=39, Resulting Numbers: [39]
39,41 unequal: No Solution
Exploring Operation: 32*71=2272, Resulting Numbers: [2272]
2272,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 41:[44, 5], Operations: ['16+28=44', '32-27=5']
Exploring Operation: 44*5=220, Resulting Numbers: [220]
220,41 unequal: No Solution
Exploring Operation: 44-5=39, Resulting Numbers: [39]
39,41 unequal: No Solution
Exploring Operation: 44+5=49, Resulting Numbers: [49]
49,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 41:[27, 12], Operations: ['16+28=44', '44-32=12']
Exploring Operation: 27*12=324, Resulting Numbers: [324]
324,41 unequal: No Solution
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,41 unequal: No Solution
Exploring Operation: 27+12=39, Resulting Numbers: [39]
39,41 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: 41:[27, 28, 48], Operations: ['32+16=48']
Exploring Operation: 48-28=20, Resulting Numbers: [27, 20]
Generated Node #0,0,0: 41:[27, 20] Operation: 48-28=20
Exploring Operation: 48-27=21, Resulting Numbers: [28, 21]
Generated Node #0,0,1: 41:[28, 21] Operation: 48-27=21
Exploring Operation: 27+48=75, Resulting Numbers: [28, 75]
Generated Node #0,0,2: 41:[28, 75] Operation: 27+48=75
Exploring Operation: 28-27=1, Resulting Numbers: [48, 1]
Generated Node #0,0,3: 41:[48, 1] Operation: 28-27=1
Exploring Operation: 27+28=55, Resulting Numbers: [48, 55]
Generated Node #0,0,4: 41:[48, 55] Operation: 27+28=55
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 41:[48, 55], Operations: ['32+16=48', '27+28=55']
Exploring Operation: 55-48=7, Resulting Numbers: [7]
7,41 unequal: No Solution
Exploring Operation: 48*55=2640, Resulting Numbers: [2640]
2640,41 unequal: No Solution
Exploring Operation: 48+55=103, Resulting Numbers: [103]
103,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 41:[28, 21], Operations: ['32+16=48', '48-27=21']
Exploring Operation: 28*21=588, Resulting Numbers: [588]
588,41 unequal: No Solution
Exploring Operation: 28-21=7, Resulting Numbers: [7]
7,41 unequal: No Solution
Exploring Operation: 28+21=49, Resulting Numbers: [49]
49,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 41:[27, 20], Operations: ['32+16=48', '48-28=20']
Exploring Operation: 27*20=540, Resulting Numbers: [540]
540,41 unequal: No Solution
Exploring Operation: 27-20=7, Resulting Numbers: [7]
7,41 unequal: No Solution
Exploring Operation: 27+20=47, Resulting Numbers: [47]
47,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 41:[28, 75], Operations: ['32+16=48', '27+48=75']
Exploring Operation: 28+75=103, Resulting Numbers: [103]
103,41 unequal: No Solution
Exploring Operation: 28*75=2100, Resulting Numbers: [2100]
2100,41 unequal: No Solution
Exploring Operation: 75-28=47, Resulting Numbers: [47]
47,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 41:[48, 1], Operations: ['32+16=48', '28-27=1']
Exploring Operation: 48+1=49, Resulting Numbers: [49]
49,41 unequal: No Solution
Exploring Operation: 48/1=48, Resulting Numbers: [48]
48,41 unequal: No Solution
Exploring Operation: 48-1=47, Resulting Numbers: [47]
47,41 unequal: No Solution
Exploring Operation: 48*1=48, Resulting Numbers: [48]
48,41 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: 41:[32, 16, 55], Operations: ['27+28=55']
Exploring Operation: 55-32=23, Resulting Numbers: [16, 23]
Generated Node #0,4,0: 41:[16, 23] Operation: 55-32=23
Exploring Operation: 16+55=71, Resulting Numbers: [32, 71]
Generated Node #0,4,1: 41:[32, 71] Operation: 16+55=71
Exploring Operation: 32-16=16, Resulting Numbers: [55, 16]
Generated Node #0,4,2: 41:[55, 16] Operation: 32-16=16
Exploring Operation: 32+16=48, Resulting Numbers: [55, 48]
Generated Node #0,4,3: 41:[55, 48] Operation: 32+16=48
Exploring Operation: 55-16=39, Resulting Numbers: [32, 39]
Generated Node #0,4,4: 41:[32, 39] Operation: 55-16=39
Moving to Node #0,1
Current State: 41:[27, 28, 16], Operations: ['32-16=16']
Exploring Operation: 28-16=12, Resulting Numbers: [27, 12]
Generated Node #0,1,0: 41:[27, 12] Operation: 28-16=12
Exploring Operation: 27-16=11, Resulting Numbers: [28, 11]
Generated Node #0,1,1: 41:[28, 11] Operation: 27-16=11
Exploring Operation: 27+28=55, Resulting Numbers: [16, 55]
Generated Node #0,1,2: 41:[16, 55] Operation: 27+28=55
Exploring Operation: 28+16=44, Resulting Numbers: [27, 44]
Generated Node #0,1,3: 41:[27, 44] Operation: 28+16=44
Exploring Operation: 27+16=43, Resulting Numbers: [28, 43]
Generated Node #0,1,4: 41:[28, 43] Operation: 27+16=43
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 41:[28, 43], Operations: ['32-16=16', '27+16=43']
Exploring Operation: 43-28=15, Resulting Numbers: [15]
15,41 unequal: No Solution
Exploring Operation: 28*43=1204, Resulting Numbers: [1204]
1204,41 unequal: No Solution
Exploring Operation: 28+43=71, Resulting Numbers: [71]
71,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 41:[27, 44], Operations: ['32-16=16', '28+16=44']
Exploring Operation: 44-27=17, Resulting Numbers: [17]
17,41 unequal: No Solution
Exploring Operation: 27*44=1188, Resulting Numbers: [1188]
1188,41 unequal: No Solution
Exploring Operation: 27+44=71, Resulting Numbers: [71]
71,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 41:[16, 55], Operations: ['32-16=16', '27+28=55']
Exploring Operation: 16*55=880, Resulting Numbers: [880]
880,41 unequal: No Solution
Exploring Operation: 55-16=39, Resulting Numbers: [39]
39,41 unequal: No Solution
Exploring Operation: 16+55=71, Resulting Numbers: [71]
71,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 41:[27, 12], Operations: ['32-16=16', '28-16=12']
Exploring Operation: 27+12=39, Resulting Numbers: [39]
39,41 unequal: No Solution
Exploring Operation: 27*12=324, Resulting Numbers: [324]
324,41 unequal: No Solution
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 41:[28, 11], Operations: ['32-16=16', '27-16=11']
Exploring Operation: 28+11=39, Resulting Numbers: [39]
39,41 unequal: No Solution
Exploring Operation: 28-11=17, Resulting Numbers: [17]
17,41 unequal: No Solution
Exploring Operation: 28*11=308, Resulting Numbers: [308]
308,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,4,4
Current State: 41:[32, 39], Operations: ['27+28=55', '55-16=39']
Exploring Operation: 32*39=1248, Resulting Numbers: [1248]
1248,41 unequal: No Solution
Exploring Operation: 39-32=7, Resulting Numbers: [7]
7,41 unequal: No Solution
Exploring Operation: 32+39=71, Resulting Numbers: [71]
71,41 unequal: No Solution
Moving to Node #0,4,3
Current State: 41:[55, 48], Operations: ['27+28=55', '32+16=48']
Exploring Operation: 55*48=2640, Resulting Numbers: [2640]
2640,41 unequal: No Solution
Exploring Operation: 55-48=7, Resulting Numbers: [7]
7,41 unequal: No Solution
Exploring Operation: 55+48=103, Resulting Numbers: [103]
103,41 unequal: No Solution
Moving to Node #0,4,1
Current State: 41:[32, 71], Operations: ['27+28=55', '16+55=71']
Exploring Operation: 32+71=103, Resulting Numbers: [103]
103,41 unequal: No Solution
Exploring Operation: 32*71=2272, Resulting Numbers: [2272]
2272,41 unequal: No Solution
Exploring Operation: 71-32=39, Resulting Numbers: [39]
39,41 unequal: No Solution
Moving to Node #0,4,2
Current State: 41:[55, 16], Operations: ['27+28=55', '32-16=16']
Exploring Operation: 55-16=39, Resulting Numbers: [39]
39,41 unequal: No Solution
Exploring Operation: 55+16=71, Resulting Numbers: [71]
71,41 unequal: No Solution
Exploring Operation: 55*16=880, Resulting Numbers: [880]
880,41 unequal: No Solution
Moving to Node #0,4,0
Current State: 41:[16, 23], Operations: ['27+28=55', '55-32=23']
Exploring Operation: 16+23=39, Resulting Numbers: [39]
39,41 unequal: No Solution
Exploring Operation: 16*23=368, Resulting Numbers: [368]
368,41 unequal: No Solution
Exploring Operation: 23-16=7, Resulting Numbers: [7]
7,41 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
48,
8,
10,
35
] | 24 | [
"48-10=38",
"38-35=3",
"8*3=24"
] | Current State: 24:[48, 8, 10, 35], Operations: []
Exploring Operation: 48-10=38, Resulting Numbers: [8, 35, 38]
Generated Node #2: [8, 35, 38] from Operation: 48-10=38
Current State: 24:[8, 35, 38], Operations: ['48-10=38']
Exploring Operation: 38-35=3, Resulting Numbers: [8, 3]
Generated Node #3: [8, 3] from Operation: 38-35=3
Current State: 24:[8, 3], Operations: ['48-10=38', '38-35=3']
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[48, 8, 10, 35], Operations: []
Exploring Operation: 48-35=13, Resulting Numbers: [8, 10, 13]
Generated Node #0,0: 24:[8, 10, 13] Operation: 48-35=13
Moving to Node #0,0
Current State: 24:[8, 10, 13], Operations: ['48-35=13']
Exploring Operation: 13-10=3, Resulting Numbers: [8, 3]
Generated Node #0,0,0: 24:[8, 3] Operation: 13-10=3
Moving to Node #0,0,0
Current State: 24:[8, 3], Operations: ['48-35=13', '13-10=3']
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
Moving to Node #0
Current State: 24:[48, 8, 10, 35], Operations: []
Exploring Operation: 48-35=13, Resulting Numbers: [8, 10, 13]
Generated Node #0,0: 24:[8, 10, 13] Operation: 48-35=13
Moving to Node #0,0
Current State: 24:[8, 10, 13], Operations: ['48-35=13']
Exploring Operation: 13-10=3, Resulting Numbers: [8, 3]
Generated Node #0,0,0: 24:[8, 3] Operation: 13-10=3
Moving to Node #0,0,0
Current State: 24:[8, 3], Operations: ['48-35=13', '13-10=3']
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
7,
57,
20,
71
] | 12 | [
"7*20=140",
"57+71=128",
"140-128=12"
] | Current State: 12:[7, 57, 20, 71], Operations: []
Exploring Operation: 7*20=140, Resulting Numbers: [57, 71, 140]
Generated Node #2: [57, 71, 140] from Operation: 7*20=140
Current State: 12:[57, 71, 140], Operations: ['7*20=140']
Exploring Operation: 57+71=128, Resulting Numbers: [140, 128]
Generated Node #3: [140, 128] from Operation: 57+71=128
Current State: 12:[140, 128], Operations: ['7*20=140', '57+71=128']
Exploring Operation: 140-128=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[7, 57, 20, 71], Operations: []
Exploring Operation: 71-20=51, Resulting Numbers: [7, 57, 51]
Generated Node #0,0: 12:[7, 57, 51] Operation: 71-20=51
Exploring Operation: 71-57=14, Resulting Numbers: [7, 20, 14]
Generated Node #0,1: 12:[7, 20, 14] Operation: 71-57=14
Exploring Operation: 57-20=37, Resulting Numbers: [7, 71, 37]
Generated Node #0,2: 12:[7, 71, 37] Operation: 57-20=37
Exploring Operation: 57-7=50, Resulting Numbers: [20, 71, 50]
Generated Node #0,3: 12:[20, 71, 50] Operation: 57-7=50
Moving to Node #0,1
Current State: 12:[7, 20, 14], Operations: ['71-57=14']
Exploring Operation: 20-14=6, Resulting Numbers: [7, 6]
Generated Node #0,1,0: 12:[7, 6] Operation: 20-14=6
Exploring Operation: 14/7=2, Resulting Numbers: [20, 2]
Generated Node #0,1,1: 12:[20, 2] Operation: 14/7=2
Exploring Operation: 14-7=7, Resulting Numbers: [20, 7]
Generated Node #0,1,2: 12:[20, 7] Operation: 14-7=7
Exploring Operation: 20-7=13, Resulting Numbers: [14, 13]
Generated Node #0,1,3: 12:[14, 13] Operation: 20-7=13
Moving to Node #0,2
Current State: 12:[7, 71, 37], Operations: ['57-20=37']
Exploring Operation: 71-37=34, Resulting Numbers: [7, 34]
Generated Node #0,2,0: 12:[7, 34] Operation: 71-37=34
Exploring Operation: 71-7=64, Resulting Numbers: [37, 64]
Generated Node #0,2,1: 12:[37, 64] Operation: 71-7=64
Exploring Operation: 7+71=78, Resulting Numbers: [37, 78]
Generated Node #0,2,2: 12:[37, 78] Operation: 7+71=78
Exploring Operation: 37-7=30, Resulting Numbers: [71, 30]
Generated Node #0,2,3: 12:[71, 30] Operation: 37-7=30
Moving to Node #0,0
Current State: 12:[7, 57, 51], Operations: ['71-20=51']
Exploring Operation: 57-51=6, Resulting Numbers: [7, 6]
Generated Node #0,0,0: 12:[7, 6] Operation: 57-51=6
Exploring Operation: 57-7=50, Resulting Numbers: [51, 50]
Generated Node #0,0,1: 12:[51, 50] Operation: 57-7=50
Exploring Operation: 51-7=44, Resulting Numbers: [57, 44]
Generated Node #0,0,2: 12:[57, 44] Operation: 51-7=44
Exploring Operation: 7+57=64, Resulting Numbers: [51, 64]
Generated Node #0,0,3: 12:[51, 64] Operation: 7+57=64
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 12:[7, 6], Operations: ['71-20=51', '57-51=6']
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,12 unequal: No Solution
Exploring Operation: 7+6=13, Resulting Numbers: [13]
13,12 unequal: No Solution
Exploring Operation: 7*6=42, Resulting Numbers: [42]
42,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 12:[51, 50], Operations: ['71-20=51', '57-7=50']
Exploring Operation: 51-50=1, Resulting Numbers: [1]
1,12 unequal: No Solution
Exploring Operation: 51+50=101, Resulting Numbers: [101]
101,12 unequal: No Solution
Exploring Operation: 51*50=2550, Resulting Numbers: [2550]
2550,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 12:[57, 44], Operations: ['71-20=51', '51-7=44']
Exploring Operation: 57-44=13, Resulting Numbers: [13]
13,12 unequal: No Solution
Exploring Operation: 57*44=2508, Resulting Numbers: [2508]
2508,12 unequal: No Solution
Exploring Operation: 57+44=101, Resulting Numbers: [101]
101,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 12:[51, 64], Operations: ['71-20=51', '7+57=64']
Exploring Operation: 51+64=115, Resulting Numbers: [115]
115,12 unequal: No Solution
Exploring Operation: 51*64=3264, Resulting Numbers: [3264]
3264,12 unequal: No Solution
Exploring Operation: 64-51=13, Resulting Numbers: [13]
13,12 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: 12:[20, 71, 50], Operations: ['57-7=50']
Exploring Operation: 50-20=30, Resulting Numbers: [71, 30]
Generated Node #0,3,0: 12:[71, 30] Operation: 50-20=30
Exploring Operation: 71-50=21, Resulting Numbers: [20, 21]
Generated Node #0,3,1: 12:[20, 21] Operation: 71-50=21
Exploring Operation: 20+71=91, Resulting Numbers: [50, 91]
Generated Node #0,3,2: 12:[50, 91] Operation: 20+71=91
Exploring Operation: 71-20=51, Resulting Numbers: [50, 51]
Generated Node #0,3,3: 12:[50, 51] Operation: 71-20=51
Moving to Node #0,1,0
Current State: 12:[7, 6], Operations: ['71-57=14', '20-14=6']
Exploring Operation: 7-6=1, Resulting Numbers: [1]
1,12 unequal: No Solution
Exploring Operation: 7+6=13, Resulting Numbers: [13]
13,12 unequal: No Solution
Exploring Operation: 7*6=42, Resulting Numbers: [42]
42,12 unequal: No Solution
Moving to Node #0,1,3
Current State: 12:[14, 13], Operations: ['71-57=14', '20-7=13']
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,12 unequal: No Solution
Exploring Operation: 14*13=182, Resulting Numbers: [182]
182,12 unequal: No Solution
Exploring Operation: 14+13=27, Resulting Numbers: [27]
27,12 unequal: No Solution
Moving to Node #0,1,1
Current State: 12:[20, 2], Operations: ['71-57=14', '14/7=2']
Exploring Operation: 20*2=40, Resulting Numbers: [40]
40,12 unequal: No Solution
Exploring Operation: 20+2=22, Resulting Numbers: [22]
22,12 unequal: No Solution
Exploring Operation: 20/2=10, Resulting Numbers: [10]
10,12 unequal: No Solution
Exploring Operation: 20-2=18, Resulting Numbers: [18]
18,12 unequal: No Solution
Moving to Node #0,1,2
Current State: 12:[20, 7], Operations: ['71-57=14', '14-7=7']
Exploring Operation: 20*7=140, Resulting Numbers: [140]
140,12 unequal: No Solution
Exploring Operation: 20+7=27, Resulting Numbers: [27]
27,12 unequal: No Solution
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,12 unequal: No Solution
Moving to Node #0,3,1
Current State: 12:[20, 21], Operations: ['57-7=50', '71-50=21']
Exploring Operation: 21-20=1, Resulting Numbers: [1]
1,12 unequal: No Solution
Exploring Operation: 20*21=420, Resulting Numbers: [420]
420,12 unequal: No Solution
Exploring Operation: 20+21=41, Resulting Numbers: [41]
41,12 unequal: No Solution
Moving to Node #0,2,0
Current State: 12:[7, 34], Operations: ['57-20=37', '71-37=34']
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,12 unequal: No Solution
Exploring Operation: 7*34=238, Resulting Numbers: [238]
238,12 unequal: No Solution
Exploring Operation: 7+34=41, Resulting Numbers: [41]
41,12 unequal: No Solution
Moving to Node #0,2,3
Current State: 12:[71, 30], Operations: ['57-20=37', '37-7=30']
Exploring Operation: 71*30=2130, Resulting Numbers: [2130]
2130,12 unequal: No Solution
Exploring Operation: 71-30=41, Resulting Numbers: [41]
41,12 unequal: No Solution
Exploring Operation: 71+30=101, Resulting Numbers: [101]
101,12 unequal: No Solution
Moving to Node #0,2,1
Current State: 12:[37, 64], Operations: ['57-20=37', '71-7=64']
Exploring Operation: 37*64=2368, Resulting Numbers: [2368]
2368,12 unequal: No Solution
Exploring Operation: 37+64=101, Resulting Numbers: [101]
101,12 unequal: No Solution
Exploring Operation: 64-37=27, Resulting Numbers: [27]
27,12 unequal: No Solution
Moving to Node #0,3,3
Current State: 12:[50, 51], Operations: ['57-7=50', '71-20=51']
Exploring Operation: 50+51=101, Resulting Numbers: [101]
101,12 unequal: No Solution
Exploring Operation: 50*51=2550, Resulting Numbers: [2550]
2550,12 unequal: No Solution
Exploring Operation: 51-50=1, Resulting Numbers: [1]
1,12 unequal: No Solution
Moving to Node #0,3,0
Current State: 12:[71, 30], Operations: ['57-7=50', '50-20=30']
Exploring Operation: 71+30=101, Resulting Numbers: [101]
101,12 unequal: No Solution
Exploring Operation: 71-30=41, Resulting Numbers: [41]
41,12 unequal: No Solution
Exploring Operation: 71*30=2130, Resulting Numbers: [2130]
2130,12 unequal: No Solution
Moving to Node #0,2,2
Current State: 12:[37, 78], Operations: ['57-20=37', '7+71=78']
Exploring Operation: 37*78=2886, Resulting Numbers: [2886]
2886,12 unequal: No Solution
Exploring Operation: 78-37=41, Resulting Numbers: [41]
41,12 unequal: No Solution
Exploring Operation: 37+78=115, Resulting Numbers: [115]
115,12 unequal: No Solution
Moving to Node #0,3,2
Current State: 12:[50, 91], Operations: ['57-7=50', '20+71=91']
Exploring Operation: 50*91=4550, Resulting Numbers: [4550]
4550,12 unequal: No Solution
Exploring Operation: 50+91=141, Resulting Numbers: [141]
141,12 unequal: No Solution
Exploring Operation: 91-50=41, Resulting Numbers: [41]
41,12 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
4,
2,
48,
42
] | 58 | [
"42-4=38",
"2*48=96",
"96-38=58"
] | Current State: 58:[4, 2, 48, 42], Operations: []
Exploring Operation: 42-4=38, Resulting Numbers: [2, 48, 38]
Generated Node #2: [2, 48, 38] from Operation: 42-4=38
Current State: 58:[2, 48, 38], Operations: ['42-4=38']
Exploring Operation: 2*48=96, Resulting Numbers: [38, 96]
Generated Node #3: [38, 96] from Operation: 2*48=96
Current State: 58:[38, 96], Operations: ['42-4=38', '2*48=96']
Exploring Operation: 96-38=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[4, 2, 48, 42], Operations: []
Exploring Operation: 48-42=6, Resulting Numbers: [4, 2, 6]
Generated Node #0,0: 58:[4, 2, 6] Operation: 48-42=6
Exploring Operation: 4+48=52, Resulting Numbers: [2, 42, 52]
Generated Node #0,1: 58:[2, 42, 52] Operation: 4+48=52
Exploring Operation: 42-4=38, Resulting Numbers: [2, 48, 38]
Generated Node #0,2: 58:[2, 48, 38] Operation: 42-4=38
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[4, 2, 6], Operations: ['48-42=6']
Exploring Operation: 6-4=2, Resulting Numbers: [2, 2]
Generated Node #0,0,0: 58:[2, 2] Operation: 6-4=2
Exploring Operation: 6/2=3, Resulting Numbers: [4, 3]
Generated Node #0,0,1: 58:[4, 3] Operation: 6/2=3
Exploring Operation: 4-2=2, Resulting Numbers: [6, 2]
Generated Node #0,0,2: 58:[6, 2] Operation: 4-2=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 58:[2, 2], Operations: ['48-42=6', '6-4=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,58 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,58 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,58 unequal: No Solution
No 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: 58:[4, 3], Operations: ['48-42=6', '6/2=3']
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,58 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,58 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,58 unequal: No Solution
No 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: 58:[6, 2], Operations: ['48-42=6', '4-2=2']
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,58 unequal: No Solution
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,58 unequal: No Solution
Exploring Operation: 6+2=8, Resulting Numbers: [8]
8,58 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: 58:[2, 42, 52], Operations: ['4+48=52']
Exploring Operation: 52/2=26, Resulting Numbers: [42, 26]
Generated Node #0,1,0: 58:[42, 26] Operation: 52/2=26
Exploring Operation: 52-42=10, Resulting Numbers: [2, 10]
Generated Node #0,1,1: 58:[2, 10] Operation: 52-42=10
Exploring Operation: 42/2=21, Resulting Numbers: [52, 21]
Generated Node #0,1,2: 58:[52, 21] Operation: 42/2=21
Moving to Node #0,1,1
Current State: 58:[2, 10], Operations: ['4+48=52', '52-42=10']
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,58 unequal: No Solution
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,58 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,58 unequal: No Solution
Moving to Node #0,1,2
Current State: 58:[52, 21], Operations: ['4+48=52', '42/2=21']
Exploring Operation: 52*21=1092, Resulting Numbers: [1092]
1092,58 unequal: No Solution
Exploring Operation: 52-21=31, Resulting Numbers: [31]
31,58 unequal: No Solution
Exploring Operation: 52+21=73, Resulting Numbers: [73]
73,58 unequal: No Solution
Moving to Node #0,1,0
Current State: 58:[42, 26], Operations: ['4+48=52', '52/2=26']
Exploring Operation: 42-26=16, Resulting Numbers: [16]
16,58 unequal: No Solution
Exploring Operation: 42*26=1092, Resulting Numbers: [1092]
1092,58 unequal: No Solution
Exploring Operation: 42+26=68, Resulting Numbers: [68]
68,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 58:[2, 48, 38], Operations: ['42-4=38']
Exploring Operation: 48-38=10, Resulting Numbers: [2, 10]
Generated Node #0,2,0: 58:[2, 10] Operation: 48-38=10
Exploring Operation: 2+48=50, Resulting Numbers: [38, 50]
Generated Node #0,2,1: 58:[38, 50] Operation: 2+48=50
Exploring Operation: 48/2=24, Resulting Numbers: [38, 24]
Generated Node #0,2,2: 58:[38, 24] Operation: 48/2=24
Moving to Node #0,2,0
Current State: 58:[2, 10], Operations: ['42-4=38', '48-38=10']
Exploring Operation: 2*10=20, Resulting Numbers: [20]
20,58 unequal: No Solution
Exploring Operation: 10-2=8, Resulting Numbers: [8]
8,58 unequal: No Solution
Exploring Operation: 10/2=5, Resulting Numbers: [5]
5,58 unequal: No Solution
Moving to Node #0,2,2
Current State: 58:[38, 24], Operations: ['42-4=38', '48/2=24']
Exploring Operation: 38-24=14, Resulting Numbers: [14]
14,58 unequal: No Solution
Exploring Operation: 38+24=62, Resulting Numbers: [62]
62,58 unequal: No Solution
Exploring Operation: 38*24=912, Resulting Numbers: [912]
912,58 unequal: No Solution
Moving to Node #0,2,1
Current State: 58:[38, 50], Operations: ['42-4=38', '2+48=50']
Exploring Operation: 50-38=12, Resulting Numbers: [12]
12,58 unequal: No Solution
Exploring Operation: 38+50=88, Resulting Numbers: [88]
88,58 unequal: No Solution
Exploring Operation: 38*50=1900, Resulting Numbers: [1900]
1900,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
53,
94,
8,
11
] | 38 | [
"94-53=41",
"11-8=3",
"41-3=38"
] | Current State: 38:[53, 94, 8, 11], Operations: []
Exploring Operation: 94-53=41, Resulting Numbers: [8, 11, 41]
Generated Node #2: [8, 11, 41] from Operation: 94-53=41
Current State: 38:[8, 11, 41], Operations: ['94-53=41']
Exploring Operation: 11-8=3, Resulting Numbers: [41, 3]
Generated Node #3: [41, 3] from Operation: 11-8=3
Current State: 38:[41, 3], Operations: ['94-53=41', '11-8=3']
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[53, 94, 8, 11], Operations: []
Exploring Operation: 53-11=42, Resulting Numbers: [94, 8, 42]
Generated Node #0,0: 38:[94, 8, 42] Operation: 53-11=42
Exploring Operation: 94-53=41, Resulting Numbers: [8, 11, 41]
Generated Node #0,1: 38:[8, 11, 41] Operation: 94-53=41
Start Sub Search at level 1: Moving to Node #0,1
Current State: 38:[8, 11, 41], Operations: ['94-53=41']
Exploring Operation: 11-8=3, Resulting Numbers: [41, 3]
Generated Node #0,1,0: 38:[41, 3] Operation: 11-8=3
Exploring Operation: 8+11=19, Resulting Numbers: [41, 19]
Generated Node #0,1,1: 38:[41, 19] Operation: 8+11=19
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 38:[41, 19], Operations: ['94-53=41', '8+11=19']
Exploring Operation: 41+19=60, Resulting Numbers: [60]
60,38 unequal: No Solution
Exploring Operation: 41-19=22, Resulting Numbers: [22]
22,38 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 38:[41, 3], Operations: ['94-53=41', '11-8=3']
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[53, 94, 8, 11], Operations: []
Exploring Operation: 94-53=41, Resulting Numbers: [8, 11, 41]
Generated Node #0,1: 38:[8, 11, 41] Operation: 94-53=41
Moving to Node #0,1
Current State: 38:[8, 11, 41], Operations: ['94-53=41']
Exploring Operation: 11-8=3, Resulting Numbers: [41, 3]
Generated Node #0,1,0: 38:[41, 3] Operation: 11-8=3
Moving to Node #0,1,0
Current State: 38:[41, 3], Operations: ['94-53=41', '11-8=3']
Exploring Operation: 41-3=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.990451 | hs_2 | sum_heuristic |
[
66,
81,
2,
92
] | 75 | [
"81-66=15",
"92-2=90",
"90-15=75"
] | Current State: 75:[66, 81, 2, 92], Operations: []
Exploring Operation: 81-66=15, Resulting Numbers: [2, 92, 15]
Generated Node #2: [2, 92, 15] from Operation: 81-66=15
Current State: 75:[2, 92, 15], Operations: ['81-66=15']
Exploring Operation: 92-2=90, Resulting Numbers: [15, 90]
Generated Node #3: [15, 90] from Operation: 92-2=90
Current State: 75:[15, 90], Operations: ['81-66=15', '92-2=90']
Exploring Operation: 90-15=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[66, 81, 2, 92], Operations: []
Exploring Operation: 92-66=26, Resulting Numbers: [81, 2, 26]
Generated Node #0,0: 75:[81, 2, 26] Operation: 92-66=26
Moving to Node #0,0
Current State: 75:[81, 2, 26], Operations: ['92-66=26']
Exploring Operation: 81-2=79, Resulting Numbers: [26, 79]
Generated Node #0,0,0: 75:[26, 79] Operation: 81-2=79
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 75:[26, 79], Operations: ['92-66=26', '81-2=79']
Exploring Operation: 79-26=53, Resulting Numbers: [53]
53,75 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 |
[
54,
16,
52,
73
] | 49 | [
"54+16=70",
"73-52=21",
"70-21=49"
] | Current State: 49:[54, 16, 52, 73], Operations: []
Exploring Operation: 54+16=70, Resulting Numbers: [52, 73, 70]
Generated Node #2: [52, 73, 70] from Operation: 54+16=70
Current State: 49:[52, 73, 70], Operations: ['54+16=70']
Exploring Operation: 73-52=21, Resulting Numbers: [70, 21]
Generated Node #3: [70, 21] from Operation: 73-52=21
Current State: 49:[70, 21], Operations: ['54+16=70', '73-52=21']
Exploring Operation: 70-21=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[54, 16, 52, 73], Operations: []
Exploring Operation: 73-16=57, Resulting Numbers: [54, 52, 57]
Generated Node #0,0: 49:[54, 52, 57] Operation: 73-16=57
Exploring Operation: 73-54=19, Resulting Numbers: [16, 52, 19]
Generated Node #0,1: 49:[16, 52, 19] Operation: 73-54=19
Exploring Operation: 73-52=21, Resulting Numbers: [54, 16, 21]
Generated Node #0,2: 49:[54, 16, 21] Operation: 73-52=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 49:[54, 52, 57], Operations: ['73-16=57']
Exploring Operation: 54-52=2, Resulting Numbers: [57, 2]
Generated Node #0,0,0: 49:[57, 2] Operation: 54-52=2
Exploring Operation: 57-52=5, Resulting Numbers: [54, 5]
Generated Node #0,0,1: 49:[54, 5] Operation: 57-52=5
Exploring Operation: 57-54=3, Resulting Numbers: [52, 3]
Generated Node #0,0,2: 49:[52, 3] Operation: 57-54=3
Moving to Node #0,0,1
Current State: 49:[54, 5], Operations: ['73-16=57', '57-52=5']
Exploring Operation: 54+5=59, Resulting Numbers: [59]
59,49 unequal: No Solution
Exploring Operation: 54*5=270, Resulting Numbers: [270]
270,49 unequal: No Solution
Exploring Operation: 54-5=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[54, 16, 52, 73], Operations: []
Exploring Operation: 73-16=57, Resulting Numbers: [54, 52, 57]
Generated Node #0,0: 49:[54, 52, 57] Operation: 73-16=57
Moving to Node #0,0
Current State: 49:[54, 52, 57], Operations: ['73-16=57']
Exploring Operation: 57-52=5, Resulting Numbers: [54, 5]
Generated Node #0,0,1: 49:[54, 5] Operation: 57-52=5
Moving to Node #0,0,1
Current State: 49:[54, 5], Operations: ['73-16=57', '57-52=5']
Exploring Operation: 54-5=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
45,
94,
64,
20
] | 35 | [
"94-45=49",
"64+20=84",
"84-49=35"
] | Current State: 35:[45, 94, 64, 20], Operations: []
Exploring Operation: 94-45=49, Resulting Numbers: [64, 20, 49]
Generated Node #2: [64, 20, 49] from Operation: 94-45=49
Current State: 35:[64, 20, 49], Operations: ['94-45=49']
Exploring Operation: 64+20=84, Resulting Numbers: [49, 84]
Generated Node #3: [49, 84] from Operation: 64+20=84
Current State: 35:[49, 84], Operations: ['94-45=49', '64+20=84']
Exploring Operation: 84-49=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[45, 94, 64, 20], Operations: []
Exploring Operation: 94-64=30, Resulting Numbers: [45, 20, 30]
Generated Node #0,0: 35:[45, 20, 30] Operation: 94-64=30
Exploring Operation: 94-45=49, Resulting Numbers: [64, 20, 49]
Generated Node #0,1: 35:[64, 20, 49] Operation: 94-45=49
Exploring Operation: 94-20=74, Resulting Numbers: [45, 64, 74]
Generated Node #0,2: 35:[45, 64, 74] Operation: 94-20=74
Start Sub Search at level 1: Moving to Node #0,0
Current State: 35:[45, 20, 30], Operations: ['94-64=30']
Exploring Operation: 45-20=25, Resulting Numbers: [30, 25]
Generated Node #0,0,0: 35:[30, 25] Operation: 45-20=25
Exploring Operation: 30-20=10, Resulting Numbers: [45, 10]
Generated Node #0,0,1: 35:[45, 10] Operation: 30-20=10
Exploring Operation: 45-30=15, Resulting Numbers: [20, 15]
Generated Node #0,0,2: 35:[20, 15] Operation: 45-30=15
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 35:[45, 10], Operations: ['94-64=30', '30-20=10']
Exploring Operation: 45+10=55, Resulting Numbers: [55]
55,35 unequal: No Solution
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[45, 94, 64, 20], Operations: []
Exploring Operation: 94-64=30, Resulting Numbers: [45, 20, 30]
Generated Node #0,0: 35:[45, 20, 30] Operation: 94-64=30
Moving to Node #0,0
Current State: 35:[45, 20, 30], Operations: ['94-64=30']
Exploring Operation: 30-20=10, Resulting Numbers: [45, 10]
Generated Node #0,0,1: 35:[45, 10] Operation: 30-20=10
Moving to Node #0,0,1
Current State: 35:[45, 10], Operations: ['94-64=30', '30-20=10']
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
96,
8,
80,
13
] | 10 | [
"96+8=104",
"80*13=1040",
"1040/104=10"
] | Current State: 10:[96, 8, 80, 13], Operations: []
Exploring Operation: 96+8=104, Resulting Numbers: [80, 13, 104]
Generated Node #2: [80, 13, 104] from Operation: 96+8=104
Current State: 10:[80, 13, 104], Operations: ['96+8=104']
Exploring Operation: 80*13=1040, Resulting Numbers: [104, 1040]
Generated Node #3: [104, 1040] from Operation: 80*13=1040
Current State: 10:[104, 1040], Operations: ['96+8=104', '80*13=1040']
Exploring Operation: 1040/104=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[96, 8, 80, 13], Operations: []
Exploring Operation: 80/8=10, Resulting Numbers: [96, 13, 10]
Generated Node #0,0: 10:[96, 13, 10] Operation: 80/8=10
Exploring Operation: 96/8=12, Resulting Numbers: [80, 13, 12]
Generated Node #0,1: 10:[80, 13, 12] Operation: 96/8=12
Exploring Operation: 96-13=83, Resulting Numbers: [8, 80, 83]
Generated Node #0,2: 10:[8, 80, 83] Operation: 96-13=83
Exploring Operation: 96-80=16, Resulting Numbers: [8, 13, 16]
Generated Node #0,3: 10:[8, 13, 16] Operation: 96-80=16
Start Sub Search at level 1: Moving to Node #0,3
Current State: 10:[8, 13, 16], Operations: ['96-80=16']
Exploring Operation: 16-13=3, Resulting Numbers: [8, 3]
Generated Node #0,3,0: 10:[8, 3] Operation: 16-13=3
Exploring Operation: 16-8=8, Resulting Numbers: [13, 8]
Generated Node #0,3,1: 10:[13, 8] Operation: 16-8=8
Exploring Operation: 16/8=2, Resulting Numbers: [13, 2]
Generated Node #0,3,2: 10:[13, 2] Operation: 16/8=2
Exploring Operation: 13-8=5, Resulting Numbers: [16, 5]
Generated Node #0,3,3: 10:[16, 5] Operation: 13-8=5
Moving to Node #0,3,0
Current State: 10:[8, 3], Operations: ['96-80=16', '16-13=3']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,10 unequal: No Solution
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,10 unequal: No Solution
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Moving to Node #0,3,2
Current State: 10:[13, 2], Operations: ['96-80=16', '16/8=2']
Exploring Operation: 13*2=26, Resulting Numbers: [26]
26,10 unequal: No Solution
Exploring Operation: 13+2=15, Resulting Numbers: [15]
15,10 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Moving to Node #0,3,1
Current State: 10:[13, 8], Operations: ['96-80=16', '16-8=8']
Exploring Operation: 13-8=5, Resulting Numbers: [5]
5,10 unequal: No Solution
Exploring Operation: 13*8=104, Resulting Numbers: [104]
104,10 unequal: No Solution
Exploring Operation: 13+8=21, Resulting Numbers: [21]
21,10 unequal: No Solution
Moving to Node #0,3,3
Current State: 10:[16, 5], Operations: ['96-80=16', '13-8=5']
Exploring Operation: 16-5=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Exploring Operation: 16*5=80, Resulting Numbers: [80]
80,10 unequal: No Solution
Exploring Operation: 16+5=21, Resulting Numbers: [21]
21,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[80, 13, 12], Operations: ['96/8=12']
Exploring Operation: 80+13=93, Resulting Numbers: [12, 93]
Generated Node #0,1,0: 10:[12, 93] Operation: 80+13=93
Exploring Operation: 13-12=1, Resulting Numbers: [80, 1]
Generated Node #0,1,1: 10:[80, 1] Operation: 13-12=1
Exploring Operation: 80-13=67, Resulting Numbers: [12, 67]
Generated Node #0,1,2: 10:[12, 67] Operation: 80-13=67
Exploring Operation: 80-12=68, Resulting Numbers: [13, 68]
Generated Node #0,1,3: 10:[13, 68] Operation: 80-12=68
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 10:[12, 67], Operations: ['96/8=12', '80-13=67']
Exploring Operation: 12+67=79, Resulting Numbers: [79]
79,10 unequal: No Solution
Exploring Operation: 67-12=55, Resulting Numbers: [55]
55,10 unequal: No Solution
Exploring Operation: 12*67=804, Resulting Numbers: [804]
804,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 10:[13, 68], Operations: ['96/8=12', '80-12=68']
Exploring Operation: 68-13=55, Resulting Numbers: [55]
55,10 unequal: No Solution
Exploring Operation: 13*68=884, Resulting Numbers: [884]
884,10 unequal: No Solution
Exploring Operation: 13+68=81, Resulting Numbers: [81]
81,10 unequal: No Solution
No 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: 10:[80, 1], Operations: ['96/8=12', '13-12=1']
Exploring Operation: 80*1=80, Resulting Numbers: [80]
80,10 unequal: No Solution
Exploring Operation: 80-1=79, Resulting Numbers: [79]
79,10 unequal: No Solution
Exploring Operation: 80+1=81, Resulting Numbers: [81]
81,10 unequal: No Solution
Exploring Operation: 80/1=80, Resulting Numbers: [80]
80,10 unequal: No Solution
No 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: 10:[12, 93], Operations: ['96/8=12', '80+13=93']
Exploring Operation: 93-12=81, Resulting Numbers: [81]
81,10 unequal: No Solution
Exploring Operation: 12*93=1116, Resulting Numbers: [1116]
1116,10 unequal: No Solution
Exploring Operation: 12+93=105, Resulting Numbers: [105]
105,10 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: 10:[96, 13, 10], Operations: ['80/8=10']
Exploring Operation: 96-13=83, Resulting Numbers: [10, 83]
Generated Node #0,0,0: 10:[10, 83] Operation: 96-13=83
Exploring Operation: 96-10=86, Resulting Numbers: [13, 86]
Generated Node #0,0,1: 10:[13, 86] Operation: 96-10=86
Exploring Operation: 13-10=3, Resulting Numbers: [96, 3]
Generated Node #0,0,2: 10:[96, 3] Operation: 13-10=3
Exploring Operation: 96+13=109, Resulting Numbers: [10, 109]
Generated Node #0,0,3: 10:[10, 109] Operation: 96+13=109
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 10:[10, 83], Operations: ['80/8=10', '96-13=83']
Exploring Operation: 10+83=93, Resulting Numbers: [93]
93,10 unequal: No Solution
Exploring Operation: 83-10=73, Resulting Numbers: [73]
73,10 unequal: No Solution
Exploring Operation: 10*83=830, Resulting Numbers: [830]
830,10 unequal: No Solution
No 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: 10:[13, 86], Operations: ['80/8=10', '96-10=86']
Exploring Operation: 13*86=1118, Resulting Numbers: [1118]
1118,10 unequal: No Solution
Exploring Operation: 13+86=99, Resulting Numbers: [99]
99,10 unequal: No Solution
Exploring Operation: 86-13=73, Resulting Numbers: [73]
73,10 unequal: No Solution
No 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: 10:[96, 3], Operations: ['80/8=10', '13-10=3']
Exploring Operation: 96+3=99, Resulting Numbers: [99]
99,10 unequal: No Solution
Exploring Operation: 96*3=288, Resulting Numbers: [288]
288,10 unequal: No Solution
Exploring Operation: 96-3=93, Resulting Numbers: [93]
93,10 unequal: No Solution
Exploring Operation: 96/3=32, Resulting Numbers: [32]
32,10 unequal: No Solution
No 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: 10:[10, 109], Operations: ['80/8=10', '96+13=109']
Exploring Operation: 10*109=1090, Resulting Numbers: [1090]
1090,10 unequal: No Solution
Exploring Operation: 109-10=99, Resulting Numbers: [99]
99,10 unequal: No Solution
Exploring Operation: 10+109=119, Resulting Numbers: [119]
119,10 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: 10:[8, 80, 83], Operations: ['96-13=83']
Exploring Operation: 80/8=10, Resulting Numbers: [83, 10]
Generated Node #0,2,0: 10:[83, 10] Operation: 80/8=10
Exploring Operation: 83-80=3, Resulting Numbers: [8, 3]
Generated Node #0,2,1: 10:[8, 3] Operation: 83-80=3
Exploring Operation: 83-8=75, Resulting Numbers: [80, 75]
Generated Node #0,2,2: 10:[80, 75] Operation: 83-8=75
Exploring Operation: 80-8=72, Resulting Numbers: [83, 72]
Generated Node #0,2,3: 10:[83, 72] Operation: 80-8=72
Moving to Node #0,2,1
Current State: 10:[8, 3], Operations: ['96-13=83', '83-80=3']
Exploring Operation: 8-3=5, Resulting Numbers: [5]
5,10 unequal: No Solution
Exploring Operation: 8+3=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Exploring Operation: 8*3=24, Resulting Numbers: [24]
24,10 unequal: No Solution
Moving to Node #0,2,0
Current State: 10:[83, 10], Operations: ['96-13=83', '80/8=10']
Exploring Operation: 83-10=73, Resulting Numbers: [73]
73,10 unequal: No Solution
Exploring Operation: 83*10=830, Resulting Numbers: [830]
830,10 unequal: No Solution
Exploring Operation: 83+10=93, Resulting Numbers: [93]
93,10 unequal: No Solution
Moving to Node #0,2,3
Current State: 10:[83, 72], Operations: ['96-13=83', '80-8=72']
Exploring Operation: 83*72=5976, Resulting Numbers: [5976]
5976,10 unequal: No Solution
Exploring Operation: 83+72=155, Resulting Numbers: [155]
155,10 unequal: No Solution
Exploring Operation: 83-72=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Moving to Node #0,2,2
Current State: 10:[80, 75], Operations: ['96-13=83', '83-8=75']
Exploring Operation: 80+75=155, Resulting Numbers: [155]
155,10 unequal: No Solution
Exploring Operation: 80-75=5, Resulting Numbers: [5]
5,10 unequal: No Solution
Exploring Operation: 80*75=6000, Resulting Numbers: [6000]
6000,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
26,
12,
88,
87
] | 14 | [
"26-12=14",
"88-87=1",
"14*1=14"
] | Current State: 14:[26, 12, 88, 87], Operations: []
Exploring Operation: 26-12=14, Resulting Numbers: [88, 87, 14]
Generated Node #2: [88, 87, 14] from Operation: 26-12=14
Current State: 14:[88, 87, 14], Operations: ['26-12=14']
Exploring Operation: 88-87=1, Resulting Numbers: [14, 1]
Generated Node #3: [14, 1] from Operation: 88-87=1
Current State: 14:[14, 1], Operations: ['26-12=14', '88-87=1']
Exploring Operation: 14*1=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[26, 12, 88, 87], Operations: []
Exploring Operation: 88-26=62, Resulting Numbers: [12, 87, 62]
Generated Node #0,0: 14:[12, 87, 62] Operation: 88-26=62
Exploring Operation: 88-87=1, Resulting Numbers: [26, 12, 1]
Generated Node #0,1: 14:[26, 12, 1] Operation: 88-87=1
Exploring Operation: 87-26=61, Resulting Numbers: [12, 88, 61]
Generated Node #0,2: 14:[12, 88, 61] Operation: 87-26=61
Moving to Node #0,1
Current State: 14:[26, 12, 1], Operations: ['88-87=1']
Exploring Operation: 26-1=25, Resulting Numbers: [12, 25]
Generated Node #0,1,0: 14:[12, 25] Operation: 26-1=25
Exploring Operation: 26-12=14, Resulting Numbers: [1, 14]
Generated Node #0,1,1: 14:[1, 14] Operation: 26-12=14
Exploring Operation: 12+1=13, Resulting Numbers: [26, 13]
Generated Node #0,1,2: 14:[26, 13] Operation: 12+1=13
Moving to Node #0,0
Current State: 14:[12, 87, 62], Operations: ['88-26=62']
Exploring Operation: 87-62=25, Resulting Numbers: [12, 25]
Generated Node #0,0,0: 14:[12, 25] Operation: 87-62=25
Exploring Operation: 62-12=50, Resulting Numbers: [87, 50]
Generated Node #0,0,1: 14:[87, 50] Operation: 62-12=50
Exploring Operation: 87-12=75, Resulting Numbers: [62, 75]
Generated Node #0,0,2: 14:[62, 75] Operation: 87-12=75
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 14:[12, 25], Operations: ['88-26=62', '87-62=25']
Exploring Operation: 25-12=13, Resulting Numbers: [13]
13,14 unequal: No Solution
Exploring Operation: 12+25=37, Resulting Numbers: [37]
37,14 unequal: No Solution
Exploring Operation: 12*25=300, Resulting Numbers: [300]
300,14 unequal: No Solution
No 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: 14:[87, 50], Operations: ['88-26=62', '62-12=50']
Exploring Operation: 87-50=37, Resulting Numbers: [37]
37,14 unequal: No Solution
Exploring Operation: 87+50=137, Resulting Numbers: [137]
137,14 unequal: No Solution
Exploring Operation: 87*50=4350, Resulting Numbers: [4350]
4350,14 unequal: No Solution
No 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: 14:[62, 75], Operations: ['88-26=62', '87-12=75']
Exploring Operation: 75-62=13, Resulting Numbers: [13]
13,14 unequal: No Solution
Exploring Operation: 62*75=4650, Resulting Numbers: [4650]
4650,14 unequal: No Solution
Exploring Operation: 62+75=137, Resulting Numbers: [137]
137,14 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: 14:[12, 88, 61], Operations: ['87-26=61']
Exploring Operation: 88-12=76, Resulting Numbers: [61, 76]
Generated Node #0,2,0: 14:[61, 76] Operation: 88-12=76
Exploring Operation: 61-12=49, Resulting Numbers: [88, 49]
Generated Node #0,2,1: 14:[88, 49] Operation: 61-12=49
Exploring Operation: 88-61=27, Resulting Numbers: [12, 27]
Generated Node #0,2,2: 14:[12, 27] Operation: 88-61=27
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 14:[12, 27], Operations: ['87-26=61', '88-61=27']
Exploring Operation: 12*27=324, Resulting Numbers: [324]
324,14 unequal: No Solution
Exploring Operation: 12+27=39, Resulting Numbers: [39]
39,14 unequal: No Solution
Exploring Operation: 27-12=15, Resulting Numbers: [15]
15,14 unequal: No Solution
No 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: 14:[61, 76], Operations: ['87-26=61', '88-12=76']
Exploring Operation: 76-61=15, Resulting Numbers: [15]
15,14 unequal: No Solution
Exploring Operation: 61*76=4636, Resulting Numbers: [4636]
4636,14 unequal: No Solution
Exploring Operation: 61+76=137, Resulting Numbers: [137]
137,14 unequal: No Solution
No 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: 14:[88, 49], Operations: ['87-26=61', '61-12=49']
Exploring Operation: 88+49=137, Resulting Numbers: [137]
137,14 unequal: No Solution
Exploring Operation: 88*49=4312, Resulting Numbers: [4312]
4312,14 unequal: No Solution
Exploring Operation: 88-49=39, Resulting Numbers: [39]
39,14 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 14:[1, 14], Operations: ['88-87=1', '26-12=14']
Exploring Operation: 1*14=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[26, 12, 88, 87], Operations: []
Exploring Operation: 88-87=1, Resulting Numbers: [26, 12, 1]
Generated Node #0,1: 14:[26, 12, 1] Operation: 88-87=1
Moving to Node #0,1
Current State: 14:[26, 12, 1], Operations: ['88-87=1']
Exploring Operation: 26-12=14, Resulting Numbers: [1, 14]
Generated Node #0,1,1: 14:[1, 14] Operation: 26-12=14
Moving to Node #0,1,1
Current State: 14:[1, 14], Operations: ['88-87=1', '26-12=14']
Exploring Operation: 1*14=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 0.969618 | hs_3 | mult_heuristic |
[
66,
37,
2,
70
] | 25 | [
"66*2=132",
"37+70=107",
"132-107=25"
] | Current State: 25:[66, 37, 2, 70], Operations: []
Exploring Operation: 66*2=132, Resulting Numbers: [37, 70, 132]
Generated Node #2: [37, 70, 132] from Operation: 66*2=132
Current State: 25:[37, 70, 132], Operations: ['66*2=132']
Exploring Operation: 37+70=107, Resulting Numbers: [132, 107]
Generated Node #3: [132, 107] from Operation: 37+70=107
Current State: 25:[132, 107], Operations: ['66*2=132', '37+70=107']
Exploring Operation: 132-107=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[66, 37, 2, 70], Operations: []
Exploring Operation: 66/2=33, Resulting Numbers: [37, 70, 33]
Generated Node #0,0: 25:[37, 70, 33] Operation: 66/2=33
Exploring Operation: 70/2=35, Resulting Numbers: [66, 37, 35]
Generated Node #0,1: 25:[66, 37, 35] Operation: 70/2=35
Exploring Operation: 70-37=33, Resulting Numbers: [66, 2, 33]
Generated Node #0,2: 25:[66, 2, 33] Operation: 70-37=33
Exploring Operation: 66-37=29, Resulting Numbers: [2, 70, 29]
Generated Node #0,3: 25:[2, 70, 29] Operation: 66-37=29
Exploring Operation: 70-66=4, Resulting Numbers: [37, 2, 4]
Generated Node #0,4: 25:[37, 2, 4] Operation: 70-66=4
Moving to Node #0,4
Current State: 25:[37, 2, 4], Operations: ['70-66=4']
Exploring Operation: 37-4=33, Resulting Numbers: [2, 33]
Generated Node #0,4,0: 25:[2, 33] Operation: 37-4=33
Exploring Operation: 2+4=6, Resulting Numbers: [37, 6]
Generated Node #0,4,1: 25:[37, 6] Operation: 2+4=6
Exploring Operation: 2*4=8, Resulting Numbers: [37, 8]
Generated Node #0,4,2: 25:[37, 8] Operation: 2*4=8
Exploring Operation: 37+2=39, Resulting Numbers: [4, 39]
Generated Node #0,4,3: 25:[4, 39] Operation: 37+2=39
Exploring Operation: 37-2=35, Resulting Numbers: [4, 35]
Generated Node #0,4,4: 25:[4, 35] Operation: 37-2=35
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 25:[2, 33], Operations: ['70-66=4', '37-4=33']
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,25 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,25 unequal: No Solution
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 25:[4, 35], Operations: ['70-66=4', '37-2=35']
Exploring Operation: 4+35=39, Resulting Numbers: [39]
39,25 unequal: No Solution
Exploring Operation: 4*35=140, Resulting Numbers: [140]
140,25 unequal: No Solution
Exploring Operation: 35-4=31, Resulting Numbers: [31]
31,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 25:[37, 6], Operations: ['70-66=4', '2+4=6']
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,25 unequal: No Solution
Exploring Operation: 37+6=43, Resulting Numbers: [43]
43,25 unequal: No Solution
Exploring Operation: 37*6=222, Resulting Numbers: [222]
222,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 25:[37, 8], Operations: ['70-66=4', '2*4=8']
Exploring Operation: 37+8=45, Resulting Numbers: [45]
45,25 unequal: No Solution
Exploring Operation: 37-8=29, Resulting Numbers: [29]
29,25 unequal: No Solution
Exploring Operation: 37*8=296, Resulting Numbers: [296]
296,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 25:[4, 39], Operations: ['70-66=4', '37+2=39']
Exploring Operation: 39-4=35, Resulting Numbers: [35]
35,25 unequal: No Solution
Exploring Operation: 4+39=43, Resulting Numbers: [43]
43,25 unequal: No Solution
Exploring Operation: 4*39=156, Resulting Numbers: [156]
156,25 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: 25:[2, 70, 29], Operations: ['66-37=29']
Exploring Operation: 70-29=41, Resulting Numbers: [2, 41]
Generated Node #0,3,0: 25:[2, 41] Operation: 70-29=41
Exploring Operation: 70/2=35, Resulting Numbers: [29, 35]
Generated Node #0,3,1: 25:[29, 35] Operation: 70/2=35
Exploring Operation: 29-2=27, Resulting Numbers: [70, 27]
Generated Node #0,3,2: 25:[70, 27] Operation: 29-2=27
Exploring Operation: 70-2=68, Resulting Numbers: [29, 68]
Generated Node #0,3,3: 25:[29, 68] Operation: 70-2=68
Exploring Operation: 2+70=72, Resulting Numbers: [29, 72]
Generated Node #0,3,4: 25:[29, 72] Operation: 2+70=72
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 25:[29, 35], Operations: ['66-37=29', '70/2=35']
Exploring Operation: 35-29=6, Resulting Numbers: [6]
6,25 unequal: No Solution
Exploring Operation: 29*35=1015, Resulting Numbers: [1015]
1015,25 unequal: No Solution
Exploring Operation: 29+35=64, Resulting Numbers: [64]
64,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 25:[2, 41], Operations: ['66-37=29', '70-29=41']
Exploring Operation: 2+41=43, Resulting Numbers: [43]
43,25 unequal: No Solution
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,25 unequal: No Solution
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 25:[70, 27], Operations: ['66-37=29', '29-2=27']
Exploring Operation: 70-27=43, Resulting Numbers: [43]
43,25 unequal: No Solution
Exploring Operation: 70+27=97, Resulting Numbers: [97]
97,25 unequal: No Solution
Exploring Operation: 70*27=1890, Resulting Numbers: [1890]
1890,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 25:[29, 68], Operations: ['66-37=29', '70-2=68']
Exploring Operation: 29+68=97, Resulting Numbers: [97]
97,25 unequal: No Solution
Exploring Operation: 68-29=39, Resulting Numbers: [39]
39,25 unequal: No Solution
Exploring Operation: 29*68=1972, Resulting Numbers: [1972]
1972,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 25:[29, 72], Operations: ['66-37=29', '2+70=72']
Exploring Operation: 72-29=43, Resulting Numbers: [43]
43,25 unequal: No Solution
Exploring Operation: 29+72=101, Resulting Numbers: [101]
101,25 unequal: No Solution
Exploring Operation: 29*72=2088, Resulting Numbers: [2088]
2088,25 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: 25:[66, 2, 33], Operations: ['70-37=33']
Exploring Operation: 66-2=64, Resulting Numbers: [33, 64]
Generated Node #0,2,0: 25:[33, 64] Operation: 66-2=64
Exploring Operation: 66/33=2, Resulting Numbers: [2, 2]
Generated Node #0,2,1: 25:[2, 2] Operation: 66/33=2
Exploring Operation: 66-33=33, Resulting Numbers: [2, 33]
Generated Node #0,2,2: 25:[2, 33] Operation: 66-33=33
Exploring Operation: 66/2=33, Resulting Numbers: [33, 33]
Generated Node #0,2,3: 25:[33, 33] Operation: 66/2=33
Exploring Operation: 33-2=31, Resulting Numbers: [66, 31]
Generated Node #0,2,4: 25:[66, 31] Operation: 33-2=31
Moving to Node #0,1
Current State: 25:[66, 37, 35], Operations: ['70/2=35']
Exploring Operation: 37-35=2, Resulting Numbers: [66, 2]
Generated Node #0,1,0: 25:[66, 2] Operation: 37-35=2
Exploring Operation: 66+35=101, Resulting Numbers: [37, 101]
Generated Node #0,1,1: 25:[37, 101] Operation: 66+35=101
Exploring Operation: 66+37=103, Resulting Numbers: [35, 103]
Generated Node #0,1,2: 25:[35, 103] Operation: 66+37=103
Exploring Operation: 66-37=29, Resulting Numbers: [35, 29]
Generated Node #0,1,3: 25:[35, 29] Operation: 66-37=29
Exploring Operation: 66-35=31, Resulting Numbers: [37, 31]
Generated Node #0,1,4: 25:[37, 31] Operation: 66-35=31
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 25:[35, 29], Operations: ['70/2=35', '66-37=29']
Exploring Operation: 35+29=64, Resulting Numbers: [64]
64,25 unequal: No Solution
Exploring Operation: 35*29=1015, Resulting Numbers: [1015]
1015,25 unequal: No Solution
Exploring Operation: 35-29=6, Resulting Numbers: [6]
6,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 25:[37, 31], Operations: ['70/2=35', '66-35=31']
Exploring Operation: 37*31=1147, Resulting Numbers: [1147]
1147,25 unequal: No Solution
Exploring Operation: 37-31=6, Resulting Numbers: [6]
6,25 unequal: No Solution
Exploring Operation: 37+31=68, Resulting Numbers: [68]
68,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 25:[66, 2], Operations: ['70/2=35', '37-35=2']
Exploring Operation: 66*2=132, Resulting Numbers: [132]
132,25 unequal: No Solution
Exploring Operation: 66/2=33, Resulting Numbers: [33]
33,25 unequal: No Solution
Exploring Operation: 66+2=68, Resulting Numbers: [68]
68,25 unequal: No Solution
Exploring Operation: 66-2=64, Resulting Numbers: [64]
64,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 25:[37, 101], Operations: ['70/2=35', '66+35=101']
Exploring Operation: 37+101=138, Resulting Numbers: [138]
138,25 unequal: No Solution
Exploring Operation: 37*101=3737, Resulting Numbers: [3737]
3737,25 unequal: No Solution
Exploring Operation: 101-37=64, Resulting Numbers: [64]
64,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 25:[35, 103], Operations: ['70/2=35', '66+37=103']
Exploring Operation: 35*103=3605, Resulting Numbers: [3605]
3605,25 unequal: No Solution
Exploring Operation: 35+103=138, Resulting Numbers: [138]
138,25 unequal: No Solution
Exploring Operation: 103-35=68, Resulting Numbers: [68]
68,25 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: 25:[37, 70, 33], Operations: ['66/2=33']
Exploring Operation: 37-33=4, Resulting Numbers: [70, 4]
Generated Node #0,0,0: 25:[70, 4] Operation: 37-33=4
Exploring Operation: 70-37=33, Resulting Numbers: [33, 33]
Generated Node #0,0,1: 25:[33, 33] Operation: 70-37=33
Exploring Operation: 37+70=107, Resulting Numbers: [33, 107]
Generated Node #0,0,2: 25:[33, 107] Operation: 37+70=107
Exploring Operation: 70-33=37, Resulting Numbers: [37, 37]
Generated Node #0,0,3: 25:[37, 37] Operation: 70-33=37
Exploring Operation: 37+33=70, Resulting Numbers: [70, 70]
Generated Node #0,0,4: 25:[70, 70] Operation: 37+33=70
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 25:[33, 33], Operations: ['66/2=33', '70-37=33']
Exploring Operation: 33/33=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 33*33=1089, Resulting Numbers: [1089]
1089,25 unequal: No Solution
Exploring Operation: 33+33=66, Resulting Numbers: [66]
66,25 unequal: No Solution
Exploring Operation: 33-33=0, Resulting Numbers: [0]
0,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 25:[37, 37], Operations: ['66/2=33', '70-33=37']
Exploring Operation: 37/37=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 37-37=0, Resulting Numbers: [0]
0,25 unequal: No Solution
Exploring Operation: 37*37=1369, Resulting Numbers: [1369]
1369,25 unequal: No Solution
Exploring Operation: 37+37=74, Resulting Numbers: [74]
74,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 25:[70, 4], Operations: ['66/2=33', '37-33=4']
Exploring Operation: 70+4=74, Resulting Numbers: [74]
74,25 unequal: No Solution
Exploring Operation: 70*4=280, Resulting Numbers: [280]
280,25 unequal: No Solution
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 25:[33, 107], Operations: ['66/2=33', '37+70=107']
Exploring Operation: 33+107=140, Resulting Numbers: [140]
140,25 unequal: No Solution
Exploring Operation: 33*107=3531, Resulting Numbers: [3531]
3531,25 unequal: No Solution
Exploring Operation: 107-33=74, Resulting Numbers: [74]
74,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 25:[70, 70], Operations: ['66/2=33', '37+33=70']
Exploring Operation: 70*70=4900, Resulting Numbers: [4900]
4900,25 unequal: No Solution
Exploring Operation: 70+70=140, Resulting Numbers: [140]
140,25 unequal: No Solution
Exploring Operation: 70-70=0, Resulting Numbers: [0]
0,25 unequal: No Solution
Exploring Operation: 70/70=1, Resulting Numbers: [1]
1,25 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: 25:[2, 2], Operations: ['70-37=33', '66/33=2']
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Exploring Operation: 2-2=0, Resulting Numbers: [0]
0,25 unequal: No Solution
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 2*2=4, Resulting Numbers: [4]
4,25 unequal: No Solution
Moving to Node #0,2,2
Current State: 25:[2, 33], Operations: ['70-37=33', '66-33=33']
Exploring Operation: 2+33=35, Resulting Numbers: [35]
35,25 unequal: No Solution
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,25 unequal: No Solution
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,25 unequal: No Solution
Moving to Node #0,2,3
Current State: 25:[33, 33], Operations: ['70-37=33', '66/2=33']
Exploring Operation: 33*33=1089, Resulting Numbers: [1089]
1089,25 unequal: No Solution
Exploring Operation: 33/33=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 33+33=66, Resulting Numbers: [66]
66,25 unequal: No Solution
Exploring Operation: 33-33=0, Resulting Numbers: [0]
0,25 unequal: No Solution
Moving to Node #0,2,0
Current State: 25:[33, 64], Operations: ['70-37=33', '66-2=64']
Exploring Operation: 64-33=31, Resulting Numbers: [31]
31,25 unequal: No Solution
Exploring Operation: 33+64=97, Resulting Numbers: [97]
97,25 unequal: No Solution
Exploring Operation: 33*64=2112, Resulting Numbers: [2112]
2112,25 unequal: No Solution
Moving to Node #0,2,4
Current State: 25:[66, 31], Operations: ['70-37=33', '33-2=31']
Exploring Operation: 66+31=97, Resulting Numbers: [97]
97,25 unequal: No Solution
Exploring Operation: 66*31=2046, Resulting Numbers: [2046]
2046,25 unequal: No Solution
Exploring Operation: 66-31=35, Resulting Numbers: [35]
35,25 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
61,
18,
65,
9
] | 12 | [
"61-18=43",
"65+43=108",
"108/9=12"
] | Current State: 12:[61, 18, 65, 9], Operations: []
Exploring Operation: 61-18=43, Resulting Numbers: [65, 9, 43]
Generated Node #2: [65, 9, 43] from Operation: 61-18=43
Current State: 12:[65, 9, 43], Operations: ['61-18=43']
Exploring Operation: 65+43=108, Resulting Numbers: [9, 108]
Generated Node #3: [9, 108] from Operation: 65+43=108
Current State: 12:[9, 108], Operations: ['61-18=43', '65+43=108']
Exploring Operation: 108/9=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[61, 18, 65, 9], Operations: []
Exploring Operation: 65-61=4, Resulting Numbers: [18, 9, 4]
Generated Node #0,0: 12:[18, 9, 4] Operation: 65-61=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 12:[18, 9, 4], Operations: ['65-61=4']
Exploring Operation: 18/9=2, Resulting Numbers: [4, 2]
Generated Node #0,0,0: 12:[4, 2] Operation: 18/9=2
Moving to Node #0,0,0
Current State: 12:[4, 2], Operations: ['65-61=4', '18/9=2']
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
83,
5,
69,
9
] | 56 | [
"83-69=14",
"9-5=4",
"14*4=56"
] | Current State: 56:[83, 5, 69, 9], Operations: []
Exploring Operation: 83-69=14, Resulting Numbers: [5, 9, 14]
Generated Node #2: [5, 9, 14] from Operation: 83-69=14
Current State: 56:[5, 9, 14], Operations: ['83-69=14']
Exploring Operation: 9-5=4, Resulting Numbers: [14, 4]
Generated Node #3: [14, 4] from Operation: 9-5=4
Current State: 56:[14, 4], Operations: ['83-69=14', '9-5=4']
Exploring Operation: 14*4=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[83, 5, 69, 9], Operations: []
Exploring Operation: 83-69=14, Resulting Numbers: [5, 9, 14]
Generated Node #0,0: 56:[5, 9, 14] Operation: 83-69=14
Exploring Operation: 83-9=74, Resulting Numbers: [5, 69, 74]
Generated Node #0,1: 56:[5, 69, 74] Operation: 83-9=74
Moving to Node #0,0
Current State: 56:[5, 9, 14], Operations: ['83-69=14']
Exploring Operation: 9-5=4, Resulting Numbers: [14, 4]
Generated Node #0,0,0: 56:[14, 4] Operation: 9-5=4
Exploring Operation: 5+9=14, Resulting Numbers: [14, 14]
Generated Node #0,0,1: 56:[14, 14] Operation: 5+9=14
Moving to Node #0,1
Current State: 56:[5, 69, 74], Operations: ['83-9=74']
Exploring Operation: 74-69=5, Resulting Numbers: [5, 5]
Generated Node #0,1,0: 56:[5, 5] Operation: 74-69=5
Exploring Operation: 69-5=64, Resulting Numbers: [74, 64]
Generated Node #0,1,1: 56:[74, 64] Operation: 69-5=64
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 56:[5, 5], Operations: ['83-9=74', '74-69=5']
Exploring Operation: 5+5=10, Resulting Numbers: [10]
10,56 unequal: No Solution
Exploring Operation: 5/5=1, Resulting Numbers: [1]
1,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 56:[74, 64], Operations: ['83-9=74', '69-5=64']
Exploring Operation: 74+64=138, Resulting Numbers: [138]
138,56 unequal: No Solution
Exploring Operation: 74-64=10, Resulting Numbers: [10]
10,56 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: 56:[14, 4], Operations: ['83-69=14', '9-5=4']
Exploring Operation: 14*4=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[83, 5, 69, 9], Operations: []
Exploring Operation: 83-69=14, Resulting Numbers: [5, 9, 14]
Generated Node #0,0: 56:[5, 9, 14] Operation: 83-69=14
Moving to Node #0,0
Current State: 56:[5, 9, 14], Operations: ['83-69=14']
Exploring Operation: 9-5=4, Resulting Numbers: [14, 4]
Generated Node #0,0,0: 56:[14, 4] Operation: 9-5=4
Moving to Node #0,0,0
Current State: 56:[14, 4], Operations: ['83-69=14', '9-5=4']
Exploring Operation: 14*4=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 0.986979 | hs_2 | mult_heuristic |
[
32,
30,
22,
37
] | 61 | [
"32-30=2",
"22+37=59",
"2+59=61"
] | Current State: 61:[32, 30, 22, 37], Operations: []
Exploring Operation: 32-30=2, Resulting Numbers: [22, 37, 2]
Generated Node #2: [22, 37, 2] from Operation: 32-30=2
Current State: 61:[22, 37, 2], Operations: ['32-30=2']
Exploring Operation: 22+37=59, Resulting Numbers: [2, 59]
Generated Node #3: [2, 59] from Operation: 22+37=59
Current State: 61:[2, 59], Operations: ['32-30=2', '22+37=59']
Exploring Operation: 2+59=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[32, 30, 22, 37], Operations: []
Exploring Operation: 32+22=54, Resulting Numbers: [30, 37, 54]
Generated Node #0,0: 61:[30, 37, 54] Operation: 32+22=54
Moving to Node #0,0
Current State: 61:[30, 37, 54], Operations: ['32+22=54']
Exploring Operation: 30+37=67, Resulting Numbers: [54, 67]
Generated Node #0,0,0: 61:[54, 67] Operation: 30+37=67
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 61:[54, 67], Operations: ['32+22=54', '30+37=67']
Exploring Operation: 67-54=13, Resulting Numbers: [13]
13,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 |
[
86,
3,
98,
71
] | 77 | [
"98-71=27",
"27/3=9",
"86-9=77"
] | Current State: 77:[86, 3, 98, 71], Operations: []
Exploring Operation: 98-71=27, Resulting Numbers: [86, 3, 27]
Generated Node #2: [86, 3, 27] from Operation: 98-71=27
Current State: 77:[86, 3, 27], Operations: ['98-71=27']
Exploring Operation: 27/3=9, Resulting Numbers: [86, 9]
Generated Node #3: [86, 9] from Operation: 27/3=9
Current State: 77:[86, 9], Operations: ['98-71=27', '27/3=9']
Exploring Operation: 86-9=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[86, 3, 98, 71], Operations: []
Exploring Operation: 86-3=83, Resulting Numbers: [98, 71, 83]
Generated Node #0,0: 77:[98, 71, 83] Operation: 86-3=83
Exploring Operation: 86-71=15, Resulting Numbers: [3, 98, 15]
Generated Node #0,1: 77:[3, 98, 15] Operation: 86-71=15
Exploring Operation: 98-71=27, Resulting Numbers: [86, 3, 27]
Generated Node #0,2: 77:[86, 3, 27] Operation: 98-71=27
Exploring Operation: 98-86=12, Resulting Numbers: [3, 71, 12]
Generated Node #0,3: 77:[3, 71, 12] Operation: 98-86=12
Moving to Node #0,3
Current State: 77:[3, 71, 12], Operations: ['98-86=12']
Exploring Operation: 71-3=68, Resulting Numbers: [12, 68]
Generated Node #0,3,0: 77:[12, 68] Operation: 71-3=68
Exploring Operation: 12/3=4, Resulting Numbers: [71, 4]
Generated Node #0,3,1: 77:[71, 4] Operation: 12/3=4
Exploring Operation: 3+71=74, Resulting Numbers: [12, 74]
Generated Node #0,3,2: 77:[12, 74] Operation: 3+71=74
Exploring Operation: 12-3=9, Resulting Numbers: [71, 9]
Generated Node #0,3,3: 77:[71, 9] Operation: 12-3=9
Moving to Node #0,2
Current State: 77:[86, 3, 27], Operations: ['98-71=27']
Exploring Operation: 3*27=81, Resulting Numbers: [86, 81]
Generated Node #0,2,0: 77:[86, 81] Operation: 3*27=81
Exploring Operation: 86-27=59, Resulting Numbers: [3, 59]
Generated Node #0,2,1: 77:[3, 59] Operation: 86-27=59
Exploring Operation: 86-3=83, Resulting Numbers: [27, 83]
Generated Node #0,2,2: 77:[27, 83] Operation: 86-3=83
Exploring Operation: 27/3=9, Resulting Numbers: [86, 9]
Generated Node #0,2,3: 77:[86, 9] Operation: 27/3=9
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 77:[86, 9], Operations: ['98-71=27', '27/3=9']
Exploring Operation: 86-9=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[86, 3, 98, 71], Operations: []
Exploring Operation: 98-71=27, Resulting Numbers: [86, 3, 27]
Generated Node #0,2: 77:[86, 3, 27] Operation: 98-71=27
Moving to Node #0,2
Current State: 77:[86, 3, 27], Operations: ['98-71=27']
Exploring Operation: 27/3=9, Resulting Numbers: [86, 9]
Generated Node #0,2,3: 77:[86, 9] Operation: 27/3=9
Moving to Node #0,2,3
Current State: 77:[86, 9], Operations: ['98-71=27', '27/3=9']
Exploring Operation: 86-9=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
6,
93,
90,
10
] | 24 | [
"93-90=3",
"10*3=30",
"30-6=24"
] | Current State: 24:[6, 93, 90, 10], Operations: []
Exploring Operation: 93-90=3, Resulting Numbers: [6, 10, 3]
Generated Node #2: [6, 10, 3] from Operation: 93-90=3
Current State: 24:[6, 10, 3], Operations: ['93-90=3']
Exploring Operation: 10*3=30, Resulting Numbers: [6, 30]
Generated Node #3: [6, 30] from Operation: 10*3=30
Current State: 24:[6, 30], Operations: ['93-90=3', '10*3=30']
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[6, 93, 90, 10], Operations: []
Exploring Operation: 93-90=3, Resulting Numbers: [6, 10, 3]
Generated Node #0,0: 24:[6, 10, 3] Operation: 93-90=3
Exploring Operation: 90/10=9, Resulting Numbers: [6, 93, 9]
Generated Node #0,1: 24:[6, 93, 9] Operation: 90/10=9
Moving to Node #0,0
Current State: 24:[6, 10, 3], Operations: ['93-90=3']
Exploring Operation: 10-6=4, Resulting Numbers: [3, 4]
Generated Node #0,0,0: 24:[3, 4] Operation: 10-6=4
Exploring Operation: 10+3=13, Resulting Numbers: [6, 13]
Generated Node #0,0,1: 24:[6, 13] Operation: 10+3=13
Moving to Node #0,1
Current State: 24:[6, 93, 9], Operations: ['90/10=9']
Exploring Operation: 93-9=84, Resulting Numbers: [6, 84]
Generated Node #0,1,0: 24:[6, 84] Operation: 93-9=84
Exploring Operation: 93-6=87, Resulting Numbers: [9, 87]
Generated Node #0,1,1: 24:[9, 87] Operation: 93-6=87
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 24:[6, 84], Operations: ['90/10=9', '93-9=84']
Exploring Operation: 84/6=14, Resulting Numbers: [14]
14,24 unequal: No Solution
Exploring Operation: 84-6=78, Resulting Numbers: [78]
78,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 24:[9, 87], Operations: ['90/10=9', '93-6=87']
Exploring Operation: 87-9=78, Resulting Numbers: [78]
78,24 unequal: No Solution
Exploring Operation: 9+87=96, Resulting Numbers: [96]
96,24 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: 24:[3, 4], Operations: ['93-90=3', '10-6=4']
Exploring Operation: 3+4=7, Resulting Numbers: [7]
7,24 unequal: No Solution
Exploring Operation: 3*4=12, Resulting Numbers: [12]
12,24 unequal: No Solution
Moving to Node #0,0,1
Current State: 24:[6, 13], Operations: ['93-90=3', '10+3=13']
Exploring Operation: 6+13=19, Resulting Numbers: [19]
19,24 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,24 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
29,
83,
58,
37
] | 92 | [
"58/29=2",
"83-37=46",
"2*46=92"
] | Current State: 92:[29, 83, 58, 37], Operations: []
Exploring Operation: 58/29=2, Resulting Numbers: [83, 37, 2]
Generated Node #2: [83, 37, 2] from Operation: 58/29=2
Current State: 92:[83, 37, 2], Operations: ['58/29=2']
Exploring Operation: 83-37=46, Resulting Numbers: [2, 46]
Generated Node #3: [2, 46] from Operation: 83-37=46
Current State: 92:[2, 46], Operations: ['58/29=2', '83-37=46']
Exploring Operation: 2*46=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[29, 83, 58, 37], Operations: []
Exploring Operation: 83-58=25, Resulting Numbers: [29, 37, 25]
Generated Node #0,0: 92:[29, 37, 25] Operation: 83-58=25
Moving to Node #0,0
Current State: 92:[29, 37, 25], Operations: ['83-58=25']
Exploring Operation: 37-29=8, Resulting Numbers: [25, 8]
Generated Node #0,0,0: 92:[25, 8] Operation: 37-29=8
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 92:[25, 8], Operations: ['83-58=25', '37-29=8']
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,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 | sum_heuristic |
[
5,
3,
86,
81
] | 13 | [
"5+3=8",
"86-81=5",
"8+5=13"
] | Current State: 13:[5, 3, 86, 81], Operations: []
Exploring Operation: 5+3=8, Resulting Numbers: [86, 81, 8]
Generated Node #2: [86, 81, 8] from Operation: 5+3=8
Current State: 13:[86, 81, 8], Operations: ['5+3=8']
Exploring Operation: 86-81=5, Resulting Numbers: [8, 5]
Generated Node #3: [8, 5] from Operation: 86-81=5
Current State: 13:[8, 5], Operations: ['5+3=8', '86-81=5']
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[5, 3, 86, 81], Operations: []
Exploring Operation: 5*3=15, Resulting Numbers: [86, 81, 15]
Generated Node #0,0: 13:[86, 81, 15] Operation: 5*3=15
Exploring Operation: 81/3=27, Resulting Numbers: [5, 86, 27]
Generated Node #0,1: 13:[5, 86, 27] Operation: 81/3=27
Exploring Operation: 86-81=5, Resulting Numbers: [5, 3, 5]
Generated Node #0,2: 13:[5, 3, 5] Operation: 86-81=5
Exploring Operation: 5+3=8, Resulting Numbers: [86, 81, 8]
Generated Node #0,3: 13:[86, 81, 8] Operation: 5+3=8
Moving to Node #0,2
Current State: 13:[5, 3, 5], Operations: ['86-81=5']
Exploring Operation: 5*3=15, Resulting Numbers: [5, 15]
Generated Node #0,2,0: 13:[5, 15] Operation: 5*3=15
Exploring Operation: 5+5=10, Resulting Numbers: [3, 10]
Generated Node #0,2,1: 13:[3, 10] Operation: 5+5=10
Exploring Operation: 5+3=8, Resulting Numbers: [5, 8]
Generated Node #0,2,2: 13:[5, 8] Operation: 5+3=8
Exploring Operation: 3*5=15, Resulting Numbers: [5, 15]
Generated Node #0,2,3: 13:[5, 15] Operation: 3*5=15
Moving to Node #0,1
Current State: 13:[5, 86, 27], Operations: ['81/3=27']
Exploring Operation: 5+86=91, Resulting Numbers: [27, 91]
Generated Node #0,1,0: 13:[27, 91] Operation: 5+86=91
Exploring Operation: 86-5=81, Resulting Numbers: [27, 81]
Generated Node #0,1,1: 13:[27, 81] Operation: 86-5=81
Exploring Operation: 27-5=22, Resulting Numbers: [86, 22]
Generated Node #0,1,2: 13:[86, 22] Operation: 27-5=22
Exploring Operation: 86-27=59, Resulting Numbers: [5, 59]
Generated Node #0,1,3: 13:[5, 59] Operation: 86-27=59
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 13:[5, 59], Operations: ['81/3=27', '86-27=59']
Exploring Operation: 5+59=64, Resulting Numbers: [64]
64,13 unequal: No Solution
Exploring Operation: 59-5=54, Resulting Numbers: [54]
54,13 unequal: No Solution
Exploring Operation: 5*59=295, Resulting Numbers: [295]
295,13 unequal: No Solution
No 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: 13:[27, 81], Operations: ['81/3=27', '86-5=81']
Exploring Operation: 81/27=3, Resulting Numbers: [3]
3,13 unequal: No Solution
Exploring Operation: 81-27=54, Resulting Numbers: [54]
54,13 unequal: No Solution
Exploring Operation: 27+81=108, Resulting Numbers: [108]
108,13 unequal: No Solution
Exploring Operation: 27*81=2187, Resulting Numbers: [2187]
2187,13 unequal: No Solution
No 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: 13:[86, 22], Operations: ['81/3=27', '27-5=22']
Exploring Operation: 86+22=108, Resulting Numbers: [108]
108,13 unequal: No Solution
Exploring Operation: 86-22=64, Resulting Numbers: [64]
64,13 unequal: No Solution
Exploring Operation: 86*22=1892, Resulting Numbers: [1892]
1892,13 unequal: No Solution
No 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: 13:[27, 91], Operations: ['81/3=27', '5+86=91']
Exploring Operation: 27*91=2457, Resulting Numbers: [2457]
2457,13 unequal: No Solution
Exploring Operation: 27+91=118, Resulting Numbers: [118]
118,13 unequal: No Solution
Exploring Operation: 91-27=64, Resulting Numbers: [64]
64,13 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: 13:[86, 81, 15], Operations: ['5*3=15']
Exploring Operation: 86+81=167, Resulting Numbers: [15, 167]
Generated Node #0,0,0: 13:[15, 167] Operation: 86+81=167
Exploring Operation: 81-15=66, Resulting Numbers: [86, 66]
Generated Node #0,0,1: 13:[86, 66] Operation: 81-15=66
Exploring Operation: 86-81=5, Resulting Numbers: [15, 5]
Generated Node #0,0,2: 13:[15, 5] Operation: 86-81=5
Exploring Operation: 86-15=71, Resulting Numbers: [81, 71]
Generated Node #0,0,3: 13:[81, 71] Operation: 86-15=71
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 13:[15, 5], Operations: ['5*3=15', '86-81=5']
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,13 unequal: No Solution
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 15*5=75, Resulting Numbers: [75]
75,13 unequal: No Solution
Exploring Operation: 15+5=20, Resulting Numbers: [20]
20,13 unequal: No Solution
No 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: 13:[86, 66], Operations: ['5*3=15', '81-15=66']
Exploring Operation: 86+66=152, Resulting Numbers: [152]
152,13 unequal: No Solution
Exploring Operation: 86-66=20, Resulting Numbers: [20]
20,13 unequal: No Solution
Exploring Operation: 86*66=5676, Resulting Numbers: [5676]
5676,13 unequal: No Solution
No 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: 13:[81, 71], Operations: ['5*3=15', '86-15=71']
Exploring Operation: 81*71=5751, Resulting Numbers: [5751]
5751,13 unequal: No Solution
Exploring Operation: 81-71=10, Resulting Numbers: [10]
10,13 unequal: No Solution
Exploring Operation: 81+71=152, Resulting Numbers: [152]
152,13 unequal: No Solution
No 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: 13:[15, 167], Operations: ['5*3=15', '86+81=167']
Exploring Operation: 167-15=152, Resulting Numbers: [152]
152,13 unequal: No Solution
Exploring Operation: 15*167=2505, Resulting Numbers: [2505]
2505,13 unequal: No Solution
Exploring Operation: 15+167=182, Resulting Numbers: [182]
182,13 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: 13:[86, 81, 8], Operations: ['5+3=8']
Exploring Operation: 81-8=73, Resulting Numbers: [86, 73]
Generated Node #0,3,0: 13:[86, 73] Operation: 81-8=73
Exploring Operation: 86-8=78, Resulting Numbers: [81, 78]
Generated Node #0,3,1: 13:[81, 78] Operation: 86-8=78
Exploring Operation: 86+8=94, Resulting Numbers: [81, 94]
Generated Node #0,3,2: 13:[81, 94] Operation: 86+8=94
Exploring Operation: 86-81=5, Resulting Numbers: [8, 5]
Generated Node #0,3,3: 13:[8, 5] Operation: 86-81=5
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 13:[8, 5], Operations: ['5+3=8', '86-81=5']
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,13 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,13 unequal: No Solution
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[5, 3, 86, 81], Operations: []
Exploring Operation: 5+3=8, Resulting Numbers: [86, 81, 8]
Generated Node #0,3: 13:[86, 81, 8] Operation: 5+3=8
Moving to Node #0,3
Current State: 13:[86, 81, 8], Operations: ['5+3=8']
Exploring Operation: 86-81=5, Resulting Numbers: [8, 5]
Generated Node #0,3,3: 13:[8, 5] Operation: 86-81=5
Moving to Node #0,3,3
Current State: 13:[8, 5], Operations: ['5+3=8', '86-81=5']
Exploring Operation: 8+5=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 1
| 0.953993 | hs_4 | mult_heuristic |
[
20,
14,
93,
96
] | 91 | [
"20*14=280",
"93+96=189",
"280-189=91"
] | Current State: 91:[20, 14, 93, 96], Operations: []
Exploring Operation: 20*14=280, Resulting Numbers: [93, 96, 280]
Generated Node #2: [93, 96, 280] from Operation: 20*14=280
Current State: 91:[93, 96, 280], Operations: ['20*14=280']
Exploring Operation: 93+96=189, Resulting Numbers: [280, 189]
Generated Node #3: [280, 189] from Operation: 93+96=189
Current State: 91:[280, 189], Operations: ['20*14=280', '93+96=189']
Exploring Operation: 280-189=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[20, 14, 93, 96], Operations: []
Exploring Operation: 20-14=6, Resulting Numbers: [93, 96, 6]
Generated Node #0,0: 91:[93, 96, 6] Operation: 20-14=6
Moving to Node #0,0
Current State: 91:[93, 96, 6], Operations: ['20-14=6']
Exploring Operation: 96-6=90, Resulting Numbers: [93, 90]
Generated Node #0,0,0: 91:[93, 90] Operation: 96-6=90
Moving to Node #0,0,0
Current State: 91:[93, 90], Operations: ['20-14=6', '96-6=90']
Exploring Operation: 93-90=3, Resulting Numbers: [3]
3,91 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
2,
8,
72,
47
] | 89 | [
"2*72=144",
"8+47=55",
"144-55=89"
] | Current State: 89:[2, 8, 72, 47], Operations: []
Exploring Operation: 2*72=144, Resulting Numbers: [8, 47, 144]
Generated Node #2: [8, 47, 144] from Operation: 2*72=144
Current State: 89:[8, 47, 144], Operations: ['2*72=144']
Exploring Operation: 8+47=55, Resulting Numbers: [144, 55]
Generated Node #3: [144, 55] from Operation: 8+47=55
Current State: 89:[144, 55], Operations: ['2*72=144', '8+47=55']
Exploring Operation: 144-55=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[2, 8, 72, 47], Operations: []
Exploring Operation: 2+72=74, Resulting Numbers: [8, 47, 74]
Generated Node #0,0: 89:[8, 47, 74] Operation: 2+72=74
Exploring Operation: 2*8=16, Resulting Numbers: [72, 47, 16]
Generated Node #0,1: 89:[72, 47, 16] Operation: 2*8=16
Exploring Operation: 2+8=10, Resulting Numbers: [72, 47, 10]
Generated Node #0,2: 89:[72, 47, 10] Operation: 2+8=10
Exploring Operation: 2*47=94, Resulting Numbers: [8, 72, 94]
Generated Node #0,3: 89:[8, 72, 94] Operation: 2*47=94
Exploring Operation: 2+47=49, Resulting Numbers: [8, 72, 49]
Generated Node #0,4: 89:[8, 72, 49] Operation: 2+47=49
Start Sub Search at level 1: Moving to Node #0,3
Current State: 89:[8, 72, 94], Operations: ['2*47=94']
Exploring Operation: 8+72=80, Resulting Numbers: [94, 80]
Generated Node #0,3,0: 89:[94, 80] Operation: 8+72=80
Exploring Operation: 8+94=102, Resulting Numbers: [72, 102]
Generated Node #0,3,1: 89:[72, 102] Operation: 8+94=102
Exploring Operation: 72-8=64, Resulting Numbers: [94, 64]
Generated Node #0,3,2: 89:[94, 64] Operation: 72-8=64
Exploring Operation: 94-8=86, Resulting Numbers: [72, 86]
Generated Node #0,3,3: 89:[72, 86] Operation: 94-8=86
Exploring Operation: 72/8=9, Resulting Numbers: [94, 9]
Generated Node #0,3,4: 89:[94, 9] Operation: 72/8=9
Moving to Node #0,3,0
Current State: 89:[94, 80], Operations: ['2*47=94', '8+72=80']
Exploring Operation: 94+80=174, Resulting Numbers: [174]
174,89 unequal: No Solution
Exploring Operation: 94-80=14, Resulting Numbers: [14]
14,89 unequal: No Solution
Exploring Operation: 94*80=7520, Resulting Numbers: [7520]
7520,89 unequal: No Solution
Moving to Node #0,3,3
Current State: 89:[72, 86], Operations: ['2*47=94', '94-8=86']
Exploring Operation: 72+86=158, Resulting Numbers: [158]
158,89 unequal: No Solution
Exploring Operation: 72*86=6192, Resulting Numbers: [6192]
6192,89 unequal: No Solution
Exploring Operation: 86-72=14, Resulting Numbers: [14]
14,89 unequal: No Solution
Moving to Node #0,3,1
Current State: 89:[72, 102], Operations: ['2*47=94', '8+94=102']
Exploring Operation: 102-72=30, Resulting Numbers: [30]
30,89 unequal: No Solution
Exploring Operation: 72*102=7344, Resulting Numbers: [7344]
7344,89 unequal: No Solution
Exploring Operation: 72+102=174, Resulting Numbers: [174]
174,89 unequal: No Solution
Moving to Node #0,3,2
Current State: 89:[94, 64], Operations: ['2*47=94', '72-8=64']
Exploring Operation: 94-64=30, Resulting Numbers: [30]
30,89 unequal: No Solution
Exploring Operation: 94+64=158, Resulting Numbers: [158]
158,89 unequal: No Solution
Exploring Operation: 94*64=6016, Resulting Numbers: [6016]
6016,89 unequal: No Solution
Moving to Node #0,3,4
Current State: 89:[94, 9], Operations: ['2*47=94', '72/8=9']
Exploring Operation: 94+9=103, Resulting Numbers: [103]
103,89 unequal: No Solution
Exploring Operation: 94*9=846, Resulting Numbers: [846]
846,89 unequal: No Solution
Exploring Operation: 94-9=85, Resulting Numbers: [85]
85,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 89:[72, 47, 16], Operations: ['2*8=16']
Exploring Operation: 72+47=119, Resulting Numbers: [16, 119]
Generated Node #0,1,0: 89:[16, 119] Operation: 72+47=119
Exploring Operation: 72-16=56, Resulting Numbers: [47, 56]
Generated Node #0,1,1: 89:[47, 56] Operation: 72-16=56
Exploring Operation: 47-16=31, Resulting Numbers: [72, 31]
Generated Node #0,1,2: 89:[72, 31] Operation: 47-16=31
Exploring Operation: 47+16=63, Resulting Numbers: [72, 63]
Generated Node #0,1,3: 89:[72, 63] Operation: 47+16=63
Exploring Operation: 72+16=88, Resulting Numbers: [47, 88]
Generated Node #0,1,4: 89:[47, 88] Operation: 72+16=88
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 89:[72, 63], Operations: ['2*8=16', '47+16=63']
Exploring Operation: 72-63=9, Resulting Numbers: [9]
9,89 unequal: No Solution
Exploring Operation: 72*63=4536, Resulting Numbers: [4536]
4536,89 unequal: No Solution
Exploring Operation: 72+63=135, Resulting Numbers: [135]
135,89 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 89:[47, 88], Operations: ['2*8=16', '72+16=88']
Exploring Operation: 47+88=135, Resulting Numbers: [135]
135,89 unequal: No Solution
Exploring Operation: 47*88=4136, Resulting Numbers: [4136]
4136,89 unequal: No Solution
Exploring Operation: 88-47=41, Resulting Numbers: [41]
41,89 unequal: No Solution
No 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: 89:[47, 56], Operations: ['2*8=16', '72-16=56']
Exploring Operation: 47+56=103, Resulting Numbers: [103]
103,89 unequal: No Solution
Exploring Operation: 47*56=2632, Resulting Numbers: [2632]
2632,89 unequal: No Solution
Exploring Operation: 56-47=9, Resulting Numbers: [9]
9,89 unequal: No Solution
No 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: 89:[72, 31], Operations: ['2*8=16', '47-16=31']
Exploring Operation: 72+31=103, Resulting Numbers: [103]
103,89 unequal: No Solution
Exploring Operation: 72*31=2232, Resulting Numbers: [2232]
2232,89 unequal: No Solution
Exploring Operation: 72-31=41, Resulting Numbers: [41]
41,89 unequal: No Solution
No 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: 89:[16, 119], Operations: ['2*8=16', '72+47=119']
Exploring Operation: 16+119=135, Resulting Numbers: [135]
135,89 unequal: No Solution
Exploring Operation: 16*119=1904, Resulting Numbers: [1904]
1904,89 unequal: No Solution
Exploring Operation: 119-16=103, Resulting Numbers: [103]
103,89 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: 89:[8, 47, 74], Operations: ['2+72=74']
Exploring Operation: 74-8=66, Resulting Numbers: [47, 66]
Generated Node #0,0,0: 89:[47, 66] Operation: 74-8=66
Exploring Operation: 8+47=55, Resulting Numbers: [74, 55]
Generated Node #0,0,1: 89:[74, 55] Operation: 8+47=55
Exploring Operation: 47+74=121, Resulting Numbers: [8, 121]
Generated Node #0,0,2: 89:[8, 121] Operation: 47+74=121
Exploring Operation: 47-8=39, Resulting Numbers: [74, 39]
Generated Node #0,0,3: 89:[74, 39] Operation: 47-8=39
Exploring Operation: 8+74=82, Resulting Numbers: [47, 82]
Generated Node #0,0,4: 89:[47, 82] Operation: 8+74=82
Moving to Node #0,0,1
Current State: 89:[74, 55], Operations: ['2+72=74', '8+47=55']
Exploring Operation: 74+55=129, Resulting Numbers: [129]
129,89 unequal: No Solution
Exploring Operation: 74-55=19, Resulting Numbers: [19]
19,89 unequal: No Solution
Exploring Operation: 74*55=4070, Resulting Numbers: [4070]
4070,89 unequal: No Solution
Moving to Node #0,0,4
Current State: 89:[47, 82], Operations: ['2+72=74', '8+74=82']
Exploring Operation: 47*82=3854, Resulting Numbers: [3854]
3854,89 unequal: No Solution
Exploring Operation: 82-47=35, Resulting Numbers: [35]
35,89 unequal: No Solution
Exploring Operation: 47+82=129, Resulting Numbers: [129]
129,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[47, 66], Operations: ['2+72=74', '74-8=66']
Exploring Operation: 47*66=3102, Resulting Numbers: [3102]
3102,89 unequal: No Solution
Exploring Operation: 66-47=19, Resulting Numbers: [19]
19,89 unequal: No Solution
Exploring Operation: 47+66=113, Resulting Numbers: [113]
113,89 unequal: No Solution
Moving to Node #0,0,3
Current State: 89:[74, 39], Operations: ['2+72=74', '47-8=39']
Exploring Operation: 74-39=35, Resulting Numbers: [35]
35,89 unequal: No Solution
Exploring Operation: 74+39=113, Resulting Numbers: [113]
113,89 unequal: No Solution
Exploring Operation: 74*39=2886, Resulting Numbers: [2886]
2886,89 unequal: No Solution
Moving to Node #0,0,2
Current State: 89:[8, 121], Operations: ['2+72=74', '47+74=121']
Exploring Operation: 8*121=968, Resulting Numbers: [968]
968,89 unequal: No Solution
Exploring Operation: 8+121=129, Resulting Numbers: [129]
129,89 unequal: No Solution
Exploring Operation: 121-8=113, Resulting Numbers: [113]
113,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 89:[72, 47, 10], Operations: ['2+8=10']
Exploring Operation: 47-10=37, Resulting Numbers: [72, 37]
Generated Node #0,2,0: 89:[72, 37] Operation: 47-10=37
Exploring Operation: 72+47=119, Resulting Numbers: [10, 119]
Generated Node #0,2,1: 89:[10, 119] Operation: 72+47=119
Exploring Operation: 72-10=62, Resulting Numbers: [47, 62]
Generated Node #0,2,2: 89:[47, 62] Operation: 72-10=62
Exploring Operation: 47+10=57, Resulting Numbers: [72, 57]
Generated Node #0,2,3: 89:[72, 57] Operation: 47+10=57
Exploring Operation: 72+10=82, Resulting Numbers: [47, 82]
Generated Node #0,2,4: 89:[47, 82] Operation: 72+10=82
Moving to Node #0,2,3
Current State: 89:[72, 57], Operations: ['2+8=10', '47+10=57']
Exploring Operation: 72+57=129, Resulting Numbers: [129]
129,89 unequal: No Solution
Exploring Operation: 72*57=4104, Resulting Numbers: [4104]
4104,89 unequal: No Solution
Exploring Operation: 72-57=15, Resulting Numbers: [15]
15,89 unequal: No Solution
Moving to Node #0,2,4
Current State: 89:[47, 82], Operations: ['2+8=10', '72+10=82']
Exploring Operation: 47+82=129, Resulting Numbers: [129]
129,89 unequal: No Solution
Exploring Operation: 82-47=35, Resulting Numbers: [35]
35,89 unequal: No Solution
Exploring Operation: 47*82=3854, Resulting Numbers: [3854]
3854,89 unequal: No Solution
Moving to Node #0,2,0
Current State: 89:[72, 37], Operations: ['2+8=10', '47-10=37']
Exploring Operation: 72-37=35, Resulting Numbers: [35]
35,89 unequal: No Solution
Exploring Operation: 72*37=2664, Resulting Numbers: [2664]
2664,89 unequal: No Solution
Exploring Operation: 72+37=109, Resulting Numbers: [109]
109,89 unequal: No Solution
Moving to Node #0,2,2
Current State: 89:[47, 62], Operations: ['2+8=10', '72-10=62']
Exploring Operation: 47+62=109, Resulting Numbers: [109]
109,89 unequal: No Solution
Exploring Operation: 47*62=2914, Resulting Numbers: [2914]
2914,89 unequal: No Solution
Exploring Operation: 62-47=15, Resulting Numbers: [15]
15,89 unequal: No Solution
Moving to Node #0,2,1
Current State: 89:[10, 119], Operations: ['2+8=10', '72+47=119']
Exploring Operation: 10+119=129, Resulting Numbers: [129]
129,89 unequal: No Solution
Exploring Operation: 119-10=109, Resulting Numbers: [109]
109,89 unequal: No Solution
Exploring Operation: 10*119=1190, Resulting Numbers: [1190]
1190,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 89:[8, 72, 49], Operations: ['2+47=49']
Exploring Operation: 72+49=121, Resulting Numbers: [8, 121]
Generated Node #0,4,0: 89:[8, 121] Operation: 72+49=121
Exploring Operation: 49-8=41, Resulting Numbers: [72, 41]
Generated Node #0,4,1: 89:[72, 41] Operation: 49-8=41
Exploring Operation: 8+49=57, Resulting Numbers: [72, 57]
Generated Node #0,4,2: 89:[72, 57] Operation: 8+49=57
Exploring Operation: 72-8=64, Resulting Numbers: [49, 64]
Generated Node #0,4,3: 89:[49, 64] Operation: 72-8=64
Exploring Operation: 8+72=80, Resulting Numbers: [49, 80]
Generated Node #0,4,4: 89:[49, 80] Operation: 8+72=80
Moving to Node #0,4,2
Current State: 89:[72, 57], Operations: ['2+47=49', '8+49=57']
Exploring Operation: 72+57=129, Resulting Numbers: [129]
129,89 unequal: No Solution
Exploring Operation: 72*57=4104, Resulting Numbers: [4104]
4104,89 unequal: No Solution
Exploring Operation: 72-57=15, Resulting Numbers: [15]
15,89 unequal: No Solution
Moving to Node #0,4,4
Current State: 89:[49, 80], Operations: ['2+47=49', '8+72=80']
Exploring Operation: 80-49=31, Resulting Numbers: [31]
31,89 unequal: No Solution
Exploring Operation: 49*80=3920, Resulting Numbers: [3920]
3920,89 unequal: No Solution
Exploring Operation: 49+80=129, Resulting Numbers: [129]
129,89 unequal: No Solution
Moving to Node #0,4,1
Current State: 89:[72, 41], Operations: ['2+47=49', '49-8=41']
Exploring Operation: 72-41=31, Resulting Numbers: [31]
31,89 unequal: No Solution
Exploring Operation: 72*41=2952, Resulting Numbers: [2952]
2952,89 unequal: No Solution
Exploring Operation: 72+41=113, Resulting Numbers: [113]
113,89 unequal: No Solution
Moving to Node #0,4,3
Current State: 89:[49, 64], Operations: ['2+47=49', '72-8=64']
Exploring Operation: 64-49=15, Resulting Numbers: [15]
15,89 unequal: No Solution
Exploring Operation: 49*64=3136, Resulting Numbers: [3136]
3136,89 unequal: No Solution
Exploring Operation: 49+64=113, Resulting Numbers: [113]
113,89 unequal: No Solution
Moving to Node #0,4,0
Current State: 89:[8, 121], Operations: ['2+47=49', '72+49=121']
Exploring Operation: 8+121=129, Resulting Numbers: [129]
129,89 unequal: No Solution
Exploring Operation: 121-8=113, Resulting Numbers: [113]
113,89 unequal: No Solution
Exploring Operation: 8*121=968, Resulting Numbers: [968]
968,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
32,
14,
10,
19
] | 16 | [
"32+10=42",
"42/14=3",
"19-3=16"
] | Current State: 16:[32, 14, 10, 19], Operations: []
Exploring Operation: 32+10=42, Resulting Numbers: [14, 19, 42]
Generated Node #2: [14, 19, 42] from Operation: 32+10=42
Current State: 16:[14, 19, 42], Operations: ['32+10=42']
Exploring Operation: 42/14=3, Resulting Numbers: [19, 3]
Generated Node #3: [19, 3] from Operation: 42/14=3
Current State: 16:[19, 3], Operations: ['32+10=42', '42/14=3']
Exploring Operation: 19-3=16, Resulting Numbers: [16]
16,16 equal: Goal Reached
| 4 | Current State: 16:[32, 14, 10, 19], Operations: []
Exploring Operation: 14-10=4, Resulting Numbers: [32, 19, 4]
Generated Node #0,0: 16:[32, 19, 4] Operation: 14-10=4
Exploring Operation: 32-14=18, Resulting Numbers: [10, 19, 18]
Generated Node #0,1: 16:[10, 19, 18] Operation: 32-14=18
Exploring Operation: 32-10=22, Resulting Numbers: [14, 19, 22]
Generated Node #0,2: 16:[14, 19, 22] Operation: 32-10=22
Exploring Operation: 32-19=13, Resulting Numbers: [14, 10, 13]
Generated Node #0,3: 16:[14, 10, 13] Operation: 32-19=13
Start Sub Search at level 1: Moving to Node #0,1
Current State: 16:[10, 19, 18], Operations: ['32-14=18']
Exploring Operation: 10+19=29, Resulting Numbers: [18, 29]
Generated Node #0,1,0: 16:[18, 29] Operation: 10+19=29
Exploring Operation: 18-10=8, Resulting Numbers: [19, 8]
Generated Node #0,1,1: 16:[19, 8] Operation: 18-10=8
Exploring Operation: 19-10=9, Resulting Numbers: [18, 9]
Generated Node #0,1,2: 16:[18, 9] Operation: 19-10=9
Exploring Operation: 19-18=1, Resulting Numbers: [10, 1]
Generated Node #0,1,3: 16:[10, 1] Operation: 19-18=1
Moving to Node #0,1,1
Current State: 16:[19, 8], Operations: ['32-14=18', '18-10=8']
Exploring Operation: 19+8=27, Resulting Numbers: [27]
27,16 unequal: No Solution
Exploring Operation: 19*8=152, Resulting Numbers: [152]
152,16 unequal: No Solution
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,16 unequal: No Solution
Moving to Node #0,1,3
Current State: 16:[10, 1], Operations: ['32-14=18', '19-18=1']
Exploring Operation: 10+1=11, Resulting Numbers: [11]
11,16 unequal: No Solution
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,16 unequal: No Solution
Moving to Node #0,1,2
Current State: 16:[18, 9], Operations: ['32-14=18', '19-10=9']
Exploring Operation: 18*9=162, Resulting Numbers: [162]
162,16 unequal: No Solution
Exploring Operation: 18+9=27, Resulting Numbers: [27]
27,16 unequal: No Solution
Exploring Operation: 18/9=2, Resulting Numbers: [2]
2,16 unequal: No Solution
Exploring Operation: 18-9=9, Resulting Numbers: [9]
9,16 unequal: No Solution
Moving to Node #0,1,0
Current State: 16:[18, 29], Operations: ['32-14=18', '10+19=29']
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,16 unequal: No Solution
Exploring Operation: 18*29=522, Resulting Numbers: [522]
522,16 unequal: No Solution
Exploring Operation: 18+29=47, Resulting Numbers: [47]
47,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 16:[14, 10, 13], Operations: ['32-19=13']
Exploring Operation: 14-10=4, Resulting Numbers: [13, 4]
Generated Node #0,3,0: 16:[13, 4] Operation: 14-10=4
Exploring Operation: 10+13=23, Resulting Numbers: [14, 23]
Generated Node #0,3,1: 16:[14, 23] Operation: 10+13=23
Exploring Operation: 14-13=1, Resulting Numbers: [10, 1]
Generated Node #0,3,2: 16:[10, 1] Operation: 14-13=1
Exploring Operation: 13-10=3, Resulting Numbers: [14, 3]
Generated Node #0,3,3: 16:[14, 3] Operation: 13-10=3
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 16:[13, 4], Operations: ['32-19=13', '14-10=4']
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,16 unequal: No Solution
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,16 unequal: No Solution
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,16 unequal: No Solution
No 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: 16:[10, 1], Operations: ['32-19=13', '14-13=1']
Exploring Operation: 10*1=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Exploring Operation: 10+1=11, Resulting Numbers: [11]
11,16 unequal: No Solution
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,16 unequal: No Solution
Exploring Operation: 10-1=9, Resulting Numbers: [9]
9,16 unequal: No Solution
No 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: 16:[14, 3], Operations: ['32-19=13', '13-10=3']
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,16 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,16 unequal: No Solution
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,16 unequal: No Solution
No 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: 16:[14, 23], Operations: ['32-19=13', '10+13=23']
Exploring Operation: 14*23=322, Resulting Numbers: [322]
322,16 unequal: No Solution
Exploring Operation: 23-14=9, Resulting Numbers: [9]
9,16 unequal: No Solution
Exploring Operation: 14+23=37, Resulting Numbers: [37]
37,16 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: 16:[14, 19, 22], Operations: ['32-10=22']
Exploring Operation: 14+19=33, Resulting Numbers: [22, 33]
Generated Node #0,2,0: 16:[22, 33] Operation: 14+19=33
Exploring Operation: 22-14=8, Resulting Numbers: [19, 8]
Generated Node #0,2,1: 16:[19, 8] Operation: 22-14=8
Exploring Operation: 19-14=5, Resulting Numbers: [22, 5]
Generated Node #0,2,2: 16:[22, 5] Operation: 19-14=5
Exploring Operation: 22-19=3, Resulting Numbers: [14, 3]
Generated Node #0,2,3: 16:[14, 3] Operation: 22-19=3
Moving to Node #0,2,1
Current State: 16:[19, 8], Operations: ['32-10=22', '22-14=8']
Exploring Operation: 19*8=152, Resulting Numbers: [152]
152,16 unequal: No Solution
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,16 unequal: No Solution
Exploring Operation: 19+8=27, Resulting Numbers: [27]
27,16 unequal: No Solution
Moving to Node #0,2,3
Current State: 16:[14, 3], Operations: ['32-10=22', '22-19=3']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,16 unequal: No Solution
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,16 unequal: No Solution
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,16 unequal: No Solution
Moving to Node #0,2,2
Current State: 16:[22, 5], Operations: ['32-10=22', '19-14=5']
Exploring Operation: 22*5=110, Resulting Numbers: [110]
110,16 unequal: No Solution
Exploring Operation: 22+5=27, Resulting Numbers: [27]
27,16 unequal: No Solution
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,16 unequal: No Solution
Moving to Node #0,2,0
Current State: 16:[22, 33], Operations: ['32-10=22', '14+19=33']
Exploring Operation: 33-22=11, Resulting Numbers: [11]
11,16 unequal: No Solution
Exploring Operation: 22+33=55, Resulting Numbers: [55]
55,16 unequal: No Solution
Exploring Operation: 22*33=726, Resulting Numbers: [726]
726,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 16:[32, 19, 4], Operations: ['14-10=4']
Exploring Operation: 32-19=13, Resulting Numbers: [4, 13]
Generated Node #0,0,0: 16:[4, 13] Operation: 32-19=13
Exploring Operation: 32-4=28, Resulting Numbers: [19, 28]
Generated Node #0,0,1: 16:[19, 28] Operation: 32-4=28
Exploring Operation: 32/4=8, Resulting Numbers: [19, 8]
Generated Node #0,0,2: 16:[19, 8] Operation: 32/4=8
Exploring Operation: 19-4=15, Resulting Numbers: [32, 15]
Generated Node #0,0,3: 16:[32, 15] Operation: 19-4=15
Moving to Node #0,0,0
Current State: 16:[4, 13], Operations: ['14-10=4', '32-19=13']
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,16 unequal: No Solution
Exploring Operation: 4+13=17, Resulting Numbers: [17]
17,16 unequal: No Solution
Exploring Operation: 4*13=52, Resulting Numbers: [52]
52,16 unequal: No Solution
Moving to Node #0,0,2
Current State: 16:[19, 8], Operations: ['14-10=4', '32/4=8']
Exploring Operation: 19-8=11, Resulting Numbers: [11]
11,16 unequal: No Solution
Exploring Operation: 19+8=27, Resulting Numbers: [27]
27,16 unequal: No Solution
Exploring Operation: 19*8=152, Resulting Numbers: [152]
152,16 unequal: No Solution
Moving to Node #0,0,1
Current State: 16:[19, 28], Operations: ['14-10=4', '32-4=28']
Exploring Operation: 19*28=532, Resulting Numbers: [532]
532,16 unequal: No Solution
Exploring Operation: 19+28=47, Resulting Numbers: [47]
47,16 unequal: No Solution
Exploring Operation: 28-19=9, Resulting Numbers: [9]
9,16 unequal: No Solution
Moving to Node #0,0,3
Current State: 16:[32, 15], Operations: ['14-10=4', '19-4=15']
Exploring Operation: 32+15=47, Resulting Numbers: [47]
47,16 unequal: No Solution
Exploring Operation: 32*15=480, Resulting Numbers: [480]
480,16 unequal: No Solution
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,16 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
87,
29,
61,
59
] | 58 | [
"87+29=116",
"61-59=2",
"116/2=58"
] | Current State: 58:[87, 29, 61, 59], Operations: []
Exploring Operation: 87+29=116, Resulting Numbers: [61, 59, 116]
Generated Node #2: [61, 59, 116] from Operation: 87+29=116
Current State: 58:[61, 59, 116], Operations: ['87+29=116']
Exploring Operation: 61-59=2, Resulting Numbers: [116, 2]
Generated Node #3: [116, 2] from Operation: 61-59=2
Current State: 58:[116, 2], Operations: ['87+29=116', '61-59=2']
Exploring Operation: 116/2=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[87, 29, 61, 59], Operations: []
Exploring Operation: 87-61=26, Resulting Numbers: [29, 59, 26]
Generated Node #0,0: 58:[29, 59, 26] Operation: 87-61=26
Exploring Operation: 87-29=58, Resulting Numbers: [61, 59, 58]
Generated Node #0,1: 58:[61, 59, 58] Operation: 87-29=58
Exploring Operation: 87-59=28, Resulting Numbers: [29, 61, 28]
Generated Node #0,2: 58:[29, 61, 28] Operation: 87-59=28
Start Sub Search at level 1: Moving to Node #0,0
Current State: 58:[29, 59, 26], Operations: ['87-61=26']
Exploring Operation: 29+26=55, Resulting Numbers: [59, 55]
Generated Node #0,0,0: 58:[59, 55] Operation: 29+26=55
Exploring Operation: 29-26=3, Resulting Numbers: [59, 3]
Generated Node #0,0,1: 58:[59, 3] Operation: 29-26=3
Exploring Operation: 59-29=30, Resulting Numbers: [26, 30]
Generated Node #0,0,2: 58:[26, 30] Operation: 59-29=30
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 58:[59, 3], Operations: ['87-61=26', '29-26=3']
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,58 unequal: No Solution
Exploring Operation: 59+3=62, Resulting Numbers: [62]
62,58 unequal: No Solution
Exploring Operation: 59*3=177, Resulting Numbers: [177]
177,58 unequal: No Solution
No 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: 58:[59, 55], Operations: ['87-61=26', '29+26=55']
Exploring Operation: 59+55=114, Resulting Numbers: [114]
114,58 unequal: No Solution
Exploring Operation: 59*55=3245, Resulting Numbers: [3245]
3245,58 unequal: No Solution
Exploring Operation: 59-55=4, Resulting Numbers: [4]
4,58 unequal: No Solution
No 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: 58:[26, 30], Operations: ['87-61=26', '59-29=30']
Exploring Operation: 30-26=4, Resulting Numbers: [4]
4,58 unequal: No Solution
Exploring Operation: 26+30=56, Resulting Numbers: [56]
56,58 unequal: No Solution
Exploring Operation: 26*30=780, Resulting Numbers: [780]
780,58 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: 58:[61, 59, 58], Operations: ['87-29=58']
Exploring Operation: 61-59=2, Resulting Numbers: [58, 2]
Generated Node #0,1,0: 58:[58, 2] Operation: 61-59=2
Exploring Operation: 59-58=1, Resulting Numbers: [61, 1]
Generated Node #0,1,1: 58:[61, 1] Operation: 59-58=1
Exploring Operation: 61-58=3, Resulting Numbers: [59, 3]
Generated Node #0,1,2: 58:[59, 3] Operation: 61-58=3
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 58:[58, 2], Operations: ['87-29=58', '61-59=2']
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,58 unequal: No Solution
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,58 unequal: No Solution
Exploring Operation: 58+2=60, Resulting Numbers: [60]
60,58 unequal: No Solution
No 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: 58:[59, 3], Operations: ['87-29=58', '61-58=3']
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,58 unequal: No Solution
Exploring Operation: 59*3=177, Resulting Numbers: [177]
177,58 unequal: No Solution
Exploring Operation: 59+3=62, Resulting Numbers: [62]
62,58 unequal: No Solution
No 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: 58:[61, 1], Operations: ['87-29=58', '59-58=1']
Exploring Operation: 61-1=60, Resulting Numbers: [60]
60,58 unequal: No Solution
Exploring Operation: 61/1=61, Resulting Numbers: [61]
61,58 unequal: No Solution
Exploring Operation: 61*1=61, Resulting Numbers: [61]
61,58 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: 58:[29, 61, 28], Operations: ['87-59=28']
Exploring Operation: 61-29=32, Resulting Numbers: [28, 32]
Generated Node #0,2,0: 58:[28, 32] Operation: 61-29=32
Exploring Operation: 29+28=57, Resulting Numbers: [61, 57]
Generated Node #0,2,1: 58:[61, 57] Operation: 29+28=57
Exploring Operation: 29-28=1, Resulting Numbers: [61, 1]
Generated Node #0,2,2: 58:[61, 1] Operation: 29-28=1
Moving to Node #0,2,0
Current State: 58:[28, 32], Operations: ['87-59=28', '61-29=32']
Exploring Operation: 28*32=896, Resulting Numbers: [896]
896,58 unequal: No Solution
Exploring Operation: 28+32=60, Resulting Numbers: [60]
60,58 unequal: No Solution
Exploring Operation: 32-28=4, Resulting Numbers: [4]
4,58 unequal: No Solution
Moving to Node #0,2,1
Current State: 58:[61, 57], Operations: ['87-59=28', '29+28=57']
Exploring Operation: 61*57=3477, Resulting Numbers: [3477]
3477,58 unequal: No Solution
Exploring Operation: 61-57=4, Resulting Numbers: [4]
4,58 unequal: No Solution
Exploring Operation: 61+57=118, Resulting Numbers: [118]
118,58 unequal: No Solution
Moving to Node #0,2,2
Current State: 58:[61, 1], Operations: ['87-59=28', '29-28=1']
Exploring Operation: 61-1=60, Resulting Numbers: [60]
60,58 unequal: No Solution
Exploring Operation: 61*1=61, Resulting Numbers: [61]
61,58 unequal: No Solution
Exploring Operation: 61/1=61, Resulting Numbers: [61]
61,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
93,
67,
58,
20
] | 52 | [
"93-67=26",
"58+20=78",
"78-26=52"
] | Current State: 52:[93, 67, 58, 20], Operations: []
Exploring Operation: 93-67=26, Resulting Numbers: [58, 20, 26]
Generated Node #2: [58, 20, 26] from Operation: 93-67=26
Current State: 52:[58, 20, 26], Operations: ['93-67=26']
Exploring Operation: 58+20=78, Resulting Numbers: [26, 78]
Generated Node #3: [26, 78] from Operation: 58+20=78
Current State: 52:[26, 78], Operations: ['93-67=26', '58+20=78']
Exploring Operation: 78-26=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[93, 67, 58, 20], Operations: []
Exploring Operation: 93-67=26, Resulting Numbers: [58, 20, 26]
Generated Node #0,0: 52:[58, 20, 26] Operation: 93-67=26
Exploring Operation: 93-58=35, Resulting Numbers: [67, 20, 35]
Generated Node #0,1: 52:[67, 20, 35] Operation: 93-58=35
Moving to Node #0,0
Current State: 52:[58, 20, 26], Operations: ['93-67=26']
Exploring Operation: 26-20=6, Resulting Numbers: [58, 6]
Generated Node #0,0,0: 52:[58, 6] Operation: 26-20=6
Exploring Operation: 58-20=38, Resulting Numbers: [26, 38]
Generated Node #0,0,1: 52:[26, 38] Operation: 58-20=38
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[58, 6], Operations: ['93-67=26', '26-20=6']
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[93, 67, 58, 20], Operations: []
Exploring Operation: 93-67=26, Resulting Numbers: [58, 20, 26]
Generated Node #0,0: 52:[58, 20, 26] Operation: 93-67=26
Moving to Node #0,0
Current State: 52:[58, 20, 26], Operations: ['93-67=26']
Exploring Operation: 26-20=6, Resulting Numbers: [58, 6]
Generated Node #0,0,0: 52:[58, 6] Operation: 26-20=6
Moving to Node #0,0,0
Current State: 52:[58, 6], Operations: ['93-67=26', '26-20=6']
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
84,
52,
97,
8
] | 65 | [
"97+8=105",
"52*105=5460",
"5460/84=65"
] | Current State: 65:[84, 52, 97, 8], Operations: []
Exploring Operation: 97+8=105, Resulting Numbers: [84, 52, 105]
Generated Node #2: [84, 52, 105] from Operation: 97+8=105
Current State: 65:[84, 52, 105], Operations: ['97+8=105']
Exploring Operation: 52*105=5460, Resulting Numbers: [84, 5460]
Generated Node #3: [84, 5460] from Operation: 52*105=5460
Current State: 65:[84, 5460], Operations: ['97+8=105', '52*105=5460']
Exploring Operation: 5460/84=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[84, 52, 97, 8], Operations: []
Exploring Operation: 97-52=45, Resulting Numbers: [84, 8, 45]
Generated Node #0,0: 65:[84, 8, 45] Operation: 97-52=45
Exploring Operation: 84-52=32, Resulting Numbers: [97, 8, 32]
Generated Node #0,1: 65:[97, 8, 32] Operation: 84-52=32
Exploring Operation: 97-84=13, Resulting Numbers: [52, 8, 13]
Generated Node #0,2: 65:[52, 8, 13] Operation: 97-84=13
Moving to Node #0,2
Current State: 65:[52, 8, 13], Operations: ['97-84=13']
Exploring Operation: 52+13=65, Resulting Numbers: [8, 65]
Generated Node #0,2,0: 65:[8, 65] Operation: 52+13=65
Exploring Operation: 52/13=4, Resulting Numbers: [8, 4]
Generated Node #0,2,1: 65:[8, 4] Operation: 52/13=4
Exploring Operation: 52+8=60, Resulting Numbers: [13, 60]
Generated Node #0,2,2: 65:[13, 60] Operation: 52+8=60
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 65:[8, 65], Operations: ['97-84=13', '52+13=65']
Exploring Operation: 8+65=73, Resulting Numbers: [73]
73,65 unequal: No Solution
Exploring Operation: 8*65=520, Resulting Numbers: [520]
520,65 unequal: No Solution
Exploring Operation: 65-8=57, Resulting Numbers: [57]
57,65 unequal: No Solution
No 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: 65:[8, 4], Operations: ['97-84=13', '52/13=4']
Exploring Operation: 8+4=12, Resulting Numbers: [12]
12,65 unequal: No Solution
Exploring Operation: 8-4=4, Resulting Numbers: [4]
4,65 unequal: No Solution
Exploring Operation: 8/4=2, Resulting Numbers: [2]
2,65 unequal: No Solution
No 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: 65:[13, 60], Operations: ['97-84=13', '52+8=60']
Exploring Operation: 13*60=780, Resulting Numbers: [780]
780,65 unequal: No Solution
Exploring Operation: 13+60=73, Resulting Numbers: [73]
73,65 unequal: No Solution
Exploring Operation: 60-13=47, Resulting Numbers: [47]
47,65 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: 65:[84, 8, 45], Operations: ['97-52=45']
Exploring Operation: 8+45=53, Resulting Numbers: [84, 53]
Generated Node #0,0,0: 65:[84, 53] Operation: 8+45=53
Exploring Operation: 84-8=76, Resulting Numbers: [45, 76]
Generated Node #0,0,1: 65:[45, 76] Operation: 84-8=76
Exploring Operation: 84-45=39, Resulting Numbers: [8, 39]
Generated Node #0,0,2: 65:[8, 39] Operation: 84-45=39
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 65:[8, 39], Operations: ['97-52=45', '84-45=39']
Exploring Operation: 8*39=312, Resulting Numbers: [312]
312,65 unequal: No Solution
Exploring Operation: 8+39=47, Resulting Numbers: [47]
47,65 unequal: No Solution
Exploring Operation: 39-8=31, Resulting Numbers: [31]
31,65 unequal: No Solution
No 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: 65:[84, 53], Operations: ['97-52=45', '8+45=53']
Exploring Operation: 84*53=4452, Resulting Numbers: [4452]
4452,65 unequal: No Solution
Exploring Operation: 84-53=31, Resulting Numbers: [31]
31,65 unequal: No Solution
Exploring Operation: 84+53=137, Resulting Numbers: [137]
137,65 unequal: No Solution
No 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: 65:[45, 76], Operations: ['97-52=45', '84-8=76']
Exploring Operation: 45*76=3420, Resulting Numbers: [3420]
3420,65 unequal: No Solution
Exploring Operation: 45+76=121, Resulting Numbers: [121]
121,65 unequal: No Solution
Exploring Operation: 76-45=31, Resulting Numbers: [31]
31,65 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: 65:[97, 8, 32], Operations: ['84-52=32']
Exploring Operation: 97-32=65, Resulting Numbers: [8, 65]
Generated Node #0,1,0: 65:[8, 65] Operation: 97-32=65
Exploring Operation: 97-8=89, Resulting Numbers: [32, 89]
Generated Node #0,1,1: 65:[32, 89] Operation: 97-8=89
Exploring Operation: 32/8=4, Resulting Numbers: [97, 4]
Generated Node #0,1,2: 65:[97, 4] Operation: 32/8=4
Moving to Node #0,1,0
Current State: 65:[8, 65], Operations: ['84-52=32', '97-32=65']
Exploring Operation: 65-8=57, Resulting Numbers: [57]
57,65 unequal: No Solution
Exploring Operation: 8+65=73, Resulting Numbers: [73]
73,65 unequal: No Solution
Exploring Operation: 8*65=520, Resulting Numbers: [520]
520,65 unequal: No Solution
Moving to Node #0,1,2
Current State: 65:[97, 4], Operations: ['84-52=32', '32/8=4']
Exploring Operation: 97*4=388, Resulting Numbers: [388]
388,65 unequal: No Solution
Exploring Operation: 97-4=93, Resulting Numbers: [93]
93,65 unequal: No Solution
Exploring Operation: 97+4=101, Resulting Numbers: [101]
101,65 unequal: No Solution
Moving to Node #0,1,1
Current State: 65:[32, 89], Operations: ['84-52=32', '97-8=89']
Exploring Operation: 32*89=2848, Resulting Numbers: [2848]
2848,65 unequal: No Solution
Exploring Operation: 32+89=121, Resulting Numbers: [121]
121,65 unequal: No Solution
Exploring Operation: 89-32=57, Resulting Numbers: [57]
57,65 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
99,
3,
4,
11
] | 21 | [
"99/11=9",
"3*4=12",
"9+12=21"
] | Current State: 21:[99, 3, 4, 11], Operations: []
Exploring Operation: 99/11=9, Resulting Numbers: [3, 4, 9]
Generated Node #2: [3, 4, 9] from Operation: 99/11=9
Current State: 21:[3, 4, 9], Operations: ['99/11=9']
Exploring Operation: 3*4=12, Resulting Numbers: [9, 12]
Generated Node #3: [9, 12] from Operation: 3*4=12
Current State: 21:[9, 12], Operations: ['99/11=9', '3*4=12']
Exploring Operation: 9+12=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[99, 3, 4, 11], Operations: []
Exploring Operation: 99/11=9, Resulting Numbers: [3, 4, 9]
Generated Node #0,0: 21:[3, 4, 9] Operation: 99/11=9
Exploring Operation: 99-11=88, Resulting Numbers: [3, 4, 88]
Generated Node #0,1: 21:[3, 4, 88] Operation: 99-11=88
Exploring Operation: 99/3=33, Resulting Numbers: [4, 11, 33]
Generated Node #0,2: 21:[4, 11, 33] Operation: 99/3=33
Exploring Operation: 99-4=95, Resulting Numbers: [3, 11, 95]
Generated Node #0,3: 21:[3, 11, 95] Operation: 99-4=95
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[3, 4, 9], Operations: ['99/11=9']
Exploring Operation: 9/3=3, Resulting Numbers: [4, 3]
Generated Node #0,0,0: 21:[4, 3] Operation: 9/3=3
Exploring Operation: 9-4=5, Resulting Numbers: [3, 5]
Generated Node #0,0,1: 21:[3, 5] Operation: 9-4=5
Exploring Operation: 9-3=6, Resulting Numbers: [4, 6]
Generated Node #0,0,2: 21:[4, 6] Operation: 9-3=6
Exploring Operation: 3+4=7, Resulting Numbers: [9, 7]
Generated Node #0,0,3: 21:[9, 7] Operation: 3+4=7
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 21:[4, 3], Operations: ['99/11=9', '9/3=3']
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,21 unequal: No Solution
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,21 unequal: No Solution
No 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: 21:[3, 5], Operations: ['99/11=9', '9-4=5']
Exploring Operation: 5-3=2, Resulting Numbers: [2]
2,21 unequal: No Solution
Exploring Operation: 3+5=8, Resulting Numbers: [8]
8,21 unequal: No Solution
Exploring Operation: 3*5=15, Resulting Numbers: [15]
15,21 unequal: No Solution
No 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: 21:[4, 6], Operations: ['99/11=9', '9-3=6']
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,21 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,21 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,21 unequal: No Solution
No 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: 21:[9, 7], Operations: ['99/11=9', '3+4=7']
Exploring Operation: 9+7=16, Resulting Numbers: [16]
16,21 unequal: No Solution
Exploring Operation: 9*7=63, Resulting Numbers: [63]
63,21 unequal: No Solution
Exploring Operation: 9-7=2, Resulting Numbers: [2]
2,21 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: 21:[4, 11, 33], Operations: ['99/3=33']
Exploring Operation: 33-4=29, Resulting Numbers: [11, 29]
Generated Node #0,2,0: 21:[11, 29] Operation: 33-4=29
Exploring Operation: 11-4=7, Resulting Numbers: [33, 7]
Generated Node #0,2,1: 21:[33, 7] Operation: 11-4=7
Exploring Operation: 33-11=22, Resulting Numbers: [4, 22]
Generated Node #0,2,2: 21:[4, 22] Operation: 33-11=22
Exploring Operation: 33/11=3, Resulting Numbers: [4, 3]
Generated Node #0,2,3: 21:[4, 3] Operation: 33/11=3
Moving to Node #0,2,3
Current State: 21:[4, 3], Operations: ['99/3=33', '33/11=3']
Exploring Operation: 4-3=1, Resulting Numbers: [1]
1,21 unequal: No Solution
Exploring Operation: 4*3=12, Resulting Numbers: [12]
12,21 unequal: No Solution
Exploring Operation: 4+3=7, Resulting Numbers: [7]
7,21 unequal: No Solution
Moving to Node #0,2,2
Current State: 21:[4, 22], Operations: ['99/3=33', '33-11=22']
Exploring Operation: 4+22=26, Resulting Numbers: [26]
26,21 unequal: No Solution
Exploring Operation: 4*22=88, Resulting Numbers: [88]
88,21 unequal: No Solution
Exploring Operation: 22-4=18, Resulting Numbers: [18]
18,21 unequal: No Solution
Moving to Node #0,2,1
Current State: 21:[33, 7], Operations: ['99/3=33', '11-4=7']
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,21 unequal: No Solution
Exploring Operation: 33+7=40, Resulting Numbers: [40]
40,21 unequal: No Solution
Exploring Operation: 33*7=231, Resulting Numbers: [231]
231,21 unequal: No Solution
Moving to Node #0,2,0
Current State: 21:[11, 29], Operations: ['99/3=33', '33-4=29']
Exploring Operation: 11*29=319, Resulting Numbers: [319]
319,21 unequal: No Solution
Exploring Operation: 29-11=18, Resulting Numbers: [18]
18,21 unequal: No Solution
Exploring Operation: 11+29=40, Resulting Numbers: [40]
40,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 21:[3, 4, 88], Operations: ['99-11=88']
Exploring Operation: 88-4=84, Resulting Numbers: [3, 84]
Generated Node #0,1,0: 21:[3, 84] Operation: 88-4=84
Exploring Operation: 3+4=7, Resulting Numbers: [88, 7]
Generated Node #0,1,1: 21:[88, 7] Operation: 3+4=7
Exploring Operation: 88/4=22, Resulting Numbers: [3, 22]
Generated Node #0,1,2: 21:[3, 22] Operation: 88/4=22
Exploring Operation: 88-3=85, Resulting Numbers: [4, 85]
Generated Node #0,1,3: 21:[4, 85] Operation: 88-3=85
Moving to Node #0,1,2
Current State: 21:[3, 22], Operations: ['99-11=88', '88/4=22']
Exploring Operation: 3+22=25, Resulting Numbers: [25]
25,21 unequal: No Solution
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,21 unequal: No Solution
Exploring Operation: 3*22=66, Resulting Numbers: [66]
66,21 unequal: No Solution
Moving to Node #0,1,0
Current State: 21:[3, 84], Operations: ['99-11=88', '88-4=84']
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,21 unequal: No Solution
Exploring Operation: 3+84=87, Resulting Numbers: [87]
87,21 unequal: No Solution
Exploring Operation: 84/3=28, Resulting Numbers: [28]
28,21 unequal: No Solution
Exploring Operation: 3*84=252, Resulting Numbers: [252]
252,21 unequal: No Solution
Moving to Node #0,1,3
Current State: 21:[4, 85], Operations: ['99-11=88', '88-3=85']
Exploring Operation: 4+85=89, Resulting Numbers: [89]
89,21 unequal: No Solution
Exploring Operation: 4*85=340, Resulting Numbers: [340]
340,21 unequal: No Solution
Exploring Operation: 85-4=81, Resulting Numbers: [81]
81,21 unequal: No Solution
Moving to Node #0,1,1
Current State: 21:[88, 7], Operations: ['99-11=88', '3+4=7']
Exploring Operation: 88+7=95, Resulting Numbers: [95]
95,21 unequal: No Solution
Exploring Operation: 88*7=616, Resulting Numbers: [616]
616,21 unequal: No Solution
Exploring Operation: 88-7=81, Resulting Numbers: [81]
81,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 21:[3, 11, 95], Operations: ['99-4=95']
Exploring Operation: 95-3=92, Resulting Numbers: [11, 92]
Generated Node #0,3,0: 21:[11, 92] Operation: 95-3=92
Exploring Operation: 3+11=14, Resulting Numbers: [95, 14]
Generated Node #0,3,1: 21:[95, 14] Operation: 3+11=14
Exploring Operation: 11-3=8, Resulting Numbers: [95, 8]
Generated Node #0,3,2: 21:[95, 8] Operation: 11-3=8
Exploring Operation: 95-11=84, Resulting Numbers: [3, 84]
Generated Node #0,3,3: 21:[3, 84] Operation: 95-11=84
Moving to Node #0,3,3
Current State: 21:[3, 84], Operations: ['99-4=95', '95-11=84']
Exploring Operation: 3+84=87, Resulting Numbers: [87]
87,21 unequal: No Solution
Exploring Operation: 84/3=28, Resulting Numbers: [28]
28,21 unequal: No Solution
Exploring Operation: 84-3=81, Resulting Numbers: [81]
81,21 unequal: No Solution
Exploring Operation: 3*84=252, Resulting Numbers: [252]
252,21 unequal: No Solution
Moving to Node #0,3,2
Current State: 21:[95, 8], Operations: ['99-4=95', '11-3=8']
Exploring Operation: 95*8=760, Resulting Numbers: [760]
760,21 unequal: No Solution
Exploring Operation: 95+8=103, Resulting Numbers: [103]
103,21 unequal: No Solution
Exploring Operation: 95-8=87, Resulting Numbers: [87]
87,21 unequal: No Solution
Moving to Node #0,3,0
Current State: 21:[11, 92], Operations: ['99-4=95', '95-3=92']
Exploring Operation: 11+92=103, Resulting Numbers: [103]
103,21 unequal: No Solution
Exploring Operation: 11*92=1012, Resulting Numbers: [1012]
1012,21 unequal: No Solution
Exploring Operation: 92-11=81, Resulting Numbers: [81]
81,21 unequal: No Solution
Moving to Node #0,3,1
Current State: 21:[95, 14], Operations: ['99-4=95', '3+11=14']
Exploring Operation: 95+14=109, Resulting Numbers: [109]
109,21 unequal: No Solution
Exploring Operation: 95-14=81, Resulting Numbers: [81]
81,21 unequal: No Solution
Exploring Operation: 95*14=1330, Resulting Numbers: [1330]
1330,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
88,
80,
77,
56
] | 14 | [
"80*77=6160",
"6160/88=70",
"70-56=14"
] | Current State: 14:[88, 80, 77, 56], Operations: []
Exploring Operation: 80*77=6160, Resulting Numbers: [88, 56, 6160]
Generated Node #2: [88, 56, 6160] from Operation: 80*77=6160
Current State: 14:[88, 56, 6160], Operations: ['80*77=6160']
Exploring Operation: 6160/88=70, Resulting Numbers: [56, 70]
Generated Node #3: [56, 70] from Operation: 6160/88=70
Current State: 14:[56, 70], Operations: ['80*77=6160', '6160/88=70']
Exploring Operation: 70-56=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[88, 80, 77, 56], Operations: []
Exploring Operation: 88-77=11, Resulting Numbers: [80, 56, 11]
Generated Node #0,0: 14:[80, 56, 11] Operation: 88-77=11
Exploring Operation: 88-80=8, Resulting Numbers: [77, 56, 8]
Generated Node #0,1: 14:[77, 56, 8] Operation: 88-80=8
Moving to Node #0,1
Current State: 14:[77, 56, 8], Operations: ['88-80=8']
Exploring Operation: 56/8=7, Resulting Numbers: [77, 7]
Generated Node #0,1,0: 14:[77, 7] Operation: 56/8=7
Exploring Operation: 77-56=21, Resulting Numbers: [8, 21]
Generated Node #0,1,1: 14:[8, 21] Operation: 77-56=21
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 14:[8, 21], Operations: ['88-80=8', '77-56=21']
Exploring Operation: 21-8=13, Resulting Numbers: [13]
13,14 unequal: No Solution
Exploring Operation: 8+21=29, Resulting Numbers: [29]
29,14 unequal: No Solution
No 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: 14:[77, 7], Operations: ['88-80=8', '56/8=7']
Exploring Operation: 77/7=11, Resulting Numbers: [11]
11,14 unequal: No Solution
Exploring Operation: 77-7=70, Resulting Numbers: [70]
70,14 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: 14:[80, 56, 11], Operations: ['88-77=11']
Exploring Operation: 80-11=69, Resulting Numbers: [56, 69]
Generated Node #0,0,0: 14:[56, 69] Operation: 80-11=69
Exploring Operation: 80-56=24, Resulting Numbers: [11, 24]
Generated Node #0,0,1: 14:[11, 24] Operation: 80-56=24
Moving to Node #0,0,1
Current State: 14:[11, 24], Operations: ['88-77=11', '80-56=24']
Exploring Operation: 24-11=13, Resulting Numbers: [13]
13,14 unequal: No Solution
Exploring Operation: 11+24=35, Resulting Numbers: [35]
35,14 unequal: No Solution
Moving to Node #0,0,0
Current State: 14:[56, 69], Operations: ['88-77=11', '80-11=69']
Exploring Operation: 56+69=125, Resulting Numbers: [125]
125,14 unequal: No Solution
Exploring Operation: 69-56=13, Resulting Numbers: [13]
13,14 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
21,
4,
33,
6
] | 57 | [
"21*4=84",
"33-6=27",
"84-27=57"
] | Current State: 57:[21, 4, 33, 6], Operations: []
Exploring Operation: 21*4=84, Resulting Numbers: [33, 6, 84]
Generated Node #2: [33, 6, 84] from Operation: 21*4=84
Current State: 57:[33, 6, 84], Operations: ['21*4=84']
Exploring Operation: 33-6=27, Resulting Numbers: [84, 27]
Generated Node #3: [84, 27] from Operation: 33-6=27
Current State: 57:[84, 27], Operations: ['21*4=84', '33-6=27']
Exploring Operation: 84-27=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[21, 4, 33, 6], Operations: []
Exploring Operation: 33-4=29, Resulting Numbers: [21, 6, 29]
Generated Node #0,0: 57:[21, 6, 29] Operation: 33-4=29
Exploring Operation: 33-21=12, Resulting Numbers: [4, 6, 12]
Generated Node #0,1: 57:[4, 6, 12] Operation: 33-21=12
Exploring Operation: 33-6=27, Resulting Numbers: [21, 4, 27]
Generated Node #0,2: 57:[21, 4, 27] Operation: 33-6=27
Exploring Operation: 21+33=54, Resulting Numbers: [4, 6, 54]
Generated Node #0,3: 57:[4, 6, 54] Operation: 21+33=54
Moving to Node #0,3
Current State: 57:[4, 6, 54], Operations: ['21+33=54']
Exploring Operation: 6+54=60, Resulting Numbers: [4, 60]
Generated Node #0,3,0: 57:[4, 60] Operation: 6+54=60
Exploring Operation: 6-4=2, Resulting Numbers: [54, 2]
Generated Node #0,3,1: 57:[54, 2] Operation: 6-4=2
Exploring Operation: 54/6=9, Resulting Numbers: [4, 9]
Generated Node #0,3,2: 57:[4, 9] Operation: 54/6=9
Exploring Operation: 4+54=58, Resulting Numbers: [6, 58]
Generated Node #0,3,3: 57:[6, 58] Operation: 4+54=58
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 57:[4, 60], Operations: ['21+33=54', '6+54=60']
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,57 unequal: No Solution
Exploring Operation: 4+60=64, Resulting Numbers: [64]
64,57 unequal: No Solution
Exploring Operation: 4*60=240, Resulting Numbers: [240]
240,57 unequal: No Solution
Exploring Operation: 60-4=56, Resulting Numbers: [56]
56,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,3,1
Current State: 57:[54, 2], Operations: ['21+33=54', '6-4=2']
Exploring Operation: 54-2=52, Resulting Numbers: [52]
52,57 unequal: No Solution
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,57 unequal: No Solution
Exploring Operation: 54+2=56, Resulting Numbers: [56]
56,57 unequal: No Solution
Exploring Operation: 54*2=108, Resulting Numbers: [108]
108,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,3,3
Current State: 57:[6, 58], Operations: ['21+33=54', '4+54=58']
Exploring Operation: 6+58=64, Resulting Numbers: [64]
64,57 unequal: No Solution
Exploring Operation: 6*58=348, Resulting Numbers: [348]
348,57 unequal: No Solution
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,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,3,2
Current State: 57:[4, 9], Operations: ['21+33=54', '54/6=9']
Exploring Operation: 4+9=13, Resulting Numbers: [13]
13,57 unequal: No Solution
Exploring Operation: 9-4=5, Resulting Numbers: [5]
5,57 unequal: No Solution
Exploring Operation: 4*9=36, Resulting Numbers: [36]
36,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:[21, 4, 27], Operations: ['33-6=27']
Exploring Operation: 21-4=17, Resulting Numbers: [27, 17]
Generated Node #0,2,0: 57:[27, 17] Operation: 21-4=17
Exploring Operation: 21+27=48, Resulting Numbers: [4, 48]
Generated Node #0,2,1: 57:[4, 48] Operation: 21+27=48
Exploring Operation: 27-4=23, Resulting Numbers: [21, 23]
Generated Node #0,2,2: 57:[21, 23] Operation: 27-4=23
Exploring Operation: 27-21=6, Resulting Numbers: [4, 6]
Generated Node #0,2,3: 57:[4, 6] Operation: 27-21=6
Moving to Node #0,1
Current State: 57:[4, 6, 12], Operations: ['33-21=12']
Exploring Operation: 6+12=18, Resulting Numbers: [4, 18]
Generated Node #0,1,0: 57:[4, 18] Operation: 6+12=18
Exploring Operation: 12/6=2, Resulting Numbers: [4, 2]
Generated Node #0,1,1: 57:[4, 2] Operation: 12/6=2
Exploring Operation: 12-6=6, Resulting Numbers: [4, 6]
Generated Node #0,1,2: 57:[4, 6] Operation: 12-6=6
Exploring Operation: 12/4=3, Resulting Numbers: [6, 3]
Generated Node #0,1,3: 57:[6, 3] Operation: 12/4=3
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 57:[4, 18], Operations: ['33-21=12', '6+12=18']
Exploring Operation: 4*18=72, Resulting Numbers: [72]
72,57 unequal: No Solution
Exploring Operation: 4+18=22, Resulting Numbers: [22]
22,57 unequal: No Solution
Exploring Operation: 18-4=14, Resulting Numbers: [14]
14,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:[4, 2], Operations: ['33-21=12', '12/6=2']
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,57 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,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,3
Current State: 57:[6, 3], Operations: ['33-21=12', '12/4=3']
Exploring Operation: 6+3=9, Resulting Numbers: [9]
9,57 unequal: No Solution
Exploring Operation: 6*3=18, Resulting Numbers: [18]
18,57 unequal: No Solution
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,57 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,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:[4, 6], Operations: ['33-21=12', '12-6=6']
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,57 unequal: No Solution
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,57 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,57 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: 57:[21, 6, 29], Operations: ['33-4=29']
Exploring Operation: 21+29=50, Resulting Numbers: [6, 50]
Generated Node #0,0,0: 57:[6, 50] Operation: 21+29=50
Exploring Operation: 21-6=15, Resulting Numbers: [29, 15]
Generated Node #0,0,1: 57:[29, 15] Operation: 21-6=15
Exploring Operation: 29-6=23, Resulting Numbers: [21, 23]
Generated Node #0,0,2: 57:[21, 23] Operation: 29-6=23
Exploring Operation: 29-21=8, Resulting Numbers: [6, 8]
Generated Node #0,0,3: 57:[6, 8] Operation: 29-21=8
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 57:[21, 23], Operations: ['33-4=29', '29-6=23']
Exploring Operation: 21*23=483, Resulting Numbers: [483]
483,57 unequal: No Solution
Exploring Operation: 21+23=44, Resulting Numbers: [44]
44,57 unequal: No Solution
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,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,3
Current State: 57:[6, 8], Operations: ['33-4=29', '29-21=8']
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,57 unequal: No Solution
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,57 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,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,0
Current State: 57:[6, 50], Operations: ['33-4=29', '21+29=50']
Exploring Operation: 50-6=44, Resulting Numbers: [44]
44,57 unequal: No Solution
Exploring Operation: 6+50=56, Resulting Numbers: [56]
56,57 unequal: No Solution
Exploring Operation: 6*50=300, Resulting Numbers: [300]
300,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:[29, 15], Operations: ['33-4=29', '21-6=15']
Exploring Operation: 29+15=44, Resulting Numbers: [44]
44,57 unequal: No Solution
Exploring Operation: 29-15=14, Resulting Numbers: [14]
14,57 unequal: No Solution
Exploring Operation: 29*15=435, Resulting Numbers: [435]
435,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 57:[4, 6], Operations: ['33-6=27', '27-21=6']
Exploring Operation: 4*6=24, Resulting Numbers: [24]
24,57 unequal: No Solution
Exploring Operation: 4+6=10, Resulting Numbers: [10]
10,57 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Moving to Node #0,2,2
Current State: 57:[21, 23], Operations: ['33-6=27', '27-4=23']
Exploring Operation: 21*23=483, Resulting Numbers: [483]
483,57 unequal: No Solution
Exploring Operation: 21+23=44, Resulting Numbers: [44]
44,57 unequal: No Solution
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,57 unequal: No Solution
Moving to Node #0,2,1
Current State: 57:[4, 48], Operations: ['33-6=27', '21+27=48']
Exploring Operation: 4+48=52, Resulting Numbers: [52]
52,57 unequal: No Solution
Exploring Operation: 4*48=192, Resulting Numbers: [192]
192,57 unequal: No Solution
Exploring Operation: 48/4=12, Resulting Numbers: [12]
12,57 unequal: No Solution
Exploring Operation: 48-4=44, Resulting Numbers: [44]
44,57 unequal: No Solution
Moving to Node #0,2,0
Current State: 57:[27, 17], Operations: ['33-6=27', '21-4=17']
Exploring Operation: 27+17=44, Resulting Numbers: [44]
44,57 unequal: No Solution
Exploring Operation: 27*17=459, Resulting Numbers: [459]
459,57 unequal: No Solution
Exploring Operation: 27-17=10, Resulting Numbers: [10]
10,57 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
5,
57,
48,
52
] | 13 | [
"57-5=52",
"52-48=4",
"52/4=13"
] | Current State: 13:[5, 57, 48, 52], Operations: []
Exploring Operation: 57-5=52, Resulting Numbers: [48, 52, 52]
Generated Node #2: [48, 52, 52] from Operation: 57-5=52
Current State: 13:[48, 52, 52], Operations: ['57-5=52']
Exploring Operation: 52-48=4, Resulting Numbers: [4]
4,13 equal: Goal Reached
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[5, 57, 48, 52], Operations: []
Exploring Operation: 52-48=4, Resulting Numbers: [5, 57, 4]
Generated Node #0,0: 13:[5, 57, 4] Operation: 52-48=4
Exploring Operation: 57-52=5, Resulting Numbers: [5, 48, 5]
Generated Node #0,1: 13:[5, 48, 5] Operation: 57-52=5
Exploring Operation: 57-48=9, Resulting Numbers: [5, 52, 9]
Generated Node #0,2: 13:[5, 52, 9] Operation: 57-48=9
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[5, 48, 5], Operations: ['57-52=5']
Exploring Operation: 48-5=43, Resulting Numbers: [5, 43]
Generated Node #0,1,0: 13:[5, 43] Operation: 48-5=43
Exploring Operation: 48-5=43, Resulting Numbers: [5, 43]
Generated Node #0,1,1: 13:[5, 43] Operation: 48-5=43
Exploring Operation: 5+5=10, Resulting Numbers: [48, 10]
Generated Node #0,1,2: 13:[48, 10] Operation: 5+5=10
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 13:[5, 43], Operations: ['57-52=5', '48-5=43']
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,13 unequal: No Solution
Exploring Operation: 5+43=48, Resulting Numbers: [48]
48,13 unequal: No Solution
Exploring Operation: 5*43=215, Resulting Numbers: [215]
215,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 13:[5, 43], Operations: ['57-52=5', '48-5=43']
Exploring Operation: 5*43=215, Resulting Numbers: [215]
215,13 unequal: No Solution
Exploring Operation: 5+43=48, Resulting Numbers: [48]
48,13 unequal: No Solution
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 13:[48, 10], Operations: ['57-52=5', '5+5=10']
Exploring Operation: 48+10=58, Resulting Numbers: [58]
58,13 unequal: No Solution
Exploring Operation: 48*10=480, Resulting Numbers: [480]
480,13 unequal: No Solution
Exploring Operation: 48-10=38, Resulting Numbers: [38]
38,13 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: 13:[5, 52, 9], Operations: ['57-48=9']
Exploring Operation: 52-5=47, Resulting Numbers: [9, 47]
Generated Node #0,2,0: 13:[9, 47] Operation: 52-5=47
Exploring Operation: 52-9=43, Resulting Numbers: [5, 43]
Generated Node #0,2,1: 13:[5, 43] Operation: 52-9=43
Exploring Operation: 5+9=14, Resulting Numbers: [52, 14]
Generated Node #0,2,2: 13:[52, 14] Operation: 5+9=14
Moving to Node #0,2,0
Current State: 13:[9, 47], Operations: ['57-48=9', '52-5=47']
Exploring Operation: 9*47=423, Resulting Numbers: [423]
423,13 unequal: No Solution
Exploring Operation: 47-9=38, Resulting Numbers: [38]
38,13 unequal: No Solution
Exploring Operation: 9+47=56, Resulting Numbers: [56]
56,13 unequal: No Solution
Moving to Node #0,2,1
Current State: 13:[5, 43], Operations: ['57-48=9', '52-9=43']
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,13 unequal: No Solution
Exploring Operation: 5+43=48, Resulting Numbers: [48]
48,13 unequal: No Solution
Exploring Operation: 5*43=215, Resulting Numbers: [215]
215,13 unequal: No Solution
Moving to Node #0,2,2
Current State: 13:[52, 14], Operations: ['57-48=9', '5+9=14']
Exploring Operation: 52*14=728, Resulting Numbers: [728]
728,13 unequal: No Solution
Exploring Operation: 52+14=66, Resulting Numbers: [66]
66,13 unequal: No Solution
Exploring Operation: 52-14=38, Resulting Numbers: [38]
38,13 unequal: No Solution
No 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: 13:[5, 57, 4], Operations: ['52-48=4']
Exploring Operation: 5+4=9, Resulting Numbers: [57, 9]
Generated Node #0,0,0: 13:[57, 9] Operation: 5+4=9
Exploring Operation: 57-4=53, Resulting Numbers: [5, 53]
Generated Node #0,0,1: 13:[5, 53] Operation: 57-4=53
Exploring Operation: 57-5=52, Resulting Numbers: [4, 52]
Generated Node #0,0,2: 13:[4, 52] Operation: 57-5=52
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 13:[57, 9], Operations: ['52-48=4', '5+4=9']
Exploring Operation: 57+9=66, Resulting Numbers: [66]
66,13 unequal: No Solution
Exploring Operation: 57*9=513, Resulting Numbers: [513]
513,13 unequal: No Solution
Exploring Operation: 57-9=48, Resulting Numbers: [48]
48,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 13:[5, 53], Operations: ['52-48=4', '57-4=53']
Exploring Operation: 5*53=265, Resulting Numbers: [265]
265,13 unequal: No Solution
Exploring Operation: 53-5=48, Resulting Numbers: [48]
48,13 unequal: No Solution
Exploring Operation: 5+53=58, Resulting Numbers: [58]
58,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 13:[4, 52], Operations: ['52-48=4', '57-5=52']
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[5, 57, 48, 52], Operations: []
Exploring Operation: 52-48=4, Resulting Numbers: [5, 57, 4]
Generated Node #0,0: 13:[5, 57, 4] Operation: 52-48=4
Moving to Node #0,0
Current State: 13:[5, 57, 4], Operations: ['52-48=4']
Exploring Operation: 57-5=52, Resulting Numbers: [4, 52]
Generated Node #0,0,2: 13:[4, 52] Operation: 57-5=52
Moving to Node #0,0,2
Current State: 13:[4, 52], Operations: ['52-48=4', '57-5=52']
Exploring Operation: 52/4=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96441 | hs_3 | mult_heuristic |
[
63,
82,
81,
43
] | 19 | [
"82-63=19",
"81-43=38",
"38-19=19"
] | Current State: 19:[63, 82, 81, 43], Operations: []
Exploring Operation: 82-63=19, Resulting Numbers: [81, 43, 19]
Generated Node #2: [81, 43, 19] from Operation: 82-63=19
Current State: 19:[81, 43, 19], Operations: ['82-63=19']
Exploring Operation: 81-43=38, Resulting Numbers: [19, 38]
Generated Node #3: [19, 38] from Operation: 81-43=38
Current State: 19:[19, 38], Operations: ['82-63=19', '81-43=38']
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[63, 82, 81, 43], Operations: []
Exploring Operation: 63-43=20, Resulting Numbers: [82, 81, 20]
Generated Node #0,0: 19:[82, 81, 20] Operation: 63-43=20
Exploring Operation: 82-63=19, Resulting Numbers: [81, 43, 19]
Generated Node #0,1: 19:[81, 43, 19] Operation: 82-63=19
Exploring Operation: 82-81=1, Resulting Numbers: [63, 43, 1]
Generated Node #0,2: 19:[63, 43, 1] Operation: 82-81=1
Exploring Operation: 81-63=18, Resulting Numbers: [82, 43, 18]
Generated Node #0,3: 19:[82, 43, 18] Operation: 81-63=18
Exploring Operation: 82-43=39, Resulting Numbers: [63, 81, 39]
Generated Node #0,4: 19:[63, 81, 39] Operation: 82-43=39
Start Sub Search at level 1: Moving to Node #0,1
Current State: 19:[81, 43, 19], Operations: ['82-63=19']
Exploring Operation: 81-43=38, Resulting Numbers: [19, 38]
Generated Node #0,1,0: 19:[19, 38] Operation: 81-43=38
Exploring Operation: 43-19=24, Resulting Numbers: [81, 24]
Generated Node #0,1,1: 19:[81, 24] Operation: 43-19=24
Exploring Operation: 81-19=62, Resulting Numbers: [43, 62]
Generated Node #0,1,2: 19:[43, 62] Operation: 81-19=62
Exploring Operation: 81+43=124, Resulting Numbers: [19, 124]
Generated Node #0,1,3: 19:[19, 124] Operation: 81+43=124
Exploring Operation: 81+19=100, Resulting Numbers: [43, 100]
Generated Node #0,1,4: 19:[43, 100] Operation: 81+19=100
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 19:[19, 38], Operations: ['82-63=19', '81-43=38']
Exploring Operation: 38/19=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 19*38=722, Resulting Numbers: [722]
722,19 unequal: No Solution
Exploring Operation: 19+38=57, Resulting Numbers: [57]
57,19 unequal: No Solution
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[63, 82, 81, 43], Operations: []
Exploring Operation: 82-63=19, Resulting Numbers: [81, 43, 19]
Generated Node #0,1: 19:[81, 43, 19] Operation: 82-63=19
Moving to Node #0,1
Current State: 19:[81, 43, 19], Operations: ['82-63=19']
Exploring Operation: 81-43=38, Resulting Numbers: [19, 38]
Generated Node #0,1,0: 19:[19, 38] Operation: 81-43=38
Moving to Node #0,1,0
Current State: 19:[19, 38], Operations: ['82-63=19', '81-43=38']
Exploring Operation: 38-19=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
96,
28,
84,
20
] | 36 | [
"96-28=68",
"84+20=104",
"104-68=36"
] | Current State: 36:[96, 28, 84, 20], Operations: []
Exploring Operation: 96-28=68, Resulting Numbers: [84, 20, 68]
Generated Node #2: [84, 20, 68] from Operation: 96-28=68
Current State: 36:[84, 20, 68], Operations: ['96-28=68']
Exploring Operation: 84+20=104, Resulting Numbers: [68, 104]
Generated Node #3: [68, 104] from Operation: 84+20=104
Current State: 36:[68, 104], Operations: ['96-28=68', '84+20=104']
Exploring Operation: 104-68=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[96, 28, 84, 20], Operations: []
Exploring Operation: 84-28=56, Resulting Numbers: [96, 20, 56]
Generated Node #0,0: 36:[96, 20, 56] Operation: 84-28=56
Exploring Operation: 96-28=68, Resulting Numbers: [84, 20, 68]
Generated Node #0,1: 36:[84, 20, 68] Operation: 96-28=68
Exploring Operation: 96-84=12, Resulting Numbers: [28, 20, 12]
Generated Node #0,2: 36:[28, 20, 12] Operation: 96-84=12
Exploring Operation: 84/28=3, Resulting Numbers: [96, 20, 3]
Generated Node #0,3: 36:[96, 20, 3] Operation: 84/28=3
Start Sub Search at level 1: Moving to Node #0,2
Current State: 36:[28, 20, 12], Operations: ['96-84=12']
Exploring Operation: 28-12=16, Resulting Numbers: [20, 16]
Generated Node #0,2,0: 36:[20, 16] Operation: 28-12=16
Exploring Operation: 20-12=8, Resulting Numbers: [28, 8]
Generated Node #0,2,1: 36:[28, 8] Operation: 20-12=8
Exploring Operation: 28+12=40, Resulting Numbers: [20, 40]
Generated Node #0,2,2: 36:[20, 40] Operation: 28+12=40
Exploring Operation: 28-20=8, Resulting Numbers: [12, 8]
Generated Node #0,2,3: 36:[12, 8] Operation: 28-20=8
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 36:[12, 8], Operations: ['96-84=12', '28-20=8']
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,36 unequal: No Solution
Exploring Operation: 12*8=96, Resulting Numbers: [96]
96,36 unequal: No Solution
Exploring Operation: 12+8=20, Resulting Numbers: [20]
20,36 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 36:[20, 16], Operations: ['96-84=12', '28-12=16']
Exploring Operation: 20+16=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[96, 28, 84, 20], Operations: []
Exploring Operation: 96-84=12, Resulting Numbers: [28, 20, 12]
Generated Node #0,2: 36:[28, 20, 12] Operation: 96-84=12
Moving to Node #0,2
Current State: 36:[28, 20, 12], Operations: ['96-84=12']
Exploring Operation: 28-12=16, Resulting Numbers: [20, 16]
Generated Node #0,2,0: 36:[20, 16] Operation: 28-12=16
Moving to Node #0,2,0
Current State: 36:[20, 16], Operations: ['96-84=12', '28-12=16']
Exploring Operation: 20+16=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_4 | sum_heuristic |
[
25,
29,
7,
17
] | 85 | [
"25-17=8",
"7*8=56",
"29+56=85"
] | Current State: 85:[25, 29, 7, 17], Operations: []
Exploring Operation: 25-17=8, Resulting Numbers: [29, 7, 8]
Generated Node #2: [29, 7, 8] from Operation: 25-17=8
Current State: 85:[29, 7, 8], Operations: ['25-17=8']
Exploring Operation: 7*8=56, Resulting Numbers: [29, 56]
Generated Node #3: [29, 56] from Operation: 7*8=56
Current State: 85:[29, 56], Operations: ['25-17=8', '7*8=56']
Exploring Operation: 29+56=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[25, 29, 7, 17], Operations: []
Exploring Operation: 29-17=12, Resulting Numbers: [25, 7, 12]
Generated Node #0,0: 85:[25, 7, 12] Operation: 29-17=12
Exploring Operation: 29-7=22, Resulting Numbers: [25, 17, 22]
Generated Node #0,1: 85:[25, 17, 22] Operation: 29-7=22
Exploring Operation: 29-25=4, Resulting Numbers: [7, 17, 4]
Generated Node #0,2: 85:[7, 17, 4] Operation: 29-25=4
Exploring Operation: 25-7=18, Resulting Numbers: [29, 17, 18]
Generated Node #0,3: 85:[29, 17, 18] Operation: 25-7=18
Moving to Node #0,2
Current State: 85:[7, 17, 4], Operations: ['29-25=4']
Exploring Operation: 7+4=11, Resulting Numbers: [17, 11]
Generated Node #0,2,0: 85:[17, 11] Operation: 7+4=11
Exploring Operation: 7-4=3, Resulting Numbers: [17, 3]
Generated Node #0,2,1: 85:[17, 3] Operation: 7-4=3
Exploring Operation: 17-7=10, Resulting Numbers: [4, 10]
Generated Node #0,2,2: 85:[4, 10] Operation: 17-7=10
Exploring Operation: 17+4=21, Resulting Numbers: [7, 21]
Generated Node #0,2,3: 85:[7, 21] Operation: 17+4=21
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 85:[17, 3], Operations: ['29-25=4', '7-4=3']
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,85 unequal: No Solution
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,85 unequal: No Solution
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 85:[17, 11], Operations: ['29-25=4', '7+4=11']
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,85 unequal: No Solution
Exploring Operation: 17+11=28, Resulting Numbers: [28]
28,85 unequal: No Solution
Exploring Operation: 17*11=187, Resulting Numbers: [187]
187,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 85:[4, 10], Operations: ['29-25=4', '17-7=10']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,85 unequal: No Solution
Exploring Operation: 4+10=14, Resulting Numbers: [14]
14,85 unequal: No Solution
Exploring Operation: 4*10=40, Resulting Numbers: [40]
40,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 85:[7, 21], Operations: ['29-25=4', '17+4=21']
Exploring Operation: 7*21=147, Resulting Numbers: [147]
147,85 unequal: No Solution
Exploring Operation: 7+21=28, Resulting Numbers: [28]
28,85 unequal: No Solution
Exploring Operation: 21/7=3, Resulting Numbers: [3]
3,85 unequal: No Solution
Exploring Operation: 21-7=14, Resulting Numbers: [14]
14,85 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: 85:[29, 17, 18], Operations: ['25-7=18']
Exploring Operation: 29-18=11, Resulting Numbers: [17, 11]
Generated Node #0,3,0: 85:[17, 11] Operation: 29-18=11
Exploring Operation: 18-17=1, Resulting Numbers: [29, 1]
Generated Node #0,3,1: 85:[29, 1] Operation: 18-17=1
Exploring Operation: 29+17=46, Resulting Numbers: [18, 46]
Generated Node #0,3,2: 85:[18, 46] Operation: 29+17=46
Exploring Operation: 29-17=12, Resulting Numbers: [18, 12]
Generated Node #0,3,3: 85:[18, 12] Operation: 29-17=12
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 85:[17, 11], Operations: ['25-7=18', '29-18=11']
Exploring Operation: 17*11=187, Resulting Numbers: [187]
187,85 unequal: No Solution
Exploring Operation: 17-11=6, Resulting Numbers: [6]
6,85 unequal: No Solution
Exploring Operation: 17+11=28, Resulting Numbers: [28]
28,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 85:[18, 12], Operations: ['25-7=18', '29-17=12']
Exploring Operation: 18+12=30, Resulting Numbers: [30]
30,85 unequal: No Solution
Exploring Operation: 18*12=216, Resulting Numbers: [216]
216,85 unequal: No Solution
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 85:[29, 1], Operations: ['25-7=18', '18-17=1']
Exploring Operation: 29*1=29, Resulting Numbers: [29]
29,85 unequal: No Solution
Exploring Operation: 29+1=30, Resulting Numbers: [30]
30,85 unequal: No Solution
Exploring Operation: 29-1=28, Resulting Numbers: [28]
28,85 unequal: No Solution
Exploring Operation: 29/1=29, Resulting Numbers: [29]
29,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 85:[18, 46], Operations: ['25-7=18', '29+17=46']
Exploring Operation: 18+46=64, Resulting Numbers: [64]
64,85 unequal: No Solution
Exploring Operation: 46-18=28, Resulting Numbers: [28]
28,85 unequal: No Solution
Exploring Operation: 18*46=828, Resulting Numbers: [828]
828,85 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: 85:[25, 17, 22], Operations: ['29-7=22']
Exploring Operation: 25-17=8, Resulting Numbers: [22, 8]
Generated Node #0,1,0: 85:[22, 8] Operation: 25-17=8
Exploring Operation: 25+17=42, Resulting Numbers: [22, 42]
Generated Node #0,1,1: 85:[22, 42] Operation: 25+17=42
Exploring Operation: 22-17=5, Resulting Numbers: [25, 5]
Generated Node #0,1,2: 85:[25, 5] Operation: 22-17=5
Exploring Operation: 25-22=3, Resulting Numbers: [17, 3]
Generated Node #0,1,3: 85:[17, 3] Operation: 25-22=3
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 85:[17, 3], Operations: ['29-7=22', '25-22=3']
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,85 unequal: No Solution
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,85 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 85:[22, 8], Operations: ['29-7=22', '25-17=8']
Exploring Operation: 22-8=14, Resulting Numbers: [14]
14,85 unequal: No Solution
Exploring Operation: 22+8=30, Resulting Numbers: [30]
30,85 unequal: No Solution
Exploring Operation: 22*8=176, Resulting Numbers: [176]
176,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 85:[25, 5], Operations: ['29-7=22', '22-17=5']
Exploring Operation: 25+5=30, Resulting Numbers: [30]
30,85 unequal: No Solution
Exploring Operation: 25*5=125, Resulting Numbers: [125]
125,85 unequal: No Solution
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,85 unequal: No Solution
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 85:[22, 42], Operations: ['29-7=22', '25+17=42']
Exploring Operation: 22*42=924, Resulting Numbers: [924]
924,85 unequal: No Solution
Exploring Operation: 42-22=20, Resulting Numbers: [20]
20,85 unequal: No Solution
Exploring Operation: 22+42=64, Resulting Numbers: [64]
64,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 85:[25, 7, 12], Operations: ['29-17=12']
Exploring Operation: 12-7=5, Resulting Numbers: [25, 5]
Generated Node #0,0,0: 85:[25, 5] Operation: 12-7=5
Exploring Operation: 7*12=84, Resulting Numbers: [25, 84]
Generated Node #0,0,1: 85:[25, 84] Operation: 7*12=84
Exploring Operation: 25-7=18, Resulting Numbers: [12, 18]
Generated Node #0,0,2: 85:[12, 18] Operation: 25-7=18
Exploring Operation: 25-12=13, Resulting Numbers: [7, 13]
Generated Node #0,0,3: 85:[7, 13] Operation: 25-12=13
Moving to Node #0,0,2
Current State: 85:[12, 18], Operations: ['29-17=12', '25-7=18']
Exploring Operation: 18-12=6, Resulting Numbers: [6]
6,85 unequal: No Solution
Exploring Operation: 12*18=216, Resulting Numbers: [216]
216,85 unequal: No Solution
Exploring Operation: 12+18=30, Resulting Numbers: [30]
30,85 unequal: No Solution
Moving to Node #0,0,3
Current State: 85:[7, 13], Operations: ['29-17=12', '25-12=13']
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,85 unequal: No Solution
Exploring Operation: 7+13=20, Resulting Numbers: [20]
20,85 unequal: No Solution
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,85 unequal: No Solution
Moving to Node #0,0,0
Current State: 85:[25, 5], Operations: ['29-17=12', '12-7=5']
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,85 unequal: No Solution
Exploring Operation: 25*5=125, Resulting Numbers: [125]
125,85 unequal: No Solution
Exploring Operation: 25+5=30, Resulting Numbers: [30]
30,85 unequal: No Solution
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,85 unequal: No Solution
Moving to Node #0,0,1
Current State: 85:[25, 84], Operations: ['29-17=12', '7*12=84']
Exploring Operation: 25*84=2100, Resulting Numbers: [2100]
2100,85 unequal: No Solution
Exploring Operation: 84-25=59, Resulting Numbers: [59]
59,85 unequal: No Solution
Exploring Operation: 25+84=109, Resulting Numbers: [109]
109,85 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
41,
2,
18,
69
] | 37 | [
"41+69=110",
"110/2=55",
"55-18=37"
] | Current State: 37:[41, 2, 18, 69], Operations: []
Exploring Operation: 41+69=110, Resulting Numbers: [2, 18, 110]
Generated Node #2: [2, 18, 110] from Operation: 41+69=110
Current State: 37:[2, 18, 110], Operations: ['41+69=110']
Exploring Operation: 110/2=55, Resulting Numbers: [18, 55]
Generated Node #3: [18, 55] from Operation: 110/2=55
Current State: 37:[18, 55], Operations: ['41+69=110', '110/2=55']
Exploring Operation: 55-18=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[41, 2, 18, 69], Operations: []
Exploring Operation: 2+18=20, Resulting Numbers: [41, 69, 20]
Generated Node #0,0: 37:[41, 69, 20] Operation: 2+18=20
Exploring Operation: 69-2=67, Resulting Numbers: [41, 18, 67]
Generated Node #0,1: 37:[41, 18, 67] Operation: 69-2=67
Exploring Operation: 69-18=51, Resulting Numbers: [41, 2, 51]
Generated Node #0,2: 37:[41, 2, 51] Operation: 69-18=51
Exploring Operation: 41-2=39, Resulting Numbers: [18, 69, 39]
Generated Node #0,3: 37:[18, 69, 39] Operation: 41-2=39
Exploring Operation: 2*18=36, Resulting Numbers: [41, 69, 36]
Generated Node #0,4: 37:[41, 69, 36] Operation: 2*18=36
Start Sub Search at level 1: Moving to Node #0,4
Current State: 37:[41, 69, 36], Operations: ['2*18=36']
Exploring Operation: 41+36=77, Resulting Numbers: [69, 77]
Generated Node #0,4,0: 37:[69, 77] Operation: 41+36=77
Exploring Operation: 41-36=5, Resulting Numbers: [69, 5]
Generated Node #0,4,1: 37:[69, 5] Operation: 41-36=5
Exploring Operation: 69+36=105, Resulting Numbers: [41, 105]
Generated Node #0,4,2: 37:[41, 105] Operation: 69+36=105
Exploring Operation: 69-41=28, Resulting Numbers: [36, 28]
Generated Node #0,4,3: 37:[36, 28] Operation: 69-41=28
Exploring Operation: 69-36=33, Resulting Numbers: [41, 33]
Generated Node #0,4,4: 37:[41, 33] Operation: 69-36=33
Moving to Node #0,4,4
Current State: 37:[41, 33], Operations: ['2*18=36', '69-36=33']
Exploring Operation: 41*33=1353, Resulting Numbers: [1353]
1353,37 unequal: No Solution
Exploring Operation: 41-33=8, Resulting Numbers: [8]
8,37 unequal: No Solution
Exploring Operation: 41+33=74, Resulting Numbers: [74]
74,37 unequal: No Solution
Moving to Node #0,4,3
Current State: 37:[36, 28], Operations: ['2*18=36', '69-41=28']
Exploring Operation: 36*28=1008, Resulting Numbers: [1008]
1008,37 unequal: No Solution
Exploring Operation: 36+28=64, Resulting Numbers: [64]
64,37 unequal: No Solution
Exploring Operation: 36-28=8, Resulting Numbers: [8]
8,37 unequal: No Solution
Moving to Node #0,4,1
Current State: 37:[69, 5], Operations: ['2*18=36', '41-36=5']
Exploring Operation: 69-5=64, Resulting Numbers: [64]
64,37 unequal: No Solution
Exploring Operation: 69*5=345, Resulting Numbers: [345]
345,37 unequal: No Solution
Exploring Operation: 69+5=74, Resulting Numbers: [74]
74,37 unequal: No Solution
Moving to Node #0,4,0
Current State: 37:[69, 77], Operations: ['2*18=36', '41+36=77']
Exploring Operation: 69+77=146, Resulting Numbers: [146]
146,37 unequal: No Solution
Exploring Operation: 77-69=8, Resulting Numbers: [8]
8,37 unequal: No Solution
Exploring Operation: 69*77=5313, Resulting Numbers: [5313]
5313,37 unequal: No Solution
Moving to Node #0,4,2
Current State: 37:[41, 105], Operations: ['2*18=36', '69+36=105']
Exploring Operation: 41+105=146, Resulting Numbers: [146]
146,37 unequal: No Solution
Exploring Operation: 41*105=4305, Resulting Numbers: [4305]
4305,37 unequal: No Solution
Exploring Operation: 105-41=64, Resulting Numbers: [64]
64,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[41, 69, 20], Operations: ['2+18=20']
Exploring Operation: 69+20=89, Resulting Numbers: [41, 89]
Generated Node #0,0,0: 37:[41, 89] Operation: 69+20=89
Exploring Operation: 69-41=28, Resulting Numbers: [20, 28]
Generated Node #0,0,1: 37:[20, 28] Operation: 69-41=28
Exploring Operation: 69-20=49, Resulting Numbers: [41, 49]
Generated Node #0,0,2: 37:[41, 49] Operation: 69-20=49
Exploring Operation: 41-20=21, Resulting Numbers: [69, 21]
Generated Node #0,0,3: 37:[69, 21] Operation: 41-20=21
Exploring Operation: 41+20=61, Resulting Numbers: [69, 61]
Generated Node #0,0,4: 37:[69, 61] Operation: 41+20=61
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 37:[41, 49], Operations: ['2+18=20', '69-20=49']
Exploring Operation: 41+49=90, Resulting Numbers: [90]
90,37 unequal: No Solution
Exploring Operation: 41*49=2009, Resulting Numbers: [2009]
2009,37 unequal: No Solution
Exploring Operation: 49-41=8, Resulting Numbers: [8]
8,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 37:[20, 28], Operations: ['2+18=20', '69-41=28']
Exploring Operation: 20*28=560, Resulting Numbers: [560]
560,37 unequal: No Solution
Exploring Operation: 20+28=48, Resulting Numbers: [48]
48,37 unequal: No Solution
Exploring Operation: 28-20=8, Resulting Numbers: [8]
8,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 37:[69, 21], Operations: ['2+18=20', '41-20=21']
Exploring Operation: 69*21=1449, Resulting Numbers: [1449]
1449,37 unequal: No Solution
Exploring Operation: 69-21=48, Resulting Numbers: [48]
48,37 unequal: No Solution
Exploring Operation: 69+21=90, Resulting Numbers: [90]
90,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 37:[41, 89], Operations: ['2+18=20', '69+20=89']
Exploring Operation: 41+89=130, Resulting Numbers: [130]
130,37 unequal: No Solution
Exploring Operation: 89-41=48, Resulting Numbers: [48]
48,37 unequal: No Solution
Exploring Operation: 41*89=3649, Resulting Numbers: [3649]
3649,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 37:[69, 61], Operations: ['2+18=20', '41+20=61']
Exploring Operation: 69*61=4209, Resulting Numbers: [4209]
4209,37 unequal: No Solution
Exploring Operation: 69-61=8, Resulting Numbers: [8]
8,37 unequal: No Solution
Exploring Operation: 69+61=130, Resulting Numbers: [130]
130,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[41, 18, 67], Operations: ['69-2=67']
Exploring Operation: 18+67=85, Resulting Numbers: [41, 85]
Generated Node #0,1,0: 37:[41, 85] Operation: 18+67=85
Exploring Operation: 67-18=49, Resulting Numbers: [41, 49]
Generated Node #0,1,1: 37:[41, 49] Operation: 67-18=49
Exploring Operation: 41+18=59, Resulting Numbers: [67, 59]
Generated Node #0,1,2: 37:[67, 59] Operation: 41+18=59
Exploring Operation: 41-18=23, Resulting Numbers: [67, 23]
Generated Node #0,1,3: 37:[67, 23] Operation: 41-18=23
Exploring Operation: 67-41=26, Resulting Numbers: [18, 26]
Generated Node #0,1,4: 37:[18, 26] Operation: 67-41=26
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 37:[41, 49], Operations: ['69-2=67', '67-18=49']
Exploring Operation: 41+49=90, Resulting Numbers: [90]
90,37 unequal: No Solution
Exploring Operation: 41*49=2009, Resulting Numbers: [2009]
2009,37 unequal: No Solution
Exploring Operation: 49-41=8, Resulting Numbers: [8]
8,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 37:[18, 26], Operations: ['69-2=67', '67-41=26']
Exploring Operation: 18+26=44, Resulting Numbers: [44]
44,37 unequal: No Solution
Exploring Operation: 26-18=8, Resulting Numbers: [8]
8,37 unequal: No Solution
Exploring Operation: 18*26=468, Resulting Numbers: [468]
468,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 37:[67, 23], Operations: ['69-2=67', '41-18=23']
Exploring Operation: 67-23=44, Resulting Numbers: [44]
44,37 unequal: No Solution
Exploring Operation: 67+23=90, Resulting Numbers: [90]
90,37 unequal: No Solution
Exploring Operation: 67*23=1541, Resulting Numbers: [1541]
1541,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 37:[41, 85], Operations: ['69-2=67', '18+67=85']
Exploring Operation: 41*85=3485, Resulting Numbers: [3485]
3485,37 unequal: No Solution
Exploring Operation: 85-41=44, Resulting Numbers: [44]
44,37 unequal: No Solution
Exploring Operation: 41+85=126, Resulting Numbers: [126]
126,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 37:[67, 59], Operations: ['69-2=67', '41+18=59']
Exploring Operation: 67-59=8, Resulting Numbers: [8]
8,37 unequal: No Solution
Exploring Operation: 67*59=3953, Resulting Numbers: [3953]
3953,37 unequal: No Solution
Exploring Operation: 67+59=126, Resulting Numbers: [126]
126,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 37:[41, 2, 51], Operations: ['69-18=51']
Exploring Operation: 41-2=39, Resulting Numbers: [51, 39]
Generated Node #0,2,0: 37:[51, 39] Operation: 41-2=39
Exploring Operation: 41*2=82, Resulting Numbers: [51, 82]
Generated Node #0,2,1: 37:[51, 82] Operation: 41*2=82
Exploring Operation: 51-2=49, Resulting Numbers: [41, 49]
Generated Node #0,2,2: 37:[41, 49] Operation: 51-2=49
Exploring Operation: 41+2=43, Resulting Numbers: [51, 43]
Generated Node #0,2,3: 37:[51, 43] Operation: 41+2=43
Exploring Operation: 2+51=53, Resulting Numbers: [41, 53]
Generated Node #0,2,4: 37:[41, 53] Operation: 2+51=53
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 37:[51, 39], Operations: ['69-18=51', '41-2=39']
Exploring Operation: 51-39=12, Resulting Numbers: [12]
12,37 unequal: No Solution
Exploring Operation: 51*39=1989, Resulting Numbers: [1989]
1989,37 unequal: No Solution
Exploring Operation: 51+39=90, Resulting Numbers: [90]
90,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 37:[41, 49], Operations: ['69-18=51', '51-2=49']
Exploring Operation: 41*49=2009, Resulting Numbers: [2009]
2009,37 unequal: No Solution
Exploring Operation: 49-41=8, Resulting Numbers: [8]
8,37 unequal: No Solution
Exploring Operation: 41+49=90, Resulting Numbers: [90]
90,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 37:[51, 43], Operations: ['69-18=51', '41+2=43']
Exploring Operation: 51+43=94, Resulting Numbers: [94]
94,37 unequal: No Solution
Exploring Operation: 51-43=8, Resulting Numbers: [8]
8,37 unequal: No Solution
Exploring Operation: 51*43=2193, Resulting Numbers: [2193]
2193,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 37:[41, 53], Operations: ['69-18=51', '2+51=53']
Exploring Operation: 53-41=12, Resulting Numbers: [12]
12,37 unequal: No Solution
Exploring Operation: 41+53=94, Resulting Numbers: [94]
94,37 unequal: No Solution
Exploring Operation: 41*53=2173, Resulting Numbers: [2173]
2173,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 37:[51, 82], Operations: ['69-18=51', '41*2=82']
Exploring Operation: 51*82=4182, Resulting Numbers: [4182]
4182,37 unequal: No Solution
Exploring Operation: 51+82=133, Resulting Numbers: [133]
133,37 unequal: No Solution
Exploring Operation: 82-51=31, Resulting Numbers: [31]
31,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 37:[18, 69, 39], Operations: ['41-2=39']
Exploring Operation: 18+69=87, Resulting Numbers: [39, 87]
Generated Node #0,3,0: 37:[39, 87] Operation: 18+69=87
Exploring Operation: 69-39=30, Resulting Numbers: [18, 30]
Generated Node #0,3,1: 37:[18, 30] Operation: 69-39=30
Exploring Operation: 69-18=51, Resulting Numbers: [39, 51]
Generated Node #0,3,2: 37:[39, 51] Operation: 69-18=51
Exploring Operation: 39-18=21, Resulting Numbers: [69, 21]
Generated Node #0,3,3: 37:[69, 21] Operation: 39-18=21
Exploring Operation: 18+39=57, Resulting Numbers: [69, 57]
Generated Node #0,3,4: 37:[69, 57] Operation: 18+39=57
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 37:[39, 51], Operations: ['41-2=39', '69-18=51']
Exploring Operation: 39+51=90, Resulting Numbers: [90]
90,37 unequal: No Solution
Exploring Operation: 39*51=1989, Resulting Numbers: [1989]
1989,37 unequal: No Solution
Exploring Operation: 51-39=12, Resulting Numbers: [12]
12,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 37:[18, 30], Operations: ['41-2=39', '69-39=30']
Exploring Operation: 30-18=12, Resulting Numbers: [12]
12,37 unequal: No Solution
Exploring Operation: 18+30=48, Resulting Numbers: [48]
48,37 unequal: No Solution
Exploring Operation: 18*30=540, Resulting Numbers: [540]
540,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 37:[69, 21], Operations: ['41-2=39', '39-18=21']
Exploring Operation: 69+21=90, Resulting Numbers: [90]
90,37 unequal: No Solution
Exploring Operation: 69-21=48, Resulting Numbers: [48]
48,37 unequal: No Solution
Exploring Operation: 69*21=1449, Resulting Numbers: [1449]
1449,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 37:[39, 87], Operations: ['41-2=39', '18+69=87']
Exploring Operation: 39+87=126, Resulting Numbers: [126]
126,37 unequal: No Solution
Exploring Operation: 87-39=48, Resulting Numbers: [48]
48,37 unequal: No Solution
Exploring Operation: 39*87=3393, Resulting Numbers: [3393]
3393,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 37:[69, 57], Operations: ['41-2=39', '18+39=57']
Exploring Operation: 69*57=3933, Resulting Numbers: [3933]
3933,37 unequal: No Solution
Exploring Operation: 69+57=126, Resulting Numbers: [126]
126,37 unequal: No Solution
Exploring Operation: 69-57=12, Resulting Numbers: [12]
12,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
26,
65,
68,
60
] | 31 | [
"65-26=39",
"68-60=8",
"39-8=31"
] | Current State: 31:[26, 65, 68, 60], Operations: []
Exploring Operation: 65-26=39, Resulting Numbers: [68, 60, 39]
Generated Node #2: [68, 60, 39] from Operation: 65-26=39
Current State: 31:[68, 60, 39], Operations: ['65-26=39']
Exploring Operation: 68-60=8, Resulting Numbers: [39, 8]
Generated Node #3: [39, 8] from Operation: 68-60=8
Current State: 31:[39, 8], Operations: ['65-26=39', '68-60=8']
Exploring Operation: 39-8=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[26, 65, 68, 60], Operations: []
Exploring Operation: 68-65=3, Resulting Numbers: [26, 60, 3]
Generated Node #0,0: 31:[26, 60, 3] Operation: 68-65=3
Exploring Operation: 68-60=8, Resulting Numbers: [26, 65, 8]
Generated Node #0,1: 31:[26, 65, 8] Operation: 68-60=8
Moving to Node #0,0
Current State: 31:[26, 60, 3], Operations: ['68-65=3']
Exploring Operation: 60/3=20, Resulting Numbers: [26, 20]
Generated Node #0,0,0: 31:[26, 20] Operation: 60/3=20
Exploring Operation: 60-26=34, Resulting Numbers: [3, 34]
Generated Node #0,0,1: 31:[3, 34] Operation: 60-26=34
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 31:[26, 20], Operations: ['68-65=3', '60/3=20']
Exploring Operation: 26-20=6, Resulting Numbers: [6]
6,31 unequal: No Solution
Exploring Operation: 26+20=46, Resulting Numbers: [46]
46,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 31:[3, 34], Operations: ['68-65=3', '60-26=34']
Exploring Operation: 3+34=37, Resulting Numbers: [37]
37,31 unequal: No Solution
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[26, 65, 68, 60], Operations: []
Exploring Operation: 68-65=3, Resulting Numbers: [26, 60, 3]
Generated Node #0,0: 31:[26, 60, 3] Operation: 68-65=3
Moving to Node #0,0
Current State: 31:[26, 60, 3], Operations: ['68-65=3']
Exploring Operation: 60-26=34, Resulting Numbers: [3, 34]
Generated Node #0,0,1: 31:[3, 34] Operation: 60-26=34
Moving to Node #0,0,1
Current State: 31:[3, 34], Operations: ['68-65=3', '60-26=34']
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
3,
8,
45,
50
] | 37 | [
"50-45=5",
"8*5=40",
"40-3=37"
] | Current State: 37:[3, 8, 45, 50], Operations: []
Exploring Operation: 50-45=5, Resulting Numbers: [3, 8, 5]
Generated Node #2: [3, 8, 5] from Operation: 50-45=5
Current State: 37:[3, 8, 5], Operations: ['50-45=5']
Exploring Operation: 8*5=40, Resulting Numbers: [3, 40]
Generated Node #3: [3, 40] from Operation: 8*5=40
Current State: 37:[3, 40], Operations: ['50-45=5', '8*5=40']
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[3, 8, 45, 50], Operations: []
Exploring Operation: 3+8=11, Resulting Numbers: [45, 50, 11]
Generated Node #0,0: 37:[45, 50, 11] Operation: 3+8=11
Exploring Operation: 3*8=24, Resulting Numbers: [45, 50, 24]
Generated Node #0,1: 37:[45, 50, 24] Operation: 3*8=24
Moving to Node #0,1
Current State: 37:[45, 50, 24], Operations: ['3*8=24']
Exploring Operation: 50-24=26, Resulting Numbers: [45, 26]
Generated Node #0,1,0: 37:[45, 26] Operation: 50-24=26
Exploring Operation: 45-24=21, Resulting Numbers: [50, 21]
Generated Node #0,1,1: 37:[50, 21] Operation: 45-24=21
Moving to Node #0,0
Current State: 37:[45, 50, 11], Operations: ['3+8=11']
Exploring Operation: 45-11=34, Resulting Numbers: [50, 34]
Generated Node #0,0,0: 37:[50, 34] Operation: 45-11=34
Exploring Operation: 50-11=39, Resulting Numbers: [45, 39]
Generated Node #0,0,1: 37:[45, 39] Operation: 50-11=39
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 37:[45, 39], Operations: ['3+8=11', '50-11=39']
Exploring Operation: 45-39=6, Resulting Numbers: [6]
6,37 unequal: No Solution
Exploring Operation: 45+39=84, Resulting Numbers: [84]
84,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 37:[50, 34], Operations: ['3+8=11', '45-11=34']
Exploring Operation: 50-34=16, Resulting Numbers: [16]
16,37 unequal: No Solution
Exploring Operation: 50+34=84, Resulting Numbers: [84]
84,37 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: 37:[45, 26], Operations: ['3*8=24', '50-24=26']
Exploring Operation: 45-26=19, Resulting Numbers: [19]
19,37 unequal: No Solution
Exploring Operation: 45+26=71, Resulting Numbers: [71]
71,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[50, 21], Operations: ['3*8=24', '45-24=21']
Exploring Operation: 50-21=29, Resulting Numbers: [29]
29,37 unequal: No Solution
Exploring Operation: 50+21=71, Resulting Numbers: [71]
71,37 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
28,
17,
66,
73
] | 52 | [
"28+17=45",
"73-66=7",
"45+7=52"
] | Current State: 52:[28, 17, 66, 73], Operations: []
Exploring Operation: 28+17=45, Resulting Numbers: [66, 73, 45]
Generated Node #2: [66, 73, 45] from Operation: 28+17=45
Current State: 52:[66, 73, 45], Operations: ['28+17=45']
Exploring Operation: 73-66=7, Resulting Numbers: [45, 7]
Generated Node #3: [45, 7] from Operation: 73-66=7
Current State: 52:[45, 7], Operations: ['28+17=45', '73-66=7']
Exploring Operation: 45+7=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[28, 17, 66, 73], Operations: []
Exploring Operation: 73-66=7, Resulting Numbers: [28, 17, 7]
Generated Node #0,0: 52:[28, 17, 7] Operation: 73-66=7
Moving to Node #0,0
Current State: 52:[28, 17, 7], Operations: ['73-66=7']
Exploring Operation: 28/7=4, Resulting Numbers: [17, 4]
Generated Node #0,0,0: 52:[17, 4] Operation: 28/7=4
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 52:[17, 4], Operations: ['73-66=7', '28/7=4']
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,52 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 |
[
7,
83,
50,
9
] | 66 | [
"9-7=2",
"83-50=33",
"2*33=66"
] | Current State: 66:[7, 83, 50, 9], Operations: []
Exploring Operation: 9-7=2, Resulting Numbers: [83, 50, 2]
Generated Node #2: [83, 50, 2] from Operation: 9-7=2
Current State: 66:[83, 50, 2], Operations: ['9-7=2']
Exploring Operation: 83-50=33, Resulting Numbers: [2, 33]
Generated Node #3: [2, 33] from Operation: 83-50=33
Current State: 66:[2, 33], Operations: ['9-7=2', '83-50=33']
Exploring Operation: 2*33=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[7, 83, 50, 9], Operations: []
Exploring Operation: 50-9=41, Resulting Numbers: [7, 83, 41]
Generated Node #0,0: 66:[7, 83, 41] Operation: 50-9=41
Exploring Operation: 83-50=33, Resulting Numbers: [7, 9, 33]
Generated Node #0,1: 66:[7, 9, 33] Operation: 83-50=33
Exploring Operation: 83-9=74, Resulting Numbers: [7, 50, 74]
Generated Node #0,2: 66:[7, 50, 74] Operation: 83-9=74
Exploring Operation: 50+9=59, Resulting Numbers: [7, 83, 59]
Generated Node #0,3: 66:[7, 83, 59] Operation: 50+9=59
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[7, 9, 33], Operations: ['83-50=33']
Exploring Operation: 7*9=63, Resulting Numbers: [33, 63]
Generated Node #0,1,0: 66:[33, 63] Operation: 7*9=63
Exploring Operation: 33-9=24, Resulting Numbers: [7, 24]
Generated Node #0,1,1: 66:[7, 24] Operation: 33-9=24
Exploring Operation: 9-7=2, Resulting Numbers: [33, 2]
Generated Node #0,1,2: 66:[33, 2] Operation: 9-7=2
Exploring Operation: 7+9=16, Resulting Numbers: [33, 16]
Generated Node #0,1,3: 66:[33, 16] Operation: 7+9=16
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 66:[33, 2], Operations: ['83-50=33', '9-7=2']
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[7, 83, 50, 9], Operations: []
Exploring Operation: 83-50=33, Resulting Numbers: [7, 9, 33]
Generated Node #0,1: 66:[7, 9, 33] Operation: 83-50=33
Moving to Node #0,1
Current State: 66:[7, 9, 33], Operations: ['83-50=33']
Exploring Operation: 9-7=2, Resulting Numbers: [33, 2]
Generated Node #0,1,2: 66:[33, 2] Operation: 9-7=2
Moving to Node #0,1,2
Current State: 66:[33, 2], Operations: ['83-50=33', '9-7=2']
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
46,
30,
30,
57
] | 11 | [
"46+30=76",
"30+57=87",
"87-76=11"
] | Current State: 11:[46, 30, 30, 57], Operations: []
Exploring Operation: 46+30=76, Resulting Numbers: [57, 76]
Generated Node #2: [57, 76] from Operation: 46+30=76
Current State: 11:[57, 76], Operations: ['46+30=76']
Exploring Operation: 30+57=87, Resulting Numbers: [76, 87]
Generated Node #3: [76, 87] from Operation: 30+57=87
Current State: 11:[76, 87], Operations: ['46+30=76', '30+57=87']
Exploring Operation: 87-76=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[46, 30, 30, 57], Operations: []
Exploring Operation: 57-46=11, Resulting Numbers: [30, 30, 11]
Generated Node #0,0: 11:[30, 30, 11] Operation: 57-46=11
Moving to Node #0,0
Current State: 11:[30, 30, 11], Operations: ['57-46=11']
Exploring Operation: 30/30=1, Resulting Numbers: [11, 1]
Generated Node #0,0,0: 11:[11, 1] Operation: 30/30=1
Moving to Node #0,0,0
Current State: 11:[11, 1], Operations: ['57-46=11', '30/30=1']
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[46, 30, 30, 57], Operations: []
Exploring Operation: 57-46=11, Resulting Numbers: [30, 30, 11]
Generated Node #0,0: 11:[30, 30, 11] Operation: 57-46=11
Moving to Node #0,0
Current State: 11:[30, 30, 11], Operations: ['57-46=11']
Exploring Operation: 30/30=1, Resulting Numbers: [11, 1]
Generated Node #0,0,0: 11:[11, 1] Operation: 30/30=1
Moving to Node #0,0,0
Current State: 11:[11, 1], Operations: ['57-46=11', '30/30=1']
Exploring Operation: 11*1=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
[
76,
26,
62,
85
] | 73 | [
"76-26=50",
"85-62=23",
"50+23=73"
] | Current State: 73:[76, 26, 62, 85], Operations: []
Exploring Operation: 76-26=50, Resulting Numbers: [62, 85, 50]
Generated Node #2: [62, 85, 50] from Operation: 76-26=50
Current State: 73:[62, 85, 50], Operations: ['76-26=50']
Exploring Operation: 85-62=23, Resulting Numbers: [50, 23]
Generated Node #3: [50, 23] from Operation: 85-62=23
Current State: 73:[50, 23], Operations: ['76-26=50', '85-62=23']
Exploring Operation: 50+23=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[76, 26, 62, 85], Operations: []
Exploring Operation: 26+62=88, Resulting Numbers: [76, 85, 88]
Generated Node #0,0: 73:[76, 85, 88] Operation: 26+62=88
Exploring Operation: 85-26=59, Resulting Numbers: [76, 62, 59]
Generated Node #0,1: 73:[76, 62, 59] Operation: 85-26=59
Start Sub Search at level 1: Moving to Node #0,1
Current State: 73:[76, 62, 59], Operations: ['85-26=59']
Exploring Operation: 62+59=121, Resulting Numbers: [76, 121]
Generated Node #0,1,0: 73:[76, 121] Operation: 62+59=121
Exploring Operation: 76-59=17, Resulting Numbers: [62, 17]
Generated Node #0,1,1: 73:[62, 17] Operation: 76-59=17
Moving to Node #0,1,0
Current State: 73:[76, 121], Operations: ['85-26=59', '62+59=121']
Exploring Operation: 76+121=197, Resulting Numbers: [197]
197,73 unequal: No Solution
Exploring Operation: 121-76=45, Resulting Numbers: [45]
45,73 unequal: No Solution
Moving to Node #0,1,1
Current State: 73:[62, 17], Operations: ['85-26=59', '76-59=17']
Exploring Operation: 62-17=45, Resulting Numbers: [45]
45,73 unequal: No Solution
Exploring Operation: 62+17=79, Resulting Numbers: [79]
79,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 73:[76, 85, 88], Operations: ['26+62=88']
Exploring Operation: 88-85=3, Resulting Numbers: [76, 3]
Generated Node #0,0,0: 73:[76, 3] Operation: 88-85=3
Exploring Operation: 88-76=12, Resulting Numbers: [85, 12]
Generated Node #0,0,1: 73:[85, 12] Operation: 88-76=12
Moving to Node #0,0,0
Current State: 73:[76, 3], Operations: ['26+62=88', '88-85=3']
Exploring Operation: 76-3=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[76, 26, 62, 85], Operations: []
Exploring Operation: 26+62=88, Resulting Numbers: [76, 85, 88]
Generated Node #0,0: 73:[76, 85, 88] Operation: 26+62=88
Moving to Node #0,0
Current State: 73:[76, 85, 88], Operations: ['26+62=88']
Exploring Operation: 88-85=3, Resulting Numbers: [76, 3]
Generated Node #0,0,0: 73:[76, 3] Operation: 88-85=3
Moving to Node #0,0,0
Current State: 73:[76, 3], Operations: ['26+62=88', '88-85=3']
Exploring Operation: 76-3=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
66,
26,
6,
5
] | 42 | [
"66/6=11",
"26+5=31",
"11+31=42"
] | Current State: 42:[66, 26, 6, 5], Operations: []
Exploring Operation: 66/6=11, Resulting Numbers: [26, 5, 11]
Generated Node #2: [26, 5, 11] from Operation: 66/6=11
Current State: 42:[26, 5, 11], Operations: ['66/6=11']
Exploring Operation: 26+5=31, Resulting Numbers: [11, 31]
Generated Node #3: [11, 31] from Operation: 26+5=31
Current State: 42:[11, 31], Operations: ['66/6=11', '26+5=31']
Exploring Operation: 11+31=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[66, 26, 6, 5], Operations: []
Exploring Operation: 66-26=40, Resulting Numbers: [6, 5, 40]
Generated Node #0,0: 42:[6, 5, 40] Operation: 66-26=40
Exploring Operation: 66-6=60, Resulting Numbers: [26, 5, 60]
Generated Node #0,1: 42:[26, 5, 60] Operation: 66-6=60
Exploring Operation: 26-5=21, Resulting Numbers: [66, 6, 21]
Generated Node #0,2: 42:[66, 6, 21] Operation: 26-5=21
Exploring Operation: 66/6=11, Resulting Numbers: [26, 5, 11]
Generated Node #0,3: 42:[26, 5, 11] Operation: 66/6=11
Exploring Operation: 66-5=61, Resulting Numbers: [26, 6, 61]
Generated Node #0,4: 42:[26, 6, 61] Operation: 66-5=61
Moving to Node #0,0
Current State: 42:[6, 5, 40], Operations: ['66-26=40']
Exploring Operation: 6-5=1, Resulting Numbers: [40, 1]
Generated Node #0,0,0: 42:[40, 1] Operation: 6-5=1
Exploring Operation: 6+40=46, Resulting Numbers: [5, 46]
Generated Node #0,0,1: 42:[5, 46] Operation: 6+40=46
Exploring Operation: 5+40=45, Resulting Numbers: [6, 45]
Generated Node #0,0,2: 42:[6, 45] Operation: 5+40=45
Exploring Operation: 40/5=8, Resulting Numbers: [6, 8]
Generated Node #0,0,3: 42:[6, 8] Operation: 40/5=8
Exploring Operation: 6+5=11, Resulting Numbers: [40, 11]
Generated Node #0,0,4: 42:[40, 11] Operation: 6+5=11
Moving to Node #0,3
Current State: 42:[26, 5, 11], Operations: ['66/6=11']
Exploring Operation: 11-5=6, Resulting Numbers: [26, 6]
Generated Node #0,3,0: 42:[26, 6] Operation: 11-5=6
Exploring Operation: 26-11=15, Resulting Numbers: [5, 15]
Generated Node #0,3,1: 42:[5, 15] Operation: 26-11=15
Exploring Operation: 5+11=16, Resulting Numbers: [26, 16]
Generated Node #0,3,2: 42:[26, 16] Operation: 5+11=16
Exploring Operation: 26+11=37, Resulting Numbers: [5, 37]
Generated Node #0,3,3: 42:[5, 37] Operation: 26+11=37
Exploring Operation: 26-5=21, Resulting Numbers: [11, 21]
Generated Node #0,3,4: 42:[11, 21] Operation: 26-5=21
Moving to Node #0,1
Current State: 42:[26, 5, 60], Operations: ['66-6=60']
Exploring Operation: 26-5=21, Resulting Numbers: [60, 21]
Generated Node #0,1,0: 42:[60, 21] Operation: 26-5=21
Exploring Operation: 60-26=34, Resulting Numbers: [5, 34]
Generated Node #0,1,1: 42:[5, 34] Operation: 60-26=34
Exploring Operation: 60/5=12, Resulting Numbers: [26, 12]
Generated Node #0,1,2: 42:[26, 12] Operation: 60/5=12
Exploring Operation: 60-5=55, Resulting Numbers: [26, 55]
Generated Node #0,1,3: 42:[26, 55] Operation: 60-5=55
Exploring Operation: 26+5=31, Resulting Numbers: [60, 31]
Generated Node #0,1,4: 42:[60, 31] Operation: 26+5=31
Moving to Node #0,2
Current State: 42:[66, 6, 21], Operations: ['26-5=21']
Exploring Operation: 66+6=72, Resulting Numbers: [21, 72]
Generated Node #0,2,0: 42:[21, 72] Operation: 66+6=72
Exploring Operation: 66-6=60, Resulting Numbers: [21, 60]
Generated Node #0,2,1: 42:[21, 60] Operation: 66-6=60
Exploring Operation: 66/6=11, Resulting Numbers: [21, 11]
Generated Node #0,2,2: 42:[21, 11] Operation: 66/6=11
Exploring Operation: 66-21=45, Resulting Numbers: [6, 45]
Generated Node #0,2,3: 42:[6, 45] Operation: 66-21=45
Exploring Operation: 21-6=15, Resulting Numbers: [66, 15]
Generated Node #0,2,4: 42:[66, 15] Operation: 21-6=15
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 42:[21, 11], Operations: ['26-5=21', '66/6=11']
Exploring Operation: 21+11=32, Resulting Numbers: [32]
32,42 unequal: No Solution
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,42 unequal: No Solution
Exploring Operation: 21*11=231, Resulting Numbers: [231]
231,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 42:[6, 45], Operations: ['26-5=21', '66-21=45']
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,42 unequal: No Solution
Exploring Operation: 6*45=270, Resulting Numbers: [270]
270,42 unequal: No Solution
Exploring Operation: 6+45=51, Resulting Numbers: [51]
51,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 42:[21, 60], Operations: ['26-5=21', '66-6=60']
Exploring Operation: 21+60=81, Resulting Numbers: [81]
81,42 unequal: No Solution
Exploring Operation: 60-21=39, Resulting Numbers: [39]
39,42 unequal: No Solution
Exploring Operation: 21*60=1260, Resulting Numbers: [1260]
1260,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 42:[66, 15], Operations: ['26-5=21', '21-6=15']
Exploring Operation: 66-15=51, Resulting Numbers: [51]
51,42 unequal: No Solution
Exploring Operation: 66+15=81, Resulting Numbers: [81]
81,42 unequal: No Solution
Exploring Operation: 66*15=990, Resulting Numbers: [990]
990,42 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 42:[21, 72], Operations: ['26-5=21', '66+6=72']
Exploring Operation: 72-21=51, Resulting Numbers: [51]
51,42 unequal: No Solution
Exploring Operation: 21*72=1512, Resulting Numbers: [1512]
1512,42 unequal: No Solution
Exploring Operation: 21+72=93, Resulting Numbers: [93]
93,42 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: 42:[26, 6, 61], Operations: ['66-5=61']
Exploring Operation: 26-6=20, Resulting Numbers: [61, 20]
Generated Node #0,4,0: 42:[61, 20] Operation: 26-6=20
Exploring Operation: 6+61=67, Resulting Numbers: [26, 67]
Generated Node #0,4,1: 42:[26, 67] Operation: 6+61=67
Exploring Operation: 61-6=55, Resulting Numbers: [26, 55]
Generated Node #0,4,2: 42:[26, 55] Operation: 61-6=55
Exploring Operation: 61-26=35, Resulting Numbers: [6, 35]
Generated Node #0,4,3: 42:[6, 35] Operation: 61-26=35
Exploring Operation: 26+6=32, Resulting Numbers: [61, 32]
Generated Node #0,4,4: 42:[61, 32] Operation: 26+6=32
Moving to Node #0,0,3
Current State: 42:[6, 8], Operations: ['66-26=40', '40/5=8']
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,42 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,42 unequal: No Solution
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,42 unequal: No Solution
Moving to Node #0,3,1
Current State: 42:[5, 15], Operations: ['66/6=11', '26-11=15']
Exploring Operation: 5*15=75, Resulting Numbers: [75]
75,42 unequal: No Solution
Exploring Operation: 5+15=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,42 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,42 unequal: No Solution
Moving to Node #0,3,4
Current State: 42:[11, 21], Operations: ['66/6=11', '26-5=21']
Exploring Operation: 11*21=231, Resulting Numbers: [231]
231,42 unequal: No Solution
Exploring Operation: 21-11=10, Resulting Numbers: [10]
10,42 unequal: No Solution
Exploring Operation: 11+21=32, Resulting Numbers: [32]
32,42 unequal: No Solution
Moving to Node #0,0,2
Current State: 42:[6, 45], Operations: ['66-26=40', '5+40=45']
Exploring Operation: 45-6=39, Resulting Numbers: [39]
39,42 unequal: No Solution
Exploring Operation: 6*45=270, Resulting Numbers: [270]
270,42 unequal: No Solution
Exploring Operation: 6+45=51, Resulting Numbers: [51]
51,42 unequal: No Solution
Moving to Node #0,0,0
Current State: 42:[40, 1], Operations: ['66-26=40', '6-5=1']
Exploring Operation: 40*1=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Exploring Operation: 40-1=39, Resulting Numbers: [39]
39,42 unequal: No Solution
Exploring Operation: 40/1=40, Resulting Numbers: [40]
40,42 unequal: No Solution
Exploring Operation: 40+1=41, Resulting Numbers: [41]
41,42 unequal: No Solution
Moving to Node #0,0,4
Current State: 42:[40, 11], Operations: ['66-26=40', '6+5=11']
Exploring Operation: 40-11=29, Resulting Numbers: [29]
29,42 unequal: No Solution
Exploring Operation: 40*11=440, Resulting Numbers: [440]
440,42 unequal: No Solution
Exploring Operation: 40+11=51, Resulting Numbers: [51]
51,42 unequal: No Solution
Moving to Node #0,0,1
Current State: 42:[5, 46], Operations: ['66-26=40', '6+40=46']
Exploring Operation: 5*46=230, Resulting Numbers: [230]
230,42 unequal: No Solution
Exploring Operation: 46-5=41, Resulting Numbers: [41]
41,42 unequal: No Solution
Exploring Operation: 5+46=51, Resulting Numbers: [51]
51,42 unequal: No Solution
Moving to Node #0,3,0
Current State: 42:[26, 6], Operations: ['66/6=11', '11-5=6']
Exploring Operation: 26+6=32, Resulting Numbers: [32]
32,42 unequal: No Solution
Exploring Operation: 26-6=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Exploring Operation: 26*6=156, Resulting Numbers: [156]
156,42 unequal: No Solution
Moving to Node #0,3,3
Current State: 42:[5, 37], Operations: ['66/6=11', '26+11=37']
Exploring Operation: 37-5=32, Resulting Numbers: [32]
32,42 unequal: No Solution
Exploring Operation: 5+37=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[66, 26, 6, 5], Operations: []
Exploring Operation: 66/6=11, Resulting Numbers: [26, 5, 11]
Generated Node #0,3: 42:[26, 5, 11] Operation: 66/6=11
Moving to Node #0,3
Current State: 42:[26, 5, 11], Operations: ['66/6=11']
Exploring Operation: 26+11=37, Resulting Numbers: [5, 37]
Generated Node #0,3,3: 42:[5, 37] Operation: 26+11=37
Moving to Node #0,3,3
Current State: 42:[5, 37], Operations: ['66/6=11', '26+11=37']
Exploring Operation: 5+37=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 0.93316 | hs_5 | mult_heuristic |
[
64,
43,
36,
41
] | 92 | [
"43-41=2",
"64*2=128",
"128-36=92"
] | Current State: 92:[64, 43, 36, 41], Operations: []
Exploring Operation: 43-41=2, Resulting Numbers: [64, 36, 2]
Generated Node #2: [64, 36, 2] from Operation: 43-41=2
Current State: 92:[64, 36, 2], Operations: ['43-41=2']
Exploring Operation: 64*2=128, Resulting Numbers: [36, 128]
Generated Node #3: [36, 128] from Operation: 64*2=128
Current State: 92:[36, 128], Operations: ['43-41=2', '64*2=128']
Exploring Operation: 128-36=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[64, 43, 36, 41], Operations: []
Exploring Operation: 64-36=28, Resulting Numbers: [43, 41, 28]
Generated Node #0,0: 92:[43, 41, 28] Operation: 64-36=28
Exploring Operation: 64-41=23, Resulting Numbers: [43, 36, 23]
Generated Node #0,1: 92:[43, 36, 23] Operation: 64-41=23
Moving to Node #0,0
Current State: 92:[43, 41, 28], Operations: ['64-36=28']
Exploring Operation: 43-41=2, Resulting Numbers: [28, 2]
Generated Node #0,0,0: 92:[28, 2] Operation: 43-41=2
Exploring Operation: 41-28=13, Resulting Numbers: [43, 13]
Generated Node #0,0,1: 92:[43, 13] Operation: 41-28=13
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 92:[28, 2], Operations: ['64-36=28', '43-41=2']
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,92 unequal: No Solution
Exploring Operation: 28+2=30, Resulting Numbers: [30]
30,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 92:[43, 13], Operations: ['64-36=28', '41-28=13']
Exploring Operation: 43+13=56, Resulting Numbers: [56]
56,92 unequal: No Solution
Exploring Operation: 43-13=30, Resulting Numbers: [30]
30,92 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: 92:[43, 36, 23], Operations: ['64-41=23']
Exploring Operation: 36-23=13, Resulting Numbers: [43, 13]
Generated Node #0,1,0: 92:[43, 13] Operation: 36-23=13
Exploring Operation: 43-36=7, Resulting Numbers: [23, 7]
Generated Node #0,1,1: 92:[23, 7] Operation: 43-36=7
Moving to Node #0,1,1
Current State: 92:[23, 7], Operations: ['64-41=23', '43-36=7']
Exploring Operation: 23+7=30, Resulting Numbers: [30]
30,92 unequal: No Solution
Exploring Operation: 23-7=16, Resulting Numbers: [16]
16,92 unequal: No Solution
Moving to Node #0,1,0
Current State: 92:[43, 13], Operations: ['64-41=23', '36-23=13']
Exploring Operation: 43-13=30, Resulting Numbers: [30]
30,92 unequal: No Solution
Exploring Operation: 43+13=56, Resulting Numbers: [56]
56,92 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
78,
65,
47,
5
] | 55 | [
"78-65=13",
"47-5=42",
"13+42=55"
] | Current State: 55:[78, 65, 47, 5], Operations: []
Exploring Operation: 78-65=13, Resulting Numbers: [47, 5, 13]
Generated Node #2: [47, 5, 13] from Operation: 78-65=13
Current State: 55:[47, 5, 13], Operations: ['78-65=13']
Exploring Operation: 47-5=42, Resulting Numbers: [13, 42]
Generated Node #3: [13, 42] from Operation: 47-5=42
Current State: 55:[13, 42], Operations: ['78-65=13', '47-5=42']
Exploring Operation: 13+42=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[78, 65, 47, 5], Operations: []
Exploring Operation: 65-47=18, Resulting Numbers: [78, 5, 18]
Generated Node #0,0: 55:[78, 5, 18] Operation: 65-47=18
Exploring Operation: 78-47=31, Resulting Numbers: [65, 5, 31]
Generated Node #0,1: 55:[65, 5, 31] Operation: 78-47=31
Exploring Operation: 65/5=13, Resulting Numbers: [78, 47, 13]
Generated Node #0,2: 55:[78, 47, 13] Operation: 65/5=13
Exploring Operation: 78-65=13, Resulting Numbers: [47, 5, 13]
Generated Node #0,3: 55:[47, 5, 13] Operation: 78-65=13
Moving to Node #0,3
Current State: 55:[47, 5, 13], Operations: ['78-65=13']
Exploring Operation: 47-5=42, Resulting Numbers: [13, 42]
Generated Node #0,3,0: 55:[13, 42] Operation: 47-5=42
Exploring Operation: 47+13=60, Resulting Numbers: [5, 60]
Generated Node #0,3,1: 55:[5, 60] Operation: 47+13=60
Exploring Operation: 47+5=52, Resulting Numbers: [13, 52]
Generated Node #0,3,2: 55:[13, 52] Operation: 47+5=52
Exploring Operation: 13-5=8, Resulting Numbers: [47, 8]
Generated Node #0,3,3: 55:[47, 8] Operation: 13-5=8
Moving to Node #0,1
Current State: 55:[65, 5, 31], Operations: ['78-47=31']
Exploring Operation: 65/5=13, Resulting Numbers: [31, 13]
Generated Node #0,1,0: 55:[31, 13] Operation: 65/5=13
Exploring Operation: 65-31=34, Resulting Numbers: [5, 34]
Generated Node #0,1,1: 55:[5, 34] Operation: 65-31=34
Exploring Operation: 31-5=26, Resulting Numbers: [65, 26]
Generated Node #0,1,2: 55:[65, 26] Operation: 31-5=26
Exploring Operation: 65-5=60, Resulting Numbers: [31, 60]
Generated Node #0,1,3: 55:[31, 60] Operation: 65-5=60
Moving to Node #0,0
Current State: 55:[78, 5, 18], Operations: ['65-47=18']
Exploring Operation: 78+5=83, Resulting Numbers: [18, 83]
Generated Node #0,0,0: 55:[18, 83] Operation: 78+5=83
Exploring Operation: 18-5=13, Resulting Numbers: [78, 13]
Generated Node #0,0,1: 55:[78, 13] Operation: 18-5=13
Exploring Operation: 78-5=73, Resulting Numbers: [18, 73]
Generated Node #0,0,2: 55:[18, 73] Operation: 78-5=73
Exploring Operation: 78-18=60, Resulting Numbers: [5, 60]
Generated Node #0,0,3: 55:[5, 60] Operation: 78-18=60
Moving to Node #0,2
Current State: 55:[78, 47, 13], Operations: ['65/5=13']
Exploring Operation: 78/13=6, Resulting Numbers: [47, 6]
Generated Node #0,2,0: 55:[47, 6] Operation: 78/13=6
Exploring Operation: 47+13=60, Resulting Numbers: [78, 60]
Generated Node #0,2,1: 55:[78, 60] Operation: 47+13=60
Exploring Operation: 78-47=31, Resulting Numbers: [13, 31]
Generated Node #0,2,2: 55:[13, 31] Operation: 78-47=31
Exploring Operation: 78-13=65, Resulting Numbers: [47, 65]
Generated Node #0,2,3: 55:[47, 65] Operation: 78-13=65
Moving to Node #0,3,1
Current State: 55:[5, 60], Operations: ['78-65=13', '47+13=60']
Exploring Operation: 60/5=12, Resulting Numbers: [12]
12,55 unequal: No Solution
Exploring Operation: 60-5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
Moving to Node #0
Current State: 55:[78, 65, 47, 5], Operations: []
Exploring Operation: 78-65=13, Resulting Numbers: [47, 5, 13]
Generated Node #0,3: 55:[47, 5, 13] Operation: 78-65=13
Moving to Node #0,3
Current State: 55:[47, 5, 13], Operations: ['78-65=13']
Exploring Operation: 47+13=60, Resulting Numbers: [5, 60]
Generated Node #0,3,1: 55:[5, 60] Operation: 47+13=60
Moving to Node #0,3,1
Current State: 55:[5, 60], Operations: ['78-65=13', '47+13=60']
Exploring Operation: 60-5=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 0.977431 | hs_4 | mult_heuristic |
[
2,
18,
95,
21
] | 80 | [
"2*18=36",
"95+21=116",
"116-36=80"
] | Current State: 80:[2, 18, 95, 21], Operations: []
Exploring Operation: 2*18=36, Resulting Numbers: [95, 21, 36]
Generated Node #2: [95, 21, 36] from Operation: 2*18=36
Current State: 80:[95, 21, 36], Operations: ['2*18=36']
Exploring Operation: 95+21=116, Resulting Numbers: [36, 116]
Generated Node #3: [36, 116] from Operation: 95+21=116
Current State: 80:[36, 116], Operations: ['2*18=36', '95+21=116']
Exploring Operation: 116-36=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[2, 18, 95, 21], Operations: []
Exploring Operation: 95-21=74, Resulting Numbers: [2, 18, 74]
Generated Node #0,0: 80:[2, 18, 74] Operation: 95-21=74
Exploring Operation: 95-18=77, Resulting Numbers: [2, 21, 77]
Generated Node #0,1: 80:[2, 21, 77] Operation: 95-18=77
Moving to Node #0,1
Current State: 80:[2, 21, 77], Operations: ['95-18=77']
Exploring Operation: 21-2=19, Resulting Numbers: [77, 19]
Generated Node #0,1,0: 80:[77, 19] Operation: 21-2=19
Exploring Operation: 2+77=79, Resulting Numbers: [21, 79]
Generated Node #0,1,1: 80:[21, 79] Operation: 2+77=79
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 80:[21, 79], Operations: ['95-18=77', '2+77=79']
Exploring Operation: 21+79=100, Resulting Numbers: [100]
100,80 unequal: No Solution
Exploring Operation: 79-21=58, Resulting Numbers: [58]
58,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,0
Current State: 80:[77, 19], Operations: ['95-18=77', '21-2=19']
Exploring Operation: 77-19=58, Resulting Numbers: [58]
58,80 unequal: No Solution
Exploring Operation: 77+19=96, Resulting Numbers: [96]
96,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:[2, 18, 74], Operations: ['95-21=74']
Exploring Operation: 74/2=37, Resulting Numbers: [18, 37]
Generated Node #0,0,0: 80:[18, 37] Operation: 74/2=37
Exploring Operation: 2+18=20, Resulting Numbers: [74, 20]
Generated Node #0,0,1: 80:[74, 20] Operation: 2+18=20
Moving to Node #0,0,0
Current State: 80:[18, 37], Operations: ['95-21=74', '74/2=37']
Exploring Operation: 18+37=55, Resulting Numbers: [55]
55,80 unequal: No Solution
Exploring Operation: 37-18=19, Resulting Numbers: [19]
19,80 unequal: No Solution
Moving to Node #0,0,1
Current State: 80:[74, 20], Operations: ['95-21=74', '2+18=20']
Exploring Operation: 74-20=54, Resulting Numbers: [54]
54,80 unequal: No Solution
Exploring Operation: 74+20=94, Resulting Numbers: [94]
94,80 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
2,
12,
25,
10
] | 25 | [
"12-2=10",
"25+10=35",
"35-10=25"
] | Current State: 25:[2, 12, 25, 10], Operations: []
Exploring Operation: 12-2=10, Resulting Numbers: [25, 10, 10]
Generated Node #2: [25, 10, 10] from Operation: 12-2=10
Current State: 25:[25, 10, 10], Operations: ['12-2=10']
Exploring Operation: 25+10=35, Resulting Numbers: [35]
35,25 equal: Goal Reached
Exploring Operation: 35-10=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[2, 12, 25, 10], Operations: []
Exploring Operation: 10/2=5, Resulting Numbers: [12, 25, 5]
Generated Node #0,0: 25:[12, 25, 5] Operation: 10/2=5
Exploring Operation: 12-10=2, Resulting Numbers: [2, 25, 2]
Generated Node #0,1: 25:[2, 25, 2] Operation: 12-10=2
Exploring Operation: 2*12=24, Resulting Numbers: [25, 10, 24]
Generated Node #0,2: 25:[25, 10, 24] Operation: 2*12=24
Exploring Operation: 12/2=6, Resulting Numbers: [25, 10, 6]
Generated Node #0,3: 25:[25, 10, 6] Operation: 12/2=6
Exploring Operation: 12+10=22, Resulting Numbers: [2, 25, 22]
Generated Node #0,4: 25:[2, 25, 22] Operation: 12+10=22
Start Sub Search at level 1: Moving to Node #0,1
Current State: 25:[2, 25, 2], Operations: ['12-10=2']
Exploring Operation: 2+25=27, Resulting Numbers: [2, 27]
Generated Node #0,1,0: 25:[2, 27] Operation: 2+25=27
Exploring Operation: 2+2=4, Resulting Numbers: [25, 4]
Generated Node #0,1,1: 25:[25, 4] Operation: 2+2=4
Exploring Operation: 2/2=1, Resulting Numbers: [25, 1]
Generated Node #0,1,2: 25:[25, 1] Operation: 2/2=1
Exploring Operation: 25-2=23, Resulting Numbers: [2, 23]
Generated Node #0,1,3: 25:[2, 23] Operation: 25-2=23
Exploring Operation: 2*2=4, Resulting Numbers: [25, 4]
Generated Node #0,1,4: 25:[25, 4] Operation: 2*2=4
Moving to Node #0,1,1
Current State: 25:[25, 4], Operations: ['12-10=2', '2+2=4']
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,25 unequal: No Solution
Exploring Operation: 25+4=29, Resulting Numbers: [29]
29,25 unequal: No Solution
Exploring Operation: 25*4=100, Resulting Numbers: [100]
100,25 unequal: No Solution
Moving to Node #0,1,4
Current State: 25:[25, 4], Operations: ['12-10=2', '2*2=4']
Exploring Operation: 25+4=29, Resulting Numbers: [29]
29,25 unequal: No Solution
Exploring Operation: 25*4=100, Resulting Numbers: [100]
100,25 unequal: No Solution
Exploring Operation: 25-4=21, Resulting Numbers: [21]
21,25 unequal: No Solution
Moving to Node #0,1,2
Current State: 25:[25, 1], Operations: ['12-10=2', '2/2=1']
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[2, 12, 25, 10], Operations: []
Exploring Operation: 12-10=2, Resulting Numbers: [2, 25, 2]
Generated Node #0,1: 25:[2, 25, 2] Operation: 12-10=2
Moving to Node #0,1
Current State: 25:[2, 25, 2], Operations: ['12-10=2']
Exploring Operation: 2/2=1, Resulting Numbers: [25, 1]
Generated Node #0,1,2: 25:[25, 1] Operation: 2/2=1
Moving to Node #0,1,2
Current State: 25:[25, 1], Operations: ['12-10=2', '2/2=1']
Exploring Operation: 25/1=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.981771 | hs_5 | sum_heuristic |
[
53,
25,
2,
57
] | 36 | [
"53+25=78",
"2*57=114",
"114-78=36"
] | Current State: 36:[53, 25, 2, 57], Operations: []
Exploring Operation: 53+25=78, Resulting Numbers: [2, 57, 78]
Generated Node #2: [2, 57, 78] from Operation: 53+25=78
Current State: 36:[2, 57, 78], Operations: ['53+25=78']
Exploring Operation: 2*57=114, Resulting Numbers: [78, 114]
Generated Node #3: [78, 114] from Operation: 2*57=114
Current State: 36:[78, 114], Operations: ['53+25=78', '2*57=114']
Exploring Operation: 114-78=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[53, 25, 2, 57], Operations: []
Exploring Operation: 57-53=4, Resulting Numbers: [25, 2, 4]
Generated Node #0,0: 36:[25, 2, 4] Operation: 57-53=4
Exploring Operation: 57-25=32, Resulting Numbers: [53, 2, 32]
Generated Node #0,1: 36:[53, 2, 32] Operation: 57-25=32
Moving to Node #0,0
Current State: 36:[25, 2, 4], Operations: ['57-53=4']
Exploring Operation: 25-4=21, Resulting Numbers: [2, 21]
Generated Node #0,0,0: 36:[2, 21] Operation: 25-4=21
Exploring Operation: 25-2=23, Resulting Numbers: [4, 23]
Generated Node #0,0,1: 36:[4, 23] Operation: 25-2=23
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 36:[2, 21], Operations: ['57-53=4', '25-4=21']
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,36 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 36:[4, 23], Operations: ['57-53=4', '25-2=23']
Exploring Operation: 23-4=19, Resulting Numbers: [19]
19,36 unequal: No Solution
Exploring Operation: 4+23=27, Resulting Numbers: [27]
27,36 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: 36:[53, 2, 32], Operations: ['57-25=32']
Exploring Operation: 53-2=51, Resulting Numbers: [32, 51]
Generated Node #0,1,0: 36:[32, 51] Operation: 53-2=51
Exploring Operation: 53-32=21, Resulting Numbers: [2, 21]
Generated Node #0,1,1: 36:[2, 21] Operation: 53-32=21
Moving to Node #0,1,1
Current State: 36:[2, 21], Operations: ['57-25=32', '53-32=21']
Exploring Operation: 2+21=23, Resulting Numbers: [23]
23,36 unequal: No Solution
Exploring Operation: 21-2=19, Resulting Numbers: [19]
19,36 unequal: No Solution
Moving to Node #0,1,0
Current State: 36:[32, 51], Operations: ['57-25=32', '53-2=51']
Exploring Operation: 51-32=19, Resulting Numbers: [19]
19,36 unequal: No Solution
Exploring Operation: 32+51=83, Resulting Numbers: [83]
83,36 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
2,
63,
29,
18
] | 90 | [
"2*29=58",
"63-58=5",
"18*5=90"
] | Current State: 90:[2, 63, 29, 18], Operations: []
Exploring Operation: 2*29=58, Resulting Numbers: [63, 18, 58]
Generated Node #2: [63, 18, 58] from Operation: 2*29=58
Current State: 90:[63, 18, 58], Operations: ['2*29=58']
Exploring Operation: 63-58=5, Resulting Numbers: [18, 5]
Generated Node #3: [18, 5] from Operation: 63-58=5
Current State: 90:[18, 5], Operations: ['2*29=58', '63-58=5']
Exploring Operation: 18*5=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[2, 63, 29, 18], Operations: []
Exploring Operation: 63-18=45, Resulting Numbers: [2, 29, 45]
Generated Node #0,0: 90:[2, 29, 45] Operation: 63-18=45
Moving to Node #0,0
Current State: 90:[2, 29, 45], Operations: ['63-18=45']
Exploring Operation: 2+29=31, Resulting Numbers: [45, 31]
Generated Node #0,0,0: 90:[45, 31] Operation: 2+29=31
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 90:[45, 31], Operations: ['63-18=45', '2+29=31']
Exploring Operation: 45-31=14, Resulting Numbers: [14]
14,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 |
[
19,
7,
21,
57
] | 25 | [
"21-19=2",
"57-7=50",
"50/2=25"
] | Current State: 25:[19, 7, 21, 57], Operations: []
Exploring Operation: 21-19=2, Resulting Numbers: [7, 57, 2]
Generated Node #2: [7, 57, 2] from Operation: 21-19=2
Current State: 25:[7, 57, 2], Operations: ['21-19=2']
Exploring Operation: 57-7=50, Resulting Numbers: [2, 50]
Generated Node #3: [2, 50] from Operation: 57-7=50
Current State: 25:[2, 50], Operations: ['21-19=2', '57-7=50']
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[19, 7, 21, 57], Operations: []
Exploring Operation: 57-19=38, Resulting Numbers: [7, 21, 38]
Generated Node #0,0: 25:[7, 21, 38] Operation: 57-19=38
Exploring Operation: 57-21=36, Resulting Numbers: [19, 7, 36]
Generated Node #0,1: 25:[19, 7, 36] Operation: 57-21=36
Exploring Operation: 57-7=50, Resulting Numbers: [19, 21, 50]
Generated Node #0,2: 25:[19, 21, 50] Operation: 57-7=50
Exploring Operation: 57/19=3, Resulting Numbers: [7, 21, 3]
Generated Node #0,3: 25:[7, 21, 3] Operation: 57/19=3
Moving to Node #0,3
Current State: 25:[7, 21, 3], Operations: ['57/19=3']
Exploring Operation: 21+3=24, Resulting Numbers: [7, 24]
Generated Node #0,3,0: 25:[7, 24] Operation: 21+3=24
Exploring Operation: 21/7=3, Resulting Numbers: [3, 3]
Generated Node #0,3,1: 25:[3, 3] Operation: 21/7=3
Exploring Operation: 7+21=28, Resulting Numbers: [3, 28]
Generated Node #0,3,2: 25:[3, 28] Operation: 7+21=28
Exploring Operation: 21/3=7, Resulting Numbers: [7, 7]
Generated Node #0,3,3: 25:[7, 7] Operation: 21/3=7
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 25:[7, 24], Operations: ['57/19=3', '21+3=24']
Exploring Operation: 7+24=31, Resulting Numbers: [31]
31,25 unequal: No Solution
Exploring Operation: 7*24=168, Resulting Numbers: [168]
168,25 unequal: No Solution
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 25:[3, 3], Operations: ['57/19=3', '21/7=3']
Exploring Operation: 3-3=0, Resulting Numbers: [0]
0,25 unequal: No Solution
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,25 unequal: No Solution
Exploring Operation: 3*3=9, Resulting Numbers: [9]
9,25 unequal: No Solution
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 25:[7, 7], Operations: ['57/19=3', '21/3=7']
Exploring Operation: 7-7=0, Resulting Numbers: [0]
0,25 unequal: No Solution
Exploring Operation: 7*7=49, Resulting Numbers: [49]
49,25 unequal: No Solution
Exploring Operation: 7+7=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Exploring Operation: 7/7=1, Resulting Numbers: [1]
1,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 25:[3, 28], Operations: ['57/19=3', '7+21=28']
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[19, 7, 21, 57], Operations: []
Exploring Operation: 57/19=3, Resulting Numbers: [7, 21, 3]
Generated Node #0,3: 25:[7, 21, 3] Operation: 57/19=3
Moving to Node #0,3
Current State: 25:[7, 21, 3], Operations: ['57/19=3']
Exploring Operation: 7+21=28, Resulting Numbers: [3, 28]
Generated Node #0,3,2: 25:[3, 28] Operation: 7+21=28
Moving to Node #0,3,2
Current State: 25:[3, 28], Operations: ['57/19=3', '7+21=28']
Exploring Operation: 28-3=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_4 | mult_heuristic |
[
65,
4,
38,
63
] | 84 | [
"65-63=2",
"4+38=42",
"2*42=84"
] | Current State: 84:[65, 4, 38, 63], Operations: []
Exploring Operation: 65-63=2, Resulting Numbers: [4, 38, 2]
Generated Node #2: [4, 38, 2] from Operation: 65-63=2
Current State: 84:[4, 38, 2], Operations: ['65-63=2']
Exploring Operation: 4+38=42, Resulting Numbers: [2, 42]
Generated Node #3: [2, 42] from Operation: 4+38=42
Current State: 84:[2, 42], Operations: ['65-63=2', '4+38=42']
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[65, 4, 38, 63], Operations: []
Exploring Operation: 65-38=27, Resulting Numbers: [4, 63, 27]
Generated Node #0,0: 84:[4, 63, 27] Operation: 65-38=27
Exploring Operation: 65-63=2, Resulting Numbers: [4, 38, 2]
Generated Node #0,1: 84:[4, 38, 2] Operation: 65-63=2
Exploring Operation: 63-38=25, Resulting Numbers: [65, 4, 25]
Generated Node #0,2: 84:[65, 4, 25] Operation: 63-38=25
Start Sub Search at level 1: Moving to Node #0,1
Current State: 84:[4, 38, 2], Operations: ['65-63=2']
Exploring Operation: 38+2=40, Resulting Numbers: [4, 40]
Generated Node #0,1,0: 84:[4, 40] Operation: 38+2=40
Exploring Operation: 4+38=42, Resulting Numbers: [2, 42]
Generated Node #0,1,1: 84:[2, 42] Operation: 4+38=42
Exploring Operation: 38/2=19, Resulting Numbers: [4, 19]
Generated Node #0,1,2: 84:[4, 19] Operation: 38/2=19
Moving to Node #0,1,1
Current State: 84:[2, 42], Operations: ['65-63=2', '4+38=42']
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,84 unequal: No Solution
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[65, 4, 38, 63], Operations: []
Exploring Operation: 65-63=2, Resulting Numbers: [4, 38, 2]
Generated Node #0,1: 84:[4, 38, 2] Operation: 65-63=2
Moving to Node #0,1
Current State: 84:[4, 38, 2], Operations: ['65-63=2']
Exploring Operation: 4+38=42, Resulting Numbers: [2, 42]
Generated Node #0,1,1: 84:[2, 42] Operation: 4+38=42
Moving to Node #0,1,1
Current State: 84:[2, 42], Operations: ['65-63=2', '4+38=42']
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
3,
36,
9,
5
] | 26 | [
"36/3=12",
"9+5=14",
"12+14=26"
] | Current State: 26:[3, 36, 9, 5], Operations: []
Exploring Operation: 36/3=12, Resulting Numbers: [9, 5, 12]
Generated Node #2: [9, 5, 12] from Operation: 36/3=12
Current State: 26:[9, 5, 12], Operations: ['36/3=12']
Exploring Operation: 9+5=14, Resulting Numbers: [12, 14]
Generated Node #3: [12, 14] from Operation: 9+5=14
Current State: 26:[12, 14], Operations: ['36/3=12', '9+5=14']
Exploring Operation: 12+14=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[3, 36, 9, 5], Operations: []
Exploring Operation: 36/9=4, Resulting Numbers: [3, 5, 4]
Generated Node #0,0: 26:[3, 5, 4] Operation: 36/9=4
Exploring Operation: 36-9=27, Resulting Numbers: [3, 5, 27]
Generated Node #0,1: 26:[3, 5, 27] Operation: 36-9=27
Exploring Operation: 9+5=14, Resulting Numbers: [3, 36, 14]
Generated Node #0,2: 26:[3, 36, 14] Operation: 9+5=14
Exploring Operation: 36-5=31, Resulting Numbers: [3, 9, 31]
Generated Node #0,3: 26:[3, 9, 31] Operation: 36-5=31
Exploring Operation: 36/3=12, Resulting Numbers: [9, 5, 12]
Generated Node #0,4: 26:[9, 5, 12] Operation: 36/3=12
Moving to Node #0,1
Current State: 26:[3, 5, 27], Operations: ['36-9=27']
Exploring Operation: 5-3=2, Resulting Numbers: [27, 2]
Generated Node #0,1,0: 26:[27, 2] Operation: 5-3=2
Exploring Operation: 27-3=24, Resulting Numbers: [5, 24]
Generated Node #0,1,1: 26:[5, 24] Operation: 27-3=24
Exploring Operation: 3+5=8, Resulting Numbers: [27, 8]
Generated Node #0,1,2: 26:[27, 8] Operation: 3+5=8
Exploring Operation: 3*5=15, Resulting Numbers: [27, 15]
Generated Node #0,1,3: 26:[27, 15] Operation: 3*5=15
Exploring Operation: 27-5=22, Resulting Numbers: [3, 22]
Generated Node #0,1,4: 26:[3, 22] Operation: 27-5=22
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 26:[27, 2], Operations: ['36-9=27', '5-3=2']
Exploring Operation: 27*2=54, Resulting Numbers: [54]
54,26 unequal: No Solution
Exploring Operation: 27-2=25, Resulting Numbers: [25]
25,26 unequal: No Solution
Exploring Operation: 27+2=29, Resulting Numbers: [29]
29,26 unequal: No Solution
No 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: 26:[27, 15], Operations: ['36-9=27', '3*5=15']
Exploring Operation: 27+15=42, Resulting Numbers: [42]
42,26 unequal: No Solution
Exploring Operation: 27*15=405, Resulting Numbers: [405]
405,26 unequal: No Solution
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,26 unequal: No Solution
No 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: 26:[5, 24], Operations: ['36-9=27', '27-3=24']
Exploring Operation: 5*24=120, Resulting Numbers: [120]
120,26 unequal: No Solution
Exploring Operation: 5+24=29, Resulting Numbers: [29]
29,26 unequal: No Solution
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,26 unequal: No Solution
No 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: 26:[3, 22], Operations: ['36-9=27', '27-5=22']
Exploring Operation: 3*22=66, Resulting Numbers: [66]
66,26 unequal: No Solution
Exploring Operation: 3+22=25, Resulting Numbers: [25]
25,26 unequal: No Solution
Exploring Operation: 22-3=19, Resulting Numbers: [19]
19,26 unequal: No Solution
No 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: 26:[27, 8], Operations: ['36-9=27', '3+5=8']
Exploring Operation: 27+8=35, Resulting Numbers: [35]
35,26 unequal: No Solution
Exploring Operation: 27*8=216, Resulting Numbers: [216]
216,26 unequal: No Solution
Exploring Operation: 27-8=19, Resulting Numbers: [19]
19,26 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: 26:[3, 5, 4], Operations: ['36/9=4']
Exploring Operation: 3*4=12, Resulting Numbers: [5, 12]
Generated Node #0,0,0: 26:[5, 12] Operation: 3*4=12
Exploring Operation: 5-3=2, Resulting Numbers: [4, 2]
Generated Node #0,0,1: 26:[4, 2] Operation: 5-3=2
Exploring Operation: 3*5=15, Resulting Numbers: [4, 15]
Generated Node #0,0,2: 26:[4, 15] Operation: 3*5=15
Exploring Operation: 4-3=1, Resulting Numbers: [5, 1]
Generated Node #0,0,3: 26:[5, 1] Operation: 4-3=1
Exploring Operation: 5-4=1, Resulting Numbers: [3, 1]
Generated Node #0,0,4: 26:[3, 1] Operation: 5-4=1
Moving to Node #0,4
Current State: 26:[9, 5, 12], Operations: ['36/3=12']
Exploring Operation: 9-5=4, Resulting Numbers: [12, 4]
Generated Node #0,4,0: 26:[12, 4] Operation: 9-5=4
Exploring Operation: 5+12=17, Resulting Numbers: [9, 17]
Generated Node #0,4,1: 26:[9, 17] Operation: 5+12=17
Exploring Operation: 9+5=14, Resulting Numbers: [12, 14]
Generated Node #0,4,2: 26:[12, 14] Operation: 9+5=14
Exploring Operation: 9+12=21, Resulting Numbers: [5, 21]
Generated Node #0,4,3: 26:[5, 21] Operation: 9+12=21
Exploring Operation: 12-9=3, Resulting Numbers: [5, 3]
Generated Node #0,4,4: 26:[5, 3] Operation: 12-9=3
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 26:[12, 14], Operations: ['36/3=12', '9+5=14']
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,26 unequal: No Solution
Exploring Operation: 12+14=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[3, 36, 9, 5], Operations: []
Exploring Operation: 36/3=12, Resulting Numbers: [9, 5, 12]
Generated Node #0,4: 26:[9, 5, 12] Operation: 36/3=12
Moving to Node #0,4
Current State: 26:[9, 5, 12], Operations: ['36/3=12']
Exploring Operation: 9+5=14, Resulting Numbers: [12, 14]
Generated Node #0,4,2: 26:[12, 14] Operation: 9+5=14
Moving to Node #0,4,2
Current State: 26:[12, 14], Operations: ['36/3=12', '9+5=14']
Exploring Operation: 12+14=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 1
| 0.96441 | hs_5 | mult_heuristic |
[
31,
10,
29,
65
] | 71 | [
"31+29=60",
"60/10=6",
"65+6=71"
] | Current State: 71:[31, 10, 29, 65], Operations: []
Exploring Operation: 31+29=60, Resulting Numbers: [10, 65, 60]
Generated Node #2: [10, 65, 60] from Operation: 31+29=60
Current State: 71:[10, 65, 60], Operations: ['31+29=60']
Exploring Operation: 60/10=6, Resulting Numbers: [65, 6]
Generated Node #3: [65, 6] from Operation: 60/10=6
Current State: 71:[65, 6], Operations: ['31+29=60', '60/10=6']
Exploring Operation: 65+6=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[31, 10, 29, 65], Operations: []
Exploring Operation: 31+29=60, Resulting Numbers: [10, 65, 60]
Generated Node #0,0: 71:[10, 65, 60] Operation: 31+29=60
Exploring Operation: 31+10=41, Resulting Numbers: [29, 65, 41]
Generated Node #0,1: 71:[29, 65, 41] Operation: 31+10=41
Exploring Operation: 10+65=75, Resulting Numbers: [31, 29, 75]
Generated Node #0,2: 71:[31, 29, 75] Operation: 10+65=75
Exploring Operation: 31-10=21, Resulting Numbers: [29, 65, 21]
Generated Node #0,3: 71:[29, 65, 21] Operation: 31-10=21
Exploring Operation: 10+29=39, Resulting Numbers: [31, 65, 39]
Generated Node #0,4: 71:[31, 65, 39] Operation: 10+29=39
Moving to Node #0,0
Current State: 71:[10, 65, 60], Operations: ['31+29=60']
Exploring Operation: 10+60=70, Resulting Numbers: [65, 70]
Generated Node #0,0,0: 71:[65, 70] Operation: 10+60=70
Exploring Operation: 65-10=55, Resulting Numbers: [60, 55]
Generated Node #0,0,1: 71:[60, 55] Operation: 65-10=55
Exploring Operation: 60-10=50, Resulting Numbers: [65, 50]
Generated Node #0,0,2: 71:[65, 50] Operation: 60-10=50
Exploring Operation: 60/10=6, Resulting Numbers: [65, 6]
Generated Node #0,0,3: 71:[65, 6] Operation: 60/10=6
Exploring Operation: 10+65=75, Resulting Numbers: [60, 75]
Generated Node #0,0,4: 71:[60, 75] Operation: 10+65=75
Moving to Node #0,4
Current State: 71:[31, 65, 39], Operations: ['10+29=39']
Exploring Operation: 31+65=96, Resulting Numbers: [39, 96]
Generated Node #0,4,0: 71:[39, 96] Operation: 31+65=96
Exploring Operation: 39-31=8, Resulting Numbers: [65, 8]
Generated Node #0,4,1: 71:[65, 8] Operation: 39-31=8
Exploring Operation: 31+39=70, Resulting Numbers: [65, 70]
Generated Node #0,4,2: 71:[65, 70] Operation: 31+39=70
Exploring Operation: 65+39=104, Resulting Numbers: [31, 104]
Generated Node #0,4,3: 71:[31, 104] Operation: 65+39=104
Exploring Operation: 65-31=34, Resulting Numbers: [39, 34]
Generated Node #0,4,4: 71:[39, 34] Operation: 65-31=34
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 71:[65, 70], Operations: ['10+29=39', '31+39=70']
Exploring Operation: 65+70=135, Resulting Numbers: [135]
135,71 unequal: No Solution
Exploring Operation: 65*70=4550, Resulting Numbers: [4550]
4550,71 unequal: No Solution
Exploring Operation: 70-65=5, Resulting Numbers: [5]
5,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 71:[39, 96], Operations: ['10+29=39', '31+65=96']
Exploring Operation: 39*96=3744, Resulting Numbers: [3744]
3744,71 unequal: No Solution
Exploring Operation: 39+96=135, Resulting Numbers: [135]
135,71 unequal: No Solution
Exploring Operation: 96-39=57, Resulting Numbers: [57]
57,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 71:[65, 8], Operations: ['10+29=39', '39-31=8']
Exploring Operation: 65*8=520, Resulting Numbers: [520]
520,71 unequal: No Solution
Exploring Operation: 65-8=57, Resulting Numbers: [57]
57,71 unequal: No Solution
Exploring Operation: 65+8=73, Resulting Numbers: [73]
73,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 71:[39, 34], Operations: ['10+29=39', '65-31=34']
Exploring Operation: 39*34=1326, Resulting Numbers: [1326]
1326,71 unequal: No Solution
Exploring Operation: 39+34=73, Resulting Numbers: [73]
73,71 unequal: No Solution
Exploring Operation: 39-34=5, Resulting Numbers: [5]
5,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 71:[31, 104], Operations: ['10+29=39', '65+39=104']
Exploring Operation: 104-31=73, Resulting Numbers: [73]
73,71 unequal: No Solution
Exploring Operation: 31+104=135, Resulting Numbers: [135]
135,71 unequal: No Solution
Exploring Operation: 31*104=3224, Resulting Numbers: [3224]
3224,71 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: 71:[29, 65, 41], Operations: ['31+10=41']
Exploring Operation: 29+65=94, Resulting Numbers: [41, 94]
Generated Node #0,1,0: 71:[41, 94] Operation: 29+65=94
Exploring Operation: 65-29=36, Resulting Numbers: [41, 36]
Generated Node #0,1,1: 71:[41, 36] Operation: 65-29=36
Exploring Operation: 65+41=106, Resulting Numbers: [29, 106]
Generated Node #0,1,2: 71:[29, 106] Operation: 65+41=106
Exploring Operation: 41-29=12, Resulting Numbers: [65, 12]
Generated Node #0,1,3: 71:[65, 12] Operation: 41-29=12
Exploring Operation: 29+41=70, Resulting Numbers: [65, 70]
Generated Node #0,1,4: 71:[65, 70] Operation: 29+41=70
Moving to Node #0,2
Current State: 71:[31, 29, 75], Operations: ['10+65=75']
Exploring Operation: 75-31=44, Resulting Numbers: [29, 44]
Generated Node #0,2,0: 71:[29, 44] Operation: 75-31=44
Exploring Operation: 29+75=104, Resulting Numbers: [31, 104]
Generated Node #0,2,1: 71:[31, 104] Operation: 29+75=104
Exploring Operation: 31-29=2, Resulting Numbers: [75, 2]
Generated Node #0,2,2: 71:[75, 2] Operation: 31-29=2
Exploring Operation: 75-29=46, Resulting Numbers: [31, 46]
Generated Node #0,2,3: 71:[31, 46] Operation: 75-29=46
Exploring Operation: 31+29=60, Resulting Numbers: [75, 60]
Generated Node #0,2,4: 71:[75, 60] Operation: 31+29=60
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 71:[75, 60], Operations: ['10+65=75', '31+29=60']
Exploring Operation: 75-60=15, Resulting Numbers: [15]
15,71 unequal: No Solution
Exploring Operation: 75+60=135, Resulting Numbers: [135]
135,71 unequal: No Solution
Exploring Operation: 75*60=4500, Resulting Numbers: [4500]
4500,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 71:[31, 46], Operations: ['10+65=75', '75-29=46']
Exploring Operation: 31+46=77, Resulting Numbers: [77]
77,71 unequal: No Solution
Exploring Operation: 46-31=15, Resulting Numbers: [15]
15,71 unequal: No Solution
Exploring Operation: 31*46=1426, Resulting Numbers: [1426]
1426,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 71:[29, 44], Operations: ['10+65=75', '75-31=44']
Exploring Operation: 29*44=1276, Resulting Numbers: [1276]
1276,71 unequal: No Solution
Exploring Operation: 29+44=73, Resulting Numbers: [73]
73,71 unequal: No Solution
Exploring Operation: 44-29=15, Resulting Numbers: [15]
15,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 71:[31, 104], Operations: ['10+65=75', '29+75=104']
Exploring Operation: 31+104=135, Resulting Numbers: [135]
135,71 unequal: No Solution
Exploring Operation: 104-31=73, Resulting Numbers: [73]
73,71 unequal: No Solution
Exploring Operation: 31*104=3224, Resulting Numbers: [3224]
3224,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 71:[75, 2], Operations: ['10+65=75', '31-29=2']
Exploring Operation: 75*2=150, Resulting Numbers: [150]
150,71 unequal: No Solution
Exploring Operation: 75-2=73, Resulting Numbers: [73]
73,71 unequal: No Solution
Exploring Operation: 75+2=77, Resulting Numbers: [77]
77,71 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: 71:[29, 65, 21], Operations: ['31-10=21']
Exploring Operation: 29-21=8, Resulting Numbers: [65, 8]
Generated Node #0,3,0: 71:[65, 8] Operation: 29-21=8
Exploring Operation: 65+21=86, Resulting Numbers: [29, 86]
Generated Node #0,3,1: 71:[29, 86] Operation: 65+21=86
Exploring Operation: 29+65=94, Resulting Numbers: [21, 94]
Generated Node #0,3,2: 71:[21, 94] Operation: 29+65=94
Exploring Operation: 65-21=44, Resulting Numbers: [29, 44]
Generated Node #0,3,3: 71:[29, 44] Operation: 65-21=44
Exploring Operation: 29+21=50, Resulting Numbers: [65, 50]
Generated Node #0,3,4: 71:[65, 50] Operation: 29+21=50
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 71:[65, 50], Operations: ['31-10=21', '29+21=50']
Exploring Operation: 65+50=115, Resulting Numbers: [115]
115,71 unequal: No Solution
Exploring Operation: 65*50=3250, Resulting Numbers: [3250]
3250,71 unequal: No Solution
Exploring Operation: 65-50=15, Resulting Numbers: [15]
15,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 71:[29, 86], Operations: ['31-10=21', '65+21=86']
Exploring Operation: 86-29=57, Resulting Numbers: [57]
57,71 unequal: No Solution
Exploring Operation: 29+86=115, Resulting Numbers: [115]
115,71 unequal: No Solution
Exploring Operation: 29*86=2494, Resulting Numbers: [2494]
2494,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 71:[65, 8], Operations: ['31-10=21', '29-21=8']
Exploring Operation: 65-8=57, Resulting Numbers: [57]
57,71 unequal: No Solution
Exploring Operation: 65*8=520, Resulting Numbers: [520]
520,71 unequal: No Solution
Exploring Operation: 65+8=73, Resulting Numbers: [73]
73,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 71:[29, 44], Operations: ['31-10=21', '65-21=44']
Exploring Operation: 29*44=1276, Resulting Numbers: [1276]
1276,71 unequal: No Solution
Exploring Operation: 44-29=15, Resulting Numbers: [15]
15,71 unequal: No Solution
Exploring Operation: 29+44=73, Resulting Numbers: [73]
73,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 71:[21, 94], Operations: ['31-10=21', '29+65=94']
Exploring Operation: 21*94=1974, Resulting Numbers: [1974]
1974,71 unequal: No Solution
Exploring Operation: 21+94=115, Resulting Numbers: [115]
115,71 unequal: No Solution
Exploring Operation: 94-21=73, Resulting Numbers: [73]
73,71 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: 71:[65, 70], Operations: ['31+29=60', '10+60=70']
Exploring Operation: 65+70=135, Resulting Numbers: [135]
135,71 unequal: No Solution
Exploring Operation: 65*70=4550, Resulting Numbers: [4550]
4550,71 unequal: No Solution
Exploring Operation: 70-65=5, Resulting Numbers: [5]
5,71 unequal: No Solution
Moving to Node #0,1,4
Current State: 71:[65, 70], Operations: ['31+10=41', '29+41=70']
Exploring Operation: 65+70=135, Resulting Numbers: [135]
135,71 unequal: No Solution
Exploring Operation: 65*70=4550, Resulting Numbers: [4550]
4550,71 unequal: No Solution
Exploring Operation: 70-65=5, Resulting Numbers: [5]
5,71 unequal: No Solution
Moving to Node #0,0,4
Current State: 71:[60, 75], Operations: ['31+29=60', '10+65=75']
Exploring Operation: 60+75=135, Resulting Numbers: [135]
135,71 unequal: No Solution
Exploring Operation: 60*75=4500, Resulting Numbers: [4500]
4500,71 unequal: No Solution
Exploring Operation: 75-60=15, Resulting Numbers: [15]
15,71 unequal: No Solution
Moving to Node #0,0,1
Current State: 71:[60, 55], Operations: ['31+29=60', '65-10=55']
Exploring Operation: 60-55=5, Resulting Numbers: [5]
5,71 unequal: No Solution
Exploring Operation: 60*55=3300, Resulting Numbers: [3300]
3300,71 unequal: No Solution
Exploring Operation: 60+55=115, Resulting Numbers: [115]
115,71 unequal: No Solution
Moving to Node #0,0,2
Current State: 71:[65, 50], Operations: ['31+29=60', '60-10=50']
Exploring Operation: 65+50=115, Resulting Numbers: [115]
115,71 unequal: No Solution
Exploring Operation: 65-50=15, Resulting Numbers: [15]
15,71 unequal: No Solution
Exploring Operation: 65*50=3250, Resulting Numbers: [3250]
3250,71 unequal: No Solution
Moving to Node #0,1,0
Current State: 71:[41, 94], Operations: ['31+10=41', '29+65=94']
Exploring Operation: 94-41=53, Resulting Numbers: [53]
53,71 unequal: No Solution
Exploring Operation: 41+94=135, Resulting Numbers: [135]
135,71 unequal: No Solution
Exploring Operation: 41*94=3854, Resulting Numbers: [3854]
3854,71 unequal: No Solution
Moving to Node #0,1,1
Current State: 71:[41, 36], Operations: ['31+10=41', '65-29=36']
Exploring Operation: 41*36=1476, Resulting Numbers: [1476]
1476,71 unequal: No Solution
Exploring Operation: 41+36=77, Resulting Numbers: [77]
77,71 unequal: No Solution
Exploring Operation: 41-36=5, Resulting Numbers: [5]
5,71 unequal: No Solution
Moving to Node #0,1,3
Current State: 71:[65, 12], Operations: ['31+10=41', '41-29=12']
Exploring Operation: 65+12=77, Resulting Numbers: [77]
77,71 unequal: No Solution
Exploring Operation: 65*12=780, Resulting Numbers: [780]
780,71 unequal: No Solution
Exploring Operation: 65-12=53, Resulting Numbers: [53]
53,71 unequal: No Solution
Moving to Node #0,0,3
Current State: 71:[65, 6], Operations: ['31+29=60', '60/10=6']
Exploring Operation: 65*6=390, Resulting Numbers: [390]
390,71 unequal: No Solution
Exploring Operation: 65-6=59, Resulting Numbers: [59]
59,71 unequal: No Solution
Exploring Operation: 65+6=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
Moving to Node #0
Current State: 71:[31, 10, 29, 65], Operations: []
Exploring Operation: 31+29=60, Resulting Numbers: [10, 65, 60]
Generated Node #0,0: 71:[10, 65, 60] Operation: 31+29=60
Moving to Node #0,0
Current State: 71:[10, 65, 60], Operations: ['31+29=60']
Exploring Operation: 60/10=6, Resulting Numbers: [65, 6]
Generated Node #0,0,3: 71:[65, 6] Operation: 60/10=6
Moving to Node #0,0,3
Current State: 71:[65, 6], Operations: ['31+29=60', '60/10=6']
Exploring Operation: 65+6=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 0.907986 | hs_5 | sum_heuristic |
[
95,
79,
38,
38
] | 32 | [
"79*38=3002",
"38+3002=3040",
"3040/95=32"
] | Current State: 32:[95, 79, 38, 38], Operations: []
Exploring Operation: 79*38=3002, Resulting Numbers: [95, 3002]
Generated Node #2: [95, 3002] from Operation: 79*38=3002
Current State: 32:[95, 3002], Operations: ['79*38=3002']
Exploring Operation: 38+3002=3040, Resulting Numbers: [95, 3040]
Generated Node #3: [95, 3040] from Operation: 38+3002=3040
Current State: 32:[95, 3040], Operations: ['79*38=3002', '38+3002=3040']
Exploring Operation: 3040/95=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[95, 79, 38, 38], Operations: []
Exploring Operation: 95-79=16, Resulting Numbers: [38, 38, 16]
Generated Node #0,0: 32:[38, 38, 16] Operation: 95-79=16
Exploring Operation: 95-38=57, Resulting Numbers: [79, 38, 57]
Generated Node #0,1: 32:[79, 38, 57] Operation: 95-38=57
Start Sub Search at level 1: Moving to Node #0,0
Current State: 32:[38, 38, 16], Operations: ['95-79=16']
Exploring Operation: 38/38=1, Resulting Numbers: [16, 1]
Generated Node #0,0,0: 32:[16, 1] Operation: 38/38=1
Exploring Operation: 38-38=0, Resulting Numbers: [16, 0]
Generated Node #0,0,1: 32:[16, 0] Operation: 38-38=0
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 32:[16, 1], Operations: ['95-79=16', '38/38=1']
Exploring Operation: 16*1=16, Resulting Numbers: [16]
16,32 unequal: No Solution
Exploring Operation: 16/1=16, Resulting Numbers: [16]
16,32 unequal: No Solution
No 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: 32:[16, 0], Operations: ['95-79=16', '38-38=0']
Exploring Operation: 16+0=16, Resulting Numbers: [16]
16,32 unequal: No Solution
Exploring Operation: 16-0=16, Resulting Numbers: [16]
16,32 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: 32:[79, 38, 57], Operations: ['95-38=57']
Exploring Operation: 79-38=41, Resulting Numbers: [57, 41]
Generated Node #0,1,0: 32:[57, 41] Operation: 79-38=41
Exploring Operation: 79-57=22, Resulting Numbers: [38, 22]
Generated Node #0,1,1: 32:[38, 22] Operation: 79-57=22
Moving to Node #0,1,1
Current State: 32:[38, 22], Operations: ['95-38=57', '79-57=22']
Exploring Operation: 38+22=60, Resulting Numbers: [60]
60,32 unequal: No Solution
Exploring Operation: 38-22=16, Resulting Numbers: [16]
16,32 unequal: No Solution
Moving to Node #0,1,0
Current State: 32:[57, 41], Operations: ['95-38=57', '79-38=41']
Exploring Operation: 57-41=16, Resulting Numbers: [16]
16,32 unequal: No Solution
Exploring Operation: 57+41=98, Resulting Numbers: [98]
98,32 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 |
[
68,
64,
6,
61
] | 85 | [
"68-64=4",
"6*4=24",
"61+24=85"
] | Current State: 85:[68, 64, 6, 61], Operations: []
Exploring Operation: 68-64=4, Resulting Numbers: [6, 61, 4]
Generated Node #2: [6, 61, 4] from Operation: 68-64=4
Current State: 85:[6, 61, 4], Operations: ['68-64=4']
Exploring Operation: 6*4=24, Resulting Numbers: [61, 24]
Generated Node #3: [61, 24] from Operation: 6*4=24
Current State: 85:[61, 24], Operations: ['68-64=4', '6*4=24']
Exploring Operation: 61+24=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[68, 64, 6, 61], Operations: []
Exploring Operation: 68-61=7, Resulting Numbers: [64, 6, 7]
Generated Node #0,0: 85:[64, 6, 7] Operation: 68-61=7
Exploring Operation: 64+6=70, Resulting Numbers: [68, 61, 70]
Generated Node #0,1: 85:[68, 61, 70] Operation: 64+6=70
Exploring Operation: 64-61=3, Resulting Numbers: [68, 6, 3]
Generated Node #0,2: 85:[68, 6, 3] Operation: 64-61=3
Exploring Operation: 68+6=74, Resulting Numbers: [64, 61, 74]
Generated Node #0,3: 85:[64, 61, 74] Operation: 68+6=74
Exploring Operation: 68-64=4, Resulting Numbers: [6, 61, 4]
Generated Node #0,4: 85:[6, 61, 4] Operation: 68-64=4
Start Sub Search at level 1: Moving to Node #0,2
Current State: 85:[68, 6, 3], Operations: ['64-61=3']
Exploring Operation: 68+3=71, Resulting Numbers: [6, 71]
Generated Node #0,2,0: 85:[6, 71] Operation: 68+3=71
Exploring Operation: 6*3=18, Resulting Numbers: [68, 18]
Generated Node #0,2,1: 85:[68, 18] Operation: 6*3=18
Exploring Operation: 6/3=2, Resulting Numbers: [68, 2]
Generated Node #0,2,2: 85:[68, 2] Operation: 6/3=2
Exploring Operation: 6-3=3, Resulting Numbers: [68, 3]
Generated Node #0,2,3: 85:[68, 3] Operation: 6-3=3
Exploring Operation: 68+6=74, Resulting Numbers: [3, 74]
Generated Node #0,2,4: 85:[3, 74] Operation: 68+6=74
Moving to Node #0,2,4
Current State: 85:[3, 74], Operations: ['64-61=3', '68+6=74']
Exploring Operation: 3+74=77, Resulting Numbers: [77]
77,85 unequal: No Solution
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,85 unequal: No Solution
Exploring Operation: 3*74=222, Resulting Numbers: [222]
222,85 unequal: No Solution
Moving to Node #0,2,0
Current State: 85:[6, 71], Operations: ['64-61=3', '68+3=71']
Exploring Operation: 6+71=77, Resulting Numbers: [77]
77,85 unequal: No Solution
Exploring Operation: 71-6=65, Resulting Numbers: [65]
65,85 unequal: No Solution
Exploring Operation: 6*71=426, Resulting Numbers: [426]
426,85 unequal: No Solution
Moving to Node #0,2,1
Current State: 85:[68, 18], Operations: ['64-61=3', '6*3=18']
Exploring Operation: 68+18=86, Resulting Numbers: [86]
86,85 unequal: No Solution
Exploring Operation: 68*18=1224, Resulting Numbers: [1224]
1224,85 unequal: No Solution
Exploring Operation: 68-18=50, Resulting Numbers: [50]
50,85 unequal: No Solution
Moving to Node #0,2,3
Current State: 85:[68, 3], Operations: ['64-61=3', '6-3=3']
Exploring Operation: 68*3=204, Resulting Numbers: [204]
204,85 unequal: No Solution
Exploring Operation: 68+3=71, Resulting Numbers: [71]
71,85 unequal: No Solution
Exploring Operation: 68-3=65, Resulting Numbers: [65]
65,85 unequal: No Solution
Moving to Node #0,2,2
Current State: 85:[68, 2], Operations: ['64-61=3', '6/3=2']
Exploring Operation: 68*2=136, Resulting Numbers: [136]
136,85 unequal: No Solution
Exploring Operation: 68-2=66, Resulting Numbers: [66]
66,85 unequal: No Solution
Exploring Operation: 68/2=34, Resulting Numbers: [34]
34,85 unequal: No Solution
Exploring Operation: 68+2=70, Resulting Numbers: [70]
70,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[64, 6, 7], Operations: ['68-61=7']
Exploring Operation: 64-6=58, Resulting Numbers: [7, 58]
Generated Node #0,0,0: 85:[7, 58] Operation: 64-6=58
Exploring Operation: 7-6=1, Resulting Numbers: [64, 1]
Generated Node #0,0,1: 85:[64, 1] Operation: 7-6=1
Exploring Operation: 64+6=70, Resulting Numbers: [7, 70]
Generated Node #0,0,2: 85:[7, 70] Operation: 64+6=70
Exploring Operation: 64+7=71, Resulting Numbers: [6, 71]
Generated Node #0,0,3: 85:[6, 71] Operation: 64+7=71
Exploring Operation: 6+7=13, Resulting Numbers: [64, 13]
Generated Node #0,0,4: 85:[64, 13] Operation: 6+7=13
Moving to Node #0,0,3
Current State: 85:[6, 71], Operations: ['68-61=7', '64+7=71']
Exploring Operation: 71-6=65, Resulting Numbers: [65]
65,85 unequal: No Solution
Exploring Operation: 6*71=426, Resulting Numbers: [426]
426,85 unequal: No Solution
Exploring Operation: 6+71=77, Resulting Numbers: [77]
77,85 unequal: No Solution
Moving to Node #0,0,2
Current State: 85:[7, 70], Operations: ['68-61=7', '64+6=70']
Exploring Operation: 7*70=490, Resulting Numbers: [490]
490,85 unequal: No Solution
Exploring Operation: 70/7=10, Resulting Numbers: [10]
10,85 unequal: No Solution
Exploring Operation: 7+70=77, Resulting Numbers: [77]
77,85 unequal: No Solution
Exploring Operation: 70-7=63, Resulting Numbers: [63]
63,85 unequal: No Solution
Moving to Node #0,0,1
Current State: 85:[64, 1], Operations: ['68-61=7', '7-6=1']
Exploring Operation: 64+1=65, Resulting Numbers: [65]
65,85 unequal: No Solution
Exploring Operation: 64-1=63, Resulting Numbers: [63]
63,85 unequal: No Solution
Exploring Operation: 64*1=64, Resulting Numbers: [64]
64,85 unequal: No Solution
Exploring Operation: 64/1=64, Resulting Numbers: [64]
64,85 unequal: No Solution
Moving to Node #0,0,4
Current State: 85:[64, 13], Operations: ['68-61=7', '6+7=13']
Exploring Operation: 64-13=51, Resulting Numbers: [51]
51,85 unequal: No Solution
Exploring Operation: 64+13=77, Resulting Numbers: [77]
77,85 unequal: No Solution
Exploring Operation: 64*13=832, Resulting Numbers: [832]
832,85 unequal: No Solution
Moving to Node #0,0,0
Current State: 85:[7, 58], Operations: ['68-61=7', '64-6=58']
Exploring Operation: 7*58=406, Resulting Numbers: [406]
406,85 unequal: No Solution
Exploring Operation: 7+58=65, Resulting Numbers: [65]
65,85 unequal: No Solution
Exploring Operation: 58-7=51, Resulting Numbers: [51]
51,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 85:[6, 61, 4], Operations: ['68-64=4']
Exploring Operation: 61-4=57, Resulting Numbers: [6, 57]
Generated Node #0,4,0: 85:[6, 57] Operation: 61-4=57
Exploring Operation: 6+61=67, Resulting Numbers: [4, 67]
Generated Node #0,4,1: 85:[4, 67] Operation: 6+61=67
Exploring Operation: 6+4=10, Resulting Numbers: [61, 10]
Generated Node #0,4,2: 85:[61, 10] Operation: 6+4=10
Exploring Operation: 6-4=2, Resulting Numbers: [61, 2]
Generated Node #0,4,3: 85:[61, 2] Operation: 6-4=2
Exploring Operation: 61+4=65, Resulting Numbers: [6, 65]
Generated Node #0,4,4: 85:[6, 65] Operation: 61+4=65
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 85:[4, 67], Operations: ['68-64=4', '6+61=67']
Exploring Operation: 4+67=71, Resulting Numbers: [71]
71,85 unequal: No Solution
Exploring Operation: 4*67=268, Resulting Numbers: [268]
268,85 unequal: No Solution
Exploring Operation: 67-4=63, Resulting Numbers: [63]
63,85 unequal: No Solution
No 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: 85:[6, 65], Operations: ['68-64=4', '61+4=65']
Exploring Operation: 65-6=59, Resulting Numbers: [59]
59,85 unequal: No Solution
Exploring Operation: 6*65=390, Resulting Numbers: [390]
390,85 unequal: No Solution
Exploring Operation: 6+65=71, Resulting Numbers: [71]
71,85 unequal: No Solution
No 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: 85:[61, 2], Operations: ['68-64=4', '6-4=2']
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,85 unequal: No Solution
Exploring Operation: 61+2=63, Resulting Numbers: [63]
63,85 unequal: No Solution
Exploring Operation: 61*2=122, Resulting Numbers: [122]
122,85 unequal: No Solution
No 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: 85:[6, 57], Operations: ['68-64=4', '61-4=57']
Exploring Operation: 57-6=51, Resulting Numbers: [51]
51,85 unequal: No Solution
Exploring Operation: 6*57=342, Resulting Numbers: [342]
342,85 unequal: No Solution
Exploring Operation: 6+57=63, Resulting Numbers: [63]
63,85 unequal: No Solution
No 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: 85:[61, 10], Operations: ['68-64=4', '6+4=10']
Exploring Operation: 61-10=51, Resulting Numbers: [51]
51,85 unequal: No Solution
Exploring Operation: 61*10=610, Resulting Numbers: [610]
610,85 unequal: No Solution
Exploring Operation: 61+10=71, Resulting Numbers: [71]
71,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 85:[68, 61, 70], Operations: ['64+6=70']
Exploring Operation: 61+70=131, Resulting Numbers: [68, 131]
Generated Node #0,1,0: 85:[68, 131] Operation: 61+70=131
Exploring Operation: 70-61=9, Resulting Numbers: [68, 9]
Generated Node #0,1,1: 85:[68, 9] Operation: 70-61=9
Exploring Operation: 68-61=7, Resulting Numbers: [70, 7]
Generated Node #0,1,2: 85:[70, 7] Operation: 68-61=7
Exploring Operation: 68+61=129, Resulting Numbers: [70, 129]
Generated Node #0,1,3: 85:[70, 129] Operation: 68+61=129
Exploring Operation: 70-68=2, Resulting Numbers: [61, 2]
Generated Node #0,1,4: 85:[61, 2] Operation: 70-68=2
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 85:[70, 7], Operations: ['64+6=70', '68-61=7']
Exploring Operation: 70-7=63, Resulting Numbers: [63]
63,85 unequal: No Solution
Exploring Operation: 70*7=490, Resulting Numbers: [490]
490,85 unequal: No Solution
Exploring Operation: 70+7=77, Resulting Numbers: [77]
77,85 unequal: No Solution
Exploring Operation: 70/7=10, Resulting Numbers: [10]
10,85 unequal: No Solution
No 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: 85:[68, 9], Operations: ['64+6=70', '70-61=9']
Exploring Operation: 68+9=77, Resulting Numbers: [77]
77,85 unequal: No Solution
Exploring Operation: 68*9=612, Resulting Numbers: [612]
612,85 unequal: No Solution
Exploring Operation: 68-9=59, Resulting Numbers: [59]
59,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 85:[61, 2], Operations: ['64+6=70', '70-68=2']
Exploring Operation: 61+2=63, Resulting Numbers: [63]
63,85 unequal: No Solution
Exploring Operation: 61*2=122, Resulting Numbers: [122]
122,85 unequal: No Solution
Exploring Operation: 61-2=59, Resulting Numbers: [59]
59,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 85:[70, 129], Operations: ['64+6=70', '68+61=129']
Exploring Operation: 70+129=199, Resulting Numbers: [199]
199,85 unequal: No Solution
Exploring Operation: 129-70=59, Resulting Numbers: [59]
59,85 unequal: No Solution
Exploring Operation: 70*129=9030, Resulting Numbers: [9030]
9030,85 unequal: No Solution
No 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: 85:[68, 131], Operations: ['64+6=70', '61+70=131']
Exploring Operation: 68+131=199, Resulting Numbers: [199]
199,85 unequal: No Solution
Exploring Operation: 68*131=8908, Resulting Numbers: [8908]
8908,85 unequal: No Solution
Exploring Operation: 131-68=63, Resulting Numbers: [63]
63,85 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 85:[64, 61, 74], Operations: ['68+6=74']
Exploring Operation: 74-61=13, Resulting Numbers: [64, 13]
Generated Node #0,3,0: 85:[64, 13] Operation: 74-61=13
Exploring Operation: 61+74=135, Resulting Numbers: [64, 135]
Generated Node #0,3,1: 85:[64, 135] Operation: 61+74=135
Exploring Operation: 64+61=125, Resulting Numbers: [74, 125]
Generated Node #0,3,2: 85:[74, 125] Operation: 64+61=125
Exploring Operation: 64-61=3, Resulting Numbers: [74, 3]
Generated Node #0,3,3: 85:[74, 3] Operation: 64-61=3
Exploring Operation: 74-64=10, Resulting Numbers: [61, 10]
Generated Node #0,3,4: 85:[61, 10] Operation: 74-64=10
Moving to Node #0,3,3
Current State: 85:[74, 3], Operations: ['68+6=74', '64-61=3']
Exploring Operation: 74+3=77, Resulting Numbers: [77]
77,85 unequal: No Solution
Exploring Operation: 74*3=222, Resulting Numbers: [222]
222,85 unequal: No Solution
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,85 unequal: No Solution
Moving to Node #0,3,0
Current State: 85:[64, 13], Operations: ['68+6=74', '74-61=13']
Exploring Operation: 64-13=51, Resulting Numbers: [51]
51,85 unequal: No Solution
Exploring Operation: 64+13=77, Resulting Numbers: [77]
77,85 unequal: No Solution
Exploring Operation: 64*13=832, Resulting Numbers: [832]
832,85 unequal: No Solution
Moving to Node #0,3,4
Current State: 85:[61, 10], Operations: ['68+6=74', '74-64=10']
Exploring Operation: 61+10=71, Resulting Numbers: [71]
71,85 unequal: No Solution
Exploring Operation: 61*10=610, Resulting Numbers: [610]
610,85 unequal: No Solution
Exploring Operation: 61-10=51, Resulting Numbers: [51]
51,85 unequal: No Solution
Moving to Node #0,3,2
Current State: 85:[74, 125], Operations: ['68+6=74', '64+61=125']
Exploring Operation: 74+125=199, Resulting Numbers: [199]
199,85 unequal: No Solution
Exploring Operation: 125-74=51, Resulting Numbers: [51]
51,85 unequal: No Solution
Exploring Operation: 74*125=9250, Resulting Numbers: [9250]
9250,85 unequal: No Solution
Moving to Node #0,3,1
Current State: 85:[64, 135], Operations: ['68+6=74', '61+74=135']
Exploring Operation: 135-64=71, Resulting Numbers: [71]
71,85 unequal: No Solution
Exploring Operation: 64+135=199, Resulting Numbers: [199]
199,85 unequal: No Solution
Exploring Operation: 64*135=8640, Resulting Numbers: [8640]
8640,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
4,
10,
84,
64
] | 53 | [
"84/4=21",
"10+64=74",
"74-21=53"
] | Current State: 53:[4, 10, 84, 64], Operations: []
Exploring Operation: 84/4=21, Resulting Numbers: [10, 64, 21]
Generated Node #2: [10, 64, 21] from Operation: 84/4=21
Current State: 53:[10, 64, 21], Operations: ['84/4=21']
Exploring Operation: 10+64=74, Resulting Numbers: [21, 74]
Generated Node #3: [21, 74] from Operation: 10+64=74
Current State: 53:[21, 74], Operations: ['84/4=21', '10+64=74']
Exploring Operation: 74-21=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[4, 10, 84, 64], Operations: []
Exploring Operation: 4+10=14, Resulting Numbers: [84, 64, 14]
Generated Node #0,0: 53:[84, 64, 14] Operation: 4+10=14
Exploring Operation: 4*10=40, Resulting Numbers: [84, 64, 40]
Generated Node #0,1: 53:[84, 64, 40] Operation: 4*10=40
Moving to Node #0,1
Current State: 53:[84, 64, 40], Operations: ['4*10=40']
Exploring Operation: 84-64=20, Resulting Numbers: [40, 20]
Generated Node #0,1,0: 53:[40, 20] Operation: 84-64=20
Exploring Operation: 84-40=44, Resulting Numbers: [64, 44]
Generated Node #0,1,1: 53:[64, 44] Operation: 84-40=44
Moving to Node #0,0
Current State: 53:[84, 64, 14], Operations: ['4+10=14']
Exploring Operation: 64-14=50, Resulting Numbers: [84, 50]
Generated Node #0,0,0: 53:[84, 50] Operation: 64-14=50
Exploring Operation: 84-14=70, Resulting Numbers: [64, 70]
Generated Node #0,0,1: 53:[64, 70] Operation: 84-14=70
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 53:[64, 70], Operations: ['4+10=14', '84-14=70']
Exploring Operation: 70-64=6, Resulting Numbers: [6]
6,53 unequal: No Solution
Exploring Operation: 64+70=134, Resulting Numbers: [134]
134,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 53:[84, 50], Operations: ['4+10=14', '64-14=50']
Exploring Operation: 84-50=34, Resulting Numbers: [34]
34,53 unequal: No Solution
Exploring Operation: 84+50=134, Resulting Numbers: [134]
134,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 53:[64, 44], Operations: ['4*10=40', '84-40=44']
Exploring Operation: 64-44=20, Resulting Numbers: [20]
20,53 unequal: No Solution
Exploring Operation: 64+44=108, Resulting Numbers: [108]
108,53 unequal: No Solution
Moving to Node #0,1,0
Current State: 53:[40, 20], Operations: ['4*10=40', '84-64=20']
Exploring Operation: 40+20=60, Resulting Numbers: [60]
60,53 unequal: No Solution
Exploring Operation: 40-20=20, Resulting Numbers: [20]
20,53 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
8,
58,
48,
61
] | 43 | [
"8+58=66",
"48+61=109",
"109-66=43"
] | Current State: 43:[8, 58, 48, 61], Operations: []
Exploring Operation: 8+58=66, Resulting Numbers: [48, 61, 66]
Generated Node #2: [48, 61, 66] from Operation: 8+58=66
Current State: 43:[48, 61, 66], Operations: ['8+58=66']
Exploring Operation: 48+61=109, Resulting Numbers: [66, 109]
Generated Node #3: [66, 109] from Operation: 48+61=109
Current State: 43:[66, 109], Operations: ['8+58=66', '48+61=109']
Exploring Operation: 109-66=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[8, 58, 48, 61], Operations: []
Exploring Operation: 58-8=50, Resulting Numbers: [48, 61, 50]
Generated Node #0,0: 43:[48, 61, 50] Operation: 58-8=50
Exploring Operation: 61-8=53, Resulting Numbers: [58, 48, 53]
Generated Node #0,1: 43:[58, 48, 53] Operation: 61-8=53
Moving to Node #0,0
Current State: 43:[48, 61, 50], Operations: ['58-8=50']
Exploring Operation: 61-48=13, Resulting Numbers: [50, 13]
Generated Node #0,0,0: 43:[50, 13] Operation: 61-48=13
Exploring Operation: 61-50=11, Resulting Numbers: [48, 11]
Generated Node #0,0,1: 43:[48, 11] Operation: 61-50=11
Moving to Node #0,1
Current State: 43:[58, 48, 53], Operations: ['61-8=53']
Exploring Operation: 58-53=5, Resulting Numbers: [48, 5]
Generated Node #0,1,0: 43:[48, 5] Operation: 58-53=5
Exploring Operation: 58-48=10, Resulting Numbers: [53, 10]
Generated Node #0,1,1: 43:[53, 10] Operation: 58-48=10
Moving to Node #0,0,0
Current State: 43:[50, 13], Operations: ['58-8=50', '61-48=13']
Exploring Operation: 50+13=63, Resulting Numbers: [63]
63,43 unequal: No Solution
Exploring Operation: 50-13=37, Resulting Numbers: [37]
37,43 unequal: No Solution
Moving to Node #0,0,1
Current State: 43:[48, 11], Operations: ['58-8=50', '61-50=11']
Exploring Operation: 48+11=59, Resulting Numbers: [59]
59,43 unequal: No Solution
Exploring Operation: 48-11=37, Resulting Numbers: [37]
37,43 unequal: No Solution
Moving to Node #0,1,1
Current State: 43:[53, 10], Operations: ['61-8=53', '58-48=10']
Exploring Operation: 53-10=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
Moving to Node #0
Current State: 43:[8, 58, 48, 61], Operations: []
Exploring Operation: 61-8=53, Resulting Numbers: [58, 48, 53]
Generated Node #0,1: 43:[58, 48, 53] Operation: 61-8=53
Moving to Node #0,1
Current State: 43:[58, 48, 53], Operations: ['61-8=53']
Exploring Operation: 58-48=10, Resulting Numbers: [53, 10]
Generated Node #0,1,1: 43:[53, 10] Operation: 58-48=10
Moving to Node #0,1,1
Current State: 43:[53, 10], Operations: ['61-8=53', '58-48=10']
Exploring Operation: 53-10=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 0.986979 | hs_2 | sum_heuristic |
[
54,
3,
75,
18
] | 76 | [
"54/3=18",
"18/18=1",
"75+1=76"
] | Current State: 76:[54, 3, 75, 18], Operations: []
Exploring Operation: 54/3=18, Resulting Numbers: [75, 18, 18]
Generated Node #2: [75, 18, 18] from Operation: 54/3=18
Current State: 76:[75, 18, 18], Operations: ['54/3=18']
Exploring Operation: 18/18=1, Resulting Numbers: [75, 1]
Generated Node #3: [75, 1] from Operation: 18/18=1
Current State: 76:[75, 1], Operations: ['54/3=18', '18/18=1']
Exploring Operation: 75+1=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[54, 3, 75, 18], Operations: []
Exploring Operation: 75-54=21, Resulting Numbers: [3, 18, 21]
Generated Node #0,0: 76:[3, 18, 21] Operation: 75-54=21
Exploring Operation: 54/3=18, Resulting Numbers: [75, 18, 18]
Generated Node #0,1: 76:[75, 18, 18] Operation: 54/3=18
Exploring Operation: 54/18=3, Resulting Numbers: [3, 75, 3]
Generated Node #0,2: 76:[3, 75, 3] Operation: 54/18=3
Moving to Node #0,1
Current State: 76:[75, 18, 18], Operations: ['54/3=18']
Exploring Operation: 18-18=0, Resulting Numbers: [75, 0]
Generated Node #0,1,0: 76:[75, 0] Operation: 18-18=0
Exploring Operation: 18/18=1, Resulting Numbers: [75, 1]
Generated Node #0,1,1: 76:[75, 1] Operation: 18/18=1
Exploring Operation: 18+18=36, Resulting Numbers: [75, 36]
Generated Node #0,1,2: 76:[75, 36] Operation: 18+18=36
Moving to Node #0,2
Current State: 76:[3, 75, 3], Operations: ['54/18=3']
Exploring Operation: 3+75=78, Resulting Numbers: [3, 78]
Generated Node #0,2,0: 76:[3, 78] Operation: 3+75=78
Exploring Operation: 3/3=1, Resulting Numbers: [75, 1]
Generated Node #0,2,1: 76:[75, 1] Operation: 3/3=1
Exploring Operation: 3+3=6, Resulting Numbers: [75, 6]
Generated Node #0,2,2: 76:[75, 6] Operation: 3+3=6
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 76:[75, 1], Operations: ['54/18=3', '3/3=1']
Exploring Operation: 75/1=75, Resulting Numbers: [75]
75,76 unequal: No Solution
Exploring Operation: 75+1=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[54, 3, 75, 18], Operations: []
Exploring Operation: 54/18=3, Resulting Numbers: [3, 75, 3]
Generated Node #0,2: 76:[3, 75, 3] Operation: 54/18=3
Moving to Node #0,2
Current State: 76:[3, 75, 3], Operations: ['54/18=3']
Exploring Operation: 3/3=1, Resulting Numbers: [75, 1]
Generated Node #0,2,1: 76:[75, 1] Operation: 3/3=1
Moving to Node #0,2,1
Current State: 76:[75, 1], Operations: ['54/18=3', '3/3=1']
Exploring Operation: 75+1=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
66,
2,
94,
4
] | 83 | [
"2+4=6",
"66/6=11",
"94-11=83"
] | Current State: 83:[66, 2, 94, 4], Operations: []
Exploring Operation: 2+4=6, Resulting Numbers: [66, 94, 6]
Generated Node #2: [66, 94, 6] from Operation: 2+4=6
Current State: 83:[66, 94, 6], Operations: ['2+4=6']
Exploring Operation: 66/6=11, Resulting Numbers: [94, 11]
Generated Node #3: [94, 11] from Operation: 66/6=11
Current State: 83:[94, 11], Operations: ['2+4=6', '66/6=11']
Exploring Operation: 94-11=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[66, 2, 94, 4], Operations: []
Exploring Operation: 2*4=8, Resulting Numbers: [66, 94, 8]
Generated Node #0,0: 83:[66, 94, 8] Operation: 2*4=8
Exploring Operation: 66+2=68, Resulting Numbers: [94, 4, 68]
Generated Node #0,1: 83:[94, 4, 68] Operation: 66+2=68
Exploring Operation: 66+4=70, Resulting Numbers: [2, 94, 70]
Generated Node #0,2: 83:[2, 94, 70] Operation: 66+4=70
Moving to Node #0,0
Current State: 83:[66, 94, 8], Operations: ['2*4=8']
Exploring Operation: 94-8=86, Resulting Numbers: [66, 86]
Generated Node #0,0,0: 83:[66, 86] Operation: 94-8=86
Exploring Operation: 66+8=74, Resulting Numbers: [94, 74]
Generated Node #0,0,1: 83:[94, 74] Operation: 66+8=74
Exploring Operation: 66-8=58, Resulting Numbers: [94, 58]
Generated Node #0,0,2: 83:[94, 58] Operation: 66-8=58
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 83:[66, 86], Operations: ['2*4=8', '94-8=86']
Exploring Operation: 66+86=152, Resulting Numbers: [152]
152,83 unequal: No Solution
Exploring Operation: 86-66=20, Resulting Numbers: [20]
20,83 unequal: No Solution
Exploring Operation: 66*86=5676, Resulting Numbers: [5676]
5676,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 83:[94, 74], Operations: ['2*4=8', '66+8=74']
Exploring Operation: 94-74=20, Resulting Numbers: [20]
20,83 unequal: No Solution
Exploring Operation: 94+74=168, Resulting Numbers: [168]
168,83 unequal: No Solution
Exploring Operation: 94*74=6956, Resulting Numbers: [6956]
6956,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 83:[94, 58], Operations: ['2*4=8', '66-8=58']
Exploring Operation: 94-58=36, Resulting Numbers: [36]
36,83 unequal: No Solution
Exploring Operation: 94+58=152, Resulting Numbers: [152]
152,83 unequal: No Solution
Exploring Operation: 94*58=5452, Resulting Numbers: [5452]
5452,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 83:[94, 4, 68], Operations: ['66+2=68']
Exploring Operation: 94-4=90, Resulting Numbers: [68, 90]
Generated Node #0,1,0: 83:[68, 90] Operation: 94-4=90
Exploring Operation: 4+68=72, Resulting Numbers: [94, 72]
Generated Node #0,1,1: 83:[94, 72] Operation: 4+68=72
Exploring Operation: 94+4=98, Resulting Numbers: [68, 98]
Generated Node #0,1,2: 83:[68, 98] Operation: 94+4=98
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 83:[68, 90], Operations: ['66+2=68', '94-4=90']
Exploring Operation: 68*90=6120, Resulting Numbers: [6120]
6120,83 unequal: No Solution
Exploring Operation: 90-68=22, Resulting Numbers: [22]
22,83 unequal: No Solution
Exploring Operation: 68+90=158, Resulting Numbers: [158]
158,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 83:[94, 72], Operations: ['66+2=68', '4+68=72']
Exploring Operation: 94+72=166, Resulting Numbers: [166]
166,83 unequal: No Solution
Exploring Operation: 94-72=22, Resulting Numbers: [22]
22,83 unequal: No Solution
Exploring Operation: 94*72=6768, Resulting Numbers: [6768]
6768,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 83:[68, 98], Operations: ['66+2=68', '94+4=98']
Exploring Operation: 98-68=30, Resulting Numbers: [30]
30,83 unequal: No Solution
Exploring Operation: 68*98=6664, Resulting Numbers: [6664]
6664,83 unequal: No Solution
Exploring Operation: 68+98=166, Resulting Numbers: [166]
166,83 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: 83:[2, 94, 70], Operations: ['66+4=70']
Exploring Operation: 94-2=92, Resulting Numbers: [70, 92]
Generated Node #0,2,0: 83:[70, 92] Operation: 94-2=92
Exploring Operation: 2+70=72, Resulting Numbers: [94, 72]
Generated Node #0,2,1: 83:[94, 72] Operation: 2+70=72
Exploring Operation: 2+94=96, Resulting Numbers: [70, 96]
Generated Node #0,2,2: 83:[70, 96] Operation: 2+94=96
Moving to Node #0,2,0
Current State: 83:[70, 92], Operations: ['66+4=70', '94-2=92']
Exploring Operation: 70*92=6440, Resulting Numbers: [6440]
6440,83 unequal: No Solution
Exploring Operation: 70+92=162, Resulting Numbers: [162]
162,83 unequal: No Solution
Exploring Operation: 92-70=22, Resulting Numbers: [22]
22,83 unequal: No Solution
Moving to Node #0,2,1
Current State: 83:[94, 72], Operations: ['66+4=70', '2+70=72']
Exploring Operation: 94+72=166, Resulting Numbers: [166]
166,83 unequal: No Solution
Exploring Operation: 94*72=6768, Resulting Numbers: [6768]
6768,83 unequal: No Solution
Exploring Operation: 94-72=22, Resulting Numbers: [22]
22,83 unequal: No Solution
Moving to Node #0,2,2
Current State: 83:[70, 96], Operations: ['66+4=70', '2+94=96']
Exploring Operation: 70+96=166, Resulting Numbers: [166]
166,83 unequal: No Solution
Exploring Operation: 70*96=6720, Resulting Numbers: [6720]
6720,83 unequal: No Solution
Exploring Operation: 96-70=26, Resulting Numbers: [26]
26,83 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
45,
54,
90,
39
] | 93 | [
"54-39=15",
"45/15=3",
"90+3=93"
] | Current State: 93:[45, 54, 90, 39], Operations: []
Exploring Operation: 54-39=15, Resulting Numbers: [45, 90, 15]
Generated Node #2: [45, 90, 15] from Operation: 54-39=15
Current State: 93:[45, 90, 15], Operations: ['54-39=15']
Exploring Operation: 45/15=3, Resulting Numbers: [90, 3]
Generated Node #3: [90, 3] from Operation: 45/15=3
Current State: 93:[90, 3], Operations: ['54-39=15', '45/15=3']
Exploring Operation: 90+3=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[45, 54, 90, 39], Operations: []
Exploring Operation: 45-39=6, Resulting Numbers: [54, 90, 6]
Generated Node #0,0: 93:[54, 90, 6] Operation: 45-39=6
Exploring Operation: 54-45=9, Resulting Numbers: [90, 39, 9]
Generated Node #0,1: 93:[90, 39, 9] Operation: 54-45=9
Exploring Operation: 45+54=99, Resulting Numbers: [90, 39, 99]
Generated Node #0,2: 93:[90, 39, 99] Operation: 45+54=99
Exploring Operation: 54+39=93, Resulting Numbers: [45, 90, 93]
Generated Node #0,3: 93:[45, 90, 93] Operation: 54+39=93
Exploring Operation: 90-54=36, Resulting Numbers: [45, 39, 36]
Generated Node #0,4: 93:[45, 39, 36] Operation: 90-54=36
Start Sub Search at level 1: Moving to Node #0,1
Current State: 93:[90, 39, 9], Operations: ['54-45=9']
Exploring Operation: 39+9=48, Resulting Numbers: [90, 48]
Generated Node #0,1,0: 93:[90, 48] Operation: 39+9=48
Exploring Operation: 90-9=81, Resulting Numbers: [39, 81]
Generated Node #0,1,1: 93:[39, 81] Operation: 90-9=81
Exploring Operation: 39-9=30, Resulting Numbers: [90, 30]
Generated Node #0,1,2: 93:[90, 30] Operation: 39-9=30
Exploring Operation: 90+9=99, Resulting Numbers: [39, 99]
Generated Node #0,1,3: 93:[39, 99] Operation: 90+9=99
Exploring Operation: 90/9=10, Resulting Numbers: [39, 10]
Generated Node #0,1,4: 93:[39, 10] Operation: 90/9=10
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 93:[90, 30], Operations: ['54-45=9', '39-9=30']
Exploring Operation: 90-30=60, Resulting Numbers: [60]
60,93 unequal: No Solution
Exploring Operation: 90/30=3, Resulting Numbers: [3]
3,93 unequal: No Solution
Exploring Operation: 90*30=2700, Resulting Numbers: [2700]
2700,93 unequal: No Solution
Exploring Operation: 90+30=120, Resulting Numbers: [120]
120,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,1,3
Current State: 93:[39, 99], Operations: ['54-45=9', '90+9=99']
Exploring Operation: 99-39=60, Resulting Numbers: [60]
60,93 unequal: No Solution
Exploring Operation: 39*99=3861, Resulting Numbers: [3861]
3861,93 unequal: No Solution
Exploring Operation: 39+99=138, Resulting Numbers: [138]
138,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,1,4
Current State: 93:[39, 10], Operations: ['54-45=9', '90/9=10']
Exploring Operation: 39*10=390, Resulting Numbers: [390]
390,93 unequal: No Solution
Exploring Operation: 39+10=49, Resulting Numbers: [49]
49,93 unequal: No Solution
Exploring Operation: 39-10=29, Resulting Numbers: [29]
29,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,1,0
Current State: 93:[90, 48], Operations: ['54-45=9', '39+9=48']
Exploring Operation: 90-48=42, Resulting Numbers: [42]
42,93 unequal: No Solution
Exploring Operation: 90+48=138, Resulting Numbers: [138]
138,93 unequal: No Solution
Exploring Operation: 90*48=4320, Resulting Numbers: [4320]
4320,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,1,1
Current State: 93:[39, 81], Operations: ['54-45=9', '90-9=81']
Exploring Operation: 39*81=3159, Resulting Numbers: [3159]
3159,93 unequal: No Solution
Exploring Operation: 39+81=120, Resulting Numbers: [120]
120,93 unequal: No Solution
Exploring Operation: 81-39=42, Resulting Numbers: [42]
42,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,2
Current State: 93:[90, 39, 99], Operations: ['45+54=99']
Exploring Operation: 99-39=60, Resulting Numbers: [90, 60]
Generated Node #0,2,0: 93:[90, 60] Operation: 99-39=60
Exploring Operation: 39+99=138, Resulting Numbers: [90, 138]
Generated Node #0,2,1: 93:[90, 138] Operation: 39+99=138
Exploring Operation: 99-90=9, Resulting Numbers: [39, 9]
Generated Node #0,2,2: 93:[39, 9] Operation: 99-90=9
Exploring Operation: 90-39=51, Resulting Numbers: [99, 51]
Generated Node #0,2,3: 93:[99, 51] Operation: 90-39=51
Exploring Operation: 90+39=129, Resulting Numbers: [99, 129]
Generated Node #0,2,4: 93:[99, 129] Operation: 90+39=129
Moving to Node #0,2,2
Current State: 93:[39, 9], Operations: ['45+54=99', '99-90=9']
Exploring Operation: 39+9=48, Resulting Numbers: [48]
48,93 unequal: No Solution
Exploring Operation: 39*9=351, Resulting Numbers: [351]
351,93 unequal: No Solution
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,93 unequal: No Solution
Moving to Node #0,2,3
Current State: 93:[99, 51], Operations: ['45+54=99', '90-39=51']
Exploring Operation: 99-51=48, Resulting Numbers: [48]
48,93 unequal: No Solution
Exploring Operation: 99+51=150, Resulting Numbers: [150]
150,93 unequal: No Solution
Exploring Operation: 99*51=5049, Resulting Numbers: [5049]
5049,93 unequal: No Solution
Moving to Node #0,2,0
Current State: 93:[90, 60], Operations: ['45+54=99', '99-39=60']
Exploring Operation: 90*60=5400, Resulting Numbers: [5400]
5400,93 unequal: No Solution
Exploring Operation: 90-60=30, Resulting Numbers: [30]
30,93 unequal: No Solution
Exploring Operation: 90+60=150, Resulting Numbers: [150]
150,93 unequal: No Solution
Moving to Node #0,2,4
Current State: 93:[99, 129], Operations: ['45+54=99', '90+39=129']
Exploring Operation: 99+129=228, Resulting Numbers: [228]
228,93 unequal: No Solution
Exploring Operation: 99*129=12771, Resulting Numbers: [12771]
12771,93 unequal: No Solution
Exploring Operation: 129-99=30, Resulting Numbers: [30]
30,93 unequal: No Solution
Moving to Node #0,2,1
Current State: 93:[90, 138], Operations: ['45+54=99', '39+99=138']
Exploring Operation: 90+138=228, Resulting Numbers: [228]
228,93 unequal: No Solution
Exploring Operation: 90*138=12420, Resulting Numbers: [12420]
12420,93 unequal: No Solution
Exploring Operation: 138-90=48, Resulting Numbers: [48]
48,93 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 93:[45, 90, 93], Operations: ['54+39=93']
Exploring Operation: 45+90=135, Resulting Numbers: [93, 135]
Generated Node #0,3,0: 93:[93, 135] Operation: 45+90=135
Exploring Operation: 93-45=48, Resulting Numbers: [90, 48]
Generated Node #0,3,1: 93:[90, 48] Operation: 93-45=48
Exploring Operation: 90-45=45, Resulting Numbers: [93, 45]
Generated Node #0,3,2: 93:[93, 45] Operation: 90-45=45
Exploring Operation: 90/45=2, Resulting Numbers: [93, 2]
Generated Node #0,3,3: 93:[93, 2] Operation: 90/45=2
Exploring Operation: 93-90=3, Resulting Numbers: [45, 3]
Generated Node #0,3,4: 93:[45, 3] Operation: 93-90=3
Moving to Node #0,3,3
Current State: 93:[93, 2], Operations: ['54+39=93', '90/45=2']
Exploring Operation: 93*2=186, Resulting Numbers: [186]
186,93 unequal: No Solution
Exploring Operation: 93-2=91, Resulting Numbers: [91]
91,93 unequal: No Solution
Exploring Operation: 93+2=95, Resulting Numbers: [95]
95,93 unequal: No Solution
Moving to Node #0,3,4
Current State: 93:[45, 3], Operations: ['54+39=93', '93-90=3']
Exploring Operation: 45+3=48, Resulting Numbers: [48]
48,93 unequal: No Solution
Exploring Operation: 45*3=135, Resulting Numbers: [135]
135,93 unequal: No Solution
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,93 unequal: No Solution
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,93 unequal: No Solution
Moving to Node #0,3,2
Current State: 93:[93, 45], Operations: ['54+39=93', '90-45=45']
Exploring Operation: 93+45=138, Resulting Numbers: [138]
138,93 unequal: No Solution
Exploring Operation: 93*45=4185, Resulting Numbers: [4185]
4185,93 unequal: No Solution
Exploring Operation: 93-45=48, Resulting Numbers: [48]
48,93 unequal: No Solution
Moving to Node #0,3,1
Current State: 93:[90, 48], Operations: ['54+39=93', '93-45=48']
Exploring Operation: 90+48=138, Resulting Numbers: [138]
138,93 unequal: No Solution
Exploring Operation: 90-48=42, Resulting Numbers: [42]
42,93 unequal: No Solution
Exploring Operation: 90*48=4320, Resulting Numbers: [4320]
4320,93 unequal: No Solution
Moving to Node #0,3,0
Current State: 93:[93, 135], Operations: ['54+39=93', '45+90=135']
Exploring Operation: 93+135=228, Resulting Numbers: [228]
228,93 unequal: No Solution
Exploring Operation: 135-93=42, Resulting Numbers: [42]
42,93 unequal: No Solution
Exploring Operation: 93*135=12555, Resulting Numbers: [12555]
12555,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,4
Current State: 93:[45, 39, 36], Operations: ['90-54=36']
Exploring Operation: 39-36=3, Resulting Numbers: [45, 3]
Generated Node #0,4,0: 93:[45, 3] Operation: 39-36=3
Exploring Operation: 45+39=84, Resulting Numbers: [36, 84]
Generated Node #0,4,1: 93:[36, 84] Operation: 45+39=84
Exploring Operation: 45-39=6, Resulting Numbers: [36, 6]
Generated Node #0,4,2: 93:[36, 6] Operation: 45-39=6
Exploring Operation: 45-36=9, Resulting Numbers: [39, 9]
Generated Node #0,4,3: 93:[39, 9] Operation: 45-36=9
Exploring Operation: 45+36=81, Resulting Numbers: [39, 81]
Generated Node #0,4,4: 93:[39, 81] Operation: 45+36=81
Moving to Node #0,4,2
Current State: 93:[36, 6], Operations: ['90-54=36', '45-39=6']
Exploring Operation: 36*6=216, Resulting Numbers: [216]
216,93 unequal: No Solution
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,93 unequal: No Solution
Exploring Operation: 36+6=42, Resulting Numbers: [42]
42,93 unequal: No Solution
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,93 unequal: No Solution
Moving to Node #0,4,1
Current State: 93:[36, 84], Operations: ['90-54=36', '45+39=84']
Exploring Operation: 36*84=3024, Resulting Numbers: [3024]
3024,93 unequal: No Solution
Exploring Operation: 36+84=120, Resulting Numbers: [120]
120,93 unequal: No Solution
Exploring Operation: 84-36=48, Resulting Numbers: [48]
48,93 unequal: No Solution
Moving to Node #0,4,0
Current State: 93:[45, 3], Operations: ['90-54=36', '39-36=3']
Exploring Operation: 45+3=48, Resulting Numbers: [48]
48,93 unequal: No Solution
Exploring Operation: 45/3=15, Resulting Numbers: [15]
15,93 unequal: No Solution
Exploring Operation: 45-3=42, Resulting Numbers: [42]
42,93 unequal: No Solution
Exploring Operation: 45*3=135, Resulting Numbers: [135]
135,93 unequal: No Solution
Moving to Node #0,4,3
Current State: 93:[39, 9], Operations: ['90-54=36', '45-36=9']
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,93 unequal: No Solution
Exploring Operation: 39+9=48, Resulting Numbers: [48]
48,93 unequal: No Solution
Exploring Operation: 39*9=351, Resulting Numbers: [351]
351,93 unequal: No Solution
Moving to Node #0,4,4
Current State: 93:[39, 81], Operations: ['90-54=36', '45+36=81']
Exploring Operation: 39*81=3159, Resulting Numbers: [3159]
3159,93 unequal: No Solution
Exploring Operation: 39+81=120, Resulting Numbers: [120]
120,93 unequal: No Solution
Exploring Operation: 81-39=42, Resulting Numbers: [42]
42,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,0
Current State: 93:[54, 90, 6], Operations: ['45-39=6']
Exploring Operation: 54-6=48, Resulting Numbers: [90, 48]
Generated Node #0,0,0: 93:[90, 48] Operation: 54-6=48
Exploring Operation: 54/6=9, Resulting Numbers: [90, 9]
Generated Node #0,0,1: 93:[90, 9] Operation: 54/6=9
Exploring Operation: 90+6=96, Resulting Numbers: [54, 96]
Generated Node #0,0,2: 93:[54, 96] Operation: 90+6=96
Exploring Operation: 54+6=60, Resulting Numbers: [90, 60]
Generated Node #0,0,3: 93:[90, 60] Operation: 54+6=60
Exploring Operation: 90-54=36, Resulting Numbers: [6, 36]
Generated Node #0,0,4: 93:[6, 36] Operation: 90-54=36
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 93:[6, 36], Operations: ['45-39=6', '90-54=36']
Exploring Operation: 6*36=216, Resulting Numbers: [216]
216,93 unequal: No Solution
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,93 unequal: No Solution
Exploring Operation: 6+36=42, Resulting Numbers: [42]
42,93 unequal: No Solution
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 93:[90, 9], Operations: ['45-39=6', '54/6=9']
Exploring Operation: 90*9=810, Resulting Numbers: [810]
810,93 unequal: No Solution
Exploring Operation: 90+9=99, Resulting Numbers: [99]
99,93 unequal: No Solution
Exploring Operation: 90/9=10, Resulting Numbers: [10]
10,93 unequal: No Solution
Exploring Operation: 90-9=81, Resulting Numbers: [81]
81,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 93:[90, 48], Operations: ['45-39=6', '54-6=48']
Exploring Operation: 90*48=4320, Resulting Numbers: [4320]
4320,93 unequal: No Solution
Exploring Operation: 90-48=42, Resulting Numbers: [42]
42,93 unequal: No Solution
Exploring Operation: 90+48=138, Resulting Numbers: [138]
138,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 93:[54, 96], Operations: ['45-39=6', '90+6=96']
Exploring Operation: 54*96=5184, Resulting Numbers: [5184]
5184,93 unequal: No Solution
Exploring Operation: 54+96=150, Resulting Numbers: [150]
150,93 unequal: No Solution
Exploring Operation: 96-54=42, Resulting Numbers: [42]
42,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 93:[90, 60], Operations: ['45-39=6', '54+6=60']
Exploring Operation: 90-60=30, Resulting Numbers: [30]
30,93 unequal: No Solution
Exploring Operation: 90+60=150, Resulting Numbers: [150]
150,93 unequal: No Solution
Exploring Operation: 90*60=5400, Resulting Numbers: [5400]
5400,93 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
44,
12,
56,
5
] | 72 | [
"56-44=12",
"12*5=60",
"12+60=72"
] | Current State: 72:[44, 12, 56, 5], Operations: []
Exploring Operation: 56-44=12, Resulting Numbers: [12, 5, 12]
Generated Node #2: [12, 5, 12] from Operation: 56-44=12
Current State: 72:[12, 5, 12], Operations: ['56-44=12']
Exploring Operation: 12*5=60, Resulting Numbers: [60]
60,72 equal: Goal Reached
Exploring Operation: 12+60=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[44, 12, 56, 5], Operations: []
Exploring Operation: 12+56=68, Resulting Numbers: [44, 5, 68]
Generated Node #0,0: 72:[44, 5, 68] Operation: 12+56=68
Exploring Operation: 56-44=12, Resulting Numbers: [12, 5, 12]
Generated Node #0,1: 72:[12, 5, 12] Operation: 56-44=12
Exploring Operation: 56-12=44, Resulting Numbers: [44, 5, 44]
Generated Node #0,2: 72:[44, 5, 44] Operation: 56-12=44
Moving to Node #0,1
Current State: 72:[12, 5, 12], Operations: ['56-44=12']
Exploring Operation: 12+5=17, Resulting Numbers: [12, 17]
Generated Node #0,1,0: 72:[12, 17] Operation: 12+5=17
Exploring Operation: 12-5=7, Resulting Numbers: [12, 7]
Generated Node #0,1,1: 72:[12, 7] Operation: 12-5=7
Exploring Operation: 12+12=24, Resulting Numbers: [5, 24]
Generated Node #0,1,2: 72:[5, 24] Operation: 12+12=24
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 72:[12, 17], Operations: ['56-44=12', '12+5=17']
Exploring Operation: 12+17=29, Resulting Numbers: [29]
29,72 unequal: No Solution
Exploring Operation: 12*17=204, Resulting Numbers: [204]
204,72 unequal: No Solution
Exploring Operation: 17-12=5, Resulting Numbers: [5]
5,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,1
Current State: 72:[12, 7], Operations: ['56-44=12', '12-5=7']
Exploring Operation: 12+7=19, Resulting Numbers: [19]
19,72 unequal: No Solution
Exploring Operation: 12-7=5, Resulting Numbers: [5]
5,72 unequal: No Solution
Exploring Operation: 12*7=84, Resulting Numbers: [84]
84,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,2
Current State: 72:[5, 24], Operations: ['56-44=12', '12+12=24']
Exploring Operation: 5+24=29, Resulting Numbers: [29]
29,72 unequal: No Solution
Exploring Operation: 5*24=120, Resulting Numbers: [120]
120,72 unequal: No Solution
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,72 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: 72:[44, 5, 68], Operations: ['12+56=68']
Exploring Operation: 68-44=24, Resulting Numbers: [5, 24]
Generated Node #0,0,0: 72:[5, 24] Operation: 68-44=24
Exploring Operation: 44-5=39, Resulting Numbers: [68, 39]
Generated Node #0,0,1: 72:[68, 39] Operation: 44-5=39
Exploring Operation: 5+68=73, Resulting Numbers: [44, 73]
Generated Node #0,0,2: 72:[44, 73] Operation: 5+68=73
Moving to Node #0,2
Current State: 72:[44, 5, 44], Operations: ['56-12=44']
Exploring Operation: 44-5=39, Resulting Numbers: [44, 39]
Generated Node #0,2,0: 72:[44, 39] Operation: 44-5=39
Exploring Operation: 44-44=0, Resulting Numbers: [5, 0]
Generated Node #0,2,1: 72:[5, 0] Operation: 44-44=0
Exploring Operation: 44/44=1, Resulting Numbers: [5, 1]
Generated Node #0,2,2: 72:[5, 1] Operation: 44/44=1
Moving to Node #0,0,0
Current State: 72:[5, 24], Operations: ['12+56=68', '68-44=24']
Exploring Operation: 5*24=120, Resulting Numbers: [120]
120,72 unequal: No Solution
Exploring Operation: 5+24=29, Resulting Numbers: [29]
29,72 unequal: No Solution
Exploring Operation: 24-5=19, Resulting Numbers: [19]
19,72 unequal: No Solution
Moving to Node #0,2,2
Current State: 72:[5, 1], Operations: ['56-12=44', '44/44=1']
Exploring Operation: 5+1=6, Resulting Numbers: [6]
6,72 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,72 unequal: No Solution
Exploring Operation: 5*1=5, Resulting Numbers: [5]
5,72 unequal: No Solution
Moving to Node #0,2,1
Current State: 72:[5, 0], Operations: ['56-12=44', '44-44=0']
Exploring Operation: 5+0=5, Resulting Numbers: [5]
5,72 unequal: No Solution
Exploring Operation: 5*0=0, Resulting Numbers: [0]
0,72 unequal: No Solution
Exploring Operation: 5-0=5, Resulting Numbers: [5]
5,72 unequal: No Solution
Moving to Node #0,0,1
Current State: 72:[68, 39], Operations: ['12+56=68', '44-5=39']
Exploring Operation: 68-39=29, Resulting Numbers: [29]
29,72 unequal: No Solution
Exploring Operation: 68+39=107, Resulting Numbers: [107]
107,72 unequal: No Solution
Exploring Operation: 68*39=2652, Resulting Numbers: [2652]
2652,72 unequal: No Solution
Moving to Node #0,0,2
Current State: 72:[44, 73], Operations: ['12+56=68', '5+68=73']
Exploring Operation: 44*73=3212, Resulting Numbers: [3212]
3212,72 unequal: No Solution
Exploring Operation: 73-44=29, Resulting Numbers: [29]
29,72 unequal: No Solution
Exploring Operation: 44+73=117, Resulting Numbers: [117]
117,72 unequal: No Solution
Moving to Node #0,2,0
Current State: 72:[44, 39], Operations: ['56-12=44', '44-5=39']
Exploring Operation: 44*39=1716, Resulting Numbers: [1716]
1716,72 unequal: No Solution
Exploring Operation: 44-39=5, Resulting Numbers: [5]
5,72 unequal: No Solution
Exploring Operation: 44+39=83, Resulting Numbers: [83]
83,72 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
18,
7,
20,
84
] | 75 | [
"18-7=11",
"84-20=64",
"11+64=75"
] | Current State: 75:[18, 7, 20, 84], Operations: []
Exploring Operation: 18-7=11, Resulting Numbers: [20, 84, 11]
Generated Node #2: [20, 84, 11] from Operation: 18-7=11
Current State: 75:[20, 84, 11], Operations: ['18-7=11']
Exploring Operation: 84-20=64, Resulting Numbers: [11, 64]
Generated Node #3: [11, 64] from Operation: 84-20=64
Current State: 75:[11, 64], Operations: ['18-7=11', '84-20=64']
Exploring Operation: 11+64=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[18, 7, 20, 84], Operations: []
Exploring Operation: 84/7=12, Resulting Numbers: [18, 20, 12]
Generated Node #0,0: 75:[18, 20, 12] Operation: 84/7=12
Exploring Operation: 84-7=77, Resulting Numbers: [18, 20, 77]
Generated Node #0,1: 75:[18, 20, 77] Operation: 84-7=77
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[18, 20, 77], Operations: ['84-7=77']
Exploring Operation: 18+20=38, Resulting Numbers: [77, 38]
Generated Node #0,1,0: 75:[77, 38] Operation: 18+20=38
Exploring Operation: 20-18=2, Resulting Numbers: [77, 2]
Generated Node #0,1,1: 75:[77, 2] Operation: 20-18=2
Moving to Node #0,1,1
Current State: 75:[77, 2], Operations: ['84-7=77', '20-18=2']
Exploring Operation: 77+2=79, Resulting Numbers: [79]
79,75 unequal: No Solution
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[18, 7, 20, 84], Operations: []
Exploring Operation: 84-7=77, Resulting Numbers: [18, 20, 77]
Generated Node #0,1: 75:[18, 20, 77] Operation: 84-7=77
Moving to Node #0,1
Current State: 75:[18, 20, 77], Operations: ['84-7=77']
Exploring Operation: 20-18=2, Resulting Numbers: [77, 2]
Generated Node #0,1,1: 75:[77, 2] Operation: 20-18=2
Moving to Node #0,1,1
Current State: 75:[77, 2], Operations: ['84-7=77', '20-18=2']
Exploring Operation: 77-2=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
88,
19,
13,
86
] | 30 | [
"88-19=69",
"13+86=99",
"99-69=30"
] | Current State: 30:[88, 19, 13, 86], Operations: []
Exploring Operation: 88-19=69, Resulting Numbers: [13, 86, 69]
Generated Node #2: [13, 86, 69] from Operation: 88-19=69
Current State: 30:[13, 86, 69], Operations: ['88-19=69']
Exploring Operation: 13+86=99, Resulting Numbers: [69, 99]
Generated Node #3: [69, 99] from Operation: 13+86=99
Current State: 30:[69, 99], Operations: ['88-19=69', '13+86=99']
Exploring Operation: 99-69=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
| 4 | Current State: 30:[88, 19, 13, 86], Operations: []
Exploring Operation: 86-19=67, Resulting Numbers: [88, 13, 67]
Generated Node #0,0: 30:[88, 13, 67] Operation: 86-19=67
Exploring Operation: 88-19=69, Resulting Numbers: [13, 86, 69]
Generated Node #0,1: 30:[13, 86, 69] Operation: 88-19=69
Exploring Operation: 88-86=2, Resulting Numbers: [19, 13, 2]
Generated Node #0,2: 30:[19, 13, 2] Operation: 88-86=2
Start Sub Search at level 1: Moving to Node #0,2
Current State: 30:[19, 13, 2], Operations: ['88-86=2']
Exploring Operation: 19-2=17, Resulting Numbers: [13, 17]
Generated Node #0,2,0: 30:[13, 17] Operation: 19-2=17
Exploring Operation: 19+13=32, Resulting Numbers: [2, 32]
Generated Node #0,2,1: 30:[2, 32] Operation: 19+13=32
Exploring Operation: 19-13=6, Resulting Numbers: [2, 6]
Generated Node #0,2,2: 30:[2, 6] Operation: 19-13=6
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 30:[2, 6], Operations: ['88-86=2', '19-13=6']
Exploring Operation: 6-2=4, Resulting Numbers: [4]
4,30 unequal: No Solution
Exploring Operation: 2+6=8, Resulting Numbers: [8]
8,30 unequal: No Solution
Exploring Operation: 6/2=3, Resulting Numbers: [3]
3,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,2,1
Current State: 30:[2, 32], Operations: ['88-86=2', '19+13=32']
Exploring Operation: 32/2=16, Resulting Numbers: [16]
16,30 unequal: No Solution
Exploring Operation: 2+32=34, Resulting Numbers: [34]
34,30 unequal: No Solution
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Moving to Node #0
Current State: 30:[88, 19, 13, 86], Operations: []
Exploring Operation: 88-86=2, Resulting Numbers: [19, 13, 2]
Generated Node #0,2: 30:[19, 13, 2] Operation: 88-86=2
Moving to Node #0,2
Current State: 30:[19, 13, 2], Operations: ['88-86=2']
Exploring Operation: 19+13=32, Resulting Numbers: [2, 32]
Generated Node #0,2,1: 30:[2, 32] Operation: 19+13=32
Moving to Node #0,2,1
Current State: 30:[2, 32], Operations: ['88-86=2', '19+13=32']
Exploring Operation: 32-2=30, Resulting Numbers: [30]
30,30 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986111 | hs_3 | sum_heuristic |
[
99,
69,
16,
70
] | 82 | [
"99+69=168",
"16+70=86",
"168-86=82"
] | Current State: 82:[99, 69, 16, 70], Operations: []
Exploring Operation: 99+69=168, Resulting Numbers: [16, 70, 168]
Generated Node #2: [16, 70, 168] from Operation: 99+69=168
Current State: 82:[16, 70, 168], Operations: ['99+69=168']
Exploring Operation: 16+70=86, Resulting Numbers: [168, 86]
Generated Node #3: [168, 86] from Operation: 16+70=86
Current State: 82:[168, 86], Operations: ['99+69=168', '16+70=86']
Exploring Operation: 168-86=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
| 4 | Current State: 82:[99, 69, 16, 70], Operations: []
Exploring Operation: 16+70=86, Resulting Numbers: [99, 69, 86]
Generated Node #0,0: 82:[99, 69, 86] Operation: 16+70=86
Exploring Operation: 99-69=30, Resulting Numbers: [16, 70, 30]
Generated Node #0,1: 82:[16, 70, 30] Operation: 99-69=30
Exploring Operation: 69+16=85, Resulting Numbers: [99, 70, 85]
Generated Node #0,2: 82:[99, 70, 85] Operation: 69+16=85
Exploring Operation: 99-16=83, Resulting Numbers: [69, 70, 83]
Generated Node #0,3: 82:[69, 70, 83] Operation: 99-16=83
Exploring Operation: 70-69=1, Resulting Numbers: [99, 16, 1]
Generated Node #0,4: 82:[99, 16, 1] Operation: 70-69=1
Moving to Node #0,3
Current State: 82:[69, 70, 83], Operations: ['99-16=83']
Exploring Operation: 69+83=152, Resulting Numbers: [70, 152]
Generated Node #0,3,0: 82:[70, 152] Operation: 69+83=152
Exploring Operation: 69+70=139, Resulting Numbers: [83, 139]
Generated Node #0,3,1: 82:[83, 139] Operation: 69+70=139
Exploring Operation: 83-70=13, Resulting Numbers: [69, 13]
Generated Node #0,3,2: 82:[69, 13] Operation: 83-70=13
Exploring Operation: 70-69=1, Resulting Numbers: [83, 1]
Generated Node #0,3,3: 82:[83, 1] Operation: 70-69=1
Exploring Operation: 83-69=14, Resulting Numbers: [70, 14]
Generated Node #0,3,4: 82:[70, 14] Operation: 83-69=14
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 82:[83, 1], Operations: ['99-16=83', '70-69=1']
Exploring Operation: 83/1=83, Resulting Numbers: [83]
83,82 unequal: No Solution
Exploring Operation: 83*1=83, Resulting Numbers: [83]
83,82 unequal: No Solution
Exploring Operation: 83+1=84, Resulting Numbers: [84]
84,82 unequal: No Solution
Exploring Operation: 83-1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Moving to Node #0
Current State: 82:[99, 69, 16, 70], Operations: []
Exploring Operation: 99-16=83, Resulting Numbers: [69, 70, 83]
Generated Node #0,3: 82:[69, 70, 83] Operation: 99-16=83
Moving to Node #0,3
Current State: 82:[69, 70, 83], Operations: ['99-16=83']
Exploring Operation: 70-69=1, Resulting Numbers: [83, 1]
Generated Node #0,3,3: 82:[83, 1] Operation: 70-69=1
Moving to Node #0,3,3
Current State: 82:[83, 1], Operations: ['99-16=83', '70-69=1']
Exploring Operation: 83-1=82, Resulting Numbers: [82]
82,82 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
1,
3,
74,
12
] | 43 | [
"3-1=2",
"74+12=86",
"86/2=43"
] | Current State: 43:[1, 3, 74, 12], Operations: []
Exploring Operation: 3-1=2, Resulting Numbers: [74, 12, 2]
Generated Node #2: [74, 12, 2] from Operation: 3-1=2
Current State: 43:[74, 12, 2], Operations: ['3-1=2']
Exploring Operation: 74+12=86, Resulting Numbers: [2, 86]
Generated Node #3: [2, 86] from Operation: 74+12=86
Current State: 43:[2, 86], Operations: ['3-1=2', '74+12=86']
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[1, 3, 74, 12], Operations: []
Exploring Operation: 3*12=36, Resulting Numbers: [1, 74, 36]
Generated Node #0,0: 43:[1, 74, 36] Operation: 3*12=36
Exploring Operation: 1+3=4, Resulting Numbers: [74, 12, 4]
Generated Node #0,1: 43:[74, 12, 4] Operation: 1+3=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[1, 74, 36], Operations: ['3*12=36']
Exploring Operation: 74-1=73, Resulting Numbers: [36, 73]
Generated Node #0,0,0: 43:[36, 73] Operation: 74-1=73
Exploring Operation: 1+36=37, Resulting Numbers: [74, 37]
Generated Node #0,0,1: 43:[74, 37] Operation: 1+36=37
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 43:[36, 73], Operations: ['3*12=36', '74-1=73']
Exploring Operation: 36+73=109, Resulting Numbers: [109]
109,43 unequal: No Solution
Exploring Operation: 73-36=37, Resulting Numbers: [37]
37,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 43:[74, 37], Operations: ['3*12=36', '1+36=37']
Exploring Operation: 74/37=2, Resulting Numbers: [2]
2,43 unequal: No Solution
Exploring Operation: 74-37=37, Resulting Numbers: [37]
37,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[74, 12, 4], Operations: ['1+3=4']
Exploring Operation: 74-12=62, Resulting Numbers: [4, 62]
Generated Node #0,1,0: 43:[4, 62] Operation: 74-12=62
Exploring Operation: 12*4=48, Resulting Numbers: [74, 48]
Generated Node #0,1,1: 43:[74, 48] Operation: 12*4=48
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 43:[74, 48], Operations: ['1+3=4', '12*4=48']
Exploring Operation: 74+48=122, Resulting Numbers: [122]
122,43 unequal: No Solution
Exploring Operation: 74-48=26, Resulting Numbers: [26]
26,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 43:[4, 62], Operations: ['1+3=4', '74-12=62']
Exploring Operation: 62-4=58, Resulting Numbers: [58]
58,43 unequal: No Solution
Exploring Operation: 4+62=66, Resulting Numbers: [66]
66,43 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
82,
1,
77,
15
] | 90 | [
"82+1=83",
"83-77=6",
"15*6=90"
] | Current State: 90:[82, 1, 77, 15], Operations: []
Exploring Operation: 82+1=83, Resulting Numbers: [77, 15, 83]
Generated Node #2: [77, 15, 83] from Operation: 82+1=83
Current State: 90:[77, 15, 83], Operations: ['82+1=83']
Exploring Operation: 83-77=6, Resulting Numbers: [15, 6]
Generated Node #3: [15, 6] from Operation: 83-77=6
Current State: 90:[15, 6], Operations: ['82+1=83', '83-77=6']
Exploring Operation: 15*6=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[82, 1, 77, 15], Operations: []
Exploring Operation: 77+15=92, Resulting Numbers: [82, 1, 92]
Generated Node #0,0: 90:[82, 1, 92] Operation: 77+15=92
Exploring Operation: 82*1=82, Resulting Numbers: [77, 15, 82]
Generated Node #0,1: 90:[77, 15, 82] Operation: 82*1=82
Exploring Operation: 82+1=83, Resulting Numbers: [77, 15, 83]
Generated Node #0,2: 90:[77, 15, 83] Operation: 82+1=83
Exploring Operation: 1+77=78, Resulting Numbers: [82, 15, 78]
Generated Node #0,3: 90:[82, 15, 78] Operation: 1+77=78
Exploring Operation: 82-77=5, Resulting Numbers: [1, 15, 5]
Generated Node #0,4: 90:[1, 15, 5] Operation: 82-77=5
Start Sub Search at level 1: Moving to Node #0,4
Current State: 90:[1, 15, 5], Operations: ['82-77=5']
Exploring Operation: 15/1=15, Resulting Numbers: [5, 15]
Generated Node #0,4,0: 90:[5, 15] Operation: 15/1=15
Exploring Operation: 5/1=5, Resulting Numbers: [15, 5]
Generated Node #0,4,1: 90:[15, 5] Operation: 5/1=5
Exploring Operation: 1*5=5, Resulting Numbers: [15, 5]
Generated Node #0,4,2: 90:[15, 5] Operation: 1*5=5
Exploring Operation: 1*15=15, Resulting Numbers: [5, 15]
Generated Node #0,4,3: 90:[5, 15] Operation: 1*15=15
Exploring Operation: 1+5=6, Resulting Numbers: [15, 6]
Generated Node #0,4,4: 90:[15, 6] Operation: 1+5=6
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 90:[5, 15], Operations: ['82-77=5', '15/1=15']
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Exploring Operation: 5*15=75, Resulting Numbers: [75]
75,90 unequal: No Solution
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,90 unequal: No Solution
Exploring Operation: 5+15=20, Resulting Numbers: [20]
20,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 90:[15, 5], Operations: ['82-77=5', '5/1=5']
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,90 unequal: No Solution
Exploring Operation: 15*5=75, Resulting Numbers: [75]
75,90 unequal: No Solution
Exploring Operation: 15+5=20, Resulting Numbers: [20]
20,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 90:[15, 5], Operations: ['82-77=5', '1*5=5']
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,90 unequal: No Solution
Exploring Operation: 15+5=20, Resulting Numbers: [20]
20,90 unequal: No Solution
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Exploring Operation: 15*5=75, Resulting Numbers: [75]
75,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 90:[5, 15], Operations: ['82-77=5', '1*15=15']
Exploring Operation: 15/5=3, Resulting Numbers: [3]
3,90 unequal: No Solution
Exploring Operation: 15-5=10, Resulting Numbers: [10]
10,90 unequal: No Solution
Exploring Operation: 5*15=75, Resulting Numbers: [75]
75,90 unequal: No Solution
Exploring Operation: 5+15=20, Resulting Numbers: [20]
20,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 90:[15, 6], Operations: ['82-77=5', '1+5=6']
Exploring Operation: 15+6=21, Resulting Numbers: [21]
21,90 unequal: No Solution
Exploring Operation: 15*6=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[82, 1, 77, 15], Operations: []
Exploring Operation: 82-77=5, Resulting Numbers: [1, 15, 5]
Generated Node #0,4: 90:[1, 15, 5] Operation: 82-77=5
Moving to Node #0,4
Current State: 90:[1, 15, 5], Operations: ['82-77=5']
Exploring Operation: 1+5=6, Resulting Numbers: [15, 6]
Generated Node #0,4,4: 90:[15, 6] Operation: 1+5=6
Moving to Node #0,4,4
Current State: 90:[15, 6], Operations: ['82-77=5', '1+5=6']
Exploring Operation: 15*6=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.972222 | hs_5 | sum_heuristic |
[
78,
44,
20,
97
] | 44 | [
"78+20=98",
"98-97=1",
"44*1=44"
] | Current State: 44:[78, 44, 20, 97], Operations: []
Exploring Operation: 78+20=98, Resulting Numbers: [44, 97, 98]
Generated Node #2: [44, 97, 98] from Operation: 78+20=98
Current State: 44:[44, 97, 98], Operations: ['78+20=98']
Exploring Operation: 98-97=1, Resulting Numbers: [44, 1]
Generated Node #3: [44, 1] from Operation: 98-97=1
Current State: 44:[44, 1], Operations: ['78+20=98', '98-97=1']
Exploring Operation: 44*1=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[78, 44, 20, 97], Operations: []
Exploring Operation: 97-44=53, Resulting Numbers: [78, 20, 53]
Generated Node #0,0: 44:[78, 20, 53] Operation: 97-44=53
Exploring Operation: 97-78=19, Resulting Numbers: [44, 20, 19]
Generated Node #0,1: 44:[44, 20, 19] Operation: 97-78=19
Exploring Operation: 97-20=77, Resulting Numbers: [78, 44, 77]
Generated Node #0,2: 44:[78, 44, 77] Operation: 97-20=77
Exploring Operation: 78-20=58, Resulting Numbers: [44, 97, 58]
Generated Node #0,3: 44:[44, 97, 58] Operation: 78-20=58
Exploring Operation: 78-44=34, Resulting Numbers: [20, 97, 34]
Generated Node #0,4: 44:[20, 97, 34] Operation: 78-44=34
Moving to Node #0,1
Current State: 44:[44, 20, 19], Operations: ['97-78=19']
Exploring Operation: 44-20=24, Resulting Numbers: [19, 24]
Generated Node #0,1,0: 44:[19, 24] Operation: 44-20=24
Exploring Operation: 44-19=25, Resulting Numbers: [20, 25]
Generated Node #0,1,1: 44:[20, 25] Operation: 44-19=25
Exploring Operation: 20+19=39, Resulting Numbers: [44, 39]
Generated Node #0,1,2: 44:[44, 39] Operation: 20+19=39
Exploring Operation: 20-19=1, Resulting Numbers: [44, 1]
Generated Node #0,1,3: 44:[44, 1] Operation: 20-19=1
Exploring Operation: 44+19=63, Resulting Numbers: [20, 63]
Generated Node #0,1,4: 44:[20, 63] Operation: 44+19=63
Moving to Node #0,0
Current State: 44:[78, 20, 53], Operations: ['97-44=53']
Exploring Operation: 78-20=58, Resulting Numbers: [53, 58]
Generated Node #0,0,0: 44:[53, 58] Operation: 78-20=58
Exploring Operation: 78+20=98, Resulting Numbers: [53, 98]
Generated Node #0,0,1: 44:[53, 98] Operation: 78+20=98
Exploring Operation: 20+53=73, Resulting Numbers: [78, 73]
Generated Node #0,0,2: 44:[78, 73] Operation: 20+53=73
Exploring Operation: 53-20=33, Resulting Numbers: [78, 33]
Generated Node #0,0,3: 44:[78, 33] Operation: 53-20=33
Exploring Operation: 78-53=25, Resulting Numbers: [20, 25]
Generated Node #0,0,4: 44:[20, 25] Operation: 78-53=25
Moving to Node #0,4
Current State: 44:[20, 97, 34], Operations: ['78-44=34']
Exploring Operation: 34-20=14, Resulting Numbers: [97, 14]
Generated Node #0,4,0: 44:[97, 14] Operation: 34-20=14
Exploring Operation: 97-34=63, Resulting Numbers: [20, 63]
Generated Node #0,4,1: 44:[20, 63] Operation: 97-34=63
Exploring Operation: 20+34=54, Resulting Numbers: [97, 54]
Generated Node #0,4,2: 44:[97, 54] Operation: 20+34=54
Exploring Operation: 20+97=117, Resulting Numbers: [34, 117]
Generated Node #0,4,3: 44:[34, 117] Operation: 20+97=117
Exploring Operation: 97-20=77, Resulting Numbers: [34, 77]
Generated Node #0,4,4: 44:[34, 77] Operation: 97-20=77
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 44:[20, 63], Operations: ['78-44=34', '97-34=63']
Exploring Operation: 20+63=83, Resulting Numbers: [83]
83,44 unequal: No Solution
Exploring Operation: 20*63=1260, Resulting Numbers: [1260]
1260,44 unequal: No Solution
Exploring Operation: 63-20=43, Resulting Numbers: [43]
43,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 44:[34, 77], Operations: ['78-44=34', '97-20=77']
Exploring Operation: 34+77=111, Resulting Numbers: [111]
111,44 unequal: No Solution
Exploring Operation: 34*77=2618, Resulting Numbers: [2618]
2618,44 unequal: No Solution
Exploring Operation: 77-34=43, Resulting Numbers: [43]
43,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 44:[97, 14], Operations: ['78-44=34', '34-20=14']
Exploring Operation: 97*14=1358, Resulting Numbers: [1358]
1358,44 unequal: No Solution
Exploring Operation: 97+14=111, Resulting Numbers: [111]
111,44 unequal: No Solution
Exploring Operation: 97-14=83, Resulting Numbers: [83]
83,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 44:[97, 54], Operations: ['78-44=34', '20+34=54']
Exploring Operation: 97*54=5238, Resulting Numbers: [5238]
5238,44 unequal: No Solution
Exploring Operation: 97-54=43, Resulting Numbers: [43]
43,44 unequal: No Solution
Exploring Operation: 97+54=151, Resulting Numbers: [151]
151,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 44:[34, 117], Operations: ['78-44=34', '20+97=117']
Exploring Operation: 34+117=151, Resulting Numbers: [151]
151,44 unequal: No Solution
Exploring Operation: 34*117=3978, Resulting Numbers: [3978]
3978,44 unequal: No Solution
Exploring Operation: 117-34=83, Resulting Numbers: [83]
83,44 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: 44:[78, 44, 77], Operations: ['97-20=77']
Exploring Operation: 78-44=34, Resulting Numbers: [77, 34]
Generated Node #0,2,0: 44:[77, 34] Operation: 78-44=34
Exploring Operation: 78+44=122, Resulting Numbers: [77, 122]
Generated Node #0,2,1: 44:[77, 122] Operation: 78+44=122
Exploring Operation: 78-77=1, Resulting Numbers: [44, 1]
Generated Node #0,2,2: 44:[44, 1] Operation: 78-77=1
Exploring Operation: 78+77=155, Resulting Numbers: [44, 155]
Generated Node #0,2,3: 44:[44, 155] Operation: 78+77=155
Exploring Operation: 77-44=33, Resulting Numbers: [78, 33]
Generated Node #0,2,4: 44:[78, 33] Operation: 77-44=33
Moving to Node #0,3
Current State: 44:[44, 97, 58], Operations: ['78-20=58']
Exploring Operation: 97-58=39, Resulting Numbers: [44, 39]
Generated Node #0,3,0: 44:[44, 39] Operation: 97-58=39
Exploring Operation: 58-44=14, Resulting Numbers: [97, 14]
Generated Node #0,3,1: 44:[97, 14] Operation: 58-44=14
Exploring Operation: 44+58=102, Resulting Numbers: [97, 102]
Generated Node #0,3,2: 44:[97, 102] Operation: 44+58=102
Exploring Operation: 97-44=53, Resulting Numbers: [58, 53]
Generated Node #0,3,3: 44:[58, 53] Operation: 97-44=53
Exploring Operation: 44+97=141, Resulting Numbers: [58, 141]
Generated Node #0,3,4: 44:[58, 141] Operation: 44+97=141
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 44:[44, 39], Operations: ['78-20=58', '97-58=39']
Exploring Operation: 44+39=83, Resulting Numbers: [83]
83,44 unequal: No Solution
Exploring Operation: 44*39=1716, Resulting Numbers: [1716]
1716,44 unequal: No Solution
Exploring Operation: 44-39=5, Resulting Numbers: [5]
5,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 44:[58, 53], Operations: ['78-20=58', '97-44=53']
Exploring Operation: 58*53=3074, Resulting Numbers: [3074]
3074,44 unequal: No Solution
Exploring Operation: 58+53=111, Resulting Numbers: [111]
111,44 unequal: No Solution
Exploring Operation: 58-53=5, Resulting Numbers: [5]
5,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 44:[97, 14], Operations: ['78-20=58', '58-44=14']
Exploring Operation: 97-14=83, Resulting Numbers: [83]
83,44 unequal: No Solution
Exploring Operation: 97*14=1358, Resulting Numbers: [1358]
1358,44 unequal: No Solution
Exploring Operation: 97+14=111, Resulting Numbers: [111]
111,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 44:[97, 102], Operations: ['78-20=58', '44+58=102']
Exploring Operation: 97+102=199, Resulting Numbers: [199]
199,44 unequal: No Solution
Exploring Operation: 97*102=9894, Resulting Numbers: [9894]
9894,44 unequal: No Solution
Exploring Operation: 102-97=5, Resulting Numbers: [5]
5,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 44:[58, 141], Operations: ['78-20=58', '44+97=141']
Exploring Operation: 58*141=8178, Resulting Numbers: [8178]
8178,44 unequal: No Solution
Exploring Operation: 58+141=199, Resulting Numbers: [199]
199,44 unequal: No Solution
Exploring Operation: 141-58=83, Resulting Numbers: [83]
83,44 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,3
Current State: 44:[44, 1], Operations: ['97-78=19', '20-19=1']
Exploring Operation: 44-1=43, Resulting Numbers: [43]
43,44 unequal: No Solution
Exploring Operation: 44+1=45, Resulting Numbers: [45]
45,44 unequal: No Solution
Exploring Operation: 44*1=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[78, 44, 20, 97], Operations: []
Exploring Operation: 97-78=19, Resulting Numbers: [44, 20, 19]
Generated Node #0,1: 44:[44, 20, 19] Operation: 97-78=19
Moving to Node #0,1
Current State: 44:[44, 20, 19], Operations: ['97-78=19']
Exploring Operation: 20-19=1, Resulting Numbers: [44, 1]
Generated Node #0,1,3: 44:[44, 1] Operation: 20-19=1
Moving to Node #0,1,3
Current State: 44:[44, 1], Operations: ['97-78=19', '20-19=1']
Exploring Operation: 44*1=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 0.94184 | hs_5 | sum_heuristic |
[
41,
66,
91,
33
] | 31 | [
"41+91=132",
"132/66=2",
"33-2=31"
] | Current State: 31:[41, 66, 91, 33], Operations: []
Exploring Operation: 41+91=132, Resulting Numbers: [66, 33, 132]
Generated Node #2: [66, 33, 132] from Operation: 41+91=132
Current State: 31:[66, 33, 132], Operations: ['41+91=132']
Exploring Operation: 132/66=2, Resulting Numbers: [33, 2]
Generated Node #3: [33, 2] from Operation: 132/66=2
Current State: 31:[33, 2], Operations: ['41+91=132', '132/66=2']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[41, 66, 91, 33], Operations: []
Exploring Operation: 91-66=25, Resulting Numbers: [41, 33, 25]
Generated Node #0,0: 31:[41, 33, 25] Operation: 91-66=25
Exploring Operation: 66-41=25, Resulting Numbers: [91, 33, 25]
Generated Node #0,1: 31:[91, 33, 25] Operation: 66-41=25
Exploring Operation: 91-33=58, Resulting Numbers: [41, 66, 58]
Generated Node #0,2: 31:[41, 66, 58] Operation: 91-33=58
Exploring Operation: 66-33=33, Resulting Numbers: [41, 91, 33]
Generated Node #0,3: 31:[41, 91, 33] Operation: 66-33=33
Exploring Operation: 91-41=50, Resulting Numbers: [66, 33, 50]
Generated Node #0,4: 31:[66, 33, 50] Operation: 91-41=50
Moving to Node #0,0
Current State: 31:[41, 33, 25], Operations: ['91-66=25']
Exploring Operation: 41-33=8, Resulting Numbers: [25, 8]
Generated Node #0,0,0: 31:[25, 8] Operation: 41-33=8
Exploring Operation: 41-25=16, Resulting Numbers: [33, 16]
Generated Node #0,0,1: 31:[33, 16] Operation: 41-25=16
Exploring Operation: 41+25=66, Resulting Numbers: [33, 66]
Generated Node #0,0,2: 31:[33, 66] Operation: 41+25=66
Exploring Operation: 33-25=8, Resulting Numbers: [41, 8]
Generated Node #0,0,3: 31:[41, 8] Operation: 33-25=8
Exploring Operation: 33+25=58, Resulting Numbers: [41, 58]
Generated Node #0,0,4: 31:[41, 58] Operation: 33+25=58
Moving to Node #0,4
Current State: 31:[66, 33, 50], Operations: ['91-41=50']
Exploring Operation: 66-50=16, Resulting Numbers: [33, 16]
Generated Node #0,4,0: 31:[33, 16] Operation: 66-50=16
Exploring Operation: 66+33=99, Resulting Numbers: [50, 99]
Generated Node #0,4,1: 31:[50, 99] Operation: 66+33=99
Exploring Operation: 50-33=17, Resulting Numbers: [66, 17]
Generated Node #0,4,2: 31:[66, 17] Operation: 50-33=17
Exploring Operation: 66/33=2, Resulting Numbers: [50, 2]
Generated Node #0,4,3: 31:[50, 2] Operation: 66/33=2
Exploring Operation: 66-33=33, Resulting Numbers: [50, 33]
Generated Node #0,4,4: 31:[50, 33] Operation: 66-33=33
Moving to Node #0,1
Current State: 31:[91, 33, 25], Operations: ['66-41=25']
Exploring Operation: 33-25=8, Resulting Numbers: [91, 8]
Generated Node #0,1,0: 31:[91, 8] Operation: 33-25=8
Exploring Operation: 33+25=58, Resulting Numbers: [91, 58]
Generated Node #0,1,1: 31:[91, 58] Operation: 33+25=58
Exploring Operation: 91-25=66, Resulting Numbers: [33, 66]
Generated Node #0,1,2: 31:[33, 66] Operation: 91-25=66
Exploring Operation: 91-33=58, Resulting Numbers: [25, 58]
Generated Node #0,1,3: 31:[25, 58] Operation: 91-33=58
Exploring Operation: 91+25=116, Resulting Numbers: [33, 116]
Generated Node #0,1,4: 31:[33, 116] Operation: 91+25=116
Moving to Node #0,2
Current State: 31:[41, 66, 58], Operations: ['91-33=58']
Exploring Operation: 41+66=107, Resulting Numbers: [58, 107]
Generated Node #0,2,0: 31:[58, 107] Operation: 41+66=107
Exploring Operation: 66-41=25, Resulting Numbers: [58, 25]
Generated Node #0,2,1: 31:[58, 25] Operation: 66-41=25
Exploring Operation: 66-58=8, Resulting Numbers: [41, 8]
Generated Node #0,2,2: 31:[41, 8] Operation: 66-58=8
Exploring Operation: 58-41=17, Resulting Numbers: [66, 17]
Generated Node #0,2,3: 31:[66, 17] Operation: 58-41=17
Exploring Operation: 41+58=99, Resulting Numbers: [66, 99]
Generated Node #0,2,4: 31:[66, 99] Operation: 41+58=99
Moving to Node #0,3
Current State: 31:[41, 91, 33], Operations: ['66-33=33']
Exploring Operation: 41+33=74, Resulting Numbers: [91, 74]
Generated Node #0,3,0: 31:[91, 74] Operation: 41+33=74
Exploring Operation: 91-33=58, Resulting Numbers: [41, 58]
Generated Node #0,3,1: 31:[41, 58] Operation: 91-33=58
Exploring Operation: 91-41=50, Resulting Numbers: [33, 50]
Generated Node #0,3,2: 31:[33, 50] Operation: 91-41=50
Exploring Operation: 41-33=8, Resulting Numbers: [91, 8]
Generated Node #0,3,3: 31:[91, 8] Operation: 41-33=8
Exploring Operation: 41+91=132, Resulting Numbers: [33, 132]
Generated Node #0,3,4: 31:[33, 132] Operation: 41+91=132
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 31:[33, 50], Operations: ['66-33=33', '91-41=50']
Exploring Operation: 33+50=83, Resulting Numbers: [83]
83,31 unequal: No Solution
Exploring Operation: 33*50=1650, Resulting Numbers: [1650]
1650,31 unequal: No Solution
Exploring Operation: 50-33=17, Resulting Numbers: [17]
17,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 31:[41, 58], Operations: ['66-33=33', '91-33=58']
Exploring Operation: 41*58=2378, Resulting Numbers: [2378]
2378,31 unequal: No Solution
Exploring Operation: 41+58=99, Resulting Numbers: [99]
99,31 unequal: No Solution
Exploring Operation: 58-41=17, Resulting Numbers: [17]
17,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 31:[91, 8], Operations: ['66-33=33', '41-33=8']
Exploring Operation: 91*8=728, Resulting Numbers: [728]
728,31 unequal: No Solution
Exploring Operation: 91-8=83, Resulting Numbers: [83]
83,31 unequal: No Solution
Exploring Operation: 91+8=99, Resulting Numbers: [99]
99,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 31:[91, 74], Operations: ['66-33=33', '41+33=74']
Exploring Operation: 91-74=17, Resulting Numbers: [17]
17,31 unequal: No Solution
Exploring Operation: 91*74=6734, Resulting Numbers: [6734]
6734,31 unequal: No Solution
Exploring Operation: 91+74=165, Resulting Numbers: [165]
165,31 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 31:[33, 132], Operations: ['66-33=33', '41+91=132']
Exploring Operation: 33+132=165, Resulting Numbers: [165]
165,31 unequal: No Solution
Exploring Operation: 132/33=4, Resulting Numbers: [4]
4,31 unequal: No Solution
Exploring Operation: 132-33=99, Resulting Numbers: [99]
99,31 unequal: No Solution
Exploring Operation: 33*132=4356, Resulting Numbers: [4356]
4356,31 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: 31:[33, 16], Operations: ['91-66=25', '41-25=16']
Exploring Operation: 33*16=528, Resulting Numbers: [528]
528,31 unequal: No Solution
Exploring Operation: 33+16=49, Resulting Numbers: [49]
49,31 unequal: No Solution
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,31 unequal: No Solution
Moving to Node #0,4,0
Current State: 31:[33, 16], Operations: ['91-41=50', '66-50=16']
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,31 unequal: No Solution
Exploring Operation: 33+16=49, Resulting Numbers: [49]
49,31 unequal: No Solution
Exploring Operation: 33*16=528, Resulting Numbers: [528]
528,31 unequal: No Solution
Moving to Node #0,4,4
Current State: 31:[50, 33], Operations: ['91-41=50', '66-33=33']
Exploring Operation: 50-33=17, Resulting Numbers: [17]
17,31 unequal: No Solution
Exploring Operation: 50*33=1650, Resulting Numbers: [1650]
1650,31 unequal: No Solution
Exploring Operation: 50+33=83, Resulting Numbers: [83]
83,31 unequal: No Solution
Moving to Node #0,0,0
Current State: 31:[25, 8], Operations: ['91-66=25', '41-33=8']
Exploring Operation: 25+8=33, Resulting Numbers: [33]
33,31 unequal: No Solution
Exploring Operation: 25*8=200, Resulting Numbers: [200]
200,31 unequal: No Solution
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,31 unequal: No Solution
Moving to Node #0,0,3
Current State: 31:[41, 8], Operations: ['91-66=25', '33-25=8']
Exploring Operation: 41-8=33, Resulting Numbers: [33]
33,31 unequal: No Solution
Exploring Operation: 41*8=328, Resulting Numbers: [328]
328,31 unequal: No Solution
Exploring Operation: 41+8=49, Resulting Numbers: [49]
49,31 unequal: No Solution
Moving to Node #0,1,3
Current State: 31:[25, 58], Operations: ['66-41=25', '91-33=58']
Exploring Operation: 58-25=33, Resulting Numbers: [33]
33,31 unequal: No Solution
Exploring Operation: 25+58=83, Resulting Numbers: [83]
83,31 unequal: No Solution
Exploring Operation: 25*58=1450, Resulting Numbers: [1450]
1450,31 unequal: No Solution
Moving to Node #0,2,1
Current State: 31:[58, 25], Operations: ['91-33=58', '66-41=25']
Exploring Operation: 58-25=33, Resulting Numbers: [33]
33,31 unequal: No Solution
Exploring Operation: 58+25=83, Resulting Numbers: [83]
83,31 unequal: No Solution
Exploring Operation: 58*25=1450, Resulting Numbers: [1450]
1450,31 unequal: No Solution
Moving to Node #0,2,2
Current State: 31:[41, 8], Operations: ['91-33=58', '66-58=8']
Exploring Operation: 41-8=33, Resulting Numbers: [33]
33,31 unequal: No Solution
Exploring Operation: 41*8=328, Resulting Numbers: [328]
328,31 unequal: No Solution
Exploring Operation: 41+8=49, Resulting Numbers: [49]
49,31 unequal: No Solution
Moving to Node #0,1,2
Current State: 31:[33, 66], Operations: ['66-41=25', '91-25=66']
Exploring Operation: 66-33=33, Resulting Numbers: [33]
33,31 unequal: No Solution
Exploring Operation: 33*66=2178, Resulting Numbers: [2178]
2178,31 unequal: No Solution
Exploring Operation: 33+66=99, Resulting Numbers: [99]
99,31 unequal: No Solution
Exploring Operation: 66/33=2, Resulting Numbers: [2]
2,31 unequal: No Solution
Moving to Node #0,0,2
Current State: 31:[33, 66], Operations: ['91-66=25', '41+25=66']
Exploring Operation: 66-33=33, Resulting Numbers: [33]
33,31 unequal: No Solution
Exploring Operation: 33*66=2178, Resulting Numbers: [2178]
2178,31 unequal: No Solution
Exploring Operation: 33+66=99, Resulting Numbers: [99]
99,31 unequal: No Solution
Exploring Operation: 66/33=2, Resulting Numbers: [2]
2,31 unequal: No Solution
Moving to Node #0,0,4
Current State: 31:[41, 58], Operations: ['91-66=25', '33+25=58']
Exploring Operation: 41+58=99, Resulting Numbers: [99]
99,31 unequal: No Solution
Exploring Operation: 58-41=17, Resulting Numbers: [17]
17,31 unequal: No Solution
Exploring Operation: 41*58=2378, Resulting Numbers: [2378]
2378,31 unequal: No Solution
Moving to Node #0,4,3
Current State: 31:[50, 2], Operations: ['91-41=50', '66/33=2']
Exploring Operation: 50-2=48, Resulting Numbers: [48]
48,31 unequal: No Solution
Exploring Operation: 50+2=52, Resulting Numbers: [52]
52,31 unequal: No Solution
Exploring Operation: 50*2=100, Resulting Numbers: [100]
100,31 unequal: No Solution
Exploring Operation: 50/2=25, Resulting Numbers: [25]
25,31 unequal: No Solution
Moving to Node #0,2,3
Current State: 31:[66, 17], Operations: ['91-33=58', '58-41=17']
Exploring Operation: 66+17=83, Resulting Numbers: [83]
83,31 unequal: No Solution
Exploring Operation: 66*17=1122, Resulting Numbers: [1122]
1122,31 unequal: No Solution
Exploring Operation: 66-17=49, Resulting Numbers: [49]
49,31 unequal: No Solution
Moving to Node #0,4,2
Current State: 31:[66, 17], Operations: ['91-41=50', '50-33=17']
Exploring Operation: 66-17=49, Resulting Numbers: [49]
49,31 unequal: No Solution
Exploring Operation: 66+17=83, Resulting Numbers: [83]
83,31 unequal: No Solution
Exploring Operation: 66*17=1122, Resulting Numbers: [1122]
1122,31 unequal: No Solution
Moving to Node #0,1,0
Current State: 31:[91, 8], Operations: ['66-41=25', '33-25=8']
Exploring Operation: 91*8=728, Resulting Numbers: [728]
728,31 unequal: No Solution
Exploring Operation: 91+8=99, Resulting Numbers: [99]
99,31 unequal: No Solution
Exploring Operation: 91-8=83, Resulting Numbers: [83]
83,31 unequal: No Solution
Moving to Node #0,1,4
Current State: 31:[33, 116], Operations: ['66-41=25', '91+25=116']
Exploring Operation: 116-33=83, Resulting Numbers: [83]
83,31 unequal: No Solution
Exploring Operation: 33+116=149, Resulting Numbers: [149]
149,31 unequal: No Solution
Exploring Operation: 33*116=3828, Resulting Numbers: [3828]
3828,31 unequal: No Solution
Moving to Node #0,4,1
Current State: 31:[50, 99], Operations: ['91-41=50', '66+33=99']
Exploring Operation: 50*99=4950, Resulting Numbers: [4950]
4950,31 unequal: No Solution
Exploring Operation: 99-50=49, Resulting Numbers: [49]
49,31 unequal: No Solution
Exploring Operation: 50+99=149, Resulting Numbers: [149]
149,31 unequal: No Solution
Moving to Node #0,1,1
Current State: 31:[91, 58], Operations: ['66-41=25', '33+25=58']
Exploring Operation: 91+58=149, Resulting Numbers: [149]
149,31 unequal: No Solution
Exploring Operation: 91*58=5278, Resulting Numbers: [5278]
5278,31 unequal: No Solution
Exploring Operation: 91-58=33, Resulting Numbers: [33]
33,31 unequal: No Solution
Moving to Node #0,2,4
Current State: 31:[66, 99], Operations: ['91-33=58', '41+58=99']
Exploring Operation: 66*99=6534, Resulting Numbers: [6534]
6534,31 unequal: No Solution
Exploring Operation: 66+99=165, Resulting Numbers: [165]
165,31 unequal: No Solution
Exploring Operation: 99-66=33, Resulting Numbers: [33]
33,31 unequal: No Solution
Moving to Node #0,2,0
Current State: 31:[58, 107], Operations: ['91-33=58', '41+66=107']
Exploring Operation: 58*107=6206, Resulting Numbers: [6206]
6206,31 unequal: No Solution
Exploring Operation: 58+107=165, Resulting Numbers: [165]
165,31 unequal: No Solution
Exploring Operation: 107-58=49, Resulting Numbers: [49]
49,31 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
22,
39,
46,
24
] | 87 | [
"39-22=17",
"46+24=70",
"17+70=87"
] | Current State: 87:[22, 39, 46, 24], Operations: []
Exploring Operation: 39-22=17, Resulting Numbers: [46, 24, 17]
Generated Node #2: [46, 24, 17] from Operation: 39-22=17
Current State: 87:[46, 24, 17], Operations: ['39-22=17']
Exploring Operation: 46+24=70, Resulting Numbers: [17, 70]
Generated Node #3: [17, 70] from Operation: 46+24=70
Current State: 87:[17, 70], Operations: ['39-22=17', '46+24=70']
Exploring Operation: 17+70=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[22, 39, 46, 24], Operations: []
Exploring Operation: 46-22=24, Resulting Numbers: [39, 24, 24]
Generated Node #0,0: 87:[39, 24, 24] Operation: 46-22=24
Exploring Operation: 46-24=22, Resulting Numbers: [22, 39, 22]
Generated Node #0,1: 87:[22, 39, 22] Operation: 46-24=22
Exploring Operation: 46-39=7, Resulting Numbers: [22, 24, 7]
Generated Node #0,2: 87:[22, 24, 7] Operation: 46-39=7
Exploring Operation: 39+46=85, Resulting Numbers: [22, 24, 85]
Generated Node #0,3: 87:[22, 24, 85] Operation: 39+46=85
Moving to Node #0,3
Current State: 87:[22, 24, 85], Operations: ['39+46=85']
Exploring Operation: 85-22=63, Resulting Numbers: [24, 63]
Generated Node #0,3,0: 87:[24, 63] Operation: 85-22=63
Exploring Operation: 22+24=46, Resulting Numbers: [85, 46]
Generated Node #0,3,1: 87:[85, 46] Operation: 22+24=46
Exploring Operation: 22+85=107, Resulting Numbers: [24, 107]
Generated Node #0,3,2: 87:[24, 107] Operation: 22+85=107
Exploring Operation: 24-22=2, Resulting Numbers: [85, 2]
Generated Node #0,3,3: 87:[85, 2] Operation: 24-22=2
Moving to Node #0,2
Current State: 87:[22, 24, 7], Operations: ['46-39=7']
Exploring Operation: 22-7=15, Resulting Numbers: [24, 15]
Generated Node #0,2,0: 87:[24, 15] Operation: 22-7=15
Exploring Operation: 24-22=2, Resulting Numbers: [7, 2]
Generated Node #0,2,1: 87:[7, 2] Operation: 24-22=2
Exploring Operation: 22+7=29, Resulting Numbers: [24, 29]
Generated Node #0,2,2: 87:[24, 29] Operation: 22+7=29
Exploring Operation: 24+7=31, Resulting Numbers: [22, 31]
Generated Node #0,2,3: 87:[22, 31] Operation: 24+7=31
Moving to Node #0,0
Current State: 87:[39, 24, 24], Operations: ['46-22=24']
Exploring Operation: 39-24=15, Resulting Numbers: [24, 15]
Generated Node #0,0,0: 87:[24, 15] Operation: 39-24=15
Exploring Operation: 24/24=1, Resulting Numbers: [39, 1]
Generated Node #0,0,1: 87:[39, 1] Operation: 24/24=1
Exploring Operation: 24-24=0, Resulting Numbers: [39, 0]
Generated Node #0,0,2: 87:[39, 0] Operation: 24-24=0
Exploring Operation: 39-24=15, Resulting Numbers: [24, 15]
Generated Node #0,0,3: 87:[24, 15] Operation: 39-24=15
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 87:[39, 1], Operations: ['46-22=24', '24/24=1']
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,87 unequal: No Solution
Exploring Operation: 39+1=40, Resulting Numbers: [40]
40,87 unequal: No Solution
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,87 unequal: No Solution
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 87:[39, 0], Operations: ['46-22=24', '24-24=0']
Exploring Operation: 39-0=39, Resulting Numbers: [39]
39,87 unequal: No Solution
Exploring Operation: 39+0=39, Resulting Numbers: [39]
39,87 unequal: No Solution
Exploring Operation: 39*0=0, Resulting Numbers: [0]
0,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 87:[24, 15], Operations: ['46-22=24', '39-24=15']
Exploring Operation: 24-15=9, Resulting Numbers: [9]
9,87 unequal: No Solution
Exploring Operation: 24*15=360, Resulting Numbers: [360]
360,87 unequal: No Solution
Exploring Operation: 24+15=39, Resulting Numbers: [39]
39,87 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 87:[24, 15], Operations: ['46-22=24', '39-24=15']
Exploring Operation: 24*15=360, Resulting Numbers: [360]
360,87 unequal: No Solution
Exploring Operation: 24+15=39, Resulting Numbers: [39]
39,87 unequal: No Solution
Exploring Operation: 24-15=9, Resulting Numbers: [9]
9,87 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: 87:[22, 39, 22], Operations: ['46-24=22']
Exploring Operation: 39-22=17, Resulting Numbers: [22, 17]
Generated Node #0,1,0: 87:[22, 17] Operation: 39-22=17
Exploring Operation: 22-22=0, Resulting Numbers: [39, 0]
Generated Node #0,1,1: 87:[39, 0] Operation: 22-22=0
Exploring Operation: 39-22=17, Resulting Numbers: [22, 17]
Generated Node #0,1,2: 87:[22, 17] Operation: 39-22=17
Exploring Operation: 22/22=1, Resulting Numbers: [39, 1]
Generated Node #0,1,3: 87:[39, 1] Operation: 22/22=1
Moving to Node #0,3,3
Current State: 87:[85, 2], Operations: ['39+46=85', '24-22=2']
Exploring Operation: 85+2=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[22, 39, 46, 24], Operations: []
Exploring Operation: 39+46=85, Resulting Numbers: [22, 24, 85]
Generated Node #0,3: 87:[22, 24, 85] Operation: 39+46=85
Moving to Node #0,3
Current State: 87:[22, 24, 85], Operations: ['39+46=85']
Exploring Operation: 24-22=2, Resulting Numbers: [85, 2]
Generated Node #0,3,3: 87:[85, 2] Operation: 24-22=2
Moving to Node #0,3,3
Current State: 87:[85, 2], Operations: ['39+46=85', '24-22=2']
Exploring Operation: 85+2=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 0.967014 | hs_4 | sum_heuristic |
[
90,
6,
27,
32
] | 79 | [
"90-6=84",
"32-27=5",
"84-5=79"
] | Current State: 79:[90, 6, 27, 32], Operations: []
Exploring Operation: 90-6=84, Resulting Numbers: [27, 32, 84]
Generated Node #2: [27, 32, 84] from Operation: 90-6=84
Current State: 79:[27, 32, 84], Operations: ['90-6=84']
Exploring Operation: 32-27=5, Resulting Numbers: [84, 5]
Generated Node #3: [84, 5] from Operation: 32-27=5
Current State: 79:[84, 5], Operations: ['90-6=84', '32-27=5']
Exploring Operation: 84-5=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[90, 6, 27, 32], Operations: []
Exploring Operation: 27+32=59, Resulting Numbers: [90, 6, 59]
Generated Node #0,0: 79:[90, 6, 59] Operation: 27+32=59
Exploring Operation: 6+27=33, Resulting Numbers: [90, 32, 33]
Generated Node #0,1: 79:[90, 32, 33] Operation: 6+27=33
Exploring Operation: 6+32=38, Resulting Numbers: [90, 27, 38]
Generated Node #0,2: 79:[90, 27, 38] Operation: 6+32=38
Exploring Operation: 90-6=84, Resulting Numbers: [27, 32, 84]
Generated Node #0,3: 79:[27, 32, 84] Operation: 90-6=84
Moving to Node #0,0
Current State: 79:[90, 6, 59], Operations: ['27+32=59']
Exploring Operation: 6+59=65, Resulting Numbers: [90, 65]
Generated Node #0,0,0: 79:[90, 65] Operation: 6+59=65
Exploring Operation: 59-6=53, Resulting Numbers: [90, 53]
Generated Node #0,0,1: 79:[90, 53] Operation: 59-6=53
Exploring Operation: 90-6=84, Resulting Numbers: [59, 84]
Generated Node #0,0,2: 79:[59, 84] Operation: 90-6=84
Exploring Operation: 90+6=96, Resulting Numbers: [59, 96]
Generated Node #0,0,3: 79:[59, 96] Operation: 90+6=96
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 79:[90, 65], Operations: ['27+32=59', '6+59=65']
Exploring Operation: 90-65=25, Resulting Numbers: [25]
25,79 unequal: No Solution
Exploring Operation: 90+65=155, Resulting Numbers: [155]
155,79 unequal: No Solution
Exploring Operation: 90*65=5850, Resulting Numbers: [5850]
5850,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:[59, 84], Operations: ['27+32=59', '90-6=84']
Exploring Operation: 59*84=4956, Resulting Numbers: [4956]
4956,79 unequal: No Solution
Exploring Operation: 84-59=25, Resulting Numbers: [25]
25,79 unequal: No Solution
Exploring Operation: 59+84=143, Resulting Numbers: [143]
143,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:[90, 53], Operations: ['27+32=59', '59-6=53']
Exploring Operation: 90+53=143, Resulting Numbers: [143]
143,79 unequal: No Solution
Exploring Operation: 90-53=37, Resulting Numbers: [37]
37,79 unequal: No Solution
Exploring Operation: 90*53=4770, Resulting Numbers: [4770]
4770,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,3
Current State: 79:[59, 96], Operations: ['27+32=59', '90+6=96']
Exploring Operation: 96-59=37, Resulting Numbers: [37]
37,79 unequal: No Solution
Exploring Operation: 59+96=155, Resulting Numbers: [155]
155,79 unequal: No Solution
Exploring Operation: 59*96=5664, Resulting Numbers: [5664]
5664,79 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: 79:[90, 27, 38], Operations: ['6+32=38']
Exploring Operation: 90-38=52, Resulting Numbers: [27, 52]
Generated Node #0,2,0: 79:[27, 52] Operation: 90-38=52
Exploring Operation: 27+38=65, Resulting Numbers: [90, 65]
Generated Node #0,2,1: 79:[90, 65] Operation: 27+38=65
Exploring Operation: 90-27=63, Resulting Numbers: [38, 63]
Generated Node #0,2,2: 79:[38, 63] Operation: 90-27=63
Exploring Operation: 90+27=117, Resulting Numbers: [38, 117]
Generated Node #0,2,3: 79:[38, 117] Operation: 90+27=117
Moving to Node #0,1
Current State: 79:[90, 32, 33], Operations: ['6+27=33']
Exploring Operation: 32+33=65, Resulting Numbers: [90, 65]
Generated Node #0,1,0: 79:[90, 65] Operation: 32+33=65
Exploring Operation: 90+32=122, Resulting Numbers: [33, 122]
Generated Node #0,1,1: 79:[33, 122] Operation: 90+32=122
Exploring Operation: 90-33=57, Resulting Numbers: [32, 57]
Generated Node #0,1,2: 79:[32, 57] Operation: 90-33=57
Exploring Operation: 90-32=58, Resulting Numbers: [33, 58]
Generated Node #0,1,3: 79:[33, 58] Operation: 90-32=58
Moving to Node #0,3
Current State: 79:[27, 32, 84], Operations: ['90-6=84']
Exploring Operation: 32-27=5, Resulting Numbers: [84, 5]
Generated Node #0,3,0: 79:[84, 5] Operation: 32-27=5
Exploring Operation: 27+32=59, Resulting Numbers: [84, 59]
Generated Node #0,3,1: 79:[84, 59] Operation: 27+32=59
Exploring Operation: 27+84=111, Resulting Numbers: [32, 111]
Generated Node #0,3,2: 79:[32, 111] Operation: 27+84=111
Exploring Operation: 84-27=57, Resulting Numbers: [32, 57]
Generated Node #0,3,3: 79:[32, 57] Operation: 84-27=57
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 79:[84, 59], Operations: ['90-6=84', '27+32=59']
Exploring Operation: 84+59=143, Resulting Numbers: [143]
143,79 unequal: No Solution
Exploring Operation: 84-59=25, Resulting Numbers: [25]
25,79 unequal: No Solution
Exploring Operation: 84*59=4956, Resulting Numbers: [4956]
4956,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,3,3
Current State: 79:[32, 57], Operations: ['90-6=84', '84-27=57']
Exploring Operation: 57-32=25, Resulting Numbers: [25]
25,79 unequal: No Solution
Exploring Operation: 32+57=89, Resulting Numbers: [89]
89,79 unequal: No Solution
Exploring Operation: 32*57=1824, Resulting Numbers: [1824]
1824,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,3,0
Current State: 79:[84, 5], Operations: ['90-6=84', '32-27=5']
Exploring Operation: 84+5=89, Resulting Numbers: [89]
89,79 unequal: No Solution
Exploring Operation: 84*5=420, Resulting Numbers: [420]
420,79 unequal: No Solution
Exploring Operation: 84-5=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[90, 6, 27, 32], Operations: []
Exploring Operation: 90-6=84, Resulting Numbers: [27, 32, 84]
Generated Node #0,3: 79:[27, 32, 84] Operation: 90-6=84
Moving to Node #0,3
Current State: 79:[27, 32, 84], Operations: ['90-6=84']
Exploring Operation: 32-27=5, Resulting Numbers: [84, 5]
Generated Node #0,3,0: 79:[84, 5] Operation: 32-27=5
Moving to Node #0,3,0
Current State: 79:[84, 5], Operations: ['90-6=84', '32-27=5']
Exploring Operation: 84-5=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 1
| 0.960938 | hs_4 | sum_heuristic |
[
54,
59,
81,
49
] | 81 | [
"54+59=113",
"81-49=32",
"113-32=81"
] | Current State: 81:[54, 59, 81, 49], Operations: []
Exploring Operation: 54+59=113, Resulting Numbers: [81, 49, 113]
Generated Node #2: [81, 49, 113] from Operation: 54+59=113
Current State: 81:[81, 49, 113], Operations: ['54+59=113']
Exploring Operation: 81-49=32, Resulting Numbers: [113, 32]
Generated Node #3: [113, 32] from Operation: 81-49=32
Current State: 81:[113, 32], Operations: ['54+59=113', '81-49=32']
Exploring Operation: 113-32=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[54, 59, 81, 49], Operations: []
Exploring Operation: 81-54=27, Resulting Numbers: [59, 49, 27]
Generated Node #0,0: 81:[59, 49, 27] Operation: 81-54=27
Exploring Operation: 59-49=10, Resulting Numbers: [54, 81, 10]
Generated Node #0,1: 81:[54, 81, 10] Operation: 59-49=10
Exploring Operation: 59-54=5, Resulting Numbers: [81, 49, 5]
Generated Node #0,2: 81:[81, 49, 5] Operation: 59-54=5
Exploring Operation: 54-49=5, Resulting Numbers: [59, 81, 5]
Generated Node #0,3: 81:[59, 81, 5] Operation: 54-49=5
Moving to Node #0,2
Current State: 81:[81, 49, 5], Operations: ['59-54=5']
Exploring Operation: 81-49=32, Resulting Numbers: [5, 32]
Generated Node #0,2,0: 81:[5, 32] Operation: 81-49=32
Exploring Operation: 81+5=86, Resulting Numbers: [49, 86]
Generated Node #0,2,1: 81:[49, 86] Operation: 81+5=86
Exploring Operation: 49-5=44, Resulting Numbers: [81, 44]
Generated Node #0,2,2: 81:[81, 44] Operation: 49-5=44
Exploring Operation: 81-5=76, Resulting Numbers: [49, 76]
Generated Node #0,2,3: 81:[49, 76] Operation: 81-5=76
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 81:[5, 32], Operations: ['59-54=5', '81-49=32']
Exploring Operation: 5+32=37, Resulting Numbers: [37]
37,81 unequal: No Solution
Exploring Operation: 32-5=27, Resulting Numbers: [27]
27,81 unequal: No Solution
Exploring Operation: 5*32=160, Resulting Numbers: [160]
160,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 81:[81, 44], Operations: ['59-54=5', '49-5=44']
Exploring Operation: 81*44=3564, Resulting Numbers: [3564]
3564,81 unequal: No Solution
Exploring Operation: 81+44=125, Resulting Numbers: [125]
125,81 unequal: No Solution
Exploring Operation: 81-44=37, Resulting Numbers: [37]
37,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 81:[49, 86], Operations: ['59-54=5', '81+5=86']
Exploring Operation: 86-49=37, Resulting Numbers: [37]
37,81 unequal: No Solution
Exploring Operation: 49*86=4214, Resulting Numbers: [4214]
4214,81 unequal: No Solution
Exploring Operation: 49+86=135, Resulting Numbers: [135]
135,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 81:[49, 76], Operations: ['59-54=5', '81-5=76']
Exploring Operation: 49+76=125, Resulting Numbers: [125]
125,81 unequal: No Solution
Exploring Operation: 49*76=3724, Resulting Numbers: [3724]
3724,81 unequal: No Solution
Exploring Operation: 76-49=27, Resulting Numbers: [27]
27,81 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: 81:[59, 81, 5], Operations: ['54-49=5']
Exploring Operation: 59+5=64, Resulting Numbers: [81, 64]
Generated Node #0,3,0: 81:[81, 64] Operation: 59+5=64
Exploring Operation: 81+5=86, Resulting Numbers: [59, 86]
Generated Node #0,3,1: 81:[59, 86] Operation: 81+5=86
Exploring Operation: 81-59=22, Resulting Numbers: [5, 22]
Generated Node #0,3,2: 81:[5, 22] Operation: 81-59=22
Exploring Operation: 59-5=54, Resulting Numbers: [81, 54]
Generated Node #0,3,3: 81:[81, 54] Operation: 59-5=54
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 81:[5, 22], Operations: ['54-49=5', '81-59=22']
Exploring Operation: 5+22=27, Resulting Numbers: [27]
27,81 unequal: No Solution
Exploring Operation: 22-5=17, Resulting Numbers: [17]
17,81 unequal: No Solution
Exploring Operation: 5*22=110, Resulting Numbers: [110]
110,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 81:[81, 64], Operations: ['54-49=5', '59+5=64']
Exploring Operation: 81+64=145, Resulting Numbers: [145]
145,81 unequal: No Solution
Exploring Operation: 81-64=17, Resulting Numbers: [17]
17,81 unequal: No Solution
Exploring Operation: 81*64=5184, Resulting Numbers: [5184]
5184,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 81:[59, 86], Operations: ['54-49=5', '81+5=86']
Exploring Operation: 59*86=5074, Resulting Numbers: [5074]
5074,81 unequal: No Solution
Exploring Operation: 86-59=27, Resulting Numbers: [27]
27,81 unequal: No Solution
Exploring Operation: 59+86=145, Resulting Numbers: [145]
145,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 81:[81, 54], Operations: ['54-49=5', '59-5=54']
Exploring Operation: 81*54=4374, Resulting Numbers: [4374]
4374,81 unequal: No Solution
Exploring Operation: 81-54=27, Resulting Numbers: [27]
27,81 unequal: No Solution
Exploring Operation: 81+54=135, Resulting Numbers: [135]
135,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 81:[54, 81, 10], Operations: ['59-49=10']
Exploring Operation: 54+10=64, Resulting Numbers: [81, 64]
Generated Node #0,1,0: 81:[81, 64] Operation: 54+10=64
Exploring Operation: 54-10=44, Resulting Numbers: [81, 44]
Generated Node #0,1,1: 81:[81, 44] Operation: 54-10=44
Exploring Operation: 81-54=27, Resulting Numbers: [10, 27]
Generated Node #0,1,2: 81:[10, 27] Operation: 81-54=27
Exploring Operation: 81+10=91, Resulting Numbers: [54, 91]
Generated Node #0,1,3: 81:[54, 91] Operation: 81+10=91
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 81:[10, 27], Operations: ['59-49=10', '81-54=27']
Exploring Operation: 10*27=270, Resulting Numbers: [270]
270,81 unequal: No Solution
Exploring Operation: 10+27=37, Resulting Numbers: [37]
37,81 unequal: No Solution
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 81:[81, 64], Operations: ['59-49=10', '54+10=64']
Exploring Operation: 81-64=17, Resulting Numbers: [17]
17,81 unequal: No Solution
Exploring Operation: 81+64=145, Resulting Numbers: [145]
145,81 unequal: No Solution
Exploring Operation: 81*64=5184, Resulting Numbers: [5184]
5184,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 81:[81, 44], Operations: ['59-49=10', '54-10=44']
Exploring Operation: 81-44=37, Resulting Numbers: [37]
37,81 unequal: No Solution
Exploring Operation: 81*44=3564, Resulting Numbers: [3564]
3564,81 unequal: No Solution
Exploring Operation: 81+44=125, Resulting Numbers: [125]
125,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 81:[54, 91], Operations: ['59-49=10', '81+10=91']
Exploring Operation: 54+91=145, Resulting Numbers: [145]
145,81 unequal: No Solution
Exploring Operation: 54*91=4914, Resulting Numbers: [4914]
4914,81 unequal: No Solution
Exploring Operation: 91-54=37, Resulting Numbers: [37]
37,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 81:[59, 49, 27], Operations: ['81-54=27']
Exploring Operation: 59+27=86, Resulting Numbers: [49, 86]
Generated Node #0,0,0: 81:[49, 86] Operation: 59+27=86
Exploring Operation: 59-27=32, Resulting Numbers: [49, 32]
Generated Node #0,0,1: 81:[49, 32] Operation: 59-27=32
Exploring Operation: 59-49=10, Resulting Numbers: [27, 10]
Generated Node #0,0,2: 81:[27, 10] Operation: 59-49=10
Exploring Operation: 59+49=108, Resulting Numbers: [27, 108]
Generated Node #0,0,3: 81:[27, 108] Operation: 59+49=108
Moving to Node #0,0,2
Current State: 81:[27, 10], Operations: ['81-54=27', '59-49=10']
Exploring Operation: 27*10=270, Resulting Numbers: [270]
270,81 unequal: No Solution
Exploring Operation: 27+10=37, Resulting Numbers: [37]
37,81 unequal: No Solution
Exploring Operation: 27-10=17, Resulting Numbers: [17]
17,81 unequal: No Solution
Moving to Node #0,0,1
Current State: 81:[49, 32], Operations: ['81-54=27', '59-27=32']
Exploring Operation: 49*32=1568, Resulting Numbers: [1568]
1568,81 unequal: No Solution
Exploring Operation: 49-32=17, Resulting Numbers: [17]
17,81 unequal: No Solution
Exploring Operation: 49+32=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[54, 59, 81, 49], Operations: []
Exploring Operation: 81-54=27, Resulting Numbers: [59, 49, 27]
Generated Node #0,0: 81:[59, 49, 27] Operation: 81-54=27
Moving to Node #0,0
Current State: 81:[59, 49, 27], Operations: ['81-54=27']
Exploring Operation: 59-27=32, Resulting Numbers: [49, 32]
Generated Node #0,0,1: 81:[49, 32] Operation: 59-27=32
Moving to Node #0,0,1
Current State: 81:[49, 32], Operations: ['81-54=27', '59-27=32']
Exploring Operation: 49+32=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 0.942708 | hs_4 | sum_heuristic |
[
80,
26,
8,
70
] | 83 | [
"8+70=78",
"78/26=3",
"80+3=83"
] | Current State: 83:[80, 26, 8, 70], Operations: []
Exploring Operation: 8+70=78, Resulting Numbers: [80, 26, 78]
Generated Node #2: [80, 26, 78] from Operation: 8+70=78
Current State: 83:[80, 26, 78], Operations: ['8+70=78']
Exploring Operation: 78/26=3, Resulting Numbers: [80, 3]
Generated Node #3: [80, 3] from Operation: 78/26=3
Current State: 83:[80, 3], Operations: ['8+70=78', '78/26=3']
Exploring Operation: 80+3=83, Resulting Numbers: [83]
83,83 equal: Goal Reached
| 4 | Current State: 83:[80, 26, 8, 70], Operations: []
Exploring Operation: 8+70=78, Resulting Numbers: [80, 26, 78]
Generated Node #0,0: 83:[80, 26, 78] Operation: 8+70=78
Exploring Operation: 80+8=88, Resulting Numbers: [26, 70, 88]
Generated Node #0,1: 83:[26, 70, 88] Operation: 80+8=88
Exploring Operation: 26+8=34, Resulting Numbers: [80, 70, 34]
Generated Node #0,2: 83:[80, 70, 34] Operation: 26+8=34
Exploring Operation: 80-8=72, Resulting Numbers: [26, 70, 72]
Generated Node #0,3: 83:[26, 70, 72] Operation: 80-8=72
Moving to Node #0,0
Current State: 83:[80, 26, 78], Operations: ['8+70=78']
Exploring Operation: 26+78=104, Resulting Numbers: [80, 104]
Generated Node #0,0,0: 83:[80, 104] Operation: 26+78=104
Exploring Operation: 78-26=52, Resulting Numbers: [80, 52]
Generated Node #0,0,1: 83:[80, 52] Operation: 78-26=52
Exploring Operation: 80-26=54, Resulting Numbers: [78, 54]
Generated Node #0,0,2: 83:[78, 54] Operation: 80-26=54
Exploring Operation: 80+26=106, Resulting Numbers: [78, 106]
Generated Node #0,0,3: 83:[78, 106] Operation: 80+26=106
Moving to Node #0,2
Current State: 83:[80, 70, 34], Operations: ['26+8=34']
Exploring Operation: 70-34=36, Resulting Numbers: [80, 36]
Generated Node #0,2,0: 83:[80, 36] Operation: 70-34=36
Exploring Operation: 80-34=46, Resulting Numbers: [70, 46]
Generated Node #0,2,1: 83:[70, 46] Operation: 80-34=46
Exploring Operation: 70+34=104, Resulting Numbers: [80, 104]
Generated Node #0,2,2: 83:[80, 104] Operation: 70+34=104
Exploring Operation: 80+34=114, Resulting Numbers: [70, 114]
Generated Node #0,2,3: 83:[70, 114] Operation: 80+34=114
Moving to Node #0,1
Current State: 83:[26, 70, 88], Operations: ['80+8=88']
Exploring Operation: 26+70=96, Resulting Numbers: [88, 96]
Generated Node #0,1,0: 83:[88, 96] Operation: 26+70=96
Exploring Operation: 70-26=44, Resulting Numbers: [88, 44]
Generated Node #0,1,1: 83:[88, 44] Operation: 70-26=44
Exploring Operation: 88-26=62, Resulting Numbers: [70, 62]
Generated Node #0,1,2: 83:[70, 62] Operation: 88-26=62
Exploring Operation: 26+88=114, Resulting Numbers: [70, 114]
Generated Node #0,1,3: 83:[70, 114] Operation: 26+88=114
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 83:[88, 96], Operations: ['80+8=88', '26+70=96']
Exploring Operation: 88+96=184, Resulting Numbers: [184]
184,83 unequal: No Solution
Exploring Operation: 88*96=8448, Resulting Numbers: [8448]
8448,83 unequal: No Solution
Exploring Operation: 96-88=8, Resulting Numbers: [8]
8,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 83:[70, 62], Operations: ['80+8=88', '88-26=62']
Exploring Operation: 70-62=8, Resulting Numbers: [8]
8,83 unequal: No Solution
Exploring Operation: 70+62=132, Resulting Numbers: [132]
132,83 unequal: No Solution
Exploring Operation: 70*62=4340, Resulting Numbers: [4340]
4340,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 83:[88, 44], Operations: ['80+8=88', '70-26=44']
Exploring Operation: 88-44=44, Resulting Numbers: [44]
44,83 unequal: No Solution
Exploring Operation: 88+44=132, Resulting Numbers: [132]
132,83 unequal: No Solution
Exploring Operation: 88*44=3872, Resulting Numbers: [3872]
3872,83 unequal: No Solution
Exploring Operation: 88/44=2, Resulting Numbers: [2]
2,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 83:[70, 114], Operations: ['80+8=88', '26+88=114']
Exploring Operation: 70*114=7980, Resulting Numbers: [7980]
7980,83 unequal: No Solution
Exploring Operation: 114-70=44, Resulting Numbers: [44]
44,83 unequal: No Solution
Exploring Operation: 70+114=184, Resulting Numbers: [184]
184,83 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: 83:[26, 70, 72], Operations: ['80-8=72']
Exploring Operation: 70-26=44, Resulting Numbers: [72, 44]
Generated Node #0,3,0: 83:[72, 44] Operation: 70-26=44
Exploring Operation: 26+70=96, Resulting Numbers: [72, 96]
Generated Node #0,3,1: 83:[72, 96] Operation: 26+70=96
Exploring Operation: 72-26=46, Resulting Numbers: [70, 46]
Generated Node #0,3,2: 83:[70, 46] Operation: 72-26=46
Exploring Operation: 26+72=98, Resulting Numbers: [70, 98]
Generated Node #0,3,3: 83:[70, 98] Operation: 26+72=98
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 83:[72, 96], Operations: ['80-8=72', '26+70=96']
Exploring Operation: 72+96=168, Resulting Numbers: [168]
168,83 unequal: No Solution
Exploring Operation: 96-72=24, Resulting Numbers: [24]
24,83 unequal: No Solution
Exploring Operation: 72*96=6912, Resulting Numbers: [6912]
6912,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 83:[70, 98], Operations: ['80-8=72', '26+72=98']
Exploring Operation: 70*98=6860, Resulting Numbers: [6860]
6860,83 unequal: No Solution
Exploring Operation: 70+98=168, Resulting Numbers: [168]
168,83 unequal: No Solution
Exploring Operation: 98-70=28, Resulting Numbers: [28]
28,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 83:[72, 44], Operations: ['80-8=72', '70-26=44']
Exploring Operation: 72+44=116, Resulting Numbers: [116]
116,83 unequal: No Solution
Exploring Operation: 72*44=3168, Resulting Numbers: [3168]
3168,83 unequal: No Solution
Exploring Operation: 72-44=28, Resulting Numbers: [28]
28,83 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 83:[70, 46], Operations: ['80-8=72', '72-26=46']
Exploring Operation: 70*46=3220, Resulting Numbers: [3220]
3220,83 unequal: No Solution
Exploring Operation: 70+46=116, Resulting Numbers: [116]
116,83 unequal: No Solution
Exploring Operation: 70-46=24, Resulting Numbers: [24]
24,83 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: 83:[80, 104], Operations: ['8+70=78', '26+78=104']
Exploring Operation: 80+104=184, Resulting Numbers: [184]
184,83 unequal: No Solution
Exploring Operation: 80*104=8320, Resulting Numbers: [8320]
8320,83 unequal: No Solution
Exploring Operation: 104-80=24, Resulting Numbers: [24]
24,83 unequal: No Solution
Moving to Node #0,2,2
Current State: 83:[80, 104], Operations: ['26+8=34', '70+34=104']
Exploring Operation: 80+104=184, Resulting Numbers: [184]
184,83 unequal: No Solution
Exploring Operation: 104-80=24, Resulting Numbers: [24]
24,83 unequal: No Solution
Exploring Operation: 80*104=8320, Resulting Numbers: [8320]
8320,83 unequal: No Solution
Moving to Node #0,0,3
Current State: 83:[78, 106], Operations: ['8+70=78', '80+26=106']
Exploring Operation: 106-78=28, Resulting Numbers: [28]
28,83 unequal: No Solution
Exploring Operation: 78+106=184, Resulting Numbers: [184]
184,83 unequal: No Solution
Exploring Operation: 78*106=8268, Resulting Numbers: [8268]
8268,83 unequal: No Solution
Moving to Node #0,0,1
Current State: 83:[80, 52], Operations: ['8+70=78', '78-26=52']
Exploring Operation: 80*52=4160, Resulting Numbers: [4160]
4160,83 unequal: No Solution
Exploring Operation: 80-52=28, Resulting Numbers: [28]
28,83 unequal: No Solution
Exploring Operation: 80+52=132, Resulting Numbers: [132]
132,83 unequal: No Solution
Moving to Node #0,0,2
Current State: 83:[78, 54], Operations: ['8+70=78', '80-26=54']
Exploring Operation: 78*54=4212, Resulting Numbers: [4212]
4212,83 unequal: No Solution
Exploring Operation: 78+54=132, Resulting Numbers: [132]
132,83 unequal: No Solution
Exploring Operation: 78-54=24, Resulting Numbers: [24]
24,83 unequal: No Solution
Moving to Node #0,2,3
Current State: 83:[70, 114], Operations: ['26+8=34', '80+34=114']
Exploring Operation: 70*114=7980, Resulting Numbers: [7980]
7980,83 unequal: No Solution
Exploring Operation: 70+114=184, Resulting Numbers: [184]
184,83 unequal: No Solution
Exploring Operation: 114-70=44, Resulting Numbers: [44]
44,83 unequal: No Solution
Moving to Node #0,2,0
Current State: 83:[80, 36], Operations: ['26+8=34', '70-34=36']
Exploring Operation: 80-36=44, Resulting Numbers: [44]
44,83 unequal: No Solution
Exploring Operation: 80+36=116, Resulting Numbers: [116]
116,83 unequal: No Solution
Exploring Operation: 80*36=2880, Resulting Numbers: [2880]
2880,83 unequal: No Solution
Moving to Node #0,2,1
Current State: 83:[70, 46], Operations: ['26+8=34', '80-34=46']
Exploring Operation: 70*46=3220, Resulting Numbers: [3220]
3220,83 unequal: No Solution
Exploring Operation: 70-46=24, Resulting Numbers: [24]
24,83 unequal: No Solution
Exploring Operation: 70+46=116, Resulting Numbers: [116]
116,83 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
50,
2,
16,
97
] | 39 | [
"97-50=47",
"16/2=8",
"47-8=39"
] | Current State: 39:[50, 2, 16, 97], Operations: []
Exploring Operation: 97-50=47, Resulting Numbers: [2, 16, 47]
Generated Node #2: [2, 16, 47] from Operation: 97-50=47
Current State: 39:[2, 16, 47], Operations: ['97-50=47']
Exploring Operation: 16/2=8, Resulting Numbers: [47, 8]
Generated Node #3: [47, 8] from Operation: 16/2=8
Current State: 39:[47, 8], Operations: ['97-50=47', '16/2=8']
Exploring Operation: 47-8=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[50, 2, 16, 97], Operations: []
Exploring Operation: 50-16=34, Resulting Numbers: [2, 97, 34]
Generated Node #0,0: 39:[2, 97, 34] Operation: 50-16=34
Exploring Operation: 97-50=47, Resulting Numbers: [2, 16, 47]
Generated Node #0,1: 39:[2, 16, 47] Operation: 97-50=47
Exploring Operation: 97-16=81, Resulting Numbers: [50, 2, 81]
Generated Node #0,2: 39:[50, 2, 81] Operation: 97-16=81
Moving to Node #0,1
Current State: 39:[2, 16, 47], Operations: ['97-50=47']
Exploring Operation: 47-2=45, Resulting Numbers: [16, 45]
Generated Node #0,1,0: 39:[16, 45] Operation: 47-2=45
Exploring Operation: 47-16=31, Resulting Numbers: [2, 31]
Generated Node #0,1,1: 39:[2, 31] Operation: 47-16=31
Exploring Operation: 16-2=14, Resulting Numbers: [47, 14]
Generated Node #0,1,2: 39:[47, 14] Operation: 16-2=14
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 39:[16, 45], Operations: ['97-50=47', '47-2=45']
Exploring Operation: 16*45=720, Resulting Numbers: [720]
720,39 unequal: No Solution
Exploring Operation: 16+45=61, Resulting Numbers: [61]
61,39 unequal: No Solution
Exploring Operation: 45-16=29, Resulting Numbers: [29]
29,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 39:[2, 31], Operations: ['97-50=47', '47-16=31']
Exploring Operation: 2+31=33, Resulting Numbers: [33]
33,39 unequal: No Solution
Exploring Operation: 2*31=62, Resulting Numbers: [62]
62,39 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 39:[47, 14], Operations: ['97-50=47', '16-2=14']
Exploring Operation: 47*14=658, Resulting Numbers: [658]
658,39 unequal: No Solution
Exploring Operation: 47+14=61, Resulting Numbers: [61]
61,39 unequal: No Solution
Exploring Operation: 47-14=33, Resulting Numbers: [33]
33,39 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: 39:[50, 2, 81], Operations: ['97-16=81']
Exploring Operation: 50-2=48, Resulting Numbers: [81, 48]
Generated Node #0,2,0: 39:[81, 48] Operation: 50-2=48
Exploring Operation: 81-2=79, Resulting Numbers: [50, 79]
Generated Node #0,2,1: 39:[50, 79] Operation: 81-2=79
Exploring Operation: 81-50=31, Resulting Numbers: [2, 31]
Generated Node #0,2,2: 39:[2, 31] Operation: 81-50=31
Moving to Node #0,0
Current State: 39:[2, 97, 34], Operations: ['50-16=34']
Exploring Operation: 97-2=95, Resulting Numbers: [34, 95]
Generated Node #0,0,0: 39:[34, 95] Operation: 97-2=95
Exploring Operation: 97-34=63, Resulting Numbers: [2, 63]
Generated Node #0,0,1: 39:[2, 63] Operation: 97-34=63
Exploring Operation: 2+34=36, Resulting Numbers: [97, 36]
Generated Node #0,0,2: 39:[97, 36] Operation: 2+34=36
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 39:[2, 63], Operations: ['50-16=34', '97-34=63']
Exploring Operation: 2+63=65, Resulting Numbers: [65]
65,39 unequal: No Solution
Exploring Operation: 63-2=61, Resulting Numbers: [61]
61,39 unequal: No Solution
Exploring Operation: 2*63=126, Resulting Numbers: [126]
126,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 39:[34, 95], Operations: ['50-16=34', '97-2=95']
Exploring Operation: 34+95=129, Resulting Numbers: [129]
129,39 unequal: No Solution
Exploring Operation: 34*95=3230, Resulting Numbers: [3230]
3230,39 unequal: No Solution
Exploring Operation: 95-34=61, Resulting Numbers: [61]
61,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 39:[97, 36], Operations: ['50-16=34', '2+34=36']
Exploring Operation: 97+36=133, Resulting Numbers: [133]
133,39 unequal: No Solution
Exploring Operation: 97*36=3492, Resulting Numbers: [3492]
3492,39 unequal: No Solution
Exploring Operation: 97-36=61, Resulting Numbers: [61]
61,39 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: 39:[2, 31], Operations: ['97-16=81', '81-50=31']
Exploring Operation: 2*31=62, Resulting Numbers: [62]
62,39 unequal: No Solution
Exploring Operation: 2+31=33, Resulting Numbers: [33]
33,39 unequal: No Solution
Exploring Operation: 31-2=29, Resulting Numbers: [29]
29,39 unequal: No Solution
Moving to Node #0,2,0
Current State: 39:[81, 48], Operations: ['97-16=81', '50-2=48']
Exploring Operation: 81+48=129, Resulting Numbers: [129]
129,39 unequal: No Solution
Exploring Operation: 81*48=3888, Resulting Numbers: [3888]
3888,39 unequal: No Solution
Exploring Operation: 81-48=33, Resulting Numbers: [33]
33,39 unequal: No Solution
Moving to Node #0,2,1
Current State: 39:[50, 79], Operations: ['97-16=81', '81-2=79']
Exploring Operation: 50+79=129, Resulting Numbers: [129]
129,39 unequal: No Solution
Exploring Operation: 50*79=3950, Resulting Numbers: [3950]
3950,39 unequal: No Solution
Exploring Operation: 79-50=29, Resulting Numbers: [29]
29,39 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
60,
85,
52,
42
] | 69 | [
"85-60=25",
"52+42=94",
"94-25=69"
] | Current State: 69:[60, 85, 52, 42], Operations: []
Exploring Operation: 85-60=25, Resulting Numbers: [52, 42, 25]
Generated Node #2: [52, 42, 25] from Operation: 85-60=25
Current State: 69:[52, 42, 25], Operations: ['85-60=25']
Exploring Operation: 52+42=94, Resulting Numbers: [25, 94]
Generated Node #3: [25, 94] from Operation: 52+42=94
Current State: 69:[25, 94], Operations: ['85-60=25', '52+42=94']
Exploring Operation: 94-25=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[60, 85, 52, 42], Operations: []
Exploring Operation: 60-42=18, Resulting Numbers: [85, 52, 18]
Generated Node #0,0: 69:[85, 52, 18] Operation: 60-42=18
Exploring Operation: 52-42=10, Resulting Numbers: [60, 85, 10]
Generated Node #0,1: 69:[60, 85, 10] Operation: 52-42=10
Exploring Operation: 85-60=25, Resulting Numbers: [52, 42, 25]
Generated Node #0,2: 69:[52, 42, 25] Operation: 85-60=25
Moving to Node #0,1
Current State: 69:[60, 85, 10], Operations: ['52-42=10']
Exploring Operation: 60+10=70, Resulting Numbers: [85, 70]
Generated Node #0,1,0: 69:[85, 70] Operation: 60+10=70
Exploring Operation: 85-10=75, Resulting Numbers: [60, 75]
Generated Node #0,1,1: 69:[60, 75] Operation: 85-10=75
Exploring Operation: 85-60=25, Resulting Numbers: [10, 25]
Generated Node #0,1,2: 69:[10, 25] Operation: 85-60=25
Moving to Node #0,0
Current State: 69:[85, 52, 18], Operations: ['60-42=18']
Exploring Operation: 85-52=33, Resulting Numbers: [18, 33]
Generated Node #0,0,0: 69:[18, 33] Operation: 85-52=33
Exploring Operation: 85-18=67, Resulting Numbers: [52, 67]
Generated Node #0,0,1: 69:[52, 67] Operation: 85-18=67
Exploring Operation: 52+18=70, Resulting Numbers: [85, 70]
Generated Node #0,0,2: 69:[85, 70] Operation: 52+18=70
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 69:[18, 33], Operations: ['60-42=18', '85-52=33']
Exploring Operation: 18+33=51, Resulting Numbers: [51]
51,69 unequal: No Solution
Exploring Operation: 18*33=594, Resulting Numbers: [594]
594,69 unequal: No Solution
Exploring Operation: 33-18=15, Resulting Numbers: [15]
15,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 69:[85, 70], Operations: ['60-42=18', '52+18=70']
Exploring Operation: 85+70=155, Resulting Numbers: [155]
155,69 unequal: No Solution
Exploring Operation: 85-70=15, Resulting Numbers: [15]
15,69 unequal: No Solution
Exploring Operation: 85*70=5950, Resulting Numbers: [5950]
5950,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 69:[52, 67], Operations: ['60-42=18', '85-18=67']
Exploring Operation: 52*67=3484, Resulting Numbers: [3484]
3484,69 unequal: No Solution
Exploring Operation: 52+67=119, Resulting Numbers: [119]
119,69 unequal: No Solution
Exploring Operation: 67-52=15, Resulting Numbers: [15]
15,69 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: 69:[52, 42, 25], Operations: ['85-60=25']
Exploring Operation: 52-42=10, Resulting Numbers: [25, 10]
Generated Node #0,2,0: 69:[25, 10] Operation: 52-42=10
Exploring Operation: 52-25=27, Resulting Numbers: [42, 27]
Generated Node #0,2,1: 69:[42, 27] Operation: 52-25=27
Exploring Operation: 42+25=67, Resulting Numbers: [52, 67]
Generated Node #0,2,2: 69:[52, 67] Operation: 42+25=67
Moving to Node #0,1,2
Current State: 69:[10, 25], Operations: ['52-42=10', '85-60=25']
Exploring Operation: 10+25=35, Resulting Numbers: [35]
35,69 unequal: No Solution
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,69 unequal: No Solution
Exploring Operation: 10*25=250, Resulting Numbers: [250]
250,69 unequal: No Solution
Moving to Node #0,2,0
Current State: 69:[25, 10], Operations: ['85-60=25', '52-42=10']
Exploring Operation: 25+10=35, Resulting Numbers: [35]
35,69 unequal: No Solution
Exploring Operation: 25*10=250, Resulting Numbers: [250]
250,69 unequal: No Solution
Exploring Operation: 25-10=15, Resulting Numbers: [15]
15,69 unequal: No Solution
Moving to Node #0,1,1
Current State: 69:[60, 75], Operations: ['52-42=10', '85-10=75']
Exploring Operation: 60*75=4500, Resulting Numbers: [4500]
4500,69 unequal: No Solution
Exploring Operation: 75-60=15, Resulting Numbers: [15]
15,69 unequal: No Solution
Exploring Operation: 60+75=135, Resulting Numbers: [135]
135,69 unequal: No Solution
Moving to Node #0,1,0
Current State: 69:[85, 70], Operations: ['52-42=10', '60+10=70']
Exploring Operation: 85-70=15, Resulting Numbers: [15]
15,69 unequal: No Solution
Exploring Operation: 85*70=5950, Resulting Numbers: [5950]
5950,69 unequal: No Solution
Exploring Operation: 85+70=155, Resulting Numbers: [155]
155,69 unequal: No Solution
Moving to Node #0,2,2
Current State: 69:[52, 67], Operations: ['85-60=25', '42+25=67']
Exploring Operation: 52*67=3484, Resulting Numbers: [3484]
3484,69 unequal: No Solution
Exploring Operation: 52+67=119, Resulting Numbers: [119]
119,69 unequal: No Solution
Exploring Operation: 67-52=15, Resulting Numbers: [15]
15,69 unequal: No Solution
Moving to Node #0,2,1
Current State: 69:[42, 27], Operations: ['85-60=25', '52-25=27']
Exploring Operation: 42*27=1134, Resulting Numbers: [1134]
1134,69 unequal: No Solution
Exploring Operation: 42+27=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[60, 85, 52, 42], Operations: []
Exploring Operation: 85-60=25, Resulting Numbers: [52, 42, 25]
Generated Node #0,2: 69:[52, 42, 25] Operation: 85-60=25
Moving to Node #0,2
Current State: 69:[52, 42, 25], Operations: ['85-60=25']
Exploring Operation: 52-25=27, Resulting Numbers: [42, 27]
Generated Node #0,2,1: 69:[42, 27] Operation: 52-25=27
Moving to Node #0,2,1
Current State: 69:[42, 27], Operations: ['85-60=25', '52-25=27']
Exploring Operation: 42+27=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 0.963542 | hs_3 | sum_heuristic |
[
10,
70,
72,
38
] | 81 | [
"72+38=110",
"110/10=11",
"70+11=81"
] | Current State: 81:[10, 70, 72, 38], Operations: []
Exploring Operation: 72+38=110, Resulting Numbers: [10, 70, 110]
Generated Node #2: [10, 70, 110] from Operation: 72+38=110
Current State: 81:[10, 70, 110], Operations: ['72+38=110']
Exploring Operation: 110/10=11, Resulting Numbers: [70, 11]
Generated Node #3: [70, 11] from Operation: 110/10=11
Current State: 81:[70, 11], Operations: ['72+38=110', '110/10=11']
Exploring Operation: 70+11=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[10, 70, 72, 38], Operations: []
Exploring Operation: 72-38=34, Resulting Numbers: [10, 70, 34]
Generated Node #0,0: 81:[10, 70, 34] Operation: 72-38=34
Exploring Operation: 10+70=80, Resulting Numbers: [72, 38, 80]
Generated Node #0,1: 81:[72, 38, 80] Operation: 10+70=80
Exploring Operation: 70-38=32, Resulting Numbers: [10, 72, 32]
Generated Node #0,2: 81:[10, 72, 32] Operation: 70-38=32
Exploring Operation: 72-70=2, Resulting Numbers: [10, 38, 2]
Generated Node #0,3: 81:[10, 38, 2] Operation: 72-70=2
Moving to Node #0,3
Current State: 81:[10, 38, 2], Operations: ['72-70=2']
Exploring Operation: 38-2=36, Resulting Numbers: [10, 36]
Generated Node #0,3,0: 81:[10, 36] Operation: 38-2=36
Exploring Operation: 38-10=28, Resulting Numbers: [2, 28]
Generated Node #0,3,1: 81:[2, 28] Operation: 38-10=28
Exploring Operation: 38/2=19, Resulting Numbers: [10, 19]
Generated Node #0,3,2: 81:[10, 19] Operation: 38/2=19
Exploring Operation: 38*2=76, Resulting Numbers: [10, 76]
Generated Node #0,3,3: 81:[10, 76] Operation: 38*2=76
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 81:[2, 28], Operations: ['72-70=2', '38-10=28']
Exploring Operation: 2+28=30, Resulting Numbers: [30]
30,81 unequal: No Solution
Exploring Operation: 2*28=56, Resulting Numbers: [56]
56,81 unequal: No Solution
Exploring Operation: 28-2=26, Resulting Numbers: [26]
26,81 unequal: No Solution
Exploring Operation: 28/2=14, Resulting Numbers: [14]
14,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 81:[10, 76], Operations: ['72-70=2', '38*2=76']
Exploring Operation: 10+76=86, Resulting Numbers: [86]
86,81 unequal: No Solution
Exploring Operation: 76-10=66, Resulting Numbers: [66]
66,81 unequal: No Solution
Exploring Operation: 10*76=760, Resulting Numbers: [760]
760,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 81:[10, 19], Operations: ['72-70=2', '38/2=19']
Exploring Operation: 10*19=190, Resulting Numbers: [190]
190,81 unequal: No Solution
Exploring Operation: 10+19=29, Resulting Numbers: [29]
29,81 unequal: No Solution
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 81:[10, 36], Operations: ['72-70=2', '38-2=36']
Exploring Operation: 10+36=46, Resulting Numbers: [46]
46,81 unequal: No Solution
Exploring Operation: 10*36=360, Resulting Numbers: [360]
360,81 unequal: No Solution
Exploring Operation: 36-10=26, Resulting Numbers: [26]
26,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 81:[10, 72, 32], Operations: ['70-38=32']
Exploring Operation: 72-10=62, Resulting Numbers: [32, 62]
Generated Node #0,2,0: 81:[32, 62] Operation: 72-10=62
Exploring Operation: 10+72=82, Resulting Numbers: [32, 82]
Generated Node #0,2,1: 81:[32, 82] Operation: 10+72=82
Exploring Operation: 72-32=40, Resulting Numbers: [10, 40]
Generated Node #0,2,2: 81:[10, 40] Operation: 72-32=40
Exploring Operation: 32-10=22, Resulting Numbers: [72, 22]
Generated Node #0,2,3: 81:[72, 22] Operation: 32-10=22
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 81:[32, 82], Operations: ['70-38=32', '10+72=82']
Exploring Operation: 82-32=50, Resulting Numbers: [50]
50,81 unequal: No Solution
Exploring Operation: 32*82=2624, Resulting Numbers: [2624]
2624,81 unequal: No Solution
Exploring Operation: 32+82=114, Resulting Numbers: [114]
114,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 81:[10, 40], Operations: ['70-38=32', '72-32=40']
Exploring Operation: 10+40=50, Resulting Numbers: [50]
50,81 unequal: No Solution
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,81 unequal: No Solution
Exploring Operation: 40/10=4, Resulting Numbers: [4]
4,81 unequal: No Solution
Exploring Operation: 10*40=400, Resulting Numbers: [400]
400,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 81:[72, 22], Operations: ['70-38=32', '32-10=22']
Exploring Operation: 72+22=94, Resulting Numbers: [94]
94,81 unequal: No Solution
Exploring Operation: 72-22=50, Resulting Numbers: [50]
50,81 unequal: No Solution
Exploring Operation: 72*22=1584, Resulting Numbers: [1584]
1584,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 81:[32, 62], Operations: ['70-38=32', '72-10=62']
Exploring Operation: 32*62=1984, Resulting Numbers: [1984]
1984,81 unequal: No Solution
Exploring Operation: 62-32=30, Resulting Numbers: [30]
30,81 unequal: No Solution
Exploring Operation: 32+62=94, Resulting Numbers: [94]
94,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 81:[10, 70, 34], Operations: ['72-38=34']
Exploring Operation: 10+70=80, Resulting Numbers: [34, 80]
Generated Node #0,0,0: 81:[34, 80] Operation: 10+70=80
Exploring Operation: 70-34=36, Resulting Numbers: [10, 36]
Generated Node #0,0,1: 81:[10, 36] Operation: 70-34=36
Exploring Operation: 70/10=7, Resulting Numbers: [34, 7]
Generated Node #0,0,2: 81:[34, 7] Operation: 70/10=7
Exploring Operation: 34-10=24, Resulting Numbers: [70, 24]
Generated Node #0,0,3: 81:[70, 24] Operation: 34-10=24
Moving to Node #0,1
Current State: 81:[72, 38, 80], Operations: ['10+70=80']
Exploring Operation: 72-38=34, Resulting Numbers: [80, 34]
Generated Node #0,1,0: 81:[80, 34] Operation: 72-38=34
Exploring Operation: 80-72=8, Resulting Numbers: [38, 8]
Generated Node #0,1,1: 81:[38, 8] Operation: 80-72=8
Exploring Operation: 80-38=42, Resulting Numbers: [72, 42]
Generated Node #0,1,2: 81:[72, 42] Operation: 80-38=42
Exploring Operation: 72+38=110, Resulting Numbers: [80, 110]
Generated Node #0,1,3: 81:[80, 110] Operation: 72+38=110
Moving to Node #0,0,0
Current State: 81:[34, 80], Operations: ['72-38=34', '10+70=80']
Exploring Operation: 34+80=114, Resulting Numbers: [114]
114,81 unequal: No Solution
Exploring Operation: 80-34=46, Resulting Numbers: [46]
46,81 unequal: No Solution
Exploring Operation: 34*80=2720, Resulting Numbers: [2720]
2720,81 unequal: No Solution
Moving to Node #0,1,0
Current State: 81:[80, 34], Operations: ['10+70=80', '72-38=34']
Exploring Operation: 80*34=2720, Resulting Numbers: [2720]
2720,81 unequal: No Solution
Exploring Operation: 80+34=114, Resulting Numbers: [114]
114,81 unequal: No Solution
Exploring Operation: 80-34=46, Resulting Numbers: [46]
46,81 unequal: No Solution
Moving to Node #0,0,2
Current State: 81:[34, 7], Operations: ['72-38=34', '70/10=7']
Exploring Operation: 34*7=238, Resulting Numbers: [238]
238,81 unequal: No Solution
Exploring Operation: 34-7=27, Resulting Numbers: [27]
27,81 unequal: No Solution
Exploring Operation: 34+7=41, Resulting Numbers: [41]
41,81 unequal: No Solution
Moving to Node #0,0,1
Current State: 81:[10, 36], Operations: ['72-38=34', '70-34=36']
Exploring Operation: 36-10=26, Resulting Numbers: [26]
26,81 unequal: No Solution
Exploring Operation: 10+36=46, Resulting Numbers: [46]
46,81 unequal: No Solution
Exploring Operation: 10*36=360, Resulting Numbers: [360]
360,81 unequal: No Solution
Moving to Node #0,1,1
Current State: 81:[38, 8], Operations: ['10+70=80', '80-72=8']
Exploring Operation: 38+8=46, Resulting Numbers: [46]
46,81 unequal: No Solution
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,81 unequal: No Solution
Exploring Operation: 38*8=304, Resulting Numbers: [304]
304,81 unequal: No Solution
Moving to Node #0,0,3
Current State: 81:[70, 24], Operations: ['72-38=34', '34-10=24']
Exploring Operation: 70-24=46, Resulting Numbers: [46]
46,81 unequal: No Solution
Exploring Operation: 70+24=94, Resulting Numbers: [94]
94,81 unequal: No Solution
Exploring Operation: 70*24=1680, Resulting Numbers: [1680]
1680,81 unequal: No Solution
Moving to Node #0,1,2
Current State: 81:[72, 42], Operations: ['10+70=80', '80-38=42']
Exploring Operation: 72+42=114, Resulting Numbers: [114]
114,81 unequal: No Solution
Exploring Operation: 72-42=30, Resulting Numbers: [30]
30,81 unequal: No Solution
Exploring Operation: 72*42=3024, Resulting Numbers: [3024]
3024,81 unequal: No Solution
Moving to Node #0,1,3
Current State: 81:[80, 110], Operations: ['10+70=80', '72+38=110']
Exploring Operation: 80*110=8800, Resulting Numbers: [8800]
8800,81 unequal: No Solution
Exploring Operation: 110-80=30, Resulting Numbers: [30]
30,81 unequal: No Solution
Exploring Operation: 80+110=190, Resulting Numbers: [190]
190,81 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
52,
88,
2,
54
] | 72 | [
"88-52=36",
"2*54=108",
"108-36=72"
] | Current State: 72:[52, 88, 2, 54], Operations: []
Exploring Operation: 88-52=36, Resulting Numbers: [2, 54, 36]
Generated Node #2: [2, 54, 36] from Operation: 88-52=36
Current State: 72:[2, 54, 36], Operations: ['88-52=36']
Exploring Operation: 2*54=108, Resulting Numbers: [36, 108]
Generated Node #3: [36, 108] from Operation: 2*54=108
Current State: 72:[36, 108], Operations: ['88-52=36', '2*54=108']
Exploring Operation: 108-36=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[52, 88, 2, 54], Operations: []
Exploring Operation: 52/2=26, Resulting Numbers: [88, 54, 26]
Generated Node #0,0: 72:[88, 54, 26] Operation: 52/2=26
Exploring Operation: 54/2=27, Resulting Numbers: [52, 88, 27]
Generated Node #0,1: 72:[52, 88, 27] Operation: 54/2=27
Exploring Operation: 54-52=2, Resulting Numbers: [88, 2, 2]
Generated Node #0,2: 72:[88, 2, 2] Operation: 54-52=2
Exploring Operation: 88-54=34, Resulting Numbers: [52, 2, 34]
Generated Node #0,3: 72:[52, 2, 34] Operation: 88-54=34
Exploring Operation: 88-52=36, Resulting Numbers: [2, 54, 36]
Generated Node #0,4: 72:[2, 54, 36] Operation: 88-52=36
Moving to Node #0,2
Current State: 72:[88, 2, 2], Operations: ['54-52=2']
Exploring Operation: 88/2=44, Resulting Numbers: [2, 44]
Generated Node #0,2,0: 72:[2, 44] Operation: 88/2=44
Exploring Operation: 88-2=86, Resulting Numbers: [2, 86]
Generated Node #0,2,1: 72:[2, 86] Operation: 88-2=86
Exploring Operation: 88-2=86, Resulting Numbers: [2, 86]
Generated Node #0,2,2: 72:[2, 86] Operation: 88-2=86
Exploring Operation: 2+2=4, Resulting Numbers: [88, 4]
Generated Node #0,2,3: 72:[88, 4] Operation: 2+2=4
Exploring Operation: 88/2=44, Resulting Numbers: [2, 44]
Generated Node #0,2,4: 72:[2, 44] Operation: 88/2=44
Moving to Node #0,4
Current State: 72:[2, 54, 36], Operations: ['88-52=36']
Exploring Operation: 54/2=27, Resulting Numbers: [36, 27]
Generated Node #0,4,0: 72:[36, 27] Operation: 54/2=27
Exploring Operation: 54-2=52, Resulting Numbers: [36, 52]
Generated Node #0,4,1: 72:[36, 52] Operation: 54-2=52
Exploring Operation: 54-36=18, Resulting Numbers: [2, 18]
Generated Node #0,4,2: 72:[2, 18] Operation: 54-36=18
Exploring Operation: 2+54=56, Resulting Numbers: [36, 56]
Generated Node #0,4,3: 72:[36, 56] Operation: 2+54=56
Exploring Operation: 2*36=72, Resulting Numbers: [54, 72]
Generated Node #0,4,4: 72:[54, 72] Operation: 2*36=72
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 72:[2, 18], Operations: ['88-52=36', '54-36=18']
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,72 unequal: No Solution
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,72 unequal: No Solution
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,72 unequal: No Solution
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,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,4,0
Current State: 72:[36, 27], Operations: ['88-52=36', '54/2=27']
Exploring Operation: 36*27=972, Resulting Numbers: [972]
972,72 unequal: No Solution
Exploring Operation: 36+27=63, Resulting Numbers: [63]
63,72 unequal: No Solution
Exploring Operation: 36-27=9, Resulting Numbers: [9]
9,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,4,1
Current State: 72:[36, 52], Operations: ['88-52=36', '54-2=52']
Exploring Operation: 36*52=1872, Resulting Numbers: [1872]
1872,72 unequal: No Solution
Exploring Operation: 36+52=88, Resulting Numbers: [88]
88,72 unequal: No Solution
Exploring Operation: 52-36=16, Resulting Numbers: [16]
16,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,4,3
Current State: 72:[36, 56], Operations: ['88-52=36', '2+54=56']
Exploring Operation: 56-36=20, Resulting Numbers: [20]
20,72 unequal: No Solution
Exploring Operation: 36*56=2016, Resulting Numbers: [2016]
2016,72 unequal: No Solution
Exploring Operation: 36+56=92, Resulting Numbers: [92]
92,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,4,4
Current State: 72:[54, 72], Operations: ['88-52=36', '2*36=72']
Exploring Operation: 72-54=18, Resulting Numbers: [18]
18,72 unequal: No Solution
Exploring Operation: 54*72=3888, Resulting Numbers: [3888]
3888,72 unequal: No Solution
Exploring Operation: 54+72=126, Resulting Numbers: [126]
126,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3
Current State: 72:[52, 2, 34], Operations: ['88-54=34']
Exploring Operation: 52/2=26, Resulting Numbers: [34, 26]
Generated Node #0,3,0: 72:[34, 26] Operation: 52/2=26
Exploring Operation: 52-2=50, Resulting Numbers: [34, 50]
Generated Node #0,3,1: 72:[34, 50] Operation: 52-2=50
Exploring Operation: 52-34=18, Resulting Numbers: [2, 18]
Generated Node #0,3,2: 72:[2, 18] Operation: 52-34=18
Exploring Operation: 52+34=86, Resulting Numbers: [2, 86]
Generated Node #0,3,3: 72:[2, 86] Operation: 52+34=86
Exploring Operation: 2+34=36, Resulting Numbers: [52, 36]
Generated Node #0,3,4: 72:[52, 36] Operation: 2+34=36
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 72:[2, 18], Operations: ['88-54=34', '52-34=18']
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,72 unequal: No Solution
Exploring Operation: 2*18=36, Resulting Numbers: [36]
36,72 unequal: No Solution
Exploring Operation: 18-2=16, Resulting Numbers: [16]
16,72 unequal: No Solution
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,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,3,0
Current State: 72:[34, 26], Operations: ['88-54=34', '52/2=26']
Exploring Operation: 34*26=884, Resulting Numbers: [884]
884,72 unequal: No Solution
Exploring Operation: 34+26=60, Resulting Numbers: [60]
60,72 unequal: No Solution
Exploring Operation: 34-26=8, Resulting Numbers: [8]
8,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,3,3
Current State: 72:[2, 86], Operations: ['88-54=34', '52+34=86']
Exploring Operation: 2+86=88, Resulting Numbers: [88]
88,72 unequal: No Solution
Exploring Operation: 2*86=172, Resulting Numbers: [172]
172,72 unequal: No Solution
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,72 unequal: No Solution
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,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,3,1
Current State: 72:[34, 50], Operations: ['88-54=34', '52-2=50']
Exploring Operation: 50-34=16, Resulting Numbers: [16]
16,72 unequal: No Solution
Exploring Operation: 34*50=1700, Resulting Numbers: [1700]
1700,72 unequal: No Solution
Exploring Operation: 34+50=84, Resulting Numbers: [84]
84,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,3,4
Current State: 72:[52, 36], Operations: ['88-54=34', '2+34=36']
Exploring Operation: 52*36=1872, Resulting Numbers: [1872]
1872,72 unequal: No Solution
Exploring Operation: 52-36=16, Resulting Numbers: [16]
16,72 unequal: No Solution
Exploring Operation: 52+36=88, Resulting Numbers: [88]
88,72 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: 72:[52, 88, 27], Operations: ['54/2=27']
Exploring Operation: 52+27=79, Resulting Numbers: [88, 79]
Generated Node #0,1,0: 72:[88, 79] Operation: 52+27=79
Exploring Operation: 52-27=25, Resulting Numbers: [88, 25]
Generated Node #0,1,1: 72:[88, 25] Operation: 52-27=25
Exploring Operation: 88-52=36, Resulting Numbers: [27, 36]
Generated Node #0,1,2: 72:[27, 36] Operation: 88-52=36
Exploring Operation: 88-27=61, Resulting Numbers: [52, 61]
Generated Node #0,1,3: 72:[52, 61] Operation: 88-27=61
Exploring Operation: 88+27=115, Resulting Numbers: [52, 115]
Generated Node #0,1,4: 72:[52, 115] Operation: 88+27=115
Moving to Node #0,0
Current State: 72:[88, 54, 26], Operations: ['52/2=26']
Exploring Operation: 88-54=34, Resulting Numbers: [26, 34]
Generated Node #0,0,0: 72:[26, 34] Operation: 88-54=34
Exploring Operation: 88+26=114, Resulting Numbers: [54, 114]
Generated Node #0,0,1: 72:[54, 114] Operation: 88+26=114
Exploring Operation: 54-26=28, Resulting Numbers: [88, 28]
Generated Node #0,0,2: 72:[88, 28] Operation: 54-26=28
Exploring Operation: 88-26=62, Resulting Numbers: [54, 62]
Generated Node #0,0,3: 72:[54, 62] Operation: 88-26=62
Exploring Operation: 54+26=80, Resulting Numbers: [88, 80]
Generated Node #0,0,4: 72:[88, 80] Operation: 54+26=80
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 72:[26, 34], Operations: ['52/2=26', '88-54=34']
Exploring Operation: 26+34=60, Resulting Numbers: [60]
60,72 unequal: No Solution
Exploring Operation: 34-26=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Exploring Operation: 26*34=884, Resulting Numbers: [884]
884,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 72:[88, 28], Operations: ['52/2=26', '54-26=28']
Exploring Operation: 88*28=2464, Resulting Numbers: [2464]
2464,72 unequal: No Solution
Exploring Operation: 88+28=116, Resulting Numbers: [116]
116,72 unequal: No Solution
Exploring Operation: 88-28=60, Resulting Numbers: [60]
60,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 72:[88, 80], Operations: ['52/2=26', '54+26=80']
Exploring Operation: 88-80=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Exploring Operation: 88*80=7040, Resulting Numbers: [7040]
7040,72 unequal: No Solution
Exploring Operation: 88+80=168, Resulting Numbers: [168]
168,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 72:[54, 62], Operations: ['52/2=26', '88-26=62']
Exploring Operation: 54+62=116, Resulting Numbers: [116]
116,72 unequal: No Solution
Exploring Operation: 62-54=8, Resulting Numbers: [8]
8,72 unequal: No Solution
Exploring Operation: 54*62=3348, Resulting Numbers: [3348]
3348,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 72:[54, 114], Operations: ['52/2=26', '88+26=114']
Exploring Operation: 54+114=168, Resulting Numbers: [168]
168,72 unequal: No Solution
Exploring Operation: 54*114=6156, Resulting Numbers: [6156]
6156,72 unequal: No Solution
Exploring Operation: 114-54=60, Resulting Numbers: [60]
60,72 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,2
Current State: 72:[27, 36], Operations: ['54/2=27', '88-52=36']
Exploring Operation: 36-27=9, Resulting Numbers: [9]
9,72 unequal: No Solution
Exploring Operation: 27+36=63, Resulting Numbers: [63]
63,72 unequal: No Solution
Exploring Operation: 27*36=972, Resulting Numbers: [972]
972,72 unequal: No Solution
Moving to Node #0,2,0
Current State: 72:[2, 44], Operations: ['54-52=2', '88/2=44']
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,72 unequal: No Solution
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,72 unequal: No Solution
Exploring Operation: 2+44=46, Resulting Numbers: [46]
46,72 unequal: No Solution
Exploring Operation: 2*44=88, Resulting Numbers: [88]
88,72 unequal: No Solution
Moving to Node #0,2,4
Current State: 72:[2, 44], Operations: ['54-52=2', '88/2=44']
Exploring Operation: 2+44=46, Resulting Numbers: [46]
46,72 unequal: No Solution
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,72 unequal: No Solution
Exploring Operation: 2*44=88, Resulting Numbers: [88]
88,72 unequal: No Solution
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,72 unequal: No Solution
Moving to Node #0,2,1
Current State: 72:[2, 86], Operations: ['54-52=2', '88-2=86']
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,72 unequal: No Solution
Exploring Operation: 2+86=88, Resulting Numbers: [88]
88,72 unequal: No Solution
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,72 unequal: No Solution
Exploring Operation: 2*86=172, Resulting Numbers: [172]
172,72 unequal: No Solution
Moving to Node #0,2,2
Current State: 72:[2, 86], Operations: ['54-52=2', '88-2=86']
Exploring Operation: 86-2=84, Resulting Numbers: [84]
84,72 unequal: No Solution
Exploring Operation: 86/2=43, Resulting Numbers: [43]
43,72 unequal: No Solution
Exploring Operation: 2*86=172, Resulting Numbers: [172]
172,72 unequal: No Solution
Exploring Operation: 2+86=88, Resulting Numbers: [88]
88,72 unequal: No Solution
Moving to Node #0,2,3
Current State: 72:[88, 4], Operations: ['54-52=2', '2+2=4']
Exploring Operation: 88-4=84, Resulting Numbers: [84]
84,72 unequal: No Solution
Exploring Operation: 88+4=92, Resulting Numbers: [92]
92,72 unequal: No Solution
Exploring Operation: 88/4=22, Resulting Numbers: [22]
22,72 unequal: No Solution
Exploring Operation: 88*4=352, Resulting Numbers: [352]
352,72 unequal: No Solution
Moving to Node #0,1,1
Current State: 72:[88, 25], Operations: ['54/2=27', '52-27=25']
Exploring Operation: 88*25=2200, Resulting Numbers: [2200]
2200,72 unequal: No Solution
Exploring Operation: 88-25=63, Resulting Numbers: [63]
63,72 unequal: No Solution
Exploring Operation: 88+25=113, Resulting Numbers: [113]
113,72 unequal: No Solution
Moving to Node #0,1,0
Current State: 72:[88, 79], Operations: ['54/2=27', '52+27=79']
Exploring Operation: 88-79=9, Resulting Numbers: [9]
9,72 unequal: No Solution
Exploring Operation: 88+79=167, Resulting Numbers: [167]
167,72 unequal: No Solution
Exploring Operation: 88*79=6952, Resulting Numbers: [6952]
6952,72 unequal: No Solution
Moving to Node #0,1,3
Current State: 72:[52, 61], Operations: ['54/2=27', '88-27=61']
Exploring Operation: 52*61=3172, Resulting Numbers: [3172]
3172,72 unequal: No Solution
Exploring Operation: 52+61=113, Resulting Numbers: [113]
113,72 unequal: No Solution
Exploring Operation: 61-52=9, Resulting Numbers: [9]
9,72 unequal: No Solution
Moving to Node #0,1,4
Current State: 72:[52, 115], Operations: ['54/2=27', '88+27=115']
Exploring Operation: 115-52=63, Resulting Numbers: [63]
63,72 unequal: No Solution
Exploring Operation: 52+115=167, Resulting Numbers: [167]
167,72 unequal: No Solution
Exploring Operation: 52*115=5980, Resulting Numbers: [5980]
5980,72 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
87,
86,
23,
64
] | 85 | [
"87-23=64",
"64/64=1",
"86-1=85"
] | Current State: 85:[87, 86, 23, 64], Operations: []
Exploring Operation: 87-23=64, Resulting Numbers: [86, 64, 64]
Generated Node #2: [86, 64, 64] from Operation: 87-23=64
Current State: 85:[86, 64, 64], Operations: ['87-23=64']
Exploring Operation: 64/64=1, Resulting Numbers: [86, 1]
Generated Node #3: [86, 1] from Operation: 64/64=1
Current State: 85:[86, 1], Operations: ['87-23=64', '64/64=1']
Exploring Operation: 86-1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[87, 86, 23, 64], Operations: []
Exploring Operation: 23+64=87, Resulting Numbers: [87, 86, 87]
Generated Node #0,0: 85:[87, 86, 87] Operation: 23+64=87
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[87, 86, 87], Operations: ['23+64=87']
Exploring Operation: 87/87=1, Resulting Numbers: [86, 1]
Generated Node #0,0,0: 85:[86, 1] Operation: 87/87=1
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 85:[86, 1], Operations: ['23+64=87', '87/87=1']
Exploring Operation: 86-1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Moving to Node #0
Current State: 85:[87, 86, 23, 64], Operations: []
Exploring Operation: 23+64=87, Resulting Numbers: [87, 86, 87]
Generated Node #0,0: 85:[87, 86, 87] Operation: 23+64=87
Moving to Node #0,0
Current State: 85:[87, 86, 87], Operations: ['23+64=87']
Exploring Operation: 87/87=1, Resulting Numbers: [86, 1]
Generated Node #0,0,0: 85:[86, 1] Operation: 87/87=1
Moving to Node #0,0,0
Current State: 85:[86, 1], Operations: ['23+64=87', '87/87=1']
Exploring Operation: 86-1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
38,
75,
44,
29
] | 52 | [
"75-38=37",
"44-29=15",
"37+15=52"
] | Current State: 52:[38, 75, 44, 29], Operations: []
Exploring Operation: 75-38=37, Resulting Numbers: [44, 29, 37]
Generated Node #2: [44, 29, 37] from Operation: 75-38=37
Current State: 52:[44, 29, 37], Operations: ['75-38=37']
Exploring Operation: 44-29=15, Resulting Numbers: [37, 15]
Generated Node #3: [37, 15] from Operation: 44-29=15
Current State: 52:[37, 15], Operations: ['75-38=37', '44-29=15']
Exploring Operation: 37+15=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[38, 75, 44, 29], Operations: []
Exploring Operation: 75-44=31, Resulting Numbers: [38, 29, 31]
Generated Node #0,0: 52:[38, 29, 31] Operation: 75-44=31
Exploring Operation: 75-38=37, Resulting Numbers: [44, 29, 37]
Generated Node #0,1: 52:[44, 29, 37] Operation: 75-38=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[38, 29, 31], Operations: ['75-44=31']
Exploring Operation: 38-29=9, Resulting Numbers: [31, 9]
Generated Node #0,0,0: 52:[31, 9] Operation: 38-29=9
Exploring Operation: 38-31=7, Resulting Numbers: [29, 7]
Generated Node #0,0,1: 52:[29, 7] Operation: 38-31=7
Moving to Node #0,0,1
Current State: 52:[29, 7], Operations: ['75-44=31', '38-31=7']
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,52 unequal: No Solution
Exploring Operation: 29+7=36, Resulting Numbers: [36]
36,52 unequal: No Solution
Moving to Node #0,0,0
Current State: 52:[31, 9], Operations: ['75-44=31', '38-29=9']
Exploring Operation: 31-9=22, Resulting Numbers: [22]
22,52 unequal: No Solution
Exploring Operation: 31+9=40, Resulting Numbers: [40]
40,52 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 52:[44, 29, 37], Operations: ['75-38=37']
Exploring Operation: 44-37=7, Resulting Numbers: [29, 7]
Generated Node #0,1,0: 52:[29, 7] Operation: 44-37=7
Exploring Operation: 37-29=8, Resulting Numbers: [44, 8]
Generated Node #0,1,1: 52:[44, 8] Operation: 37-29=8
Moving to Node #0,1,0
Current State: 52:[29, 7], Operations: ['75-38=37', '44-37=7']
Exploring Operation: 29+7=36, Resulting Numbers: [36]
36,52 unequal: No Solution
Exploring Operation: 29-7=22, Resulting Numbers: [22]
22,52 unequal: No Solution
Moving to Node #0,1,1
Current State: 52:[44, 8], Operations: ['75-38=37', '37-29=8']
Exploring Operation: 44-8=36, Resulting Numbers: [36]
36,52 unequal: No Solution
Exploring Operation: 44+8=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[38, 75, 44, 29], Operations: []
Exploring Operation: 75-38=37, Resulting Numbers: [44, 29, 37]
Generated Node #0,1: 52:[44, 29, 37] Operation: 75-38=37
Moving to Node #0,1
Current State: 52:[44, 29, 37], Operations: ['75-38=37']
Exploring Operation: 37-29=8, Resulting Numbers: [44, 8]
Generated Node #0,1,1: 52:[44, 8] Operation: 37-29=8
Moving to Node #0,1,1
Current State: 52:[44, 8], Operations: ['75-38=37', '37-29=8']
Exploring Operation: 44+8=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_2 | mult_heuristic |
[
48,
75,
95,
21
] | 93 | [
"75+21=96",
"96/48=2",
"95-2=93"
] | Current State: 93:[48, 75, 95, 21], Operations: []
Exploring Operation: 75+21=96, Resulting Numbers: [48, 95, 96]
Generated Node #2: [48, 95, 96] from Operation: 75+21=96
Current State: 93:[48, 95, 96], Operations: ['75+21=96']
Exploring Operation: 96/48=2, Resulting Numbers: [95, 2]
Generated Node #3: [95, 2] from Operation: 96/48=2
Current State: 93:[95, 2], Operations: ['75+21=96', '96/48=2']
Exploring Operation: 95-2=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[48, 75, 95, 21], Operations: []
Exploring Operation: 75+21=96, Resulting Numbers: [48, 95, 96]
Generated Node #0,0: 93:[48, 95, 96] Operation: 75+21=96
Exploring Operation: 48-21=27, Resulting Numbers: [75, 95, 27]
Generated Node #0,1: 93:[75, 95, 27] Operation: 48-21=27
Exploring Operation: 75-48=27, Resulting Numbers: [95, 21, 27]
Generated Node #0,2: 93:[95, 21, 27] Operation: 75-48=27
Moving to Node #0,2
Current State: 93:[95, 21, 27], Operations: ['75-48=27']
Exploring Operation: 95-21=74, Resulting Numbers: [27, 74]
Generated Node #0,2,0: 93:[27, 74] Operation: 95-21=74
Exploring Operation: 27-21=6, Resulting Numbers: [95, 6]
Generated Node #0,2,1: 93:[95, 6] Operation: 27-21=6
Exploring Operation: 21+27=48, Resulting Numbers: [95, 48]
Generated Node #0,2,2: 93:[95, 48] Operation: 21+27=48
Moving to Node #0,0
Current State: 93:[48, 95, 96], Operations: ['75+21=96']
Exploring Operation: 96-48=48, Resulting Numbers: [95, 48]
Generated Node #0,0,0: 93:[95, 48] Operation: 96-48=48
Exploring Operation: 96/48=2, Resulting Numbers: [95, 2]
Generated Node #0,0,1: 93:[95, 2] Operation: 96/48=2
Exploring Operation: 95-48=47, Resulting Numbers: [96, 47]
Generated Node #0,0,2: 93:[96, 47] Operation: 95-48=47
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 93:[95, 2], Operations: ['75+21=96', '96/48=2']
Exploring Operation: 95+2=97, Resulting Numbers: [97]
97,93 unequal: No Solution
Exploring Operation: 95*2=190, Resulting Numbers: [190]
190,93 unequal: No Solution
Exploring Operation: 95-2=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Moving to Node #0
Current State: 93:[48, 75, 95, 21], Operations: []
Exploring Operation: 75+21=96, Resulting Numbers: [48, 95, 96]
Generated Node #0,0: 93:[48, 95, 96] Operation: 75+21=96
Moving to Node #0,0
Current State: 93:[48, 95, 96], Operations: ['75+21=96']
Exploring Operation: 96/48=2, Resulting Numbers: [95, 2]
Generated Node #0,0,1: 93:[95, 2] Operation: 96/48=2
Moving to Node #0,0,1
Current State: 93:[95, 2], Operations: ['75+21=96', '96/48=2']
Exploring Operation: 95-2=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_3 | mult_heuristic |
[
92,
2,
86,
42
] | 61 | [
"92-42=50",
"50/2=25",
"86-25=61"
] | Current State: 61:[92, 2, 86, 42], Operations: []
Exploring Operation: 92-42=50, Resulting Numbers: [2, 86, 50]
Generated Node #2: [2, 86, 50] from Operation: 92-42=50
Current State: 61:[2, 86, 50], Operations: ['92-42=50']
Exploring Operation: 50/2=25, Resulting Numbers: [86, 25]
Generated Node #3: [86, 25] from Operation: 50/2=25
Current State: 61:[86, 25], Operations: ['92-42=50', '50/2=25']
Exploring Operation: 86-25=61, Resulting Numbers: [61]
61,61 equal: Goal Reached
| 4 | Current State: 61:[92, 2, 86, 42], Operations: []
Exploring Operation: 86/2=43, Resulting Numbers: [92, 42, 43]
Generated Node #0,0: 61:[92, 42, 43] Operation: 86/2=43
Exploring Operation: 92/2=46, Resulting Numbers: [86, 42, 46]
Generated Node #0,1: 61:[86, 42, 46] Operation: 92/2=46
Start Sub Search at level 1: Moving to Node #0,1
Current State: 61:[86, 42, 46], Operations: ['92/2=46']
Exploring Operation: 86-46=40, Resulting Numbers: [42, 40]
Generated Node #0,1,0: 61:[42, 40] Operation: 86-46=40
Exploring Operation: 86-42=44, Resulting Numbers: [46, 44]
Generated Node #0,1,1: 61:[46, 44] Operation: 86-42=44
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 61:[46, 44], Operations: ['92/2=46', '86-42=44']
Exploring Operation: 46+44=90, Resulting Numbers: [90]
90,61 unequal: No Solution
Exploring Operation: 46-44=2, Resulting Numbers: [2]
2,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 61:[42, 40], Operations: ['92/2=46', '86-46=40']
Exploring Operation: 42-40=2, Resulting Numbers: [2]
2,61 unequal: No Solution
Exploring Operation: 42+40=82, Resulting Numbers: [82]
82,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 61:[92, 42, 43], Operations: ['86/2=43']
Exploring Operation: 92-42=50, Resulting Numbers: [43, 50]
Generated Node #0,0,0: 61:[43, 50] Operation: 92-42=50
Exploring Operation: 92-43=49, Resulting Numbers: [42, 49]
Generated Node #0,0,1: 61:[42, 49] Operation: 92-43=49
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 61:[43, 50], Operations: ['86/2=43', '92-42=50']
Exploring Operation: 50-43=7, Resulting Numbers: [7]
7,61 unequal: No Solution
Exploring Operation: 43+50=93, Resulting Numbers: [93]
93,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 61:[42, 49], Operations: ['86/2=43', '92-43=49']
Exploring Operation: 49-42=7, Resulting Numbers: [7]
7,61 unequal: No Solution
Exploring Operation: 42+49=91, Resulting Numbers: [91]
91,61 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
65,
6,
5,
2
] | 85 | [
"6-2=4",
"5*4=20",
"65+20=85"
] | Current State: 85:[65, 6, 5, 2], Operations: []
Exploring Operation: 6-2=4, Resulting Numbers: [65, 5, 4]
Generated Node #2: [65, 5, 4] from Operation: 6-2=4
Current State: 85:[65, 5, 4], Operations: ['6-2=4']
Exploring Operation: 5*4=20, Resulting Numbers: [65, 20]
Generated Node #3: [65, 20] from Operation: 5*4=20
Current State: 85:[65, 20], Operations: ['6-2=4', '5*4=20']
Exploring Operation: 65+20=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[65, 6, 5, 2], Operations: []
Exploring Operation: 65+5=70, Resulting Numbers: [6, 2, 70]
Generated Node #0,0: 85:[6, 2, 70] Operation: 65+5=70
Exploring Operation: 65/5=13, Resulting Numbers: [6, 2, 13]
Generated Node #0,1: 85:[6, 2, 13] Operation: 65/5=13
Exploring Operation: 65+6=71, Resulting Numbers: [5, 2, 71]
Generated Node #0,2: 85:[5, 2, 71] Operation: 65+6=71
Exploring Operation: 65+2=67, Resulting Numbers: [6, 5, 67]
Generated Node #0,3: 85:[6, 5, 67] Operation: 65+2=67
Moving to Node #0,1
Current State: 85:[6, 2, 13], Operations: ['65/5=13']
Exploring Operation: 6-2=4, Resulting Numbers: [13, 4]
Generated Node #0,1,0: 85:[13, 4] Operation: 6-2=4
Exploring Operation: 6+13=19, Resulting Numbers: [2, 19]
Generated Node #0,1,1: 85:[2, 19] Operation: 6+13=19
Exploring Operation: 2+13=15, Resulting Numbers: [6, 15]
Generated Node #0,1,2: 85:[6, 15] Operation: 2+13=15
Exploring Operation: 13-6=7, Resulting Numbers: [2, 7]
Generated Node #0,1,3: 85:[2, 7] Operation: 13-6=7
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 85:[6, 15], Operations: ['65/5=13', '2+13=15']
Exploring Operation: 15-6=9, Resulting Numbers: [9]
9,85 unequal: No Solution
Exploring Operation: 6*15=90, Resulting Numbers: [90]
90,85 unequal: No Solution
Exploring Operation: 6+15=21, Resulting Numbers: [21]
21,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 85:[13, 4], Operations: ['65/5=13', '6-2=4']
Exploring Operation: 13*4=52, Resulting Numbers: [52]
52,85 unequal: No Solution
Exploring Operation: 13+4=17, Resulting Numbers: [17]
17,85 unequal: No Solution
Exploring Operation: 13-4=9, Resulting Numbers: [9]
9,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 85:[2, 19], Operations: ['65/5=13', '6+13=19']
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,85 unequal: No Solution
Exploring Operation: 2+19=21, Resulting Numbers: [21]
21,85 unequal: No Solution
Exploring Operation: 19-2=17, Resulting Numbers: [17]
17,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 85:[2, 7], Operations: ['65/5=13', '13-6=7']
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,85 unequal: No Solution
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,85 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 85:[5, 2, 71], Operations: ['65+6=71']
Exploring Operation: 5+2=7, Resulting Numbers: [71, 7]
Generated Node #0,2,0: 85:[71, 7] Operation: 5+2=7
Exploring Operation: 5+71=76, Resulting Numbers: [2, 76]
Generated Node #0,2,1: 85:[2, 76] Operation: 5+71=76
Exploring Operation: 2+71=73, Resulting Numbers: [5, 73]
Generated Node #0,2,2: 85:[5, 73] Operation: 2+71=73
Exploring Operation: 5-2=3, Resulting Numbers: [71, 3]
Generated Node #0,2,3: 85:[71, 3] Operation: 5-2=3
Moving to Node #0,3
Current State: 85:[6, 5, 67], Operations: ['65+2=67']
Exploring Operation: 6+67=73, Resulting Numbers: [5, 73]
Generated Node #0,3,0: 85:[5, 73] Operation: 6+67=73
Exploring Operation: 6-5=1, Resulting Numbers: [67, 1]
Generated Node #0,3,1: 85:[67, 1] Operation: 6-5=1
Exploring Operation: 6+5=11, Resulting Numbers: [67, 11]
Generated Node #0,3,2: 85:[67, 11] Operation: 6+5=11
Exploring Operation: 5+67=72, Resulting Numbers: [6, 72]
Generated Node #0,3,3: 85:[6, 72] Operation: 5+67=72
Moving to Node #0,0
Current State: 85:[6, 2, 70], Operations: ['65+5=70']
Exploring Operation: 2+70=72, Resulting Numbers: [6, 72]
Generated Node #0,0,0: 85:[6, 72] Operation: 2+70=72
Exploring Operation: 6/2=3, Resulting Numbers: [70, 3]
Generated Node #0,0,1: 85:[70, 3] Operation: 6/2=3
Exploring Operation: 6-2=4, Resulting Numbers: [70, 4]
Generated Node #0,0,2: 85:[70, 4] Operation: 6-2=4
Exploring Operation: 6+70=76, Resulting Numbers: [2, 76]
Generated Node #0,0,3: 85:[2, 76] Operation: 6+70=76
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 85:[2, 76], Operations: ['65+5=70', '6+70=76']
Exploring Operation: 2*76=152, Resulting Numbers: [152]
152,85 unequal: No Solution
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,85 unequal: No Solution
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,85 unequal: No Solution
Exploring Operation: 2+76=78, Resulting Numbers: [78]
78,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 85:[6, 72], Operations: ['65+5=70', '2+70=72']
Exploring Operation: 6+72=78, Resulting Numbers: [78]
78,85 unequal: No Solution
Exploring Operation: 72-6=66, Resulting Numbers: [66]
66,85 unequal: No Solution
Exploring Operation: 6*72=432, Resulting Numbers: [432]
432,85 unequal: No Solution
Exploring Operation: 72/6=12, Resulting Numbers: [12]
12,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 85:[70, 4], Operations: ['65+5=70', '6-2=4']
Exploring Operation: 70+4=74, Resulting Numbers: [74]
74,85 unequal: No Solution
Exploring Operation: 70*4=280, Resulting Numbers: [280]
280,85 unequal: No Solution
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 85:[70, 3], Operations: ['65+5=70', '6/2=3']
Exploring Operation: 70*3=210, Resulting Numbers: [210]
210,85 unequal: No Solution
Exploring Operation: 70-3=67, Resulting Numbers: [67]
67,85 unequal: No Solution
Exploring Operation: 70+3=73, Resulting Numbers: [73]
73,85 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: 85:[2, 76], Operations: ['65+6=71', '5+71=76']
Exploring Operation: 2+76=78, Resulting Numbers: [78]
78,85 unequal: No Solution
Exploring Operation: 76-2=74, Resulting Numbers: [74]
74,85 unequal: No Solution
Exploring Operation: 76/2=38, Resulting Numbers: [38]
38,85 unequal: No Solution
Exploring Operation: 2*76=152, Resulting Numbers: [152]
152,85 unequal: No Solution
Moving to Node #0,2,2
Current State: 85:[5, 73], Operations: ['65+6=71', '2+71=73']
Exploring Operation: 5*73=365, Resulting Numbers: [365]
365,85 unequal: No Solution
Exploring Operation: 5+73=78, Resulting Numbers: [78]
78,85 unequal: No Solution
Exploring Operation: 73-5=68, Resulting Numbers: [68]
68,85 unequal: No Solution
Moving to Node #0,3,0
Current State: 85:[5, 73], Operations: ['65+2=67', '6+67=73']
Exploring Operation: 5+73=78, Resulting Numbers: [78]
78,85 unequal: No Solution
Exploring Operation: 5*73=365, Resulting Numbers: [365]
365,85 unequal: No Solution
Exploring Operation: 73-5=68, Resulting Numbers: [68]
68,85 unequal: No Solution
Moving to Node #0,3,3
Current State: 85:[6, 72], Operations: ['65+2=67', '5+67=72']
Exploring Operation: 72/6=12, Resulting Numbers: [12]
12,85 unequal: No Solution
Exploring Operation: 6*72=432, Resulting Numbers: [432]
432,85 unequal: No Solution
Exploring Operation: 6+72=78, Resulting Numbers: [78]
78,85 unequal: No Solution
Exploring Operation: 72-6=66, Resulting Numbers: [66]
66,85 unequal: No Solution
Moving to Node #0,2,0
Current State: 85:[71, 7], Operations: ['65+6=71', '5+2=7']
Exploring Operation: 71-7=64, Resulting Numbers: [64]
64,85 unequal: No Solution
Exploring Operation: 71*7=497, Resulting Numbers: [497]
497,85 unequal: No Solution
Exploring Operation: 71+7=78, Resulting Numbers: [78]
78,85 unequal: No Solution
Moving to Node #0,2,3
Current State: 85:[71, 3], Operations: ['65+6=71', '5-2=3']
Exploring Operation: 71*3=213, Resulting Numbers: [213]
213,85 unequal: No Solution
Exploring Operation: 71+3=74, Resulting Numbers: [74]
74,85 unequal: No Solution
Exploring Operation: 71-3=68, Resulting Numbers: [68]
68,85 unequal: No Solution
Moving to Node #0,3,1
Current State: 85:[67, 1], Operations: ['65+2=67', '6-5=1']
Exploring Operation: 67+1=68, Resulting Numbers: [68]
68,85 unequal: No Solution
Exploring Operation: 67/1=67, Resulting Numbers: [67]
67,85 unequal: No Solution
Exploring Operation: 67*1=67, Resulting Numbers: [67]
67,85 unequal: No Solution
Exploring Operation: 67-1=66, Resulting Numbers: [66]
66,85 unequal: No Solution
Moving to Node #0,3,2
Current State: 85:[67, 11], Operations: ['65+2=67', '6+5=11']
Exploring Operation: 67*11=737, Resulting Numbers: [737]
737,85 unequal: No Solution
Exploring Operation: 67+11=78, Resulting Numbers: [78]
78,85 unequal: No Solution
Exploring Operation: 67-11=56, Resulting Numbers: [56]
56,85 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
49,
29,
35,
32
] | 81 | [
"49+29=78",
"35-32=3",
"78+3=81"
] | Current State: 81:[49, 29, 35, 32], Operations: []
Exploring Operation: 49+29=78, Resulting Numbers: [35, 32, 78]
Generated Node #2: [35, 32, 78] from Operation: 49+29=78
Current State: 81:[35, 32, 78], Operations: ['49+29=78']
Exploring Operation: 35-32=3, Resulting Numbers: [78, 3]
Generated Node #3: [78, 3] from Operation: 35-32=3
Current State: 81:[78, 3], Operations: ['49+29=78', '35-32=3']
Exploring Operation: 78+3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[49, 29, 35, 32], Operations: []
Exploring Operation: 49-32=17, Resulting Numbers: [29, 35, 17]
Generated Node #0,0: 81:[29, 35, 17] Operation: 49-32=17
Exploring Operation: 49-35=14, Resulting Numbers: [29, 32, 14]
Generated Node #0,1: 81:[29, 32, 14] Operation: 49-35=14
Exploring Operation: 49+29=78, Resulting Numbers: [35, 32, 78]
Generated Node #0,2: 81:[35, 32, 78] Operation: 49+29=78
Exploring Operation: 49+35=84, Resulting Numbers: [29, 32, 84]
Generated Node #0,3: 81:[29, 32, 84] Operation: 49+35=84
Exploring Operation: 49+32=81, Resulting Numbers: [29, 35, 81]
Generated Node #0,4: 81:[29, 35, 81] Operation: 49+32=81
Moving to Node #0,3
Current State: 81:[29, 32, 84], Operations: ['49+35=84']
Exploring Operation: 84-29=55, Resulting Numbers: [32, 55]
Generated Node #0,3,0: 81:[32, 55] Operation: 84-29=55
Exploring Operation: 29+32=61, Resulting Numbers: [84, 61]
Generated Node #0,3,1: 81:[84, 61] Operation: 29+32=61
Exploring Operation: 29+84=113, Resulting Numbers: [32, 113]
Generated Node #0,3,2: 81:[32, 113] Operation: 29+84=113
Exploring Operation: 84-32=52, Resulting Numbers: [29, 52]
Generated Node #0,3,3: 81:[29, 52] Operation: 84-32=52
Exploring Operation: 32-29=3, Resulting Numbers: [84, 3]
Generated Node #0,3,4: 81:[84, 3] Operation: 32-29=3
Moving to Node #0,4
Current State: 81:[29, 35, 81], Operations: ['49+32=81']
Exploring Operation: 29+81=110, Resulting Numbers: [35, 110]
Generated Node #0,4,0: 81:[35, 110] Operation: 29+81=110
Exploring Operation: 29+35=64, Resulting Numbers: [81, 64]
Generated Node #0,4,1: 81:[81, 64] Operation: 29+35=64
Exploring Operation: 81-29=52, Resulting Numbers: [35, 52]
Generated Node #0,4,2: 81:[35, 52] Operation: 81-29=52
Exploring Operation: 81-35=46, Resulting Numbers: [29, 46]
Generated Node #0,4,3: 81:[29, 46] Operation: 81-35=46
Exploring Operation: 35-29=6, Resulting Numbers: [81, 6]
Generated Node #0,4,4: 81:[81, 6] Operation: 35-29=6
Moving to Node #0,1
Current State: 81:[29, 32, 14], Operations: ['49-35=14']
Exploring Operation: 29-14=15, Resulting Numbers: [32, 15]
Generated Node #0,1,0: 81:[32, 15] Operation: 29-14=15
Exploring Operation: 32-29=3, Resulting Numbers: [14, 3]
Generated Node #0,1,1: 81:[14, 3] Operation: 32-29=3
Exploring Operation: 32+14=46, Resulting Numbers: [29, 46]
Generated Node #0,1,2: 81:[29, 46] Operation: 32+14=46
Exploring Operation: 29+14=43, Resulting Numbers: [32, 43]
Generated Node #0,1,3: 81:[32, 43] Operation: 29+14=43
Exploring Operation: 32-14=18, Resulting Numbers: [29, 18]
Generated Node #0,1,4: 81:[29, 18] Operation: 32-14=18
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 81:[14, 3], Operations: ['49-35=14', '32-29=3']
Exploring Operation: 14+3=17, Resulting Numbers: [17]
17,81 unequal: No Solution
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,81 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 81:[32, 15], Operations: ['49-35=14', '29-14=15']
Exploring Operation: 32*15=480, Resulting Numbers: [480]
480,81 unequal: No Solution
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,81 unequal: No Solution
Exploring Operation: 32+15=47, Resulting Numbers: [47]
47,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 81:[29, 18], Operations: ['49-35=14', '32-14=18']
Exploring Operation: 29+18=47, Resulting Numbers: [47]
47,81 unequal: No Solution
Exploring Operation: 29*18=522, Resulting Numbers: [522]
522,81 unequal: No Solution
Exploring Operation: 29-18=11, Resulting Numbers: [11]
11,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 81:[29, 46], Operations: ['49-35=14', '32+14=46']
Exploring Operation: 29+46=75, Resulting Numbers: [75]
75,81 unequal: No Solution
Exploring Operation: 29*46=1334, Resulting Numbers: [1334]
1334,81 unequal: No Solution
Exploring Operation: 46-29=17, Resulting Numbers: [17]
17,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 81:[32, 43], Operations: ['49-35=14', '29+14=43']
Exploring Operation: 32*43=1376, Resulting Numbers: [1376]
1376,81 unequal: No Solution
Exploring Operation: 43-32=11, Resulting Numbers: [11]
11,81 unequal: No Solution
Exploring Operation: 32+43=75, Resulting Numbers: [75]
75,81 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 81:[35, 32, 78], Operations: ['49+29=78']
Exploring Operation: 78-35=43, Resulting Numbers: [32, 43]
Generated Node #0,2,0: 81:[32, 43] Operation: 78-35=43
Exploring Operation: 35-32=3, Resulting Numbers: [78, 3]
Generated Node #0,2,1: 81:[78, 3] Operation: 35-32=3
Exploring Operation: 35+78=113, Resulting Numbers: [32, 113]
Generated Node #0,2,2: 81:[32, 113] Operation: 35+78=113
Exploring Operation: 35+32=67, Resulting Numbers: [78, 67]
Generated Node #0,2,3: 81:[78, 67] Operation: 35+32=67
Exploring Operation: 78-32=46, Resulting Numbers: [35, 46]
Generated Node #0,2,4: 81:[35, 46] Operation: 78-32=46
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 81:[78, 3], Operations: ['49+29=78', '35-32=3']
Exploring Operation: 78/3=26, Resulting Numbers: [26]
26,81 unequal: No Solution
Exploring Operation: 78+3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[49, 29, 35, 32], Operations: []
Exploring Operation: 49+29=78, Resulting Numbers: [35, 32, 78]
Generated Node #0,2: 81:[35, 32, 78] Operation: 49+29=78
Moving to Node #0,2
Current State: 81:[35, 32, 78], Operations: ['49+29=78']
Exploring Operation: 35-32=3, Resulting Numbers: [78, 3]
Generated Node #0,2,1: 81:[78, 3] Operation: 35-32=3
Moving to Node #0,2,1
Current State: 81:[78, 3], Operations: ['49+29=78', '35-32=3']
Exploring Operation: 78+3=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 1
| 0.960069 | hs_5 | sum_heuristic |
[
90,
33,
10,
7
] | 96 | [
"90/10=9",
"7*9=63",
"33+63=96"
] | Current State: 96:[90, 33, 10, 7], Operations: []
Exploring Operation: 90/10=9, Resulting Numbers: [33, 7, 9]
Generated Node #2: [33, 7, 9] from Operation: 90/10=9
Current State: 96:[33, 7, 9], Operations: ['90/10=9']
Exploring Operation: 7*9=63, Resulting Numbers: [33, 63]
Generated Node #3: [33, 63] from Operation: 7*9=63
Current State: 96:[33, 63], Operations: ['90/10=9', '7*9=63']
Exploring Operation: 33+63=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[90, 33, 10, 7], Operations: []
Exploring Operation: 90+10=100, Resulting Numbers: [33, 7, 100]
Generated Node #0,0: 96:[33, 7, 100] Operation: 90+10=100
Exploring Operation: 90+7=97, Resulting Numbers: [33, 10, 97]
Generated Node #0,1: 96:[33, 10, 97] Operation: 90+7=97
Exploring Operation: 90/10=9, Resulting Numbers: [33, 7, 9]
Generated Node #0,2: 96:[33, 7, 9] Operation: 90/10=9
Exploring Operation: 33-10=23, Resulting Numbers: [90, 7, 23]
Generated Node #0,3: 96:[90, 7, 23] Operation: 33-10=23
Exploring Operation: 10-7=3, Resulting Numbers: [90, 33, 3]
Generated Node #0,4: 96:[90, 33, 3] Operation: 10-7=3
Start Sub Search at level 1: Moving to Node #0,2
Current State: 96:[33, 7, 9], Operations: ['90/10=9']
Exploring Operation: 33-9=24, Resulting Numbers: [7, 24]
Generated Node #0,2,0: 96:[7, 24] Operation: 33-9=24
Exploring Operation: 33+9=42, Resulting Numbers: [7, 42]
Generated Node #0,2,1: 96:[7, 42] Operation: 33+9=42
Exploring Operation: 9-7=2, Resulting Numbers: [33, 2]
Generated Node #0,2,2: 96:[33, 2] Operation: 9-7=2
Exploring Operation: 7+9=16, Resulting Numbers: [33, 16]
Generated Node #0,2,3: 96:[33, 16] Operation: 7+9=16
Exploring Operation: 33-7=26, Resulting Numbers: [9, 26]
Generated Node #0,2,4: 96:[9, 26] Operation: 33-7=26
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 96:[7, 24], Operations: ['90/10=9', '33-9=24']
Exploring Operation: 24-7=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 7*24=168, Resulting Numbers: [168]
168,96 unequal: No Solution
Exploring Operation: 7+24=31, Resulting Numbers: [31]
31,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 96:[33, 2], Operations: ['90/10=9', '9-7=2']
Exploring Operation: 33-2=31, Resulting Numbers: [31]
31,96 unequal: No Solution
Exploring Operation: 33*2=66, Resulting Numbers: [66]
66,96 unequal: No Solution
Exploring Operation: 33+2=35, Resulting Numbers: [35]
35,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 96:[33, 16], Operations: ['90/10=9', '7+9=16']
Exploring Operation: 33+16=49, Resulting Numbers: [49]
49,96 unequal: No Solution
Exploring Operation: 33-16=17, Resulting Numbers: [17]
17,96 unequal: No Solution
Exploring Operation: 33*16=528, Resulting Numbers: [528]
528,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 96:[9, 26], Operations: ['90/10=9', '33-7=26']
Exploring Operation: 9*26=234, Resulting Numbers: [234]
234,96 unequal: No Solution
Exploring Operation: 9+26=35, Resulting Numbers: [35]
35,96 unequal: No Solution
Exploring Operation: 26-9=17, Resulting Numbers: [17]
17,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 96:[7, 42], Operations: ['90/10=9', '33+9=42']
Exploring Operation: 7+42=49, Resulting Numbers: [49]
49,96 unequal: No Solution
Exploring Operation: 42/7=6, Resulting Numbers: [6]
6,96 unequal: No Solution
Exploring Operation: 7*42=294, Resulting Numbers: [294]
294,96 unequal: No Solution
Exploring Operation: 42-7=35, Resulting Numbers: [35]
35,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 96:[33, 10, 97], Operations: ['90+7=97']
Exploring Operation: 33+10=43, Resulting Numbers: [97, 43]
Generated Node #0,1,0: 96:[97, 43] Operation: 33+10=43
Exploring Operation: 97-33=64, Resulting Numbers: [10, 64]
Generated Node #0,1,1: 96:[10, 64] Operation: 97-33=64
Exploring Operation: 33-10=23, Resulting Numbers: [97, 23]
Generated Node #0,1,2: 96:[97, 23] Operation: 33-10=23
Exploring Operation: 10+97=107, Resulting Numbers: [33, 107]
Generated Node #0,1,3: 96:[33, 107] Operation: 10+97=107
Exploring Operation: 97-10=87, Resulting Numbers: [33, 87]
Generated Node #0,1,4: 96:[33, 87] Operation: 97-10=87
Moving to Node #0,1,2
Current State: 96:[97, 23], Operations: ['90+7=97', '33-10=23']
Exploring Operation: 97+23=120, Resulting Numbers: [120]
120,96 unequal: No Solution
Exploring Operation: 97-23=74, Resulting Numbers: [74]
74,96 unequal: No Solution
Exploring Operation: 97*23=2231, Resulting Numbers: [2231]
2231,96 unequal: No Solution
Moving to Node #0,1,0
Current State: 96:[97, 43], Operations: ['90+7=97', '33+10=43']
Exploring Operation: 97+43=140, Resulting Numbers: [140]
140,96 unequal: No Solution
Exploring Operation: 97*43=4171, Resulting Numbers: [4171]
4171,96 unequal: No Solution
Exploring Operation: 97-43=54, Resulting Numbers: [54]
54,96 unequal: No Solution
Moving to Node #0,1,4
Current State: 96:[33, 87], Operations: ['90+7=97', '97-10=87']
Exploring Operation: 33*87=2871, Resulting Numbers: [2871]
2871,96 unequal: No Solution
Exploring Operation: 87-33=54, Resulting Numbers: [54]
54,96 unequal: No Solution
Exploring Operation: 33+87=120, Resulting Numbers: [120]
120,96 unequal: No Solution
Moving to Node #0,1,3
Current State: 96:[33, 107], Operations: ['90+7=97', '10+97=107']
Exploring Operation: 107-33=74, Resulting Numbers: [74]
74,96 unequal: No Solution
Exploring Operation: 33*107=3531, Resulting Numbers: [3531]
3531,96 unequal: No Solution
Exploring Operation: 33+107=140, Resulting Numbers: [140]
140,96 unequal: No Solution
Moving to Node #0,1,1
Current State: 96:[10, 64], Operations: ['90+7=97', '97-33=64']
Exploring Operation: 64-10=54, Resulting Numbers: [54]
54,96 unequal: No Solution
Exploring Operation: 10+64=74, Resulting Numbers: [74]
74,96 unequal: No Solution
Exploring Operation: 10*64=640, Resulting Numbers: [640]
640,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 96:[33, 7, 100], Operations: ['90+10=100']
Exploring Operation: 33-7=26, Resulting Numbers: [100, 26]
Generated Node #0,0,0: 96:[100, 26] Operation: 33-7=26
Exploring Operation: 33+7=40, Resulting Numbers: [100, 40]
Generated Node #0,0,1: 96:[100, 40] Operation: 33+7=40
Exploring Operation: 100-33=67, Resulting Numbers: [7, 67]
Generated Node #0,0,2: 96:[7, 67] Operation: 100-33=67
Exploring Operation: 100-7=93, Resulting Numbers: [33, 93]
Generated Node #0,0,3: 96:[33, 93] Operation: 100-7=93
Exploring Operation: 7+100=107, Resulting Numbers: [33, 107]
Generated Node #0,0,4: 96:[33, 107] Operation: 7+100=107
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 96:[33, 93], Operations: ['90+10=100', '100-7=93']
Exploring Operation: 33+93=126, Resulting Numbers: [126]
126,96 unequal: No Solution
Exploring Operation: 33*93=3069, Resulting Numbers: [3069]
3069,96 unequal: No Solution
Exploring Operation: 93-33=60, Resulting Numbers: [60]
60,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 96:[100, 26], Operations: ['90+10=100', '33-7=26']
Exploring Operation: 100-26=74, Resulting Numbers: [74]
74,96 unequal: No Solution
Exploring Operation: 100*26=2600, Resulting Numbers: [2600]
2600,96 unequal: No Solution
Exploring Operation: 100+26=126, Resulting Numbers: [126]
126,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 96:[100, 40], Operations: ['90+10=100', '33+7=40']
Exploring Operation: 100*40=4000, Resulting Numbers: [4000]
4000,96 unequal: No Solution
Exploring Operation: 100+40=140, Resulting Numbers: [140]
140,96 unequal: No Solution
Exploring Operation: 100-40=60, Resulting Numbers: [60]
60,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 96:[33, 107], Operations: ['90+10=100', '7+100=107']
Exploring Operation: 107-33=74, Resulting Numbers: [74]
74,96 unequal: No Solution
Exploring Operation: 33+107=140, Resulting Numbers: [140]
140,96 unequal: No Solution
Exploring Operation: 33*107=3531, Resulting Numbers: [3531]
3531,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 96:[7, 67], Operations: ['90+10=100', '100-33=67']
Exploring Operation: 67-7=60, Resulting Numbers: [60]
60,96 unequal: No Solution
Exploring Operation: 7+67=74, Resulting Numbers: [74]
74,96 unequal: No Solution
Exploring Operation: 7*67=469, Resulting Numbers: [469]
469,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 96:[90, 33, 3], Operations: ['10-7=3']
Exploring Operation: 33-3=30, Resulting Numbers: [90, 30]
Generated Node #0,4,0: 96:[90, 30] Operation: 33-3=30
Exploring Operation: 90-33=57, Resulting Numbers: [3, 57]
Generated Node #0,4,1: 96:[3, 57] Operation: 90-33=57
Exploring Operation: 33/3=11, Resulting Numbers: [90, 11]
Generated Node #0,4,2: 96:[90, 11] Operation: 33/3=11
Exploring Operation: 90/3=30, Resulting Numbers: [33, 30]
Generated Node #0,4,3: 96:[33, 30] Operation: 90/3=30
Exploring Operation: 90+3=93, Resulting Numbers: [33, 93]
Generated Node #0,4,4: 96:[33, 93] Operation: 90+3=93
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 96:[33, 30], Operations: ['10-7=3', '90/3=30']
Exploring Operation: 33*30=990, Resulting Numbers: [990]
990,96 unequal: No Solution
Exploring Operation: 33+30=63, Resulting Numbers: [63]
63,96 unequal: No Solution
Exploring Operation: 33-30=3, Resulting Numbers: [3]
3,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 96:[33, 93], Operations: ['10-7=3', '90+3=93']
Exploring Operation: 93-33=60, Resulting Numbers: [60]
60,96 unequal: No Solution
Exploring Operation: 33*93=3069, Resulting Numbers: [3069]
3069,96 unequal: No Solution
Exploring Operation: 33+93=126, Resulting Numbers: [126]
126,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 96:[90, 11], Operations: ['10-7=3', '33/3=11']
Exploring Operation: 90+11=101, Resulting Numbers: [101]
101,96 unequal: No Solution
Exploring Operation: 90*11=990, Resulting Numbers: [990]
990,96 unequal: No Solution
Exploring Operation: 90-11=79, Resulting Numbers: [79]
79,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 96:[90, 30], Operations: ['10-7=3', '33-3=30']
Exploring Operation: 90/30=3, Resulting Numbers: [3]
3,96 unequal: No Solution
Exploring Operation: 90*30=2700, Resulting Numbers: [2700]
2700,96 unequal: No Solution
Exploring Operation: 90-30=60, Resulting Numbers: [60]
60,96 unequal: No Solution
Exploring Operation: 90+30=120, Resulting Numbers: [120]
120,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 96:[3, 57], Operations: ['10-7=3', '90-33=57']
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,96 unequal: No Solution
Exploring Operation: 3+57=60, Resulting Numbers: [60]
60,96 unequal: No Solution
Exploring Operation: 3*57=171, Resulting Numbers: [171]
171,96 unequal: No Solution
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,96 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 96:[90, 7, 23], Operations: ['33-10=23']
Exploring Operation: 90+7=97, Resulting Numbers: [23, 97]
Generated Node #0,3,0: 96:[23, 97] Operation: 90+7=97
Exploring Operation: 90-7=83, Resulting Numbers: [23, 83]
Generated Node #0,3,1: 96:[23, 83] Operation: 90-7=83
Exploring Operation: 90+23=113, Resulting Numbers: [7, 113]
Generated Node #0,3,2: 96:[7, 113] Operation: 90+23=113
Exploring Operation: 7+23=30, Resulting Numbers: [90, 30]
Generated Node #0,3,3: 96:[90, 30] Operation: 7+23=30
Exploring Operation: 23-7=16, Resulting Numbers: [90, 16]
Generated Node #0,3,4: 96:[90, 16] Operation: 23-7=16
Moving to Node #0,3,0
Current State: 96:[23, 97], Operations: ['33-10=23', '90+7=97']
Exploring Operation: 23*97=2231, Resulting Numbers: [2231]
2231,96 unequal: No Solution
Exploring Operation: 97-23=74, Resulting Numbers: [74]
74,96 unequal: No Solution
Exploring Operation: 23+97=120, Resulting Numbers: [120]
120,96 unequal: No Solution
Moving to Node #0,3,4
Current State: 96:[90, 16], Operations: ['33-10=23', '23-7=16']
Exploring Operation: 90-16=74, Resulting Numbers: [74]
74,96 unequal: No Solution
Exploring Operation: 90+16=106, Resulting Numbers: [106]
106,96 unequal: No Solution
Exploring Operation: 90*16=1440, Resulting Numbers: [1440]
1440,96 unequal: No Solution
Moving to Node #0,3,3
Current State: 96:[90, 30], Operations: ['33-10=23', '7+23=30']
Exploring Operation: 90/30=3, Resulting Numbers: [3]
3,96 unequal: No Solution
Exploring Operation: 90*30=2700, Resulting Numbers: [2700]
2700,96 unequal: No Solution
Exploring Operation: 90-30=60, Resulting Numbers: [60]
60,96 unequal: No Solution
Exploring Operation: 90+30=120, Resulting Numbers: [120]
120,96 unequal: No Solution
Moving to Node #0,3,1
Current State: 96:[23, 83], Operations: ['33-10=23', '90-7=83']
Exploring Operation: 83-23=60, Resulting Numbers: [60]
60,96 unequal: No Solution
Exploring Operation: 23+83=106, Resulting Numbers: [106]
106,96 unequal: No Solution
Exploring Operation: 23*83=1909, Resulting Numbers: [1909]
1909,96 unequal: No Solution
Moving to Node #0,3,2
Current State: 96:[7, 113], Operations: ['33-10=23', '90+23=113']
Exploring Operation: 7*113=791, Resulting Numbers: [791]
791,96 unequal: No Solution
Exploring Operation: 113-7=106, Resulting Numbers: [106]
106,96 unequal: No Solution
Exploring Operation: 7+113=120, Resulting Numbers: [120]
120,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
90,
63,
80,
77
] | 21 | [
"63*80=5040",
"5040/90=56",
"77-56=21"
] | Current State: 21:[90, 63, 80, 77], Operations: []
Exploring Operation: 63*80=5040, Resulting Numbers: [90, 77, 5040]
Generated Node #2: [90, 77, 5040] from Operation: 63*80=5040
Current State: 21:[90, 77, 5040], Operations: ['63*80=5040']
Exploring Operation: 5040/90=56, Resulting Numbers: [77, 56]
Generated Node #3: [77, 56] from Operation: 5040/90=56
Current State: 21:[77, 56], Operations: ['63*80=5040', '5040/90=56']
Exploring Operation: 77-56=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[90, 63, 80, 77], Operations: []
Exploring Operation: 80-77=3, Resulting Numbers: [90, 63, 3]
Generated Node #0,0: 21:[90, 63, 3] Operation: 80-77=3
Exploring Operation: 90-77=13, Resulting Numbers: [63, 80, 13]
Generated Node #0,1: 21:[63, 80, 13] Operation: 90-77=13
Exploring Operation: 90-63=27, Resulting Numbers: [80, 77, 27]
Generated Node #0,2: 21:[80, 77, 27] Operation: 90-63=27
Exploring Operation: 80-63=17, Resulting Numbers: [90, 77, 17]
Generated Node #0,3: 21:[90, 77, 17] Operation: 80-63=17
Exploring Operation: 90-80=10, Resulting Numbers: [63, 77, 10]
Generated Node #0,4: 21:[63, 77, 10] Operation: 90-80=10
Start Sub Search at level 1: Moving to Node #0,4
Current State: 21:[63, 77, 10], Operations: ['90-80=10']
Exploring Operation: 77-63=14, Resulting Numbers: [10, 14]
Generated Node #0,4,0: 21:[10, 14] Operation: 77-63=14
Exploring Operation: 63-10=53, Resulting Numbers: [77, 53]
Generated Node #0,4,1: 21:[77, 53] Operation: 63-10=53
Exploring Operation: 77-10=67, Resulting Numbers: [63, 67]
Generated Node #0,4,2: 21:[63, 67] Operation: 77-10=67
Exploring Operation: 63+10=73, Resulting Numbers: [77, 73]
Generated Node #0,4,3: 21:[77, 73] Operation: 63+10=73
Exploring Operation: 77+10=87, Resulting Numbers: [63, 87]
Generated Node #0,4,4: 21:[63, 87] Operation: 77+10=87
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 21:[10, 14], Operations: ['90-80=10', '77-63=14']
Exploring Operation: 14-10=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 10+14=24, Resulting Numbers: [24]
24,21 unequal: No Solution
Exploring Operation: 10*14=140, Resulting Numbers: [140]
140,21 unequal: No Solution
No 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: 21:[77, 53], Operations: ['90-80=10', '63-10=53']
Exploring Operation: 77-53=24, Resulting Numbers: [24]
24,21 unequal: No Solution
Exploring Operation: 77+53=130, Resulting Numbers: [130]
130,21 unequal: No Solution
Exploring Operation: 77*53=4081, Resulting Numbers: [4081]
4081,21 unequal: No Solution
No 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: 21:[63, 67], Operations: ['90-80=10', '77-10=67']
Exploring Operation: 63*67=4221, Resulting Numbers: [4221]
4221,21 unequal: No Solution
Exploring Operation: 63+67=130, Resulting Numbers: [130]
130,21 unequal: No Solution
Exploring Operation: 67-63=4, Resulting Numbers: [4]
4,21 unequal: No Solution
No 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: 21:[77, 73], Operations: ['90-80=10', '63+10=73']
Exploring Operation: 77+73=150, Resulting Numbers: [150]
150,21 unequal: No Solution
Exploring Operation: 77*73=5621, Resulting Numbers: [5621]
5621,21 unequal: No Solution
Exploring Operation: 77-73=4, Resulting Numbers: [4]
4,21 unequal: No Solution
No 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: 21:[63, 87], Operations: ['90-80=10', '77+10=87']
Exploring Operation: 87-63=24, Resulting Numbers: [24]
24,21 unequal: No Solution
Exploring Operation: 63+87=150, Resulting Numbers: [150]
150,21 unequal: No Solution
Exploring Operation: 63*87=5481, Resulting Numbers: [5481]
5481,21 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: 21:[63, 80, 13], Operations: ['90-77=13']
Exploring Operation: 63+13=76, Resulting Numbers: [80, 76]
Generated Node #0,1,0: 21:[80, 76] Operation: 63+13=76
Exploring Operation: 80-13=67, Resulting Numbers: [63, 67]
Generated Node #0,1,1: 21:[63, 67] Operation: 80-13=67
Exploring Operation: 63-13=50, Resulting Numbers: [80, 50]
Generated Node #0,1,2: 21:[80, 50] Operation: 63-13=50
Exploring Operation: 80+13=93, Resulting Numbers: [63, 93]
Generated Node #0,1,3: 21:[63, 93] Operation: 80+13=93
Exploring Operation: 80-63=17, Resulting Numbers: [13, 17]
Generated Node #0,1,4: 21:[13, 17] Operation: 80-63=17
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 21:[13, 17], Operations: ['90-77=13', '80-63=17']
Exploring Operation: 13*17=221, Resulting Numbers: [221]
221,21 unequal: No Solution
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 13+17=30, Resulting Numbers: [30]
30,21 unequal: No Solution
No 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: 21:[63, 67], Operations: ['90-77=13', '80-13=67']
Exploring Operation: 67-63=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 63*67=4221, Resulting Numbers: [4221]
4221,21 unequal: No Solution
Exploring Operation: 63+67=130, Resulting Numbers: [130]
130,21 unequal: No Solution
No 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: 21:[80, 50], Operations: ['90-77=13', '63-13=50']
Exploring Operation: 80-50=30, Resulting Numbers: [30]
30,21 unequal: No Solution
Exploring Operation: 80*50=4000, Resulting Numbers: [4000]
4000,21 unequal: No Solution
Exploring Operation: 80+50=130, Resulting Numbers: [130]
130,21 unequal: No Solution
No 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: 21:[80, 76], Operations: ['90-77=13', '63+13=76']
Exploring Operation: 80-76=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 80*76=6080, Resulting Numbers: [6080]
6080,21 unequal: No Solution
Exploring Operation: 80+76=156, Resulting Numbers: [156]
156,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 21:[63, 93], Operations: ['90-77=13', '80+13=93']
Exploring Operation: 63+93=156, Resulting Numbers: [156]
156,21 unequal: No Solution
Exploring Operation: 63*93=5859, Resulting Numbers: [5859]
5859,21 unequal: No Solution
Exploring Operation: 93-63=30, Resulting Numbers: [30]
30,21 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: 21:[90, 63, 3], Operations: ['80-77=3']
Exploring Operation: 90/3=30, Resulting Numbers: [63, 30]
Generated Node #0,0,0: 21:[63, 30] Operation: 90/3=30
Exploring Operation: 90-63=27, Resulting Numbers: [3, 27]
Generated Node #0,0,1: 21:[3, 27] Operation: 90-63=27
Exploring Operation: 63/3=21, Resulting Numbers: [90, 21]
Generated Node #0,0,2: 21:[90, 21] Operation: 63/3=21
Exploring Operation: 90-3=87, Resulting Numbers: [63, 87]
Generated Node #0,0,3: 21:[63, 87] Operation: 90-3=87
Exploring Operation: 63-3=60, Resulting Numbers: [90, 60]
Generated Node #0,0,4: 21:[90, 60] Operation: 63-3=60
Moving to Node #0,0,1
Current State: 21:[3, 27], Operations: ['80-77=3', '90-63=27']
Exploring Operation: 3*27=81, Resulting Numbers: [81]
81,21 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,21 unequal: No Solution
Exploring Operation: 3+27=30, Resulting Numbers: [30]
30,21 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,21 unequal: No Solution
Moving to Node #0,0,0
Current State: 21:[63, 30], Operations: ['80-77=3', '90/3=30']
Exploring Operation: 63-30=33, Resulting Numbers: [33]
33,21 unequal: No Solution
Exploring Operation: 63+30=93, Resulting Numbers: [93]
93,21 unequal: No Solution
Exploring Operation: 63*30=1890, Resulting Numbers: [1890]
1890,21 unequal: No Solution
Moving to Node #0,0,2
Current State: 21:[90, 21], Operations: ['80-77=3', '63/3=21']
Exploring Operation: 90*21=1890, Resulting Numbers: [1890]
1890,21 unequal: No Solution
Exploring Operation: 90-21=69, Resulting Numbers: [69]
69,21 unequal: No Solution
Exploring Operation: 90+21=111, Resulting Numbers: [111]
111,21 unequal: No Solution
Moving to Node #0,0,3
Current State: 21:[63, 87], Operations: ['80-77=3', '90-3=87']
Exploring Operation: 63*87=5481, Resulting Numbers: [5481]
5481,21 unequal: No Solution
Exploring Operation: 63+87=150, Resulting Numbers: [150]
150,21 unequal: No Solution
Exploring Operation: 87-63=24, Resulting Numbers: [24]
24,21 unequal: No Solution
Moving to Node #0,0,4
Current State: 21:[90, 60], Operations: ['80-77=3', '63-3=60']
Exploring Operation: 90-60=30, Resulting Numbers: [30]
30,21 unequal: No Solution
Exploring Operation: 90*60=5400, Resulting Numbers: [5400]
5400,21 unequal: No Solution
Exploring Operation: 90+60=150, Resulting Numbers: [150]
150,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 21:[80, 77, 27], Operations: ['90-63=27']
Exploring Operation: 80-77=3, Resulting Numbers: [27, 3]
Generated Node #0,2,0: 21:[27, 3] Operation: 80-77=3
Exploring Operation: 80+77=157, Resulting Numbers: [27, 157]
Generated Node #0,2,1: 21:[27, 157] Operation: 80+77=157
Exploring Operation: 80-27=53, Resulting Numbers: [77, 53]
Generated Node #0,2,2: 21:[77, 53] Operation: 80-27=53
Exploring Operation: 80+27=107, Resulting Numbers: [77, 107]
Generated Node #0,2,3: 21:[77, 107] Operation: 80+27=107
Exploring Operation: 77-27=50, Resulting Numbers: [80, 50]
Generated Node #0,2,4: 21:[80, 50] Operation: 77-27=50
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 21:[27, 3], Operations: ['90-63=27', '80-77=3']
Exploring Operation: 27*3=81, Resulting Numbers: [81]
81,21 unequal: No Solution
Exploring Operation: 27/3=9, Resulting Numbers: [9]
9,21 unequal: No Solution
Exploring Operation: 27+3=30, Resulting Numbers: [30]
30,21 unequal: No Solution
Exploring Operation: 27-3=24, Resulting Numbers: [24]
24,21 unequal: No Solution
No 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: 21:[77, 53], Operations: ['90-63=27', '80-27=53']
Exploring Operation: 77-53=24, Resulting Numbers: [24]
24,21 unequal: No Solution
Exploring Operation: 77*53=4081, Resulting Numbers: [4081]
4081,21 unequal: No Solution
Exploring Operation: 77+53=130, Resulting Numbers: [130]
130,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 21:[80, 50], Operations: ['90-63=27', '77-27=50']
Exploring Operation: 80*50=4000, Resulting Numbers: [4000]
4000,21 unequal: No Solution
Exploring Operation: 80-50=30, Resulting Numbers: [30]
30,21 unequal: No Solution
Exploring Operation: 80+50=130, Resulting Numbers: [130]
130,21 unequal: No Solution
No 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: 21:[27, 157], Operations: ['90-63=27', '80+77=157']
Exploring Operation: 27+157=184, Resulting Numbers: [184]
184,21 unequal: No Solution
Exploring Operation: 27*157=4239, Resulting Numbers: [4239]
4239,21 unequal: No Solution
Exploring Operation: 157-27=130, Resulting Numbers: [130]
130,21 unequal: No Solution
No 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: 21:[77, 107], Operations: ['90-63=27', '80+27=107']
Exploring Operation: 77+107=184, Resulting Numbers: [184]
184,21 unequal: No Solution
Exploring Operation: 107-77=30, Resulting Numbers: [30]
30,21 unequal: No Solution
Exploring Operation: 77*107=8239, Resulting Numbers: [8239]
8239,21 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: 21:[90, 77, 17], Operations: ['80-63=17']
Exploring Operation: 77+17=94, Resulting Numbers: [90, 94]
Generated Node #0,3,0: 21:[90, 94] Operation: 77+17=94
Exploring Operation: 90+17=107, Resulting Numbers: [77, 107]
Generated Node #0,3,1: 21:[77, 107] Operation: 90+17=107
Exploring Operation: 90-77=13, Resulting Numbers: [17, 13]
Generated Node #0,3,2: 21:[17, 13] Operation: 90-77=13
Exploring Operation: 77-17=60, Resulting Numbers: [90, 60]
Generated Node #0,3,3: 21:[90, 60] Operation: 77-17=60
Exploring Operation: 90-17=73, Resulting Numbers: [77, 73]
Generated Node #0,3,4: 21:[77, 73] Operation: 90-17=73
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 21:[17, 13], Operations: ['80-63=17', '90-77=13']
Exploring Operation: 17-13=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 17*13=221, Resulting Numbers: [221]
221,21 unequal: No Solution
Exploring Operation: 17+13=30, Resulting Numbers: [30]
30,21 unequal: No Solution
No 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: 21:[90, 60], Operations: ['80-63=17', '77-17=60']
Exploring Operation: 90+60=150, Resulting Numbers: [150]
150,21 unequal: No Solution
Exploring Operation: 90*60=5400, Resulting Numbers: [5400]
5400,21 unequal: No Solution
Exploring Operation: 90-60=30, Resulting Numbers: [30]
30,21 unequal: No Solution
No 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: 21:[77, 73], Operations: ['80-63=17', '90-17=73']
Exploring Operation: 77*73=5621, Resulting Numbers: [5621]
5621,21 unequal: No Solution
Exploring Operation: 77-73=4, Resulting Numbers: [4]
4,21 unequal: No Solution
Exploring Operation: 77+73=150, Resulting Numbers: [150]
150,21 unequal: No Solution
No 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: 21:[90, 94], Operations: ['80-63=17', '77+17=94']
Exploring Operation: 90*94=8460, Resulting Numbers: [8460]
8460,21 unequal: No Solution
Exploring Operation: 90+94=184, Resulting Numbers: [184]
184,21 unequal: No Solution
Exploring Operation: 94-90=4, Resulting Numbers: [4]
4,21 unequal: No Solution
No 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: 21:[77, 107], Operations: ['80-63=17', '90+17=107']
Exploring Operation: 77+107=184, Resulting Numbers: [184]
184,21 unequal: No Solution
Exploring Operation: 107-77=30, Resulting Numbers: [30]
30,21 unequal: No Solution
Exploring Operation: 77*107=8239, Resulting Numbers: [8239]
8239,21 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
12,
58,
74,
53
] | 18 | [
"58+53=111",
"12*111=1332",
"1332/74=18"
] | Current State: 18:[12, 58, 74, 53], Operations: []
Exploring Operation: 58+53=111, Resulting Numbers: [12, 74, 111]
Generated Node #2: [12, 74, 111] from Operation: 58+53=111
Current State: 18:[12, 74, 111], Operations: ['58+53=111']
Exploring Operation: 12*111=1332, Resulting Numbers: [74, 1332]
Generated Node #3: [74, 1332] from Operation: 12*111=1332
Current State: 18:[74, 1332], Operations: ['58+53=111', '12*111=1332']
Exploring Operation: 1332/74=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[12, 58, 74, 53], Operations: []
Exploring Operation: 74-12=62, Resulting Numbers: [58, 53, 62]
Generated Node #0,0: 18:[58, 53, 62] Operation: 74-12=62
Exploring Operation: 74-58=16, Resulting Numbers: [12, 53, 16]
Generated Node #0,1: 18:[12, 53, 16] Operation: 74-58=16
Exploring Operation: 74-53=21, Resulting Numbers: [12, 58, 21]
Generated Node #0,2: 18:[12, 58, 21] Operation: 74-53=21
Exploring Operation: 58-12=46, Resulting Numbers: [74, 53, 46]
Generated Node #0,3: 18:[74, 53, 46] Operation: 58-12=46
Exploring Operation: 58-53=5, Resulting Numbers: [12, 74, 5]
Generated Node #0,4: 18:[12, 74, 5] Operation: 58-53=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[12, 53, 16], Operations: ['74-58=16']
Exploring Operation: 12+53=65, Resulting Numbers: [16, 65]
Generated Node #0,1,0: 18:[16, 65] Operation: 12+53=65
Exploring Operation: 12+16=28, Resulting Numbers: [53, 28]
Generated Node #0,1,1: 18:[53, 28] Operation: 12+16=28
Exploring Operation: 16-12=4, Resulting Numbers: [53, 4]
Generated Node #0,1,2: 18:[53, 4] Operation: 16-12=4
Exploring Operation: 53-16=37, Resulting Numbers: [12, 37]
Generated Node #0,1,3: 18:[12, 37] Operation: 53-16=37
Exploring Operation: 53-12=41, Resulting Numbers: [16, 41]
Generated Node #0,1,4: 18:[16, 41] Operation: 53-12=41
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 18:[12, 37], Operations: ['74-58=16', '53-16=37']
Exploring Operation: 12*37=444, Resulting Numbers: [444]
444,18 unequal: No Solution
Exploring Operation: 37-12=25, Resulting Numbers: [25]
25,18 unequal: No Solution
Exploring Operation: 12+37=49, Resulting Numbers: [49]
49,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 18:[16, 41], Operations: ['74-58=16', '53-12=41']
Exploring Operation: 16+41=57, Resulting Numbers: [57]
57,18 unequal: No Solution
Exploring Operation: 16*41=656, Resulting Numbers: [656]
656,18 unequal: No Solution
Exploring Operation: 41-16=25, Resulting Numbers: [25]
25,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 18:[53, 4], Operations: ['74-58=16', '16-12=4']
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,18 unequal: No Solution
Exploring Operation: 53+4=57, Resulting Numbers: [57]
57,18 unequal: No Solution
Exploring Operation: 53*4=212, Resulting Numbers: [212]
212,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 18:[53, 28], Operations: ['74-58=16', '12+16=28']
Exploring Operation: 53+28=81, Resulting Numbers: [81]
81,18 unequal: No Solution
Exploring Operation: 53*28=1484, Resulting Numbers: [1484]
1484,18 unequal: No Solution
Exploring Operation: 53-28=25, Resulting Numbers: [25]
25,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 18:[16, 65], Operations: ['74-58=16', '12+53=65']
Exploring Operation: 16+65=81, Resulting Numbers: [81]
81,18 unequal: No Solution
Exploring Operation: 16*65=1040, Resulting Numbers: [1040]
1040,18 unequal: No Solution
Exploring Operation: 65-16=49, Resulting Numbers: [49]
49,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 18:[12, 58, 21], Operations: ['74-53=21']
Exploring Operation: 12+58=70, Resulting Numbers: [21, 70]
Generated Node #0,2,0: 18:[21, 70] Operation: 12+58=70
Exploring Operation: 12+21=33, Resulting Numbers: [58, 33]
Generated Node #0,2,1: 18:[58, 33] Operation: 12+21=33
Exploring Operation: 58-21=37, Resulting Numbers: [12, 37]
Generated Node #0,2,2: 18:[12, 37] Operation: 58-21=37
Exploring Operation: 21-12=9, Resulting Numbers: [58, 9]
Generated Node #0,2,3: 18:[58, 9] Operation: 21-12=9
Exploring Operation: 58-12=46, Resulting Numbers: [21, 46]
Generated Node #0,2,4: 18:[21, 46] Operation: 58-12=46
Moving to Node #0,2,2
Current State: 18:[12, 37], Operations: ['74-53=21', '58-21=37']
Exploring Operation: 37-12=25, Resulting Numbers: [25]
25,18 unequal: No Solution
Exploring Operation: 12*37=444, Resulting Numbers: [444]
444,18 unequal: No Solution
Exploring Operation: 12+37=49, Resulting Numbers: [49]
49,18 unequal: No Solution
Moving to Node #0,2,4
Current State: 18:[21, 46], Operations: ['74-53=21', '58-12=46']
Exploring Operation: 46-21=25, Resulting Numbers: [25]
25,18 unequal: No Solution
Exploring Operation: 21+46=67, Resulting Numbers: [67]
67,18 unequal: No Solution
Exploring Operation: 21*46=966, Resulting Numbers: [966]
966,18 unequal: No Solution
Moving to Node #0,2,3
Current State: 18:[58, 9], Operations: ['74-53=21', '21-12=9']
Exploring Operation: 58*9=522, Resulting Numbers: [522]
522,18 unequal: No Solution
Exploring Operation: 58-9=49, Resulting Numbers: [49]
49,18 unequal: No Solution
Exploring Operation: 58+9=67, Resulting Numbers: [67]
67,18 unequal: No Solution
Moving to Node #0,2,0
Current State: 18:[21, 70], Operations: ['74-53=21', '12+58=70']
Exploring Operation: 21*70=1470, Resulting Numbers: [1470]
1470,18 unequal: No Solution
Exploring Operation: 70-21=49, Resulting Numbers: [49]
49,18 unequal: No Solution
Exploring Operation: 21+70=91, Resulting Numbers: [91]
91,18 unequal: No Solution
Moving to Node #0,2,1
Current State: 18:[58, 33], Operations: ['74-53=21', '12+21=33']
Exploring Operation: 58+33=91, Resulting Numbers: [91]
91,18 unequal: No Solution
Exploring Operation: 58-33=25, Resulting Numbers: [25]
25,18 unequal: No Solution
Exploring Operation: 58*33=1914, Resulting Numbers: [1914]
1914,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 18:[12, 74, 5], Operations: ['58-53=5']
Exploring Operation: 74+5=79, Resulting Numbers: [12, 79]
Generated Node #0,4,0: 18:[12, 79] Operation: 74+5=79
Exploring Operation: 12-5=7, Resulting Numbers: [74, 7]
Generated Node #0,4,1: 18:[74, 7] Operation: 12-5=7
Exploring Operation: 74-5=69, Resulting Numbers: [12, 69]
Generated Node #0,4,2: 18:[12, 69] Operation: 74-5=69
Exploring Operation: 12+5=17, Resulting Numbers: [74, 17]
Generated Node #0,4,3: 18:[74, 17] Operation: 12+5=17
Exploring Operation: 74-12=62, Resulting Numbers: [5, 62]
Generated Node #0,4,4: 18:[5, 62] Operation: 74-12=62
Moving to Node #0,4,4
Current State: 18:[5, 62], Operations: ['58-53=5', '74-12=62']
Exploring Operation: 62-5=57, Resulting Numbers: [57]
57,18 unequal: No Solution
Exploring Operation: 5*62=310, Resulting Numbers: [310]
310,18 unequal: No Solution
Exploring Operation: 5+62=67, Resulting Numbers: [67]
67,18 unequal: No Solution
Moving to Node #0,4,2
Current State: 18:[12, 69], Operations: ['58-53=5', '74-5=69']
Exploring Operation: 69-12=57, Resulting Numbers: [57]
57,18 unequal: No Solution
Exploring Operation: 12+69=81, Resulting Numbers: [81]
81,18 unequal: No Solution
Exploring Operation: 12*69=828, Resulting Numbers: [828]
828,18 unequal: No Solution
Moving to Node #0,4,1
Current State: 18:[74, 7], Operations: ['58-53=5', '12-5=7']
Exploring Operation: 74*7=518, Resulting Numbers: [518]
518,18 unequal: No Solution
Exploring Operation: 74-7=67, Resulting Numbers: [67]
67,18 unequal: No Solution
Exploring Operation: 74+7=81, Resulting Numbers: [81]
81,18 unequal: No Solution
Moving to Node #0,4,3
Current State: 18:[74, 17], Operations: ['58-53=5', '12+5=17']
Exploring Operation: 74*17=1258, Resulting Numbers: [1258]
1258,18 unequal: No Solution
Exploring Operation: 74-17=57, Resulting Numbers: [57]
57,18 unequal: No Solution
Exploring Operation: 74+17=91, Resulting Numbers: [91]
91,18 unequal: No Solution
Moving to Node #0,4,0
Current State: 18:[12, 79], Operations: ['58-53=5', '74+5=79']
Exploring Operation: 12*79=948, Resulting Numbers: [948]
948,18 unequal: No Solution
Exploring Operation: 79-12=67, Resulting Numbers: [67]
67,18 unequal: No Solution
Exploring Operation: 12+79=91, Resulting Numbers: [91]
91,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 18:[58, 53, 62], Operations: ['74-12=62']
Exploring Operation: 62-58=4, Resulting Numbers: [53, 4]
Generated Node #0,0,0: 18:[53, 4] Operation: 62-58=4
Exploring Operation: 58+53=111, Resulting Numbers: [62, 111]
Generated Node #0,0,1: 18:[62, 111] Operation: 58+53=111
Exploring Operation: 58-53=5, Resulting Numbers: [62, 5]
Generated Node #0,0,2: 18:[62, 5] Operation: 58-53=5
Exploring Operation: 62-53=9, Resulting Numbers: [58, 9]
Generated Node #0,0,3: 18:[58, 9] Operation: 62-53=9
Exploring Operation: 58+62=120, Resulting Numbers: [53, 120]
Generated Node #0,0,4: 18:[53, 120] Operation: 58+62=120
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 18:[53, 4], Operations: ['74-12=62', '62-58=4']
Exploring Operation: 53*4=212, Resulting Numbers: [212]
212,18 unequal: No Solution
Exploring Operation: 53+4=57, Resulting Numbers: [57]
57,18 unequal: No Solution
Exploring Operation: 53-4=49, Resulting Numbers: [49]
49,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 18:[58, 9], Operations: ['74-12=62', '62-53=9']
Exploring Operation: 58-9=49, Resulting Numbers: [49]
49,18 unequal: No Solution
Exploring Operation: 58*9=522, Resulting Numbers: [522]
522,18 unequal: No Solution
Exploring Operation: 58+9=67, Resulting Numbers: [67]
67,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 18:[62, 5], Operations: ['74-12=62', '58-53=5']
Exploring Operation: 62-5=57, Resulting Numbers: [57]
57,18 unequal: No Solution
Exploring Operation: 62+5=67, Resulting Numbers: [67]
67,18 unequal: No Solution
Exploring Operation: 62*5=310, Resulting Numbers: [310]
310,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 18:[62, 111], Operations: ['74-12=62', '58+53=111']
Exploring Operation: 111-62=49, Resulting Numbers: [49]
49,18 unequal: No Solution
Exploring Operation: 62+111=173, Resulting Numbers: [173]
173,18 unequal: No Solution
Exploring Operation: 62*111=6882, Resulting Numbers: [6882]
6882,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 18:[53, 120], Operations: ['74-12=62', '58+62=120']
Exploring Operation: 120-53=67, Resulting Numbers: [67]
67,18 unequal: No Solution
Exploring Operation: 53+120=173, Resulting Numbers: [173]
173,18 unequal: No Solution
Exploring Operation: 53*120=6360, Resulting Numbers: [6360]
6360,18 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 18:[74, 53, 46], Operations: ['58-12=46']
Exploring Operation: 74-46=28, Resulting Numbers: [53, 28]
Generated Node #0,3,0: 18:[53, 28] Operation: 74-46=28
Exploring Operation: 74+53=127, Resulting Numbers: [46, 127]
Generated Node #0,3,1: 18:[46, 127] Operation: 74+53=127
Exploring Operation: 74-53=21, Resulting Numbers: [46, 21]
Generated Node #0,3,2: 18:[46, 21] Operation: 74-53=21
Exploring Operation: 74+46=120, Resulting Numbers: [53, 120]
Generated Node #0,3,3: 18:[53, 120] Operation: 74+46=120
Exploring Operation: 53-46=7, Resulting Numbers: [74, 7]
Generated Node #0,3,4: 18:[74, 7] Operation: 53-46=7
Moving to Node #0,3,2
Current State: 18:[46, 21], Operations: ['58-12=46', '74-53=21']
Exploring Operation: 46+21=67, Resulting Numbers: [67]
67,18 unequal: No Solution
Exploring Operation: 46*21=966, Resulting Numbers: [966]
966,18 unequal: No Solution
Exploring Operation: 46-21=25, Resulting Numbers: [25]
25,18 unequal: No Solution
Moving to Node #0,3,0
Current State: 18:[53, 28], Operations: ['58-12=46', '74-46=28']
Exploring Operation: 53*28=1484, Resulting Numbers: [1484]
1484,18 unequal: No Solution
Exploring Operation: 53+28=81, Resulting Numbers: [81]
81,18 unequal: No Solution
Exploring Operation: 53-28=25, Resulting Numbers: [25]
25,18 unequal: No Solution
Moving to Node #0,3,4
Current State: 18:[74, 7], Operations: ['58-12=46', '53-46=7']
Exploring Operation: 74-7=67, Resulting Numbers: [67]
67,18 unequal: No Solution
Exploring Operation: 74+7=81, Resulting Numbers: [81]
81,18 unequal: No Solution
Exploring Operation: 74*7=518, Resulting Numbers: [518]
518,18 unequal: No Solution
Moving to Node #0,3,1
Current State: 18:[46, 127], Operations: ['58-12=46', '74+53=127']
Exploring Operation: 127-46=81, Resulting Numbers: [81]
81,18 unequal: No Solution
Exploring Operation: 46*127=5842, Resulting Numbers: [5842]
5842,18 unequal: No Solution
Exploring Operation: 46+127=173, Resulting Numbers: [173]
173,18 unequal: No Solution
Moving to Node #0,3,3
Current State: 18:[53, 120], Operations: ['58-12=46', '74+46=120']
Exploring Operation: 120-53=67, Resulting Numbers: [67]
67,18 unequal: No Solution
Exploring Operation: 53*120=6360, Resulting Numbers: [6360]
6360,18 unequal: No Solution
Exploring Operation: 53+120=173, Resulting Numbers: [173]
173,18 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
49,
3,
51,
61
] | 47 | [
"61-49=12",
"12/3=4",
"51-4=47"
] | Current State: 47:[49, 3, 51, 61], Operations: []
Exploring Operation: 61-49=12, Resulting Numbers: [3, 51, 12]
Generated Node #2: [3, 51, 12] from Operation: 61-49=12
Current State: 47:[3, 51, 12], Operations: ['61-49=12']
Exploring Operation: 12/3=4, Resulting Numbers: [51, 4]
Generated Node #3: [51, 4] from Operation: 12/3=4
Current State: 47:[51, 4], Operations: ['61-49=12', '12/3=4']
Exploring Operation: 51-4=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[49, 3, 51, 61], Operations: []
Exploring Operation: 51-3=48, Resulting Numbers: [49, 61, 48]
Generated Node #0,0: 47:[49, 61, 48] Operation: 51-3=48
Exploring Operation: 49+3=52, Resulting Numbers: [51, 61, 52]
Generated Node #0,1: 47:[51, 61, 52] Operation: 49+3=52
Exploring Operation: 49-3=46, Resulting Numbers: [51, 61, 46]
Generated Node #0,2: 47:[51, 61, 46] Operation: 49-3=46
Exploring Operation: 61-3=58, Resulting Numbers: [49, 51, 58]
Generated Node #0,3: 47:[49, 51, 58] Operation: 61-3=58
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[49, 61, 48], Operations: ['51-3=48']
Exploring Operation: 61-49=12, Resulting Numbers: [48, 12]
Generated Node #0,0,0: 47:[48, 12] Operation: 61-49=12
Exploring Operation: 61-48=13, Resulting Numbers: [49, 13]
Generated Node #0,0,1: 47:[49, 13] Operation: 61-48=13
Exploring Operation: 49-48=1, Resulting Numbers: [61, 1]
Generated Node #0,0,2: 47:[61, 1] Operation: 49-48=1
Exploring Operation: 49+61=110, Resulting Numbers: [48, 110]
Generated Node #0,0,3: 47:[48, 110] Operation: 49+61=110
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 47:[48, 12], Operations: ['51-3=48', '61-49=12']
Exploring Operation: 48*12=576, Resulting Numbers: [576]
576,47 unequal: No Solution
Exploring Operation: 48+12=60, Resulting Numbers: [60]
60,47 unequal: No Solution
Exploring Operation: 48/12=4, Resulting Numbers: [4]
4,47 unequal: No Solution
Exploring Operation: 48-12=36, Resulting Numbers: [36]
36,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 47:[49, 13], Operations: ['51-3=48', '61-48=13']
Exploring Operation: 49+13=62, Resulting Numbers: [62]
62,47 unequal: No Solution
Exploring Operation: 49*13=637, Resulting Numbers: [637]
637,47 unequal: No Solution
Exploring Operation: 49-13=36, Resulting Numbers: [36]
36,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 47:[61, 1], Operations: ['51-3=48', '49-48=1']
Exploring Operation: 61*1=61, Resulting Numbers: [61]
61,47 unequal: No Solution
Exploring Operation: 61-1=60, Resulting Numbers: [60]
60,47 unequal: No Solution
Exploring Operation: 61+1=62, Resulting Numbers: [62]
62,47 unequal: No Solution
Exploring Operation: 61/1=61, Resulting Numbers: [61]
61,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 47:[48, 110], Operations: ['51-3=48', '49+61=110']
Exploring Operation: 110-48=62, Resulting Numbers: [62]
62,47 unequal: No Solution
Exploring Operation: 48+110=158, Resulting Numbers: [158]
158,47 unequal: No Solution
Exploring Operation: 48*110=5280, Resulting Numbers: [5280]
5280,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 47:[49, 51, 58], Operations: ['61-3=58']
Exploring Operation: 58-51=7, Resulting Numbers: [49, 7]
Generated Node #0,3,0: 47:[49, 7] Operation: 58-51=7
Exploring Operation: 51-49=2, Resulting Numbers: [58, 2]
Generated Node #0,3,1: 47:[58, 2] Operation: 51-49=2
Exploring Operation: 49+51=100, Resulting Numbers: [58, 100]
Generated Node #0,3,2: 47:[58, 100] Operation: 49+51=100
Exploring Operation: 58-49=9, Resulting Numbers: [51, 9]
Generated Node #0,3,3: 47:[51, 9] Operation: 58-49=9
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 47:[49, 7], Operations: ['61-3=58', '58-51=7']
Exploring Operation: 49/7=7, Resulting Numbers: [7]
7,47 unequal: No Solution
Exploring Operation: 49-7=42, Resulting Numbers: [42]
42,47 unequal: No Solution
Exploring Operation: 49+7=56, Resulting Numbers: [56]
56,47 unequal: No Solution
Exploring Operation: 49*7=343, Resulting Numbers: [343]
343,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 47:[51, 9], Operations: ['61-3=58', '58-49=9']
Exploring Operation: 51*9=459, Resulting Numbers: [459]
459,47 unequal: No Solution
Exploring Operation: 51+9=60, Resulting Numbers: [60]
60,47 unequal: No Solution
Exploring Operation: 51-9=42, Resulting Numbers: [42]
42,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 47:[58, 2], Operations: ['61-3=58', '51-49=2']
Exploring Operation: 58/2=29, Resulting Numbers: [29]
29,47 unequal: No Solution
Exploring Operation: 58*2=116, Resulting Numbers: [116]
116,47 unequal: No Solution
Exploring Operation: 58-2=56, Resulting Numbers: [56]
56,47 unequal: No Solution
Exploring Operation: 58+2=60, Resulting Numbers: [60]
60,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 47:[58, 100], Operations: ['61-3=58', '49+51=100']
Exploring Operation: 100-58=42, Resulting Numbers: [42]
42,47 unequal: No Solution
Exploring Operation: 58+100=158, Resulting Numbers: [158]
158,47 unequal: No Solution
Exploring Operation: 58*100=5800, Resulting Numbers: [5800]
5800,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 47:[51, 61, 46], Operations: ['49-3=46']
Exploring Operation: 51+46=97, Resulting Numbers: [61, 97]
Generated Node #0,2,0: 47:[61, 97] Operation: 51+46=97
Exploring Operation: 61-46=15, Resulting Numbers: [51, 15]
Generated Node #0,2,1: 47:[51, 15] Operation: 61-46=15
Exploring Operation: 51-46=5, Resulting Numbers: [61, 5]
Generated Node #0,2,2: 47:[61, 5] Operation: 51-46=5
Exploring Operation: 61-51=10, Resulting Numbers: [46, 10]
Generated Node #0,2,3: 47:[46, 10] Operation: 61-51=10
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 47:[51, 15], Operations: ['49-3=46', '61-46=15']
Exploring Operation: 51-15=36, Resulting Numbers: [36]
36,47 unequal: No Solution
Exploring Operation: 51*15=765, Resulting Numbers: [765]
765,47 unequal: No Solution
Exploring Operation: 51+15=66, Resulting Numbers: [66]
66,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 47:[46, 10], Operations: ['49-3=46', '61-51=10']
Exploring Operation: 46*10=460, Resulting Numbers: [460]
460,47 unequal: No Solution
Exploring Operation: 46+10=56, Resulting Numbers: [56]
56,47 unequal: No Solution
Exploring Operation: 46-10=36, Resulting Numbers: [36]
36,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 47:[61, 5], Operations: ['49-3=46', '51-46=5']
Exploring Operation: 61+5=66, Resulting Numbers: [66]
66,47 unequal: No Solution
Exploring Operation: 61-5=56, Resulting Numbers: [56]
56,47 unequal: No Solution
Exploring Operation: 61*5=305, Resulting Numbers: [305]
305,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 47:[61, 97], Operations: ['49-3=46', '51+46=97']
Exploring Operation: 61+97=158, Resulting Numbers: [158]
158,47 unequal: No Solution
Exploring Operation: 97-61=36, Resulting Numbers: [36]
36,47 unequal: No Solution
Exploring Operation: 61*97=5917, Resulting Numbers: [5917]
5917,47 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 47:[51, 61, 52], Operations: ['49+3=52']
Exploring Operation: 51+61=112, Resulting Numbers: [52, 112]
Generated Node #0,1,0: 47:[52, 112] Operation: 51+61=112
Exploring Operation: 61-52=9, Resulting Numbers: [51, 9]
Generated Node #0,1,1: 47:[51, 9] Operation: 61-52=9
Exploring Operation: 61-51=10, Resulting Numbers: [52, 10]
Generated Node #0,1,2: 47:[52, 10] Operation: 61-51=10
Exploring Operation: 52-51=1, Resulting Numbers: [61, 1]
Generated Node #0,1,3: 47:[61, 1] Operation: 52-51=1
Moving to Node #0,1,1
Current State: 47:[51, 9], Operations: ['49+3=52', '61-52=9']
Exploring Operation: 51-9=42, Resulting Numbers: [42]
42,47 unequal: No Solution
Exploring Operation: 51+9=60, Resulting Numbers: [60]
60,47 unequal: No Solution
Exploring Operation: 51*9=459, Resulting Numbers: [459]
459,47 unequal: No Solution
Moving to Node #0,1,2
Current State: 47:[52, 10], Operations: ['49+3=52', '61-51=10']
Exploring Operation: 52-10=42, Resulting Numbers: [42]
42,47 unequal: No Solution
Exploring Operation: 52+10=62, Resulting Numbers: [62]
62,47 unequal: No Solution
Exploring Operation: 52*10=520, Resulting Numbers: [520]
520,47 unequal: No Solution
Moving to Node #0,1,3
Current State: 47:[61, 1], Operations: ['49+3=52', '52-51=1']
Exploring Operation: 61/1=61, Resulting Numbers: [61]
61,47 unequal: No Solution
Exploring Operation: 61+1=62, Resulting Numbers: [62]
62,47 unequal: No Solution
Exploring Operation: 61*1=61, Resulting Numbers: [61]
61,47 unequal: No Solution
Exploring Operation: 61-1=60, Resulting Numbers: [60]
60,47 unequal: No Solution
Moving to Node #0,1,0
Current State: 47:[52, 112], Operations: ['49+3=52', '51+61=112']
Exploring Operation: 112-52=60, Resulting Numbers: [60]
60,47 unequal: No Solution
Exploring Operation: 52+112=164, Resulting Numbers: [164]
164,47 unequal: No Solution
Exploring Operation: 52*112=5824, Resulting Numbers: [5824]
5824,47 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
87,
74,
9,
80
] | 33 | [
"80-74=6",
"9*6=54",
"87-54=33"
] | Current State: 33:[87, 74, 9, 80], Operations: []
Exploring Operation: 80-74=6, Resulting Numbers: [87, 9, 6]
Generated Node #2: [87, 9, 6] from Operation: 80-74=6
Current State: 33:[87, 9, 6], Operations: ['80-74=6']
Exploring Operation: 9*6=54, Resulting Numbers: [87, 54]
Generated Node #3: [87, 54] from Operation: 9*6=54
Current State: 33:[87, 54], Operations: ['80-74=6', '9*6=54']
Exploring Operation: 87-54=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[87, 74, 9, 80], Operations: []
Exploring Operation: 80-74=6, Resulting Numbers: [87, 9, 6]
Generated Node #0,0: 33:[87, 9, 6] Operation: 80-74=6
Exploring Operation: 87-9=78, Resulting Numbers: [74, 80, 78]
Generated Node #0,1: 33:[74, 80, 78] Operation: 87-9=78
Exploring Operation: 87-80=7, Resulting Numbers: [74, 9, 7]
Generated Node #0,2: 33:[74, 9, 7] Operation: 87-80=7
Exploring Operation: 87-74=13, Resulting Numbers: [9, 80, 13]
Generated Node #0,3: 33:[9, 80, 13] Operation: 87-74=13
Start Sub Search at level 1: Moving to Node #0,2
Current State: 33:[74, 9, 7], Operations: ['87-80=7']
Exploring Operation: 74-7=67, Resulting Numbers: [9, 67]
Generated Node #0,2,0: 33:[9, 67] Operation: 74-7=67
Exploring Operation: 74-9=65, Resulting Numbers: [7, 65]
Generated Node #0,2,1: 33:[7, 65] Operation: 74-9=65
Exploring Operation: 9+7=16, Resulting Numbers: [74, 16]
Generated Node #0,2,2: 33:[74, 16] Operation: 9+7=16
Exploring Operation: 9-7=2, Resulting Numbers: [74, 2]
Generated Node #0,2,3: 33:[74, 2] Operation: 9-7=2
Moving to Node #0,2,0
Current State: 33:[9, 67], Operations: ['87-80=7', '74-7=67']
Exploring Operation: 9+67=76, Resulting Numbers: [76]
76,33 unequal: No Solution
Exploring Operation: 9*67=603, Resulting Numbers: [603]
603,33 unequal: No Solution
Exploring Operation: 67-9=58, Resulting Numbers: [58]
58,33 unequal: No Solution
Moving to Node #0,2,1
Current State: 33:[7, 65], Operations: ['87-80=7', '74-9=65']
Exploring Operation: 7*65=455, Resulting Numbers: [455]
455,33 unequal: No Solution
Exploring Operation: 7+65=72, Resulting Numbers: [72]
72,33 unequal: No Solution
Exploring Operation: 65-7=58, Resulting Numbers: [58]
58,33 unequal: No Solution
Moving to Node #0,2,3
Current State: 33:[74, 2], Operations: ['87-80=7', '9-7=2']
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,33 unequal: No Solution
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,33 unequal: No Solution
Exploring Operation: 74*2=148, Resulting Numbers: [148]
148,33 unequal: No Solution
Exploring Operation: 74+2=76, Resulting Numbers: [76]
76,33 unequal: No Solution
Moving to Node #0,2,2
Current State: 33:[74, 16], Operations: ['87-80=7', '9+7=16']
Exploring Operation: 74*16=1184, Resulting Numbers: [1184]
1184,33 unequal: No Solution
Exploring Operation: 74-16=58, Resulting Numbers: [58]
58,33 unequal: No Solution
Exploring Operation: 74+16=90, Resulting Numbers: [90]
90,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 33:[9, 80, 13], Operations: ['87-74=13']
Exploring Operation: 13-9=4, Resulting Numbers: [80, 4]
Generated Node #0,3,0: 33:[80, 4] Operation: 13-9=4
Exploring Operation: 9+80=89, Resulting Numbers: [13, 89]
Generated Node #0,3,1: 33:[13, 89] Operation: 9+80=89
Exploring Operation: 80-13=67, Resulting Numbers: [9, 67]
Generated Node #0,3,2: 33:[9, 67] Operation: 80-13=67
Exploring Operation: 80-9=71, Resulting Numbers: [13, 71]
Generated Node #0,3,3: 33:[13, 71] Operation: 80-9=71
Moving to Node #0,3,2
Current State: 33:[9, 67], Operations: ['87-74=13', '80-13=67']
Exploring Operation: 67-9=58, Resulting Numbers: [58]
58,33 unequal: No Solution
Exploring Operation: 9*67=603, Resulting Numbers: [603]
603,33 unequal: No Solution
Exploring Operation: 9+67=76, Resulting Numbers: [76]
76,33 unequal: No Solution
Moving to Node #0,3,3
Current State: 33:[13, 71], Operations: ['87-74=13', '80-9=71']
Exploring Operation: 13*71=923, Resulting Numbers: [923]
923,33 unequal: No Solution
Exploring Operation: 71-13=58, Resulting Numbers: [58]
58,33 unequal: No Solution
Exploring Operation: 13+71=84, Resulting Numbers: [84]
84,33 unequal: No Solution
Moving to Node #0,3,0
Current State: 33:[80, 4], Operations: ['87-74=13', '13-9=4']
Exploring Operation: 80-4=76, Resulting Numbers: [76]
76,33 unequal: No Solution
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,33 unequal: No Solution
Exploring Operation: 80+4=84, Resulting Numbers: [84]
84,33 unequal: No Solution
Exploring Operation: 80*4=320, Resulting Numbers: [320]
320,33 unequal: No Solution
Moving to Node #0,3,1
Current State: 33:[13, 89], Operations: ['87-74=13', '9+80=89']
Exploring Operation: 89-13=76, Resulting Numbers: [76]
76,33 unequal: No Solution
Exploring Operation: 13*89=1157, Resulting Numbers: [1157]
1157,33 unequal: No Solution
Exploring Operation: 13+89=102, Resulting Numbers: [102]
102,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[87, 9, 6], Operations: ['80-74=6']
Exploring Operation: 87-9=78, Resulting Numbers: [6, 78]
Generated Node #0,0,0: 33:[6, 78] Operation: 87-9=78
Exploring Operation: 9-6=3, Resulting Numbers: [87, 3]
Generated Node #0,0,1: 33:[87, 3] Operation: 9-6=3
Exploring Operation: 9+6=15, Resulting Numbers: [87, 15]
Generated Node #0,0,2: 33:[87, 15] Operation: 9+6=15
Exploring Operation: 87-6=81, Resulting Numbers: [9, 81]
Generated Node #0,0,3: 33:[9, 81] Operation: 87-6=81
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 33:[6, 78], Operations: ['80-74=6', '87-9=78']
Exploring Operation: 6*78=468, Resulting Numbers: [468]
468,33 unequal: No Solution
Exploring Operation: 78-6=72, Resulting Numbers: [72]
72,33 unequal: No Solution
Exploring Operation: 78/6=13, Resulting Numbers: [13]
13,33 unequal: No Solution
Exploring Operation: 6+78=84, Resulting Numbers: [84]
84,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 33:[9, 81], Operations: ['80-74=6', '87-6=81']
Exploring Operation: 9*81=729, Resulting Numbers: [729]
729,33 unequal: No Solution
Exploring Operation: 81/9=9, Resulting Numbers: [9]
9,33 unequal: No Solution
Exploring Operation: 81-9=72, Resulting Numbers: [72]
72,33 unequal: No Solution
Exploring Operation: 9+81=90, Resulting Numbers: [90]
90,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 33:[87, 3], Operations: ['80-74=6', '9-6=3']
Exploring Operation: 87/3=29, Resulting Numbers: [29]
29,33 unequal: No Solution
Exploring Operation: 87+3=90, Resulting Numbers: [90]
90,33 unequal: No Solution
Exploring Operation: 87-3=84, Resulting Numbers: [84]
84,33 unequal: No Solution
Exploring Operation: 87*3=261, Resulting Numbers: [261]
261,33 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 33:[87, 15], Operations: ['80-74=6', '9+6=15']
Exploring Operation: 87*15=1305, Resulting Numbers: [1305]
1305,33 unequal: No Solution
Exploring Operation: 87+15=102, Resulting Numbers: [102]
102,33 unequal: No Solution
Exploring Operation: 87-15=72, Resulting Numbers: [72]
72,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:[74, 80, 78], Operations: ['87-9=78']
Exploring Operation: 80-78=2, Resulting Numbers: [74, 2]
Generated Node #0,1,0: 33:[74, 2] Operation: 80-78=2
Exploring Operation: 74+80=154, Resulting Numbers: [78, 154]
Generated Node #0,1,1: 33:[78, 154] Operation: 74+80=154
Exploring Operation: 80-74=6, Resulting Numbers: [78, 6]
Generated Node #0,1,2: 33:[78, 6] Operation: 80-74=6
Exploring Operation: 78-74=4, Resulting Numbers: [80, 4]
Generated Node #0,1,3: 33:[80, 4] Operation: 78-74=4
Moving to Node #0,1,0
Current State: 33:[74, 2], Operations: ['87-9=78', '80-78=2']
Exploring Operation: 74/2=37, Resulting Numbers: [37]
37,33 unequal: No Solution
Exploring Operation: 74*2=148, Resulting Numbers: [148]
148,33 unequal: No Solution
Exploring Operation: 74-2=72, Resulting Numbers: [72]
72,33 unequal: No Solution
Exploring Operation: 74+2=76, Resulting Numbers: [76]
76,33 unequal: No Solution
Moving to Node #0,1,3
Current State: 33:[80, 4], Operations: ['87-9=78', '78-74=4']
Exploring Operation: 80+4=84, Resulting Numbers: [84]
84,33 unequal: No Solution
Exploring Operation: 80-4=76, Resulting Numbers: [76]
76,33 unequal: No Solution
Exploring Operation: 80/4=20, Resulting Numbers: [20]
20,33 unequal: No Solution
Exploring Operation: 80*4=320, Resulting Numbers: [320]
320,33 unequal: No Solution
Moving to Node #0,1,2
Current State: 33:[78, 6], Operations: ['87-9=78', '80-74=6']
Exploring Operation: 78/6=13, Resulting Numbers: [13]
13,33 unequal: No Solution
Exploring Operation: 78*6=468, Resulting Numbers: [468]
468,33 unequal: No Solution
Exploring Operation: 78+6=84, Resulting Numbers: [84]
84,33 unequal: No Solution
Exploring Operation: 78-6=72, Resulting Numbers: [72]
72,33 unequal: No Solution
Moving to Node #0,1,1
Current State: 33:[78, 154], Operations: ['87-9=78', '74+80=154']
Exploring Operation: 78+154=232, Resulting Numbers: [232]
232,33 unequal: No Solution
Exploring Operation: 154-78=76, Resulting Numbers: [76]
76,33 unequal: No Solution
Exploring Operation: 78*154=12012, Resulting Numbers: [12012]
12012,33 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
17,
87,
5,
34
] | 29 | [
"34/17=2",
"5-2=3",
"87/3=29"
] | Current State: 29:[17, 87, 5, 34], Operations: []
Exploring Operation: 34/17=2, Resulting Numbers: [87, 5, 2]
Generated Node #2: [87, 5, 2] from Operation: 34/17=2
Current State: 29:[87, 5, 2], Operations: ['34/17=2']
Exploring Operation: 5-2=3, Resulting Numbers: [87, 3]
Generated Node #3: [87, 3] from Operation: 5-2=3
Current State: 29:[87, 3], Operations: ['34/17=2', '5-2=3']
Exploring Operation: 87/3=29, Resulting Numbers: [29]
29,29 equal: Goal Reached
| 4 | Current State: 29:[17, 87, 5, 34], Operations: []
Exploring Operation: 87-17=70, Resulting Numbers: [5, 34, 70]
Generated Node #0,0: 29:[5, 34, 70] Operation: 87-17=70
Exploring Operation: 87-34=53, Resulting Numbers: [17, 5, 53]
Generated Node #0,1: 29:[17, 5, 53] Operation: 87-34=53
Start Sub Search at level 1: Moving to Node #0,1
Current State: 29:[17, 5, 53], Operations: ['87-34=53']
Exploring Operation: 53-17=36, Resulting Numbers: [5, 36]
Generated Node #0,1,0: 29:[5, 36] Operation: 53-17=36
Exploring Operation: 17+5=22, Resulting Numbers: [53, 22]
Generated Node #0,1,1: 29:[53, 22] Operation: 17+5=22
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 29:[5, 36], Operations: ['87-34=53', '53-17=36']
Exploring Operation: 5+36=41, Resulting Numbers: [41]
41,29 unequal: No Solution
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 29:[53, 22], Operations: ['87-34=53', '17+5=22']
Exploring Operation: 53+22=75, Resulting Numbers: [75]
75,29 unequal: No Solution
Exploring Operation: 53-22=31, Resulting Numbers: [31]
31,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 29:[5, 34, 70], Operations: ['87-17=70']
Exploring Operation: 70/5=14, Resulting Numbers: [34, 14]
Generated Node #0,0,0: 29:[34, 14] Operation: 70/5=14
Exploring Operation: 70-34=36, Resulting Numbers: [5, 36]
Generated Node #0,0,1: 29:[5, 36] Operation: 70-34=36
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 29:[34, 14], Operations: ['87-17=70', '70/5=14']
Exploring Operation: 34-14=20, Resulting Numbers: [20]
20,29 unequal: No Solution
Exploring Operation: 34+14=48, Resulting Numbers: [48]
48,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 29:[5, 36], Operations: ['87-17=70', '70-34=36']
Exploring Operation: 5+36=41, Resulting Numbers: [41]
41,29 unequal: No Solution
Exploring Operation: 36-5=31, Resulting Numbers: [31]
31,29 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
31,
67,
15,
98
] | 47 | [
"67-31=36",
"98-15=83",
"83-36=47"
] | Current State: 47:[31, 67, 15, 98], Operations: []
Exploring Operation: 67-31=36, Resulting Numbers: [15, 98, 36]
Generated Node #2: [15, 98, 36] from Operation: 67-31=36
Current State: 47:[15, 98, 36], Operations: ['67-31=36']
Exploring Operation: 98-15=83, Resulting Numbers: [36, 83]
Generated Node #3: [36, 83] from Operation: 98-15=83
Current State: 47:[36, 83], Operations: ['67-31=36', '98-15=83']
Exploring Operation: 83-36=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[31, 67, 15, 98], Operations: []
Exploring Operation: 31+15=46, Resulting Numbers: [67, 98, 46]
Generated Node #0,0: 47:[67, 98, 46] Operation: 31+15=46
Exploring Operation: 67-15=52, Resulting Numbers: [31, 98, 52]
Generated Node #0,1: 47:[31, 98, 52] Operation: 67-15=52
Exploring Operation: 98-67=31, Resulting Numbers: [31, 15, 31]
Generated Node #0,2: 47:[31, 15, 31] Operation: 98-67=31
Exploring Operation: 98-31=67, Resulting Numbers: [67, 15, 67]
Generated Node #0,3: 47:[67, 15, 67] Operation: 98-31=67
Start Sub Search at level 1: Moving to Node #0,2
Current State: 47:[31, 15, 31], Operations: ['98-67=31']
Exploring Operation: 31-15=16, Resulting Numbers: [31, 16]
Generated Node #0,2,0: 47:[31, 16] Operation: 31-15=16
Exploring Operation: 31+15=46, Resulting Numbers: [31, 46]
Generated Node #0,2,1: 47:[31, 46] Operation: 31+15=46
Exploring Operation: 31+31=62, Resulting Numbers: [15, 62]
Generated Node #0,2,2: 47:[15, 62] Operation: 31+31=62
Exploring Operation: 15+31=46, Resulting Numbers: [31, 46]
Generated Node #0,2,3: 47:[31, 46] Operation: 15+31=46
Moving to Node #0,2,1
Current State: 47:[31, 46], Operations: ['98-67=31', '31+15=46']
Exploring Operation: 46-31=15, Resulting Numbers: [15]
15,47 unequal: No Solution
Exploring Operation: 31+46=77, Resulting Numbers: [77]
77,47 unequal: No Solution
Exploring Operation: 31*46=1426, Resulting Numbers: [1426]
1426,47 unequal: No Solution
Moving to Node #0,2,3
Current State: 47:[31, 46], Operations: ['98-67=31', '15+31=46']
Exploring Operation: 46-31=15, Resulting Numbers: [15]
15,47 unequal: No Solution
Exploring Operation: 31*46=1426, Resulting Numbers: [1426]
1426,47 unequal: No Solution
Exploring Operation: 31+46=77, Resulting Numbers: [77]
77,47 unequal: No Solution
Moving to Node #0,2,2
Current State: 47:[15, 62], Operations: ['98-67=31', '31+31=62']
Exploring Operation: 15*62=930, Resulting Numbers: [930]
930,47 unequal: No Solution
Exploring Operation: 62-15=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Moving to Node #0
Current State: 47:[31, 67, 15, 98], Operations: []
Exploring Operation: 98-67=31, Resulting Numbers: [31, 15, 31]
Generated Node #0,2: 47:[31, 15, 31] Operation: 98-67=31
Moving to Node #0,2
Current State: 47:[31, 15, 31], Operations: ['98-67=31']
Exploring Operation: 31+31=62, Resulting Numbers: [15, 62]
Generated Node #0,2,2: 47:[15, 62] Operation: 31+31=62
Moving to Node #0,2,2
Current State: 47:[15, 62], Operations: ['98-67=31', '31+31=62']
Exploring Operation: 62-15=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | sum_heuristic |
[
58,
8,
96,
29
] | 40 | [
"58/29=2",
"96/2=48",
"48-8=40"
] | Current State: 40:[58, 8, 96, 29], Operations: []
Exploring Operation: 58/29=2, Resulting Numbers: [8, 96, 2]
Generated Node #2: [8, 96, 2] from Operation: 58/29=2
Current State: 40:[8, 96, 2], Operations: ['58/29=2']
Exploring Operation: 96/2=48, Resulting Numbers: [8, 48]
Generated Node #3: [8, 48] from Operation: 96/2=48
Current State: 40:[8, 48], Operations: ['58/29=2', '96/2=48']
Exploring Operation: 48-8=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[58, 8, 96, 29], Operations: []
Exploring Operation: 96-58=38, Resulting Numbers: [8, 29, 38]
Generated Node #0,0: 40:[8, 29, 38] Operation: 96-58=38
Moving to Node #0,0
Current State: 40:[8, 29, 38], Operations: ['96-58=38']
Exploring Operation: 38-29=9, Resulting Numbers: [8, 9]
Generated Node #0,0,0: 40:[8, 9] Operation: 38-29=9
Moving to Node #0,0,0
Current State: 40:[8, 9], Operations: ['96-58=38', '38-29=9']
Exploring Operation: 9-8=1, Resulting Numbers: [1]
1,40 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
17,
15,
98,
26
] | 88 | [
"15*98=1470",
"26+1470=1496",
"1496/17=88"
] | Current State: 88:[17, 15, 98, 26], Operations: []
Exploring Operation: 15*98=1470, Resulting Numbers: [17, 26, 1470]
Generated Node #2: [17, 26, 1470] from Operation: 15*98=1470
Current State: 88:[17, 26, 1470], Operations: ['15*98=1470']
Exploring Operation: 26+1470=1496, Resulting Numbers: [17, 1496]
Generated Node #3: [17, 1496] from Operation: 26+1470=1496
Current State: 88:[17, 1496], Operations: ['15*98=1470', '26+1470=1496']
Exploring Operation: 1496/17=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[17, 15, 98, 26], Operations: []
Exploring Operation: 98-15=83, Resulting Numbers: [17, 26, 83]
Generated Node #0,0: 88:[17, 26, 83] Operation: 98-15=83
Exploring Operation: 17-15=2, Resulting Numbers: [98, 26, 2]
Generated Node #0,1: 88:[98, 26, 2] Operation: 17-15=2
Moving to Node #0,0
Current State: 88:[17, 26, 83], Operations: ['98-15=83']
Exploring Operation: 26-17=9, Resulting Numbers: [83, 9]
Generated Node #0,0,0: 88:[83, 9] Operation: 26-17=9
Exploring Operation: 17+26=43, Resulting Numbers: [83, 43]
Generated Node #0,0,1: 88:[83, 43] Operation: 17+26=43
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 88:[83, 9], Operations: ['98-15=83', '26-17=9']
Exploring Operation: 83+9=92, Resulting Numbers: [92]
92,88 unequal: No Solution
Exploring Operation: 83-9=74, Resulting Numbers: [74]
74,88 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 88:[83, 43], Operations: ['98-15=83', '17+26=43']
Exploring Operation: 83-43=40, Resulting Numbers: [40]
40,88 unequal: No Solution
Exploring Operation: 83+43=126, Resulting Numbers: [126]
126,88 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: 88:[98, 26, 2], Operations: ['17-15=2']
Exploring Operation: 98-2=96, Resulting Numbers: [26, 96]
Generated Node #0,1,0: 88:[26, 96] Operation: 98-2=96
Exploring Operation: 98/2=49, Resulting Numbers: [26, 49]
Generated Node #0,1,1: 88:[26, 49] Operation: 98/2=49
Moving to Node #0,1,1
Current State: 88:[26, 49], Operations: ['17-15=2', '98/2=49']
Exploring Operation: 49-26=23, Resulting Numbers: [23]
23,88 unequal: No Solution
Exploring Operation: 26+49=75, Resulting Numbers: [75]
75,88 unequal: No Solution
Moving to Node #0,1,0
Current State: 88:[26, 96], Operations: ['17-15=2', '98-2=96']
Exploring Operation: 96-26=70, Resulting Numbers: [70]
70,88 unequal: No Solution
Exploring Operation: 26+96=122, Resulting Numbers: [122]
122,88 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
16,
27,
7,
75
] | 39 | [
"16+27=43",
"7+75=82",
"82-43=39"
] | Current State: 39:[16, 27, 7, 75], Operations: []
Exploring Operation: 16+27=43, Resulting Numbers: [7, 75, 43]
Generated Node #2: [7, 75, 43] from Operation: 16+27=43
Current State: 39:[7, 75, 43], Operations: ['16+27=43']
Exploring Operation: 7+75=82, Resulting Numbers: [43, 82]
Generated Node #3: [43, 82] from Operation: 7+75=82
Current State: 39:[43, 82], Operations: ['16+27=43', '7+75=82']
Exploring Operation: 82-43=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[16, 27, 7, 75], Operations: []
Exploring Operation: 27-16=11, Resulting Numbers: [7, 75, 11]
Generated Node #0,0: 39:[7, 75, 11] Operation: 27-16=11
Exploring Operation: 16+27=43, Resulting Numbers: [7, 75, 43]
Generated Node #0,1: 39:[7, 75, 43] Operation: 16+27=43
Exploring Operation: 75-27=48, Resulting Numbers: [16, 7, 48]
Generated Node #0,2: 39:[16, 7, 48] Operation: 75-27=48
Exploring Operation: 75-16=59, Resulting Numbers: [27, 7, 59]
Generated Node #0,3: 39:[27, 7, 59] Operation: 75-16=59
Moving to Node #0,2
Current State: 39:[16, 7, 48], Operations: ['75-27=48']
Exploring Operation: 48-16=32, Resulting Numbers: [7, 32]
Generated Node #0,2,0: 39:[7, 32] Operation: 48-16=32
Exploring Operation: 16-7=9, Resulting Numbers: [48, 9]
Generated Node #0,2,1: 39:[48, 9] Operation: 16-7=9
Exploring Operation: 48-7=41, Resulting Numbers: [16, 41]
Generated Node #0,2,2: 39:[16, 41] Operation: 48-7=41
Exploring Operation: 48/16=3, Resulting Numbers: [7, 3]
Generated Node #0,2,3: 39:[7, 3] Operation: 48/16=3
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 39:[7, 3], Operations: ['75-27=48', '48/16=3']
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,39 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,39 unequal: No Solution
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 39:[16, 41], Operations: ['75-27=48', '48-7=41']
Exploring Operation: 16*41=656, Resulting Numbers: [656]
656,39 unequal: No Solution
Exploring Operation: 41-16=25, Resulting Numbers: [25]
25,39 unequal: No Solution
Exploring Operation: 16+41=57, Resulting Numbers: [57]
57,39 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 39:[7, 32], Operations: ['75-27=48', '48-16=32']
Exploring Operation: 7+32=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[16, 27, 7, 75], Operations: []
Exploring Operation: 75-27=48, Resulting Numbers: [16, 7, 48]
Generated Node #0,2: 39:[16, 7, 48] Operation: 75-27=48
Moving to Node #0,2
Current State: 39:[16, 7, 48], Operations: ['75-27=48']
Exploring Operation: 48-16=32, Resulting Numbers: [7, 32]
Generated Node #0,2,0: 39:[7, 32] Operation: 48-16=32
Moving to Node #0,2,0
Current State: 39:[7, 32], Operations: ['75-27=48', '48-16=32']
Exploring Operation: 7+32=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | sum_heuristic |
[
14,
2,
30,
45
] | 11 | [
"30/2=15",
"45/15=3",
"14-3=11"
] | Current State: 11:[14, 2, 30, 45], Operations: []
Exploring Operation: 30/2=15, Resulting Numbers: [14, 45, 15]
Generated Node #2: [14, 45, 15] from Operation: 30/2=15
Current State: 11:[14, 45, 15], Operations: ['30/2=15']
Exploring Operation: 45/15=3, Resulting Numbers: [14, 3]
Generated Node #3: [14, 3] from Operation: 45/15=3
Current State: 11:[14, 3], Operations: ['30/2=15', '45/15=3']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[14, 2, 30, 45], Operations: []
Exploring Operation: 30-14=16, Resulting Numbers: [2, 45, 16]
Generated Node #0,0: 11:[2, 45, 16] Operation: 30-14=16
Exploring Operation: 30/2=15, Resulting Numbers: [14, 45, 15]
Generated Node #0,1: 11:[14, 45, 15] Operation: 30/2=15
Exploring Operation: 45-30=15, Resulting Numbers: [14, 2, 15]
Generated Node #0,2: 11:[14, 2, 15] Operation: 45-30=15
Start Sub Search at level 1: Moving to Node #0,2
Current State: 11:[14, 2, 15], Operations: ['45-30=15']
Exploring Operation: 14/2=7, Resulting Numbers: [15, 7]
Generated Node #0,2,0: 11:[15, 7] Operation: 14/2=7
Exploring Operation: 14-2=12, Resulting Numbers: [15, 12]
Generated Node #0,2,1: 11:[15, 12] Operation: 14-2=12
Exploring Operation: 15-2=13, Resulting Numbers: [14, 13]
Generated Node #0,2,2: 11:[14, 13] Operation: 15-2=13
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 11:[15, 12], Operations: ['45-30=15', '14-2=12']
Exploring Operation: 15+12=27, Resulting Numbers: [27]
27,11 unequal: No Solution
Exploring Operation: 15-12=3, Resulting Numbers: [3]
3,11 unequal: No Solution
Exploring Operation: 15*12=180, Resulting Numbers: [180]
180,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 11:[14, 13], Operations: ['45-30=15', '15-2=13']
Exploring Operation: 14+13=27, Resulting Numbers: [27]
27,11 unequal: No Solution
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,11 unequal: No Solution
Exploring Operation: 14*13=182, Resulting Numbers: [182]
182,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 11:[15, 7], Operations: ['45-30=15', '14/2=7']
Exploring Operation: 15-7=8, Resulting Numbers: [8]
8,11 unequal: No Solution
Exploring Operation: 15*7=105, Resulting Numbers: [105]
105,11 unequal: No Solution
Exploring Operation: 15+7=22, Resulting Numbers: [22]
22,11 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 11:[14, 45, 15], Operations: ['30/2=15']
Exploring Operation: 45-14=31, Resulting Numbers: [15, 31]
Generated Node #0,1,0: 11:[15, 31] Operation: 45-14=31
Exploring Operation: 45-15=30, Resulting Numbers: [14, 30]
Generated Node #0,1,1: 11:[14, 30] Operation: 45-15=30
Exploring Operation: 45/15=3, Resulting Numbers: [14, 3]
Generated Node #0,1,2: 11:[14, 3] Operation: 45/15=3
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 11:[14, 3], Operations: ['30/2=15', '45/15=3']
Exploring Operation: 14*3=42, Resulting Numbers: [42]
42,11 unequal: No Solution
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[14, 2, 30, 45], Operations: []
Exploring Operation: 30/2=15, Resulting Numbers: [14, 45, 15]
Generated Node #0,1: 11:[14, 45, 15] Operation: 30/2=15
Moving to Node #0,1
Current State: 11:[14, 45, 15], Operations: ['30/2=15']
Exploring Operation: 45/15=3, Resulting Numbers: [14, 3]
Generated Node #0,1,2: 11:[14, 3] Operation: 45/15=3
Moving to Node #0,1,2
Current State: 11:[14, 3], Operations: ['30/2=15', '45/15=3']
Exploring Operation: 14-3=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.979167 | hs_3 | sum_heuristic |
[
4,
43,
32,
50
] | 56 | [
"32/4=8",
"50-43=7",
"8*7=56"
] | Current State: 56:[4, 43, 32, 50], Operations: []
Exploring Operation: 32/4=8, Resulting Numbers: [43, 50, 8]
Generated Node #2: [43, 50, 8] from Operation: 32/4=8
Current State: 56:[43, 50, 8], Operations: ['32/4=8']
Exploring Operation: 50-43=7, Resulting Numbers: [8, 7]
Generated Node #3: [8, 7] from Operation: 50-43=7
Current State: 56:[8, 7], Operations: ['32/4=8', '50-43=7']
Exploring Operation: 8*7=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[4, 43, 32, 50], Operations: []
Exploring Operation: 50-43=7, Resulting Numbers: [4, 32, 7]
Generated Node #0,0: 56:[4, 32, 7] Operation: 50-43=7
Start Sub Search at level 1: Moving to Node #0,0
Current State: 56:[4, 32, 7], Operations: ['50-43=7']
Exploring Operation: 32-4=28, Resulting Numbers: [7, 28]
Generated Node #0,0,0: 56:[7, 28] Operation: 32-4=28
Moving to Node #0,0,0
Current State: 56:[7, 28], Operations: ['50-43=7', '32-4=28']
Exploring Operation: 28/7=4, Resulting Numbers: [4]
4,56 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 |
[
2,
16,
49,
8
] | 89 | [
"2*16=32",
"49+8=57",
"32+57=89"
] | Current State: 89:[2, 16, 49, 8], Operations: []
Exploring Operation: 2*16=32, Resulting Numbers: [49, 8, 32]
Generated Node #2: [49, 8, 32] from Operation: 2*16=32
Current State: 89:[49, 8, 32], Operations: ['2*16=32']
Exploring Operation: 49+8=57, Resulting Numbers: [32, 57]
Generated Node #3: [32, 57] from Operation: 49+8=57
Current State: 89:[32, 57], Operations: ['2*16=32', '49+8=57']
Exploring Operation: 32+57=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[2, 16, 49, 8], Operations: []
Exploring Operation: 2*16=32, Resulting Numbers: [49, 8, 32]
Generated Node #0,0: 89:[49, 8, 32] Operation: 2*16=32
Exploring Operation: 16*8=128, Resulting Numbers: [2, 49, 128]
Generated Node #0,1: 89:[2, 49, 128] Operation: 16*8=128
Exploring Operation: 2*49=98, Resulting Numbers: [16, 8, 98]
Generated Node #0,2: 89:[16, 8, 98] Operation: 2*49=98
Moving to Node #0,2
Current State: 89:[16, 8, 98], Operations: ['2*49=98']
Exploring Operation: 16+8=24, Resulting Numbers: [98, 24]
Generated Node #0,2,0: 89:[98, 24] Operation: 16+8=24
Exploring Operation: 16*8=128, Resulting Numbers: [98, 128]
Generated Node #0,2,1: 89:[98, 128] Operation: 16*8=128
Exploring Operation: 98-8=90, Resulting Numbers: [16, 90]
Generated Node #0,2,2: 89:[16, 90] Operation: 98-8=90
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 89:[98, 128], Operations: ['2*49=98', '16*8=128']
Exploring Operation: 98+128=226, Resulting Numbers: [226]
226,89 unequal: No Solution
Exploring Operation: 128-98=30, Resulting Numbers: [30]
30,89 unequal: No Solution
Exploring Operation: 98*128=12544, Resulting Numbers: [12544]
12544,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 89:[98, 24], Operations: ['2*49=98', '16+8=24']
Exploring Operation: 98+24=122, Resulting Numbers: [122]
122,89 unequal: No Solution
Exploring Operation: 98-24=74, Resulting Numbers: [74]
74,89 unequal: No Solution
Exploring Operation: 98*24=2352, Resulting Numbers: [2352]
2352,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 89:[16, 90], Operations: ['2*49=98', '98-8=90']
Exploring Operation: 16*90=1440, Resulting Numbers: [1440]
1440,89 unequal: No Solution
Exploring Operation: 90-16=74, Resulting Numbers: [74]
74,89 unequal: No Solution
Exploring Operation: 16+90=106, Resulting Numbers: [106]
106,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 89:[2, 49, 128], Operations: ['16*8=128']
Exploring Operation: 2*49=98, Resulting Numbers: [128, 98]
Generated Node #0,1,0: 89:[128, 98] Operation: 2*49=98
Exploring Operation: 128/2=64, Resulting Numbers: [49, 64]
Generated Node #0,1,1: 89:[49, 64] Operation: 128/2=64
Exploring Operation: 2+49=51, Resulting Numbers: [128, 51]
Generated Node #0,1,2: 89:[128, 51] Operation: 2+49=51
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 89:[128, 98], Operations: ['16*8=128', '2*49=98']
Exploring Operation: 128+98=226, Resulting Numbers: [226]
226,89 unequal: No Solution
Exploring Operation: 128-98=30, Resulting Numbers: [30]
30,89 unequal: No Solution
Exploring Operation: 128*98=12544, Resulting Numbers: [12544]
12544,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 89:[49, 64], Operations: ['16*8=128', '128/2=64']
Exploring Operation: 49*64=3136, Resulting Numbers: [3136]
3136,89 unequal: No Solution
Exploring Operation: 64-49=15, Resulting Numbers: [15]
15,89 unequal: No Solution
Exploring Operation: 49+64=113, Resulting Numbers: [113]
113,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 89:[128, 51], Operations: ['16*8=128', '2+49=51']
Exploring Operation: 128*51=6528, Resulting Numbers: [6528]
6528,89 unequal: No Solution
Exploring Operation: 128-51=77, Resulting Numbers: [77]
77,89 unequal: No Solution
Exploring Operation: 128+51=179, Resulting Numbers: [179]
179,89 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: 89:[49, 8, 32], Operations: ['2*16=32']
Exploring Operation: 49+8=57, Resulting Numbers: [32, 57]
Generated Node #0,0,0: 89:[32, 57] Operation: 49+8=57
Exploring Operation: 8+32=40, Resulting Numbers: [49, 40]
Generated Node #0,0,1: 89:[49, 40] Operation: 8+32=40
Exploring Operation: 49+32=81, Resulting Numbers: [8, 81]
Generated Node #0,0,2: 89:[8, 81] Operation: 49+32=81
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 89:[32, 57], Operations: ['2*16=32', '49+8=57']
Exploring Operation: 57-32=25, Resulting Numbers: [25]
25,89 unequal: No Solution
Exploring Operation: 32*57=1824, Resulting Numbers: [1824]
1824,89 unequal: No Solution
Exploring Operation: 32+57=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[2, 16, 49, 8], Operations: []
Exploring Operation: 2*16=32, Resulting Numbers: [49, 8, 32]
Generated Node #0,0: 89:[49, 8, 32] Operation: 2*16=32
Moving to Node #0,0
Current State: 89:[49, 8, 32], Operations: ['2*16=32']
Exploring Operation: 49+8=57, Resulting Numbers: [32, 57]
Generated Node #0,0,0: 89:[32, 57] Operation: 49+8=57
Moving to Node #0,0,0
Current State: 89:[32, 57], Operations: ['2*16=32', '49+8=57']
Exploring Operation: 32+57=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.967882 | hs_3 | sum_heuristic |
[
4,
11,
49,
79
] | 12 | [
"4+49=53",
"79+53=132",
"132/11=12"
] | Current State: 12:[4, 11, 49, 79], Operations: []
Exploring Operation: 4+49=53, Resulting Numbers: [11, 79, 53]
Generated Node #2: [11, 79, 53] from Operation: 4+49=53
Current State: 12:[11, 79, 53], Operations: ['4+49=53']
Exploring Operation: 79+53=132, Resulting Numbers: [11, 132]
Generated Node #3: [11, 132] from Operation: 79+53=132
Current State: 12:[11, 132], Operations: ['4+49=53', '79+53=132']
Exploring Operation: 132/11=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[4, 11, 49, 79], Operations: []
Exploring Operation: 79-49=30, Resulting Numbers: [4, 11, 30]
Generated Node #0,0: 12:[4, 11, 30] Operation: 79-49=30
Exploring Operation: 49-11=38, Resulting Numbers: [4, 79, 38]
Generated Node #0,1: 12:[4, 79, 38] Operation: 49-11=38
Moving to Node #0,0
Current State: 12:[4, 11, 30], Operations: ['79-49=30']
Exploring Operation: 30-11=19, Resulting Numbers: [4, 19]
Generated Node #0,0,0: 12:[4, 19] Operation: 30-11=19
Exploring Operation: 30-4=26, Resulting Numbers: [11, 26]
Generated Node #0,0,1: 12:[11, 26] Operation: 30-4=26
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 12:[4, 19], Operations: ['79-49=30', '30-11=19']
Exploring Operation: 4+19=23, Resulting Numbers: [23]
23,12 unequal: No Solution
Exploring Operation: 19-4=15, Resulting Numbers: [15]
15,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 12:[11, 26], Operations: ['79-49=30', '30-4=26']
Exploring Operation: 11+26=37, Resulting Numbers: [37]
37,12 unequal: No Solution
Exploring Operation: 26-11=15, Resulting Numbers: [15]
15,12 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: 12:[4, 79, 38], Operations: ['49-11=38']
Exploring Operation: 79-4=75, Resulting Numbers: [38, 75]
Generated Node #0,1,0: 12:[38, 75] Operation: 79-4=75
Exploring Operation: 79-38=41, Resulting Numbers: [4, 41]
Generated Node #0,1,1: 12:[4, 41] Operation: 79-38=41
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 12:[4, 41], Operations: ['49-11=38', '79-38=41']
Exploring Operation: 41-4=37, Resulting Numbers: [37]
37,12 unequal: No Solution
Exploring Operation: 4+41=45, Resulting Numbers: [45]
45,12 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 12:[38, 75], Operations: ['49-11=38', '79-4=75']
Exploring Operation: 38+75=113, Resulting Numbers: [113]
113,12 unequal: No Solution
Exploring Operation: 75-38=37, Resulting Numbers: [37]
37,12 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 |
[
34,
19,
66,
39
] | 12 | [
"34-19=15",
"66-39=27",
"27-15=12"
] | Current State: 12:[34, 19, 66, 39], Operations: []
Exploring Operation: 34-19=15, Resulting Numbers: [66, 39, 15]
Generated Node #2: [66, 39, 15] from Operation: 34-19=15
Current State: 12:[66, 39, 15], Operations: ['34-19=15']
Exploring Operation: 66-39=27, Resulting Numbers: [15, 27]
Generated Node #3: [15, 27] from Operation: 66-39=27
Current State: 12:[15, 27], Operations: ['34-19=15', '66-39=27']
Exploring Operation: 27-15=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[34, 19, 66, 39], Operations: []
Exploring Operation: 66-39=27, Resulting Numbers: [34, 19, 27]
Generated Node #0,0: 12:[34, 19, 27] Operation: 66-39=27
Moving to Node #0,0
Current State: 12:[34, 19, 27], Operations: ['66-39=27']
Exploring Operation: 34-27=7, Resulting Numbers: [19, 7]
Generated Node #0,0,0: 12:[19, 7] Operation: 34-27=7
Moving to Node #0,0,0
Current State: 12:[19, 7], Operations: ['66-39=27', '34-27=7']
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[34, 19, 66, 39], Operations: []
Exploring Operation: 66-39=27, Resulting Numbers: [34, 19, 27]
Generated Node #0,0: 12:[34, 19, 27] Operation: 66-39=27
Moving to Node #0,0
Current State: 12:[34, 19, 27], Operations: ['66-39=27']
Exploring Operation: 34-27=7, Resulting Numbers: [19, 7]
Generated Node #0,0,0: 12:[19, 7] Operation: 34-27=7
Moving to Node #0,0,0
Current State: 12:[19, 7], Operations: ['66-39=27', '34-27=7']
Exploring Operation: 19-7=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.