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 |
|---|---|---|---|---|---|---|---|---|
[
73,
17,
38,
82
] | 64 | [
"73-17=56",
"38+82=120",
"120-56=64"
] | Current State: 64:[73, 17, 38, 82], Operations: []
Exploring Operation: 73-17=56, Resulting Numbers: [38, 82, 56]
Generated Node #2: [38, 82, 56] from Operation: 73-17=56
Current State: 64:[38, 82, 56], Operations: ['73-17=56']
Exploring Operation: 38+82=120, Resulting Numbers: [56, 120]
Generated Node #3: [56, 120] from Operation: 38+82=120
Current State: 64:[56, 120], Operations: ['73-17=56', '38+82=120']
Exploring Operation: 120-56=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[73, 17, 38, 82], Operations: []
Exploring Operation: 82-38=44, Resulting Numbers: [73, 17, 44]
Generated Node #0,0: 64:[73, 17, 44] Operation: 82-38=44
Exploring Operation: 73-38=35, Resulting Numbers: [17, 82, 35]
Generated Node #0,1: 64:[17, 82, 35] Operation: 73-38=35
Exploring Operation: 82-17=65, Resulting Numbers: [73, 38, 65]
Generated Node #0,2: 64:[73, 38, 65] Operation: 82-17=65
Exploring Operation: 82-73=9, Resulting Numbers: [17, 38, 9]
Generated Node #0,3: 64:[17, 38, 9] Operation: 82-73=9
Start Sub Search at level 1: Moving to Node #0,3
Current State: 64:[17, 38, 9], Operations: ['82-73=9']
Exploring Operation: 17-9=8, Resulting Numbers: [38, 8]
Generated Node #0,3,0: 64:[38, 8] Operation: 17-9=8
Exploring Operation: 38-17=21, Resulting Numbers: [9, 21]
Generated Node #0,3,1: 64:[9, 21] Operation: 38-17=21
Exploring Operation: 17+38=55, Resulting Numbers: [9, 55]
Generated Node #0,3,2: 64:[9, 55] Operation: 17+38=55
Exploring Operation: 38-9=29, Resulting Numbers: [17, 29]
Generated Node #0,3,3: 64:[17, 29] Operation: 38-9=29
Moving to Node #0,3,3
Current State: 64:[17, 29], Operations: ['82-73=9', '38-9=29']
Exploring Operation: 29-17=12, Resulting Numbers: [12]
12,64 unequal: No Solution
Exploring Operation: 17*29=493, Resulting Numbers: [493]
493,64 unequal: No Solution
Exploring Operation: 17+29=46, Resulting Numbers: [46]
46,64 unequal: No Solution
Moving to Node #0,3,1
Current State: 64:[9, 21], Operations: ['82-73=9', '38-17=21']
Exploring Operation: 21-9=12, Resulting Numbers: [12]
12,64 unequal: No Solution
Exploring Operation: 9*21=189, Resulting Numbers: [189]
189,64 unequal: No Solution
Exploring Operation: 9+21=30, Resulting Numbers: [30]
30,64 unequal: No Solution
Moving to Node #0,3,0
Current State: 64:[38, 8], Operations: ['82-73=9', '17-9=8']
Exploring Operation: 38-8=30, Resulting Numbers: [30]
30,64 unequal: No Solution
Exploring Operation: 38+8=46, Resulting Numbers: [46]
46,64 unequal: No Solution
Exploring Operation: 38*8=304, Resulting Numbers: [304]
304,64 unequal: No Solution
Moving to Node #0,3,2
Current State: 64:[9, 55], Operations: ['82-73=9', '17+38=55']
Exploring Operation: 9+55=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Moving to Node #0
Current State: 64:[73, 17, 38, 82], Operations: []
Exploring Operation: 82-73=9, Resulting Numbers: [17, 38, 9]
Generated Node #0,3: 64:[17, 38, 9] Operation: 82-73=9
Moving to Node #0,3
Current State: 64:[17, 38, 9], Operations: ['82-73=9']
Exploring Operation: 17+38=55, Resulting Numbers: [9, 55]
Generated Node #0,3,2: 64:[9, 55] Operation: 17+38=55
Moving to Node #0,3,2
Current State: 64:[9, 55], Operations: ['82-73=9', '17+38=55']
Exploring Operation: 9+55=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
Exit Sub Search at level 1
| 0.980903 | hs_4 | sum_heuristic |
[
56,
43,
3,
46
] | 65 | [
"46-43=3",
"3*3=9",
"56+9=65"
] | Current State: 65:[56, 43, 3, 46], Operations: []
Exploring Operation: 46-43=3, Resulting Numbers: [56, 3, 3]
Generated Node #2: [56, 3, 3] from Operation: 46-43=3
Current State: 65:[56, 3, 3], Operations: ['46-43=3']
Exploring Operation: 3*3=9, Resulting Numbers: [56, 9]
Generated Node #3: [56, 9] from Operation: 3*3=9
Current State: 65:[56, 9], Operations: ['46-43=3', '3*3=9']
Exploring Operation: 56+9=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[56, 43, 3, 46], Operations: []
Exploring Operation: 56-43=13, Resulting Numbers: [3, 46, 13]
Generated Node #0,0: 65:[3, 46, 13] Operation: 56-43=13
Exploring Operation: 46-43=3, Resulting Numbers: [56, 3, 3]
Generated Node #0,1: 65:[56, 3, 3] Operation: 46-43=3
Exploring Operation: 56+3=59, Resulting Numbers: [43, 46, 59]
Generated Node #0,2: 65:[43, 46, 59] Operation: 56+3=59
Exploring Operation: 56-46=10, Resulting Numbers: [43, 3, 10]
Generated Node #0,3: 65:[43, 3, 10] Operation: 56-46=10
Exploring Operation: 43+46=89, Resulting Numbers: [56, 3, 89]
Generated Node #0,4: 65:[56, 3, 89] Operation: 43+46=89
Moving to Node #0,1
Current State: 65:[56, 3, 3], Operations: ['46-43=3']
Exploring Operation: 3+3=6, Resulting Numbers: [56, 6]
Generated Node #0,1,0: 65:[56, 6] Operation: 3+3=6
Exploring Operation: 3/3=1, Resulting Numbers: [56, 1]
Generated Node #0,1,1: 65:[56, 1] Operation: 3/3=1
Exploring Operation: 56+3=59, Resulting Numbers: [3, 59]
Generated Node #0,1,2: 65:[3, 59] Operation: 56+3=59
Exploring Operation: 56+3=59, Resulting Numbers: [3, 59]
Generated Node #0,1,3: 65:[3, 59] Operation: 56+3=59
Exploring Operation: 3*3=9, Resulting Numbers: [56, 9]
Generated Node #0,1,4: 65:[56, 9] Operation: 3*3=9
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 65:[3, 59], Operations: ['46-43=3', '56+3=59']
Exploring Operation: 3*59=177, Resulting Numbers: [177]
177,65 unequal: No Solution
Exploring Operation: 3+59=62, Resulting Numbers: [62]
62,65 unequal: No Solution
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,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:[3, 59], Operations: ['46-43=3', '56+3=59']
Exploring Operation: 3+59=62, Resulting Numbers: [62]
62,65 unequal: No Solution
Exploring Operation: 3*59=177, Resulting Numbers: [177]
177,65 unequal: No Solution
Exploring Operation: 59-3=56, Resulting Numbers: [56]
56,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:[56, 6], Operations: ['46-43=3', '3+3=6']
Exploring Operation: 56*6=336, Resulting Numbers: [336]
336,65 unequal: No Solution
Exploring Operation: 56+6=62, Resulting Numbers: [62]
62,65 unequal: No Solution
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,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,1
Current State: 65:[56, 1], Operations: ['46-43=3', '3/3=1']
Exploring Operation: 56+1=57, Resulting Numbers: [57]
57,65 unequal: No Solution
Exploring Operation: 56-1=55, Resulting Numbers: [55]
55,65 unequal: No Solution
Exploring Operation: 56*1=56, Resulting Numbers: [56]
56,65 unequal: No Solution
Exploring Operation: 56/1=56, Resulting Numbers: [56]
56,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:[56, 9], Operations: ['46-43=3', '3*3=9']
Exploring Operation: 56-9=47, Resulting Numbers: [47]
47,65 unequal: No Solution
Exploring Operation: 56+9=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[56, 43, 3, 46], Operations: []
Exploring Operation: 46-43=3, Resulting Numbers: [56, 3, 3]
Generated Node #0,1: 65:[56, 3, 3] Operation: 46-43=3
Moving to Node #0,1
Current State: 65:[56, 3, 3], Operations: ['46-43=3']
Exploring Operation: 3*3=9, Resulting Numbers: [56, 9]
Generated Node #0,1,4: 65:[56, 9] Operation: 3*3=9
Moving to Node #0,1,4
Current State: 65:[56, 9], Operations: ['46-43=3', '3*3=9']
Exploring Operation: 56+9=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.974826 | hs_5 | mult_heuristic |
[
68,
49,
10,
93
] | 14 | [
"68+49=117",
"10+93=103",
"117-103=14"
] | Current State: 14:[68, 49, 10, 93], Operations: []
Exploring Operation: 68+49=117, Resulting Numbers: [10, 93, 117]
Generated Node #2: [10, 93, 117] from Operation: 68+49=117
Current State: 14:[10, 93, 117], Operations: ['68+49=117']
Exploring Operation: 10+93=103, Resulting Numbers: [117, 103]
Generated Node #3: [117, 103] from Operation: 10+93=103
Current State: 14:[117, 103], Operations: ['68+49=117', '10+93=103']
Exploring Operation: 117-103=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
| 4 | Current State: 14:[68, 49, 10, 93], Operations: []
Exploring Operation: 68-10=58, Resulting Numbers: [49, 93, 58]
Generated Node #0,0: 14:[49, 93, 58] Operation: 68-10=58
Exploring Operation: 93-49=44, Resulting Numbers: [68, 10, 44]
Generated Node #0,1: 14:[68, 10, 44] Operation: 93-49=44
Exploring Operation: 49-10=39, Resulting Numbers: [68, 93, 39]
Generated Node #0,2: 14:[68, 93, 39] Operation: 49-10=39
Exploring Operation: 68-49=19, Resulting Numbers: [10, 93, 19]
Generated Node #0,3: 14:[10, 93, 19] Operation: 68-49=19
Exploring Operation: 93-68=25, Resulting Numbers: [49, 10, 25]
Generated Node #0,4: 14:[49, 10, 25] Operation: 93-68=25
Start Sub Search at level 1: Moving to Node #0,4
Current State: 14:[49, 10, 25], Operations: ['93-68=25']
Exploring Operation: 49+10=59, Resulting Numbers: [25, 59]
Generated Node #0,4,0: 14:[25, 59] Operation: 49+10=59
Exploring Operation: 49-25=24, Resulting Numbers: [10, 24]
Generated Node #0,4,1: 14:[10, 24] Operation: 49-25=24
Exploring Operation: 49-10=39, Resulting Numbers: [25, 39]
Generated Node #0,4,2: 14:[25, 39] Operation: 49-10=39
Exploring Operation: 10+25=35, Resulting Numbers: [49, 35]
Generated Node #0,4,3: 14:[49, 35] Operation: 10+25=35
Exploring Operation: 25-10=15, Resulting Numbers: [49, 15]
Generated Node #0,4,4: 14:[49, 15] Operation: 25-10=15
Moving to Node #0,4,1
Current State: 14:[10, 24], Operations: ['93-68=25', '49-25=24']
Exploring Operation: 10+24=34, Resulting Numbers: [34]
34,14 unequal: No Solution
Exploring Operation: 10*24=240, Resulting Numbers: [240]
240,14 unequal: No Solution
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Moving to Node #0
Current State: 14:[68, 49, 10, 93], Operations: []
Exploring Operation: 93-68=25, Resulting Numbers: [49, 10, 25]
Generated Node #0,4: 14:[49, 10, 25] Operation: 93-68=25
Moving to Node #0,4
Current State: 14:[49, 10, 25], Operations: ['93-68=25']
Exploring Operation: 49-25=24, Resulting Numbers: [10, 24]
Generated Node #0,4,1: 14:[10, 24] Operation: 49-25=24
Moving to Node #0,4,1
Current State: 14:[10, 24], Operations: ['93-68=25', '49-25=24']
Exploring Operation: 24-10=14, Resulting Numbers: [14]
14,14 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_5 | sum_heuristic |
[
45,
51,
23,
86
] | 33 | [
"45+51=96",
"86-23=63",
"96-63=33"
] | Current State: 33:[45, 51, 23, 86], Operations: []
Exploring Operation: 45+51=96, Resulting Numbers: [23, 86, 96]
Generated Node #2: [23, 86, 96] from Operation: 45+51=96
Current State: 33:[23, 86, 96], Operations: ['45+51=96']
Exploring Operation: 86-23=63, Resulting Numbers: [96, 63]
Generated Node #3: [96, 63] from Operation: 86-23=63
Current State: 33:[96, 63], Operations: ['45+51=96', '86-23=63']
Exploring Operation: 96-63=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[45, 51, 23, 86], Operations: []
Exploring Operation: 86-51=35, Resulting Numbers: [45, 23, 35]
Generated Node #0,0: 33:[45, 23, 35] Operation: 86-51=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 33:[45, 23, 35], Operations: ['86-51=35']
Exploring Operation: 45-35=10, Resulting Numbers: [23, 10]
Generated Node #0,0,0: 33:[23, 10] Operation: 45-35=10
Moving to Node #0,0,0
Current State: 33:[23, 10], Operations: ['86-51=35', '45-35=10']
Exploring Operation: 23+10=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[45, 51, 23, 86], Operations: []
Exploring Operation: 86-51=35, Resulting Numbers: [45, 23, 35]
Generated Node #0,0: 33:[45, 23, 35] Operation: 86-51=35
Moving to Node #0,0
Current State: 33:[45, 23, 35], Operations: ['86-51=35']
Exploring Operation: 45-35=10, Resulting Numbers: [23, 10]
Generated Node #0,0,0: 33:[23, 10] Operation: 45-35=10
Moving to Node #0,0,0
Current State: 33:[23, 10], Operations: ['86-51=35', '45-35=10']
Exploring Operation: 23+10=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
19,
34,
55,
3
] | 22 | [
"55-19=36",
"36/3=12",
"34-12=22"
] | Current State: 22:[19, 34, 55, 3], Operations: []
Exploring Operation: 55-19=36, Resulting Numbers: [34, 3, 36]
Generated Node #2: [34, 3, 36] from Operation: 55-19=36
Current State: 22:[34, 3, 36], Operations: ['55-19=36']
Exploring Operation: 36/3=12, Resulting Numbers: [34, 12]
Generated Node #3: [34, 12] from Operation: 36/3=12
Current State: 22:[34, 12], Operations: ['55-19=36', '36/3=12']
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[19, 34, 55, 3], Operations: []
Exploring Operation: 55-19=36, Resulting Numbers: [34, 3, 36]
Generated Node #0,0: 22:[34, 3, 36] Operation: 55-19=36
Exploring Operation: 19+3=22, Resulting Numbers: [34, 55, 22]
Generated Node #0,1: 22:[34, 55, 22] Operation: 19+3=22
Exploring Operation: 34-19=15, Resulting Numbers: [55, 3, 15]
Generated Node #0,2: 22:[55, 3, 15] Operation: 34-19=15
Exploring Operation: 55-34=21, Resulting Numbers: [19, 3, 21]
Generated Node #0,3: 22:[19, 3, 21] Operation: 55-34=21
Exploring Operation: 34-3=31, Resulting Numbers: [19, 55, 31]
Generated Node #0,4: 22:[19, 55, 31] Operation: 34-3=31
Moving to Node #0,3
Current State: 22:[19, 3, 21], Operations: ['55-34=21']
Exploring Operation: 3+21=24, Resulting Numbers: [19, 24]
Generated Node #0,3,0: 22:[19, 24] Operation: 3+21=24
Exploring Operation: 19-3=16, Resulting Numbers: [21, 16]
Generated Node #0,3,1: 22:[21, 16] Operation: 19-3=16
Exploring Operation: 21-3=18, Resulting Numbers: [19, 18]
Generated Node #0,3,2: 22:[19, 18] Operation: 21-3=18
Exploring Operation: 19+3=22, Resulting Numbers: [21, 22]
Generated Node #0,3,3: 22:[21, 22] Operation: 19+3=22
Exploring Operation: 21-19=2, Resulting Numbers: [3, 2]
Generated Node #0,3,4: 22:[3, 2] Operation: 21-19=2
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 22:[21, 22], Operations: ['55-34=21', '19+3=22']
Exploring Operation: 21+22=43, Resulting Numbers: [43]
43,22 unequal: No Solution
Exploring Operation: 21*22=462, Resulting Numbers: [462]
462,22 unequal: No Solution
Exploring Operation: 22-21=1, Resulting Numbers: [1]
1,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,4
Current State: 22:[3, 2], Operations: ['55-34=21', '21-19=2']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,22 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,22 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 22:[19, 24], Operations: ['55-34=21', '3+21=24']
Exploring Operation: 19*24=456, Resulting Numbers: [456]
456,22 unequal: No Solution
Exploring Operation: 24-19=5, Resulting Numbers: [5]
5,22 unequal: No Solution
Exploring Operation: 19+24=43, Resulting Numbers: [43]
43,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 22:[21, 16], Operations: ['55-34=21', '19-3=16']
Exploring Operation: 21*16=336, Resulting Numbers: [336]
336,22 unequal: No Solution
Exploring Operation: 21+16=37, Resulting Numbers: [37]
37,22 unequal: No Solution
Exploring Operation: 21-16=5, Resulting Numbers: [5]
5,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 22:[19, 18], Operations: ['55-34=21', '21-3=18']
Exploring Operation: 19+18=37, Resulting Numbers: [37]
37,22 unequal: No Solution
Exploring Operation: 19*18=342, Resulting Numbers: [342]
342,22 unequal: No Solution
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,22 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: 22:[34, 3, 36], Operations: ['55-19=36']
Exploring Operation: 34+3=37, Resulting Numbers: [36, 37]
Generated Node #0,0,0: 22:[36, 37] Operation: 34+3=37
Exploring Operation: 36-34=2, Resulting Numbers: [3, 2]
Generated Node #0,0,1: 22:[3, 2] Operation: 36-34=2
Exploring Operation: 36-3=33, Resulting Numbers: [34, 33]
Generated Node #0,0,2: 22:[34, 33] Operation: 36-3=33
Exploring Operation: 36/3=12, Resulting Numbers: [34, 12]
Generated Node #0,0,3: 22:[34, 12] Operation: 36/3=12
Exploring Operation: 34-3=31, Resulting Numbers: [36, 31]
Generated Node #0,0,4: 22:[36, 31] Operation: 34-3=31
Moving to Node #0,2
Current State: 22:[55, 3, 15], Operations: ['34-19=15']
Exploring Operation: 3+15=18, Resulting Numbers: [55, 18]
Generated Node #0,2,0: 22:[55, 18] Operation: 3+15=18
Exploring Operation: 55-3=52, Resulting Numbers: [15, 52]
Generated Node #0,2,1: 22:[15, 52] Operation: 55-3=52
Exploring Operation: 55-15=40, Resulting Numbers: [3, 40]
Generated Node #0,2,2: 22:[3, 40] Operation: 55-15=40
Exploring Operation: 15-3=12, Resulting Numbers: [55, 12]
Generated Node #0,2,3: 22:[55, 12] Operation: 15-3=12
Exploring Operation: 15/3=5, Resulting Numbers: [55, 5]
Generated Node #0,2,4: 22:[55, 5] Operation: 15/3=5
Moving to Node #0,1
Current State: 22:[34, 55, 22], Operations: ['19+3=22']
Exploring Operation: 55-22=33, Resulting Numbers: [34, 33]
Generated Node #0,1,0: 22:[34, 33] Operation: 55-22=33
Exploring Operation: 34+22=56, Resulting Numbers: [55, 56]
Generated Node #0,1,1: 22:[55, 56] Operation: 34+22=56
Exploring Operation: 34-22=12, Resulting Numbers: [55, 12]
Generated Node #0,1,2: 22:[55, 12] Operation: 34-22=12
Exploring Operation: 55-34=21, Resulting Numbers: [22, 21]
Generated Node #0,1,3: 22:[22, 21] Operation: 55-34=21
Exploring Operation: 34+55=89, Resulting Numbers: [22, 89]
Generated Node #0,1,4: 22:[22, 89] Operation: 34+55=89
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 22:[22, 21], Operations: ['19+3=22', '55-34=21']
Exploring Operation: 22-21=1, Resulting Numbers: [1]
1,22 unequal: No Solution
Exploring Operation: 22+21=43, Resulting Numbers: [43]
43,22 unequal: No Solution
Exploring Operation: 22*21=462, Resulting Numbers: [462]
462,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 22:[34, 33], Operations: ['19+3=22', '55-22=33']
Exploring Operation: 34+33=67, Resulting Numbers: [67]
67,22 unequal: No Solution
Exploring Operation: 34*33=1122, Resulting Numbers: [1122]
1122,22 unequal: No Solution
Exploring Operation: 34-33=1, Resulting Numbers: [1]
1,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 22:[55, 12], Operations: ['19+3=22', '34-22=12']
Exploring Operation: 55*12=660, Resulting Numbers: [660]
660,22 unequal: No Solution
Exploring Operation: 55-12=43, Resulting Numbers: [43]
43,22 unequal: No Solution
Exploring Operation: 55+12=67, Resulting Numbers: [67]
67,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 22:[55, 56], Operations: ['19+3=22', '34+22=56']
Exploring Operation: 56-55=1, Resulting Numbers: [1]
1,22 unequal: No Solution
Exploring Operation: 55+56=111, Resulting Numbers: [111]
111,22 unequal: No Solution
Exploring Operation: 55*56=3080, Resulting Numbers: [3080]
3080,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,4
Current State: 22:[22, 89], Operations: ['19+3=22', '34+55=89']
Exploring Operation: 89-22=67, Resulting Numbers: [67]
67,22 unequal: No Solution
Exploring Operation: 22+89=111, Resulting Numbers: [111]
111,22 unequal: No Solution
Exploring Operation: 22*89=1958, Resulting Numbers: [1958]
1958,22 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: 22:[19, 55, 31], Operations: ['34-3=31']
Exploring Operation: 19+55=74, Resulting Numbers: [31, 74]
Generated Node #0,4,0: 22:[31, 74] Operation: 19+55=74
Exploring Operation: 31-19=12, Resulting Numbers: [55, 12]
Generated Node #0,4,1: 22:[55, 12] Operation: 31-19=12
Exploring Operation: 19+31=50, Resulting Numbers: [55, 50]
Generated Node #0,4,2: 22:[55, 50] Operation: 19+31=50
Exploring Operation: 55-19=36, Resulting Numbers: [31, 36]
Generated Node #0,4,3: 22:[31, 36] Operation: 55-19=36
Exploring Operation: 55-31=24, Resulting Numbers: [19, 24]
Generated Node #0,4,4: 22:[19, 24] Operation: 55-31=24
Start Sub Search at level 1: Moving to Node #0,4,4
Current State: 22:[19, 24], Operations: ['34-3=31', '55-31=24']
Exploring Operation: 19*24=456, Resulting Numbers: [456]
456,22 unequal: No Solution
Exploring Operation: 19+24=43, Resulting Numbers: [43]
43,22 unequal: No Solution
Exploring Operation: 24-19=5, Resulting Numbers: [5]
5,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 22:[31, 36], Operations: ['34-3=31', '55-19=36']
Exploring Operation: 36-31=5, Resulting Numbers: [5]
5,22 unequal: No Solution
Exploring Operation: 31+36=67, Resulting Numbers: [67]
67,22 unequal: No Solution
Exploring Operation: 31*36=1116, Resulting Numbers: [1116]
1116,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,1
Current State: 22:[55, 12], Operations: ['34-3=31', '31-19=12']
Exploring Operation: 55-12=43, Resulting Numbers: [43]
43,22 unequal: No Solution
Exploring Operation: 55+12=67, Resulting Numbers: [67]
67,22 unequal: No Solution
Exploring Operation: 55*12=660, Resulting Numbers: [660]
660,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 22:[31, 74], Operations: ['34-3=31', '19+55=74']
Exploring Operation: 31*74=2294, Resulting Numbers: [2294]
2294,22 unequal: No Solution
Exploring Operation: 31+74=105, Resulting Numbers: [105]
105,22 unequal: No Solution
Exploring Operation: 74-31=43, Resulting Numbers: [43]
43,22 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 22:[55, 50], Operations: ['34-3=31', '19+31=50']
Exploring Operation: 55*50=2750, Resulting Numbers: [2750]
2750,22 unequal: No Solution
Exploring Operation: 55+50=105, Resulting Numbers: [105]
105,22 unequal: No Solution
Exploring Operation: 55-50=5, Resulting Numbers: [5]
5,22 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: 22:[3, 2], Operations: ['55-19=36', '36-34=2']
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,22 unequal: No Solution
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,22 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,22 unequal: No Solution
Moving to Node #0,0,3
Current State: 22:[34, 12], Operations: ['55-19=36', '36/3=12']
Exploring Operation: 34*12=408, Resulting Numbers: [408]
408,22 unequal: No Solution
Exploring Operation: 34+12=46, Resulting Numbers: [46]
46,22 unequal: No Solution
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
Moving to Node #0
Current State: 22:[19, 34, 55, 3], Operations: []
Exploring Operation: 55-19=36, Resulting Numbers: [34, 3, 36]
Generated Node #0,0: 22:[34, 3, 36] Operation: 55-19=36
Moving to Node #0,0
Current State: 22:[34, 3, 36], Operations: ['55-19=36']
Exploring Operation: 36/3=12, Resulting Numbers: [34, 12]
Generated Node #0,0,3: 22:[34, 12] Operation: 36/3=12
Moving to Node #0,0,3
Current State: 22:[34, 12], Operations: ['55-19=36', '36/3=12']
Exploring Operation: 34-12=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 0.926215 | hs_5 | mult_heuristic |
[
80,
35,
21,
14
] | 76 | [
"35+21=56",
"56/14=4",
"80-4=76"
] | Current State: 76:[80, 35, 21, 14], Operations: []
Exploring Operation: 35+21=56, Resulting Numbers: [80, 14, 56]
Generated Node #2: [80, 14, 56] from Operation: 35+21=56
Current State: 76:[80, 14, 56], Operations: ['35+21=56']
Exploring Operation: 56/14=4, Resulting Numbers: [80, 4]
Generated Node #3: [80, 4] from Operation: 56/14=4
Current State: 76:[80, 4], Operations: ['35+21=56', '56/14=4']
Exploring Operation: 80-4=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[80, 35, 21, 14], Operations: []
Exploring Operation: 35-14=21, Resulting Numbers: [80, 21, 21]
Generated Node #0,0: 76:[80, 21, 21] Operation: 35-14=21
Exploring Operation: 21-14=7, Resulting Numbers: [80, 35, 7]
Generated Node #0,1: 76:[80, 35, 7] Operation: 21-14=7
Exploring Operation: 21+14=35, Resulting Numbers: [80, 35, 35]
Generated Node #0,2: 76:[80, 35, 35] Operation: 21+14=35
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[80, 21, 21], Operations: ['35-14=21']
Exploring Operation: 21-21=0, Resulting Numbers: [80, 0]
Generated Node #0,0,0: 76:[80, 0] Operation: 21-21=0
Exploring Operation: 21+21=42, Resulting Numbers: [80, 42]
Generated Node #0,0,1: 76:[80, 42] Operation: 21+21=42
Exploring Operation: 21/21=1, Resulting Numbers: [80, 1]
Generated Node #0,0,2: 76:[80, 1] Operation: 21/21=1
Moving to Node #0,0,2
Current State: 76:[80, 1], Operations: ['35-14=21', '21/21=1']
Exploring Operation: 80-1=79, Resulting Numbers: [79]
79,76 unequal: No Solution
Exploring Operation: 80*1=80, Resulting Numbers: [80]
80,76 unequal: No Solution
Exploring Operation: 80/1=80, Resulting Numbers: [80]
80,76 unequal: No Solution
Moving to Node #0,0,0
Current State: 76:[80, 0], Operations: ['35-14=21', '21-21=0']
Exploring Operation: 80*0=0, Resulting Numbers: [0]
0,76 unequal: No Solution
Exploring Operation: 80-0=80, Resulting Numbers: [80]
80,76 unequal: No Solution
Exploring Operation: 80+0=80, Resulting Numbers: [80]
80,76 unequal: No Solution
Moving to Node #0,0,1
Current State: 76:[80, 42], Operations: ['35-14=21', '21+21=42']
Exploring Operation: 80*42=3360, Resulting Numbers: [3360]
3360,76 unequal: No Solution
Exploring Operation: 80+42=122, Resulting Numbers: [122]
122,76 unequal: No Solution
Exploring Operation: 80-42=38, Resulting Numbers: [38]
38,76 unequal: No Solution
No 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: 76:[80, 35, 7], Operations: ['21-14=7']
Exploring Operation: 35/7=5, Resulting Numbers: [80, 5]
Generated Node #0,1,0: 76:[80, 5] Operation: 35/7=5
Exploring Operation: 35+7=42, Resulting Numbers: [80, 42]
Generated Node #0,1,1: 76:[80, 42] Operation: 35+7=42
Exploring Operation: 80-7=73, Resulting Numbers: [35, 73]
Generated Node #0,1,2: 76:[35, 73] Operation: 80-7=73
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 76:[80, 5], Operations: ['21-14=7', '35/7=5']
Exploring Operation: 80-5=75, Resulting Numbers: [75]
75,76 unequal: No Solution
Exploring Operation: 80/5=16, Resulting Numbers: [16]
16,76 unequal: No Solution
Exploring Operation: 80+5=85, Resulting Numbers: [85]
85,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,2
Current State: 76:[35, 73], Operations: ['21-14=7', '80-7=73']
Exploring Operation: 35*73=2555, Resulting Numbers: [2555]
2555,76 unequal: No Solution
Exploring Operation: 73-35=38, Resulting Numbers: [38]
38,76 unequal: No Solution
Exploring Operation: 35+73=108, Resulting Numbers: [108]
108,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 76:[80, 42], Operations: ['21-14=7', '35+7=42']
Exploring Operation: 80*42=3360, Resulting Numbers: [3360]
3360,76 unequal: No Solution
Exploring Operation: 80+42=122, Resulting Numbers: [122]
122,76 unequal: No Solution
Exploring Operation: 80-42=38, Resulting Numbers: [38]
38,76 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: 76:[80, 35, 35], Operations: ['21+14=35']
Exploring Operation: 80-35=45, Resulting Numbers: [35, 45]
Generated Node #0,2,0: 76:[35, 45] Operation: 80-35=45
Exploring Operation: 35/35=1, Resulting Numbers: [80, 1]
Generated Node #0,2,1: 76:[80, 1] Operation: 35/35=1
Exploring Operation: 35-35=0, Resulting Numbers: [80, 0]
Generated Node #0,2,2: 76:[80, 0] Operation: 35-35=0
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 76:[80, 1], Operations: ['21+14=35', '35/35=1']
Exploring Operation: 80-1=79, Resulting Numbers: [79]
79,76 unequal: No Solution
Exploring Operation: 80/1=80, Resulting Numbers: [80]
80,76 unequal: No Solution
Exploring Operation: 80*1=80, Resulting Numbers: [80]
80,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 76:[80, 0], Operations: ['21+14=35', '35-35=0']
Exploring Operation: 80*0=0, Resulting Numbers: [0]
0,76 unequal: No Solution
Exploring Operation: 80-0=80, Resulting Numbers: [80]
80,76 unequal: No Solution
Exploring Operation: 80+0=80, Resulting Numbers: [80]
80,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 76:[35, 45], Operations: ['21+14=35', '80-35=45']
Exploring Operation: 35*45=1575, Resulting Numbers: [1575]
1575,76 unequal: No Solution
Exploring Operation: 45-35=10, Resulting Numbers: [10]
10,76 unequal: No Solution
Exploring Operation: 35+45=80, Resulting Numbers: [80]
80,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_3 | sum_heuristic |
[
31,
31,
32,
95
] | 65 | [
"31+31=62",
"32+95=127",
"127-62=65"
] | Current State: 65:[31, 31, 32, 95], Operations: []
Exploring Operation: 31+31=62, Resulting Numbers: [32, 95, 62]
Generated Node #2: [32, 95, 62] from Operation: 31+31=62
Current State: 65:[32, 95, 62], Operations: ['31+31=62']
Exploring Operation: 32+95=127, Resulting Numbers: [62, 127]
Generated Node #3: [62, 127] from Operation: 32+95=127
Current State: 65:[62, 127], Operations: ['31+31=62', '32+95=127']
Exploring Operation: 127-62=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[31, 31, 32, 95], Operations: []
Exploring Operation: 95-31=64, Resulting Numbers: [31, 32, 64]
Generated Node #0,0: 65:[31, 32, 64] Operation: 95-31=64
Exploring Operation: 95-31=64, Resulting Numbers: [31, 32, 64]
Generated Node #0,1: 65:[31, 32, 64] Operation: 95-31=64
Exploring Operation: 95-32=63, Resulting Numbers: [31, 31, 63]
Generated Node #0,2: 65:[31, 31, 63] Operation: 95-32=63
Start Sub Search at level 1: Moving to Node #0,0
Current State: 65:[31, 32, 64], Operations: ['95-31=64']
Exploring Operation: 64/32=2, Resulting Numbers: [31, 2]
Generated Node #0,0,0: 65:[31, 2] Operation: 64/32=2
Exploring Operation: 31+32=63, Resulting Numbers: [64, 63]
Generated Node #0,0,1: 65:[64, 63] Operation: 31+32=63
Exploring Operation: 32-31=1, Resulting Numbers: [64, 1]
Generated Node #0,0,2: 65:[64, 1] Operation: 32-31=1
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 65:[64, 63], Operations: ['95-31=64', '31+32=63']
Exploring Operation: 64+63=127, Resulting Numbers: [127]
127,65 unequal: No Solution
Exploring Operation: 64*63=4032, Resulting Numbers: [4032]
4032,65 unequal: No Solution
Exploring Operation: 64-63=1, Resulting Numbers: [1]
1,65 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 65:[64, 1], Operations: ['95-31=64', '32-31=1']
Exploring Operation: 64*1=64, Resulting Numbers: [64]
64,65 unequal: No Solution
Exploring Operation: 64+1=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[31, 31, 32, 95], Operations: []
Exploring Operation: 95-31=64, Resulting Numbers: [31, 32, 64]
Generated Node #0,0: 65:[31, 32, 64] Operation: 95-31=64
Moving to Node #0,0
Current State: 65:[31, 32, 64], Operations: ['95-31=64']
Exploring Operation: 32-31=1, Resulting Numbers: [64, 1]
Generated Node #0,0,2: 65:[64, 1] Operation: 32-31=1
Moving to Node #0,0,2
Current State: 65:[64, 1], Operations: ['95-31=64', '32-31=1']
Exploring Operation: 64+1=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
47,
64,
11,
8
] | 37 | [
"47+64=111",
"11-8=3",
"111/3=37"
] | Current State: 37:[47, 64, 11, 8], Operations: []
Exploring Operation: 47+64=111, Resulting Numbers: [11, 8, 111]
Generated Node #2: [11, 8, 111] from Operation: 47+64=111
Current State: 37:[11, 8, 111], Operations: ['47+64=111']
Exploring Operation: 11-8=3, Resulting Numbers: [111, 3]
Generated Node #3: [111, 3] from Operation: 11-8=3
Current State: 37:[111, 3], Operations: ['47+64=111', '11-8=3']
Exploring Operation: 111/3=37, Resulting Numbers: [37]
37,37 equal: Goal Reached
| 4 | Current State: 37:[47, 64, 11, 8], Operations: []
Exploring Operation: 64-11=53, Resulting Numbers: [47, 8, 53]
Generated Node #0,0: 37:[47, 8, 53] Operation: 64-11=53
Exploring Operation: 47-8=39, Resulting Numbers: [64, 11, 39]
Generated Node #0,1: 37:[64, 11, 39] Operation: 47-8=39
Exploring Operation: 64-8=56, Resulting Numbers: [47, 11, 56]
Generated Node #0,2: 37:[47, 11, 56] Operation: 64-8=56
Moving to Node #0,0
Current State: 37:[47, 8, 53], Operations: ['64-11=53']
Exploring Operation: 47+8=55, Resulting Numbers: [53, 55]
Generated Node #0,0,0: 37:[53, 55] Operation: 47+8=55
Exploring Operation: 47-8=39, Resulting Numbers: [53, 39]
Generated Node #0,0,1: 37:[53, 39] Operation: 47-8=39
Exploring Operation: 53-8=45, Resulting Numbers: [47, 45]
Generated Node #0,0,2: 37:[47, 45] Operation: 53-8=45
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 37:[53, 39], Operations: ['64-11=53', '47-8=39']
Exploring Operation: 53-39=14, Resulting Numbers: [14]
14,37 unequal: No Solution
Exploring Operation: 53*39=2067, Resulting Numbers: [2067]
2067,37 unequal: No Solution
Exploring Operation: 53+39=92, Resulting Numbers: [92]
92,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 37:[47, 45], Operations: ['64-11=53', '53-8=45']
Exploring Operation: 47+45=92, Resulting Numbers: [92]
92,37 unequal: No Solution
Exploring Operation: 47-45=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Exploring Operation: 47*45=2115, Resulting Numbers: [2115]
2115,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 37:[53, 55], Operations: ['64-11=53', '47+8=55']
Exploring Operation: 53+55=108, Resulting Numbers: [108]
108,37 unequal: No Solution
Exploring Operation: 53*55=2915, Resulting Numbers: [2915]
2915,37 unequal: No Solution
Exploring Operation: 55-53=2, Resulting Numbers: [2]
2,37 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: 37:[64, 11, 39], Operations: ['47-8=39']
Exploring Operation: 39-11=28, Resulting Numbers: [64, 28]
Generated Node #0,1,0: 37:[64, 28] Operation: 39-11=28
Exploring Operation: 64-11=53, Resulting Numbers: [39, 53]
Generated Node #0,1,1: 37:[39, 53] Operation: 64-11=53
Exploring Operation: 64-39=25, Resulting Numbers: [11, 25]
Generated Node #0,1,2: 37:[11, 25] Operation: 64-39=25
Moving to Node #0,2
Current State: 37:[47, 11, 56], Operations: ['64-8=56']
Exploring Operation: 47-11=36, Resulting Numbers: [56, 36]
Generated Node #0,2,0: 37:[56, 36] Operation: 47-11=36
Exploring Operation: 56-11=45, Resulting Numbers: [47, 45]
Generated Node #0,2,1: 37:[47, 45] Operation: 56-11=45
Exploring Operation: 47+11=58, Resulting Numbers: [56, 58]
Generated Node #0,2,2: 37:[56, 58] Operation: 47+11=58
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 37:[47, 45], Operations: ['64-8=56', '56-11=45']
Exploring Operation: 47*45=2115, Resulting Numbers: [2115]
2115,37 unequal: No Solution
Exploring Operation: 47-45=2, Resulting Numbers: [2]
2,37 unequal: No Solution
Exploring Operation: 47+45=92, Resulting Numbers: [92]
92,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 37:[56, 36], Operations: ['64-8=56', '47-11=36']
Exploring Operation: 56-36=20, Resulting Numbers: [20]
20,37 unequal: No Solution
Exploring Operation: 56*36=2016, Resulting Numbers: [2016]
2016,37 unequal: No Solution
Exploring Operation: 56+36=92, Resulting Numbers: [92]
92,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 37:[56, 58], Operations: ['64-8=56', '47+11=58']
Exploring Operation: 56+58=114, Resulting Numbers: [114]
114,37 unequal: No Solution
Exploring Operation: 56*58=3248, Resulting Numbers: [3248]
3248,37 unequal: No Solution
Exploring Operation: 58-56=2, Resulting Numbers: [2]
2,37 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1,1
Current State: 37:[39, 53], Operations: ['47-8=39', '64-11=53']
Exploring Operation: 39*53=2067, Resulting Numbers: [2067]
2067,37 unequal: No Solution
Exploring Operation: 39+53=92, Resulting Numbers: [92]
92,37 unequal: No Solution
Exploring Operation: 53-39=14, Resulting Numbers: [14]
14,37 unequal: No Solution
Moving to Node #0,1,0
Current State: 37:[64, 28], Operations: ['47-8=39', '39-11=28']
Exploring Operation: 64-28=36, Resulting Numbers: [36]
36,37 unequal: No Solution
Exploring Operation: 64+28=92, Resulting Numbers: [92]
92,37 unequal: No Solution
Exploring Operation: 64*28=1792, Resulting Numbers: [1792]
1792,37 unequal: No Solution
Moving to Node #0,1,2
Current State: 37:[11, 25], Operations: ['47-8=39', '64-39=25']
Exploring Operation: 25-11=14, Resulting Numbers: [14]
14,37 unequal: No Solution
Exploring Operation: 11+25=36, Resulting Numbers: [36]
36,37 unequal: No Solution
Exploring Operation: 11*25=275, Resulting Numbers: [275]
275,37 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
21,
95,
98,
95
] | 77 | [
"21+95=116",
"98+95=193",
"193-116=77"
] | Current State: 77:[21, 95, 98, 95], Operations: []
Exploring Operation: 21+95=116, Resulting Numbers: [98, 116]
Generated Node #2: [98, 116] from Operation: 21+95=116
Current State: 77:[98, 116], Operations: ['21+95=116']
Exploring Operation: 98+95=193, Resulting Numbers: [116, 193]
Generated Node #3: [116, 193] from Operation: 98+95=193
Current State: 77:[116, 193], Operations: ['21+95=116', '98+95=193']
Exploring Operation: 193-116=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[21, 95, 98, 95], Operations: []
Exploring Operation: 98-95=3, Resulting Numbers: [21, 95, 3]
Generated Node #0,0: 77:[21, 95, 3] Operation: 98-95=3
Exploring Operation: 98-95=3, Resulting Numbers: [21, 95, 3]
Generated Node #0,1: 77:[21, 95, 3] Operation: 98-95=3
Exploring Operation: 95/95=1, Resulting Numbers: [21, 98, 1]
Generated Node #0,2: 77:[21, 98, 1] Operation: 95/95=1
Exploring Operation: 98-21=77, Resulting Numbers: [95, 95, 77]
Generated Node #0,3: 77:[95, 95, 77] Operation: 98-21=77
Start Sub Search at level 1: Moving to Node #0,0
Current State: 77:[21, 95, 3], Operations: ['98-95=3']
Exploring Operation: 95-21=74, Resulting Numbers: [3, 74]
Generated Node #0,0,0: 77:[3, 74] Operation: 95-21=74
Exploring Operation: 21-3=18, Resulting Numbers: [95, 18]
Generated Node #0,0,1: 77:[95, 18] Operation: 21-3=18
Exploring Operation: 21/3=7, Resulting Numbers: [95, 7]
Generated Node #0,0,2: 77:[95, 7] Operation: 21/3=7
Exploring Operation: 95-3=92, Resulting Numbers: [21, 92]
Generated Node #0,0,3: 77:[21, 92] Operation: 95-3=92
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 77:[3, 74], Operations: ['98-95=3', '95-21=74']
Exploring Operation: 74-3=71, Resulting Numbers: [71]
71,77 unequal: No Solution
Exploring Operation: 3+74=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[21, 95, 98, 95], Operations: []
Exploring Operation: 98-95=3, Resulting Numbers: [21, 95, 3]
Generated Node #0,0: 77:[21, 95, 3] Operation: 98-95=3
Moving to Node #0,0
Current State: 77:[21, 95, 3], Operations: ['98-95=3']
Exploring Operation: 95-21=74, Resulting Numbers: [3, 74]
Generated Node #0,0,0: 77:[3, 74] Operation: 95-21=74
Moving to Node #0,0,0
Current State: 77:[3, 74], Operations: ['98-95=3', '95-21=74']
Exploring Operation: 3+74=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
33,
77,
41,
57
] | 28 | [
"77-33=44",
"57-41=16",
"44-16=28"
] | Current State: 28:[33, 77, 41, 57], Operations: []
Exploring Operation: 77-33=44, Resulting Numbers: [41, 57, 44]
Generated Node #2: [41, 57, 44] from Operation: 77-33=44
Current State: 28:[41, 57, 44], Operations: ['77-33=44']
Exploring Operation: 57-41=16, Resulting Numbers: [44, 16]
Generated Node #3: [44, 16] from Operation: 57-41=16
Current State: 28:[44, 16], Operations: ['77-33=44', '57-41=16']
Exploring Operation: 44-16=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[33, 77, 41, 57], Operations: []
Exploring Operation: 77-41=36, Resulting Numbers: [33, 57, 36]
Generated Node #0,0: 28:[33, 57, 36] Operation: 77-41=36
Exploring Operation: 57-41=16, Resulting Numbers: [33, 77, 16]
Generated Node #0,1: 28:[33, 77, 16] Operation: 57-41=16
Exploring Operation: 77-57=20, Resulting Numbers: [33, 41, 20]
Generated Node #0,2: 28:[33, 41, 20] Operation: 77-57=20
Moving to Node #0,2
Current State: 28:[33, 41, 20], Operations: ['77-57=20']
Exploring Operation: 41-20=21, Resulting Numbers: [33, 21]
Generated Node #0,2,0: 28:[33, 21] Operation: 41-20=21
Exploring Operation: 41-33=8, Resulting Numbers: [20, 8]
Generated Node #0,2,1: 28:[20, 8] Operation: 41-33=8
Exploring Operation: 33-20=13, Resulting Numbers: [41, 13]
Generated Node #0,2,2: 28:[41, 13] Operation: 33-20=13
Moving to Node #0,0
Current State: 28:[33, 57, 36], Operations: ['77-41=36']
Exploring Operation: 57-36=21, Resulting Numbers: [33, 21]
Generated Node #0,0,0: 28:[33, 21] Operation: 57-36=21
Exploring Operation: 36-33=3, Resulting Numbers: [57, 3]
Generated Node #0,0,1: 28:[57, 3] Operation: 36-33=3
Exploring Operation: 57-33=24, Resulting Numbers: [36, 24]
Generated Node #0,0,2: 28:[36, 24] Operation: 57-33=24
Moving to Node #0,1
Current State: 28:[33, 77, 16], Operations: ['57-41=16']
Exploring Operation: 33-16=17, Resulting Numbers: [77, 17]
Generated Node #0,1,0: 28:[77, 17] Operation: 33-16=17
Exploring Operation: 77-16=61, Resulting Numbers: [33, 61]
Generated Node #0,1,1: 28:[33, 61] Operation: 77-16=61
Exploring Operation: 77-33=44, Resulting Numbers: [16, 44]
Generated Node #0,1,2: 28:[16, 44] Operation: 77-33=44
Moving to Node #0,2,1
Current State: 28:[20, 8], Operations: ['77-57=20', '41-33=8']
Exploring Operation: 20-8=12, Resulting Numbers: [12]
12,28 unequal: No Solution
Exploring Operation: 20+8=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[33, 77, 41, 57], Operations: []
Exploring Operation: 77-57=20, Resulting Numbers: [33, 41, 20]
Generated Node #0,2: 28:[33, 41, 20] Operation: 77-57=20
Moving to Node #0,2
Current State: 28:[33, 41, 20], Operations: ['77-57=20']
Exploring Operation: 41-33=8, Resulting Numbers: [20, 8]
Generated Node #0,2,1: 28:[20, 8] Operation: 41-33=8
Moving to Node #0,2,1
Current State: 28:[20, 8], Operations: ['77-57=20', '41-33=8']
Exploring Operation: 20+8=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 0.984375 | hs_3 | sum_heuristic |
[
41,
10,
23,
82
] | 18 | [
"41*10=410",
"410/82=5",
"23-5=18"
] | Current State: 18:[41, 10, 23, 82], Operations: []
Exploring Operation: 41*10=410, Resulting Numbers: [23, 82, 410]
Generated Node #2: [23, 82, 410] from Operation: 41*10=410
Current State: 18:[23, 82, 410], Operations: ['41*10=410']
Exploring Operation: 410/82=5, Resulting Numbers: [23, 5]
Generated Node #3: [23, 5] from Operation: 410/82=5
Current State: 18:[23, 5], Operations: ['41*10=410', '410/82=5']
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[41, 10, 23, 82], Operations: []
Exploring Operation: 41-10=31, Resulting Numbers: [23, 82, 31]
Generated Node #0,0: 18:[23, 82, 31] Operation: 41-10=31
Exploring Operation: 82-23=59, Resulting Numbers: [41, 10, 59]
Generated Node #0,1: 18:[41, 10, 59] Operation: 82-23=59
Exploring Operation: 41-23=18, Resulting Numbers: [10, 82, 18]
Generated Node #0,2: 18:[10, 82, 18] Operation: 41-23=18
Exploring Operation: 82/41=2, Resulting Numbers: [10, 23, 2]
Generated Node #0,3: 18:[10, 23, 2] Operation: 82/41=2
Exploring Operation: 82-41=41, Resulting Numbers: [10, 23, 41]
Generated Node #0,4: 18:[10, 23, 41] Operation: 82-41=41
Moving to Node #0,3
Current State: 18:[10, 23, 2], Operations: ['82/41=2']
Exploring Operation: 10/2=5, Resulting Numbers: [23, 5]
Generated Node #0,3,0: 18:[23, 5] Operation: 10/2=5
Exploring Operation: 23-10=13, Resulting Numbers: [2, 13]
Generated Node #0,3,1: 18:[2, 13] Operation: 23-10=13
Exploring Operation: 10-2=8, Resulting Numbers: [23, 8]
Generated Node #0,3,2: 18:[23, 8] Operation: 10-2=8
Exploring Operation: 10*2=20, Resulting Numbers: [23, 20]
Generated Node #0,3,3: 18:[23, 20] Operation: 10*2=20
Exploring Operation: 23-2=21, Resulting Numbers: [10, 21]
Generated Node #0,3,4: 18:[10, 21] Operation: 23-2=21
Moving to Node #0,4
Current State: 18:[10, 23, 41], Operations: ['82-41=41']
Exploring Operation: 41-10=31, Resulting Numbers: [23, 31]
Generated Node #0,4,0: 18:[23, 31] Operation: 41-10=31
Exploring Operation: 10+23=33, Resulting Numbers: [41, 33]
Generated Node #0,4,1: 18:[41, 33] Operation: 10+23=33
Exploring Operation: 41-23=18, Resulting Numbers: [10, 18]
Generated Node #0,4,2: 18:[10, 18] Operation: 41-23=18
Exploring Operation: 10+41=51, Resulting Numbers: [23, 51]
Generated Node #0,4,3: 18:[23, 51] Operation: 10+41=51
Exploring Operation: 23-10=13, Resulting Numbers: [41, 13]
Generated Node #0,4,4: 18:[41, 13] Operation: 23-10=13
Moving to Node #0,1
Current State: 18:[41, 10, 59], Operations: ['82-23=59']
Exploring Operation: 41+10=51, Resulting Numbers: [59, 51]
Generated Node #0,1,0: 18:[59, 51] Operation: 41+10=51
Exploring Operation: 10+59=69, Resulting Numbers: [41, 69]
Generated Node #0,1,1: 18:[41, 69] Operation: 10+59=69
Exploring Operation: 59-41=18, Resulting Numbers: [10, 18]
Generated Node #0,1,2: 18:[10, 18] Operation: 59-41=18
Exploring Operation: 41-10=31, Resulting Numbers: [59, 31]
Generated Node #0,1,3: 18:[59, 31] Operation: 41-10=31
Exploring Operation: 59-10=49, Resulting Numbers: [41, 49]
Generated Node #0,1,4: 18:[41, 49] Operation: 59-10=49
Moving to Node #0,2
Current State: 18:[10, 82, 18], Operations: ['41-23=18']
Exploring Operation: 10+18=28, Resulting Numbers: [82, 28]
Generated Node #0,2,0: 18:[82, 28] Operation: 10+18=28
Exploring Operation: 18-10=8, Resulting Numbers: [82, 8]
Generated Node #0,2,1: 18:[82, 8] Operation: 18-10=8
Exploring Operation: 82-18=64, Resulting Numbers: [10, 64]
Generated Node #0,2,2: 18:[10, 64] Operation: 82-18=64
Exploring Operation: 10+82=92, Resulting Numbers: [18, 92]
Generated Node #0,2,3: 18:[18, 92] Operation: 10+82=92
Exploring Operation: 82-10=72, Resulting Numbers: [18, 72]
Generated Node #0,2,4: 18:[18, 72] Operation: 82-10=72
Moving to Node #0,0
Current State: 18:[23, 82, 31], Operations: ['41-10=31']
Exploring Operation: 23+31=54, Resulting Numbers: [82, 54]
Generated Node #0,0,0: 18:[82, 54] Operation: 23+31=54
Exploring Operation: 82-31=51, Resulting Numbers: [23, 51]
Generated Node #0,0,1: 18:[23, 51] Operation: 82-31=51
Exploring Operation: 23+82=105, Resulting Numbers: [31, 105]
Generated Node #0,0,2: 18:[31, 105] Operation: 23+82=105
Exploring Operation: 82-23=59, Resulting Numbers: [31, 59]
Generated Node #0,0,3: 18:[31, 59] Operation: 82-23=59
Exploring Operation: 31-23=8, Resulting Numbers: [82, 8]
Generated Node #0,0,4: 18:[82, 8] Operation: 31-23=8
Moving to Node #0,4,2
Current State: 18:[10, 18], Operations: ['82-41=41', '41-23=18']
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,18 unequal: No Solution
Exploring Operation: 10*18=180, Resulting Numbers: [180]
180,18 unequal: No Solution
Exploring Operation: 10+18=28, Resulting Numbers: [28]
28,18 unequal: No Solution
Moving to Node #0,1,2
Current State: 18:[10, 18], Operations: ['82-23=59', '59-41=18']
Exploring Operation: 10+18=28, Resulting Numbers: [28]
28,18 unequal: No Solution
Exploring Operation: 10*18=180, Resulting Numbers: [180]
180,18 unequal: No Solution
Exploring Operation: 18-10=8, Resulting Numbers: [8]
8,18 unequal: No Solution
Moving to Node #0,3,1
Current State: 18:[2, 13], Operations: ['82/41=2', '23-10=13']
Exploring Operation: 2+13=15, Resulting Numbers: [15]
15,18 unequal: No Solution
Exploring Operation: 13-2=11, Resulting Numbers: [11]
11,18 unequal: No Solution
Exploring Operation: 2*13=26, Resulting Numbers: [26]
26,18 unequal: No Solution
Moving to Node #0,3,4
Current State: 18:[10, 21], Operations: ['82/41=2', '23-2=21']
Exploring Operation: 10+21=31, Resulting Numbers: [31]
31,18 unequal: No Solution
Exploring Operation: 21-10=11, Resulting Numbers: [11]
11,18 unequal: No Solution
Exploring Operation: 10*21=210, Resulting Numbers: [210]
210,18 unequal: No Solution
Moving to Node #0,3,0
Current State: 18:[23, 5], Operations: ['82/41=2', '10/2=5']
Exploring Operation: 23*5=115, Resulting Numbers: [115]
115,18 unequal: No Solution
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[41, 10, 23, 82], Operations: []
Exploring Operation: 82/41=2, Resulting Numbers: [10, 23, 2]
Generated Node #0,3: 18:[10, 23, 2] Operation: 82/41=2
Moving to Node #0,3
Current State: 18:[10, 23, 2], Operations: ['82/41=2']
Exploring Operation: 10/2=5, Resulting Numbers: [23, 5]
Generated Node #0,3,0: 18:[23, 5] Operation: 10/2=5
Moving to Node #0,3,0
Current State: 18:[23, 5], Operations: ['82/41=2', '10/2=5']
Exploring Operation: 23-5=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 0.958333 | hs_5 | sum_heuristic |
[
27,
47,
16,
6
] | 96 | [
"27+47=74",
"16+6=22",
"74+22=96"
] | Current State: 96:[27, 47, 16, 6], Operations: []
Exploring Operation: 27+47=74, Resulting Numbers: [16, 6, 74]
Generated Node #2: [16, 6, 74] from Operation: 27+47=74
Current State: 96:[16, 6, 74], Operations: ['27+47=74']
Exploring Operation: 16+6=22, Resulting Numbers: [74, 22]
Generated Node #3: [74, 22] from Operation: 16+6=22
Current State: 96:[74, 22], Operations: ['27+47=74', '16+6=22']
Exploring Operation: 74+22=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[27, 47, 16, 6], Operations: []
Exploring Operation: 27-16=11, Resulting Numbers: [47, 6, 11]
Generated Node #0,0: 96:[47, 6, 11] Operation: 27-16=11
Exploring Operation: 27+6=33, Resulting Numbers: [47, 16, 33]
Generated Node #0,1: 96:[47, 16, 33] Operation: 27+6=33
Moving to Node #0,0
Current State: 96:[47, 6, 11], Operations: ['27-16=11']
Exploring Operation: 6+11=17, Resulting Numbers: [47, 17]
Generated Node #0,0,0: 96:[47, 17] Operation: 6+11=17
Exploring Operation: 11-6=5, Resulting Numbers: [47, 5]
Generated Node #0,0,1: 96:[47, 5] Operation: 11-6=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 96:[47, 17], Operations: ['27-16=11', '6+11=17']
Exploring Operation: 47-17=30, Resulting Numbers: [30]
30,96 unequal: No Solution
Exploring Operation: 47+17=64, Resulting Numbers: [64]
64,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 96:[47, 5], Operations: ['27-16=11', '11-6=5']
Exploring Operation: 47-5=42, Resulting Numbers: [42]
42,96 unequal: No Solution
Exploring Operation: 47+5=52, Resulting Numbers: [52]
52,96 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: 96:[47, 16, 33], Operations: ['27+6=33']
Exploring Operation: 47-33=14, Resulting Numbers: [16, 14]
Generated Node #0,1,0: 96:[16, 14] Operation: 47-33=14
Exploring Operation: 47-16=31, Resulting Numbers: [33, 31]
Generated Node #0,1,1: 96:[33, 31] Operation: 47-16=31
Moving to Node #0,1,0
Current State: 96:[16, 14], Operations: ['27+6=33', '47-33=14']
Exploring Operation: 16+14=30, Resulting Numbers: [30]
30,96 unequal: No Solution
Exploring Operation: 16-14=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Moving to Node #0,1,1
Current State: 96:[33, 31], Operations: ['27+6=33', '47-16=31']
Exploring Operation: 33-31=2, Resulting Numbers: [2]
2,96 unequal: No Solution
Exploring Operation: 33+31=64, Resulting Numbers: [64]
64,96 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
29,
27,
94,
71
] | 25 | [
"29-27=2",
"94-71=23",
"2+23=25"
] | Current State: 25:[29, 27, 94, 71], Operations: []
Exploring Operation: 29-27=2, Resulting Numbers: [94, 71, 2]
Generated Node #2: [94, 71, 2] from Operation: 29-27=2
Current State: 25:[94, 71, 2], Operations: ['29-27=2']
Exploring Operation: 94-71=23, Resulting Numbers: [2, 23]
Generated Node #3: [2, 23] from Operation: 94-71=23
Current State: 25:[2, 23], Operations: ['29-27=2', '94-71=23']
Exploring Operation: 2+23=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[29, 27, 94, 71], Operations: []
Exploring Operation: 94-27=67, Resulting Numbers: [29, 71, 67]
Generated Node #0,0: 25:[29, 71, 67] Operation: 94-27=67
Exploring Operation: 94-29=65, Resulting Numbers: [27, 71, 65]
Generated Node #0,1: 25:[27, 71, 65] Operation: 94-29=65
Exploring Operation: 94-71=23, Resulting Numbers: [29, 27, 23]
Generated Node #0,2: 25:[29, 27, 23] Operation: 94-71=23
Exploring Operation: 71-29=42, Resulting Numbers: [27, 94, 42]
Generated Node #0,3: 25:[27, 94, 42] Operation: 71-29=42
Moving to Node #0,2
Current State: 25:[29, 27, 23], Operations: ['94-71=23']
Exploring Operation: 29-23=6, Resulting Numbers: [27, 6]
Generated Node #0,2,0: 25:[27, 6] Operation: 29-23=6
Exploring Operation: 29+23=52, Resulting Numbers: [27, 52]
Generated Node #0,2,1: 25:[27, 52] Operation: 29+23=52
Exploring Operation: 27-23=4, Resulting Numbers: [29, 4]
Generated Node #0,2,2: 25:[29, 4] Operation: 27-23=4
Exploring Operation: 29-27=2, Resulting Numbers: [23, 2]
Generated Node #0,2,3: 25:[23, 2] Operation: 29-27=2
Moving to Node #0,3
Current State: 25:[27, 94, 42], Operations: ['71-29=42']
Exploring Operation: 94-27=67, Resulting Numbers: [42, 67]
Generated Node #0,3,0: 25:[42, 67] Operation: 94-27=67
Exploring Operation: 94-42=52, Resulting Numbers: [27, 52]
Generated Node #0,3,1: 25:[27, 52] Operation: 94-42=52
Exploring Operation: 27+94=121, Resulting Numbers: [42, 121]
Generated Node #0,3,2: 25:[42, 121] Operation: 27+94=121
Exploring Operation: 42-27=15, Resulting Numbers: [94, 15]
Generated Node #0,3,3: 25:[94, 15] Operation: 42-27=15
Moving to Node #0,1
Current State: 25:[27, 71, 65], Operations: ['94-29=65']
Exploring Operation: 65-27=38, Resulting Numbers: [71, 38]
Generated Node #0,1,0: 25:[71, 38] Operation: 65-27=38
Exploring Operation: 71-27=44, Resulting Numbers: [65, 44]
Generated Node #0,1,1: 25:[65, 44] Operation: 71-27=44
Exploring Operation: 27+71=98, Resulting Numbers: [65, 98]
Generated Node #0,1,2: 25:[65, 98] Operation: 27+71=98
Exploring Operation: 71-65=6, Resulting Numbers: [27, 6]
Generated Node #0,1,3: 25:[27, 6] Operation: 71-65=6
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 25:[27, 6], Operations: ['94-29=65', '71-65=6']
Exploring Operation: 27-6=21, Resulting Numbers: [21]
21,25 unequal: No Solution
Exploring Operation: 27*6=162, Resulting Numbers: [162]
162,25 unequal: No Solution
Exploring Operation: 27+6=33, Resulting Numbers: [33]
33,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:[71, 38], Operations: ['94-29=65', '65-27=38']
Exploring Operation: 71+38=109, Resulting Numbers: [109]
109,25 unequal: No Solution
Exploring Operation: 71-38=33, Resulting Numbers: [33]
33,25 unequal: No Solution
Exploring Operation: 71*38=2698, Resulting Numbers: [2698]
2698,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 25:[65, 44], Operations: ['94-29=65', '71-27=44']
Exploring Operation: 65*44=2860, Resulting Numbers: [2860]
2860,25 unequal: No Solution
Exploring Operation: 65+44=109, Resulting Numbers: [109]
109,25 unequal: No Solution
Exploring Operation: 65-44=21, Resulting Numbers: [21]
21,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 25:[65, 98], Operations: ['94-29=65', '27+71=98']
Exploring Operation: 65+98=163, Resulting Numbers: [163]
163,25 unequal: No Solution
Exploring Operation: 98-65=33, Resulting Numbers: [33]
33,25 unequal: No Solution
Exploring Operation: 65*98=6370, Resulting Numbers: [6370]
6370,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 25:[29, 71, 67], Operations: ['94-27=67']
Exploring Operation: 71-67=4, Resulting Numbers: [29, 4]
Generated Node #0,0,0: 25:[29, 4] Operation: 71-67=4
Exploring Operation: 71-29=42, Resulting Numbers: [67, 42]
Generated Node #0,0,1: 25:[67, 42] Operation: 71-29=42
Exploring Operation: 29+71=100, Resulting Numbers: [67, 100]
Generated Node #0,0,2: 25:[67, 100] Operation: 29+71=100
Exploring Operation: 67-29=38, Resulting Numbers: [71, 38]
Generated Node #0,0,3: 25:[71, 38] Operation: 67-29=38
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 25:[29, 4], Operations: ['94-27=67', '71-67=4']
Exploring Operation: 29*4=116, Resulting Numbers: [116]
116,25 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Moving to Node #0
Current State: 25:[29, 27, 94, 71], Operations: []
Exploring Operation: 94-27=67, Resulting Numbers: [29, 71, 67]
Generated Node #0,0: 25:[29, 71, 67] Operation: 94-27=67
Moving to Node #0,0
Current State: 25:[29, 71, 67], Operations: ['94-27=67']
Exploring Operation: 71-67=4, Resulting Numbers: [29, 4]
Generated Node #0,0,0: 25:[29, 4] Operation: 71-67=4
Moving to Node #0,0,0
Current State: 25:[29, 4], Operations: ['94-27=67', '71-67=4']
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
Exit Sub Search at level 1
| 0.967014 | hs_4 | sum_heuristic |
[
9,
21,
13,
4
] | 80 | [
"13-9=4",
"21*4=84",
"84-4=80"
] | Current State: 80:[9, 21, 13, 4], Operations: []
Exploring Operation: 13-9=4, Resulting Numbers: [21, 4, 4]
Generated Node #2: [21, 4, 4] from Operation: 13-9=4
Current State: 80:[21, 4, 4], Operations: ['13-9=4']
Exploring Operation: 21*4=84, Resulting Numbers: [84]
84,80 equal: Goal Reached
Exploring Operation: 84-4=80, Resulting Numbers: [80]
80,80 equal: Goal Reached
| 4 | Current State: 80:[9, 21, 13, 4], Operations: []
Exploring Operation: 21-13=8, Resulting Numbers: [9, 4, 8]
Generated Node #0,0: 80:[9, 4, 8] Operation: 21-13=8
Exploring Operation: 13-9=4, Resulting Numbers: [21, 4, 4]
Generated Node #0,1: 80:[21, 4, 4] Operation: 13-9=4
Start Sub Search at level 1: Moving to Node #0,0
Current State: 80:[9, 4, 8], Operations: ['21-13=8']
Exploring Operation: 9-4=5, Resulting Numbers: [8, 5]
Generated Node #0,0,0: 80:[8, 5] Operation: 9-4=5
Exploring Operation: 9+8=17, Resulting Numbers: [4, 17]
Generated Node #0,0,1: 80:[4, 17] Operation: 9+8=17
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 80:[8, 5], Operations: ['21-13=8', '9-4=5']
Exploring Operation: 8*5=40, Resulting Numbers: [40]
40,80 unequal: No Solution
Exploring Operation: 8-5=3, Resulting Numbers: [3]
3,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 80:[4, 17], Operations: ['21-13=8', '9+8=17']
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,80 unequal: No Solution
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,80 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 80:[21, 4, 4], Operations: ['13-9=4']
Exploring Operation: 21-4=17, Resulting Numbers: [4, 17]
Generated Node #0,1,0: 80:[4, 17] Operation: 21-4=17
Exploring Operation: 21-4=17, Resulting Numbers: [4, 17]
Generated Node #0,1,1: 80:[4, 17] Operation: 21-4=17
Moving to Node #0,1,0
Current State: 80:[4, 17], Operations: ['13-9=4', '21-4=17']
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,80 unequal: No Solution
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,80 unequal: No Solution
Moving to Node #0,1,1
Current State: 80:[4, 17], Operations: ['13-9=4', '21-4=17']
Exploring Operation: 17-4=13, Resulting Numbers: [13]
13,80 unequal: No Solution
Exploring Operation: 4+17=21, Resulting Numbers: [21]
21,80 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
67,
5,
87,
29
] | 24 | [
"67+5=72",
"87/29=3",
"72/3=24"
] | Current State: 24:[67, 5, 87, 29], Operations: []
Exploring Operation: 67+5=72, Resulting Numbers: [87, 29, 72]
Generated Node #2: [87, 29, 72] from Operation: 67+5=72
Current State: 24:[87, 29, 72], Operations: ['67+5=72']
Exploring Operation: 87/29=3, Resulting Numbers: [72, 3]
Generated Node #3: [72, 3] from Operation: 87/29=3
Current State: 24:[72, 3], Operations: ['67+5=72', '87/29=3']
Exploring Operation: 72/3=24, Resulting Numbers: [24]
24,24 equal: Goal Reached
| 4 | Current State: 24:[67, 5, 87, 29], Operations: []
Exploring Operation: 67-29=38, Resulting Numbers: [5, 87, 38]
Generated Node #0,0: 24:[5, 87, 38] Operation: 67-29=38
Exploring Operation: 87/29=3, Resulting Numbers: [67, 5, 3]
Generated Node #0,1: 24:[67, 5, 3] Operation: 87/29=3
Exploring Operation: 87-67=20, Resulting Numbers: [5, 29, 20]
Generated Node #0,2: 24:[5, 29, 20] Operation: 87-67=20
Moving to Node #0,2
Current State: 24:[5, 29, 20], Operations: ['87-67=20']
Exploring Operation: 20/5=4, Resulting Numbers: [29, 4]
Generated Node #0,2,0: 24:[29, 4] Operation: 20/5=4
Exploring Operation: 29-5=24, Resulting Numbers: [20, 24]
Generated Node #0,2,1: 24:[20, 24] Operation: 29-5=24
Exploring Operation: 29-20=9, Resulting Numbers: [5, 9]
Generated Node #0,2,2: 24:[5, 9] Operation: 29-20=9
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 24:[5, 9], Operations: ['87-67=20', '29-20=9']
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,24 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,24 unequal: No Solution
Exploring Operation: 5*9=45, Resulting Numbers: [45]
45,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 24:[20, 24], Operations: ['87-67=20', '29-5=24']
Exploring Operation: 20+24=44, Resulting Numbers: [44]
44,24 unequal: No Solution
Exploring Operation: 20*24=480, Resulting Numbers: [480]
480,24 unequal: No Solution
Exploring Operation: 24-20=4, Resulting Numbers: [4]
4,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 24:[29, 4], Operations: ['87-67=20', '20/5=4']
Exploring Operation: 29+4=33, Resulting Numbers: [33]
33,24 unequal: No Solution
Exploring Operation: 29-4=25, Resulting Numbers: [25]
25,24 unequal: No Solution
Exploring Operation: 29*4=116, Resulting Numbers: [116]
116,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 24:[67, 5, 3], Operations: ['87/29=3']
Exploring Operation: 5+3=8, Resulting Numbers: [67, 8]
Generated Node #0,1,0: 24:[67, 8] Operation: 5+3=8
Exploring Operation: 67-5=62, Resulting Numbers: [3, 62]
Generated Node #0,1,1: 24:[3, 62] Operation: 67-5=62
Exploring Operation: 67-3=64, Resulting Numbers: [5, 64]
Generated Node #0,1,2: 24:[5, 64] Operation: 67-3=64
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 24:[3, 62], Operations: ['87/29=3', '67-5=62']
Exploring Operation: 3*62=186, Resulting Numbers: [186]
186,24 unequal: No Solution
Exploring Operation: 62-3=59, Resulting Numbers: [59]
59,24 unequal: No Solution
Exploring Operation: 3+62=65, Resulting Numbers: [65]
65,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 24:[5, 64], Operations: ['87/29=3', '67-3=64']
Exploring Operation: 64-5=59, Resulting Numbers: [59]
59,24 unequal: No Solution
Exploring Operation: 5+64=69, Resulting Numbers: [69]
69,24 unequal: No Solution
Exploring Operation: 5*64=320, Resulting Numbers: [320]
320,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 24:[67, 8], Operations: ['87/29=3', '5+3=8']
Exploring Operation: 67-8=59, Resulting Numbers: [59]
59,24 unequal: No Solution
Exploring Operation: 67+8=75, Resulting Numbers: [75]
75,24 unequal: No Solution
Exploring Operation: 67*8=536, Resulting Numbers: [536]
536,24 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: 24:[5, 87, 38], Operations: ['67-29=38']
Exploring Operation: 38-5=33, Resulting Numbers: [87, 33]
Generated Node #0,0,0: 24:[87, 33] Operation: 38-5=33
Exploring Operation: 87-5=82, Resulting Numbers: [38, 82]
Generated Node #0,0,1: 24:[38, 82] Operation: 87-5=82
Exploring Operation: 87-38=49, Resulting Numbers: [5, 49]
Generated Node #0,0,2: 24:[5, 49] Operation: 87-38=49
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 24:[5, 49], Operations: ['67-29=38', '87-38=49']
Exploring Operation: 49-5=44, Resulting Numbers: [44]
44,24 unequal: No Solution
Exploring Operation: 5*49=245, Resulting Numbers: [245]
245,24 unequal: No Solution
Exploring Operation: 5+49=54, Resulting Numbers: [54]
54,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 24:[87, 33], Operations: ['67-29=38', '38-5=33']
Exploring Operation: 87+33=120, Resulting Numbers: [120]
120,24 unequal: No Solution
Exploring Operation: 87-33=54, Resulting Numbers: [54]
54,24 unequal: No Solution
Exploring Operation: 87*33=2871, Resulting Numbers: [2871]
2871,24 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 24:[38, 82], Operations: ['67-29=38', '87-5=82']
Exploring Operation: 82-38=44, Resulting Numbers: [44]
44,24 unequal: No Solution
Exploring Operation: 38*82=3116, Resulting Numbers: [3116]
3116,24 unequal: No Solution
Exploring Operation: 38+82=120, Resulting Numbers: [120]
120,24 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 |
[
65,
51,
60,
31
] | 87 | [
"65+51=116",
"60-31=29",
"116-29=87"
] | Current State: 87:[65, 51, 60, 31], Operations: []
Exploring Operation: 65+51=116, Resulting Numbers: [60, 31, 116]
Generated Node #2: [60, 31, 116] from Operation: 65+51=116
Current State: 87:[60, 31, 116], Operations: ['65+51=116']
Exploring Operation: 60-31=29, Resulting Numbers: [116, 29]
Generated Node #3: [116, 29] from Operation: 60-31=29
Current State: 87:[116, 29], Operations: ['65+51=116', '60-31=29']
Exploring Operation: 116-29=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[65, 51, 60, 31], Operations: []
Exploring Operation: 65-60=5, Resulting Numbers: [51, 31, 5]
Generated Node #0,0: 87:[51, 31, 5] Operation: 65-60=5
Moving to Node #0,0
Current State: 87:[51, 31, 5], Operations: ['65-60=5']
Exploring Operation: 51+31=82, Resulting Numbers: [5, 82]
Generated Node #0,0,0: 87:[5, 82] Operation: 51+31=82
Moving to Node #0,0,0
Current State: 87:[5, 82], Operations: ['65-60=5', '51+31=82']
Exploring Operation: 5+82=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
Moving to Node #0
Current State: 87:[65, 51, 60, 31], Operations: []
Exploring Operation: 65-60=5, Resulting Numbers: [51, 31, 5]
Generated Node #0,0: 87:[51, 31, 5] Operation: 65-60=5
Moving to Node #0,0
Current State: 87:[51, 31, 5], Operations: ['65-60=5']
Exploring Operation: 51+31=82, Resulting Numbers: [5, 82]
Generated Node #0,0,0: 87:[5, 82] Operation: 51+31=82
Moving to Node #0,0,0
Current State: 87:[5, 82], Operations: ['65-60=5', '51+31=82']
Exploring Operation: 5+82=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 0.993924 | hs_1 | sum_heuristic |
[
61,
39,
89,
93
] | 88 | [
"61-39=22",
"93-89=4",
"22*4=88"
] | Current State: 88:[61, 39, 89, 93], Operations: []
Exploring Operation: 61-39=22, Resulting Numbers: [89, 93, 22]
Generated Node #2: [89, 93, 22] from Operation: 61-39=22
Current State: 88:[89, 93, 22], Operations: ['61-39=22']
Exploring Operation: 93-89=4, Resulting Numbers: [22, 4]
Generated Node #3: [22, 4] from Operation: 93-89=4
Current State: 88:[22, 4], Operations: ['61-39=22', '93-89=4']
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[61, 39, 89, 93], Operations: []
Exploring Operation: 61-39=22, Resulting Numbers: [89, 93, 22]
Generated Node #0,0: 88:[89, 93, 22] Operation: 61-39=22
Exploring Operation: 89-61=28, Resulting Numbers: [39, 93, 28]
Generated Node #0,1: 88:[39, 93, 28] Operation: 89-61=28
Moving to Node #0,0
Current State: 88:[89, 93, 22], Operations: ['61-39=22']
Exploring Operation: 93-89=4, Resulting Numbers: [22, 4]
Generated Node #0,0,0: 88:[22, 4] Operation: 93-89=4
Exploring Operation: 93-22=71, Resulting Numbers: [89, 71]
Generated Node #0,0,1: 88:[89, 71] Operation: 93-22=71
Moving to Node #0,1
Current State: 88:[39, 93, 28], Operations: ['89-61=28']
Exploring Operation: 39-28=11, Resulting Numbers: [93, 11]
Generated Node #0,1,0: 88:[93, 11] Operation: 39-28=11
Exploring Operation: 93-39=54, Resulting Numbers: [28, 54]
Generated Node #0,1,1: 88:[28, 54] Operation: 93-39=54
Moving to Node #0,0,0
Current State: 88:[22, 4], Operations: ['61-39=22', '93-89=4']
Exploring Operation: 22+4=26, Resulting Numbers: [26]
26,88 unequal: No Solution
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[61, 39, 89, 93], Operations: []
Exploring Operation: 61-39=22, Resulting Numbers: [89, 93, 22]
Generated Node #0,0: 88:[89, 93, 22] Operation: 61-39=22
Moving to Node #0,0
Current State: 88:[89, 93, 22], Operations: ['61-39=22']
Exploring Operation: 93-89=4, Resulting Numbers: [22, 4]
Generated Node #0,0,0: 88:[22, 4] Operation: 93-89=4
Moving to Node #0,0,0
Current State: 88:[22, 4], Operations: ['61-39=22', '93-89=4']
Exploring Operation: 22*4=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 0.989583 | hs_2 | mult_heuristic |
[
12,
81,
88,
95
] | 76 | [
"81-12=69",
"95-88=7",
"69+7=76"
] | Current State: 76:[12, 81, 88, 95], Operations: []
Exploring Operation: 81-12=69, Resulting Numbers: [88, 95, 69]
Generated Node #2: [88, 95, 69] from Operation: 81-12=69
Current State: 76:[88, 95, 69], Operations: ['81-12=69']
Exploring Operation: 95-88=7, Resulting Numbers: [69, 7]
Generated Node #3: [69, 7] from Operation: 95-88=7
Current State: 76:[69, 7], Operations: ['81-12=69', '95-88=7']
Exploring Operation: 69+7=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[12, 81, 88, 95], Operations: []
Exploring Operation: 95-81=14, Resulting Numbers: [12, 88, 14]
Generated Node #0,0: 76:[12, 88, 14] Operation: 95-81=14
Exploring Operation: 95-88=7, Resulting Numbers: [12, 81, 7]
Generated Node #0,1: 76:[12, 81, 7] Operation: 95-88=7
Exploring Operation: 88-12=76, Resulting Numbers: [81, 95, 76]
Generated Node #0,2: 76:[81, 95, 76] Operation: 88-12=76
Exploring Operation: 88-81=7, Resulting Numbers: [12, 95, 7]
Generated Node #0,3: 76:[12, 95, 7] Operation: 88-81=7
Exploring Operation: 95-12=83, Resulting Numbers: [81, 88, 83]
Generated Node #0,4: 76:[81, 88, 83] Operation: 95-12=83
Moving to Node #0,1
Current State: 76:[12, 81, 7], Operations: ['95-88=7']
Exploring Operation: 81-12=69, Resulting Numbers: [7, 69]
Generated Node #0,1,0: 76:[7, 69] Operation: 81-12=69
Exploring Operation: 81-7=74, Resulting Numbers: [12, 74]
Generated Node #0,1,1: 76:[12, 74] Operation: 81-7=74
Exploring Operation: 12+7=19, Resulting Numbers: [81, 19]
Generated Node #0,1,2: 76:[81, 19] Operation: 12+7=19
Exploring Operation: 12*7=84, Resulting Numbers: [81, 84]
Generated Node #0,1,3: 76:[81, 84] Operation: 12*7=84
Exploring Operation: 12-7=5, Resulting Numbers: [81, 5]
Generated Node #0,1,4: 76:[81, 5] Operation: 12-7=5
Moving to Node #0,2
Current State: 76:[81, 95, 76], Operations: ['88-12=76']
Exploring Operation: 81+95=176, Resulting Numbers: [76, 176]
Generated Node #0,2,0: 76:[76, 176] Operation: 81+95=176
Exploring Operation: 95-81=14, Resulting Numbers: [76, 14]
Generated Node #0,2,1: 76:[76, 14] Operation: 95-81=14
Exploring Operation: 95-76=19, Resulting Numbers: [81, 19]
Generated Node #0,2,2: 76:[81, 19] Operation: 95-76=19
Exploring Operation: 81-76=5, Resulting Numbers: [95, 5]
Generated Node #0,2,3: 76:[95, 5] Operation: 81-76=5
Exploring Operation: 81+76=157, Resulting Numbers: [95, 157]
Generated Node #0,2,4: 76:[95, 157] Operation: 81+76=157
Moving to Node #0,0
Current State: 76:[12, 88, 14], Operations: ['95-81=14']
Exploring Operation: 12+88=100, Resulting Numbers: [14, 100]
Generated Node #0,0,0: 76:[14, 100] Operation: 12+88=100
Exploring Operation: 88-12=76, Resulting Numbers: [14, 76]
Generated Node #0,0,1: 76:[14, 76] Operation: 88-12=76
Exploring Operation: 88-14=74, Resulting Numbers: [12, 74]
Generated Node #0,0,2: 76:[12, 74] Operation: 88-14=74
Exploring Operation: 12+14=26, Resulting Numbers: [88, 26]
Generated Node #0,0,3: 76:[88, 26] Operation: 12+14=26
Exploring Operation: 14-12=2, Resulting Numbers: [88, 2]
Generated Node #0,0,4: 76:[88, 2] Operation: 14-12=2
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 76:[14, 76], Operations: ['95-81=14', '88-12=76']
Exploring Operation: 76-14=62, Resulting Numbers: [62]
62,76 unequal: No Solution
Exploring Operation: 14*76=1064, Resulting Numbers: [1064]
1064,76 unequal: No Solution
Exploring Operation: 14+76=90, Resulting Numbers: [90]
90,76 unequal: No Solution
No 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: 76:[12, 74], Operations: ['95-81=14', '88-14=74']
Exploring Operation: 74-12=62, Resulting Numbers: [62]
62,76 unequal: No Solution
Exploring Operation: 12+74=86, Resulting Numbers: [86]
86,76 unequal: No Solution
Exploring Operation: 12*74=888, Resulting Numbers: [888]
888,76 unequal: No Solution
No 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: 76:[88, 2], Operations: ['95-81=14', '14-12=2']
Exploring Operation: 88*2=176, Resulting Numbers: [176]
176,76 unequal: No Solution
Exploring Operation: 88+2=90, Resulting Numbers: [90]
90,76 unequal: No Solution
Exploring Operation: 88/2=44, Resulting Numbers: [44]
44,76 unequal: No Solution
Exploring Operation: 88-2=86, Resulting Numbers: [86]
86,76 unequal: No Solution
No 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: 76:[88, 26], Operations: ['95-81=14', '12+14=26']
Exploring Operation: 88*26=2288, Resulting Numbers: [2288]
2288,76 unequal: No Solution
Exploring Operation: 88-26=62, Resulting Numbers: [62]
62,76 unequal: No Solution
Exploring Operation: 88+26=114, Resulting Numbers: [114]
114,76 unequal: No Solution
No 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: 76:[14, 100], Operations: ['95-81=14', '12+88=100']
Exploring Operation: 14+100=114, Resulting Numbers: [114]
114,76 unequal: No Solution
Exploring Operation: 100-14=86, Resulting Numbers: [86]
86,76 unequal: No Solution
Exploring Operation: 14*100=1400, Resulting Numbers: [1400]
1400,76 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: 76:[81, 88, 83], Operations: ['95-12=83']
Exploring Operation: 88-81=7, Resulting Numbers: [83, 7]
Generated Node #0,4,0: 76:[83, 7] Operation: 88-81=7
Exploring Operation: 81+83=164, Resulting Numbers: [88, 164]
Generated Node #0,4,1: 76:[88, 164] Operation: 81+83=164
Exploring Operation: 81+88=169, Resulting Numbers: [83, 169]
Generated Node #0,4,2: 76:[83, 169] Operation: 81+88=169
Exploring Operation: 83-81=2, Resulting Numbers: [88, 2]
Generated Node #0,4,3: 76:[88, 2] Operation: 83-81=2
Exploring Operation: 88-83=5, Resulting Numbers: [81, 5]
Generated Node #0,4,4: 76:[81, 5] Operation: 88-83=5
Moving to Node #0,3
Current State: 76:[12, 95, 7], Operations: ['88-81=7']
Exploring Operation: 12*7=84, Resulting Numbers: [95, 84]
Generated Node #0,3,0: 76:[95, 84] Operation: 12*7=84
Exploring Operation: 12-7=5, Resulting Numbers: [95, 5]
Generated Node #0,3,1: 76:[95, 5] Operation: 12-7=5
Exploring Operation: 95-12=83, Resulting Numbers: [7, 83]
Generated Node #0,3,2: 76:[7, 83] Operation: 95-12=83
Exploring Operation: 95-7=88, Resulting Numbers: [12, 88]
Generated Node #0,3,3: 76:[12, 88] Operation: 95-7=88
Exploring Operation: 12+7=19, Resulting Numbers: [95, 19]
Generated Node #0,3,4: 76:[95, 19] Operation: 12+7=19
Moving to Node #0,1,2
Current State: 76:[81, 19], Operations: ['95-88=7', '12+7=19']
Exploring Operation: 81*19=1539, Resulting Numbers: [1539]
1539,76 unequal: No Solution
Exploring Operation: 81+19=100, Resulting Numbers: [100]
100,76 unequal: No Solution
Exploring Operation: 81-19=62, Resulting Numbers: [62]
62,76 unequal: No Solution
Moving to Node #0,2,1
Current State: 76:[76, 14], Operations: ['88-12=76', '95-81=14']
Exploring Operation: 76+14=90, Resulting Numbers: [90]
90,76 unequal: No Solution
Exploring Operation: 76-14=62, Resulting Numbers: [62]
62,76 unequal: No Solution
Exploring Operation: 76*14=1064, Resulting Numbers: [1064]
1064,76 unequal: No Solution
Moving to Node #0,2,2
Current State: 76:[81, 19], Operations: ['88-12=76', '95-76=19']
Exploring Operation: 81*19=1539, Resulting Numbers: [1539]
1539,76 unequal: No Solution
Exploring Operation: 81-19=62, Resulting Numbers: [62]
62,76 unequal: No Solution
Exploring Operation: 81+19=100, Resulting Numbers: [100]
100,76 unequal: No Solution
Moving to Node #0,1,4
Current State: 76:[81, 5], Operations: ['95-88=7', '12-7=5']
Exploring Operation: 81*5=405, Resulting Numbers: [405]
405,76 unequal: No Solution
Exploring Operation: 81+5=86, Resulting Numbers: [86]
86,76 unequal: No Solution
Exploring Operation: 81-5=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
Moving to Node #0
Current State: 76:[12, 81, 88, 95], Operations: []
Exploring Operation: 95-88=7, Resulting Numbers: [12, 81, 7]
Generated Node #0,1: 76:[12, 81, 7] Operation: 95-88=7
Moving to Node #0,1
Current State: 76:[12, 81, 7], Operations: ['95-88=7']
Exploring Operation: 12-7=5, Resulting Numbers: [81, 5]
Generated Node #0,1,4: 76:[81, 5] Operation: 12-7=5
Moving to Node #0,1,4
Current State: 76:[81, 5], Operations: ['95-88=7', '12-7=5']
Exploring Operation: 81-5=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 0.946181 | hs_5 | mult_heuristic |
[
76,
32,
2,
74
] | 62 | [
"76-74=2",
"32*2=64",
"64-2=62"
] | Current State: 62:[76, 32, 2, 74], Operations: []
Exploring Operation: 76-74=2, Resulting Numbers: [32, 2, 2]
Generated Node #2: [32, 2, 2] from Operation: 76-74=2
Current State: 62:[32, 2, 2], Operations: ['76-74=2']
Exploring Operation: 32*2=64, Resulting Numbers: [64]
64,62 equal: Goal Reached
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 4 | Current State: 62:[76, 32, 2, 74], Operations: []
Exploring Operation: 76-32=44, Resulting Numbers: [2, 74, 44]
Generated Node #0,0: 62:[2, 74, 44] Operation: 76-32=44
Exploring Operation: 76-2=74, Resulting Numbers: [32, 74, 74]
Generated Node #0,1: 62:[32, 74, 74] Operation: 76-2=74
Exploring Operation: 76-74=2, Resulting Numbers: [32, 2, 2]
Generated Node #0,2: 62:[32, 2, 2] Operation: 76-74=2
Exploring Operation: 74/2=37, Resulting Numbers: [76, 32, 37]
Generated Node #0,3: 62:[76, 32, 37] Operation: 74/2=37
Exploring Operation: 76/2=38, Resulting Numbers: [32, 74, 38]
Generated Node #0,4: 62:[32, 74, 38] Operation: 76/2=38
Moving to Node #0,2
Current State: 62:[32, 2, 2], Operations: ['76-74=2']
Exploring Operation: 32-2=30, Resulting Numbers: [2, 30]
Generated Node #0,2,0: 62:[2, 30] Operation: 32-2=30
Exploring Operation: 2/2=1, Resulting Numbers: [32, 1]
Generated Node #0,2,1: 62:[32, 1] Operation: 2/2=1
Exploring Operation: 32*2=64, Resulting Numbers: [2, 64]
Generated Node #0,2,2: 62:[2, 64] Operation: 32*2=64
Exploring Operation: 32-2=30, Resulting Numbers: [2, 30]
Generated Node #0,2,3: 62:[2, 30] Operation: 32-2=30
Exploring Operation: 32*2=64, Resulting Numbers: [2, 64]
Generated Node #0,2,4: 62:[2, 64] Operation: 32*2=64
Moving to Node #0,4
Current State: 62:[32, 74, 38], Operations: ['76/2=38']
Exploring Operation: 74-32=42, Resulting Numbers: [38, 42]
Generated Node #0,4,0: 62:[38, 42] Operation: 74-32=42
Exploring Operation: 38-32=6, Resulting Numbers: [74, 6]
Generated Node #0,4,1: 62:[74, 6] Operation: 38-32=6
Exploring Operation: 32+74=106, Resulting Numbers: [38, 106]
Generated Node #0,4,2: 62:[38, 106] Operation: 32+74=106
Exploring Operation: 74-38=36, Resulting Numbers: [32, 36]
Generated Node #0,4,3: 62:[32, 36] Operation: 74-38=36
Exploring Operation: 32+38=70, Resulting Numbers: [74, 70]
Generated Node #0,4,4: 62:[74, 70] Operation: 32+38=70
Moving to Node #0,3
Current State: 62:[76, 32, 37], Operations: ['74/2=37']
Exploring Operation: 76-37=39, Resulting Numbers: [32, 39]
Generated Node #0,3,0: 62:[32, 39] Operation: 76-37=39
Exploring Operation: 76+32=108, Resulting Numbers: [37, 108]
Generated Node #0,3,1: 62:[37, 108] Operation: 76+32=108
Exploring Operation: 76-32=44, Resulting Numbers: [37, 44]
Generated Node #0,3,2: 62:[37, 44] Operation: 76-32=44
Exploring Operation: 37-32=5, Resulting Numbers: [76, 5]
Generated Node #0,3,3: 62:[76, 5] Operation: 37-32=5
Exploring Operation: 32+37=69, Resulting Numbers: [76, 69]
Generated Node #0,3,4: 62:[76, 69] Operation: 32+37=69
Moving to Node #0,0
Current State: 62:[2, 74, 44], Operations: ['76-32=44']
Exploring Operation: 74-44=30, Resulting Numbers: [2, 30]
Generated Node #0,0,0: 62:[2, 30] Operation: 74-44=30
Exploring Operation: 44/2=22, Resulting Numbers: [74, 22]
Generated Node #0,0,1: 62:[74, 22] Operation: 44/2=22
Exploring Operation: 74/2=37, Resulting Numbers: [44, 37]
Generated Node #0,0,2: 62:[44, 37] Operation: 74/2=37
Exploring Operation: 44-2=42, Resulting Numbers: [74, 42]
Generated Node #0,0,3: 62:[74, 42] Operation: 44-2=42
Exploring Operation: 74-2=72, Resulting Numbers: [44, 72]
Generated Node #0,0,4: 62:[44, 72] Operation: 74-2=72
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 62:[2, 30], Operations: ['76-32=44', '74-44=30']
Exploring Operation: 2+30=32, Resulting Numbers: [32]
32,62 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,62 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,62 unequal: No Solution
Exploring Operation: 2*30=60, Resulting Numbers: [60]
60,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 62:[44, 37], Operations: ['76-32=44', '74/2=37']
Exploring Operation: 44+37=81, Resulting Numbers: [81]
81,62 unequal: No Solution
Exploring Operation: 44-37=7, Resulting Numbers: [7]
7,62 unequal: No Solution
Exploring Operation: 44*37=1628, Resulting Numbers: [1628]
1628,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 62:[74, 22], Operations: ['76-32=44', '44/2=22']
Exploring Operation: 74-22=52, Resulting Numbers: [52]
52,62 unequal: No Solution
Exploring Operation: 74+22=96, Resulting Numbers: [96]
96,62 unequal: No Solution
Exploring Operation: 74*22=1628, Resulting Numbers: [1628]
1628,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 62:[74, 42], Operations: ['76-32=44', '44-2=42']
Exploring Operation: 74*42=3108, Resulting Numbers: [3108]
3108,62 unequal: No Solution
Exploring Operation: 74-42=32, Resulting Numbers: [32]
32,62 unequal: No Solution
Exploring Operation: 74+42=116, Resulting Numbers: [116]
116,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 62:[44, 72], Operations: ['76-32=44', '74-2=72']
Exploring Operation: 44*72=3168, Resulting Numbers: [3168]
3168,62 unequal: No Solution
Exploring Operation: 44+72=116, Resulting Numbers: [116]
116,62 unequal: No Solution
Exploring Operation: 72-44=28, Resulting Numbers: [28]
28,62 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 62:[32, 74, 74], Operations: ['76-2=74']
Exploring Operation: 32+74=106, Resulting Numbers: [74, 106]
Generated Node #0,1,0: 62:[74, 106] Operation: 32+74=106
Exploring Operation: 74-32=42, Resulting Numbers: [74, 42]
Generated Node #0,1,1: 62:[74, 42] Operation: 74-32=42
Exploring Operation: 74-74=0, Resulting Numbers: [32, 0]
Generated Node #0,1,2: 62:[32, 0] Operation: 74-74=0
Exploring Operation: 74/74=1, Resulting Numbers: [32, 1]
Generated Node #0,1,3: 62:[32, 1] Operation: 74/74=1
Exploring Operation: 74-32=42, Resulting Numbers: [74, 42]
Generated Node #0,1,4: 62:[74, 42] Operation: 74-32=42
Moving to Node #0,2,0
Current State: 62:[2, 30], Operations: ['76-74=2', '32-2=30']
Exploring Operation: 2*30=60, Resulting Numbers: [60]
60,62 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,62 unequal: No Solution
Exploring Operation: 2+30=32, Resulting Numbers: [32]
32,62 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,62 unequal: No Solution
Moving to Node #0,2,3
Current State: 62:[2, 30], Operations: ['76-74=2', '32-2=30']
Exploring Operation: 2+30=32, Resulting Numbers: [32]
32,62 unequal: No Solution
Exploring Operation: 2*30=60, Resulting Numbers: [60]
60,62 unequal: No Solution
Exploring Operation: 30/2=15, Resulting Numbers: [15]
15,62 unequal: No Solution
Exploring Operation: 30-2=28, Resulting Numbers: [28]
28,62 unequal: No Solution
Moving to Node #0,2,1
Current State: 62:[32, 1], Operations: ['76-74=2', '2/2=1']
Exploring Operation: 32*1=32, Resulting Numbers: [32]
32,62 unequal: No Solution
Exploring Operation: 32-1=31, Resulting Numbers: [31]
31,62 unequal: No Solution
Exploring Operation: 32/1=32, Resulting Numbers: [32]
32,62 unequal: No Solution
Exploring Operation: 32+1=33, Resulting Numbers: [33]
33,62 unequal: No Solution
Moving to Node #0,2,4
Current State: 62:[2, 64], Operations: ['76-74=2', '32*2=64']
Exploring Operation: 64/2=32, Resulting Numbers: [32]
32,62 unequal: No Solution
Exploring Operation: 2*64=128, Resulting Numbers: [128]
128,62 unequal: No Solution
Exploring Operation: 2+64=66, Resulting Numbers: [66]
66,62 unequal: No Solution
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
Moving to Node #0
Current State: 62:[76, 32, 2, 74], Operations: []
Exploring Operation: 76-74=2, Resulting Numbers: [32, 2, 2]
Generated Node #0,2: 62:[32, 2, 2] Operation: 76-74=2
Moving to Node #0,2
Current State: 62:[32, 2, 2], Operations: ['76-74=2']
Exploring Operation: 32*2=64, Resulting Numbers: [2, 64]
Generated Node #0,2,4: 62:[2, 64] Operation: 32*2=64
Moving to Node #0,2,4
Current State: 62:[2, 64], Operations: ['76-74=2', '32*2=64']
Exploring Operation: 64-2=62, Resulting Numbers: [62]
62,62 equal: Goal Reached
| 0.942708 | hs_5 | sum_heuristic |
[
21,
77,
98,
45
] | 46 | [
"21+77=98",
"98/98=1",
"45+1=46"
] | Current State: 46:[21, 77, 98, 45], Operations: []
Exploring Operation: 21+77=98, Resulting Numbers: [98, 45, 98]
Generated Node #2: [98, 45, 98] from Operation: 21+77=98
Current State: 46:[98, 45, 98], Operations: ['21+77=98']
Exploring Operation: 98/98=1, Resulting Numbers: [45, 1]
Generated Node #3: [45, 1] from Operation: 98/98=1
Current State: 46:[45, 1], Operations: ['21+77=98', '98/98=1']
Exploring Operation: 45+1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[21, 77, 98, 45], Operations: []
Exploring Operation: 98-21=77, Resulting Numbers: [77, 45, 77]
Generated Node #0,0: 46:[77, 45, 77] Operation: 98-21=77
Exploring Operation: 98-77=21, Resulting Numbers: [21, 45, 21]
Generated Node #0,1: 46:[21, 45, 21] Operation: 98-77=21
Exploring Operation: 98-45=53, Resulting Numbers: [21, 77, 53]
Generated Node #0,2: 46:[21, 77, 53] Operation: 98-45=53
Exploring Operation: 77-21=56, Resulting Numbers: [98, 45, 56]
Generated Node #0,3: 46:[98, 45, 56] Operation: 77-21=56
Moving to Node #0,1
Current State: 46:[21, 45, 21], Operations: ['98-77=21']
Exploring Operation: 21-21=0, Resulting Numbers: [45, 0]
Generated Node #0,1,0: 46:[45, 0] Operation: 21-21=0
Exploring Operation: 45-21=24, Resulting Numbers: [21, 24]
Generated Node #0,1,1: 46:[21, 24] Operation: 45-21=24
Exploring Operation: 45-21=24, Resulting Numbers: [21, 24]
Generated Node #0,1,2: 46:[21, 24] Operation: 45-21=24
Exploring Operation: 21/21=1, Resulting Numbers: [45, 1]
Generated Node #0,1,3: 46:[45, 1] Operation: 21/21=1
Start Sub Search at level 1: Moving to Node #0,1,3
Current State: 46:[45, 1], Operations: ['98-77=21', '21/21=1']
Exploring Operation: 45-1=44, Resulting Numbers: [44]
44,46 unequal: No Solution
Exploring Operation: 45*1=45, Resulting Numbers: [45]
45,46 unequal: No Solution
Exploring Operation: 45/1=45, Resulting Numbers: [45]
45,46 unequal: No Solution
Exploring Operation: 45+1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[21, 77, 98, 45], Operations: []
Exploring Operation: 98-77=21, Resulting Numbers: [21, 45, 21]
Generated Node #0,1: 46:[21, 45, 21] Operation: 98-77=21
Moving to Node #0,1
Current State: 46:[21, 45, 21], Operations: ['98-77=21']
Exploring Operation: 21/21=1, Resulting Numbers: [45, 1]
Generated Node #0,1,3: 46:[45, 1] Operation: 21/21=1
Moving to Node #0,1,3
Current State: 46:[45, 1], Operations: ['98-77=21', '21/21=1']
Exploring Operation: 45+1=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.986111 | hs_4 | mult_heuristic |
[
28,
1,
70,
7
] | 90 | [
"28-1=27",
"70-7=63",
"27+63=90"
] | Current State: 90:[28, 1, 70, 7], Operations: []
Exploring Operation: 28-1=27, Resulting Numbers: [70, 7, 27]
Generated Node #2: [70, 7, 27] from Operation: 28-1=27
Current State: 90:[70, 7, 27], Operations: ['28-1=27']
Exploring Operation: 70-7=63, Resulting Numbers: [27, 63]
Generated Node #3: [27, 63] from Operation: 70-7=63
Current State: 90:[27, 63], Operations: ['28-1=27', '70-7=63']
Exploring Operation: 27+63=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[28, 1, 70, 7], Operations: []
Exploring Operation: 28+70=98, Resulting Numbers: [1, 7, 98]
Generated Node #0,0: 90:[1, 7, 98] Operation: 28+70=98
Exploring Operation: 70-28=42, Resulting Numbers: [1, 7, 42]
Generated Node #0,1: 90:[1, 7, 42] Operation: 70-28=42
Exploring Operation: 70+7=77, Resulting Numbers: [28, 1, 77]
Generated Node #0,2: 90:[28, 1, 77] Operation: 70+7=77
Exploring Operation: 70/7=10, Resulting Numbers: [28, 1, 10]
Generated Node #0,3: 90:[28, 1, 10] Operation: 70/7=10
Start Sub Search at level 1: Moving to Node #0,3
Current State: 90:[28, 1, 10], Operations: ['70/7=10']
Exploring Operation: 28*1=28, Resulting Numbers: [10, 28]
Generated Node #0,3,0: 90:[10, 28] Operation: 28*1=28
Exploring Operation: 28/1=28, Resulting Numbers: [10, 28]
Generated Node #0,3,1: 90:[10, 28] Operation: 28/1=28
Exploring Operation: 28+1=29, Resulting Numbers: [10, 29]
Generated Node #0,3,2: 90:[10, 29] Operation: 28+1=29
Exploring Operation: 28-10=18, Resulting Numbers: [1, 18]
Generated Node #0,3,3: 90:[1, 18] Operation: 28-10=18
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 90:[10, 29], Operations: ['70/7=10', '28+1=29']
Exploring Operation: 10*29=290, Resulting Numbers: [290]
290,90 unequal: No Solution
Exploring Operation: 29-10=19, Resulting Numbers: [19]
19,90 unequal: No Solution
Exploring Operation: 10+29=39, Resulting Numbers: [39]
39,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,3
Current State: 90:[1, 18], Operations: ['70/7=10', '28-10=18']
Exploring Operation: 18-1=17, Resulting Numbers: [17]
17,90 unequal: No Solution
Exploring Operation: 1*18=18, Resulting Numbers: [18]
18,90 unequal: No Solution
Exploring Operation: 1+18=19, Resulting Numbers: [19]
19,90 unequal: No Solution
Exploring Operation: 18/1=18, Resulting Numbers: [18]
18,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 90:[10, 28], Operations: ['70/7=10', '28*1=28']
Exploring Operation: 28-10=18, Resulting Numbers: [18]
18,90 unequal: No Solution
Exploring Operation: 10*28=280, Resulting Numbers: [280]
280,90 unequal: No Solution
Exploring Operation: 10+28=38, Resulting Numbers: [38]
38,90 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,1
Current State: 90:[10, 28], Operations: ['70/7=10', '28/1=28']
Exploring Operation: 10*28=280, Resulting Numbers: [280]
280,90 unequal: No Solution
Exploring Operation: 10+28=38, Resulting Numbers: [38]
38,90 unequal: No Solution
Exploring Operation: 28-10=18, Resulting Numbers: [18]
18,90 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: 90:[1, 7, 42], Operations: ['70-28=42']
Exploring Operation: 1+7=8, Resulting Numbers: [42, 8]
Generated Node #0,1,0: 90:[42, 8] Operation: 1+7=8
Exploring Operation: 7-1=6, Resulting Numbers: [42, 6]
Generated Node #0,1,1: 90:[42, 6] Operation: 7-1=6
Exploring Operation: 42/7=6, Resulting Numbers: [1, 6]
Generated Node #0,1,2: 90:[1, 6] Operation: 42/7=6
Exploring Operation: 1+42=43, Resulting Numbers: [7, 43]
Generated Node #0,1,3: 90:[7, 43] Operation: 1+42=43
Moving to Node #0,1,2
Current State: 90:[1, 6], Operations: ['70-28=42', '42/7=6']
Exploring Operation: 6-1=5, Resulting Numbers: [5]
5,90 unequal: No Solution
Exploring Operation: 1+6=7, Resulting Numbers: [7]
7,90 unequal: No Solution
Exploring Operation: 6/1=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Exploring Operation: 1*6=6, Resulting Numbers: [6]
6,90 unequal: No Solution
Moving to Node #0,1,3
Current State: 90:[7, 43], Operations: ['70-28=42', '1+42=43']
Exploring Operation: 7+43=50, Resulting Numbers: [50]
50,90 unequal: No Solution
Exploring Operation: 7*43=301, Resulting Numbers: [301]
301,90 unequal: No Solution
Exploring Operation: 43-7=36, Resulting Numbers: [36]
36,90 unequal: No Solution
Moving to Node #0,1,1
Current State: 90:[42, 6], Operations: ['70-28=42', '7-1=6']
Exploring Operation: 42*6=252, Resulting Numbers: [252]
252,90 unequal: No Solution
Exploring Operation: 42-6=36, Resulting Numbers: [36]
36,90 unequal: No Solution
Exploring Operation: 42/6=7, Resulting Numbers: [7]
7,90 unequal: No Solution
Exploring Operation: 42+6=48, Resulting Numbers: [48]
48,90 unequal: No Solution
Moving to Node #0,1,0
Current State: 90:[42, 8], Operations: ['70-28=42', '1+7=8']
Exploring Operation: 42*8=336, Resulting Numbers: [336]
336,90 unequal: No Solution
Exploring Operation: 42-8=34, Resulting Numbers: [34]
34,90 unequal: No Solution
Exploring Operation: 42+8=50, Resulting Numbers: [50]
50,90 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[1, 7, 98], Operations: ['28+70=98']
Exploring Operation: 7-1=6, Resulting Numbers: [98, 6]
Generated Node #0,0,0: 90:[98, 6] Operation: 7-1=6
Exploring Operation: 98-1=97, Resulting Numbers: [7, 97]
Generated Node #0,0,1: 90:[7, 97] Operation: 98-1=97
Exploring Operation: 98-7=91, Resulting Numbers: [1, 91]
Generated Node #0,0,2: 90:[1, 91] Operation: 98-7=91
Exploring Operation: 98/7=14, Resulting Numbers: [1, 14]
Generated Node #0,0,3: 90:[1, 14] Operation: 98/7=14
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 90:[1, 91], Operations: ['28+70=98', '98-7=91']
Exploring Operation: 91/1=91, Resulting Numbers: [91]
91,90 unequal: No Solution
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[28, 1, 70, 7], Operations: []
Exploring Operation: 28+70=98, Resulting Numbers: [1, 7, 98]
Generated Node #0,0: 90:[1, 7, 98] Operation: 28+70=98
Moving to Node #0,0
Current State: 90:[1, 7, 98], Operations: ['28+70=98']
Exploring Operation: 98-7=91, Resulting Numbers: [1, 91]
Generated Node #0,0,2: 90:[1, 91] Operation: 98-7=91
Moving to Node #0,0,2
Current State: 90:[1, 91], Operations: ['28+70=98', '98-7=91']
Exploring Operation: 91-1=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.957465 | hs_4 | mult_heuristic |
[
99,
9,
68,
18
] | 40 | [
"99-9=90",
"68-18=50",
"90-50=40"
] | Current State: 40:[99, 9, 68, 18], Operations: []
Exploring Operation: 99-9=90, Resulting Numbers: [68, 18, 90]
Generated Node #2: [68, 18, 90] from Operation: 99-9=90
Current State: 40:[68, 18, 90], Operations: ['99-9=90']
Exploring Operation: 68-18=50, Resulting Numbers: [90, 50]
Generated Node #3: [90, 50] from Operation: 68-18=50
Current State: 40:[90, 50], Operations: ['99-9=90', '68-18=50']
Exploring Operation: 90-50=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[99, 9, 68, 18], Operations: []
Exploring Operation: 99-18=81, Resulting Numbers: [9, 68, 81]
Generated Node #0,0: 40:[9, 68, 81] Operation: 99-18=81
Exploring Operation: 99/9=11, Resulting Numbers: [68, 18, 11]
Generated Node #0,1: 40:[68, 18, 11] Operation: 99/9=11
Exploring Operation: 99-9=90, Resulting Numbers: [68, 18, 90]
Generated Node #0,2: 40:[68, 18, 90] Operation: 99-9=90
Exploring Operation: 99-68=31, Resulting Numbers: [9, 18, 31]
Generated Node #0,3: 40:[9, 18, 31] Operation: 99-68=31
Exploring Operation: 68-18=50, Resulting Numbers: [99, 9, 50]
Generated Node #0,4: 40:[99, 9, 50] Operation: 68-18=50
Start Sub Search at level 1: Moving to Node #0,3
Current State: 40:[9, 18, 31], Operations: ['99-68=31']
Exploring Operation: 9+31=40, Resulting Numbers: [18, 40]
Generated Node #0,3,0: 40:[18, 40] Operation: 9+31=40
Exploring Operation: 18/9=2, Resulting Numbers: [31, 2]
Generated Node #0,3,1: 40:[31, 2] Operation: 18/9=2
Exploring Operation: 31-9=22, Resulting Numbers: [18, 22]
Generated Node #0,3,2: 40:[18, 22] Operation: 31-9=22
Exploring Operation: 31-18=13, Resulting Numbers: [9, 13]
Generated Node #0,3,3: 40:[9, 13] Operation: 31-18=13
Exploring Operation: 18-9=9, Resulting Numbers: [31, 9]
Generated Node #0,3,4: 40:[31, 9] Operation: 18-9=9
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 40:[18, 40], Operations: ['99-68=31', '9+31=40']
Exploring Operation: 18*40=720, Resulting Numbers: [720]
720,40 unequal: No Solution
Exploring Operation: 40-18=22, Resulting Numbers: [22]
22,40 unequal: No Solution
Exploring Operation: 18+40=58, Resulting Numbers: [58]
58,40 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 40:[18, 22], Operations: ['99-68=31', '31-9=22']
Exploring Operation: 18+22=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[99, 9, 68, 18], Operations: []
Exploring Operation: 99-68=31, Resulting Numbers: [9, 18, 31]
Generated Node #0,3: 40:[9, 18, 31] Operation: 99-68=31
Moving to Node #0,3
Current State: 40:[9, 18, 31], Operations: ['99-68=31']
Exploring Operation: 31-9=22, Resulting Numbers: [18, 22]
Generated Node #0,3,2: 40:[18, 22] Operation: 31-9=22
Moving to Node #0,3,2
Current State: 40:[18, 22], Operations: ['99-68=31', '31-9=22']
Exploring Operation: 18+22=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
14,
67,
24,
97
] | 10 | [
"67-24=43",
"97+43=140",
"140/14=10"
] | Current State: 10:[14, 67, 24, 97], Operations: []
Exploring Operation: 67-24=43, Resulting Numbers: [14, 97, 43]
Generated Node #2: [14, 97, 43] from Operation: 67-24=43
Current State: 10:[14, 97, 43], Operations: ['67-24=43']
Exploring Operation: 97+43=140, Resulting Numbers: [14, 140]
Generated Node #3: [14, 140] from Operation: 97+43=140
Current State: 10:[14, 140], Operations: ['67-24=43', '97+43=140']
Exploring Operation: 140/14=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[14, 67, 24, 97], Operations: []
Exploring Operation: 97-67=30, Resulting Numbers: [14, 24, 30]
Generated Node #0,0: 10:[14, 24, 30] Operation: 97-67=30
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[14, 24, 30], Operations: ['97-67=30']
Exploring Operation: 30-24=6, Resulting Numbers: [14, 6]
Generated Node #0,0,0: 10:[14, 6] Operation: 30-24=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 10:[14, 6], Operations: ['97-67=30', '30-24=6']
Exploring Operation: 14-6=8, Resulting Numbers: [8]
8,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | sum_heuristic |
[
46,
20,
2,
18
] | 96 | [
"46+20=66",
"66-18=48",
"2*48=96"
] | Current State: 96:[46, 20, 2, 18], Operations: []
Exploring Operation: 46+20=66, Resulting Numbers: [2, 18, 66]
Generated Node #2: [2, 18, 66] from Operation: 46+20=66
Current State: 96:[2, 18, 66], Operations: ['46+20=66']
Exploring Operation: 66-18=48, Resulting Numbers: [2, 48]
Generated Node #3: [2, 48] from Operation: 66-18=48
Current State: 96:[2, 48], Operations: ['46+20=66', '66-18=48']
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[46, 20, 2, 18], Operations: []
Exploring Operation: 46-20=26, Resulting Numbers: [2, 18, 26]
Generated Node #0,0: 96:[2, 18, 26] Operation: 46-20=26
Exploring Operation: 20+2=22, Resulting Numbers: [46, 18, 22]
Generated Node #0,1: 96:[46, 18, 22] Operation: 20+2=22
Exploring Operation: 20-18=2, Resulting Numbers: [46, 2, 2]
Generated Node #0,2: 96:[46, 2, 2] Operation: 20-18=2
Exploring Operation: 46+2=48, Resulting Numbers: [20, 18, 48]
Generated Node #0,3: 96:[20, 18, 48] Operation: 46+2=48
Start Sub Search at level 1: Moving to Node #0,2
Current State: 96:[46, 2, 2], Operations: ['20-18=2']
Exploring Operation: 46+2=48, Resulting Numbers: [2, 48]
Generated Node #0,2,0: 96:[2, 48] Operation: 46+2=48
Exploring Operation: 46/2=23, Resulting Numbers: [2, 23]
Generated Node #0,2,1: 96:[2, 23] Operation: 46/2=23
Exploring Operation: 46/2=23, Resulting Numbers: [2, 23]
Generated Node #0,2,2: 96:[2, 23] Operation: 46/2=23
Exploring Operation: 46+2=48, Resulting Numbers: [2, 48]
Generated Node #0,2,3: 96:[2, 48] Operation: 46+2=48
Moving to Node #0,2,0
Current State: 96:[2, 48], Operations: ['20-18=2', '46+2=48']
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[46, 20, 2, 18], Operations: []
Exploring Operation: 20-18=2, Resulting Numbers: [46, 2, 2]
Generated Node #0,2: 96:[46, 2, 2] Operation: 20-18=2
Moving to Node #0,2
Current State: 96:[46, 2, 2], Operations: ['20-18=2']
Exploring Operation: 46+2=48, Resulting Numbers: [2, 48]
Generated Node #0,2,0: 96:[2, 48] Operation: 46+2=48
Moving to Node #0,2,0
Current State: 96:[2, 48], Operations: ['20-18=2', '46+2=48']
Exploring Operation: 2*48=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.988715 | hs_4 | mult_heuristic |
[
17,
5,
14,
62
] | 10 | [
"17+14=31",
"5*62=310",
"310/31=10"
] | Current State: 10:[17, 5, 14, 62], Operations: []
Exploring Operation: 17+14=31, Resulting Numbers: [5, 62, 31]
Generated Node #2: [5, 62, 31] from Operation: 17+14=31
Current State: 10:[5, 62, 31], Operations: ['17+14=31']
Exploring Operation: 5*62=310, Resulting Numbers: [31, 310]
Generated Node #3: [31, 310] from Operation: 5*62=310
Current State: 10:[31, 310], Operations: ['17+14=31', '5*62=310']
Exploring Operation: 310/31=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[17, 5, 14, 62], Operations: []
Exploring Operation: 62-14=48, Resulting Numbers: [17, 5, 48]
Generated Node #0,0: 10:[17, 5, 48] Operation: 62-14=48
Exploring Operation: 62-5=57, Resulting Numbers: [17, 14, 57]
Generated Node #0,1: 10:[17, 14, 57] Operation: 62-5=57
Exploring Operation: 17-5=12, Resulting Numbers: [14, 62, 12]
Generated Node #0,2: 10:[14, 62, 12] Operation: 17-5=12
Exploring Operation: 62-17=45, Resulting Numbers: [5, 14, 45]
Generated Node #0,3: 10:[5, 14, 45] Operation: 62-17=45
Exploring Operation: 17-14=3, Resulting Numbers: [5, 62, 3]
Generated Node #0,4: 10:[5, 62, 3] Operation: 17-14=3
Start Sub Search at level 1: Moving to Node #0,3
Current State: 10:[5, 14, 45], Operations: ['62-17=45']
Exploring Operation: 5+14=19, Resulting Numbers: [45, 19]
Generated Node #0,3,0: 10:[45, 19] Operation: 5+14=19
Exploring Operation: 45-14=31, Resulting Numbers: [5, 31]
Generated Node #0,3,1: 10:[5, 31] Operation: 45-14=31
Exploring Operation: 45-5=40, Resulting Numbers: [14, 40]
Generated Node #0,3,2: 10:[14, 40] Operation: 45-5=40
Exploring Operation: 45/5=9, Resulting Numbers: [14, 9]
Generated Node #0,3,3: 10:[14, 9] Operation: 45/5=9
Exploring Operation: 14-5=9, Resulting Numbers: [45, 9]
Generated Node #0,3,4: 10:[45, 9] Operation: 14-5=9
Moving to Node #0,3,3
Current State: 10:[14, 9], Operations: ['62-17=45', '45/5=9']
Exploring Operation: 14*9=126, Resulting Numbers: [126]
126,10 unequal: No Solution
Exploring Operation: 14+9=23, Resulting Numbers: [23]
23,10 unequal: No Solution
Exploring Operation: 14-9=5, Resulting Numbers: [5]
5,10 unequal: No Solution
Moving to Node #0,3,1
Current State: 10:[5, 31], Operations: ['62-17=45', '45-14=31']
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,10 unequal: No Solution
Exploring Operation: 5+31=36, Resulting Numbers: [36]
36,10 unequal: No Solution
Exploring Operation: 5*31=155, Resulting Numbers: [155]
155,10 unequal: No Solution
Moving to Node #0,3,2
Current State: 10:[14, 40], Operations: ['62-17=45', '45-5=40']
Exploring Operation: 14+40=54, Resulting Numbers: [54]
54,10 unequal: No Solution
Exploring Operation: 14*40=560, Resulting Numbers: [560]
560,10 unequal: No Solution
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,10 unequal: No Solution
Moving to Node #0,3,4
Current State: 10:[45, 9], Operations: ['62-17=45', '14-5=9']
Exploring Operation: 45+9=54, Resulting Numbers: [54]
54,10 unequal: No Solution
Exploring Operation: 45-9=36, Resulting Numbers: [36]
36,10 unequal: No Solution
Exploring Operation: 45/9=5, Resulting Numbers: [5]
5,10 unequal: No Solution
Exploring Operation: 45*9=405, Resulting Numbers: [405]
405,10 unequal: No Solution
Moving to Node #0,3,0
Current State: 10:[45, 19], Operations: ['62-17=45', '5+14=19']
Exploring Operation: 45+19=64, Resulting Numbers: [64]
64,10 unequal: No Solution
Exploring Operation: 45*19=855, Resulting Numbers: [855]
855,10 unequal: No Solution
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[17, 5, 48], Operations: ['62-14=48']
Exploring Operation: 48-17=31, Resulting Numbers: [5, 31]
Generated Node #0,0,0: 10:[5, 31] Operation: 48-17=31
Exploring Operation: 5+48=53, Resulting Numbers: [17, 53]
Generated Node #0,0,1: 10:[17, 53] Operation: 5+48=53
Exploring Operation: 17+5=22, Resulting Numbers: [48, 22]
Generated Node #0,0,2: 10:[48, 22] Operation: 17+5=22
Exploring Operation: 48-5=43, Resulting Numbers: [17, 43]
Generated Node #0,0,3: 10:[17, 43] Operation: 48-5=43
Exploring Operation: 17-5=12, Resulting Numbers: [48, 12]
Generated Node #0,0,4: 10:[48, 12] Operation: 17-5=12
Moving to Node #0,0,0
Current State: 10:[5, 31], Operations: ['62-14=48', '48-17=31']
Exploring Operation: 31-5=26, Resulting Numbers: [26]
26,10 unequal: No Solution
Exploring Operation: 5*31=155, Resulting Numbers: [155]
155,10 unequal: No Solution
Exploring Operation: 5+31=36, Resulting Numbers: [36]
36,10 unequal: No Solution
Moving to Node #0,0,4
Current State: 10:[48, 12], Operations: ['62-14=48', '17-5=12']
Exploring Operation: 48/12=4, Resulting Numbers: [4]
4,10 unequal: No Solution
Exploring Operation: 48-12=36, Resulting Numbers: [36]
36,10 unequal: No Solution
Exploring Operation: 48+12=60, Resulting Numbers: [60]
60,10 unequal: No Solution
Exploring Operation: 48*12=576, Resulting Numbers: [576]
576,10 unequal: No Solution
Moving to Node #0,0,3
Current State: 10:[17, 43], Operations: ['62-14=48', '48-5=43']
Exploring Operation: 43-17=26, Resulting Numbers: [26]
26,10 unequal: No Solution
Exploring Operation: 17*43=731, Resulting Numbers: [731]
731,10 unequal: No Solution
Exploring Operation: 17+43=60, Resulting Numbers: [60]
60,10 unequal: No Solution
Moving to Node #0,0,1
Current State: 10:[17, 53], Operations: ['62-14=48', '5+48=53']
Exploring Operation: 17+53=70, Resulting Numbers: [70]
70,10 unequal: No Solution
Exploring Operation: 17*53=901, Resulting Numbers: [901]
901,10 unequal: No Solution
Exploring Operation: 53-17=36, Resulting Numbers: [36]
36,10 unequal: No Solution
Moving to Node #0,0,2
Current State: 10:[48, 22], Operations: ['62-14=48', '17+5=22']
Exploring Operation: 48+22=70, Resulting Numbers: [70]
70,10 unequal: No Solution
Exploring Operation: 48*22=1056, Resulting Numbers: [1056]
1056,10 unequal: No Solution
Exploring Operation: 48-22=26, Resulting Numbers: [26]
26,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 10:[5, 62, 3], Operations: ['17-14=3']
Exploring Operation: 5+3=8, Resulting Numbers: [62, 8]
Generated Node #0,4,0: 10:[62, 8] Operation: 5+3=8
Exploring Operation: 62-3=59, Resulting Numbers: [5, 59]
Generated Node #0,4,1: 10:[5, 59] Operation: 62-3=59
Exploring Operation: 62-5=57, Resulting Numbers: [3, 57]
Generated Node #0,4,2: 10:[3, 57] Operation: 62-5=57
Exploring Operation: 5-3=2, Resulting Numbers: [62, 2]
Generated Node #0,4,3: 10:[62, 2] Operation: 5-3=2
Exploring Operation: 62+3=65, Resulting Numbers: [5, 65]
Generated Node #0,4,4: 10:[5, 65] Operation: 62+3=65
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 10:[3, 57], Operations: ['17-14=3', '62-5=57']
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,10 unequal: No Solution
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,10 unequal: No Solution
Exploring Operation: 3*57=171, Resulting Numbers: [171]
171,10 unequal: No Solution
Exploring Operation: 3+57=60, Resulting Numbers: [60]
60,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,1
Current State: 10:[5, 59], Operations: ['17-14=3', '62-3=59']
Exploring Operation: 59-5=54, Resulting Numbers: [54]
54,10 unequal: No Solution
Exploring Operation: 5*59=295, Resulting Numbers: [295]
295,10 unequal: No Solution
Exploring Operation: 5+59=64, Resulting Numbers: [64]
64,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 10:[62, 2], Operations: ['17-14=3', '5-3=2']
Exploring Operation: 62+2=64, Resulting Numbers: [64]
64,10 unequal: No Solution
Exploring Operation: 62*2=124, Resulting Numbers: [124]
124,10 unequal: No Solution
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,10 unequal: No Solution
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,0
Current State: 10:[62, 8], Operations: ['17-14=3', '5+3=8']
Exploring Operation: 62-8=54, Resulting Numbers: [54]
54,10 unequal: No Solution
Exploring Operation: 62+8=70, Resulting Numbers: [70]
70,10 unequal: No Solution
Exploring Operation: 62*8=496, Resulting Numbers: [496]
496,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,4,4
Current State: 10:[5, 65], Operations: ['17-14=3', '62+3=65']
Exploring Operation: 5+65=70, Resulting Numbers: [70]
70,10 unequal: No Solution
Exploring Operation: 65-5=60, Resulting Numbers: [60]
60,10 unequal: No Solution
Exploring Operation: 5*65=325, Resulting Numbers: [325]
325,10 unequal: No Solution
Exploring Operation: 65/5=13, Resulting Numbers: [13]
13,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[17, 14, 57], Operations: ['62-5=57']
Exploring Operation: 57-14=43, Resulting Numbers: [17, 43]
Generated Node #0,1,0: 10:[17, 43] Operation: 57-14=43
Exploring Operation: 57-17=40, Resulting Numbers: [14, 40]
Generated Node #0,1,1: 10:[14, 40] Operation: 57-17=40
Exploring Operation: 17+57=74, Resulting Numbers: [14, 74]
Generated Node #0,1,2: 10:[14, 74] Operation: 17+57=74
Exploring Operation: 17+14=31, Resulting Numbers: [57, 31]
Generated Node #0,1,3: 10:[57, 31] Operation: 17+14=31
Exploring Operation: 17-14=3, Resulting Numbers: [57, 3]
Generated Node #0,1,4: 10:[57, 3] Operation: 17-14=3
Moving to Node #0,1,1
Current State: 10:[14, 40], Operations: ['62-5=57', '57-17=40']
Exploring Operation: 14+40=54, Resulting Numbers: [54]
54,10 unequal: No Solution
Exploring Operation: 14*40=560, Resulting Numbers: [560]
560,10 unequal: No Solution
Exploring Operation: 40-14=26, Resulting Numbers: [26]
26,10 unequal: No Solution
Moving to Node #0,1,0
Current State: 10:[17, 43], Operations: ['62-5=57', '57-14=43']
Exploring Operation: 17+43=60, Resulting Numbers: [60]
60,10 unequal: No Solution
Exploring Operation: 43-17=26, Resulting Numbers: [26]
26,10 unequal: No Solution
Exploring Operation: 17*43=731, Resulting Numbers: [731]
731,10 unequal: No Solution
Moving to Node #0,1,4
Current State: 10:[57, 3], Operations: ['62-5=57', '17-14=3']
Exploring Operation: 57+3=60, Resulting Numbers: [60]
60,10 unequal: No Solution
Exploring Operation: 57-3=54, Resulting Numbers: [54]
54,10 unequal: No Solution
Exploring Operation: 57/3=19, Resulting Numbers: [19]
19,10 unequal: No Solution
Exploring Operation: 57*3=171, Resulting Numbers: [171]
171,10 unequal: No Solution
Moving to Node #0,1,2
Current State: 10:[14, 74], Operations: ['62-5=57', '17+57=74']
Exploring Operation: 14+74=88, Resulting Numbers: [88]
88,10 unequal: No Solution
Exploring Operation: 14*74=1036, Resulting Numbers: [1036]
1036,10 unequal: No Solution
Exploring Operation: 74-14=60, Resulting Numbers: [60]
60,10 unequal: No Solution
Moving to Node #0,1,3
Current State: 10:[57, 31], Operations: ['62-5=57', '17+14=31']
Exploring Operation: 57-31=26, Resulting Numbers: [26]
26,10 unequal: No Solution
Exploring Operation: 57+31=88, Resulting Numbers: [88]
88,10 unequal: No Solution
Exploring Operation: 57*31=1767, Resulting Numbers: [1767]
1767,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 10:[14, 62, 12], Operations: ['17-5=12']
Exploring Operation: 14+12=26, Resulting Numbers: [62, 26]
Generated Node #0,2,0: 10:[62, 26] Operation: 14+12=26
Exploring Operation: 62-12=50, Resulting Numbers: [14, 50]
Generated Node #0,2,1: 10:[14, 50] Operation: 62-12=50
Exploring Operation: 62-14=48, Resulting Numbers: [12, 48]
Generated Node #0,2,2: 10:[12, 48] Operation: 62-14=48
Exploring Operation: 14-12=2, Resulting Numbers: [62, 2]
Generated Node #0,2,3: 10:[62, 2] Operation: 14-12=2
Exploring Operation: 14+62=76, Resulting Numbers: [12, 76]
Generated Node #0,2,4: 10:[12, 76] Operation: 14+62=76
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 10:[12, 48], Operations: ['17-5=12', '62-14=48']
Exploring Operation: 48/12=4, Resulting Numbers: [4]
4,10 unequal: No Solution
Exploring Operation: 48-12=36, Resulting Numbers: [36]
36,10 unequal: No Solution
Exploring Operation: 12+48=60, Resulting Numbers: [60]
60,10 unequal: No Solution
Exploring Operation: 12*48=576, Resulting Numbers: [576]
576,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 10:[14, 50], Operations: ['17-5=12', '62-12=50']
Exploring Operation: 50-14=36, Resulting Numbers: [36]
36,10 unequal: No Solution
Exploring Operation: 14*50=700, Resulting Numbers: [700]
700,10 unequal: No Solution
Exploring Operation: 14+50=64, Resulting Numbers: [64]
64,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 10:[62, 2], Operations: ['17-5=12', '14-12=2']
Exploring Operation: 62/2=31, Resulting Numbers: [31]
31,10 unequal: No Solution
Exploring Operation: 62+2=64, Resulting Numbers: [64]
64,10 unequal: No Solution
Exploring Operation: 62-2=60, Resulting Numbers: [60]
60,10 unequal: No Solution
Exploring Operation: 62*2=124, Resulting Numbers: [124]
124,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 10:[62, 26], Operations: ['17-5=12', '14+12=26']
Exploring Operation: 62*26=1612, Resulting Numbers: [1612]
1612,10 unequal: No Solution
Exploring Operation: 62+26=88, Resulting Numbers: [88]
88,10 unequal: No Solution
Exploring Operation: 62-26=36, Resulting Numbers: [36]
36,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,4
Current State: 10:[12, 76], Operations: ['17-5=12', '14+62=76']
Exploring Operation: 12*76=912, Resulting Numbers: [912]
912,10 unequal: No Solution
Exploring Operation: 76-12=64, Resulting Numbers: [64]
64,10 unequal: No Solution
Exploring Operation: 12+76=88, Resulting Numbers: [88]
88,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_5 | mult_heuristic |
[
64,
40,
37,
10
] | 57 | [
"64+40=104",
"37+10=47",
"104-47=57"
] | Current State: 57:[64, 40, 37, 10], Operations: []
Exploring Operation: 64+40=104, Resulting Numbers: [37, 10, 104]
Generated Node #2: [37, 10, 104] from Operation: 64+40=104
Current State: 57:[37, 10, 104], Operations: ['64+40=104']
Exploring Operation: 37+10=47, Resulting Numbers: [104, 47]
Generated Node #3: [104, 47] from Operation: 37+10=47
Current State: 57:[104, 47], Operations: ['64+40=104', '37+10=47']
Exploring Operation: 104-47=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[64, 40, 37, 10], Operations: []
Exploring Operation: 40/10=4, Resulting Numbers: [64, 37, 4]
Generated Node #0,0: 57:[64, 37, 4] Operation: 40/10=4
Exploring Operation: 40-37=3, Resulting Numbers: [64, 10, 3]
Generated Node #0,1: 57:[64, 10, 3] Operation: 40-37=3
Moving to Node #0,1
Current State: 57:[64, 10, 3], Operations: ['40-37=3']
Exploring Operation: 64-10=54, Resulting Numbers: [3, 54]
Generated Node #0,1,0: 57:[3, 54] Operation: 64-10=54
Exploring Operation: 64-3=61, Resulting Numbers: [10, 61]
Generated Node #0,1,1: 57:[10, 61] Operation: 64-3=61
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 57:[3, 54], Operations: ['40-37=3', '64-10=54']
Exploring Operation: 54/3=18, Resulting Numbers: [18]
18,57 unequal: No Solution
Exploring Operation: 3+54=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Moving to Node #0
Current State: 57:[64, 40, 37, 10], Operations: []
Exploring Operation: 40-37=3, Resulting Numbers: [64, 10, 3]
Generated Node #0,1: 57:[64, 10, 3] Operation: 40-37=3
Moving to Node #0,1
Current State: 57:[64, 10, 3], Operations: ['40-37=3']
Exploring Operation: 64-10=54, Resulting Numbers: [3, 54]
Generated Node #0,1,0: 57:[3, 54] Operation: 64-10=54
Moving to Node #0,1,0
Current State: 57:[3, 54], Operations: ['40-37=3', '64-10=54']
Exploring Operation: 3+54=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
52,
93,
31,
91
] | 36 | [
"91-52=39",
"93/31=3",
"39-3=36"
] | Current State: 36:[52, 93, 31, 91], Operations: []
Exploring Operation: 91-52=39, Resulting Numbers: [93, 31, 39]
Generated Node #2: [93, 31, 39] from Operation: 91-52=39
Current State: 36:[93, 31, 39], Operations: ['91-52=39']
Exploring Operation: 93/31=3, Resulting Numbers: [39, 3]
Generated Node #3: [39, 3] from Operation: 93/31=3
Current State: 36:[39, 3], Operations: ['91-52=39', '93/31=3']
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
| 4 | Current State: 36:[52, 93, 31, 91], Operations: []
Exploring Operation: 91-52=39, Resulting Numbers: [93, 31, 39]
Generated Node #0,0: 36:[93, 31, 39] Operation: 91-52=39
Exploring Operation: 93-91=2, Resulting Numbers: [52, 31, 2]
Generated Node #0,1: 36:[52, 31, 2] Operation: 93-91=2
Exploring Operation: 93/31=3, Resulting Numbers: [52, 91, 3]
Generated Node #0,2: 36:[52, 91, 3] Operation: 93/31=3
Exploring Operation: 93-52=41, Resulting Numbers: [31, 91, 41]
Generated Node #0,3: 36:[31, 91, 41] Operation: 93-52=41
Moving to Node #0,1
Current State: 36:[52, 31, 2], Operations: ['93-91=2']
Exploring Operation: 52/2=26, Resulting Numbers: [31, 26]
Generated Node #0,1,0: 36:[31, 26] Operation: 52/2=26
Exploring Operation: 52-2=50, Resulting Numbers: [31, 50]
Generated Node #0,1,1: 36:[31, 50] Operation: 52-2=50
Exploring Operation: 31+2=33, Resulting Numbers: [52, 33]
Generated Node #0,1,2: 36:[52, 33] Operation: 31+2=33
Exploring Operation: 52-31=21, Resulting Numbers: [2, 21]
Generated Node #0,1,3: 36:[2, 21] Operation: 52-31=21
Moving to Node #0,3
Current State: 36:[31, 91, 41], Operations: ['93-52=41']
Exploring Operation: 91-31=60, Resulting Numbers: [41, 60]
Generated Node #0,3,0: 36:[41, 60] Operation: 91-31=60
Exploring Operation: 41-31=10, Resulting Numbers: [91, 10]
Generated Node #0,3,1: 36:[91, 10] Operation: 41-31=10
Exploring Operation: 91-41=50, Resulting Numbers: [31, 50]
Generated Node #0,3,2: 36:[31, 50] Operation: 91-41=50
Exploring Operation: 31+91=122, Resulting Numbers: [41, 122]
Generated Node #0,3,3: 36:[41, 122] Operation: 31+91=122
Moving to Node #0,0
Current State: 36:[93, 31, 39], Operations: ['91-52=39']
Exploring Operation: 93-31=62, Resulting Numbers: [39, 62]
Generated Node #0,0,0: 36:[39, 62] Operation: 93-31=62
Exploring Operation: 39-31=8, Resulting Numbers: [93, 8]
Generated Node #0,0,1: 36:[93, 8] Operation: 39-31=8
Exploring Operation: 93/31=3, Resulting Numbers: [39, 3]
Generated Node #0,0,2: 36:[39, 3] Operation: 93/31=3
Exploring Operation: 93-39=54, Resulting Numbers: [31, 54]
Generated Node #0,0,3: 36:[31, 54] Operation: 93-39=54
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 36:[39, 3], Operations: ['91-52=39', '93/31=3']
Exploring Operation: 39/3=13, Resulting Numbers: [13]
13,36 unequal: No Solution
Exploring Operation: 39*3=117, Resulting Numbers: [117]
117,36 unequal: No Solution
Exploring Operation: 39+3=42, Resulting Numbers: [42]
42,36 unequal: No Solution
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Moving to Node #0
Current State: 36:[52, 93, 31, 91], Operations: []
Exploring Operation: 91-52=39, Resulting Numbers: [93, 31, 39]
Generated Node #0,0: 36:[93, 31, 39] Operation: 91-52=39
Moving to Node #0,0
Current State: 36:[93, 31, 39], Operations: ['91-52=39']
Exploring Operation: 93/31=3, Resulting Numbers: [39, 3]
Generated Node #0,0,2: 36:[39, 3] Operation: 93/31=3
Moving to Node #0,0,2
Current State: 36:[39, 3], Operations: ['91-52=39', '93/31=3']
Exploring Operation: 39-3=36, Resulting Numbers: [36]
36,36 equal: Goal Reached
Exit Sub Search at level 1
| 0.979167 | hs_4 | sum_heuristic |
[
49,
55,
73,
12
] | 75 | [
"55-49=6",
"12/6=2",
"73+2=75"
] | Current State: 75:[49, 55, 73, 12], Operations: []
Exploring Operation: 55-49=6, Resulting Numbers: [73, 12, 6]
Generated Node #2: [73, 12, 6] from Operation: 55-49=6
Current State: 75:[73, 12, 6], Operations: ['55-49=6']
Exploring Operation: 12/6=2, Resulting Numbers: [73, 2]
Generated Node #3: [73, 2] from Operation: 12/6=2
Current State: 75:[73, 2], Operations: ['55-49=6', '12/6=2']
Exploring Operation: 73+2=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[49, 55, 73, 12], Operations: []
Exploring Operation: 55-49=6, Resulting Numbers: [73, 12, 6]
Generated Node #0,0: 75:[73, 12, 6] Operation: 55-49=6
Moving to Node #0,0
Current State: 75:[73, 12, 6], Operations: ['55-49=6']
Exploring Operation: 12-6=6, Resulting Numbers: [73, 6]
Generated Node #0,0,0: 75:[73, 6] Operation: 12-6=6
Moving to Node #0,0,0
Current State: 75:[73, 6], Operations: ['55-49=6', '12-6=6']
Exploring Operation: 73+6=79, Resulting Numbers: [79]
79,75 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
35,
2,
27,
92
] | 88 | [
"35-27=8",
"8/2=4",
"92-4=88"
] | Current State: 88:[35, 2, 27, 92], Operations: []
Exploring Operation: 35-27=8, Resulting Numbers: [2, 92, 8]
Generated Node #2: [2, 92, 8] from Operation: 35-27=8
Current State: 88:[2, 92, 8], Operations: ['35-27=8']
Exploring Operation: 8/2=4, Resulting Numbers: [92, 4]
Generated Node #3: [92, 4] from Operation: 8/2=4
Current State: 88:[92, 4], Operations: ['35-27=8', '8/2=4']
Exploring Operation: 92-4=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
| 4 | Current State: 88:[35, 2, 27, 92], Operations: []
Exploring Operation: 35-27=8, Resulting Numbers: [2, 92, 8]
Generated Node #0,0: 88:[2, 92, 8] Operation: 35-27=8
Exploring Operation: 27-2=25, Resulting Numbers: [35, 92, 25]
Generated Node #0,1: 88:[35, 92, 25] Operation: 27-2=25
Exploring Operation: 35+2=37, Resulting Numbers: [27, 92, 37]
Generated Node #0,2: 88:[27, 92, 37] Operation: 35+2=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 88:[2, 92, 8], Operations: ['35-27=8']
Exploring Operation: 92/2=46, Resulting Numbers: [8, 46]
Generated Node #0,0,0: 88:[8, 46] Operation: 92/2=46
Exploring Operation: 92-2=90, Resulting Numbers: [8, 90]
Generated Node #0,0,1: 88:[8, 90] Operation: 92-2=90
Exploring Operation: 8/2=4, Resulting Numbers: [92, 4]
Generated Node #0,0,2: 88:[92, 4] Operation: 8/2=4
Moving to Node #0,0,0
Current State: 88:[8, 46], Operations: ['35-27=8', '92/2=46']
Exploring Operation: 8*46=368, Resulting Numbers: [368]
368,88 unequal: No Solution
Exploring Operation: 8+46=54, Resulting Numbers: [54]
54,88 unequal: No Solution
Exploring Operation: 46-8=38, Resulting Numbers: [38]
38,88 unequal: No Solution
Moving to Node #0,0,1
Current State: 88:[8, 90], Operations: ['35-27=8', '92-2=90']
Exploring Operation: 8+90=98, Resulting Numbers: [98]
98,88 unequal: No Solution
Exploring Operation: 90-8=82, Resulting Numbers: [82]
82,88 unequal: No Solution
Exploring Operation: 8*90=720, Resulting Numbers: [720]
720,88 unequal: No Solution
Moving to Node #0,0,2
Current State: 88:[92, 4], Operations: ['35-27=8', '8/2=4']
Exploring Operation: 92+4=96, Resulting Numbers: [96]
96,88 unequal: No Solution
Exploring Operation: 92-4=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Moving to Node #0
Current State: 88:[35, 2, 27, 92], Operations: []
Exploring Operation: 35-27=8, Resulting Numbers: [2, 92, 8]
Generated Node #0,0: 88:[2, 92, 8] Operation: 35-27=8
Moving to Node #0,0
Current State: 88:[2, 92, 8], Operations: ['35-27=8']
Exploring Operation: 8/2=4, Resulting Numbers: [92, 4]
Generated Node #0,0,2: 88:[92, 4] Operation: 8/2=4
Moving to Node #0,0,2
Current State: 88:[92, 4], Operations: ['35-27=8', '8/2=4']
Exploring Operation: 92-4=88, Resulting Numbers: [88]
88,88 equal: Goal Reached
Exit Sub Search at level 1
| 0.984375 | hs_3 | sum_heuristic |
[
33,
10,
72,
19
] | 68 | [
"33-10=23",
"72+19=91",
"91-23=68"
] | Current State: 68:[33, 10, 72, 19], Operations: []
Exploring Operation: 33-10=23, Resulting Numbers: [72, 19, 23]
Generated Node #2: [72, 19, 23] from Operation: 33-10=23
Current State: 68:[72, 19, 23], Operations: ['33-10=23']
Exploring Operation: 72+19=91, Resulting Numbers: [23, 91]
Generated Node #3: [23, 91] from Operation: 72+19=91
Current State: 68:[23, 91], Operations: ['33-10=23', '72+19=91']
Exploring Operation: 91-23=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[33, 10, 72, 19], Operations: []
Exploring Operation: 72-10=62, Resulting Numbers: [33, 19, 62]
Generated Node #0,0: 68:[33, 19, 62] Operation: 72-10=62
Exploring Operation: 19-10=9, Resulting Numbers: [33, 72, 9]
Generated Node #0,1: 68:[33, 72, 9] Operation: 19-10=9
Exploring Operation: 33-10=23, Resulting Numbers: [72, 19, 23]
Generated Node #0,2: 68:[72, 19, 23] Operation: 33-10=23
Exploring Operation: 10+19=29, Resulting Numbers: [33, 72, 29]
Generated Node #0,3: 68:[33, 72, 29] Operation: 10+19=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 68:[33, 19, 62], Operations: ['72-10=62']
Exploring Operation: 33-19=14, Resulting Numbers: [62, 14]
Generated Node #0,0,0: 68:[62, 14] Operation: 33-19=14
Exploring Operation: 62-19=43, Resulting Numbers: [33, 43]
Generated Node #0,0,1: 68:[33, 43] Operation: 62-19=43
Exploring Operation: 19+62=81, Resulting Numbers: [33, 81]
Generated Node #0,0,2: 68:[33, 81] Operation: 19+62=81
Exploring Operation: 62-33=29, Resulting Numbers: [19, 29]
Generated Node #0,0,3: 68:[19, 29] Operation: 62-33=29
Start Sub Search at level 2: Moving to Node #0,0,3
Current State: 68:[19, 29], Operations: ['72-10=62', '62-33=29']
Exploring Operation: 29-19=10, Resulting Numbers: [10]
10,68 unequal: No Solution
Exploring Operation: 19+29=48, Resulting Numbers: [48]
48,68 unequal: No Solution
Exploring Operation: 19*29=551, Resulting Numbers: [551]
551,68 unequal: No Solution
No 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: 68:[62, 14], Operations: ['72-10=62', '33-19=14']
Exploring Operation: 62-14=48, Resulting Numbers: [48]
48,68 unequal: No Solution
Exploring Operation: 62*14=868, Resulting Numbers: [868]
868,68 unequal: No Solution
Exploring Operation: 62+14=76, Resulting Numbers: [76]
76,68 unequal: No Solution
No 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: 68:[33, 43], Operations: ['72-10=62', '62-19=43']
Exploring Operation: 43-33=10, Resulting Numbers: [10]
10,68 unequal: No Solution
Exploring Operation: 33*43=1419, Resulting Numbers: [1419]
1419,68 unequal: No Solution
Exploring Operation: 33+43=76, Resulting Numbers: [76]
76,68 unequal: No Solution
No 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: 68:[33, 81], Operations: ['72-10=62', '19+62=81']
Exploring Operation: 33*81=2673, Resulting Numbers: [2673]
2673,68 unequal: No Solution
Exploring Operation: 33+81=114, Resulting Numbers: [114]
114,68 unequal: No Solution
Exploring Operation: 81-33=48, Resulting Numbers: [48]
48,68 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: 68:[33, 72, 9], Operations: ['19-10=9']
Exploring Operation: 33-9=24, Resulting Numbers: [72, 24]
Generated Node #0,1,0: 68:[72, 24] Operation: 33-9=24
Exploring Operation: 72/9=8, Resulting Numbers: [33, 8]
Generated Node #0,1,1: 68:[33, 8] Operation: 72/9=8
Exploring Operation: 72-9=63, Resulting Numbers: [33, 63]
Generated Node #0,1,2: 68:[33, 63] Operation: 72-9=63
Exploring Operation: 72-33=39, Resulting Numbers: [9, 39]
Generated Node #0,1,3: 68:[9, 39] Operation: 72-33=39
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 68:[33, 8], Operations: ['19-10=9', '72/9=8']
Exploring Operation: 33*8=264, Resulting Numbers: [264]
264,68 unequal: No Solution
Exploring Operation: 33-8=25, Resulting Numbers: [25]
25,68 unequal: No Solution
Exploring Operation: 33+8=41, Resulting Numbers: [41]
41,68 unequal: No Solution
No 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: 68:[33, 63], Operations: ['19-10=9', '72-9=63']
Exploring Operation: 33+63=96, Resulting Numbers: [96]
96,68 unequal: No Solution
Exploring Operation: 33*63=2079, Resulting Numbers: [2079]
2079,68 unequal: No Solution
Exploring Operation: 63-33=30, Resulting Numbers: [30]
30,68 unequal: No Solution
No 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: 68:[9, 39], Operations: ['19-10=9', '72-33=39']
Exploring Operation: 9+39=48, Resulting Numbers: [48]
48,68 unequal: No Solution
Exploring Operation: 9*39=351, Resulting Numbers: [351]
351,68 unequal: No Solution
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,68 unequal: No Solution
No 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: 68:[72, 24], Operations: ['19-10=9', '33-9=24']
Exploring Operation: 72*24=1728, Resulting Numbers: [1728]
1728,68 unequal: No Solution
Exploring Operation: 72-24=48, Resulting Numbers: [48]
48,68 unequal: No Solution
Exploring Operation: 72/24=3, Resulting Numbers: [3]
3,68 unequal: No Solution
Exploring Operation: 72+24=96, Resulting Numbers: [96]
96,68 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: 68:[33, 72, 29], Operations: ['10+19=29']
Exploring Operation: 72-29=43, Resulting Numbers: [33, 43]
Generated Node #0,3,0: 68:[33, 43] Operation: 72-29=43
Exploring Operation: 72-33=39, Resulting Numbers: [29, 39]
Generated Node #0,3,1: 68:[29, 39] Operation: 72-33=39
Exploring Operation: 33-29=4, Resulting Numbers: [72, 4]
Generated Node #0,3,2: 68:[72, 4] Operation: 33-29=4
Exploring Operation: 33+29=62, Resulting Numbers: [72, 62]
Generated Node #0,3,3: 68:[72, 62] Operation: 33+29=62
Start Sub Search at level 2: Moving to Node #0,3,2
Current State: 68:[72, 4], Operations: ['10+19=29', '33-29=4']
Exploring Operation: 72+4=76, Resulting Numbers: [76]
76,68 unequal: No Solution
Exploring Operation: 72/4=18, Resulting Numbers: [18]
18,68 unequal: No Solution
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Moving to Node #0
Current State: 68:[33, 10, 72, 19], Operations: []
Exploring Operation: 10+19=29, Resulting Numbers: [33, 72, 29]
Generated Node #0,3: 68:[33, 72, 29] Operation: 10+19=29
Moving to Node #0,3
Current State: 68:[33, 72, 29], Operations: ['10+19=29']
Exploring Operation: 33-29=4, Resulting Numbers: [72, 4]
Generated Node #0,3,2: 68:[72, 4] Operation: 33-29=4
Moving to Node #0,3,2
Current State: 68:[72, 4], Operations: ['10+19=29', '33-29=4']
Exploring Operation: 72-4=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.958333 | hs_4 | sum_heuristic |
[
33,
3,
34,
22
] | 67 | [
"33/3=11",
"34+22=56",
"11+56=67"
] | Current State: 67:[33, 3, 34, 22], Operations: []
Exploring Operation: 33/3=11, Resulting Numbers: [34, 22, 11]
Generated Node #2: [34, 22, 11] from Operation: 33/3=11
Current State: 67:[34, 22, 11], Operations: ['33/3=11']
Exploring Operation: 34+22=56, Resulting Numbers: [11, 56]
Generated Node #3: [11, 56] from Operation: 34+22=56
Current State: 67:[11, 56], Operations: ['33/3=11', '34+22=56']
Exploring Operation: 11+56=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[33, 3, 34, 22], Operations: []
Exploring Operation: 33+22=55, Resulting Numbers: [3, 34, 55]
Generated Node #0,0: 67:[3, 34, 55] Operation: 33+22=55
Exploring Operation: 33+34=67, Resulting Numbers: [3, 22, 67]
Generated Node #0,1: 67:[3, 22, 67] Operation: 33+34=67
Exploring Operation: 3*22=66, Resulting Numbers: [33, 34, 66]
Generated Node #0,2: 67:[33, 34, 66] Operation: 3*22=66
Exploring Operation: 33+3=36, Resulting Numbers: [34, 22, 36]
Generated Node #0,3: 67:[34, 22, 36] Operation: 33+3=36
Start Sub Search at level 1: Moving to Node #0,2
Current State: 67:[33, 34, 66], Operations: ['3*22=66']
Exploring Operation: 34-33=1, Resulting Numbers: [66, 1]
Generated Node #0,2,0: 67:[66, 1] Operation: 34-33=1
Exploring Operation: 33+66=99, Resulting Numbers: [34, 99]
Generated Node #0,2,1: 67:[34, 99] Operation: 33+66=99
Exploring Operation: 66-33=33, Resulting Numbers: [34, 33]
Generated Node #0,2,2: 67:[34, 33] Operation: 66-33=33
Exploring Operation: 33+34=67, Resulting Numbers: [66, 67]
Generated Node #0,2,3: 67:[66, 67] Operation: 33+34=67
Start Sub Search at level 2: Moving to Node #0,2,3
Current State: 67:[66, 67], Operations: ['3*22=66', '33+34=67']
Exploring Operation: 66+67=133, Resulting Numbers: [133]
133,67 unequal: No Solution
Exploring Operation: 66*67=4422, Resulting Numbers: [4422]
4422,67 unequal: No Solution
Exploring Operation: 67-66=1, Resulting Numbers: [1]
1,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 67:[34, 99], Operations: ['3*22=66', '33+66=99']
Exploring Operation: 34*99=3366, Resulting Numbers: [3366]
3366,67 unequal: No Solution
Exploring Operation: 34+99=133, Resulting Numbers: [133]
133,67 unequal: No Solution
Exploring Operation: 99-34=65, Resulting Numbers: [65]
65,67 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 67:[66, 1], Operations: ['3*22=66', '34-33=1']
Exploring Operation: 66*1=66, Resulting Numbers: [66]
66,67 unequal: No Solution
Exploring Operation: 66+1=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[33, 3, 34, 22], Operations: []
Exploring Operation: 3*22=66, Resulting Numbers: [33, 34, 66]
Generated Node #0,2: 67:[33, 34, 66] Operation: 3*22=66
Moving to Node #0,2
Current State: 67:[33, 34, 66], Operations: ['3*22=66']
Exploring Operation: 34-33=1, Resulting Numbers: [66, 1]
Generated Node #0,2,0: 67:[66, 1] Operation: 34-33=1
Moving to Node #0,2,0
Current State: 67:[66, 1], Operations: ['3*22=66', '34-33=1']
Exploring Operation: 66+1=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.982639 | hs_4 | mult_heuristic |
[
41,
63,
86,
34
] | 77 | [
"41-34=7",
"63/7=9",
"86-9=77"
] | Current State: 77:[41, 63, 86, 34], Operations: []
Exploring Operation: 41-34=7, Resulting Numbers: [63, 86, 7]
Generated Node #2: [63, 86, 7] from Operation: 41-34=7
Current State: 77:[63, 86, 7], Operations: ['41-34=7']
Exploring Operation: 63/7=9, Resulting Numbers: [86, 9]
Generated Node #3: [86, 9] from Operation: 63/7=9
Current State: 77:[86, 9], Operations: ['41-34=7', '63/7=9']
Exploring Operation: 86-9=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[41, 63, 86, 34], Operations: []
Exploring Operation: 41+34=75, Resulting Numbers: [63, 86, 75]
Generated Node #0,0: 77:[63, 86, 75] Operation: 41+34=75
Exploring Operation: 41-34=7, Resulting Numbers: [63, 86, 7]
Generated Node #0,1: 77:[63, 86, 7] Operation: 41-34=7
Start Sub Search at level 1: Moving to Node #0,1
Current State: 77:[63, 86, 7], Operations: ['41-34=7']
Exploring Operation: 86-63=23, Resulting Numbers: [7, 23]
Generated Node #0,1,0: 77:[7, 23] Operation: 86-63=23
Exploring Operation: 63/7=9, Resulting Numbers: [86, 9]
Generated Node #0,1,1: 77:[86, 9] Operation: 63/7=9
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 77:[86, 9], Operations: ['41-34=7', '63/7=9']
Exploring Operation: 86-9=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[41, 63, 86, 34], Operations: []
Exploring Operation: 41-34=7, Resulting Numbers: [63, 86, 7]
Generated Node #0,1: 77:[63, 86, 7] Operation: 41-34=7
Moving to Node #0,1
Current State: 77:[63, 86, 7], Operations: ['41-34=7']
Exploring Operation: 63/7=9, Resulting Numbers: [86, 9]
Generated Node #0,1,1: 77:[86, 9] Operation: 63/7=9
Moving to Node #0,1,1
Current State: 77:[86, 9], Operations: ['41-34=7', '63/7=9']
Exploring Operation: 86-9=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
21,
51,
87,
32
] | 55 | [
"87*32=2784",
"21+2784=2805",
"2805/51=55"
] | Current State: 55:[21, 51, 87, 32], Operations: []
Exploring Operation: 87*32=2784, Resulting Numbers: [21, 51, 2784]
Generated Node #2: [21, 51, 2784] from Operation: 87*32=2784
Current State: 55:[21, 51, 2784], Operations: ['87*32=2784']
Exploring Operation: 21+2784=2805, Resulting Numbers: [51, 2805]
Generated Node #3: [51, 2805] from Operation: 21+2784=2805
Current State: 55:[51, 2805], Operations: ['87*32=2784', '21+2784=2805']
Exploring Operation: 2805/51=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[21, 51, 87, 32], Operations: []
Exploring Operation: 87-32=55, Resulting Numbers: [21, 51, 55]
Generated Node #0,0: 55:[21, 51, 55] Operation: 87-32=55
Exploring Operation: 87-21=66, Resulting Numbers: [51, 32, 66]
Generated Node #0,1: 55:[51, 32, 66] Operation: 87-21=66
Start Sub Search at level 1: Moving to Node #0,0
Current State: 55:[21, 51, 55], Operations: ['87-32=55']
Exploring Operation: 55-51=4, Resulting Numbers: [21, 4]
Generated Node #0,0,0: 55:[21, 4] Operation: 55-51=4
Exploring Operation: 21+51=72, Resulting Numbers: [55, 72]
Generated Node #0,0,1: 55:[55, 72] Operation: 21+51=72
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 55:[21, 4], Operations: ['87-32=55', '55-51=4']
Exploring Operation: 21-4=17, Resulting Numbers: [17]
17,55 unequal: No Solution
Exploring Operation: 21+4=25, Resulting Numbers: [25]
25,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,0,1
Current State: 55:[55, 72], Operations: ['87-32=55', '21+51=72']
Exploring Operation: 55+72=127, Resulting Numbers: [127]
127,55 unequal: No Solution
Exploring Operation: 72-55=17, Resulting Numbers: [17]
17,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:[51, 32, 66], Operations: ['87-21=66']
Exploring Operation: 51-32=19, Resulting Numbers: [66, 19]
Generated Node #0,1,0: 55:[66, 19] Operation: 51-32=19
Exploring Operation: 66-51=15, Resulting Numbers: [32, 15]
Generated Node #0,1,1: 55:[32, 15] Operation: 66-51=15
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 55:[66, 19], Operations: ['87-21=66', '51-32=19']
Exploring Operation: 66+19=85, Resulting Numbers: [85]
85,55 unequal: No Solution
Exploring Operation: 66-19=47, Resulting Numbers: [47]
47,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,1,1
Current State: 55:[32, 15], Operations: ['87-21=66', '66-51=15']
Exploring Operation: 32-15=17, Resulting Numbers: [17]
17,55 unequal: No Solution
Exploring Operation: 32+15=47, Resulting Numbers: [47]
47,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_2 | sum_heuristic |
[
18,
23,
20,
16
] | 15 | [
"20-18=2",
"16/2=8",
"23-8=15"
] | Current State: 15:[18, 23, 20, 16], Operations: []
Exploring Operation: 20-18=2, Resulting Numbers: [23, 16, 2]
Generated Node #2: [23, 16, 2] from Operation: 20-18=2
Current State: 15:[23, 16, 2], Operations: ['20-18=2']
Exploring Operation: 16/2=8, Resulting Numbers: [23, 8]
Generated Node #3: [23, 8] from Operation: 16/2=8
Current State: 15:[23, 8], Operations: ['20-18=2', '16/2=8']
Exploring Operation: 23-8=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[18, 23, 20, 16], Operations: []
Exploring Operation: 23-18=5, Resulting Numbers: [20, 16, 5]
Generated Node #0,0: 15:[20, 16, 5] Operation: 23-18=5
Exploring Operation: 20-18=2, Resulting Numbers: [23, 16, 2]
Generated Node #0,1: 15:[23, 16, 2] Operation: 20-18=2
Exploring Operation: 20-16=4, Resulting Numbers: [18, 23, 4]
Generated Node #0,2: 15:[18, 23, 4] Operation: 20-16=4
Exploring Operation: 23-16=7, Resulting Numbers: [18, 20, 7]
Generated Node #0,3: 15:[18, 20, 7] Operation: 23-16=7
Exploring Operation: 23-20=3, Resulting Numbers: [18, 16, 3]
Generated Node #0,4: 15:[18, 16, 3] Operation: 23-20=3
Moving to Node #0,4
Current State: 15:[18, 16, 3], Operations: ['23-20=3']
Exploring Operation: 18-3=15, Resulting Numbers: [16, 15]
Generated Node #0,4,0: 15:[16, 15] Operation: 18-3=15
Exploring Operation: 18+3=21, Resulting Numbers: [16, 21]
Generated Node #0,4,1: 15:[16, 21] Operation: 18+3=21
Exploring Operation: 18-16=2, Resulting Numbers: [3, 2]
Generated Node #0,4,2: 15:[3, 2] Operation: 18-16=2
Exploring Operation: 16-3=13, Resulting Numbers: [18, 13]
Generated Node #0,4,3: 15:[18, 13] Operation: 16-3=13
Exploring Operation: 18/3=6, Resulting Numbers: [16, 6]
Generated Node #0,4,4: 15:[16, 6] Operation: 18/3=6
Moving to Node #0,0
Current State: 15:[20, 16, 5], Operations: ['23-18=5']
Exploring Operation: 20-5=15, Resulting Numbers: [16, 15]
Generated Node #0,0,0: 15:[16, 15] Operation: 20-5=15
Exploring Operation: 16-5=11, Resulting Numbers: [20, 11]
Generated Node #0,0,1: 15:[20, 11] Operation: 16-5=11
Exploring Operation: 20+5=25, Resulting Numbers: [16, 25]
Generated Node #0,0,2: 15:[16, 25] Operation: 20+5=25
Exploring Operation: 20/5=4, Resulting Numbers: [16, 4]
Generated Node #0,0,3: 15:[16, 4] Operation: 20/5=4
Exploring Operation: 20-16=4, Resulting Numbers: [5, 4]
Generated Node #0,0,4: 15:[5, 4] Operation: 20-16=4
Moving to Node #0,1
Current State: 15:[23, 16, 2], Operations: ['20-18=2']
Exploring Operation: 23-16=7, Resulting Numbers: [2, 7]
Generated Node #0,1,0: 15:[2, 7] Operation: 23-16=7
Exploring Operation: 23-2=21, Resulting Numbers: [16, 21]
Generated Node #0,1,1: 15:[16, 21] Operation: 23-2=21
Exploring Operation: 23+2=25, Resulting Numbers: [16, 25]
Generated Node #0,1,2: 15:[16, 25] Operation: 23+2=25
Exploring Operation: 16+2=18, Resulting Numbers: [23, 18]
Generated Node #0,1,3: 15:[23, 18] Operation: 16+2=18
Exploring Operation: 16-2=14, Resulting Numbers: [23, 14]
Generated Node #0,1,4: 15:[23, 14] Operation: 16-2=14
Moving to Node #0,3
Current State: 15:[18, 20, 7], Operations: ['23-16=7']
Exploring Operation: 18+7=25, Resulting Numbers: [20, 25]
Generated Node #0,3,0: 15:[20, 25] Operation: 18+7=25
Exploring Operation: 20-18=2, Resulting Numbers: [7, 2]
Generated Node #0,3,1: 15:[7, 2] Operation: 20-18=2
Exploring Operation: 20+7=27, Resulting Numbers: [18, 27]
Generated Node #0,3,2: 15:[18, 27] Operation: 20+7=27
Exploring Operation: 18-7=11, Resulting Numbers: [20, 11]
Generated Node #0,3,3: 15:[20, 11] Operation: 18-7=11
Exploring Operation: 20-7=13, Resulting Numbers: [18, 13]
Generated Node #0,3,4: 15:[18, 13] Operation: 20-7=13
Moving to Node #0,2
Current State: 15:[18, 23, 4], Operations: ['20-16=4']
Exploring Operation: 23+4=27, Resulting Numbers: [18, 27]
Generated Node #0,2,0: 15:[18, 27] Operation: 23+4=27
Exploring Operation: 18+4=22, Resulting Numbers: [23, 22]
Generated Node #0,2,1: 15:[23, 22] Operation: 18+4=22
Exploring Operation: 18-4=14, Resulting Numbers: [23, 14]
Generated Node #0,2,2: 15:[23, 14] Operation: 18-4=14
Exploring Operation: 23-18=5, Resulting Numbers: [4, 5]
Generated Node #0,2,3: 15:[4, 5] Operation: 23-18=5
Exploring Operation: 23-4=19, Resulting Numbers: [18, 19]
Generated Node #0,2,4: 15:[18, 19] Operation: 23-4=19
Moving to Node #0,4,0
Current State: 15:[16, 15], Operations: ['23-20=3', '18-3=15']
Exploring Operation: 16*15=240, Resulting Numbers: [240]
240,15 unequal: No Solution
Exploring Operation: 16+15=31, Resulting Numbers: [31]
31,15 unequal: No Solution
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,15 unequal: No Solution
Moving to Node #0,0,0
Current State: 15:[16, 15], Operations: ['23-18=5', '20-5=15']
Exploring Operation: 16-15=1, Resulting Numbers: [1]
1,15 unequal: No Solution
Exploring Operation: 16*15=240, Resulting Numbers: [240]
240,15 unequal: No Solution
Exploring Operation: 16+15=31, Resulting Numbers: [31]
31,15 unequal: No Solution
Moving to Node #0,0,4
Current State: 15:[5, 4], Operations: ['23-18=5', '20-16=4']
Exploring Operation: 5+4=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 5*4=20, Resulting Numbers: [20]
20,15 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,15 unequal: No Solution
Moving to Node #0,4,2
Current State: 15:[3, 2], Operations: ['23-20=3', '18-16=2']
Exploring Operation: 3*2=6, Resulting Numbers: [6]
6,15 unequal: No Solution
Exploring Operation: 3-2=1, Resulting Numbers: [1]
1,15 unequal: No Solution
Exploring Operation: 3+2=5, Resulting Numbers: [5]
5,15 unequal: No Solution
Moving to Node #0,2,3
Current State: 15:[4, 5], Operations: ['20-16=4', '23-18=5']
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,15 unequal: No Solution
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,15 unequal: No Solution
Moving to Node #0,4,4
Current State: 15:[16, 6], Operations: ['23-20=3', '18/3=6']
Exploring Operation: 16*6=96, Resulting Numbers: [96]
96,15 unequal: No Solution
Exploring Operation: 16+6=22, Resulting Numbers: [22]
22,15 unequal: No Solution
Exploring Operation: 16-6=10, Resulting Numbers: [10]
10,15 unequal: No Solution
Moving to Node #0,0,3
Current State: 15:[16, 4], Operations: ['23-18=5', '20/5=4']
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,15 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,15 unequal: No Solution
Exploring Operation: 16+4=20, Resulting Numbers: [20]
20,15 unequal: No Solution
Exploring Operation: 16*4=64, Resulting Numbers: [64]
64,15 unequal: No Solution
Moving to Node #0,1,0
Current State: 15:[2, 7], Operations: ['20-18=2', '23-16=7']
Exploring Operation: 2*7=14, Resulting Numbers: [14]
14,15 unequal: No Solution
Exploring Operation: 2+7=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,15 unequal: No Solution
Moving to Node #0,3,1
Current State: 15:[7, 2], Operations: ['23-16=7', '20-18=2']
Exploring Operation: 7*2=14, Resulting Numbers: [14]
14,15 unequal: No Solution
Exploring Operation: 7+2=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 7-2=5, Resulting Numbers: [5]
5,15 unequal: No Solution
Moving to Node #0,3,4
Current State: 15:[18, 13], Operations: ['23-16=7', '20-7=13']
Exploring Operation: 18*13=234, Resulting Numbers: [234]
234,15 unequal: No Solution
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,15 unequal: No Solution
Exploring Operation: 18+13=31, Resulting Numbers: [31]
31,15 unequal: No Solution
Moving to Node #0,4,3
Current State: 15:[18, 13], Operations: ['23-20=3', '16-3=13']
Exploring Operation: 18+13=31, Resulting Numbers: [31]
31,15 unequal: No Solution
Exploring Operation: 18*13=234, Resulting Numbers: [234]
234,15 unequal: No Solution
Exploring Operation: 18-13=5, Resulting Numbers: [5]
5,15 unequal: No Solution
Moving to Node #0,1,1
Current State: 15:[16, 21], Operations: ['20-18=2', '23-2=21']
Exploring Operation: 16*21=336, Resulting Numbers: [336]
336,15 unequal: No Solution
Exploring Operation: 21-16=5, Resulting Numbers: [5]
5,15 unequal: No Solution
Exploring Operation: 16+21=37, Resulting Numbers: [37]
37,15 unequal: No Solution
Moving to Node #0,4,1
Current State: 15:[16, 21], Operations: ['23-20=3', '18+3=21']
Exploring Operation: 16*21=336, Resulting Numbers: [336]
336,15 unequal: No Solution
Exploring Operation: 16+21=37, Resulting Numbers: [37]
37,15 unequal: No Solution
Exploring Operation: 21-16=5, Resulting Numbers: [5]
5,15 unequal: No Solution
Moving to Node #0,2,4
Current State: 15:[18, 19], Operations: ['20-16=4', '23-4=19']
Exploring Operation: 18+19=37, Resulting Numbers: [37]
37,15 unequal: No Solution
Exploring Operation: 18*19=342, Resulting Numbers: [342]
342,15 unequal: No Solution
Exploring Operation: 19-18=1, Resulting Numbers: [1]
1,15 unequal: No Solution
Moving to Node #0,1,4
Current State: 15:[23, 14], Operations: ['20-18=2', '16-2=14']
Exploring Operation: 23*14=322, Resulting Numbers: [322]
322,15 unequal: No Solution
Exploring Operation: 23-14=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 23+14=37, Resulting Numbers: [37]
37,15 unequal: No Solution
Moving to Node #0,2,2
Current State: 15:[23, 14], Operations: ['20-16=4', '18-4=14']
Exploring Operation: 23*14=322, Resulting Numbers: [322]
322,15 unequal: No Solution
Exploring Operation: 23+14=37, Resulting Numbers: [37]
37,15 unequal: No Solution
Exploring Operation: 23-14=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Moving to Node #0,0,1
Current State: 15:[20, 11], Operations: ['23-18=5', '16-5=11']
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 20*11=220, Resulting Numbers: [220]
220,15 unequal: No Solution
Exploring Operation: 20+11=31, Resulting Numbers: [31]
31,15 unequal: No Solution
Moving to Node #0,3,3
Current State: 15:[20, 11], Operations: ['23-16=7', '18-7=11']
Exploring Operation: 20+11=31, Resulting Numbers: [31]
31,15 unequal: No Solution
Exploring Operation: 20-11=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 20*11=220, Resulting Numbers: [220]
220,15 unequal: No Solution
Moving to Node #0,1,3
Current State: 15:[23, 18], Operations: ['20-18=2', '16+2=18']
Exploring Operation: 23*18=414, Resulting Numbers: [414]
414,15 unequal: No Solution
Exploring Operation: 23-18=5, Resulting Numbers: [5]
5,15 unequal: No Solution
Exploring Operation: 23+18=41, Resulting Numbers: [41]
41,15 unequal: No Solution
Moving to Node #0,0,2
Current State: 15:[16, 25], Operations: ['23-18=5', '20+5=25']
Exploring Operation: 16*25=400, Resulting Numbers: [400]
400,15 unequal: No Solution
Exploring Operation: 16+25=41, Resulting Numbers: [41]
41,15 unequal: No Solution
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Moving to Node #0,1,2
Current State: 15:[16, 25], Operations: ['20-18=2', '23+2=25']
Exploring Operation: 16*25=400, Resulting Numbers: [400]
400,15 unequal: No Solution
Exploring Operation: 16+25=41, Resulting Numbers: [41]
41,15 unequal: No Solution
Exploring Operation: 25-16=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Moving to Node #0,3,0
Current State: 15:[20, 25], Operations: ['23-16=7', '18+7=25']
Exploring Operation: 25-20=5, Resulting Numbers: [5]
5,15 unequal: No Solution
Exploring Operation: 20+25=45, Resulting Numbers: [45]
45,15 unequal: No Solution
Exploring Operation: 20*25=500, Resulting Numbers: [500]
500,15 unequal: No Solution
Moving to Node #0,2,0
Current State: 15:[18, 27], Operations: ['20-16=4', '23+4=27']
Exploring Operation: 27-18=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Exploring Operation: 18*27=486, Resulting Numbers: [486]
486,15 unequal: No Solution
Exploring Operation: 18+27=45, Resulting Numbers: [45]
45,15 unequal: No Solution
Moving to Node #0,3,2
Current State: 15:[18, 27], Operations: ['23-16=7', '20+7=27']
Exploring Operation: 18*27=486, Resulting Numbers: [486]
486,15 unequal: No Solution
Exploring Operation: 18+27=45, Resulting Numbers: [45]
45,15 unequal: No Solution
Exploring Operation: 27-18=9, Resulting Numbers: [9]
9,15 unequal: No Solution
Moving to Node #0,2,1
Current State: 15:[23, 22], Operations: ['20-16=4', '18+4=22']
Exploring Operation: 23*22=506, Resulting Numbers: [506]
506,15 unequal: No Solution
Exploring Operation: 23-22=1, Resulting Numbers: [1]
1,15 unequal: No Solution
Exploring Operation: 23+22=45, Resulting Numbers: [45]
45,15 unequal: No Solution
No solution found.
| 0 | hs_5 | mult_heuristic |
[
83,
44,
10,
96
] | 41 | [
"83+44=127",
"96-10=86",
"127-86=41"
] | Current State: 41:[83, 44, 10, 96], Operations: []
Exploring Operation: 83+44=127, Resulting Numbers: [10, 96, 127]
Generated Node #2: [10, 96, 127] from Operation: 83+44=127
Current State: 41:[10, 96, 127], Operations: ['83+44=127']
Exploring Operation: 96-10=86, Resulting Numbers: [127, 86]
Generated Node #3: [127, 86] from Operation: 96-10=86
Current State: 41:[127, 86], Operations: ['83+44=127', '96-10=86']
Exploring Operation: 127-86=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[83, 44, 10, 96], Operations: []
Exploring Operation: 96-83=13, Resulting Numbers: [44, 10, 13]
Generated Node #0,0: 41:[44, 10, 13] Operation: 96-83=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[44, 10, 13], Operations: ['96-83=13']
Exploring Operation: 10+13=23, Resulting Numbers: [44, 23]
Generated Node #0,0,0: 41:[44, 23] Operation: 10+13=23
Moving to Node #0,0,0
Current State: 41:[44, 23], Operations: ['96-83=13', '10+13=23']
Exploring Operation: 44-23=21, Resulting Numbers: [21]
21,41 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,
92,
8,
13
] | 89 | [
"8+13=21",
"21/7=3",
"92-3=89"
] | Current State: 89:[7, 92, 8, 13], Operations: []
Exploring Operation: 8+13=21, Resulting Numbers: [7, 92, 21]
Generated Node #2: [7, 92, 21] from Operation: 8+13=21
Current State: 89:[7, 92, 21], Operations: ['8+13=21']
Exploring Operation: 21/7=3, Resulting Numbers: [92, 3]
Generated Node #3: [92, 3] from Operation: 21/7=3
Current State: 89:[92, 3], Operations: ['8+13=21', '21/7=3']
Exploring Operation: 92-3=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[7, 92, 8, 13], Operations: []
Exploring Operation: 7*8=56, Resulting Numbers: [92, 13, 56]
Generated Node #0,0: 89:[92, 13, 56] Operation: 7*8=56
Exploring Operation: 7*13=91, Resulting Numbers: [92, 8, 91]
Generated Node #0,1: 89:[92, 8, 91] Operation: 7*13=91
Exploring Operation: 8*13=104, Resulting Numbers: [7, 92, 104]
Generated Node #0,2: 89:[7, 92, 104] Operation: 8*13=104
Moving to Node #0,1
Current State: 89:[92, 8, 91], Operations: ['7*13=91']
Exploring Operation: 91-8=83, Resulting Numbers: [92, 83]
Generated Node #0,1,0: 89:[92, 83] Operation: 91-8=83
Exploring Operation: 92+8=100, Resulting Numbers: [91, 100]
Generated Node #0,1,1: 89:[91, 100] Operation: 92+8=100
Exploring Operation: 92-8=84, Resulting Numbers: [91, 84]
Generated Node #0,1,2: 89:[91, 84] Operation: 92-8=84
Moving to Node #0,2
Current State: 89:[7, 92, 104], Operations: ['8*13=104']
Exploring Operation: 7+92=99, Resulting Numbers: [104, 99]
Generated Node #0,2,0: 89:[104, 99] Operation: 7+92=99
Exploring Operation: 92-7=85, Resulting Numbers: [104, 85]
Generated Node #0,2,1: 89:[104, 85] Operation: 92-7=85
Exploring Operation: 104-7=97, Resulting Numbers: [92, 97]
Generated Node #0,2,2: 89:[92, 97] Operation: 104-7=97
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 89:[92, 97], Operations: ['8*13=104', '104-7=97']
Exploring Operation: 97-92=5, Resulting Numbers: [5]
5,89 unequal: No Solution
Exploring Operation: 92*97=8924, Resulting Numbers: [8924]
8924,89 unequal: No Solution
Exploring Operation: 92+97=189, Resulting Numbers: [189]
189,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,1
Current State: 89:[104, 85], Operations: ['8*13=104', '92-7=85']
Exploring Operation: 104+85=189, Resulting Numbers: [189]
189,89 unequal: No Solution
Exploring Operation: 104*85=8840, Resulting Numbers: [8840]
8840,89 unequal: No Solution
Exploring Operation: 104-85=19, Resulting Numbers: [19]
19,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 89:[104, 99], Operations: ['8*13=104', '7+92=99']
Exploring Operation: 104*99=10296, Resulting Numbers: [10296]
10296,89 unequal: No Solution
Exploring Operation: 104-99=5, Resulting Numbers: [5]
5,89 unequal: No Solution
Exploring Operation: 104+99=203, Resulting Numbers: [203]
203,89 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 89:[92, 13, 56], Operations: ['7*8=56']
Exploring Operation: 92+13=105, Resulting Numbers: [56, 105]
Generated Node #0,0,0: 89:[56, 105] Operation: 92+13=105
Exploring Operation: 13+56=69, Resulting Numbers: [92, 69]
Generated Node #0,0,1: 89:[92, 69] Operation: 13+56=69
Exploring Operation: 92-13=79, Resulting Numbers: [56, 79]
Generated Node #0,0,2: 89:[56, 79] Operation: 92-13=79
Moving to Node #0,1,2
Current State: 89:[91, 84], Operations: ['7*13=91', '92-8=84']
Exploring Operation: 91-84=7, Resulting Numbers: [7]
7,89 unequal: No Solution
Exploring Operation: 91*84=7644, Resulting Numbers: [7644]
7644,89 unequal: No Solution
Exploring Operation: 91+84=175, Resulting Numbers: [175]
175,89 unequal: No Solution
Moving to Node #0,1,0
Current State: 89:[92, 83], Operations: ['7*13=91', '91-8=83']
Exploring Operation: 92+83=175, Resulting Numbers: [175]
175,89 unequal: No Solution
Exploring Operation: 92*83=7636, Resulting Numbers: [7636]
7636,89 unequal: No Solution
Exploring Operation: 92-83=9, Resulting Numbers: [9]
9,89 unequal: No Solution
Moving to Node #0,1,1
Current State: 89:[91, 100], Operations: ['7*13=91', '92+8=100']
Exploring Operation: 91*100=9100, Resulting Numbers: [9100]
9100,89 unequal: No Solution
Exploring Operation: 100-91=9, Resulting Numbers: [9]
9,89 unequal: No Solution
Exploring Operation: 91+100=191, Resulting Numbers: [191]
191,89 unequal: No Solution
Moving to Node #0,0,1
Current State: 89:[92, 69], Operations: ['7*8=56', '13+56=69']
Exploring Operation: 92-69=23, Resulting Numbers: [23]
23,89 unequal: No Solution
Exploring Operation: 92+69=161, Resulting Numbers: [161]
161,89 unequal: No Solution
Exploring Operation: 92*69=6348, Resulting Numbers: [6348]
6348,89 unequal: No Solution
Moving to Node #0,0,2
Current State: 89:[56, 79], Operations: ['7*8=56', '92-13=79']
Exploring Operation: 56+79=135, Resulting Numbers: [135]
135,89 unequal: No Solution
Exploring Operation: 79-56=23, Resulting Numbers: [23]
23,89 unequal: No Solution
Exploring Operation: 56*79=4424, Resulting Numbers: [4424]
4424,89 unequal: No Solution
Moving to Node #0,0,0
Current State: 89:[56, 105], Operations: ['7*8=56', '92+13=105']
Exploring Operation: 56*105=5880, Resulting Numbers: [5880]
5880,89 unequal: No Solution
Exploring Operation: 105-56=49, Resulting Numbers: [49]
49,89 unequal: No Solution
Exploring Operation: 56+105=161, Resulting Numbers: [161]
161,89 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
41,
95,
51,
78
] | 75 | [
"95-41=54",
"51+78=129",
"129-54=75"
] | Current State: 75:[41, 95, 51, 78], Operations: []
Exploring Operation: 95-41=54, Resulting Numbers: [51, 78, 54]
Generated Node #2: [51, 78, 54] from Operation: 95-41=54
Current State: 75:[51, 78, 54], Operations: ['95-41=54']
Exploring Operation: 51+78=129, Resulting Numbers: [54, 129]
Generated Node #3: [54, 129] from Operation: 51+78=129
Current State: 75:[54, 129], Operations: ['95-41=54', '51+78=129']
Exploring Operation: 129-54=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[41, 95, 51, 78], Operations: []
Exploring Operation: 41+51=92, Resulting Numbers: [95, 78, 92]
Generated Node #0,0: 75:[95, 78, 92] Operation: 41+51=92
Exploring Operation: 95-51=44, Resulting Numbers: [41, 78, 44]
Generated Node #0,1: 75:[41, 78, 44] Operation: 95-51=44
Exploring Operation: 78-51=27, Resulting Numbers: [41, 95, 27]
Generated Node #0,2: 75:[41, 95, 27] Operation: 78-51=27
Exploring Operation: 51-41=10, Resulting Numbers: [95, 78, 10]
Generated Node #0,3: 75:[95, 78, 10] Operation: 51-41=10
Moving to Node #0,3
Current State: 75:[95, 78, 10], Operations: ['51-41=10']
Exploring Operation: 95-78=17, Resulting Numbers: [10, 17]
Generated Node #0,3,0: 75:[10, 17] Operation: 95-78=17
Exploring Operation: 95-10=85, Resulting Numbers: [78, 85]
Generated Node #0,3,1: 75:[78, 85] Operation: 95-10=85
Exploring Operation: 78-10=68, Resulting Numbers: [95, 68]
Generated Node #0,3,2: 75:[95, 68] Operation: 78-10=68
Exploring Operation: 95+10=105, Resulting Numbers: [78, 105]
Generated Node #0,3,3: 75:[78, 105] Operation: 95+10=105
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 75:[10, 17], Operations: ['51-41=10', '95-78=17']
Exploring Operation: 10+17=27, Resulting Numbers: [27]
27,75 unequal: No Solution
Exploring Operation: 17-10=7, Resulting Numbers: [7]
7,75 unequal: No Solution
Exploring Operation: 10*17=170, Resulting Numbers: [170]
170,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,1
Current State: 75:[78, 85], Operations: ['51-41=10', '95-10=85']
Exploring Operation: 78+85=163, Resulting Numbers: [163]
163,75 unequal: No Solution
Exploring Operation: 78*85=6630, Resulting Numbers: [6630]
6630,75 unequal: No Solution
Exploring Operation: 85-78=7, Resulting Numbers: [7]
7,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,2
Current State: 75:[95, 68], Operations: ['51-41=10', '78-10=68']
Exploring Operation: 95*68=6460, Resulting Numbers: [6460]
6460,75 unequal: No Solution
Exploring Operation: 95-68=27, Resulting Numbers: [27]
27,75 unequal: No Solution
Exploring Operation: 95+68=163, Resulting Numbers: [163]
163,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,3
Current State: 75:[78, 105], Operations: ['51-41=10', '95+10=105']
Exploring Operation: 78*105=8190, Resulting Numbers: [8190]
8190,75 unequal: No Solution
Exploring Operation: 78+105=183, Resulting Numbers: [183]
183,75 unequal: No Solution
Exploring Operation: 105-78=27, Resulting Numbers: [27]
27,75 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: 75:[41, 95, 27], Operations: ['78-51=27']
Exploring Operation: 41-27=14, Resulting Numbers: [95, 14]
Generated Node #0,2,0: 75:[95, 14] Operation: 41-27=14
Exploring Operation: 95-27=68, Resulting Numbers: [41, 68]
Generated Node #0,2,1: 75:[41, 68] Operation: 95-27=68
Exploring Operation: 41+27=68, Resulting Numbers: [95, 68]
Generated Node #0,2,2: 75:[95, 68] Operation: 41+27=68
Exploring Operation: 95-41=54, Resulting Numbers: [27, 54]
Generated Node #0,2,3: 75:[27, 54] Operation: 95-41=54
Moving to Node #0,1
Current State: 75:[41, 78, 44], Operations: ['95-51=44']
Exploring Operation: 78-41=37, Resulting Numbers: [44, 37]
Generated Node #0,1,0: 75:[44, 37] Operation: 78-41=37
Exploring Operation: 78-44=34, Resulting Numbers: [41, 34]
Generated Node #0,1,1: 75:[41, 34] Operation: 78-44=34
Exploring Operation: 44-41=3, Resulting Numbers: [78, 3]
Generated Node #0,1,2: 75:[78, 3] Operation: 44-41=3
Exploring Operation: 41+44=85, Resulting Numbers: [78, 85]
Generated Node #0,1,3: 75:[78, 85] Operation: 41+44=85
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 75:[78, 3], Operations: ['95-51=44', '44-41=3']
Exploring Operation: 78*3=234, Resulting Numbers: [234]
234,75 unequal: No Solution
Exploring Operation: 78+3=81, Resulting Numbers: [81]
81,75 unequal: No Solution
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Moving to Node #0
Current State: 75:[41, 95, 51, 78], Operations: []
Exploring Operation: 95-51=44, Resulting Numbers: [41, 78, 44]
Generated Node #0,1: 75:[41, 78, 44] Operation: 95-51=44
Moving to Node #0,1
Current State: 75:[41, 78, 44], Operations: ['95-51=44']
Exploring Operation: 44-41=3, Resulting Numbers: [78, 3]
Generated Node #0,1,2: 75:[78, 3] Operation: 44-41=3
Moving to Node #0,1,2
Current State: 75:[78, 3], Operations: ['95-51=44', '44-41=3']
Exploring Operation: 78-3=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_4 | mult_heuristic |
[
99,
84,
27,
14
] | 28 | [
"99-84=15",
"27-14=13",
"15+13=28"
] | Current State: 28:[99, 84, 27, 14], Operations: []
Exploring Operation: 99-84=15, Resulting Numbers: [27, 14, 15]
Generated Node #2: [27, 14, 15] from Operation: 99-84=15
Current State: 28:[27, 14, 15], Operations: ['99-84=15']
Exploring Operation: 27-14=13, Resulting Numbers: [15, 13]
Generated Node #3: [15, 13] from Operation: 27-14=13
Current State: 28:[15, 13], Operations: ['99-84=15', '27-14=13']
Exploring Operation: 15+13=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 4 | Current State: 28:[99, 84, 27, 14], Operations: []
Exploring Operation: 84/14=6, Resulting Numbers: [99, 27, 6]
Generated Node #0,0: 28:[99, 27, 6] Operation: 84/14=6
Exploring Operation: 99-27=72, Resulting Numbers: [84, 14, 72]
Generated Node #0,1: 28:[84, 14, 72] Operation: 99-27=72
Exploring Operation: 99-84=15, Resulting Numbers: [27, 14, 15]
Generated Node #0,2: 28:[27, 14, 15] Operation: 99-84=15
Moving to Node #0,2
Current State: 28:[27, 14, 15], Operations: ['99-84=15']
Exploring Operation: 27-15=12, Resulting Numbers: [14, 12]
Generated Node #0,2,0: 28:[14, 12] Operation: 27-15=12
Exploring Operation: 14+15=29, Resulting Numbers: [27, 29]
Generated Node #0,2,1: 28:[27, 29] Operation: 14+15=29
Exploring Operation: 27-14=13, Resulting Numbers: [15, 13]
Generated Node #0,2,2: 28:[15, 13] Operation: 27-14=13
Moving to Node #0,0
Current State: 28:[99, 27, 6], Operations: ['84/14=6']
Exploring Operation: 99-6=93, Resulting Numbers: [27, 93]
Generated Node #0,0,0: 28:[27, 93] Operation: 99-6=93
Exploring Operation: 27+6=33, Resulting Numbers: [99, 33]
Generated Node #0,0,1: 28:[99, 33] Operation: 27+6=33
Exploring Operation: 99-27=72, Resulting Numbers: [6, 72]
Generated Node #0,0,2: 28:[6, 72] Operation: 99-27=72
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 28:[6, 72], Operations: ['84/14=6', '99-27=72']
Exploring Operation: 6+72=78, Resulting Numbers: [78]
78,28 unequal: No Solution
Exploring Operation: 72/6=12, Resulting Numbers: [12]
12,28 unequal: No Solution
Exploring Operation: 72-6=66, Resulting Numbers: [66]
66,28 unequal: No Solution
No 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: 28:[27, 93], Operations: ['84/14=6', '99-6=93']
Exploring Operation: 27*93=2511, Resulting Numbers: [2511]
2511,28 unequal: No Solution
Exploring Operation: 93-27=66, Resulting Numbers: [66]
66,28 unequal: No Solution
Exploring Operation: 27+93=120, Resulting Numbers: [120]
120,28 unequal: No Solution
No 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: 28:[99, 33], Operations: ['84/14=6', '27+6=33']
Exploring Operation: 99/33=3, Resulting Numbers: [3]
3,28 unequal: No Solution
Exploring Operation: 99+33=132, Resulting Numbers: [132]
132,28 unequal: No Solution
Exploring Operation: 99-33=66, Resulting Numbers: [66]
66,28 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: 28:[84, 14, 72], Operations: ['99-27=72']
Exploring Operation: 84-72=12, Resulting Numbers: [14, 12]
Generated Node #0,1,0: 28:[14, 12] Operation: 84-72=12
Exploring Operation: 84-14=70, Resulting Numbers: [72, 70]
Generated Node #0,1,1: 28:[72, 70] Operation: 84-14=70
Exploring Operation: 84/14=6, Resulting Numbers: [72, 6]
Generated Node #0,1,2: 28:[72, 6] Operation: 84/14=6
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 28:[14, 12], Operations: ['99-27=72', '84-72=12']
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 14+12=26, Resulting Numbers: [26]
26,28 unequal: No Solution
Exploring Operation: 14*12=168, Resulting Numbers: [168]
168,28 unequal: No Solution
No 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: 28:[72, 6], Operations: ['99-27=72', '84/14=6']
Exploring Operation: 72+6=78, Resulting Numbers: [78]
78,28 unequal: No Solution
Exploring Operation: 72-6=66, Resulting Numbers: [66]
66,28 unequal: No Solution
Exploring Operation: 72/6=12, Resulting Numbers: [12]
12,28 unequal: No Solution
No 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: 28:[72, 70], Operations: ['99-27=72', '84-14=70']
Exploring Operation: 72+70=142, Resulting Numbers: [142]
142,28 unequal: No Solution
Exploring Operation: 72-70=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 72*70=5040, Resulting Numbers: [5040]
5040,28 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: 28:[14, 12], Operations: ['99-84=15', '27-15=12']
Exploring Operation: 14*12=168, Resulting Numbers: [168]
168,28 unequal: No Solution
Exploring Operation: 14-12=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Exploring Operation: 14+12=26, Resulting Numbers: [26]
26,28 unequal: No Solution
Moving to Node #0,2,1
Current State: 28:[27, 29], Operations: ['99-84=15', '14+15=29']
Exploring Operation: 27*29=783, Resulting Numbers: [783]
783,28 unequal: No Solution
Exploring Operation: 27+29=56, Resulting Numbers: [56]
56,28 unequal: No Solution
Exploring Operation: 29-27=2, Resulting Numbers: [2]
2,28 unequal: No Solution
Moving to Node #0,2,2
Current State: 28:[15, 13], Operations: ['99-84=15', '27-14=13']
Exploring Operation: 15+13=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
Moving to Node #0
Current State: 28:[99, 84, 27, 14], Operations: []
Exploring Operation: 99-84=15, Resulting Numbers: [27, 14, 15]
Generated Node #0,2: 28:[27, 14, 15] Operation: 99-84=15
Moving to Node #0,2
Current State: 28:[27, 14, 15], Operations: ['99-84=15']
Exploring Operation: 27-14=13, Resulting Numbers: [15, 13]
Generated Node #0,2,2: 28:[15, 13] Operation: 27-14=13
Moving to Node #0,2,2
Current State: 28:[15, 13], Operations: ['99-84=15', '27-14=13']
Exploring Operation: 15+13=28, Resulting Numbers: [28]
28,28 equal: Goal Reached
| 0.96441 | hs_3 | mult_heuristic |
[
62,
60,
35,
60
] | 96 | [
"62+35=97",
"60/60=1",
"97-1=96"
] | Current State: 96:[62, 60, 35, 60], Operations: []
Exploring Operation: 62+35=97, Resulting Numbers: [60, 60, 97]
Generated Node #2: [60, 60, 97] from Operation: 62+35=97
Current State: 96:[60, 60, 97], Operations: ['62+35=97']
Exploring Operation: 60/60=1, Resulting Numbers: [97, 1]
Generated Node #3: [97, 1] from Operation: 60/60=1
Current State: 96:[97, 1], Operations: ['62+35=97', '60/60=1']
Exploring Operation: 97-1=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
| 4 | Current State: 96:[62, 60, 35, 60], Operations: []
Exploring Operation: 62-60=2, Resulting Numbers: [35, 60, 2]
Generated Node #0,0: 96:[35, 60, 2] Operation: 62-60=2
Exploring Operation: 62-60=2, Resulting Numbers: [60, 35, 2]
Generated Node #0,1: 96:[60, 35, 2] Operation: 62-60=2
Exploring Operation: 60/60=1, Resulting Numbers: [62, 35, 1]
Generated Node #0,2: 96:[62, 35, 1] Operation: 60/60=1
Moving to Node #0,0
Current State: 96:[35, 60, 2], Operations: ['62-60=2']
Exploring Operation: 60-35=25, Resulting Numbers: [2, 25]
Generated Node #0,0,0: 96:[2, 25] Operation: 60-35=25
Exploring Operation: 60/2=30, Resulting Numbers: [35, 30]
Generated Node #0,0,1: 96:[35, 30] Operation: 60/2=30
Exploring Operation: 35+60=95, Resulting Numbers: [2, 95]
Generated Node #0,0,2: 96:[2, 95] Operation: 35+60=95
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 96:[2, 25], Operations: ['62-60=2', '60-35=25']
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,96 unequal: No Solution
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,96 unequal: No Solution
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 96:[2, 95], Operations: ['62-60=2', '35+60=95']
Exploring Operation: 2+95=97, Resulting Numbers: [97]
97,96 unequal: No Solution
Exploring Operation: 2*95=190, Resulting Numbers: [190]
190,96 unequal: No Solution
Exploring Operation: 95-2=93, Resulting Numbers: [93]
93,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 96:[35, 30], Operations: ['62-60=2', '60/2=30']
Exploring Operation: 35-30=5, Resulting Numbers: [5]
5,96 unequal: No Solution
Exploring Operation: 35*30=1050, Resulting Numbers: [1050]
1050,96 unequal: No Solution
Exploring Operation: 35+30=65, Resulting Numbers: [65]
65,96 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: 96:[60, 35, 2], Operations: ['62-60=2']
Exploring Operation: 60/2=30, Resulting Numbers: [35, 30]
Generated Node #0,1,0: 96:[35, 30] Operation: 60/2=30
Exploring Operation: 60+35=95, Resulting Numbers: [2, 95]
Generated Node #0,1,1: 96:[2, 95] Operation: 60+35=95
Exploring Operation: 60-35=25, Resulting Numbers: [2, 25]
Generated Node #0,1,2: 96:[2, 25] Operation: 60-35=25
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 96:[2, 95], Operations: ['62-60=2', '60+35=95']
Exploring Operation: 2+95=97, Resulting Numbers: [97]
97,96 unequal: No Solution
Exploring Operation: 2*95=190, Resulting Numbers: [190]
190,96 unequal: No Solution
Exploring Operation: 95-2=93, Resulting Numbers: [93]
93,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 96:[2, 25], Operations: ['62-60=2', '60-35=25']
Exploring Operation: 25-2=23, Resulting Numbers: [23]
23,96 unequal: No Solution
Exploring Operation: 2+25=27, Resulting Numbers: [27]
27,96 unequal: No Solution
Exploring Operation: 2*25=50, Resulting Numbers: [50]
50,96 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 96:[35, 30], Operations: ['62-60=2', '60/2=30']
Exploring Operation: 35*30=1050, Resulting Numbers: [1050]
1050,96 unequal: No Solution
Exploring Operation: 35+30=65, Resulting Numbers: [65]
65,96 unequal: No Solution
Exploring Operation: 35-30=5, Resulting Numbers: [5]
5,96 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: 96:[62, 35, 1], Operations: ['60/60=1']
Exploring Operation: 62-1=61, Resulting Numbers: [35, 61]
Generated Node #0,2,0: 96:[35, 61] Operation: 62-1=61
Exploring Operation: 62-35=27, Resulting Numbers: [1, 27]
Generated Node #0,2,1: 96:[1, 27] Operation: 62-35=27
Exploring Operation: 62+35=97, Resulting Numbers: [1, 97]
Generated Node #0,2,2: 96:[1, 97] Operation: 62+35=97
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 96:[1, 97], Operations: ['60/60=1', '62+35=97']
Exploring Operation: 97-1=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Moving to Node #0
Current State: 96:[62, 60, 35, 60], Operations: []
Exploring Operation: 60/60=1, Resulting Numbers: [62, 35, 1]
Generated Node #0,2: 96:[62, 35, 1] Operation: 60/60=1
Moving to Node #0,2
Current State: 96:[62, 35, 1], Operations: ['60/60=1']
Exploring Operation: 62+35=97, Resulting Numbers: [1, 97]
Generated Node #0,2,2: 96:[1, 97] Operation: 62+35=97
Moving to Node #0,2,2
Current State: 96:[1, 97], Operations: ['60/60=1', '62+35=97']
Exploring Operation: 97-1=96, Resulting Numbers: [96]
96,96 equal: Goal Reached
Exit Sub Search at level 1
| 0.969618 | hs_3 | sum_heuristic |
[
9,
39,
61,
69
] | 39 | [
"9+61=70",
"70-69=1",
"39*1=39"
] | Current State: 39:[9, 39, 61, 69], Operations: []
Exploring Operation: 9+61=70, Resulting Numbers: [39, 69, 70]
Generated Node #2: [39, 69, 70] from Operation: 9+61=70
Current State: 39:[39, 69, 70], Operations: ['9+61=70']
Exploring Operation: 70-69=1, Resulting Numbers: [39, 1]
Generated Node #3: [39, 1] from Operation: 70-69=1
Current State: 39:[39, 1], Operations: ['9+61=70', '70-69=1']
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[9, 39, 61, 69], Operations: []
Exploring Operation: 69-39=30, Resulting Numbers: [9, 61, 30]
Generated Node #0,0: 39:[9, 61, 30] Operation: 69-39=30
Exploring Operation: 69-61=8, Resulting Numbers: [9, 39, 8]
Generated Node #0,1: 39:[9, 39, 8] Operation: 69-61=8
Moving to Node #0,1
Current State: 39:[9, 39, 8], Operations: ['69-61=8']
Exploring Operation: 9+8=17, Resulting Numbers: [39, 17]
Generated Node #0,1,0: 39:[39, 17] Operation: 9+8=17
Exploring Operation: 9-8=1, Resulting Numbers: [39, 1]
Generated Node #0,1,1: 39:[39, 1] Operation: 9-8=1
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 39:[39, 1], Operations: ['69-61=8', '9-8=1']
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[9, 39, 61, 69], Operations: []
Exploring Operation: 69-61=8, Resulting Numbers: [9, 39, 8]
Generated Node #0,1: 39:[9, 39, 8] Operation: 69-61=8
Moving to Node #0,1
Current State: 39:[9, 39, 8], Operations: ['69-61=8']
Exploring Operation: 9-8=1, Resulting Numbers: [39, 1]
Generated Node #0,1,1: 39:[39, 1] Operation: 9-8=1
Moving to Node #0,1,1
Current State: 39:[39, 1], Operations: ['69-61=8', '9-8=1']
Exploring Operation: 39*1=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
89,
95,
40,
10
] | 56 | [
"95-89=6",
"40+10=50",
"6+50=56"
] | Current State: 56:[89, 95, 40, 10], Operations: []
Exploring Operation: 95-89=6, Resulting Numbers: [40, 10, 6]
Generated Node #2: [40, 10, 6] from Operation: 95-89=6
Current State: 56:[40, 10, 6], Operations: ['95-89=6']
Exploring Operation: 40+10=50, Resulting Numbers: [6, 50]
Generated Node #3: [6, 50] from Operation: 40+10=50
Current State: 56:[6, 50], Operations: ['95-89=6', '40+10=50']
Exploring Operation: 6+50=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
| 4 | Current State: 56:[89, 95, 40, 10], Operations: []
Exploring Operation: 40/10=4, Resulting Numbers: [89, 95, 4]
Generated Node #0,0: 56:[89, 95, 4] Operation: 40/10=4
Exploring Operation: 95-40=55, Resulting Numbers: [89, 10, 55]
Generated Node #0,1: 56:[89, 10, 55] Operation: 95-40=55
Exploring Operation: 95-89=6, Resulting Numbers: [40, 10, 6]
Generated Node #0,2: 56:[40, 10, 6] Operation: 95-89=6
Exploring Operation: 89-40=49, Resulting Numbers: [95, 10, 49]
Generated Node #0,3: 56:[95, 10, 49] Operation: 89-40=49
Moving to Node #0,2
Current State: 56:[40, 10, 6], Operations: ['95-89=6']
Exploring Operation: 40/10=4, Resulting Numbers: [6, 4]
Generated Node #0,2,0: 56:[6, 4] Operation: 40/10=4
Exploring Operation: 40-6=34, Resulting Numbers: [10, 34]
Generated Node #0,2,1: 56:[10, 34] Operation: 40-6=34
Exploring Operation: 40+10=50, Resulting Numbers: [6, 50]
Generated Node #0,2,2: 56:[6, 50] Operation: 40+10=50
Exploring Operation: 40-10=30, Resulting Numbers: [6, 30]
Generated Node #0,2,3: 56:[6, 30] Operation: 40-10=30
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 56:[6, 4], Operations: ['95-89=6', '40/10=4']
Exploring Operation: 6+4=10, Resulting Numbers: [10]
10,56 unequal: No Solution
Exploring Operation: 6-4=2, Resulting Numbers: [2]
2,56 unequal: No Solution
Exploring Operation: 6*4=24, Resulting Numbers: [24]
24,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 56:[6, 30], Operations: ['95-89=6', '40-10=30']
Exploring Operation: 6+30=36, Resulting Numbers: [36]
36,56 unequal: No Solution
Exploring Operation: 30-6=24, Resulting Numbers: [24]
24,56 unequal: No Solution
Exploring Operation: 30/6=5, Resulting Numbers: [5]
5,56 unequal: No Solution
Exploring Operation: 6*30=180, Resulting Numbers: [180]
180,56 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 56:[6, 50], Operations: ['95-89=6', '40+10=50']
Exploring Operation: 6+50=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Moving to Node #0
Current State: 56:[89, 95, 40, 10], Operations: []
Exploring Operation: 95-89=6, Resulting Numbers: [40, 10, 6]
Generated Node #0,2: 56:[40, 10, 6] Operation: 95-89=6
Moving to Node #0,2
Current State: 56:[40, 10, 6], Operations: ['95-89=6']
Exploring Operation: 40+10=50, Resulting Numbers: [6, 50]
Generated Node #0,2,2: 56:[6, 50] Operation: 40+10=50
Moving to Node #0,2,2
Current State: 56:[6, 50], Operations: ['95-89=6', '40+10=50']
Exploring Operation: 6+50=56, Resulting Numbers: [56]
56,56 equal: Goal Reached
Exit Sub Search at level 1
| 0.982639 | hs_4 | mult_heuristic |
[
80,
1,
25,
93
] | 11 | [
"80-1=79",
"93-25=68",
"79-68=11"
] | Current State: 11:[80, 1, 25, 93], Operations: []
Exploring Operation: 80-1=79, Resulting Numbers: [25, 93, 79]
Generated Node #2: [25, 93, 79] from Operation: 80-1=79
Current State: 11:[25, 93, 79], Operations: ['80-1=79']
Exploring Operation: 93-25=68, Resulting Numbers: [79, 68]
Generated Node #3: [79, 68] from Operation: 93-25=68
Current State: 11:[79, 68], Operations: ['80-1=79', '93-25=68']
Exploring Operation: 79-68=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
| 4 | Current State: 11:[80, 1, 25, 93], Operations: []
Exploring Operation: 93-80=13, Resulting Numbers: [1, 25, 13]
Generated Node #0,0: 11:[1, 25, 13] Operation: 93-80=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 11:[1, 25, 13], Operations: ['93-80=13']
Exploring Operation: 25-13=12, Resulting Numbers: [1, 12]
Generated Node #0,0,0: 11:[1, 12] Operation: 25-13=12
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 11:[1, 12], Operations: ['93-80=13', '25-13=12']
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Moving to Node #0
Current State: 11:[80, 1, 25, 93], Operations: []
Exploring Operation: 93-80=13, Resulting Numbers: [1, 25, 13]
Generated Node #0,0: 11:[1, 25, 13] Operation: 93-80=13
Moving to Node #0,0
Current State: 11:[1, 25, 13], Operations: ['93-80=13']
Exploring Operation: 25-13=12, Resulting Numbers: [1, 12]
Generated Node #0,0,0: 11:[1, 12] Operation: 25-13=12
Moving to Node #0,0,0
Current State: 11:[1, 12], Operations: ['93-80=13', '25-13=12']
Exploring Operation: 12-1=11, Resulting Numbers: [11]
11,11 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
77,
16,
93,
96
] | 31 | [
"77+16=93",
"96-93=3",
"93/3=31"
] | Current State: 31:[77, 16, 93, 96], Operations: []
Exploring Operation: 77+16=93, Resulting Numbers: [93, 96, 93]
Generated Node #2: [93, 96, 93] from Operation: 77+16=93
Current State: 31:[93, 96, 93], Operations: ['77+16=93']
Exploring Operation: 96-93=3, Resulting Numbers: [3]
3,31 equal: Goal Reached
Exploring Operation: 93/3=31, Resulting Numbers: [31]
31,31 equal: Goal Reached
| 4 | Current State: 31:[77, 16, 93, 96], Operations: []
Exploring Operation: 96-77=19, Resulting Numbers: [16, 93, 19]
Generated Node #0,0: 31:[16, 93, 19] Operation: 96-77=19
Start Sub Search at level 1: Moving to Node #0,0
Current State: 31:[16, 93, 19], Operations: ['96-77=19']
Exploring Operation: 93-16=77, Resulting Numbers: [19, 77]
Generated Node #0,0,0: 31:[19, 77] Operation: 93-16=77
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 31:[19, 77], Operations: ['96-77=19', '93-16=77']
Exploring Operation: 77-19=58, Resulting Numbers: [58]
58,31 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 |
[
51,
61,
89,
15
] | 41 | [
"61+89=150",
"150/15=10",
"51-10=41"
] | Current State: 41:[51, 61, 89, 15], Operations: []
Exploring Operation: 61+89=150, Resulting Numbers: [51, 15, 150]
Generated Node #2: [51, 15, 150] from Operation: 61+89=150
Current State: 41:[51, 15, 150], Operations: ['61+89=150']
Exploring Operation: 150/15=10, Resulting Numbers: [51, 10]
Generated Node #3: [51, 10] from Operation: 150/15=10
Current State: 41:[51, 10], Operations: ['61+89=150', '150/15=10']
Exploring Operation: 51-10=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[51, 61, 89, 15], Operations: []
Exploring Operation: 89-61=28, Resulting Numbers: [51, 15, 28]
Generated Node #0,0: 41:[51, 15, 28] Operation: 89-61=28
Exploring Operation: 89-51=38, Resulting Numbers: [61, 15, 38]
Generated Node #0,1: 41:[61, 15, 38] Operation: 89-51=38
Moving to Node #0,0
Current State: 41:[51, 15, 28], Operations: ['89-61=28']
Exploring Operation: 15+28=43, Resulting Numbers: [51, 43]
Generated Node #0,0,0: 41:[51, 43] Operation: 15+28=43
Exploring Operation: 51-15=36, Resulting Numbers: [28, 36]
Generated Node #0,0,1: 41:[28, 36] Operation: 51-15=36
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 41:[51, 43], Operations: ['89-61=28', '15+28=43']
Exploring Operation: 51-43=8, Resulting Numbers: [8]
8,41 unequal: No Solution
Exploring Operation: 51+43=94, Resulting Numbers: [94]
94,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 41:[28, 36], Operations: ['89-61=28', '51-15=36']
Exploring Operation: 36-28=8, Resulting Numbers: [8]
8,41 unequal: No Solution
Exploring Operation: 28+36=64, Resulting Numbers: [64]
64,41 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: 41:[61, 15, 38], Operations: ['89-51=38']
Exploring Operation: 15+38=53, Resulting Numbers: [61, 53]
Generated Node #0,1,0: 41:[61, 53] Operation: 15+38=53
Exploring Operation: 61-15=46, Resulting Numbers: [38, 46]
Generated Node #0,1,1: 41:[38, 46] Operation: 61-15=46
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 41:[38, 46], Operations: ['89-51=38', '61-15=46']
Exploring Operation: 38+46=84, Resulting Numbers: [84]
84,41 unequal: No Solution
Exploring Operation: 46-38=8, Resulting Numbers: [8]
8,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 41:[61, 53], Operations: ['89-51=38', '15+38=53']
Exploring Operation: 61+53=114, Resulting Numbers: [114]
114,41 unequal: No Solution
Exploring Operation: 61-53=8, Resulting Numbers: [8]
8,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_2 | mult_heuristic |
[
7,
27,
14,
69
] | 75 | [
"27-7=20",
"69-14=55",
"20+55=75"
] | Current State: 75:[7, 27, 14, 69], Operations: []
Exploring Operation: 27-7=20, Resulting Numbers: [14, 69, 20]
Generated Node #2: [14, 69, 20] from Operation: 27-7=20
Current State: 75:[14, 69, 20], Operations: ['27-7=20']
Exploring Operation: 69-14=55, Resulting Numbers: [20, 55]
Generated Node #3: [20, 55] from Operation: 69-14=55
Current State: 75:[20, 55], Operations: ['27-7=20', '69-14=55']
Exploring Operation: 20+55=75, Resulting Numbers: [75]
75,75 equal: Goal Reached
| 4 | Current State: 75:[7, 27, 14, 69], Operations: []
Exploring Operation: 7+69=76, Resulting Numbers: [27, 14, 76]
Generated Node #0,0: 75:[27, 14, 76] Operation: 7+69=76
Start Sub Search at level 1: Moving to Node #0,0
Current State: 75:[27, 14, 76], Operations: ['7+69=76']
Exploring Operation: 27-14=13, Resulting Numbers: [76, 13]
Generated Node #0,0,0: 75:[76, 13] Operation: 27-14=13
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 75:[76, 13], Operations: ['7+69=76', '27-14=13']
Exploring Operation: 76-13=63, Resulting Numbers: [63]
63,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_1 | sum_heuristic |
[
72,
72,
20,
95
] | 74 | [
"72/72=1",
"95-20=75",
"75-1=74"
] | Current State: 74:[72, 72, 20, 95], Operations: []
Exploring Operation: 72/72=1, Resulting Numbers: [20, 95, 1]
Generated Node #2: [20, 95, 1] from Operation: 72/72=1
Current State: 74:[20, 95, 1], Operations: ['72/72=1']
Exploring Operation: 95-20=75, Resulting Numbers: [1, 75]
Generated Node #3: [1, 75] from Operation: 95-20=75
Current State: 74:[1, 75], Operations: ['72/72=1', '95-20=75']
Exploring Operation: 75-1=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
| 4 | Current State: 74:[72, 72, 20, 95], Operations: []
Exploring Operation: 95-20=75, Resulting Numbers: [72, 72, 75]
Generated Node #0,0: 74:[72, 72, 75] Operation: 95-20=75
Exploring Operation: 95-72=23, Resulting Numbers: [72, 20, 23]
Generated Node #0,1: 74:[72, 20, 23] Operation: 95-72=23
Moving to Node #0,0
Current State: 74:[72, 72, 75], Operations: ['95-20=75']
Exploring Operation: 72/72=1, Resulting Numbers: [75, 1]
Generated Node #0,0,0: 74:[75, 1] Operation: 72/72=1
Exploring Operation: 72-72=0, Resulting Numbers: [75, 0]
Generated Node #0,0,1: 74:[75, 0] Operation: 72-72=0
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 74:[75, 1], Operations: ['95-20=75', '72/72=1']
Exploring Operation: 75*1=75, Resulting Numbers: [75]
75,74 unequal: No Solution
Exploring Operation: 75-1=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Moving to Node #0
Current State: 74:[72, 72, 20, 95], Operations: []
Exploring Operation: 95-20=75, Resulting Numbers: [72, 72, 75]
Generated Node #0,0: 74:[72, 72, 75] Operation: 95-20=75
Moving to Node #0,0
Current State: 74:[72, 72, 75], Operations: ['95-20=75']
Exploring Operation: 72/72=1, Resulting Numbers: [75, 1]
Generated Node #0,0,0: 74:[75, 1] Operation: 72/72=1
Moving to Node #0,0,0
Current State: 74:[75, 1], Operations: ['95-20=75', '72/72=1']
Exploring Operation: 75-1=74, Resulting Numbers: [74]
74,74 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
94,
20,
4,
72
] | 46 | [
"94+20=114",
"72-4=68",
"114-68=46"
] | Current State: 46:[94, 20, 4, 72], Operations: []
Exploring Operation: 94+20=114, Resulting Numbers: [4, 72, 114]
Generated Node #2: [4, 72, 114] from Operation: 94+20=114
Current State: 46:[4, 72, 114], Operations: ['94+20=114']
Exploring Operation: 72-4=68, Resulting Numbers: [114, 68]
Generated Node #3: [114, 68] from Operation: 72-4=68
Current State: 46:[114, 68], Operations: ['94+20=114', '72-4=68']
Exploring Operation: 114-68=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[94, 20, 4, 72], Operations: []
Exploring Operation: 94-20=74, Resulting Numbers: [4, 72, 74]
Generated Node #0,0: 46:[4, 72, 74] Operation: 94-20=74
Exploring Operation: 94-72=22, Resulting Numbers: [20, 4, 22]
Generated Node #0,1: 46:[20, 4, 22] Operation: 94-72=22
Exploring Operation: 72-20=52, Resulting Numbers: [94, 4, 52]
Generated Node #0,2: 46:[94, 4, 52] Operation: 72-20=52
Exploring Operation: 72/4=18, Resulting Numbers: [94, 20, 18]
Generated Node #0,3: 46:[94, 20, 18] Operation: 72/4=18
Start Sub Search at level 1: Moving to Node #0,1
Current State: 46:[20, 4, 22], Operations: ['94-72=22']
Exploring Operation: 20/4=5, Resulting Numbers: [22, 5]
Generated Node #0,1,0: 46:[22, 5] Operation: 20/4=5
Exploring Operation: 22-20=2, Resulting Numbers: [4, 2]
Generated Node #0,1,1: 46:[4, 2] Operation: 22-20=2
Exploring Operation: 20+22=42, Resulting Numbers: [4, 42]
Generated Node #0,1,2: 46:[4, 42] Operation: 20+22=42
Exploring Operation: 20+4=24, Resulting Numbers: [22, 24]
Generated Node #0,1,3: 46:[22, 24] Operation: 20+4=24
Moving to Node #0,1,1
Current State: 46:[4, 2], Operations: ['94-72=22', '22-20=2']
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,46 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,46 unequal: No Solution
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,46 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,46 unequal: No Solution
Moving to Node #0,1,3
Current State: 46:[22, 24], Operations: ['94-72=22', '20+4=24']
Exploring Operation: 22*24=528, Resulting Numbers: [528]
528,46 unequal: No Solution
Exploring Operation: 24-22=2, Resulting Numbers: [2]
2,46 unequal: No Solution
Exploring Operation: 22+24=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[94, 20, 4, 72], Operations: []
Exploring Operation: 94-72=22, Resulting Numbers: [20, 4, 22]
Generated Node #0,1: 46:[20, 4, 22] Operation: 94-72=22
Moving to Node #0,1
Current State: 46:[20, 4, 22], Operations: ['94-72=22']
Exploring Operation: 20+4=24, Resulting Numbers: [22, 24]
Generated Node #0,1,3: 46:[22, 24] Operation: 20+4=24
Moving to Node #0,1,3
Current State: 46:[22, 24], Operations: ['94-72=22', '20+4=24']
Exploring Operation: 22+24=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Exit Sub Search at level 1
| 0.983507 | hs_4 | mult_heuristic |
[
16,
79,
46,
56
] | 32 | [
"16*46=736",
"79-56=23",
"736/23=32"
] | Current State: 32:[16, 79, 46, 56], Operations: []
Exploring Operation: 16*46=736, Resulting Numbers: [79, 56, 736]
Generated Node #2: [79, 56, 736] from Operation: 16*46=736
Current State: 32:[79, 56, 736], Operations: ['16*46=736']
Exploring Operation: 79-56=23, Resulting Numbers: [736, 23]
Generated Node #3: [736, 23] from Operation: 79-56=23
Current State: 32:[736, 23], Operations: ['16*46=736', '79-56=23']
Exploring Operation: 736/23=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 4 | Current State: 32:[16, 79, 46, 56], Operations: []
Exploring Operation: 79-56=23, Resulting Numbers: [16, 46, 23]
Generated Node #0,0: 32:[16, 46, 23] Operation: 79-56=23
Exploring Operation: 79-46=33, Resulting Numbers: [16, 56, 33]
Generated Node #0,1: 32:[16, 56, 33] Operation: 79-46=33
Moving to Node #0,0
Current State: 32:[16, 46, 23], Operations: ['79-56=23']
Exploring Operation: 46-23=23, Resulting Numbers: [16, 23]
Generated Node #0,0,0: 32:[16, 23] Operation: 46-23=23
Exploring Operation: 46/23=2, Resulting Numbers: [16, 2]
Generated Node #0,0,1: 32:[16, 2] Operation: 46/23=2
Moving to Node #0,1
Current State: 32:[16, 56, 33], Operations: ['79-46=33']
Exploring Operation: 56-33=23, Resulting Numbers: [16, 23]
Generated Node #0,1,0: 32:[16, 23] Operation: 56-33=23
Exploring Operation: 56-16=40, Resulting Numbers: [33, 40]
Generated Node #0,1,1: 32:[33, 40] Operation: 56-16=40
Moving to Node #0,0,1
Current State: 32:[16, 2], Operations: ['79-56=23', '46/23=2']
Exploring Operation: 16*2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
Moving to Node #0
Current State: 32:[16, 79, 46, 56], Operations: []
Exploring Operation: 79-56=23, Resulting Numbers: [16, 46, 23]
Generated Node #0,0: 32:[16, 46, 23] Operation: 79-56=23
Moving to Node #0,0
Current State: 32:[16, 46, 23], Operations: ['79-56=23']
Exploring Operation: 46/23=2, Resulting Numbers: [16, 2]
Generated Node #0,0,1: 32:[16, 2] Operation: 46/23=2
Moving to Node #0,0,1
Current State: 32:[16, 2], Operations: ['79-56=23', '46/23=2']
Exploring Operation: 16*2=32, Resulting Numbers: [32]
32,32 equal: Goal Reached
| 0.990451 | hs_2 | sum_heuristic |
[
7,
73,
24,
22
] | 27 | [
"73-7=66",
"66/22=3",
"24+3=27"
] | Current State: 27:[7, 73, 24, 22], Operations: []
Exploring Operation: 73-7=66, Resulting Numbers: [24, 22, 66]
Generated Node #2: [24, 22, 66] from Operation: 73-7=66
Current State: 27:[24, 22, 66], Operations: ['73-7=66']
Exploring Operation: 66/22=3, Resulting Numbers: [24, 3]
Generated Node #3: [24, 3] from Operation: 66/22=3
Current State: 27:[24, 3], Operations: ['73-7=66', '66/22=3']
Exploring Operation: 24+3=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
| 4 | Current State: 27:[7, 73, 24, 22], Operations: []
Exploring Operation: 73-24=49, Resulting Numbers: [7, 22, 49]
Generated Node #0,0: 27:[7, 22, 49] Operation: 73-24=49
Exploring Operation: 73-7=66, Resulting Numbers: [24, 22, 66]
Generated Node #0,1: 27:[24, 22, 66] Operation: 73-7=66
Exploring Operation: 7+22=29, Resulting Numbers: [73, 24, 29]
Generated Node #0,2: 27:[73, 24, 29] Operation: 7+22=29
Exploring Operation: 24-22=2, Resulting Numbers: [7, 73, 2]
Generated Node #0,3: 27:[7, 73, 2] Operation: 24-22=2
Exploring Operation: 73-22=51, Resulting Numbers: [7, 24, 51]
Generated Node #0,4: 27:[7, 24, 51] Operation: 73-22=51
Start Sub Search at level 1: Moving to Node #0,0
Current State: 27:[7, 22, 49], Operations: ['73-24=49']
Exploring Operation: 49-7=42, Resulting Numbers: [22, 42]
Generated Node #0,0,0: 27:[22, 42] Operation: 49-7=42
Exploring Operation: 49-22=27, Resulting Numbers: [7, 27]
Generated Node #0,0,1: 27:[7, 27] Operation: 49-22=27
Exploring Operation: 49/7=7, Resulting Numbers: [22, 7]
Generated Node #0,0,2: 27:[22, 7] Operation: 49/7=7
Exploring Operation: 7+22=29, Resulting Numbers: [49, 29]
Generated Node #0,0,3: 27:[49, 29] Operation: 7+22=29
Exploring Operation: 22-7=15, Resulting Numbers: [49, 15]
Generated Node #0,0,4: 27:[49, 15] Operation: 22-7=15
Moving to Node #0,0,1
Current State: 27:[7, 27], Operations: ['73-24=49', '49-22=27']
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Exploring Operation: 7+27=34, Resulting Numbers: [34]
34,27 unequal: No Solution
Exploring Operation: 7*27=189, Resulting Numbers: [189]
189,27 unequal: No Solution
Moving to Node #0,0,2
Current State: 27:[22, 7], Operations: ['73-24=49', '49/7=7']
Exploring Operation: 22+7=29, Resulting Numbers: [29]
29,27 unequal: No Solution
Exploring Operation: 22*7=154, Resulting Numbers: [154]
154,27 unequal: No Solution
Exploring Operation: 22-7=15, Resulting Numbers: [15]
15,27 unequal: No Solution
Moving to Node #0,0,0
Current State: 27:[22, 42], Operations: ['73-24=49', '49-7=42']
Exploring Operation: 42-22=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Exploring Operation: 22+42=64, Resulting Numbers: [64]
64,27 unequal: No Solution
Exploring Operation: 22*42=924, Resulting Numbers: [924]
924,27 unequal: No Solution
Moving to Node #0,0,3
Current State: 27:[49, 29], Operations: ['73-24=49', '7+22=29']
Exploring Operation: 49+29=78, Resulting Numbers: [78]
78,27 unequal: No Solution
Exploring Operation: 49*29=1421, Resulting Numbers: [1421]
1421,27 unequal: No Solution
Exploring Operation: 49-29=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Moving to Node #0,0,4
Current State: 27:[49, 15], Operations: ['73-24=49', '22-7=15']
Exploring Operation: 49*15=735, Resulting Numbers: [735]
735,27 unequal: No Solution
Exploring Operation: 49-15=34, Resulting Numbers: [34]
34,27 unequal: No Solution
Exploring Operation: 49+15=64, Resulting Numbers: [64]
64,27 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4
Current State: 27:[7, 24, 51], Operations: ['73-22=51']
Exploring Operation: 7+24=31, Resulting Numbers: [51, 31]
Generated Node #0,4,0: 27:[51, 31] Operation: 7+24=31
Exploring Operation: 51-7=44, Resulting Numbers: [24, 44]
Generated Node #0,4,1: 27:[24, 44] Operation: 51-7=44
Exploring Operation: 24-7=17, Resulting Numbers: [51, 17]
Generated Node #0,4,2: 27:[51, 17] Operation: 24-7=17
Exploring Operation: 51-24=27, Resulting Numbers: [7, 27]
Generated Node #0,4,3: 27:[7, 27] Operation: 51-24=27
Exploring Operation: 7+51=58, Resulting Numbers: [24, 58]
Generated Node #0,4,4: 27:[24, 58] Operation: 7+51=58
Start Sub Search at level 2: Moving to Node #0,4,3
Current State: 27:[7, 27], Operations: ['73-22=51', '51-24=27']
Exploring Operation: 7+27=34, Resulting Numbers: [34]
34,27 unequal: No Solution
Exploring Operation: 27-7=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Exploring Operation: 7*27=189, Resulting Numbers: [189]
189,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,4,1
Current State: 27:[24, 44], Operations: ['73-22=51', '51-7=44']
Exploring Operation: 44-24=20, Resulting Numbers: [20]
20,27 unequal: No Solution
Exploring Operation: 24+44=68, Resulting Numbers: [68]
68,27 unequal: No Solution
Exploring Operation: 24*44=1056, Resulting Numbers: [1056]
1056,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,4,0
Current State: 27:[51, 31], Operations: ['73-22=51', '7+24=31']
Exploring Operation: 51*31=1581, Resulting Numbers: [1581]
1581,27 unequal: No Solution
Exploring Operation: 51+31=82, Resulting Numbers: [82]
82,27 unequal: No Solution
Exploring Operation: 51-31=20, Resulting Numbers: [20]
20,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,4,2
Current State: 27:[51, 17], Operations: ['73-22=51', '24-7=17']
Exploring Operation: 51/17=3, Resulting Numbers: [3]
3,27 unequal: No Solution
Exploring Operation: 51*17=867, Resulting Numbers: [867]
867,27 unequal: No Solution
Exploring Operation: 51+17=68, Resulting Numbers: [68]
68,27 unequal: No Solution
Exploring Operation: 51-17=34, Resulting Numbers: [34]
34,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,4,4
Current State: 27:[24, 58], Operations: ['73-22=51', '7+51=58']
Exploring Operation: 24+58=82, Resulting Numbers: [82]
82,27 unequal: No Solution
Exploring Operation: 58-24=34, Resulting Numbers: [34]
34,27 unequal: No Solution
Exploring Operation: 24*58=1392, Resulting Numbers: [1392]
1392,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:[24, 22, 66], Operations: ['73-7=66']
Exploring Operation: 24-22=2, Resulting Numbers: [66, 2]
Generated Node #0,1,0: 27:[66, 2] Operation: 24-22=2
Exploring Operation: 66/22=3, Resulting Numbers: [24, 3]
Generated Node #0,1,1: 27:[24, 3] Operation: 66/22=3
Exploring Operation: 24+22=46, Resulting Numbers: [66, 46]
Generated Node #0,1,2: 27:[66, 46] Operation: 24+22=46
Exploring Operation: 66-22=44, Resulting Numbers: [24, 44]
Generated Node #0,1,3: 27:[24, 44] Operation: 66-22=44
Exploring Operation: 66-24=42, Resulting Numbers: [22, 42]
Generated Node #0,1,4: 27:[22, 42] Operation: 66-24=42
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 27:[24, 3], Operations: ['73-7=66', '66/22=3']
Exploring Operation: 24-3=21, Resulting Numbers: [21]
21,27 unequal: No Solution
Exploring Operation: 24/3=8, Resulting Numbers: [8]
8,27 unequal: No Solution
Exploring Operation: 24*3=72, Resulting Numbers: [72]
72,27 unequal: No Solution
Exploring Operation: 24+3=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Moving to Node #0
Current State: 27:[7, 73, 24, 22], Operations: []
Exploring Operation: 73-7=66, Resulting Numbers: [24, 22, 66]
Generated Node #0,1: 27:[24, 22, 66] Operation: 73-7=66
Moving to Node #0,1
Current State: 27:[24, 22, 66], Operations: ['73-7=66']
Exploring Operation: 66/22=3, Resulting Numbers: [24, 3]
Generated Node #0,1,1: 27:[24, 3] Operation: 66/22=3
Moving to Node #0,1,1
Current State: 27:[24, 3], Operations: ['73-7=66', '66/22=3']
Exploring Operation: 24+3=27, Resulting Numbers: [27]
27,27 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.948785 | hs_5 | mult_heuristic |
[
36,
90,
27,
18
] | 65 | [
"36/18=2",
"90-27=63",
"2+63=65"
] | Current State: 65:[36, 90, 27, 18], Operations: []
Exploring Operation: 36/18=2, Resulting Numbers: [90, 27, 2]
Generated Node #2: [90, 27, 2] from Operation: 36/18=2
Current State: 65:[90, 27, 2], Operations: ['36/18=2']
Exploring Operation: 90-27=63, Resulting Numbers: [2, 63]
Generated Node #3: [2, 63] from Operation: 90-27=63
Current State: 65:[2, 63], Operations: ['36/18=2', '90-27=63']
Exploring Operation: 2+63=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
| 4 | Current State: 65:[36, 90, 27, 18], Operations: []
Exploring Operation: 90-27=63, Resulting Numbers: [36, 18, 63]
Generated Node #0,0: 65:[36, 18, 63] Operation: 90-27=63
Exploring Operation: 36+27=63, Resulting Numbers: [90, 18, 63]
Generated Node #0,1: 65:[90, 18, 63] Operation: 36+27=63
Exploring Operation: 90-36=54, Resulting Numbers: [27, 18, 54]
Generated Node #0,2: 65:[27, 18, 54] Operation: 90-36=54
Moving to Node #0,0
Current State: 65:[36, 18, 63], Operations: ['90-27=63']
Exploring Operation: 36/18=2, Resulting Numbers: [63, 2]
Generated Node #0,0,0: 65:[63, 2] Operation: 36/18=2
Exploring Operation: 36-18=18, Resulting Numbers: [63, 18]
Generated Node #0,0,1: 65:[63, 18] Operation: 36-18=18
Exploring Operation: 36+18=54, Resulting Numbers: [63, 54]
Generated Node #0,0,2: 65:[63, 54] Operation: 36+18=54
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 65:[63, 2], Operations: ['90-27=63', '36/18=2']
Exploring Operation: 63*2=126, Resulting Numbers: [126]
126,65 unequal: No Solution
Exploring Operation: 63+2=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Moving to Node #0
Current State: 65:[36, 90, 27, 18], Operations: []
Exploring Operation: 90-27=63, Resulting Numbers: [36, 18, 63]
Generated Node #0,0: 65:[36, 18, 63] Operation: 90-27=63
Moving to Node #0,0
Current State: 65:[36, 18, 63], Operations: ['90-27=63']
Exploring Operation: 36/18=2, Resulting Numbers: [63, 2]
Generated Node #0,0,0: 65:[63, 2] Operation: 36/18=2
Moving to Node #0,0,0
Current State: 65:[63, 2], Operations: ['90-27=63', '36/18=2']
Exploring Operation: 63+2=65, Resulting Numbers: [65]
65,65 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
43,
28,
5,
6
] | 86 | [
"5*6=30",
"30-28=2",
"43*2=86"
] | Current State: 86:[43, 28, 5, 6], Operations: []
Exploring Operation: 5*6=30, Resulting Numbers: [43, 28, 30]
Generated Node #2: [43, 28, 30] from Operation: 5*6=30
Current State: 86:[43, 28, 30], Operations: ['5*6=30']
Exploring Operation: 30-28=2, Resulting Numbers: [43, 2]
Generated Node #3: [43, 2] from Operation: 30-28=2
Current State: 86:[43, 2], Operations: ['5*6=30', '30-28=2']
Exploring Operation: 43*2=86, Resulting Numbers: [86]
86,86 equal: Goal Reached
| 4 | Current State: 86:[43, 28, 5, 6], Operations: []
Exploring Operation: 6-5=1, Resulting Numbers: [43, 28, 1]
Generated Node #0,0: 86:[43, 28, 1] Operation: 6-5=1
Exploring Operation: 28+5=33, Resulting Numbers: [43, 6, 33]
Generated Node #0,1: 86:[43, 6, 33] Operation: 28+5=33
Exploring Operation: 28+6=34, Resulting Numbers: [43, 5, 34]
Generated Node #0,2: 86:[43, 5, 34] Operation: 28+6=34
Moving to Node #0,2
Current State: 86:[43, 5, 34], Operations: ['28+6=34']
Exploring Operation: 43-34=9, Resulting Numbers: [5, 9]
Generated Node #0,2,0: 86:[5, 9] Operation: 43-34=9
Exploring Operation: 43+34=77, Resulting Numbers: [5, 77]
Generated Node #0,2,1: 86:[5, 77] Operation: 43+34=77
Exploring Operation: 5+34=39, Resulting Numbers: [43, 39]
Generated Node #0,2,2: 86:[43, 39] Operation: 5+34=39
Moving to Node #0,1
Current State: 86:[43, 6, 33], Operations: ['28+5=33']
Exploring Operation: 43-33=10, Resulting Numbers: [6, 10]
Generated Node #0,1,0: 86:[6, 10] Operation: 43-33=10
Exploring Operation: 6+33=39, Resulting Numbers: [43, 39]
Generated Node #0,1,1: 86:[43, 39] Operation: 6+33=39
Exploring Operation: 43+33=76, Resulting Numbers: [6, 76]
Generated Node #0,1,2: 86:[6, 76] Operation: 43+33=76
Moving to Node #0,0
Current State: 86:[43, 28, 1], Operations: ['6-5=1']
Exploring Operation: 43-28=15, Resulting Numbers: [1, 15]
Generated Node #0,0,0: 86:[1, 15] Operation: 43-28=15
Exploring Operation: 43*1=43, Resulting Numbers: [28, 43]
Generated Node #0,0,1: 86:[28, 43] Operation: 43*1=43
Exploring Operation: 28+1=29, Resulting Numbers: [43, 29]
Generated Node #0,0,2: 86:[43, 29] Operation: 28+1=29
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 86:[1, 15], Operations: ['6-5=1', '43-28=15']
Exploring Operation: 15/1=15, Resulting Numbers: [15]
15,86 unequal: No Solution
Exploring Operation: 1*15=15, Resulting Numbers: [15]
15,86 unequal: No Solution
Exploring Operation: 15-1=14, Resulting Numbers: [14]
14,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,0,2
Current State: 86:[43, 29], Operations: ['6-5=1', '28+1=29']
Exploring Operation: 43+29=72, Resulting Numbers: [72]
72,86 unequal: No Solution
Exploring Operation: 43-29=14, Resulting Numbers: [14]
14,86 unequal: No Solution
Exploring Operation: 43*29=1247, Resulting Numbers: [1247]
1247,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,0,1
Current State: 86:[28, 43], Operations: ['6-5=1', '43*1=43']
Exploring Operation: 43-28=15, Resulting Numbers: [15]
15,86 unequal: No Solution
Exploring Operation: 28*43=1204, Resulting Numbers: [1204]
1204,86 unequal: No Solution
Exploring Operation: 28+43=71, Resulting Numbers: [71]
71,86 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: 86:[43, 39], Operations: ['28+6=34', '5+34=39']
Exploring Operation: 43*39=1677, Resulting Numbers: [1677]
1677,86 unequal: No Solution
Exploring Operation: 43+39=82, Resulting Numbers: [82]
82,86 unequal: No Solution
Exploring Operation: 43-39=4, Resulting Numbers: [4]
4,86 unequal: No Solution
Moving to Node #0,1,1
Current State: 86:[43, 39], Operations: ['28+5=33', '6+33=39']
Exploring Operation: 43*39=1677, Resulting Numbers: [1677]
1677,86 unequal: No Solution
Exploring Operation: 43+39=82, Resulting Numbers: [82]
82,86 unequal: No Solution
Exploring Operation: 43-39=4, Resulting Numbers: [4]
4,86 unequal: No Solution
Moving to Node #0,2,0
Current State: 86:[5, 9], Operations: ['28+6=34', '43-34=9']
Exploring Operation: 5*9=45, Resulting Numbers: [45]
45,86 unequal: No Solution
Exploring Operation: 9-5=4, Resulting Numbers: [4]
4,86 unequal: No Solution
Exploring Operation: 5+9=14, Resulting Numbers: [14]
14,86 unequal: No Solution
Moving to Node #0,2,1
Current State: 86:[5, 77], Operations: ['28+6=34', '43+34=77']
Exploring Operation: 5*77=385, Resulting Numbers: [385]
385,86 unequal: No Solution
Exploring Operation: 5+77=82, Resulting Numbers: [82]
82,86 unequal: No Solution
Exploring Operation: 77-5=72, Resulting Numbers: [72]
72,86 unequal: No Solution
Moving to Node #0,1,0
Current State: 86:[6, 10], Operations: ['28+5=33', '43-33=10']
Exploring Operation: 6*10=60, Resulting Numbers: [60]
60,86 unequal: No Solution
Exploring Operation: 10-6=4, Resulting Numbers: [4]
4,86 unequal: No Solution
Exploring Operation: 6+10=16, Resulting Numbers: [16]
16,86 unequal: No Solution
Moving to Node #0,1,2
Current State: 86:[6, 76], Operations: ['28+5=33', '43+33=76']
Exploring Operation: 6*76=456, Resulting Numbers: [456]
456,86 unequal: No Solution
Exploring Operation: 6+76=82, Resulting Numbers: [82]
82,86 unequal: No Solution
Exploring Operation: 76-6=70, Resulting Numbers: [70]
70,86 unequal: No Solution
No solution found.
| 0 | hs_3 | mult_heuristic |
[
28,
18,
3,
91
] | 47 | [
"28+18=46",
"3*46=138",
"138-91=47"
] | Current State: 47:[28, 18, 3, 91], Operations: []
Exploring Operation: 28+18=46, Resulting Numbers: [3, 91, 46]
Generated Node #2: [3, 91, 46] from Operation: 28+18=46
Current State: 47:[3, 91, 46], Operations: ['28+18=46']
Exploring Operation: 3*46=138, Resulting Numbers: [91, 138]
Generated Node #3: [91, 138] from Operation: 3*46=138
Current State: 47:[91, 138], Operations: ['28+18=46', '3*46=138']
Exploring Operation: 138-91=47, Resulting Numbers: [47]
47,47 equal: Goal Reached
| 4 | Current State: 47:[28, 18, 3, 91], Operations: []
Exploring Operation: 18*3=54, Resulting Numbers: [28, 91, 54]
Generated Node #0,0: 47:[28, 91, 54] Operation: 18*3=54
Start Sub Search at level 1: Moving to Node #0,0
Current State: 47:[28, 91, 54], Operations: ['18*3=54']
Exploring Operation: 91-28=63, Resulting Numbers: [54, 63]
Generated Node #0,0,0: 47:[54, 63] Operation: 91-28=63
Moving to Node #0,0,0
Current State: 47:[54, 63], Operations: ['18*3=54', '91-28=63']
Exploring Operation: 63-54=9, Resulting Numbers: [9]
9,47 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 |
[
31,
56,
97,
23
] | 33 | [
"31+56=87",
"97+23=120",
"120-87=33"
] | Current State: 33:[31, 56, 97, 23], Operations: []
Exploring Operation: 31+56=87, Resulting Numbers: [97, 23, 87]
Generated Node #2: [97, 23, 87] from Operation: 31+56=87
Current State: 33:[97, 23, 87], Operations: ['31+56=87']
Exploring Operation: 97+23=120, Resulting Numbers: [87, 120]
Generated Node #3: [87, 120] from Operation: 97+23=120
Current State: 33:[87, 120], Operations: ['31+56=87', '97+23=120']
Exploring Operation: 120-87=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[31, 56, 97, 23], Operations: []
Exploring Operation: 56-23=33, Resulting Numbers: [31, 97, 33]
Generated Node #0,0: 33:[31, 97, 33] Operation: 56-23=33
Exploring Operation: 97-31=66, Resulting Numbers: [56, 23, 66]
Generated Node #0,1: 33:[56, 23, 66] Operation: 97-31=66
Exploring Operation: 97-56=41, Resulting Numbers: [31, 23, 41]
Generated Node #0,2: 33:[31, 23, 41] Operation: 97-56=41
Start Sub Search at level 1: Moving to Node #0,2
Current State: 33:[31, 23, 41], Operations: ['97-56=41']
Exploring Operation: 41-31=10, Resulting Numbers: [23, 10]
Generated Node #0,2,0: 33:[23, 10] Operation: 41-31=10
Exploring Operation: 31-23=8, Resulting Numbers: [41, 8]
Generated Node #0,2,1: 33:[41, 8] Operation: 31-23=8
Exploring Operation: 41-23=18, Resulting Numbers: [31, 18]
Generated Node #0,2,2: 33:[31, 18] Operation: 41-23=18
Moving to Node #0,2,2
Current State: 33:[31, 18], Operations: ['97-56=41', '41-23=18']
Exploring Operation: 31*18=558, Resulting Numbers: [558]
558,33 unequal: No Solution
Exploring Operation: 31-18=13, Resulting Numbers: [13]
13,33 unequal: No Solution
Exploring Operation: 31+18=49, Resulting Numbers: [49]
49,33 unequal: No Solution
Moving to Node #0,2,0
Current State: 33:[23, 10], Operations: ['97-56=41', '41-31=10']
Exploring Operation: 23*10=230, Resulting Numbers: [230]
230,33 unequal: No Solution
Exploring Operation: 23+10=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[31, 56, 97, 23], Operations: []
Exploring Operation: 97-56=41, Resulting Numbers: [31, 23, 41]
Generated Node #0,2: 33:[31, 23, 41] Operation: 97-56=41
Moving to Node #0,2
Current State: 33:[31, 23, 41], Operations: ['97-56=41']
Exploring Operation: 41-31=10, Resulting Numbers: [23, 10]
Generated Node #0,2,0: 33:[23, 10] Operation: 41-31=10
Moving to Node #0,2,0
Current State: 33:[23, 10], Operations: ['97-56=41', '41-31=10']
Exploring Operation: 23+10=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | mult_heuristic |
[
93,
14,
51,
38
] | 89 | [
"51-38=13",
"14*13=182",
"182-93=89"
] | Current State: 89:[93, 14, 51, 38], Operations: []
Exploring Operation: 51-38=13, Resulting Numbers: [93, 14, 13]
Generated Node #2: [93, 14, 13] from Operation: 51-38=13
Current State: 89:[93, 14, 13], Operations: ['51-38=13']
Exploring Operation: 14*13=182, Resulting Numbers: [93, 182]
Generated Node #3: [93, 182] from Operation: 14*13=182
Current State: 89:[93, 182], Operations: ['51-38=13', '14*13=182']
Exploring Operation: 182-93=89, Resulting Numbers: [89]
89,89 equal: Goal Reached
| 4 | Current State: 89:[93, 14, 51, 38], Operations: []
Exploring Operation: 14+51=65, Resulting Numbers: [93, 38, 65]
Generated Node #0,0: 89:[93, 38, 65] Operation: 14+51=65
Moving to Node #0,0
Current State: 89:[93, 38, 65], Operations: ['14+51=65']
Exploring Operation: 38+65=103, Resulting Numbers: [93, 103]
Generated Node #0,0,0: 89:[93, 103] Operation: 38+65=103
Moving to Node #0,0,0
Current State: 89:[93, 103], Operations: ['14+51=65', '38+65=103']
Exploring Operation: 103-93=10, Resulting Numbers: [10]
10,89 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
34,
75,
88,
95
] | 48 | [
"75-34=41",
"95-88=7",
"41+7=48"
] | Current State: 48:[34, 75, 88, 95], Operations: []
Exploring Operation: 75-34=41, Resulting Numbers: [88, 95, 41]
Generated Node #2: [88, 95, 41] from Operation: 75-34=41
Current State: 48:[88, 95, 41], Operations: ['75-34=41']
Exploring Operation: 95-88=7, Resulting Numbers: [41, 7]
Generated Node #3: [41, 7] from Operation: 95-88=7
Current State: 48:[41, 7], Operations: ['75-34=41', '95-88=7']
Exploring Operation: 41+7=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
| 4 | Current State: 48:[34, 75, 88, 95], Operations: []
Exploring Operation: 95-75=20, Resulting Numbers: [34, 88, 20]
Generated Node #0,0: 48:[34, 88, 20] Operation: 95-75=20
Exploring Operation: 95-88=7, Resulting Numbers: [34, 75, 7]
Generated Node #0,1: 48:[34, 75, 7] Operation: 95-88=7
Moving to Node #0,1
Current State: 48:[34, 75, 7], Operations: ['95-88=7']
Exploring Operation: 75-34=41, Resulting Numbers: [7, 41]
Generated Node #0,1,0: 48:[7, 41] Operation: 75-34=41
Exploring Operation: 34-7=27, Resulting Numbers: [75, 27]
Generated Node #0,1,1: 48:[75, 27] Operation: 34-7=27
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 48:[7, 41], Operations: ['95-88=7', '75-34=41']
Exploring Operation: 7+41=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Moving to Node #0
Current State: 48:[34, 75, 88, 95], Operations: []
Exploring Operation: 95-88=7, Resulting Numbers: [34, 75, 7]
Generated Node #0,1: 48:[34, 75, 7] Operation: 95-88=7
Moving to Node #0,1
Current State: 48:[34, 75, 7], Operations: ['95-88=7']
Exploring Operation: 75-34=41, Resulting Numbers: [7, 41]
Generated Node #0,1,0: 48:[7, 41] Operation: 75-34=41
Moving to Node #0,1,0
Current State: 48:[7, 41], Operations: ['95-88=7', '75-34=41']
Exploring Operation: 7+41=48, Resulting Numbers: [48]
48,48 equal: Goal Reached
Exit Sub Search at level 1
| 0.992188 | hs_2 | mult_heuristic |
[
28,
37,
14,
95
] | 72 | [
"37-28=9",
"95-14=81",
"81-9=72"
] | Current State: 72:[28, 37, 14, 95], Operations: []
Exploring Operation: 37-28=9, Resulting Numbers: [14, 95, 9]
Generated Node #2: [14, 95, 9] from Operation: 37-28=9
Current State: 72:[14, 95, 9], Operations: ['37-28=9']
Exploring Operation: 95-14=81, Resulting Numbers: [9, 81]
Generated Node #3: [9, 81] from Operation: 95-14=81
Current State: 72:[9, 81], Operations: ['37-28=9', '95-14=81']
Exploring Operation: 81-9=72, Resulting Numbers: [72]
72,72 equal: Goal Reached
| 4 | Current State: 72:[28, 37, 14, 95], Operations: []
Exploring Operation: 95-28=67, Resulting Numbers: [37, 14, 67]
Generated Node #0,0: 72:[37, 14, 67] Operation: 95-28=67
Moving to Node #0,0
Current State: 72:[37, 14, 67], Operations: ['95-28=67']
Exploring Operation: 37-14=23, Resulting Numbers: [67, 23]
Generated Node #0,0,0: 72:[67, 23] Operation: 37-14=23
Moving to Node #0,0,0
Current State: 72:[67, 23], Operations: ['95-28=67', '37-14=23']
Exploring Operation: 67-23=44, Resulting Numbers: [44]
44,72 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
36,
14,
78,
16
] | 84 | [
"36-14=22",
"78-16=62",
"22+62=84"
] | Current State: 84:[36, 14, 78, 16], Operations: []
Exploring Operation: 36-14=22, Resulting Numbers: [78, 16, 22]
Generated Node #2: [78, 16, 22] from Operation: 36-14=22
Current State: 84:[78, 16, 22], Operations: ['36-14=22']
Exploring Operation: 78-16=62, Resulting Numbers: [22, 62]
Generated Node #3: [22, 62] from Operation: 78-16=62
Current State: 84:[22, 62], Operations: ['36-14=22', '78-16=62']
Exploring Operation: 22+62=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
| 4 | Current State: 84:[36, 14, 78, 16], Operations: []
Exploring Operation: 78-36=42, Resulting Numbers: [14, 16, 42]
Generated Node #0,0: 84:[14, 16, 42] Operation: 78-36=42
Exploring Operation: 36-16=20, Resulting Numbers: [14, 78, 20]
Generated Node #0,1: 84:[14, 78, 20] Operation: 36-16=20
Exploring Operation: 36-14=22, Resulting Numbers: [78, 16, 22]
Generated Node #0,2: 84:[78, 16, 22] Operation: 36-14=22
Moving to Node #0,0
Current State: 84:[14, 16, 42], Operations: ['78-36=42']
Exploring Operation: 16-14=2, Resulting Numbers: [42, 2]
Generated Node #0,0,0: 84:[42, 2] Operation: 16-14=2
Exploring Operation: 42-14=28, Resulting Numbers: [16, 28]
Generated Node #0,0,1: 84:[16, 28] Operation: 42-14=28
Exploring Operation: 14+16=30, Resulting Numbers: [42, 30]
Generated Node #0,0,2: 84:[42, 30] Operation: 14+16=30
Moving to Node #0,1
Current State: 84:[14, 78, 20], Operations: ['36-16=20']
Exploring Operation: 14+78=92, Resulting Numbers: [20, 92]
Generated Node #0,1,0: 84:[20, 92] Operation: 14+78=92
Exploring Operation: 20-14=6, Resulting Numbers: [78, 6]
Generated Node #0,1,1: 84:[78, 6] Operation: 20-14=6
Exploring Operation: 14+20=34, Resulting Numbers: [78, 34]
Generated Node #0,1,2: 84:[78, 34] Operation: 14+20=34
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 84:[78, 6], Operations: ['36-16=20', '20-14=6']
Exploring Operation: 78/6=13, Resulting Numbers: [13]
13,84 unequal: No Solution
Exploring Operation: 78+6=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Moving to Node #0
Current State: 84:[36, 14, 78, 16], Operations: []
Exploring Operation: 36-16=20, Resulting Numbers: [14, 78, 20]
Generated Node #0,1: 84:[14, 78, 20] Operation: 36-16=20
Moving to Node #0,1
Current State: 84:[14, 78, 20], Operations: ['36-16=20']
Exploring Operation: 20-14=6, Resulting Numbers: [78, 6]
Generated Node #0,1,1: 84:[78, 6] Operation: 20-14=6
Moving to Node #0,1,1
Current State: 84:[78, 6], Operations: ['36-16=20', '20-14=6']
Exploring Operation: 78+6=84, Resulting Numbers: [84]
84,84 equal: Goal Reached
Exit Sub Search at level 1
| 0.986979 | hs_3 | sum_heuristic |
[
45,
12,
29,
10
] | 25 | [
"45*12=540",
"540/10=54",
"54-29=25"
] | Current State: 25:[45, 12, 29, 10], Operations: []
Exploring Operation: 45*12=540, Resulting Numbers: [29, 10, 540]
Generated Node #2: [29, 10, 540] from Operation: 45*12=540
Current State: 25:[29, 10, 540], Operations: ['45*12=540']
Exploring Operation: 540/10=54, Resulting Numbers: [29, 54]
Generated Node #3: [29, 54] from Operation: 540/10=54
Current State: 25:[29, 54], Operations: ['45*12=540', '540/10=54']
Exploring Operation: 54-29=25, Resulting Numbers: [25]
25,25 equal: Goal Reached
| 4 | Current State: 25:[45, 12, 29, 10], Operations: []
Exploring Operation: 45-10=35, Resulting Numbers: [12, 29, 35]
Generated Node #0,0: 25:[12, 29, 35] Operation: 45-10=35
Exploring Operation: 45-12=33, Resulting Numbers: [29, 10, 33]
Generated Node #0,1: 25:[29, 10, 33] Operation: 45-12=33
Exploring Operation: 45-29=16, Resulting Numbers: [12, 10, 16]
Generated Node #0,2: 25:[12, 10, 16] Operation: 45-29=16
Moving to Node #0,1
Current State: 25:[29, 10, 33], Operations: ['45-12=33']
Exploring Operation: 33-29=4, Resulting Numbers: [10, 4]
Generated Node #0,1,0: 25:[10, 4] Operation: 33-29=4
Exploring Operation: 29-10=19, Resulting Numbers: [33, 19]
Generated Node #0,1,1: 25:[33, 19] Operation: 29-10=19
Exploring Operation: 33-10=23, Resulting Numbers: [29, 23]
Generated Node #0,1,2: 25:[29, 23] Operation: 33-10=23
Moving to Node #0,0
Current State: 25:[12, 29, 35], Operations: ['45-10=35']
Exploring Operation: 35-12=23, Resulting Numbers: [29, 23]
Generated Node #0,0,0: 25:[29, 23] Operation: 35-12=23
Exploring Operation: 29-12=17, Resulting Numbers: [35, 17]
Generated Node #0,0,1: 25:[35, 17] Operation: 29-12=17
Exploring Operation: 35-29=6, Resulting Numbers: [12, 6]
Generated Node #0,0,2: 25:[12, 6] Operation: 35-29=6
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 25:[29, 23], Operations: ['45-10=35', '35-12=23']
Exploring Operation: 29*23=667, Resulting Numbers: [667]
667,25 unequal: No Solution
Exploring Operation: 29+23=52, Resulting Numbers: [52]
52,25 unequal: No Solution
Exploring Operation: 29-23=6, Resulting Numbers: [6]
6,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 25:[12, 6], Operations: ['45-10=35', '35-29=6']
Exploring Operation: 12/6=2, Resulting Numbers: [2]
2,25 unequal: No Solution
Exploring Operation: 12-6=6, Resulting Numbers: [6]
6,25 unequal: No Solution
Exploring Operation: 12+6=18, Resulting Numbers: [18]
18,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 25:[35, 17], Operations: ['45-10=35', '29-12=17']
Exploring Operation: 35+17=52, Resulting Numbers: [52]
52,25 unequal: No Solution
Exploring Operation: 35*17=595, Resulting Numbers: [595]
595,25 unequal: No Solution
Exploring Operation: 35-17=18, Resulting Numbers: [18]
18,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,2
Current State: 25:[12, 10, 16], Operations: ['45-29=16']
Exploring Operation: 16-12=4, Resulting Numbers: [10, 4]
Generated Node #0,2,0: 25:[10, 4] Operation: 16-12=4
Exploring Operation: 12+16=28, Resulting Numbers: [10, 28]
Generated Node #0,2,1: 25:[10, 28] Operation: 12+16=28
Exploring Operation: 10+16=26, Resulting Numbers: [12, 26]
Generated Node #0,2,2: 25:[12, 26] Operation: 10+16=26
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 25:[10, 4], Operations: ['45-29=16', '16-12=4']
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,25 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 25:[10, 28], Operations: ['45-29=16', '12+16=28']
Exploring Operation: 10*28=280, Resulting Numbers: [280]
280,25 unequal: No Solution
Exploring Operation: 28-10=18, Resulting Numbers: [18]
18,25 unequal: No Solution
Exploring Operation: 10+28=38, Resulting Numbers: [38]
38,25 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 25:[12, 26], Operations: ['45-29=16', '10+16=26']
Exploring Operation: 26-12=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Exploring Operation: 12+26=38, Resulting Numbers: [38]
38,25 unequal: No Solution
Exploring Operation: 12*26=312, Resulting Numbers: [312]
312,25 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: 25:[10, 4], Operations: ['45-12=33', '33-29=4']
Exploring Operation: 10+4=14, Resulting Numbers: [14]
14,25 unequal: No Solution
Exploring Operation: 10-4=6, Resulting Numbers: [6]
6,25 unequal: No Solution
Exploring Operation: 10*4=40, Resulting Numbers: [40]
40,25 unequal: No Solution
Moving to Node #0,1,2
Current State: 25:[29, 23], Operations: ['45-12=33', '33-10=23']
Exploring Operation: 29+23=52, Resulting Numbers: [52]
52,25 unequal: No Solution
Exploring Operation: 29*23=667, Resulting Numbers: [667]
667,25 unequal: No Solution
Exploring Operation: 29-23=6, Resulting Numbers: [6]
6,25 unequal: No Solution
Moving to Node #0,1,1
Current State: 25:[33, 19], Operations: ['45-12=33', '29-10=19']
Exploring Operation: 33+19=52, Resulting Numbers: [52]
52,25 unequal: No Solution
Exploring Operation: 33*19=627, Resulting Numbers: [627]
627,25 unequal: No Solution
Exploring Operation: 33-19=14, Resulting Numbers: [14]
14,25 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
18,
57,
63,
38
] | 41 | [
"63-57=6",
"18/6=3",
"38+3=41"
] | Current State: 41:[18, 57, 63, 38], Operations: []
Exploring Operation: 63-57=6, Resulting Numbers: [18, 38, 6]
Generated Node #2: [18, 38, 6] from Operation: 63-57=6
Current State: 41:[18, 38, 6], Operations: ['63-57=6']
Exploring Operation: 18/6=3, Resulting Numbers: [38, 3]
Generated Node #3: [38, 3] from Operation: 18/6=3
Current State: 41:[38, 3], Operations: ['63-57=6', '18/6=3']
Exploring Operation: 38+3=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[18, 57, 63, 38], Operations: []
Exploring Operation: 57-18=39, Resulting Numbers: [63, 38, 39]
Generated Node #0,0: 41:[63, 38, 39] Operation: 57-18=39
Exploring Operation: 18+38=56, Resulting Numbers: [57, 63, 56]
Generated Node #0,1: 41:[57, 63, 56] Operation: 18+38=56
Exploring Operation: 63-18=45, Resulting Numbers: [57, 38, 45]
Generated Node #0,2: 41:[57, 38, 45] Operation: 63-18=45
Moving to Node #0,2
Current State: 41:[57, 38, 45], Operations: ['63-18=45']
Exploring Operation: 45-38=7, Resulting Numbers: [57, 7]
Generated Node #0,2,0: 41:[57, 7] Operation: 45-38=7
Exploring Operation: 57-38=19, Resulting Numbers: [45, 19]
Generated Node #0,2,1: 41:[45, 19] Operation: 57-38=19
Exploring Operation: 57-45=12, Resulting Numbers: [38, 12]
Generated Node #0,2,2: 41:[38, 12] Operation: 57-45=12
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 41:[45, 19], Operations: ['63-18=45', '57-38=19']
Exploring Operation: 45*19=855, Resulting Numbers: [855]
855,41 unequal: No Solution
Exploring Operation: 45+19=64, Resulting Numbers: [64]
64,41 unequal: No Solution
Exploring Operation: 45-19=26, Resulting Numbers: [26]
26,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 41:[38, 12], Operations: ['63-18=45', '57-45=12']
Exploring Operation: 38+12=50, Resulting Numbers: [50]
50,41 unequal: No Solution
Exploring Operation: 38*12=456, Resulting Numbers: [456]
456,41 unequal: No Solution
Exploring Operation: 38-12=26, Resulting Numbers: [26]
26,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 41:[57, 7], Operations: ['63-18=45', '45-38=7']
Exploring Operation: 57-7=50, Resulting Numbers: [50]
50,41 unequal: No Solution
Exploring Operation: 57*7=399, Resulting Numbers: [399]
399,41 unequal: No Solution
Exploring Operation: 57+7=64, Resulting Numbers: [64]
64,41 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,0
Current State: 41:[63, 38, 39], Operations: ['57-18=39']
Exploring Operation: 63-38=25, Resulting Numbers: [39, 25]
Generated Node #0,0,0: 41:[39, 25] Operation: 63-38=25
Exploring Operation: 38+39=77, Resulting Numbers: [63, 77]
Generated Node #0,0,1: 41:[63, 77] Operation: 38+39=77
Exploring Operation: 63-39=24, Resulting Numbers: [38, 24]
Generated Node #0,0,2: 41:[38, 24] Operation: 63-39=24
Moving to Node #0,1
Current State: 41:[57, 63, 56], Operations: ['18+38=56']
Exploring Operation: 63-56=7, Resulting Numbers: [57, 7]
Generated Node #0,1,0: 41:[57, 7] Operation: 63-56=7
Exploring Operation: 63-57=6, Resulting Numbers: [56, 6]
Generated Node #0,1,1: 41:[56, 6] Operation: 63-57=6
Exploring Operation: 57-56=1, Resulting Numbers: [63, 1]
Generated Node #0,1,2: 41:[63, 1] Operation: 57-56=1
Moving to Node #0,0,0
Current State: 41:[39, 25], Operations: ['57-18=39', '63-38=25']
Exploring Operation: 39*25=975, Resulting Numbers: [975]
975,41 unequal: No Solution
Exploring Operation: 39-25=14, Resulting Numbers: [14]
14,41 unequal: No Solution
Exploring Operation: 39+25=64, Resulting Numbers: [64]
64,41 unequal: No Solution
Moving to Node #0,0,2
Current State: 41:[38, 24], Operations: ['57-18=39', '63-39=24']
Exploring Operation: 38-24=14, Resulting Numbers: [14]
14,41 unequal: No Solution
Exploring Operation: 38*24=912, Resulting Numbers: [912]
912,41 unequal: No Solution
Exploring Operation: 38+24=62, Resulting Numbers: [62]
62,41 unequal: No Solution
Moving to Node #0,1,1
Current State: 41:[56, 6], Operations: ['18+38=56', '63-57=6']
Exploring Operation: 56*6=336, Resulting Numbers: [336]
336,41 unequal: No Solution
Exploring Operation: 56+6=62, Resulting Numbers: [62]
62,41 unequal: No Solution
Exploring Operation: 56-6=50, Resulting Numbers: [50]
50,41 unequal: No Solution
Moving to Node #0,1,0
Current State: 41:[57, 7], Operations: ['18+38=56', '63-56=7']
Exploring Operation: 57*7=399, Resulting Numbers: [399]
399,41 unequal: No Solution
Exploring Operation: 57-7=50, Resulting Numbers: [50]
50,41 unequal: No Solution
Exploring Operation: 57+7=64, Resulting Numbers: [64]
64,41 unequal: No Solution
Moving to Node #0,0,1
Current State: 41:[63, 77], Operations: ['57-18=39', '38+39=77']
Exploring Operation: 63+77=140, Resulting Numbers: [140]
140,41 unequal: No Solution
Exploring Operation: 63*77=4851, Resulting Numbers: [4851]
4851,41 unequal: No Solution
Exploring Operation: 77-63=14, Resulting Numbers: [14]
14,41 unequal: No Solution
Moving to Node #0,1,2
Current State: 41:[63, 1], Operations: ['18+38=56', '57-56=1']
Exploring Operation: 63*1=63, Resulting Numbers: [63]
63,41 unequal: No Solution
Exploring Operation: 63-1=62, Resulting Numbers: [62]
62,41 unequal: No Solution
Exploring Operation: 63/1=63, Resulting Numbers: [63]
63,41 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
48,
8,
84,
24
] | 90 | [
"48/24=2",
"8+84=92",
"92-2=90"
] | Current State: 90:[48, 8, 84, 24], Operations: []
Exploring Operation: 48/24=2, Resulting Numbers: [8, 84, 2]
Generated Node #2: [8, 84, 2] from Operation: 48/24=2
Current State: 90:[8, 84, 2], Operations: ['48/24=2']
Exploring Operation: 8+84=92, Resulting Numbers: [2, 92]
Generated Node #3: [2, 92] from Operation: 8+84=92
Current State: 90:[2, 92], Operations: ['48/24=2', '8+84=92']
Exploring Operation: 92-2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[48, 8, 84, 24], Operations: []
Exploring Operation: 48/24=2, Resulting Numbers: [8, 84, 2]
Generated Node #0,0: 90:[8, 84, 2] Operation: 48/24=2
Start Sub Search at level 1: Moving to Node #0,0
Current State: 90:[8, 84, 2], Operations: ['48/24=2']
Exploring Operation: 8+84=92, Resulting Numbers: [2, 92]
Generated Node #0,0,0: 90:[2, 92] Operation: 8+84=92
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 90:[2, 92], Operations: ['48/24=2', '8+84=92']
Exploring Operation: 92-2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Moving to Node #0
Current State: 90:[48, 8, 84, 24], Operations: []
Exploring Operation: 48/24=2, Resulting Numbers: [8, 84, 2]
Generated Node #0,0: 90:[8, 84, 2] Operation: 48/24=2
Moving to Node #0,0
Current State: 90:[8, 84, 2], Operations: ['48/24=2']
Exploring Operation: 8+84=92, Resulting Numbers: [2, 92]
Generated Node #0,0,0: 90:[2, 92] Operation: 8+84=92
Moving to Node #0,0,0
Current State: 90:[2, 92], Operations: ['48/24=2', '8+84=92']
Exploring Operation: 92-2=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | mult_heuristic |
[
69,
36,
72,
10
] | 77 | [
"69+10=79",
"72/36=2",
"79-2=77"
] | Current State: 77:[69, 36, 72, 10], Operations: []
Exploring Operation: 69+10=79, Resulting Numbers: [36, 72, 79]
Generated Node #2: [36, 72, 79] from Operation: 69+10=79
Current State: 77:[36, 72, 79], Operations: ['69+10=79']
Exploring Operation: 72/36=2, Resulting Numbers: [79, 2]
Generated Node #3: [79, 2] from Operation: 72/36=2
Current State: 77:[79, 2], Operations: ['69+10=79', '72/36=2']
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 4 | Current State: 77:[69, 36, 72, 10], Operations: []
Exploring Operation: 72/36=2, Resulting Numbers: [69, 10, 2]
Generated Node #0,0: 77:[69, 10, 2] Operation: 72/36=2
Exploring Operation: 69-36=33, Resulting Numbers: [72, 10, 33]
Generated Node #0,1: 77:[72, 10, 33] Operation: 69-36=33
Moving to Node #0,0
Current State: 77:[69, 10, 2], Operations: ['72/36=2']
Exploring Operation: 69+2=71, Resulting Numbers: [10, 71]
Generated Node #0,0,0: 77:[10, 71] Operation: 69+2=71
Exploring Operation: 69+10=79, Resulting Numbers: [2, 79]
Generated Node #0,0,1: 77:[2, 79] Operation: 69+10=79
Moving to Node #0,1
Current State: 77:[72, 10, 33], Operations: ['69-36=33']
Exploring Operation: 72+10=82, Resulting Numbers: [33, 82]
Generated Node #0,1,0: 77:[33, 82] Operation: 72+10=82
Exploring Operation: 33-10=23, Resulting Numbers: [72, 23]
Generated Node #0,1,1: 77:[72, 23] Operation: 33-10=23
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 77:[72, 23], Operations: ['69-36=33', '33-10=23']
Exploring Operation: 72-23=49, Resulting Numbers: [49]
49,77 unequal: No Solution
Exploring Operation: 72+23=95, Resulting Numbers: [95]
95,77 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 77:[33, 82], Operations: ['69-36=33', '72+10=82']
Exploring Operation: 33+82=115, Resulting Numbers: [115]
115,77 unequal: No Solution
Exploring Operation: 82-33=49, Resulting Numbers: [49]
49,77 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: 77:[10, 71], Operations: ['72/36=2', '69+2=71']
Exploring Operation: 71-10=61, Resulting Numbers: [61]
61,77 unequal: No Solution
Exploring Operation: 10+71=81, Resulting Numbers: [81]
81,77 unequal: No Solution
Moving to Node #0,0,1
Current State: 77:[2, 79], Operations: ['72/36=2', '69+10=79']
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
Moving to Node #0
Current State: 77:[69, 36, 72, 10], Operations: []
Exploring Operation: 72/36=2, Resulting Numbers: [69, 10, 2]
Generated Node #0,0: 77:[69, 10, 2] Operation: 72/36=2
Moving to Node #0,0
Current State: 77:[69, 10, 2], Operations: ['72/36=2']
Exploring Operation: 69+10=79, Resulting Numbers: [2, 79]
Generated Node #0,0,1: 77:[2, 79] Operation: 69+10=79
Moving to Node #0,0,1
Current State: 77:[2, 79], Operations: ['72/36=2', '69+10=79']
Exploring Operation: 79-2=77, Resulting Numbers: [77]
77,77 equal: Goal Reached
| 0.985243 | hs_2 | mult_heuristic |
[
72,
41,
92,
88
] | 23 | [
"92-88=4",
"72/4=18",
"41-18=23"
] | Current State: 23:[72, 41, 92, 88], Operations: []
Exploring Operation: 92-88=4, Resulting Numbers: [72, 41, 4]
Generated Node #2: [72, 41, 4] from Operation: 92-88=4
Current State: 23:[72, 41, 4], Operations: ['92-88=4']
Exploring Operation: 72/4=18, Resulting Numbers: [41, 18]
Generated Node #3: [41, 18] from Operation: 72/4=18
Current State: 23:[41, 18], Operations: ['92-88=4', '72/4=18']
Exploring Operation: 41-18=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
| 4 | Current State: 23:[72, 41, 92, 88], Operations: []
Exploring Operation: 92-88=4, Resulting Numbers: [72, 41, 4]
Generated Node #0,0: 23:[72, 41, 4] Operation: 92-88=4
Exploring Operation: 92-72=20, Resulting Numbers: [41, 88, 20]
Generated Node #0,1: 23:[41, 88, 20] Operation: 92-72=20
Exploring Operation: 88-72=16, Resulting Numbers: [41, 92, 16]
Generated Node #0,2: 23:[41, 92, 16] Operation: 88-72=16
Moving to Node #0,0
Current State: 23:[72, 41, 4], Operations: ['92-88=4']
Exploring Operation: 72/4=18, Resulting Numbers: [41, 18]
Generated Node #0,0,0: 23:[41, 18] Operation: 72/4=18
Exploring Operation: 72-41=31, Resulting Numbers: [4, 31]
Generated Node #0,0,1: 23:[4, 31] Operation: 72-41=31
Exploring Operation: 72-4=68, Resulting Numbers: [41, 68]
Generated Node #0,0,2: 23:[41, 68] Operation: 72-4=68
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 23:[41, 18], Operations: ['92-88=4', '72/4=18']
Exploring Operation: 41*18=738, Resulting Numbers: [738]
738,23 unequal: No Solution
Exploring Operation: 41-18=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Moving to Node #0
Current State: 23:[72, 41, 92, 88], Operations: []
Exploring Operation: 92-88=4, Resulting Numbers: [72, 41, 4]
Generated Node #0,0: 23:[72, 41, 4] Operation: 92-88=4
Moving to Node #0,0
Current State: 23:[72, 41, 4], Operations: ['92-88=4']
Exploring Operation: 72/4=18, Resulting Numbers: [41, 18]
Generated Node #0,0,0: 23:[41, 18] Operation: 72/4=18
Moving to Node #0,0,0
Current State: 23:[41, 18], Operations: ['92-88=4', '72/4=18']
Exploring Operation: 41-18=23, Resulting Numbers: [23]
23,23 equal: Goal Reached
Exit Sub Search at level 1
| 0.989583 | hs_3 | sum_heuristic |
[
10,
28,
44,
13
] | 13 | [
"28-10=18",
"44-13=31",
"31-18=13"
] | Current State: 13:[10, 28, 44, 13], Operations: []
Exploring Operation: 28-10=18, Resulting Numbers: [44, 13, 18]
Generated Node #2: [44, 13, 18] from Operation: 28-10=18
Current State: 13:[44, 13, 18], Operations: ['28-10=18']
Exploring Operation: 44-13=31, Resulting Numbers: [18, 31]
Generated Node #3: [18, 31] from Operation: 44-13=31
Current State: 13:[18, 31], Operations: ['28-10=18', '44-13=31']
Exploring Operation: 31-18=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
| 4 | Current State: 13:[10, 28, 44, 13], Operations: []
Exploring Operation: 44-13=31, Resulting Numbers: [10, 28, 31]
Generated Node #0,0: 13:[10, 28, 31] Operation: 44-13=31
Exploring Operation: 44-28=16, Resulting Numbers: [10, 13, 16]
Generated Node #0,1: 13:[10, 13, 16] Operation: 44-28=16
Exploring Operation: 28-13=15, Resulting Numbers: [10, 44, 15]
Generated Node #0,2: 13:[10, 44, 15] Operation: 28-13=15
Exploring Operation: 28-10=18, Resulting Numbers: [44, 13, 18]
Generated Node #0,3: 13:[44, 13, 18] Operation: 28-10=18
Exploring Operation: 44-10=34, Resulting Numbers: [28, 13, 34]
Generated Node #0,4: 13:[28, 13, 34] Operation: 44-10=34
Start Sub Search at level 1: Moving to Node #0,1
Current State: 13:[10, 13, 16], Operations: ['44-28=16']
Exploring Operation: 13-10=3, Resulting Numbers: [16, 3]
Generated Node #0,1,0: 13:[16, 3] Operation: 13-10=3
Exploring Operation: 16-10=6, Resulting Numbers: [13, 6]
Generated Node #0,1,1: 13:[13, 6] Operation: 16-10=6
Exploring Operation: 10+13=23, Resulting Numbers: [16, 23]
Generated Node #0,1,2: 13:[16, 23] Operation: 10+13=23
Exploring Operation: 16-13=3, Resulting Numbers: [10, 3]
Generated Node #0,1,3: 13:[10, 3] Operation: 16-13=3
Exploring Operation: 10+16=26, Resulting Numbers: [13, 26]
Generated Node #0,1,4: 13:[13, 26] Operation: 10+16=26
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 13:[13, 6], Operations: ['44-28=16', '16-10=6']
Exploring Operation: 13*6=78, Resulting Numbers: [78]
78,13 unequal: No Solution
Exploring Operation: 13+6=19, Resulting Numbers: [19]
19,13 unequal: No Solution
Exploring Operation: 13-6=7, Resulting Numbers: [7]
7,13 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 13:[16, 3], Operations: ['44-28=16', '13-10=3']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Moving to Node #0
Current State: 13:[10, 28, 44, 13], Operations: []
Exploring Operation: 44-28=16, Resulting Numbers: [10, 13, 16]
Generated Node #0,1: 13:[10, 13, 16] Operation: 44-28=16
Moving to Node #0,1
Current State: 13:[10, 13, 16], Operations: ['44-28=16']
Exploring Operation: 13-10=3, Resulting Numbers: [16, 3]
Generated Node #0,1,0: 13:[16, 3] Operation: 13-10=3
Moving to Node #0,1,0
Current State: 13:[16, 3], Operations: ['44-28=16', '13-10=3']
Exploring Operation: 16-3=13, Resulting Numbers: [13]
13,13 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_5 | mult_heuristic |
[
91,
25,
73,
98
] | 91 | [
"91+25=116",
"98-73=25",
"116-25=91"
] | Current State: 91:[91, 25, 73, 98], Operations: []
Exploring Operation: 91+25=116, Resulting Numbers: [73, 98, 116]
Generated Node #2: [73, 98, 116] from Operation: 91+25=116
Current State: 91:[73, 98, 116], Operations: ['91+25=116']
Exploring Operation: 98-73=25, Resulting Numbers: [116, 25]
Generated Node #3: [116, 25] from Operation: 98-73=25
Current State: 91:[116, 25], Operations: ['91+25=116', '98-73=25']
Exploring Operation: 116-25=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[91, 25, 73, 98], Operations: []
Exploring Operation: 91-73=18, Resulting Numbers: [25, 98, 18]
Generated Node #0,0: 91:[25, 98, 18] Operation: 91-73=18
Exploring Operation: 98-73=25, Resulting Numbers: [91, 25, 25]
Generated Node #0,1: 91:[91, 25, 25] Operation: 98-73=25
Exploring Operation: 98-91=7, Resulting Numbers: [25, 73, 7]
Generated Node #0,2: 91:[25, 73, 7] Operation: 98-91=7
Exploring Operation: 25+73=98, Resulting Numbers: [91, 98, 98]
Generated Node #0,3: 91:[91, 98, 98] Operation: 25+73=98
Moving to Node #0,3
Current State: 91:[91, 98, 98], Operations: ['25+73=98']
Exploring Operation: 98/98=1, Resulting Numbers: [91, 1]
Generated Node #0,3,0: 91:[91, 1] Operation: 98/98=1
Exploring Operation: 98-91=7, Resulting Numbers: [98, 7]
Generated Node #0,3,1: 91:[98, 7] Operation: 98-91=7
Exploring Operation: 98-91=7, Resulting Numbers: [98, 7]
Generated Node #0,3,2: 91:[98, 7] Operation: 98-91=7
Exploring Operation: 98-98=0, Resulting Numbers: [91, 0]
Generated Node #0,3,3: 91:[91, 0] Operation: 98-98=0
Moving to Node #0,1
Current State: 91:[91, 25, 25], Operations: ['98-73=25']
Exploring Operation: 25-25=0, Resulting Numbers: [91, 0]
Generated Node #0,1,0: 91:[91, 0] Operation: 25-25=0
Exploring Operation: 25/25=1, Resulting Numbers: [91, 1]
Generated Node #0,1,1: 91:[91, 1] Operation: 25/25=1
Exploring Operation: 91+25=116, Resulting Numbers: [25, 116]
Generated Node #0,1,2: 91:[25, 116] Operation: 91+25=116
Exploring Operation: 91-25=66, Resulting Numbers: [25, 66]
Generated Node #0,1,3: 91:[25, 66] Operation: 91-25=66
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 91:[91, 1], Operations: ['98-73=25', '25/25=1']
Exploring Operation: 91*1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[91, 25, 73, 98], Operations: []
Exploring Operation: 98-73=25, Resulting Numbers: [91, 25, 25]
Generated Node #0,1: 91:[91, 25, 25] Operation: 98-73=25
Moving to Node #0,1
Current State: 91:[91, 25, 25], Operations: ['98-73=25']
Exploring Operation: 25/25=1, Resulting Numbers: [91, 1]
Generated Node #0,1,1: 91:[91, 1] Operation: 25/25=1
Moving to Node #0,1,1
Current State: 91:[91, 1], Operations: ['98-73=25', '25/25=1']
Exploring Operation: 91*1=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
63,
57,
96,
64
] | 99 | [
"63*64=4032",
"4032/96=42",
"57+42=99"
] | Current State: 99:[63, 57, 96, 64], Operations: []
Exploring Operation: 63*64=4032, Resulting Numbers: [57, 96, 4032]
Generated Node #2: [57, 96, 4032] from Operation: 63*64=4032
Current State: 99:[57, 96, 4032], Operations: ['63*64=4032']
Exploring Operation: 4032/96=42, Resulting Numbers: [57, 42]
Generated Node #3: [57, 42] from Operation: 4032/96=42
Current State: 99:[57, 42], Operations: ['63*64=4032', '4032/96=42']
Exploring Operation: 57+42=99, Resulting Numbers: [99]
99,99 equal: Goal Reached
| 4 | Current State: 99:[63, 57, 96, 64], Operations: []
Exploring Operation: 64-63=1, Resulting Numbers: [57, 96, 1]
Generated Node #0,0: 99:[57, 96, 1] Operation: 64-63=1
Exploring Operation: 63-57=6, Resulting Numbers: [96, 64, 6]
Generated Node #0,1: 99:[96, 64, 6] Operation: 63-57=6
Exploring Operation: 64-57=7, Resulting Numbers: [63, 96, 7]
Generated Node #0,2: 99:[63, 96, 7] Operation: 64-57=7
Exploring Operation: 63+57=120, Resulting Numbers: [96, 64, 120]
Generated Node #0,3: 99:[96, 64, 120] Operation: 63+57=120
Start Sub Search at level 1: Moving to Node #0,0
Current State: 99:[57, 96, 1], Operations: ['64-63=1']
Exploring Operation: 96-57=39, Resulting Numbers: [1, 39]
Generated Node #0,0,0: 99:[1, 39] Operation: 96-57=39
Exploring Operation: 57*1=57, Resulting Numbers: [96, 57]
Generated Node #0,0,1: 99:[96, 57] Operation: 57*1=57
Exploring Operation: 96+1=97, Resulting Numbers: [57, 97]
Generated Node #0,0,2: 99:[57, 97] Operation: 96+1=97
Exploring Operation: 57-1=56, Resulting Numbers: [96, 56]
Generated Node #0,0,3: 99:[96, 56] Operation: 57-1=56
Moving to Node #0,0,0
Current State: 99:[1, 39], Operations: ['64-63=1', '96-57=39']
Exploring Operation: 39/1=39, Resulting Numbers: [39]
39,99 unequal: No Solution
Exploring Operation: 1+39=40, Resulting Numbers: [40]
40,99 unequal: No Solution
Exploring Operation: 39-1=38, Resulting Numbers: [38]
38,99 unequal: No Solution
Exploring Operation: 1*39=39, Resulting Numbers: [39]
39,99 unequal: No Solution
Moving to Node #0,0,3
Current State: 99:[96, 56], Operations: ['64-63=1', '57-1=56']
Exploring Operation: 96*56=5376, Resulting Numbers: [5376]
5376,99 unequal: No Solution
Exploring Operation: 96-56=40, Resulting Numbers: [40]
40,99 unequal: No Solution
Exploring Operation: 96+56=152, Resulting Numbers: [152]
152,99 unequal: No Solution
Moving to Node #0,0,2
Current State: 99:[57, 97], Operations: ['64-63=1', '96+1=97']
Exploring Operation: 97-57=40, Resulting Numbers: [40]
40,99 unequal: No Solution
Exploring Operation: 57*97=5529, Resulting Numbers: [5529]
5529,99 unequal: No Solution
Exploring Operation: 57+97=154, Resulting Numbers: [154]
154,99 unequal: No Solution
Moving to Node #0,0,1
Current State: 99:[96, 57], Operations: ['64-63=1', '57*1=57']
Exploring Operation: 96*57=5472, Resulting Numbers: [5472]
5472,99 unequal: No Solution
Exploring Operation: 96-57=39, Resulting Numbers: [39]
39,99 unequal: No Solution
Exploring Operation: 96+57=153, Resulting Numbers: [153]
153,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,2
Current State: 99:[63, 96, 7], Operations: ['64-57=7']
Exploring Operation: 96-63=33, Resulting Numbers: [7, 33]
Generated Node #0,2,0: 99:[7, 33] Operation: 96-63=33
Exploring Operation: 63/7=9, Resulting Numbers: [96, 9]
Generated Node #0,2,1: 99:[96, 9] Operation: 63/7=9
Exploring Operation: 63+7=70, Resulting Numbers: [96, 70]
Generated Node #0,2,2: 99:[96, 70] Operation: 63+7=70
Exploring Operation: 63-7=56, Resulting Numbers: [96, 56]
Generated Node #0,2,3: 99:[96, 56] Operation: 63-7=56
Moving to Node #0,2,0
Current State: 99:[7, 33], Operations: ['64-57=7', '96-63=33']
Exploring Operation: 33-7=26, Resulting Numbers: [26]
26,99 unequal: No Solution
Exploring Operation: 7+33=40, Resulting Numbers: [40]
40,99 unequal: No Solution
Exploring Operation: 7*33=231, Resulting Numbers: [231]
231,99 unequal: No Solution
Moving to Node #0,2,1
Current State: 99:[96, 9], Operations: ['64-57=7', '63/7=9']
Exploring Operation: 96+9=105, Resulting Numbers: [105]
105,99 unequal: No Solution
Exploring Operation: 96*9=864, Resulting Numbers: [864]
864,99 unequal: No Solution
Exploring Operation: 96-9=87, Resulting Numbers: [87]
87,99 unequal: No Solution
Moving to Node #0,2,3
Current State: 99:[96, 56], Operations: ['64-57=7', '63-7=56']
Exploring Operation: 96-56=40, Resulting Numbers: [40]
40,99 unequal: No Solution
Exploring Operation: 96+56=152, Resulting Numbers: [152]
152,99 unequal: No Solution
Exploring Operation: 96*56=5376, Resulting Numbers: [5376]
5376,99 unequal: No Solution
Moving to Node #0,2,2
Current State: 99:[96, 70], Operations: ['64-57=7', '63+7=70']
Exploring Operation: 96*70=6720, Resulting Numbers: [6720]
6720,99 unequal: No Solution
Exploring Operation: 96+70=166, Resulting Numbers: [166]
166,99 unequal: No Solution
Exploring Operation: 96-70=26, Resulting Numbers: [26]
26,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
Current State: 99:[96, 64, 6], Operations: ['63-57=6']
Exploring Operation: 64+6=70, Resulting Numbers: [96, 70]
Generated Node #0,1,0: 99:[96, 70] Operation: 64+6=70
Exploring Operation: 96+6=102, Resulting Numbers: [64, 102]
Generated Node #0,1,1: 99:[64, 102] Operation: 96+6=102
Exploring Operation: 64-6=58, Resulting Numbers: [96, 58]
Generated Node #0,1,2: 99:[96, 58] Operation: 64-6=58
Exploring Operation: 96-64=32, Resulting Numbers: [6, 32]
Generated Node #0,1,3: 99:[6, 32] Operation: 96-64=32
Start Sub Search at level 2: Moving to Node #0,1,3
Current State: 99:[6, 32], Operations: ['63-57=6', '96-64=32']
Exploring Operation: 32-6=26, Resulting Numbers: [26]
26,99 unequal: No Solution
Exploring Operation: 6*32=192, Resulting Numbers: [192]
192,99 unequal: No Solution
Exploring Operation: 6+32=38, Resulting Numbers: [38]
38,99 unequal: No Solution
No 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: 99:[96, 58], Operations: ['63-57=6', '64-6=58']
Exploring Operation: 96-58=38, Resulting Numbers: [38]
38,99 unequal: No Solution
Exploring Operation: 96*58=5568, Resulting Numbers: [5568]
5568,99 unequal: No Solution
Exploring Operation: 96+58=154, Resulting Numbers: [154]
154,99 unequal: No Solution
No 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: 99:[96, 70], Operations: ['63-57=6', '64+6=70']
Exploring Operation: 96+70=166, Resulting Numbers: [166]
166,99 unequal: No Solution
Exploring Operation: 96*70=6720, Resulting Numbers: [6720]
6720,99 unequal: No Solution
Exploring Operation: 96-70=26, Resulting Numbers: [26]
26,99 unequal: No Solution
No 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: 99:[64, 102], Operations: ['63-57=6', '96+6=102']
Exploring Operation: 64*102=6528, Resulting Numbers: [6528]
6528,99 unequal: No Solution
Exploring Operation: 64+102=166, Resulting Numbers: [166]
166,99 unequal: No Solution
Exploring Operation: 102-64=38, Resulting Numbers: [38]
38,99 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: 99:[96, 64, 120], Operations: ['63+57=120']
Exploring Operation: 96-64=32, Resulting Numbers: [120, 32]
Generated Node #0,3,0: 99:[120, 32] Operation: 96-64=32
Exploring Operation: 96+64=160, Resulting Numbers: [120, 160]
Generated Node #0,3,1: 99:[120, 160] Operation: 96+64=160
Exploring Operation: 120-96=24, Resulting Numbers: [64, 24]
Generated Node #0,3,2: 99:[64, 24] Operation: 120-96=24
Exploring Operation: 120-64=56, Resulting Numbers: [96, 56]
Generated Node #0,3,3: 99:[96, 56] Operation: 120-64=56
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 99:[120, 32], Operations: ['63+57=120', '96-64=32']
Exploring Operation: 120+32=152, Resulting Numbers: [152]
152,99 unequal: No Solution
Exploring Operation: 120*32=3840, Resulting Numbers: [3840]
3840,99 unequal: No Solution
Exploring Operation: 120-32=88, Resulting Numbers: [88]
88,99 unequal: No Solution
No 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: 99:[96, 56], Operations: ['63+57=120', '120-64=56']
Exploring Operation: 96+56=152, Resulting Numbers: [152]
152,99 unequal: No Solution
Exploring Operation: 96*56=5376, Resulting Numbers: [5376]
5376,99 unequal: No Solution
Exploring Operation: 96-56=40, Resulting Numbers: [40]
40,99 unequal: No Solution
No 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: 99:[64, 24], Operations: ['63+57=120', '120-96=24']
Exploring Operation: 64*24=1536, Resulting Numbers: [1536]
1536,99 unequal: No Solution
Exploring Operation: 64+24=88, Resulting Numbers: [88]
88,99 unequal: No Solution
Exploring Operation: 64-24=40, Resulting Numbers: [40]
40,99 unequal: No Solution
No 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: 99:[120, 160], Operations: ['63+57=120', '96+64=160']
Exploring Operation: 120+160=280, Resulting Numbers: [280]
280,99 unequal: No Solution
Exploring Operation: 160-120=40, Resulting Numbers: [40]
40,99 unequal: No Solution
Exploring Operation: 120*160=19200, Resulting Numbers: [19200]
19200,99 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 |
[
3,
84,
79,
44
] | 46 | [
"84-3=81",
"79-44=35",
"81-35=46"
] | Current State: 46:[3, 84, 79, 44], Operations: []
Exploring Operation: 84-3=81, Resulting Numbers: [79, 44, 81]
Generated Node #2: [79, 44, 81] from Operation: 84-3=81
Current State: 46:[79, 44, 81], Operations: ['84-3=81']
Exploring Operation: 79-44=35, Resulting Numbers: [81, 35]
Generated Node #3: [81, 35] from Operation: 79-44=35
Current State: 46:[81, 35], Operations: ['84-3=81', '79-44=35']
Exploring Operation: 81-35=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 4 | Current State: 46:[3, 84, 79, 44], Operations: []
Exploring Operation: 84/3=28, Resulting Numbers: [79, 44, 28]
Generated Node #0,0: 46:[79, 44, 28] Operation: 84/3=28
Exploring Operation: 79-44=35, Resulting Numbers: [3, 84, 35]
Generated Node #0,1: 46:[3, 84, 35] Operation: 79-44=35
Exploring Operation: 84-44=40, Resulting Numbers: [3, 79, 40]
Generated Node #0,2: 46:[3, 79, 40] Operation: 84-44=40
Exploring Operation: 84-79=5, Resulting Numbers: [3, 44, 5]
Generated Node #0,3: 46:[3, 44, 5] Operation: 84-79=5
Moving to Node #0,3
Current State: 46:[3, 44, 5], Operations: ['84-79=5']
Exploring Operation: 3+44=47, Resulting Numbers: [5, 47]
Generated Node #0,3,0: 46:[5, 47] Operation: 3+44=47
Exploring Operation: 44+5=49, Resulting Numbers: [3, 49]
Generated Node #0,3,1: 46:[3, 49] Operation: 44+5=49
Exploring Operation: 5-3=2, Resulting Numbers: [44, 2]
Generated Node #0,3,2: 46:[44, 2] Operation: 5-3=2
Exploring Operation: 44-3=41, Resulting Numbers: [5, 41]
Generated Node #0,3,3: 46:[5, 41] Operation: 44-3=41
Moving to Node #0,2
Current State: 46:[3, 79, 40], Operations: ['84-44=40']
Exploring Operation: 3+79=82, Resulting Numbers: [40, 82]
Generated Node #0,2,0: 46:[40, 82] Operation: 3+79=82
Exploring Operation: 79-3=76, Resulting Numbers: [40, 76]
Generated Node #0,2,1: 46:[40, 76] Operation: 79-3=76
Exploring Operation: 3+40=43, Resulting Numbers: [79, 43]
Generated Node #0,2,2: 46:[79, 43] Operation: 3+40=43
Exploring Operation: 79-40=39, Resulting Numbers: [3, 39]
Generated Node #0,2,3: 46:[3, 39] Operation: 79-40=39
Moving to Node #0,0
Current State: 46:[79, 44, 28], Operations: ['84/3=28']
Exploring Operation: 44+28=72, Resulting Numbers: [79, 72]
Generated Node #0,0,0: 46:[79, 72] Operation: 44+28=72
Exploring Operation: 44-28=16, Resulting Numbers: [79, 16]
Generated Node #0,0,1: 46:[79, 16] Operation: 44-28=16
Exploring Operation: 79-28=51, Resulting Numbers: [44, 51]
Generated Node #0,0,2: 46:[44, 51] Operation: 79-28=51
Exploring Operation: 79-44=35, Resulting Numbers: [28, 35]
Generated Node #0,0,3: 46:[28, 35] Operation: 79-44=35
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 46:[44, 51], Operations: ['84/3=28', '79-28=51']
Exploring Operation: 44*51=2244, Resulting Numbers: [2244]
2244,46 unequal: No Solution
Exploring Operation: 44+51=95, Resulting Numbers: [95]
95,46 unequal: No Solution
Exploring Operation: 51-44=7, Resulting Numbers: [7]
7,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,3
Current State: 46:[28, 35], Operations: ['84/3=28', '79-44=35']
Exploring Operation: 28*35=980, Resulting Numbers: [980]
980,46 unequal: No Solution
Exploring Operation: 35-28=7, Resulting Numbers: [7]
7,46 unequal: No Solution
Exploring Operation: 28+35=63, Resulting Numbers: [63]
63,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:[79, 16], Operations: ['84/3=28', '44-28=16']
Exploring Operation: 79+16=95, Resulting Numbers: [95]
95,46 unequal: No Solution
Exploring Operation: 79-16=63, Resulting Numbers: [63]
63,46 unequal: No Solution
Exploring Operation: 79*16=1264, Resulting Numbers: [1264]
1264,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,0
Current State: 46:[79, 72], Operations: ['84/3=28', '44+28=72']
Exploring Operation: 79+72=151, Resulting Numbers: [151]
151,46 unequal: No Solution
Exploring Operation: 79*72=5688, Resulting Numbers: [5688]
5688,46 unequal: No Solution
Exploring Operation: 79-72=7, Resulting Numbers: [7]
7,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:[3, 84, 35], Operations: ['79-44=35']
Exploring Operation: 84/3=28, Resulting Numbers: [35, 28]
Generated Node #0,1,0: 46:[35, 28] Operation: 84/3=28
Exploring Operation: 84-35=49, Resulting Numbers: [3, 49]
Generated Node #0,1,1: 46:[3, 49] Operation: 84-35=49
Exploring Operation: 3+35=38, Resulting Numbers: [84, 38]
Generated Node #0,1,2: 46:[84, 38] Operation: 3+35=38
Exploring Operation: 84-3=81, Resulting Numbers: [35, 81]
Generated Node #0,1,3: 46:[35, 81] Operation: 84-3=81
Moving to Node #0,3,2
Current State: 46:[44, 2], Operations: ['84-79=5', '5-3=2']
Exploring Operation: 44/2=22, Resulting Numbers: [22]
22,46 unequal: No Solution
Exploring Operation: 44*2=88, Resulting Numbers: [88]
88,46 unequal: No Solution
Exploring Operation: 44-2=42, Resulting Numbers: [42]
42,46 unequal: No Solution
Exploring Operation: 44+2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
Moving to Node #0
Current State: 46:[3, 84, 79, 44], Operations: []
Exploring Operation: 84-79=5, Resulting Numbers: [3, 44, 5]
Generated Node #0,3: 46:[3, 44, 5] Operation: 84-79=5
Moving to Node #0,3
Current State: 46:[3, 44, 5], Operations: ['84-79=5']
Exploring Operation: 5-3=2, Resulting Numbers: [44, 2]
Generated Node #0,3,2: 46:[44, 2] Operation: 5-3=2
Moving to Node #0,3,2
Current State: 46:[44, 2], Operations: ['84-79=5', '5-3=2']
Exploring Operation: 44+2=46, Resulting Numbers: [46]
46,46 equal: Goal Reached
| 0.965278 | hs_4 | sum_heuristic |
[
20,
19,
11,
62
] | 93 | [
"19+11=30",
"62*30=1860",
"1860/20=93"
] | Current State: 93:[20, 19, 11, 62], Operations: []
Exploring Operation: 19+11=30, Resulting Numbers: [20, 62, 30]
Generated Node #2: [20, 62, 30] from Operation: 19+11=30
Current State: 93:[20, 62, 30], Operations: ['19+11=30']
Exploring Operation: 62*30=1860, Resulting Numbers: [20, 1860]
Generated Node #3: [20, 1860] from Operation: 62*30=1860
Current State: 93:[20, 1860], Operations: ['19+11=30', '62*30=1860']
Exploring Operation: 1860/20=93, Resulting Numbers: [93]
93,93 equal: Goal Reached
| 4 | Current State: 93:[20, 19, 11, 62], Operations: []
Exploring Operation: 62-20=42, Resulting Numbers: [19, 11, 42]
Generated Node #0,0: 93:[19, 11, 42] Operation: 62-20=42
Exploring Operation: 20+62=82, Resulting Numbers: [19, 11, 82]
Generated Node #0,1: 93:[19, 11, 82] Operation: 20+62=82
Moving to Node #0,0
Current State: 93:[19, 11, 42], Operations: ['62-20=42']
Exploring Operation: 42-11=31, Resulting Numbers: [19, 31]
Generated Node #0,0,0: 93:[19, 31] Operation: 42-11=31
Exploring Operation: 19+11=30, Resulting Numbers: [42, 30]
Generated Node #0,0,1: 93:[42, 30] Operation: 19+11=30
Moving to Node #0,1
Current State: 93:[19, 11, 82], Operations: ['20+62=82']
Exploring Operation: 19+11=30, Resulting Numbers: [82, 30]
Generated Node #0,1,0: 93:[82, 30] Operation: 19+11=30
Exploring Operation: 11+82=93, Resulting Numbers: [19, 93]
Generated Node #0,1,1: 93:[19, 93] Operation: 11+82=93
Moving to Node #0,0,0
Current State: 93:[19, 31], Operations: ['62-20=42', '42-11=31']
Exploring Operation: 31-19=12, Resulting Numbers: [12]
12,93 unequal: No Solution
Exploring Operation: 19+31=50, Resulting Numbers: [50]
50,93 unequal: No Solution
Moving to Node #0,1,0
Current State: 93:[82, 30], Operations: ['20+62=82', '19+11=30']
Exploring Operation: 82+30=112, Resulting Numbers: [112]
112,93 unequal: No Solution
Exploring Operation: 82-30=52, Resulting Numbers: [52]
52,93 unequal: No Solution
Moving to Node #0,0,1
Current State: 93:[42, 30], Operations: ['62-20=42', '19+11=30']
Exploring Operation: 42+30=72, Resulting Numbers: [72]
72,93 unequal: No Solution
Exploring Operation: 42-30=12, Resulting Numbers: [12]
12,93 unequal: No Solution
Moving to Node #0,1,1
Current State: 93:[19, 93], Operations: ['20+62=82', '11+82=93']
Exploring Operation: 19+93=112, Resulting Numbers: [112]
112,93 unequal: No Solution
Exploring Operation: 93-19=74, Resulting Numbers: [74]
74,93 unequal: No Solution
No solution found.
| 0 | hs_2 | sum_heuristic |
[
78,
27,
10,
75
] | 71 | [
"78-75=3",
"27*3=81",
"81-10=71"
] | Current State: 71:[78, 27, 10, 75], Operations: []
Exploring Operation: 78-75=3, Resulting Numbers: [27, 10, 3]
Generated Node #2: [27, 10, 3] from Operation: 78-75=3
Current State: 71:[27, 10, 3], Operations: ['78-75=3']
Exploring Operation: 27*3=81, Resulting Numbers: [10, 81]
Generated Node #3: [10, 81] from Operation: 27*3=81
Current State: 71:[10, 81], Operations: ['78-75=3', '27*3=81']
Exploring Operation: 81-10=71, Resulting Numbers: [71]
71,71 equal: Goal Reached
| 4 | Current State: 71:[78, 27, 10, 75], Operations: []
Exploring Operation: 27+10=37, Resulting Numbers: [78, 75, 37]
Generated Node #0,0: 71:[78, 75, 37] Operation: 27+10=37
Start Sub Search at level 1: Moving to Node #0,0
Current State: 71:[78, 75, 37], Operations: ['27+10=37']
Exploring Operation: 78-37=41, Resulting Numbers: [75, 41]
Generated Node #0,0,0: 71:[75, 41] Operation: 78-37=41
Moving to Node #0,0,0
Current State: 71:[75, 41], Operations: ['27+10=37', '78-37=41']
Exploring Operation: 75-41=34, Resulting Numbers: [34]
34,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 | sum_heuristic |
[
78,
57,
4,
60
] | 22 | [
"60-57=3",
"78/3=26",
"26-4=22"
] | Current State: 22:[78, 57, 4, 60], Operations: []
Exploring Operation: 60-57=3, Resulting Numbers: [78, 4, 3]
Generated Node #2: [78, 4, 3] from Operation: 60-57=3
Current State: 22:[78, 4, 3], Operations: ['60-57=3']
Exploring Operation: 78/3=26, Resulting Numbers: [4, 26]
Generated Node #3: [4, 26] from Operation: 78/3=26
Current State: 22:[4, 26], Operations: ['60-57=3', '78/3=26']
Exploring Operation: 26-4=22, Resulting Numbers: [22]
22,22 equal: Goal Reached
| 4 | Current State: 22:[78, 57, 4, 60], Operations: []
Exploring Operation: 78-57=21, Resulting Numbers: [4, 60, 21]
Generated Node #0,0: 22:[4, 60, 21] Operation: 78-57=21
Start Sub Search at level 1: Moving to Node #0,0
Current State: 22:[4, 60, 21], Operations: ['78-57=21']
Exploring Operation: 60/4=15, Resulting Numbers: [21, 15]
Generated Node #0,0,0: 22:[21, 15] Operation: 60/4=15
Moving to Node #0,0,0
Current State: 22:[21, 15], Operations: ['78-57=21', '60/4=15']
Exploring Operation: 21-15=6, Resulting Numbers: [6]
6,22 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,
44,
9,
48
] | 68 | [
"9-7=2",
"48/2=24",
"44+24=68"
] | Current State: 68:[7, 44, 9, 48], Operations: []
Exploring Operation: 9-7=2, Resulting Numbers: [44, 48, 2]
Generated Node #2: [44, 48, 2] from Operation: 9-7=2
Current State: 68:[44, 48, 2], Operations: ['9-7=2']
Exploring Operation: 48/2=24, Resulting Numbers: [44, 24]
Generated Node #3: [44, 24] from Operation: 48/2=24
Current State: 68:[44, 24], Operations: ['9-7=2', '48/2=24']
Exploring Operation: 44+24=68, Resulting Numbers: [68]
68,68 equal: Goal Reached
| 4 | Current State: 68:[7, 44, 9, 48], Operations: []
Exploring Operation: 44-7=37, Resulting Numbers: [9, 48, 37]
Generated Node #0,0: 68:[9, 48, 37] Operation: 44-7=37
Exploring Operation: 44-9=35, Resulting Numbers: [7, 48, 35]
Generated Node #0,1: 68:[7, 48, 35] Operation: 44-9=35
Exploring Operation: 48-44=4, Resulting Numbers: [7, 9, 4]
Generated Node #0,2: 68:[7, 9, 4] Operation: 48-44=4
Exploring Operation: 48-9=39, Resulting Numbers: [7, 44, 39]
Generated Node #0,3: 68:[7, 44, 39] Operation: 48-9=39
Moving to Node #0,2
Current State: 68:[7, 9, 4], Operations: ['48-44=4']
Exploring Operation: 9-7=2, Resulting Numbers: [4, 2]
Generated Node #0,2,0: 68:[4, 2] Operation: 9-7=2
Exploring Operation: 9-4=5, Resulting Numbers: [7, 5]
Generated Node #0,2,1: 68:[7, 5] Operation: 9-4=5
Exploring Operation: 7+9=16, Resulting Numbers: [4, 16]
Generated Node #0,2,2: 68:[4, 16] Operation: 7+9=16
Exploring Operation: 7*9=63, Resulting Numbers: [4, 63]
Generated Node #0,2,3: 68:[4, 63] Operation: 7*9=63
Moving to Node #0,3
Current State: 68:[7, 44, 39], Operations: ['48-9=39']
Exploring Operation: 44-7=37, Resulting Numbers: [39, 37]
Generated Node #0,3,0: 68:[39, 37] Operation: 44-7=37
Exploring Operation: 44-39=5, Resulting Numbers: [7, 5]
Generated Node #0,3,1: 68:[7, 5] Operation: 44-39=5
Exploring Operation: 44+39=83, Resulting Numbers: [7, 83]
Generated Node #0,3,2: 68:[7, 83] Operation: 44+39=83
Exploring Operation: 39-7=32, Resulting Numbers: [44, 32]
Generated Node #0,3,3: 68:[44, 32] Operation: 39-7=32
Moving to Node #0,1
Current State: 68:[7, 48, 35], Operations: ['44-9=35']
Exploring Operation: 48-7=41, Resulting Numbers: [35, 41]
Generated Node #0,1,0: 68:[35, 41] Operation: 48-7=41
Exploring Operation: 7+48=55, Resulting Numbers: [35, 55]
Generated Node #0,1,1: 68:[35, 55] Operation: 7+48=55
Exploring Operation: 35/7=5, Resulting Numbers: [48, 5]
Generated Node #0,1,2: 68:[48, 5] Operation: 35/7=5
Exploring Operation: 48-35=13, Resulting Numbers: [7, 13]
Generated Node #0,1,3: 68:[7, 13] Operation: 48-35=13
Moving to Node #0,0
Current State: 68:[9, 48, 37], Operations: ['44-7=37']
Exploring Operation: 9+48=57, Resulting Numbers: [37, 57]
Generated Node #0,0,0: 68:[37, 57] Operation: 9+48=57
Exploring Operation: 37-9=28, Resulting Numbers: [48, 28]
Generated Node #0,0,1: 68:[48, 28] Operation: 37-9=28
Exploring Operation: 48-9=39, Resulting Numbers: [37, 39]
Generated Node #0,0,2: 68:[37, 39] Operation: 48-9=39
Exploring Operation: 48-37=11, Resulting Numbers: [9, 11]
Generated Node #0,0,3: 68:[9, 11] Operation: 48-37=11
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 68:[37, 39], Operations: ['44-7=37', '48-9=39']
Exploring Operation: 39-37=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Exploring Operation: 37*39=1443, Resulting Numbers: [1443]
1443,68 unequal: No Solution
Exploring Operation: 37+39=76, Resulting Numbers: [76]
76,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 68:[9, 11], Operations: ['44-7=37', '48-37=11']
Exploring Operation: 9+11=20, Resulting Numbers: [20]
20,68 unequal: No Solution
Exploring Operation: 9*11=99, Resulting Numbers: [99]
99,68 unequal: No Solution
Exploring Operation: 11-9=2, Resulting Numbers: [2]
2,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 68:[37, 57], Operations: ['44-7=37', '9+48=57']
Exploring Operation: 37*57=2109, Resulting Numbers: [2109]
2109,68 unequal: No Solution
Exploring Operation: 37+57=94, Resulting Numbers: [94]
94,68 unequal: No Solution
Exploring Operation: 57-37=20, Resulting Numbers: [20]
20,68 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 68:[48, 28], Operations: ['44-7=37', '37-9=28']
Exploring Operation: 48*28=1344, Resulting Numbers: [1344]
1344,68 unequal: No Solution
Exploring Operation: 48+28=76, Resulting Numbers: [76]
76,68 unequal: No Solution
Exploring Operation: 48-28=20, Resulting Numbers: [20]
20,68 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: 68:[4, 2], Operations: ['48-44=4', '9-7=2']
Exploring Operation: 4*2=8, Resulting Numbers: [8]
8,68 unequal: No Solution
Exploring Operation: 4+2=6, Resulting Numbers: [6]
6,68 unequal: No Solution
Exploring Operation: 4/2=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Exploring Operation: 4-2=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Moving to Node #0,2,2
Current State: 68:[4, 16], Operations: ['48-44=4', '7+9=16']
Exploring Operation: 4*16=64, Resulting Numbers: [64]
64,68 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,68 unequal: No Solution
Exploring Operation: 4+16=20, Resulting Numbers: [20]
20,68 unequal: No Solution
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,68 unequal: No Solution
Moving to Node #0,2,1
Current State: 68:[7, 5], Operations: ['48-44=4', '9-4=5']
Exploring Operation: 7+5=12, Resulting Numbers: [12]
12,68 unequal: No Solution
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Exploring Operation: 7*5=35, Resulting Numbers: [35]
35,68 unequal: No Solution
Moving to Node #0,3,1
Current State: 68:[7, 5], Operations: ['48-9=39', '44-39=5']
Exploring Operation: 7*5=35, Resulting Numbers: [35]
35,68 unequal: No Solution
Exploring Operation: 7+5=12, Resulting Numbers: [12]
12,68 unequal: No Solution
Exploring Operation: 7-5=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Moving to Node #0,2,3
Current State: 68:[4, 63], Operations: ['48-44=4', '7*9=63']
Exploring Operation: 4+63=67, Resulting Numbers: [67]
67,68 unequal: No Solution
Exploring Operation: 4*63=252, Resulting Numbers: [252]
252,68 unequal: No Solution
Exploring Operation: 63-4=59, Resulting Numbers: [59]
59,68 unequal: No Solution
Moving to Node #0,1,3
Current State: 68:[7, 13], Operations: ['44-9=35', '48-35=13']
Exploring Operation: 7*13=91, Resulting Numbers: [91]
91,68 unequal: No Solution
Exploring Operation: 13-7=6, Resulting Numbers: [6]
6,68 unequal: No Solution
Exploring Operation: 7+13=20, Resulting Numbers: [20]
20,68 unequal: No Solution
Moving to Node #0,3,0
Current State: 68:[39, 37], Operations: ['48-9=39', '44-7=37']
Exploring Operation: 39-37=2, Resulting Numbers: [2]
2,68 unequal: No Solution
Exploring Operation: 39+37=76, Resulting Numbers: [76]
76,68 unequal: No Solution
Exploring Operation: 39*37=1443, Resulting Numbers: [1443]
1443,68 unequal: No Solution
Moving to Node #0,1,0
Current State: 68:[35, 41], Operations: ['44-9=35', '48-7=41']
Exploring Operation: 35+41=76, Resulting Numbers: [76]
76,68 unequal: No Solution
Exploring Operation: 35*41=1435, Resulting Numbers: [1435]
1435,68 unequal: No Solution
Exploring Operation: 41-35=6, Resulting Numbers: [6]
6,68 unequal: No Solution
Moving to Node #0,3,3
Current State: 68:[44, 32], Operations: ['48-9=39', '39-7=32']
Exploring Operation: 44*32=1408, Resulting Numbers: [1408]
1408,68 unequal: No Solution
Exploring Operation: 44+32=76, Resulting Numbers: [76]
76,68 unequal: No Solution
Exploring Operation: 44-32=12, Resulting Numbers: [12]
12,68 unequal: No Solution
Moving to Node #0,1,1
Current State: 68:[35, 55], Operations: ['44-9=35', '7+48=55']
Exploring Operation: 55-35=20, Resulting Numbers: [20]
20,68 unequal: No Solution
Exploring Operation: 35*55=1925, Resulting Numbers: [1925]
1925,68 unequal: No Solution
Exploring Operation: 35+55=90, Resulting Numbers: [90]
90,68 unequal: No Solution
Moving to Node #0,1,2
Current State: 68:[48, 5], Operations: ['44-9=35', '35/7=5']
Exploring Operation: 48-5=43, Resulting Numbers: [43]
43,68 unequal: No Solution
Exploring Operation: 48+5=53, Resulting Numbers: [53]
53,68 unequal: No Solution
Exploring Operation: 48*5=240, Resulting Numbers: [240]
240,68 unequal: No Solution
Moving to Node #0,3,2
Current State: 68:[7, 83], Operations: ['48-9=39', '44+39=83']
Exploring Operation: 83-7=76, Resulting Numbers: [76]
76,68 unequal: No Solution
Exploring Operation: 7+83=90, Resulting Numbers: [90]
90,68 unequal: No Solution
Exploring Operation: 7*83=581, Resulting Numbers: [581]
581,68 unequal: No Solution
No solution found.
| 0 | hs_4 | mult_heuristic |
[
20,
2,
79,
3
] | 100 | [
"20-2=18",
"79+3=82",
"18+82=100"
] | Current State: 100:[20, 2, 79, 3], Operations: []
Exploring Operation: 20-2=18, Resulting Numbers: [79, 3, 18]
Generated Node #2: [79, 3, 18] from Operation: 20-2=18
Current State: 100:[79, 3, 18], Operations: ['20-2=18']
Exploring Operation: 79+3=82, Resulting Numbers: [18, 82]
Generated Node #3: [18, 82] from Operation: 79+3=82
Current State: 100:[18, 82], Operations: ['20-2=18', '79+3=82']
Exploring Operation: 18+82=100, Resulting Numbers: [100]
100,100 equal: Goal Reached
| 4 | Current State: 100:[20, 2, 79, 3], Operations: []
Exploring Operation: 20+79=99, Resulting Numbers: [2, 3, 99]
Generated Node #0,0: 100:[2, 3, 99] Operation: 20+79=99
Moving to Node #0,0
Current State: 100:[2, 3, 99], Operations: ['20+79=99']
Exploring Operation: 2+3=5, Resulting Numbers: [99, 5]
Generated Node #0,0,0: 100:[99, 5] Operation: 2+3=5
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 100:[99, 5], Operations: ['20+79=99', '2+3=5']
Exploring Operation: 99+5=104, Resulting Numbers: [104]
104,100 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
9,
49,
72,
78
] | 52 | [
"9+49=58",
"78-72=6",
"58-6=52"
] | Current State: 52:[9, 49, 72, 78], Operations: []
Exploring Operation: 9+49=58, Resulting Numbers: [72, 78, 58]
Generated Node #2: [72, 78, 58] from Operation: 9+49=58
Current State: 52:[72, 78, 58], Operations: ['9+49=58']
Exploring Operation: 78-72=6, Resulting Numbers: [58, 6]
Generated Node #3: [58, 6] from Operation: 78-72=6
Current State: 52:[58, 6], Operations: ['9+49=58', '78-72=6']
Exploring Operation: 58-6=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[9, 49, 72, 78], Operations: []
Exploring Operation: 78-72=6, Resulting Numbers: [9, 49, 6]
Generated Node #0,0: 52:[9, 49, 6] Operation: 78-72=6
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[9, 49, 6], Operations: ['78-72=6']
Exploring Operation: 9-6=3, Resulting Numbers: [49, 3]
Generated Node #0,0,0: 52:[49, 3] Operation: 9-6=3
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 52:[49, 3], Operations: ['78-72=6', '9-6=3']
Exploring Operation: 49+3=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[9, 49, 72, 78], Operations: []
Exploring Operation: 78-72=6, Resulting Numbers: [9, 49, 6]
Generated Node #0,0: 52:[9, 49, 6] Operation: 78-72=6
Moving to Node #0,0
Current State: 52:[9, 49, 6], Operations: ['78-72=6']
Exploring Operation: 9-6=3, Resulting Numbers: [49, 3]
Generated Node #0,0,0: 52:[49, 3] Operation: 9-6=3
Moving to Node #0,0,0
Current State: 52:[49, 3], Operations: ['78-72=6', '9-6=3']
Exploring Operation: 49+3=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.993924 | hs_1 | sum_heuristic |
[
36,
40,
30,
35
] | 10 | [
"36-35=1",
"40-30=10",
"1*10=10"
] | Current State: 10:[36, 40, 30, 35], Operations: []
Exploring Operation: 36-35=1, Resulting Numbers: [40, 30, 1]
Generated Node #2: [40, 30, 1] from Operation: 36-35=1
Current State: 10:[40, 30, 1], Operations: ['36-35=1']
Exploring Operation: 40-30=10, Resulting Numbers: [1, 10]
Generated Node #3: [1, 10] from Operation: 40-30=10
Current State: 10:[1, 10], Operations: ['36-35=1', '40-30=10']
Exploring Operation: 1*10=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[36, 40, 30, 35], Operations: []
Exploring Operation: 36-35=1, Resulting Numbers: [40, 30, 1]
Generated Node #0,0: 10:[40, 30, 1] Operation: 36-35=1
Exploring Operation: 40-36=4, Resulting Numbers: [30, 35, 4]
Generated Node #0,1: 10:[30, 35, 4] Operation: 40-36=4
Exploring Operation: 40-35=5, Resulting Numbers: [36, 30, 5]
Generated Node #0,2: 10:[36, 30, 5] Operation: 40-35=5
Start Sub Search at level 1: Moving to Node #0,1
Current State: 10:[30, 35, 4], Operations: ['40-36=4']
Exploring Operation: 35-4=31, Resulting Numbers: [30, 31]
Generated Node #0,1,0: 10:[30, 31] Operation: 35-4=31
Exploring Operation: 30-4=26, Resulting Numbers: [35, 26]
Generated Node #0,1,1: 10:[35, 26] Operation: 30-4=26
Exploring Operation: 35-30=5, Resulting Numbers: [4, 5]
Generated Node #0,1,2: 10:[4, 5] Operation: 35-30=5
Moving to Node #0,1,2
Current State: 10:[4, 5], Operations: ['40-36=4', '35-30=5']
Exploring Operation: 5-4=1, Resulting Numbers: [1]
1,10 unequal: No Solution
Exploring Operation: 4+5=9, Resulting Numbers: [9]
9,10 unequal: No Solution
Exploring Operation: 4*5=20, Resulting Numbers: [20]
20,10 unequal: No Solution
Moving to Node #0,1,0
Current State: 10:[30, 31], Operations: ['40-36=4', '35-4=31']
Exploring Operation: 30+31=61, Resulting Numbers: [61]
61,10 unequal: No Solution
Exploring Operation: 30*31=930, Resulting Numbers: [930]
930,10 unequal: No Solution
Exploring Operation: 31-30=1, Resulting Numbers: [1]
1,10 unequal: No Solution
Moving to Node #0,1,1
Current State: 10:[35, 26], Operations: ['40-36=4', '30-4=26']
Exploring Operation: 35+26=61, Resulting Numbers: [61]
61,10 unequal: No Solution
Exploring Operation: 35-26=9, Resulting Numbers: [9]
9,10 unequal: No Solution
Exploring Operation: 35*26=910, Resulting Numbers: [910]
910,10 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2
Current State: 10:[36, 30, 5], Operations: ['40-35=5']
Exploring Operation: 36-5=31, Resulting Numbers: [30, 31]
Generated Node #0,2,0: 10:[30, 31] Operation: 36-5=31
Exploring Operation: 36-30=6, Resulting Numbers: [5, 6]
Generated Node #0,2,1: 10:[5, 6] Operation: 36-30=6
Exploring Operation: 30/5=6, Resulting Numbers: [36, 6]
Generated Node #0,2,2: 10:[36, 6] Operation: 30/5=6
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 10:[5, 6], Operations: ['40-35=5', '36-30=6']
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,10 unequal: No Solution
Exploring Operation: 5*6=30, Resulting Numbers: [30]
30,10 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 10:[36, 6], Operations: ['40-35=5', '30/5=6']
Exploring Operation: 36-6=30, Resulting Numbers: [30]
30,10 unequal: No Solution
Exploring Operation: 36+6=42, Resulting Numbers: [42]
42,10 unequal: No Solution
Exploring Operation: 36/6=6, Resulting Numbers: [6]
6,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 10:[30, 31], Operations: ['40-35=5', '36-5=31']
Exploring Operation: 31-30=1, Resulting Numbers: [1]
1,10 unequal: No Solution
Exploring Operation: 30*31=930, Resulting Numbers: [930]
930,10 unequal: No Solution
Exploring Operation: 30+31=61, Resulting Numbers: [61]
61,10 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0
Current State: 10:[40, 30, 1], Operations: ['36-35=1']
Exploring Operation: 30-1=29, Resulting Numbers: [40, 29]
Generated Node #0,0,0: 10:[40, 29] Operation: 30-1=29
Exploring Operation: 40-1=39, Resulting Numbers: [30, 39]
Generated Node #0,0,1: 10:[30, 39] Operation: 40-1=39
Exploring Operation: 40-30=10, Resulting Numbers: [1, 10]
Generated Node #0,0,2: 10:[1, 10] Operation: 40-30=10
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 10:[1, 10], Operations: ['36-35=1', '40-30=10']
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[36, 40, 30, 35], Operations: []
Exploring Operation: 36-35=1, Resulting Numbers: [40, 30, 1]
Generated Node #0,0: 10:[40, 30, 1] Operation: 36-35=1
Moving to Node #0,0
Current State: 10:[40, 30, 1], Operations: ['36-35=1']
Exploring Operation: 40-30=10, Resulting Numbers: [1, 10]
Generated Node #0,0,2: 10:[1, 10] Operation: 40-30=10
Moving to Node #0,0,2
Current State: 10:[1, 10], Operations: ['36-35=1', '40-30=10']
Exploring Operation: 10/1=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.969618 | hs_3 | mult_heuristic |
[
81,
42,
45,
5
] | 33 | [
"81*5=405",
"405/45=9",
"42-9=33"
] | Current State: 33:[81, 42, 45, 5], Operations: []
Exploring Operation: 81*5=405, Resulting Numbers: [42, 45, 405]
Generated Node #2: [42, 45, 405] from Operation: 81*5=405
Current State: 33:[42, 45, 405], Operations: ['81*5=405']
Exploring Operation: 405/45=9, Resulting Numbers: [42, 9]
Generated Node #3: [42, 9] from Operation: 405/45=9
Current State: 33:[42, 9], Operations: ['81*5=405', '405/45=9']
Exploring Operation: 42-9=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[81, 42, 45, 5], Operations: []
Exploring Operation: 81-42=39, Resulting Numbers: [45, 5, 39]
Generated Node #0,0: 33:[45, 5, 39] Operation: 81-42=39
Exploring Operation: 81-45=36, Resulting Numbers: [42, 5, 36]
Generated Node #0,1: 33:[42, 5, 36] Operation: 81-45=36
Moving to Node #0,1
Current State: 33:[42, 5, 36], Operations: ['81-45=36']
Exploring Operation: 42-36=6, Resulting Numbers: [5, 6]
Generated Node #0,1,0: 33:[5, 6] Operation: 42-36=6
Exploring Operation: 42-5=37, Resulting Numbers: [36, 37]
Generated Node #0,1,1: 33:[36, 37] Operation: 42-5=37
Moving to Node #0,0
Current State: 33:[45, 5, 39], Operations: ['81-42=39']
Exploring Operation: 45-39=6, Resulting Numbers: [5, 6]
Generated Node #0,0,0: 33:[5, 6] Operation: 45-39=6
Exploring Operation: 45/5=9, Resulting Numbers: [39, 9]
Generated Node #0,0,1: 33:[39, 9] Operation: 45/5=9
Moving to Node #0,1,0
Current State: 33:[5, 6], Operations: ['81-45=36', '42-36=6']
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,33 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Moving to Node #0,0,0
Current State: 33:[5, 6], Operations: ['81-42=39', '45-39=6']
Exploring Operation: 5+6=11, Resulting Numbers: [11]
11,33 unequal: No Solution
Exploring Operation: 6-5=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Moving to Node #0,1,1
Current State: 33:[36, 37], Operations: ['81-45=36', '42-5=37']
Exploring Operation: 36+37=73, Resulting Numbers: [73]
73,33 unequal: No Solution
Exploring Operation: 37-36=1, Resulting Numbers: [1]
1,33 unequal: No Solution
Moving to Node #0,0,1
Current State: 33:[39, 9], Operations: ['81-42=39', '45/5=9']
Exploring Operation: 39-9=30, Resulting Numbers: [30]
30,33 unequal: No Solution
Exploring Operation: 39+9=48, Resulting Numbers: [48]
48,33 unequal: No Solution
No solution found.
| 0 | hs_2 | mult_heuristic |
[
59,
22,
74,
33
] | 40 | [
"59+22=81",
"74-33=41",
"81-41=40"
] | Current State: 40:[59, 22, 74, 33], Operations: []
Exploring Operation: 59+22=81, Resulting Numbers: [74, 33, 81]
Generated Node #2: [74, 33, 81] from Operation: 59+22=81
Current State: 40:[74, 33, 81], Operations: ['59+22=81']
Exploring Operation: 74-33=41, Resulting Numbers: [81, 41]
Generated Node #3: [81, 41] from Operation: 74-33=41
Current State: 40:[81, 41], Operations: ['59+22=81', '74-33=41']
Exploring Operation: 81-41=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[59, 22, 74, 33], Operations: []
Exploring Operation: 74-59=15, Resulting Numbers: [22, 33, 15]
Generated Node #0,0: 40:[22, 33, 15] Operation: 74-59=15
Exploring Operation: 74-33=41, Resulting Numbers: [59, 22, 41]
Generated Node #0,1: 40:[59, 22, 41] Operation: 74-33=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 40:[22, 33, 15], Operations: ['74-59=15']
Exploring Operation: 33-22=11, Resulting Numbers: [15, 11]
Generated Node #0,0,0: 40:[15, 11] Operation: 33-22=11
Exploring Operation: 33-15=18, Resulting Numbers: [22, 18]
Generated Node #0,0,1: 40:[22, 18] Operation: 33-15=18
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 40:[22, 18], Operations: ['74-59=15', '33-15=18']
Exploring Operation: 22+18=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Moving to Node #0
Current State: 40:[59, 22, 74, 33], Operations: []
Exploring Operation: 74-59=15, Resulting Numbers: [22, 33, 15]
Generated Node #0,0: 40:[22, 33, 15] Operation: 74-59=15
Moving to Node #0,0
Current State: 40:[22, 33, 15], Operations: ['74-59=15']
Exploring Operation: 33-15=18, Resulting Numbers: [22, 18]
Generated Node #0,0,1: 40:[22, 18] Operation: 33-15=18
Moving to Node #0,0,1
Current State: 40:[22, 18], Operations: ['74-59=15', '33-15=18']
Exploring Operation: 22+18=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.992188 | hs_2 | sum_heuristic |
[
53,
1,
71,
90
] | 73 | [
"53+1=54",
"90-71=19",
"54+19=73"
] | Current State: 73:[53, 1, 71, 90], Operations: []
Exploring Operation: 53+1=54, Resulting Numbers: [71, 90, 54]
Generated Node #2: [71, 90, 54] from Operation: 53+1=54
Current State: 73:[71, 90, 54], Operations: ['53+1=54']
Exploring Operation: 90-71=19, Resulting Numbers: [54, 19]
Generated Node #3: [54, 19] from Operation: 90-71=19
Current State: 73:[54, 19], Operations: ['53+1=54', '90-71=19']
Exploring Operation: 54+19=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
| 4 | Current State: 73:[53, 1, 71, 90], Operations: []
Exploring Operation: 1+71=72, Resulting Numbers: [53, 90, 72]
Generated Node #0,0: 73:[53, 90, 72] Operation: 1+71=72
Exploring Operation: 53*1=53, Resulting Numbers: [71, 90, 53]
Generated Node #0,1: 73:[71, 90, 53] Operation: 53*1=53
Exploring Operation: 90-1=89, Resulting Numbers: [53, 71, 89]
Generated Node #0,2: 73:[53, 71, 89] Operation: 90-1=89
Exploring Operation: 53/1=53, Resulting Numbers: [71, 90, 53]
Generated Node #0,3: 73:[71, 90, 53] Operation: 53/1=53
Exploring Operation: 53+1=54, Resulting Numbers: [71, 90, 54]
Generated Node #0,4: 73:[71, 90, 54] Operation: 53+1=54
Moving to Node #0,0
Current State: 73:[53, 90, 72], Operations: ['1+71=72']
Exploring Operation: 53+90=143, Resulting Numbers: [72, 143]
Generated Node #0,0,0: 73:[72, 143] Operation: 53+90=143
Exploring Operation: 72-53=19, Resulting Numbers: [90, 19]
Generated Node #0,0,1: 73:[90, 19] Operation: 72-53=19
Exploring Operation: 90-72=18, Resulting Numbers: [53, 18]
Generated Node #0,0,2: 73:[53, 18] Operation: 90-72=18
Exploring Operation: 53+72=125, Resulting Numbers: [90, 125]
Generated Node #0,0,3: 73:[90, 125] Operation: 53+72=125
Exploring Operation: 90-53=37, Resulting Numbers: [72, 37]
Generated Node #0,0,4: 73:[72, 37] Operation: 90-53=37
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 73:[72, 37], Operations: ['1+71=72', '90-53=37']
Exploring Operation: 72-37=35, Resulting Numbers: [35]
35,73 unequal: No Solution
Exploring Operation: 72+37=109, Resulting Numbers: [109]
109,73 unequal: No Solution
Exploring Operation: 72*37=2664, Resulting Numbers: [2664]
2664,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 73:[90, 125], Operations: ['1+71=72', '53+72=125']
Exploring Operation: 125-90=35, Resulting Numbers: [35]
35,73 unequal: No Solution
Exploring Operation: 90+125=215, Resulting Numbers: [215]
215,73 unequal: No Solution
Exploring Operation: 90*125=11250, Resulting Numbers: [11250]
11250,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 73:[72, 143], Operations: ['1+71=72', '53+90=143']
Exploring Operation: 143-72=71, Resulting Numbers: [71]
71,73 unequal: No Solution
Exploring Operation: 72+143=215, Resulting Numbers: [215]
215,73 unequal: No Solution
Exploring Operation: 72*143=10296, Resulting Numbers: [10296]
10296,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 73:[90, 19], Operations: ['1+71=72', '72-53=19']
Exploring Operation: 90+19=109, Resulting Numbers: [109]
109,73 unequal: No Solution
Exploring Operation: 90*19=1710, Resulting Numbers: [1710]
1710,73 unequal: No Solution
Exploring Operation: 90-19=71, Resulting Numbers: [71]
71,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 73:[53, 18], Operations: ['1+71=72', '90-72=18']
Exploring Operation: 53-18=35, Resulting Numbers: [35]
35,73 unequal: No Solution
Exploring Operation: 53+18=71, Resulting Numbers: [71]
71,73 unequal: No Solution
Exploring Operation: 53*18=954, Resulting Numbers: [954]
954,73 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: 73:[71, 90, 54], Operations: ['53+1=54']
Exploring Operation: 90+54=144, Resulting Numbers: [71, 144]
Generated Node #0,4,0: 73:[71, 144] Operation: 90+54=144
Exploring Operation: 90-71=19, Resulting Numbers: [54, 19]
Generated Node #0,4,1: 73:[54, 19] Operation: 90-71=19
Exploring Operation: 71+54=125, Resulting Numbers: [90, 125]
Generated Node #0,4,2: 73:[90, 125] Operation: 71+54=125
Exploring Operation: 90-54=36, Resulting Numbers: [71, 36]
Generated Node #0,4,3: 73:[71, 36] Operation: 90-54=36
Exploring Operation: 71-54=17, Resulting Numbers: [90, 17]
Generated Node #0,4,4: 73:[90, 17] Operation: 71-54=17
Start Sub Search at level 1: Moving to Node #0,4,3
Current State: 73:[71, 36], Operations: ['53+1=54', '90-54=36']
Exploring Operation: 71+36=107, Resulting Numbers: [107]
107,73 unequal: No Solution
Exploring Operation: 71-36=35, Resulting Numbers: [35]
35,73 unequal: No Solution
Exploring Operation: 71*36=2556, Resulting Numbers: [2556]
2556,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,2
Current State: 73:[90, 125], Operations: ['53+1=54', '71+54=125']
Exploring Operation: 90*125=11250, Resulting Numbers: [11250]
11250,73 unequal: No Solution
Exploring Operation: 90+125=215, Resulting Numbers: [215]
215,73 unequal: No Solution
Exploring Operation: 125-90=35, Resulting Numbers: [35]
35,73 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,4,0
Current State: 73:[71, 144], Operations: ['53+1=54', '90+54=144']
Exploring Operation: 71*144=10224, Resulting Numbers: [10224]
10224,73 unequal: No Solution
Exploring Operation: 71+144=215, Resulting Numbers: [215]
215,73 unequal: No Solution
Exploring Operation: 144-71=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Moving to Node #0
Current State: 73:[53, 1, 71, 90], Operations: []
Exploring Operation: 53+1=54, Resulting Numbers: [71, 90, 54]
Generated Node #0,4: 73:[71, 90, 54] Operation: 53+1=54
Moving to Node #0,4
Current State: 73:[71, 90, 54], Operations: ['53+1=54']
Exploring Operation: 90+54=144, Resulting Numbers: [71, 144]
Generated Node #0,4,0: 73:[71, 144] Operation: 90+54=144
Moving to Node #0,4,0
Current State: 73:[71, 144], Operations: ['53+1=54', '90+54=144']
Exploring Operation: 144-71=73, Resulting Numbers: [73]
73,73 equal: Goal Reached
Exit Sub Search at level 1
| 0.962674 | hs_5 | sum_heuristic |
[
31,
50,
65,
4
] | 42 | [
"50-31=19",
"65-4=61",
"61-19=42"
] | Current State: 42:[31, 50, 65, 4], Operations: []
Exploring Operation: 50-31=19, Resulting Numbers: [65, 4, 19]
Generated Node #2: [65, 4, 19] from Operation: 50-31=19
Current State: 42:[65, 4, 19], Operations: ['50-31=19']
Exploring Operation: 65-4=61, Resulting Numbers: [19, 61]
Generated Node #3: [19, 61] from Operation: 65-4=61
Current State: 42:[19, 61], Operations: ['50-31=19', '65-4=61']
Exploring Operation: 61-19=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 4 | Current State: 42:[31, 50, 65, 4], Operations: []
Exploring Operation: 65-50=15, Resulting Numbers: [31, 4, 15]
Generated Node #0,0: 42:[31, 4, 15] Operation: 65-50=15
Exploring Operation: 65-31=34, Resulting Numbers: [50, 4, 34]
Generated Node #0,1: 42:[50, 4, 34] Operation: 65-31=34
Exploring Operation: 50-31=19, Resulting Numbers: [65, 4, 19]
Generated Node #0,2: 42:[65, 4, 19] Operation: 50-31=19
Moving to Node #0,0
Current State: 42:[31, 4, 15], Operations: ['65-50=15']
Exploring Operation: 31+15=46, Resulting Numbers: [4, 46]
Generated Node #0,0,0: 42:[4, 46] Operation: 31+15=46
Exploring Operation: 31-4=27, Resulting Numbers: [15, 27]
Generated Node #0,0,1: 42:[15, 27] Operation: 31-4=27
Exploring Operation: 31-15=16, Resulting Numbers: [4, 16]
Generated Node #0,0,2: 42:[4, 16] Operation: 31-15=16
Moving to Node #0,1
Current State: 42:[50, 4, 34], Operations: ['65-31=34']
Exploring Operation: 4+34=38, Resulting Numbers: [50, 38]
Generated Node #0,1,0: 42:[50, 38] Operation: 4+34=38
Exploring Operation: 50-34=16, Resulting Numbers: [4, 16]
Generated Node #0,1,1: 42:[4, 16] Operation: 50-34=16
Exploring Operation: 50-4=46, Resulting Numbers: [34, 46]
Generated Node #0,1,2: 42:[34, 46] Operation: 50-4=46
Moving to Node #0,2
Current State: 42:[65, 4, 19], Operations: ['50-31=19']
Exploring Operation: 65-19=46, Resulting Numbers: [4, 46]
Generated Node #0,2,0: 42:[4, 46] Operation: 65-19=46
Exploring Operation: 65-4=61, Resulting Numbers: [19, 61]
Generated Node #0,2,1: 42:[19, 61] Operation: 65-4=61
Exploring Operation: 19-4=15, Resulting Numbers: [65, 15]
Generated Node #0,2,2: 42:[65, 15] Operation: 19-4=15
Moving to Node #0,0,2
Current State: 42:[4, 16], Operations: ['65-50=15', '31-15=16']
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,42 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Exploring Operation: 4+16=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Moving to Node #0,1,1
Current State: 42:[4, 16], Operations: ['65-31=34', '50-34=16']
Exploring Operation: 16-4=12, Resulting Numbers: [12]
12,42 unequal: No Solution
Exploring Operation: 4+16=20, Resulting Numbers: [20]
20,42 unequal: No Solution
Exploring Operation: 16/4=4, Resulting Numbers: [4]
4,42 unequal: No Solution
Moving to Node #0,2,0
Current State: 42:[4, 46], Operations: ['50-31=19', '65-19=46']
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
Moving to Node #0
Current State: 42:[31, 50, 65, 4], Operations: []
Exploring Operation: 50-31=19, Resulting Numbers: [65, 4, 19]
Generated Node #0,2: 42:[65, 4, 19] Operation: 50-31=19
Moving to Node #0,2
Current State: 42:[65, 4, 19], Operations: ['50-31=19']
Exploring Operation: 65-19=46, Resulting Numbers: [4, 46]
Generated Node #0,2,0: 42:[4, 46] Operation: 65-19=46
Moving to Node #0,2,0
Current State: 42:[4, 46], Operations: ['50-31=19', '65-19=46']
Exploring Operation: 46-4=42, Resulting Numbers: [42]
42,42 equal: Goal Reached
| 0.980035 | hs_3 | sum_heuristic |
[
33,
37,
28,
76
] | 52 | [
"37-33=4",
"76-28=48",
"4+48=52"
] | Current State: 52:[33, 37, 28, 76], Operations: []
Exploring Operation: 37-33=4, Resulting Numbers: [28, 76, 4]
Generated Node #2: [28, 76, 4] from Operation: 37-33=4
Current State: 52:[28, 76, 4], Operations: ['37-33=4']
Exploring Operation: 76-28=48, Resulting Numbers: [4, 48]
Generated Node #3: [4, 48] from Operation: 76-28=48
Current State: 52:[4, 48], Operations: ['37-33=4', '76-28=48']
Exploring Operation: 4+48=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
| 4 | Current State: 52:[33, 37, 28, 76], Operations: []
Exploring Operation: 76-37=39, Resulting Numbers: [33, 28, 39]
Generated Node #0,0: 52:[33, 28, 39] Operation: 76-37=39
Exploring Operation: 76-33=43, Resulting Numbers: [37, 28, 43]
Generated Node #0,1: 52:[37, 28, 43] Operation: 76-33=43
Start Sub Search at level 1: Moving to Node #0,0
Current State: 52:[33, 28, 39], Operations: ['76-37=39']
Exploring Operation: 39-28=11, Resulting Numbers: [33, 11]
Generated Node #0,0,0: 52:[33, 11] Operation: 39-28=11
Exploring Operation: 39-33=6, Resulting Numbers: [28, 6]
Generated Node #0,0,1: 52:[28, 6] Operation: 39-33=6
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 52:[28, 6], Operations: ['76-37=39', '39-33=6']
Exploring Operation: 28+6=34, Resulting Numbers: [34]
34,52 unequal: No Solution
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 52:[33, 11], Operations: ['76-37=39', '39-28=11']
Exploring Operation: 33/11=3, Resulting Numbers: [3]
3,52 unequal: No Solution
Exploring Operation: 33-11=22, Resulting Numbers: [22]
22,52 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: 52:[37, 28, 43], Operations: ['76-33=43']
Exploring Operation: 43-37=6, Resulting Numbers: [28, 6]
Generated Node #0,1,0: 52:[28, 6] Operation: 43-37=6
Exploring Operation: 37-28=9, Resulting Numbers: [43, 9]
Generated Node #0,1,1: 52:[43, 9] Operation: 37-28=9
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 52:[28, 6], Operations: ['76-33=43', '43-37=6']
Exploring Operation: 28-6=22, Resulting Numbers: [22]
22,52 unequal: No Solution
Exploring Operation: 28+6=34, Resulting Numbers: [34]
34,52 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 52:[43, 9], Operations: ['76-33=43', '37-28=9']
Exploring Operation: 43-9=34, Resulting Numbers: [34]
34,52 unequal: No Solution
Exploring Operation: 43+9=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Moving to Node #0
Current State: 52:[33, 37, 28, 76], Operations: []
Exploring Operation: 76-33=43, Resulting Numbers: [37, 28, 43]
Generated Node #0,1: 52:[37, 28, 43] Operation: 76-33=43
Moving to Node #0,1
Current State: 52:[37, 28, 43], Operations: ['76-33=43']
Exploring Operation: 37-28=9, Resulting Numbers: [43, 9]
Generated Node #0,1,1: 52:[43, 9] Operation: 37-28=9
Moving to Node #0,1,1
Current State: 52:[43, 9], Operations: ['76-33=43', '37-28=9']
Exploring Operation: 43+9=52, Resulting Numbers: [52]
52,52 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.984375 | hs_2 | sum_heuristic |
[
88,
89,
31,
91
] | 40 | [
"91-88=3",
"89+31=120",
"120/3=40"
] | Current State: 40:[88, 89, 31, 91], Operations: []
Exploring Operation: 91-88=3, Resulting Numbers: [89, 31, 3]
Generated Node #2: [89, 31, 3] from Operation: 91-88=3
Current State: 40:[89, 31, 3], Operations: ['91-88=3']
Exploring Operation: 89+31=120, Resulting Numbers: [3, 120]
Generated Node #3: [3, 120] from Operation: 89+31=120
Current State: 40:[3, 120], Operations: ['91-88=3', '89+31=120']
Exploring Operation: 120/3=40, Resulting Numbers: [40]
40,40 equal: Goal Reached
| 4 | Current State: 40:[88, 89, 31, 91], Operations: []
Exploring Operation: 91-89=2, Resulting Numbers: [88, 31, 2]
Generated Node #0,0: 40:[88, 31, 2] Operation: 91-89=2
Exploring Operation: 89-31=58, Resulting Numbers: [88, 91, 58]
Generated Node #0,1: 40:[88, 91, 58] Operation: 89-31=58
Exploring Operation: 88-31=57, Resulting Numbers: [89, 91, 57]
Generated Node #0,2: 40:[89, 91, 57] Operation: 88-31=57
Exploring Operation: 91-88=3, Resulting Numbers: [89, 31, 3]
Generated Node #0,3: 40:[89, 31, 3] Operation: 91-88=3
Exploring Operation: 89-88=1, Resulting Numbers: [31, 91, 1]
Generated Node #0,4: 40:[31, 91, 1] Operation: 89-88=1
Moving to Node #0,0
Current State: 40:[88, 31, 2], Operations: ['91-89=2']
Exploring Operation: 31-2=29, Resulting Numbers: [88, 29]
Generated Node #0,0,0: 40:[88, 29] Operation: 31-2=29
Exploring Operation: 88-2=86, Resulting Numbers: [31, 86]
Generated Node #0,0,1: 40:[31, 86] Operation: 88-2=86
Exploring Operation: 88-31=57, Resulting Numbers: [2, 57]
Generated Node #0,0,2: 40:[2, 57] Operation: 88-31=57
Exploring Operation: 88/2=44, Resulting Numbers: [31, 44]
Generated Node #0,0,3: 40:[31, 44] Operation: 88/2=44
Exploring Operation: 31+2=33, Resulting Numbers: [88, 33]
Generated Node #0,0,4: 40:[88, 33] Operation: 31+2=33
Moving to Node #0,3
Current State: 40:[89, 31, 3], Operations: ['91-88=3']
Exploring Operation: 31+3=34, Resulting Numbers: [89, 34]
Generated Node #0,3,0: 40:[89, 34] Operation: 31+3=34
Exploring Operation: 89-31=58, Resulting Numbers: [3, 58]
Generated Node #0,3,1: 40:[3, 58] Operation: 89-31=58
Exploring Operation: 31-3=28, Resulting Numbers: [89, 28]
Generated Node #0,3,2: 40:[89, 28] Operation: 31-3=28
Exploring Operation: 89+3=92, Resulting Numbers: [31, 92]
Generated Node #0,3,3: 40:[31, 92] Operation: 89+3=92
Exploring Operation: 89-3=86, Resulting Numbers: [31, 86]
Generated Node #0,3,4: 40:[31, 86] Operation: 89-3=86
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 40:[3, 58], Operations: ['91-88=3', '89-31=58']
Exploring Operation: 3+58=61, Resulting Numbers: [61]
61,40 unequal: No Solution
Exploring Operation: 3*58=174, Resulting Numbers: [174]
174,40 unequal: No Solution
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,40 unequal: No Solution
No 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: 40:[89, 34], Operations: ['91-88=3', '31+3=34']
Exploring Operation: 89-34=55, Resulting Numbers: [55]
55,40 unequal: No Solution
Exploring Operation: 89*34=3026, Resulting Numbers: [3026]
3026,40 unequal: No Solution
Exploring Operation: 89+34=123, Resulting Numbers: [123]
123,40 unequal: No Solution
No 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: 40:[31, 86], Operations: ['91-88=3', '89-3=86']
Exploring Operation: 31+86=117, Resulting Numbers: [117]
117,40 unequal: No Solution
Exploring Operation: 86-31=55, Resulting Numbers: [55]
55,40 unequal: No Solution
Exploring Operation: 31*86=2666, Resulting Numbers: [2666]
2666,40 unequal: No Solution
No 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: 40:[89, 28], Operations: ['91-88=3', '31-3=28']
Exploring Operation: 89-28=61, Resulting Numbers: [61]
61,40 unequal: No Solution
Exploring Operation: 89+28=117, Resulting Numbers: [117]
117,40 unequal: No Solution
Exploring Operation: 89*28=2492, Resulting Numbers: [2492]
2492,40 unequal: No Solution
No 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: 40:[31, 92], Operations: ['91-88=3', '89+3=92']
Exploring Operation: 31+92=123, Resulting Numbers: [123]
123,40 unequal: No Solution
Exploring Operation: 31*92=2852, Resulting Numbers: [2852]
2852,40 unequal: No Solution
Exploring Operation: 92-31=61, Resulting Numbers: [61]
61,40 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: 40:[31, 91, 1], Operations: ['89-88=1']
Exploring Operation: 31+1=32, Resulting Numbers: [91, 32]
Generated Node #0,4,0: 40:[91, 32] Operation: 31+1=32
Exploring Operation: 31/1=31, Resulting Numbers: [91, 31]
Generated Node #0,4,1: 40:[91, 31] Operation: 31/1=31
Exploring Operation: 91-1=90, Resulting Numbers: [31, 90]
Generated Node #0,4,2: 40:[31, 90] Operation: 91-1=90
Exploring Operation: 91-31=60, Resulting Numbers: [1, 60]
Generated Node #0,4,3: 40:[1, 60] Operation: 91-31=60
Exploring Operation: 31*1=31, Resulting Numbers: [91, 31]
Generated Node #0,4,4: 40:[91, 31] Operation: 31*1=31
Moving to Node #0,1
Current State: 40:[88, 91, 58], Operations: ['89-31=58']
Exploring Operation: 91-58=33, Resulting Numbers: [88, 33]
Generated Node #0,1,0: 40:[88, 33] Operation: 91-58=33
Exploring Operation: 88-58=30, Resulting Numbers: [91, 30]
Generated Node #0,1,1: 40:[91, 30] Operation: 88-58=30
Exploring Operation: 88+58=146, Resulting Numbers: [91, 146]
Generated Node #0,1,2: 40:[91, 146] Operation: 88+58=146
Exploring Operation: 88+91=179, Resulting Numbers: [58, 179]
Generated Node #0,1,3: 40:[58, 179] Operation: 88+91=179
Exploring Operation: 91-88=3, Resulting Numbers: [58, 3]
Generated Node #0,1,4: 40:[58, 3] Operation: 91-88=3
Moving to Node #0,2
Current State: 40:[89, 91, 57], Operations: ['88-31=57']
Exploring Operation: 89-57=32, Resulting Numbers: [91, 32]
Generated Node #0,2,0: 40:[91, 32] Operation: 89-57=32
Exploring Operation: 89+91=180, Resulting Numbers: [57, 180]
Generated Node #0,2,1: 40:[57, 180] Operation: 89+91=180
Exploring Operation: 89+57=146, Resulting Numbers: [91, 146]
Generated Node #0,2,2: 40:[91, 146] Operation: 89+57=146
Exploring Operation: 91-89=2, Resulting Numbers: [57, 2]
Generated Node #0,2,3: 40:[57, 2] Operation: 91-89=2
Exploring Operation: 91-57=34, Resulting Numbers: [89, 34]
Generated Node #0,2,4: 40:[89, 34] Operation: 91-57=34
Moving to Node #0,0,3
Current State: 40:[31, 44], Operations: ['91-89=2', '88/2=44']
Exploring Operation: 31+44=75, Resulting Numbers: [75]
75,40 unequal: No Solution
Exploring Operation: 31*44=1364, Resulting Numbers: [1364]
1364,40 unequal: No Solution
Exploring Operation: 44-31=13, Resulting Numbers: [13]
13,40 unequal: No Solution
Moving to Node #0,0,2
Current State: 40:[2, 57], Operations: ['91-89=2', '88-31=57']
Exploring Operation: 2*57=114, Resulting Numbers: [114]
114,40 unequal: No Solution
Exploring Operation: 2+57=59, Resulting Numbers: [59]
59,40 unequal: No Solution
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,40 unequal: No Solution
Moving to Node #0,2,3
Current State: 40:[57, 2], Operations: ['88-31=57', '91-89=2']
Exploring Operation: 57-2=55, Resulting Numbers: [55]
55,40 unequal: No Solution
Exploring Operation: 57+2=59, Resulting Numbers: [59]
59,40 unequal: No Solution
Exploring Operation: 57*2=114, Resulting Numbers: [114]
114,40 unequal: No Solution
Moving to Node #0,1,4
Current State: 40:[58, 3], Operations: ['89-31=58', '91-88=3']
Exploring Operation: 58+3=61, Resulting Numbers: [61]
61,40 unequal: No Solution
Exploring Operation: 58*3=174, Resulting Numbers: [174]
174,40 unequal: No Solution
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,40 unequal: No Solution
Moving to Node #0,4,3
Current State: 40:[1, 60], Operations: ['89-88=1', '91-31=60']
Exploring Operation: 60-1=59, Resulting Numbers: [59]
59,40 unequal: No Solution
Exploring Operation: 60/1=60, Resulting Numbers: [60]
60,40 unequal: No Solution
Exploring Operation: 1+60=61, Resulting Numbers: [61]
61,40 unequal: No Solution
Exploring Operation: 1*60=60, Resulting Numbers: [60]
60,40 unequal: No Solution
Moving to Node #0,0,1
Current State: 40:[31, 86], Operations: ['91-89=2', '88-2=86']
Exploring Operation: 31*86=2666, Resulting Numbers: [2666]
2666,40 unequal: No Solution
Exploring Operation: 86-31=55, Resulting Numbers: [55]
55,40 unequal: No Solution
Exploring Operation: 31+86=117, Resulting Numbers: [117]
117,40 unequal: No Solution
Moving to Node #0,1,0
Current State: 40:[88, 33], Operations: ['89-31=58', '91-58=33']
Exploring Operation: 88-33=55, Resulting Numbers: [55]
55,40 unequal: No Solution
Exploring Operation: 88+33=121, Resulting Numbers: [121]
121,40 unequal: No Solution
Exploring Operation: 88*33=2904, Resulting Numbers: [2904]
2904,40 unequal: No Solution
Moving to Node #0,0,4
Current State: 40:[88, 33], Operations: ['91-89=2', '31+2=33']
Exploring Operation: 88+33=121, Resulting Numbers: [121]
121,40 unequal: No Solution
Exploring Operation: 88-33=55, Resulting Numbers: [55]
55,40 unequal: No Solution
Exploring Operation: 88*33=2904, Resulting Numbers: [2904]
2904,40 unequal: No Solution
Moving to Node #0,2,4
Current State: 40:[89, 34], Operations: ['88-31=57', '91-57=34']
Exploring Operation: 89*34=3026, Resulting Numbers: [3026]
3026,40 unequal: No Solution
Exploring Operation: 89+34=123, Resulting Numbers: [123]
123,40 unequal: No Solution
Exploring Operation: 89-34=55, Resulting Numbers: [55]
55,40 unequal: No Solution
Moving to Node #0,0,0
Current State: 40:[88, 29], Operations: ['91-89=2', '31-2=29']
Exploring Operation: 88*29=2552, Resulting Numbers: [2552]
2552,40 unequal: No Solution
Exploring Operation: 88+29=117, Resulting Numbers: [117]
117,40 unequal: No Solution
Exploring Operation: 88-29=59, Resulting Numbers: [59]
59,40 unequal: No Solution
Moving to Node #0,4,0
Current State: 40:[91, 32], Operations: ['89-88=1', '31+1=32']
Exploring Operation: 91+32=123, Resulting Numbers: [123]
123,40 unequal: No Solution
Exploring Operation: 91*32=2912, Resulting Numbers: [2912]
2912,40 unequal: No Solution
Exploring Operation: 91-32=59, Resulting Numbers: [59]
59,40 unequal: No Solution
Moving to Node #0,2,0
Current State: 40:[91, 32], Operations: ['88-31=57', '89-57=32']
Exploring Operation: 91-32=59, Resulting Numbers: [59]
59,40 unequal: No Solution
Exploring Operation: 91*32=2912, Resulting Numbers: [2912]
2912,40 unequal: No Solution
Exploring Operation: 91+32=123, Resulting Numbers: [123]
123,40 unequal: No Solution
Moving to Node #0,4,2
Current State: 40:[31, 90], Operations: ['89-88=1', '91-1=90']
Exploring Operation: 31+90=121, Resulting Numbers: [121]
121,40 unequal: No Solution
Exploring Operation: 31*90=2790, Resulting Numbers: [2790]
2790,40 unequal: No Solution
Exploring Operation: 90-31=59, Resulting Numbers: [59]
59,40 unequal: No Solution
Moving to Node #0,4,1
Current State: 40:[91, 31], Operations: ['89-88=1', '31/1=31']
Exploring Operation: 91+31=122, Resulting Numbers: [122]
122,40 unequal: No Solution
Exploring Operation: 91-31=60, Resulting Numbers: [60]
60,40 unequal: No Solution
Exploring Operation: 91*31=2821, Resulting Numbers: [2821]
2821,40 unequal: No Solution
Moving to Node #0,4,4
Current State: 40:[91, 31], Operations: ['89-88=1', '31*1=31']
Exploring Operation: 91*31=2821, Resulting Numbers: [2821]
2821,40 unequal: No Solution
Exploring Operation: 91+31=122, Resulting Numbers: [122]
122,40 unequal: No Solution
Exploring Operation: 91-31=60, Resulting Numbers: [60]
60,40 unequal: No Solution
Moving to Node #0,1,1
Current State: 40:[91, 30], Operations: ['89-31=58', '88-58=30']
Exploring Operation: 91-30=61, Resulting Numbers: [61]
61,40 unequal: No Solution
Exploring Operation: 91*30=2730, Resulting Numbers: [2730]
2730,40 unequal: No Solution
Exploring Operation: 91+30=121, Resulting Numbers: [121]
121,40 unequal: No Solution
Moving to Node #0,1,2
Current State: 40:[91, 146], Operations: ['89-31=58', '88+58=146']
Exploring Operation: 91+146=237, Resulting Numbers: [237]
237,40 unequal: No Solution
Exploring Operation: 91*146=13286, Resulting Numbers: [13286]
13286,40 unequal: No Solution
Exploring Operation: 146-91=55, Resulting Numbers: [55]
55,40 unequal: No Solution
Moving to Node #0,2,1
Current State: 40:[57, 180], Operations: ['88-31=57', '89+91=180']
Exploring Operation: 57+180=237, Resulting Numbers: [237]
237,40 unequal: No Solution
Exploring Operation: 180-57=123, Resulting Numbers: [123]
123,40 unequal: No Solution
Exploring Operation: 57*180=10260, Resulting Numbers: [10260]
10260,40 unequal: No Solution
Moving to Node #0,1,3
Current State: 40:[58, 179], Operations: ['89-31=58', '88+91=179']
Exploring Operation: 58+179=237, Resulting Numbers: [237]
237,40 unequal: No Solution
Exploring Operation: 58*179=10382, Resulting Numbers: [10382]
10382,40 unequal: No Solution
Exploring Operation: 179-58=121, Resulting Numbers: [121]
121,40 unequal: No Solution
Moving to Node #0,2,2
Current State: 40:[91, 146], Operations: ['88-31=57', '89+57=146']
Exploring Operation: 91*146=13286, Resulting Numbers: [13286]
13286,40 unequal: No Solution
Exploring Operation: 146-91=55, Resulting Numbers: [55]
55,40 unequal: No Solution
Exploring Operation: 91+146=237, Resulting Numbers: [237]
237,40 unequal: No Solution
No solution found.
| 0 | hs_5 | sum_heuristic |
[
53,
66,
80,
61
] | 76 | [
"61-53=8",
"80/8=10",
"66+10=76"
] | Current State: 76:[53, 66, 80, 61], Operations: []
Exploring Operation: 61-53=8, Resulting Numbers: [66, 80, 8]
Generated Node #2: [66, 80, 8] from Operation: 61-53=8
Current State: 76:[66, 80, 8], Operations: ['61-53=8']
Exploring Operation: 80/8=10, Resulting Numbers: [66, 10]
Generated Node #3: [66, 10] from Operation: 80/8=10
Current State: 76:[66, 10], Operations: ['61-53=8', '80/8=10']
Exploring Operation: 66+10=76, Resulting Numbers: [76]
76,76 equal: Goal Reached
| 4 | Current State: 76:[53, 66, 80, 61], Operations: []
Exploring Operation: 61-53=8, Resulting Numbers: [66, 80, 8]
Generated Node #0,0: 76:[66, 80, 8] Operation: 61-53=8
Exploring Operation: 66-61=5, Resulting Numbers: [53, 80, 5]
Generated Node #0,1: 76:[53, 80, 5] Operation: 66-61=5
Exploring Operation: 66-53=13, Resulting Numbers: [80, 61, 13]
Generated Node #0,2: 76:[80, 61, 13] Operation: 66-53=13
Start Sub Search at level 1: Moving to Node #0,0
Current State: 76:[66, 80, 8], Operations: ['61-53=8']
Exploring Operation: 80-66=14, Resulting Numbers: [8, 14]
Generated Node #0,0,0: 76:[8, 14] Operation: 80-66=14
Exploring Operation: 66+8=74, Resulting Numbers: [80, 74]
Generated Node #0,0,1: 76:[80, 74] Operation: 66+8=74
Exploring Operation: 80-8=72, Resulting Numbers: [66, 72]
Generated Node #0,0,2: 76:[66, 72] Operation: 80-8=72
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 76:[80, 74], Operations: ['61-53=8', '66+8=74']
Exploring Operation: 80+74=154, Resulting Numbers: [154]
154,76 unequal: No Solution
Exploring Operation: 80-74=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Exploring Operation: 80*74=5920, Resulting Numbers: [5920]
5920,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 76:[8, 14], Operations: ['61-53=8', '80-66=14']
Exploring Operation: 8+14=22, Resulting Numbers: [22]
22,76 unequal: No Solution
Exploring Operation: 14-8=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Exploring Operation: 8*14=112, Resulting Numbers: [112]
112,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,0,2
Current State: 76:[66, 72], Operations: ['61-53=8', '80-8=72']
Exploring Operation: 72-66=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Exploring Operation: 66+72=138, Resulting Numbers: [138]
138,76 unequal: No Solution
Exploring Operation: 66*72=4752, Resulting Numbers: [4752]
4752,76 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: 76:[53, 80, 5], Operations: ['66-61=5']
Exploring Operation: 53-5=48, Resulting Numbers: [80, 48]
Generated Node #0,1,0: 76:[80, 48] Operation: 53-5=48
Exploring Operation: 80-5=75, Resulting Numbers: [53, 75]
Generated Node #0,1,1: 76:[53, 75] Operation: 80-5=75
Exploring Operation: 80-53=27, Resulting Numbers: [5, 27]
Generated Node #0,1,2: 76:[5, 27] Operation: 80-53=27
Moving to Node #0,1,2
Current State: 76:[5, 27], Operations: ['66-61=5', '80-53=27']
Exploring Operation: 5*27=135, Resulting Numbers: [135]
135,76 unequal: No Solution
Exploring Operation: 27-5=22, Resulting Numbers: [22]
22,76 unequal: No Solution
Exploring Operation: 5+27=32, Resulting Numbers: [32]
32,76 unequal: No Solution
Moving to Node #0,1,0
Current State: 76:[80, 48], Operations: ['66-61=5', '53-5=48']
Exploring Operation: 80+48=128, Resulting Numbers: [128]
128,76 unequal: No Solution
Exploring Operation: 80-48=32, Resulting Numbers: [32]
32,76 unequal: No Solution
Exploring Operation: 80*48=3840, Resulting Numbers: [3840]
3840,76 unequal: No Solution
Moving to Node #0,1,1
Current State: 76:[53, 75], Operations: ['66-61=5', '80-5=75']
Exploring Operation: 53+75=128, Resulting Numbers: [128]
128,76 unequal: No Solution
Exploring Operation: 53*75=3975, Resulting Numbers: [3975]
3975,76 unequal: No Solution
Exploring Operation: 75-53=22, Resulting Numbers: [22]
22,76 unequal: No Solution
No 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: 76:[80, 61, 13], Operations: ['66-53=13']
Exploring Operation: 61-13=48, Resulting Numbers: [80, 48]
Generated Node #0,2,0: 76:[80, 48] Operation: 61-13=48
Exploring Operation: 80-61=19, Resulting Numbers: [13, 19]
Generated Node #0,2,1: 76:[13, 19] Operation: 80-61=19
Exploring Operation: 61+13=74, Resulting Numbers: [80, 74]
Generated Node #0,2,2: 76:[80, 74] Operation: 61+13=74
Start Sub Search at level 2: Moving to Node #0,2,1
Current State: 76:[13, 19], Operations: ['66-53=13', '80-61=19']
Exploring Operation: 19-13=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Exploring Operation: 13*19=247, Resulting Numbers: [247]
247,76 unequal: No Solution
Exploring Operation: 13+19=32, Resulting Numbers: [32]
32,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 76:[80, 74], Operations: ['66-53=13', '61+13=74']
Exploring Operation: 80-74=6, Resulting Numbers: [6]
6,76 unequal: No Solution
Exploring Operation: 80+74=154, Resulting Numbers: [154]
154,76 unequal: No Solution
Exploring Operation: 80*74=5920, Resulting Numbers: [5920]
5920,76 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
Start Sub Search at level 2: Moving to Node #0,2,0
Current State: 76:[80, 48], Operations: ['66-53=13', '61-13=48']
Exploring Operation: 80+48=128, Resulting Numbers: [128]
128,76 unequal: No Solution
Exploring Operation: 80*48=3840, Resulting Numbers: [3840]
3840,76 unequal: No Solution
Exploring Operation: 80-48=32, Resulting Numbers: [32]
32,76 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 |
[
12,
13,
83,
41
] | 67 | [
"12+13=25",
"83-41=42",
"25+42=67"
] | Current State: 67:[12, 13, 83, 41], Operations: []
Exploring Operation: 12+13=25, Resulting Numbers: [83, 41, 25]
Generated Node #2: [83, 41, 25] from Operation: 12+13=25
Current State: 67:[83, 41, 25], Operations: ['12+13=25']
Exploring Operation: 83-41=42, Resulting Numbers: [25, 42]
Generated Node #3: [25, 42] from Operation: 83-41=42
Current State: 67:[25, 42], Operations: ['12+13=25', '83-41=42']
Exploring Operation: 25+42=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
| 4 | Current State: 67:[12, 13, 83, 41], Operations: []
Exploring Operation: 83-12=71, Resulting Numbers: [13, 41, 71]
Generated Node #0,0: 67:[13, 41, 71] Operation: 83-12=71
Exploring Operation: 12+13=25, Resulting Numbers: [83, 41, 25]
Generated Node #0,1: 67:[83, 41, 25] Operation: 12+13=25
Exploring Operation: 83-13=70, Resulting Numbers: [12, 41, 70]
Generated Node #0,2: 67:[12, 41, 70] Operation: 83-13=70
Exploring Operation: 12+41=53, Resulting Numbers: [13, 83, 53]
Generated Node #0,3: 67:[13, 83, 53] Operation: 12+41=53
Exploring Operation: 13+41=54, Resulting Numbers: [12, 83, 54]
Generated Node #0,4: 67:[12, 83, 54] Operation: 13+41=54
Moving to Node #0,0
Current State: 67:[13, 41, 71], Operations: ['83-12=71']
Exploring Operation: 41-13=28, Resulting Numbers: [71, 28]
Generated Node #0,0,0: 67:[71, 28] Operation: 41-13=28
Exploring Operation: 71-13=58, Resulting Numbers: [41, 58]
Generated Node #0,0,1: 67:[41, 58] Operation: 71-13=58
Exploring Operation: 71-41=30, Resulting Numbers: [13, 30]
Generated Node #0,0,2: 67:[13, 30] Operation: 71-41=30
Exploring Operation: 13+71=84, Resulting Numbers: [41, 84]
Generated Node #0,0,3: 67:[41, 84] Operation: 13+71=84
Exploring Operation: 13+41=54, Resulting Numbers: [71, 54]
Generated Node #0,0,4: 67:[71, 54] Operation: 13+41=54
Start Sub Search at level 1: Moving to Node #0,0,4
Current State: 67:[71, 54], Operations: ['83-12=71', '13+41=54']
Exploring Operation: 71-54=17, Resulting Numbers: [17]
17,67 unequal: No Solution
Exploring Operation: 71+54=125, Resulting Numbers: [125]
125,67 unequal: No Solution
Exploring Operation: 71*54=3834, Resulting Numbers: [3834]
3834,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,1
Current State: 67:[41, 58], Operations: ['83-12=71', '71-13=58']
Exploring Operation: 58-41=17, Resulting Numbers: [17]
17,67 unequal: No Solution
Exploring Operation: 41*58=2378, Resulting Numbers: [2378]
2378,67 unequal: No Solution
Exploring Operation: 41+58=99, Resulting Numbers: [99]
99,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 67:[71, 28], Operations: ['83-12=71', '41-13=28']
Exploring Operation: 71+28=99, Resulting Numbers: [99]
99,67 unequal: No Solution
Exploring Operation: 71-28=43, Resulting Numbers: [43]
43,67 unequal: No Solution
Exploring Operation: 71*28=1988, Resulting Numbers: [1988]
1988,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 67:[41, 84], Operations: ['83-12=71', '13+71=84']
Exploring Operation: 84-41=43, Resulting Numbers: [43]
43,67 unequal: No Solution
Exploring Operation: 41+84=125, Resulting Numbers: [125]
125,67 unequal: No Solution
Exploring Operation: 41*84=3444, Resulting Numbers: [3444]
3444,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,0,2
Current State: 67:[13, 30], Operations: ['83-12=71', '71-41=30']
Exploring Operation: 13+30=43, Resulting Numbers: [43]
43,67 unequal: No Solution
Exploring Operation: 30-13=17, Resulting Numbers: [17]
17,67 unequal: No Solution
Exploring Operation: 13*30=390, Resulting Numbers: [390]
390,67 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: 67:[12, 41, 70], Operations: ['83-13=70']
Exploring Operation: 12+70=82, Resulting Numbers: [41, 82]
Generated Node #0,2,0: 67:[41, 82] Operation: 12+70=82
Exploring Operation: 70-41=29, Resulting Numbers: [12, 29]
Generated Node #0,2,1: 67:[12, 29] Operation: 70-41=29
Exploring Operation: 70-12=58, Resulting Numbers: [41, 58]
Generated Node #0,2,2: 67:[41, 58] Operation: 70-12=58
Exploring Operation: 41-12=29, Resulting Numbers: [70, 29]
Generated Node #0,2,3: 67:[70, 29] Operation: 41-12=29
Exploring Operation: 12+41=53, Resulting Numbers: [70, 53]
Generated Node #0,2,4: 67:[70, 53] Operation: 12+41=53
Start Sub Search at level 1: Moving to Node #0,2,4
Current State: 67:[70, 53], Operations: ['83-13=70', '12+41=53']
Exploring Operation: 70-53=17, Resulting Numbers: [17]
17,67 unequal: No Solution
Exploring Operation: 70+53=123, Resulting Numbers: [123]
123,67 unequal: No Solution
Exploring Operation: 70*53=3710, Resulting Numbers: [3710]
3710,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,2
Current State: 67:[41, 58], Operations: ['83-13=70', '70-12=58']
Exploring Operation: 58-41=17, Resulting Numbers: [17]
17,67 unequal: No Solution
Exploring Operation: 41*58=2378, Resulting Numbers: [2378]
2378,67 unequal: No Solution
Exploring Operation: 41+58=99, Resulting Numbers: [99]
99,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 67:[41, 82], Operations: ['83-13=70', '12+70=82']
Exploring Operation: 41+82=123, Resulting Numbers: [123]
123,67 unequal: No Solution
Exploring Operation: 82/41=2, Resulting Numbers: [2]
2,67 unequal: No Solution
Exploring Operation: 82-41=41, Resulting Numbers: [41]
41,67 unequal: No Solution
Exploring Operation: 41*82=3362, Resulting Numbers: [3362]
3362,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 67:[70, 29], Operations: ['83-13=70', '41-12=29']
Exploring Operation: 70+29=99, Resulting Numbers: [99]
99,67 unequal: No Solution
Exploring Operation: 70*29=2030, Resulting Numbers: [2030]
2030,67 unequal: No Solution
Exploring Operation: 70-29=41, Resulting Numbers: [41]
41,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,2,1
Current State: 67:[12, 29], Operations: ['83-13=70', '70-41=29']
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,67 unequal: No Solution
Exploring Operation: 12+29=41, Resulting Numbers: [41]
41,67 unequal: No Solution
Exploring Operation: 12*29=348, Resulting Numbers: [348]
348,67 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: 67:[12, 83, 54], Operations: ['13+41=54']
Exploring Operation: 54-12=42, Resulting Numbers: [83, 42]
Generated Node #0,4,0: 67:[83, 42] Operation: 54-12=42
Exploring Operation: 83-54=29, Resulting Numbers: [12, 29]
Generated Node #0,4,1: 67:[12, 29] Operation: 83-54=29
Exploring Operation: 83-12=71, Resulting Numbers: [54, 71]
Generated Node #0,4,2: 67:[54, 71] Operation: 83-12=71
Exploring Operation: 12+54=66, Resulting Numbers: [83, 66]
Generated Node #0,4,3: 67:[83, 66] Operation: 12+54=66
Exploring Operation: 12+83=95, Resulting Numbers: [54, 95]
Generated Node #0,4,4: 67:[54, 95] Operation: 12+83=95
Moving to Node #0,1
Current State: 67:[83, 41, 25], Operations: ['12+13=25']
Exploring Operation: 41-25=16, Resulting Numbers: [83, 16]
Generated Node #0,1,0: 67:[83, 16] Operation: 41-25=16
Exploring Operation: 41+25=66, Resulting Numbers: [83, 66]
Generated Node #0,1,1: 67:[83, 66] Operation: 41+25=66
Exploring Operation: 83-25=58, Resulting Numbers: [41, 58]
Generated Node #0,1,2: 67:[41, 58] Operation: 83-25=58
Exploring Operation: 83-41=42, Resulting Numbers: [25, 42]
Generated Node #0,1,3: 67:[25, 42] Operation: 83-41=42
Exploring Operation: 83+25=108, Resulting Numbers: [41, 108]
Generated Node #0,1,4: 67:[41, 108] Operation: 83+25=108
Start Sub Search at level 1: Moving to Node #0,1,1
Current State: 67:[83, 66], Operations: ['12+13=25', '41+25=66']
Exploring Operation: 83*66=5478, Resulting Numbers: [5478]
5478,67 unequal: No Solution
Exploring Operation: 83+66=149, Resulting Numbers: [149]
149,67 unequal: No Solution
Exploring Operation: 83-66=17, Resulting Numbers: [17]
17,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,2
Current State: 67:[41, 58], Operations: ['12+13=25', '83-25=58']
Exploring Operation: 58-41=17, Resulting Numbers: [17]
17,67 unequal: No Solution
Exploring Operation: 41+58=99, Resulting Numbers: [99]
99,67 unequal: No Solution
Exploring Operation: 41*58=2378, Resulting Numbers: [2378]
2378,67 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1,0
Current State: 67:[83, 16], Operations: ['12+13=25', '41-25=16']
Exploring Operation: 83*16=1328, Resulting Numbers: [1328]
1328,67 unequal: No Solution
Exploring Operation: 83+16=99, Resulting Numbers: [99]
99,67 unequal: No Solution
Exploring Operation: 83-16=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Moving to Node #0
Current State: 67:[12, 13, 83, 41], Operations: []
Exploring Operation: 12+13=25, Resulting Numbers: [83, 41, 25]
Generated Node #0,1: 67:[83, 41, 25] Operation: 12+13=25
Moving to Node #0,1
Current State: 67:[83, 41, 25], Operations: ['12+13=25']
Exploring Operation: 41-25=16, Resulting Numbers: [83, 16]
Generated Node #0,1,0: 67:[83, 16] Operation: 41-25=16
Moving to Node #0,1,0
Current State: 67:[83, 16], Operations: ['12+13=25', '41-25=16']
Exploring Operation: 83-16=67, Resulting Numbers: [67]
67,67 equal: Goal Reached
Exit Sub Search at level 1
| 0.940104 | hs_5 | mult_heuristic |
[
25,
5,
61,
17
] | 64 | [
"25-5=20",
"61-17=44",
"20+44=64"
] | Current State: 64:[25, 5, 61, 17], Operations: []
Exploring Operation: 25-5=20, Resulting Numbers: [61, 17, 20]
Generated Node #2: [61, 17, 20] from Operation: 25-5=20
Current State: 64:[61, 17, 20], Operations: ['25-5=20']
Exploring Operation: 61-17=44, Resulting Numbers: [20, 44]
Generated Node #3: [20, 44] from Operation: 61-17=44
Current State: 64:[20, 44], Operations: ['25-5=20', '61-17=44']
Exploring Operation: 20+44=64, Resulting Numbers: [64]
64,64 equal: Goal Reached
| 4 | Current State: 64:[25, 5, 61, 17], Operations: []
Exploring Operation: 25-17=8, Resulting Numbers: [5, 61, 8]
Generated Node #0,0: 64:[5, 61, 8] Operation: 25-17=8
Moving to Node #0,0
Current State: 64:[5, 61, 8], Operations: ['25-17=8']
Exploring Operation: 5+61=66, Resulting Numbers: [8, 66]
Generated Node #0,0,0: 64:[8, 66] Operation: 5+61=66
Start Sub Search at level 1: Moving to Node #0,0,0
Current State: 64:[8, 66], Operations: ['25-17=8', '5+61=66']
Exploring Operation: 66-8=58, Resulting Numbers: [58]
58,64 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,
17,
46,
14
] | 91 | [
"42+17=59",
"46-14=32",
"59+32=91"
] | Current State: 91:[42, 17, 46, 14], Operations: []
Exploring Operation: 42+17=59, Resulting Numbers: [46, 14, 59]
Generated Node #2: [46, 14, 59] from Operation: 42+17=59
Current State: 91:[46, 14, 59], Operations: ['42+17=59']
Exploring Operation: 46-14=32, Resulting Numbers: [59, 32]
Generated Node #3: [59, 32] from Operation: 46-14=32
Current State: 91:[59, 32], Operations: ['42+17=59', '46-14=32']
Exploring Operation: 59+32=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 4 | Current State: 91:[42, 17, 46, 14], Operations: []
Exploring Operation: 42+46=88, Resulting Numbers: [17, 14, 88]
Generated Node #0,0: 91:[17, 14, 88] Operation: 42+46=88
Exploring Operation: 46-42=4, Resulting Numbers: [17, 14, 4]
Generated Node #0,1: 91:[17, 14, 4] Operation: 46-42=4
Moving to Node #0,0
Current State: 91:[17, 14, 88], Operations: ['42+46=88']
Exploring Operation: 17+88=105, Resulting Numbers: [14, 105]
Generated Node #0,0,0: 91:[14, 105] Operation: 17+88=105
Exploring Operation: 17-14=3, Resulting Numbers: [88, 3]
Generated Node #0,0,1: 91:[88, 3] Operation: 17-14=3
Moving to Node #0,1
Current State: 91:[17, 14, 4], Operations: ['46-42=4']
Exploring Operation: 17-4=13, Resulting Numbers: [14, 13]
Generated Node #0,1,0: 91:[14, 13] Operation: 17-4=13
Exploring Operation: 17-14=3, Resulting Numbers: [4, 3]
Generated Node #0,1,1: 91:[4, 3] Operation: 17-14=3
Moving to Node #0,1,0
Current State: 91:[14, 13], Operations: ['46-42=4', '17-4=13']
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,91 unequal: No Solution
Exploring Operation: 14+13=27, Resulting Numbers: [27]
27,91 unequal: No Solution
Moving to Node #0,0,1
Current State: 91:[88, 3], Operations: ['42+46=88', '17-14=3']
Exploring Operation: 88+3=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
Moving to Node #0
Current State: 91:[42, 17, 46, 14], Operations: []
Exploring Operation: 42+46=88, Resulting Numbers: [17, 14, 88]
Generated Node #0,0: 91:[17, 14, 88] Operation: 42+46=88
Moving to Node #0,0
Current State: 91:[17, 14, 88], Operations: ['42+46=88']
Exploring Operation: 17-14=3, Resulting Numbers: [88, 3]
Generated Node #0,0,1: 91:[88, 3] Operation: 17-14=3
Moving to Node #0,0,1
Current State: 91:[88, 3], Operations: ['42+46=88', '17-14=3']
Exploring Operation: 88+3=91, Resulting Numbers: [91]
91,91 equal: Goal Reached
| 0.988715 | hs_2 | sum_heuristic |
[
94,
86,
46,
5
] | 33 | [
"94-86=8",
"46-5=41",
"41-8=33"
] | Current State: 33:[94, 86, 46, 5], Operations: []
Exploring Operation: 94-86=8, Resulting Numbers: [46, 5, 8]
Generated Node #2: [46, 5, 8] from Operation: 94-86=8
Current State: 33:[46, 5, 8], Operations: ['94-86=8']
Exploring Operation: 46-5=41, Resulting Numbers: [8, 41]
Generated Node #3: [8, 41] from Operation: 46-5=41
Current State: 33:[8, 41], Operations: ['94-86=8', '46-5=41']
Exploring Operation: 41-8=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 4 | Current State: 33:[94, 86, 46, 5], Operations: []
Exploring Operation: 94-46=48, Resulting Numbers: [86, 5, 48]
Generated Node #0,0: 33:[86, 5, 48] Operation: 94-46=48
Exploring Operation: 94-86=8, Resulting Numbers: [46, 5, 8]
Generated Node #0,1: 33:[46, 5, 8] Operation: 94-86=8
Moving to Node #0,1
Current State: 33:[46, 5, 8], Operations: ['94-86=8']
Exploring Operation: 46-5=41, Resulting Numbers: [8, 41]
Generated Node #0,1,0: 33:[8, 41] Operation: 46-5=41
Exploring Operation: 46-8=38, Resulting Numbers: [5, 38]
Generated Node #0,1,1: 33:[5, 38] Operation: 46-8=38
Moving to Node #0,0
Current State: 33:[86, 5, 48], Operations: ['94-46=48']
Exploring Operation: 86-5=81, Resulting Numbers: [48, 81]
Generated Node #0,0,0: 33:[48, 81] Operation: 86-5=81
Exploring Operation: 86-48=38, Resulting Numbers: [5, 38]
Generated Node #0,0,1: 33:[5, 38] Operation: 86-48=38
Moving to Node #0,1,1
Current State: 33:[5, 38], Operations: ['94-86=8', '46-8=38']
Exploring Operation: 5+38=43, Resulting Numbers: [43]
43,33 unequal: No Solution
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
Moving to Node #0
Current State: 33:[94, 86, 46, 5], Operations: []
Exploring Operation: 94-86=8, Resulting Numbers: [46, 5, 8]
Generated Node #0,1: 33:[46, 5, 8] Operation: 94-86=8
Moving to Node #0,1
Current State: 33:[46, 5, 8], Operations: ['94-86=8']
Exploring Operation: 46-8=38, Resulting Numbers: [5, 38]
Generated Node #0,1,1: 33:[5, 38] Operation: 46-8=38
Moving to Node #0,1,1
Current State: 33:[5, 38], Operations: ['94-86=8', '46-8=38']
Exploring Operation: 38-5=33, Resulting Numbers: [33]
33,33 equal: Goal Reached
| 0.989583 | hs_2 | sum_heuristic |
[
82,
62,
3,
26
] | 94 | [
"62-26=36",
"36/3=12",
"82+12=94"
] | Current State: 94:[82, 62, 3, 26], Operations: []
Exploring Operation: 62-26=36, Resulting Numbers: [82, 3, 36]
Generated Node #2: [82, 3, 36] from Operation: 62-26=36
Current State: 94:[82, 3, 36], Operations: ['62-26=36']
Exploring Operation: 36/3=12, Resulting Numbers: [82, 12]
Generated Node #3: [82, 12] from Operation: 36/3=12
Current State: 94:[82, 12], Operations: ['62-26=36', '36/3=12']
Exploring Operation: 82+12=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
| 4 | Current State: 94:[82, 62, 3, 26], Operations: []
Exploring Operation: 82-26=56, Resulting Numbers: [62, 3, 56]
Generated Node #0,0: 94:[62, 3, 56] Operation: 82-26=56
Exploring Operation: 62-26=36, Resulting Numbers: [82, 3, 36]
Generated Node #0,1: 94:[82, 3, 36] Operation: 62-26=36
Exploring Operation: 82+26=108, Resulting Numbers: [62, 3, 108]
Generated Node #0,2: 94:[62, 3, 108] Operation: 82+26=108
Exploring Operation: 82-62=20, Resulting Numbers: [3, 26, 20]
Generated Node #0,3: 94:[3, 26, 20] Operation: 82-62=20
Exploring Operation: 62+26=88, Resulting Numbers: [82, 3, 88]
Generated Node #0,4: 94:[82, 3, 88] Operation: 62+26=88
Start Sub Search at level 1: Moving to Node #0,4
Current State: 94:[82, 3, 88], Operations: ['62+26=88']
Exploring Operation: 88-3=85, Resulting Numbers: [82, 85]
Generated Node #0,4,0: 94:[82, 85] Operation: 88-3=85
Exploring Operation: 3+88=91, Resulting Numbers: [82, 91]
Generated Node #0,4,1: 94:[82, 91] Operation: 3+88=91
Exploring Operation: 88-82=6, Resulting Numbers: [3, 6]
Generated Node #0,4,2: 94:[3, 6] Operation: 88-82=6
Exploring Operation: 82+3=85, Resulting Numbers: [88, 85]
Generated Node #0,4,3: 94:[88, 85] Operation: 82+3=85
Exploring Operation: 82-3=79, Resulting Numbers: [88, 79]
Generated Node #0,4,4: 94:[88, 79] Operation: 82-3=79
Start Sub Search at level 2: Moving to Node #0,4,2
Current State: 94:[3, 6], Operations: ['62+26=88', '88-82=6']
Exploring Operation: 6-3=3, Resulting Numbers: [3]
3,94 unequal: No Solution
Exploring Operation: 3+6=9, Resulting Numbers: [9]
9,94 unequal: No Solution
Exploring Operation: 3*6=18, Resulting Numbers: [18]
18,94 unequal: No Solution
Exploring Operation: 6/3=2, Resulting Numbers: [2]
2,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,4,1
Current State: 94:[82, 91], Operations: ['62+26=88', '3+88=91']
Exploring Operation: 82*91=7462, Resulting Numbers: [7462]
7462,94 unequal: No Solution
Exploring Operation: 82+91=173, Resulting Numbers: [173]
173,94 unequal: No Solution
Exploring Operation: 91-82=9, Resulting Numbers: [9]
9,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,4,3
Current State: 94:[88, 85], Operations: ['62+26=88', '82+3=85']
Exploring Operation: 88+85=173, Resulting Numbers: [173]
173,94 unequal: No Solution
Exploring Operation: 88*85=7480, Resulting Numbers: [7480]
7480,94 unequal: No Solution
Exploring Operation: 88-85=3, Resulting Numbers: [3]
3,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,4,0
Current State: 94:[82, 85], Operations: ['62+26=88', '88-3=85']
Exploring Operation: 82+85=167, Resulting Numbers: [167]
167,94 unequal: No Solution
Exploring Operation: 82*85=6970, Resulting Numbers: [6970]
6970,94 unequal: No Solution
Exploring Operation: 85-82=3, Resulting Numbers: [3]
3,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,4,4
Current State: 94:[88, 79], Operations: ['62+26=88', '82-3=79']
Exploring Operation: 88+79=167, Resulting Numbers: [167]
167,94 unequal: No Solution
Exploring Operation: 88-79=9, Resulting Numbers: [9]
9,94 unequal: No Solution
Exploring Operation: 88*79=6952, Resulting Numbers: [6952]
6952,94 unequal: No Solution
No solution found.
Exit Sub Search at level 2
No solution found in sub search
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,1
Current State: 94:[82, 3, 36], Operations: ['62-26=36']
Exploring Operation: 3+36=39, Resulting Numbers: [82, 39]
Generated Node #0,1,0: 94:[82, 39] Operation: 3+36=39
Exploring Operation: 82-36=46, Resulting Numbers: [3, 46]
Generated Node #0,1,1: 94:[3, 46] Operation: 82-36=46
Exploring Operation: 82+36=118, Resulting Numbers: [3, 118]
Generated Node #0,1,2: 94:[3, 118] Operation: 82+36=118
Exploring Operation: 36/3=12, Resulting Numbers: [82, 12]
Generated Node #0,1,3: 94:[82, 12] Operation: 36/3=12
Exploring Operation: 82+3=85, Resulting Numbers: [36, 85]
Generated Node #0,1,4: 94:[36, 85] Operation: 82+3=85
Start Sub Search at level 2: Moving to Node #0,1,1
Current State: 94:[3, 46], Operations: ['62-26=36', '82-36=46']
Exploring Operation: 3+46=49, Resulting Numbers: [49]
49,94 unequal: No Solution
Exploring Operation: 46-3=43, Resulting Numbers: [43]
43,94 unequal: No Solution
Exploring Operation: 3*46=138, Resulting Numbers: [138]
138,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,1,0
Current State: 94:[82, 39], Operations: ['62-26=36', '3+36=39']
Exploring Operation: 82-39=43, Resulting Numbers: [43]
43,94 unequal: No Solution
Exploring Operation: 82*39=3198, Resulting Numbers: [3198]
3198,94 unequal: No Solution
Exploring Operation: 82+39=121, Resulting Numbers: [121]
121,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,1,4
Current State: 94:[36, 85], Operations: ['62-26=36', '82+3=85']
Exploring Operation: 85-36=49, Resulting Numbers: [49]
49,94 unequal: No Solution
Exploring Operation: 36+85=121, Resulting Numbers: [121]
121,94 unequal: No Solution
Exploring Operation: 36*85=3060, Resulting Numbers: [3060]
3060,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,1,3
Current State: 94:[82, 12], Operations: ['62-26=36', '36/3=12']
Exploring Operation: 82-12=70, Resulting Numbers: [70]
70,94 unequal: No Solution
Exploring Operation: 82*12=984, Resulting Numbers: [984]
984,94 unequal: No Solution
Exploring Operation: 82+12=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Moving to Node #0
Current State: 94:[82, 62, 3, 26], Operations: []
Exploring Operation: 62-26=36, Resulting Numbers: [82, 3, 36]
Generated Node #0,1: 94:[82, 3, 36] Operation: 62-26=36
Moving to Node #0,1
Current State: 94:[82, 3, 36], Operations: ['62-26=36']
Exploring Operation: 36/3=12, Resulting Numbers: [82, 12]
Generated Node #0,1,3: 94:[82, 12] Operation: 36/3=12
Moving to Node #0,1,3
Current State: 94:[82, 12], Operations: ['62-26=36', '36/3=12']
Exploring Operation: 82+12=94, Resulting Numbers: [94]
94,94 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.959201 | hs_5 | mult_heuristic |
[
76,
5,
16,
36
] | 19 | [
"76*5=380",
"36-16=20",
"380/20=19"
] | Current State: 19:[76, 5, 16, 36], Operations: []
Exploring Operation: 76*5=380, Resulting Numbers: [16, 36, 380]
Generated Node #2: [16, 36, 380] from Operation: 76*5=380
Current State: 19:[16, 36, 380], Operations: ['76*5=380']
Exploring Operation: 36-16=20, Resulting Numbers: [380, 20]
Generated Node #3: [380, 20] from Operation: 36-16=20
Current State: 19:[380, 20], Operations: ['76*5=380', '36-16=20']
Exploring Operation: 380/20=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
| 4 | Current State: 19:[76, 5, 16, 36], Operations: []
Exploring Operation: 36-5=31, Resulting Numbers: [76, 16, 31]
Generated Node #0,0: 19:[76, 16, 31] Operation: 36-5=31
Exploring Operation: 76-16=60, Resulting Numbers: [5, 36, 60]
Generated Node #0,1: 19:[5, 36, 60] Operation: 76-16=60
Exploring Operation: 76-36=40, Resulting Numbers: [5, 16, 40]
Generated Node #0,2: 19:[5, 16, 40] Operation: 76-36=40
Exploring Operation: 76-5=71, Resulting Numbers: [16, 36, 71]
Generated Node #0,3: 19:[16, 36, 71] Operation: 76-5=71
Moving to Node #0,2
Current State: 19:[5, 16, 40], Operations: ['76-36=40']
Exploring Operation: 40-5=35, Resulting Numbers: [16, 35]
Generated Node #0,2,0: 19:[16, 35] Operation: 40-5=35
Exploring Operation: 5+16=21, Resulting Numbers: [40, 21]
Generated Node #0,2,1: 19:[40, 21] Operation: 5+16=21
Exploring Operation: 40-16=24, Resulting Numbers: [5, 24]
Generated Node #0,2,2: 19:[5, 24] Operation: 40-16=24
Exploring Operation: 40/5=8, Resulting Numbers: [16, 8]
Generated Node #0,2,3: 19:[16, 8] Operation: 40/5=8
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 19:[16, 8], Operations: ['76-36=40', '40/5=8']
Exploring Operation: 16*8=128, Resulting Numbers: [128]
128,19 unequal: No Solution
Exploring Operation: 16+8=24, Resulting Numbers: [24]
24,19 unequal: No Solution
Exploring Operation: 16/8=2, Resulting Numbers: [2]
2,19 unequal: No Solution
Exploring Operation: 16-8=8, Resulting Numbers: [8]
8,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:[16, 35], Operations: ['76-36=40', '40-5=35']
Exploring Operation: 35-16=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Moving to Node #0
Current State: 19:[76, 5, 16, 36], Operations: []
Exploring Operation: 76-36=40, Resulting Numbers: [5, 16, 40]
Generated Node #0,2: 19:[5, 16, 40] Operation: 76-36=40
Moving to Node #0,2
Current State: 19:[5, 16, 40], Operations: ['76-36=40']
Exploring Operation: 40-5=35, Resulting Numbers: [16, 35]
Generated Node #0,2,0: 19:[16, 35] Operation: 40-5=35
Moving to Node #0,2,0
Current State: 19:[16, 35], Operations: ['76-36=40', '40-5=35']
Exploring Operation: 35-16=19, Resulting Numbers: [19]
19,19 equal: Goal Reached
Exit Sub Search at level 1
| 0.985243 | hs_4 | sum_heuristic |
[
11,
14,
19,
78
] | 26 | [
"11*78=858",
"14+19=33",
"858/33=26"
] | Current State: 26:[11, 14, 19, 78], Operations: []
Exploring Operation: 11*78=858, Resulting Numbers: [14, 19, 858]
Generated Node #2: [14, 19, 858] from Operation: 11*78=858
Current State: 26:[14, 19, 858], Operations: ['11*78=858']
Exploring Operation: 14+19=33, Resulting Numbers: [858, 33]
Generated Node #3: [858, 33] from Operation: 14+19=33
Current State: 26:[858, 33], Operations: ['11*78=858', '14+19=33']
Exploring Operation: 858/33=26, Resulting Numbers: [26]
26,26 equal: Goal Reached
| 4 | Current State: 26:[11, 14, 19, 78], Operations: []
Exploring Operation: 78-19=59, Resulting Numbers: [11, 14, 59]
Generated Node #0,0: 26:[11, 14, 59] Operation: 78-19=59
Start Sub Search at level 1: Moving to Node #0,0
Current State: 26:[11, 14, 59], Operations: ['78-19=59']
Exploring Operation: 59-14=45, Resulting Numbers: [11, 45]
Generated Node #0,0,0: 26:[11, 45] Operation: 59-14=45
Moving to Node #0,0,0
Current State: 26:[11, 45], Operations: ['78-19=59', '59-14=45']
Exploring Operation: 45-11=34, Resulting Numbers: [34]
34,26 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
No solution found.
| 0 | hs_1 | mult_heuristic |
[
39,
87,
71,
37
] | 18 | [
"39+87=126",
"71+37=108",
"126-108=18"
] | Current State: 18:[39, 87, 71, 37], Operations: []
Exploring Operation: 39+87=126, Resulting Numbers: [71, 37, 126]
Generated Node #2: [71, 37, 126] from Operation: 39+87=126
Current State: 18:[71, 37, 126], Operations: ['39+87=126']
Exploring Operation: 71+37=108, Resulting Numbers: [126, 108]
Generated Node #3: [126, 108] from Operation: 71+37=108
Current State: 18:[126, 108], Operations: ['39+87=126', '71+37=108']
Exploring Operation: 126-108=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
| 4 | Current State: 18:[39, 87, 71, 37], Operations: []
Exploring Operation: 87-39=48, Resulting Numbers: [71, 37, 48]
Generated Node #0,0: 18:[71, 37, 48] Operation: 87-39=48
Exploring Operation: 87-71=16, Resulting Numbers: [39, 37, 16]
Generated Node #0,1: 18:[39, 37, 16] Operation: 87-71=16
Start Sub Search at level 1: Moving to Node #0,1
Current State: 18:[39, 37, 16], Operations: ['87-71=16']
Exploring Operation: 39-37=2, Resulting Numbers: [16, 2]
Generated Node #0,1,0: 18:[16, 2] Operation: 39-37=2
Exploring Operation: 39-16=23, Resulting Numbers: [37, 23]
Generated Node #0,1,1: 18:[37, 23] Operation: 39-16=23
Moving to Node #0,1,0
Current State: 18:[16, 2], Operations: ['87-71=16', '39-37=2']
Exploring Operation: 16/2=8, Resulting Numbers: [8]
8,18 unequal: No Solution
Exploring Operation: 16+2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Moving to Node #0
Current State: 18:[39, 87, 71, 37], Operations: []
Exploring Operation: 87-71=16, Resulting Numbers: [39, 37, 16]
Generated Node #0,1: 18:[39, 37, 16] Operation: 87-71=16
Moving to Node #0,1
Current State: 18:[39, 37, 16], Operations: ['87-71=16']
Exploring Operation: 39-37=2, Resulting Numbers: [16, 2]
Generated Node #0,1,0: 18:[16, 2] Operation: 39-37=2
Moving to Node #0,1,0
Current State: 18:[16, 2], Operations: ['87-71=16', '39-37=2']
Exploring Operation: 16+2=18, Resulting Numbers: [18]
18,18 equal: Goal Reached
Exit Sub Search at level 1
| 0.991319 | hs_2 | sum_heuristic |
[
4,
80,
92,
25
] | 87 | [
"80/4=20",
"92-25=67",
"20+67=87"
] | Current State: 87:[4, 80, 92, 25], Operations: []
Exploring Operation: 80/4=20, Resulting Numbers: [92, 25, 20]
Generated Node #2: [92, 25, 20] from Operation: 80/4=20
Current State: 87:[92, 25, 20], Operations: ['80/4=20']
Exploring Operation: 92-25=67, Resulting Numbers: [20, 67]
Generated Node #3: [20, 67] from Operation: 92-25=67
Current State: 87:[20, 67], Operations: ['80/4=20', '92-25=67']
Exploring Operation: 20+67=87, Resulting Numbers: [87]
87,87 equal: Goal Reached
| 4 | Current State: 87:[4, 80, 92, 25], Operations: []
Exploring Operation: 4+80=84, Resulting Numbers: [92, 25, 84]
Generated Node #0,0: 87:[92, 25, 84] Operation: 4+80=84
Exploring Operation: 92-4=88, Resulting Numbers: [80, 25, 88]
Generated Node #0,1: 87:[80, 25, 88] Operation: 92-4=88
Exploring Operation: 4+25=29, Resulting Numbers: [80, 92, 29]
Generated Node #0,2: 87:[80, 92, 29] Operation: 4+25=29
Start Sub Search at level 1: Moving to Node #0,0
Current State: 87:[92, 25, 84], Operations: ['4+80=84']
Exploring Operation: 25+84=109, Resulting Numbers: [92, 109]
Generated Node #0,0,0: 87:[92, 109] Operation: 25+84=109
Exploring Operation: 92-84=8, Resulting Numbers: [25, 8]
Generated Node #0,0,1: 87:[25, 8] Operation: 92-84=8
Exploring Operation: 92-25=67, Resulting Numbers: [84, 67]
Generated Node #0,0,2: 87:[84, 67] Operation: 92-25=67
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 87:[25, 8], Operations: ['4+80=84', '92-84=8']
Exploring Operation: 25*8=200, Resulting Numbers: [200]
200,87 unequal: No Solution
Exploring Operation: 25+8=33, Resulting Numbers: [33]
33,87 unequal: No Solution
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,87 unequal: No Solution
No 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: 87:[84, 67], Operations: ['4+80=84', '92-25=67']
Exploring Operation: 84+67=151, Resulting Numbers: [151]
151,87 unequal: No Solution
Exploring Operation: 84*67=5628, Resulting Numbers: [5628]
5628,87 unequal: No Solution
Exploring Operation: 84-67=17, Resulting Numbers: [17]
17,87 unequal: No Solution
No 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: 87:[92, 109], Operations: ['4+80=84', '25+84=109']
Exploring Operation: 92+109=201, Resulting Numbers: [201]
201,87 unequal: No Solution
Exploring Operation: 92*109=10028, Resulting Numbers: [10028]
10028,87 unequal: No Solution
Exploring Operation: 109-92=17, Resulting Numbers: [17]
17,87 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: 87:[80, 25, 88], Operations: ['92-4=88']
Exploring Operation: 88-80=8, Resulting Numbers: [25, 8]
Generated Node #0,1,0: 87:[25, 8] Operation: 88-80=8
Exploring Operation: 80-25=55, Resulting Numbers: [88, 55]
Generated Node #0,1,1: 87:[88, 55] Operation: 80-25=55
Exploring Operation: 80+25=105, Resulting Numbers: [88, 105]
Generated Node #0,1,2: 87:[88, 105] Operation: 80+25=105
Start Sub Search at level 2: Moving to Node #0,1,0
Current State: 87:[25, 8], Operations: ['92-4=88', '88-80=8']
Exploring Operation: 25+8=33, Resulting Numbers: [33]
33,87 unequal: No Solution
Exploring Operation: 25*8=200, Resulting Numbers: [200]
200,87 unequal: No Solution
Exploring Operation: 25-8=17, Resulting Numbers: [17]
17,87 unequal: No Solution
No 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: 87:[88, 105], Operations: ['92-4=88', '80+25=105']
Exploring Operation: 88+105=193, Resulting Numbers: [193]
193,87 unequal: No Solution
Exploring Operation: 105-88=17, Resulting Numbers: [17]
17,87 unequal: No Solution
Exploring Operation: 88*105=9240, Resulting Numbers: [9240]
9240,87 unequal: No Solution
No 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: 87:[88, 55], Operations: ['92-4=88', '80-25=55']
Exploring Operation: 88+55=143, Resulting Numbers: [143]
143,87 unequal: No Solution
Exploring Operation: 88-55=33, Resulting Numbers: [33]
33,87 unequal: No Solution
Exploring Operation: 88*55=4840, Resulting Numbers: [4840]
4840,87 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: 87:[80, 92, 29], Operations: ['4+25=29']
Exploring Operation: 80-29=51, Resulting Numbers: [92, 51]
Generated Node #0,2,0: 87:[92, 51] Operation: 80-29=51
Exploring Operation: 80+29=109, Resulting Numbers: [92, 109]
Generated Node #0,2,1: 87:[92, 109] Operation: 80+29=109
Exploring Operation: 92-80=12, Resulting Numbers: [29, 12]
Generated Node #0,2,2: 87:[29, 12] Operation: 92-80=12
Start Sub Search at level 2: Moving to Node #0,2,2
Current State: 87:[29, 12], Operations: ['4+25=29', '92-80=12']
Exploring Operation: 29-12=17, Resulting Numbers: [17]
17,87 unequal: No Solution
Exploring Operation: 29+12=41, Resulting Numbers: [41]
41,87 unequal: No Solution
Exploring Operation: 29*12=348, Resulting Numbers: [348]
348,87 unequal: No Solution
No 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: 87:[92, 51], Operations: ['4+25=29', '80-29=51']
Exploring Operation: 92*51=4692, Resulting Numbers: [4692]
4692,87 unequal: No Solution
Exploring Operation: 92+51=143, Resulting Numbers: [143]
143,87 unequal: No Solution
Exploring Operation: 92-51=41, Resulting Numbers: [41]
41,87 unequal: No Solution
No 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: 87:[92, 109], Operations: ['4+25=29', '80+29=109']
Exploring Operation: 92+109=201, Resulting Numbers: [201]
201,87 unequal: No Solution
Exploring Operation: 92*109=10028, Resulting Numbers: [10028]
10028,87 unequal: No Solution
Exploring Operation: 109-92=17, Resulting Numbers: [17]
17,87 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 |
[
82,
12,
41,
68
] | 39 | [
"82-12=70",
"41+68=109",
"109-70=39"
] | Current State: 39:[82, 12, 41, 68], Operations: []
Exploring Operation: 82-12=70, Resulting Numbers: [41, 68, 70]
Generated Node #2: [41, 68, 70] from Operation: 82-12=70
Current State: 39:[41, 68, 70], Operations: ['82-12=70']
Exploring Operation: 41+68=109, Resulting Numbers: [70, 109]
Generated Node #3: [70, 109] from Operation: 41+68=109
Current State: 39:[70, 109], Operations: ['82-12=70', '41+68=109']
Exploring Operation: 109-70=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
| 4 | Current State: 39:[82, 12, 41, 68], Operations: []
Exploring Operation: 82-68=14, Resulting Numbers: [12, 41, 14]
Generated Node #0,0: 39:[12, 41, 14] Operation: 82-68=14
Exploring Operation: 82/41=2, Resulting Numbers: [12, 68, 2]
Generated Node #0,1: 39:[12, 68, 2] Operation: 82/41=2
Exploring Operation: 68-41=27, Resulting Numbers: [82, 12, 27]
Generated Node #0,2: 39:[82, 12, 27] Operation: 68-41=27
Exploring Operation: 82-41=41, Resulting Numbers: [12, 68, 41]
Generated Node #0,3: 39:[12, 68, 41] Operation: 82-41=41
Start Sub Search at level 1: Moving to Node #0,0
Current State: 39:[12, 41, 14], Operations: ['82-68=14']
Exploring Operation: 41-12=29, Resulting Numbers: [14, 29]
Generated Node #0,0,0: 39:[14, 29] Operation: 41-12=29
Exploring Operation: 14-12=2, Resulting Numbers: [41, 2]
Generated Node #0,0,1: 39:[41, 2] Operation: 14-12=2
Exploring Operation: 12+41=53, Resulting Numbers: [14, 53]
Generated Node #0,0,2: 39:[14, 53] Operation: 12+41=53
Exploring Operation: 41-14=27, Resulting Numbers: [12, 27]
Generated Node #0,0,3: 39:[12, 27] Operation: 41-14=27
Moving to Node #0,0,1
Current State: 39:[41, 2], Operations: ['82-68=14', '14-12=2']
Exploring Operation: 41*2=82, Resulting Numbers: [82]
82,39 unequal: No Solution
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Moving to Node #0
Current State: 39:[82, 12, 41, 68], Operations: []
Exploring Operation: 82-68=14, Resulting Numbers: [12, 41, 14]
Generated Node #0,0: 39:[12, 41, 14] Operation: 82-68=14
Moving to Node #0,0
Current State: 39:[12, 41, 14], Operations: ['82-68=14']
Exploring Operation: 14-12=2, Resulting Numbers: [41, 2]
Generated Node #0,0,1: 39:[41, 2] Operation: 14-12=2
Moving to Node #0,0,1
Current State: 39:[41, 2], Operations: ['82-68=14', '14-12=2']
Exploring Operation: 41-2=39, Resulting Numbers: [39]
39,39 equal: Goal Reached
Exit Sub Search at level 1
| 0.987847 | hs_4 | mult_heuristic |
[
92,
43,
75,
69
] | 57 | [
"92*75=6900",
"6900/69=100",
"100-43=57"
] | Current State: 57:[92, 43, 75, 69], Operations: []
Exploring Operation: 92*75=6900, Resulting Numbers: [43, 69, 6900]
Generated Node #2: [43, 69, 6900] from Operation: 92*75=6900
Current State: 57:[43, 69, 6900], Operations: ['92*75=6900']
Exploring Operation: 6900/69=100, Resulting Numbers: [43, 100]
Generated Node #3: [43, 100] from Operation: 6900/69=100
Current State: 57:[43, 100], Operations: ['92*75=6900', '6900/69=100']
Exploring Operation: 100-43=57, Resulting Numbers: [57]
57,57 equal: Goal Reached
| 4 | Current State: 57:[92, 43, 75, 69], Operations: []
Exploring Operation: 92-75=17, Resulting Numbers: [43, 69, 17]
Generated Node #0,0: 57:[43, 69, 17] Operation: 92-75=17
Exploring Operation: 92-43=49, Resulting Numbers: [75, 69, 49]
Generated Node #0,1: 57:[75, 69, 49] Operation: 92-43=49
Exploring Operation: 92-69=23, Resulting Numbers: [43, 75, 23]
Generated Node #0,2: 57:[43, 75, 23] Operation: 92-69=23
Moving to Node #0,0
Current State: 57:[43, 69, 17], Operations: ['92-75=17']
Exploring Operation: 69-43=26, Resulting Numbers: [17, 26]
Generated Node #0,0,0: 57:[17, 26] Operation: 69-43=26
Exploring Operation: 43+17=60, Resulting Numbers: [69, 60]
Generated Node #0,0,1: 57:[69, 60] Operation: 43+17=60
Exploring Operation: 43-17=26, Resulting Numbers: [69, 26]
Generated Node #0,0,2: 57:[69, 26] Operation: 43-17=26
Moving to Node #0,2
Current State: 57:[43, 75, 23], Operations: ['92-69=23']
Exploring Operation: 75-43=32, Resulting Numbers: [23, 32]
Generated Node #0,2,0: 57:[23, 32] Operation: 75-43=32
Exploring Operation: 75-23=52, Resulting Numbers: [43, 52]
Generated Node #0,2,1: 57:[43, 52] Operation: 75-23=52
Exploring Operation: 43-23=20, Resulting Numbers: [75, 20]
Generated Node #0,2,2: 57:[75, 20] Operation: 43-23=20
Start Sub Search at level 1: Moving to Node #0,2,0
Current State: 57:[23, 32], Operations: ['92-69=23', '75-43=32']
Exploring Operation: 23+32=55, Resulting Numbers: [55]
55,57 unequal: No Solution
Exploring Operation: 32-23=9, Resulting Numbers: [9]
9,57 unequal: No Solution
Exploring Operation: 23*32=736, Resulting Numbers: [736]
736,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,2,1
Current State: 57:[43, 52], Operations: ['92-69=23', '75-23=52']
Exploring Operation: 52-43=9, Resulting Numbers: [9]
9,57 unequal: No Solution
Exploring Operation: 43*52=2236, Resulting Numbers: [2236]
2236,57 unequal: No Solution
Exploring Operation: 43+52=95, Resulting Numbers: [95]
95,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,2,2
Current State: 57:[75, 20], Operations: ['92-69=23', '43-23=20']
Exploring Operation: 75-20=55, Resulting Numbers: [55]
55,57 unequal: No Solution
Exploring Operation: 75*20=1500, Resulting Numbers: [1500]
1500,57 unequal: No Solution
Exploring Operation: 75+20=95, Resulting Numbers: [95]
95,57 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Moving to Node #0,1
Current State: 57:[75, 69, 49], Operations: ['92-43=49']
Exploring Operation: 69-49=20, Resulting Numbers: [75, 20]
Generated Node #0,1,0: 57:[75, 20] Operation: 69-49=20
Exploring Operation: 75-69=6, Resulting Numbers: [49, 6]
Generated Node #0,1,1: 57:[49, 6] Operation: 75-69=6
Exploring Operation: 75-49=26, Resulting Numbers: [69, 26]
Generated Node #0,1,2: 57:[69, 26] Operation: 75-49=26
Moving to Node #0,0,0
Current State: 57:[17, 26], Operations: ['92-75=17', '69-43=26']
Exploring Operation: 17+26=43, Resulting Numbers: [43]
43,57 unequal: No Solution
Exploring Operation: 17*26=442, Resulting Numbers: [442]
442,57 unequal: No Solution
Exploring Operation: 26-17=9, Resulting Numbers: [9]
9,57 unequal: No Solution
Moving to Node #0,1,1
Current State: 57:[49, 6], Operations: ['92-43=49', '75-69=6']
Exploring Operation: 49+6=55, Resulting Numbers: [55]
55,57 unequal: No Solution
Exploring Operation: 49-6=43, Resulting Numbers: [43]
43,57 unequal: No Solution
Exploring Operation: 49*6=294, Resulting Numbers: [294]
294,57 unequal: No Solution
Moving to Node #0,0,1
Current State: 57:[69, 60], Operations: ['92-75=17', '43+17=60']
Exploring Operation: 69*60=4140, Resulting Numbers: [4140]
4140,57 unequal: No Solution
Exploring Operation: 69+60=129, Resulting Numbers: [129]
129,57 unequal: No Solution
Exploring Operation: 69-60=9, Resulting Numbers: [9]
9,57 unequal: No Solution
Moving to Node #0,0,2
Current State: 57:[69, 26], Operations: ['92-75=17', '43-17=26']
Exploring Operation: 69*26=1794, Resulting Numbers: [1794]
1794,57 unequal: No Solution
Exploring Operation: 69-26=43, Resulting Numbers: [43]
43,57 unequal: No Solution
Exploring Operation: 69+26=95, Resulting Numbers: [95]
95,57 unequal: No Solution
Moving to Node #0,1,2
Current State: 57:[69, 26], Operations: ['92-43=49', '75-49=26']
Exploring Operation: 69*26=1794, Resulting Numbers: [1794]
1794,57 unequal: No Solution
Exploring Operation: 69+26=95, Resulting Numbers: [95]
95,57 unequal: No Solution
Exploring Operation: 69-26=43, Resulting Numbers: [43]
43,57 unequal: No Solution
Moving to Node #0,1,0
Current State: 57:[75, 20], Operations: ['92-43=49', '69-49=20']
Exploring Operation: 75+20=95, Resulting Numbers: [95]
95,57 unequal: No Solution
Exploring Operation: 75-20=55, Resulting Numbers: [55]
55,57 unequal: No Solution
Exploring Operation: 75*20=1500, Resulting Numbers: [1500]
1500,57 unequal: No Solution
No solution found.
| 0 | hs_3 | sum_heuristic |
[
57,
11,
59,
72
] | 81 | [
"57+11=68",
"72-59=13",
"68+13=81"
] | Current State: 81:[57, 11, 59, 72], Operations: []
Exploring Operation: 57+11=68, Resulting Numbers: [59, 72, 68]
Generated Node #2: [59, 72, 68] from Operation: 57+11=68
Current State: 81:[59, 72, 68], Operations: ['57+11=68']
Exploring Operation: 72-59=13, Resulting Numbers: [68, 13]
Generated Node #3: [68, 13] from Operation: 72-59=13
Current State: 81:[68, 13], Operations: ['57+11=68', '72-59=13']
Exploring Operation: 68+13=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
| 4 | Current State: 81:[57, 11, 59, 72], Operations: []
Exploring Operation: 59-57=2, Resulting Numbers: [11, 72, 2]
Generated Node #0,0: 81:[11, 72, 2] Operation: 59-57=2
Exploring Operation: 72-57=15, Resulting Numbers: [11, 59, 15]
Generated Node #0,1: 81:[11, 59, 15] Operation: 72-57=15
Start Sub Search at level 1: Moving to Node #0,0
Current State: 81:[11, 72, 2], Operations: ['59-57=2']
Exploring Operation: 11-2=9, Resulting Numbers: [72, 9]
Generated Node #0,0,0: 81:[72, 9] Operation: 11-2=9
Exploring Operation: 11+72=83, Resulting Numbers: [2, 83]
Generated Node #0,0,1: 81:[2, 83] Operation: 11+72=83
Start Sub Search at level 2: Moving to Node #0,0,1
Current State: 81:[2, 83], Operations: ['59-57=2', '11+72=83']
Exploring Operation: 2+83=85, Resulting Numbers: [85]
85,81 unequal: No Solution
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Moving to Node #0
Current State: 81:[57, 11, 59, 72], Operations: []
Exploring Operation: 59-57=2, Resulting Numbers: [11, 72, 2]
Generated Node #0,0: 81:[11, 72, 2] Operation: 59-57=2
Moving to Node #0,0
Current State: 81:[11, 72, 2], Operations: ['59-57=2']
Exploring Operation: 11+72=83, Resulting Numbers: [2, 83]
Generated Node #0,0,1: 81:[2, 83] Operation: 11+72=83
Moving to Node #0,0,1
Current State: 81:[2, 83], Operations: ['59-57=2', '11+72=83']
Exploring Operation: 83-2=81, Resulting Numbers: [81]
81,81 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.991319 | hs_2 | mult_heuristic |
[
98,
2,
10,
86
] | 90 | [
"98-10=88",
"2*88=176",
"176-86=90"
] | Current State: 90:[98, 2, 10, 86], Operations: []
Exploring Operation: 98-10=88, Resulting Numbers: [2, 86, 88]
Generated Node #2: [2, 86, 88] from Operation: 98-10=88
Current State: 90:[2, 86, 88], Operations: ['98-10=88']
Exploring Operation: 2*88=176, Resulting Numbers: [86, 176]
Generated Node #3: [86, 176] from Operation: 2*88=176
Current State: 90:[86, 176], Operations: ['98-10=88', '2*88=176']
Exploring Operation: 176-86=90, Resulting Numbers: [90]
90,90 equal: Goal Reached
| 4 | Current State: 90:[98, 2, 10, 86], Operations: []
Exploring Operation: 98-86=12, Resulting Numbers: [2, 10, 12]
Generated Node #0,0: 90:[2, 10, 12] Operation: 98-86=12
Moving to Node #0,0
Current State: 90:[2, 10, 12], Operations: ['98-86=12']
Exploring Operation: 12-2=10, Resulting Numbers: [10, 10]
Generated Node #0,0,0: 90:[10, 10] Operation: 12-2=10
Moving to Node #0,0,0
Current State: 90:[10, 10], Operations: ['98-86=12', '12-2=10']
Exploring Operation: 10/10=1, Resulting Numbers: [1]
1,90 unequal: No Solution
No solution found.
| 0 | hs_1 | mult_heuristic |
[
23,
58,
31,
70
] | 55 | [
"23+70=93",
"93/31=3",
"58-3=55"
] | Current State: 55:[23, 58, 31, 70], Operations: []
Exploring Operation: 23+70=93, Resulting Numbers: [58, 31, 93]
Generated Node #2: [58, 31, 93] from Operation: 23+70=93
Current State: 55:[58, 31, 93], Operations: ['23+70=93']
Exploring Operation: 93/31=3, Resulting Numbers: [58, 3]
Generated Node #3: [58, 3] from Operation: 93/31=3
Current State: 55:[58, 3], Operations: ['23+70=93', '93/31=3']
Exploring Operation: 58-3=55, Resulting Numbers: [55]
55,55 equal: Goal Reached
| 4 | Current State: 55:[23, 58, 31, 70], Operations: []
Exploring Operation: 70-23=47, Resulting Numbers: [58, 31, 47]
Generated Node #0,0: 55:[58, 31, 47] Operation: 70-23=47
Exploring Operation: 70-31=39, Resulting Numbers: [23, 58, 39]
Generated Node #0,1: 55:[23, 58, 39] Operation: 70-31=39
Exploring Operation: 23+31=54, Resulting Numbers: [58, 70, 54]
Generated Node #0,2: 55:[58, 70, 54] Operation: 23+31=54
Exploring Operation: 31-23=8, Resulting Numbers: [58, 70, 8]
Generated Node #0,3: 55:[58, 70, 8] Operation: 31-23=8
Moving to Node #0,2
Current State: 55:[58, 70, 54], Operations: ['23+31=54']
Exploring Operation: 58-54=4, Resulting Numbers: [70, 4]
Generated Node #0,2,0: 55:[70, 4] Operation: 58-54=4
Exploring Operation: 70-54=16, Resulting Numbers: [58, 16]
Generated Node #0,2,1: 55:[58, 16] Operation: 70-54=16
Exploring Operation: 58+54=112, Resulting Numbers: [70, 112]
Generated Node #0,2,2: 55:[70, 112] Operation: 58+54=112
Exploring Operation: 70-58=12, Resulting Numbers: [54, 12]
Generated Node #0,2,3: 55:[54, 12] Operation: 70-58=12
Start Sub Search at level 1: Moving to Node #0,2,3
Current State: 55:[54, 12], Operations: ['23+31=54', '70-58=12']
Exploring Operation: 54-12=42, Resulting Numbers: [42]
42,55 unequal: No Solution
Exploring Operation: 54+12=66, Resulting Numbers: [66]
66,55 unequal: No Solution
Exploring Operation: 54*12=648, Resulting Numbers: [648]
648,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,2,1
Current State: 55:[58, 16], Operations: ['23+31=54', '70-54=16']
Exploring Operation: 58-16=42, Resulting Numbers: [42]
42,55 unequal: No Solution
Exploring Operation: 58+16=74, Resulting Numbers: [74]
74,55 unequal: No Solution
Exploring Operation: 58*16=928, Resulting Numbers: [928]
928,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,2,0
Current State: 55:[70, 4], Operations: ['23+31=54', '58-54=4']
Exploring Operation: 70*4=280, Resulting Numbers: [280]
280,55 unequal: No Solution
Exploring Operation: 70+4=74, Resulting Numbers: [74]
74,55 unequal: No Solution
Exploring Operation: 70-4=66, Resulting Numbers: [66]
66,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,2,2
Current State: 55:[70, 112], Operations: ['23+31=54', '58+54=112']
Exploring Operation: 70+112=182, Resulting Numbers: [182]
182,55 unequal: No Solution
Exploring Operation: 70*112=7840, Resulting Numbers: [7840]
7840,55 unequal: No Solution
Exploring Operation: 112-70=42, Resulting Numbers: [42]
42,55 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: 55:[58, 70, 8], Operations: ['31-23=8']
Exploring Operation: 70-8=62, Resulting Numbers: [58, 62]
Generated Node #0,3,0: 55:[58, 62] Operation: 70-8=62
Exploring Operation: 70-58=12, Resulting Numbers: [8, 12]
Generated Node #0,3,1: 55:[8, 12] Operation: 70-58=12
Exploring Operation: 58+8=66, Resulting Numbers: [70, 66]
Generated Node #0,3,2: 55:[70, 66] Operation: 58+8=66
Exploring Operation: 58-8=50, Resulting Numbers: [70, 50]
Generated Node #0,3,3: 55:[70, 50] Operation: 58-8=50
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 55:[8, 12], Operations: ['31-23=8', '70-58=12']
Exploring Operation: 12-8=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 8*12=96, Resulting Numbers: [96]
96,55 unequal: No Solution
Exploring Operation: 8+12=20, Resulting Numbers: [20]
20,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,0
Current State: 55:[58, 62], Operations: ['31-23=8', '70-8=62']
Exploring Operation: 58+62=120, Resulting Numbers: [120]
120,55 unequal: No Solution
Exploring Operation: 62-58=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 58*62=3596, Resulting Numbers: [3596]
3596,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,3
Current State: 55:[70, 50], Operations: ['31-23=8', '58-8=50']
Exploring Operation: 70+50=120, Resulting Numbers: [120]
120,55 unequal: No Solution
Exploring Operation: 70*50=3500, Resulting Numbers: [3500]
3500,55 unequal: No Solution
Exploring Operation: 70-50=20, Resulting Numbers: [20]
20,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,2
Current State: 55:[70, 66], Operations: ['31-23=8', '58+8=66']
Exploring Operation: 70*66=4620, Resulting Numbers: [4620]
4620,55 unequal: No Solution
Exploring Operation: 70+66=136, Resulting Numbers: [136]
136,55 unequal: No Solution
Exploring Operation: 70-66=4, Resulting Numbers: [4]
4,55 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: 55:[23, 58, 39], Operations: ['70-31=39']
Exploring Operation: 58-39=19, Resulting Numbers: [23, 19]
Generated Node #0,1,0: 55:[23, 19] Operation: 58-39=19
Exploring Operation: 58-23=35, Resulting Numbers: [39, 35]
Generated Node #0,1,1: 55:[39, 35] Operation: 58-23=35
Exploring Operation: 23+39=62, Resulting Numbers: [58, 62]
Generated Node #0,1,2: 55:[58, 62] Operation: 23+39=62
Exploring Operation: 39-23=16, Resulting Numbers: [58, 16]
Generated Node #0,1,3: 55:[58, 16] Operation: 39-23=16
Moving to Node #0,0
Current State: 55:[58, 31, 47], Operations: ['70-23=47']
Exploring Operation: 31+47=78, Resulting Numbers: [58, 78]
Generated Node #0,0,0: 55:[58, 78] Operation: 31+47=78
Exploring Operation: 58-47=11, Resulting Numbers: [31, 11]
Generated Node #0,0,1: 55:[31, 11] Operation: 58-47=11
Exploring Operation: 47-31=16, Resulting Numbers: [58, 16]
Generated Node #0,0,2: 55:[58, 16] Operation: 47-31=16
Exploring Operation: 58-31=27, Resulting Numbers: [47, 27]
Generated Node #0,0,3: 55:[47, 27] Operation: 58-31=27
Moving to Node #0,1,3
Current State: 55:[58, 16], Operations: ['70-31=39', '39-23=16']
Exploring Operation: 58-16=42, Resulting Numbers: [42]
42,55 unequal: No Solution
Exploring Operation: 58*16=928, Resulting Numbers: [928]
928,55 unequal: No Solution
Exploring Operation: 58+16=74, Resulting Numbers: [74]
74,55 unequal: No Solution
Moving to Node #0,0,2
Current State: 55:[58, 16], Operations: ['70-23=47', '47-31=16']
Exploring Operation: 58-16=42, Resulting Numbers: [42]
42,55 unequal: No Solution
Exploring Operation: 58*16=928, Resulting Numbers: [928]
928,55 unequal: No Solution
Exploring Operation: 58+16=74, Resulting Numbers: [74]
74,55 unequal: No Solution
Moving to Node #0,1,2
Current State: 55:[58, 62], Operations: ['70-31=39', '23+39=62']
Exploring Operation: 62-58=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 58*62=3596, Resulting Numbers: [3596]
3596,55 unequal: No Solution
Exploring Operation: 58+62=120, Resulting Numbers: [120]
120,55 unequal: No Solution
Moving to Node #0,1,0
Current State: 55:[23, 19], Operations: ['70-31=39', '58-39=19']
Exploring Operation: 23-19=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 23+19=42, Resulting Numbers: [42]
42,55 unequal: No Solution
Exploring Operation: 23*19=437, Resulting Numbers: [437]
437,55 unequal: No Solution
Moving to Node #0,0,1
Current State: 55:[31, 11], Operations: ['70-23=47', '58-47=11']
Exploring Operation: 31-11=20, Resulting Numbers: [20]
20,55 unequal: No Solution
Exploring Operation: 31*11=341, Resulting Numbers: [341]
341,55 unequal: No Solution
Exploring Operation: 31+11=42, Resulting Numbers: [42]
42,55 unequal: No Solution
Moving to Node #0,0,3
Current State: 55:[47, 27], Operations: ['70-23=47', '58-31=27']
Exploring Operation: 47-27=20, Resulting Numbers: [20]
20,55 unequal: No Solution
Exploring Operation: 47+27=74, Resulting Numbers: [74]
74,55 unequal: No Solution
Exploring Operation: 47*27=1269, Resulting Numbers: [1269]
1269,55 unequal: No Solution
Moving to Node #0,0,0
Current State: 55:[58, 78], Operations: ['70-23=47', '31+47=78']
Exploring Operation: 78-58=20, Resulting Numbers: [20]
20,55 unequal: No Solution
Exploring Operation: 58*78=4524, Resulting Numbers: [4524]
4524,55 unequal: No Solution
Exploring Operation: 58+78=136, Resulting Numbers: [136]
136,55 unequal: No Solution
Moving to Node #0,1,1
Current State: 55:[39, 35], Operations: ['70-31=39', '58-23=35']
Exploring Operation: 39-35=4, Resulting Numbers: [4]
4,55 unequal: No Solution
Exploring Operation: 39*35=1365, Resulting Numbers: [1365]
1365,55 unequal: No Solution
Exploring Operation: 39+35=74, Resulting Numbers: [74]
74,55 unequal: No Solution
No solution found.
| 0 | hs_4 | sum_heuristic |
[
14,
18,
39,
8
] | 15 | [
"14+18=32",
"39+8=47",
"47-32=15"
] | Current State: 15:[14, 18, 39, 8], Operations: []
Exploring Operation: 14+18=32, Resulting Numbers: [39, 8, 32]
Generated Node #2: [39, 8, 32] from Operation: 14+18=32
Current State: 15:[39, 8, 32], Operations: ['14+18=32']
Exploring Operation: 39+8=47, Resulting Numbers: [32, 47]
Generated Node #3: [32, 47] from Operation: 39+8=47
Current State: 15:[32, 47], Operations: ['14+18=32', '39+8=47']
Exploring Operation: 47-32=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
| 4 | Current State: 15:[14, 18, 39, 8], Operations: []
Exploring Operation: 39-18=21, Resulting Numbers: [14, 8, 21]
Generated Node #0,0: 15:[14, 8, 21] Operation: 39-18=21
Exploring Operation: 39-14=25, Resulting Numbers: [18, 8, 25]
Generated Node #0,1: 15:[18, 8, 25] Operation: 39-14=25
Exploring Operation: 39-8=31, Resulting Numbers: [14, 18, 31]
Generated Node #0,2: 15:[14, 18, 31] Operation: 39-8=31
Start Sub Search at level 1: Moving to Node #0,0
Current State: 15:[14, 8, 21], Operations: ['39-18=21']
Exploring Operation: 21-8=13, Resulting Numbers: [14, 13]
Generated Node #0,0,0: 15:[14, 13] Operation: 21-8=13
Exploring Operation: 21-14=7, Resulting Numbers: [8, 7]
Generated Node #0,0,1: 15:[8, 7] Operation: 21-14=7
Exploring Operation: 14-8=6, Resulting Numbers: [21, 6]
Generated Node #0,0,2: 15:[21, 6] Operation: 14-8=6
Start Sub Search at level 2: Moving to Node #0,0,0
Current State: 15:[14, 13], Operations: ['39-18=21', '21-8=13']
Exploring Operation: 14*13=182, Resulting Numbers: [182]
182,15 unequal: No Solution
Exploring Operation: 14+13=27, Resulting Numbers: [27]
27,15 unequal: No Solution
Exploring Operation: 14-13=1, Resulting Numbers: [1]
1,15 unequal: No Solution
No 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: 15:[8, 7], Operations: ['39-18=21', '21-14=7']
Exploring Operation: 8-7=1, Resulting Numbers: [1]
1,15 unequal: No Solution
Exploring Operation: 8+7=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Moving to Node #0
Current State: 15:[14, 18, 39, 8], Operations: []
Exploring Operation: 39-18=21, Resulting Numbers: [14, 8, 21]
Generated Node #0,0: 15:[14, 8, 21] Operation: 39-18=21
Moving to Node #0,0
Current State: 15:[14, 8, 21], Operations: ['39-18=21']
Exploring Operation: 21-14=7, Resulting Numbers: [8, 7]
Generated Node #0,0,1: 15:[8, 7] Operation: 21-14=7
Moving to Node #0,0,1
Current State: 15:[8, 7], Operations: ['39-18=21', '21-14=7']
Exploring Operation: 8+7=15, Resulting Numbers: [15]
15,15 equal: Goal Reached
Exit Sub Search at level 2
Exit Sub Search at level 1
| 0.986979 | hs_3 | sum_heuristic |
[
49,
49,
46,
36
] | 10 | [
"49-49=0",
"46-36=10",
"0+10=10"
] | Current State: 10:[49, 49, 46, 36], Operations: []
Exploring Operation: 49-49=0, Resulting Numbers: [46, 36, 0]
Generated Node #2: [46, 36, 0] from Operation: 49-49=0
Current State: 10:[46, 36, 0], Operations: ['49-49=0']
Exploring Operation: 46-36=10, Resulting Numbers: [0, 10]
Generated Node #3: [0, 10] from Operation: 46-36=10
Current State: 10:[0, 10], Operations: ['49-49=0', '46-36=10']
Exploring Operation: 0+10=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
| 4 | Current State: 10:[49, 49, 46, 36], Operations: []
Exploring Operation: 49-46=3, Resulting Numbers: [49, 36, 3]
Generated Node #0,0: 10:[49, 36, 3] Operation: 49-46=3
Exploring Operation: 49-46=3, Resulting Numbers: [49, 36, 3]
Generated Node #0,1: 10:[49, 36, 3] Operation: 49-46=3
Exploring Operation: 49-49=0, Resulting Numbers: [46, 36, 0]
Generated Node #0,2: 10:[46, 36, 0] Operation: 49-49=0
Exploring Operation: 49/49=1, Resulting Numbers: [46, 36, 1]
Generated Node #0,3: 10:[46, 36, 1] Operation: 49/49=1
Start Sub Search at level 1: Moving to Node #0,3
Current State: 10:[46, 36, 1], Operations: ['49/49=1']
Exploring Operation: 46-36=10, Resulting Numbers: [1, 10]
Generated Node #0,3,0: 10:[1, 10] Operation: 46-36=10
Exploring Operation: 36-1=35, Resulting Numbers: [46, 35]
Generated Node #0,3,1: 10:[46, 35] Operation: 36-1=35
Exploring Operation: 46-1=45, Resulting Numbers: [36, 45]
Generated Node #0,3,2: 10:[36, 45] Operation: 46-1=45
Exploring Operation: 46*1=46, Resulting Numbers: [36, 46]
Generated Node #0,3,3: 10:[36, 46] Operation: 46*1=46
Start Sub Search at level 2: Moving to Node #0,3,0
Current State: 10:[1, 10], Operations: ['49/49=1', '46-36=10']
Exploring Operation: 1*10=10, Resulting Numbers: [10]
10,10 equal: Goal Reached
Moving to Node #0
Current State: 10:[49, 49, 46, 36], Operations: []
Exploring Operation: 49/49=1, Resulting Numbers: [46, 36, 1]
Generated Node #0,3: 10:[46, 36, 1] Operation: 49/49=1
Moving to Node #0,3
Current State: 10:[46, 36, 1], Operations: ['49/49=1']
Exploring Operation: 46-36=10, Resulting Numbers: [1, 10]
Generated Node #0,3,0: 10:[1, 10] Operation: 46-36=10
Moving to Node #0,3,0
Current State: 10:[1, 10], Operations: ['49/49=1', '46-36=10']
Exploring Operation: 1*10=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,
15,
52,
92
] | 21 | [
"76-15=61",
"92-52=40",
"61-40=21"
] | Current State: 21:[76, 15, 52, 92], Operations: []
Exploring Operation: 76-15=61, Resulting Numbers: [52, 92, 61]
Generated Node #2: [52, 92, 61] from Operation: 76-15=61
Current State: 21:[52, 92, 61], Operations: ['76-15=61']
Exploring Operation: 92-52=40, Resulting Numbers: [61, 40]
Generated Node #3: [61, 40] from Operation: 92-52=40
Current State: 21:[61, 40], Operations: ['76-15=61', '92-52=40']
Exploring Operation: 61-40=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
| 4 | Current State: 21:[76, 15, 52, 92], Operations: []
Exploring Operation: 92-52=40, Resulting Numbers: [76, 15, 40]
Generated Node #0,0: 21:[76, 15, 40] Operation: 92-52=40
Exploring Operation: 76-15=61, Resulting Numbers: [52, 92, 61]
Generated Node #0,1: 21:[52, 92, 61] Operation: 76-15=61
Exploring Operation: 92-76=16, Resulting Numbers: [15, 52, 16]
Generated Node #0,2: 21:[15, 52, 16] Operation: 92-76=16
Exploring Operation: 76-52=24, Resulting Numbers: [15, 92, 24]
Generated Node #0,3: 21:[15, 92, 24] Operation: 76-52=24
Moving to Node #0,2
Current State: 21:[15, 52, 16], Operations: ['92-76=16']
Exploring Operation: 15+16=31, Resulting Numbers: [52, 31]
Generated Node #0,2,0: 21:[52, 31] Operation: 15+16=31
Exploring Operation: 52-15=37, Resulting Numbers: [16, 37]
Generated Node #0,2,1: 21:[16, 37] Operation: 52-15=37
Exploring Operation: 16-15=1, Resulting Numbers: [52, 1]
Generated Node #0,2,2: 21:[52, 1] Operation: 16-15=1
Exploring Operation: 52-16=36, Resulting Numbers: [15, 36]
Generated Node #0,2,3: 21:[15, 36] Operation: 52-16=36
Moving to Node #0,3
Current State: 21:[15, 92, 24], Operations: ['76-52=24']
Exploring Operation: 24-15=9, Resulting Numbers: [92, 9]
Generated Node #0,3,0: 21:[92, 9] Operation: 24-15=9
Exploring Operation: 92-24=68, Resulting Numbers: [15, 68]
Generated Node #0,3,1: 21:[15, 68] Operation: 92-24=68
Exploring Operation: 15+92=107, Resulting Numbers: [24, 107]
Generated Node #0,3,2: 21:[24, 107] Operation: 15+92=107
Exploring Operation: 92-15=77, Resulting Numbers: [24, 77]
Generated Node #0,3,3: 21:[24, 77] Operation: 92-15=77
Start Sub Search at level 1: Moving to Node #0,3,1
Current State: 21:[15, 68], Operations: ['76-52=24', '92-24=68']
Exploring Operation: 15+68=83, Resulting Numbers: [83]
83,21 unequal: No Solution
Exploring Operation: 68-15=53, Resulting Numbers: [53]
53,21 unequal: No Solution
Exploring Operation: 15*68=1020, Resulting Numbers: [1020]
1020,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,3
Current State: 21:[24, 77], Operations: ['76-52=24', '92-15=77']
Exploring Operation: 24+77=101, Resulting Numbers: [101]
101,21 unequal: No Solution
Exploring Operation: 77-24=53, Resulting Numbers: [53]
53,21 unequal: No Solution
Exploring Operation: 24*77=1848, Resulting Numbers: [1848]
1848,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,0
Current State: 21:[92, 9], Operations: ['76-52=24', '24-15=9']
Exploring Operation: 92*9=828, Resulting Numbers: [828]
828,21 unequal: No Solution
Exploring Operation: 92+9=101, Resulting Numbers: [101]
101,21 unequal: No Solution
Exploring Operation: 92-9=83, Resulting Numbers: [83]
83,21 unequal: No Solution
No solution found.
Exit Sub Search at level 1
No solution found in sub search
Start Sub Search at level 1: Moving to Node #0,3,2
Current State: 21:[24, 107], Operations: ['76-52=24', '15+92=107']
Exploring Operation: 107-24=83, Resulting Numbers: [83]
83,21 unequal: No Solution
Exploring Operation: 24+107=131, Resulting Numbers: [131]
131,21 unequal: No Solution
Exploring Operation: 24*107=2568, Resulting Numbers: [2568]
2568,21 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: 21:[76, 15, 40], Operations: ['92-52=40']
Exploring Operation: 76-15=61, Resulting Numbers: [40, 61]
Generated Node #0,0,0: 21:[40, 61] Operation: 76-15=61
Exploring Operation: 40-15=25, Resulting Numbers: [76, 25]
Generated Node #0,0,1: 21:[76, 25] Operation: 40-15=25
Exploring Operation: 76+15=91, Resulting Numbers: [40, 91]
Generated Node #0,0,2: 21:[40, 91] Operation: 76+15=91
Exploring Operation: 76-40=36, Resulting Numbers: [15, 36]
Generated Node #0,0,3: 21:[15, 36] Operation: 76-40=36
Start Sub Search at level 1: Moving to Node #0,0,3
Current State: 21:[15, 36], Operations: ['92-52=40', '76-40=36']
Exploring Operation: 15*36=540, Resulting Numbers: [540]
540,21 unequal: No Solution
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Moving to Node #0
Current State: 21:[76, 15, 52, 92], Operations: []
Exploring Operation: 92-52=40, Resulting Numbers: [76, 15, 40]
Generated Node #0,0: 21:[76, 15, 40] Operation: 92-52=40
Moving to Node #0,0
Current State: 21:[76, 15, 40], Operations: ['92-52=40']
Exploring Operation: 76-40=36, Resulting Numbers: [15, 36]
Generated Node #0,0,3: 21:[15, 36] Operation: 76-40=36
Moving to Node #0,0,3
Current State: 21:[15, 36], Operations: ['92-52=40', '76-40=36']
Exploring Operation: 36-15=21, Resulting Numbers: [21]
21,21 equal: Goal Reached
Exit Sub Search at level 1
| 0.970486 | hs_4 | sum_heuristic |
[
12,
11,
35,
6
] | 41 | [
"12-11=1",
"35+6=41",
"1*41=41"
] | Current State: 41:[12, 11, 35, 6], Operations: []
Exploring Operation: 12-11=1, Resulting Numbers: [35, 6, 1]
Generated Node #2: [35, 6, 1] from Operation: 12-11=1
Current State: 41:[35, 6, 1], Operations: ['12-11=1']
Exploring Operation: 35+6=41, Resulting Numbers: [1, 41]
Generated Node #3: [1, 41] from Operation: 35+6=41
Current State: 41:[1, 41], Operations: ['12-11=1', '35+6=41']
Exploring Operation: 1*41=41, Resulting Numbers: [41]
41,41 equal: Goal Reached
| 4 | Current State: 41:[12, 11, 35, 6], Operations: []
Exploring Operation: 12+11=23, Resulting Numbers: [35, 6, 23]
Generated Node #0,0: 41:[35, 6, 23] Operation: 12+11=23
Start Sub Search at level 1: Moving to Node #0,0
Current State: 41:[35, 6, 23], Operations: ['12+11=23']
Exploring Operation: 35+6=41, Resulting Numbers: [23, 41]
Generated Node #0,0,0: 41:[23, 41] Operation: 35+6=41
Moving to Node #0,0,0
Current State: 41:[23, 41], Operations: ['12+11=23', '35+6=41']
Exploring Operation: 23+41=64, Resulting Numbers: [64]
64,41 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,
27,
42,
91
] | 98 | [
"42-35=7",
"27*7=189",
"189-91=98"
] | Current State: 98:[35, 27, 42, 91], Operations: []
Exploring Operation: 42-35=7, Resulting Numbers: [27, 91, 7]
Generated Node #2: [27, 91, 7] from Operation: 42-35=7
Current State: 98:[27, 91, 7], Operations: ['42-35=7']
Exploring Operation: 27*7=189, Resulting Numbers: [91, 189]
Generated Node #3: [91, 189] from Operation: 27*7=189
Current State: 98:[91, 189], Operations: ['42-35=7', '27*7=189']
Exploring Operation: 189-91=98, Resulting Numbers: [98]
98,98 equal: Goal Reached
| 4 | Current State: 98:[35, 27, 42, 91], Operations: []
Exploring Operation: 35-27=8, Resulting Numbers: [42, 91, 8]
Generated Node #0,0: 98:[42, 91, 8] Operation: 35-27=8
Moving to Node #0,0
Current State: 98:[42, 91, 8], Operations: ['35-27=8']
Exploring Operation: 91-42=49, Resulting Numbers: [8, 49]
Generated Node #0,0,0: 98:[8, 49] Operation: 91-42=49
Moving to Node #0,0,0
Current State: 98:[8, 49], Operations: ['35-27=8', '91-42=49']
Exploring Operation: 8+49=57, Resulting Numbers: [57]
57,98 unequal: No Solution
No solution found.
| 0 | hs_1 | sum_heuristic |
[
61,
5,
57,
68
] | 69 | [
"61-5=56",
"57+68=125",
"125-56=69"
] | Current State: 69:[61, 5, 57, 68], Operations: []
Exploring Operation: 61-5=56, Resulting Numbers: [57, 68, 56]
Generated Node #2: [57, 68, 56] from Operation: 61-5=56
Current State: 69:[57, 68, 56], Operations: ['61-5=56']
Exploring Operation: 57+68=125, Resulting Numbers: [56, 125]
Generated Node #3: [56, 125] from Operation: 57+68=125
Current State: 69:[56, 125], Operations: ['61-5=56', '57+68=125']
Exploring Operation: 125-56=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 4 | Current State: 69:[61, 5, 57, 68], Operations: []
Exploring Operation: 61-57=4, Resulting Numbers: [5, 68, 4]
Generated Node #0,0: 69:[5, 68, 4] Operation: 61-57=4
Moving to Node #0,0
Current State: 69:[5, 68, 4], Operations: ['61-57=4']
Exploring Operation: 5-4=1, Resulting Numbers: [68, 1]
Generated Node #0,0,0: 69:[68, 1] Operation: 5-4=1
Moving to Node #0,0,0
Current State: 69:[68, 1], Operations: ['61-57=4', '5-4=1']
Exploring Operation: 68+1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
Moving to Node #0
Current State: 69:[61, 5, 57, 68], Operations: []
Exploring Operation: 61-57=4, Resulting Numbers: [5, 68, 4]
Generated Node #0,0: 69:[5, 68, 4] Operation: 61-57=4
Moving to Node #0,0
Current State: 69:[5, 68, 4], Operations: ['61-57=4']
Exploring Operation: 5-4=1, Resulting Numbers: [68, 1]
Generated Node #0,0,0: 69:[68, 1] Operation: 5-4=1
Moving to Node #0,0,0
Current State: 69:[68, 1], Operations: ['61-57=4', '5-4=1']
Exploring Operation: 68+1=69, Resulting Numbers: [69]
69,69 equal: Goal Reached
| 0.993924 | hs_1 | mult_heuristic |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.