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 |
|---|---|---|---|---|---|---|---|---|
[
78,
61,
41,
86
] | 12 | [
"78+61=139",
"41+86=127",
"139-127=12"
] | Current State: 12:[78, 61, 41, 86], Operations: []
Exploring Operation: 78+61=139, Resulting Numbers: [41, 86, 139]
Generated Node #2: [41, 86, 139] from Operation: 78+61=139
Current State: 12:[41, 86, 139], Operations: ['78+61=139']
Exploring Operation: 41+86=127, Resulting Numbers: [139, 127]
Generated Node #3: [139, 127] from Operation: 41+86=127
Current State: 12:[139, 127], Operations: ['78+61=139', '41+86=127']
Exploring Operation: 139-127=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
| 4 | Current State: 12:[78, 61, 41, 86], Operations: []
Exploring Operation: 86-78=8, Resulting Numbers: [61, 41, 8]
Generated Node #0,0: 12:[61, 41, 8] Operation: 86-78=8
Moving to Node #0,0
Current State: 12:[61, 41, 8], Operations: ['86-78=8']
Exploring Operation: 61-41=20, Resulting Numbers: [8, 20]
Generated Node #0,0,0: 12:[8, 20] Operation: 61-41=20
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 12:[8, 20], Operations: ['86-78=8', '61-41=20']
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Moving to Node #0
Current State: 12:[78, 61, 41, 86], Operations: []
Exploring Operation: 86-78=8, Resulting Numbers: [61, 41, 8]
Generated Node #0,0: 12:[61, 41, 8] Operation: 86-78=8
Moving to Node #0,0
Current State: 12:[61, 41, 8], Operations: ['86-78=8']
Exploring Operation: 61-41=20, Resulting Numbers: [8, 20]
Generated Node #0,0,0: 12:[8, 20] Operation: 61-41=20
Moving to Node #0,0,0
Current State: 12:[8, 20], Operations: ['86-78=8', '61-41=20']
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,12 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
13,
36,
23,
46
] | 26 | [
"13+36=49",
"46-23=23",
"49-23=26"
] | Current State: 26:[13, 36, 23, 46], Operations: []
Exploring Operation: 13+36=49, Resulting Numbers: [23, 46, 49]
Generated Node #2: [23, 46, 49] from Operation: 13+36=49
Current State: 26:[23, 46, 49], Operations: ['13+36=49']
Exploring Operation: 46-23=23, Resulting Numbers: [49, 23]
Generated Node #3: [49, 23] from Operation: 46-23=23
Current State: 26:[49, 23], Operations: ['13+36=49', '46-23=23']
Exploring Operation: 49-23=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[13, 36, 23, 46], Operations: []
Exploring Operation: 46-23=23, Resulting Numbers: [13, 36, 23]
Generated Node #0,0: 26:[13, 36, 23] Operation: 46-23=23
Exploring Operation: 46/23=2, Resulting Numbers: [13, 36, 2]
Generated Node #0,1: 26:[13, 36, 2] Operation: 46/23=2
Exploring Operation: 46-36=10, Resulting Numbers: [13, 23, 10]
Generated Node #0,2: 26:[13, 23, 10] Operation: 46-36=10
Exploring Operation: 46-13=33, Resulting Numbers: [36, 23, 33]
Generated Node #0,3: 26:[36, 23, 33] Operation: 46-13=33
Start Sub Search at level 1: Moving to Node #0,2
Current State: 26:[13, 23, 10], Operations: ['46-36=10']
Exploring Operation: 23-10=13, Resulting Numbers: [13, 13]
Generated Node #0,2,0: 26:[13, 13] Operation: 23-10=13
Exploring Operation: 13-10=3, Resulting Numbers: [23, 3]
Generated Node #0,2,1: 26:[23, 3] Operation: 13-10=3
Exploring Operation: 13+10=23, Resulting Numbers: [23, 23]
Generated Node #0,2,2: 26:[23, 23] Operation: 13+10=23
Exploring Operation: 23-13=10, Resulting Numbers: [10, 10]
Generated Node #0,2,3: 26:[10, 10] Operation: 23-13=10
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 26:[13, 13], Operations: ['46-36=10', '23-10=13']
Exploring Operation: 13+13=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Moving to Node #0
Current State: 26:[13, 36, 23, 46], Operations: []
Exploring Operation: 46-36=10, Resulting Numbers: [13, 23, 10]
Generated Node #0,2: 26:[13, 23, 10] Operation: 46-36=10
Moving to Node #0,2
Current State: 26:[13, 23, 10], Operations: ['46-36=10']
Exploring Operation: 23-10=13, Resulting Numbers: [13, 13]
Generated Node #0,2,0: 26:[13, 13] Operation: 23-10=13
Moving to Node #0,2,0
Current State: 26:[13, 13], Operations: ['46-36=10', '23-10=13']
Exploring Operation: 13+13=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
36,
57,
48,
42
] | 59 | [
"36+48=84",
"84/42=2",
"57+2=59"
] | Current State: 59:[36, 57, 48, 42], Operations: []
Exploring Operation: 36+48=84, Resulting Numbers: [57, 42, 84]
Generated Node #2: [57, 42, 84] from Operation: 36+48=84
Current State: 59:[57, 42, 84], Operations: ['36+48=84']
Exploring Operation: 84/42=2, Resulting Numbers: [57, 2]
Generated Node #3: [57, 2] from Operation: 84/42=2
Current State: 59:[57, 2], Operations: ['36+48=84', '84/42=2']
Exploring Operation: 57+2=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[36, 57, 48, 42], Operations: []
Exploring Operation: 36+42=78, Resulting Numbers: [57, 48, 78]
Generated Node #0,0: 59:[57, 48, 78] Operation: 36+42=78
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[57, 48, 78], Operations: ['36+42=78']
Exploring Operation: 78-48=30, Resulting Numbers: [57, 30]
Generated Node #0,0,0: 59:[57, 30] Operation: 78-48=30
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 59:[57, 30], Operations: ['36+42=78', '78-48=30']
Exploring Operation: 57+30=87, Resulting Numbers: [87]
87,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
63,
34,
52,
41
] | 86 | [
"63+34=97",
"52-41=11",
"97-11=86"
] | Current State: 86:[63, 34, 52, 41], Operations: []
Exploring Operation: 63+34=97, Resulting Numbers: [52, 41, 97]
Generated Node #2: [52, 41, 97] from Operation: 63+34=97
Current State: 86:[52, 41, 97], Operations: ['63+34=97']
Exploring Operation: 52-41=11, Resulting Numbers: [97, 11]
Generated Node #3: [97, 11] from Operation: 52-41=11
Current State: 86:[97, 11], Operations: ['63+34=97', '52-41=11']
Exploring Operation: 97-11=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[63, 34, 52, 41], Operations: []
Exploring Operation: 63-52=11, Resulting Numbers: [34, 41, 11]
Generated Node #0,0: 86:[34, 41, 11] Operation: 63-52=11
Exploring Operation: 34+52=86, Resulting Numbers: [63, 41, 86]
Generated Node #0,1: 86:[63, 41, 86] Operation: 34+52=86
Exploring Operation: 63+34=97, Resulting Numbers: [52, 41, 97]
Generated Node #0,2: 86:[52, 41, 97] Operation: 63+34=97
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[34, 41, 11], Operations: ['63-52=11']
Exploring Operation: 41+11=52, Resulting Numbers: [34, 52]
Generated Node #0,0,0: 86:[34, 52] Operation: 41+11=52
Exploring Operation: 41-34=7, Resulting Numbers: [11, 7]
Generated Node #0,0,1: 86:[11, 7] Operation: 41-34=7
Exploring Operation: 34+11=45, Resulting Numbers: [41, 45]
Generated Node #0,0,2: 86:[41, 45] Operation: 34+11=45
Moving to Node #0,0,2
Current State: 86:[41, 45], Operations: ['63-52=11', '34+11=45']
Exploring Operation: 45-41=4, Resulting Numbers: [4]
4,86 unequal: No Solution
Exploring Operation: 41*45=1845, Resulting Numbers: [1845]
1845,86 unequal: No Solution
Exploring Operation: 41+45=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[63, 34, 52, 41], Operations: []
Exploring Operation: 63-52=11, Resulting Numbers: [34, 41, 11]
Generated Node #0,0: 86:[34, 41, 11] Operation: 63-52=11
Moving to Node #0,0
Current State: 86:[34, 41, 11], Operations: ['63-52=11']
Exploring Operation: 34+11=45, Resulting Numbers: [41, 45]
Generated Node #0,0,2: 86:[41, 45] Operation: 34+11=45
Moving to Node #0,0,2
Current State: 86:[41, 45], Operations: ['63-52=11', '34+11=45']
Exploring Operation: 41+45=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_3 | sum_heuristic |
[
56,
93,
93,
99
] | 31 | [
"93-56=37",
"99-93=6",
"37-6=31"
] | Current State: 31:[56, 93, 93, 99], Operations: []
Exploring Operation: 93-56=37, Resulting Numbers: [99, 37]
Generated Node #2: [99, 37] from Operation: 93-56=37
Current State: 31:[99, 37], Operations: ['93-56=37']
Exploring Operation: 99-93=6, Resulting Numbers: [37, 6]
Generated Node #3: [37, 6] from Operation: 99-93=6
Current State: 31:[37, 6], Operations: ['93-56=37', '99-93=6']
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[56, 93, 93, 99], Operations: []
Exploring Operation: 99-93=6, Resulting Numbers: [56, 93, 6]
Generated Node #0,0: 31:[56, 93, 6] Operation: 99-93=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[56, 93, 6], Operations: ['99-93=6']
Exploring Operation: 93-56=37, Resulting Numbers: [6, 37]
Generated Node #0,0,0: 31:[6, 37] Operation: 93-56=37
Moving to Node #0,0,0
Current State: 31:[6, 37], Operations: ['99-93=6', '93-56=37']
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Moving to Node #0
Current State: 31:[56, 93, 93, 99], Operations: []
Exploring Operation: 99-93=6, Resulting Numbers: [56, 93, 6]
Generated Node #0,0: 31:[56, 93, 6] Operation: 99-93=6
Moving to Node #0,0
Current State: 31:[56, 93, 6], Operations: ['99-93=6']
Exploring Operation: 93-56=37, Resulting Numbers: [6, 37]
Generated Node #0,0,0: 31:[6, 37] Operation: 93-56=37
Moving to Node #0,0,0
Current State: 31:[6, 37], Operations: ['99-93=6', '93-56=37']
Exploring Operation: 37-6=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
55,
57,
16,
67
] | 49 | [
"57-55=2",
"67-16=51",
"51-2=49"
] | Current State: 49:[55, 57, 16, 67], Operations: []
Exploring Operation: 57-55=2, Resulting Numbers: [16, 67, 2]
Generated Node #2: [16, 67, 2] from Operation: 57-55=2
Current State: 49:[16, 67, 2], Operations: ['57-55=2']
Exploring Operation: 67-16=51, Resulting Numbers: [2, 51]
Generated Node #3: [2, 51] from Operation: 67-16=51
Current State: 49:[2, 51], Operations: ['57-55=2', '67-16=51']
Exploring Operation: 51-2=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 4 | Current State: 49:[55, 57, 16, 67], Operations: []
Exploring Operation: 67-16=51, Resulting Numbers: [55, 57, 51]
Generated Node #0,0: 49:[55, 57, 51] Operation: 67-16=51
Exploring Operation: 67-57=10, Resulting Numbers: [55, 16, 10]
Generated Node #0,1: 49:[55, 16, 10] Operation: 67-57=10
Moving to Node #0,0
Current State: 49:[55, 57, 51], Operations: ['67-16=51']
Exploring Operation: 57-51=6, Resulting Numbers: [55, 6]
Generated Node #0,0,0: 49:[55, 6] Operation: 57-51=6
Exploring Operation: 57-55=2, Resulting Numbers: [51, 2]
Generated Node #0,0,1: 49:[51, 2] Operation: 57-55=2
Moving to Node #0,1
Current State: 49:[55, 16, 10], Operations: ['67-57=10']
Exploring Operation: 55-16=39, Resulting Numbers: [10, 39]
Generated Node #0,1,0: 49:[10, 39] Operation: 55-16=39
Exploring Operation: 16-10=6, Resulting Numbers: [55, 6]
Generated Node #0,1,1: 49:[55, 6] Operation: 16-10=6
Moving to Node #0,0,0
Current State: 49:[55, 6], Operations: ['67-16=51', '57-51=6']
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
Moving to Node #0
Current State: 49:[55, 57, 16, 67], Operations: []
Exploring Operation: 67-16=51, Resulting Numbers: [55, 57, 51]
Generated Node #0,0: 49:[55, 57, 51] Operation: 67-16=51
Moving to Node #0,0
Current State: 49:[55, 57, 51], Operations: ['67-16=51']
Exploring Operation: 57-51=6, Resulting Numbers: [55, 6]
Generated Node #0,0,0: 49:[55, 6] Operation: 57-51=6
Moving to Node #0,0,0
Current State: 49:[55, 6], Operations: ['67-16=51', '57-51=6']
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,49 equal: Goal Reached
| 0.990451 | hs_2 | sum_heuristic |
[
67,
59,
15,
65
] | 42 | [
"67-59=8",
"65-15=50",
"50-8=42"
] | Current State: 42:[67, 59, 15, 65], Operations: []
Exploring Operation: 67-59=8, Resulting Numbers: [15, 65, 8]
Generated Node #2: [15, 65, 8] from Operation: 67-59=8
Current State: 42:[15, 65, 8], Operations: ['67-59=8']
Exploring Operation: 65-15=50, Resulting Numbers: [8, 50]
Generated Node #3: [8, 50] from Operation: 65-15=50
Current State: 42:[8, 50], Operations: ['67-59=8', '65-15=50']
Exploring Operation: 50-8=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[67, 59, 15, 65], Operations: []
Exploring Operation: 67-65=2, Resulting Numbers: [59, 15, 2]
Generated Node #0,0: 42:[59, 15, 2] Operation: 67-65=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 42:[59, 15, 2], Operations: ['67-65=2']
Exploring Operation: 59-15=44, Resulting Numbers: [2, 44]
Generated Node #0,0,0: 42:[2, 44] Operation: 59-15=44
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 42:[2, 44], Operations: ['67-65=2', '59-15=44']
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[67, 59, 15, 65], Operations: []
Exploring Operation: 67-65=2, Resulting Numbers: [59, 15, 2]
Generated Node #0,0: 42:[59, 15, 2] Operation: 67-65=2
Moving to Node #0,0
Current State: 42:[59, 15, 2], Operations: ['67-65=2']
Exploring Operation: 59-15=44, Resulting Numbers: [2, 44]
Generated Node #0,0,0: 42:[2, 44] Operation: 59-15=44
Moving to Node #0,0,0
Current State: 42:[2, 44], Operations: ['67-65=2', '59-15=44']
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
68,
43,
51,
14
] | 46 | [
"68+43=111",
"51+14=65",
"111-65=46"
] | Current State: 46:[68, 43, 51, 14], Operations: []
Exploring Operation: 68+43=111, Resulting Numbers: [51, 14, 111]
Generated Node #2: [51, 14, 111] from Operation: 68+43=111
Current State: 46:[51, 14, 111], Operations: ['68+43=111']
Exploring Operation: 51+14=65, Resulting Numbers: [111, 65]
Generated Node #3: [111, 65] from Operation: 51+14=65
Current State: 46:[111, 65], Operations: ['68+43=111', '51+14=65']
Exploring Operation: 111-65=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[68, 43, 51, 14], Operations: []
Exploring Operation: 68-43=25, Resulting Numbers: [51, 14, 25]
Generated Node #0,0: 46:[51, 14, 25] Operation: 68-43=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 46:[51, 14, 25], Operations: ['68-43=25']
Exploring Operation: 51-14=37, Resulting Numbers: [25, 37]
Generated Node #0,0,0: 46:[25, 37] Operation: 51-14=37
Moving to Node #0,0,0
Current State: 46:[25, 37], Operations: ['68-43=25', '51-14=37']
Exploring Operation: 37-25=12, Resulting Numbers: [12]
12,46 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,
52,
45,
50
] | 64 | [
"7+52=59",
"50-45=5",
"59+5=64"
] | Current State: 64:[7, 52, 45, 50], Operations: []
Exploring Operation: 7+52=59, Resulting Numbers: [45, 50, 59]
Generated Node #2: [45, 50, 59] from Operation: 7+52=59
Current State: 64:[45, 50, 59], Operations: ['7+52=59']
Exploring Operation: 50-45=5, Resulting Numbers: [59, 5]
Generated Node #3: [59, 5] from Operation: 50-45=5
Current State: 64:[59, 5], Operations: ['7+52=59', '50-45=5']
Exploring Operation: 59+5=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[7, 52, 45, 50], Operations: []
Exploring Operation: 50-45=5, Resulting Numbers: [7, 52, 5]
Generated Node #0,0: 64:[7, 52, 5] Operation: 50-45=5
Exploring Operation: 52-50=2, Resulting Numbers: [7, 45, 2]
Generated Node #0,1: 64:[7, 45, 2] Operation: 52-50=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[7, 52, 5], Operations: ['50-45=5']
Exploring Operation: 52+5=57, Resulting Numbers: [7, 57]
Generated Node #0,0,0: 64:[7, 57] Operation: 52+5=57
Exploring Operation: 7+52=59, Resulting Numbers: [5, 59]
Generated Node #0,0,1: 64:[5, 59] Operation: 7+52=59
Moving to Node #0,0,1
Current State: 64:[5, 59], Operations: ['50-45=5', '7+52=59']
Exploring Operation: 5+59=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[7, 52, 45, 50], Operations: []
Exploring Operation: 50-45=5, Resulting Numbers: [7, 52, 5]
Generated Node #0,0: 64:[7, 52, 5] Operation: 50-45=5
Moving to Node #0,0
Current State: 64:[7, 52, 5], Operations: ['50-45=5']
Exploring Operation: 7+52=59, Resulting Numbers: [5, 59]
Generated Node #0,0,1: 64:[5, 59] Operation: 7+52=59
Moving to Node #0,0,1
Current State: 64:[5, 59], Operations: ['50-45=5', '7+52=59']
Exploring Operation: 5+59=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
17,
40,
2,
5
] | 50 | [
"17+40=57",
"2+5=7",
"57-7=50"
] | Current State: 50:[17, 40, 2, 5], Operations: []
Exploring Operation: 17+40=57, Resulting Numbers: [2, 5, 57]
Generated Node #2: [2, 5, 57] from Operation: 17+40=57
Current State: 50:[2, 5, 57], Operations: ['17+40=57']
Exploring Operation: 2+5=7, Resulting Numbers: [57, 7]
Generated Node #3: [57, 7] from Operation: 2+5=7
Current State: 50:[57, 7], Operations: ['17+40=57', '2+5=7']
Exploring Operation: 57-7=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
| 4 | Current State: 50:[17, 40, 2, 5], Operations: []
Exploring Operation: 40-17=23, Resulting Numbers: [2, 5, 23]
Generated Node #0,0: 50:[2, 5, 23] Operation: 40-17=23
Exploring Operation: 17+40=57, Resulting Numbers: [2, 5, 57]
Generated Node #0,1: 50:[2, 5, 57] Operation: 17+40=57
Moving to Node #0,0
Current State: 50:[2, 5, 23], Operations: ['40-17=23']
Exploring Operation: 2+23=25, Resulting Numbers: [5, 25]
Generated Node #0,0,0: 50:[5, 25] Operation: 2+23=25
Exploring Operation: 2*5=10, Resulting Numbers: [23, 10]
Generated Node #0,0,1: 50:[23, 10] Operation: 2*5=10
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 50:[5, 25], Operations: ['40-17=23', '2+23=25']
Exploring Operation: 5+25=30, Resulting Numbers: [30]
30,50 unequal: No Solution
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,50 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 50:[23, 10], Operations: ['40-17=23', '2*5=10']
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,50 unequal: No Solution
Exploring Operation: 23+10=33, Resulting Numbers: [33]
33,50 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: 50:[2, 5, 57], Operations: ['17+40=57']
Exploring Operation: 57-2=55, Resulting Numbers: [5, 55]
Generated Node #0,1,0: 50:[5, 55] Operation: 57-2=55
Exploring Operation: 57-5=52, Resulting Numbers: [2, 52]
Generated Node #0,1,1: 50:[2, 52] Operation: 57-5=52
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 50:[2, 52], Operations: ['17+40=57', '57-5=52']
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Moving to Node #0
Current State: 50:[17, 40, 2, 5], Operations: []
Exploring Operation: 17+40=57, Resulting Numbers: [2, 5, 57]
Generated Node #0,1: 50:[2, 5, 57] Operation: 17+40=57
Moving to Node #0,1
Current State: 50:[2, 5, 57], Operations: ['17+40=57']
Exploring Operation: 57-5=52, Resulting Numbers: [2, 52]
Generated Node #0,1,1: 50:[2, 52] Operation: 57-5=52
Moving to Node #0,1,1
Current State: 50:[2, 52], Operations: ['17+40=57', '57-5=52']
Exploring Operation: 52-2=50, Resulting Numbers: [50]
50,50 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | mult_heuristic |
[
71,
91,
41,
81
] | 43 | [
"71+91=162",
"162/81=2",
"41+2=43"
] | Current State: 43:[71, 91, 41, 81], Operations: []
Exploring Operation: 71+91=162, Resulting Numbers: [41, 81, 162]
Generated Node #2: [41, 81, 162] from Operation: 71+91=162
Current State: 43:[41, 81, 162], Operations: ['71+91=162']
Exploring Operation: 162/81=2, Resulting Numbers: [41, 2]
Generated Node #3: [41, 2] from Operation: 162/81=2
Current State: 43:[41, 2], Operations: ['71+91=162', '162/81=2']
Exploring Operation: 41+2=43, Resulting Numbers: [43]
43,43 equal: Goal Reached
| 4 | Current State: 43:[71, 91, 41, 81], Operations: []
Exploring Operation: 91-71=20, Resulting Numbers: [41, 81, 20]
Generated Node #0,0: 43:[41, 81, 20] Operation: 91-71=20
Exploring Operation: 91-81=10, Resulting Numbers: [71, 41, 10]
Generated Node #0,1: 43:[71, 41, 10] Operation: 91-81=10
Exploring Operation: 91-41=50, Resulting Numbers: [71, 81, 50]
Generated Node #0,2: 43:[71, 81, 50] Operation: 91-41=50
Start Sub Search at level 1: Moving to Node #0,0
Current State: 43:[41, 81, 20], Operations: ['91-71=20']
Exploring Operation: 41+20=61, Resulting Numbers: [81, 61]
Generated Node #0,0,0: 43:[81, 61] Operation: 41+20=61
Exploring Operation: 81-20=61, Resulting Numbers: [41, 61]
Generated Node #0,0,1: 43:[41, 61] Operation: 81-20=61
Exploring Operation: 81-41=40, Resulting Numbers: [20, 40]
Generated Node #0,0,2: 43:[20, 40] Operation: 81-41=40
Moving to Node #0,0,1
Current State: 43:[41, 61], Operations: ['91-71=20', '81-20=61']
Exploring Operation: 41*61=2501, Resulting Numbers: [2501]
2501,43 unequal: No Solution
Exploring Operation: 41+61=102, Resulting Numbers: [102]
102,43 unequal: No Solution
Exploring Operation: 61-41=20, Resulting Numbers: [20]
20,43 unequal: No Solution
Moving to Node #0,0,2
Current State: 43:[20, 40], Operations: ['91-71=20', '81-41=40']
Exploring Operation: 20+40=60, Resulting Numbers: [60]
60,43 unequal: No Solution
Exploring Operation: 40/20=2, Resulting Numbers: [2]
2,43 unequal: No Solution
Exploring Operation: 40-20=20, Resulting Numbers: [20]
20,43 unequal: No Solution
Moving to Node #0,0,0
Current State: 43:[81, 61], Operations: ['91-71=20', '41+20=61']
Exploring Operation: 81+61=142, Resulting Numbers: [142]
142,43 unequal: No Solution
Exploring Operation: 81-61=20, Resulting Numbers: [20]
20,43 unequal: No Solution
Exploring Operation: 81*61=4941, Resulting Numbers: [4941]
4941,43 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 43:[71, 41, 10], Operations: ['91-81=10']
Exploring Operation: 71+10=81, Resulting Numbers: [41, 81]
Generated Node #0,1,0: 43:[41, 81] Operation: 71+10=81
Exploring Operation: 71-10=61, Resulting Numbers: [41, 61]
Generated Node #0,1,1: 43:[41, 61] Operation: 71-10=61
Exploring Operation: 41+10=51, Resulting Numbers: [71, 51]
Generated Node #0,1,2: 43:[71, 51] Operation: 41+10=51
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 43:[41, 61], Operations: ['91-81=10', '71-10=61']
Exploring Operation: 61-41=20, Resulting Numbers: [20]
20,43 unequal: No Solution
Exploring Operation: 41*61=2501, Resulting Numbers: [2501]
2501,43 unequal: No Solution
Exploring Operation: 41+61=102, Resulting Numbers: [102]
102,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,2
Current State: 43:[71, 51], Operations: ['91-81=10', '41+10=51']
Exploring Operation: 71+51=122, Resulting Numbers: [122]
122,43 unequal: No Solution
Exploring Operation: 71*51=3621, Resulting Numbers: [3621]
3621,43 unequal: No Solution
Exploring Operation: 71-51=20, Resulting Numbers: [20]
20,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:[41, 81], Operations: ['91-81=10', '71+10=81']
Exploring Operation: 41*81=3321, Resulting Numbers: [3321]
3321,43 unequal: No Solution
Exploring Operation: 41+81=122, Resulting Numbers: [122]
122,43 unequal: No Solution
Exploring Operation: 81-41=40, Resulting Numbers: [40]
40,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,2
Current State: 43:[71, 81, 50], Operations: ['91-41=50']
Exploring Operation: 71-50=21, Resulting Numbers: [81, 21]
Generated Node #0,2,0: 43:[81, 21] Operation: 71-50=21
Exploring Operation: 81-71=10, Resulting Numbers: [50, 10]
Generated Node #0,2,1: 43:[50, 10] Operation: 81-71=10
Exploring Operation: 81-50=31, Resulting Numbers: [71, 31]
Generated Node #0,2,2: 43:[71, 31] Operation: 81-50=31
Moving to Node #0,2,1
Current State: 43:[50, 10], Operations: ['91-41=50', '81-71=10']
Exploring Operation: 50/10=5, Resulting Numbers: [5]
5,43 unequal: No Solution
Exploring Operation: 50-10=40, Resulting Numbers: [40]
40,43 unequal: No Solution
Exploring Operation: 50+10=60, Resulting Numbers: [60]
60,43 unequal: No Solution
Moving to Node #0,2,2
Current State: 43:[71, 31], Operations: ['91-41=50', '81-50=31']
Exploring Operation: 71-31=40, Resulting Numbers: [40]
40,43 unequal: No Solution
Exploring Operation: 71*31=2201, Resulting Numbers: [2201]
2201,43 unequal: No Solution
Exploring Operation: 71+31=102, Resulting Numbers: [102]
102,43 unequal: No Solution
Moving to Node #0,2,0
Current State: 43:[81, 21], Operations: ['91-41=50', '71-50=21']
Exploring Operation: 81-21=60, Resulting Numbers: [60]
60,43 unequal: No Solution
Exploring Operation: 81*21=1701, Resulting Numbers: [1701]
1701,43 unequal: No Solution
Exploring Operation: 81+21=102, Resulting Numbers: [102]
102,43 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 |
[
96,
52,
12,
15
] | 75 | [
"96/12=8",
"52+15=67",
"8+67=75"
] | Current State: 75:[96, 52, 12, 15], Operations: []
Exploring Operation: 96/12=8, Resulting Numbers: [52, 15, 8]
Generated Node #2: [52, 15, 8] from Operation: 96/12=8
Current State: 75:[52, 15, 8], Operations: ['96/12=8']
Exploring Operation: 52+15=67, Resulting Numbers: [8, 67]
Generated Node #3: [8, 67] from Operation: 52+15=67
Current State: 75:[8, 67], Operations: ['96/12=8', '52+15=67']
Exploring Operation: 8+67=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[96, 52, 12, 15], Operations: []
Exploring Operation: 96-52=44, Resulting Numbers: [12, 15, 44]
Generated Node #0,0: 75:[12, 15, 44] Operation: 96-52=44
Exploring Operation: 96-15=81, Resulting Numbers: [52, 12, 81]
Generated Node #0,1: 75:[52, 12, 81] Operation: 96-15=81
Exploring Operation: 96-12=84, Resulting Numbers: [52, 15, 84]
Generated Node #0,2: 75:[52, 15, 84] Operation: 96-12=84
Exploring Operation: 96/12=8, Resulting Numbers: [52, 15, 8]
Generated Node #0,3: 75:[52, 15, 8] Operation: 96/12=8
Moving to Node #0,0
Current State: 75:[12, 15, 44], Operations: ['96-52=44']
Exploring Operation: 44-15=29, Resulting Numbers: [12, 29]
Generated Node #0,0,0: 75:[12, 29] Operation: 44-15=29
Exploring Operation: 15-12=3, Resulting Numbers: [44, 3]
Generated Node #0,0,1: 75:[44, 3] Operation: 15-12=3
Exploring Operation: 44-12=32, Resulting Numbers: [15, 32]
Generated Node #0,0,2: 75:[15, 32] Operation: 44-12=32
Exploring Operation: 12+44=56, Resulting Numbers: [15, 56]
Generated Node #0,0,3: 75:[15, 56] Operation: 12+44=56
Moving to Node #0,3
Current State: 75:[52, 15, 8], Operations: ['96/12=8']
Exploring Operation: 52+15=67, Resulting Numbers: [8, 67]
Generated Node #0,3,0: 75:[8, 67] Operation: 52+15=67
Exploring Operation: 52+8=60, Resulting Numbers: [15, 60]
Generated Node #0,3,1: 75:[15, 60] Operation: 52+8=60
Exploring Operation: 52-15=37, Resulting Numbers: [8, 37]
Generated Node #0,3,2: 75:[8, 37] Operation: 52-15=37
Exploring Operation: 52-8=44, Resulting Numbers: [15, 44]
Generated Node #0,3,3: 75:[15, 44] Operation: 52-8=44
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 75:[8, 67], Operations: ['96/12=8', '52+15=67']
Exploring Operation: 67-8=59, Resulting Numbers: [59]
59,75 unequal: No Solution
Exploring Operation: 8+67=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[96, 52, 12, 15], Operations: []
Exploring Operation: 96/12=8, Resulting Numbers: [52, 15, 8]
Generated Node #0,3: 75:[52, 15, 8] Operation: 96/12=8
Moving to Node #0,3
Current State: 75:[52, 15, 8], Operations: ['96/12=8']
Exploring Operation: 52+15=67, Resulting Numbers: [8, 67]
Generated Node #0,3,0: 75:[8, 67] Operation: 52+15=67
Moving to Node #0,3,0
Current State: 75:[8, 67], Operations: ['96/12=8', '52+15=67']
Exploring Operation: 8+67=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_4 | mult_heuristic |
[
9,
29,
86,
68
] | 56 | [
"9+29=38",
"86-68=18",
"38+18=56"
] | Current State: 56:[9, 29, 86, 68], Operations: []
Exploring Operation: 9+29=38, Resulting Numbers: [86, 68, 38]
Generated Node #2: [86, 68, 38] from Operation: 9+29=38
Current State: 56:[86, 68, 38], Operations: ['9+29=38']
Exploring Operation: 86-68=18, Resulting Numbers: [38, 18]
Generated Node #3: [38, 18] from Operation: 86-68=18
Current State: 56:[38, 18], Operations: ['9+29=38', '86-68=18']
Exploring Operation: 38+18=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[9, 29, 86, 68], Operations: []
Exploring Operation: 86-29=57, Resulting Numbers: [9, 68, 57]
Generated Node #0,0: 56:[9, 68, 57] Operation: 86-29=57
Exploring Operation: 86-68=18, Resulting Numbers: [9, 29, 18]
Generated Node #0,1: 56:[9, 29, 18] Operation: 86-68=18
Exploring Operation: 86-9=77, Resulting Numbers: [29, 68, 77]
Generated Node #0,2: 56:[29, 68, 77] Operation: 86-9=77
Exploring Operation: 68-9=59, Resulting Numbers: [29, 86, 59]
Generated Node #0,3: 56:[29, 86, 59] Operation: 68-9=59
Exploring Operation: 68-29=39, Resulting Numbers: [9, 86, 39]
Generated Node #0,4: 56:[9, 86, 39] Operation: 68-29=39
Start Sub Search at level 1: Moving to Node #0,1
Current State: 56:[9, 29, 18], Operations: ['86-68=18']
Exploring Operation: 18/9=2, Resulting Numbers: [29, 2]
Generated Node #0,1,0: 56:[29, 2] Operation: 18/9=2
Exploring Operation: 29-9=20, Resulting Numbers: [18, 20]
Generated Node #0,1,1: 56:[18, 20] Operation: 29-9=20
Exploring Operation: 18-9=9, Resulting Numbers: [29, 9]
Generated Node #0,1,2: 56:[29, 9] Operation: 18-9=9
Exploring Operation: 29-18=11, Resulting Numbers: [9, 11]
Generated Node #0,1,3: 56:[9, 11] Operation: 29-18=11
Exploring Operation: 9+18=27, Resulting Numbers: [29, 27]
Generated Node #0,1,4: 56:[29, 27] Operation: 9+18=27
Moving to Node #0,1,0
Current State: 56:[29, 2], Operations: ['86-68=18', '18/9=2']
Exploring Operation: 29+2=31, Resulting Numbers: [31]
31,56 unequal: No Solution
Exploring Operation: 29*2=58, Resulting Numbers: [58]
58,56 unequal: No Solution
Exploring Operation: 29-2=27, Resulting Numbers: [27]
27,56 unequal: No Solution
Moving to Node #0,1,4
Current State: 56:[29, 27], Operations: ['86-68=18', '9+18=27']
Exploring Operation: 29*27=783, Resulting Numbers: [783]
783,56 unequal: No Solution
Exploring Operation: 29+27=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[9, 29, 86, 68], Operations: []
Exploring Operation: 86-68=18, Resulting Numbers: [9, 29, 18]
Generated Node #0,1: 56:[9, 29, 18] Operation: 86-68=18
Moving to Node #0,1
Current State: 56:[9, 29, 18], Operations: ['86-68=18']
Exploring Operation: 9+18=27, Resulting Numbers: [29, 27]
Generated Node #0,1,4: 56:[29, 27] Operation: 9+18=27
Moving to Node #0,1,4
Current State: 56:[29, 27], Operations: ['86-68=18', '9+18=27']
Exploring Operation: 29+27=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_5 | sum_heuristic |
[
28,
15,
40,
60
] | 57 | [
"28+15=43",
"40+60=100",
"100-43=57"
] | Current State: 57:[28, 15, 40, 60], Operations: []
Exploring Operation: 28+15=43, Resulting Numbers: [40, 60, 43]
Generated Node #2: [40, 60, 43] from Operation: 28+15=43
Current State: 57:[40, 60, 43], Operations: ['28+15=43']
Exploring Operation: 40+60=100, Resulting Numbers: [43, 100]
Generated Node #3: [43, 100] from Operation: 40+60=100
Current State: 57:[43, 100], Operations: ['28+15=43', '40+60=100']
Exploring Operation: 100-43=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[28, 15, 40, 60], Operations: []
Exploring Operation: 15+40=55, Resulting Numbers: [28, 60, 55]
Generated Node #0,0: 57:[28, 60, 55] Operation: 15+40=55
Exploring Operation: 40-28=12, Resulting Numbers: [15, 60, 12]
Generated Node #0,1: 57:[15, 60, 12] Operation: 40-28=12
Exploring Operation: 60-40=20, Resulting Numbers: [28, 15, 20]
Generated Node #0,2: 57:[28, 15, 20] Operation: 60-40=20
Start Sub Search at level 1: Moving to Node #0,0
Current State: 57:[28, 60, 55], Operations: ['15+40=55']
Exploring Operation: 60-28=32, Resulting Numbers: [55, 32]
Generated Node #0,0,0: 57:[55, 32] Operation: 60-28=32
Exploring Operation: 60-55=5, Resulting Numbers: [28, 5]
Generated Node #0,0,1: 57:[28, 5] Operation: 60-55=5
Exploring Operation: 55-28=27, Resulting Numbers: [60, 27]
Generated Node #0,0,2: 57:[60, 27] Operation: 55-28=27
Moving to Node #0,0,1
Current State: 57:[28, 5], Operations: ['15+40=55', '60-55=5']
Exploring Operation: 28*5=140, Resulting Numbers: [140]
140,57 unequal: No Solution
Exploring Operation: 28+5=33, Resulting Numbers: [33]
33,57 unequal: No Solution
Exploring Operation: 28-5=23, Resulting Numbers: [23]
23,57 unequal: No Solution
Moving to Node #0,0,2
Current State: 57:[60, 27], Operations: ['15+40=55', '55-28=27']
Exploring Operation: 60*27=1620, Resulting Numbers: [1620]
1620,57 unequal: No Solution
Exploring Operation: 60+27=87, Resulting Numbers: [87]
87,57 unequal: No Solution
Exploring Operation: 60-27=33, Resulting Numbers: [33]
33,57 unequal: No Solution
Moving to Node #0,0,0
Current State: 57:[55, 32], Operations: ['15+40=55', '60-28=32']
Exploring Operation: 55+32=87, Resulting Numbers: [87]
87,57 unequal: No Solution
Exploring Operation: 55-32=23, Resulting Numbers: [23]
23,57 unequal: No Solution
Exploring Operation: 55*32=1760, Resulting Numbers: [1760]
1760,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
Current State: 57:[15, 60, 12], Operations: ['40-28=12']
Exploring Operation: 60/15=4, Resulting Numbers: [12, 4]
Generated Node #0,1,0: 57:[12, 4] Operation: 60/15=4
Exploring Operation: 60/12=5, Resulting Numbers: [15, 5]
Generated Node #0,1,1: 57:[15, 5] Operation: 60/12=5
Exploring Operation: 15-12=3, Resulting Numbers: [60, 3]
Generated Node #0,1,2: 57:[60, 3] Operation: 15-12=3
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 57:[60, 3], Operations: ['40-28=12', '15-12=3']
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[28, 15, 40, 60], Operations: []
Exploring Operation: 40-28=12, Resulting Numbers: [15, 60, 12]
Generated Node #0,1: 57:[15, 60, 12] Operation: 40-28=12
Moving to Node #0,1
Current State: 57:[15, 60, 12], Operations: ['40-28=12']
Exploring Operation: 15-12=3, Resulting Numbers: [60, 3]
Generated Node #0,1,2: 57:[60, 3] Operation: 15-12=3
Moving to Node #0,1,2
Current State: 57:[60, 3], Operations: ['40-28=12', '15-12=3']
Exploring Operation: 60-3=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.980035 | hs_3 | sum_heuristic |
[
45,
42,
51,
98
] | 55 | [
"45-42=3",
"51*3=153",
"153-98=55"
] | Current State: 55:[45, 42, 51, 98], Operations: []
Exploring Operation: 45-42=3, Resulting Numbers: [51, 98, 3]
Generated Node #2: [51, 98, 3] from Operation: 45-42=3
Current State: 55:[51, 98, 3], Operations: ['45-42=3']
Exploring Operation: 51*3=153, Resulting Numbers: [98, 153]
Generated Node #3: [98, 153] from Operation: 51*3=153
Current State: 55:[98, 153], Operations: ['45-42=3', '51*3=153']
Exploring Operation: 153-98=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[45, 42, 51, 98], Operations: []
Exploring Operation: 98-42=56, Resulting Numbers: [45, 51, 56]
Generated Node #0,0: 55:[45, 51, 56] Operation: 98-42=56
Exploring Operation: 51-42=9, Resulting Numbers: [45, 98, 9]
Generated Node #0,1: 55:[45, 98, 9] Operation: 51-42=9
Exploring Operation: 98-51=47, Resulting Numbers: [45, 42, 47]
Generated Node #0,2: 55:[45, 42, 47] Operation: 98-51=47
Exploring Operation: 45-42=3, Resulting Numbers: [51, 98, 3]
Generated Node #0,3: 55:[51, 98, 3] Operation: 45-42=3
Exploring Operation: 98-45=53, Resulting Numbers: [42, 51, 53]
Generated Node #0,4: 55:[42, 51, 53] Operation: 98-45=53
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[45, 51, 56], Operations: ['98-42=56']
Exploring Operation: 51-45=6, Resulting Numbers: [56, 6]
Generated Node #0,0,0: 55:[56, 6] Operation: 51-45=6
Exploring Operation: 45+56=101, Resulting Numbers: [51, 101]
Generated Node #0,0,1: 55:[51, 101] Operation: 45+56=101
Exploring Operation: 45+51=96, Resulting Numbers: [56, 96]
Generated Node #0,0,2: 55:[56, 96] Operation: 45+51=96
Exploring Operation: 56-45=11, Resulting Numbers: [51, 11]
Generated Node #0,0,3: 55:[51, 11] Operation: 56-45=11
Exploring Operation: 56-51=5, Resulting Numbers: [45, 5]
Generated Node #0,0,4: 55:[45, 5] Operation: 56-51=5
Moving to Node #0,0,0
Current State: 55:[56, 6], Operations: ['98-42=56', '51-45=6']
Exploring Operation: 56*6=336, Resulting Numbers: [336]
336,55 unequal: No Solution
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,55 unequal: No Solution
Exploring Operation: 56+6=62, Resulting Numbers: [62]
62,55 unequal: No Solution
Moving to Node #0,0,3
Current State: 55:[51, 11], Operations: ['98-42=56', '56-45=11']
Exploring Operation: 51+11=62, Resulting Numbers: [62]
62,55 unequal: No Solution
Exploring Operation: 51*11=561, Resulting Numbers: [561]
561,55 unequal: No Solution
Exploring Operation: 51-11=40, Resulting Numbers: [40]
40,55 unequal: No Solution
Moving to Node #0,0,4
Current State: 55:[45, 5], Operations: ['98-42=56', '56-51=5']
Exploring Operation: 45+5=50, Resulting Numbers: [50]
50,55 unequal: No Solution
Exploring Operation: 45*5=225, Resulting Numbers: [225]
225,55 unequal: No Solution
Exploring Operation: 45/5=9, Resulting Numbers: [9]
9,55 unequal: No Solution
Exploring Operation: 45-5=40, Resulting Numbers: [40]
40,55 unequal: No Solution
Moving to Node #0,0,2
Current State: 55:[56, 96], Operations: ['98-42=56', '45+51=96']
Exploring Operation: 96-56=40, Resulting Numbers: [40]
40,55 unequal: No Solution
Exploring Operation: 56*96=5376, Resulting Numbers: [5376]
5376,55 unequal: No Solution
Exploring Operation: 56+96=152, Resulting Numbers: [152]
152,55 unequal: No Solution
Moving to Node #0,0,1
Current State: 55:[51, 101], Operations: ['98-42=56', '45+56=101']
Exploring Operation: 51*101=5151, Resulting Numbers: [5151]
5151,55 unequal: No Solution
Exploring Operation: 51+101=152, Resulting Numbers: [152]
152,55 unequal: No Solution
Exploring Operation: 101-51=50, Resulting Numbers: [50]
50,55 unequal: No Solution
No 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: 55:[42, 51, 53], Operations: ['98-45=53']
Exploring Operation: 51-42=9, Resulting Numbers: [53, 9]
Generated Node #0,4,0: 55:[53, 9] Operation: 51-42=9
Exploring Operation: 42+53=95, Resulting Numbers: [51, 95]
Generated Node #0,4,1: 55:[51, 95] Operation: 42+53=95
Exploring Operation: 53-42=11, Resulting Numbers: [51, 11]
Generated Node #0,4,2: 55:[51, 11] Operation: 53-42=11
Exploring Operation: 53-51=2, Resulting Numbers: [42, 2]
Generated Node #0,4,3: 55:[42, 2] Operation: 53-51=2
Exploring Operation: 42+51=93, Resulting Numbers: [53, 93]
Generated Node #0,4,4: 55:[53, 93] Operation: 42+51=93
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 55:[53, 9], Operations: ['98-45=53', '51-42=9']
Exploring Operation: 53-9=44, Resulting Numbers: [44]
44,55 unequal: No Solution
Exploring Operation: 53+9=62, Resulting Numbers: [62]
62,55 unequal: No Solution
Exploring Operation: 53*9=477, Resulting Numbers: [477]
477,55 unequal: No Solution
No 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: 55:[51, 11], Operations: ['98-45=53', '53-42=11']
Exploring Operation: 51*11=561, Resulting Numbers: [561]
561,55 unequal: No Solution
Exploring Operation: 51-11=40, Resulting Numbers: [40]
40,55 unequal: No Solution
Exploring Operation: 51+11=62, Resulting Numbers: [62]
62,55 unequal: No Solution
No 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: 55:[42, 2], Operations: ['98-45=53', '53-51=2']
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,55 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,55 unequal: No Solution
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,55 unequal: No Solution
Exploring Operation: 42+2=44, Resulting Numbers: [44]
44,55 unequal: No Solution
No 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: 55:[53, 93], Operations: ['98-45=53', '42+51=93']
Exploring Operation: 53+93=146, Resulting Numbers: [146]
146,55 unequal: No Solution
Exploring Operation: 53*93=4929, Resulting Numbers: [4929]
4929,55 unequal: No Solution
Exploring Operation: 93-53=40, Resulting Numbers: [40]
40,55 unequal: No Solution
No 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: 55:[51, 95], Operations: ['98-45=53', '42+53=95']
Exploring Operation: 51+95=146, Resulting Numbers: [146]
146,55 unequal: No Solution
Exploring Operation: 95-51=44, Resulting Numbers: [44]
44,55 unequal: No Solution
Exploring Operation: 51*95=4845, Resulting Numbers: [4845]
4845,55 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: 55:[45, 42, 47], Operations: ['98-51=47']
Exploring Operation: 47-42=5, Resulting Numbers: [45, 5]
Generated Node #0,2,0: 55:[45, 5] Operation: 47-42=5
Exploring Operation: 45-42=3, Resulting Numbers: [47, 3]
Generated Node #0,2,1: 55:[47, 3] Operation: 45-42=3
Exploring Operation: 42+47=89, Resulting Numbers: [45, 89]
Generated Node #0,2,2: 55:[45, 89] Operation: 42+47=89
Exploring Operation: 45+42=87, Resulting Numbers: [47, 87]
Generated Node #0,2,3: 55:[47, 87] Operation: 45+42=87
Exploring Operation: 47-45=2, Resulting Numbers: [42, 2]
Generated Node #0,2,4: 55:[42, 2] Operation: 47-45=2
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 55:[45, 5], Operations: ['98-51=47', '47-42=5']
Exploring Operation: 45-5=40, Resulting Numbers: [40]
40,55 unequal: No Solution
Exploring Operation: 45+5=50, Resulting Numbers: [50]
50,55 unequal: No Solution
Exploring Operation: 45/5=9, Resulting Numbers: [9]
9,55 unequal: No Solution
Exploring Operation: 45*5=225, Resulting Numbers: [225]
225,55 unequal: No Solution
No 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: 55:[47, 3], Operations: ['98-51=47', '45-42=3']
Exploring Operation: 47+3=50, Resulting Numbers: [50]
50,55 unequal: No Solution
Exploring Operation: 47*3=141, Resulting Numbers: [141]
141,55 unequal: No Solution
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,55 unequal: No Solution
No 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: 55:[42, 2], Operations: ['98-51=47', '47-45=2']
Exploring Operation: 42*2=84, Resulting Numbers: [84]
84,55 unequal: No Solution
Exploring Operation: 42+2=44, Resulting Numbers: [44]
44,55 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,55 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,55 unequal: No Solution
No 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: 55:[47, 87], Operations: ['98-51=47', '45+42=87']
Exploring Operation: 47+87=134, Resulting Numbers: [134]
134,55 unequal: No Solution
Exploring Operation: 47*87=4089, Resulting Numbers: [4089]
4089,55 unequal: No Solution
Exploring Operation: 87-47=40, Resulting Numbers: [40]
40,55 unequal: No Solution
No 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: 55:[45, 89], Operations: ['98-51=47', '42+47=89']
Exploring Operation: 45*89=4005, Resulting Numbers: [4005]
4005,55 unequal: No Solution
Exploring Operation: 89-45=44, Resulting Numbers: [44]
44,55 unequal: No Solution
Exploring Operation: 45+89=134, Resulting Numbers: [134]
134,55 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: 55:[51, 98, 3], Operations: ['45-42=3']
Exploring Operation: 51/3=17, Resulting Numbers: [98, 17]
Generated Node #0,3,0: 55:[98, 17] Operation: 51/3=17
Exploring Operation: 51-3=48, Resulting Numbers: [98, 48]
Generated Node #0,3,1: 55:[98, 48] Operation: 51-3=48
Exploring Operation: 98-3=95, Resulting Numbers: [51, 95]
Generated Node #0,3,2: 55:[51, 95] Operation: 98-3=95
Exploring Operation: 98-51=47, Resulting Numbers: [3, 47]
Generated Node #0,3,3: 55:[3, 47] Operation: 98-51=47
Exploring Operation: 51+3=54, Resulting Numbers: [98, 54]
Generated Node #0,3,4: 55:[98, 54] Operation: 51+3=54
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 55:[3, 47], Operations: ['45-42=3', '98-51=47']
Exploring Operation: 3*47=141, Resulting Numbers: [141]
141,55 unequal: No Solution
Exploring Operation: 3+47=50, Resulting Numbers: [50]
50,55 unequal: No Solution
Exploring Operation: 47-3=44, Resulting Numbers: [44]
44,55 unequal: No Solution
No 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: 55:[51, 95], Operations: ['45-42=3', '98-3=95']
Exploring Operation: 51+95=146, Resulting Numbers: [146]
146,55 unequal: No Solution
Exploring Operation: 51*95=4845, Resulting Numbers: [4845]
4845,55 unequal: No Solution
Exploring Operation: 95-51=44, Resulting Numbers: [44]
44,55 unequal: No Solution
No 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: 55:[98, 54], Operations: ['45-42=3', '51+3=54']
Exploring Operation: 98+54=152, Resulting Numbers: [152]
152,55 unequal: No Solution
Exploring Operation: 98-54=44, Resulting Numbers: [44]
44,55 unequal: No Solution
Exploring Operation: 98*54=5292, Resulting Numbers: [5292]
5292,55 unequal: No Solution
No 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: 55:[98, 17], Operations: ['45-42=3', '51/3=17']
Exploring Operation: 98+17=115, Resulting Numbers: [115]
115,55 unequal: No Solution
Exploring Operation: 98*17=1666, Resulting Numbers: [1666]
1666,55 unequal: No Solution
Exploring Operation: 98-17=81, Resulting Numbers: [81]
81,55 unequal: No Solution
No 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: 55:[98, 48], Operations: ['45-42=3', '51-3=48']
Exploring Operation: 98*48=4704, Resulting Numbers: [4704]
4704,55 unequal: No Solution
Exploring Operation: 98-48=50, Resulting Numbers: [50]
50,55 unequal: No Solution
Exploring Operation: 98+48=146, Resulting Numbers: [146]
146,55 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: 55:[45, 98, 9], Operations: ['51-42=9']
Exploring Operation: 45+9=54, Resulting Numbers: [98, 54]
Generated Node #0,1,0: 55:[98, 54] Operation: 45+9=54
Exploring Operation: 98-9=89, Resulting Numbers: [45, 89]
Generated Node #0,1,1: 55:[45, 89] Operation: 98-9=89
Exploring Operation: 45-9=36, Resulting Numbers: [98, 36]
Generated Node #0,1,2: 55:[98, 36] Operation: 45-9=36
Exploring Operation: 98-45=53, Resulting Numbers: [9, 53]
Generated Node #0,1,3: 55:[9, 53] Operation: 98-45=53
Exploring Operation: 45/9=5, Resulting Numbers: [98, 5]
Generated Node #0,1,4: 55:[98, 5] Operation: 45/9=5
Moving to Node #0,1,3
Current State: 55:[9, 53], Operations: ['51-42=9', '98-45=53']
Exploring Operation: 9*53=477, Resulting Numbers: [477]
477,55 unequal: No Solution
Exploring Operation: 53-9=44, Resulting Numbers: [44]
44,55 unequal: No Solution
Exploring Operation: 9+53=62, Resulting Numbers: [62]
62,55 unequal: No Solution
Moving to Node #0,1,4
Current State: 55:[98, 5], Operations: ['51-42=9', '45/9=5']
Exploring Operation: 98*5=490, Resulting Numbers: [490]
490,55 unequal: No Solution
Exploring Operation: 98+5=103, Resulting Numbers: [103]
103,55 unequal: No Solution
Exploring Operation: 98-5=93, Resulting Numbers: [93]
93,55 unequal: No Solution
Moving to Node #0,1,0
Current State: 55:[98, 54], Operations: ['51-42=9', '45+9=54']
Exploring Operation: 98*54=5292, Resulting Numbers: [5292]
5292,55 unequal: No Solution
Exploring Operation: 98-54=44, Resulting Numbers: [44]
44,55 unequal: No Solution
Exploring Operation: 98+54=152, Resulting Numbers: [152]
152,55 unequal: No Solution
Moving to Node #0,1,1
Current State: 55:[45, 89], Operations: ['51-42=9', '98-9=89']
Exploring Operation: 89-45=44, Resulting Numbers: [44]
44,55 unequal: No Solution
Exploring Operation: 45*89=4005, Resulting Numbers: [4005]
4005,55 unequal: No Solution
Exploring Operation: 45+89=134, Resulting Numbers: [134]
134,55 unequal: No Solution
Moving to Node #0,1,2
Current State: 55:[98, 36], Operations: ['51-42=9', '45-9=36']
Exploring Operation: 98-36=62, Resulting Numbers: [62]
62,55 unequal: No Solution
Exploring Operation: 98+36=134, Resulting Numbers: [134]
134,55 unequal: No Solution
Exploring Operation: 98*36=3528, Resulting Numbers: [3528]
3528,55 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 |
[
50,
2,
3,
35
] | 20 | [
"50+2=52",
"35-3=32",
"52-32=20"
] | Current State: 20:[50, 2, 3, 35], Operations: []
Exploring Operation: 50+2=52, Resulting Numbers: [3, 35, 52]
Generated Node #2: [3, 35, 52] from Operation: 50+2=52
Current State: 20:[3, 35, 52], Operations: ['50+2=52']
Exploring Operation: 35-3=32, Resulting Numbers: [52, 32]
Generated Node #3: [52, 32] from Operation: 35-3=32
Current State: 20:[52, 32], Operations: ['50+2=52', '35-3=32']
Exploring Operation: 52-32=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[50, 2, 3, 35], Operations: []
Exploring Operation: 50-35=15, Resulting Numbers: [2, 3, 15]
Generated Node #0,0: 20:[2, 3, 15] Operation: 50-35=15
Exploring Operation: 50/2=25, Resulting Numbers: [3, 35, 25]
Generated Node #0,1: 20:[3, 35, 25] Operation: 50/2=25
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[2, 3, 15], Operations: ['50-35=15']
Exploring Operation: 3+15=18, Resulting Numbers: [2, 18]
Generated Node #0,0,0: 20:[2, 18] Operation: 3+15=18
Exploring Operation: 15/3=5, Resulting Numbers: [2, 5]
Generated Node #0,0,1: 20:[2, 5] Operation: 15/3=5
Moving to Node #0,0,1
Current State: 20:[2, 5], Operations: ['50-35=15', '15/3=5']
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,20 unequal: No Solution
Exploring Operation: 5-2=3, Resulting Numbers: [3]
3,20 unequal: No Solution
Moving to Node #0,0,0
Current State: 20:[2, 18], Operations: ['50-35=15', '3+15=18']
Exploring Operation: 18/2=9, Resulting Numbers: [9]
9,20 unequal: No Solution
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[50, 2, 3, 35], Operations: []
Exploring Operation: 50-35=15, Resulting Numbers: [2, 3, 15]
Generated Node #0,0: 20:[2, 3, 15] Operation: 50-35=15
Moving to Node #0,0
Current State: 20:[2, 3, 15], Operations: ['50-35=15']
Exploring Operation: 3+15=18, Resulting Numbers: [2, 18]
Generated Node #0,0,0: 20:[2, 18] Operation: 3+15=18
Moving to Node #0,0,0
Current State: 20:[2, 18], Operations: ['50-35=15', '3+15=18']
Exploring Operation: 2+18=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
95,
45,
88,
45
] | 95 | [
"45-45=0",
"88*0=0",
"95+0=95"
] | Current State: 95:[95, 45, 88, 45], Operations: []
Exploring Operation: 45-45=0, Resulting Numbers: [95, 88, 0]
Generated Node #2: [95, 88, 0] from Operation: 45-45=0
Current State: 95:[95, 88, 0], Operations: ['45-45=0']
Exploring Operation: 88*0=0, Resulting Numbers: [95, 0]
Generated Node #3: [95, 0] from Operation: 88*0=0
Current State: 95:[95, 0], Operations: ['45-45=0', '88*0=0']
Exploring Operation: 95+0=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[95, 45, 88, 45], Operations: []
Exploring Operation: 45+45=90, Resulting Numbers: [95, 88, 90]
Generated Node #0,0: 95:[95, 88, 90] Operation: 45+45=90
Exploring Operation: 88-45=43, Resulting Numbers: [95, 45, 43]
Generated Node #0,1: 95:[95, 45, 43] Operation: 88-45=43
Exploring Operation: 45/45=1, Resulting Numbers: [95, 88, 1]
Generated Node #0,2: 95:[95, 88, 1] Operation: 45/45=1
Exploring Operation: 45-45=0, Resulting Numbers: [95, 88, 0]
Generated Node #0,3: 95:[95, 88, 0] Operation: 45-45=0
Exploring Operation: 88-45=43, Resulting Numbers: [95, 45, 43]
Generated Node #0,4: 95:[95, 45, 43] Operation: 88-45=43
Start Sub Search at level 1: Moving to Node #0,2
Current State: 95:[95, 88, 1], Operations: ['45/45=1']
Exploring Operation: 95*1=95, Resulting Numbers: [88, 95]
Generated Node #0,2,0: 95:[88, 95] Operation: 95*1=95
Exploring Operation: 88+1=89, Resulting Numbers: [95, 89]
Generated Node #0,2,1: 95:[95, 89] Operation: 88+1=89
Exploring Operation: 88*1=88, Resulting Numbers: [95, 88]
Generated Node #0,2,2: 95:[95, 88] Operation: 88*1=88
Exploring Operation: 95-88=7, Resulting Numbers: [1, 7]
Generated Node #0,2,3: 95:[1, 7] Operation: 95-88=7
Exploring Operation: 95/1=95, Resulting Numbers: [88, 95]
Generated Node #0,2,4: 95:[88, 95] Operation: 95/1=95
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 95:[95, 89], Operations: ['45/45=1', '88+1=89']
Exploring Operation: 95*89=8455, Resulting Numbers: [8455]
8455,95 unequal: No Solution
Exploring Operation: 95-89=6, Resulting Numbers: [6]
6,95 unequal: No Solution
Exploring Operation: 95+89=184, Resulting Numbers: [184]
184,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 95:[1, 7], Operations: ['45/45=1', '95-88=7']
Exploring Operation: 7/1=7, Resulting Numbers: [7]
7,95 unequal: No Solution
Exploring Operation: 1+7=8, Resulting Numbers: [8]
8,95 unequal: No Solution
Exploring Operation: 7-1=6, Resulting Numbers: [6]
6,95 unequal: No Solution
Exploring Operation: 1*7=7, Resulting Numbers: [7]
7,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 95:[88, 95], Operations: ['45/45=1', '95*1=95']
Exploring Operation: 88*95=8360, Resulting Numbers: [8360]
8360,95 unequal: No Solution
Exploring Operation: 95-88=7, Resulting Numbers: [7]
7,95 unequal: No Solution
Exploring Operation: 88+95=183, Resulting Numbers: [183]
183,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 95:[95, 88], Operations: ['45/45=1', '88*1=88']
Exploring Operation: 95*88=8360, Resulting Numbers: [8360]
8360,95 unequal: No Solution
Exploring Operation: 95-88=7, Resulting Numbers: [7]
7,95 unequal: No Solution
Exploring Operation: 95+88=183, Resulting Numbers: [183]
183,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 95:[88, 95], Operations: ['45/45=1', '95/1=95']
Exploring Operation: 88*95=8360, Resulting Numbers: [8360]
8360,95 unequal: No Solution
Exploring Operation: 95-88=7, Resulting Numbers: [7]
7,95 unequal: No Solution
Exploring Operation: 88+95=183, Resulting Numbers: [183]
183,95 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 95:[95, 88, 90], Operations: ['45+45=90']
Exploring Operation: 90-88=2, Resulting Numbers: [95, 2]
Generated Node #0,0,0: 95:[95, 2] Operation: 90-88=2
Exploring Operation: 95-90=5, Resulting Numbers: [88, 5]
Generated Node #0,0,1: 95:[88, 5] Operation: 95-90=5
Exploring Operation: 95+88=183, Resulting Numbers: [90, 183]
Generated Node #0,0,2: 95:[90, 183] Operation: 95+88=183
Exploring Operation: 95-88=7, Resulting Numbers: [90, 7]
Generated Node #0,0,3: 95:[90, 7] Operation: 95-88=7
Exploring Operation: 88+90=178, Resulting Numbers: [95, 178]
Generated Node #0,0,4: 95:[95, 178] Operation: 88+90=178
Moving to Node #0,0,0
Current State: 95:[95, 2], Operations: ['45+45=90', '90-88=2']
Exploring Operation: 95*2=190, Resulting Numbers: [190]
190,95 unequal: No Solution
Exploring Operation: 95+2=97, Resulting Numbers: [97]
97,95 unequal: No Solution
Exploring Operation: 95-2=93, Resulting Numbers: [93]
93,95 unequal: No Solution
Moving to Node #0,0,3
Current State: 95:[90, 7], Operations: ['45+45=90', '95-88=7']
Exploring Operation: 90-7=83, Resulting Numbers: [83]
83,95 unequal: No Solution
Exploring Operation: 90+7=97, Resulting Numbers: [97]
97,95 unequal: No Solution
Exploring Operation: 90*7=630, Resulting Numbers: [630]
630,95 unequal: No Solution
Moving to Node #0,0,1
Current State: 95:[88, 5], Operations: ['45+45=90', '95-90=5']
Exploring Operation: 88-5=83, Resulting Numbers: [83]
83,95 unequal: No Solution
Exploring Operation: 88+5=93, Resulting Numbers: [93]
93,95 unequal: No Solution
Exploring Operation: 88*5=440, Resulting Numbers: [440]
440,95 unequal: No Solution
Moving to Node #0,0,4
Current State: 95:[95, 178], Operations: ['45+45=90', '88+90=178']
Exploring Operation: 95+178=273, Resulting Numbers: [273]
273,95 unequal: No Solution
Exploring Operation: 178-95=83, Resulting Numbers: [83]
83,95 unequal: No Solution
Exploring Operation: 95*178=16910, Resulting Numbers: [16910]
16910,95 unequal: No Solution
Moving to Node #0,0,2
Current State: 95:[90, 183], Operations: ['45+45=90', '95+88=183']
Exploring Operation: 90*183=16470, Resulting Numbers: [16470]
16470,95 unequal: No Solution
Exploring Operation: 183-90=93, Resulting Numbers: [93]
93,95 unequal: No Solution
Exploring Operation: 90+183=273, Resulting Numbers: [273]
273,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 95:[95, 88, 0], Operations: ['45-45=0']
Exploring Operation: 88*0=0, Resulting Numbers: [95, 0]
Generated Node #0,3,0: 95:[95, 0] Operation: 88*0=0
Exploring Operation: 95-88=7, Resulting Numbers: [0, 7]
Generated Node #0,3,1: 95:[0, 7] Operation: 95-88=7
Exploring Operation: 88+0=88, Resulting Numbers: [95, 88]
Generated Node #0,3,2: 95:[95, 88] Operation: 88+0=88
Exploring Operation: 95+0=95, Resulting Numbers: [88, 95]
Generated Node #0,3,3: 95:[88, 95] Operation: 95+0=95
Exploring Operation: 95-0=95, Resulting Numbers: [88, 95]
Generated Node #0,3,4: 95:[88, 95] Operation: 95-0=95
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 95:[95, 0], Operations: ['45-45=0', '88*0=0']
Exploring Operation: 95-0=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[95, 45, 88, 45], Operations: []
Exploring Operation: 45-45=0, Resulting Numbers: [95, 88, 0]
Generated Node #0,3: 95:[95, 88, 0] Operation: 45-45=0
Moving to Node #0,3
Current State: 95:[95, 88, 0], Operations: ['45-45=0']
Exploring Operation: 88*0=0, Resulting Numbers: [95, 0]
Generated Node #0,3,0: 95:[95, 0] Operation: 88*0=0
Moving to Node #0,3,0
Current State: 95:[95, 0], Operations: ['45-45=0', '88*0=0']
Exploring Operation: 95-0=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.951389 | hs_5 | sum_heuristic |
[
60,
2,
34,
82
] | 10 | [
"60-2=58",
"82-34=48",
"58-48=10"
] | Current State: 10:[60, 2, 34, 82], Operations: []
Exploring Operation: 60-2=58, Resulting Numbers: [34, 82, 58]
Generated Node #2: [34, 82, 58] from Operation: 60-2=58
Current State: 10:[34, 82, 58], Operations: ['60-2=58']
Exploring Operation: 82-34=48, Resulting Numbers: [58, 48]
Generated Node #3: [58, 48] from Operation: 82-34=48
Current State: 10:[58, 48], Operations: ['60-2=58', '82-34=48']
Exploring Operation: 58-48=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[60, 2, 34, 82], Operations: []
Exploring Operation: 82/2=41, Resulting Numbers: [60, 34, 41]
Generated Node #0,0: 10:[60, 34, 41] Operation: 82/2=41
Exploring Operation: 82-60=22, Resulting Numbers: [2, 34, 22]
Generated Node #0,1: 10:[2, 34, 22] Operation: 82-60=22
Exploring Operation: 82-34=48, Resulting Numbers: [60, 2, 48]
Generated Node #0,2: 10:[60, 2, 48] Operation: 82-34=48
Exploring Operation: 60-34=26, Resulting Numbers: [2, 82, 26]
Generated Node #0,3: 10:[2, 82, 26] Operation: 60-34=26
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[2, 34, 22], Operations: ['82-60=22']
Exploring Operation: 34/2=17, Resulting Numbers: [22, 17]
Generated Node #0,1,0: 10:[22, 17] Operation: 34/2=17
Exploring Operation: 34-22=12, Resulting Numbers: [2, 12]
Generated Node #0,1,1: 10:[2, 12] Operation: 34-22=12
Exploring Operation: 34-2=32, Resulting Numbers: [22, 32]
Generated Node #0,1,2: 10:[22, 32] Operation: 34-2=32
Exploring Operation: 22/2=11, Resulting Numbers: [34, 11]
Generated Node #0,1,3: 10:[34, 11] Operation: 22/2=11
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 10:[2, 12], Operations: ['82-60=22', '34-22=12']
Exploring Operation: 2*12=24, Resulting Numbers: [24]
24,10 unequal: No Solution
Exploring Operation: 12/2=6, Resulting Numbers: [6]
6,10 unequal: No Solution
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[60, 2, 34, 82], Operations: []
Exploring Operation: 82-60=22, Resulting Numbers: [2, 34, 22]
Generated Node #0,1: 10:[2, 34, 22] Operation: 82-60=22
Moving to Node #0,1
Current State: 10:[2, 34, 22], Operations: ['82-60=22']
Exploring Operation: 34-22=12, Resulting Numbers: [2, 12]
Generated Node #0,1,1: 10:[2, 12] Operation: 34-22=12
Moving to Node #0,1,1
Current State: 10:[2, 12], Operations: ['82-60=22', '34-22=12']
Exploring Operation: 12-2=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_4 | mult_heuristic |
[
16,
49,
44,
49
] | 13 | [
"16+49=65",
"49-44=5",
"65/5=13"
] | Current State: 13:[16, 49, 44, 49], Operations: []
Exploring Operation: 16+49=65, Resulting Numbers: [44, 65]
Generated Node #2: [44, 65] from Operation: 16+49=65
Current State: 13:[44, 65], Operations: ['16+49=65']
Exploring Operation: 49-44=5, Resulting Numbers: [65, 5]
Generated Node #3: [65, 5] from Operation: 49-44=5
Current State: 13:[65, 5], Operations: ['16+49=65', '49-44=5']
Exploring Operation: 65/5=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[16, 49, 44, 49], Operations: []
Exploring Operation: 49-44=5, Resulting Numbers: [16, 49, 5]
Generated Node #0,0: 13:[16, 49, 5] Operation: 49-44=5
Exploring Operation: 49-16=33, Resulting Numbers: [44, 49, 33]
Generated Node #0,1: 13:[44, 49, 33] Operation: 49-16=33
Exploring Operation: 49-44=5, Resulting Numbers: [16, 49, 5]
Generated Node #0,2: 13:[16, 49, 5] Operation: 49-44=5
Exploring Operation: 49-49=0, Resulting Numbers: [16, 44, 0]
Generated Node #0,3: 13:[16, 44, 0] Operation: 49-49=0
Exploring Operation: 49/49=1, Resulting Numbers: [16, 44, 1]
Generated Node #0,4: 13:[16, 44, 1] Operation: 49/49=1
Moving to Node #0,4
Current State: 13:[16, 44, 1], Operations: ['49/49=1']
Exploring Operation: 16-1=15, Resulting Numbers: [44, 15]
Generated Node #0,4,0: 13:[44, 15] Operation: 16-1=15
Exploring Operation: 16/1=16, Resulting Numbers: [44, 16]
Generated Node #0,4,1: 13:[44, 16] Operation: 16/1=16
Exploring Operation: 44-16=28, Resulting Numbers: [1, 28]
Generated Node #0,4,2: 13:[1, 28] Operation: 44-16=28
Exploring Operation: 16*1=16, Resulting Numbers: [44, 16]
Generated Node #0,4,3: 13:[44, 16] Operation: 16*1=16
Exploring Operation: 44-1=43, Resulting Numbers: [16, 43]
Generated Node #0,4,4: 13:[16, 43] Operation: 44-1=43
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 13:[1, 28], Operations: ['49/49=1', '44-16=28']
Exploring Operation: 28/1=28, Resulting Numbers: [28]
28,13 unequal: No Solution
Exploring Operation: 1+28=29, Resulting Numbers: [29]
29,13 unequal: No Solution
Exploring Operation: 1*28=28, Resulting Numbers: [28]
28,13 unequal: No Solution
Exploring Operation: 28-1=27, Resulting Numbers: [27]
27,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,4,0
Current State: 13:[44, 15], Operations: ['49/49=1', '16-1=15']
Exploring Operation: 44*15=660, Resulting Numbers: [660]
660,13 unequal: No Solution
Exploring Operation: 44+15=59, Resulting Numbers: [59]
59,13 unequal: No Solution
Exploring Operation: 44-15=29, Resulting Numbers: [29]
29,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,4,4
Current State: 13:[16, 43], Operations: ['49/49=1', '44-1=43']
Exploring Operation: 43-16=27, Resulting Numbers: [27]
27,13 unequal: No Solution
Exploring Operation: 16+43=59, Resulting Numbers: [59]
59,13 unequal: No Solution
Exploring Operation: 16*43=688, Resulting Numbers: [688]
688,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,4,1
Current State: 13:[44, 16], Operations: ['49/49=1', '16/1=16']
Exploring Operation: 44+16=60, Resulting Numbers: [60]
60,13 unequal: No Solution
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,13 unequal: No Solution
Exploring Operation: 44*16=704, Resulting Numbers: [704]
704,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,4,3
Current State: 13:[44, 16], Operations: ['49/49=1', '16*1=16']
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,13 unequal: No Solution
Exploring Operation: 44*16=704, Resulting Numbers: [704]
704,13 unequal: No Solution
Exploring Operation: 44+16=60, Resulting Numbers: [60]
60,13 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: 13:[16, 49, 5], Operations: ['49-44=5']
Exploring Operation: 49-16=33, Resulting Numbers: [5, 33]
Generated Node #0,2,0: 13:[5, 33] Operation: 49-16=33
Exploring Operation: 16+5=21, Resulting Numbers: [49, 21]
Generated Node #0,2,1: 13:[49, 21] Operation: 16+5=21
Exploring Operation: 49+5=54, Resulting Numbers: [16, 54]
Generated Node #0,2,2: 13:[16, 54] Operation: 49+5=54
Exploring Operation: 49-5=44, Resulting Numbers: [16, 44]
Generated Node #0,2,3: 13:[16, 44] Operation: 49-5=44
Exploring Operation: 16-5=11, Resulting Numbers: [49, 11]
Generated Node #0,2,4: 13:[49, 11] Operation: 16-5=11
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 13:[5, 33], Operations: ['49-44=5', '49-16=33']
Exploring Operation: 5+33=38, Resulting Numbers: [38]
38,13 unequal: No Solution
Exploring Operation: 5*33=165, Resulting Numbers: [165]
165,13 unequal: No Solution
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,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,2,3
Current State: 13:[16, 44], Operations: ['49-44=5', '49-5=44']
Exploring Operation: 16*44=704, Resulting Numbers: [704]
704,13 unequal: No Solution
Exploring Operation: 16+44=60, Resulting Numbers: [60]
60,13 unequal: No Solution
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,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,2,4
Current State: 13:[49, 11], Operations: ['49-44=5', '16-5=11']
Exploring Operation: 49+11=60, Resulting Numbers: [60]
60,13 unequal: No Solution
Exploring Operation: 49-11=38, Resulting Numbers: [38]
38,13 unequal: No Solution
Exploring Operation: 49*11=539, Resulting Numbers: [539]
539,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,2,1
Current State: 13:[49, 21], Operations: ['49-44=5', '16+5=21']
Exploring Operation: 49+21=70, Resulting Numbers: [70]
70,13 unequal: No Solution
Exploring Operation: 49*21=1029, Resulting Numbers: [1029]
1029,13 unequal: No Solution
Exploring Operation: 49-21=28, Resulting Numbers: [28]
28,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,2,2
Current State: 13:[16, 54], Operations: ['49-44=5', '49+5=54']
Exploring Operation: 54-16=38, Resulting Numbers: [38]
38,13 unequal: No Solution
Exploring Operation: 16*54=864, Resulting Numbers: [864]
864,13 unequal: No Solution
Exploring Operation: 16+54=70, Resulting Numbers: [70]
70,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:[16, 49, 5], Operations: ['49-44=5']
Exploring Operation: 49+5=54, Resulting Numbers: [16, 54]
Generated Node #0,0,0: 13:[16, 54] Operation: 49+5=54
Exploring Operation: 49-16=33, Resulting Numbers: [5, 33]
Generated Node #0,0,1: 13:[5, 33] Operation: 49-16=33
Exploring Operation: 16+5=21, Resulting Numbers: [49, 21]
Generated Node #0,0,2: 13:[49, 21] Operation: 16+5=21
Exploring Operation: 49-5=44, Resulting Numbers: [16, 44]
Generated Node #0,0,3: 13:[16, 44] Operation: 49-5=44
Exploring Operation: 16-5=11, Resulting Numbers: [49, 11]
Generated Node #0,0,4: 13:[49, 11] Operation: 16-5=11
Moving to Node #0,3
Current State: 13:[16, 44, 0], Operations: ['49-49=0']
Exploring Operation: 44-16=28, Resulting Numbers: [0, 28]
Generated Node #0,3,0: 13:[0, 28] Operation: 44-16=28
Exploring Operation: 16+0=16, Resulting Numbers: [44, 16]
Generated Node #0,3,1: 13:[44, 16] Operation: 16+0=16
Exploring Operation: 44+0=44, Resulting Numbers: [16, 44]
Generated Node #0,3,2: 13:[16, 44] Operation: 44+0=44
Exploring Operation: 16-0=16, Resulting Numbers: [44, 16]
Generated Node #0,3,3: 13:[44, 16] Operation: 16-0=16
Exploring Operation: 44*0=0, Resulting Numbers: [16, 0]
Generated Node #0,3,4: 13:[16, 0] Operation: 44*0=0
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 13:[16, 0], Operations: ['49-49=0', '44*0=0']
Exploring Operation: 16+0=16, Resulting Numbers: [16]
16,13 unequal: No Solution
Exploring Operation: 16-0=16, Resulting Numbers: [16]
16,13 unequal: No Solution
Exploring Operation: 16*0=0, Resulting Numbers: [0]
0,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,3,0
Current State: 13:[0, 28], Operations: ['49-49=0', '44-16=28']
Exploring Operation: 28-0=28, Resulting Numbers: [28]
28,13 unequal: No Solution
Exploring Operation: 0+28=28, Resulting Numbers: [28]
28,13 unequal: No Solution
Exploring Operation: 0*28=0, Resulting Numbers: [0]
0,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,3,1
Current State: 13:[44, 16], Operations: ['49-49=0', '16+0=16']
Exploring Operation: 44+16=60, Resulting Numbers: [60]
60,13 unequal: No Solution
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,13 unequal: No Solution
Exploring Operation: 44*16=704, Resulting Numbers: [704]
704,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,3,2
Current State: 13:[16, 44], Operations: ['49-49=0', '44+0=44']
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,13 unequal: No Solution
Exploring Operation: 16+44=60, Resulting Numbers: [60]
60,13 unequal: No Solution
Exploring Operation: 16*44=704, Resulting Numbers: [704]
704,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,3,3
Current State: 13:[44, 16], Operations: ['49-49=0', '16-0=16']
Exploring Operation: 44+16=60, Resulting Numbers: [60]
60,13 unequal: No Solution
Exploring Operation: 44*16=704, Resulting Numbers: [704]
704,13 unequal: No Solution
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,13 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: 13:[44, 49, 33], Operations: ['49-16=33']
Exploring Operation: 44+33=77, Resulting Numbers: [49, 77]
Generated Node #0,1,0: 13:[49, 77] Operation: 44+33=77
Exploring Operation: 49-33=16, Resulting Numbers: [44, 16]
Generated Node #0,1,1: 13:[44, 16] Operation: 49-33=16
Exploring Operation: 49-44=5, Resulting Numbers: [33, 5]
Generated Node #0,1,2: 13:[33, 5] Operation: 49-44=5
Exploring Operation: 44-33=11, Resulting Numbers: [49, 11]
Generated Node #0,1,3: 13:[49, 11] Operation: 44-33=11
Exploring Operation: 44+49=93, Resulting Numbers: [33, 93]
Generated Node #0,1,4: 13:[33, 93] Operation: 44+49=93
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 13:[33, 5], Operations: ['49-16=33', '49-44=5']
Exploring Operation: 33+5=38, Resulting Numbers: [38]
38,13 unequal: No Solution
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,13 unequal: No Solution
Exploring Operation: 33*5=165, Resulting Numbers: [165]
165,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:[44, 16], Operations: ['49-16=33', '49-33=16']
Exploring Operation: 44+16=60, Resulting Numbers: [60]
60,13 unequal: No Solution
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,13 unequal: No Solution
Exploring Operation: 44*16=704, Resulting Numbers: [704]
704,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,3
Current State: 13:[49, 11], Operations: ['49-16=33', '44-33=11']
Exploring Operation: 49-11=38, Resulting Numbers: [38]
38,13 unequal: No Solution
Exploring Operation: 49*11=539, Resulting Numbers: [539]
539,13 unequal: No Solution
Exploring Operation: 49+11=60, Resulting Numbers: [60]
60,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:[49, 77], Operations: ['49-16=33', '44+33=77']
Exploring Operation: 49*77=3773, Resulting Numbers: [3773]
3773,13 unequal: No Solution
Exploring Operation: 77-49=28, Resulting Numbers: [28]
28,13 unequal: No Solution
Exploring Operation: 49+77=126, Resulting Numbers: [126]
126,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,4
Current State: 13:[33, 93], Operations: ['49-16=33', '44+49=93']
Exploring Operation: 33+93=126, Resulting Numbers: [126]
126,13 unequal: No Solution
Exploring Operation: 93-33=60, Resulting Numbers: [60]
60,13 unequal: No Solution
Exploring Operation: 33*93=3069, Resulting Numbers: [3069]
3069,13 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: 13:[5, 33], Operations: ['49-44=5', '49-16=33']
Exploring Operation: 5*33=165, Resulting Numbers: [165]
165,13 unequal: No Solution
Exploring Operation: 5+33=38, Resulting Numbers: [38]
38,13 unequal: No Solution
Exploring Operation: 33-5=28, Resulting Numbers: [28]
28,13 unequal: No Solution
Moving to Node #0,0,3
Current State: 13:[16, 44], Operations: ['49-44=5', '49-5=44']
Exploring Operation: 16+44=60, Resulting Numbers: [60]
60,13 unequal: No Solution
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,13 unequal: No Solution
Exploring Operation: 16*44=704, Resulting Numbers: [704]
704,13 unequal: No Solution
Moving to Node #0,0,4
Current State: 13:[49, 11], Operations: ['49-44=5', '16-5=11']
Exploring Operation: 49+11=60, Resulting Numbers: [60]
60,13 unequal: No Solution
Exploring Operation: 49-11=38, Resulting Numbers: [38]
38,13 unequal: No Solution
Exploring Operation: 49*11=539, Resulting Numbers: [539]
539,13 unequal: No Solution
Moving to Node #0,0,0
Current State: 13:[16, 54], Operations: ['49-44=5', '49+5=54']
Exploring Operation: 16*54=864, Resulting Numbers: [864]
864,13 unequal: No Solution
Exploring Operation: 54-16=38, Resulting Numbers: [38]
38,13 unequal: No Solution
Exploring Operation: 16+54=70, Resulting Numbers: [70]
70,13 unequal: No Solution
Moving to Node #0,0,2
Current State: 13:[49, 21], Operations: ['49-44=5', '16+5=21']
Exploring Operation: 49-21=28, Resulting Numbers: [28]
28,13 unequal: No Solution
Exploring Operation: 49*21=1029, Resulting Numbers: [1029]
1029,13 unequal: No Solution
Exploring Operation: 49+21=70, Resulting Numbers: [70]
70,13 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
29,
93,
3,
54
] | 27 | [
"93/3=31",
"31-29=2",
"54/2=27"
] | Current State: 27:[29, 93, 3, 54], Operations: []
Exploring Operation: 93/3=31, Resulting Numbers: [29, 54, 31]
Generated Node #2: [29, 54, 31] from Operation: 93/3=31
Current State: 27:[29, 54, 31], Operations: ['93/3=31']
Exploring Operation: 31-29=2, Resulting Numbers: [54, 2]
Generated Node #3: [54, 2] from Operation: 31-29=2
Current State: 27:[54, 2], Operations: ['93/3=31', '31-29=2']
Exploring Operation: 54/2=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[29, 93, 3, 54], Operations: []
Exploring Operation: 93-54=39, Resulting Numbers: [29, 3, 39]
Generated Node #0,0: 27:[29, 3, 39] Operation: 93-54=39
Exploring Operation: 93/3=31, Resulting Numbers: [29, 54, 31]
Generated Node #0,1: 27:[29, 54, 31] Operation: 93/3=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[29, 3, 39], Operations: ['93-54=39']
Exploring Operation: 39/3=13, Resulting Numbers: [29, 13]
Generated Node #0,0,0: 27:[29, 13] Operation: 39/3=13
Exploring Operation: 39-29=10, Resulting Numbers: [3, 10]
Generated Node #0,0,1: 27:[3, 10] Operation: 39-29=10
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 27:[3, 10], Operations: ['93-54=39', '39-29=10']
Exploring Operation: 3*10=30, Resulting Numbers: [30]
30,27 unequal: No Solution
Exploring Operation: 10-3=7, Resulting Numbers: [7]
7,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 27:[29, 13], Operations: ['93-54=39', '39/3=13']
Exploring Operation: 29+13=42, Resulting Numbers: [42]
42,27 unequal: No Solution
Exploring Operation: 29-13=16, Resulting Numbers: [16]
16,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 27:[29, 54, 31], Operations: ['93/3=31']
Exploring Operation: 54-29=25, Resulting Numbers: [31, 25]
Generated Node #0,1,0: 27:[31, 25] Operation: 54-29=25
Exploring Operation: 54-31=23, Resulting Numbers: [29, 23]
Generated Node #0,1,1: 27:[29, 23] Operation: 54-31=23
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 27:[31, 25], Operations: ['93/3=31', '54-29=25']
Exploring Operation: 31-25=6, Resulting Numbers: [6]
6,27 unequal: No Solution
Exploring Operation: 31+25=56, Resulting Numbers: [56]
56,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 27:[29, 23], Operations: ['93/3=31', '54-31=23']
Exploring Operation: 29+23=52, Resulting Numbers: [52]
52,27 unequal: No Solution
Exploring Operation: 29-23=6, Resulting Numbers: [6]
6,27 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
26,
36,
13,
59
] | 97 | [
"26/13=2",
"36+59=95",
"2+95=97"
] | Current State: 97:[26, 36, 13, 59], Operations: []
Exploring Operation: 26/13=2, Resulting Numbers: [36, 59, 2]
Generated Node #2: [36, 59, 2] from Operation: 26/13=2
Current State: 97:[36, 59, 2], Operations: ['26/13=2']
Exploring Operation: 36+59=95, Resulting Numbers: [2, 95]
Generated Node #3: [2, 95] from Operation: 36+59=95
Current State: 97:[2, 95], Operations: ['26/13=2', '36+59=95']
Exploring Operation: 2+95=97, Resulting Numbers: [97]
97,97 equal: Goal Reached
| 4 | Current State: 97:[26, 36, 13, 59], Operations: []
Exploring Operation: 26+36=62, Resulting Numbers: [13, 59, 62]
Generated Node #0,0: 97:[13, 59, 62] Operation: 26+36=62
Exploring Operation: 26+13=39, Resulting Numbers: [36, 59, 39]
Generated Node #0,1: 97:[36, 59, 39] Operation: 26+13=39
Start Sub Search at level 1: Moving to Node #0,0
Current State: 97:[13, 59, 62], Operations: ['26+36=62']
Exploring Operation: 13+62=75, Resulting Numbers: [59, 75]
Generated Node #0,0,0: 97:[59, 75] Operation: 13+62=75
Exploring Operation: 13+59=72, Resulting Numbers: [62, 72]
Generated Node #0,0,1: 97:[62, 72] Operation: 13+59=72
Moving to Node #0,0,0
Current State: 97:[59, 75], Operations: ['26+36=62', '13+62=75']
Exploring Operation: 75-59=16, Resulting Numbers: [16]
16,97 unequal: No Solution
Exploring Operation: 59+75=134, Resulting Numbers: [134]
134,97 unequal: No Solution
Moving to Node #0,0,1
Current State: 97:[62, 72], Operations: ['26+36=62', '13+59=72']
Exploring Operation: 72-62=10, Resulting Numbers: [10]
10,97 unequal: No Solution
Exploring Operation: 62+72=134, Resulting Numbers: [134]
134,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 97:[36, 59, 39], Operations: ['26+13=39']
Exploring Operation: 36+39=75, Resulting Numbers: [59, 75]
Generated Node #0,1,0: 97:[59, 75] Operation: 36+39=75
Exploring Operation: 36+59=95, Resulting Numbers: [39, 95]
Generated Node #0,1,1: 97:[39, 95] Operation: 36+59=95
Moving to Node #0,1,0
Current State: 97:[59, 75], Operations: ['26+13=39', '36+39=75']
Exploring Operation: 59+75=134, Resulting Numbers: [134]
134,97 unequal: No Solution
Exploring Operation: 75-59=16, Resulting Numbers: [16]
16,97 unequal: No Solution
Moving to Node #0,1,1
Current State: 97:[39, 95], Operations: ['26+13=39', '36+59=95']
Exploring Operation: 95-39=56, Resulting Numbers: [56]
56,97 unequal: No Solution
Exploring Operation: 39+95=134, Resulting Numbers: [134]
134,97 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | sum_heuristic |
[
89,
50,
44,
30
] | 94 | [
"50-44=6",
"30/6=5",
"89+5=94"
] | Current State: 94:[89, 50, 44, 30], Operations: []
Exploring Operation: 50-44=6, Resulting Numbers: [89, 30, 6]
Generated Node #2: [89, 30, 6] from Operation: 50-44=6
Current State: 94:[89, 30, 6], Operations: ['50-44=6']
Exploring Operation: 30/6=5, Resulting Numbers: [89, 5]
Generated Node #3: [89, 5] from Operation: 30/6=5
Current State: 94:[89, 5], Operations: ['50-44=6', '30/6=5']
Exploring Operation: 89+5=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[89, 50, 44, 30], Operations: []
Exploring Operation: 50+30=80, Resulting Numbers: [89, 44, 80]
Generated Node #0,0: 94:[89, 44, 80] Operation: 50+30=80
Exploring Operation: 44-30=14, Resulting Numbers: [89, 50, 14]
Generated Node #0,1: 94:[89, 50, 14] Operation: 44-30=14
Exploring Operation: 89-30=59, Resulting Numbers: [50, 44, 59]
Generated Node #0,2: 94:[50, 44, 59] Operation: 89-30=59
Exploring Operation: 89-44=45, Resulting Numbers: [50, 30, 45]
Generated Node #0,3: 94:[50, 30, 45] Operation: 89-44=45
Exploring Operation: 50+44=94, Resulting Numbers: [89, 30, 94]
Generated Node #0,4: 94:[89, 30, 94] Operation: 50+44=94
Start Sub Search at level 1: Moving to Node #0,2
Current State: 94:[50, 44, 59], Operations: ['89-30=59']
Exploring Operation: 50-44=6, Resulting Numbers: [59, 6]
Generated Node #0,2,0: 94:[59, 6] Operation: 50-44=6
Exploring Operation: 59-50=9, Resulting Numbers: [44, 9]
Generated Node #0,2,1: 94:[44, 9] Operation: 59-50=9
Exploring Operation: 59-44=15, Resulting Numbers: [50, 15]
Generated Node #0,2,2: 94:[50, 15] Operation: 59-44=15
Exploring Operation: 44+59=103, Resulting Numbers: [50, 103]
Generated Node #0,2,3: 94:[50, 103] Operation: 44+59=103
Exploring Operation: 50+44=94, Resulting Numbers: [59, 94]
Generated Node #0,2,4: 94:[59, 94] Operation: 50+44=94
Moving to Node #0,2,1
Current State: 94:[44, 9], Operations: ['89-30=59', '59-50=9']
Exploring Operation: 44-9=35, Resulting Numbers: [35]
35,94 unequal: No Solution
Exploring Operation: 44*9=396, Resulting Numbers: [396]
396,94 unequal: No Solution
Exploring Operation: 44+9=53, Resulting Numbers: [53]
53,94 unequal: No Solution
Moving to Node #0,2,4
Current State: 94:[59, 94], Operations: ['89-30=59', '50+44=94']
Exploring Operation: 94-59=35, Resulting Numbers: [35]
35,94 unequal: No Solution
Exploring Operation: 59+94=153, Resulting Numbers: [153]
153,94 unequal: No Solution
Exploring Operation: 59*94=5546, Resulting Numbers: [5546]
5546,94 unequal: No Solution
Moving to Node #0,2,3
Current State: 94:[50, 103], Operations: ['89-30=59', '44+59=103']
Exploring Operation: 50*103=5150, Resulting Numbers: [5150]
5150,94 unequal: No Solution
Exploring Operation: 103-50=53, Resulting Numbers: [53]
53,94 unequal: No Solution
Exploring Operation: 50+103=153, Resulting Numbers: [153]
153,94 unequal: No Solution
Moving to Node #0,2,0
Current State: 94:[59, 6], Operations: ['89-30=59', '50-44=6']
Exploring Operation: 59*6=354, Resulting Numbers: [354]
354,94 unequal: No Solution
Exploring Operation: 59-6=53, Resulting Numbers: [53]
53,94 unequal: No Solution
Exploring Operation: 59+6=65, Resulting Numbers: [65]
65,94 unequal: No Solution
Moving to Node #0,2,2
Current State: 94:[50, 15], Operations: ['89-30=59', '59-44=15']
Exploring Operation: 50+15=65, Resulting Numbers: [65]
65,94 unequal: No Solution
Exploring Operation: 50-15=35, Resulting Numbers: [35]
35,94 unequal: No Solution
Exploring Operation: 50*15=750, Resulting Numbers: [750]
750,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[89, 50, 14], Operations: ['44-30=14']
Exploring Operation: 89-14=75, Resulting Numbers: [50, 75]
Generated Node #0,1,0: 94:[50, 75] Operation: 89-14=75
Exploring Operation: 50+14=64, Resulting Numbers: [89, 64]
Generated Node #0,1,1: 94:[89, 64] Operation: 50+14=64
Exploring Operation: 89+14=103, Resulting Numbers: [50, 103]
Generated Node #0,1,2: 94:[50, 103] Operation: 89+14=103
Exploring Operation: 50-14=36, Resulting Numbers: [89, 36]
Generated Node #0,1,3: 94:[89, 36] Operation: 50-14=36
Exploring Operation: 89-50=39, Resulting Numbers: [14, 39]
Generated Node #0,1,4: 94:[14, 39] Operation: 89-50=39
Moving to Node #0,1,2
Current State: 94:[50, 103], Operations: ['44-30=14', '89+14=103']
Exploring Operation: 103-50=53, Resulting Numbers: [53]
53,94 unequal: No Solution
Exploring Operation: 50*103=5150, Resulting Numbers: [5150]
5150,94 unequal: No Solution
Exploring Operation: 50+103=153, Resulting Numbers: [153]
153,94 unequal: No Solution
Moving to Node #0,1,3
Current State: 94:[89, 36], Operations: ['44-30=14', '50-14=36']
Exploring Operation: 89*36=3204, Resulting Numbers: [3204]
3204,94 unequal: No Solution
Exploring Operation: 89+36=125, Resulting Numbers: [125]
125,94 unequal: No Solution
Exploring Operation: 89-36=53, Resulting Numbers: [53]
53,94 unequal: No Solution
Moving to Node #0,1,4
Current State: 94:[14, 39], Operations: ['44-30=14', '89-50=39']
Exploring Operation: 39-14=25, Resulting Numbers: [25]
25,94 unequal: No Solution
Exploring Operation: 14+39=53, Resulting Numbers: [53]
53,94 unequal: No Solution
Exploring Operation: 14*39=546, Resulting Numbers: [546]
546,94 unequal: No Solution
Moving to Node #0,1,0
Current State: 94:[50, 75], Operations: ['44-30=14', '89-14=75']
Exploring Operation: 50+75=125, Resulting Numbers: [125]
125,94 unequal: No Solution
Exploring Operation: 75-50=25, Resulting Numbers: [25]
25,94 unequal: No Solution
Exploring Operation: 50*75=3750, Resulting Numbers: [3750]
3750,94 unequal: No Solution
Moving to Node #0,1,1
Current State: 94:[89, 64], Operations: ['44-30=14', '50+14=64']
Exploring Operation: 89+64=153, Resulting Numbers: [153]
153,94 unequal: No Solution
Exploring Operation: 89-64=25, Resulting Numbers: [25]
25,94 unequal: No Solution
Exploring Operation: 89*64=5696, Resulting Numbers: [5696]
5696,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 94:[89, 44, 80], Operations: ['50+30=80']
Exploring Operation: 80-44=36, Resulting Numbers: [89, 36]
Generated Node #0,0,0: 94:[89, 36] Operation: 80-44=36
Exploring Operation: 44+80=124, Resulting Numbers: [89, 124]
Generated Node #0,0,1: 94:[89, 124] Operation: 44+80=124
Exploring Operation: 89-44=45, Resulting Numbers: [80, 45]
Generated Node #0,0,2: 94:[80, 45] Operation: 89-44=45
Exploring Operation: 89+44=133, Resulting Numbers: [80, 133]
Generated Node #0,0,3: 94:[80, 133] Operation: 89+44=133
Exploring Operation: 89-80=9, Resulting Numbers: [44, 9]
Generated Node #0,0,4: 94:[44, 9] Operation: 89-80=9
Start Sub Search at level 2: Moving to Node #0,0,4
Current State: 94:[44, 9], Operations: ['50+30=80', '89-80=9']
Exploring Operation: 44-9=35, Resulting Numbers: [35]
35,94 unequal: No Solution
Exploring Operation: 44*9=396, Resulting Numbers: [396]
396,94 unequal: No Solution
Exploring Operation: 44+9=53, Resulting Numbers: [53]
53,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 94:[89, 36], Operations: ['50+30=80', '80-44=36']
Exploring Operation: 89*36=3204, Resulting Numbers: [3204]
3204,94 unequal: No Solution
Exploring Operation: 89-36=53, Resulting Numbers: [53]
53,94 unequal: No Solution
Exploring Operation: 89+36=125, Resulting Numbers: [125]
125,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 94:[80, 45], Operations: ['50+30=80', '89-44=45']
Exploring Operation: 80*45=3600, Resulting Numbers: [3600]
3600,94 unequal: No Solution
Exploring Operation: 80-45=35, Resulting Numbers: [35]
35,94 unequal: No Solution
Exploring Operation: 80+45=125, Resulting Numbers: [125]
125,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 94:[89, 124], Operations: ['50+30=80', '44+80=124']
Exploring Operation: 124-89=35, Resulting Numbers: [35]
35,94 unequal: No Solution
Exploring Operation: 89*124=11036, Resulting Numbers: [11036]
11036,94 unequal: No Solution
Exploring Operation: 89+124=213, Resulting Numbers: [213]
213,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 94:[80, 133], Operations: ['50+30=80', '89+44=133']
Exploring Operation: 133-80=53, Resulting Numbers: [53]
53,94 unequal: No Solution
Exploring Operation: 80+133=213, Resulting Numbers: [213]
213,94 unequal: No Solution
Exploring Operation: 80*133=10640, Resulting Numbers: [10640]
10640,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 94:[50, 30, 45], Operations: ['89-44=45']
Exploring Operation: 45-30=15, Resulting Numbers: [50, 15]
Generated Node #0,3,0: 94:[50, 15] Operation: 45-30=15
Exploring Operation: 50+30=80, Resulting Numbers: [45, 80]
Generated Node #0,3,1: 94:[45, 80] Operation: 50+30=80
Exploring Operation: 50-30=20, Resulting Numbers: [45, 20]
Generated Node #0,3,2: 94:[45, 20] Operation: 50-30=20
Exploring Operation: 50-45=5, Resulting Numbers: [30, 5]
Generated Node #0,3,3: 94:[30, 5] Operation: 50-45=5
Exploring Operation: 50+45=95, Resulting Numbers: [30, 95]
Generated Node #0,3,4: 94:[30, 95] Operation: 50+45=95
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 94:[50, 15], Operations: ['89-44=45', '45-30=15']
Exploring Operation: 50*15=750, Resulting Numbers: [750]
750,94 unequal: No Solution
Exploring Operation: 50+15=65, Resulting Numbers: [65]
65,94 unequal: No Solution
Exploring Operation: 50-15=35, Resulting Numbers: [35]
35,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 94:[45, 80], Operations: ['89-44=45', '50+30=80']
Exploring Operation: 45+80=125, Resulting Numbers: [125]
125,94 unequal: No Solution
Exploring Operation: 80-45=35, Resulting Numbers: [35]
35,94 unequal: No Solution
Exploring Operation: 45*80=3600, Resulting Numbers: [3600]
3600,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 94:[30, 95], Operations: ['89-44=45', '50+45=95']
Exploring Operation: 95-30=65, Resulting Numbers: [65]
65,94 unequal: No Solution
Exploring Operation: 30*95=2850, Resulting Numbers: [2850]
2850,94 unequal: No Solution
Exploring Operation: 30+95=125, Resulting Numbers: [125]
125,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 94:[45, 20], Operations: ['89-44=45', '50-30=20']
Exploring Operation: 45+20=65, Resulting Numbers: [65]
65,94 unequal: No Solution
Exploring Operation: 45*20=900, Resulting Numbers: [900]
900,94 unequal: No Solution
Exploring Operation: 45-20=25, Resulting Numbers: [25]
25,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 94:[30, 5], Operations: ['89-44=45', '50-45=5']
Exploring Operation: 30*5=150, Resulting Numbers: [150]
150,94 unequal: No Solution
Exploring Operation: 30+5=35, Resulting Numbers: [35]
35,94 unequal: No Solution
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,94 unequal: No Solution
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 94:[89, 30, 94], Operations: ['50+44=94']
Exploring Operation: 89-30=59, Resulting Numbers: [94, 59]
Generated Node #0,4,0: 94:[94, 59] Operation: 89-30=59
Exploring Operation: 89+30=119, Resulting Numbers: [94, 119]
Generated Node #0,4,1: 94:[94, 119] Operation: 89+30=119
Exploring Operation: 30+94=124, Resulting Numbers: [89, 124]
Generated Node #0,4,2: 94:[89, 124] Operation: 30+94=124
Exploring Operation: 94-89=5, Resulting Numbers: [30, 5]
Generated Node #0,4,3: 94:[30, 5] Operation: 94-89=5
Exploring Operation: 94-30=64, Resulting Numbers: [89, 64]
Generated Node #0,4,4: 94:[89, 64] Operation: 94-30=64
Moving to Node #0,4,0
Current State: 94:[94, 59], Operations: ['50+44=94', '89-30=59']
Exploring Operation: 94+59=153, Resulting Numbers: [153]
153,94 unequal: No Solution
Exploring Operation: 94-59=35, Resulting Numbers: [35]
35,94 unequal: No Solution
Exploring Operation: 94*59=5546, Resulting Numbers: [5546]
5546,94 unequal: No Solution
Moving to Node #0,4,3
Current State: 94:[30, 5], Operations: ['50+44=94', '94-89=5']
Exploring Operation: 30+5=35, Resulting Numbers: [35]
35,94 unequal: No Solution
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,94 unequal: No Solution
Exploring Operation: 30-5=25, Resulting Numbers: [25]
25,94 unequal: No Solution
Exploring Operation: 30*5=150, Resulting Numbers: [150]
150,94 unequal: No Solution
Moving to Node #0,4,4
Current State: 94:[89, 64], Operations: ['50+44=94', '94-30=64']
Exploring Operation: 89+64=153, Resulting Numbers: [153]
153,94 unequal: No Solution
Exploring Operation: 89*64=5696, Resulting Numbers: [5696]
5696,94 unequal: No Solution
Exploring Operation: 89-64=25, Resulting Numbers: [25]
25,94 unequal: No Solution
Moving to Node #0,4,1
Current State: 94:[94, 119], Operations: ['50+44=94', '89+30=119']
Exploring Operation: 94*119=11186, Resulting Numbers: [11186]
11186,94 unequal: No Solution
Exploring Operation: 119-94=25, Resulting Numbers: [25]
25,94 unequal: No Solution
Exploring Operation: 94+119=213, Resulting Numbers: [213]
213,94 unequal: No Solution
Moving to Node #0,4,2
Current State: 94:[89, 124], Operations: ['50+44=94', '30+94=124']
Exploring Operation: 89*124=11036, Resulting Numbers: [11036]
11036,94 unequal: No Solution
Exploring Operation: 89+124=213, Resulting Numbers: [213]
213,94 unequal: No Solution
Exploring Operation: 124-89=35, Resulting Numbers: [35]
35,94 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
74,
91,
20,
72
] | 73 | [
"74+91=165",
"20+72=92",
"165-92=73"
] | Current State: 73:[74, 91, 20, 72], Operations: []
Exploring Operation: 74+91=165, Resulting Numbers: [20, 72, 165]
Generated Node #2: [20, 72, 165] from Operation: 74+91=165
Current State: 73:[20, 72, 165], Operations: ['74+91=165']
Exploring Operation: 20+72=92, Resulting Numbers: [165, 92]
Generated Node #3: [165, 92] from Operation: 20+72=92
Current State: 73:[165, 92], Operations: ['74+91=165', '20+72=92']
Exploring Operation: 165-92=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[74, 91, 20, 72], Operations: []
Exploring Operation: 74-20=54, Resulting Numbers: [91, 72, 54]
Generated Node #0,0: 73:[91, 72, 54] Operation: 74-20=54
Exploring Operation: 74+20=94, Resulting Numbers: [91, 72, 94]
Generated Node #0,1: 73:[91, 72, 94] Operation: 74+20=94
Exploring Operation: 91-20=71, Resulting Numbers: [74, 72, 71]
Generated Node #0,2: 73:[74, 72, 71] Operation: 91-20=71
Exploring Operation: 20+72=92, Resulting Numbers: [74, 91, 92]
Generated Node #0,3: 73:[74, 91, 92] Operation: 20+72=92
Exploring Operation: 91+20=111, Resulting Numbers: [74, 72, 111]
Generated Node #0,4: 73:[74, 72, 111] Operation: 91+20=111
Start Sub Search at level 1: Moving to Node #0,2
Current State: 73:[74, 72, 71], Operations: ['91-20=71']
Exploring Operation: 72-71=1, Resulting Numbers: [74, 1]
Generated Node #0,2,0: 73:[74, 1] Operation: 72-71=1
Exploring Operation: 74-71=3, Resulting Numbers: [72, 3]
Generated Node #0,2,1: 73:[72, 3] Operation: 74-71=3
Exploring Operation: 74-72=2, Resulting Numbers: [71, 2]
Generated Node #0,2,2: 73:[71, 2] Operation: 74-72=2
Exploring Operation: 74+71=145, Resulting Numbers: [72, 145]
Generated Node #0,2,3: 73:[72, 145] Operation: 74+71=145
Exploring Operation: 72+71=143, Resulting Numbers: [74, 143]
Generated Node #0,2,4: 73:[74, 143] Operation: 72+71=143
Moving to Node #0,2,1
Current State: 73:[72, 3], Operations: ['91-20=71', '74-71=3']
Exploring Operation: 72+3=75, Resulting Numbers: [75]
75,73 unequal: No Solution
Exploring Operation: 72*3=216, Resulting Numbers: [216]
216,73 unequal: No Solution
Exploring Operation: 72/3=24, Resulting Numbers: [24]
24,73 unequal: No Solution
Exploring Operation: 72-3=69, Resulting Numbers: [69]
69,73 unequal: No Solution
Moving to Node #0,2,4
Current State: 73:[74, 143], Operations: ['91-20=71', '72+71=143']
Exploring Operation: 143-74=69, Resulting Numbers: [69]
69,73 unequal: No Solution
Exploring Operation: 74+143=217, Resulting Numbers: [217]
217,73 unequal: No Solution
Exploring Operation: 74*143=10582, Resulting Numbers: [10582]
10582,73 unequal: No Solution
Moving to Node #0,2,0
Current State: 73:[74, 1], Operations: ['91-20=71', '72-71=1']
Exploring Operation: 74*1=74, Resulting Numbers: [74]
74,73 unequal: No Solution
Exploring Operation: 74/1=74, Resulting Numbers: [74]
74,73 unequal: No Solution
Exploring Operation: 74+1=75, Resulting Numbers: [75]
75,73 unequal: No Solution
Exploring Operation: 74-1=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[74, 91, 20, 72], Operations: []
Exploring Operation: 91-20=71, Resulting Numbers: [74, 72, 71]
Generated Node #0,2: 73:[74, 72, 71] Operation: 91-20=71
Moving to Node #0,2
Current State: 73:[74, 72, 71], Operations: ['91-20=71']
Exploring Operation: 72-71=1, Resulting Numbers: [74, 1]
Generated Node #0,2,0: 73:[74, 1] Operation: 72-71=1
Moving to Node #0,2,0
Current State: 73:[74, 1], Operations: ['91-20=71', '72-71=1']
Exploring Operation: 74-1=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 1
| 0.978299 | hs_5 | mult_heuristic |
[
69,
49,
13,
46
] | 54 | [
"49-13=36",
"69*36=2484",
"2484/46=54"
] | Current State: 54:[69, 49, 13, 46], Operations: []
Exploring Operation: 49-13=36, Resulting Numbers: [69, 46, 36]
Generated Node #2: [69, 46, 36] from Operation: 49-13=36
Current State: 54:[69, 46, 36], Operations: ['49-13=36']
Exploring Operation: 69*36=2484, Resulting Numbers: [46, 2484]
Generated Node #3: [46, 2484] from Operation: 69*36=2484
Current State: 54:[46, 2484], Operations: ['49-13=36', '69*36=2484']
Exploring Operation: 2484/46=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[69, 49, 13, 46], Operations: []
Exploring Operation: 69-13=56, Resulting Numbers: [49, 46, 56]
Generated Node #0,0: 54:[49, 46, 56] Operation: 69-13=56
Exploring Operation: 49-46=3, Resulting Numbers: [69, 13, 3]
Generated Node #0,1: 54:[69, 13, 3] Operation: 49-46=3
Exploring Operation: 69-46=23, Resulting Numbers: [49, 13, 23]
Generated Node #0,2: 54:[49, 13, 23] Operation: 69-46=23
Exploring Operation: 69-49=20, Resulting Numbers: [13, 46, 20]
Generated Node #0,3: 54:[13, 46, 20] Operation: 69-49=20
Start Sub Search at level 1: Moving to Node #0,2
Current State: 54:[49, 13, 23], Operations: ['69-46=23']
Exploring Operation: 49-13=36, Resulting Numbers: [23, 36]
Generated Node #0,2,0: 54:[23, 36] Operation: 49-13=36
Exploring Operation: 49+13=62, Resulting Numbers: [23, 62]
Generated Node #0,2,1: 54:[23, 62] Operation: 49+13=62
Exploring Operation: 49-23=26, Resulting Numbers: [13, 26]
Generated Node #0,2,2: 54:[13, 26] Operation: 49-23=26
Exploring Operation: 23-13=10, Resulting Numbers: [49, 10]
Generated Node #0,2,3: 54:[49, 10] Operation: 23-13=10
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 54:[13, 26], Operations: ['69-46=23', '49-23=26']
Exploring Operation: 26-13=13, Resulting Numbers: [13]
13,54 unequal: No Solution
Exploring Operation: 13+26=39, Resulting Numbers: [39]
39,54 unequal: No Solution
Exploring Operation: 26/13=2, Resulting Numbers: [2]
2,54 unequal: No Solution
Exploring Operation: 13*26=338, Resulting Numbers: [338]
338,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 54:[49, 10], Operations: ['69-46=23', '23-13=10']
Exploring Operation: 49-10=39, Resulting Numbers: [39]
39,54 unequal: No Solution
Exploring Operation: 49+10=59, Resulting Numbers: [59]
59,54 unequal: No Solution
Exploring Operation: 49*10=490, Resulting Numbers: [490]
490,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 54:[23, 62], Operations: ['69-46=23', '49+13=62']
Exploring Operation: 62-23=39, Resulting Numbers: [39]
39,54 unequal: No Solution
Exploring Operation: 23*62=1426, Resulting Numbers: [1426]
1426,54 unequal: No Solution
Exploring Operation: 23+62=85, Resulting Numbers: [85]
85,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 54:[23, 36], Operations: ['69-46=23', '49-13=36']
Exploring Operation: 36-23=13, Resulting Numbers: [13]
13,54 unequal: No Solution
Exploring Operation: 23+36=59, Resulting Numbers: [59]
59,54 unequal: No Solution
Exploring Operation: 23*36=828, Resulting Numbers: [828]
828,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 54:[13, 46, 20], Operations: ['69-49=20']
Exploring Operation: 20-13=7, Resulting Numbers: [46, 7]
Generated Node #0,3,0: 54:[46, 7] Operation: 20-13=7
Exploring Operation: 13+46=59, Resulting Numbers: [20, 59]
Generated Node #0,3,1: 54:[20, 59] Operation: 13+46=59
Exploring Operation: 46-20=26, Resulting Numbers: [13, 26]
Generated Node #0,3,2: 54:[13, 26] Operation: 46-20=26
Exploring Operation: 46-13=33, Resulting Numbers: [20, 33]
Generated Node #0,3,3: 54:[20, 33] Operation: 46-13=33
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 54:[13, 26], Operations: ['69-49=20', '46-20=26']
Exploring Operation: 13*26=338, Resulting Numbers: [338]
338,54 unequal: No Solution
Exploring Operation: 26/13=2, Resulting Numbers: [2]
2,54 unequal: No Solution
Exploring Operation: 26-13=13, Resulting Numbers: [13]
13,54 unequal: No Solution
Exploring Operation: 13+26=39, Resulting Numbers: [39]
39,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 54:[20, 59], Operations: ['69-49=20', '13+46=59']
Exploring Operation: 59-20=39, Resulting Numbers: [39]
39,54 unequal: No Solution
Exploring Operation: 20*59=1180, Resulting Numbers: [1180]
1180,54 unequal: No Solution
Exploring Operation: 20+59=79, Resulting Numbers: [79]
79,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 54:[20, 33], Operations: ['69-49=20', '46-13=33']
Exploring Operation: 20+33=53, Resulting Numbers: [53]
53,54 unequal: No Solution
Exploring Operation: 20*33=660, Resulting Numbers: [660]
660,54 unequal: No Solution
Exploring Operation: 33-20=13, Resulting Numbers: [13]
13,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 54:[46, 7], Operations: ['69-49=20', '20-13=7']
Exploring Operation: 46-7=39, Resulting Numbers: [39]
39,54 unequal: No Solution
Exploring Operation: 46+7=53, Resulting Numbers: [53]
53,54 unequal: No Solution
Exploring Operation: 46*7=322, Resulting Numbers: [322]
322,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 54:[49, 46, 56], Operations: ['69-13=56']
Exploring Operation: 49+46=95, Resulting Numbers: [56, 95]
Generated Node #0,0,0: 54:[56, 95] Operation: 49+46=95
Exploring Operation: 49-46=3, Resulting Numbers: [56, 3]
Generated Node #0,0,1: 54:[56, 3] Operation: 49-46=3
Exploring Operation: 56-46=10, Resulting Numbers: [49, 10]
Generated Node #0,0,2: 54:[49, 10] Operation: 56-46=10
Exploring Operation: 56-49=7, Resulting Numbers: [46, 7]
Generated Node #0,0,3: 54:[46, 7] Operation: 56-49=7
Moving to Node #0,0,1
Current State: 54:[56, 3], Operations: ['69-13=56', '49-46=3']
Exploring Operation: 56+3=59, Resulting Numbers: [59]
59,54 unequal: No Solution
Exploring Operation: 56*3=168, Resulting Numbers: [168]
168,54 unequal: No Solution
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,54 unequal: No Solution
Moving to Node #0,0,2
Current State: 54:[49, 10], Operations: ['69-13=56', '56-46=10']
Exploring Operation: 49*10=490, Resulting Numbers: [490]
490,54 unequal: No Solution
Exploring Operation: 49-10=39, Resulting Numbers: [39]
39,54 unequal: No Solution
Exploring Operation: 49+10=59, Resulting Numbers: [59]
59,54 unequal: No Solution
Moving to Node #0,0,3
Current State: 54:[46, 7], Operations: ['69-13=56', '56-49=7']
Exploring Operation: 46*7=322, Resulting Numbers: [322]
322,54 unequal: No Solution
Exploring Operation: 46-7=39, Resulting Numbers: [39]
39,54 unequal: No Solution
Exploring Operation: 46+7=53, Resulting Numbers: [53]
53,54 unequal: No Solution
Moving to Node #0,0,0
Current State: 54:[56, 95], Operations: ['69-13=56', '49+46=95']
Exploring Operation: 95-56=39, Resulting Numbers: [39]
39,54 unequal: No Solution
Exploring Operation: 56*95=5320, Resulting Numbers: [5320]
5320,54 unequal: No Solution
Exploring Operation: 56+95=151, Resulting Numbers: [151]
151,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 54:[69, 13, 3], Operations: ['49-46=3']
Exploring Operation: 69-3=66, Resulting Numbers: [13, 66]
Generated Node #0,1,0: 54:[13, 66] Operation: 69-3=66
Exploring Operation: 13-3=10, Resulting Numbers: [69, 10]
Generated Node #0,1,1: 54:[69, 10] Operation: 13-3=10
Exploring Operation: 69/3=23, Resulting Numbers: [13, 23]
Generated Node #0,1,2: 54:[13, 23] Operation: 69/3=23
Exploring Operation: 69-13=56, Resulting Numbers: [3, 56]
Generated Node #0,1,3: 54:[3, 56] Operation: 69-13=56
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 54:[3, 56], Operations: ['49-46=3', '69-13=56']
Exploring Operation: 56-3=53, Resulting Numbers: [53]
53,54 unequal: No Solution
Exploring Operation: 3+56=59, Resulting Numbers: [59]
59,54 unequal: No Solution
Exploring Operation: 3*56=168, Resulting Numbers: [168]
168,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 54:[13, 23], Operations: ['49-46=3', '69/3=23']
Exploring Operation: 13*23=299, Resulting Numbers: [299]
299,54 unequal: No Solution
Exploring Operation: 13+23=36, Resulting Numbers: [36]
36,54 unequal: No Solution
Exploring Operation: 23-13=10, Resulting Numbers: [10]
10,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 54:[13, 66], Operations: ['49-46=3', '69-3=66']
Exploring Operation: 13+66=79, Resulting Numbers: [79]
79,54 unequal: No Solution
Exploring Operation: 13*66=858, Resulting Numbers: [858]
858,54 unequal: No Solution
Exploring Operation: 66-13=53, Resulting Numbers: [53]
53,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 54:[69, 10], Operations: ['49-46=3', '13-3=10']
Exploring Operation: 69*10=690, Resulting Numbers: [690]
690,54 unequal: No Solution
Exploring Operation: 69-10=59, Resulting Numbers: [59]
59,54 unequal: No Solution
Exploring Operation: 69+10=79, Resulting Numbers: [79]
79,54 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
63,
20,
48,
95
] | 90 | [
"63-20=43",
"95-48=47",
"43+47=90"
] | Current State: 90:[63, 20, 48, 95], Operations: []
Exploring Operation: 63-20=43, Resulting Numbers: [48, 95, 43]
Generated Node #2: [48, 95, 43] from Operation: 63-20=43
Current State: 90:[48, 95, 43], Operations: ['63-20=43']
Exploring Operation: 95-48=47, Resulting Numbers: [43, 47]
Generated Node #3: [43, 47] from Operation: 95-48=47
Current State: 90:[43, 47], Operations: ['63-20=43', '95-48=47']
Exploring Operation: 43+47=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[63, 20, 48, 95], Operations: []
Exploring Operation: 63+20=83, Resulting Numbers: [48, 95, 83]
Generated Node #0,0: 90:[48, 95, 83] Operation: 63+20=83
Exploring Operation: 63-20=43, Resulting Numbers: [48, 95, 43]
Generated Node #0,1: 90:[48, 95, 43] Operation: 63-20=43
Exploring Operation: 63-48=15, Resulting Numbers: [20, 95, 15]
Generated Node #0,2: 90:[20, 95, 15] Operation: 63-48=15
Exploring Operation: 95-63=32, Resulting Numbers: [20, 48, 32]
Generated Node #0,3: 90:[20, 48, 32] Operation: 95-63=32
Moving to Node #0,2
Current State: 90:[20, 95, 15], Operations: ['63-48=15']
Exploring Operation: 20+15=35, Resulting Numbers: [95, 35]
Generated Node #0,2,0: 90:[95, 35] Operation: 20+15=35
Exploring Operation: 95-15=80, Resulting Numbers: [20, 80]
Generated Node #0,2,1: 90:[20, 80] Operation: 95-15=80
Exploring Operation: 20-15=5, Resulting Numbers: [95, 5]
Generated Node #0,2,2: 90:[95, 5] Operation: 20-15=5
Exploring Operation: 95-20=75, Resulting Numbers: [15, 75]
Generated Node #0,2,3: 90:[15, 75] Operation: 95-20=75
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 90:[95, 5], Operations: ['63-48=15', '20-15=5']
Exploring Operation: 95+5=100, Resulting Numbers: [100]
100,90 unequal: No Solution
Exploring Operation: 95-5=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[63, 20, 48, 95], Operations: []
Exploring Operation: 63-48=15, Resulting Numbers: [20, 95, 15]
Generated Node #0,2: 90:[20, 95, 15] Operation: 63-48=15
Moving to Node #0,2
Current State: 90:[20, 95, 15], Operations: ['63-48=15']
Exploring Operation: 20-15=5, Resulting Numbers: [95, 5]
Generated Node #0,2,2: 90:[95, 5] Operation: 20-15=5
Moving to Node #0,2,2
Current State: 90:[95, 5], Operations: ['63-48=15', '20-15=5']
Exploring Operation: 95-5=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
10,
25,
97,
96
] | 14 | [
"25-10=15",
"97-96=1",
"15-1=14"
] | Current State: 14:[10, 25, 97, 96], Operations: []
Exploring Operation: 25-10=15, Resulting Numbers: [97, 96, 15]
Generated Node #2: [97, 96, 15] from Operation: 25-10=15
Current State: 14:[97, 96, 15], Operations: ['25-10=15']
Exploring Operation: 97-96=1, Resulting Numbers: [15, 1]
Generated Node #3: [15, 1] from Operation: 97-96=1
Current State: 14:[15, 1], Operations: ['25-10=15', '97-96=1']
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[10, 25, 97, 96], Operations: []
Exploring Operation: 97-25=72, Resulting Numbers: [10, 96, 72]
Generated Node #0,0: 14:[10, 96, 72] Operation: 97-25=72
Exploring Operation: 97-96=1, Resulting Numbers: [10, 25, 1]
Generated Node #0,1: 14:[10, 25, 1] Operation: 97-96=1
Exploring Operation: 97-10=87, Resulting Numbers: [25, 96, 87]
Generated Node #0,2: 14:[25, 96, 87] Operation: 97-10=87
Exploring Operation: 96-25=71, Resulting Numbers: [10, 97, 71]
Generated Node #0,3: 14:[10, 97, 71] Operation: 96-25=71
Exploring Operation: 25-10=15, Resulting Numbers: [97, 96, 15]
Generated Node #0,4: 14:[97, 96, 15] Operation: 25-10=15
Moving to Node #0,1
Current State: 14:[10, 25, 1], Operations: ['97-96=1']
Exploring Operation: 10*1=10, Resulting Numbers: [25, 10]
Generated Node #0,1,0: 14:[25, 10] Operation: 10*1=10
Exploring Operation: 10+1=11, Resulting Numbers: [25, 11]
Generated Node #0,1,1: 14:[25, 11] Operation: 10+1=11
Exploring Operation: 25-10=15, Resulting Numbers: [1, 15]
Generated Node #0,1,2: 14:[1, 15] Operation: 25-10=15
Exploring Operation: 25-1=24, Resulting Numbers: [10, 24]
Generated Node #0,1,3: 14:[10, 24] Operation: 25-1=24
Exploring Operation: 10-1=9, Resulting Numbers: [25, 9]
Generated Node #0,1,4: 14:[25, 9] Operation: 10-1=9
Moving to Node #0,3
Current State: 14:[10, 97, 71], Operations: ['96-25=71']
Exploring Operation: 10+97=107, Resulting Numbers: [71, 107]
Generated Node #0,3,0: 14:[71, 107] Operation: 10+97=107
Exploring Operation: 10+71=81, Resulting Numbers: [97, 81]
Generated Node #0,3,1: 14:[97, 81] Operation: 10+71=81
Exploring Operation: 97-10=87, Resulting Numbers: [71, 87]
Generated Node #0,3,2: 14:[71, 87] Operation: 97-10=87
Exploring Operation: 71-10=61, Resulting Numbers: [97, 61]
Generated Node #0,3,3: 14:[97, 61] Operation: 71-10=61
Exploring Operation: 97-71=26, Resulting Numbers: [10, 26]
Generated Node #0,3,4: 14:[10, 26] Operation: 97-71=26
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 14:[10, 26], Operations: ['96-25=71', '97-71=26']
Exploring Operation: 26-10=16, Resulting Numbers: [16]
16,14 unequal: No Solution
Exploring Operation: 10+26=36, Resulting Numbers: [36]
36,14 unequal: No Solution
Exploring Operation: 10*26=260, Resulting Numbers: [260]
260,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,3,2
Current State: 14:[71, 87], Operations: ['96-25=71', '97-10=87']
Exploring Operation: 71*87=6177, Resulting Numbers: [6177]
6177,14 unequal: No Solution
Exploring Operation: 71+87=158, Resulting Numbers: [158]
158,14 unequal: No Solution
Exploring Operation: 87-71=16, Resulting Numbers: [16]
16,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,3,3
Current State: 14:[97, 61], Operations: ['96-25=71', '71-10=61']
Exploring Operation: 97+61=158, Resulting Numbers: [158]
158,14 unequal: No Solution
Exploring Operation: 97*61=5917, Resulting Numbers: [5917]
5917,14 unequal: No Solution
Exploring Operation: 97-61=36, Resulting Numbers: [36]
36,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,3,0
Current State: 14:[71, 107], Operations: ['96-25=71', '10+97=107']
Exploring Operation: 71*107=7597, Resulting Numbers: [7597]
7597,14 unequal: No Solution
Exploring Operation: 107-71=36, Resulting Numbers: [36]
36,14 unequal: No Solution
Exploring Operation: 71+107=178, Resulting Numbers: [178]
178,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,3,1
Current State: 14:[97, 81], Operations: ['96-25=71', '10+71=81']
Exploring Operation: 97*81=7857, Resulting Numbers: [7857]
7857,14 unequal: No Solution
Exploring Operation: 97-81=16, Resulting Numbers: [16]
16,14 unequal: No Solution
Exploring Operation: 97+81=178, Resulting Numbers: [178]
178,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:[10, 96, 72], Operations: ['97-25=72']
Exploring Operation: 96-72=24, Resulting Numbers: [10, 24]
Generated Node #0,0,0: 14:[10, 24] Operation: 96-72=24
Exploring Operation: 96-10=86, Resulting Numbers: [72, 86]
Generated Node #0,0,1: 14:[72, 86] Operation: 96-10=86
Exploring Operation: 10+72=82, Resulting Numbers: [96, 82]
Generated Node #0,0,2: 14:[96, 82] Operation: 10+72=82
Exploring Operation: 72-10=62, Resulting Numbers: [96, 62]
Generated Node #0,0,3: 14:[96, 62] Operation: 72-10=62
Exploring Operation: 10+96=106, Resulting Numbers: [72, 106]
Generated Node #0,0,4: 14:[72, 106] Operation: 10+96=106
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 14:[10, 24], Operations: ['97-25=72', '96-72=24']
Exploring Operation: 10*24=240, Resulting Numbers: [240]
240,14 unequal: No Solution
Exploring Operation: 10+24=34, Resulting Numbers: [34]
34,14 unequal: No Solution
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[10, 25, 97, 96], Operations: []
Exploring Operation: 97-25=72, Resulting Numbers: [10, 96, 72]
Generated Node #0,0: 14:[10, 96, 72] Operation: 97-25=72
Moving to Node #0,0
Current State: 14:[10, 96, 72], Operations: ['97-25=72']
Exploring Operation: 96-72=24, Resulting Numbers: [10, 24]
Generated Node #0,0,0: 14:[10, 24] Operation: 96-72=24
Moving to Node #0,0,0
Current State: 14:[10, 24], Operations: ['97-25=72', '96-72=24']
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.963542 | hs_5 | mult_heuristic |
[
42,
75,
64,
11
] | 41 | [
"75-64=11",
"11/11=1",
"42-1=41"
] | Current State: 41:[42, 75, 64, 11], Operations: []
Exploring Operation: 75-64=11, Resulting Numbers: [42, 11, 11]
Generated Node #2: [42, 11, 11] from Operation: 75-64=11
Current State: 41:[42, 11, 11], Operations: ['75-64=11']
Exploring Operation: 11/11=1, Resulting Numbers: [42, 1]
Generated Node #3: [42, 1] from Operation: 11/11=1
Current State: 41:[42, 1], Operations: ['75-64=11', '11/11=1']
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[42, 75, 64, 11], Operations: []
Exploring Operation: 42-11=31, Resulting Numbers: [75, 64, 31]
Generated Node #0,0: 41:[75, 64, 31] Operation: 42-11=31
Exploring Operation: 64-11=53, Resulting Numbers: [42, 75, 53]
Generated Node #0,1: 41:[42, 75, 53] Operation: 64-11=53
Exploring Operation: 75-64=11, Resulting Numbers: [42, 11, 11]
Generated Node #0,2: 41:[42, 11, 11] Operation: 75-64=11
Exploring Operation: 75-11=64, Resulting Numbers: [42, 64, 64]
Generated Node #0,3: 41:[42, 64, 64] Operation: 75-11=64
Exploring Operation: 75-42=33, Resulting Numbers: [64, 11, 33]
Generated Node #0,4: 41:[64, 11, 33] Operation: 75-42=33
Start Sub Search at level 1: Moving to Node #0,1
Current State: 41:[42, 75, 53], Operations: ['64-11=53']
Exploring Operation: 75-42=33, Resulting Numbers: [53, 33]
Generated Node #0,1,0: 41:[53, 33] Operation: 75-42=33
Exploring Operation: 42+53=95, Resulting Numbers: [75, 95]
Generated Node #0,1,1: 41:[75, 95] Operation: 42+53=95
Exploring Operation: 53-42=11, Resulting Numbers: [75, 11]
Generated Node #0,1,2: 41:[75, 11] Operation: 53-42=11
Exploring Operation: 75-53=22, Resulting Numbers: [42, 22]
Generated Node #0,1,3: 41:[42, 22] Operation: 75-53=22
Exploring Operation: 42+75=117, Resulting Numbers: [53, 117]
Generated Node #0,1,4: 41:[53, 117] Operation: 42+75=117
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 41:[53, 33], Operations: ['64-11=53', '75-42=33']
Exploring Operation: 53-33=20, Resulting Numbers: [20]
20,41 unequal: No Solution
Exploring Operation: 53*33=1749, Resulting Numbers: [1749]
1749,41 unequal: No Solution
Exploring Operation: 53+33=86, Resulting Numbers: [86]
86,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 41:[42, 22], Operations: ['64-11=53', '75-53=22']
Exploring Operation: 42*22=924, Resulting Numbers: [924]
924,41 unequal: No Solution
Exploring Operation: 42+22=64, Resulting Numbers: [64]
64,41 unequal: No Solution
Exploring Operation: 42-22=20, Resulting Numbers: [20]
20,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 41:[75, 11], Operations: ['64-11=53', '53-42=11']
Exploring Operation: 75*11=825, Resulting Numbers: [825]
825,41 unequal: No Solution
Exploring Operation: 75+11=86, Resulting Numbers: [86]
86,41 unequal: No Solution
Exploring Operation: 75-11=64, Resulting Numbers: [64]
64,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 41:[75, 95], Operations: ['64-11=53', '42+53=95']
Exploring Operation: 75+95=170, Resulting Numbers: [170]
170,41 unequal: No Solution
Exploring Operation: 75*95=7125, Resulting Numbers: [7125]
7125,41 unequal: No Solution
Exploring Operation: 95-75=20, Resulting Numbers: [20]
20,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 41:[53, 117], Operations: ['64-11=53', '42+75=117']
Exploring Operation: 53+117=170, Resulting Numbers: [170]
170,41 unequal: No Solution
Exploring Operation: 53*117=6201, Resulting Numbers: [6201]
6201,41 unequal: No Solution
Exploring Operation: 117-53=64, Resulting Numbers: [64]
64,41 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 41:[42, 64, 64], Operations: ['75-11=64']
Exploring Operation: 64-42=22, Resulting Numbers: [64, 22]
Generated Node #0,3,0: 41:[64, 22] Operation: 64-42=22
Exploring Operation: 64-64=0, Resulting Numbers: [42, 0]
Generated Node #0,3,1: 41:[42, 0] Operation: 64-64=0
Exploring Operation: 42+64=106, Resulting Numbers: [64, 106]
Generated Node #0,3,2: 41:[64, 106] Operation: 42+64=106
Exploring Operation: 64/64=1, Resulting Numbers: [42, 1]
Generated Node #0,3,3: 41:[42, 1] Operation: 64/64=1
Exploring Operation: 64-42=22, Resulting Numbers: [64, 22]
Generated Node #0,3,4: 41:[64, 22] Operation: 64-42=22
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 41:[42, 1], Operations: ['75-11=64', '64/64=1']
Exploring Operation: 42+1=43, Resulting Numbers: [43]
43,41 unequal: No Solution
Exploring Operation: 42/1=42, Resulting Numbers: [42]
42,41 unequal: No Solution
Exploring Operation: 42*1=42, Resulting Numbers: [42]
42,41 unequal: No Solution
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[42, 75, 64, 11], Operations: []
Exploring Operation: 75-11=64, Resulting Numbers: [42, 64, 64]
Generated Node #0,3: 41:[42, 64, 64] Operation: 75-11=64
Moving to Node #0,3
Current State: 41:[42, 64, 64], Operations: ['75-11=64']
Exploring Operation: 64/64=1, Resulting Numbers: [42, 1]
Generated Node #0,3,3: 41:[42, 1] Operation: 64/64=1
Moving to Node #0,3,3
Current State: 41:[42, 1], Operations: ['75-11=64', '64/64=1']
Exploring Operation: 42-1=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.967014 | hs_5 | mult_heuristic |
[
6,
16,
22,
13
] | 13 | [
"6+16=22",
"22+13=35",
"35-22=13"
] | Current State: 13:[6, 16, 22, 13], Operations: []
Exploring Operation: 6+16=22, Resulting Numbers: [22, 13, 22]
Generated Node #2: [22, 13, 22] from Operation: 6+16=22
Current State: 13:[22, 13, 22], Operations: ['6+16=22']
Exploring Operation: 22+13=35, Resulting Numbers: [35]
35,13 equal: Goal Reached
Exploring Operation: 35-22=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[6, 16, 22, 13], Operations: []
Exploring Operation: 16-6=10, Resulting Numbers: [22, 13, 10]
Generated Node #0,0: 13:[22, 13, 10] Operation: 16-6=10
Exploring Operation: 22-6=16, Resulting Numbers: [16, 13, 16]
Generated Node #0,1: 13:[16, 13, 16] Operation: 22-6=16
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[16, 13, 16], Operations: ['22-6=16']
Exploring Operation: 16-13=3, Resulting Numbers: [16, 3]
Generated Node #0,1,0: 13:[16, 3] Operation: 16-13=3
Exploring Operation: 16/16=1, Resulting Numbers: [13, 1]
Generated Node #0,1,1: 13:[13, 1] Operation: 16/16=1
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 13:[13, 1], Operations: ['22-6=16', '16/16=1']
Exploring Operation: 13*1=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[6, 16, 22, 13], Operations: []
Exploring Operation: 22-6=16, Resulting Numbers: [16, 13, 16]
Generated Node #0,1: 13:[16, 13, 16] Operation: 22-6=16
Moving to Node #0,1
Current State: 13:[16, 13, 16], Operations: ['22-6=16']
Exploring Operation: 16/16=1, Resulting Numbers: [13, 1]
Generated Node #0,1,1: 13:[13, 1] Operation: 16/16=1
Moving to Node #0,1,1
Current State: 13:[13, 1], Operations: ['22-6=16', '16/16=1']
Exploring Operation: 13*1=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
6,
32,
63,
52
] | 89 | [
"32-6=26",
"63+52=115",
"115-26=89"
] | Current State: 89:[6, 32, 63, 52], Operations: []
Exploring Operation: 32-6=26, Resulting Numbers: [63, 52, 26]
Generated Node #2: [63, 52, 26] from Operation: 32-6=26
Current State: 89:[63, 52, 26], Operations: ['32-6=26']
Exploring Operation: 63+52=115, Resulting Numbers: [26, 115]
Generated Node #3: [26, 115] from Operation: 63+52=115
Current State: 89:[26, 115], Operations: ['32-6=26', '63+52=115']
Exploring Operation: 115-26=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[6, 32, 63, 52], Operations: []
Exploring Operation: 6+63=69, Resulting Numbers: [32, 52, 69]
Generated Node #0,0: 89:[32, 52, 69] Operation: 6+63=69
Exploring Operation: 6+32=38, Resulting Numbers: [63, 52, 38]
Generated Node #0,1: 89:[63, 52, 38] Operation: 6+32=38
Exploring Operation: 6+52=58, Resulting Numbers: [32, 63, 58]
Generated Node #0,2: 89:[32, 63, 58] Operation: 6+52=58
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[32, 52, 69], Operations: ['6+63=69']
Exploring Operation: 52-32=20, Resulting Numbers: [69, 20]
Generated Node #0,0,0: 89:[69, 20] Operation: 52-32=20
Exploring Operation: 32+52=84, Resulting Numbers: [69, 84]
Generated Node #0,0,1: 89:[69, 84] Operation: 32+52=84
Exploring Operation: 32+69=101, Resulting Numbers: [52, 101]
Generated Node #0,0,2: 89:[52, 101] Operation: 32+69=101
Moving to Node #0,0,1
Current State: 89:[69, 84], Operations: ['6+63=69', '32+52=84']
Exploring Operation: 84-69=15, Resulting Numbers: [15]
15,89 unequal: No Solution
Exploring Operation: 69+84=153, Resulting Numbers: [153]
153,89 unequal: No Solution
Exploring Operation: 69*84=5796, Resulting Numbers: [5796]
5796,89 unequal: No Solution
Moving to Node #0,0,2
Current State: 89:[52, 101], Operations: ['6+63=69', '32+69=101']
Exploring Operation: 101-52=49, Resulting Numbers: [49]
49,89 unequal: No Solution
Exploring Operation: 52+101=153, Resulting Numbers: [153]
153,89 unequal: No Solution
Exploring Operation: 52*101=5252, Resulting Numbers: [5252]
5252,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[69, 20], Operations: ['6+63=69', '52-32=20']
Exploring Operation: 69+20=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Moving to Node #0
Current State: 89:[6, 32, 63, 52], Operations: []
Exploring Operation: 6+63=69, Resulting Numbers: [32, 52, 69]
Generated Node #0,0: 89:[32, 52, 69] Operation: 6+63=69
Moving to Node #0,0
Current State: 89:[32, 52, 69], Operations: ['6+63=69']
Exploring Operation: 52-32=20, Resulting Numbers: [69, 20]
Generated Node #0,0,0: 89:[69, 20] Operation: 52-32=20
Moving to Node #0,0,0
Current State: 89:[69, 20], Operations: ['6+63=69', '52-32=20']
Exploring Operation: 69+20=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_3 | mult_heuristic |
[
35,
57,
75,
63
] | 78 | [
"75*63=4725",
"4725/35=135",
"135-57=78"
] | Current State: 78:[35, 57, 75, 63], Operations: []
Exploring Operation: 75*63=4725, Resulting Numbers: [35, 57, 4725]
Generated Node #2: [35, 57, 4725] from Operation: 75*63=4725
Current State: 78:[35, 57, 4725], Operations: ['75*63=4725']
Exploring Operation: 4725/35=135, Resulting Numbers: [57, 135]
Generated Node #3: [57, 135] from Operation: 4725/35=135
Current State: 78:[57, 135], Operations: ['75*63=4725', '4725/35=135']
Exploring Operation: 135-57=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[35, 57, 75, 63], Operations: []
Exploring Operation: 75-63=12, Resulting Numbers: [35, 57, 12]
Generated Node #0,0: 78:[35, 57, 12] Operation: 75-63=12
Exploring Operation: 63-35=28, Resulting Numbers: [57, 75, 28]
Generated Node #0,1: 78:[57, 75, 28] Operation: 63-35=28
Exploring Operation: 75-57=18, Resulting Numbers: [35, 63, 18]
Generated Node #0,2: 78:[35, 63, 18] Operation: 75-57=18
Exploring Operation: 63-57=6, Resulting Numbers: [35, 75, 6]
Generated Node #0,3: 78:[35, 75, 6] Operation: 63-57=6
Exploring Operation: 57-35=22, Resulting Numbers: [75, 63, 22]
Generated Node #0,4: 78:[75, 63, 22] Operation: 57-35=22
Moving to Node #0,3
Current State: 78:[35, 75, 6], Operations: ['63-57=6']
Exploring Operation: 75-6=69, Resulting Numbers: [35, 69]
Generated Node #0,3,0: 78:[35, 69] Operation: 75-6=69
Exploring Operation: 35+6=41, Resulting Numbers: [75, 41]
Generated Node #0,3,1: 78:[75, 41] Operation: 35+6=41
Exploring Operation: 35-6=29, Resulting Numbers: [75, 29]
Generated Node #0,3,2: 78:[75, 29] Operation: 35-6=29
Exploring Operation: 75-35=40, Resulting Numbers: [6, 40]
Generated Node #0,3,3: 78:[6, 40] Operation: 75-35=40
Exploring Operation: 75+6=81, Resulting Numbers: [35, 81]
Generated Node #0,3,4: 78:[35, 81] Operation: 75+6=81
Moving to Node #0,4
Current State: 78:[75, 63, 22], Operations: ['57-35=22']
Exploring Operation: 63-22=41, Resulting Numbers: [75, 41]
Generated Node #0,4,0: 78:[75, 41] Operation: 63-22=41
Exploring Operation: 75-63=12, Resulting Numbers: [22, 12]
Generated Node #0,4,1: 78:[22, 12] Operation: 75-63=12
Exploring Operation: 75-22=53, Resulting Numbers: [63, 53]
Generated Node #0,4,2: 78:[63, 53] Operation: 75-22=53
Exploring Operation: 75+22=97, Resulting Numbers: [63, 97]
Generated Node #0,4,3: 78:[63, 97] Operation: 75+22=97
Exploring Operation: 63+22=85, Resulting Numbers: [75, 85]
Generated Node #0,4,4: 78:[75, 85] Operation: 63+22=85
Moving to Node #0,0
Current State: 78:[35, 57, 12], Operations: ['75-63=12']
Exploring Operation: 57-12=45, Resulting Numbers: [35, 45]
Generated Node #0,0,0: 78:[35, 45] Operation: 57-12=45
Exploring Operation: 57+12=69, Resulting Numbers: [35, 69]
Generated Node #0,0,1: 78:[35, 69] Operation: 57+12=69
Exploring Operation: 35-12=23, Resulting Numbers: [57, 23]
Generated Node #0,0,2: 78:[57, 23] Operation: 35-12=23
Exploring Operation: 35+57=92, Resulting Numbers: [12, 92]
Generated Node #0,0,3: 78:[12, 92] Operation: 35+57=92
Exploring Operation: 57-35=22, Resulting Numbers: [12, 22]
Generated Node #0,0,4: 78:[12, 22] Operation: 57-35=22
Moving to Node #0,1
Current State: 78:[57, 75, 28], Operations: ['63-35=28']
Exploring Operation: 75+28=103, Resulting Numbers: [57, 103]
Generated Node #0,1,0: 78:[57, 103] Operation: 75+28=103
Exploring Operation: 75-57=18, Resulting Numbers: [28, 18]
Generated Node #0,1,1: 78:[28, 18] Operation: 75-57=18
Exploring Operation: 57+28=85, Resulting Numbers: [75, 85]
Generated Node #0,1,2: 78:[75, 85] Operation: 57+28=85
Exploring Operation: 75-28=47, Resulting Numbers: [57, 47]
Generated Node #0,1,3: 78:[57, 47] Operation: 75-28=47
Exploring Operation: 57-28=29, Resulting Numbers: [75, 29]
Generated Node #0,1,4: 78:[75, 29] Operation: 57-28=29
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 78:[75, 29], Operations: ['63-35=28', '57-28=29']
Exploring Operation: 75-29=46, Resulting Numbers: [46]
46,78 unequal: No Solution
Exploring Operation: 75*29=2175, Resulting Numbers: [2175]
2175,78 unequal: No Solution
Exploring Operation: 75+29=104, Resulting Numbers: [104]
104,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 78:[28, 18], Operations: ['63-35=28', '75-57=18']
Exploring Operation: 28*18=504, Resulting Numbers: [504]
504,78 unequal: No Solution
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,78 unequal: No Solution
Exploring Operation: 28+18=46, Resulting Numbers: [46]
46,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 78:[75, 85], Operations: ['63-35=28', '57+28=85']
Exploring Operation: 85-75=10, Resulting Numbers: [10]
10,78 unequal: No Solution
Exploring Operation: 75+85=160, Resulting Numbers: [160]
160,78 unequal: No Solution
Exploring Operation: 75*85=6375, Resulting Numbers: [6375]
6375,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 78:[57, 47], Operations: ['63-35=28', '75-28=47']
Exploring Operation: 57+47=104, Resulting Numbers: [104]
104,78 unequal: No Solution
Exploring Operation: 57*47=2679, Resulting Numbers: [2679]
2679,78 unequal: No Solution
Exploring Operation: 57-47=10, Resulting Numbers: [10]
10,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 78:[57, 103], Operations: ['63-35=28', '75+28=103']
Exploring Operation: 57+103=160, Resulting Numbers: [160]
160,78 unequal: No Solution
Exploring Operation: 103-57=46, Resulting Numbers: [46]
46,78 unequal: No Solution
Exploring Operation: 57*103=5871, Resulting Numbers: [5871]
5871,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 78:[35, 63, 18], Operations: ['75-57=18']
Exploring Operation: 63-18=45, Resulting Numbers: [35, 45]
Generated Node #0,2,0: 78:[35, 45] Operation: 63-18=45
Exploring Operation: 35-18=17, Resulting Numbers: [63, 17]
Generated Node #0,2,1: 78:[63, 17] Operation: 35-18=17
Exploring Operation: 63+18=81, Resulting Numbers: [35, 81]
Generated Node #0,2,2: 78:[35, 81] Operation: 63+18=81
Exploring Operation: 35+63=98, Resulting Numbers: [18, 98]
Generated Node #0,2,3: 78:[18, 98] Operation: 35+63=98
Exploring Operation: 63-35=28, Resulting Numbers: [18, 28]
Generated Node #0,2,4: 78:[18, 28] Operation: 63-35=28
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 78:[35, 81], Operations: ['75-57=18', '63+18=81']
Exploring Operation: 81-35=46, Resulting Numbers: [46]
46,78 unequal: No Solution
Exploring Operation: 35+81=116, Resulting Numbers: [116]
116,78 unequal: No Solution
Exploring Operation: 35*81=2835, Resulting Numbers: [2835]
2835,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 78:[18, 28], Operations: ['75-57=18', '63-35=28']
Exploring Operation: 28-18=10, Resulting Numbers: [10]
10,78 unequal: No Solution
Exploring Operation: 18+28=46, Resulting Numbers: [46]
46,78 unequal: No Solution
Exploring Operation: 18*28=504, Resulting Numbers: [504]
504,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 78:[35, 45], Operations: ['75-57=18', '63-18=45']
Exploring Operation: 35*45=1575, Resulting Numbers: [1575]
1575,78 unequal: No Solution
Exploring Operation: 35+45=80, Resulting Numbers: [80]
80,78 unequal: No Solution
Exploring Operation: 45-35=10, Resulting Numbers: [10]
10,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 78:[63, 17], Operations: ['75-57=18', '35-18=17']
Exploring Operation: 63-17=46, Resulting Numbers: [46]
46,78 unequal: No Solution
Exploring Operation: 63*17=1071, Resulting Numbers: [1071]
1071,78 unequal: No Solution
Exploring Operation: 63+17=80, Resulting Numbers: [80]
80,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 78:[18, 98], Operations: ['75-57=18', '35+63=98']
Exploring Operation: 18+98=116, Resulting Numbers: [116]
116,78 unequal: No Solution
Exploring Operation: 98-18=80, Resulting Numbers: [80]
80,78 unequal: No Solution
Exploring Operation: 18*98=1764, Resulting Numbers: [1764]
1764,78 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,3,3
Current State: 78:[6, 40], Operations: ['63-57=6', '75-35=40']
Exploring Operation: 6*40=240, Resulting Numbers: [240]
240,78 unequal: No Solution
Exploring Operation: 40-6=34, Resulting Numbers: [34]
34,78 unequal: No Solution
Exploring Operation: 6+40=46, Resulting Numbers: [46]
46,78 unequal: No Solution
Moving to Node #0,4,0
Current State: 78:[75, 41], Operations: ['57-35=22', '63-22=41']
Exploring Operation: 75*41=3075, Resulting Numbers: [3075]
3075,78 unequal: No Solution
Exploring Operation: 75-41=34, Resulting Numbers: [34]
34,78 unequal: No Solution
Exploring Operation: 75+41=116, Resulting Numbers: [116]
116,78 unequal: No Solution
Moving to Node #0,4,1
Current State: 78:[22, 12], Operations: ['57-35=22', '75-63=12']
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,78 unequal: No Solution
Exploring Operation: 22*12=264, Resulting Numbers: [264]
264,78 unequal: No Solution
Exploring Operation: 22+12=34, Resulting Numbers: [34]
34,78 unequal: No Solution
Moving to Node #0,3,1
Current State: 78:[75, 41], Operations: ['63-57=6', '35+6=41']
Exploring Operation: 75*41=3075, Resulting Numbers: [3075]
3075,78 unequal: No Solution
Exploring Operation: 75+41=116, Resulting Numbers: [116]
116,78 unequal: No Solution
Exploring Operation: 75-41=34, Resulting Numbers: [34]
34,78 unequal: No Solution
Moving to Node #0,0,4
Current State: 78:[12, 22], Operations: ['75-63=12', '57-35=22']
Exploring Operation: 12+22=34, Resulting Numbers: [34]
34,78 unequal: No Solution
Exploring Operation: 12*22=264, Resulting Numbers: [264]
264,78 unequal: No Solution
Exploring Operation: 22-12=10, Resulting Numbers: [10]
10,78 unequal: No Solution
Moving to Node #0,3,2
Current State: 78:[75, 29], Operations: ['63-57=6', '35-6=29']
Exploring Operation: 75*29=2175, Resulting Numbers: [2175]
2175,78 unequal: No Solution
Exploring Operation: 75+29=104, Resulting Numbers: [104]
104,78 unequal: No Solution
Exploring Operation: 75-29=46, Resulting Numbers: [46]
46,78 unequal: No Solution
Moving to Node #0,3,4
Current State: 78:[35, 81], Operations: ['63-57=6', '75+6=81']
Exploring Operation: 35+81=116, Resulting Numbers: [116]
116,78 unequal: No Solution
Exploring Operation: 81-35=46, Resulting Numbers: [46]
46,78 unequal: No Solution
Exploring Operation: 35*81=2835, Resulting Numbers: [2835]
2835,78 unequal: No Solution
Moving to Node #0,0,0
Current State: 78:[35, 45], Operations: ['75-63=12', '57-12=45']
Exploring Operation: 35*45=1575, Resulting Numbers: [1575]
1575,78 unequal: No Solution
Exploring Operation: 35+45=80, Resulting Numbers: [80]
80,78 unequal: No Solution
Exploring Operation: 45-35=10, Resulting Numbers: [10]
10,78 unequal: No Solution
Moving to Node #0,4,4
Current State: 78:[75, 85], Operations: ['57-35=22', '63+22=85']
Exploring Operation: 75+85=160, Resulting Numbers: [160]
160,78 unequal: No Solution
Exploring Operation: 75*85=6375, Resulting Numbers: [6375]
6375,78 unequal: No Solution
Exploring Operation: 85-75=10, Resulting Numbers: [10]
10,78 unequal: No Solution
Moving to Node #0,0,1
Current State: 78:[35, 69], Operations: ['75-63=12', '57+12=69']
Exploring Operation: 69-35=34, Resulting Numbers: [34]
34,78 unequal: No Solution
Exploring Operation: 35+69=104, Resulting Numbers: [104]
104,78 unequal: No Solution
Exploring Operation: 35*69=2415, Resulting Numbers: [2415]
2415,78 unequal: No Solution
Moving to Node #0,3,0
Current State: 78:[35, 69], Operations: ['63-57=6', '75-6=69']
Exploring Operation: 35+69=104, Resulting Numbers: [104]
104,78 unequal: No Solution
Exploring Operation: 69-35=34, Resulting Numbers: [34]
34,78 unequal: No Solution
Exploring Operation: 35*69=2415, Resulting Numbers: [2415]
2415,78 unequal: No Solution
Moving to Node #0,0,3
Current State: 78:[12, 92], Operations: ['75-63=12', '35+57=92']
Exploring Operation: 12+92=104, Resulting Numbers: [104]
104,78 unequal: No Solution
Exploring Operation: 92-12=80, Resulting Numbers: [80]
80,78 unequal: No Solution
Exploring Operation: 12*92=1104, Resulting Numbers: [1104]
1104,78 unequal: No Solution
Moving to Node #0,0,2
Current State: 78:[57, 23], Operations: ['75-63=12', '35-12=23']
Exploring Operation: 57-23=34, Resulting Numbers: [34]
34,78 unequal: No Solution
Exploring Operation: 57+23=80, Resulting Numbers: [80]
80,78 unequal: No Solution
Exploring Operation: 57*23=1311, Resulting Numbers: [1311]
1311,78 unequal: No Solution
Moving to Node #0,4,2
Current State: 78:[63, 53], Operations: ['57-35=22', '75-22=53']
Exploring Operation: 63-53=10, Resulting Numbers: [10]
10,78 unequal: No Solution
Exploring Operation: 63+53=116, Resulting Numbers: [116]
116,78 unequal: No Solution
Exploring Operation: 63*53=3339, Resulting Numbers: [3339]
3339,78 unequal: No Solution
Moving to Node #0,4,3
Current State: 78:[63, 97], Operations: ['57-35=22', '75+22=97']
Exploring Operation: 63+97=160, Resulting Numbers: [160]
160,78 unequal: No Solution
Exploring Operation: 63*97=6111, Resulting Numbers: [6111]
6111,78 unequal: No Solution
Exploring Operation: 97-63=34, Resulting Numbers: [34]
34,78 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
27,
91,
93,
72
] | 18 | [
"93-91=2",
"27*2=54",
"72-54=18"
] | Current State: 18:[27, 91, 93, 72], Operations: []
Exploring Operation: 93-91=2, Resulting Numbers: [27, 72, 2]
Generated Node #2: [27, 72, 2] from Operation: 93-91=2
Current State: 18:[27, 72, 2], Operations: ['93-91=2']
Exploring Operation: 27*2=54, Resulting Numbers: [72, 54]
Generated Node #3: [72, 54] from Operation: 27*2=54
Current State: 18:[72, 54], Operations: ['93-91=2', '27*2=54']
Exploring Operation: 72-54=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[27, 91, 93, 72], Operations: []
Exploring Operation: 91-72=19, Resulting Numbers: [27, 93, 19]
Generated Node #0,0: 18:[27, 93, 19] Operation: 91-72=19
Exploring Operation: 93-72=21, Resulting Numbers: [27, 91, 21]
Generated Node #0,1: 18:[27, 91, 21] Operation: 93-72=21
Exploring Operation: 91-27=64, Resulting Numbers: [93, 72, 64]
Generated Node #0,2: 18:[93, 72, 64] Operation: 91-27=64
Exploring Operation: 93-91=2, Resulting Numbers: [27, 72, 2]
Generated Node #0,3: 18:[27, 72, 2] Operation: 93-91=2
Moving to Node #0,3
Current State: 18:[27, 72, 2], Operations: ['93-91=2']
Exploring Operation: 72-27=45, Resulting Numbers: [2, 45]
Generated Node #0,3,0: 18:[2, 45] Operation: 72-27=45
Exploring Operation: 27-2=25, Resulting Numbers: [72, 25]
Generated Node #0,3,1: 18:[72, 25] Operation: 27-2=25
Exploring Operation: 72/2=36, Resulting Numbers: [27, 36]
Generated Node #0,3,2: 18:[27, 36] Operation: 72/2=36
Exploring Operation: 72-2=70, Resulting Numbers: [27, 70]
Generated Node #0,3,3: 18:[27, 70] Operation: 72-2=70
Moving to Node #0,1
Current State: 18:[27, 91, 21], Operations: ['93-72=21']
Exploring Operation: 27-21=6, Resulting Numbers: [91, 6]
Generated Node #0,1,0: 18:[91, 6] Operation: 27-21=6
Exploring Operation: 91-21=70, Resulting Numbers: [27, 70]
Generated Node #0,1,1: 18:[27, 70] Operation: 91-21=70
Exploring Operation: 91-27=64, Resulting Numbers: [21, 64]
Generated Node #0,1,2: 18:[21, 64] Operation: 91-27=64
Exploring Operation: 27+91=118, Resulting Numbers: [21, 118]
Generated Node #0,1,3: 18:[21, 118] Operation: 27+91=118
Moving to Node #0,0
Current State: 18:[27, 93, 19], Operations: ['91-72=19']
Exploring Operation: 27+93=120, Resulting Numbers: [19, 120]
Generated Node #0,0,0: 18:[19, 120] Operation: 27+93=120
Exploring Operation: 93-27=66, Resulting Numbers: [19, 66]
Generated Node #0,0,1: 18:[19, 66] Operation: 93-27=66
Exploring Operation: 93-19=74, Resulting Numbers: [27, 74]
Generated Node #0,0,2: 18:[27, 74] Operation: 93-19=74
Exploring Operation: 27-19=8, Resulting Numbers: [93, 8]
Generated Node #0,0,3: 18:[93, 8] Operation: 27-19=8
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 18:[19, 66], Operations: ['91-72=19', '93-27=66']
Exploring Operation: 19+66=85, Resulting Numbers: [85]
85,18 unequal: No Solution
Exploring Operation: 19*66=1254, Resulting Numbers: [1254]
1254,18 unequal: No Solution
Exploring Operation: 66-19=47, Resulting Numbers: [47]
47,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,2
Current State: 18:[27, 74], Operations: ['91-72=19', '93-19=74']
Exploring Operation: 74-27=47, Resulting Numbers: [47]
47,18 unequal: No Solution
Exploring Operation: 27*74=1998, Resulting Numbers: [1998]
1998,18 unequal: No Solution
Exploring Operation: 27+74=101, Resulting Numbers: [101]
101,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,3
Current State: 18:[93, 8], Operations: ['91-72=19', '27-19=8']
Exploring Operation: 93+8=101, Resulting Numbers: [101]
101,18 unequal: No Solution
Exploring Operation: 93-8=85, Resulting Numbers: [85]
85,18 unequal: No Solution
Exploring Operation: 93*8=744, Resulting Numbers: [744]
744,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,0
Current State: 18:[19, 120], Operations: ['91-72=19', '27+93=120']
Exploring Operation: 19*120=2280, Resulting Numbers: [2280]
2280,18 unequal: No Solution
Exploring Operation: 120-19=101, Resulting Numbers: [101]
101,18 unequal: No Solution
Exploring Operation: 19+120=139, Resulting Numbers: [139]
139,18 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: 18:[93, 72, 64], Operations: ['91-27=64']
Exploring Operation: 93-72=21, Resulting Numbers: [64, 21]
Generated Node #0,2,0: 18:[64, 21] Operation: 93-72=21
Exploring Operation: 93-64=29, Resulting Numbers: [72, 29]
Generated Node #0,2,1: 18:[72, 29] Operation: 93-64=29
Exploring Operation: 93+72=165, Resulting Numbers: [64, 165]
Generated Node #0,2,2: 18:[64, 165] Operation: 93+72=165
Exploring Operation: 72-64=8, Resulting Numbers: [93, 8]
Generated Node #0,2,3: 18:[93, 8] Operation: 72-64=8
Moving to Node #0,3,0
Current State: 18:[2, 45], Operations: ['93-91=2', '72-27=45']
Exploring Operation: 45-2=43, Resulting Numbers: [43]
43,18 unequal: No Solution
Exploring Operation: 2*45=90, Resulting Numbers: [90]
90,18 unequal: No Solution
Exploring Operation: 2+45=47, Resulting Numbers: [47]
47,18 unequal: No Solution
Moving to Node #0,3,2
Current State: 18:[27, 36], Operations: ['93-91=2', '72/2=36']
Exploring Operation: 27*36=972, Resulting Numbers: [972]
972,18 unequal: No Solution
Exploring Operation: 27+36=63, Resulting Numbers: [63]
63,18 unequal: No Solution
Exploring Operation: 36-27=9, Resulting Numbers: [9]
9,18 unequal: No Solution
Moving to Node #0,1,2
Current State: 18:[21, 64], Operations: ['93-72=21', '91-27=64']
Exploring Operation: 64-21=43, Resulting Numbers: [43]
43,18 unequal: No Solution
Exploring Operation: 21*64=1344, Resulting Numbers: [1344]
1344,18 unequal: No Solution
Exploring Operation: 21+64=85, Resulting Numbers: [85]
85,18 unequal: No Solution
Moving to Node #0,2,0
Current State: 18:[64, 21], Operations: ['91-27=64', '93-72=21']
Exploring Operation: 64-21=43, Resulting Numbers: [43]
43,18 unequal: No Solution
Exploring Operation: 64+21=85, Resulting Numbers: [85]
85,18 unequal: No Solution
Exploring Operation: 64*21=1344, Resulting Numbers: [1344]
1344,18 unequal: No Solution
Moving to Node #0,3,1
Current State: 18:[72, 25], Operations: ['93-91=2', '27-2=25']
Exploring Operation: 72-25=47, Resulting Numbers: [47]
47,18 unequal: No Solution
Exploring Operation: 72+25=97, Resulting Numbers: [97]
97,18 unequal: No Solution
Exploring Operation: 72*25=1800, Resulting Numbers: [1800]
1800,18 unequal: No Solution
Moving to Node #0,1,1
Current State: 18:[27, 70], Operations: ['93-72=21', '91-21=70']
Exploring Operation: 27+70=97, Resulting Numbers: [97]
97,18 unequal: No Solution
Exploring Operation: 70-27=43, Resulting Numbers: [43]
43,18 unequal: No Solution
Exploring Operation: 27*70=1890, Resulting Numbers: [1890]
1890,18 unequal: No Solution
Moving to Node #0,3,3
Current State: 18:[27, 70], Operations: ['93-91=2', '72-2=70']
Exploring Operation: 27+70=97, Resulting Numbers: [97]
97,18 unequal: No Solution
Exploring Operation: 70-27=43, Resulting Numbers: [43]
43,18 unequal: No Solution
Exploring Operation: 27*70=1890, Resulting Numbers: [1890]
1890,18 unequal: No Solution
Moving to Node #0,2,1
Current State: 18:[72, 29], Operations: ['91-27=64', '93-64=29']
Exploring Operation: 72*29=2088, Resulting Numbers: [2088]
2088,18 unequal: No Solution
Exploring Operation: 72+29=101, Resulting Numbers: [101]
101,18 unequal: No Solution
Exploring Operation: 72-29=43, Resulting Numbers: [43]
43,18 unequal: No Solution
Moving to Node #0,1,0
Current State: 18:[91, 6], Operations: ['93-72=21', '27-21=6']
Exploring Operation: 91+6=97, Resulting Numbers: [97]
97,18 unequal: No Solution
Exploring Operation: 91*6=546, Resulting Numbers: [546]
546,18 unequal: No Solution
Exploring Operation: 91-6=85, Resulting Numbers: [85]
85,18 unequal: No Solution
Moving to Node #0,2,3
Current State: 18:[93, 8], Operations: ['91-27=64', '72-64=8']
Exploring Operation: 93*8=744, Resulting Numbers: [744]
744,18 unequal: No Solution
Exploring Operation: 93+8=101, Resulting Numbers: [101]
101,18 unequal: No Solution
Exploring Operation: 93-8=85, Resulting Numbers: [85]
85,18 unequal: No Solution
Moving to Node #0,1,3
Current State: 18:[21, 118], Operations: ['93-72=21', '27+91=118']
Exploring Operation: 118-21=97, Resulting Numbers: [97]
97,18 unequal: No Solution
Exploring Operation: 21*118=2478, Resulting Numbers: [2478]
2478,18 unequal: No Solution
Exploring Operation: 21+118=139, Resulting Numbers: [139]
139,18 unequal: No Solution
Moving to Node #0,2,2
Current State: 18:[64, 165], Operations: ['91-27=64', '93+72=165']
Exploring Operation: 165-64=101, Resulting Numbers: [101]
101,18 unequal: No Solution
Exploring Operation: 64*165=10560, Resulting Numbers: [10560]
10560,18 unequal: No Solution
Exploring Operation: 64+165=229, Resulting Numbers: [229]
229,18 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
2,
36,
11,
14
] | 46 | [
"36*14=504",
"2+504=506",
"506/11=46"
] | Current State: 46:[2, 36, 11, 14], Operations: []
Exploring Operation: 36*14=504, Resulting Numbers: [2, 11, 504]
Generated Node #2: [2, 11, 504] from Operation: 36*14=504
Current State: 46:[2, 11, 504], Operations: ['36*14=504']
Exploring Operation: 2+504=506, Resulting Numbers: [11, 506]
Generated Node #3: [11, 506] from Operation: 2+504=506
Current State: 46:[11, 506], Operations: ['36*14=504', '2+504=506']
Exploring Operation: 506/11=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[2, 36, 11, 14], Operations: []
Exploring Operation: 36+11=47, Resulting Numbers: [2, 14, 47]
Generated Node #0,0: 46:[2, 14, 47] Operation: 36+11=47
Exploring Operation: 36-14=22, Resulting Numbers: [2, 11, 22]
Generated Node #0,1: 46:[2, 11, 22] Operation: 36-14=22
Moving to Node #0,0
Current State: 46:[2, 14, 47], Operations: ['36+11=47']
Exploring Operation: 2*14=28, Resulting Numbers: [47, 28]
Generated Node #0,0,0: 46:[47, 28] Operation: 2*14=28
Exploring Operation: 14/2=7, Resulting Numbers: [47, 7]
Generated Node #0,0,1: 46:[47, 7] Operation: 14/2=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 46:[47, 28], Operations: ['36+11=47', '2*14=28']
Exploring Operation: 47-28=19, Resulting Numbers: [19]
19,46 unequal: No Solution
Exploring Operation: 47+28=75, Resulting Numbers: [75]
75,46 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 46:[47, 7], Operations: ['36+11=47', '14/2=7']
Exploring Operation: 47+7=54, Resulting Numbers: [54]
54,46 unequal: No Solution
Exploring Operation: 47-7=40, Resulting Numbers: [40]
40,46 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: 46:[2, 11, 22], Operations: ['36-14=22']
Exploring Operation: 22/11=2, Resulting Numbers: [2, 2]
Generated Node #0,1,0: 46:[2, 2] Operation: 22/11=2
Exploring Operation: 2*11=22, Resulting Numbers: [22, 22]
Generated Node #0,1,1: 46:[22, 22] Operation: 2*11=22
Moving to Node #0,1,0
Current State: 46:[2, 2], Operations: ['36-14=22', '22/11=2']
Exploring Operation: 2/2=1, Resulting Numbers: [1]
1,46 unequal: No Solution
Exploring Operation: 2+2=4, Resulting Numbers: [4]
4,46 unequal: No Solution
Moving to Node #0,1,1
Current State: 46:[22, 22], Operations: ['36-14=22', '2*11=22']
Exploring Operation: 22+22=44, Resulting Numbers: [44]
44,46 unequal: No Solution
Exploring Operation: 22/22=1, Resulting Numbers: [1]
1,46 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
28,
31,
44,
41
] | 53 | [
"44-41=3",
"28*3=84",
"84-31=53"
] | Current State: 53:[28, 31, 44, 41], Operations: []
Exploring Operation: 44-41=3, Resulting Numbers: [28, 31, 3]
Generated Node #2: [28, 31, 3] from Operation: 44-41=3
Current State: 53:[28, 31, 3], Operations: ['44-41=3']
Exploring Operation: 28*3=84, Resulting Numbers: [31, 84]
Generated Node #3: [31, 84] from Operation: 28*3=84
Current State: 53:[31, 84], Operations: ['44-41=3', '28*3=84']
Exploring Operation: 84-31=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[28, 31, 44, 41], Operations: []
Exploring Operation: 28+31=59, Resulting Numbers: [44, 41, 59]
Generated Node #0,0: 53:[44, 41, 59] Operation: 28+31=59
Exploring Operation: 28+41=69, Resulting Numbers: [31, 44, 69]
Generated Node #0,1: 53:[31, 44, 69] Operation: 28+41=69
Start Sub Search at level 1: Moving to Node #0,0
Current State: 53:[44, 41, 59], Operations: ['28+31=59']
Exploring Operation: 44+41=85, Resulting Numbers: [59, 85]
Generated Node #0,0,0: 53:[59, 85] Operation: 44+41=85
Exploring Operation: 59-41=18, Resulting Numbers: [44, 18]
Generated Node #0,0,1: 53:[44, 18] Operation: 59-41=18
Moving to Node #0,0,0
Current State: 53:[59, 85], Operations: ['28+31=59', '44+41=85']
Exploring Operation: 59+85=144, Resulting Numbers: [144]
144,53 unequal: No Solution
Exploring Operation: 85-59=26, Resulting Numbers: [26]
26,53 unequal: No Solution
Moving to Node #0,0,1
Current State: 53:[44, 18], Operations: ['28+31=59', '59-41=18']
Exploring Operation: 44-18=26, Resulting Numbers: [26]
26,53 unequal: No Solution
Exploring Operation: 44+18=62, Resulting Numbers: [62]
62,53 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[31, 44, 69], Operations: ['28+41=69']
Exploring Operation: 31+44=75, Resulting Numbers: [69, 75]
Generated Node #0,1,0: 53:[69, 75] Operation: 31+44=75
Exploring Operation: 69-31=38, Resulting Numbers: [44, 38]
Generated Node #0,1,1: 53:[44, 38] Operation: 69-31=38
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 53:[44, 38], Operations: ['28+41=69', '69-31=38']
Exploring Operation: 44-38=6, Resulting Numbers: [6]
6,53 unequal: No Solution
Exploring Operation: 44+38=82, Resulting Numbers: [82]
82,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 53:[69, 75], Operations: ['28+41=69', '31+44=75']
Exploring Operation: 75-69=6, Resulting Numbers: [6]
6,53 unequal: No Solution
Exploring Operation: 69+75=144, Resulting Numbers: [144]
144,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
55,
72,
48,
12
] | 53 | [
"72-55=17",
"48-12=36",
"17+36=53"
] | Current State: 53:[55, 72, 48, 12], Operations: []
Exploring Operation: 72-55=17, Resulting Numbers: [48, 12, 17]
Generated Node #2: [48, 12, 17] from Operation: 72-55=17
Current State: 53:[48, 12, 17], Operations: ['72-55=17']
Exploring Operation: 48-12=36, Resulting Numbers: [17, 36]
Generated Node #3: [17, 36] from Operation: 48-12=36
Current State: 53:[17, 36], Operations: ['72-55=17', '48-12=36']
Exploring Operation: 17+36=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
| 4 | Current State: 53:[55, 72, 48, 12], Operations: []
Exploring Operation: 48+12=60, Resulting Numbers: [55, 72, 60]
Generated Node #0,0: 53:[55, 72, 60] Operation: 48+12=60
Exploring Operation: 72-12=60, Resulting Numbers: [55, 48, 60]
Generated Node #0,1: 53:[55, 48, 60] Operation: 72-12=60
Start Sub Search at level 1: Moving to Node #0,1
Current State: 53:[55, 48, 60], Operations: ['72-12=60']
Exploring Operation: 60-48=12, Resulting Numbers: [55, 12]
Generated Node #0,1,0: 53:[55, 12] Operation: 60-48=12
Exploring Operation: 55-48=7, Resulting Numbers: [60, 7]
Generated Node #0,1,1: 53:[60, 7] Operation: 55-48=7
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 53:[55, 12], Operations: ['72-12=60', '60-48=12']
Exploring Operation: 55-12=43, Resulting Numbers: [43]
43,53 unequal: No Solution
Exploring Operation: 55+12=67, Resulting Numbers: [67]
67,53 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 53:[60, 7], Operations: ['72-12=60', '55-48=7']
Exploring Operation: 60+7=67, Resulting Numbers: [67]
67,53 unequal: No Solution
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Moving to Node #0
Current State: 53:[55, 72, 48, 12], Operations: []
Exploring Operation: 72-12=60, Resulting Numbers: [55, 48, 60]
Generated Node #0,1: 53:[55, 48, 60] Operation: 72-12=60
Moving to Node #0,1
Current State: 53:[55, 48, 60], Operations: ['72-12=60']
Exploring Operation: 55-48=7, Resulting Numbers: [60, 7]
Generated Node #0,1,1: 53:[60, 7] Operation: 55-48=7
Moving to Node #0,1,1
Current State: 53:[60, 7], Operations: ['72-12=60', '55-48=7']
Exploring Operation: 60-7=53, Resulting Numbers: [53]
53,53 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.989583 | hs_2 | sum_heuristic |
[
48,
1,
82,
3
] | 66 | [
"48*1=48",
"48/3=16",
"82-16=66"
] | Current State: 66:[48, 1, 82, 3], Operations: []
Exploring Operation: 48*1=48, Resulting Numbers: [82, 3, 48]
Generated Node #2: [82, 3, 48] from Operation: 48*1=48
Current State: 66:[82, 3, 48], Operations: ['48*1=48']
Exploring Operation: 48/3=16, Resulting Numbers: [82, 16]
Generated Node #3: [82, 16] from Operation: 48/3=16
Current State: 66:[82, 16], Operations: ['48*1=48', '48/3=16']
Exploring Operation: 82-16=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[48, 1, 82, 3], Operations: []
Exploring Operation: 48/3=16, Resulting Numbers: [1, 82, 16]
Generated Node #0,0: 66:[1, 82, 16] Operation: 48/3=16
Exploring Operation: 82-48=34, Resulting Numbers: [1, 3, 34]
Generated Node #0,1: 66:[1, 3, 34] Operation: 82-48=34
Start Sub Search at level 1: Moving to Node #0,1
Current State: 66:[1, 3, 34], Operations: ['82-48=34']
Exploring Operation: 1*3=3, Resulting Numbers: [34, 3]
Generated Node #0,1,0: 66:[34, 3] Operation: 1*3=3
Exploring Operation: 34-1=33, Resulting Numbers: [3, 33]
Generated Node #0,1,1: 66:[3, 33] Operation: 34-1=33
Moving to Node #0,1,1
Current State: 66:[3, 33], Operations: ['82-48=34', '34-1=33']
Exploring Operation: 33/3=11, Resulting Numbers: [11]
11,66 unequal: No Solution
Exploring Operation: 3+33=36, Resulting Numbers: [36]
36,66 unequal: No Solution
Moving to Node #0,1,0
Current State: 66:[34, 3], Operations: ['82-48=34', '1*3=3']
Exploring Operation: 34+3=37, Resulting Numbers: [37]
37,66 unequal: No Solution
Exploring Operation: 34-3=31, Resulting Numbers: [31]
31,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[1, 82, 16], Operations: ['48/3=16']
Exploring Operation: 82-16=66, Resulting Numbers: [1, 66]
Generated Node #0,0,0: 66:[1, 66] Operation: 82-16=66
Exploring Operation: 82-1=81, Resulting Numbers: [16, 81]
Generated Node #0,0,1: 66:[16, 81] Operation: 82-1=81
Moving to Node #0,0,0
Current State: 66:[1, 66], Operations: ['48/3=16', '82-16=66']
Exploring Operation: 66/1=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[48, 1, 82, 3], Operations: []
Exploring Operation: 48/3=16, Resulting Numbers: [1, 82, 16]
Generated Node #0,0: 66:[1, 82, 16] Operation: 48/3=16
Moving to Node #0,0
Current State: 66:[1, 82, 16], Operations: ['48/3=16']
Exploring Operation: 82-16=66, Resulting Numbers: [1, 66]
Generated Node #0,0,0: 66:[1, 66] Operation: 82-16=66
Moving to Node #0,0,0
Current State: 66:[1, 66], Operations: ['48/3=16', '82-16=66']
Exploring Operation: 66/1=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_2 | sum_heuristic |
[
6,
23,
16,
41
] | 86 | [
"6+23=29",
"16+41=57",
"29+57=86"
] | Current State: 86:[6, 23, 16, 41], Operations: []
Exploring Operation: 6+23=29, Resulting Numbers: [16, 41, 29]
Generated Node #2: [16, 41, 29] from Operation: 6+23=29
Current State: 86:[16, 41, 29], Operations: ['6+23=29']
Exploring Operation: 16+41=57, Resulting Numbers: [29, 57]
Generated Node #3: [29, 57] from Operation: 16+41=57
Current State: 86:[29, 57], Operations: ['6+23=29', '16+41=57']
Exploring Operation: 29+57=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[6, 23, 16, 41], Operations: []
Exploring Operation: 23+16=39, Resulting Numbers: [6, 41, 39]
Generated Node #0,0: 86:[6, 41, 39] Operation: 23+16=39
Moving to Node #0,0
Current State: 86:[6, 41, 39], Operations: ['23+16=39']
Exploring Operation: 6+39=45, Resulting Numbers: [41, 45]
Generated Node #0,0,0: 86:[41, 45] Operation: 6+39=45
Moving to Node #0,0,0
Current State: 86:[41, 45], Operations: ['23+16=39', '6+39=45']
Exploring Operation: 41+45=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[6, 23, 16, 41], Operations: []
Exploring Operation: 23+16=39, Resulting Numbers: [6, 41, 39]
Generated Node #0,0: 86:[6, 41, 39] Operation: 23+16=39
Moving to Node #0,0
Current State: 86:[6, 41, 39], Operations: ['23+16=39']
Exploring Operation: 6+39=45, Resulting Numbers: [41, 45]
Generated Node #0,0,0: 86:[41, 45] Operation: 6+39=45
Moving to Node #0,0,0
Current State: 86:[41, 45], Operations: ['23+16=39', '6+39=45']
Exploring Operation: 41+45=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
60,
88,
17,
1
] | 44 | [
"88-60=28",
"17-1=16",
"28+16=44"
] | Current State: 44:[60, 88, 17, 1], Operations: []
Exploring Operation: 88-60=28, Resulting Numbers: [17, 1, 28]
Generated Node #2: [17, 1, 28] from Operation: 88-60=28
Current State: 44:[17, 1, 28], Operations: ['88-60=28']
Exploring Operation: 17-1=16, Resulting Numbers: [28, 16]
Generated Node #3: [28, 16] from Operation: 17-1=16
Current State: 44:[28, 16], Operations: ['88-60=28', '17-1=16']
Exploring Operation: 28+16=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
| 4 | Current State: 44:[60, 88, 17, 1], Operations: []
Exploring Operation: 88-1=87, Resulting Numbers: [60, 17, 87]
Generated Node #0,0: 44:[60, 17, 87] Operation: 88-1=87
Exploring Operation: 60-1=59, Resulting Numbers: [88, 17, 59]
Generated Node #0,1: 44:[88, 17, 59] Operation: 60-1=59
Exploring Operation: 60-17=43, Resulting Numbers: [88, 1, 43]
Generated Node #0,2: 44:[88, 1, 43] Operation: 60-17=43
Exploring Operation: 88-60=28, Resulting Numbers: [17, 1, 28]
Generated Node #0,3: 44:[17, 1, 28] Operation: 88-60=28
Exploring Operation: 88-17=71, Resulting Numbers: [60, 1, 71]
Generated Node #0,4: 44:[60, 1, 71] Operation: 88-17=71
Start Sub Search at level 1: Moving to Node #0,3
Current State: 44:[17, 1, 28], Operations: ['88-60=28']
Exploring Operation: 28-1=27, Resulting Numbers: [17, 27]
Generated Node #0,3,0: 44:[17, 27] Operation: 28-1=27
Exploring Operation: 17+1=18, Resulting Numbers: [28, 18]
Generated Node #0,3,1: 44:[28, 18] Operation: 17+1=18
Exploring Operation: 17*1=17, Resulting Numbers: [28, 17]
Generated Node #0,3,2: 44:[28, 17] Operation: 17*1=17
Exploring Operation: 28-17=11, Resulting Numbers: [1, 11]
Generated Node #0,3,3: 44:[1, 11] Operation: 28-17=11
Exploring Operation: 17+28=45, Resulting Numbers: [1, 45]
Generated Node #0,3,4: 44:[1, 45] Operation: 17+28=45
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 44:[1, 11], Operations: ['88-60=28', '28-17=11']
Exploring Operation: 1*11=11, Resulting Numbers: [11]
11,44 unequal: No Solution
Exploring Operation: 11/1=11, Resulting Numbers: [11]
11,44 unequal: No Solution
Exploring Operation: 11-1=10, Resulting Numbers: [10]
10,44 unequal: No Solution
Exploring Operation: 1+11=12, Resulting Numbers: [12]
12,44 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 44:[1, 45], Operations: ['88-60=28', '17+28=45']
Exploring Operation: 1*45=45, Resulting Numbers: [45]
45,44 unequal: No Solution
Exploring Operation: 45-1=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Moving to Node #0
Current State: 44:[60, 88, 17, 1], Operations: []
Exploring Operation: 88-60=28, Resulting Numbers: [17, 1, 28]
Generated Node #0,3: 44:[17, 1, 28] Operation: 88-60=28
Moving to Node #0,3
Current State: 44:[17, 1, 28], Operations: ['88-60=28']
Exploring Operation: 17+28=45, Resulting Numbers: [1, 45]
Generated Node #0,3,4: 44:[1, 45] Operation: 17+28=45
Moving to Node #0,3,4
Current State: 44:[1, 45], Operations: ['88-60=28', '17+28=45']
Exploring Operation: 45-1=44, Resulting Numbers: [44]
44,44 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.982639 | hs_5 | mult_heuristic |
[
20,
48,
40,
82
] | 32 | [
"40/20=2",
"82-48=34",
"34-2=32"
] | Current State: 32:[20, 48, 40, 82], Operations: []
Exploring Operation: 40/20=2, Resulting Numbers: [48, 82, 2]
Generated Node #2: [48, 82, 2] from Operation: 40/20=2
Current State: 32:[48, 82, 2], Operations: ['40/20=2']
Exploring Operation: 82-48=34, Resulting Numbers: [2, 34]
Generated Node #3: [2, 34] from Operation: 82-48=34
Current State: 32:[2, 34], Operations: ['40/20=2', '82-48=34']
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[20, 48, 40, 82], Operations: []
Exploring Operation: 48-20=28, Resulting Numbers: [40, 82, 28]
Generated Node #0,0: 32:[40, 82, 28] Operation: 48-20=28
Exploring Operation: 82-20=62, Resulting Numbers: [48, 40, 62]
Generated Node #0,1: 32:[48, 40, 62] Operation: 82-20=62
Exploring Operation: 82-48=34, Resulting Numbers: [20, 40, 34]
Generated Node #0,2: 32:[20, 40, 34] Operation: 82-48=34
Exploring Operation: 82-40=42, Resulting Numbers: [20, 48, 42]
Generated Node #0,3: 32:[20, 48, 42] Operation: 82-40=42
Exploring Operation: 48-40=8, Resulting Numbers: [20, 82, 8]
Generated Node #0,4: 32:[20, 82, 8] Operation: 48-40=8
Moving to Node #0,2
Current State: 32:[20, 40, 34], Operations: ['82-48=34']
Exploring Operation: 40-20=20, Resulting Numbers: [34, 20]
Generated Node #0,2,0: 32:[34, 20] Operation: 40-20=20
Exploring Operation: 20+40=60, Resulting Numbers: [34, 60]
Generated Node #0,2,1: 32:[34, 60] Operation: 20+40=60
Exploring Operation: 40-34=6, Resulting Numbers: [20, 6]
Generated Node #0,2,2: 32:[20, 6] Operation: 40-34=6
Exploring Operation: 40/20=2, Resulting Numbers: [34, 2]
Generated Node #0,2,3: 32:[34, 2] Operation: 40/20=2
Exploring Operation: 34-20=14, Resulting Numbers: [40, 14]
Generated Node #0,2,4: 32:[40, 14] Operation: 34-20=14
Moving to Node #0,3
Current State: 32:[20, 48, 42], Operations: ['82-40=42']
Exploring Operation: 48-20=28, Resulting Numbers: [42, 28]
Generated Node #0,3,0: 32:[42, 28] Operation: 48-20=28
Exploring Operation: 20+42=62, Resulting Numbers: [48, 62]
Generated Node #0,3,1: 32:[48, 62] Operation: 20+42=62
Exploring Operation: 42-20=22, Resulting Numbers: [48, 22]
Generated Node #0,3,2: 32:[48, 22] Operation: 42-20=22
Exploring Operation: 20+48=68, Resulting Numbers: [42, 68]
Generated Node #0,3,3: 32:[42, 68] Operation: 20+48=68
Exploring Operation: 48-42=6, Resulting Numbers: [20, 6]
Generated Node #0,3,4: 32:[20, 6] Operation: 48-42=6
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 32:[20, 6], Operations: ['82-40=42', '48-42=6']
Exploring Operation: 20+6=26, Resulting Numbers: [26]
26,32 unequal: No Solution
Exploring Operation: 20-6=14, Resulting Numbers: [14]
14,32 unequal: No Solution
Exploring Operation: 20*6=120, Resulting Numbers: [120]
120,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 32:[42, 28], Operations: ['82-40=42', '48-20=28']
Exploring Operation: 42+28=70, Resulting Numbers: [70]
70,32 unequal: No Solution
Exploring Operation: 42*28=1176, Resulting Numbers: [1176]
1176,32 unequal: No Solution
Exploring Operation: 42-28=14, Resulting Numbers: [14]
14,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 32:[48, 22], Operations: ['82-40=42', '42-20=22']
Exploring Operation: 48*22=1056, Resulting Numbers: [1056]
1056,32 unequal: No Solution
Exploring Operation: 48+22=70, Resulting Numbers: [70]
70,32 unequal: No Solution
Exploring Operation: 48-22=26, Resulting Numbers: [26]
26,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 32:[48, 62], Operations: ['82-40=42', '20+42=62']
Exploring Operation: 62-48=14, Resulting Numbers: [14]
14,32 unequal: No Solution
Exploring Operation: 48+62=110, Resulting Numbers: [110]
110,32 unequal: No Solution
Exploring Operation: 48*62=2976, Resulting Numbers: [2976]
2976,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 32:[42, 68], Operations: ['82-40=42', '20+48=68']
Exploring Operation: 42*68=2856, Resulting Numbers: [2856]
2856,32 unequal: No Solution
Exploring Operation: 42+68=110, Resulting Numbers: [110]
110,32 unequal: No Solution
Exploring Operation: 68-42=26, Resulting Numbers: [26]
26,32 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: 32:[48, 40, 62], Operations: ['82-20=62']
Exploring Operation: 48-40=8, Resulting Numbers: [62, 8]
Generated Node #0,1,0: 32:[62, 8] Operation: 48-40=8
Exploring Operation: 48+40=88, Resulting Numbers: [62, 88]
Generated Node #0,1,1: 32:[62, 88] Operation: 48+40=88
Exploring Operation: 62-48=14, Resulting Numbers: [40, 14]
Generated Node #0,1,2: 32:[40, 14] Operation: 62-48=14
Exploring Operation: 62-40=22, Resulting Numbers: [48, 22]
Generated Node #0,1,3: 32:[48, 22] Operation: 62-40=22
Exploring Operation: 48+62=110, Resulting Numbers: [40, 110]
Generated Node #0,1,4: 32:[40, 110] Operation: 48+62=110
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 32:[40, 14], Operations: ['82-20=62', '62-48=14']
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,32 unequal: No Solution
Exploring Operation: 40*14=560, Resulting Numbers: [560]
560,32 unequal: No Solution
Exploring Operation: 40+14=54, Resulting Numbers: [54]
54,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 32:[48, 22], Operations: ['82-20=62', '62-40=22']
Exploring Operation: 48-22=26, Resulting Numbers: [26]
26,32 unequal: No Solution
Exploring Operation: 48*22=1056, Resulting Numbers: [1056]
1056,32 unequal: No Solution
Exploring Operation: 48+22=70, Resulting Numbers: [70]
70,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 32:[62, 8], Operations: ['82-20=62', '48-40=8']
Exploring Operation: 62+8=70, Resulting Numbers: [70]
70,32 unequal: No Solution
Exploring Operation: 62-8=54, Resulting Numbers: [54]
54,32 unequal: No Solution
Exploring Operation: 62*8=496, Resulting Numbers: [496]
496,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 32:[62, 88], Operations: ['82-20=62', '48+40=88']
Exploring Operation: 62+88=150, Resulting Numbers: [150]
150,32 unequal: No Solution
Exploring Operation: 62*88=5456, Resulting Numbers: [5456]
5456,32 unequal: No Solution
Exploring Operation: 88-62=26, Resulting Numbers: [26]
26,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 32:[40, 110], Operations: ['82-20=62', '48+62=110']
Exploring Operation: 40*110=4400, Resulting Numbers: [4400]
4400,32 unequal: No Solution
Exploring Operation: 110-40=70, Resulting Numbers: [70]
70,32 unequal: No Solution
Exploring Operation: 40+110=150, Resulting Numbers: [150]
150,32 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: 32:[20, 82, 8], Operations: ['48-40=8']
Exploring Operation: 82+8=90, Resulting Numbers: [20, 90]
Generated Node #0,4,0: 32:[20, 90] Operation: 82+8=90
Exploring Operation: 82-8=74, Resulting Numbers: [20, 74]
Generated Node #0,4,1: 32:[20, 74] Operation: 82-8=74
Exploring Operation: 20+8=28, Resulting Numbers: [82, 28]
Generated Node #0,4,2: 32:[82, 28] Operation: 20+8=28
Exploring Operation: 20-8=12, Resulting Numbers: [82, 12]
Generated Node #0,4,3: 32:[82, 12] Operation: 20-8=12
Exploring Operation: 82-20=62, Resulting Numbers: [8, 62]
Generated Node #0,4,4: 32:[8, 62] Operation: 82-20=62
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 32:[8, 62], Operations: ['48-40=8', '82-20=62']
Exploring Operation: 8*62=496, Resulting Numbers: [496]
496,32 unequal: No Solution
Exploring Operation: 8+62=70, Resulting Numbers: [70]
70,32 unequal: No Solution
Exploring Operation: 62-8=54, Resulting Numbers: [54]
54,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 32:[20, 74], Operations: ['48-40=8', '82-8=74']
Exploring Operation: 20*74=1480, Resulting Numbers: [1480]
1480,32 unequal: No Solution
Exploring Operation: 74-20=54, Resulting Numbers: [54]
54,32 unequal: No Solution
Exploring Operation: 20+74=94, Resulting Numbers: [94]
94,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 32:[82, 28], Operations: ['48-40=8', '20+8=28']
Exploring Operation: 82+28=110, Resulting Numbers: [110]
110,32 unequal: No Solution
Exploring Operation: 82-28=54, Resulting Numbers: [54]
54,32 unequal: No Solution
Exploring Operation: 82*28=2296, Resulting Numbers: [2296]
2296,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 32:[82, 12], Operations: ['48-40=8', '20-8=12']
Exploring Operation: 82-12=70, Resulting Numbers: [70]
70,32 unequal: No Solution
Exploring Operation: 82*12=984, Resulting Numbers: [984]
984,32 unequal: No Solution
Exploring Operation: 82+12=94, Resulting Numbers: [94]
94,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 32:[20, 90], Operations: ['48-40=8', '82+8=90']
Exploring Operation: 90-20=70, Resulting Numbers: [70]
70,32 unequal: No Solution
Exploring Operation: 20*90=1800, Resulting Numbers: [1800]
1800,32 unequal: No Solution
Exploring Operation: 20+90=110, Resulting Numbers: [110]
110,32 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: 32:[40, 82, 28], Operations: ['48-20=28']
Exploring Operation: 82-40=42, Resulting Numbers: [28, 42]
Generated Node #0,0,0: 32:[28, 42] Operation: 82-40=42
Exploring Operation: 82+28=110, Resulting Numbers: [40, 110]
Generated Node #0,0,1: 32:[40, 110] Operation: 82+28=110
Exploring Operation: 40+28=68, Resulting Numbers: [82, 68]
Generated Node #0,0,2: 32:[82, 68] Operation: 40+28=68
Exploring Operation: 82-28=54, Resulting Numbers: [40, 54]
Generated Node #0,0,3: 32:[40, 54] Operation: 82-28=54
Exploring Operation: 40-28=12, Resulting Numbers: [82, 12]
Generated Node #0,0,4: 32:[82, 12] Operation: 40-28=12
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[28, 42], Operations: ['48-20=28', '82-40=42']
Exploring Operation: 42-28=14, Resulting Numbers: [14]
14,32 unequal: No Solution
Exploring Operation: 28+42=70, Resulting Numbers: [70]
70,32 unequal: No Solution
Exploring Operation: 28*42=1176, Resulting Numbers: [1176]
1176,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 32:[40, 54], Operations: ['48-20=28', '82-28=54']
Exploring Operation: 40+54=94, Resulting Numbers: [94]
94,32 unequal: No Solution
Exploring Operation: 54-40=14, Resulting Numbers: [14]
14,32 unequal: No Solution
Exploring Operation: 40*54=2160, Resulting Numbers: [2160]
2160,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 32:[82, 12], Operations: ['48-20=28', '40-28=12']
Exploring Operation: 82+12=94, Resulting Numbers: [94]
94,32 unequal: No Solution
Exploring Operation: 82*12=984, Resulting Numbers: [984]
984,32 unequal: No Solution
Exploring Operation: 82-12=70, Resulting Numbers: [70]
70,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 32:[40, 110], Operations: ['48-20=28', '82+28=110']
Exploring Operation: 110-40=70, Resulting Numbers: [70]
70,32 unequal: No Solution
Exploring Operation: 40+110=150, Resulting Numbers: [150]
150,32 unequal: No Solution
Exploring Operation: 40*110=4400, Resulting Numbers: [4400]
4400,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 32:[82, 68], Operations: ['48-20=28', '40+28=68']
Exploring Operation: 82*68=5576, Resulting Numbers: [5576]
5576,32 unequal: No Solution
Exploring Operation: 82+68=150, Resulting Numbers: [150]
150,32 unequal: No Solution
Exploring Operation: 82-68=14, Resulting Numbers: [14]
14,32 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,3
Current State: 32:[34, 2], Operations: ['82-48=34', '40/20=2']
Exploring Operation: 34/2=17, Resulting Numbers: [17]
17,32 unequal: No Solution
Exploring Operation: 34+2=36, Resulting Numbers: [36]
36,32 unequal: No Solution
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[20, 48, 40, 82], Operations: []
Exploring Operation: 82-48=34, Resulting Numbers: [20, 40, 34]
Generated Node #0,2: 32:[20, 40, 34] Operation: 82-48=34
Moving to Node #0,2
Current State: 32:[20, 40, 34], Operations: ['82-48=34']
Exploring Operation: 40/20=2, Resulting Numbers: [34, 2]
Generated Node #0,2,3: 32:[34, 2] Operation: 40/20=2
Moving to Node #0,2,3
Current State: 32:[34, 2], Operations: ['82-48=34', '40/20=2']
Exploring Operation: 34-2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 0.915799 | hs_5 | mult_heuristic |
[
24,
93,
59,
43
] | 62 | [
"59-43=16",
"93*16=1488",
"1488/24=62"
] | Current State: 62:[24, 93, 59, 43], Operations: []
Exploring Operation: 59-43=16, Resulting Numbers: [24, 93, 16]
Generated Node #2: [24, 93, 16] from Operation: 59-43=16
Current State: 62:[24, 93, 16], Operations: ['59-43=16']
Exploring Operation: 93*16=1488, Resulting Numbers: [24, 1488]
Generated Node #3: [24, 1488] from Operation: 93*16=1488
Current State: 62:[24, 1488], Operations: ['59-43=16', '93*16=1488']
Exploring Operation: 1488/24=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[24, 93, 59, 43], Operations: []
Exploring Operation: 93-43=50, Resulting Numbers: [24, 59, 50]
Generated Node #0,0: 62:[24, 59, 50] Operation: 93-43=50
Exploring Operation: 93-59=34, Resulting Numbers: [24, 43, 34]
Generated Node #0,1: 62:[24, 43, 34] Operation: 93-59=34
Exploring Operation: 93-24=69, Resulting Numbers: [59, 43, 69]
Generated Node #0,2: 62:[59, 43, 69] Operation: 93-24=69
Start Sub Search at level 1: Moving to Node #0,0
Current State: 62:[24, 59, 50], Operations: ['93-43=50']
Exploring Operation: 24+50=74, Resulting Numbers: [59, 74]
Generated Node #0,0,0: 62:[59, 74] Operation: 24+50=74
Exploring Operation: 59-50=9, Resulting Numbers: [24, 9]
Generated Node #0,0,1: 62:[24, 9] Operation: 59-50=9
Exploring Operation: 50-24=26, Resulting Numbers: [59, 26]
Generated Node #0,0,2: 62:[59, 26] Operation: 50-24=26
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 62:[59, 26], Operations: ['93-43=50', '50-24=26']
Exploring Operation: 59*26=1534, Resulting Numbers: [1534]
1534,62 unequal: No Solution
Exploring Operation: 59+26=85, Resulting Numbers: [85]
85,62 unequal: No Solution
Exploring Operation: 59-26=33, Resulting Numbers: [33]
33,62 unequal: No Solution
No 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: 62:[24, 9], Operations: ['93-43=50', '59-50=9']
Exploring Operation: 24*9=216, Resulting Numbers: [216]
216,62 unequal: No Solution
Exploring Operation: 24+9=33, Resulting Numbers: [33]
33,62 unequal: No Solution
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,62 unequal: No Solution
No 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: 62:[59, 74], Operations: ['93-43=50', '24+50=74']
Exploring Operation: 59+74=133, Resulting Numbers: [133]
133,62 unequal: No Solution
Exploring Operation: 74-59=15, Resulting Numbers: [15]
15,62 unequal: No Solution
Exploring Operation: 59*74=4366, Resulting Numbers: [4366]
4366,62 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: 62:[24, 43, 34], Operations: ['93-59=34']
Exploring Operation: 43-24=19, Resulting Numbers: [34, 19]
Generated Node #0,1,0: 62:[34, 19] Operation: 43-24=19
Exploring Operation: 24+43=67, Resulting Numbers: [34, 67]
Generated Node #0,1,1: 62:[34, 67] Operation: 24+43=67
Exploring Operation: 43-34=9, Resulting Numbers: [24, 9]
Generated Node #0,1,2: 62:[24, 9] Operation: 43-34=9
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 62:[34, 67], Operations: ['93-59=34', '24+43=67']
Exploring Operation: 34*67=2278, Resulting Numbers: [2278]
2278,62 unequal: No Solution
Exploring Operation: 67-34=33, Resulting Numbers: [33]
33,62 unequal: No Solution
Exploring Operation: 34+67=101, Resulting Numbers: [101]
101,62 unequal: No Solution
No 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: 62:[24, 9], Operations: ['93-59=34', '43-34=9']
Exploring Operation: 24+9=33, Resulting Numbers: [33]
33,62 unequal: No Solution
Exploring Operation: 24-9=15, Resulting Numbers: [15]
15,62 unequal: No Solution
Exploring Operation: 24*9=216, Resulting Numbers: [216]
216,62 unequal: No Solution
No 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: 62:[34, 19], Operations: ['93-59=34', '43-24=19']
Exploring Operation: 34-19=15, Resulting Numbers: [15]
15,62 unequal: No Solution
Exploring Operation: 34+19=53, Resulting Numbers: [53]
53,62 unequal: No Solution
Exploring Operation: 34*19=646, Resulting Numbers: [646]
646,62 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: 62:[59, 43, 69], Operations: ['93-24=69']
Exploring Operation: 59-43=16, Resulting Numbers: [69, 16]
Generated Node #0,2,0: 62:[69, 16] Operation: 59-43=16
Exploring Operation: 69-43=26, Resulting Numbers: [59, 26]
Generated Node #0,2,1: 62:[59, 26] Operation: 69-43=26
Exploring Operation: 69-59=10, Resulting Numbers: [43, 10]
Generated Node #0,2,2: 62:[43, 10] Operation: 69-59=10
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 62:[59, 26], Operations: ['93-24=69', '69-43=26']
Exploring Operation: 59*26=1534, Resulting Numbers: [1534]
1534,62 unequal: No Solution
Exploring Operation: 59-26=33, Resulting Numbers: [33]
33,62 unequal: No Solution
Exploring Operation: 59+26=85, Resulting Numbers: [85]
85,62 unequal: No Solution
No 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: 62:[43, 10], Operations: ['93-24=69', '69-59=10']
Exploring Operation: 43*10=430, Resulting Numbers: [430]
430,62 unequal: No Solution
Exploring Operation: 43+10=53, Resulting Numbers: [53]
53,62 unequal: No Solution
Exploring Operation: 43-10=33, Resulting Numbers: [33]
33,62 unequal: No Solution
No 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: 62:[69, 16], Operations: ['93-24=69', '59-43=16']
Exploring Operation: 69*16=1104, Resulting Numbers: [1104]
1104,62 unequal: No Solution
Exploring Operation: 69-16=53, Resulting Numbers: [53]
53,62 unequal: No Solution
Exploring Operation: 69+16=85, Resulting Numbers: [85]
85,62 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | mult_heuristic |
[
54,
5,
21,
58
] | 89 | [
"58-54=4",
"21*4=84",
"5+84=89"
] | Current State: 89:[54, 5, 21, 58], Operations: []
Exploring Operation: 58-54=4, Resulting Numbers: [5, 21, 4]
Generated Node #2: [5, 21, 4] from Operation: 58-54=4
Current State: 89:[5, 21, 4], Operations: ['58-54=4']
Exploring Operation: 21*4=84, Resulting Numbers: [5, 84]
Generated Node #3: [5, 84] from Operation: 21*4=84
Current State: 89:[5, 84], Operations: ['58-54=4', '21*4=84']
Exploring Operation: 5+84=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[54, 5, 21, 58], Operations: []
Exploring Operation: 5*21=105, Resulting Numbers: [54, 58, 105]
Generated Node #0,0: 89:[54, 58, 105] Operation: 5*21=105
Exploring Operation: 5+21=26, Resulting Numbers: [54, 58, 26]
Generated Node #0,1: 89:[54, 58, 26] Operation: 5+21=26
Exploring Operation: 54+21=75, Resulting Numbers: [5, 58, 75]
Generated Node #0,2: 89:[5, 58, 75] Operation: 54+21=75
Exploring Operation: 54+5=59, Resulting Numbers: [21, 58, 59]
Generated Node #0,3: 89:[21, 58, 59] Operation: 54+5=59
Exploring Operation: 5+58=63, Resulting Numbers: [54, 21, 63]
Generated Node #0,4: 89:[54, 21, 63] Operation: 5+58=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 89:[54, 58, 105], Operations: ['5*21=105']
Exploring Operation: 105-54=51, Resulting Numbers: [58, 51]
Generated Node #0,0,0: 89:[58, 51] Operation: 105-54=51
Exploring Operation: 54+105=159, Resulting Numbers: [58, 159]
Generated Node #0,0,1: 89:[58, 159] Operation: 54+105=159
Exploring Operation: 58-54=4, Resulting Numbers: [105, 4]
Generated Node #0,0,2: 89:[105, 4] Operation: 58-54=4
Exploring Operation: 105-58=47, Resulting Numbers: [54, 47]
Generated Node #0,0,3: 89:[54, 47] Operation: 105-58=47
Exploring Operation: 54+58=112, Resulting Numbers: [105, 112]
Generated Node #0,0,4: 89:[105, 112] Operation: 54+58=112
Moving to Node #0,0,4
Current State: 89:[105, 112], Operations: ['5*21=105', '54+58=112']
Exploring Operation: 105+112=217, Resulting Numbers: [217]
217,89 unequal: No Solution
Exploring Operation: 105*112=11760, Resulting Numbers: [11760]
11760,89 unequal: No Solution
Exploring Operation: 112-105=7, Resulting Numbers: [7]
7,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[58, 51], Operations: ['5*21=105', '105-54=51']
Exploring Operation: 58-51=7, Resulting Numbers: [7]
7,89 unequal: No Solution
Exploring Operation: 58+51=109, Resulting Numbers: [109]
109,89 unequal: No Solution
Exploring Operation: 58*51=2958, Resulting Numbers: [2958]
2958,89 unequal: No Solution
Moving to Node #0,0,3
Current State: 89:[54, 47], Operations: ['5*21=105', '105-58=47']
Exploring Operation: 54-47=7, Resulting Numbers: [7]
7,89 unequal: No Solution
Exploring Operation: 54*47=2538, Resulting Numbers: [2538]
2538,89 unequal: No Solution
Exploring Operation: 54+47=101, Resulting Numbers: [101]
101,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[58, 159], Operations: ['5*21=105', '54+105=159']
Exploring Operation: 159-58=101, Resulting Numbers: [101]
101,89 unequal: No Solution
Exploring Operation: 58*159=9222, Resulting Numbers: [9222]
9222,89 unequal: No Solution
Exploring Operation: 58+159=217, Resulting Numbers: [217]
217,89 unequal: No Solution
Moving to Node #0,0,2
Current State: 89:[105, 4], Operations: ['5*21=105', '58-54=4']
Exploring Operation: 105+4=109, Resulting Numbers: [109]
109,89 unequal: No Solution
Exploring Operation: 105*4=420, Resulting Numbers: [420]
420,89 unequal: No Solution
Exploring Operation: 105-4=101, Resulting Numbers: [101]
101,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:[54, 58, 26], Operations: ['5+21=26']
Exploring Operation: 54+26=80, Resulting Numbers: [58, 80]
Generated Node #0,1,0: 89:[58, 80] Operation: 54+26=80
Exploring Operation: 54-26=28, Resulting Numbers: [58, 28]
Generated Node #0,1,1: 89:[58, 28] Operation: 54-26=28
Exploring Operation: 58-26=32, Resulting Numbers: [54, 32]
Generated Node #0,1,2: 89:[54, 32] Operation: 58-26=32
Exploring Operation: 58+26=84, Resulting Numbers: [54, 84]
Generated Node #0,1,3: 89:[54, 84] Operation: 58+26=84
Exploring Operation: 54+58=112, Resulting Numbers: [26, 112]
Generated Node #0,1,4: 89:[26, 112] Operation: 54+58=112
Moving to Node #0,1,0
Current State: 89:[58, 80], Operations: ['5+21=26', '54+26=80']
Exploring Operation: 58+80=138, Resulting Numbers: [138]
138,89 unequal: No Solution
Exploring Operation: 58*80=4640, Resulting Numbers: [4640]
4640,89 unequal: No Solution
Exploring Operation: 80-58=22, Resulting Numbers: [22]
22,89 unequal: No Solution
Moving to Node #0,1,3
Current State: 89:[54, 84], Operations: ['5+21=26', '58+26=84']
Exploring Operation: 54*84=4536, Resulting Numbers: [4536]
4536,89 unequal: No Solution
Exploring Operation: 84-54=30, Resulting Numbers: [30]
30,89 unequal: No Solution
Exploring Operation: 54+84=138, Resulting Numbers: [138]
138,89 unequal: No Solution
Moving to Node #0,1,4
Current State: 89:[26, 112], Operations: ['5+21=26', '54+58=112']
Exploring Operation: 26+112=138, Resulting Numbers: [138]
138,89 unequal: No Solution
Exploring Operation: 112-26=86, Resulting Numbers: [86]
86,89 unequal: No Solution
Exploring Operation: 26*112=2912, Resulting Numbers: [2912]
2912,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[58, 28], Operations: ['5+21=26', '54-26=28']
Exploring Operation: 58*28=1624, Resulting Numbers: [1624]
1624,89 unequal: No Solution
Exploring Operation: 58+28=86, Resulting Numbers: [86]
86,89 unequal: No Solution
Exploring Operation: 58-28=30, Resulting Numbers: [30]
30,89 unequal: No Solution
Moving to Node #0,1,2
Current State: 89:[54, 32], Operations: ['5+21=26', '58-26=32']
Exploring Operation: 54-32=22, Resulting Numbers: [22]
22,89 unequal: No Solution
Exploring Operation: 54+32=86, Resulting Numbers: [86]
86,89 unequal: No Solution
Exploring Operation: 54*32=1728, Resulting Numbers: [1728]
1728,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:[5, 58, 75], Operations: ['54+21=75']
Exploring Operation: 58-5=53, Resulting Numbers: [75, 53]
Generated Node #0,2,0: 89:[75, 53] Operation: 58-5=53
Exploring Operation: 5+58=63, Resulting Numbers: [75, 63]
Generated Node #0,2,1: 89:[75, 63] Operation: 5+58=63
Exploring Operation: 5+75=80, Resulting Numbers: [58, 80]
Generated Node #0,2,2: 89:[58, 80] Operation: 5+75=80
Exploring Operation: 75/5=15, Resulting Numbers: [58, 15]
Generated Node #0,2,3: 89:[58, 15] Operation: 75/5=15
Exploring Operation: 75-5=70, Resulting Numbers: [58, 70]
Generated Node #0,2,4: 89:[58, 70] Operation: 75-5=70
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 89:[75, 63], Operations: ['54+21=75', '5+58=63']
Exploring Operation: 75*63=4725, Resulting Numbers: [4725]
4725,89 unequal: No Solution
Exploring Operation: 75+63=138, Resulting Numbers: [138]
138,89 unequal: No Solution
Exploring Operation: 75-63=12, Resulting Numbers: [12]
12,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,2,2
Current State: 89:[58, 80], Operations: ['54+21=75', '5+75=80']
Exploring Operation: 58+80=138, Resulting Numbers: [138]
138,89 unequal: No Solution
Exploring Operation: 80-58=22, Resulting Numbers: [22]
22,89 unequal: No Solution
Exploring Operation: 58*80=4640, Resulting Numbers: [4640]
4640,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,2,0
Current State: 89:[75, 53], Operations: ['54+21=75', '58-5=53']
Exploring Operation: 75-53=22, Resulting Numbers: [22]
22,89 unequal: No Solution
Exploring Operation: 75*53=3975, Resulting Numbers: [3975]
3975,89 unequal: No Solution
Exploring Operation: 75+53=128, Resulting Numbers: [128]
128,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,2,4
Current State: 89:[58, 70], Operations: ['54+21=75', '75-5=70']
Exploring Operation: 58*70=4060, Resulting Numbers: [4060]
4060,89 unequal: No Solution
Exploring Operation: 70-58=12, Resulting Numbers: [12]
12,89 unequal: No Solution
Exploring Operation: 58+70=128, Resulting Numbers: [128]
128,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,2,3
Current State: 89:[58, 15], Operations: ['54+21=75', '75/5=15']
Exploring Operation: 58*15=870, Resulting Numbers: [870]
870,89 unequal: No Solution
Exploring Operation: 58+15=73, Resulting Numbers: [73]
73,89 unequal: No Solution
Exploring Operation: 58-15=43, Resulting Numbers: [43]
43,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,3
Current State: 89:[21, 58, 59], Operations: ['54+5=59']
Exploring Operation: 58+59=117, Resulting Numbers: [21, 117]
Generated Node #0,3,0: 89:[21, 117] Operation: 58+59=117
Exploring Operation: 59-21=38, Resulting Numbers: [58, 38]
Generated Node #0,3,1: 89:[58, 38] Operation: 59-21=38
Exploring Operation: 21+59=80, Resulting Numbers: [58, 80]
Generated Node #0,3,2: 89:[58, 80] Operation: 21+59=80
Exploring Operation: 21+58=79, Resulting Numbers: [59, 79]
Generated Node #0,3,3: 89:[59, 79] Operation: 21+58=79
Exploring Operation: 58-21=37, Resulting Numbers: [59, 37]
Generated Node #0,3,4: 89:[59, 37] Operation: 58-21=37
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 89:[58, 80], Operations: ['54+5=59', '21+59=80']
Exploring Operation: 58*80=4640, Resulting Numbers: [4640]
4640,89 unequal: No Solution
Exploring Operation: 80-58=22, Resulting Numbers: [22]
22,89 unequal: No Solution
Exploring Operation: 58+80=138, Resulting Numbers: [138]
138,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,3,3
Current State: 89:[59, 79], Operations: ['54+5=59', '21+58=79']
Exploring Operation: 59+79=138, Resulting Numbers: [138]
138,89 unequal: No Solution
Exploring Operation: 59*79=4661, Resulting Numbers: [4661]
4661,89 unequal: No Solution
Exploring Operation: 79-59=20, Resulting Numbers: [20]
20,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,3,1
Current State: 89:[58, 38], Operations: ['54+5=59', '59-21=38']
Exploring Operation: 58+38=96, Resulting Numbers: [96]
96,89 unequal: No Solution
Exploring Operation: 58-38=20, Resulting Numbers: [20]
20,89 unequal: No Solution
Exploring Operation: 58*38=2204, Resulting Numbers: [2204]
2204,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,3,4
Current State: 89:[59, 37], Operations: ['54+5=59', '58-21=37']
Exploring Operation: 59*37=2183, Resulting Numbers: [2183]
2183,89 unequal: No Solution
Exploring Operation: 59+37=96, Resulting Numbers: [96]
96,89 unequal: No Solution
Exploring Operation: 59-37=22, Resulting Numbers: [22]
22,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,3,0
Current State: 89:[21, 117], Operations: ['54+5=59', '58+59=117']
Exploring Operation: 21+117=138, Resulting Numbers: [138]
138,89 unequal: No Solution
Exploring Operation: 21*117=2457, Resulting Numbers: [2457]
2457,89 unequal: No Solution
Exploring Operation: 117-21=96, Resulting Numbers: [96]
96,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,4
Current State: 89:[54, 21, 63], Operations: ['5+58=63']
Exploring Operation: 54+63=117, Resulting Numbers: [21, 117]
Generated Node #0,4,0: 89:[21, 117] Operation: 54+63=117
Exploring Operation: 54-21=33, Resulting Numbers: [63, 33]
Generated Node #0,4,1: 89:[63, 33] Operation: 54-21=33
Exploring Operation: 54+21=75, Resulting Numbers: [63, 75]
Generated Node #0,4,2: 89:[63, 75] Operation: 54+21=75
Exploring Operation: 21+63=84, Resulting Numbers: [54, 84]
Generated Node #0,4,3: 89:[54, 84] Operation: 21+63=84
Exploring Operation: 63-21=42, Resulting Numbers: [54, 42]
Generated Node #0,4,4: 89:[54, 42] Operation: 63-21=42
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 89:[63, 75], Operations: ['5+58=63', '54+21=75']
Exploring Operation: 63+75=138, Resulting Numbers: [138]
138,89 unequal: No Solution
Exploring Operation: 75-63=12, Resulting Numbers: [12]
12,89 unequal: No Solution
Exploring Operation: 63*75=4725, Resulting Numbers: [4725]
4725,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,4,3
Current State: 89:[54, 84], Operations: ['5+58=63', '21+63=84']
Exploring Operation: 54*84=4536, Resulting Numbers: [4536]
4536,89 unequal: No Solution
Exploring Operation: 54+84=138, Resulting Numbers: [138]
138,89 unequal: No Solution
Exploring Operation: 84-54=30, Resulting Numbers: [30]
30,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,4,1
Current State: 89:[63, 33], Operations: ['5+58=63', '54-21=33']
Exploring Operation: 63-33=30, Resulting Numbers: [30]
30,89 unequal: No Solution
Exploring Operation: 63+33=96, Resulting Numbers: [96]
96,89 unequal: No Solution
Exploring Operation: 63*33=2079, Resulting Numbers: [2079]
2079,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,4,4
Current State: 89:[54, 42], Operations: ['5+58=63', '63-21=42']
Exploring Operation: 54*42=2268, Resulting Numbers: [2268]
2268,89 unequal: No Solution
Exploring Operation: 54+42=96, Resulting Numbers: [96]
96,89 unequal: No Solution
Exploring Operation: 54-42=12, Resulting Numbers: [12]
12,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,4,0
Current State: 89:[21, 117], Operations: ['5+58=63', '54+63=117']
Exploring Operation: 117-21=96, Resulting Numbers: [96]
96,89 unequal: No Solution
Exploring Operation: 21*117=2457, Resulting Numbers: [2457]
2457,89 unequal: No Solution
Exploring Operation: 21+117=138, Resulting Numbers: [138]
138,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
No solution found.
| 0 | hs_5 | sum_heuristic |
[
19,
61,
17,
80
] | 38 | [
"19-17=2",
"80-61=19",
"2*19=38"
] | Current State: 38:[19, 61, 17, 80], Operations: []
Exploring Operation: 19-17=2, Resulting Numbers: [61, 80, 2]
Generated Node #2: [61, 80, 2] from Operation: 19-17=2
Current State: 38:[61, 80, 2], Operations: ['19-17=2']
Exploring Operation: 80-61=19, Resulting Numbers: [2, 19]
Generated Node #3: [2, 19] from Operation: 80-61=19
Current State: 38:[2, 19], Operations: ['19-17=2', '80-61=19']
Exploring Operation: 2*19=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
| 4 | Current State: 38:[19, 61, 17, 80], Operations: []
Exploring Operation: 61-17=44, Resulting Numbers: [19, 80, 44]
Generated Node #0,0: 38:[19, 80, 44] Operation: 61-17=44
Exploring Operation: 80-17=63, Resulting Numbers: [19, 61, 63]
Generated Node #0,1: 38:[19, 61, 63] Operation: 80-17=63
Exploring Operation: 80-61=19, Resulting Numbers: [19, 17, 19]
Generated Node #0,2: 38:[19, 17, 19] Operation: 80-61=19
Exploring Operation: 61-19=42, Resulting Numbers: [17, 80, 42]
Generated Node #0,3: 38:[17, 80, 42] Operation: 61-19=42
Exploring Operation: 80-19=61, Resulting Numbers: [61, 17, 61]
Generated Node #0,4: 38:[61, 17, 61] Operation: 80-19=61
Moving to Node #0,2
Current State: 38:[19, 17, 19], Operations: ['80-61=19']
Exploring Operation: 19-17=2, Resulting Numbers: [19, 2]
Generated Node #0,2,0: 38:[19, 2] Operation: 19-17=2
Exploring Operation: 19+19=38, Resulting Numbers: [17, 38]
Generated Node #0,2,1: 38:[17, 38] Operation: 19+19=38
Exploring Operation: 17+19=36, Resulting Numbers: [19, 36]
Generated Node #0,2,2: 38:[19, 36] Operation: 17+19=36
Exploring Operation: 19+17=36, Resulting Numbers: [19, 36]
Generated Node #0,2,3: 38:[19, 36] Operation: 19+17=36
Exploring Operation: 19-17=2, Resulting Numbers: [19, 2]
Generated Node #0,2,4: 38:[19, 2] Operation: 19-17=2
Moving to Node #0,1
Current State: 38:[19, 61, 63], Operations: ['80-17=63']
Exploring Operation: 19+61=80, Resulting Numbers: [63, 80]
Generated Node #0,1,0: 38:[63, 80] Operation: 19+61=80
Exploring Operation: 63-19=44, Resulting Numbers: [61, 44]
Generated Node #0,1,1: 38:[61, 44] Operation: 63-19=44
Exploring Operation: 19+63=82, Resulting Numbers: [61, 82]
Generated Node #0,1,2: 38:[61, 82] Operation: 19+63=82
Exploring Operation: 61-19=42, Resulting Numbers: [63, 42]
Generated Node #0,1,3: 38:[63, 42] Operation: 61-19=42
Exploring Operation: 63-61=2, Resulting Numbers: [19, 2]
Generated Node #0,1,4: 38:[19, 2] Operation: 63-61=2
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 38:[19, 2], Operations: ['80-17=63', '63-61=2']
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Moving to Node #0
Current State: 38:[19, 61, 17, 80], Operations: []
Exploring Operation: 80-17=63, Resulting Numbers: [19, 61, 63]
Generated Node #0,1: 38:[19, 61, 63] Operation: 80-17=63
Moving to Node #0,1
Current State: 38:[19, 61, 63], Operations: ['80-17=63']
Exploring Operation: 63-61=2, Resulting Numbers: [19, 2]
Generated Node #0,1,4: 38:[19, 2] Operation: 63-61=2
Moving to Node #0,1,4
Current State: 38:[19, 2], Operations: ['80-17=63', '63-61=2']
Exploring Operation: 19*2=38, Resulting Numbers: [38]
38,38 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_5 | sum_heuristic |
[
75,
53,
8,
61
] | 76 | [
"53+8=61",
"61/61=1",
"75+1=76"
] | Current State: 76:[75, 53, 8, 61], Operations: []
Exploring Operation: 53+8=61, Resulting Numbers: [75, 61, 61]
Generated Node #2: [75, 61, 61] from Operation: 53+8=61
Current State: 76:[75, 61, 61], Operations: ['53+8=61']
Exploring Operation: 61/61=1, Resulting Numbers: [75, 1]
Generated Node #3: [75, 1] from Operation: 61/61=1
Current State: 76:[75, 1], Operations: ['53+8=61', '61/61=1']
Exploring Operation: 75+1=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[75, 53, 8, 61], Operations: []
Exploring Operation: 8+61=69, Resulting Numbers: [75, 53, 69]
Generated Node #0,0: 76:[75, 53, 69] Operation: 8+61=69
Exploring Operation: 75-61=14, Resulting Numbers: [53, 8, 14]
Generated Node #0,1: 76:[53, 8, 14] Operation: 75-61=14
Exploring Operation: 61-53=8, Resulting Numbers: [75, 8, 8]
Generated Node #0,2: 76:[75, 8, 8] Operation: 61-53=8
Exploring Operation: 53-8=45, Resulting Numbers: [75, 61, 45]
Generated Node #0,3: 76:[75, 61, 45] Operation: 53-8=45
Exploring Operation: 75-53=22, Resulting Numbers: [8, 61, 22]
Generated Node #0,4: 76:[8, 61, 22] Operation: 75-53=22
Moving to Node #0,2
Current State: 76:[75, 8, 8], Operations: ['61-53=8']
Exploring Operation: 8/8=1, Resulting Numbers: [75, 1]
Generated Node #0,2,0: 76:[75, 1] Operation: 8/8=1
Exploring Operation: 8+8=16, Resulting Numbers: [75, 16]
Generated Node #0,2,1: 76:[75, 16] Operation: 8+8=16
Exploring Operation: 8-8=0, Resulting Numbers: [75, 0]
Generated Node #0,2,2: 76:[75, 0] Operation: 8-8=0
Exploring Operation: 75+8=83, Resulting Numbers: [8, 83]
Generated Node #0,2,3: 76:[8, 83] Operation: 75+8=83
Exploring Operation: 75+8=83, Resulting Numbers: [8, 83]
Generated Node #0,2,4: 76:[8, 83] Operation: 75+8=83
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 76:[75, 1], Operations: ['61-53=8', '8/8=1']
Exploring Operation: 75+1=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[75, 53, 8, 61], Operations: []
Exploring Operation: 61-53=8, Resulting Numbers: [75, 8, 8]
Generated Node #0,2: 76:[75, 8, 8] Operation: 61-53=8
Moving to Node #0,2
Current State: 76:[75, 8, 8], Operations: ['61-53=8']
Exploring Operation: 8/8=1, Resulting Numbers: [75, 1]
Generated Node #0,2,0: 76:[75, 1] Operation: 8/8=1
Moving to Node #0,2,0
Current State: 76:[75, 1], Operations: ['61-53=8', '8/8=1']
Exploring Operation: 75+1=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | sum_heuristic |
[
7,
55,
7,
21
] | 58 | [
"7*55=385",
"21+385=406",
"406/7=58"
] | Current State: 58:[7, 55, 7, 21], Operations: []
Exploring Operation: 7*55=385, Resulting Numbers: [21, 385]
Generated Node #2: [21, 385] from Operation: 7*55=385
Current State: 58:[21, 385], Operations: ['7*55=385']
Exploring Operation: 21+385=406, Resulting Numbers: [406]
406,58 equal: Goal Reached
Exploring Operation: 406/7=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[7, 55, 7, 21], Operations: []
Exploring Operation: 7+21=28, Resulting Numbers: [55, 7, 28]
Generated Node #0,0: 58:[55, 7, 28] Operation: 7+21=28
Exploring Operation: 21/7=3, Resulting Numbers: [55, 7, 3]
Generated Node #0,1: 58:[55, 7, 3] Operation: 21/7=3
Moving to Node #0,0
Current State: 58:[55, 7, 28], Operations: ['7+21=28']
Exploring Operation: 28/7=4, Resulting Numbers: [55, 4]
Generated Node #0,0,0: 58:[55, 4] Operation: 28/7=4
Exploring Operation: 55+7=62, Resulting Numbers: [28, 62]
Generated Node #0,0,1: 58:[28, 62] Operation: 55+7=62
Moving to Node #0,1
Current State: 58:[55, 7, 3], Operations: ['21/7=3']
Exploring Operation: 55+7=62, Resulting Numbers: [3, 62]
Generated Node #0,1,0: 58:[3, 62] Operation: 55+7=62
Exploring Operation: 55+3=58, Resulting Numbers: [7, 58]
Generated Node #0,1,1: 58:[7, 58] Operation: 55+3=58
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 58:[3, 62], Operations: ['21/7=3', '55+7=62']
Exploring Operation: 62-3=59, Resulting Numbers: [59]
59,58 unequal: No Solution
Exploring Operation: 3+62=65, Resulting Numbers: [65]
65,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 58:[7, 58], Operations: ['21/7=3', '55+3=58']
Exploring Operation: 7+58=65, Resulting Numbers: [65]
65,58 unequal: No Solution
Exploring Operation: 58-7=51, Resulting Numbers: [51]
51,58 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: 58:[55, 4], Operations: ['7+21=28', '28/7=4']
Exploring Operation: 55-4=51, Resulting Numbers: [51]
51,58 unequal: No Solution
Exploring Operation: 55+4=59, Resulting Numbers: [59]
59,58 unequal: No Solution
Moving to Node #0,0,1
Current State: 58:[28, 62], Operations: ['7+21=28', '55+7=62']
Exploring Operation: 28+62=90, Resulting Numbers: [90]
90,58 unequal: No Solution
Exploring Operation: 62-28=34, Resulting Numbers: [34]
34,58 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
80,
56,
20,
46
] | 70 | [
"80+56=136",
"20+46=66",
"136-66=70"
] | Current State: 70:[80, 56, 20, 46], Operations: []
Exploring Operation: 80+56=136, Resulting Numbers: [20, 46, 136]
Generated Node #2: [20, 46, 136] from Operation: 80+56=136
Current State: 70:[20, 46, 136], Operations: ['80+56=136']
Exploring Operation: 20+46=66, Resulting Numbers: [136, 66]
Generated Node #3: [136, 66] from Operation: 20+46=66
Current State: 70:[136, 66], Operations: ['80+56=136', '20+46=66']
Exploring Operation: 136-66=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
| 4 | Current State: 70:[80, 56, 20, 46], Operations: []
Exploring Operation: 56-20=36, Resulting Numbers: [80, 46, 36]
Generated Node #0,0: 70:[80, 46, 36] Operation: 56-20=36
Exploring Operation: 80/20=4, Resulting Numbers: [56, 46, 4]
Generated Node #0,1: 70:[56, 46, 4] Operation: 80/20=4
Exploring Operation: 56-46=10, Resulting Numbers: [80, 20, 10]
Generated Node #0,2: 70:[80, 20, 10] Operation: 56-46=10
Exploring Operation: 80-46=34, Resulting Numbers: [56, 20, 34]
Generated Node #0,3: 70:[56, 20, 34] Operation: 80-46=34
Moving to Node #0,2
Current State: 70:[80, 20, 10], Operations: ['56-46=10']
Exploring Operation: 80-10=70, Resulting Numbers: [20, 70]
Generated Node #0,2,0: 70:[20, 70] Operation: 80-10=70
Exploring Operation: 80-20=60, Resulting Numbers: [10, 60]
Generated Node #0,2,1: 70:[10, 60] Operation: 80-20=60
Exploring Operation: 80/10=8, Resulting Numbers: [20, 8]
Generated Node #0,2,2: 70:[20, 8] Operation: 80/10=8
Exploring Operation: 80/20=4, Resulting Numbers: [10, 4]
Generated Node #0,2,3: 70:[10, 4] Operation: 80/20=4
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 70:[10, 4], Operations: ['56-46=10', '80/20=4']
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,70 unequal: No Solution
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 70:[20, 70], Operations: ['56-46=10', '80-10=70']
Exploring Operation: 20+70=90, Resulting Numbers: [90]
90,70 unequal: No Solution
Exploring Operation: 20*70=1400, Resulting Numbers: [1400]
1400,70 unequal: No Solution
Exploring Operation: 70-20=50, Resulting Numbers: [50]
50,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 70:[20, 8], Operations: ['56-46=10', '80/10=8']
Exploring Operation: 20+8=28, Resulting Numbers: [28]
28,70 unequal: No Solution
Exploring Operation: 20*8=160, Resulting Numbers: [160]
160,70 unequal: No Solution
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,70 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 70:[10, 60], Operations: ['56-46=10', '80-20=60']
Exploring Operation: 60-10=50, Resulting Numbers: [50]
50,70 unequal: No Solution
Exploring Operation: 60/10=6, Resulting Numbers: [6]
6,70 unequal: No Solution
Exploring Operation: 10+60=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Moving to Node #0
Current State: 70:[80, 56, 20, 46], Operations: []
Exploring Operation: 56-46=10, Resulting Numbers: [80, 20, 10]
Generated Node #0,2: 70:[80, 20, 10] Operation: 56-46=10
Moving to Node #0,2
Current State: 70:[80, 20, 10], Operations: ['56-46=10']
Exploring Operation: 80-20=60, Resulting Numbers: [10, 60]
Generated Node #0,2,1: 70:[10, 60] Operation: 80-20=60
Moving to Node #0,2,1
Current State: 70:[10, 60], Operations: ['56-46=10', '80-20=60']
Exploring Operation: 10+60=70, Resulting Numbers: [70]
70,70 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_4 | mult_heuristic |
[
62,
34,
85,
34
] | 91 | [
"62-34=28",
"85+34=119",
"119-28=91"
] | Current State: 91:[62, 34, 85, 34], Operations: []
Exploring Operation: 62-34=28, Resulting Numbers: [85, 28]
Generated Node #2: [85, 28] from Operation: 62-34=28
Current State: 91:[85, 28], Operations: ['62-34=28']
Exploring Operation: 85+34=119, Resulting Numbers: [28, 119]
Generated Node #3: [28, 119] from Operation: 85+34=119
Current State: 91:[28, 119], Operations: ['62-34=28', '85+34=119']
Exploring Operation: 119-28=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[62, 34, 85, 34], Operations: []
Exploring Operation: 62-34=28, Resulting Numbers: [85, 34, 28]
Generated Node #0,0: 91:[85, 34, 28] Operation: 62-34=28
Exploring Operation: 62+34=96, Resulting Numbers: [34, 85, 96]
Generated Node #0,1: 91:[34, 85, 96] Operation: 62+34=96
Exploring Operation: 34/34=1, Resulting Numbers: [62, 85, 1]
Generated Node #0,2: 91:[62, 85, 1] Operation: 34/34=1
Exploring Operation: 62+34=96, Resulting Numbers: [85, 34, 96]
Generated Node #0,3: 91:[85, 34, 96] Operation: 62+34=96
Start Sub Search at level 1: Moving to Node #0,1
Current State: 91:[34, 85, 96], Operations: ['62+34=96']
Exploring Operation: 96-85=11, Resulting Numbers: [34, 11]
Generated Node #0,1,0: 91:[34, 11] Operation: 96-85=11
Exploring Operation: 96-34=62, Resulting Numbers: [85, 62]
Generated Node #0,1,1: 91:[85, 62] Operation: 96-34=62
Exploring Operation: 34+85=119, Resulting Numbers: [96, 119]
Generated Node #0,1,2: 91:[96, 119] Operation: 34+85=119
Exploring Operation: 85-34=51, Resulting Numbers: [96, 51]
Generated Node #0,1,3: 91:[96, 51] Operation: 85-34=51
Moving to Node #0,1,0
Current State: 91:[34, 11], Operations: ['62+34=96', '96-85=11']
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,91 unequal: No Solution
Exploring Operation: 34*11=374, Resulting Numbers: [374]
374,91 unequal: No Solution
Exploring Operation: 34+11=45, Resulting Numbers: [45]
45,91 unequal: No Solution
Moving to Node #0,1,2
Current State: 91:[96, 119], Operations: ['62+34=96', '34+85=119']
Exploring Operation: 119-96=23, Resulting Numbers: [23]
23,91 unequal: No Solution
Exploring Operation: 96+119=215, Resulting Numbers: [215]
215,91 unequal: No Solution
Exploring Operation: 96*119=11424, Resulting Numbers: [11424]
11424,91 unequal: No Solution
Moving to Node #0,1,1
Current State: 91:[85, 62], Operations: ['62+34=96', '96-34=62']
Exploring Operation: 85-62=23, Resulting Numbers: [23]
23,91 unequal: No Solution
Exploring Operation: 85+62=147, Resulting Numbers: [147]
147,91 unequal: No Solution
Exploring Operation: 85*62=5270, Resulting Numbers: [5270]
5270,91 unequal: No Solution
Moving to Node #0,1,3
Current State: 91:[96, 51], Operations: ['62+34=96', '85-34=51']
Exploring Operation: 96+51=147, Resulting Numbers: [147]
147,91 unequal: No Solution
Exploring Operation: 96-51=45, Resulting Numbers: [45]
45,91 unequal: No Solution
Exploring Operation: 96*51=4896, Resulting Numbers: [4896]
4896,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 91:[85, 34, 96], Operations: ['62+34=96']
Exploring Operation: 96-34=62, Resulting Numbers: [85, 62]
Generated Node #0,3,0: 91:[85, 62] Operation: 96-34=62
Exploring Operation: 85-34=51, Resulting Numbers: [96, 51]
Generated Node #0,3,1: 91:[96, 51] Operation: 85-34=51
Exploring Operation: 85+34=119, Resulting Numbers: [96, 119]
Generated Node #0,3,2: 91:[96, 119] Operation: 85+34=119
Exploring Operation: 96-85=11, Resulting Numbers: [34, 11]
Generated Node #0,3,3: 91:[34, 11] Operation: 96-85=11
Moving to Node #0,3,3
Current State: 91:[34, 11], Operations: ['62+34=96', '96-85=11']
Exploring Operation: 34*11=374, Resulting Numbers: [374]
374,91 unequal: No Solution
Exploring Operation: 34-11=23, Resulting Numbers: [23]
23,91 unequal: No Solution
Exploring Operation: 34+11=45, Resulting Numbers: [45]
45,91 unequal: No Solution
Moving to Node #0,3,2
Current State: 91:[96, 119], Operations: ['62+34=96', '85+34=119']
Exploring Operation: 96*119=11424, Resulting Numbers: [11424]
11424,91 unequal: No Solution
Exploring Operation: 96+119=215, Resulting Numbers: [215]
215,91 unequal: No Solution
Exploring Operation: 119-96=23, Resulting Numbers: [23]
23,91 unequal: No Solution
Moving to Node #0,3,0
Current State: 91:[85, 62], Operations: ['62+34=96', '96-34=62']
Exploring Operation: 85-62=23, Resulting Numbers: [23]
23,91 unequal: No Solution
Exploring Operation: 85*62=5270, Resulting Numbers: [5270]
5270,91 unequal: No Solution
Exploring Operation: 85+62=147, Resulting Numbers: [147]
147,91 unequal: No Solution
Moving to Node #0,3,1
Current State: 91:[96, 51], Operations: ['62+34=96', '85-34=51']
Exploring Operation: 96+51=147, Resulting Numbers: [147]
147,91 unequal: No Solution
Exploring Operation: 96*51=4896, Resulting Numbers: [4896]
4896,91 unequal: No Solution
Exploring Operation: 96-51=45, Resulting Numbers: [45]
45,91 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 91:[62, 85, 1], Operations: ['34/34=1']
Exploring Operation: 85-62=23, Resulting Numbers: [1, 23]
Generated Node #0,2,0: 91:[1, 23] Operation: 85-62=23
Exploring Operation: 85+1=86, Resulting Numbers: [62, 86]
Generated Node #0,2,1: 91:[62, 86] Operation: 85+1=86
Exploring Operation: 62+1=63, Resulting Numbers: [85, 63]
Generated Node #0,2,2: 91:[85, 63] Operation: 62+1=63
Exploring Operation: 62*1=62, Resulting Numbers: [85, 62]
Generated Node #0,2,3: 91:[85, 62] Operation: 62*1=62
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 91:[1, 23], Operations: ['34/34=1', '85-62=23']
Exploring Operation: 1*23=23, Resulting Numbers: [23]
23,91 unequal: No Solution
Exploring Operation: 1+23=24, Resulting Numbers: [24]
24,91 unequal: No Solution
Exploring Operation: 23/1=23, Resulting Numbers: [23]
23,91 unequal: No Solution
Exploring Operation: 23-1=22, Resulting Numbers: [22]
22,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 91:[62, 86], Operations: ['34/34=1', '85+1=86']
Exploring Operation: 62*86=5332, Resulting Numbers: [5332]
5332,91 unequal: No Solution
Exploring Operation: 62+86=148, Resulting Numbers: [148]
148,91 unequal: No Solution
Exploring Operation: 86-62=24, Resulting Numbers: [24]
24,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 91:[85, 63], Operations: ['34/34=1', '62+1=63']
Exploring Operation: 85-63=22, Resulting Numbers: [22]
22,91 unequal: No Solution
Exploring Operation: 85+63=148, Resulting Numbers: [148]
148,91 unequal: No Solution
Exploring Operation: 85*63=5355, Resulting Numbers: [5355]
5355,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 91:[85, 62], Operations: ['34/34=1', '62*1=62']
Exploring Operation: 85+62=147, Resulting Numbers: [147]
147,91 unequal: No Solution
Exploring Operation: 85*62=5270, Resulting Numbers: [5270]
5270,91 unequal: No Solution
Exploring Operation: 85-62=23, Resulting Numbers: [23]
23,91 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 91:[85, 34, 28], Operations: ['62-34=28']
Exploring Operation: 85+28=113, Resulting Numbers: [34, 113]
Generated Node #0,0,0: 91:[34, 113] Operation: 85+28=113
Exploring Operation: 34-28=6, Resulting Numbers: [85, 6]
Generated Node #0,0,1: 91:[85, 6] Operation: 34-28=6
Exploring Operation: 34+28=62, Resulting Numbers: [85, 62]
Generated Node #0,0,2: 91:[85, 62] Operation: 34+28=62
Exploring Operation: 85+34=119, Resulting Numbers: [28, 119]
Generated Node #0,0,3: 91:[28, 119] Operation: 85+34=119
Moving to Node #0,0,1
Current State: 91:[85, 6], Operations: ['62-34=28', '34-28=6']
Exploring Operation: 85*6=510, Resulting Numbers: [510]
510,91 unequal: No Solution
Exploring Operation: 85+6=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[62, 34, 85, 34], Operations: []
Exploring Operation: 62-34=28, Resulting Numbers: [85, 34, 28]
Generated Node #0,0: 91:[85, 34, 28] Operation: 62-34=28
Moving to Node #0,0
Current State: 91:[85, 34, 28], Operations: ['62-34=28']
Exploring Operation: 34-28=6, Resulting Numbers: [85, 6]
Generated Node #0,0,1: 91:[85, 6] Operation: 34-28=6
Moving to Node #0,0,1
Current State: 91:[85, 6], Operations: ['62-34=28', '34-28=6']
Exploring Operation: 85+6=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.945313 | hs_4 | mult_heuristic |
[
56,
59,
88,
48
] | 64 | [
"59-48=11",
"88/11=8",
"56+8=64"
] | Current State: 64:[56, 59, 88, 48], Operations: []
Exploring Operation: 59-48=11, Resulting Numbers: [56, 88, 11]
Generated Node #2: [56, 88, 11] from Operation: 59-48=11
Current State: 64:[56, 88, 11], Operations: ['59-48=11']
Exploring Operation: 88/11=8, Resulting Numbers: [56, 8]
Generated Node #3: [56, 8] from Operation: 88/11=8
Current State: 64:[56, 8], Operations: ['59-48=11', '88/11=8']
Exploring Operation: 56+8=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[56, 59, 88, 48], Operations: []
Exploring Operation: 56-48=8, Resulting Numbers: [59, 88, 8]
Generated Node #0,0: 64:[59, 88, 8] Operation: 56-48=8
Exploring Operation: 88-48=40, Resulting Numbers: [56, 59, 40]
Generated Node #0,1: 64:[56, 59, 40] Operation: 88-48=40
Exploring Operation: 88-59=29, Resulting Numbers: [56, 48, 29]
Generated Node #0,2: 64:[56, 48, 29] Operation: 88-59=29
Exploring Operation: 88-56=32, Resulting Numbers: [59, 48, 32]
Generated Node #0,3: 64:[59, 48, 32] Operation: 88-56=32
Start Sub Search at level 1: Moving to Node #0,1
Current State: 64:[56, 59, 40], Operations: ['88-48=40']
Exploring Operation: 56+40=96, Resulting Numbers: [59, 96]
Generated Node #0,1,0: 64:[59, 96] Operation: 56+40=96
Exploring Operation: 59-40=19, Resulting Numbers: [56, 19]
Generated Node #0,1,1: 64:[56, 19] Operation: 59-40=19
Exploring Operation: 56-40=16, Resulting Numbers: [59, 16]
Generated Node #0,1,2: 64:[59, 16] Operation: 56-40=16
Exploring Operation: 59-56=3, Resulting Numbers: [40, 3]
Generated Node #0,1,3: 64:[40, 3] Operation: 59-56=3
Moving to Node #0,1,2
Current State: 64:[59, 16], Operations: ['88-48=40', '56-40=16']
Exploring Operation: 59*16=944, Resulting Numbers: [944]
944,64 unequal: No Solution
Exploring Operation: 59-16=43, Resulting Numbers: [43]
43,64 unequal: No Solution
Exploring Operation: 59+16=75, Resulting Numbers: [75]
75,64 unequal: No Solution
Moving to Node #0,1,3
Current State: 64:[40, 3], Operations: ['88-48=40', '59-56=3']
Exploring Operation: 40+3=43, Resulting Numbers: [43]
43,64 unequal: No Solution
Exploring Operation: 40-3=37, Resulting Numbers: [37]
37,64 unequal: No Solution
Exploring Operation: 40*3=120, Resulting Numbers: [120]
120,64 unequal: No Solution
Moving to Node #0,1,1
Current State: 64:[56, 19], Operations: ['88-48=40', '59-40=19']
Exploring Operation: 56+19=75, Resulting Numbers: [75]
75,64 unequal: No Solution
Exploring Operation: 56*19=1064, Resulting Numbers: [1064]
1064,64 unequal: No Solution
Exploring Operation: 56-19=37, Resulting Numbers: [37]
37,64 unequal: No Solution
Moving to Node #0,1,0
Current State: 64:[59, 96], Operations: ['88-48=40', '56+40=96']
Exploring Operation: 59*96=5664, Resulting Numbers: [5664]
5664,64 unequal: No Solution
Exploring Operation: 96-59=37, Resulting Numbers: [37]
37,64 unequal: No Solution
Exploring Operation: 59+96=155, Resulting Numbers: [155]
155,64 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 64:[59, 48, 32], Operations: ['88-56=32']
Exploring Operation: 59-48=11, Resulting Numbers: [32, 11]
Generated Node #0,3,0: 64:[32, 11] Operation: 59-48=11
Exploring Operation: 59-32=27, Resulting Numbers: [48, 27]
Generated Node #0,3,1: 64:[48, 27] Operation: 59-32=27
Exploring Operation: 48-32=16, Resulting Numbers: [59, 16]
Generated Node #0,3,2: 64:[59, 16] Operation: 48-32=16
Exploring Operation: 48+32=80, Resulting Numbers: [59, 80]
Generated Node #0,3,3: 64:[59, 80] Operation: 48+32=80
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 64:[32, 11], Operations: ['88-56=32', '59-48=11']
Exploring Operation: 32-11=21, Resulting Numbers: [21]
21,64 unequal: No Solution
Exploring Operation: 32+11=43, Resulting Numbers: [43]
43,64 unequal: No Solution
Exploring Operation: 32*11=352, Resulting Numbers: [352]
352,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 64:[59, 16], Operations: ['88-56=32', '48-32=16']
Exploring Operation: 59-16=43, Resulting Numbers: [43]
43,64 unequal: No Solution
Exploring Operation: 59+16=75, Resulting Numbers: [75]
75,64 unequal: No Solution
Exploring Operation: 59*16=944, Resulting Numbers: [944]
944,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 64:[48, 27], Operations: ['88-56=32', '59-32=27']
Exploring Operation: 48-27=21, Resulting Numbers: [21]
21,64 unequal: No Solution
Exploring Operation: 48+27=75, Resulting Numbers: [75]
75,64 unequal: No Solution
Exploring Operation: 48*27=1296, Resulting Numbers: [1296]
1296,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 64:[59, 80], Operations: ['88-56=32', '48+32=80']
Exploring Operation: 59*80=4720, Resulting Numbers: [4720]
4720,64 unequal: No Solution
Exploring Operation: 59+80=139, Resulting Numbers: [139]
139,64 unequal: No Solution
Exploring Operation: 80-59=21, Resulting Numbers: [21]
21,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 64:[56, 48, 29], Operations: ['88-59=29']
Exploring Operation: 48-29=19, Resulting Numbers: [56, 19]
Generated Node #0,2,0: 64:[56, 19] Operation: 48-29=19
Exploring Operation: 56-48=8, Resulting Numbers: [29, 8]
Generated Node #0,2,1: 64:[29, 8] Operation: 56-48=8
Exploring Operation: 48+29=77, Resulting Numbers: [56, 77]
Generated Node #0,2,2: 64:[56, 77] Operation: 48+29=77
Exploring Operation: 56-29=27, Resulting Numbers: [48, 27]
Generated Node #0,2,3: 64:[48, 27] Operation: 56-29=27
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 64:[29, 8], Operations: ['88-59=29', '56-48=8']
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,64 unequal: No Solution
Exploring Operation: 29*8=232, Resulting Numbers: [232]
232,64 unequal: No Solution
Exploring Operation: 29+8=37, Resulting Numbers: [37]
37,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 64:[56, 19], Operations: ['88-59=29', '48-29=19']
Exploring Operation: 56+19=75, Resulting Numbers: [75]
75,64 unequal: No Solution
Exploring Operation: 56-19=37, Resulting Numbers: [37]
37,64 unequal: No Solution
Exploring Operation: 56*19=1064, Resulting Numbers: [1064]
1064,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 64:[56, 77], Operations: ['88-59=29', '48+29=77']
Exploring Operation: 56+77=133, Resulting Numbers: [133]
133,64 unequal: No Solution
Exploring Operation: 77-56=21, Resulting Numbers: [21]
21,64 unequal: No Solution
Exploring Operation: 56*77=4312, Resulting Numbers: [4312]
4312,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 64:[48, 27], Operations: ['88-59=29', '56-29=27']
Exploring Operation: 48*27=1296, Resulting Numbers: [1296]
1296,64 unequal: No Solution
Exploring Operation: 48+27=75, Resulting Numbers: [75]
75,64 unequal: No Solution
Exploring Operation: 48-27=21, Resulting Numbers: [21]
21,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 64:[59, 88, 8], Operations: ['56-48=8']
Exploring Operation: 88-59=29, Resulting Numbers: [8, 29]
Generated Node #0,0,0: 64:[8, 29] Operation: 88-59=29
Exploring Operation: 88-8=80, Resulting Numbers: [59, 80]
Generated Node #0,0,1: 64:[59, 80] Operation: 88-8=80
Exploring Operation: 88/8=11, Resulting Numbers: [59, 11]
Generated Node #0,0,2: 64:[59, 11] Operation: 88/8=11
Exploring Operation: 59+8=67, Resulting Numbers: [88, 67]
Generated Node #0,0,3: 64:[88, 67] Operation: 59+8=67
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 64:[8, 29], Operations: ['56-48=8', '88-59=29']
Exploring Operation: 8+29=37, Resulting Numbers: [37]
37,64 unequal: No Solution
Exploring Operation: 29-8=21, Resulting Numbers: [21]
21,64 unequal: No Solution
Exploring Operation: 8*29=232, Resulting Numbers: [232]
232,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 64:[59, 11], Operations: ['56-48=8', '88/8=11']
Exploring Operation: 59*11=649, Resulting Numbers: [649]
649,64 unequal: No Solution
Exploring Operation: 59+11=70, Resulting Numbers: [70]
70,64 unequal: No Solution
Exploring Operation: 59-11=48, Resulting Numbers: [48]
48,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 64:[59, 80], Operations: ['56-48=8', '88-8=80']
Exploring Operation: 59*80=4720, Resulting Numbers: [4720]
4720,64 unequal: No Solution
Exploring Operation: 59+80=139, Resulting Numbers: [139]
139,64 unequal: No Solution
Exploring Operation: 80-59=21, Resulting Numbers: [21]
21,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 64:[88, 67], Operations: ['56-48=8', '59+8=67']
Exploring Operation: 88-67=21, Resulting Numbers: [21]
21,64 unequal: No Solution
Exploring Operation: 88+67=155, Resulting Numbers: [155]
155,64 unequal: No Solution
Exploring Operation: 88*67=5896, Resulting Numbers: [5896]
5896,64 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | mult_heuristic |
[
88,
79,
51,
4
] | 69 | [
"88-51=37",
"4*37=148",
"148-79=69"
] | Current State: 69:[88, 79, 51, 4], Operations: []
Exploring Operation: 88-51=37, Resulting Numbers: [79, 4, 37]
Generated Node #2: [79, 4, 37] from Operation: 88-51=37
Current State: 69:[79, 4, 37], Operations: ['88-51=37']
Exploring Operation: 4*37=148, Resulting Numbers: [79, 148]
Generated Node #3: [79, 148] from Operation: 4*37=148
Current State: 69:[79, 148], Operations: ['88-51=37', '4*37=148']
Exploring Operation: 148-79=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[88, 79, 51, 4], Operations: []
Exploring Operation: 88/4=22, Resulting Numbers: [79, 51, 22]
Generated Node #0,0: 69:[79, 51, 22] Operation: 88/4=22
Exploring Operation: 79-51=28, Resulting Numbers: [88, 4, 28]
Generated Node #0,1: 69:[88, 4, 28] Operation: 79-51=28
Exploring Operation: 88-4=84, Resulting Numbers: [79, 51, 84]
Generated Node #0,2: 69:[79, 51, 84] Operation: 88-4=84
Exploring Operation: 88-79=9, Resulting Numbers: [51, 4, 9]
Generated Node #0,3: 69:[51, 4, 9] Operation: 88-79=9
Exploring Operation: 88-51=37, Resulting Numbers: [79, 4, 37]
Generated Node #0,4: 69:[79, 4, 37] Operation: 88-51=37
Start Sub Search at level 1: Moving to Node #0,1
Current State: 69:[88, 4, 28], Operations: ['79-51=28']
Exploring Operation: 88-4=84, Resulting Numbers: [28, 84]
Generated Node #0,1,0: 69:[28, 84] Operation: 88-4=84
Exploring Operation: 28-4=24, Resulting Numbers: [88, 24]
Generated Node #0,1,1: 69:[88, 24] Operation: 28-4=24
Exploring Operation: 28/4=7, Resulting Numbers: [88, 7]
Generated Node #0,1,2: 69:[88, 7] Operation: 28/4=7
Exploring Operation: 88-28=60, Resulting Numbers: [4, 60]
Generated Node #0,1,3: 69:[4, 60] Operation: 88-28=60
Exploring Operation: 88/4=22, Resulting Numbers: [28, 22]
Generated Node #0,1,4: 69:[28, 22] Operation: 88/4=22
Moving to Node #0,1,4
Current State: 69:[28, 22], Operations: ['79-51=28', '88/4=22']
Exploring Operation: 28+22=50, Resulting Numbers: [50]
50,69 unequal: No Solution
Exploring Operation: 28*22=616, Resulting Numbers: [616]
616,69 unequal: No Solution
Exploring Operation: 28-22=6, Resulting Numbers: [6]
6,69 unequal: No Solution
Moving to Node #0,1,3
Current State: 69:[4, 60], Operations: ['79-51=28', '88-28=60']
Exploring Operation: 4*60=240, Resulting Numbers: [240]
240,69 unequal: No Solution
Exploring Operation: 60-4=56, Resulting Numbers: [56]
56,69 unequal: No Solution
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,69 unequal: No Solution
Exploring Operation: 4+60=64, Resulting Numbers: [64]
64,69 unequal: No Solution
Moving to Node #0,1,0
Current State: 69:[28, 84], Operations: ['79-51=28', '88-4=84']
Exploring Operation: 28*84=2352, Resulting Numbers: [2352]
2352,69 unequal: No Solution
Exploring Operation: 84/28=3, Resulting Numbers: [3]
3,69 unequal: No Solution
Exploring Operation: 28+84=112, Resulting Numbers: [112]
112,69 unequal: No Solution
Exploring Operation: 84-28=56, Resulting Numbers: [56]
56,69 unequal: No Solution
Moving to Node #0,1,1
Current State: 69:[88, 24], Operations: ['79-51=28', '28-4=24']
Exploring Operation: 88+24=112, Resulting Numbers: [112]
112,69 unequal: No Solution
Exploring Operation: 88*24=2112, Resulting Numbers: [2112]
2112,69 unequal: No Solution
Exploring Operation: 88-24=64, Resulting Numbers: [64]
64,69 unequal: No Solution
Moving to Node #0,1,2
Current State: 69:[88, 7], Operations: ['79-51=28', '28/4=7']
Exploring Operation: 88+7=95, Resulting Numbers: [95]
95,69 unequal: No Solution
Exploring Operation: 88*7=616, Resulting Numbers: [616]
616,69 unequal: No Solution
Exploring Operation: 88-7=81, Resulting Numbers: [81]
81,69 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 69:[51, 4, 9], Operations: ['88-79=9']
Exploring Operation: 51+9=60, Resulting Numbers: [4, 60]
Generated Node #0,3,0: 69:[4, 60] Operation: 51+9=60
Exploring Operation: 9-4=5, Resulting Numbers: [51, 5]
Generated Node #0,3,1: 69:[51, 5] Operation: 9-4=5
Exploring Operation: 51-9=42, Resulting Numbers: [4, 42]
Generated Node #0,3,2: 69:[4, 42] Operation: 51-9=42
Exploring Operation: 51+4=55, Resulting Numbers: [9, 55]
Generated Node #0,3,3: 69:[9, 55] Operation: 51+4=55
Exploring Operation: 51-4=47, Resulting Numbers: [9, 47]
Generated Node #0,3,4: 69:[9, 47] Operation: 51-4=47
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 69:[4, 60], Operations: ['88-79=9', '51+9=60']
Exploring Operation: 60-4=56, Resulting Numbers: [56]
56,69 unequal: No Solution
Exploring Operation: 4+60=64, Resulting Numbers: [64]
64,69 unequal: No Solution
Exploring Operation: 4*60=240, Resulting Numbers: [240]
240,69 unequal: No Solution
Exploring Operation: 60/4=15, Resulting Numbers: [15]
15,69 unequal: No Solution
No 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: 69:[51, 5], Operations: ['88-79=9', '9-4=5']
Exploring Operation: 51+5=56, Resulting Numbers: [56]
56,69 unequal: No Solution
Exploring Operation: 51*5=255, Resulting Numbers: [255]
255,69 unequal: No Solution
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,69 unequal: No Solution
No 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: 69:[4, 42], Operations: ['88-79=9', '51-9=42']
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,69 unequal: No Solution
Exploring Operation: 4+42=46, Resulting Numbers: [46]
46,69 unequal: No Solution
Exploring Operation: 4*42=168, Resulting Numbers: [168]
168,69 unequal: No Solution
No 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: 69:[9, 55], Operations: ['88-79=9', '51+4=55']
Exploring Operation: 9+55=64, Resulting Numbers: [64]
64,69 unequal: No Solution
Exploring Operation: 9*55=495, Resulting Numbers: [495]
495,69 unequal: No Solution
Exploring Operation: 55-9=46, Resulting Numbers: [46]
46,69 unequal: No Solution
No 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: 69:[9, 47], Operations: ['88-79=9', '51-4=47']
Exploring Operation: 9*47=423, Resulting Numbers: [423]
423,69 unequal: No Solution
Exploring Operation: 47-9=38, Resulting Numbers: [38]
38,69 unequal: No Solution
Exploring Operation: 9+47=56, Resulting Numbers: [56]
56,69 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: 69:[79, 4, 37], Operations: ['88-51=37']
Exploring Operation: 79-4=75, Resulting Numbers: [37, 75]
Generated Node #0,4,0: 69:[37, 75] Operation: 79-4=75
Exploring Operation: 79+4=83, Resulting Numbers: [37, 83]
Generated Node #0,4,1: 69:[37, 83] Operation: 79+4=83
Exploring Operation: 37-4=33, Resulting Numbers: [79, 33]
Generated Node #0,4,2: 69:[79, 33] Operation: 37-4=33
Exploring Operation: 79-37=42, Resulting Numbers: [4, 42]
Generated Node #0,4,3: 69:[4, 42] Operation: 79-37=42
Exploring Operation: 4+37=41, Resulting Numbers: [79, 41]
Generated Node #0,4,4: 69:[79, 41] Operation: 4+37=41
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 69:[37, 75], Operations: ['88-51=37', '79-4=75']
Exploring Operation: 75-37=38, Resulting Numbers: [38]
38,69 unequal: No Solution
Exploring Operation: 37*75=2775, Resulting Numbers: [2775]
2775,69 unequal: No Solution
Exploring Operation: 37+75=112, Resulting Numbers: [112]
112,69 unequal: No Solution
No 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: 69:[79, 33], Operations: ['88-51=37', '37-4=33']
Exploring Operation: 79+33=112, Resulting Numbers: [112]
112,69 unequal: No Solution
Exploring Operation: 79*33=2607, Resulting Numbers: [2607]
2607,69 unequal: No Solution
Exploring Operation: 79-33=46, Resulting Numbers: [46]
46,69 unequal: No Solution
No 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: 69:[4, 42], Operations: ['88-51=37', '79-37=42']
Exploring Operation: 42-4=38, Resulting Numbers: [38]
38,69 unequal: No Solution
Exploring Operation: 4*42=168, Resulting Numbers: [168]
168,69 unequal: No Solution
Exploring Operation: 4+42=46, Resulting Numbers: [46]
46,69 unequal: No Solution
No 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: 69:[37, 83], Operations: ['88-51=37', '79+4=83']
Exploring Operation: 37+83=120, Resulting Numbers: [120]
120,69 unequal: No Solution
Exploring Operation: 83-37=46, Resulting Numbers: [46]
46,69 unequal: No Solution
Exploring Operation: 37*83=3071, Resulting Numbers: [3071]
3071,69 unequal: No Solution
No 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: 69:[79, 41], Operations: ['88-51=37', '4+37=41']
Exploring Operation: 79-41=38, Resulting Numbers: [38]
38,69 unequal: No Solution
Exploring Operation: 79*41=3239, Resulting Numbers: [3239]
3239,69 unequal: No Solution
Exploring Operation: 79+41=120, Resulting Numbers: [120]
120,69 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: 69:[79, 51, 22], Operations: ['88/4=22']
Exploring Operation: 79-51=28, Resulting Numbers: [22, 28]
Generated Node #0,0,0: 69:[22, 28] Operation: 79-51=28
Exploring Operation: 79-22=57, Resulting Numbers: [51, 57]
Generated Node #0,0,1: 69:[51, 57] Operation: 79-22=57
Exploring Operation: 51-22=29, Resulting Numbers: [79, 29]
Generated Node #0,0,2: 69:[79, 29] Operation: 51-22=29
Exploring Operation: 51+22=73, Resulting Numbers: [79, 73]
Generated Node #0,0,3: 69:[79, 73] Operation: 51+22=73
Exploring Operation: 79+22=101, Resulting Numbers: [51, 101]
Generated Node #0,0,4: 69:[51, 101] Operation: 79+22=101
Moving to Node #0,0,0
Current State: 69:[22, 28], Operations: ['88/4=22', '79-51=28']
Exploring Operation: 22*28=616, Resulting Numbers: [616]
616,69 unequal: No Solution
Exploring Operation: 28-22=6, Resulting Numbers: [6]
6,69 unequal: No Solution
Exploring Operation: 22+28=50, Resulting Numbers: [50]
50,69 unequal: No Solution
Moving to Node #0,0,3
Current State: 69:[79, 73], Operations: ['88/4=22', '51+22=73']
Exploring Operation: 79*73=5767, Resulting Numbers: [5767]
5767,69 unequal: No Solution
Exploring Operation: 79-73=6, Resulting Numbers: [6]
6,69 unequal: No Solution
Exploring Operation: 79+73=152, Resulting Numbers: [152]
152,69 unequal: No Solution
Moving to Node #0,0,2
Current State: 69:[79, 29], Operations: ['88/4=22', '51-22=29']
Exploring Operation: 79+29=108, Resulting Numbers: [108]
108,69 unequal: No Solution
Exploring Operation: 79*29=2291, Resulting Numbers: [2291]
2291,69 unequal: No Solution
Exploring Operation: 79-29=50, Resulting Numbers: [50]
50,69 unequal: No Solution
Moving to Node #0,0,1
Current State: 69:[51, 57], Operations: ['88/4=22', '79-22=57']
Exploring Operation: 51*57=2907, Resulting Numbers: [2907]
2907,69 unequal: No Solution
Exploring Operation: 57-51=6, Resulting Numbers: [6]
6,69 unequal: No Solution
Exploring Operation: 51+57=108, Resulting Numbers: [108]
108,69 unequal: No Solution
Moving to Node #0,0,4
Current State: 69:[51, 101], Operations: ['88/4=22', '79+22=101']
Exploring Operation: 51+101=152, Resulting Numbers: [152]
152,69 unequal: No Solution
Exploring Operation: 101-51=50, Resulting Numbers: [50]
50,69 unequal: No Solution
Exploring Operation: 51*101=5151, Resulting Numbers: [5151]
5151,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,2
Current State: 69:[79, 51, 84], Operations: ['88-4=84']
Exploring Operation: 84-79=5, Resulting Numbers: [51, 5]
Generated Node #0,2,0: 69:[51, 5] Operation: 84-79=5
Exploring Operation: 79-51=28, Resulting Numbers: [84, 28]
Generated Node #0,2,1: 69:[84, 28] Operation: 79-51=28
Exploring Operation: 79+51=130, Resulting Numbers: [84, 130]
Generated Node #0,2,2: 69:[84, 130] Operation: 79+51=130
Exploring Operation: 84-51=33, Resulting Numbers: [79, 33]
Generated Node #0,2,3: 69:[79, 33] Operation: 84-51=33
Exploring Operation: 51+84=135, Resulting Numbers: [79, 135]
Generated Node #0,2,4: 69:[79, 135] Operation: 51+84=135
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 69:[51, 5], Operations: ['88-4=84', '84-79=5']
Exploring Operation: 51*5=255, Resulting Numbers: [255]
255,69 unequal: No Solution
Exploring Operation: 51+5=56, Resulting Numbers: [56]
56,69 unequal: No Solution
Exploring Operation: 51-5=46, Resulting Numbers: [46]
46,69 unequal: No Solution
No 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: 69:[84, 28], Operations: ['88-4=84', '79-51=28']
Exploring Operation: 84/28=3, Resulting Numbers: [3]
3,69 unequal: No Solution
Exploring Operation: 84*28=2352, Resulting Numbers: [2352]
2352,69 unequal: No Solution
Exploring Operation: 84-28=56, Resulting Numbers: [56]
56,69 unequal: No Solution
Exploring Operation: 84+28=112, Resulting Numbers: [112]
112,69 unequal: No Solution
No 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: 69:[79, 33], Operations: ['88-4=84', '84-51=33']
Exploring Operation: 79+33=112, Resulting Numbers: [112]
112,69 unequal: No Solution
Exploring Operation: 79*33=2607, Resulting Numbers: [2607]
2607,69 unequal: No Solution
Exploring Operation: 79-33=46, Resulting Numbers: [46]
46,69 unequal: No Solution
No 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: 69:[84, 130], Operations: ['88-4=84', '79+51=130']
Exploring Operation: 84+130=214, Resulting Numbers: [214]
214,69 unequal: No Solution
Exploring Operation: 84*130=10920, Resulting Numbers: [10920]
10920,69 unequal: No Solution
Exploring Operation: 130-84=46, Resulting Numbers: [46]
46,69 unequal: No Solution
No 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: 69:[79, 135], Operations: ['88-4=84', '51+84=135']
Exploring Operation: 135-79=56, Resulting Numbers: [56]
56,69 unequal: No Solution
Exploring Operation: 79*135=10665, Resulting Numbers: [10665]
10665,69 unequal: No Solution
Exploring Operation: 79+135=214, Resulting Numbers: [214]
214,69 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 |
[
30,
48,
3,
15
] | 57 | [
"30*3=90",
"48-15=33",
"90-33=57"
] | Current State: 57:[30, 48, 3, 15], Operations: []
Exploring Operation: 30*3=90, Resulting Numbers: [48, 15, 90]
Generated Node #2: [48, 15, 90] from Operation: 30*3=90
Current State: 57:[48, 15, 90], Operations: ['30*3=90']
Exploring Operation: 48-15=33, Resulting Numbers: [90, 33]
Generated Node #3: [90, 33] from Operation: 48-15=33
Current State: 57:[90, 33], Operations: ['30*3=90', '48-15=33']
Exploring Operation: 90-33=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[30, 48, 3, 15], Operations: []
Exploring Operation: 30/15=2, Resulting Numbers: [48, 3, 2]
Generated Node #0,0: 57:[48, 3, 2] Operation: 30/15=2
Exploring Operation: 48-30=18, Resulting Numbers: [3, 15, 18]
Generated Node #0,1: 57:[3, 15, 18] Operation: 48-30=18
Moving to Node #0,1
Current State: 57:[3, 15, 18], Operations: ['48-30=18']
Exploring Operation: 18-15=3, Resulting Numbers: [3, 3]
Generated Node #0,1,0: 57:[3, 3] Operation: 18-15=3
Exploring Operation: 3+15=18, Resulting Numbers: [18, 18]
Generated Node #0,1,1: 57:[18, 18] Operation: 3+15=18
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 57:[3, 3], Operations: ['48-30=18', '18-15=3']
Exploring Operation: 3+3=6, Resulting Numbers: [6]
6,57 unequal: No Solution
Exploring Operation: 3/3=1, Resulting Numbers: [1]
1,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:[18, 18], Operations: ['48-30=18', '3+15=18']
Exploring Operation: 18-18=0, Resulting Numbers: [0]
0,57 unequal: No Solution
Exploring Operation: 18/18=1, Resulting Numbers: [1]
1,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:[48, 3, 2], Operations: ['30/15=2']
Exploring Operation: 48/3=16, Resulting Numbers: [2, 16]
Generated Node #0,0,0: 57:[2, 16] Operation: 48/3=16
Exploring Operation: 48/2=24, Resulting Numbers: [3, 24]
Generated Node #0,0,1: 57:[3, 24] Operation: 48/2=24
Moving to Node #0,0,0
Current State: 57:[2, 16], Operations: ['30/15=2', '48/3=16']
Exploring Operation: 16-2=14, Resulting Numbers: [14]
14,57 unequal: No Solution
Exploring Operation: 2+16=18, Resulting Numbers: [18]
18,57 unequal: No Solution
Moving to Node #0,0,1
Current State: 57:[3, 24], Operations: ['30/15=2', '48/2=24']
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,57 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,57 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
58,
17,
57,
50
] | 66 | [
"58-17=41",
"57+50=107",
"107-41=66"
] | Current State: 66:[58, 17, 57, 50], Operations: []
Exploring Operation: 58-17=41, Resulting Numbers: [57, 50, 41]
Generated Node #2: [57, 50, 41] from Operation: 58-17=41
Current State: 66:[57, 50, 41], Operations: ['58-17=41']
Exploring Operation: 57+50=107, Resulting Numbers: [41, 107]
Generated Node #3: [41, 107] from Operation: 57+50=107
Current State: 66:[41, 107], Operations: ['58-17=41', '57+50=107']
Exploring Operation: 107-41=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[58, 17, 57, 50], Operations: []
Exploring Operation: 57-50=7, Resulting Numbers: [58, 17, 7]
Generated Node #0,0: 66:[58, 17, 7] Operation: 57-50=7
Moving to Node #0,0
Current State: 66:[58, 17, 7], Operations: ['57-50=7']
Exploring Operation: 58+7=65, Resulting Numbers: [17, 65]
Generated Node #0,0,0: 66:[17, 65] Operation: 58+7=65
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[17, 65], Operations: ['57-50=7', '58+7=65']
Exploring Operation: 65-17=48, Resulting Numbers: [48]
48,66 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 |
[
27,
59,
69,
71
] | 54 | [
"27+59=86",
"69+71=140",
"140-86=54"
] | Current State: 54:[27, 59, 69, 71], Operations: []
Exploring Operation: 27+59=86, Resulting Numbers: [69, 71, 86]
Generated Node #2: [69, 71, 86] from Operation: 27+59=86
Current State: 54:[69, 71, 86], Operations: ['27+59=86']
Exploring Operation: 69+71=140, Resulting Numbers: [86, 140]
Generated Node #3: [86, 140] from Operation: 69+71=140
Current State: 54:[86, 140], Operations: ['27+59=86', '69+71=140']
Exploring Operation: 140-86=54, Resulting Numbers: [54]
54,54 equal: Goal Reached
| 4 | Current State: 54:[27, 59, 69, 71], Operations: []
Exploring Operation: 71-69=2, Resulting Numbers: [27, 59, 2]
Generated Node #0,0: 54:[27, 59, 2] Operation: 71-69=2
Moving to Node #0,0
Current State: 54:[27, 59, 2], Operations: ['71-69=2']
Exploring Operation: 59-2=57, Resulting Numbers: [27, 57]
Generated Node #0,0,0: 54:[27, 57] Operation: 59-2=57
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 54:[27, 57], Operations: ['71-69=2', '59-2=57']
Exploring Operation: 57-27=30, Resulting Numbers: [30]
30,54 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
42,
49,
86,
1
] | 78 | [
"49-42=7",
"86-1=85",
"85-7=78"
] | Current State: 78:[42, 49, 86, 1], Operations: []
Exploring Operation: 49-42=7, Resulting Numbers: [86, 1, 7]
Generated Node #2: [86, 1, 7] from Operation: 49-42=7
Current State: 78:[86, 1, 7], Operations: ['49-42=7']
Exploring Operation: 86-1=85, Resulting Numbers: [7, 85]
Generated Node #3: [7, 85] from Operation: 86-1=85
Current State: 78:[7, 85], Operations: ['49-42=7', '86-1=85']
Exploring Operation: 85-7=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[42, 49, 86, 1], Operations: []
Exploring Operation: 86-49=37, Resulting Numbers: [42, 1, 37]
Generated Node #0,0: 78:[42, 1, 37] Operation: 86-49=37
Exploring Operation: 49-42=7, Resulting Numbers: [86, 1, 7]
Generated Node #0,1: 78:[86, 1, 7] Operation: 49-42=7
Exploring Operation: 86-42=44, Resulting Numbers: [49, 1, 44]
Generated Node #0,2: 78:[49, 1, 44] Operation: 86-42=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 78:[42, 1, 37], Operations: ['86-49=37']
Exploring Operation: 42-37=5, Resulting Numbers: [1, 5]
Generated Node #0,0,0: 78:[1, 5] Operation: 42-37=5
Exploring Operation: 42-1=41, Resulting Numbers: [37, 41]
Generated Node #0,0,1: 78:[37, 41] Operation: 42-1=41
Exploring Operation: 42+37=79, Resulting Numbers: [1, 79]
Generated Node #0,0,2: 78:[1, 79] Operation: 42+37=79
Moving to Node #0,0,0
Current State: 78:[1, 5], Operations: ['86-49=37', '42-37=5']
Exploring Operation: 1+5=6, Resulting Numbers: [6]
6,78 unequal: No Solution
Exploring Operation: 1*5=5, Resulting Numbers: [5]
5,78 unequal: No Solution
Exploring Operation: 5-1=4, Resulting Numbers: [4]
4,78 unequal: No Solution
Moving to Node #0,0,2
Current State: 78:[1, 79], Operations: ['86-49=37', '42+37=79']
Exploring Operation: 79/1=79, Resulting Numbers: [79]
79,78 unequal: No Solution
Exploring Operation: 79-1=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Moving to Node #0
Current State: 78:[42, 49, 86, 1], Operations: []
Exploring Operation: 86-49=37, Resulting Numbers: [42, 1, 37]
Generated Node #0,0: 78:[42, 1, 37] Operation: 86-49=37
Moving to Node #0,0
Current State: 78:[42, 1, 37], Operations: ['86-49=37']
Exploring Operation: 42+37=79, Resulting Numbers: [1, 79]
Generated Node #0,0,2: 78:[1, 79] Operation: 42+37=79
Moving to Node #0,0,2
Current State: 78:[1, 79], Operations: ['86-49=37', '42+37=79']
Exploring Operation: 79-1=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | sum_heuristic |
[
82,
63,
26,
42
] | 35 | [
"82-63=19",
"42-26=16",
"19+16=35"
] | Current State: 35:[82, 63, 26, 42], Operations: []
Exploring Operation: 82-63=19, Resulting Numbers: [26, 42, 19]
Generated Node #2: [26, 42, 19] from Operation: 82-63=19
Current State: 35:[26, 42, 19], Operations: ['82-63=19']
Exploring Operation: 42-26=16, Resulting Numbers: [19, 16]
Generated Node #3: [19, 16] from Operation: 42-26=16
Current State: 35:[19, 16], Operations: ['82-63=19', '42-26=16']
Exploring Operation: 19+16=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 4 | Current State: 35:[82, 63, 26, 42], Operations: []
Exploring Operation: 82-63=19, Resulting Numbers: [26, 42, 19]
Generated Node #0,0: 35:[26, 42, 19] Operation: 82-63=19
Moving to Node #0,0
Current State: 35:[26, 42, 19], Operations: ['82-63=19']
Exploring Operation: 26-19=7, Resulting Numbers: [42, 7]
Generated Node #0,0,0: 35:[42, 7] Operation: 26-19=7
Moving to Node #0,0,0
Current State: 35:[42, 7], Operations: ['82-63=19', '26-19=7']
Exploring Operation: 42-7=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
Moving to Node #0
Current State: 35:[82, 63, 26, 42], Operations: []
Exploring Operation: 82-63=19, Resulting Numbers: [26, 42, 19]
Generated Node #0,0: 35:[26, 42, 19] Operation: 82-63=19
Moving to Node #0,0
Current State: 35:[26, 42, 19], Operations: ['82-63=19']
Exploring Operation: 26-19=7, Resulting Numbers: [42, 7]
Generated Node #0,0,0: 35:[42, 7] Operation: 26-19=7
Moving to Node #0,0,0
Current State: 35:[42, 7], Operations: ['82-63=19', '26-19=7']
Exploring Operation: 42-7=35, Resulting Numbers: [35]
35,35 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
81,
7,
65,
93
] | 84 | [
"81-7=74",
"65+93=158",
"158-74=84"
] | Current State: 84:[81, 7, 65, 93], Operations: []
Exploring Operation: 81-7=74, Resulting Numbers: [65, 93, 74]
Generated Node #2: [65, 93, 74] from Operation: 81-7=74
Current State: 84:[65, 93, 74], Operations: ['81-7=74']
Exploring Operation: 65+93=158, Resulting Numbers: [74, 158]
Generated Node #3: [74, 158] from Operation: 65+93=158
Current State: 84:[74, 158], Operations: ['81-7=74', '65+93=158']
Exploring Operation: 158-74=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[81, 7, 65, 93], Operations: []
Exploring Operation: 93-65=28, Resulting Numbers: [81, 7, 28]
Generated Node #0,0: 84:[81, 7, 28] Operation: 93-65=28
Exploring Operation: 93-81=12, Resulting Numbers: [7, 65, 12]
Generated Node #0,1: 84:[7, 65, 12] Operation: 93-81=12
Exploring Operation: 81-65=16, Resulting Numbers: [7, 93, 16]
Generated Node #0,2: 84:[7, 93, 16] Operation: 81-65=16
Exploring Operation: 7+65=72, Resulting Numbers: [81, 93, 72]
Generated Node #0,3: 84:[81, 93, 72] Operation: 7+65=72
Start Sub Search at level 1: Moving to Node #0,0
Current State: 84:[81, 7, 28], Operations: ['93-65=28']
Exploring Operation: 28/7=4, Resulting Numbers: [81, 4]
Generated Node #0,0,0: 84:[81, 4] Operation: 28/7=4
Exploring Operation: 28-7=21, Resulting Numbers: [81, 21]
Generated Node #0,0,1: 84:[81, 21] Operation: 28-7=21
Exploring Operation: 81+7=88, Resulting Numbers: [28, 88]
Generated Node #0,0,2: 84:[28, 88] Operation: 81+7=88
Exploring Operation: 81-7=74, Resulting Numbers: [28, 74]
Generated Node #0,0,3: 84:[28, 74] Operation: 81-7=74
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 84:[81, 4], Operations: ['93-65=28', '28/7=4']
Exploring Operation: 81*4=324, Resulting Numbers: [324]
324,84 unequal: No Solution
Exploring Operation: 81+4=85, Resulting Numbers: [85]
85,84 unequal: No Solution
Exploring Operation: 81-4=77, Resulting Numbers: [77]
77,84 unequal: No Solution
No 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: 84:[81, 21], Operations: ['93-65=28', '28-7=21']
Exploring Operation: 81-21=60, Resulting Numbers: [60]
60,84 unequal: No Solution
Exploring Operation: 81+21=102, Resulting Numbers: [102]
102,84 unequal: No Solution
Exploring Operation: 81*21=1701, Resulting Numbers: [1701]
1701,84 unequal: No Solution
No 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: 84:[28, 88], Operations: ['93-65=28', '81+7=88']
Exploring Operation: 88-28=60, Resulting Numbers: [60]
60,84 unequal: No Solution
Exploring Operation: 28+88=116, Resulting Numbers: [116]
116,84 unequal: No Solution
Exploring Operation: 28*88=2464, Resulting Numbers: [2464]
2464,84 unequal: No Solution
No 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: 84:[28, 74], Operations: ['93-65=28', '81-7=74']
Exploring Operation: 28+74=102, Resulting Numbers: [102]
102,84 unequal: No Solution
Exploring Operation: 74-28=46, Resulting Numbers: [46]
46,84 unequal: No Solution
Exploring Operation: 28*74=2072, Resulting Numbers: [2072]
2072,84 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: 84:[7, 93, 16], Operations: ['81-65=16']
Exploring Operation: 93-7=86, Resulting Numbers: [16, 86]
Generated Node #0,2,0: 84:[16, 86] Operation: 93-7=86
Exploring Operation: 7+16=23, Resulting Numbers: [93, 23]
Generated Node #0,2,1: 84:[93, 23] Operation: 7+16=23
Exploring Operation: 93-16=77, Resulting Numbers: [7, 77]
Generated Node #0,2,2: 84:[7, 77] Operation: 93-16=77
Exploring Operation: 16-7=9, Resulting Numbers: [93, 9]
Generated Node #0,2,3: 84:[93, 9] Operation: 16-7=9
Moving to Node #0,2,0
Current State: 84:[16, 86], Operations: ['81-65=16', '93-7=86']
Exploring Operation: 86-16=70, Resulting Numbers: [70]
70,84 unequal: No Solution
Exploring Operation: 16*86=1376, Resulting Numbers: [1376]
1376,84 unequal: No Solution
Exploring Operation: 16+86=102, Resulting Numbers: [102]
102,84 unequal: No Solution
Moving to Node #0,2,2
Current State: 84:[7, 77], Operations: ['81-65=16', '93-16=77']
Exploring Operation: 7+77=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[81, 7, 65, 93], Operations: []
Exploring Operation: 81-65=16, Resulting Numbers: [7, 93, 16]
Generated Node #0,2: 84:[7, 93, 16] Operation: 81-65=16
Moving to Node #0,2
Current State: 84:[7, 93, 16], Operations: ['81-65=16']
Exploring Operation: 93-16=77, Resulting Numbers: [7, 77]
Generated Node #0,2,2: 84:[7, 77] Operation: 93-16=77
Moving to Node #0,2,2
Current State: 84:[7, 77], Operations: ['81-65=16', '93-16=77']
Exploring Operation: 7+77=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.972222 | hs_4 | sum_heuristic |
[
67,
39,
5,
4
] | 28 | [
"67-39=28",
"5-4=1",
"28*1=28"
] | Current State: 28:[67, 39, 5, 4], Operations: []
Exploring Operation: 67-39=28, Resulting Numbers: [5, 4, 28]
Generated Node #2: [5, 4, 28] from Operation: 67-39=28
Current State: 28:[5, 4, 28], Operations: ['67-39=28']
Exploring Operation: 5-4=1, Resulting Numbers: [28, 1]
Generated Node #3: [28, 1] from Operation: 5-4=1
Current State: 28:[28, 1], Operations: ['67-39=28', '5-4=1']
Exploring Operation: 28*1=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[67, 39, 5, 4], Operations: []
Exploring Operation: 67-39=28, Resulting Numbers: [5, 4, 28]
Generated Node #0,0: 28:[5, 4, 28] Operation: 67-39=28
Moving to Node #0,0
Current State: 28:[5, 4, 28], Operations: ['67-39=28']
Exploring Operation: 5-4=1, Resulting Numbers: [28, 1]
Generated Node #0,0,0: 28:[28, 1] Operation: 5-4=1
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 28:[28, 1], Operations: ['67-39=28', '5-4=1']
Exploring Operation: 28*1=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[67, 39, 5, 4], Operations: []
Exploring Operation: 67-39=28, Resulting Numbers: [5, 4, 28]
Generated Node #0,0: 28:[5, 4, 28] Operation: 67-39=28
Moving to Node #0,0
Current State: 28:[5, 4, 28], Operations: ['67-39=28']
Exploring Operation: 5-4=1, Resulting Numbers: [28, 1]
Generated Node #0,0,0: 28:[28, 1] Operation: 5-4=1
Moving to Node #0,0,0
Current State: 28:[28, 1], Operations: ['67-39=28', '5-4=1']
Exploring Operation: 28*1=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
49,
1,
49,
42
] | 41 | [
"49+1=50",
"49+42=91",
"91-50=41"
] | Current State: 41:[49, 1, 49, 42], Operations: []
Exploring Operation: 49+1=50, Resulting Numbers: [42, 50]
Generated Node #2: [42, 50] from Operation: 49+1=50
Current State: 41:[42, 50], Operations: ['49+1=50']
Exploring Operation: 49+42=91, Resulting Numbers: [50, 91]
Generated Node #3: [50, 91] from Operation: 49+42=91
Current State: 41:[50, 91], Operations: ['49+1=50', '49+42=91']
Exploring Operation: 91-50=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[49, 1, 49, 42], Operations: []
Exploring Operation: 49-1=48, Resulting Numbers: [49, 42, 48]
Generated Node #0,0: 41:[49, 42, 48] Operation: 49-1=48
Exploring Operation: 49-1=48, Resulting Numbers: [49, 42, 48]
Generated Node #0,1: 41:[49, 42, 48] Operation: 49-1=48
Moving to Node #0,0
Current State: 41:[49, 42, 48], Operations: ['49-1=48']
Exploring Operation: 49-42=7, Resulting Numbers: [48, 7]
Generated Node #0,0,0: 41:[48, 7] Operation: 49-42=7
Exploring Operation: 49-48=1, Resulting Numbers: [42, 1]
Generated Node #0,0,1: 41:[42, 1] Operation: 49-48=1
Moving to Node #0,1
Current State: 41:[49, 42, 48], Operations: ['49-1=48']
Exploring Operation: 49-42=7, Resulting Numbers: [48, 7]
Generated Node #0,1,0: 41:[48, 7] Operation: 49-42=7
Exploring Operation: 49-48=1, Resulting Numbers: [42, 1]
Generated Node #0,1,1: 41:[42, 1] Operation: 49-48=1
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 41:[48, 7], Operations: ['49-1=48', '49-42=7']
Exploring Operation: 48+7=55, Resulting Numbers: [55]
55,41 unequal: No Solution
Exploring Operation: 48-7=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Moving to Node #0
Current State: 41:[49, 1, 49, 42], Operations: []
Exploring Operation: 49-1=48, Resulting Numbers: [49, 42, 48]
Generated Node #0,1: 41:[49, 42, 48] Operation: 49-1=48
Moving to Node #0,1
Current State: 41:[49, 42, 48], Operations: ['49-1=48']
Exploring Operation: 49-42=7, Resulting Numbers: [48, 7]
Generated Node #0,1,0: 41:[48, 7] Operation: 49-42=7
Moving to Node #0,1,0
Current State: 41:[48, 7], Operations: ['49-1=48', '49-42=7']
Exploring Operation: 48-7=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_2 | mult_heuristic |
[
86,
80,
90,
10
] | 25 | [
"86-80=6",
"90/6=15",
"10+15=25"
] | Current State: 25:[86, 80, 90, 10], Operations: []
Exploring Operation: 86-80=6, Resulting Numbers: [90, 10, 6]
Generated Node #2: [90, 10, 6] from Operation: 86-80=6
Current State: 25:[90, 10, 6], Operations: ['86-80=6']
Exploring Operation: 90/6=15, Resulting Numbers: [10, 15]
Generated Node #3: [10, 15] from Operation: 90/6=15
Current State: 25:[10, 15], Operations: ['86-80=6', '90/6=15']
Exploring Operation: 10+15=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[86, 80, 90, 10], Operations: []
Exploring Operation: 90-86=4, Resulting Numbers: [80, 10, 4]
Generated Node #0,0: 25:[80, 10, 4] Operation: 90-86=4
Exploring Operation: 86-80=6, Resulting Numbers: [90, 10, 6]
Generated Node #0,1: 25:[90, 10, 6] Operation: 86-80=6
Moving to Node #0,0
Current State: 25:[80, 10, 4], Operations: ['90-86=4']
Exploring Operation: 80/4=20, Resulting Numbers: [10, 20]
Generated Node #0,0,0: 25:[10, 20] Operation: 80/4=20
Exploring Operation: 80/10=8, Resulting Numbers: [4, 8]
Generated Node #0,0,1: 25:[4, 8] Operation: 80/10=8
Moving to Node #0,1
Current State: 25:[90, 10, 6], Operations: ['86-80=6']
Exploring Operation: 90/6=15, Resulting Numbers: [10, 15]
Generated Node #0,1,0: 25:[10, 15] Operation: 90/6=15
Exploring Operation: 90/10=9, Resulting Numbers: [6, 9]
Generated Node #0,1,1: 25:[6, 9] Operation: 90/10=9
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 25:[6, 9], Operations: ['86-80=6', '90/10=9']
Exploring Operation: 6+9=15, Resulting Numbers: [15]
15,25 unequal: No Solution
Exploring Operation: 9-6=3, Resulting Numbers: [3]
3,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:[10, 15], Operations: ['86-80=6', '90/6=15']
Exploring Operation: 10+15=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[86, 80, 90, 10], Operations: []
Exploring Operation: 86-80=6, Resulting Numbers: [90, 10, 6]
Generated Node #0,1: 25:[90, 10, 6] Operation: 86-80=6
Moving to Node #0,1
Current State: 25:[90, 10, 6], Operations: ['86-80=6']
Exploring Operation: 90/6=15, Resulting Numbers: [10, 15]
Generated Node #0,1,0: 25:[10, 15] Operation: 90/6=15
Moving to Node #0,1,0
Current State: 25:[10, 15], Operations: ['86-80=6', '90/6=15']
Exploring Operation: 10+15=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_2 | sum_heuristic |
[
50,
63,
40,
55
] | 28 | [
"63-50=13",
"55-40=15",
"13+15=28"
] | Current State: 28:[50, 63, 40, 55], Operations: []
Exploring Operation: 63-50=13, Resulting Numbers: [40, 55, 13]
Generated Node #2: [40, 55, 13] from Operation: 63-50=13
Current State: 28:[40, 55, 13], Operations: ['63-50=13']
Exploring Operation: 55-40=15, Resulting Numbers: [13, 15]
Generated Node #3: [13, 15] from Operation: 55-40=15
Current State: 28:[13, 15], Operations: ['63-50=13', '55-40=15']
Exploring Operation: 13+15=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[50, 63, 40, 55], Operations: []
Exploring Operation: 63-55=8, Resulting Numbers: [50, 40, 8]
Generated Node #0,0: 28:[50, 40, 8] Operation: 63-55=8
Moving to Node #0,0
Current State: 28:[50, 40, 8], Operations: ['63-55=8']
Exploring Operation: 50-40=10, Resulting Numbers: [8, 10]
Generated Node #0,0,0: 28:[8, 10] Operation: 50-40=10
Moving to Node #0,0,0
Current State: 28:[8, 10], Operations: ['63-55=8', '50-40=10']
Exploring Operation: 10-8=2, Resulting Numbers: [2]
2,28 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
82,
11,
73,
65
] | 20 | [
"82+73=155",
"65+155=220",
"220/11=20"
] | Current State: 20:[82, 11, 73, 65], Operations: []
Exploring Operation: 82+73=155, Resulting Numbers: [11, 65, 155]
Generated Node #2: [11, 65, 155] from Operation: 82+73=155
Current State: 20:[11, 65, 155], Operations: ['82+73=155']
Exploring Operation: 65+155=220, Resulting Numbers: [11, 220]
Generated Node #3: [11, 220] from Operation: 65+155=220
Current State: 20:[11, 220], Operations: ['82+73=155', '65+155=220']
Exploring Operation: 220/11=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[82, 11, 73, 65], Operations: []
Exploring Operation: 82-73=9, Resulting Numbers: [11, 65, 9]
Generated Node #0,0: 20:[11, 65, 9] Operation: 82-73=9
Start Sub Search at level 1: Moving to Node #0,0
Current State: 20:[11, 65, 9], Operations: ['82-73=9']
Exploring Operation: 65-11=54, Resulting Numbers: [9, 54]
Generated Node #0,0,0: 20:[9, 54] Operation: 65-11=54
Moving to Node #0,0,0
Current State: 20:[9, 54], Operations: ['82-73=9', '65-11=54']
Exploring Operation: 54/9=6, Resulting Numbers: [6]
6,20 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 |
[
10,
1,
43,
12
] | 85 | [
"12-10=2",
"43*2=86",
"86-1=85"
] | Current State: 85:[10, 1, 43, 12], Operations: []
Exploring Operation: 12-10=2, Resulting Numbers: [1, 43, 2]
Generated Node #2: [1, 43, 2] from Operation: 12-10=2
Current State: 85:[1, 43, 2], Operations: ['12-10=2']
Exploring Operation: 43*2=86, Resulting Numbers: [1, 86]
Generated Node #3: [1, 86] from Operation: 43*2=86
Current State: 85:[1, 86], Operations: ['12-10=2', '43*2=86']
Exploring Operation: 86-1=85, Resulting Numbers: [85]
85,85 equal: Goal Reached
| 4 | Current State: 85:[10, 1, 43, 12], Operations: []
Exploring Operation: 43-12=31, Resulting Numbers: [10, 1, 31]
Generated Node #0,0: 85:[10, 1, 31] Operation: 43-12=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 85:[10, 1, 31], Operations: ['43-12=31']
Exploring Operation: 31-10=21, Resulting Numbers: [1, 21]
Generated Node #0,0,0: 85:[1, 21] Operation: 31-10=21
Moving to Node #0,0,0
Current State: 85:[1, 21], Operations: ['43-12=31', '31-10=21']
Exploring Operation: 21-1=20, Resulting Numbers: [20]
20,85 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
29,
15,
65,
43
] | 67 | [
"15+43=58",
"58/29=2",
"65+2=67"
] | Current State: 67:[29, 15, 65, 43], Operations: []
Exploring Operation: 15+43=58, Resulting Numbers: [29, 65, 58]
Generated Node #2: [29, 65, 58] from Operation: 15+43=58
Current State: 67:[29, 65, 58], Operations: ['15+43=58']
Exploring Operation: 58/29=2, Resulting Numbers: [65, 2]
Generated Node #3: [65, 2] from Operation: 58/29=2
Current State: 67:[65, 2], Operations: ['15+43=58', '58/29=2']
Exploring Operation: 65+2=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[29, 15, 65, 43], Operations: []
Exploring Operation: 29+15=44, Resulting Numbers: [65, 43, 44]
Generated Node #0,0: 67:[65, 43, 44] Operation: 29+15=44
Start Sub Search at level 1: Moving to Node #0,0
Current State: 67:[65, 43, 44], Operations: ['29+15=44']
Exploring Operation: 43+44=87, Resulting Numbers: [65, 87]
Generated Node #0,0,0: 67:[65, 87] Operation: 43+44=87
Moving to Node #0,0,0
Current State: 67:[65, 87], Operations: ['29+15=44', '43+44=87']
Exploring Operation: 87-65=22, Resulting Numbers: [22]
22,67 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 |
[
80,
56,
74,
5
] | 34 | [
"80/5=16",
"74-56=18",
"16+18=34"
] | Current State: 34:[80, 56, 74, 5], Operations: []
Exploring Operation: 80/5=16, Resulting Numbers: [56, 74, 16]
Generated Node #2: [56, 74, 16] from Operation: 80/5=16
Current State: 34:[56, 74, 16], Operations: ['80/5=16']
Exploring Operation: 74-56=18, Resulting Numbers: [16, 18]
Generated Node #3: [16, 18] from Operation: 74-56=18
Current State: 34:[16, 18], Operations: ['80/5=16', '74-56=18']
Exploring Operation: 16+18=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[80, 56, 74, 5], Operations: []
Exploring Operation: 80-56=24, Resulting Numbers: [74, 5, 24]
Generated Node #0,0: 34:[74, 5, 24] Operation: 80-56=24
Exploring Operation: 80-74=6, Resulting Numbers: [56, 5, 6]
Generated Node #0,1: 34:[56, 5, 6] Operation: 80-74=6
Exploring Operation: 74-56=18, Resulting Numbers: [80, 5, 18]
Generated Node #0,2: 34:[80, 5, 18] Operation: 74-56=18
Start Sub Search at level 1: Moving to Node #0,1
Current State: 34:[56, 5, 6], Operations: ['80-74=6']
Exploring Operation: 56-6=50, Resulting Numbers: [5, 50]
Generated Node #0,1,0: 34:[5, 50] Operation: 56-6=50
Exploring Operation: 56-5=51, Resulting Numbers: [6, 51]
Generated Node #0,1,1: 34:[6, 51] Operation: 56-5=51
Exploring Operation: 6-5=1, Resulting Numbers: [56, 1]
Generated Node #0,1,2: 34:[56, 1] Operation: 6-5=1
Moving to Node #0,1,0
Current State: 34:[5, 50], Operations: ['80-74=6', '56-6=50']
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,34 unequal: No Solution
Exploring Operation: 5+50=55, Resulting Numbers: [55]
55,34 unequal: No Solution
Moving to Node #0,1,1
Current State: 34:[6, 51], Operations: ['80-74=6', '56-5=51']
Exploring Operation: 51-6=45, Resulting Numbers: [45]
45,34 unequal: No Solution
Exploring Operation: 6*51=306, Resulting Numbers: [306]
306,34 unequal: No Solution
Exploring Operation: 6+51=57, Resulting Numbers: [57]
57,34 unequal: No Solution
Moving to Node #0,1,2
Current State: 34:[56, 1], Operations: ['80-74=6', '6-5=1']
Exploring Operation: 56*1=56, Resulting Numbers: [56]
56,34 unequal: No Solution
Exploring Operation: 56/1=56, Resulting Numbers: [56]
56,34 unequal: No Solution
Exploring Operation: 56-1=55, Resulting Numbers: [55]
55,34 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 34:[74, 5, 24], Operations: ['80-56=24']
Exploring Operation: 24-5=19, Resulting Numbers: [74, 19]
Generated Node #0,0,0: 34:[74, 19] Operation: 24-5=19
Exploring Operation: 74-24=50, Resulting Numbers: [5, 50]
Generated Node #0,0,1: 34:[5, 50] Operation: 74-24=50
Exploring Operation: 74-5=69, Resulting Numbers: [24, 69]
Generated Node #0,0,2: 34:[24, 69] Operation: 74-5=69
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 34:[5, 50], Operations: ['80-56=24', '74-24=50']
Exploring Operation: 50-5=45, Resulting Numbers: [45]
45,34 unequal: No Solution
Exploring Operation: 50/5=10, Resulting Numbers: [10]
10,34 unequal: No Solution
Exploring Operation: 5+50=55, Resulting Numbers: [55]
55,34 unequal: No Solution
No 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: 34:[74, 19], Operations: ['80-56=24', '24-5=19']
Exploring Operation: 74-19=55, Resulting Numbers: [55]
55,34 unequal: No Solution
Exploring Operation: 74*19=1406, Resulting Numbers: [1406]
1406,34 unequal: No Solution
Exploring Operation: 74+19=93, Resulting Numbers: [93]
93,34 unequal: No Solution
No 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: 34:[24, 69], Operations: ['80-56=24', '74-5=69']
Exploring Operation: 24*69=1656, Resulting Numbers: [1656]
1656,34 unequal: No Solution
Exploring Operation: 69-24=45, Resulting Numbers: [45]
45,34 unequal: No Solution
Exploring Operation: 24+69=93, Resulting Numbers: [93]
93,34 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: 34:[80, 5, 18], Operations: ['74-56=18']
Exploring Operation: 80-18=62, Resulting Numbers: [5, 62]
Generated Node #0,2,0: 34:[5, 62] Operation: 80-18=62
Exploring Operation: 80/5=16, Resulting Numbers: [18, 16]
Generated Node #0,2,1: 34:[18, 16] Operation: 80/5=16
Exploring Operation: 80-5=75, Resulting Numbers: [18, 75]
Generated Node #0,2,2: 34:[18, 75] Operation: 80-5=75
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 34:[18, 16], Operations: ['74-56=18', '80/5=16']
Exploring Operation: 18-16=2, Resulting Numbers: [2]
2,34 unequal: No Solution
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[80, 56, 74, 5], Operations: []
Exploring Operation: 74-56=18, Resulting Numbers: [80, 5, 18]
Generated Node #0,2: 34:[80, 5, 18] Operation: 74-56=18
Moving to Node #0,2
Current State: 34:[80, 5, 18], Operations: ['74-56=18']
Exploring Operation: 80/5=16, Resulting Numbers: [18, 16]
Generated Node #0,2,1: 34:[18, 16] Operation: 80/5=16
Moving to Node #0,2,1
Current State: 34:[18, 16], Operations: ['74-56=18', '80/5=16']
Exploring Operation: 18+16=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.96875 | hs_3 | sum_heuristic |
[
90,
77,
87,
2
] | 95 | [
"87-77=10",
"10/2=5",
"90+5=95"
] | Current State: 95:[90, 77, 87, 2], Operations: []
Exploring Operation: 87-77=10, Resulting Numbers: [90, 2, 10]
Generated Node #2: [90, 2, 10] from Operation: 87-77=10
Current State: 95:[90, 2, 10], Operations: ['87-77=10']
Exploring Operation: 10/2=5, Resulting Numbers: [90, 5]
Generated Node #3: [90, 5] from Operation: 10/2=5
Current State: 95:[90, 5], Operations: ['87-77=10', '10/2=5']
Exploring Operation: 90+5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[90, 77, 87, 2], Operations: []
Exploring Operation: 87-77=10, Resulting Numbers: [90, 2, 10]
Generated Node #0,0: 95:[90, 2, 10] Operation: 87-77=10
Exploring Operation: 90-77=13, Resulting Numbers: [87, 2, 13]
Generated Node #0,1: 95:[87, 2, 13] Operation: 90-77=13
Exploring Operation: 90+2=92, Resulting Numbers: [77, 87, 92]
Generated Node #0,2: 95:[77, 87, 92] Operation: 90+2=92
Exploring Operation: 90-87=3, Resulting Numbers: [77, 2, 3]
Generated Node #0,3: 95:[77, 2, 3] Operation: 90-87=3
Moving to Node #0,0
Current State: 95:[90, 2, 10], Operations: ['87-77=10']
Exploring Operation: 90/10=9, Resulting Numbers: [2, 9]
Generated Node #0,0,0: 95:[2, 9] Operation: 90/10=9
Exploring Operation: 2*10=20, Resulting Numbers: [90, 20]
Generated Node #0,0,1: 95:[90, 20] Operation: 2*10=20
Exploring Operation: 90+2=92, Resulting Numbers: [10, 92]
Generated Node #0,0,2: 95:[10, 92] Operation: 90+2=92
Exploring Operation: 10/2=5, Resulting Numbers: [90, 5]
Generated Node #0,0,3: 95:[90, 5] Operation: 10/2=5
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 95:[90, 5], Operations: ['87-77=10', '10/2=5']
Exploring Operation: 90+5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Moving to Node #0
Current State: 95:[90, 77, 87, 2], Operations: []
Exploring Operation: 87-77=10, Resulting Numbers: [90, 2, 10]
Generated Node #0,0: 95:[90, 2, 10] Operation: 87-77=10
Moving to Node #0,0
Current State: 95:[90, 2, 10], Operations: ['87-77=10']
Exploring Operation: 10/2=5, Resulting Numbers: [90, 5]
Generated Node #0,0,3: 95:[90, 5] Operation: 10/2=5
Moving to Node #0,0,3
Current State: 95:[90, 5], Operations: ['87-77=10', '10/2=5']
Exploring Operation: 90+5=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | sum_heuristic |
[
87,
33,
61,
75
] | 42 | [
"33*75=2475",
"87+2475=2562",
"2562/61=42"
] | Current State: 42:[87, 33, 61, 75], Operations: []
Exploring Operation: 33*75=2475, Resulting Numbers: [87, 61, 2475]
Generated Node #2: [87, 61, 2475] from Operation: 33*75=2475
Current State: 42:[87, 61, 2475], Operations: ['33*75=2475']
Exploring Operation: 87+2475=2562, Resulting Numbers: [61, 2562]
Generated Node #3: [61, 2562] from Operation: 87+2475=2562
Current State: 42:[61, 2562], Operations: ['33*75=2475', '87+2475=2562']
Exploring Operation: 2562/61=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[87, 33, 61, 75], Operations: []
Exploring Operation: 87-75=12, Resulting Numbers: [33, 61, 12]
Generated Node #0,0: 42:[33, 61, 12] Operation: 87-75=12
Moving to Node #0,0
Current State: 42:[33, 61, 12], Operations: ['87-75=12']
Exploring Operation: 61-33=28, Resulting Numbers: [12, 28]
Generated Node #0,0,0: 42:[12, 28] Operation: 61-33=28
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 42:[12, 28], Operations: ['87-75=12', '61-33=28']
Exploring Operation: 12+28=40, Resulting Numbers: [40]
40,42 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 |
[
34,
44,
13,
32
] | 98 | [
"44-34=10",
"13*10=130",
"130-32=98"
] | Current State: 98:[34, 44, 13, 32], Operations: []
Exploring Operation: 44-34=10, Resulting Numbers: [13, 32, 10]
Generated Node #2: [13, 32, 10] from Operation: 44-34=10
Current State: 98:[13, 32, 10], Operations: ['44-34=10']
Exploring Operation: 13*10=130, Resulting Numbers: [32, 130]
Generated Node #3: [32, 130] from Operation: 13*10=130
Current State: 98:[32, 130], Operations: ['44-34=10', '13*10=130']
Exploring Operation: 130-32=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[34, 44, 13, 32], Operations: []
Exploring Operation: 34+32=66, Resulting Numbers: [44, 13, 66]
Generated Node #0,0: 98:[44, 13, 66] Operation: 34+32=66
Exploring Operation: 44-32=12, Resulting Numbers: [34, 13, 12]
Generated Node #0,1: 98:[34, 13, 12] Operation: 44-32=12
Exploring Operation: 44-34=10, Resulting Numbers: [13, 32, 10]
Generated Node #0,2: 98:[13, 32, 10] Operation: 44-34=10
Exploring Operation: 34-32=2, Resulting Numbers: [44, 13, 2]
Generated Node #0,3: 98:[44, 13, 2] Operation: 34-32=2
Moving to Node #0,3
Current State: 98:[44, 13, 2], Operations: ['34-32=2']
Exploring Operation: 13+2=15, Resulting Numbers: [44, 15]
Generated Node #0,3,0: 98:[44, 15] Operation: 13+2=15
Exploring Operation: 44+13=57, Resulting Numbers: [2, 57]
Generated Node #0,3,1: 98:[2, 57] Operation: 44+13=57
Exploring Operation: 44+2=46, Resulting Numbers: [13, 46]
Generated Node #0,3,2: 98:[13, 46] Operation: 44+2=46
Exploring Operation: 44-2=42, Resulting Numbers: [13, 42]
Generated Node #0,3,3: 98:[13, 42] Operation: 44-2=42
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 98:[13, 46], Operations: ['34-32=2', '44+2=46']
Exploring Operation: 13*46=598, Resulting Numbers: [598]
598,98 unequal: No Solution
Exploring Operation: 46-13=33, Resulting Numbers: [33]
33,98 unequal: No Solution
Exploring Operation: 13+46=59, Resulting Numbers: [59]
59,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 98:[44, 15], Operations: ['34-32=2', '13+2=15']
Exploring Operation: 44+15=59, Resulting Numbers: [59]
59,98 unequal: No Solution
Exploring Operation: 44*15=660, Resulting Numbers: [660]
660,98 unequal: No Solution
Exploring Operation: 44-15=29, Resulting Numbers: [29]
29,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 98:[2, 57], Operations: ['34-32=2', '44+13=57']
Exploring Operation: 2+57=59, Resulting Numbers: [59]
59,98 unequal: No Solution
Exploring Operation: 2*57=114, Resulting Numbers: [114]
114,98 unequal: No Solution
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 98:[13, 42], Operations: ['34-32=2', '44-2=42']
Exploring Operation: 42-13=29, Resulting Numbers: [29]
29,98 unequal: No Solution
Exploring Operation: 13*42=546, Resulting Numbers: [546]
546,98 unequal: No Solution
Exploring Operation: 13+42=55, Resulting Numbers: [55]
55,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 98:[34, 13, 12], Operations: ['44-32=12']
Exploring Operation: 34+12=46, Resulting Numbers: [13, 46]
Generated Node #0,1,0: 98:[13, 46] Operation: 34+12=46
Exploring Operation: 34-13=21, Resulting Numbers: [12, 21]
Generated Node #0,1,1: 98:[12, 21] Operation: 34-13=21
Exploring Operation: 34-12=22, Resulting Numbers: [13, 22]
Generated Node #0,1,2: 98:[13, 22] Operation: 34-12=22
Exploring Operation: 34+13=47, Resulting Numbers: [12, 47]
Generated Node #0,1,3: 98:[12, 47] Operation: 34+13=47
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 98:[13, 46], Operations: ['44-32=12', '34+12=46']
Exploring Operation: 13+46=59, Resulting Numbers: [59]
59,98 unequal: No Solution
Exploring Operation: 46-13=33, Resulting Numbers: [33]
33,98 unequal: No Solution
Exploring Operation: 13*46=598, Resulting Numbers: [598]
598,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 98:[12, 47], Operations: ['44-32=12', '34+13=47']
Exploring Operation: 12+47=59, Resulting Numbers: [59]
59,98 unequal: No Solution
Exploring Operation: 47-12=35, Resulting Numbers: [35]
35,98 unequal: No Solution
Exploring Operation: 12*47=564, Resulting Numbers: [564]
564,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 98:[12, 21], Operations: ['44-32=12', '34-13=21']
Exploring Operation: 21-12=9, Resulting Numbers: [9]
9,98 unequal: No Solution
Exploring Operation: 12*21=252, Resulting Numbers: [252]
252,98 unequal: No Solution
Exploring Operation: 12+21=33, Resulting Numbers: [33]
33,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 98:[13, 22], Operations: ['44-32=12', '34-12=22']
Exploring Operation: 13+22=35, Resulting Numbers: [35]
35,98 unequal: No Solution
Exploring Operation: 22-13=9, Resulting Numbers: [9]
9,98 unequal: No Solution
Exploring Operation: 13*22=286, Resulting Numbers: [286]
286,98 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: 98:[13, 32, 10], Operations: ['44-34=10']
Exploring Operation: 32-13=19, Resulting Numbers: [10, 19]
Generated Node #0,2,0: 98:[10, 19] Operation: 32-13=19
Exploring Operation: 13+32=45, Resulting Numbers: [10, 45]
Generated Node #0,2,1: 98:[10, 45] Operation: 13+32=45
Exploring Operation: 32-10=22, Resulting Numbers: [13, 22]
Generated Node #0,2,2: 98:[13, 22] Operation: 32-10=22
Exploring Operation: 32+10=42, Resulting Numbers: [13, 42]
Generated Node #0,2,3: 98:[13, 42] Operation: 32+10=42
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 98:[10, 45], Operations: ['44-34=10', '13+32=45']
Exploring Operation: 10+45=55, Resulting Numbers: [55]
55,98 unequal: No Solution
Exploring Operation: 10*45=450, Resulting Numbers: [450]
450,98 unequal: No Solution
Exploring Operation: 45-10=35, Resulting Numbers: [35]
35,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 98:[10, 19], Operations: ['44-34=10', '32-13=19']
Exploring Operation: 10*19=190, Resulting Numbers: [190]
190,98 unequal: No Solution
Exploring Operation: 10+19=29, Resulting Numbers: [29]
29,98 unequal: No Solution
Exploring Operation: 19-10=9, Resulting Numbers: [9]
9,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 98:[13, 42], Operations: ['44-34=10', '32+10=42']
Exploring Operation: 13+42=55, Resulting Numbers: [55]
55,98 unequal: No Solution
Exploring Operation: 13*42=546, Resulting Numbers: [546]
546,98 unequal: No Solution
Exploring Operation: 42-13=29, Resulting Numbers: [29]
29,98 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 98:[13, 22], Operations: ['44-34=10', '32-10=22']
Exploring Operation: 13*22=286, Resulting Numbers: [286]
286,98 unequal: No Solution
Exploring Operation: 22-13=9, Resulting Numbers: [9]
9,98 unequal: No Solution
Exploring Operation: 13+22=35, Resulting Numbers: [35]
35,98 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: 98:[44, 13, 66], Operations: ['34+32=66']
Exploring Operation: 66-13=53, Resulting Numbers: [44, 53]
Generated Node #0,0,0: 98:[44, 53] Operation: 66-13=53
Exploring Operation: 44+66=110, Resulting Numbers: [13, 110]
Generated Node #0,0,1: 98:[13, 110] Operation: 44+66=110
Exploring Operation: 66-44=22, Resulting Numbers: [13, 22]
Generated Node #0,0,2: 98:[13, 22] Operation: 66-44=22
Exploring Operation: 13+66=79, Resulting Numbers: [44, 79]
Generated Node #0,0,3: 98:[44, 79] Operation: 13+66=79
Moving to Node #0,0,0
Current State: 98:[44, 53], Operations: ['34+32=66', '66-13=53']
Exploring Operation: 44+53=97, Resulting Numbers: [97]
97,98 unequal: No Solution
Exploring Operation: 53-44=9, Resulting Numbers: [9]
9,98 unequal: No Solution
Exploring Operation: 44*53=2332, Resulting Numbers: [2332]
2332,98 unequal: No Solution
Moving to Node #0,0,2
Current State: 98:[13, 22], Operations: ['34+32=66', '66-44=22']
Exploring Operation: 22-13=9, Resulting Numbers: [9]
9,98 unequal: No Solution
Exploring Operation: 13*22=286, Resulting Numbers: [286]
286,98 unequal: No Solution
Exploring Operation: 13+22=35, Resulting Numbers: [35]
35,98 unequal: No Solution
Moving to Node #0,0,1
Current State: 98:[13, 110], Operations: ['34+32=66', '44+66=110']
Exploring Operation: 13+110=123, Resulting Numbers: [123]
123,98 unequal: No Solution
Exploring Operation: 13*110=1430, Resulting Numbers: [1430]
1430,98 unequal: No Solution
Exploring Operation: 110-13=97, Resulting Numbers: [97]
97,98 unequal: No Solution
Moving to Node #0,0,3
Current State: 98:[44, 79], Operations: ['34+32=66', '13+66=79']
Exploring Operation: 44*79=3476, Resulting Numbers: [3476]
3476,98 unequal: No Solution
Exploring Operation: 79-44=35, Resulting Numbers: [35]
35,98 unequal: No Solution
Exploring Operation: 44+79=123, Resulting Numbers: [123]
123,98 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
53,
59,
56,
23
] | 79 | [
"53+59=112",
"56-23=33",
"112-33=79"
] | Current State: 79:[53, 59, 56, 23], Operations: []
Exploring Operation: 53+59=112, Resulting Numbers: [56, 23, 112]
Generated Node #2: [56, 23, 112] from Operation: 53+59=112
Current State: 79:[56, 23, 112], Operations: ['53+59=112']
Exploring Operation: 56-23=33, Resulting Numbers: [112, 33]
Generated Node #3: [112, 33] from Operation: 56-23=33
Current State: 79:[112, 33], Operations: ['53+59=112', '56-23=33']
Exploring Operation: 112-33=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
| 4 | Current State: 79:[53, 59, 56, 23], Operations: []
Exploring Operation: 56+23=79, Resulting Numbers: [53, 59, 79]
Generated Node #0,0: 79:[53, 59, 79] Operation: 56+23=79
Exploring Operation: 59+23=82, Resulting Numbers: [53, 56, 82]
Generated Node #0,1: 79:[53, 56, 82] Operation: 59+23=82
Exploring Operation: 53+23=76, Resulting Numbers: [59, 56, 76]
Generated Node #0,2: 79:[59, 56, 76] Operation: 53+23=76
Start Sub Search at level 1: Moving to Node #0,0
Current State: 79:[53, 59, 79], Operations: ['56+23=79']
Exploring Operation: 53+79=132, Resulting Numbers: [59, 132]
Generated Node #0,0,0: 79:[59, 132] Operation: 53+79=132
Exploring Operation: 59-53=6, Resulting Numbers: [79, 6]
Generated Node #0,0,1: 79:[79, 6] Operation: 59-53=6
Exploring Operation: 53+59=112, Resulting Numbers: [79, 112]
Generated Node #0,0,2: 79:[79, 112] Operation: 53+59=112
Moving to Node #0,0,2
Current State: 79:[79, 112], Operations: ['56+23=79', '53+59=112']
Exploring Operation: 79+112=191, Resulting Numbers: [191]
191,79 unequal: No Solution
Exploring Operation: 79*112=8848, Resulting Numbers: [8848]
8848,79 unequal: No Solution
Exploring Operation: 112-79=33, Resulting Numbers: [33]
33,79 unequal: No Solution
Moving to Node #0,0,0
Current State: 79:[59, 132], Operations: ['56+23=79', '53+79=132']
Exploring Operation: 59*132=7788, Resulting Numbers: [7788]
7788,79 unequal: No Solution
Exploring Operation: 59+132=191, Resulting Numbers: [191]
191,79 unequal: No Solution
Exploring Operation: 132-59=73, Resulting Numbers: [73]
73,79 unequal: No Solution
Moving to Node #0,0,1
Current State: 79:[79, 6], Operations: ['56+23=79', '59-53=6']
Exploring Operation: 79*6=474, Resulting Numbers: [474]
474,79 unequal: No Solution
Exploring Operation: 79-6=73, Resulting Numbers: [73]
73,79 unequal: No Solution
Exploring Operation: 79+6=85, Resulting Numbers: [85]
85,79 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 79:[59, 56, 76], Operations: ['53+23=76']
Exploring Operation: 59+56=115, Resulting Numbers: [76, 115]
Generated Node #0,2,0: 79:[76, 115] Operation: 59+56=115
Exploring Operation: 59-56=3, Resulting Numbers: [76, 3]
Generated Node #0,2,1: 79:[76, 3] Operation: 59-56=3
Exploring Operation: 56+76=132, Resulting Numbers: [59, 132]
Generated Node #0,2,2: 79:[59, 132] Operation: 56+76=132
Moving to Node #0,2,0
Current State: 79:[76, 115], Operations: ['53+23=76', '59+56=115']
Exploring Operation: 76+115=191, Resulting Numbers: [191]
191,79 unequal: No Solution
Exploring Operation: 115-76=39, Resulting Numbers: [39]
39,79 unequal: No Solution
Exploring Operation: 76*115=8740, Resulting Numbers: [8740]
8740,79 unequal: No Solution
Moving to Node #0,2,2
Current State: 79:[59, 132], Operations: ['53+23=76', '56+76=132']
Exploring Operation: 59+132=191, Resulting Numbers: [191]
191,79 unequal: No Solution
Exploring Operation: 59*132=7788, Resulting Numbers: [7788]
7788,79 unequal: No Solution
Exploring Operation: 132-59=73, Resulting Numbers: [73]
73,79 unequal: No Solution
Moving to Node #0,2,1
Current State: 79:[76, 3], Operations: ['53+23=76', '59-56=3']
Exploring Operation: 76-3=73, Resulting Numbers: [73]
73,79 unequal: No Solution
Exploring Operation: 76+3=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Moving to Node #0
Current State: 79:[53, 59, 56, 23], Operations: []
Exploring Operation: 53+23=76, Resulting Numbers: [59, 56, 76]
Generated Node #0,2: 79:[59, 56, 76] Operation: 53+23=76
Moving to Node #0,2
Current State: 79:[59, 56, 76], Operations: ['53+23=76']
Exploring Operation: 59-56=3, Resulting Numbers: [76, 3]
Generated Node #0,2,1: 79:[76, 3] Operation: 59-56=3
Moving to Node #0,2,1
Current State: 79:[76, 3], Operations: ['53+23=76', '59-56=3']
Exploring Operation: 76+3=79, Resulting Numbers: [79]
79,79 equal: Goal Reached
Exit Sub Search at level 1
| 0.973958 | hs_3 | mult_heuristic |
[
85,
4,
11,
67
] | 37 | [
"85*4=340",
"67+340=407",
"407/11=37"
] | Current State: 37:[85, 4, 11, 67], Operations: []
Exploring Operation: 85*4=340, Resulting Numbers: [11, 67, 340]
Generated Node #2: [11, 67, 340] from Operation: 85*4=340
Current State: 37:[11, 67, 340], Operations: ['85*4=340']
Exploring Operation: 67+340=407, Resulting Numbers: [11, 407]
Generated Node #3: [11, 407] from Operation: 67+340=407
Current State: 37:[11, 407], Operations: ['85*4=340', '67+340=407']
Exploring Operation: 407/11=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[85, 4, 11, 67], Operations: []
Exploring Operation: 4*11=44, Resulting Numbers: [85, 67, 44]
Generated Node #0,0: 37:[85, 67, 44] Operation: 4*11=44
Exploring Operation: 85-4=81, Resulting Numbers: [11, 67, 81]
Generated Node #0,1: 37:[11, 67, 81] Operation: 85-4=81
Exploring Operation: 85-67=18, Resulting Numbers: [4, 11, 18]
Generated Node #0,2: 37:[4, 11, 18] Operation: 85-67=18
Start Sub Search at level 1: Moving to Node #0,2
Current State: 37:[4, 11, 18], Operations: ['85-67=18']
Exploring Operation: 4+18=22, Resulting Numbers: [11, 22]
Generated Node #0,2,0: 37:[11, 22] Operation: 4+18=22
Exploring Operation: 4+11=15, Resulting Numbers: [18, 15]
Generated Node #0,2,1: 37:[18, 15] Operation: 4+11=15
Exploring Operation: 4*11=44, Resulting Numbers: [18, 44]
Generated Node #0,2,2: 37:[18, 44] Operation: 4*11=44
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 37:[18, 44], Operations: ['85-67=18', '4*11=44']
Exploring Operation: 44-18=26, Resulting Numbers: [26]
26,37 unequal: No Solution
Exploring Operation: 18+44=62, Resulting Numbers: [62]
62,37 unequal: No Solution
Exploring Operation: 18*44=792, Resulting Numbers: [792]
792,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,0
Current State: 37:[11, 22], Operations: ['85-67=18', '4+18=22']
Exploring Operation: 11+22=33, Resulting Numbers: [33]
33,37 unequal: No Solution
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,37 unequal: No Solution
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,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:[18, 15], Operations: ['85-67=18', '4+11=15']
Exploring Operation: 18*15=270, Resulting Numbers: [270]
270,37 unequal: No Solution
Exploring Operation: 18-15=3, Resulting Numbers: [3]
3,37 unequal: No Solution
Exploring Operation: 18+15=33, Resulting Numbers: [33]
33,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[85, 67, 44], Operations: ['4*11=44']
Exploring Operation: 85-67=18, Resulting Numbers: [44, 18]
Generated Node #0,0,0: 37:[44, 18] Operation: 85-67=18
Exploring Operation: 85-44=41, Resulting Numbers: [67, 41]
Generated Node #0,0,1: 37:[67, 41] Operation: 85-44=41
Exploring Operation: 67-44=23, Resulting Numbers: [85, 23]
Generated Node #0,0,2: 37:[85, 23] Operation: 67-44=23
Moving to Node #0,0,0
Current State: 37:[44, 18], Operations: ['4*11=44', '85-67=18']
Exploring Operation: 44*18=792, Resulting Numbers: [792]
792,37 unequal: No Solution
Exploring Operation: 44+18=62, Resulting Numbers: [62]
62,37 unequal: No Solution
Exploring Operation: 44-18=26, Resulting Numbers: [26]
26,37 unequal: No Solution
Moving to Node #0,0,1
Current State: 37:[67, 41], Operations: ['4*11=44', '85-44=41']
Exploring Operation: 67+41=108, Resulting Numbers: [108]
108,37 unequal: No Solution
Exploring Operation: 67*41=2747, Resulting Numbers: [2747]
2747,37 unequal: No Solution
Exploring Operation: 67-41=26, Resulting Numbers: [26]
26,37 unequal: No Solution
Moving to Node #0,0,2
Current State: 37:[85, 23], Operations: ['4*11=44', '67-44=23']
Exploring Operation: 85+23=108, Resulting Numbers: [108]
108,37 unequal: No Solution
Exploring Operation: 85-23=62, Resulting Numbers: [62]
62,37 unequal: No Solution
Exploring Operation: 85*23=1955, Resulting Numbers: [1955]
1955,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[11, 67, 81], Operations: ['85-4=81']
Exploring Operation: 81-67=14, Resulting Numbers: [11, 14]
Generated Node #0,1,0: 37:[11, 14] Operation: 81-67=14
Exploring Operation: 67-11=56, Resulting Numbers: [81, 56]
Generated Node #0,1,1: 37:[81, 56] Operation: 67-11=56
Exploring Operation: 81-11=70, Resulting Numbers: [67, 70]
Generated Node #0,1,2: 37:[67, 70] Operation: 81-11=70
Moving to Node #0,1,0
Current State: 37:[11, 14], Operations: ['85-4=81', '81-67=14']
Exploring Operation: 11*14=154, Resulting Numbers: [154]
154,37 unequal: No Solution
Exploring Operation: 11+14=25, Resulting Numbers: [25]
25,37 unequal: No Solution
Exploring Operation: 14-11=3, Resulting Numbers: [3]
3,37 unequal: No Solution
Moving to Node #0,1,1
Current State: 37:[81, 56], Operations: ['85-4=81', '67-11=56']
Exploring Operation: 81-56=25, Resulting Numbers: [25]
25,37 unequal: No Solution
Exploring Operation: 81*56=4536, Resulting Numbers: [4536]
4536,37 unequal: No Solution
Exploring Operation: 81+56=137, Resulting Numbers: [137]
137,37 unequal: No Solution
Moving to Node #0,1,2
Current State: 37:[67, 70], Operations: ['85-4=81', '81-11=70']
Exploring Operation: 70-67=3, Resulting Numbers: [3]
3,37 unequal: No Solution
Exploring Operation: 67*70=4690, Resulting Numbers: [4690]
4690,37 unequal: No Solution
Exploring Operation: 67+70=137, Resulting Numbers: [137]
137,37 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 |
[
57,
55,
20,
7
] | 66 | [
"57+20=77",
"77/7=11",
"55+11=66"
] | Current State: 66:[57, 55, 20, 7], Operations: []
Exploring Operation: 57+20=77, Resulting Numbers: [55, 7, 77]
Generated Node #2: [55, 7, 77] from Operation: 57+20=77
Current State: 66:[55, 7, 77], Operations: ['57+20=77']
Exploring Operation: 77/7=11, Resulting Numbers: [55, 11]
Generated Node #3: [55, 11] from Operation: 77/7=11
Current State: 66:[55, 11], Operations: ['57+20=77', '77/7=11']
Exploring Operation: 55+11=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[57, 55, 20, 7], Operations: []
Exploring Operation: 55-20=35, Resulting Numbers: [57, 7, 35]
Generated Node #0,0: 66:[57, 7, 35] Operation: 55-20=35
Exploring Operation: 57-55=2, Resulting Numbers: [20, 7, 2]
Generated Node #0,1: 66:[20, 7, 2] Operation: 57-55=2
Moving to Node #0,1
Current State: 66:[20, 7, 2], Operations: ['57-55=2']
Exploring Operation: 20+2=22, Resulting Numbers: [7, 22]
Generated Node #0,1,0: 66:[7, 22] Operation: 20+2=22
Exploring Operation: 20-7=13, Resulting Numbers: [2, 13]
Generated Node #0,1,1: 66:[2, 13] Operation: 20-7=13
Moving to Node #0,0
Current State: 66:[57, 7, 35], Operations: ['55-20=35']
Exploring Operation: 57-35=22, Resulting Numbers: [7, 22]
Generated Node #0,0,0: 66:[7, 22] Operation: 57-35=22
Exploring Operation: 57+7=64, Resulting Numbers: [35, 64]
Generated Node #0,0,1: 66:[35, 64] Operation: 57+7=64
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 66:[7, 22], Operations: ['55-20=35', '57-35=22']
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,66 unequal: No Solution
Exploring Operation: 7+22=29, Resulting Numbers: [29]
29,66 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 66:[35, 64], Operations: ['55-20=35', '57+7=64']
Exploring Operation: 35+64=99, Resulting Numbers: [99]
99,66 unequal: No Solution
Exploring Operation: 64-35=29, Resulting Numbers: [29]
29,66 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: 66:[7, 22], Operations: ['57-55=2', '20+2=22']
Exploring Operation: 7+22=29, Resulting Numbers: [29]
29,66 unequal: No Solution
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,66 unequal: No Solution
Moving to Node #0,1,1
Current State: 66:[2, 13], Operations: ['57-55=2', '20-7=13']
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,66 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,66 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
75,
94,
79,
59
] | 39 | [
"94-75=19",
"79-59=20",
"19+20=39"
] | Current State: 39:[75, 94, 79, 59], Operations: []
Exploring Operation: 94-75=19, Resulting Numbers: [79, 59, 19]
Generated Node #2: [79, 59, 19] from Operation: 94-75=19
Current State: 39:[79, 59, 19], Operations: ['94-75=19']
Exploring Operation: 79-59=20, Resulting Numbers: [19, 20]
Generated Node #3: [19, 20] from Operation: 79-59=20
Current State: 39:[19, 20], Operations: ['94-75=19', '79-59=20']
Exploring Operation: 19+20=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[75, 94, 79, 59], Operations: []
Exploring Operation: 79-75=4, Resulting Numbers: [94, 59, 4]
Generated Node #0,0: 39:[94, 59, 4] Operation: 79-75=4
Exploring Operation: 94-79=15, Resulting Numbers: [75, 59, 15]
Generated Node #0,1: 39:[75, 59, 15] Operation: 94-79=15
Exploring Operation: 94-75=19, Resulting Numbers: [79, 59, 19]
Generated Node #0,2: 39:[79, 59, 19] Operation: 94-75=19
Moving to Node #0,1
Current State: 39:[75, 59, 15], Operations: ['94-79=15']
Exploring Operation: 75-15=60, Resulting Numbers: [59, 60]
Generated Node #0,1,0: 39:[59, 60] Operation: 75-15=60
Exploring Operation: 75-59=16, Resulting Numbers: [15, 16]
Generated Node #0,1,1: 39:[15, 16] Operation: 75-59=16
Exploring Operation: 75/15=5, Resulting Numbers: [59, 5]
Generated Node #0,1,2: 39:[59, 5] Operation: 75/15=5
Moving to Node #0,2
Current State: 39:[79, 59, 19], Operations: ['94-75=19']
Exploring Operation: 79-59=20, Resulting Numbers: [19, 20]
Generated Node #0,2,0: 39:[19, 20] Operation: 79-59=20
Exploring Operation: 59-19=40, Resulting Numbers: [79, 40]
Generated Node #0,2,1: 39:[79, 40] Operation: 59-19=40
Exploring Operation: 79-19=60, Resulting Numbers: [59, 60]
Generated Node #0,2,2: 39:[59, 60] Operation: 79-19=60
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 39:[19, 20], Operations: ['94-75=19', '79-59=20']
Exploring Operation: 19+20=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[75, 94, 79, 59], Operations: []
Exploring Operation: 94-75=19, Resulting Numbers: [79, 59, 19]
Generated Node #0,2: 39:[79, 59, 19] Operation: 94-75=19
Moving to Node #0,2
Current State: 39:[79, 59, 19], Operations: ['94-75=19']
Exploring Operation: 79-59=20, Resulting Numbers: [19, 20]
Generated Node #0,2,0: 39:[19, 20] Operation: 79-59=20
Moving to Node #0,2,0
Current State: 39:[19, 20], Operations: ['94-75=19', '79-59=20']
Exploring Operation: 19+20=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_3 | sum_heuristic |
[
47,
25,
17,
6
] | 63 | [
"25*17=425",
"425-47=378",
"378/6=63"
] | Current State: 63:[47, 25, 17, 6], Operations: []
Exploring Operation: 25*17=425, Resulting Numbers: [47, 6, 425]
Generated Node #2: [47, 6, 425] from Operation: 25*17=425
Current State: 63:[47, 6, 425], Operations: ['25*17=425']
Exploring Operation: 425-47=378, Resulting Numbers: [6, 378]
Generated Node #3: [6, 378] from Operation: 425-47=378
Current State: 63:[6, 378], Operations: ['25*17=425', '425-47=378']
Exploring Operation: 378/6=63, Resulting Numbers: [63]
63,63 equal: Goal Reached
| 4 | Current State: 63:[47, 25, 17, 6], Operations: []
Exploring Operation: 47+17=64, Resulting Numbers: [25, 6, 64]
Generated Node #0,0: 63:[25, 6, 64] Operation: 47+17=64
Exploring Operation: 47-17=30, Resulting Numbers: [25, 6, 30]
Generated Node #0,1: 63:[25, 6, 30] Operation: 47-17=30
Exploring Operation: 47+25=72, Resulting Numbers: [17, 6, 72]
Generated Node #0,2: 63:[17, 6, 72] Operation: 47+25=72
Exploring Operation: 47-25=22, Resulting Numbers: [17, 6, 22]
Generated Node #0,3: 63:[17, 6, 22] Operation: 47-25=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 63:[25, 6, 64], Operations: ['47+17=64']
Exploring Operation: 25+6=31, Resulting Numbers: [64, 31]
Generated Node #0,0,0: 63:[64, 31] Operation: 25+6=31
Exploring Operation: 64-6=58, Resulting Numbers: [25, 58]
Generated Node #0,0,1: 63:[25, 58] Operation: 64-6=58
Exploring Operation: 25-6=19, Resulting Numbers: [64, 19]
Generated Node #0,0,2: 63:[64, 19] Operation: 25-6=19
Exploring Operation: 6+64=70, Resulting Numbers: [25, 70]
Generated Node #0,0,3: 63:[25, 70] Operation: 6+64=70
Moving to Node #0,0,2
Current State: 63:[64, 19], Operations: ['47+17=64', '25-6=19']
Exploring Operation: 64*19=1216, Resulting Numbers: [1216]
1216,63 unequal: No Solution
Exploring Operation: 64-19=45, Resulting Numbers: [45]
45,63 unequal: No Solution
Exploring Operation: 64+19=83, Resulting Numbers: [83]
83,63 unequal: No Solution
Moving to Node #0,0,1
Current State: 63:[25, 58], Operations: ['47+17=64', '64-6=58']
Exploring Operation: 25+58=83, Resulting Numbers: [83]
83,63 unequal: No Solution
Exploring Operation: 25*58=1450, Resulting Numbers: [1450]
1450,63 unequal: No Solution
Exploring Operation: 58-25=33, Resulting Numbers: [33]
33,63 unequal: No Solution
Moving to Node #0,0,3
Current State: 63:[25, 70], Operations: ['47+17=64', '6+64=70']
Exploring Operation: 25*70=1750, Resulting Numbers: [1750]
1750,63 unequal: No Solution
Exploring Operation: 25+70=95, Resulting Numbers: [95]
95,63 unequal: No Solution
Exploring Operation: 70-25=45, Resulting Numbers: [45]
45,63 unequal: No Solution
Moving to Node #0,0,0
Current State: 63:[64, 31], Operations: ['47+17=64', '25+6=31']
Exploring Operation: 64*31=1984, Resulting Numbers: [1984]
1984,63 unequal: No Solution
Exploring Operation: 64+31=95, Resulting Numbers: [95]
95,63 unequal: No Solution
Exploring Operation: 64-31=33, Resulting Numbers: [33]
33,63 unequal: No Solution
No 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: 63:[17, 6, 22], Operations: ['47-25=22']
Exploring Operation: 17+6=23, Resulting Numbers: [22, 23]
Generated Node #0,3,0: 63:[22, 23] Operation: 17+6=23
Exploring Operation: 17-6=11, Resulting Numbers: [22, 11]
Generated Node #0,3,1: 63:[22, 11] Operation: 17-6=11
Exploring Operation: 22-17=5, Resulting Numbers: [6, 5]
Generated Node #0,3,2: 63:[6, 5] Operation: 22-17=5
Exploring Operation: 22-6=16, Resulting Numbers: [17, 16]
Generated Node #0,3,3: 63:[17, 16] Operation: 22-6=16
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 63:[22, 23], Operations: ['47-25=22', '17+6=23']
Exploring Operation: 22+23=45, Resulting Numbers: [45]
45,63 unequal: No Solution
Exploring Operation: 22*23=506, Resulting Numbers: [506]
506,63 unequal: No Solution
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,63 unequal: No Solution
No 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: 63:[22, 11], Operations: ['47-25=22', '17-6=11']
Exploring Operation: 22*11=242, Resulting Numbers: [242]
242,63 unequal: No Solution
Exploring Operation: 22+11=33, Resulting Numbers: [33]
33,63 unequal: No Solution
Exploring Operation: 22-11=11, Resulting Numbers: [11]
11,63 unequal: No Solution
Exploring Operation: 22/11=2, Resulting Numbers: [2]
2,63 unequal: No Solution
No 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: 63:[6, 5], Operations: ['47-25=22', '22-17=5']
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,63 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,63 unequal: No Solution
No 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: 63:[17, 16], Operations: ['47-25=22', '22-6=16']
Exploring Operation: 17-16=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Exploring Operation: 17*16=272, Resulting Numbers: [272]
272,63 unequal: No Solution
Exploring Operation: 17+16=33, Resulting Numbers: [33]
33,63 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: 63:[25, 6, 30], Operations: ['47-17=30']
Exploring Operation: 30/6=5, Resulting Numbers: [25, 5]
Generated Node #0,1,0: 63:[25, 5] Operation: 30/6=5
Exploring Operation: 30-25=5, Resulting Numbers: [6, 5]
Generated Node #0,1,1: 63:[6, 5] Operation: 30-25=5
Exploring Operation: 25+30=55, Resulting Numbers: [6, 55]
Generated Node #0,1,2: 63:[6, 55] Operation: 25+30=55
Exploring Operation: 30-6=24, Resulting Numbers: [25, 24]
Generated Node #0,1,3: 63:[25, 24] Operation: 30-6=24
Moving to Node #0,1,1
Current State: 63:[6, 5], Operations: ['47-17=30', '30-25=5']
Exploring Operation: 6+5=11, Resulting Numbers: [11]
11,63 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Exploring Operation: 6*5=30, Resulting Numbers: [30]
30,63 unequal: No Solution
Moving to Node #0,1,0
Current State: 63:[25, 5], Operations: ['47-17=30', '30/6=5']
Exploring Operation: 25*5=125, Resulting Numbers: [125]
125,63 unequal: No Solution
Exploring Operation: 25+5=30, Resulting Numbers: [30]
30,63 unequal: No Solution
Exploring Operation: 25/5=5, Resulting Numbers: [5]
5,63 unequal: No Solution
Exploring Operation: 25-5=20, Resulting Numbers: [20]
20,63 unequal: No Solution
Moving to Node #0,1,3
Current State: 63:[25, 24], Operations: ['47-17=30', '30-6=24']
Exploring Operation: 25*24=600, Resulting Numbers: [600]
600,63 unequal: No Solution
Exploring Operation: 25+24=49, Resulting Numbers: [49]
49,63 unequal: No Solution
Exploring Operation: 25-24=1, Resulting Numbers: [1]
1,63 unequal: No Solution
Moving to Node #0,1,2
Current State: 63:[6, 55], Operations: ['47-17=30', '25+30=55']
Exploring Operation: 6*55=330, Resulting Numbers: [330]
330,63 unequal: No Solution
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,63 unequal: No Solution
Exploring Operation: 6+55=61, Resulting Numbers: [61]
61,63 unequal: No Solution
No 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: 63:[17, 6, 72], Operations: ['47+25=72']
Exploring Operation: 72-17=55, Resulting Numbers: [6, 55]
Generated Node #0,2,0: 63:[6, 55] Operation: 72-17=55
Exploring Operation: 17+6=23, Resulting Numbers: [72, 23]
Generated Node #0,2,1: 63:[72, 23] Operation: 17+6=23
Exploring Operation: 72-6=66, Resulting Numbers: [17, 66]
Generated Node #0,2,2: 63:[17, 66] Operation: 72-6=66
Exploring Operation: 72/6=12, Resulting Numbers: [17, 12]
Generated Node #0,2,3: 63:[17, 12] Operation: 72/6=12
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 63:[17, 66], Operations: ['47+25=72', '72-6=66']
Exploring Operation: 17+66=83, Resulting Numbers: [83]
83,63 unequal: No Solution
Exploring Operation: 17*66=1122, Resulting Numbers: [1122]
1122,63 unequal: No Solution
Exploring Operation: 66-17=49, Resulting Numbers: [49]
49,63 unequal: No Solution
No 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: 63:[17, 12], Operations: ['47+25=72', '72/6=12']
Exploring Operation: 17*12=204, Resulting Numbers: [204]
204,63 unequal: No Solution
Exploring Operation: 17-12=5, Resulting Numbers: [5]
5,63 unequal: No Solution
Exploring Operation: 17+12=29, Resulting Numbers: [29]
29,63 unequal: No Solution
No 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: 63:[6, 55], Operations: ['47+25=72', '72-17=55']
Exploring Operation: 6*55=330, Resulting Numbers: [330]
330,63 unequal: No Solution
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,63 unequal: No Solution
Exploring Operation: 6+55=61, Resulting Numbers: [61]
61,63 unequal: No Solution
No 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: 63:[72, 23], Operations: ['47+25=72', '17+6=23']
Exploring Operation: 72*23=1656, Resulting Numbers: [1656]
1656,63 unequal: No Solution
Exploring Operation: 72+23=95, Resulting Numbers: [95]
95,63 unequal: No Solution
Exploring Operation: 72-23=49, Resulting Numbers: [49]
49,63 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_4 | sum_heuristic |
[
11,
23,
77,
3
] | 19 | [
"11+77=88",
"23*3=69",
"88-69=19"
] | Current State: 19:[11, 23, 77, 3], Operations: []
Exploring Operation: 11+77=88, Resulting Numbers: [23, 3, 88]
Generated Node #2: [23, 3, 88] from Operation: 11+77=88
Current State: 19:[23, 3, 88], Operations: ['11+77=88']
Exploring Operation: 23*3=69, Resulting Numbers: [88, 69]
Generated Node #3: [88, 69] from Operation: 23*3=69
Current State: 19:[88, 69], Operations: ['11+77=88', '23*3=69']
Exploring Operation: 88-69=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[11, 23, 77, 3], Operations: []
Exploring Operation: 77-11=66, Resulting Numbers: [23, 3, 66]
Generated Node #0,0: 19:[23, 3, 66] Operation: 77-11=66
Exploring Operation: 77-23=54, Resulting Numbers: [11, 3, 54]
Generated Node #0,1: 19:[11, 3, 54] Operation: 77-23=54
Exploring Operation: 77/11=7, Resulting Numbers: [23, 3, 7]
Generated Node #0,2: 19:[23, 3, 7] Operation: 77/11=7
Moving to Node #0,2
Current State: 19:[23, 3, 7], Operations: ['77/11=7']
Exploring Operation: 3+7=10, Resulting Numbers: [23, 10]
Generated Node #0,2,0: 19:[23, 10] Operation: 3+7=10
Exploring Operation: 3*7=21, Resulting Numbers: [23, 21]
Generated Node #0,2,1: 19:[23, 21] Operation: 3*7=21
Exploring Operation: 23-3=20, Resulting Numbers: [7, 20]
Generated Node #0,2,2: 19:[7, 20] Operation: 23-3=20
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 19:[23, 21], Operations: ['77/11=7', '3*7=21']
Exploring Operation: 23*21=483, Resulting Numbers: [483]
483,19 unequal: No Solution
Exploring Operation: 23+21=44, Resulting Numbers: [44]
44,19 unequal: No Solution
Exploring Operation: 23-21=2, Resulting Numbers: [2]
2,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 19:[23, 10], Operations: ['77/11=7', '3+7=10']
Exploring Operation: 23+10=33, Resulting Numbers: [33]
33,19 unequal: No Solution
Exploring Operation: 23*10=230, Resulting Numbers: [230]
230,19 unequal: No Solution
Exploring Operation: 23-10=13, Resulting Numbers: [13]
13,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 19:[7, 20], Operations: ['77/11=7', '23-3=20']
Exploring Operation: 7*20=140, Resulting Numbers: [140]
140,19 unequal: No Solution
Exploring Operation: 7+20=27, Resulting Numbers: [27]
27,19 unequal: No Solution
Exploring Operation: 20-7=13, Resulting Numbers: [13]
13,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 19:[11, 3, 54], Operations: ['77-23=54']
Exploring Operation: 54/3=18, Resulting Numbers: [11, 18]
Generated Node #0,1,0: 19:[11, 18] Operation: 54/3=18
Exploring Operation: 54-11=43, Resulting Numbers: [3, 43]
Generated Node #0,1,1: 19:[3, 43] Operation: 54-11=43
Exploring Operation: 11+3=14, Resulting Numbers: [54, 14]
Generated Node #0,1,2: 19:[54, 14] Operation: 11+3=14
Moving to Node #0,0
Current State: 19:[23, 3, 66], Operations: ['77-11=66']
Exploring Operation: 66-23=43, Resulting Numbers: [3, 43]
Generated Node #0,0,0: 19:[3, 43] Operation: 66-23=43
Exploring Operation: 23-3=20, Resulting Numbers: [66, 20]
Generated Node #0,0,1: 19:[66, 20] Operation: 23-3=20
Exploring Operation: 66/3=22, Resulting Numbers: [23, 22]
Generated Node #0,0,2: 19:[23, 22] Operation: 66/3=22
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 19:[23, 22], Operations: ['77-11=66', '66/3=22']
Exploring Operation: 23*22=506, Resulting Numbers: [506]
506,19 unequal: No Solution
Exploring Operation: 23+22=45, Resulting Numbers: [45]
45,19 unequal: No Solution
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 19:[3, 43], Operations: ['77-11=66', '66-23=43']
Exploring Operation: 3+43=46, Resulting Numbers: [46]
46,19 unequal: No Solution
Exploring Operation: 3*43=129, Resulting Numbers: [129]
129,19 unequal: No Solution
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,19 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 19:[66, 20], Operations: ['77-11=66', '23-3=20']
Exploring Operation: 66*20=1320, Resulting Numbers: [1320]
1320,19 unequal: No Solution
Exploring Operation: 66+20=86, Resulting Numbers: [86]
86,19 unequal: No Solution
Exploring Operation: 66-20=46, Resulting Numbers: [46]
46,19 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: 19:[11, 18], Operations: ['77-23=54', '54/3=18']
Exploring Operation: 11*18=198, Resulting Numbers: [198]
198,19 unequal: No Solution
Exploring Operation: 11+18=29, Resulting Numbers: [29]
29,19 unequal: No Solution
Exploring Operation: 18-11=7, Resulting Numbers: [7]
7,19 unequal: No Solution
Moving to Node #0,1,1
Current State: 19:[3, 43], Operations: ['77-23=54', '54-11=43']
Exploring Operation: 43-3=40, Resulting Numbers: [40]
40,19 unequal: No Solution
Exploring Operation: 3*43=129, Resulting Numbers: [129]
129,19 unequal: No Solution
Exploring Operation: 3+43=46, Resulting Numbers: [46]
46,19 unequal: No Solution
Moving to Node #0,1,2
Current State: 19:[54, 14], Operations: ['77-23=54', '11+3=14']
Exploring Operation: 54+14=68, Resulting Numbers: [68]
68,19 unequal: No Solution
Exploring Operation: 54-14=40, Resulting Numbers: [40]
40,19 unequal: No Solution
Exploring Operation: 54*14=756, Resulting Numbers: [756]
756,19 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
85,
63,
43,
14
] | 66 | [
"85-43=42",
"42/14=3",
"63+3=66"
] | Current State: 66:[85, 63, 43, 14], Operations: []
Exploring Operation: 85-43=42, Resulting Numbers: [63, 14, 42]
Generated Node #2: [63, 14, 42] from Operation: 85-43=42
Current State: 66:[63, 14, 42], Operations: ['85-43=42']
Exploring Operation: 42/14=3, Resulting Numbers: [63, 3]
Generated Node #3: [63, 3] from Operation: 42/14=3
Current State: 66:[63, 3], Operations: ['85-43=42', '42/14=3']
Exploring Operation: 63+3=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
| 4 | Current State: 66:[85, 63, 43, 14], Operations: []
Exploring Operation: 85-43=42, Resulting Numbers: [63, 14, 42]
Generated Node #0,0: 66:[63, 14, 42] Operation: 85-43=42
Exploring Operation: 85-14=71, Resulting Numbers: [63, 43, 71]
Generated Node #0,1: 66:[63, 43, 71] Operation: 85-14=71
Exploring Operation: 85-63=22, Resulting Numbers: [43, 14, 22]
Generated Node #0,2: 66:[43, 14, 22] Operation: 85-63=22
Start Sub Search at level 1: Moving to Node #0,2
Current State: 66:[43, 14, 22], Operations: ['85-63=22']
Exploring Operation: 43+22=65, Resulting Numbers: [14, 65]
Generated Node #0,2,0: 66:[14, 65] Operation: 43+22=65
Exploring Operation: 43-22=21, Resulting Numbers: [14, 21]
Generated Node #0,2,1: 66:[14, 21] Operation: 43-22=21
Exploring Operation: 43-14=29, Resulting Numbers: [22, 29]
Generated Node #0,2,2: 66:[22, 29] Operation: 43-14=29
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 66:[14, 65], Operations: ['85-63=22', '43+22=65']
Exploring Operation: 14*65=910, Resulting Numbers: [910]
910,66 unequal: No Solution
Exploring Operation: 14+65=79, Resulting Numbers: [79]
79,66 unequal: No Solution
Exploring Operation: 65-14=51, Resulting Numbers: [51]
51,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 66:[14, 21], Operations: ['85-63=22', '43-22=21']
Exploring Operation: 21-14=7, Resulting Numbers: [7]
7,66 unequal: No Solution
Exploring Operation: 14+21=35, Resulting Numbers: [35]
35,66 unequal: No Solution
Exploring Operation: 14*21=294, Resulting Numbers: [294]
294,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 66:[22, 29], Operations: ['85-63=22', '43-14=29']
Exploring Operation: 22*29=638, Resulting Numbers: [638]
638,66 unequal: No Solution
Exploring Operation: 29-22=7, Resulting Numbers: [7]
7,66 unequal: No Solution
Exploring Operation: 22+29=51, Resulting Numbers: [51]
51,66 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 66:[63, 14, 42], Operations: ['85-43=42']
Exploring Operation: 42-14=28, Resulting Numbers: [63, 28]
Generated Node #0,0,0: 66:[63, 28] Operation: 42-14=28
Exploring Operation: 63-42=21, Resulting Numbers: [14, 21]
Generated Node #0,0,1: 66:[14, 21] Operation: 63-42=21
Exploring Operation: 42/14=3, Resulting Numbers: [63, 3]
Generated Node #0,0,2: 66:[63, 3] Operation: 42/14=3
Moving to Node #0,0,2
Current State: 66:[63, 3], Operations: ['85-43=42', '42/14=3']
Exploring Operation: 63+3=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Moving to Node #0
Current State: 66:[85, 63, 43, 14], Operations: []
Exploring Operation: 85-43=42, Resulting Numbers: [63, 14, 42]
Generated Node #0,0: 66:[63, 14, 42] Operation: 85-43=42
Moving to Node #0,0
Current State: 66:[63, 14, 42], Operations: ['85-43=42']
Exploring Operation: 42/14=3, Resulting Numbers: [63, 3]
Generated Node #0,0,2: 66:[63, 3] Operation: 42/14=3
Moving to Node #0,0,2
Current State: 66:[63, 3], Operations: ['85-43=42', '42/14=3']
Exploring Operation: 63+3=66, Resulting Numbers: [66]
66,66 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_3 | mult_heuristic |
[
36,
42,
53,
45
] | 55 | [
"45-42=3",
"36*3=108",
"108-53=55"
] | Current State: 55:[36, 42, 53, 45], Operations: []
Exploring Operation: 45-42=3, Resulting Numbers: [36, 53, 3]
Generated Node #2: [36, 53, 3] from Operation: 45-42=3
Current State: 55:[36, 53, 3], Operations: ['45-42=3']
Exploring Operation: 36*3=108, Resulting Numbers: [53, 108]
Generated Node #3: [53, 108] from Operation: 36*3=108
Current State: 55:[53, 108], Operations: ['45-42=3', '36*3=108']
Exploring Operation: 108-53=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[36, 42, 53, 45], Operations: []
Exploring Operation: 45-42=3, Resulting Numbers: [36, 53, 3]
Generated Node #0,0: 55:[36, 53, 3] Operation: 45-42=3
Exploring Operation: 53-36=17, Resulting Numbers: [42, 45, 17]
Generated Node #0,1: 55:[42, 45, 17] Operation: 53-36=17
Exploring Operation: 42-36=6, Resulting Numbers: [53, 45, 6]
Generated Node #0,2: 55:[53, 45, 6] Operation: 42-36=6
Exploring Operation: 53-42=11, Resulting Numbers: [36, 45, 11]
Generated Node #0,3: 55:[36, 45, 11] Operation: 53-42=11
Exploring Operation: 45-36=9, Resulting Numbers: [42, 53, 9]
Generated Node #0,4: 55:[42, 53, 9] Operation: 45-36=9
Start Sub Search at level 1: Moving to Node #0,2
Current State: 55:[53, 45, 6], Operations: ['42-36=6']
Exploring Operation: 53-45=8, Resulting Numbers: [6, 8]
Generated Node #0,2,0: 55:[6, 8] Operation: 53-45=8
Exploring Operation: 53-6=47, Resulting Numbers: [45, 47]
Generated Node #0,2,1: 55:[45, 47] Operation: 53-6=47
Exploring Operation: 53+6=59, Resulting Numbers: [45, 59]
Generated Node #0,2,2: 55:[45, 59] Operation: 53+6=59
Exploring Operation: 45+6=51, Resulting Numbers: [53, 51]
Generated Node #0,2,3: 55:[53, 51] Operation: 45+6=51
Exploring Operation: 45-6=39, Resulting Numbers: [53, 39]
Generated Node #0,2,4: 55:[53, 39] Operation: 45-6=39
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 55:[6, 8], Operations: ['42-36=6', '53-45=8']
Exploring Operation: 6*8=48, Resulting Numbers: [48]
48,55 unequal: No Solution
Exploring Operation: 6+8=14, Resulting Numbers: [14]
14,55 unequal: No Solution
Exploring Operation: 8-6=2, Resulting Numbers: [2]
2,55 unequal: No Solution
No 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: 55:[53, 51], Operations: ['42-36=6', '45+6=51']
Exploring Operation: 53+51=104, Resulting Numbers: [104]
104,55 unequal: No Solution
Exploring Operation: 53*51=2703, Resulting Numbers: [2703]
2703,55 unequal: No Solution
Exploring Operation: 53-51=2, Resulting Numbers: [2]
2,55 unequal: No Solution
No 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: 55:[45, 59], Operations: ['42-36=6', '53+6=59']
Exploring Operation: 45+59=104, Resulting Numbers: [104]
104,55 unequal: No Solution
Exploring Operation: 45*59=2655, Resulting Numbers: [2655]
2655,55 unequal: No Solution
Exploring Operation: 59-45=14, Resulting Numbers: [14]
14,55 unequal: No Solution
No 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: 55:[45, 47], Operations: ['42-36=6', '53-6=47']
Exploring Operation: 45+47=92, Resulting Numbers: [92]
92,55 unequal: No Solution
Exploring Operation: 47-45=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 45*47=2115, Resulting Numbers: [2115]
2115,55 unequal: No Solution
No 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: 55:[53, 39], Operations: ['42-36=6', '45-6=39']
Exploring Operation: 53+39=92, Resulting Numbers: [92]
92,55 unequal: No Solution
Exploring Operation: 53*39=2067, Resulting Numbers: [2067]
2067,55 unequal: No Solution
Exploring Operation: 53-39=14, Resulting Numbers: [14]
14,55 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: 55:[42, 53, 9], Operations: ['45-36=9']
Exploring Operation: 53+9=62, Resulting Numbers: [42, 62]
Generated Node #0,4,0: 55:[42, 62] Operation: 53+9=62
Exploring Operation: 53-9=44, Resulting Numbers: [42, 44]
Generated Node #0,4,1: 55:[42, 44] Operation: 53-9=44
Exploring Operation: 42-9=33, Resulting Numbers: [53, 33]
Generated Node #0,4,2: 55:[53, 33] Operation: 42-9=33
Exploring Operation: 53-42=11, Resulting Numbers: [9, 11]
Generated Node #0,4,3: 55:[9, 11] Operation: 53-42=11
Exploring Operation: 42+9=51, Resulting Numbers: [53, 51]
Generated Node #0,4,4: 55:[53, 51] Operation: 42+9=51
Moving to Node #0,4,3
Current State: 55:[9, 11], Operations: ['45-36=9', '53-42=11']
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,55 unequal: No Solution
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,55 unequal: No Solution
Moving to Node #0,4,4
Current State: 55:[53, 51], Operations: ['45-36=9', '42+9=51']
Exploring Operation: 53-51=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 53*51=2703, Resulting Numbers: [2703]
2703,55 unequal: No Solution
Exploring Operation: 53+51=104, Resulting Numbers: [104]
104,55 unequal: No Solution
Moving to Node #0,4,0
Current State: 55:[42, 62], Operations: ['45-36=9', '53+9=62']
Exploring Operation: 62-42=20, Resulting Numbers: [20]
20,55 unequal: No Solution
Exploring Operation: 42+62=104, Resulting Numbers: [104]
104,55 unequal: No Solution
Exploring Operation: 42*62=2604, Resulting Numbers: [2604]
2604,55 unequal: No Solution
Moving to Node #0,4,1
Current State: 55:[42, 44], Operations: ['45-36=9', '53-9=44']
Exploring Operation: 44-42=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 42+44=86, Resulting Numbers: [86]
86,55 unequal: No Solution
Exploring Operation: 42*44=1848, Resulting Numbers: [1848]
1848,55 unequal: No Solution
Moving to Node #0,4,2
Current State: 55:[53, 33], Operations: ['45-36=9', '42-9=33']
Exploring Operation: 53*33=1749, Resulting Numbers: [1749]
1749,55 unequal: No Solution
Exploring Operation: 53-33=20, Resulting Numbers: [20]
20,55 unequal: No Solution
Exploring Operation: 53+33=86, Resulting Numbers: [86]
86,55 unequal: No Solution
No 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: 55:[36, 53, 3], Operations: ['45-42=3']
Exploring Operation: 36/3=12, Resulting Numbers: [53, 12]
Generated Node #0,0,0: 55:[53, 12] Operation: 36/3=12
Exploring Operation: 53+3=56, Resulting Numbers: [36, 56]
Generated Node #0,0,1: 55:[36, 56] Operation: 53+3=56
Exploring Operation: 53-36=17, Resulting Numbers: [3, 17]
Generated Node #0,0,2: 55:[3, 17] Operation: 53-36=17
Exploring Operation: 36-3=33, Resulting Numbers: [53, 33]
Generated Node #0,0,3: 55:[53, 33] Operation: 36-3=33
Exploring Operation: 36+3=39, Resulting Numbers: [53, 39]
Generated Node #0,0,4: 55:[53, 39] Operation: 36+3=39
Moving to Node #0,0,0
Current State: 55:[53, 12], Operations: ['45-42=3', '36/3=12']
Exploring Operation: 53+12=65, Resulting Numbers: [65]
65,55 unequal: No Solution
Exploring Operation: 53*12=636, Resulting Numbers: [636]
636,55 unequal: No Solution
Exploring Operation: 53-12=41, Resulting Numbers: [41]
41,55 unequal: No Solution
Moving to Node #0,0,2
Current State: 55:[3, 17], Operations: ['45-42=3', '53-36=17']
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,55 unequal: No Solution
Exploring Operation: 3+17=20, Resulting Numbers: [20]
20,55 unequal: No Solution
Exploring Operation: 3*17=51, Resulting Numbers: [51]
51,55 unequal: No Solution
Moving to Node #0,0,4
Current State: 55:[53, 39], Operations: ['45-42=3', '36+3=39']
Exploring Operation: 53*39=2067, Resulting Numbers: [2067]
2067,55 unequal: No Solution
Exploring Operation: 53+39=92, Resulting Numbers: [92]
92,55 unequal: No Solution
Exploring Operation: 53-39=14, Resulting Numbers: [14]
14,55 unequal: No Solution
Moving to Node #0,0,1
Current State: 55:[36, 56], Operations: ['45-42=3', '53+3=56']
Exploring Operation: 56-36=20, Resulting Numbers: [20]
20,55 unequal: No Solution
Exploring Operation: 36*56=2016, Resulting Numbers: [2016]
2016,55 unequal: No Solution
Exploring Operation: 36+56=92, Resulting Numbers: [92]
92,55 unequal: No Solution
Moving to Node #0,0,3
Current State: 55:[53, 33], Operations: ['45-42=3', '36-3=33']
Exploring Operation: 53*33=1749, Resulting Numbers: [1749]
1749,55 unequal: No Solution
Exploring Operation: 53-33=20, Resulting Numbers: [20]
20,55 unequal: No Solution
Exploring Operation: 53+33=86, Resulting Numbers: [86]
86,55 unequal: No Solution
No 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: 55:[42, 45, 17], Operations: ['53-36=17']
Exploring Operation: 45+17=62, Resulting Numbers: [42, 62]
Generated Node #0,1,0: 55:[42, 62] Operation: 45+17=62
Exploring Operation: 42+17=59, Resulting Numbers: [45, 59]
Generated Node #0,1,1: 55:[45, 59] Operation: 42+17=59
Exploring Operation: 42-17=25, Resulting Numbers: [45, 25]
Generated Node #0,1,2: 55:[45, 25] Operation: 42-17=25
Exploring Operation: 45-17=28, Resulting Numbers: [42, 28]
Generated Node #0,1,3: 55:[42, 28] Operation: 45-17=28
Exploring Operation: 45-42=3, Resulting Numbers: [17, 3]
Generated Node #0,1,4: 55:[17, 3] Operation: 45-42=3
Moving to Node #0,1,4
Current State: 55:[17, 3], Operations: ['53-36=17', '45-42=3']
Exploring Operation: 17*3=51, Resulting Numbers: [51]
51,55 unequal: No Solution
Exploring Operation: 17+3=20, Resulting Numbers: [20]
20,55 unequal: No Solution
Exploring Operation: 17-3=14, Resulting Numbers: [14]
14,55 unequal: No Solution
Moving to Node #0,1,1
Current State: 55:[45, 59], Operations: ['53-36=17', '42+17=59']
Exploring Operation: 45+59=104, Resulting Numbers: [104]
104,55 unequal: No Solution
Exploring Operation: 59-45=14, Resulting Numbers: [14]
14,55 unequal: No Solution
Exploring Operation: 45*59=2655, Resulting Numbers: [2655]
2655,55 unequal: No Solution
Moving to Node #0,1,0
Current State: 55:[42, 62], Operations: ['53-36=17', '45+17=62']
Exploring Operation: 42+62=104, Resulting Numbers: [104]
104,55 unequal: No Solution
Exploring Operation: 62-42=20, Resulting Numbers: [20]
20,55 unequal: No Solution
Exploring Operation: 42*62=2604, Resulting Numbers: [2604]
2604,55 unequal: No Solution
Moving to Node #0,1,2
Current State: 55:[45, 25], Operations: ['53-36=17', '42-17=25']
Exploring Operation: 45*25=1125, Resulting Numbers: [1125]
1125,55 unequal: No Solution
Exploring Operation: 45+25=70, Resulting Numbers: [70]
70,55 unequal: No Solution
Exploring Operation: 45-25=20, Resulting Numbers: [20]
20,55 unequal: No Solution
Moving to Node #0,1,3
Current State: 55:[42, 28], Operations: ['53-36=17', '45-17=28']
Exploring Operation: 42+28=70, Resulting Numbers: [70]
70,55 unequal: No Solution
Exploring Operation: 42*28=1176, Resulting Numbers: [1176]
1176,55 unequal: No Solution
Exploring Operation: 42-28=14, Resulting Numbers: [14]
14,55 unequal: No Solution
No 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: 55:[36, 45, 11], Operations: ['53-42=11']
Exploring Operation: 36+45=81, Resulting Numbers: [11, 81]
Generated Node #0,3,0: 55:[11, 81] Operation: 36+45=81
Exploring Operation: 36+11=47, Resulting Numbers: [45, 47]
Generated Node #0,3,1: 55:[45, 47] Operation: 36+11=47
Exploring Operation: 45-36=9, Resulting Numbers: [11, 9]
Generated Node #0,3,2: 55:[11, 9] Operation: 45-36=9
Exploring Operation: 45+11=56, Resulting Numbers: [36, 56]
Generated Node #0,3,3: 55:[36, 56] Operation: 45+11=56
Exploring Operation: 36-11=25, Resulting Numbers: [45, 25]
Generated Node #0,3,4: 55:[45, 25] Operation: 36-11=25
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 55:[11, 9], Operations: ['53-42=11', '45-36=9']
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,55 unequal: No Solution
Exploring Operation: 11*9=99, Resulting Numbers: [99]
99,55 unequal: No Solution
Exploring Operation: 11+9=20, Resulting Numbers: [20]
20,55 unequal: No Solution
No 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: 55:[45, 47], Operations: ['53-42=11', '36+11=47']
Exploring Operation: 45+47=92, Resulting Numbers: [92]
92,55 unequal: No Solution
Exploring Operation: 45*47=2115, Resulting Numbers: [2115]
2115,55 unequal: No Solution
Exploring Operation: 47-45=2, Resulting Numbers: [2]
2,55 unequal: No Solution
No 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: 55:[36, 56], Operations: ['53-42=11', '45+11=56']
Exploring Operation: 36+56=92, Resulting Numbers: [92]
92,55 unequal: No Solution
Exploring Operation: 56-36=20, Resulting Numbers: [20]
20,55 unequal: No Solution
Exploring Operation: 36*56=2016, Resulting Numbers: [2016]
2016,55 unequal: No Solution
No 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: 55:[45, 25], Operations: ['53-42=11', '36-11=25']
Exploring Operation: 45-25=20, Resulting Numbers: [20]
20,55 unequal: No Solution
Exploring Operation: 45*25=1125, Resulting Numbers: [1125]
1125,55 unequal: No Solution
Exploring Operation: 45+25=70, Resulting Numbers: [70]
70,55 unequal: No Solution
No 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: 55:[11, 81], Operations: ['53-42=11', '36+45=81']
Exploring Operation: 11*81=891, Resulting Numbers: [891]
891,55 unequal: No Solution
Exploring Operation: 11+81=92, Resulting Numbers: [92]
92,55 unequal: No Solution
Exploring Operation: 81-11=70, Resulting Numbers: [70]
70,55 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 |
[
40,
81,
90,
19
] | 36 | [
"40*90=3600",
"81+19=100",
"3600/100=36"
] | Current State: 36:[40, 81, 90, 19], Operations: []
Exploring Operation: 40*90=3600, Resulting Numbers: [81, 19, 3600]
Generated Node #2: [81, 19, 3600] from Operation: 40*90=3600
Current State: 36:[81, 19, 3600], Operations: ['40*90=3600']
Exploring Operation: 81+19=100, Resulting Numbers: [3600, 100]
Generated Node #3: [3600, 100] from Operation: 81+19=100
Current State: 36:[3600, 100], Operations: ['40*90=3600', '81+19=100']
Exploring Operation: 3600/100=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[40, 81, 90, 19], Operations: []
Exploring Operation: 81-40=41, Resulting Numbers: [90, 19, 41]
Generated Node #0,0: 36:[90, 19, 41] Operation: 81-40=41
Exploring Operation: 90-40=50, Resulting Numbers: [81, 19, 50]
Generated Node #0,1: 36:[81, 19, 50] Operation: 90-40=50
Exploring Operation: 90-81=9, Resulting Numbers: [40, 19, 9]
Generated Node #0,2: 36:[40, 19, 9] Operation: 90-81=9
Moving to Node #0,2
Current State: 36:[40, 19, 9], Operations: ['90-81=9']
Exploring Operation: 19-9=10, Resulting Numbers: [40, 10]
Generated Node #0,2,0: 36:[40, 10] Operation: 19-9=10
Exploring Operation: 40-9=31, Resulting Numbers: [19, 31]
Generated Node #0,2,1: 36:[19, 31] Operation: 40-9=31
Exploring Operation: 40-19=21, Resulting Numbers: [9, 21]
Generated Node #0,2,2: 36:[9, 21] Operation: 40-19=21
Moving to Node #0,0
Current State: 36:[90, 19, 41], Operations: ['81-40=41']
Exploring Operation: 90-19=71, Resulting Numbers: [41, 71]
Generated Node #0,0,0: 36:[41, 71] Operation: 90-19=71
Exploring Operation: 41-19=22, Resulting Numbers: [90, 22]
Generated Node #0,0,1: 36:[90, 22] Operation: 41-19=22
Exploring Operation: 90-41=49, Resulting Numbers: [19, 49]
Generated Node #0,0,2: 36:[19, 49] Operation: 90-41=49
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 36:[19, 49], Operations: ['81-40=41', '90-41=49']
Exploring Operation: 49-19=30, Resulting Numbers: [30]
30,36 unequal: No Solution
Exploring Operation: 19+49=68, Resulting Numbers: [68]
68,36 unequal: No Solution
Exploring Operation: 19*49=931, Resulting Numbers: [931]
931,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,0
Current State: 36:[41, 71], Operations: ['81-40=41', '90-19=71']
Exploring Operation: 41+71=112, Resulting Numbers: [112]
112,36 unequal: No Solution
Exploring Operation: 71-41=30, Resulting Numbers: [30]
30,36 unequal: No Solution
Exploring Operation: 41*71=2911, Resulting Numbers: [2911]
2911,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:[90, 22], Operations: ['81-40=41', '41-19=22']
Exploring Operation: 90+22=112, Resulting Numbers: [112]
112,36 unequal: No Solution
Exploring Operation: 90*22=1980, Resulting Numbers: [1980]
1980,36 unequal: No Solution
Exploring Operation: 90-22=68, Resulting Numbers: [68]
68,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:[81, 19, 50], Operations: ['90-40=50']
Exploring Operation: 81-19=62, Resulting Numbers: [50, 62]
Generated Node #0,1,0: 36:[50, 62] Operation: 81-19=62
Exploring Operation: 50-19=31, Resulting Numbers: [81, 31]
Generated Node #0,1,1: 36:[81, 31] Operation: 50-19=31
Exploring Operation: 81-50=31, Resulting Numbers: [19, 31]
Generated Node #0,1,2: 36:[19, 31] Operation: 81-50=31
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 36:[19, 31], Operations: ['90-40=50', '81-50=31']
Exploring Operation: 19+31=50, Resulting Numbers: [50]
50,36 unequal: No Solution
Exploring Operation: 31-19=12, Resulting Numbers: [12]
12,36 unequal: No Solution
Exploring Operation: 19*31=589, Resulting Numbers: [589]
589,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 36:[50, 62], Operations: ['90-40=50', '81-19=62']
Exploring Operation: 50+62=112, Resulting Numbers: [112]
112,36 unequal: No Solution
Exploring Operation: 50*62=3100, Resulting Numbers: [3100]
3100,36 unequal: No Solution
Exploring Operation: 62-50=12, Resulting Numbers: [12]
12,36 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 36:[81, 31], Operations: ['90-40=50', '50-19=31']
Exploring Operation: 81-31=50, Resulting Numbers: [50]
50,36 unequal: No Solution
Exploring Operation: 81*31=2511, Resulting Numbers: [2511]
2511,36 unequal: No Solution
Exploring Operation: 81+31=112, Resulting Numbers: [112]
112,36 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: 36:[9, 21], Operations: ['90-81=9', '40-19=21']
Exploring Operation: 9*21=189, Resulting Numbers: [189]
189,36 unequal: No Solution
Exploring Operation: 9+21=30, Resulting Numbers: [30]
30,36 unequal: No Solution
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,36 unequal: No Solution
Moving to Node #0,2,0
Current State: 36:[40, 10], Operations: ['90-81=9', '19-9=10']
Exploring Operation: 40+10=50, Resulting Numbers: [50]
50,36 unequal: No Solution
Exploring Operation: 40-10=30, Resulting Numbers: [30]
30,36 unequal: No Solution
Exploring Operation: 40/10=4, Resulting Numbers: [4]
4,36 unequal: No Solution
Moving to Node #0,2,1
Current State: 36:[19, 31], Operations: ['90-81=9', '40-9=31']
Exploring Operation: 31-19=12, Resulting Numbers: [12]
12,36 unequal: No Solution
Exploring Operation: 19+31=50, Resulting Numbers: [50]
50,36 unequal: No Solution
Exploring Operation: 19*31=589, Resulting Numbers: [589]
589,36 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
29,
86,
89,
22
] | 95 | [
"89-86=3",
"22*3=66",
"29+66=95"
] | Current State: 95:[29, 86, 89, 22], Operations: []
Exploring Operation: 89-86=3, Resulting Numbers: [29, 22, 3]
Generated Node #2: [29, 22, 3] from Operation: 89-86=3
Current State: 95:[29, 22, 3], Operations: ['89-86=3']
Exploring Operation: 22*3=66, Resulting Numbers: [29, 66]
Generated Node #3: [29, 66] from Operation: 22*3=66
Current State: 95:[29, 66], Operations: ['89-86=3', '22*3=66']
Exploring Operation: 29+66=95, Resulting Numbers: [95]
95,95 equal: Goal Reached
| 4 | Current State: 95:[29, 86, 89, 22], Operations: []
Exploring Operation: 29-22=7, Resulting Numbers: [86, 89, 7]
Generated Node #0,0: 95:[86, 89, 7] Operation: 29-22=7
Exploring Operation: 89-86=3, Resulting Numbers: [29, 22, 3]
Generated Node #0,1: 95:[29, 22, 3] Operation: 89-86=3
Exploring Operation: 29+86=115, Resulting Numbers: [89, 22, 115]
Generated Node #0,2: 95:[89, 22, 115] Operation: 29+86=115
Exploring Operation: 86+22=108, Resulting Numbers: [29, 89, 108]
Generated Node #0,3: 95:[29, 89, 108] Operation: 86+22=108
Moving to Node #0,1
Current State: 95:[29, 22, 3], Operations: ['89-86=3']
Exploring Operation: 22-3=19, Resulting Numbers: [29, 19]
Generated Node #0,1,0: 95:[29, 19] Operation: 22-3=19
Exploring Operation: 29*3=87, Resulting Numbers: [22, 87]
Generated Node #0,1,1: 95:[22, 87] Operation: 29*3=87
Exploring Operation: 29-3=26, Resulting Numbers: [22, 26]
Generated Node #0,1,2: 95:[22, 26] Operation: 29-3=26
Exploring Operation: 29-22=7, Resulting Numbers: [3, 7]
Generated Node #0,1,3: 95:[3, 7] Operation: 29-22=7
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 95:[3, 7], Operations: ['89-86=3', '29-22=7']
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,95 unequal: No Solution
Exploring Operation: 3*7=21, Resulting Numbers: [21]
21,95 unequal: No Solution
Exploring Operation: 3+7=10, Resulting Numbers: [10]
10,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 95:[29, 19], Operations: ['89-86=3', '22-3=19']
Exploring Operation: 29+19=48, Resulting Numbers: [48]
48,95 unequal: No Solution
Exploring Operation: 29*19=551, Resulting Numbers: [551]
551,95 unequal: No Solution
Exploring Operation: 29-19=10, Resulting Numbers: [10]
10,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 95:[22, 26], Operations: ['89-86=3', '29-3=26']
Exploring Operation: 22+26=48, Resulting Numbers: [48]
48,95 unequal: No Solution
Exploring Operation: 22*26=572, Resulting Numbers: [572]
572,95 unequal: No Solution
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 95:[22, 87], Operations: ['89-86=3', '29*3=87']
Exploring Operation: 22+87=109, Resulting Numbers: [109]
109,95 unequal: No Solution
Exploring Operation: 22*87=1914, Resulting Numbers: [1914]
1914,95 unequal: No Solution
Exploring Operation: 87-22=65, Resulting Numbers: [65]
65,95 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: 95:[86, 89, 7], Operations: ['29-22=7']
Exploring Operation: 86+7=93, Resulting Numbers: [89, 93]
Generated Node #0,0,0: 95:[89, 93] Operation: 86+7=93
Exploring Operation: 89+7=96, Resulting Numbers: [86, 96]
Generated Node #0,0,1: 95:[86, 96] Operation: 89+7=96
Exploring Operation: 89-86=3, Resulting Numbers: [7, 3]
Generated Node #0,0,2: 95:[7, 3] Operation: 89-86=3
Exploring Operation: 86-7=79, Resulting Numbers: [89, 79]
Generated Node #0,0,3: 95:[89, 79] Operation: 86-7=79
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 95:[7, 3], Operations: ['29-22=7', '89-86=3']
Exploring Operation: 7+3=10, Resulting Numbers: [10]
10,95 unequal: No Solution
Exploring Operation: 7*3=21, Resulting Numbers: [21]
21,95 unequal: No Solution
Exploring Operation: 7-3=4, Resulting Numbers: [4]
4,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 95:[89, 93], Operations: ['29-22=7', '86+7=93']
Exploring Operation: 93-89=4, Resulting Numbers: [4]
4,95 unequal: No Solution
Exploring Operation: 89+93=182, Resulting Numbers: [182]
182,95 unequal: No Solution
Exploring Operation: 89*93=8277, Resulting Numbers: [8277]
8277,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 95:[86, 96], Operations: ['29-22=7', '89+7=96']
Exploring Operation: 96-86=10, Resulting Numbers: [10]
10,95 unequal: No Solution
Exploring Operation: 86+96=182, Resulting Numbers: [182]
182,95 unequal: No Solution
Exploring Operation: 86*96=8256, Resulting Numbers: [8256]
8256,95 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 95:[89, 79], Operations: ['29-22=7', '86-7=79']
Exploring Operation: 89-79=10, Resulting Numbers: [10]
10,95 unequal: No Solution
Exploring Operation: 89*79=7031, Resulting Numbers: [7031]
7031,95 unequal: No Solution
Exploring Operation: 89+79=168, Resulting Numbers: [168]
168,95 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: 95:[29, 89, 108], Operations: ['86+22=108']
Exploring Operation: 29+89=118, Resulting Numbers: [108, 118]
Generated Node #0,3,0: 95:[108, 118] Operation: 29+89=118
Exploring Operation: 108-89=19, Resulting Numbers: [29, 19]
Generated Node #0,3,1: 95:[29, 19] Operation: 108-89=19
Exploring Operation: 89-29=60, Resulting Numbers: [108, 60]
Generated Node #0,3,2: 95:[108, 60] Operation: 89-29=60
Exploring Operation: 108-29=79, Resulting Numbers: [89, 79]
Generated Node #0,3,3: 95:[89, 79] Operation: 108-29=79
Moving to Node #0,2
Current State: 95:[89, 22, 115], Operations: ['29+86=115']
Exploring Operation: 115-89=26, Resulting Numbers: [22, 26]
Generated Node #0,2,0: 95:[22, 26] Operation: 115-89=26
Exploring Operation: 89+22=111, Resulting Numbers: [115, 111]
Generated Node #0,2,1: 95:[115, 111] Operation: 89+22=111
Exploring Operation: 89-22=67, Resulting Numbers: [115, 67]
Generated Node #0,2,2: 95:[115, 67] Operation: 89-22=67
Exploring Operation: 115-22=93, Resulting Numbers: [89, 93]
Generated Node #0,2,3: 95:[89, 93] Operation: 115-22=93
Moving to Node #0,2,3
Current State: 95:[89, 93], Operations: ['29+86=115', '115-22=93']
Exploring Operation: 93-89=4, Resulting Numbers: [4]
4,95 unequal: No Solution
Exploring Operation: 89*93=8277, Resulting Numbers: [8277]
8277,95 unequal: No Solution
Exploring Operation: 89+93=182, Resulting Numbers: [182]
182,95 unequal: No Solution
Moving to Node #0,2,0
Current State: 95:[22, 26], Operations: ['29+86=115', '115-89=26']
Exploring Operation: 26-22=4, Resulting Numbers: [4]
4,95 unequal: No Solution
Exploring Operation: 22*26=572, Resulting Numbers: [572]
572,95 unequal: No Solution
Exploring Operation: 22+26=48, Resulting Numbers: [48]
48,95 unequal: No Solution
Moving to Node #0,3,1
Current State: 95:[29, 19], Operations: ['86+22=108', '108-89=19']
Exploring Operation: 29*19=551, Resulting Numbers: [551]
551,95 unequal: No Solution
Exploring Operation: 29-19=10, Resulting Numbers: [10]
10,95 unequal: No Solution
Exploring Operation: 29+19=48, Resulting Numbers: [48]
48,95 unequal: No Solution
Moving to Node #0,3,3
Current State: 95:[89, 79], Operations: ['86+22=108', '108-29=79']
Exploring Operation: 89*79=7031, Resulting Numbers: [7031]
7031,95 unequal: No Solution
Exploring Operation: 89-79=10, Resulting Numbers: [10]
10,95 unequal: No Solution
Exploring Operation: 89+79=168, Resulting Numbers: [168]
168,95 unequal: No Solution
Moving to Node #0,2,1
Current State: 95:[115, 111], Operations: ['29+86=115', '89+22=111']
Exploring Operation: 115+111=226, Resulting Numbers: [226]
226,95 unequal: No Solution
Exploring Operation: 115-111=4, Resulting Numbers: [4]
4,95 unequal: No Solution
Exploring Operation: 115*111=12765, Resulting Numbers: [12765]
12765,95 unequal: No Solution
Moving to Node #0,3,0
Current State: 95:[108, 118], Operations: ['86+22=108', '29+89=118']
Exploring Operation: 108*118=12744, Resulting Numbers: [12744]
12744,95 unequal: No Solution
Exploring Operation: 118-108=10, Resulting Numbers: [10]
10,95 unequal: No Solution
Exploring Operation: 108+118=226, Resulting Numbers: [226]
226,95 unequal: No Solution
Moving to Node #0,3,2
Current State: 95:[108, 60], Operations: ['86+22=108', '89-29=60']
Exploring Operation: 108-60=48, Resulting Numbers: [48]
48,95 unequal: No Solution
Exploring Operation: 108*60=6480, Resulting Numbers: [6480]
6480,95 unequal: No Solution
Exploring Operation: 108+60=168, Resulting Numbers: [168]
168,95 unequal: No Solution
Moving to Node #0,2,2
Current State: 95:[115, 67], Operations: ['29+86=115', '89-22=67']
Exploring Operation: 115*67=7705, Resulting Numbers: [7705]
7705,95 unequal: No Solution
Exploring Operation: 115+67=182, Resulting Numbers: [182]
182,95 unequal: No Solution
Exploring Operation: 115-67=48, Resulting Numbers: [48]
48,95 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
91,
28,
94,
90
] | 65 | [
"91+28=119",
"94+90=184",
"184-119=65"
] | Current State: 65:[91, 28, 94, 90], Operations: []
Exploring Operation: 91+28=119, Resulting Numbers: [94, 90, 119]
Generated Node #2: [94, 90, 119] from Operation: 91+28=119
Current State: 65:[94, 90, 119], Operations: ['91+28=119']
Exploring Operation: 94+90=184, Resulting Numbers: [119, 184]
Generated Node #3: [119, 184] from Operation: 94+90=184
Current State: 65:[119, 184], Operations: ['91+28=119', '94+90=184']
Exploring Operation: 184-119=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[91, 28, 94, 90], Operations: []
Exploring Operation: 91-28=63, Resulting Numbers: [94, 90, 63]
Generated Node #0,0: 65:[94, 90, 63] Operation: 91-28=63
Exploring Operation: 94-90=4, Resulting Numbers: [91, 28, 4]
Generated Node #0,1: 65:[91, 28, 4] Operation: 94-90=4
Exploring Operation: 94-91=3, Resulting Numbers: [28, 90, 3]
Generated Node #0,2: 65:[28, 90, 3] Operation: 94-91=3
Exploring Operation: 94-28=66, Resulting Numbers: [91, 90, 66]
Generated Node #0,3: 65:[91, 90, 66] Operation: 94-28=66
Exploring Operation: 91-90=1, Resulting Numbers: [28, 94, 1]
Generated Node #0,4: 65:[28, 94, 1] Operation: 91-90=1
Moving to Node #0,1
Current State: 65:[91, 28, 4], Operations: ['94-90=4']
Exploring Operation: 28-4=24, Resulting Numbers: [91, 24]
Generated Node #0,1,0: 65:[91, 24] Operation: 28-4=24
Exploring Operation: 91-28=63, Resulting Numbers: [4, 63]
Generated Node #0,1,1: 65:[4, 63] Operation: 91-28=63
Exploring Operation: 91-4=87, Resulting Numbers: [28, 87]
Generated Node #0,1,2: 65:[28, 87] Operation: 91-4=87
Exploring Operation: 28/4=7, Resulting Numbers: [91, 7]
Generated Node #0,1,3: 65:[91, 7] Operation: 28/4=7
Exploring Operation: 91+4=95, Resulting Numbers: [28, 95]
Generated Node #0,1,4: 65:[28, 95] Operation: 91+4=95
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 65:[4, 63], Operations: ['94-90=4', '91-28=63']
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,65 unequal: No Solution
Exploring Operation: 4*63=252, Resulting Numbers: [252]
252,65 unequal: No Solution
Exploring Operation: 4+63=67, Resulting Numbers: [67]
67,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,1,3
Current State: 65:[91, 7], Operations: ['94-90=4', '28/4=7']
Exploring Operation: 91/7=13, Resulting Numbers: [13]
13,65 unequal: No Solution
Exploring Operation: 91-7=84, Resulting Numbers: [84]
84,65 unequal: No Solution
Exploring Operation: 91*7=637, Resulting Numbers: [637]
637,65 unequal: No Solution
Exploring Operation: 91+7=98, Resulting Numbers: [98]
98,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,1,0
Current State: 65:[91, 24], Operations: ['94-90=4', '28-4=24']
Exploring Operation: 91+24=115, Resulting Numbers: [115]
115,65 unequal: No Solution
Exploring Operation: 91*24=2184, Resulting Numbers: [2184]
2184,65 unequal: No Solution
Exploring Operation: 91-24=67, Resulting Numbers: [67]
67,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,1,2
Current State: 65:[28, 87], Operations: ['94-90=4', '91-4=87']
Exploring Operation: 28*87=2436, Resulting Numbers: [2436]
2436,65 unequal: No Solution
Exploring Operation: 87-28=59, Resulting Numbers: [59]
59,65 unequal: No Solution
Exploring Operation: 28+87=115, Resulting Numbers: [115]
115,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,1,4
Current State: 65:[28, 95], Operations: ['94-90=4', '91+4=95']
Exploring Operation: 28+95=123, Resulting Numbers: [123]
123,65 unequal: No Solution
Exploring Operation: 28*95=2660, Resulting Numbers: [2660]
2660,65 unequal: No Solution
Exploring Operation: 95-28=67, Resulting Numbers: [67]
67,65 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: 65:[28, 90, 3], Operations: ['94-91=3']
Exploring Operation: 28-3=25, Resulting Numbers: [90, 25]
Generated Node #0,2,0: 65:[90, 25] Operation: 28-3=25
Exploring Operation: 90/3=30, Resulting Numbers: [28, 30]
Generated Node #0,2,1: 65:[28, 30] Operation: 90/3=30
Exploring Operation: 90-3=87, Resulting Numbers: [28, 87]
Generated Node #0,2,2: 65:[28, 87] Operation: 90-3=87
Exploring Operation: 28+3=31, Resulting Numbers: [90, 31]
Generated Node #0,2,3: 65:[90, 31] Operation: 28+3=31
Exploring Operation: 90-28=62, Resulting Numbers: [3, 62]
Generated Node #0,2,4: 65:[3, 62] Operation: 90-28=62
Moving to Node #0,4
Current State: 65:[28, 94, 1], Operations: ['91-90=1']
Exploring Operation: 94-28=66, Resulting Numbers: [1, 66]
Generated Node #0,4,0: 65:[1, 66] Operation: 94-28=66
Exploring Operation: 28*1=28, Resulting Numbers: [94, 28]
Generated Node #0,4,1: 65:[94, 28] Operation: 28*1=28
Exploring Operation: 28-1=27, Resulting Numbers: [94, 27]
Generated Node #0,4,2: 65:[94, 27] Operation: 28-1=27
Exploring Operation: 94-1=93, Resulting Numbers: [28, 93]
Generated Node #0,4,3: 65:[28, 93] Operation: 94-1=93
Exploring Operation: 28/1=28, Resulting Numbers: [94, 28]
Generated Node #0,4,4: 65:[94, 28] Operation: 28/1=28
Moving to Node #0,3
Current State: 65:[91, 90, 66], Operations: ['94-28=66']
Exploring Operation: 91+90=181, Resulting Numbers: [66, 181]
Generated Node #0,3,0: 65:[66, 181] Operation: 91+90=181
Exploring Operation: 91+66=157, Resulting Numbers: [90, 157]
Generated Node #0,3,1: 65:[90, 157] Operation: 91+66=157
Exploring Operation: 91-66=25, Resulting Numbers: [90, 25]
Generated Node #0,3,2: 65:[90, 25] Operation: 91-66=25
Exploring Operation: 91-90=1, Resulting Numbers: [66, 1]
Generated Node #0,3,3: 65:[66, 1] Operation: 91-90=1
Exploring Operation: 90-66=24, Resulting Numbers: [91, 24]
Generated Node #0,3,4: 65:[91, 24] Operation: 90-66=24
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 65:[66, 1], Operations: ['94-28=66', '91-90=1']
Exploring Operation: 66-1=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[91, 28, 94, 90], Operations: []
Exploring Operation: 94-28=66, Resulting Numbers: [91, 90, 66]
Generated Node #0,3: 65:[91, 90, 66] Operation: 94-28=66
Moving to Node #0,3
Current State: 65:[91, 90, 66], Operations: ['94-28=66']
Exploring Operation: 91-90=1, Resulting Numbers: [66, 1]
Generated Node #0,3,3: 65:[66, 1] Operation: 91-90=1
Moving to Node #0,3,3
Current State: 65:[66, 1], Operations: ['94-28=66', '91-90=1']
Exploring Operation: 66-1=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.960069 | hs_5 | sum_heuristic |
[
6,
66,
9,
37
] | 59 | [
"9-6=3",
"66/3=22",
"37+22=59"
] | Current State: 59:[6, 66, 9, 37], Operations: []
Exploring Operation: 9-6=3, Resulting Numbers: [66, 37, 3]
Generated Node #2: [66, 37, 3] from Operation: 9-6=3
Current State: 59:[66, 37, 3], Operations: ['9-6=3']
Exploring Operation: 66/3=22, Resulting Numbers: [37, 22]
Generated Node #3: [37, 22] from Operation: 66/3=22
Current State: 59:[37, 22], Operations: ['9-6=3', '66/3=22']
Exploring Operation: 37+22=59, Resulting Numbers: [59]
59,59 equal: Goal Reached
| 4 | Current State: 59:[6, 66, 9, 37], Operations: []
Exploring Operation: 6+9=15, Resulting Numbers: [66, 37, 15]
Generated Node #0,0: 59:[66, 37, 15] Operation: 6+9=15
Exploring Operation: 66-6=60, Resulting Numbers: [9, 37, 60]
Generated Node #0,1: 59:[9, 37, 60] Operation: 66-6=60
Exploring Operation: 6*9=54, Resulting Numbers: [66, 37, 54]
Generated Node #0,2: 59:[66, 37, 54] Operation: 6*9=54
Start Sub Search at level 1: Moving to Node #0,2
Current State: 59:[66, 37, 54], Operations: ['6*9=54']
Exploring Operation: 66-37=29, Resulting Numbers: [54, 29]
Generated Node #0,2,0: 59:[54, 29] Operation: 66-37=29
Exploring Operation: 66+37=103, Resulting Numbers: [54, 103]
Generated Node #0,2,1: 59:[54, 103] Operation: 66+37=103
Exploring Operation: 37+54=91, Resulting Numbers: [66, 91]
Generated Node #0,2,2: 59:[66, 91] Operation: 37+54=91
Moving to Node #0,2,0
Current State: 59:[54, 29], Operations: ['6*9=54', '66-37=29']
Exploring Operation: 54+29=83, Resulting Numbers: [83]
83,59 unequal: No Solution
Exploring Operation: 54*29=1566, Resulting Numbers: [1566]
1566,59 unequal: No Solution
Exploring Operation: 54-29=25, Resulting Numbers: [25]
25,59 unequal: No Solution
Moving to Node #0,2,2
Current State: 59:[66, 91], Operations: ['6*9=54', '37+54=91']
Exploring Operation: 91-66=25, Resulting Numbers: [25]
25,59 unequal: No Solution
Exploring Operation: 66+91=157, Resulting Numbers: [157]
157,59 unequal: No Solution
Exploring Operation: 66*91=6006, Resulting Numbers: [6006]
6006,59 unequal: No Solution
Moving to Node #0,2,1
Current State: 59:[54, 103], Operations: ['6*9=54', '66+37=103']
Exploring Operation: 103-54=49, Resulting Numbers: [49]
49,59 unequal: No Solution
Exploring Operation: 54*103=5562, Resulting Numbers: [5562]
5562,59 unequal: No Solution
Exploring Operation: 54+103=157, Resulting Numbers: [157]
157,59 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 59:[66, 37, 15], Operations: ['6+9=15']
Exploring Operation: 66-15=51, Resulting Numbers: [37, 51]
Generated Node #0,0,0: 59:[37, 51] Operation: 66-15=51
Exploring Operation: 37+15=52, Resulting Numbers: [66, 52]
Generated Node #0,0,1: 59:[66, 52] Operation: 37+15=52
Exploring Operation: 66+15=81, Resulting Numbers: [37, 81]
Generated Node #0,0,2: 59:[37, 81] Operation: 66+15=81
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 59:[66, 52], Operations: ['6+9=15', '37+15=52']
Exploring Operation: 66*52=3432, Resulting Numbers: [3432]
3432,59 unequal: No Solution
Exploring Operation: 66+52=118, Resulting Numbers: [118]
118,59 unequal: No Solution
Exploring Operation: 66-52=14, Resulting Numbers: [14]
14,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 59:[37, 51], Operations: ['6+9=15', '66-15=51']
Exploring Operation: 51-37=14, Resulting Numbers: [14]
14,59 unequal: No Solution
Exploring Operation: 37+51=88, Resulting Numbers: [88]
88,59 unequal: No Solution
Exploring Operation: 37*51=1887, Resulting Numbers: [1887]
1887,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 59:[37, 81], Operations: ['6+9=15', '66+15=81']
Exploring Operation: 37*81=2997, Resulting Numbers: [2997]
2997,59 unequal: No Solution
Exploring Operation: 81-37=44, Resulting Numbers: [44]
44,59 unequal: No Solution
Exploring Operation: 37+81=118, Resulting Numbers: [118]
118,59 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 59:[9, 37, 60], Operations: ['66-6=60']
Exploring Operation: 9+37=46, Resulting Numbers: [60, 46]
Generated Node #0,1,0: 59:[60, 46] Operation: 9+37=46
Exploring Operation: 37-9=28, Resulting Numbers: [60, 28]
Generated Node #0,1,1: 59:[60, 28] Operation: 37-9=28
Exploring Operation: 60-9=51, Resulting Numbers: [37, 51]
Generated Node #0,1,2: 59:[37, 51] Operation: 60-9=51
Moving to Node #0,1,0
Current State: 59:[60, 46], Operations: ['66-6=60', '9+37=46']
Exploring Operation: 60+46=106, Resulting Numbers: [106]
106,59 unequal: No Solution
Exploring Operation: 60*46=2760, Resulting Numbers: [2760]
2760,59 unequal: No Solution
Exploring Operation: 60-46=14, Resulting Numbers: [14]
14,59 unequal: No Solution
Moving to Node #0,1,2
Current State: 59:[37, 51], Operations: ['66-6=60', '60-9=51']
Exploring Operation: 37*51=1887, Resulting Numbers: [1887]
1887,59 unequal: No Solution
Exploring Operation: 51-37=14, Resulting Numbers: [14]
14,59 unequal: No Solution
Exploring Operation: 37+51=88, Resulting Numbers: [88]
88,59 unequal: No Solution
Moving to Node #0,1,1
Current State: 59:[60, 28], Operations: ['66-6=60', '37-9=28']
Exploring Operation: 60+28=88, Resulting Numbers: [88]
88,59 unequal: No Solution
Exploring Operation: 60-28=32, Resulting Numbers: [32]
32,59 unequal: No Solution
Exploring Operation: 60*28=1680, Resulting Numbers: [1680]
1680,59 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 |
[
7,
40,
77,
39
] | 21 | [
"40+77=117",
"7*117=819",
"819/39=21"
] | Current State: 21:[7, 40, 77, 39], Operations: []
Exploring Operation: 40+77=117, Resulting Numbers: [7, 39, 117]
Generated Node #2: [7, 39, 117] from Operation: 40+77=117
Current State: 21:[7, 39, 117], Operations: ['40+77=117']
Exploring Operation: 7*117=819, Resulting Numbers: [39, 819]
Generated Node #3: [39, 819] from Operation: 7*117=819
Current State: 21:[39, 819], Operations: ['40+77=117', '7*117=819']
Exploring Operation: 819/39=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[7, 40, 77, 39], Operations: []
Exploring Operation: 77-40=37, Resulting Numbers: [7, 39, 37]
Generated Node #0,0: 21:[7, 39, 37] Operation: 77-40=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[7, 39, 37], Operations: ['77-40=37']
Exploring Operation: 39-37=2, Resulting Numbers: [7, 2]
Generated Node #0,0,0: 21:[7, 2] Operation: 39-37=2
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 21:[7, 2], Operations: ['77-40=37', '39-37=2']
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,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_1 | sum_heuristic |
[
88,
20,
90,
75
] | 90 | [
"88+20=108",
"75*108=8100",
"8100/90=90"
] | Current State: 90:[88, 20, 90, 75], Operations: []
Exploring Operation: 88+20=108, Resulting Numbers: [90, 75, 108]
Generated Node #2: [90, 75, 108] from Operation: 88+20=108
Current State: 90:[90, 75, 108], Operations: ['88+20=108']
Exploring Operation: 75*108=8100, Resulting Numbers: [90, 8100]
Generated Node #3: [90, 8100] from Operation: 75*108=8100
Current State: 90:[90, 8100], Operations: ['88+20=108', '75*108=8100']
Exploring Operation: 8100/90=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[88, 20, 90, 75], Operations: []
Exploring Operation: 88-75=13, Resulting Numbers: [20, 90, 13]
Generated Node #0,0: 90:[20, 90, 13] Operation: 88-75=13
Moving to Node #0,0
Current State: 90:[20, 90, 13], Operations: ['88-75=13']
Exploring Operation: 20-13=7, Resulting Numbers: [90, 7]
Generated Node #0,0,0: 90:[90, 7] Operation: 20-13=7
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 90:[90, 7], Operations: ['88-75=13', '20-13=7']
Exploring Operation: 90+7=97, Resulting Numbers: [97]
97,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 | sum_heuristic |
[
12,
19,
23,
10
] | 78 | [
"12*10=120",
"19+23=42",
"120-42=78"
] | Current State: 78:[12, 19, 23, 10], Operations: []
Exploring Operation: 12*10=120, Resulting Numbers: [19, 23, 120]
Generated Node #2: [19, 23, 120] from Operation: 12*10=120
Current State: 78:[19, 23, 120], Operations: ['12*10=120']
Exploring Operation: 19+23=42, Resulting Numbers: [120, 42]
Generated Node #3: [120, 42] from Operation: 19+23=42
Current State: 78:[120, 42], Operations: ['12*10=120', '19+23=42']
Exploring Operation: 120-42=78, Resulting Numbers: [78]
78,78 equal: Goal Reached
| 4 | Current State: 78:[12, 19, 23, 10], Operations: []
Exploring Operation: 23-19=4, Resulting Numbers: [12, 10, 4]
Generated Node #0,0: 78:[12, 10, 4] Operation: 23-19=4
Moving to Node #0,0
Current State: 78:[12, 10, 4], Operations: ['23-19=4']
Exploring Operation: 12-10=2, Resulting Numbers: [4, 2]
Generated Node #0,0,0: 78:[4, 2] Operation: 12-10=2
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 78:[4, 2], Operations: ['23-19=4', '12-10=2']
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,78 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 |
[
6,
6,
34,
54
] | 21 | [
"6/6=1",
"54-34=20",
"1+20=21"
] | Current State: 21:[6, 6, 34, 54], Operations: []
Exploring Operation: 6/6=1, Resulting Numbers: [34, 54, 1]
Generated Node #2: [34, 54, 1] from Operation: 6/6=1
Current State: 21:[34, 54, 1], Operations: ['6/6=1']
Exploring Operation: 54-34=20, Resulting Numbers: [1, 20]
Generated Node #3: [1, 20] from Operation: 54-34=20
Current State: 21:[1, 20], Operations: ['6/6=1', '54-34=20']
Exploring Operation: 1+20=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[6, 6, 34, 54], Operations: []
Exploring Operation: 54-34=20, Resulting Numbers: [6, 6, 20]
Generated Node #0,0: 21:[6, 6, 20] Operation: 54-34=20
Exploring Operation: 34-6=28, Resulting Numbers: [6, 54, 28]
Generated Node #0,1: 21:[6, 54, 28] Operation: 34-6=28
Exploring Operation: 54/6=9, Resulting Numbers: [6, 34, 9]
Generated Node #0,2: 21:[6, 34, 9] Operation: 54/6=9
Exploring Operation: 54/6=9, Resulting Numbers: [6, 34, 9]
Generated Node #0,3: 21:[6, 34, 9] Operation: 54/6=9
Exploring Operation: 54-6=48, Resulting Numbers: [6, 34, 48]
Generated Node #0,4: 21:[6, 34, 48] Operation: 54-6=48
Moving to Node #0,0
Current State: 21:[6, 6, 20], Operations: ['54-34=20']
Exploring Operation: 6+20=26, Resulting Numbers: [6, 26]
Generated Node #0,0,0: 21:[6, 26] Operation: 6+20=26
Exploring Operation: 6+20=26, Resulting Numbers: [6, 26]
Generated Node #0,0,1: 21:[6, 26] Operation: 6+20=26
Exploring Operation: 6-6=0, Resulting Numbers: [20, 0]
Generated Node #0,0,2: 21:[20, 0] Operation: 6-6=0
Exploring Operation: 6+6=12, Resulting Numbers: [20, 12]
Generated Node #0,0,3: 21:[20, 12] Operation: 6+6=12
Exploring Operation: 6/6=1, Resulting Numbers: [20, 1]
Generated Node #0,0,4: 21:[20, 1] Operation: 6/6=1
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 21:[20, 1], Operations: ['54-34=20', '6/6=1']
Exploring Operation: 20+1=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[6, 6, 34, 54], Operations: []
Exploring Operation: 54-34=20, Resulting Numbers: [6, 6, 20]
Generated Node #0,0: 21:[6, 6, 20] Operation: 54-34=20
Moving to Node #0,0
Current State: 21:[6, 6, 20], Operations: ['54-34=20']
Exploring Operation: 6/6=1, Resulting Numbers: [20, 1]
Generated Node #0,0,4: 21:[20, 1] Operation: 6/6=1
Moving to Node #0,0,4
Current State: 21:[20, 1], Operations: ['54-34=20', '6/6=1']
Exploring Operation: 20+1=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_5 | mult_heuristic |
[
84,
16,
86,
74
] | 80 | [
"84-16=68",
"86-74=12",
"68+12=80"
] | Current State: 80:[84, 16, 86, 74], Operations: []
Exploring Operation: 84-16=68, Resulting Numbers: [86, 74, 68]
Generated Node #2: [86, 74, 68] from Operation: 84-16=68
Current State: 80:[86, 74, 68], Operations: ['84-16=68']
Exploring Operation: 86-74=12, Resulting Numbers: [68, 12]
Generated Node #3: [68, 12] from Operation: 86-74=12
Current State: 80:[68, 12], Operations: ['84-16=68', '86-74=12']
Exploring Operation: 68+12=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[84, 16, 86, 74], Operations: []
Exploring Operation: 86-74=12, Resulting Numbers: [84, 16, 12]
Generated Node #0,0: 80:[84, 16, 12] Operation: 86-74=12
Exploring Operation: 84-74=10, Resulting Numbers: [16, 86, 10]
Generated Node #0,1: 80:[16, 86, 10] Operation: 84-74=10
Exploring Operation: 86-16=70, Resulting Numbers: [84, 74, 70]
Generated Node #0,2: 80:[84, 74, 70] Operation: 86-16=70
Exploring Operation: 86-84=2, Resulting Numbers: [16, 74, 2]
Generated Node #0,3: 80:[16, 74, 2] Operation: 86-84=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[84, 16, 12], Operations: ['86-74=12']
Exploring Operation: 84/12=7, Resulting Numbers: [16, 7]
Generated Node #0,0,0: 80:[16, 7] Operation: 84/12=7
Exploring Operation: 16+12=28, Resulting Numbers: [84, 28]
Generated Node #0,0,1: 80:[84, 28] Operation: 16+12=28
Exploring Operation: 16-12=4, Resulting Numbers: [84, 4]
Generated Node #0,0,2: 80:[84, 4] Operation: 16-12=4
Exploring Operation: 84-12=72, Resulting Numbers: [16, 72]
Generated Node #0,0,3: 80:[16, 72] Operation: 84-12=72
Moving to Node #0,0,0
Current State: 80:[16, 7], Operations: ['86-74=12', '84/12=7']
Exploring Operation: 16*7=112, Resulting Numbers: [112]
112,80 unequal: No Solution
Exploring Operation: 16-7=9, Resulting Numbers: [9]
9,80 unequal: No Solution
Exploring Operation: 16+7=23, Resulting Numbers: [23]
23,80 unequal: No Solution
Moving to Node #0,0,2
Current State: 80:[84, 4], Operations: ['86-74=12', '16-12=4']
Exploring Operation: 84*4=336, Resulting Numbers: [336]
336,80 unequal: No Solution
Exploring Operation: 84-4=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Moving to Node #0
Current State: 80:[84, 16, 86, 74], Operations: []
Exploring Operation: 86-74=12, Resulting Numbers: [84, 16, 12]
Generated Node #0,0: 80:[84, 16, 12] Operation: 86-74=12
Moving to Node #0,0
Current State: 80:[84, 16, 12], Operations: ['86-74=12']
Exploring Operation: 16-12=4, Resulting Numbers: [84, 4]
Generated Node #0,0,2: 80:[84, 4] Operation: 16-12=4
Moving to Node #0,0,2
Current State: 80:[84, 4], Operations: ['86-74=12', '16-12=4']
Exploring Operation: 84-4=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | mult_heuristic |
[
3,
12,
13,
38
] | 37 | [
"12+13=25",
"3*25=75",
"75-38=37"
] | Current State: 37:[3, 12, 13, 38], Operations: []
Exploring Operation: 12+13=25, Resulting Numbers: [3, 38, 25]
Generated Node #2: [3, 38, 25] from Operation: 12+13=25
Current State: 37:[3, 38, 25], Operations: ['12+13=25']
Exploring Operation: 3*25=75, Resulting Numbers: [38, 75]
Generated Node #3: [38, 75] from Operation: 3*25=75
Current State: 37:[38, 75], Operations: ['12+13=25', '3*25=75']
Exploring Operation: 75-38=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[3, 12, 13, 38], Operations: []
Exploring Operation: 3*13=39, Resulting Numbers: [12, 38, 39]
Generated Node #0,0: 37:[12, 38, 39] Operation: 3*13=39
Exploring Operation: 3*12=36, Resulting Numbers: [13, 38, 36]
Generated Node #0,1: 37:[13, 38, 36] Operation: 3*12=36
Exploring Operation: 3+12=15, Resulting Numbers: [13, 38, 15]
Generated Node #0,2: 37:[13, 38, 15] Operation: 3+12=15
Start Sub Search at level 1: Moving to Node #0,1
Current State: 37:[13, 38, 36], Operations: ['3*12=36']
Exploring Operation: 13+36=49, Resulting Numbers: [38, 49]
Generated Node #0,1,0: 37:[38, 49] Operation: 13+36=49
Exploring Operation: 13+38=51, Resulting Numbers: [36, 51]
Generated Node #0,1,1: 37:[36, 51] Operation: 13+38=51
Exploring Operation: 38-13=25, Resulting Numbers: [36, 25]
Generated Node #0,1,2: 37:[36, 25] Operation: 38-13=25
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 37:[38, 49], Operations: ['3*12=36', '13+36=49']
Exploring Operation: 38*49=1862, Resulting Numbers: [1862]
1862,37 unequal: No Solution
Exploring Operation: 38+49=87, Resulting Numbers: [87]
87,37 unequal: No Solution
Exploring Operation: 49-38=11, Resulting Numbers: [11]
11,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:[36, 25], Operations: ['3*12=36', '38-13=25']
Exploring Operation: 36+25=61, Resulting Numbers: [61]
61,37 unequal: No Solution
Exploring Operation: 36*25=900, Resulting Numbers: [900]
900,37 unequal: No Solution
Exploring Operation: 36-25=11, Resulting Numbers: [11]
11,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 37:[36, 51], Operations: ['3*12=36', '13+38=51']
Exploring Operation: 36*51=1836, Resulting Numbers: [1836]
1836,37 unequal: No Solution
Exploring Operation: 51-36=15, Resulting Numbers: [15]
15,37 unequal: No Solution
Exploring Operation: 36+51=87, Resulting Numbers: [87]
87,37 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 37:[12, 38, 39], Operations: ['3*13=39']
Exploring Operation: 39-12=27, Resulting Numbers: [38, 27]
Generated Node #0,0,0: 37:[38, 27] Operation: 39-12=27
Exploring Operation: 38-12=26, Resulting Numbers: [39, 26]
Generated Node #0,0,1: 37:[39, 26] Operation: 38-12=26
Exploring Operation: 12+38=50, Resulting Numbers: [39, 50]
Generated Node #0,0,2: 37:[39, 50] Operation: 12+38=50
Moving to Node #0,0,0
Current State: 37:[38, 27], Operations: ['3*13=39', '39-12=27']
Exploring Operation: 38+27=65, Resulting Numbers: [65]
65,37 unequal: No Solution
Exploring Operation: 38*27=1026, Resulting Numbers: [1026]
1026,37 unequal: No Solution
Exploring Operation: 38-27=11, Resulting Numbers: [11]
11,37 unequal: No Solution
Moving to Node #0,0,1
Current State: 37:[39, 26], Operations: ['3*13=39', '38-12=26']
Exploring Operation: 39*26=1014, Resulting Numbers: [1014]
1014,37 unequal: No Solution
Exploring Operation: 39+26=65, Resulting Numbers: [65]
65,37 unequal: No Solution
Exploring Operation: 39-26=13, Resulting Numbers: [13]
13,37 unequal: No Solution
Moving to Node #0,0,2
Current State: 37:[39, 50], Operations: ['3*13=39', '12+38=50']
Exploring Operation: 50-39=11, Resulting Numbers: [11]
11,37 unequal: No Solution
Exploring Operation: 39+50=89, Resulting Numbers: [89]
89,37 unequal: No Solution
Exploring Operation: 39*50=1950, Resulting Numbers: [1950]
1950,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 37:[13, 38, 15], Operations: ['3+12=15']
Exploring Operation: 13+38=51, Resulting Numbers: [15, 51]
Generated Node #0,2,0: 37:[15, 51] Operation: 13+38=51
Exploring Operation: 38-13=25, Resulting Numbers: [15, 25]
Generated Node #0,2,1: 37:[15, 25] Operation: 38-13=25
Exploring Operation: 13+15=28, Resulting Numbers: [38, 28]
Generated Node #0,2,2: 37:[38, 28] Operation: 13+15=28
Moving to Node #0,2,2
Current State: 37:[38, 28], Operations: ['3+12=15', '13+15=28']
Exploring Operation: 38-28=10, Resulting Numbers: [10]
10,37 unequal: No Solution
Exploring Operation: 38+28=66, Resulting Numbers: [66]
66,37 unequal: No Solution
Exploring Operation: 38*28=1064, Resulting Numbers: [1064]
1064,37 unequal: No Solution
Moving to Node #0,2,1
Current State: 37:[15, 25], Operations: ['3+12=15', '38-13=25']
Exploring Operation: 15*25=375, Resulting Numbers: [375]
375,37 unequal: No Solution
Exploring Operation: 25-15=10, Resulting Numbers: [10]
10,37 unequal: No Solution
Exploring Operation: 15+25=40, Resulting Numbers: [40]
40,37 unequal: No Solution
Moving to Node #0,2,0
Current State: 37:[15, 51], Operations: ['3+12=15', '13+38=51']
Exploring Operation: 51-15=36, Resulting Numbers: [36]
36,37 unequal: No Solution
Exploring Operation: 15*51=765, Resulting Numbers: [765]
765,37 unequal: No Solution
Exploring Operation: 15+51=66, Resulting Numbers: [66]
66,37 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 |
[
28,
31,
77,
53
] | 21 | [
"31-28=3",
"77-53=24",
"24-3=21"
] | Current State: 21:[28, 31, 77, 53], Operations: []
Exploring Operation: 31-28=3, Resulting Numbers: [77, 53, 3]
Generated Node #2: [77, 53, 3] from Operation: 31-28=3
Current State: 21:[77, 53, 3], Operations: ['31-28=3']
Exploring Operation: 77-53=24, Resulting Numbers: [3, 24]
Generated Node #3: [3, 24] from Operation: 77-53=24
Current State: 21:[3, 24], Operations: ['31-28=3', '77-53=24']
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[28, 31, 77, 53], Operations: []
Exploring Operation: 77-53=24, Resulting Numbers: [28, 31, 24]
Generated Node #0,0: 21:[28, 31, 24] Operation: 77-53=24
Exploring Operation: 77-31=46, Resulting Numbers: [28, 53, 46]
Generated Node #0,1: 21:[28, 53, 46] Operation: 77-31=46
Exploring Operation: 53-31=22, Resulting Numbers: [28, 77, 22]
Generated Node #0,2: 21:[28, 77, 22] Operation: 53-31=22
Start Sub Search at level 1: Moving to Node #0,0
Current State: 21:[28, 31, 24], Operations: ['77-53=24']
Exploring Operation: 31-28=3, Resulting Numbers: [24, 3]
Generated Node #0,0,0: 21:[24, 3] Operation: 31-28=3
Exploring Operation: 31-24=7, Resulting Numbers: [28, 7]
Generated Node #0,0,1: 21:[28, 7] Operation: 31-24=7
Exploring Operation: 28-24=4, Resulting Numbers: [31, 4]
Generated Node #0,0,2: 21:[31, 4] Operation: 28-24=4
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 21:[24, 3], Operations: ['77-53=24', '31-28=3']
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,21 unequal: No Solution
Exploring Operation: 24+3=27, Resulting Numbers: [27]
27,21 unequal: No Solution
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[28, 31, 77, 53], Operations: []
Exploring Operation: 77-53=24, Resulting Numbers: [28, 31, 24]
Generated Node #0,0: 21:[28, 31, 24] Operation: 77-53=24
Moving to Node #0,0
Current State: 21:[28, 31, 24], Operations: ['77-53=24']
Exploring Operation: 31-28=3, Resulting Numbers: [24, 3]
Generated Node #0,0,0: 21:[24, 3] Operation: 31-28=3
Moving to Node #0,0,0
Current State: 21:[24, 3], Operations: ['77-53=24', '31-28=3']
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_3 | mult_heuristic |
[
6,
61,
18,
70
] | 99 | [
"6*18=108",
"70-61=9",
"108-9=99"
] | Current State: 99:[6, 61, 18, 70], Operations: []
Exploring Operation: 6*18=108, Resulting Numbers: [61, 70, 108]
Generated Node #2: [61, 70, 108] from Operation: 6*18=108
Current State: 99:[61, 70, 108], Operations: ['6*18=108']
Exploring Operation: 70-61=9, Resulting Numbers: [108, 9]
Generated Node #3: [108, 9] from Operation: 70-61=9
Current State: 99:[108, 9], Operations: ['6*18=108', '70-61=9']
Exploring Operation: 108-9=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[6, 61, 18, 70], Operations: []
Exploring Operation: 61-18=43, Resulting Numbers: [6, 70, 43]
Generated Node #0,0: 99:[6, 70, 43] Operation: 61-18=43
Exploring Operation: 70-61=9, Resulting Numbers: [6, 18, 9]
Generated Node #0,1: 99:[6, 18, 9] Operation: 70-61=9
Moving to Node #0,1
Current State: 99:[6, 18, 9], Operations: ['70-61=9']
Exploring Operation: 18/6=3, Resulting Numbers: [9, 3]
Generated Node #0,1,0: 99:[9, 3] Operation: 18/6=3
Exploring Operation: 18-6=12, Resulting Numbers: [9, 12]
Generated Node #0,1,1: 99:[9, 12] Operation: 18-6=12
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 99:[9, 3], Operations: ['70-61=9', '18/6=3']
Exploring Operation: 9+3=12, Resulting Numbers: [12]
12,99 unequal: No Solution
Exploring Operation: 9/3=3, Resulting Numbers: [3]
3,99 unequal: No Solution
No 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: 99:[9, 12], Operations: ['70-61=9', '18-6=12']
Exploring Operation: 9*12=108, Resulting Numbers: [108]
108,99 unequal: No Solution
Exploring Operation: 12-9=3, Resulting Numbers: [3]
3,99 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: 99:[6, 70, 43], Operations: ['61-18=43']
Exploring Operation: 70-43=27, Resulting Numbers: [6, 27]
Generated Node #0,0,0: 99:[6, 27] Operation: 70-43=27
Exploring Operation: 70+43=113, Resulting Numbers: [6, 113]
Generated Node #0,0,1: 99:[6, 113] Operation: 70+43=113
Moving to Node #0,0,0
Current State: 99:[6, 27], Operations: ['61-18=43', '70-43=27']
Exploring Operation: 6+27=33, Resulting Numbers: [33]
33,99 unequal: No Solution
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,99 unequal: No Solution
Moving to Node #0,0,1
Current State: 99:[6, 113], Operations: ['61-18=43', '70+43=113']
Exploring Operation: 113-6=107, Resulting Numbers: [107]
107,99 unequal: No Solution
Exploring Operation: 6+113=119, Resulting Numbers: [119]
119,99 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
78,
72,
77,
82
] | 32 | [
"78+82=160",
"77-72=5",
"160/5=32"
] | Current State: 32:[78, 72, 77, 82], Operations: []
Exploring Operation: 78+82=160, Resulting Numbers: [72, 77, 160]
Generated Node #2: [72, 77, 160] from Operation: 78+82=160
Current State: 32:[72, 77, 160], Operations: ['78+82=160']
Exploring Operation: 77-72=5, Resulting Numbers: [160, 5]
Generated Node #3: [160, 5] from Operation: 77-72=5
Current State: 32:[160, 5], Operations: ['78+82=160', '77-72=5']
Exploring Operation: 160/5=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[78, 72, 77, 82], Operations: []
Exploring Operation: 82-78=4, Resulting Numbers: [72, 77, 4]
Generated Node #0,0: 32:[72, 77, 4] Operation: 82-78=4
Moving to Node #0,0
Current State: 32:[72, 77, 4], Operations: ['82-78=4']
Exploring Operation: 77-72=5, Resulting Numbers: [4, 5]
Generated Node #0,0,0: 32:[4, 5] Operation: 77-72=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 32:[4, 5], Operations: ['82-78=4', '77-72=5']
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,32 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 |
[
35,
83,
99,
78
] | 76 | [
"83-78=5",
"35*5=175",
"175-99=76"
] | Current State: 76:[35, 83, 99, 78], Operations: []
Exploring Operation: 83-78=5, Resulting Numbers: [35, 99, 5]
Generated Node #2: [35, 99, 5] from Operation: 83-78=5
Current State: 76:[35, 99, 5], Operations: ['83-78=5']
Exploring Operation: 35*5=175, Resulting Numbers: [99, 175]
Generated Node #3: [99, 175] from Operation: 35*5=175
Current State: 76:[99, 175], Operations: ['83-78=5', '35*5=175']
Exploring Operation: 175-99=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[35, 83, 99, 78], Operations: []
Exploring Operation: 99-78=21, Resulting Numbers: [35, 83, 21]
Generated Node #0,0: 76:[35, 83, 21] Operation: 99-78=21
Exploring Operation: 99-83=16, Resulting Numbers: [35, 78, 16]
Generated Node #0,1: 76:[35, 78, 16] Operation: 99-83=16
Moving to Node #0,1
Current State: 76:[35, 78, 16], Operations: ['99-83=16']
Exploring Operation: 35-16=19, Resulting Numbers: [78, 19]
Generated Node #0,1,0: 76:[78, 19] Operation: 35-16=19
Exploring Operation: 78-35=43, Resulting Numbers: [16, 43]
Generated Node #0,1,1: 76:[16, 43] Operation: 78-35=43
Moving to Node #0,0
Current State: 76:[35, 83, 21], Operations: ['99-78=21']
Exploring Operation: 83-35=48, Resulting Numbers: [21, 48]
Generated Node #0,0,0: 76:[21, 48] Operation: 83-35=48
Exploring Operation: 35-21=14, Resulting Numbers: [83, 14]
Generated Node #0,0,1: 76:[83, 14] Operation: 35-21=14
Moving to Node #0,1,0
Current State: 76:[78, 19], Operations: ['99-83=16', '35-16=19']
Exploring Operation: 78-19=59, Resulting Numbers: [59]
59,76 unequal: No Solution
Exploring Operation: 78+19=97, Resulting Numbers: [97]
97,76 unequal: No Solution
Moving to Node #0,1,1
Current State: 76:[16, 43], Operations: ['99-83=16', '78-35=43']
Exploring Operation: 16+43=59, Resulting Numbers: [59]
59,76 unequal: No Solution
Exploring Operation: 43-16=27, Resulting Numbers: [27]
27,76 unequal: No Solution
Moving to Node #0,0,1
Current State: 76:[83, 14], Operations: ['99-78=21', '35-21=14']
Exploring Operation: 83-14=69, Resulting Numbers: [69]
69,76 unequal: No Solution
Exploring Operation: 83+14=97, Resulting Numbers: [97]
97,76 unequal: No Solution
Moving to Node #0,0,0
Current State: 76:[21, 48], Operations: ['99-78=21', '83-35=48']
Exploring Operation: 48-21=27, Resulting Numbers: [27]
27,76 unequal: No Solution
Exploring Operation: 21+48=69, Resulting Numbers: [69]
69,76 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
5,
61,
35,
53
] | 75 | [
"61-53=8",
"5*8=40",
"35+40=75"
] | Current State: 75:[5, 61, 35, 53], Operations: []
Exploring Operation: 61-53=8, Resulting Numbers: [5, 35, 8]
Generated Node #2: [5, 35, 8] from Operation: 61-53=8
Current State: 75:[5, 35, 8], Operations: ['61-53=8']
Exploring Operation: 5*8=40, Resulting Numbers: [35, 40]
Generated Node #3: [35, 40] from Operation: 5*8=40
Current State: 75:[35, 40], Operations: ['61-53=8', '5*8=40']
Exploring Operation: 35+40=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[5, 61, 35, 53], Operations: []
Exploring Operation: 53-35=18, Resulting Numbers: [5, 61, 18]
Generated Node #0,0: 75:[5, 61, 18] Operation: 53-35=18
Exploring Operation: 61-53=8, Resulting Numbers: [5, 35, 8]
Generated Node #0,1: 75:[5, 35, 8] Operation: 61-53=8
Exploring Operation: 35+53=88, Resulting Numbers: [5, 61, 88]
Generated Node #0,2: 75:[5, 61, 88] Operation: 35+53=88
Exploring Operation: 61-35=26, Resulting Numbers: [5, 53, 26]
Generated Node #0,3: 75:[5, 53, 26] Operation: 61-35=26
Exploring Operation: 35/5=7, Resulting Numbers: [61, 53, 7]
Generated Node #0,4: 75:[61, 53, 7] Operation: 35/5=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 75:[5, 35, 8], Operations: ['61-53=8']
Exploring Operation: 35-8=27, Resulting Numbers: [5, 27]
Generated Node #0,1,0: 75:[5, 27] Operation: 35-8=27
Exploring Operation: 35-5=30, Resulting Numbers: [8, 30]
Generated Node #0,1,1: 75:[8, 30] Operation: 35-5=30
Exploring Operation: 8-5=3, Resulting Numbers: [35, 3]
Generated Node #0,1,2: 75:[35, 3] Operation: 8-5=3
Exploring Operation: 35/5=7, Resulting Numbers: [8, 7]
Generated Node #0,1,3: 75:[8, 7] Operation: 35/5=7
Exploring Operation: 5+8=13, Resulting Numbers: [35, 13]
Generated Node #0,1,4: 75:[35, 13] Operation: 5+8=13
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 75:[5, 27], Operations: ['61-53=8', '35-8=27']
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,75 unequal: No Solution
Exploring Operation: 5*27=135, Resulting Numbers: [135]
135,75 unequal: No Solution
Exploring Operation: 5+27=32, Resulting Numbers: [32]
32,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 75:[8, 7], Operations: ['61-53=8', '35/5=7']
Exploring Operation: 8*7=56, Resulting Numbers: [56]
56,75 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,75 unequal: No Solution
Exploring Operation: 8+7=15, Resulting Numbers: [15]
15,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 75:[8, 30], Operations: ['61-53=8', '35-5=30']
Exploring Operation: 8+30=38, Resulting Numbers: [38]
38,75 unequal: No Solution
Exploring Operation: 30-8=22, Resulting Numbers: [22]
22,75 unequal: No Solution
Exploring Operation: 8*30=240, Resulting Numbers: [240]
240,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 75:[35, 3], Operations: ['61-53=8', '8-5=3']
Exploring Operation: 35+3=38, Resulting Numbers: [38]
38,75 unequal: No Solution
Exploring Operation: 35-3=32, Resulting Numbers: [32]
32,75 unequal: No Solution
Exploring Operation: 35*3=105, Resulting Numbers: [105]
105,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 75:[35, 13], Operations: ['61-53=8', '5+8=13']
Exploring Operation: 35*13=455, Resulting Numbers: [455]
455,75 unequal: No Solution
Exploring Operation: 35-13=22, Resulting Numbers: [22]
22,75 unequal: No Solution
Exploring Operation: 35+13=48, Resulting Numbers: [48]
48,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[5, 61, 18], Operations: ['53-35=18']
Exploring Operation: 5+18=23, Resulting Numbers: [61, 23]
Generated Node #0,0,0: 75:[61, 23] Operation: 5+18=23
Exploring Operation: 18-5=13, Resulting Numbers: [61, 13]
Generated Node #0,0,1: 75:[61, 13] Operation: 18-5=13
Exploring Operation: 5+61=66, Resulting Numbers: [18, 66]
Generated Node #0,0,2: 75:[18, 66] Operation: 5+61=66
Exploring Operation: 61+18=79, Resulting Numbers: [5, 79]
Generated Node #0,0,3: 75:[5, 79] Operation: 61+18=79
Exploring Operation: 61-18=43, Resulting Numbers: [5, 43]
Generated Node #0,0,4: 75:[5, 43] Operation: 61-18=43
Moving to Node #0,0,3
Current State: 75:[5, 79], Operations: ['53-35=18', '61+18=79']
Exploring Operation: 5+79=84, Resulting Numbers: [84]
84,75 unequal: No Solution
Exploring Operation: 79-5=74, Resulting Numbers: [74]
74,75 unequal: No Solution
Exploring Operation: 5*79=395, Resulting Numbers: [395]
395,75 unequal: No Solution
Moving to Node #0,0,2
Current State: 75:[18, 66], Operations: ['53-35=18', '5+61=66']
Exploring Operation: 18*66=1188, Resulting Numbers: [1188]
1188,75 unequal: No Solution
Exploring Operation: 18+66=84, Resulting Numbers: [84]
84,75 unequal: No Solution
Exploring Operation: 66-18=48, Resulting Numbers: [48]
48,75 unequal: No Solution
Moving to Node #0,0,0
Current State: 75:[61, 23], Operations: ['53-35=18', '5+18=23']
Exploring Operation: 61*23=1403, Resulting Numbers: [1403]
1403,75 unequal: No Solution
Exploring Operation: 61+23=84, Resulting Numbers: [84]
84,75 unequal: No Solution
Exploring Operation: 61-23=38, Resulting Numbers: [38]
38,75 unequal: No Solution
Moving to Node #0,0,1
Current State: 75:[61, 13], Operations: ['53-35=18', '18-5=13']
Exploring Operation: 61-13=48, Resulting Numbers: [48]
48,75 unequal: No Solution
Exploring Operation: 61+13=74, Resulting Numbers: [74]
74,75 unequal: No Solution
Exploring Operation: 61*13=793, Resulting Numbers: [793]
793,75 unequal: No Solution
Moving to Node #0,0,4
Current State: 75:[5, 43], Operations: ['53-35=18', '61-18=43']
Exploring Operation: 5*43=215, Resulting Numbers: [215]
215,75 unequal: No Solution
Exploring Operation: 43-5=38, Resulting Numbers: [38]
38,75 unequal: No Solution
Exploring Operation: 5+43=48, Resulting Numbers: [48]
48,75 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3
Current State: 75:[5, 53, 26], Operations: ['61-35=26']
Exploring Operation: 26-5=21, Resulting Numbers: [53, 21]
Generated Node #0,3,0: 75:[53, 21] Operation: 26-5=21
Exploring Operation: 5+53=58, Resulting Numbers: [26, 58]
Generated Node #0,3,1: 75:[26, 58] Operation: 5+53=58
Exploring Operation: 53-26=27, Resulting Numbers: [5, 27]
Generated Node #0,3,2: 75:[5, 27] Operation: 53-26=27
Exploring Operation: 53-5=48, Resulting Numbers: [26, 48]
Generated Node #0,3,3: 75:[26, 48] Operation: 53-5=48
Exploring Operation: 53+26=79, Resulting Numbers: [5, 79]
Generated Node #0,3,4: 75:[5, 79] Operation: 53+26=79
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 75:[5, 27], Operations: ['61-35=26', '53-26=27']
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,75 unequal: No Solution
Exploring Operation: 5*27=135, Resulting Numbers: [135]
135,75 unequal: No Solution
Exploring Operation: 5+27=32, Resulting Numbers: [32]
32,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,4
Current State: 75:[5, 79], Operations: ['61-35=26', '53+26=79']
Exploring Operation: 79-5=74, Resulting Numbers: [74]
74,75 unequal: No Solution
Exploring Operation: 5+79=84, Resulting Numbers: [84]
84,75 unequal: No Solution
Exploring Operation: 5*79=395, Resulting Numbers: [395]
395,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 75:[26, 58], Operations: ['61-35=26', '5+53=58']
Exploring Operation: 58-26=32, Resulting Numbers: [32]
32,75 unequal: No Solution
Exploring Operation: 26*58=1508, Resulting Numbers: [1508]
1508,75 unequal: No Solution
Exploring Operation: 26+58=84, Resulting Numbers: [84]
84,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 75:[26, 48], Operations: ['61-35=26', '53-5=48']
Exploring Operation: 26+48=74, Resulting Numbers: [74]
74,75 unequal: No Solution
Exploring Operation: 26*48=1248, Resulting Numbers: [1248]
1248,75 unequal: No Solution
Exploring Operation: 48-26=22, Resulting Numbers: [22]
22,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 75:[53, 21], Operations: ['61-35=26', '26-5=21']
Exploring Operation: 53-21=32, Resulting Numbers: [32]
32,75 unequal: No Solution
Exploring Operation: 53*21=1113, Resulting Numbers: [1113]
1113,75 unequal: No Solution
Exploring Operation: 53+21=74, Resulting Numbers: [74]
74,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 75:[5, 61, 88], Operations: ['35+53=88']
Exploring Operation: 61-5=56, Resulting Numbers: [88, 56]
Generated Node #0,2,0: 75:[88, 56] Operation: 61-5=56
Exploring Operation: 88-61=27, Resulting Numbers: [5, 27]
Generated Node #0,2,1: 75:[5, 27] Operation: 88-61=27
Exploring Operation: 5+61=66, Resulting Numbers: [88, 66]
Generated Node #0,2,2: 75:[88, 66] Operation: 5+61=66
Exploring Operation: 5+88=93, Resulting Numbers: [61, 93]
Generated Node #0,2,3: 75:[61, 93] Operation: 5+88=93
Exploring Operation: 88-5=83, Resulting Numbers: [61, 83]
Generated Node #0,2,4: 75:[61, 83] Operation: 88-5=83
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 75:[5, 27], Operations: ['35+53=88', '88-61=27']
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,75 unequal: No Solution
Exploring Operation: 5*27=135, Resulting Numbers: [135]
135,75 unequal: No Solution
Exploring Operation: 5+27=32, Resulting Numbers: [32]
32,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 75:[88, 66], Operations: ['35+53=88', '5+61=66']
Exploring Operation: 88*66=5808, Resulting Numbers: [5808]
5808,75 unequal: No Solution
Exploring Operation: 88+66=154, Resulting Numbers: [154]
154,75 unequal: No Solution
Exploring Operation: 88-66=22, Resulting Numbers: [22]
22,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 75:[61, 83], Operations: ['35+53=88', '88-5=83']
Exploring Operation: 61+83=144, Resulting Numbers: [144]
144,75 unequal: No Solution
Exploring Operation: 83-61=22, Resulting Numbers: [22]
22,75 unequal: No Solution
Exploring Operation: 61*83=5063, Resulting Numbers: [5063]
5063,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 75:[88, 56], Operations: ['35+53=88', '61-5=56']
Exploring Operation: 88-56=32, Resulting Numbers: [32]
32,75 unequal: No Solution
Exploring Operation: 88+56=144, Resulting Numbers: [144]
144,75 unequal: No Solution
Exploring Operation: 88*56=4928, Resulting Numbers: [4928]
4928,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 75:[61, 93], Operations: ['35+53=88', '5+88=93']
Exploring Operation: 93-61=32, Resulting Numbers: [32]
32,75 unequal: No Solution
Exploring Operation: 61+93=154, Resulting Numbers: [154]
154,75 unequal: No Solution
Exploring Operation: 61*93=5673, Resulting Numbers: [5673]
5673,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 75:[61, 53, 7], Operations: ['35/5=7']
Exploring Operation: 53-7=46, Resulting Numbers: [61, 46]
Generated Node #0,4,0: 75:[61, 46] Operation: 53-7=46
Exploring Operation: 53+7=60, Resulting Numbers: [61, 60]
Generated Node #0,4,1: 75:[61, 60] Operation: 53+7=60
Exploring Operation: 61+53=114, Resulting Numbers: [7, 114]
Generated Node #0,4,2: 75:[7, 114] Operation: 61+53=114
Exploring Operation: 61+7=68, Resulting Numbers: [53, 68]
Generated Node #0,4,3: 75:[53, 68] Operation: 61+7=68
Exploring Operation: 61-53=8, Resulting Numbers: [7, 8]
Generated Node #0,4,4: 75:[7, 8] Operation: 61-53=8
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 75:[7, 8], Operations: ['35/5=7', '61-53=8']
Exploring Operation: 7*8=56, Resulting Numbers: [56]
56,75 unequal: No Solution
Exploring Operation: 7+8=15, Resulting Numbers: [15]
15,75 unequal: No Solution
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 75:[61, 60], Operations: ['35/5=7', '53+7=60']
Exploring Operation: 61+60=121, Resulting Numbers: [121]
121,75 unequal: No Solution
Exploring Operation: 61-60=1, Resulting Numbers: [1]
1,75 unequal: No Solution
Exploring Operation: 61*60=3660, Resulting Numbers: [3660]
3660,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 75:[53, 68], Operations: ['35/5=7', '61+7=68']
Exploring Operation: 68-53=15, Resulting Numbers: [15]
15,75 unequal: No Solution
Exploring Operation: 53*68=3604, Resulting Numbers: [3604]
3604,75 unequal: No Solution
Exploring Operation: 53+68=121, Resulting Numbers: [121]
121,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 75:[61, 46], Operations: ['35/5=7', '53-7=46']
Exploring Operation: 61+46=107, Resulting Numbers: [107]
107,75 unequal: No Solution
Exploring Operation: 61-46=15, Resulting Numbers: [15]
15,75 unequal: No Solution
Exploring Operation: 61*46=2806, Resulting Numbers: [2806]
2806,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 75:[7, 114], Operations: ['35/5=7', '61+53=114']
Exploring Operation: 7+114=121, Resulting Numbers: [121]
121,75 unequal: No Solution
Exploring Operation: 114-7=107, Resulting Numbers: [107]
107,75 unequal: No Solution
Exploring Operation: 7*114=798, Resulting Numbers: [798]
798,75 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | sum_heuristic |
[
31,
52,
13,
84
] | 92 | [
"52-31=21",
"84-13=71",
"21+71=92"
] | Current State: 92:[31, 52, 13, 84], Operations: []
Exploring Operation: 52-31=21, Resulting Numbers: [13, 84, 21]
Generated Node #2: [13, 84, 21] from Operation: 52-31=21
Current State: 92:[13, 84, 21], Operations: ['52-31=21']
Exploring Operation: 84-13=71, Resulting Numbers: [21, 71]
Generated Node #3: [21, 71] from Operation: 84-13=71
Current State: 92:[21, 71], Operations: ['52-31=21', '84-13=71']
Exploring Operation: 21+71=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
| 4 | Current State: 92:[31, 52, 13, 84], Operations: []
Exploring Operation: 31-13=18, Resulting Numbers: [52, 84, 18]
Generated Node #0,0: 92:[52, 84, 18] Operation: 31-13=18
Exploring Operation: 52/13=4, Resulting Numbers: [31, 84, 4]
Generated Node #0,1: 92:[31, 84, 4] Operation: 52/13=4
Exploring Operation: 31+13=44, Resulting Numbers: [52, 84, 44]
Generated Node #0,2: 92:[52, 84, 44] Operation: 31+13=44
Exploring Operation: 52-31=21, Resulting Numbers: [13, 84, 21]
Generated Node #0,3: 92:[13, 84, 21] Operation: 52-31=21
Moving to Node #0,1
Current State: 92:[31, 84, 4], Operations: ['52/13=4']
Exploring Operation: 84/4=21, Resulting Numbers: [31, 21]
Generated Node #0,1,0: 92:[31, 21] Operation: 84/4=21
Exploring Operation: 84-31=53, Resulting Numbers: [4, 53]
Generated Node #0,1,1: 92:[4, 53] Operation: 84-31=53
Exploring Operation: 84+4=88, Resulting Numbers: [31, 88]
Generated Node #0,1,2: 92:[31, 88] Operation: 84+4=88
Exploring Operation: 31-4=27, Resulting Numbers: [84, 27]
Generated Node #0,1,3: 92:[84, 27] Operation: 31-4=27
Moving to Node #0,2
Current State: 92:[52, 84, 44], Operations: ['31+13=44']
Exploring Operation: 84-52=32, Resulting Numbers: [44, 32]
Generated Node #0,2,0: 92:[44, 32] Operation: 84-52=32
Exploring Operation: 52+44=96, Resulting Numbers: [84, 96]
Generated Node #0,2,1: 92:[84, 96] Operation: 52+44=96
Exploring Operation: 84-44=40, Resulting Numbers: [52, 40]
Generated Node #0,2,2: 92:[52, 40] Operation: 84-44=40
Exploring Operation: 52-44=8, Resulting Numbers: [84, 8]
Generated Node #0,2,3: 92:[84, 8] Operation: 52-44=8
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 92:[44, 32], Operations: ['31+13=44', '84-52=32']
Exploring Operation: 44-32=12, Resulting Numbers: [12]
12,92 unequal: No Solution
Exploring Operation: 44*32=1408, Resulting Numbers: [1408]
1408,92 unequal: No Solution
Exploring Operation: 44+32=76, Resulting Numbers: [76]
76,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 92:[84, 96], Operations: ['31+13=44', '52+44=96']
Exploring Operation: 84*96=8064, Resulting Numbers: [8064]
8064,92 unequal: No Solution
Exploring Operation: 96-84=12, Resulting Numbers: [12]
12,92 unequal: No Solution
Exploring Operation: 84+96=180, Resulting Numbers: [180]
180,92 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 92:[52, 40], Operations: ['31+13=44', '84-44=40']
Exploring Operation: 52+40=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Moving to Node #0
Current State: 92:[31, 52, 13, 84], Operations: []
Exploring Operation: 31+13=44, Resulting Numbers: [52, 84, 44]
Generated Node #0,2: 92:[52, 84, 44] Operation: 31+13=44
Moving to Node #0,2
Current State: 92:[52, 84, 44], Operations: ['31+13=44']
Exploring Operation: 84-44=40, Resulting Numbers: [52, 40]
Generated Node #0,2,2: 92:[52, 40] Operation: 84-44=40
Moving to Node #0,2,2
Current State: 92:[52, 40], Operations: ['31+13=44', '84-44=40']
Exploring Operation: 52+40=92, Resulting Numbers: [92]
92,92 equal: Goal Reached
Exit Sub Search at level 1
| 0.980035 | hs_4 | mult_heuristic |
[
1,
34,
2,
75
] | 58 | [
"1*34=34",
"34/2=17",
"75-17=58"
] | Current State: 58:[1, 34, 2, 75], Operations: []
Exploring Operation: 1*34=34, Resulting Numbers: [2, 75, 34]
Generated Node #2: [2, 75, 34] from Operation: 1*34=34
Current State: 58:[2, 75, 34], Operations: ['1*34=34']
Exploring Operation: 34/2=17, Resulting Numbers: [75, 17]
Generated Node #3: [75, 17] from Operation: 34/2=17
Current State: 58:[75, 17], Operations: ['1*34=34', '34/2=17']
Exploring Operation: 75-17=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[1, 34, 2, 75], Operations: []
Exploring Operation: 75-2=73, Resulting Numbers: [1, 34, 73]
Generated Node #0,0: 58:[1, 34, 73] Operation: 75-2=73
Exploring Operation: 34-2=32, Resulting Numbers: [1, 75, 32]
Generated Node #0,1: 58:[1, 75, 32] Operation: 34-2=32
Exploring Operation: 75-34=41, Resulting Numbers: [1, 2, 41]
Generated Node #0,2: 58:[1, 2, 41] Operation: 75-34=41
Exploring Operation: 75-1=74, Resulting Numbers: [34, 2, 74]
Generated Node #0,3: 58:[34, 2, 74] Operation: 75-1=74
Exploring Operation: 34-1=33, Resulting Numbers: [2, 75, 33]
Generated Node #0,4: 58:[2, 75, 33] Operation: 34-1=33
Moving to Node #0,2
Current State: 58:[1, 2, 41], Operations: ['75-34=41']
Exploring Operation: 41-1=40, Resulting Numbers: [2, 40]
Generated Node #0,2,0: 58:[2, 40] Operation: 41-1=40
Exploring Operation: 1*2=2, Resulting Numbers: [41, 2]
Generated Node #0,2,1: 58:[41, 2] Operation: 1*2=2
Exploring Operation: 1*41=41, Resulting Numbers: [2, 41]
Generated Node #0,2,2: 58:[2, 41] Operation: 1*41=41
Exploring Operation: 2/1=2, Resulting Numbers: [41, 2]
Generated Node #0,2,3: 58:[41, 2] Operation: 2/1=2
Exploring Operation: 41-2=39, Resulting Numbers: [1, 39]
Generated Node #0,2,4: 58:[1, 39] Operation: 41-2=39
Moving to Node #0,1
Current State: 58:[1, 75, 32], Operations: ['34-2=32']
Exploring Operation: 75-32=43, Resulting Numbers: [1, 43]
Generated Node #0,1,0: 58:[1, 43] Operation: 75-32=43
Exploring Operation: 75-1=74, Resulting Numbers: [32, 74]
Generated Node #0,1,1: 58:[32, 74] Operation: 75-1=74
Exploring Operation: 1*75=75, Resulting Numbers: [32, 75]
Generated Node #0,1,2: 58:[32, 75] Operation: 1*75=75
Exploring Operation: 32-1=31, Resulting Numbers: [75, 31]
Generated Node #0,1,3: 58:[75, 31] Operation: 32-1=31
Exploring Operation: 75/1=75, Resulting Numbers: [32, 75]
Generated Node #0,1,4: 58:[32, 75] Operation: 75/1=75
Moving to Node #0,4
Current State: 58:[2, 75, 33], Operations: ['34-1=33']
Exploring Operation: 75-2=73, Resulting Numbers: [33, 73]
Generated Node #0,4,0: 58:[33, 73] Operation: 75-2=73
Exploring Operation: 2+75=77, Resulting Numbers: [33, 77]
Generated Node #0,4,1: 58:[33, 77] Operation: 2+75=77
Exploring Operation: 2+33=35, Resulting Numbers: [75, 35]
Generated Node #0,4,2: 58:[75, 35] Operation: 2+33=35
Exploring Operation: 33-2=31, Resulting Numbers: [75, 31]
Generated Node #0,4,3: 58:[75, 31] Operation: 33-2=31
Exploring Operation: 75-33=42, Resulting Numbers: [2, 42]
Generated Node #0,4,4: 58:[2, 42] Operation: 75-33=42
Moving to Node #0,0
Current State: 58:[1, 34, 73], Operations: ['75-2=73']
Exploring Operation: 1*34=34, Resulting Numbers: [73, 34]
Generated Node #0,0,0: 58:[73, 34] Operation: 1*34=34
Exploring Operation: 73-34=39, Resulting Numbers: [1, 39]
Generated Node #0,0,1: 58:[1, 39] Operation: 73-34=39
Exploring Operation: 34/1=34, Resulting Numbers: [73, 34]
Generated Node #0,0,2: 58:[73, 34] Operation: 34/1=34
Exploring Operation: 73-1=72, Resulting Numbers: [34, 72]
Generated Node #0,0,3: 58:[34, 72] Operation: 73-1=72
Exploring Operation: 34-1=33, Resulting Numbers: [73, 33]
Generated Node #0,0,4: 58:[73, 33] Operation: 34-1=33
Moving to Node #0,3
Current State: 58:[34, 2, 74], Operations: ['75-1=74']
Exploring Operation: 74-34=40, Resulting Numbers: [2, 40]
Generated Node #0,3,0: 58:[2, 40] Operation: 74-34=40
Exploring Operation: 34-2=32, Resulting Numbers: [74, 32]
Generated Node #0,3,1: 58:[74, 32] Operation: 34-2=32
Exploring Operation: 74-2=72, Resulting Numbers: [34, 72]
Generated Node #0,3,2: 58:[34, 72] Operation: 74-2=72
Exploring Operation: 34+2=36, Resulting Numbers: [74, 36]
Generated Node #0,3,3: 58:[74, 36] Operation: 34+2=36
Exploring Operation: 74/2=37, Resulting Numbers: [34, 37]
Generated Node #0,3,4: 58:[34, 37] Operation: 74/2=37
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 58:[2, 40], Operations: ['75-1=74', '74-34=40']
Exploring Operation: 2*40=80, Resulting Numbers: [80]
80,58 unequal: No Solution
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,58 unequal: No Solution
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,58 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,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,3,4
Current State: 58:[34, 37], Operations: ['75-1=74', '74/2=37']
Exploring Operation: 37-34=3, Resulting Numbers: [3]
3,58 unequal: No Solution
Exploring Operation: 34+37=71, Resulting Numbers: [71]
71,58 unequal: No Solution
Exploring Operation: 34*37=1258, Resulting Numbers: [1258]
1258,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,3,1
Current State: 58:[74, 32], Operations: ['75-1=74', '34-2=32']
Exploring Operation: 74-32=42, Resulting Numbers: [42]
42,58 unequal: No Solution
Exploring Operation: 74+32=106, Resulting Numbers: [106]
106,58 unequal: No Solution
Exploring Operation: 74*32=2368, Resulting Numbers: [2368]
2368,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,3,2
Current State: 58:[34, 72], Operations: ['75-1=74', '74-2=72']
Exploring Operation: 72-34=38, Resulting Numbers: [38]
38,58 unequal: No Solution
Exploring Operation: 34+72=106, Resulting Numbers: [106]
106,58 unequal: No Solution
Exploring Operation: 34*72=2448, Resulting Numbers: [2448]
2448,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,3,3
Current State: 58:[74, 36], Operations: ['75-1=74', '34+2=36']
Exploring Operation: 74+36=110, Resulting Numbers: [110]
110,58 unequal: No Solution
Exploring Operation: 74*36=2664, Resulting Numbers: [2664]
2664,58 unequal: No Solution
Exploring Operation: 74-36=38, Resulting Numbers: [38]
38,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2,0
Current State: 58:[2, 40], Operations: ['75-34=41', '41-1=40']
Exploring Operation: 40/2=20, Resulting Numbers: [20]
20,58 unequal: No Solution
Exploring Operation: 2*40=80, Resulting Numbers: [80]
80,58 unequal: No Solution
Exploring Operation: 40-2=38, Resulting Numbers: [38]
38,58 unequal: No Solution
Exploring Operation: 2+40=42, Resulting Numbers: [42]
42,58 unequal: No Solution
Moving to Node #0,2,4
Current State: 58:[1, 39], Operations: ['75-34=41', '41-2=39']
Exploring Operation: 1+39=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,58 unequal: No Solution
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,58 unequal: No Solution
Exploring Operation: 1*39=39, Resulting Numbers: [39]
39,58 unequal: No Solution
Moving to Node #0,0,1
Current State: 58:[1, 39], Operations: ['75-2=73', '73-34=39']
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,58 unequal: No Solution
Exploring Operation: 1+39=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,58 unequal: No Solution
Exploring Operation: 1*39=39, Resulting Numbers: [39]
39,58 unequal: No Solution
Moving to Node #0,2,1
Current State: 58:[41, 2], Operations: ['75-34=41', '1*2=2']
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,58 unequal: No Solution
Exploring Operation: 41+2=43, Resulting Numbers: [43]
43,58 unequal: No Solution
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,58 unequal: No Solution
Moving to Node #0,2,3
Current State: 58:[41, 2], Operations: ['75-34=41', '2/1=2']
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,58 unequal: No Solution
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,58 unequal: No Solution
Exploring Operation: 41+2=43, Resulting Numbers: [43]
43,58 unequal: No Solution
Moving to Node #0,2,2
Current State: 58:[2, 41], Operations: ['75-34=41', '1*41=41']
Exploring Operation: 2*41=82, Resulting Numbers: [82]
82,58 unequal: No Solution
Exploring Operation: 2+41=43, Resulting Numbers: [43]
43,58 unequal: No Solution
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,58 unequal: No Solution
Moving to Node #0,4,4
Current State: 58:[2, 42], Operations: ['34-1=33', '75-33=42']
Exploring Operation: 2*42=84, Resulting Numbers: [84]
84,58 unequal: No Solution
Exploring Operation: 42/2=21, Resulting Numbers: [21]
21,58 unequal: No Solution
Exploring Operation: 2+42=44, Resulting Numbers: [44]
44,58 unequal: No Solution
Exploring Operation: 42-2=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Moving to Node #0,1,0
Current State: 58:[1, 43], Operations: ['34-2=32', '75-32=43']
Exploring Operation: 43/1=43, Resulting Numbers: [43]
43,58 unequal: No Solution
Exploring Operation: 43-1=42, Resulting Numbers: [42]
42,58 unequal: No Solution
Exploring Operation: 1+43=44, Resulting Numbers: [44]
44,58 unequal: No Solution
Exploring Operation: 1*43=43, Resulting Numbers: [43]
43,58 unequal: No Solution
Moving to Node #0,1,1
Current State: 58:[32, 74], Operations: ['34-2=32', '75-1=74']
Exploring Operation: 32*74=2368, Resulting Numbers: [2368]
2368,58 unequal: No Solution
Exploring Operation: 32+74=106, Resulting Numbers: [106]
106,58 unequal: No Solution
Exploring Operation: 74-32=42, Resulting Numbers: [42]
42,58 unequal: No Solution
Moving to Node #0,4,3
Current State: 58:[75, 31], Operations: ['34-1=33', '33-2=31']
Exploring Operation: 75-31=44, Resulting Numbers: [44]
44,58 unequal: No Solution
Exploring Operation: 75+31=106, Resulting Numbers: [106]
106,58 unequal: No Solution
Exploring Operation: 75*31=2325, Resulting Numbers: [2325]
2325,58 unequal: No Solution
Moving to Node #0,4,0
Current State: 58:[33, 73], Operations: ['34-1=33', '75-2=73']
Exploring Operation: 33*73=2409, Resulting Numbers: [2409]
2409,58 unequal: No Solution
Exploring Operation: 33+73=106, Resulting Numbers: [106]
106,58 unequal: No Solution
Exploring Operation: 73-33=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Moving to Node #0,1,3
Current State: 58:[75, 31], Operations: ['34-2=32', '32-1=31']
Exploring Operation: 75-31=44, Resulting Numbers: [44]
44,58 unequal: No Solution
Exploring Operation: 75+31=106, Resulting Numbers: [106]
106,58 unequal: No Solution
Exploring Operation: 75*31=2325, Resulting Numbers: [2325]
2325,58 unequal: No Solution
Moving to Node #0,0,4
Current State: 58:[73, 33], Operations: ['75-2=73', '34-1=33']
Exploring Operation: 73+33=106, Resulting Numbers: [106]
106,58 unequal: No Solution
Exploring Operation: 73*33=2409, Resulting Numbers: [2409]
2409,58 unequal: No Solution
Exploring Operation: 73-33=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Moving to Node #0,0,3
Current State: 58:[34, 72], Operations: ['75-2=73', '73-1=72']
Exploring Operation: 34+72=106, Resulting Numbers: [106]
106,58 unequal: No Solution
Exploring Operation: 72-34=38, Resulting Numbers: [38]
38,58 unequal: No Solution
Exploring Operation: 34*72=2448, Resulting Numbers: [2448]
2448,58 unequal: No Solution
Moving to Node #0,1,2
Current State: 58:[32, 75], Operations: ['34-2=32', '1*75=75']
Exploring Operation: 32*75=2400, Resulting Numbers: [2400]
2400,58 unequal: No Solution
Exploring Operation: 75-32=43, Resulting Numbers: [43]
43,58 unequal: No Solution
Exploring Operation: 32+75=107, Resulting Numbers: [107]
107,58 unequal: No Solution
Moving to Node #0,0,0
Current State: 58:[73, 34], Operations: ['75-2=73', '1*34=34']
Exploring Operation: 73-34=39, Resulting Numbers: [39]
39,58 unequal: No Solution
Exploring Operation: 73+34=107, Resulting Numbers: [107]
107,58 unequal: No Solution
Exploring Operation: 73*34=2482, Resulting Numbers: [2482]
2482,58 unequal: No Solution
Moving to Node #0,0,2
Current State: 58:[73, 34], Operations: ['75-2=73', '34/1=34']
Exploring Operation: 73-34=39, Resulting Numbers: [39]
39,58 unequal: No Solution
Exploring Operation: 73*34=2482, Resulting Numbers: [2482]
2482,58 unequal: No Solution
Exploring Operation: 73+34=107, Resulting Numbers: [107]
107,58 unequal: No Solution
Moving to Node #0,1,4
Current State: 58:[32, 75], Operations: ['34-2=32', '75/1=75']
Exploring Operation: 32*75=2400, Resulting Numbers: [2400]
2400,58 unequal: No Solution
Exploring Operation: 32+75=107, Resulting Numbers: [107]
107,58 unequal: No Solution
Exploring Operation: 75-32=43, Resulting Numbers: [43]
43,58 unequal: No Solution
Moving to Node #0,4,1
Current State: 58:[33, 77], Operations: ['34-1=33', '2+75=77']
Exploring Operation: 77-33=44, Resulting Numbers: [44]
44,58 unequal: No Solution
Exploring Operation: 33*77=2541, Resulting Numbers: [2541]
2541,58 unequal: No Solution
Exploring Operation: 33+77=110, Resulting Numbers: [110]
110,58 unequal: No Solution
Moving to Node #0,4,2
Current State: 58:[75, 35], Operations: ['34-1=33', '2+33=35']
Exploring Operation: 75+35=110, Resulting Numbers: [110]
110,58 unequal: No Solution
Exploring Operation: 75-35=40, Resulting Numbers: [40]
40,58 unequal: No Solution
Exploring Operation: 75*35=2625, Resulting Numbers: [2625]
2625,58 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
37,
40,
82,
85
] | 71 | [
"85-82=3",
"37*3=111",
"111-40=71"
] | Current State: 71:[37, 40, 82, 85], Operations: []
Exploring Operation: 85-82=3, Resulting Numbers: [37, 40, 3]
Generated Node #2: [37, 40, 3] from Operation: 85-82=3
Current State: 71:[37, 40, 3], Operations: ['85-82=3']
Exploring Operation: 37*3=111, Resulting Numbers: [40, 111]
Generated Node #3: [40, 111] from Operation: 37*3=111
Current State: 71:[40, 111], Operations: ['85-82=3', '37*3=111']
Exploring Operation: 111-40=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[37, 40, 82, 85], Operations: []
Exploring Operation: 37+40=77, Resulting Numbers: [82, 85, 77]
Generated Node #0,0: 71:[82, 85, 77] Operation: 37+40=77
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[82, 85, 77], Operations: ['37+40=77']
Exploring Operation: 85-82=3, Resulting Numbers: [77, 3]
Generated Node #0,0,0: 71:[77, 3] Operation: 85-82=3
Moving to Node #0,0,0
Current State: 71:[77, 3], Operations: ['37+40=77', '85-82=3']
Exploring Operation: 77-3=74, Resulting Numbers: [74]
74,71 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
30,
32,
87,
50
] | 62 | [
"32-30=2",
"50/2=25",
"87-25=62"
] | Current State: 62:[30, 32, 87, 50], Operations: []
Exploring Operation: 32-30=2, Resulting Numbers: [87, 50, 2]
Generated Node #2: [87, 50, 2] from Operation: 32-30=2
Current State: 62:[87, 50, 2], Operations: ['32-30=2']
Exploring Operation: 50/2=25, Resulting Numbers: [87, 25]
Generated Node #3: [87, 25] from Operation: 50/2=25
Current State: 62:[87, 25], Operations: ['32-30=2', '50/2=25']
Exploring Operation: 87-25=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[30, 32, 87, 50], Operations: []
Exploring Operation: 87-30=57, Resulting Numbers: [32, 50, 57]
Generated Node #0,0: 62:[32, 50, 57] Operation: 87-30=57
Exploring Operation: 87-50=37, Resulting Numbers: [30, 32, 37]
Generated Node #0,1: 62:[30, 32, 37] Operation: 87-50=37
Moving to Node #0,1
Current State: 62:[30, 32, 37], Operations: ['87-50=37']
Exploring Operation: 37-32=5, Resulting Numbers: [30, 5]
Generated Node #0,1,0: 62:[30, 5] Operation: 37-32=5
Exploring Operation: 30+32=62, Resulting Numbers: [37, 62]
Generated Node #0,1,1: 62:[37, 62] Operation: 30+32=62
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 62:[30, 5], Operations: ['87-50=37', '37-32=5']
Exploring Operation: 30+5=35, Resulting Numbers: [35]
35,62 unequal: No Solution
Exploring Operation: 30/5=6, Resulting Numbers: [6]
6,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 62:[37, 62], Operations: ['87-50=37', '30+32=62']
Exploring Operation: 37+62=99, Resulting Numbers: [99]
99,62 unequal: No Solution
Exploring Operation: 62-37=25, Resulting Numbers: [25]
25,62 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: 62:[32, 50, 57], Operations: ['87-30=57']
Exploring Operation: 50-32=18, Resulting Numbers: [57, 18]
Generated Node #0,0,0: 62:[57, 18] Operation: 50-32=18
Exploring Operation: 57-50=7, Resulting Numbers: [32, 7]
Generated Node #0,0,1: 62:[32, 7] Operation: 57-50=7
Moving to Node #0,0,1
Current State: 62:[32, 7], Operations: ['87-30=57', '57-50=7']
Exploring Operation: 32-7=25, Resulting Numbers: [25]
25,62 unequal: No Solution
Exploring Operation: 32+7=39, Resulting Numbers: [39]
39,62 unequal: No Solution
Moving to Node #0,0,0
Current State: 62:[57, 18], Operations: ['87-30=57', '50-32=18']
Exploring Operation: 57+18=75, Resulting Numbers: [75]
75,62 unequal: No Solution
Exploring Operation: 57-18=39, Resulting Numbers: [39]
39,62 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
15,
71,
33,
38
] | 81 | [
"15+71=86",
"38-33=5",
"86-5=81"
] | Current State: 81:[15, 71, 33, 38], Operations: []
Exploring Operation: 15+71=86, Resulting Numbers: [33, 38, 86]
Generated Node #2: [33, 38, 86] from Operation: 15+71=86
Current State: 81:[33, 38, 86], Operations: ['15+71=86']
Exploring Operation: 38-33=5, Resulting Numbers: [86, 5]
Generated Node #3: [86, 5] from Operation: 38-33=5
Current State: 81:[86, 5], Operations: ['15+71=86', '38-33=5']
Exploring Operation: 86-5=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[15, 71, 33, 38], Operations: []
Exploring Operation: 71-38=33, Resulting Numbers: [15, 33, 33]
Generated Node #0,0: 81:[15, 33, 33] Operation: 71-38=33
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[15, 33, 33], Operations: ['71-38=33']
Exploring Operation: 33/33=1, Resulting Numbers: [15, 1]
Generated Node #0,0,0: 81:[15, 1] Operation: 33/33=1
Moving to Node #0,0,0
Current State: 81:[15, 1], Operations: ['71-38=33', '33/33=1']
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,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 |
[
34,
4,
8,
31
] | 20 | [
"34-8=26",
"31-26=5",
"4*5=20"
] | Current State: 20:[34, 4, 8, 31], Operations: []
Exploring Operation: 34-8=26, Resulting Numbers: [4, 31, 26]
Generated Node #2: [4, 31, 26] from Operation: 34-8=26
Current State: 20:[4, 31, 26], Operations: ['34-8=26']
Exploring Operation: 31-26=5, Resulting Numbers: [4, 5]
Generated Node #3: [4, 5] from Operation: 31-26=5
Current State: 20:[4, 5], Operations: ['34-8=26', '31-26=5']
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
| 4 | Current State: 20:[34, 4, 8, 31], Operations: []
Exploring Operation: 34-8=26, Resulting Numbers: [4, 31, 26]
Generated Node #0,0: 20:[4, 31, 26] Operation: 34-8=26
Exploring Operation: 34-31=3, Resulting Numbers: [4, 8, 3]
Generated Node #0,1: 20:[4, 8, 3] Operation: 34-31=3
Start Sub Search at level 1: Moving to Node #0,1
Current State: 20:[4, 8, 3], Operations: ['34-31=3']
Exploring Operation: 8-3=5, Resulting Numbers: [4, 5]
Generated Node #0,1,0: 20:[4, 5] Operation: 8-3=5
Exploring Operation: 8-4=4, Resulting Numbers: [3, 4]
Generated Node #0,1,1: 20:[3, 4] Operation: 8-4=4
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 20:[4, 5], Operations: ['34-31=3', '8-3=5']
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,20 unequal: No Solution
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Moving to Node #0
Current State: 20:[34, 4, 8, 31], Operations: []
Exploring Operation: 34-31=3, Resulting Numbers: [4, 8, 3]
Generated Node #0,1: 20:[4, 8, 3] Operation: 34-31=3
Moving to Node #0,1
Current State: 20:[4, 8, 3], Operations: ['34-31=3']
Exploring Operation: 8-3=5, Resulting Numbers: [4, 5]
Generated Node #0,1,0: 20:[4, 5] Operation: 8-3=5
Moving to Node #0,1,0
Current State: 20:[4, 5], Operations: ['34-31=3', '8-3=5']
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,20 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
44,
51,
8,
5
] | 96 | [
"51-44=7",
"5+7=12",
"8*12=96"
] | Current State: 96:[44, 51, 8, 5], Operations: []
Exploring Operation: 51-44=7, Resulting Numbers: [8, 5, 7]
Generated Node #2: [8, 5, 7] from Operation: 51-44=7
Current State: 96:[8, 5, 7], Operations: ['51-44=7']
Exploring Operation: 5+7=12, Resulting Numbers: [8, 12]
Generated Node #3: [8, 12] from Operation: 5+7=12
Current State: 96:[8, 12], Operations: ['51-44=7', '5+7=12']
Exploring Operation: 8*12=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[44, 51, 8, 5], Operations: []
Exploring Operation: 44+51=95, Resulting Numbers: [8, 5, 95]
Generated Node #0,0: 96:[8, 5, 95] Operation: 44+51=95
Moving to Node #0,0
Current State: 96:[8, 5, 95], Operations: ['44+51=95']
Exploring Operation: 8-5=3, Resulting Numbers: [95, 3]
Generated Node #0,0,0: 96:[95, 3] Operation: 8-5=3
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 96:[95, 3], Operations: ['44+51=95', '8-5=3']
Exploring Operation: 95+3=98, Resulting Numbers: [98]
98,96 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,
1,
80,
16
] | 10 | [
"2*1=2",
"80/16=5",
"2*5=10"
] | Current State: 10:[2, 1, 80, 16], Operations: []
Exploring Operation: 2*1=2, Resulting Numbers: [80, 16, 2]
Generated Node #2: [80, 16, 2] from Operation: 2*1=2
Current State: 10:[80, 16, 2], Operations: ['2*1=2']
Exploring Operation: 80/16=5, Resulting Numbers: [2, 5]
Generated Node #3: [2, 5] from Operation: 80/16=5
Current State: 10:[2, 5], Operations: ['2*1=2', '80/16=5']
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[2, 1, 80, 16], Operations: []
Exploring Operation: 80/2=40, Resulting Numbers: [1, 16, 40]
Generated Node #0,0: 10:[1, 16, 40] Operation: 80/2=40
Exploring Operation: 80/16=5, Resulting Numbers: [2, 1, 5]
Generated Node #0,1: 10:[2, 1, 5] Operation: 80/16=5
Exploring Operation: 80-16=64, Resulting Numbers: [2, 1, 64]
Generated Node #0,2: 10:[2, 1, 64] Operation: 80-16=64
Exploring Operation: 16/2=8, Resulting Numbers: [1, 80, 8]
Generated Node #0,3: 10:[1, 80, 8] Operation: 16/2=8
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[2, 1, 5], Operations: ['80/16=5']
Exploring Operation: 1*5=5, Resulting Numbers: [2, 5]
Generated Node #0,1,0: 10:[2, 5] Operation: 1*5=5
Exploring Operation: 2*1=2, Resulting Numbers: [5, 2]
Generated Node #0,1,1: 10:[5, 2] Operation: 2*1=2
Exploring Operation: 5/1=5, Resulting Numbers: [2, 5]
Generated Node #0,1,2: 10:[2, 5] Operation: 5/1=5
Exploring Operation: 2/1=2, Resulting Numbers: [5, 2]
Generated Node #0,1,3: 10:[5, 2] Operation: 2/1=2
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 10:[2, 5], Operations: ['80/16=5', '1*5=5']
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[2, 1, 80, 16], Operations: []
Exploring Operation: 80/16=5, Resulting Numbers: [2, 1, 5]
Generated Node #0,1: 10:[2, 1, 5] Operation: 80/16=5
Moving to Node #0,1
Current State: 10:[2, 1, 5], Operations: ['80/16=5']
Exploring Operation: 1*5=5, Resulting Numbers: [2, 5]
Generated Node #0,1,0: 10:[2, 5] Operation: 1*5=5
Moving to Node #0,1,0
Current State: 10:[2, 5], Operations: ['80/16=5', '1*5=5']
Exploring Operation: 2*5=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
76,
32,
59,
68
] | 19 | [
"76+32=108",
"59+68=127",
"127-108=19"
] | Current State: 19:[76, 32, 59, 68], Operations: []
Exploring Operation: 76+32=108, Resulting Numbers: [59, 68, 108]
Generated Node #2: [59, 68, 108] from Operation: 76+32=108
Current State: 19:[59, 68, 108], Operations: ['76+32=108']
Exploring Operation: 59+68=127, Resulting Numbers: [108, 127]
Generated Node #3: [108, 127] from Operation: 59+68=127
Current State: 19:[108, 127], Operations: ['76+32=108', '59+68=127']
Exploring Operation: 127-108=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[76, 32, 59, 68], Operations: []
Exploring Operation: 76-59=17, Resulting Numbers: [32, 68, 17]
Generated Node #0,0: 19:[32, 68, 17] Operation: 76-59=17
Exploring Operation: 76-32=44, Resulting Numbers: [59, 68, 44]
Generated Node #0,1: 19:[59, 68, 44] Operation: 76-32=44
Exploring Operation: 76-68=8, Resulting Numbers: [32, 59, 8]
Generated Node #0,2: 19:[32, 59, 8] Operation: 76-68=8
Exploring Operation: 68-59=9, Resulting Numbers: [76, 32, 9]
Generated Node #0,3: 19:[76, 32, 9] Operation: 68-59=9
Moving to Node #0,0
Current State: 19:[32, 68, 17], Operations: ['76-59=17']
Exploring Operation: 32-17=15, Resulting Numbers: [68, 15]
Generated Node #0,0,0: 19:[68, 15] Operation: 32-17=15
Exploring Operation: 68/17=4, Resulting Numbers: [32, 4]
Generated Node #0,0,1: 19:[32, 4] Operation: 68/17=4
Exploring Operation: 68-32=36, Resulting Numbers: [17, 36]
Generated Node #0,0,2: 19:[17, 36] Operation: 68-32=36
Exploring Operation: 68-17=51, Resulting Numbers: [32, 51]
Generated Node #0,0,3: 19:[32, 51] Operation: 68-17=51
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 19:[17, 36], Operations: ['76-59=17', '68-32=36']
Exploring Operation: 17+36=53, Resulting Numbers: [53]
53,19 unequal: No Solution
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[76, 32, 59, 68], Operations: []
Exploring Operation: 76-59=17, Resulting Numbers: [32, 68, 17]
Generated Node #0,0: 19:[32, 68, 17] Operation: 76-59=17
Moving to Node #0,0
Current State: 19:[32, 68, 17], Operations: ['76-59=17']
Exploring Operation: 68-32=36, Resulting Numbers: [17, 36]
Generated Node #0,0,2: 19:[17, 36] Operation: 68-32=36
Moving to Node #0,0,2
Current State: 19:[17, 36], Operations: ['76-59=17', '68-32=36']
Exploring Operation: 36-17=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
56,
1,
12,
18
] | 86 | [
"56*1=56",
"12+18=30",
"56+30=86"
] | Current State: 86:[56, 1, 12, 18], Operations: []
Exploring Operation: 56*1=56, Resulting Numbers: [12, 18, 56]
Generated Node #2: [12, 18, 56] from Operation: 56*1=56
Current State: 86:[12, 18, 56], Operations: ['56*1=56']
Exploring Operation: 12+18=30, Resulting Numbers: [56, 30]
Generated Node #3: [56, 30] from Operation: 12+18=30
Current State: 86:[56, 30], Operations: ['56*1=56', '12+18=30']
Exploring Operation: 56+30=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[56, 1, 12, 18], Operations: []
Exploring Operation: 56-18=38, Resulting Numbers: [1, 12, 38]
Generated Node #0,0: 86:[1, 12, 38] Operation: 56-18=38
Exploring Operation: 56-12=44, Resulting Numbers: [1, 18, 44]
Generated Node #0,1: 86:[1, 18, 44] Operation: 56-12=44
Exploring Operation: 18-12=6, Resulting Numbers: [56, 1, 6]
Generated Node #0,2: 86:[56, 1, 6] Operation: 18-12=6
Exploring Operation: 12+18=30, Resulting Numbers: [56, 1, 30]
Generated Node #0,3: 86:[56, 1, 30] Operation: 12+18=30
Exploring Operation: 56+18=74, Resulting Numbers: [1, 12, 74]
Generated Node #0,4: 86:[1, 12, 74] Operation: 56+18=74
Start Sub Search at level 1: Moving to Node #0,0
Current State: 86:[1, 12, 38], Operations: ['56-18=38']
Exploring Operation: 12+38=50, Resulting Numbers: [1, 50]
Generated Node #0,0,0: 86:[1, 50] Operation: 12+38=50
Exploring Operation: 1*12=12, Resulting Numbers: [38, 12]
Generated Node #0,0,1: 86:[38, 12] Operation: 1*12=12
Exploring Operation: 1+38=39, Resulting Numbers: [12, 39]
Generated Node #0,0,2: 86:[12, 39] Operation: 1+38=39
Exploring Operation: 12-1=11, Resulting Numbers: [38, 11]
Generated Node #0,0,3: 86:[38, 11] Operation: 12-1=11
Exploring Operation: 12/1=12, Resulting Numbers: [38, 12]
Generated Node #0,0,4: 86:[38, 12] Operation: 12/1=12
Moving to Node #0,0,0
Current State: 86:[1, 50], Operations: ['56-18=38', '12+38=50']
Exploring Operation: 1*50=50, Resulting Numbers: [50]
50,86 unequal: No Solution
Exploring Operation: 50-1=49, Resulting Numbers: [49]
49,86 unequal: No Solution
Exploring Operation: 1+50=51, Resulting Numbers: [51]
51,86 unequal: No Solution
Exploring Operation: 50/1=50, Resulting Numbers: [50]
50,86 unequal: No Solution
Moving to Node #0,0,3
Current State: 86:[38, 11], Operations: ['56-18=38', '12-1=11']
Exploring Operation: 38+11=49, Resulting Numbers: [49]
49,86 unequal: No Solution
Exploring Operation: 38-11=27, Resulting Numbers: [27]
27,86 unequal: No Solution
Exploring Operation: 38*11=418, Resulting Numbers: [418]
418,86 unequal: No Solution
Moving to Node #0,0,2
Current State: 86:[12, 39], Operations: ['56-18=38', '1+38=39']
Exploring Operation: 12+39=51, Resulting Numbers: [51]
51,86 unequal: No Solution
Exploring Operation: 12*39=468, Resulting Numbers: [468]
468,86 unequal: No Solution
Exploring Operation: 39-12=27, Resulting Numbers: [27]
27,86 unequal: No Solution
Moving to Node #0,0,1
Current State: 86:[38, 12], Operations: ['56-18=38', '1*12=12']
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,86 unequal: No Solution
Exploring Operation: 38*12=456, Resulting Numbers: [456]
456,86 unequal: No Solution
Exploring Operation: 38+12=50, Resulting Numbers: [50]
50,86 unequal: No Solution
Moving to Node #0,0,4
Current State: 86:[38, 12], Operations: ['56-18=38', '12/1=12']
Exploring Operation: 38*12=456, Resulting Numbers: [456]
456,86 unequal: No Solution
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,86 unequal: No Solution
Exploring Operation: 38+12=50, Resulting Numbers: [50]
50,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 86:[1, 18, 44], Operations: ['56-12=44']
Exploring Operation: 18-1=17, Resulting Numbers: [44, 17]
Generated Node #0,1,0: 86:[44, 17] Operation: 18-1=17
Exploring Operation: 18/1=18, Resulting Numbers: [44, 18]
Generated Node #0,1,1: 86:[44, 18] Operation: 18/1=18
Exploring Operation: 44-1=43, Resulting Numbers: [18, 43]
Generated Node #0,1,2: 86:[18, 43] Operation: 44-1=43
Exploring Operation: 1*18=18, Resulting Numbers: [44, 18]
Generated Node #0,1,3: 86:[44, 18] Operation: 1*18=18
Exploring Operation: 1*44=44, Resulting Numbers: [18, 44]
Generated Node #0,1,4: 86:[18, 44] Operation: 1*44=44
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 86:[44, 17], Operations: ['56-12=44', '18-1=17']
Exploring Operation: 44*17=748, Resulting Numbers: [748]
748,86 unequal: No Solution
Exploring Operation: 44-17=27, Resulting Numbers: [27]
27,86 unequal: No Solution
Exploring Operation: 44+17=61, Resulting Numbers: [61]
61,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 86:[18, 43], Operations: ['56-12=44', '44-1=43']
Exploring Operation: 18*43=774, Resulting Numbers: [774]
774,86 unequal: No Solution
Exploring Operation: 43-18=25, Resulting Numbers: [25]
25,86 unequal: No Solution
Exploring Operation: 18+43=61, Resulting Numbers: [61]
61,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 86:[44, 18], Operations: ['56-12=44', '18/1=18']
Exploring Operation: 44*18=792, Resulting Numbers: [792]
792,86 unequal: No Solution
Exploring Operation: 44-18=26, Resulting Numbers: [26]
26,86 unequal: No Solution
Exploring Operation: 44+18=62, Resulting Numbers: [62]
62,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 86:[44, 18], Operations: ['56-12=44', '1*18=18']
Exploring Operation: 44-18=26, Resulting Numbers: [26]
26,86 unequal: No Solution
Exploring Operation: 44+18=62, Resulting Numbers: [62]
62,86 unequal: No Solution
Exploring Operation: 44*18=792, Resulting Numbers: [792]
792,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,4
Current State: 86:[18, 44], Operations: ['56-12=44', '1*44=44']
Exploring Operation: 18+44=62, Resulting Numbers: [62]
62,86 unequal: No Solution
Exploring Operation: 44-18=26, Resulting Numbers: [26]
26,86 unequal: No Solution
Exploring Operation: 18*44=792, Resulting Numbers: [792]
792,86 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 86:[56, 1, 6], Operations: ['18-12=6']
Exploring Operation: 56-1=55, Resulting Numbers: [6, 55]
Generated Node #0,2,0: 86:[6, 55] Operation: 56-1=55
Exploring Operation: 56/1=56, Resulting Numbers: [6, 56]
Generated Node #0,2,1: 86:[6, 56] Operation: 56/1=56
Exploring Operation: 6-1=5, Resulting Numbers: [56, 5]
Generated Node #0,2,2: 86:[56, 5] Operation: 6-1=5
Exploring Operation: 56*1=56, Resulting Numbers: [6, 56]
Generated Node #0,2,3: 86:[6, 56] Operation: 56*1=56
Exploring Operation: 56-6=50, Resulting Numbers: [1, 50]
Generated Node #0,2,4: 86:[1, 50] Operation: 56-6=50
Moving to Node #0,2,4
Current State: 86:[1, 50], Operations: ['18-12=6', '56-6=50']
Exploring Operation: 1+50=51, Resulting Numbers: [51]
51,86 unequal: No Solution
Exploring Operation: 1*50=50, Resulting Numbers: [50]
50,86 unequal: No Solution
Exploring Operation: 50/1=50, Resulting Numbers: [50]
50,86 unequal: No Solution
Exploring Operation: 50-1=49, Resulting Numbers: [49]
49,86 unequal: No Solution
Moving to Node #0,2,2
Current State: 86:[56, 5], Operations: ['18-12=6', '6-1=5']
Exploring Operation: 56+5=61, Resulting Numbers: [61]
61,86 unequal: No Solution
Exploring Operation: 56-5=51, Resulting Numbers: [51]
51,86 unequal: No Solution
Exploring Operation: 56*5=280, Resulting Numbers: [280]
280,86 unequal: No Solution
Moving to Node #0,2,0
Current State: 86:[6, 55], Operations: ['18-12=6', '56-1=55']
Exploring Operation: 55-6=49, Resulting Numbers: [49]
49,86 unequal: No Solution
Exploring Operation: 6+55=61, Resulting Numbers: [61]
61,86 unequal: No Solution
Exploring Operation: 6*55=330, Resulting Numbers: [330]
330,86 unequal: No Solution
Moving to Node #0,2,1
Current State: 86:[6, 56], Operations: ['18-12=6', '56/1=56']
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,86 unequal: No Solution
Exploring Operation: 6*56=336, Resulting Numbers: [336]
336,86 unequal: No Solution
Exploring Operation: 6+56=62, Resulting Numbers: [62]
62,86 unequal: No Solution
Moving to Node #0,2,3
Current State: 86:[6, 56], Operations: ['18-12=6', '56*1=56']
Exploring Operation: 6*56=336, Resulting Numbers: [336]
336,86 unequal: No Solution
Exploring Operation: 6+56=62, Resulting Numbers: [62]
62,86 unequal: No Solution
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,86 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 86:[1, 12, 74], Operations: ['56+18=74']
Exploring Operation: 74-12=62, Resulting Numbers: [1, 62]
Generated Node #0,4,0: 86:[1, 62] Operation: 74-12=62
Exploring Operation: 1+74=75, Resulting Numbers: [12, 75]
Generated Node #0,4,1: 86:[12, 75] Operation: 1+74=75
Exploring Operation: 12+74=86, Resulting Numbers: [1, 86]
Generated Node #0,4,2: 86:[1, 86] Operation: 12+74=86
Exploring Operation: 1*12=12, Resulting Numbers: [74, 12]
Generated Node #0,4,3: 86:[74, 12] Operation: 1*12=12
Exploring Operation: 12-1=11, Resulting Numbers: [74, 11]
Generated Node #0,4,4: 86:[74, 11] Operation: 12-1=11
Moving to Node #0,4,2
Current State: 86:[1, 86], Operations: ['56+18=74', '12+74=86']
Exploring Operation: 1+86=87, Resulting Numbers: [87]
87,86 unequal: No Solution
Exploring Operation: 86-1=85, Resulting Numbers: [85]
85,86 unequal: No Solution
Exploring Operation: 86/1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Moving to Node #0
Current State: 86:[56, 1, 12, 18], Operations: []
Exploring Operation: 56+18=74, Resulting Numbers: [1, 12, 74]
Generated Node #0,4: 86:[1, 12, 74] Operation: 56+18=74
Moving to Node #0,4
Current State: 86:[1, 12, 74], Operations: ['56+18=74']
Exploring Operation: 12+74=86, Resulting Numbers: [1, 86]
Generated Node #0,4,2: 86:[1, 86] Operation: 12+74=86
Moving to Node #0,4,2
Current State: 86:[1, 86], Operations: ['56+18=74', '12+74=86']
Exploring Operation: 86/1=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
Exit Sub Search at level 1
| 0.931424 | hs_5 | sum_heuristic |
[
51,
88,
90,
83
] | 34 | [
"51+88=139",
"90+83=173",
"173-139=34"
] | Current State: 34:[51, 88, 90, 83], Operations: []
Exploring Operation: 51+88=139, Resulting Numbers: [90, 83, 139]
Generated Node #2: [90, 83, 139] from Operation: 51+88=139
Current State: 34:[90, 83, 139], Operations: ['51+88=139']
Exploring Operation: 90+83=173, Resulting Numbers: [139, 173]
Generated Node #3: [139, 173] from Operation: 90+83=173
Current State: 34:[139, 173], Operations: ['51+88=139', '90+83=173']
Exploring Operation: 173-139=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
| 4 | Current State: 34:[51, 88, 90, 83], Operations: []
Exploring Operation: 88-51=37, Resulting Numbers: [90, 83, 37]
Generated Node #0,0: 34:[90, 83, 37] Operation: 88-51=37
Exploring Operation: 88-83=5, Resulting Numbers: [51, 90, 5]
Generated Node #0,1: 34:[51, 90, 5] Operation: 88-83=5
Exploring Operation: 90-83=7, Resulting Numbers: [51, 88, 7]
Generated Node #0,2: 34:[51, 88, 7] Operation: 90-83=7
Exploring Operation: 90-88=2, Resulting Numbers: [51, 83, 2]
Generated Node #0,3: 34:[51, 83, 2] Operation: 90-88=2
Moving to Node #0,3
Current State: 34:[51, 83, 2], Operations: ['90-88=2']
Exploring Operation: 83-2=81, Resulting Numbers: [51, 81]
Generated Node #0,3,0: 34:[51, 81] Operation: 83-2=81
Exploring Operation: 83-51=32, Resulting Numbers: [2, 32]
Generated Node #0,3,1: 34:[2, 32] Operation: 83-51=32
Exploring Operation: 51+2=53, Resulting Numbers: [83, 53]
Generated Node #0,3,2: 34:[83, 53] Operation: 51+2=53
Exploring Operation: 51-2=49, Resulting Numbers: [83, 49]
Generated Node #0,3,3: 34:[83, 49] Operation: 51-2=49
Moving to Node #0,2
Current State: 34:[51, 88, 7], Operations: ['90-83=7']
Exploring Operation: 51-7=44, Resulting Numbers: [88, 44]
Generated Node #0,2,0: 34:[88, 44] Operation: 51-7=44
Exploring Operation: 51+7=58, Resulting Numbers: [88, 58]
Generated Node #0,2,1: 34:[88, 58] Operation: 51+7=58
Exploring Operation: 88-7=81, Resulting Numbers: [51, 81]
Generated Node #0,2,2: 34:[51, 81] Operation: 88-7=81
Exploring Operation: 88-51=37, Resulting Numbers: [7, 37]
Generated Node #0,2,3: 34:[7, 37] Operation: 88-51=37
Moving to Node #0,1
Current State: 34:[51, 90, 5], Operations: ['88-83=5']
Exploring Operation: 90-51=39, Resulting Numbers: [5, 39]
Generated Node #0,1,0: 34:[5, 39] Operation: 90-51=39
Exploring Operation: 90-5=85, Resulting Numbers: [51, 85]
Generated Node #0,1,1: 34:[51, 85] Operation: 90-5=85
Exploring Operation: 51-5=46, Resulting Numbers: [90, 46]
Generated Node #0,1,2: 34:[90, 46] Operation: 51-5=46
Exploring Operation: 90/5=18, Resulting Numbers: [51, 18]
Generated Node #0,1,3: 34:[51, 18] Operation: 90/5=18
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 34:[5, 39], Operations: ['88-83=5', '90-51=39']
Exploring Operation: 5*39=195, Resulting Numbers: [195]
195,34 unequal: No Solution
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Moving to Node #0
Current State: 34:[51, 88, 90, 83], Operations: []
Exploring Operation: 88-83=5, Resulting Numbers: [51, 90, 5]
Generated Node #0,1: 34:[51, 90, 5] Operation: 88-83=5
Moving to Node #0,1
Current State: 34:[51, 90, 5], Operations: ['88-83=5']
Exploring Operation: 90-51=39, Resulting Numbers: [5, 39]
Generated Node #0,1,0: 34:[5, 39] Operation: 90-51=39
Moving to Node #0,1,0
Current State: 34:[5, 39], Operations: ['88-83=5', '90-51=39']
Exploring Operation: 39-5=34, Resulting Numbers: [34]
34,34 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_4 | mult_heuristic |
[
48,
28,
94,
21
] | 58 | [
"48*21=1008",
"1008/28=36",
"94-36=58"
] | Current State: 58:[48, 28, 94, 21], Operations: []
Exploring Operation: 48*21=1008, Resulting Numbers: [28, 94, 1008]
Generated Node #2: [28, 94, 1008] from Operation: 48*21=1008
Current State: 58:[28, 94, 1008], Operations: ['48*21=1008']
Exploring Operation: 1008/28=36, Resulting Numbers: [94, 36]
Generated Node #3: [94, 36] from Operation: 1008/28=36
Current State: 58:[94, 36], Operations: ['48*21=1008', '1008/28=36']
Exploring Operation: 94-36=58, Resulting Numbers: [58]
58,58 equal: Goal Reached
| 4 | Current State: 58:[48, 28, 94, 21], Operations: []
Exploring Operation: 94-28=66, Resulting Numbers: [48, 21, 66]
Generated Node #0,0: 58:[48, 21, 66] Operation: 94-28=66
Exploring Operation: 94-48=46, Resulting Numbers: [28, 21, 46]
Generated Node #0,1: 58:[28, 21, 46] Operation: 94-48=46
Exploring Operation: 94-21=73, Resulting Numbers: [48, 28, 73]
Generated Node #0,2: 58:[48, 28, 73] Operation: 94-21=73
Moving to Node #0,1
Current State: 58:[28, 21, 46], Operations: ['94-48=46']
Exploring Operation: 46-21=25, Resulting Numbers: [28, 25]
Generated Node #0,1,0: 58:[28, 25] Operation: 46-21=25
Exploring Operation: 21+46=67, Resulting Numbers: [28, 67]
Generated Node #0,1,1: 58:[28, 67] Operation: 21+46=67
Exploring Operation: 28-21=7, Resulting Numbers: [46, 7]
Generated Node #0,1,2: 58:[46, 7] Operation: 28-21=7
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 58:[28, 25], Operations: ['94-48=46', '46-21=25']
Exploring Operation: 28-25=3, Resulting Numbers: [3]
3,58 unequal: No Solution
Exploring Operation: 28+25=53, Resulting Numbers: [53]
53,58 unequal: No Solution
Exploring Operation: 28*25=700, Resulting Numbers: [700]
700,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 58:[28, 67], Operations: ['94-48=46', '21+46=67']
Exploring Operation: 28*67=1876, Resulting Numbers: [1876]
1876,58 unequal: No Solution
Exploring Operation: 67-28=39, Resulting Numbers: [39]
39,58 unequal: No Solution
Exploring Operation: 28+67=95, Resulting Numbers: [95]
95,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 58:[46, 7], Operations: ['94-48=46', '28-21=7']
Exploring Operation: 46-7=39, Resulting Numbers: [39]
39,58 unequal: No Solution
Exploring Operation: 46+7=53, Resulting Numbers: [53]
53,58 unequal: No Solution
Exploring Operation: 46*7=322, Resulting Numbers: [322]
322,58 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: 58:[48, 21, 66], Operations: ['94-28=66']
Exploring Operation: 66-48=18, Resulting Numbers: [21, 18]
Generated Node #0,0,0: 58:[21, 18] Operation: 66-48=18
Exploring Operation: 48+21=69, Resulting Numbers: [66, 69]
Generated Node #0,0,1: 58:[66, 69] Operation: 48+21=69
Exploring Operation: 48-21=27, Resulting Numbers: [66, 27]
Generated Node #0,0,2: 58:[66, 27] Operation: 48-21=27
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 58:[66, 27], Operations: ['94-28=66', '48-21=27']
Exploring Operation: 66-27=39, Resulting Numbers: [39]
39,58 unequal: No Solution
Exploring Operation: 66+27=93, Resulting Numbers: [93]
93,58 unequal: No Solution
Exploring Operation: 66*27=1782, Resulting Numbers: [1782]
1782,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 58:[21, 18], Operations: ['94-28=66', '66-48=18']
Exploring Operation: 21-18=3, Resulting Numbers: [3]
3,58 unequal: No Solution
Exploring Operation: 21+18=39, Resulting Numbers: [39]
39,58 unequal: No Solution
Exploring Operation: 21*18=378, Resulting Numbers: [378]
378,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 58:[66, 69], Operations: ['94-28=66', '48+21=69']
Exploring Operation: 69-66=3, Resulting Numbers: [3]
3,58 unequal: No Solution
Exploring Operation: 66*69=4554, Resulting Numbers: [4554]
4554,58 unequal: No Solution
Exploring Operation: 66+69=135, Resulting Numbers: [135]
135,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 58:[48, 28, 73], Operations: ['94-21=73']
Exploring Operation: 73-48=25, Resulting Numbers: [28, 25]
Generated Node #0,2,0: 58:[28, 25] Operation: 73-48=25
Exploring Operation: 48-28=20, Resulting Numbers: [73, 20]
Generated Node #0,2,1: 58:[73, 20] Operation: 48-28=20
Exploring Operation: 73-28=45, Resulting Numbers: [48, 45]
Generated Node #0,2,2: 58:[48, 45] Operation: 73-28=45
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 58:[28, 25], Operations: ['94-21=73', '73-48=25']
Exploring Operation: 28*25=700, Resulting Numbers: [700]
700,58 unequal: No Solution
Exploring Operation: 28+25=53, Resulting Numbers: [53]
53,58 unequal: No Solution
Exploring Operation: 28-25=3, Resulting Numbers: [3]
3,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 58:[48, 45], Operations: ['94-21=73', '73-28=45']
Exploring Operation: 48*45=2160, Resulting Numbers: [2160]
2160,58 unequal: No Solution
Exploring Operation: 48-45=3, Resulting Numbers: [3]
3,58 unequal: No Solution
Exploring Operation: 48+45=93, Resulting Numbers: [93]
93,58 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 58:[73, 20], Operations: ['94-21=73', '48-28=20']
Exploring Operation: 73-20=53, Resulting Numbers: [53]
53,58 unequal: No Solution
Exploring Operation: 73*20=1460, Resulting Numbers: [1460]
1460,58 unequal: No Solution
Exploring Operation: 73+20=93, Resulting Numbers: [93]
93,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 |
[
9,
96,
42,
21
] | 89 | [
"96-9=87",
"42/21=2",
"87+2=89"
] | Current State: 89:[9, 96, 42, 21], Operations: []
Exploring Operation: 96-9=87, Resulting Numbers: [42, 21, 87]
Generated Node #2: [42, 21, 87] from Operation: 96-9=87
Current State: 89:[42, 21, 87], Operations: ['96-9=87']
Exploring Operation: 42/21=2, Resulting Numbers: [87, 2]
Generated Node #3: [87, 2] from Operation: 42/21=2
Current State: 89:[87, 2], Operations: ['96-9=87', '42/21=2']
Exploring Operation: 87+2=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[9, 96, 42, 21], Operations: []
Exploring Operation: 9+42=51, Resulting Numbers: [96, 21, 51]
Generated Node #0,0: 89:[96, 21, 51] Operation: 9+42=51
Moving to Node #0,0
Current State: 89:[96, 21, 51], Operations: ['9+42=51']
Exploring Operation: 21+51=72, Resulting Numbers: [96, 72]
Generated Node #0,0,0: 89:[96, 72] Operation: 21+51=72
Moving to Node #0,0,0
Current State: 89:[96, 72], Operations: ['9+42=51', '21+51=72']
Exploring Operation: 96-72=24, Resulting Numbers: [24]
24,89 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.